From c1269b16828d5c0d975a8c579b6e22662ba52d58 Mon Sep 17 00:00:00 2001 From: devleejb Date: Tue, 5 Nov 2024 09:48:53 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20yorkie-t?= =?UTF-8?q?eam/codepair@3ecb3c7b05cc4682de84c18f71631133d22288b2=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...{index-DcugWhKd.css => index--H0TrlEF.css} | 2 +- .../{index-Bb5EU686.js => index-BO3GN4T_.js} | 282 +++++++++--------- ...-Bb5EU686.js.map => index-BO3GN4T_.js.map} | 2 +- index.html | 4 +- 4 files changed, 145 insertions(+), 145 deletions(-) rename assets/{index-DcugWhKd.css => index--H0TrlEF.css} (94%) rename assets/{index-Bb5EU686.js => index-BO3GN4T_.js} (85%) rename assets/{index-Bb5EU686.js.map => index-BO3GN4T_.js.map} (62%) diff --git a/assets/index-DcugWhKd.css b/assets/index--H0TrlEF.css similarity index 94% rename from assets/index-DcugWhKd.css rename to assets/index--H0TrlEF.css index fad2b679..7d91de9b 100644 --- a/assets/index-DcugWhKd.css +++ b/assets/index--H0TrlEF.css @@ -1 +1 @@ -body{margin:0;min-height:100vh;overflow:hidden}#yorkie-intelligence-footer .wmde-markdown{-webkit-user-modify:read-only;white-space:initial!important}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(/assets/roboto-cyrillic-ext-300-normal-Chhwl1Jq.woff2) format("woff2"),url(/assets/roboto-cyrillic-ext-300-normal-BLLmCegk.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(/assets/roboto-cyrillic-300-normal-DJfICpyc.woff2) format("woff2"),url(/assets/roboto-cyrillic-300-normal-Dg7J0kAT.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(data:font/woff2;base64,d09GMgABAAAAAAXcABIAAAAAChAAAAV+AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhQbHhw0BmAAXghYCYM8EQwKg3yDXwsUABIUATYCJAMkBCAFgnwHIAyCOhuqCCAuDrI5ZN4aokERTSyd8sbnRhCPOT/nSbL5I3uJOVkEOmLbY09VmSg+s7XZR8z2UPVFzdPPH95petP0dBQVoUgu+1/NvnDlsFu1bLZnPtp/9TZG4R6s2iHuHinG8i80DiPfXaFiKo9+oTAOlEMIi8PciP2lbTwhqe7chkVUBQSIAQDBRxAECKlFFzJ0eHQySGIAUgAO4c44Imqnv6i9oQq0lzWwyhZYXdBUcx6AsNu1WSdtEQPnkuMESEM7pl9mqQImBxgY1QCfy4gJcWHgDzSMEycHS71LChLIdQCmt4MkUEQABQiXIoL4RBn93fLxUbiAIo+EvYZx/4CCVEjvs3TZR/d+KY2uf2Brysgkn1T2GE8NUzzFePIJ5Q4ozc1HVW1SmEIul2LNIWN6o2qmKXSQUlcTNfeKQpWFsieK476NC2BpOwaD+IxQyNnsXfI/O7ROGIjMm2uDYp3QkPJglPx2qKytWDayQW2dhKI2GZ6YbpRBJ5KToxZPJMNpWUExGpMiex9iE9kOFJmSKafI1AyHA7M61vYlGRmeNmgyOUznRBZ9tCKHo0Jqwl8761iPsdemE9MT0nH/0BocOLRs5jgagg9N5PCQ5t6qdrjHlOVod7nmgeF1upa11U+ip4geWGfJnjxJTBpxuF8Wak42ybZaHjrzQuBZw38Stckw7embuKn7ZkunqKa0M0NntAm2wcB6TFJ6SLDt5TIWQ2vbelhBRG0OxdY3t5Cx5KSL3eVARFl0lw/Hp5oP01r/rM/qYJMp6Zgcv6sQuu6DTuZZ24GvwwmZGWEbgms20UYPlTcDQeGjUhQAEABQbJh+Qospn+KFz3H4SYkukTK6/ysK88WDovzOgu27yiokV81WWC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iMSqglmyl8PPPUAGQgAAAAAAMTwES4AAAAA1QFS4/og/dUJGghzAAAACQACAAAAAAAAeNpjYGRgYM/5x8PAwGn+S+GfK6cUUAQVcAIAbC0ESQB42mPuYUhhgALGTxDMmsVQy7SNIR7M3vCvGQBr4QgGAHjaY2Bg0ITDBIY6IOwCABGXArQAeNpjYGRgYOBk6GcQY4hkYAXzEICNgREAGPMBFnjaTYw1kgIBFAV73TfecKKN1l2SdcE9wxmrwp1rcAKOwfF4OPWt+40Au1hssLa5B6QYzniNEwYzXueY/ow3VvLNFd7ilOKMt5XHZnwsAoemqsoLl6rOpC7IUtXkcTBlFerYXFLEVWZSpqHdUOLjn0++CRDVPueGC66IUCGnaWrO8eFi48gSmNRpyCuUMSZvX3PLI68Tu5I9EsHEpkWRLPXVf2Gs/OtTXqVHfZHM/qAy+KWisiliyv4pk+dC9E5RZRBZfNWYmElDU6etXeBiBO+kNXoAeNpjYGYAg/9ZDCkMWAAAKh8B0QA=) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(/assets/roboto-greek-300-normal-Bx8edVml.woff2) format("woff2"),url(/assets/roboto-greek-300-normal-D3gN5oZ1.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(/assets/roboto-vietnamese-300-normal-PZa9KE_J.woff2) format("woff2"),url(/assets/roboto-vietnamese-300-normal-CAomnZLO.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(/assets/roboto-latin-ext-300-normal-BzRVPTS2.woff2) format("woff2"),url(/assets/roboto-latin-ext-300-normal-Djx841zm.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(/assets/roboto-latin-300-normal-BizgZZ3y.woff2) format("woff2"),url(/assets/roboto-latin-300-normal-BZ6gvbSO.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/roboto-cyrillic-ext-400-normal-D76n7Daw.woff2) format("woff2"),url(/assets/roboto-cyrillic-ext-400-normal-b0JluIOJ.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/roboto-cyrillic-400-normal-BiRJyiea.woff2) format("woff2"),url(/assets/roboto-cyrillic-400-normal-JN0iKxGs.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAAXYABIAAAAACgAAAAV8AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhQbHhw0BmAAXghUCYM8EQwKg2iDTgsUABIUATYCJAMkBCAFgnQHIAyCSRucCFFUkDIBfhzkZKcmnOCkolAQnoSyxYqFpYXieXb+xgO83X+ee8cPWukL624junMJs9RsoCpuxSopamF+Pi97f6xC6QrJFHRKpFCmII8L4C95A3y0rJouCIdkJgncD/oHj/4Ptd1Rm0IYXCtKb1yQDmO4797U2dlr/Om01LkOVpT2L12pLVa73QtgLI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EYtFOvp5lOPiQ49+gzj1lbr/zHp98ZywEtbDxf9PqE6SlOukivOqM3wOeAojbhIdZYJFcXNEMkhD80jzg9HQTQoAAB42mNgZgCD/1kMKQxYAAAqHwHRAA==) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/roboto-greek-400-normal-LPh2sqOm.woff2) format("woff2"),url(/assets/roboto-greek-400-normal-IIc_WWwF.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/roboto-vietnamese-400-normal-DhTUfTw_.woff2) format("woff2"),url(/assets/roboto-vietnamese-400-normal-D5pJwT9g.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/roboto-latin-ext-400-normal-DgXbz5gU.woff2) format("woff2"),url(/assets/roboto-latin-ext-400-normal-BSFkPfbf.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/roboto-latin-400-normal-DXyFPIdK.woff2) format("woff2"),url(/assets/roboto-latin-400-normal-BVyCgWwA.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/roboto-cyrillic-ext-500-normal-BJvL3D7h.woff2) format("woff2"),url(/assets/roboto-cyrillic-ext-500-normal-37WQE4S0.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/roboto-cyrillic-500-normal-_hamcpv8.woff2) format("woff2"),url(/assets/roboto-cyrillic-500-normal-YnJLGrUm.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(data:font/woff2;base64,d09GMgABAAAAAAXwABIAAAAACiQAAAWUAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhQbHhw0BmAAXghcCYM8EQwKg3CDVwsUABIUATYCJAMkBCAFgwAHIAyCUxvDCECO0yW2MxHcwQN9m/Zmd7GAt056LBXDUnN6hagTcSJGKmInrhNO9dPUA1Hd9gmGUIldvZjF5GpN7d6GXSYqHkE4sOrvQ/cXxAKTi9BxlRWyDoCEqmRbISus7GNs4WxzgFD/DgjABgAIzAgEAsgim2xELLe4GjMaQCYDwDcsZCHaXqd07tw0yNSeTcmBQT/YvmV4O4DU1ap2ifgNAxguMywC4RuWqS/T3YC1DIiaVIC3Iu+W5RGFr8TIGLrHZQo64moAbaVBoqOjKqHGnvGoCJ6vUQgcmFEwAgp2dK7xlZzVFgqIXTN/ZD7L9Hz0yD35VwEU5vMc53IV5/Idm6TZq1arUm2lcRvPAuPH2hivXI4rs4J97GI8qh+rtpLx2pm4DJLxxslMMD6JS2nEY9IwGD9AAEiCRdJSXj8qxFmJB0XmqIxNG7WorS0hKYK6Hu+LSdEWkkpQivn+kFSDeq5UZ+VW1s9I6KfppxV0nabn6r3tXVKbZSnrVcnTEhFdUpU+XVIdv4wmvNP0ZCKxMiQ1RTItc1oCinq/Clk/dVb/h6QhWLS3Oru8vqJeHoh5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ATgdnQAO7MABnMENQC73kHMeiB7IydGMck4nhJIdC3tgS+h8RjjGkAgCnfjpobzQRGp+PUitkE/ym0k+AIFy6x2V0B1wBwkAehORUqEiWrPJUyUTefrxJqJUEN7H29No8DRTSRu7n55kt53YiV5Yil4dKMwP9CyS5b6BWTJ1zFZHRzFyL/0Io0eH2foRfUHCrLeZT+wH4cP2ViGqJMf0xGbiAoBeRh9OiUYfXz9eY8bWqoOLPHY4ySWmToi6MMKHbWJmQUN0bPaa1cqCbZyltqYGaDQAD3bCLMA/wjpXMwABAAAAAiMSEj1jSl8PPPUAGQgAAAAAAMTwES4AAAAA1QFS7Pok/dUJXAhzAAAACQACAAAAAAAAeNpjYGRgYM/5x8PAwJn9S+WfI2cMUAQVcAIAdi8EvwB42mPuYUhhgALGfxDM2saQxqzDkA5mn/knAwBo+QdjAHjaY2Bg0ITDBIZaIOwEABGOArEAeNpjYGRgYOBk6GcQY/BjYAXzEICNgREAGAwBC3jaTY+1dQNAEAXHzC7AkSJHZobEzEyZScyMfagC1aHiNIHoHc3fWwSmiTLGyPgM8EO7yyMs0eryKIs0uzw2ZB8f4gmWyXZ5UvtHlxcliFN25Tli3VXDxRr/5D0hfyOqHEVi/qZJaIuQpUTEs84Dt5xzyRPv3qts6b3BGzmCnrJnlUcihElQIcOXXKSkypElgP5sss0+x6jYYFN+I0JM/zT/FIez6TOc7VxLngZFdQwn6efYlK7JuWKkiahuyRJiTTol7Qrw1o8qocKJPEWqWIG1DvezNmIAAHjaY2BmAIP/WQwpDFgAACofAdEA) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/roboto-greek-500-normal-Bg8BLohm.woff2) format("woff2"),url(/assets/roboto-greek-500-normal-CdRewbqV.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/roboto-vietnamese-500-normal-p0V0BAAE.woff2) format("woff2"),url(/assets/roboto-vietnamese-500-normal-LvuCHq7y.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/roboto-latin-ext-500-normal-OQJhyaXd.woff2) format("woff2"),url(/assets/roboto-latin-ext-500-normal-DvHxAkTn.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/roboto-latin-500-normal-C6iW8rdg.woff2) format("woff2"),url(/assets/roboto-latin-500-normal-rpP1_v3s.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/roboto-cyrillic-ext-700-normal-CyZgh00P.woff2) format("woff2"),url(/assets/roboto-cyrillic-ext-700-normal-DXzexxfu.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/roboto-cyrillic-700-normal-jruQITdB.woff2) format("woff2"),url(/assets/roboto-cyrillic-700-normal-BJaAVvFw.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(data:font/woff2;base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NQB42mNgYNCEw3iGOiDsAgARkAKzAHjaY2BkYGDgZOhnEGPwY2AF8xCAjYERABgMAQt42mJgYOBgSGNgZmBk4QSy4xh2QdmMDDwM66BsJqCaZRA2kBRjmABlsyCxWQFVjyUWQgEQRW8isoafSLhLwd0t4+7O7nk4nDfug4XZyzYp3nzZZlkw4SBsCOMQzg/Y6bIR95UdyluzY6zsgqliQ1bsJfeKFMmRIEWZhqQNN3ac1NXREx/ENuKSCwa01bNT11T+CuNR68JDgMjDc8oL/PUan96X/ssmxBuu7JgyRn98prhkZVgLY3UN5eVY0ccuK8ZCMKh/uvYPT/+Id5wkB9hvI3U1mnjaY2BmAIP/WQwpDFgAACofAdEA) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/roboto-greek-700-normal-Bs05n1ZH.woff2) format("woff2"),url(/assets/roboto-greek-700-normal-1IZ-NEfb.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/roboto-vietnamese-700-normal-CBbheh0s.woff2) format("woff2"),url(/assets/roboto-vietnamese-700-normal-B4Nagvlm.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/roboto-latin-ext-700-normal-DchBbzVz.woff2) format("woff2"),url(/assets/roboto-latin-ext-700-normal-Ba-CAIIA.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/roboto-latin-700-normal-CbYYDfWS.woff2) format("woff2"),url(/assets/roboto-latin-700-normal-BWcFiwQV.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@media (prefers-color-scheme: dark){.wmde-markdown,.wmde-markdown-var{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #c9d1d9;--color-fg-muted: #8b949e;--color-fg-subtle: #484f58;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110, 118, 129, .4);--color-accent-fg: #58a6ff;--color-accent-emphasis: #1f6feb;--color-attention-subtle: rgba(187, 128, 9, .15);--color-danger-fg: #f85149;--color-danger-emphasis: #da3633;--color-attention-fg: #d29922;--color-attention-emphasis: #9e6a03;--color-done-fg: #a371f7;--color-done-emphasis: #8957e5;--color-success-fg: #3fb950;--color-success-emphasis: #238636;--color-copied-active-bg: #2e9b33}}@media (prefers-color-scheme: light){.wmde-markdown,.wmde-markdown-var{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsl(210, 18%, 87%);--color-neutral-muted: rgba(175, 184, 193, .2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-subtle: #fff8c5;--color-danger-fg: #d1242f;--color-danger-emphasis: #cf222e;--color-attention-fg: #9a6700;--color-attention-emphasis: #9a6700;--color-done-fg: #8250df;--color-done-emphasis: #8250df;--color-success-fg: #1a7f37;--color-success-emphasis: #1f883d;--color-copied-active-bg: #2e9b33}}[data-color-mode*=dark] .wmde-markdown,[data-color-mode*=dark] .wmde-markdown-var,.wmde-markdown-var[data-color-mode*=dark],.wmde-markdown[data-color-mode*=dark],body[data-color-mode*=dark]{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #c9d1d9;--color-fg-muted: #8b949e;--color-fg-subtle: #484f58;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110, 118, 129, .4);--color-accent-fg: #58a6ff;--color-accent-emphasis: #1f6feb;--color-attention-subtle: rgba(187, 128, 9, .15);--color-danger-fg: #f85149}[data-color-mode*=light] .wmde-markdown,[data-color-mode*=light] .wmde-markdown-var,.wmde-markdown-var[data-color-mode*=light],.wmde-markdown[data-color-mode*=light],body[data-color-mode*=light]{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsl(210, 18%, 87%);--color-neutral-muted: rgba(175, 184, 193, .2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-subtle: #fff8c5;--color-danger-fg: #cf222e}.wmde-markdown{-webkit-text-size-adjust:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word;color:var(--color-fg-default);background-color:var(--color-canvas-default)}.wmde-markdown details,.wmde-markdown figcaption,.wmde-markdown figure{display:block}.wmde-markdown summary{display:list-item}.wmde-markdown [hidden]{display:none!important}.wmde-markdown a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.wmde-markdown a:active,.wmde-markdown a:hover{outline-width:0}.wmde-markdown abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.wmde-markdown b,.wmde-markdown strong{font-weight:600}.wmde-markdown dfn{font-style:italic}.wmde-markdown h1{margin:.67em 0;font-weight:600;padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.wmde-markdown mark{background-color:var(--color-attention-subtle);color:var(--color-text-primary)}.wmde-markdown small{font-size:90%}.wmde-markdown sub,.wmde-markdown sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.wmde-markdown sub{bottom:-.25em}.wmde-markdown sup{top:-.5em}.wmde-markdown img{display:inline-block;border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.wmde-markdown code,.wmde-markdown kbd,.wmde-markdown pre,.wmde-markdown samp{font-family:monospace,monospace;font-size:1em}.wmde-markdown figure{margin:1em 40px}.wmde-markdown hr{box-sizing:content-box;overflow:hidden;background:transparent;border:0;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default)}.wmde-markdown input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.wmde-markdown [type=button],.wmde-markdown [type=reset],.wmde-markdown [type=submit]{-webkit-appearance:button}.wmde-markdown [type=button]::-moz-focus-inner,.wmde-markdown [type=reset]::-moz-focus-inner,.wmde-markdown [type=submit]::-moz-focus-inner{border-style:none;padding:0}.wmde-markdown [type=button]:-moz-focusring,.wmde-markdown [type=reset]:-moz-focusring,.wmde-markdown [type=submit]:-moz-focusring{outline:1px dotted ButtonText}.wmde-markdown [type=checkbox],.wmde-markdown [type=radio]{box-sizing:border-box;padding:0}.wmde-markdown [type=number]::-webkit-inner-spin-button,.wmde-markdown [type=number]::-webkit-outer-spin-button{height:auto}.wmde-markdown [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.wmde-markdown [type=search]::-webkit-search-cancel-button,.wmde-markdown [type=search]::-webkit-search-decoration{-webkit-appearance:none}.wmde-markdown ::-webkit-input-placeholder{color:inherit;opacity:.54}.wmde-markdown ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.wmde-markdown a:hover{text-decoration:underline}.wmde-markdown hr:before{display:table;content:""}.wmde-markdown hr:after{display:table;clear:both;content:""}.wmde-markdown table{border-spacing:0;border-collapse:collapse;display:block;width:max-content;max-width:100%}.wmde-markdown td,.wmde-markdown th{padding:0}.wmde-markdown details summary{cursor:pointer}.wmde-markdown details:not([open])>*:not(summary){display:none!important}.wmde-markdown kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.wmde-markdown h1,.wmde-markdown h2,.wmde-markdown h3,.wmde-markdown h4,.wmde-markdown h5,.wmde-markdown h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.wmde-markdown h2{font-weight:600;padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.wmde-markdown h3{font-weight:600;font-size:1.25em}.wmde-markdown h4{font-weight:600;font-size:1em}.wmde-markdown h5{font-weight:600;font-size:.875em}.wmde-markdown h6{font-weight:600;font-size:.85em;color:var(--color-fg-muted)}.wmde-markdown p{margin-top:0;margin-bottom:10px}.wmde-markdown blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.wmde-markdown ul,.wmde-markdown ol{margin-top:0;margin-bottom:0;padding-left:2em}.wmde-markdown ol ol,.wmde-markdown ul ol{list-style-type:lower-roman}.wmde-markdown ul ul ol,.wmde-markdown ul ol ol,.wmde-markdown ol ul ol,.wmde-markdown ol ol ol{list-style-type:lower-alpha}.wmde-markdown dd{margin-left:0}.wmde-markdown tt,.wmde-markdown code{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.wmde-markdown pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.wmde-markdown .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.wmde-markdown ::placeholder{color:var(--color-fg-subtle);opacity:1}.wmde-markdown input::-webkit-outer-spin-button,.wmde-markdown input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.wmde-markdown [data-catalyst]{display:block}.wmde-markdown:before{display:table;content:""}.wmde-markdown:after{display:table;clear:both;content:""}.wmde-markdown>*:first-child{margin-top:0!important}.wmde-markdown>*:last-child{margin-bottom:0!important}.wmde-markdown a:not([href]){color:inherit;text-decoration:none}.wmde-markdown .absent{color:var(--color-danger-fg)}.wmde-markdown a.anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.wmde-markdown .anchor:focus{outline:none}.wmde-markdown p,.wmde-markdown blockquote,.wmde-markdown ul,.wmde-markdown ol,.wmde-markdown dl,.wmde-markdown table,.wmde-markdown pre,.wmde-markdown details{margin-top:0;margin-bottom:16px}.wmde-markdown blockquote>:first-child{margin-top:0}.wmde-markdown blockquote>:last-child{margin-bottom:0}.wmde-markdown sup>a:before{content:"["}.wmde-markdown sup>a:after{content:"]"}.wmde-markdown h1 .octicon-link,.wmde-markdown h2 .octicon-link,.wmde-markdown h3 .octicon-link,.wmde-markdown h4 .octicon-link,.wmde-markdown h5 .octicon-link,.wmde-markdown h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.wmde-markdown h1:hover .anchor,.wmde-markdown h2:hover .anchor,.wmde-markdown h3:hover .anchor,.wmde-markdown h4:hover .anchor,.wmde-markdown h5:hover .anchor,.wmde-markdown h6:hover .anchor{text-decoration:none}.wmde-markdown h1:hover .anchor .octicon-link,.wmde-markdown h2:hover .anchor .octicon-link,.wmde-markdown h3:hover .anchor .octicon-link,.wmde-markdown h4:hover .anchor .octicon-link,.wmde-markdown h5:hover .anchor .octicon-link,.wmde-markdown h6:hover .anchor .octicon-link{visibility:visible}.wmde-markdown h1 tt,.wmde-markdown h1 code,.wmde-markdown h2 tt,.wmde-markdown h2 code,.wmde-markdown h3 tt,.wmde-markdown h3 code,.wmde-markdown h4 tt,.wmde-markdown h4 code,.wmde-markdown h5 tt,.wmde-markdown h5 code,.wmde-markdown h6 tt,.wmde-markdown h6 code{padding:0 .2em;font-size:inherit}.wmde-markdown ul.no-list,.wmde-markdown ol.no-list{padding:0;list-style-type:none}.wmde-markdown ol[type="1"]{list-style-type:decimal}.wmde-markdown ol[type=a]{list-style-type:lower-alpha}.wmde-markdown ol[type=i]{list-style-type:lower-roman}.wmde-markdown div>ol:not([type]){list-style-type:decimal}.wmde-markdown ul ul,.wmde-markdown ul ol,.wmde-markdown ol ol,.wmde-markdown ol ul{margin-top:0;margin-bottom:0}.wmde-markdown li>p{margin-top:16px}.wmde-markdown li+li{margin-top:.25em}.wmde-markdown dl{padding:0}.wmde-markdown dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:600}.wmde-markdown dl dd{padding:0 16px;margin-bottom:16px}.wmde-markdown table th{font-weight:600}.wmde-markdown table th,.wmde-markdown table td{padding:6px 13px;border:1px solid var(--color-border-default)}.wmde-markdown table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.wmde-markdown table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.wmde-markdown table img{background-color:transparent}.wmde-markdown img[align=right]{padding-left:20px}.wmde-markdown img[align=left]{padding-right:20px}.wmde-markdown .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.wmde-markdown span.frame{display:block;overflow:hidden}.wmde-markdown span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.wmde-markdown span.frame span img{display:block;float:left}.wmde-markdown span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.wmde-markdown span.align-center{display:block;overflow:hidden;clear:both}.wmde-markdown span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.wmde-markdown span.align-center span img{margin:0 auto;text-align:center}.wmde-markdown span.align-right{display:block;overflow:hidden;clear:both}.wmde-markdown span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.wmde-markdown span.align-right span img{margin:0;text-align:right}.wmde-markdown span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.wmde-markdown span.float-left span{margin:13px 0 0}.wmde-markdown span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.wmde-markdown span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.wmde-markdown code,.wmde-markdown tt{padding:.2em .4em;margin:0;font-size:85%;background-color:var(--color-neutral-muted);border-radius:6px}.wmde-markdown code br,.wmde-markdown tt br{display:none}.wmde-markdown del code{text-decoration:inherit}.wmde-markdown pre code{font-size:100%}.wmde-markdown pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.wmde-markdown pre{font-size:85%;line-height:1.45;background-color:var(--color-canvas-subtle);border-radius:6px}.wmde-markdown pre code,.wmde-markdown pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.wmde-markdown pre>code{padding:16px;overflow:auto;display:block}.wmde-markdown pre>code::-webkit-scrollbar{background:transparent;width:8px;height:8px}.wmde-markdown pre>code::-webkit-scrollbar-thumb{background:var(--color-fg-muted);border-radius:10px}.wmde-markdown .csv-data td,.wmde-markdown .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.wmde-markdown .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.wmde-markdown .csv-data tr{border-top:0}.wmde-markdown .csv-data th{font-weight:600;background:var(--color-canvas-subtle);border-top:0}.wmde-markdown .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.wmde-markdown .footnotes ol{padding-left:16px}.wmde-markdown .footnotes li{position:relative}.wmde-markdown .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.wmde-markdown .footnotes li:target{color:var(--color-fg-default)}.wmde-markdown .footnotes .data-footnote-backref g-emoji{font-family:monospace}.wmde-markdown .task-list-item{list-style-type:none}.wmde-markdown .task-list-item label{font-weight:400}.wmde-markdown .task-list-item.enabled label{cursor:pointer}.wmde-markdown .task-list-item+.wmde-markdown .task-list-item{margin-top:3px}.wmde-markdown .task-list-item .handle{display:none}.wmde-markdown .task-list-item-checkbox,.wmde-markdown .contains-task-list input[type=checkbox]{margin:0 .2em .25em -1.6em;vertical-align:middle}.wmde-markdown .contains-task-list:dir(rtl) .task-list-item-checkbox,.wmde-markdown .contains-task-list:dir(rtl) input[type=checkbox]{margin:0 -1.6em .25em .2em}.wmde-markdown ::-webkit-calendar-picker-indicator{filter:invert(50%)}.wmde-markdown pre{position:relative}.wmde-markdown pre .copied{visibility:hidden;display:flex;position:absolute;cursor:pointer;color:var(--color-fg-default);top:6px;right:6px;border-radius:5px;background:var(--color-border-default);padding:6px;font-size:12px;transition:all .3s}.wmde-markdown pre .copied .octicon-copy{display:block}.wmde-markdown pre .copied .octicon-check{display:none}.wmde-markdown pre:hover .copied{visibility:visible}.wmde-markdown pre:hover .copied:hover{background:var(--color-prettylights-syntax-entity-tag);color:var(--color-canvas-default)}.wmde-markdown pre:hover .copied:active,.wmde-markdown pre .copied.active{background:var(--color-copied-active-bg);color:var(--color-canvas-default)}.wmde-markdown pre .active .octicon-copy{display:none}.wmde-markdown pre .active .octicon-check{display:block}.wmde-markdown .markdown-alert{padding:.5rem 1em;color:inherit;margin-bottom:16px;border-left:.25em solid var(--borderColor-default, var(--color-border-default))}.wmde-markdown .markdown-alert>:last-child{margin-bottom:0!important}.wmde-markdown .markdown-alert .markdown-alert-title{display:flex;align-items:center;line-height:1;font-weight:500;font-size:14px}.wmde-markdown .markdown-alert .markdown-alert-title svg.octicon{margin-right:var(--base-size-8, 8px)!important}.wmde-markdown .markdown-alert.markdown-alert-note{border-left-color:var(--borderColor-accent-emphasis, var(--color-accent-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-note .markdown-alert-title{color:var(--fgColor-accent, var(--color-accent-fg))}.wmde-markdown .markdown-alert.markdown-alert-tip{border-left-color:var(--borderColor-success-emphasis, var(--color-success-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-tip .markdown-alert-title{color:var(--fgColor-success, var(--color-success-fg))}.wmde-markdown .markdown-alert.markdown-alert-important{border-left-color:var(--borderColor-done-emphasis, var(--color-done-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-important .markdown-alert-title{color:var(--fgColor-done, var(--color-done-fg))}.wmde-markdown .markdown-alert.markdown-alert-warning{border-left-color:var(--borderColor-attention-emphasis, var(--color-attention-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-warning .markdown-alert-title{color:var(--fgColor-attention, var(--color-attention-fg))}.wmde-markdown .markdown-alert.markdown-alert-caution{border-left-color:var(--borderColor-danger-emphasis, var(--color-danger-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-caution .markdown-alert-title{color:var(--fgColor-danger, var(--color-danger-fg))}.wmde-markdown .highlight-line{background-color:var(--color-neutral-muted)}.wmde-markdown .code-line.line-number:before{display:inline-block;width:1rem;text-align:right;margin-right:16px;color:var(--color-fg-subtle);content:attr(line);white-space:nowrap}.wmde-markdown .token.comment,.wmde-markdown .token.prolog,.wmde-markdown .token.doctype,.wmde-markdown .token.cdata{color:var(--color-prettylights-syntax-comment)}.wmde-markdown .token.namespace{opacity:.7}.wmde-markdown .token.property,.wmde-markdown .token.tag,.wmde-markdown .token.selector,.wmde-markdown .token.constant,.wmde-markdown .token.symbol,.wmde-markdown .token.deleted{color:var(--color-prettylights-syntax-entity-tag)}.wmde-markdown .token.maybe-class-name{color:var(--color-prettylights-syntax-variable)}.wmde-markdown .token.property-access,.wmde-markdown .token.operator,.wmde-markdown .token.boolean,.wmde-markdown .token.number,.wmde-markdown .token.selector .token.class,.wmde-markdown .token.attr-name,.wmde-markdown .token.string,.wmde-markdown .token.char,.wmde-markdown .token.builtin{color:var(--color-prettylights-syntax-constant)}.wmde-markdown .token.deleted{color:var(--color-prettylights-syntax-markup-deleted-text)}.wmde-markdown .code-line .token.deleted{background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.wmde-markdown .token.inserted{color:var(--color-prettylights-syntax-markup-inserted-text)}.wmde-markdown .code-line .token.inserted{background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.wmde-markdown .token.variable{color:var(--color-prettylights-syntax-constant)}.wmde-markdown .token.entity,.wmde-markdown .token.url,.wmde-markdown .language-css .token.string,.wmde-markdown .style .token.string,.wmde-markdown .token.color,.wmde-markdown .token.atrule,.wmde-markdown .token.attr-value,.wmde-markdown .token.function,.wmde-markdown .token.class-name{color:var(--color-prettylights-syntax-string)}.wmde-markdown .token.rule,.wmde-markdown .token.regex,.wmde-markdown .token.important,.wmde-markdown .token.keyword{color:var(--color-prettylights-syntax-keyword)}.wmde-markdown .token.coord{color:var(--color-prettylights-syntax-meta-diff-range)}.wmde-markdown .token.important,.wmde-markdown .token.bold{font-weight:700}.wmde-markdown .token.italic{font-style:italic}.wmde-markdown .token.entity{cursor:help}@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2) format("woff2"),url(/assets/KaTeX_AMS-Regular-DMm9YOAa.woff) format("woff"),url(/assets/KaTeX_AMS-Regular-DRggAlZN.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff) format("woff"),url(/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff) format("woff"),url(/assets/KaTeX_Fraktur-Regular-CB_wures.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Main-Bold-Cx986IdX.woff2) format("woff2"),url(/assets/KaTeX_Main-Bold-Jm3AIy58.woff) format("woff"),url(/assets/KaTeX_Main-Bold-waoOVXN0.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2) format("woff2"),url(/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff) format("woff"),url(/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2) format("woff2"),url(/assets/KaTeX_Main-Italic-BMLOBm91.woff) format("woff"),url(/assets/KaTeX_Main-Italic-3WenGoN9.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Main-Regular-B22Nviop.woff2) format("woff2"),url(/assets/KaTeX_Main-Regular-Dr94JaBh.woff) format("woff"),url(/assets/KaTeX_Main-Regular-ypZvNtVU.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2) format("woff2"),url(/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff) format("woff"),url(/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Math-Italic-t53AETM-.woff2) format("woff2"),url(/assets/KaTeX_Math-Italic-DA0__PXp.woff) format("woff"),url(/assets/KaTeX_Math-Italic-flOr_0UB.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff) format("woff"),url(/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff) format("woff"),url(/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff) format("woff"),url(/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Script-Regular-D3wIWfF6.woff2) format("woff2"),url(/assets/KaTeX_Script-Regular-D5yQViql.woff) format("woff"),url(/assets/KaTeX_Script-Regular-C5JkGWo-.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2) format("woff2"),url(/assets/KaTeX_Size1-Regular-C195tn64.woff) format("woff"),url(/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2) format("woff2"),url(/assets/KaTeX_Size2-Regular-oD1tc_U0.woff) format("woff"),url(/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/Uixcj2WGqdI8tGSgkuRG+t910GKP2D7AQH0DB9FMDW/obJZ8giFI3Wg8Cvevz0M+5m0rTh7XDBlvo9Y4vm13EXmfttwI4mBo1EG15fxJhUiCLbiiyCf/ZA6MFAhg3pGIZGdGIVjtPn6UcMk9A/UUr9PhoNsCENw1APAq0gpH73e+M+0ueyHbabc3vkbcdtzcf/fiy+NxQEjf9ud/ELBHAXJ0nk4z+MXH2Ev/kWyV4k7SkvpPc9Qr38F6RPWnM9cN6DJ0AdD1BhtgABtmoRoFCvPsBAumNm6soZG2Gk5GyVTo2sJncSyp0jQTYoR6WDvTwaaEcHsxHfvuWhHA3a6bN7twRKtcGok6NsCi7jYRrM2jExsUFMxMQYuJbMhuWNOumEJy9hi29Dmg5zMp/A5+hhPG19j1vBrq8JTLr8ki5VLPmG/PynJHVul440bxg5xuymHUFPB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j21L0MqenEmNRWBAWDWAk4CpNoEZJ2tTaPFgbQYj8HxtFilErs3BTRwT8uO1NXQaWfIotchmPkAF5mMBAliEmZiOGVgCG9LgRzpscMAOOwowlT3JhusdazXGSC/hxR3UlmWVwWHpOIKheqONvjyhSiTHIkVUco5bnji8m//zL7PKaT1Vl5I6UE609f+gkr6MZKVyKc7zJRmCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC) format("woff2"),url(/assets/KaTeX_Size3-Regular-CTq5MqoE.woff) format("woff"),url(/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2) format("woff2"),url(/assets/KaTeX_Size4-Regular-BF-4gkZK.woff) format("woff"),url(/assets/KaTeX_Size4-Regular-DWFBv043.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2) format("woff2"),url(/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff) format("woff"),url(/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf) format("truetype")}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.11"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.6666666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.8571428571em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.5542857143em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.8888888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.7644444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.8331726133em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.8336012862em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}.wmde-markdown{background-color:transparent}.cm-vim-panel input{color:inherit}@media (prefers-color-scheme: dark){.markdown-preview{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #c9d1d9;--color-fg-muted: #8b949e;--color-fg-subtle: #484f58;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110, 118, 129, .4);--color-accent-fg: #58a6ff;--color-accent-emphasis: #1f6feb;--color-attention-subtle: rgba(187, 128, 9, .15);--color-danger-fg: #f85149;--color-danger-emphasis: #da3633;--color-attention-fg: #d29922;--color-attention-emphasis: #9e6a03;--color-done-fg: #a371f7;--color-done-emphasis: #8957e5;--color-success-fg: #3fb950;--color-success-emphasis: #238636;--color-copied-active-bg: #2e9b33}}@media (prefers-color-scheme: light){.markdown-preview{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsla(210, 18%, 87%, 1);--color-neutral-muted: rgba(175, 184, 193, .2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-subtle: #fff8c5;--color-danger-fg: #d1242f;--color-danger-emphasis: #cf222e;--color-attention-fg: #9a6700;--color-attention-emphasis: #9a6700;--color-done-fg: #8250df;--color-done-emphasis: #8250df;--color-success-fg: #1a7f37;--color-success-emphasis: #1f883d;--color-copied-active-bg: #2e9b33}}[data-color-mode*=dark] .markdown-preview,.markdown-preview[data-color-mode*=dark],body[data-color-mode*=dark]{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #c9d1d9;--color-fg-muted: #8b949e;--color-fg-subtle: #484f58;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110, 118, 129, .4);--color-accent-fg: #58a6ff;--color-accent-emphasis: #1f6feb;--color-attention-subtle: rgba(187, 128, 9, .15);--color-danger-fg: #f85149}[data-color-mode*=light] .markdown-preview,.markdown-preview[data-color-mode*=light],body[data-color-mode*=light]{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsla(210, 18%, 87%, 1);--color-neutral-muted: rgba(175, 184, 193, .2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-subtle: #fff8c5;--color-danger-fg: #cf222e}.markdown-preview{-webkit-text-size-adjust:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word;color:var(--color-fg-default);background-color:transparent}.markdown-preview details,.markdown-preview figcaption,.markdown-preview figure{display:block}.markdown-preview summary{display:list-item}.markdown-preview [hidden]{display:none!important}.markdown-preview a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-preview a:active,.markdown-preview a:hover{outline-width:0}.markdown-preview abbr[title]{border-bottom:none;text-decoration:underline dotted}.markdown-preview b,.markdown-preview strong{font-weight:600}.markdown-preview dfn{font-style:italic}.markdown-preview h1{margin:.67em 0;font-weight:600;padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.markdown-preview mark{background-color:var(--color-attention-subtle);color:var(--color-text-primary)}.markdown-preview small{font-size:90%}.markdown-preview sub,.markdown-preview sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-preview sub{bottom:-.25em}.markdown-preview sup{top:-.5em}.markdown-preview img{display:inline-block;border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.markdown-preview code,.markdown-preview kbd,.markdown-preview pre,.markdown-preview samp{font-family:monospace,monospace;font-size:1em}.markdown-preview figure{margin:1em 40px}.markdown-preview hr{box-sizing:content-box;overflow:hidden;background:transparent;border:0;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default)}.markdown-preview input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-preview [type=button],.markdown-preview [type=reset],.markdown-preview [type=submit]{-webkit-appearance:button}.markdown-preview [type=button]::-moz-focus-inner,.markdown-preview [type=reset]::-moz-focus-inner,.markdown-preview [type=submit]::-moz-focus-inner{border-style:none;padding:0}.markdown-preview [type=button]:-moz-focusring,.markdown-preview [type=reset]:-moz-focusring,.markdown-preview [type=submit]:-moz-focusring{outline:1px dotted ButtonText}.markdown-preview [type=checkbox],.markdown-preview [type=radio]{box-sizing:border-box;padding:0}.markdown-preview [type=number]::-webkit-inner-spin-button,.markdown-preview [type=number]::-webkit-outer-spin-button{height:auto}.markdown-preview [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.markdown-preview [type=search]::-webkit-search-cancel-button,.markdown-preview [type=search]::-webkit-search-decoration{-webkit-appearance:none}.markdown-preview ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-preview ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.markdown-preview a:hover{text-decoration:underline}.markdown-preview hr:before{display:table;content:""}.markdown-preview hr:after{display:table;clear:both;content:""}.markdown-preview table{border-spacing:0;border-collapse:collapse;display:block;width:max-content;max-width:100%}.markdown-preview td,.markdown-preview th{padding:0}.markdown-preview details summary{cursor:pointer}.markdown-preview details:not([open])>*:not(summary){display:none!important}.markdown-preview kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.markdown-preview h1,.markdown-preview h2,.markdown-preview h3,.markdown-preview h4,.markdown-preview h5,.markdown-preview h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.markdown-preview h2{font-weight:600;padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.markdown-preview h3{font-weight:600;font-size:1.25em}.markdown-preview h4{font-weight:600;font-size:1em}.markdown-preview h5{font-weight:600;font-size:.875em}.markdown-preview h6{font-weight:600;font-size:.85em;color:var(--color-fg-muted)}.markdown-preview p{margin-top:0;margin-bottom:10px}.markdown-preview blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.markdown-preview ul,.markdown-preview ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-preview ol ol,.markdown-preview ul ol{list-style-type:lower-roman}.markdown-preview ul ul ol,.markdown-preview ul ol ol,.markdown-preview ol ul ol,.markdown-preview ol ol ol{list-style-type:lower-alpha}.markdown-preview dd{margin-left:0}.markdown-preview tt,.markdown-preview code{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-preview pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-preview .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-preview ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-preview input::-webkit-outer-spin-button,.markdown-preview input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-preview [data-catalyst]{display:block}.markdown-preview:before{display:table;content:""}.markdown-preview:after{display:table;clear:both;content:""}.markdown-preview>*:first-child{margin-top:0!important}.markdown-preview>*:last-child{margin-bottom:0!important}.markdown-preview a:not([href]){color:inherit;text-decoration:none}.markdown-preview .absent{color:var(--color-danger-fg)}.markdown-preview a.anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-preview .anchor:focus{outline:none}.markdown-preview p,.markdown-preview blockquote,.markdown-preview ul,.markdown-preview ol,.markdown-preview dl,.markdown-preview table,.markdown-preview pre,.markdown-preview details{margin-top:0;margin-bottom:16px}.markdown-preview blockquote>:first-child{margin-top:0}.markdown-preview blockquote>:last-child{margin-bottom:0}.markdown-preview sup>a:before{content:"["}.markdown-preview sup>a:after{content:"]"}.markdown-preview h1 .octicon-link,.markdown-preview h2 .octicon-link,.markdown-preview h3 .octicon-link,.markdown-preview h4 .octicon-link,.markdown-preview h5 .octicon-link,.markdown-preview h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.markdown-preview h1:hover .anchor,.markdown-preview h2:hover .anchor,.markdown-preview h3:hover .anchor,.markdown-preview h4:hover .anchor,.markdown-preview h5:hover .anchor,.markdown-preview h6:hover .anchor{text-decoration:none}.markdown-preview h1:hover .anchor .octicon-link,.markdown-preview h2:hover .anchor .octicon-link,.markdown-preview h3:hover .anchor .octicon-link,.markdown-preview h4:hover .anchor .octicon-link,.markdown-preview h5:hover .anchor .octicon-link,.markdown-preview h6:hover .anchor .octicon-link{visibility:visible}.markdown-preview h1 tt,.markdown-preview h1 code,.markdown-preview h2 tt,.markdown-preview h2 code,.markdown-preview h3 tt,.markdown-preview h3 code,.markdown-preview h4 tt,.markdown-preview h4 code,.markdown-preview h5 tt,.markdown-preview h5 code,.markdown-preview h6 tt,.markdown-preview h6 code{padding:0 .2em;font-size:inherit}.markdown-preview ul.no-list,.markdown-preview ol.no-list{padding:0;list-style-type:none}.markdown-preview ol[type="1"]{list-style-type:decimal}.markdown-preview ol[type=a]{list-style-type:lower-alpha}.markdown-preview ol[type=i]{list-style-type:lower-roman}.markdown-preview div>ol:not([type]){list-style-type:decimal}.markdown-preview ul ul,.markdown-preview ul ol,.markdown-preview ol ol,.markdown-preview ol ul{margin-top:0;margin-bottom:0}.markdown-preview li>p{margin-top:16px}.markdown-preview li+li{margin-top:.25em}.markdown-preview dl{padding:0}.markdown-preview dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:600}.markdown-preview dl dd{padding:0 16px;margin-bottom:16px}.markdown-preview table th{font-weight:600}.markdown-preview table th,.markdown-preview table td{padding:6px 13px;border:1px solid var(--color-border-default)}.markdown-preview table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-preview table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-preview table img{background-color:transparent}.markdown-preview img[align=right]{padding-left:20px}.markdown-preview img[align=left]{padding-right:20px}.markdown-preview .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-preview span.frame{display:block;overflow:hidden}.markdown-preview span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.markdown-preview span.frame span img{display:block;float:left}.markdown-preview span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.markdown-preview span.align-center{display:block;overflow:hidden;clear:both}.markdown-preview span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-preview span.align-center span img{margin:0 auto;text-align:center}.markdown-preview span.align-right{display:block;overflow:hidden;clear:both}.markdown-preview span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-preview span.align-right span img{margin:0;text-align:right}.markdown-preview span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-preview span.float-left span{margin:13px 0 0}.markdown-preview span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-preview span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-preview code,.markdown-preview tt{padding:.2em .4em;margin:0;font-size:85%;background-color:var(--color-neutral-muted);border-radius:6px}.markdown-preview code br,.markdown-preview tt br{display:none}.markdown-preview del code{text-decoration:inherit}.markdown-preview pre code{font-size:100%}.markdown-preview pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-preview pre{font-size:85%;line-height:1.45;background-color:var(--color-canvas-subtle);border-radius:6px}.markdown-preview pre code,.markdown-preview pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-preview pre>code{padding:16px;overflow:auto;display:block}.markdown-preview pre>code::-webkit-scrollbar{background:transparent;width:8px;height:8px}.markdown-preview pre>code::-webkit-scrollbar-thumb{background:var(--color-fg-muted);border-radius:10px}.markdown-preview .csv-data td,.markdown-preview .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-preview .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.markdown-preview .csv-data tr{border-top:0}.markdown-preview .csv-data th{font-weight:600;background:var(--color-canvas-subtle);border-top:0}.markdown-preview .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.markdown-preview .footnotes ol{padding-left:16px}.markdown-preview .footnotes li{position:relative}.markdown-preview .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.markdown-preview .footnotes li:target{color:var(--color-fg-default)}.markdown-preview .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-preview .task-list-item{list-style-type:none}.markdown-preview .task-list-item label{font-weight:400}.markdown-preview .task-list-item.enabled label{cursor:pointer}.markdown-preview .task-list-item+:is(.markdown-preview .task-list-item){margin-top:3px}.markdown-preview .task-list-item .handle{display:none}.markdown-preview .task-list-item-checkbox,.markdown-preview .contains-task-list input[type=checkbox]{margin:0 .2em .25em -1.6em;vertical-align:middle}.markdown-preview .contains-task-list:dir(rtl) .task-list-item-checkbox,.markdown-preview .contains-task-list:dir(rtl) input[type=checkbox]{margin:0 -1.6em .25em .2em}.markdown-preview ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-preview pre{position:relative}.markdown-preview pre .copied{visibility:hidden;display:flex;position:absolute;cursor:pointer;color:var(--color-fg-default);top:6px;right:6px;border-radius:5px;background:var(--color-border-default);padding:6px;font-size:12px;transition:all .3s}.markdown-preview pre .copied .octicon-copy{display:block}.markdown-preview pre .copied .octicon-check{display:none}.markdown-preview pre:hover .copied{visibility:visible}.markdown-preview pre:hover .copied:hover{background:var(--color-prettylights-syntax-entity-tag);color:var(--color-canvas-default)}.markdown-preview pre:hover .copied:active,.markdown-preview pre .copied.active{background:var(--color-copied-active-bg);color:var(--color-canvas-default)}.markdown-preview pre .active .octicon-copy{display:none}.markdown-preview pre .active .octicon-check{display:block}.markdown-preview .markdown-alert{padding:.5rem 1em;color:inherit;margin-bottom:16px;border-left:.25em solid var(--borderColor-default, var(--color-border-default))}.markdown-preview .markdown-alert>:last-child{margin-bottom:0!important}.markdown-preview .markdown-alert .markdown-alert-title{display:flex;align-items:center;line-height:1;font-weight:500;font-size:14px}.markdown-preview .markdown-alert .markdown-alert-title svg.octicon{margin-right:var(--base-size-8, 8px)!important}.markdown-preview .markdown-alert.markdown-alert-note{border-left-color:var(--borderColor-accent-emphasis, var(--color-accent-emphasis))}.markdown-preview .markdown-alert.markdown-alert-note .markdown-alert-title{color:var(--fgColor-accent, var(--color-accent-fg))}.markdown-preview .markdown-alert.markdown-alert-tip{border-left-color:var(--borderColor-success-emphasis, var(--color-success-emphasis))}.markdown-preview .markdown-alert.markdown-alert-tip .markdown-alert-title{color:var(--fgColor-success, var(--color-success-fg))}.markdown-preview .markdown-alert.markdown-alert-important{border-left-color:var(--borderColor-done-emphasis, var(--color-done-emphasis))}.markdown-preview .markdown-alert.markdown-alert-important .markdown-alert-title{color:var(--fgColor-done, var(--color-done-fg))}.markdown-preview .markdown-alert.markdown-alert-warning{border-left-color:var( --borderColor-attention-emphasis, var(--color-attention-emphasis) )}.markdown-preview .markdown-alert.markdown-alert-warning .markdown-alert-title{color:var(--fgColor-attention, var(--color-attention-fg))}.markdown-preview .markdown-alert.markdown-alert-caution{border-left-color:var(--borderColor-danger-emphasis, var(--color-danger-emphasis))}.markdown-preview .markdown-alert.markdown-alert-caution .markdown-alert-title{color:var(--fgColor-danger, var(--color-danger-fg))}.markdown-preview .highlight-line{background-color:var(--color-neutral-muted)}.markdown-preview .code-line.line-number:before{display:inline-block;width:1rem;text-align:right;margin-right:16px;color:var(--color-fg-subtle);content:attr(line);white-space:nowrap}.markdown-preview .token.comment,.markdown-preview .token.prolog,.markdown-preview .token.doctype,.markdown-preview .token.cdata{color:var(--color-prettylights-syntax-comment)}.markdown-preview .token.namespace{opacity:.7}.markdown-preview .token.property,.markdown-preview .token.tag,.markdown-preview .token.selector,.markdown-preview .token.constant,.markdown-preview .token.symbol,.markdown-preview .token.deleted{color:var(--color-prettylights-syntax-entity-tag)}.markdown-preview .token.maybe-class-name{color:var(--color-prettylights-syntax-variable)}.markdown-preview .token.property-access,.markdown-preview .token.operator,.markdown-preview .token.boolean,.markdown-preview .token.number,.markdown-preview .token.selector .token.class,.markdown-preview .token.attr-name,.markdown-preview .token.string,.markdown-preview .token.char,.markdown-preview .token.builtin{color:var(--color-prettylights-syntax-constant)}.markdown-preview .token.deleted{color:var(--color-prettylights-syntax-markup-deleted-text)}.markdown-preview .code-line .token.deleted{background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.markdown-preview .token.inserted{color:var(--color-prettylights-syntax-markup-inserted-text)}.markdown-preview .code-line .token.inserted{background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.markdown-preview .token.variable{color:var(--color-prettylights-syntax-constant)}.markdown-preview .token.entity,.markdown-preview .token.url,.markdown-preview .language-css .token.string,.markdown-preview .style .token.string,.markdown-preview .token.color,.markdown-preview .token.atrule,.markdown-preview .token.attr-value,.markdown-preview .token.function,.markdown-preview .token.class-name{color:var(--color-prettylights-syntax-string)}.markdown-preview .token.rule,.markdown-preview .token.regex,.markdown-preview .token.important,.markdown-preview .token.keyword{color:var(--color-prettylights-syntax-keyword)}.markdown-preview .token.coord{color:var(--color-prettylights-syntax-meta-diff-range)}.markdown-preview .token.important,.markdown-preview .token.bold{font-weight:700}.markdown-preview .token.italic{font-style:italic}.markdown-preview .token.entity{cursor:help} +body{margin:0;min-height:100vh;overflow:hidden}#yorkie-intelligence-footer .wmde-markdown{-webkit-user-modify:read-only;white-space:initial!important}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(/assets/roboto-cyrillic-ext-300-normal-Chhwl1Jq.woff2) format("woff2"),url(/assets/roboto-cyrillic-ext-300-normal-BLLmCegk.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(/assets/roboto-cyrillic-300-normal-DJfICpyc.woff2) format("woff2"),url(/assets/roboto-cyrillic-300-normal-Dg7J0kAT.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(data:font/woff2;base64,d09GMgABAAAAAAXcABIAAAAAChAAAAV+AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhQbHhw0BmAAXghYCYM8EQwKg3yDXwsUABIUATYCJAMkBCAFgnwHIAyCOhuqCCAuDrI5ZN4aokERTSyd8sbnRhCPOT/nSbL5I3uJOVkEOmLbY09VmSg+s7XZR8z2UPVFzdPPH95petP0dBQVoUgu+1/NvnDlsFu1bLZnPtp/9TZG4R6s2iHuHinG8i80DiPfXaFiKo9+oTAOlEMIi8PciP2lbTwhqe7chkVUBQSIAQDBRxAECKlFFzJ0eHQySGIAUgAO4c44Imqnv6i9oQq0lzWwyhZYXdBUcx6AsNu1WSdtEQPnkuMESEM7pl9mqQImBxg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BZfNWYmElDU6etXeBiBO+kNXoAeNpjYGYAg/9ZDCkMWAAAKh8B0QA=) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(/assets/roboto-greek-300-normal-Bx8edVml.woff2) format("woff2"),url(/assets/roboto-greek-300-normal-D3gN5oZ1.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(/assets/roboto-vietnamese-300-normal-PZa9KE_J.woff2) format("woff2"),url(/assets/roboto-vietnamese-300-normal-CAomnZLO.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(/assets/roboto-latin-ext-300-normal-BzRVPTS2.woff2) format("woff2"),url(/assets/roboto-latin-ext-300-normal-Djx841zm.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(/assets/roboto-latin-300-normal-BizgZZ3y.woff2) format("woff2"),url(/assets/roboto-latin-300-normal-BZ6gvbSO.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/roboto-cyrillic-ext-400-normal-D76n7Daw.woff2) format("woff2"),url(/assets/roboto-cyrillic-ext-400-normal-b0JluIOJ.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/roboto-cyrillic-400-normal-BiRJyiea.woff2) format("woff2"),url(/assets/roboto-cyrillic-400-normal-JN0iKxGs.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAAXYABIAAAAACgAAAAV8AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhQbHhw0BmAAXghUCYM8EQwKg2iDTgsUABIUATYCJAMkBCAFgnQHIAyCSRucCFFUkDIBfhzkZKcmnOCkolAQnoSyxYqFpYXieXb+xgO83X+ee8cPWukL624junMJs9RsoCpuxSopamF+Pi97f6xC6QrJFHRKpFCmII8L4C95A3y0rJouCIdkJgncD/oHj/4Ptd1Rm0IYXCtKb1yQDmO4797U2dlr/Om01LkOVpT2L12pLVa73QtgLIKxr2n9efiAIhiyAGBi25Coekds8qZninvglyCgAwhKQRDQspY1tF9oNA0iKTQN4IRtO0c8LdtzW2orwfLCWqaCzZfl11dfBsTdnaQ3h2kZ2eOZEwgbeF/yBVwQgZ2DvRwJfK0Dj4wLA3+w4XAB/M8FxYoIY9AzkO6S7TOGwEWk2ZbiCu/nOQToKUU5oq4x6zbE1HUGA3Rl83vzuil5fuJX+RchWrDatW53jdtwnlgZhpwlhXP0dtJr7vYxsPT/PLq40lhiT5ruQpdOGGT7LM3N6cMWw/ws9PIfIIcEwLJDUR3FYQgfiUJzxskPq2Qy1ggbiezOIJylETciLCiNZCMFSKaDJqeFHmOPg5ePsYC2syXS6aE6P7V6nJwhSOIdAc0Ke4n7Xb8SyWqkqXiaf5zcKrRPwvfqdPtrZBtL2slMnRuMa42LvcxYpRRZvA/n8T7tUCIaeZ2q3j7uEh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UUEjMyEjcFCZD++LCs/vaTApIBC6yvAQuQv9C7ttED07m6zAMCqdb+waipATnOadIBQqup/r/VAgEDARX+6/Zr+/7hAQ/9AAIAbwRwAskF1gAFAA0AAAETMxUDIwEzFRYXByY1AZF0xN9Z/t6oA1BJsgSUAUIV/sMBUlt7VTtfu////jL/7AVPBdYAJgAFRgAABwAG/cMAAAABAAAAAiMSo8X+nl8PPPUAGQgAAAAAAMTwES4AAAAA1QFS9Pob/dUJMAhzAAAACQACAAAAAAAAeNpjYGRgYM/5x8PAwOn5S/qfF6cBUAQVcAIAb4cEcQB42mPuYUhhgALG3xDM2sBQxqzAkA9mH/tnBABopAdwAHjaY2Bg0ITDRIY6IOwCABGeArUAeNpjYGRgYOBk6GcQYwhhYAXzEICNgREAGIoBEXjaXY4BBgJRFEVPVSnSCkIgoKkKUSBJIqESIKp+05BpzFRpI62gBbTErvGNkes+977nfB8ocSJHJl8GtnxtzlDhY3OWKm+bc6l9PpULNAhsLlJjbXNVCc7cpIABLekZy2FHIB90NWpXQlxdL3jaGXwizUibOTPGTFiw0mzSxaHNUsRevslNNSP6LnpHyEYtFOvp5lOPiQ49+gzj1lbr/zHp98ZywEtbDxf9PqE6SlOukivOqM3wOeAojbhIdZYJFcXNEMkhD80jzg9HQTQoAAB42mNgZgCD/1kMKQxYAAAqHwHRAA==) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/roboto-greek-400-normal-LPh2sqOm.woff2) format("woff2"),url(/assets/roboto-greek-400-normal-IIc_WWwF.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/roboto-vietnamese-400-normal-DhTUfTw_.woff2) format("woff2"),url(/assets/roboto-vietnamese-400-normal-D5pJwT9g.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/roboto-latin-ext-400-normal-DgXbz5gU.woff2) format("woff2"),url(/assets/roboto-latin-ext-400-normal-BSFkPfbf.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/roboto-latin-400-normal-DXyFPIdK.woff2) format("woff2"),url(/assets/roboto-latin-400-normal-BVyCgWwA.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/roboto-cyrillic-ext-500-normal-BJvL3D7h.woff2) format("woff2"),url(/assets/roboto-cyrillic-ext-500-normal-37WQE4S0.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/roboto-cyrillic-500-normal-_hamcpv8.woff2) format("woff2"),url(/assets/roboto-cyrillic-500-normal-YnJLGrUm.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(data:font/woff2;base64,d09GMgABAAAAAAXwABIAAAAACiQAAAWUAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhQbHhw0BmAAXghcCYM8EQwKg3CDVwsUABIUATYCJ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OwEABGOArEAeNpjYGRgYOBk6GcQY/BjYAXzEICNgREAGAwBC3jaTY+1dQNAEAXHzC7AkSJHZobEzEyZScyMfagC1aHiNIHoHc3fWwSmiTLGyPgM8EO7yyMs0eryKIs0uzw2ZB8f4gmWyXZ5UvtHlxcliFN25Tli3VXDxRr/5D0hfyOqHEVi/qZJaIuQpUTEs84Dt5xzyRPv3qts6b3BGzmCnrJnlUcihElQIcOXXKSkypElgP5sss0+x6jYYFN+I0JM/zT/FIez6TOc7VxLngZFdQwn6efYlK7JuWKkiahuyRJiTTol7Qrw1o8qocKJPEWqWIG1DvezNmIAAHjaY2BmAIP/WQwpDFgAACofAdEA) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/roboto-greek-500-normal-Bg8BLohm.woff2) format("woff2"),url(/assets/roboto-greek-500-normal-CdRewbqV.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/roboto-vietnamese-500-normal-p0V0BAAE.woff2) format("woff2"),url(/assets/roboto-vietnamese-500-normal-LvuCHq7y.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/roboto-latin-ext-500-normal-OQJhyaXd.woff2) format("woff2"),url(/assets/roboto-latin-ext-500-normal-DvHxAkTn.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/roboto-latin-500-normal-C6iW8rdg.woff2) format("woff2"),url(/assets/roboto-latin-500-normal-rpP1_v3s.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/roboto-cyrillic-ext-700-normal-CyZgh00P.woff2) format("woff2"),url(/assets/roboto-cyrillic-ext-700-normal-DXzexxfu.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/roboto-cyrillic-700-normal-jruQITdB.woff2) format("woff2"),url(/assets/roboto-cyrillic-700-normal-BJaAVvFw.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(data:font/woff2;base64,d09GMgABAAAAAAWwABIAAAAACcAAAAVTAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhQbHhw0BmAAXghICYM8EQwKg0iDMwsUABIUATYCJAMkBCAFgn4HIAyCKRtfCCCeBTkZ2iuxGWKJyeMZv66OCKiaZs+C2PYBKynriFkOIRw+g/RKasP0I2Tp7+2q9xfi7wUbK2iEHqhniZB3rvwq15s+McjkCIq28lPzNpOz6381+8JXa2p3NywTFUsoPFi19wHiAoKxcTWy7qYKLfvKspIVUta28e98NkNGfL1Saoy9g4AKICgIgoCSXWQgCxYNTUGIBJpgg22cCgGyrP3XF1yQdvCC6CzmIwxLnosAt/vj5LbogZT0yrQShPZyIH7ZQREGFZjjiOGtLF492gsUtK8M0uCg/JUR1JDrIJmWZmoo/ygYL3bjLzwPD7AMaFUQySHSouZS+8pjnYMgXNq8mgd/9PCX8m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ZiAWAZKMYJqFwQtI8zFwAOXYwCp4GRQYFsj7/v8P5KHwQTr+f/v/5H/6g91g3TwMCMAEANCmDfkAAQACAAgAAv//AA8ABQBkAAADKAWwAAMABgAJAAwADwAAISERIQMRAQERAQMhATUBIQMo/TwCxDb+7v66AQzkAgP+/gEC/f0FsPqkBQf9fQJ3+xECeP1eAl6IAl4AAAIAVv/sBS4FxAAQAB4AAAEUAgQjIiQCJzU0EiQgBBIVJTQmIyIGBxUUFjMyNjcFLpj+5be1/uScAZsBGwFsARub/tCkmJekAaSal6IBArfX/rywrgFD0kjXAUevr/651gHl7uvjR9/27eMAAAIAWwRvAssF1wAFAA4AAAETMxUDIwEzFRYXByYmNQGJb9PmXP7SrQFMU0pdBJsBPBX+wQFUXnw4ViOJXQD///4X/+wFdAXXACYABUYAAAcABv28AAAAAQAAAAIjEjlU04RfDzz1ABkIAAAAAADE8BEuAAAAANUBUtb6MP3VCYcIcwABAAkAAgAAAAAAAHjaY2BkYGDP+cfDwMDZ9cvgnylnO1AEFXACAHx/BQkAeNpj7mFIYYACxn8QzNrGEMYszxANZp/5Jw4AZykHNQB42mNgYNCEw3iGOiDsAgARkAKzAHjaY2BkYGDgZOhnEGPwY2AF8xCAjYERABgMAQt42mJgYOBgSGNgZmBk4QSy4xh2QdmMDDwM66BsJqCaZRA2kBRjmABlsyCxWQFVjyUWQgEQRW8isoafSLhLwd0t4+7O7nk4nDfug4XZyzYp3nzZZlkw4SBsCOMQzg/Y6bIR95UdyluzY6zsgqliQ1bsJfeKFMmRIEWZhqQNN3ac1NXREx/ENuKSCwa01bNT11T+CuNR68JDgMjDc8oL/PUan96X/ssmxBuu7JgyRn98prhkZVgLY3UN5eVY0ccuK8ZCMKh/uvYPT/+Id5wkB9hvI3U1mnjaY2BmAIP/WQwpDFgAACofAdEA) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/roboto-greek-700-normal-Bs05n1ZH.woff2) format("woff2"),url(/assets/roboto-greek-700-normal-1IZ-NEfb.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/roboto-vietnamese-700-normal-CBbheh0s.woff2) format("woff2"),url(/assets/roboto-vietnamese-700-normal-B4Nagvlm.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/roboto-latin-ext-700-normal-DchBbzVz.woff2) format("woff2"),url(/assets/roboto-latin-ext-700-normal-Ba-CAIIA.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/roboto-latin-700-normal-CbYYDfWS.woff2) format("woff2"),url(/assets/roboto-latin-700-normal-BWcFiwQV.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@media (prefers-color-scheme: dark){.wmde-markdown,.wmde-markdown-var{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #c9d1d9;--color-fg-muted: #8b949e;--color-fg-subtle: #484f58;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110, 118, 129, .4);--color-accent-fg: #58a6ff;--color-accent-emphasis: #1f6feb;--color-attention-subtle: rgba(187, 128, 9, .15);--color-danger-fg: #f85149;--color-danger-emphasis: #da3633;--color-attention-fg: #d29922;--color-attention-emphasis: #9e6a03;--color-done-fg: #a371f7;--color-done-emphasis: #8957e5;--color-success-fg: #3fb950;--color-success-emphasis: #238636;--color-copied-active-bg: #2e9b33}}@media (prefers-color-scheme: light){.wmde-markdown,.wmde-markdown-var{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsl(210, 18%, 87%);--color-neutral-muted: rgba(175, 184, 193, .2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-subtle: #fff8c5;--color-danger-fg: #d1242f;--color-danger-emphasis: #cf222e;--color-attention-fg: #9a6700;--color-attention-emphasis: #9a6700;--color-done-fg: #8250df;--color-done-emphasis: #8250df;--color-success-fg: #1a7f37;--color-success-emphasis: #1f883d;--color-copied-active-bg: #2e9b33}}[data-color-mode*=dark] .wmde-markdown,[data-color-mode*=dark] .wmde-markdown-var,.wmde-markdown-var[data-color-mode*=dark],.wmde-markdown[data-color-mode*=dark],body[data-color-mode*=dark]{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #c9d1d9;--color-fg-muted: #8b949e;--color-fg-subtle: #484f58;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110, 118, 129, .4);--color-accent-fg: #58a6ff;--color-accent-emphasis: #1f6feb;--color-attention-subtle: rgba(187, 128, 9, .15);--color-danger-fg: #f85149}[data-color-mode*=light] .wmde-markdown,[data-color-mode*=light] .wmde-markdown-var,.wmde-markdown-var[data-color-mode*=light],.wmde-markdown[data-color-mode*=light],body[data-color-mode*=light]{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsl(210, 18%, 87%);--color-neutral-muted: rgba(175, 184, 193, .2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-subtle: #fff8c5;--color-danger-fg: #cf222e}.wmde-markdown{-webkit-text-size-adjust:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word;color:var(--color-fg-default);background-color:var(--color-canvas-default)}.wmde-markdown details,.wmde-markdown figcaption,.wmde-markdown figure{display:block}.wmde-markdown summary{display:list-item}.wmde-markdown [hidden]{display:none!important}.wmde-markdown a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.wmde-markdown a:active,.wmde-markdown a:hover{outline-width:0}.wmde-markdown abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.wmde-markdown b,.wmde-markdown strong{font-weight:600}.wmde-markdown dfn{font-style:italic}.wmde-markdown h1{margin:.67em 0;font-weight:600;padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.wmde-markdown mark{background-color:var(--color-attention-subtle);color:var(--color-text-primary)}.wmde-markdown small{font-size:90%}.wmde-markdown sub,.wmde-markdown sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.wmde-markdown sub{bottom:-.25em}.wmde-markdown sup{top:-.5em}.wmde-markdown img{display:inline-block;border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.wmde-markdown code,.wmde-markdown kbd,.wmde-markdown pre,.wmde-markdown samp{font-family:monospace,monospace;font-size:1em}.wmde-markdown figure{margin:1em 40px}.wmde-markdown hr{box-sizing:content-box;overflow:hidden;background:transparent;border:0;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default)}.wmde-markdown input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.wmde-markdown [type=button],.wmde-markdown [type=reset],.wmde-markdown [type=submit]{-webkit-appearance:button}.wmde-markdown [type=button]::-moz-focus-inner,.wmde-markdown [type=reset]::-moz-focus-inner,.wmde-markdown [type=submit]::-moz-focus-inner{border-style:none;padding:0}.wmde-markdown [type=button]:-moz-focusring,.wmde-markdown [type=reset]:-moz-focusring,.wmde-markdown [type=submit]:-moz-focusring{outline:1px dotted ButtonText}.wmde-markdown [type=checkbox],.wmde-markdown [type=radio]{box-sizing:border-box;padding:0}.wmde-markdown [type=number]::-webkit-inner-spin-button,.wmde-markdown [type=number]::-webkit-outer-spin-button{height:auto}.wmde-markdown [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.wmde-markdown [type=search]::-webkit-search-cancel-button,.wmde-markdown [type=search]::-webkit-search-decoration{-webkit-appearance:none}.wmde-markdown ::-webkit-input-placeholder{color:inherit;opacity:.54}.wmde-markdown ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.wmde-markdown a:hover{text-decoration:underline}.wmde-markdown hr:before{display:table;content:""}.wmde-markdown hr:after{display:table;clear:both;content:""}.wmde-markdown table{border-spacing:0;border-collapse:collapse;display:block;width:max-content;max-width:100%}.wmde-markdown td,.wmde-markdown th{padding:0}.wmde-markdown details summary{cursor:pointer}.wmde-markdown details:not([open])>*:not(summary){display:none!important}.wmde-markdown kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.wmde-markdown h1,.wmde-markdown h2,.wmde-markdown h3,.wmde-markdown h4,.wmde-markdown h5,.wmde-markdown h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.wmde-markdown h2{font-weight:600;padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.wmde-markdown h3{font-weight:600;font-size:1.25em}.wmde-markdown h4{font-weight:600;font-size:1em}.wmde-markdown h5{font-weight:600;font-size:.875em}.wmde-markdown h6{font-weight:600;font-size:.85em;color:var(--color-fg-muted)}.wmde-markdown p{margin-top:0;margin-bottom:10px}.wmde-markdown blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.wmde-markdown ul,.wmde-markdown ol{margin-top:0;margin-bottom:0;padding-left:2em}.wmde-markdown ol ol,.wmde-markdown ul ol{list-style-type:lower-roman}.wmde-markdown ul ul ol,.wmde-markdown ul ol ol,.wmde-markdown ol ul ol,.wmde-markdown ol ol ol{list-style-type:lower-alpha}.wmde-markdown dd{margin-left:0}.wmde-markdown tt,.wmde-markdown code{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.wmde-markdown pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.wmde-markdown .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.wmde-markdown ::placeholder{color:var(--color-fg-subtle);opacity:1}.wmde-markdown input::-webkit-outer-spin-button,.wmde-markdown input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.wmde-markdown [data-catalyst]{display:block}.wmde-markdown:before{display:table;content:""}.wmde-markdown:after{display:table;clear:both;content:""}.wmde-markdown>*:first-child{margin-top:0!important}.wmde-markdown>*:last-child{margin-bottom:0!important}.wmde-markdown a:not([href]){color:inherit;text-decoration:none}.wmde-markdown .absent{color:var(--color-danger-fg)}.wmde-markdown a.anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.wmde-markdown .anchor:focus{outline:none}.wmde-markdown p,.wmde-markdown blockquote,.wmde-markdown ul,.wmde-markdown ol,.wmde-markdown dl,.wmde-markdown table,.wmde-markdown pre,.wmde-markdown details{margin-top:0;margin-bottom:16px}.wmde-markdown blockquote>:first-child{margin-top:0}.wmde-markdown blockquote>:last-child{margin-bottom:0}.wmde-markdown sup>a:before{content:"["}.wmde-markdown sup>a:after{content:"]"}.wmde-markdown h1 .octicon-link,.wmde-markdown h2 .octicon-link,.wmde-markdown h3 .octicon-link,.wmde-markdown h4 .octicon-link,.wmde-markdown h5 .octicon-link,.wmde-markdown h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.wmde-markdown h1:hover .anchor,.wmde-markdown h2:hover .anchor,.wmde-markdown h3:hover .anchor,.wmde-markdown h4:hover .anchor,.wmde-markdown h5:hover .anchor,.wmde-markdown h6:hover .anchor{text-decoration:none}.wmde-markdown h1:hover .anchor .octicon-link,.wmde-markdown h2:hover .anchor .octicon-link,.wmde-markdown h3:hover .anchor .octicon-link,.wmde-markdown h4:hover .anchor .octicon-link,.wmde-markdown h5:hover .anchor .octicon-link,.wmde-markdown h6:hover .anchor .octicon-link{visibility:visible}.wmde-markdown h1 tt,.wmde-markdown h1 code,.wmde-markdown h2 tt,.wmde-markdown h2 code,.wmde-markdown h3 tt,.wmde-markdown h3 code,.wmde-markdown h4 tt,.wmde-markdown h4 code,.wmde-markdown h5 tt,.wmde-markdown h5 code,.wmde-markdown h6 tt,.wmde-markdown h6 code{padding:0 .2em;font-size:inherit}.wmde-markdown ul.no-list,.wmde-markdown ol.no-list{padding:0;list-style-type:none}.wmde-markdown ol[type="1"]{list-style-type:decimal}.wmde-markdown ol[type=a]{list-style-type:lower-alpha}.wmde-markdown ol[type=i]{list-style-type:lower-roman}.wmde-markdown div>ol:not([type]){list-style-type:decimal}.wmde-markdown ul ul,.wmde-markdown ul ol,.wmde-markdown ol ol,.wmde-markdown ol ul{margin-top:0;margin-bottom:0}.wmde-markdown li>p{margin-top:16px}.wmde-markdown li+li{margin-top:.25em}.wmde-markdown dl{padding:0}.wmde-markdown dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:600}.wmde-markdown dl dd{padding:0 16px;margin-bottom:16px}.wmde-markdown table th{font-weight:600}.wmde-markdown table th,.wmde-markdown table td{padding:6px 13px;border:1px solid var(--color-border-default)}.wmde-markdown table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.wmde-markdown table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.wmde-markdown table img{background-color:transparent}.wmde-markdown img[align=right]{padding-left:20px}.wmde-markdown img[align=left]{padding-right:20px}.wmde-markdown .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.wmde-markdown span.frame{display:block;overflow:hidden}.wmde-markdown span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.wmde-markdown span.frame span img{display:block;float:left}.wmde-markdown span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.wmde-markdown span.align-center{display:block;overflow:hidden;clear:both}.wmde-markdown span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.wmde-markdown span.align-center span img{margin:0 auto;text-align:center}.wmde-markdown span.align-right{display:block;overflow:hidden;clear:both}.wmde-markdown span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.wmde-markdown span.align-right span img{margin:0;text-align:right}.wmde-markdown span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.wmde-markdown span.float-left span{margin:13px 0 0}.wmde-markdown span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.wmde-markdown span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.wmde-markdown code,.wmde-markdown tt{padding:.2em .4em;margin:0;font-size:85%;background-color:var(--color-neutral-muted);border-radius:6px}.wmde-markdown code br,.wmde-markdown tt br{display:none}.wmde-markdown del code{text-decoration:inherit}.wmde-markdown pre code{font-size:100%}.wmde-markdown pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.wmde-markdown pre{font-size:85%;line-height:1.45;background-color:var(--color-canvas-subtle);border-radius:6px}.wmde-markdown pre code,.wmde-markdown pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.wmde-markdown pre>code{padding:16px;overflow:auto;display:block}.wmde-markdown pre>code::-webkit-scrollbar{background:transparent;width:8px;height:8px}.wmde-markdown pre>code::-webkit-scrollbar-thumb{background:var(--color-fg-muted);border-radius:10px}.wmde-markdown .csv-data td,.wmde-markdown .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.wmde-markdown .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.wmde-markdown .csv-data tr{border-top:0}.wmde-markdown .csv-data th{font-weight:600;background:var(--color-canvas-subtle);border-top:0}.wmde-markdown .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.wmde-markdown .footnotes ol{padding-left:16px}.wmde-markdown .footnotes li{position:relative}.wmde-markdown .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.wmde-markdown .footnotes li:target{color:var(--color-fg-default)}.wmde-markdown .footnotes .data-footnote-backref g-emoji{font-family:monospace}.wmde-markdown .task-list-item{list-style-type:none}.wmde-markdown .task-list-item label{font-weight:400}.wmde-markdown .task-list-item.enabled label{cursor:pointer}.wmde-markdown .task-list-item+.wmde-markdown .task-list-item{margin-top:3px}.wmde-markdown .task-list-item .handle{display:none}.wmde-markdown .task-list-item-checkbox,.wmde-markdown .contains-task-list input[type=checkbox]{margin:0 .2em .25em -1.6em;vertical-align:middle}.wmde-markdown .contains-task-list:dir(rtl) .task-list-item-checkbox,.wmde-markdown .contains-task-list:dir(rtl) input[type=checkbox]{margin:0 -1.6em .25em .2em}.wmde-markdown ::-webkit-calendar-picker-indicator{filter:invert(50%)}.wmde-markdown pre{position:relative}.wmde-markdown pre .copied{visibility:hidden;display:flex;position:absolute;cursor:pointer;color:var(--color-fg-default);top:6px;right:6px;border-radius:5px;background:var(--color-border-default);padding:6px;font-size:12px;transition:all .3s}.wmde-markdown pre .copied .octicon-copy{display:block}.wmde-markdown pre .copied .octicon-check{display:none}.wmde-markdown pre:hover .copied{visibility:visible}.wmde-markdown pre:hover .copied:hover{background:var(--color-prettylights-syntax-entity-tag);color:var(--color-canvas-default)}.wmde-markdown pre:hover .copied:active,.wmde-markdown pre .copied.active{background:var(--color-copied-active-bg);color:var(--color-canvas-default)}.wmde-markdown pre .active .octicon-copy{display:none}.wmde-markdown pre .active .octicon-check{display:block}.wmde-markdown .markdown-alert{padding:.5rem 1em;color:inherit;margin-bottom:16px;border-left:.25em solid var(--borderColor-default, var(--color-border-default))}.wmde-markdown .markdown-alert>:last-child{margin-bottom:0!important}.wmde-markdown .markdown-alert .markdown-alert-title{display:flex;align-items:center;line-height:1;font-weight:500;font-size:14px}.wmde-markdown .markdown-alert .markdown-alert-title svg.octicon{margin-right:var(--base-size-8, 8px)!important}.wmde-markdown .markdown-alert.markdown-alert-note{border-left-color:var(--borderColor-accent-emphasis, var(--color-accent-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-note .markdown-alert-title{color:var(--fgColor-accent, var(--color-accent-fg))}.wmde-markdown .markdown-alert.markdown-alert-tip{border-left-color:var(--borderColor-success-emphasis, var(--color-success-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-tip .markdown-alert-title{color:var(--fgColor-success, var(--color-success-fg))}.wmde-markdown .markdown-alert.markdown-alert-important{border-left-color:var(--borderColor-done-emphasis, var(--color-done-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-important .markdown-alert-title{color:var(--fgColor-done, var(--color-done-fg))}.wmde-markdown .markdown-alert.markdown-alert-warning{border-left-color:var(--borderColor-attention-emphasis, var(--color-attention-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-warning .markdown-alert-title{color:var(--fgColor-attention, var(--color-attention-fg))}.wmde-markdown .markdown-alert.markdown-alert-caution{border-left-color:var(--borderColor-danger-emphasis, var(--color-danger-emphasis))}.wmde-markdown .markdown-alert.markdown-alert-caution .markdown-alert-title{color:var(--fgColor-danger, var(--color-danger-fg))}.wmde-markdown .highlight-line{background-color:var(--color-neutral-muted)}.wmde-markdown .code-line.line-number:before{display:inline-block;width:1rem;text-align:right;margin-right:16px;color:var(--color-fg-subtle);content:attr(line);white-space:nowrap}.wmde-markdown .token.comment,.wmde-markdown .token.prolog,.wmde-markdown .token.doctype,.wmde-markdown .token.cdata{color:var(--color-prettylights-syntax-comment)}.wmde-markdown .token.namespace{opacity:.7}.wmde-markdown .token.property,.wmde-markdown .token.tag,.wmde-markdown .token.selector,.wmde-markdown .token.constant,.wmde-markdown .token.symbol,.wmde-markdown .token.deleted{color:var(--color-prettylights-syntax-entity-tag)}.wmde-markdown .token.maybe-class-name{color:var(--color-prettylights-syntax-variable)}.wmde-markdown .token.property-access,.wmde-markdown .token.operator,.wmde-markdown .token.boolean,.wmde-markdown .token.number,.wmde-markdown .token.selector .token.class,.wmde-markdown .token.attr-name,.wmde-markdown .token.string,.wmde-markdown .token.char,.wmde-markdown .token.builtin{color:var(--color-prettylights-syntax-constant)}.wmde-markdown .token.deleted{color:var(--color-prettylights-syntax-markup-deleted-text)}.wmde-markdown .code-line .token.deleted{background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.wmde-markdown .token.inserted{color:var(--color-prettylights-syntax-markup-inserted-text)}.wmde-markdown .code-line .token.inserted{background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.wmde-markdown .token.variable{color:var(--color-prettylights-syntax-constant)}.wmde-markdown .token.entity,.wmde-markdown .token.url,.wmde-markdown .language-css .token.string,.wmde-markdown .style .token.string,.wmde-markdown .token.color,.wmde-markdown .token.atrule,.wmde-markdown .token.attr-value,.wmde-markdown .token.function,.wmde-markdown .token.class-name{color:var(--color-prettylights-syntax-string)}.wmde-markdown .token.rule,.wmde-markdown .token.regex,.wmde-markdown .token.important,.wmde-markdown .token.keyword{color:var(--color-prettylights-syntax-keyword)}.wmde-markdown .token.coord{color:var(--color-prettylights-syntax-meta-diff-range)}.wmde-markdown .token.important,.wmde-markdown .token.bold{font-weight:700}.wmde-markdown .token.italic{font-style:italic}.wmde-markdown .token.entity{cursor:help}@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2) format("woff2"),url(/assets/KaTeX_AMS-Regular-DMm9YOAa.woff) format("woff"),url(/assets/KaTeX_AMS-Regular-DRggAlZN.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2) format("woff2"),url(/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff) format("woff"),url(/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff) format("woff"),url(/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2) format("woff2"),url(/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff) format("woff"),url(/assets/KaTeX_Fraktur-Regular-CB_wures.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Main-Bold-Cx986IdX.woff2) format("woff2"),url(/assets/KaTeX_Main-Bold-Jm3AIy58.woff) format("woff"),url(/assets/KaTeX_Main-Bold-waoOVXN0.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2) format("woff2"),url(/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff) format("woff"),url(/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2) format("woff2"),url(/assets/KaTeX_Main-Italic-BMLOBm91.woff) format("woff"),url(/assets/KaTeX_Main-Italic-3WenGoN9.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Main-Regular-B22Nviop.woff2) format("woff2"),url(/assets/KaTeX_Main-Regular-Dr94JaBh.woff) format("woff"),url(/assets/KaTeX_Main-Regular-ypZvNtVU.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2) format("woff2"),url(/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff) format("woff"),url(/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Math-Italic-t53AETM-.woff2) format("woff2"),url(/assets/KaTeX_Math-Italic-DA0__PXp.woff) format("woff"),url(/assets/KaTeX_Math-Italic-flOr_0UB.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff) format("woff"),url(/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff) format("woff"),url(/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2) format("woff2"),url(/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff) format("woff"),url(/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Script-Regular-D3wIWfF6.woff2) format("woff2"),url(/assets/KaTeX_Script-Regular-D5yQViql.woff) format("woff"),url(/assets/KaTeX_Script-Regular-C5JkGWo-.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2) format("woff2"),url(/assets/KaTeX_Size1-Regular-C195tn64.woff) format("woff"),url(/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2) format("woff2"),url(/assets/KaTeX_Size2-Regular-oD1tc_U0.woff) format("woff"),url(/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049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W6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC) format("woff2"),url(/assets/KaTeX_Size3-Regular-CTq5MqoE.woff) format("woff"),url(/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2) format("woff2"),url(/assets/KaTeX_Size4-Regular-BF-4gkZK.woff) format("woff"),url(/assets/KaTeX_Size4-Regular-DWFBv043.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2) format("woff2"),url(/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff) format("woff"),url(/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf) format("truetype")}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.11"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.6666666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.8571428571em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.5542857143em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.8888888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.7644444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.8331726133em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.8336012862em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}.wmde-markdown{background-color:transparent}.cm-vim-panel input{color:inherit}@media (prefers-color-scheme: dark){.markdown-preview{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #c9d1d9;--color-fg-muted: #8b949e;--color-fg-subtle: #484f58;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110, 118, 129, .4);--color-accent-fg: #58a6ff;--color-accent-emphasis: #1f6feb;--color-attention-subtle: rgba(187, 128, 9, .15);--color-danger-fg: #f85149;--color-danger-emphasis: #da3633;--color-attention-fg: #d29922;--color-attention-emphasis: #9e6a03;--color-done-fg: #a371f7;--color-done-emphasis: #8957e5;--color-success-fg: #3fb950;--color-success-emphasis: #238636;--color-copied-active-bg: #2e9b33}}@media (prefers-color-scheme: light){.markdown-preview{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsla(210, 18%, 87%, 1);--color-neutral-muted: rgba(175, 184, 193, .2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-subtle: #fff8c5;--color-danger-fg: #d1242f;--color-danger-emphasis: #cf222e;--color-attention-fg: #9a6700;--color-attention-emphasis: #9a6700;--color-done-fg: #8250df;--color-done-emphasis: #8250df;--color-success-fg: #1a7f37;--color-success-emphasis: #1f883d;--color-copied-active-bg: #2e9b33}}[data-color-mode*=dark] .markdown-preview,.markdown-preview[data-color-mode*=dark],body[data-color-mode*=dark]{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #c9d1d9;--color-fg-muted: #8b949e;--color-fg-subtle: #484f58;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110, 118, 129, .4);--color-accent-fg: #58a6ff;--color-accent-emphasis: #1f6feb;--color-attention-subtle: rgba(187, 128, 9, .15);--color-danger-fg: #f85149}[data-color-mode*=light] .markdown-preview,.markdown-preview[data-color-mode*=light],body[data-color-mode*=light]{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsla(210, 18%, 87%, 1);--color-neutral-muted: rgba(175, 184, 193, .2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-subtle: #fff8c5;--color-danger-fg: #cf222e}.markdown-preview{-webkit-text-size-adjust:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word;color:var(--color-fg-default);background-color:transparent}.markdown-preview details,.markdown-preview figcaption,.markdown-preview figure{display:block}.markdown-preview summary{display:list-item}.markdown-preview [hidden]{display:none!important}.markdown-preview a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-preview a:active,.markdown-preview a:hover{outline-width:0}.markdown-preview abbr[title]{border-bottom:none;text-decoration:underline dotted}.markdown-preview b,.markdown-preview strong{font-weight:600}.markdown-preview dfn{font-style:italic}.markdown-preview h1{margin:.67em 0;font-weight:600;padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.markdown-preview mark{background-color:var(--color-attention-subtle);color:var(--color-text-primary)}.markdown-preview small{font-size:90%}.markdown-preview sub,.markdown-preview sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-preview sub{bottom:-.25em}.markdown-preview sup{top:-.5em}.markdown-preview img{display:inline-block;border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.markdown-preview code,.markdown-preview kbd,.markdown-preview pre,.markdown-preview samp{font-family:monospace,monospace;font-size:1em}.markdown-preview figure{margin:1em 40px}.markdown-preview hr{box-sizing:content-box;overflow:hidden;background:transparent;border:0;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default)}.markdown-preview input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-preview [type=button],.markdown-preview [type=reset],.markdown-preview [type=submit]{-webkit-appearance:button}.markdown-preview [type=button]::-moz-focus-inner,.markdown-preview [type=reset]::-moz-focus-inner,.markdown-preview [type=submit]::-moz-focus-inner{border-style:none;padding:0}.markdown-preview [type=button]:-moz-focusring,.markdown-preview [type=reset]:-moz-focusring,.markdown-preview [type=submit]:-moz-focusring{outline:1px dotted ButtonText}.markdown-preview [type=checkbox],.markdown-preview [type=radio]{box-sizing:border-box;padding:0}.markdown-preview [type=number]::-webkit-inner-spin-button,.markdown-preview [type=number]::-webkit-outer-spin-button{height:auto}.markdown-preview [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.markdown-preview [type=search]::-webkit-search-cancel-button,.markdown-preview [type=search]::-webkit-search-decoration{-webkit-appearance:none}.markdown-preview ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-preview ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.markdown-preview a:hover{text-decoration:underline}.markdown-preview hr:before{display:table;content:""}.markdown-preview hr:after{display:table;clear:both;content:""}.markdown-preview table{border-spacing:0;border-collapse:collapse;display:block;width:max-content;max-width:100%}.markdown-preview td,.markdown-preview th{padding:0}.markdown-preview details summary{cursor:pointer}.markdown-preview details:not([open])>*:not(summary){display:none!important}.markdown-preview kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.markdown-preview h1,.markdown-preview h2,.markdown-preview h3,.markdown-preview h4,.markdown-preview h5,.markdown-preview h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.markdown-preview h2{font-weight:600;padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.markdown-preview h3{font-weight:600;font-size:1.25em}.markdown-preview h4{font-weight:600;font-size:1em}.markdown-preview h5{font-weight:600;font-size:.875em}.markdown-preview h6{font-weight:600;font-size:.85em;color:var(--color-fg-muted)}.markdown-preview p{margin-top:0;margin-bottom:10px}.markdown-preview blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.markdown-preview ul,.markdown-preview ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-preview ol ol,.markdown-preview ul ol{list-style-type:lower-roman}.markdown-preview ul ul ol,.markdown-preview ul ol ol,.markdown-preview ol ul ol,.markdown-preview ol ol ol{list-style-type:lower-alpha}.markdown-preview dd{margin-left:0}.markdown-preview tt,.markdown-preview code{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-preview pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-preview .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-preview ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-preview input::-webkit-outer-spin-button,.markdown-preview input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-preview [data-catalyst]{display:block}.markdown-preview:before{display:table;content:""}.markdown-preview:after{display:table;clear:both;content:""}.markdown-preview>*:first-child{margin-top:0!important}.markdown-preview>*:last-child{margin-bottom:0!important}.markdown-preview a:not([href]){color:inherit;text-decoration:none}.markdown-preview .absent{color:var(--color-danger-fg)}.markdown-preview a.anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-preview .anchor:focus{outline:none}.markdown-preview p,.markdown-preview blockquote,.markdown-preview ul,.markdown-preview ol,.markdown-preview dl,.markdown-preview table,.markdown-preview pre,.markdown-preview details{margin-top:0;margin-bottom:16px}.markdown-preview blockquote>:first-child{margin-top:0}.markdown-preview blockquote>:last-child{margin-bottom:0}.markdown-preview sup>a:before{content:"["}.markdown-preview sup>a:after{content:"]"}.markdown-preview h1 .octicon-link,.markdown-preview h2 .octicon-link,.markdown-preview h3 .octicon-link,.markdown-preview h4 .octicon-link,.markdown-preview h5 .octicon-link,.markdown-preview h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.markdown-preview h1:hover .anchor,.markdown-preview h2:hover .anchor,.markdown-preview h3:hover .anchor,.markdown-preview h4:hover .anchor,.markdown-preview h5:hover .anchor,.markdown-preview h6:hover .anchor{text-decoration:none}.markdown-preview h1:hover .anchor .octicon-link,.markdown-preview h2:hover .anchor .octicon-link,.markdown-preview h3:hover .anchor .octicon-link,.markdown-preview h4:hover .anchor .octicon-link,.markdown-preview h5:hover .anchor .octicon-link,.markdown-preview h6:hover .anchor .octicon-link{visibility:visible}.markdown-preview h1 tt,.markdown-preview h1 code,.markdown-preview h2 tt,.markdown-preview h2 code,.markdown-preview h3 tt,.markdown-preview h3 code,.markdown-preview h4 tt,.markdown-preview h4 code,.markdown-preview h5 tt,.markdown-preview h5 code,.markdown-preview h6 tt,.markdown-preview h6 code{padding:0 .2em;font-size:inherit}.markdown-preview ul.no-list,.markdown-preview ol.no-list{padding:0;list-style-type:none}.markdown-preview ol[type="1"]{list-style-type:decimal}.markdown-preview ol[type=a]{list-style-type:lower-alpha}.markdown-preview ol[type=i]{list-style-type:lower-roman}.markdown-preview div>ol:not([type]){list-style-type:decimal}.markdown-preview ul ul,.markdown-preview ul ol,.markdown-preview ol ol,.markdown-preview ol ul{margin-top:0;margin-bottom:0}.markdown-preview li>p{margin-top:16px}.markdown-preview li+li{margin-top:.25em}.markdown-preview dl{padding:0}.markdown-preview dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:600}.markdown-preview dl dd{padding:0 16px;margin-bottom:16px}.markdown-preview table th{font-weight:600}.markdown-preview table th,.markdown-preview table td{padding:6px 13px;border:1px solid var(--color-border-default)}.markdown-preview table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-preview table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-preview table img{background-color:transparent}.markdown-preview img[align=right]{padding-left:20px}.markdown-preview img[align=left]{padding-right:20px}.markdown-preview .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-preview span.frame{display:block;overflow:hidden}.markdown-preview span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.markdown-preview span.frame span img{display:block;float:left}.markdown-preview span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.markdown-preview span.align-center{display:block;overflow:hidden;clear:both}.markdown-preview span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-preview span.align-center span img{margin:0 auto;text-align:center}.markdown-preview span.align-right{display:block;overflow:hidden;clear:both}.markdown-preview span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-preview span.align-right span img{margin:0;text-align:right}.markdown-preview span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-preview span.float-left span{margin:13px 0 0}.markdown-preview span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-preview span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-preview code,.markdown-preview tt{padding:.2em .4em;margin:0;font-size:85%;background-color:var(--color-neutral-muted);border-radius:6px}.markdown-preview code br,.markdown-preview tt br{display:none}.markdown-preview del code{text-decoration:inherit}.markdown-preview pre code{font-size:100%}.markdown-preview pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-preview pre{font-size:85%;line-height:1.45;background-color:var(--color-canvas-subtle);border-radius:6px}.markdown-preview pre code,.markdown-preview pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-preview pre>code{padding:16px;overflow:auto;display:block}.markdown-preview pre>code::-webkit-scrollbar{background:transparent;width:8px;height:8px}.markdown-preview pre>code::-webkit-scrollbar-thumb{background:var(--color-fg-muted);border-radius:10px}.markdown-preview .csv-data td,.markdown-preview .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-preview .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.markdown-preview .csv-data tr{border-top:0}.markdown-preview .csv-data th{font-weight:600;background:var(--color-canvas-subtle);border-top:0}.markdown-preview .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.markdown-preview .footnotes ol{padding-left:16px}.markdown-preview .footnotes li{position:relative}.markdown-preview .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.markdown-preview .footnotes li:target{color:var(--color-fg-default)}.markdown-preview .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-preview .task-list-item{list-style-type:none}.markdown-preview .task-list-item label{font-weight:400}.markdown-preview .task-list-item.enabled label{cursor:pointer}.markdown-preview .task-list-item+:is(.markdown-preview .task-list-item){margin-top:3px}.markdown-preview .task-list-item .handle{display:none}.markdown-preview .task-list input[type=checkbox]{margin:0 .2em .25em -1.6em;vertical-align:middle}.markdown-preview .task-list:dir(rtl) input[type=checkbox]{margin:0 -1.6em .25em .2em}.markdown-preview ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-preview pre{position:relative}.markdown-preview pre .copied{visibility:hidden;display:flex;position:absolute;cursor:pointer;color:var(--color-fg-default);top:6px;right:6px;border-radius:5px;background:var(--color-border-default);padding:6px;font-size:12px;transition:all .3s}.markdown-preview pre .copied .octicon-copy{display:block}.markdown-preview pre .copied .octicon-check{display:none}.markdown-preview pre:hover .copied{visibility:visible}.markdown-preview pre:hover .copied:hover{background:var(--color-prettylights-syntax-entity-tag);color:var(--color-canvas-default)}.markdown-preview pre:hover .copied:active,.markdown-preview pre .copied.active{background:var(--color-copied-active-bg);color:var(--color-canvas-default)}.markdown-preview pre .active .octicon-copy{display:none}.markdown-preview pre .active .octicon-check{display:block}.markdown-preview .markdown-alert{padding:.5rem 1em;color:inherit;margin-bottom:16px;border-left:.25em solid var(--borderColor-default, var(--color-border-default))}.markdown-preview .markdown-alert>:last-child{margin-bottom:0!important}.markdown-preview .markdown-alert .markdown-alert-title{display:flex;align-items:center;line-height:1;font-weight:500;font-size:14px}.markdown-preview .markdown-alert .markdown-alert-title svg.octicon{margin-right:var(--base-size-8, 8px)!important}.markdown-preview .markdown-alert.markdown-alert-note{border-left-color:var(--borderColor-accent-emphasis, var(--color-accent-emphasis))}.markdown-preview .markdown-alert.markdown-alert-note .markdown-alert-title{color:var(--fgColor-accent, var(--color-accent-fg))}.markdown-preview .markdown-alert.markdown-alert-tip{border-left-color:var(--borderColor-success-emphasis, var(--color-success-emphasis))}.markdown-preview .markdown-alert.markdown-alert-tip .markdown-alert-title{color:var(--fgColor-success, var(--color-success-fg))}.markdown-preview .markdown-alert.markdown-alert-important{border-left-color:var(--borderColor-done-emphasis, var(--color-done-emphasis))}.markdown-preview .markdown-alert.markdown-alert-important .markdown-alert-title{color:var(--fgColor-done, var(--color-done-fg))}.markdown-preview .markdown-alert.markdown-alert-warning{border-left-color:var( --borderColor-attention-emphasis, var(--color-attention-emphasis) )}.markdown-preview .markdown-alert.markdown-alert-warning .markdown-alert-title{color:var(--fgColor-attention, var(--color-attention-fg))}.markdown-preview .markdown-alert.markdown-alert-caution{border-left-color:var(--borderColor-danger-emphasis, var(--color-danger-emphasis))}.markdown-preview .markdown-alert.markdown-alert-caution .markdown-alert-title{color:var(--fgColor-danger, var(--color-danger-fg))}.markdown-preview .highlight-line{background-color:var(--color-neutral-muted)}.markdown-preview .code-line.line-number:before{display:inline-block;width:1rem;text-align:right;margin-right:16px;color:var(--color-fg-subtle);content:attr(line);white-space:nowrap}.markdown-preview .token.comment,.markdown-preview .token.prolog,.markdown-preview .token.doctype,.markdown-preview .token.cdata{color:var(--color-prettylights-syntax-comment)}.markdown-preview .token.namespace{opacity:.7}.markdown-preview .token.property,.markdown-preview .token.tag,.markdown-preview .token.selector,.markdown-preview .token.constant,.markdown-preview .token.symbol,.markdown-preview .token.deleted{color:var(--color-prettylights-syntax-entity-tag)}.markdown-preview .token.maybe-class-name{color:var(--color-prettylights-syntax-variable)}.markdown-preview .token.property-access,.markdown-preview .token.operator,.markdown-preview .token.boolean,.markdown-preview .token.number,.markdown-preview .token.selector .token.class,.markdown-preview .token.attr-name,.markdown-preview .token.string,.markdown-preview .token.char,.markdown-preview .token.builtin{color:var(--color-prettylights-syntax-constant)}.markdown-preview .token.deleted{color:var(--color-prettylights-syntax-markup-deleted-text)}.markdown-preview .code-line .token.deleted{background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.markdown-preview .token.inserted{color:var(--color-prettylights-syntax-markup-inserted-text)}.markdown-preview .code-line .token.inserted{background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.markdown-preview .token.variable{color:var(--color-prettylights-syntax-constant)}.markdown-preview .token.entity,.markdown-preview .token.url,.markdown-preview .language-css .token.string,.markdown-preview .style .token.string,.markdown-preview .token.color,.markdown-preview .token.atrule,.markdown-preview .token.attr-value,.markdown-preview .token.function,.markdown-preview .token.class-name{color:var(--color-prettylights-syntax-string)}.markdown-preview .token.rule,.markdown-preview .token.regex,.markdown-preview .token.important,.markdown-preview .token.keyword{color:var(--color-prettylights-syntax-keyword)}.markdown-preview .token.coord{color:var(--color-prettylights-syntax-meta-diff-range)}.markdown-preview .token.important,.markdown-preview .token.bold{font-weight:700}.markdown-preview .token.italic{font-style:italic}.markdown-preview .token.entity{cursor:help} diff --git a/assets/index-Bb5EU686.js b/assets/index-BO3GN4T_.js similarity index 85% rename from assets/index-Bb5EU686.js rename to assets/index-BO3GN4T_.js index c85d5047..4368269b 100644 --- a/assets/index-Bb5EU686.js +++ b/assets/index-BO3GN4T_.js @@ -1,4 +1,4 @@ -var TTe=Object.defineProperty;var YZ=e=>{throw TypeError(e)};var kTe=(e,t,n)=>t in e?TTe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var _Te=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Qa=(e,t,n)=>kTe(e,typeof t!="symbol"?t+"":t,n),E7=(e,t,n)=>t.has(e)||YZ("Cannot "+n);var it=(e,t,n)=>(E7(e,t,"read from private field"),n?n.call(e):t.get(e)),wr=(e,t,n)=>t.has(e)?YZ("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),zn=(e,t,n,r)=>(E7(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Kr=(e,t,n)=>(E7(e,t,"access private method"),n);var IC=(e,t,n,r)=>({set _(i){zn(e,t,i,n)},get _(){return it(e,t,r)}});var Pan=_Te((mon,kR)=>{(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="604f61b5-fe58-4516-98a2-91553f821dc4",e._sentryDebugIdIdentifier="sentry-dbid-604f61b5-fe58-4516-98a2-91553f821dc4")}catch{}})();function fU(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var ATe=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};ATe.SENTRY_RELEASE={id:"3cd1456fcd7095b6456d6f7c3743b57a92a6970f"};(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();var Qc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Coe={exports:{}},UI={},Roe={exports:{}},hi={};/** +var kTe=Object.defineProperty;var YZ=e=>{throw TypeError(e)};var _Te=(e,t,n)=>t in e?kTe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ATe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Qa=(e,t,n)=>_Te(e,typeof t!="symbol"?t+"":t,n),E7=(e,t,n)=>t.has(e)||YZ("Cannot "+n);var it=(e,t,n)=>(E7(e,t,"read from private field"),n?n.call(e):t.get(e)),wr=(e,t,n)=>t.has(e)?YZ("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),zn=(e,t,n,r)=>(E7(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Kr=(e,t,n)=>(E7(e,t,"access private method"),n);var IC=(e,t,n,r)=>({set _(i){zn(e,t,i,n)},get _(){return it(e,t,r)}});var Yan=ATe((Ron,kR)=>{(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ecd6ca79-96ad-4a57-8637-364d43f2c06e",e._sentryDebugIdIdentifier="sentry-dbid-ecd6ca79-96ad-4a57-8637-364d43f2c06e")}catch{}})();function fU(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var CTe=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};CTe.SENTRY_RELEASE={id:"3ecb3c7b05cc4682de84c18f71631133d22288b2"};(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();var Vc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function mc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Roe={exports:{}},UI={},Ioe={exports:{}},hi={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var TTe=Object.defineProperty;var YZ=e=>{throw TypeError(e)};var kTe=(e,t,n)=>t * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var h_=Symbol.for("react.element"),CTe=Symbol.for("react.portal"),RTe=Symbol.for("react.fragment"),ITe=Symbol.for("react.strict_mode"),DTe=Symbol.for("react.profiler"),NTe=Symbol.for("react.provider"),PTe=Symbol.for("react.context"),LTe=Symbol.for("react.forward_ref"),MTe=Symbol.for("react.suspense"),FTe=Symbol.for("react.memo"),$Te=Symbol.for("react.lazy"),ZZ=Symbol.iterator;function BTe(e){return e===null||typeof e!="object"?null:(e=ZZ&&e[ZZ]||e["@@iterator"],typeof e=="function"?e:null)}var Ioe={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Doe=Object.assign,Noe={};function mE(e,t,n){this.props=e,this.context=t,this.refs=Noe,this.updater=n||Ioe}mE.prototype.isReactComponent={};mE.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};mE.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Poe(){}Poe.prototype=mE.prototype;function hU(e,t,n){this.props=e,this.context=t,this.refs=Noe,this.updater=n||Ioe}var pU=hU.prototype=new Poe;pU.constructor=hU;Doe(pU,mE.prototype);pU.isPureReactComponent=!0;var XZ=Array.isArray,Loe=Object.prototype.hasOwnProperty,mU={current:null},Moe={key:!0,ref:!0,__self:!0,__source:!0};function Foe(e,t,n){var r,i={},s=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(s=""+t.key),t)Loe.call(t,r)&&!Moe.hasOwnProperty(r)&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1{throw TypeError(e)};var kTe=(e,t,n)=>t * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var jTe=Y,WTe=Symbol.for("react.element"),QTe=Symbol.for("react.fragment"),VTe=Object.prototype.hasOwnProperty,GTe=jTe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,YTe={key:!0,ref:!0,__self:!0,__source:!0};function Boe(e,t,n){var r,i={},s=null,a=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)VTe.call(t,r)&&!YTe.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:WTe,type:e,key:s,ref:a,props:i,_owner:GTe.current}}UI.Fragment=QTe;UI.jsx=Boe;UI.jsxs=Boe;Coe.exports=UI;var U=Coe.exports,h8={},Uoe={exports:{}},pd={},zoe={exports:{}},Hoe={};/** + */var WTe=Y,QTe=Symbol.for("react.element"),VTe=Symbol.for("react.fragment"),GTe=Object.prototype.hasOwnProperty,YTe=WTe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ZTe={key:!0,ref:!0,__self:!0,__source:!0};function Uoe(e,t,n){var r,i={},s=null,a=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)GTe.call(t,r)&&!ZTe.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:QTe,type:e,key:s,ref:a,props:i,_owner:YTe.current}}UI.Fragment=VTe;UI.jsx=Uoe;UI.jsxs=Uoe;Roe.exports=UI;var U=Roe.exports,h8={},zoe={exports:{}},pd={},Hoe={exports:{}},qoe={};/** * @license React * scheduler.production.min.js * @@ -22,7 +22,7 @@ var TTe=Object.defineProperty;var YZ=e=>{throw TypeError(e)};var kTe=(e,t,n)=>t * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(e){function t(Se,he){var re=Se.length;Se.push(he);e:for(;0>>1,je=Se[Fe];if(0>>1;Fei(St,re))Zei(qt,St)?(Se[Fe]=qt,Se[Ze]=re,Fe=Ze):(Se[Fe]=St,Se[tt]=re,Fe=tt);else if(Zei(qt,re))Se[Fe]=qt,Se[Ze]=re,Fe=Ze;else break e}}return he}function i(Se,he){var re=Se.sortIndex-he.sortIndex;return re!==0?re:Se.id-he.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var a=Date,o=a.now();e.unstable_now=function(){return a.now()-o}}var l=[],c=[],d=1,f=null,p=3,g=!1,b=!1,w=!1,x=typeof setTimeout=="function"?setTimeout:null,T=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(Se){for(var he=n(c);he!==null;){if(he.callback===null)r(c);else if(he.startTime<=Se)r(c),he.sortIndex=he.expirationTime,t(l,he);else break;he=n(c)}}function I(Se){if(w=!1,C(Se),!b)if(n(l)!==null)b=!0,ye(M);else{var he=n(c);he!==null&&ae(I,he.startTime-Se)}}function M(Se,he){b=!1,w&&(w=!1,T(j),j=-1),g=!0;var re=p;try{for(C(he),f=n(l);f!==null&&(!(f.expirationTime>he)||Se&&!ie());){var Fe=f.callback;if(typeof Fe=="function"){f.callback=null,p=f.priorityLevel;var je=Fe(f.expirationTime<=he);he=e.unstable_now(),typeof je=="function"?f.callback=je:f===n(l)&&r(l),C(he)}else r(l);f=n(l)}if(f!==null)var ue=!0;else{var tt=n(c);tt!==null&&ae(I,tt.startTime-he),ue=!1}return ue}finally{f=null,p=re,g=!1}}var $=!1,B=null,j=-1,F=5,V=-1;function ie(){return!(e.unstable_now()-VSe||125Fe?(Se.sortIndex=re,t(c,Se),n(l)===null&&Se===n(c)&&(w?(T(j),j=-1):w=!0,ae(I,re-Fe))):(Se.sortIndex=je,t(l,Se),b||g||(b=!0,ye(M))),Se},e.unstable_shouldYield=ie,e.unstable_wrapCallback=function(Se){var he=p;return function(){var re=p;p=he;try{return Se.apply(this,arguments)}finally{p=re}}}})(Hoe);zoe.exports=Hoe;var ZTe=zoe.exports;/** + */(function(e){function t(Se,he){var re=Se.length;Se.push(he);e:for(;0>>1,je=Se[Fe];if(0>>1;Fei(St,re))Zei(qt,St)?(Se[Fe]=qt,Se[Ze]=re,Fe=Ze):(Se[Fe]=St,Se[tt]=re,Fe=tt);else if(Zei(qt,re))Se[Fe]=qt,Se[Ze]=re,Fe=Ze;else break e}}return he}function i(Se,he){var re=Se.sortIndex-he.sortIndex;return re!==0?re:Se.id-he.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var a=Date,o=a.now();e.unstable_now=function(){return a.now()-o}}var l=[],c=[],d=1,f=null,p=3,g=!1,b=!1,w=!1,x=typeof setTimeout=="function"?setTimeout:null,T=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(Se){for(var he=n(c);he!==null;){if(he.callback===null)r(c);else if(he.startTime<=Se)r(c),he.sortIndex=he.expirationTime,t(l,he);else break;he=n(c)}}function I(Se){if(w=!1,C(Se),!b)if(n(l)!==null)b=!0,ye(M);else{var he=n(c);he!==null&&ae(I,he.startTime-Se)}}function M(Se,he){b=!1,w&&(w=!1,T(j),j=-1),g=!0;var re=p;try{for(C(he),f=n(l);f!==null&&(!(f.expirationTime>he)||Se&&!ie());){var Fe=f.callback;if(typeof Fe=="function"){f.callback=null,p=f.priorityLevel;var je=Fe(f.expirationTime<=he);he=e.unstable_now(),typeof je=="function"?f.callback=je:f===n(l)&&r(l),C(he)}else r(l);f=n(l)}if(f!==null)var ue=!0;else{var tt=n(c);tt!==null&&ae(I,tt.startTime-he),ue=!1}return ue}finally{f=null,p=re,g=!1}}var $=!1,B=null,j=-1,F=5,V=-1;function ie(){return!(e.unstable_now()-VSe||125Fe?(Se.sortIndex=re,t(c,Se),n(l)===null&&Se===n(c)&&(w?(T(j),j=-1):w=!0,ae(I,re-Fe))):(Se.sortIndex=je,t(l,Se),b||g||(b=!0,ye(M))),Se},e.unstable_shouldYield=ie,e.unstable_wrapCallback=function(Se){var he=p;return function(){var re=p;p=he;try{return Se.apply(this,arguments)}finally{p=re}}}})(qoe);Hoe.exports=qoe;var XTe=Hoe.exports;/** * @license React * react-dom.production.min.js * @@ -30,27 +30,27 @@ var TTe=Object.defineProperty;var YZ=e=>{throw TypeError(e)};var kTe=(e,t,n)=>t * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var XTe=Y,od=ZTe;function pn(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p8=Object.prototype.hasOwnProperty,KTe=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,JZ={},eX={};function JTe(e){return p8.call(eX,e)?!0:p8.call(JZ,e)?!1:KTe.test(e)?eX[e]=!0:(JZ[e]=!0,!1)}function eke(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function tke(e,t,n,r){if(t===null||typeof t>"u"||eke(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function _u(e,t,n,r,i,s,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=a}var Ol={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ol[e]=new _u(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ol[t]=new _u(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ol[e]=new _u(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ol[e]=new _u(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ol[e]=new _u(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ol[e]=new _u(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ol[e]=new _u(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ol[e]=new _u(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ol[e]=new _u(e,5,!1,e.toLowerCase(),null,!1,!1)});var bU=/[\-:]([a-z])/g;function yU(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(bU,yU);Ol[t]=new _u(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(bU,yU);Ol[t]=new _u(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(bU,yU);Ol[t]=new _u(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ol[e]=new _u(e,1,!1,e.toLowerCase(),null,!1,!1)});Ol.xlinkHref=new _u("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ol[e]=new _u(e,1,!1,e.toLowerCase(),null,!0,!0)});function vU(e,t,n,r){var i=Ol.hasOwnProperty(t)?Ol[t]:null;(i!==null?i.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p8=Object.prototype.hasOwnProperty,JTe=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,JZ={},eX={};function eke(e){return p8.call(eX,e)?!0:p8.call(JZ,e)?!1:JTe.test(e)?eX[e]=!0:(JZ[e]=!0,!1)}function tke(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function nke(e,t,n,r){if(t===null||typeof t>"u"||tke(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function _u(e,t,n,r,i,s,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=a}var Ol={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ol[e]=new _u(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ol[t]=new _u(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ol[e]=new _u(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ol[e]=new _u(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ol[e]=new _u(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ol[e]=new _u(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ol[e]=new _u(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ol[e]=new _u(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ol[e]=new _u(e,5,!1,e.toLowerCase(),null,!1,!1)});var bU=/[\-:]([a-z])/g;function yU(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(bU,yU);Ol[t]=new _u(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(bU,yU);Ol[t]=new _u(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(bU,yU);Ol[t]=new _u(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ol[e]=new _u(e,1,!1,e.toLowerCase(),null,!1,!1)});Ol.xlinkHref=new _u("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ol[e]=new _u(e,1,!1,e.toLowerCase(),null,!0,!0)});function vU(e,t,n,r){var i=Ol.hasOwnProperty(t)?Ol[t]:null;(i!==null?i.type!==0:r||!(2o||i[a]!==s[o]){var l=` -`+i[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=o);break}}}finally{T7=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Nw(e):""}function nke(e){switch(e.tag){case 5:return Nw(e.type);case 16:return Nw("Lazy");case 13:return Nw("Suspense");case 19:return Nw("SuspenseList");case 0:case 2:case 15:return e=k7(e.type,!1),e;case 11:return e=k7(e.type.render,!1),e;case 1:return e=k7(e.type,!0),e;default:return""}}function y8(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case gS:return"Fragment";case mS:return"Portal";case m8:return"Profiler";case SU:return"StrictMode";case g8:return"Suspense";case b8:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Woe:return(e.displayName||"Context")+".Consumer";case joe:return(e._context.displayName||"Context")+".Provider";case OU:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case EU:return t=e.displayName||null,t!==null?t:y8(e.type)||"Memo";case pg:t=e._payload,e=e._init;try{return y8(e(t))}catch{}}return null}function rke(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return y8(t);case 8:return t===SU?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function a1(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Voe(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ike(e){var t=Voe(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,s.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function PC(e){e._valueTracker||(e._valueTracker=ike(e))}function Goe(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Voe(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function _R(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function v8(e,t){var n=t.checked;return Ea({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function nX(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=a1(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Yoe(e,t){t=t.checked,t!=null&&vU(e,"checked",t,!1)}function S8(e,t){Yoe(e,t);var n=a1(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?O8(e,t.type,n):t.hasOwnProperty("defaultValue")&&O8(e,t.type,a1(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function rX(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function O8(e,t,n){(t!=="number"||_R(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Pw=Array.isArray;function zS(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=LC.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function QT(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var nT={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ske=["Webkit","ms","Moz","O"];Object.keys(nT).forEach(function(e){ske.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),nT[t]=nT[e]})});function Joe(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||nT.hasOwnProperty(e)&&nT[e]?(""+t).trim():t+"px"}function ele(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Joe(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var ake=Ea({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function x8(e,t){if(t){if(ake[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(pn(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(pn(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(pn(61))}if(t.style!=null&&typeof t.style!="object")throw Error(pn(62))}}function T8(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var k8=null;function wU(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var _8=null,HS=null,qS=null;function aX(e){if(e=g_(e)){if(typeof _8!="function")throw Error(pn(280));var t=e.stateNode;t&&(t=WI(t),_8(e.stateNode,e.type,t))}}function tle(e){HS?qS?qS.push(e):qS=[e]:HS=e}function nle(){if(HS){var e=HS,t=qS;if(qS=HS=null,aX(e),t)for(e=0;e>>=0,e===0?32:31-(bke(e)/yke|0)|0}var MC=64,FC=4194304;function Lw(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function IR(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,a=n&268435455;if(a!==0){var o=a&~i;o!==0?r=Lw(o):(s&=a,s!==0&&(r=Lw(s)))}else a=n&~i,a!==0?r=Lw(a):s!==0&&(r=Lw(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function p_(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-rh(t),e[t]=n}function Eke(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=iT),mX=" ",gX=!1;function Ele(e,t){switch(e){case"keyup":return Zke.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wle(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var bS=!1;function Kke(e,t){switch(e){case"compositionend":return wle(t);case"keypress":return t.which!==32?null:(gX=!0,mX);case"textInput":return e=t.data,e===mX&&gX?null:e;default:return null}}function Jke(e,t){if(bS)return e==="compositionend"||!IU&&Ele(e,t)?(e=Sle(),x3=AU=Lg=null,bS=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=SX(n)}}function _le(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_le(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ale(){for(var e=window,t=_R();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=_R(e.document)}return t}function DU(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function l_e(e){var t=Ale(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&_le(n.ownerDocument.documentElement,n)){if(r!==null&&DU(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=OX(n,s);var a=OX(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,yS=null,N8=null,aT=null,P8=!1;function EX(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;P8||yS==null||yS!==_R(r)||(r=yS,"selectionStart"in r&&DU(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),aT&&KT(aT,r)||(aT=r,r=PR(N8,"onSelect"),0OS||(e.current=U8[OS],U8[OS]=null,OS--)}function Bs(e,t){OS++,U8[OS]=e.current,e.current=t}var o1={},Vl=v1(o1),nc=v1(!1),Xb=o1;function CO(e,t){var n=e.type.contextTypes;if(!n)return o1;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function rc(e){return e=e.childContextTypes,e!=null}function MR(){Zs(nc),Zs(Vl)}function CX(e,t,n){if(Vl.current!==o1)throw Error(pn(168));Bs(Vl,t),Bs(nc,n)}function Fle(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(pn(108,rke(e)||"Unknown",i));return Ea({},n,r)}function FR(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||o1,Xb=Vl.current,Bs(Vl,e),Bs(nc,nc.current),!0}function RX(e,t,n){var r=e.stateNode;if(!r)throw Error(pn(169));n?(e=Fle(e,t,Xb),r.__reactInternalMemoizedMergedChildContext=e,Zs(nc),Zs(Vl),Bs(Vl,e)):Zs(nc),Bs(nc,n)}var U0=null,QI=!1,U7=!1;function $le(e){U0===null?U0=[e]:U0.push(e)}function S_e(e){QI=!0,$le(e)}function S1(){if(!U7&&U0!==null){U7=!0;var e=0,t=ds;try{var n=U0;for(ds=1;e>=a,i-=a,j0=1<<32-rh(t)+i|n<j?(F=B,B=null):F=B.sibling;var V=p(T,B,C[j],I);if(V===null){B===null&&(B=F);break}e&&B&&V.alternate===null&&t(T,B),_=s(V,_,j),$===null?M=V:$.sibling=V,$=V,B=F}if(j===C.length)return n(T,B),ua&&ab(T,j),M;if(B===null){for(;jj?(F=B,B=null):F=B.sibling;var ie=p(T,B,V.value,I);if(ie===null){B===null&&(B=F);break}e&&B&&ie.alternate===null&&t(T,B),_=s(ie,_,j),$===null?M=ie:$.sibling=ie,$=ie,B=F}if(V.done)return n(T,B),ua&&ab(T,j),M;if(B===null){for(;!V.done;j++,V=C.next())V=f(T,V.value,I),V!==null&&(_=s(V,_,j),$===null?M=V:$.sibling=V,$=V);return ua&&ab(T,j),M}for(B=r(T,B);!V.done;j++,V=C.next())V=g(B,T,j,V.value,I),V!==null&&(e&&V.alternate!==null&&B.delete(V.key===null?j:V.key),_=s(V,_,j),$===null?M=V:$.sibling=V,$=V);return e&&B.forEach(function(se){return t(T,se)}),ua&&ab(T,j),M}function x(T,_,C,I){if(typeof C=="object"&&C!==null&&C.type===gS&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case NC:e:{for(var M=C.key,$=_;$!==null;){if($.key===M){if(M=C.type,M===gS){if($.tag===7){n(T,$.sibling),_=i($,C.props.children),_.return=T,T=_;break e}}else if($.elementType===M||typeof M=="object"&&M!==null&&M.$$typeof===pg&&NX(M)===$.type){n(T,$.sibling),_=i($,C.props),_.ref=Y2(T,$,C),_.return=T,T=_;break e}n(T,$);break}else t(T,$);$=$.sibling}C.type===gS?(_=Ub(C.props.children,T.mode,I,C.key),_.return=T,T=_):(I=D3(C.type,C.key,C.props,null,T.mode,I),I.ref=Y2(T,_,C),I.return=T,T=I)}return a(T);case mS:e:{for($=C.key;_!==null;){if(_.key===$)if(_.tag===4&&_.stateNode.containerInfo===C.containerInfo&&_.stateNode.implementation===C.implementation){n(T,_.sibling),_=i(_,C.children||[]),_.return=T,T=_;break e}else{n(T,_);break}else t(T,_);_=_.sibling}_=G7(C,T.mode,I),_.return=T,T=_}return a(T);case pg:return $=C._init,x(T,_,$(C._payload),I)}if(Pw(C))return b(T,_,C,I);if(j2(C))return w(T,_,C,I);jC(T,C)}return typeof C=="string"&&C!==""||typeof C=="number"?(C=""+C,_!==null&&_.tag===6?(n(T,_.sibling),_=i(_,C),_.return=T,T=_):(n(T,_),_=V7(C,T.mode,I),_.return=T,T=_),a(T)):n(T,_)}return x}var IO=Hle(!0),qle=Hle(!1),UR=v1(null),zR=null,xS=null,MU=null;function FU(){MU=xS=zR=null}function $U(e){var t=UR.current;Zs(UR),e._currentValue=t}function q8(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function WS(e,t){zR=e,MU=xS=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ec=!0),e.firstContext=null)}function cf(e){var t=e._currentValue;if(MU!==e)if(e={context:e,memoizedValue:t,next:null},xS===null){if(zR===null)throw Error(pn(308));xS=e,zR.dependencies={lanes:0,firstContext:e}}else xS=xS.next=e;return t}var yb=null;function BU(e){yb===null?yb=[e]:yb.push(e)}function jle(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,BU(t)):(n.next=i.next,i.next=n),t.interleaved=n,am(e,r)}function am(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var mg=!1;function UU(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Wle(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Z0(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Gg(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Fi&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,am(e,n)}return i=r.interleaved,i===null?(t.next=t,BU(r)):(t.next=i.next,i.next=t),r.interleaved=t,am(e,n)}function k3(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,TU(e,n)}}function PX(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?i=s=a:s=s.next=a,n=n.next}while(n!==null);s===null?i=s=t:s=s.next=t}else i=s=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function HR(e,t,n,r){var i=e.updateQueue;mg=!1;var s=i.firstBaseUpdate,a=i.lastBaseUpdate,o=i.shared.pending;if(o!==null){i.shared.pending=null;var l=o,c=l.next;l.next=null,a===null?s=c:a.next=c,a=l;var d=e.alternate;d!==null&&(d=d.updateQueue,o=d.lastBaseUpdate,o!==a&&(o===null?d.firstBaseUpdate=c:o.next=c,d.lastBaseUpdate=l))}if(s!==null){var f=i.baseState;a=0,d=c=l=null,o=s;do{var p=o.lane,g=o.eventTime;if((r&p)===p){d!==null&&(d=d.next={eventTime:g,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var b=e,w=o;switch(p=t,g=n,w.tag){case 1:if(b=w.payload,typeof b=="function"){f=b.call(g,f,p);break e}f=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=w.payload,p=typeof b=="function"?b.call(g,f,p):b,p==null)break e;f=Ea({},f,p);break e;case 2:mg=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,p=i.effects,p===null?i.effects=[o]:p.push(o))}else g={eventTime:g,lane:p,tag:o.tag,payload:o.payload,callback:o.callback,next:null},d===null?(c=d=g,l=f):d=d.next=g,a|=p;if(o=o.next,o===null){if(o=i.shared.pending,o===null)break;p=o,o=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(!0);if(d===null&&(l=f),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do a|=i.lane,i=i.next;while(i!==t)}else s===null&&(i.shared.lanes=0);ey|=a,e.lanes=a,e.memoizedState=f}}function LX(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=H7.transition;H7.transition={};try{e(!1),t()}finally{ds=n,H7.transition=r}}function lue(){return df().memoizedState}function x_e(e,t,n){var r=Zg(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},uue(e))cue(t,n);else if(n=jle(e,t,n,r),n!==null){var i=Su();ih(n,e,r,i),due(n,t,r)}}function T_e(e,t,n){var r=Zg(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(uue(e))cue(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var a=t.lastRenderedState,o=s(a,n);if(i.hasEagerState=!0,i.eagerState=o,ch(o,a)){var l=t.interleaved;l===null?(i.next=i,BU(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=jle(e,t,i,r),n!==null&&(i=Su(),ih(n,e,r,i),due(n,t,r))}}function uue(e){var t=e.alternate;return e===Oa||t!==null&&t===Oa}function cue(e,t){oT=jR=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function due(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,TU(e,n)}}var WR={readContext:cf,useCallback:Ll,useContext:Ll,useEffect:Ll,useImperativeHandle:Ll,useInsertionEffect:Ll,useLayoutEffect:Ll,useMemo:Ll,useReducer:Ll,useRef:Ll,useState:Ll,useDebugValue:Ll,useDeferredValue:Ll,useTransition:Ll,useMutableSource:Ll,useSyncExternalStore:Ll,useId:Ll,unstable_isNewReconciler:!1},k_e={readContext:cf,useCallback:function(e,t){return Zh().memoizedState=[e,t===void 0?null:t],e},useContext:cf,useEffect:FX,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,A3(4194308,4,rue.bind(null,t,e),n)},useLayoutEffect:function(e,t){return A3(4194308,4,e,t)},useInsertionEffect:function(e,t){return A3(4,2,e,t)},useMemo:function(e,t){var n=Zh();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Zh();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=x_e.bind(null,Oa,e),[r.memoizedState,e]},useRef:function(e){var t=Zh();return e={current:e},t.memoizedState=e},useState:MX,useDebugValue:GU,useDeferredValue:function(e){return Zh().memoizedState=e},useTransition:function(){var e=MX(!1),t=e[0];return e=w_e.bind(null,e[1]),Zh().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Oa,i=Zh();if(ua){if(n===void 0)throw Error(pn(407));n=n()}else{if(n=t(),Zo===null)throw Error(pn(349));Jb&30||Yle(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,FX(Xle.bind(null,r,s,e),[e]),r.flags|=2048,ak(9,Zle.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Zh(),t=Zo.identifierPrefix;if(ua){var n=W0,r=j0;n=(r&~(1<<32-rh(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ik++,0")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=o);break}}}finally{T7=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Nw(e):""}function rke(e){switch(e.tag){case 5:return Nw(e.type);case 16:return Nw("Lazy");case 13:return Nw("Suspense");case 19:return Nw("SuspenseList");case 0:case 2:case 15:return e=k7(e.type,!1),e;case 11:return e=k7(e.type.render,!1),e;case 1:return e=k7(e.type,!0),e;default:return""}}function y8(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case gS:return"Fragment";case mS:return"Portal";case m8:return"Profiler";case SU:return"StrictMode";case g8:return"Suspense";case b8:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Qoe:return(e.displayName||"Context")+".Consumer";case Woe:return(e._context.displayName||"Context")+".Provider";case OU:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case EU:return t=e.displayName||null,t!==null?t:y8(e.type)||"Memo";case pg:t=e._payload,e=e._init;try{return y8(e(t))}catch{}}return null}function ike(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return y8(t);case 8:return t===SU?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function a1(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Goe(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ske(e){var t=Goe(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,s.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function PC(e){e._valueTracker||(e._valueTracker=ske(e))}function Yoe(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Goe(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function _R(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function v8(e,t){var n=t.checked;return Ea({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function nX(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=a1(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Zoe(e,t){t=t.checked,t!=null&&vU(e,"checked",t,!1)}function S8(e,t){Zoe(e,t);var n=a1(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?O8(e,t.type,n):t.hasOwnProperty("defaultValue")&&O8(e,t.type,a1(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function rX(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function O8(e,t,n){(t!=="number"||_R(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Pw=Array.isArray;function zS(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=LC.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function QT(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var nT={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ake=["Webkit","ms","Moz","O"];Object.keys(nT).forEach(function(e){ake.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),nT[t]=nT[e]})});function ele(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||nT.hasOwnProperty(e)&&nT[e]?(""+t).trim():t+"px"}function tle(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=ele(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var oke=Ea({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function x8(e,t){if(t){if(oke[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(pn(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(pn(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(pn(61))}if(t.style!=null&&typeof t.style!="object")throw Error(pn(62))}}function T8(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var k8=null;function wU(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var _8=null,HS=null,qS=null;function aX(e){if(e=g_(e)){if(typeof _8!="function")throw Error(pn(280));var t=e.stateNode;t&&(t=WI(t),_8(e.stateNode,e.type,t))}}function nle(e){HS?qS?qS.push(e):qS=[e]:HS=e}function rle(){if(HS){var e=HS,t=qS;if(qS=HS=null,aX(e),t)for(e=0;e>>=0,e===0?32:31-(yke(e)/vke|0)|0}var MC=64,FC=4194304;function Lw(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function IR(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,a=n&268435455;if(a!==0){var o=a&~i;o!==0?r=Lw(o):(s&=a,s!==0&&(r=Lw(s)))}else a=n&~i,a!==0?r=Lw(a):s!==0&&(r=Lw(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function p_(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-rh(t),e[t]=n}function wke(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=iT),mX=" ",gX=!1;function wle(e,t){switch(e){case"keyup":return Xke.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xle(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var bS=!1;function Jke(e,t){switch(e){case"compositionend":return xle(t);case"keypress":return t.which!==32?null:(gX=!0,mX);case"textInput":return e=t.data,e===mX&&gX?null:e;default:return null}}function e_e(e,t){if(bS)return e==="compositionend"||!IU&&wle(e,t)?(e=Ole(),x3=AU=Lg=null,bS=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=SX(n)}}function Ale(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ale(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Cle(){for(var e=window,t=_R();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=_R(e.document)}return t}function DU(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function u_e(e){var t=Cle(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ale(n.ownerDocument.documentElement,n)){if(r!==null&&DU(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=OX(n,s);var a=OX(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,yS=null,N8=null,aT=null,P8=!1;function EX(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;P8||yS==null||yS!==_R(r)||(r=yS,"selectionStart"in r&&DU(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),aT&&KT(aT,r)||(aT=r,r=PR(N8,"onSelect"),0OS||(e.current=U8[OS],U8[OS]=null,OS--)}function Bs(e,t){OS++,U8[OS]=e.current,e.current=t}var o1={},Vl=v1(o1),nc=v1(!1),Xb=o1;function CO(e,t){var n=e.type.contextTypes;if(!n)return o1;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function rc(e){return e=e.childContextTypes,e!=null}function MR(){Zs(nc),Zs(Vl)}function CX(e,t,n){if(Vl.current!==o1)throw Error(pn(168));Bs(Vl,t),Bs(nc,n)}function $le(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(pn(108,ike(e)||"Unknown",i));return Ea({},n,r)}function FR(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||o1,Xb=Vl.current,Bs(Vl,e),Bs(nc,nc.current),!0}function RX(e,t,n){var r=e.stateNode;if(!r)throw Error(pn(169));n?(e=$le(e,t,Xb),r.__reactInternalMemoizedMergedChildContext=e,Zs(nc),Zs(Vl),Bs(Vl,e)):Zs(nc),Bs(nc,n)}var U0=null,QI=!1,U7=!1;function Ble(e){U0===null?U0=[e]:U0.push(e)}function O_e(e){QI=!0,Ble(e)}function S1(){if(!U7&&U0!==null){U7=!0;var e=0,t=ds;try{var n=U0;for(ds=1;e>=a,i-=a,j0=1<<32-rh(t)+i|n<j?(F=B,B=null):F=B.sibling;var V=p(T,B,C[j],I);if(V===null){B===null&&(B=F);break}e&&B&&V.alternate===null&&t(T,B),_=s(V,_,j),$===null?M=V:$.sibling=V,$=V,B=F}if(j===C.length)return n(T,B),ua&&ab(T,j),M;if(B===null){for(;jj?(F=B,B=null):F=B.sibling;var ie=p(T,B,V.value,I);if(ie===null){B===null&&(B=F);break}e&&B&&ie.alternate===null&&t(T,B),_=s(ie,_,j),$===null?M=ie:$.sibling=ie,$=ie,B=F}if(V.done)return n(T,B),ua&&ab(T,j),M;if(B===null){for(;!V.done;j++,V=C.next())V=f(T,V.value,I),V!==null&&(_=s(V,_,j),$===null?M=V:$.sibling=V,$=V);return ua&&ab(T,j),M}for(B=r(T,B);!V.done;j++,V=C.next())V=g(B,T,j,V.value,I),V!==null&&(e&&V.alternate!==null&&B.delete(V.key===null?j:V.key),_=s(V,_,j),$===null?M=V:$.sibling=V,$=V);return e&&B.forEach(function(se){return t(T,se)}),ua&&ab(T,j),M}function x(T,_,C,I){if(typeof C=="object"&&C!==null&&C.type===gS&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case NC:e:{for(var M=C.key,$=_;$!==null;){if($.key===M){if(M=C.type,M===gS){if($.tag===7){n(T,$.sibling),_=i($,C.props.children),_.return=T,T=_;break e}}else if($.elementType===M||typeof M=="object"&&M!==null&&M.$$typeof===pg&&NX(M)===$.type){n(T,$.sibling),_=i($,C.props),_.ref=Y2(T,$,C),_.return=T,T=_;break e}n(T,$);break}else t(T,$);$=$.sibling}C.type===gS?(_=Ub(C.props.children,T.mode,I,C.key),_.return=T,T=_):(I=D3(C.type,C.key,C.props,null,T.mode,I),I.ref=Y2(T,_,C),I.return=T,T=I)}return a(T);case mS:e:{for($=C.key;_!==null;){if(_.key===$)if(_.tag===4&&_.stateNode.containerInfo===C.containerInfo&&_.stateNode.implementation===C.implementation){n(T,_.sibling),_=i(_,C.children||[]),_.return=T,T=_;break e}else{n(T,_);break}else t(T,_);_=_.sibling}_=G7(C,T.mode,I),_.return=T,T=_}return a(T);case pg:return $=C._init,x(T,_,$(C._payload),I)}if(Pw(C))return b(T,_,C,I);if(j2(C))return w(T,_,C,I);jC(T,C)}return typeof C=="string"&&C!==""||typeof C=="number"?(C=""+C,_!==null&&_.tag===6?(n(T,_.sibling),_=i(_,C),_.return=T,T=_):(n(T,_),_=V7(C,T.mode,I),_.return=T,T=_),a(T)):n(T,_)}return x}var IO=qle(!0),jle=qle(!1),UR=v1(null),zR=null,xS=null,MU=null;function FU(){MU=xS=zR=null}function $U(e){var t=UR.current;Zs(UR),e._currentValue=t}function q8(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function WS(e,t){zR=e,MU=xS=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ec=!0),e.firstContext=null)}function cf(e){var t=e._currentValue;if(MU!==e)if(e={context:e,memoizedValue:t,next:null},xS===null){if(zR===null)throw Error(pn(308));xS=e,zR.dependencies={lanes:0,firstContext:e}}else xS=xS.next=e;return t}var yb=null;function BU(e){yb===null?yb=[e]:yb.push(e)}function Wle(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,BU(t)):(n.next=i.next,i.next=n),t.interleaved=n,am(e,r)}function am(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var mg=!1;function UU(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Qle(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Z0(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Gg(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Fi&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,am(e,n)}return i=r.interleaved,i===null?(t.next=t,BU(r)):(t.next=i.next,i.next=t),r.interleaved=t,am(e,n)}function k3(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,TU(e,n)}}function PX(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?i=s=a:s=s.next=a,n=n.next}while(n!==null);s===null?i=s=t:s=s.next=t}else i=s=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function HR(e,t,n,r){var i=e.updateQueue;mg=!1;var s=i.firstBaseUpdate,a=i.lastBaseUpdate,o=i.shared.pending;if(o!==null){i.shared.pending=null;var l=o,c=l.next;l.next=null,a===null?s=c:a.next=c,a=l;var d=e.alternate;d!==null&&(d=d.updateQueue,o=d.lastBaseUpdate,o!==a&&(o===null?d.firstBaseUpdate=c:o.next=c,d.lastBaseUpdate=l))}if(s!==null){var f=i.baseState;a=0,d=c=l=null,o=s;do{var p=o.lane,g=o.eventTime;if((r&p)===p){d!==null&&(d=d.next={eventTime:g,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var b=e,w=o;switch(p=t,g=n,w.tag){case 1:if(b=w.payload,typeof b=="function"){f=b.call(g,f,p);break e}f=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=w.payload,p=typeof b=="function"?b.call(g,f,p):b,p==null)break e;f=Ea({},f,p);break e;case 2:mg=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,p=i.effects,p===null?i.effects=[o]:p.push(o))}else g={eventTime:g,lane:p,tag:o.tag,payload:o.payload,callback:o.callback,next:null},d===null?(c=d=g,l=f):d=d.next=g,a|=p;if(o=o.next,o===null){if(o=i.shared.pending,o===null)break;p=o,o=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(!0);if(d===null&&(l=f),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do a|=i.lane,i=i.next;while(i!==t)}else s===null&&(i.shared.lanes=0);ey|=a,e.lanes=a,e.memoizedState=f}}function LX(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=H7.transition;H7.transition={};try{e(!1),t()}finally{ds=n,H7.transition=r}}function uue(){return df().memoizedState}function T_e(e,t,n){var r=Zg(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},cue(e))due(t,n);else if(n=Wle(e,t,n,r),n!==null){var i=Su();ih(n,e,r,i),fue(n,t,r)}}function k_e(e,t,n){var r=Zg(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(cue(e))due(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var a=t.lastRenderedState,o=s(a,n);if(i.hasEagerState=!0,i.eagerState=o,ch(o,a)){var l=t.interleaved;l===null?(i.next=i,BU(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=Wle(e,t,i,r),n!==null&&(i=Su(),ih(n,e,r,i),fue(n,t,r))}}function cue(e){var t=e.alternate;return e===Oa||t!==null&&t===Oa}function due(e,t){oT=jR=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function fue(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,TU(e,n)}}var WR={readContext:cf,useCallback:Ll,useContext:Ll,useEffect:Ll,useImperativeHandle:Ll,useInsertionEffect:Ll,useLayoutEffect:Ll,useMemo:Ll,useReducer:Ll,useRef:Ll,useState:Ll,useDebugValue:Ll,useDeferredValue:Ll,useTransition:Ll,useMutableSource:Ll,useSyncExternalStore:Ll,useId:Ll,unstable_isNewReconciler:!1},__e={readContext:cf,useCallback:function(e,t){return Zh().memoizedState=[e,t===void 0?null:t],e},useContext:cf,useEffect:FX,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,A3(4194308,4,iue.bind(null,t,e),n)},useLayoutEffect:function(e,t){return A3(4194308,4,e,t)},useInsertionEffect:function(e,t){return A3(4,2,e,t)},useMemo:function(e,t){var n=Zh();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Zh();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=T_e.bind(null,Oa,e),[r.memoizedState,e]},useRef:function(e){var t=Zh();return e={current:e},t.memoizedState=e},useState:MX,useDebugValue:GU,useDeferredValue:function(e){return Zh().memoizedState=e},useTransition:function(){var e=MX(!1),t=e[0];return e=x_e.bind(null,e[1]),Zh().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Oa,i=Zh();if(ua){if(n===void 0)throw Error(pn(407));n=n()}else{if(n=t(),Zo===null)throw Error(pn(349));Jb&30||Zle(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,FX(Kle.bind(null,r,s,e),[e]),r.flags|=2048,ak(9,Xle.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Zh(),t=Zo.identifierPrefix;if(ua){var n=W0,r=j0;n=(r&~(1<<32-rh(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ik++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[ap]=t,e[tk]=r,Oue(e,t,!1,!1),t.stateNode=e;e:{switch(a=T8(n,r),n){case"dialog":Vs("cancel",e),Vs("close",e),i=r;break;case"iframe":case"object":case"embed":Vs("load",e),i=r;break;case"video":case"audio":for(i=0;iPO&&(t.flags|=128,r=!0,Z2(s,!1),t.lanes=4194304)}else{if(!r)if(e=qR(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Z2(s,!0),s.tail===null&&s.tailMode==="hidden"&&!a.alternate&&!ua)return Ml(t),null}else 2*Ya()-s.renderingStartTime>PO&&n!==1073741824&&(t.flags|=128,r=!0,Z2(s,!1),t.lanes=4194304);s.isBackwards?(a.sibling=t.child,t.child=a):(n=s.last,n!==null?n.sibling=a:t.child=a,s.last=a)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Ya(),t.sibling=null,n=Sa.current,Bs(Sa,r?n&1|2:n&1),t):(Ml(t),null);case 22:case 23:return ez(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Fc&1073741824&&(Ml(t),t.subtreeFlags&6&&(t.flags|=8192)):Ml(t),null;case 24:return null;case 25:return null}throw Error(pn(156,t.tag))}function P_e(e,t){switch(PU(t),t.tag){case 1:return rc(t.type)&&MR(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return DO(),Zs(nc),Zs(Vl),qU(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return HU(t),null;case 13:if(Zs(Sa),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(pn(340));RO()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Zs(Sa),null;case 4:return DO(),null;case 10:return $U(t.type._context),null;case 22:case 23:return ez(),null;case 24:return null;default:return null}}var QC=!1,zl=!1,L_e=typeof WeakSet=="function"?WeakSet:Set,Qn=null;function TS(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Fa(e,t,r)}else n.current=null}function K8(e,t,n){try{n()}catch(r){Fa(e,t,r)}}var GX=!1;function M_e(e,t){if(L8=DR,e=Ale(),DU(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var a=0,o=-1,l=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var g;f!==n||i!==0&&f.nodeType!==3||(o=a+i),f!==s||r!==0&&f.nodeType!==3||(l=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(g=f.firstChild)!==null;)p=f,f=g;for(;;){if(f===e)break t;if(p===n&&++c===i&&(o=a),p===s&&++d===r&&(l=a),(g=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=g}n=o===-1||l===-1?null:{start:o,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(M8={focusedElem:e,selectionRange:n},DR=!1,Qn=t;Qn!==null;)if(t=Qn,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Qn=e;else for(;Qn!==null;){t=Qn;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var w=b.memoizedProps,x=b.memoizedState,T=t.stateNode,_=T.getSnapshotBeforeUpdate(t.elementType===t.type?w:Wf(t.type,w),x);T.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var C=t.stateNode.containerInfo;C.nodeType===1?C.textContent="":C.nodeType===9&&C.documentElement&&C.removeChild(C.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(pn(163))}}catch(I){Fa(t,t.return,I)}if(e=t.sibling,e!==null){e.return=t.return,Qn=e;break}Qn=t.return}return b=GX,GX=!1,b}function lT(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,s!==void 0&&K8(t,n,s)}i=i.next}while(i!==r)}}function YI(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function J8(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function xue(e){var t=e.alternate;t!==null&&(e.alternate=null,xue(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ap],delete t[tk],delete t[B8],delete t[y_e],delete t[v_e])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Tue(e){return e.tag===5||e.tag===3||e.tag===4}function YX(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Tue(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function eM(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=LR));else if(r!==4&&(e=e.child,e!==null))for(eM(e,t,n),e=e.sibling;e!==null;)eM(e,t,n),e=e.sibling}function tM(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(tM(e,t,n),e=e.sibling;e!==null;)tM(e,t,n),e=e.sibling}var dl=null,Gf=!1;function ag(e,t,n){for(n=n.child;n!==null;)kue(e,t,n),n=n.sibling}function kue(e,t,n){if(yp&&typeof yp.onCommitFiberUnmount=="function")try{yp.onCommitFiberUnmount(zI,n)}catch{}switch(n.tag){case 5:zl||TS(n,t);case 6:var r=dl,i=Gf;dl=null,ag(e,t,n),dl=r,Gf=i,dl!==null&&(Gf?(e=dl,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):dl.removeChild(n.stateNode));break;case 18:dl!==null&&(Gf?(e=dl,n=n.stateNode,e.nodeType===8?B7(e.parentNode,n):e.nodeType===1&&B7(e,n),ZT(e)):B7(dl,n.stateNode));break;case 4:r=dl,i=Gf,dl=n.stateNode.containerInfo,Gf=!0,ag(e,t,n),dl=r,Gf=i;break;case 0:case 11:case 14:case 15:if(!zl&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,a=s.destroy;s=s.tag,a!==void 0&&(s&2||s&4)&&K8(n,t,a),i=i.next}while(i!==r)}ag(e,t,n);break;case 1:if(!zl&&(TS(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(o){Fa(n,t,o)}ag(e,t,n);break;case 21:ag(e,t,n);break;case 22:n.mode&1?(zl=(r=zl)||n.memoizedState!==null,ag(e,t,n),zl=r):ag(e,t,n);break;default:ag(e,t,n)}}function ZX(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new L_e),t.forEach(function(r){var i=W_e.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function jf(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~s}if(r=i,r=Ya()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*$_e(r/1960))-r,10e?16:e,Mg===null)var r=!1;else{if(e=Mg,Mg=null,GR=0,Fi&6)throw Error(pn(331));var i=Fi;for(Fi|=4,Qn=e.current;Qn!==null;){var s=Qn,a=s.child;if(Qn.flags&16){var o=s.deletions;if(o!==null){for(var l=0;lYa()-KU?Bb(e,0):XU|=n),ic(e,t)}function Pue(e,t){t===0&&(e.mode&1?(t=FC,FC<<=1,!(FC&130023424)&&(FC=4194304)):t=1);var n=Su();e=am(e,t),e!==null&&(p_(e,t,n),ic(e,n))}function j_e(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Pue(e,n)}function W_e(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(pn(314))}r!==null&&r.delete(t),Pue(e,n)}var Lue;Lue=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||nc.current)ec=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ec=!1,D_e(e,t,n);ec=!!(e.flags&131072)}else ec=!1,ua&&t.flags&1048576&&Ble(t,BR,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;C3(e,t),e=t.pendingProps;var i=CO(t,Vl.current);WS(t,n),i=WU(null,t,r,e,i,n);var s=QU();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,rc(r)?(s=!0,FR(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,UU(t),i.updater=GI,t.stateNode=i,i._reactInternals=t,W8(t,r,e,n),t=G8(null,t,r,!0,s,n)):(t.tag=0,ua&&s&&NU(t),mu(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(C3(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=V_e(r),e=Wf(r,e),i){case 0:t=V8(null,t,r,e,n);break e;case 1:t=WX(null,t,r,e,n);break e;case 11:t=qX(null,t,r,e,n);break e;case 14:t=jX(null,t,r,Wf(r.type,e),n);break e}throw Error(pn(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Wf(r,i),V8(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Wf(r,i),WX(e,t,r,i,n);case 3:e:{if(yue(t),e===null)throw Error(pn(387));r=t.pendingProps,s=t.memoizedState,i=s.element,Wle(e,t),HR(t,r,null,n);var a=t.memoizedState;if(r=a.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=NO(Error(pn(423)),t),t=QX(e,t,r,n,i);break e}else if(r!==i){i=NO(Error(pn(424)),t),t=QX(e,t,r,n,i);break e}else for(Xc=Vg(t.stateNode.containerInfo.firstChild),id=t,ua=!0,Zf=null,n=qle(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(RO(),r===i){t=om(e,t,n);break e}mu(e,t,r,n)}t=t.child}return t;case 5:return Qle(t),e===null&&H8(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,a=i.children,F8(r,i)?a=null:s!==null&&F8(r,s)&&(t.flags|=32),bue(e,t),mu(e,t,a,n),t.child;case 6:return e===null&&H8(t),null;case 13:return vue(e,t,n);case 4:return zU(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=IO(t,null,r,n):mu(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Wf(r,i),qX(e,t,r,i,n);case 7:return mu(e,t,t.pendingProps,n),t.child;case 8:return mu(e,t,t.pendingProps.children,n),t.child;case 12:return mu(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,a=i.value,Bs(UR,r._currentValue),r._currentValue=a,s!==null)if(ch(s.value,a)){if(s.children===i.children&&!nc.current){t=om(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var o=s.dependencies;if(o!==null){a=s.child;for(var l=o.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=Z0(-1,n&-n),l.tag=2;var c=s.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?l.next=l:(l.next=d.next,d.next=l),c.pending=l}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),q8(s.return,n,t),o.lanes|=n;break}l=l.next}}else if(s.tag===10)a=s.type===t.type?null:s.child;else if(s.tag===18){if(a=s.return,a===null)throw Error(pn(341));a.lanes|=n,o=a.alternate,o!==null&&(o.lanes|=n),q8(a,n,t),a=s.sibling}else a=s.child;if(a!==null)a.return=s;else for(a=s;a!==null;){if(a===t){a=null;break}if(s=a.sibling,s!==null){s.return=a.return,a=s;break}a=a.return}s=a}mu(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,WS(t,n),i=cf(i),r=r(i),t.flags|=1,mu(e,t,r,n),t.child;case 14:return r=t.type,i=Wf(r,t.pendingProps),i=Wf(r.type,i),jX(e,t,r,i,n);case 15:return mue(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Wf(r,i),C3(e,t),t.tag=1,rc(r)?(e=!0,FR(t)):e=!1,WS(t,n),fue(t,r,i),W8(t,r,i,n),G8(null,t,r,!0,e,n);case 19:return Sue(e,t,n);case 22:return gue(e,t,n)}throw Error(pn(156,t.tag))};function Mue(e,t){return ule(e,t)}function Q_e(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Kd(e,t,n,r){return new Q_e(e,t,n,r)}function nz(e){return e=e.prototype,!(!e||!e.isReactComponent)}function V_e(e){if(typeof e=="function")return nz(e)?1:0;if(e!=null){if(e=e.$$typeof,e===OU)return 11;if(e===EU)return 14}return 2}function Xg(e,t){var n=e.alternate;return n===null?(n=Kd(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function D3(e,t,n,r,i,s){var a=2;if(r=e,typeof e=="function")nz(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case gS:return Ub(n.children,i,s,t);case SU:a=8,i|=8;break;case m8:return e=Kd(12,n,t,i|2),e.elementType=m8,e.lanes=s,e;case g8:return e=Kd(13,n,t,i),e.elementType=g8,e.lanes=s,e;case b8:return e=Kd(19,n,t,i),e.elementType=b8,e.lanes=s,e;case Qoe:return XI(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case joe:a=10;break e;case Woe:a=9;break e;case OU:a=11;break e;case EU:a=14;break e;case pg:a=16,r=null;break e}throw Error(pn(130,e==null?e:typeof e,""))}return t=Kd(a,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function Ub(e,t,n,r){return e=Kd(7,e,r,t),e.lanes=n,e}function XI(e,t,n,r){return e=Kd(22,e,r,t),e.elementType=Qoe,e.lanes=n,e.stateNode={isHidden:!1},e}function V7(e,t,n){return e=Kd(6,e,null,t),e.lanes=n,e}function G7(e,t,n){return t=Kd(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function G_e(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=A7(0),this.expirationTimes=A7(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=A7(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function rz(e,t,n,r,i,s,a,o,l){return e=new G_e(e,t,n,o,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=Kd(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},UU(s),e}function Y_e(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Uue)}catch(e){console.error(e)}}Uue(),Uoe.exports=pd;var yE=Uoe.exports;const Fw=hd(yE),eAe=fU({__proto__:null,default:Fw},[yE]);var iK=yE;h8.createRoot=iK.createRoot,h8.hydrateRoot=iK.hydrateRoot;const lk={black:"#000",white:"#fff"},Lv={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Mv={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Fv={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},$v={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Bv={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},K2={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},tAe={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function lm(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n0?hl(vE,--cc):0,LO--,co===10&&(LO=1,r6--),co}function sd(){return co=cc2||ck(co)>3?"":" "}function yAe(e,t){for(;--t&&sd()&&!(co<48||co>102||co>57&&co<65||co>70&&co<97););return y_(e,N3()+(t<6&&Sp()==32&&sd()==32))}function oM(e){for(;sd();)switch(co){case e:return cc;case 34:case 39:e!==34&&e!==39&&oM(co);break;case 40:e===41&&oM(e);break;case 92:sd();break}return cc}function vAe(e,t){for(;sd()&&e+co!==57;)if(e+co===84&&Sp()===47)break;return"/*"+y_(t,cc-1)+"*"+n6(e===47?e:sd())}function SAe(e){for(;!ck(Sp());)sd();return y_(e,cc)}function OAe(e){return Vue(L3("",null,null,null,[""],e=Que(e),0,[0],e))}function L3(e,t,n,r,i,s,a,o,l){for(var c=0,d=0,f=a,p=0,g=0,b=0,w=1,x=1,T=1,_=0,C="",I=i,M=s,$=r,B=C;x;)switch(b=_,_=sd()){case 40:if(b!=108&&hl(B,f-1)==58){aM(B+=Ki(P3(_),"&","&\f"),"&\f")!=-1&&(T=-1);break}case 34:case 39:case 91:B+=P3(_);break;case 9:case 10:case 13:case 32:B+=bAe(b);break;case 92:B+=yAe(N3()-1,7);continue;case 47:switch(Sp()){case 42:case 47:YC(EAe(vAe(sd(),N3()),t,n),l);break;default:B+="/"}break;case 123*w:o[c++]=rp(B)*T;case 125*w:case 59:case 0:switch(_){case 0:case 125:x=0;case 59+d:T==-1&&(B=Ki(B,/\f/g,"")),g>0&&rp(B)-f&&YC(g>32?aK(B+";",r,n,f-1):aK(Ki(B," ","")+";",r,n,f-2),l);break;case 59:B+=";";default:if(YC($=sK(B,t,n,c,d,i,o,C,I=[],M=[],f),s),_===123)if(d===0)L3(B,t,$,$,I,s,f,o,M);else switch(p===99&&hl(B,3)===110?100:p){case 100:case 108:case 109:case 115:L3(e,$,$,r&&YC(sK(e,$,$,0,0,i,o,C,i,I=[],f),M),i,M,f,o,r?I:M);break;default:L3(B,$,$,$,[""],M,0,o,M)}}c=d=g=0,w=T=1,C=B="",f=a;break;case 58:f=1+rp(B),g=b;default:if(w<1){if(_==123)--w;else if(_==125&&w++==0&&gAe()==125)continue}switch(B+=n6(_),_*w){case 38:T=d>0?1:(B+="\f",-1);break;case 44:o[c++]=(rp(B)-1)*T,T=1;break;case 64:Sp()===45&&(B+=P3(sd())),p=Sp(),d=f=rp(C=B+=SAe(N3())),_++;break;case 45:b===45&&rp(B)==2&&(w=0)}}return s}function sK(e,t,n,r,i,s,a,o,l,c,d){for(var f=i-1,p=i===0?s:[""],g=uz(p),b=0,w=0,x=0;b0?p[T]+" "+_:Ki(_,/&\f/g,p[T])))&&(l[x++]=C);return i6(e,t,n,i===0?oz:o,l,c,d)}function EAe(e,t,n){return i6(e,t,n,Hue,n6(mAe()),uk(e,2,-2),0)}function aK(e,t,n,r){return i6(e,t,n,lz,uk(e,0,r),uk(e,r+1,-1),r)}function VS(e,t){for(var n="",r=uz(e),i=0;i6)switch(hl(e,t+1)){case 109:if(hl(e,t+4)!==45)break;case 102:return Ki(e,/(.+:)(.+)-([^]+)/,"$1"+Xi+"$2-$3$1"+XR+(hl(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~aM(e,"stretch")?Gue(Ki(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(hl(e,t+1)!==115)break;case 6444:switch(hl(e,rp(e)-3-(~aM(e,"!important")&&10))){case 107:return Ki(e,":",":"+Xi)+e;case 101:return Ki(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Xi+(hl(e,14)===45?"inline-":"")+"box$3$1"+Xi+"$2$3$1"+$l+"$2box$3")+e}break;case 5936:switch(hl(e,t+11)){case 114:return Xi+e+$l+Ki(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Xi+e+$l+Ki(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Xi+e+$l+Ki(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Xi+e+$l+e+e}return e}var IAe=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case lz:t.return=Gue(t.value,t.length);break;case que:return VS([J2(t,{value:Ki(t.value,"@","@"+Xi)})],i);case oz:if(t.length)return pAe(t.props,function(s){switch(hAe(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return VS([J2(t,{props:[Ki(s,/:(read-\w+)/,":"+XR+"$1")]})],i);case"::placeholder":return VS([J2(t,{props:[Ki(s,/:(plac\w+)/,":"+Xi+"input-$1")]}),J2(t,{props:[Ki(s,/:(plac\w+)/,":"+XR+"$1")]}),J2(t,{props:[Ki(s,/:(plac\w+)/,$l+"input-$1")]})],i)}return""})}},DAe=[IAe],NAe=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(w){var x=w.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(w),w.setAttribute("data-s",""))})}var i=t.stylisPlugins||DAe,s={},a,o=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(w){for(var x=w.getAttribute("data-emotion").split(" "),T=1;T<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[ap]=t,e[tk]=r,Eue(e,t,!1,!1),t.stateNode=e;e:{switch(a=T8(n,r),n){case"dialog":Vs("cancel",e),Vs("close",e),i=r;break;case"iframe":case"object":case"embed":Vs("load",e),i=r;break;case"video":case"audio":for(i=0;iPO&&(t.flags|=128,r=!0,Z2(s,!1),t.lanes=4194304)}else{if(!r)if(e=qR(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Z2(s,!0),s.tail===null&&s.tailMode==="hidden"&&!a.alternate&&!ua)return Ml(t),null}else 2*Ya()-s.renderingStartTime>PO&&n!==1073741824&&(t.flags|=128,r=!0,Z2(s,!1),t.lanes=4194304);s.isBackwards?(a.sibling=t.child,t.child=a):(n=s.last,n!==null?n.sibling=a:t.child=a,s.last=a)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Ya(),t.sibling=null,n=Sa.current,Bs(Sa,r?n&1|2:n&1),t):(Ml(t),null);case 22:case 23:return ez(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?$c&1073741824&&(Ml(t),t.subtreeFlags&6&&(t.flags|=8192)):Ml(t),null;case 24:return null;case 25:return null}throw Error(pn(156,t.tag))}function L_e(e,t){switch(PU(t),t.tag){case 1:return rc(t.type)&&MR(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return DO(),Zs(nc),Zs(Vl),qU(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return HU(t),null;case 13:if(Zs(Sa),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(pn(340));RO()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Zs(Sa),null;case 4:return DO(),null;case 10:return $U(t.type._context),null;case 22:case 23:return ez(),null;case 24:return null;default:return null}}var QC=!1,zl=!1,M_e=typeof WeakSet=="function"?WeakSet:Set,Qn=null;function TS(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Fa(e,t,r)}else n.current=null}function K8(e,t,n){try{n()}catch(r){Fa(e,t,r)}}var GX=!1;function F_e(e,t){if(L8=DR,e=Cle(),DU(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var a=0,o=-1,l=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var g;f!==n||i!==0&&f.nodeType!==3||(o=a+i),f!==s||r!==0&&f.nodeType!==3||(l=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(g=f.firstChild)!==null;)p=f,f=g;for(;;){if(f===e)break t;if(p===n&&++c===i&&(o=a),p===s&&++d===r&&(l=a),(g=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=g}n=o===-1||l===-1?null:{start:o,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(M8={focusedElem:e,selectionRange:n},DR=!1,Qn=t;Qn!==null;)if(t=Qn,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Qn=e;else for(;Qn!==null;){t=Qn;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var w=b.memoizedProps,x=b.memoizedState,T=t.stateNode,_=T.getSnapshotBeforeUpdate(t.elementType===t.type?w:Wf(t.type,w),x);T.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var C=t.stateNode.containerInfo;C.nodeType===1?C.textContent="":C.nodeType===9&&C.documentElement&&C.removeChild(C.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(pn(163))}}catch(I){Fa(t,t.return,I)}if(e=t.sibling,e!==null){e.return=t.return,Qn=e;break}Qn=t.return}return b=GX,GX=!1,b}function lT(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,s!==void 0&&K8(t,n,s)}i=i.next}while(i!==r)}}function YI(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function J8(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Tue(e){var t=e.alternate;t!==null&&(e.alternate=null,Tue(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ap],delete t[tk],delete t[B8],delete t[v_e],delete t[S_e])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function kue(e){return e.tag===5||e.tag===3||e.tag===4}function YX(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||kue(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function eM(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=LR));else if(r!==4&&(e=e.child,e!==null))for(eM(e,t,n),e=e.sibling;e!==null;)eM(e,t,n),e=e.sibling}function tM(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(tM(e,t,n),e=e.sibling;e!==null;)tM(e,t,n),e=e.sibling}var dl=null,Gf=!1;function ag(e,t,n){for(n=n.child;n!==null;)_ue(e,t,n),n=n.sibling}function _ue(e,t,n){if(yp&&typeof yp.onCommitFiberUnmount=="function")try{yp.onCommitFiberUnmount(zI,n)}catch{}switch(n.tag){case 5:zl||TS(n,t);case 6:var r=dl,i=Gf;dl=null,ag(e,t,n),dl=r,Gf=i,dl!==null&&(Gf?(e=dl,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):dl.removeChild(n.stateNode));break;case 18:dl!==null&&(Gf?(e=dl,n=n.stateNode,e.nodeType===8?B7(e.parentNode,n):e.nodeType===1&&B7(e,n),ZT(e)):B7(dl,n.stateNode));break;case 4:r=dl,i=Gf,dl=n.stateNode.containerInfo,Gf=!0,ag(e,t,n),dl=r,Gf=i;break;case 0:case 11:case 14:case 15:if(!zl&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,a=s.destroy;s=s.tag,a!==void 0&&(s&2||s&4)&&K8(n,t,a),i=i.next}while(i!==r)}ag(e,t,n);break;case 1:if(!zl&&(TS(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(o){Fa(n,t,o)}ag(e,t,n);break;case 21:ag(e,t,n);break;case 22:n.mode&1?(zl=(r=zl)||n.memoizedState!==null,ag(e,t,n),zl=r):ag(e,t,n);break;default:ag(e,t,n)}}function ZX(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new M_e),t.forEach(function(r){var i=Q_e.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function jf(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~s}if(r=i,r=Ya()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*B_e(r/1960))-r,10e?16:e,Mg===null)var r=!1;else{if(e=Mg,Mg=null,GR=0,Fi&6)throw Error(pn(331));var i=Fi;for(Fi|=4,Qn=e.current;Qn!==null;){var s=Qn,a=s.child;if(Qn.flags&16){var o=s.deletions;if(o!==null){for(var l=0;lYa()-KU?Bb(e,0):XU|=n),ic(e,t)}function Lue(e,t){t===0&&(e.mode&1?(t=FC,FC<<=1,!(FC&130023424)&&(FC=4194304)):t=1);var n=Su();e=am(e,t),e!==null&&(p_(e,t,n),ic(e,n))}function W_e(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Lue(e,n)}function Q_e(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(pn(314))}r!==null&&r.delete(t),Lue(e,n)}var Mue;Mue=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||nc.current)ec=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ec=!1,N_e(e,t,n);ec=!!(e.flags&131072)}else ec=!1,ua&&t.flags&1048576&&Ule(t,BR,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;C3(e,t),e=t.pendingProps;var i=CO(t,Vl.current);WS(t,n),i=WU(null,t,r,e,i,n);var s=QU();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,rc(r)?(s=!0,FR(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,UU(t),i.updater=GI,t.stateNode=i,i._reactInternals=t,W8(t,r,e,n),t=G8(null,t,r,!0,s,n)):(t.tag=0,ua&&s&&NU(t),mu(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(C3(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=G_e(r),e=Wf(r,e),i){case 0:t=V8(null,t,r,e,n);break e;case 1:t=WX(null,t,r,e,n);break e;case 11:t=qX(null,t,r,e,n);break e;case 14:t=jX(null,t,r,Wf(r.type,e),n);break e}throw Error(pn(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Wf(r,i),V8(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Wf(r,i),WX(e,t,r,i,n);case 3:e:{if(vue(t),e===null)throw Error(pn(387));r=t.pendingProps,s=t.memoizedState,i=s.element,Qle(e,t),HR(t,r,null,n);var a=t.memoizedState;if(r=a.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=NO(Error(pn(423)),t),t=QX(e,t,r,n,i);break e}else if(r!==i){i=NO(Error(pn(424)),t),t=QX(e,t,r,n,i);break e}else for(Kc=Vg(t.stateNode.containerInfo.firstChild),sd=t,ua=!0,Zf=null,n=jle(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(RO(),r===i){t=om(e,t,n);break e}mu(e,t,r,n)}t=t.child}return t;case 5:return Vle(t),e===null&&H8(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,a=i.children,F8(r,i)?a=null:s!==null&&F8(r,s)&&(t.flags|=32),yue(e,t),mu(e,t,a,n),t.child;case 6:return e===null&&H8(t),null;case 13:return Sue(e,t,n);case 4:return zU(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=IO(t,null,r,n):mu(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Wf(r,i),qX(e,t,r,i,n);case 7:return mu(e,t,t.pendingProps,n),t.child;case 8:return mu(e,t,t.pendingProps.children,n),t.child;case 12:return mu(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,a=i.value,Bs(UR,r._currentValue),r._currentValue=a,s!==null)if(ch(s.value,a)){if(s.children===i.children&&!nc.current){t=om(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var o=s.dependencies;if(o!==null){a=s.child;for(var l=o.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=Z0(-1,n&-n),l.tag=2;var c=s.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?l.next=l:(l.next=d.next,d.next=l),c.pending=l}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),q8(s.return,n,t),o.lanes|=n;break}l=l.next}}else if(s.tag===10)a=s.type===t.type?null:s.child;else if(s.tag===18){if(a=s.return,a===null)throw Error(pn(341));a.lanes|=n,o=a.alternate,o!==null&&(o.lanes|=n),q8(a,n,t),a=s.sibling}else a=s.child;if(a!==null)a.return=s;else for(a=s;a!==null;){if(a===t){a=null;break}if(s=a.sibling,s!==null){s.return=a.return,a=s;break}a=a.return}s=a}mu(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,WS(t,n),i=cf(i),r=r(i),t.flags|=1,mu(e,t,r,n),t.child;case 14:return r=t.type,i=Wf(r,t.pendingProps),i=Wf(r.type,i),jX(e,t,r,i,n);case 15:return gue(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Wf(r,i),C3(e,t),t.tag=1,rc(r)?(e=!0,FR(t)):e=!1,WS(t,n),hue(t,r,i),W8(t,r,i,n),G8(null,t,r,!0,e,n);case 19:return Oue(e,t,n);case 22:return bue(e,t,n)}throw Error(pn(156,t.tag))};function Fue(e,t){return cle(e,t)}function V_e(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Kd(e,t,n,r){return new V_e(e,t,n,r)}function nz(e){return e=e.prototype,!(!e||!e.isReactComponent)}function G_e(e){if(typeof e=="function")return nz(e)?1:0;if(e!=null){if(e=e.$$typeof,e===OU)return 11;if(e===EU)return 14}return 2}function Xg(e,t){var n=e.alternate;return n===null?(n=Kd(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function D3(e,t,n,r,i,s){var a=2;if(r=e,typeof e=="function")nz(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case gS:return Ub(n.children,i,s,t);case SU:a=8,i|=8;break;case m8:return e=Kd(12,n,t,i|2),e.elementType=m8,e.lanes=s,e;case g8:return e=Kd(13,n,t,i),e.elementType=g8,e.lanes=s,e;case b8:return e=Kd(19,n,t,i),e.elementType=b8,e.lanes=s,e;case Voe:return XI(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Woe:a=10;break e;case Qoe:a=9;break e;case OU:a=11;break e;case EU:a=14;break e;case pg:a=16,r=null;break e}throw Error(pn(130,e==null?e:typeof e,""))}return t=Kd(a,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function Ub(e,t,n,r){return e=Kd(7,e,r,t),e.lanes=n,e}function XI(e,t,n,r){return e=Kd(22,e,r,t),e.elementType=Voe,e.lanes=n,e.stateNode={isHidden:!1},e}function V7(e,t,n){return e=Kd(6,e,null,t),e.lanes=n,e}function G7(e,t,n){return t=Kd(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Y_e(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=A7(0),this.expirationTimes=A7(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=A7(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function rz(e,t,n,r,i,s,a,o,l){return e=new Y_e(e,t,n,o,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=Kd(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},UU(s),e}function Z_e(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(zue)}catch(e){console.error(e)}}zue(),zoe.exports=pd;var yE=zoe.exports;const Fw=mc(yE),tAe=fU({__proto__:null,default:Fw},[yE]);var iK=yE;h8.createRoot=iK.createRoot,h8.hydrateRoot=iK.hydrateRoot;const lk={black:"#000",white:"#fff"},Lv={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Mv={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Fv={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},$v={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Bv={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},K2={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},nAe={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function lm(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n0?hl(vE,--cc):0,LO--,co===10&&(LO=1,r6--),co}function ad(){return co=cc2||ck(co)>3?"":" "}function vAe(e,t){for(;--t&&ad()&&!(co<48||co>102||co>57&&co<65||co>70&&co<97););return y_(e,N3()+(t<6&&Sp()==32&&ad()==32))}function oM(e){for(;ad();)switch(co){case e:return cc;case 34:case 39:e!==34&&e!==39&&oM(co);break;case 40:e===41&&oM(e);break;case 92:ad();break}return cc}function SAe(e,t){for(;ad()&&e+co!==57;)if(e+co===84&&Sp()===47)break;return"/*"+y_(t,cc-1)+"*"+n6(e===47?e:ad())}function OAe(e){for(;!ck(Sp());)ad();return y_(e,cc)}function EAe(e){return Gue(L3("",null,null,null,[""],e=Vue(e),0,[0],e))}function L3(e,t,n,r,i,s,a,o,l){for(var c=0,d=0,f=a,p=0,g=0,b=0,w=1,x=1,T=1,_=0,C="",I=i,M=s,$=r,B=C;x;)switch(b=_,_=ad()){case 40:if(b!=108&&hl(B,f-1)==58){aM(B+=Ki(P3(_),"&","&\f"),"&\f")!=-1&&(T=-1);break}case 34:case 39:case 91:B+=P3(_);break;case 9:case 10:case 13:case 32:B+=yAe(b);break;case 92:B+=vAe(N3()-1,7);continue;case 47:switch(Sp()){case 42:case 47:YC(wAe(SAe(ad(),N3()),t,n),l);break;default:B+="/"}break;case 123*w:o[c++]=rp(B)*T;case 125*w:case 59:case 0:switch(_){case 0:case 125:x=0;case 59+d:T==-1&&(B=Ki(B,/\f/g,"")),g>0&&rp(B)-f&&YC(g>32?aK(B+";",r,n,f-1):aK(Ki(B," ","")+";",r,n,f-2),l);break;case 59:B+=";";default:if(YC($=sK(B,t,n,c,d,i,o,C,I=[],M=[],f),s),_===123)if(d===0)L3(B,t,$,$,I,s,f,o,M);else switch(p===99&&hl(B,3)===110?100:p){case 100:case 108:case 109:case 115:L3(e,$,$,r&&YC(sK(e,$,$,0,0,i,o,C,i,I=[],f),M),i,M,f,o,r?I:M);break;default:L3(B,$,$,$,[""],M,0,o,M)}}c=d=g=0,w=T=1,C=B="",f=a;break;case 58:f=1+rp(B),g=b;default:if(w<1){if(_==123)--w;else if(_==125&&w++==0&&bAe()==125)continue}switch(B+=n6(_),_*w){case 38:T=d>0?1:(B+="\f",-1);break;case 44:o[c++]=(rp(B)-1)*T,T=1;break;case 64:Sp()===45&&(B+=P3(ad())),p=Sp(),d=f=rp(C=B+=OAe(N3())),_++;break;case 45:b===45&&rp(B)==2&&(w=0)}}return s}function sK(e,t,n,r,i,s,a,o,l,c,d){for(var f=i-1,p=i===0?s:[""],g=uz(p),b=0,w=0,x=0;b0?p[T]+" "+_:Ki(_,/&\f/g,p[T])))&&(l[x++]=C);return i6(e,t,n,i===0?oz:o,l,c,d)}function wAe(e,t,n){return i6(e,t,n,que,n6(gAe()),uk(e,2,-2),0)}function aK(e,t,n,r){return i6(e,t,n,lz,uk(e,0,r),uk(e,r+1,-1),r)}function VS(e,t){for(var n="",r=uz(e),i=0;i6)switch(hl(e,t+1)){case 109:if(hl(e,t+4)!==45)break;case 102:return Ki(e,/(.+:)(.+)-([^]+)/,"$1"+Xi+"$2-$3$1"+XR+(hl(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~aM(e,"stretch")?Yue(Ki(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(hl(e,t+1)!==115)break;case 6444:switch(hl(e,rp(e)-3-(~aM(e,"!important")&&10))){case 107:return Ki(e,":",":"+Xi)+e;case 101:return Ki(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Xi+(hl(e,14)===45?"inline-":"")+"box$3$1"+Xi+"$2$3$1"+$l+"$2box$3")+e}break;case 5936:switch(hl(e,t+11)){case 114:return Xi+e+$l+Ki(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Xi+e+$l+Ki(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Xi+e+$l+Ki(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Xi+e+$l+e+e}return e}var DAe=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case lz:t.return=Yue(t.value,t.length);break;case jue:return VS([J2(t,{value:Ki(t.value,"@","@"+Xi)})],i);case oz:if(t.length)return mAe(t.props,function(s){switch(pAe(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return VS([J2(t,{props:[Ki(s,/:(read-\w+)/,":"+XR+"$1")]})],i);case"::placeholder":return VS([J2(t,{props:[Ki(s,/:(plac\w+)/,":"+Xi+"input-$1")]}),J2(t,{props:[Ki(s,/:(plac\w+)/,":"+XR+"$1")]}),J2(t,{props:[Ki(s,/:(plac\w+)/,$l+"input-$1")]})],i)}return""})}},NAe=[DAe],PAe=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(w){var x=w.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(w),w.setAttribute("data-s",""))})}var i=t.stylisPlugins||NAe,s={},a,o=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(w){for(var x=w.getAttribute("data-emotion").split(" "),T=1;T=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var WAe={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},QAe=!1,VAe=/[A-Z]|^ms/g,GAe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,tce=function(t){return t.charCodeAt(1)===45},lK=function(t){return t!=null&&typeof t!="boolean"},Y7=zue(function(e){return tce(e)?e:e.replace(VAe,"-$&").toLowerCase()}),uK=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(GAe,function(r,i,s){return ip={name:i,styles:s,next:ip},i})}return WAe[t]!==1&&!tce(t)&&typeof n=="number"&&n!==0?n+"px":n},YAe="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function dk(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return ip={name:i.name,styles:i.styles,next:ip},i.name;var s=n;if(s.styles!==void 0){var a=s.next;if(a!==void 0)for(;a!==void 0;)ip={name:a.name,styles:a.styles,next:ip},a=a.next;var o=s.styles+";";return o}return ZAe(e,t,n)}case"function":{if(e!==void 0){var l=ip,c=n(e);return ip=l,dk(e,t,c)}break}}var d=n;if(t==null)return d;var f=t[d];return f!==void 0?f:d}function ZAe(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i96?eCe:tCe},hK=function(t,n,r){var i;if(n){var s=n.shouldForwardProp;i=t.__emotion_forwardProp&&s?function(a){return t.__emotion_forwardProp(a)&&s(a)}:s}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},nCe=!1,rCe=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return Jue(n,r,i),KAe(function(){return ece(n,r,i)}),null},iCe=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,s,a;n!==void 0&&(s=n.label,a=n.target);var o=hK(t,n,r),l=o||fK(i),c=!l("as");return function(){var d=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&f.push("label:"+s+";"),d[0]==null||d[0].raw===void 0)f.push.apply(f,d);else{f.push(d[0][0]);for(var p=d.length,g=1;gt(dCe(i)?n:i):t;return U.jsx(JAe,{styles:r})}/** + */var Jo=typeof Symbol=="function"&&Symbol.for,cz=Jo?Symbol.for("react.element"):60103,dz=Jo?Symbol.for("react.portal"):60106,s6=Jo?Symbol.for("react.fragment"):60107,a6=Jo?Symbol.for("react.strict_mode"):60108,o6=Jo?Symbol.for("react.profiler"):60114,l6=Jo?Symbol.for("react.provider"):60109,u6=Jo?Symbol.for("react.context"):60110,fz=Jo?Symbol.for("react.async_mode"):60111,c6=Jo?Symbol.for("react.concurrent_mode"):60111,d6=Jo?Symbol.for("react.forward_ref"):60112,f6=Jo?Symbol.for("react.suspense"):60113,LAe=Jo?Symbol.for("react.suspense_list"):60120,h6=Jo?Symbol.for("react.memo"):60115,p6=Jo?Symbol.for("react.lazy"):60116,MAe=Jo?Symbol.for("react.block"):60121,FAe=Jo?Symbol.for("react.fundamental"):60117,$Ae=Jo?Symbol.for("react.responder"):60118,BAe=Jo?Symbol.for("react.scope"):60119;function gd(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case cz:switch(e=e.type,e){case fz:case c6:case s6:case o6:case a6:case f6:return e;default:switch(e=e&&e.$$typeof,e){case u6:case d6:case p6:case h6:case l6:return e;default:return t}}case dz:return t}}}function Xue(e){return gd(e)===c6}ps.AsyncMode=fz;ps.ConcurrentMode=c6;ps.ContextConsumer=u6;ps.ContextProvider=l6;ps.Element=cz;ps.ForwardRef=d6;ps.Fragment=s6;ps.Lazy=p6;ps.Memo=h6;ps.Portal=dz;ps.Profiler=o6;ps.StrictMode=a6;ps.Suspense=f6;ps.isAsyncMode=function(e){return Xue(e)||gd(e)===fz};ps.isConcurrentMode=Xue;ps.isContextConsumer=function(e){return gd(e)===u6};ps.isContextProvider=function(e){return gd(e)===l6};ps.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===cz};ps.isForwardRef=function(e){return gd(e)===d6};ps.isFragment=function(e){return gd(e)===s6};ps.isLazy=function(e){return gd(e)===p6};ps.isMemo=function(e){return gd(e)===h6};ps.isPortal=function(e){return gd(e)===dz};ps.isProfiler=function(e){return gd(e)===o6};ps.isStrictMode=function(e){return gd(e)===a6};ps.isSuspense=function(e){return gd(e)===f6};ps.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===s6||e===c6||e===o6||e===a6||e===f6||e===LAe||typeof e=="object"&&e!==null&&(e.$$typeof===p6||e.$$typeof===h6||e.$$typeof===l6||e.$$typeof===u6||e.$$typeof===d6||e.$$typeof===FAe||e.$$typeof===$Ae||e.$$typeof===BAe||e.$$typeof===MAe)};ps.typeOf=gd;Zue.exports=ps;var UAe=Zue.exports,Kue=UAe,zAe={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},HAe={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Jue={};Jue[Kue.ForwardRef]=zAe;Jue[Kue.Memo]=HAe;var qAe=!0;function jAe(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(r+=i+" ")}),r}var ece=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||qAe===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},tce=function(t,n,r){ece(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var s=n;do t.insert(n===s?"."+i:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function WAe(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var QAe={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},VAe=!1,GAe=/[A-Z]|^ms/g,YAe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,nce=function(t){return t.charCodeAt(1)===45},lK=function(t){return t!=null&&typeof t!="boolean"},Y7=Hue(function(e){return nce(e)?e:e.replace(GAe,"-$&").toLowerCase()}),uK=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(YAe,function(r,i,s){return ip={name:i,styles:s,next:ip},i})}return QAe[t]!==1&&!nce(t)&&typeof n=="number"&&n!==0?n+"px":n},ZAe="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function dk(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return ip={name:i.name,styles:i.styles,next:ip},i.name;var s=n;if(s.styles!==void 0){var a=s.next;if(a!==void 0)for(;a!==void 0;)ip={name:a.name,styles:a.styles,next:ip},a=a.next;var o=s.styles+";";return o}return XAe(e,t,n)}case"function":{if(e!==void 0){var l=ip,c=n(e);return ip=l,dk(e,t,c)}break}}var d=n;if(t==null)return d;var f=t[d];return f!==void 0?f:d}function XAe(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i96?tCe:nCe},hK=function(t,n,r){var i;if(n){var s=n.shouldForwardProp;i=t.__emotion_forwardProp&&s?function(a){return t.__emotion_forwardProp(a)&&s(a)}:s}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},rCe=!1,iCe=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return ece(n,r,i),JAe(function(){return tce(n,r,i)}),null},sCe=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,s,a;n!==void 0&&(s=n.label,a=n.target);var o=hK(t,n,r),l=o||fK(i),c=!l("as");return function(){var d=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&f.push("label:"+s+";"),d[0]==null||d[0].raw===void 0)f.push.apply(f,d);else{f.push(d[0][0]);for(var p=d.length,g=1;gt(fCe(i)?n:i):t;return U.jsx(eCe,{styles:r})}/** * @mui/styled-engine v6.1.1 * * @license MIT * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */function uce(e,t){return lM(e,t)}const fCe=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function op(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function cce(e){if(!op(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=cce(e[n])}),t}function Xo(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return op(e)&&op(t)&&Object.keys(t).forEach(i=>{op(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&op(e[i])?r[i]=Xo(e[i],t[i],n):n.clone?r[i]=op(t[i])?cce(t[i]):t[i]:r[i]=t[i]}),r}const hCe=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function pCe(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...i}=e,s=hCe(t),a=Object.keys(s);function o(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n})`}function l(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-r/100}${n})`}function c(p,g){const b=a.indexOf(g);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n}) and (max-width:${(b!==-1&&typeof t[a[b]]=="number"?t[a[b]]:g)-r/100}${n})`}function d(p){return a.indexOf(p)+1r.startsWith("@container")).sort((r,i)=>{var a,o;const s=/min-width:\s*([0-9.]+)/;return+(((a=r.match(s))==null?void 0:a[1])||0)-+(((o=i.match(s))==null?void 0:o[1])||0)});return n.length?n.reduce((r,i)=>{const s=t[i];return delete r[i],r[i]=s,r},{...t}):t}function gCe(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function bCe(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,i]=n,s=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(s)}function yCe(e){const t=(s,a)=>s.replace("@media",a?`@container ${a}`:"@container");function n(s,a){s.up=(...o)=>t(e.breakpoints.up(...o),a),s.down=(...o)=>t(e.breakpoints.down(...o),a),s.between=(...o)=>t(e.breakpoints.between(...o),a),s.only=(...o)=>t(e.breakpoints.only(...o),a),s.not=(...o)=>{const l=t(e.breakpoints.not(...o),a);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const r={},i=s=>(n(r,s),r);return n(i),{...e,containerQueries:i}}const vCe={borderRadius:4};function dT(e,t){return t?Xo(e,t,{clone:!1}):e}const g6={xs:0,sm:600,md:900,lg:1200,xl:1536},pK={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${g6[e]}px)`},SCe={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:g6[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function dc(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const s=r.breakpoints||pK;return t.reduce((a,o,l)=>(a[s.up(s.keys[l])]=n(t[l]),a),{})}if(typeof t=="object"){const s=r.breakpoints||pK;return Object.keys(t).reduce((a,o)=>{if(gCe(s.keys,o)){const l=bCe(r.containerQueries?r:SCe,o);l&&(a[l]=n(t[o],o))}else if(Object.keys(s.values||g6).includes(o)){const l=s.up(o);a[l]=n(t[o],o)}else{const l=o;a[l]=t[l]}return a},{})}return n(t)}function dce(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,i)=>{const s=e.up(i);return r[s]={},r},{}))||{}}function fce(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function OCe(e,...t){const n=dce(e),r=[n,...t].reduce((i,s)=>Xo(i,s),{});return fce(Object.keys(n),r)}function ECe(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((i,s)=>{s{e[i]!=null&&(n[i]=!0)}),n}function zb({values:e,breakpoints:t,base:n}){const r=n||ECe(e,t),i=Object.keys(r);if(i.length===0)return e;let s;return i.reduce((a,o,l)=>(Array.isArray(e)?(a[o]=e[l]!=null?e[l]:e[s],s=l):typeof e=="object"?(a[o]=e[o]!=null?e[o]:e[s],s=o):a[o]=e,a),{})}function jt(e){if(typeof e!="string")throw new Error(lm(7));return e.charAt(0).toUpperCase()+e.slice(1)}function b6(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,s)=>i&&i[s]?i[s]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function KR(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=b6(e,n)||r,t&&(i=t(i,r,e)),i}function Ka(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,s=a=>{if(a[t]==null)return null;const o=a[t],l=a.theme,c=b6(l,r)||{};return dc(a,o,f=>{let p=KR(c,i,f);return f===p&&typeof f=="string"&&(p=KR(c,i,`${t}${f==="default"?"":jt(f)}`,f)),n===!1?p:{[n]:p}})};return s.propTypes={},s.filterProps=[t],s}function wCe(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const xCe={m:"margin",p:"padding"},TCe={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},mK={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},kCe=wCe(e=>{if(e.length>2)if(mK[e])e=mK[e];else return[e];const[t,n]=e.split(""),r=xCe[t],i=TCe[n]||"";return Array.isArray(i)?i.map(s=>r+s):[r+i]}),mz=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],gz=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...mz,...gz];function S_(e,t,n,r){const i=b6(e,t,!0)??n;return typeof i=="number"||typeof i=="string"?s=>typeof s=="string"?s:typeof i=="string"?`calc(${s} * ${i})`:i*s:Array.isArray(i)?s=>{if(typeof s=="string")return s;const a=Math.abs(s),o=i[a];return s>=0?o:typeof o=="number"?-o:`-${o}`}:typeof i=="function"?i:()=>{}}function y6(e){return S_(e,"spacing",8)}function ny(e,t){return typeof t=="string"||t==null?t:e(t)}function _Ce(e,t){return n=>e.reduce((r,i)=>(r[i]=ny(t,n),r),{})}function ACe(e,t,n,r){if(!t.includes(n))return null;const i=kCe(n),s=_Ce(i,r),a=e[n];return dc(e,a,s)}function hce(e,t){const n=y6(e.theme);return Object.keys(e).map(r=>ACe(e,t,r,n)).reduce(dT,{})}function Da(e){return hce(e,mz)}Da.propTypes={};Da.filterProps=mz;function Na(e){return hce(e,gz)}Na.propTypes={};Na.filterProps=gz;function pce(e=8,t=y6({spacing:e})){if(e.mui)return e;const n=(...r)=>(r.length===0?[1]:r).map(s=>{const a=t(s);return typeof a=="number"?`${a}px`:a}).join(" ");return n.mui=!0,n}function v6(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(s=>{r[s]=i}),r),{}),n=r=>Object.keys(r).reduce((i,s)=>t[s]?dT(i,t[s](r)):i,{});return n.propTypes={},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function Gd(e){return typeof e!="number"?e:`${e}px solid`}function gf(e,t){return Ka({prop:e,themeKey:"borders",transform:t})}const CCe=gf("border",Gd),RCe=gf("borderTop",Gd),ICe=gf("borderRight",Gd),DCe=gf("borderBottom",Gd),NCe=gf("borderLeft",Gd),PCe=gf("borderColor"),LCe=gf("borderTopColor"),MCe=gf("borderRightColor"),FCe=gf("borderBottomColor"),$Ce=gf("borderLeftColor"),BCe=gf("outline",Gd),UCe=gf("outlineColor"),S6=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=S_(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:ny(t,r)});return dc(e,e.borderRadius,n)}return null};S6.propTypes={};S6.filterProps=["borderRadius"];v6(CCe,RCe,ICe,DCe,NCe,PCe,LCe,MCe,FCe,$Ce,S6,BCe,UCe);const O6=e=>{if(e.gap!==void 0&&e.gap!==null){const t=S_(e.theme,"spacing",8),n=r=>({gap:ny(t,r)});return dc(e,e.gap,n)}return null};O6.propTypes={};O6.filterProps=["gap"];const E6=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=S_(e.theme,"spacing",8),n=r=>({columnGap:ny(t,r)});return dc(e,e.columnGap,n)}return null};E6.propTypes={};E6.filterProps=["columnGap"];const w6=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=S_(e.theme,"spacing",8),n=r=>({rowGap:ny(t,r)});return dc(e,e.rowGap,n)}return null};w6.propTypes={};w6.filterProps=["rowGap"];const zCe=Ka({prop:"gridColumn"}),HCe=Ka({prop:"gridRow"}),qCe=Ka({prop:"gridAutoFlow"}),jCe=Ka({prop:"gridAutoColumns"}),WCe=Ka({prop:"gridAutoRows"}),QCe=Ka({prop:"gridTemplateColumns"}),VCe=Ka({prop:"gridTemplateRows"}),GCe=Ka({prop:"gridTemplateAreas"}),YCe=Ka({prop:"gridArea"});v6(O6,E6,w6,zCe,HCe,qCe,jCe,WCe,QCe,VCe,GCe,YCe);function GS(e,t){return t==="grey"?t:e}const ZCe=Ka({prop:"color",themeKey:"palette",transform:GS}),XCe=Ka({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:GS}),KCe=Ka({prop:"backgroundColor",themeKey:"palette",transform:GS});v6(ZCe,XCe,KCe);function Vc(e){return e<=1&&e!==0?`${e*100}%`:e}const JCe=Ka({prop:"width",transform:Vc}),bz=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var i,s,a,o,l;const r=((a=(s=(i=e.theme)==null?void 0:i.breakpoints)==null?void 0:s.values)==null?void 0:a[n])||g6[n];return r?((l=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Vc(n)}};return dc(e,e.maxWidth,t)}return null};bz.filterProps=["maxWidth"];const e4e=Ka({prop:"minWidth",transform:Vc}),t4e=Ka({prop:"height",transform:Vc}),n4e=Ka({prop:"maxHeight",transform:Vc}),r4e=Ka({prop:"minHeight",transform:Vc});Ka({prop:"size",cssProperty:"width",transform:Vc});Ka({prop:"size",cssProperty:"height",transform:Vc});const i4e=Ka({prop:"boxSizing"});v6(JCe,bz,e4e,t4e,n4e,r4e,i4e);const O_={border:{themeKey:"borders",transform:Gd},borderTop:{themeKey:"borders",transform:Gd},borderRight:{themeKey:"borders",transform:Gd},borderBottom:{themeKey:"borders",transform:Gd},borderLeft:{themeKey:"borders",transform:Gd},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Gd},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:S6},color:{themeKey:"palette",transform:GS},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:GS},backgroundColor:{themeKey:"palette",transform:GS},p:{style:Na},pt:{style:Na},pr:{style:Na},pb:{style:Na},pl:{style:Na},px:{style:Na},py:{style:Na},padding:{style:Na},paddingTop:{style:Na},paddingRight:{style:Na},paddingBottom:{style:Na},paddingLeft:{style:Na},paddingX:{style:Na},paddingY:{style:Na},paddingInline:{style:Na},paddingInlineStart:{style:Na},paddingInlineEnd:{style:Na},paddingBlock:{style:Na},paddingBlockStart:{style:Na},paddingBlockEnd:{style:Na},m:{style:Da},mt:{style:Da},mr:{style:Da},mb:{style:Da},ml:{style:Da},mx:{style:Da},my:{style:Da},margin:{style:Da},marginTop:{style:Da},marginRight:{style:Da},marginBottom:{style:Da},marginLeft:{style:Da},marginX:{style:Da},marginY:{style:Da},marginInline:{style:Da},marginInlineStart:{style:Da},marginInlineEnd:{style:Da},marginBlock:{style:Da},marginBlockStart:{style:Da},marginBlockEnd:{style:Da},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:O6},rowGap:{style:w6},columnGap:{style:E6},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Vc},maxWidth:{style:bz},minWidth:{transform:Vc},height:{transform:Vc},maxHeight:{transform:Vc},minHeight:{transform:Vc},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function s4e(...e){const t=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function a4e(e,t){return typeof e=="function"?e(t):e}function o4e(){function e(n,r,i,s){const a={[n]:r,theme:i},o=s[n];if(!o)return{[n]:r};const{cssProperty:l=n,themeKey:c,transform:d,style:f}=o;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const p=b6(i,c)||{};return f?f(a):dc(a,r,b=>{let w=KR(p,d,b);return b===w&&typeof b=="string"&&(w=KR(p,d,`${n}${b==="default"?"":jt(b)}`,b)),l===!1?w:{[l]:w}})}function t(n){const{sx:r,theme:i={}}=n||{};if(!r)return null;const s=i.unstable_sxConfig??O_;function a(o){let l=o;if(typeof o=="function")l=o(i);else if(typeof o!="object")return o;if(!l)return null;const c=dce(i.breakpoints),d=Object.keys(c);let f=c;return Object.keys(l).forEach(p=>{const g=a4e(l[p],i);if(g!=null)if(typeof g=="object")if(s[p])f=dT(f,e(p,g,i,s));else{const b=dc({theme:i},g,w=>({[p]:w}));s4e(b,g)?f[p]=t({sx:g,theme:i}):f=dT(f,b)}else f=dT(f,e(p,g,i,s))}),mCe(i,fce(d,f))}return Array.isArray(r)?r.map(a):a(r)}return t}const _y=o4e();_y.filterProps=["sx"];function l4e(e,t){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!="function")return{};let i=n.getColorSchemeSelector(e);return i==="&"?t:((i.includes("data-")||i.includes("."))&&(i=`*:where(${i.replace(/\s*&$/,"")}) &`),{[i]:t})}return n.palette.mode===e?t:{}}function SE(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:s={},...a}=e,o=pCe(n),l=pce(i);let c=Xo({breakpoints:o,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:l,shape:{...vCe,...s}},a);return c=yCe(c),c.applyStyles=l4e,c=t.reduce((d,f)=>Xo(d,f),c),c.unstable_sxConfig={...O_,...a==null?void 0:a.unstable_sxConfig},c.unstable_sx=function(f){return _y({sx:f,theme:this})},c}function u4e(e){return Object.keys(e).length===0}function yz(e=null){const t=Y.useContext(m6);return!t||u4e(t)?e:t}const c4e=SE();function E_(e=c4e){return yz(e)}function d4e({styles:e,themeId:t,defaultTheme:n={}}){const r=E_(n),i=typeof e=="function"?e(t&&r[t]||r):e;return U.jsx(lce,{styles:i})}const f4e=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??O_;return Object.keys(e).forEach(i=>{n[i]?t.systemProps[i]=e[i]:t.otherProps[i]=e[i]}),t};function w_(e){const{sx:t,...n}=e,{systemProps:r,otherProps:i}=f4e(n);let s;return Array.isArray(t)?s=[r,...t]:typeof t=="function"?s=(...a)=>{const o=t(...a);return op(o)?{...r,...o}:r}:s={...r,...t},{...i,sx:s}}const gK=e=>e,h4e=()=>{let e=gK;return{configure(t){e=t},generate(t){return e(t)},reset(){e=gK}}},mce=h4e();function gce(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;to!=="theme"&&o!=="sx"&&o!=="as"})(_y);return Y.forwardRef(function(l,c){const d=E_(n),{className:f,component:p="div",...g}=w_(l);return U.jsx(s,{as:p,ref:c,className:cn(f,i?i(r):r),theme:t&&d[t]||d,...g})})}const m4e={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Hn(e,t,n="Mui"){const r=m4e[t];return r?`${n}-${r}`:`${mce.generate(e)}-${t}`}function Yn(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=Hn(e,i,n)}),r}var ys={};/** + */function cce(e,t){return lM(e,t)}const hCe=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function op(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function dce(e){if(!op(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=dce(e[n])}),t}function Xo(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return op(e)&&op(t)&&Object.keys(t).forEach(i=>{op(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&op(e[i])?r[i]=Xo(e[i],t[i],n):n.clone?r[i]=op(t[i])?dce(t[i]):t[i]:r[i]=t[i]}),r}const pCe=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function mCe(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...i}=e,s=pCe(t),a=Object.keys(s);function o(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n})`}function l(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-r/100}${n})`}function c(p,g){const b=a.indexOf(g);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n}) and (max-width:${(b!==-1&&typeof t[a[b]]=="number"?t[a[b]]:g)-r/100}${n})`}function d(p){return a.indexOf(p)+1r.startsWith("@container")).sort((r,i)=>{var a,o;const s=/min-width:\s*([0-9.]+)/;return+(((a=r.match(s))==null?void 0:a[1])||0)-+(((o=i.match(s))==null?void 0:o[1])||0)});return n.length?n.reduce((r,i)=>{const s=t[i];return delete r[i],r[i]=s,r},{...t}):t}function bCe(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function yCe(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,i]=n,s=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(s)}function vCe(e){const t=(s,a)=>s.replace("@media",a?`@container ${a}`:"@container");function n(s,a){s.up=(...o)=>t(e.breakpoints.up(...o),a),s.down=(...o)=>t(e.breakpoints.down(...o),a),s.between=(...o)=>t(e.breakpoints.between(...o),a),s.only=(...o)=>t(e.breakpoints.only(...o),a),s.not=(...o)=>{const l=t(e.breakpoints.not(...o),a);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const r={},i=s=>(n(r,s),r);return n(i),{...e,containerQueries:i}}const SCe={borderRadius:4};function dT(e,t){return t?Xo(e,t,{clone:!1}):e}const g6={xs:0,sm:600,md:900,lg:1200,xl:1536},pK={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${g6[e]}px)`},OCe={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:g6[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function dc(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const s=r.breakpoints||pK;return t.reduce((a,o,l)=>(a[s.up(s.keys[l])]=n(t[l]),a),{})}if(typeof t=="object"){const s=r.breakpoints||pK;return Object.keys(t).reduce((a,o)=>{if(bCe(s.keys,o)){const l=yCe(r.containerQueries?r:OCe,o);l&&(a[l]=n(t[o],o))}else if(Object.keys(s.values||g6).includes(o)){const l=s.up(o);a[l]=n(t[o],o)}else{const l=o;a[l]=t[l]}return a},{})}return n(t)}function fce(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,i)=>{const s=e.up(i);return r[s]={},r},{}))||{}}function hce(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function ECe(e,...t){const n=fce(e),r=[n,...t].reduce((i,s)=>Xo(i,s),{});return hce(Object.keys(n),r)}function wCe(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((i,s)=>{s{e[i]!=null&&(n[i]=!0)}),n}function zb({values:e,breakpoints:t,base:n}){const r=n||wCe(e,t),i=Object.keys(r);if(i.length===0)return e;let s;return i.reduce((a,o,l)=>(Array.isArray(e)?(a[o]=e[l]!=null?e[l]:e[s],s=l):typeof e=="object"?(a[o]=e[o]!=null?e[o]:e[s],s=o):a[o]=e,a),{})}function jt(e){if(typeof e!="string")throw new Error(lm(7));return e.charAt(0).toUpperCase()+e.slice(1)}function b6(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,s)=>i&&i[s]?i[s]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function KR(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=b6(e,n)||r,t&&(i=t(i,r,e)),i}function Ka(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,s=a=>{if(a[t]==null)return null;const o=a[t],l=a.theme,c=b6(l,r)||{};return dc(a,o,f=>{let p=KR(c,i,f);return f===p&&typeof f=="string"&&(p=KR(c,i,`${t}${f==="default"?"":jt(f)}`,f)),n===!1?p:{[n]:p}})};return s.propTypes={},s.filterProps=[t],s}function xCe(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const TCe={m:"margin",p:"padding"},kCe={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},mK={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},_Ce=xCe(e=>{if(e.length>2)if(mK[e])e=mK[e];else return[e];const[t,n]=e.split(""),r=TCe[t],i=kCe[n]||"";return Array.isArray(i)?i.map(s=>r+s):[r+i]}),mz=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],gz=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...mz,...gz];function S_(e,t,n,r){const i=b6(e,t,!0)??n;return typeof i=="number"||typeof i=="string"?s=>typeof s=="string"?s:typeof i=="string"?`calc(${s} * ${i})`:i*s:Array.isArray(i)?s=>{if(typeof s=="string")return s;const a=Math.abs(s),o=i[a];return s>=0?o:typeof o=="number"?-o:`-${o}`}:typeof i=="function"?i:()=>{}}function y6(e){return S_(e,"spacing",8)}function ny(e,t){return typeof t=="string"||t==null?t:e(t)}function ACe(e,t){return n=>e.reduce((r,i)=>(r[i]=ny(t,n),r),{})}function CCe(e,t,n,r){if(!t.includes(n))return null;const i=_Ce(n),s=ACe(i,r),a=e[n];return dc(e,a,s)}function pce(e,t){const n=y6(e.theme);return Object.keys(e).map(r=>CCe(e,t,r,n)).reduce(dT,{})}function Da(e){return pce(e,mz)}Da.propTypes={};Da.filterProps=mz;function Na(e){return pce(e,gz)}Na.propTypes={};Na.filterProps=gz;function mce(e=8,t=y6({spacing:e})){if(e.mui)return e;const n=(...r)=>(r.length===0?[1]:r).map(s=>{const a=t(s);return typeof a=="number"?`${a}px`:a}).join(" ");return n.mui=!0,n}function v6(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(s=>{r[s]=i}),r),{}),n=r=>Object.keys(r).reduce((i,s)=>t[s]?dT(i,t[s](r)):i,{});return n.propTypes={},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function Gd(e){return typeof e!="number"?e:`${e}px solid`}function gf(e,t){return Ka({prop:e,themeKey:"borders",transform:t})}const RCe=gf("border",Gd),ICe=gf("borderTop",Gd),DCe=gf("borderRight",Gd),NCe=gf("borderBottom",Gd),PCe=gf("borderLeft",Gd),LCe=gf("borderColor"),MCe=gf("borderTopColor"),FCe=gf("borderRightColor"),$Ce=gf("borderBottomColor"),BCe=gf("borderLeftColor"),UCe=gf("outline",Gd),zCe=gf("outlineColor"),S6=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=S_(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:ny(t,r)});return dc(e,e.borderRadius,n)}return null};S6.propTypes={};S6.filterProps=["borderRadius"];v6(RCe,ICe,DCe,NCe,PCe,LCe,MCe,FCe,$Ce,BCe,S6,UCe,zCe);const O6=e=>{if(e.gap!==void 0&&e.gap!==null){const t=S_(e.theme,"spacing",8),n=r=>({gap:ny(t,r)});return dc(e,e.gap,n)}return null};O6.propTypes={};O6.filterProps=["gap"];const E6=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=S_(e.theme,"spacing",8),n=r=>({columnGap:ny(t,r)});return dc(e,e.columnGap,n)}return null};E6.propTypes={};E6.filterProps=["columnGap"];const w6=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=S_(e.theme,"spacing",8),n=r=>({rowGap:ny(t,r)});return dc(e,e.rowGap,n)}return null};w6.propTypes={};w6.filterProps=["rowGap"];const HCe=Ka({prop:"gridColumn"}),qCe=Ka({prop:"gridRow"}),jCe=Ka({prop:"gridAutoFlow"}),WCe=Ka({prop:"gridAutoColumns"}),QCe=Ka({prop:"gridAutoRows"}),VCe=Ka({prop:"gridTemplateColumns"}),GCe=Ka({prop:"gridTemplateRows"}),YCe=Ka({prop:"gridTemplateAreas"}),ZCe=Ka({prop:"gridArea"});v6(O6,E6,w6,HCe,qCe,jCe,WCe,QCe,VCe,GCe,YCe,ZCe);function GS(e,t){return t==="grey"?t:e}const XCe=Ka({prop:"color",themeKey:"palette",transform:GS}),KCe=Ka({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:GS}),JCe=Ka({prop:"backgroundColor",themeKey:"palette",transform:GS});v6(XCe,KCe,JCe);function Gc(e){return e<=1&&e!==0?`${e*100}%`:e}const e4e=Ka({prop:"width",transform:Gc}),bz=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var i,s,a,o,l;const r=((a=(s=(i=e.theme)==null?void 0:i.breakpoints)==null?void 0:s.values)==null?void 0:a[n])||g6[n];return r?((l=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Gc(n)}};return dc(e,e.maxWidth,t)}return null};bz.filterProps=["maxWidth"];const t4e=Ka({prop:"minWidth",transform:Gc}),n4e=Ka({prop:"height",transform:Gc}),r4e=Ka({prop:"maxHeight",transform:Gc}),i4e=Ka({prop:"minHeight",transform:Gc});Ka({prop:"size",cssProperty:"width",transform:Gc});Ka({prop:"size",cssProperty:"height",transform:Gc});const s4e=Ka({prop:"boxSizing"});v6(e4e,bz,t4e,n4e,r4e,i4e,s4e);const O_={border:{themeKey:"borders",transform:Gd},borderTop:{themeKey:"borders",transform:Gd},borderRight:{themeKey:"borders",transform:Gd},borderBottom:{themeKey:"borders",transform:Gd},borderLeft:{themeKey:"borders",transform:Gd},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Gd},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:S6},color:{themeKey:"palette",transform:GS},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:GS},backgroundColor:{themeKey:"palette",transform:GS},p:{style:Na},pt:{style:Na},pr:{style:Na},pb:{style:Na},pl:{style:Na},px:{style:Na},py:{style:Na},padding:{style:Na},paddingTop:{style:Na},paddingRight:{style:Na},paddingBottom:{style:Na},paddingLeft:{style:Na},paddingX:{style:Na},paddingY:{style:Na},paddingInline:{style:Na},paddingInlineStart:{style:Na},paddingInlineEnd:{style:Na},paddingBlock:{style:Na},paddingBlockStart:{style:Na},paddingBlockEnd:{style:Na},m:{style:Da},mt:{style:Da},mr:{style:Da},mb:{style:Da},ml:{style:Da},mx:{style:Da},my:{style:Da},margin:{style:Da},marginTop:{style:Da},marginRight:{style:Da},marginBottom:{style:Da},marginLeft:{style:Da},marginX:{style:Da},marginY:{style:Da},marginInline:{style:Da},marginInlineStart:{style:Da},marginInlineEnd:{style:Da},marginBlock:{style:Da},marginBlockStart:{style:Da},marginBlockEnd:{style:Da},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:O6},rowGap:{style:w6},columnGap:{style:E6},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Gc},maxWidth:{style:bz},minWidth:{transform:Gc},height:{transform:Gc},maxHeight:{transform:Gc},minHeight:{transform:Gc},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function a4e(...e){const t=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function o4e(e,t){return typeof e=="function"?e(t):e}function l4e(){function e(n,r,i,s){const a={[n]:r,theme:i},o=s[n];if(!o)return{[n]:r};const{cssProperty:l=n,themeKey:c,transform:d,style:f}=o;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const p=b6(i,c)||{};return f?f(a):dc(a,r,b=>{let w=KR(p,d,b);return b===w&&typeof b=="string"&&(w=KR(p,d,`${n}${b==="default"?"":jt(b)}`,b)),l===!1?w:{[l]:w}})}function t(n){const{sx:r,theme:i={}}=n||{};if(!r)return null;const s=i.unstable_sxConfig??O_;function a(o){let l=o;if(typeof o=="function")l=o(i);else if(typeof o!="object")return o;if(!l)return null;const c=fce(i.breakpoints),d=Object.keys(c);let f=c;return Object.keys(l).forEach(p=>{const g=o4e(l[p],i);if(g!=null)if(typeof g=="object")if(s[p])f=dT(f,e(p,g,i,s));else{const b=dc({theme:i},g,w=>({[p]:w}));a4e(b,g)?f[p]=t({sx:g,theme:i}):f=dT(f,b)}else f=dT(f,e(p,g,i,s))}),gCe(i,hce(d,f))}return Array.isArray(r)?r.map(a):a(r)}return t}const _y=l4e();_y.filterProps=["sx"];function u4e(e,t){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!="function")return{};let i=n.getColorSchemeSelector(e);return i==="&"?t:((i.includes("data-")||i.includes("."))&&(i=`*:where(${i.replace(/\s*&$/,"")}) &`),{[i]:t})}return n.palette.mode===e?t:{}}function SE(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:s={},...a}=e,o=mCe(n),l=mce(i);let c=Xo({breakpoints:o,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:l,shape:{...SCe,...s}},a);return c=vCe(c),c.applyStyles=u4e,c=t.reduce((d,f)=>Xo(d,f),c),c.unstable_sxConfig={...O_,...a==null?void 0:a.unstable_sxConfig},c.unstable_sx=function(f){return _y({sx:f,theme:this})},c}function c4e(e){return Object.keys(e).length===0}function yz(e=null){const t=Y.useContext(m6);return!t||c4e(t)?e:t}const d4e=SE();function E_(e=d4e){return yz(e)}function f4e({styles:e,themeId:t,defaultTheme:n={}}){const r=E_(n),i=typeof e=="function"?e(t&&r[t]||r):e;return U.jsx(uce,{styles:i})}const h4e=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??O_;return Object.keys(e).forEach(i=>{n[i]?t.systemProps[i]=e[i]:t.otherProps[i]=e[i]}),t};function w_(e){const{sx:t,...n}=e,{systemProps:r,otherProps:i}=h4e(n);let s;return Array.isArray(t)?s=[r,...t]:typeof t=="function"?s=(...a)=>{const o=t(...a);return op(o)?{...r,...o}:r}:s={...r,...t},{...i,sx:s}}const gK=e=>e,p4e=()=>{let e=gK;return{configure(t){e=t},generate(t){return e(t)},reset(){e=gK}}},gce=p4e();function bce(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;to!=="theme"&&o!=="sx"&&o!=="as"})(_y);return Y.forwardRef(function(l,c){const d=E_(n),{className:f,component:p="div",...g}=w_(l);return U.jsx(s,{as:p,ref:c,className:cn(f,i?i(r):r),theme:t&&d[t]||d,...g})})}const g4e={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Hn(e,t,n="Mui"){const r=g4e[t];return r?`${n}-${r}`:`${gce.generate(e)}-${t}`}function Yn(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=Hn(e,i,n)}),r}var ys={};/** * @license React * react-is.production.min.js * @@ -58,7 +58,7 @@ Error generating stack: `+s.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var vz=Symbol.for("react.element"),Sz=Symbol.for("react.portal"),x6=Symbol.for("react.fragment"),T6=Symbol.for("react.strict_mode"),k6=Symbol.for("react.profiler"),_6=Symbol.for("react.provider"),A6=Symbol.for("react.context"),g4e=Symbol.for("react.server_context"),C6=Symbol.for("react.forward_ref"),R6=Symbol.for("react.suspense"),I6=Symbol.for("react.suspense_list"),D6=Symbol.for("react.memo"),N6=Symbol.for("react.lazy"),b4e=Symbol.for("react.offscreen"),bce;bce=Symbol.for("react.module.reference");function bf(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case vz:switch(e=e.type,e){case x6:case k6:case T6:case R6:case I6:return e;default:switch(e=e&&e.$$typeof,e){case g4e:case A6:case C6:case N6:case D6:case _6:return e;default:return t}}case Sz:return t}}}ys.ContextConsumer=A6;ys.ContextProvider=_6;ys.Element=vz;ys.ForwardRef=C6;ys.Fragment=x6;ys.Lazy=N6;ys.Memo=D6;ys.Portal=Sz;ys.Profiler=k6;ys.StrictMode=T6;ys.Suspense=R6;ys.SuspenseList=I6;ys.isAsyncMode=function(){return!1};ys.isConcurrentMode=function(){return!1};ys.isContextConsumer=function(e){return bf(e)===A6};ys.isContextProvider=function(e){return bf(e)===_6};ys.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===vz};ys.isForwardRef=function(e){return bf(e)===C6};ys.isFragment=function(e){return bf(e)===x6};ys.isLazy=function(e){return bf(e)===N6};ys.isMemo=function(e){return bf(e)===D6};ys.isPortal=function(e){return bf(e)===Sz};ys.isProfiler=function(e){return bf(e)===k6};ys.isStrictMode=function(e){return bf(e)===T6};ys.isSuspense=function(e){return bf(e)===R6};ys.isSuspenseList=function(e){return bf(e)===I6};ys.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===x6||e===k6||e===T6||e===R6||e===I6||e===b4e||typeof e=="object"&&e!==null&&(e.$$typeof===N6||e.$$typeof===D6||e.$$typeof===_6||e.$$typeof===A6||e.$$typeof===C6||e.$$typeof===bce||e.getModuleId!==void 0)};ys.typeOf=bf;const y4e=SE();function Z7(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function uM(e,t,n){return S4e(t)?n:t[e]||t}const ZC=Symbol("mui.processed_props");function XC(e,t,n){if(ZC in e)return e[ZC];const r={...e,theme:uM(t,e.theme,n)};return e[ZC]=r,r[ZC]=r,r}function v4e(e){return e?(t,n)=>n[e]:null}function M3(e,t){var r;const n=typeof e=="function"?e(t):e;if(Array.isArray(n))return n.flatMap(i=>M3(i,t));if(Array.isArray(n==null?void 0:n.variants)){const{variants:i,...s}=n;let a=s,o;e:for(let l=0;l_y(XC(o,t,n));return s.__mui_systemSx=!0,(o,l={})=>{fCe(o,$=>$.filter(B=>!(B!=null&&B.__mui_systemSx)));const{name:c,slot:d,skipVariantsResolver:f,skipSx:p,overridesResolver:g=v4e(E4e(d)),...b}=l,w=f!==void 0?f:d&&d!=="Root"&&d!=="root"||!1,x=p||!1;let T,_=Z7;d==="Root"||d==="root"?_=r:d?_=i:O4e(o)&&(_=void 0);const C=uce(o,{shouldForwardProp:_,label:T,...b}),I=$=>typeof $=="function"&&$.__emotion_real!==$||op($)?B=>M3($,XC(B,t,n)):$,M=($,...B)=>{let j=I($);const F=B?B.map(I):[];c&&g&&F.push(se=>{const me=uM(t,se.theme,n);if(!me.components||!me.components[c]||!me.components[c].styleOverrides)return null;const fe=me.components[c].styleOverrides,le={},ye=XC(se,t,n);for(const ae in fe)le[ae]=M3(fe[ae],ye);return g(se,le)}),c&&!w&&F.push(se=>{var le,ye;const me=uM(t,se.theme,n),fe=(ye=(le=me==null?void 0:me.components)==null?void 0:le[c])==null?void 0:ye.variants;return fe?M3({variants:fe},XC(se,t,n)):null}),x||F.push(s);const V=F.length-B.length;if(Array.isArray($)&&V>0){const se=new Array(V).fill("");j=[...$,...se],j.raw=[...$.raw,...se]}const ie=C(j,...F);return o.muiName&&(ie.muiName=o.muiName),ie};return C.withConfig&&(M.withConfig=C.withConfig),M}}function S4e(e){for(const t in e)return!1;return!0}function O4e(e){return typeof e=="string"&&e.charCodeAt(0)>96}function E4e(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const Oz=yce();function MO(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const i=r;if(i==="components"||i==="slots")n[i]={...e[i],...n[i]};else if(i==="componentsProps"||i==="slotProps"){const s=e[i],a=t[i];if(!a)n[i]=s||{};else if(!s)n[i]=a;else{n[i]={...a};for(const o in s)if(Object.prototype.hasOwnProperty.call(s,o)){const l=o;n[i][l]=MO(s[l],a[l])}}}else n[i]===void 0&&(n[i]=e[i])}return n}function vce(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:MO(t.components[n].defaultProps,r)}function P6({props:e,name:t,defaultTheme:n,themeId:r}){let i=E_(n);return r&&(i=i[r]||i),vce({theme:i,name:t,props:e})}const ld=typeof window<"u"?Y.useLayoutEffect:Y.useEffect;function w4e(e,t,n,r,i){const[s,a]=Y.useState(()=>i&&n?n(e).matches:r?r(e).matches:t);return ld(()=>{if(!n)return;const o=n(e),l=()=>{a(o.matches)};return l(),o.addEventListener("change",l),()=>{o.removeEventListener("change",l)}},[e,n]),s}const x4e={...Zb},Sce=x4e.useSyncExternalStore;function T4e(e,t,n,r,i){const s=Y.useCallback(()=>t,[t]),a=Y.useMemo(()=>{if(i&&n)return()=>n(e).matches;if(r!==null){const{matches:d}=r(e);return()=>d}return s},[s,e,r,i,n]),[o,l]=Y.useMemo(()=>{if(n===null)return[s,()=>()=>{}];const d=n(e);return[()=>d.matches,f=>(d.addEventListener("change",f),()=>{d.removeEventListener("change",f)})]},[s,n,e]);return Sce(l,o,a)}function Oce(e,t={}){const n=yz(),r=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:i=!1,matchMedia:s=r?window.matchMedia:null,ssrMatchMedia:a=null,noSsr:o=!1}=vce({name:"MuiUseMediaQuery",props:t,theme:n});let l=e;return l=l.replace(/^@media( ?)/m,""),(Sce!==void 0?T4e:w4e)(l,i,s,a,o)}function nS(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function Ez(e,t=0,n=1){return nS(e,t,n)}function k4e(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function l1(e){if(e.type)return e;if(e.charAt(0)==="#")return l1(k4e(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(lm(9,e));let r=e.substring(t+1,e.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(i))throw new Error(lm(10,i))}else r=r.split(",");return r=r.map(s=>parseFloat(s)),{type:n,values:r,colorSpace:i}}const _4e=e=>{const t=l1(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},$w=(e,t)=>{try{return _4e(e)}catch{return e}};function L6(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((i,s)=>s<3?parseInt(i,10):i):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function Ece(e){e=l1(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,s=r*Math.min(i,1-i),a=(c,d=(c+n/30)%12)=>i-s*Math.max(Math.min(d-3,9-d,1),-1);let o="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(o+="a",l.push(t[3])),L6({type:o,values:l})}function cM(e){e=l1(e);let t=e.type==="hsl"||e.type==="hsla"?l1(Ece(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function A4e(e,t){const n=cM(e),r=cM(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function mr(e,t){return e=l1(e),t=Ez(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,L6(e)}function KC(e,t,n){try{return mr(e,t)}catch{return e}}function ry(e,t){if(e=l1(e),t=Ez(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return L6(e)}function ws(e,t,n){try{return ry(e,t)}catch{return e}}function iy(e,t){if(e=l1(e),t=Ez(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return L6(e)}function xs(e,t,n){try{return iy(e,t)}catch{return e}}function C4e(e,t=.15){return cM(e)>.5?ry(e,t):iy(e,t)}function JC(e,t,n){try{return C4e(e,t)}catch{return e}}function dM(...e){return e.reduce((t,n)=>n==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function wce(e,t=166){let n;function r(...i){const s=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(s,t)}return r.clear=()=>{clearTimeout(n)},r}function fT(e,t){var n,r,i;return Y.isValidElement(e)&&t.indexOf(e.type.muiName??((i=(r=(n=e.type)==null?void 0:n._payload)==null?void 0:r.value)==null?void 0:i.muiName))!==-1}function Io(e){return e&&e.ownerDocument||document}function sy(e){return Io(e).defaultView||window}function JR(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let bK=0;function R4e(e){const[t,n]=Y.useState(e),r=e||t;return Y.useEffect(()=>{t==null&&(bK+=1,n(`mui-${bK}`))},[t]),r}const I4e={...Zb},yK=I4e.useId;function x_(e){if(yK!==void 0){const t=yK();return e??t}return R4e(e)}function X0({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=Y.useRef(e!==void 0),[s,a]=Y.useState(t),o=i?e:s,l=Y.useCallback(c=>{i||a(c)},[]);return[o,l]}function vu(e){const t=Y.useRef(e);return ld(()=>{t.current=e}),Y.useRef((...n)=>(0,t.current)(...n)).current}function $i(...e){return Y.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{JR(n,t)})},e)}const vK={};function xce(e,t){const n=Y.useRef(vK);return n.current===vK&&(n.current=e(t)),n}const D4e=[];function N4e(e){Y.useEffect(e,D4e)}class M6{constructor(){Qa(this,"currentId",null);Qa(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Qa(this,"disposeEffect",()=>this.clear)}static create(){return new M6}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Sb(){const e=xce(M6.create).current;return N4e(e.disposeEffect),e}function FO(e){try{return e.matches(":focus-visible")}catch{}return!1}function Tce(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const P4e=e=>{const t=Y.useRef({});return Y.useEffect(()=>{t.current=e}),t.current};function L4e(e){return Y.Children.toArray(e).filter(t=>Y.isValidElement(t))}const M4e={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function Vn(e,t,n=void 0){const r={};for(const i in e){const s=e[i];let a="",o=!0;for(let l=0;lr.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function SK(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function kce(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:s}=e;if(!t){const g=cn(n==null?void 0:n.className,s,i==null?void 0:i.className,r==null?void 0:r.className),b={...n==null?void 0:n.style,...i==null?void 0:i.style,...r==null?void 0:r.style},w={...n,...i,...r};return g.length>0&&(w.className=g),Object.keys(b).length>0&&(w.style=b),{props:w,internalRef:void 0}}const a=hT({...i,...r}),o=SK(r),l=SK(i),c=t(a),d=cn(c==null?void 0:c.className,n==null?void 0:n.className,s,i==null?void 0:i.className,r==null?void 0:r.className),f={...c==null?void 0:c.style,...n==null?void 0:n.style,...i==null?void 0:i.style,...r==null?void 0:r.style},p={...c,...n,...l,...o};return d.length>0&&(p.className=d),Object.keys(f).length>0&&(p.style=f),{props:p,internalRef:c.ref}}function _ce(e,t,n){return typeof e=="function"?e(t,n):e}function Qf(e){var f;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:i=!1,...s}=e,a=i?{}:_ce(n,r),{props:o,internalRef:l}=kce({...s,externalSlotProps:a}),c=$i(l,a==null?void 0:a.ref,(f=e.additionalProps)==null?void 0:f.ref);return _S(t,{...o,ref:c},r)}function OE(e){return!e||!Y.isValidElement(e)?null:e.props.propertyIsEnumerable("ref")?e.props.ref:e.ref}const Ace=Y.createContext(null);function wz(){return Y.useContext(Ace)}const $4e=typeof Symbol=="function"&&Symbol.for,B4e=$4e?Symbol.for("mui.nested"):"__THEME_NESTED__";function U4e(e,t){return typeof t=="function"?t(e):{...e,...t}}function z4e(e){const{children:t,theme:n}=e,r=wz(),i=Y.useMemo(()=>{const s=r===null?{...n}:U4e(r,n);return s!=null&&(s[B4e]=r!==null),s},[n,r]);return U.jsx(Ace.Provider,{value:i,children:t})}const Cce=Y.createContext();function H4e({value:e,...t}){return U.jsx(Cce.Provider,{value:e??!0,...t})}const F6=()=>Y.useContext(Cce)??!1,Rce=Y.createContext(void 0);function q4e({value:e,children:t}){return U.jsx(Rce.Provider,{value:e,children:t})}function j4e(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const i=t.components[n];return i.defaultProps?MO(i.defaultProps,r):!i.styleOverrides&&!i.variants?MO(i,r):r}function W4e({props:e,name:t}){const n=Y.useContext(Rce);return j4e({props:e,name:t,theme:{components:n}})}const OK={};function EK(e,t,n,r=!1){return Y.useMemo(()=>{const i=e&&t[e]||t;if(typeof n=="function"){const s=n(i),a=e?{...t,[e]:s}:s;return r?()=>a:a}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function Ice(e){const{children:t,theme:n,themeId:r}=e,i=yz(OK),s=wz()||OK,a=EK(r,i,n),o=EK(r,s,n,!0),l=a.direction==="rtl";return U.jsx(z4e,{theme:o,children:U.jsx(m6.Provider,{value:a,children:U.jsx(H4e,{value:l,children:U.jsx(q4e,{value:a==null?void 0:a.components,children:t})})})})}const xz="mode",Tz="color-scheme",Q4e="data-color-scheme";function V4e(e){const{defaultLightColorScheme:t="light",defaultDarkColorScheme:n="dark",modeStorageKey:r=xz,colorSchemeStorageKey:i=Tz,attribute:s=Q4e,colorSchemeNode:a="document.documentElement",nonce:o}=e||{};let l="",c=s;if(s==="class"&&(c=".%s"),s==="data"&&(c="[data-%s]"),c.startsWith(".")){const f=c.substring(1);l+=`${a}.classList.remove('${f}'.replace('%s', light), '${f}'.replace('%s', dark)); + */var vz=Symbol.for("react.element"),Sz=Symbol.for("react.portal"),x6=Symbol.for("react.fragment"),T6=Symbol.for("react.strict_mode"),k6=Symbol.for("react.profiler"),_6=Symbol.for("react.provider"),A6=Symbol.for("react.context"),b4e=Symbol.for("react.server_context"),C6=Symbol.for("react.forward_ref"),R6=Symbol.for("react.suspense"),I6=Symbol.for("react.suspense_list"),D6=Symbol.for("react.memo"),N6=Symbol.for("react.lazy"),y4e=Symbol.for("react.offscreen"),yce;yce=Symbol.for("react.module.reference");function bf(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case vz:switch(e=e.type,e){case x6:case k6:case T6:case R6:case I6:return e;default:switch(e=e&&e.$$typeof,e){case b4e:case A6:case C6:case N6:case D6:case _6:return e;default:return t}}case Sz:return t}}}ys.ContextConsumer=A6;ys.ContextProvider=_6;ys.Element=vz;ys.ForwardRef=C6;ys.Fragment=x6;ys.Lazy=N6;ys.Memo=D6;ys.Portal=Sz;ys.Profiler=k6;ys.StrictMode=T6;ys.Suspense=R6;ys.SuspenseList=I6;ys.isAsyncMode=function(){return!1};ys.isConcurrentMode=function(){return!1};ys.isContextConsumer=function(e){return bf(e)===A6};ys.isContextProvider=function(e){return bf(e)===_6};ys.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===vz};ys.isForwardRef=function(e){return bf(e)===C6};ys.isFragment=function(e){return bf(e)===x6};ys.isLazy=function(e){return bf(e)===N6};ys.isMemo=function(e){return bf(e)===D6};ys.isPortal=function(e){return bf(e)===Sz};ys.isProfiler=function(e){return bf(e)===k6};ys.isStrictMode=function(e){return bf(e)===T6};ys.isSuspense=function(e){return bf(e)===R6};ys.isSuspenseList=function(e){return bf(e)===I6};ys.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===x6||e===k6||e===T6||e===R6||e===I6||e===y4e||typeof e=="object"&&e!==null&&(e.$$typeof===N6||e.$$typeof===D6||e.$$typeof===_6||e.$$typeof===A6||e.$$typeof===C6||e.$$typeof===yce||e.getModuleId!==void 0)};ys.typeOf=bf;const v4e=SE();function Z7(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function uM(e,t,n){return O4e(t)?n:t[e]||t}const ZC=Symbol("mui.processed_props");function XC(e,t,n){if(ZC in e)return e[ZC];const r={...e,theme:uM(t,e.theme,n)};return e[ZC]=r,r[ZC]=r,r}function S4e(e){return e?(t,n)=>n[e]:null}function M3(e,t){var r;const n=typeof e=="function"?e(t):e;if(Array.isArray(n))return n.flatMap(i=>M3(i,t));if(Array.isArray(n==null?void 0:n.variants)){const{variants:i,...s}=n;let a=s,o;e:for(let l=0;l_y(XC(o,t,n));return s.__mui_systemSx=!0,(o,l={})=>{hCe(o,$=>$.filter(B=>!(B!=null&&B.__mui_systemSx)));const{name:c,slot:d,skipVariantsResolver:f,skipSx:p,overridesResolver:g=S4e(w4e(d)),...b}=l,w=f!==void 0?f:d&&d!=="Root"&&d!=="root"||!1,x=p||!1;let T,_=Z7;d==="Root"||d==="root"?_=r:d?_=i:E4e(o)&&(_=void 0);const C=cce(o,{shouldForwardProp:_,label:T,...b}),I=$=>typeof $=="function"&&$.__emotion_real!==$||op($)?B=>M3($,XC(B,t,n)):$,M=($,...B)=>{let j=I($);const F=B?B.map(I):[];c&&g&&F.push(se=>{const me=uM(t,se.theme,n);if(!me.components||!me.components[c]||!me.components[c].styleOverrides)return null;const fe=me.components[c].styleOverrides,le={},ye=XC(se,t,n);for(const ae in fe)le[ae]=M3(fe[ae],ye);return g(se,le)}),c&&!w&&F.push(se=>{var le,ye;const me=uM(t,se.theme,n),fe=(ye=(le=me==null?void 0:me.components)==null?void 0:le[c])==null?void 0:ye.variants;return fe?M3({variants:fe},XC(se,t,n)):null}),x||F.push(s);const V=F.length-B.length;if(Array.isArray($)&&V>0){const se=new Array(V).fill("");j=[...$,...se],j.raw=[...$.raw,...se]}const ie=C(j,...F);return o.muiName&&(ie.muiName=o.muiName),ie};return C.withConfig&&(M.withConfig=C.withConfig),M}}function O4e(e){for(const t in e)return!1;return!0}function E4e(e){return typeof e=="string"&&e.charCodeAt(0)>96}function w4e(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const Oz=vce();function MO(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const i=r;if(i==="components"||i==="slots")n[i]={...e[i],...n[i]};else if(i==="componentsProps"||i==="slotProps"){const s=e[i],a=t[i];if(!a)n[i]=s||{};else if(!s)n[i]=a;else{n[i]={...a};for(const o in s)if(Object.prototype.hasOwnProperty.call(s,o)){const l=o;n[i][l]=MO(s[l],a[l])}}}else n[i]===void 0&&(n[i]=e[i])}return n}function Sce(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:MO(t.components[n].defaultProps,r)}function P6({props:e,name:t,defaultTheme:n,themeId:r}){let i=E_(n);return r&&(i=i[r]||i),Sce({theme:i,name:t,props:e})}const ud=typeof window<"u"?Y.useLayoutEffect:Y.useEffect;function x4e(e,t,n,r,i){const[s,a]=Y.useState(()=>i&&n?n(e).matches:r?r(e).matches:t);return ud(()=>{if(!n)return;const o=n(e),l=()=>{a(o.matches)};return l(),o.addEventListener("change",l),()=>{o.removeEventListener("change",l)}},[e,n]),s}const T4e={...Zb},Oce=T4e.useSyncExternalStore;function k4e(e,t,n,r,i){const s=Y.useCallback(()=>t,[t]),a=Y.useMemo(()=>{if(i&&n)return()=>n(e).matches;if(r!==null){const{matches:d}=r(e);return()=>d}return s},[s,e,r,i,n]),[o,l]=Y.useMemo(()=>{if(n===null)return[s,()=>()=>{}];const d=n(e);return[()=>d.matches,f=>(d.addEventListener("change",f),()=>{d.removeEventListener("change",f)})]},[s,n,e]);return Oce(l,o,a)}function Ece(e,t={}){const n=yz(),r=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:i=!1,matchMedia:s=r?window.matchMedia:null,ssrMatchMedia:a=null,noSsr:o=!1}=Sce({name:"MuiUseMediaQuery",props:t,theme:n});let l=e;return l=l.replace(/^@media( ?)/m,""),(Oce!==void 0?k4e:x4e)(l,i,s,a,o)}function nS(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function Ez(e,t=0,n=1){return nS(e,t,n)}function _4e(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function l1(e){if(e.type)return e;if(e.charAt(0)==="#")return l1(_4e(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(lm(9,e));let r=e.substring(t+1,e.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(i))throw new Error(lm(10,i))}else r=r.split(",");return r=r.map(s=>parseFloat(s)),{type:n,values:r,colorSpace:i}}const A4e=e=>{const t=l1(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},$w=(e,t)=>{try{return A4e(e)}catch{return e}};function L6(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((i,s)=>s<3?parseInt(i,10):i):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function wce(e){e=l1(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,s=r*Math.min(i,1-i),a=(c,d=(c+n/30)%12)=>i-s*Math.max(Math.min(d-3,9-d,1),-1);let o="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(o+="a",l.push(t[3])),L6({type:o,values:l})}function cM(e){e=l1(e);let t=e.type==="hsl"||e.type==="hsla"?l1(wce(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function C4e(e,t){const n=cM(e),r=cM(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function mr(e,t){return e=l1(e),t=Ez(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,L6(e)}function KC(e,t,n){try{return mr(e,t)}catch{return e}}function ry(e,t){if(e=l1(e),t=Ez(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return L6(e)}function ws(e,t,n){try{return ry(e,t)}catch{return e}}function iy(e,t){if(e=l1(e),t=Ez(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return L6(e)}function xs(e,t,n){try{return iy(e,t)}catch{return e}}function R4e(e,t=.15){return cM(e)>.5?ry(e,t):iy(e,t)}function JC(e,t,n){try{return R4e(e,t)}catch{return e}}function dM(...e){return e.reduce((t,n)=>n==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function xce(e,t=166){let n;function r(...i){const s=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(s,t)}return r.clear=()=>{clearTimeout(n)},r}function fT(e,t){var n,r,i;return Y.isValidElement(e)&&t.indexOf(e.type.muiName??((i=(r=(n=e.type)==null?void 0:n._payload)==null?void 0:r.value)==null?void 0:i.muiName))!==-1}function Io(e){return e&&e.ownerDocument||document}function sy(e){return Io(e).defaultView||window}function JR(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let bK=0;function I4e(e){const[t,n]=Y.useState(e),r=e||t;return Y.useEffect(()=>{t==null&&(bK+=1,n(`mui-${bK}`))},[t]),r}const D4e={...Zb},yK=D4e.useId;function x_(e){if(yK!==void 0){const t=yK();return e??t}return I4e(e)}function X0({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=Y.useRef(e!==void 0),[s,a]=Y.useState(t),o=i?e:s,l=Y.useCallback(c=>{i||a(c)},[]);return[o,l]}function vu(e){const t=Y.useRef(e);return ud(()=>{t.current=e}),Y.useRef((...n)=>(0,t.current)(...n)).current}function $i(...e){return Y.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{JR(n,t)})},e)}const vK={};function Tce(e,t){const n=Y.useRef(vK);return n.current===vK&&(n.current=e(t)),n}const N4e=[];function P4e(e){Y.useEffect(e,N4e)}class M6{constructor(){Qa(this,"currentId",null);Qa(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Qa(this,"disposeEffect",()=>this.clear)}static create(){return new M6}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Sb(){const e=Tce(M6.create).current;return P4e(e.disposeEffect),e}function FO(e){try{return e.matches(":focus-visible")}catch{}return!1}function kce(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const L4e=e=>{const t=Y.useRef({});return Y.useEffect(()=>{t.current=e}),t.current};function M4e(e){return Y.Children.toArray(e).filter(t=>Y.isValidElement(t))}const F4e={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function Vn(e,t,n=void 0){const r={};for(const i in e){const s=e[i];let a="",o=!0;for(let l=0;lr.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function SK(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function _ce(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:s}=e;if(!t){const g=cn(n==null?void 0:n.className,s,i==null?void 0:i.className,r==null?void 0:r.className),b={...n==null?void 0:n.style,...i==null?void 0:i.style,...r==null?void 0:r.style},w={...n,...i,...r};return g.length>0&&(w.className=g),Object.keys(b).length>0&&(w.style=b),{props:w,internalRef:void 0}}const a=hT({...i,...r}),o=SK(r),l=SK(i),c=t(a),d=cn(c==null?void 0:c.className,n==null?void 0:n.className,s,i==null?void 0:i.className,r==null?void 0:r.className),f={...c==null?void 0:c.style,...n==null?void 0:n.style,...i==null?void 0:i.style,...r==null?void 0:r.style},p={...c,...n,...l,...o};return d.length>0&&(p.className=d),Object.keys(f).length>0&&(p.style=f),{props:p,internalRef:c.ref}}function Ace(e,t,n){return typeof e=="function"?e(t,n):e}function Qf(e){var f;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:i=!1,...s}=e,a=i?{}:Ace(n,r),{props:o,internalRef:l}=_ce({...s,externalSlotProps:a}),c=$i(l,a==null?void 0:a.ref,(f=e.additionalProps)==null?void 0:f.ref);return _S(t,{...o,ref:c},r)}function OE(e){return!e||!Y.isValidElement(e)?null:e.props.propertyIsEnumerable("ref")?e.props.ref:e.ref}const Cce=Y.createContext(null);function wz(){return Y.useContext(Cce)}const B4e=typeof Symbol=="function"&&Symbol.for,U4e=B4e?Symbol.for("mui.nested"):"__THEME_NESTED__";function z4e(e,t){return typeof t=="function"?t(e):{...e,...t}}function H4e(e){const{children:t,theme:n}=e,r=wz(),i=Y.useMemo(()=>{const s=r===null?{...n}:z4e(r,n);return s!=null&&(s[U4e]=r!==null),s},[n,r]);return U.jsx(Cce.Provider,{value:i,children:t})}const Rce=Y.createContext();function q4e({value:e,...t}){return U.jsx(Rce.Provider,{value:e??!0,...t})}const F6=()=>Y.useContext(Rce)??!1,Ice=Y.createContext(void 0);function j4e({value:e,children:t}){return U.jsx(Ice.Provider,{value:e,children:t})}function W4e(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const i=t.components[n];return i.defaultProps?MO(i.defaultProps,r):!i.styleOverrides&&!i.variants?MO(i,r):r}function Q4e({props:e,name:t}){const n=Y.useContext(Ice);return W4e({props:e,name:t,theme:{components:n}})}const OK={};function EK(e,t,n,r=!1){return Y.useMemo(()=>{const i=e&&t[e]||t;if(typeof n=="function"){const s=n(i),a=e?{...t,[e]:s}:s;return r?()=>a:a}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function Dce(e){const{children:t,theme:n,themeId:r}=e,i=yz(OK),s=wz()||OK,a=EK(r,i,n),o=EK(r,s,n,!0),l=a.direction==="rtl";return U.jsx(H4e,{theme:o,children:U.jsx(m6.Provider,{value:a,children:U.jsx(q4e,{value:l,children:U.jsx(j4e,{value:a==null?void 0:a.components,children:t})})})})}const xz="mode",Tz="color-scheme",V4e="data-color-scheme";function G4e(e){const{defaultLightColorScheme:t="light",defaultDarkColorScheme:n="dark",modeStorageKey:r=xz,colorSchemeStorageKey:i=Tz,attribute:s=V4e,colorSchemeNode:a="document.documentElement",nonce:o}=e||{};let l="",c=s;if(s==="class"&&(c=".%s"),s==="data"&&(c="[data-%s]"),c.startsWith(".")){const f=c.substring(1);l+=`${a}.classList.remove('${f}'.replace('%s', light), '${f}'.replace('%s', dark)); ${a}.classList.add('${f}'.replace('%s', colorScheme));`}const d=c.match(/\[([^\]]+)\]/);if(d){const[f,p]=d[1].split("=");p||(l+=`${a}.removeAttribute('${f}'.replace('%s', light)); ${a}.removeAttribute('${f}'.replace('%s', dark));`),l+=` ${a}.setAttribute('${f}'.replace('%s', colorScheme), ${p?`${p}.replace('%s', colorScheme)`:'""'});`}else l+=`${a}.setAttribute('${c}', colorScheme);`;return U.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?o:"",dangerouslySetInnerHTML:{__html:`(function() { @@ -85,15 +85,15 @@ try { if (colorScheme) { ${l} } -} catch(e){}})();`}},"mui-color-scheme-init")}function wK(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Dce(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function G4e(e){return Dce(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function X7(e,t){if(typeof window>"u")return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch{}return n||t}function Y4e(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:i=[],modeStorageKey:s=xz,colorSchemeStorageKey:a=Tz,storageWindow:o=typeof window>"u"?void 0:window}=e,l=i.join(","),c=i.length>1,[d,f]=Y.useState(()=>{const C=X7(s,t),I=X7(`${a}-light`,n),M=X7(`${a}-dark`,r);return{mode:C,systemMode:wK(C),lightColorScheme:I,darkColorScheme:M}}),[,p]=Y.useState(!1),g=Y.useRef(!1);Y.useEffect(()=>{c&&p(!0),g.current=!0},[c]);const b=G4e(d),w=Y.useCallback(C=>{f(I=>{if(C===I.mode)return I;const M=C??t;try{localStorage.setItem(s,M)}catch{}return{...I,mode:M,systemMode:wK(M)}})},[s,t]),x=Y.useCallback(C=>{C?typeof C=="string"?C&&!l.includes(C)?console.error(`\`${C}\` does not exist in \`theme.colorSchemes\`.`):f(I=>{const M={...I};return Dce(I,$=>{try{localStorage.setItem(`${a}-${$}`,C)}catch{}$==="light"&&(M.lightColorScheme=C),$==="dark"&&(M.darkColorScheme=C)}),M}):f(I=>{const M={...I},$=C.light===null?n:C.light,B=C.dark===null?r:C.dark;if($)if(!l.includes($))console.error(`\`${$}\` does not exist in \`theme.colorSchemes\`.`);else{M.lightColorScheme=$;try{localStorage.setItem(`${a}-light`,$)}catch{}}if(B)if(!l.includes(B))console.error(`\`${B}\` does not exist in \`theme.colorSchemes\`.`);else{M.darkColorScheme=B;try{localStorage.setItem(`${a}-dark`,B)}catch{}}return M}):f(I=>{try{localStorage.setItem(`${a}-light`,n),localStorage.setItem(`${a}-dark`,r)}catch{}return{...I,lightColorScheme:n,darkColorScheme:r}})},[l,a,n,r]),T=Y.useCallback(C=>{d.mode==="system"&&f(I=>{const M=C!=null&&C.matches?"dark":"light";return I.systemMode===M?I:{...I,systemMode:M}})},[d.mode]),_=Y.useRef(T);return _.current=T,Y.useEffect(()=>{if(typeof window.matchMedia!="function"||!c)return;const C=(...M)=>_.current(...M),I=window.matchMedia("(prefers-color-scheme: dark)");return I.addListener(C),C(I),()=>{I.removeListener(C)}},[c]),Y.useEffect(()=>{if(o&&c){const C=I=>{const M=I.newValue;typeof I.key=="string"&&I.key.startsWith(a)&&(!M||l.match(M))&&(I.key.endsWith("light")&&x({light:M}),I.key.endsWith("dark")&&x({dark:M})),I.key===s&&(!M||["light","dark","system"].includes(M))&&w(M||t)};return o.addEventListener("storage",C),()=>{o.removeEventListener("storage",C)}}},[x,w,s,a,l,t,o,c]),{...d,mode:g.current||!c?d.mode:void 0,systemMode:g.current||!c?d.systemMode:void 0,colorScheme:g.current||!c?b:void 0,setMode:w,setColorScheme:x}}const Z4e="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function X4e(e){const{themeId:t,theme:n={},modeStorageKey:r=xz,colorSchemeStorageKey:i=Tz,disableTransitionOnChange:s=!1,defaultColorScheme:a,resolveTheme:o}=e,l={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},c=Y.createContext(void 0),d=()=>Y.useContext(c)||l;function f(w){var We,Ke,xe,Qe,yt;const{children:x,theme:T,modeStorageKey:_=r,colorSchemeStorageKey:C=i,disableTransitionOnChange:I=s,storageWindow:M=typeof window>"u"?void 0:window,documentNode:$=typeof document>"u"?void 0:document,colorSchemeNode:B=typeof document>"u"?void 0:document.documentElement,disableNestedContext:j=!1,disableStyleSheetGeneration:F=!1}=w,V=Y.useRef(!1),ie=wz(),se=Y.useContext(c),me=!!se&&!j,fe=Y.useMemo(()=>T||(typeof n=="function"?n():n),[T]),le=fe[t],{colorSchemes:ye={},components:ae={},cssVarPrefix:Se,...he}=le||fe,re=Object.keys(ye).filter(Be=>!!ye[Be]).join(","),Fe=Y.useMemo(()=>re.split(","),[re]),je=typeof a=="string"?a:a.light,ue=typeof a=="string"?a:a.dark,tt=ye[je]&&ye[ue]?"system":((Ke=(We=ye[he.defaultColorScheme])==null?void 0:We.palette)==null?void 0:Ke.mode)||((xe=he.palette)==null?void 0:xe.mode),{mode:St,setMode:Ze,systemMode:qt,lightColorScheme:xt,darkColorScheme:Nt,colorScheme:Ht,setColorScheme:Jt}=Y4e({supportedColorSchemes:Fe,defaultLightColorScheme:je,defaultDarkColorScheme:ue,modeStorageKey:_,colorSchemeStorageKey:C,defaultMode:tt,storageWindow:M});let Vt=St,en=Ht;me&&(Vt=se.mode,en=se.colorScheme);const Ct=en||he.defaultColorScheme,Xe=((Qe=he.generateThemeVars)==null?void 0:Qe.call(he))||he.vars,Ut={...he,components:ae,colorSchemes:ye,cssVarPrefix:Se,vars:Xe};if(typeof Ut.generateSpacing=="function"&&(Ut.spacing=Ut.generateSpacing()),Ct){const Be=ye[Ct];Be&&typeof Be=="object"&&Object.keys(Be).forEach(Ne=>{Be[Ne]&&typeof Be[Ne]=="object"?Ut[Ne]={...Ut[Ne],...Be[Ne]}:Ut[Ne]=Be[Ne]})}const sn=he.colorSchemeSelector;Y.useEffect(()=>{if(en&&B&&sn&&sn!=="media"){const Be=sn;let Ne=sn;if(Be==="class"&&(Ne=".%s"),Be==="data"&&(Ne="[data-%s]"),Be!=null&&Be.startsWith("data-")&&!Be.includes("%s")&&(Ne=`[${Be}="%s"]`),Ne.startsWith("."))B.classList.remove(...Fe.map(rt=>Ne.substring(1).replace("%s",rt))),B.classList.add(Ne.substring(1).replace("%s",en));else{const rt=Ne.replace("%s",en).match(/\[([^\]]+)\]/);if(rt){const[pt,Dt]=rt[1].split("=");Dt||Fe.forEach(Gt=>{B.removeAttribute(pt.replace(en,Gt))}),B.setAttribute(pt,Dt?Dt.replace(/"|'/g,""):"")}else B.setAttribute(Ne,en)}}},[en,sn,B,Fe]),Y.useEffect(()=>{let Be;if(I&&V.current&&$){const Ne=$.createElement("style");Ne.appendChild($.createTextNode(Z4e)),$.head.appendChild(Ne),window.getComputedStyle($.body),Be=setTimeout(()=>{$.head.removeChild(Ne)},1)}return()=>{clearTimeout(Be)}},[en,I,$]),Y.useEffect(()=>(V.current=!0,()=>{V.current=!1}),[]);const te=Y.useMemo(()=>({allColorSchemes:Fe,colorScheme:en,darkColorScheme:Nt,lightColorScheme:xt,mode:Vt,setColorScheme:Jt,setMode:Ze,systemMode:qt}),[Fe,en,Nt,xt,Vt,Jt,Ze,qt]);let de=!0;(F||he.cssVariables===!1||me&&(ie==null?void 0:ie.cssVarPrefix)===Se)&&(de=!1);const we=U.jsxs(Y.Fragment,{children:[U.jsx(Ice,{themeId:le?t:void 0,theme:o?o(Ut):Ut,children:x}),de&&U.jsx(lce,{styles:((yt=Ut.generateStyleSheets)==null?void 0:yt.call(Ut))||[]})]});return me?we:U.jsx(c.Provider,{value:te,children:we})}const p=typeof a=="string"?a:a.light,g=typeof a=="string"?a:a.dark;return{CssVarsProvider:f,useColorScheme:d,getInitColorSchemeScript:w=>V4e({colorSchemeStorageKey:i,defaultLightColorScheme:p,defaultDarkColorScheme:g,modeStorageKey:r,...w})}}function K4e(e=""){function t(...r){if(!r.length)return"";const i=r[0];return typeof i=="string"&&!i.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${i}${t(...r.slice(1))})`:`, ${i}`}return(r,...i)=>`var(--${e?`${e}-`:""}${r}${t(...i)})`}const xK=(e,t,n,r=[])=>{let i=e;t.forEach((s,a)=>{a===t.length-1?Array.isArray(i)?i[Number(s)]=n:i&&typeof i=="object"&&(i[s]=n):i&&typeof i=="object"&&(i[s]||(i[s]=r.includes(s)?[]:{}),i=i[s])})},J4e=(e,t,n)=>{function r(i,s=[],a=[]){Object.entries(i).forEach(([o,l])=>{(!n||n&&!n([...s,o]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...s,o],Array.isArray(l)?[...a,o]:a):t([...s,o],l,a))})}r(e)},e3e=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function K7(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},s={},a={};return J4e(e,(o,l,c)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(o,l))){const d=`--${n?`${n}-`:""}${o.join("-")}`,f=e3e(o,l);Object.assign(i,{[d]:f}),xK(s,o,`var(${d})`,c),xK(a,o,`var(${d}, ${f})`,c)}},o=>o[0]==="vars"),{css:i,vars:s,varsWithDefaults:a}}function t3e(e,t={}){const{getSelector:n=x,disableCssColorScheme:r,colorSchemeSelector:i}=t,{colorSchemes:s={},components:a,defaultColorScheme:o="light",...l}=e,{vars:c,css:d,varsWithDefaults:f}=K7(l,t);let p=f;const g={},{[o]:b,...w}=s;if(Object.entries(w||{}).forEach(([C,I])=>{const{vars:M,css:$,varsWithDefaults:B}=K7(I,t);p=Xo(p,B),g[C]={css:$,vars:M}}),b){const{css:C,vars:I,varsWithDefaults:M}=K7(b,t);p=Xo(p,M),g[o]={css:C,vars:I}}function x(C,I){var $,B;let M=i;if(i==="class"&&(M=".%s"),i==="data"&&(M="[data-%s]"),i!=null&&i.startsWith("data-")&&!i.includes("%s")&&(M=`[${i}="%s"]`),C){if(M==="media")return e.defaultColorScheme===C?":root":{[`@media (prefers-color-scheme: ${((B=($=s[C])==null?void 0:$.palette)==null?void 0:B.mode)||C})`]:{":root":I}};if(M)return e.defaultColorScheme===C?`:root, ${M.replace("%s",String(C))}`:M.replace("%s",String(C))}return":root"}return{vars:p,generateThemeVars:()=>{let C={...c};return Object.entries(g).forEach(([,{vars:I}])=>{C=Xo(C,I)}),C},generateStyleSheets:()=>{var j,F;const C=[],I=e.defaultColorScheme||"light";function M(V,ie){Object.keys(ie).length&&C.push(typeof V=="string"?{[V]:{...ie}}:V)}M(n(void 0,{...d}),d);const{[I]:$,...B}=g;if($){const{css:V}=$,ie=(F=(j=s[I])==null?void 0:j.palette)==null?void 0:F.mode,se=!r&&ie?{colorScheme:ie,...V}:{...V};M(n(I,{...se}),se)}return Object.entries(B).forEach(([V,{css:ie}])=>{var fe,le;const se=(le=(fe=s[V])==null?void 0:fe.palette)==null?void 0:le.mode,me=!r&&se?{colorScheme:se,...ie}:{...ie};M(n(V,{...me}),me)}),C}}}function n3e(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const r3e=SE(),i3e=Oz("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${jt(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),s3e=e=>P6({props:e,name:"MuiContainer",defaultTheme:r3e}),a3e=(e,t)=>{const n=l=>Hn(t,l),{classes:r,fixed:i,disableGutters:s,maxWidth:a}=e,o={root:["root",a&&`maxWidth${jt(String(a))}`,i&&"fixed",s&&"disableGutters"]};return Vn(o,n,r)};function o3e(e={}){const{createStyledComponent:t=i3e,useThemeProps:n=s3e,componentName:r="MuiContainer"}=e,i=t(({theme:a,ownerState:o})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!o.disableGutters&&{paddingLeft:a.spacing(2),paddingRight:a.spacing(2),[a.breakpoints.up("sm")]:{paddingLeft:a.spacing(3),paddingRight:a.spacing(3)}}}),({theme:a,ownerState:o})=>o.fixed&&Object.keys(a.breakpoints.values).reduce((l,c)=>{const d=c,f=a.breakpoints.values[d];return f!==0&&(l[a.breakpoints.up(d)]={maxWidth:`${f}${a.breakpoints.unit}`}),l},{}),({theme:a,ownerState:o})=>({...o.maxWidth==="xs"&&{[a.breakpoints.up("xs")]:{maxWidth:Math.max(a.breakpoints.values.xs,444)}},...o.maxWidth&&o.maxWidth!=="xs"&&{[a.breakpoints.up(o.maxWidth)]:{maxWidth:`${a.breakpoints.values[o.maxWidth]}${a.breakpoints.unit}`}}}));return Y.forwardRef(function(o,l){const c=n(o),{className:d,component:f="div",disableGutters:p=!1,fixed:g=!1,maxWidth:b="lg",classes:w,...x}=c,T={...c,component:f,disableGutters:p,fixed:g,maxWidth:b},_=a3e(T,r);return U.jsx(i,{as:f,ownerState:T,className:cn(_.root,d),ref:l,...x})})}const l3e=(e,t)=>e.filter(n=>t.includes(n)),EE=(e,t,n)=>{const r=e.keys[0];Array.isArray(t)?t.forEach((i,s)=>{n((a,o)=>{s<=e.keys.length-1&&(s===0?Object.assign(a,o):a[e.up(e.keys[s])]=o)},i)}):t&&typeof t=="object"?(Object.keys(t).length>e.keys.length?e.keys:l3e(e.keys,Object.keys(t))).forEach(s=>{if(e.keys.includes(s)){const a=t[s];a!==void 0&&n((o,l)=>{r===s?Object.assign(o,l):o[e.up(s)]=l},a)}}):(typeof t=="number"||typeof t=="string")&&n((i,s)=>{Object.assign(i,s)},t)};function um(e){return e?`Level${e}`:""}function kz(e){return e.unstable_level>0&&e.container}function u3e(e){return function(n){return`var(--Grid-${n}Spacing${um(e.unstable_level)})`}}function $6(e){return function(n){return e.unstable_level===0?`var(--Grid-${n}Spacing)`:`var(--Grid-${n}Spacing${um(e.unstable_level-1)})`}}function YS(e){return e.unstable_level===0?"var(--Grid-columns)":`var(--Grid-columns${um(e.unstable_level-1)})`}const c3e=({theme:e,ownerState:t})=>{const n=$6(t),r={};return EE(e.breakpoints,t.size,(i,s)=>{let a={};s==="grow"&&(a={flexBasis:0,flexGrow:1,maxWidth:"100%"}),s==="auto"&&(a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof s=="number"&&(a={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${s} / ${YS(t)} - (${YS(t)} - ${s}) * (${n("column")} / ${YS(t)}))`}),i(r,a)}),r},d3e=({theme:e,ownerState:t})=>{const n=$6(t),r={};return EE(e.breakpoints,t.offset,(i,s)=>{let a={};s==="auto"&&(a={marginLeft:"auto"}),typeof s=="number"&&(a={marginLeft:s===0?"0px":`calc(100% * ${s} / ${YS(t)} + ${n("column")} * ${s} / ${YS(t)})`}),i(r,a)}),r},f3e=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=kz(t)?{[`--Grid-columns${um(t.unstable_level)}`]:YS(t)}:{"--Grid-columns":12};return EE(e.breakpoints,t.columns,(r,i)=>{r(n,{[`--Grid-columns${um(t.unstable_level)}`]:i})}),n},h3e=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=$6(t),r=kz(t)?{[`--Grid-rowSpacing${um(t.unstable_level)}`]:n("row")}:{};return EE(e.breakpoints,t.rowSpacing,(i,s)=>{var a;i(r,{[`--Grid-rowSpacing${um(t.unstable_level)}`]:typeof s=="string"?s:(a=e.spacing)==null?void 0:a.call(e,s)})}),r},p3e=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=$6(t),r=kz(t)?{[`--Grid-columnSpacing${um(t.unstable_level)}`]:n("column")}:{};return EE(e.breakpoints,t.columnSpacing,(i,s)=>{var a;i(r,{[`--Grid-columnSpacing${um(t.unstable_level)}`]:typeof s=="string"?s:(a=e.spacing)==null?void 0:a.call(e,s)})}),r},m3e=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return EE(e.breakpoints,t.direction,(r,i)=>{r(n,{flexDirection:i})}),n},g3e=({ownerState:e})=>{const t=u3e(e);return{minWidth:0,boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",...e.wrap&&e.wrap!=="wrap"&&{flexWrap:e.wrap},gap:`${t("row")} ${t("column")}`}}},b3e=e=>{const t=[];return Object.entries(e).forEach(([n,r])=>{r!==!1&&r!==void 0&&t.push(`grid-${n}-${String(r)}`)}),t},y3e=(e,t="xs")=>{function n(r){return r===void 0?!1:typeof r=="string"&&!Number.isNaN(Number(r))||typeof r=="number"&&r>0}if(n(e))return[`spacing-${t}-${String(e)}`];if(typeof e=="object"&&!Array.isArray(e)){const r=[];return Object.entries(e).forEach(([i,s])=>{n(s)&&r.push(`spacing-${i}-${String(s)}`)}),r}return[]},v3e=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([t,n])=>`direction-${t}-${n}`):[`direction-xs-${String(e)}`],S3e=SE(),O3e=Oz("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function E3e(e){return P6({props:e,name:"MuiGrid",defaultTheme:S3e})}function w3e(e={}){const{createStyledComponent:t=O3e,useThemeProps:n=E3e,componentName:r="MuiGrid"}=e,i=(l,c)=>{const{container:d,direction:f,spacing:p,wrap:g,size:b}=l,w={root:["root",d&&"container",g!=="wrap"&&`wrap-xs-${String(g)}`,...v3e(f),...b3e(b),...d?y3e(p,c.breakpoints.keys[0]):[]]};return Vn(w,x=>Hn(r,x),{})};function s(l,c,d=()=>!0){const f={};return l===null||(Array.isArray(l)?l.forEach((p,g)=>{p!==null&&d(p)&&c.keys[g]&&(f[c.keys[g]]=p)}):typeof l=="object"?Object.keys(l).forEach(p=>{const g=l[p];g!=null&&d(g)&&(f[p]=g)}):f[c.keys[0]]=l),f}const a=t(f3e,p3e,h3e,c3e,m3e,g3e,d3e),o=Y.forwardRef(function(c,d){const f=E_(),p=n(c),g=w_(p),{className:b,children:w,columns:x=12,container:T=!1,component:_="div",direction:C="row",wrap:I="wrap",size:M={},offset:$={},spacing:B=0,rowSpacing:j=B,columnSpacing:F=B,unstable_level:V=0,...ie}=g,se=s(M,f.breakpoints,re=>re!==!1),me=s($,f.breakpoints),fe=c.columns??(V?void 0:x),le=c.spacing??(V?void 0:B),ye=c.rowSpacing??c.spacing??(V?void 0:j),ae=c.columnSpacing??c.spacing??(V?void 0:F),Se={...g,level:V,columns:fe,container:T,direction:C,wrap:I,spacing:le,rowSpacing:ye,columnSpacing:ae,size:se,offset:me},he=i(Se,f);return U.jsx(a,{ref:d,as:_,ownerState:Se,className:cn(he.root,b),...ie,children:Y.Children.map(w,re=>{var Fe;return Y.isValidElement(re)&&fT(re,["Grid"])?Y.cloneElement(re,{unstable_level:((Fe=re.props)==null?void 0:Fe.unstable_level)??V+1}):re})})});return o.muiName="Grid",o}const x3e=SE(),T3e=Oz("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function k3e(e){return P6({props:e,name:"MuiStack",defaultTheme:x3e})}function _3e(e,t){const n=Y.Children.toArray(e).filter(Boolean);return n.reduce((r,i,s)=>(r.push(i),s({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],C3e=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...dc({theme:t},zb({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){const r=y6(t),i=Object.keys(t.breakpoints.values).reduce((l,c)=>((typeof e.spacing=="object"&&e.spacing[c]!=null||typeof e.direction=="object"&&e.direction[c]!=null)&&(l[c]=!0),l),{}),s=zb({values:e.direction,base:i}),a=zb({values:e.spacing,base:i});typeof s=="object"&&Object.keys(s).forEach((l,c,d)=>{if(!s[l]){const p=c>0?s[d[c-1]]:"column";s[l]=p}}),n=Xo(n,dc({theme:t},a,(l,c)=>e.useFlexGap?{gap:ny(r,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${A3e(c?s[c]:e.direction)}`]:ny(r,l)}}))}return n=OCe(t.breakpoints,n),n};function R3e(e={}){const{createStyledComponent:t=T3e,useThemeProps:n=k3e,componentName:r="MuiStack"}=e,i=()=>Vn({root:["root"]},l=>Hn(r,l),{}),s=t(C3e);return Y.forwardRef(function(l,c){const d=n(l),f=w_(d),{component:p="div",direction:g="column",spacing:b=0,divider:w,children:x,className:T,useFlexGap:_=!1,...C}=f,I={direction:g,spacing:b,useFlexGap:_},M=i();return U.jsx(s,{as:p,ownerState:I,ref:c,className:cn(M.root,T),...C,children:w?_3e(x,w):x})})}const TK={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:lk.white,default:lk.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},J7={text:{primary:lk.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:lk.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function kK(e,t,n,r){const i=r.light||r,s=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=iy(e.main,i):t==="dark"&&(e.dark=ry(e.main,s)))}function I3e(e="light"){return e==="dark"?{main:Fv[200],light:Fv[50],dark:Fv[400]}:{main:Fv[700],light:Fv[400],dark:Fv[800]}}function D3e(e="light"){return e==="dark"?{main:Mv[200],light:Mv[50],dark:Mv[400]}:{main:Mv[500],light:Mv[300],dark:Mv[700]}}function N3e(e="light"){return e==="dark"?{main:Lv[500],light:Lv[300],dark:Lv[700]}:{main:Lv[700],light:Lv[400],dark:Lv[800]}}function P3e(e="light"){return e==="dark"?{main:$v[400],light:$v[300],dark:$v[700]}:{main:$v[700],light:$v[500],dark:$v[900]}}function L3e(e="light"){return e==="dark"?{main:Bv[400],light:Bv[300],dark:Bv[700]}:{main:Bv[800],light:Bv[500],dark:Bv[900]}}function M3e(e="light"){return e==="dark"?{main:K2[400],light:K2[300],dark:K2[700]}:{main:"#ed6c02",light:K2[500],dark:K2[900]}}function _z(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...i}=e,s=e.primary||I3e(t),a=e.secondary||D3e(t),o=e.error||N3e(t),l=e.info||P3e(t),c=e.success||L3e(t),d=e.warning||M3e(t);function f(w){return A4e(w,J7.text.primary)>=n?J7.text.primary:TK.text.primary}const p=({color:w,name:x,mainShade:T=500,lightShade:_=300,darkShade:C=700})=>{if(w={...w},!w.main&&w[T]&&(w.main=w[T]),!w.hasOwnProperty("main"))throw new Error(lm(11,x?` (${x})`:"",T));if(typeof w.main!="string")throw new Error(lm(12,x?` (${x})`:"",JSON.stringify(w.main)));return kK(w,"light",_,r),kK(w,"dark",C,r),w.contrastText||(w.contrastText=f(w.main)),w},g={dark:J7,light:TK};return Xo({common:{...lk},mode:t,primary:p({color:s,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:o,name:"error"}),warning:p({color:d,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:c,name:"success"}),grey:tAe,contrastThreshold:n,getContrastText:f,augmentColor:p,tonalOffset:r,...g[t]},i)}function F3e(e){const t={};return Object.entries(e).forEach(r=>{const[i,s]=r;typeof s=="object"&&(t[i]=`${s.fontStyle?`${s.fontStyle} `:""}${s.fontVariant?`${s.fontVariant} `:""}${s.fontWeight?`${s.fontWeight} `:""}${s.fontStretch?`${s.fontStretch} `:""}${s.fontSize||""}${s.lineHeight?`/${s.lineHeight} `:""}${s.fontFamily||""}`)}),t}function $3e(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function B3e(e){return Math.round(e*1e5)/1e5}const _K={textTransform:"uppercase"},AK='"Roboto", "Helvetica", "Arial", sans-serif';function Nce(e,t){const{fontFamily:n=AK,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:s=400,fontWeightMedium:a=500,fontWeightBold:o=700,htmlFontSize:l=16,allVariants:c,pxToRem:d,...f}=typeof t=="function"?t(e):t,p=r/14,g=d||(x=>`${x/l*p}rem`),b=(x,T,_,C,I)=>({fontFamily:n,fontWeight:x,fontSize:g(T),lineHeight:_,...n===AK?{letterSpacing:`${B3e(C/T)}em`}:{},...I,...c}),w={h1:b(i,96,1.167,-1.5),h2:b(i,60,1.2,-.5),h3:b(s,48,1.167,0),h4:b(s,34,1.235,.25),h5:b(s,24,1.334,0),h6:b(a,20,1.6,.15),subtitle1:b(s,16,1.75,.15),subtitle2:b(a,14,1.57,.1),body1:b(s,16,1.5,.15),body2:b(s,14,1.43,.15),button:b(a,14,1.75,.4,_K),caption:b(s,12,1.66,.4),overline:b(s,12,2.66,1,_K),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Xo({htmlFontSize:l,pxToRem:g,fontFamily:n,fontSize:r,fontWeightLight:i,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:o,...w},f,{clone:!1})}const U3e=.2,z3e=.14,H3e=.12;function ia(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${U3e})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${z3e})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${H3e})`].join(",")}const q3e=["none",ia(0,2,1,-1,0,1,1,0,0,1,3,0),ia(0,3,1,-2,0,2,2,0,0,1,5,0),ia(0,3,3,-2,0,3,4,0,0,1,8,0),ia(0,2,4,-1,0,4,5,0,0,1,10,0),ia(0,3,5,-1,0,5,8,0,0,1,14,0),ia(0,3,5,-1,0,6,10,0,0,1,18,0),ia(0,4,5,-2,0,7,10,1,0,2,16,1),ia(0,5,5,-3,0,8,10,1,0,3,14,2),ia(0,5,6,-3,0,9,12,1,0,3,16,2),ia(0,6,6,-3,0,10,14,1,0,4,18,3),ia(0,6,7,-4,0,11,15,1,0,4,20,3),ia(0,7,8,-4,0,12,17,2,0,5,22,4),ia(0,7,8,-4,0,13,19,2,0,5,24,4),ia(0,7,9,-4,0,14,21,2,0,5,26,4),ia(0,8,9,-5,0,15,22,2,0,6,28,5),ia(0,8,10,-5,0,16,24,2,0,6,30,5),ia(0,8,11,-5,0,17,26,2,0,6,32,5),ia(0,9,11,-5,0,18,28,2,0,7,34,6),ia(0,9,12,-6,0,19,29,2,0,7,36,6),ia(0,10,13,-6,0,20,31,3,0,8,38,7),ia(0,10,13,-6,0,21,33,3,0,8,40,7),ia(0,10,14,-6,0,22,35,3,0,8,42,7),ia(0,11,14,-7,0,23,36,3,0,9,44,8),ia(0,11,15,-7,0,24,38,3,0,9,46,8)],j3e={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Pce={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function CK(e){return`${Math.round(e)}ms`}function W3e(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Q3e(e){const t={...j3e,...e.easing},n={...Pce,...e.duration};return{getAutoHeightDuration:W3e,create:(i=["all"],s={})=>{const{duration:a=n.standard,easing:o=t.easeInOut,delay:l=0,...c}=s;return(Array.isArray(i)?i:[i]).map(d=>`${d} ${typeof a=="string"?a:CK(a)} ${o} ${typeof l=="string"?l:CK(l)}`).join(",")},...e,easing:t,duration:n}}const V3e={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function fM(e={},...t){const{breakpoints:n,mixins:r={},spacing:i,palette:s={},transitions:a={},typography:o={},shape:l,...c}=e;if(e.vars)throw new Error(lm(20));const d=_z(s),f=SE(e);let p=Xo(f,{mixins:$3e(f.breakpoints,r),palette:d,shadows:q3e.slice(),typography:Nce(d,o),transitions:Q3e(a),zIndex:{...V3e}});return p=Xo(p,c),p=t.reduce((g,b)=>Xo(g,b),p),p.unstable_sxConfig={...O_,...c==null?void 0:c.unstable_sxConfig},p.unstable_sx=function(b){return _y({sx:b,theme:this})},p}function hM(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const G3e=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=hM(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Lce(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Mce(e){return e==="dark"?G3e:[]}function Y3e(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...i}=e,s=_z(t);return{palette:s,opacity:{...Lce(s.mode),...n},overlays:r||Mce(s.mode),...i}}function Z3e(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const X3e=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],K3e=e=>(t,n)=>{const r=e.colorSchemeSelector;let i=r;if(r==="class"&&(i=".%s"),r==="data"&&(i="[data-%s]"),r!=null&&r.startsWith("data-")&&!r.includes("%s")&&(i=`[${r}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const s={};return X3e(e.cssVarPrefix).forEach(a=>{s[a]=n[a],delete n[a]}),i==="media"?{":root":n,"@media (prefers-color-scheme: dark)":{":root":s}}:i?{[i.replace("%s",t)]:s,[`:root, ${i.replace("%s",t)}`]:n}:{":root":{...n,...s}}}if(i&&i!=="media")return`:root, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{":root":n}};if(i)return i.replace("%s",String(t))}return":root"};function J3e(e){return op(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function eRe(e={}){const t={...e};function n(r){const i=Object.entries(r);for(let s=0;s{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function X7(e,t){if(typeof window>"u")return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch{}return n||t}function Z4e(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:i=[],modeStorageKey:s=xz,colorSchemeStorageKey:a=Tz,storageWindow:o=typeof window>"u"?void 0:window}=e,l=i.join(","),c=i.length>1,[d,f]=Y.useState(()=>{const C=X7(s,t),I=X7(`${a}-light`,n),M=X7(`${a}-dark`,r);return{mode:C,systemMode:wK(C),lightColorScheme:I,darkColorScheme:M}}),[,p]=Y.useState(!1),g=Y.useRef(!1);Y.useEffect(()=>{c&&p(!0),g.current=!0},[c]);const b=Y4e(d),w=Y.useCallback(C=>{f(I=>{if(C===I.mode)return I;const M=C??t;try{localStorage.setItem(s,M)}catch{}return{...I,mode:M,systemMode:wK(M)}})},[s,t]),x=Y.useCallback(C=>{C?typeof C=="string"?C&&!l.includes(C)?console.error(`\`${C}\` does not exist in \`theme.colorSchemes\`.`):f(I=>{const M={...I};return Nce(I,$=>{try{localStorage.setItem(`${a}-${$}`,C)}catch{}$==="light"&&(M.lightColorScheme=C),$==="dark"&&(M.darkColorScheme=C)}),M}):f(I=>{const M={...I},$=C.light===null?n:C.light,B=C.dark===null?r:C.dark;if($)if(!l.includes($))console.error(`\`${$}\` does not exist in \`theme.colorSchemes\`.`);else{M.lightColorScheme=$;try{localStorage.setItem(`${a}-light`,$)}catch{}}if(B)if(!l.includes(B))console.error(`\`${B}\` does not exist in \`theme.colorSchemes\`.`);else{M.darkColorScheme=B;try{localStorage.setItem(`${a}-dark`,B)}catch{}}return M}):f(I=>{try{localStorage.setItem(`${a}-light`,n),localStorage.setItem(`${a}-dark`,r)}catch{}return{...I,lightColorScheme:n,darkColorScheme:r}})},[l,a,n,r]),T=Y.useCallback(C=>{d.mode==="system"&&f(I=>{const M=C!=null&&C.matches?"dark":"light";return I.systemMode===M?I:{...I,systemMode:M}})},[d.mode]),_=Y.useRef(T);return _.current=T,Y.useEffect(()=>{if(typeof window.matchMedia!="function"||!c)return;const C=(...M)=>_.current(...M),I=window.matchMedia("(prefers-color-scheme: dark)");return I.addListener(C),C(I),()=>{I.removeListener(C)}},[c]),Y.useEffect(()=>{if(o&&c){const C=I=>{const M=I.newValue;typeof I.key=="string"&&I.key.startsWith(a)&&(!M||l.match(M))&&(I.key.endsWith("light")&&x({light:M}),I.key.endsWith("dark")&&x({dark:M})),I.key===s&&(!M||["light","dark","system"].includes(M))&&w(M||t)};return o.addEventListener("storage",C),()=>{o.removeEventListener("storage",C)}}},[x,w,s,a,l,t,o,c]),{...d,mode:g.current||!c?d.mode:void 0,systemMode:g.current||!c?d.systemMode:void 0,colorScheme:g.current||!c?b:void 0,setMode:w,setColorScheme:x}}const X4e="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function K4e(e){const{themeId:t,theme:n={},modeStorageKey:r=xz,colorSchemeStorageKey:i=Tz,disableTransitionOnChange:s=!1,defaultColorScheme:a,resolveTheme:o}=e,l={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},c=Y.createContext(void 0),d=()=>Y.useContext(c)||l;function f(w){var We,Ke,xe,Qe,yt;const{children:x,theme:T,modeStorageKey:_=r,colorSchemeStorageKey:C=i,disableTransitionOnChange:I=s,storageWindow:M=typeof window>"u"?void 0:window,documentNode:$=typeof document>"u"?void 0:document,colorSchemeNode:B=typeof document>"u"?void 0:document.documentElement,disableNestedContext:j=!1,disableStyleSheetGeneration:F=!1}=w,V=Y.useRef(!1),ie=wz(),se=Y.useContext(c),me=!!se&&!j,fe=Y.useMemo(()=>T||(typeof n=="function"?n():n),[T]),le=fe[t],{colorSchemes:ye={},components:ae={},cssVarPrefix:Se,...he}=le||fe,re=Object.keys(ye).filter(Be=>!!ye[Be]).join(","),Fe=Y.useMemo(()=>re.split(","),[re]),je=typeof a=="string"?a:a.light,ue=typeof a=="string"?a:a.dark,tt=ye[je]&&ye[ue]?"system":((Ke=(We=ye[he.defaultColorScheme])==null?void 0:We.palette)==null?void 0:Ke.mode)||((xe=he.palette)==null?void 0:xe.mode),{mode:St,setMode:Ze,systemMode:qt,lightColorScheme:xt,darkColorScheme:Nt,colorScheme:Ht,setColorScheme:Jt}=Z4e({supportedColorSchemes:Fe,defaultLightColorScheme:je,defaultDarkColorScheme:ue,modeStorageKey:_,colorSchemeStorageKey:C,defaultMode:tt,storageWindow:M});let Vt=St,en=Ht;me&&(Vt=se.mode,en=se.colorScheme);const Ct=en||he.defaultColorScheme,Xe=((Qe=he.generateThemeVars)==null?void 0:Qe.call(he))||he.vars,Ut={...he,components:ae,colorSchemes:ye,cssVarPrefix:Se,vars:Xe};if(typeof Ut.generateSpacing=="function"&&(Ut.spacing=Ut.generateSpacing()),Ct){const Be=ye[Ct];Be&&typeof Be=="object"&&Object.keys(Be).forEach(Ne=>{Be[Ne]&&typeof Be[Ne]=="object"?Ut[Ne]={...Ut[Ne],...Be[Ne]}:Ut[Ne]=Be[Ne]})}const sn=he.colorSchemeSelector;Y.useEffect(()=>{if(en&&B&&sn&&sn!=="media"){const Be=sn;let Ne=sn;if(Be==="class"&&(Ne=".%s"),Be==="data"&&(Ne="[data-%s]"),Be!=null&&Be.startsWith("data-")&&!Be.includes("%s")&&(Ne=`[${Be}="%s"]`),Ne.startsWith("."))B.classList.remove(...Fe.map(rt=>Ne.substring(1).replace("%s",rt))),B.classList.add(Ne.substring(1).replace("%s",en));else{const rt=Ne.replace("%s",en).match(/\[([^\]]+)\]/);if(rt){const[pt,Dt]=rt[1].split("=");Dt||Fe.forEach(Gt=>{B.removeAttribute(pt.replace(en,Gt))}),B.setAttribute(pt,Dt?Dt.replace(/"|'/g,""):"")}else B.setAttribute(Ne,en)}}},[en,sn,B,Fe]),Y.useEffect(()=>{let Be;if(I&&V.current&&$){const Ne=$.createElement("style");Ne.appendChild($.createTextNode(X4e)),$.head.appendChild(Ne),window.getComputedStyle($.body),Be=setTimeout(()=>{$.head.removeChild(Ne)},1)}return()=>{clearTimeout(Be)}},[en,I,$]),Y.useEffect(()=>(V.current=!0,()=>{V.current=!1}),[]);const te=Y.useMemo(()=>({allColorSchemes:Fe,colorScheme:en,darkColorScheme:Nt,lightColorScheme:xt,mode:Vt,setColorScheme:Jt,setMode:Ze,systemMode:qt}),[Fe,en,Nt,xt,Vt,Jt,Ze,qt]);let de=!0;(F||he.cssVariables===!1||me&&(ie==null?void 0:ie.cssVarPrefix)===Se)&&(de=!1);const we=U.jsxs(Y.Fragment,{children:[U.jsx(Dce,{themeId:le?t:void 0,theme:o?o(Ut):Ut,children:x}),de&&U.jsx(uce,{styles:((yt=Ut.generateStyleSheets)==null?void 0:yt.call(Ut))||[]})]});return me?we:U.jsx(c.Provider,{value:te,children:we})}const p=typeof a=="string"?a:a.light,g=typeof a=="string"?a:a.dark;return{CssVarsProvider:f,useColorScheme:d,getInitColorSchemeScript:w=>G4e({colorSchemeStorageKey:i,defaultLightColorScheme:p,defaultDarkColorScheme:g,modeStorageKey:r,...w})}}function J4e(e=""){function t(...r){if(!r.length)return"";const i=r[0];return typeof i=="string"&&!i.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${i}${t(...r.slice(1))})`:`, ${i}`}return(r,...i)=>`var(--${e?`${e}-`:""}${r}${t(...i)})`}const xK=(e,t,n,r=[])=>{let i=e;t.forEach((s,a)=>{a===t.length-1?Array.isArray(i)?i[Number(s)]=n:i&&typeof i=="object"&&(i[s]=n):i&&typeof i=="object"&&(i[s]||(i[s]=r.includes(s)?[]:{}),i=i[s])})},e3e=(e,t,n)=>{function r(i,s=[],a=[]){Object.entries(i).forEach(([o,l])=>{(!n||n&&!n([...s,o]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...s,o],Array.isArray(l)?[...a,o]:a):t([...s,o],l,a))})}r(e)},t3e=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function K7(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},s={},a={};return e3e(e,(o,l,c)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(o,l))){const d=`--${n?`${n}-`:""}${o.join("-")}`,f=t3e(o,l);Object.assign(i,{[d]:f}),xK(s,o,`var(${d})`,c),xK(a,o,`var(${d}, ${f})`,c)}},o=>o[0]==="vars"),{css:i,vars:s,varsWithDefaults:a}}function n3e(e,t={}){const{getSelector:n=x,disableCssColorScheme:r,colorSchemeSelector:i}=t,{colorSchemes:s={},components:a,defaultColorScheme:o="light",...l}=e,{vars:c,css:d,varsWithDefaults:f}=K7(l,t);let p=f;const g={},{[o]:b,...w}=s;if(Object.entries(w||{}).forEach(([C,I])=>{const{vars:M,css:$,varsWithDefaults:B}=K7(I,t);p=Xo(p,B),g[C]={css:$,vars:M}}),b){const{css:C,vars:I,varsWithDefaults:M}=K7(b,t);p=Xo(p,M),g[o]={css:C,vars:I}}function x(C,I){var $,B;let M=i;if(i==="class"&&(M=".%s"),i==="data"&&(M="[data-%s]"),i!=null&&i.startsWith("data-")&&!i.includes("%s")&&(M=`[${i}="%s"]`),C){if(M==="media")return e.defaultColorScheme===C?":root":{[`@media (prefers-color-scheme: ${((B=($=s[C])==null?void 0:$.palette)==null?void 0:B.mode)||C})`]:{":root":I}};if(M)return e.defaultColorScheme===C?`:root, ${M.replace("%s",String(C))}`:M.replace("%s",String(C))}return":root"}return{vars:p,generateThemeVars:()=>{let C={...c};return Object.entries(g).forEach(([,{vars:I}])=>{C=Xo(C,I)}),C},generateStyleSheets:()=>{var j,F;const C=[],I=e.defaultColorScheme||"light";function M(V,ie){Object.keys(ie).length&&C.push(typeof V=="string"?{[V]:{...ie}}:V)}M(n(void 0,{...d}),d);const{[I]:$,...B}=g;if($){const{css:V}=$,ie=(F=(j=s[I])==null?void 0:j.palette)==null?void 0:F.mode,se=!r&&ie?{colorScheme:ie,...V}:{...V};M(n(I,{...se}),se)}return Object.entries(B).forEach(([V,{css:ie}])=>{var fe,le;const se=(le=(fe=s[V])==null?void 0:fe.palette)==null?void 0:le.mode,me=!r&&se?{colorScheme:se,...ie}:{...ie};M(n(V,{...me}),me)}),C}}}function r3e(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const i3e=SE(),s3e=Oz("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${jt(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),a3e=e=>P6({props:e,name:"MuiContainer",defaultTheme:i3e}),o3e=(e,t)=>{const n=l=>Hn(t,l),{classes:r,fixed:i,disableGutters:s,maxWidth:a}=e,o={root:["root",a&&`maxWidth${jt(String(a))}`,i&&"fixed",s&&"disableGutters"]};return Vn(o,n,r)};function l3e(e={}){const{createStyledComponent:t=s3e,useThemeProps:n=a3e,componentName:r="MuiContainer"}=e,i=t(({theme:a,ownerState:o})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!o.disableGutters&&{paddingLeft:a.spacing(2),paddingRight:a.spacing(2),[a.breakpoints.up("sm")]:{paddingLeft:a.spacing(3),paddingRight:a.spacing(3)}}}),({theme:a,ownerState:o})=>o.fixed&&Object.keys(a.breakpoints.values).reduce((l,c)=>{const d=c,f=a.breakpoints.values[d];return f!==0&&(l[a.breakpoints.up(d)]={maxWidth:`${f}${a.breakpoints.unit}`}),l},{}),({theme:a,ownerState:o})=>({...o.maxWidth==="xs"&&{[a.breakpoints.up("xs")]:{maxWidth:Math.max(a.breakpoints.values.xs,444)}},...o.maxWidth&&o.maxWidth!=="xs"&&{[a.breakpoints.up(o.maxWidth)]:{maxWidth:`${a.breakpoints.values[o.maxWidth]}${a.breakpoints.unit}`}}}));return Y.forwardRef(function(o,l){const c=n(o),{className:d,component:f="div",disableGutters:p=!1,fixed:g=!1,maxWidth:b="lg",classes:w,...x}=c,T={...c,component:f,disableGutters:p,fixed:g,maxWidth:b},_=o3e(T,r);return U.jsx(i,{as:f,ownerState:T,className:cn(_.root,d),ref:l,...x})})}const u3e=(e,t)=>e.filter(n=>t.includes(n)),EE=(e,t,n)=>{const r=e.keys[0];Array.isArray(t)?t.forEach((i,s)=>{n((a,o)=>{s<=e.keys.length-1&&(s===0?Object.assign(a,o):a[e.up(e.keys[s])]=o)},i)}):t&&typeof t=="object"?(Object.keys(t).length>e.keys.length?e.keys:u3e(e.keys,Object.keys(t))).forEach(s=>{if(e.keys.includes(s)){const a=t[s];a!==void 0&&n((o,l)=>{r===s?Object.assign(o,l):o[e.up(s)]=l},a)}}):(typeof t=="number"||typeof t=="string")&&n((i,s)=>{Object.assign(i,s)},t)};function um(e){return e?`Level${e}`:""}function kz(e){return e.unstable_level>0&&e.container}function c3e(e){return function(n){return`var(--Grid-${n}Spacing${um(e.unstable_level)})`}}function $6(e){return function(n){return e.unstable_level===0?`var(--Grid-${n}Spacing)`:`var(--Grid-${n}Spacing${um(e.unstable_level-1)})`}}function YS(e){return e.unstable_level===0?"var(--Grid-columns)":`var(--Grid-columns${um(e.unstable_level-1)})`}const d3e=({theme:e,ownerState:t})=>{const n=$6(t),r={};return EE(e.breakpoints,t.size,(i,s)=>{let a={};s==="grow"&&(a={flexBasis:0,flexGrow:1,maxWidth:"100%"}),s==="auto"&&(a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof s=="number"&&(a={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${s} / ${YS(t)} - (${YS(t)} - ${s}) * (${n("column")} / ${YS(t)}))`}),i(r,a)}),r},f3e=({theme:e,ownerState:t})=>{const n=$6(t),r={};return EE(e.breakpoints,t.offset,(i,s)=>{let a={};s==="auto"&&(a={marginLeft:"auto"}),typeof s=="number"&&(a={marginLeft:s===0?"0px":`calc(100% * ${s} / ${YS(t)} + ${n("column")} * ${s} / ${YS(t)})`}),i(r,a)}),r},h3e=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=kz(t)?{[`--Grid-columns${um(t.unstable_level)}`]:YS(t)}:{"--Grid-columns":12};return EE(e.breakpoints,t.columns,(r,i)=>{r(n,{[`--Grid-columns${um(t.unstable_level)}`]:i})}),n},p3e=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=$6(t),r=kz(t)?{[`--Grid-rowSpacing${um(t.unstable_level)}`]:n("row")}:{};return EE(e.breakpoints,t.rowSpacing,(i,s)=>{var a;i(r,{[`--Grid-rowSpacing${um(t.unstable_level)}`]:typeof s=="string"?s:(a=e.spacing)==null?void 0:a.call(e,s)})}),r},m3e=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=$6(t),r=kz(t)?{[`--Grid-columnSpacing${um(t.unstable_level)}`]:n("column")}:{};return EE(e.breakpoints,t.columnSpacing,(i,s)=>{var a;i(r,{[`--Grid-columnSpacing${um(t.unstable_level)}`]:typeof s=="string"?s:(a=e.spacing)==null?void 0:a.call(e,s)})}),r},g3e=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return EE(e.breakpoints,t.direction,(r,i)=>{r(n,{flexDirection:i})}),n},b3e=({ownerState:e})=>{const t=c3e(e);return{minWidth:0,boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",...e.wrap&&e.wrap!=="wrap"&&{flexWrap:e.wrap},gap:`${t("row")} ${t("column")}`}}},y3e=e=>{const t=[];return Object.entries(e).forEach(([n,r])=>{r!==!1&&r!==void 0&&t.push(`grid-${n}-${String(r)}`)}),t},v3e=(e,t="xs")=>{function n(r){return r===void 0?!1:typeof r=="string"&&!Number.isNaN(Number(r))||typeof r=="number"&&r>0}if(n(e))return[`spacing-${t}-${String(e)}`];if(typeof e=="object"&&!Array.isArray(e)){const r=[];return Object.entries(e).forEach(([i,s])=>{n(s)&&r.push(`spacing-${i}-${String(s)}`)}),r}return[]},S3e=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([t,n])=>`direction-${t}-${n}`):[`direction-xs-${String(e)}`],O3e=SE(),E3e=Oz("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function w3e(e){return P6({props:e,name:"MuiGrid",defaultTheme:O3e})}function x3e(e={}){const{createStyledComponent:t=E3e,useThemeProps:n=w3e,componentName:r="MuiGrid"}=e,i=(l,c)=>{const{container:d,direction:f,spacing:p,wrap:g,size:b}=l,w={root:["root",d&&"container",g!=="wrap"&&`wrap-xs-${String(g)}`,...S3e(f),...y3e(b),...d?v3e(p,c.breakpoints.keys[0]):[]]};return Vn(w,x=>Hn(r,x),{})};function s(l,c,d=()=>!0){const f={};return l===null||(Array.isArray(l)?l.forEach((p,g)=>{p!==null&&d(p)&&c.keys[g]&&(f[c.keys[g]]=p)}):typeof l=="object"?Object.keys(l).forEach(p=>{const g=l[p];g!=null&&d(g)&&(f[p]=g)}):f[c.keys[0]]=l),f}const a=t(h3e,m3e,p3e,d3e,g3e,b3e,f3e),o=Y.forwardRef(function(c,d){const f=E_(),p=n(c),g=w_(p),{className:b,children:w,columns:x=12,container:T=!1,component:_="div",direction:C="row",wrap:I="wrap",size:M={},offset:$={},spacing:B=0,rowSpacing:j=B,columnSpacing:F=B,unstable_level:V=0,...ie}=g,se=s(M,f.breakpoints,re=>re!==!1),me=s($,f.breakpoints),fe=c.columns??(V?void 0:x),le=c.spacing??(V?void 0:B),ye=c.rowSpacing??c.spacing??(V?void 0:j),ae=c.columnSpacing??c.spacing??(V?void 0:F),Se={...g,level:V,columns:fe,container:T,direction:C,wrap:I,spacing:le,rowSpacing:ye,columnSpacing:ae,size:se,offset:me},he=i(Se,f);return U.jsx(a,{ref:d,as:_,ownerState:Se,className:cn(he.root,b),...ie,children:Y.Children.map(w,re=>{var Fe;return Y.isValidElement(re)&&fT(re,["Grid"])?Y.cloneElement(re,{unstable_level:((Fe=re.props)==null?void 0:Fe.unstable_level)??V+1}):re})})});return o.muiName="Grid",o}const T3e=SE(),k3e=Oz("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function _3e(e){return P6({props:e,name:"MuiStack",defaultTheme:T3e})}function A3e(e,t){const n=Y.Children.toArray(e).filter(Boolean);return n.reduce((r,i,s)=>(r.push(i),s({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],R3e=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...dc({theme:t},zb({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){const r=y6(t),i=Object.keys(t.breakpoints.values).reduce((l,c)=>((typeof e.spacing=="object"&&e.spacing[c]!=null||typeof e.direction=="object"&&e.direction[c]!=null)&&(l[c]=!0),l),{}),s=zb({values:e.direction,base:i}),a=zb({values:e.spacing,base:i});typeof s=="object"&&Object.keys(s).forEach((l,c,d)=>{if(!s[l]){const p=c>0?s[d[c-1]]:"column";s[l]=p}}),n=Xo(n,dc({theme:t},a,(l,c)=>e.useFlexGap?{gap:ny(r,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${C3e(c?s[c]:e.direction)}`]:ny(r,l)}}))}return n=ECe(t.breakpoints,n),n};function I3e(e={}){const{createStyledComponent:t=k3e,useThemeProps:n=_3e,componentName:r="MuiStack"}=e,i=()=>Vn({root:["root"]},l=>Hn(r,l),{}),s=t(R3e);return Y.forwardRef(function(l,c){const d=n(l),f=w_(d),{component:p="div",direction:g="column",spacing:b=0,divider:w,children:x,className:T,useFlexGap:_=!1,...C}=f,I={direction:g,spacing:b,useFlexGap:_},M=i();return U.jsx(s,{as:p,ownerState:I,ref:c,className:cn(M.root,T),...C,children:w?A3e(x,w):x})})}const TK={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:lk.white,default:lk.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},J7={text:{primary:lk.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:lk.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function kK(e,t,n,r){const i=r.light||r,s=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=iy(e.main,i):t==="dark"&&(e.dark=ry(e.main,s)))}function D3e(e="light"){return e==="dark"?{main:Fv[200],light:Fv[50],dark:Fv[400]}:{main:Fv[700],light:Fv[400],dark:Fv[800]}}function N3e(e="light"){return e==="dark"?{main:Mv[200],light:Mv[50],dark:Mv[400]}:{main:Mv[500],light:Mv[300],dark:Mv[700]}}function P3e(e="light"){return e==="dark"?{main:Lv[500],light:Lv[300],dark:Lv[700]}:{main:Lv[700],light:Lv[400],dark:Lv[800]}}function L3e(e="light"){return e==="dark"?{main:$v[400],light:$v[300],dark:$v[700]}:{main:$v[700],light:$v[500],dark:$v[900]}}function M3e(e="light"){return e==="dark"?{main:Bv[400],light:Bv[300],dark:Bv[700]}:{main:Bv[800],light:Bv[500],dark:Bv[900]}}function F3e(e="light"){return e==="dark"?{main:K2[400],light:K2[300],dark:K2[700]}:{main:"#ed6c02",light:K2[500],dark:K2[900]}}function _z(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...i}=e,s=e.primary||D3e(t),a=e.secondary||N3e(t),o=e.error||P3e(t),l=e.info||L3e(t),c=e.success||M3e(t),d=e.warning||F3e(t);function f(w){return C4e(w,J7.text.primary)>=n?J7.text.primary:TK.text.primary}const p=({color:w,name:x,mainShade:T=500,lightShade:_=300,darkShade:C=700})=>{if(w={...w},!w.main&&w[T]&&(w.main=w[T]),!w.hasOwnProperty("main"))throw new Error(lm(11,x?` (${x})`:"",T));if(typeof w.main!="string")throw new Error(lm(12,x?` (${x})`:"",JSON.stringify(w.main)));return kK(w,"light",_,r),kK(w,"dark",C,r),w.contrastText||(w.contrastText=f(w.main)),w},g={dark:J7,light:TK};return Xo({common:{...lk},mode:t,primary:p({color:s,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:o,name:"error"}),warning:p({color:d,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:c,name:"success"}),grey:nAe,contrastThreshold:n,getContrastText:f,augmentColor:p,tonalOffset:r,...g[t]},i)}function $3e(e){const t={};return Object.entries(e).forEach(r=>{const[i,s]=r;typeof s=="object"&&(t[i]=`${s.fontStyle?`${s.fontStyle} `:""}${s.fontVariant?`${s.fontVariant} `:""}${s.fontWeight?`${s.fontWeight} `:""}${s.fontStretch?`${s.fontStretch} `:""}${s.fontSize||""}${s.lineHeight?`/${s.lineHeight} `:""}${s.fontFamily||""}`)}),t}function B3e(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function U3e(e){return Math.round(e*1e5)/1e5}const _K={textTransform:"uppercase"},AK='"Roboto", "Helvetica", "Arial", sans-serif';function Pce(e,t){const{fontFamily:n=AK,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:s=400,fontWeightMedium:a=500,fontWeightBold:o=700,htmlFontSize:l=16,allVariants:c,pxToRem:d,...f}=typeof t=="function"?t(e):t,p=r/14,g=d||(x=>`${x/l*p}rem`),b=(x,T,_,C,I)=>({fontFamily:n,fontWeight:x,fontSize:g(T),lineHeight:_,...n===AK?{letterSpacing:`${U3e(C/T)}em`}:{},...I,...c}),w={h1:b(i,96,1.167,-1.5),h2:b(i,60,1.2,-.5),h3:b(s,48,1.167,0),h4:b(s,34,1.235,.25),h5:b(s,24,1.334,0),h6:b(a,20,1.6,.15),subtitle1:b(s,16,1.75,.15),subtitle2:b(a,14,1.57,.1),body1:b(s,16,1.5,.15),body2:b(s,14,1.43,.15),button:b(a,14,1.75,.4,_K),caption:b(s,12,1.66,.4),overline:b(s,12,2.66,1,_K),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Xo({htmlFontSize:l,pxToRem:g,fontFamily:n,fontSize:r,fontWeightLight:i,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:o,...w},f,{clone:!1})}const z3e=.2,H3e=.14,q3e=.12;function ia(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${z3e})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${H3e})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${q3e})`].join(",")}const j3e=["none",ia(0,2,1,-1,0,1,1,0,0,1,3,0),ia(0,3,1,-2,0,2,2,0,0,1,5,0),ia(0,3,3,-2,0,3,4,0,0,1,8,0),ia(0,2,4,-1,0,4,5,0,0,1,10,0),ia(0,3,5,-1,0,5,8,0,0,1,14,0),ia(0,3,5,-1,0,6,10,0,0,1,18,0),ia(0,4,5,-2,0,7,10,1,0,2,16,1),ia(0,5,5,-3,0,8,10,1,0,3,14,2),ia(0,5,6,-3,0,9,12,1,0,3,16,2),ia(0,6,6,-3,0,10,14,1,0,4,18,3),ia(0,6,7,-4,0,11,15,1,0,4,20,3),ia(0,7,8,-4,0,12,17,2,0,5,22,4),ia(0,7,8,-4,0,13,19,2,0,5,24,4),ia(0,7,9,-4,0,14,21,2,0,5,26,4),ia(0,8,9,-5,0,15,22,2,0,6,28,5),ia(0,8,10,-5,0,16,24,2,0,6,30,5),ia(0,8,11,-5,0,17,26,2,0,6,32,5),ia(0,9,11,-5,0,18,28,2,0,7,34,6),ia(0,9,12,-6,0,19,29,2,0,7,36,6),ia(0,10,13,-6,0,20,31,3,0,8,38,7),ia(0,10,13,-6,0,21,33,3,0,8,40,7),ia(0,10,14,-6,0,22,35,3,0,8,42,7),ia(0,11,14,-7,0,23,36,3,0,9,44,8),ia(0,11,15,-7,0,24,38,3,0,9,46,8)],W3e={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Lce={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function CK(e){return`${Math.round(e)}ms`}function Q3e(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function V3e(e){const t={...W3e,...e.easing},n={...Lce,...e.duration};return{getAutoHeightDuration:Q3e,create:(i=["all"],s={})=>{const{duration:a=n.standard,easing:o=t.easeInOut,delay:l=0,...c}=s;return(Array.isArray(i)?i:[i]).map(d=>`${d} ${typeof a=="string"?a:CK(a)} ${o} ${typeof l=="string"?l:CK(l)}`).join(",")},...e,easing:t,duration:n}}const G3e={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function fM(e={},...t){const{breakpoints:n,mixins:r={},spacing:i,palette:s={},transitions:a={},typography:o={},shape:l,...c}=e;if(e.vars)throw new Error(lm(20));const d=_z(s),f=SE(e);let p=Xo(f,{mixins:B3e(f.breakpoints,r),palette:d,shadows:j3e.slice(),typography:Pce(d,o),transitions:V3e(a),zIndex:{...G3e}});return p=Xo(p,c),p=t.reduce((g,b)=>Xo(g,b),p),p.unstable_sxConfig={...O_,...c==null?void 0:c.unstable_sxConfig},p.unstable_sx=function(b){return _y({sx:b,theme:this})},p}function hM(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const Y3e=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=hM(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Mce(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Fce(e){return e==="dark"?Y3e:[]}function Z3e(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...i}=e,s=_z(t);return{palette:s,opacity:{...Mce(s.mode),...n},overlays:r||Fce(s.mode),...i}}function X3e(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const K3e=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],J3e=e=>(t,n)=>{const r=e.colorSchemeSelector;let i=r;if(r==="class"&&(i=".%s"),r==="data"&&(i="[data-%s]"),r!=null&&r.startsWith("data-")&&!r.includes("%s")&&(i=`[${r}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const s={};return K3e(e.cssVarPrefix).forEach(a=>{s[a]=n[a],delete n[a]}),i==="media"?{":root":n,"@media (prefers-color-scheme: dark)":{":root":s}}:i?{[i.replace("%s",t)]:s,[`:root, ${i.replace("%s",t)}`]:n}:{":root":{...n,...s}}}if(i&&i!=="media")return`:root, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{":root":n}};if(i)return i.replace("%s",String(t))}return":root"};function eRe(e){return op(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function tRe(e={}){const t={...e};function n(r){const i=Object.entries(r);for(let s=0;s{e[n]||(e[n]={})})}function Wt(e,t,n){!e[t]&&n&&(e[t]=n)}function Bw(e){return!e||!e.startsWith("hsl")?e:Ece(e)}function A0(e,t){`${t}Channel`in e||(e[`${t}Channel`]=$w(Bw(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color(). -To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function nRe(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const jh=e=>{try{return e()}catch{}},rRe=(e="mui")=>K4e(e);function eP(e,t,n,r){if(!t)return;t=t===!0?{}:t;const i=r==="dark"?"dark":"light";if(!n){e[r]=Y3e({...t,palette:{mode:i,...t==null?void 0:t.palette}});return}const{palette:s,...a}=fM({...n,palette:{mode:i,...t==null?void 0:t.palette}});return e[r]={...t,palette:s,opacity:{...Lce(i),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||Mce(i)},a}function iRe(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:s="mui",shouldSkipGeneratingVar:a=Z3e,colorSchemeSelector:o=n.light&&n.dark?"media":void 0,...l}=e,c=Object.keys(n)[0],d=r||(n.light&&c!=="light"?"light":c),f=rRe(s),{[d]:p,light:g,dark:b,...w}=n,x={...w};let T=p;if((d==="dark"&&!("dark"in n)||d==="light"&&!("light"in n))&&(T=!0),!T)throw new Error(lm(21,d));const _=eP(x,T,l,d);g&&!x.light&&eP(x,g,void 0,"light"),b&&!x.dark&&eP(x,b,void 0,"dark");let C={defaultColorScheme:d,..._,cssVarPrefix:s,colorSchemeSelector:o,getCssVar:f,colorSchemes:x,font:{...F3e(_.typography),..._.font},spacing:nRe(l.spacing)};Object.keys(C.colorSchemes).forEach(j=>{const F=C.colorSchemes[j].palette,V=ie=>{const se=ie.split("-"),me=se[1],fe=se[2];return f(ie,F[me][fe])};if(F.mode==="light"&&(Wt(F.common,"background","#fff"),Wt(F.common,"onBackground","#000")),F.mode==="dark"&&(Wt(F.common,"background","#000"),Wt(F.common,"onBackground","#fff")),tRe(F,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),F.mode==="light"){Wt(F.Alert,"errorColor",ws(F.error.light,.6)),Wt(F.Alert,"infoColor",ws(F.info.light,.6)),Wt(F.Alert,"successColor",ws(F.success.light,.6)),Wt(F.Alert,"warningColor",ws(F.warning.light,.6)),Wt(F.Alert,"errorFilledBg",V("palette-error-main")),Wt(F.Alert,"infoFilledBg",V("palette-info-main")),Wt(F.Alert,"successFilledBg",V("palette-success-main")),Wt(F.Alert,"warningFilledBg",V("palette-warning-main")),Wt(F.Alert,"errorFilledColor",jh(()=>F.getContrastText(F.error.main))),Wt(F.Alert,"infoFilledColor",jh(()=>F.getContrastText(F.info.main))),Wt(F.Alert,"successFilledColor",jh(()=>F.getContrastText(F.success.main))),Wt(F.Alert,"warningFilledColor",jh(()=>F.getContrastText(F.warning.main))),Wt(F.Alert,"errorStandardBg",xs(F.error.light,.9)),Wt(F.Alert,"infoStandardBg",xs(F.info.light,.9)),Wt(F.Alert,"successStandardBg",xs(F.success.light,.9)),Wt(F.Alert,"warningStandardBg",xs(F.warning.light,.9)),Wt(F.Alert,"errorIconColor",V("palette-error-main")),Wt(F.Alert,"infoIconColor",V("palette-info-main")),Wt(F.Alert,"successIconColor",V("palette-success-main")),Wt(F.Alert,"warningIconColor",V("palette-warning-main")),Wt(F.AppBar,"defaultBg",V("palette-grey-100")),Wt(F.Avatar,"defaultBg",V("palette-grey-400")),Wt(F.Button,"inheritContainedBg",V("palette-grey-300")),Wt(F.Button,"inheritContainedHoverBg",V("palette-grey-A100")),Wt(F.Chip,"defaultBorder",V("palette-grey-400")),Wt(F.Chip,"defaultAvatarColor",V("palette-grey-700")),Wt(F.Chip,"defaultIconColor",V("palette-grey-700")),Wt(F.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Wt(F.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Wt(F.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Wt(F.LinearProgress,"primaryBg",xs(F.primary.main,.62)),Wt(F.LinearProgress,"secondaryBg",xs(F.secondary.main,.62)),Wt(F.LinearProgress,"errorBg",xs(F.error.main,.62)),Wt(F.LinearProgress,"infoBg",xs(F.info.main,.62)),Wt(F.LinearProgress,"successBg",xs(F.success.main,.62)),Wt(F.LinearProgress,"warningBg",xs(F.warning.main,.62)),Wt(F.Skeleton,"bg",`rgba(${V("palette-text-primaryChannel")} / 0.11)`),Wt(F.Slider,"primaryTrack",xs(F.primary.main,.62)),Wt(F.Slider,"secondaryTrack",xs(F.secondary.main,.62)),Wt(F.Slider,"errorTrack",xs(F.error.main,.62)),Wt(F.Slider,"infoTrack",xs(F.info.main,.62)),Wt(F.Slider,"successTrack",xs(F.success.main,.62)),Wt(F.Slider,"warningTrack",xs(F.warning.main,.62));const ie=JC(F.background.default,.8);Wt(F.SnackbarContent,"bg",ie),Wt(F.SnackbarContent,"color",jh(()=>F.getContrastText(ie))),Wt(F.SpeedDialAction,"fabHoverBg",JC(F.background.paper,.15)),Wt(F.StepConnector,"border",V("palette-grey-400")),Wt(F.StepContent,"border",V("palette-grey-400")),Wt(F.Switch,"defaultColor",V("palette-common-white")),Wt(F.Switch,"defaultDisabledColor",V("palette-grey-100")),Wt(F.Switch,"primaryDisabledColor",xs(F.primary.main,.62)),Wt(F.Switch,"secondaryDisabledColor",xs(F.secondary.main,.62)),Wt(F.Switch,"errorDisabledColor",xs(F.error.main,.62)),Wt(F.Switch,"infoDisabledColor",xs(F.info.main,.62)),Wt(F.Switch,"successDisabledColor",xs(F.success.main,.62)),Wt(F.Switch,"warningDisabledColor",xs(F.warning.main,.62)),Wt(F.TableCell,"border",xs(KC(F.divider,1),.88)),Wt(F.Tooltip,"bg",KC(F.grey[700],.92))}if(F.mode==="dark"){Wt(F.Alert,"errorColor",xs(F.error.light,.6)),Wt(F.Alert,"infoColor",xs(F.info.light,.6)),Wt(F.Alert,"successColor",xs(F.success.light,.6)),Wt(F.Alert,"warningColor",xs(F.warning.light,.6)),Wt(F.Alert,"errorFilledBg",V("palette-error-dark")),Wt(F.Alert,"infoFilledBg",V("palette-info-dark")),Wt(F.Alert,"successFilledBg",V("palette-success-dark")),Wt(F.Alert,"warningFilledBg",V("palette-warning-dark")),Wt(F.Alert,"errorFilledColor",jh(()=>F.getContrastText(F.error.dark))),Wt(F.Alert,"infoFilledColor",jh(()=>F.getContrastText(F.info.dark))),Wt(F.Alert,"successFilledColor",jh(()=>F.getContrastText(F.success.dark))),Wt(F.Alert,"warningFilledColor",jh(()=>F.getContrastText(F.warning.dark))),Wt(F.Alert,"errorStandardBg",ws(F.error.light,.9)),Wt(F.Alert,"infoStandardBg",ws(F.info.light,.9)),Wt(F.Alert,"successStandardBg",ws(F.success.light,.9)),Wt(F.Alert,"warningStandardBg",ws(F.warning.light,.9)),Wt(F.Alert,"errorIconColor",V("palette-error-main")),Wt(F.Alert,"infoIconColor",V("palette-info-main")),Wt(F.Alert,"successIconColor",V("palette-success-main")),Wt(F.Alert,"warningIconColor",V("palette-warning-main")),Wt(F.AppBar,"defaultBg",V("palette-grey-900")),Wt(F.AppBar,"darkBg",V("palette-background-paper")),Wt(F.AppBar,"darkColor",V("palette-text-primary")),Wt(F.Avatar,"defaultBg",V("palette-grey-600")),Wt(F.Button,"inheritContainedBg",V("palette-grey-800")),Wt(F.Button,"inheritContainedHoverBg",V("palette-grey-700")),Wt(F.Chip,"defaultBorder",V("palette-grey-700")),Wt(F.Chip,"defaultAvatarColor",V("palette-grey-300")),Wt(F.Chip,"defaultIconColor",V("palette-grey-300")),Wt(F.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Wt(F.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Wt(F.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Wt(F.LinearProgress,"primaryBg",ws(F.primary.main,.5)),Wt(F.LinearProgress,"secondaryBg",ws(F.secondary.main,.5)),Wt(F.LinearProgress,"errorBg",ws(F.error.main,.5)),Wt(F.LinearProgress,"infoBg",ws(F.info.main,.5)),Wt(F.LinearProgress,"successBg",ws(F.success.main,.5)),Wt(F.LinearProgress,"warningBg",ws(F.warning.main,.5)),Wt(F.Skeleton,"bg",`rgba(${V("palette-text-primaryChannel")} / 0.13)`),Wt(F.Slider,"primaryTrack",ws(F.primary.main,.5)),Wt(F.Slider,"secondaryTrack",ws(F.secondary.main,.5)),Wt(F.Slider,"errorTrack",ws(F.error.main,.5)),Wt(F.Slider,"infoTrack",ws(F.info.main,.5)),Wt(F.Slider,"successTrack",ws(F.success.main,.5)),Wt(F.Slider,"warningTrack",ws(F.warning.main,.5));const ie=JC(F.background.default,.98);Wt(F.SnackbarContent,"bg",ie),Wt(F.SnackbarContent,"color",jh(()=>F.getContrastText(ie))),Wt(F.SpeedDialAction,"fabHoverBg",JC(F.background.paper,.15)),Wt(F.StepConnector,"border",V("palette-grey-600")),Wt(F.StepContent,"border",V("palette-grey-600")),Wt(F.Switch,"defaultColor",V("palette-grey-300")),Wt(F.Switch,"defaultDisabledColor",V("palette-grey-600")),Wt(F.Switch,"primaryDisabledColor",ws(F.primary.main,.55)),Wt(F.Switch,"secondaryDisabledColor",ws(F.secondary.main,.55)),Wt(F.Switch,"errorDisabledColor",ws(F.error.main,.55)),Wt(F.Switch,"infoDisabledColor",ws(F.info.main,.55)),Wt(F.Switch,"successDisabledColor",ws(F.success.main,.55)),Wt(F.Switch,"warningDisabledColor",ws(F.warning.main,.55)),Wt(F.TableCell,"border",ws(KC(F.divider,1),.68)),Wt(F.Tooltip,"bg",KC(F.grey[700],.92))}A0(F.background,"default"),A0(F.background,"paper"),A0(F.common,"background"),A0(F.common,"onBackground"),A0(F,"divider"),Object.keys(F).forEach(ie=>{const se=F[ie];se&&typeof se=="object"&&(se.main&&Wt(F[ie],"mainChannel",$w(Bw(se.main))),se.light&&Wt(F[ie],"lightChannel",$w(Bw(se.light))),se.dark&&Wt(F[ie],"darkChannel",$w(Bw(se.dark))),se.contrastText&&Wt(F[ie],"contrastTextChannel",$w(Bw(se.contrastText))),ie==="text"&&(A0(F[ie],"primary"),A0(F[ie],"secondary")),ie==="action"&&(se.active&&A0(F[ie],"active"),se.selected&&A0(F[ie],"selected")))})}),C=t.reduce((j,F)=>Xo(j,F),C);const I={prefix:s,disableCssColorScheme:i,shouldSkipGeneratingVar:a,getSelector:K3e(C)},{vars:M,generateThemeVars:$,generateStyleSheets:B}=t3e(C,I);return C.vars=M,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([j,F])=>{C[j]=F}),C.generateThemeVars=$,C.generateStyleSheets=B,C.generateSpacing=function(){return pce(l.spacing,y6(this))},C.getColorSchemeSelector=n3e(o),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=a,C.unstable_sxConfig={...O_,...l==null?void 0:l.unstable_sxConfig},C.unstable_sx=function(F){return _y({sx:F,theme:this})},C.toRuntimeSource=eRe,C}function RK(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:_z({...n===!0?{}:n.palette,mode:t})})}function B6(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:i=n?void 0:{light:!0},defaultColorScheme:s=n==null?void 0:n.mode,...a}=e,o=s||"light",l=i==null?void 0:i[o],c={...i,...n?{[o]:{...typeof l!="boolean"&&l,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return fM(e,...t);let d=n;"palette"in e||c[o]&&(c[o]!==!0?d=c[o].palette:o==="dark"&&(d={mode:"dark"}));const f=fM({...e,palette:d},...t);return f.defaultColorScheme=o,f.colorSchemes=c,f.palette.mode==="light"&&(f.colorSchemes.light={...c.light!==!0&&c.light,palette:f.palette},RK(f,"dark",c.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...c.dark!==!0&&c.dark,palette:f.palette},RK(f,"light",c.light)),f}return!n&&!("light"in c)&&o==="light"&&(c.light=!0),iRe({...a,colorSchemes:c,defaultColorScheme:o,...typeof r!="boolean"&&r},...t)}const U6=B6();function Ap(){const e=E_(U6);return e[sh]||e}function T_({props:e,name:t}){return P6({props:e,name:t,defaultTheme:U6,themeId:sh})}function z6(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const El=e=>z6(e)&&e!=="classes",Qt=yce({themeId:sh,defaultTheme:U6,rootShouldForwardProp:El});function IK({theme:e,...t}){const n=sh in e?e[sh]:void 0;return U.jsx(Ice,{...t,themeId:n?sh:void 0,theme:n||e})}const e4={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:sRe,useColorScheme:Man,getInitColorSchemeScript:Fan}=X4e({themeId:sh,theme:()=>B6({cssVariables:!0}),colorSchemeStorageKey:e4.colorSchemeStorageKey,modeStorageKey:e4.modeStorageKey,defaultColorScheme:{light:e4.defaultLightColorScheme,dark:e4.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:Nce(e.palette,e.typography)};return t.unstable_sx=function(r){return _y({sx:r,theme:this})},t}}),aRe=sRe;function oRe({theme:e,...t}){return typeof e=="function"?U.jsx(IK,{theme:e,...t}):"colorSchemes"in(sh in e?e[sh]:e)?U.jsx(aRe,{theme:e,...t}):U.jsx(IK,{theme:e,...t})}function lRe(e){return U.jsx(d4e,{...e,defaultTheme:U6,themeId:sh})}function Az(e){return function(n){return U.jsx(lRe,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function uRe(){return w_}const DK={theme:void 0};function Bn(e){let t,n;return r=>{let i=t;return(i===void 0||r.theme!==n)&&(DK.theme=r.theme,i=e(DK),t=i,n=r.theme),i}}function ir(e){return W4e(e)}function cRe(e){return Hn("MuiSvgIcon",e)}Yn("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const dRe=e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root",t!=="inherit"&&`color${jt(t)}`,`fontSize${jt(n)}`]};return Vn(i,cRe,r)},fRe=Qt("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${jt(n.color)}`],t[`fontSize${jt(n.fontSize)}`]]}})(Bn(({theme:e})=>{var t,n,r,i,s,a,o,l,c,d,f,p,g,b;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(i=(t=e.transitions)==null?void 0:t.create)==null?void 0:i.call(t,"fill",{duration:(r=(n=(e.vars??e).transitions)==null?void 0:n.duration)==null?void 0:r.shorter}),variants:[{props:w=>!w.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((a=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:a.call(s,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((l=(o=e.typography)==null?void 0:o.pxToRem)==null?void 0:l.call(o,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((d=(c=e.typography)==null?void 0:c.pxToRem)==null?void 0:d.call(c,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,w])=>w&&w.main).map(([w])=>{var x,T;return{props:{color:w},style:{color:(T=(x=(e.vars??e).palette)==null?void 0:x[w])==null?void 0:T.main}}}),{props:{color:"action"},style:{color:(p=(f=(e.vars??e).palette)==null?void 0:f.action)==null?void 0:p.active}},{props:{color:"disabled"},style:{color:(b=(g=(e.vars??e).palette)==null?void 0:g.action)==null?void 0:b.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),fk=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiSvgIcon"}),{children:i,className:s,color:a="inherit",component:o="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:d=!1,titleAccess:f,viewBox:p="0 0 24 24",...g}=r,b=Y.isValidElement(i)&&i.type==="svg",w={...r,color:a,component:o,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:d,viewBox:p,hasSvgAsChild:b},x={};d||(x.viewBox=p);const T=dRe(w);return U.jsxs(fRe,{as:o,className:cn(T.root,s),focusable:"false",color:c,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:n,...x,...g,...b&&i.props,ownerState:w,children:[b?i.props.children:i,f?U.jsx("title",{children:f}):null]})});fk&&(fk.muiName="SvgIcon");function pi(e,t){function n(r,i){return U.jsx(fk,{"data-testid":`${t}Icon`,ref:i,...r,children:e})}return n.muiName=fk.muiName,Y.memo(Y.forwardRef(n))}function Cz(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function pM(e,t){return pM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},pM(e,t)}function Fce(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,pM(e,t)}const NK={disabled:!1},e5=Dn.createContext(null);var hRe=function(t){return t.scrollTop},Uw="unmounted",lb="exited",ub="entering",rS="entered",mM="exiting",gh=function(e){Fce(t,e);function t(r,i){var s;s=e.call(this,r,i)||this;var a=i,o=a&&!a.isMounting?r.enter:r.appear,l;return s.appearStatus=null,r.in?o?(l=lb,s.appearStatus=ub):l=rS:r.unmountOnExit||r.mountOnEnter?l=Uw:l=lb,s.state={status:l},s.nextCallback=null,s}t.getDerivedStateFromProps=function(i,s){var a=i.in;return a&&s.status===Uw?{status:lb}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var s=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==ub&&a!==rS&&(s=ub):(a===ub||a===rS)&&(s=mM)}this.updateStatus(!1,s)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,s,a,o;return s=a=o=i,i!=null&&typeof i!="number"&&(s=i.exit,a=i.enter,o=i.appear!==void 0?i.appear:a),{exit:s,enter:a,appear:o}},n.updateStatus=function(i,s){if(i===void 0&&(i=!1),s!==null)if(this.cancelNextCallback(),s===ub){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:Fw.findDOMNode(this);a&&hRe(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===lb&&this.setState({status:Uw})},n.performEnter=function(i){var s=this,a=this.props.enter,o=this.context?this.context.isMounting:i,l=this.props.nodeRef?[o]:[Fw.findDOMNode(this),o],c=l[0],d=l[1],f=this.getTimeouts(),p=o?f.appear:f.enter;if(!i&&!a||NK.disabled){this.safeSetState({status:rS},function(){s.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:ub},function(){s.props.onEntering(c,d),s.onTransitionEnd(p,function(){s.safeSetState({status:rS},function(){s.props.onEntered(c,d)})})})},n.performExit=function(){var i=this,s=this.props.exit,a=this.getTimeouts(),o=this.props.nodeRef?void 0:Fw.findDOMNode(this);if(!s||NK.disabled){this.safeSetState({status:lb},function(){i.props.onExited(o)});return}this.props.onExit(o),this.safeSetState({status:mM},function(){i.props.onExiting(o),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:lb},function(){i.props.onExited(o)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,s){s=this.setNextCallback(s),this.setState(i,s)},n.setNextCallback=function(i){var s=this,a=!0;return this.nextCallback=function(o){a&&(a=!1,s.nextCallback=null,i(o))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(i,s){this.setNextCallback(s);var a=this.props.nodeRef?this.props.nodeRef.current:Fw.findDOMNode(this),o=i==null&&!this.props.addEndListener;if(!a||o){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],c=l[0],d=l[1];this.props.addEndListener(c,d)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Uw)return null;var s=this.props,a=s.children;s.in,s.mountOnEnter,s.unmountOnExit,s.appear,s.enter,s.exit,s.timeout,s.addEndListener,s.onEnter,s.onEntering,s.onEntered,s.onExit,s.onExiting,s.onExited,s.nodeRef;var o=Cz(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Dn.createElement(e5.Provider,{value:null},typeof a=="function"?a(i,o):Dn.cloneElement(Dn.Children.only(a),o))},t}(Dn.Component);gh.contextType=e5;gh.propTypes={};function Uv(){}gh.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Uv,onEntering:Uv,onEntered:Uv,onExit:Uv,onExiting:Uv,onExited:Uv};gh.UNMOUNTED=Uw;gh.EXITED=lb;gh.ENTERING=ub;gh.ENTERED=rS;gh.EXITING=mM;function pRe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rz(e,t){var n=function(s){return t&&Y.isValidElement(s)?t(s):s},r=Object.create(null);return e&&Y.Children.map(e,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function mRe(e,t){e=e||{},t=t||{};function n(d){return d in t?t[d]:e[d]}var r=Object.create(null),i=[];for(var s in e)s in t?i.length&&(r[s]=i,i=[]):i.push(s);var a,o={};for(var l in t){if(r[l])for(a=0;ae.scrollTop;function $O(e,t){const{timeout:n,easing:r,style:i={}}=e;return{duration:i.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:i.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:i.transitionDelay}}function SRe(e){return Hn("MuiCollapse",e)}Yn("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const ORe=e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return Vn(r,SRe,n)},ERe=Qt("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.state==="entered"&&t.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&t.hidden]}})(Bn(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:t})=>t.state==="exited"&&!t.in&&t.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),wRe=Qt("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),xRe=Qt("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),gM=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiCollapse"}),{addEndListener:i,children:s,className:a,collapsedSize:o="0px",component:l,easing:c,in:d,onEnter:f,onEntered:p,onEntering:g,onExit:b,onExited:w,onExiting:x,orientation:T="vertical",style:_,timeout:C=Pce.standard,TransitionComponent:I=gh,...M}=r,$={...r,orientation:T,collapsedSize:o},B=ORe($),j=Ap(),F=Sb(),V=Y.useRef(null),ie=Y.useRef(),se=typeof o=="number"?`${o}px`:o,me=T==="horizontal",fe=me?"width":"height",le=Y.useRef(null),ye=$i(n,le),ae=Ze=>qt=>{if(Ze){const xt=le.current;qt===void 0?Ze(xt):Ze(xt,qt)}},Se=()=>V.current?V.current[me?"clientWidth":"clientHeight"]:0,he=ae((Ze,qt)=>{V.current&&me&&(V.current.style.position="absolute"),Ze.style[fe]=se,f&&f(Ze,qt)}),re=ae((Ze,qt)=>{const xt=Se();V.current&&me&&(V.current.style.position="");const{duration:Nt,easing:Ht}=$O({style:_,timeout:C,easing:c},{mode:"enter"});if(C==="auto"){const Jt=j.transitions.getAutoHeightDuration(xt);Ze.style.transitionDuration=`${Jt}ms`,ie.current=Jt}else Ze.style.transitionDuration=typeof Nt=="string"?Nt:`${Nt}ms`;Ze.style[fe]=`${xt}px`,Ze.style.transitionTimingFunction=Ht,g&&g(Ze,qt)}),Fe=ae((Ze,qt)=>{Ze.style[fe]="auto",p&&p(Ze,qt)}),je=ae(Ze=>{Ze.style[fe]=`${Se()}px`,b&&b(Ze)}),ue=ae(w),tt=ae(Ze=>{const qt=Se(),{duration:xt,easing:Nt}=$O({style:_,timeout:C,easing:c},{mode:"exit"});if(C==="auto"){const Ht=j.transitions.getAutoHeightDuration(qt);Ze.style.transitionDuration=`${Ht}ms`,ie.current=Ht}else Ze.style.transitionDuration=typeof xt=="string"?xt:`${xt}ms`;Ze.style[fe]=se,Ze.style.transitionTimingFunction=Nt,x&&x(Ze)}),St=Ze=>{C==="auto"&&F.start(ie.current||0,Ze),i&&i(le.current,Ze)};return U.jsx(I,{in:d,onEnter:he,onEntered:Fe,onEntering:re,onExit:je,onExited:ue,onExiting:tt,addEndListener:St,nodeRef:le,timeout:C==="auto"?null:C,...M,children:(Ze,qt)=>U.jsx(ERe,{as:l,className:cn(B.root,a,{entered:B.entered,exited:!d&&se==="0px"&&B.hidden}[Ze]),style:{[me?"minWidth":"minHeight"]:se,..._},ref:ye,...qt,ownerState:{...$,state:Ze},children:U.jsx(wRe,{ownerState:{...$,state:Ze},className:B.wrapper,ref:V,children:U.jsx(xRe,{ownerState:{...$,state:Ze},className:B.wrapperInner,children:s})})})})});gM&&(gM.muiSupportAuto=!0);function TRe(e){return Hn("MuiPaper",e)}Yn("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const kRe=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,s={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Vn(s,TRe,i)},_Re=Qt("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(Bn(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Ko=Y.forwardRef(function(t,n){var g;const r=ir({props:t,name:"MuiPaper"}),i=Ap(),{className:s,component:a="div",elevation:o=1,square:l=!1,variant:c="elevation",...d}=r,f={...r,component:a,elevation:o,square:l,variant:c},p=kRe(f);return U.jsx(_Re,{as:a,ownerState:f,className:cn(p.root,s),ref:n,...d,style:{...c==="elevation"&&{"--Paper-shadow":(i.vars||i).shadows[o],...i.vars&&{"--Paper-overlay":(g=i.vars.overlays)==null?void 0:g[o]},...!i.vars&&i.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${mr("#fff",hM(o))}, ${mr("#fff",hM(o))})`}},...d.style}})});function gl(e,t){const{className:n,elementType:r,ownerState:i,externalForwardedProps:s,getSlotOwnerState:a,internalForwardedProps:o,...l}=t,{component:c,slots:d={[e]:void 0},slotProps:f={[e]:void 0},...p}=s,g=d[e]||r,b=_ce(f[e],i),{props:{component:w,...x},internalRef:T}=kce({className:n,...l,externalForwardedProps:e==="root"?p:void 0,externalSlotProps:b}),_=$i(T,b==null?void 0:b.ref,t.ref),C=a?a(x):{},I={...i,...C},M=e==="root"?w||c:w,$=_S(g,{...e==="root"&&!c&&!d[e]&&o,...e!=="root"&&!d[e]&&o,...x,...M&&{as:M},ref:_},I);return Object.keys(C).forEach(B=>{delete $[B]}),[g,$]}class t5{constructor(){Qa(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new t5}static use(){const t=xce(t5.create).current,[n,r]=Y.useState(!1);return t.shouldMount=n,t.setShouldMount=r,Y.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=CRe(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.start(...t)})}stop(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.stop(...t)})}pulsate(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.pulsate(...t)})}}function ARe(){return t5.use()}function CRe(){let e,t;const n=new Promise((r,i)=>{e=r,t=i});return n.resolve=e,n.reject=t,n}function RRe(e){const{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:s,rippleSize:a,in:o,onExited:l,timeout:c}=e,[d,f]=Y.useState(!1),p=cn(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),g={width:a,height:a,top:-(a/2)+s,left:-(a/2)+i},b=cn(n.child,d&&n.childLeaving,r&&n.childPulsate);return!o&&!d&&f(!0),Y.useEffect(()=>{if(!o&&l!=null){const w=setTimeout(l,c);return()=>{clearTimeout(w)}}},[l,o,c]),U.jsx("span",{className:p,style:g,children:U.jsx("span",{className:b})})}const qd=Yn("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),bM=550,IRe=80,DRe=v_` +export default theme;`}function nRe(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function Wt(e,t,n){!e[t]&&n&&(e[t]=n)}function Bw(e){return!e||!e.startsWith("hsl")?e:wce(e)}function A0(e,t){`${t}Channel`in e||(e[`${t}Channel`]=$w(Bw(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color(). +To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function rRe(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const jh=e=>{try{return e()}catch{}},iRe=(e="mui")=>J4e(e);function eP(e,t,n,r){if(!t)return;t=t===!0?{}:t;const i=r==="dark"?"dark":"light";if(!n){e[r]=Z3e({...t,palette:{mode:i,...t==null?void 0:t.palette}});return}const{palette:s,...a}=fM({...n,palette:{mode:i,...t==null?void 0:t.palette}});return e[r]={...t,palette:s,opacity:{...Mce(i),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||Fce(i)},a}function sRe(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:s="mui",shouldSkipGeneratingVar:a=X3e,colorSchemeSelector:o=n.light&&n.dark?"media":void 0,...l}=e,c=Object.keys(n)[0],d=r||(n.light&&c!=="light"?"light":c),f=iRe(s),{[d]:p,light:g,dark:b,...w}=n,x={...w};let T=p;if((d==="dark"&&!("dark"in n)||d==="light"&&!("light"in n))&&(T=!0),!T)throw new Error(lm(21,d));const _=eP(x,T,l,d);g&&!x.light&&eP(x,g,void 0,"light"),b&&!x.dark&&eP(x,b,void 0,"dark");let C={defaultColorScheme:d,..._,cssVarPrefix:s,colorSchemeSelector:o,getCssVar:f,colorSchemes:x,font:{...$3e(_.typography),..._.font},spacing:rRe(l.spacing)};Object.keys(C.colorSchemes).forEach(j=>{const F=C.colorSchemes[j].palette,V=ie=>{const se=ie.split("-"),me=se[1],fe=se[2];return f(ie,F[me][fe])};if(F.mode==="light"&&(Wt(F.common,"background","#fff"),Wt(F.common,"onBackground","#000")),F.mode==="dark"&&(Wt(F.common,"background","#000"),Wt(F.common,"onBackground","#fff")),nRe(F,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),F.mode==="light"){Wt(F.Alert,"errorColor",ws(F.error.light,.6)),Wt(F.Alert,"infoColor",ws(F.info.light,.6)),Wt(F.Alert,"successColor",ws(F.success.light,.6)),Wt(F.Alert,"warningColor",ws(F.warning.light,.6)),Wt(F.Alert,"errorFilledBg",V("palette-error-main")),Wt(F.Alert,"infoFilledBg",V("palette-info-main")),Wt(F.Alert,"successFilledBg",V("palette-success-main")),Wt(F.Alert,"warningFilledBg",V("palette-warning-main")),Wt(F.Alert,"errorFilledColor",jh(()=>F.getContrastText(F.error.main))),Wt(F.Alert,"infoFilledColor",jh(()=>F.getContrastText(F.info.main))),Wt(F.Alert,"successFilledColor",jh(()=>F.getContrastText(F.success.main))),Wt(F.Alert,"warningFilledColor",jh(()=>F.getContrastText(F.warning.main))),Wt(F.Alert,"errorStandardBg",xs(F.error.light,.9)),Wt(F.Alert,"infoStandardBg",xs(F.info.light,.9)),Wt(F.Alert,"successStandardBg",xs(F.success.light,.9)),Wt(F.Alert,"warningStandardBg",xs(F.warning.light,.9)),Wt(F.Alert,"errorIconColor",V("palette-error-main")),Wt(F.Alert,"infoIconColor",V("palette-info-main")),Wt(F.Alert,"successIconColor",V("palette-success-main")),Wt(F.Alert,"warningIconColor",V("palette-warning-main")),Wt(F.AppBar,"defaultBg",V("palette-grey-100")),Wt(F.Avatar,"defaultBg",V("palette-grey-400")),Wt(F.Button,"inheritContainedBg",V("palette-grey-300")),Wt(F.Button,"inheritContainedHoverBg",V("palette-grey-A100")),Wt(F.Chip,"defaultBorder",V("palette-grey-400")),Wt(F.Chip,"defaultAvatarColor",V("palette-grey-700")),Wt(F.Chip,"defaultIconColor",V("palette-grey-700")),Wt(F.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Wt(F.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Wt(F.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Wt(F.LinearProgress,"primaryBg",xs(F.primary.main,.62)),Wt(F.LinearProgress,"secondaryBg",xs(F.secondary.main,.62)),Wt(F.LinearProgress,"errorBg",xs(F.error.main,.62)),Wt(F.LinearProgress,"infoBg",xs(F.info.main,.62)),Wt(F.LinearProgress,"successBg",xs(F.success.main,.62)),Wt(F.LinearProgress,"warningBg",xs(F.warning.main,.62)),Wt(F.Skeleton,"bg",`rgba(${V("palette-text-primaryChannel")} / 0.11)`),Wt(F.Slider,"primaryTrack",xs(F.primary.main,.62)),Wt(F.Slider,"secondaryTrack",xs(F.secondary.main,.62)),Wt(F.Slider,"errorTrack",xs(F.error.main,.62)),Wt(F.Slider,"infoTrack",xs(F.info.main,.62)),Wt(F.Slider,"successTrack",xs(F.success.main,.62)),Wt(F.Slider,"warningTrack",xs(F.warning.main,.62));const ie=JC(F.background.default,.8);Wt(F.SnackbarContent,"bg",ie),Wt(F.SnackbarContent,"color",jh(()=>F.getContrastText(ie))),Wt(F.SpeedDialAction,"fabHoverBg",JC(F.background.paper,.15)),Wt(F.StepConnector,"border",V("palette-grey-400")),Wt(F.StepContent,"border",V("palette-grey-400")),Wt(F.Switch,"defaultColor",V("palette-common-white")),Wt(F.Switch,"defaultDisabledColor",V("palette-grey-100")),Wt(F.Switch,"primaryDisabledColor",xs(F.primary.main,.62)),Wt(F.Switch,"secondaryDisabledColor",xs(F.secondary.main,.62)),Wt(F.Switch,"errorDisabledColor",xs(F.error.main,.62)),Wt(F.Switch,"infoDisabledColor",xs(F.info.main,.62)),Wt(F.Switch,"successDisabledColor",xs(F.success.main,.62)),Wt(F.Switch,"warningDisabledColor",xs(F.warning.main,.62)),Wt(F.TableCell,"border",xs(KC(F.divider,1),.88)),Wt(F.Tooltip,"bg",KC(F.grey[700],.92))}if(F.mode==="dark"){Wt(F.Alert,"errorColor",xs(F.error.light,.6)),Wt(F.Alert,"infoColor",xs(F.info.light,.6)),Wt(F.Alert,"successColor",xs(F.success.light,.6)),Wt(F.Alert,"warningColor",xs(F.warning.light,.6)),Wt(F.Alert,"errorFilledBg",V("palette-error-dark")),Wt(F.Alert,"infoFilledBg",V("palette-info-dark")),Wt(F.Alert,"successFilledBg",V("palette-success-dark")),Wt(F.Alert,"warningFilledBg",V("palette-warning-dark")),Wt(F.Alert,"errorFilledColor",jh(()=>F.getContrastText(F.error.dark))),Wt(F.Alert,"infoFilledColor",jh(()=>F.getContrastText(F.info.dark))),Wt(F.Alert,"successFilledColor",jh(()=>F.getContrastText(F.success.dark))),Wt(F.Alert,"warningFilledColor",jh(()=>F.getContrastText(F.warning.dark))),Wt(F.Alert,"errorStandardBg",ws(F.error.light,.9)),Wt(F.Alert,"infoStandardBg",ws(F.info.light,.9)),Wt(F.Alert,"successStandardBg",ws(F.success.light,.9)),Wt(F.Alert,"warningStandardBg",ws(F.warning.light,.9)),Wt(F.Alert,"errorIconColor",V("palette-error-main")),Wt(F.Alert,"infoIconColor",V("palette-info-main")),Wt(F.Alert,"successIconColor",V("palette-success-main")),Wt(F.Alert,"warningIconColor",V("palette-warning-main")),Wt(F.AppBar,"defaultBg",V("palette-grey-900")),Wt(F.AppBar,"darkBg",V("palette-background-paper")),Wt(F.AppBar,"darkColor",V("palette-text-primary")),Wt(F.Avatar,"defaultBg",V("palette-grey-600")),Wt(F.Button,"inheritContainedBg",V("palette-grey-800")),Wt(F.Button,"inheritContainedHoverBg",V("palette-grey-700")),Wt(F.Chip,"defaultBorder",V("palette-grey-700")),Wt(F.Chip,"defaultAvatarColor",V("palette-grey-300")),Wt(F.Chip,"defaultIconColor",V("palette-grey-300")),Wt(F.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Wt(F.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Wt(F.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Wt(F.LinearProgress,"primaryBg",ws(F.primary.main,.5)),Wt(F.LinearProgress,"secondaryBg",ws(F.secondary.main,.5)),Wt(F.LinearProgress,"errorBg",ws(F.error.main,.5)),Wt(F.LinearProgress,"infoBg",ws(F.info.main,.5)),Wt(F.LinearProgress,"successBg",ws(F.success.main,.5)),Wt(F.LinearProgress,"warningBg",ws(F.warning.main,.5)),Wt(F.Skeleton,"bg",`rgba(${V("palette-text-primaryChannel")} / 0.13)`),Wt(F.Slider,"primaryTrack",ws(F.primary.main,.5)),Wt(F.Slider,"secondaryTrack",ws(F.secondary.main,.5)),Wt(F.Slider,"errorTrack",ws(F.error.main,.5)),Wt(F.Slider,"infoTrack",ws(F.info.main,.5)),Wt(F.Slider,"successTrack",ws(F.success.main,.5)),Wt(F.Slider,"warningTrack",ws(F.warning.main,.5));const ie=JC(F.background.default,.98);Wt(F.SnackbarContent,"bg",ie),Wt(F.SnackbarContent,"color",jh(()=>F.getContrastText(ie))),Wt(F.SpeedDialAction,"fabHoverBg",JC(F.background.paper,.15)),Wt(F.StepConnector,"border",V("palette-grey-600")),Wt(F.StepContent,"border",V("palette-grey-600")),Wt(F.Switch,"defaultColor",V("palette-grey-300")),Wt(F.Switch,"defaultDisabledColor",V("palette-grey-600")),Wt(F.Switch,"primaryDisabledColor",ws(F.primary.main,.55)),Wt(F.Switch,"secondaryDisabledColor",ws(F.secondary.main,.55)),Wt(F.Switch,"errorDisabledColor",ws(F.error.main,.55)),Wt(F.Switch,"infoDisabledColor",ws(F.info.main,.55)),Wt(F.Switch,"successDisabledColor",ws(F.success.main,.55)),Wt(F.Switch,"warningDisabledColor",ws(F.warning.main,.55)),Wt(F.TableCell,"border",ws(KC(F.divider,1),.68)),Wt(F.Tooltip,"bg",KC(F.grey[700],.92))}A0(F.background,"default"),A0(F.background,"paper"),A0(F.common,"background"),A0(F.common,"onBackground"),A0(F,"divider"),Object.keys(F).forEach(ie=>{const se=F[ie];se&&typeof se=="object"&&(se.main&&Wt(F[ie],"mainChannel",$w(Bw(se.main))),se.light&&Wt(F[ie],"lightChannel",$w(Bw(se.light))),se.dark&&Wt(F[ie],"darkChannel",$w(Bw(se.dark))),se.contrastText&&Wt(F[ie],"contrastTextChannel",$w(Bw(se.contrastText))),ie==="text"&&(A0(F[ie],"primary"),A0(F[ie],"secondary")),ie==="action"&&(se.active&&A0(F[ie],"active"),se.selected&&A0(F[ie],"selected")))})}),C=t.reduce((j,F)=>Xo(j,F),C);const I={prefix:s,disableCssColorScheme:i,shouldSkipGeneratingVar:a,getSelector:J3e(C)},{vars:M,generateThemeVars:$,generateStyleSheets:B}=n3e(C,I);return C.vars=M,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([j,F])=>{C[j]=F}),C.generateThemeVars=$,C.generateStyleSheets=B,C.generateSpacing=function(){return mce(l.spacing,y6(this))},C.getColorSchemeSelector=r3e(o),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=a,C.unstable_sxConfig={...O_,...l==null?void 0:l.unstable_sxConfig},C.unstable_sx=function(F){return _y({sx:F,theme:this})},C.toRuntimeSource=tRe,C}function RK(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:_z({...n===!0?{}:n.palette,mode:t})})}function B6(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:i=n?void 0:{light:!0},defaultColorScheme:s=n==null?void 0:n.mode,...a}=e,o=s||"light",l=i==null?void 0:i[o],c={...i,...n?{[o]:{...typeof l!="boolean"&&l,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return fM(e,...t);let d=n;"palette"in e||c[o]&&(c[o]!==!0?d=c[o].palette:o==="dark"&&(d={mode:"dark"}));const f=fM({...e,palette:d},...t);return f.defaultColorScheme=o,f.colorSchemes=c,f.palette.mode==="light"&&(f.colorSchemes.light={...c.light!==!0&&c.light,palette:f.palette},RK(f,"dark",c.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...c.dark!==!0&&c.dark,palette:f.palette},RK(f,"light",c.light)),f}return!n&&!("light"in c)&&o==="light"&&(c.light=!0),sRe({...a,colorSchemes:c,defaultColorScheme:o,...typeof r!="boolean"&&r},...t)}const U6=B6();function Ap(){const e=E_(U6);return e[sh]||e}function T_({props:e,name:t}){return P6({props:e,name:t,defaultTheme:U6,themeId:sh})}function z6(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const El=e=>z6(e)&&e!=="classes",Qt=vce({themeId:sh,defaultTheme:U6,rootShouldForwardProp:El});function IK({theme:e,...t}){const n=sh in e?e[sh]:void 0;return U.jsx(Dce,{...t,themeId:n?sh:void 0,theme:n||e})}const e4={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:aRe,useColorScheme:Xan,getInitColorSchemeScript:Kan}=K4e({themeId:sh,theme:()=>B6({cssVariables:!0}),colorSchemeStorageKey:e4.colorSchemeStorageKey,modeStorageKey:e4.modeStorageKey,defaultColorScheme:{light:e4.defaultLightColorScheme,dark:e4.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:Pce(e.palette,e.typography)};return t.unstable_sx=function(r){return _y({sx:r,theme:this})},t}}),oRe=aRe;function lRe({theme:e,...t}){return typeof e=="function"?U.jsx(IK,{theme:e,...t}):"colorSchemes"in(sh in e?e[sh]:e)?U.jsx(oRe,{theme:e,...t}):U.jsx(IK,{theme:e,...t})}function uRe(e){return U.jsx(f4e,{...e,defaultTheme:U6,themeId:sh})}function Az(e){return function(n){return U.jsx(uRe,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function cRe(){return w_}const DK={theme:void 0};function Bn(e){let t,n;return r=>{let i=t;return(i===void 0||r.theme!==n)&&(DK.theme=r.theme,i=e(DK),t=i,n=r.theme),i}}function ir(e){return Q4e(e)}function dRe(e){return Hn("MuiSvgIcon",e)}Yn("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const fRe=e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root",t!=="inherit"&&`color${jt(t)}`,`fontSize${jt(n)}`]};return Vn(i,dRe,r)},hRe=Qt("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${jt(n.color)}`],t[`fontSize${jt(n.fontSize)}`]]}})(Bn(({theme:e})=>{var t,n,r,i,s,a,o,l,c,d,f,p,g,b;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(i=(t=e.transitions)==null?void 0:t.create)==null?void 0:i.call(t,"fill",{duration:(r=(n=(e.vars??e).transitions)==null?void 0:n.duration)==null?void 0:r.shorter}),variants:[{props:w=>!w.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((a=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:a.call(s,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((l=(o=e.typography)==null?void 0:o.pxToRem)==null?void 0:l.call(o,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((d=(c=e.typography)==null?void 0:c.pxToRem)==null?void 0:d.call(c,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,w])=>w&&w.main).map(([w])=>{var x,T;return{props:{color:w},style:{color:(T=(x=(e.vars??e).palette)==null?void 0:x[w])==null?void 0:T.main}}}),{props:{color:"action"},style:{color:(p=(f=(e.vars??e).palette)==null?void 0:f.action)==null?void 0:p.active}},{props:{color:"disabled"},style:{color:(b=(g=(e.vars??e).palette)==null?void 0:g.action)==null?void 0:b.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),fk=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiSvgIcon"}),{children:i,className:s,color:a="inherit",component:o="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:d=!1,titleAccess:f,viewBox:p="0 0 24 24",...g}=r,b=Y.isValidElement(i)&&i.type==="svg",w={...r,color:a,component:o,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:d,viewBox:p,hasSvgAsChild:b},x={};d||(x.viewBox=p);const T=fRe(w);return U.jsxs(hRe,{as:o,className:cn(T.root,s),focusable:"false",color:c,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:n,...x,...g,...b&&i.props,ownerState:w,children:[b?i.props.children:i,f?U.jsx("title",{children:f}):null]})});fk&&(fk.muiName="SvgIcon");function pi(e,t){function n(r,i){return U.jsx(fk,{"data-testid":`${t}Icon`,ref:i,...r,children:e})}return n.muiName=fk.muiName,Y.memo(Y.forwardRef(n))}function Cz(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function pM(e,t){return pM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},pM(e,t)}function $ce(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,pM(e,t)}const NK={disabled:!1},e5=Dn.createContext(null);var pRe=function(t){return t.scrollTop},Uw="unmounted",lb="exited",ub="entering",rS="entered",mM="exiting",gh=function(e){$ce(t,e);function t(r,i){var s;s=e.call(this,r,i)||this;var a=i,o=a&&!a.isMounting?r.enter:r.appear,l;return s.appearStatus=null,r.in?o?(l=lb,s.appearStatus=ub):l=rS:r.unmountOnExit||r.mountOnEnter?l=Uw:l=lb,s.state={status:l},s.nextCallback=null,s}t.getDerivedStateFromProps=function(i,s){var a=i.in;return a&&s.status===Uw?{status:lb}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var s=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==ub&&a!==rS&&(s=ub):(a===ub||a===rS)&&(s=mM)}this.updateStatus(!1,s)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,s,a,o;return s=a=o=i,i!=null&&typeof i!="number"&&(s=i.exit,a=i.enter,o=i.appear!==void 0?i.appear:a),{exit:s,enter:a,appear:o}},n.updateStatus=function(i,s){if(i===void 0&&(i=!1),s!==null)if(this.cancelNextCallback(),s===ub){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:Fw.findDOMNode(this);a&&pRe(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===lb&&this.setState({status:Uw})},n.performEnter=function(i){var s=this,a=this.props.enter,o=this.context?this.context.isMounting:i,l=this.props.nodeRef?[o]:[Fw.findDOMNode(this),o],c=l[0],d=l[1],f=this.getTimeouts(),p=o?f.appear:f.enter;if(!i&&!a||NK.disabled){this.safeSetState({status:rS},function(){s.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:ub},function(){s.props.onEntering(c,d),s.onTransitionEnd(p,function(){s.safeSetState({status:rS},function(){s.props.onEntered(c,d)})})})},n.performExit=function(){var i=this,s=this.props.exit,a=this.getTimeouts(),o=this.props.nodeRef?void 0:Fw.findDOMNode(this);if(!s||NK.disabled){this.safeSetState({status:lb},function(){i.props.onExited(o)});return}this.props.onExit(o),this.safeSetState({status:mM},function(){i.props.onExiting(o),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:lb},function(){i.props.onExited(o)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,s){s=this.setNextCallback(s),this.setState(i,s)},n.setNextCallback=function(i){var s=this,a=!0;return this.nextCallback=function(o){a&&(a=!1,s.nextCallback=null,i(o))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(i,s){this.setNextCallback(s);var a=this.props.nodeRef?this.props.nodeRef.current:Fw.findDOMNode(this),o=i==null&&!this.props.addEndListener;if(!a||o){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],c=l[0],d=l[1];this.props.addEndListener(c,d)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Uw)return null;var s=this.props,a=s.children;s.in,s.mountOnEnter,s.unmountOnExit,s.appear,s.enter,s.exit,s.timeout,s.addEndListener,s.onEnter,s.onEntering,s.onEntered,s.onExit,s.onExiting,s.onExited,s.nodeRef;var o=Cz(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Dn.createElement(e5.Provider,{value:null},typeof a=="function"?a(i,o):Dn.cloneElement(Dn.Children.only(a),o))},t}(Dn.Component);gh.contextType=e5;gh.propTypes={};function Uv(){}gh.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Uv,onEntering:Uv,onEntered:Uv,onExit:Uv,onExiting:Uv,onExited:Uv};gh.UNMOUNTED=Uw;gh.EXITED=lb;gh.ENTERING=ub;gh.ENTERED=rS;gh.EXITING=mM;function mRe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rz(e,t){var n=function(s){return t&&Y.isValidElement(s)?t(s):s},r=Object.create(null);return e&&Y.Children.map(e,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function gRe(e,t){e=e||{},t=t||{};function n(d){return d in t?t[d]:e[d]}var r=Object.create(null),i=[];for(var s in e)s in t?i.length&&(r[s]=i,i=[]):i.push(s);var a,o={};for(var l in t){if(r[l])for(a=0;ae.scrollTop;function $O(e,t){const{timeout:n,easing:r,style:i={}}=e;return{duration:i.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:i.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:i.transitionDelay}}function ORe(e){return Hn("MuiCollapse",e)}Yn("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const ERe=e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return Vn(r,ORe,n)},wRe=Qt("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.state==="entered"&&t.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&t.hidden]}})(Bn(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:t})=>t.state==="exited"&&!t.in&&t.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),xRe=Qt("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),TRe=Qt("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),gM=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiCollapse"}),{addEndListener:i,children:s,className:a,collapsedSize:o="0px",component:l,easing:c,in:d,onEnter:f,onEntered:p,onEntering:g,onExit:b,onExited:w,onExiting:x,orientation:T="vertical",style:_,timeout:C=Lce.standard,TransitionComponent:I=gh,...M}=r,$={...r,orientation:T,collapsedSize:o},B=ERe($),j=Ap(),F=Sb(),V=Y.useRef(null),ie=Y.useRef(),se=typeof o=="number"?`${o}px`:o,me=T==="horizontal",fe=me?"width":"height",le=Y.useRef(null),ye=$i(n,le),ae=Ze=>qt=>{if(Ze){const xt=le.current;qt===void 0?Ze(xt):Ze(xt,qt)}},Se=()=>V.current?V.current[me?"clientWidth":"clientHeight"]:0,he=ae((Ze,qt)=>{V.current&&me&&(V.current.style.position="absolute"),Ze.style[fe]=se,f&&f(Ze,qt)}),re=ae((Ze,qt)=>{const xt=Se();V.current&&me&&(V.current.style.position="");const{duration:Nt,easing:Ht}=$O({style:_,timeout:C,easing:c},{mode:"enter"});if(C==="auto"){const Jt=j.transitions.getAutoHeightDuration(xt);Ze.style.transitionDuration=`${Jt}ms`,ie.current=Jt}else Ze.style.transitionDuration=typeof Nt=="string"?Nt:`${Nt}ms`;Ze.style[fe]=`${xt}px`,Ze.style.transitionTimingFunction=Ht,g&&g(Ze,qt)}),Fe=ae((Ze,qt)=>{Ze.style[fe]="auto",p&&p(Ze,qt)}),je=ae(Ze=>{Ze.style[fe]=`${Se()}px`,b&&b(Ze)}),ue=ae(w),tt=ae(Ze=>{const qt=Se(),{duration:xt,easing:Nt}=$O({style:_,timeout:C,easing:c},{mode:"exit"});if(C==="auto"){const Ht=j.transitions.getAutoHeightDuration(qt);Ze.style.transitionDuration=`${Ht}ms`,ie.current=Ht}else Ze.style.transitionDuration=typeof xt=="string"?xt:`${xt}ms`;Ze.style[fe]=se,Ze.style.transitionTimingFunction=Nt,x&&x(Ze)}),St=Ze=>{C==="auto"&&F.start(ie.current||0,Ze),i&&i(le.current,Ze)};return U.jsx(I,{in:d,onEnter:he,onEntered:Fe,onEntering:re,onExit:je,onExited:ue,onExiting:tt,addEndListener:St,nodeRef:le,timeout:C==="auto"?null:C,...M,children:(Ze,qt)=>U.jsx(wRe,{as:l,className:cn(B.root,a,{entered:B.entered,exited:!d&&se==="0px"&&B.hidden}[Ze]),style:{[me?"minWidth":"minHeight"]:se,..._},ref:ye,...qt,ownerState:{...$,state:Ze},children:U.jsx(xRe,{ownerState:{...$,state:Ze},className:B.wrapper,ref:V,children:U.jsx(TRe,{ownerState:{...$,state:Ze},className:B.wrapperInner,children:s})})})})});gM&&(gM.muiSupportAuto=!0);function kRe(e){return Hn("MuiPaper",e)}Yn("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const _Re=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,s={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Vn(s,kRe,i)},ARe=Qt("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(Bn(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Ko=Y.forwardRef(function(t,n){var g;const r=ir({props:t,name:"MuiPaper"}),i=Ap(),{className:s,component:a="div",elevation:o=1,square:l=!1,variant:c="elevation",...d}=r,f={...r,component:a,elevation:o,square:l,variant:c},p=_Re(f);return U.jsx(ARe,{as:a,ownerState:f,className:cn(p.root,s),ref:n,...d,style:{...c==="elevation"&&{"--Paper-shadow":(i.vars||i).shadows[o],...i.vars&&{"--Paper-overlay":(g=i.vars.overlays)==null?void 0:g[o]},...!i.vars&&i.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${mr("#fff",hM(o))}, ${mr("#fff",hM(o))})`}},...d.style}})});function gl(e,t){const{className:n,elementType:r,ownerState:i,externalForwardedProps:s,getSlotOwnerState:a,internalForwardedProps:o,...l}=t,{component:c,slots:d={[e]:void 0},slotProps:f={[e]:void 0},...p}=s,g=d[e]||r,b=Ace(f[e],i),{props:{component:w,...x},internalRef:T}=_ce({className:n,...l,externalForwardedProps:e==="root"?p:void 0,externalSlotProps:b}),_=$i(T,b==null?void 0:b.ref,t.ref),C=a?a(x):{},I={...i,...C},M=e==="root"?w||c:w,$=_S(g,{...e==="root"&&!c&&!d[e]&&o,...e!=="root"&&!d[e]&&o,...x,...M&&{as:M},ref:_},I);return Object.keys(C).forEach(B=>{delete $[B]}),[g,$]}class t5{constructor(){Qa(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new t5}static use(){const t=Tce(t5.create).current,[n,r]=Y.useState(!1);return t.shouldMount=n,t.setShouldMount=r,Y.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=RRe(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.start(...t)})}stop(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.stop(...t)})}pulsate(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.pulsate(...t)})}}function CRe(){return t5.use()}function RRe(){let e,t;const n=new Promise((r,i)=>{e=r,t=i});return n.resolve=e,n.reject=t,n}function IRe(e){const{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:s,rippleSize:a,in:o,onExited:l,timeout:c}=e,[d,f]=Y.useState(!1),p=cn(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),g={width:a,height:a,top:-(a/2)+s,left:-(a/2)+i},b=cn(n.child,d&&n.childLeaving,r&&n.childPulsate);return!o&&!d&&f(!0),Y.useEffect(()=>{if(!o&&l!=null){const w=setTimeout(l,c);return()=>{clearTimeout(w)}}},[l,o,c]),U.jsx("span",{className:p,style:g,children:U.jsx("span",{className:b})})}const qd=Yn("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),bM=550,DRe=80,NRe=v_` 0% { transform: scale(0); opacity: 0.1; @@ -103,7 +103,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann transform: scale(1); opacity: 0.3; } -`,NRe=v_` +`,PRe=v_` 0% { opacity: 1; } @@ -111,7 +111,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann 100% { opacity: 0; } -`,PRe=v_` +`,LRe=v_` 0% { transform: scale(1); } @@ -123,14 +123,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann 100% { transform: scale(1); } -`,LRe=Qt("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),MRe=Qt(RRe,{name:"MuiTouchRipple",slot:"Ripple"})` +`,MRe=Qt("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),FRe=Qt(IRe,{name:"MuiTouchRipple",slot:"Ripple"})` opacity: 0; position: absolute; &.${qd.rippleVisible} { opacity: 0.3; transform: scale(1); - animation-name: ${DRe}; + animation-name: ${NRe}; animation-duration: ${bM}ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; } @@ -150,7 +150,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann & .${qd.childLeaving} { opacity: 0; - animation-name: ${NRe}; + animation-name: ${PRe}; animation-duration: ${bM}ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; } @@ -160,14 +160,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann /* @noflip */ left: 0px; top: 0; - animation-name: ${PRe}; + animation-name: ${LRe}; animation-duration: 2500ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; animation-iteration-count: infinite; animation-delay: 200ms; } -`,FRe=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:s={},className:a,...o}=r,[l,c]=Y.useState([]),d=Y.useRef(0),f=Y.useRef(null);Y.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const p=Y.useRef(!1),g=Sb(),b=Y.useRef(null),w=Y.useRef(null),x=Y.useCallback(I=>{const{pulsate:M,rippleX:$,rippleY:B,rippleSize:j,cb:F}=I;c(V=>[...V,U.jsx(MRe,{classes:{ripple:cn(s.ripple,qd.ripple),rippleVisible:cn(s.rippleVisible,qd.rippleVisible),ripplePulsate:cn(s.ripplePulsate,qd.ripplePulsate),child:cn(s.child,qd.child),childLeaving:cn(s.childLeaving,qd.childLeaving),childPulsate:cn(s.childPulsate,qd.childPulsate)},timeout:bM,pulsate:M,rippleX:$,rippleY:B,rippleSize:j},d.current)]),d.current+=1,f.current=F},[s]),T=Y.useCallback((I={},M={},$=()=>{})=>{const{pulsate:B=!1,center:j=i||M.pulsate,fakeElement:F=!1}=M;if((I==null?void 0:I.type)==="mousedown"&&p.current){p.current=!1;return}(I==null?void 0:I.type)==="touchstart"&&(p.current=!0);const V=F?null:w.current,ie=V?V.getBoundingClientRect():{width:0,height:0,left:0,top:0};let se,me,fe;if(j||I===void 0||I.clientX===0&&I.clientY===0||!I.clientX&&!I.touches)se=Math.round(ie.width/2),me=Math.round(ie.height/2);else{const{clientX:le,clientY:ye}=I.touches&&I.touches.length>0?I.touches[0]:I;se=Math.round(le-ie.left),me=Math.round(ye-ie.top)}if(j)fe=Math.sqrt((2*ie.width**2+ie.height**2)/3),fe%2===0&&(fe+=1);else{const le=Math.max(Math.abs((V?V.clientWidth:0)-se),se)*2+2,ye=Math.max(Math.abs((V?V.clientHeight:0)-me),me)*2+2;fe=Math.sqrt(le**2+ye**2)}I!=null&&I.touches?b.current===null&&(b.current=()=>{x({pulsate:B,rippleX:se,rippleY:me,rippleSize:fe,cb:$})},g.start(IRe,()=>{b.current&&(b.current(),b.current=null)})):x({pulsate:B,rippleX:se,rippleY:me,rippleSize:fe,cb:$})},[i,x,g]),_=Y.useCallback(()=>{T({},{pulsate:!0})},[T]),C=Y.useCallback((I,M)=>{if(g.clear(),(I==null?void 0:I.type)==="touchend"&&b.current){b.current(),b.current=null,g.start(0,()=>{C(I,M)});return}b.current=null,c($=>$.length>0?$.slice(1):$),f.current=M},[g]);return Y.useImperativeHandle(n,()=>({pulsate:_,start:T,stop:C}),[_,T,C]),U.jsx(LRe,{className:cn(qd.root,s.root,a),ref:w,...o,children:U.jsx(Iz,{component:null,exit:!0,children:l})})});function $Re(e){return Hn("MuiButtonBase",e)}const BRe=Yn("MuiButtonBase",["root","disabled","focusVisible"]),URe=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,a=Vn({root:["root",t&&"disabled",n&&"focusVisible"]},$Re,i);return n&&r&&(a.root+=` ${r}`),a},zRe=Qt("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${BRe.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),cm=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:s=!1,children:a,className:o,component:l="button",disabled:c=!1,disableRipple:d=!1,disableTouchRipple:f=!1,focusRipple:p=!1,focusVisibleClassName:g,LinkComponent:b="a",onBlur:w,onClick:x,onContextMenu:T,onDragLeave:_,onFocus:C,onFocusVisible:I,onKeyDown:M,onKeyUp:$,onMouseDown:B,onMouseLeave:j,onMouseUp:F,onTouchEnd:V,onTouchMove:ie,onTouchStart:se,tabIndex:me=0,TouchRippleProps:fe,touchRippleRef:le,type:ye,...ae}=r,Se=Y.useRef(null),he=ARe(),re=$i(he.ref,le),[Fe,je]=Y.useState(!1);c&&Fe&&je(!1),Y.useImperativeHandle(i,()=>({focusVisible:()=>{je(!0),Se.current.focus()}}),[]);const ue=he.shouldMount&&!d&&!c;Y.useEffect(()=>{Fe&&p&&!d&&he.pulsate()},[d,p,Fe,he]);function tt(xe,Qe,yt=f){return vu(Be=>(Qe&&Qe(Be),yt||he[xe](Be),!0))}const St=tt("start",B),Ze=tt("stop",T),qt=tt("stop",_),xt=tt("stop",F),Nt=tt("stop",xe=>{Fe&&xe.preventDefault(),j&&j(xe)}),Ht=tt("start",se),Jt=tt("stop",V),Vt=tt("stop",ie),en=tt("stop",xe=>{FO(xe.target)||je(!1),w&&w(xe)},!1),Ct=vu(xe=>{Se.current||(Se.current=xe.currentTarget),FO(xe.target)&&(je(!0),I&&I(xe)),C&&C(xe)}),Xe=()=>{const xe=Se.current;return l&&l!=="button"&&!(xe.tagName==="A"&&xe.href)},Ut=vu(xe=>{p&&!xe.repeat&&Fe&&xe.key===" "&&he.stop(xe,()=>{he.start(xe)}),xe.target===xe.currentTarget&&Xe()&&xe.key===" "&&xe.preventDefault(),M&&M(xe),xe.target===xe.currentTarget&&Xe()&&xe.key==="Enter"&&!c&&(xe.preventDefault(),x&&x(xe))}),sn=vu(xe=>{p&&xe.key===" "&&Fe&&!xe.defaultPrevented&&he.stop(xe,()=>{he.pulsate(xe)}),$&&$(xe),x&&xe.target===xe.currentTarget&&Xe()&&xe.key===" "&&!xe.defaultPrevented&&x(xe)});let te=l;te==="button"&&(ae.href||ae.to)&&(te=b);const de={};te==="button"?(de.type=ye===void 0?"button":ye,de.disabled=c):(!ae.href&&!ae.to&&(de.role="button"),c&&(de["aria-disabled"]=c));const we=$i(n,Se),We={...r,centerRipple:s,component:l,disabled:c,disableRipple:d,disableTouchRipple:f,focusRipple:p,tabIndex:me,focusVisible:Fe},Ke=URe(We);return U.jsxs(zRe,{as:te,className:cn(Ke.root,o),ownerState:We,onBlur:en,onClick:x,onContextMenu:Ze,onFocus:Ct,onKeyDown:Ut,onKeyUp:sn,onMouseDown:St,onMouseLeave:Nt,onMouseUp:xt,onDragLeave:qt,onTouchEnd:Jt,onTouchMove:Vt,onTouchStart:Ht,ref:we,tabIndex:c?-1:me,type:ye,...de,...ae,children:[a,ue?U.jsx(FRe,{ref:re,center:s,...fe}):null]})});function HRe(e){return typeof e.main=="string"}function qRe(e,t=[]){if(!HRe(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function ca(e=[]){return([,t])=>t&&qRe(t,e)}function jRe(e){return Hn("MuiIconButton",e)}const WRe=Yn("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),QRe=e=>{const{classes:t,disabled:n,color:r,edge:i,size:s}=e,a={root:["root",n&&"disabled",r!=="default"&&`color${jt(r)}`,i&&`edge${jt(i)}`,`size${jt(s)}`]};return Vn(a,jRe,t)},VRe=Qt(cm,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${jt(n.color)}`],n.edge&&t[`edge${jt(n.edge)}`],t[`size${jt(n.size)}`]]}})(Bn(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:{disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),Bn(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mr((e.vars||e).palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${WRe.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),Gl=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiIconButton"}),{edge:i=!1,children:s,className:a,color:o="default",disabled:l=!1,disableFocusRipple:c=!1,disableRipple:d=!1,size:f="medium",...p}=r,g={...r,edge:i,color:o,disabled:l,disableFocusRipple:c,disableRipple:d,size:f},b=QRe(g);return U.jsx(VRe,{className:cn(b.root,a),centerRipple:!0,focusRipple:!c,disabled:l,disableRipple:d,ref:n,...p,ownerState:g,children:s})}),GRe=pi(U.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function YRe(e){return Hn("MuiTypography",e)}const PK=Yn("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),ZRe={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},XRe=uRe(),KRe=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:s,classes:a}=e,o={root:["root",s,e.align!=="inherit"&&`align${jt(t)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return Vn(o,YRe,a)},JRe=Qt("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${jt(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(Bn(({theme:e})=>{var t;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([n,r])=>n!=="inherit"&&r&&typeof r=="object").map(([n,r])=>({props:{variant:n},style:r})),...Object.entries(e.palette).filter(ca()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${jt(n)}`},style:{color:(e.vars||e).palette.text[n]}})),{props:({ownerState:n})=>n.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:n})=>n.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:n})=>n.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:n})=>n.paragraph,style:{marginBottom:16}}]}})),LK={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},fi=Y.forwardRef(function(t,n){const{color:r,...i}=ir({props:t,name:"MuiTypography"}),s=!ZRe[r],a=XRe({...i,...s&&{color:r}}),{align:o="inherit",className:l,component:c,gutterBottom:d=!1,noWrap:f=!1,paragraph:p=!1,variant:g="body1",variantMapping:b=LK,...w}=a,x={...a,align:o,color:r,className:l,component:c,gutterBottom:d,noWrap:f,paragraph:p,variant:g,variantMapping:b},T=c||(p?"p":b[g]||LK[g])||"span",_=KRe(x);return U.jsx(JRe,{as:T,ref:n,className:cn(_.root,l),...w,ownerState:x,style:{...o!=="inherit"&&{"--Typography-textAlign":o},...w.style}})});function e5e(e){return Hn("MuiAppBar",e)}Yn("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const t5e=e=>{const{color:t,position:n,classes:r}=e,i={root:["root",`color${jt(t)}`,`position${jt(n)}`]};return Vn(i,e5e,r)},MK=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,n5e=Qt(Ko,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${jt(n.position)}`],t[`color${jt(n.color)}`]]}})(Bn(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter(ca(["contrastText"])).map(([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}})),{props:t=>t.enableColorOnDark===!0&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:t=>t.enableColorOnDark===!1&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?MK(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?MK(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),Dz=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiAppBar"}),{className:i,color:s="primary",enableColorOnDark:a=!1,position:o="fixed",...l}=r,c={...r,color:s,position:o,enableColorOnDark:a},d=t5e(c);return U.jsx(n5e,{square:!0,component:"header",ownerState:c,elevation:4,className:cn(d.root,i,o==="fixed"&&"mui-fixed"),ref:n,...l})});function FK(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function r5e(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:i="any",stringify:s,trim:a=!1}=e;return(o,{inputValue:l,getOptionLabel:c})=>{let d=a?l.trim():l;n&&(d=d.toLowerCase()),t&&(d=FK(d));const f=d?o.filter(p=>{let g=(s||c)(p);return n&&(g=g.toLowerCase()),t&&(g=FK(g)),i==="start"?g.startsWith(d):g.includes(d)}):o;return typeof r=="number"?f.slice(0,r):f}}const i5e=r5e(),$K=5,s5e=e=>{var t;return e.current!==null&&((t=e.current.parentElement)==null?void 0:t.contains(document.activeElement))},a5e=[];function o5e(e){const{unstable_isActiveElementInListbox:t=s5e,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:i=!1,autoSelect:s=!1,blurOnSelect:a=!1,clearOnBlur:o=!e.freeSolo,clearOnEscape:l=!1,componentName:c="useAutocomplete",defaultValue:d=e.multiple?a5e:null,disableClearable:f=!1,disableCloseOnSelect:p=!1,disabled:g,disabledItemsFocusable:b=!1,disableListWrap:w=!1,filterOptions:x=i5e,filterSelectedOptions:T=!1,freeSolo:_=!1,getOptionDisabled:C,getOptionKey:I,getOptionLabel:M=ot=>ot.label??ot,groupBy:$,handleHomeEndKeys:B=!e.freeSolo,id:j,includeInputInList:F=!1,inputValue:V,isOptionEqualToValue:ie=(ot,Je)=>ot===Je,multiple:se=!1,onChange:me,onClose:fe,onHighlightChange:le,onInputChange:ye,onOpen:ae,open:Se,openOnFocus:he=!1,options:re,readOnly:Fe=!1,selectOnFocus:je=!e.freeSolo,value:ue}=e,tt=x_(j);let St=M;St=ot=>{const Je=M(ot);return typeof Je!="string"?String(Je):Je};const Ze=Y.useRef(!1),qt=Y.useRef(!0),xt=Y.useRef(null),Nt=Y.useRef(null),[Ht,Jt]=Y.useState(null),[Vt,en]=Y.useState(-1),Ct=i?0:-1,Xe=Y.useRef(Ct),[Ut,sn]=X0({controlled:ue,default:d,name:c}),[te,de]=X0({controlled:V,default:"",name:c,state:"inputValue"}),[we,We]=Y.useState(!1),Ke=Y.useCallback((ot,Je,ft)=>{if(!(se?Ut.length!(T&&(se?Ut:[Ut]).some(Je=>Je!==null&&ie(ot,Je)))),{inputValue:Ne&&yt?"":te,getOptionLabel:St}):[],Dt=P4e({filteredOptions:pt,value:Ut,inputValue:te});Y.useEffect(()=>{const ot=Ut!==Dt.value;we&&!ot||_&&!ot||Ke(null,Ut,"reset")},[Ut,Ke,we,Dt.value,_]);const Gt=xe&&pt.length>0&&!Fe,Pn=vu(ot=>{ot===-1?xt.current.focus():Ht.querySelector(`[data-tag-index="${ot}"]`).focus()});Y.useEffect(()=>{se&&Vt>Ut.length-1&&(en(-1),Pn(-1))},[Ut,se,Vt,Pn]);function Fn(ot,Je){if(!Nt.current||ot<0||ot>=pt.length)return-1;let ft=ot;for(;;){const Mt=Nt.current.querySelector(`[data-option-index="${ft}"]`),Yt=b?!1:!Mt||Mt.disabled||Mt.getAttribute("aria-disabled")==="true";if(Mt&&Mt.hasAttribute("tabindex")&&!Yt)return ft;if(Je==="next"?ft=(ft+1)%pt.length:ft=(ft-1+pt.length)%pt.length,ft===ot)return-1}}const kt=vu(({event:ot,index:Je,reason:ft="auto"})=>{if(Xe.current=Je,Je===-1?xt.current.removeAttribute("aria-activedescendant"):xt.current.setAttribute("aria-activedescendant",`${tt}-option-${Je}`),le&&le(ot,Je===-1?null:pt[Je],ft),!Nt.current)return;const Mt=Nt.current.querySelector(`[role="option"].${n}-focused`);Mt&&(Mt.classList.remove(`${n}-focused`),Mt.classList.remove(`${n}-focusVisible`));let Yt=Nt.current;if(Nt.current.getAttribute("role")!=="listbox"&&(Yt=Nt.current.parentElement.querySelector('[role="listbox"]')),!Yt)return;if(Je===-1){Yt.scrollTop=0;return}const Nn=Nt.current.querySelector(`[data-option-index="${Je}"]`);if(Nn&&(Nn.classList.add(`${n}-focused`),ft==="keyboard"&&Nn.classList.add(`${n}-focusVisible`),Yt.scrollHeight>Yt.clientHeight&&ft!=="mouse"&&ft!=="touch")){const Ce=Nn,_t=Yt.clientHeight+Yt.scrollTop,Ue=Ce.offsetTop+Ce.offsetHeight;Ue>_t?Yt.scrollTop=Ue-Yt.clientHeight:Ce.offsetTop-Ce.offsetHeight*($?1.3:0){if(!rt)return;const Nn=Fn((()=>{const Ce=pt.length-1;if(Je==="reset")return Ct;if(Je==="start")return 0;if(Je==="end")return Ce;const _t=Xe.current+Je;return _t<0?_t===-1&&F?-1:w&&Xe.current!==-1||Math.abs(Je)>1?0:Ce:_t>Ce?_t===Ce+1&&F?-1:w||Math.abs(Je)>1?Ce:0:_t})(),ft);if(kt({index:Nn,reason:Mt,event:ot}),r&&Je!=="reset")if(Nn===-1)xt.current.value=te;else{const Ce=St(pt[Nn]);xt.current.value=Ce,Ce.toLowerCase().indexOf(te.toLowerCase())===0&&te.length>0&&xt.current.setSelectionRange(te.length,Ce.length)}}),fn=()=>{const ot=(Je,ft)=>{const Mt=Je?St(Je):"",Yt=ft?St(ft):"";return Mt===Yt};if(Xe.current!==-1&&Dt.filteredOptions&&Dt.filteredOptions.length!==pt.length&&Dt.inputValue===te&&(se?Ut.length===Dt.value.length&&Dt.value.every((Je,ft)=>St(Ut[ft])===St(Je)):ot(Dt.value,Ut))){const Je=Dt.filteredOptions[Xe.current];if(Je)return pt.findIndex(ft=>St(ft)===St(Je))}return-1},Rn=Y.useCallback(()=>{if(!rt)return;const ot=fn();if(ot!==-1){Xe.current=ot;return}const Je=se?Ut[0]:Ut;if(pt.length===0||Je==null){ct({diff:"reset"});return}if(Nt.current){if(Je!=null){const ft=pt[Xe.current];if(se&&ft&&Ut.findIndex(Yt=>ie(ft,Yt))!==-1)return;const Mt=pt.findIndex(Yt=>ie(Yt,Je));Mt===-1?ct({diff:"reset"}):kt({index:Mt});return}if(Xe.current>=pt.length-1){kt({index:pt.length-1});return}kt({index:Xe.current})}},[pt.length,se?!1:Ut,T,ct,kt,rt,te,se]),Sr=vu(ot=>{JR(Nt,ot),ot&&Rn()});Y.useEffect(()=>{Rn()},[Rn]);const ai=ot=>{xe||(Qe(!0),Be(!0),ae&&ae(ot))},sr=(ot,Je)=>{xe&&(Qe(!1),fe&&fe(ot,Je))},oi=(ot,Je,ft,Mt)=>{if(se){if(Ut.length===Je.length&&Ut.every((Yt,Nn)=>Yt===Je[Nn]))return}else if(Ut===Je)return;me&&me(ot,Je,ft,Mt),sn(Je)},xr=Y.useRef(!1),Ir=(ot,Je,ft="selectOption",Mt="options")=>{let Yt=ft,Nn=Je;if(se){Nn=Array.isArray(Ut)?Ut.slice():[];const Ce=Nn.findIndex(_t=>ie(Je,_t));Ce===-1?Nn.push(Je):Mt!=="freeSolo"&&(Nn.splice(Ce,1),Yt="removeOption")}Ke(ot,Nn,Yt),oi(ot,Nn,Yt,{option:Je}),!p&&(!ot||!ot.ctrlKey&&!ot.metaKey)&&sr(ot,Yt),(a===!0||a==="touch"&&xr.current||a==="mouse"&&!xr.current)&&xt.current.blur()};function $r(ot,Je){if(ot===-1)return-1;let ft=ot;for(;;){if(Je==="next"&&ft===Ut.length||Je==="previous"&&ft===-1)return-1;const Mt=Ht.querySelector(`[data-tag-index="${ft}"]`);if(!Mt||!Mt.hasAttribute("tabindex")||Mt.disabled||Mt.getAttribute("aria-disabled")==="true")ft+=Je==="next"?1:-1;else return ft}}const _r=(ot,Je)=>{if(!se)return;te===""&&sr(ot,"toggleInput");let ft=Vt;Vt===-1?te===""&&Je==="previous"&&(ft=Ut.length-1):(ft+=Je==="next"?1:-1,ft<0&&(ft=0),ft===Ut.length&&(ft=-1)),ft=$r(ft,Je),en(ft),Pn(ft)},Qr=ot=>{Ze.current=!0,de(""),ye&&ye(ot,"","clear"),oi(ot,se?[]:null,"clear")},jn=ot=>Je=>{if(ot.onKeyDown&&ot.onKeyDown(Je),!Je.defaultMuiPrevented&&(Vt!==-1&&!["ArrowLeft","ArrowRight"].includes(Je.key)&&(en(-1),Pn(-1)),Je.which!==229))switch(Je.key){case"Home":rt&&B&&(Je.preventDefault(),ct({diff:"start",direction:"next",reason:"keyboard",event:Je}));break;case"End":rt&&B&&(Je.preventDefault(),ct({diff:"end",direction:"previous",reason:"keyboard",event:Je}));break;case"PageUp":Je.preventDefault(),ct({diff:-$K,direction:"previous",reason:"keyboard",event:Je}),ai(Je);break;case"PageDown":Je.preventDefault(),ct({diff:$K,direction:"next",reason:"keyboard",event:Je}),ai(Je);break;case"ArrowDown":Je.preventDefault(),ct({diff:1,direction:"next",reason:"keyboard",event:Je}),ai(Je);break;case"ArrowUp":Je.preventDefault(),ct({diff:-1,direction:"previous",reason:"keyboard",event:Je}),ai(Je);break;case"ArrowLeft":_r(Je,"previous");break;case"ArrowRight":_r(Je,"next");break;case"Enter":if(Xe.current!==-1&&rt){const ft=pt[Xe.current],Mt=C?C(ft):!1;if(Je.preventDefault(),Mt)return;Ir(Je,ft,"selectOption"),r&&xt.current.setSelectionRange(xt.current.value.length,xt.current.value.length)}else _&&te!==""&&Ne===!1&&(se&&Je.preventDefault(),Ir(Je,te,"createOption","freeSolo"));break;case"Escape":rt?(Je.preventDefault(),Je.stopPropagation(),sr(Je,"escape")):l&&(te!==""||se&&Ut.length>0)&&(Je.preventDefault(),Je.stopPropagation(),Qr(Je));break;case"Backspace":if(se&&!Fe&&te===""&&Ut.length>0){const ft=Vt===-1?Ut.length-1:Vt,Mt=Ut.slice();Mt.splice(ft,1),oi(Je,Mt,"removeOption",{option:Ut[ft]})}break;case"Delete":if(se&&!Fe&&te===""&&Ut.length>0&&Vt!==-1){const ft=Vt,Mt=Ut.slice();Mt.splice(ft,1),oi(Je,Mt,"removeOption",{option:Ut[ft]})}break}},wi=ot=>{We(!0),he&&!Ze.current&&ai(ot)},wa=ot=>{if(t(Nt)){xt.current.focus();return}We(!1),qt.current=!0,Ze.current=!1,s&&Xe.current!==-1&&rt?Ir(ot,pt[Xe.current],"blur"):s&&_&&te!==""?Ir(ot,te,"blur","freeSolo"):o&&Ke(ot,Ut,"blur"),sr(ot,"blur")},is=ot=>{const Je=ot.target.value;te!==Je&&(de(Je),Be(!1),ye&&ye(ot,Je,"input")),Je===""?!f&&!se&&oi(ot,null,"clear"):ai(ot)},ss=ot=>{const Je=Number(ot.currentTarget.getAttribute("data-option-index"));Xe.current!==Je&&kt({event:ot,index:Je,reason:"mouse"})},Rs=ot=>{kt({event:ot,index:Number(ot.currentTarget.getAttribute("data-option-index")),reason:"touch"}),xr.current=!0},at=ot=>{const Je=Number(ot.currentTarget.getAttribute("data-option-index"));Ir(ot,pt[Je],"selectOption"),xr.current=!1},z=ot=>Je=>{const ft=Ut.slice();ft.splice(ot,1),oi(Je,ft,"removeOption",{option:Ut[ot]})},L=ot=>{xe?sr(ot,"toggleInput"):ai(ot)},ve=ot=>{ot.currentTarget.contains(ot.target)&&ot.target.getAttribute("id")!==tt&&ot.preventDefault()},X=ot=>{ot.currentTarget.contains(ot.target)&&(xt.current.focus(),je&&qt.current&&xt.current.selectionEnd-xt.current.selectionStart===0&&xt.current.select(),qt.current=!1)},be=ot=>{!g&&(te===""||!xe)&&L(ot)};let Rt=_&&te.length>0;Rt=Rt||(se?Ut.length>0:Ut!==null);let At=pt;return $&&(At=pt.reduce((ot,Je,ft)=>{const Mt=$(Je);return ot.length>0&&ot[ot.length-1].group===Mt?ot[ot.length-1].options.push(Je):ot.push({key:ft,index:ft,group:Mt,options:[Je]}),ot},[])),g&&we&&wa(),{getRootProps:(ot={})=>({"aria-owns":Gt?`${tt}-listbox`:null,...ot,onKeyDown:jn(ot),onMouseDown:ve,onClick:X}),getInputLabelProps:()=>({id:`${tt}-label`,htmlFor:tt}),getInputProps:()=>({id:tt,value:te,onBlur:wa,onFocus:wi,onChange:is,onMouseDown:be,"aria-activedescendant":rt?"":null,"aria-autocomplete":r?"both":"list","aria-controls":Gt?`${tt}-listbox`:void 0,"aria-expanded":Gt,autoComplete:"off",ref:xt,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:g}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Qr}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:L}),getTagProps:({index:ot})=>({key:ot,"data-tag-index":ot,tabIndex:-1,...!Fe&&{onDelete:z(ot)}}),getListboxProps:()=>({role:"listbox",id:`${tt}-listbox`,"aria-labelledby":`${tt}-label`,ref:Sr,onMouseDown:ot=>{ot.preventDefault()}}),getOptionProps:({index:ot,option:Je})=>{const ft=(se?Ut:[Ut]).some(Yt=>Yt!=null&&ie(Je,Yt)),Mt=C?C(Je):!1;return{key:(I==null?void 0:I(Je))??St(Je),tabIndex:-1,role:"option",id:`${tt}-option-${ot}`,onMouseMove:ss,onClick:at,onTouchStart:Rs,"data-option-index":ot,"aria-disabled":Mt,"aria-selected":ft}},id:tt,inputValue:te,value:Ut,dirty:Rt,expanded:rt&&Ht,popupOpen:rt,focused:we||Vt!==-1,anchorEl:Ht,setAnchorEl:Jt,focusedTag:Vt,groupedOptions:At}}var sc="top",ff="bottom",hf="right",ac="left",Nz="auto",k_=[sc,ff,hf,ac],BO="start",hk="end",l5e="clippingParents",Bce="viewport",ew="popper",u5e="reference",BK=k_.reduce(function(e,t){return e.concat([t+"-"+BO,t+"-"+hk])},[]),Uce=[].concat(k_,[Nz]).reduce(function(e,t){return e.concat([t,t+"-"+BO,t+"-"+hk])},[]),c5e="beforeRead",d5e="read",f5e="afterRead",h5e="beforeMain",p5e="main",m5e="afterMain",g5e="beforeWrite",b5e="write",y5e="afterWrite",v5e=[c5e,d5e,f5e,h5e,p5e,m5e,g5e,b5e,y5e];function Tp(e){return e?(e.nodeName||"").toLowerCase():null}function ud(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ay(e){var t=ud(e).Element;return e instanceof t||e instanceof Element}function sf(e){var t=ud(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Pz(e){if(typeof ShadowRoot>"u")return!1;var t=ud(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function S5e(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},s=t.elements[n];!sf(s)||!Tp(s)||(Object.assign(s.style,r),Object.keys(i).forEach(function(a){var o=i[a];o===!1?s.removeAttribute(a):s.setAttribute(a,o===!0?"":o)}))})}function O5e(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],s=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),o=a.reduce(function(l,c){return l[c]="",l},{});!sf(i)||!Tp(i)||(Object.assign(i.style,o),Object.keys(s).forEach(function(l){i.removeAttribute(l)}))})}}const E5e={name:"applyStyles",enabled:!0,phase:"write",fn:S5e,effect:O5e,requires:["computeStyles"]};function Op(e){return e.split("-")[0]}var Hb=Math.max,n5=Math.min,UO=Math.round;function yM(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function zce(){return!/^((?!chrome|android).)*safari/i.test(yM())}function zO(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,s=1;t&&sf(e)&&(i=e.offsetWidth>0&&UO(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&UO(r.height)/e.offsetHeight||1);var a=ay(e)?ud(e):window,o=a.visualViewport,l=!zce()&&n,c=(r.left+(l&&o?o.offsetLeft:0))/i,d=(r.top+(l&&o?o.offsetTop:0))/s,f=r.width/i,p=r.height/s;return{width:f,height:p,top:d,right:c+f,bottom:d+p,left:c,x:c,y:d}}function Lz(e){var t=zO(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Hce(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Pz(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function dm(e){return ud(e).getComputedStyle(e)}function w5e(e){return["table","td","th"].indexOf(Tp(e))>=0}function O1(e){return((ay(e)?e.ownerDocument:e.document)||window.document).documentElement}function H6(e){return Tp(e)==="html"?e:e.assignedSlot||e.parentNode||(Pz(e)?e.host:null)||O1(e)}function UK(e){return!sf(e)||dm(e).position==="fixed"?null:e.offsetParent}function x5e(e){var t=/firefox/i.test(yM()),n=/Trident/i.test(yM());if(n&&sf(e)){var r=dm(e);if(r.position==="fixed")return null}var i=H6(e);for(Pz(i)&&(i=i.host);sf(i)&&["html","body"].indexOf(Tp(i))<0;){var s=dm(i);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return i;i=i.parentNode}return null}function __(e){for(var t=ud(e),n=UK(e);n&&w5e(n)&&dm(n).position==="static";)n=UK(n);return n&&(Tp(n)==="html"||Tp(n)==="body"&&dm(n).position==="static")?t:n||x5e(e)||t}function Mz(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function pT(e,t,n){return Hb(e,n5(t,n))}function T5e(e,t,n){var r=pT(e,t,n);return r>n?n:r}function qce(){return{top:0,right:0,bottom:0,left:0}}function jce(e){return Object.assign({},qce(),e)}function Wce(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var k5e=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,jce(typeof t!="number"?t:Wce(t,k_))};function _5e(e){var t,n=e.state,r=e.name,i=e.options,s=n.elements.arrow,a=n.modifiersData.popperOffsets,o=Op(n.placement),l=Mz(o),c=[ac,hf].indexOf(o)>=0,d=c?"height":"width";if(!(!s||!a)){var f=k5e(i.padding,n),p=Lz(s),g=l==="y"?sc:ac,b=l==="y"?ff:hf,w=n.rects.reference[d]+n.rects.reference[l]-a[l]-n.rects.popper[d],x=a[l]-n.rects.reference[l],T=__(s),_=T?l==="y"?T.clientHeight||0:T.clientWidth||0:0,C=w/2-x/2,I=f[g],M=_-p[d]-f[b],$=_/2-p[d]/2+C,B=pT(I,$,M),j=l;n.modifiersData[r]=(t={},t[j]=B,t.centerOffset=B-$,t)}}function A5e(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||Hce(t.elements.popper,i)&&(t.elements.arrow=i))}const C5e={name:"arrow",enabled:!0,phase:"main",fn:_5e,effect:A5e,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function HO(e){return e.split("-")[1]}var R5e={top:"auto",right:"auto",bottom:"auto",left:"auto"};function I5e(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:UO(n*i)/i||0,y:UO(r*i)/i||0}}function zK(e){var t,n=e.popper,r=e.popperRect,i=e.placement,s=e.variation,a=e.offsets,o=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,f=e.isFixed,p=a.x,g=p===void 0?0:p,b=a.y,w=b===void 0?0:b,x=typeof d=="function"?d({x:g,y:w}):{x:g,y:w};g=x.x,w=x.y;var T=a.hasOwnProperty("x"),_=a.hasOwnProperty("y"),C=ac,I=sc,M=window;if(c){var $=__(n),B="clientHeight",j="clientWidth";if($===ud(n)&&($=O1(n),dm($).position!=="static"&&o==="absolute"&&(B="scrollHeight",j="scrollWidth")),$=$,i===sc||(i===ac||i===hf)&&s===hk){I=ff;var F=f&&$===M&&M.visualViewport?M.visualViewport.height:$[B];w-=F-r.height,w*=l?1:-1}if(i===ac||(i===sc||i===ff)&&s===hk){C=hf;var V=f&&$===M&&M.visualViewport?M.visualViewport.width:$[j];g-=V-r.width,g*=l?1:-1}}var ie=Object.assign({position:o},c&&R5e),se=d===!0?I5e({x:g,y:w},ud(n)):{x:g,y:w};if(g=se.x,w=se.y,l){var me;return Object.assign({},ie,(me={},me[I]=_?"0":"",me[C]=T?"0":"",me.transform=(M.devicePixelRatio||1)<=1?"translate("+g+"px, "+w+"px)":"translate3d("+g+"px, "+w+"px, 0)",me))}return Object.assign({},ie,(t={},t[I]=_?w+"px":"",t[C]=T?g+"px":"",t.transform="",t))}function D5e(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,s=n.adaptive,a=s===void 0?!0:s,o=n.roundOffsets,l=o===void 0?!0:o,c={placement:Op(t.placement),variation:HO(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,zK(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,zK(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const N5e={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:D5e,data:{}};var t4={passive:!0};function P5e(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,s=i===void 0?!0:i,a=r.resize,o=a===void 0?!0:a,l=ud(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&c.forEach(function(d){d.addEventListener("scroll",n.update,t4)}),o&&l.addEventListener("resize",n.update,t4),function(){s&&c.forEach(function(d){d.removeEventListener("scroll",n.update,t4)}),o&&l.removeEventListener("resize",n.update,t4)}}const L5e={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:P5e,data:{}};var M5e={left:"right",right:"left",bottom:"top",top:"bottom"};function F3(e){return e.replace(/left|right|bottom|top/g,function(t){return M5e[t]})}var F5e={start:"end",end:"start"};function HK(e){return e.replace(/start|end/g,function(t){return F5e[t]})}function Fz(e){var t=ud(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function $z(e){return zO(O1(e)).left+Fz(e).scrollLeft}function $5e(e,t){var n=ud(e),r=O1(e),i=n.visualViewport,s=r.clientWidth,a=r.clientHeight,o=0,l=0;if(i){s=i.width,a=i.height;var c=zce();(c||!c&&t==="fixed")&&(o=i.offsetLeft,l=i.offsetTop)}return{width:s,height:a,x:o+$z(e),y:l}}function B5e(e){var t,n=O1(e),r=Fz(e),i=(t=e.ownerDocument)==null?void 0:t.body,s=Hb(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Hb(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),o=-r.scrollLeft+$z(e),l=-r.scrollTop;return dm(i||n).direction==="rtl"&&(o+=Hb(n.clientWidth,i?i.clientWidth:0)-s),{width:s,height:a,x:o,y:l}}function Bz(e){var t=dm(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Qce(e){return["html","body","#document"].indexOf(Tp(e))>=0?e.ownerDocument.body:sf(e)&&Bz(e)?e:Qce(H6(e))}function mT(e,t){var n;t===void 0&&(t=[]);var r=Qce(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),s=ud(r),a=i?[s].concat(s.visualViewport||[],Bz(r)?r:[]):r,o=t.concat(a);return i?o:o.concat(mT(H6(a)))}function vM(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function U5e(e,t){var n=zO(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function qK(e,t,n){return t===Bce?vM($5e(e,n)):ay(t)?U5e(t,n):vM(B5e(O1(e)))}function z5e(e){var t=mT(H6(e)),n=["absolute","fixed"].indexOf(dm(e).position)>=0,r=n&&sf(e)?__(e):e;return ay(r)?t.filter(function(i){return ay(i)&&Hce(i,r)&&Tp(i)!=="body"}):[]}function H5e(e,t,n,r){var i=t==="clippingParents"?z5e(e):[].concat(t),s=[].concat(i,[n]),a=s[0],o=s.reduce(function(l,c){var d=qK(e,c,r);return l.top=Hb(d.top,l.top),l.right=n5(d.right,l.right),l.bottom=n5(d.bottom,l.bottom),l.left=Hb(d.left,l.left),l},qK(e,a,r));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function Vce(e){var t=e.reference,n=e.element,r=e.placement,i=r?Op(r):null,s=r?HO(r):null,a=t.x+t.width/2-n.width/2,o=t.y+t.height/2-n.height/2,l;switch(i){case sc:l={x:a,y:t.y-n.height};break;case ff:l={x:a,y:t.y+t.height};break;case hf:l={x:t.x+t.width,y:o};break;case ac:l={x:t.x-n.width,y:o};break;default:l={x:t.x,y:t.y}}var c=i?Mz(i):null;if(c!=null){var d=c==="y"?"height":"width";switch(s){case BO:l[c]=l[c]-(t[d]/2-n[d]/2);break;case hk:l[c]=l[c]+(t[d]/2-n[d]/2);break}}return l}function pk(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,s=n.strategy,a=s===void 0?e.strategy:s,o=n.boundary,l=o===void 0?l5e:o,c=n.rootBoundary,d=c===void 0?Bce:c,f=n.elementContext,p=f===void 0?ew:f,g=n.altBoundary,b=g===void 0?!1:g,w=n.padding,x=w===void 0?0:w,T=jce(typeof x!="number"?x:Wce(x,k_)),_=p===ew?u5e:ew,C=e.rects.popper,I=e.elements[b?_:p],M=H5e(ay(I)?I:I.contextElement||O1(e.elements.popper),l,d,a),$=zO(e.elements.reference),B=Vce({reference:$,element:C,strategy:"absolute",placement:i}),j=vM(Object.assign({},C,B)),F=p===ew?j:$,V={top:M.top-F.top+T.top,bottom:F.bottom-M.bottom+T.bottom,left:M.left-F.left+T.left,right:F.right-M.right+T.right},ie=e.modifiersData.offset;if(p===ew&&ie){var se=ie[i];Object.keys(V).forEach(function(me){var fe=[hf,ff].indexOf(me)>=0?1:-1,le=[sc,ff].indexOf(me)>=0?"y":"x";V[me]+=se[le]*fe})}return V}function q5e(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,s=n.rootBoundary,a=n.padding,o=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?Uce:l,d=HO(r),f=d?o?BK:BK.filter(function(b){return HO(b)===d}):k_,p=f.filter(function(b){return c.indexOf(b)>=0});p.length===0&&(p=f);var g=p.reduce(function(b,w){return b[w]=pk(e,{placement:w,boundary:i,rootBoundary:s,padding:a})[Op(w)],b},{});return Object.keys(g).sort(function(b,w){return g[b]-g[w]})}function j5e(e){if(Op(e)===Nz)return[];var t=F3(e);return[HK(e),t,HK(t)]}function W5e(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,s=i===void 0?!0:i,a=n.altAxis,o=a===void 0?!0:a,l=n.fallbackPlacements,c=n.padding,d=n.boundary,f=n.rootBoundary,p=n.altBoundary,g=n.flipVariations,b=g===void 0?!0:g,w=n.allowedAutoPlacements,x=t.options.placement,T=Op(x),_=T===x,C=l||(_||!b?[F3(x)]:j5e(x)),I=[x].concat(C).reduce(function(tt,St){return tt.concat(Op(St)===Nz?q5e(t,{placement:St,boundary:d,rootBoundary:f,padding:c,flipVariations:b,allowedAutoPlacements:w}):St)},[]),M=t.rects.reference,$=t.rects.popper,B=new Map,j=!0,F=I[0],V=0;V=0,le=fe?"width":"height",ye=pk(t,{placement:ie,boundary:d,rootBoundary:f,altBoundary:p,padding:c}),ae=fe?me?hf:ac:me?ff:sc;M[le]>$[le]&&(ae=F3(ae));var Se=F3(ae),he=[];if(s&&he.push(ye[se]<=0),o&&he.push(ye[ae]<=0,ye[Se]<=0),he.every(function(tt){return tt})){F=ie,j=!1;break}B.set(ie,he)}if(j)for(var re=b?3:1,Fe=function(St){var Ze=I.find(function(qt){var xt=B.get(qt);if(xt)return xt.slice(0,St).every(function(Nt){return Nt})});if(Ze)return F=Ze,"break"},je=re;je>0;je--){var ue=Fe(je);if(ue==="break")break}t.placement!==F&&(t.modifiersData[r]._skip=!0,t.placement=F,t.reset=!0)}}const Q5e={name:"flip",enabled:!0,phase:"main",fn:W5e,requiresIfExists:["offset"],data:{_skip:!1}};function jK(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function WK(e){return[sc,hf,ff,ac].some(function(t){return e[t]>=0})}function V5e(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,s=t.modifiersData.preventOverflow,a=pk(t,{elementContext:"reference"}),o=pk(t,{altBoundary:!0}),l=jK(a,r),c=jK(o,i,s),d=WK(l),f=WK(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}const G5e={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:V5e};function Y5e(e,t,n){var r=Op(e),i=[ac,sc].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=s[0],o=s[1];return a=a||0,o=(o||0)*i,[ac,hf].indexOf(r)>=0?{x:o,y:a}:{x:a,y:o}}function Z5e(e){var t=e.state,n=e.options,r=e.name,i=n.offset,s=i===void 0?[0,0]:i,a=Uce.reduce(function(d,f){return d[f]=Y5e(f,t.rects,s),d},{}),o=a[t.placement],l=o.x,c=o.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}const X5e={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Z5e};function K5e(e){var t=e.state,n=e.name;t.modifiersData[n]=Vce({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const J5e={name:"popperOffsets",enabled:!0,phase:"read",fn:K5e,data:{}};function eIe(e){return e==="x"?"y":"x"}function tIe(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,s=i===void 0?!0:i,a=n.altAxis,o=a===void 0?!1:a,l=n.boundary,c=n.rootBoundary,d=n.altBoundary,f=n.padding,p=n.tether,g=p===void 0?!0:p,b=n.tetherOffset,w=b===void 0?0:b,x=pk(t,{boundary:l,rootBoundary:c,padding:f,altBoundary:d}),T=Op(t.placement),_=HO(t.placement),C=!_,I=Mz(T),M=eIe(I),$=t.modifiersData.popperOffsets,B=t.rects.reference,j=t.rects.popper,F=typeof w=="function"?w(Object.assign({},t.rects,{placement:t.placement})):w,V=typeof F=="number"?{mainAxis:F,altAxis:F}:Object.assign({mainAxis:0,altAxis:0},F),ie=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,se={x:0,y:0};if($){if(s){var me,fe=I==="y"?sc:ac,le=I==="y"?ff:hf,ye=I==="y"?"height":"width",ae=$[I],Se=ae+x[fe],he=ae-x[le],re=g?-j[ye]/2:0,Fe=_===BO?B[ye]:j[ye],je=_===BO?-j[ye]:-B[ye],ue=t.elements.arrow,tt=g&&ue?Lz(ue):{width:0,height:0},St=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:qce(),Ze=St[fe],qt=St[le],xt=pT(0,B[ye],tt[ye]),Nt=C?B[ye]/2-re-xt-Ze-V.mainAxis:Fe-xt-Ze-V.mainAxis,Ht=C?-B[ye]/2+re+xt+qt+V.mainAxis:je+xt+qt+V.mainAxis,Jt=t.elements.arrow&&__(t.elements.arrow),Vt=Jt?I==="y"?Jt.clientTop||0:Jt.clientLeft||0:0,en=(me=ie==null?void 0:ie[I])!=null?me:0,Ct=ae+Nt-en-Vt,Xe=ae+Ht-en,Ut=pT(g?n5(Se,Ct):Se,ae,g?Hb(he,Xe):he);$[I]=Ut,se[I]=Ut-ae}if(o){var sn,te=I==="x"?sc:ac,de=I==="x"?ff:hf,we=$[M],We=M==="y"?"height":"width",Ke=we+x[te],xe=we-x[de],Qe=[sc,ac].indexOf(T)!==-1,yt=(sn=ie==null?void 0:ie[M])!=null?sn:0,Be=Qe?Ke:we-B[We]-j[We]-yt+V.altAxis,Ne=Qe?we+B[We]+j[We]-yt-V.altAxis:xe,rt=g&&Qe?T5e(Be,we,Ne):pT(g?Be:Ke,we,g?Ne:xe);$[M]=rt,se[M]=rt-we}t.modifiersData[r]=se}}const nIe={name:"preventOverflow",enabled:!0,phase:"main",fn:tIe,requiresIfExists:["offset"]};function rIe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function iIe(e){return e===ud(e)||!sf(e)?Fz(e):rIe(e)}function sIe(e){var t=e.getBoundingClientRect(),n=UO(t.width)/e.offsetWidth||1,r=UO(t.height)/e.offsetHeight||1;return n!==1||r!==1}function aIe(e,t,n){n===void 0&&(n=!1);var r=sf(t),i=sf(t)&&sIe(t),s=O1(t),a=zO(e,i,n),o={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Tp(t)!=="body"||Bz(s))&&(o=iIe(t)),sf(t)?(l=zO(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=$z(s))),{x:a.left+o.scrollLeft-l.x,y:a.top+o.scrollTop-l.y,width:a.width,height:a.height}}function oIe(e){var t=new Map,n=new Set,r=[];e.forEach(function(s){t.set(s.name,s)});function i(s){n.add(s.name);var a=[].concat(s.requires||[],s.requiresIfExists||[]);a.forEach(function(o){if(!n.has(o)){var l=t.get(o);l&&i(l)}}),r.push(s)}return e.forEach(function(s){n.has(s.name)||i(s)}),r}function lIe(e){var t=oIe(e);return v5e.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function uIe(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function cIe(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var QK={placement:"bottom",modifiers:[],strategy:"absolute"};function VK(){for(var e=arguments.length,t=new Array(e),n=0;n{s||o(pIe(i)||document.body)},[i,s]),ld(()=>{if(a&&!s)return JR(n,a),()=>{JR(n,null)}},[n,a,s]),s){if(Y.isValidElement(r)){const c={ref:l};return Y.cloneElement(r,c)}return U.jsx(Y.Fragment,{children:r})}return U.jsx(Y.Fragment,{children:a&&yE.createPortal(r,a)})});function mIe(e){return Hn("MuiPopper",e)}Yn("MuiPopper",["root"]);function gIe(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function SM(e){return typeof e=="function"?e():e}function bIe(e){return e.nodeType!==void 0}const yIe=e=>{const{classes:t}=e;return Vn({root:["root"]},mIe,t)},vIe={},SIe=Y.forwardRef(function(t,n){const{anchorEl:r,children:i,direction:s,disablePortal:a,modifiers:o,open:l,placement:c,popperOptions:d,popperRef:f,slotProps:p={},slots:g={},TransitionProps:b,ownerState:w,...x}=t,T=Y.useRef(null),_=$i(T,n),C=Y.useRef(null),I=$i(C,f),M=Y.useRef(I);ld(()=>{M.current=I},[I]),Y.useImperativeHandle(f,()=>C.current,[]);const $=gIe(c,s),[B,j]=Y.useState($),[F,V]=Y.useState(SM(r));Y.useEffect(()=>{C.current&&C.current.forceUpdate()}),Y.useEffect(()=>{r&&V(SM(r))},[r]),ld(()=>{if(!F||!l)return;const le=Se=>{j(Se.placement)};let ye=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:Se})=>{le(Se)}}];o!=null&&(ye=ye.concat(o)),d&&d.modifiers!=null&&(ye=ye.concat(d.modifiers));const ae=hIe(F,T.current,{placement:$,...d,modifiers:ye});return M.current(ae),()=>{ae.destroy(),M.current(null)}},[F,a,o,l,d,$]);const ie={placement:B};b!==null&&(ie.TransitionProps=b);const se=yIe(t),me=g.root??"div",fe=Qf({elementType:me,externalSlotProps:p.root,externalForwardedProps:x,additionalProps:{role:"tooltip",ref:_},ownerState:t,className:se.root});return U.jsx(me,{...fe,children:typeof i=="function"?i(ie):i})}),OIe=Y.forwardRef(function(t,n){const{anchorEl:r,children:i,container:s,direction:a="ltr",disablePortal:o=!1,keepMounted:l=!1,modifiers:c,open:d,placement:f="bottom",popperOptions:p=vIe,popperRef:g,style:b,transition:w=!1,slotProps:x={},slots:T={},..._}=t,[C,I]=Y.useState(!0),M=()=>{I(!1)},$=()=>{I(!0)};if(!l&&!d&&(!w||C))return null;let B;if(s)B=s;else if(r){const V=SM(r);B=V&&bIe(V)?Io(V).body:Io(null).body}const j=!d&&l&&(!w||C)?"none":void 0,F=w?{in:d,onEnter:M,onExited:$}:void 0;return U.jsx(Gce,{disablePortal:o,container:B,children:U.jsx(SIe,{anchorEl:r,direction:a,disablePortal:o,modifiers:c,ref:n,open:w?!C:d,placement:f,popperOptions:p,popperRef:g,slotProps:x,slots:T,..._,style:{position:"fixed",top:0,left:0,display:j,...b},TransitionProps:F,children:i})})}),EIe=Qt(OIe,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),q6=Y.forwardRef(function(t,n){const r=F6(),i=ir({props:t,name:"MuiPopper"}),{anchorEl:s,component:a,components:o,componentsProps:l,container:c,disablePortal:d,keepMounted:f,modifiers:p,open:g,placement:b,popperOptions:w,popperRef:x,transition:T,slots:_,slotProps:C,...I}=i,M=(_==null?void 0:_.root)??(o==null?void 0:o.Root),$={anchorEl:s,container:c,disablePortal:d,keepMounted:f,modifiers:p,open:g,placement:b,popperOptions:w,popperRef:x,transition:T,...I};return U.jsx(EIe,{as:a,direction:r?"rtl":"ltr",slots:{root:M},slotProps:C??l,...$,ref:n})});function wIe(e){return Hn("MuiListSubheader",e)}Yn("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const xIe=e=>{const{classes:t,color:n,disableGutters:r,inset:i,disableSticky:s}=e,a={root:["root",n!=="default"&&`color${jt(n)}`,!r&&"gutters",i&&"inset",!s&&"sticky"]};return Vn(a,wIe,t)},TIe=Qt("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${jt(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(Bn(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:72}},{props:({ownerState:t})=>!t.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),OM=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiListSubheader"}),{className:i,color:s="default",component:a="li",disableGutters:o=!1,disableSticky:l=!1,inset:c=!1,...d}=r,f={...r,color:s,component:a,disableGutters:o,disableSticky:l,inset:c},p=xIe(f);return U.jsx(TIe,{as:a,className:cn(p.root,i),ref:n,ownerState:f,...d})});OM&&(OM.muiSkipListHighlight=!0);const kIe=pi(U.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function _Ie(e){return Hn("MuiChip",e)}const ui=Yn("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),AIe=e=>{const{classes:t,disabled:n,size:r,color:i,iconColor:s,onDelete:a,clickable:o,variant:l}=e,c={root:["root",l,n&&"disabled",`size${jt(r)}`,`color${jt(i)}`,o&&"clickable",o&&`clickableColor${jt(i)}`,a&&"deletable",a&&`deletableColor${jt(i)}`,`${l}${jt(i)}`],label:["label",`label${jt(r)}`],avatar:["avatar",`avatar${jt(r)}`,`avatarColor${jt(i)}`],icon:["icon",`icon${jt(r)}`,`iconColor${jt(s)}`],deleteIcon:["deleteIcon",`deleteIcon${jt(r)}`,`deleteIconColor${jt(i)}`,`deleteIcon${jt(l)}Color${jt(i)}`]};return Vn(c,_Ie,t)},CIe=Qt("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:i,clickable:s,onDelete:a,size:o,variant:l}=n;return[{[`& .${ui.avatar}`]:t.avatar},{[`& .${ui.avatar}`]:t[`avatar${jt(o)}`]},{[`& .${ui.avatar}`]:t[`avatarColor${jt(r)}`]},{[`& .${ui.icon}`]:t.icon},{[`& .${ui.icon}`]:t[`icon${jt(o)}`]},{[`& .${ui.icon}`]:t[`iconColor${jt(i)}`]},{[`& .${ui.deleteIcon}`]:t.deleteIcon},{[`& .${ui.deleteIcon}`]:t[`deleteIcon${jt(o)}`]},{[`& .${ui.deleteIcon}`]:t[`deleteIconColor${jt(r)}`]},{[`& .${ui.deleteIcon}`]:t[`deleteIcon${jt(l)}Color${jt(r)}`]},t.root,t[`size${jt(o)}`],t[`color${jt(r)}`],s&&t.clickable,s&&r!=="default"&&t[`clickableColor${jt(r)})`],a&&t.deletable,a&&r!=="default"&&t[`deletableColor${jt(r)}`],t[l],t[`${l}${jt(r)}`]]}})(Bn(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${ui.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${ui.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${ui.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${ui.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${ui.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${ui.icon}`]:{marginLeft:5,marginRight:-6},[`& .${ui.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:mr(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:mr(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${ui.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${ui.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(ca(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${ui.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].contrastTextChannel} / 0.7)`:mr(e.palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${ui.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${ui.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${ui.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:mr(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(ca(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${ui.focusVisible}`]:{background:(e.vars||e).palette[n].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:mr(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${ui.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:mr(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(ca(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${ui.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${ui.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${ui.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${ui.avatar}`]:{marginLeft:4},[`& .${ui.avatarSmall}`]:{marginLeft:2},[`& .${ui.icon}`]:{marginLeft:4},[`& .${ui.iconSmall}`]:{marginLeft:2},[`& .${ui.deleteIcon}`]:{marginRight:5},[`& .${ui.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(ca()).map(([n])=>({props:{variant:"outlined",color:n},style:{color:(e.vars||e).palette[n].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:mr(e.palette[n].main,.7)}`,[`&.${ui.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette[n].main,e.palette.action.hoverOpacity)},[`&.${ui.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.focusOpacity})`:mr(e.palette[n].main,e.palette.action.focusOpacity)},[`& .${ui.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:mr(e.palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),RIe=Qt("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${jt(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function GK(e){return e.key==="Backspace"||e.key==="Delete"}const Yce=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiChip"}),{avatar:i,className:s,clickable:a,color:o="default",component:l,deleteIcon:c,disabled:d=!1,icon:f,label:p,onClick:g,onDelete:b,onKeyDown:w,onKeyUp:x,size:T="medium",variant:_="filled",tabIndex:C,skipFocusWhenDisabled:I=!1,...M}=r,$=Y.useRef(null),B=$i($,n),j=he=>{he.stopPropagation(),b&&b(he)},F=he=>{he.currentTarget===he.target&&GK(he)&&he.preventDefault(),w&&w(he)},V=he=>{he.currentTarget===he.target&&b&&GK(he)&&b(he),x&&x(he)},ie=a!==!1&&g?!0:a,se=ie||b?cm:l||"div",me={...r,component:se,disabled:d,size:T,color:o,iconColor:Y.isValidElement(f)&&f.props.color||o,onDelete:!!b,clickable:ie,variant:_},fe=AIe(me),le=se===cm?{component:l||"div",focusVisibleClassName:fe.focusVisible,...b&&{disableRipple:!0}}:{};let ye=null;b&&(ye=c&&Y.isValidElement(c)?Y.cloneElement(c,{className:cn(c.props.className,fe.deleteIcon),onClick:j}):U.jsx(kIe,{className:cn(fe.deleteIcon),onClick:j}));let ae=null;i&&Y.isValidElement(i)&&(ae=Y.cloneElement(i,{className:cn(fe.avatar,i.props.className)}));let Se=null;return f&&Y.isValidElement(f)&&(Se=Y.cloneElement(f,{className:cn(fe.icon,f.props.className)})),U.jsxs(CIe,{as:se,className:cn(fe.root,s),disabled:ie&&d?!0:void 0,onClick:g,onKeyDown:F,onKeyUp:V,ref:B,tabIndex:I&&d?-1:C,ownerState:me,...le,...M,children:[ae||Se,U.jsx(RIe,{className:cn(fe.label),ownerState:me,children:p}),ye]})});function n4(e){return parseInt(e,10)||0}const IIe={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function DIe(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const Zce=Y.forwardRef(function(t,n){const{onChange:r,maxRows:i,minRows:s=1,style:a,value:o,...l}=t,{current:c}=Y.useRef(o!=null),d=Y.useRef(null),f=$i(n,d),p=Y.useRef(null),g=Y.useRef(null),b=Y.useCallback(()=>{const T=d.current,C=sy(T).getComputedStyle(T);if(C.width==="0px")return{outerHeightStyle:0,overflowing:!1};const I=g.current;I.style.width=C.width,I.value=T.value||t.placeholder||"x",I.value.slice(-1)===` -`&&(I.value+=" ");const M=C.boxSizing,$=n4(C.paddingBottom)+n4(C.paddingTop),B=n4(C.borderBottomWidth)+n4(C.borderTopWidth),j=I.scrollHeight;I.value="x";const F=I.scrollHeight;let V=j;s&&(V=Math.max(Number(s)*F,V)),i&&(V=Math.min(Number(i)*F,V)),V=Math.max(V,F);const ie=V+(M==="border-box"?$+B:0),se=Math.abs(V-j)<=1;return{outerHeightStyle:ie,overflowing:se}},[i,s,t.placeholder]),w=Y.useCallback(()=>{const T=b();if(DIe(T))return;const _=T.outerHeightStyle,C=d.current;p.current!==_&&(p.current=_,C.style.height=`${_}px`),C.style.overflow=T.overflowing?"hidden":""},[b]);ld(()=>{const T=()=>{w()};let _;const C=wce(T),I=d.current,M=sy(I);M.addEventListener("resize",C);let $;return typeof ResizeObserver<"u"&&($=new ResizeObserver(T),$.observe(I)),()=>{C.clear(),cancelAnimationFrame(_),M.removeEventListener("resize",C),$&&$.disconnect()}},[b,w]),ld(()=>{w()});const x=T=>{c||w(),r&&r(T)};return U.jsxs(Y.Fragment,{children:[U.jsx("textarea",{value:o,onChange:x,ref:f,rows:s,style:a,...l}),U.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:g,tabIndex:-1,style:{...IIe.shadow,...a,paddingTop:0,paddingBottom:0}})]})});function K0(e){return typeof e=="string"}function E1({props:e,states:t,muiFormControl:n}){return t.reduce((r,i)=>(r[i]=e[i],n&&typeof e[i]>"u"&&(r[i]=n[i]),r),{})}const j6=Y.createContext(void 0);function bh(){return Y.useContext(j6)}function YK(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function r5(e,t=!1){return e&&(YK(e.value)&&e.value!==""||t&&YK(e.defaultValue)&&e.defaultValue!=="")}function NIe(e){return e.startAdornment}function PIe(e){return Hn("MuiInputBase",e)}const Uc=Yn("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var ZK;const W6=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${jt(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Q6=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},LIe=e=>{const{classes:t,color:n,disabled:r,error:i,endAdornment:s,focused:a,formControl:o,fullWidth:l,hiddenLabel:c,multiline:d,readOnly:f,size:p,startAdornment:g,type:b}=e,w={root:["root",`color${jt(n)}`,r&&"disabled",i&&"error",l&&"fullWidth",a&&"focused",o&&"formControl",p&&p!=="medium"&&`size${jt(p)}`,d&&"multiline",g&&"adornedStart",s&&"adornedEnd",c&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled",b==="search"&&"inputTypeSearch",d&&"inputMultiline",p==="small"&&"inputSizeSmall",c&&"inputHiddenLabel",g&&"inputAdornedStart",s&&"inputAdornedEnd",f&&"readOnly"]};return Vn(w,PIe,t)},V6=Qt("div",{name:"MuiInputBase",slot:"Root",overridesResolver:W6})(Bn(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Uc.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),G6=Qt("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Q6})(Bn(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Uc.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${Uc.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:s})=>!s.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:s})=>s.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),XK=Az({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),Uz=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:s,autoFocus:a,className:o,color:l,components:c={},componentsProps:d={},defaultValue:f,disabled:p,disableInjectingGlobalStyles:g,endAdornment:b,error:w,fullWidth:x=!1,id:T,inputComponent:_="input",inputProps:C={},inputRef:I,margin:M,maxRows:$,minRows:B,multiline:j=!1,name:F,onBlur:V,onChange:ie,onClick:se,onFocus:me,onKeyDown:fe,onKeyUp:le,placeholder:ye,readOnly:ae,renderSuffix:Se,rows:he,size:re,slotProps:Fe={},slots:je={},startAdornment:ue,type:tt="text",value:St,...Ze}=r,qt=C.value!=null?C.value:St,{current:xt}=Y.useRef(qt!=null),Nt=Y.useRef(),Ht=Y.useCallback(Gt=>{},[]),Jt=$i(Nt,I,C.ref,Ht),[Vt,en]=Y.useState(!1),Ct=bh(),Xe=E1({props:r,muiFormControl:Ct,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Xe.focused=Ct?Ct.focused:Vt,Y.useEffect(()=>{!Ct&&p&&Vt&&(en(!1),V&&V())},[Ct,p,Vt,V]);const Ut=Ct&&Ct.onFilled,sn=Ct&&Ct.onEmpty,te=Y.useCallback(Gt=>{r5(Gt)?Ut&&Ut():sn&&sn()},[Ut,sn]);ld(()=>{xt&&te({value:qt})},[qt,te,xt]);const de=Gt=>{me&&me(Gt),C.onFocus&&C.onFocus(Gt),Ct&&Ct.onFocus?Ct.onFocus(Gt):en(!0)},we=Gt=>{V&&V(Gt),C.onBlur&&C.onBlur(Gt),Ct&&Ct.onBlur?Ct.onBlur(Gt):en(!1)},We=(Gt,...Pn)=>{if(!xt){const Fn=Gt.target||Nt.current;if(Fn==null)throw new Error(lm(1));te({value:Fn.value})}C.onChange&&C.onChange(Gt,...Pn),ie&&ie(Gt,...Pn)};Y.useEffect(()=>{te(Nt.current)},[]);const Ke=Gt=>{Nt.current&&Gt.currentTarget===Gt.target&&Nt.current.focus(),se&&se(Gt)};let xe=_,Qe=C;j&&xe==="input"&&(he?Qe={type:void 0,minRows:he,maxRows:he,...Qe}:Qe={type:void 0,maxRows:$,minRows:B,...Qe},xe=Zce);const yt=Gt=>{te(Gt.animationName==="mui-auto-fill-cancel"?Nt.current:{value:"x"})};Y.useEffect(()=>{Ct&&Ct.setAdornedStart(!!ue)},[Ct,ue]);const Be={...r,color:Xe.color||"primary",disabled:Xe.disabled,endAdornment:b,error:Xe.error,focused:Xe.focused,formControl:Ct,fullWidth:x,hiddenLabel:Xe.hiddenLabel,multiline:j,size:Xe.size,startAdornment:ue,type:tt},Ne=LIe(Be),rt=je.root||c.Root||V6,pt=Fe.root||d.root||{},Dt=je.input||c.Input||G6;return Qe={...Qe,...Fe.input??d.input},U.jsxs(Y.Fragment,{children:[!g&&typeof XK=="function"&&(ZK||(ZK=U.jsx(XK,{}))),U.jsxs(rt,{...pt,ref:n,onClick:Ke,...Ze,...!K0(rt)&&{ownerState:{...Be,...pt.ownerState}},className:cn(Ne.root,pt.className,o,ae&&"MuiInputBase-readOnly"),children:[ue,U.jsx(j6.Provider,{value:null,children:U.jsx(Dt,{"aria-invalid":Xe.error,"aria-describedby":i,autoComplete:s,autoFocus:a,defaultValue:f,disabled:Xe.disabled,id:T,onAnimationStart:yt,name:F,placeholder:ye,readOnly:ae,required:Xe.required,rows:he,value:qt,onKeyDown:fe,onKeyUp:le,type:tt,...Qe,...!K0(Dt)&&{as:xe,ownerState:{...Be,...Qe.ownerState}},ref:Jt,className:cn(Ne.input,Qe.className,ae&&"MuiInputBase-readOnly"),onBlur:we,onChange:We,onFocus:de})}),b,Se?Se({...Xe,startAdornment:ue}):null]})]})});function MIe(e){return Hn("MuiInput",e)}const Eg={...Uc,...Yn("MuiInput",["root","underline","input"])};function FIe(e){return Hn("MuiOutlinedInput",e)}const Bd={...Uc,...Yn("MuiOutlinedInput",["root","notchedOutline","input"])};function $Ie(e){return Hn("MuiFilledInput",e)}const zc={...Uc,...Yn("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},Xce=pi(U.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function BIe(e){return Hn("MuiAutocomplete",e)}const Jr=Yn("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var KK,JK;const UIe=e=>{const{classes:t,disablePortal:n,expanded:r,focused:i,fullWidth:s,hasClearIcon:a,hasPopupIcon:o,inputFocused:l,popupOpen:c,size:d}=e,f={root:["root",r&&"expanded",i&&"focused",s&&"fullWidth",a&&"hasClearIcon",o&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",l&&"inputFocused"],tag:["tag",`tagSize${jt(d)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",c&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return Vn(f,BIe,t)},zIe=Qt("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:i,hasPopupIcon:s,inputFocused:a,size:o}=n;return[{[`& .${Jr.tag}`]:t.tag},{[`& .${Jr.tag}`]:t[`tagSize${jt(o)}`]},{[`& .${Jr.inputRoot}`]:t.inputRoot},{[`& .${Jr.input}`]:t.input},{[`& .${Jr.input}`]:a&&t.inputFocused},t.root,r&&t.fullWidth,s&&t.hasPopupIcon,i&&t.hasClearIcon]}})({[`&.${Jr.focused} .${Jr.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Jr.clearIndicator}`]:{visibility:"visible"}},[`& .${Jr.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Jr.inputRoot}`]:{[`.${Jr.hasPopupIcon}&, .${Jr.hasClearIcon}&`]:{paddingRight:30},[`.${Jr.hasPopupIcon}.${Jr.hasClearIcon}&`]:{paddingRight:56},[`& .${Jr.input}`]:{width:0,minWidth:30}},[`& .${Eg.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Eg.root}.${Uc.sizeSmall}`]:{[`& .${Eg.input}`]:{padding:"2px 4px 3px 0"}},[`& .${Bd.root}`]:{padding:9,[`.${Jr.hasPopupIcon}&, .${Jr.hasClearIcon}&`]:{paddingRight:39},[`.${Jr.hasPopupIcon}.${Jr.hasClearIcon}&`]:{paddingRight:65},[`& .${Jr.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Jr.endAdornment}`]:{right:9}},[`& .${Bd.root}.${Uc.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Jr.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${zc.root}`]:{paddingTop:19,paddingLeft:8,[`.${Jr.hasPopupIcon}&, .${Jr.hasClearIcon}&`]:{paddingRight:39},[`.${Jr.hasPopupIcon}.${Jr.hasClearIcon}&`]:{paddingRight:65},[`& .${zc.input}`]:{padding:"7px 4px"},[`& .${Jr.endAdornment}`]:{right:9}},[`& .${zc.root}.${Uc.sizeSmall}`]:{paddingBottom:1,[`& .${zc.input}`]:{padding:"2.5px 4px"}},[`& .${Uc.hiddenLabel}`]:{paddingTop:8},[`& .${zc.root}.${Uc.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Jr.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${zc.root}.${Uc.hiddenLabel}.${Uc.sizeSmall}`]:{[`& .${Jr.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Jr.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Jr.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Jr.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Jr.inputRoot}`]:{flexWrap:"wrap"}}}]}),HIe=Qt("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),qIe=Qt(Gl,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),jIe=Qt(Gl,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>({...t.popupIndicator,...e.popupOpen&&t.popupIndicatorOpen})})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),WIe=Qt(q6,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Jr.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(Bn(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),QIe=Qt(Ko,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(Bn(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),VIe=Qt("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(Bn(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),GIe=Qt("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(Bn(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),YIe=Qt("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(Bn(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Jr.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${Jr.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Jr.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:mr(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Jr.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:mr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Jr.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:mr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),ZIe=Qt(OM,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(Bn(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),XIe=Qt("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${Jr.option}`]:{paddingLeft:24}}),KIe=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiAutocomplete"}),{autoComplete:i=!1,autoHighlight:s=!1,autoSelect:a=!1,blurOnSelect:o=!1,ChipProps:l,className:c,clearIcon:d=KK||(KK=U.jsx(GRe,{fontSize:"small"})),clearOnBlur:f=!r.freeSolo,clearOnEscape:p=!1,clearText:g="Clear",closeText:b="Close",componentsProps:w,defaultValue:x=r.multiple?[]:null,disableClearable:T=!1,disableCloseOnSelect:_=!1,disabled:C=!1,disabledItemsFocusable:I=!1,disableListWrap:M=!1,disablePortal:$=!1,filterOptions:B,filterSelectedOptions:j=!1,forcePopupIcon:F="auto",freeSolo:V=!1,fullWidth:ie=!1,getLimitTagsText:se=Ln=>`+${Ln}`,getOptionDisabled:me,getOptionKey:fe,getOptionLabel:le,isOptionEqualToValue:ye,groupBy:ae,handleHomeEndKeys:Se=!r.freeSolo,id:he,includeInputInList:re=!1,inputValue:Fe,limitTags:je=-1,ListboxComponent:ue,ListboxProps:tt,loading:St=!1,loadingText:Ze="Loading…",multiple:qt=!1,noOptionsText:xt="No options",onChange:Nt,onClose:Ht,onHighlightChange:Jt,onInputChange:Vt,onOpen:en,open:Ct,openOnFocus:Xe=!1,openText:Ut="Open",options:sn,PaperComponent:te,PopperComponent:de,popupIcon:we=JK||(JK=U.jsx(Xce,{})),readOnly:We=!1,renderGroup:Ke,renderInput:xe,renderOption:Qe,renderTags:yt,selectOnFocus:Be=!r.freeSolo,size:Ne="medium",slots:rt={},slotProps:pt={},value:Dt,...Gt}=r,{getRootProps:Pn,getInputProps:Fn,getInputLabelProps:kt,getPopupIndicatorProps:ct,getClearProps:fn,getTagProps:Rn,getListboxProps:Sr,getOptionProps:ai,value:sr,dirty:oi,expanded:xr,id:Ir,popupOpen:$r,focused:_r,focusedTag:Qr,anchorEl:jn,setAnchorEl:wi,inputValue:wa,groupedOptions:is}=o5e({...r,componentName:"Autocomplete"}),ss=!T&&!C&&oi&&!We,Rs=(!V||F===!0)&&F!==!1,{onMouseDown:at}=Fn(),{ref:z,...L}=Sr(),X=le||(Ln=>Ln.label??Ln),be={...r,disablePortal:$,expanded:xr,focused:_r,fullWidth:ie,getOptionLabel:X,hasClearIcon:ss,hasPopupIcon:Rs,inputFocused:Qr===-1,popupOpen:$r,size:Ne},Rt=UIe(be),At={slots:{listbox:ue,paper:te,popper:de,...rt},slotProps:{chip:l,listbox:tt,...w,...pt}},[ot,Je]=gl("listbox",{elementType:"ul",externalForwardedProps:At,ownerState:be,className:Rt.listbox,additionalProps:L,ref:z}),[ft,Mt]=gl("paper",{elementType:Ko,externalForwardedProps:At,ownerState:be,className:Rt.paper}),[Yt,Nn]=gl("popper",{elementType:q6,externalForwardedProps:At,ownerState:be,className:Rt.popper,additionalProps:{disablePortal:$,style:{width:jn?jn.clientWidth:null},role:"presentation",anchorEl:jn,open:$r}});let Ce;if(qt&&sr.length>0){const Ln=ma=>({className:Rt.tag,disabled:C,...Rn(ma)});yt?Ce=yt(sr,Ln,be):Ce=sr.map((ma,qs)=>{const{key:os,...yr}=Ln({index:qs});return U.jsx(Yce,{label:X(ma),size:Ne,...yr,...At.slotProps.chip},os)})}if(je>-1&&Array.isArray(Ce)){const Ln=Ce.length-je;!_r&&Ln>0&&(Ce=Ce.splice(0,je),Ce.push(U.jsx("span",{className:Rt.tag,children:se(Ln)},Ce.length)))}const Ue=Ke||(Ln=>U.jsxs("li",{children:[U.jsx(ZIe,{className:Rt.groupLabel,ownerState:be,component:"div",children:Ln.group}),U.jsx(XIe,{className:Rt.groupUl,ownerState:be,children:Ln.children})]},Ln.key)),Jn=Qe||((Ln,ma)=>{const{key:qs,...os}=Ln;return U.jsx("li",{...os,children:X(ma)},qs)}),xi=(Ln,ma)=>{const qs=ai({option:Ln,index:ma});return Jn({...qs,className:Rt.option},Ln,{selected:qs["aria-selected"],index:ma,inputValue:wa},be)},ti=At.slotProps.clearIndicator,wn=At.slotProps.popupIndicator,as=Ln=>U.jsx(WIe,{as:Yt,...Nn,children:U.jsx(QIe,{as:ft,...Mt,children:Ln})});let Qi=null;return is.length>0?Qi=as(U.jsx(YIe,{as:ot,...Je,children:is.map((Ln,ma)=>ae?Ue({key:Ln.key,group:Ln.group,children:Ln.options.map((qs,os)=>xi(qs,Ln.index+os))}):xi(Ln,ma))})):St&&is.length===0?Qi=as(U.jsx(VIe,{className:Rt.loading,ownerState:be,children:Ze})):is.length===0&&!V&&!St&&(Qi=as(U.jsx(GIe,{className:Rt.noOptions,ownerState:be,role:"presentation",onMouseDown:Ln=>{Ln.preventDefault()},children:xt}))),U.jsxs(Y.Fragment,{children:[U.jsx(zIe,{ref:n,className:cn(Rt.root,c),ownerState:be,...Pn(Gt),children:xe({id:Ir,disabled:C,fullWidth:!0,size:Ne==="small"?"small":void 0,InputLabelProps:kt(),InputProps:{ref:wi,className:Rt.inputRoot,startAdornment:Ce,onClick:Ln=>{Ln.target===Ln.currentTarget&&at(Ln)},...(ss||Rs)&&{endAdornment:U.jsxs(HIe,{className:Rt.endAdornment,ownerState:be,children:[ss?U.jsx(qIe,{...fn(),"aria-label":g,title:g,ownerState:be,...ti,className:cn(Rt.clearIndicator,ti==null?void 0:ti.className),children:d}):null,Rs?U.jsx(jIe,{...ct(),disabled:C,"aria-label":$r?b:Ut,title:$r?b:Ut,ownerState:be,...wn,className:cn(Rt.popupIndicator,wn==null?void 0:wn.className),children:we}):null]})}},inputProps:{className:Rt.input,disabled:C,readOnly:We,...Fn()}})}),jn?Qi:null]})}),JIe=pi(U.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function e6e(e){return Hn("MuiAvatar",e)}const t6e=Yn("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),n6e=e=>{const{classes:t,variant:n,colorDefault:r}=e;return Vn({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},e6e,t)},r6e=Qt("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(Bn(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(e.vars||e).palette.background.default,...e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.grey[400],...e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})}}}]}))),i6e=Qt("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),s6e=Qt(JIe,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function a6e({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[i,s]=Y.useState(!1);return Y.useEffect(()=>{if(!n&&!r)return;s(!1);let a=!0;const o=new Image;return o.onload=()=>{a&&s("loaded")},o.onerror=()=>{a&&s("error")},o.crossOrigin=e,o.referrerPolicy=t,o.src=n,r&&(o.srcset=r),()=>{a=!1}},[e,t,n,r]),i}const qb=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiAvatar"}),{alt:i,children:s,className:a,component:o="div",slots:l={},slotProps:c={},imgProps:d,sizes:f,src:p,srcSet:g,variant:b="circular",...w}=r;let x=null;const T=a6e({...d,src:p,srcSet:g}),_=p||g,C=_&&T!=="error",I={...r,colorDefault:!C,component:o,variant:b};delete I.ownerState;const M=n6e(I),[$,B]=gl("img",{className:M.img,elementType:i6e,externalForwardedProps:{slots:l,slotProps:{img:{...d,...c.img}}},additionalProps:{alt:i,src:p,srcSet:g,sizes:f},ownerState:I});return C?x=U.jsx($,{...B}):s||s===0?x=s:_&&i?x=i[0]:x=U.jsx(s6e,{ownerState:I,className:M.fallback}),U.jsx(r6e,{as:o,className:cn(M.root,a),ref:n,...w,ownerState:I,children:x})});function o6e(e){return Hn("MuiAvatarGroup",e)}const l6e=Yn("MuiAvatarGroup",["root","avatar"]),eJ={small:-16,medium:-8},u6e=e=>{const{classes:t}=e;return Vn({root:["root"],avatar:["avatar"]},o6e,t)},c6e=Qt("div",{name:"MuiAvatarGroup",slot:"Root",overridesResolver:(e,t)=>({[`& .${l6e.avatar}`]:t.avatar,...t.root})})(Bn(({theme:e})=>({display:"flex",flexDirection:"row-reverse",[`& .${t6e.root}`]:{border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:"var(--AvatarGroup-spacing, -8px)","&:last-child":{marginLeft:0}}}))),d6e=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiAvatarGroup"}),{children:i,className:s,component:a="div",componentsProps:o,max:l=5,renderSurplus:c,slotProps:d={},slots:f={},spacing:p="medium",total:g,variant:b="circular",...w}=r;let x=l<2?2:l;const T={...r,max:l,spacing:p,component:a,variant:b},_=u6e(T),C=Y.Children.toArray(i).filter(se=>Y.isValidElement(se)),I=g||C.length;I===x&&(x+=1),x=Math.min(I+1,x);const M=Math.min(C.length,x-1),$=Math.max(I-x,I-M,0),B=c?c($):`+${$}`,j=T.spacing&&eJ[T.spacing]!==void 0?eJ[T.spacing]:-T.spacing||-8,F={slots:f,slotProps:{surplus:d.additionalAvatar??(o==null?void 0:o.additionalAvatar),...o,...d}},[V,ie]=gl("surplus",{elementType:qb,externalForwardedProps:F,className:_.avatar,ownerState:T,additionalProps:{variant:b,style:{"--AvatarRoot-spacing":j?`${j}px`:void 0,...w.style}}});return U.jsxs(c6e,{as:a,ownerState:T,className:cn(_.root,s),ref:n,...w,children:[$?U.jsx(V,{...ie,children:B}):null,C.slice(0,M).reverse().map(se=>Y.cloneElement(se,{className:cn(se.props.className,_.avatar),variant:se.props.variant||b}))]})}),f6e={entering:{opacity:1},entered:{opacity:1}},i5=Y.forwardRef(function(t,n){const r=Ap(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:s,appear:a=!0,children:o,easing:l,in:c,onEnter:d,onEntered:f,onEntering:p,onExit:g,onExited:b,onExiting:w,style:x,timeout:T=i,TransitionComponent:_=gh,...C}=t,I=Y.useRef(null),M=$i(I,OE(o),n),$=fe=>le=>{if(fe){const ye=I.current;le===void 0?fe(ye):fe(ye,le)}},B=$(p),j=$((fe,le)=>{$ce(fe);const ye=$O({style:x,timeout:T,easing:l},{mode:"enter"});fe.style.webkitTransition=r.transitions.create("opacity",ye),fe.style.transition=r.transitions.create("opacity",ye),d&&d(fe,le)}),F=$(f),V=$(w),ie=$(fe=>{const le=$O({style:x,timeout:T,easing:l},{mode:"exit"});fe.style.webkitTransition=r.transitions.create("opacity",le),fe.style.transition=r.transitions.create("opacity",le),g&&g(fe)}),se=$(b),me=fe=>{s&&s(I.current,fe)};return U.jsx(_,{appear:a,in:c,nodeRef:I,onEnter:j,onEntered:F,onEntering:B,onExit:ie,onExited:se,onExiting:V,addEndListener:me,timeout:T,...C,children:(fe,le)=>Y.cloneElement(o,{style:{opacity:0,visibility:fe==="exited"&&!c?"hidden":void 0,...f6e[fe],...x,...o.props.style},ref:M,...le})})});function h6e(e){return Hn("MuiBackdrop",e)}Yn("MuiBackdrop",["root","invisible"]);const p6e=e=>{const{ownerState:t,...n}=e;return n},m6e=e=>{const{classes:t,invisible:n}=e;return Vn({root:["root",n&&"invisible"]},h6e,t)},g6e=Qt("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),wE=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiBackdrop"}),{children:i,className:s,component:a="div",invisible:o=!1,open:l,components:c={},componentsProps:d={},slotProps:f={},slots:p={},TransitionComponent:g,transitionDuration:b,...w}=r,x={...r,component:a,invisible:o},T=m6e(x),_={transition:g,root:c.Root,...p},C={...d,...f},I={slots:_,slotProps:C},[M,$]=gl("root",{elementType:g6e,externalForwardedProps:I,className:cn(T.root,s),ownerState:x}),[B,j]=gl("transition",{elementType:i5,externalForwardedProps:I,ownerState:x}),F=p6e(j);return U.jsx(B,{in:l,timeout:b,...w,...F,children:U.jsx(M,{"aria-hidden":!0,...$,classes:T,ref:n,children:i})})}),b6e=Yn("MuiBox",["root"]),y6e=B6(),ha=p4e({themeId:sh,defaultTheme:y6e,defaultClassName:b6e.root,generateClassName:mce.generate});function v6e(e){return Hn("MuiButton",e)}const zv=Yn("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),S6e=Y.createContext({}),O6e=Y.createContext(void 0),E6e=e=>{const{color:t,disableElevation:n,fullWidth:r,size:i,variant:s,classes:a}=e,o={root:["root",s,`${s}${jt(t)}`,`size${jt(i)}`,`${s}Size${jt(i)}`,`color${jt(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${jt(i)}`],endIcon:["icon","endIcon",`iconSize${jt(i)}`]},l=Vn(o,v6e,a);return{...a,...l}},Kce=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],w6e=Qt(cm,{shouldForwardProp:e=>El(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${jt(n.color)}`],t[`size${jt(n.size)}`],t[`${n.variant}Size${jt(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(Bn(({theme:e})=>{var r,i;const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${zv.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${zv.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${zv.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${zv.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(ca(["dark","contrastText"])).map(([s])=>({props:{color:s},style:{"--variant-textColor":(e.vars||e).palette[s].main,"--variant-outlinedColor":(e.vars||e).palette[s].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[s].mainChannel} / 0.5)`:mr(e.palette[s].main,.5),"--variant-containedColor":(e.vars||e).palette[s].contrastText,"--variant-containedBg":(e.vars||e).palette[s].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[s].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[s].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette[s].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[s].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[s].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette[s].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{"--variant-containedColor":e.vars?e.vars.palette.text.primary:(i=(r=e.palette).getContrastText)==null?void 0:i.call(r,t),"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${zv.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${zv.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),x6e=Qt("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${jt(n.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...Kce]}),T6e=Qt("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${jt(n.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...Kce]}),yl=Y.forwardRef(function(t,n){const r=Y.useContext(S6e),i=Y.useContext(O6e),s=MO(r,t),a=ir({props:s,name:"MuiButton"}),{children:o,color:l="primary",component:c="button",className:d,disabled:f=!1,disableElevation:p=!1,disableFocusRipple:g=!1,endIcon:b,focusVisibleClassName:w,fullWidth:x=!1,size:T="medium",startIcon:_,type:C,variant:I="text",...M}=a,$={...a,color:l,component:c,disabled:f,disableElevation:p,disableFocusRipple:g,fullWidth:x,size:T,type:C,variant:I},B=E6e($),j=_&&U.jsx(x6e,{className:B.startIcon,ownerState:$,children:_}),F=b&&U.jsx(T6e,{className:B.endIcon,ownerState:$,children:b}),V=i||"";return U.jsxs(w6e,{ownerState:$,className:cn(r.className,B.root,d,V),component:c,disabled:f,focusRipple:!g,focusVisibleClassName:cn(B.focusVisible,w),ref:n,type:C,...M,classes:B,children:[j,o,F]})});function k6e(e){return Hn("MuiCard",e)}Yn("MuiCard",["root"]);const _6e=e=>{const{classes:t}=e;return Vn({root:["root"]},k6e,t)},A6e=Qt(Ko,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),Jce=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiCard"}),{className:i,raised:s=!1,...a}=r,o={...r,raised:s},l=_6e(o);return U.jsx(A6e,{className:cn(l.root,i),elevation:s?8:void 0,ref:n,ownerState:o,...a})});function C6e(e){return Hn("MuiCardActionArea",e)}const tP=Yn("MuiCardActionArea",["root","focusVisible","focusHighlight"]),R6e=e=>{const{classes:t}=e;return Vn({root:["root"],focusHighlight:["focusHighlight"]},C6e,t)},I6e=Qt(cm,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(e,t)=>t.root})(Bn(({theme:e})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${tP.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${tP.focusVisible} .${tP.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}}))),D6e=Qt("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(e,t)=>t.focusHighlight})(Bn(({theme:e})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})}))),N6e=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiCardActionArea"}),{children:i,className:s,focusVisibleClassName:a,...o}=r,l=r,c=R6e(l);return U.jsxs(I6e,{className:cn(c.root,s),focusVisibleClassName:cn(a,c.focusVisible),ref:n,ownerState:l,...o,children:[i,U.jsx(D6e,{className:c.focusHighlight,ownerState:l})]})});function P6e(e){return Hn("MuiCardContent",e)}Yn("MuiCardContent",["root"]);const L6e=e=>{const{classes:t}=e;return Vn({root:["root"]},P6e,t)},M6e=Qt("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),F6e=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiCardContent"}),{className:i,component:s="div",...a}=r,o={...r,component:s},l=L6e(o);return U.jsx(M6e,{as:s,className:cn(l.root,i),ownerState:o,ref:n,...a})});function $6e(e){return Hn("PrivateSwitchBase",e)}Yn("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const B6e=e=>{const{classes:t,checked:n,disabled:r,edge:i}=e,s={root:["root",n&&"checked",r&&"disabled",i&&`edge${jt(i)}`],input:["input"]};return Vn(s,$6e,t)},U6e=Qt(cm)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),z6e=Qt("input",{shouldForwardProp:El})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),zz=Y.forwardRef(function(t,n){const{autoFocus:r,checked:i,checkedIcon:s,className:a,defaultChecked:o,disabled:l,disableFocusRipple:c=!1,edge:d=!1,icon:f,id:p,inputProps:g,inputRef:b,name:w,onBlur:x,onChange:T,onFocus:_,readOnly:C,required:I=!1,tabIndex:M,type:$,value:B,...j}=t,[F,V]=X0({controlled:i,default:!!o,name:"SwitchBase",state:"checked"}),ie=bh(),se=he=>{_&&_(he),ie&&ie.onFocus&&ie.onFocus(he)},me=he=>{x&&x(he),ie&&ie.onBlur&&ie.onBlur(he)},fe=he=>{if(he.nativeEvent.defaultPrevented)return;const re=he.target.checked;V(re),T&&T(he,re)};let le=l;ie&&typeof le>"u"&&(le=ie.disabled);const ye=$==="checkbox"||$==="radio",ae={...t,checked:F,disabled:le,disableFocusRipple:c,edge:d},Se=B6e(ae);return U.jsxs(U6e,{component:"span",className:cn(Se.root,a),centerRipple:!0,focusRipple:!c,disabled:le,tabIndex:null,role:void 0,onFocus:se,onBlur:me,ownerState:ae,ref:n,...j,children:[U.jsx(z6e,{autoFocus:r,checked:i,defaultChecked:o,className:Se.input,disabled:le,id:ye?p:void 0,name:w,onChange:fe,readOnly:C,ref:b,required:I,ownerState:ae,tabIndex:M,type:$,...$==="checkbox"&&B===void 0?{}:{value:B},...g}),F?s:f]})}),H6e=pi(U.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),q6e=pi(U.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),j6e=pi(U.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function W6e(e){return Hn("MuiCheckbox",e)}const nP=Yn("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Q6e=e=>{const{classes:t,indeterminate:n,color:r,size:i}=e,s={root:["root",n&&"indeterminate",`color${jt(r)}`,`size${jt(i)}`]},a=Vn(s,W6e,t);return{...t,...a}},V6e=Qt(zz,{shouldForwardProp:e=>El(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${jt(n.size)}`],n.color!=="default"&&t[`color${jt(n.color)}`]]}})(Bn(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t},style:{[`&.${nP.checked}, &.${nP.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${nP.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),G6e=U.jsx(q6e,{}),Y6e=U.jsx(H6e,{}),Z6e=U.jsx(j6e,{}),Y6=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiCheckbox"}),{checkedIcon:i=G6e,color:s="primary",icon:a=Y6e,indeterminate:o=!1,indeterminateIcon:l=Z6e,inputProps:c,size:d="medium",disableRipple:f=!1,className:p,...g}=r,b=o?l:a,w=o?l:i,x={...r,disableRipple:f,color:s,indeterminate:o,size:d},T=Q6e(x);return U.jsx(V6e,{type:"checkbox",inputProps:{"data-indeterminate":o,...c},icon:Y.cloneElement(b,{fontSize:b.props.fontSize??d}),checkedIcon:Y.cloneElement(w,{fontSize:w.props.fontSize??d}),ownerState:x,ref:n,className:cn(T.root,p),...g,classes:T})});function X6e(e){return Hn("MuiCircularProgress",e)}Yn("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const og=44,EM=v_` +`,$Re=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:s={},className:a,...o}=r,[l,c]=Y.useState([]),d=Y.useRef(0),f=Y.useRef(null);Y.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const p=Y.useRef(!1),g=Sb(),b=Y.useRef(null),w=Y.useRef(null),x=Y.useCallback(I=>{const{pulsate:M,rippleX:$,rippleY:B,rippleSize:j,cb:F}=I;c(V=>[...V,U.jsx(FRe,{classes:{ripple:cn(s.ripple,qd.ripple),rippleVisible:cn(s.rippleVisible,qd.rippleVisible),ripplePulsate:cn(s.ripplePulsate,qd.ripplePulsate),child:cn(s.child,qd.child),childLeaving:cn(s.childLeaving,qd.childLeaving),childPulsate:cn(s.childPulsate,qd.childPulsate)},timeout:bM,pulsate:M,rippleX:$,rippleY:B,rippleSize:j},d.current)]),d.current+=1,f.current=F},[s]),T=Y.useCallback((I={},M={},$=()=>{})=>{const{pulsate:B=!1,center:j=i||M.pulsate,fakeElement:F=!1}=M;if((I==null?void 0:I.type)==="mousedown"&&p.current){p.current=!1;return}(I==null?void 0:I.type)==="touchstart"&&(p.current=!0);const V=F?null:w.current,ie=V?V.getBoundingClientRect():{width:0,height:0,left:0,top:0};let se,me,fe;if(j||I===void 0||I.clientX===0&&I.clientY===0||!I.clientX&&!I.touches)se=Math.round(ie.width/2),me=Math.round(ie.height/2);else{const{clientX:le,clientY:ye}=I.touches&&I.touches.length>0?I.touches[0]:I;se=Math.round(le-ie.left),me=Math.round(ye-ie.top)}if(j)fe=Math.sqrt((2*ie.width**2+ie.height**2)/3),fe%2===0&&(fe+=1);else{const le=Math.max(Math.abs((V?V.clientWidth:0)-se),se)*2+2,ye=Math.max(Math.abs((V?V.clientHeight:0)-me),me)*2+2;fe=Math.sqrt(le**2+ye**2)}I!=null&&I.touches?b.current===null&&(b.current=()=>{x({pulsate:B,rippleX:se,rippleY:me,rippleSize:fe,cb:$})},g.start(DRe,()=>{b.current&&(b.current(),b.current=null)})):x({pulsate:B,rippleX:se,rippleY:me,rippleSize:fe,cb:$})},[i,x,g]),_=Y.useCallback(()=>{T({},{pulsate:!0})},[T]),C=Y.useCallback((I,M)=>{if(g.clear(),(I==null?void 0:I.type)==="touchend"&&b.current){b.current(),b.current=null,g.start(0,()=>{C(I,M)});return}b.current=null,c($=>$.length>0?$.slice(1):$),f.current=M},[g]);return Y.useImperativeHandle(n,()=>({pulsate:_,start:T,stop:C}),[_,T,C]),U.jsx(MRe,{className:cn(qd.root,s.root,a),ref:w,...o,children:U.jsx(Iz,{component:null,exit:!0,children:l})})});function BRe(e){return Hn("MuiButtonBase",e)}const URe=Yn("MuiButtonBase",["root","disabled","focusVisible"]),zRe=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,a=Vn({root:["root",t&&"disabled",n&&"focusVisible"]},BRe,i);return n&&r&&(a.root+=` ${r}`),a},HRe=Qt("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${URe.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),cm=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:s=!1,children:a,className:o,component:l="button",disabled:c=!1,disableRipple:d=!1,disableTouchRipple:f=!1,focusRipple:p=!1,focusVisibleClassName:g,LinkComponent:b="a",onBlur:w,onClick:x,onContextMenu:T,onDragLeave:_,onFocus:C,onFocusVisible:I,onKeyDown:M,onKeyUp:$,onMouseDown:B,onMouseLeave:j,onMouseUp:F,onTouchEnd:V,onTouchMove:ie,onTouchStart:se,tabIndex:me=0,TouchRippleProps:fe,touchRippleRef:le,type:ye,...ae}=r,Se=Y.useRef(null),he=CRe(),re=$i(he.ref,le),[Fe,je]=Y.useState(!1);c&&Fe&&je(!1),Y.useImperativeHandle(i,()=>({focusVisible:()=>{je(!0),Se.current.focus()}}),[]);const ue=he.shouldMount&&!d&&!c;Y.useEffect(()=>{Fe&&p&&!d&&he.pulsate()},[d,p,Fe,he]);function tt(xe,Qe,yt=f){return vu(Be=>(Qe&&Qe(Be),yt||he[xe](Be),!0))}const St=tt("start",B),Ze=tt("stop",T),qt=tt("stop",_),xt=tt("stop",F),Nt=tt("stop",xe=>{Fe&&xe.preventDefault(),j&&j(xe)}),Ht=tt("start",se),Jt=tt("stop",V),Vt=tt("stop",ie),en=tt("stop",xe=>{FO(xe.target)||je(!1),w&&w(xe)},!1),Ct=vu(xe=>{Se.current||(Se.current=xe.currentTarget),FO(xe.target)&&(je(!0),I&&I(xe)),C&&C(xe)}),Xe=()=>{const xe=Se.current;return l&&l!=="button"&&!(xe.tagName==="A"&&xe.href)},Ut=vu(xe=>{p&&!xe.repeat&&Fe&&xe.key===" "&&he.stop(xe,()=>{he.start(xe)}),xe.target===xe.currentTarget&&Xe()&&xe.key===" "&&xe.preventDefault(),M&&M(xe),xe.target===xe.currentTarget&&Xe()&&xe.key==="Enter"&&!c&&(xe.preventDefault(),x&&x(xe))}),sn=vu(xe=>{p&&xe.key===" "&&Fe&&!xe.defaultPrevented&&he.stop(xe,()=>{he.pulsate(xe)}),$&&$(xe),x&&xe.target===xe.currentTarget&&Xe()&&xe.key===" "&&!xe.defaultPrevented&&x(xe)});let te=l;te==="button"&&(ae.href||ae.to)&&(te=b);const de={};te==="button"?(de.type=ye===void 0?"button":ye,de.disabled=c):(!ae.href&&!ae.to&&(de.role="button"),c&&(de["aria-disabled"]=c));const we=$i(n,Se),We={...r,centerRipple:s,component:l,disabled:c,disableRipple:d,disableTouchRipple:f,focusRipple:p,tabIndex:me,focusVisible:Fe},Ke=zRe(We);return U.jsxs(HRe,{as:te,className:cn(Ke.root,o),ownerState:We,onBlur:en,onClick:x,onContextMenu:Ze,onFocus:Ct,onKeyDown:Ut,onKeyUp:sn,onMouseDown:St,onMouseLeave:Nt,onMouseUp:xt,onDragLeave:qt,onTouchEnd:Jt,onTouchMove:Vt,onTouchStart:Ht,ref:we,tabIndex:c?-1:me,type:ye,...de,...ae,children:[a,ue?U.jsx($Re,{ref:re,center:s,...fe}):null]})});function qRe(e){return typeof e.main=="string"}function jRe(e,t=[]){if(!qRe(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function ca(e=[]){return([,t])=>t&&jRe(t,e)}function WRe(e){return Hn("MuiIconButton",e)}const QRe=Yn("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),VRe=e=>{const{classes:t,disabled:n,color:r,edge:i,size:s}=e,a={root:["root",n&&"disabled",r!=="default"&&`color${jt(r)}`,i&&`edge${jt(i)}`,`size${jt(s)}`]};return Vn(a,WRe,t)},GRe=Qt(cm,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${jt(n.color)}`],n.edge&&t[`edge${jt(n.edge)}`],t[`size${jt(n.size)}`]]}})(Bn(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:{disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),Bn(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mr((e.vars||e).palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${QRe.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),Gl=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiIconButton"}),{edge:i=!1,children:s,className:a,color:o="default",disabled:l=!1,disableFocusRipple:c=!1,disableRipple:d=!1,size:f="medium",...p}=r,g={...r,edge:i,color:o,disabled:l,disableFocusRipple:c,disableRipple:d,size:f},b=VRe(g);return U.jsx(GRe,{className:cn(b.root,a),centerRipple:!0,focusRipple:!c,disabled:l,disableRipple:d,ref:n,...p,ownerState:g,children:s})}),YRe=pi(U.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function ZRe(e){return Hn("MuiTypography",e)}const PK=Yn("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),XRe={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},KRe=cRe(),JRe=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:s,classes:a}=e,o={root:["root",s,e.align!=="inherit"&&`align${jt(t)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return Vn(o,ZRe,a)},e5e=Qt("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${jt(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(Bn(({theme:e})=>{var t;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([n,r])=>n!=="inherit"&&r&&typeof r=="object").map(([n,r])=>({props:{variant:n},style:r})),...Object.entries(e.palette).filter(ca()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${jt(n)}`},style:{color:(e.vars||e).palette.text[n]}})),{props:({ownerState:n})=>n.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:n})=>n.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:n})=>n.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:n})=>n.paragraph,style:{marginBottom:16}}]}})),LK={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},fi=Y.forwardRef(function(t,n){const{color:r,...i}=ir({props:t,name:"MuiTypography"}),s=!XRe[r],a=KRe({...i,...s&&{color:r}}),{align:o="inherit",className:l,component:c,gutterBottom:d=!1,noWrap:f=!1,paragraph:p=!1,variant:g="body1",variantMapping:b=LK,...w}=a,x={...a,align:o,color:r,className:l,component:c,gutterBottom:d,noWrap:f,paragraph:p,variant:g,variantMapping:b},T=c||(p?"p":b[g]||LK[g])||"span",_=JRe(x);return U.jsx(e5e,{as:T,ref:n,className:cn(_.root,l),...w,ownerState:x,style:{...o!=="inherit"&&{"--Typography-textAlign":o},...w.style}})});function t5e(e){return Hn("MuiAppBar",e)}Yn("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const n5e=e=>{const{color:t,position:n,classes:r}=e,i={root:["root",`color${jt(t)}`,`position${jt(n)}`]};return Vn(i,t5e,r)},MK=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,r5e=Qt(Ko,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${jt(n.position)}`],t[`color${jt(n.color)}`]]}})(Bn(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter(ca(["contrastText"])).map(([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}})),{props:t=>t.enableColorOnDark===!0&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:t=>t.enableColorOnDark===!1&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?MK(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?MK(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),Dz=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiAppBar"}),{className:i,color:s="primary",enableColorOnDark:a=!1,position:o="fixed",...l}=r,c={...r,color:s,position:o,enableColorOnDark:a},d=n5e(c);return U.jsx(r5e,{square:!0,component:"header",ownerState:c,elevation:4,className:cn(d.root,i,o==="fixed"&&"mui-fixed"),ref:n,...l})});function FK(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function i5e(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:i="any",stringify:s,trim:a=!1}=e;return(o,{inputValue:l,getOptionLabel:c})=>{let d=a?l.trim():l;n&&(d=d.toLowerCase()),t&&(d=FK(d));const f=d?o.filter(p=>{let g=(s||c)(p);return n&&(g=g.toLowerCase()),t&&(g=FK(g)),i==="start"?g.startsWith(d):g.includes(d)}):o;return typeof r=="number"?f.slice(0,r):f}}const s5e=i5e(),$K=5,a5e=e=>{var t;return e.current!==null&&((t=e.current.parentElement)==null?void 0:t.contains(document.activeElement))},o5e=[];function l5e(e){const{unstable_isActiveElementInListbox:t=a5e,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:i=!1,autoSelect:s=!1,blurOnSelect:a=!1,clearOnBlur:o=!e.freeSolo,clearOnEscape:l=!1,componentName:c="useAutocomplete",defaultValue:d=e.multiple?o5e:null,disableClearable:f=!1,disableCloseOnSelect:p=!1,disabled:g,disabledItemsFocusable:b=!1,disableListWrap:w=!1,filterOptions:x=s5e,filterSelectedOptions:T=!1,freeSolo:_=!1,getOptionDisabled:C,getOptionKey:I,getOptionLabel:M=ot=>ot.label??ot,groupBy:$,handleHomeEndKeys:B=!e.freeSolo,id:j,includeInputInList:F=!1,inputValue:V,isOptionEqualToValue:ie=(ot,Je)=>ot===Je,multiple:se=!1,onChange:me,onClose:fe,onHighlightChange:le,onInputChange:ye,onOpen:ae,open:Se,openOnFocus:he=!1,options:re,readOnly:Fe=!1,selectOnFocus:je=!e.freeSolo,value:ue}=e,tt=x_(j);let St=M;St=ot=>{const Je=M(ot);return typeof Je!="string"?String(Je):Je};const Ze=Y.useRef(!1),qt=Y.useRef(!0),xt=Y.useRef(null),Nt=Y.useRef(null),[Ht,Jt]=Y.useState(null),[Vt,en]=Y.useState(-1),Ct=i?0:-1,Xe=Y.useRef(Ct),[Ut,sn]=X0({controlled:ue,default:d,name:c}),[te,de]=X0({controlled:V,default:"",name:c,state:"inputValue"}),[we,We]=Y.useState(!1),Ke=Y.useCallback((ot,Je,ft)=>{if(!(se?Ut.length!(T&&(se?Ut:[Ut]).some(Je=>Je!==null&&ie(ot,Je)))),{inputValue:Ne&&yt?"":te,getOptionLabel:St}):[],Dt=L4e({filteredOptions:pt,value:Ut,inputValue:te});Y.useEffect(()=>{const ot=Ut!==Dt.value;we&&!ot||_&&!ot||Ke(null,Ut,"reset")},[Ut,Ke,we,Dt.value,_]);const Gt=xe&&pt.length>0&&!Fe,Pn=vu(ot=>{ot===-1?xt.current.focus():Ht.querySelector(`[data-tag-index="${ot}"]`).focus()});Y.useEffect(()=>{se&&Vt>Ut.length-1&&(en(-1),Pn(-1))},[Ut,se,Vt,Pn]);function Fn(ot,Je){if(!Nt.current||ot<0||ot>=pt.length)return-1;let ft=ot;for(;;){const Mt=Nt.current.querySelector(`[data-option-index="${ft}"]`),Yt=b?!1:!Mt||Mt.disabled||Mt.getAttribute("aria-disabled")==="true";if(Mt&&Mt.hasAttribute("tabindex")&&!Yt)return ft;if(Je==="next"?ft=(ft+1)%pt.length:ft=(ft-1+pt.length)%pt.length,ft===ot)return-1}}const kt=vu(({event:ot,index:Je,reason:ft="auto"})=>{if(Xe.current=Je,Je===-1?xt.current.removeAttribute("aria-activedescendant"):xt.current.setAttribute("aria-activedescendant",`${tt}-option-${Je}`),le&&le(ot,Je===-1?null:pt[Je],ft),!Nt.current)return;const Mt=Nt.current.querySelector(`[role="option"].${n}-focused`);Mt&&(Mt.classList.remove(`${n}-focused`),Mt.classList.remove(`${n}-focusVisible`));let Yt=Nt.current;if(Nt.current.getAttribute("role")!=="listbox"&&(Yt=Nt.current.parentElement.querySelector('[role="listbox"]')),!Yt)return;if(Je===-1){Yt.scrollTop=0;return}const Nn=Nt.current.querySelector(`[data-option-index="${Je}"]`);if(Nn&&(Nn.classList.add(`${n}-focused`),ft==="keyboard"&&Nn.classList.add(`${n}-focusVisible`),Yt.scrollHeight>Yt.clientHeight&&ft!=="mouse"&&ft!=="touch")){const Ce=Nn,_t=Yt.clientHeight+Yt.scrollTop,Ue=Ce.offsetTop+Ce.offsetHeight;Ue>_t?Yt.scrollTop=Ue-Yt.clientHeight:Ce.offsetTop-Ce.offsetHeight*($?1.3:0){if(!rt)return;const Nn=Fn((()=>{const Ce=pt.length-1;if(Je==="reset")return Ct;if(Je==="start")return 0;if(Je==="end")return Ce;const _t=Xe.current+Je;return _t<0?_t===-1&&F?-1:w&&Xe.current!==-1||Math.abs(Je)>1?0:Ce:_t>Ce?_t===Ce+1&&F?-1:w||Math.abs(Je)>1?Ce:0:_t})(),ft);if(kt({index:Nn,reason:Mt,event:ot}),r&&Je!=="reset")if(Nn===-1)xt.current.value=te;else{const Ce=St(pt[Nn]);xt.current.value=Ce,Ce.toLowerCase().indexOf(te.toLowerCase())===0&&te.length>0&&xt.current.setSelectionRange(te.length,Ce.length)}}),fn=()=>{const ot=(Je,ft)=>{const Mt=Je?St(Je):"",Yt=ft?St(ft):"";return Mt===Yt};if(Xe.current!==-1&&Dt.filteredOptions&&Dt.filteredOptions.length!==pt.length&&Dt.inputValue===te&&(se?Ut.length===Dt.value.length&&Dt.value.every((Je,ft)=>St(Ut[ft])===St(Je)):ot(Dt.value,Ut))){const Je=Dt.filteredOptions[Xe.current];if(Je)return pt.findIndex(ft=>St(ft)===St(Je))}return-1},Rn=Y.useCallback(()=>{if(!rt)return;const ot=fn();if(ot!==-1){Xe.current=ot;return}const Je=se?Ut[0]:Ut;if(pt.length===0||Je==null){ct({diff:"reset"});return}if(Nt.current){if(Je!=null){const ft=pt[Xe.current];if(se&&ft&&Ut.findIndex(Yt=>ie(ft,Yt))!==-1)return;const Mt=pt.findIndex(Yt=>ie(Yt,Je));Mt===-1?ct({diff:"reset"}):kt({index:Mt});return}if(Xe.current>=pt.length-1){kt({index:pt.length-1});return}kt({index:Xe.current})}},[pt.length,se?!1:Ut,T,ct,kt,rt,te,se]),Sr=vu(ot=>{JR(Nt,ot),ot&&Rn()});Y.useEffect(()=>{Rn()},[Rn]);const ai=ot=>{xe||(Qe(!0),Be(!0),ae&&ae(ot))},sr=(ot,Je)=>{xe&&(Qe(!1),fe&&fe(ot,Je))},oi=(ot,Je,ft,Mt)=>{if(se){if(Ut.length===Je.length&&Ut.every((Yt,Nn)=>Yt===Je[Nn]))return}else if(Ut===Je)return;me&&me(ot,Je,ft,Mt),sn(Je)},xr=Y.useRef(!1),Ir=(ot,Je,ft="selectOption",Mt="options")=>{let Yt=ft,Nn=Je;if(se){Nn=Array.isArray(Ut)?Ut.slice():[];const Ce=Nn.findIndex(_t=>ie(Je,_t));Ce===-1?Nn.push(Je):Mt!=="freeSolo"&&(Nn.splice(Ce,1),Yt="removeOption")}Ke(ot,Nn,Yt),oi(ot,Nn,Yt,{option:Je}),!p&&(!ot||!ot.ctrlKey&&!ot.metaKey)&&sr(ot,Yt),(a===!0||a==="touch"&&xr.current||a==="mouse"&&!xr.current)&&xt.current.blur()};function $r(ot,Je){if(ot===-1)return-1;let ft=ot;for(;;){if(Je==="next"&&ft===Ut.length||Je==="previous"&&ft===-1)return-1;const Mt=Ht.querySelector(`[data-tag-index="${ft}"]`);if(!Mt||!Mt.hasAttribute("tabindex")||Mt.disabled||Mt.getAttribute("aria-disabled")==="true")ft+=Je==="next"?1:-1;else return ft}}const _r=(ot,Je)=>{if(!se)return;te===""&&sr(ot,"toggleInput");let ft=Vt;Vt===-1?te===""&&Je==="previous"&&(ft=Ut.length-1):(ft+=Je==="next"?1:-1,ft<0&&(ft=0),ft===Ut.length&&(ft=-1)),ft=$r(ft,Je),en(ft),Pn(ft)},Qr=ot=>{Ze.current=!0,de(""),ye&&ye(ot,"","clear"),oi(ot,se?[]:null,"clear")},jn=ot=>Je=>{if(ot.onKeyDown&&ot.onKeyDown(Je),!Je.defaultMuiPrevented&&(Vt!==-1&&!["ArrowLeft","ArrowRight"].includes(Je.key)&&(en(-1),Pn(-1)),Je.which!==229))switch(Je.key){case"Home":rt&&B&&(Je.preventDefault(),ct({diff:"start",direction:"next",reason:"keyboard",event:Je}));break;case"End":rt&&B&&(Je.preventDefault(),ct({diff:"end",direction:"previous",reason:"keyboard",event:Je}));break;case"PageUp":Je.preventDefault(),ct({diff:-$K,direction:"previous",reason:"keyboard",event:Je}),ai(Je);break;case"PageDown":Je.preventDefault(),ct({diff:$K,direction:"next",reason:"keyboard",event:Je}),ai(Je);break;case"ArrowDown":Je.preventDefault(),ct({diff:1,direction:"next",reason:"keyboard",event:Je}),ai(Je);break;case"ArrowUp":Je.preventDefault(),ct({diff:-1,direction:"previous",reason:"keyboard",event:Je}),ai(Je);break;case"ArrowLeft":_r(Je,"previous");break;case"ArrowRight":_r(Je,"next");break;case"Enter":if(Xe.current!==-1&&rt){const ft=pt[Xe.current],Mt=C?C(ft):!1;if(Je.preventDefault(),Mt)return;Ir(Je,ft,"selectOption"),r&&xt.current.setSelectionRange(xt.current.value.length,xt.current.value.length)}else _&&te!==""&&Ne===!1&&(se&&Je.preventDefault(),Ir(Je,te,"createOption","freeSolo"));break;case"Escape":rt?(Je.preventDefault(),Je.stopPropagation(),sr(Je,"escape")):l&&(te!==""||se&&Ut.length>0)&&(Je.preventDefault(),Je.stopPropagation(),Qr(Je));break;case"Backspace":if(se&&!Fe&&te===""&&Ut.length>0){const ft=Vt===-1?Ut.length-1:Vt,Mt=Ut.slice();Mt.splice(ft,1),oi(Je,Mt,"removeOption",{option:Ut[ft]})}break;case"Delete":if(se&&!Fe&&te===""&&Ut.length>0&&Vt!==-1){const ft=Vt,Mt=Ut.slice();Mt.splice(ft,1),oi(Je,Mt,"removeOption",{option:Ut[ft]})}break}},wi=ot=>{We(!0),he&&!Ze.current&&ai(ot)},wa=ot=>{if(t(Nt)){xt.current.focus();return}We(!1),qt.current=!0,Ze.current=!1,s&&Xe.current!==-1&&rt?Ir(ot,pt[Xe.current],"blur"):s&&_&&te!==""?Ir(ot,te,"blur","freeSolo"):o&&Ke(ot,Ut,"blur"),sr(ot,"blur")},is=ot=>{const Je=ot.target.value;te!==Je&&(de(Je),Be(!1),ye&&ye(ot,Je,"input")),Je===""?!f&&!se&&oi(ot,null,"clear"):ai(ot)},ss=ot=>{const Je=Number(ot.currentTarget.getAttribute("data-option-index"));Xe.current!==Je&&kt({event:ot,index:Je,reason:"mouse"})},Rs=ot=>{kt({event:ot,index:Number(ot.currentTarget.getAttribute("data-option-index")),reason:"touch"}),xr.current=!0},at=ot=>{const Je=Number(ot.currentTarget.getAttribute("data-option-index"));Ir(ot,pt[Je],"selectOption"),xr.current=!1},z=ot=>Je=>{const ft=Ut.slice();ft.splice(ot,1),oi(Je,ft,"removeOption",{option:Ut[ot]})},L=ot=>{xe?sr(ot,"toggleInput"):ai(ot)},ve=ot=>{ot.currentTarget.contains(ot.target)&&ot.target.getAttribute("id")!==tt&&ot.preventDefault()},X=ot=>{ot.currentTarget.contains(ot.target)&&(xt.current.focus(),je&&qt.current&&xt.current.selectionEnd-xt.current.selectionStart===0&&xt.current.select(),qt.current=!1)},be=ot=>{!g&&(te===""||!xe)&&L(ot)};let Rt=_&&te.length>0;Rt=Rt||(se?Ut.length>0:Ut!==null);let At=pt;return $&&(At=pt.reduce((ot,Je,ft)=>{const Mt=$(Je);return ot.length>0&&ot[ot.length-1].group===Mt?ot[ot.length-1].options.push(Je):ot.push({key:ft,index:ft,group:Mt,options:[Je]}),ot},[])),g&&we&&wa(),{getRootProps:(ot={})=>({"aria-owns":Gt?`${tt}-listbox`:null,...ot,onKeyDown:jn(ot),onMouseDown:ve,onClick:X}),getInputLabelProps:()=>({id:`${tt}-label`,htmlFor:tt}),getInputProps:()=>({id:tt,value:te,onBlur:wa,onFocus:wi,onChange:is,onMouseDown:be,"aria-activedescendant":rt?"":null,"aria-autocomplete":r?"both":"list","aria-controls":Gt?`${tt}-listbox`:void 0,"aria-expanded":Gt,autoComplete:"off",ref:xt,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:g}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Qr}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:L}),getTagProps:({index:ot})=>({key:ot,"data-tag-index":ot,tabIndex:-1,...!Fe&&{onDelete:z(ot)}}),getListboxProps:()=>({role:"listbox",id:`${tt}-listbox`,"aria-labelledby":`${tt}-label`,ref:Sr,onMouseDown:ot=>{ot.preventDefault()}}),getOptionProps:({index:ot,option:Je})=>{const ft=(se?Ut:[Ut]).some(Yt=>Yt!=null&&ie(Je,Yt)),Mt=C?C(Je):!1;return{key:(I==null?void 0:I(Je))??St(Je),tabIndex:-1,role:"option",id:`${tt}-option-${ot}`,onMouseMove:ss,onClick:at,onTouchStart:Rs,"data-option-index":ot,"aria-disabled":Mt,"aria-selected":ft}},id:tt,inputValue:te,value:Ut,dirty:Rt,expanded:rt&&Ht,popupOpen:rt,focused:we||Vt!==-1,anchorEl:Ht,setAnchorEl:Jt,focusedTag:Vt,groupedOptions:At}}var sc="top",ff="bottom",hf="right",ac="left",Nz="auto",k_=[sc,ff,hf,ac],BO="start",hk="end",u5e="clippingParents",Uce="viewport",ew="popper",c5e="reference",BK=k_.reduce(function(e,t){return e.concat([t+"-"+BO,t+"-"+hk])},[]),zce=[].concat(k_,[Nz]).reduce(function(e,t){return e.concat([t,t+"-"+BO,t+"-"+hk])},[]),d5e="beforeRead",f5e="read",h5e="afterRead",p5e="beforeMain",m5e="main",g5e="afterMain",b5e="beforeWrite",y5e="write",v5e="afterWrite",S5e=[d5e,f5e,h5e,p5e,m5e,g5e,b5e,y5e,v5e];function Tp(e){return e?(e.nodeName||"").toLowerCase():null}function cd(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ay(e){var t=cd(e).Element;return e instanceof t||e instanceof Element}function sf(e){var t=cd(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Pz(e){if(typeof ShadowRoot>"u")return!1;var t=cd(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function O5e(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},s=t.elements[n];!sf(s)||!Tp(s)||(Object.assign(s.style,r),Object.keys(i).forEach(function(a){var o=i[a];o===!1?s.removeAttribute(a):s.setAttribute(a,o===!0?"":o)}))})}function E5e(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],s=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),o=a.reduce(function(l,c){return l[c]="",l},{});!sf(i)||!Tp(i)||(Object.assign(i.style,o),Object.keys(s).forEach(function(l){i.removeAttribute(l)}))})}}const w5e={name:"applyStyles",enabled:!0,phase:"write",fn:O5e,effect:E5e,requires:["computeStyles"]};function Op(e){return e.split("-")[0]}var Hb=Math.max,n5=Math.min,UO=Math.round;function yM(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Hce(){return!/^((?!chrome|android).)*safari/i.test(yM())}function zO(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,s=1;t&&sf(e)&&(i=e.offsetWidth>0&&UO(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&UO(r.height)/e.offsetHeight||1);var a=ay(e)?cd(e):window,o=a.visualViewport,l=!Hce()&&n,c=(r.left+(l&&o?o.offsetLeft:0))/i,d=(r.top+(l&&o?o.offsetTop:0))/s,f=r.width/i,p=r.height/s;return{width:f,height:p,top:d,right:c+f,bottom:d+p,left:c,x:c,y:d}}function Lz(e){var t=zO(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function qce(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Pz(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function dm(e){return cd(e).getComputedStyle(e)}function x5e(e){return["table","td","th"].indexOf(Tp(e))>=0}function O1(e){return((ay(e)?e.ownerDocument:e.document)||window.document).documentElement}function H6(e){return Tp(e)==="html"?e:e.assignedSlot||e.parentNode||(Pz(e)?e.host:null)||O1(e)}function UK(e){return!sf(e)||dm(e).position==="fixed"?null:e.offsetParent}function T5e(e){var t=/firefox/i.test(yM()),n=/Trident/i.test(yM());if(n&&sf(e)){var r=dm(e);if(r.position==="fixed")return null}var i=H6(e);for(Pz(i)&&(i=i.host);sf(i)&&["html","body"].indexOf(Tp(i))<0;){var s=dm(i);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return i;i=i.parentNode}return null}function __(e){for(var t=cd(e),n=UK(e);n&&x5e(n)&&dm(n).position==="static";)n=UK(n);return n&&(Tp(n)==="html"||Tp(n)==="body"&&dm(n).position==="static")?t:n||T5e(e)||t}function Mz(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function pT(e,t,n){return Hb(e,n5(t,n))}function k5e(e,t,n){var r=pT(e,t,n);return r>n?n:r}function jce(){return{top:0,right:0,bottom:0,left:0}}function Wce(e){return Object.assign({},jce(),e)}function Qce(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var _5e=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Wce(typeof t!="number"?t:Qce(t,k_))};function A5e(e){var t,n=e.state,r=e.name,i=e.options,s=n.elements.arrow,a=n.modifiersData.popperOffsets,o=Op(n.placement),l=Mz(o),c=[ac,hf].indexOf(o)>=0,d=c?"height":"width";if(!(!s||!a)){var f=_5e(i.padding,n),p=Lz(s),g=l==="y"?sc:ac,b=l==="y"?ff:hf,w=n.rects.reference[d]+n.rects.reference[l]-a[l]-n.rects.popper[d],x=a[l]-n.rects.reference[l],T=__(s),_=T?l==="y"?T.clientHeight||0:T.clientWidth||0:0,C=w/2-x/2,I=f[g],M=_-p[d]-f[b],$=_/2-p[d]/2+C,B=pT(I,$,M),j=l;n.modifiersData[r]=(t={},t[j]=B,t.centerOffset=B-$,t)}}function C5e(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||qce(t.elements.popper,i)&&(t.elements.arrow=i))}const R5e={name:"arrow",enabled:!0,phase:"main",fn:A5e,effect:C5e,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function HO(e){return e.split("-")[1]}var I5e={top:"auto",right:"auto",bottom:"auto",left:"auto"};function D5e(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:UO(n*i)/i||0,y:UO(r*i)/i||0}}function zK(e){var t,n=e.popper,r=e.popperRect,i=e.placement,s=e.variation,a=e.offsets,o=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,f=e.isFixed,p=a.x,g=p===void 0?0:p,b=a.y,w=b===void 0?0:b,x=typeof d=="function"?d({x:g,y:w}):{x:g,y:w};g=x.x,w=x.y;var T=a.hasOwnProperty("x"),_=a.hasOwnProperty("y"),C=ac,I=sc,M=window;if(c){var $=__(n),B="clientHeight",j="clientWidth";if($===cd(n)&&($=O1(n),dm($).position!=="static"&&o==="absolute"&&(B="scrollHeight",j="scrollWidth")),$=$,i===sc||(i===ac||i===hf)&&s===hk){I=ff;var F=f&&$===M&&M.visualViewport?M.visualViewport.height:$[B];w-=F-r.height,w*=l?1:-1}if(i===ac||(i===sc||i===ff)&&s===hk){C=hf;var V=f&&$===M&&M.visualViewport?M.visualViewport.width:$[j];g-=V-r.width,g*=l?1:-1}}var ie=Object.assign({position:o},c&&I5e),se=d===!0?D5e({x:g,y:w},cd(n)):{x:g,y:w};if(g=se.x,w=se.y,l){var me;return Object.assign({},ie,(me={},me[I]=_?"0":"",me[C]=T?"0":"",me.transform=(M.devicePixelRatio||1)<=1?"translate("+g+"px, "+w+"px)":"translate3d("+g+"px, "+w+"px, 0)",me))}return Object.assign({},ie,(t={},t[I]=_?w+"px":"",t[C]=T?g+"px":"",t.transform="",t))}function N5e(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,s=n.adaptive,a=s===void 0?!0:s,o=n.roundOffsets,l=o===void 0?!0:o,c={placement:Op(t.placement),variation:HO(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,zK(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,zK(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const P5e={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:N5e,data:{}};var t4={passive:!0};function L5e(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,s=i===void 0?!0:i,a=r.resize,o=a===void 0?!0:a,l=cd(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&c.forEach(function(d){d.addEventListener("scroll",n.update,t4)}),o&&l.addEventListener("resize",n.update,t4),function(){s&&c.forEach(function(d){d.removeEventListener("scroll",n.update,t4)}),o&&l.removeEventListener("resize",n.update,t4)}}const M5e={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:L5e,data:{}};var F5e={left:"right",right:"left",bottom:"top",top:"bottom"};function F3(e){return e.replace(/left|right|bottom|top/g,function(t){return F5e[t]})}var $5e={start:"end",end:"start"};function HK(e){return e.replace(/start|end/g,function(t){return $5e[t]})}function Fz(e){var t=cd(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function $z(e){return zO(O1(e)).left+Fz(e).scrollLeft}function B5e(e,t){var n=cd(e),r=O1(e),i=n.visualViewport,s=r.clientWidth,a=r.clientHeight,o=0,l=0;if(i){s=i.width,a=i.height;var c=Hce();(c||!c&&t==="fixed")&&(o=i.offsetLeft,l=i.offsetTop)}return{width:s,height:a,x:o+$z(e),y:l}}function U5e(e){var t,n=O1(e),r=Fz(e),i=(t=e.ownerDocument)==null?void 0:t.body,s=Hb(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Hb(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),o=-r.scrollLeft+$z(e),l=-r.scrollTop;return dm(i||n).direction==="rtl"&&(o+=Hb(n.clientWidth,i?i.clientWidth:0)-s),{width:s,height:a,x:o,y:l}}function Bz(e){var t=dm(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Vce(e){return["html","body","#document"].indexOf(Tp(e))>=0?e.ownerDocument.body:sf(e)&&Bz(e)?e:Vce(H6(e))}function mT(e,t){var n;t===void 0&&(t=[]);var r=Vce(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),s=cd(r),a=i?[s].concat(s.visualViewport||[],Bz(r)?r:[]):r,o=t.concat(a);return i?o:o.concat(mT(H6(a)))}function vM(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function z5e(e,t){var n=zO(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function qK(e,t,n){return t===Uce?vM(B5e(e,n)):ay(t)?z5e(t,n):vM(U5e(O1(e)))}function H5e(e){var t=mT(H6(e)),n=["absolute","fixed"].indexOf(dm(e).position)>=0,r=n&&sf(e)?__(e):e;return ay(r)?t.filter(function(i){return ay(i)&&qce(i,r)&&Tp(i)!=="body"}):[]}function q5e(e,t,n,r){var i=t==="clippingParents"?H5e(e):[].concat(t),s=[].concat(i,[n]),a=s[0],o=s.reduce(function(l,c){var d=qK(e,c,r);return l.top=Hb(d.top,l.top),l.right=n5(d.right,l.right),l.bottom=n5(d.bottom,l.bottom),l.left=Hb(d.left,l.left),l},qK(e,a,r));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function Gce(e){var t=e.reference,n=e.element,r=e.placement,i=r?Op(r):null,s=r?HO(r):null,a=t.x+t.width/2-n.width/2,o=t.y+t.height/2-n.height/2,l;switch(i){case sc:l={x:a,y:t.y-n.height};break;case ff:l={x:a,y:t.y+t.height};break;case hf:l={x:t.x+t.width,y:o};break;case ac:l={x:t.x-n.width,y:o};break;default:l={x:t.x,y:t.y}}var c=i?Mz(i):null;if(c!=null){var d=c==="y"?"height":"width";switch(s){case BO:l[c]=l[c]-(t[d]/2-n[d]/2);break;case hk:l[c]=l[c]+(t[d]/2-n[d]/2);break}}return l}function pk(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,s=n.strategy,a=s===void 0?e.strategy:s,o=n.boundary,l=o===void 0?u5e:o,c=n.rootBoundary,d=c===void 0?Uce:c,f=n.elementContext,p=f===void 0?ew:f,g=n.altBoundary,b=g===void 0?!1:g,w=n.padding,x=w===void 0?0:w,T=Wce(typeof x!="number"?x:Qce(x,k_)),_=p===ew?c5e:ew,C=e.rects.popper,I=e.elements[b?_:p],M=q5e(ay(I)?I:I.contextElement||O1(e.elements.popper),l,d,a),$=zO(e.elements.reference),B=Gce({reference:$,element:C,strategy:"absolute",placement:i}),j=vM(Object.assign({},C,B)),F=p===ew?j:$,V={top:M.top-F.top+T.top,bottom:F.bottom-M.bottom+T.bottom,left:M.left-F.left+T.left,right:F.right-M.right+T.right},ie=e.modifiersData.offset;if(p===ew&&ie){var se=ie[i];Object.keys(V).forEach(function(me){var fe=[hf,ff].indexOf(me)>=0?1:-1,le=[sc,ff].indexOf(me)>=0?"y":"x";V[me]+=se[le]*fe})}return V}function j5e(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,s=n.rootBoundary,a=n.padding,o=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?zce:l,d=HO(r),f=d?o?BK:BK.filter(function(b){return HO(b)===d}):k_,p=f.filter(function(b){return c.indexOf(b)>=0});p.length===0&&(p=f);var g=p.reduce(function(b,w){return b[w]=pk(e,{placement:w,boundary:i,rootBoundary:s,padding:a})[Op(w)],b},{});return Object.keys(g).sort(function(b,w){return g[b]-g[w]})}function W5e(e){if(Op(e)===Nz)return[];var t=F3(e);return[HK(e),t,HK(t)]}function Q5e(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,s=i===void 0?!0:i,a=n.altAxis,o=a===void 0?!0:a,l=n.fallbackPlacements,c=n.padding,d=n.boundary,f=n.rootBoundary,p=n.altBoundary,g=n.flipVariations,b=g===void 0?!0:g,w=n.allowedAutoPlacements,x=t.options.placement,T=Op(x),_=T===x,C=l||(_||!b?[F3(x)]:W5e(x)),I=[x].concat(C).reduce(function(tt,St){return tt.concat(Op(St)===Nz?j5e(t,{placement:St,boundary:d,rootBoundary:f,padding:c,flipVariations:b,allowedAutoPlacements:w}):St)},[]),M=t.rects.reference,$=t.rects.popper,B=new Map,j=!0,F=I[0],V=0;V=0,le=fe?"width":"height",ye=pk(t,{placement:ie,boundary:d,rootBoundary:f,altBoundary:p,padding:c}),ae=fe?me?hf:ac:me?ff:sc;M[le]>$[le]&&(ae=F3(ae));var Se=F3(ae),he=[];if(s&&he.push(ye[se]<=0),o&&he.push(ye[ae]<=0,ye[Se]<=0),he.every(function(tt){return tt})){F=ie,j=!1;break}B.set(ie,he)}if(j)for(var re=b?3:1,Fe=function(St){var Ze=I.find(function(qt){var xt=B.get(qt);if(xt)return xt.slice(0,St).every(function(Nt){return Nt})});if(Ze)return F=Ze,"break"},je=re;je>0;je--){var ue=Fe(je);if(ue==="break")break}t.placement!==F&&(t.modifiersData[r]._skip=!0,t.placement=F,t.reset=!0)}}const V5e={name:"flip",enabled:!0,phase:"main",fn:Q5e,requiresIfExists:["offset"],data:{_skip:!1}};function jK(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function WK(e){return[sc,hf,ff,ac].some(function(t){return e[t]>=0})}function G5e(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,s=t.modifiersData.preventOverflow,a=pk(t,{elementContext:"reference"}),o=pk(t,{altBoundary:!0}),l=jK(a,r),c=jK(o,i,s),d=WK(l),f=WK(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}const Y5e={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:G5e};function Z5e(e,t,n){var r=Op(e),i=[ac,sc].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=s[0],o=s[1];return a=a||0,o=(o||0)*i,[ac,hf].indexOf(r)>=0?{x:o,y:a}:{x:a,y:o}}function X5e(e){var t=e.state,n=e.options,r=e.name,i=n.offset,s=i===void 0?[0,0]:i,a=zce.reduce(function(d,f){return d[f]=Z5e(f,t.rects,s),d},{}),o=a[t.placement],l=o.x,c=o.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}const K5e={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:X5e};function J5e(e){var t=e.state,n=e.name;t.modifiersData[n]=Gce({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const eIe={name:"popperOffsets",enabled:!0,phase:"read",fn:J5e,data:{}};function tIe(e){return e==="x"?"y":"x"}function nIe(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,s=i===void 0?!0:i,a=n.altAxis,o=a===void 0?!1:a,l=n.boundary,c=n.rootBoundary,d=n.altBoundary,f=n.padding,p=n.tether,g=p===void 0?!0:p,b=n.tetherOffset,w=b===void 0?0:b,x=pk(t,{boundary:l,rootBoundary:c,padding:f,altBoundary:d}),T=Op(t.placement),_=HO(t.placement),C=!_,I=Mz(T),M=tIe(I),$=t.modifiersData.popperOffsets,B=t.rects.reference,j=t.rects.popper,F=typeof w=="function"?w(Object.assign({},t.rects,{placement:t.placement})):w,V=typeof F=="number"?{mainAxis:F,altAxis:F}:Object.assign({mainAxis:0,altAxis:0},F),ie=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,se={x:0,y:0};if($){if(s){var me,fe=I==="y"?sc:ac,le=I==="y"?ff:hf,ye=I==="y"?"height":"width",ae=$[I],Se=ae+x[fe],he=ae-x[le],re=g?-j[ye]/2:0,Fe=_===BO?B[ye]:j[ye],je=_===BO?-j[ye]:-B[ye],ue=t.elements.arrow,tt=g&&ue?Lz(ue):{width:0,height:0},St=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:jce(),Ze=St[fe],qt=St[le],xt=pT(0,B[ye],tt[ye]),Nt=C?B[ye]/2-re-xt-Ze-V.mainAxis:Fe-xt-Ze-V.mainAxis,Ht=C?-B[ye]/2+re+xt+qt+V.mainAxis:je+xt+qt+V.mainAxis,Jt=t.elements.arrow&&__(t.elements.arrow),Vt=Jt?I==="y"?Jt.clientTop||0:Jt.clientLeft||0:0,en=(me=ie==null?void 0:ie[I])!=null?me:0,Ct=ae+Nt-en-Vt,Xe=ae+Ht-en,Ut=pT(g?n5(Se,Ct):Se,ae,g?Hb(he,Xe):he);$[I]=Ut,se[I]=Ut-ae}if(o){var sn,te=I==="x"?sc:ac,de=I==="x"?ff:hf,we=$[M],We=M==="y"?"height":"width",Ke=we+x[te],xe=we-x[de],Qe=[sc,ac].indexOf(T)!==-1,yt=(sn=ie==null?void 0:ie[M])!=null?sn:0,Be=Qe?Ke:we-B[We]-j[We]-yt+V.altAxis,Ne=Qe?we+B[We]+j[We]-yt-V.altAxis:xe,rt=g&&Qe?k5e(Be,we,Ne):pT(g?Be:Ke,we,g?Ne:xe);$[M]=rt,se[M]=rt-we}t.modifiersData[r]=se}}const rIe={name:"preventOverflow",enabled:!0,phase:"main",fn:nIe,requiresIfExists:["offset"]};function iIe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function sIe(e){return e===cd(e)||!sf(e)?Fz(e):iIe(e)}function aIe(e){var t=e.getBoundingClientRect(),n=UO(t.width)/e.offsetWidth||1,r=UO(t.height)/e.offsetHeight||1;return n!==1||r!==1}function oIe(e,t,n){n===void 0&&(n=!1);var r=sf(t),i=sf(t)&&aIe(t),s=O1(t),a=zO(e,i,n),o={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Tp(t)!=="body"||Bz(s))&&(o=sIe(t)),sf(t)?(l=zO(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):s&&(l.x=$z(s))),{x:a.left+o.scrollLeft-l.x,y:a.top+o.scrollTop-l.y,width:a.width,height:a.height}}function lIe(e){var t=new Map,n=new Set,r=[];e.forEach(function(s){t.set(s.name,s)});function i(s){n.add(s.name);var a=[].concat(s.requires||[],s.requiresIfExists||[]);a.forEach(function(o){if(!n.has(o)){var l=t.get(o);l&&i(l)}}),r.push(s)}return e.forEach(function(s){n.has(s.name)||i(s)}),r}function uIe(e){var t=lIe(e);return S5e.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function cIe(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function dIe(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var QK={placement:"bottom",modifiers:[],strategy:"absolute"};function VK(){for(var e=arguments.length,t=new Array(e),n=0;n{s||o(mIe(i)||document.body)},[i,s]),ud(()=>{if(a&&!s)return JR(n,a),()=>{JR(n,null)}},[n,a,s]),s){if(Y.isValidElement(r)){const c={ref:l};return Y.cloneElement(r,c)}return U.jsx(Y.Fragment,{children:r})}return U.jsx(Y.Fragment,{children:a&&yE.createPortal(r,a)})});function gIe(e){return Hn("MuiPopper",e)}Yn("MuiPopper",["root"]);function bIe(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function SM(e){return typeof e=="function"?e():e}function yIe(e){return e.nodeType!==void 0}const vIe=e=>{const{classes:t}=e;return Vn({root:["root"]},gIe,t)},SIe={},OIe=Y.forwardRef(function(t,n){const{anchorEl:r,children:i,direction:s,disablePortal:a,modifiers:o,open:l,placement:c,popperOptions:d,popperRef:f,slotProps:p={},slots:g={},TransitionProps:b,ownerState:w,...x}=t,T=Y.useRef(null),_=$i(T,n),C=Y.useRef(null),I=$i(C,f),M=Y.useRef(I);ud(()=>{M.current=I},[I]),Y.useImperativeHandle(f,()=>C.current,[]);const $=bIe(c,s),[B,j]=Y.useState($),[F,V]=Y.useState(SM(r));Y.useEffect(()=>{C.current&&C.current.forceUpdate()}),Y.useEffect(()=>{r&&V(SM(r))},[r]),ud(()=>{if(!F||!l)return;const le=Se=>{j(Se.placement)};let ye=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:Se})=>{le(Se)}}];o!=null&&(ye=ye.concat(o)),d&&d.modifiers!=null&&(ye=ye.concat(d.modifiers));const ae=pIe(F,T.current,{placement:$,...d,modifiers:ye});return M.current(ae),()=>{ae.destroy(),M.current(null)}},[F,a,o,l,d,$]);const ie={placement:B};b!==null&&(ie.TransitionProps=b);const se=vIe(t),me=g.root??"div",fe=Qf({elementType:me,externalSlotProps:p.root,externalForwardedProps:x,additionalProps:{role:"tooltip",ref:_},ownerState:t,className:se.root});return U.jsx(me,{...fe,children:typeof i=="function"?i(ie):i})}),EIe=Y.forwardRef(function(t,n){const{anchorEl:r,children:i,container:s,direction:a="ltr",disablePortal:o=!1,keepMounted:l=!1,modifiers:c,open:d,placement:f="bottom",popperOptions:p=SIe,popperRef:g,style:b,transition:w=!1,slotProps:x={},slots:T={},..._}=t,[C,I]=Y.useState(!0),M=()=>{I(!1)},$=()=>{I(!0)};if(!l&&!d&&(!w||C))return null;let B;if(s)B=s;else if(r){const V=SM(r);B=V&&yIe(V)?Io(V).body:Io(null).body}const j=!d&&l&&(!w||C)?"none":void 0,F=w?{in:d,onEnter:M,onExited:$}:void 0;return U.jsx(Yce,{disablePortal:o,container:B,children:U.jsx(OIe,{anchorEl:r,direction:a,disablePortal:o,modifiers:c,ref:n,open:w?!C:d,placement:f,popperOptions:p,popperRef:g,slotProps:x,slots:T,..._,style:{position:"fixed",top:0,left:0,display:j,...b},TransitionProps:F,children:i})})}),wIe=Qt(EIe,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),q6=Y.forwardRef(function(t,n){const r=F6(),i=ir({props:t,name:"MuiPopper"}),{anchorEl:s,component:a,components:o,componentsProps:l,container:c,disablePortal:d,keepMounted:f,modifiers:p,open:g,placement:b,popperOptions:w,popperRef:x,transition:T,slots:_,slotProps:C,...I}=i,M=(_==null?void 0:_.root)??(o==null?void 0:o.Root),$={anchorEl:s,container:c,disablePortal:d,keepMounted:f,modifiers:p,open:g,placement:b,popperOptions:w,popperRef:x,transition:T,...I};return U.jsx(wIe,{as:a,direction:r?"rtl":"ltr",slots:{root:M},slotProps:C??l,...$,ref:n})});function xIe(e){return Hn("MuiListSubheader",e)}Yn("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const TIe=e=>{const{classes:t,color:n,disableGutters:r,inset:i,disableSticky:s}=e,a={root:["root",n!=="default"&&`color${jt(n)}`,!r&&"gutters",i&&"inset",!s&&"sticky"]};return Vn(a,xIe,t)},kIe=Qt("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${jt(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(Bn(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:72}},{props:({ownerState:t})=>!t.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),OM=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiListSubheader"}),{className:i,color:s="default",component:a="li",disableGutters:o=!1,disableSticky:l=!1,inset:c=!1,...d}=r,f={...r,color:s,component:a,disableGutters:o,disableSticky:l,inset:c},p=TIe(f);return U.jsx(kIe,{as:a,className:cn(p.root,i),ref:n,ownerState:f,...d})});OM&&(OM.muiSkipListHighlight=!0);const _Ie=pi(U.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function AIe(e){return Hn("MuiChip",e)}const ui=Yn("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),CIe=e=>{const{classes:t,disabled:n,size:r,color:i,iconColor:s,onDelete:a,clickable:o,variant:l}=e,c={root:["root",l,n&&"disabled",`size${jt(r)}`,`color${jt(i)}`,o&&"clickable",o&&`clickableColor${jt(i)}`,a&&"deletable",a&&`deletableColor${jt(i)}`,`${l}${jt(i)}`],label:["label",`label${jt(r)}`],avatar:["avatar",`avatar${jt(r)}`,`avatarColor${jt(i)}`],icon:["icon",`icon${jt(r)}`,`iconColor${jt(s)}`],deleteIcon:["deleteIcon",`deleteIcon${jt(r)}`,`deleteIconColor${jt(i)}`,`deleteIcon${jt(l)}Color${jt(i)}`]};return Vn(c,AIe,t)},RIe=Qt("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:i,clickable:s,onDelete:a,size:o,variant:l}=n;return[{[`& .${ui.avatar}`]:t.avatar},{[`& .${ui.avatar}`]:t[`avatar${jt(o)}`]},{[`& .${ui.avatar}`]:t[`avatarColor${jt(r)}`]},{[`& .${ui.icon}`]:t.icon},{[`& .${ui.icon}`]:t[`icon${jt(o)}`]},{[`& .${ui.icon}`]:t[`iconColor${jt(i)}`]},{[`& .${ui.deleteIcon}`]:t.deleteIcon},{[`& .${ui.deleteIcon}`]:t[`deleteIcon${jt(o)}`]},{[`& .${ui.deleteIcon}`]:t[`deleteIconColor${jt(r)}`]},{[`& .${ui.deleteIcon}`]:t[`deleteIcon${jt(l)}Color${jt(r)}`]},t.root,t[`size${jt(o)}`],t[`color${jt(r)}`],s&&t.clickable,s&&r!=="default"&&t[`clickableColor${jt(r)})`],a&&t.deletable,a&&r!=="default"&&t[`deletableColor${jt(r)}`],t[l],t[`${l}${jt(r)}`]]}})(Bn(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${ui.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${ui.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${ui.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${ui.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${ui.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${ui.icon}`]:{marginLeft:5,marginRight:-6},[`& .${ui.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:mr(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:mr(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${ui.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${ui.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(ca(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${ui.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].contrastTextChannel} / 0.7)`:mr(e.palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${ui.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${ui.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${ui.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:mr(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(ca(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${ui.focusVisible}`]:{background:(e.vars||e).palette[n].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:mr(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${ui.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:mr(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(ca(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${ui.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${ui.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${ui.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${ui.avatar}`]:{marginLeft:4},[`& .${ui.avatarSmall}`]:{marginLeft:2},[`& .${ui.icon}`]:{marginLeft:4},[`& .${ui.iconSmall}`]:{marginLeft:2},[`& .${ui.deleteIcon}`]:{marginRight:5},[`& .${ui.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(ca()).map(([n])=>({props:{variant:"outlined",color:n},style:{color:(e.vars||e).palette[n].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:mr(e.palette[n].main,.7)}`,[`&.${ui.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette[n].main,e.palette.action.hoverOpacity)},[`&.${ui.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.focusOpacity})`:mr(e.palette[n].main,e.palette.action.focusOpacity)},[`& .${ui.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:mr(e.palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),IIe=Qt("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${jt(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function GK(e){return e.key==="Backspace"||e.key==="Delete"}const Zce=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiChip"}),{avatar:i,className:s,clickable:a,color:o="default",component:l,deleteIcon:c,disabled:d=!1,icon:f,label:p,onClick:g,onDelete:b,onKeyDown:w,onKeyUp:x,size:T="medium",variant:_="filled",tabIndex:C,skipFocusWhenDisabled:I=!1,...M}=r,$=Y.useRef(null),B=$i($,n),j=he=>{he.stopPropagation(),b&&b(he)},F=he=>{he.currentTarget===he.target&&GK(he)&&he.preventDefault(),w&&w(he)},V=he=>{he.currentTarget===he.target&&b&&GK(he)&&b(he),x&&x(he)},ie=a!==!1&&g?!0:a,se=ie||b?cm:l||"div",me={...r,component:se,disabled:d,size:T,color:o,iconColor:Y.isValidElement(f)&&f.props.color||o,onDelete:!!b,clickable:ie,variant:_},fe=CIe(me),le=se===cm?{component:l||"div",focusVisibleClassName:fe.focusVisible,...b&&{disableRipple:!0}}:{};let ye=null;b&&(ye=c&&Y.isValidElement(c)?Y.cloneElement(c,{className:cn(c.props.className,fe.deleteIcon),onClick:j}):U.jsx(_Ie,{className:cn(fe.deleteIcon),onClick:j}));let ae=null;i&&Y.isValidElement(i)&&(ae=Y.cloneElement(i,{className:cn(fe.avatar,i.props.className)}));let Se=null;return f&&Y.isValidElement(f)&&(Se=Y.cloneElement(f,{className:cn(fe.icon,f.props.className)})),U.jsxs(RIe,{as:se,className:cn(fe.root,s),disabled:ie&&d?!0:void 0,onClick:g,onKeyDown:F,onKeyUp:V,ref:B,tabIndex:I&&d?-1:C,ownerState:me,...le,...M,children:[ae||Se,U.jsx(IIe,{className:cn(fe.label),ownerState:me,children:p}),ye]})});function n4(e){return parseInt(e,10)||0}const DIe={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function NIe(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const Xce=Y.forwardRef(function(t,n){const{onChange:r,maxRows:i,minRows:s=1,style:a,value:o,...l}=t,{current:c}=Y.useRef(o!=null),d=Y.useRef(null),f=$i(n,d),p=Y.useRef(null),g=Y.useRef(null),b=Y.useCallback(()=>{const T=d.current,C=sy(T).getComputedStyle(T);if(C.width==="0px")return{outerHeightStyle:0,overflowing:!1};const I=g.current;I.style.width=C.width,I.value=T.value||t.placeholder||"x",I.value.slice(-1)===` +`&&(I.value+=" ");const M=C.boxSizing,$=n4(C.paddingBottom)+n4(C.paddingTop),B=n4(C.borderBottomWidth)+n4(C.borderTopWidth),j=I.scrollHeight;I.value="x";const F=I.scrollHeight;let V=j;s&&(V=Math.max(Number(s)*F,V)),i&&(V=Math.min(Number(i)*F,V)),V=Math.max(V,F);const ie=V+(M==="border-box"?$+B:0),se=Math.abs(V-j)<=1;return{outerHeightStyle:ie,overflowing:se}},[i,s,t.placeholder]),w=Y.useCallback(()=>{const T=b();if(NIe(T))return;const _=T.outerHeightStyle,C=d.current;p.current!==_&&(p.current=_,C.style.height=`${_}px`),C.style.overflow=T.overflowing?"hidden":""},[b]);ud(()=>{const T=()=>{w()};let _;const C=xce(T),I=d.current,M=sy(I);M.addEventListener("resize",C);let $;return typeof ResizeObserver<"u"&&($=new ResizeObserver(T),$.observe(I)),()=>{C.clear(),cancelAnimationFrame(_),M.removeEventListener("resize",C),$&&$.disconnect()}},[b,w]),ud(()=>{w()});const x=T=>{c||w(),r&&r(T)};return U.jsxs(Y.Fragment,{children:[U.jsx("textarea",{value:o,onChange:x,ref:f,rows:s,style:a,...l}),U.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:g,tabIndex:-1,style:{...DIe.shadow,...a,paddingTop:0,paddingBottom:0}})]})});function K0(e){return typeof e=="string"}function E1({props:e,states:t,muiFormControl:n}){return t.reduce((r,i)=>(r[i]=e[i],n&&typeof e[i]>"u"&&(r[i]=n[i]),r),{})}const j6=Y.createContext(void 0);function bh(){return Y.useContext(j6)}function YK(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function r5(e,t=!1){return e&&(YK(e.value)&&e.value!==""||t&&YK(e.defaultValue)&&e.defaultValue!=="")}function PIe(e){return e.startAdornment}function LIe(e){return Hn("MuiInputBase",e)}const zc=Yn("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var ZK;const W6=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${jt(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Q6=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},MIe=e=>{const{classes:t,color:n,disabled:r,error:i,endAdornment:s,focused:a,formControl:o,fullWidth:l,hiddenLabel:c,multiline:d,readOnly:f,size:p,startAdornment:g,type:b}=e,w={root:["root",`color${jt(n)}`,r&&"disabled",i&&"error",l&&"fullWidth",a&&"focused",o&&"formControl",p&&p!=="medium"&&`size${jt(p)}`,d&&"multiline",g&&"adornedStart",s&&"adornedEnd",c&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled",b==="search"&&"inputTypeSearch",d&&"inputMultiline",p==="small"&&"inputSizeSmall",c&&"inputHiddenLabel",g&&"inputAdornedStart",s&&"inputAdornedEnd",f&&"readOnly"]};return Vn(w,LIe,t)},V6=Qt("div",{name:"MuiInputBase",slot:"Root",overridesResolver:W6})(Bn(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${zc.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),G6=Qt("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Q6})(Bn(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${zc.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${zc.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:s})=>!s.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:s})=>s.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),XK=Az({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),Uz=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:s,autoFocus:a,className:o,color:l,components:c={},componentsProps:d={},defaultValue:f,disabled:p,disableInjectingGlobalStyles:g,endAdornment:b,error:w,fullWidth:x=!1,id:T,inputComponent:_="input",inputProps:C={},inputRef:I,margin:M,maxRows:$,minRows:B,multiline:j=!1,name:F,onBlur:V,onChange:ie,onClick:se,onFocus:me,onKeyDown:fe,onKeyUp:le,placeholder:ye,readOnly:ae,renderSuffix:Se,rows:he,size:re,slotProps:Fe={},slots:je={},startAdornment:ue,type:tt="text",value:St,...Ze}=r,qt=C.value!=null?C.value:St,{current:xt}=Y.useRef(qt!=null),Nt=Y.useRef(),Ht=Y.useCallback(Gt=>{},[]),Jt=$i(Nt,I,C.ref,Ht),[Vt,en]=Y.useState(!1),Ct=bh(),Xe=E1({props:r,muiFormControl:Ct,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Xe.focused=Ct?Ct.focused:Vt,Y.useEffect(()=>{!Ct&&p&&Vt&&(en(!1),V&&V())},[Ct,p,Vt,V]);const Ut=Ct&&Ct.onFilled,sn=Ct&&Ct.onEmpty,te=Y.useCallback(Gt=>{r5(Gt)?Ut&&Ut():sn&&sn()},[Ut,sn]);ud(()=>{xt&&te({value:qt})},[qt,te,xt]);const de=Gt=>{me&&me(Gt),C.onFocus&&C.onFocus(Gt),Ct&&Ct.onFocus?Ct.onFocus(Gt):en(!0)},we=Gt=>{V&&V(Gt),C.onBlur&&C.onBlur(Gt),Ct&&Ct.onBlur?Ct.onBlur(Gt):en(!1)},We=(Gt,...Pn)=>{if(!xt){const Fn=Gt.target||Nt.current;if(Fn==null)throw new Error(lm(1));te({value:Fn.value})}C.onChange&&C.onChange(Gt,...Pn),ie&&ie(Gt,...Pn)};Y.useEffect(()=>{te(Nt.current)},[]);const Ke=Gt=>{Nt.current&&Gt.currentTarget===Gt.target&&Nt.current.focus(),se&&se(Gt)};let xe=_,Qe=C;j&&xe==="input"&&(he?Qe={type:void 0,minRows:he,maxRows:he,...Qe}:Qe={type:void 0,maxRows:$,minRows:B,...Qe},xe=Xce);const yt=Gt=>{te(Gt.animationName==="mui-auto-fill-cancel"?Nt.current:{value:"x"})};Y.useEffect(()=>{Ct&&Ct.setAdornedStart(!!ue)},[Ct,ue]);const Be={...r,color:Xe.color||"primary",disabled:Xe.disabled,endAdornment:b,error:Xe.error,focused:Xe.focused,formControl:Ct,fullWidth:x,hiddenLabel:Xe.hiddenLabel,multiline:j,size:Xe.size,startAdornment:ue,type:tt},Ne=MIe(Be),rt=je.root||c.Root||V6,pt=Fe.root||d.root||{},Dt=je.input||c.Input||G6;return Qe={...Qe,...Fe.input??d.input},U.jsxs(Y.Fragment,{children:[!g&&typeof XK=="function"&&(ZK||(ZK=U.jsx(XK,{}))),U.jsxs(rt,{...pt,ref:n,onClick:Ke,...Ze,...!K0(rt)&&{ownerState:{...Be,...pt.ownerState}},className:cn(Ne.root,pt.className,o,ae&&"MuiInputBase-readOnly"),children:[ue,U.jsx(j6.Provider,{value:null,children:U.jsx(Dt,{"aria-invalid":Xe.error,"aria-describedby":i,autoComplete:s,autoFocus:a,defaultValue:f,disabled:Xe.disabled,id:T,onAnimationStart:yt,name:F,placeholder:ye,readOnly:ae,required:Xe.required,rows:he,value:qt,onKeyDown:fe,onKeyUp:le,type:tt,...Qe,...!K0(Dt)&&{as:xe,ownerState:{...Be,...Qe.ownerState}},ref:Jt,className:cn(Ne.input,Qe.className,ae&&"MuiInputBase-readOnly"),onBlur:we,onChange:We,onFocus:de})}),b,Se?Se({...Xe,startAdornment:ue}):null]})]})});function FIe(e){return Hn("MuiInput",e)}const Eg={...zc,...Yn("MuiInput",["root","underline","input"])};function $Ie(e){return Hn("MuiOutlinedInput",e)}const Bd={...zc,...Yn("MuiOutlinedInput",["root","notchedOutline","input"])};function BIe(e){return Hn("MuiFilledInput",e)}const Hc={...zc,...Yn("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},Kce=pi(U.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function UIe(e){return Hn("MuiAutocomplete",e)}const Jr=Yn("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var KK,JK;const zIe=e=>{const{classes:t,disablePortal:n,expanded:r,focused:i,fullWidth:s,hasClearIcon:a,hasPopupIcon:o,inputFocused:l,popupOpen:c,size:d}=e,f={root:["root",r&&"expanded",i&&"focused",s&&"fullWidth",a&&"hasClearIcon",o&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",l&&"inputFocused"],tag:["tag",`tagSize${jt(d)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",c&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return Vn(f,UIe,t)},HIe=Qt("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:i,hasPopupIcon:s,inputFocused:a,size:o}=n;return[{[`& .${Jr.tag}`]:t.tag},{[`& .${Jr.tag}`]:t[`tagSize${jt(o)}`]},{[`& .${Jr.inputRoot}`]:t.inputRoot},{[`& .${Jr.input}`]:t.input},{[`& .${Jr.input}`]:a&&t.inputFocused},t.root,r&&t.fullWidth,s&&t.hasPopupIcon,i&&t.hasClearIcon]}})({[`&.${Jr.focused} .${Jr.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Jr.clearIndicator}`]:{visibility:"visible"}},[`& .${Jr.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Jr.inputRoot}`]:{[`.${Jr.hasPopupIcon}&, .${Jr.hasClearIcon}&`]:{paddingRight:30},[`.${Jr.hasPopupIcon}.${Jr.hasClearIcon}&`]:{paddingRight:56},[`& .${Jr.input}`]:{width:0,minWidth:30}},[`& .${Eg.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Eg.root}.${zc.sizeSmall}`]:{[`& .${Eg.input}`]:{padding:"2px 4px 3px 0"}},[`& .${Bd.root}`]:{padding:9,[`.${Jr.hasPopupIcon}&, .${Jr.hasClearIcon}&`]:{paddingRight:39},[`.${Jr.hasPopupIcon}.${Jr.hasClearIcon}&`]:{paddingRight:65},[`& .${Jr.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Jr.endAdornment}`]:{right:9}},[`& .${Bd.root}.${zc.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Jr.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Hc.root}`]:{paddingTop:19,paddingLeft:8,[`.${Jr.hasPopupIcon}&, .${Jr.hasClearIcon}&`]:{paddingRight:39},[`.${Jr.hasPopupIcon}.${Jr.hasClearIcon}&`]:{paddingRight:65},[`& .${Hc.input}`]:{padding:"7px 4px"},[`& .${Jr.endAdornment}`]:{right:9}},[`& .${Hc.root}.${zc.sizeSmall}`]:{paddingBottom:1,[`& .${Hc.input}`]:{padding:"2.5px 4px"}},[`& .${zc.hiddenLabel}`]:{paddingTop:8},[`& .${Hc.root}.${zc.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Jr.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Hc.root}.${zc.hiddenLabel}.${zc.sizeSmall}`]:{[`& .${Jr.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Jr.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Jr.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Jr.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Jr.inputRoot}`]:{flexWrap:"wrap"}}}]}),qIe=Qt("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),jIe=Qt(Gl,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),WIe=Qt(Gl,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>({...t.popupIndicator,...e.popupOpen&&t.popupIndicatorOpen})})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),QIe=Qt(q6,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Jr.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(Bn(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),VIe=Qt(Ko,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(Bn(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),GIe=Qt("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(Bn(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),YIe=Qt("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(Bn(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),ZIe=Qt("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(Bn(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Jr.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${Jr.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Jr.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:mr(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Jr.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:mr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Jr.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:mr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),XIe=Qt(OM,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(Bn(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),KIe=Qt("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${Jr.option}`]:{paddingLeft:24}}),JIe=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiAutocomplete"}),{autoComplete:i=!1,autoHighlight:s=!1,autoSelect:a=!1,blurOnSelect:o=!1,ChipProps:l,className:c,clearIcon:d=KK||(KK=U.jsx(YRe,{fontSize:"small"})),clearOnBlur:f=!r.freeSolo,clearOnEscape:p=!1,clearText:g="Clear",closeText:b="Close",componentsProps:w,defaultValue:x=r.multiple?[]:null,disableClearable:T=!1,disableCloseOnSelect:_=!1,disabled:C=!1,disabledItemsFocusable:I=!1,disableListWrap:M=!1,disablePortal:$=!1,filterOptions:B,filterSelectedOptions:j=!1,forcePopupIcon:F="auto",freeSolo:V=!1,fullWidth:ie=!1,getLimitTagsText:se=Ln=>`+${Ln}`,getOptionDisabled:me,getOptionKey:fe,getOptionLabel:le,isOptionEqualToValue:ye,groupBy:ae,handleHomeEndKeys:Se=!r.freeSolo,id:he,includeInputInList:re=!1,inputValue:Fe,limitTags:je=-1,ListboxComponent:ue,ListboxProps:tt,loading:St=!1,loadingText:Ze="Loading…",multiple:qt=!1,noOptionsText:xt="No options",onChange:Nt,onClose:Ht,onHighlightChange:Jt,onInputChange:Vt,onOpen:en,open:Ct,openOnFocus:Xe=!1,openText:Ut="Open",options:sn,PaperComponent:te,PopperComponent:de,popupIcon:we=JK||(JK=U.jsx(Kce,{})),readOnly:We=!1,renderGroup:Ke,renderInput:xe,renderOption:Qe,renderTags:yt,selectOnFocus:Be=!r.freeSolo,size:Ne="medium",slots:rt={},slotProps:pt={},value:Dt,...Gt}=r,{getRootProps:Pn,getInputProps:Fn,getInputLabelProps:kt,getPopupIndicatorProps:ct,getClearProps:fn,getTagProps:Rn,getListboxProps:Sr,getOptionProps:ai,value:sr,dirty:oi,expanded:xr,id:Ir,popupOpen:$r,focused:_r,focusedTag:Qr,anchorEl:jn,setAnchorEl:wi,inputValue:wa,groupedOptions:is}=l5e({...r,componentName:"Autocomplete"}),ss=!T&&!C&&oi&&!We,Rs=(!V||F===!0)&&F!==!1,{onMouseDown:at}=Fn(),{ref:z,...L}=Sr(),X=le||(Ln=>Ln.label??Ln),be={...r,disablePortal:$,expanded:xr,focused:_r,fullWidth:ie,getOptionLabel:X,hasClearIcon:ss,hasPopupIcon:Rs,inputFocused:Qr===-1,popupOpen:$r,size:Ne},Rt=zIe(be),At={slots:{listbox:ue,paper:te,popper:de,...rt},slotProps:{chip:l,listbox:tt,...w,...pt}},[ot,Je]=gl("listbox",{elementType:"ul",externalForwardedProps:At,ownerState:be,className:Rt.listbox,additionalProps:L,ref:z}),[ft,Mt]=gl("paper",{elementType:Ko,externalForwardedProps:At,ownerState:be,className:Rt.paper}),[Yt,Nn]=gl("popper",{elementType:q6,externalForwardedProps:At,ownerState:be,className:Rt.popper,additionalProps:{disablePortal:$,style:{width:jn?jn.clientWidth:null},role:"presentation",anchorEl:jn,open:$r}});let Ce;if(qt&&sr.length>0){const Ln=ma=>({className:Rt.tag,disabled:C,...Rn(ma)});yt?Ce=yt(sr,Ln,be):Ce=sr.map((ma,qs)=>{const{key:os,...yr}=Ln({index:qs});return U.jsx(Zce,{label:X(ma),size:Ne,...yr,...At.slotProps.chip},os)})}if(je>-1&&Array.isArray(Ce)){const Ln=Ce.length-je;!_r&&Ln>0&&(Ce=Ce.splice(0,je),Ce.push(U.jsx("span",{className:Rt.tag,children:se(Ln)},Ce.length)))}const Ue=Ke||(Ln=>U.jsxs("li",{children:[U.jsx(XIe,{className:Rt.groupLabel,ownerState:be,component:"div",children:Ln.group}),U.jsx(KIe,{className:Rt.groupUl,ownerState:be,children:Ln.children})]},Ln.key)),Jn=Qe||((Ln,ma)=>{const{key:qs,...os}=Ln;return U.jsx("li",{...os,children:X(ma)},qs)}),xi=(Ln,ma)=>{const qs=ai({option:Ln,index:ma});return Jn({...qs,className:Rt.option},Ln,{selected:qs["aria-selected"],index:ma,inputValue:wa},be)},ti=At.slotProps.clearIndicator,wn=At.slotProps.popupIndicator,as=Ln=>U.jsx(QIe,{as:Yt,...Nn,children:U.jsx(VIe,{as:ft,...Mt,children:Ln})});let Qi=null;return is.length>0?Qi=as(U.jsx(ZIe,{as:ot,...Je,children:is.map((Ln,ma)=>ae?Ue({key:Ln.key,group:Ln.group,children:Ln.options.map((qs,os)=>xi(qs,Ln.index+os))}):xi(Ln,ma))})):St&&is.length===0?Qi=as(U.jsx(GIe,{className:Rt.loading,ownerState:be,children:Ze})):is.length===0&&!V&&!St&&(Qi=as(U.jsx(YIe,{className:Rt.noOptions,ownerState:be,role:"presentation",onMouseDown:Ln=>{Ln.preventDefault()},children:xt}))),U.jsxs(Y.Fragment,{children:[U.jsx(HIe,{ref:n,className:cn(Rt.root,c),ownerState:be,...Pn(Gt),children:xe({id:Ir,disabled:C,fullWidth:!0,size:Ne==="small"?"small":void 0,InputLabelProps:kt(),InputProps:{ref:wi,className:Rt.inputRoot,startAdornment:Ce,onClick:Ln=>{Ln.target===Ln.currentTarget&&at(Ln)},...(ss||Rs)&&{endAdornment:U.jsxs(qIe,{className:Rt.endAdornment,ownerState:be,children:[ss?U.jsx(jIe,{...fn(),"aria-label":g,title:g,ownerState:be,...ti,className:cn(Rt.clearIndicator,ti==null?void 0:ti.className),children:d}):null,Rs?U.jsx(WIe,{...ct(),disabled:C,"aria-label":$r?b:Ut,title:$r?b:Ut,ownerState:be,...wn,className:cn(Rt.popupIndicator,wn==null?void 0:wn.className),children:we}):null]})}},inputProps:{className:Rt.input,disabled:C,readOnly:We,...Fn()}})}),jn?Qi:null]})}),e6e=pi(U.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function t6e(e){return Hn("MuiAvatar",e)}const n6e=Yn("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),r6e=e=>{const{classes:t,variant:n,colorDefault:r}=e;return Vn({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},t6e,t)},i6e=Qt("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(Bn(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(e.vars||e).palette.background.default,...e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.grey[400],...e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})}}}]}))),s6e=Qt("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),a6e=Qt(e6e,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function o6e({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[i,s]=Y.useState(!1);return Y.useEffect(()=>{if(!n&&!r)return;s(!1);let a=!0;const o=new Image;return o.onload=()=>{a&&s("loaded")},o.onerror=()=>{a&&s("error")},o.crossOrigin=e,o.referrerPolicy=t,o.src=n,r&&(o.srcset=r),()=>{a=!1}},[e,t,n,r]),i}const qb=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiAvatar"}),{alt:i,children:s,className:a,component:o="div",slots:l={},slotProps:c={},imgProps:d,sizes:f,src:p,srcSet:g,variant:b="circular",...w}=r;let x=null;const T=o6e({...d,src:p,srcSet:g}),_=p||g,C=_&&T!=="error",I={...r,colorDefault:!C,component:o,variant:b};delete I.ownerState;const M=r6e(I),[$,B]=gl("img",{className:M.img,elementType:s6e,externalForwardedProps:{slots:l,slotProps:{img:{...d,...c.img}}},additionalProps:{alt:i,src:p,srcSet:g,sizes:f},ownerState:I});return C?x=U.jsx($,{...B}):s||s===0?x=s:_&&i?x=i[0]:x=U.jsx(a6e,{ownerState:I,className:M.fallback}),U.jsx(i6e,{as:o,className:cn(M.root,a),ref:n,...w,ownerState:I,children:x})});function l6e(e){return Hn("MuiAvatarGroup",e)}const u6e=Yn("MuiAvatarGroup",["root","avatar"]),eJ={small:-16,medium:-8},c6e=e=>{const{classes:t}=e;return Vn({root:["root"],avatar:["avatar"]},l6e,t)},d6e=Qt("div",{name:"MuiAvatarGroup",slot:"Root",overridesResolver:(e,t)=>({[`& .${u6e.avatar}`]:t.avatar,...t.root})})(Bn(({theme:e})=>({display:"flex",flexDirection:"row-reverse",[`& .${n6e.root}`]:{border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:"var(--AvatarGroup-spacing, -8px)","&:last-child":{marginLeft:0}}}))),f6e=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiAvatarGroup"}),{children:i,className:s,component:a="div",componentsProps:o,max:l=5,renderSurplus:c,slotProps:d={},slots:f={},spacing:p="medium",total:g,variant:b="circular",...w}=r;let x=l<2?2:l;const T={...r,max:l,spacing:p,component:a,variant:b},_=c6e(T),C=Y.Children.toArray(i).filter(se=>Y.isValidElement(se)),I=g||C.length;I===x&&(x+=1),x=Math.min(I+1,x);const M=Math.min(C.length,x-1),$=Math.max(I-x,I-M,0),B=c?c($):`+${$}`,j=T.spacing&&eJ[T.spacing]!==void 0?eJ[T.spacing]:-T.spacing||-8,F={slots:f,slotProps:{surplus:d.additionalAvatar??(o==null?void 0:o.additionalAvatar),...o,...d}},[V,ie]=gl("surplus",{elementType:qb,externalForwardedProps:F,className:_.avatar,ownerState:T,additionalProps:{variant:b,style:{"--AvatarRoot-spacing":j?`${j}px`:void 0,...w.style}}});return U.jsxs(d6e,{as:a,ownerState:T,className:cn(_.root,s),ref:n,...w,children:[$?U.jsx(V,{...ie,children:B}):null,C.slice(0,M).reverse().map(se=>Y.cloneElement(se,{className:cn(se.props.className,_.avatar),variant:se.props.variant||b}))]})}),h6e={entering:{opacity:1},entered:{opacity:1}},i5=Y.forwardRef(function(t,n){const r=Ap(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:s,appear:a=!0,children:o,easing:l,in:c,onEnter:d,onEntered:f,onEntering:p,onExit:g,onExited:b,onExiting:w,style:x,timeout:T=i,TransitionComponent:_=gh,...C}=t,I=Y.useRef(null),M=$i(I,OE(o),n),$=fe=>le=>{if(fe){const ye=I.current;le===void 0?fe(ye):fe(ye,le)}},B=$(p),j=$((fe,le)=>{Bce(fe);const ye=$O({style:x,timeout:T,easing:l},{mode:"enter"});fe.style.webkitTransition=r.transitions.create("opacity",ye),fe.style.transition=r.transitions.create("opacity",ye),d&&d(fe,le)}),F=$(f),V=$(w),ie=$(fe=>{const le=$O({style:x,timeout:T,easing:l},{mode:"exit"});fe.style.webkitTransition=r.transitions.create("opacity",le),fe.style.transition=r.transitions.create("opacity",le),g&&g(fe)}),se=$(b),me=fe=>{s&&s(I.current,fe)};return U.jsx(_,{appear:a,in:c,nodeRef:I,onEnter:j,onEntered:F,onEntering:B,onExit:ie,onExited:se,onExiting:V,addEndListener:me,timeout:T,...C,children:(fe,le)=>Y.cloneElement(o,{style:{opacity:0,visibility:fe==="exited"&&!c?"hidden":void 0,...h6e[fe],...x,...o.props.style},ref:M,...le})})});function p6e(e){return Hn("MuiBackdrop",e)}Yn("MuiBackdrop",["root","invisible"]);const m6e=e=>{const{ownerState:t,...n}=e;return n},g6e=e=>{const{classes:t,invisible:n}=e;return Vn({root:["root",n&&"invisible"]},p6e,t)},b6e=Qt("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),wE=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiBackdrop"}),{children:i,className:s,component:a="div",invisible:o=!1,open:l,components:c={},componentsProps:d={},slotProps:f={},slots:p={},TransitionComponent:g,transitionDuration:b,...w}=r,x={...r,component:a,invisible:o},T=g6e(x),_={transition:g,root:c.Root,...p},C={...d,...f},I={slots:_,slotProps:C},[M,$]=gl("root",{elementType:b6e,externalForwardedProps:I,className:cn(T.root,s),ownerState:x}),[B,j]=gl("transition",{elementType:i5,externalForwardedProps:I,ownerState:x}),F=m6e(j);return U.jsx(B,{in:l,timeout:b,...w,...F,children:U.jsx(M,{"aria-hidden":!0,...$,classes:T,ref:n,children:i})})}),y6e=Yn("MuiBox",["root"]),v6e=B6(),ha=m4e({themeId:sh,defaultTheme:v6e,defaultClassName:y6e.root,generateClassName:gce.generate});function S6e(e){return Hn("MuiButton",e)}const zv=Yn("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),O6e=Y.createContext({}),E6e=Y.createContext(void 0),w6e=e=>{const{color:t,disableElevation:n,fullWidth:r,size:i,variant:s,classes:a}=e,o={root:["root",s,`${s}${jt(t)}`,`size${jt(i)}`,`${s}Size${jt(i)}`,`color${jt(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${jt(i)}`],endIcon:["icon","endIcon",`iconSize${jt(i)}`]},l=Vn(o,S6e,a);return{...a,...l}},Jce=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],x6e=Qt(cm,{shouldForwardProp:e=>El(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${jt(n.color)}`],t[`size${jt(n.size)}`],t[`${n.variant}Size${jt(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(Bn(({theme:e})=>{var r,i;const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${zv.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${zv.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${zv.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${zv.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(ca(["dark","contrastText"])).map(([s])=>({props:{color:s},style:{"--variant-textColor":(e.vars||e).palette[s].main,"--variant-outlinedColor":(e.vars||e).palette[s].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[s].mainChannel} / 0.5)`:mr(e.palette[s].main,.5),"--variant-containedColor":(e.vars||e).palette[s].contrastText,"--variant-containedBg":(e.vars||e).palette[s].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[s].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[s].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette[s].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[s].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[s].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette[s].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{"--variant-containedColor":e.vars?e.vars.palette.text.primary:(i=(r=e.palette).getContrastText)==null?void 0:i.call(r,t),"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${zv.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${zv.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),T6e=Qt("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${jt(n.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...Jce]}),k6e=Qt("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${jt(n.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...Jce]}),yl=Y.forwardRef(function(t,n){const r=Y.useContext(O6e),i=Y.useContext(E6e),s=MO(r,t),a=ir({props:s,name:"MuiButton"}),{children:o,color:l="primary",component:c="button",className:d,disabled:f=!1,disableElevation:p=!1,disableFocusRipple:g=!1,endIcon:b,focusVisibleClassName:w,fullWidth:x=!1,size:T="medium",startIcon:_,type:C,variant:I="text",...M}=a,$={...a,color:l,component:c,disabled:f,disableElevation:p,disableFocusRipple:g,fullWidth:x,size:T,type:C,variant:I},B=w6e($),j=_&&U.jsx(T6e,{className:B.startIcon,ownerState:$,children:_}),F=b&&U.jsx(k6e,{className:B.endIcon,ownerState:$,children:b}),V=i||"";return U.jsxs(x6e,{ownerState:$,className:cn(r.className,B.root,d,V),component:c,disabled:f,focusRipple:!g,focusVisibleClassName:cn(B.focusVisible,w),ref:n,type:C,...M,classes:B,children:[j,o,F]})});function _6e(e){return Hn("MuiCard",e)}Yn("MuiCard",["root"]);const A6e=e=>{const{classes:t}=e;return Vn({root:["root"]},_6e,t)},C6e=Qt(Ko,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),ede=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiCard"}),{className:i,raised:s=!1,...a}=r,o={...r,raised:s},l=A6e(o);return U.jsx(C6e,{className:cn(l.root,i),elevation:s?8:void 0,ref:n,ownerState:o,...a})});function R6e(e){return Hn("MuiCardActionArea",e)}const tP=Yn("MuiCardActionArea",["root","focusVisible","focusHighlight"]),I6e=e=>{const{classes:t}=e;return Vn({root:["root"],focusHighlight:["focusHighlight"]},R6e,t)},D6e=Qt(cm,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(e,t)=>t.root})(Bn(({theme:e})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${tP.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${tP.focusVisible} .${tP.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}}))),N6e=Qt("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(e,t)=>t.focusHighlight})(Bn(({theme:e})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})}))),P6e=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiCardActionArea"}),{children:i,className:s,focusVisibleClassName:a,...o}=r,l=r,c=I6e(l);return U.jsxs(D6e,{className:cn(c.root,s),focusVisibleClassName:cn(a,c.focusVisible),ref:n,ownerState:l,...o,children:[i,U.jsx(N6e,{className:c.focusHighlight,ownerState:l})]})});function L6e(e){return Hn("MuiCardContent",e)}Yn("MuiCardContent",["root"]);const M6e=e=>{const{classes:t}=e;return Vn({root:["root"]},L6e,t)},F6e=Qt("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),$6e=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiCardContent"}),{className:i,component:s="div",...a}=r,o={...r,component:s},l=M6e(o);return U.jsx(F6e,{as:s,className:cn(l.root,i),ownerState:o,ref:n,...a})});function B6e(e){return Hn("PrivateSwitchBase",e)}Yn("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const U6e=e=>{const{classes:t,checked:n,disabled:r,edge:i}=e,s={root:["root",n&&"checked",r&&"disabled",i&&`edge${jt(i)}`],input:["input"]};return Vn(s,B6e,t)},z6e=Qt(cm)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),H6e=Qt("input",{shouldForwardProp:El})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),zz=Y.forwardRef(function(t,n){const{autoFocus:r,checked:i,checkedIcon:s,className:a,defaultChecked:o,disabled:l,disableFocusRipple:c=!1,edge:d=!1,icon:f,id:p,inputProps:g,inputRef:b,name:w,onBlur:x,onChange:T,onFocus:_,readOnly:C,required:I=!1,tabIndex:M,type:$,value:B,...j}=t,[F,V]=X0({controlled:i,default:!!o,name:"SwitchBase",state:"checked"}),ie=bh(),se=he=>{_&&_(he),ie&&ie.onFocus&&ie.onFocus(he)},me=he=>{x&&x(he),ie&&ie.onBlur&&ie.onBlur(he)},fe=he=>{if(he.nativeEvent.defaultPrevented)return;const re=he.target.checked;V(re),T&&T(he,re)};let le=l;ie&&typeof le>"u"&&(le=ie.disabled);const ye=$==="checkbox"||$==="radio",ae={...t,checked:F,disabled:le,disableFocusRipple:c,edge:d},Se=U6e(ae);return U.jsxs(z6e,{component:"span",className:cn(Se.root,a),centerRipple:!0,focusRipple:!c,disabled:le,tabIndex:null,role:void 0,onFocus:se,onBlur:me,ownerState:ae,ref:n,...j,children:[U.jsx(H6e,{autoFocus:r,checked:i,defaultChecked:o,className:Se.input,disabled:le,id:ye?p:void 0,name:w,onChange:fe,readOnly:C,ref:b,required:I,ownerState:ae,tabIndex:M,type:$,...$==="checkbox"&&B===void 0?{}:{value:B},...g}),F?s:f]})}),q6e=pi(U.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),j6e=pi(U.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),W6e=pi(U.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function Q6e(e){return Hn("MuiCheckbox",e)}const nP=Yn("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),V6e=e=>{const{classes:t,indeterminate:n,color:r,size:i}=e,s={root:["root",n&&"indeterminate",`color${jt(r)}`,`size${jt(i)}`]},a=Vn(s,Q6e,t);return{...t,...a}},G6e=Qt(zz,{shouldForwardProp:e=>El(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${jt(n.size)}`],n.color!=="default"&&t[`color${jt(n.color)}`]]}})(Bn(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t},style:{[`&.${nP.checked}, &.${nP.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${nP.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),Y6e=U.jsx(j6e,{}),Z6e=U.jsx(q6e,{}),X6e=U.jsx(W6e,{}),Y6=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiCheckbox"}),{checkedIcon:i=Y6e,color:s="primary",icon:a=Z6e,indeterminate:o=!1,indeterminateIcon:l=X6e,inputProps:c,size:d="medium",disableRipple:f=!1,className:p,...g}=r,b=o?l:a,w=o?l:i,x={...r,disableRipple:f,color:s,indeterminate:o,size:d},T=V6e(x);return U.jsx(G6e,{type:"checkbox",inputProps:{"data-indeterminate":o,...c},icon:Y.cloneElement(b,{fontSize:b.props.fontSize??d}),checkedIcon:Y.cloneElement(w,{fontSize:w.props.fontSize??d}),ownerState:x,ref:n,className:cn(T.root,p),...g,classes:T})});function K6e(e){return Hn("MuiCircularProgress",e)}Yn("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const og=44,EM=v_` 0% { transform: rotate(0deg); } @@ -190,39 +190,39 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann stroke-dasharray: 100px, 200px; stroke-dashoffset: -125px; } -`,K6e=typeof EM!="string"?pz` +`,J6e=typeof EM!="string"?pz` animation: ${EM} 1.4s linear infinite; - `:null,J6e=typeof wM!="string"?pz` + `:null,eDe=typeof wM!="string"?pz` animation: ${wM} 1.4s ease-in-out infinite; - `:null,eDe=e=>{const{classes:t,variant:n,color:r,disableShrink:i}=e,s={root:["root",n,`color${jt(r)}`],svg:["svg"],circle:["circle",`circle${jt(n)}`,i&&"circleDisableShrink"]};return Vn(s,X6e,t)},tDe=Qt("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${jt(n.color)}`]]}})(Bn(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:K6e||{animation:`${EM} 1.4s linear infinite`}},...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),nDe=Qt("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),rDe=Qt("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${jt(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Bn(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:J6e||{animation:`${wM} 1.4s ease-in-out infinite`}}]}))),dh=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiCircularProgress"}),{className:i,color:s="primary",disableShrink:a=!1,size:o=40,style:l,thickness:c=3.6,value:d=0,variant:f="indeterminate",...p}=r,g={...r,color:s,disableShrink:a,size:o,thickness:c,value:d,variant:f},b=eDe(g),w={},x={},T={};if(f==="determinate"){const _=2*Math.PI*((og-c)/2);w.strokeDasharray=_.toFixed(3),T["aria-valuenow"]=Math.round(d),w.strokeDashoffset=`${((100-d)/100*_).toFixed(3)}px`,x.transform="rotate(-90deg)"}return U.jsx(tDe,{className:cn(b.root,i),style:{width:o,height:o,...x,...l},ownerState:g,ref:n,role:"progressbar",...T,...p,children:U.jsx(nDe,{className:b.svg,ownerState:g,viewBox:`${og/2} ${og/2} ${og} ${og}`,children:U.jsx(rDe,{className:b.circle,style:w,ownerState:g,cx:og,cy:og,r:(og-c)/2,fill:"none",strokeWidth:c})})})}),Hz=o3e({createStyledComponent:Qt("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${jt(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>T_({props:e,name:"MuiContainer"})}),xM=typeof Az({})=="function",iDe=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),sDe=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),ede=(e,t=!1)=>{var s,a;const n={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([o,l])=>{var d,f;const c=e.getColorSchemeSelector(o);c.startsWith("@")?n[c]={":root":{colorScheme:(d=l.palette)==null?void 0:d.mode}}:n[c.replace(/\s*&/,"")]={colorScheme:(f=l.palette)==null?void 0:f.mode}});let r={html:iDe(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...sDe(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n};const i=(a=(s=e.components)==null?void 0:s.MuiCssBaseline)==null?void 0:a.styleOverrides;return i&&(r=[r,i]),r},$3="mui-ecs",aDe=e=>{const t=ede(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${$3})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([r,i])=>{var a,o;const s=e.getColorSchemeSelector(r);s.startsWith("@")?n[s]={[`:root:not(:has(.${$3}))`]:{colorScheme:(a=i.palette)==null?void 0:a.mode}}:n[s.replace(/\s*&/,"")]={[`&:not(:has(.${$3}))`]:{colorScheme:(o=i.palette)==null?void 0:o.mode}}}),t},oDe=Az(xM?({theme:e,enableColorScheme:t})=>ede(e,t):({theme:e})=>aDe(e));function lDe(e){const t=ir({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return U.jsxs(Y.Fragment,{children:[xM&&U.jsx(oDe,{enableColorScheme:r}),!xM&&!r&&U.jsx("span",{className:$3,style:{display:"none"}}),n]})}function uDe(e){const t=Io(e);return t.body===e?sy(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function gT(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function tJ(e){return parseInt(sy(e).getComputedStyle(e).paddingRight,10)||0}function cDe(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function nJ(e,t,n,r,i){const s=[t,n,...r];[].forEach.call(e.children,a=>{const o=!s.includes(a),l=!cDe(a);o&&l&&gT(a,i)})}function rP(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function dDe(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(uDe(r)){const a=Tce(Io(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${tJ(r)+a}px`;const o=Io(r).querySelectorAll(".mui-fixed");[].forEach.call(o,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${tJ(l)+a}px`})}let s;if(r.parentNode instanceof DocumentFragment)s=Io(r).body;else{const a=r.parentElement,o=sy(r);s=(a==null?void 0:a.nodeName)==="HTML"&&o.getComputedStyle(a).overflowY==="scroll"?a:r}n.push({value:s.style.overflow,property:"overflow",el:s},{value:s.style.overflowX,property:"overflow-x",el:s},{value:s.style.overflowY,property:"overflow-y",el:s}),s.style.overflow="hidden"}return()=>{n.forEach(({value:s,el:a,property:o})=>{s?a.style.setProperty(o,s):a.style.removeProperty(o)})}}function fDe(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class hDe{constructor(){this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&gT(t.modalRef,!1);const i=fDe(n);nJ(n,t.mount,t.modalRef,i,!0);const s=rP(this.containers,a=>a.container===n);return s!==-1?(this.containers[s].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:i}),r)}mount(t,n){const r=rP(this.containers,s=>s.modals.includes(t)),i=this.containers[r];i.restore||(i.restore=dDe(i,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const i=rP(this.containers,a=>a.modals.includes(t)),s=this.containers[i];if(s.modals.splice(s.modals.indexOf(t),1),this.modals.splice(r,1),s.modals.length===0)s.restore&&s.restore(),t.modalRef&&gT(t.modalRef,n),nJ(s.container,t.mount,t.modalRef,s.hiddenSiblings,!1),this.containers.splice(i,1);else{const a=s.modals[s.modals.length-1];a.modalRef&&gT(a.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const pDe=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function mDe(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function gDe(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function bDe(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||gDe(e))}function yDe(e){const t=[],n=[];return Array.from(e.querySelectorAll(pDe)).forEach((r,i)=>{const s=mDe(r);s===-1||!bDe(r)||(s===0?t.push(r):n.push({documentOrder:i,tabIndex:s,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(t)}function vDe(){return!0}function SDe(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:s=yDe,isEnabled:a=vDe,open:o}=e,l=Y.useRef(!1),c=Y.useRef(null),d=Y.useRef(null),f=Y.useRef(null),p=Y.useRef(null),g=Y.useRef(!1),b=Y.useRef(null),w=$i(OE(t),b),x=Y.useRef(null);Y.useEffect(()=>{!o||!b.current||(g.current=!n)},[n,o]),Y.useEffect(()=>{if(!o||!b.current)return;const C=Io(b.current);return b.current.contains(C.activeElement)||(b.current.hasAttribute("tabIndex")||b.current.setAttribute("tabIndex","-1"),g.current&&b.current.focus()),()=>{i||(f.current&&f.current.focus&&(l.current=!0,f.current.focus()),f.current=null)}},[o]),Y.useEffect(()=>{if(!o||!b.current)return;const C=Io(b.current),I=B=>{x.current=B,!(r||!a()||B.key!=="Tab")&&C.activeElement===b.current&&B.shiftKey&&(l.current=!0,d.current&&d.current.focus())},M=()=>{var F,V;const B=b.current;if(B===null)return;if(!C.hasFocus()||!a()||l.current){l.current=!1;return}if(B.contains(C.activeElement)||r&&C.activeElement!==c.current&&C.activeElement!==d.current)return;if(C.activeElement!==p.current)p.current=null;else if(p.current!==null)return;if(!g.current)return;let j=[];if((C.activeElement===c.current||C.activeElement===d.current)&&(j=s(b.current)),j.length>0){const ie=!!((F=x.current)!=null&&F.shiftKey&&((V=x.current)==null?void 0:V.key)==="Tab"),se=j[0],me=j[j.length-1];typeof se!="string"&&typeof me!="string"&&(ie?me.focus():se.focus())}else B.focus()};C.addEventListener("focusin",M),C.addEventListener("keydown",I,!0);const $=setInterval(()=>{C.activeElement&&C.activeElement.tagName==="BODY"&&M()},50);return()=>{clearInterval($),C.removeEventListener("focusin",M),C.removeEventListener("keydown",I,!0)}},[n,r,i,a,o,s]);const T=C=>{f.current===null&&(f.current=C.relatedTarget),g.current=!0,p.current=C.target;const I=t.props.onFocus;I&&I(C)},_=C=>{f.current===null&&(f.current=C.relatedTarget),g.current=!0};return U.jsxs(Y.Fragment,{children:[U.jsx("div",{tabIndex:o?0:-1,onFocus:_,ref:c,"data-testid":"sentinelStart"}),Y.cloneElement(t,{ref:w,onFocus:T}),U.jsx("div",{tabIndex:o?0:-1,onFocus:_,ref:d,"data-testid":"sentinelEnd"})]})}function ODe(e){return typeof e=="function"?e():e}function EDe(e){return e?e.props.hasOwnProperty("in"):!1}const wDe=new hDe;function xDe(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:i=wDe,closeAfterTransition:s=!1,onTransitionEnter:a,onTransitionExited:o,children:l,onClose:c,open:d,rootRef:f}=e,p=Y.useRef({}),g=Y.useRef(null),b=Y.useRef(null),w=$i(b,f),[x,T]=Y.useState(!d),_=EDe(l);let C=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(C=!1);const I=()=>Io(g.current),M=()=>(p.current.modalRef=b.current,p.current.mount=g.current,p.current),$=()=>{i.mount(M(),{disableScrollLock:r}),b.current&&(b.current.scrollTop=0)},B=vu(()=>{const ye=ODe(t)||I().body;i.add(M(),ye),b.current&&$()}),j=Y.useCallback(()=>i.isTopModal(M()),[i]),F=vu(ye=>{g.current=ye,ye&&(d&&j()?$():b.current&&gT(b.current,C))}),V=Y.useCallback(()=>{i.remove(M(),C)},[C,i]);Y.useEffect(()=>()=>{V()},[V]),Y.useEffect(()=>{d?B():(!_||!s)&&V()},[d,V,_,s,B]);const ie=ye=>ae=>{var Se;(Se=ye.onKeyDown)==null||Se.call(ye,ae),!(ae.key!=="Escape"||ae.which===229||!j())&&(n||(ae.stopPropagation(),c&&c(ae,"escapeKeyDown")))},se=ye=>ae=>{var Se;(Se=ye.onClick)==null||Se.call(ye,ae),ae.target===ae.currentTarget&&c&&c(ae,"backdropClick")};return{getRootProps:(ye={})=>{const ae=hT(e);delete ae.onTransitionEnter,delete ae.onTransitionExited;const Se={...ae,...ye};return{role:"presentation",...Se,onKeyDown:ie(Se),ref:w}},getBackdropProps:(ye={})=>{const ae=ye;return{"aria-hidden":!0,...ae,onClick:se(ae),open:d}},getTransitionProps:()=>{const ye=()=>{T(!1),a&&a()},ae=()=>{T(!0),o&&o(),s&&V()};return{onEnter:dM(ye,l==null?void 0:l.props.onEnter),onExited:dM(ae,l==null?void 0:l.props.onExited)}},rootRef:w,portalRef:F,isTopModal:j,exited:x,hasTransition:_}}function TDe(e){return Hn("MuiModal",e)}Yn("MuiModal",["root","hidden","backdrop"]);const kDe=e=>{const{open:t,exited:n,classes:r}=e;return Vn({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},TDe,r)},_De=Qt("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(Bn(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),ADe=Qt(wE,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),xE=Y.forwardRef(function(t,n){const r=ir({name:"MuiModal",props:t}),{BackdropComponent:i=ADe,BackdropProps:s,classes:a,className:o,closeAfterTransition:l=!1,children:c,container:d,component:f,components:p={},componentsProps:g={},disableAutoFocus:b=!1,disableEnforceFocus:w=!1,disableEscapeKeyDown:x=!1,disablePortal:T=!1,disableRestoreFocus:_=!1,disableScrollLock:C=!1,hideBackdrop:I=!1,keepMounted:M=!1,onBackdropClick:$,onClose:B,onTransitionEnter:j,onTransitionExited:F,open:V,slotProps:ie={},slots:se={},theme:me,...fe}=r,le={...r,closeAfterTransition:l,disableAutoFocus:b,disableEnforceFocus:w,disableEscapeKeyDown:x,disablePortal:T,disableRestoreFocus:_,disableScrollLock:C,hideBackdrop:I,keepMounted:M},{getRootProps:ye,getBackdropProps:ae,getTransitionProps:Se,portalRef:he,isTopModal:re,exited:Fe,hasTransition:je}=xDe({...le,rootRef:n}),ue={...le,exited:Fe},tt=kDe(ue),St={};if(c.props.tabIndex===void 0&&(St.tabIndex="-1"),je){const{onEnter:Vt,onExited:en}=Se();St.onEnter=Vt,St.onExited=en}const Ze={...fe,slots:{root:p.Root,backdrop:p.Backdrop,...se},slotProps:{...g,...ie}},[qt,xt]=gl("root",{elementType:_De,externalForwardedProps:Ze,getSlotProps:ye,additionalProps:{ref:n,as:f},ownerState:ue,className:cn(o,tt==null?void 0:tt.root,!ue.open&&ue.exited&&(tt==null?void 0:tt.hidden))}),[Nt,Ht]=gl("backdrop",{elementType:i,externalForwardedProps:Ze,additionalProps:s,getSlotProps:Vt=>ae({...Vt,onClick:en=>{$&&$(en),Vt!=null&&Vt.onClick&&Vt.onClick(en)}}),className:cn(s==null?void 0:s.className,tt==null?void 0:tt.backdrop),ownerState:ue}),Jt=$i(s==null?void 0:s.ref,Ht.ref);return!M&&!V&&(!je||Fe)?null:U.jsx(Gce,{ref:he,container:d,disablePortal:T,children:U.jsxs(qt,{...xt,children:[!I&&i?U.jsx(Nt,{...Ht,ref:Jt}):null,U.jsx(SDe,{disableEnforceFocus:w,disableAutoFocus:b,disableRestoreFocus:_,isEnabled:re,open:V,children:Y.cloneElement(c,St)})]})})});function CDe(e){return Hn("MuiDivider",e)}const rJ=Yn("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),RDe=e=>{const{absolute:t,children:n,classes:r,flexItem:i,light:s,orientation:a,textAlign:o,variant:l}=e;return Vn({root:["root",t&&"absolute",l,s&&"light",a==="vertical"&&"vertical",i&&"flexItem",n&&"withChildren",n&&a==="vertical"&&"withChildrenVertical",o==="right"&&a!=="vertical"&&"textAlignRight",o==="left"&&a!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",a==="vertical"&&"wrapperVertical"]},CDe,r)},IDe=Qt("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(Bn(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:mr(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),DDe=Qt("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(Bn(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),oy=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiDivider"}),{absolute:i=!1,children:s,className:a,orientation:o="horizontal",component:l=s||o==="vertical"?"div":"hr",flexItem:c=!1,light:d=!1,role:f=l!=="hr"?"separator":void 0,textAlign:p="center",variant:g="fullWidth",...b}=r,w={...r,absolute:i,component:l,flexItem:c,light:d,orientation:o,role:f,textAlign:p,variant:g},x=RDe(w);return U.jsx(IDe,{as:l,className:cn(x.root,a),role:f,ref:n,ownerState:w,"aria-orientation":f==="separator"&&(l!=="hr"||o==="vertical")?o:void 0,...b,children:s?U.jsx(DDe,{className:x.wrapper,ownerState:w,children:s}):null})});oy&&(oy.muiSkipListHighlight=!0);const NDe=e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:i,size:s,hiddenLabel:a,multiline:o}=e,l={root:["root",!n&&"underline",r&&"adornedStart",i&&"adornedEnd",s==="small"&&`size${jt(s)}`,a&&"hiddenLabel",o&&"multiline"],input:["input"]},c=Vn(l,$Ie,t);return{...t,...c}},PDe=Qt(V6,{shouldForwardProp:e=>El(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...W6(e,t),!n.disableUnderline&&t.underline]}})(Bn(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",i=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:i,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${zc.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${zc.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s},variants:[{props:({ownerState:a})=>!a.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${zc.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${zc.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${zc.disabled}, .${zc.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${zc.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(ca()).map(([a])=>{var o;return{props:{disableUnderline:!1,color:a},style:{"&::after":{borderBottom:`2px solid ${(o=(e.vars||e).palette[a])==null?void 0:o.main}`}}}}),{props:({ownerState:a})=>a.startAdornment,style:{paddingLeft:12}},{props:({ownerState:a})=>a.endAdornment,style:{paddingRight:12}},{props:({ownerState:a})=>a.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:a,size:o})=>a.multiline&&o==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:a})=>a.multiline&&a.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:a})=>a.multiline&&a.hiddenLabel&&a.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),LDe=Qt(G6,{name:"MuiFilledInput",slot:"Input",overridesResolver:Q6})(Bn(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),s5=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiFilledInput"}),{disableUnderline:i=!1,components:s={},componentsProps:a,fullWidth:o=!1,hiddenLabel:l,inputComponent:c="input",multiline:d=!1,slotProps:f,slots:p={},type:g="text",...b}=r,w={...r,disableUnderline:i,fullWidth:o,inputComponent:c,multiline:d,type:g},x=NDe(r),T={root:{ownerState:w},input:{ownerState:w}},_=f??a?Xo(T,f??a):T,C=p.root??s.Root??PDe,I=p.input??s.Input??LDe;return U.jsx(Uz,{slots:{root:C,input:I},componentsProps:_,fullWidth:o,inputComponent:c,multiline:d,ref:n,type:g,...b,classes:x})});s5&&(s5.muiName="Input");function MDe(e){return Hn("MuiFormControl",e)}Yn("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const FDe=e=>{const{classes:t,margin:n,fullWidth:r}=e,i={root:["root",n!=="none"&&`margin${jt(n)}`,r&&"fullWidth"]};return Vn(i,MDe,t)},$De=Qt("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...t[`margin${jt(e.margin)}`],...e.fullWidth&&t.fullWidth})})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),yf=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiFormControl"}),{children:i,className:s,color:a="primary",component:o="div",disabled:l=!1,error:c=!1,focused:d,fullWidth:f=!1,hiddenLabel:p=!1,margin:g="none",required:b=!1,size:w="medium",variant:x="outlined",...T}=r,_={...r,color:a,component:o,disabled:l,error:c,fullWidth:f,hiddenLabel:p,margin:g,required:b,size:w,variant:x},C=FDe(_),[I,M]=Y.useState(()=>{let me=!1;return i&&Y.Children.forEach(i,fe=>{if(!fT(fe,["Input","Select"]))return;const le=fT(fe,["Select"])?fe.props.input:fe;le&&NIe(le.props)&&(me=!0)}),me}),[$,B]=Y.useState(()=>{let me=!1;return i&&Y.Children.forEach(i,fe=>{fT(fe,["Input","Select"])&&(r5(fe.props,!0)||r5(fe.props.inputProps,!0))&&(me=!0)}),me}),[j,F]=Y.useState(!1);l&&j&&F(!1);const V=d!==void 0&&!l?d:j;let ie;Y.useRef(!1);const se=Y.useMemo(()=>({adornedStart:I,setAdornedStart:M,color:a,disabled:l,error:c,filled:$,focused:V,fullWidth:f,hiddenLabel:p,size:w,onBlur:()=>{F(!1)},onEmpty:()=>{B(!1)},onFilled:()=>{B(!0)},onFocus:()=>{F(!0)},registerEffect:ie,required:b,variant:x}),[I,a,l,c,$,V,f,p,ie,b,w,x]);return U.jsx(j6.Provider,{value:se,children:U.jsx($De,{as:o,ownerState:_,className:cn(C.root,s),ref:n,...T,children:i})})});function BDe(e){return Hn("MuiFormControlLabel",e)}const zw=Yn("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),UDe=e=>{const{classes:t,disabled:n,labelPlacement:r,error:i,required:s}=e,a={root:["root",n&&"disabled",`labelPlacement${jt(r)}`,i&&"error",s&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",i&&"error"]};return Vn(a,BDe,t)},zDe=Qt("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${zw.label}`]:t.label},t.root,t[`labelPlacement${jt(n.labelPlacement)}`]]}})(Bn(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${zw.disabled}`]:{cursor:"default"},[`& .${zw.label}`]:{[`&.${zw.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:t})=>t==="start"||t==="top"||t==="bottom",style:{marginLeft:16}}]}))),HDe=Qt("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(Bn(({theme:e})=>({[`&.${zw.error}`]:{color:(e.vars||e).palette.error.main}}))),mk=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiFormControlLabel"}),{checked:i,className:s,componentsProps:a={},control:o,disabled:l,disableTypography:c,inputRef:d,label:f,labelPlacement:p="end",name:g,onChange:b,required:w,slots:x={},slotProps:T={},value:_,...C}=r,I=bh(),M=l??o.props.disabled??(I==null?void 0:I.disabled),$=w??o.props.required,B={disabled:M,required:$};["checked","name","onChange","value","inputRef"].forEach(le=>{typeof o.props[le]>"u"&&typeof r[le]<"u"&&(B[le]=r[le])});const j=E1({props:r,muiFormControl:I,states:["error"]}),F={...r,disabled:M,labelPlacement:p,required:$,error:j.error},V=UDe(F),ie={slots:x,slotProps:{...a,...T}},[se,me]=gl("typography",{elementType:fi,externalForwardedProps:ie,ownerState:F});let fe=f;return fe!=null&&fe.type!==fi&&!c&&(fe=U.jsx(se,{component:"span",...me,className:cn(V.label,me==null?void 0:me.className),children:fe})),U.jsxs(zDe,{className:cn(V.root,s),ownerState:F,ref:n,...C,children:[Y.cloneElement(o,B),$?U.jsxs("div",{children:[fe,U.jsxs(HDe,{ownerState:F,"aria-hidden":!0,className:V.asterisk,children:[" ","*"]})]}):fe]})});function qDe(e){return Hn("MuiFormGroup",e)}Yn("MuiFormGroup",["root","row","error"]);const jDe=e=>{const{classes:t,row:n,error:r}=e;return Vn({root:["root",n&&"row",r&&"error"]},qDe,t)},WDe=Qt("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),qz=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiFormGroup"}),{className:i,row:s=!1,...a}=r,o=bh(),l=E1({props:r,muiFormControl:o,states:["error"]}),c={...r,row:s,error:l.error},d=jDe(c);return U.jsx(WDe,{className:cn(d.root,i),ownerState:c,ref:n,...a})});function QDe(e){return Hn("MuiFormHelperText",e)}const iJ=Yn("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var sJ;const VDe=e=>{const{classes:t,contained:n,size:r,disabled:i,error:s,filled:a,focused:o,required:l}=e,c={root:["root",i&&"disabled",s&&"error",r&&`size${jt(r)}`,n&&"contained",o&&"focused",a&&"filled",l&&"required"]};return Vn(c,QDe,t)},GDe=Qt("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${jt(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(Bn(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${iJ.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${iJ.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),TE=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiFormHelperText"}),{children:i,className:s,component:a="p",disabled:o,error:l,filled:c,focused:d,margin:f,required:p,variant:g,...b}=r,w=bh(),x=E1({props:r,muiFormControl:w,states:["variant","size","disabled","error","filled","focused","required"]}),T={...r,component:a,contained:x.variant==="filled"||x.variant==="outlined",variant:x.variant,size:x.size,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required};delete T.ownerState;const _=VDe(T);return U.jsx(GDe,{as:a,className:cn(_.root,s),ref:n,...b,ownerState:T,children:i===" "?sJ||(sJ=U.jsx("span",{className:"notranslate",children:"​"})):i})});function YDe(e){return Hn("MuiFormLabel",e)}const bT=Yn("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),ZDe=e=>{const{classes:t,color:n,focused:r,disabled:i,error:s,filled:a,required:o}=e,l={root:["root",`color${jt(n)}`,i&&"disabled",s&&"error",a&&"filled",r&&"focused",o&&"required"],asterisk:["asterisk",s&&"error"]};return Vn(l,YDe,t)},XDe=Qt("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...e.color==="secondary"&&t.colorSecondary,...e.filled&&t.filled})})(Bn(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t},style:{[`&.${bT.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${bT.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${bT.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),KDe=Qt("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(Bn(({theme:e})=>({[`&.${bT.error}`]:{color:(e.vars||e).palette.error.main}}))),Z6=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiFormLabel"}),{children:i,className:s,color:a,component:o="label",disabled:l,error:c,filled:d,focused:f,required:p,...g}=r,b=bh(),w=E1({props:r,muiFormControl:b,states:["color","required","focused","disabled","error","filled"]}),x={...r,color:w.color||"primary",component:o,disabled:w.disabled,error:w.error,filled:w.filled,focused:w.focused,required:w.required},T=ZDe(x);return U.jsxs(XDe,{as:o,ownerState:x,className:cn(T.root,s),ref:n,...g,children:[i,w.required&&U.jsxs(KDe,{ownerState:x,"aria-hidden":!0,className:T.asterisk,children:[" ","*"]})]})}),aJ=Y.createContext();function JDe(e){return Hn("MuiGrid",e)}const eNe=[0,1,2,3,4,5,6,7,8,9,10],tNe=["column-reverse","column","row-reverse","row"],nNe=["nowrap","wrap-reverse","wrap"],tw=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],gk=Yn("MuiGrid",["root","container","item","zeroMinWidth",...eNe.map(e=>`spacing-xs-${e}`),...tNe.map(e=>`direction-xs-${e}`),...nNe.map(e=>`wrap-xs-${e}`),...tw.map(e=>`grid-xs-${e}`),...tw.map(e=>`grid-sm-${e}`),...tw.map(e=>`grid-md-${e}`),...tw.map(e=>`grid-lg-${e}`),...tw.map(e=>`grid-xl-${e}`)]);function rNe({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((r,i)=>{let s={};if(t[i]&&(n=t[i]),!n)return r;if(n===!0)s={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")s={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const a=zb({values:t.columns,breakpoints:e.breakpoints.values}),o=typeof a=="object"?a[i]:a;if(o==null)return r;const l=`${Math.round(n/o*1e8)/1e6}%`;let c={};if(t.container&&t.item&&t.columnSpacing!==0){const d=e.spacing(t.columnSpacing);if(d!=="0px"){const f=`calc(${l} + ${d})`;c={flexBasis:f,maxWidth:f}}}s={flexBasis:l,flexGrow:0,maxWidth:l,...c}}return e.breakpoints.values[i]===0?Object.assign(r,s):r[e.breakpoints.up(i)]=s,r},{})}function iNe({theme:e,ownerState:t}){const n=zb({values:t.direction,breakpoints:e.breakpoints.values});return dc({theme:e},n,r=>{const i={flexDirection:r};return r.startsWith("column")&&(i[`& > .${gk.item}`]={maxWidth:"none"}),i})}function tde({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(i=>{n===""&&t[i]!==0&&(n=i)});const r=Object.keys(e).sort((i,s)=>e[i]-e[s]);return r.slice(0,r.indexOf(n))}function sNe({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let i={};if(n&&r!==0){const s=zb({values:r,breakpoints:e.breakpoints.values});let a;typeof s=="object"&&(a=tde({breakpoints:e.breakpoints.values,values:s})),i=dc({theme:e},s,(o,l)=>{const c=e.spacing(o);return c!=="0px"?{marginTop:e.spacing(-o),[`& > .${gk.item}`]:{paddingTop:c}}:a!=null&&a.includes(l)?{}:{marginTop:0,[`& > .${gk.item}`]:{paddingTop:0}}})}return i}function aNe({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let i={};if(n&&r!==0){const s=zb({values:r,breakpoints:e.breakpoints.values});let a;typeof s=="object"&&(a=tde({breakpoints:e.breakpoints.values,values:s})),i=dc({theme:e},s,(o,l)=>{const c=e.spacing(o);if(c!=="0px"){const d=e.spacing(-o);return{width:`calc(100% + ${c})`,marginLeft:d,[`& > .${gk.item}`]:{paddingLeft:c}}}return a!=null&&a.includes(l)?{}:{width:"100%",marginLeft:0,[`& > .${gk.item}`]:{paddingLeft:0}}})}return i}function oNe(e,t,n={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach(i=>{const s=e[i];Number(s)>0&&r.push(n[`spacing-${i}-${String(s)}`])}),r}const lNe=Qt("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:i,item:s,spacing:a,wrap:o,zeroMinWidth:l,breakpoints:c}=n;let d=[];r&&(d=oNe(a,c,t));const f=[];return c.forEach(p=>{const g=n[p];g&&f.push(t[`grid-${p}-${String(g)}`])}),[t.root,r&&t.container,s&&t.item,l&&t.zeroMinWidth,...d,i!=="row"&&t[`direction-xs-${String(i)}`],o!=="wrap"&&t[`wrap-xs-${String(o)}`],...f]}})(({ownerState:e})=>({boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},...e.item&&{margin:0},...e.zeroMinWidth&&{minWidth:0},...e.wrap!=="wrap"&&{flexWrap:e.wrap}}),iNe,sNe,aNe,rNe);function uNe(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(r=>{const i=e[r];if(Number(i)>0){const s=`spacing-${r}-${String(i)}`;n.push(s)}}),n}const cNe=e=>{const{classes:t,container:n,direction:r,item:i,spacing:s,wrap:a,zeroMinWidth:o,breakpoints:l}=e;let c=[];n&&(c=uNe(s,l));const d=[];l.forEach(p=>{const g=e[p];g&&d.push(`grid-${p}-${String(g)}`)});const f={root:["root",n&&"container",i&&"item",o&&"zeroMinWidth",...c,r!=="row"&&`direction-xs-${String(r)}`,a!=="wrap"&&`wrap-xs-${String(a)}`,...d]};return Vn(f,JDe,t)},AS=Y.forwardRef(function(t,n){const r=T_({props:t,name:"MuiGrid"}),{breakpoints:i}=Ap(),s=w_(r),{className:a,columns:o,columnSpacing:l,component:c="div",container:d=!1,direction:f="row",item:p=!1,rowSpacing:g,spacing:b=0,wrap:w="wrap",zeroMinWidth:x=!1,...T}=s,_=g||b,C=l||b,I=Y.useContext(aJ),M=d?o||12:I,$={},B={...T};i.keys.forEach(V=>{T[V]!=null&&($[V]=T[V],delete B[V])});const j={...s,columns:M,container:d,direction:f,item:p,rowSpacing:_,columnSpacing:C,wrap:w,zeroMinWidth:x,spacing:b,...$,breakpoints:i.keys},F=cNe(j);return U.jsx(aJ.Provider,{value:M,children:U.jsx(lNe,{ownerState:j,className:cn(F.root,a),as:c,ref:n,...B})})}),r4=w3e({createStyledComponent:Qt("div",{name:"MuiGrid2",slot:"Root",overridesResolver:(e,t)=>t.root}),componentName:"MuiGrid2",useThemeProps:e=>T_({props:e,name:"MuiGrid2"})});function TM(e){return`scale(${e}, ${e**2})`}const dNe={entering:{opacity:1,transform:TM(1)},entered:{opacity:1,transform:"none"}},iP=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),bk=Y.forwardRef(function(t,n){const{addEndListener:r,appear:i=!0,children:s,easing:a,in:o,onEnter:l,onEntered:c,onEntering:d,onExit:f,onExited:p,onExiting:g,style:b,timeout:w="auto",TransitionComponent:x=gh,...T}=t,_=Sb(),C=Y.useRef(),I=Ap(),M=Y.useRef(null),$=$i(M,OE(s),n),B=le=>ye=>{if(le){const ae=M.current;ye===void 0?le(ae):le(ae,ye)}},j=B(d),F=B((le,ye)=>{$ce(le);const{duration:ae,delay:Se,easing:he}=$O({style:b,timeout:w,easing:a},{mode:"enter"});let re;w==="auto"?(re=I.transitions.getAutoHeightDuration(le.clientHeight),C.current=re):re=ae,le.style.transition=[I.transitions.create("opacity",{duration:re,delay:Se}),I.transitions.create("transform",{duration:iP?re:re*.666,delay:Se,easing:he})].join(","),l&&l(le,ye)}),V=B(c),ie=B(g),se=B(le=>{const{duration:ye,delay:ae,easing:Se}=$O({style:b,timeout:w,easing:a},{mode:"exit"});let he;w==="auto"?(he=I.transitions.getAutoHeightDuration(le.clientHeight),C.current=he):he=ye,le.style.transition=[I.transitions.create("opacity",{duration:he,delay:ae}),I.transitions.create("transform",{duration:iP?he:he*.666,delay:iP?ae:ae||he*.333,easing:Se})].join(","),le.style.opacity=0,le.style.transform=TM(.75),f&&f(le)}),me=B(p),fe=le=>{w==="auto"&&_.start(C.current||0,le),r&&r(M.current,le)};return U.jsx(x,{appear:i,in:o,nodeRef:M,onEnter:F,onEntered:V,onEntering:j,onExit:se,onExited:me,onExiting:ie,addEndListener:fe,timeout:w==="auto"?null:w,...T,children:(le,ye)=>Y.cloneElement(s,{style:{opacity:0,transform:TM(.75),visibility:le==="exited"&&!o?"hidden":void 0,...dNe[le],...b,...s.props.style},ref:$,...ye})})});bk&&(bk.muiSupportAuto=!0);function fNe(e){return Hn("MuiIcon",e)}Yn("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const hNe=e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root",t!=="inherit"&&`color${jt(t)}`,`fontSize${jt(n)}`]};return Vn(i,fNe,r)},pNe=Qt("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${jt(n.color)}`],t[`fontSize${jt(n.fontSize)}`]]}})(Bn(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",overflow:"hidden",display:"inline-block",textAlign:"center",flexShrink:0,variants:[{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography.pxToRem(20)}},{props:{fontSize:"medium"},style:{fontSize:e.typography.pxToRem(24)}},{props:{fontSize:"large"},style:{fontSize:e.typography.pxToRem(36)}},{props:{color:"action"},style:{color:(e.vars||e).palette.action.active}},{props:{color:"disabled"},style:{color:(e.vars||e).palette.action.disabled}},{props:{color:"inherit"},style:{color:void 0}},...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),kM=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiIcon"}),{baseClassName:i="material-icons",className:s,color:a="inherit",component:o="span",fontSize:l="medium",...c}=r,d={...r,baseClassName:i,color:a,component:o,fontSize:l},f=hNe(d);return U.jsx(pNe,{as:o,className:cn(i,"notranslate",f.root,s),ownerState:d,"aria-hidden":!0,ref:n,...c})});kM&&(kM.muiName="Icon");const mNe=e=>{const{classes:t,disableUnderline:n}=e,i=Vn({root:["root",!n&&"underline"],input:["input"]},MIe,t);return{...t,...i}},gNe=Qt(V6,{shouldForwardProp:e=>El(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...W6(e,t),!n.disableUnderline&&t.underline]}})(Bn(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Eg.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Eg.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Eg.disabled}, .${Eg.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Eg.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(ca()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),bNe=Qt(G6,{name:"MuiInput",slot:"Input",overridesResolver:Q6})({}),a5=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiInput"}),{disableUnderline:i=!1,components:s={},componentsProps:a,fullWidth:o=!1,inputComponent:l="input",multiline:c=!1,slotProps:d,slots:f={},type:p="text",...g}=r,b=mNe(r),x={root:{ownerState:{disableUnderline:i}}},T=d??a?Xo(d??a,x):x,_=f.root??s.Root??gNe,C=f.input??s.Input??bNe;return U.jsx(Uz,{slots:{root:_,input:C},slotProps:T,fullWidth:o,inputComponent:l,multiline:c,ref:n,type:p,...g,classes:b})});a5&&(a5.muiName="Input");function yNe(e){return Hn("MuiInputAdornment",e)}const oJ=Yn("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var lJ;const vNe=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${jt(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},SNe=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:i,size:s,variant:a}=e,o={root:["root",n&&"disablePointerEvents",i&&`position${jt(i)}`,a,r&&"hiddenLabel",s&&`size${jt(s)}`]};return Vn(o,yNe,t)},ONe=Qt("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:vNe})(Bn(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${oJ.positionStart}&:not(.${oJ.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),_M=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiInputAdornment"}),{children:i,className:s,component:a="div",disablePointerEvents:o=!1,disableTypography:l=!1,position:c,variant:d,...f}=r,p=bh()||{};let g=d;d&&p.variant,p&&!g&&(g=p.variant);const b={...r,hiddenLabel:p.hiddenLabel,size:p.size,disablePointerEvents:o,position:c,variant:g},w=SNe(b);return U.jsx(j6.Provider,{value:null,children:U.jsx(ONe,{as:a,ownerState:b,className:cn(w.root,s),ref:n,...f,children:typeof i=="string"&&!l?U.jsx(fi,{color:"textSecondary",children:i}):U.jsxs(Y.Fragment,{children:[c==="start"?lJ||(lJ=U.jsx("span",{className:"notranslate",children:"​"})):null,i]})})})});function ENe(e){return Hn("MuiInputLabel",e)}Yn("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const wNe=e=>{const{classes:t,formControl:n,size:r,shrink:i,disableAnimation:s,variant:a,required:o}=e,l={root:["root",n&&"formControl",!s&&"animated",i&&"shrink",r&&r!=="normal"&&`size${jt(r)}`,a],asterisk:[o&&"asterisk"]},c=Vn(l,ENe,t);return{...t,...c}},xNe=Qt(Z6,{shouldForwardProp:e=>El(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${bT.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(Bn(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:r})=>t==="filled"&&n.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),nde=Y.forwardRef(function(t,n){const r=ir({name:"MuiInputLabel",props:t}),{disableAnimation:i=!1,margin:s,shrink:a,variant:o,className:l,...c}=r,d=bh();let f=a;typeof f>"u"&&d&&(f=d.filled||d.focused||d.adornedStart);const p=E1({props:r,muiFormControl:d,states:["size","variant","required","focused"]}),g={...r,disableAnimation:i,formControl:d,shrink:f,size:p.size,variant:p.variant,required:p.required,focused:p.focused},b=wNe(g);return U.jsx(xNe,{"data-shrink":f,ref:n,className:cn(b.root,l),...c,ownerState:g,classes:b})}),af=Y.createContext({});function TNe(e){return Hn("MuiList",e)}Yn("MuiList",["root","padding","dense","subheader"]);const kNe=e=>{const{classes:t,disablePadding:n,dense:r,subheader:i}=e;return Vn({root:["root",!n&&"padding",r&&"dense",i&&"subheader"]},TNe,t)},_Ne=Qt("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),rde=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiList"}),{children:i,className:s,component:a="ul",dense:o=!1,disablePadding:l=!1,subheader:c,...d}=r,f=Y.useMemo(()=>({dense:o}),[o]),p={...r,component:a,dense:o,disablePadding:l},g=kNe(p);return U.jsx(af.Provider,{value:f,children:U.jsxs(_Ne,{as:a,className:cn(g.root,s),ref:n,ownerState:p,...d,children:[c,i]})})});function ANe(e){return Hn("MuiListItem",e)}Yn("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function CNe(e){return Hn("MuiListItemButton",e)}const iS=Yn("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),RNe=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},INe=e=>{const{alignItems:t,classes:n,dense:r,disabled:i,disableGutters:s,divider:a,selected:o}=e,c=Vn({root:["root",r&&"dense",!s&&"gutters",a&&"divider",i&&"disabled",t==="flex-start"&&"alignItemsFlexStart",o&&"selected"]},CNe,n);return{...n,...c}},DNe=Qt(cm,{shouldForwardProp:e=>El(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:RNe})(Bn(({theme:e})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${iS.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:mr(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${iS.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:mr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${iS.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:mr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:mr(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${iS.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${iS.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.dense,style:{paddingTop:4,paddingBottom:4}}]}))),uJ=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiListItemButton"}),{alignItems:i="center",autoFocus:s=!1,component:a="div",children:o,dense:l=!1,disableGutters:c=!1,divider:d=!1,focusVisibleClassName:f,selected:p=!1,className:g,...b}=r,w=Y.useContext(af),x=Y.useMemo(()=>({dense:l||w.dense||!1,alignItems:i,disableGutters:c}),[i,w.dense,l,c]),T=Y.useRef(null);ld(()=>{s&&T.current&&T.current.focus()},[s]);const _={...r,alignItems:i,dense:x.dense,disableGutters:c,divider:d,selected:p},C=INe(_),I=$i(T,n);return U.jsx(af.Provider,{value:x,children:U.jsx(DNe,{ref:I,href:b.href||b.to,component:(b.href||b.to)&&a==="div"?"button":a,focusVisibleClassName:cn(C.focusVisible,f),ownerState:_,className:cn(C.root,g),...b,classes:C,children:o})})});function NNe(e){return Hn("MuiListItemSecondaryAction",e)}Yn("MuiListItemSecondaryAction",["root","disableGutters"]);const PNe=e=>{const{disableGutters:t,classes:n}=e;return Vn({root:["root",t&&"disableGutters"]},NNe,n)},LNe=Qt("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),jz=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiListItemSecondaryAction"}),{className:i,...s}=r,a=Y.useContext(af),o={...r,disableGutters:a.disableGutters},l=PNe(o);return U.jsx(LNe,{className:cn(l.root,i),ownerState:o,ref:n,...s})});jz.muiName="ListItemSecondaryAction";const MNe=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.hasSecondaryAction&&t.secondaryAction]},FNe=e=>{const{alignItems:t,classes:n,dense:r,disableGutters:i,disablePadding:s,divider:a,hasSecondaryAction:o}=e;return Vn({root:["root",r&&"dense",!i&&"gutters",!s&&"padding",a&&"divider",t==="flex-start"&&"alignItemsFlexStart",o&&"secondaryAction"],container:["container"]},ANe,n)},$Ne=Qt("div",{name:"MuiListItem",slot:"Root",overridesResolver:MNe})(Bn(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>!t.disablePadding&&t.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:t})=>!t.disablePadding&&!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>!t.disablePadding&&!!t.secondaryAction,style:{paddingRight:48}},{props:({ownerState:t})=>!!t.secondaryAction,style:{[`& > .${iS.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>t.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:t})=>t.hasSecondaryAction,style:{paddingRight:48}}]}))),BNe=Qt("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),UNe=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiListItem"}),{alignItems:i="center",children:s,className:a,component:o,components:l={},componentsProps:c={},ContainerComponent:d="li",ContainerProps:{className:f,...p}={},dense:g=!1,disableGutters:b=!1,disablePadding:w=!1,divider:x=!1,secondaryAction:T,slotProps:_={},slots:C={},...I}=r,M=Y.useContext(af),$=Y.useMemo(()=>({dense:g||M.dense||!1,alignItems:i,disableGutters:b}),[i,M.dense,g,b]),B=Y.useRef(null),j=Y.Children.toArray(s),F=j.length&&fT(j[j.length-1],["ListItemSecondaryAction"]),V={...r,alignItems:i,dense:$.dense,disableGutters:b,disablePadding:w,divider:x,hasSecondaryAction:F},ie=FNe(V),se=$i(B,n),me=C.root||l.Root||$Ne,fe=_.root||c.root||{},le={className:cn(ie.root,fe.className,a),...I};let ye=o||"li";return F?(ye=!le.component&&!o?"div":ye,d==="li"&&(ye==="li"?ye="div":le.component==="li"&&(le.component="div")),U.jsx(af.Provider,{value:$,children:U.jsxs(BNe,{as:d,className:cn(ie.container,f),ref:se,ownerState:V,...p,children:[U.jsx(me,{...fe,...!K0(me)&&{as:ye,ownerState:{...V,...fe.ownerState}},...le,children:j}),j.pop()]})})):U.jsx(af.Provider,{value:$,children:U.jsxs(me,{...fe,as:ye,ref:se,...!K0(me)&&{ownerState:{...V,...fe.ownerState}},...le,children:[j,T&&U.jsx(jz,{children:T})]})})});function zNe(e){return Hn("MuiListItemAvatar",e)}Yn("MuiListItemAvatar",["root","alignItemsFlexStart"]);const HNe=e=>{const{alignItems:t,classes:n}=e;return Vn({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},zNe,n)},qNe=Qt("div",{name:"MuiListItemAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})({minWidth:56,flexShrink:0,variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}),jNe=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiListItemAvatar"}),{className:i,...s}=r,a=Y.useContext(af),o={...r,alignItems:a.alignItems},l=HNe(o);return U.jsx(qNe,{className:cn(l.root,i),ownerState:o,ref:n,...s})});function WNe(e){return Hn("MuiListItemIcon",e)}const cJ=Yn("MuiListItemIcon",["root","alignItemsFlexStart"]),QNe=e=>{const{alignItems:t,classes:n}=e;return Vn({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},WNe,n)},VNe=Qt("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(Bn(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),J0=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiListItemIcon"}),{className:i,...s}=r,a=Y.useContext(af),o={...r,alignItems:a.alignItems},l=QNe(o);return U.jsx(VNe,{className:cn(l.root,i),ownerState:o,ref:n,...s})});function GNe(e){return Hn("MuiListItemText",e)}const CS=Yn("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),YNe=e=>{const{classes:t,inset:n,primary:r,secondary:i,dense:s}=e;return Vn({root:["root",n&&"inset",s&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]},GNe,t)},ZNe=Qt("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${CS.primary}`]:t.primary},{[`& .${CS.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${PK.root}:where(& .${CS.primary})`]:{display:"block"},[`.${PK.root}:where(& .${CS.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),ah=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiListItemText"}),{children:i,className:s,disableTypography:a=!1,inset:o=!1,primary:l,primaryTypographyProps:c,secondary:d,secondaryTypographyProps:f,...p}=r,{dense:g}=Y.useContext(af);let b=l??i,w=d;const x={...r,disableTypography:a,inset:o,primary:!!b,secondary:!!w,dense:g},T=YNe(x);return b!=null&&b.type!==fi&&!a&&(b=U.jsx(fi,{variant:g?"body2":"body1",className:T.primary,component:c!=null&&c.variant?void 0:"span",...c,children:b})),w!=null&&w.type!==fi&&!a&&(w=U.jsx(fi,{variant:"body2",className:T.secondary,color:"textSecondary",...f,children:w})),U.jsxs(ZNe,{className:cn(T.root,s),ownerState:x,ref:n,...p,children:[b,w]})});function sP(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function dJ(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function ide(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function nw(e,t,n,r,i,s){let a=!1,o=i(e,t,t?n:!1);for(;o;){if(o===e.firstChild){if(a)return!1;a=!0}const l=r?!1:o.disabled||o.getAttribute("aria-disabled")==="true";if(!o.hasAttribute("tabindex")||!ide(o,s)||l)o=i(e,o,n);else return o.focus(),!0}return!1}const qO=Y.forwardRef(function(t,n){const{actions:r,autoFocus:i=!1,autoFocusItem:s=!1,children:a,className:o,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:d,variant:f="selectedMenu",...p}=t,g=Y.useRef(null),b=Y.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});ld(()=>{i&&g.current.focus()},[i]),Y.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(C,{direction:I})=>{const M=!g.current.style.width;if(C.clientHeight{const I=g.current,M=C.key;if(C.ctrlKey||C.metaKey||C.altKey){d&&d(C);return}const B=Io(I).activeElement;if(M==="ArrowDown")C.preventDefault(),nw(I,B,c,l,sP);else if(M==="ArrowUp")C.preventDefault(),nw(I,B,c,l,dJ);else if(M==="Home")C.preventDefault(),nw(I,null,c,l,sP);else if(M==="End")C.preventDefault(),nw(I,null,c,l,dJ);else if(M.length===1){const j=b.current,F=M.toLowerCase(),V=performance.now();j.keys.length>0&&(V-j.lastTime>500?(j.keys=[],j.repeating=!0,j.previousKeyMatched=!0):j.repeating&&F!==j.keys[0]&&(j.repeating=!1)),j.lastTime=V,j.keys.push(F);const ie=B&&!j.repeating&&ide(B,j);j.previousKeyMatched&&(ie||nw(I,B,!1,l,sP,j))?C.preventDefault():j.previousKeyMatched=!1}d&&d(C)},x=$i(g,n);let T=-1;Y.Children.forEach(a,(C,I)=>{if(!Y.isValidElement(C)){T===I&&(T+=1,T>=a.length&&(T=-1));return}C.props.disabled||(f==="selectedMenu"&&C.props.selected||T===-1)&&(T=I),T===I&&(C.props.disabled||C.props.muiSkipListHighlight||C.type.muiSkipListHighlight)&&(T+=1,T>=a.length&&(T=-1))});const _=Y.Children.map(a,(C,I)=>{if(I===T){const M={};return s&&(M.autoFocus=!0),C.props.tabIndex===void 0&&f==="selectedMenu"&&(M.tabIndex=0),Y.cloneElement(C,M)}return C});return U.jsx(rde,{role:"menu",ref:x,className:o,onKeyDown:w,tabIndex:i?0:-1,...p,children:_})});function XNe(e){return Hn("MuiPopover",e)}Yn("MuiPopover",["root","paper"]);function fJ(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function hJ(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function pJ(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function aP(e){return typeof e=="function"?e():e}const KNe=e=>{const{classes:t}=e;return Vn({root:["root"],paper:["paper"]},XNe,t)},JNe=Qt(xE,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),sde=Qt(Ko,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Ay=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiPopover"}),{action:i,anchorEl:s,anchorOrigin:a={vertical:"top",horizontal:"left"},anchorPosition:o,anchorReference:l="anchorEl",children:c,className:d,container:f,elevation:p=8,marginThreshold:g=16,open:b,PaperProps:w={},slots:x={},slotProps:T={},transformOrigin:_={vertical:"top",horizontal:"left"},TransitionComponent:C=bk,transitionDuration:I="auto",TransitionProps:{onEntering:M,...$}={},disableScrollLock:B=!1,...j}=r,F=(T==null?void 0:T.paper)??w,V=Y.useRef(),ie={...r,anchorOrigin:a,anchorReference:l,elevation:p,marginThreshold:g,externalPaperSlotProps:F,transformOrigin:_,TransitionComponent:C,transitionDuration:I,TransitionProps:$},se=KNe(ie),me=Y.useCallback(()=>{if(l==="anchorPosition")return o;const Ht=aP(s),Vt=(Ht&&Ht.nodeType===1?Ht:Io(V.current).body).getBoundingClientRect();return{top:Vt.top+fJ(Vt,a.vertical),left:Vt.left+hJ(Vt,a.horizontal)}},[s,a.horizontal,a.vertical,o,l]),fe=Y.useCallback(Ht=>({vertical:fJ(Ht,_.vertical),horizontal:hJ(Ht,_.horizontal)}),[_.horizontal,_.vertical]),le=Y.useCallback(Ht=>{const Jt={width:Ht.offsetWidth,height:Ht.offsetHeight},Vt=fe(Jt);if(l==="none")return{top:null,left:null,transformOrigin:pJ(Vt)};const en=me();let Ct=en.top-Vt.vertical,Xe=en.left-Vt.horizontal;const Ut=Ct+Jt.height,sn=Xe+Jt.width,te=sy(aP(s)),de=te.innerHeight-g,we=te.innerWidth-g;if(g!==null&&Ctde){const We=Ut-de;Ct-=We,Vt.vertical+=We}if(g!==null&&Xewe){const We=sn-we;Xe-=We,Vt.horizontal+=We}return{top:`${Math.round(Ct)}px`,left:`${Math.round(Xe)}px`,transformOrigin:pJ(Vt)}},[s,l,me,fe,g]),[ye,ae]=Y.useState(b),Se=Y.useCallback(()=>{const Ht=V.current;if(!Ht)return;const Jt=le(Ht);Jt.top!==null&&Ht.style.setProperty("top",Jt.top),Jt.left!==null&&(Ht.style.left=Jt.left),Ht.style.transformOrigin=Jt.transformOrigin,ae(!0)},[le]);Y.useEffect(()=>(B&&window.addEventListener("scroll",Se),()=>window.removeEventListener("scroll",Se)),[s,B,Se]);const he=(Ht,Jt)=>{M&&M(Ht,Jt),Se()},re=()=>{ae(!1)};Y.useEffect(()=>{b&&Se()}),Y.useImperativeHandle(i,()=>b?{updatePosition:()=>{Se()}}:null,[b,Se]),Y.useEffect(()=>{if(!b)return;const Ht=wce(()=>{Se()}),Jt=sy(s);return Jt.addEventListener("resize",Ht),()=>{Ht.clear(),Jt.removeEventListener("resize",Ht)}},[s,b,Se]);let Fe=I;I==="auto"&&!C.muiSupportAuto&&(Fe=void 0);const je=f||(s?Io(aP(s)).body:void 0),ue={slots:x,slotProps:{...T,paper:F}},[tt,St]=gl("paper",{elementType:sde,externalForwardedProps:ue,additionalProps:{elevation:p,className:cn(se.paper,F==null?void 0:F.className),style:ye?F.style:{...F.style,opacity:0}},ownerState:ie}),[Ze,{slotProps:qt,...xt}]=gl("root",{elementType:JNe,externalForwardedProps:ue,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:je,open:b},ownerState:ie,className:cn(se.root,d)}),Nt=$i(V,St.ref);return U.jsx(Ze,{...xt,...!K0(Ze)&&{slotProps:qt,disableScrollLock:B},...j,ref:n,children:U.jsx(C,{appear:!0,in:b,onEntering:he,onExited:re,timeout:Fe,...$,children:U.jsx(tt,{...St,ref:Nt,children:c})})})});function e7e(e){return Hn("MuiMenu",e)}Yn("MuiMenu",["root","paper","list"]);const t7e={vertical:"top",horizontal:"right"},n7e={vertical:"top",horizontal:"left"},r7e=e=>{const{classes:t}=e;return Vn({root:["root"],paper:["paper"],list:["list"]},e7e,t)},i7e=Qt(Ay,{shouldForwardProp:e=>El(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),s7e=Qt(sde,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),a7e=Qt(qO,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Wz=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiMenu"}),{autoFocus:i=!0,children:s,className:a,disableAutoFocusItem:o=!1,MenuListProps:l={},onClose:c,open:d,PaperProps:f={},PopoverClasses:p,transitionDuration:g="auto",TransitionProps:{onEntering:b,...w}={},variant:x="selectedMenu",slots:T={},slotProps:_={},...C}=r,I=F6(),M={...r,autoFocus:i,disableAutoFocusItem:o,MenuListProps:l,onEntering:b,PaperProps:f,transitionDuration:g,TransitionProps:w,variant:x},$=r7e(M),B=i&&!o&&d,j=Y.useRef(null),F=(ye,ae)=>{j.current&&j.current.adjustStyleForScrollbar(ye,{direction:I?"rtl":"ltr"}),b&&b(ye,ae)},V=ye=>{ye.key==="Tab"&&(ye.preventDefault(),c&&c(ye,"tabKeyDown"))};let ie=-1;Y.Children.map(s,(ye,ae)=>{Y.isValidElement(ye)&&(ye.props.disabled||(x==="selectedMenu"&&ye.props.selected||ie===-1)&&(ie=ae))});const se=T.paper??s7e,me=_.paper??f,fe=Qf({elementType:T.root,externalSlotProps:_.root,ownerState:M,className:[$.root,a]}),le=Qf({elementType:se,externalSlotProps:me,ownerState:M,className:$.paper});return U.jsx(i7e,{onClose:c,anchorOrigin:{vertical:"bottom",horizontal:I?"right":"left"},transformOrigin:I?t7e:n7e,slots:{paper:se,root:T.root},slotProps:{root:fe,paper:le},open:d,ref:n,transitionDuration:g,TransitionProps:{onEntering:F,...w},ownerState:M,...C,classes:p,children:U.jsx(a7e,{onKeyDown:V,actions:j,autoFocus:i&&(ie===-1||o),autoFocusItem:B,variant:x,...l,className:cn($.list,l.className),children:s})})});function o7e(e){return Hn("MuiMenuItem",e)}const rw=Yn("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),l7e=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},u7e=e=>{const{disabled:t,dense:n,divider:r,disableGutters:i,selected:s,classes:a}=e,l=Vn({root:["root",n&&"dense",t&&"disabled",!i&&"gutters",r&&"divider",s&&"selected"]},o7e,a);return{...a,...l}},c7e=Qt(cm,{shouldForwardProp:e=>El(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:l7e})(Bn(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${rw.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:mr(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${rw.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:mr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${rw.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:mr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:mr(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${rw.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${rw.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${rJ.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${rJ.inset}`]:{marginLeft:52},[`& .${CS.root}`]:{marginTop:0,marginBottom:0},[`& .${CS.inset}`]:{paddingLeft:36},[`& .${cJ.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${cJ.root} svg`]:{fontSize:"1.25rem"}}}]}))),oc=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiMenuItem"}),{autoFocus:i=!1,component:s="li",dense:a=!1,divider:o=!1,disableGutters:l=!1,focusVisibleClassName:c,role:d="menuitem",tabIndex:f,className:p,...g}=r,b=Y.useContext(af),w=Y.useMemo(()=>({dense:a||b.dense||!1,disableGutters:l}),[b.dense,a,l]),x=Y.useRef(null);ld(()=>{i&&x.current&&x.current.focus()},[i]);const T={...r,dense:w.dense,divider:o,disableGutters:l},_=u7e(r),C=$i(x,n);let I;return r.disabled||(I=f!==void 0?f:-1),U.jsx(af.Provider,{value:w,children:U.jsx(c7e,{ref:C,role:d,tabIndex:I,component:s,focusVisibleClassName:cn(_.focusVisible,c),className:cn(_.root,p),...g,ownerState:T,classes:_})})});function d7e(e){return Hn("MuiNativeSelect",e)}const Qz=Yn("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),f7e=e=>{const{classes:t,variant:n,disabled:r,multiple:i,open:s,error:a}=e,o={select:["select",n,r&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${jt(n)}`,s&&"iconOpen",r&&"disabled"]};return Vn(o,d7e,t)},ade=Qt("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Qz.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),h7e=Qt(ade,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:El,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${Qz.multiple}`]:t.multiple}]}})({}),ode=Qt("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${Qz.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),p7e=Qt(ode,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${jt(n.variant)}`],n.open&&t.iconOpen]}})({}),m7e=Y.forwardRef(function(t,n){const{className:r,disabled:i,error:s,IconComponent:a,inputRef:o,variant:l="standard",...c}=t,d={...t,disabled:i,variant:l,error:s},f=f7e(d);return U.jsxs(Y.Fragment,{children:[U.jsx(h7e,{ownerState:d,className:cn(f.select,r),disabled:i,ref:o||n,...c}),t.multiple?null:U.jsx(p7e,{as:a,ownerState:d,className:f.icon})]})});var mJ;const g7e=Qt("fieldset",{shouldForwardProp:El})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),b7e=Qt("legend",{shouldForwardProp:El})(Bn(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function y7e(e){const{children:t,classes:n,className:r,label:i,notched:s,...a}=e,o=i!=null&&i!=="",l={...e,notched:s,withLabel:o};return U.jsx(g7e,{"aria-hidden":!0,className:r,ownerState:l,...a,children:U.jsx(b7e,{ownerState:l,children:o?U.jsx("span",{children:i}):mJ||(mJ=U.jsx("span",{className:"notranslate",children:"​"}))})})}const v7e=e=>{const{classes:t}=e,r=Vn({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},FIe,t);return{...t,...r}},S7e=Qt(V6,{shouldForwardProp:e=>El(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:W6})(Bn(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Bd.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},[`&.${Bd.focused} .${Bd.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(ca()).map(([n])=>({props:{color:n},style:{[`&.${Bd.focused} .${Bd.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{"@media (hover: none)":{[`&:hover .${Bd.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${Bd.error} .${Bd.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Bd.disabled} .${Bd.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),O7e=Qt(y7e,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(Bn(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),E7e=Qt(G6,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Q6})(Bn(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),o5=Y.forwardRef(function(t,n){var r;const i=ir({props:t,name:"MuiOutlinedInput"}),{components:s={},fullWidth:a=!1,inputComponent:o="input",label:l,multiline:c=!1,notched:d,slots:f={},type:p="text",...g}=i,b=v7e(i),w=bh(),x=E1({props:i,muiFormControl:w,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),T={...i,color:x.color||"primary",disabled:x.disabled,error:x.error,focused:x.focused,formControl:w,fullWidth:a,hiddenLabel:x.hiddenLabel,multiline:c,size:x.size,type:p},_=f.root??s.Root??S7e,C=f.input??s.Input??E7e;return U.jsx(Uz,{slots:{root:_,input:C},renderSuffix:I=>U.jsx(O7e,{ownerState:T,className:b.notchedOutline,label:l!=null&&l!==""&&x.required?r||(r=U.jsxs(Y.Fragment,{children:[l," ","*"]})):l,notched:typeof d<"u"?d:!!(I.startAdornment||I.filled||I.focused)}),fullWidth:a,inputComponent:o,multiline:c,ref:n,type:p,...g,classes:{...b,notchedOutline:null}})});o5&&(o5.muiName="Input");const w7e=pi(U.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),x7e=pi(U.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),T7e=Qt("span",{shouldForwardProp:El})({position:"relative",display:"flex"}),k7e=Qt(w7e)({transform:"scale(1)"}),_7e=Qt(x7e)(Bn(({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function lde(e){const{checked:t=!1,classes:n={},fontSize:r}=e,i={...e,checked:t};return U.jsxs(T7e,{className:n.root,ownerState:i,children:[U.jsx(k7e,{fontSize:r,className:n.background,ownerState:i}),U.jsx(_7e,{fontSize:r,className:n.dot,ownerState:i})]})}const ude=Y.createContext(void 0);function A7e(){return Y.useContext(ude)}function C7e(e){return Hn("MuiRadio",e)}const gJ=Yn("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),R7e=e=>{const{classes:t,color:n,size:r}=e,i={root:["root",`color${jt(n)}`,r!=="medium"&&`size${jt(r)}`]};return{...t,...Vn(i,C7e,t)}},I7e=Qt(zz,{shouldForwardProp:e=>El(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size!=="medium"&&t[`size${jt(n.size)}`],t[`color${jt(n.color)}`]]}})(Bn(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${gJ.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${gJ.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function D7e(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}const bJ=U.jsx(lde,{checked:!0}),yJ=U.jsx(lde,{}),vJ=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiRadio"}),{checked:i,checkedIcon:s=bJ,color:a="primary",icon:o=yJ,name:l,onChange:c,size:d="medium",className:f,disabled:p,disableRipple:g=!1,...b}=r,w=bh();let x=p;w&&typeof x>"u"&&(x=w.disabled),x??(x=!1);const T={...r,disabled:x,disableRipple:g,color:a,size:d},_=R7e(T),C=A7e();let I=i;const M=dM(c,C&&C.onChange);let $=l;return C&&(typeof I>"u"&&(I=D7e(C.value,r.value)),typeof $>"u"&&($=C.name)),U.jsx(I7e,{type:"radio",icon:Y.cloneElement(o,{fontSize:yJ.props.fontSize??d}),checkedIcon:Y.cloneElement(s,{fontSize:bJ.props.fontSize??d}),disabled:x,ownerState:T,classes:_,name:$,checked:I,onChange:M,ref:n,className:cn(_.root,f),...b})});function N7e(e){return Hn("MuiRadioGroup",e)}Yn("MuiRadioGroup",["root","row","error"]);const P7e=e=>{const{classes:t,row:n,error:r}=e;return Vn({root:["root",n&&"row",r&&"error"]},N7e,t)},L7e=Y.forwardRef(function(t,n){const{actions:r,children:i,className:s,defaultValue:a,name:o,onChange:l,value:c,...d}=t,f=Y.useRef(null),p=P7e(t),[g,b]=X0({controlled:c,default:a,name:"RadioGroup"});Y.useImperativeHandle(r,()=>({focus:()=>{let _=f.current.querySelector("input:not(:disabled):checked");_||(_=f.current.querySelector("input:not(:disabled)")),_&&_.focus()}}),[]);const w=$i(n,f),x=x_(o),T=Y.useMemo(()=>({name:x,onChange(_){b(_.target.value),l&&l(_,_.target.value)},value:g}),[x,l,b,g]);return U.jsx(ude.Provider,{value:T,children:U.jsx(qz,{role:"radiogroup",ref:w,className:cn(p.root,s),...d,children:i})})});function M7e(e){return Hn("MuiSelect",e)}const iw=Yn("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var SJ;const F7e=Qt(ade,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${iw.select}`]:t.select},{[`&.${iw.select}`]:t[n.variant]},{[`&.${iw.error}`]:t.error},{[`&.${iw.multiple}`]:t.multiple}]}})({[`&.${iw.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),$7e=Qt(ode,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${jt(n.variant)}`],n.open&&t.iconOpen]}})({}),B7e=Qt("input",{shouldForwardProp:e=>z6(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function OJ(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function U7e(e){return e==null||typeof e=="string"&&!e.trim()}const z7e=e=>{const{classes:t,variant:n,disabled:r,multiple:i,open:s,error:a}=e,o={select:["select",n,r&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${jt(n)}`,s&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Vn(o,M7e,t)},H7e=Y.forwardRef(function(t,n){var Fn;const{"aria-describedby":r,"aria-label":i,autoFocus:s,autoWidth:a,children:o,className:l,defaultOpen:c,defaultValue:d,disabled:f,displayEmpty:p,error:g=!1,IconComponent:b,inputRef:w,labelId:x,MenuProps:T={},multiple:_,name:C,onBlur:I,onChange:M,onClose:$,onFocus:B,onOpen:j,open:F,readOnly:V,renderValue:ie,SelectDisplayProps:se={},tabIndex:me,type:fe,value:le,variant:ye="standard",...ae}=t,[Se,he]=X0({controlled:le,default:d,name:"Select"}),[re,Fe]=X0({controlled:F,default:c,name:"Select"}),je=Y.useRef(null),ue=Y.useRef(null),[tt,St]=Y.useState(null),{current:Ze}=Y.useRef(F!=null),[qt,xt]=Y.useState(),Nt=$i(n,w),Ht=Y.useCallback(kt=>{ue.current=kt,kt&&St(kt)},[]),Jt=tt==null?void 0:tt.parentNode;Y.useImperativeHandle(Nt,()=>({focus:()=>{ue.current.focus()},node:je.current,value:Se}),[Se]),Y.useEffect(()=>{c&&re&&tt&&!Ze&&(xt(a?null:Jt.clientWidth),ue.current.focus())},[tt,a]),Y.useEffect(()=>{s&&ue.current.focus()},[s]),Y.useEffect(()=>{if(!x)return;const kt=Io(ue.current).getElementById(x);if(kt){const ct=()=>{getSelection().isCollapsed&&ue.current.focus()};return kt.addEventListener("click",ct),()=>{kt.removeEventListener("click",ct)}}},[x]);const Vt=(kt,ct)=>{kt?j&&j(ct):$&&$(ct),Ze||(xt(a?null:Jt.clientWidth),Fe(kt))},en=kt=>{kt.button===0&&(kt.preventDefault(),ue.current.focus(),Vt(!0,kt))},Ct=kt=>{Vt(!1,kt)},Xe=Y.Children.toArray(o),Ut=kt=>{const ct=Xe.find(fn=>fn.props.value===kt.target.value);ct!==void 0&&(he(ct.props.value),M&&M(kt,ct))},sn=kt=>ct=>{let fn;if(ct.currentTarget.hasAttribute("tabindex")){if(_){fn=Array.isArray(Se)?Se.slice():[];const Rn=Se.indexOf(kt.props.value);Rn===-1?fn.push(kt.props.value):fn.splice(Rn,1)}else fn=kt.props.value;if(kt.props.onClick&&kt.props.onClick(ct),Se!==fn&&(he(fn),M)){const Rn=ct.nativeEvent||ct,Sr=new Rn.constructor(Rn.type,Rn);Object.defineProperty(Sr,"target",{writable:!0,value:{value:fn,name:C}}),M(Sr,kt)}_||Vt(!1,ct)}},te=kt=>{V||[" ","ArrowUp","ArrowDown","Enter"].includes(kt.key)&&(kt.preventDefault(),Vt(!0,kt))},de=tt!==null&&re,we=kt=>{!de&&I&&(Object.defineProperty(kt,"target",{writable:!0,value:{value:Se,name:C}}),I(kt))};delete ae["aria-invalid"];let We,Ke;const xe=[];let Qe=!1;(r5({value:Se})||p)&&(ie?We=ie(Se):Qe=!0);const yt=Xe.map(kt=>{if(!Y.isValidElement(kt))return null;let ct;if(_){if(!Array.isArray(Se))throw new Error(lm(2));ct=Se.some(fn=>OJ(fn,kt.props.value)),ct&&Qe&&xe.push(kt.props.children)}else ct=OJ(Se,kt.props.value),ct&&Qe&&(Ke=kt.props.children);return Y.cloneElement(kt,{"aria-selected":ct?"true":"false",onClick:sn(kt),onKeyUp:fn=>{fn.key===" "&&fn.preventDefault(),kt.props.onKeyUp&&kt.props.onKeyUp(fn)},role:"option",selected:ct,value:void 0,"data-value":kt.props.value})});Qe&&(_?xe.length===0?We=null:We=xe.reduce((kt,ct,fn)=>(kt.push(ct),fn{const{classes:t}=e;return t},Vz={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>El(e)&&e!=="variant",slot:"Root"},j7e=Qt(a5,Vz)(""),W7e=Qt(o5,Vz)(""),Q7e=Qt(s5,Vz)(""),Gz=Y.forwardRef(function(t,n){const r=T_({name:"MuiSelect",props:t}),{autoWidth:i=!1,children:s,classes:a={},className:o,defaultOpen:l=!1,displayEmpty:c=!1,IconComponent:d=Xce,id:f,input:p,inputProps:g,label:b,labelId:w,MenuProps:x,multiple:T=!1,native:_=!1,onClose:C,onOpen:I,open:M,renderValue:$,SelectDisplayProps:B,variant:j="outlined",...F}=r,V=_?m7e:H7e,ie=bh(),se=E1({props:r,muiFormControl:ie,states:["variant","error"]}),me=se.variant||j,fe={...r,variant:me,classes:a},le=q7e(fe),{root:ye,...ae}=le,Se=p||{standard:U.jsx(j7e,{ownerState:fe}),outlined:U.jsx(W7e,{label:b,ownerState:fe}),filled:U.jsx(Q7e,{ownerState:fe})}[me],he=$i(n,OE(Se));return U.jsx(Y.Fragment,{children:Y.cloneElement(Se,{inputComponent:V,inputProps:{children:s,error:se.error,IconComponent:d,variant:me,type:void 0,multiple:T,..._?{id:f}:{autoWidth:i,defaultOpen:l,displayEmpty:c,labelId:w,MenuProps:x,onClose:C,onOpen:I,open:M,renderValue:$,SelectDisplayProps:{id:f,...B}},...g,classes:g?Xo(ae,g.classes):ae,...p?p.props.inputProps:{}},...(T&&_||c)&&me==="outlined"?{notched:!0}:{},ref:he,className:cn(Se.props.className,o,le.root),...!p&&{variant:me},...F})})});Gz.muiName="Select";function V7e(e,t,n=(r,i)=>r===i){return e.length===t.length&&e.every((r,i)=>n(r,t[i]))}const G7e=2;function cde(e,t){return e-t}function EJ(e,t){const{index:n}=e.reduce((r,i,s)=>{const a=Math.abs(t-i);return r===null||a({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},J7e=e=>e;let o4;function xJ(){return o4===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?o4=CSS.supports("touch-action","none"):o4=!0),o4}function ePe(e){const{"aria-labelledby":t,defaultValue:n,disabled:r=!1,disableSwap:i=!1,isRtl:s=!1,marks:a=!1,max:o=100,min:l=0,name:c,onChange:d,onChangeCommitted:f,orientation:p="horizontal",rootRef:g,scale:b=J7e,step:w=1,shiftStep:x=10,tabIndex:T,value:_}=e,C=Y.useRef(void 0),[I,M]=Y.useState(-1),[$,B]=Y.useState(-1),[j,F]=Y.useState(!1),V=Y.useRef(0),[ie,se]=X0({controlled:_,default:n??l,name:"Slider"}),me=d&&((xe,Qe,yt)=>{const Be=xe.nativeEvent||xe,Ne=new Be.constructor(Be.type,Be);Object.defineProperty(Ne,"target",{writable:!0,value:{value:Qe,name:c}}),d(Ne,Qe,yt)}),fe=Array.isArray(ie);let le=fe?ie.slice().sort(cde):[ie];le=le.map(xe=>xe==null?l:nS(xe,l,o));const ye=a===!0&&w!==null?[...Array(Math.floor((o-l)/w)+1)].map((xe,Qe)=>({value:l+w*Qe})):a||[],ae=ye.map(xe=>xe.value),[Se,he]=Y.useState(-1),re=Y.useRef(null),Fe=$i(g,re),je=xe=>Qe=>{var Be;const yt=Number(Qe.currentTarget.getAttribute("data-index"));FO(Qe.target)&&he(yt),B(yt),(Be=xe==null?void 0:xe.onFocus)==null||Be.call(xe,Qe)},ue=xe=>Qe=>{var yt;FO(Qe.target)||he(-1),B(-1),(yt=xe==null?void 0:xe.onBlur)==null||yt.call(xe,Qe)},tt=(xe,Qe)=>{const yt=Number(xe.currentTarget.getAttribute("data-index")),Be=le[yt],Ne=ae.indexOf(Be);let rt=Qe;if(ye&&w==null){const pt=ae[ae.length-1];rt>pt?rt=pt:rtQe=>{var yt;if(w!==null){const Be=Number(Qe.currentTarget.getAttribute("data-index")),Ne=le[Be];let rt=null;(Qe.key==="ArrowLeft"||Qe.key==="ArrowDown")&&Qe.shiftKey||Qe.key==="PageDown"?rt=Math.max(Ne-x,l):((Qe.key==="ArrowRight"||Qe.key==="ArrowUp")&&Qe.shiftKey||Qe.key==="PageUp")&&(rt=Math.min(Ne+x,o)),rt!==null&&(tt(Qe,rt),Qe.preventDefault())}(yt=xe==null?void 0:xe.onKeyDown)==null||yt.call(xe,Qe)};ld(()=>{var xe;r&&re.current.contains(document.activeElement)&&((xe=document.activeElement)==null||xe.blur())},[r]),r&&I!==-1&&M(-1),r&&Se!==-1&&he(-1);const Ze=xe=>Qe=>{var yt;(yt=xe.onChange)==null||yt.call(xe,Qe),tt(Qe,Qe.target.valueAsNumber)},qt=Y.useRef(void 0);let xt=p;s&&p==="horizontal"&&(xt+="-reverse");const Nt=({finger:xe,move:Qe=!1})=>{const{current:yt}=re,{width:Be,height:Ne,bottom:rt,left:pt}=yt.getBoundingClientRect();let Dt;xt.startsWith("vertical")?Dt=(rt-xe.y)/Ne:Dt=(xe.x-pt)/Be,xt.includes("-reverse")&&(Dt=1-Dt);let Gt;if(Gt=Y7e(Dt,l,o),w)Gt=X7e(Gt,w,l);else{const Fn=EJ(ae,Gt);Gt=ae[Fn]}Gt=nS(Gt,l,o);let Pn=0;if(fe){Qe?Pn=qt.current:Pn=EJ(le,Gt),i&&(Gt=nS(Gt,le[Pn-1]||-1/0,le[Pn+1]||1/0));const Fn=Gt;Gt=wJ({values:le,newValue:Gt,index:Pn}),i&&Qe||(Pn=Gt.indexOf(Fn),qt.current=Pn)}return{newValue:Gt,activeIndex:Pn}},Ht=vu(xe=>{const Qe=i4(xe,C);if(!Qe)return;if(V.current+=1,xe.type==="mousemove"&&xe.buttons===0){Jt(xe);return}const{newValue:yt,activeIndex:Be}=Nt({finger:Qe,move:!0});s4({sliderRef:re,activeIndex:Be,setActive:M}),se(yt),!j&&V.current>G7e&&F(!0),me&&!a4(yt,ie)&&me(xe,yt,Be)}),Jt=vu(xe=>{const Qe=i4(xe,C);if(F(!1),!Qe)return;const{newValue:yt}=Nt({finger:Qe,move:!0});M(-1),xe.type==="touchend"&&B(-1),f&&f(xe,yt),C.current=void 0,en()}),Vt=vu(xe=>{if(r)return;xJ()||xe.preventDefault();const Qe=xe.changedTouches[0];Qe!=null&&(C.current=Qe.identifier);const yt=i4(xe,C);if(yt!==!1){const{newValue:Ne,activeIndex:rt}=Nt({finger:yt});s4({sliderRef:re,activeIndex:rt,setActive:M}),se(Ne),me&&!a4(Ne,ie)&&me(xe,Ne,rt)}V.current=0;const Be=Io(re.current);Be.addEventListener("touchmove",Ht,{passive:!0}),Be.addEventListener("touchend",Jt,{passive:!0})}),en=Y.useCallback(()=>{const xe=Io(re.current);xe.removeEventListener("mousemove",Ht),xe.removeEventListener("mouseup",Jt),xe.removeEventListener("touchmove",Ht),xe.removeEventListener("touchend",Jt)},[Jt,Ht]);Y.useEffect(()=>{const{current:xe}=re;return xe.addEventListener("touchstart",Vt,{passive:xJ()}),()=>{xe.removeEventListener("touchstart",Vt),en()}},[en,Vt]),Y.useEffect(()=>{r&&en()},[r,en]);const Ct=xe=>Qe=>{var Ne;if((Ne=xe.onMouseDown)==null||Ne.call(xe,Qe),r||Qe.defaultPrevented||Qe.button!==0)return;Qe.preventDefault();const yt=i4(Qe,C);if(yt!==!1){const{newValue:rt,activeIndex:pt}=Nt({finger:yt});s4({sliderRef:re,activeIndex:pt,setActive:M}),se(rt),me&&!a4(rt,ie)&&me(Qe,rt,pt)}V.current=0;const Be=Io(re.current);Be.addEventListener("mousemove",Ht,{passive:!0}),Be.addEventListener("mouseup",Jt)},Xe=l5(fe?le[0]:l,l,o),Ut=l5(le[le.length-1],l,o)-Xe,sn=(xe={})=>{const Qe=hT(xe),yt={onMouseDown:Ct(Qe||{})},Be={...Qe,...yt};return{...xe,ref:Fe,...Be}},te=xe=>Qe=>{var Be;(Be=xe.onMouseOver)==null||Be.call(xe,Qe);const yt=Number(Qe.currentTarget.getAttribute("data-index"));B(yt)},de=xe=>Qe=>{var yt;(yt=xe.onMouseLeave)==null||yt.call(xe,Qe),B(-1)};return{active:I,axis:xt,axisProps:K7e,dragging:j,focusedThumbIndex:Se,getHiddenInputProps:(xe={})=>{const Qe=hT(xe),yt={onChange:Ze(Qe||{}),onFocus:je(Qe||{}),onBlur:ue(Qe||{}),onKeyDown:St(Qe||{})},Be={...Qe,...yt};return{tabIndex:T,"aria-labelledby":t,"aria-orientation":p,"aria-valuemax":b(o),"aria-valuemin":b(l),name:c,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":e.step??void 0,disabled:r,...xe,...Be,style:{...M4e,direction:s?"rtl":"ltr",width:"100%",height:"100%"}}},getRootProps:sn,getThumbProps:(xe={})=>{const Qe=hT(xe),yt={onMouseOver:te(Qe||{}),onMouseLeave:de(Qe||{})};return{...xe,...Qe,...yt}},marks:ye,open:$,range:fe,rootRef:Fe,trackLeap:Ut,trackOffset:Xe,values:le,getThumbStyle:xe=>({pointerEvents:I!==-1&&I!==xe?"none":void 0})}}const tPe=e=>!e||!K0(e);function nPe(e){return Hn("MuiSlider",e)}const Jd=Yn("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),rPe=e=>{const{open:t}=e;return{offset:cn(t&&Jd.valueLabelOpen),circle:Jd.valueLabelCircle,label:Jd.valueLabelLabel}};function iPe(e){const{children:t,className:n,value:r}=e,i=rPe(e);return t?Y.cloneElement(t,{className:cn(t.props.className)},U.jsxs(Y.Fragment,{children:[t.props.children,U.jsx("span",{className:cn(i.offset,n),"aria-hidden":!0,children:U.jsx("span",{className:i.circle,children:U.jsx("span",{className:i.label,children:r})})})]})):null}function TJ(e){return e}const sPe=Qt("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${jt(n.color)}`],n.size!=="medium"&&t[`size${jt(n.size)}`],n.marked&&t.marked,n.orientation==="vertical"&&t.vertical,n.track==="inverted"&&t.trackInverted,n.track===!1&&t.trackFalse]}})(Bn(({theme:e})=>({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${Jd.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${Jd.dragging}`]:{[`& .${Jd.thumb}, & .${Jd.track}`]:{transition:"none"}},variants:[...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}))),aPe=Qt("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),oPe=Qt("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(Bn(({theme:e})=>({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t,track:"inverted"},style:{...e.vars?{backgroundColor:e.vars.palette.Slider[`${t}Track`],borderColor:e.vars.palette.Slider[`${t}Track`]}:{backgroundColor:iy(e.palette[t].main,.62),borderColor:iy(e.palette[t].main,.62),...e.applyStyles("dark",{backgroundColor:ry(e.palette[t].main,.5)}),...e.applyStyles("dark",{borderColor:ry(e.palette[t].main,.5)})}}}))]}))),lPe=Qt("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${jt(n.color)}`],n.size!=="medium"&&t[`thumbSize${jt(n.size)}`]]}})(Bn(({theme:e})=>({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${Jd.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t},style:{[`&:hover, &.${Jd.focusVisible}`]:{...e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[t].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${mr(e.palette[t].main,.16)}`},"@media (hover: none)":{boxShadow:"none"}},[`&.${Jd.active}`]:{...e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[t].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${mr(e.palette[t].main,.16)}`}}}}))]}))),uPe=Qt(iPe,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(Bn(({theme:e})=>({zIndex:1,whiteSpace:"nowrap",...e.typography.body2,fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${Jd.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${Jd.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]}))),cPe=Qt("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>z6(e)&&e!=="markActive",overridesResolver:(e,t)=>{const{markActive:n}=e;return[t.mark,n&&t.markActive]}})(Bn(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]}))),dPe=Qt("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>z6(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(Bn(({theme:e})=>({...e.typography.body2,color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]}))),fPe=e=>{const{disabled:t,dragging:n,marked:r,orientation:i,track:s,classes:a,color:o,size:l}=e,c={root:["root",t&&"disabled",n&&"dragging",r&&"marked",i==="vertical"&&"vertical",s==="inverted"&&"trackInverted",s===!1&&"trackFalse",o&&`color${jt(o)}`,l&&`size${jt(l)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",l&&`thumbSize${jt(l)}`,o&&`thumbColor${jt(o)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Vn(c,nPe,a)},hPe=({children:e})=>e,pPe=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiSlider"}),i=F6(),{"aria-label":s,"aria-valuetext":a,"aria-labelledby":o,component:l="span",components:c={},componentsProps:d={},color:f="primary",classes:p,className:g,disableSwap:b=!1,disabled:w=!1,getAriaLabel:x,getAriaValueText:T,marks:_=!1,max:C=100,min:I=0,name:M,onChange:$,onChangeCommitted:B,orientation:j="horizontal",shiftStep:F=10,size:V="medium",step:ie=1,scale:se=TJ,slotProps:me,slots:fe,tabIndex:le,track:ye="normal",value:ae,valueLabelDisplay:Se="off",valueLabelFormat:he=TJ,...re}=r,Fe={...r,isRtl:i,max:C,min:I,classes:p,disabled:w,disableSwap:b,orientation:j,marks:_,color:f,size:V,step:ie,shiftStep:F,scale:se,track:ye,valueLabelDisplay:Se,valueLabelFormat:he},{axisProps:je,getRootProps:ue,getHiddenInputProps:tt,getThumbProps:St,open:Ze,active:qt,axis:xt,focusedThumbIndex:Nt,range:Ht,dragging:Jt,marks:Vt,values:en,trackOffset:Ct,trackLeap:Xe,getThumbStyle:Ut}=ePe({...Fe,rootRef:n});Fe.marked=Vt.length>0&&Vt.some(xr=>xr.label),Fe.dragging=Jt,Fe.focusedThumbIndex=Nt;const sn=fPe(Fe),te=(fe==null?void 0:fe.root)??c.Root??sPe,de=(fe==null?void 0:fe.rail)??c.Rail??aPe,we=(fe==null?void 0:fe.track)??c.Track??oPe,We=(fe==null?void 0:fe.thumb)??c.Thumb??lPe,Ke=(fe==null?void 0:fe.valueLabel)??c.ValueLabel??uPe,xe=(fe==null?void 0:fe.mark)??c.Mark??cPe,Qe=(fe==null?void 0:fe.markLabel)??c.MarkLabel??dPe,yt=(fe==null?void 0:fe.input)??c.Input??"input",Be=(me==null?void 0:me.root)??d.root,Ne=(me==null?void 0:me.rail)??d.rail,rt=(me==null?void 0:me.track)??d.track,pt=(me==null?void 0:me.thumb)??d.thumb,Dt=(me==null?void 0:me.valueLabel)??d.valueLabel,Gt=(me==null?void 0:me.mark)??d.mark,Pn=(me==null?void 0:me.markLabel)??d.markLabel,Fn=(me==null?void 0:me.input)??d.input,kt=Qf({elementType:te,getSlotProps:ue,externalSlotProps:Be,externalForwardedProps:re,additionalProps:{...tPe(te)&&{as:l}},ownerState:{...Fe,...Be==null?void 0:Be.ownerState},className:[sn.root,g]}),ct=Qf({elementType:de,externalSlotProps:Ne,ownerState:Fe,className:sn.rail}),fn=Qf({elementType:we,externalSlotProps:rt,additionalProps:{style:{...je[xt].offset(Ct),...je[xt].leap(Xe)}},ownerState:{...Fe,...rt==null?void 0:rt.ownerState},className:sn.track}),Rn=Qf({elementType:We,getSlotProps:St,externalSlotProps:pt,ownerState:{...Fe,...pt==null?void 0:pt.ownerState},className:sn.thumb}),Sr=Qf({elementType:Ke,externalSlotProps:Dt,ownerState:{...Fe,...Dt==null?void 0:Dt.ownerState},className:sn.valueLabel}),ai=Qf({elementType:xe,externalSlotProps:Gt,ownerState:Fe,className:sn.mark}),sr=Qf({elementType:Qe,externalSlotProps:Pn,ownerState:Fe,className:sn.markLabel}),oi=Qf({elementType:yt,getSlotProps:tt,externalSlotProps:Fn,ownerState:Fe});return U.jsxs(te,{...kt,children:[U.jsx(de,{...ct}),U.jsx(we,{...fn}),Vt.filter(xr=>xr.value>=I&&xr.value<=C).map((xr,Ir)=>{const $r=l5(xr.value,I,C),_r=je[xt].offset($r);let Qr;return ye===!1?Qr=en.includes(xr.value):Qr=ye==="normal"&&(Ht?xr.value>=en[0]&&xr.value<=en[en.length-1]:xr.value<=en[0])||ye==="inverted"&&(Ht?xr.value<=en[0]||xr.value>=en[en.length-1]:xr.value>=en[0]),U.jsxs(Y.Fragment,{children:[U.jsx(xe,{"data-index":Ir,...ai,...!K0(xe)&&{markActive:Qr},style:{..._r,...ai.style},className:cn(ai.className,Qr&&sn.markActive)}),xr.label!=null?U.jsx(Qe,{"aria-hidden":!0,"data-index":Ir,...sr,...!K0(Qe)&&{markLabelActive:Qr},style:{..._r,...sr.style},className:cn(sn.markLabel,sr.className,Qr&&sn.markLabelActive),children:xr.label}):null]},Ir)}),en.map((xr,Ir)=>{const $r=l5(xr,I,C),_r=je[xt].offset($r),Qr=Se==="off"?hPe:Ke;return U.jsx(Qr,{...!K0(Qr)&&{valueLabelFormat:he,valueLabelDisplay:Se,value:typeof he=="function"?he(se(xr),Ir):he,index:Ir,open:Ze===Ir||qt===Ir||Se==="on",disabled:w},...Sr,children:U.jsx(We,{"data-index":Ir,...Rn,className:cn(sn.thumb,Rn.className,qt===Ir&&sn.active,Nt===Ir&&sn.focusVisible),style:{..._r,...Ut(Ir),...Rn.style},children:U.jsx(yt,{"data-index":Ir,"aria-label":x?x(Ir):s,"aria-valuenow":se(xr),"aria-labelledby":o,"aria-valuetext":T?T(se(xr),Ir):a,value:en[Ir],...oi})})},Ir)})]})});function mPe(e){return Hn("MuiTooltip",e)}const Ma=Yn("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function gPe(e){return Math.round(e*1e5)/1e5}const bPe=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:i,placement:s}=e,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch",`tooltipPlacement${jt(s.split("-")[0])}`],arrow:["arrow"]};return Vn(a,mPe,t)},yPe=Qt(q6,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(Bn(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${Ma.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Ma.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Ma.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Ma.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Ma.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Ma.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Ma.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Ma.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),vPe=Qt("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${jt(n.placement.split("-")[0])}`]]}})(Bn(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:mr(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${Ma.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Ma.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Ma.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Ma.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${gPe(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${Ma.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Ma.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${Ma.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Ma.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${Ma.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Ma.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${Ma.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Ma.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Ma.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Ma.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),SPe=Qt("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(Bn(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:mr(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let l4=!1;const kJ=new M6;let sw={x:0,y:0};function u4(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const Fg=Y.forwardRef(function(t,n){var $r,_r,Qr;const r=ir({props:t,name:"MuiTooltip"}),{arrow:i=!1,children:s,classes:a,components:o={},componentsProps:l={},describeChild:c=!1,disableFocusListener:d=!1,disableHoverListener:f=!1,disableInteractive:p=!1,disableTouchListener:g=!1,enterDelay:b=100,enterNextDelay:w=0,enterTouchDelay:x=700,followCursor:T=!1,id:_,leaveDelay:C=0,leaveTouchDelay:I=1500,onClose:M,onOpen:$,open:B,placement:j="bottom",PopperComponent:F,PopperProps:V={},slotProps:ie={},slots:se={},title:me,TransitionComponent:fe=bk,TransitionProps:le,...ye}=r,ae=Y.isValidElement(s)?s:U.jsx("span",{children:s}),Se=Ap(),he=F6(),[re,Fe]=Y.useState(),[je,ue]=Y.useState(null),tt=Y.useRef(!1),St=p||T,Ze=Sb(),qt=Sb(),xt=Sb(),Nt=Sb(),[Ht,Jt]=X0({controlled:B,default:!1,name:"Tooltip",state:"open"});let Vt=Ht;const en=x_(_),Ct=Y.useRef(),Xe=vu(()=>{Ct.current!==void 0&&(document.body.style.WebkitUserSelect=Ct.current,Ct.current=void 0),Nt.clear()});Y.useEffect(()=>Xe,[Xe]);const Ut=jn=>{kJ.clear(),l4=!0,Jt(!0),$&&!Vt&&$(jn)},sn=vu(jn=>{kJ.start(800+C,()=>{l4=!1}),Jt(!1),M&&Vt&&M(jn),Ze.start(Se.transitions.duration.shortest,()=>{tt.current=!1})}),te=jn=>{tt.current&&jn.type!=="touchstart"||(re&&re.removeAttribute("title"),qt.clear(),xt.clear(),b||l4&&w?qt.start(l4?w:b,()=>{Ut(jn)}):Ut(jn))},de=jn=>{qt.clear(),xt.start(C,()=>{sn(jn)})},[,we]=Y.useState(!1),We=jn=>{FO(jn.target)||(we(!1),de(jn))},Ke=jn=>{re||Fe(jn.currentTarget),FO(jn.target)&&(we(!0),te(jn))},xe=jn=>{tt.current=!0;const wi=ae.props;wi.onTouchStart&&wi.onTouchStart(jn)},Qe=jn=>{xe(jn),xt.clear(),Ze.clear(),Xe(),Ct.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Nt.start(x,()=>{document.body.style.WebkitUserSelect=Ct.current,te(jn)})},yt=jn=>{ae.props.onTouchEnd&&ae.props.onTouchEnd(jn),Xe(),xt.start(I,()=>{sn(jn)})};Y.useEffect(()=>{if(!Vt)return;function jn(wi){wi.key==="Escape"&&sn(wi)}return document.addEventListener("keydown",jn),()=>{document.removeEventListener("keydown",jn)}},[sn,Vt]);const Be=$i(OE(ae),Fe,n);!me&&me!==0&&(Vt=!1);const Ne=Y.useRef(),rt=jn=>{const wi=ae.props;wi.onMouseMove&&wi.onMouseMove(jn),sw={x:jn.clientX,y:jn.clientY},Ne.current&&Ne.current.update()},pt={},Dt=typeof me=="string";c?(pt.title=!Vt&&Dt&&!f?me:null,pt["aria-describedby"]=Vt?en:null):(pt["aria-label"]=Dt?me:null,pt["aria-labelledby"]=Vt&&!Dt?en:null);const Gt={...pt,...ye,...ae.props,className:cn(ye.className,ae.props.className),onTouchStart:xe,ref:Be,...T?{onMouseMove:rt}:{}},Pn={};g||(Gt.onTouchStart=Qe,Gt.onTouchEnd=yt),f||(Gt.onMouseOver=u4(te,Gt.onMouseOver),Gt.onMouseLeave=u4(de,Gt.onMouseLeave),St||(Pn.onMouseOver=te,Pn.onMouseLeave=de)),d||(Gt.onFocus=u4(Ke,Gt.onFocus),Gt.onBlur=u4(We,Gt.onBlur),St||(Pn.onFocus=Ke,Pn.onBlur=We));const Fn=Y.useMemo(()=>{var wi;let jn=[{name:"arrow",enabled:!!je,options:{element:je,padding:4}}];return(wi=V.popperOptions)!=null&&wi.modifiers&&(jn=jn.concat(V.popperOptions.modifiers)),{...V.popperOptions,modifiers:jn}},[je,V]),kt={...r,isRtl:he,arrow:i,disableInteractive:St,placement:j,PopperComponentProp:F,touch:tt.current},ct=bPe(kt),fn=se.popper??o.Popper??yPe,Rn=se.transition??o.Transition??fe??bk,Sr=se.tooltip??o.Tooltip??vPe,ai=se.arrow??o.Arrow??SPe,sr=_S(fn,{...V,...ie.popper??l.popper,className:cn(ct.popper,V==null?void 0:V.className,($r=ie.popper??l.popper)==null?void 0:$r.className)},kt),oi=_S(Rn,{...le,...ie.transition??l.transition},kt),xr=_S(Sr,{...ie.tooltip??l.tooltip,className:cn(ct.tooltip,(_r=ie.tooltip??l.tooltip)==null?void 0:_r.className)},kt),Ir=_S(ai,{...ie.arrow??l.arrow,className:cn(ct.arrow,(Qr=ie.arrow??l.arrow)==null?void 0:Qr.className)},kt);return U.jsxs(Y.Fragment,{children:[Y.cloneElement(ae,Gt),U.jsx(fn,{as:F??q6,placement:j,anchorEl:T?{getBoundingClientRect:()=>({top:sw.y,left:sw.x,right:sw.x,bottom:sw.y,width:0,height:0})}:re,popperRef:Ne,open:re?Vt:!1,id:en,transition:!0,...Pn,...sr,popperOptions:Fn,children:({TransitionProps:jn})=>U.jsx(Rn,{timeout:Se.transitions.duration.shorter,...jn,...oi,children:U.jsxs(Sr,{...xr,children:[me,i?U.jsx(ai,{...Ir,ref:ue}):null]})})})]})}),Rr=R3e({createStyledComponent:Qt("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>T_({props:e,name:"MuiStack"})});function OPe(e){return Hn("MuiSwitch",e)}const du=Yn("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),EPe=e=>{const{classes:t,edge:n,size:r,color:i,checked:s,disabled:a}=e,o={root:["root",n&&`edge${jt(n)}`,`size${jt(r)}`],switchBase:["switchBase",`color${jt(i)}`,s&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=Vn(o,OPe,t);return{...t,...l}},wPe=Qt("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${jt(n.edge)}`],t[`size${jt(n.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${du.thumb}`]:{width:16,height:16},[`& .${du.switchBase}`]:{padding:4,[`&.${du.checked}`]:{transform:"translateX(16px)"}}}}]}),xPe=Qt(zz,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${du.input}`]:t.input},n.color!=="default"&&t[`color${jt(n.color)}`]]}})(Bn(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${du.checked}`]:{transform:"translateX(20px)"},[`&.${du.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${du.checked} + .${du.track}`]:{opacity:.5},[`&.${du.disabled} + .${du.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${du.input}`]:{left:"-100%",width:"300%"}})),Bn(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(ca(["light"])).map(([t])=>({props:{color:t},style:{[`&.${du.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${du.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?iy(e.palette[t].main,.62):ry(e.palette[t].main,.55)}`}},[`&.${du.checked} + .${du.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),TPe=Qt("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(Bn(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`}))),kPe=Qt("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(Bn(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),_Pe=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiSwitch"}),{className:i,color:s="primary",edge:a=!1,size:o="medium",sx:l,...c}=r,d={...r,color:s,edge:a,size:o},f=EPe(d),p=U.jsx(kPe,{className:f.thumb,ownerState:d});return U.jsxs(wPe,{className:cn(f.root,i),sx:l,ownerState:d,children:[U.jsx(xPe,{type:"checkbox",icon:p,checkedIcon:p,ref:n,ownerState:d,...c,classes:{...f,root:f.switchBase}}),U.jsx(TPe,{className:f.track,ownerState:d})]})}),dde=Y.createContext();function APe(e){return Hn("MuiTable",e)}Yn("MuiTable",["root","stickyHeader"]);const CPe=e=>{const{classes:t,stickyHeader:n}=e;return Vn({root:["root",n&&"stickyHeader"]},APe,t)},RPe=Qt("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(Bn(({theme:e})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...e.typography.body2,padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:t})=>t.stickyHeader,style:{borderCollapse:"separate"}}]}))),_J="table",IPe=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiTable"}),{className:i,component:s=_J,padding:a="normal",size:o="medium",stickyHeader:l=!1,...c}=r,d={...r,component:s,padding:a,size:o,stickyHeader:l},f=CPe(d),p=Y.useMemo(()=>({padding:a,size:o,stickyHeader:l}),[a,o,l]);return U.jsx(dde.Provider,{value:p,children:U.jsx(RPe,{as:s,role:s===_J?null:"table",ref:n,className:cn(f.root,i),ownerState:d,...c})})}),X6=Y.createContext();function DPe(e){return Hn("MuiTableBody",e)}Yn("MuiTableBody",["root"]);const NPe=e=>{const{classes:t}=e;return Vn({root:["root"]},DPe,t)},PPe=Qt("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),LPe={variant:"body"},AJ="tbody",MPe=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiTableBody"}),{className:i,component:s=AJ,...a}=r,o={...r,component:s},l=NPe(o);return U.jsx(X6.Provider,{value:LPe,children:U.jsx(PPe,{className:cn(l.root,i),as:s,ref:n,role:s===AJ?null:"rowgroup",ownerState:o,...a})})});function FPe(e){return Hn("MuiTableCell",e)}const $Pe=Yn("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),BPe=e=>{const{classes:t,variant:n,align:r,padding:i,size:s,stickyHeader:a}=e,o={root:["root",n,a&&"stickyHeader",r!=="inherit"&&`align${jt(r)}`,i!=="normal"&&`padding${jt(i)}`,`size${jt(s)}`]};return Vn(o,FPe,t)},UPe=Qt("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${jt(n.size)}`],n.padding!=="normal"&&t[`padding${jt(n.padding)}`],n.align!=="inherit"&&t[`align${jt(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(Bn(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid - ${e.palette.mode==="light"?iy(mr(e.palette.divider,1),.88):ry(mr(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${$Pe.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:t})=>t.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),Hv=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiTableCell"}),{align:i="inherit",className:s,component:a,padding:o,scope:l,size:c,sortDirection:d,variant:f,...p}=r,g=Y.useContext(dde),b=Y.useContext(X6),w=b&&b.variant==="head";let x;a?x=a:x=w?"th":"td";let T=l;x==="td"?T=void 0:!T&&w&&(T="col");const _=f||b&&b.variant,C={...r,align:i,component:x,padding:o||(g&&g.padding?g.padding:"normal"),size:c||(g&&g.size?g.size:"medium"),sortDirection:d,stickyHeader:_==="head"&&g&&g.stickyHeader,variant:_},I=BPe(C);let M=null;return d&&(M=d==="asc"?"ascending":"descending"),U.jsx(UPe,{as:x,ref:n,className:cn(I.root,s),"aria-sort":M,scope:T,ownerState:C,...p})});function zPe(e){return Hn("MuiTableContainer",e)}Yn("MuiTableContainer",["root"]);const HPe=e=>{const{classes:t}=e;return Vn({root:["root"]},zPe,t)},qPe=Qt("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),jPe=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiTableContainer"}),{className:i,component:s="div",...a}=r,o={...r,component:s},l=HPe(o);return U.jsx(qPe,{ref:n,as:s,className:cn(l.root,i),ownerState:o,...a})});function WPe(e){return Hn("MuiTableHead",e)}Yn("MuiTableHead",["root"]);const QPe=e=>{const{classes:t}=e;return Vn({root:["root"]},WPe,t)},VPe=Qt("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),GPe={variant:"head"},CJ="thead",YPe=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiTableHead"}),{className:i,component:s=CJ,...a}=r,o={...r,component:s},l=QPe(o);return U.jsx(X6.Provider,{value:GPe,children:U.jsx(VPe,{as:s,className:cn(l.root,i),ref:n,role:s===CJ?null:"rowgroup",ownerState:o,...a})})});function ZPe(e){return Hn("MuiToolbar",e)}Yn("MuiToolbar",["root","gutters","regular","dense"]);const XPe=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Vn({root:["root",!n&&"gutters",r]},ZPe,t)},KPe=Qt("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(Bn(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),Yz=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiToolbar"}),{className:i,component:s="div",disableGutters:a=!1,variant:o="regular",...l}=r,c={...r,component:s,disableGutters:a,variant:o},d=XPe(c);return U.jsx(KPe,{as:s,className:cn(d.root,i),ref:n,ownerState:c,...l})});function JPe(e){return Hn("MuiTableRow",e)}const RJ=Yn("MuiTableRow",["root","selected","hover","head","footer"]),eLe=e=>{const{classes:t,selected:n,hover:r,head:i,footer:s}=e;return Vn({root:["root",n&&"selected",r&&"hover",i&&"head",s&&"footer"]},JPe,t)},tLe=Qt("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(Bn(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${RJ.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${RJ.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:mr(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:mr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),IJ="tr",DJ=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiTableRow"}),{className:i,component:s=IJ,hover:a=!1,selected:o=!1,...l}=r,c=Y.useContext(X6),d={...r,component:s,hover:a,selected:o,head:c&&c.variant==="head",footer:c&&c.variant==="footer"},f=eLe(d);return U.jsx(tLe,{as:s,ref:n,className:cn(f.root,i),role:s===IJ?null:"row",ownerState:d,...l})});function nLe(e){return Hn("MuiTextField",e)}Yn("MuiTextField",["root"]);const rLe={standard:a5,filled:s5,outlined:o5},iLe=e=>{const{classes:t}=e;return Vn({root:["root"]},nLe,t)},sLe=Qt(yf,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),A_=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiTextField"}),{autoComplete:i,autoFocus:s=!1,children:a,className:o,color:l="primary",defaultValue:c,disabled:d=!1,error:f=!1,FormHelperTextProps:p,fullWidth:g=!1,helperText:b,id:w,InputLabelProps:x,inputProps:T,InputProps:_,inputRef:C,label:I,maxRows:M,minRows:$,multiline:B=!1,name:j,onBlur:F,onChange:V,onFocus:ie,placeholder:se,required:me=!1,rows:fe,select:le=!1,SelectProps:ye,slots:ae={},slotProps:Se={},type:he,value:re,variant:Fe="outlined",...je}=r,ue={...r,autoFocus:s,color:l,disabled:d,error:f,fullWidth:g,multiline:B,required:me,select:le,variant:Fe},tt=iLe(ue),St=x_(w),Ze=b&&St?`${St}-helper-text`:void 0,qt=I&&St?`${St}-label`:void 0,xt=rLe[Fe],Nt={slots:ae,slotProps:{input:_,inputLabel:x,htmlInput:T,formHelperText:p,select:ye,...Se}},Ht={},Jt=Nt.slotProps.inputLabel;Fe==="outlined"&&(Jt&&typeof Jt.shrink<"u"&&(Ht.notched=Jt.shrink),Ht.label=I),le&&((!ye||!ye.native)&&(Ht.id=void 0),Ht["aria-describedby"]=void 0);const[Vt,en]=gl("input",{elementType:xt,externalForwardedProps:Nt,additionalProps:Ht,ownerState:ue}),[Ct,Xe]=gl("inputLabel",{elementType:nde,externalForwardedProps:Nt,ownerState:ue}),[Ut,sn]=gl("htmlInput",{elementType:"input",externalForwardedProps:Nt,ownerState:ue}),[te,de]=gl("formHelperText",{elementType:TE,externalForwardedProps:Nt,ownerState:ue}),[we,We]=gl("select",{elementType:Gz,externalForwardedProps:Nt,ownerState:ue}),Ke=U.jsx(Vt,{"aria-describedby":Ze,autoComplete:i,autoFocus:s,defaultValue:c,fullWidth:g,multiline:B,name:j,rows:fe,maxRows:M,minRows:$,type:he,value:re,id:St,inputRef:C,onBlur:F,onChange:V,onFocus:ie,placeholder:se,inputProps:sn,slots:{input:ae.htmlInput?Ut:void 0},...en});return U.jsxs(sLe,{className:cn(tt.root,o),disabled:d,error:f,fullWidth:g,ref:n,required:me,color:l,variant:Fe,ownerState:ue,...je,children:[I!=null&&I!==""&&U.jsx(Ct,{htmlFor:St,id:qt,...Xe,children:I}),le?U.jsx(we,{"aria-describedby":Ze,id:St,labelId:qt,value:re,input:Ke,...We,children:a}):Ke,b&&U.jsx(te,{id:Ze,...de,children:b})]})});function aLe(e){return Hn("MuiToggleButton",e)}const Eb=Yn("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),fde=Y.createContext({}),hde=Y.createContext(void 0);function oLe(e,t){return t===void 0||e===void 0?!1:Array.isArray(t)?t.includes(e):e===t}const lLe=e=>{const{classes:t,fullWidth:n,selected:r,disabled:i,size:s,color:a}=e,o={root:["root",r&&"selected",i&&"disabled",n&&"fullWidth",`size${jt(s)}`,a]};return Vn(o,aLe,t)},uLe=Qt(cm,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`size${jt(n.size)}`]]}})(Bn(({theme:e})=>({...e.typography.button,borderRadius:(e.vars||e).shape.borderRadius,padding:11,border:`1px solid ${(e.vars||e).palette.divider}`,color:(e.vars||e).palette.action.active,[`&.${Eb.disabled}`]:{color:(e.vars||e).palette.action.disabled,border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[{props:{color:"standard"},style:{[`&.${Eb.selected}`]:{color:(e.vars||e).palette.text.primary,backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.selectedOpacity})`:mr(e.palette.text.primary,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:mr(e.palette.text.primary,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.selectedOpacity})`:mr(e.palette.text.primary,e.palette.action.selectedOpacity)}}}}},...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t},style:{[`&.${Eb.selected}`]:{color:(e.vars||e).palette[t].main,backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.selectedOpacity})`:mr(e.palette[t].main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:mr(e.palette[t].main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.selectedOpacity})`:mr(e.palette[t].main,e.palette.action.selectedOpacity)}}}}})),{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{padding:7,fontSize:e.typography.pxToRem(13)}},{props:{size:"large"},style:{padding:15,fontSize:e.typography.pxToRem(15)}}]}))),B3=Y.forwardRef(function(t,n){const{value:r,...i}=Y.useContext(fde),s=Y.useContext(hde),a=MO({...i,selected:oLe(t.value,r)},t),o=ir({props:a,name:"MuiToggleButton"}),{children:l,className:c,color:d="standard",disabled:f=!1,disableFocusRipple:p=!1,fullWidth:g=!1,onChange:b,onClick:w,selected:x,size:T="medium",value:_,...C}=o,I={...o,color:d,disabled:f,disableFocusRipple:p,fullWidth:g,size:T},M=lLe(I),$=j=>{w&&(w(j,_),j.defaultPrevented)||b&&b(j,_)},B=s||"";return U.jsx(uLe,{className:cn(i.className,M.root,c,B),disabled:f,focusRipple:!p,ref:n,onClick:$,onChange:b,value:_,ownerState:I,"aria-pressed":x,...C,children:l})});function cLe(e){return Hn("MuiToggleButtonGroup",e)}const Qs=Yn("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]),dLe=e=>{const{classes:t,orientation:n,fullWidth:r,disabled:i}=e,s={root:["root",n,r&&"fullWidth"],grouped:["grouped",`grouped${jt(n)}`,i&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return Vn(s,cLe,t)},fLe=Qt("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Qs.grouped}`]:t.grouped},{[`& .${Qs.grouped}`]:t[`grouped${jt(n.orientation)}`]},{[`& .${Qs.firstButton}`]:t.firstButton},{[`& .${Qs.lastButton}`]:t.lastButton},{[`& .${Qs.middleButton}`]:t.middleButton},t.root,n.orientation==="vertical"&&t.vertical,n.fullWidth&&t.fullWidth]}})(Bn(({theme:e})=>({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius,variants:[{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${Qs.grouped}`]:{[`&.${Qs.selected} + .${Qs.grouped}.${Qs.selected}`]:{borderTop:0,marginTop:0}},[`& .${Qs.firstButton},& .${Qs.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${Qs.lastButton},& .${Qs.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},[`& .${Qs.lastButton}.${Eb.disabled},& .${Qs.middleButton}.${Eb.disabled}`]:{borderTop:"1px solid transparent"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"horizontal"},style:{[`& .${Qs.grouped}`]:{[`&.${Qs.selected} + .${Qs.grouped}.${Qs.selected}`]:{borderLeft:0,marginLeft:0}},[`& .${Qs.firstButton},& .${Qs.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${Qs.lastButton},& .${Qs.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},[`& .${Qs.lastButton}.${Eb.disabled},& .${Qs.middleButton}.${Eb.disabled}`]:{borderLeft:"1px solid transparent"}}}]}))),pde=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiToggleButtonGroup"}),{children:i,className:s,color:a="standard",disabled:o=!1,exclusive:l=!1,fullWidth:c=!1,onChange:d,orientation:f="horizontal",size:p="medium",value:g,...b}=r,w={...r,disabled:o,fullWidth:c,orientation:f,size:p},x=dLe(w),T=Y.useCallback((B,j)=>{if(!d)return;const F=g&&g.indexOf(j);let V;g&&F>=0?(V=g.slice(),V.splice(F,1)):V=g?g.concat(j):[j],d(B,V)},[d,g]),_=Y.useCallback((B,j)=>{d&&d(B,g===j?null:j)},[d,g]),C=Y.useMemo(()=>({className:x.grouped,onChange:l?_:T,value:g,size:p,fullWidth:c,color:a,disabled:o}),[x.grouped,l,_,T,g,p,c,a,o]),I=L4e(i),M=I.length,$=B=>{const j=B===0,F=B===M-1;return j&&F?"":j?x.firstButton:F?x.lastButton:x.middleButton};return U.jsx(fLe,{role:"group",className:cn(x.root,s),ref:n,ownerState:w,...b,children:U.jsx(fde.Provider,{value:C,children:I.map((B,j)=>U.jsx(hde.Provider,{value:$(j),children:B},j))})})}),mde=Object.prototype.toString;function gde(e){switch(mde.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return fm(e,Error)}}function kE(e,t){return mde.call(e)===`[object ${t}]`}function Zz(e){return kE(e,"ErrorEvent")}function NJ(e){return kE(e,"DOMError")}function hLe(e){return kE(e,"DOMException")}function Ep(e){return kE(e,"String")}function Xz(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function Kz(e){return e===null||Xz(e)||typeof e!="object"&&typeof e!="function"}function jO(e){return kE(e,"Object")}function K6(e){return typeof Event<"u"&&fm(e,Event)}function pLe(e){return typeof Element<"u"&&fm(e,Element)}function mLe(e){return kE(e,"RegExp")}function J6(e){return!!(e&&e.then&&typeof e.then=="function")}function gLe(e){return jO(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function bde(e){return typeof e=="number"&&e!==e}function fm(e,t){try{return e instanceof t}catch{return!1}}function yde(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function ZS(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function PJ(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;rbLe(e,r,n))}function yLe(e,t,n=250,r,i,s,a){if(!s.exception||!s.exception.values||!a||!fm(a.originalException,Error))return;const o=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;o&&(s.exception.values=vLe(AM(e,t,i,a.originalException,r,s.exception.values,o,0),n))}function AM(e,t,n,r,i,s,a,o){if(s.length>=n+1)return s;let l=[...s];if(fm(r[i],Error)){LJ(a,o);const c=e(t,r[i]),d=l.length;MJ(c,i,d,o),l=AM(e,t,n,r[i],i,[c,...l],c,d)}return Array.isArray(r.errors)&&r.errors.forEach((c,d)=>{if(fm(c,Error)){LJ(a,o);const f=e(t,c),p=l.length;MJ(f,`errors[${d}]`,p,o),l=AM(e,t,n,c,i,[f,...l],f,p)}}),l}function LJ(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function MJ(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function vLe(e,t){return e.map(n=>(n.value&&(n.value=ZS(n.value,t)),n))}function c4(e){return e&&e.Math==Math?e:void 0}const Ji=typeof globalThis=="object"&&c4(globalThis)||typeof window=="object"&&c4(window)||typeof self=="object"&&c4(self)||typeof global=="object"&&c4(global)||function(){return this}()||{};function Jz(){return Ji}function vde(e,t,n){const r=n||Ji,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}const XS=Jz(),SLe=80;function WO(e,t={}){if(!e)return"";try{let n=e;const r=5,i=[];let s=0,a=0;const o=" > ",l=o.length;let c;const d=Array.isArray(t)?t:t.keyAttrs,f=!Array.isArray(t)&&t.maxStringLength||SLe;for(;n&&s++1&&a+i.length*l+c.length>=f));)i.push(c),a+=c.length,n=n.parentNode;return i.reverse().join(o)}catch{return""}}function OLe(e,t){const n=e,r=[];let i,s,a,o,l;if(!n||!n.tagName)return"";if(XS.HTMLElement&&n instanceof HTMLElement&&n.dataset&&n.dataset.sentryComponent)return n.dataset.sentryComponent;r.push(n.tagName.toLowerCase());const c=t&&t.length?t.filter(f=>n.getAttribute(f)).map(f=>[f,n.getAttribute(f)]):null;if(c&&c.length)c.forEach(f=>{r.push(`[${f[0]}="${f[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&Ep(i))for(s=i.split(/\s+/),l=0;l"u"||__SENTRY_DEBUG__,xLe="Sentry Logger ",CM=["debug","info","warn","error","log","assert","trace"],u5={};function eD(e){if(!("console"in Ji))return e();const t=Ji.console,n={},r=Object.keys(u5);r.forEach(i=>{const s=u5[i];n[i]=t[i],t[i]=s});try{return e()}finally{r.forEach(i=>{t[i]=n[i]})}}function TLe(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return _E?CM.forEach(n=>{t[n]=(...r)=>{e&&eD(()=>{Ji.console[n](`${xLe}[${n}]:`,...r)})}}):CM.forEach(n=>{t[n]=()=>{}}),t}const un=TLe(),kLe=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function _Le(e){return e==="http"||e==="https"}function AE(e,t=!1){const{host:n,path:r,pass:i,port:s,projectId:a,protocol:o,publicKey:l}=e;return`${o}://${l}${t&&i?`:${i}`:""}@${n}${s?`:${s}`:""}/${r&&`${r}/`}${a}`}function ALe(e){const t=kLe.exec(e);if(!t){eD(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,r,i="",s,a="",o]=t.slice(1);let l="",c=o;const d=c.split("/");if(d.length>1&&(l=d.slice(0,-1).join("/"),c=d.pop()),c){const f=c.match(/^\d+/);f&&(c=f[0])}return Ode({host:s,pass:i,path:l,projectId:c,port:a,protocol:n,publicKey:r})}function Ode(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function CLe(e){if(!_E)return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(a=>e[a]?!1:(un.error(`Invalid Sentry Dsn: ${a} missing`),!0))?!1:n.match(/^\d+$/)?_Le(r)?t&&isNaN(parseInt(t,10))?(un.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(un.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(un.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function RLe(e){const t=typeof e=="string"?ALe(e):Ode(e);if(!(!t||!CLe(t)))return t}class lp extends Error{constructor(t,n="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=n}}function vl(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);typeof i=="function"&&Ede(i,r),e[t]=i}function ly(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{_E&&un.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function Ede(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,ly(e,"__sentry_original__",t)}catch{}}function eH(e){return e.__sentry_original__}function ILe(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function wde(e){if(gde(e))return{message:e.message,name:e.name,stack:e.stack,...$J(e)};if(K6(e)){const t={type:e.type,target:FJ(e.target),currentTarget:FJ(e.currentTarget),...$J(e)};return typeof CustomEvent<"u"&&fm(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function FJ(e){try{return pLe(e)?WO(e):Object.prototype.toString.call(e)}catch{return""}}function $J(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function DLe(e,t=40){const n=Object.keys(wde(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return ZS(n[0],t);for(let r=n.length;r>0;r--){const i=n.slice(0,r).join(", ");if(!(i.length>t))return r===n.length?i:ZS(i,t)}return""}function Jc(e){return RM(e,new Map)}function RM(e,t){if(NLe(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const i of Object.keys(e))typeof e[i]<"u"&&(r[i]=RM(e[i],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(i=>{r.push(RM(i,t))}),r}return e}function NLe(e){if(!jO(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}const xde=50,BJ=/\(error: (.*)\)/,UJ=/captureMessage|captureException/;function Tde(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0)=>{const i=[],s=n.split(` -`);for(let a=r;a1024)continue;const l=BJ.test(o)?o.replace(BJ,"$1"):o;if(!l.match(/\S*Error: /)){for(const c of t){const d=c(l);if(d){i.push(d);break}}if(i.length>=xde)break}}return LLe(i)}}function PLe(e){return Array.isArray(e)?Tde(...e):e}function LLe(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop(),t.reverse(),UJ.test(t[t.length-1].function||"")&&(t.pop(),UJ.test(t[t.length-1].function||"")&&t.pop()),t.slice(0,xde).map(n=>({...n,filename:n.filename||t[t.length-1].filename,function:n.function||"?"}))}const oP="";function hm(e){try{return!e||typeof e!="function"?oP:e.name||oP}catch{return oP}}const U3={},zJ={};function Cy(e,t){U3[e]=U3[e]||[],U3[e].push(t)}function Ry(e,t){zJ[e]||(t(),zJ[e]=!0)}function oh(e,t){const n=e&&U3[e];if(n)for(const r of n)try{r(t)}catch(i){_E&&un.error(`Error while triggering instrumentation handler. + `:null,tDe=e=>{const{classes:t,variant:n,color:r,disableShrink:i}=e,s={root:["root",n,`color${jt(r)}`],svg:["svg"],circle:["circle",`circle${jt(n)}`,i&&"circleDisableShrink"]};return Vn(s,K6e,t)},nDe=Qt("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${jt(n.color)}`]]}})(Bn(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:J6e||{animation:`${EM} 1.4s linear infinite`}},...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),rDe=Qt("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),iDe=Qt("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${jt(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Bn(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:eDe||{animation:`${wM} 1.4s ease-in-out infinite`}}]}))),dh=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiCircularProgress"}),{className:i,color:s="primary",disableShrink:a=!1,size:o=40,style:l,thickness:c=3.6,value:d=0,variant:f="indeterminate",...p}=r,g={...r,color:s,disableShrink:a,size:o,thickness:c,value:d,variant:f},b=tDe(g),w={},x={},T={};if(f==="determinate"){const _=2*Math.PI*((og-c)/2);w.strokeDasharray=_.toFixed(3),T["aria-valuenow"]=Math.round(d),w.strokeDashoffset=`${((100-d)/100*_).toFixed(3)}px`,x.transform="rotate(-90deg)"}return U.jsx(nDe,{className:cn(b.root,i),style:{width:o,height:o,...x,...l},ownerState:g,ref:n,role:"progressbar",...T,...p,children:U.jsx(rDe,{className:b.svg,ownerState:g,viewBox:`${og/2} ${og/2} ${og} ${og}`,children:U.jsx(iDe,{className:b.circle,style:w,ownerState:g,cx:og,cy:og,r:(og-c)/2,fill:"none",strokeWidth:c})})})}),Hz=l3e({createStyledComponent:Qt("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${jt(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>T_({props:e,name:"MuiContainer"})}),xM=typeof Az({})=="function",sDe=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),aDe=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),tde=(e,t=!1)=>{var s,a;const n={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([o,l])=>{var d,f;const c=e.getColorSchemeSelector(o);c.startsWith("@")?n[c]={":root":{colorScheme:(d=l.palette)==null?void 0:d.mode}}:n[c.replace(/\s*&/,"")]={colorScheme:(f=l.palette)==null?void 0:f.mode}});let r={html:sDe(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...aDe(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n};const i=(a=(s=e.components)==null?void 0:s.MuiCssBaseline)==null?void 0:a.styleOverrides;return i&&(r=[r,i]),r},$3="mui-ecs",oDe=e=>{const t=tde(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${$3})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([r,i])=>{var a,o;const s=e.getColorSchemeSelector(r);s.startsWith("@")?n[s]={[`:root:not(:has(.${$3}))`]:{colorScheme:(a=i.palette)==null?void 0:a.mode}}:n[s.replace(/\s*&/,"")]={[`&:not(:has(.${$3}))`]:{colorScheme:(o=i.palette)==null?void 0:o.mode}}}),t},lDe=Az(xM?({theme:e,enableColorScheme:t})=>tde(e,t):({theme:e})=>oDe(e));function uDe(e){const t=ir({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return U.jsxs(Y.Fragment,{children:[xM&&U.jsx(lDe,{enableColorScheme:r}),!xM&&!r&&U.jsx("span",{className:$3,style:{display:"none"}}),n]})}function cDe(e){const t=Io(e);return t.body===e?sy(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function gT(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function tJ(e){return parseInt(sy(e).getComputedStyle(e).paddingRight,10)||0}function dDe(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function nJ(e,t,n,r,i){const s=[t,n,...r];[].forEach.call(e.children,a=>{const o=!s.includes(a),l=!dDe(a);o&&l&&gT(a,i)})}function rP(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function fDe(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(cDe(r)){const a=kce(Io(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${tJ(r)+a}px`;const o=Io(r).querySelectorAll(".mui-fixed");[].forEach.call(o,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${tJ(l)+a}px`})}let s;if(r.parentNode instanceof DocumentFragment)s=Io(r).body;else{const a=r.parentElement,o=sy(r);s=(a==null?void 0:a.nodeName)==="HTML"&&o.getComputedStyle(a).overflowY==="scroll"?a:r}n.push({value:s.style.overflow,property:"overflow",el:s},{value:s.style.overflowX,property:"overflow-x",el:s},{value:s.style.overflowY,property:"overflow-y",el:s}),s.style.overflow="hidden"}return()=>{n.forEach(({value:s,el:a,property:o})=>{s?a.style.setProperty(o,s):a.style.removeProperty(o)})}}function hDe(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class pDe{constructor(){this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&gT(t.modalRef,!1);const i=hDe(n);nJ(n,t.mount,t.modalRef,i,!0);const s=rP(this.containers,a=>a.container===n);return s!==-1?(this.containers[s].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:i}),r)}mount(t,n){const r=rP(this.containers,s=>s.modals.includes(t)),i=this.containers[r];i.restore||(i.restore=fDe(i,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const i=rP(this.containers,a=>a.modals.includes(t)),s=this.containers[i];if(s.modals.splice(s.modals.indexOf(t),1),this.modals.splice(r,1),s.modals.length===0)s.restore&&s.restore(),t.modalRef&&gT(t.modalRef,n),nJ(s.container,t.mount,t.modalRef,s.hiddenSiblings,!1),this.containers.splice(i,1);else{const a=s.modals[s.modals.length-1];a.modalRef&&gT(a.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const mDe=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function gDe(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function bDe(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function yDe(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||bDe(e))}function vDe(e){const t=[],n=[];return Array.from(e.querySelectorAll(mDe)).forEach((r,i)=>{const s=gDe(r);s===-1||!yDe(r)||(s===0?t.push(r):n.push({documentOrder:i,tabIndex:s,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(t)}function SDe(){return!0}function ODe(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:s=vDe,isEnabled:a=SDe,open:o}=e,l=Y.useRef(!1),c=Y.useRef(null),d=Y.useRef(null),f=Y.useRef(null),p=Y.useRef(null),g=Y.useRef(!1),b=Y.useRef(null),w=$i(OE(t),b),x=Y.useRef(null);Y.useEffect(()=>{!o||!b.current||(g.current=!n)},[n,o]),Y.useEffect(()=>{if(!o||!b.current)return;const C=Io(b.current);return b.current.contains(C.activeElement)||(b.current.hasAttribute("tabIndex")||b.current.setAttribute("tabIndex","-1"),g.current&&b.current.focus()),()=>{i||(f.current&&f.current.focus&&(l.current=!0,f.current.focus()),f.current=null)}},[o]),Y.useEffect(()=>{if(!o||!b.current)return;const C=Io(b.current),I=B=>{x.current=B,!(r||!a()||B.key!=="Tab")&&C.activeElement===b.current&&B.shiftKey&&(l.current=!0,d.current&&d.current.focus())},M=()=>{var F,V;const B=b.current;if(B===null)return;if(!C.hasFocus()||!a()||l.current){l.current=!1;return}if(B.contains(C.activeElement)||r&&C.activeElement!==c.current&&C.activeElement!==d.current)return;if(C.activeElement!==p.current)p.current=null;else if(p.current!==null)return;if(!g.current)return;let j=[];if((C.activeElement===c.current||C.activeElement===d.current)&&(j=s(b.current)),j.length>0){const ie=!!((F=x.current)!=null&&F.shiftKey&&((V=x.current)==null?void 0:V.key)==="Tab"),se=j[0],me=j[j.length-1];typeof se!="string"&&typeof me!="string"&&(ie?me.focus():se.focus())}else B.focus()};C.addEventListener("focusin",M),C.addEventListener("keydown",I,!0);const $=setInterval(()=>{C.activeElement&&C.activeElement.tagName==="BODY"&&M()},50);return()=>{clearInterval($),C.removeEventListener("focusin",M),C.removeEventListener("keydown",I,!0)}},[n,r,i,a,o,s]);const T=C=>{f.current===null&&(f.current=C.relatedTarget),g.current=!0,p.current=C.target;const I=t.props.onFocus;I&&I(C)},_=C=>{f.current===null&&(f.current=C.relatedTarget),g.current=!0};return U.jsxs(Y.Fragment,{children:[U.jsx("div",{tabIndex:o?0:-1,onFocus:_,ref:c,"data-testid":"sentinelStart"}),Y.cloneElement(t,{ref:w,onFocus:T}),U.jsx("div",{tabIndex:o?0:-1,onFocus:_,ref:d,"data-testid":"sentinelEnd"})]})}function EDe(e){return typeof e=="function"?e():e}function wDe(e){return e?e.props.hasOwnProperty("in"):!1}const xDe=new pDe;function TDe(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:i=xDe,closeAfterTransition:s=!1,onTransitionEnter:a,onTransitionExited:o,children:l,onClose:c,open:d,rootRef:f}=e,p=Y.useRef({}),g=Y.useRef(null),b=Y.useRef(null),w=$i(b,f),[x,T]=Y.useState(!d),_=wDe(l);let C=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(C=!1);const I=()=>Io(g.current),M=()=>(p.current.modalRef=b.current,p.current.mount=g.current,p.current),$=()=>{i.mount(M(),{disableScrollLock:r}),b.current&&(b.current.scrollTop=0)},B=vu(()=>{const ye=EDe(t)||I().body;i.add(M(),ye),b.current&&$()}),j=Y.useCallback(()=>i.isTopModal(M()),[i]),F=vu(ye=>{g.current=ye,ye&&(d&&j()?$():b.current&&gT(b.current,C))}),V=Y.useCallback(()=>{i.remove(M(),C)},[C,i]);Y.useEffect(()=>()=>{V()},[V]),Y.useEffect(()=>{d?B():(!_||!s)&&V()},[d,V,_,s,B]);const ie=ye=>ae=>{var Se;(Se=ye.onKeyDown)==null||Se.call(ye,ae),!(ae.key!=="Escape"||ae.which===229||!j())&&(n||(ae.stopPropagation(),c&&c(ae,"escapeKeyDown")))},se=ye=>ae=>{var Se;(Se=ye.onClick)==null||Se.call(ye,ae),ae.target===ae.currentTarget&&c&&c(ae,"backdropClick")};return{getRootProps:(ye={})=>{const ae=hT(e);delete ae.onTransitionEnter,delete ae.onTransitionExited;const Se={...ae,...ye};return{role:"presentation",...Se,onKeyDown:ie(Se),ref:w}},getBackdropProps:(ye={})=>{const ae=ye;return{"aria-hidden":!0,...ae,onClick:se(ae),open:d}},getTransitionProps:()=>{const ye=()=>{T(!1),a&&a()},ae=()=>{T(!0),o&&o(),s&&V()};return{onEnter:dM(ye,l==null?void 0:l.props.onEnter),onExited:dM(ae,l==null?void 0:l.props.onExited)}},rootRef:w,portalRef:F,isTopModal:j,exited:x,hasTransition:_}}function kDe(e){return Hn("MuiModal",e)}Yn("MuiModal",["root","hidden","backdrop"]);const _De=e=>{const{open:t,exited:n,classes:r}=e;return Vn({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},kDe,r)},ADe=Qt("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(Bn(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),CDe=Qt(wE,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),xE=Y.forwardRef(function(t,n){const r=ir({name:"MuiModal",props:t}),{BackdropComponent:i=CDe,BackdropProps:s,classes:a,className:o,closeAfterTransition:l=!1,children:c,container:d,component:f,components:p={},componentsProps:g={},disableAutoFocus:b=!1,disableEnforceFocus:w=!1,disableEscapeKeyDown:x=!1,disablePortal:T=!1,disableRestoreFocus:_=!1,disableScrollLock:C=!1,hideBackdrop:I=!1,keepMounted:M=!1,onBackdropClick:$,onClose:B,onTransitionEnter:j,onTransitionExited:F,open:V,slotProps:ie={},slots:se={},theme:me,...fe}=r,le={...r,closeAfterTransition:l,disableAutoFocus:b,disableEnforceFocus:w,disableEscapeKeyDown:x,disablePortal:T,disableRestoreFocus:_,disableScrollLock:C,hideBackdrop:I,keepMounted:M},{getRootProps:ye,getBackdropProps:ae,getTransitionProps:Se,portalRef:he,isTopModal:re,exited:Fe,hasTransition:je}=TDe({...le,rootRef:n}),ue={...le,exited:Fe},tt=_De(ue),St={};if(c.props.tabIndex===void 0&&(St.tabIndex="-1"),je){const{onEnter:Vt,onExited:en}=Se();St.onEnter=Vt,St.onExited=en}const Ze={...fe,slots:{root:p.Root,backdrop:p.Backdrop,...se},slotProps:{...g,...ie}},[qt,xt]=gl("root",{elementType:ADe,externalForwardedProps:Ze,getSlotProps:ye,additionalProps:{ref:n,as:f},ownerState:ue,className:cn(o,tt==null?void 0:tt.root,!ue.open&&ue.exited&&(tt==null?void 0:tt.hidden))}),[Nt,Ht]=gl("backdrop",{elementType:i,externalForwardedProps:Ze,additionalProps:s,getSlotProps:Vt=>ae({...Vt,onClick:en=>{$&&$(en),Vt!=null&&Vt.onClick&&Vt.onClick(en)}}),className:cn(s==null?void 0:s.className,tt==null?void 0:tt.backdrop),ownerState:ue}),Jt=$i(s==null?void 0:s.ref,Ht.ref);return!M&&!V&&(!je||Fe)?null:U.jsx(Yce,{ref:he,container:d,disablePortal:T,children:U.jsxs(qt,{...xt,children:[!I&&i?U.jsx(Nt,{...Ht,ref:Jt}):null,U.jsx(ODe,{disableEnforceFocus:w,disableAutoFocus:b,disableRestoreFocus:_,isEnabled:re,open:V,children:Y.cloneElement(c,St)})]})})});function RDe(e){return Hn("MuiDivider",e)}const rJ=Yn("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),IDe=e=>{const{absolute:t,children:n,classes:r,flexItem:i,light:s,orientation:a,textAlign:o,variant:l}=e;return Vn({root:["root",t&&"absolute",l,s&&"light",a==="vertical"&&"vertical",i&&"flexItem",n&&"withChildren",n&&a==="vertical"&&"withChildrenVertical",o==="right"&&a!=="vertical"&&"textAlignRight",o==="left"&&a!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",a==="vertical"&&"wrapperVertical"]},RDe,r)},DDe=Qt("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(Bn(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:mr(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),NDe=Qt("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(Bn(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),oy=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiDivider"}),{absolute:i=!1,children:s,className:a,orientation:o="horizontal",component:l=s||o==="vertical"?"div":"hr",flexItem:c=!1,light:d=!1,role:f=l!=="hr"?"separator":void 0,textAlign:p="center",variant:g="fullWidth",...b}=r,w={...r,absolute:i,component:l,flexItem:c,light:d,orientation:o,role:f,textAlign:p,variant:g},x=IDe(w);return U.jsx(DDe,{as:l,className:cn(x.root,a),role:f,ref:n,ownerState:w,"aria-orientation":f==="separator"&&(l!=="hr"||o==="vertical")?o:void 0,...b,children:s?U.jsx(NDe,{className:x.wrapper,ownerState:w,children:s}):null})});oy&&(oy.muiSkipListHighlight=!0);const PDe=e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:i,size:s,hiddenLabel:a,multiline:o}=e,l={root:["root",!n&&"underline",r&&"adornedStart",i&&"adornedEnd",s==="small"&&`size${jt(s)}`,a&&"hiddenLabel",o&&"multiline"],input:["input"]},c=Vn(l,BIe,t);return{...t,...c}},LDe=Qt(V6,{shouldForwardProp:e=>El(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...W6(e,t),!n.disableUnderline&&t.underline]}})(Bn(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",i=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:i,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Hc.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Hc.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s},variants:[{props:({ownerState:a})=>!a.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Hc.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Hc.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Hc.disabled}, .${Hc.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Hc.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(ca()).map(([a])=>{var o;return{props:{disableUnderline:!1,color:a},style:{"&::after":{borderBottom:`2px solid ${(o=(e.vars||e).palette[a])==null?void 0:o.main}`}}}}),{props:({ownerState:a})=>a.startAdornment,style:{paddingLeft:12}},{props:({ownerState:a})=>a.endAdornment,style:{paddingRight:12}},{props:({ownerState:a})=>a.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:a,size:o})=>a.multiline&&o==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:a})=>a.multiline&&a.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:a})=>a.multiline&&a.hiddenLabel&&a.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),MDe=Qt(G6,{name:"MuiFilledInput",slot:"Input",overridesResolver:Q6})(Bn(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),s5=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiFilledInput"}),{disableUnderline:i=!1,components:s={},componentsProps:a,fullWidth:o=!1,hiddenLabel:l,inputComponent:c="input",multiline:d=!1,slotProps:f,slots:p={},type:g="text",...b}=r,w={...r,disableUnderline:i,fullWidth:o,inputComponent:c,multiline:d,type:g},x=PDe(r),T={root:{ownerState:w},input:{ownerState:w}},_=f??a?Xo(T,f??a):T,C=p.root??s.Root??LDe,I=p.input??s.Input??MDe;return U.jsx(Uz,{slots:{root:C,input:I},componentsProps:_,fullWidth:o,inputComponent:c,multiline:d,ref:n,type:g,...b,classes:x})});s5&&(s5.muiName="Input");function FDe(e){return Hn("MuiFormControl",e)}Yn("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const $De=e=>{const{classes:t,margin:n,fullWidth:r}=e,i={root:["root",n!=="none"&&`margin${jt(n)}`,r&&"fullWidth"]};return Vn(i,FDe,t)},BDe=Qt("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...t[`margin${jt(e.margin)}`],...e.fullWidth&&t.fullWidth})})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),yf=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiFormControl"}),{children:i,className:s,color:a="primary",component:o="div",disabled:l=!1,error:c=!1,focused:d,fullWidth:f=!1,hiddenLabel:p=!1,margin:g="none",required:b=!1,size:w="medium",variant:x="outlined",...T}=r,_={...r,color:a,component:o,disabled:l,error:c,fullWidth:f,hiddenLabel:p,margin:g,required:b,size:w,variant:x},C=$De(_),[I,M]=Y.useState(()=>{let me=!1;return i&&Y.Children.forEach(i,fe=>{if(!fT(fe,["Input","Select"]))return;const le=fT(fe,["Select"])?fe.props.input:fe;le&&PIe(le.props)&&(me=!0)}),me}),[$,B]=Y.useState(()=>{let me=!1;return i&&Y.Children.forEach(i,fe=>{fT(fe,["Input","Select"])&&(r5(fe.props,!0)||r5(fe.props.inputProps,!0))&&(me=!0)}),me}),[j,F]=Y.useState(!1);l&&j&&F(!1);const V=d!==void 0&&!l?d:j;let ie;Y.useRef(!1);const se=Y.useMemo(()=>({adornedStart:I,setAdornedStart:M,color:a,disabled:l,error:c,filled:$,focused:V,fullWidth:f,hiddenLabel:p,size:w,onBlur:()=>{F(!1)},onEmpty:()=>{B(!1)},onFilled:()=>{B(!0)},onFocus:()=>{F(!0)},registerEffect:ie,required:b,variant:x}),[I,a,l,c,$,V,f,p,ie,b,w,x]);return U.jsx(j6.Provider,{value:se,children:U.jsx(BDe,{as:o,ownerState:_,className:cn(C.root,s),ref:n,...T,children:i})})});function UDe(e){return Hn("MuiFormControlLabel",e)}const zw=Yn("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),zDe=e=>{const{classes:t,disabled:n,labelPlacement:r,error:i,required:s}=e,a={root:["root",n&&"disabled",`labelPlacement${jt(r)}`,i&&"error",s&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",i&&"error"]};return Vn(a,UDe,t)},HDe=Qt("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${zw.label}`]:t.label},t.root,t[`labelPlacement${jt(n.labelPlacement)}`]]}})(Bn(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${zw.disabled}`]:{cursor:"default"},[`& .${zw.label}`]:{[`&.${zw.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:t})=>t==="start"||t==="top"||t==="bottom",style:{marginLeft:16}}]}))),qDe=Qt("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(Bn(({theme:e})=>({[`&.${zw.error}`]:{color:(e.vars||e).palette.error.main}}))),mk=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiFormControlLabel"}),{checked:i,className:s,componentsProps:a={},control:o,disabled:l,disableTypography:c,inputRef:d,label:f,labelPlacement:p="end",name:g,onChange:b,required:w,slots:x={},slotProps:T={},value:_,...C}=r,I=bh(),M=l??o.props.disabled??(I==null?void 0:I.disabled),$=w??o.props.required,B={disabled:M,required:$};["checked","name","onChange","value","inputRef"].forEach(le=>{typeof o.props[le]>"u"&&typeof r[le]<"u"&&(B[le]=r[le])});const j=E1({props:r,muiFormControl:I,states:["error"]}),F={...r,disabled:M,labelPlacement:p,required:$,error:j.error},V=zDe(F),ie={slots:x,slotProps:{...a,...T}},[se,me]=gl("typography",{elementType:fi,externalForwardedProps:ie,ownerState:F});let fe=f;return fe!=null&&fe.type!==fi&&!c&&(fe=U.jsx(se,{component:"span",...me,className:cn(V.label,me==null?void 0:me.className),children:fe})),U.jsxs(HDe,{className:cn(V.root,s),ownerState:F,ref:n,...C,children:[Y.cloneElement(o,B),$?U.jsxs("div",{children:[fe,U.jsxs(qDe,{ownerState:F,"aria-hidden":!0,className:V.asterisk,children:[" ","*"]})]}):fe]})});function jDe(e){return Hn("MuiFormGroup",e)}Yn("MuiFormGroup",["root","row","error"]);const WDe=e=>{const{classes:t,row:n,error:r}=e;return Vn({root:["root",n&&"row",r&&"error"]},jDe,t)},QDe=Qt("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),qz=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiFormGroup"}),{className:i,row:s=!1,...a}=r,o=bh(),l=E1({props:r,muiFormControl:o,states:["error"]}),c={...r,row:s,error:l.error},d=WDe(c);return U.jsx(QDe,{className:cn(d.root,i),ownerState:c,ref:n,...a})});function VDe(e){return Hn("MuiFormHelperText",e)}const iJ=Yn("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var sJ;const GDe=e=>{const{classes:t,contained:n,size:r,disabled:i,error:s,filled:a,focused:o,required:l}=e,c={root:["root",i&&"disabled",s&&"error",r&&`size${jt(r)}`,n&&"contained",o&&"focused",a&&"filled",l&&"required"]};return Vn(c,VDe,t)},YDe=Qt("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${jt(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(Bn(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${iJ.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${iJ.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),TE=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiFormHelperText"}),{children:i,className:s,component:a="p",disabled:o,error:l,filled:c,focused:d,margin:f,required:p,variant:g,...b}=r,w=bh(),x=E1({props:r,muiFormControl:w,states:["variant","size","disabled","error","filled","focused","required"]}),T={...r,component:a,contained:x.variant==="filled"||x.variant==="outlined",variant:x.variant,size:x.size,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required};delete T.ownerState;const _=GDe(T);return U.jsx(YDe,{as:a,className:cn(_.root,s),ref:n,...b,ownerState:T,children:i===" "?sJ||(sJ=U.jsx("span",{className:"notranslate",children:"​"})):i})});function ZDe(e){return Hn("MuiFormLabel",e)}const bT=Yn("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),XDe=e=>{const{classes:t,color:n,focused:r,disabled:i,error:s,filled:a,required:o}=e,l={root:["root",`color${jt(n)}`,i&&"disabled",s&&"error",a&&"filled",r&&"focused",o&&"required"],asterisk:["asterisk",s&&"error"]};return Vn(l,ZDe,t)},KDe=Qt("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...e.color==="secondary"&&t.colorSecondary,...e.filled&&t.filled})})(Bn(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t},style:{[`&.${bT.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${bT.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${bT.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),JDe=Qt("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(Bn(({theme:e})=>({[`&.${bT.error}`]:{color:(e.vars||e).palette.error.main}}))),Z6=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiFormLabel"}),{children:i,className:s,color:a,component:o="label",disabled:l,error:c,filled:d,focused:f,required:p,...g}=r,b=bh(),w=E1({props:r,muiFormControl:b,states:["color","required","focused","disabled","error","filled"]}),x={...r,color:w.color||"primary",component:o,disabled:w.disabled,error:w.error,filled:w.filled,focused:w.focused,required:w.required},T=XDe(x);return U.jsxs(KDe,{as:o,ownerState:x,className:cn(T.root,s),ref:n,...g,children:[i,w.required&&U.jsxs(JDe,{ownerState:x,"aria-hidden":!0,className:T.asterisk,children:[" ","*"]})]})}),aJ=Y.createContext();function eNe(e){return Hn("MuiGrid",e)}const tNe=[0,1,2,3,4,5,6,7,8,9,10],nNe=["column-reverse","column","row-reverse","row"],rNe=["nowrap","wrap-reverse","wrap"],tw=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],gk=Yn("MuiGrid",["root","container","item","zeroMinWidth",...tNe.map(e=>`spacing-xs-${e}`),...nNe.map(e=>`direction-xs-${e}`),...rNe.map(e=>`wrap-xs-${e}`),...tw.map(e=>`grid-xs-${e}`),...tw.map(e=>`grid-sm-${e}`),...tw.map(e=>`grid-md-${e}`),...tw.map(e=>`grid-lg-${e}`),...tw.map(e=>`grid-xl-${e}`)]);function iNe({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((r,i)=>{let s={};if(t[i]&&(n=t[i]),!n)return r;if(n===!0)s={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")s={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const a=zb({values:t.columns,breakpoints:e.breakpoints.values}),o=typeof a=="object"?a[i]:a;if(o==null)return r;const l=`${Math.round(n/o*1e8)/1e6}%`;let c={};if(t.container&&t.item&&t.columnSpacing!==0){const d=e.spacing(t.columnSpacing);if(d!=="0px"){const f=`calc(${l} + ${d})`;c={flexBasis:f,maxWidth:f}}}s={flexBasis:l,flexGrow:0,maxWidth:l,...c}}return e.breakpoints.values[i]===0?Object.assign(r,s):r[e.breakpoints.up(i)]=s,r},{})}function sNe({theme:e,ownerState:t}){const n=zb({values:t.direction,breakpoints:e.breakpoints.values});return dc({theme:e},n,r=>{const i={flexDirection:r};return r.startsWith("column")&&(i[`& > .${gk.item}`]={maxWidth:"none"}),i})}function nde({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(i=>{n===""&&t[i]!==0&&(n=i)});const r=Object.keys(e).sort((i,s)=>e[i]-e[s]);return r.slice(0,r.indexOf(n))}function aNe({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let i={};if(n&&r!==0){const s=zb({values:r,breakpoints:e.breakpoints.values});let a;typeof s=="object"&&(a=nde({breakpoints:e.breakpoints.values,values:s})),i=dc({theme:e},s,(o,l)=>{const c=e.spacing(o);return c!=="0px"?{marginTop:e.spacing(-o),[`& > .${gk.item}`]:{paddingTop:c}}:a!=null&&a.includes(l)?{}:{marginTop:0,[`& > .${gk.item}`]:{paddingTop:0}}})}return i}function oNe({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let i={};if(n&&r!==0){const s=zb({values:r,breakpoints:e.breakpoints.values});let a;typeof s=="object"&&(a=nde({breakpoints:e.breakpoints.values,values:s})),i=dc({theme:e},s,(o,l)=>{const c=e.spacing(o);if(c!=="0px"){const d=e.spacing(-o);return{width:`calc(100% + ${c})`,marginLeft:d,[`& > .${gk.item}`]:{paddingLeft:c}}}return a!=null&&a.includes(l)?{}:{width:"100%",marginLeft:0,[`& > .${gk.item}`]:{paddingLeft:0}}})}return i}function lNe(e,t,n={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach(i=>{const s=e[i];Number(s)>0&&r.push(n[`spacing-${i}-${String(s)}`])}),r}const uNe=Qt("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:i,item:s,spacing:a,wrap:o,zeroMinWidth:l,breakpoints:c}=n;let d=[];r&&(d=lNe(a,c,t));const f=[];return c.forEach(p=>{const g=n[p];g&&f.push(t[`grid-${p}-${String(g)}`])}),[t.root,r&&t.container,s&&t.item,l&&t.zeroMinWidth,...d,i!=="row"&&t[`direction-xs-${String(i)}`],o!=="wrap"&&t[`wrap-xs-${String(o)}`],...f]}})(({ownerState:e})=>({boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},...e.item&&{margin:0},...e.zeroMinWidth&&{minWidth:0},...e.wrap!=="wrap"&&{flexWrap:e.wrap}}),sNe,aNe,oNe,iNe);function cNe(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(r=>{const i=e[r];if(Number(i)>0){const s=`spacing-${r}-${String(i)}`;n.push(s)}}),n}const dNe=e=>{const{classes:t,container:n,direction:r,item:i,spacing:s,wrap:a,zeroMinWidth:o,breakpoints:l}=e;let c=[];n&&(c=cNe(s,l));const d=[];l.forEach(p=>{const g=e[p];g&&d.push(`grid-${p}-${String(g)}`)});const f={root:["root",n&&"container",i&&"item",o&&"zeroMinWidth",...c,r!=="row"&&`direction-xs-${String(r)}`,a!=="wrap"&&`wrap-xs-${String(a)}`,...d]};return Vn(f,eNe,t)},AS=Y.forwardRef(function(t,n){const r=T_({props:t,name:"MuiGrid"}),{breakpoints:i}=Ap(),s=w_(r),{className:a,columns:o,columnSpacing:l,component:c="div",container:d=!1,direction:f="row",item:p=!1,rowSpacing:g,spacing:b=0,wrap:w="wrap",zeroMinWidth:x=!1,...T}=s,_=g||b,C=l||b,I=Y.useContext(aJ),M=d?o||12:I,$={},B={...T};i.keys.forEach(V=>{T[V]!=null&&($[V]=T[V],delete B[V])});const j={...s,columns:M,container:d,direction:f,item:p,rowSpacing:_,columnSpacing:C,wrap:w,zeroMinWidth:x,spacing:b,...$,breakpoints:i.keys},F=dNe(j);return U.jsx(aJ.Provider,{value:M,children:U.jsx(uNe,{ownerState:j,className:cn(F.root,a),as:c,ref:n,...B})})}),r4=x3e({createStyledComponent:Qt("div",{name:"MuiGrid2",slot:"Root",overridesResolver:(e,t)=>t.root}),componentName:"MuiGrid2",useThemeProps:e=>T_({props:e,name:"MuiGrid2"})});function TM(e){return`scale(${e}, ${e**2})`}const fNe={entering:{opacity:1,transform:TM(1)},entered:{opacity:1,transform:"none"}},iP=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),bk=Y.forwardRef(function(t,n){const{addEndListener:r,appear:i=!0,children:s,easing:a,in:o,onEnter:l,onEntered:c,onEntering:d,onExit:f,onExited:p,onExiting:g,style:b,timeout:w="auto",TransitionComponent:x=gh,...T}=t,_=Sb(),C=Y.useRef(),I=Ap(),M=Y.useRef(null),$=$i(M,OE(s),n),B=le=>ye=>{if(le){const ae=M.current;ye===void 0?le(ae):le(ae,ye)}},j=B(d),F=B((le,ye)=>{Bce(le);const{duration:ae,delay:Se,easing:he}=$O({style:b,timeout:w,easing:a},{mode:"enter"});let re;w==="auto"?(re=I.transitions.getAutoHeightDuration(le.clientHeight),C.current=re):re=ae,le.style.transition=[I.transitions.create("opacity",{duration:re,delay:Se}),I.transitions.create("transform",{duration:iP?re:re*.666,delay:Se,easing:he})].join(","),l&&l(le,ye)}),V=B(c),ie=B(g),se=B(le=>{const{duration:ye,delay:ae,easing:Se}=$O({style:b,timeout:w,easing:a},{mode:"exit"});let he;w==="auto"?(he=I.transitions.getAutoHeightDuration(le.clientHeight),C.current=he):he=ye,le.style.transition=[I.transitions.create("opacity",{duration:he,delay:ae}),I.transitions.create("transform",{duration:iP?he:he*.666,delay:iP?ae:ae||he*.333,easing:Se})].join(","),le.style.opacity=0,le.style.transform=TM(.75),f&&f(le)}),me=B(p),fe=le=>{w==="auto"&&_.start(C.current||0,le),r&&r(M.current,le)};return U.jsx(x,{appear:i,in:o,nodeRef:M,onEnter:F,onEntered:V,onEntering:j,onExit:se,onExited:me,onExiting:ie,addEndListener:fe,timeout:w==="auto"?null:w,...T,children:(le,ye)=>Y.cloneElement(s,{style:{opacity:0,transform:TM(.75),visibility:le==="exited"&&!o?"hidden":void 0,...fNe[le],...b,...s.props.style},ref:$,...ye})})});bk&&(bk.muiSupportAuto=!0);function hNe(e){return Hn("MuiIcon",e)}Yn("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const pNe=e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root",t!=="inherit"&&`color${jt(t)}`,`fontSize${jt(n)}`]};return Vn(i,hNe,r)},mNe=Qt("span",{name:"MuiIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${jt(n.color)}`],t[`fontSize${jt(n.fontSize)}`]]}})(Bn(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",overflow:"hidden",display:"inline-block",textAlign:"center",flexShrink:0,variants:[{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography.pxToRem(20)}},{props:{fontSize:"medium"},style:{fontSize:e.typography.pxToRem(24)}},{props:{fontSize:"large"},style:{fontSize:e.typography.pxToRem(36)}},{props:{color:"action"},style:{color:(e.vars||e).palette.action.active}},{props:{color:"disabled"},style:{color:(e.vars||e).palette.action.disabled}},{props:{color:"inherit"},style:{color:void 0}},...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),kM=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiIcon"}),{baseClassName:i="material-icons",className:s,color:a="inherit",component:o="span",fontSize:l="medium",...c}=r,d={...r,baseClassName:i,color:a,component:o,fontSize:l},f=pNe(d);return U.jsx(mNe,{as:o,className:cn(i,"notranslate",f.root,s),ownerState:d,"aria-hidden":!0,ref:n,...c})});kM&&(kM.muiName="Icon");const gNe=e=>{const{classes:t,disableUnderline:n}=e,i=Vn({root:["root",!n&&"underline"],input:["input"]},FIe,t);return{...t,...i}},bNe=Qt(V6,{shouldForwardProp:e=>El(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...W6(e,t),!n.disableUnderline&&t.underline]}})(Bn(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Eg.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Eg.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Eg.disabled}, .${Eg.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Eg.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(ca()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),yNe=Qt(G6,{name:"MuiInput",slot:"Input",overridesResolver:Q6})({}),a5=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiInput"}),{disableUnderline:i=!1,components:s={},componentsProps:a,fullWidth:o=!1,inputComponent:l="input",multiline:c=!1,slotProps:d,slots:f={},type:p="text",...g}=r,b=gNe(r),x={root:{ownerState:{disableUnderline:i}}},T=d??a?Xo(d??a,x):x,_=f.root??s.Root??bNe,C=f.input??s.Input??yNe;return U.jsx(Uz,{slots:{root:_,input:C},slotProps:T,fullWidth:o,inputComponent:l,multiline:c,ref:n,type:p,...g,classes:b})});a5&&(a5.muiName="Input");function vNe(e){return Hn("MuiInputAdornment",e)}const oJ=Yn("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var lJ;const SNe=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${jt(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},ONe=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:i,size:s,variant:a}=e,o={root:["root",n&&"disablePointerEvents",i&&`position${jt(i)}`,a,r&&"hiddenLabel",s&&`size${jt(s)}`]};return Vn(o,vNe,t)},ENe=Qt("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:SNe})(Bn(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${oJ.positionStart}&:not(.${oJ.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),_M=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiInputAdornment"}),{children:i,className:s,component:a="div",disablePointerEvents:o=!1,disableTypography:l=!1,position:c,variant:d,...f}=r,p=bh()||{};let g=d;d&&p.variant,p&&!g&&(g=p.variant);const b={...r,hiddenLabel:p.hiddenLabel,size:p.size,disablePointerEvents:o,position:c,variant:g},w=ONe(b);return U.jsx(j6.Provider,{value:null,children:U.jsx(ENe,{as:a,ownerState:b,className:cn(w.root,s),ref:n,...f,children:typeof i=="string"&&!l?U.jsx(fi,{color:"textSecondary",children:i}):U.jsxs(Y.Fragment,{children:[c==="start"?lJ||(lJ=U.jsx("span",{className:"notranslate",children:"​"})):null,i]})})})});function wNe(e){return Hn("MuiInputLabel",e)}Yn("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const xNe=e=>{const{classes:t,formControl:n,size:r,shrink:i,disableAnimation:s,variant:a,required:o}=e,l={root:["root",n&&"formControl",!s&&"animated",i&&"shrink",r&&r!=="normal"&&`size${jt(r)}`,a],asterisk:[o&&"asterisk"]},c=Vn(l,wNe,t);return{...t,...c}},TNe=Qt(Z6,{shouldForwardProp:e=>El(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${bT.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(Bn(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:r})=>t==="filled"&&n.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),rde=Y.forwardRef(function(t,n){const r=ir({name:"MuiInputLabel",props:t}),{disableAnimation:i=!1,margin:s,shrink:a,variant:o,className:l,...c}=r,d=bh();let f=a;typeof f>"u"&&d&&(f=d.filled||d.focused||d.adornedStart);const p=E1({props:r,muiFormControl:d,states:["size","variant","required","focused"]}),g={...r,disableAnimation:i,formControl:d,shrink:f,size:p.size,variant:p.variant,required:p.required,focused:p.focused},b=xNe(g);return U.jsx(TNe,{"data-shrink":f,ref:n,className:cn(b.root,l),...c,ownerState:g,classes:b})}),af=Y.createContext({});function kNe(e){return Hn("MuiList",e)}Yn("MuiList",["root","padding","dense","subheader"]);const _Ne=e=>{const{classes:t,disablePadding:n,dense:r,subheader:i}=e;return Vn({root:["root",!n&&"padding",r&&"dense",i&&"subheader"]},kNe,t)},ANe=Qt("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),ide=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiList"}),{children:i,className:s,component:a="ul",dense:o=!1,disablePadding:l=!1,subheader:c,...d}=r,f=Y.useMemo(()=>({dense:o}),[o]),p={...r,component:a,dense:o,disablePadding:l},g=_Ne(p);return U.jsx(af.Provider,{value:f,children:U.jsxs(ANe,{as:a,className:cn(g.root,s),ref:n,ownerState:p,...d,children:[c,i]})})});function CNe(e){return Hn("MuiListItem",e)}Yn("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function RNe(e){return Hn("MuiListItemButton",e)}const iS=Yn("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),INe=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},DNe=e=>{const{alignItems:t,classes:n,dense:r,disabled:i,disableGutters:s,divider:a,selected:o}=e,c=Vn({root:["root",r&&"dense",!s&&"gutters",a&&"divider",i&&"disabled",t==="flex-start"&&"alignItemsFlexStart",o&&"selected"]},RNe,n);return{...n,...c}},NNe=Qt(cm,{shouldForwardProp:e=>El(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:INe})(Bn(({theme:e})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${iS.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:mr(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${iS.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:mr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${iS.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:mr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:mr(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${iS.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${iS.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.dense,style:{paddingTop:4,paddingBottom:4}}]}))),uJ=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiListItemButton"}),{alignItems:i="center",autoFocus:s=!1,component:a="div",children:o,dense:l=!1,disableGutters:c=!1,divider:d=!1,focusVisibleClassName:f,selected:p=!1,className:g,...b}=r,w=Y.useContext(af),x=Y.useMemo(()=>({dense:l||w.dense||!1,alignItems:i,disableGutters:c}),[i,w.dense,l,c]),T=Y.useRef(null);ud(()=>{s&&T.current&&T.current.focus()},[s]);const _={...r,alignItems:i,dense:x.dense,disableGutters:c,divider:d,selected:p},C=DNe(_),I=$i(T,n);return U.jsx(af.Provider,{value:x,children:U.jsx(NNe,{ref:I,href:b.href||b.to,component:(b.href||b.to)&&a==="div"?"button":a,focusVisibleClassName:cn(C.focusVisible,f),ownerState:_,className:cn(C.root,g),...b,classes:C,children:o})})});function PNe(e){return Hn("MuiListItemSecondaryAction",e)}Yn("MuiListItemSecondaryAction",["root","disableGutters"]);const LNe=e=>{const{disableGutters:t,classes:n}=e;return Vn({root:["root",t&&"disableGutters"]},PNe,n)},MNe=Qt("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),jz=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiListItemSecondaryAction"}),{className:i,...s}=r,a=Y.useContext(af),o={...r,disableGutters:a.disableGutters},l=LNe(o);return U.jsx(MNe,{className:cn(l.root,i),ownerState:o,ref:n,...s})});jz.muiName="ListItemSecondaryAction";const FNe=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.hasSecondaryAction&&t.secondaryAction]},$Ne=e=>{const{alignItems:t,classes:n,dense:r,disableGutters:i,disablePadding:s,divider:a,hasSecondaryAction:o}=e;return Vn({root:["root",r&&"dense",!i&&"gutters",!s&&"padding",a&&"divider",t==="flex-start"&&"alignItemsFlexStart",o&&"secondaryAction"],container:["container"]},CNe,n)},BNe=Qt("div",{name:"MuiListItem",slot:"Root",overridesResolver:FNe})(Bn(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>!t.disablePadding&&t.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:t})=>!t.disablePadding&&!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>!t.disablePadding&&!!t.secondaryAction,style:{paddingRight:48}},{props:({ownerState:t})=>!!t.secondaryAction,style:{[`& > .${iS.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>t.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:t})=>t.hasSecondaryAction,style:{paddingRight:48}}]}))),UNe=Qt("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),zNe=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiListItem"}),{alignItems:i="center",children:s,className:a,component:o,components:l={},componentsProps:c={},ContainerComponent:d="li",ContainerProps:{className:f,...p}={},dense:g=!1,disableGutters:b=!1,disablePadding:w=!1,divider:x=!1,secondaryAction:T,slotProps:_={},slots:C={},...I}=r,M=Y.useContext(af),$=Y.useMemo(()=>({dense:g||M.dense||!1,alignItems:i,disableGutters:b}),[i,M.dense,g,b]),B=Y.useRef(null),j=Y.Children.toArray(s),F=j.length&&fT(j[j.length-1],["ListItemSecondaryAction"]),V={...r,alignItems:i,dense:$.dense,disableGutters:b,disablePadding:w,divider:x,hasSecondaryAction:F},ie=$Ne(V),se=$i(B,n),me=C.root||l.Root||BNe,fe=_.root||c.root||{},le={className:cn(ie.root,fe.className,a),...I};let ye=o||"li";return F?(ye=!le.component&&!o?"div":ye,d==="li"&&(ye==="li"?ye="div":le.component==="li"&&(le.component="div")),U.jsx(af.Provider,{value:$,children:U.jsxs(UNe,{as:d,className:cn(ie.container,f),ref:se,ownerState:V,...p,children:[U.jsx(me,{...fe,...!K0(me)&&{as:ye,ownerState:{...V,...fe.ownerState}},...le,children:j}),j.pop()]})})):U.jsx(af.Provider,{value:$,children:U.jsxs(me,{...fe,as:ye,ref:se,...!K0(me)&&{ownerState:{...V,...fe.ownerState}},...le,children:[j,T&&U.jsx(jz,{children:T})]})})});function HNe(e){return Hn("MuiListItemAvatar",e)}Yn("MuiListItemAvatar",["root","alignItemsFlexStart"]);const qNe=e=>{const{alignItems:t,classes:n}=e;return Vn({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},HNe,n)},jNe=Qt("div",{name:"MuiListItemAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})({minWidth:56,flexShrink:0,variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}),WNe=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiListItemAvatar"}),{className:i,...s}=r,a=Y.useContext(af),o={...r,alignItems:a.alignItems},l=qNe(o);return U.jsx(jNe,{className:cn(l.root,i),ownerState:o,ref:n,...s})});function QNe(e){return Hn("MuiListItemIcon",e)}const cJ=Yn("MuiListItemIcon",["root","alignItemsFlexStart"]),VNe=e=>{const{alignItems:t,classes:n}=e;return Vn({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},QNe,n)},GNe=Qt("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(Bn(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),J0=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiListItemIcon"}),{className:i,...s}=r,a=Y.useContext(af),o={...r,alignItems:a.alignItems},l=VNe(o);return U.jsx(GNe,{className:cn(l.root,i),ownerState:o,ref:n,...s})});function YNe(e){return Hn("MuiListItemText",e)}const CS=Yn("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),ZNe=e=>{const{classes:t,inset:n,primary:r,secondary:i,dense:s}=e;return Vn({root:["root",n&&"inset",s&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]},YNe,t)},XNe=Qt("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${CS.primary}`]:t.primary},{[`& .${CS.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${PK.root}:where(& .${CS.primary})`]:{display:"block"},[`.${PK.root}:where(& .${CS.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),ah=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiListItemText"}),{children:i,className:s,disableTypography:a=!1,inset:o=!1,primary:l,primaryTypographyProps:c,secondary:d,secondaryTypographyProps:f,...p}=r,{dense:g}=Y.useContext(af);let b=l??i,w=d;const x={...r,disableTypography:a,inset:o,primary:!!b,secondary:!!w,dense:g},T=ZNe(x);return b!=null&&b.type!==fi&&!a&&(b=U.jsx(fi,{variant:g?"body2":"body1",className:T.primary,component:c!=null&&c.variant?void 0:"span",...c,children:b})),w!=null&&w.type!==fi&&!a&&(w=U.jsx(fi,{variant:"body2",className:T.secondary,color:"textSecondary",...f,children:w})),U.jsxs(XNe,{className:cn(T.root,s),ownerState:x,ref:n,...p,children:[b,w]})});function sP(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function dJ(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function sde(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function nw(e,t,n,r,i,s){let a=!1,o=i(e,t,t?n:!1);for(;o;){if(o===e.firstChild){if(a)return!1;a=!0}const l=r?!1:o.disabled||o.getAttribute("aria-disabled")==="true";if(!o.hasAttribute("tabindex")||!sde(o,s)||l)o=i(e,o,n);else return o.focus(),!0}return!1}const qO=Y.forwardRef(function(t,n){const{actions:r,autoFocus:i=!1,autoFocusItem:s=!1,children:a,className:o,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:d,variant:f="selectedMenu",...p}=t,g=Y.useRef(null),b=Y.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});ud(()=>{i&&g.current.focus()},[i]),Y.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(C,{direction:I})=>{const M=!g.current.style.width;if(C.clientHeight{const I=g.current,M=C.key;if(C.ctrlKey||C.metaKey||C.altKey){d&&d(C);return}const B=Io(I).activeElement;if(M==="ArrowDown")C.preventDefault(),nw(I,B,c,l,sP);else if(M==="ArrowUp")C.preventDefault(),nw(I,B,c,l,dJ);else if(M==="Home")C.preventDefault(),nw(I,null,c,l,sP);else if(M==="End")C.preventDefault(),nw(I,null,c,l,dJ);else if(M.length===1){const j=b.current,F=M.toLowerCase(),V=performance.now();j.keys.length>0&&(V-j.lastTime>500?(j.keys=[],j.repeating=!0,j.previousKeyMatched=!0):j.repeating&&F!==j.keys[0]&&(j.repeating=!1)),j.lastTime=V,j.keys.push(F);const ie=B&&!j.repeating&&sde(B,j);j.previousKeyMatched&&(ie||nw(I,B,!1,l,sP,j))?C.preventDefault():j.previousKeyMatched=!1}d&&d(C)},x=$i(g,n);let T=-1;Y.Children.forEach(a,(C,I)=>{if(!Y.isValidElement(C)){T===I&&(T+=1,T>=a.length&&(T=-1));return}C.props.disabled||(f==="selectedMenu"&&C.props.selected||T===-1)&&(T=I),T===I&&(C.props.disabled||C.props.muiSkipListHighlight||C.type.muiSkipListHighlight)&&(T+=1,T>=a.length&&(T=-1))});const _=Y.Children.map(a,(C,I)=>{if(I===T){const M={};return s&&(M.autoFocus=!0),C.props.tabIndex===void 0&&f==="selectedMenu"&&(M.tabIndex=0),Y.cloneElement(C,M)}return C});return U.jsx(ide,{role:"menu",ref:x,className:o,onKeyDown:w,tabIndex:i?0:-1,...p,children:_})});function KNe(e){return Hn("MuiPopover",e)}Yn("MuiPopover",["root","paper"]);function fJ(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function hJ(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function pJ(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function aP(e){return typeof e=="function"?e():e}const JNe=e=>{const{classes:t}=e;return Vn({root:["root"],paper:["paper"]},KNe,t)},e7e=Qt(xE,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ade=Qt(Ko,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Ay=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiPopover"}),{action:i,anchorEl:s,anchorOrigin:a={vertical:"top",horizontal:"left"},anchorPosition:o,anchorReference:l="anchorEl",children:c,className:d,container:f,elevation:p=8,marginThreshold:g=16,open:b,PaperProps:w={},slots:x={},slotProps:T={},transformOrigin:_={vertical:"top",horizontal:"left"},TransitionComponent:C=bk,transitionDuration:I="auto",TransitionProps:{onEntering:M,...$}={},disableScrollLock:B=!1,...j}=r,F=(T==null?void 0:T.paper)??w,V=Y.useRef(),ie={...r,anchorOrigin:a,anchorReference:l,elevation:p,marginThreshold:g,externalPaperSlotProps:F,transformOrigin:_,TransitionComponent:C,transitionDuration:I,TransitionProps:$},se=JNe(ie),me=Y.useCallback(()=>{if(l==="anchorPosition")return o;const Ht=aP(s),Vt=(Ht&&Ht.nodeType===1?Ht:Io(V.current).body).getBoundingClientRect();return{top:Vt.top+fJ(Vt,a.vertical),left:Vt.left+hJ(Vt,a.horizontal)}},[s,a.horizontal,a.vertical,o,l]),fe=Y.useCallback(Ht=>({vertical:fJ(Ht,_.vertical),horizontal:hJ(Ht,_.horizontal)}),[_.horizontal,_.vertical]),le=Y.useCallback(Ht=>{const Jt={width:Ht.offsetWidth,height:Ht.offsetHeight},Vt=fe(Jt);if(l==="none")return{top:null,left:null,transformOrigin:pJ(Vt)};const en=me();let Ct=en.top-Vt.vertical,Xe=en.left-Vt.horizontal;const Ut=Ct+Jt.height,sn=Xe+Jt.width,te=sy(aP(s)),de=te.innerHeight-g,we=te.innerWidth-g;if(g!==null&&Ctde){const We=Ut-de;Ct-=We,Vt.vertical+=We}if(g!==null&&Xewe){const We=sn-we;Xe-=We,Vt.horizontal+=We}return{top:`${Math.round(Ct)}px`,left:`${Math.round(Xe)}px`,transformOrigin:pJ(Vt)}},[s,l,me,fe,g]),[ye,ae]=Y.useState(b),Se=Y.useCallback(()=>{const Ht=V.current;if(!Ht)return;const Jt=le(Ht);Jt.top!==null&&Ht.style.setProperty("top",Jt.top),Jt.left!==null&&(Ht.style.left=Jt.left),Ht.style.transformOrigin=Jt.transformOrigin,ae(!0)},[le]);Y.useEffect(()=>(B&&window.addEventListener("scroll",Se),()=>window.removeEventListener("scroll",Se)),[s,B,Se]);const he=(Ht,Jt)=>{M&&M(Ht,Jt),Se()},re=()=>{ae(!1)};Y.useEffect(()=>{b&&Se()}),Y.useImperativeHandle(i,()=>b?{updatePosition:()=>{Se()}}:null,[b,Se]),Y.useEffect(()=>{if(!b)return;const Ht=xce(()=>{Se()}),Jt=sy(s);return Jt.addEventListener("resize",Ht),()=>{Ht.clear(),Jt.removeEventListener("resize",Ht)}},[s,b,Se]);let Fe=I;I==="auto"&&!C.muiSupportAuto&&(Fe=void 0);const je=f||(s?Io(aP(s)).body:void 0),ue={slots:x,slotProps:{...T,paper:F}},[tt,St]=gl("paper",{elementType:ade,externalForwardedProps:ue,additionalProps:{elevation:p,className:cn(se.paper,F==null?void 0:F.className),style:ye?F.style:{...F.style,opacity:0}},ownerState:ie}),[Ze,{slotProps:qt,...xt}]=gl("root",{elementType:e7e,externalForwardedProps:ue,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:je,open:b},ownerState:ie,className:cn(se.root,d)}),Nt=$i(V,St.ref);return U.jsx(Ze,{...xt,...!K0(Ze)&&{slotProps:qt,disableScrollLock:B},...j,ref:n,children:U.jsx(C,{appear:!0,in:b,onEntering:he,onExited:re,timeout:Fe,...$,children:U.jsx(tt,{...St,ref:Nt,children:c})})})});function t7e(e){return Hn("MuiMenu",e)}Yn("MuiMenu",["root","paper","list"]);const n7e={vertical:"top",horizontal:"right"},r7e={vertical:"top",horizontal:"left"},i7e=e=>{const{classes:t}=e;return Vn({root:["root"],paper:["paper"],list:["list"]},t7e,t)},s7e=Qt(Ay,{shouldForwardProp:e=>El(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),a7e=Qt(ade,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),o7e=Qt(qO,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Wz=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiMenu"}),{autoFocus:i=!0,children:s,className:a,disableAutoFocusItem:o=!1,MenuListProps:l={},onClose:c,open:d,PaperProps:f={},PopoverClasses:p,transitionDuration:g="auto",TransitionProps:{onEntering:b,...w}={},variant:x="selectedMenu",slots:T={},slotProps:_={},...C}=r,I=F6(),M={...r,autoFocus:i,disableAutoFocusItem:o,MenuListProps:l,onEntering:b,PaperProps:f,transitionDuration:g,TransitionProps:w,variant:x},$=i7e(M),B=i&&!o&&d,j=Y.useRef(null),F=(ye,ae)=>{j.current&&j.current.adjustStyleForScrollbar(ye,{direction:I?"rtl":"ltr"}),b&&b(ye,ae)},V=ye=>{ye.key==="Tab"&&(ye.preventDefault(),c&&c(ye,"tabKeyDown"))};let ie=-1;Y.Children.map(s,(ye,ae)=>{Y.isValidElement(ye)&&(ye.props.disabled||(x==="selectedMenu"&&ye.props.selected||ie===-1)&&(ie=ae))});const se=T.paper??a7e,me=_.paper??f,fe=Qf({elementType:T.root,externalSlotProps:_.root,ownerState:M,className:[$.root,a]}),le=Qf({elementType:se,externalSlotProps:me,ownerState:M,className:$.paper});return U.jsx(s7e,{onClose:c,anchorOrigin:{vertical:"bottom",horizontal:I?"right":"left"},transformOrigin:I?n7e:r7e,slots:{paper:se,root:T.root},slotProps:{root:fe,paper:le},open:d,ref:n,transitionDuration:g,TransitionProps:{onEntering:F,...w},ownerState:M,...C,classes:p,children:U.jsx(o7e,{onKeyDown:V,actions:j,autoFocus:i&&(ie===-1||o),autoFocusItem:B,variant:x,...l,className:cn($.list,l.className),children:s})})});function l7e(e){return Hn("MuiMenuItem",e)}const rw=Yn("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),u7e=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},c7e=e=>{const{disabled:t,dense:n,divider:r,disableGutters:i,selected:s,classes:a}=e,l=Vn({root:["root",n&&"dense",t&&"disabled",!i&&"gutters",r&&"divider",s&&"selected"]},l7e,a);return{...a,...l}},d7e=Qt(cm,{shouldForwardProp:e=>El(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:u7e})(Bn(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${rw.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:mr(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${rw.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:mr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${rw.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:mr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:mr(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${rw.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${rw.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${rJ.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${rJ.inset}`]:{marginLeft:52},[`& .${CS.root}`]:{marginTop:0,marginBottom:0},[`& .${CS.inset}`]:{paddingLeft:36},[`& .${cJ.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${cJ.root} svg`]:{fontSize:"1.25rem"}}}]}))),oc=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiMenuItem"}),{autoFocus:i=!1,component:s="li",dense:a=!1,divider:o=!1,disableGutters:l=!1,focusVisibleClassName:c,role:d="menuitem",tabIndex:f,className:p,...g}=r,b=Y.useContext(af),w=Y.useMemo(()=>({dense:a||b.dense||!1,disableGutters:l}),[b.dense,a,l]),x=Y.useRef(null);ud(()=>{i&&x.current&&x.current.focus()},[i]);const T={...r,dense:w.dense,divider:o,disableGutters:l},_=c7e(r),C=$i(x,n);let I;return r.disabled||(I=f!==void 0?f:-1),U.jsx(af.Provider,{value:w,children:U.jsx(d7e,{ref:C,role:d,tabIndex:I,component:s,focusVisibleClassName:cn(_.focusVisible,c),className:cn(_.root,p),...g,ownerState:T,classes:_})})});function f7e(e){return Hn("MuiNativeSelect",e)}const Qz=Yn("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),h7e=e=>{const{classes:t,variant:n,disabled:r,multiple:i,open:s,error:a}=e,o={select:["select",n,r&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${jt(n)}`,s&&"iconOpen",r&&"disabled"]};return Vn(o,f7e,t)},ode=Qt("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Qz.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),p7e=Qt(ode,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:El,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${Qz.multiple}`]:t.multiple}]}})({}),lde=Qt("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${Qz.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),m7e=Qt(lde,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${jt(n.variant)}`],n.open&&t.iconOpen]}})({}),g7e=Y.forwardRef(function(t,n){const{className:r,disabled:i,error:s,IconComponent:a,inputRef:o,variant:l="standard",...c}=t,d={...t,disabled:i,variant:l,error:s},f=h7e(d);return U.jsxs(Y.Fragment,{children:[U.jsx(p7e,{ownerState:d,className:cn(f.select,r),disabled:i,ref:o||n,...c}),t.multiple?null:U.jsx(m7e,{as:a,ownerState:d,className:f.icon})]})});var mJ;const b7e=Qt("fieldset",{shouldForwardProp:El})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),y7e=Qt("legend",{shouldForwardProp:El})(Bn(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function v7e(e){const{children:t,classes:n,className:r,label:i,notched:s,...a}=e,o=i!=null&&i!=="",l={...e,notched:s,withLabel:o};return U.jsx(b7e,{"aria-hidden":!0,className:r,ownerState:l,...a,children:U.jsx(y7e,{ownerState:l,children:o?U.jsx("span",{children:i}):mJ||(mJ=U.jsx("span",{className:"notranslate",children:"​"}))})})}const S7e=e=>{const{classes:t}=e,r=Vn({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},$Ie,t);return{...t,...r}},O7e=Qt(V6,{shouldForwardProp:e=>El(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:W6})(Bn(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Bd.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},[`&.${Bd.focused} .${Bd.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(ca()).map(([n])=>({props:{color:n},style:{[`&.${Bd.focused} .${Bd.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{"@media (hover: none)":{[`&:hover .${Bd.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${Bd.error} .${Bd.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Bd.disabled} .${Bd.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),E7e=Qt(v7e,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(Bn(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),w7e=Qt(G6,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Q6})(Bn(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),o5=Y.forwardRef(function(t,n){var r;const i=ir({props:t,name:"MuiOutlinedInput"}),{components:s={},fullWidth:a=!1,inputComponent:o="input",label:l,multiline:c=!1,notched:d,slots:f={},type:p="text",...g}=i,b=S7e(i),w=bh(),x=E1({props:i,muiFormControl:w,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),T={...i,color:x.color||"primary",disabled:x.disabled,error:x.error,focused:x.focused,formControl:w,fullWidth:a,hiddenLabel:x.hiddenLabel,multiline:c,size:x.size,type:p},_=f.root??s.Root??O7e,C=f.input??s.Input??w7e;return U.jsx(Uz,{slots:{root:_,input:C},renderSuffix:I=>U.jsx(E7e,{ownerState:T,className:b.notchedOutline,label:l!=null&&l!==""&&x.required?r||(r=U.jsxs(Y.Fragment,{children:[l," ","*"]})):l,notched:typeof d<"u"?d:!!(I.startAdornment||I.filled||I.focused)}),fullWidth:a,inputComponent:o,multiline:c,ref:n,type:p,...g,classes:{...b,notchedOutline:null}})});o5&&(o5.muiName="Input");const x7e=pi(U.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),T7e=pi(U.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),k7e=Qt("span",{shouldForwardProp:El})({position:"relative",display:"flex"}),_7e=Qt(x7e)({transform:"scale(1)"}),A7e=Qt(T7e)(Bn(({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function ude(e){const{checked:t=!1,classes:n={},fontSize:r}=e,i={...e,checked:t};return U.jsxs(k7e,{className:n.root,ownerState:i,children:[U.jsx(_7e,{fontSize:r,className:n.background,ownerState:i}),U.jsx(A7e,{fontSize:r,className:n.dot,ownerState:i})]})}const cde=Y.createContext(void 0);function C7e(){return Y.useContext(cde)}function R7e(e){return Hn("MuiRadio",e)}const gJ=Yn("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),I7e=e=>{const{classes:t,color:n,size:r}=e,i={root:["root",`color${jt(n)}`,r!=="medium"&&`size${jt(r)}`]};return{...t,...Vn(i,R7e,t)}},D7e=Qt(zz,{shouldForwardProp:e=>El(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size!=="medium"&&t[`size${jt(n.size)}`],t[`color${jt(n.color)}`]]}})(Bn(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${gJ.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${gJ.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function N7e(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}const bJ=U.jsx(ude,{checked:!0}),yJ=U.jsx(ude,{}),vJ=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiRadio"}),{checked:i,checkedIcon:s=bJ,color:a="primary",icon:o=yJ,name:l,onChange:c,size:d="medium",className:f,disabled:p,disableRipple:g=!1,...b}=r,w=bh();let x=p;w&&typeof x>"u"&&(x=w.disabled),x??(x=!1);const T={...r,disabled:x,disableRipple:g,color:a,size:d},_=I7e(T),C=C7e();let I=i;const M=dM(c,C&&C.onChange);let $=l;return C&&(typeof I>"u"&&(I=N7e(C.value,r.value)),typeof $>"u"&&($=C.name)),U.jsx(D7e,{type:"radio",icon:Y.cloneElement(o,{fontSize:yJ.props.fontSize??d}),checkedIcon:Y.cloneElement(s,{fontSize:bJ.props.fontSize??d}),disabled:x,ownerState:T,classes:_,name:$,checked:I,onChange:M,ref:n,className:cn(_.root,f),...b})});function P7e(e){return Hn("MuiRadioGroup",e)}Yn("MuiRadioGroup",["root","row","error"]);const L7e=e=>{const{classes:t,row:n,error:r}=e;return Vn({root:["root",n&&"row",r&&"error"]},P7e,t)},M7e=Y.forwardRef(function(t,n){const{actions:r,children:i,className:s,defaultValue:a,name:o,onChange:l,value:c,...d}=t,f=Y.useRef(null),p=L7e(t),[g,b]=X0({controlled:c,default:a,name:"RadioGroup"});Y.useImperativeHandle(r,()=>({focus:()=>{let _=f.current.querySelector("input:not(:disabled):checked");_||(_=f.current.querySelector("input:not(:disabled)")),_&&_.focus()}}),[]);const w=$i(n,f),x=x_(o),T=Y.useMemo(()=>({name:x,onChange(_){b(_.target.value),l&&l(_,_.target.value)},value:g}),[x,l,b,g]);return U.jsx(cde.Provider,{value:T,children:U.jsx(qz,{role:"radiogroup",ref:w,className:cn(p.root,s),...d,children:i})})});function F7e(e){return Hn("MuiSelect",e)}const iw=Yn("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var SJ;const $7e=Qt(ode,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${iw.select}`]:t.select},{[`&.${iw.select}`]:t[n.variant]},{[`&.${iw.error}`]:t.error},{[`&.${iw.multiple}`]:t.multiple}]}})({[`&.${iw.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),B7e=Qt(lde,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${jt(n.variant)}`],n.open&&t.iconOpen]}})({}),U7e=Qt("input",{shouldForwardProp:e=>z6(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function OJ(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function z7e(e){return e==null||typeof e=="string"&&!e.trim()}const H7e=e=>{const{classes:t,variant:n,disabled:r,multiple:i,open:s,error:a}=e,o={select:["select",n,r&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${jt(n)}`,s&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Vn(o,F7e,t)},q7e=Y.forwardRef(function(t,n){var Fn;const{"aria-describedby":r,"aria-label":i,autoFocus:s,autoWidth:a,children:o,className:l,defaultOpen:c,defaultValue:d,disabled:f,displayEmpty:p,error:g=!1,IconComponent:b,inputRef:w,labelId:x,MenuProps:T={},multiple:_,name:C,onBlur:I,onChange:M,onClose:$,onFocus:B,onOpen:j,open:F,readOnly:V,renderValue:ie,SelectDisplayProps:se={},tabIndex:me,type:fe,value:le,variant:ye="standard",...ae}=t,[Se,he]=X0({controlled:le,default:d,name:"Select"}),[re,Fe]=X0({controlled:F,default:c,name:"Select"}),je=Y.useRef(null),ue=Y.useRef(null),[tt,St]=Y.useState(null),{current:Ze}=Y.useRef(F!=null),[qt,xt]=Y.useState(),Nt=$i(n,w),Ht=Y.useCallback(kt=>{ue.current=kt,kt&&St(kt)},[]),Jt=tt==null?void 0:tt.parentNode;Y.useImperativeHandle(Nt,()=>({focus:()=>{ue.current.focus()},node:je.current,value:Se}),[Se]),Y.useEffect(()=>{c&&re&&tt&&!Ze&&(xt(a?null:Jt.clientWidth),ue.current.focus())},[tt,a]),Y.useEffect(()=>{s&&ue.current.focus()},[s]),Y.useEffect(()=>{if(!x)return;const kt=Io(ue.current).getElementById(x);if(kt){const ct=()=>{getSelection().isCollapsed&&ue.current.focus()};return kt.addEventListener("click",ct),()=>{kt.removeEventListener("click",ct)}}},[x]);const Vt=(kt,ct)=>{kt?j&&j(ct):$&&$(ct),Ze||(xt(a?null:Jt.clientWidth),Fe(kt))},en=kt=>{kt.button===0&&(kt.preventDefault(),ue.current.focus(),Vt(!0,kt))},Ct=kt=>{Vt(!1,kt)},Xe=Y.Children.toArray(o),Ut=kt=>{const ct=Xe.find(fn=>fn.props.value===kt.target.value);ct!==void 0&&(he(ct.props.value),M&&M(kt,ct))},sn=kt=>ct=>{let fn;if(ct.currentTarget.hasAttribute("tabindex")){if(_){fn=Array.isArray(Se)?Se.slice():[];const Rn=Se.indexOf(kt.props.value);Rn===-1?fn.push(kt.props.value):fn.splice(Rn,1)}else fn=kt.props.value;if(kt.props.onClick&&kt.props.onClick(ct),Se!==fn&&(he(fn),M)){const Rn=ct.nativeEvent||ct,Sr=new Rn.constructor(Rn.type,Rn);Object.defineProperty(Sr,"target",{writable:!0,value:{value:fn,name:C}}),M(Sr,kt)}_||Vt(!1,ct)}},te=kt=>{V||[" ","ArrowUp","ArrowDown","Enter"].includes(kt.key)&&(kt.preventDefault(),Vt(!0,kt))},de=tt!==null&&re,we=kt=>{!de&&I&&(Object.defineProperty(kt,"target",{writable:!0,value:{value:Se,name:C}}),I(kt))};delete ae["aria-invalid"];let We,Ke;const xe=[];let Qe=!1;(r5({value:Se})||p)&&(ie?We=ie(Se):Qe=!0);const yt=Xe.map(kt=>{if(!Y.isValidElement(kt))return null;let ct;if(_){if(!Array.isArray(Se))throw new Error(lm(2));ct=Se.some(fn=>OJ(fn,kt.props.value)),ct&&Qe&&xe.push(kt.props.children)}else ct=OJ(Se,kt.props.value),ct&&Qe&&(Ke=kt.props.children);return Y.cloneElement(kt,{"aria-selected":ct?"true":"false",onClick:sn(kt),onKeyUp:fn=>{fn.key===" "&&fn.preventDefault(),kt.props.onKeyUp&&kt.props.onKeyUp(fn)},role:"option",selected:ct,value:void 0,"data-value":kt.props.value})});Qe&&(_?xe.length===0?We=null:We=xe.reduce((kt,ct,fn)=>(kt.push(ct),fn{const{classes:t}=e;return t},Vz={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>El(e)&&e!=="variant",slot:"Root"},W7e=Qt(a5,Vz)(""),Q7e=Qt(o5,Vz)(""),V7e=Qt(s5,Vz)(""),Gz=Y.forwardRef(function(t,n){const r=T_({name:"MuiSelect",props:t}),{autoWidth:i=!1,children:s,classes:a={},className:o,defaultOpen:l=!1,displayEmpty:c=!1,IconComponent:d=Kce,id:f,input:p,inputProps:g,label:b,labelId:w,MenuProps:x,multiple:T=!1,native:_=!1,onClose:C,onOpen:I,open:M,renderValue:$,SelectDisplayProps:B,variant:j="outlined",...F}=r,V=_?g7e:q7e,ie=bh(),se=E1({props:r,muiFormControl:ie,states:["variant","error"]}),me=se.variant||j,fe={...r,variant:me,classes:a},le=j7e(fe),{root:ye,...ae}=le,Se=p||{standard:U.jsx(W7e,{ownerState:fe}),outlined:U.jsx(Q7e,{label:b,ownerState:fe}),filled:U.jsx(V7e,{ownerState:fe})}[me],he=$i(n,OE(Se));return U.jsx(Y.Fragment,{children:Y.cloneElement(Se,{inputComponent:V,inputProps:{children:s,error:se.error,IconComponent:d,variant:me,type:void 0,multiple:T,..._?{id:f}:{autoWidth:i,defaultOpen:l,displayEmpty:c,labelId:w,MenuProps:x,onClose:C,onOpen:I,open:M,renderValue:$,SelectDisplayProps:{id:f,...B}},...g,classes:g?Xo(ae,g.classes):ae,...p?p.props.inputProps:{}},...(T&&_||c)&&me==="outlined"?{notched:!0}:{},ref:he,className:cn(Se.props.className,o,le.root),...!p&&{variant:me},...F})})});Gz.muiName="Select";function G7e(e,t,n=(r,i)=>r===i){return e.length===t.length&&e.every((r,i)=>n(r,t[i]))}const Y7e=2;function dde(e,t){return e-t}function EJ(e,t){const{index:n}=e.reduce((r,i,s)=>{const a=Math.abs(t-i);return r===null||a({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},ePe=e=>e;let o4;function xJ(){return o4===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?o4=CSS.supports("touch-action","none"):o4=!0),o4}function tPe(e){const{"aria-labelledby":t,defaultValue:n,disabled:r=!1,disableSwap:i=!1,isRtl:s=!1,marks:a=!1,max:o=100,min:l=0,name:c,onChange:d,onChangeCommitted:f,orientation:p="horizontal",rootRef:g,scale:b=ePe,step:w=1,shiftStep:x=10,tabIndex:T,value:_}=e,C=Y.useRef(void 0),[I,M]=Y.useState(-1),[$,B]=Y.useState(-1),[j,F]=Y.useState(!1),V=Y.useRef(0),[ie,se]=X0({controlled:_,default:n??l,name:"Slider"}),me=d&&((xe,Qe,yt)=>{const Be=xe.nativeEvent||xe,Ne=new Be.constructor(Be.type,Be);Object.defineProperty(Ne,"target",{writable:!0,value:{value:Qe,name:c}}),d(Ne,Qe,yt)}),fe=Array.isArray(ie);let le=fe?ie.slice().sort(dde):[ie];le=le.map(xe=>xe==null?l:nS(xe,l,o));const ye=a===!0&&w!==null?[...Array(Math.floor((o-l)/w)+1)].map((xe,Qe)=>({value:l+w*Qe})):a||[],ae=ye.map(xe=>xe.value),[Se,he]=Y.useState(-1),re=Y.useRef(null),Fe=$i(g,re),je=xe=>Qe=>{var Be;const yt=Number(Qe.currentTarget.getAttribute("data-index"));FO(Qe.target)&&he(yt),B(yt),(Be=xe==null?void 0:xe.onFocus)==null||Be.call(xe,Qe)},ue=xe=>Qe=>{var yt;FO(Qe.target)||he(-1),B(-1),(yt=xe==null?void 0:xe.onBlur)==null||yt.call(xe,Qe)},tt=(xe,Qe)=>{const yt=Number(xe.currentTarget.getAttribute("data-index")),Be=le[yt],Ne=ae.indexOf(Be);let rt=Qe;if(ye&&w==null){const pt=ae[ae.length-1];rt>pt?rt=pt:rtQe=>{var yt;if(w!==null){const Be=Number(Qe.currentTarget.getAttribute("data-index")),Ne=le[Be];let rt=null;(Qe.key==="ArrowLeft"||Qe.key==="ArrowDown")&&Qe.shiftKey||Qe.key==="PageDown"?rt=Math.max(Ne-x,l):((Qe.key==="ArrowRight"||Qe.key==="ArrowUp")&&Qe.shiftKey||Qe.key==="PageUp")&&(rt=Math.min(Ne+x,o)),rt!==null&&(tt(Qe,rt),Qe.preventDefault())}(yt=xe==null?void 0:xe.onKeyDown)==null||yt.call(xe,Qe)};ud(()=>{var xe;r&&re.current.contains(document.activeElement)&&((xe=document.activeElement)==null||xe.blur())},[r]),r&&I!==-1&&M(-1),r&&Se!==-1&&he(-1);const Ze=xe=>Qe=>{var yt;(yt=xe.onChange)==null||yt.call(xe,Qe),tt(Qe,Qe.target.valueAsNumber)},qt=Y.useRef(void 0);let xt=p;s&&p==="horizontal"&&(xt+="-reverse");const Nt=({finger:xe,move:Qe=!1})=>{const{current:yt}=re,{width:Be,height:Ne,bottom:rt,left:pt}=yt.getBoundingClientRect();let Dt;xt.startsWith("vertical")?Dt=(rt-xe.y)/Ne:Dt=(xe.x-pt)/Be,xt.includes("-reverse")&&(Dt=1-Dt);let Gt;if(Gt=Z7e(Dt,l,o),w)Gt=K7e(Gt,w,l);else{const Fn=EJ(ae,Gt);Gt=ae[Fn]}Gt=nS(Gt,l,o);let Pn=0;if(fe){Qe?Pn=qt.current:Pn=EJ(le,Gt),i&&(Gt=nS(Gt,le[Pn-1]||-1/0,le[Pn+1]||1/0));const Fn=Gt;Gt=wJ({values:le,newValue:Gt,index:Pn}),i&&Qe||(Pn=Gt.indexOf(Fn),qt.current=Pn)}return{newValue:Gt,activeIndex:Pn}},Ht=vu(xe=>{const Qe=i4(xe,C);if(!Qe)return;if(V.current+=1,xe.type==="mousemove"&&xe.buttons===0){Jt(xe);return}const{newValue:yt,activeIndex:Be}=Nt({finger:Qe,move:!0});s4({sliderRef:re,activeIndex:Be,setActive:M}),se(yt),!j&&V.current>Y7e&&F(!0),me&&!a4(yt,ie)&&me(xe,yt,Be)}),Jt=vu(xe=>{const Qe=i4(xe,C);if(F(!1),!Qe)return;const{newValue:yt}=Nt({finger:Qe,move:!0});M(-1),xe.type==="touchend"&&B(-1),f&&f(xe,yt),C.current=void 0,en()}),Vt=vu(xe=>{if(r)return;xJ()||xe.preventDefault();const Qe=xe.changedTouches[0];Qe!=null&&(C.current=Qe.identifier);const yt=i4(xe,C);if(yt!==!1){const{newValue:Ne,activeIndex:rt}=Nt({finger:yt});s4({sliderRef:re,activeIndex:rt,setActive:M}),se(Ne),me&&!a4(Ne,ie)&&me(xe,Ne,rt)}V.current=0;const Be=Io(re.current);Be.addEventListener("touchmove",Ht,{passive:!0}),Be.addEventListener("touchend",Jt,{passive:!0})}),en=Y.useCallback(()=>{const xe=Io(re.current);xe.removeEventListener("mousemove",Ht),xe.removeEventListener("mouseup",Jt),xe.removeEventListener("touchmove",Ht),xe.removeEventListener("touchend",Jt)},[Jt,Ht]);Y.useEffect(()=>{const{current:xe}=re;return xe.addEventListener("touchstart",Vt,{passive:xJ()}),()=>{xe.removeEventListener("touchstart",Vt),en()}},[en,Vt]),Y.useEffect(()=>{r&&en()},[r,en]);const Ct=xe=>Qe=>{var Ne;if((Ne=xe.onMouseDown)==null||Ne.call(xe,Qe),r||Qe.defaultPrevented||Qe.button!==0)return;Qe.preventDefault();const yt=i4(Qe,C);if(yt!==!1){const{newValue:rt,activeIndex:pt}=Nt({finger:yt});s4({sliderRef:re,activeIndex:pt,setActive:M}),se(rt),me&&!a4(rt,ie)&&me(Qe,rt,pt)}V.current=0;const Be=Io(re.current);Be.addEventListener("mousemove",Ht,{passive:!0}),Be.addEventListener("mouseup",Jt)},Xe=l5(fe?le[0]:l,l,o),Ut=l5(le[le.length-1],l,o)-Xe,sn=(xe={})=>{const Qe=hT(xe),yt={onMouseDown:Ct(Qe||{})},Be={...Qe,...yt};return{...xe,ref:Fe,...Be}},te=xe=>Qe=>{var Be;(Be=xe.onMouseOver)==null||Be.call(xe,Qe);const yt=Number(Qe.currentTarget.getAttribute("data-index"));B(yt)},de=xe=>Qe=>{var yt;(yt=xe.onMouseLeave)==null||yt.call(xe,Qe),B(-1)};return{active:I,axis:xt,axisProps:J7e,dragging:j,focusedThumbIndex:Se,getHiddenInputProps:(xe={})=>{const Qe=hT(xe),yt={onChange:Ze(Qe||{}),onFocus:je(Qe||{}),onBlur:ue(Qe||{}),onKeyDown:St(Qe||{})},Be={...Qe,...yt};return{tabIndex:T,"aria-labelledby":t,"aria-orientation":p,"aria-valuemax":b(o),"aria-valuemin":b(l),name:c,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":e.step??void 0,disabled:r,...xe,...Be,style:{...F4e,direction:s?"rtl":"ltr",width:"100%",height:"100%"}}},getRootProps:sn,getThumbProps:(xe={})=>{const Qe=hT(xe),yt={onMouseOver:te(Qe||{}),onMouseLeave:de(Qe||{})};return{...xe,...Qe,...yt}},marks:ye,open:$,range:fe,rootRef:Fe,trackLeap:Ut,trackOffset:Xe,values:le,getThumbStyle:xe=>({pointerEvents:I!==-1&&I!==xe?"none":void 0})}}const nPe=e=>!e||!K0(e);function rPe(e){return Hn("MuiSlider",e)}const Jd=Yn("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),iPe=e=>{const{open:t}=e;return{offset:cn(t&&Jd.valueLabelOpen),circle:Jd.valueLabelCircle,label:Jd.valueLabelLabel}};function sPe(e){const{children:t,className:n,value:r}=e,i=iPe(e);return t?Y.cloneElement(t,{className:cn(t.props.className)},U.jsxs(Y.Fragment,{children:[t.props.children,U.jsx("span",{className:cn(i.offset,n),"aria-hidden":!0,children:U.jsx("span",{className:i.circle,children:U.jsx("span",{className:i.label,children:r})})})]})):null}function TJ(e){return e}const aPe=Qt("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${jt(n.color)}`],n.size!=="medium"&&t[`size${jt(n.size)}`],n.marked&&t.marked,n.orientation==="vertical"&&t.vertical,n.track==="inverted"&&t.trackInverted,n.track===!1&&t.trackFalse]}})(Bn(({theme:e})=>({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${Jd.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${Jd.dragging}`]:{[`& .${Jd.thumb}, & .${Jd.track}`]:{transition:"none"}},variants:[...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}))),oPe=Qt("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),lPe=Qt("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(Bn(({theme:e})=>({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t,track:"inverted"},style:{...e.vars?{backgroundColor:e.vars.palette.Slider[`${t}Track`],borderColor:e.vars.palette.Slider[`${t}Track`]}:{backgroundColor:iy(e.palette[t].main,.62),borderColor:iy(e.palette[t].main,.62),...e.applyStyles("dark",{backgroundColor:ry(e.palette[t].main,.5)}),...e.applyStyles("dark",{borderColor:ry(e.palette[t].main,.5)})}}}))]}))),uPe=Qt("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${jt(n.color)}`],n.size!=="medium"&&t[`thumbSize${jt(n.size)}`]]}})(Bn(({theme:e})=>({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${Jd.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t},style:{[`&:hover, &.${Jd.focusVisible}`]:{...e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[t].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${mr(e.palette[t].main,.16)}`},"@media (hover: none)":{boxShadow:"none"}},[`&.${Jd.active}`]:{...e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[t].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${mr(e.palette[t].main,.16)}`}}}}))]}))),cPe=Qt(sPe,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(Bn(({theme:e})=>({zIndex:1,whiteSpace:"nowrap",...e.typography.body2,fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${Jd.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${Jd.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]}))),dPe=Qt("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>z6(e)&&e!=="markActive",overridesResolver:(e,t)=>{const{markActive:n}=e;return[t.mark,n&&t.markActive]}})(Bn(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]}))),fPe=Qt("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>z6(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(Bn(({theme:e})=>({...e.typography.body2,color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]}))),hPe=e=>{const{disabled:t,dragging:n,marked:r,orientation:i,track:s,classes:a,color:o,size:l}=e,c={root:["root",t&&"disabled",n&&"dragging",r&&"marked",i==="vertical"&&"vertical",s==="inverted"&&"trackInverted",s===!1&&"trackFalse",o&&`color${jt(o)}`,l&&`size${jt(l)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",l&&`thumbSize${jt(l)}`,o&&`thumbColor${jt(o)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Vn(c,rPe,a)},pPe=({children:e})=>e,mPe=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiSlider"}),i=F6(),{"aria-label":s,"aria-valuetext":a,"aria-labelledby":o,component:l="span",components:c={},componentsProps:d={},color:f="primary",classes:p,className:g,disableSwap:b=!1,disabled:w=!1,getAriaLabel:x,getAriaValueText:T,marks:_=!1,max:C=100,min:I=0,name:M,onChange:$,onChangeCommitted:B,orientation:j="horizontal",shiftStep:F=10,size:V="medium",step:ie=1,scale:se=TJ,slotProps:me,slots:fe,tabIndex:le,track:ye="normal",value:ae,valueLabelDisplay:Se="off",valueLabelFormat:he=TJ,...re}=r,Fe={...r,isRtl:i,max:C,min:I,classes:p,disabled:w,disableSwap:b,orientation:j,marks:_,color:f,size:V,step:ie,shiftStep:F,scale:se,track:ye,valueLabelDisplay:Se,valueLabelFormat:he},{axisProps:je,getRootProps:ue,getHiddenInputProps:tt,getThumbProps:St,open:Ze,active:qt,axis:xt,focusedThumbIndex:Nt,range:Ht,dragging:Jt,marks:Vt,values:en,trackOffset:Ct,trackLeap:Xe,getThumbStyle:Ut}=tPe({...Fe,rootRef:n});Fe.marked=Vt.length>0&&Vt.some(xr=>xr.label),Fe.dragging=Jt,Fe.focusedThumbIndex=Nt;const sn=hPe(Fe),te=(fe==null?void 0:fe.root)??c.Root??aPe,de=(fe==null?void 0:fe.rail)??c.Rail??oPe,we=(fe==null?void 0:fe.track)??c.Track??lPe,We=(fe==null?void 0:fe.thumb)??c.Thumb??uPe,Ke=(fe==null?void 0:fe.valueLabel)??c.ValueLabel??cPe,xe=(fe==null?void 0:fe.mark)??c.Mark??dPe,Qe=(fe==null?void 0:fe.markLabel)??c.MarkLabel??fPe,yt=(fe==null?void 0:fe.input)??c.Input??"input",Be=(me==null?void 0:me.root)??d.root,Ne=(me==null?void 0:me.rail)??d.rail,rt=(me==null?void 0:me.track)??d.track,pt=(me==null?void 0:me.thumb)??d.thumb,Dt=(me==null?void 0:me.valueLabel)??d.valueLabel,Gt=(me==null?void 0:me.mark)??d.mark,Pn=(me==null?void 0:me.markLabel)??d.markLabel,Fn=(me==null?void 0:me.input)??d.input,kt=Qf({elementType:te,getSlotProps:ue,externalSlotProps:Be,externalForwardedProps:re,additionalProps:{...nPe(te)&&{as:l}},ownerState:{...Fe,...Be==null?void 0:Be.ownerState},className:[sn.root,g]}),ct=Qf({elementType:de,externalSlotProps:Ne,ownerState:Fe,className:sn.rail}),fn=Qf({elementType:we,externalSlotProps:rt,additionalProps:{style:{...je[xt].offset(Ct),...je[xt].leap(Xe)}},ownerState:{...Fe,...rt==null?void 0:rt.ownerState},className:sn.track}),Rn=Qf({elementType:We,getSlotProps:St,externalSlotProps:pt,ownerState:{...Fe,...pt==null?void 0:pt.ownerState},className:sn.thumb}),Sr=Qf({elementType:Ke,externalSlotProps:Dt,ownerState:{...Fe,...Dt==null?void 0:Dt.ownerState},className:sn.valueLabel}),ai=Qf({elementType:xe,externalSlotProps:Gt,ownerState:Fe,className:sn.mark}),sr=Qf({elementType:Qe,externalSlotProps:Pn,ownerState:Fe,className:sn.markLabel}),oi=Qf({elementType:yt,getSlotProps:tt,externalSlotProps:Fn,ownerState:Fe});return U.jsxs(te,{...kt,children:[U.jsx(de,{...ct}),U.jsx(we,{...fn}),Vt.filter(xr=>xr.value>=I&&xr.value<=C).map((xr,Ir)=>{const $r=l5(xr.value,I,C),_r=je[xt].offset($r);let Qr;return ye===!1?Qr=en.includes(xr.value):Qr=ye==="normal"&&(Ht?xr.value>=en[0]&&xr.value<=en[en.length-1]:xr.value<=en[0])||ye==="inverted"&&(Ht?xr.value<=en[0]||xr.value>=en[en.length-1]:xr.value>=en[0]),U.jsxs(Y.Fragment,{children:[U.jsx(xe,{"data-index":Ir,...ai,...!K0(xe)&&{markActive:Qr},style:{..._r,...ai.style},className:cn(ai.className,Qr&&sn.markActive)}),xr.label!=null?U.jsx(Qe,{"aria-hidden":!0,"data-index":Ir,...sr,...!K0(Qe)&&{markLabelActive:Qr},style:{..._r,...sr.style},className:cn(sn.markLabel,sr.className,Qr&&sn.markLabelActive),children:xr.label}):null]},Ir)}),en.map((xr,Ir)=>{const $r=l5(xr,I,C),_r=je[xt].offset($r),Qr=Se==="off"?pPe:Ke;return U.jsx(Qr,{...!K0(Qr)&&{valueLabelFormat:he,valueLabelDisplay:Se,value:typeof he=="function"?he(se(xr),Ir):he,index:Ir,open:Ze===Ir||qt===Ir||Se==="on",disabled:w},...Sr,children:U.jsx(We,{"data-index":Ir,...Rn,className:cn(sn.thumb,Rn.className,qt===Ir&&sn.active,Nt===Ir&&sn.focusVisible),style:{..._r,...Ut(Ir),...Rn.style},children:U.jsx(yt,{"data-index":Ir,"aria-label":x?x(Ir):s,"aria-valuenow":se(xr),"aria-labelledby":o,"aria-valuetext":T?T(se(xr),Ir):a,value:en[Ir],...oi})})},Ir)})]})});function gPe(e){return Hn("MuiTooltip",e)}const Ma=Yn("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function bPe(e){return Math.round(e*1e5)/1e5}const yPe=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:i,placement:s}=e,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch",`tooltipPlacement${jt(s.split("-")[0])}`],arrow:["arrow"]};return Vn(a,gPe,t)},vPe=Qt(q6,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(Bn(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${Ma.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Ma.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Ma.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Ma.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Ma.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Ma.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Ma.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Ma.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),SPe=Qt("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${jt(n.placement.split("-")[0])}`]]}})(Bn(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:mr(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${Ma.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Ma.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Ma.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Ma.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${bPe(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${Ma.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Ma.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${Ma.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Ma.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${Ma.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Ma.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${Ma.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Ma.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Ma.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Ma.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),OPe=Qt("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(Bn(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:mr(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let l4=!1;const kJ=new M6;let sw={x:0,y:0};function u4(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const Fg=Y.forwardRef(function(t,n){var $r,_r,Qr;const r=ir({props:t,name:"MuiTooltip"}),{arrow:i=!1,children:s,classes:a,components:o={},componentsProps:l={},describeChild:c=!1,disableFocusListener:d=!1,disableHoverListener:f=!1,disableInteractive:p=!1,disableTouchListener:g=!1,enterDelay:b=100,enterNextDelay:w=0,enterTouchDelay:x=700,followCursor:T=!1,id:_,leaveDelay:C=0,leaveTouchDelay:I=1500,onClose:M,onOpen:$,open:B,placement:j="bottom",PopperComponent:F,PopperProps:V={},slotProps:ie={},slots:se={},title:me,TransitionComponent:fe=bk,TransitionProps:le,...ye}=r,ae=Y.isValidElement(s)?s:U.jsx("span",{children:s}),Se=Ap(),he=F6(),[re,Fe]=Y.useState(),[je,ue]=Y.useState(null),tt=Y.useRef(!1),St=p||T,Ze=Sb(),qt=Sb(),xt=Sb(),Nt=Sb(),[Ht,Jt]=X0({controlled:B,default:!1,name:"Tooltip",state:"open"});let Vt=Ht;const en=x_(_),Ct=Y.useRef(),Xe=vu(()=>{Ct.current!==void 0&&(document.body.style.WebkitUserSelect=Ct.current,Ct.current=void 0),Nt.clear()});Y.useEffect(()=>Xe,[Xe]);const Ut=jn=>{kJ.clear(),l4=!0,Jt(!0),$&&!Vt&&$(jn)},sn=vu(jn=>{kJ.start(800+C,()=>{l4=!1}),Jt(!1),M&&Vt&&M(jn),Ze.start(Se.transitions.duration.shortest,()=>{tt.current=!1})}),te=jn=>{tt.current&&jn.type!=="touchstart"||(re&&re.removeAttribute("title"),qt.clear(),xt.clear(),b||l4&&w?qt.start(l4?w:b,()=>{Ut(jn)}):Ut(jn))},de=jn=>{qt.clear(),xt.start(C,()=>{sn(jn)})},[,we]=Y.useState(!1),We=jn=>{FO(jn.target)||(we(!1),de(jn))},Ke=jn=>{re||Fe(jn.currentTarget),FO(jn.target)&&(we(!0),te(jn))},xe=jn=>{tt.current=!0;const wi=ae.props;wi.onTouchStart&&wi.onTouchStart(jn)},Qe=jn=>{xe(jn),xt.clear(),Ze.clear(),Xe(),Ct.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Nt.start(x,()=>{document.body.style.WebkitUserSelect=Ct.current,te(jn)})},yt=jn=>{ae.props.onTouchEnd&&ae.props.onTouchEnd(jn),Xe(),xt.start(I,()=>{sn(jn)})};Y.useEffect(()=>{if(!Vt)return;function jn(wi){wi.key==="Escape"&&sn(wi)}return document.addEventListener("keydown",jn),()=>{document.removeEventListener("keydown",jn)}},[sn,Vt]);const Be=$i(OE(ae),Fe,n);!me&&me!==0&&(Vt=!1);const Ne=Y.useRef(),rt=jn=>{const wi=ae.props;wi.onMouseMove&&wi.onMouseMove(jn),sw={x:jn.clientX,y:jn.clientY},Ne.current&&Ne.current.update()},pt={},Dt=typeof me=="string";c?(pt.title=!Vt&&Dt&&!f?me:null,pt["aria-describedby"]=Vt?en:null):(pt["aria-label"]=Dt?me:null,pt["aria-labelledby"]=Vt&&!Dt?en:null);const Gt={...pt,...ye,...ae.props,className:cn(ye.className,ae.props.className),onTouchStart:xe,ref:Be,...T?{onMouseMove:rt}:{}},Pn={};g||(Gt.onTouchStart=Qe,Gt.onTouchEnd=yt),f||(Gt.onMouseOver=u4(te,Gt.onMouseOver),Gt.onMouseLeave=u4(de,Gt.onMouseLeave),St||(Pn.onMouseOver=te,Pn.onMouseLeave=de)),d||(Gt.onFocus=u4(Ke,Gt.onFocus),Gt.onBlur=u4(We,Gt.onBlur),St||(Pn.onFocus=Ke,Pn.onBlur=We));const Fn=Y.useMemo(()=>{var wi;let jn=[{name:"arrow",enabled:!!je,options:{element:je,padding:4}}];return(wi=V.popperOptions)!=null&&wi.modifiers&&(jn=jn.concat(V.popperOptions.modifiers)),{...V.popperOptions,modifiers:jn}},[je,V]),kt={...r,isRtl:he,arrow:i,disableInteractive:St,placement:j,PopperComponentProp:F,touch:tt.current},ct=yPe(kt),fn=se.popper??o.Popper??vPe,Rn=se.transition??o.Transition??fe??bk,Sr=se.tooltip??o.Tooltip??SPe,ai=se.arrow??o.Arrow??OPe,sr=_S(fn,{...V,...ie.popper??l.popper,className:cn(ct.popper,V==null?void 0:V.className,($r=ie.popper??l.popper)==null?void 0:$r.className)},kt),oi=_S(Rn,{...le,...ie.transition??l.transition},kt),xr=_S(Sr,{...ie.tooltip??l.tooltip,className:cn(ct.tooltip,(_r=ie.tooltip??l.tooltip)==null?void 0:_r.className)},kt),Ir=_S(ai,{...ie.arrow??l.arrow,className:cn(ct.arrow,(Qr=ie.arrow??l.arrow)==null?void 0:Qr.className)},kt);return U.jsxs(Y.Fragment,{children:[Y.cloneElement(ae,Gt),U.jsx(fn,{as:F??q6,placement:j,anchorEl:T?{getBoundingClientRect:()=>({top:sw.y,left:sw.x,right:sw.x,bottom:sw.y,width:0,height:0})}:re,popperRef:Ne,open:re?Vt:!1,id:en,transition:!0,...Pn,...sr,popperOptions:Fn,children:({TransitionProps:jn})=>U.jsx(Rn,{timeout:Se.transitions.duration.shorter,...jn,...oi,children:U.jsxs(Sr,{...xr,children:[me,i?U.jsx(ai,{...Ir,ref:ue}):null]})})})]})}),Rr=I3e({createStyledComponent:Qt("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>T_({props:e,name:"MuiStack"})});function EPe(e){return Hn("MuiSwitch",e)}const du=Yn("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),wPe=e=>{const{classes:t,edge:n,size:r,color:i,checked:s,disabled:a}=e,o={root:["root",n&&`edge${jt(n)}`,`size${jt(r)}`],switchBase:["switchBase",`color${jt(i)}`,s&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=Vn(o,EPe,t);return{...t,...l}},xPe=Qt("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${jt(n.edge)}`],t[`size${jt(n.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${du.thumb}`]:{width:16,height:16},[`& .${du.switchBase}`]:{padding:4,[`&.${du.checked}`]:{transform:"translateX(16px)"}}}}]}),TPe=Qt(zz,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${du.input}`]:t.input},n.color!=="default"&&t[`color${jt(n.color)}`]]}})(Bn(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${du.checked}`]:{transform:"translateX(20px)"},[`&.${du.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${du.checked} + .${du.track}`]:{opacity:.5},[`&.${du.disabled} + .${du.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${du.input}`]:{left:"-100%",width:"300%"}})),Bn(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(ca(["light"])).map(([t])=>({props:{color:t},style:{[`&.${du.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${du.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?iy(e.palette[t].main,.62):ry(e.palette[t].main,.55)}`}},[`&.${du.checked} + .${du.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),kPe=Qt("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(Bn(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`}))),_Pe=Qt("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(Bn(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),APe=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiSwitch"}),{className:i,color:s="primary",edge:a=!1,size:o="medium",sx:l,...c}=r,d={...r,color:s,edge:a,size:o},f=wPe(d),p=U.jsx(_Pe,{className:f.thumb,ownerState:d});return U.jsxs(xPe,{className:cn(f.root,i),sx:l,ownerState:d,children:[U.jsx(TPe,{type:"checkbox",icon:p,checkedIcon:p,ref:n,ownerState:d,...c,classes:{...f,root:f.switchBase}}),U.jsx(kPe,{className:f.track,ownerState:d})]})}),fde=Y.createContext();function CPe(e){return Hn("MuiTable",e)}Yn("MuiTable",["root","stickyHeader"]);const RPe=e=>{const{classes:t,stickyHeader:n}=e;return Vn({root:["root",n&&"stickyHeader"]},CPe,t)},IPe=Qt("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(Bn(({theme:e})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...e.typography.body2,padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:t})=>t.stickyHeader,style:{borderCollapse:"separate"}}]}))),_J="table",DPe=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiTable"}),{className:i,component:s=_J,padding:a="normal",size:o="medium",stickyHeader:l=!1,...c}=r,d={...r,component:s,padding:a,size:o,stickyHeader:l},f=RPe(d),p=Y.useMemo(()=>({padding:a,size:o,stickyHeader:l}),[a,o,l]);return U.jsx(fde.Provider,{value:p,children:U.jsx(IPe,{as:s,role:s===_J?null:"table",ref:n,className:cn(f.root,i),ownerState:d,...c})})}),X6=Y.createContext();function NPe(e){return Hn("MuiTableBody",e)}Yn("MuiTableBody",["root"]);const PPe=e=>{const{classes:t}=e;return Vn({root:["root"]},NPe,t)},LPe=Qt("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),MPe={variant:"body"},AJ="tbody",FPe=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiTableBody"}),{className:i,component:s=AJ,...a}=r,o={...r,component:s},l=PPe(o);return U.jsx(X6.Provider,{value:MPe,children:U.jsx(LPe,{className:cn(l.root,i),as:s,ref:n,role:s===AJ?null:"rowgroup",ownerState:o,...a})})});function $Pe(e){return Hn("MuiTableCell",e)}const BPe=Yn("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),UPe=e=>{const{classes:t,variant:n,align:r,padding:i,size:s,stickyHeader:a}=e,o={root:["root",n,a&&"stickyHeader",r!=="inherit"&&`align${jt(r)}`,i!=="normal"&&`padding${jt(i)}`,`size${jt(s)}`]};return Vn(o,$Pe,t)},zPe=Qt("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${jt(n.size)}`],n.padding!=="normal"&&t[`padding${jt(n.padding)}`],n.align!=="inherit"&&t[`align${jt(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(Bn(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid + ${e.palette.mode==="light"?iy(mr(e.palette.divider,1),.88):ry(mr(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${BPe.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:t})=>t.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),Hv=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiTableCell"}),{align:i="inherit",className:s,component:a,padding:o,scope:l,size:c,sortDirection:d,variant:f,...p}=r,g=Y.useContext(fde),b=Y.useContext(X6),w=b&&b.variant==="head";let x;a?x=a:x=w?"th":"td";let T=l;x==="td"?T=void 0:!T&&w&&(T="col");const _=f||b&&b.variant,C={...r,align:i,component:x,padding:o||(g&&g.padding?g.padding:"normal"),size:c||(g&&g.size?g.size:"medium"),sortDirection:d,stickyHeader:_==="head"&&g&&g.stickyHeader,variant:_},I=UPe(C);let M=null;return d&&(M=d==="asc"?"ascending":"descending"),U.jsx(zPe,{as:x,ref:n,className:cn(I.root,s),"aria-sort":M,scope:T,ownerState:C,...p})});function HPe(e){return Hn("MuiTableContainer",e)}Yn("MuiTableContainer",["root"]);const qPe=e=>{const{classes:t}=e;return Vn({root:["root"]},HPe,t)},jPe=Qt("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),WPe=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiTableContainer"}),{className:i,component:s="div",...a}=r,o={...r,component:s},l=qPe(o);return U.jsx(jPe,{ref:n,as:s,className:cn(l.root,i),ownerState:o,...a})});function QPe(e){return Hn("MuiTableHead",e)}Yn("MuiTableHead",["root"]);const VPe=e=>{const{classes:t}=e;return Vn({root:["root"]},QPe,t)},GPe=Qt("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),YPe={variant:"head"},CJ="thead",ZPe=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiTableHead"}),{className:i,component:s=CJ,...a}=r,o={...r,component:s},l=VPe(o);return U.jsx(X6.Provider,{value:YPe,children:U.jsx(GPe,{as:s,className:cn(l.root,i),ref:n,role:s===CJ?null:"rowgroup",ownerState:o,...a})})});function XPe(e){return Hn("MuiToolbar",e)}Yn("MuiToolbar",["root","gutters","regular","dense"]);const KPe=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Vn({root:["root",!n&&"gutters",r]},XPe,t)},JPe=Qt("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(Bn(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),Yz=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiToolbar"}),{className:i,component:s="div",disableGutters:a=!1,variant:o="regular",...l}=r,c={...r,component:s,disableGutters:a,variant:o},d=KPe(c);return U.jsx(JPe,{as:s,className:cn(d.root,i),ref:n,ownerState:c,...l})});function eLe(e){return Hn("MuiTableRow",e)}const RJ=Yn("MuiTableRow",["root","selected","hover","head","footer"]),tLe=e=>{const{classes:t,selected:n,hover:r,head:i,footer:s}=e;return Vn({root:["root",n&&"selected",r&&"hover",i&&"head",s&&"footer"]},eLe,t)},nLe=Qt("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(Bn(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${RJ.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${RJ.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:mr(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:mr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),IJ="tr",DJ=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiTableRow"}),{className:i,component:s=IJ,hover:a=!1,selected:o=!1,...l}=r,c=Y.useContext(X6),d={...r,component:s,hover:a,selected:o,head:c&&c.variant==="head",footer:c&&c.variant==="footer"},f=tLe(d);return U.jsx(nLe,{as:s,ref:n,className:cn(f.root,i),role:s===IJ?null:"row",ownerState:d,...l})});function rLe(e){return Hn("MuiTextField",e)}Yn("MuiTextField",["root"]);const iLe={standard:a5,filled:s5,outlined:o5},sLe=e=>{const{classes:t}=e;return Vn({root:["root"]},rLe,t)},aLe=Qt(yf,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),A_=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiTextField"}),{autoComplete:i,autoFocus:s=!1,children:a,className:o,color:l="primary",defaultValue:c,disabled:d=!1,error:f=!1,FormHelperTextProps:p,fullWidth:g=!1,helperText:b,id:w,InputLabelProps:x,inputProps:T,InputProps:_,inputRef:C,label:I,maxRows:M,minRows:$,multiline:B=!1,name:j,onBlur:F,onChange:V,onFocus:ie,placeholder:se,required:me=!1,rows:fe,select:le=!1,SelectProps:ye,slots:ae={},slotProps:Se={},type:he,value:re,variant:Fe="outlined",...je}=r,ue={...r,autoFocus:s,color:l,disabled:d,error:f,fullWidth:g,multiline:B,required:me,select:le,variant:Fe},tt=sLe(ue),St=x_(w),Ze=b&&St?`${St}-helper-text`:void 0,qt=I&&St?`${St}-label`:void 0,xt=iLe[Fe],Nt={slots:ae,slotProps:{input:_,inputLabel:x,htmlInput:T,formHelperText:p,select:ye,...Se}},Ht={},Jt=Nt.slotProps.inputLabel;Fe==="outlined"&&(Jt&&typeof Jt.shrink<"u"&&(Ht.notched=Jt.shrink),Ht.label=I),le&&((!ye||!ye.native)&&(Ht.id=void 0),Ht["aria-describedby"]=void 0);const[Vt,en]=gl("input",{elementType:xt,externalForwardedProps:Nt,additionalProps:Ht,ownerState:ue}),[Ct,Xe]=gl("inputLabel",{elementType:rde,externalForwardedProps:Nt,ownerState:ue}),[Ut,sn]=gl("htmlInput",{elementType:"input",externalForwardedProps:Nt,ownerState:ue}),[te,de]=gl("formHelperText",{elementType:TE,externalForwardedProps:Nt,ownerState:ue}),[we,We]=gl("select",{elementType:Gz,externalForwardedProps:Nt,ownerState:ue}),Ke=U.jsx(Vt,{"aria-describedby":Ze,autoComplete:i,autoFocus:s,defaultValue:c,fullWidth:g,multiline:B,name:j,rows:fe,maxRows:M,minRows:$,type:he,value:re,id:St,inputRef:C,onBlur:F,onChange:V,onFocus:ie,placeholder:se,inputProps:sn,slots:{input:ae.htmlInput?Ut:void 0},...en});return U.jsxs(aLe,{className:cn(tt.root,o),disabled:d,error:f,fullWidth:g,ref:n,required:me,color:l,variant:Fe,ownerState:ue,...je,children:[I!=null&&I!==""&&U.jsx(Ct,{htmlFor:St,id:qt,...Xe,children:I}),le?U.jsx(we,{"aria-describedby":Ze,id:St,labelId:qt,value:re,input:Ke,...We,children:a}):Ke,b&&U.jsx(te,{id:Ze,...de,children:b})]})});function oLe(e){return Hn("MuiToggleButton",e)}const Eb=Yn("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),hde=Y.createContext({}),pde=Y.createContext(void 0);function lLe(e,t){return t===void 0||e===void 0?!1:Array.isArray(t)?t.includes(e):e===t}const uLe=e=>{const{classes:t,fullWidth:n,selected:r,disabled:i,size:s,color:a}=e,o={root:["root",r&&"selected",i&&"disabled",n&&"fullWidth",`size${jt(s)}`,a]};return Vn(o,oLe,t)},cLe=Qt(cm,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`size${jt(n.size)}`]]}})(Bn(({theme:e})=>({...e.typography.button,borderRadius:(e.vars||e).shape.borderRadius,padding:11,border:`1px solid ${(e.vars||e).palette.divider}`,color:(e.vars||e).palette.action.active,[`&.${Eb.disabled}`]:{color:(e.vars||e).palette.action.disabled,border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[{props:{color:"standard"},style:{[`&.${Eb.selected}`]:{color:(e.vars||e).palette.text.primary,backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.selectedOpacity})`:mr(e.palette.text.primary,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:mr(e.palette.text.primary,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.selectedOpacity})`:mr(e.palette.text.primary,e.palette.action.selectedOpacity)}}}}},...Object.entries(e.palette).filter(ca()).map(([t])=>({props:{color:t},style:{[`&.${Eb.selected}`]:{color:(e.vars||e).palette[t].main,backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.selectedOpacity})`:mr(e.palette[t].main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:mr(e.palette[t].main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.selectedOpacity})`:mr(e.palette[t].main,e.palette.action.selectedOpacity)}}}}})),{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{padding:7,fontSize:e.typography.pxToRem(13)}},{props:{size:"large"},style:{padding:15,fontSize:e.typography.pxToRem(15)}}]}))),B3=Y.forwardRef(function(t,n){const{value:r,...i}=Y.useContext(hde),s=Y.useContext(pde),a=MO({...i,selected:lLe(t.value,r)},t),o=ir({props:a,name:"MuiToggleButton"}),{children:l,className:c,color:d="standard",disabled:f=!1,disableFocusRipple:p=!1,fullWidth:g=!1,onChange:b,onClick:w,selected:x,size:T="medium",value:_,...C}=o,I={...o,color:d,disabled:f,disableFocusRipple:p,fullWidth:g,size:T},M=uLe(I),$=j=>{w&&(w(j,_),j.defaultPrevented)||b&&b(j,_)},B=s||"";return U.jsx(cLe,{className:cn(i.className,M.root,c,B),disabled:f,focusRipple:!p,ref:n,onClick:$,onChange:b,value:_,ownerState:I,"aria-pressed":x,...C,children:l})});function dLe(e){return Hn("MuiToggleButtonGroup",e)}const Qs=Yn("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]),fLe=e=>{const{classes:t,orientation:n,fullWidth:r,disabled:i}=e,s={root:["root",n,r&&"fullWidth"],grouped:["grouped",`grouped${jt(n)}`,i&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return Vn(s,dLe,t)},hLe=Qt("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Qs.grouped}`]:t.grouped},{[`& .${Qs.grouped}`]:t[`grouped${jt(n.orientation)}`]},{[`& .${Qs.firstButton}`]:t.firstButton},{[`& .${Qs.lastButton}`]:t.lastButton},{[`& .${Qs.middleButton}`]:t.middleButton},t.root,n.orientation==="vertical"&&t.vertical,n.fullWidth&&t.fullWidth]}})(Bn(({theme:e})=>({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius,variants:[{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${Qs.grouped}`]:{[`&.${Qs.selected} + .${Qs.grouped}.${Qs.selected}`]:{borderTop:0,marginTop:0}},[`& .${Qs.firstButton},& .${Qs.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${Qs.lastButton},& .${Qs.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},[`& .${Qs.lastButton}.${Eb.disabled},& .${Qs.middleButton}.${Eb.disabled}`]:{borderTop:"1px solid transparent"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"horizontal"},style:{[`& .${Qs.grouped}`]:{[`&.${Qs.selected} + .${Qs.grouped}.${Qs.selected}`]:{borderLeft:0,marginLeft:0}},[`& .${Qs.firstButton},& .${Qs.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${Qs.lastButton},& .${Qs.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},[`& .${Qs.lastButton}.${Eb.disabled},& .${Qs.middleButton}.${Eb.disabled}`]:{borderLeft:"1px solid transparent"}}}]}))),mde=Y.forwardRef(function(t,n){const r=ir({props:t,name:"MuiToggleButtonGroup"}),{children:i,className:s,color:a="standard",disabled:o=!1,exclusive:l=!1,fullWidth:c=!1,onChange:d,orientation:f="horizontal",size:p="medium",value:g,...b}=r,w={...r,disabled:o,fullWidth:c,orientation:f,size:p},x=fLe(w),T=Y.useCallback((B,j)=>{if(!d)return;const F=g&&g.indexOf(j);let V;g&&F>=0?(V=g.slice(),V.splice(F,1)):V=g?g.concat(j):[j],d(B,V)},[d,g]),_=Y.useCallback((B,j)=>{d&&d(B,g===j?null:j)},[d,g]),C=Y.useMemo(()=>({className:x.grouped,onChange:l?_:T,value:g,size:p,fullWidth:c,color:a,disabled:o}),[x.grouped,l,_,T,g,p,c,a,o]),I=M4e(i),M=I.length,$=B=>{const j=B===0,F=B===M-1;return j&&F?"":j?x.firstButton:F?x.lastButton:x.middleButton};return U.jsx(hLe,{role:"group",className:cn(x.root,s),ref:n,ownerState:w,...b,children:U.jsx(hde.Provider,{value:C,children:I.map((B,j)=>U.jsx(pde.Provider,{value:$(j),children:B},j))})})}),gde=Object.prototype.toString;function bde(e){switch(gde.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return fm(e,Error)}}function kE(e,t){return gde.call(e)===`[object ${t}]`}function Zz(e){return kE(e,"ErrorEvent")}function NJ(e){return kE(e,"DOMError")}function pLe(e){return kE(e,"DOMException")}function Ep(e){return kE(e,"String")}function Xz(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function Kz(e){return e===null||Xz(e)||typeof e!="object"&&typeof e!="function"}function jO(e){return kE(e,"Object")}function K6(e){return typeof Event<"u"&&fm(e,Event)}function mLe(e){return typeof Element<"u"&&fm(e,Element)}function gLe(e){return kE(e,"RegExp")}function J6(e){return!!(e&&e.then&&typeof e.then=="function")}function bLe(e){return jO(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function yde(e){return typeof e=="number"&&e!==e}function fm(e,t){try{return e instanceof t}catch{return!1}}function vde(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function ZS(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function PJ(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;ryLe(e,r,n))}function vLe(e,t,n=250,r,i,s,a){if(!s.exception||!s.exception.values||!a||!fm(a.originalException,Error))return;const o=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;o&&(s.exception.values=SLe(AM(e,t,i,a.originalException,r,s.exception.values,o,0),n))}function AM(e,t,n,r,i,s,a,o){if(s.length>=n+1)return s;let l=[...s];if(fm(r[i],Error)){LJ(a,o);const c=e(t,r[i]),d=l.length;MJ(c,i,d,o),l=AM(e,t,n,r[i],i,[c,...l],c,d)}return Array.isArray(r.errors)&&r.errors.forEach((c,d)=>{if(fm(c,Error)){LJ(a,o);const f=e(t,c),p=l.length;MJ(f,`errors[${d}]`,p,o),l=AM(e,t,n,c,i,[f,...l],f,p)}}),l}function LJ(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function MJ(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function SLe(e,t){return e.map(n=>(n.value&&(n.value=ZS(n.value,t)),n))}function c4(e){return e&&e.Math==Math?e:void 0}const Ji=typeof globalThis=="object"&&c4(globalThis)||typeof window=="object"&&c4(window)||typeof self=="object"&&c4(self)||typeof global=="object"&&c4(global)||function(){return this}()||{};function Jz(){return Ji}function Sde(e,t,n){const r=n||Ji,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}const XS=Jz(),OLe=80;function WO(e,t={}){if(!e)return"";try{let n=e;const r=5,i=[];let s=0,a=0;const o=" > ",l=o.length;let c;const d=Array.isArray(t)?t:t.keyAttrs,f=!Array.isArray(t)&&t.maxStringLength||OLe;for(;n&&s++1&&a+i.length*l+c.length>=f));)i.push(c),a+=c.length,n=n.parentNode;return i.reverse().join(o)}catch{return""}}function ELe(e,t){const n=e,r=[];let i,s,a,o,l;if(!n||!n.tagName)return"";if(XS.HTMLElement&&n instanceof HTMLElement&&n.dataset&&n.dataset.sentryComponent)return n.dataset.sentryComponent;r.push(n.tagName.toLowerCase());const c=t&&t.length?t.filter(f=>n.getAttribute(f)).map(f=>[f,n.getAttribute(f)]):null;if(c&&c.length)c.forEach(f=>{r.push(`[${f[0]}="${f[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),i=n.className,i&&Ep(i))for(s=i.split(/\s+/),l=0;l"u"||__SENTRY_DEBUG__,TLe="Sentry Logger ",CM=["debug","info","warn","error","log","assert","trace"],u5={};function eD(e){if(!("console"in Ji))return e();const t=Ji.console,n={},r=Object.keys(u5);r.forEach(i=>{const s=u5[i];n[i]=t[i],t[i]=s});try{return e()}finally{r.forEach(i=>{t[i]=n[i]})}}function kLe(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return _E?CM.forEach(n=>{t[n]=(...r)=>{e&&eD(()=>{Ji.console[n](`${TLe}[${n}]:`,...r)})}}):CM.forEach(n=>{t[n]=()=>{}}),t}const un=kLe(),_Le=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function ALe(e){return e==="http"||e==="https"}function AE(e,t=!1){const{host:n,path:r,pass:i,port:s,projectId:a,protocol:o,publicKey:l}=e;return`${o}://${l}${t&&i?`:${i}`:""}@${n}${s?`:${s}`:""}/${r&&`${r}/`}${a}`}function CLe(e){const t=_Le.exec(e);if(!t){eD(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,r,i="",s,a="",o]=t.slice(1);let l="",c=o;const d=c.split("/");if(d.length>1&&(l=d.slice(0,-1).join("/"),c=d.pop()),c){const f=c.match(/^\d+/);f&&(c=f[0])}return Ede({host:s,pass:i,path:l,projectId:c,port:a,protocol:n,publicKey:r})}function Ede(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function RLe(e){if(!_E)return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(a=>e[a]?!1:(un.error(`Invalid Sentry Dsn: ${a} missing`),!0))?!1:n.match(/^\d+$/)?ALe(r)?t&&isNaN(parseInt(t,10))?(un.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(un.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(un.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function ILe(e){const t=typeof e=="string"?CLe(e):Ede(e);if(!(!t||!RLe(t)))return t}class lp extends Error{constructor(t,n="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=n}}function vl(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);typeof i=="function"&&wde(i,r),e[t]=i}function ly(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{_E&&un.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function wde(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,ly(e,"__sentry_original__",t)}catch{}}function eH(e){return e.__sentry_original__}function DLe(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function xde(e){if(bde(e))return{message:e.message,name:e.name,stack:e.stack,...$J(e)};if(K6(e)){const t={type:e.type,target:FJ(e.target),currentTarget:FJ(e.currentTarget),...$J(e)};return typeof CustomEvent<"u"&&fm(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function FJ(e){try{return mLe(e)?WO(e):Object.prototype.toString.call(e)}catch{return""}}function $J(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function NLe(e,t=40){const n=Object.keys(xde(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return ZS(n[0],t);for(let r=n.length;r>0;r--){const i=n.slice(0,r).join(", ");if(!(i.length>t))return r===n.length?i:ZS(i,t)}return""}function ed(e){return RM(e,new Map)}function RM(e,t){if(PLe(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const i of Object.keys(e))typeof e[i]<"u"&&(r[i]=RM(e[i],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(i=>{r.push(RM(i,t))}),r}return e}function PLe(e){if(!jO(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}const Tde=50,BJ=/\(error: (.*)\)/,UJ=/captureMessage|captureException/;function kde(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0)=>{const i=[],s=n.split(` +`);for(let a=r;a1024)continue;const l=BJ.test(o)?o.replace(BJ,"$1"):o;if(!l.match(/\S*Error: /)){for(const c of t){const d=c(l);if(d){i.push(d);break}}if(i.length>=Tde)break}}return MLe(i)}}function LLe(e){return Array.isArray(e)?kde(...e):e}function MLe(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop(),t.reverse(),UJ.test(t[t.length-1].function||"")&&(t.pop(),UJ.test(t[t.length-1].function||"")&&t.pop()),t.slice(0,Tde).map(n=>({...n,filename:n.filename||t[t.length-1].filename,function:n.function||"?"}))}const oP="";function hm(e){try{return!e||typeof e!="function"?oP:e.name||oP}catch{return oP}}const U3={},zJ={};function Cy(e,t){U3[e]=U3[e]||[],U3[e].push(t)}function Ry(e,t){zJ[e]||(t(),zJ[e]=!0)}function oh(e,t){const n=e&&U3[e];if(n)for(const r of n)try{r(t)}catch(i){_E&&un.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${hm(r)} -Error:`,i)}}function MLe(e){const t="console";Cy(t,e),Ry(t,FLe)}function FLe(){"console"in Ji&&CM.forEach(function(e){e in Ji.console&&vl(Ji.console,e,function(t){return u5[e]=t,function(...n){oh("console",{args:n,level:e});const i=u5[e];i&&i.apply(Ji.console,n)}})})}function Za(){const e=Ji,t=e.crypto||e.msCrypto;let n=()=>Math.random()*16;try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const r=new Uint8Array(1);return t.getRandomValues(r),r[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function kde(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function wg(e){const{message:t,event_id:n}=e;if(t)return t;const r=kde(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function IM(e,t,n){const r=e.exception=e.exception||{},i=r.values=r.values||[],s=i[0]=i[0]||{};s.value||(s.value=t||""),s.type||(s.type="Error")}function yk(e,t){const n=kde(e);if(!n)return;const r={type:"generic",handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...t},t&&"data"in t){const s={...i&&i.data,...t.data};n.mechanism.data=s}}function HJ(e){if(e&&e.__sentry_captured__)return!0;try{ly(e,"__sentry_captured__",!0)}catch{}return!1}function _de(e){return Array.isArray(e)?e:[e]}const sS=Ji,$Le=1e3;let qJ,DM,NM;function BLe(e){const t="dom";Cy(t,e),Ry(t,ULe)}function ULe(){if(!sS.document)return;const e=oh.bind(null,"dom"),t=jJ(e,!0);sS.document.addEventListener("click",t,!1),sS.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const r=sS[n]&&sS[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(vl(r,"addEventListener",function(i){return function(s,a,o){if(s==="click"||s=="keypress")try{const l=this,c=l.__sentry_instrumentation_handlers__=l.__sentry_instrumentation_handlers__||{},d=c[s]=c[s]||{refCount:0};if(!d.handler){const f=jJ(e);d.handler=f,i.call(this,s,f,o)}d.refCount++}catch{}return i.call(this,s,a,o)}}),vl(r,"removeEventListener",function(i){return function(s,a,o){if(s==="click"||s=="keypress")try{const l=this,c=l.__sentry_instrumentation_handlers__||{},d=c[s];d&&(d.refCount--,d.refCount<=0&&(i.call(this,s,d.handler,o),d.handler=void 0,delete c[s]),Object.keys(c).length===0&&delete l.__sentry_instrumentation_handlers__)}catch{}return i.call(this,s,a,o)}}))})}function zLe(e){if(e.type!==DM)return!1;try{if(!e.target||e.target._sentryId!==NM)return!1}catch{}return!0}function HLe(e,t){return e!=="keypress"?!1:!t||!t.tagName?!0:!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)}function jJ(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=qLe(n);if(HLe(n.type,r))return;ly(n,"_sentryCaptured",!0),r&&!r._sentryId&&ly(r,"_sentryId",Za());const i=n.type==="keypress"?"input":n.type;zLe(n)||(e({event:n,name:i,global:t}),DM=n.type,NM=r?r._sentryId:void 0),clearTimeout(qJ),qJ=sS.setTimeout(()=>{NM=void 0,DM=void 0},$Le)}}function qLe(e){try{return e.target}catch{return null}}const PM=Jz();function Ade(){if(!("fetch"in PM))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function LM(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function jLe(){if(typeof EdgeRuntime=="string")return!0;if(!Ade())return!1;if(LM(PM.fetch))return!0;let e=!1;const t=PM.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=LM(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){_E&&un.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function Cde(e){const t="fetch";Cy(t,e),Ry(t,WLe)}function WLe(){jLe()&&vl(Ji,"fetch",function(e){return function(...t){const{method:n,url:r}=QLe(t),i={args:t,fetchData:{method:n,url:r},startTimestamp:Date.now()};return oh("fetch",{...i}),e.apply(Ji,t).then(s=>{const a={...i,endTimestamp:Date.now(),response:s};return oh("fetch",a),s},s=>{const a={...i,endTimestamp:Date.now(),error:s};throw oh("fetch",a),s})}})}function MM(e,t){return!!e&&typeof e=="object"&&!!e[t]}function WJ(e){return typeof e=="string"?e:e?MM(e,"url")?e.url:e.toString?e.toString():"":""}function QLe(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:WJ(n),method:MM(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:WJ(t),method:MM(t,"method")?String(t.method).toUpperCase():"GET"}}let d4=null;function Rde(e){const t="error";Cy(t,e),Ry(t,VLe)}function VLe(){d4=Ji.onerror,Ji.onerror=function(e,t,n,r,i){return oh("error",{column:r,error:i,line:n,msg:e,url:t}),d4&&!d4.__SENTRY_LOADER__?d4.apply(this,arguments):!1},Ji.onerror.__SENTRY_INSTRUMENTED__=!0}let f4=null;function Ide(e){const t="unhandledrejection";Cy(t,e),Ry(t,GLe)}function GLe(){f4=Ji.onunhandledrejection,Ji.onunhandledrejection=function(e){return oh("unhandledrejection",e),f4&&!f4.__SENTRY_LOADER__?f4.apply(this,arguments):!0},Ji.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const h4=Jz();function YLe(){const e=h4.chrome,t=e&&e.app&&e.app.runtime,n="history"in h4&&!!h4.history.pushState&&!!h4.history.replaceState;return!t&&n}const aw=Ji;let p4;function tH(e){const t="history";Cy(t,e),Ry(t,ZLe)}function ZLe(){if(!YLe())return;const e=aw.onpopstate;aw.onpopstate=function(...n){const r=aw.location.href,i=p4;if(p4=r,oh("history",{from:i,to:r}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...r){const i=r.length>2?r[2]:void 0;if(i){const s=p4,a=String(i);p4=a,oh("history",{from:s,to:a})}return n.apply(this,r)}}vl(aw.history,"pushState",t),vl(aw.history,"replaceState",t)}const XLe=Ji,RS="__sentry_xhr_v3__";function Dde(e){const t="xhr";Cy(t,e),Ry(t,KLe)}function KLe(){if(!XLe.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;vl(e,"open",function(t){return function(...n){const r=Date.now(),i=Ep(n[0])?n[0].toUpperCase():void 0,s=JLe(n[1]);if(!i||!s)return t.apply(this,n);this[RS]={method:i,url:s,request_headers:{}},i==="POST"&&s.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const a=()=>{const o=this[RS];if(o&&this.readyState===4){try{o.status_code=this.status}catch{}const l={args:[i,s],endTimestamp:Date.now(),startTimestamp:r,xhr:this};oh("xhr",l)}};return"onreadystatechange"in this&&typeof this.onreadystatechange=="function"?vl(this,"onreadystatechange",function(o){return function(...l){return a(),o.apply(this,l)}}):this.addEventListener("readystatechange",a),vl(this,"setRequestHeader",function(o){return function(...l){const[c,d]=l,f=this[RS];return f&&Ep(c)&&Ep(d)&&(f.request_headers[c.toLowerCase()]=d),o.apply(this,l)}}),t.apply(this,n)}}),vl(e,"send",function(t){return function(...n){const r=this[RS];if(!r)return t.apply(this,n);n[0]!==void 0&&(r.body=n[0]);const i={args:[r.method,r.url],startTimestamp:Date.now(),xhr:this};return oh("xhr",i),t.apply(this,n)}})}function JLe(e){if(Ep(e))return e;try{return e.toString()}catch{}}function e8e(){return"npm"}function t8e(){const e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(i){if(e)return t.has(i)?!0:(t.add(i),!1);for(let s=0;sn?Nde(e,t-1,n):r}function FM(e,t,n=1/0,r=1/0,i=t8e()){const[s,a]=i;if(t==null||["number","boolean","string"].includes(typeof t)&&!bde(t))return t;const o=n8e(e,t);if(!o.startsWith("[object "))return o;if(t.__sentry_skip_normalization__)return t;const l=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:n;if(l===0)return o.replace("object ","");if(s(t))return"[Circular ~]";const c=t;if(c&&typeof c.toJSON=="function")try{const g=c.toJSON();return FM("",g,l-1,r,i)}catch{}const d=Array.isArray(t)?[]:{};let f=0;const p=wde(t);for(const g in p){if(!Object.prototype.hasOwnProperty.call(p,g))continue;if(f>=r){d[g]="[MaxProperties ~]";break}const b=p[g];d[g]=FM(g,b,l-1,r,i),f++}return a(t),d}function n8e(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&t===global)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(yde(t))return"[VueViewModel]";if(gLe(t))return"[SyntheticEvent]";if(typeof t=="number"&&t!==t)return"[NaN]";if(typeof t=="function")return`[Function: ${hm(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=r8e(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function r8e(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}function i8e(e){return~-encodeURI(e).split(/%..|./).length}function s8e(e){return i8e(JSON.stringify(e))}var $0;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const r=2;e[e.REJECTED=r]="REJECTED"})($0||($0={}));function QO(e){return new qc(t=>{t(e)})}function nH(e){return new qc((t,n)=>{n(e)})}class qc{constructor(t){qc.prototype.__init.call(this),qc.prototype.__init2.call(this),qc.prototype.__init3.call(this),qc.prototype.__init4.call(this),this._state=$0.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new qc((r,i)=>{this._handlers.push([!1,s=>{if(!t)r(s);else try{r(t(s))}catch(a){i(a)}},s=>{if(!n)i(s);else try{r(n(s))}catch(a){i(a)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new qc((n,r)=>{let i,s;return this.then(a=>{s=!1,i=a,t&&t()},a=>{s=!0,i=a,t&&t()}).then(()=>{if(s){r(i);return}n(i)})})}__init(){this._resolve=t=>{this._setResult($0.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult($0.REJECTED,t)}}__init3(){this._setResult=(t,n)=>{if(this._state===$0.PENDING){if(J6(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===$0.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===$0.RESOLVED&&n[1](this._value),this._state===$0.REJECTED&&n[2](this._value),n[0]=!0)})}}}function a8e(e){const t=[];function n(){return e===void 0||t.lengthr(o)).then(null,()=>r(o).then(null,()=>{})),o}function s(a){return new qc((o,l)=>{let c=t.length;if(!c)return o(!0);const d=setTimeout(()=>{a&&a>0&&o(!1)},a);t.forEach(f=>{QO(f).then(()=>{--c||(clearTimeout(d),o(!0))},l)})})}return{$:t,add:i,drain:s}}function jb(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}const o8e=["fatal","error","warning","log","info","debug"];function l8e(e){return e==="warn"?"warning":o8e.includes(e)?e:"log"}const Pde=1e3;function R_(){return Date.now()/Pde}function u8e(){const{performance:e}=Ji;if(!e||!e.now)return R_;const t=Date.now()-e.now(),n=e.timeOrigin==null?t:e.timeOrigin;return()=>(n+e.now())/Pde}const I_=u8e(),pf=(()=>{const{performance:e}=Ji;if(!e||!e.now)return;const t=3600*1e3,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,s=i{const s=QJ(i);for(const a of Object.keys(s))r[a]=s[a];return r},{});else{if(!e)return;t=QJ(e)}const n=Object.entries(t).reduce((r,[i,s])=>{if(i.match(c8e)){const a=i.slice(Lde.length);r[a]=s}return r},{});if(Object.keys(n).length>0)return n}function Mde(e){if(!e)return;const t=Object.entries(e).reduce((n,[r,i])=>(i&&(n[`${Lde}${r}`]=i),n),{});return h8e(t)}function QJ(e){return e.split(",").map(t=>t.split("=").map(n=>decodeURIComponent(n.trim()))).reduce((t,[n,r])=>(t[n]=r,t),{})}function h8e(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,r],i)=>{const s=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,a=i===0?s:`${t},${s}`;return a.length>d8e?(_E&&un.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):a},"")}const p8e=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function m8e(e){if(!e)return;const t=e.match(p8e);if(!t)return;let n;return t[3]==="1"?n=!0:t[3]==="0"&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function g8e(e,t){const n=m8e(e),r=f8e(t),{traceId:i,parentSpanId:s,parentSampled:a}=n||{};return n?{traceId:i||Za(),parentSpanId:s||Za().substring(16),spanId:Za().substring(16),sampled:a,dsc:r||{}}:{traceId:i||Za(),spanId:Za().substring(16)}}function rH(e=Za(),t=Za().substring(16),n){let r="";return n!==void 0&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function Iy(e,t=[]){return[e,t]}function b8e(e,t){const[n,r]=e;return[n,[...r,t]]}function VJ(e,t){const n=e[1];for(const r of n){const i=r[0].type;if(t(r,i))return!0}return!1}function BM(e,t){return(t||new TextEncoder).encode(e)}function y8e(e,t){const[n,r]=e;let i=JSON.stringify(n);function s(a){typeof i=="string"?i=typeof a=="string"?i+a:[BM(i,t),a]:i.push(typeof a=="string"?BM(a,t):a)}for(const a of r){const[o,l]=a;if(s(` +Error:`,i)}}function FLe(e){const t="console";Cy(t,e),Ry(t,$Le)}function $Le(){"console"in Ji&&CM.forEach(function(e){e in Ji.console&&vl(Ji.console,e,function(t){return u5[e]=t,function(...n){oh("console",{args:n,level:e});const i=u5[e];i&&i.apply(Ji.console,n)}})})}function Za(){const e=Ji,t=e.crypto||e.msCrypto;let n=()=>Math.random()*16;try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const r=new Uint8Array(1);return t.getRandomValues(r),r[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function _de(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function wg(e){const{message:t,event_id:n}=e;if(t)return t;const r=_de(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function IM(e,t,n){const r=e.exception=e.exception||{},i=r.values=r.values||[],s=i[0]=i[0]||{};s.value||(s.value=t||""),s.type||(s.type="Error")}function yk(e,t){const n=_de(e);if(!n)return;const r={type:"generic",handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...t},t&&"data"in t){const s={...i&&i.data,...t.data};n.mechanism.data=s}}function HJ(e){if(e&&e.__sentry_captured__)return!0;try{ly(e,"__sentry_captured__",!0)}catch{}return!1}function Ade(e){return Array.isArray(e)?e:[e]}const sS=Ji,BLe=1e3;let qJ,DM,NM;function ULe(e){const t="dom";Cy(t,e),Ry(t,zLe)}function zLe(){if(!sS.document)return;const e=oh.bind(null,"dom"),t=jJ(e,!0);sS.document.addEventListener("click",t,!1),sS.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const r=sS[n]&&sS[n].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(vl(r,"addEventListener",function(i){return function(s,a,o){if(s==="click"||s=="keypress")try{const l=this,c=l.__sentry_instrumentation_handlers__=l.__sentry_instrumentation_handlers__||{},d=c[s]=c[s]||{refCount:0};if(!d.handler){const f=jJ(e);d.handler=f,i.call(this,s,f,o)}d.refCount++}catch{}return i.call(this,s,a,o)}}),vl(r,"removeEventListener",function(i){return function(s,a,o){if(s==="click"||s=="keypress")try{const l=this,c=l.__sentry_instrumentation_handlers__||{},d=c[s];d&&(d.refCount--,d.refCount<=0&&(i.call(this,s,d.handler,o),d.handler=void 0,delete c[s]),Object.keys(c).length===0&&delete l.__sentry_instrumentation_handlers__)}catch{}return i.call(this,s,a,o)}}))})}function HLe(e){if(e.type!==DM)return!1;try{if(!e.target||e.target._sentryId!==NM)return!1}catch{}return!0}function qLe(e,t){return e!=="keypress"?!1:!t||!t.tagName?!0:!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)}function jJ(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=jLe(n);if(qLe(n.type,r))return;ly(n,"_sentryCaptured",!0),r&&!r._sentryId&&ly(r,"_sentryId",Za());const i=n.type==="keypress"?"input":n.type;HLe(n)||(e({event:n,name:i,global:t}),DM=n.type,NM=r?r._sentryId:void 0),clearTimeout(qJ),qJ=sS.setTimeout(()=>{NM=void 0,DM=void 0},BLe)}}function jLe(e){try{return e.target}catch{return null}}const PM=Jz();function Cde(){if(!("fetch"in PM))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function LM(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function WLe(){if(typeof EdgeRuntime=="string")return!0;if(!Cde())return!1;if(LM(PM.fetch))return!0;let e=!1;const t=PM.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=LM(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){_E&&un.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function Rde(e){const t="fetch";Cy(t,e),Ry(t,QLe)}function QLe(){WLe()&&vl(Ji,"fetch",function(e){return function(...t){const{method:n,url:r}=VLe(t),i={args:t,fetchData:{method:n,url:r},startTimestamp:Date.now()};return oh("fetch",{...i}),e.apply(Ji,t).then(s=>{const a={...i,endTimestamp:Date.now(),response:s};return oh("fetch",a),s},s=>{const a={...i,endTimestamp:Date.now(),error:s};throw oh("fetch",a),s})}})}function MM(e,t){return!!e&&typeof e=="object"&&!!e[t]}function WJ(e){return typeof e=="string"?e:e?MM(e,"url")?e.url:e.toString?e.toString():"":""}function VLe(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:WJ(n),method:MM(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:WJ(t),method:MM(t,"method")?String(t.method).toUpperCase():"GET"}}let d4=null;function Ide(e){const t="error";Cy(t,e),Ry(t,GLe)}function GLe(){d4=Ji.onerror,Ji.onerror=function(e,t,n,r,i){return oh("error",{column:r,error:i,line:n,msg:e,url:t}),d4&&!d4.__SENTRY_LOADER__?d4.apply(this,arguments):!1},Ji.onerror.__SENTRY_INSTRUMENTED__=!0}let f4=null;function Dde(e){const t="unhandledrejection";Cy(t,e),Ry(t,YLe)}function YLe(){f4=Ji.onunhandledrejection,Ji.onunhandledrejection=function(e){return oh("unhandledrejection",e),f4&&!f4.__SENTRY_LOADER__?f4.apply(this,arguments):!0},Ji.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const h4=Jz();function ZLe(){const e=h4.chrome,t=e&&e.app&&e.app.runtime,n="history"in h4&&!!h4.history.pushState&&!!h4.history.replaceState;return!t&&n}const aw=Ji;let p4;function tH(e){const t="history";Cy(t,e),Ry(t,XLe)}function XLe(){if(!ZLe())return;const e=aw.onpopstate;aw.onpopstate=function(...n){const r=aw.location.href,i=p4;if(p4=r,oh("history",{from:i,to:r}),e)try{return e.apply(this,n)}catch{}};function t(n){return function(...r){const i=r.length>2?r[2]:void 0;if(i){const s=p4,a=String(i);p4=a,oh("history",{from:s,to:a})}return n.apply(this,r)}}vl(aw.history,"pushState",t),vl(aw.history,"replaceState",t)}const KLe=Ji,RS="__sentry_xhr_v3__";function Nde(e){const t="xhr";Cy(t,e),Ry(t,JLe)}function JLe(){if(!KLe.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;vl(e,"open",function(t){return function(...n){const r=Date.now(),i=Ep(n[0])?n[0].toUpperCase():void 0,s=e8e(n[1]);if(!i||!s)return t.apply(this,n);this[RS]={method:i,url:s,request_headers:{}},i==="POST"&&s.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const a=()=>{const o=this[RS];if(o&&this.readyState===4){try{o.status_code=this.status}catch{}const l={args:[i,s],endTimestamp:Date.now(),startTimestamp:r,xhr:this};oh("xhr",l)}};return"onreadystatechange"in this&&typeof this.onreadystatechange=="function"?vl(this,"onreadystatechange",function(o){return function(...l){return a(),o.apply(this,l)}}):this.addEventListener("readystatechange",a),vl(this,"setRequestHeader",function(o){return function(...l){const[c,d]=l,f=this[RS];return f&&Ep(c)&&Ep(d)&&(f.request_headers[c.toLowerCase()]=d),o.apply(this,l)}}),t.apply(this,n)}}),vl(e,"send",function(t){return function(...n){const r=this[RS];if(!r)return t.apply(this,n);n[0]!==void 0&&(r.body=n[0]);const i={args:[r.method,r.url],startTimestamp:Date.now(),xhr:this};return oh("xhr",i),t.apply(this,n)}})}function e8e(e){if(Ep(e))return e;try{return e.toString()}catch{}}function t8e(){return"npm"}function n8e(){const e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(i){if(e)return t.has(i)?!0:(t.add(i),!1);for(let s=0;sn?Pde(e,t-1,n):r}function FM(e,t,n=1/0,r=1/0,i=n8e()){const[s,a]=i;if(t==null||["number","boolean","string"].includes(typeof t)&&!yde(t))return t;const o=r8e(e,t);if(!o.startsWith("[object "))return o;if(t.__sentry_skip_normalization__)return t;const l=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:n;if(l===0)return o.replace("object ","");if(s(t))return"[Circular ~]";const c=t;if(c&&typeof c.toJSON=="function")try{const g=c.toJSON();return FM("",g,l-1,r,i)}catch{}const d=Array.isArray(t)?[]:{};let f=0;const p=xde(t);for(const g in p){if(!Object.prototype.hasOwnProperty.call(p,g))continue;if(f>=r){d[g]="[MaxProperties ~]";break}const b=p[g];d[g]=FM(g,b,l-1,r,i),f++}return a(t),d}function r8e(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&t===global)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(vde(t))return"[VueViewModel]";if(bLe(t))return"[SyntheticEvent]";if(typeof t=="number"&&t!==t)return"[NaN]";if(typeof t=="function")return`[Function: ${hm(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=i8e(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function i8e(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}function s8e(e){return~-encodeURI(e).split(/%..|./).length}function a8e(e){return s8e(JSON.stringify(e))}var $0;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const r=2;e[e.REJECTED=r]="REJECTED"})($0||($0={}));function QO(e){return new jc(t=>{t(e)})}function nH(e){return new jc((t,n)=>{n(e)})}class jc{constructor(t){jc.prototype.__init.call(this),jc.prototype.__init2.call(this),jc.prototype.__init3.call(this),jc.prototype.__init4.call(this),this._state=$0.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new jc((r,i)=>{this._handlers.push([!1,s=>{if(!t)r(s);else try{r(t(s))}catch(a){i(a)}},s=>{if(!n)i(s);else try{r(n(s))}catch(a){i(a)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new jc((n,r)=>{let i,s;return this.then(a=>{s=!1,i=a,t&&t()},a=>{s=!0,i=a,t&&t()}).then(()=>{if(s){r(i);return}n(i)})})}__init(){this._resolve=t=>{this._setResult($0.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult($0.REJECTED,t)}}__init3(){this._setResult=(t,n)=>{if(this._state===$0.PENDING){if(J6(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===$0.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===$0.RESOLVED&&n[1](this._value),this._state===$0.REJECTED&&n[2](this._value),n[0]=!0)})}}}function o8e(e){const t=[];function n(){return e===void 0||t.lengthr(o)).then(null,()=>r(o).then(null,()=>{})),o}function s(a){return new jc((o,l)=>{let c=t.length;if(!c)return o(!0);const d=setTimeout(()=>{a&&a>0&&o(!1)},a);t.forEach(f=>{QO(f).then(()=>{--c||(clearTimeout(d),o(!0))},l)})})}return{$:t,add:i,drain:s}}function jb(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}const l8e=["fatal","error","warning","log","info","debug"];function u8e(e){return e==="warn"?"warning":l8e.includes(e)?e:"log"}const Lde=1e3;function R_(){return Date.now()/Lde}function c8e(){const{performance:e}=Ji;if(!e||!e.now)return R_;const t=Date.now()-e.now(),n=e.timeOrigin==null?t:e.timeOrigin;return()=>(n+e.now())/Lde}const I_=c8e(),pf=(()=>{const{performance:e}=Ji;if(!e||!e.now)return;const t=3600*1e3,n=e.now(),r=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,s=i{const s=QJ(i);for(const a of Object.keys(s))r[a]=s[a];return r},{});else{if(!e)return;t=QJ(e)}const n=Object.entries(t).reduce((r,[i,s])=>{if(i.match(d8e)){const a=i.slice(Mde.length);r[a]=s}return r},{});if(Object.keys(n).length>0)return n}function Fde(e){if(!e)return;const t=Object.entries(e).reduce((n,[r,i])=>(i&&(n[`${Mde}${r}`]=i),n),{});return p8e(t)}function QJ(e){return e.split(",").map(t=>t.split("=").map(n=>decodeURIComponent(n.trim()))).reduce((t,[n,r])=>(t[n]=r,t),{})}function p8e(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,r],i)=>{const s=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,a=i===0?s:`${t},${s}`;return a.length>f8e?(_E&&un.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):a},"")}const m8e=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function g8e(e){if(!e)return;const t=e.match(m8e);if(!t)return;let n;return t[3]==="1"?n=!0:t[3]==="0"&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function b8e(e,t){const n=g8e(e),r=h8e(t),{traceId:i,parentSpanId:s,parentSampled:a}=n||{};return n?{traceId:i||Za(),parentSpanId:s||Za().substring(16),spanId:Za().substring(16),sampled:a,dsc:r||{}}:{traceId:i||Za(),spanId:Za().substring(16)}}function rH(e=Za(),t=Za().substring(16),n){let r="";return n!==void 0&&(r=n?"-1":"-0"),`${e}-${t}${r}`}function Iy(e,t=[]){return[e,t]}function y8e(e,t){const[n,r]=e;return[n,[...r,t]]}function VJ(e,t){const n=e[1];for(const r of n){const i=r[0].type;if(t(r,i))return!0}return!1}function BM(e,t){return(t||new TextEncoder).encode(e)}function v8e(e,t){const[n,r]=e;let i=JSON.stringify(n);function s(a){typeof i=="string"?i=typeof a=="string"?i+a:[BM(i,t),a]:i.push(typeof a=="string"?BM(a,t):a)}for(const a of r){const[o,l]=a;if(s(` ${JSON.stringify(o)} -`),typeof l=="string"||l instanceof Uint8Array)s(l);else{let c;try{c=JSON.stringify(l)}catch{c=JSON.stringify(gg(l))}s(c)}}return typeof i=="string"?i:v8e(i)}function v8e(e){const t=e.reduce((i,s)=>i+s.length,0),n=new Uint8Array(t);let r=0;for(const i of e)n.set(i,r),r+=i.length;return n}function S8e(e,t){const n=typeof e.data=="string"?BM(e.data,t):e.data;return[Jc({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}const O8e={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function GJ(e){return O8e[e]}function Fde(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function E8e(e,t,n,r){const i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:AE(r)},...i&&{trace:Jc({...i})}}}function w8e(e,t,n){const r=[{type:"client_report"},{timestamp:R_(),discarded_events:e}];return Iy(t?{dsn:t}:{},[r])}const x8e=60*1e3;function T8e(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?x8e:r-t}function k8e(e,t){return e[t]||e.all||0}function _8e(e,t,n=Date.now()){return k8e(e,t)>n}function A8e(e,{statusCode:t,headers:n},r=Date.now()){const i={...e},s=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(s)for(const o of s.trim().split(",")){const[l,c,,,d]=o.split(":",5),f=parseInt(l,10),p=(isNaN(f)?60:f)*1e3;if(!c)i.all=r+p;else for(const g of c.split(";"))g==="metric_bucket"?(!d||d.split(";").includes("custom"))&&(i[g]=r+p):i[g]=r+p}else a?i.all=r+T8e(a,r):t===429&&(i.all=r+60*1e3);return i}const hr=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,tD="production";function iH(){return vde("globalEventProcessors",()=>[])}function C8e(e){iH().push(e)}function c5(e,t,n,r=0){return new qc((i,s)=>{const a=e[r];if(t===null||typeof a!="function")i(t);else{const o=a({...t},n);hr&&a.id&&o===null&&un.log(`Event processor "${a.id}" dropped event`),J6(o)?o.then(l=>c5(e,l,n,r+1).then(i)).then(null,s):c5(e,o,n,r+1).then(i).then(null,s)}})}function $de(e){const t=I_(),n={sid:Za(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>R8e(n)};return e&&uy(n,e),n}function uy(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||I_(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:Za()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function Bde(e,t){let n={};e.status==="ok"&&(n={status:"exited"}),uy(e,n)}function R8e(e){return Jc({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}const I8e=0,Ude=1;function sH(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:s,status:a,tags:o,origin:l}=wu(e);return Jc({data:r,op:i,parent_span_id:s,span_id:t,status:a,tags:o,trace_id:n,origin:l})}function nD(e){const{traceId:t,spanId:n}=e.spanContext(),r=aH(e);return rH(t,n,r)}function rD(e){return typeof e=="number"?YJ(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?YJ(e.getTime()):I_()}function YJ(e){return e>9999999999?e/1e3:e}function wu(e){return D8e(e)?e.getSpanJSON():typeof e.toJSON=="function"?e.toJSON():{}}function D8e(e){return typeof e.getSpanJSON=="function"}function aH(e){const{traceFlags:t}=e.spanContext();return!!(t&Ude)}function N8e(e,t,n,r,i,s){const{normalizeDepth:a=3,normalizeMaxBreadth:o=1e3}=e,l={...t,event_id:t.event_id||n.event_id||Za(),timestamp:t.timestamp||R_()},c=n.integrations||e.integrations.map(x=>x.name);P8e(l,e),F8e(l,c),t.type===void 0&&L8e(l,e.stackParser);const d=B8e(r,n.captureContext);n.mechanism&&yk(l,n.mechanism);const f=i&&i.getEventProcessors?i.getEventProcessors():[],p=G8e().getScopeData();if(s){const x=s.getScopeData();JJ(p,x)}if(d){const x=d.getScopeData();JJ(p,x)}const g=[...n.attachments||[],...p.attachments];g.length&&(n.attachments=g),jde(l,p);const b=[...f,...iH(),...p.eventProcessors];return c5(b,l,n).then(x=>(x&&M8e(x),typeof a=="number"&&a>0?$8e(x,a,o):x))}function P8e(e,t){const{environment:n,release:r,dist:i,maxValueLength:s=250}=t;"environment"in e||(e.environment="environment"in t?n:tD),e.release===void 0&&r!==void 0&&(e.release=r),e.dist===void 0&&i!==void 0&&(e.dist=i),e.message&&(e.message=ZS(e.message,s));const a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=ZS(a.value,s));const o=e.request;o&&o.url&&(o.url=ZS(o.url,s))}const ZJ=new WeakMap;function L8e(e,t){const n=Ji._sentryDebugIds;if(!n)return;let r;const i=ZJ.get(t);i?r=i:(r=new Map,ZJ.set(t,r));const s=Object.keys(n).reduce((a,o)=>{let l;const c=r.get(o);c?l=c:(l=t(o),r.set(o,l));for(let d=l.length-1;d>=0;d--){const f=l[d];if(f.filename){a[f.filename]=n[o];break}}return a},{});try{e.exception.values.forEach(a=>{a.stacktrace.frames.forEach(o=>{o.filename&&(o.debug_id=s[o.filename])})})}catch{}}function M8e(e){const t={};try{e.exception.values.forEach(r=>{r.stacktrace.frames.forEach(i=>{i.debug_id&&(i.abs_path?t[i.abs_path]=i.debug_id:i.filename&&(t[i.filename]=i.debug_id),delete i.debug_id)})})}catch{}if(Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.keys(t).forEach(r=>{n.push({type:"sourcemap",code_file:r,debug_id:t[r]})})}function F8e(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function $8e(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(i=>({...i,...i.data&&{data:gg(i.data,t,n)}}))},...e.user&&{user:gg(e.user,t,n)},...e.contexts&&{contexts:gg(e.contexts,t,n)},...e.extra&&{extra:gg(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=gg(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(i=>{const s=wu(i).data;return s&&(i.data=gg(s,t,n)),i})),r}function B8e(e,t){if(!t)return e;const n=e?e.clone():new Kg;return n.update(t),n}function U8e(e,t){return vf().captureException(e,void 0)}function zde(e,t){return vf().captureEvent(e,t)}function cy(e,t){vf().addBreadcrumb(e,t)}function z8e(...e){const t=vf();if(e.length===2){const[n,r]=e;return n?t.withScope(()=>(t.getStackTop().scope=n,r(n))):t.withScope(r)}return t.withScope(e[0])}function No(){return vf().getClient()}function Cp(){return vf().getScope()}function XJ(e){const t=No(),n=Dy(),r=Cp(),{release:i,environment:s=tD}=t&&t.getOptions()||{},{userAgent:a}=Ji.navigator||{},o=$de({release:i,environment:s,user:r.getUser()||n.getUser(),...a&&{userAgent:a},...e}),l=n.getSession();return l&&l.status==="ok"&&uy(l,{status:"exited"}),Hde(),n.setSession(o),r.setSession(o),o}function Hde(){const e=Dy(),t=Cp(),n=t.getSession()||e.getSession();n&&Bde(n),qde(),e.setSession(),t.setSession()}function qde(){const e=Dy(),t=Cp(),n=No(),r=t.getSession()||e.getSession();r&&n&&n.captureSession&&n.captureSession(r)}function KJ(e=!1){if(e){Hde();return}qde()}function d5(e){return e.transaction}function iD(e,t,n){const r=t.getOptions(),{publicKey:i}=t.getDsn()||{},{segment:s}=n&&n.getUser()||{},a=Jc({environment:r.environment||tD,release:r.release,user_segment:s,public_key:i,trace_id:e});return t.emit&&t.emit("createDsc",a),a}function VO(e){const t=No();if(!t)return{};const n=iD(wu(e).trace_id||"",t,Cp()),r=d5(e);if(!r)return n;const i=r&&r._frozenDynamicSamplingContext;if(i)return i;const{sampleRate:s,source:a}=r.metadata;s!=null&&(n.sample_rate=`${s}`);const o=wu(r);return a&&a!=="url"&&(n.transaction=o.description),n.sampled=String(aH(r)),t.emit&&t.emit("createDsc",n),n}function jde(e,t){const{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:s}=t;H8e(e,t),r&&W8e(e,r),Q8e(e,n),q8e(e,i),j8e(e,s)}function JJ(e,t){const{extra:n,tags:r,user:i,contexts:s,level:a,sdkProcessingMetadata:o,breadcrumbs:l,fingerprint:c,eventProcessors:d,attachments:f,propagationContext:p,transactionName:g,span:b}=t;ow(e,"extra",n),ow(e,"tags",r),ow(e,"user",i),ow(e,"contexts",s),ow(e,"sdkProcessingMetadata",o),a&&(e.level=a),g&&(e.transactionName=g),b&&(e.span=b),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...p}}function ow(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}}function H8e(e,t){const{extra:n,tags:r,user:i,contexts:s,level:a,transactionName:o}=t,l=Jc(n);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});const c=Jc(r);c&&Object.keys(c).length&&(e.tags={...c,...e.tags});const d=Jc(i);d&&Object.keys(d).length&&(e.user={...d,...e.user});const f=Jc(s);f&&Object.keys(f).length&&(e.contexts={...f,...e.contexts}),a&&(e.level=a),o&&(e.transaction=o)}function q8e(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function j8e(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function W8e(e,t){e.contexts={trace:sH(t),...e.contexts};const n=d5(t);if(n){e.sdkProcessingMetadata={dynamicSamplingContext:VO(t),...e.sdkProcessingMetadata};const r=wu(n).description;r&&(e.tags={transaction:r,...e.tags})}}function Q8e(e,t){e.fingerprint=e.fingerprint?_de(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}const V8e=100;let lP;class Kg{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=eee()}static clone(t){return t?t.clone():new Kg}clone(){const t=new Kg;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},t._user=this._user,t._level=this._level,t._span=this._span,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t}setClient(t){this._client=t}getClient(){return this._client}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&uy(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this._span;return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const n=typeof t=="function"?t(this):t;if(n instanceof Kg){const r=n.getScopeData();this._tags={...this._tags,...r.tags},this._extra={...this._extra,...r.extra},this._contexts={...this._contexts,...r.contexts},r.user&&Object.keys(r.user).length&&(this._user=r.user),r.level&&(this._level=r.level),r.fingerprint.length&&(this._fingerprint=r.fingerprint),n.getRequestSession()&&(this._requestSession=n.getRequestSession()),r.propagationContext&&(this._propagationContext=r.propagationContext)}else if(jO(n)){const r=t;this._tags={...this._tags,...r.tags},this._extra={...this._extra,...r.extra},this._contexts={...this._contexts,...r.contexts},r.user&&(this._user=r.user),r.level&&(this._level=r.level),r.fingerprint&&(this._fingerprint=r.fingerprint),r.requestSession&&(this._requestSession=r.requestSession),r.propagationContext&&(this._propagationContext=r.propagationContext)}return this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=eee(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:V8e;if(r<=0)return this;const i={timestamp:R_(),...t},s=this._breadcrumbs;return s.push(i),this._breadcrumbs=s.length>r?s.slice(-r):s,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){const{_breadcrumbs:t,_attachments:n,_contexts:r,_tags:i,_extra:s,_user:a,_level:o,_fingerprint:l,_eventProcessors:c,_propagationContext:d,_sdkProcessingMetadata:f,_transactionName:p,_span:g}=this;return{breadcrumbs:t,attachments:n,contexts:r,tags:i,extra:s,user:a,level:o,fingerprint:l||[],eventProcessors:c,propagationContext:d,sdkProcessingMetadata:f,transactionName:p,span:g}}applyToEvent(t,n={},r=[]){jde(t,this.getScopeData());const i=[...r,...iH(),...this._eventProcessors];return c5(i,t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=n&&n.event_id?n.event_id:Za();if(!this._client)return un.warn("No client configured on scope - will not capture exception!"),r;const i=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:i,...n,event_id:r},this),r}captureMessage(t,n,r){const i=r&&r.event_id?r.event_id:Za();if(!this._client)return un.warn("No client configured on scope - will not capture message!"),i;const s=new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:s,...r,event_id:i},this),i}captureEvent(t,n){const r=n&&n.event_id?n.event_id:Za();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(un.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}function G8e(){return lP||(lP=new Kg),lP}function eee(){return{traceId:Za(),spanId:Za().substring(16)}}const UM="7.119.0",Wde=parseFloat(UM),Y8e=100;class Qde{constructor(t,n,r,i=Wde){this._version=i;let s;n?s=n:(s=new Kg,s.setClient(t));let a;r?a=r:(a=new Kg,a.setClient(t)),this._stack=[{scope:s}],t&&this.bindClient(t),this._isolationScope=a}isOlderThan(t){return this._version(this.popScope(),i),i=>{throw this.popScope(),i}):(this.popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,n){const r=this._lastEventId=n&&n.event_id?n.event_id:Za(),i=new Error("Sentry syntheticException");return this.getScope().captureException(t,{originalException:t,syntheticException:i,...n,event_id:r}),r}captureMessage(t,n,r){const i=this._lastEventId=r&&r.event_id?r.event_id:Za(),s=new Error(t);return this.getScope().captureMessage(t,n,{originalException:t,syntheticException:s,...r,event_id:i}),i}captureEvent(t,n){const r=n&&n.event_id?n.event_id:Za();return t.type||(this._lastEventId=r),this.getScope().captureEvent(t,{...n,event_id:r}),r}lastEventId(){return this._lastEventId}addBreadcrumb(t,n){const{scope:r,client:i}=this.getStackTop();if(!i)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:a=Y8e}=i.getOptions&&i.getOptions()||{};if(a<=0)return;const l={timestamp:R_(),...t},c=s?eD(()=>s(l,n)):l;c!==null&&(i.emit&&i.emit("beforeAddBreadcrumb",c,n),r.addBreadcrumb(c,a))}setUser(t){this.getScope().setUser(t),this.getIsolationScope().setUser(t)}setTags(t){this.getScope().setTags(t),this.getIsolationScope().setTags(t)}setExtras(t){this.getScope().setExtras(t),this.getIsolationScope().setExtras(t)}setTag(t,n){this.getScope().setTag(t,n),this.getIsolationScope().setTag(t,n)}setExtra(t,n){this.getScope().setExtra(t,n),this.getIsolationScope().setExtra(t,n)}setContext(t,n){this.getScope().setContext(t,n),this.getIsolationScope().setContext(t,n)}configureScope(t){const{scope:n,client:r}=this.getStackTop();r&&t(n)}run(t){const n=tee(this);try{t(this)}finally{tee(n)}}getIntegration(t){const n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch{return hr&&un.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,n){const r=this._callExtensionMethod("startTransaction",t,n);return hr&&!r&&(this.getClient()?un.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': +`),typeof l=="string"||l instanceof Uint8Array)s(l);else{let c;try{c=JSON.stringify(l)}catch{c=JSON.stringify(gg(l))}s(c)}}return typeof i=="string"?i:S8e(i)}function S8e(e){const t=e.reduce((i,s)=>i+s.length,0),n=new Uint8Array(t);let r=0;for(const i of e)n.set(i,r),r+=i.length;return n}function O8e(e,t){const n=typeof e.data=="string"?BM(e.data,t):e.data;return[ed({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}const E8e={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function GJ(e){return E8e[e]}function $de(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function w8e(e,t,n,r){const i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:AE(r)},...i&&{trace:ed({...i})}}}function x8e(e,t,n){const r=[{type:"client_report"},{timestamp:R_(),discarded_events:e}];return Iy(t?{dsn:t}:{},[r])}const T8e=60*1e3;function k8e(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?T8e:r-t}function _8e(e,t){return e[t]||e.all||0}function A8e(e,t,n=Date.now()){return _8e(e,t)>n}function C8e(e,{statusCode:t,headers:n},r=Date.now()){const i={...e},s=n&&n["x-sentry-rate-limits"],a=n&&n["retry-after"];if(s)for(const o of s.trim().split(",")){const[l,c,,,d]=o.split(":",5),f=parseInt(l,10),p=(isNaN(f)?60:f)*1e3;if(!c)i.all=r+p;else for(const g of c.split(";"))g==="metric_bucket"?(!d||d.split(";").includes("custom"))&&(i[g]=r+p):i[g]=r+p}else a?i.all=r+k8e(a,r):t===429&&(i.all=r+60*1e3);return i}const hr=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,tD="production";function iH(){return Sde("globalEventProcessors",()=>[])}function R8e(e){iH().push(e)}function c5(e,t,n,r=0){return new jc((i,s)=>{const a=e[r];if(t===null||typeof a!="function")i(t);else{const o=a({...t},n);hr&&a.id&&o===null&&un.log(`Event processor "${a.id}" dropped event`),J6(o)?o.then(l=>c5(e,l,n,r+1).then(i)).then(null,s):c5(e,o,n,r+1).then(i).then(null,s)}})}function Bde(e){const t=I_(),n={sid:Za(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>I8e(n)};return e&&uy(n,e),n}function uy(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||I_(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:Za()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function Ude(e,t){let n={};e.status==="ok"&&(n={status:"exited"}),uy(e,n)}function I8e(e){return ed({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}const D8e=0,zde=1;function sH(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:s,status:a,tags:o,origin:l}=wu(e);return ed({data:r,op:i,parent_span_id:s,span_id:t,status:a,tags:o,trace_id:n,origin:l})}function nD(e){const{traceId:t,spanId:n}=e.spanContext(),r=aH(e);return rH(t,n,r)}function rD(e){return typeof e=="number"?YJ(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?YJ(e.getTime()):I_()}function YJ(e){return e>9999999999?e/1e3:e}function wu(e){return N8e(e)?e.getSpanJSON():typeof e.toJSON=="function"?e.toJSON():{}}function N8e(e){return typeof e.getSpanJSON=="function"}function aH(e){const{traceFlags:t}=e.spanContext();return!!(t&zde)}function P8e(e,t,n,r,i,s){const{normalizeDepth:a=3,normalizeMaxBreadth:o=1e3}=e,l={...t,event_id:t.event_id||n.event_id||Za(),timestamp:t.timestamp||R_()},c=n.integrations||e.integrations.map(x=>x.name);L8e(l,e),$8e(l,c),t.type===void 0&&M8e(l,e.stackParser);const d=U8e(r,n.captureContext);n.mechanism&&yk(l,n.mechanism);const f=i&&i.getEventProcessors?i.getEventProcessors():[],p=Y8e().getScopeData();if(s){const x=s.getScopeData();JJ(p,x)}if(d){const x=d.getScopeData();JJ(p,x)}const g=[...n.attachments||[],...p.attachments];g.length&&(n.attachments=g),Wde(l,p);const b=[...f,...iH(),...p.eventProcessors];return c5(b,l,n).then(x=>(x&&F8e(x),typeof a=="number"&&a>0?B8e(x,a,o):x))}function L8e(e,t){const{environment:n,release:r,dist:i,maxValueLength:s=250}=t;"environment"in e||(e.environment="environment"in t?n:tD),e.release===void 0&&r!==void 0&&(e.release=r),e.dist===void 0&&i!==void 0&&(e.dist=i),e.message&&(e.message=ZS(e.message,s));const a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=ZS(a.value,s));const o=e.request;o&&o.url&&(o.url=ZS(o.url,s))}const ZJ=new WeakMap;function M8e(e,t){const n=Ji._sentryDebugIds;if(!n)return;let r;const i=ZJ.get(t);i?r=i:(r=new Map,ZJ.set(t,r));const s=Object.keys(n).reduce((a,o)=>{let l;const c=r.get(o);c?l=c:(l=t(o),r.set(o,l));for(let d=l.length-1;d>=0;d--){const f=l[d];if(f.filename){a[f.filename]=n[o];break}}return a},{});try{e.exception.values.forEach(a=>{a.stacktrace.frames.forEach(o=>{o.filename&&(o.debug_id=s[o.filename])})})}catch{}}function F8e(e){const t={};try{e.exception.values.forEach(r=>{r.stacktrace.frames.forEach(i=>{i.debug_id&&(i.abs_path?t[i.abs_path]=i.debug_id:i.filename&&(t[i.filename]=i.debug_id),delete i.debug_id)})})}catch{}if(Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.keys(t).forEach(r=>{n.push({type:"sourcemap",code_file:r,debug_id:t[r]})})}function $8e(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function B8e(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(i=>({...i,...i.data&&{data:gg(i.data,t,n)}}))},...e.user&&{user:gg(e.user,t,n)},...e.contexts&&{contexts:gg(e.contexts,t,n)},...e.extra&&{extra:gg(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=gg(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(i=>{const s=wu(i).data;return s&&(i.data=gg(s,t,n)),i})),r}function U8e(e,t){if(!t)return e;const n=e?e.clone():new Kg;return n.update(t),n}function z8e(e,t){return vf().captureException(e,void 0)}function Hde(e,t){return vf().captureEvent(e,t)}function cy(e,t){vf().addBreadcrumb(e,t)}function H8e(...e){const t=vf();if(e.length===2){const[n,r]=e;return n?t.withScope(()=>(t.getStackTop().scope=n,r(n))):t.withScope(r)}return t.withScope(e[0])}function No(){return vf().getClient()}function Cp(){return vf().getScope()}function XJ(e){const t=No(),n=Dy(),r=Cp(),{release:i,environment:s=tD}=t&&t.getOptions()||{},{userAgent:a}=Ji.navigator||{},o=Bde({release:i,environment:s,user:r.getUser()||n.getUser(),...a&&{userAgent:a},...e}),l=n.getSession();return l&&l.status==="ok"&&uy(l,{status:"exited"}),qde(),n.setSession(o),r.setSession(o),o}function qde(){const e=Dy(),t=Cp(),n=t.getSession()||e.getSession();n&&Ude(n),jde(),e.setSession(),t.setSession()}function jde(){const e=Dy(),t=Cp(),n=No(),r=t.getSession()||e.getSession();r&&n&&n.captureSession&&n.captureSession(r)}function KJ(e=!1){if(e){qde();return}jde()}function d5(e){return e.transaction}function iD(e,t,n){const r=t.getOptions(),{publicKey:i}=t.getDsn()||{},{segment:s}=n&&n.getUser()||{},a=ed({environment:r.environment||tD,release:r.release,user_segment:s,public_key:i,trace_id:e});return t.emit&&t.emit("createDsc",a),a}function VO(e){const t=No();if(!t)return{};const n=iD(wu(e).trace_id||"",t,Cp()),r=d5(e);if(!r)return n;const i=r&&r._frozenDynamicSamplingContext;if(i)return i;const{sampleRate:s,source:a}=r.metadata;s!=null&&(n.sample_rate=`${s}`);const o=wu(r);return a&&a!=="url"&&(n.transaction=o.description),n.sampled=String(aH(r)),t.emit&&t.emit("createDsc",n),n}function Wde(e,t){const{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:s}=t;q8e(e,t),r&&Q8e(e,r),V8e(e,n),j8e(e,i),W8e(e,s)}function JJ(e,t){const{extra:n,tags:r,user:i,contexts:s,level:a,sdkProcessingMetadata:o,breadcrumbs:l,fingerprint:c,eventProcessors:d,attachments:f,propagationContext:p,transactionName:g,span:b}=t;ow(e,"extra",n),ow(e,"tags",r),ow(e,"user",i),ow(e,"contexts",s),ow(e,"sdkProcessingMetadata",o),a&&(e.level=a),g&&(e.transactionName=g),b&&(e.span=b),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...p}}function ow(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}}function q8e(e,t){const{extra:n,tags:r,user:i,contexts:s,level:a,transactionName:o}=t,l=ed(n);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});const c=ed(r);c&&Object.keys(c).length&&(e.tags={...c,...e.tags});const d=ed(i);d&&Object.keys(d).length&&(e.user={...d,...e.user});const f=ed(s);f&&Object.keys(f).length&&(e.contexts={...f,...e.contexts}),a&&(e.level=a),o&&(e.transaction=o)}function j8e(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function W8e(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function Q8e(e,t){e.contexts={trace:sH(t),...e.contexts};const n=d5(t);if(n){e.sdkProcessingMetadata={dynamicSamplingContext:VO(t),...e.sdkProcessingMetadata};const r=wu(n).description;r&&(e.tags={transaction:r,...e.tags})}}function V8e(e,t){e.fingerprint=e.fingerprint?Ade(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}const G8e=100;let lP;class Kg{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=eee()}static clone(t){return t?t.clone():new Kg}clone(){const t=new Kg;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},t._user=this._user,t._level=this._level,t._span=this._span,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t}setClient(t){this._client=t}getClient(){return this._client}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&uy(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this._span;return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const n=typeof t=="function"?t(this):t;if(n instanceof Kg){const r=n.getScopeData();this._tags={...this._tags,...r.tags},this._extra={...this._extra,...r.extra},this._contexts={...this._contexts,...r.contexts},r.user&&Object.keys(r.user).length&&(this._user=r.user),r.level&&(this._level=r.level),r.fingerprint.length&&(this._fingerprint=r.fingerprint),n.getRequestSession()&&(this._requestSession=n.getRequestSession()),r.propagationContext&&(this._propagationContext=r.propagationContext)}else if(jO(n)){const r=t;this._tags={...this._tags,...r.tags},this._extra={...this._extra,...r.extra},this._contexts={...this._contexts,...r.contexts},r.user&&(this._user=r.user),r.level&&(this._level=r.level),r.fingerprint&&(this._fingerprint=r.fingerprint),r.requestSession&&(this._requestSession=r.requestSession),r.propagationContext&&(this._propagationContext=r.propagationContext)}return this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=eee(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:G8e;if(r<=0)return this;const i={timestamp:R_(),...t},s=this._breadcrumbs;return s.push(i),this._breadcrumbs=s.length>r?s.slice(-r):s,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){const{_breadcrumbs:t,_attachments:n,_contexts:r,_tags:i,_extra:s,_user:a,_level:o,_fingerprint:l,_eventProcessors:c,_propagationContext:d,_sdkProcessingMetadata:f,_transactionName:p,_span:g}=this;return{breadcrumbs:t,attachments:n,contexts:r,tags:i,extra:s,user:a,level:o,fingerprint:l||[],eventProcessors:c,propagationContext:d,sdkProcessingMetadata:f,transactionName:p,span:g}}applyToEvent(t,n={},r=[]){Wde(t,this.getScopeData());const i=[...r,...iH(),...this._eventProcessors];return c5(i,t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=n&&n.event_id?n.event_id:Za();if(!this._client)return un.warn("No client configured on scope - will not capture exception!"),r;const i=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:i,...n,event_id:r},this),r}captureMessage(t,n,r){const i=r&&r.event_id?r.event_id:Za();if(!this._client)return un.warn("No client configured on scope - will not capture message!"),i;const s=new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:s,...r,event_id:i},this),i}captureEvent(t,n){const r=n&&n.event_id?n.event_id:Za();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(un.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}function Y8e(){return lP||(lP=new Kg),lP}function eee(){return{traceId:Za(),spanId:Za().substring(16)}}const UM="7.119.0",Qde=parseFloat(UM),Z8e=100;class Vde{constructor(t,n,r,i=Qde){this._version=i;let s;n?s=n:(s=new Kg,s.setClient(t));let a;r?a=r:(a=new Kg,a.setClient(t)),this._stack=[{scope:s}],t&&this.bindClient(t),this._isolationScope=a}isOlderThan(t){return this._version(this.popScope(),i),i=>{throw this.popScope(),i}):(this.popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,n){const r=this._lastEventId=n&&n.event_id?n.event_id:Za(),i=new Error("Sentry syntheticException");return this.getScope().captureException(t,{originalException:t,syntheticException:i,...n,event_id:r}),r}captureMessage(t,n,r){const i=this._lastEventId=r&&r.event_id?r.event_id:Za(),s=new Error(t);return this.getScope().captureMessage(t,n,{originalException:t,syntheticException:s,...r,event_id:i}),i}captureEvent(t,n){const r=n&&n.event_id?n.event_id:Za();return t.type||(this._lastEventId=r),this.getScope().captureEvent(t,{...n,event_id:r}),r}lastEventId(){return this._lastEventId}addBreadcrumb(t,n){const{scope:r,client:i}=this.getStackTop();if(!i)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:a=Z8e}=i.getOptions&&i.getOptions()||{};if(a<=0)return;const l={timestamp:R_(),...t},c=s?eD(()=>s(l,n)):l;c!==null&&(i.emit&&i.emit("beforeAddBreadcrumb",c,n),r.addBreadcrumb(c,a))}setUser(t){this.getScope().setUser(t),this.getIsolationScope().setUser(t)}setTags(t){this.getScope().setTags(t),this.getIsolationScope().setTags(t)}setExtras(t){this.getScope().setExtras(t),this.getIsolationScope().setExtras(t)}setTag(t,n){this.getScope().setTag(t,n),this.getIsolationScope().setTag(t,n)}setExtra(t,n){this.getScope().setExtra(t,n),this.getIsolationScope().setExtra(t,n)}setContext(t,n){this.getScope().setContext(t,n),this.getIsolationScope().setContext(t,n)}configureScope(t){const{scope:n,client:r}=this.getStackTop();r&&t(n)}run(t){const n=tee(this);try{t(this)}finally{tee(n)}}getIntegration(t){const n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch{return hr&&un.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,n){const r=this._callExtensionMethod("startTransaction",t,n);return hr&&!r&&(this.getClient()?un.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': Sentry.addTracingExtensions(); Sentry.init({...}); -`):un.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")),r}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const n=this.getStackTop().scope,r=n.getSession();r&&Bde(r),this._sendSessionUpdate(),n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:i,environment:s=tD}=r&&r.getOptions()||{},{userAgent:a}=Ji.navigator||{},o=$de({release:i,environment:s,user:n.getUser(),...a&&{userAgent:a},...t}),l=n.getSession&&n.getSession();return l&&l.status==="ok"&&uy(l,{status:"exited"}),this.endSession(),n.setSession(o),o}shouldSendDefaultPii(){const t=this.getClient(),n=t&&t.getOptions();return!!(n&&n.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:n}=this.getStackTop(),r=t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}_callExtensionMethod(t,...n){const i=D_().__SENTRY__;if(i&&i.extensions&&typeof i.extensions[t]=="function")return i.extensions[t].apply(this,n);hr&&un.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function D_(){return Ji.__SENTRY__=Ji.__SENTRY__||{extensions:{},hub:void 0},Ji}function tee(e){const t=D_(),n=zM(t);return Vde(t,e),n}function vf(){const e=D_();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return Z8e(e)}function Dy(){return vf().getIsolationScope()}function Z8e(e=D_()){return(!X8e(e)||zM(e).isOlderThan(Wde))&&Vde(e,new Qde),zM(e)}function X8e(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function zM(e){return vde("hub",()=>new Qde,e)}function Vde(e,t){if(!e)return!1;const n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function dy(e){return vf().getScope().getTransaction()}let nee=!1;function K8e(){nee||(nee=!0,Rde(HM),Ide(HM))}function HM(){const e=dy();if(e){const t="internal_error";hr&&un.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}HM.tag="sentry_tracingErrorCallback";var ree;(function(e){const t="ok";e.Ok=t;const n="deadline_exceeded";e.DeadlineExceeded=n;const r="unauthenticated";e.Unauthenticated=r;const i="permission_denied";e.PermissionDenied=i;const s="not_found";e.NotFound=s;const a="resource_exhausted";e.ResourceExhausted=a;const o="invalid_argument";e.InvalidArgument=o;const l="unimplemented";e.Unimplemented=l;const c="unavailable";e.Unavailable=c;const d="internal_error";e.InternalError=d;const f="unknown_error";e.UnknownError=f;const p="cancelled";e.Cancelled=p;const g="already_exists";e.AlreadyExists=g;const b="failed_precondition";e.FailedPrecondition=b;const w="aborted";e.Aborted=w;const x="out_of_range";e.OutOfRange=x;const T="data_loss";e.DataLoss=T})(ree||(ree={}));function J8e(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}function oH(e,t){e.setTag("http.status_code",String(t)),e.setData("http.response.status_code",t);const n=J8e(t);n!=="unknown_error"&&e.setStatus(n)}function CE(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=No(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}function Gde(e){if(!CE())return;const t=nMe(e),n=vf(),r=e.scope?e.scope.getSpan():eMe();if(e.onlyIfParent&&!r)return;const a=(e.scope||Cp()).clone();return tMe(n,{parentSpan:r,spanContext:t,forceTransaction:e.forceTransaction,scope:a})}function eMe(){return Cp().getSpan()}function tMe(e,{parentSpan:t,spanContext:n,forceTransaction:r,scope:i}){if(!CE())return;const s=Dy();let a;if(t&&!r)a=t.startChild(n);else if(t){const o=VO(t),{traceId:l,spanId:c}=t.spanContext(),d=aH(t);a=e.startTransaction({traceId:l,parentSpanId:c,parentSampled:d,...n,metadata:{dynamicSamplingContext:o,...n.metadata}})}else{const{traceId:o,dsc:l,parentSpanId:c,sampled:d}={...s.getPropagationContext(),...i.getPropagationContext()};a=e.startTransaction({traceId:o,parentSpanId:c,parentSampled:d,...n,metadata:{dynamicSamplingContext:l,...n.metadata}})}return i.setSpan(a),rMe(a,i,s),a}function nMe(e){if(e.startTime){const t={...e};return t.startTimestamp=rD(e.startTime),delete t.startTime,t}return e}const Yde="_sentryScope",Zde="_sentryIsolationScope";function rMe(e,t,n){e&&(ly(e,Zde,n),ly(e,Yde,t))}function iMe(e){return{scope:e[Yde],isolationScope:e[Zde]}}const Wb="sentry.source",IS="sentry.sample_rate",Hw="sentry.op",wb="sentry.origin",sMe="profile_id";class Xde{constructor(t=1e3){this._maxlen=t,this.spans=[]}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class sD{constructor(t={}){this._traceId=t.traceId||Za(),this._spanId=t.spanId||Za().substring(16),this._startTime=t.startTimestamp||I_(),this.tags=t.tags?{...t.tags}:{},this.data=t.data?{...t.data}:{},this.instrumenter=t.instrumenter||"sentry",this._attributes={},this.setAttributes({[wb]:t.origin||"manual",[Hw]:t.op,...t.attributes}),this._name=t.name||t.description,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.status&&(this._status=t.status),t.endTimestamp&&(this._endTime=t.endTimestamp),t.exclusiveTime!==void 0&&(this._exclusiveTime=t.exclusiveTime),this._measurements=t.measurements?{...t.measurements}:{}}get name(){return this._name||""}set name(t){this.updateName(t)}get description(){return this._name}set description(t){this._name=t}get traceId(){return this._traceId}set traceId(t){this._traceId=t}get spanId(){return this._spanId}set spanId(t){this._spanId=t}set parentSpanId(t){this._parentSpanId=t}get parentSpanId(){return this._parentSpanId}get sampled(){return this._sampled}set sampled(t){this._sampled=t}get attributes(){return this._attributes}set attributes(t){this._attributes=t}get startTimestamp(){return this._startTime}set startTimestamp(t){this._startTime=t}get endTimestamp(){return this._endTime}set endTimestamp(t){this._endTime=t}get status(){return this._status}set status(t){this._status=t}get op(){return this._attributes[Hw]}set op(t){this.setAttribute(Hw,t)}get origin(){return this._attributes[wb]}set origin(t){this.setAttribute(wb,t)}spanContext(){const{_spanId:t,_traceId:n,_sampled:r}=this;return{spanId:t,traceId:n,traceFlags:r?Ude:I8e}}startChild(t){const n=new sD({...t,parentSpanId:this._spanId,sampled:this._sampled,traceId:this._traceId});n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n);const r=d5(this);if(n.transaction=r,hr&&r){const i=t&&t.op||"< unknown op >",s=wu(n).description||"< unknown name >",a=r.spanContext().spanId,o=`[Tracing] Starting '${i}' span on transaction '${s}' (${a}).`;un.log(o),this._logMessage=o}return n}setTag(t,n){return this.tags={...this.tags,[t]:n},this}setData(t,n){return this.data={...this.data,[t]:n},this}setAttribute(t,n){n===void 0?delete this._attributes[t]:this._attributes[t]=n}setAttributes(t){Object.keys(t).forEach(n=>this.setAttribute(n,t[n]))}setStatus(t){return this._status=t,this}setHttpStatus(t){return oH(this,t),this}setName(t){this.updateName(t)}updateName(t){return this._name=t,this}isSuccess(){return this._status==="ok"}finish(t){return this.end(t)}end(t){if(this._endTime)return;const n=d5(this);if(hr&&n&&n.spanContext().spanId!==this._spanId){const r=this._logMessage;r&&un.log(r.replace("Starting","Finishing"))}this._endTime=rD(t)}toTraceparent(){return nD(this)}toContext(){return Jc({data:this._getData(),description:this._name,endTimestamp:this._endTime,op:this.op,parentSpanId:this._parentSpanId,sampled:this._sampled,spanId:this._spanId,startTimestamp:this._startTime,status:this._status,tags:this.tags,traceId:this._traceId})}updateWithContext(t){return this.data=t.data||{},this._name=t.name||t.description,this._endTime=t.endTimestamp,this.op=t.op,this._parentSpanId=t.parentSpanId,this._sampled=t.sampled,this._spanId=t.spanId||this._spanId,this._startTime=t.startTimestamp||this._startTime,this._status=t.status,this.tags=t.tags||{},this._traceId=t.traceId||this._traceId,this}getTraceContext(){return sH(this)}getSpanJSON(){return Jc({data:this._getData(),description:this._name,op:this._attributes[Hw],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:this._status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[wb],_metrics_summary:void 0,profile_id:this._attributes[sMe],exclusive_time:this._exclusiveTime,measurements:Object.keys(this._measurements).length>0?this._measurements:void 0})}isRecording(){return!this._endTime&&!!this._sampled}toJSON(){return this.getSpanJSON()}_getData(){const{data:t,_attributes:n}=this,r=Object.keys(t).length>0,i=Object.keys(n).length>0;if(!(!r&&!i))return r&&i?{...t,...n}:r?t:n}}let Kde=class extends sD{constructor(t,n){super(t),this._contexts={},this._hub=n||vf(),this._name=t.name||"",this._metadata={...t.metadata},this._trimEnd=t.trimEnd,this.transaction=this;const r=this._metadata.dynamicSamplingContext;r&&(this._frozenDynamicSamplingContext={...r})}get name(){return this._name}set name(t){this.setName(t)}get metadata(){return{source:"custom",spanMetadata:{},...this._metadata,...this._attributes[Wb]&&{source:this._attributes[Wb]},...this._attributes[IS]&&{sampleRate:this._attributes[IS]}}}set metadata(t){this._metadata=t}setName(t,n="custom"){this._name=t,this.setAttribute(Wb,n)}updateName(t){return this._name=t,this}initSpanRecorder(t=1e3){this.spanRecorder||(this.spanRecorder=new Xde(t)),this.spanRecorder.add(this)}setContext(t,n){n===null?delete this._contexts[t]:this._contexts[t]=n}setMeasurement(t,n,r=""){this._measurements[t]={value:n,unit:r}}setMetadata(t){this._metadata={...this._metadata,...t}}end(t){const n=rD(t),r=this._finishTransaction(n);if(r)return this._hub.captureEvent(r)}toContext(){const t=super.toContext();return Jc({...t,name:this._name,trimEnd:this._trimEnd})}updateWithContext(t){return super.updateWithContext(t),this._name=t.name||"",this._trimEnd=t.trimEnd,this}getDynamicSamplingContext(){return VO(this)}setHub(t){this._hub=t}getProfileId(){if(this._contexts!==void 0&&this._contexts.profile!==void 0)return this._contexts.profile.profile_id}_finishTransaction(t){if(this._endTime!==void 0)return;this._name||(hr&&un.warn("Transaction has no name, falling back to ``."),this._name=""),super.end(t);const n=this._hub.getClient();if(n&&n.emit&&n.emit("finishTransaction",this),this._sampled!==!0){hr&&un.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),n&&n.recordDroppedEvent("sample_rate","transaction");return}const r=this.spanRecorder?this.spanRecorder.spans.filter(d=>d!==this&&wu(d).timestamp):[];if(this._trimEnd&&r.length>0){const d=r.map(f=>wu(f).timestamp).filter(Boolean);this._endTime=d.reduce((f,p)=>f>p?f:p)}const{scope:i,isolationScope:s}=iMe(this),{metadata:a}=this,{source:o}=a,l={contexts:{...this._contexts,trace:sH(this)},spans:r,start_timestamp:this._startTime,tags:this.tags,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{...a,capturedSpanScope:i,capturedSpanIsolationScope:s,...Jc({dynamicSamplingContext:VO(this)})},_metrics_summary:void 0,...o&&{transaction_info:{source:o}}};return Object.keys(this._measurements).length>0&&(hr&&un.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),l.measurements=this._measurements),hr&&un.log(`[Tracing] Finishing ${this.op} transaction: ${this._name}.`),l}};const z3={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},aMe="finishReason",qv=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"];class oMe extends Xde{constructor(t,n,r,i){super(i),this._pushActivity=t,this._popActivity=n,this.transactionSpanId=r}add(t){if(t.spanContext().spanId!==this.transactionSpanId){const n=t.end;t.end=(...r)=>(this._popActivity(t.spanContext().spanId),n.apply(t,r)),wu(t).timestamp===void 0&&this._pushActivity(t.spanContext().spanId)}super.add(t)}}class lMe extends Kde{constructor(t,n,r=z3.idleTimeout,i=z3.finalTimeout,s=z3.heartbeatInterval,a=!1,o=!1){super(t,n),this._idleHub=n,this._idleTimeout=r,this._finalTimeout=i,this._heartbeatInterval=s,this._onScope=a,this.activities={},this._heartbeatCounter=0,this._finished=!1,this._idleTimeoutCanceledPermanently=!1,this._beforeFinishCallbacks=[],this._finishReason=qv[4],this._autoFinishAllowed=!o,a&&(hr&&un.log(`Setting idle transaction on scope. Span ID: ${this.spanContext().spanId}`),n.getScope().setSpan(this)),o||this._restartIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason=qv[3],this.end())},this._finalTimeout)}end(t){const n=rD(t);if(this._finished=!0,this.activities={},this.op==="ui.action.click"&&this.setAttribute(aMe,this._finishReason),this.spanRecorder){hr&&un.log("[Tracing] finishing IdleTransaction",new Date(n*1e3).toISOString(),this.op);for(const r of this._beforeFinishCallbacks)r(this,n);this.spanRecorder.spans=this.spanRecorder.spans.filter(r=>{if(r.spanContext().spanId===this.spanContext().spanId)return!0;wu(r).timestamp||(r.setStatus("cancelled"),r.end(n),hr&&un.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(r,void 0,2)));const{start_timestamp:i,timestamp:s}=wu(r),a=i&&i{this._finished||this._pushActivity(i)},r=i=>{this._finished||this._popActivity(i)};this.spanRecorder=new oMe(n,r,this.spanContext().spanId,t),hr&&un.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(t,{restartOnChildSpanChange:n}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=n===!1,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,Object.keys(this.activities).length===0&&this._idleTimeoutCanceledPermanently&&(this._finishReason=qv[5],this.end(t)))}setFinishReason(t){this._finishReason=t}sendAutoFinishSignal(){this._autoFinishAllowed||(hr&&un.log("[Tracing] Received finish signal for idle transaction."),this._restartIdleTimeout(),this._autoFinishAllowed=!0)}_restartIdleTimeout(t){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{!this._finished&&Object.keys(this.activities).length===0&&(this._finishReason=qv[1],this.end(t))},this._idleTimeout)}_pushActivity(t){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),hr&&un.log(`[Tracing] pushActivity: ${t}`),this.activities[t]=!0,hr&&un.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&(hr&&un.log(`[Tracing] popActivity ${t}`),delete this.activities[t],hr&&un.log("[Tracing] new activities count",Object.keys(this.activities).length)),Object.keys(this.activities).length===0){const n=I_();this._idleTimeoutCanceledPermanently?this._autoFinishAllowed&&(this._finishReason=qv[5],this.end(n)):this._restartIdleTimeout(n+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?this._autoFinishAllowed&&(hr&&un.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason=qv[0],this.end()):this._pingHeartbeat()}_pingHeartbeat(){hr&&un.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},this._heartbeatInterval)}}function Jde(e,t,n){if(!CE(t))return e.sampled=!1,e;if(e.sampled!==void 0)return e.setAttribute(IS,Number(e.sampled)),e;let r;return typeof t.tracesSampler=="function"?(r=t.tracesSampler(n),e.setAttribute(IS,Number(r))):n.parentSampled!==void 0?r=n.parentSampled:typeof t.tracesSampleRate<"u"?(r=t.tracesSampleRate,e.setAttribute(IS,Number(r))):(r=1,e.setAttribute(IS,r)),efe(r)?r?(e.sampled=Math.random()1?(hr&&un.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function uMe(){const t=this.getScope().getSpan();return t?{"sentry-trace":nD(t)}:{}}function cMe(e,t){const n=this.getClient(),r=n&&n.getOptions()||{},i=r.instrumenter||"sentry",s=e.instrumenter||"sentry";i!==s&&(hr&&un.error(`A transaction was started with instrumenter=\`${s}\`, but the SDK is configured with the \`${i}\` instrumenter. -The transaction will not be sampled. Please use the ${i} instrumentation to start transactions.`),e.sampled=!1);let a=new Kde(e,this);return a=Jde(a,r,{name:e.name,parentSampled:e.parentSampled,transactionContext:e,attributes:{...e.data,...e.attributes},...t}),a.isRecording()&&a.initSpanRecorder(r._experiments&&r._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",a),a}function iee(e,t,n,r,i,s,a,o=!1){const l=e.getClient(),c=l&&l.getOptions()||{};let d=new lMe(t,e,n,r,a,i,o);return d=Jde(d,c,{name:t.name,parentSampled:t.parentSampled,transactionContext:t,attributes:{...t.data,...t.attributes},...s}),d.isRecording()&&d.initSpanRecorder(c._experiments&&c._experiments.maxSpans),l&&l.emit&&l.emit("startTransaction",d),d}function dMe(){const e=D_();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=cMe),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=uMe),K8e())}function fMe(e,t,n){const r=dy();r&&r.setMeasurement(e,t,n)}function hMe(e,t){return t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function pMe(e,t,n,r){const i=Fde(n),s={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:AE(t)}},a="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return Iy(s,[a])}function mMe(e,t,n,r){const i=Fde(n),s=e.type&&e.type!=="replay_event"?e.type:"event";hMe(e,n&&n.sdk);const a=E8e(e,i,r,t);return delete e.sdkProcessingMetadata,Iy(a,[[{type:s},e]])}const gMe="7";function bMe(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function yMe(e){return`${bMe(e)}${e.projectId}/envelope/`}function vMe(e,t){return ILe({sentry_key:e.publicKey,sentry_version:gMe,...t&&{sentry_client:`${t.name}/${t.version}`}})}function SMe(e,t={}){const n=typeof t=="string"?t:t.tunnel,r=typeof t=="string"||!t._metadata?void 0:t._metadata.sdk;return n||`${yMe(e)}?${vMe(e,r)}`}const see=[];function OMe(e){const t={};return e.forEach(n=>{const{name:r}=n,i=t[r];i&&!i.isDefaultInstance&&n.isDefaultInstance||(t[r]=n)}),Object.keys(t).map(n=>t[n])}function EMe(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(a=>{a.isDefaultInstance=!0});let r;Array.isArray(n)?r=[...t,...n]:typeof n=="function"?r=_de(n(t)):r=t;const i=OMe(r),s=xMe(i,a=>a.name==="Debug");if(s!==-1){const[a]=i.splice(s,1);i.push(a)}return i}function wMe(e,t){const n={};return t.forEach(r=>{r&&tfe(e,r,n)}),n}function aee(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function tfe(e,t,n){if(n[t.name]){hr&&un.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,see.indexOf(t.name)===-1&&(t.setupOnce(C8e,vf),see.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),e.on&&typeof t.preprocessEvent=="function"){const r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(i,s)=>r(i,s,e))}if(e.addEventProcessor&&typeof t.processEvent=="function"){const r=t.processEvent.bind(t),i=Object.assign((s,a)=>r(s,a,e),{id:t.name});e.addEventProcessor(i)}hr&&un.log(`Integration installed: ${t.name}`)}function xMe(e,t){for(let n=0;n0?`|#${r.map(([s,a])=>`${s}:${a}`).join(",")}`:"";t+=`${n.name}@${n.unit}:${n.metric}|${n.metricType}${i}|T${n.timestamp} -`}return t}function kMe(e,t,n,r){const i={sent_at:new Date().toISOString()};n&&n.sdk&&(i.sdk={name:n.sdk.name,version:n.sdk.version}),r&&t&&(i.dsn=AE(t));const s=_Me(e);return Iy(i,[s])}function _Me(e){const t=TMe(e);return[{type:"statsd",length:t.length},t]}const oee="Not capturing exception because it's already been captured.";class AMe{constructor(t){if(this._options=t,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=RLe(t.dsn):hr&&un.warn("No DSN provided, client will not send events."),this._dsn){const n=SMe(this._dsn,t);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:n})}}captureException(t,n,r){if(HJ(t)){hr&&un.log(oee);return}let i=n&&n.event_id;return this._process(this.eventFromException(t,n).then(s=>this._captureEvent(s,n,r)).then(s=>{i=s})),i}captureMessage(t,n,r,i){let s=r&&r.event_id;const a=Xz(t)?t:String(t),o=Kz(t)?this.eventFromMessage(a,n,r):this.eventFromException(t,r);return this._process(o.then(l=>this._captureEvent(l,r,i)).then(l=>{s=l})),s}captureEvent(t,n,r){if(n&&n.originalException&&HJ(n.originalException)){hr&&un.log(oee);return}let i=n&&n.event_id;const a=(t.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(t,n,a||r).then(o=>{i=o})),i}captureSession(t){typeof t.release!="string"?hr&&un.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),uy(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const n=this._transport;return n?(this.metricsAggregator&&this.metricsAggregator.flush(),this._isClientDoneProcessing(t).then(r=>n.flush(t).then(i=>r&&i))):QO(!0)}close(t){return this.flush(t).then(n=>(this.getOptions().enabled=!1,this.metricsAggregator&&this.metricsAggregator.close(),n))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}setupIntegrations(t){(t&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&this._setupIntegrations()}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationById(t){return this.getIntegrationByName(t)}getIntegrationByName(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch{return hr&&un.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}addIntegration(t){const n=this._integrations[t.name];tfe(this,t,this._integrations),n||aee(this,[t])}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);let r=mMe(t,this._dsn,this._options._metadata,this._options.tunnel);for(const s of n.attachments||[])r=b8e(r,S8e(s,this._options.transportOptions&&this._options.transportOptions.textEncoder));const i=this._sendEnvelope(r);i&&i.then(s=>this.emit("afterSendEvent",t,s),null)}sendSession(t){const n=pMe(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(n)}recordDroppedEvent(t,n,r){if(this._options.sendClientReports){const i=typeof r=="number"?r:1,s=`${t}:${n}`;hr&&un.log(`Recording outcome: "${s}"${i>1?` (${i} times)`:""}`),this._outcomes[s]=(this._outcomes[s]||0)+i}}captureAggregateMetrics(t){hr&&un.log(`Flushing aggregated metrics, number of metrics: ${t.length}`);const n=kMe(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(n)}on(t,n){this._hooks[t]||(this._hooks[t]=[]),this._hooks[t].push(n)}emit(t,...n){this._hooks[t]&&this._hooks[t].forEach(r=>r(...n))}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=wMe(this,t),aee(this,t),this._integrationsInitialized=!0}_updateSessionFromEvent(t,n){let r=!1,i=!1;const s=n.exception&&n.exception.values;if(s){i=!0;for(const l of s){const c=l.mechanism;if(c&&c.handled===!1){r=!0;break}}}const a=t.status==="ok";(a&&t.errors===0||a&&r)&&(uy(t,{...r&&{status:"crashed"},errors:t.errors||Number(i||r)}),this.captureSession(t))}_isClientDoneProcessing(t){return new qc(n=>{let r=0;const i=1,s=setInterval(()=>{this._numProcessing==0?(clearInterval(s),n(!0)):(r+=i,t&&r>=t&&(clearInterval(s),n(!1)))},i)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,n,r,i=Dy()){const s=this.getOptions(),a=Object.keys(this._integrations);return!n.integrations&&a.length>0&&(n.integrations=a),this.emit("preprocessEvent",t,n),N8e(s,t,n,r,this,i).then(o=>{if(o===null)return o;const l={...i.getPropagationContext(),...r?r.getPropagationContext():void 0};if(!(o.contexts&&o.contexts.trace)&&l){const{traceId:d,spanId:f,parentSpanId:p,dsc:g}=l;o.contexts={trace:{trace_id:d,span_id:f,parent_span_id:p},...o.contexts};const b=g||iD(d,this,r);o.sdkProcessingMetadata={dynamicSamplingContext:b,...o.sdkProcessingMetadata}}return o})}_captureEvent(t,n={},r){return this._processEvent(t,n,r).then(i=>i.event_id,i=>{if(hr){const s=i;s.logLevel==="log"?un.log(s.message):un.warn(s)}})}_processEvent(t,n,r){const i=this.getOptions(),{sampleRate:s}=i,a=rfe(t),o=nfe(t),l=t.type||"error",c=`before send for type \`${l}\``;if(o&&typeof s=="number"&&Math.random()>s)return this.recordDroppedEvent("sample_rate","error",t),nH(new lp(`Discarding event because it's not included in the random sample (sampling rate = ${s})`,"log"));const d=l==="replay_event"?"replay":l,p=(t.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(t,n,r,p).then(g=>{if(g===null)throw this.recordDroppedEvent("event_processor",d,t),new lp("An event processor returned `null`, will not send event.","log");if(n.data&&n.data.__sentry__===!0)return g;const w=RMe(i,g,n);return CMe(w,c)}).then(g=>{if(g===null){if(this.recordDroppedEvent("before_send",d,t),a){const T=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",T)}throw new lp(`${c} returned \`null\`, will not send event.`,"log")}const b=r&&r.getSession();if(!a&&b&&this._updateSessionFromEvent(b,g),a){const x=g.sdkProcessingMetadata&&g.sdkProcessingMetadata.spanCountBeforeProcessing||0,T=g.spans?g.spans.length:0,_=x-T;_>0&&this.recordDroppedEvent("before_send","span",_)}const w=g.transaction_info;if(a&&w&&g.transaction!==t.transaction){const x="custom";g.transaction_info={...w,source:x}}return this.sendEvent(g,n),g}).then(null,g=>{throw g instanceof lp?g:(this.captureException(g,{data:{__sentry__:!0},originalException:g}),new lp(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. -Reason: ${g}`))})}_process(t){this._numProcessing++,t.then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n))}_sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)return this._transport.send(t).then(null,n=>{hr&&un.error("Error while sending event:",n)});hr&&un.error("Transport disabled")}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.keys(t).map(n=>{const[r,i]=n.split(":");return{reason:r,category:i,quantity:t[n]}})}}function CMe(e,t){const n=`${t} must return \`null\` or a valid event.`;if(J6(e))return e.then(r=>{if(!jO(r)&&r!==null)throw new lp(n);return r},r=>{throw new lp(`${t} rejected with ${r}`)});if(!jO(e)&&e!==null)throw new lp(n);return e}function RMe(e,t,n){const{beforeSend:r,beforeSendTransaction:i}=e;if(nfe(t)&&r)return r(t,n);if(rfe(t)&&i){if(t.spans){const s=t.spans.length;t.sdkProcessingMetadata={...t.sdkProcessingMetadata,spanCountBeforeProcessing:s}}return i(t,n)}return t}function nfe(e){return e.type===void 0}function rfe(e){return e.type==="transaction"}function IMe(e,t){t.debug===!0&&(hr?un.enable():eD(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Cp().update(t.initialScope);const r=new e(t);DMe(r),NMe(r)}function DMe(e){const n=vf().getStackTop();n.client=e,n.scope.setClient(e)}function NMe(e){e.init?e.init():e.setupIntegrations&&e.setupIntegrations()}const PMe=30;function ife(e,t,n=a8e(e.bufferSize||PMe)){let r={};const i=a=>n.drain(a);function s(a){const o=[];if(VJ(a,(f,p)=>{const g=GJ(p);if(_8e(r,g)){const b=lee(f,p);e.recordDroppedEvent("ratelimit_backoff",g,b)}else o.push(f)}),o.length===0)return QO();const l=Iy(a[0],o),c=f=>{VJ(l,(p,g)=>{const b=lee(p,g);e.recordDroppedEvent(f,GJ(g),b)})},d=()=>t({body:y8e(l,e.textEncoder)}).then(f=>(f.statusCode!==void 0&&(f.statusCode<200||f.statusCode>=300)&&hr&&un.warn(`Sentry responded with status code ${f.statusCode} to sent event.`),r=A8e(r,f),f),f=>{throw c("network_error"),f});return n.add(d).then(f=>f,f=>{if(f instanceof lp)return hr&&un.error("Skipped sending event because buffer is full."),c("queue_overflow"),QO();throw f})}return s.__sentry__baseTransport__=!0,{send:s,flush:i}}function lee(e,t){if(!(t!=="event"&&t!=="transaction"))return Array.isArray(e)?e[1]:void 0}function LMe(e,t){const n={sent_at:new Date().toISOString()};t&&(n.dsn=AE(t));const r=e.map(MMe);return Iy(n,r)}function MMe(e){return[{type:"span"},e]}function sfe(e,t,n=[t],r="npm"){const i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map(s=>({name:`${r}:@sentry/${s}`,version:UM})),version:UM}),e._metadata=i}const FMe=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/],$Me=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],afe="InboundFilters",BMe=(e={})=>({name:afe,setupOnce(){},processEvent(t,n,r){const i=r.getOptions(),s=UMe(e,i);return zMe(t,s)?null:t}}),ofe=BMe;w1(afe,ofe);function UMe(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:FMe],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[],...e.disableTransactionDefaults?[]:$Me],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function zMe(e,t){return t.ignoreInternal&&VMe(e)?(hr&&un.warn(`Event dropped due to being internal Sentry Error. -Event: ${wg(e)}`),!0):HMe(e,t.ignoreErrors)?(hr&&un.warn(`Event dropped due to being matched by \`ignoreErrors\` option. -Event: ${wg(e)}`),!0):qMe(e,t.ignoreTransactions)?(hr&&un.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. -Event: ${wg(e)}`),!0):jMe(e,t.denyUrls)?(hr&&un.warn(`Event dropped due to being matched by \`denyUrls\` option. +`):un.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")),r}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const n=this.getStackTop().scope,r=n.getSession();r&&Ude(r),this._sendSessionUpdate(),n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:i,environment:s=tD}=r&&r.getOptions()||{},{userAgent:a}=Ji.navigator||{},o=Bde({release:i,environment:s,user:n.getUser(),...a&&{userAgent:a},...t}),l=n.getSession&&n.getSession();return l&&l.status==="ok"&&uy(l,{status:"exited"}),this.endSession(),n.setSession(o),o}shouldSendDefaultPii(){const t=this.getClient(),n=t&&t.getOptions();return!!(n&&n.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:n}=this.getStackTop(),r=t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}_callExtensionMethod(t,...n){const i=D_().__SENTRY__;if(i&&i.extensions&&typeof i.extensions[t]=="function")return i.extensions[t].apply(this,n);hr&&un.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function D_(){return Ji.__SENTRY__=Ji.__SENTRY__||{extensions:{},hub:void 0},Ji}function tee(e){const t=D_(),n=zM(t);return Gde(t,e),n}function vf(){const e=D_();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return X8e(e)}function Dy(){return vf().getIsolationScope()}function X8e(e=D_()){return(!K8e(e)||zM(e).isOlderThan(Qde))&&Gde(e,new Vde),zM(e)}function K8e(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function zM(e){return Sde("hub",()=>new Vde,e)}function Gde(e,t){if(!e)return!1;const n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function dy(e){return vf().getScope().getTransaction()}let nee=!1;function J8e(){nee||(nee=!0,Ide(HM),Dde(HM))}function HM(){const e=dy();if(e){const t="internal_error";hr&&un.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}HM.tag="sentry_tracingErrorCallback";var ree;(function(e){const t="ok";e.Ok=t;const n="deadline_exceeded";e.DeadlineExceeded=n;const r="unauthenticated";e.Unauthenticated=r;const i="permission_denied";e.PermissionDenied=i;const s="not_found";e.NotFound=s;const a="resource_exhausted";e.ResourceExhausted=a;const o="invalid_argument";e.InvalidArgument=o;const l="unimplemented";e.Unimplemented=l;const c="unavailable";e.Unavailable=c;const d="internal_error";e.InternalError=d;const f="unknown_error";e.UnknownError=f;const p="cancelled";e.Cancelled=p;const g="already_exists";e.AlreadyExists=g;const b="failed_precondition";e.FailedPrecondition=b;const w="aborted";e.Aborted=w;const x="out_of_range";e.OutOfRange=x;const T="data_loss";e.DataLoss=T})(ree||(ree={}));function eMe(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}function oH(e,t){e.setTag("http.status_code",String(t)),e.setData("http.response.status_code",t);const n=eMe(t);n!=="unknown_error"&&e.setStatus(n)}function CE(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=No(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}function Yde(e){if(!CE())return;const t=rMe(e),n=vf(),r=e.scope?e.scope.getSpan():tMe();if(e.onlyIfParent&&!r)return;const a=(e.scope||Cp()).clone();return nMe(n,{parentSpan:r,spanContext:t,forceTransaction:e.forceTransaction,scope:a})}function tMe(){return Cp().getSpan()}function nMe(e,{parentSpan:t,spanContext:n,forceTransaction:r,scope:i}){if(!CE())return;const s=Dy();let a;if(t&&!r)a=t.startChild(n);else if(t){const o=VO(t),{traceId:l,spanId:c}=t.spanContext(),d=aH(t);a=e.startTransaction({traceId:l,parentSpanId:c,parentSampled:d,...n,metadata:{dynamicSamplingContext:o,...n.metadata}})}else{const{traceId:o,dsc:l,parentSpanId:c,sampled:d}={...s.getPropagationContext(),...i.getPropagationContext()};a=e.startTransaction({traceId:o,parentSpanId:c,parentSampled:d,...n,metadata:{dynamicSamplingContext:l,...n.metadata}})}return i.setSpan(a),iMe(a,i,s),a}function rMe(e){if(e.startTime){const t={...e};return t.startTimestamp=rD(e.startTime),delete t.startTime,t}return e}const Zde="_sentryScope",Xde="_sentryIsolationScope";function iMe(e,t,n){e&&(ly(e,Xde,n),ly(e,Zde,t))}function sMe(e){return{scope:e[Zde],isolationScope:e[Xde]}}const Wb="sentry.source",IS="sentry.sample_rate",Hw="sentry.op",wb="sentry.origin",aMe="profile_id";class Kde{constructor(t=1e3){this._maxlen=t,this.spans=[]}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class sD{constructor(t={}){this._traceId=t.traceId||Za(),this._spanId=t.spanId||Za().substring(16),this._startTime=t.startTimestamp||I_(),this.tags=t.tags?{...t.tags}:{},this.data=t.data?{...t.data}:{},this.instrumenter=t.instrumenter||"sentry",this._attributes={},this.setAttributes({[wb]:t.origin||"manual",[Hw]:t.op,...t.attributes}),this._name=t.name||t.description,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.status&&(this._status=t.status),t.endTimestamp&&(this._endTime=t.endTimestamp),t.exclusiveTime!==void 0&&(this._exclusiveTime=t.exclusiveTime),this._measurements=t.measurements?{...t.measurements}:{}}get name(){return this._name||""}set name(t){this.updateName(t)}get description(){return this._name}set description(t){this._name=t}get traceId(){return this._traceId}set traceId(t){this._traceId=t}get spanId(){return this._spanId}set spanId(t){this._spanId=t}set parentSpanId(t){this._parentSpanId=t}get parentSpanId(){return this._parentSpanId}get sampled(){return this._sampled}set sampled(t){this._sampled=t}get attributes(){return this._attributes}set attributes(t){this._attributes=t}get startTimestamp(){return this._startTime}set startTimestamp(t){this._startTime=t}get endTimestamp(){return this._endTime}set endTimestamp(t){this._endTime=t}get status(){return this._status}set status(t){this._status=t}get op(){return this._attributes[Hw]}set op(t){this.setAttribute(Hw,t)}get origin(){return this._attributes[wb]}set origin(t){this.setAttribute(wb,t)}spanContext(){const{_spanId:t,_traceId:n,_sampled:r}=this;return{spanId:t,traceId:n,traceFlags:r?zde:D8e}}startChild(t){const n=new sD({...t,parentSpanId:this._spanId,sampled:this._sampled,traceId:this._traceId});n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n);const r=d5(this);if(n.transaction=r,hr&&r){const i=t&&t.op||"< unknown op >",s=wu(n).description||"< unknown name >",a=r.spanContext().spanId,o=`[Tracing] Starting '${i}' span on transaction '${s}' (${a}).`;un.log(o),this._logMessage=o}return n}setTag(t,n){return this.tags={...this.tags,[t]:n},this}setData(t,n){return this.data={...this.data,[t]:n},this}setAttribute(t,n){n===void 0?delete this._attributes[t]:this._attributes[t]=n}setAttributes(t){Object.keys(t).forEach(n=>this.setAttribute(n,t[n]))}setStatus(t){return this._status=t,this}setHttpStatus(t){return oH(this,t),this}setName(t){this.updateName(t)}updateName(t){return this._name=t,this}isSuccess(){return this._status==="ok"}finish(t){return this.end(t)}end(t){if(this._endTime)return;const n=d5(this);if(hr&&n&&n.spanContext().spanId!==this._spanId){const r=this._logMessage;r&&un.log(r.replace("Starting","Finishing"))}this._endTime=rD(t)}toTraceparent(){return nD(this)}toContext(){return ed({data:this._getData(),description:this._name,endTimestamp:this._endTime,op:this.op,parentSpanId:this._parentSpanId,sampled:this._sampled,spanId:this._spanId,startTimestamp:this._startTime,status:this._status,tags:this.tags,traceId:this._traceId})}updateWithContext(t){return this.data=t.data||{},this._name=t.name||t.description,this._endTime=t.endTimestamp,this.op=t.op,this._parentSpanId=t.parentSpanId,this._sampled=t.sampled,this._spanId=t.spanId||this._spanId,this._startTime=t.startTimestamp||this._startTime,this._status=t.status,this.tags=t.tags||{},this._traceId=t.traceId||this._traceId,this}getTraceContext(){return sH(this)}getSpanJSON(){return ed({data:this._getData(),description:this._name,op:this._attributes[Hw],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:this._status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[wb],_metrics_summary:void 0,profile_id:this._attributes[aMe],exclusive_time:this._exclusiveTime,measurements:Object.keys(this._measurements).length>0?this._measurements:void 0})}isRecording(){return!this._endTime&&!!this._sampled}toJSON(){return this.getSpanJSON()}_getData(){const{data:t,_attributes:n}=this,r=Object.keys(t).length>0,i=Object.keys(n).length>0;if(!(!r&&!i))return r&&i?{...t,...n}:r?t:n}}let Jde=class extends sD{constructor(t,n){super(t),this._contexts={},this._hub=n||vf(),this._name=t.name||"",this._metadata={...t.metadata},this._trimEnd=t.trimEnd,this.transaction=this;const r=this._metadata.dynamicSamplingContext;r&&(this._frozenDynamicSamplingContext={...r})}get name(){return this._name}set name(t){this.setName(t)}get metadata(){return{source:"custom",spanMetadata:{},...this._metadata,...this._attributes[Wb]&&{source:this._attributes[Wb]},...this._attributes[IS]&&{sampleRate:this._attributes[IS]}}}set metadata(t){this._metadata=t}setName(t,n="custom"){this._name=t,this.setAttribute(Wb,n)}updateName(t){return this._name=t,this}initSpanRecorder(t=1e3){this.spanRecorder||(this.spanRecorder=new Kde(t)),this.spanRecorder.add(this)}setContext(t,n){n===null?delete this._contexts[t]:this._contexts[t]=n}setMeasurement(t,n,r=""){this._measurements[t]={value:n,unit:r}}setMetadata(t){this._metadata={...this._metadata,...t}}end(t){const n=rD(t),r=this._finishTransaction(n);if(r)return this._hub.captureEvent(r)}toContext(){const t=super.toContext();return ed({...t,name:this._name,trimEnd:this._trimEnd})}updateWithContext(t){return super.updateWithContext(t),this._name=t.name||"",this._trimEnd=t.trimEnd,this}getDynamicSamplingContext(){return VO(this)}setHub(t){this._hub=t}getProfileId(){if(this._contexts!==void 0&&this._contexts.profile!==void 0)return this._contexts.profile.profile_id}_finishTransaction(t){if(this._endTime!==void 0)return;this._name||(hr&&un.warn("Transaction has no name, falling back to ``."),this._name=""),super.end(t);const n=this._hub.getClient();if(n&&n.emit&&n.emit("finishTransaction",this),this._sampled!==!0){hr&&un.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),n&&n.recordDroppedEvent("sample_rate","transaction");return}const r=this.spanRecorder?this.spanRecorder.spans.filter(d=>d!==this&&wu(d).timestamp):[];if(this._trimEnd&&r.length>0){const d=r.map(f=>wu(f).timestamp).filter(Boolean);this._endTime=d.reduce((f,p)=>f>p?f:p)}const{scope:i,isolationScope:s}=sMe(this),{metadata:a}=this,{source:o}=a,l={contexts:{...this._contexts,trace:sH(this)},spans:r,start_timestamp:this._startTime,tags:this.tags,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{...a,capturedSpanScope:i,capturedSpanIsolationScope:s,...ed({dynamicSamplingContext:VO(this)})},_metrics_summary:void 0,...o&&{transaction_info:{source:o}}};return Object.keys(this._measurements).length>0&&(hr&&un.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),l.measurements=this._measurements),hr&&un.log(`[Tracing] Finishing ${this.op} transaction: ${this._name}.`),l}};const z3={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},oMe="finishReason",qv=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"];class lMe extends Kde{constructor(t,n,r,i){super(i),this._pushActivity=t,this._popActivity=n,this.transactionSpanId=r}add(t){if(t.spanContext().spanId!==this.transactionSpanId){const n=t.end;t.end=(...r)=>(this._popActivity(t.spanContext().spanId),n.apply(t,r)),wu(t).timestamp===void 0&&this._pushActivity(t.spanContext().spanId)}super.add(t)}}class uMe extends Jde{constructor(t,n,r=z3.idleTimeout,i=z3.finalTimeout,s=z3.heartbeatInterval,a=!1,o=!1){super(t,n),this._idleHub=n,this._idleTimeout=r,this._finalTimeout=i,this._heartbeatInterval=s,this._onScope=a,this.activities={},this._heartbeatCounter=0,this._finished=!1,this._idleTimeoutCanceledPermanently=!1,this._beforeFinishCallbacks=[],this._finishReason=qv[4],this._autoFinishAllowed=!o,a&&(hr&&un.log(`Setting idle transaction on scope. Span ID: ${this.spanContext().spanId}`),n.getScope().setSpan(this)),o||this._restartIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason=qv[3],this.end())},this._finalTimeout)}end(t){const n=rD(t);if(this._finished=!0,this.activities={},this.op==="ui.action.click"&&this.setAttribute(oMe,this._finishReason),this.spanRecorder){hr&&un.log("[Tracing] finishing IdleTransaction",new Date(n*1e3).toISOString(),this.op);for(const r of this._beforeFinishCallbacks)r(this,n);this.spanRecorder.spans=this.spanRecorder.spans.filter(r=>{if(r.spanContext().spanId===this.spanContext().spanId)return!0;wu(r).timestamp||(r.setStatus("cancelled"),r.end(n),hr&&un.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(r,void 0,2)));const{start_timestamp:i,timestamp:s}=wu(r),a=i&&i{this._finished||this._pushActivity(i)},r=i=>{this._finished||this._popActivity(i)};this.spanRecorder=new lMe(n,r,this.spanContext().spanId,t),hr&&un.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(t,{restartOnChildSpanChange:n}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=n===!1,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,Object.keys(this.activities).length===0&&this._idleTimeoutCanceledPermanently&&(this._finishReason=qv[5],this.end(t)))}setFinishReason(t){this._finishReason=t}sendAutoFinishSignal(){this._autoFinishAllowed||(hr&&un.log("[Tracing] Received finish signal for idle transaction."),this._restartIdleTimeout(),this._autoFinishAllowed=!0)}_restartIdleTimeout(t){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{!this._finished&&Object.keys(this.activities).length===0&&(this._finishReason=qv[1],this.end(t))},this._idleTimeout)}_pushActivity(t){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),hr&&un.log(`[Tracing] pushActivity: ${t}`),this.activities[t]=!0,hr&&un.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&(hr&&un.log(`[Tracing] popActivity ${t}`),delete this.activities[t],hr&&un.log("[Tracing] new activities count",Object.keys(this.activities).length)),Object.keys(this.activities).length===0){const n=I_();this._idleTimeoutCanceledPermanently?this._autoFinishAllowed&&(this._finishReason=qv[5],this.end(n)):this._restartIdleTimeout(n+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?this._autoFinishAllowed&&(hr&&un.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason=qv[0],this.end()):this._pingHeartbeat()}_pingHeartbeat(){hr&&un.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},this._heartbeatInterval)}}function efe(e,t,n){if(!CE(t))return e.sampled=!1,e;if(e.sampled!==void 0)return e.setAttribute(IS,Number(e.sampled)),e;let r;return typeof t.tracesSampler=="function"?(r=t.tracesSampler(n),e.setAttribute(IS,Number(r))):n.parentSampled!==void 0?r=n.parentSampled:typeof t.tracesSampleRate<"u"?(r=t.tracesSampleRate,e.setAttribute(IS,Number(r))):(r=1,e.setAttribute(IS,r)),tfe(r)?r?(e.sampled=Math.random()1?(hr&&un.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function cMe(){const t=this.getScope().getSpan();return t?{"sentry-trace":nD(t)}:{}}function dMe(e,t){const n=this.getClient(),r=n&&n.getOptions()||{},i=r.instrumenter||"sentry",s=e.instrumenter||"sentry";i!==s&&(hr&&un.error(`A transaction was started with instrumenter=\`${s}\`, but the SDK is configured with the \`${i}\` instrumenter. +The transaction will not be sampled. Please use the ${i} instrumentation to start transactions.`),e.sampled=!1);let a=new Jde(e,this);return a=efe(a,r,{name:e.name,parentSampled:e.parentSampled,transactionContext:e,attributes:{...e.data,...e.attributes},...t}),a.isRecording()&&a.initSpanRecorder(r._experiments&&r._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",a),a}function iee(e,t,n,r,i,s,a,o=!1){const l=e.getClient(),c=l&&l.getOptions()||{};let d=new uMe(t,e,n,r,a,i,o);return d=efe(d,c,{name:t.name,parentSampled:t.parentSampled,transactionContext:t,attributes:{...t.data,...t.attributes},...s}),d.isRecording()&&d.initSpanRecorder(c._experiments&&c._experiments.maxSpans),l&&l.emit&&l.emit("startTransaction",d),d}function fMe(){const e=D_();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=dMe),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=cMe),J8e())}function hMe(e,t,n){const r=dy();r&&r.setMeasurement(e,t,n)}function pMe(e,t){return t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function mMe(e,t,n,r){const i=$de(n),s={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:AE(t)}},a="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return Iy(s,[a])}function gMe(e,t,n,r){const i=$de(n),s=e.type&&e.type!=="replay_event"?e.type:"event";pMe(e,n&&n.sdk);const a=w8e(e,i,r,t);return delete e.sdkProcessingMetadata,Iy(a,[[{type:s},e]])}const bMe="7";function yMe(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function vMe(e){return`${yMe(e)}${e.projectId}/envelope/`}function SMe(e,t){return DLe({sentry_key:e.publicKey,sentry_version:bMe,...t&&{sentry_client:`${t.name}/${t.version}`}})}function OMe(e,t={}){const n=typeof t=="string"?t:t.tunnel,r=typeof t=="string"||!t._metadata?void 0:t._metadata.sdk;return n||`${vMe(e)}?${SMe(e,r)}`}const see=[];function EMe(e){const t={};return e.forEach(n=>{const{name:r}=n,i=t[r];i&&!i.isDefaultInstance&&n.isDefaultInstance||(t[r]=n)}),Object.keys(t).map(n=>t[n])}function wMe(e){const t=e.defaultIntegrations||[],n=e.integrations;t.forEach(a=>{a.isDefaultInstance=!0});let r;Array.isArray(n)?r=[...t,...n]:typeof n=="function"?r=Ade(n(t)):r=t;const i=EMe(r),s=TMe(i,a=>a.name==="Debug");if(s!==-1){const[a]=i.splice(s,1);i.push(a)}return i}function xMe(e,t){const n={};return t.forEach(r=>{r&&nfe(e,r,n)}),n}function aee(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function nfe(e,t,n){if(n[t.name]){hr&&un.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,see.indexOf(t.name)===-1&&(t.setupOnce(R8e,vf),see.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),e.on&&typeof t.preprocessEvent=="function"){const r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(i,s)=>r(i,s,e))}if(e.addEventProcessor&&typeof t.processEvent=="function"){const r=t.processEvent.bind(t),i=Object.assign((s,a)=>r(s,a,e),{id:t.name});e.addEventProcessor(i)}hr&&un.log(`Integration installed: ${t.name}`)}function TMe(e,t){for(let n=0;n0?`|#${r.map(([s,a])=>`${s}:${a}`).join(",")}`:"";t+=`${n.name}@${n.unit}:${n.metric}|${n.metricType}${i}|T${n.timestamp} +`}return t}function _Me(e,t,n,r){const i={sent_at:new Date().toISOString()};n&&n.sdk&&(i.sdk={name:n.sdk.name,version:n.sdk.version}),r&&t&&(i.dsn=AE(t));const s=AMe(e);return Iy(i,[s])}function AMe(e){const t=kMe(e);return[{type:"statsd",length:t.length},t]}const oee="Not capturing exception because it's already been captured.";class CMe{constructor(t){if(this._options=t,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=ILe(t.dsn):hr&&un.warn("No DSN provided, client will not send events."),this._dsn){const n=OMe(this._dsn,t);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:n})}}captureException(t,n,r){if(HJ(t)){hr&&un.log(oee);return}let i=n&&n.event_id;return this._process(this.eventFromException(t,n).then(s=>this._captureEvent(s,n,r)).then(s=>{i=s})),i}captureMessage(t,n,r,i){let s=r&&r.event_id;const a=Xz(t)?t:String(t),o=Kz(t)?this.eventFromMessage(a,n,r):this.eventFromException(t,r);return this._process(o.then(l=>this._captureEvent(l,r,i)).then(l=>{s=l})),s}captureEvent(t,n,r){if(n&&n.originalException&&HJ(n.originalException)){hr&&un.log(oee);return}let i=n&&n.event_id;const a=(t.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(t,n,a||r).then(o=>{i=o})),i}captureSession(t){typeof t.release!="string"?hr&&un.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),uy(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const n=this._transport;return n?(this.metricsAggregator&&this.metricsAggregator.flush(),this._isClientDoneProcessing(t).then(r=>n.flush(t).then(i=>r&&i))):QO(!0)}close(t){return this.flush(t).then(n=>(this.getOptions().enabled=!1,this.metricsAggregator&&this.metricsAggregator.close(),n))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}setupIntegrations(t){(t&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&this._setupIntegrations()}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationById(t){return this.getIntegrationByName(t)}getIntegrationByName(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch{return hr&&un.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}addIntegration(t){const n=this._integrations[t.name];nfe(this,t,this._integrations),n||aee(this,[t])}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);let r=gMe(t,this._dsn,this._options._metadata,this._options.tunnel);for(const s of n.attachments||[])r=y8e(r,O8e(s,this._options.transportOptions&&this._options.transportOptions.textEncoder));const i=this._sendEnvelope(r);i&&i.then(s=>this.emit("afterSendEvent",t,s),null)}sendSession(t){const n=mMe(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(n)}recordDroppedEvent(t,n,r){if(this._options.sendClientReports){const i=typeof r=="number"?r:1,s=`${t}:${n}`;hr&&un.log(`Recording outcome: "${s}"${i>1?` (${i} times)`:""}`),this._outcomes[s]=(this._outcomes[s]||0)+i}}captureAggregateMetrics(t){hr&&un.log(`Flushing aggregated metrics, number of metrics: ${t.length}`);const n=_Me(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(n)}on(t,n){this._hooks[t]||(this._hooks[t]=[]),this._hooks[t].push(n)}emit(t,...n){this._hooks[t]&&this._hooks[t].forEach(r=>r(...n))}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=xMe(this,t),aee(this,t),this._integrationsInitialized=!0}_updateSessionFromEvent(t,n){let r=!1,i=!1;const s=n.exception&&n.exception.values;if(s){i=!0;for(const l of s){const c=l.mechanism;if(c&&c.handled===!1){r=!0;break}}}const a=t.status==="ok";(a&&t.errors===0||a&&r)&&(uy(t,{...r&&{status:"crashed"},errors:t.errors||Number(i||r)}),this.captureSession(t))}_isClientDoneProcessing(t){return new jc(n=>{let r=0;const i=1,s=setInterval(()=>{this._numProcessing==0?(clearInterval(s),n(!0)):(r+=i,t&&r>=t&&(clearInterval(s),n(!1)))},i)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,n,r,i=Dy()){const s=this.getOptions(),a=Object.keys(this._integrations);return!n.integrations&&a.length>0&&(n.integrations=a),this.emit("preprocessEvent",t,n),P8e(s,t,n,r,this,i).then(o=>{if(o===null)return o;const l={...i.getPropagationContext(),...r?r.getPropagationContext():void 0};if(!(o.contexts&&o.contexts.trace)&&l){const{traceId:d,spanId:f,parentSpanId:p,dsc:g}=l;o.contexts={trace:{trace_id:d,span_id:f,parent_span_id:p},...o.contexts};const b=g||iD(d,this,r);o.sdkProcessingMetadata={dynamicSamplingContext:b,...o.sdkProcessingMetadata}}return o})}_captureEvent(t,n={},r){return this._processEvent(t,n,r).then(i=>i.event_id,i=>{if(hr){const s=i;s.logLevel==="log"?un.log(s.message):un.warn(s)}})}_processEvent(t,n,r){const i=this.getOptions(),{sampleRate:s}=i,a=ife(t),o=rfe(t),l=t.type||"error",c=`before send for type \`${l}\``;if(o&&typeof s=="number"&&Math.random()>s)return this.recordDroppedEvent("sample_rate","error",t),nH(new lp(`Discarding event because it's not included in the random sample (sampling rate = ${s})`,"log"));const d=l==="replay_event"?"replay":l,p=(t.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(t,n,r,p).then(g=>{if(g===null)throw this.recordDroppedEvent("event_processor",d,t),new lp("An event processor returned `null`, will not send event.","log");if(n.data&&n.data.__sentry__===!0)return g;const w=IMe(i,g,n);return RMe(w,c)}).then(g=>{if(g===null){if(this.recordDroppedEvent("before_send",d,t),a){const T=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",T)}throw new lp(`${c} returned \`null\`, will not send event.`,"log")}const b=r&&r.getSession();if(!a&&b&&this._updateSessionFromEvent(b,g),a){const x=g.sdkProcessingMetadata&&g.sdkProcessingMetadata.spanCountBeforeProcessing||0,T=g.spans?g.spans.length:0,_=x-T;_>0&&this.recordDroppedEvent("before_send","span",_)}const w=g.transaction_info;if(a&&w&&g.transaction!==t.transaction){const x="custom";g.transaction_info={...w,source:x}}return this.sendEvent(g,n),g}).then(null,g=>{throw g instanceof lp?g:(this.captureException(g,{data:{__sentry__:!0},originalException:g}),new lp(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. +Reason: ${g}`))})}_process(t){this._numProcessing++,t.then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n))}_sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)return this._transport.send(t).then(null,n=>{hr&&un.error("Error while sending event:",n)});hr&&un.error("Transport disabled")}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.keys(t).map(n=>{const[r,i]=n.split(":");return{reason:r,category:i,quantity:t[n]}})}}function RMe(e,t){const n=`${t} must return \`null\` or a valid event.`;if(J6(e))return e.then(r=>{if(!jO(r)&&r!==null)throw new lp(n);return r},r=>{throw new lp(`${t} rejected with ${r}`)});if(!jO(e)&&e!==null)throw new lp(n);return e}function IMe(e,t,n){const{beforeSend:r,beforeSendTransaction:i}=e;if(rfe(t)&&r)return r(t,n);if(ife(t)&&i){if(t.spans){const s=t.spans.length;t.sdkProcessingMetadata={...t.sdkProcessingMetadata,spanCountBeforeProcessing:s}}return i(t,n)}return t}function rfe(e){return e.type===void 0}function ife(e){return e.type==="transaction"}function DMe(e,t){t.debug===!0&&(hr?un.enable():eD(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Cp().update(t.initialScope);const r=new e(t);NMe(r),PMe(r)}function NMe(e){const n=vf().getStackTop();n.client=e,n.scope.setClient(e)}function PMe(e){e.init?e.init():e.setupIntegrations&&e.setupIntegrations()}const LMe=30;function sfe(e,t,n=o8e(e.bufferSize||LMe)){let r={};const i=a=>n.drain(a);function s(a){const o=[];if(VJ(a,(f,p)=>{const g=GJ(p);if(A8e(r,g)){const b=lee(f,p);e.recordDroppedEvent("ratelimit_backoff",g,b)}else o.push(f)}),o.length===0)return QO();const l=Iy(a[0],o),c=f=>{VJ(l,(p,g)=>{const b=lee(p,g);e.recordDroppedEvent(f,GJ(g),b)})},d=()=>t({body:v8e(l,e.textEncoder)}).then(f=>(f.statusCode!==void 0&&(f.statusCode<200||f.statusCode>=300)&&hr&&un.warn(`Sentry responded with status code ${f.statusCode} to sent event.`),r=C8e(r,f),f),f=>{throw c("network_error"),f});return n.add(d).then(f=>f,f=>{if(f instanceof lp)return hr&&un.error("Skipped sending event because buffer is full."),c("queue_overflow"),QO();throw f})}return s.__sentry__baseTransport__=!0,{send:s,flush:i}}function lee(e,t){if(!(t!=="event"&&t!=="transaction"))return Array.isArray(e)?e[1]:void 0}function MMe(e,t){const n={sent_at:new Date().toISOString()};t&&(n.dsn=AE(t));const r=e.map(FMe);return Iy(n,r)}function FMe(e){return[{type:"span"},e]}function afe(e,t,n=[t],r="npm"){const i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map(s=>({name:`${r}:@sentry/${s}`,version:UM})),version:UM}),e._metadata=i}const $Me=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/],BMe=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],ofe="InboundFilters",UMe=(e={})=>({name:ofe,setupOnce(){},processEvent(t,n,r){const i=r.getOptions(),s=zMe(e,i);return HMe(t,s)?null:t}}),lfe=UMe;w1(ofe,lfe);function zMe(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:$Me],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[],...e.disableTransactionDefaults?[]:BMe],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function HMe(e,t){return t.ignoreInternal&&GMe(e)?(hr&&un.warn(`Event dropped due to being internal Sentry Error. +Event: ${wg(e)}`),!0):qMe(e,t.ignoreErrors)?(hr&&un.warn(`Event dropped due to being matched by \`ignoreErrors\` option. +Event: ${wg(e)}`),!0):jMe(e,t.ignoreTransactions)?(hr&&un.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. +Event: ${wg(e)}`),!0):WMe(e,t.denyUrls)?(hr&&un.warn(`Event dropped due to being matched by \`denyUrls\` option. Event: ${wg(e)}. -Url: ${f5(e)}`),!0):WMe(e,t.allowUrls)?!1:(hr&&un.warn(`Event dropped due to not being matched by \`allowUrls\` option. +Url: ${f5(e)}`),!0):QMe(e,t.allowUrls)?!1:(hr&&un.warn(`Event dropped due to not being matched by \`allowUrls\` option. Event: ${wg(e)}. -Url: ${f5(e)}`),!0)}function HMe(e,t){return e.type||!t||!t.length?!1:QMe(e).some(n=>C_(n,t))}function qMe(e,t){if(e.type!=="transaction"||!t||!t.length)return!1;const n=e.transaction;return n?C_(n,t):!1}function jMe(e,t){if(!t||!t.length)return!1;const n=f5(e);return n?C_(n,t):!1}function WMe(e,t){if(!t||!t.length)return!0;const n=f5(e);return n?C_(n,t):!0}function QMe(e){const t=[];e.message&&t.push(e.message);let n;try{n=e.exception.values[e.exception.values.length-1]}catch{}return n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`)),hr&&t.length===0&&un.error(`Could not extract message for event ${wg(e)}`),t}function VMe(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function GMe(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!==""&&n.filename!=="[native code]")return n.filename||null}return null}function f5(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?GMe(t):null}catch{return hr&&un.error(`Cannot extract url for event ${wg(e)}`),null}}let uee;const lfe="FunctionToString",cee=new WeakMap,YMe=()=>({name:lfe,setupOnce(){uee=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=eH(this),n=cee.has(No())&&t!==void 0?t:this;return uee.apply(n,e)}}catch{}},setup(e){cee.set(e,!0)}}),ufe=YMe;w1(lfe,ufe);const Fs=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,qr=Ji;function ZMe(){qr.document?qr.document.addEventListener("visibilitychange",()=>{const e=dy();if(qr.document.hidden&&e){const t="cancelled",{op:n,status:r}=wu(e);Fs&&un.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${n}`),r||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.end()}}):Fs&&un.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const N_=(e,t,n)=>{let r,i;return s=>{t.value>=0&&(s||n)&&(i=t.value-(r||0),(i||r===void 0)&&(r=t.value,t.delta=i,e(t)))}},XMe=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,KMe=()=>{const e=qr.performance.timing,t=qr.performance.navigation.type,n={entryType:"navigation",startTime:0,type:t==2?"back_forward":t===1?"reload":"navigate"};for(const r in e)r!=="navigationStart"&&r!=="toJSON"&&(n[r]=Math.max(e[r]-e.navigationStart,0));return n},aD=()=>qr.__WEB_VITALS_POLYFILL__?qr.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||KMe()):qr.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],lH=()=>{const e=aD();return e&&e.activationStart||0},P_=(e,t)=>{const n=aD();let r="navigate";return n&&(qr.document&&qr.document.prerendering||lH()>0?r="prerender":r=n.type.replace(/_/g,"-")),{name:e,value:typeof t>"u"?-1:t,rating:"good",delta:0,entries:[],id:XMe(),navigationType:r}},RE=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver(i=>{t(i.getEntries())});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch{}},L_=(e,t)=>{const n=r=>{(r.type==="pagehide"||qr.document.visibilityState==="hidden")&&(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};qr.document&&(addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0))},JMe=(e,t={})=>{const n=P_("CLS",0);let r,i=0,s=[];const a=l=>{l.forEach(c=>{if(!c.hadRecentInput){const d=s[0],f=s[s.length-1];i&&s.length!==0&&c.startTime-f.startTime<1e3&&c.startTime-d.startTime<5e3?(i+=c.value,s.push(c)):(i=c.value,s=[c]),i>n.value&&(n.value=i,n.entries=s,r&&r())}})},o=RE("layout-shift",a);if(o){r=N_(e,n,t.reportAllChanges);const l=()=>{a(o.takeRecords()),r(!0)};return L_(l),l}};let h5=-1;const e9e=()=>{qr.document&&qr.document.visibilityState&&(h5=qr.document.visibilityState==="hidden"&&!qr.document.prerendering?0:1/0)},t9e=()=>{L_(({timeStamp:e})=>{h5=e},!0)},uH=()=>(h5<0&&(e9e(),t9e()),{get firstHiddenTime(){return h5}}),n9e=e=>{const t=uH(),n=P_("FID");let r;const i=o=>{o.startTime{o.forEach(i)},a=RE("first-input",s);r=N_(e,n),a&&L_(()=>{s(a.takeRecords()),a.disconnect()},!0)};let cfe=0,uP=1/0,m4=0;const r9e=e=>{e.forEach(t=>{t.interactionId&&(uP=Math.min(uP,t.interactionId),m4=Math.max(m4,t.interactionId),cfe=m4?(m4-uP)/7+1:0)})};let qM;const i9e=()=>qM?cfe:performance.interactionCount||0,s9e=()=>{"interactionCount"in performance||qM||(qM=RE("event",r9e,{type:"event",buffered:!0,durationThreshold:0}))},dfe=()=>i9e(),dee=10,z0=[],cP={},fee=e=>{const t=z0[z0.length-1],n=cP[e.interactionId];if(n||z0.lengtht.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{const r={id:e.interactionId,latency:e.duration,entries:[e]};cP[r.id]=r,z0.push(r)}z0.sort((r,i)=>i.latency-r.latency),z0.splice(dee).forEach(r=>{delete cP[r.id]})}},a9e=()=>{const e=Math.min(z0.length-1,Math.floor(dfe()/50));return z0[e]},o9e=(e,t)=>{t=t||{},s9e();const n=P_("INP");let r;const i=a=>{a.forEach(l=>{l.interactionId&&fee(l),l.entryType==="first-input"&&!z0.some(d=>d.entries.some(f=>l.duration===f.duration&&l.startTime===f.startTime))&&fee(l)});const o=a9e();o&&o.latency!==n.value&&(n.value=o.latency,n.entries=o.entries,r())},s=RE("event",i,{durationThreshold:t.durationThreshold||40});r=N_(e,n,t.reportAllChanges),s&&(s.observe({type:"first-input",buffered:!0}),L_(()=>{i(s.takeRecords()),n.value<0&&dfe()>0&&(n.value=0,n.entries=[]),r(!0)}))},hee={},l9e=e=>{const t=uH(),n=P_("LCP");let r;const i=a=>{const o=a[a.length-1];if(o){const l=Math.max(o.startTime-lH(),0);l{hee[n.id]||(i(s.takeRecords()),s.disconnect(),hee[n.id]=!0,r(!0))};return["keydown","click"].forEach(o=>{qr.document&&addEventListener(o,a,{once:!0,capture:!0})}),L_(a,!0),a}},jM=e=>{qr.document&&(qr.document.prerendering?addEventListener("prerenderingchange",()=>jM(e),!0):qr.document.readyState!=="complete"?addEventListener("load",()=>jM(e),!0):setTimeout(e,0))},u9e=(e,t)=>{t=t||{};const n=P_("TTFB"),r=N_(e,n,t.reportAllChanges);jM(()=>{const i=aD();if(i){if(n.value=Math.max(i.responseStart-lH(),0),n.value<0||n.value>performance.now())return;n.entries=[i],r(!0)}})},yT={},p5={};let ffe,hfe,pfe,mfe,gfe;function c9e(e,t=!1){return M_("cls",e,m9e,ffe,t)}function d9e(e,t=!1){return M_("lcp",e,b9e,pfe,t)}function f9e(e){return M_("ttfb",e,y9e,mfe)}function h9e(e){return M_("fid",e,g9e,hfe)}function p9e(e){return M_("inp",e,v9e,gfe)}function vk(e,t){return bfe(e,t),p5[e]||(S9e(e),p5[e]=!0),yfe(e,t)}function IE(e,t){const n=yT[e];if(!(!n||!n.length))for(const r of n)try{r(t)}catch(i){Fs&&un.error(`Error while triggering instrumentation handler. +Url: ${f5(e)}`),!0)}function qMe(e,t){return e.type||!t||!t.length?!1:VMe(e).some(n=>C_(n,t))}function jMe(e,t){if(e.type!=="transaction"||!t||!t.length)return!1;const n=e.transaction;return n?C_(n,t):!1}function WMe(e,t){if(!t||!t.length)return!1;const n=f5(e);return n?C_(n,t):!1}function QMe(e,t){if(!t||!t.length)return!0;const n=f5(e);return n?C_(n,t):!0}function VMe(e){const t=[];e.message&&t.push(e.message);let n;try{n=e.exception.values[e.exception.values.length-1]}catch{}return n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`)),hr&&t.length===0&&un.error(`Could not extract message for event ${wg(e)}`),t}function GMe(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function YMe(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!==""&&n.filename!=="[native code]")return n.filename||null}return null}function f5(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?YMe(t):null}catch{return hr&&un.error(`Cannot extract url for event ${wg(e)}`),null}}let uee;const ufe="FunctionToString",cee=new WeakMap,ZMe=()=>({name:ufe,setupOnce(){uee=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=eH(this),n=cee.has(No())&&t!==void 0?t:this;return uee.apply(n,e)}}catch{}},setup(e){cee.set(e,!0)}}),cfe=ZMe;w1(ufe,cfe);const Fs=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,qr=Ji;function XMe(){qr.document?qr.document.addEventListener("visibilitychange",()=>{const e=dy();if(qr.document.hidden&&e){const t="cancelled",{op:n,status:r}=wu(e);Fs&&un.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${n}`),r||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.end()}}):Fs&&un.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const N_=(e,t,n)=>{let r,i;return s=>{t.value>=0&&(s||n)&&(i=t.value-(r||0),(i||r===void 0)&&(r=t.value,t.delta=i,e(t)))}},KMe=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,JMe=()=>{const e=qr.performance.timing,t=qr.performance.navigation.type,n={entryType:"navigation",startTime:0,type:t==2?"back_forward":t===1?"reload":"navigate"};for(const r in e)r!=="navigationStart"&&r!=="toJSON"&&(n[r]=Math.max(e[r]-e.navigationStart,0));return n},aD=()=>qr.__WEB_VITALS_POLYFILL__?qr.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||JMe()):qr.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],lH=()=>{const e=aD();return e&&e.activationStart||0},P_=(e,t)=>{const n=aD();let r="navigate";return n&&(qr.document&&qr.document.prerendering||lH()>0?r="prerender":r=n.type.replace(/_/g,"-")),{name:e,value:typeof t>"u"?-1:t,rating:"good",delta:0,entries:[],id:KMe(),navigationType:r}},RE=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver(i=>{t(i.getEntries())});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch{}},L_=(e,t)=>{const n=r=>{(r.type==="pagehide"||qr.document.visibilityState==="hidden")&&(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};qr.document&&(addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0))},e9e=(e,t={})=>{const n=P_("CLS",0);let r,i=0,s=[];const a=l=>{l.forEach(c=>{if(!c.hadRecentInput){const d=s[0],f=s[s.length-1];i&&s.length!==0&&c.startTime-f.startTime<1e3&&c.startTime-d.startTime<5e3?(i+=c.value,s.push(c)):(i=c.value,s=[c]),i>n.value&&(n.value=i,n.entries=s,r&&r())}})},o=RE("layout-shift",a);if(o){r=N_(e,n,t.reportAllChanges);const l=()=>{a(o.takeRecords()),r(!0)};return L_(l),l}};let h5=-1;const t9e=()=>{qr.document&&qr.document.visibilityState&&(h5=qr.document.visibilityState==="hidden"&&!qr.document.prerendering?0:1/0)},n9e=()=>{L_(({timeStamp:e})=>{h5=e},!0)},uH=()=>(h5<0&&(t9e(),n9e()),{get firstHiddenTime(){return h5}}),r9e=e=>{const t=uH(),n=P_("FID");let r;const i=o=>{o.startTime{o.forEach(i)},a=RE("first-input",s);r=N_(e,n),a&&L_(()=>{s(a.takeRecords()),a.disconnect()},!0)};let dfe=0,uP=1/0,m4=0;const i9e=e=>{e.forEach(t=>{t.interactionId&&(uP=Math.min(uP,t.interactionId),m4=Math.max(m4,t.interactionId),dfe=m4?(m4-uP)/7+1:0)})};let qM;const s9e=()=>qM?dfe:performance.interactionCount||0,a9e=()=>{"interactionCount"in performance||qM||(qM=RE("event",i9e,{type:"event",buffered:!0,durationThreshold:0}))},ffe=()=>s9e(),dee=10,z0=[],cP={},fee=e=>{const t=z0[z0.length-1],n=cP[e.interactionId];if(n||z0.lengtht.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{const r={id:e.interactionId,latency:e.duration,entries:[e]};cP[r.id]=r,z0.push(r)}z0.sort((r,i)=>i.latency-r.latency),z0.splice(dee).forEach(r=>{delete cP[r.id]})}},o9e=()=>{const e=Math.min(z0.length-1,Math.floor(ffe()/50));return z0[e]},l9e=(e,t)=>{t=t||{},a9e();const n=P_("INP");let r;const i=a=>{a.forEach(l=>{l.interactionId&&fee(l),l.entryType==="first-input"&&!z0.some(d=>d.entries.some(f=>l.duration===f.duration&&l.startTime===f.startTime))&&fee(l)});const o=o9e();o&&o.latency!==n.value&&(n.value=o.latency,n.entries=o.entries,r())},s=RE("event",i,{durationThreshold:t.durationThreshold||40});r=N_(e,n,t.reportAllChanges),s&&(s.observe({type:"first-input",buffered:!0}),L_(()=>{i(s.takeRecords()),n.value<0&&ffe()>0&&(n.value=0,n.entries=[]),r(!0)}))},hee={},u9e=e=>{const t=uH(),n=P_("LCP");let r;const i=a=>{const o=a[a.length-1];if(o){const l=Math.max(o.startTime-lH(),0);l{hee[n.id]||(i(s.takeRecords()),s.disconnect(),hee[n.id]=!0,r(!0))};return["keydown","click"].forEach(o=>{qr.document&&addEventListener(o,a,{once:!0,capture:!0})}),L_(a,!0),a}},jM=e=>{qr.document&&(qr.document.prerendering?addEventListener("prerenderingchange",()=>jM(e),!0):qr.document.readyState!=="complete"?addEventListener("load",()=>jM(e),!0):setTimeout(e,0))},c9e=(e,t)=>{t=t||{};const n=P_("TTFB"),r=N_(e,n,t.reportAllChanges);jM(()=>{const i=aD();if(i){if(n.value=Math.max(i.responseStart-lH(),0),n.value<0||n.value>performance.now())return;n.entries=[i],r(!0)}})},yT={},p5={};let hfe,pfe,mfe,gfe,bfe;function d9e(e,t=!1){return M_("cls",e,g9e,hfe,t)}function f9e(e,t=!1){return M_("lcp",e,y9e,mfe,t)}function h9e(e){return M_("ttfb",e,v9e,gfe)}function p9e(e){return M_("fid",e,b9e,pfe)}function m9e(e){return M_("inp",e,S9e,bfe)}function vk(e,t){return yfe(e,t),p5[e]||(O9e(e),p5[e]=!0),vfe(e,t)}function IE(e,t){const n=yT[e];if(!(!n||!n.length))for(const r of n)try{r(t)}catch(i){Fs&&un.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${hm(r)} -Error:`,i)}}function m9e(){return JMe(e=>{IE("cls",{metric:e}),ffe=e},{reportAllChanges:!0})}function g9e(){return n9e(e=>{IE("fid",{metric:e}),hfe=e})}function b9e(){return l9e(e=>{IE("lcp",{metric:e}),pfe=e})}function y9e(){return u9e(e=>{IE("ttfb",{metric:e}),mfe=e})}function v9e(){return o9e(e=>{IE("inp",{metric:e}),gfe=e})}function M_(e,t,n,r,i=!1){bfe(e,t);let s;return p5[e]||(s=n(),p5[e]=!0),r&&t({metric:r}),yfe(e,t,i?s:void 0)}function S9e(e){const t={};e==="event"&&(t.durationThreshold=0),RE(e,n=>{IE(e,{entries:n})},t)}function bfe(e,t){yT[e]=yT[e]||[],yT[e].push(t)}function yfe(e,t,n){return()=>{n&&n();const r=yT[e];if(!r)return;const i=r.indexOf(t);i!==-1&&r.splice(i,1)}}function dP(e){return typeof e=="number"&&isFinite(e)}function GO(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}const O9e=2147483647;function _o(e){return e/1e3}function cH(){return qr&&qr.addEventListener&&qr.performance}let pee=0,La={},Xh,vT;function E9e(){const e=cH();if(e&&pf){e.mark&&qr.performance.mark("sentry-tracing-init");const t=A9e(),n=k9e(),r=_9e(),i=C9e();return()=>{t(),n(),r(),i()}}return()=>{}}function w9e(){vk("longtask",({entries:e})=>{for(const t of e){const n=dy();if(!n)return;const r=_o(pf+t.startTime),i=_o(t.duration);n.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:r,endTimestamp:r+i})}})}function x9e(){vk("event",({entries:e})=>{for(const t of e){const n=dy();if(!n)return;if(t.name==="click"){const r=_o(pf+t.startTime),i=_o(t.duration),s={description:WO(t.target),op:`ui.interaction.${t.name}`,origin:"auto.ui.browser.metrics",startTimestamp:r,endTimestamp:r+i},a=Sde(t.target);a&&(s.attributes={"ui.component_name":a}),n.startChild(s)}}})}function T9e(e,t){if(cH()&&pf){const r=R9e(e,t);return()=>{r()}}return()=>{}}function k9e(){return c9e(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Fs&&un.log("[Measurements] Adding CLS"),La.cls={value:e.value,unit:""},vT=t)},!0)}function _9e(){return d9e(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Fs&&un.log("[Measurements] Adding LCP"),La.lcp={value:e.value,unit:"millisecond"},Xh=t)},!0)}function A9e(){return h9e(({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;const n=_o(pf),r=_o(t.startTime);Fs&&un.log("[Measurements] Adding FID"),La.fid={value:e.value,unit:"millisecond"},La["mark.fid"]={value:n+r,unit:"second"}})}function C9e(){return f9e(({metric:e})=>{e.entries[e.entries.length-1]&&(Fs&&un.log("[Measurements] Adding TTFB"),La.ttfb={value:e.value,unit:"millisecond"})})}const mee={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function R9e(e,t){return p9e(({metric:n})=>{if(n.value===void 0)return;const r=n.entries.find(C=>C.duration===n.value&&mee[C.name]!==void 0),i=No();if(!r||!i)return;const s=mee[r.name],a=i.getOptions(),o=_o(pf+r.startTime),l=_o(n.value),c=r.interactionId!==void 0?e[r.interactionId]:void 0;if(c===void 0)return;const{routeName:d,parentContext:f,activeTransaction:p,user:g,replayId:b}=c,w=g!==void 0?g.email||g.id||g.ip_address:void 0,x=p!==void 0?p.getProfileId():void 0,T=new sD({startTimestamp:o,endTimestamp:o+l,op:`ui.interaction.${s}`,name:WO(r.target),attributes:{release:a.release,environment:a.environment,transaction:d,...w!==void 0&&w!==""?{user:w}:{},...x!==void 0?{profile_id:x}:{},...b!==void 0?{replay_id:b}:{}},exclusiveTime:n.value,measurements:{inp:{value:n.value,unit:"millisecond"}}}),_=B9e(f,a,t);if(_&&Math.random()<_){const C=T?LMe([T],i.getDsn()):void 0,I=i&&i.getTransport();I&&C&&I.send(C).then(null,M=>{Fs&&un.error("Error while sending interaction:",M)});return}})}function I9e(e){const t=cH();if(!t||!qr.performance.getEntries||!pf)return;Fs&&un.log("[Tracing] Adding & adjusting spans using Performance API");const n=_o(pf),r=t.getEntries(),{op:i,start_timestamp:s}=wu(e);if(r.slice(pee).forEach(a=>{const o=_o(a.startTime),l=_o(a.duration);if(!(e.op==="navigation"&&s&&n+o{if(!La[o]||!s||n>=s)return;const l=La[o].value,c=n+_o(l),d=Math.abs((c-s)*1e3),f=d-l;Fs&&un.log(`[Measurements] Normalized ${o} from ${l} to ${d} (${f})`),La[o].value=d});const a=La["mark.fid"];a&&La.fid&&(GO(e,{description:"first input delay",endTimestamp:a.value+_o(La.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:a.value}),delete La["mark.fid"]),"fcp"in La||delete La.cls,Object.keys(La).forEach(o=>{fMe(o,La[o].value,La[o].unit)}),F9e(e)}Xh=void 0,vT=void 0,La={}}function D9e(e,t,n,r,i){const s=i+n,a=s+r;return GO(e,{description:t.name,endTimestamp:a,op:t.entryType,origin:"auto.resource.browser.metrics",startTimestamp:s}),s}function N9e(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{g4(e,t,r,n)}),g4(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),g4(e,t,"fetch",n,"cache","domainLookupStart"),g4(e,t,"domainLookup",n,"DNS"),P9e(e,t,n)}function g4(e,t,n,r,i,s){const a=s?t[s]:t[`${n}End`],o=t[`${n}Start`];!o||!a||GO(e,{op:"browser",origin:"auto.browser.browser.metrics",description:i||n,startTimestamp:r+_o(o),endTimestamp:r+_o(a)})}function P9e(e,t,n){t.responseEnd&&(GO(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:n+_o(t.requestStart),endTimestamp:n+_o(t.responseEnd)}),GO(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:n+_o(t.responseStart),endTimestamp:n+_o(t.responseEnd)}))}function L9e(e,t,n,r,i,s){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const a=jb(n),o={};fP(o,t,"transferSize","http.response_transfer_size"),fP(o,t,"encodedBodySize","http.response_content_length"),fP(o,t,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in t&&(o["resource.render_blocking_status"]=t.renderBlockingStatus),a.protocol&&(o["url.scheme"]=a.protocol.split(":").pop()),a.host&&(o["server.address"]=a.host),o["url.same_origin"]=n.includes(qr.location.origin);const l=s+r,c=l+i;GO(e,{description:n.replace(qr.location.origin,""),endTimestamp:c,op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",origin:"auto.resource.browser.metrics",startTimestamp:l,data:o})}function M9e(e){const t=qr.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),dP(n.rtt)&&(La["connection.rtt"]={value:n.rtt,unit:"millisecond"})),dP(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`),dP(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}function F9e(e){Xh&&(Fs&&un.log("[Measurements] Adding LCP Data"),Xh.element&&e.setTag("lcp.element",WO(Xh.element)),Xh.id&&e.setTag("lcp.id",Xh.id),Xh.url&&e.setTag("lcp.url",Xh.url.trim().slice(0,200)),e.setTag("lcp.size",Xh.size)),vT&&vT.sources&&(Fs&&un.log("[Measurements] Adding CLS Data"),vT.sources.forEach((t,n)=>e.setTag(`cls.source.${n+1}`,WO(t.node))))}function fP(e,t,n,r){const i=t[n];i!=null&&i0?w.join(","):void 0}}else return{"sentry-trace":f,baggage:p}}function H9e(e){try{return new URL(e).href}catch{return}}function q9e(e,t){if(t.response){oH(e,t.response.status);const n=t.response&&t.response.headers&&t.response.headers.get("content-length");if(n){const r=parseInt(n);r>0&&e.setAttribute("http.response_content_length",r)}}else t.error&&e.setStatus("internal_error");e.end()}const WM=["localhost",/^\/(?!\/)/],QM={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:WM,tracePropagationTargets:WM};function j9e(e){const{traceFetch:t,traceXHR:n,tracePropagationTargets:r,tracingOrigins:i,shouldCreateSpanForRequest:s,enableHTTPTimings:a}={traceFetch:QM.traceFetch,traceXHR:QM.traceXHR,...e},o=typeof s=="function"?s:d=>!0,l=d=>G9e(d,r||i),c={};t&&Cde(d=>{const f=U9e(d,o,l,c);if(f){const p=vfe(d.fetchData.url),g=p?jb(p).host:void 0;f.setAttributes({"http.url":p,"server.address":g})}a&&f&&gee(f)}),n&&Dde(d=>{const f=Y9e(d,o,l,c);a&&f&&gee(f)})}function W9e(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function gee(e){const{url:t}=wu(e).data||{};if(!t||typeof t!="string")return;const n=vk("resource",({entries:r})=>{r.forEach(i=>{W9e(i)&&i.name.endsWith(t)&&(V9e(i).forEach(a=>e.setAttribute(...a)),setTimeout(n))})})}function Q9e(e){let t="unknown",n="unknown",r="";for(const i of e){if(i==="/"){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t=r==="h"?"http":r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}}function Wh(e=0){return((pf||performance.timeOrigin)+e)/1e3}function V9e(e){const{name:t,version:n}=Q9e(e.nextHopProtocol),r=[];return r.push(["network.protocol.version",n],["network.protocol.name",t]),pf?[...r,["http.request.redirect_start",Wh(e.redirectStart)],["http.request.fetch_start",Wh(e.fetchStart)],["http.request.domain_lookup_start",Wh(e.domainLookupStart)],["http.request.domain_lookup_end",Wh(e.domainLookupEnd)],["http.request.connect_start",Wh(e.connectStart)],["http.request.secure_connection_start",Wh(e.secureConnectionStart)],["http.request.connection_end",Wh(e.connectEnd)],["http.request.request_start",Wh(e.requestStart)],["http.request.response_start",Wh(e.responseStart)],["http.request.response_end",Wh(e.responseEnd)]]:r}function G9e(e,t){return C_(e,t||WM)}function Y9e(e,t,n,r){const i=e.xhr,s=i&&i[RS];if(!CE()||!i||i.__sentry_own_request__||!s)return;const a=t(s.url);if(e.endTimestamp&&a){const g=i.__sentry_xhr_span_id__;if(!g)return;const b=r[g];b&&s.status_code!==void 0&&(oH(b,s.status_code),b.end(),delete r[g]);return}const o=Cp(),l=Dy(),c=vfe(s.url),d=c?jb(c).host:void 0,f=a?Gde({name:`${s.method} ${s.url}`,onlyIfParent:!0,attributes:{type:"xhr","http.method":s.method,"http.url":c,url:s.url,"server.address":d,[wb]:"auto.http.browser"},op:"http.client"}):void 0;f&&(i.__sentry_xhr_span_id__=f.spanContext().spanId,r[i.__sentry_xhr_span_id__]=f);const p=No();if(i.setRequestHeader&&n(s.url)&&p){const{traceId:g,spanId:b,sampled:w,dsc:x}={...l.getPropagationContext(),...o.getPropagationContext()},T=f?nD(f):rH(g,b,w),_=Mde(x||(f?VO(f):iD(g,p,o)));Z9e(i,T,_)}return f}function Z9e(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader($M,n)}catch{}}function vfe(e){try{return new URL(e,qr.location.origin).href}catch{return}}function X9e(e,t=!0,n=!0){if(!qr||!qr.location){Fs&&un.warn("Could not initialize routing instrumentation due to invalid location");return}let r=qr.location.href,i;t&&(i=e({name:qr.location.pathname,startTimestamp:pf?pf/1e3:void 0,op:"pageload",origin:"auto.pageload.browser",metadata:{source:"url"}})),n&&tH(({to:s,from:a})=>{if(a===void 0&&r&&r.indexOf(s)!==-1){r=void 0;return}a!==s&&(r=void 0,i&&(Fs&&un.log(`[Tracing] Finishing current transaction with op: ${i.op}`),i.end()),i=e({name:qr.location.pathname,op:"navigation",origin:"auto.navigation.browser",metadata:{source:"url"}}))})}const K9e="BrowserTracing",J9e={...z3,markBackgroundTransactions:!0,routingInstrumentation:X9e,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{},...QM},bee=10;class eFe{constructor(t){this.name=K9e,this._hasSetTracePropagationTargets=!1,dMe(),Fs&&(this._hasSetTracePropagationTargets=!!(t&&(t.tracePropagationTargets||t.tracingOrigins))),this.options={...J9e,...t},this.options._experiments.enableLongTask!==void 0&&(this.options.enableLongTask=this.options._experiments.enableLongTask),t&&!t.tracePropagationTargets&&t.tracingOrigins&&(this.options.tracePropagationTargets=t.tracingOrigins),this._collectWebVitals=E9e(),this._interactionIdToRouteNameMapping={},this.options.enableInp&&T9e(this._interactionIdToRouteNameMapping,this.options.interactionsSampleRate),this.options.enableLongTask&&w9e(),this.options._experiments.enableInteractions&&x9e(),this._latestRoute={name:void 0,context:void 0}}setupOnce(t,n){this._getCurrentHub=n;const i=n().getClient(),s=i&&i.getOptions(),{routingInstrumentation:a,startTransactionOnLocationChange:o,startTransactionOnPageLoad:l,markBackgroundTransactions:c,traceFetch:d,traceXHR:f,shouldCreateSpanForRequest:p,enableHTTPTimings:g,_experiments:b}=this.options,w=s&&s.tracePropagationTargets,x=w||this.options.tracePropagationTargets;Fs&&this._hasSetTracePropagationTargets&&w&&un.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used."),a(T=>{const _=this._createRouteTransaction(T);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(_,T,n),_},l,o),c&&ZMe(),b.enableInteractions&&this._registerInteractionListener(),this.options.enableInp&&this._registerInpInteractionListener(),j9e({traceFetch:d,traceXHR:f,tracePropagationTargets:x,shouldCreateSpanForRequest:p,enableHTTPTimings:g})}_createRouteTransaction(t){if(!this._getCurrentHub){Fs&&un.warn(`[Tracing] Did not create ${t.op} transaction because _getCurrentHub is invalid.`);return}const n=this._getCurrentHub(),{beforeNavigate:r,idleTimeout:i,finalTimeout:s,heartbeatInterval:a}=this.options,o=t.op==="pageload";let l;if(o){const g=o?yee("sentry-trace"):"",b=o?yee("baggage"):void 0,{traceId:w,dsc:x,parentSpanId:T,sampled:_}=g8e(g,b);l={traceId:w,parentSpanId:T,parentSampled:_,...t,metadata:{...t.metadata,dynamicSamplingContext:x},trimEnd:!0}}else l={trimEnd:!0,...t};const c=typeof r=="function"?r(l):l,d=c===void 0?{...l,sampled:!1}:c;d.metadata=d.name!==l.name?{...d.metadata,source:"custom"}:d.metadata,this._latestRoute.name=d.name,this._latestRoute.context=d,d.sampled===!1&&Fs&&un.log(`[Tracing] Will not send ${d.op} transaction because of beforeNavigate.`),Fs&&un.log(`[Tracing] Starting ${d.op} transaction on scope`);const{location:f}=qr,p=iee(n,d,i,s,!0,{location:f},a,o);return o&&qr.document&&(qr.document.addEventListener("readystatechange",()=>{["interactive","complete"].includes(qr.document.readyState)&&p.sendAutoFinishSignal()}),["interactive","complete"].includes(qr.document.readyState)&&p.sendAutoFinishSignal()),p.registerBeforeFinishCallback(g=>{this._collectWebVitals(),I9e(g)}),p}_registerInteractionListener(){let t;const n=()=>{const{idleTimeout:r,finalTimeout:i,heartbeatInterval:s}=this.options,a="ui.action.click",o=dy();if(o&&o.op&&["navigation","pageload"].includes(o.op)){Fs&&un.warn(`[Tracing] Did not create ${a} transaction because a pageload or navigation transaction is in progress.`);return}if(t&&(t.setFinishReason("interactionInterrupted"),t.end(),t=void 0),!this._getCurrentHub){Fs&&un.warn(`[Tracing] Did not create ${a} transaction because _getCurrentHub is invalid.`);return}if(!this._latestRoute.name){Fs&&un.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`);return}const l=this._getCurrentHub(),{location:c}=qr,d={name:this._latestRoute.name,op:a,trimEnd:!0,data:{[Wb]:this._latestRoute.context?tFe(this._latestRoute.context):"url"}};t=iee(l,d,r,i,!0,{location:c},s)};["click"].forEach(r=>{qr.document&&addEventListener(r,n,{once:!1,capture:!0})})}_registerInpInteractionListener(){const t=({entries:n})=>{const r=No(),i=r!==void 0&&r.getIntegrationByName!==void 0?r.getIntegrationByName("Replay"):void 0,s=i!==void 0?i.getReplayId():void 0,a=dy(),o=Cp(),l=o!==void 0?o.getUser():void 0;n.forEach(c=>{if(nFe(c)){const d=c.interactionId;if(d===void 0)return;const f=this._interactionIdToRouteNameMapping[d],p=c.duration,g=c.startTime,b=Object.keys(this._interactionIdToRouteNameMapping),w=b.length>0?b.reduce((x,T)=>this._interactionIdToRouteNameMapping[x].durationthis._interactionIdToRouteNameMapping[T]).some(T=>T.duration===p&&T.startTime===g)||!d)return;if(f)f.duration=Math.max(f.duration,p);else if(b.lengththis._interactionIdToRouteNameMapping[w].duration){const x=this._latestRoute.name,T=this._latestRoute.context;x&&T&&(w&&Object.keys(this._interactionIdToRouteNameMapping).length>=bee&&delete this._interactionIdToRouteNameMapping[w],this._interactionIdToRouteNameMapping[d]={routeName:x,duration:p,parentContext:T,user:l,activeTransaction:a,replayId:s,startTime:g})}}})};vk("event",t),vk("first-input",t)}}function yee(e){const t=wLe(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}function tFe(e){const t=e.attributes&&e.attributes[Wb],n=e.data&&e.data[Wb],r=e.metadata&&e.metadata.source;return t||n||r}function nFe(e){return"duration"in e}const ts=Ji;let VM=0;function Sfe(){return VM>0}function rFe(){VM++,setTimeout(()=>{VM--})}function YO(e,t={},n){if(typeof e!="function")return e;try{const i=e.__sentry_wrapped__;if(i)return i;if(eH(e))return e}catch{return e}const r=function(){const i=Array.prototype.slice.call(arguments);try{const s=i.map(a=>YO(a,t));return e.apply(this,s)}catch(s){throw rFe(),z8e(a=>{a.addEventProcessor(o=>(t.mechanism&&(IM(o,void 0),yk(o,t.mechanism)),o.extra={...o.extra,arguments:i},o)),U8e(s)}),s}};try{for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i])}catch{}Ede(r,e),ly(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}const Q0=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function Ofe(e,t){const n=dH(e,t),r={type:t&&t.name,value:oFe(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function iFe(e,t,n,r){const i=No(),s=i&&i.getOptions().normalizeDepth,a={exception:{values:[{type:K6(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:cFe(t,{isUnhandledRejection:r})}]},extra:{__serialized__:Nde(t,s)}};if(n){const o=dH(e,n);o.length&&(a.exception.values[0].stacktrace={frames:o})}return a}function hP(e,t){return{exception:{values:[Ofe(e,t)]}}}function dH(e,t){const n=t.stacktrace||t.stack||"",r=aFe(t);try{return e(n,r)}catch{}return[]}const sFe=/Minified React error #\d+;/i;function aFe(e){if(e){if(typeof e.framesToPop=="number")return e.framesToPop;if(sFe.test(e.message))return 1}return 0}function oFe(e){const t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function lFe(e,t,n,r){const i=n&&n.syntheticException||void 0,s=fH(e,t,i,r);return yk(s),s.level="error",n&&n.event_id&&(s.event_id=n.event_id),QO(s)}function uFe(e,t,n="info",r,i){const s=r&&r.syntheticException||void 0,a=GM(e,t,s,i);return a.level=n,r&&r.event_id&&(a.event_id=r.event_id),QO(a)}function fH(e,t,n,r,i){let s;if(Zz(t)&&t.error)return hP(e,t.error);if(NJ(t)||hLe(t)){const a=t;if("stack"in t)s=hP(e,t);else{const o=a.name||(NJ(a)?"DOMError":"DOMException"),l=a.message?`${o}: ${a.message}`:o;s=GM(e,l,n,r),IM(s,l)}return"code"in a&&(s.tags={...s.tags,"DOMException.code":`${a.code}`}),s}return gde(t)?hP(e,t):jO(t)||K6(t)?(s=iFe(e,t,n,i),yk(s,{synthetic:!0}),s):(s=GM(e,t,n,r),IM(s,`${t}`),yk(s,{synthetic:!0}),s)}function GM(e,t,n,r){const i={};if(r&&n){const s=dH(e,n);s.length&&(i.exception={values:[{value:t,stacktrace:{frames:s}}]})}if(Xz(t)){const{__sentry_template_string__:s,__sentry_template_values__:a}=t;return i.logentry={message:s,params:a},i}return i.message=t,i}function cFe(e,{isUnhandledRejection:t}){const n=DLe(e),r=t?"promise rejection":"exception";return Zz(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:K6(e)?`Event \`${dFe(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function dFe(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function fFe(e,{metadata:t,tunnel:n,dsn:r}){const i={event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:AE(r)}},s=hFe(e);return Iy(i,[s])}function hFe(e){return[{type:"user_report"},e]}class pFe extends AMe{constructor(t){const n=ts.SENTRY_SDK_SOURCE||e8e();sfe(t,"browser",["browser"],n),super(t),t.sendClientReports&&ts.document&&ts.document.addEventListener("visibilitychange",()=>{ts.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return lFe(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return uFe(this._options.stackParser,t,n,r,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled()){Q0&&un.warn("SDK not enabled, will not capture user feedback.");return}const n=fFe(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(n)}_prepareEvent(t,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r)}_flushOutcomes(){const t=this._clearOutcomes();if(t.length===0){Q0&&un.log("No outcomes to send");return}if(!this._dsn){Q0&&un.log("No dsn provided, will not send outcomes");return}Q0&&un.log("Sending outcomes:",t);const n=w8e(t,this._options.tunnel&&AE(this._dsn));this._sendEnvelope(n)}}let qw;function mFe(){if(qw)return qw;if(LM(ts.fetch))return qw=ts.fetch.bind(ts);const e=ts.document;let t=ts.fetch;if(e&&typeof e.createElement=="function")try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(n){Q0&&un.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return qw=t.bind(ts)}function gFe(){qw=void 0}function bFe(e,t=mFe()){let n=0,r=0;function i(s){const a=s.body.length;n+=a,r++;const o={body:s.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{return t(e.url,o).then(l=>(n-=a,r--,{statusCode:l.status,headers:{"x-sentry-rate-limits":l.headers.get("X-Sentry-Rate-Limits"),"retry-after":l.headers.get("Retry-After")}}))}catch(l){return gFe(),n-=a,r--,nH(l)}}return ife(e,i)}const yFe=4;function vFe(e){function t(n){return new qc((r,i)=>{const s=new XMLHttpRequest;s.onerror=i,s.onreadystatechange=()=>{s.readyState===yFe&&r({statusCode:s.status,headers:{"x-sentry-rate-limits":s.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":s.getResponseHeader("Retry-After")}})},s.open("POST",e.url);for(const a in e.headers)Object.prototype.hasOwnProperty.call(e.headers,a)&&s.setRequestHeader(a,e.headers[a]);s.send(n.body)})}return ife(e,t)}const oD="?",SFe=30,OFe=40,EFe=50;function hH(e,t,n,r){const i={filename:e,function:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}const wFe=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,xFe=/\((\S*)(?::(\d+))(?::(\d+))\)/,TFe=e=>{const t=wFe.exec(e);if(t){if(t[2]&&t[2].indexOf("eval")===0){const s=xFe.exec(t[2]);s&&(t[2]=s[1],t[3]=s[2],t[4]=s[3])}const[r,i]=Efe(t[1]||oD,t[2]);return hH(i,r,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}},kFe=[SFe,TFe],_Fe=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,AFe=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,CFe=e=>{const t=_Fe.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const s=AFe.exec(t[3]);s&&(t[1]=t[1]||"eval",t[3]=s[1],t[4]=s[2],t[5]="")}let r=t[3],i=t[1]||oD;return[i,r]=Efe(i,r),hH(r,i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},RFe=[EFe,CFe],IFe=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,DFe=e=>{const t=IFe.exec(e);return t?hH(t[2],t[1]||oD,+t[3],t[4]?+t[4]:void 0):void 0},NFe=[OFe,DFe],PFe=[kFe,RFe,NFe],LFe=Tde(...PFe),Efe=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:oD,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},b4=1024,wfe="Breadcrumbs",MFe=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:wfe,setupOnce(){},setup(n){t.console&&MLe(BFe(n)),t.dom&&BLe($Fe(n,t.dom)),t.xhr&&Dde(UFe(n)),t.fetch&&Cde(zFe(n)),t.history&&tH(HFe(n)),t.sentry&&n.on&&n.on("beforeSendEvent",FFe(n))}}},xfe=MFe;w1(wfe,xfe);function FFe(e){return function(n){No()===e&&cy({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:wg(n)},{event:n})}}function $Fe(e,t){return function(r){if(No()!==e)return;let i,s,a=typeof t=="object"?t.serializeAttribute:void 0,o=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;o&&o>b4&&(Q0&&un.warn(`\`dom.maxStringLength\` cannot exceed ${b4}, but a value of ${o} was configured. Sentry will use ${b4} instead.`),o=b4),typeof a=="string"&&(a=[a]);try{const c=r.event,d=qFe(c)?c.target:c;i=WO(d,{keyAttrs:a,maxStringLength:o}),s=Sde(d)}catch{i=""}if(i.length===0)return;const l={category:`ui.${r.name}`,message:i};s&&(l.data={"ui.component_name":s}),cy(l,{event:r.event,name:r.name,global:r.global})}}function BFe(e){return function(n){if(No()!==e)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:l8e(n.level),message:PJ(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${PJ(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;cy(r,{input:n.args,level:n.level})}}function UFe(e){return function(n){if(No()!==e)return;const{startTimestamp:r,endTimestamp:i}=n,s=n.xhr[RS];if(!r||!i||!s)return;const{method:a,url:o,status_code:l,body:c}=s,d={method:a,url:o,status_code:l},f={xhr:n.xhr,input:c,startTimestamp:r,endTimestamp:i};cy({category:"xhr",data:d,type:"http"},f)}}function zFe(e){return function(n){if(No()!==e)return;const{startTimestamp:r,endTimestamp:i}=n;if(i&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.error){const s=n.fetchData,a={data:n.error,input:n.args,startTimestamp:r,endTimestamp:i};cy({category:"fetch",data:s,level:"error",type:"http"},a)}else{const s=n.response,a={...n.fetchData,status_code:s&&s.status},o={input:n.args,response:s,startTimestamp:r,endTimestamp:i};cy({category:"fetch",data:a,type:"http"},o)}}}function HFe(e){return function(n){if(No()!==e)return;let r=n.from,i=n.to;const s=jb(ts.location.href);let a=r?jb(r):void 0;const o=jb(i);(!a||!a.path)&&(a=s),s.protocol===o.protocol&&s.host===o.host&&(i=o.relative),s.protocol===a.protocol&&s.host===a.host&&(r=a.relative),cy({category:"navigation",data:{from:r,to:i}})}}function qFe(e){return!!e&&!!e.target}const Tfe="Dedupe",jFe=()=>{let e;return{name:Tfe,setupOnce(){},processEvent(t){if(t.type)return t;try{if(WFe(t,e))return Q0&&un.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}},kfe=jFe;w1(Tfe,kfe);function WFe(e,t){return t?!!(QFe(e,t)||VFe(e,t)):!1}function QFe(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!Afe(e,t)||!_fe(e,t))}function VFe(e,t){const n=vee(t),r=vee(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!Afe(e,t)||!_fe(e,t))}function _fe(e,t){let n=See(e),r=See(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let i=0;i{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:Cfe,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(YFe(n),Oee("onerror")),t.onunhandledrejection&&(ZFe(n),Oee("onunhandledrejection"))}}},Rfe=GFe;w1(Cfe,Rfe);function YFe(e){Rde(t=>{const{stackParser:n,attachStacktrace:r}=Dfe();if(No()!==e||Sfe())return;const{msg:i,url:s,line:a,column:o,error:l}=t,c=l===void 0&&Ep(i)?JFe(i,s,a,o):Ife(fH(n,l||i,void 0,r,!1),s,a,o);c.level="error",zde(c,{originalException:l,mechanism:{handled:!1,type:"onerror"}})})}function ZFe(e){Ide(t=>{const{stackParser:n,attachStacktrace:r}=Dfe();if(No()!==e||Sfe())return;const i=XFe(t),s=Kz(i)?KFe(i):fH(n,i,void 0,r,!0);s.level="error",zde(s,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function XFe(e){if(Kz(e))return e;const t=e;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch{}return e}function KFe(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function JFe(e,t,n,r){const i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let s=Zz(e)?e.message:e,a="Error";const o=s.match(i);return o&&(a=o[1],s=o[2]),Ife({exception:{values:[{type:a,value:s}]}},t,n,r)}function Ife(e,t,n,r){const i=e.exception=e.exception||{},s=i.values=i.values||[],a=s[0]=s[0]||{},o=a.stacktrace=a.stacktrace||{},l=o.frames=o.frames||[],c=isNaN(parseInt(r,10))?void 0:r,d=isNaN(parseInt(n,10))?void 0:n,f=Ep(t)&&t.length>0?t:ELe();return l.length===0&&l.push({colno:c,filename:f,function:"?",in_app:!0,lineno:d}),e}function Oee(e){Q0&&un.log(`Global Handler attached: ${e}`)}function Dfe(){const e=No();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const Nfe="HttpContext",e$e=()=>({name:Nfe,setupOnce(){},preprocessEvent(e){if(!ts.navigator&&!ts.location&&!ts.document)return;const t=e.request&&e.request.url||ts.location&&ts.location.href,{referrer:n}=ts.document||{},{userAgent:r}=ts.navigator||{},i={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},s={...e.request,...t&&{url:t},headers:i};e.request=s}}),Pfe=e$e;w1(Nfe,Pfe);const t$e="cause",n$e=5,Lfe="LinkedErrors",r$e=(e={})=>{const t=e.limit||n$e,n=e.key||t$e;return{name:Lfe,setupOnce(){},preprocessEvent(r,i,s){const a=s.getOptions();yLe(Ofe,a.stackParser,a.maxValueLength,n,t,r,i)}}},Mfe=r$e;w1(Lfe,Mfe);const i$e=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Ffe="TryCatch",s$e=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:Ffe,setupOnce(){t.setTimeout&&vl(ts,"setTimeout",Eee),t.setInterval&&vl(ts,"setInterval",Eee),t.requestAnimationFrame&&vl(ts,"requestAnimationFrame",a$e),t.XMLHttpRequest&&"XMLHttpRequest"in ts&&vl(XMLHttpRequest.prototype,"send",o$e);const n=t.eventTarget;n&&(Array.isArray(n)?n:i$e).forEach(l$e)}}},$fe=s$e;w1(Ffe,$fe);function Eee(e){return function(...t){const n=t[0];return t[0]=YO(n,{mechanism:{data:{function:hm(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function a$e(e){return function(t){return e.apply(this,[YO(t,{mechanism:{data:{function:"requestAnimationFrame",handler:hm(e)},handled:!1,type:"instrument"}})])}}function o$e(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(i=>{i in n&&typeof n[i]=="function"&&vl(n,i,function(s){const a={mechanism:{data:{function:i,handler:hm(s)},handled:!1,type:"instrument"}},o=eH(s);return o&&(a.mechanism.data.handler=hm(o)),YO(s,a)})}),e.apply(this,t)}}function l$e(e){const t=ts,n=t[e]&&t[e].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(vl(n,"addEventListener",function(r){return function(i,s,a){try{typeof s.handleEvent=="function"&&(s.handleEvent=YO(s.handleEvent,{mechanism:{data:{function:"handleEvent",handler:hm(s),target:e},handled:!1,type:"instrument"}}))}catch{}return r.apply(this,[i,YO(s,{mechanism:{data:{function:"addEventListener",handler:hm(s),target:e},handled:!1,type:"instrument"}}),a])}}),vl(n,"removeEventListener",function(r){return function(i,s,a){const o=s;try{const l=o&&o.__sentry_wrapped__;l&&r.call(this,i,l,a)}catch{}return r.call(this,i,o,a)}}))}const u$e=[ofe(),ufe(),$fe(),xfe(),Rfe(),Mfe(),kfe(),Pfe()];function c$e(e){return[...u$e]}function d$e(e={}){e.defaultIntegrations===void 0&&(e.defaultIntegrations=c$e()),e.release===void 0&&(typeof __SENTRY_RELEASE__=="string"&&(e.release=__SENTRY_RELEASE__),ts.SENTRY_RELEASE&&ts.SENTRY_RELEASE.id&&(e.release=ts.SENTRY_RELEASE.id)),e.autoSessionTracking===void 0&&(e.autoSessionTracking=!0),e.sendClientReports===void 0&&(e.sendClientReports=!0);const t={...e,stackParser:PLe(e.stackParser||LFe),integrations:EMe(e),transport:e.transport||(Ade()?bFe:vFe)};IMe(pFe,t),e.autoSessionTracking&&f$e()}function f$e(){if(typeof ts.document>"u"){Q0&&un.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}XJ({ignoreDuration:!0}),KJ(),tH(({from:e,to:t})=>{e!==void 0&&e!==t&&(XJ({ignoreDuration:!0}),KJ())})}function h$e(e){const t={...e};sfe(t,"react"),d$e(t)}function p$e(e,t,n,r,i,s){return(a,o=!0,l=!0)=>{const c=ts&&ts.location&&ts.location.pathname;o&&c&&a({name:c,attributes:{[Wb]:"url",[Hw]:"pageload",[wb]:"auto.pageload.react.reactrouter_v6"}})}}var DE=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},ZO=typeof window>"u"||"Deno"in globalThis;function Hd(){}function m$e(e,t){return typeof e=="function"?e(t):e}function YM(e){return typeof e=="number"&&e>=0&&e!==1/0}function Bfe(e,t){return Math.max(e+(t||0)-Date.now(),0)}function KS(e,t){return typeof e=="function"?e(t):e}function Xf(e,t){return typeof e=="function"?e(t):e}function wee(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:a,stale:o}=e;if(a){if(r){if(t.queryHash!==pH(a,t.options))return!1}else if(!Sk(t.queryKey,a))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof o=="boolean"&&t.isStale()!==o||i&&i!==t.state.fetchStatus||s&&!s(t))}function xee(e,t){const{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(fy(t.options.mutationKey)!==fy(s))return!1}else if(!Sk(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function pH(e,t){return((t==null?void 0:t.queryKeyHashFn)||fy)(e)}function fy(e){return JSON.stringify(e,(t,n)=>ZM(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function Sk(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Sk(e[n],t[n])):!1}function Ufe(e,t){if(e===t)return e;const n=Tee(e)&&Tee(t);if(n||ZM(e)&&ZM(t)){const r=n?e:Object.keys(e),i=r.length,s=n?t:Object.keys(t),a=s.length,o=n?[]:{};let l=0;for(let c=0;c{setTimeout(t,e)})}function XM(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Ufe(e,t):t}function b$e(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function y$e(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var zfe=Symbol();function Hfe(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===zfe?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Db,_g,mO,voe,v$e=(voe=class extends DE{constructor(){super();wr(this,Db);wr(this,_g);wr(this,mO);zn(this,mO,t=>{if(!ZO&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){it(this,_g)||this.setEventListener(it(this,mO))}onUnsubscribe(){var t;this.hasListeners()||((t=it(this,_g))==null||t.call(this),zn(this,_g,void 0))}setEventListener(t){var n;zn(this,mO,t),(n=it(this,_g))==null||n.call(this),zn(this,_g,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){it(this,Db)!==t&&(zn(this,Db,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof it(this,Db)=="boolean"?it(this,Db):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Db=new WeakMap,_g=new WeakMap,mO=new WeakMap,voe),mH=new v$e,gO,Ag,bO,Soe,S$e=(Soe=class extends DE{constructor(){super();wr(this,gO,!0);wr(this,Ag);wr(this,bO);zn(this,bO,t=>{if(!ZO&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){it(this,Ag)||this.setEventListener(it(this,bO))}onUnsubscribe(){var t;this.hasListeners()||((t=it(this,Ag))==null||t.call(this),zn(this,Ag,void 0))}setEventListener(t){var n;zn(this,bO,t),(n=it(this,Ag))==null||n.call(this),zn(this,Ag,t(this.setOnline.bind(this)))}setOnline(t){it(this,gO)!==t&&(zn(this,gO,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return it(this,gO)}},gO=new WeakMap,Ag=new WeakMap,bO=new WeakMap,Soe),g5=new S$e;function O$e(e){return Math.min(1e3*2**e,3e4)}function qfe(e){return(e??"online")==="online"?g5.isOnline():!0}var jfe=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function pP(e){return e instanceof jfe}function Wfe(e){let t=!1,n=0,r=!1,i,s,a;const o=new Promise((T,_)=>{s=T,a=_}),l=T=>{var _;r||(b(new jfe(T)),(_=e.abort)==null||_.call(e))},c=()=>{t=!0},d=()=>{t=!1},f=()=>mH.isFocused()&&(e.networkMode==="always"||g5.isOnline())&&e.canRun(),p=()=>qfe(e.networkMode)&&e.canRun(),g=T=>{var _;r||(r=!0,(_=e.onSuccess)==null||_.call(e,T),i==null||i(),s(T))},b=T=>{var _;r||(r=!0,(_=e.onError)==null||_.call(e,T),i==null||i(),a(T))},w=()=>new Promise(T=>{var _;i=C=>{(r||f())&&T(C)},(_=e.onPause)==null||_.call(e)}).then(()=>{var T;i=void 0,r||(T=e.onContinue)==null||T.call(e)}),x=()=>{if(r)return;let T;const _=n===0?e.initialPromise:void 0;try{T=_??e.fn()}catch(C){T=Promise.reject(C)}Promise.resolve(T).then(g).catch(C=>{var j;if(r)return;const I=e.retry??(ZO?0:3),M=e.retryDelay??O$e,$=typeof M=="function"?M(n,C):M,B=I===!0||typeof I=="number"&&nf()?void 0:w()).then(()=>{t?b(C):x()})})};return{promise:o,cancel:l,continue:()=>(i==null||i(),o),cancelRetry:c,continueRetry:d,canStart:p,start:()=>(p()?x():w().then(x),o)}}function E$e(){let e=[],t=0,n=o=>{o()},r=o=>{o()},i=o=>setTimeout(o,0);const s=o=>{t?e.push(o):i(()=>{n(o)})},a=()=>{const o=e;e=[],o.length&&i(()=>{r(()=>{o.forEach(l=>{n(l)})})})};return{batch:o=>{let l;t++;try{l=o()}finally{t--,t||a()}return l},batchCalls:o=>(...l)=>{s(()=>{o(...l)})},schedule:s,setNotifyFunction:o=>{n=o},setBatchNotifyFunction:o=>{r=o},setScheduler:o=>{i=o}}}var ko=E$e(),Nb,Ooe,Qfe=(Ooe=class{constructor(){wr(this,Nb)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),YM(this.gcTime)&&zn(this,Nb,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ZO?1/0:5*60*1e3))}clearGcTimeout(){it(this,Nb)&&(clearTimeout(it(this,Nb)),zn(this,Nb,void 0))}},Nb=new WeakMap,Ooe),yO,vO,zd,Bl,u_,Pb,Vf,M0,Eoe,w$e=(Eoe=class extends Qfe{constructor(t){super();wr(this,Vf);wr(this,yO);wr(this,vO);wr(this,zd);wr(this,Bl);wr(this,u_);wr(this,Pb);zn(this,Pb,!1),zn(this,u_,t.defaultOptions),this.setOptions(t.options),this.observers=[],zn(this,zd,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,zn(this,yO,x$e(this.options)),this.state=t.state??it(this,yO),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=it(this,Bl))==null?void 0:t.promise}setOptions(t){this.options={...it(this,u_),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&it(this,zd).remove(this)}setData(t,n){const r=XM(this.state.data,t,this.options);return Kr(this,Vf,M0).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Kr(this,Vf,M0).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=it(this,Bl))==null?void 0:r.promise;return(i=it(this,Bl))==null||i.cancel(t),n?n.then(Hd).catch(Hd):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(it(this,yO))}isActive(){return this.observers.some(t=>Xf(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!Bfe(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=it(this,Bl))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=it(this,Bl))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),it(this,zd).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(it(this,Bl)&&(it(this,Pb)?it(this,Bl).cancel({revert:!0}):it(this,Bl).cancelRetry()),this.scheduleGc()),it(this,zd).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Kr(this,Vf,M0).call(this,{type:"invalidate"})}fetch(t,n){var l,c,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(it(this,Bl))return it(this,Bl).continueRetry(),it(this,Bl).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(p=>p.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,i=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(zn(this,Pb,!0),r.signal)})},s=()=>{const f=Hfe(this.options,n),p={queryKey:this.queryKey,meta:this.meta};return i(p),zn(this,Pb,!1),this.options.persister?this.options.persister(f,p,this):f(p)},a={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:s};i(a),(l=this.options.behavior)==null||l.onFetch(a,this),zn(this,vO,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&Kr(this,Vf,M0).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const o=f=>{var p,g,b,w;pP(f)&&f.silent||Kr(this,Vf,M0).call(this,{type:"error",error:f}),pP(f)||((g=(p=it(this,zd).config).onError)==null||g.call(p,f,this),(w=(b=it(this,zd).config).onSettled)==null||w.call(b,this.state.data,f,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return zn(this,Bl,Wfe({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var p,g,b,w;if(f===void 0){o(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(x){o(x);return}(g=(p=it(this,zd).config).onSuccess)==null||g.call(p,f,this),(w=(b=it(this,zd).config).onSettled)==null||w.call(b,f,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:o,onFail:(f,p)=>{Kr(this,Vf,M0).call(this,{type:"failed",failureCount:f,error:p})},onPause:()=>{Kr(this,Vf,M0).call(this,{type:"pause"})},onContinue:()=>{Kr(this,Vf,M0).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),it(this,Bl).start()}},yO=new WeakMap,vO=new WeakMap,zd=new WeakMap,Bl=new WeakMap,u_=new WeakMap,Pb=new WeakMap,Vf=new WeakSet,M0=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...Vfe(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return pP(i)&&i.revert&&it(this,vO)?{...it(this,vO),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),ko.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),it(this,zd).notify({query:this,type:"updated",action:t})})},Eoe);function Vfe(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:qfe(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function x$e(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Jh,woe,Gfe=(woe=class extends DE{constructor(t={}){super();wr(this,Jh);this.config=t,zn(this,Jh,new Map)}build(t,n,r){const i=n.queryKey,s=n.queryHash??pH(i,n);let a=this.get(s);return a||(a=new w$e({cache:this,queryKey:i,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(a)),a}add(t){it(this,Jh).has(t.queryHash)||(it(this,Jh).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=it(this,Jh).get(t.queryHash);n&&(t.destroy(),n===t&&it(this,Jh).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){ko.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return it(this,Jh).get(t)}getAll(){return[...it(this,Jh).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>wee(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>wee(t,r)):n}notify(t){ko.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){ko.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){ko.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Jh=new WeakMap,woe),ep,fu,Lb,tp,cg,xoe,T$e=(xoe=class extends Qfe{constructor(t){super();wr(this,tp);wr(this,ep);wr(this,fu);wr(this,Lb);this.mutationId=t.mutationId,zn(this,fu,t.mutationCache),zn(this,ep,[]),this.state=t.state||Yfe(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){it(this,ep).includes(t)||(it(this,ep).push(t),this.clearGcTimeout(),it(this,fu).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){zn(this,ep,it(this,ep).filter(n=>n!==t)),this.scheduleGc(),it(this,fu).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){it(this,ep).length||(this.state.status==="pending"?this.scheduleGc():it(this,fu).remove(this))}continue(){var t;return((t=it(this,Lb))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,s,a,o,l,c,d,f,p,g,b,w,x,T,_,C,I,M,$,B;zn(this,Lb,Wfe({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(j,F)=>{Kr(this,tp,cg).call(this,{type:"failed",failureCount:j,error:F})},onPause:()=>{Kr(this,tp,cg).call(this,{type:"pause"})},onContinue:()=>{Kr(this,tp,cg).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>it(this,fu).canRun(this)}));const n=this.state.status==="pending",r=!it(this,Lb).canStart();try{if(!n){Kr(this,tp,cg).call(this,{type:"pending",variables:t,isPaused:r}),await((s=(i=it(this,fu).config).onMutate)==null?void 0:s.call(i,t,this));const F=await((o=(a=this.options).onMutate)==null?void 0:o.call(a,t));F!==this.state.context&&Kr(this,tp,cg).call(this,{type:"pending",context:F,variables:t,isPaused:r})}const j=await it(this,Lb).start();return await((c=(l=it(this,fu).config).onSuccess)==null?void 0:c.call(l,j,t,this.state.context,this)),await((f=(d=this.options).onSuccess)==null?void 0:f.call(d,j,t,this.state.context)),await((g=(p=it(this,fu).config).onSettled)==null?void 0:g.call(p,j,null,this.state.variables,this.state.context,this)),await((w=(b=this.options).onSettled)==null?void 0:w.call(b,j,null,t,this.state.context)),Kr(this,tp,cg).call(this,{type:"success",data:j}),j}catch(j){try{throw await((T=(x=it(this,fu).config).onError)==null?void 0:T.call(x,j,t,this.state.context,this)),await((C=(_=this.options).onError)==null?void 0:C.call(_,j,t,this.state.context)),await((M=(I=it(this,fu).config).onSettled)==null?void 0:M.call(I,void 0,j,this.state.variables,this.state.context,this)),await((B=($=this.options).onSettled)==null?void 0:B.call($,void 0,j,t,this.state.context)),j}finally{Kr(this,tp,cg).call(this,{type:"error",error:j})}}finally{it(this,fu).runNext(this)}}},ep=new WeakMap,fu=new WeakMap,Lb=new WeakMap,tp=new WeakSet,cg=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),ko.batch(()=>{it(this,ep).forEach(r=>{r.onMutationUpdate(t)}),it(this,fu).notify({mutation:this,type:"updated",action:t})})},xoe);function Yfe(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Mc,c_,Toe,k$e=(Toe=class extends DE{constructor(t={}){super();wr(this,Mc);wr(this,c_);this.config=t,zn(this,Mc,new Map),zn(this,c_,Date.now())}build(t,n,r){const i=new T$e({mutationCache:this,mutationId:++IC(this,c_)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){const n=y4(t),r=it(this,Mc).get(n)??[];r.push(t),it(this,Mc).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=y4(t);if(it(this,Mc).has(n)){const i=(r=it(this,Mc).get(n))==null?void 0:r.filter(s=>s!==t);i&&(i.length===0?it(this,Mc).delete(n):it(this,Mc).set(n,i))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=it(this,Mc).get(y4(t)))==null?void 0:r.find(i=>i.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=it(this,Mc).get(y4(t)))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){ko.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...it(this,Mc).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>xee(n,r))}findAll(t={}){return this.getAll().filter(n=>xee(t,n))}notify(t){ko.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return ko.batch(()=>Promise.all(t.map(n=>n.continue().catch(Hd))))}},Mc=new WeakMap,c_=new WeakMap,Toe);function y4(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function b5(e){return{onFetch:(t,n)=>{var d,f,p,g,b;const r=t.options,i=(p=(f=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:f.fetchMore)==null?void 0:p.direction,s=((g=t.state.data)==null?void 0:g.pages)||[],a=((b=t.state.data)==null?void 0:b.pageParams)||[];let o={pages:[],pageParams:[]},l=0;const c=async()=>{let w=!1;const x=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>(t.signal.aborted?w=!0:t.signal.addEventListener("abort",()=>{w=!0}),t.signal)})},T=Hfe(t.options,t.fetchOptions),_=async(C,I,M)=>{if(w)return Promise.reject();if(I==null&&C.pages.length)return Promise.resolve(C);const $={queryKey:t.queryKey,pageParam:I,direction:M?"backward":"forward",meta:t.options.meta};x($);const B=await T($),{maxPages:j}=t.options,F=M?y$e:b$e;return{pages:F(C.pages,B,j),pageParams:F(C.pageParams,I,j)}};if(i&&s.length){const C=i==="backward",I=C?Zfe:KM,M={pages:s,pageParams:a},$=I(r,M);o=await _(M,$,C)}else{const C=e??s.length;do{const I=l===0?a[0]??r.initialPageParam:KM(r,o);if(l>0&&I==null)break;o=await _(o,I),l++}while(l{var w,x;return(x=(w=t.options).persister)==null?void 0:x.call(w,c,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=c}}}function KM(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Zfe(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}function _$e(e,t){return t?KM(e,t)!=null:!1}function A$e(e,t){return!t||!e.getPreviousPageParam?!1:Zfe(e,t)!=null}var Pa,Cg,Rg,SO,OO,Ig,EO,wO,koe,C$e=(koe=class{constructor(e={}){wr(this,Pa);wr(this,Cg);wr(this,Rg);wr(this,SO);wr(this,OO);wr(this,Ig);wr(this,EO);wr(this,wO);zn(this,Pa,e.queryCache||new Gfe),zn(this,Cg,e.mutationCache||new k$e),zn(this,Rg,e.defaultOptions||{}),zn(this,SO,new Map),zn(this,OO,new Map),zn(this,Ig,0)}mount(){IC(this,Ig)._++,it(this,Ig)===1&&(zn(this,EO,mH.subscribe(async e=>{e&&(await this.resumePausedMutations(),it(this,Pa).onFocus())})),zn(this,wO,g5.subscribe(async e=>{e&&(await this.resumePausedMutations(),it(this,Pa).onOnline())})))}unmount(){var e,t;IC(this,Ig)._--,it(this,Ig)===0&&((e=it(this,EO))==null||e.call(this),zn(this,EO,void 0),(t=it(this,wO))==null||t.call(this),zn(this,wO,void 0))}isFetching(e){return it(this,Pa).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return it(this,Cg).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=it(this,Pa).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=it(this,Pa).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(KS(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return it(this,Pa).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=it(this,Pa).get(r.queryHash),s=i==null?void 0:i.state.data,a=m$e(t,s);if(a!==void 0)return it(this,Pa).build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return ko.batch(()=>it(this,Pa).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=it(this,Pa).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=it(this,Pa);ko.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=it(this,Pa),r={type:"active",...e};return ko.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=ko.batch(()=>it(this,Pa).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(Hd).catch(Hd)}invalidateQueries(e={},t={}){return ko.batch(()=>{if(it(this,Pa).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=ko.batch(()=>it(this,Pa).findAll(e).filter(i=>!i.isDisabled()).map(i=>{let s=i.fetch(void 0,n);return n.throwOnError||(s=s.catch(Hd)),i.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(Hd)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=it(this,Pa).build(this,t);return n.isStaleByTime(KS(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Hd).catch(Hd)}fetchInfiniteQuery(e){return e.behavior=b5(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Hd).catch(Hd)}ensureInfiniteQueryData(e){return e.behavior=b5(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return g5.isOnline()?it(this,Cg).resumePausedMutations():Promise.resolve()}getQueryCache(){return it(this,Pa)}getMutationCache(){return it(this,Cg)}getDefaultOptions(){return it(this,Rg)}setDefaultOptions(e){zn(this,Rg,e)}setQueryDefaults(e,t){it(this,SO).set(fy(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...it(this,SO).values()];let n={};return t.forEach(r=>{Sk(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){it(this,OO).set(fy(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...it(this,OO).values()];let n={};return t.forEach(r=>{Sk(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...it(this,Rg).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=pH(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===zfe&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...it(this,Rg).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){it(this,Pa).clear(),it(this,Cg).clear()}},Pa=new WeakMap,Cg=new WeakMap,Rg=new WeakMap,SO=new WeakMap,OO=new WeakMap,Ig=new WeakMap,EO=new WeakMap,wO=new WeakMap,koe),Gu,Ai,d_,hu,Mb,xO,np,f_,TO,kO,Fb,$b,Dg,_O,rs,jw,JM,e9,t9,n9,r9,i9,s9,Kfe,_oe,Xfe=(_oe=class extends DE{constructor(t,n){super();wr(this,rs);wr(this,Gu);wr(this,Ai);wr(this,d_);wr(this,hu);wr(this,Mb);wr(this,xO);wr(this,np);wr(this,f_);wr(this,TO);wr(this,kO);wr(this,Fb);wr(this,$b);wr(this,Dg);wr(this,_O,new Set);this.options=n,zn(this,Gu,t),zn(this,np,null),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(it(this,Ai).addObserver(this),_ee(it(this,Ai),this.options)?Kr(this,rs,jw).call(this):this.updateResult(),Kr(this,rs,n9).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return a9(it(this,Ai),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return a9(it(this,Ai),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Kr(this,rs,r9).call(this),Kr(this,rs,i9).call(this),it(this,Ai).removeObserver(this)}setOptions(t,n){const r=this.options,i=it(this,Ai);if(this.options=it(this,Gu).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Xf(this.options.enabled,it(this,Ai))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Kr(this,rs,s9).call(this),it(this,Ai).setOptions(this.options),r._defaulted&&!m5(this.options,r)&&it(this,Gu).getQueryCache().notify({type:"observerOptionsUpdated",query:it(this,Ai),observer:this});const s=this.hasListeners();s&&Aee(it(this,Ai),i,this.options,r)&&Kr(this,rs,jw).call(this),this.updateResult(n),s&&(it(this,Ai)!==i||Xf(this.options.enabled,it(this,Ai))!==Xf(r.enabled,it(this,Ai))||KS(this.options.staleTime,it(this,Ai))!==KS(r.staleTime,it(this,Ai)))&&Kr(this,rs,JM).call(this);const a=Kr(this,rs,e9).call(this);s&&(it(this,Ai)!==i||Xf(this.options.enabled,it(this,Ai))!==Xf(r.enabled,it(this,Ai))||a!==it(this,Dg))&&Kr(this,rs,t9).call(this,a)}getOptimisticResult(t){const n=it(this,Gu).getQueryCache().build(it(this,Gu),t),r=this.createResult(n,t);return I$e(this,r)&&(zn(this,hu,r),zn(this,xO,this.options),zn(this,Mb,it(this,Ai).state)),r}getCurrentResult(){return it(this,hu)}trackResult(t,n){const r={};return Object.keys(t).forEach(i=>{Object.defineProperty(r,i,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(i),n==null||n(i),t[i])})}),r}trackProp(t){it(this,_O).add(t)}getCurrentQuery(){return it(this,Ai)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=it(this,Gu).defaultQueryOptions(t),r=it(this,Gu).getQueryCache().build(it(this,Gu),n);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,n))}fetch(t){return Kr(this,rs,jw).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),it(this,hu)))}createResult(t,n){var B;const r=it(this,Ai),i=this.options,s=it(this,hu),a=it(this,Mb),o=it(this,xO),c=t!==r?t.state:it(this,d_),{state:d}=t;let f={...d},p=!1,g;if(n._optimisticResults){const j=this.hasListeners(),F=!j&&_ee(t,n),V=j&&Aee(t,r,n,i);(F||V)&&(f={...f,...Vfe(d.data,t.options)}),n._optimisticResults==="isRestoring"&&(f.fetchStatus="idle")}let{error:b,errorUpdatedAt:w,status:x}=f;if(n.select&&f.data!==void 0)if(s&&f.data===(a==null?void 0:a.data)&&n.select===it(this,f_))g=it(this,TO);else try{zn(this,f_,n.select),g=n.select(f.data),g=XM(s==null?void 0:s.data,g,n),zn(this,TO,g),zn(this,np,null)}catch(j){zn(this,np,j)}else g=f.data;if(n.placeholderData!==void 0&&g===void 0&&x==="pending"){let j;if(s!=null&&s.isPlaceholderData&&n.placeholderData===(o==null?void 0:o.placeholderData))j=s.data;else if(j=typeof n.placeholderData=="function"?n.placeholderData((B=it(this,kO))==null?void 0:B.state.data,it(this,kO)):n.placeholderData,n.select&&j!==void 0)try{j=n.select(j),zn(this,np,null)}catch(F){zn(this,np,F)}j!==void 0&&(x="success",g=XM(s==null?void 0:s.data,j,n),p=!0)}it(this,np)&&(b=it(this,np),g=it(this,TO),w=Date.now(),x="error");const T=f.fetchStatus==="fetching",_=x==="pending",C=x==="error",I=_&&T,M=g!==void 0;return{status:x,fetchStatus:f.fetchStatus,isPending:_,isSuccess:x==="success",isError:C,isInitialLoading:I,isLoading:I,data:g,dataUpdatedAt:f.dataUpdatedAt,error:b,errorUpdatedAt:w,failureCount:f.fetchFailureCount,failureReason:f.fetchFailureReason,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>c.dataUpdateCount||f.errorUpdateCount>c.errorUpdateCount,isFetching:T,isRefetching:T&&!_,isLoadingError:C&&!M,isPaused:f.fetchStatus==="paused",isPlaceholderData:p,isRefetchError:C&&M,isStale:gH(t,n),refetch:this.refetch}}updateResult(t){const n=it(this,hu),r=this.createResult(it(this,Ai),this.options);if(zn(this,Mb,it(this,Ai).state),zn(this,xO,this.options),it(this,Mb).data!==void 0&&zn(this,kO,it(this,Ai)),m5(r,n))return;zn(this,hu,r);const i={},s=()=>{if(!n)return!0;const{notifyOnChangeProps:a}=this.options,o=typeof a=="function"?a():a;if(o==="all"||!o&&!it(this,_O).size)return!0;const l=new Set(o??it(this,_O));return this.options.throwOnError&&l.add("error"),Object.keys(it(this,hu)).some(c=>{const d=c;return it(this,hu)[d]!==n[d]&&l.has(d)})};(t==null?void 0:t.listeners)!==!1&&s()&&(i.listeners=!0),Kr(this,rs,Kfe).call(this,{...i,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Kr(this,rs,n9).call(this)}},Gu=new WeakMap,Ai=new WeakMap,d_=new WeakMap,hu=new WeakMap,Mb=new WeakMap,xO=new WeakMap,np=new WeakMap,f_=new WeakMap,TO=new WeakMap,kO=new WeakMap,Fb=new WeakMap,$b=new WeakMap,Dg=new WeakMap,_O=new WeakMap,rs=new WeakSet,jw=function(t){Kr(this,rs,s9).call(this);let n=it(this,Ai).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(Hd)),n},JM=function(){Kr(this,rs,r9).call(this);const t=KS(this.options.staleTime,it(this,Ai));if(ZO||it(this,hu).isStale||!YM(t))return;const r=Bfe(it(this,hu).dataUpdatedAt,t)+1;zn(this,Fb,setTimeout(()=>{it(this,hu).isStale||this.updateResult()},r))},e9=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(it(this,Ai)):this.options.refetchInterval)??!1},t9=function(t){Kr(this,rs,i9).call(this),zn(this,Dg,t),!(ZO||Xf(this.options.enabled,it(this,Ai))===!1||!YM(it(this,Dg))||it(this,Dg)===0)&&zn(this,$b,setInterval(()=>{(this.options.refetchIntervalInBackground||mH.isFocused())&&Kr(this,rs,jw).call(this)},it(this,Dg)))},n9=function(){Kr(this,rs,JM).call(this),Kr(this,rs,t9).call(this,Kr(this,rs,e9).call(this))},r9=function(){it(this,Fb)&&(clearTimeout(it(this,Fb)),zn(this,Fb,void 0))},i9=function(){it(this,$b)&&(clearInterval(it(this,$b)),zn(this,$b,void 0))},s9=function(){const t=it(this,Gu).getQueryCache().build(it(this,Gu),this.options);if(t===it(this,Ai))return;const n=it(this,Ai);zn(this,Ai,t),zn(this,d_,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},Kfe=function(t){ko.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(it(this,hu))}),it(this,Gu).getQueryCache().notify({query:it(this,Ai),type:"observerResultsUpdated"})})},_oe);function R$e(e,t){return Xf(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function _ee(e,t){return R$e(e,t)||e.state.data!==void 0&&a9(e,t,t.refetchOnMount)}function a9(e,t,n){if(Xf(t.enabled,e)!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&gH(e,t)}return!1}function Aee(e,t,n,r){return(e!==t||Xf(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&gH(e,n)}function gH(e,t){return Xf(t.enabled,e)!==!1&&e.isStaleByTime(KS(t.staleTime,e))}function I$e(e,t){return!m5(e.getCurrentResult(),t)}var D$e=class extends Xfe{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e,t){super.setOptions({...e,behavior:b5()},t)}getOptimisticResult(e){return e.behavior=b5(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){var b,w;const{state:n}=e,r=super.createResult(e,t),{isFetching:i,isRefetching:s,isError:a,isRefetchError:o}=r,l=(w=(b=n.fetchMeta)==null?void 0:b.fetchMore)==null?void 0:w.direction,c=a&&l==="forward",d=i&&l==="forward",f=a&&l==="backward",p=i&&l==="backward";return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:_$e(t,n.data),hasPreviousPage:A$e(t,n.data),isFetchNextPageError:c,isFetchingNextPage:d,isFetchPreviousPageError:f,isFetchingPreviousPage:p,isRefetchError:o&&!c&&!f,isRefetching:s&&!d&&!p}}},Ng,Pg,Yu,q0,rm,H3,o9,Aoe,N$e=(Aoe=class extends DE{constructor(n,r){super();wr(this,rm);wr(this,Ng);wr(this,Pg);wr(this,Yu);wr(this,q0);zn(this,Ng,n),this.setOptions(r),this.bindMethods(),Kr(this,rm,H3).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var i;const r=this.options;this.options=it(this,Ng).defaultMutationOptions(n),m5(this.options,r)||it(this,Ng).getMutationCache().notify({type:"observerOptionsUpdated",mutation:it(this,Yu),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&fy(r.mutationKey)!==fy(this.options.mutationKey)?this.reset():((i=it(this,Yu))==null?void 0:i.state.status)==="pending"&&it(this,Yu).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=it(this,Yu))==null||n.removeObserver(this)}onMutationUpdate(n){Kr(this,rm,H3).call(this),Kr(this,rm,o9).call(this,n)}getCurrentResult(){return it(this,Pg)}reset(){var n;(n=it(this,Yu))==null||n.removeObserver(this),zn(this,Yu,void 0),Kr(this,rm,H3).call(this),Kr(this,rm,o9).call(this)}mutate(n,r){var i;return zn(this,q0,r),(i=it(this,Yu))==null||i.removeObserver(this),zn(this,Yu,it(this,Ng).getMutationCache().build(it(this,Ng),this.options)),it(this,Yu).addObserver(this),it(this,Yu).execute(n)}},Ng=new WeakMap,Pg=new WeakMap,Yu=new WeakMap,q0=new WeakMap,rm=new WeakSet,H3=function(){var r;const n=((r=it(this,Yu))==null?void 0:r.state)??Yfe();zn(this,Pg,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},o9=function(n){ko.batch(()=>{var r,i,s,a,o,l,c,d;if(it(this,q0)&&this.hasListeners()){const f=it(this,Pg).variables,p=it(this,Pg).context;(n==null?void 0:n.type)==="success"?((i=(r=it(this,q0)).onSuccess)==null||i.call(r,n.data,f,p),(a=(s=it(this,q0)).onSettled)==null||a.call(s,n.data,null,f,p)):(n==null?void 0:n.type)==="error"&&((l=(o=it(this,q0)).onError)==null||l.call(o,n.error,f,p),(d=(c=it(this,q0)).onSettled)==null||d.call(c,void 0,n.error,f,p))}this.listeners.forEach(f=>{f(it(this,Pg))})})},Aoe),Jfe=Y.createContext(void 0),NE=e=>{const t=Y.useContext(Jfe);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},P$e=({client:e,children:t})=>(Y.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),U.jsx(Jfe.Provider,{value:e,children:t})),ehe=Y.createContext(!1),L$e=()=>Y.useContext(ehe);ehe.Provider;function M$e(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var F$e=Y.createContext(M$e()),$$e=()=>Y.useContext(F$e);function the(e,t){return typeof e=="function"?e(...t):!!e}function B$e(){}var U$e=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},z$e=e=>{Y.useEffect(()=>{e.clearReset()},[e])},H$e=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&the(n,[e.error,r]),q$e=e=>{e.suspense&&(typeof e.staleTime!="number"&&(e.staleTime=1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},j$e=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,W$e=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function nhe(e,t,n){var c,d,f,p;const r=NE(),i=L$e(),s=$$e(),a=r.defaultQueryOptions(e);(d=(c=r.getDefaultOptions().queries)==null?void 0:c._experimental_beforeQuery)==null||d.call(c,a),a._optimisticResults=i?"isRestoring":"optimistic",q$e(a),U$e(a,s),z$e(s);const[o]=Y.useState(()=>new t(r,a)),l=o.getOptimisticResult(a);if(Y.useSyncExternalStore(Y.useCallback(g=>{const b=i?()=>{}:o.subscribe(ko.batchCalls(g));return o.updateResult(),b},[o,i]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),Y.useEffect(()=>{o.setOptions(a,{listeners:!1})},[a,o]),j$e(a,l))throw W$e(a,o,s);if(H$e({result:l,errorResetBoundary:s,throwOnError:a.throwOnError,query:r.getQueryCache().get(a.queryHash)}))throw l.error;return(p=(f=r.getDefaultOptions().queries)==null?void 0:f._experimental_afterQuery)==null||p.call(f,a,l),a.notifyOnChangeProps?l:o.trackResult(l)}function PE(e,t){return nhe(e,Xfe)}function Rp(e,t){const n=NE(),[r]=Y.useState(()=>new N$e(n,e));Y.useEffect(()=>{r.setOptions(e)},[r,e]);const i=Y.useSyncExternalStore(Y.useCallback(a=>r.subscribe(ko.batchCalls(a)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),s=Y.useCallback((a,o)=>{r.mutate(a,o).catch(B$e)},[r]);if(i.error&&the(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:s,mutateAsync:i.mutate}}function bH(e,t){return nhe(e,D$e)}function rhe(e,t){return function(){return e.apply(t,arguments)}}const{toString:Q$e}=Object.prototype,{getPrototypeOf:yH}=Object,lD=(e=>t=>{const n=Q$e.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),yh=e=>(e=e.toLowerCase(),t=>lD(t)===e),uD=e=>t=>typeof t===e,{isArray:LE}=Array,Ok=uD("undefined");function V$e(e){return e!==null&&!Ok(e)&&e.constructor!==null&&!Ok(e.constructor)&&ad(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ihe=yh("ArrayBuffer");function G$e(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ihe(e.buffer),t}const Y$e=uD("string"),ad=uD("function"),she=uD("number"),cD=e=>e!==null&&typeof e=="object",Z$e=e=>e===!0||e===!1,q3=e=>{if(lD(e)!=="object")return!1;const t=yH(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},X$e=yh("Date"),K$e=yh("File"),J$e=yh("Blob"),eBe=yh("FileList"),tBe=e=>cD(e)&&ad(e.pipe),nBe=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ad(e.append)&&((t=lD(e))==="formdata"||t==="object"&&ad(e.toString)&&e.toString()==="[object FormData]"))},rBe=yh("URLSearchParams"),[iBe,sBe,aBe,oBe]=["ReadableStream","Request","Response","Headers"].map(yh),lBe=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function F_(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),LE(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const xb=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ohe=e=>!Ok(e)&&e!==xb;function l9(){const{caseless:e}=ohe(this)&&this||{},t={},n=(r,i)=>{const s=e&&ahe(t,i)||i;q3(t[s])&&q3(r)?t[s]=l9(t[s],r):q3(r)?t[s]=l9({},r):LE(r)?t[s]=r.slice():t[s]=r};for(let r=0,i=arguments.length;r(F_(t,(i,s)=>{n&&ad(i)?e[s]=rhe(i,n):e[s]=i},{allOwnKeys:r}),e),cBe=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),dBe=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},fBe=(e,t,n,r)=>{let i,s,a;const o={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)a=i[s],(!r||r(a,e,t))&&!o[a]&&(t[a]=e[a],o[a]=!0);e=n!==!1&&yH(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},hBe=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},pBe=e=>{if(!e)return null;if(LE(e))return e;let t=e.length;if(!she(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},mBe=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&yH(Uint8Array)),gBe=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const s=i.value;t.call(e,s[0],s[1])}},bBe=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},yBe=yh("HTMLFormElement"),vBe=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Cee=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),SBe=yh("RegExp"),lhe=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};F_(n,(i,s)=>{let a;(a=t(i,s,e))!==!1&&(r[s]=a||i)}),Object.defineProperties(e,r)},OBe=e=>{lhe(e,(t,n)=>{if(ad(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ad(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},EBe=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return LE(e)?r(e):r(String(e).split(t)),n},wBe=()=>{},xBe=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,mP="abcdefghijklmnopqrstuvwxyz",Ree="0123456789",uhe={DIGIT:Ree,ALPHA:mP,ALPHA_DIGIT:mP+mP.toUpperCase()+Ree},TBe=(e=16,t=uhe.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function kBe(e){return!!(e&&ad(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const _Be=e=>{const t=new Array(10),n=(r,i)=>{if(cD(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const s=LE(r)?[]:{};return F_(r,(a,o)=>{const l=n(a,i+1);!Ok(l)&&(s[o]=l)}),t[i]=void 0,s}}return r};return n(e,0)},ABe=yh("AsyncFunction"),CBe=e=>e&&(cD(e)||ad(e))&&ad(e.then)&&ad(e.catch),che=((e,t)=>e?setImmediate:t?((n,r)=>(xb.addEventListener("message",({source:i,data:s})=>{i===xb&&s===n&&r.length&&r.shift()()},!1),i=>{r.push(i),xb.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",ad(xb.postMessage)),RBe=typeof queueMicrotask<"u"?queueMicrotask.bind(xb):typeof process<"u"&&process.nextTick||che,zt={isArray:LE,isArrayBuffer:ihe,isBuffer:V$e,isFormData:nBe,isArrayBufferView:G$e,isString:Y$e,isNumber:she,isBoolean:Z$e,isObject:cD,isPlainObject:q3,isReadableStream:iBe,isRequest:sBe,isResponse:aBe,isHeaders:oBe,isUndefined:Ok,isDate:X$e,isFile:K$e,isBlob:J$e,isRegExp:SBe,isFunction:ad,isStream:tBe,isURLSearchParams:rBe,isTypedArray:mBe,isFileList:eBe,forEach:F_,merge:l9,extend:uBe,trim:lBe,stripBOM:cBe,inherits:dBe,toFlatObject:fBe,kindOf:lD,kindOfTest:yh,endsWith:hBe,toArray:pBe,forEachEntry:gBe,matchAll:bBe,isHTMLForm:yBe,hasOwnProperty:Cee,hasOwnProp:Cee,reduceDescriptors:lhe,freezeMethods:OBe,toObjectSet:EBe,toCamelCase:vBe,noop:wBe,toFiniteNumber:xBe,findKey:ahe,global:xb,isContextDefined:ohe,ALPHABET:uhe,generateString:TBe,isSpecCompliantForm:kBe,toJSONObject:_Be,isAsyncFn:ABe,isThenable:CBe,setImmediate:che,asap:RBe};function Hr(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}zt.inherits(Hr,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:zt.toJSONObject(this.config),code:this.code,status:this.status}}});const dhe=Hr.prototype,fhe={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{fhe[e]={value:e}});Object.defineProperties(Hr,fhe);Object.defineProperty(dhe,"isAxiosError",{value:!0});Hr.from=(e,t,n,r,i,s)=>{const a=Object.create(dhe);return zt.toFlatObject(e,a,function(l){return l!==Error.prototype},o=>o!=="isAxiosError"),Hr.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,s&&Object.assign(a,s),a};const IBe=null;function u9(e){return zt.isPlainObject(e)||zt.isArray(e)}function hhe(e){return zt.endsWith(e,"[]")?e.slice(0,-2):e}function Iee(e,t,n){return e?e.concat(t).map(function(i,s){return i=hhe(i),!n&&s?"["+i+"]":i}).join(n?".":""):t}function DBe(e){return zt.isArray(e)&&!e.some(u9)}const NBe=zt.toFlatObject(zt,{},null,function(t){return/^is[A-Z]/.test(t)});function dD(e,t,n){if(!zt.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=zt.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,x){return!zt.isUndefined(x[w])});const r=n.metaTokens,i=n.visitor||d,s=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&zt.isSpecCompliantForm(t);if(!zt.isFunction(i))throw new TypeError("visitor must be a function");function c(b){if(b===null)return"";if(zt.isDate(b))return b.toISOString();if(!l&&zt.isBlob(b))throw new Hr("Blob is not supported. Use a Buffer instead.");return zt.isArrayBuffer(b)||zt.isTypedArray(b)?l&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function d(b,w,x){let T=b;if(b&&!x&&typeof b=="object"){if(zt.endsWith(w,"{}"))w=r?w:w.slice(0,-2),b=JSON.stringify(b);else if(zt.isArray(b)&&DBe(b)||(zt.isFileList(b)||zt.endsWith(w,"[]"))&&(T=zt.toArray(b)))return w=hhe(w),T.forEach(function(C,I){!(zt.isUndefined(C)||C===null)&&t.append(a===!0?Iee([w],I,s):a===null?w:w+"[]",c(C))}),!1}return u9(b)?!0:(t.append(Iee(x,w,s),c(b)),!1)}const f=[],p=Object.assign(NBe,{defaultVisitor:d,convertValue:c,isVisitable:u9});function g(b,w){if(!zt.isUndefined(b)){if(f.indexOf(b)!==-1)throw Error("Circular reference detected in "+w.join("."));f.push(b),zt.forEach(b,function(T,_){(!(zt.isUndefined(T)||T===null)&&i.call(t,T,zt.isString(_)?_.trim():_,w,p))===!0&&g(T,w?w.concat(_):[_])}),f.pop()}}if(!zt.isObject(e))throw new TypeError("data must be an object");return g(e),t}function Dee(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function vH(e,t){this._pairs=[],e&&dD(e,this,t)}const phe=vH.prototype;phe.append=function(t,n){this._pairs.push([t,n])};phe.toString=function(t){const n=t?function(r){return t.call(this,r,Dee)}:Dee;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function PBe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function mhe(e,t,n){if(!t)return e;const r=n&&n.encode||PBe,i=n&&n.serialize;let s;if(i?s=i(t,n):s=zt.isURLSearchParams(t)?t.toString():new vH(t,n).toString(r),s){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Nee{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){zt.forEach(this.handlers,function(r){r!==null&&t(r)})}}const ghe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},LBe=typeof URLSearchParams<"u"?URLSearchParams:vH,MBe=typeof FormData<"u"?FormData:null,FBe=typeof Blob<"u"?Blob:null,$Be={isBrowser:!0,classes:{URLSearchParams:LBe,FormData:MBe,Blob:FBe},protocols:["http","https","file","blob","url","data"]},SH=typeof window<"u"&&typeof document<"u",c9=typeof navigator=="object"&&navigator||void 0,BBe=SH&&(!c9||["ReactNative","NativeScript","NS"].indexOf(c9.product)<0),UBe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",zBe=SH&&window.location.href||"http://localhost",HBe=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:SH,hasStandardBrowserEnv:BBe,hasStandardBrowserWebWorkerEnv:UBe,navigator:c9,origin:zBe},Symbol.toStringTag,{value:"Module"})),lc={...HBe,...$Be};function qBe(e,t){return dD(e,new lc.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return lc.isNode&&zt.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function jBe(e){return zt.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function WBe(e){const t={},n=Object.keys(e);let r;const i=n.length;let s;for(r=0;r=n.length;return a=!a&&zt.isArray(i)?i.length:a,l?(zt.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!o):((!i[a]||!zt.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],s)&&zt.isArray(i[a])&&(i[a]=WBe(i[a])),!o)}if(zt.isFormData(e)&&zt.isFunction(e.entries)){const n={};return zt.forEachEntry(e,(r,i)=>{t(jBe(r),i,n,0)}),n}return null}function QBe(e,t,n){if(zt.isString(e))try{return(t||JSON.parse)(e),zt.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const $_={transitional:ghe,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,s=zt.isObject(t);if(s&&zt.isHTMLForm(t)&&(t=new FormData(t)),zt.isFormData(t))return i?JSON.stringify(bhe(t)):t;if(zt.isArrayBuffer(t)||zt.isBuffer(t)||zt.isStream(t)||zt.isFile(t)||zt.isBlob(t)||zt.isReadableStream(t))return t;if(zt.isArrayBufferView(t))return t.buffer;if(zt.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return qBe(t,this.formSerializer).toString();if((o=zt.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return dD(o?{"files[]":t}:t,l&&new l,this.formSerializer)}}return s||i?(n.setContentType("application/json",!1),QBe(t)):t}],transformResponse:[function(t){const n=this.transitional||$_.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(zt.isResponse(t)||zt.isReadableStream(t))return t;if(t&&zt.isString(t)&&(r&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(o){if(a)throw o.name==="SyntaxError"?Hr.from(o,Hr.ERR_BAD_RESPONSE,this,null,this.response):o}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:lc.classes.FormData,Blob:lc.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};zt.forEach(["delete","get","head","post","put","patch"],e=>{$_.headers[e]={}});const VBe=zt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),GBe=e=>{const t={};let n,r,i;return e&&e.split(` -`).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!n||t[n]&&VBe[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Pee=Symbol("internals");function lw(e){return e&&String(e).trim().toLowerCase()}function j3(e){return e===!1||e==null?e:zt.isArray(e)?e.map(j3):String(e)}function YBe(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const ZBe=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function gP(e,t,n,r,i){if(zt.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!zt.isString(t)){if(zt.isString(r))return t.indexOf(r)!==-1;if(zt.isRegExp(r))return r.test(t)}}function XBe(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function KBe(e,t){const n=zt.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,s,a){return this[r].call(this,t,i,s,a)},configurable:!0})})}let uc=class{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function s(o,l,c){const d=lw(l);if(!d)throw new Error("header name must be a non-empty string");const f=zt.findKey(i,d);(!f||i[f]===void 0||c===!0||c===void 0&&i[f]!==!1)&&(i[f||l]=j3(o))}const a=(o,l)=>zt.forEach(o,(c,d)=>s(c,d,l));if(zt.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(zt.isString(t)&&(t=t.trim())&&!ZBe(t))a(GBe(t),n);else if(zt.isHeaders(t))for(const[o,l]of t.entries())s(l,o,r);else t!=null&&s(n,t,r);return this}get(t,n){if(t=lw(t),t){const r=zt.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return YBe(i);if(zt.isFunction(n))return n.call(this,i,r);if(zt.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=lw(t),t){const r=zt.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||gP(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function s(a){if(a=lw(a),a){const o=zt.findKey(r,a);o&&(!n||gP(r,r[o],o,n))&&(delete r[o],i=!0)}}return zt.isArray(t)?t.forEach(s):s(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const s=n[r];(!t||gP(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const n=this,r={};return zt.forEach(this,(i,s)=>{const a=zt.findKey(r,s);if(a){n[a]=j3(i),delete n[s];return}const o=t?XBe(s):String(s).trim();o!==s&&delete n[s],n[o]=j3(i),r[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return zt.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&zt.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Pee]=this[Pee]={accessors:{}}).accessors,i=this.prototype;function s(a){const o=lw(a);r[o]||(KBe(i,a),r[o]=!0)}return zt.isArray(t)?t.forEach(s):s(t),this}};uc.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);zt.reduceDescriptors(uc.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});zt.freezeMethods(uc);function bP(e,t){const n=this||$_,r=t||n,i=uc.from(r.headers);let s=r.data;return zt.forEach(e,function(o){s=o.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function yhe(e){return!!(e&&e.__CANCEL__)}function ME(e,t,n){Hr.call(this,e??"canceled",Hr.ERR_CANCELED,t,n),this.name="CanceledError"}zt.inherits(ME,Hr,{__CANCEL__:!0});function vhe(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Hr("Request failed with status code "+n.status,[Hr.ERR_BAD_REQUEST,Hr.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function JBe(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function eUe(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,s=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),d=r[s];a||(a=c),n[i]=l,r[i]=c;let f=s,p=0;for(;f!==i;)p+=n[f++],f=f%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),c-a{n=d,i=null,s&&(clearTimeout(s),s=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),f=d-n;f>=r?a(c,d):(i=c,s||(s=setTimeout(()=>{s=null,a(i)},r-f)))},()=>i&&a(i)]}const y5=(e,t,n=3)=>{let r=0;const i=eUe(50,250);return tUe(s=>{const a=s.loaded,o=s.lengthComputable?s.total:void 0,l=a-r,c=i(l),d=a<=o;r=a;const f={loaded:a,total:o,progress:o?a/o:void 0,bytes:l,rate:c||void 0,estimated:c&&o&&d?(o-a)/c:void 0,event:s,lengthComputable:o!=null,[t?"download":"upload"]:!0};e(f)},n)},Lee=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Mee=e=>(...t)=>zt.asap(()=>e(...t)),nUe=lc.hasStandardBrowserEnv?function(){const t=lc.navigator&&/(msie|trident)/i.test(lc.navigator.userAgent),n=document.createElement("a");let r;function i(s){let a=s;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(a){const o=zt.isString(a)?i(a):a;return o.protocol===r.protocol&&o.host===r.host}}():function(){return function(){return!0}}(),rUe=lc.hasStandardBrowserEnv?{write(e,t,n,r,i,s){const a=[e+"="+encodeURIComponent(t)];zt.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),zt.isString(r)&&a.push("path="+r),zt.isString(i)&&a.push("domain="+i),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function iUe(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function sUe(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function She(e,t){return e&&!iUe(t)?sUe(e,t):t}const Fee=e=>e instanceof uc?{...e}:e;function hy(e,t){t=t||{};const n={};function r(c,d,f){return zt.isPlainObject(c)&&zt.isPlainObject(d)?zt.merge.call({caseless:f},c,d):zt.isPlainObject(d)?zt.merge({},d):zt.isArray(d)?d.slice():d}function i(c,d,f){if(zt.isUndefined(d)){if(!zt.isUndefined(c))return r(void 0,c,f)}else return r(c,d,f)}function s(c,d){if(!zt.isUndefined(d))return r(void 0,d)}function a(c,d){if(zt.isUndefined(d)){if(!zt.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function o(c,d,f){if(f in t)return r(c,d);if(f in e)return r(void 0,c)}const l={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:o,headers:(c,d)=>i(Fee(c),Fee(d),!0)};return zt.forEach(Object.keys(Object.assign({},e,t)),function(d){const f=l[d]||i,p=f(e[d],t[d],d);zt.isUndefined(p)&&f!==o||(n[d]=p)}),n}const Ohe=e=>{const t=hy({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:o}=t;t.headers=a=uc.from(a),t.url=mhe(She(t.baseURL,t.url),e.params,e.paramsSerializer),o&&a.set("Authorization","Basic "+btoa((o.username||"")+":"+(o.password?unescape(encodeURIComponent(o.password)):"")));let l;if(zt.isFormData(n)){if(lc.hasStandardBrowserEnv||lc.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((l=a.getContentType())!==!1){const[c,...d]=l?l.split(";").map(f=>f.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...d].join("; "))}}if(lc.hasStandardBrowserEnv&&(r&&zt.isFunction(r)&&(r=r(t)),r||r!==!1&&nUe(t.url))){const c=i&&s&&rUe.read(s);c&&a.set(i,c)}return t},aUe=typeof XMLHttpRequest<"u",oUe=aUe&&function(e){return new Promise(function(n,r){const i=Ohe(e);let s=i.data;const a=uc.from(i.headers).normalize();let{responseType:o,onUploadProgress:l,onDownloadProgress:c}=i,d,f,p,g,b;function w(){g&&g(),b&&b(),i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let x=new XMLHttpRequest;x.open(i.method.toUpperCase(),i.url,!0),x.timeout=i.timeout;function T(){if(!x)return;const C=uc.from("getAllResponseHeaders"in x&&x.getAllResponseHeaders()),M={data:!o||o==="text"||o==="json"?x.responseText:x.response,status:x.status,statusText:x.statusText,headers:C,config:e,request:x};vhe(function(B){n(B),w()},function(B){r(B),w()},M),x=null}"onloadend"in x?x.onloadend=T:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0)||setTimeout(T)},x.onabort=function(){x&&(r(new Hr("Request aborted",Hr.ECONNABORTED,e,x)),x=null)},x.onerror=function(){r(new Hr("Network Error",Hr.ERR_NETWORK,e,x)),x=null},x.ontimeout=function(){let I=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const M=i.transitional||ghe;i.timeoutErrorMessage&&(I=i.timeoutErrorMessage),r(new Hr(I,M.clarifyTimeoutError?Hr.ETIMEDOUT:Hr.ECONNABORTED,e,x)),x=null},s===void 0&&a.setContentType(null),"setRequestHeader"in x&&zt.forEach(a.toJSON(),function(I,M){x.setRequestHeader(M,I)}),zt.isUndefined(i.withCredentials)||(x.withCredentials=!!i.withCredentials),o&&o!=="json"&&(x.responseType=i.responseType),c&&([p,b]=y5(c,!0),x.addEventListener("progress",p)),l&&x.upload&&([f,g]=y5(l),x.upload.addEventListener("progress",f),x.upload.addEventListener("loadend",g)),(i.cancelToken||i.signal)&&(d=C=>{x&&(r(!C||C.type?new ME(null,e,x):C),x.abort(),x=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const _=JBe(i.url);if(_&&lc.protocols.indexOf(_)===-1){r(new Hr("Unsupported protocol "+_+":",Hr.ERR_BAD_REQUEST,e));return}x.send(s||null)})},lUe=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const s=function(c){if(!i){i=!0,o();const d=c instanceof Error?c:this.reason;r.abort(d instanceof Hr?d:new ME(d instanceof Error?d.message:d))}};let a=t&&setTimeout(()=>{a=null,s(new Hr(`timeout ${t} of ms exceeded`,Hr.ETIMEDOUT))},t);const o=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(s):c.removeEventListener("abort",s)}),e=null)};e.forEach(c=>c.addEventListener("abort",s));const{signal:l}=r;return l.unsubscribe=()=>zt.asap(o),l}},uUe=function*(e,t){let n=e.byteLength;if(n{const i=cUe(e,t);let s=0,a,o=l=>{a||(a=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:d}=await i.next();if(c){o(),l.close();return}let f=d.byteLength;if(n){let p=s+=f;n(p)}l.enqueue(new Uint8Array(d))}catch(c){throw o(c),c}},cancel(l){return o(l),i.return()}},{highWaterMark:2})},fD=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ehe=fD&&typeof ReadableStream=="function",fUe=fD&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),whe=(e,...t)=>{try{return!!e(...t)}catch{return!1}},hUe=Ehe&&whe(()=>{let e=!1;const t=new Request(lc.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Bee=64*1024,d9=Ehe&&whe(()=>zt.isReadableStream(new Response("").body)),v5={stream:d9&&(e=>e.body)};fD&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!v5[t]&&(v5[t]=zt.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new Hr(`Response type '${t}' is not supported`,Hr.ERR_NOT_SUPPORT,r)})})})(new Response);const pUe=async e=>{if(e==null)return 0;if(zt.isBlob(e))return e.size;if(zt.isSpecCompliantForm(e))return(await new Request(lc.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(zt.isArrayBufferView(e)||zt.isArrayBuffer(e))return e.byteLength;if(zt.isURLSearchParams(e)&&(e=e+""),zt.isString(e))return(await fUe(e)).byteLength},mUe=async(e,t)=>{const n=zt.toFiniteNumber(e.getContentLength());return n??pUe(t)},gUe=fD&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:s,timeout:a,onDownloadProgress:o,onUploadProgress:l,responseType:c,headers:d,withCredentials:f="same-origin",fetchOptions:p}=Ohe(e);c=c?(c+"").toLowerCase():"text";let g=lUe([i,s&&s.toAbortSignal()],a),b;const w=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let x;try{if(l&&hUe&&n!=="get"&&n!=="head"&&(x=await mUe(d,r))!==0){let M=new Request(t,{method:"POST",body:r,duplex:"half"}),$;if(zt.isFormData(r)&&($=M.headers.get("content-type"))&&d.setContentType($),M.body){const[B,j]=Lee(x,y5(Mee(l)));r=$ee(M.body,Bee,B,j)}}zt.isString(f)||(f=f?"include":"omit");const T="credentials"in Request.prototype;b=new Request(t,{...p,signal:g,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:T?f:void 0});let _=await fetch(b);const C=d9&&(c==="stream"||c==="response");if(d9&&(o||C&&w)){const M={};["status","statusText","headers"].forEach(F=>{M[F]=_[F]});const $=zt.toFiniteNumber(_.headers.get("content-length")),[B,j]=o&&Lee($,y5(Mee(o),!0))||[];_=new Response($ee(_.body,Bee,B,()=>{j&&j(),w&&w()}),M)}c=c||"text";let I=await v5[zt.findKey(v5,c)||"text"](_,e);return!C&&w&&w(),await new Promise((M,$)=>{vhe(M,$,{data:I,headers:uc.from(_.headers),status:_.status,statusText:_.statusText,config:e,request:b})})}catch(T){throw w&&w(),T&&T.name==="TypeError"&&/fetch/i.test(T.message)?Object.assign(new Hr("Network Error",Hr.ERR_NETWORK,e,b),{cause:T.cause||T}):Hr.from(T,T&&T.code,e,b)}}),f9={http:IBe,xhr:oUe,fetch:gUe};zt.forEach(f9,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Uee=e=>`- ${e}`,bUe=e=>zt.isFunction(e)||e===null||e===!1,xhe={getAdapter:e=>{e=zt.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let s=0;s`adapter ${o} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?s.length>1?`since : +Error:`,i)}}function g9e(){return e9e(e=>{IE("cls",{metric:e}),hfe=e},{reportAllChanges:!0})}function b9e(){return r9e(e=>{IE("fid",{metric:e}),pfe=e})}function y9e(){return u9e(e=>{IE("lcp",{metric:e}),mfe=e})}function v9e(){return c9e(e=>{IE("ttfb",{metric:e}),gfe=e})}function S9e(){return l9e(e=>{IE("inp",{metric:e}),bfe=e})}function M_(e,t,n,r,i=!1){yfe(e,t);let s;return p5[e]||(s=n(),p5[e]=!0),r&&t({metric:r}),vfe(e,t,i?s:void 0)}function O9e(e){const t={};e==="event"&&(t.durationThreshold=0),RE(e,n=>{IE(e,{entries:n})},t)}function yfe(e,t){yT[e]=yT[e]||[],yT[e].push(t)}function vfe(e,t,n){return()=>{n&&n();const r=yT[e];if(!r)return;const i=r.indexOf(t);i!==-1&&r.splice(i,1)}}function dP(e){return typeof e=="number"&&isFinite(e)}function GO(e,{startTimestamp:t,...n}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...n})}const E9e=2147483647;function _o(e){return e/1e3}function cH(){return qr&&qr.addEventListener&&qr.performance}let pee=0,La={},Xh,vT;function w9e(){const e=cH();if(e&&pf){e.mark&&qr.performance.mark("sentry-tracing-init");const t=C9e(),n=_9e(),r=A9e(),i=R9e();return()=>{t(),n(),r(),i()}}return()=>{}}function x9e(){vk("longtask",({entries:e})=>{for(const t of e){const n=dy();if(!n)return;const r=_o(pf+t.startTime),i=_o(t.duration);n.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:r,endTimestamp:r+i})}})}function T9e(){vk("event",({entries:e})=>{for(const t of e){const n=dy();if(!n)return;if(t.name==="click"){const r=_o(pf+t.startTime),i=_o(t.duration),s={description:WO(t.target),op:`ui.interaction.${t.name}`,origin:"auto.ui.browser.metrics",startTimestamp:r,endTimestamp:r+i},a=Ode(t.target);a&&(s.attributes={"ui.component_name":a}),n.startChild(s)}}})}function k9e(e,t){if(cH()&&pf){const r=I9e(e,t);return()=>{r()}}return()=>{}}function _9e(){return d9e(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Fs&&un.log("[Measurements] Adding CLS"),La.cls={value:e.value,unit:""},vT=t)},!0)}function A9e(){return f9e(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(Fs&&un.log("[Measurements] Adding LCP"),La.lcp={value:e.value,unit:"millisecond"},Xh=t)},!0)}function C9e(){return p9e(({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;const n=_o(pf),r=_o(t.startTime);Fs&&un.log("[Measurements] Adding FID"),La.fid={value:e.value,unit:"millisecond"},La["mark.fid"]={value:n+r,unit:"second"}})}function R9e(){return h9e(({metric:e})=>{e.entries[e.entries.length-1]&&(Fs&&un.log("[Measurements] Adding TTFB"),La.ttfb={value:e.value,unit:"millisecond"})})}const mee={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function I9e(e,t){return m9e(({metric:n})=>{if(n.value===void 0)return;const r=n.entries.find(C=>C.duration===n.value&&mee[C.name]!==void 0),i=No();if(!r||!i)return;const s=mee[r.name],a=i.getOptions(),o=_o(pf+r.startTime),l=_o(n.value),c=r.interactionId!==void 0?e[r.interactionId]:void 0;if(c===void 0)return;const{routeName:d,parentContext:f,activeTransaction:p,user:g,replayId:b}=c,w=g!==void 0?g.email||g.id||g.ip_address:void 0,x=p!==void 0?p.getProfileId():void 0,T=new sD({startTimestamp:o,endTimestamp:o+l,op:`ui.interaction.${s}`,name:WO(r.target),attributes:{release:a.release,environment:a.environment,transaction:d,...w!==void 0&&w!==""?{user:w}:{},...x!==void 0?{profile_id:x}:{},...b!==void 0?{replay_id:b}:{}},exclusiveTime:n.value,measurements:{inp:{value:n.value,unit:"millisecond"}}}),_=U9e(f,a,t);if(_&&Math.random()<_){const C=T?MMe([T],i.getDsn()):void 0,I=i&&i.getTransport();I&&C&&I.send(C).then(null,M=>{Fs&&un.error("Error while sending interaction:",M)});return}})}function D9e(e){const t=cH();if(!t||!qr.performance.getEntries||!pf)return;Fs&&un.log("[Tracing] Adding & adjusting spans using Performance API");const n=_o(pf),r=t.getEntries(),{op:i,start_timestamp:s}=wu(e);if(r.slice(pee).forEach(a=>{const o=_o(a.startTime),l=_o(a.duration);if(!(e.op==="navigation"&&s&&n+o{if(!La[o]||!s||n>=s)return;const l=La[o].value,c=n+_o(l),d=Math.abs((c-s)*1e3),f=d-l;Fs&&un.log(`[Measurements] Normalized ${o} from ${l} to ${d} (${f})`),La[o].value=d});const a=La["mark.fid"];a&&La.fid&&(GO(e,{description:"first input delay",endTimestamp:a.value+_o(La.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:a.value}),delete La["mark.fid"]),"fcp"in La||delete La.cls,Object.keys(La).forEach(o=>{hMe(o,La[o].value,La[o].unit)}),$9e(e)}Xh=void 0,vT=void 0,La={}}function N9e(e,t,n,r,i){const s=i+n,a=s+r;return GO(e,{description:t.name,endTimestamp:a,op:t.entryType,origin:"auto.resource.browser.metrics",startTimestamp:s}),s}function P9e(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{g4(e,t,r,n)}),g4(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),g4(e,t,"fetch",n,"cache","domainLookupStart"),g4(e,t,"domainLookup",n,"DNS"),L9e(e,t,n)}function g4(e,t,n,r,i,s){const a=s?t[s]:t[`${n}End`],o=t[`${n}Start`];!o||!a||GO(e,{op:"browser",origin:"auto.browser.browser.metrics",description:i||n,startTimestamp:r+_o(o),endTimestamp:r+_o(a)})}function L9e(e,t,n){t.responseEnd&&(GO(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:n+_o(t.requestStart),endTimestamp:n+_o(t.responseEnd)}),GO(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:n+_o(t.responseStart),endTimestamp:n+_o(t.responseEnd)}))}function M9e(e,t,n,r,i,s){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const a=jb(n),o={};fP(o,t,"transferSize","http.response_transfer_size"),fP(o,t,"encodedBodySize","http.response_content_length"),fP(o,t,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in t&&(o["resource.render_blocking_status"]=t.renderBlockingStatus),a.protocol&&(o["url.scheme"]=a.protocol.split(":").pop()),a.host&&(o["server.address"]=a.host),o["url.same_origin"]=n.includes(qr.location.origin);const l=s+r,c=l+i;GO(e,{description:n.replace(qr.location.origin,""),endTimestamp:c,op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",origin:"auto.resource.browser.metrics",startTimestamp:l,data:o})}function F9e(e){const t=qr.navigator;if(!t)return;const n=t.connection;n&&(n.effectiveType&&e.setTag("effectiveConnectionType",n.effectiveType),n.type&&e.setTag("connectionType",n.type),dP(n.rtt)&&(La["connection.rtt"]={value:n.rtt,unit:"millisecond"})),dP(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`),dP(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}function $9e(e){Xh&&(Fs&&un.log("[Measurements] Adding LCP Data"),Xh.element&&e.setTag("lcp.element",WO(Xh.element)),Xh.id&&e.setTag("lcp.id",Xh.id),Xh.url&&e.setTag("lcp.url",Xh.url.trim().slice(0,200)),e.setTag("lcp.size",Xh.size)),vT&&vT.sources&&(Fs&&un.log("[Measurements] Adding CLS Data"),vT.sources.forEach((t,n)=>e.setTag(`cls.source.${n+1}`,WO(t.node))))}function fP(e,t,n,r){const i=t[n];i!=null&&i0?w.join(","):void 0}}else return{"sentry-trace":f,baggage:p}}function q9e(e){try{return new URL(e).href}catch{return}}function j9e(e,t){if(t.response){oH(e,t.response.status);const n=t.response&&t.response.headers&&t.response.headers.get("content-length");if(n){const r=parseInt(n);r>0&&e.setAttribute("http.response_content_length",r)}}else t.error&&e.setStatus("internal_error");e.end()}const WM=["localhost",/^\/(?!\/)/],QM={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:WM,tracePropagationTargets:WM};function W9e(e){const{traceFetch:t,traceXHR:n,tracePropagationTargets:r,tracingOrigins:i,shouldCreateSpanForRequest:s,enableHTTPTimings:a}={traceFetch:QM.traceFetch,traceXHR:QM.traceXHR,...e},o=typeof s=="function"?s:d=>!0,l=d=>Y9e(d,r||i),c={};t&&Rde(d=>{const f=z9e(d,o,l,c);if(f){const p=Sfe(d.fetchData.url),g=p?jb(p).host:void 0;f.setAttributes({"http.url":p,"server.address":g})}a&&f&&gee(f)}),n&&Nde(d=>{const f=Z9e(d,o,l,c);a&&f&&gee(f)})}function Q9e(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function gee(e){const{url:t}=wu(e).data||{};if(!t||typeof t!="string")return;const n=vk("resource",({entries:r})=>{r.forEach(i=>{Q9e(i)&&i.name.endsWith(t)&&(G9e(i).forEach(a=>e.setAttribute(...a)),setTimeout(n))})})}function V9e(e){let t="unknown",n="unknown",r="";for(const i of e){if(i==="/"){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t=r==="h"?"http":r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}}function Wh(e=0){return((pf||performance.timeOrigin)+e)/1e3}function G9e(e){const{name:t,version:n}=V9e(e.nextHopProtocol),r=[];return r.push(["network.protocol.version",n],["network.protocol.name",t]),pf?[...r,["http.request.redirect_start",Wh(e.redirectStart)],["http.request.fetch_start",Wh(e.fetchStart)],["http.request.domain_lookup_start",Wh(e.domainLookupStart)],["http.request.domain_lookup_end",Wh(e.domainLookupEnd)],["http.request.connect_start",Wh(e.connectStart)],["http.request.secure_connection_start",Wh(e.secureConnectionStart)],["http.request.connection_end",Wh(e.connectEnd)],["http.request.request_start",Wh(e.requestStart)],["http.request.response_start",Wh(e.responseStart)],["http.request.response_end",Wh(e.responseEnd)]]:r}function Y9e(e,t){return C_(e,t||WM)}function Z9e(e,t,n,r){const i=e.xhr,s=i&&i[RS];if(!CE()||!i||i.__sentry_own_request__||!s)return;const a=t(s.url);if(e.endTimestamp&&a){const g=i.__sentry_xhr_span_id__;if(!g)return;const b=r[g];b&&s.status_code!==void 0&&(oH(b,s.status_code),b.end(),delete r[g]);return}const o=Cp(),l=Dy(),c=Sfe(s.url),d=c?jb(c).host:void 0,f=a?Yde({name:`${s.method} ${s.url}`,onlyIfParent:!0,attributes:{type:"xhr","http.method":s.method,"http.url":c,url:s.url,"server.address":d,[wb]:"auto.http.browser"},op:"http.client"}):void 0;f&&(i.__sentry_xhr_span_id__=f.spanContext().spanId,r[i.__sentry_xhr_span_id__]=f);const p=No();if(i.setRequestHeader&&n(s.url)&&p){const{traceId:g,spanId:b,sampled:w,dsc:x}={...l.getPropagationContext(),...o.getPropagationContext()},T=f?nD(f):rH(g,b,w),_=Fde(x||(f?VO(f):iD(g,p,o)));X9e(i,T,_)}return f}function X9e(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader($M,n)}catch{}}function Sfe(e){try{return new URL(e,qr.location.origin).href}catch{return}}function K9e(e,t=!0,n=!0){if(!qr||!qr.location){Fs&&un.warn("Could not initialize routing instrumentation due to invalid location");return}let r=qr.location.href,i;t&&(i=e({name:qr.location.pathname,startTimestamp:pf?pf/1e3:void 0,op:"pageload",origin:"auto.pageload.browser",metadata:{source:"url"}})),n&&tH(({to:s,from:a})=>{if(a===void 0&&r&&r.indexOf(s)!==-1){r=void 0;return}a!==s&&(r=void 0,i&&(Fs&&un.log(`[Tracing] Finishing current transaction with op: ${i.op}`),i.end()),i=e({name:qr.location.pathname,op:"navigation",origin:"auto.navigation.browser",metadata:{source:"url"}}))})}const J9e="BrowserTracing",eFe={...z3,markBackgroundTransactions:!0,routingInstrumentation:K9e,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{},...QM},bee=10;class tFe{constructor(t){this.name=J9e,this._hasSetTracePropagationTargets=!1,fMe(),Fs&&(this._hasSetTracePropagationTargets=!!(t&&(t.tracePropagationTargets||t.tracingOrigins))),this.options={...eFe,...t},this.options._experiments.enableLongTask!==void 0&&(this.options.enableLongTask=this.options._experiments.enableLongTask),t&&!t.tracePropagationTargets&&t.tracingOrigins&&(this.options.tracePropagationTargets=t.tracingOrigins),this._collectWebVitals=w9e(),this._interactionIdToRouteNameMapping={},this.options.enableInp&&k9e(this._interactionIdToRouteNameMapping,this.options.interactionsSampleRate),this.options.enableLongTask&&x9e(),this.options._experiments.enableInteractions&&T9e(),this._latestRoute={name:void 0,context:void 0}}setupOnce(t,n){this._getCurrentHub=n;const i=n().getClient(),s=i&&i.getOptions(),{routingInstrumentation:a,startTransactionOnLocationChange:o,startTransactionOnPageLoad:l,markBackgroundTransactions:c,traceFetch:d,traceXHR:f,shouldCreateSpanForRequest:p,enableHTTPTimings:g,_experiments:b}=this.options,w=s&&s.tracePropagationTargets,x=w||this.options.tracePropagationTargets;Fs&&this._hasSetTracePropagationTargets&&w&&un.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used."),a(T=>{const _=this._createRouteTransaction(T);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(_,T,n),_},l,o),c&&XMe(),b.enableInteractions&&this._registerInteractionListener(),this.options.enableInp&&this._registerInpInteractionListener(),W9e({traceFetch:d,traceXHR:f,tracePropagationTargets:x,shouldCreateSpanForRequest:p,enableHTTPTimings:g})}_createRouteTransaction(t){if(!this._getCurrentHub){Fs&&un.warn(`[Tracing] Did not create ${t.op} transaction because _getCurrentHub is invalid.`);return}const n=this._getCurrentHub(),{beforeNavigate:r,idleTimeout:i,finalTimeout:s,heartbeatInterval:a}=this.options,o=t.op==="pageload";let l;if(o){const g=o?yee("sentry-trace"):"",b=o?yee("baggage"):void 0,{traceId:w,dsc:x,parentSpanId:T,sampled:_}=b8e(g,b);l={traceId:w,parentSpanId:T,parentSampled:_,...t,metadata:{...t.metadata,dynamicSamplingContext:x},trimEnd:!0}}else l={trimEnd:!0,...t};const c=typeof r=="function"?r(l):l,d=c===void 0?{...l,sampled:!1}:c;d.metadata=d.name!==l.name?{...d.metadata,source:"custom"}:d.metadata,this._latestRoute.name=d.name,this._latestRoute.context=d,d.sampled===!1&&Fs&&un.log(`[Tracing] Will not send ${d.op} transaction because of beforeNavigate.`),Fs&&un.log(`[Tracing] Starting ${d.op} transaction on scope`);const{location:f}=qr,p=iee(n,d,i,s,!0,{location:f},a,o);return o&&qr.document&&(qr.document.addEventListener("readystatechange",()=>{["interactive","complete"].includes(qr.document.readyState)&&p.sendAutoFinishSignal()}),["interactive","complete"].includes(qr.document.readyState)&&p.sendAutoFinishSignal()),p.registerBeforeFinishCallback(g=>{this._collectWebVitals(),D9e(g)}),p}_registerInteractionListener(){let t;const n=()=>{const{idleTimeout:r,finalTimeout:i,heartbeatInterval:s}=this.options,a="ui.action.click",o=dy();if(o&&o.op&&["navigation","pageload"].includes(o.op)){Fs&&un.warn(`[Tracing] Did not create ${a} transaction because a pageload or navigation transaction is in progress.`);return}if(t&&(t.setFinishReason("interactionInterrupted"),t.end(),t=void 0),!this._getCurrentHub){Fs&&un.warn(`[Tracing] Did not create ${a} transaction because _getCurrentHub is invalid.`);return}if(!this._latestRoute.name){Fs&&un.warn(`[Tracing] Did not create ${a} transaction because _latestRouteName is missing.`);return}const l=this._getCurrentHub(),{location:c}=qr,d={name:this._latestRoute.name,op:a,trimEnd:!0,data:{[Wb]:this._latestRoute.context?nFe(this._latestRoute.context):"url"}};t=iee(l,d,r,i,!0,{location:c},s)};["click"].forEach(r=>{qr.document&&addEventListener(r,n,{once:!1,capture:!0})})}_registerInpInteractionListener(){const t=({entries:n})=>{const r=No(),i=r!==void 0&&r.getIntegrationByName!==void 0?r.getIntegrationByName("Replay"):void 0,s=i!==void 0?i.getReplayId():void 0,a=dy(),o=Cp(),l=o!==void 0?o.getUser():void 0;n.forEach(c=>{if(rFe(c)){const d=c.interactionId;if(d===void 0)return;const f=this._interactionIdToRouteNameMapping[d],p=c.duration,g=c.startTime,b=Object.keys(this._interactionIdToRouteNameMapping),w=b.length>0?b.reduce((x,T)=>this._interactionIdToRouteNameMapping[x].durationthis._interactionIdToRouteNameMapping[T]).some(T=>T.duration===p&&T.startTime===g)||!d)return;if(f)f.duration=Math.max(f.duration,p);else if(b.lengththis._interactionIdToRouteNameMapping[w].duration){const x=this._latestRoute.name,T=this._latestRoute.context;x&&T&&(w&&Object.keys(this._interactionIdToRouteNameMapping).length>=bee&&delete this._interactionIdToRouteNameMapping[w],this._interactionIdToRouteNameMapping[d]={routeName:x,duration:p,parentContext:T,user:l,activeTransaction:a,replayId:s,startTime:g})}}})};vk("event",t),vk("first-input",t)}}function yee(e){const t=xLe(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}function nFe(e){const t=e.attributes&&e.attributes[Wb],n=e.data&&e.data[Wb],r=e.metadata&&e.metadata.source;return t||n||r}function rFe(e){return"duration"in e}const ts=Ji;let VM=0;function Ofe(){return VM>0}function iFe(){VM++,setTimeout(()=>{VM--})}function YO(e,t={},n){if(typeof e!="function")return e;try{const i=e.__sentry_wrapped__;if(i)return i;if(eH(e))return e}catch{return e}const r=function(){const i=Array.prototype.slice.call(arguments);try{const s=i.map(a=>YO(a,t));return e.apply(this,s)}catch(s){throw iFe(),H8e(a=>{a.addEventProcessor(o=>(t.mechanism&&(IM(o,void 0),yk(o,t.mechanism)),o.extra={...o.extra,arguments:i},o)),z8e(s)}),s}};try{for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i])}catch{}wde(r,e),ly(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}const Q0=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function Efe(e,t){const n=dH(e,t),r={type:t&&t.name,value:lFe(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function sFe(e,t,n,r){const i=No(),s=i&&i.getOptions().normalizeDepth,a={exception:{values:[{type:K6(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:dFe(t,{isUnhandledRejection:r})}]},extra:{__serialized__:Pde(t,s)}};if(n){const o=dH(e,n);o.length&&(a.exception.values[0].stacktrace={frames:o})}return a}function hP(e,t){return{exception:{values:[Efe(e,t)]}}}function dH(e,t){const n=t.stacktrace||t.stack||"",r=oFe(t);try{return e(n,r)}catch{}return[]}const aFe=/Minified React error #\d+;/i;function oFe(e){if(e){if(typeof e.framesToPop=="number")return e.framesToPop;if(aFe.test(e.message))return 1}return 0}function lFe(e){const t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function uFe(e,t,n,r){const i=n&&n.syntheticException||void 0,s=fH(e,t,i,r);return yk(s),s.level="error",n&&n.event_id&&(s.event_id=n.event_id),QO(s)}function cFe(e,t,n="info",r,i){const s=r&&r.syntheticException||void 0,a=GM(e,t,s,i);return a.level=n,r&&r.event_id&&(a.event_id=r.event_id),QO(a)}function fH(e,t,n,r,i){let s;if(Zz(t)&&t.error)return hP(e,t.error);if(NJ(t)||pLe(t)){const a=t;if("stack"in t)s=hP(e,t);else{const o=a.name||(NJ(a)?"DOMError":"DOMException"),l=a.message?`${o}: ${a.message}`:o;s=GM(e,l,n,r),IM(s,l)}return"code"in a&&(s.tags={...s.tags,"DOMException.code":`${a.code}`}),s}return bde(t)?hP(e,t):jO(t)||K6(t)?(s=sFe(e,t,n,i),yk(s,{synthetic:!0}),s):(s=GM(e,t,n,r),IM(s,`${t}`),yk(s,{synthetic:!0}),s)}function GM(e,t,n,r){const i={};if(r&&n){const s=dH(e,n);s.length&&(i.exception={values:[{value:t,stacktrace:{frames:s}}]})}if(Xz(t)){const{__sentry_template_string__:s,__sentry_template_values__:a}=t;return i.logentry={message:s,params:a},i}return i.message=t,i}function dFe(e,{isUnhandledRejection:t}){const n=NLe(e),r=t?"promise rejection":"exception";return Zz(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:K6(e)?`Event \`${fFe(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function fFe(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function hFe(e,{metadata:t,tunnel:n,dsn:r}){const i={event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:AE(r)}},s=pFe(e);return Iy(i,[s])}function pFe(e){return[{type:"user_report"},e]}class mFe extends CMe{constructor(t){const n=ts.SENTRY_SDK_SOURCE||t8e();afe(t,"browser",["browser"],n),super(t),t.sendClientReports&&ts.document&&ts.document.addEventListener("visibilitychange",()=>{ts.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,n){return uFe(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return cFe(this._options.stackParser,t,n,r,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled()){Q0&&un.warn("SDK not enabled, will not capture user feedback.");return}const n=hFe(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(n)}_prepareEvent(t,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r)}_flushOutcomes(){const t=this._clearOutcomes();if(t.length===0){Q0&&un.log("No outcomes to send");return}if(!this._dsn){Q0&&un.log("No dsn provided, will not send outcomes");return}Q0&&un.log("Sending outcomes:",t);const n=x8e(t,this._options.tunnel&&AE(this._dsn));this._sendEnvelope(n)}}let qw;function gFe(){if(qw)return qw;if(LM(ts.fetch))return qw=ts.fetch.bind(ts);const e=ts.document;let t=ts.fetch;if(e&&typeof e.createElement=="function")try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(n){Q0&&un.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return qw=t.bind(ts)}function bFe(){qw=void 0}function yFe(e,t=gFe()){let n=0,r=0;function i(s){const a=s.body.length;n+=a,r++;const o={body:s.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{return t(e.url,o).then(l=>(n-=a,r--,{statusCode:l.status,headers:{"x-sentry-rate-limits":l.headers.get("X-Sentry-Rate-Limits"),"retry-after":l.headers.get("Retry-After")}}))}catch(l){return bFe(),n-=a,r--,nH(l)}}return sfe(e,i)}const vFe=4;function SFe(e){function t(n){return new jc((r,i)=>{const s=new XMLHttpRequest;s.onerror=i,s.onreadystatechange=()=>{s.readyState===vFe&&r({statusCode:s.status,headers:{"x-sentry-rate-limits":s.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":s.getResponseHeader("Retry-After")}})},s.open("POST",e.url);for(const a in e.headers)Object.prototype.hasOwnProperty.call(e.headers,a)&&s.setRequestHeader(a,e.headers[a]);s.send(n.body)})}return sfe(e,t)}const oD="?",OFe=30,EFe=40,wFe=50;function hH(e,t,n,r){const i={filename:e,function:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}const xFe=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,TFe=/\((\S*)(?::(\d+))(?::(\d+))\)/,kFe=e=>{const t=xFe.exec(e);if(t){if(t[2]&&t[2].indexOf("eval")===0){const s=TFe.exec(t[2]);s&&(t[2]=s[1],t[3]=s[2],t[4]=s[3])}const[r,i]=wfe(t[1]||oD,t[2]);return hH(i,r,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}},_Fe=[OFe,kFe],AFe=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,CFe=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,RFe=e=>{const t=AFe.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const s=CFe.exec(t[3]);s&&(t[1]=t[1]||"eval",t[3]=s[1],t[4]=s[2],t[5]="")}let r=t[3],i=t[1]||oD;return[i,r]=wfe(i,r),hH(r,i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},IFe=[wFe,RFe],DFe=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,NFe=e=>{const t=DFe.exec(e);return t?hH(t[2],t[1]||oD,+t[3],t[4]?+t[4]:void 0):void 0},PFe=[EFe,NFe],LFe=[_Fe,IFe,PFe],MFe=kde(...LFe),wfe=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:oD,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},b4=1024,xfe="Breadcrumbs",FFe=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:xfe,setupOnce(){},setup(n){t.console&&FLe(UFe(n)),t.dom&&ULe(BFe(n,t.dom)),t.xhr&&Nde(zFe(n)),t.fetch&&Rde(HFe(n)),t.history&&tH(qFe(n)),t.sentry&&n.on&&n.on("beforeSendEvent",$Fe(n))}}},Tfe=FFe;w1(xfe,Tfe);function $Fe(e){return function(n){No()===e&&cy({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:wg(n)},{event:n})}}function BFe(e,t){return function(r){if(No()!==e)return;let i,s,a=typeof t=="object"?t.serializeAttribute:void 0,o=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;o&&o>b4&&(Q0&&un.warn(`\`dom.maxStringLength\` cannot exceed ${b4}, but a value of ${o} was configured. Sentry will use ${b4} instead.`),o=b4),typeof a=="string"&&(a=[a]);try{const c=r.event,d=jFe(c)?c.target:c;i=WO(d,{keyAttrs:a,maxStringLength:o}),s=Ode(d)}catch{i=""}if(i.length===0)return;const l={category:`ui.${r.name}`,message:i};s&&(l.data={"ui.component_name":s}),cy(l,{event:r.event,name:r.name,global:r.global})}}function UFe(e){return function(n){if(No()!==e)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:u8e(n.level),message:PJ(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${PJ(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;cy(r,{input:n.args,level:n.level})}}function zFe(e){return function(n){if(No()!==e)return;const{startTimestamp:r,endTimestamp:i}=n,s=n.xhr[RS];if(!r||!i||!s)return;const{method:a,url:o,status_code:l,body:c}=s,d={method:a,url:o,status_code:l},f={xhr:n.xhr,input:c,startTimestamp:r,endTimestamp:i};cy({category:"xhr",data:d,type:"http"},f)}}function HFe(e){return function(n){if(No()!==e)return;const{startTimestamp:r,endTimestamp:i}=n;if(i&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.error){const s=n.fetchData,a={data:n.error,input:n.args,startTimestamp:r,endTimestamp:i};cy({category:"fetch",data:s,level:"error",type:"http"},a)}else{const s=n.response,a={...n.fetchData,status_code:s&&s.status},o={input:n.args,response:s,startTimestamp:r,endTimestamp:i};cy({category:"fetch",data:a,type:"http"},o)}}}function qFe(e){return function(n){if(No()!==e)return;let r=n.from,i=n.to;const s=jb(ts.location.href);let a=r?jb(r):void 0;const o=jb(i);(!a||!a.path)&&(a=s),s.protocol===o.protocol&&s.host===o.host&&(i=o.relative),s.protocol===a.protocol&&s.host===a.host&&(r=a.relative),cy({category:"navigation",data:{from:r,to:i}})}}function jFe(e){return!!e&&!!e.target}const kfe="Dedupe",WFe=()=>{let e;return{name:kfe,setupOnce(){},processEvent(t){if(t.type)return t;try{if(QFe(t,e))return Q0&&un.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}},_fe=WFe;w1(kfe,_fe);function QFe(e,t){return t?!!(VFe(e,t)||GFe(e,t)):!1}function VFe(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!Cfe(e,t)||!Afe(e,t))}function GFe(e,t){const n=vee(t),r=vee(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!Cfe(e,t)||!Afe(e,t))}function Afe(e,t){let n=See(e),r=See(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let i=0;i{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:Rfe,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(ZFe(n),Oee("onerror")),t.onunhandledrejection&&(XFe(n),Oee("onunhandledrejection"))}}},Ife=YFe;w1(Rfe,Ife);function ZFe(e){Ide(t=>{const{stackParser:n,attachStacktrace:r}=Nfe();if(No()!==e||Ofe())return;const{msg:i,url:s,line:a,column:o,error:l}=t,c=l===void 0&&Ep(i)?e$e(i,s,a,o):Dfe(fH(n,l||i,void 0,r,!1),s,a,o);c.level="error",Hde(c,{originalException:l,mechanism:{handled:!1,type:"onerror"}})})}function XFe(e){Dde(t=>{const{stackParser:n,attachStacktrace:r}=Nfe();if(No()!==e||Ofe())return;const i=KFe(t),s=Kz(i)?JFe(i):fH(n,i,void 0,r,!0);s.level="error",Hde(s,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function KFe(e){if(Kz(e))return e;const t=e;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch{}return e}function JFe(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function e$e(e,t,n,r){const i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let s=Zz(e)?e.message:e,a="Error";const o=s.match(i);return o&&(a=o[1],s=o[2]),Dfe({exception:{values:[{type:a,value:s}]}},t,n,r)}function Dfe(e,t,n,r){const i=e.exception=e.exception||{},s=i.values=i.values||[],a=s[0]=s[0]||{},o=a.stacktrace=a.stacktrace||{},l=o.frames=o.frames||[],c=isNaN(parseInt(r,10))?void 0:r,d=isNaN(parseInt(n,10))?void 0:n,f=Ep(t)&&t.length>0?t:wLe();return l.length===0&&l.push({colno:c,filename:f,function:"?",in_app:!0,lineno:d}),e}function Oee(e){Q0&&un.log(`Global Handler attached: ${e}`)}function Nfe(){const e=No();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const Pfe="HttpContext",t$e=()=>({name:Pfe,setupOnce(){},preprocessEvent(e){if(!ts.navigator&&!ts.location&&!ts.document)return;const t=e.request&&e.request.url||ts.location&&ts.location.href,{referrer:n}=ts.document||{},{userAgent:r}=ts.navigator||{},i={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},s={...e.request,...t&&{url:t},headers:i};e.request=s}}),Lfe=t$e;w1(Pfe,Lfe);const n$e="cause",r$e=5,Mfe="LinkedErrors",i$e=(e={})=>{const t=e.limit||r$e,n=e.key||n$e;return{name:Mfe,setupOnce(){},preprocessEvent(r,i,s){const a=s.getOptions();vLe(Efe,a.stackParser,a.maxValueLength,n,t,r,i)}}},Ffe=i$e;w1(Mfe,Ffe);const s$e=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],$fe="TryCatch",a$e=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:$fe,setupOnce(){t.setTimeout&&vl(ts,"setTimeout",Eee),t.setInterval&&vl(ts,"setInterval",Eee),t.requestAnimationFrame&&vl(ts,"requestAnimationFrame",o$e),t.XMLHttpRequest&&"XMLHttpRequest"in ts&&vl(XMLHttpRequest.prototype,"send",l$e);const n=t.eventTarget;n&&(Array.isArray(n)?n:s$e).forEach(u$e)}}},Bfe=a$e;w1($fe,Bfe);function Eee(e){return function(...t){const n=t[0];return t[0]=YO(n,{mechanism:{data:{function:hm(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function o$e(e){return function(t){return e.apply(this,[YO(t,{mechanism:{data:{function:"requestAnimationFrame",handler:hm(e)},handled:!1,type:"instrument"}})])}}function l$e(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(i=>{i in n&&typeof n[i]=="function"&&vl(n,i,function(s){const a={mechanism:{data:{function:i,handler:hm(s)},handled:!1,type:"instrument"}},o=eH(s);return o&&(a.mechanism.data.handler=hm(o)),YO(s,a)})}),e.apply(this,t)}}function u$e(e){const t=ts,n=t[e]&&t[e].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(vl(n,"addEventListener",function(r){return function(i,s,a){try{typeof s.handleEvent=="function"&&(s.handleEvent=YO(s.handleEvent,{mechanism:{data:{function:"handleEvent",handler:hm(s),target:e},handled:!1,type:"instrument"}}))}catch{}return r.apply(this,[i,YO(s,{mechanism:{data:{function:"addEventListener",handler:hm(s),target:e},handled:!1,type:"instrument"}}),a])}}),vl(n,"removeEventListener",function(r){return function(i,s,a){const o=s;try{const l=o&&o.__sentry_wrapped__;l&&r.call(this,i,l,a)}catch{}return r.call(this,i,o,a)}}))}const c$e=[lfe(),cfe(),Bfe(),Tfe(),Ife(),Ffe(),_fe(),Lfe()];function d$e(e){return[...c$e]}function f$e(e={}){e.defaultIntegrations===void 0&&(e.defaultIntegrations=d$e()),e.release===void 0&&(typeof __SENTRY_RELEASE__=="string"&&(e.release=__SENTRY_RELEASE__),ts.SENTRY_RELEASE&&ts.SENTRY_RELEASE.id&&(e.release=ts.SENTRY_RELEASE.id)),e.autoSessionTracking===void 0&&(e.autoSessionTracking=!0),e.sendClientReports===void 0&&(e.sendClientReports=!0);const t={...e,stackParser:LLe(e.stackParser||MFe),integrations:wMe(e),transport:e.transport||(Cde()?yFe:SFe)};DMe(mFe,t),e.autoSessionTracking&&h$e()}function h$e(){if(typeof ts.document>"u"){Q0&&un.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}XJ({ignoreDuration:!0}),KJ(),tH(({from:e,to:t})=>{e!==void 0&&e!==t&&(XJ({ignoreDuration:!0}),KJ())})}function p$e(e){const t={...e};afe(t,"react"),f$e(t)}function m$e(e,t,n,r,i,s){return(a,o=!0,l=!0)=>{const c=ts&&ts.location&&ts.location.pathname;o&&c&&a({name:c,attributes:{[Wb]:"url",[Hw]:"pageload",[wb]:"auto.pageload.react.reactrouter_v6"}})}}var DE=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},ZO=typeof window>"u"||"Deno"in globalThis;function Hd(){}function g$e(e,t){return typeof e=="function"?e(t):e}function YM(e){return typeof e=="number"&&e>=0&&e!==1/0}function Ufe(e,t){return Math.max(e+(t||0)-Date.now(),0)}function KS(e,t){return typeof e=="function"?e(t):e}function Xf(e,t){return typeof e=="function"?e(t):e}function wee(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:a,stale:o}=e;if(a){if(r){if(t.queryHash!==pH(a,t.options))return!1}else if(!Sk(t.queryKey,a))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof o=="boolean"&&t.isStale()!==o||i&&i!==t.state.fetchStatus||s&&!s(t))}function xee(e,t){const{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(fy(t.options.mutationKey)!==fy(s))return!1}else if(!Sk(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function pH(e,t){return((t==null?void 0:t.queryKeyHashFn)||fy)(e)}function fy(e){return JSON.stringify(e,(t,n)=>ZM(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function Sk(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Sk(e[n],t[n])):!1}function zfe(e,t){if(e===t)return e;const n=Tee(e)&&Tee(t);if(n||ZM(e)&&ZM(t)){const r=n?e:Object.keys(e),i=r.length,s=n?t:Object.keys(t),a=s.length,o=n?[]:{};let l=0;for(let c=0;c{setTimeout(t,e)})}function XM(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?zfe(e,t):t}function y$e(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function v$e(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Hfe=Symbol();function qfe(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Hfe?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Db,_g,mO,Soe,S$e=(Soe=class extends DE{constructor(){super();wr(this,Db);wr(this,_g);wr(this,mO);zn(this,mO,t=>{if(!ZO&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){it(this,_g)||this.setEventListener(it(this,mO))}onUnsubscribe(){var t;this.hasListeners()||((t=it(this,_g))==null||t.call(this),zn(this,_g,void 0))}setEventListener(t){var n;zn(this,mO,t),(n=it(this,_g))==null||n.call(this),zn(this,_g,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){it(this,Db)!==t&&(zn(this,Db,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof it(this,Db)=="boolean"?it(this,Db):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Db=new WeakMap,_g=new WeakMap,mO=new WeakMap,Soe),mH=new S$e,gO,Ag,bO,Ooe,O$e=(Ooe=class extends DE{constructor(){super();wr(this,gO,!0);wr(this,Ag);wr(this,bO);zn(this,bO,t=>{if(!ZO&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){it(this,Ag)||this.setEventListener(it(this,bO))}onUnsubscribe(){var t;this.hasListeners()||((t=it(this,Ag))==null||t.call(this),zn(this,Ag,void 0))}setEventListener(t){var n;zn(this,bO,t),(n=it(this,Ag))==null||n.call(this),zn(this,Ag,t(this.setOnline.bind(this)))}setOnline(t){it(this,gO)!==t&&(zn(this,gO,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return it(this,gO)}},gO=new WeakMap,Ag=new WeakMap,bO=new WeakMap,Ooe),g5=new O$e;function E$e(e){return Math.min(1e3*2**e,3e4)}function jfe(e){return(e??"online")==="online"?g5.isOnline():!0}var Wfe=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function pP(e){return e instanceof Wfe}function Qfe(e){let t=!1,n=0,r=!1,i,s,a;const o=new Promise((T,_)=>{s=T,a=_}),l=T=>{var _;r||(b(new Wfe(T)),(_=e.abort)==null||_.call(e))},c=()=>{t=!0},d=()=>{t=!1},f=()=>mH.isFocused()&&(e.networkMode==="always"||g5.isOnline())&&e.canRun(),p=()=>jfe(e.networkMode)&&e.canRun(),g=T=>{var _;r||(r=!0,(_=e.onSuccess)==null||_.call(e,T),i==null||i(),s(T))},b=T=>{var _;r||(r=!0,(_=e.onError)==null||_.call(e,T),i==null||i(),a(T))},w=()=>new Promise(T=>{var _;i=C=>{(r||f())&&T(C)},(_=e.onPause)==null||_.call(e)}).then(()=>{var T;i=void 0,r||(T=e.onContinue)==null||T.call(e)}),x=()=>{if(r)return;let T;const _=n===0?e.initialPromise:void 0;try{T=_??e.fn()}catch(C){T=Promise.reject(C)}Promise.resolve(T).then(g).catch(C=>{var j;if(r)return;const I=e.retry??(ZO?0:3),M=e.retryDelay??E$e,$=typeof M=="function"?M(n,C):M,B=I===!0||typeof I=="number"&&nf()?void 0:w()).then(()=>{t?b(C):x()})})};return{promise:o,cancel:l,continue:()=>(i==null||i(),o),cancelRetry:c,continueRetry:d,canStart:p,start:()=>(p()?x():w().then(x),o)}}function w$e(){let e=[],t=0,n=o=>{o()},r=o=>{o()},i=o=>setTimeout(o,0);const s=o=>{t?e.push(o):i(()=>{n(o)})},a=()=>{const o=e;e=[],o.length&&i(()=>{r(()=>{o.forEach(l=>{n(l)})})})};return{batch:o=>{let l;t++;try{l=o()}finally{t--,t||a()}return l},batchCalls:o=>(...l)=>{s(()=>{o(...l)})},schedule:s,setNotifyFunction:o=>{n=o},setBatchNotifyFunction:o=>{r=o},setScheduler:o=>{i=o}}}var ko=w$e(),Nb,Eoe,Vfe=(Eoe=class{constructor(){wr(this,Nb)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),YM(this.gcTime)&&zn(this,Nb,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ZO?1/0:5*60*1e3))}clearGcTimeout(){it(this,Nb)&&(clearTimeout(it(this,Nb)),zn(this,Nb,void 0))}},Nb=new WeakMap,Eoe),yO,vO,zd,Bl,u_,Pb,Vf,M0,woe,x$e=(woe=class extends Vfe{constructor(t){super();wr(this,Vf);wr(this,yO);wr(this,vO);wr(this,zd);wr(this,Bl);wr(this,u_);wr(this,Pb);zn(this,Pb,!1),zn(this,u_,t.defaultOptions),this.setOptions(t.options),this.observers=[],zn(this,zd,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,zn(this,yO,T$e(this.options)),this.state=t.state??it(this,yO),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=it(this,Bl))==null?void 0:t.promise}setOptions(t){this.options={...it(this,u_),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&it(this,zd).remove(this)}setData(t,n){const r=XM(this.state.data,t,this.options);return Kr(this,Vf,M0).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Kr(this,Vf,M0).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=it(this,Bl))==null?void 0:r.promise;return(i=it(this,Bl))==null||i.cancel(t),n?n.then(Hd).catch(Hd):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(it(this,yO))}isActive(){return this.observers.some(t=>Xf(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!Ufe(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=it(this,Bl))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=it(this,Bl))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),it(this,zd).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(it(this,Bl)&&(it(this,Pb)?it(this,Bl).cancel({revert:!0}):it(this,Bl).cancelRetry()),this.scheduleGc()),it(this,zd).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Kr(this,Vf,M0).call(this,{type:"invalidate"})}fetch(t,n){var l,c,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(it(this,Bl))return it(this,Bl).continueRetry(),it(this,Bl).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(p=>p.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,i=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(zn(this,Pb,!0),r.signal)})},s=()=>{const f=qfe(this.options,n),p={queryKey:this.queryKey,meta:this.meta};return i(p),zn(this,Pb,!1),this.options.persister?this.options.persister(f,p,this):f(p)},a={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:s};i(a),(l=this.options.behavior)==null||l.onFetch(a,this),zn(this,vO,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&Kr(this,Vf,M0).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const o=f=>{var p,g,b,w;pP(f)&&f.silent||Kr(this,Vf,M0).call(this,{type:"error",error:f}),pP(f)||((g=(p=it(this,zd).config).onError)==null||g.call(p,f,this),(w=(b=it(this,zd).config).onSettled)==null||w.call(b,this.state.data,f,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return zn(this,Bl,Qfe({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var p,g,b,w;if(f===void 0){o(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(x){o(x);return}(g=(p=it(this,zd).config).onSuccess)==null||g.call(p,f,this),(w=(b=it(this,zd).config).onSettled)==null||w.call(b,f,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:o,onFail:(f,p)=>{Kr(this,Vf,M0).call(this,{type:"failed",failureCount:f,error:p})},onPause:()=>{Kr(this,Vf,M0).call(this,{type:"pause"})},onContinue:()=>{Kr(this,Vf,M0).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),it(this,Bl).start()}},yO=new WeakMap,vO=new WeakMap,zd=new WeakMap,Bl=new WeakMap,u_=new WeakMap,Pb=new WeakMap,Vf=new WeakSet,M0=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...Gfe(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return pP(i)&&i.revert&&it(this,vO)?{...it(this,vO),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),ko.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),it(this,zd).notify({query:this,type:"updated",action:t})})},woe);function Gfe(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:jfe(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function T$e(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Jh,xoe,Yfe=(xoe=class extends DE{constructor(t={}){super();wr(this,Jh);this.config=t,zn(this,Jh,new Map)}build(t,n,r){const i=n.queryKey,s=n.queryHash??pH(i,n);let a=this.get(s);return a||(a=new x$e({cache:this,queryKey:i,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(a)),a}add(t){it(this,Jh).has(t.queryHash)||(it(this,Jh).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=it(this,Jh).get(t.queryHash);n&&(t.destroy(),n===t&&it(this,Jh).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){ko.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return it(this,Jh).get(t)}getAll(){return[...it(this,Jh).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>wee(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>wee(t,r)):n}notify(t){ko.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){ko.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){ko.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Jh=new WeakMap,xoe),ep,fu,Lb,tp,cg,Toe,k$e=(Toe=class extends Vfe{constructor(t){super();wr(this,tp);wr(this,ep);wr(this,fu);wr(this,Lb);this.mutationId=t.mutationId,zn(this,fu,t.mutationCache),zn(this,ep,[]),this.state=t.state||Zfe(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){it(this,ep).includes(t)||(it(this,ep).push(t),this.clearGcTimeout(),it(this,fu).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){zn(this,ep,it(this,ep).filter(n=>n!==t)),this.scheduleGc(),it(this,fu).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){it(this,ep).length||(this.state.status==="pending"?this.scheduleGc():it(this,fu).remove(this))}continue(){var t;return((t=it(this,Lb))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,s,a,o,l,c,d,f,p,g,b,w,x,T,_,C,I,M,$,B;zn(this,Lb,Qfe({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(j,F)=>{Kr(this,tp,cg).call(this,{type:"failed",failureCount:j,error:F})},onPause:()=>{Kr(this,tp,cg).call(this,{type:"pause"})},onContinue:()=>{Kr(this,tp,cg).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>it(this,fu).canRun(this)}));const n=this.state.status==="pending",r=!it(this,Lb).canStart();try{if(!n){Kr(this,tp,cg).call(this,{type:"pending",variables:t,isPaused:r}),await((s=(i=it(this,fu).config).onMutate)==null?void 0:s.call(i,t,this));const F=await((o=(a=this.options).onMutate)==null?void 0:o.call(a,t));F!==this.state.context&&Kr(this,tp,cg).call(this,{type:"pending",context:F,variables:t,isPaused:r})}const j=await it(this,Lb).start();return await((c=(l=it(this,fu).config).onSuccess)==null?void 0:c.call(l,j,t,this.state.context,this)),await((f=(d=this.options).onSuccess)==null?void 0:f.call(d,j,t,this.state.context)),await((g=(p=it(this,fu).config).onSettled)==null?void 0:g.call(p,j,null,this.state.variables,this.state.context,this)),await((w=(b=this.options).onSettled)==null?void 0:w.call(b,j,null,t,this.state.context)),Kr(this,tp,cg).call(this,{type:"success",data:j}),j}catch(j){try{throw await((T=(x=it(this,fu).config).onError)==null?void 0:T.call(x,j,t,this.state.context,this)),await((C=(_=this.options).onError)==null?void 0:C.call(_,j,t,this.state.context)),await((M=(I=it(this,fu).config).onSettled)==null?void 0:M.call(I,void 0,j,this.state.variables,this.state.context,this)),await((B=($=this.options).onSettled)==null?void 0:B.call($,void 0,j,t,this.state.context)),j}finally{Kr(this,tp,cg).call(this,{type:"error",error:j})}}finally{it(this,fu).runNext(this)}}},ep=new WeakMap,fu=new WeakMap,Lb=new WeakMap,tp=new WeakSet,cg=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),ko.batch(()=>{it(this,ep).forEach(r=>{r.onMutationUpdate(t)}),it(this,fu).notify({mutation:this,type:"updated",action:t})})},Toe);function Zfe(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Fc,c_,koe,_$e=(koe=class extends DE{constructor(t={}){super();wr(this,Fc);wr(this,c_);this.config=t,zn(this,Fc,new Map),zn(this,c_,Date.now())}build(t,n,r){const i=new k$e({mutationCache:this,mutationId:++IC(this,c_)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){const n=y4(t),r=it(this,Fc).get(n)??[];r.push(t),it(this,Fc).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=y4(t);if(it(this,Fc).has(n)){const i=(r=it(this,Fc).get(n))==null?void 0:r.filter(s=>s!==t);i&&(i.length===0?it(this,Fc).delete(n):it(this,Fc).set(n,i))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=it(this,Fc).get(y4(t)))==null?void 0:r.find(i=>i.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=it(this,Fc).get(y4(t)))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){ko.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...it(this,Fc).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>xee(n,r))}findAll(t={}){return this.getAll().filter(n=>xee(t,n))}notify(t){ko.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return ko.batch(()=>Promise.all(t.map(n=>n.continue().catch(Hd))))}},Fc=new WeakMap,c_=new WeakMap,koe);function y4(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function b5(e){return{onFetch:(t,n)=>{var d,f,p,g,b;const r=t.options,i=(p=(f=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:f.fetchMore)==null?void 0:p.direction,s=((g=t.state.data)==null?void 0:g.pages)||[],a=((b=t.state.data)==null?void 0:b.pageParams)||[];let o={pages:[],pageParams:[]},l=0;const c=async()=>{let w=!1;const x=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>(t.signal.aborted?w=!0:t.signal.addEventListener("abort",()=>{w=!0}),t.signal)})},T=qfe(t.options,t.fetchOptions),_=async(C,I,M)=>{if(w)return Promise.reject();if(I==null&&C.pages.length)return Promise.resolve(C);const $={queryKey:t.queryKey,pageParam:I,direction:M?"backward":"forward",meta:t.options.meta};x($);const B=await T($),{maxPages:j}=t.options,F=M?v$e:y$e;return{pages:F(C.pages,B,j),pageParams:F(C.pageParams,I,j)}};if(i&&s.length){const C=i==="backward",I=C?Xfe:KM,M={pages:s,pageParams:a},$=I(r,M);o=await _(M,$,C)}else{const C=e??s.length;do{const I=l===0?a[0]??r.initialPageParam:KM(r,o);if(l>0&&I==null)break;o=await _(o,I),l++}while(l{var w,x;return(x=(w=t.options).persister)==null?void 0:x.call(w,c,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=c}}}function KM(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Xfe(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}function A$e(e,t){return t?KM(e,t)!=null:!1}function C$e(e,t){return!t||!e.getPreviousPageParam?!1:Xfe(e,t)!=null}var Pa,Cg,Rg,SO,OO,Ig,EO,wO,_oe,R$e=(_oe=class{constructor(e={}){wr(this,Pa);wr(this,Cg);wr(this,Rg);wr(this,SO);wr(this,OO);wr(this,Ig);wr(this,EO);wr(this,wO);zn(this,Pa,e.queryCache||new Yfe),zn(this,Cg,e.mutationCache||new _$e),zn(this,Rg,e.defaultOptions||{}),zn(this,SO,new Map),zn(this,OO,new Map),zn(this,Ig,0)}mount(){IC(this,Ig)._++,it(this,Ig)===1&&(zn(this,EO,mH.subscribe(async e=>{e&&(await this.resumePausedMutations(),it(this,Pa).onFocus())})),zn(this,wO,g5.subscribe(async e=>{e&&(await this.resumePausedMutations(),it(this,Pa).onOnline())})))}unmount(){var e,t;IC(this,Ig)._--,it(this,Ig)===0&&((e=it(this,EO))==null||e.call(this),zn(this,EO,void 0),(t=it(this,wO))==null||t.call(this),zn(this,wO,void 0))}isFetching(e){return it(this,Pa).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return it(this,Cg).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=it(this,Pa).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=it(this,Pa).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(KS(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return it(this,Pa).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=it(this,Pa).get(r.queryHash),s=i==null?void 0:i.state.data,a=g$e(t,s);if(a!==void 0)return it(this,Pa).build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return ko.batch(()=>it(this,Pa).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=it(this,Pa).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=it(this,Pa);ko.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=it(this,Pa),r={type:"active",...e};return ko.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=ko.batch(()=>it(this,Pa).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(Hd).catch(Hd)}invalidateQueries(e={},t={}){return ko.batch(()=>{if(it(this,Pa).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=ko.batch(()=>it(this,Pa).findAll(e).filter(i=>!i.isDisabled()).map(i=>{let s=i.fetch(void 0,n);return n.throwOnError||(s=s.catch(Hd)),i.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(Hd)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=it(this,Pa).build(this,t);return n.isStaleByTime(KS(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Hd).catch(Hd)}fetchInfiniteQuery(e){return e.behavior=b5(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Hd).catch(Hd)}ensureInfiniteQueryData(e){return e.behavior=b5(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return g5.isOnline()?it(this,Cg).resumePausedMutations():Promise.resolve()}getQueryCache(){return it(this,Pa)}getMutationCache(){return it(this,Cg)}getDefaultOptions(){return it(this,Rg)}setDefaultOptions(e){zn(this,Rg,e)}setQueryDefaults(e,t){it(this,SO).set(fy(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...it(this,SO).values()];let n={};return t.forEach(r=>{Sk(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){it(this,OO).set(fy(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...it(this,OO).values()];let n={};return t.forEach(r=>{Sk(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...it(this,Rg).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=pH(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===Hfe&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...it(this,Rg).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){it(this,Pa).clear(),it(this,Cg).clear()}},Pa=new WeakMap,Cg=new WeakMap,Rg=new WeakMap,SO=new WeakMap,OO=new WeakMap,Ig=new WeakMap,EO=new WeakMap,wO=new WeakMap,_oe),Gu,Ai,d_,hu,Mb,xO,np,f_,TO,kO,Fb,$b,Dg,_O,rs,jw,JM,e9,t9,n9,r9,i9,s9,Jfe,Aoe,Kfe=(Aoe=class extends DE{constructor(t,n){super();wr(this,rs);wr(this,Gu);wr(this,Ai);wr(this,d_);wr(this,hu);wr(this,Mb);wr(this,xO);wr(this,np);wr(this,f_);wr(this,TO);wr(this,kO);wr(this,Fb);wr(this,$b);wr(this,Dg);wr(this,_O,new Set);this.options=n,zn(this,Gu,t),zn(this,np,null),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(it(this,Ai).addObserver(this),_ee(it(this,Ai),this.options)?Kr(this,rs,jw).call(this):this.updateResult(),Kr(this,rs,n9).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return a9(it(this,Ai),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return a9(it(this,Ai),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Kr(this,rs,r9).call(this),Kr(this,rs,i9).call(this),it(this,Ai).removeObserver(this)}setOptions(t,n){const r=this.options,i=it(this,Ai);if(this.options=it(this,Gu).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Xf(this.options.enabled,it(this,Ai))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Kr(this,rs,s9).call(this),it(this,Ai).setOptions(this.options),r._defaulted&&!m5(this.options,r)&&it(this,Gu).getQueryCache().notify({type:"observerOptionsUpdated",query:it(this,Ai),observer:this});const s=this.hasListeners();s&&Aee(it(this,Ai),i,this.options,r)&&Kr(this,rs,jw).call(this),this.updateResult(n),s&&(it(this,Ai)!==i||Xf(this.options.enabled,it(this,Ai))!==Xf(r.enabled,it(this,Ai))||KS(this.options.staleTime,it(this,Ai))!==KS(r.staleTime,it(this,Ai)))&&Kr(this,rs,JM).call(this);const a=Kr(this,rs,e9).call(this);s&&(it(this,Ai)!==i||Xf(this.options.enabled,it(this,Ai))!==Xf(r.enabled,it(this,Ai))||a!==it(this,Dg))&&Kr(this,rs,t9).call(this,a)}getOptimisticResult(t){const n=it(this,Gu).getQueryCache().build(it(this,Gu),t),r=this.createResult(n,t);return D$e(this,r)&&(zn(this,hu,r),zn(this,xO,this.options),zn(this,Mb,it(this,Ai).state)),r}getCurrentResult(){return it(this,hu)}trackResult(t,n){const r={};return Object.keys(t).forEach(i=>{Object.defineProperty(r,i,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(i),n==null||n(i),t[i])})}),r}trackProp(t){it(this,_O).add(t)}getCurrentQuery(){return it(this,Ai)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=it(this,Gu).defaultQueryOptions(t),r=it(this,Gu).getQueryCache().build(it(this,Gu),n);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,n))}fetch(t){return Kr(this,rs,jw).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),it(this,hu)))}createResult(t,n){var B;const r=it(this,Ai),i=this.options,s=it(this,hu),a=it(this,Mb),o=it(this,xO),c=t!==r?t.state:it(this,d_),{state:d}=t;let f={...d},p=!1,g;if(n._optimisticResults){const j=this.hasListeners(),F=!j&&_ee(t,n),V=j&&Aee(t,r,n,i);(F||V)&&(f={...f,...Gfe(d.data,t.options)}),n._optimisticResults==="isRestoring"&&(f.fetchStatus="idle")}let{error:b,errorUpdatedAt:w,status:x}=f;if(n.select&&f.data!==void 0)if(s&&f.data===(a==null?void 0:a.data)&&n.select===it(this,f_))g=it(this,TO);else try{zn(this,f_,n.select),g=n.select(f.data),g=XM(s==null?void 0:s.data,g,n),zn(this,TO,g),zn(this,np,null)}catch(j){zn(this,np,j)}else g=f.data;if(n.placeholderData!==void 0&&g===void 0&&x==="pending"){let j;if(s!=null&&s.isPlaceholderData&&n.placeholderData===(o==null?void 0:o.placeholderData))j=s.data;else if(j=typeof n.placeholderData=="function"?n.placeholderData((B=it(this,kO))==null?void 0:B.state.data,it(this,kO)):n.placeholderData,n.select&&j!==void 0)try{j=n.select(j),zn(this,np,null)}catch(F){zn(this,np,F)}j!==void 0&&(x="success",g=XM(s==null?void 0:s.data,j,n),p=!0)}it(this,np)&&(b=it(this,np),g=it(this,TO),w=Date.now(),x="error");const T=f.fetchStatus==="fetching",_=x==="pending",C=x==="error",I=_&&T,M=g!==void 0;return{status:x,fetchStatus:f.fetchStatus,isPending:_,isSuccess:x==="success",isError:C,isInitialLoading:I,isLoading:I,data:g,dataUpdatedAt:f.dataUpdatedAt,error:b,errorUpdatedAt:w,failureCount:f.fetchFailureCount,failureReason:f.fetchFailureReason,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>c.dataUpdateCount||f.errorUpdateCount>c.errorUpdateCount,isFetching:T,isRefetching:T&&!_,isLoadingError:C&&!M,isPaused:f.fetchStatus==="paused",isPlaceholderData:p,isRefetchError:C&&M,isStale:gH(t,n),refetch:this.refetch}}updateResult(t){const n=it(this,hu),r=this.createResult(it(this,Ai),this.options);if(zn(this,Mb,it(this,Ai).state),zn(this,xO,this.options),it(this,Mb).data!==void 0&&zn(this,kO,it(this,Ai)),m5(r,n))return;zn(this,hu,r);const i={},s=()=>{if(!n)return!0;const{notifyOnChangeProps:a}=this.options,o=typeof a=="function"?a():a;if(o==="all"||!o&&!it(this,_O).size)return!0;const l=new Set(o??it(this,_O));return this.options.throwOnError&&l.add("error"),Object.keys(it(this,hu)).some(c=>{const d=c;return it(this,hu)[d]!==n[d]&&l.has(d)})};(t==null?void 0:t.listeners)!==!1&&s()&&(i.listeners=!0),Kr(this,rs,Jfe).call(this,{...i,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Kr(this,rs,n9).call(this)}},Gu=new WeakMap,Ai=new WeakMap,d_=new WeakMap,hu=new WeakMap,Mb=new WeakMap,xO=new WeakMap,np=new WeakMap,f_=new WeakMap,TO=new WeakMap,kO=new WeakMap,Fb=new WeakMap,$b=new WeakMap,Dg=new WeakMap,_O=new WeakMap,rs=new WeakSet,jw=function(t){Kr(this,rs,s9).call(this);let n=it(this,Ai).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(Hd)),n},JM=function(){Kr(this,rs,r9).call(this);const t=KS(this.options.staleTime,it(this,Ai));if(ZO||it(this,hu).isStale||!YM(t))return;const r=Ufe(it(this,hu).dataUpdatedAt,t)+1;zn(this,Fb,setTimeout(()=>{it(this,hu).isStale||this.updateResult()},r))},e9=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(it(this,Ai)):this.options.refetchInterval)??!1},t9=function(t){Kr(this,rs,i9).call(this),zn(this,Dg,t),!(ZO||Xf(this.options.enabled,it(this,Ai))===!1||!YM(it(this,Dg))||it(this,Dg)===0)&&zn(this,$b,setInterval(()=>{(this.options.refetchIntervalInBackground||mH.isFocused())&&Kr(this,rs,jw).call(this)},it(this,Dg)))},n9=function(){Kr(this,rs,JM).call(this),Kr(this,rs,t9).call(this,Kr(this,rs,e9).call(this))},r9=function(){it(this,Fb)&&(clearTimeout(it(this,Fb)),zn(this,Fb,void 0))},i9=function(){it(this,$b)&&(clearInterval(it(this,$b)),zn(this,$b,void 0))},s9=function(){const t=it(this,Gu).getQueryCache().build(it(this,Gu),this.options);if(t===it(this,Ai))return;const n=it(this,Ai);zn(this,Ai,t),zn(this,d_,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},Jfe=function(t){ko.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(it(this,hu))}),it(this,Gu).getQueryCache().notify({query:it(this,Ai),type:"observerResultsUpdated"})})},Aoe);function I$e(e,t){return Xf(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function _ee(e,t){return I$e(e,t)||e.state.data!==void 0&&a9(e,t,t.refetchOnMount)}function a9(e,t,n){if(Xf(t.enabled,e)!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&gH(e,t)}return!1}function Aee(e,t,n,r){return(e!==t||Xf(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&gH(e,n)}function gH(e,t){return Xf(t.enabled,e)!==!1&&e.isStaleByTime(KS(t.staleTime,e))}function D$e(e,t){return!m5(e.getCurrentResult(),t)}var N$e=class extends Kfe{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e,t){super.setOptions({...e,behavior:b5()},t)}getOptimisticResult(e){return e.behavior=b5(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){var b,w;const{state:n}=e,r=super.createResult(e,t),{isFetching:i,isRefetching:s,isError:a,isRefetchError:o}=r,l=(w=(b=n.fetchMeta)==null?void 0:b.fetchMore)==null?void 0:w.direction,c=a&&l==="forward",d=i&&l==="forward",f=a&&l==="backward",p=i&&l==="backward";return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:A$e(t,n.data),hasPreviousPage:C$e(t,n.data),isFetchNextPageError:c,isFetchingNextPage:d,isFetchPreviousPageError:f,isFetchingPreviousPage:p,isRefetchError:o&&!c&&!f,isRefetching:s&&!d&&!p}}},Ng,Pg,Yu,q0,rm,H3,o9,Coe,P$e=(Coe=class extends DE{constructor(n,r){super();wr(this,rm);wr(this,Ng);wr(this,Pg);wr(this,Yu);wr(this,q0);zn(this,Ng,n),this.setOptions(r),this.bindMethods(),Kr(this,rm,H3).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var i;const r=this.options;this.options=it(this,Ng).defaultMutationOptions(n),m5(this.options,r)||it(this,Ng).getMutationCache().notify({type:"observerOptionsUpdated",mutation:it(this,Yu),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&fy(r.mutationKey)!==fy(this.options.mutationKey)?this.reset():((i=it(this,Yu))==null?void 0:i.state.status)==="pending"&&it(this,Yu).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=it(this,Yu))==null||n.removeObserver(this)}onMutationUpdate(n){Kr(this,rm,H3).call(this),Kr(this,rm,o9).call(this,n)}getCurrentResult(){return it(this,Pg)}reset(){var n;(n=it(this,Yu))==null||n.removeObserver(this),zn(this,Yu,void 0),Kr(this,rm,H3).call(this),Kr(this,rm,o9).call(this)}mutate(n,r){var i;return zn(this,q0,r),(i=it(this,Yu))==null||i.removeObserver(this),zn(this,Yu,it(this,Ng).getMutationCache().build(it(this,Ng),this.options)),it(this,Yu).addObserver(this),it(this,Yu).execute(n)}},Ng=new WeakMap,Pg=new WeakMap,Yu=new WeakMap,q0=new WeakMap,rm=new WeakSet,H3=function(){var r;const n=((r=it(this,Yu))==null?void 0:r.state)??Zfe();zn(this,Pg,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},o9=function(n){ko.batch(()=>{var r,i,s,a,o,l,c,d;if(it(this,q0)&&this.hasListeners()){const f=it(this,Pg).variables,p=it(this,Pg).context;(n==null?void 0:n.type)==="success"?((i=(r=it(this,q0)).onSuccess)==null||i.call(r,n.data,f,p),(a=(s=it(this,q0)).onSettled)==null||a.call(s,n.data,null,f,p)):(n==null?void 0:n.type)==="error"&&((l=(o=it(this,q0)).onError)==null||l.call(o,n.error,f,p),(d=(c=it(this,q0)).onSettled)==null||d.call(c,void 0,n.error,f,p))}this.listeners.forEach(f=>{f(it(this,Pg))})})},Coe),ehe=Y.createContext(void 0),NE=e=>{const t=Y.useContext(ehe);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},L$e=({client:e,children:t})=>(Y.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),U.jsx(ehe.Provider,{value:e,children:t})),the=Y.createContext(!1),M$e=()=>Y.useContext(the);the.Provider;function F$e(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var $$e=Y.createContext(F$e()),B$e=()=>Y.useContext($$e);function nhe(e,t){return typeof e=="function"?e(...t):!!e}function U$e(){}var z$e=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},H$e=e=>{Y.useEffect(()=>{e.clearReset()},[e])},q$e=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&nhe(n,[e.error,r]),j$e=e=>{e.suspense&&(typeof e.staleTime!="number"&&(e.staleTime=1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},W$e=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,Q$e=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function rhe(e,t,n){var c,d,f,p;const r=NE(),i=M$e(),s=B$e(),a=r.defaultQueryOptions(e);(d=(c=r.getDefaultOptions().queries)==null?void 0:c._experimental_beforeQuery)==null||d.call(c,a),a._optimisticResults=i?"isRestoring":"optimistic",j$e(a),z$e(a,s),H$e(s);const[o]=Y.useState(()=>new t(r,a)),l=o.getOptimisticResult(a);if(Y.useSyncExternalStore(Y.useCallback(g=>{const b=i?()=>{}:o.subscribe(ko.batchCalls(g));return o.updateResult(),b},[o,i]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),Y.useEffect(()=>{o.setOptions(a,{listeners:!1})},[a,o]),W$e(a,l))throw Q$e(a,o,s);if(q$e({result:l,errorResetBoundary:s,throwOnError:a.throwOnError,query:r.getQueryCache().get(a.queryHash)}))throw l.error;return(p=(f=r.getDefaultOptions().queries)==null?void 0:f._experimental_afterQuery)==null||p.call(f,a,l),a.notifyOnChangeProps?l:o.trackResult(l)}function PE(e,t){return rhe(e,Kfe)}function Rp(e,t){const n=NE(),[r]=Y.useState(()=>new P$e(n,e));Y.useEffect(()=>{r.setOptions(e)},[r,e]);const i=Y.useSyncExternalStore(Y.useCallback(a=>r.subscribe(ko.batchCalls(a)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),s=Y.useCallback((a,o)=>{r.mutate(a,o).catch(U$e)},[r]);if(i.error&&nhe(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:s,mutateAsync:i.mutate}}function bH(e,t){return rhe(e,N$e)}function ihe(e,t){return function(){return e.apply(t,arguments)}}const{toString:V$e}=Object.prototype,{getPrototypeOf:yH}=Object,lD=(e=>t=>{const n=V$e.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),yh=e=>(e=e.toLowerCase(),t=>lD(t)===e),uD=e=>t=>typeof t===e,{isArray:LE}=Array,Ok=uD("undefined");function G$e(e){return e!==null&&!Ok(e)&&e.constructor!==null&&!Ok(e.constructor)&&od(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const she=yh("ArrayBuffer");function Y$e(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&she(e.buffer),t}const Z$e=uD("string"),od=uD("function"),ahe=uD("number"),cD=e=>e!==null&&typeof e=="object",X$e=e=>e===!0||e===!1,q3=e=>{if(lD(e)!=="object")return!1;const t=yH(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},K$e=yh("Date"),J$e=yh("File"),eBe=yh("Blob"),tBe=yh("FileList"),nBe=e=>cD(e)&&od(e.pipe),rBe=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||od(e.append)&&((t=lD(e))==="formdata"||t==="object"&&od(e.toString)&&e.toString()==="[object FormData]"))},iBe=yh("URLSearchParams"),[sBe,aBe,oBe,lBe]=["ReadableStream","Request","Response","Headers"].map(yh),uBe=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function F_(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),LE(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const xb=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,lhe=e=>!Ok(e)&&e!==xb;function l9(){const{caseless:e}=lhe(this)&&this||{},t={},n=(r,i)=>{const s=e&&ohe(t,i)||i;q3(t[s])&&q3(r)?t[s]=l9(t[s],r):q3(r)?t[s]=l9({},r):LE(r)?t[s]=r.slice():t[s]=r};for(let r=0,i=arguments.length;r(F_(t,(i,s)=>{n&&od(i)?e[s]=ihe(i,n):e[s]=i},{allOwnKeys:r}),e),dBe=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),fBe=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},hBe=(e,t,n,r)=>{let i,s,a;const o={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)a=i[s],(!r||r(a,e,t))&&!o[a]&&(t[a]=e[a],o[a]=!0);e=n!==!1&&yH(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},pBe=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},mBe=e=>{if(!e)return null;if(LE(e))return e;let t=e.length;if(!ahe(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},gBe=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&yH(Uint8Array)),bBe=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const s=i.value;t.call(e,s[0],s[1])}},yBe=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},vBe=yh("HTMLFormElement"),SBe=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Cee=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),OBe=yh("RegExp"),uhe=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};F_(n,(i,s)=>{let a;(a=t(i,s,e))!==!1&&(r[s]=a||i)}),Object.defineProperties(e,r)},EBe=e=>{uhe(e,(t,n)=>{if(od(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(od(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},wBe=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return LE(e)?r(e):r(String(e).split(t)),n},xBe=()=>{},TBe=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,mP="abcdefghijklmnopqrstuvwxyz",Ree="0123456789",che={DIGIT:Ree,ALPHA:mP,ALPHA_DIGIT:mP+mP.toUpperCase()+Ree},kBe=(e=16,t=che.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function _Be(e){return!!(e&&od(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const ABe=e=>{const t=new Array(10),n=(r,i)=>{if(cD(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const s=LE(r)?[]:{};return F_(r,(a,o)=>{const l=n(a,i+1);!Ok(l)&&(s[o]=l)}),t[i]=void 0,s}}return r};return n(e,0)},CBe=yh("AsyncFunction"),RBe=e=>e&&(cD(e)||od(e))&&od(e.then)&&od(e.catch),dhe=((e,t)=>e?setImmediate:t?((n,r)=>(xb.addEventListener("message",({source:i,data:s})=>{i===xb&&s===n&&r.length&&r.shift()()},!1),i=>{r.push(i),xb.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",od(xb.postMessage)),IBe=typeof queueMicrotask<"u"?queueMicrotask.bind(xb):typeof process<"u"&&process.nextTick||dhe,zt={isArray:LE,isArrayBuffer:she,isBuffer:G$e,isFormData:rBe,isArrayBufferView:Y$e,isString:Z$e,isNumber:ahe,isBoolean:X$e,isObject:cD,isPlainObject:q3,isReadableStream:sBe,isRequest:aBe,isResponse:oBe,isHeaders:lBe,isUndefined:Ok,isDate:K$e,isFile:J$e,isBlob:eBe,isRegExp:OBe,isFunction:od,isStream:nBe,isURLSearchParams:iBe,isTypedArray:gBe,isFileList:tBe,forEach:F_,merge:l9,extend:cBe,trim:uBe,stripBOM:dBe,inherits:fBe,toFlatObject:hBe,kindOf:lD,kindOfTest:yh,endsWith:pBe,toArray:mBe,forEachEntry:bBe,matchAll:yBe,isHTMLForm:vBe,hasOwnProperty:Cee,hasOwnProp:Cee,reduceDescriptors:uhe,freezeMethods:EBe,toObjectSet:wBe,toCamelCase:SBe,noop:xBe,toFiniteNumber:TBe,findKey:ohe,global:xb,isContextDefined:lhe,ALPHABET:che,generateString:kBe,isSpecCompliantForm:_Be,toJSONObject:ABe,isAsyncFn:CBe,isThenable:RBe,setImmediate:dhe,asap:IBe};function Hr(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}zt.inherits(Hr,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:zt.toJSONObject(this.config),code:this.code,status:this.status}}});const fhe=Hr.prototype,hhe={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{hhe[e]={value:e}});Object.defineProperties(Hr,hhe);Object.defineProperty(fhe,"isAxiosError",{value:!0});Hr.from=(e,t,n,r,i,s)=>{const a=Object.create(fhe);return zt.toFlatObject(e,a,function(l){return l!==Error.prototype},o=>o!=="isAxiosError"),Hr.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,s&&Object.assign(a,s),a};const DBe=null;function u9(e){return zt.isPlainObject(e)||zt.isArray(e)}function phe(e){return zt.endsWith(e,"[]")?e.slice(0,-2):e}function Iee(e,t,n){return e?e.concat(t).map(function(i,s){return i=phe(i),!n&&s?"["+i+"]":i}).join(n?".":""):t}function NBe(e){return zt.isArray(e)&&!e.some(u9)}const PBe=zt.toFlatObject(zt,{},null,function(t){return/^is[A-Z]/.test(t)});function dD(e,t,n){if(!zt.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=zt.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,x){return!zt.isUndefined(x[w])});const r=n.metaTokens,i=n.visitor||d,s=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&zt.isSpecCompliantForm(t);if(!zt.isFunction(i))throw new TypeError("visitor must be a function");function c(b){if(b===null)return"";if(zt.isDate(b))return b.toISOString();if(!l&&zt.isBlob(b))throw new Hr("Blob is not supported. Use a Buffer instead.");return zt.isArrayBuffer(b)||zt.isTypedArray(b)?l&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function d(b,w,x){let T=b;if(b&&!x&&typeof b=="object"){if(zt.endsWith(w,"{}"))w=r?w:w.slice(0,-2),b=JSON.stringify(b);else if(zt.isArray(b)&&NBe(b)||(zt.isFileList(b)||zt.endsWith(w,"[]"))&&(T=zt.toArray(b)))return w=phe(w),T.forEach(function(C,I){!(zt.isUndefined(C)||C===null)&&t.append(a===!0?Iee([w],I,s):a===null?w:w+"[]",c(C))}),!1}return u9(b)?!0:(t.append(Iee(x,w,s),c(b)),!1)}const f=[],p=Object.assign(PBe,{defaultVisitor:d,convertValue:c,isVisitable:u9});function g(b,w){if(!zt.isUndefined(b)){if(f.indexOf(b)!==-1)throw Error("Circular reference detected in "+w.join("."));f.push(b),zt.forEach(b,function(T,_){(!(zt.isUndefined(T)||T===null)&&i.call(t,T,zt.isString(_)?_.trim():_,w,p))===!0&&g(T,w?w.concat(_):[_])}),f.pop()}}if(!zt.isObject(e))throw new TypeError("data must be an object");return g(e),t}function Dee(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function vH(e,t){this._pairs=[],e&&dD(e,this,t)}const mhe=vH.prototype;mhe.append=function(t,n){this._pairs.push([t,n])};mhe.toString=function(t){const n=t?function(r){return t.call(this,r,Dee)}:Dee;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function LBe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ghe(e,t,n){if(!t)return e;const r=n&&n.encode||LBe,i=n&&n.serialize;let s;if(i?s=i(t,n):s=zt.isURLSearchParams(t)?t.toString():new vH(t,n).toString(r),s){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Nee{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){zt.forEach(this.handlers,function(r){r!==null&&t(r)})}}const bhe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},MBe=typeof URLSearchParams<"u"?URLSearchParams:vH,FBe=typeof FormData<"u"?FormData:null,$Be=typeof Blob<"u"?Blob:null,BBe={isBrowser:!0,classes:{URLSearchParams:MBe,FormData:FBe,Blob:$Be},protocols:["http","https","file","blob","url","data"]},SH=typeof window<"u"&&typeof document<"u",c9=typeof navigator=="object"&&navigator||void 0,UBe=SH&&(!c9||["ReactNative","NativeScript","NS"].indexOf(c9.product)<0),zBe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",HBe=SH&&window.location.href||"http://localhost",qBe=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:SH,hasStandardBrowserEnv:UBe,hasStandardBrowserWebWorkerEnv:zBe,navigator:c9,origin:HBe},Symbol.toStringTag,{value:"Module"})),lc={...qBe,...BBe};function jBe(e,t){return dD(e,new lc.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return lc.isNode&&zt.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function WBe(e){return zt.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function QBe(e){const t={},n=Object.keys(e);let r;const i=n.length;let s;for(r=0;r=n.length;return a=!a&&zt.isArray(i)?i.length:a,l?(zt.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!o):((!i[a]||!zt.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],s)&&zt.isArray(i[a])&&(i[a]=QBe(i[a])),!o)}if(zt.isFormData(e)&&zt.isFunction(e.entries)){const n={};return zt.forEachEntry(e,(r,i)=>{t(WBe(r),i,n,0)}),n}return null}function VBe(e,t,n){if(zt.isString(e))try{return(t||JSON.parse)(e),zt.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const $_={transitional:bhe,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,s=zt.isObject(t);if(s&&zt.isHTMLForm(t)&&(t=new FormData(t)),zt.isFormData(t))return i?JSON.stringify(yhe(t)):t;if(zt.isArrayBuffer(t)||zt.isBuffer(t)||zt.isStream(t)||zt.isFile(t)||zt.isBlob(t)||zt.isReadableStream(t))return t;if(zt.isArrayBufferView(t))return t.buffer;if(zt.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return jBe(t,this.formSerializer).toString();if((o=zt.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return dD(o?{"files[]":t}:t,l&&new l,this.formSerializer)}}return s||i?(n.setContentType("application/json",!1),VBe(t)):t}],transformResponse:[function(t){const n=this.transitional||$_.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(zt.isResponse(t)||zt.isReadableStream(t))return t;if(t&&zt.isString(t)&&(r&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(o){if(a)throw o.name==="SyntaxError"?Hr.from(o,Hr.ERR_BAD_RESPONSE,this,null,this.response):o}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:lc.classes.FormData,Blob:lc.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};zt.forEach(["delete","get","head","post","put","patch"],e=>{$_.headers[e]={}});const GBe=zt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),YBe=e=>{const t={};let n,r,i;return e&&e.split(` +`).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!n||t[n]&&GBe[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Pee=Symbol("internals");function lw(e){return e&&String(e).trim().toLowerCase()}function j3(e){return e===!1||e==null?e:zt.isArray(e)?e.map(j3):String(e)}function ZBe(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const XBe=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function gP(e,t,n,r,i){if(zt.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!zt.isString(t)){if(zt.isString(r))return t.indexOf(r)!==-1;if(zt.isRegExp(r))return r.test(t)}}function KBe(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function JBe(e,t){const n=zt.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,s,a){return this[r].call(this,t,i,s,a)},configurable:!0})})}let uc=class{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function s(o,l,c){const d=lw(l);if(!d)throw new Error("header name must be a non-empty string");const f=zt.findKey(i,d);(!f||i[f]===void 0||c===!0||c===void 0&&i[f]!==!1)&&(i[f||l]=j3(o))}const a=(o,l)=>zt.forEach(o,(c,d)=>s(c,d,l));if(zt.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(zt.isString(t)&&(t=t.trim())&&!XBe(t))a(YBe(t),n);else if(zt.isHeaders(t))for(const[o,l]of t.entries())s(l,o,r);else t!=null&&s(n,t,r);return this}get(t,n){if(t=lw(t),t){const r=zt.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return ZBe(i);if(zt.isFunction(n))return n.call(this,i,r);if(zt.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=lw(t),t){const r=zt.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||gP(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function s(a){if(a=lw(a),a){const o=zt.findKey(r,a);o&&(!n||gP(r,r[o],o,n))&&(delete r[o],i=!0)}}return zt.isArray(t)?t.forEach(s):s(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const s=n[r];(!t||gP(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const n=this,r={};return zt.forEach(this,(i,s)=>{const a=zt.findKey(r,s);if(a){n[a]=j3(i),delete n[s];return}const o=t?KBe(s):String(s).trim();o!==s&&delete n[s],n[o]=j3(i),r[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return zt.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&zt.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Pee]=this[Pee]={accessors:{}}).accessors,i=this.prototype;function s(a){const o=lw(a);r[o]||(JBe(i,a),r[o]=!0)}return zt.isArray(t)?t.forEach(s):s(t),this}};uc.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);zt.reduceDescriptors(uc.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});zt.freezeMethods(uc);function bP(e,t){const n=this||$_,r=t||n,i=uc.from(r.headers);let s=r.data;return zt.forEach(e,function(o){s=o.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function vhe(e){return!!(e&&e.__CANCEL__)}function ME(e,t,n){Hr.call(this,e??"canceled",Hr.ERR_CANCELED,t,n),this.name="CanceledError"}zt.inherits(ME,Hr,{__CANCEL__:!0});function She(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Hr("Request failed with status code "+n.status,[Hr.ERR_BAD_REQUEST,Hr.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function eUe(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function tUe(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,s=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),d=r[s];a||(a=c),n[i]=l,r[i]=c;let f=s,p=0;for(;f!==i;)p+=n[f++],f=f%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),c-a{n=d,i=null,s&&(clearTimeout(s),s=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),f=d-n;f>=r?a(c,d):(i=c,s||(s=setTimeout(()=>{s=null,a(i)},r-f)))},()=>i&&a(i)]}const y5=(e,t,n=3)=>{let r=0;const i=tUe(50,250);return nUe(s=>{const a=s.loaded,o=s.lengthComputable?s.total:void 0,l=a-r,c=i(l),d=a<=o;r=a;const f={loaded:a,total:o,progress:o?a/o:void 0,bytes:l,rate:c||void 0,estimated:c&&o&&d?(o-a)/c:void 0,event:s,lengthComputable:o!=null,[t?"download":"upload"]:!0};e(f)},n)},Lee=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Mee=e=>(...t)=>zt.asap(()=>e(...t)),rUe=lc.hasStandardBrowserEnv?function(){const t=lc.navigator&&/(msie|trident)/i.test(lc.navigator.userAgent),n=document.createElement("a");let r;function i(s){let a=s;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(a){const o=zt.isString(a)?i(a):a;return o.protocol===r.protocol&&o.host===r.host}}():function(){return function(){return!0}}(),iUe=lc.hasStandardBrowserEnv?{write(e,t,n,r,i,s){const a=[e+"="+encodeURIComponent(t)];zt.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),zt.isString(r)&&a.push("path="+r),zt.isString(i)&&a.push("domain="+i),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function sUe(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function aUe(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ohe(e,t){return e&&!sUe(t)?aUe(e,t):t}const Fee=e=>e instanceof uc?{...e}:e;function hy(e,t){t=t||{};const n={};function r(c,d,f){return zt.isPlainObject(c)&&zt.isPlainObject(d)?zt.merge.call({caseless:f},c,d):zt.isPlainObject(d)?zt.merge({},d):zt.isArray(d)?d.slice():d}function i(c,d,f){if(zt.isUndefined(d)){if(!zt.isUndefined(c))return r(void 0,c,f)}else return r(c,d,f)}function s(c,d){if(!zt.isUndefined(d))return r(void 0,d)}function a(c,d){if(zt.isUndefined(d)){if(!zt.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function o(c,d,f){if(f in t)return r(c,d);if(f in e)return r(void 0,c)}const l={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:o,headers:(c,d)=>i(Fee(c),Fee(d),!0)};return zt.forEach(Object.keys(Object.assign({},e,t)),function(d){const f=l[d]||i,p=f(e[d],t[d],d);zt.isUndefined(p)&&f!==o||(n[d]=p)}),n}const Ehe=e=>{const t=hy({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:o}=t;t.headers=a=uc.from(a),t.url=ghe(Ohe(t.baseURL,t.url),e.params,e.paramsSerializer),o&&a.set("Authorization","Basic "+btoa((o.username||"")+":"+(o.password?unescape(encodeURIComponent(o.password)):"")));let l;if(zt.isFormData(n)){if(lc.hasStandardBrowserEnv||lc.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((l=a.getContentType())!==!1){const[c,...d]=l?l.split(";").map(f=>f.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...d].join("; "))}}if(lc.hasStandardBrowserEnv&&(r&&zt.isFunction(r)&&(r=r(t)),r||r!==!1&&rUe(t.url))){const c=i&&s&&iUe.read(s);c&&a.set(i,c)}return t},oUe=typeof XMLHttpRequest<"u",lUe=oUe&&function(e){return new Promise(function(n,r){const i=Ehe(e);let s=i.data;const a=uc.from(i.headers).normalize();let{responseType:o,onUploadProgress:l,onDownloadProgress:c}=i,d,f,p,g,b;function w(){g&&g(),b&&b(),i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let x=new XMLHttpRequest;x.open(i.method.toUpperCase(),i.url,!0),x.timeout=i.timeout;function T(){if(!x)return;const C=uc.from("getAllResponseHeaders"in x&&x.getAllResponseHeaders()),M={data:!o||o==="text"||o==="json"?x.responseText:x.response,status:x.status,statusText:x.statusText,headers:C,config:e,request:x};She(function(B){n(B),w()},function(B){r(B),w()},M),x=null}"onloadend"in x?x.onloadend=T:x.onreadystatechange=function(){!x||x.readyState!==4||x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0)||setTimeout(T)},x.onabort=function(){x&&(r(new Hr("Request aborted",Hr.ECONNABORTED,e,x)),x=null)},x.onerror=function(){r(new Hr("Network Error",Hr.ERR_NETWORK,e,x)),x=null},x.ontimeout=function(){let I=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const M=i.transitional||bhe;i.timeoutErrorMessage&&(I=i.timeoutErrorMessage),r(new Hr(I,M.clarifyTimeoutError?Hr.ETIMEDOUT:Hr.ECONNABORTED,e,x)),x=null},s===void 0&&a.setContentType(null),"setRequestHeader"in x&&zt.forEach(a.toJSON(),function(I,M){x.setRequestHeader(M,I)}),zt.isUndefined(i.withCredentials)||(x.withCredentials=!!i.withCredentials),o&&o!=="json"&&(x.responseType=i.responseType),c&&([p,b]=y5(c,!0),x.addEventListener("progress",p)),l&&x.upload&&([f,g]=y5(l),x.upload.addEventListener("progress",f),x.upload.addEventListener("loadend",g)),(i.cancelToken||i.signal)&&(d=C=>{x&&(r(!C||C.type?new ME(null,e,x):C),x.abort(),x=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const _=eUe(i.url);if(_&&lc.protocols.indexOf(_)===-1){r(new Hr("Unsupported protocol "+_+":",Hr.ERR_BAD_REQUEST,e));return}x.send(s||null)})},uUe=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const s=function(c){if(!i){i=!0,o();const d=c instanceof Error?c:this.reason;r.abort(d instanceof Hr?d:new ME(d instanceof Error?d.message:d))}};let a=t&&setTimeout(()=>{a=null,s(new Hr(`timeout ${t} of ms exceeded`,Hr.ETIMEDOUT))},t);const o=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(s):c.removeEventListener("abort",s)}),e=null)};e.forEach(c=>c.addEventListener("abort",s));const{signal:l}=r;return l.unsubscribe=()=>zt.asap(o),l}},cUe=function*(e,t){let n=e.byteLength;if(n{const i=dUe(e,t);let s=0,a,o=l=>{a||(a=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:d}=await i.next();if(c){o(),l.close();return}let f=d.byteLength;if(n){let p=s+=f;n(p)}l.enqueue(new Uint8Array(d))}catch(c){throw o(c),c}},cancel(l){return o(l),i.return()}},{highWaterMark:2})},fD=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",whe=fD&&typeof ReadableStream=="function",hUe=fD&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),xhe=(e,...t)=>{try{return!!e(...t)}catch{return!1}},pUe=whe&&xhe(()=>{let e=!1;const t=new Request(lc.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Bee=64*1024,d9=whe&&xhe(()=>zt.isReadableStream(new Response("").body)),v5={stream:d9&&(e=>e.body)};fD&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!v5[t]&&(v5[t]=zt.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new Hr(`Response type '${t}' is not supported`,Hr.ERR_NOT_SUPPORT,r)})})})(new Response);const mUe=async e=>{if(e==null)return 0;if(zt.isBlob(e))return e.size;if(zt.isSpecCompliantForm(e))return(await new Request(lc.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(zt.isArrayBufferView(e)||zt.isArrayBuffer(e))return e.byteLength;if(zt.isURLSearchParams(e)&&(e=e+""),zt.isString(e))return(await hUe(e)).byteLength},gUe=async(e,t)=>{const n=zt.toFiniteNumber(e.getContentLength());return n??mUe(t)},bUe=fD&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:s,timeout:a,onDownloadProgress:o,onUploadProgress:l,responseType:c,headers:d,withCredentials:f="same-origin",fetchOptions:p}=Ehe(e);c=c?(c+"").toLowerCase():"text";let g=uUe([i,s&&s.toAbortSignal()],a),b;const w=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let x;try{if(l&&pUe&&n!=="get"&&n!=="head"&&(x=await gUe(d,r))!==0){let M=new Request(t,{method:"POST",body:r,duplex:"half"}),$;if(zt.isFormData(r)&&($=M.headers.get("content-type"))&&d.setContentType($),M.body){const[B,j]=Lee(x,y5(Mee(l)));r=$ee(M.body,Bee,B,j)}}zt.isString(f)||(f=f?"include":"omit");const T="credentials"in Request.prototype;b=new Request(t,{...p,signal:g,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:T?f:void 0});let _=await fetch(b);const C=d9&&(c==="stream"||c==="response");if(d9&&(o||C&&w)){const M={};["status","statusText","headers"].forEach(F=>{M[F]=_[F]});const $=zt.toFiniteNumber(_.headers.get("content-length")),[B,j]=o&&Lee($,y5(Mee(o),!0))||[];_=new Response($ee(_.body,Bee,B,()=>{j&&j(),w&&w()}),M)}c=c||"text";let I=await v5[zt.findKey(v5,c)||"text"](_,e);return!C&&w&&w(),await new Promise((M,$)=>{She(M,$,{data:I,headers:uc.from(_.headers),status:_.status,statusText:_.statusText,config:e,request:b})})}catch(T){throw w&&w(),T&&T.name==="TypeError"&&/fetch/i.test(T.message)?Object.assign(new Hr("Network Error",Hr.ERR_NETWORK,e,b),{cause:T.cause||T}):Hr.from(T,T&&T.code,e,b)}}),f9={http:DBe,xhr:lUe,fetch:bUe};zt.forEach(f9,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Uee=e=>`- ${e}`,yUe=e=>zt.isFunction(e)||e===null||e===!1,The={getAdapter:e=>{e=zt.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let s=0;s`adapter ${o} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?s.length>1?`since : `+s.map(Uee).join(` -`):" "+Uee(s[0]):"as no adapter specified";throw new Hr("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:f9};function yP(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ME(null,e)}function zee(e){return yP(e),e.headers=uc.from(e.headers),e.data=bP.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),xhe.getAdapter(e.adapter||$_.adapter)(e).then(function(r){return yP(e),r.data=bP.call(e,e.transformResponse,r),r.headers=uc.from(r.headers),r},function(r){return yhe(r)||(yP(e),r&&r.response&&(r.response.data=bP.call(e,e.transformResponse,r.response),r.response.headers=uc.from(r.response.headers))),Promise.reject(r)})}const The="1.7.7",OH={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{OH[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Hee={};OH.transitional=function(t,n,r){function i(s,a){return"[Axios v"+The+"] Transitional option '"+s+"'"+a+(r?". "+r:"")}return(s,a,o)=>{if(t===!1)throw new Hr(i(a," has been removed"+(n?" in "+n:"")),Hr.ERR_DEPRECATED);return n&&!Hee[a]&&(Hee[a]=!0,console.warn(i(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,a,o):!0}};function yUe(e,t,n){if(typeof e!="object")throw new Hr("options must be an object",Hr.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const s=r[i],a=t[s];if(a){const o=e[s],l=o===void 0||a(o,s,e);if(l!==!0)throw new Hr("option "+s+" must be "+l,Hr.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Hr("Unknown option "+s,Hr.ERR_BAD_OPTION)}}const h9={assertOptions:yUe,validators:OH},lg=h9.validators;let Qb=class{constructor(t){this.defaults=t,this.interceptors={request:new Nee,response:new Nee}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=` -`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=hy(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&h9.assertOptions(r,{silentJSONParsing:lg.transitional(lg.boolean),forcedJSONParsing:lg.transitional(lg.boolean),clarifyTimeoutError:lg.transitional(lg.boolean)},!1),i!=null&&(zt.isFunction(i)?n.paramsSerializer={serialize:i}:h9.assertOptions(i,{encode:lg.function,serialize:lg.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&zt.merge(s.common,s[n.method]);s&&zt.forEach(["delete","get","head","post","put","patch","common"],b=>{delete s[b]}),n.headers=uc.concat(a,s);const o=[];let l=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(n)===!1||(l=l&&w.synchronous,o.unshift(w.fulfilled,w.rejected))});const c=[];this.interceptors.response.forEach(function(w){c.push(w.fulfilled,w.rejected)});let d,f=0,p;if(!l){const b=[zee.bind(this),void 0];for(b.unshift.apply(b,o),b.push.apply(b,c),p=b.length,d=Promise.resolve(n);f{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const a=new Promise(o=>{r.subscribe(o),s=o}).then(i);return a.cancel=function(){r.unsubscribe(s)},a},t(function(s,a,o){r.reason||(r.reason=new ME(s,a,o),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new khe(function(i){t=i}),cancel:t}}};function SUe(e){return function(n){return e.apply(null,n)}}function OUe(e){return zt.isObject(e)&&e.isAxiosError===!0}const p9={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(p9).forEach(([e,t])=>{p9[t]=e});function _he(e){const t=new Qb(e),n=rhe(Qb.prototype.request,t);return zt.extend(n,Qb.prototype,t,{allOwnKeys:!0}),zt.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return _he(hy(e,i))},n}const kr=_he($_);kr.Axios=Qb;kr.CanceledError=ME;kr.CancelToken=vUe;kr.isCancel=yhe;kr.VERSION=The;kr.toFormData=dD;kr.AxiosError=Hr;kr.Cancel=kr.CanceledError;kr.all=function(t){return Promise.all(t)};kr.spread=SUe;kr.isAxiosError=OUe;kr.mergeConfig=hy;kr.AxiosHeaders=uc;kr.formToJSON=e=>bhe(zt.isHTMLForm(e)?new FormData(e):e);kr.getAdapter=xhe.getAdapter;kr.HttpStatusCode=p9;kr.default=kr;const{Axios:Han,AxiosError:Ahe,CanceledError:qan,isCancel:jan,CancelToken:Wan,VERSION:Qan,all:Van,Cancel:Gan,isAxiosError:Yan,spread:Zan,toFormData:Xan,AxiosHeaders:Kan,HttpStatusCode:Jan,formToJSON:eon,getAdapter:ton,mergeConfig:non}=kr;var Che={exports:{}},Rhe={};/** +`):" "+Uee(s[0]):"as no adapter specified";throw new Hr("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:f9};function yP(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ME(null,e)}function zee(e){return yP(e),e.headers=uc.from(e.headers),e.data=bP.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),The.getAdapter(e.adapter||$_.adapter)(e).then(function(r){return yP(e),r.data=bP.call(e,e.transformResponse,r),r.headers=uc.from(r.headers),r},function(r){return vhe(r)||(yP(e),r&&r.response&&(r.response.data=bP.call(e,e.transformResponse,r.response),r.response.headers=uc.from(r.response.headers))),Promise.reject(r)})}const khe="1.7.7",OH={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{OH[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Hee={};OH.transitional=function(t,n,r){function i(s,a){return"[Axios v"+khe+"] Transitional option '"+s+"'"+a+(r?". "+r:"")}return(s,a,o)=>{if(t===!1)throw new Hr(i(a," has been removed"+(n?" in "+n:"")),Hr.ERR_DEPRECATED);return n&&!Hee[a]&&(Hee[a]=!0,console.warn(i(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,a,o):!0}};function vUe(e,t,n){if(typeof e!="object")throw new Hr("options must be an object",Hr.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const s=r[i],a=t[s];if(a){const o=e[s],l=o===void 0||a(o,s,e);if(l!==!0)throw new Hr("option "+s+" must be "+l,Hr.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Hr("Unknown option "+s,Hr.ERR_BAD_OPTION)}}const h9={assertOptions:vUe,validators:OH},lg=h9.validators;let Qb=class{constructor(t){this.defaults=t,this.interceptors={request:new Nee,response:new Nee}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=` +`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=hy(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&h9.assertOptions(r,{silentJSONParsing:lg.transitional(lg.boolean),forcedJSONParsing:lg.transitional(lg.boolean),clarifyTimeoutError:lg.transitional(lg.boolean)},!1),i!=null&&(zt.isFunction(i)?n.paramsSerializer={serialize:i}:h9.assertOptions(i,{encode:lg.function,serialize:lg.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&zt.merge(s.common,s[n.method]);s&&zt.forEach(["delete","get","head","post","put","patch","common"],b=>{delete s[b]}),n.headers=uc.concat(a,s);const o=[];let l=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(n)===!1||(l=l&&w.synchronous,o.unshift(w.fulfilled,w.rejected))});const c=[];this.interceptors.response.forEach(function(w){c.push(w.fulfilled,w.rejected)});let d,f=0,p;if(!l){const b=[zee.bind(this),void 0];for(b.unshift.apply(b,o),b.push.apply(b,c),p=b.length,d=Promise.resolve(n);f{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const a=new Promise(o=>{r.subscribe(o),s=o}).then(i);return a.cancel=function(){r.unsubscribe(s)},a},t(function(s,a,o){r.reason||(r.reason=new ME(s,a,o),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new _he(function(i){t=i}),cancel:t}}};function OUe(e){return function(n){return e.apply(null,n)}}function EUe(e){return zt.isObject(e)&&e.isAxiosError===!0}const p9={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(p9).forEach(([e,t])=>{p9[t]=e});function Ahe(e){const t=new Qb(e),n=ihe(Qb.prototype.request,t);return zt.extend(n,Qb.prototype,t,{allOwnKeys:!0}),zt.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Ahe(hy(e,i))},n}const kr=Ahe($_);kr.Axios=Qb;kr.CanceledError=ME;kr.CancelToken=SUe;kr.isCancel=vhe;kr.VERSION=khe;kr.toFormData=dD;kr.AxiosError=Hr;kr.Cancel=kr.CanceledError;kr.all=function(t){return Promise.all(t)};kr.spread=OUe;kr.isAxiosError=EUe;kr.mergeConfig=hy;kr.AxiosHeaders=uc;kr.formToJSON=e=>yhe(zt.isHTMLForm(e)?new FormData(e):e);kr.getAdapter=The.getAdapter;kr.HttpStatusCode=p9;kr.default=kr;const{Axios:ron,AxiosError:Che,CanceledError:ion,isCancel:son,CancelToken:aon,VERSION:oon,all:lon,Cancel:uon,isAxiosError:con,spread:don,toFormData:fon,AxiosHeaders:hon,HttpStatusCode:pon,formToJSON:mon,getAdapter:gon,mergeConfig:bon}=kr;var Rhe={exports:{}},Ihe={};/** * @license React * use-sync-external-store-with-selector.production.min.js * @@ -230,7 +230,7 @@ Error:`,i)}}function m9e(){return JMe(e=>{IE("cls",{metric:e}),ffe=e},{reportAll * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var B_=Y;function EUe(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var wUe=typeof Object.is=="function"?Object.is:EUe,xUe=B_.useSyncExternalStore,TUe=B_.useRef,kUe=B_.useEffect,_Ue=B_.useMemo,AUe=B_.useDebugValue;Rhe.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var s=TUe(null);if(s.current===null){var a={hasValue:!1,value:null};s.current=a}else a=s.current;s=_Ue(function(){function l(g){if(!c){if(c=!0,d=g,g=r(g),i!==void 0&&a.hasValue){var b=a.value;if(i(b,g))return f=b}return f=g}if(b=f,wUe(d,g))return b;var w=r(g);return i!==void 0&&i(b,w)?b:(d=g,f=w)}var c=!1,d,f,p=n===void 0?null:n;return[function(){return l(t())},p===null?void 0:function(){return l(p())}]},[t,n,r,i]);var o=xUe(e,s[0],s[1]);return kUe(function(){a.hasValue=!0,a.value=o},[o]),AUe(o),o};Che.exports=Rhe;var CUe=Che.exports,ed="default"in Zb?Dn:Zb,qee=Symbol.for("react-redux-context"),jee=typeof globalThis<"u"?globalThis:{};function RUe(){if(!ed.createContext)return{};const e=jee[qee]??(jee[qee]=new Map);let t=e.get(ed.createContext);return t||(t=ed.createContext(null),e.set(ed.createContext,t)),t}var u1=RUe(),IUe=()=>{throw new Error("uSES not initialized!")};function EH(e=u1){return function(){return ed.useContext(e)}}var Ihe=EH(),Dhe=IUe,DUe=e=>{Dhe=e},NUe=(e,t)=>e===t;function PUe(e=u1){const t=e===u1?Ihe:EH(e),n=(r,i={})=>{const{equalityFn:s=NUe,devModeChecks:a={}}=typeof i=="function"?{equalityFn:i}:i,{store:o,subscription:l,getServerState:c,stabilityCheck:d,identityFunctionCheck:f}=t();ed.useRef(!0);const p=ed.useCallback({[r.name](b){return r(b)}}[r.name],[r,d,a.stabilityCheck]),g=Dhe(l.addNestedSub,o.getState,c||o.getState,p,s);return ed.useDebugValue(g),g};return Object.assign(n,{withTypes:()=>n}),n}var ei=PUe();function LUe(e){e()}function MUe(){let e=null,t=null;return{clear(){e=null,t=null},notify(){LUe(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var Wee={notify(){},get:()=>[]};function FUe(e,t){let n,r=Wee,i=0,s=!1;function a(w){d();const x=r.subscribe(w);let T=!1;return()=>{T||(T=!0,x(),f())}}function o(){r.notify()}function l(){b.onStateChange&&b.onStateChange()}function c(){return s}function d(){i++,n||(n=e.subscribe(l),r=MUe())}function f(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=Wee)}function p(){s||(s=!0,d())}function g(){s&&(s=!1,f())}const b={addNestedSub:a,notifyNestedSubs:o,handleChangeWrapper:l,isSubscribed:c,trySubscribe:p,tryUnsubscribe:g,getListeners:()=>r};return b}var $Ue=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",BUe=typeof navigator<"u"&&navigator.product==="ReactNative",UUe=$Ue||BUe?ed.useLayoutEffect:ed.useEffect;function zUe({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:s="once"}){const a=ed.useMemo(()=>{const c=FUe(e);return{store:e,subscription:c,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:s}},[e,r,i,s]),o=ed.useMemo(()=>e.getState(),[e]);UUe(()=>{const{subscription:c}=a;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),o!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[a,o]);const l=t||u1;return ed.createElement(l.Provider,{value:a},n)}var HUe=zUe;function Nhe(e=u1){const t=e===u1?Ihe:EH(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var qUe=Nhe();function jUe(e=u1){const t=e===u1?qUe:Nhe(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var mc=jUe();DUe(CUe.useSyncExternalStoreWithSelector);/** + */var B_=Y;function wUe(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var xUe=typeof Object.is=="function"?Object.is:wUe,TUe=B_.useSyncExternalStore,kUe=B_.useRef,_Ue=B_.useEffect,AUe=B_.useMemo,CUe=B_.useDebugValue;Ihe.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var s=kUe(null);if(s.current===null){var a={hasValue:!1,value:null};s.current=a}else a=s.current;s=AUe(function(){function l(g){if(!c){if(c=!0,d=g,g=r(g),i!==void 0&&a.hasValue){var b=a.value;if(i(b,g))return f=b}return f=g}if(b=f,xUe(d,g))return b;var w=r(g);return i!==void 0&&i(b,w)?b:(d=g,f=w)}var c=!1,d,f,p=n===void 0?null:n;return[function(){return l(t())},p===null?void 0:function(){return l(p())}]},[t,n,r,i]);var o=TUe(e,s[0],s[1]);return _Ue(function(){a.hasValue=!0,a.value=o},[o]),CUe(o),o};Rhe.exports=Ihe;var RUe=Rhe.exports,td="default"in Zb?Dn:Zb,qee=Symbol.for("react-redux-context"),jee=typeof globalThis<"u"?globalThis:{};function IUe(){if(!td.createContext)return{};const e=jee[qee]??(jee[qee]=new Map);let t=e.get(td.createContext);return t||(t=td.createContext(null),e.set(td.createContext,t)),t}var u1=IUe(),DUe=()=>{throw new Error("uSES not initialized!")};function EH(e=u1){return function(){return td.useContext(e)}}var Dhe=EH(),Nhe=DUe,NUe=e=>{Nhe=e},PUe=(e,t)=>e===t;function LUe(e=u1){const t=e===u1?Dhe:EH(e),n=(r,i={})=>{const{equalityFn:s=PUe,devModeChecks:a={}}=typeof i=="function"?{equalityFn:i}:i,{store:o,subscription:l,getServerState:c,stabilityCheck:d,identityFunctionCheck:f}=t();td.useRef(!0);const p=td.useCallback({[r.name](b){return r(b)}}[r.name],[r,d,a.stabilityCheck]),g=Nhe(l.addNestedSub,o.getState,c||o.getState,p,s);return td.useDebugValue(g),g};return Object.assign(n,{withTypes:()=>n}),n}var ei=LUe();function MUe(e){e()}function FUe(){let e=null,t=null;return{clear(){e=null,t=null},notify(){MUe(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var Wee={notify(){},get:()=>[]};function $Ue(e,t){let n,r=Wee,i=0,s=!1;function a(w){d();const x=r.subscribe(w);let T=!1;return()=>{T||(T=!0,x(),f())}}function o(){r.notify()}function l(){b.onStateChange&&b.onStateChange()}function c(){return s}function d(){i++,n||(n=e.subscribe(l),r=FUe())}function f(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=Wee)}function p(){s||(s=!0,d())}function g(){s&&(s=!1,f())}const b={addNestedSub:a,notifyNestedSubs:o,handleChangeWrapper:l,isSubscribed:c,trySubscribe:p,tryUnsubscribe:g,getListeners:()=>r};return b}var BUe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",UUe=typeof navigator<"u"&&navigator.product==="ReactNative",zUe=BUe||UUe?td.useLayoutEffect:td.useEffect;function HUe({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:s="once"}){const a=td.useMemo(()=>{const c=$Ue(e);return{store:e,subscription:c,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:s}},[e,r,i,s]),o=td.useMemo(()=>e.getState(),[e]);zUe(()=>{const{subscription:c}=a;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),o!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[a,o]);const l=t||u1;return td.createElement(l.Provider,{value:a},n)}var qUe=HUe;function Phe(e=u1){const t=e===u1?Dhe:EH(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var jUe=Phe();function WUe(e=u1){const t=e===u1?jUe:Phe(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var gc=WUe();NUe(RUe.useSyncExternalStoreWithSelector);/** * @remix-run/router v1.19.2 * * Copyright (c) Remix Software Inc. @@ -239,9 +239,9 @@ Error:`,i)}}function m9e(){return JMe(e=>{IE("cls",{metric:e}),ffe=e},{reportAll * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function va(){return va=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function XO(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function QUe(){return Math.random().toString(36).substr(2,8)}function Vee(e,t){return{usr:e.state,key:e.key,idx:t}}function Ek(e,t,n,r){return n===void 0&&(n=null),va({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?x1(t):t,{state:n,key:t&&t.key||r||QUe()})}function U_(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function x1(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function VUe(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:s=!1}=r,a=i.history,o=uo.Pop,l=null,c=d();c==null&&(c=0,a.replaceState(va({},a.state,{idx:c}),""));function d(){return(a.state||{idx:null}).idx}function f(){o=uo.Pop;let x=d(),T=x==null?null:x-c;c=x,l&&l({action:o,location:w.location,delta:T})}function p(x,T){o=uo.Push;let _=Ek(w.location,x,T);c=d()+1;let C=Vee(_,c),I=w.createHref(_);try{a.pushState(C,"",I)}catch(M){if(M instanceof DOMException&&M.name==="DataCloneError")throw M;i.location.assign(I)}s&&l&&l({action:o,location:w.location,delta:1})}function g(x,T){o=uo.Replace;let _=Ek(w.location,x,T);c=d();let C=Vee(_,c),I=w.createHref(_);a.replaceState(C,"",I),s&&l&&l({action:o,location:w.location,delta:0})}function b(x){let T=i.location.origin!=="null"?i.location.origin:i.location.href,_=typeof x=="string"?x:U_(x);return _=_.replace(/ $/,"%20"),ci(T,"No window.location.(origin|href) available to create URL for href: "+_),new URL(_,T)}let w={get action(){return o},get location(){return e(i,a)},listen(x){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Qee,f),l=x,()=>{i.removeEventListener(Qee,f),l=null}},createHref(x){return t(i,x)},createURL:b,encodeLocation(x){let T=b(x);return{pathname:T.pathname,search:T.search,hash:T.hash}},push:p,replace:g,go(x){return a.go(x)}};return w}var gs;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(gs||(gs={}));const GUe=new Set(["lazy","caseSensitive","path","id","index","children"]);function YUe(e){return e.index===!0}function wk(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((i,s)=>{let a=[...n,String(s)],o=typeof i.id=="string"?i.id:a.join("-");if(ci(i.index!==!0||!i.children,"Cannot specify children on an index route"),ci(!r[o],'Found a route id collision on id "'+o+`". Route id's must be globally unique within Data Router usages`),YUe(i)){let l=va({},i,t(i),{id:o});return r[o]=l,l}else{let l=va({},i,t(i),{id:o,children:void 0});return r[o]=l,i.children&&(l.children=wk(i.children,t,a,r)),l}})}function fb(e,t,n){return n===void 0&&(n="/"),W3(e,t,n,!1)}function W3(e,t,n,r){let i=typeof t=="string"?x1(t):t,s=z_(i.pathname||"/",n);if(s==null)return null;let a=Phe(e);XUe(a);let o=null;for(let l=0;o==null&&l{let l={relativePath:o===void 0?s.path||"":o,caseSensitive:s.caseSensitive===!0,childrenIndex:a,route:s};l.relativePath.startsWith("/")&&(ci(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=Jg([r,l.relativePath]),d=n.concat(l);s.children&&s.children.length>0&&(ci(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Phe(s.children,t,d,c)),!(s.path==null&&!s.index)&&t.push({path:c,score:ize(c,s.index),routesMeta:d})};return e.forEach((s,a)=>{var o;if(s.path===""||!((o=s.path)!=null&&o.includes("?")))i(s,a);else for(let l of Lhe(s.path))i(s,a,l)}),t}function Lhe(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return i?[s,""]:[s];let a=Lhe(r.join("/")),o=[];return o.push(...a.map(l=>l===""?s:[s,l].join("/"))),i&&o.push(...a),o.map(l=>e.startsWith("/")&&l===""?"/":l)}function XUe(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:sze(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const KUe=/^:[\w-]+$/,JUe=3,eze=2,tze=1,nze=10,rze=-2,Gee=e=>e==="*";function ize(e,t){let n=e.split("/"),r=n.length;return n.some(Gee)&&(r+=rze),t&&(r+=eze),n.filter(i=>!Gee(i)).reduce((i,s)=>i+(KUe.test(s)?JUe:s===""?tze:nze),r)}function sze(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function aze(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,i={},s="/",a=[];for(let o=0;o{let{paramName:p,isOptional:g}=d;if(p==="*"){let w=o[f]||"";a=s.slice(0,s.length-w.length).replace(/(.)\/+$/,"$1")}const b=o[f];return g&&!b?c[p]=void 0:c[p]=(b||"").replace(/%2F/g,"/"),c},{}),pathname:s,pathnameBase:a,pattern:e}}function oze(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),XO(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,o,l)=>(r.push({paramName:o,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function lze(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return XO(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function z_(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function uze(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?x1(e):e;return{pathname:n?n.startsWith("/")?n:cze(n,t):t,search:fze(r),hash:hze(i)}}function cze(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function vP(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Mhe(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function wH(e,t){let n=Mhe(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function xH(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=x1(e):(i=va({},e),ci(!i.pathname||!i.pathname.includes("?"),vP("?","pathname","search",i)),ci(!i.pathname||!i.pathname.includes("#"),vP("#","pathname","hash",i)),ci(!i.search||!i.search.includes("#"),vP("#","search","hash",i)));let s=e===""||i.pathname==="",a=s?"/":i.pathname,o;if(a==null)o=n;else{let f=t.length-1;if(!r&&a.startsWith("..")){let p=a.split("/");for(;p[0]==="..";)p.shift(),f-=1;i.pathname=p.join("/")}o=f>=0?t[f]:"/"}let l=uze(i,o),c=a&&a!=="/"&&a.endsWith("/"),d=(s||a===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||d)&&(l.pathname+="/"),l}const Jg=e=>e.join("/").replace(/\/\/+/g,"/"),dze=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),fze=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,hze=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class S5{constructor(t,n,r,i){i===void 0&&(i=!1),this.status=t,this.statusText=n||"",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function H_(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Fhe=["post","put","patch","delete"],pze=new Set(Fhe),mze=["get",...Fhe],gze=new Set(mze),bze=new Set([301,302,303,307,308]),yze=new Set([307,308]),SP={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},vze={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},uw={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},TH=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Sze=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),$he="remix-router-transitions";function Oze(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;ci(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let L=e.detectErrorBoundary;i=ve=>({hasErrorBoundary:L(ve)})}else i=Sze;let s={},a=wk(e.routes,i,void 0,s),o,l=e.basename||"/",c=e.unstable_dataStrategy||_ze,d=e.unstable_patchRoutesOnNavigation,f=va({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),p=null,g=new Set,b=1e3,w=new Set,x=null,T=null,_=null,C=e.hydrationData!=null,I=fb(a,e.history.location,l),M=null;if(I==null&&!d){let L=pu(404,{pathname:e.history.location.pathname}),{matches:ve,route:X}=ite(a);I=ve,M={[X.id]:L}}I&&!e.hydrationData&&is(I,a,e.history.location.pathname).active&&(I=null);let $;if(I)if(I.some(L=>L.route.lazy))$=!1;else if(!I.some(L=>L.route.loader))$=!0;else if(f.v7_partialHydration){let L=e.hydrationData?e.hydrationData.loaderData:null,ve=e.hydrationData?e.hydrationData.errors:null,X=be=>be.route.loader?typeof be.route.loader=="function"&&be.route.loader.hydrate===!0?!1:L&&L[be.route.id]!==void 0||ve&&ve[be.route.id]!==void 0:!0;if(ve){let be=I.findIndex(Rt=>ve[Rt.route.id]!==void 0);$=I.slice(0,be+1).every(X)}else $=I.every(X)}else $=e.hydrationData!=null;else if($=!1,I=[],f.v7_partialHydration){let L=is(null,a,e.history.location.pathname);L.active&&L.matches&&(I=L.matches)}let B,j={historyAction:e.history.action,location:e.history.location,matches:I,initialized:$,navigation:SP,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||M,fetchers:new Map,blockers:new Map},F=uo.Pop,V=!1,ie,se=!1,me=new Map,fe=null,le=!1,ye=!1,ae=[],Se=new Set,he=new Map,re=0,Fe=-1,je=new Map,ue=new Set,tt=new Map,St=new Map,Ze=new Set,qt=new Map,xt=new Map,Nt=new Map,Ht;function Jt(){if(p=e.history.listen(L=>{let{action:ve,location:X,delta:be}=L;if(Ht){Ht(),Ht=void 0;return}XO(xt.size===0||be!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let Rt=xr({currentLocation:j.location,nextLocation:X,historyAction:ve});if(Rt&&be!=null){let At=new Promise(ot=>{Ht=ot});e.history.go(be*-1),oi(Rt,{state:"blocked",location:X,proceed(){oi(Rt,{state:"proceeding",proceed:void 0,reset:void 0,location:X}),At.then(()=>e.history.go(be))},reset(){let ot=new Map(j.blockers);ot.set(Rt,uw),Ct({blockers:ot})}});return}return te(ve,X)}),n){Hze(t,me);let L=()=>qze(t,me);t.addEventListener("pagehide",L),fe=()=>t.removeEventListener("pagehide",L)}return j.initialized||te(uo.Pop,j.location,{initialHydration:!0}),B}function Vt(){p&&p(),fe&&fe(),g.clear(),ie&&ie.abort(),j.fetchers.forEach((L,ve)=>Fn(ve)),j.blockers.forEach((L,ve)=>sr(ve))}function en(L){return g.add(L),()=>g.delete(L)}function Ct(L,ve){ve===void 0&&(ve={}),j=va({},j,L);let X=[],be=[];f.v7_fetcherPersist&&j.fetchers.forEach((Rt,At)=>{Rt.state==="idle"&&(Ze.has(At)?be.push(At):X.push(At))}),[...g].forEach(Rt=>Rt(j,{deletedFetchers:be,unstable_viewTransitionOpts:ve.viewTransitionOpts,unstable_flushSync:ve.flushSync===!0})),f.v7_fetcherPersist&&(X.forEach(Rt=>j.fetchers.delete(Rt)),be.forEach(Rt=>Fn(Rt)))}function Xe(L,ve,X){var be,Rt;let{flushSync:At}=X===void 0?{}:X,ot=j.actionData!=null&&j.navigation.formMethod!=null&&Yf(j.navigation.formMethod)&&j.navigation.state==="loading"&&((be=L.state)==null?void 0:be._isRedirect)!==!0,Je;ve.actionData?Object.keys(ve.actionData).length>0?Je=ve.actionData:Je=null:ot?Je=j.actionData:Je=null;let ft=ve.loaderData?nte(j.loaderData,ve.loaderData,ve.matches||[],ve.errors):j.loaderData,Mt=j.blockers;Mt.size>0&&(Mt=new Map(Mt),Mt.forEach((Ce,_t)=>Mt.set(_t,uw)));let Yt=V===!0||j.navigation.formMethod!=null&&Yf(j.navigation.formMethod)&&((Rt=L.state)==null?void 0:Rt._isRedirect)!==!0;o&&(a=o,o=void 0),le||F===uo.Pop||(F===uo.Push?e.history.push(L,L.state):F===uo.Replace&&e.history.replace(L,L.state));let Nn;if(F===uo.Pop){let Ce=me.get(j.location.pathname);Ce&&Ce.has(L.pathname)?Nn={currentLocation:j.location,nextLocation:L}:me.has(L.pathname)&&(Nn={currentLocation:L,nextLocation:j.location})}else if(se){let Ce=me.get(j.location.pathname);Ce?Ce.add(L.pathname):(Ce=new Set([L.pathname]),me.set(j.location.pathname,Ce)),Nn={currentLocation:j.location,nextLocation:L}}Ct(va({},ve,{actionData:Je,loaderData:ft,historyAction:F,location:L,initialized:!0,navigation:SP,revalidation:"idle",restoreScrollPosition:wa(L,ve.matches||j.matches),preventScrollReset:Yt,blockers:Mt}),{viewTransitionOpts:Nn,flushSync:At===!0}),F=uo.Pop,V=!1,se=!1,le=!1,ye=!1,ae=[]}async function Ut(L,ve){if(typeof L=="number"){e.history.go(L);return}let X=m9(j.location,j.matches,l,f.v7_prependBasename,L,f.v7_relativeSplatPath,ve==null?void 0:ve.fromRouteId,ve==null?void 0:ve.relative),{path:be,submission:Rt,error:At}=Zee(f.v7_normalizeFormMethod,!1,X,ve),ot=j.location,Je=Ek(j.location,be,ve&&ve.state);Je=va({},Je,e.history.encodeLocation(Je));let ft=ve&&ve.replace!=null?ve.replace:void 0,Mt=uo.Push;ft===!0?Mt=uo.Replace:ft===!1||Rt!=null&&Yf(Rt.formMethod)&&Rt.formAction===j.location.pathname+j.location.search&&(Mt=uo.Replace);let Yt=ve&&"preventScrollReset"in ve?ve.preventScrollReset===!0:void 0,Nn=(ve&&ve.unstable_flushSync)===!0,Ce=xr({currentLocation:ot,nextLocation:Je,historyAction:Mt});if(Ce){oi(Ce,{state:"blocked",location:Je,proceed(){oi(Ce,{state:"proceeding",proceed:void 0,reset:void 0,location:Je}),Ut(L,ve)},reset(){let _t=new Map(j.blockers);_t.set(Ce,uw),Ct({blockers:_t})}});return}return await te(Mt,Je,{submission:Rt,pendingError:At,preventScrollReset:Yt,replace:ve&&ve.replace,enableViewTransition:ve&&ve.unstable_viewTransition,flushSync:Nn})}function sn(){if(pt(),Ct({revalidation:"loading"}),j.navigation.state!=="submitting"){if(j.navigation.state==="idle"){te(j.historyAction,j.location,{startUninterruptedRevalidation:!0});return}te(F||j.historyAction,j.navigation.location,{overrideNavigation:j.navigation,enableViewTransition:se===!0})}}async function te(L,ve,X){ie&&ie.abort(),ie=null,F=L,le=(X&&X.startUninterruptedRevalidation)===!0,wi(j.location,j.matches),V=(X&&X.preventScrollReset)===!0,se=(X&&X.enableViewTransition)===!0;let be=o||a,Rt=X&&X.overrideNavigation,At=fb(be,ve,l),ot=(X&&X.flushSync)===!0,Je=is(At,be,ve.pathname);if(Je.active&&Je.matches&&(At=Je.matches),!At){let{error:Ue,notFoundMatches:Mi,route:Jn}=Ir(ve.pathname);Xe(ve,{matches:Mi,loaderData:{},errors:{[Jn.id]:Ue}},{flushSync:ot});return}if(j.initialized&&!ye&&Nze(j.location,ve)&&!(X&&X.submission&&Yf(X.submission.formMethod))){Xe(ve,{matches:At},{flushSync:ot});return}ie=new AbortController;let ft=jv(e.history,ve,ie.signal,X&&X.submission),Mt;if(X&&X.pendingError)Mt=[DS(At).route.id,{type:gs.error,error:X.pendingError}];else if(X&&X.submission&&Yf(X.submission.formMethod)){let Ue=await de(ft,ve,X.submission,At,Je.active,{replace:X.replace,flushSync:ot});if(Ue.shortCircuited)return;if(Ue.pendingActionResult){let[Mi,Jn]=Ue.pendingActionResult;if(Hc(Jn)&&H_(Jn.error)&&Jn.error.status===404){ie=null,Xe(ve,{matches:Ue.matches,loaderData:{},errors:{[Mi]:Jn.error}});return}}At=Ue.matches||At,Mt=Ue.pendingActionResult,Rt=OP(ve,X.submission),ot=!1,Je.active=!1,ft=jv(e.history,ft.url,ft.signal)}let{shortCircuited:Yt,matches:Nn,loaderData:Ce,errors:_t}=await we(ft,ve,At,Je.active,Rt,X&&X.submission,X&&X.fetcherSubmission,X&&X.replace,X&&X.initialHydration===!0,ot,Mt);Yt||(ie=null,Xe(ve,va({matches:Nn||At},rte(Mt),{loaderData:Ce,errors:_t})))}async function de(L,ve,X,be,Rt,At){At===void 0&&(At={}),pt();let ot=Uze(ve,X);if(Ct({navigation:ot},{flushSync:At.flushSync===!0}),Rt){let Mt=await ss(be,ve.pathname,L.signal);if(Mt.type==="aborted")return{shortCircuited:!0};if(Mt.type==="error"){let{boundaryId:Yt,error:Nn}=$r(ve.pathname,Mt);return{matches:Mt.partialMatches,pendingActionResult:[Yt,{type:gs.error,error:Nn}]}}else if(Mt.matches)be=Mt.matches;else{let{notFoundMatches:Yt,error:Nn,route:Ce}=Ir(ve.pathname);return{matches:Yt,pendingActionResult:[Ce.id,{type:gs.error,error:Nn}]}}}let Je,ft=Ww(be,ve);if(!ft.route.action&&!ft.route.lazy)Je={type:gs.error,error:pu(405,{method:L.method,pathname:ve.pathname,routeId:ft.route.id})};else if(Je=(await Ne("action",j,L,[ft],be,null))[ft.route.id],L.signal.aborted)return{shortCircuited:!0};if(Tb(Je)){let Mt;return At&&At.replace!=null?Mt=At.replace:Mt=Jee(Je.response.headers.get("Location"),new URL(L.url),l)===j.location.pathname+j.location.search,await Be(L,Je,!0,{submission:X,replace:Mt}),{shortCircuited:!0}}if($g(Je))throw pu(400,{type:"defer-action"});if(Hc(Je)){let Mt=DS(be,ft.route.id);return(At&&At.replace)!==!0&&(F=uo.Push),{matches:be,pendingActionResult:[Mt.route.id,Je]}}return{matches:be,pendingActionResult:[ft.route.id,Je]}}async function we(L,ve,X,be,Rt,At,ot,Je,ft,Mt,Yt){let Nn=Rt||OP(ve,At),Ce=At||ot||ate(Nn),_t=!le&&(!f.v7_partialHydration||!ft);if(be){if(_t){let Bi=We(Yt);Ct(va({navigation:Nn},Bi!==void 0?{actionData:Bi}:{}),{flushSync:Mt})}let yr=await ss(X,ve.pathname,L.signal);if(yr.type==="aborted")return{shortCircuited:!0};if(yr.type==="error"){let{boundaryId:Bi,error:ga}=$r(ve.pathname,yr);return{matches:yr.partialMatches,loaderData:{},errors:{[Bi]:ga}}}else if(yr.matches)X=yr.matches;else{let{error:Bi,notFoundMatches:ga,route:Vi}=Ir(ve.pathname);return{matches:ga,loaderData:{},errors:{[Vi.id]:Bi}}}}let Ue=o||a,[Mi,Jn]=Xee(e.history,j,X,Ce,ve,f.v7_partialHydration&&ft===!0,f.v7_skipActionErrorRevalidation,ye,ae,Se,Ze,tt,ue,Ue,l,Yt);if(_r(yr=>!(X&&X.some(Bi=>Bi.route.id===yr))||Mi&&Mi.some(Bi=>Bi.route.id===yr)),Fe=++re,Mi.length===0&&Jn.length===0){let yr=Rn();return Xe(ve,va({matches:X,loaderData:{},errors:Yt&&Hc(Yt[1])?{[Yt[0]]:Yt[1].error}:null},rte(Yt),yr?{fetchers:new Map(j.fetchers)}:{}),{flushSync:Mt}),{shortCircuited:!0}}if(_t){let yr={};if(!be){yr.navigation=Nn;let Bi=We(Yt);Bi!==void 0&&(yr.actionData=Bi)}Jn.length>0&&(yr.fetchers=Ke(Jn)),Ct(yr,{flushSync:Mt})}Jn.forEach(yr=>{he.has(yr.key)&&ct(yr.key),yr.controller&&he.set(yr.key,yr.controller)});let xi=()=>Jn.forEach(yr=>ct(yr.key));ie&&ie.signal.addEventListener("abort",xi);let{loaderResults:ti,fetcherResults:wn}=await rt(j,X,Mi,Jn,L);if(L.signal.aborted)return{shortCircuited:!0};ie&&ie.signal.removeEventListener("abort",xi),Jn.forEach(yr=>he.delete(yr.key));let as=v4(ti);if(as)return await Be(L,as.result,!0,{replace:Je}),{shortCircuited:!0};if(as=v4(wn),as)return ue.add(as.key),await Be(L,as.result,!0,{replace:Je}),{shortCircuited:!0};let{loaderData:Qi,errors:Ln}=tte(j,X,Mi,ti,Yt,Jn,wn,qt);qt.forEach((yr,Bi)=>{yr.subscribe(ga=>{(ga||yr.done)&&qt.delete(Bi)})}),f.v7_partialHydration&&ft&&j.errors&&Object.entries(j.errors).filter(yr=>{let[Bi]=yr;return!Mi.some(ga=>ga.route.id===Bi)}).forEach(yr=>{let[Bi,ga]=yr;Ln=Object.assign(Ln||{},{[Bi]:ga})});let ma=Rn(),qs=Sr(Fe),os=ma||qs||Jn.length>0;return va({matches:X,loaderData:Qi,errors:Ln},os?{fetchers:new Map(j.fetchers)}:{})}function We(L){if(L&&!Hc(L[1]))return{[L[0]]:L[1].data};if(j.actionData)return Object.keys(j.actionData).length===0?null:j.actionData}function Ke(L){return L.forEach(ve=>{let X=j.fetchers.get(ve.key),be=cw(void 0,X?X.data:void 0);j.fetchers.set(ve.key,be)}),new Map(j.fetchers)}function xe(L,ve,X,be){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");he.has(L)&&ct(L);let Rt=(be&&be.unstable_flushSync)===!0,At=o||a,ot=m9(j.location,j.matches,l,f.v7_prependBasename,X,f.v7_relativeSplatPath,ve,be==null?void 0:be.relative),Je=fb(At,ot,l),ft=is(Je,At,ot);if(ft.active&&ft.matches&&(Je=ft.matches),!Je){Gt(L,ve,pu(404,{pathname:ot}),{flushSync:Rt});return}let{path:Mt,submission:Yt,error:Nn}=Zee(f.v7_normalizeFormMethod,!0,ot,be);if(Nn){Gt(L,ve,Nn,{flushSync:Rt});return}let Ce=Ww(Je,Mt);if(V=(be&&be.preventScrollReset)===!0,Yt&&Yf(Yt.formMethod)){Qe(L,ve,Mt,Ce,Je,ft.active,Rt,Yt);return}tt.set(L,{routeId:ve,path:Mt}),yt(L,ve,Mt,Ce,Je,ft.active,Rt,Yt)}async function Qe(L,ve,X,be,Rt,At,ot,Je){pt(),tt.delete(L);function ft(Vi){if(!Vi.route.action&&!Vi.route.lazy){let Ja=pu(405,{method:Je.formMethod,pathname:X,routeId:ve});return Gt(L,ve,Ja,{flushSync:ot}),!0}return!1}if(!At&&ft(be))return;let Mt=j.fetchers.get(L);Dt(L,zze(Je,Mt),{flushSync:ot});let Yt=new AbortController,Nn=jv(e.history,X,Yt.signal,Je);if(At){let Vi=await ss(Rt,X,Nn.signal);if(Vi.type==="aborted")return;if(Vi.type==="error"){let{error:Ja}=$r(X,Vi);Gt(L,ve,Ja,{flushSync:ot});return}else if(Vi.matches){if(Rt=Vi.matches,be=Ww(Rt,X),ft(be))return}else{Gt(L,ve,pu(404,{pathname:X}),{flushSync:ot});return}}he.set(L,Yt);let Ce=re,Ue=(await Ne("action",j,Nn,[be],Rt,L))[be.route.id];if(Nn.signal.aborted){he.get(L)===Yt&&he.delete(L);return}if(f.v7_fetcherPersist&&Ze.has(L)){if(Tb(Ue)||Hc(Ue)){Dt(L,dg(void 0));return}}else{if(Tb(Ue))if(he.delete(L),Fe>Ce){Dt(L,dg(void 0));return}else return ue.add(L),Dt(L,cw(Je)),Be(Nn,Ue,!1,{fetcherSubmission:Je});if(Hc(Ue)){Gt(L,ve,Ue.error);return}}if($g(Ue))throw pu(400,{type:"defer-action"});let Mi=j.navigation.location||j.location,Jn=jv(e.history,Mi,Yt.signal),xi=o||a,ti=j.navigation.state!=="idle"?fb(xi,j.navigation.location,l):j.matches;ci(ti,"Didn't find any matches after fetcher action");let wn=++re;je.set(L,wn);let as=cw(Je,Ue.data);j.fetchers.set(L,as);let[Qi,Ln]=Xee(e.history,j,ti,Je,Mi,!1,f.v7_skipActionErrorRevalidation,ye,ae,Se,Ze,tt,ue,xi,l,[be.route.id,Ue]);Ln.filter(Vi=>Vi.key!==L).forEach(Vi=>{let Ja=Vi.key,vd=j.fetchers.get(Ja),Oe=cw(void 0,vd?vd.data:void 0);j.fetchers.set(Ja,Oe),he.has(Ja)&&ct(Ja),Vi.controller&&he.set(Ja,Vi.controller)}),Ct({fetchers:new Map(j.fetchers)});let ma=()=>Ln.forEach(Vi=>ct(Vi.key));Yt.signal.addEventListener("abort",ma);let{loaderResults:qs,fetcherResults:os}=await rt(j,ti,Qi,Ln,Jn);if(Yt.signal.aborted)return;Yt.signal.removeEventListener("abort",ma),je.delete(L),he.delete(L),Ln.forEach(Vi=>he.delete(Vi.key));let yr=v4(qs);if(yr)return Be(Jn,yr.result,!1);if(yr=v4(os),yr)return ue.add(yr.key),Be(Jn,yr.result,!1);let{loaderData:Bi,errors:ga}=tte(j,ti,Qi,qs,void 0,Ln,os,qt);if(j.fetchers.has(L)){let Vi=dg(Ue.data);j.fetchers.set(L,Vi)}Sr(wn),j.navigation.state==="loading"&&wn>Fe?(ci(F,"Expected pending action"),ie&&ie.abort(),Xe(j.navigation.location,{matches:ti,loaderData:Bi,errors:ga,fetchers:new Map(j.fetchers)})):(Ct({errors:ga,loaderData:nte(j.loaderData,Bi,ti,ga),fetchers:new Map(j.fetchers)}),ye=!1)}async function yt(L,ve,X,be,Rt,At,ot,Je){let ft=j.fetchers.get(L);Dt(L,cw(Je,ft?ft.data:void 0),{flushSync:ot});let Mt=new AbortController,Yt=jv(e.history,X,Mt.signal);if(At){let Ue=await ss(Rt,X,Yt.signal);if(Ue.type==="aborted")return;if(Ue.type==="error"){let{error:Mi}=$r(X,Ue);Gt(L,ve,Mi,{flushSync:ot});return}else if(Ue.matches)Rt=Ue.matches,be=Ww(Rt,X);else{Gt(L,ve,pu(404,{pathname:X}),{flushSync:ot});return}}he.set(L,Mt);let Nn=re,_t=(await Ne("loader",j,Yt,[be],Rt,L))[be.route.id];if($g(_t)&&(_t=await kH(_t,Yt.signal,!0)||_t),he.get(L)===Mt&&he.delete(L),!Yt.signal.aborted){if(Ze.has(L)){Dt(L,dg(void 0));return}if(Tb(_t))if(Fe>Nn){Dt(L,dg(void 0));return}else{ue.add(L),await Be(Yt,_t,!1);return}if(Hc(_t)){Gt(L,ve,_t.error);return}ci(!$g(_t),"Unhandled fetcher deferred data"),Dt(L,dg(_t.data))}}async function Be(L,ve,X,be){let{submission:Rt,fetcherSubmission:At,replace:ot}=be===void 0?{}:be;ve.response.headers.has("X-Remix-Revalidate")&&(ye=!0);let Je=ve.response.headers.get("Location");ci(Je,"Expected a Location header on the redirect Response"),Je=Jee(Je,new URL(L.url),l);let ft=Ek(j.location,Je,{_isRedirect:!0});if(n){let Ue=!1;if(ve.response.headers.has("X-Remix-Reload-Document"))Ue=!0;else if(TH.test(Je)){const Mi=e.history.createURL(Je);Ue=Mi.origin!==t.location.origin||z_(Mi.pathname,l)==null}if(Ue){ot?t.location.replace(Je):t.location.assign(Je);return}}ie=null;let Mt=ot===!0||ve.response.headers.has("X-Remix-Replace")?uo.Replace:uo.Push,{formMethod:Yt,formAction:Nn,formEncType:Ce}=j.navigation;!Rt&&!At&&Yt&&Nn&&Ce&&(Rt=ate(j.navigation));let _t=Rt||At;if(yze.has(ve.response.status)&&_t&&Yf(_t.formMethod))await te(Mt,ft,{submission:va({},_t,{formAction:Je}),preventScrollReset:V,enableViewTransition:X?se:void 0});else{let Ue=OP(ft,Rt);await te(Mt,ft,{overrideNavigation:Ue,fetcherSubmission:At,preventScrollReset:V,enableViewTransition:X?se:void 0})}}async function Ne(L,ve,X,be,Rt,At){let ot,Je={};try{ot=await Aze(c,L,ve,X,be,Rt,At,s,i)}catch(ft){return be.forEach(Mt=>{Je[Mt.route.id]={type:gs.error,error:ft}}),Je}for(let[ft,Mt]of Object.entries(ot))if(Lze(Mt)){let Yt=Mt.result;Je[ft]={type:gs.redirect,response:Ize(Yt,X,ft,Rt,l,f.v7_relativeSplatPath)}}else Je[ft]=await Rze(Mt);return Je}async function rt(L,ve,X,be,Rt){let At=L.matches,ot=Ne("loader",L,Rt,X,ve,null),Je=Promise.all(be.map(async Yt=>{if(Yt.matches&&Yt.match&&Yt.controller){let Ce=(await Ne("loader",L,jv(e.history,Yt.path,Yt.controller.signal),[Yt.match],Yt.matches,Yt.key))[Yt.match.route.id];return{[Yt.key]:Ce}}else return Promise.resolve({[Yt.key]:{type:gs.error,error:pu(404,{pathname:Yt.path})}})})),ft=await ot,Mt=(await Je).reduce((Yt,Nn)=>Object.assign(Yt,Nn),{});return await Promise.all([$ze(ve,ft,Rt.signal,At,L.loaderData),Bze(ve,Mt,be)]),{loaderResults:ft,fetcherResults:Mt}}function pt(){ye=!0,ae.push(..._r()),tt.forEach((L,ve)=>{he.has(ve)&&(Se.add(ve),ct(ve))})}function Dt(L,ve,X){X===void 0&&(X={}),j.fetchers.set(L,ve),Ct({fetchers:new Map(j.fetchers)},{flushSync:(X&&X.flushSync)===!0})}function Gt(L,ve,X,be){be===void 0&&(be={});let Rt=DS(j.matches,ve);Fn(L),Ct({errors:{[Rt.route.id]:X},fetchers:new Map(j.fetchers)},{flushSync:(be&&be.flushSync)===!0})}function Pn(L){return f.v7_fetcherPersist&&(St.set(L,(St.get(L)||0)+1),Ze.has(L)&&Ze.delete(L)),j.fetchers.get(L)||vze}function Fn(L){let ve=j.fetchers.get(L);he.has(L)&&!(ve&&ve.state==="loading"&&je.has(L))&&ct(L),tt.delete(L),je.delete(L),ue.delete(L),Ze.delete(L),Se.delete(L),j.fetchers.delete(L)}function kt(L){if(f.v7_fetcherPersist){let ve=(St.get(L)||0)-1;ve<=0?(St.delete(L),Ze.add(L)):St.set(L,ve)}else Fn(L);Ct({fetchers:new Map(j.fetchers)})}function ct(L){let ve=he.get(L);ci(ve,"Expected fetch controller: "+L),ve.abort(),he.delete(L)}function fn(L){for(let ve of L){let X=Pn(ve),be=dg(X.data);j.fetchers.set(ve,be)}}function Rn(){let L=[],ve=!1;for(let X of ue){let be=j.fetchers.get(X);ci(be,"Expected fetcher: "+X),be.state==="loading"&&(ue.delete(X),L.push(X),ve=!0)}return fn(L),ve}function Sr(L){let ve=[];for(let[X,be]of je)if(be0}function ai(L,ve){let X=j.blockers.get(L)||uw;return xt.get(L)!==ve&&xt.set(L,ve),X}function sr(L){j.blockers.delete(L),xt.delete(L)}function oi(L,ve){let X=j.blockers.get(L)||uw;ci(X.state==="unblocked"&&ve.state==="blocked"||X.state==="blocked"&&ve.state==="blocked"||X.state==="blocked"&&ve.state==="proceeding"||X.state==="blocked"&&ve.state==="unblocked"||X.state==="proceeding"&&ve.state==="unblocked","Invalid blocker state transition: "+X.state+" -> "+ve.state);let be=new Map(j.blockers);be.set(L,ve),Ct({blockers:be})}function xr(L){let{currentLocation:ve,nextLocation:X,historyAction:be}=L;if(xt.size===0)return;xt.size>1&&XO(!1,"A router only supports one blocker at a time");let Rt=Array.from(xt.entries()),[At,ot]=Rt[Rt.length-1],Je=j.blockers.get(At);if(!(Je&&Je.state==="proceeding")&&ot({currentLocation:ve,nextLocation:X,historyAction:be}))return At}function Ir(L){let ve=pu(404,{pathname:L}),X=o||a,{matches:be,route:Rt}=ite(X);return _r(),{notFoundMatches:be,route:Rt,error:ve}}function $r(L,ve){return{boundaryId:DS(ve.partialMatches).route.id,error:pu(400,{type:"route-discovery",pathname:L,message:ve.error!=null&&"message"in ve.error?ve.error:String(ve.error)})}}function _r(L){let ve=[];return qt.forEach((X,be)=>{(!L||L(be))&&(X.cancel(),ve.push(be),qt.delete(be))}),ve}function Qr(L,ve,X){if(x=L,_=ve,T=X||null,!C&&j.navigation===SP){C=!0;let be=wa(j.location,j.matches);be!=null&&Ct({restoreScrollPosition:be})}return()=>{x=null,_=null,T=null}}function jn(L,ve){return T&&T(L,ve.map(be=>ZUe(be,j.loaderData)))||L.key}function wi(L,ve){if(x&&_){let X=jn(L,ve);x[X]=_()}}function wa(L,ve){if(x){let X=jn(L,ve),be=x[X];if(typeof be=="number")return be}return null}function is(L,ve,X){if(d){if(w.has(X))return{active:!1,matches:L};if(L){if(Object.keys(L[0].params).length>0)return{active:!0,matches:W3(ve,X,l,!0)}}else return{active:!0,matches:W3(ve,X,l,!0)||[]}}return{active:!1,matches:null}}async function ss(L,ve,X){let be=L;for(;;){let Rt=o==null,At=o||a;try{await Tze(d,ve,be,At,s,i,Nt,X)}catch(ft){return{type:"error",error:ft,partialMatches:be}}finally{Rt&&(a=[...a])}if(X.aborted)return{type:"aborted"};let ot=fb(At,ve,l);if(ot)return Rs(ve,w),{type:"success",matches:ot};let Je=W3(At,ve,l,!0);if(!Je||be.length===Je.length&&be.every((ft,Mt)=>ft.route.id===Je[Mt].route.id))return Rs(ve,w),{type:"success",matches:null};be=Je}}function Rs(L,ve){if(ve.size>=b){let X=ve.values().next().value;ve.delete(X)}ve.add(L)}function at(L){s={},o=wk(L,i,void 0,s)}function z(L,ve){let X=o==null;Uhe(L,ve,o||a,s,i),X&&(a=[...a],Ct({}))}return B={get basename(){return l},get future(){return f},get state(){return j},get routes(){return a},get window(){return t},initialize:Jt,subscribe:en,enableScrollRestoration:Qr,navigate:Ut,fetch:xe,revalidate:sn,createHref:L=>e.history.createHref(L),encodeLocation:L=>e.history.encodeLocation(L),getFetcher:Pn,deleteFetcher:kt,dispose:Vt,getBlocker:ai,deleteBlocker:sr,patchRoutes:z,_internalFetchControllers:he,_internalActiveDeferreds:qt,_internalSetRoutes:at},B}function Eze(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function m9(e,t,n,r,i,s,a,o){let l,c;if(a){l=[];for(let f of t)if(l.push(f),f.route.id===a){c=f;break}}else l=t,c=t[t.length-1];let d=xH(i||".",wH(l,s),z_(e.pathname,n)||e.pathname,o==="path");return i==null&&(d.search=e.search,d.hash=e.hash),(i==null||i===""||i===".")&&c&&c.route.index&&!_H(d.search)&&(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(d.pathname=d.pathname==="/"?n:Jg([n,d.pathname])),U_(d)}function Zee(e,t,n,r){if(!r||!Eze(r))return{path:n};if(r.formMethod&&!Fze(r.formMethod))return{path:n,error:pu(405,{method:r.formMethod})};let i=()=>({path:n,error:pu(400,{type:"invalid-body"})}),s=r.formMethod||"get",a=e?s.toUpperCase():s.toLowerCase(),o=zhe(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!Yf(a))return i();let p=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((g,b)=>{let[w,x]=b;return""+g+w+"="+x+` -`},""):String(r.body);return{path:n,submission:{formMethod:a,formAction:o,formEncType:r.formEncType,formData:void 0,json:void 0,text:p}}}else if(r.formEncType==="application/json"){if(!Yf(a))return i();try{let p=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:a,formAction:o,formEncType:r.formEncType,formData:void 0,json:p,text:void 0}}}catch{return i()}}}ci(typeof FormData=="function","FormData is not available in this environment");let l,c;if(r.formData)l=g9(r.formData),c=r.formData;else if(r.body instanceof FormData)l=g9(r.body),c=r.body;else if(r.body instanceof URLSearchParams)l=r.body,c=ete(l);else if(r.body==null)l=new URLSearchParams,c=new FormData;else try{l=new URLSearchParams(r.body),c=ete(l)}catch{return i()}let d={formMethod:a,formAction:o,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:c,json:void 0,text:void 0};if(Yf(d.formMethod))return{path:n,submission:d};let f=x1(n);return t&&f.search&&_H(f.search)&&l.append("index",""),f.search="?"+l,{path:U_(f),submission:d}}function wze(e,t){let n=e;if(t){let r=e.findIndex(i=>i.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function Xee(e,t,n,r,i,s,a,o,l,c,d,f,p,g,b,w){let x=w?Hc(w[1])?w[1].error:w[1].data:void 0,T=e.createURL(t.location),_=e.createURL(i),C=w&&Hc(w[1])?w[0]:void 0,I=C?wze(n,C):n,M=w?w[1].statusCode:void 0,$=a&&M&&M>=400,B=I.filter((F,V)=>{let{route:ie}=F;if(ie.lazy)return!0;if(ie.loader==null)return!1;if(s)return typeof ie.loader!="function"||ie.loader.hydrate?!0:t.loaderData[ie.id]===void 0&&(!t.errors||t.errors[ie.id]===void 0);if(xze(t.loaderData,t.matches[V],F)||l.some(fe=>fe===F.route.id))return!0;let se=t.matches[V],me=F;return Kee(F,va({currentUrl:T,currentParams:se.params,nextUrl:_,nextParams:me.params},r,{actionResult:x,actionStatus:M,defaultShouldRevalidate:$?!1:o||T.pathname+T.search===_.pathname+_.search||T.search!==_.search||Bhe(se,me)}))}),j=[];return f.forEach((F,V)=>{if(s||!n.some(le=>le.route.id===F.routeId)||d.has(V))return;let ie=fb(g,F.path,b);if(!ie){j.push({key:V,routeId:F.routeId,path:F.path,matches:null,match:null,controller:null});return}let se=t.fetchers.get(V),me=Ww(ie,F.path),fe=!1;p.has(V)?fe=!1:c.has(V)?(c.delete(V),fe=!0):se&&se.state!=="idle"&&se.data===void 0?fe=o:fe=Kee(me,va({currentUrl:T,currentParams:t.matches[t.matches.length-1].params,nextUrl:_,nextParams:n[n.length-1].params},r,{actionResult:x,actionStatus:M,defaultShouldRevalidate:$?!1:o})),fe&&j.push({key:V,routeId:F.routeId,path:F.path,matches:ie,match:me,controller:new AbortController})}),[B,j]}function xze(e,t,n){let r=!t||n.route.id!==t.route.id,i=e[n.route.id]===void 0;return r||i}function Bhe(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Kee(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function Tze(e,t,n,r,i,s,a,o){let l=[t,...n.map(c=>c.route.id)].join("-");try{let c=a.get(l);c||(c=e({path:t,matches:n,patch:(d,f)=>{o.aborted||Uhe(d,f,r,i,s)}}),a.set(l,c)),c&&Pze(c)&&await c}finally{a.delete(l)}}function Uhe(e,t,n,r,i){if(e){var s;let a=r[e];ci(a,"No route found to patch children into: routeId = "+e);let o=wk(t,i,[e,"patch",String(((s=a.children)==null?void 0:s.length)||"0")],r);a.children?a.children.push(...o):a.children=o}else{let a=wk(t,i,["patch",String(n.length||"0")],r);n.push(...a)}}async function kze(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let i=n[e.id];ci(i,"No route found in manifest");let s={};for(let a in r){let l=i[a]!==void 0&&a!=="hasErrorBoundary";XO(!l,'Route "'+i.id+'" has a static property "'+a+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+a+'" will be ignored.')),!l&&!GUe.has(a)&&(s[a]=r[a])}Object.assign(i,s),Object.assign(i,va({},t(i),{lazy:void 0}))}async function _ze(e){let{matches:t}=e,n=t.filter(i=>i.shouldLoad);return(await Promise.all(n.map(i=>i.resolve()))).reduce((i,s,a)=>Object.assign(i,{[n[a].route.id]:s}),{})}async function Aze(e,t,n,r,i,s,a,o,l,c){let d=s.map(g=>g.route.lazy?kze(g.route,l,o):void 0),f=s.map((g,b)=>{let w=d[b],x=i.some(_=>_.route.id===g.route.id);return va({},g,{shouldLoad:x,resolve:async _=>(_&&r.method==="GET"&&(g.route.lazy||g.route.loader)&&(x=!0),x?Cze(t,r,g,w,_,c):Promise.resolve({type:gs.data,result:void 0}))})}),p=await e({matches:f,request:r,params:s[0].params,fetcherKey:a,context:c});try{await Promise.all(d)}catch{}return p}async function Cze(e,t,n,r,i,s){let a,o,l=c=>{let d,f=new Promise((b,w)=>d=w);o=()=>d(),t.signal.addEventListener("abort",o);let p=b=>typeof c!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+n.route.id+"]"))):c({request:t,params:n.params,context:s},...b!==void 0?[b]:[]),g=(async()=>{try{return{type:"data",result:await(i?i(w=>p(w)):p())}}catch(b){return{type:"error",result:b}}})();return Promise.race([g,f])};try{let c=n.route[e];if(r)if(c){let d,[f]=await Promise.all([l(c).catch(p=>{d=p}),r]);if(d!==void 0)throw d;a=f}else if(await r,c=n.route[e],c)a=await l(c);else if(e==="action"){let d=new URL(t.url),f=d.pathname+d.search;throw pu(405,{method:t.method,pathname:f,routeId:n.route.id})}else return{type:gs.data,result:void 0};else if(c)a=await l(c);else{let d=new URL(t.url),f=d.pathname+d.search;throw pu(404,{pathname:f})}ci(a.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(c){return{type:gs.error,result:c}}finally{o&&t.signal.removeEventListener("abort",o)}return a}async function Rze(e){let{result:t,type:n}=e;if(Hhe(t)){let c;try{let d=t.headers.get("Content-Type");d&&/\bapplication\/json\b/.test(d)?t.body==null?c=null:c=await t.json():c=await t.text()}catch(d){return{type:gs.error,error:d}}return n===gs.error?{type:gs.error,error:new S5(t.status,t.statusText,c),statusCode:t.status,headers:t.headers}:{type:gs.data,data:c,statusCode:t.status,headers:t.headers}}if(n===gs.error){if(ste(t)){var r;if(t.data instanceof Error){var i;return{type:gs.error,error:t.data,statusCode:(i=t.init)==null?void 0:i.status}}t=new S5(((r=t.init)==null?void 0:r.status)||500,void 0,t.data)}return{type:gs.error,error:t,statusCode:H_(t)?t.status:void 0}}if(Mze(t)){var s,a;return{type:gs.deferred,deferredData:t,statusCode:(s=t.init)==null?void 0:s.status,headers:((a=t.init)==null?void 0:a.headers)&&new Headers(t.init.headers)}}if(ste(t)){var o,l;return{type:gs.data,data:t.data,statusCode:(o=t.init)==null?void 0:o.status,headers:(l=t.init)!=null&&l.headers?new Headers(t.init.headers):void 0}}return{type:gs.data,data:t}}function Ize(e,t,n,r,i,s){let a=e.headers.get("Location");if(ci(a,"Redirects returned/thrown from loaders/actions must have a Location header"),!TH.test(a)){let o=r.slice(0,r.findIndex(l=>l.route.id===n)+1);a=m9(new URL(t.url),o,i,!0,a,s),e.headers.set("Location",a)}return e}function Jee(e,t,n){if(TH.test(e)){let r=e,i=r.startsWith("//")?new URL(t.protocol+r):new URL(r),s=z_(i.pathname,n)!=null;if(i.origin===t.origin&&s)return i.pathname+i.search+i.hash}return e}function jv(e,t,n,r){let i=e.createURL(zhe(t)).toString(),s={signal:n};if(r&&Yf(r.formMethod)){let{formMethod:a,formEncType:o}=r;s.method=a.toUpperCase(),o==="application/json"?(s.headers=new Headers({"Content-Type":o}),s.body=JSON.stringify(r.json)):o==="text/plain"?s.body=r.text:o==="application/x-www-form-urlencoded"&&r.formData?s.body=g9(r.formData):s.body=r.formData}return new Request(i,s)}function g9(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function ete(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function Dze(e,t,n,r,i){let s={},a=null,o,l=!1,c={},d=n&&Hc(n[1])?n[1].error:void 0;return e.forEach(f=>{if(!(f.route.id in t))return;let p=f.route.id,g=t[p];if(ci(!Tb(g),"Cannot handle redirect results in processLoaderData"),Hc(g)){let b=g.error;d!==void 0&&(b=d,d=void 0),a=a||{};{let w=DS(e,p);a[w.route.id]==null&&(a[w.route.id]=b)}s[p]=void 0,l||(l=!0,o=H_(g.error)?g.error.status:500),g.headers&&(c[p]=g.headers)}else $g(g)?(r.set(p,g.deferredData),s[p]=g.deferredData.data,g.statusCode!=null&&g.statusCode!==200&&!l&&(o=g.statusCode),g.headers&&(c[p]=g.headers)):(s[p]=g.data,g.statusCode&&g.statusCode!==200&&!l&&(o=g.statusCode),g.headers&&(c[p]=g.headers))}),d!==void 0&&n&&(a={[n[0]]:d},s[n[0]]=void 0),{loaderData:s,errors:a,statusCode:o||200,loaderHeaders:c}}function tte(e,t,n,r,i,s,a,o){let{loaderData:l,errors:c}=Dze(t,r,i,o);return s.forEach(d=>{let{key:f,match:p,controller:g}=d,b=a[f];if(ci(b,"Did not find corresponding fetcher result"),!(g&&g.signal.aborted))if(Hc(b)){let w=DS(e.matches,p==null?void 0:p.route.id);c&&c[w.route.id]||(c=va({},c,{[w.route.id]:b.error})),e.fetchers.delete(f)}else if(Tb(b))ci(!1,"Unhandled fetcher revalidation redirect");else if($g(b))ci(!1,"Unhandled fetcher deferred data");else{let w=dg(b.data);e.fetchers.set(f,w)}}),{loaderData:l,errors:c}}function nte(e,t,n,r){let i=va({},t);for(let s of n){let a=s.route.id;if(t.hasOwnProperty(a)?t[a]!==void 0&&(i[a]=t[a]):e[a]!==void 0&&s.route.loader&&(i[a]=e[a]),r&&r.hasOwnProperty(a))break}return i}function rte(e){return e?Hc(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function DS(e,t){return(t?e.slice(0,e.findIndex(r=>r.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function ite(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function pu(e,t){let{pathname:n,routeId:r,method:i,type:s,message:a}=t===void 0?{}:t,o="Unknown Server Error",l="Unknown @remix-run/router error";return e===400?(o="Bad Request",s==="route-discovery"?l='Unable to match URL "'+n+'" - the `unstable_patchRoutesOnNavigation()` '+(`function threw the following error: -`+a):i&&n&&r?l="You made a "+i+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":s==="defer-action"?l="defer() is not supported in actions":s==="invalid-body"&&(l="Unable to encode submission body")):e===403?(o="Forbidden",l='Route "'+r+'" does not match URL "'+n+'"'):e===404?(o="Not Found",l='No route matches URL "'+n+'"'):e===405&&(o="Method Not Allowed",i&&n&&r?l="You made a "+i.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":i&&(l='Invalid request method "'+i.toUpperCase()+'"')),new S5(e||500,o,new Error(l),!0)}function v4(e){let t=Object.entries(e);for(let n=t.length-1;n>=0;n--){let[r,i]=t[n];if(Tb(i))return{key:r,result:i}}}function zhe(e){let t=typeof e=="string"?x1(e):e;return U_(va({},t,{hash:""}))}function Nze(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function Pze(e){return typeof e=="object"&&e!=null&&"then"in e}function Lze(e){return Hhe(e.result)&&bze.has(e.result.status)}function $g(e){return e.type===gs.deferred}function Hc(e){return e.type===gs.error}function Tb(e){return(e&&e.type)===gs.redirect}function ste(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function Mze(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function Hhe(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function Fze(e){return gze.has(e.toLowerCase())}function Yf(e){return pze.has(e.toLowerCase())}async function $ze(e,t,n,r,i){let s=Object.entries(t);for(let a=0;a(p==null?void 0:p.route.id)===o);if(!c)continue;let d=r.find(p=>p.route.id===c.route.id),f=d!=null&&!Bhe(d,c)&&(i&&i[c.route.id])!==void 0;$g(l)&&f&&await kH(l,n,!1).then(p=>{p&&(t[o]=p)})}}async function Bze(e,t,n){for(let r=0;r(c==null?void 0:c.route.id)===s)&&$g(o)&&(ci(a,"Expected an AbortController for revalidating fetcher deferred result"),await kH(o,a.signal,!0).then(c=>{c&&(t[i]=c)}))}}async function kH(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:gs.data,data:e.deferredData.unwrappedData}}catch(i){return{type:gs.error,error:i}}return{type:gs.data,data:e.deferredData.data}}}function _H(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Ww(e,t){let n=typeof t=="string"?x1(t).search:t.search;if(e[e.length-1].route.index&&_H(n||""))return e[e.length-1];let r=Mhe(e);return r[r.length-1]}function ate(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:s,json:a}=e;if(!(!t||!n||!r)){if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(s!=null)return{formMethod:t,formAction:n,formEncType:r,formData:s,json:void 0,text:void 0};if(a!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:a,text:void 0}}}function OP(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Uze(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function cw(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function zze(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function dg(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function Hze(e,t){try{let n=e.sessionStorage.getItem($he);if(n){let r=JSON.parse(n);for(let[i,s]of Object.entries(r||{}))s&&Array.isArray(s)&&t.set(i,new Set(s||[]))}}catch{}}function qze(e,t){if(t.size>0){let n={};for(let[r,i]of t)n[r]=[...i];try{e.sessionStorage.setItem($he,JSON.stringify(n))}catch(r){XO(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** + */function va(){return va=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function XO(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function VUe(){return Math.random().toString(36).substr(2,8)}function Vee(e,t){return{usr:e.state,key:e.key,idx:t}}function Ek(e,t,n,r){return n===void 0&&(n=null),va({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?x1(t):t,{state:n,key:t&&t.key||r||VUe()})}function U_(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function x1(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function GUe(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:s=!1}=r,a=i.history,o=uo.Pop,l=null,c=d();c==null&&(c=0,a.replaceState(va({},a.state,{idx:c}),""));function d(){return(a.state||{idx:null}).idx}function f(){o=uo.Pop;let x=d(),T=x==null?null:x-c;c=x,l&&l({action:o,location:w.location,delta:T})}function p(x,T){o=uo.Push;let _=Ek(w.location,x,T);c=d()+1;let C=Vee(_,c),I=w.createHref(_);try{a.pushState(C,"",I)}catch(M){if(M instanceof DOMException&&M.name==="DataCloneError")throw M;i.location.assign(I)}s&&l&&l({action:o,location:w.location,delta:1})}function g(x,T){o=uo.Replace;let _=Ek(w.location,x,T);c=d();let C=Vee(_,c),I=w.createHref(_);a.replaceState(C,"",I),s&&l&&l({action:o,location:w.location,delta:0})}function b(x){let T=i.location.origin!=="null"?i.location.origin:i.location.href,_=typeof x=="string"?x:U_(x);return _=_.replace(/ $/,"%20"),ci(T,"No window.location.(origin|href) available to create URL for href: "+_),new URL(_,T)}let w={get action(){return o},get location(){return e(i,a)},listen(x){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Qee,f),l=x,()=>{i.removeEventListener(Qee,f),l=null}},createHref(x){return t(i,x)},createURL:b,encodeLocation(x){let T=b(x);return{pathname:T.pathname,search:T.search,hash:T.hash}},push:p,replace:g,go(x){return a.go(x)}};return w}var gs;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(gs||(gs={}));const YUe=new Set(["lazy","caseSensitive","path","id","index","children"]);function ZUe(e){return e.index===!0}function wk(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((i,s)=>{let a=[...n,String(s)],o=typeof i.id=="string"?i.id:a.join("-");if(ci(i.index!==!0||!i.children,"Cannot specify children on an index route"),ci(!r[o],'Found a route id collision on id "'+o+`". Route id's must be globally unique within Data Router usages`),ZUe(i)){let l=va({},i,t(i),{id:o});return r[o]=l,l}else{let l=va({},i,t(i),{id:o,children:void 0});return r[o]=l,i.children&&(l.children=wk(i.children,t,a,r)),l}})}function fb(e,t,n){return n===void 0&&(n="/"),W3(e,t,n,!1)}function W3(e,t,n,r){let i=typeof t=="string"?x1(t):t,s=z_(i.pathname||"/",n);if(s==null)return null;let a=Lhe(e);KUe(a);let o=null;for(let l=0;o==null&&l{let l={relativePath:o===void 0?s.path||"":o,caseSensitive:s.caseSensitive===!0,childrenIndex:a,route:s};l.relativePath.startsWith("/")&&(ci(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=Jg([r,l.relativePath]),d=n.concat(l);s.children&&s.children.length>0&&(ci(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Lhe(s.children,t,d,c)),!(s.path==null&&!s.index)&&t.push({path:c,score:sze(c,s.index),routesMeta:d})};return e.forEach((s,a)=>{var o;if(s.path===""||!((o=s.path)!=null&&o.includes("?")))i(s,a);else for(let l of Mhe(s.path))i(s,a,l)}),t}function Mhe(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return i?[s,""]:[s];let a=Mhe(r.join("/")),o=[];return o.push(...a.map(l=>l===""?s:[s,l].join("/"))),i&&o.push(...a),o.map(l=>e.startsWith("/")&&l===""?"/":l)}function KUe(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:aze(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const JUe=/^:[\w-]+$/,eze=3,tze=2,nze=1,rze=10,ize=-2,Gee=e=>e==="*";function sze(e,t){let n=e.split("/"),r=n.length;return n.some(Gee)&&(r+=ize),t&&(r+=tze),n.filter(i=>!Gee(i)).reduce((i,s)=>i+(JUe.test(s)?eze:s===""?nze:rze),r)}function aze(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function oze(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,i={},s="/",a=[];for(let o=0;o{let{paramName:p,isOptional:g}=d;if(p==="*"){let w=o[f]||"";a=s.slice(0,s.length-w.length).replace(/(.)\/+$/,"$1")}const b=o[f];return g&&!b?c[p]=void 0:c[p]=(b||"").replace(/%2F/g,"/"),c},{}),pathname:s,pathnameBase:a,pattern:e}}function lze(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),XO(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,o,l)=>(r.push({paramName:o,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function uze(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return XO(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function z_(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function cze(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?x1(e):e;return{pathname:n?n.startsWith("/")?n:dze(n,t):t,search:hze(r),hash:pze(i)}}function dze(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function vP(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Fhe(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function wH(e,t){let n=Fhe(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function xH(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=x1(e):(i=va({},e),ci(!i.pathname||!i.pathname.includes("?"),vP("?","pathname","search",i)),ci(!i.pathname||!i.pathname.includes("#"),vP("#","pathname","hash",i)),ci(!i.search||!i.search.includes("#"),vP("#","search","hash",i)));let s=e===""||i.pathname==="",a=s?"/":i.pathname,o;if(a==null)o=n;else{let f=t.length-1;if(!r&&a.startsWith("..")){let p=a.split("/");for(;p[0]==="..";)p.shift(),f-=1;i.pathname=p.join("/")}o=f>=0?t[f]:"/"}let l=cze(i,o),c=a&&a!=="/"&&a.endsWith("/"),d=(s||a===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||d)&&(l.pathname+="/"),l}const Jg=e=>e.join("/").replace(/\/\/+/g,"/"),fze=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),hze=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,pze=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class S5{constructor(t,n,r,i){i===void 0&&(i=!1),this.status=t,this.statusText=n||"",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function H_(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const $he=["post","put","patch","delete"],mze=new Set($he),gze=["get",...$he],bze=new Set(gze),yze=new Set([301,302,303,307,308]),vze=new Set([307,308]),SP={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Sze={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},uw={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},TH=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Oze=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Bhe="remix-router-transitions";function Eze(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;ci(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let L=e.detectErrorBoundary;i=ve=>({hasErrorBoundary:L(ve)})}else i=Oze;let s={},a=wk(e.routes,i,void 0,s),o,l=e.basename||"/",c=e.unstable_dataStrategy||Aze,d=e.unstable_patchRoutesOnNavigation,f=va({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),p=null,g=new Set,b=1e3,w=new Set,x=null,T=null,_=null,C=e.hydrationData!=null,I=fb(a,e.history.location,l),M=null;if(I==null&&!d){let L=pu(404,{pathname:e.history.location.pathname}),{matches:ve,route:X}=ite(a);I=ve,M={[X.id]:L}}I&&!e.hydrationData&&is(I,a,e.history.location.pathname).active&&(I=null);let $;if(I)if(I.some(L=>L.route.lazy))$=!1;else if(!I.some(L=>L.route.loader))$=!0;else if(f.v7_partialHydration){let L=e.hydrationData?e.hydrationData.loaderData:null,ve=e.hydrationData?e.hydrationData.errors:null,X=be=>be.route.loader?typeof be.route.loader=="function"&&be.route.loader.hydrate===!0?!1:L&&L[be.route.id]!==void 0||ve&&ve[be.route.id]!==void 0:!0;if(ve){let be=I.findIndex(Rt=>ve[Rt.route.id]!==void 0);$=I.slice(0,be+1).every(X)}else $=I.every(X)}else $=e.hydrationData!=null;else if($=!1,I=[],f.v7_partialHydration){let L=is(null,a,e.history.location.pathname);L.active&&L.matches&&(I=L.matches)}let B,j={historyAction:e.history.action,location:e.history.location,matches:I,initialized:$,navigation:SP,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||M,fetchers:new Map,blockers:new Map},F=uo.Pop,V=!1,ie,se=!1,me=new Map,fe=null,le=!1,ye=!1,ae=[],Se=new Set,he=new Map,re=0,Fe=-1,je=new Map,ue=new Set,tt=new Map,St=new Map,Ze=new Set,qt=new Map,xt=new Map,Nt=new Map,Ht;function Jt(){if(p=e.history.listen(L=>{let{action:ve,location:X,delta:be}=L;if(Ht){Ht(),Ht=void 0;return}XO(xt.size===0||be!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let Rt=xr({currentLocation:j.location,nextLocation:X,historyAction:ve});if(Rt&&be!=null){let At=new Promise(ot=>{Ht=ot});e.history.go(be*-1),oi(Rt,{state:"blocked",location:X,proceed(){oi(Rt,{state:"proceeding",proceed:void 0,reset:void 0,location:X}),At.then(()=>e.history.go(be))},reset(){let ot=new Map(j.blockers);ot.set(Rt,uw),Ct({blockers:ot})}});return}return te(ve,X)}),n){qze(t,me);let L=()=>jze(t,me);t.addEventListener("pagehide",L),fe=()=>t.removeEventListener("pagehide",L)}return j.initialized||te(uo.Pop,j.location,{initialHydration:!0}),B}function Vt(){p&&p(),fe&&fe(),g.clear(),ie&&ie.abort(),j.fetchers.forEach((L,ve)=>Fn(ve)),j.blockers.forEach((L,ve)=>sr(ve))}function en(L){return g.add(L),()=>g.delete(L)}function Ct(L,ve){ve===void 0&&(ve={}),j=va({},j,L);let X=[],be=[];f.v7_fetcherPersist&&j.fetchers.forEach((Rt,At)=>{Rt.state==="idle"&&(Ze.has(At)?be.push(At):X.push(At))}),[...g].forEach(Rt=>Rt(j,{deletedFetchers:be,unstable_viewTransitionOpts:ve.viewTransitionOpts,unstable_flushSync:ve.flushSync===!0})),f.v7_fetcherPersist&&(X.forEach(Rt=>j.fetchers.delete(Rt)),be.forEach(Rt=>Fn(Rt)))}function Xe(L,ve,X){var be,Rt;let{flushSync:At}=X===void 0?{}:X,ot=j.actionData!=null&&j.navigation.formMethod!=null&&Yf(j.navigation.formMethod)&&j.navigation.state==="loading"&&((be=L.state)==null?void 0:be._isRedirect)!==!0,Je;ve.actionData?Object.keys(ve.actionData).length>0?Je=ve.actionData:Je=null:ot?Je=j.actionData:Je=null;let ft=ve.loaderData?nte(j.loaderData,ve.loaderData,ve.matches||[],ve.errors):j.loaderData,Mt=j.blockers;Mt.size>0&&(Mt=new Map(Mt),Mt.forEach((Ce,_t)=>Mt.set(_t,uw)));let Yt=V===!0||j.navigation.formMethod!=null&&Yf(j.navigation.formMethod)&&((Rt=L.state)==null?void 0:Rt._isRedirect)!==!0;o&&(a=o,o=void 0),le||F===uo.Pop||(F===uo.Push?e.history.push(L,L.state):F===uo.Replace&&e.history.replace(L,L.state));let Nn;if(F===uo.Pop){let Ce=me.get(j.location.pathname);Ce&&Ce.has(L.pathname)?Nn={currentLocation:j.location,nextLocation:L}:me.has(L.pathname)&&(Nn={currentLocation:L,nextLocation:j.location})}else if(se){let Ce=me.get(j.location.pathname);Ce?Ce.add(L.pathname):(Ce=new Set([L.pathname]),me.set(j.location.pathname,Ce)),Nn={currentLocation:j.location,nextLocation:L}}Ct(va({},ve,{actionData:Je,loaderData:ft,historyAction:F,location:L,initialized:!0,navigation:SP,revalidation:"idle",restoreScrollPosition:wa(L,ve.matches||j.matches),preventScrollReset:Yt,blockers:Mt}),{viewTransitionOpts:Nn,flushSync:At===!0}),F=uo.Pop,V=!1,se=!1,le=!1,ye=!1,ae=[]}async function Ut(L,ve){if(typeof L=="number"){e.history.go(L);return}let X=m9(j.location,j.matches,l,f.v7_prependBasename,L,f.v7_relativeSplatPath,ve==null?void 0:ve.fromRouteId,ve==null?void 0:ve.relative),{path:be,submission:Rt,error:At}=Zee(f.v7_normalizeFormMethod,!1,X,ve),ot=j.location,Je=Ek(j.location,be,ve&&ve.state);Je=va({},Je,e.history.encodeLocation(Je));let ft=ve&&ve.replace!=null?ve.replace:void 0,Mt=uo.Push;ft===!0?Mt=uo.Replace:ft===!1||Rt!=null&&Yf(Rt.formMethod)&&Rt.formAction===j.location.pathname+j.location.search&&(Mt=uo.Replace);let Yt=ve&&"preventScrollReset"in ve?ve.preventScrollReset===!0:void 0,Nn=(ve&&ve.unstable_flushSync)===!0,Ce=xr({currentLocation:ot,nextLocation:Je,historyAction:Mt});if(Ce){oi(Ce,{state:"blocked",location:Je,proceed(){oi(Ce,{state:"proceeding",proceed:void 0,reset:void 0,location:Je}),Ut(L,ve)},reset(){let _t=new Map(j.blockers);_t.set(Ce,uw),Ct({blockers:_t})}});return}return await te(Mt,Je,{submission:Rt,pendingError:At,preventScrollReset:Yt,replace:ve&&ve.replace,enableViewTransition:ve&&ve.unstable_viewTransition,flushSync:Nn})}function sn(){if(pt(),Ct({revalidation:"loading"}),j.navigation.state!=="submitting"){if(j.navigation.state==="idle"){te(j.historyAction,j.location,{startUninterruptedRevalidation:!0});return}te(F||j.historyAction,j.navigation.location,{overrideNavigation:j.navigation,enableViewTransition:se===!0})}}async function te(L,ve,X){ie&&ie.abort(),ie=null,F=L,le=(X&&X.startUninterruptedRevalidation)===!0,wi(j.location,j.matches),V=(X&&X.preventScrollReset)===!0,se=(X&&X.enableViewTransition)===!0;let be=o||a,Rt=X&&X.overrideNavigation,At=fb(be,ve,l),ot=(X&&X.flushSync)===!0,Je=is(At,be,ve.pathname);if(Je.active&&Je.matches&&(At=Je.matches),!At){let{error:Ue,notFoundMatches:Mi,route:Jn}=Ir(ve.pathname);Xe(ve,{matches:Mi,loaderData:{},errors:{[Jn.id]:Ue}},{flushSync:ot});return}if(j.initialized&&!ye&&Pze(j.location,ve)&&!(X&&X.submission&&Yf(X.submission.formMethod))){Xe(ve,{matches:At},{flushSync:ot});return}ie=new AbortController;let ft=jv(e.history,ve,ie.signal,X&&X.submission),Mt;if(X&&X.pendingError)Mt=[DS(At).route.id,{type:gs.error,error:X.pendingError}];else if(X&&X.submission&&Yf(X.submission.formMethod)){let Ue=await de(ft,ve,X.submission,At,Je.active,{replace:X.replace,flushSync:ot});if(Ue.shortCircuited)return;if(Ue.pendingActionResult){let[Mi,Jn]=Ue.pendingActionResult;if(qc(Jn)&&H_(Jn.error)&&Jn.error.status===404){ie=null,Xe(ve,{matches:Ue.matches,loaderData:{},errors:{[Mi]:Jn.error}});return}}At=Ue.matches||At,Mt=Ue.pendingActionResult,Rt=OP(ve,X.submission),ot=!1,Je.active=!1,ft=jv(e.history,ft.url,ft.signal)}let{shortCircuited:Yt,matches:Nn,loaderData:Ce,errors:_t}=await we(ft,ve,At,Je.active,Rt,X&&X.submission,X&&X.fetcherSubmission,X&&X.replace,X&&X.initialHydration===!0,ot,Mt);Yt||(ie=null,Xe(ve,va({matches:Nn||At},rte(Mt),{loaderData:Ce,errors:_t})))}async function de(L,ve,X,be,Rt,At){At===void 0&&(At={}),pt();let ot=zze(ve,X);if(Ct({navigation:ot},{flushSync:At.flushSync===!0}),Rt){let Mt=await ss(be,ve.pathname,L.signal);if(Mt.type==="aborted")return{shortCircuited:!0};if(Mt.type==="error"){let{boundaryId:Yt,error:Nn}=$r(ve.pathname,Mt);return{matches:Mt.partialMatches,pendingActionResult:[Yt,{type:gs.error,error:Nn}]}}else if(Mt.matches)be=Mt.matches;else{let{notFoundMatches:Yt,error:Nn,route:Ce}=Ir(ve.pathname);return{matches:Yt,pendingActionResult:[Ce.id,{type:gs.error,error:Nn}]}}}let Je,ft=Ww(be,ve);if(!ft.route.action&&!ft.route.lazy)Je={type:gs.error,error:pu(405,{method:L.method,pathname:ve.pathname,routeId:ft.route.id})};else if(Je=(await Ne("action",j,L,[ft],be,null))[ft.route.id],L.signal.aborted)return{shortCircuited:!0};if(Tb(Je)){let Mt;return At&&At.replace!=null?Mt=At.replace:Mt=Jee(Je.response.headers.get("Location"),new URL(L.url),l)===j.location.pathname+j.location.search,await Be(L,Je,!0,{submission:X,replace:Mt}),{shortCircuited:!0}}if($g(Je))throw pu(400,{type:"defer-action"});if(qc(Je)){let Mt=DS(be,ft.route.id);return(At&&At.replace)!==!0&&(F=uo.Push),{matches:be,pendingActionResult:[Mt.route.id,Je]}}return{matches:be,pendingActionResult:[ft.route.id,Je]}}async function we(L,ve,X,be,Rt,At,ot,Je,ft,Mt,Yt){let Nn=Rt||OP(ve,At),Ce=At||ot||ate(Nn),_t=!le&&(!f.v7_partialHydration||!ft);if(be){if(_t){let Bi=We(Yt);Ct(va({navigation:Nn},Bi!==void 0?{actionData:Bi}:{}),{flushSync:Mt})}let yr=await ss(X,ve.pathname,L.signal);if(yr.type==="aborted")return{shortCircuited:!0};if(yr.type==="error"){let{boundaryId:Bi,error:ga}=$r(ve.pathname,yr);return{matches:yr.partialMatches,loaderData:{},errors:{[Bi]:ga}}}else if(yr.matches)X=yr.matches;else{let{error:Bi,notFoundMatches:ga,route:Vi}=Ir(ve.pathname);return{matches:ga,loaderData:{},errors:{[Vi.id]:Bi}}}}let Ue=o||a,[Mi,Jn]=Xee(e.history,j,X,Ce,ve,f.v7_partialHydration&&ft===!0,f.v7_skipActionErrorRevalidation,ye,ae,Se,Ze,tt,ue,Ue,l,Yt);if(_r(yr=>!(X&&X.some(Bi=>Bi.route.id===yr))||Mi&&Mi.some(Bi=>Bi.route.id===yr)),Fe=++re,Mi.length===0&&Jn.length===0){let yr=Rn();return Xe(ve,va({matches:X,loaderData:{},errors:Yt&&qc(Yt[1])?{[Yt[0]]:Yt[1].error}:null},rte(Yt),yr?{fetchers:new Map(j.fetchers)}:{}),{flushSync:Mt}),{shortCircuited:!0}}if(_t){let yr={};if(!be){yr.navigation=Nn;let Bi=We(Yt);Bi!==void 0&&(yr.actionData=Bi)}Jn.length>0&&(yr.fetchers=Ke(Jn)),Ct(yr,{flushSync:Mt})}Jn.forEach(yr=>{he.has(yr.key)&&ct(yr.key),yr.controller&&he.set(yr.key,yr.controller)});let xi=()=>Jn.forEach(yr=>ct(yr.key));ie&&ie.signal.addEventListener("abort",xi);let{loaderResults:ti,fetcherResults:wn}=await rt(j,X,Mi,Jn,L);if(L.signal.aborted)return{shortCircuited:!0};ie&&ie.signal.removeEventListener("abort",xi),Jn.forEach(yr=>he.delete(yr.key));let as=v4(ti);if(as)return await Be(L,as.result,!0,{replace:Je}),{shortCircuited:!0};if(as=v4(wn),as)return ue.add(as.key),await Be(L,as.result,!0,{replace:Je}),{shortCircuited:!0};let{loaderData:Qi,errors:Ln}=tte(j,X,Mi,ti,Yt,Jn,wn,qt);qt.forEach((yr,Bi)=>{yr.subscribe(ga=>{(ga||yr.done)&&qt.delete(Bi)})}),f.v7_partialHydration&&ft&&j.errors&&Object.entries(j.errors).filter(yr=>{let[Bi]=yr;return!Mi.some(ga=>ga.route.id===Bi)}).forEach(yr=>{let[Bi,ga]=yr;Ln=Object.assign(Ln||{},{[Bi]:ga})});let ma=Rn(),qs=Sr(Fe),os=ma||qs||Jn.length>0;return va({matches:X,loaderData:Qi,errors:Ln},os?{fetchers:new Map(j.fetchers)}:{})}function We(L){if(L&&!qc(L[1]))return{[L[0]]:L[1].data};if(j.actionData)return Object.keys(j.actionData).length===0?null:j.actionData}function Ke(L){return L.forEach(ve=>{let X=j.fetchers.get(ve.key),be=cw(void 0,X?X.data:void 0);j.fetchers.set(ve.key,be)}),new Map(j.fetchers)}function xe(L,ve,X,be){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");he.has(L)&&ct(L);let Rt=(be&&be.unstable_flushSync)===!0,At=o||a,ot=m9(j.location,j.matches,l,f.v7_prependBasename,X,f.v7_relativeSplatPath,ve,be==null?void 0:be.relative),Je=fb(At,ot,l),ft=is(Je,At,ot);if(ft.active&&ft.matches&&(Je=ft.matches),!Je){Gt(L,ve,pu(404,{pathname:ot}),{flushSync:Rt});return}let{path:Mt,submission:Yt,error:Nn}=Zee(f.v7_normalizeFormMethod,!0,ot,be);if(Nn){Gt(L,ve,Nn,{flushSync:Rt});return}let Ce=Ww(Je,Mt);if(V=(be&&be.preventScrollReset)===!0,Yt&&Yf(Yt.formMethod)){Qe(L,ve,Mt,Ce,Je,ft.active,Rt,Yt);return}tt.set(L,{routeId:ve,path:Mt}),yt(L,ve,Mt,Ce,Je,ft.active,Rt,Yt)}async function Qe(L,ve,X,be,Rt,At,ot,Je){pt(),tt.delete(L);function ft(Vi){if(!Vi.route.action&&!Vi.route.lazy){let Ja=pu(405,{method:Je.formMethod,pathname:X,routeId:ve});return Gt(L,ve,Ja,{flushSync:ot}),!0}return!1}if(!At&&ft(be))return;let Mt=j.fetchers.get(L);Dt(L,Hze(Je,Mt),{flushSync:ot});let Yt=new AbortController,Nn=jv(e.history,X,Yt.signal,Je);if(At){let Vi=await ss(Rt,X,Nn.signal);if(Vi.type==="aborted")return;if(Vi.type==="error"){let{error:Ja}=$r(X,Vi);Gt(L,ve,Ja,{flushSync:ot});return}else if(Vi.matches){if(Rt=Vi.matches,be=Ww(Rt,X),ft(be))return}else{Gt(L,ve,pu(404,{pathname:X}),{flushSync:ot});return}}he.set(L,Yt);let Ce=re,Ue=(await Ne("action",j,Nn,[be],Rt,L))[be.route.id];if(Nn.signal.aborted){he.get(L)===Yt&&he.delete(L);return}if(f.v7_fetcherPersist&&Ze.has(L)){if(Tb(Ue)||qc(Ue)){Dt(L,dg(void 0));return}}else{if(Tb(Ue))if(he.delete(L),Fe>Ce){Dt(L,dg(void 0));return}else return ue.add(L),Dt(L,cw(Je)),Be(Nn,Ue,!1,{fetcherSubmission:Je});if(qc(Ue)){Gt(L,ve,Ue.error);return}}if($g(Ue))throw pu(400,{type:"defer-action"});let Mi=j.navigation.location||j.location,Jn=jv(e.history,Mi,Yt.signal),xi=o||a,ti=j.navigation.state!=="idle"?fb(xi,j.navigation.location,l):j.matches;ci(ti,"Didn't find any matches after fetcher action");let wn=++re;je.set(L,wn);let as=cw(Je,Ue.data);j.fetchers.set(L,as);let[Qi,Ln]=Xee(e.history,j,ti,Je,Mi,!1,f.v7_skipActionErrorRevalidation,ye,ae,Se,Ze,tt,ue,xi,l,[be.route.id,Ue]);Ln.filter(Vi=>Vi.key!==L).forEach(Vi=>{let Ja=Vi.key,vd=j.fetchers.get(Ja),Oe=cw(void 0,vd?vd.data:void 0);j.fetchers.set(Ja,Oe),he.has(Ja)&&ct(Ja),Vi.controller&&he.set(Ja,Vi.controller)}),Ct({fetchers:new Map(j.fetchers)});let ma=()=>Ln.forEach(Vi=>ct(Vi.key));Yt.signal.addEventListener("abort",ma);let{loaderResults:qs,fetcherResults:os}=await rt(j,ti,Qi,Ln,Jn);if(Yt.signal.aborted)return;Yt.signal.removeEventListener("abort",ma),je.delete(L),he.delete(L),Ln.forEach(Vi=>he.delete(Vi.key));let yr=v4(qs);if(yr)return Be(Jn,yr.result,!1);if(yr=v4(os),yr)return ue.add(yr.key),Be(Jn,yr.result,!1);let{loaderData:Bi,errors:ga}=tte(j,ti,Qi,qs,void 0,Ln,os,qt);if(j.fetchers.has(L)){let Vi=dg(Ue.data);j.fetchers.set(L,Vi)}Sr(wn),j.navigation.state==="loading"&&wn>Fe?(ci(F,"Expected pending action"),ie&&ie.abort(),Xe(j.navigation.location,{matches:ti,loaderData:Bi,errors:ga,fetchers:new Map(j.fetchers)})):(Ct({errors:ga,loaderData:nte(j.loaderData,Bi,ti,ga),fetchers:new Map(j.fetchers)}),ye=!1)}async function yt(L,ve,X,be,Rt,At,ot,Je){let ft=j.fetchers.get(L);Dt(L,cw(Je,ft?ft.data:void 0),{flushSync:ot});let Mt=new AbortController,Yt=jv(e.history,X,Mt.signal);if(At){let Ue=await ss(Rt,X,Yt.signal);if(Ue.type==="aborted")return;if(Ue.type==="error"){let{error:Mi}=$r(X,Ue);Gt(L,ve,Mi,{flushSync:ot});return}else if(Ue.matches)Rt=Ue.matches,be=Ww(Rt,X);else{Gt(L,ve,pu(404,{pathname:X}),{flushSync:ot});return}}he.set(L,Mt);let Nn=re,_t=(await Ne("loader",j,Yt,[be],Rt,L))[be.route.id];if($g(_t)&&(_t=await kH(_t,Yt.signal,!0)||_t),he.get(L)===Mt&&he.delete(L),!Yt.signal.aborted){if(Ze.has(L)){Dt(L,dg(void 0));return}if(Tb(_t))if(Fe>Nn){Dt(L,dg(void 0));return}else{ue.add(L),await Be(Yt,_t,!1);return}if(qc(_t)){Gt(L,ve,_t.error);return}ci(!$g(_t),"Unhandled fetcher deferred data"),Dt(L,dg(_t.data))}}async function Be(L,ve,X,be){let{submission:Rt,fetcherSubmission:At,replace:ot}=be===void 0?{}:be;ve.response.headers.has("X-Remix-Revalidate")&&(ye=!0);let Je=ve.response.headers.get("Location");ci(Je,"Expected a Location header on the redirect Response"),Je=Jee(Je,new URL(L.url),l);let ft=Ek(j.location,Je,{_isRedirect:!0});if(n){let Ue=!1;if(ve.response.headers.has("X-Remix-Reload-Document"))Ue=!0;else if(TH.test(Je)){const Mi=e.history.createURL(Je);Ue=Mi.origin!==t.location.origin||z_(Mi.pathname,l)==null}if(Ue){ot?t.location.replace(Je):t.location.assign(Je);return}}ie=null;let Mt=ot===!0||ve.response.headers.has("X-Remix-Replace")?uo.Replace:uo.Push,{formMethod:Yt,formAction:Nn,formEncType:Ce}=j.navigation;!Rt&&!At&&Yt&&Nn&&Ce&&(Rt=ate(j.navigation));let _t=Rt||At;if(vze.has(ve.response.status)&&_t&&Yf(_t.formMethod))await te(Mt,ft,{submission:va({},_t,{formAction:Je}),preventScrollReset:V,enableViewTransition:X?se:void 0});else{let Ue=OP(ft,Rt);await te(Mt,ft,{overrideNavigation:Ue,fetcherSubmission:At,preventScrollReset:V,enableViewTransition:X?se:void 0})}}async function Ne(L,ve,X,be,Rt,At){let ot,Je={};try{ot=await Cze(c,L,ve,X,be,Rt,At,s,i)}catch(ft){return be.forEach(Mt=>{Je[Mt.route.id]={type:gs.error,error:ft}}),Je}for(let[ft,Mt]of Object.entries(ot))if(Mze(Mt)){let Yt=Mt.result;Je[ft]={type:gs.redirect,response:Dze(Yt,X,ft,Rt,l,f.v7_relativeSplatPath)}}else Je[ft]=await Ize(Mt);return Je}async function rt(L,ve,X,be,Rt){let At=L.matches,ot=Ne("loader",L,Rt,X,ve,null),Je=Promise.all(be.map(async Yt=>{if(Yt.matches&&Yt.match&&Yt.controller){let Ce=(await Ne("loader",L,jv(e.history,Yt.path,Yt.controller.signal),[Yt.match],Yt.matches,Yt.key))[Yt.match.route.id];return{[Yt.key]:Ce}}else return Promise.resolve({[Yt.key]:{type:gs.error,error:pu(404,{pathname:Yt.path})}})})),ft=await ot,Mt=(await Je).reduce((Yt,Nn)=>Object.assign(Yt,Nn),{});return await Promise.all([Bze(ve,ft,Rt.signal,At,L.loaderData),Uze(ve,Mt,be)]),{loaderResults:ft,fetcherResults:Mt}}function pt(){ye=!0,ae.push(..._r()),tt.forEach((L,ve)=>{he.has(ve)&&(Se.add(ve),ct(ve))})}function Dt(L,ve,X){X===void 0&&(X={}),j.fetchers.set(L,ve),Ct({fetchers:new Map(j.fetchers)},{flushSync:(X&&X.flushSync)===!0})}function Gt(L,ve,X,be){be===void 0&&(be={});let Rt=DS(j.matches,ve);Fn(L),Ct({errors:{[Rt.route.id]:X},fetchers:new Map(j.fetchers)},{flushSync:(be&&be.flushSync)===!0})}function Pn(L){return f.v7_fetcherPersist&&(St.set(L,(St.get(L)||0)+1),Ze.has(L)&&Ze.delete(L)),j.fetchers.get(L)||Sze}function Fn(L){let ve=j.fetchers.get(L);he.has(L)&&!(ve&&ve.state==="loading"&&je.has(L))&&ct(L),tt.delete(L),je.delete(L),ue.delete(L),Ze.delete(L),Se.delete(L),j.fetchers.delete(L)}function kt(L){if(f.v7_fetcherPersist){let ve=(St.get(L)||0)-1;ve<=0?(St.delete(L),Ze.add(L)):St.set(L,ve)}else Fn(L);Ct({fetchers:new Map(j.fetchers)})}function ct(L){let ve=he.get(L);ci(ve,"Expected fetch controller: "+L),ve.abort(),he.delete(L)}function fn(L){for(let ve of L){let X=Pn(ve),be=dg(X.data);j.fetchers.set(ve,be)}}function Rn(){let L=[],ve=!1;for(let X of ue){let be=j.fetchers.get(X);ci(be,"Expected fetcher: "+X),be.state==="loading"&&(ue.delete(X),L.push(X),ve=!0)}return fn(L),ve}function Sr(L){let ve=[];for(let[X,be]of je)if(be0}function ai(L,ve){let X=j.blockers.get(L)||uw;return xt.get(L)!==ve&&xt.set(L,ve),X}function sr(L){j.blockers.delete(L),xt.delete(L)}function oi(L,ve){let X=j.blockers.get(L)||uw;ci(X.state==="unblocked"&&ve.state==="blocked"||X.state==="blocked"&&ve.state==="blocked"||X.state==="blocked"&&ve.state==="proceeding"||X.state==="blocked"&&ve.state==="unblocked"||X.state==="proceeding"&&ve.state==="unblocked","Invalid blocker state transition: "+X.state+" -> "+ve.state);let be=new Map(j.blockers);be.set(L,ve),Ct({blockers:be})}function xr(L){let{currentLocation:ve,nextLocation:X,historyAction:be}=L;if(xt.size===0)return;xt.size>1&&XO(!1,"A router only supports one blocker at a time");let Rt=Array.from(xt.entries()),[At,ot]=Rt[Rt.length-1],Je=j.blockers.get(At);if(!(Je&&Je.state==="proceeding")&&ot({currentLocation:ve,nextLocation:X,historyAction:be}))return At}function Ir(L){let ve=pu(404,{pathname:L}),X=o||a,{matches:be,route:Rt}=ite(X);return _r(),{notFoundMatches:be,route:Rt,error:ve}}function $r(L,ve){return{boundaryId:DS(ve.partialMatches).route.id,error:pu(400,{type:"route-discovery",pathname:L,message:ve.error!=null&&"message"in ve.error?ve.error:String(ve.error)})}}function _r(L){let ve=[];return qt.forEach((X,be)=>{(!L||L(be))&&(X.cancel(),ve.push(be),qt.delete(be))}),ve}function Qr(L,ve,X){if(x=L,_=ve,T=X||null,!C&&j.navigation===SP){C=!0;let be=wa(j.location,j.matches);be!=null&&Ct({restoreScrollPosition:be})}return()=>{x=null,_=null,T=null}}function jn(L,ve){return T&&T(L,ve.map(be=>XUe(be,j.loaderData)))||L.key}function wi(L,ve){if(x&&_){let X=jn(L,ve);x[X]=_()}}function wa(L,ve){if(x){let X=jn(L,ve),be=x[X];if(typeof be=="number")return be}return null}function is(L,ve,X){if(d){if(w.has(X))return{active:!1,matches:L};if(L){if(Object.keys(L[0].params).length>0)return{active:!0,matches:W3(ve,X,l,!0)}}else return{active:!0,matches:W3(ve,X,l,!0)||[]}}return{active:!1,matches:null}}async function ss(L,ve,X){let be=L;for(;;){let Rt=o==null,At=o||a;try{await kze(d,ve,be,At,s,i,Nt,X)}catch(ft){return{type:"error",error:ft,partialMatches:be}}finally{Rt&&(a=[...a])}if(X.aborted)return{type:"aborted"};let ot=fb(At,ve,l);if(ot)return Rs(ve,w),{type:"success",matches:ot};let Je=W3(At,ve,l,!0);if(!Je||be.length===Je.length&&be.every((ft,Mt)=>ft.route.id===Je[Mt].route.id))return Rs(ve,w),{type:"success",matches:null};be=Je}}function Rs(L,ve){if(ve.size>=b){let X=ve.values().next().value;ve.delete(X)}ve.add(L)}function at(L){s={},o=wk(L,i,void 0,s)}function z(L,ve){let X=o==null;zhe(L,ve,o||a,s,i),X&&(a=[...a],Ct({}))}return B={get basename(){return l},get future(){return f},get state(){return j},get routes(){return a},get window(){return t},initialize:Jt,subscribe:en,enableScrollRestoration:Qr,navigate:Ut,fetch:xe,revalidate:sn,createHref:L=>e.history.createHref(L),encodeLocation:L=>e.history.encodeLocation(L),getFetcher:Pn,deleteFetcher:kt,dispose:Vt,getBlocker:ai,deleteBlocker:sr,patchRoutes:z,_internalFetchControllers:he,_internalActiveDeferreds:qt,_internalSetRoutes:at},B}function wze(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function m9(e,t,n,r,i,s,a,o){let l,c;if(a){l=[];for(let f of t)if(l.push(f),f.route.id===a){c=f;break}}else l=t,c=t[t.length-1];let d=xH(i||".",wH(l,s),z_(e.pathname,n)||e.pathname,o==="path");return i==null&&(d.search=e.search,d.hash=e.hash),(i==null||i===""||i===".")&&c&&c.route.index&&!_H(d.search)&&(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(d.pathname=d.pathname==="/"?n:Jg([n,d.pathname])),U_(d)}function Zee(e,t,n,r){if(!r||!wze(r))return{path:n};if(r.formMethod&&!$ze(r.formMethod))return{path:n,error:pu(405,{method:r.formMethod})};let i=()=>({path:n,error:pu(400,{type:"invalid-body"})}),s=r.formMethod||"get",a=e?s.toUpperCase():s.toLowerCase(),o=Hhe(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!Yf(a))return i();let p=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((g,b)=>{let[w,x]=b;return""+g+w+"="+x+` +`},""):String(r.body);return{path:n,submission:{formMethod:a,formAction:o,formEncType:r.formEncType,formData:void 0,json:void 0,text:p}}}else if(r.formEncType==="application/json"){if(!Yf(a))return i();try{let p=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:a,formAction:o,formEncType:r.formEncType,formData:void 0,json:p,text:void 0}}}catch{return i()}}}ci(typeof FormData=="function","FormData is not available in this environment");let l,c;if(r.formData)l=g9(r.formData),c=r.formData;else if(r.body instanceof FormData)l=g9(r.body),c=r.body;else if(r.body instanceof URLSearchParams)l=r.body,c=ete(l);else if(r.body==null)l=new URLSearchParams,c=new FormData;else try{l=new URLSearchParams(r.body),c=ete(l)}catch{return i()}let d={formMethod:a,formAction:o,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:c,json:void 0,text:void 0};if(Yf(d.formMethod))return{path:n,submission:d};let f=x1(n);return t&&f.search&&_H(f.search)&&l.append("index",""),f.search="?"+l,{path:U_(f),submission:d}}function xze(e,t){let n=e;if(t){let r=e.findIndex(i=>i.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function Xee(e,t,n,r,i,s,a,o,l,c,d,f,p,g,b,w){let x=w?qc(w[1])?w[1].error:w[1].data:void 0,T=e.createURL(t.location),_=e.createURL(i),C=w&&qc(w[1])?w[0]:void 0,I=C?xze(n,C):n,M=w?w[1].statusCode:void 0,$=a&&M&&M>=400,B=I.filter((F,V)=>{let{route:ie}=F;if(ie.lazy)return!0;if(ie.loader==null)return!1;if(s)return typeof ie.loader!="function"||ie.loader.hydrate?!0:t.loaderData[ie.id]===void 0&&(!t.errors||t.errors[ie.id]===void 0);if(Tze(t.loaderData,t.matches[V],F)||l.some(fe=>fe===F.route.id))return!0;let se=t.matches[V],me=F;return Kee(F,va({currentUrl:T,currentParams:se.params,nextUrl:_,nextParams:me.params},r,{actionResult:x,actionStatus:M,defaultShouldRevalidate:$?!1:o||T.pathname+T.search===_.pathname+_.search||T.search!==_.search||Uhe(se,me)}))}),j=[];return f.forEach((F,V)=>{if(s||!n.some(le=>le.route.id===F.routeId)||d.has(V))return;let ie=fb(g,F.path,b);if(!ie){j.push({key:V,routeId:F.routeId,path:F.path,matches:null,match:null,controller:null});return}let se=t.fetchers.get(V),me=Ww(ie,F.path),fe=!1;p.has(V)?fe=!1:c.has(V)?(c.delete(V),fe=!0):se&&se.state!=="idle"&&se.data===void 0?fe=o:fe=Kee(me,va({currentUrl:T,currentParams:t.matches[t.matches.length-1].params,nextUrl:_,nextParams:n[n.length-1].params},r,{actionResult:x,actionStatus:M,defaultShouldRevalidate:$?!1:o})),fe&&j.push({key:V,routeId:F.routeId,path:F.path,matches:ie,match:me,controller:new AbortController})}),[B,j]}function Tze(e,t,n){let r=!t||n.route.id!==t.route.id,i=e[n.route.id]===void 0;return r||i}function Uhe(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Kee(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function kze(e,t,n,r,i,s,a,o){let l=[t,...n.map(c=>c.route.id)].join("-");try{let c=a.get(l);c||(c=e({path:t,matches:n,patch:(d,f)=>{o.aborted||zhe(d,f,r,i,s)}}),a.set(l,c)),c&&Lze(c)&&await c}finally{a.delete(l)}}function zhe(e,t,n,r,i){if(e){var s;let a=r[e];ci(a,"No route found to patch children into: routeId = "+e);let o=wk(t,i,[e,"patch",String(((s=a.children)==null?void 0:s.length)||"0")],r);a.children?a.children.push(...o):a.children=o}else{let a=wk(t,i,["patch",String(n.length||"0")],r);n.push(...a)}}async function _ze(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let i=n[e.id];ci(i,"No route found in manifest");let s={};for(let a in r){let l=i[a]!==void 0&&a!=="hasErrorBoundary";XO(!l,'Route "'+i.id+'" has a static property "'+a+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+a+'" will be ignored.')),!l&&!YUe.has(a)&&(s[a]=r[a])}Object.assign(i,s),Object.assign(i,va({},t(i),{lazy:void 0}))}async function Aze(e){let{matches:t}=e,n=t.filter(i=>i.shouldLoad);return(await Promise.all(n.map(i=>i.resolve()))).reduce((i,s,a)=>Object.assign(i,{[n[a].route.id]:s}),{})}async function Cze(e,t,n,r,i,s,a,o,l,c){let d=s.map(g=>g.route.lazy?_ze(g.route,l,o):void 0),f=s.map((g,b)=>{let w=d[b],x=i.some(_=>_.route.id===g.route.id);return va({},g,{shouldLoad:x,resolve:async _=>(_&&r.method==="GET"&&(g.route.lazy||g.route.loader)&&(x=!0),x?Rze(t,r,g,w,_,c):Promise.resolve({type:gs.data,result:void 0}))})}),p=await e({matches:f,request:r,params:s[0].params,fetcherKey:a,context:c});try{await Promise.all(d)}catch{}return p}async function Rze(e,t,n,r,i,s){let a,o,l=c=>{let d,f=new Promise((b,w)=>d=w);o=()=>d(),t.signal.addEventListener("abort",o);let p=b=>typeof c!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+n.route.id+"]"))):c({request:t,params:n.params,context:s},...b!==void 0?[b]:[]),g=(async()=>{try{return{type:"data",result:await(i?i(w=>p(w)):p())}}catch(b){return{type:"error",result:b}}})();return Promise.race([g,f])};try{let c=n.route[e];if(r)if(c){let d,[f]=await Promise.all([l(c).catch(p=>{d=p}),r]);if(d!==void 0)throw d;a=f}else if(await r,c=n.route[e],c)a=await l(c);else if(e==="action"){let d=new URL(t.url),f=d.pathname+d.search;throw pu(405,{method:t.method,pathname:f,routeId:n.route.id})}else return{type:gs.data,result:void 0};else if(c)a=await l(c);else{let d=new URL(t.url),f=d.pathname+d.search;throw pu(404,{pathname:f})}ci(a.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(c){return{type:gs.error,result:c}}finally{o&&t.signal.removeEventListener("abort",o)}return a}async function Ize(e){let{result:t,type:n}=e;if(qhe(t)){let c;try{let d=t.headers.get("Content-Type");d&&/\bapplication\/json\b/.test(d)?t.body==null?c=null:c=await t.json():c=await t.text()}catch(d){return{type:gs.error,error:d}}return n===gs.error?{type:gs.error,error:new S5(t.status,t.statusText,c),statusCode:t.status,headers:t.headers}:{type:gs.data,data:c,statusCode:t.status,headers:t.headers}}if(n===gs.error){if(ste(t)){var r;if(t.data instanceof Error){var i;return{type:gs.error,error:t.data,statusCode:(i=t.init)==null?void 0:i.status}}t=new S5(((r=t.init)==null?void 0:r.status)||500,void 0,t.data)}return{type:gs.error,error:t,statusCode:H_(t)?t.status:void 0}}if(Fze(t)){var s,a;return{type:gs.deferred,deferredData:t,statusCode:(s=t.init)==null?void 0:s.status,headers:((a=t.init)==null?void 0:a.headers)&&new Headers(t.init.headers)}}if(ste(t)){var o,l;return{type:gs.data,data:t.data,statusCode:(o=t.init)==null?void 0:o.status,headers:(l=t.init)!=null&&l.headers?new Headers(t.init.headers):void 0}}return{type:gs.data,data:t}}function Dze(e,t,n,r,i,s){let a=e.headers.get("Location");if(ci(a,"Redirects returned/thrown from loaders/actions must have a Location header"),!TH.test(a)){let o=r.slice(0,r.findIndex(l=>l.route.id===n)+1);a=m9(new URL(t.url),o,i,!0,a,s),e.headers.set("Location",a)}return e}function Jee(e,t,n){if(TH.test(e)){let r=e,i=r.startsWith("//")?new URL(t.protocol+r):new URL(r),s=z_(i.pathname,n)!=null;if(i.origin===t.origin&&s)return i.pathname+i.search+i.hash}return e}function jv(e,t,n,r){let i=e.createURL(Hhe(t)).toString(),s={signal:n};if(r&&Yf(r.formMethod)){let{formMethod:a,formEncType:o}=r;s.method=a.toUpperCase(),o==="application/json"?(s.headers=new Headers({"Content-Type":o}),s.body=JSON.stringify(r.json)):o==="text/plain"?s.body=r.text:o==="application/x-www-form-urlencoded"&&r.formData?s.body=g9(r.formData):s.body=r.formData}return new Request(i,s)}function g9(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function ete(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function Nze(e,t,n,r,i){let s={},a=null,o,l=!1,c={},d=n&&qc(n[1])?n[1].error:void 0;return e.forEach(f=>{if(!(f.route.id in t))return;let p=f.route.id,g=t[p];if(ci(!Tb(g),"Cannot handle redirect results in processLoaderData"),qc(g)){let b=g.error;d!==void 0&&(b=d,d=void 0),a=a||{};{let w=DS(e,p);a[w.route.id]==null&&(a[w.route.id]=b)}s[p]=void 0,l||(l=!0,o=H_(g.error)?g.error.status:500),g.headers&&(c[p]=g.headers)}else $g(g)?(r.set(p,g.deferredData),s[p]=g.deferredData.data,g.statusCode!=null&&g.statusCode!==200&&!l&&(o=g.statusCode),g.headers&&(c[p]=g.headers)):(s[p]=g.data,g.statusCode&&g.statusCode!==200&&!l&&(o=g.statusCode),g.headers&&(c[p]=g.headers))}),d!==void 0&&n&&(a={[n[0]]:d},s[n[0]]=void 0),{loaderData:s,errors:a,statusCode:o||200,loaderHeaders:c}}function tte(e,t,n,r,i,s,a,o){let{loaderData:l,errors:c}=Nze(t,r,i,o);return s.forEach(d=>{let{key:f,match:p,controller:g}=d,b=a[f];if(ci(b,"Did not find corresponding fetcher result"),!(g&&g.signal.aborted))if(qc(b)){let w=DS(e.matches,p==null?void 0:p.route.id);c&&c[w.route.id]||(c=va({},c,{[w.route.id]:b.error})),e.fetchers.delete(f)}else if(Tb(b))ci(!1,"Unhandled fetcher revalidation redirect");else if($g(b))ci(!1,"Unhandled fetcher deferred data");else{let w=dg(b.data);e.fetchers.set(f,w)}}),{loaderData:l,errors:c}}function nte(e,t,n,r){let i=va({},t);for(let s of n){let a=s.route.id;if(t.hasOwnProperty(a)?t[a]!==void 0&&(i[a]=t[a]):e[a]!==void 0&&s.route.loader&&(i[a]=e[a]),r&&r.hasOwnProperty(a))break}return i}function rte(e){return e?qc(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function DS(e,t){return(t?e.slice(0,e.findIndex(r=>r.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function ite(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function pu(e,t){let{pathname:n,routeId:r,method:i,type:s,message:a}=t===void 0?{}:t,o="Unknown Server Error",l="Unknown @remix-run/router error";return e===400?(o="Bad Request",s==="route-discovery"?l='Unable to match URL "'+n+'" - the `unstable_patchRoutesOnNavigation()` '+(`function threw the following error: +`+a):i&&n&&r?l="You made a "+i+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":s==="defer-action"?l="defer() is not supported in actions":s==="invalid-body"&&(l="Unable to encode submission body")):e===403?(o="Forbidden",l='Route "'+r+'" does not match URL "'+n+'"'):e===404?(o="Not Found",l='No route matches URL "'+n+'"'):e===405&&(o="Method Not Allowed",i&&n&&r?l="You made a "+i.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":i&&(l='Invalid request method "'+i.toUpperCase()+'"')),new S5(e||500,o,new Error(l),!0)}function v4(e){let t=Object.entries(e);for(let n=t.length-1;n>=0;n--){let[r,i]=t[n];if(Tb(i))return{key:r,result:i}}}function Hhe(e){let t=typeof e=="string"?x1(e):e;return U_(va({},t,{hash:""}))}function Pze(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function Lze(e){return typeof e=="object"&&e!=null&&"then"in e}function Mze(e){return qhe(e.result)&&yze.has(e.result.status)}function $g(e){return e.type===gs.deferred}function qc(e){return e.type===gs.error}function Tb(e){return(e&&e.type)===gs.redirect}function ste(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function Fze(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function qhe(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function $ze(e){return bze.has(e.toLowerCase())}function Yf(e){return mze.has(e.toLowerCase())}async function Bze(e,t,n,r,i){let s=Object.entries(t);for(let a=0;a(p==null?void 0:p.route.id)===o);if(!c)continue;let d=r.find(p=>p.route.id===c.route.id),f=d!=null&&!Uhe(d,c)&&(i&&i[c.route.id])!==void 0;$g(l)&&f&&await kH(l,n,!1).then(p=>{p&&(t[o]=p)})}}async function Uze(e,t,n){for(let r=0;r(c==null?void 0:c.route.id)===s)&&$g(o)&&(ci(a,"Expected an AbortController for revalidating fetcher deferred result"),await kH(o,a.signal,!0).then(c=>{c&&(t[i]=c)}))}}async function kH(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:gs.data,data:e.deferredData.unwrappedData}}catch(i){return{type:gs.error,error:i}}return{type:gs.data,data:e.deferredData.data}}}function _H(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Ww(e,t){let n=typeof t=="string"?x1(t).search:t.search;if(e[e.length-1].route.index&&_H(n||""))return e[e.length-1];let r=Fhe(e);return r[r.length-1]}function ate(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:s,json:a}=e;if(!(!t||!n||!r)){if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(s!=null)return{formMethod:t,formAction:n,formEncType:r,formData:s,json:void 0,text:void 0};if(a!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:a,text:void 0}}}function OP(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function zze(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function cw(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function Hze(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function dg(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function qze(e,t){try{let n=e.sessionStorage.getItem(Bhe);if(n){let r=JSON.parse(n);for(let[i,s]of Object.entries(r||{}))s&&Array.isArray(s)&&t.set(i,new Set(s||[]))}}catch{}}function jze(e,t){if(t.size>0){let n={};for(let[r,i]of t)n[r]=[...i];try{e.sessionStorage.setItem(Bhe,JSON.stringify(n))}catch(r){XO(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** * React Router v6.26.2 * * Copyright (c) Remix Software Inc. @@ -250,7 +250,7 @@ Error:`,i)}}function m9e(){return JMe(e=>{IE("cls",{metric:e}),ffe=e},{reportAll * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function O5(){return O5=Object.assign?Object.assign.bind():function(e){for(var t=1;t{o.current=!0}),Y.useCallback(function(c,d){if(d===void 0&&(d={}),!o.current)return;if(typeof c=="number"){r.go(c);return}let f=xH(c,JSON.parse(a),s,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Jg([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,a,s,e])}const Wze=Y.createContext(null);function Qze(e){let t=Y.useContext(Em).outlet;return t&&Y.createElement(Wze.Provider,{value:e},t)}function k1(){let{matches:e}=Y.useContext(Em),t=e[e.length-1];return t?t.params:{}}function Vze(e,t,n,r){j_()||ci(!1);let{navigator:i}=Y.useContext(q_),{matches:s}=Y.useContext(Em),a=s[s.length-1],o=a?a.params:{};a&&a.pathname;let l=a?a.pathnameBase:"/";a&&a.route;let c=T1(),d;d=c;let f=d.pathname||"/",p=f;if(l!=="/"){let w=l.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(w.length).join("/")}let g=fb(e,{pathname:p});return Kze(g&&g.map(w=>Object.assign({},w,{params:Object.assign({},o,w.params),pathname:Jg([l,i.encodeLocation?i.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:Jg([l,i.encodeLocation?i.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),s,n,r)}function Gze(){let e=Ghe(),t=H_(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return Y.createElement(Y.Fragment,null,Y.createElement("h2",null,"Unexpected Application Error!"),Y.createElement("h3",{style:{fontStyle:"italic"}},t),n?Y.createElement("pre",{style:i},n):null,null)}const Yze=Y.createElement(Gze,null);class Zze extends Y.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?Y.createElement(Em.Provider,{value:this.props.routeContext},Y.createElement(jhe.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Xze(e){let{routeContext:t,match:n,children:r}=e,i=Y.useContext(hD);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),Y.createElement(Em.Provider,{value:t},r)}function Kze(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,o=(i=n)==null?void 0:i.errors;if(o!=null){let d=a.findIndex(f=>f.route.id&&(o==null?void 0:o[f.route.id])!==void 0);d>=0||ci(!1),a=a.slice(0,Math.min(a.length,d+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?a=a.slice(0,c+1):a=[a[0]];break}}}return a.reduceRight((d,f,p)=>{let g,b=!1,w=null,x=null;n&&(g=o&&f.route.id?o[f.route.id]:void 0,w=f.route.errorElement||Yze,l&&(c<0&&p===0?(b=!0,x=null):c===p&&(b=!0,x=f.route.hydrateFallbackElement||null)));let T=t.concat(a.slice(0,p+1)),_=()=>{let C;return g?C=w:b?C=x:f.route.Component?C=Y.createElement(f.route.Component,null):f.route.element?C=f.route.element:C=d,Y.createElement(Xze,{match:f,routeContext:{outlet:d,matches:T,isDataRoute:n!=null},children:C})};return n&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?Y.createElement(Zze,{location:n.location,revalidation:n.revalidation,component:w,error:g,children:_(),routeContext:{outlet:null,matches:T,isDataRoute:!0}}):_()},null)}var Qhe=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Qhe||{}),E5=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(E5||{});function Jze(e){let t=Y.useContext(hD);return t||ci(!1),t}function eHe(e){let t=Y.useContext(qhe);return t||ci(!1),t}function tHe(e){let t=Y.useContext(Em);return t||ci(!1),t}function Vhe(e){let t=tHe(),n=t.matches[t.matches.length-1];return n.route.id||ci(!1),n.route.id}function Ghe(){var e;let t=Y.useContext(jhe),n=eHe(E5.UseRouteError),r=Vhe(E5.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function nHe(){let{router:e}=Jze(Qhe.UseNavigateStable),t=Vhe(E5.UseNavigateStable),n=Y.useRef(!1);return Whe(()=>{n.current=!0}),Y.useCallback(function(i,s){s===void 0&&(s={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,O5({fromRouteId:t},s)))},[e,t])}function CH(e){let{to:t,replace:n,state:r,relative:i}=e;j_()||ci(!1);let{future:s,static:a}=Y.useContext(q_),{matches:o}=Y.useContext(Em),{pathname:l}=T1(),c=Sf(),d=xH(t,wH(o,s.v7_relativeSplatPath),l,i==="path"),f=JSON.stringify(d);return Y.useEffect(()=>c(JSON.parse(f),{replace:n,state:r,relative:i}),[c,f,i,n,r]),null}function pD(e){return Qze(e.context)}function rHe(e){let{basename:t="/",children:n=null,location:r,navigationType:i=uo.Pop,navigator:s,static:a=!1,future:o}=e;j_()&&ci(!1);let l=t.replace(/^\/*/,"/"),c=Y.useMemo(()=>({basename:l,navigator:s,static:a,future:O5({v7_relativeSplatPath:!1},o)}),[l,o,s,a]);typeof r=="string"&&(r=x1(r));let{pathname:d="/",search:f="",hash:p="",state:g=null,key:b="default"}=r,w=Y.useMemo(()=>{let x=z_(d,l);return x==null?null:{location:{pathname:x,search:f,hash:p,state:g,key:b},navigationType:i}},[l,d,f,p,g,b,i]);return w==null?null:Y.createElement(q_.Provider,{value:c},Y.createElement(AH.Provider,{children:n,value:w}))}new Promise(()=>{});function iHe(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:Y.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:Y.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:Y.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** + */function O5(){return O5=Object.assign?Object.assign.bind():function(e){for(var t=1;t{o.current=!0}),Y.useCallback(function(c,d){if(d===void 0&&(d={}),!o.current)return;if(typeof c=="number"){r.go(c);return}let f=xH(c,JSON.parse(a),s,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Jg([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,a,s,e])}const Qze=Y.createContext(null);function Vze(e){let t=Y.useContext(Em).outlet;return t&&Y.createElement(Qze.Provider,{value:e},t)}function k1(){let{matches:e}=Y.useContext(Em),t=e[e.length-1];return t?t.params:{}}function Gze(e,t,n,r){j_()||ci(!1);let{navigator:i}=Y.useContext(q_),{matches:s}=Y.useContext(Em),a=s[s.length-1],o=a?a.params:{};a&&a.pathname;let l=a?a.pathnameBase:"/";a&&a.route;let c=T1(),d;d=c;let f=d.pathname||"/",p=f;if(l!=="/"){let w=l.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(w.length).join("/")}let g=fb(e,{pathname:p});return Jze(g&&g.map(w=>Object.assign({},w,{params:Object.assign({},o,w.params),pathname:Jg([l,i.encodeLocation?i.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:Jg([l,i.encodeLocation?i.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),s,n,r)}function Yze(){let e=Yhe(),t=H_(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return Y.createElement(Y.Fragment,null,Y.createElement("h2",null,"Unexpected Application Error!"),Y.createElement("h3",{style:{fontStyle:"italic"}},t),n?Y.createElement("pre",{style:i},n):null,null)}const Zze=Y.createElement(Yze,null);class Xze extends Y.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?Y.createElement(Em.Provider,{value:this.props.routeContext},Y.createElement(Whe.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Kze(e){let{routeContext:t,match:n,children:r}=e,i=Y.useContext(hD);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),Y.createElement(Em.Provider,{value:t},r)}function Jze(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,o=(i=n)==null?void 0:i.errors;if(o!=null){let d=a.findIndex(f=>f.route.id&&(o==null?void 0:o[f.route.id])!==void 0);d>=0||ci(!1),a=a.slice(0,Math.min(a.length,d+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?a=a.slice(0,c+1):a=[a[0]];break}}}return a.reduceRight((d,f,p)=>{let g,b=!1,w=null,x=null;n&&(g=o&&f.route.id?o[f.route.id]:void 0,w=f.route.errorElement||Zze,l&&(c<0&&p===0?(b=!0,x=null):c===p&&(b=!0,x=f.route.hydrateFallbackElement||null)));let T=t.concat(a.slice(0,p+1)),_=()=>{let C;return g?C=w:b?C=x:f.route.Component?C=Y.createElement(f.route.Component,null):f.route.element?C=f.route.element:C=d,Y.createElement(Kze,{match:f,routeContext:{outlet:d,matches:T,isDataRoute:n!=null},children:C})};return n&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?Y.createElement(Xze,{location:n.location,revalidation:n.revalidation,component:w,error:g,children:_(),routeContext:{outlet:null,matches:T,isDataRoute:!0}}):_()},null)}var Vhe=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Vhe||{}),E5=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(E5||{});function eHe(e){let t=Y.useContext(hD);return t||ci(!1),t}function tHe(e){let t=Y.useContext(jhe);return t||ci(!1),t}function nHe(e){let t=Y.useContext(Em);return t||ci(!1),t}function Ghe(e){let t=nHe(),n=t.matches[t.matches.length-1];return n.route.id||ci(!1),n.route.id}function Yhe(){var e;let t=Y.useContext(Whe),n=tHe(E5.UseRouteError),r=Ghe(E5.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function rHe(){let{router:e}=eHe(Vhe.UseNavigateStable),t=Ghe(E5.UseNavigateStable),n=Y.useRef(!1);return Qhe(()=>{n.current=!0}),Y.useCallback(function(i,s){s===void 0&&(s={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,O5({fromRouteId:t},s)))},[e,t])}function CH(e){let{to:t,replace:n,state:r,relative:i}=e;j_()||ci(!1);let{future:s,static:a}=Y.useContext(q_),{matches:o}=Y.useContext(Em),{pathname:l}=T1(),c=Sf(),d=xH(t,wH(o,s.v7_relativeSplatPath),l,i==="path"),f=JSON.stringify(d);return Y.useEffect(()=>c(JSON.parse(f),{replace:n,state:r,relative:i}),[c,f,i,n,r]),null}function pD(e){return Vze(e.context)}function iHe(e){let{basename:t="/",children:n=null,location:r,navigationType:i=uo.Pop,navigator:s,static:a=!1,future:o}=e;j_()&&ci(!1);let l=t.replace(/^\/*/,"/"),c=Y.useMemo(()=>({basename:l,navigator:s,static:a,future:O5({v7_relativeSplatPath:!1},o)}),[l,o,s,a]);typeof r=="string"&&(r=x1(r));let{pathname:d="/",search:f="",hash:p="",state:g=null,key:b="default"}=r,w=Y.useMemo(()=>{let x=z_(d,l);return x==null?null:{location:{pathname:x,search:f,hash:p,state:g,key:b},navigationType:i}},[l,d,f,p,g,b,i]);return w==null?null:Y.createElement(q_.Provider,{value:c},Y.createElement(AH.Provider,{children:n,value:w}))}new Promise(()=>{});function sHe(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:Y.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:Y.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:Y.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** * React Router DOM v6.26.2 * * Copyright (c) Remix Software Inc. @@ -259,35 +259,35 @@ Error:`,i)}}function m9e(){return JMe(e=>{IE("cls",{metric:e}),ffe=e},{reportAll * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function w5(){return w5=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let r=e[n];return t.concat(Array.isArray(r)?r.map(i=>[n,i]):[[n,r]])},[]))}function sHe(e,t){let n=b9(e);return t&&t.forEach((r,i)=>{n.has(i)||t.getAll(i).forEach(s=>{n.append(i,s)})}),n}const aHe="6";try{window.__reactRouterVersion=aHe}catch{}function oHe(e,t){return Oze({basename:void 0,future:w5({},void 0,{v7_prependBasename:!0}),history:WUe({window:void 0}),hydrationData:lHe(),routes:e,mapRouteProperties:iHe,unstable_dataStrategy:void 0,unstable_patchRoutesOnNavigation:void 0,window:void 0}).initialize()}function lHe(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=w5({},t,{errors:uHe(t.errors)})),t}function uHe(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,i]of t)if(i&&i.__type==="RouteErrorResponse")n[r]=new S5(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let s=window[i.__subType];if(typeof s=="function")try{let a=new s(i.message);a.stack="",n[r]=a}catch{}}if(n[r]==null){let s=new Error(i.message);s.stack="",n[r]=s}}else n[r]=i;return n}const cHe=Y.createContext({isTransitioning:!1}),dHe=Y.createContext(new Map),fHe="startTransition",ote=Zb[fHe],hHe="flushSync",lte=eAe[hHe];function pHe(e){ote?ote(e):e()}function dw(e){lte?lte(e):e()}class mHe{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function gHe(e){let{fallbackElement:t,router:n,future:r}=e,[i,s]=Y.useState(n.state),[a,o]=Y.useState(),[l,c]=Y.useState({isTransitioning:!1}),[d,f]=Y.useState(),[p,g]=Y.useState(),[b,w]=Y.useState(),x=Y.useRef(new Map),{v7_startTransition:T}=r||{},_=Y.useCallback(j=>{T?pHe(j):j()},[T]),C=Y.useCallback((j,F)=>{let{deletedFetchers:V,unstable_flushSync:ie,unstable_viewTransitionOpts:se}=F;V.forEach(fe=>x.current.delete(fe)),j.fetchers.forEach((fe,le)=>{fe.data!==void 0&&x.current.set(le,fe.data)});let me=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!se||me){ie?dw(()=>s(j)):_(()=>s(j));return}if(ie){dw(()=>{p&&(d&&d.resolve(),p.skipTransition()),c({isTransitioning:!0,flushSync:!0,currentLocation:se.currentLocation,nextLocation:se.nextLocation})});let fe=n.window.document.startViewTransition(()=>{dw(()=>s(j))});fe.finished.finally(()=>{dw(()=>{f(void 0),g(void 0),o(void 0),c({isTransitioning:!1})})}),dw(()=>g(fe));return}p?(d&&d.resolve(),p.skipTransition(),w({state:j,currentLocation:se.currentLocation,nextLocation:se.nextLocation})):(o(j),c({isTransitioning:!0,flushSync:!1,currentLocation:se.currentLocation,nextLocation:se.nextLocation}))},[n.window,p,d,x,_]);Y.useLayoutEffect(()=>n.subscribe(C),[n,C]),Y.useEffect(()=>{l.isTransitioning&&!l.flushSync&&f(new mHe)},[l]),Y.useEffect(()=>{if(d&&a&&n.window){let j=a,F=d.promise,V=n.window.document.startViewTransition(async()=>{_(()=>s(j)),await F});V.finished.finally(()=>{f(void 0),g(void 0),o(void 0),c({isTransitioning:!1})}),g(V)}},[_,a,d,n.window]),Y.useEffect(()=>{d&&a&&i.location.key===a.location.key&&d.resolve()},[d,p,i.location,a]),Y.useEffect(()=>{!l.isTransitioning&&b&&(o(b.state),c({isTransitioning:!0,flushSync:!1,currentLocation:b.currentLocation,nextLocation:b.nextLocation}),w(void 0))},[l.isTransitioning,b]),Y.useEffect(()=>{},[]);let I=Y.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:j=>n.navigate(j),push:(j,F,V)=>n.navigate(j,{state:F,preventScrollReset:V==null?void 0:V.preventScrollReset}),replace:(j,F,V)=>n.navigate(j,{replace:!0,state:F,preventScrollReset:V==null?void 0:V.preventScrollReset})}),[n]),M=n.basename||"/",$=Y.useMemo(()=>({router:n,navigator:I,static:!1,basename:M}),[n,I,M]),B=Y.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return Y.createElement(Y.Fragment,null,Y.createElement(hD.Provider,{value:$},Y.createElement(qhe.Provider,{value:i},Y.createElement(dHe.Provider,{value:x.current},Y.createElement(cHe.Provider,{value:l},Y.createElement(rHe,{basename:M,location:i.location,navigationType:i.historyAction,navigator:I,future:B},i.initialized||n.future.v7_partialHydration?Y.createElement(bHe,{routes:n.routes,future:n.future,state:i}):t))))),null)}const bHe=Y.memo(yHe);function yHe(e){let{routes:t,future:n,state:r}=e;return Vze(t,void 0,r,n)}var ute;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ute||(ute={}));var cte;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(cte||(cte={}));function RH(e){let t=Y.useRef(b9(e)),n=Y.useRef(!1),r=T1(),i=Y.useMemo(()=>sHe(r.search,n.current?null:t.current),[r.search]),s=Sf(),a=Y.useCallback((o,l)=>{const c=b9(typeof o=="function"?o(i):o);n.current=!0,s("?"+c,l)},[s,i]);return[i,a]}function cl(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var vHe=typeof Symbol=="function"&&Symbol.observable||"@@observable",dte=vHe,EP=()=>Math.random().toString(36).substring(7).split("").join("."),SHe={INIT:`@@redux/INIT${EP()}`,REPLACE:`@@redux/REPLACE${EP()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${EP()}`},x5=SHe;function IH(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function DH(e,t,n){if(typeof e!="function")throw new Error(cl(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(cl(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(cl(1));return n(DH)(e,t)}let r=e,i=t,s=new Map,a=s,o=0,l=!1;function c(){a===s&&(a=new Map,s.forEach((x,T)=>{a.set(T,x)}))}function d(){if(l)throw new Error(cl(3));return i}function f(x){if(typeof x!="function")throw new Error(cl(4));if(l)throw new Error(cl(5));let T=!0;c();const _=o++;return a.set(_,x),function(){if(T){if(l)throw new Error(cl(6));T=!1,c(),a.delete(_),s=null}}}function p(x){if(!IH(x))throw new Error(cl(7));if(typeof x.type>"u")throw new Error(cl(8));if(typeof x.type!="string")throw new Error(cl(17));if(l)throw new Error(cl(9));try{l=!0,i=r(i,x)}finally{l=!1}return(s=a).forEach(_=>{_()}),x}function g(x){if(typeof x!="function")throw new Error(cl(10));r=x,p({type:x5.REPLACE})}function b(){const x=f;return{subscribe(T){if(typeof T!="object"||T===null)throw new Error(cl(11));function _(){const I=T;I.next&&I.next(d())}return _(),{unsubscribe:x(_)}},[dte](){return this}}}return p({type:x5.INIT}),{dispatch:p,subscribe:f,getState:d,replaceReducer:g,[dte]:b}}function OHe(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:x5.INIT})>"u")throw new Error(cl(12));if(typeof n(void 0,{type:x5.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(cl(13))})}function Yhe(e){const t=Object.keys(e),n={};for(let s=0;s"u")throw o&&o.type,new Error(cl(14));c[f]=b,l=l||b!==g}return l=l||r.length!==Object.keys(a).length,l?c:a}}function T5(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function EHe(...e){return t=>(n,r)=>{const i=t(n,r);let s=()=>{throw new Error(cl(15))};const a={getState:i.getState,dispatch:(l,...c)=>s(l,...c)},o=e.map(l=>l(a));return s=T5(...o)(i.dispatch),{...i,dispatch:s}}}function wHe(e){return IH(e)&&"type"in e&&typeof e.type=="string"}var Zhe=Symbol.for("immer-nothing"),fte=Symbol.for("immer-draftable"),cd=Symbol.for("immer-state");function eh(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var KO=Object.getPrototypeOf;function py(e){return!!e&&!!e[cd]}function pm(e){var t;return e?Xhe(e)||Array.isArray(e)||!!e[fte]||!!((t=e.constructor)!=null&&t[fte])||gD(e)||bD(e):!1}var xHe=Object.prototype.constructor.toString();function Xhe(e){if(!e||typeof e!="object")return!1;const t=KO(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===xHe}function k5(e,t){mD(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function mD(e){const t=e[cd];return t?t.type_:Array.isArray(e)?1:gD(e)?2:bD(e)?3:0}function y9(e,t){return mD(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Khe(e,t,n){const r=mD(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function THe(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function gD(e){return e instanceof Map}function bD(e){return e instanceof Set}function cb(e){return e.copy_||e.base_}function v9(e,t){if(gD(e))return new Map(e);if(bD(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=Xhe(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[cd];let i=Reflect.ownKeys(r);for(let s=0;s1&&(e.set=e.add=e.clear=e.delete=kHe),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>NH(r,!0))),e}function kHe(){eh(2)}function yD(e){return Object.isFrozen(e)}var _He={};function my(e){const t=_He[e];return t||eh(0,e),t}var xk;function Jhe(){return xk}function AHe(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function hte(e,t){t&&(my("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function S9(e){O9(e),e.drafts_.forEach(CHe),e.drafts_=null}function O9(e){e===xk&&(xk=e.parent_)}function pte(e){return xk=AHe(xk,e)}function CHe(e){const t=e[cd];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function mte(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[cd].modified_&&(S9(t),eh(4)),pm(e)&&(e=_5(t,e),t.parent_||A5(t,e)),t.patches_&&my("Patches").generateReplacementPatches_(n[cd].base_,e,t.patches_,t.inversePatches_)):e=_5(t,n,[]),S9(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Zhe?e:void 0}function _5(e,t,n){if(yD(t))return t;const r=t[cd];if(!r)return k5(t,(i,s)=>gte(e,r,t,i,s,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return A5(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const i=r.copy_;let s=i,a=!1;r.type_===3&&(s=new Set(i),i.clear(),a=!0),k5(s,(o,l)=>gte(e,r,i,o,l,n,a)),A5(e,i,!1),n&&e.patches_&&my("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function gte(e,t,n,r,i,s,a){if(py(i)){const o=s&&t&&t.type_!==3&&!y9(t.assigned_,r)?s.concat(r):void 0,l=_5(e,i,o);if(Khe(n,r,l),py(l))e.canAutoFreeze_=!1;else return}else a&&n.add(i);if(pm(i)&&!yD(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;_5(e,i),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&A5(e,i)}}function A5(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&NH(t,n)}function RHe(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:Jhe(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,s=PH;n&&(i=[r],s=Tk);const{revoke:a,proxy:o}=Proxy.revocable(i,s);return r.draft_=o,r.revoke_=a,o}var PH={get(e,t){if(t===cd)return e;const n=cb(e);if(!y9(n,t))return IHe(e,n,t);const r=n[t];return e.finalized_||!pm(r)?r:r===wP(e.base_,t)?(xP(e),e.copy_[t]=w9(r,e)):r},has(e,t){return t in cb(e)},ownKeys(e){return Reflect.ownKeys(cb(e))},set(e,t,n){const r=epe(cb(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=wP(cb(e),t),s=i==null?void 0:i[cd];if(s&&s.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(THe(n,i)&&(n!==void 0||y9(e.base_,t)))return!0;xP(e),E9(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return wP(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,xP(e),E9(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=cb(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){eh(11)},getPrototypeOf(e){return KO(e.base_)},setPrototypeOf(){eh(12)}},Tk={};k5(PH,(e,t)=>{Tk[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Tk.deleteProperty=function(e,t){return Tk.set.call(this,e,t,void 0)};Tk.set=function(e,t,n){return PH.set.call(this,e[0],t,n,e[0])};function wP(e,t){const n=e[cd];return(n?cb(n):e)[t]}function IHe(e,t,n){var i;const r=epe(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function epe(e,t){if(!(t in e))return;let n=KO(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=KO(n)}}function E9(e){e.modified_||(e.modified_=!0,e.parent_&&E9(e.parent_))}function xP(e){e.copy_||(e.copy_=v9(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var DHe=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const s=n;n=t;const a=this;return function(l=s,...c){return a.produce(l,d=>n.call(this,d,...c))}}typeof n!="function"&&eh(6),r!==void 0&&typeof r!="function"&&eh(7);let i;if(pm(t)){const s=pte(this),a=w9(t,void 0);let o=!0;try{i=n(a),o=!1}finally{o?S9(s):O9(s)}return hte(s,r),mte(i,s)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===Zhe&&(i=void 0),this.autoFreeze_&&NH(i,!0),r){const s=[],a=[];my("Patches").generateReplacementPatches_(t,i,s,a),r(s,a)}return i}else eh(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(a,...o)=>this.produceWithPatches(a,l=>t(l,...o));let r,i;return[this.produce(t,n,(a,o)=>{r=a,i=o}),r,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){pm(e)||eh(8),py(e)&&(e=NHe(e));const t=pte(this),n=w9(e,void 0);return n[cd].isManual_=!0,O9(t),n}finishDraft(e,t){const n=e&&e[cd];(!n||!n.isManual_)&&eh(9);const{scope_:r}=n;return hte(r,t),mte(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const i=t[n];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}n>-1&&(t=t.slice(n+1));const r=my("Patches").applyPatches_;return py(e)?r(e,t):this.produce(e,i=>r(i,t))}};function w9(e,t){const n=gD(e)?my("MapSet").proxyMap_(e,t):bD(e)?my("MapSet").proxySet_(e,t):RHe(e,t);return(t?t.scope_:Jhe()).drafts_.push(n),n}function NHe(e){return py(e)||eh(10,e),tpe(e)}function tpe(e){if(!pm(e)||yD(e))return e;const t=e[cd];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=v9(e,t.scope_.immer_.useStrictShallowCopy_)}else n=v9(e,!0);return k5(n,(r,i)=>{Khe(n,r,tpe(i))}),t&&(t.finalized_=!1),n}var dd=new DHe,npe=dd.produce;dd.produceWithPatches.bind(dd);dd.setAutoFreeze.bind(dd);dd.setUseStrictShallowCopy.bind(dd);dd.applyPatches.bind(dd);dd.createDraft.bind(dd);dd.finishDraft.bind(dd);function rpe(e){return({dispatch:n,getState:r})=>i=>s=>typeof s=="function"?s(n,r,e):i(s)}var PHe=rpe(),LHe=rpe,MHe=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?T5:T5.apply(null,arguments)};function bte(e,t){function n(...r){if(t){let i=t(...r);if(!i)throw new Error(lh(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:r[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=r=>wHe(r)&&r.type===e,n}var ipe=class Qw extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Qw.prototype)}static get[Symbol.species](){return Qw}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Qw(...t[0].concat(this)):new Qw(...t.concat(this))}};function yte(e){return pm(e)?npe(e,()=>{}):e}function vte(e,t,n){if(e.has(t)){let i=e.get(t);return n.update&&(i=n.update(i,t,e),e.set(t,i)),i}if(!n.insert)throw new Error(lh(10));const r=n.insert(t,e);return e.set(t,r),r}function FHe(e){return typeof e=="boolean"}var $He=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:i=!0,actionCreatorCheck:s=!0}=t??{};let a=new ipe;return n&&(FHe(n)?a.push(PHe):a.push(LHe(n.extraArgument))),a},BHe="RTK_autoBatch",spe=e=>t=>{setTimeout(t,e)},UHe=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:spe(10),zHe=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let i=!0,s=!1,a=!1;const o=new Set,l=e.type==="tick"?queueMicrotask:e.type==="raf"?UHe:e.type==="callback"?e.queueNotification:spe(e.timeout),c=()=>{a=!1,s&&(s=!1,o.forEach(d=>d()))};return Object.assign({},r,{subscribe(d){const f=()=>i&&d(),p=r.subscribe(f);return o.add(d),()=>{p(),o.delete(d)}},dispatch(d){var f;try{return i=!((f=d==null?void 0:d.meta)!=null&&f[BHe]),s=!i,s&&(a||(a=!0,l(c))),r.dispatch(d)}finally{i=!0}}})},HHe=e=>function(n){const{autoBatch:r=!0}=n??{};let i=new ipe(e);return r&&i.push(zHe(typeof r=="object"?r:void 0)),i};function qHe(e){const t=$He(),{reducer:n=void 0,middleware:r,devTools:i=!0,preloadedState:s=void 0,enhancers:a=void 0}=e||{};let o;if(typeof n=="function")o=n;else if(IH(n))o=Yhe(n);else throw new Error(lh(1));let l;typeof r=="function"?l=r(t):l=t();let c=T5;i&&(c=MHe({trace:!1,...typeof i=="object"&&i}));const d=EHe(...l),f=HHe(d);let p=typeof a=="function"?a(f):f();const g=c(...p);return DH(o,s,g)}function ape(e){const t={},n=[];let r;const i={addCase(s,a){const o=typeof s=="string"?s:s.type;if(!o)throw new Error(lh(28));if(o in t)throw new Error(lh(29));return t[o]=a,i},addMatcher(s,a){return n.push({matcher:s,reducer:a}),i},addDefaultCase(s){return r=s,i}};return e(i),[t,n,r]}function jHe(e){return typeof e=="function"}function WHe(e,t){let[n,r,i]=ape(t),s;if(jHe(e))s=()=>yte(e());else{const o=yte(e);s=()=>o}function a(o=s(),l){let c=[n[l.type],...r.filter(({matcher:d})=>d(l)).map(({reducer:d})=>d)];return c.filter(d=>!!d).length===0&&(c=[i]),c.reduce((d,f)=>{if(f)if(py(d)){const g=f(d,l);return g===void 0?d:g}else{if(pm(d))return npe(d,p=>f(p,l));{const p=f(d,l);if(p===void 0){if(d===null)return d;throw new Error(lh(9))}return p}}return d},o)}return a.getInitialState=s,a}var QHe=Symbol.for("rtk-slice-createasyncthunk");function VHe(e,t){return`${e}/${t}`}function GHe({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[QHe];return function(i){const{name:s,reducerPath:a=s}=i;if(!s)throw new Error(lh(11));typeof process<"u";const o=(typeof i.reducers=="function"?i.reducers(ZHe()):i.reducers)||{},l=Object.keys(o),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},d={addCase(C,I){const M=typeof C=="string"?C:C.type;if(!M)throw new Error(lh(12));if(M in c.sliceCaseReducersByType)throw new Error(lh(13));return c.sliceCaseReducersByType[M]=I,d},addMatcher(C,I){return c.sliceMatchers.push({matcher:C,reducer:I}),d},exposeAction(C,I){return c.actionCreators[C]=I,d},exposeCaseReducer(C,I){return c.sliceCaseReducersByName[C]=I,d}};l.forEach(C=>{const I=o[C],M={reducerName:C,type:VHe(s,C),createNotation:typeof i.reducers=="function"};KHe(I)?eqe(M,I,d,t):XHe(M,I,d)});function f(){const[C={},I=[],M=void 0]=typeof i.extraReducers=="function"?ape(i.extraReducers):[i.extraReducers],$={...C,...c.sliceCaseReducersByType};return WHe(i.initialState,B=>{for(let j in $)B.addCase(j,$[j]);for(let j of c.sliceMatchers)B.addMatcher(j.matcher,j.reducer);for(let j of I)B.addMatcher(j.matcher,j.reducer);M&&B.addDefaultCase(M)})}const p=C=>C,g=new Map;let b;function w(C,I){return b||(b=f()),b(C,I)}function x(){return b||(b=f()),b.getInitialState()}function T(C,I=!1){function M(B){let j=B[C];return typeof j>"u"&&I&&(j=x()),j}function $(B=p){const j=vte(g,I,{insert:()=>new WeakMap});return vte(j,B,{insert:()=>{const F={};for(const[V,ie]of Object.entries(i.selectors??{}))F[V]=YHe(ie,B,x,I);return F}})}return{reducerPath:C,getSelectors:$,get selectors(){return $(M)},selectSlice:M}}const _={name:s,reducer:w,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:x,...T(a),injectInto(C,{reducerPath:I,...M}={}){const $=I??a;return C.inject({reducerPath:$,reducer:w},M),{..._,...T($,!0)}}};return _}}function YHe(e,t,n,r){function i(s,...a){let o=t(s);return typeof o>"u"&&r&&(o=n()),e(o,...a)}return i.unwrapped=e,i}var Ny=GHe();function ZHe(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function XHe({type:e,reducerName:t,createNotation:n},r,i){let s,a;if("reducer"in r){if(n&&!JHe(r))throw new Error(lh(17));s=r.reducer,a=r.prepare}else s=r;i.addCase(e,s).exposeCaseReducer(t,s).exposeAction(t,a?bte(e,a):bte(e))}function KHe(e){return e._reducerDefinitionType==="asyncThunk"}function JHe(e){return e._reducerDefinitionType==="reducerWithPrepare"}function eqe({type:e,reducerName:t},n,r,i){if(!i)throw new Error(lh(18));const{payloadCreator:s,fulfilled:a,pending:o,rejected:l,settled:c,options:d}=n,f=i(e,s,d);r.exposeAction(t,f),a&&r.addCase(f.fulfilled,a),o&&r.addCase(f.pending,o),l&&r.addCase(f.rejected,l),c&&r.addMatcher(f.settled,c),r.exposeCaseReducer(t,{fulfilled:a||S4,pending:o||S4,rejected:l||S4,settled:c||S4})}function S4(){}function lh(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}const tqe={yorkieIntelligence:null,fileUpload:null},ope=Ny({name:"setting",initialState:tqe,reducers:{setYorkieIntelligence:(e,t)=>{e.yorkieIntelligence=t.payload},setFileUpload:(e,t)=>{e.fileUpload=t.payload}}}),{setYorkieIntelligence:nqe,setFileUpload:rqe}=ope.actions,vD=e=>e.setting,iqe=ope.reducer,sqe=()=>["settings"],aqe=()=>{const e=mc(),t=ei(vD),n=PE({queryKey:sqe(),enabled:t.yorkieIntelligence===null&&t.fileUpload===null,queryFn:async()=>(await kr.get("/settings")).data,staleTime:1e3*60*60*24});return Y.useEffect(()=>{if(!n.isSuccess)return;const r=n.data;e(nqe(r.yorkieIntelligence)),e(rqe(r.fileUpload))},[e,n.data,n.isSuccess]),n};function lpe(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ttypeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||oqe,uqe=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,cqe=/\/\*[^]*?\*\/| +/g,Ste=/\n+/g,hb=(e,t)=>{let n="",r="",i="";for(let s in e){let a=e[s];s[0]=="@"?s[1]=="i"?n=s+" "+a+";":r+=s[1]=="f"?hb(a,s):s+"{"+hb(a,s[1]=="k"?"":t)+"}":typeof a=="object"?r+=hb(a,t?t.replace(/([^,])+/g,o=>s.replace(/(^:.*)|([^,])+/g,l=>/&/.test(l)?l.replace(/&/g,o):o?o+" "+l:l)):s):a!=null&&(s=/^--/.test(s)?s:s.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=hb.p?hb.p(s,a):s+":"+a+";")}return n+(t&&i?t+"{"+i+"}":i)+r},C0={},upe=e=>{if(typeof e=="object"){let t="";for(let n in e)t+=n+upe(e[n]);return t}return e},dqe=(e,t,n,r,i)=>{let s=upe(e),a=C0[s]||(C0[s]=(l=>{let c=0,d=11;for(;c>>0;return"go"+d})(s));if(!C0[a]){let l=s!==e?e:(c=>{let d,f,p=[{}];for(;d=uqe.exec(c.replace(cqe,""));)d[4]?p.shift():d[3]?(f=d[3].replace(Ste," ").trim(),p.unshift(p[0][f]=p[0][f]||{})):p[0][d[1]]=d[2].replace(Ste," ").trim();return p[0]})(e);C0[a]=hb(i?{["@keyframes "+a]:l}:l,n?"":"."+a)}let o=n&&C0.g?C0.g:null;return n&&(C0.g=C0[a]),((l,c,d,f)=>{f?c.data=c.data.replace(f,l):c.data.indexOf(l)===-1&&(c.data=d?l+c.data:c.data+l)})(C0[a],t,r,o),a},fqe=(e,t,n)=>e.reduce((r,i,s)=>{let a=t[s];if(a&&a.call){let o=a(n),l=o&&o.props&&o.props.className||/^go/.test(o)&&o;a=l?"."+l:o&&typeof o=="object"?o.props?"":hb(o,""):o===!1?"":o}return r+i+(a??"")},"");function LH(e){let t=this||{},n=e.call?e(t.p):e;return dqe(n.unshift?n.raw?fqe(n,[].slice.call(arguments,1),t.p):n.reduce((r,i)=>Object.assign(r,i&&i.call?i(t.p):i),{}):n,lqe(t.target),t.g,t.o,t.k)}LH.bind({g:1});LH.bind({k:1});function hqe(e,t){for(var n=0;n=0)&&(n[i]=e[i]);return n}function Ote(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Ete=function(){return""},fpe=Dn.createContext({enqueueSnackbar:Ete,closeSnackbar:Ete}),db={downXs:"@media (max-width:599.95px)",upSm:"@media (min-width:600px)"},wte=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},MH=function(t){return""+wte(t.vertical)+wte(t.horizontal)},O4=function(t){return!!t||t===0},E4="unmounted",Wv="exited",Qv="entering",fw="entered",xte="exiting",FH=function(e){dpe(t,e);function t(r){var i;i=e.call(this,r)||this;var s=r.appear,a;return i.appearStatus=null,r.in?s?(a=Wv,i.appearStatus=Qv):a=fw:r.unmountOnExit||r.mountOnEnter?a=E4:a=Wv,i.state={status:a},i.nextCallback=null,i}t.getDerivedStateFromProps=function(i,s){var a=i.in;return a&&s.status===E4?{status:Wv}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var s=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==Qv&&a!==fw&&(s=Qv):(a===Qv||a===fw)&&(s=xte)}this.updateStatus(!1,s)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,s=i,a=i;return i!=null&&typeof i!="number"&&typeof i!="string"&&(a=i.exit,s=i.enter),{exit:a,enter:s}},n.updateStatus=function(i,s){i===void 0&&(i=!1),s!==null?(this.cancelNextCallback(),s===Qv?this.performEnter(i):this.performExit()):this.props.unmountOnExit&&this.state.status===Wv&&this.setState({status:E4})},n.performEnter=function(i){var s=this,a=this.props.enter,o=i,l=this.getTimeouts();if(!i&&!a){this.safeSetState({status:fw},function(){s.props.onEntered&&s.props.onEntered(s.node,o)});return}this.props.onEnter&&this.props.onEnter(this.node,o),this.safeSetState({status:Qv},function(){s.props.onEntering&&s.props.onEntering(s.node,o),s.onTransitionEnd(l.enter,function(){s.safeSetState({status:fw},function(){s.props.onEntered&&s.props.onEntered(s.node,o)})})})},n.performExit=function(){var i=this,s=this.props.exit,a=this.getTimeouts();if(!s){this.safeSetState({status:Wv},function(){i.props.onExited&&i.props.onExited(i.node)});return}this.props.onExit&&this.props.onExit(this.node),this.safeSetState({status:xte},function(){i.props.onExiting&&i.props.onExiting(i.node),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:Wv},function(){i.props.onExited&&i.props.onExited(i.node)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&this.nextCallback.cancel&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,s){s=this.setNextCallback(s),this.setState(i,s)},n.setNextCallback=function(i){var s=this,a=!0;return this.nextCallback=function(){a&&(a=!1,s.nextCallback=null,i())},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(i,s){this.setNextCallback(s);var a=i==null&&!this.props.addEndListener;if(!this.node||a){setTimeout(this.nextCallback,0);return}this.props.addEndListener&&this.props.addEndListener(this.node,this.nextCallback),i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===E4)return null;var s=this.props,a=s.children,o=W_(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return a(i,o)},cpe(t,[{key:"node",get:function(){var i,s=(i=this.props.nodeRef)===null||i===void 0?void 0:i.current;if(!s)throw new Error("notistack - Custom snackbar is not refForwarding");return s}}]),t}(Dn.Component);function Vv(){}FH.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Vv,onEntering:Vv,onEntered:Vv,onExit:Vv,onExiting:Vv,onExited:Vv};function Tte(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function x9(e,t){return Y.useMemo(function(){return e==null&&t==null?null:function(n){Tte(e,n),Tte(t,n)}},[e,t])}function C5(e){var t=e.timeout,n=e.style,r=n===void 0?{}:n,i=e.mode;return{duration:typeof t=="object"?t[i]||0:t,easing:r.transitionTimingFunction,delay:r.transitionDelay}}var T9={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},hpe=function(t){t.scrollTop=t.scrollTop},kte=function(t){return Math.round(t)+"ms"};function NS(e,t){e===void 0&&(e=["all"]);var n=t||{},r=n.duration,i=r===void 0?300:r,s=n.easing,a=s===void 0?T9.easeInOut:s,o=n.delay,l=o===void 0?0:o,c=Array.isArray(e)?e:[e];return c.map(function(d){var f=typeof i=="string"?i:kte(i),p=typeof l=="string"?l:kte(l);return d+" "+f+" "+a+" "+p}).join(",")}function pqe(e){return e&&e.ownerDocument||document}function ppe(e){var t=pqe(e);return t.defaultView||window}function mqe(e,t){t===void 0&&(t=166);var n;function r(){for(var i=this,s=arguments.length,a=new Array(s),o=0;o{let r=e[n];return t.concat(Array.isArray(r)?r.map(i=>[n,i]):[[n,r]])},[]))}function aHe(e,t){let n=b9(e);return t&&t.forEach((r,i)=>{n.has(i)||t.getAll(i).forEach(s=>{n.append(i,s)})}),n}const oHe="6";try{window.__reactRouterVersion=oHe}catch{}function lHe(e,t){return Eze({basename:void 0,future:w5({},void 0,{v7_prependBasename:!0}),history:QUe({window:void 0}),hydrationData:uHe(),routes:e,mapRouteProperties:sHe,unstable_dataStrategy:void 0,unstable_patchRoutesOnNavigation:void 0,window:void 0}).initialize()}function uHe(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=w5({},t,{errors:cHe(t.errors)})),t}function cHe(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,i]of t)if(i&&i.__type==="RouteErrorResponse")n[r]=new S5(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let s=window[i.__subType];if(typeof s=="function")try{let a=new s(i.message);a.stack="",n[r]=a}catch{}}if(n[r]==null){let s=new Error(i.message);s.stack="",n[r]=s}}else n[r]=i;return n}const dHe=Y.createContext({isTransitioning:!1}),fHe=Y.createContext(new Map),hHe="startTransition",ote=Zb[hHe],pHe="flushSync",lte=tAe[pHe];function mHe(e){ote?ote(e):e()}function dw(e){lte?lte(e):e()}class gHe{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function bHe(e){let{fallbackElement:t,router:n,future:r}=e,[i,s]=Y.useState(n.state),[a,o]=Y.useState(),[l,c]=Y.useState({isTransitioning:!1}),[d,f]=Y.useState(),[p,g]=Y.useState(),[b,w]=Y.useState(),x=Y.useRef(new Map),{v7_startTransition:T}=r||{},_=Y.useCallback(j=>{T?mHe(j):j()},[T]),C=Y.useCallback((j,F)=>{let{deletedFetchers:V,unstable_flushSync:ie,unstable_viewTransitionOpts:se}=F;V.forEach(fe=>x.current.delete(fe)),j.fetchers.forEach((fe,le)=>{fe.data!==void 0&&x.current.set(le,fe.data)});let me=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!se||me){ie?dw(()=>s(j)):_(()=>s(j));return}if(ie){dw(()=>{p&&(d&&d.resolve(),p.skipTransition()),c({isTransitioning:!0,flushSync:!0,currentLocation:se.currentLocation,nextLocation:se.nextLocation})});let fe=n.window.document.startViewTransition(()=>{dw(()=>s(j))});fe.finished.finally(()=>{dw(()=>{f(void 0),g(void 0),o(void 0),c({isTransitioning:!1})})}),dw(()=>g(fe));return}p?(d&&d.resolve(),p.skipTransition(),w({state:j,currentLocation:se.currentLocation,nextLocation:se.nextLocation})):(o(j),c({isTransitioning:!0,flushSync:!1,currentLocation:se.currentLocation,nextLocation:se.nextLocation}))},[n.window,p,d,x,_]);Y.useLayoutEffect(()=>n.subscribe(C),[n,C]),Y.useEffect(()=>{l.isTransitioning&&!l.flushSync&&f(new gHe)},[l]),Y.useEffect(()=>{if(d&&a&&n.window){let j=a,F=d.promise,V=n.window.document.startViewTransition(async()=>{_(()=>s(j)),await F});V.finished.finally(()=>{f(void 0),g(void 0),o(void 0),c({isTransitioning:!1})}),g(V)}},[_,a,d,n.window]),Y.useEffect(()=>{d&&a&&i.location.key===a.location.key&&d.resolve()},[d,p,i.location,a]),Y.useEffect(()=>{!l.isTransitioning&&b&&(o(b.state),c({isTransitioning:!0,flushSync:!1,currentLocation:b.currentLocation,nextLocation:b.nextLocation}),w(void 0))},[l.isTransitioning,b]),Y.useEffect(()=>{},[]);let I=Y.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:j=>n.navigate(j),push:(j,F,V)=>n.navigate(j,{state:F,preventScrollReset:V==null?void 0:V.preventScrollReset}),replace:(j,F,V)=>n.navigate(j,{replace:!0,state:F,preventScrollReset:V==null?void 0:V.preventScrollReset})}),[n]),M=n.basename||"/",$=Y.useMemo(()=>({router:n,navigator:I,static:!1,basename:M}),[n,I,M]),B=Y.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return Y.createElement(Y.Fragment,null,Y.createElement(hD.Provider,{value:$},Y.createElement(jhe.Provider,{value:i},Y.createElement(fHe.Provider,{value:x.current},Y.createElement(dHe.Provider,{value:l},Y.createElement(iHe,{basename:M,location:i.location,navigationType:i.historyAction,navigator:I,future:B},i.initialized||n.future.v7_partialHydration?Y.createElement(yHe,{routes:n.routes,future:n.future,state:i}):t))))),null)}const yHe=Y.memo(vHe);function vHe(e){let{routes:t,future:n,state:r}=e;return Gze(t,void 0,r,n)}var ute;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ute||(ute={}));var cte;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(cte||(cte={}));function RH(e){let t=Y.useRef(b9(e)),n=Y.useRef(!1),r=T1(),i=Y.useMemo(()=>aHe(r.search,n.current?null:t.current),[r.search]),s=Sf(),a=Y.useCallback((o,l)=>{const c=b9(typeof o=="function"?o(i):o);n.current=!0,s("?"+c,l)},[s,i]);return[i,a]}function cl(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var SHe=typeof Symbol=="function"&&Symbol.observable||"@@observable",dte=SHe,EP=()=>Math.random().toString(36).substring(7).split("").join("."),OHe={INIT:`@@redux/INIT${EP()}`,REPLACE:`@@redux/REPLACE${EP()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${EP()}`},x5=OHe;function IH(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function DH(e,t,n){if(typeof e!="function")throw new Error(cl(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(cl(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(cl(1));return n(DH)(e,t)}let r=e,i=t,s=new Map,a=s,o=0,l=!1;function c(){a===s&&(a=new Map,s.forEach((x,T)=>{a.set(T,x)}))}function d(){if(l)throw new Error(cl(3));return i}function f(x){if(typeof x!="function")throw new Error(cl(4));if(l)throw new Error(cl(5));let T=!0;c();const _=o++;return a.set(_,x),function(){if(T){if(l)throw new Error(cl(6));T=!1,c(),a.delete(_),s=null}}}function p(x){if(!IH(x))throw new Error(cl(7));if(typeof x.type>"u")throw new Error(cl(8));if(typeof x.type!="string")throw new Error(cl(17));if(l)throw new Error(cl(9));try{l=!0,i=r(i,x)}finally{l=!1}return(s=a).forEach(_=>{_()}),x}function g(x){if(typeof x!="function")throw new Error(cl(10));r=x,p({type:x5.REPLACE})}function b(){const x=f;return{subscribe(T){if(typeof T!="object"||T===null)throw new Error(cl(11));function _(){const I=T;I.next&&I.next(d())}return _(),{unsubscribe:x(_)}},[dte](){return this}}}return p({type:x5.INIT}),{dispatch:p,subscribe:f,getState:d,replaceReducer:g,[dte]:b}}function EHe(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:x5.INIT})>"u")throw new Error(cl(12));if(typeof n(void 0,{type:x5.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(cl(13))})}function Zhe(e){const t=Object.keys(e),n={};for(let s=0;s"u")throw o&&o.type,new Error(cl(14));c[f]=b,l=l||b!==g}return l=l||r.length!==Object.keys(a).length,l?c:a}}function T5(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function wHe(...e){return t=>(n,r)=>{const i=t(n,r);let s=()=>{throw new Error(cl(15))};const a={getState:i.getState,dispatch:(l,...c)=>s(l,...c)},o=e.map(l=>l(a));return s=T5(...o)(i.dispatch),{...i,dispatch:s}}}function xHe(e){return IH(e)&&"type"in e&&typeof e.type=="string"}var Xhe=Symbol.for("immer-nothing"),fte=Symbol.for("immer-draftable"),dd=Symbol.for("immer-state");function eh(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var KO=Object.getPrototypeOf;function py(e){return!!e&&!!e[dd]}function pm(e){var t;return e?Khe(e)||Array.isArray(e)||!!e[fte]||!!((t=e.constructor)!=null&&t[fte])||gD(e)||bD(e):!1}var THe=Object.prototype.constructor.toString();function Khe(e){if(!e||typeof e!="object")return!1;const t=KO(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===THe}function k5(e,t){mD(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function mD(e){const t=e[dd];return t?t.type_:Array.isArray(e)?1:gD(e)?2:bD(e)?3:0}function y9(e,t){return mD(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Jhe(e,t,n){const r=mD(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function kHe(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function gD(e){return e instanceof Map}function bD(e){return e instanceof Set}function cb(e){return e.copy_||e.base_}function v9(e,t){if(gD(e))return new Map(e);if(bD(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=Khe(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[dd];let i=Reflect.ownKeys(r);for(let s=0;s1&&(e.set=e.add=e.clear=e.delete=_He),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>NH(r,!0))),e}function _He(){eh(2)}function yD(e){return Object.isFrozen(e)}var AHe={};function my(e){const t=AHe[e];return t||eh(0,e),t}var xk;function epe(){return xk}function CHe(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function hte(e,t){t&&(my("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function S9(e){O9(e),e.drafts_.forEach(RHe),e.drafts_=null}function O9(e){e===xk&&(xk=e.parent_)}function pte(e){return xk=CHe(xk,e)}function RHe(e){const t=e[dd];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function mte(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[dd].modified_&&(S9(t),eh(4)),pm(e)&&(e=_5(t,e),t.parent_||A5(t,e)),t.patches_&&my("Patches").generateReplacementPatches_(n[dd].base_,e,t.patches_,t.inversePatches_)):e=_5(t,n,[]),S9(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Xhe?e:void 0}function _5(e,t,n){if(yD(t))return t;const r=t[dd];if(!r)return k5(t,(i,s)=>gte(e,r,t,i,s,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return A5(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const i=r.copy_;let s=i,a=!1;r.type_===3&&(s=new Set(i),i.clear(),a=!0),k5(s,(o,l)=>gte(e,r,i,o,l,n,a)),A5(e,i,!1),n&&e.patches_&&my("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function gte(e,t,n,r,i,s,a){if(py(i)){const o=s&&t&&t.type_!==3&&!y9(t.assigned_,r)?s.concat(r):void 0,l=_5(e,i,o);if(Jhe(n,r,l),py(l))e.canAutoFreeze_=!1;else return}else a&&n.add(i);if(pm(i)&&!yD(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;_5(e,i),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&A5(e,i)}}function A5(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&NH(t,n)}function IHe(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:epe(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,s=PH;n&&(i=[r],s=Tk);const{revoke:a,proxy:o}=Proxy.revocable(i,s);return r.draft_=o,r.revoke_=a,o}var PH={get(e,t){if(t===dd)return e;const n=cb(e);if(!y9(n,t))return DHe(e,n,t);const r=n[t];return e.finalized_||!pm(r)?r:r===wP(e.base_,t)?(xP(e),e.copy_[t]=w9(r,e)):r},has(e,t){return t in cb(e)},ownKeys(e){return Reflect.ownKeys(cb(e))},set(e,t,n){const r=tpe(cb(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=wP(cb(e),t),s=i==null?void 0:i[dd];if(s&&s.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(kHe(n,i)&&(n!==void 0||y9(e.base_,t)))return!0;xP(e),E9(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return wP(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,xP(e),E9(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=cb(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){eh(11)},getPrototypeOf(e){return KO(e.base_)},setPrototypeOf(){eh(12)}},Tk={};k5(PH,(e,t)=>{Tk[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Tk.deleteProperty=function(e,t){return Tk.set.call(this,e,t,void 0)};Tk.set=function(e,t,n){return PH.set.call(this,e[0],t,n,e[0])};function wP(e,t){const n=e[dd];return(n?cb(n):e)[t]}function DHe(e,t,n){var i;const r=tpe(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function tpe(e,t){if(!(t in e))return;let n=KO(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=KO(n)}}function E9(e){e.modified_||(e.modified_=!0,e.parent_&&E9(e.parent_))}function xP(e){e.copy_||(e.copy_=v9(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var NHe=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const s=n;n=t;const a=this;return function(l=s,...c){return a.produce(l,d=>n.call(this,d,...c))}}typeof n!="function"&&eh(6),r!==void 0&&typeof r!="function"&&eh(7);let i;if(pm(t)){const s=pte(this),a=w9(t,void 0);let o=!0;try{i=n(a),o=!1}finally{o?S9(s):O9(s)}return hte(s,r),mte(i,s)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===Xhe&&(i=void 0),this.autoFreeze_&&NH(i,!0),r){const s=[],a=[];my("Patches").generateReplacementPatches_(t,i,s,a),r(s,a)}return i}else eh(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(a,...o)=>this.produceWithPatches(a,l=>t(l,...o));let r,i;return[this.produce(t,n,(a,o)=>{r=a,i=o}),r,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){pm(e)||eh(8),py(e)&&(e=PHe(e));const t=pte(this),n=w9(e,void 0);return n[dd].isManual_=!0,O9(t),n}finishDraft(e,t){const n=e&&e[dd];(!n||!n.isManual_)&&eh(9);const{scope_:r}=n;return hte(r,t),mte(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const i=t[n];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}n>-1&&(t=t.slice(n+1));const r=my("Patches").applyPatches_;return py(e)?r(e,t):this.produce(e,i=>r(i,t))}};function w9(e,t){const n=gD(e)?my("MapSet").proxyMap_(e,t):bD(e)?my("MapSet").proxySet_(e,t):IHe(e,t);return(t?t.scope_:epe()).drafts_.push(n),n}function PHe(e){return py(e)||eh(10,e),npe(e)}function npe(e){if(!pm(e)||yD(e))return e;const t=e[dd];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=v9(e,t.scope_.immer_.useStrictShallowCopy_)}else n=v9(e,!0);return k5(n,(r,i)=>{Jhe(n,r,npe(i))}),t&&(t.finalized_=!1),n}var fd=new NHe,rpe=fd.produce;fd.produceWithPatches.bind(fd);fd.setAutoFreeze.bind(fd);fd.setUseStrictShallowCopy.bind(fd);fd.applyPatches.bind(fd);fd.createDraft.bind(fd);fd.finishDraft.bind(fd);function ipe(e){return({dispatch:n,getState:r})=>i=>s=>typeof s=="function"?s(n,r,e):i(s)}var LHe=ipe(),MHe=ipe,FHe=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?T5:T5.apply(null,arguments)};function bte(e,t){function n(...r){if(t){let i=t(...r);if(!i)throw new Error(lh(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:r[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=r=>xHe(r)&&r.type===e,n}var spe=class Qw extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Qw.prototype)}static get[Symbol.species](){return Qw}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Qw(...t[0].concat(this)):new Qw(...t.concat(this))}};function yte(e){return pm(e)?rpe(e,()=>{}):e}function vte(e,t,n){if(e.has(t)){let i=e.get(t);return n.update&&(i=n.update(i,t,e),e.set(t,i)),i}if(!n.insert)throw new Error(lh(10));const r=n.insert(t,e);return e.set(t,r),r}function $He(e){return typeof e=="boolean"}var BHe=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:i=!0,actionCreatorCheck:s=!0}=t??{};let a=new spe;return n&&($He(n)?a.push(LHe):a.push(MHe(n.extraArgument))),a},UHe="RTK_autoBatch",ape=e=>t=>{setTimeout(t,e)},zHe=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:ape(10),HHe=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let i=!0,s=!1,a=!1;const o=new Set,l=e.type==="tick"?queueMicrotask:e.type==="raf"?zHe:e.type==="callback"?e.queueNotification:ape(e.timeout),c=()=>{a=!1,s&&(s=!1,o.forEach(d=>d()))};return Object.assign({},r,{subscribe(d){const f=()=>i&&d(),p=r.subscribe(f);return o.add(d),()=>{p(),o.delete(d)}},dispatch(d){var f;try{return i=!((f=d==null?void 0:d.meta)!=null&&f[UHe]),s=!i,s&&(a||(a=!0,l(c))),r.dispatch(d)}finally{i=!0}}})},qHe=e=>function(n){const{autoBatch:r=!0}=n??{};let i=new spe(e);return r&&i.push(HHe(typeof r=="object"?r:void 0)),i};function jHe(e){const t=BHe(),{reducer:n=void 0,middleware:r,devTools:i=!0,preloadedState:s=void 0,enhancers:a=void 0}=e||{};let o;if(typeof n=="function")o=n;else if(IH(n))o=Zhe(n);else throw new Error(lh(1));let l;typeof r=="function"?l=r(t):l=t();let c=T5;i&&(c=FHe({trace:!1,...typeof i=="object"&&i}));const d=wHe(...l),f=qHe(d);let p=typeof a=="function"?a(f):f();const g=c(...p);return DH(o,s,g)}function ope(e){const t={},n=[];let r;const i={addCase(s,a){const o=typeof s=="string"?s:s.type;if(!o)throw new Error(lh(28));if(o in t)throw new Error(lh(29));return t[o]=a,i},addMatcher(s,a){return n.push({matcher:s,reducer:a}),i},addDefaultCase(s){return r=s,i}};return e(i),[t,n,r]}function WHe(e){return typeof e=="function"}function QHe(e,t){let[n,r,i]=ope(t),s;if(WHe(e))s=()=>yte(e());else{const o=yte(e);s=()=>o}function a(o=s(),l){let c=[n[l.type],...r.filter(({matcher:d})=>d(l)).map(({reducer:d})=>d)];return c.filter(d=>!!d).length===0&&(c=[i]),c.reduce((d,f)=>{if(f)if(py(d)){const g=f(d,l);return g===void 0?d:g}else{if(pm(d))return rpe(d,p=>f(p,l));{const p=f(d,l);if(p===void 0){if(d===null)return d;throw new Error(lh(9))}return p}}return d},o)}return a.getInitialState=s,a}var VHe=Symbol.for("rtk-slice-createasyncthunk");function GHe(e,t){return`${e}/${t}`}function YHe({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[VHe];return function(i){const{name:s,reducerPath:a=s}=i;if(!s)throw new Error(lh(11));typeof process<"u";const o=(typeof i.reducers=="function"?i.reducers(XHe()):i.reducers)||{},l=Object.keys(o),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},d={addCase(C,I){const M=typeof C=="string"?C:C.type;if(!M)throw new Error(lh(12));if(M in c.sliceCaseReducersByType)throw new Error(lh(13));return c.sliceCaseReducersByType[M]=I,d},addMatcher(C,I){return c.sliceMatchers.push({matcher:C,reducer:I}),d},exposeAction(C,I){return c.actionCreators[C]=I,d},exposeCaseReducer(C,I){return c.sliceCaseReducersByName[C]=I,d}};l.forEach(C=>{const I=o[C],M={reducerName:C,type:GHe(s,C),createNotation:typeof i.reducers=="function"};JHe(I)?tqe(M,I,d,t):KHe(M,I,d)});function f(){const[C={},I=[],M=void 0]=typeof i.extraReducers=="function"?ope(i.extraReducers):[i.extraReducers],$={...C,...c.sliceCaseReducersByType};return QHe(i.initialState,B=>{for(let j in $)B.addCase(j,$[j]);for(let j of c.sliceMatchers)B.addMatcher(j.matcher,j.reducer);for(let j of I)B.addMatcher(j.matcher,j.reducer);M&&B.addDefaultCase(M)})}const p=C=>C,g=new Map;let b;function w(C,I){return b||(b=f()),b(C,I)}function x(){return b||(b=f()),b.getInitialState()}function T(C,I=!1){function M(B){let j=B[C];return typeof j>"u"&&I&&(j=x()),j}function $(B=p){const j=vte(g,I,{insert:()=>new WeakMap});return vte(j,B,{insert:()=>{const F={};for(const[V,ie]of Object.entries(i.selectors??{}))F[V]=ZHe(ie,B,x,I);return F}})}return{reducerPath:C,getSelectors:$,get selectors(){return $(M)},selectSlice:M}}const _={name:s,reducer:w,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:x,...T(a),injectInto(C,{reducerPath:I,...M}={}){const $=I??a;return C.inject({reducerPath:$,reducer:w},M),{..._,...T($,!0)}}};return _}}function ZHe(e,t,n,r){function i(s,...a){let o=t(s);return typeof o>"u"&&r&&(o=n()),e(o,...a)}return i.unwrapped=e,i}var Ny=YHe();function XHe(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function KHe({type:e,reducerName:t,createNotation:n},r,i){let s,a;if("reducer"in r){if(n&&!eqe(r))throw new Error(lh(17));s=r.reducer,a=r.prepare}else s=r;i.addCase(e,s).exposeCaseReducer(t,s).exposeAction(t,a?bte(e,a):bte(e))}function JHe(e){return e._reducerDefinitionType==="asyncThunk"}function eqe(e){return e._reducerDefinitionType==="reducerWithPrepare"}function tqe({type:e,reducerName:t},n,r,i){if(!i)throw new Error(lh(18));const{payloadCreator:s,fulfilled:a,pending:o,rejected:l,settled:c,options:d}=n,f=i(e,s,d);r.exposeAction(t,f),a&&r.addCase(f.fulfilled,a),o&&r.addCase(f.pending,o),l&&r.addCase(f.rejected,l),c&&r.addMatcher(f.settled,c),r.exposeCaseReducer(t,{fulfilled:a||S4,pending:o||S4,rejected:l||S4,settled:c||S4})}function S4(){}function lh(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}const nqe={yorkieIntelligence:null,fileUpload:null},lpe=Ny({name:"setting",initialState:nqe,reducers:{setYorkieIntelligence:(e,t)=>{e.yorkieIntelligence=t.payload},setFileUpload:(e,t)=>{e.fileUpload=t.payload}}}),{setYorkieIntelligence:rqe,setFileUpload:iqe}=lpe.actions,vD=e=>e.setting,sqe=lpe.reducer,aqe=()=>["settings"],oqe=()=>{const e=gc(),t=ei(vD),n=PE({queryKey:aqe(),enabled:t.yorkieIntelligence===null&&t.fileUpload===null,queryFn:async()=>(await kr.get("/settings")).data,staleTime:1e3*60*60*24});return Y.useEffect(()=>{if(!n.isSuccess)return;const r=n.data;e(rqe(r.yorkieIntelligence)),e(iqe(r.fileUpload))},[e,n.data,n.isSuccess]),n};function upe(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ttypeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||lqe,cqe=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,dqe=/\/\*[^]*?\*\/| +/g,Ste=/\n+/g,hb=(e,t)=>{let n="",r="",i="";for(let s in e){let a=e[s];s[0]=="@"?s[1]=="i"?n=s+" "+a+";":r+=s[1]=="f"?hb(a,s):s+"{"+hb(a,s[1]=="k"?"":t)+"}":typeof a=="object"?r+=hb(a,t?t.replace(/([^,])+/g,o=>s.replace(/(^:.*)|([^,])+/g,l=>/&/.test(l)?l.replace(/&/g,o):o?o+" "+l:l)):s):a!=null&&(s=/^--/.test(s)?s:s.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=hb.p?hb.p(s,a):s+":"+a+";")}return n+(t&&i?t+"{"+i+"}":i)+r},C0={},cpe=e=>{if(typeof e=="object"){let t="";for(let n in e)t+=n+cpe(e[n]);return t}return e},fqe=(e,t,n,r,i)=>{let s=cpe(e),a=C0[s]||(C0[s]=(l=>{let c=0,d=11;for(;c>>0;return"go"+d})(s));if(!C0[a]){let l=s!==e?e:(c=>{let d,f,p=[{}];for(;d=cqe.exec(c.replace(dqe,""));)d[4]?p.shift():d[3]?(f=d[3].replace(Ste," ").trim(),p.unshift(p[0][f]=p[0][f]||{})):p[0][d[1]]=d[2].replace(Ste," ").trim();return p[0]})(e);C0[a]=hb(i?{["@keyframes "+a]:l}:l,n?"":"."+a)}let o=n&&C0.g?C0.g:null;return n&&(C0.g=C0[a]),((l,c,d,f)=>{f?c.data=c.data.replace(f,l):c.data.indexOf(l)===-1&&(c.data=d?l+c.data:c.data+l)})(C0[a],t,r,o),a},hqe=(e,t,n)=>e.reduce((r,i,s)=>{let a=t[s];if(a&&a.call){let o=a(n),l=o&&o.props&&o.props.className||/^go/.test(o)&&o;a=l?"."+l:o&&typeof o=="object"?o.props?"":hb(o,""):o===!1?"":o}return r+i+(a??"")},"");function LH(e){let t=this||{},n=e.call?e(t.p):e;return fqe(n.unshift?n.raw?hqe(n,[].slice.call(arguments,1),t.p):n.reduce((r,i)=>Object.assign(r,i&&i.call?i(t.p):i),{}):n,uqe(t.target),t.g,t.o,t.k)}LH.bind({g:1});LH.bind({k:1});function pqe(e,t){for(var n=0;n=0)&&(n[i]=e[i]);return n}function Ote(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Ete=function(){return""},hpe=Dn.createContext({enqueueSnackbar:Ete,closeSnackbar:Ete}),db={downXs:"@media (max-width:599.95px)",upSm:"@media (min-width:600px)"},wte=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},MH=function(t){return""+wte(t.vertical)+wte(t.horizontal)},O4=function(t){return!!t||t===0},E4="unmounted",Wv="exited",Qv="entering",fw="entered",xte="exiting",FH=function(e){fpe(t,e);function t(r){var i;i=e.call(this,r)||this;var s=r.appear,a;return i.appearStatus=null,r.in?s?(a=Wv,i.appearStatus=Qv):a=fw:r.unmountOnExit||r.mountOnEnter?a=E4:a=Wv,i.state={status:a},i.nextCallback=null,i}t.getDerivedStateFromProps=function(i,s){var a=i.in;return a&&s.status===E4?{status:Wv}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var s=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==Qv&&a!==fw&&(s=Qv):(a===Qv||a===fw)&&(s=xte)}this.updateStatus(!1,s)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,s=i,a=i;return i!=null&&typeof i!="number"&&typeof i!="string"&&(a=i.exit,s=i.enter),{exit:a,enter:s}},n.updateStatus=function(i,s){i===void 0&&(i=!1),s!==null?(this.cancelNextCallback(),s===Qv?this.performEnter(i):this.performExit()):this.props.unmountOnExit&&this.state.status===Wv&&this.setState({status:E4})},n.performEnter=function(i){var s=this,a=this.props.enter,o=i,l=this.getTimeouts();if(!i&&!a){this.safeSetState({status:fw},function(){s.props.onEntered&&s.props.onEntered(s.node,o)});return}this.props.onEnter&&this.props.onEnter(this.node,o),this.safeSetState({status:Qv},function(){s.props.onEntering&&s.props.onEntering(s.node,o),s.onTransitionEnd(l.enter,function(){s.safeSetState({status:fw},function(){s.props.onEntered&&s.props.onEntered(s.node,o)})})})},n.performExit=function(){var i=this,s=this.props.exit,a=this.getTimeouts();if(!s){this.safeSetState({status:Wv},function(){i.props.onExited&&i.props.onExited(i.node)});return}this.props.onExit&&this.props.onExit(this.node),this.safeSetState({status:xte},function(){i.props.onExiting&&i.props.onExiting(i.node),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:Wv},function(){i.props.onExited&&i.props.onExited(i.node)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&this.nextCallback.cancel&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,s){s=this.setNextCallback(s),this.setState(i,s)},n.setNextCallback=function(i){var s=this,a=!0;return this.nextCallback=function(){a&&(a=!1,s.nextCallback=null,i())},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(i,s){this.setNextCallback(s);var a=i==null&&!this.props.addEndListener;if(!this.node||a){setTimeout(this.nextCallback,0);return}this.props.addEndListener&&this.props.addEndListener(this.node,this.nextCallback),i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===E4)return null;var s=this.props,a=s.children,o=W_(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return a(i,o)},dpe(t,[{key:"node",get:function(){var i,s=(i=this.props.nodeRef)===null||i===void 0?void 0:i.current;if(!s)throw new Error("notistack - Custom snackbar is not refForwarding");return s}}]),t}(Dn.Component);function Vv(){}FH.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Vv,onEntering:Vv,onEntered:Vv,onExit:Vv,onExiting:Vv,onExited:Vv};function Tte(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function x9(e,t){return Y.useMemo(function(){return e==null&&t==null?null:function(n){Tte(e,n),Tte(t,n)}},[e,t])}function C5(e){var t=e.timeout,n=e.style,r=n===void 0?{}:n,i=e.mode;return{duration:typeof t=="object"?t[i]||0:t,easing:r.transitionTimingFunction,delay:r.transitionDelay}}var T9={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},ppe=function(t){t.scrollTop=t.scrollTop},kte=function(t){return Math.round(t)+"ms"};function NS(e,t){e===void 0&&(e=["all"]);var n=t||{},r=n.duration,i=r===void 0?300:r,s=n.easing,a=s===void 0?T9.easeInOut:s,o=n.delay,l=o===void 0?0:o,c=Array.isArray(e)?e:[e];return c.map(function(d){var f=typeof i=="string"?i:kte(i),p=typeof l=="string"?l:kte(l);return d+" "+f+" "+a+" "+p}).join(",")}function mqe(e){return e&&e.ownerDocument||document}function mpe(e){var t=mqe(e);return t.defaultView||window}function gqe(e,t){t===void 0&&(t=166);var n;function r(){for(var i=this,s=arguments.length,a=new Array(s),o=0;o-1,C=x.snacks.findIndex(T)>-1;if(_||C)return x}return i.handleDisplaySnack(ms({},x,{queue:[].concat(x.queue,[w])}))}),g},i.handleDisplaySnack=function(s){var a=s.snacks;return a.length>=i.maxSnack?i.handleDismissOldest(s):i.processQueue(s)},i.processQueue=function(s){var a=s.queue,o=s.snacks;return a.length>0?ms({},s,{snacks:[].concat(o,[a[0]]),queue:a.slice(1,a.length)}):s},i.handleDismissOldest=function(s){if(s.snacks.some(function(d){return!d.open||d.requestClose}))return s;var a=!1,o=!1,l=s.snacks.reduce(function(d,f){return d+(f.open&&f.persist?1:0)},0);l===i.maxSnack&&(o=!0);var c=s.snacks.map(function(d){return!a&&(!d.persist||o)?(a=!0,d.entered?(d.onClose&&d.onClose(null,"maxsnack",d.id),i.props.onClose&&i.props.onClose(null,"maxsnack",d.id),ms({},d,{open:!1})):ms({},d,{requestClose:!0})):ms({},d)});return ms({},s,{snacks:c})},i.handleEnteredSnack=function(s,a,o){if(!O4(o))throw new Error("handleEnteredSnack Cannot be called with undefined key");i.setState(function(l){var c=l.snacks;return{snacks:c.map(function(d){return d.id===o?ms({},d,{entered:!0}):ms({},d)})}})},i.handleCloseSnack=function(s,a,o){i.props.onClose&&i.props.onClose(s,a,o);var l=o===void 0;i.setState(function(c){var d=c.snacks,f=c.queue;return{snacks:d.map(function(p){return!l&&p.id!==o?ms({},p):p.entered?ms({},p,{open:!1}):ms({},p,{requestClose:!0})}),queue:f.filter(function(p){return p.id!==o})}})},i.closeSnackbar=function(s){var a=i.state.snacks.find(function(o){return o.id===s});O4(s)&&a&&a.onClose&&a.onClose(null,"instructed",s),i.handleCloseSnack(null,"instructed",s)},i.handleExitedSnack=function(s,a){if(!O4(a))throw new Error("handleExitedSnack Cannot be called with undefined key");i.setState(function(o){var l=i.processQueue(ms({},o,{snacks:o.snacks.filter(function(c){return c.id!==a})}));return l.queue.length===0?l:i.handleDismissOldest(l)})},i.enqueueSnackbar,i.closeSnackbar,i.state={snacks:[],queue:[],contextValue:{enqueueSnackbar:i.enqueueSnackbar.bind(Ote(i)),closeSnackbar:i.closeSnackbar.bind(Ote(i))}},i}var n=t.prototype;return n.render=function(){var i=this,s=this.state.contextValue,a=this.props,o=a.domRoot,l=a.children,c=a.dense,d=c===void 0?!1:c,f=a.Components,p=f===void 0?{}:f,g=a.classes,b=this.state.snacks.reduce(function(x,T){var _,C=MH(T.anchorOrigin),I=x[C]||[];return ms({},x,(_={},_[C]=[].concat(I,[T]),_))},{}),w=Object.keys(b).map(function(x){var T=b[x],_=T[0];return Dn.createElement(Lqe,{key:x,dense:d,anchorOrigin:_.anchorOrigin,classes:g},T.map(function(C){return Dn.createElement(Nqe,{key:C.id,snack:C,classes:g,Component:p[C.variant],onClose:i.handleCloseSnack,onEnter:i.props.onEnter,onExit:i.props.onExit,onExited:ST([i.handleExitedSnack,i.props.onExited],C.id),onEntered:ST([i.handleEnteredSnack,i.props.onEntered],C.id)})}))});return Dn.createElement(fpe.Provider,{value:s},l,o?yE.createPortal(w,o):w)},cpe(t,[{key:"maxSnack",get:function(){return this.props.maxSnack||Vb.maxSnack}}]),t}(Y.Component),FE=function(){return Y.useContext(fpe)};function Fqe(){const{enqueueSnackbar:e}=FE();return Y.useCallback(n=>{var r;e(((r=n.response)==null?void 0:r.data.message)||n.message||"Something went wrong...",{variant:"error"})},[e])}const $H=Dn.createContext({isLoading:!0,isLoggedIn:!1}),$qe={accessToken:null,refreshToken:null},Spe=Ny({name:"auth",initialState:$qe,reducers:{setAccessToken:(e,t)=>{e.accessToken=t.payload},setRefreshToken(e,t){e.refreshToken=t.payload},logout:e=>{e.accessToken=null,e.refreshToken=null,kr.defaults.headers.common.Authorization=""}}}),{setAccessToken:Ope,setRefreshToken:Bqe,logout:k9}=Spe.actions,V_=e=>e.auth,Uqe=Spe.reducer,zqe={data:null},Epe=Ny({name:"user",initialState:zqe,reducers:{setUserData:(e,t)=>{e.data=t.payload}}}),{setUserData:Q3}=Epe.actions,$E=e=>e.user,Hqe=Epe.reducer,wpe=e=>["users",e],qqe=()=>{const e=mc(),t=ei(V_),[n,r]=Y.useState(!1);Y.useEffect(()=>{const s=kr.interceptors.response.use(a=>a,async a=>{var o;if(((o=a.response)==null?void 0:o.status)===401&&!a.config._retry){if(a.config.url==="/auth/refresh")return e(k9()),e(Q3(null)),Promise.reject(a);{a.config._retry=!0;const{refreshToken:l}=t,d=(await kr.post("/auth/refresh",{refreshToken:l})).data.newAccessToken;return e(Ope(d)),kr.defaults.headers.common.Authorization=`Bearer ${d}`,a.config.headers.Authorization=`Bearer ${d}`,kr(a.config)}}return Promise.reject(a)});return r(!0),()=>{r(!1),kr.interceptors.response.eject(s)}},[t,e]);const i=PE({queryKey:wpe(t.accessToken||""),enabled:!!(n&&t.accessToken),queryFn:async()=>(kr.defaults.headers.common.Authorization=`Bearer ${t.accessToken}`,(await kr.get("/users")).data)});return Y.useEffect(()=>{i.isSuccess?e(Q3(i.data)):i.isError&&(e(k9()),e(Q3(null)),kr.defaults.headers.common.Authorization="")},[e,i.data,i.isError,i.isSuccess]),{...i,isLoading:i.isLoading||!n}},xpe=()=>{const e=ei(V_),t=NE();return Rp({mutationFn:async n=>(await kr.put("/users",n)).data,onSuccess:()=>{t.invalidateQueries({queryKey:wpe(e.accessToken||"")})}})};function _9(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.type==="checkbox",PS=e=>e instanceof Date,gu=e=>e==null;const Tpe=e=>typeof e=="object";var po=e=>!gu(e)&&!Array.isArray(e)&&Tpe(e)&&!PS(e),kpe=e=>po(e)&&e.target?G_(e.target)?e.target.checked:e.target.value:e,Yqe=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,_pe=(e,t)=>e.has(Yqe(t)),Zqe=e=>{const t=e.constructor&&e.constructor.prototype;return po(t)&&t.hasOwnProperty("isPrototypeOf")},BH=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Wu(e){let t;const n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(BH&&(e instanceof Blob||e instanceof FileList))&&(n||po(e)))if(t=n?[]:{},!n&&!Zqe(e))t=e;else for(const r in e)e.hasOwnProperty(r)&&(t[r]=Wu(e[r]));else return e;return t}var OD=e=>Array.isArray(e)?e.filter(Boolean):[],$a=e=>e===void 0,En=(e,t,n)=>{if(!t||!po(e))return n;const r=OD(t.split(/[,[\].]+?/)).reduce((i,s)=>gu(i)?i:i[s],e);return $a(r)||r===e?$a(e[t])?n:e[t]:r},jd=e=>typeof e=="boolean",UH=e=>/^\w*$/.test(e),Ape=e=>OD(e.replace(/["|']|\]/g,"").split(/\.|\[/)),Ts=(e,t,n)=>{let r=-1;const i=UH(t)?[t]:Ape(t),s=i.length,a=s-1;for(;++rDn.useContext(Cpe),Rpe=e=>{const{children:t,...n}=e;return Dn.createElement(Cpe.Provider,{value:n},t)};var Ipe=(e,t,n,r=!0)=>{const i={defaultValues:t._defaultValues};for(const s in e)Object.defineProperty(i,s,{get:()=>{const a=s;return t._proxyFormState[a]!==th.all&&(t._proxyFormState[a]=!r||th.all),n&&(n[a]=!0),e[a]}});return i},Zu=e=>po(e)&&!Object.keys(e).length,Dpe=(e,t,n,r)=>{n(e);const{name:i,...s}=e;return Zu(s)||Object.keys(s).length>=Object.keys(t).length||Object.keys(s).find(a=>t[a]===(!r||th.all))},OT=e=>Array.isArray(e)?e:[e],Npe=(e,t,n)=>!e||!t||e===t||OT(e).some(r=>r&&(n?r===t:r.startsWith(t)||t.startsWith(r)));function HH(e){const t=Dn.useRef(e);t.current=e,Dn.useEffect(()=>{const n=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{n&&n.unsubscribe()}},[e.disabled])}function Xqe(e){const t=zH(),{control:n=t.control,disabled:r,name:i,exact:s}=e||{},[a,o]=Dn.useState(n._formState),l=Dn.useRef(!0),c=Dn.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),d=Dn.useRef(i);return d.current=i,HH({disabled:r,next:f=>l.current&&Npe(d.current,f.name,s)&&Dpe(f,c.current,n._updateFormState)&&o({...n._formState,...f}),subject:n._subjects.state}),Dn.useEffect(()=>(l.current=!0,c.current.isValid&&n._updateValid(!0),()=>{l.current=!1}),[n]),Ipe(a,n,c.current,!1)}var fp=e=>typeof e=="string",Ppe=(e,t,n,r,i)=>fp(e)?(r&&t.watch.add(e),En(n,e,i)):Array.isArray(e)?e.map(s=>(r&&t.watch.add(s),En(n,s))):(r&&(t.watchAll=!0),n);function Lpe(e){const t=zH(),{control:n=t.control,name:r,defaultValue:i,disabled:s,exact:a}=e||{},o=Dn.useRef(r);o.current=r,HH({disabled:s,subject:n._subjects.values,next:d=>{Npe(o.current,d.name,a)&&c(Wu(Ppe(o.current,n._names,d.values||n._formValues,!1,i)))}});const[l,c]=Dn.useState(n._getWatch(r,i));return Dn.useEffect(()=>n._removeUnmounted()),l}function Dp(e){const t=zH(),{name:n,disabled:r,control:i=t.control,shouldUnregister:s}=e,a=_pe(i._names.array,n),o=Lpe({control:i,name:n,defaultValue:En(i._formValues,n,En(i._defaultValues,n,e.defaultValue)),exact:!0}),l=Xqe({control:i,name:n,exact:!0}),c=Dn.useRef(i.register(n,{...e.rules,value:o,...jd(e.disabled)?{disabled:e.disabled}:{}}));return Dn.useEffect(()=>{const d=i._options.shouldUnregister||s,f=(p,g)=>{const b=En(i._fields,p);b&&b._f&&(b._f.mount=g)};if(f(n,!0),d){const p=Wu(En(i._options.defaultValues,n));Ts(i._defaultValues,n,p),$a(En(i._formValues,n))&&Ts(i._formValues,n,p)}return()=>{(a?d&&!i._state.action:d)?i.unregister(n):f(n,!1)}},[n,i,a,s]),Dn.useEffect(()=>{En(i._fields,n)&&i._updateDisabledField({disabled:r,fields:i._fields,name:n,value:En(i._fields,n)._f.value})},[r,n,i]),{field:{name:n,value:o,...jd(r)||l.disabled?{disabled:l.disabled||r}:{},onChange:Dn.useCallback(d=>c.current.onChange({target:{value:kpe(d),name:n},type:R5.CHANGE}),[n]),onBlur:Dn.useCallback(()=>c.current.onBlur({target:{value:En(i._formValues,n),name:n},type:R5.BLUR}),[n,i]),ref:Dn.useCallback(d=>{const f=En(i._fields,n);f&&d&&(f._f.ref={focus:()=>d.focus(),select:()=>d.select(),setCustomValidity:p=>d.setCustomValidity(p),reportValidity:()=>d.reportValidity()})},[i._fields,n])},formState:l,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!En(l.errors,n)},isDirty:{enumerable:!0,get:()=>!!En(l.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!En(l.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!En(l.validatingFields,n)},error:{enumerable:!0,get:()=>En(l.errors,n)}})}}var Kqe=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},Pte=e=>({isOnSubmit:!e||e===th.onSubmit,isOnBlur:e===th.onBlur,isOnChange:e===th.onChange,isOnAll:e===th.all,isOnTouch:e===th.onTouched}),Lte=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(r=>e.startsWith(r)&&/^\.\w+/.test(e.slice(r.length))));const ET=(e,t,n,r)=>{for(const i of n||Object.keys(e)){const s=En(e,i);if(s){const{_f:a,...o}=s;if(a){if(a.refs&&a.refs[0]&&t(a.refs[0],i)&&!r)return!0;if(a.ref&&t(a.ref,a.name)&&!r)return!0;if(ET(o,t))break}else if(po(o)&&ET(o,t))break}}};var Jqe=(e,t,n)=>{const r=OT(En(e,n));return Ts(r,"root",t[n]),Ts(e,n,r),e},qH=e=>e.type==="file",V0=e=>typeof e=="function",I5=e=>{if(!BH)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},V3=e=>fp(e),jH=e=>e.type==="radio",D5=e=>e instanceof RegExp;const Mte={value:!1,isValid:!1},Fte={value:!0,isValid:!0};var Mpe=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(n=>n&&n.checked&&!n.disabled).map(n=>n.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!$a(e[0].attributes.value)?$a(e[0].value)||e[0].value===""?Fte:{value:e[0].value,isValid:!0}:Fte:Mte}return Mte};const $te={isValid:!1,value:null};var Fpe=e=>Array.isArray(e)?e.reduce((t,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:t,$te):$te;function Bte(e,t,n="validate"){if(V3(e)||Array.isArray(e)&&e.every(V3)||jd(e)&&!e)return{type:n,message:V3(e)?e:"",ref:t}}var Gv=e=>po(e)&&!D5(e)?e:{value:e,message:""},Ute=async(e,t,n,r,i)=>{const{ref:s,refs:a,required:o,maxLength:l,minLength:c,min:d,max:f,pattern:p,validate:g,name:b,valueAsNumber:w,mount:x,disabled:T}=e._f,_=En(t,b);if(!x||T)return{};const C=a?a[0]:s,I=se=>{r&&C.reportValidity&&(C.setCustomValidity(jd(se)?"":se||""),C.reportValidity())},M={},$=jH(s),B=G_(s),j=$||B,F=(w||qH(s))&&$a(s.value)&&$a(_)||I5(s)&&s.value===""||_===""||Array.isArray(_)&&!_.length,V=Kqe.bind(null,b,n,M),ie=(se,me,fe,le=I0.maxLength,ye=I0.minLength)=>{const ae=se?me:fe;M[b]={type:se?le:ye,message:ae,ref:s,...V(se?le:ye,ae)}};if(i?!Array.isArray(_)||!_.length:o&&(!j&&(F||gu(_))||jd(_)&&!_||B&&!Mpe(a).isValid||$&&!Fpe(a).isValid)){const{value:se,message:me}=V3(o)?{value:!!o,message:o}:Gv(o);if(se&&(M[b]={type:I0.required,message:me,ref:C,...V(I0.required,me)},!n))return I(me),M}if(!F&&(!gu(d)||!gu(f))){let se,me;const fe=Gv(f),le=Gv(d);if(!gu(_)&&!isNaN(_)){const ye=s.valueAsNumber||_&&+_;gu(fe.value)||(se=ye>fe.value),gu(le.value)||(me=yenew Date(new Date().toDateString()+" "+re),Se=s.type=="time",he=s.type=="week";fp(fe.value)&&_&&(se=Se?ae(_)>ae(fe.value):he?_>fe.value:ye>new Date(fe.value)),fp(le.value)&&_&&(me=Se?ae(_)+se.value,le=!gu(me.value)&&_.length<+me.value;if((fe||le)&&(ie(fe,se.message,me.message),!n))return I(M[b].message),M}if(p&&!F&&fp(_)){const{value:se,message:me}=Gv(p);if(D5(se)&&!_.match(se)&&(M[b]={type:I0.pattern,message:me,ref:s,...V(I0.pattern,me)},!n))return I(me),M}if(g){if(V0(g)){const se=await g(_,t),me=Bte(se,C);if(me&&(M[b]={...me,...V(I0.validate,me.message)},!n))return I(me.message),M}else if(po(g)){let se={};for(const me in g){if(!Zu(se)&&!n)break;const fe=Bte(await g[me](_,t),C,me);fe&&(se={...fe,...V(me,fe.message)},I(fe.message),n&&(M[b]=se))}if(!Zu(se)&&(M[b]={ref:C,...se},!n))return M}}return I(!0),M};function eje(e,t){const n=t.slice(0,-1).length;let r=0;for(;r{let e=[];return{get observers(){return e},next:i=>{for(const s of e)s.next&&s.next(i)},subscribe:i=>(e.push(i),{unsubscribe:()=>{e=e.filter(s=>s!==i)}}),unsubscribe:()=>{e=[]}}},N5=e=>gu(e)||!Tpe(e);function xg(e,t){if(N5(e)||N5(t))return e===t;if(PS(e)&&PS(t))return e.getTime()===t.getTime();const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const i of n){const s=e[i];if(!r.includes(i))return!1;if(i!=="ref"){const a=t[i];if(PS(s)&&PS(a)||po(s)&&po(a)||Array.isArray(s)&&Array.isArray(a)?!xg(s,a):s!==a)return!1}}return!0}var $pe=e=>e.type==="select-multiple",nje=e=>jH(e)||G_(e),DP=e=>I5(e)&&e.isConnected,Bpe=e=>{for(const t in e)if(V0(e[t]))return!0;return!1};function P5(e,t={}){const n=Array.isArray(e);if(po(e)||n)for(const r in e)Array.isArray(e[r])||po(e[r])&&!Bpe(e[r])?(t[r]=Array.isArray(e[r])?[]:{},P5(e[r],t[r])):gu(e[r])||(t[r]=!0);return t}function Upe(e,t,n){const r=Array.isArray(e);if(po(e)||r)for(const i in e)Array.isArray(e[i])||po(e[i])&&!Bpe(e[i])?$a(t)||N5(n[i])?n[i]=Array.isArray(e[i])?P5(e[i],[]):{...P5(e[i])}:Upe(e[i],gu(t)?{}:t[i],n[i]):n[i]=!xg(e[i],t[i]);return n}var _4=(e,t)=>Upe(e,t,P5(t)),zpe=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>$a(e)?e:t?e===""?NaN:e&&+e:n&&fp(e)?new Date(e):r?r(e):e;function NP(e){const t=e.ref;if(!(e.refs?e.refs.every(n=>n.disabled):t.disabled))return qH(t)?t.files:jH(t)?Fpe(e.refs).value:$pe(t)?[...t.selectedOptions].map(({value:n})=>n):G_(t)?Mpe(e.refs).value:zpe($a(t.value)?e.ref.value:t.value,e)}var rje=(e,t,n,r)=>{const i={};for(const s of e){const a=En(t,s);a&&Ts(i,s,a._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},mw=e=>$a(e)?e:D5(e)?e.source:po(e)?D5(e.value)?e.value.source:e.value:e;const zte="AsyncFunction";var ije=e=>(!e||!e.validate)&&!!(V0(e.validate)&&e.validate.constructor.name===zte||po(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===zte)),sje=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function Hte(e,t,n){const r=En(e,n);if(r||UH(n))return{error:r,name:n};const i=n.split(".");for(;i.length;){const s=i.join("."),a=En(t,s),o=En(e,s);if(a&&!Array.isArray(a)&&n!==s)return{name:n};if(o&&o.type)return{name:s,error:o};i.pop()}return{name:n}}var aje=(e,t,n,r,i)=>i.isOnAll?!1:!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:(n?r.isOnChange:i.isOnChange)?e:!0,oje=(e,t)=>!OD(En(e,t)).length&&Oo(e,t);const lje={mode:th.onSubmit,reValidateMode:th.onChange,shouldFocusError:!0};function uje(e={}){let t={...lje,...e},n={submitCount:0,isDirty:!1,isLoading:V0(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},r={},i=po(t.defaultValues)||po(t.values)?Wu(t.defaultValues||t.values)||{}:{},s=t.shouldUnregister?{}:Wu(i),a={action:!1,mount:!1,watch:!1},o={mount:new Set,unMount:new Set,array:new Set,watch:new Set},l,c=0;const d={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},f={values:IP(),array:IP(),state:IP()},p=Pte(t.mode),g=Pte(t.reValidateMode),b=t.criteriaMode===th.all,w=te=>de=>{clearTimeout(c),c=setTimeout(te,de)},x=async te=>{if(d.isValid||te){const de=t.resolver?Zu((await j()).errors):await V(r,!0);de!==n.isValid&&f.state.next({isValid:de})}},T=(te,de)=>{(d.isValidating||d.validatingFields)&&((te||Array.from(o.mount)).forEach(we=>{we&&(de?Ts(n.validatingFields,we,de):Oo(n.validatingFields,we))}),f.state.next({validatingFields:n.validatingFields,isValidating:!Zu(n.validatingFields)}))},_=(te,de=[],we,We,Ke=!0,xe=!0)=>{if(We&&we){if(a.action=!0,xe&&Array.isArray(En(r,te))){const Qe=we(En(r,te),We.argA,We.argB);Ke&&Ts(r,te,Qe)}if(xe&&Array.isArray(En(n.errors,te))){const Qe=we(En(n.errors,te),We.argA,We.argB);Ke&&Ts(n.errors,te,Qe),oje(n.errors,te)}if(d.touchedFields&&xe&&Array.isArray(En(n.touchedFields,te))){const Qe=we(En(n.touchedFields,te),We.argA,We.argB);Ke&&Ts(n.touchedFields,te,Qe)}d.dirtyFields&&(n.dirtyFields=_4(i,s)),f.state.next({name:te,isDirty:se(te,de),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else Ts(s,te,de)},C=(te,de)=>{Ts(n.errors,te,de),f.state.next({errors:n.errors})},I=te=>{n.errors=te,f.state.next({errors:n.errors,isValid:!1})},M=(te,de,we,We)=>{const Ke=En(r,te);if(Ke){const xe=En(s,te,$a(we)?En(i,te):we);$a(xe)||We&&We.defaultChecked||de?Ts(s,te,de?xe:NP(Ke._f)):le(te,xe),a.mount&&x()}},$=(te,de,we,We,Ke)=>{let xe=!1,Qe=!1;const yt={name:te},Be=!!(En(r,te)&&En(r,te)._f&&En(r,te)._f.disabled);if(!we||We){d.isDirty&&(Qe=n.isDirty,n.isDirty=yt.isDirty=se(),xe=Qe!==yt.isDirty);const Ne=Be||xg(En(i,te),de);Qe=!!(!Be&&En(n.dirtyFields,te)),Ne||Be?Oo(n.dirtyFields,te):Ts(n.dirtyFields,te,!0),yt.dirtyFields=n.dirtyFields,xe=xe||d.dirtyFields&&Qe!==!Ne}if(we){const Ne=En(n.touchedFields,te);Ne||(Ts(n.touchedFields,te,we),yt.touchedFields=n.touchedFields,xe=xe||d.touchedFields&&Ne!==we)}return xe&&Ke&&f.state.next(yt),xe?yt:{}},B=(te,de,we,We)=>{const Ke=En(n.errors,te),xe=d.isValid&&jd(de)&&n.isValid!==de;if(e.delayError&&we?(l=w(()=>C(te,we)),l(e.delayError)):(clearTimeout(c),l=null,we?Ts(n.errors,te,we):Oo(n.errors,te)),(we?!xg(Ke,we):Ke)||!Zu(We)||xe){const Qe={...We,...xe&&jd(de)?{isValid:de}:{},errors:n.errors,name:te};n={...n,...Qe},f.state.next(Qe)}},j=async te=>{T(te,!0);const de=await t.resolver(s,t.context,rje(te||o.mount,r,t.criteriaMode,t.shouldUseNativeValidation));return T(te),de},F=async te=>{const{errors:de}=await j(te);if(te)for(const we of te){const We=En(de,we);We?Ts(n.errors,we,We):Oo(n.errors,we)}else n.errors=de;return de},V=async(te,de,we={valid:!0})=>{for(const We in te){const Ke=te[We];if(Ke){const{_f:xe,...Qe}=Ke;if(xe){const yt=o.array.has(xe.name),Be=Ke._f&&ije(Ke._f);Be&&d.validatingFields&&T([We],!0);const Ne=await Ute(Ke,s,b,t.shouldUseNativeValidation&&!de,yt);if(Be&&d.validatingFields&&T([We]),Ne[xe.name]&&(we.valid=!1,de))break;!de&&(En(Ne,xe.name)?yt?Jqe(n.errors,Ne,xe.name):Ts(n.errors,xe.name,Ne[xe.name]):Oo(n.errors,xe.name))}!Zu(Qe)&&await V(Qe,de,we)}}return we.valid},ie=()=>{for(const te of o.unMount){const de=En(r,te);de&&(de._f.refs?de._f.refs.every(we=>!DP(we)):!DP(de._f.ref))&&Ze(te)}o.unMount=new Set},se=(te,de)=>(te&&de&&Ts(s,te,de),!xg(Fe(),i)),me=(te,de,we)=>Ppe(te,o,{...a.mount?s:$a(de)?i:fp(te)?{[te]:de}:de},we,de),fe=te=>OD(En(a.mount?s:i,te,e.shouldUnregister?En(i,te,[]):[])),le=(te,de,we={})=>{const We=En(r,te);let Ke=de;if(We){const xe=We._f;xe&&(!xe.disabled&&Ts(s,te,zpe(de,xe)),Ke=I5(xe.ref)&&gu(de)?"":de,$pe(xe.ref)?[...xe.ref.options].forEach(Qe=>Qe.selected=Ke.includes(Qe.value)):xe.refs?G_(xe.ref)?xe.refs.length>1?xe.refs.forEach(Qe=>(!Qe.defaultChecked||!Qe.disabled)&&(Qe.checked=Array.isArray(Ke)?!!Ke.find(yt=>yt===Qe.value):Ke===Qe.value)):xe.refs[0]&&(xe.refs[0].checked=!!Ke):xe.refs.forEach(Qe=>Qe.checked=Qe.value===Ke):qH(xe.ref)?xe.ref.value="":(xe.ref.value=Ke,xe.ref.type||f.values.next({name:te,values:{...s}})))}(we.shouldDirty||we.shouldTouch)&&$(te,Ke,we.shouldTouch,we.shouldDirty,!0),we.shouldValidate&&re(te)},ye=(te,de,we)=>{for(const We in de){const Ke=de[We],xe=`${te}.${We}`,Qe=En(r,xe);(o.array.has(te)||!N5(Ke)||Qe&&!Qe._f)&&!PS(Ke)?ye(xe,Ke,we):le(xe,Ke,we)}},ae=(te,de,we={})=>{const We=En(r,te),Ke=o.array.has(te),xe=Wu(de);Ts(s,te,xe),Ke?(f.array.next({name:te,values:{...s}}),(d.isDirty||d.dirtyFields)&&we.shouldDirty&&f.state.next({name:te,dirtyFields:_4(i,s),isDirty:se(te,xe)})):We&&!We._f&&!gu(xe)?ye(te,xe,we):le(te,xe,we),Lte(te,o)&&f.state.next({...n}),f.values.next({name:a.mount?te:void 0,values:{...s}})},Se=async te=>{a.mount=!0;const de=te.target;let we=de.name,We=!0;const Ke=En(r,we),xe=()=>de.type?NP(Ke._f):kpe(te),Qe=yt=>{We=Number.isNaN(yt)||xg(yt,En(s,we,yt))};if(Ke){let yt,Be;const Ne=xe(),rt=te.type===R5.BLUR||te.type===R5.FOCUS_OUT,pt=!sje(Ke._f)&&!t.resolver&&!En(n.errors,we)&&!Ke._f.deps||aje(rt,En(n.touchedFields,we),n.isSubmitted,g,p),Dt=Lte(we,o,rt);Ts(s,we,Ne),rt?(Ke._f.onBlur&&Ke._f.onBlur(te),l&&l(0)):Ke._f.onChange&&Ke._f.onChange(te);const Gt=$(we,Ne,rt,!1),Pn=!Zu(Gt)||Dt;if(!rt&&f.values.next({name:we,type:te.type,values:{...s}}),pt)return d.isValid&&(e.mode==="onBlur"?rt&&x():x()),Pn&&f.state.next({name:we,...Dt?{}:Gt});if(!rt&&Dt&&f.state.next({...n}),t.resolver){const{errors:Fn}=await j([we]);if(Qe(Ne),We){const kt=Hte(n.errors,r,we),ct=Hte(Fn,r,kt.name||we);yt=ct.error,we=ct.name,Be=Zu(Fn)}}else T([we],!0),yt=(await Ute(Ke,s,b,t.shouldUseNativeValidation))[we],T([we]),Qe(Ne),We&&(yt?Be=!1:d.isValid&&(Be=await V(r,!0)));We&&(Ke._f.deps&&re(Ke._f.deps),B(we,Be,yt,Gt))}},he=(te,de)=>{if(En(n.errors,de)&&te.focus)return te.focus(),1},re=async(te,de={})=>{let we,We;const Ke=OT(te);if(t.resolver){const xe=await F($a(te)?te:Ke);we=Zu(xe),We=te?!Ke.some(Qe=>En(xe,Qe)):we}else te?(We=(await Promise.all(Ke.map(async xe=>{const Qe=En(r,xe);return await V(Qe&&Qe._f?{[xe]:Qe}:Qe)}))).every(Boolean),!(!We&&!n.isValid)&&x()):We=we=await V(r);return f.state.next({...!fp(te)||d.isValid&&we!==n.isValid?{}:{name:te},...t.resolver||!te?{isValid:we}:{},errors:n.errors}),de.shouldFocus&&!We&&ET(r,he,te?Ke:o.mount),We},Fe=te=>{const de={...a.mount?s:i};return $a(te)?de:fp(te)?En(de,te):te.map(we=>En(de,we))},je=(te,de)=>({invalid:!!En((de||n).errors,te),isDirty:!!En((de||n).dirtyFields,te),error:En((de||n).errors,te),isValidating:!!En(n.validatingFields,te),isTouched:!!En((de||n).touchedFields,te)}),ue=te=>{te&&OT(te).forEach(de=>Oo(n.errors,de)),f.state.next({errors:te?n.errors:{}})},tt=(te,de,we)=>{const We=(En(r,te,{_f:{}})._f||{}).ref,Ke=En(n.errors,te)||{},{ref:xe,message:Qe,type:yt,...Be}=Ke;Ts(n.errors,te,{...Be,...de,ref:We}),f.state.next({name:te,errors:n.errors,isValid:!1}),we&&we.shouldFocus&&We&&We.focus&&We.focus()},St=(te,de)=>V0(te)?f.values.subscribe({next:we=>te(me(void 0,de),we)}):me(te,de,!0),Ze=(te,de={})=>{for(const we of te?OT(te):o.mount)o.mount.delete(we),o.array.delete(we),de.keepValue||(Oo(r,we),Oo(s,we)),!de.keepError&&Oo(n.errors,we),!de.keepDirty&&Oo(n.dirtyFields,we),!de.keepTouched&&Oo(n.touchedFields,we),!de.keepIsValidating&&Oo(n.validatingFields,we),!t.shouldUnregister&&!de.keepDefaultValue&&Oo(i,we);f.values.next({values:{...s}}),f.state.next({...n,...de.keepDirty?{isDirty:se()}:{}}),!de.keepIsValid&&x()},qt=({disabled:te,name:de,field:we,fields:We,value:Ke})=>{if(jd(te)&&a.mount||te){const xe=te?void 0:$a(Ke)?NP(we?we._f:En(We,de)._f):Ke;Ts(s,de,xe),$(de,xe,!1,!1,!0)}},xt=(te,de={})=>{let we=En(r,te);const We=jd(de.disabled)||jd(e.disabled);return Ts(r,te,{...we||{},_f:{...we&&we._f?we._f:{ref:{name:te}},name:te,mount:!0,...de}}),o.mount.add(te),we?qt({field:we,disabled:jd(de.disabled)?de.disabled:e.disabled,name:te,value:de.value}):M(te,!0,de.value),{...We?{disabled:de.disabled||e.disabled}:{},...t.progressive?{required:!!de.required,min:mw(de.min),max:mw(de.max),minLength:mw(de.minLength),maxLength:mw(de.maxLength),pattern:mw(de.pattern)}:{},name:te,onChange:Se,onBlur:Se,ref:Ke=>{if(Ke){xt(te,de),we=En(r,te);const xe=$a(Ke.value)&&Ke.querySelectorAll&&Ke.querySelectorAll("input,select,textarea")[0]||Ke,Qe=nje(xe),yt=we._f.refs||[];if(Qe?yt.find(Be=>Be===xe):xe===we._f.ref)return;Ts(r,te,{_f:{...we._f,...Qe?{refs:[...yt.filter(DP),xe,...Array.isArray(En(i,te))?[{}]:[]],ref:{type:xe.type,name:te}}:{ref:xe}}}),M(te,!1,void 0,xe)}else we=En(r,te,{}),we._f&&(we._f.mount=!1),(t.shouldUnregister||de.shouldUnregister)&&!(_pe(o.array,te)&&a.action)&&o.unMount.add(te)}}},Nt=()=>t.shouldFocusError&&ET(r,he,o.mount),Ht=te=>{jd(te)&&(f.state.next({disabled:te}),ET(r,(de,we)=>{const We=En(r,we);We&&(de.disabled=We._f.disabled||te,Array.isArray(We._f.refs)&&We._f.refs.forEach(Ke=>{Ke.disabled=We._f.disabled||te}))},0,!1))},Jt=(te,de)=>async we=>{let We;we&&(we.preventDefault&&we.preventDefault(),we.persist&&we.persist());let Ke=Wu(s);if(f.state.next({isSubmitting:!0}),t.resolver){const{errors:xe,values:Qe}=await j();n.errors=xe,Ke=Qe}else await V(r);if(Oo(n.errors,"root"),Zu(n.errors)){f.state.next({errors:{}});try{await te(Ke,we)}catch(xe){We=xe}}else de&&await de({...n.errors},we),Nt(),setTimeout(Nt);if(f.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Zu(n.errors)&&!We,submitCount:n.submitCount+1,errors:n.errors}),We)throw We},Vt=(te,de={})=>{En(r,te)&&($a(de.defaultValue)?ae(te,Wu(En(i,te))):(ae(te,de.defaultValue),Ts(i,te,Wu(de.defaultValue))),de.keepTouched||Oo(n.touchedFields,te),de.keepDirty||(Oo(n.dirtyFields,te),n.isDirty=de.defaultValue?se(te,Wu(En(i,te))):se()),de.keepError||(Oo(n.errors,te),d.isValid&&x()),f.state.next({...n}))},en=(te,de={})=>{const we=te?Wu(te):i,We=Wu(we),Ke=Zu(te),xe=Ke?i:We;if(de.keepDefaultValues||(i=we),!de.keepValues){if(de.keepDirtyValues)for(const Qe of o.mount)En(n.dirtyFields,Qe)?Ts(xe,Qe,En(s,Qe)):ae(Qe,En(xe,Qe));else{if(BH&&$a(te))for(const Qe of o.mount){const yt=En(r,Qe);if(yt&&yt._f){const Be=Array.isArray(yt._f.refs)?yt._f.refs[0]:yt._f.ref;if(I5(Be)){const Ne=Be.closest("form");if(Ne){Ne.reset();break}}}}r={}}s=e.shouldUnregister?de.keepDefaultValues?Wu(i):{}:Wu(xe),f.array.next({values:{...xe}}),f.values.next({values:{...xe}})}o={mount:de.keepDirtyValues?o.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},a.mount=!d.isValid||!!de.keepIsValid||!!de.keepDirtyValues,a.watch=!!e.shouldUnregister,f.state.next({submitCount:de.keepSubmitCount?n.submitCount:0,isDirty:Ke?!1:de.keepDirty?n.isDirty:!!(de.keepDefaultValues&&!xg(te,i)),isSubmitted:de.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:Ke?{}:de.keepDirtyValues?de.keepDefaultValues&&s?_4(i,s):n.dirtyFields:de.keepDefaultValues&&te?_4(i,te):de.keepDirty?n.dirtyFields:{},touchedFields:de.keepTouched?n.touchedFields:{},errors:de.keepErrors?n.errors:{},isSubmitSuccessful:de.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1})},Ct=(te,de)=>en(V0(te)?te(s):te,de);return{control:{register:xt,unregister:Ze,getFieldState:je,handleSubmit:Jt,setError:tt,_executeSchema:j,_getWatch:me,_getDirty:se,_updateValid:x,_removeUnmounted:ie,_updateFieldArray:_,_updateDisabledField:qt,_getFieldArray:fe,_reset:en,_resetDefaultValues:()=>V0(t.defaultValues)&&t.defaultValues().then(te=>{Ct(te,t.resetOptions),f.state.next({isLoading:!1})}),_updateFormState:te=>{n={...n,...te}},_disableForm:Ht,_subjects:f,_proxyFormState:d,_setErrors:I,get _fields(){return r},get _formValues(){return s},get _state(){return a},set _state(te){a=te},get _defaultValues(){return i},get _names(){return o},set _names(te){o=te},get _formState(){return n},set _formState(te){n=te},get _options(){return t},set _options(te){t={...t,...te}}},trigger:re,register:xt,handleSubmit:Jt,watch:St,setValue:ae,getValues:Fe,reset:Ct,resetField:Vt,clearErrors:ue,unregister:Ze,setError:tt,setFocus:(te,de={})=>{const we=En(r,te),We=we&&we._f;if(We){const Ke=We.refs?We.refs[0]:We.ref;Ke.focus&&(Ke.focus(),de.shouldSelect&&Ke.select())}},getFieldState:je}}function Hpe(e={}){const t=Dn.useRef(),n=Dn.useRef(),[r,i]=Dn.useState({isDirty:!1,isValidating:!1,isLoading:V0(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:V0(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...uje(e),formState:r});const s=t.current.control;return s._options=e,HH({subject:s._subjects.state,next:a=>{Dpe(a,s._proxyFormState,s._updateFormState,!0)&&i({...s._formState})}}),Dn.useEffect(()=>s._disableForm(e.disabled),[s,e.disabled]),Dn.useEffect(()=>{if(s._proxyFormState.isDirty){const a=s._getDirty();a!==r.isDirty&&s._subjects.state.next({isDirty:a})}},[s,r.isDirty]),Dn.useEffect(()=>{e.values&&!xg(e.values,n.current)?(s._reset(e.values,s._options.resetOptions),n.current=e.values,i(a=>({...a}))):s._resetDefaultValues()},[e.values,s]),Dn.useEffect(()=>{e.errors&&s._setErrors(e.errors)},[e.errors,s]),Dn.useEffect(()=>{s._state.mount||(s._updateValid(),s._state.mount=!0),s._state.watch&&(s._state.watch=!1,s._subjects.state.next({...s._formState})),s._removeUnmounted()}),Dn.useEffect(()=>{e.shouldUnregister&&s._subjects.values.next({values:s._getWatch()})},[e.shouldUnregister,s]),t.current.formState=Ipe(r,s),t.current}const cje=pi(U.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"}),"Cancel"),qpe=pi(U.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility"),dje=pi(U.jsx("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff");function A9(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Sje(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s=0)&&(n[i]=e[i]);return n}function Oje(e,t){return fje(e)||gje(e,t)||Wpe(e,t)||bje()}function jpe(e){return hje(e)||mje(e)||Wpe(e)||yje()}function Eje(e){"@swc/helpers - typeof";return e&&typeof Symbol<"u"&&e.constructor===Symbol?"symbol":typeof e}function Wpe(e,t){if(e){if(typeof e=="string")return A9(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return A9(e,t)}}var Qpe=Y.forwardRef(function(e,t){var n=e.rules,r=n===void 0?{}:n,i=e.parseError,s=e.type,a=e.required,o=e.name,l=e.control,c=e.component,d=c===void 0?A_:c,f=e.inputRef,p=e.transform,g=bd(e,["rules","parseError","type","required","name","control","component","inputRef","transform"]),b=wm(),w=i||b,x=Cr({},r,a&&!r.required&&{required:"This field is required"},s==="email"&&!r.pattern&&{pattern:{value:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,message:"Please enter a valid email address"}}),T=Dp({name:o,control:l,disabled:g.disabled,rules:x}),_=T.field,C=T.fieldState,I=C.error,M=Ip({value:_.value,onChange:_.onChange,transform:{input:typeof(p==null?void 0:p.input)=="function"?p.input:function(F){return F??""},output:typeof(p==null?void 0:p.output)=="function"?p.output:function(F){var V=F.target.value;return s!=="number"?V:V===""?null:V==null?V:Number(V)}}}),$=M.value,B=M.onChange,j=$i(_.ref,f);return U.jsx(d,_s(Cr({},g),{name:_.name,value:$,onChange:function(F){B(F),typeof g.onChange=="function"&&g.onChange(F)},onBlur:_.onBlur,required:a,type:s,error:!!I,helperText:I?typeof w=="function"?w(I):I.message:g.helperText,ref:t,inputRef:j}))});Qpe.displayName="TextFieldElement";var Y_=Qpe;function BE(e){var t=e.handleSubmit,n=e.children,r=e.FormProps,i=e.formContext,s=e.onSuccess,a=e.onError,o=bd(e,["handleSubmit","children","FormProps","formContext","onSuccess","onError"]);return i?(typeof s=="function"&&typeof t=="function"&&console.warn("Property `onSuccess` will be ignored because handleSubmit is provided"),U.jsx(Rpe,_s(Cr({},i),{children:U.jsx("form",_s(Cr({noValidate:!0},r),{onSubmit:t||(s?i.handleSubmit(s,a):function(){return console.log("submit handler `onSuccess` is missing")}),children:n}))}))):U.jsx(wje,Cr({onSuccess:s,onError:a,FormProps:r,children:n},o))}function wje(e){var t=e.onSuccess,n=e.onError,r=e.FormProps,i=e.children,s=bd(e,["onSuccess","onError","FormProps","children"]),a=Hpe(Cr({},s)),o=a.handleSubmit;return U.jsx(Rpe,_s(Cr({},a),{children:U.jsx("form",_s(Cr({onSubmit:o(t||function(){return console.log("submit handler `onSuccess` is missing")},n),noValidate:!0},r),{children:i}))}))}var xje=Y.forwardRef(function(e,t){var n=e.name,r=e.rules,i=r===void 0?{}:r,s=e.required,a=e.parseError,o=e.label,l=e.control,c=e.helperText,d=e.labelProps,f=e.inputRef,p=e.transform,g=bd(e,["name","rules","required","parseError","label","control","helperText","labelProps","inputRef","transform"]),b=wm(),w=a||b,x=Cr({},i,s&&!i.required&&{required:"This field is required"}),T=Dp({name:n,control:l,disabled:g.disabled,rules:x}),_=T.field,C=T.fieldState,I=C.error,M=Ip({value:_.value,onChange:_.onChange,transform:{input:p==null?void 0:p.input,output:typeof(p==null?void 0:p.output)=="function"?p==null?void 0:p.output:function(V,ie){return ie}}}),$=M.value,B=M.onChange,j=$i(_.ref,f),F=I?typeof w=="function"?w(I):I.message:c;return U.jsxs(yf,{required:s,error:!!I,ref:t,children:[U.jsx(qz,{row:!0,children:U.jsx(mk,_s(Cr({},d),{label:o||"",control:U.jsx(Y6,_s(Cr({},g),{color:g.color||"primary",sx:jpe(Array.isArray(g.sx)?g.sx:[g.sx]).concat([{color:I?"error.main":void 0}]),value:$,checked:!!$,onChange:function(V,ie){B(V,ie),typeof g.onChange=="function"&&g.onChange(V,ie)},inputRef:j}))}))}),F&&U.jsx(TE,{error:!!I,children:F})]})});xje.displayName="CheckboxElement";var Vpe=Y.forwardRef(function(e,t){var n,r=e.name,i=e.required,s=e.valueKey,a=s===void 0?"id":s,o=e.labelKey,l=o===void 0?"label":o,c=e.options,d=c===void 0?[]:c,f=e.parseError,p=e.type,g=e.objectOnChange,b=e.rules,w=b===void 0?{}:b,x=e.control,T=e.inputRef,_=e.transform,C=bd(e,["name","required","valueKey","labelKey","options","parseError","type","objectOnChange","rules","control","inputRef","transform"]),I=wm(),M=f||I,$=!!(!((n=C.SelectProps)===null||n===void 0)&&n.native),B=Cr({},w,i&&!w.required&&{required:"This field is required"}),j=Dp({name:r,rules:B,disabled:C.disabled,control:x}),F=j.field,V=j.fieldState,ie=V.error,se=Ip({value:F.value,onChange:F.onChange,transform:{input:typeof(_==null?void 0:_.input)=="function"?_.input:function(ye){var ae,Se;return(Se=(ae=ye==null?void 0:ye[a])!==null&&ae!==void 0?ae:ye)!==null&&Se!==void 0?Se:""},output:typeof(_==null?void 0:_.output)=="function"?_.output:function(ye){var ae=ye.target.value;return p==="number"&&ae&&(ae=Number(ae)),ae}}}),me=se.value,fe=se.onChange,le=$i(F.ref,T);return p==="number"&&(typeof me>"u"?"undefined":Eje(me))<"u"&&(C.InputLabelProps=C.InputLabelProps||{},C.InputLabelProps.shrink=!0),U.jsxs(A_,_s(Cr({},C),{name:r,value:me,onBlur:F.onBlur,ref:t,onChange:function(ye){if(fe(ye),typeof C.onChange=="function"){var ae=ye.target.value;p==="number"&&ae&&(ae=Number(ae)),g&&(ae=d.find(function(Se){return Se[a]===ae})),C.onChange(ae)}},select:!0,required:i,error:!!ie,helperText:ie?typeof M=="function"?M(ie):ie.message:C.helperText,inputRef:le,children:[$&&U.jsx("option",{}),d.map(function(ye){var ae,Se="".concat(r,"_").concat(ye[a]),he={value:(ae=ye==null?void 0:ye[a])!==null&&ae!==void 0?ae:ye,disabled:Ku(ye,"disabled")?!!ye.disabled:!1,children:ye[l]};return $?U.jsx("option",Cr({},he),Se):U.jsx(oc,Cr({},he),Se)})]}))});Vpe.displayName="SelectElement";var C9=Vpe,Tje=Y.forwardRef(function(e,t){var n=e.helperText,r=e.options,i=e.label,s=e.name,a=e.parseError,o=e.required,l=e.labelKey,c=l===void 0?"label":l,d=e.valueKey,f=d===void 0?"id":d,p=e.returnObject,g=e.disabled,b=e.row,w=e.control,x=e.checkboxColor,T=e.rules,_=e.labelProps,C=e.transform,I=e.defaultValue,M=I===void 0?[]:I,$=bd(e,["helperText","options","label","name","parseError","required","labelKey","valueKey","returnObject","disabled","row","control","checkboxColor","rules","labelProps","transform","defaultValue"]),B=Ap(),j=wm(),F=a||j,V=Dp({name:s,rules:o?{required:"This field is required"}:T,disabled:g,control:w,defaultValue:M}),ie=V.field,se=V.fieldState,me=se.error,fe=se.invalid,le=Ip({value:ie.value,onChange:ie.onChange,transform:{input:typeof(C==null?void 0:C.input)=="function"?C.input:function(re){return Array.isArray(re)?re:[]},output:C==null?void 0:C.output}}),ye=le.value,ae=le.onChange,Se=function(re){var Fe=Ku(re,f)?re[f]:re,je=ye.findIndex(function(tt){var St=Ku(tt,f)?tt[f]:tt;return Fe===St}),ue=(je===-1?jpe(ye).concat([re]):ye.filter(function(tt,St){return je!==St})).map(function(tt){return p||!Ku(tt,f)?tt:tt[f]});ae(ue),typeof $.onChange=="function"&&$.onChange(ue)},he=me?typeof F=="function"?F(me):me.message:n;return U.jsxs(yf,{error:fe,required:o,ref:t,children:[i?U.jsx(Z6,{children:i}):null,U.jsx(qz,{row:b,children:r.map(function(re){var Fe=Ku(re,f)?re[f]:re,je=Ku(re,c)?re[c]:re,ue=ye.some(function(tt){return(Ku(tt,f)?tt[f]:tt)===Fe});return Y.createElement(mk,_s(Cr({},_),{control:U.jsx(Y6,{sx:{color:me?B.palette.error.main:void 0},color:x,value:Fe,checked:ue,disabled:g,onChange:function(){return Se(re)}}),label:"".concat(je),key:"".concat(Fe)}))})}),he&&U.jsx(TE,{children:he})]})});Tje.displayName="CheckboxButtonGroup";var kje=48,_je=8,Aje=Y.forwardRef(function(e,t){var n,r,i,s,a,o=e.options,l=e.label,c=l===void 0?"":l,d=e.itemKey,f=d===void 0?"id":d,p=e.itemValue,g=p===void 0?"":p,b=e.itemLabel,w=b===void 0?"label":b,x=e.required,T=x===void 0?!1:x,_=e.rules,C=_===void 0?{}:_,I=e.parseError,M=e.name,$=e.menuMaxHeight,B=$===void 0?kje*4.5+_je:$,j=e.menuMaxWidth,F=j===void 0?250:j,V=e.minWidth,ie=V===void 0?120:V,se=e.helperText,me=e.showChips,fe=e.preserveOrder,le=e.control,ye=e.showCheckbox,ae=e.formControlProps,Se=e.inputRef,he=e.transform,re=e.inputLabelProps,Fe=bd(e,["options","label","itemKey","itemValue","itemLabel","required","rules","parseError","name","menuMaxHeight","menuMaxWidth","minWidth","helperText","showChips","preserveOrder","control","showCheckbox","formControlProps","inputRef","transform","inputLabelProps"]),je=wm(),ue=I||je,tt=function(Ut){var sn,te;return(te=(sn=o.find(function(de){var we;return((we=de[g||f])!==null&&we!==void 0?we:de)===Ut}))===null||sn===void 0?void 0:sn[w])!==null&&te!==void 0?te:Ut},St=Cr({},C,T&&!C.required&&{required:"This field is required"}),Ze=Dp({name:M,rules:St,disabled:Fe.disabled,control:le}),qt=Ze.field,xt=Ze.fieldState,Nt=xt.error,Ht=Ip({value:qt.value,onChange:qt.onChange,transform:{input:typeof(he==null?void 0:he.input)=="function"?he.input:function(Ut){return Array.isArray(Ut)?Ut:[]},output:he==null?void 0:he.output}}),Jt=Ht.value,Vt=Ht.onChange,en=$i(qt.ref,Se),Ct=Nt?typeof ue=="function"?ue(Nt):Nt.message:se,Xe;return U.jsxs(yf,_s(Cr({},ae),{style:Cr({minWidth:ie},ae==null?void 0:ae.style),variant:Fe.variant,fullWidth:Fe.fullWidth,error:!!Nt,size:Fe.size,ref:t,children:[c&&U.jsx(nde,_s(Cr({},re),{size:Fe.size==="small"?"small":re==null?void 0:re.size,error:!!Nt,htmlFor:Fe.id||"select-multi-select-".concat(M),required:T,children:c})),U.jsx(Gz,_s(Cr({},Fe),{id:Fe.id||"select-multi-select-".concat(M),multiple:!0,label:c||void 0,error:!!Nt,value:Jt,required:T,onChange:Vt,onBlur:qt.onBlur,MenuProps:_s(Cr({},Fe.MenuProps),{slotProps:_s(Cr({},(n=Fe.MenuProps)===null||n===void 0?void 0:n.slotProps),{paper:Cr({},(Xe=(i=Fe.MenuProps)===null||i===void 0||(r=i.slotProps)===null||r===void 0?void 0:r.paper)!==null&&Xe!==void 0?Xe:{style:Cr({maxHeight:B,width:F},Ku((a=Fe.MenuProps)===null||a===void 0||(s=a.slotProps)===null||s===void 0?void 0:s.paper,"style")&&typeof Fe.MenuProps.slotProps.paper.style=="object"&&Cr({},Fe.MenuProps.slotProps.paper.style))})})}),renderValue:typeof Fe.renderValue=="function"?Fe.renderValue:me?function(Ut){return U.jsx("div",{style:{display:"flex",flexWrap:"wrap"},children:(fe?o.filter(function(sn){return Ut.includes(sn)}):Ut||[]).map(function(sn){return U.jsx(Yce,{label:tt(sn),style:{display:"flex",flexWrap:"wrap"},onDelete:function(){Vt((Array.isArray(Jt)?Jt:[]).filter(function(te){return te!==sn}))},deleteIcon:U.jsx(cje,{onMouseDown:function(te){te.stopPropagation()}})},sn)})})}:function(Ut){return Array.isArray(Ut)?Ut.map(tt).join(", "):""},inputRef:en,children:o.map(function(Ut){var sn=Ut[g||f]||Ut,te=Array.isArray(Jt)?Jt.some(function(de){return de===sn}):!1;return U.jsxs(oc,{value:sn,sx:{fontWeight:function(de){return te?de.typography.fontWeightBold:de.typography.fontWeightRegular}},children:[ye&&U.jsx(Y6,{checked:te}),U.jsx(ah,{primary:Ut[w]||Ut})]},sn)})})),Ct&&U.jsx(TE,{error:!!Nt,children:Ct})]}))});Aje.displayName="MultiSelectElement";var Gpe=Y.forwardRef(function(e,t){var n=e.iconColor,r=e.renderIcon,i=r===void 0?function(c){return c?U.jsx(qpe,{}):U.jsx(dje,{})}:r,s=bd(e,["iconColor","renderIcon"]),a=Oje(Y.useState(!0),2),o=a[0],l=a[1];return U.jsx(Y_,_s(Cr({},s),{ref:t,InputProps:{endAdornment:U.jsx(_M,{position:"end",children:U.jsx(Gl,{onMouseDown:function(c){return c.preventDefault()},onClick:function(){return l(!o)},tabIndex:-1,color:n??"default",children:i(o)})})},type:o?"password":"text"}))});Gpe.displayName="PasswordElement";var Cje=Gpe,Rje=Y.forwardRef(function(e,t){var n=e.helperText,r=e.options,i=e.label,s=e.name,a=e.parseError,o=e.labelKey,l=o===void 0?"label":o,c=e.valueKey,d=c===void 0?"id":c,f=e.disabledKey,p=f===void 0?"disabled":f,g=e.required,b=e.emptyOptionLabel,w=e.returnObject,x=e.row,T=e.control,_=e.type,C=e.labelProps,I=e.disabled,M=e.formLabelProps,$=e.transform,B=e.rules,j=B===void 0?{}:B,F=bd(e,["helperText","options","label","name","parseError","labelKey","valueKey","disabledKey","required","emptyOptionLabel","returnObject","row","control","type","labelProps","disabled","formLabelProps","transform","rules"]),V=Ap(),ie=wm(),se=a||ie,me=Cr({},j,g&&!j.required&&{required:"This field is required"}),fe=Dp({name:s,rules:me,disabled:I,control:T}),le=fe.field,ye=fe.fieldState,ae=ye.error,Se=Ip({value:le.value,onChange:le.onChange,transform:{input:typeof($==null?void 0:$.input)=="function"?$.input:function(ue){return ue||""},output:typeof($==null?void 0:$.output)=="function"?$==null?void 0:$.output:function(ue,tt){return tt&&_==="number"?Number(tt):tt}}}),he=Se.value,re=Se.onChange,Fe=ae?typeof se=="function"?se(ae):ae.message:n,je=function(ue,tt){var St=w?r.find(function(Ze){return Ze[d]===tt}):tt;re(ue,St),typeof F.onChange=="function"&&F.onChange(St)};return U.jsxs(yf,{error:!!ae,ref:t,children:[i&&U.jsx(Z6,_s(Cr({},M),{required:g,error:!!ae,children:i})),U.jsxs(L7e,{onChange:je,name:s,row:x,value:he,children:[b&&U.jsx(mk,_s(Cr({},C),{control:U.jsx(vJ,{sx:{color:ae?V.palette.error.main:void 0},checked:!he}),label:b,value:""})),r.map(function(ue){var tt=ue[d],St=ue[p]||!1;tt===void 0&&console.error("RadioButtonGroup: valueKey ".concat(d," does not exist on option"),ue);var Ze=w?he==null?void 0:he[d]:he;_==="number"&&(Ze=Number(Ze));var qt=Ze===tt;return Y.createElement(mk,_s(Cr({},C),{control:U.jsx(vJ,{sx:{color:ae?V.palette.error.main:void 0},disabled:I||St,checked:qt}),value:tt,label:ue[l],key:tt}))})]}),Fe&&U.jsx(TE,{children:Fe})]})});Rje.displayName="RadioButtonGroup";var Ije=Y.forwardRef(function(e,t){var n=e.name,r=e.control,i=e.switchProps,s=e.transform,a=bd(e,["name","control","switchProps","transform"]),o=Dp({name:n,control:r,disabled:a.disabled}),l=o.field,c=Ip({value:l.value,onChange:l.onChange,transform:{input:s==null?void 0:s.input,output:typeof(s==null?void 0:s.output)=="function"?s.output:function(g,b){return b}}}),d=c.value,f=c.onChange,p=$i(l.ref,i==null?void 0:i.ref);return U.jsx(mk,Cr({ref:t,control:U.jsx(_Pe,_s(Cr({},i),{name:l.name,value:d,onChange:function(g,b){f(g,b),typeof(i==null?void 0:i.onChange)=="function"&&i.onChange(g,b)},onBlur:function(g){l.onBlur(),typeof(i==null?void 0:i.onBlur)=="function"&&(i==null||i.onBlur(g))},ref:p,checked:!!d}))},a))});Ije.displayName="SwitchElement";var Dje=Y.forwardRef(function(e,t){var n=e.passwordFieldName,r=e.customInvalidFieldMessage,i=e.control,s=bd(e,["passwordFieldName","customInvalidFieldMessage","control"]),a=Lpe({name:n,control:i});return U.jsx(Cje,_s(Cr({control:i},s),{ref:t,rules:{validate:function(o){return o===a||(r??"Password should match")}}}))});Dje.displayName="PasswordRepeatElement";var Nje=Y.forwardRef(function(e,t){var n=e.textFieldProps,r=e.autocompleteProps,i=e.name,s=e.control,a=e.options,o=e.loading,l=e.showCheckbox,c=e.rules,d=e.loadingIndicator,f=e.required,p=e.multiple,g=e.label,b=e.parseError,w=e.transform,x=e.matchId,T=wm(),_=b||T,C=Cr({},c,f&&{required:(c==null?void 0:c.required)||"This field is required"}),I=Dp({name:i,control:s,disabled:r==null?void 0:r.disabled,rules:C}),M=I.field,$=I.fieldState,B=$.error,j=function(ae){return typeof(r==null?void 0:r.getOptionLabel)=="function"?r.getOptionLabel(ae):Ku(ae,"label")?"".concat(ae==null?void 0:ae.label):"".concat(ae)},F=function(ae,Se){if(typeof(r==null?void 0:r.isOptionEqualToValue)=="function")return r.isOptionEqualToValue(ae,Se);var he=Ku(ae,"id")?ae.id:ae,re=Ku(Se,"id")?Se.id:Se;return he===re},V=function(ae){return a.find(function(Se){return x&&Ku(Se,"id")?Se.id===ae:F(Se,ae)})},ie=Ip({value:M.value,onChange:M.onChange,transform:{input:typeof(w==null?void 0:w.input)=="function"?w.input:function(ae){var Se;return p?(Array.isArray(ae)?ae:[]).map(V):(Se=V(ae))!==null&&Se!==void 0?Se:null},output:typeof(w==null?void 0:w.output)=="function"?w.output:function(ae,Se){if(p){var he=Array.isArray(Se)?Se:[];return x?he.map(function(re){return Ku(re,"id")?re.id:re}):he}return x&&Ku(Se,"id")?Se.id:Se}}}),se=ie.value,me=ie.onChange,fe=$i(M.ref,n==null?void 0:n.inputRef),le=d||U.jsx(dh,{color:"inherit",size:20}),ye;return U.jsx(KIe,_s(Cr({},r),{value:se,loading:o,multiple:p,options:a,disableCloseOnSelect:typeof(r==null?void 0:r.disableCloseOnSelect)=="boolean"?r.disableCloseOnSelect:!!p,isOptionEqualToValue:F,getOptionLabel:j,onChange:function(ae,Se,he,re){me(ae,Se,he,re),r!=null&&r.onChange&&r.onChange(ae,Se,he,re)},ref:t,renderOption:(ye=r==null?void 0:r.renderOption)!==null&&ye!==void 0?ye:l?function(ae,Se,he){var re=he.selected;return U.jsxs("li",_s(Cr({},ae),{children:[U.jsx(Y6,{sx:{marginRight:1},checked:re}),j(Se)]}))}:void 0,onBlur:function(ae){M.onBlur(),typeof(r==null?void 0:r.onBlur)=="function"&&r.onBlur(ae)},renderInput:function(ae){return U.jsx(A_,_s(Cr({name:i,required:c!=null&&c.required?!0:f,label:g},n,ae),{error:!!B,InputLabelProps:Cr({},ae.InputLabelProps,n==null?void 0:n.InputLabelProps),InputProps:Cr(_s(Cr({},ae.InputProps),{endAdornment:U.jsxs(U.Fragment,{children:[o?le:null,ae.InputProps.endAdornment]})}),n==null?void 0:n.InputProps),inputProps:Cr({},ae.inputProps,n==null?void 0:n.inputProps),helperText:B?typeof _=="function"?_(B):B.message:n==null?void 0:n.helperText,inputRef:fe}))}}))});Nje.displayName="AutocompleteElement";var Pje=Y.forwardRef(function(e,t){var n=e.name,r=e.control,i=e.label,s=e.rules,a=s===void 0?{}:s,o=e.parseError,l=e.required,c=e.formControlProps,d=e.transform,f=bd(e,["name","control","label","rules","parseError","required","formControlProps","transform"]),p=wm(),g=o||p,b=Cr({},a,l&&!a.required&&{required:"This field is required"}),w=Dp({name:n,control:r,disabled:f.disabled,rules:b}),x=w.field,T=w.fieldState,_=T.error,C=T.invalid,I=Ip({value:x.value,onChange:x.onChange,transform:d}),M=I.value,$=I.onChange,B=_?typeof g=="function"?g(_):_.message:null;return U.jsxs(yf,_s(Cr({error:C,required:l,fullWidth:!0},c),{ref:t,children:[i&&U.jsx(Z6,{component:"legend",error:C,children:i}),U.jsx(pPe,_s(Cr({},f),{value:M,onChange:$,valueLabelDisplay:f.valueLabelDisplay||"auto"})),B&&U.jsx(TE,{error:C,children:B})]}))});Pje.displayName="SliderElement";var Lje=Y.forwardRef(function(e,t){var n=e.rules,r=n===void 0?{}:n,i=e.parseError,s=e.required,a=e.name,o=e.control,l=e.rows,c=e.resizeStyle,d=e.inputRef,f=e.inputProps,p=e.transform,g=bd(e,["rules","parseError","required","name","control","rows","resizeStyle","inputRef","inputProps","transform"]),b=wm(),w=i||b,x=Cr({},r,s&&!r.required&&{required:"This field is required"}),T=Dp({name:a,control:o,rules:x,disabled:g.disabled}),_=T.field,C=T.fieldState,I=C.error,M=Ip({value:_.value,onChange:_.onChange,transform:{input:typeof(p==null?void 0:p.input)=="function"?p.input:function(F){return F??""},output:typeof(p==null?void 0:p.output)=="function"?p.output:function(F){return F.target.value}}}),$=M.value,B=M.onChange,j=$i(_.ref,d);return U.jsx(A_,_s(Cr({},g),{name:a,value:$,onChange:function(F){B(F),typeof g.onChange=="function"&&g.onChange(F)},onBlur:_.onBlur,required:s,error:!!I,helperText:I?typeof w=="function"?w(I):I.message:g.helperText,inputRef:j,multiline:!0,InputProps:{inputComponent:Zce,inputProps:Cr({minRows:l,style:{resize:c||"both"}},f||{})},ref:t}))});Lje.displayName="TextareaAutosizeElement";const Mje=e=>["check","name-conflict",e],WH=e=>PE({queryKey:Mje(e||""),enabled:!!e,queryFn:async()=>(await kr.post("/check/name-conflict",{name:e})).data});function Fje(e,t){var n=Y.useRef(!1),r=Y.useRef(),i=Y.useRef(e),s=Y.useCallback(function(){return n.current},[]),a=Y.useCallback(function(){n.current=!1,r.current&&clearTimeout(r.current),r.current=setTimeout(function(){n.current=!0,i.current()},t)},[t]),o=Y.useCallback(function(){n.current=null,r.current&&clearTimeout(r.current)},[]);return Y.useEffect(function(){i.current=e},[e]),Y.useEffect(function(){return a(),o},[t]),[s,o,a]}function ED(e,t,n){n===void 0&&(n=[]);var r=Fje(e,t),i=r[0],s=r[1],a=r[2];return Y.useEffect(a,n),[i,s]}function $je(e){const[t,n]=Y.useState(""),[r,i]=Y.useState(""),{data:s}=WH(r),{mutateAsync:a}=xpe(),o=Y.useMemo(()=>s!=null&&s.conflict?"Already Exists":null,[s==null?void 0:s.conflict]);ED(()=>{i(t)},500,[t]);const l=d=>{n(d.target.value)},c=async d=>{await a(d)};return U.jsx(xE,{disableAutoFocus:!0,...e,children:U.jsx(Ko,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",p:4,width:400},children:U.jsxs(Rr,{gap:4,children:[U.jsx(fi,{variant:"h5",children:"Create Your Nickname"}),U.jsx(yf,{children:U.jsx(BE,{defaultValues:{nickname:""},onSuccess:c,children:U.jsxs(Rr,{gap:4,alignItems:"flex-end",children:[U.jsx(Y_,{variant:"standard",name:"nickname",label:"Enter your nickname",required:!0,fullWidth:!0,inputProps:{maxLength:255},onChange:l,error:!!o,helperText:o}),U.jsx(yl,{type:"submit",variant:"contained",size:"large",disabled:!!o,children:"OK"})]})})})]})})})}function Bje(e){const{children:t}=e,{data:n,isSuccess:r,isLoading:i}=qqe(),s=Y.useMemo(()=>r&&!n.nickname,[r,n==null?void 0:n.nickname]);return U.jsx($H.Provider,{value:{isLoggedIn:r,isLoading:i},children:s?U.jsx($je,{open:!0}):t})}function Uje(){const e=Ghe();return U.jsx(Rr,{width:1,height:"100vh",alignItems:"center",justifyContent:"center",children:U.jsxs(Rr,{alignItems:"center",children:[U.jsx(fi,{variant:"h5",children:"Something went wrong"}),H_(e)&&U.jsxs(fi,{variant:"subtitle1",children:["Status Code: ",e.status]})]})})}const zje=e=>{var s;const{children:t}=e,{isLoggedIn:n}=Y.useContext($H),r=T1(),i=ei($E);return n?U.jsx(CH,{to:`/${(s=i.data)==null?void 0:s.lastWorkspaceSlug}`,state:{from:r},replace:!0}):t},Hje=e=>{const{children:t}=e,{isLoggedIn:n,isLoading:r}=Y.useContext($H),i=T1();return r?U.jsx(wE,{open:!0,children:U.jsx(dh,{color:"inherit"})}):n?t:U.jsx(CH,{to:"/",state:{from:i},replace:!0})},qje=pi(U.jsx("path",{d:"M17.77 3.77 16 2 6 12l10 10 1.77-1.77L9.54 12z"}),"ArrowBackIosNew"),jje=pi(U.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit"),Wje=pi(U.jsx("path",{d:"M3 15h8v-2H3zm0 4h8v-2H3zm0-8h8V9H3zm0-6v2h8V5zm10 0h8v14h-8z"}),"VerticalSplit"),Qje=e=>{const[t,n]=Y.useState([]);return Y.useEffect(()=>{if(!e)return;const r=()=>n(e.getPresences()??[]);r();const i=e.subscribe("others",s=>{(s.type==="presence-changed"||s.type==="watched")&&r(),s.type==="unwatched"&&n(a=>a.filter(o=>o.clientID!==s.value.clientID))});return()=>{i(),n([])}},[e]),{presenceList:t}};var JS=(e=>(e.EDIT="edit",e.BOTH="both",e.READ="read",e))(JS||{});const Vje={mode:"both",shareRole:null,doc:null,client:null,cmView:null},Ype=Ny({name:"editor",initialState:Vje,reducers:{setMode:(e,t)=>{e.mode=t.payload},setShareRole:(e,t)=>{e.shareRole=t.payload},setDoc:(e,t)=>{e.doc=t.payload},setClient:(e,t)=>{e.client=t.payload},setCmView:(e,t)=>{Object.assign(e,{cmView:t.payload})}}}),{setMode:R9,setShareRole:Gje,setDoc:L5,setClient:M5,setCmView:Yje}=Ype.actions,xm=e=>e.editor,Zje=Ype.reducer,Xje={data:null},Zpe=Ny({name:"workspace",initialState:Xje,reducers:{setWorkspaceData:(e,t)=>{e.data=t.payload}}}),{setWorkspaceData:qte}=Zpe.actions,wD=e=>e.workspace,Kje=Zpe.reducer;var eE=(e=>(e.READ="READ",e.EDIT="EDIT",e))(eE||{});const Jje=pi([U.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},"0"),U.jsx("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")],"AccessTime"),QH=pi(U.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add"),eWe=pi(U.jsx("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check"),VH=pi(U.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),GH=pi(U.jsx("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"}),"ContentCopy"),Xpe=pi(U.jsx("path",{d:"M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1"}),"DarkMode"),tWe=pi(U.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown"),nWe=pi(U.jsx("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp"),rWe=pi([U.jsx("path",{d:"M17.59 18 19 16.59 14.42 12 19 7.41 17.59 6l-6 6z"},"0"),U.jsx("path",{d:"m11 18 1.41-1.41L7.83 12l4.58-4.59L11 6l-6 6z"},"1")],"KeyboardDoubleArrowLeft"),iWe=pi([U.jsx("path",{d:"M6.41 6 5 7.41 9.58 12 5 16.59 6.41 18l6-6z"},"0"),U.jsx("path",{d:"m13 6-1.41 1.41L16.17 12l-4.58 4.59L13 18l6-6z"},"1")],"KeyboardDoubleArrowRight"),Kpe=pi(U.jsx("path",{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z"}),"LightMode"),sWe=pi(U.jsx("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"}),"Logout"),aWe=pi([U.jsx("circle",{cx:"10",cy:"8",r:"4"},"0"),U.jsx("path",{d:"M10.67 13.02c-.22-.01-.44-.02-.67-.02-2.42 0-4.68.67-6.61 1.82-.88.52-1.39 1.5-1.39 2.53V20h9.26c-.79-1.13-1.26-2.51-1.26-4 0-1.07.25-2.07.67-2.98M20.75 16c0-.22-.03-.42-.06-.63l1.14-1.01-1-1.73-1.45.49q-.48-.405-1.08-.63L18 11h-2l-.3 1.49q-.6.225-1.08.63l-1.45-.49-1 1.73 1.14 1.01c-.03.21-.06.41-.06.63s.03.42.06.63l-1.14 1.01 1 1.73 1.45-.49q.48.405 1.08.63L16 21h2l.3-1.49q.6-.225 1.08-.63l1.45.49 1-1.73-1.14-1.01c.03-.21.06-.41.06-.63M17 18c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"},"1")],"ManageAccounts"),oWe=pi(U.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreVert"),lWe=pi(U.jsx("path",{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5s-3 1.34-3 3 1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"}),"People"),uWe=pi(U.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"Refresh"),cWe=pi(U.jsx("path",{d:"M19 12v7H5v-7H3v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7zm-6 .67 2.59-2.58L17 11.5l-5 5-5-5 1.41-1.41L11 12.67V3h2z"}),"SaveAlt"),dWe=pi(U.jsx("path",{d:"M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"}),"Send"),fWe=pi(U.jsx("path",{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92s2.92-1.31 2.92-2.92-1.31-2.92-2.92-2.92"}),"Share"),hWe=pi(U.jsx("path",{d:"M11 21H5c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h6zm2 0h6c1.1 0 2-.9 2-2v-7h-8zm8-11V5c0-1.1-.9-2-2-2h-6v7z"}),"SpaceDashboard"),pWe=pi(U.jsx("path",{d:"M17 7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h10c2.76 0 5-2.24 5-5s-2.24-5-5-5M7 15c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3"}),"ToggleOff"),mWe=pi(U.jsx("path",{d:"M17 7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h10c2.76 0 5-2.24 5-5s-2.24-5-5-5m0 8c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3"}),"ToggleOn"),gWe={data:null},Jpe=Ny({name:"document",initialState:gWe,reducers:{setDocumentData:(e,t)=>{e.data=t.payload}}}),{setDocumentData:F5}=Jpe.actions,Z_=e=>e.document,bWe=Jpe.reducer,yWe=()=>Rp({mutationFn:async e=>(await kr.post("/files",e)).data}),vWe=()=>Rp({mutationFn:async e=>kr.put(e.url,new Blob([e.file]),{headers:{Authorization:void 0,"Content-Type":e.file.type}})}),SWe=()=>Rp({mutationFn:async e=>{const{exportType:t,content:n,fileName:r}=e;return await kr.post("/files/export-markdown",{exportType:t,content:n,fileName:r},{responseType:"blob",headers:{Accept:"application/octet-stream"}})}}),OWe=()=>{const{enqueueSnackbar:e}=FE(),t=ei(xm),n=ei(Z_),r=SWe(),i=Y.useCallback(async l=>{var c,d,f;try{const p=((d=(c=t.doc)==null?void 0:c.getRoot().content)==null?void 0:d.toString())||"",g=((f=n.data)==null?void 0:f.title)||"codepair_document";e(`${l.toUpperCase()} file export started`,{variant:"info"});const b=await r.mutateAsync({exportType:l,content:p,fileName:g}),w=b.headers["content-disposition"],x=w==null?void 0:w.match(/filename="?(.+)"?\s*$/i),T=x?x[1]:`${g}.${l}`,_=new Blob([b.data],{type:b.headers["content-type"]}),C=window.URL.createObjectURL(_),I=document.createElement("a");I.href=C,I.setAttribute("download",T),document.body.appendChild(I),I.click(),document.body.removeChild(I),window.URL.revokeObjectURL(C),e(`${l.toUpperCase()} file exported successfully`,{variant:"success"})}catch(p){console.error("Error:",p),e(`Failed to export ${l.toUpperCase()} file`,{variant:"error"})}},[t,n,e,r]);return{handleExportToPDF:()=>i("pdf"),handleExportToHTML:()=>i("html"),handleExportToMarkdown:()=>i("markdown")}};function EWe(){const[e,t]=Y.useState(null),n=o=>{t(o.currentTarget)},r=()=>{t(null)},{handleExportToPDF:i,handleExportToHTML:s,handleExportToMarkdown:a}=OWe();return U.jsxs(Ko,{children:[U.jsx(Gl,{"aria-controls":"download-menu","aria-haspopup":"true",onClick:n,children:U.jsx(cWe,{})}),U.jsxs(Wz,{id:"download-menu",anchorEl:e,keepMounted:!0,open:!!e,onClose:r,children:[U.jsx(oc,{onClick:i,children:"Download as PDF"}),U.jsx(oc,{onClick:s,children:"Download as HTML"}),U.jsx(oc,{onClick:a,children:"Download as Markdown"})]})]})}const eO=["No Limit","30 minutes","1 hour","8 hours","24 hours","7 days"];//! moment.js + 13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z`}))},Oqe=function(){return Dn.createElement(SD,null,Dn.createElement("path",{d:`M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, + 0 22,12A10,10 0 0,0 12,2Z`}))},Eqe={default:void 0,success:Dn.createElement(yqe,null),warning:Dn.createElement(vqe,null),error:Dn.createElement(Sqe,null),info:Dn.createElement(Oqe,null)},Vb={maxSnack:3,persist:!1,hideIconVariant:!1,disableWindowBlurListener:!1,variant:"default",autoHideDuration:5e3,iconVariant:Eqe,anchorOrigin:{vertical:"bottom",horizontal:"left"},TransitionComponent:gpe,transitionDuration:{enter:225,exit:195}},wqe=function(t,n){var r=function(s){return typeof s=="number"||s===null};return r(t)?t:r(n)?n:Vb.autoHideDuration},xqe=function(t,n){var r=function(s,a){return a.some(function(o){return typeof s===o})};return r(t,["string","number"])?t:r(t,["object"])?ms({},Vb.transitionDuration,{},r(n,["object"])&&n,{},t):r(n,["string","number"])?n:r(n,["object"])?ms({},Vb.transitionDuration,{},n):Vb.transitionDuration},Tqe=function(t,n){return function(r,i){return i===void 0&&(i=!1),i?ms({},Vb[r],{},n[r],{},t[r]):r==="autoHideDuration"?wqe(t.autoHideDuration,n.autoHideDuration):r==="transitionDuration"?xqe(t.transitionDuration,n.transitionDuration):t[r]||n[r]||Vb[r]}};function Q_(e){return Object.entries(e).reduce(function(t,n){var r,i=n[0],s=n[1];return ms({},t,(r={},r[i]=LH(s),r))},{})}var JO={SnackbarContainer:"notistack-SnackbarContainer",Snackbar:"notistack-Snackbar",CollapseWrapper:"notistack-CollapseWrapper",MuiContent:"notistack-MuiContent",MuiContentVariant:function(t){return"notistack-MuiContent-"+t}},_te=Q_({root:{height:0},entered:{height:"auto"}}),TP="0px",kP=175,bpe=Y.forwardRef(function(e,t){var n=e.children,r=e.in,i=e.onExited,s=Y.useRef(null),a=Y.useRef(null),o=x9(t,a),l=function(){return s.current?s.current.clientHeight:0},c=function(w){w.style.height=TP},d=function(w){var x=l(),T=C5({timeout:kP,mode:"enter"}),_=T.duration,C=T.easing;w.style.transitionDuration=typeof _=="string"?_:_+"ms",w.style.height=x+"px",w.style.transitionTimingFunction=C||""},f=function(w){w.style.height="auto"},p=function(w){w.style.height=l()+"px"},g=function(w){ppe(w);var x=C5({timeout:kP,mode:"exit"}),T=x.duration,_=x.easing;w.style.transitionDuration=typeof T=="string"?T:T+"ms",w.style.height=TP,w.style.transitionTimingFunction=_||""};return Y.createElement(FH,{in:r,unmountOnExit:!0,onEnter:c,onEntered:f,onEntering:d,onExit:p,onExited:i,onExiting:g,nodeRef:a,timeout:kP},function(b,w){return Y.createElement("div",Object.assign({ref:o,className:Py(_te.root,b==="entered"&&_te.entered),style:ms({pointerEvents:"all",overflow:"hidden",minHeight:TP,transition:NS("height")},b==="entered"&&{overflow:"visible"},{},b==="exited"&&!r&&{visibility:"hidden"})},w),Y.createElement("div",{ref:s,className:JO.CollapseWrapper,style:{display:"flex",width:"100%"}},n))})});bpe.displayName="Collapse";var Ate={right:"left",left:"right",bottom:"up",top:"down"},kqe=function(t){return t.horizontal!=="center"?Ate[t.horizontal]:Ate[t.vertical]},_qe=function(t){return"anchorOrigin"+MH(t)},Aqe=function(t){t===void 0&&(t={});var n={containerRoot:!0,containerAnchorOriginTopCenter:!0,containerAnchorOriginBottomCenter:!0,containerAnchorOriginTopRight:!0,containerAnchorOriginBottomRight:!0,containerAnchorOriginTopLeft:!0,containerAnchorOriginBottomLeft:!0};return Object.keys(t).filter(function(r){return!n[r]}).reduce(function(r,i){var s;return ms({},r,(s={},s[i]=t[i],s))},{})},Cqe=function(){};function ST(e,t){return e.reduce(function(n,r){return r==null?n:function(){for(var s=arguments.length,a=new Array(s),o=0;o-1,C=x.snacks.findIndex(T)>-1;if(_||C)return x}return i.handleDisplaySnack(ms({},x,{queue:[].concat(x.queue,[w])}))}),g},i.handleDisplaySnack=function(s){var a=s.snacks;return a.length>=i.maxSnack?i.handleDismissOldest(s):i.processQueue(s)},i.processQueue=function(s){var a=s.queue,o=s.snacks;return a.length>0?ms({},s,{snacks:[].concat(o,[a[0]]),queue:a.slice(1,a.length)}):s},i.handleDismissOldest=function(s){if(s.snacks.some(function(d){return!d.open||d.requestClose}))return s;var a=!1,o=!1,l=s.snacks.reduce(function(d,f){return d+(f.open&&f.persist?1:0)},0);l===i.maxSnack&&(o=!0);var c=s.snacks.map(function(d){return!a&&(!d.persist||o)?(a=!0,d.entered?(d.onClose&&d.onClose(null,"maxsnack",d.id),i.props.onClose&&i.props.onClose(null,"maxsnack",d.id),ms({},d,{open:!1})):ms({},d,{requestClose:!0})):ms({},d)});return ms({},s,{snacks:c})},i.handleEnteredSnack=function(s,a,o){if(!O4(o))throw new Error("handleEnteredSnack Cannot be called with undefined key");i.setState(function(l){var c=l.snacks;return{snacks:c.map(function(d){return d.id===o?ms({},d,{entered:!0}):ms({},d)})}})},i.handleCloseSnack=function(s,a,o){i.props.onClose&&i.props.onClose(s,a,o);var l=o===void 0;i.setState(function(c){var d=c.snacks,f=c.queue;return{snacks:d.map(function(p){return!l&&p.id!==o?ms({},p):p.entered?ms({},p,{open:!1}):ms({},p,{requestClose:!0})}),queue:f.filter(function(p){return p.id!==o})}})},i.closeSnackbar=function(s){var a=i.state.snacks.find(function(o){return o.id===s});O4(s)&&a&&a.onClose&&a.onClose(null,"instructed",s),i.handleCloseSnack(null,"instructed",s)},i.handleExitedSnack=function(s,a){if(!O4(a))throw new Error("handleExitedSnack Cannot be called with undefined key");i.setState(function(o){var l=i.processQueue(ms({},o,{snacks:o.snacks.filter(function(c){return c.id!==a})}));return l.queue.length===0?l:i.handleDismissOldest(l)})},i.enqueueSnackbar,i.closeSnackbar,i.state={snacks:[],queue:[],contextValue:{enqueueSnackbar:i.enqueueSnackbar.bind(Ote(i)),closeSnackbar:i.closeSnackbar.bind(Ote(i))}},i}var n=t.prototype;return n.render=function(){var i=this,s=this.state.contextValue,a=this.props,o=a.domRoot,l=a.children,c=a.dense,d=c===void 0?!1:c,f=a.Components,p=f===void 0?{}:f,g=a.classes,b=this.state.snacks.reduce(function(x,T){var _,C=MH(T.anchorOrigin),I=x[C]||[];return ms({},x,(_={},_[C]=[].concat(I,[T]),_))},{}),w=Object.keys(b).map(function(x){var T=b[x],_=T[0];return Dn.createElement(Mqe,{key:x,dense:d,anchorOrigin:_.anchorOrigin,classes:g},T.map(function(C){return Dn.createElement(Pqe,{key:C.id,snack:C,classes:g,Component:p[C.variant],onClose:i.handleCloseSnack,onEnter:i.props.onEnter,onExit:i.props.onExit,onExited:ST([i.handleExitedSnack,i.props.onExited],C.id),onEntered:ST([i.handleEnteredSnack,i.props.onEntered],C.id)})}))});return Dn.createElement(hpe.Provider,{value:s},l,o?yE.createPortal(w,o):w)},dpe(t,[{key:"maxSnack",get:function(){return this.props.maxSnack||Vb.maxSnack}}]),t}(Y.Component),FE=function(){return Y.useContext(hpe)};function $qe(){const{enqueueSnackbar:e}=FE();return Y.useCallback(n=>{var r;e(((r=n.response)==null?void 0:r.data.message)||n.message||"Something went wrong...",{variant:"error"})},[e])}const $H=Dn.createContext({isLoading:!0,isLoggedIn:!1}),Bqe={accessToken:null,refreshToken:null},Ope=Ny({name:"auth",initialState:Bqe,reducers:{setAccessToken:(e,t)=>{e.accessToken=t.payload},setRefreshToken(e,t){e.refreshToken=t.payload},logout:e=>{e.accessToken=null,e.refreshToken=null,kr.defaults.headers.common.Authorization=""}}}),{setAccessToken:Epe,setRefreshToken:Uqe,logout:k9}=Ope.actions,V_=e=>e.auth,zqe=Ope.reducer,Hqe={data:null},wpe=Ny({name:"user",initialState:Hqe,reducers:{setUserData:(e,t)=>{e.data=t.payload}}}),{setUserData:Q3}=wpe.actions,$E=e=>e.user,qqe=wpe.reducer,xpe=e=>["users",e],jqe=()=>{const e=gc(),t=ei(V_),[n,r]=Y.useState(!1);Y.useEffect(()=>{const s=kr.interceptors.response.use(a=>a,async a=>{var o;if(((o=a.response)==null?void 0:o.status)===401&&!a.config._retry){if(a.config.url==="/auth/refresh")return e(k9()),e(Q3(null)),Promise.reject(a);{a.config._retry=!0;const{refreshToken:l}=t,d=(await kr.post("/auth/refresh",{refreshToken:l})).data.newAccessToken;return e(Epe(d)),kr.defaults.headers.common.Authorization=`Bearer ${d}`,a.config.headers.Authorization=`Bearer ${d}`,kr(a.config)}}return Promise.reject(a)});return r(!0),()=>{r(!1),kr.interceptors.response.eject(s)}},[t,e]);const i=PE({queryKey:xpe(t.accessToken||""),enabled:!!(n&&t.accessToken),queryFn:async()=>(kr.defaults.headers.common.Authorization=`Bearer ${t.accessToken}`,(await kr.get("/users")).data)});return Y.useEffect(()=>{i.isSuccess?e(Q3(i.data)):i.isError&&(e(k9()),e(Q3(null)),kr.defaults.headers.common.Authorization="")},[e,i.data,i.isError,i.isSuccess]),{...i,isLoading:i.isLoading||!n}},Tpe=()=>{const e=ei(V_),t=NE();return Rp({mutationFn:async n=>(await kr.put("/users",n)).data,onSuccess:()=>{t.invalidateQueries({queryKey:xpe(e.accessToken||"")})}})};function _9(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.type==="checkbox",PS=e=>e instanceof Date,gu=e=>e==null;const kpe=e=>typeof e=="object";var po=e=>!gu(e)&&!Array.isArray(e)&&kpe(e)&&!PS(e),_pe=e=>po(e)&&e.target?G_(e.target)?e.target.checked:e.target.value:e,Zqe=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,Ape=(e,t)=>e.has(Zqe(t)),Xqe=e=>{const t=e.constructor&&e.constructor.prototype;return po(t)&&t.hasOwnProperty("isPrototypeOf")},BH=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Wu(e){let t;const n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(BH&&(e instanceof Blob||e instanceof FileList))&&(n||po(e)))if(t=n?[]:{},!n&&!Xqe(e))t=e;else for(const r in e)e.hasOwnProperty(r)&&(t[r]=Wu(e[r]));else return e;return t}var OD=e=>Array.isArray(e)?e.filter(Boolean):[],$a=e=>e===void 0,En=(e,t,n)=>{if(!t||!po(e))return n;const r=OD(t.split(/[,[\].]+?/)).reduce((i,s)=>gu(i)?i:i[s],e);return $a(r)||r===e?$a(e[t])?n:e[t]:r},jd=e=>typeof e=="boolean",UH=e=>/^\w*$/.test(e),Cpe=e=>OD(e.replace(/["|']|\]/g,"").split(/\.|\[/)),Ts=(e,t,n)=>{let r=-1;const i=UH(t)?[t]:Cpe(t),s=i.length,a=s-1;for(;++rDn.useContext(Rpe),Ipe=e=>{const{children:t,...n}=e;return Dn.createElement(Rpe.Provider,{value:n},t)};var Dpe=(e,t,n,r=!0)=>{const i={defaultValues:t._defaultValues};for(const s in e)Object.defineProperty(i,s,{get:()=>{const a=s;return t._proxyFormState[a]!==th.all&&(t._proxyFormState[a]=!r||th.all),n&&(n[a]=!0),e[a]}});return i},Zu=e=>po(e)&&!Object.keys(e).length,Npe=(e,t,n,r)=>{n(e);const{name:i,...s}=e;return Zu(s)||Object.keys(s).length>=Object.keys(t).length||Object.keys(s).find(a=>t[a]===(!r||th.all))},OT=e=>Array.isArray(e)?e:[e],Ppe=(e,t,n)=>!e||!t||e===t||OT(e).some(r=>r&&(n?r===t:r.startsWith(t)||t.startsWith(r)));function HH(e){const t=Dn.useRef(e);t.current=e,Dn.useEffect(()=>{const n=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{n&&n.unsubscribe()}},[e.disabled])}function Kqe(e){const t=zH(),{control:n=t.control,disabled:r,name:i,exact:s}=e||{},[a,o]=Dn.useState(n._formState),l=Dn.useRef(!0),c=Dn.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),d=Dn.useRef(i);return d.current=i,HH({disabled:r,next:f=>l.current&&Ppe(d.current,f.name,s)&&Npe(f,c.current,n._updateFormState)&&o({...n._formState,...f}),subject:n._subjects.state}),Dn.useEffect(()=>(l.current=!0,c.current.isValid&&n._updateValid(!0),()=>{l.current=!1}),[n]),Dpe(a,n,c.current,!1)}var fp=e=>typeof e=="string",Lpe=(e,t,n,r,i)=>fp(e)?(r&&t.watch.add(e),En(n,e,i)):Array.isArray(e)?e.map(s=>(r&&t.watch.add(s),En(n,s))):(r&&(t.watchAll=!0),n);function Mpe(e){const t=zH(),{control:n=t.control,name:r,defaultValue:i,disabled:s,exact:a}=e||{},o=Dn.useRef(r);o.current=r,HH({disabled:s,subject:n._subjects.values,next:d=>{Ppe(o.current,d.name,a)&&c(Wu(Lpe(o.current,n._names,d.values||n._formValues,!1,i)))}});const[l,c]=Dn.useState(n._getWatch(r,i));return Dn.useEffect(()=>n._removeUnmounted()),l}function Dp(e){const t=zH(),{name:n,disabled:r,control:i=t.control,shouldUnregister:s}=e,a=Ape(i._names.array,n),o=Mpe({control:i,name:n,defaultValue:En(i._formValues,n,En(i._defaultValues,n,e.defaultValue)),exact:!0}),l=Kqe({control:i,name:n,exact:!0}),c=Dn.useRef(i.register(n,{...e.rules,value:o,...jd(e.disabled)?{disabled:e.disabled}:{}}));return Dn.useEffect(()=>{const d=i._options.shouldUnregister||s,f=(p,g)=>{const b=En(i._fields,p);b&&b._f&&(b._f.mount=g)};if(f(n,!0),d){const p=Wu(En(i._options.defaultValues,n));Ts(i._defaultValues,n,p),$a(En(i._formValues,n))&&Ts(i._formValues,n,p)}return()=>{(a?d&&!i._state.action:d)?i.unregister(n):f(n,!1)}},[n,i,a,s]),Dn.useEffect(()=>{En(i._fields,n)&&i._updateDisabledField({disabled:r,fields:i._fields,name:n,value:En(i._fields,n)._f.value})},[r,n,i]),{field:{name:n,value:o,...jd(r)||l.disabled?{disabled:l.disabled||r}:{},onChange:Dn.useCallback(d=>c.current.onChange({target:{value:_pe(d),name:n},type:R5.CHANGE}),[n]),onBlur:Dn.useCallback(()=>c.current.onBlur({target:{value:En(i._formValues,n),name:n},type:R5.BLUR}),[n,i]),ref:Dn.useCallback(d=>{const f=En(i._fields,n);f&&d&&(f._f.ref={focus:()=>d.focus(),select:()=>d.select(),setCustomValidity:p=>d.setCustomValidity(p),reportValidity:()=>d.reportValidity()})},[i._fields,n])},formState:l,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!En(l.errors,n)},isDirty:{enumerable:!0,get:()=>!!En(l.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!En(l.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!En(l.validatingFields,n)},error:{enumerable:!0,get:()=>En(l.errors,n)}})}}var Jqe=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},Pte=e=>({isOnSubmit:!e||e===th.onSubmit,isOnBlur:e===th.onBlur,isOnChange:e===th.onChange,isOnAll:e===th.all,isOnTouch:e===th.onTouched}),Lte=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(r=>e.startsWith(r)&&/^\.\w+/.test(e.slice(r.length))));const ET=(e,t,n,r)=>{for(const i of n||Object.keys(e)){const s=En(e,i);if(s){const{_f:a,...o}=s;if(a){if(a.refs&&a.refs[0]&&t(a.refs[0],i)&&!r)return!0;if(a.ref&&t(a.ref,a.name)&&!r)return!0;if(ET(o,t))break}else if(po(o)&&ET(o,t))break}}};var eje=(e,t,n)=>{const r=OT(En(e,n));return Ts(r,"root",t[n]),Ts(e,n,r),e},qH=e=>e.type==="file",V0=e=>typeof e=="function",I5=e=>{if(!BH)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},V3=e=>fp(e),jH=e=>e.type==="radio",D5=e=>e instanceof RegExp;const Mte={value:!1,isValid:!1},Fte={value:!0,isValid:!0};var Fpe=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(n=>n&&n.checked&&!n.disabled).map(n=>n.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!$a(e[0].attributes.value)?$a(e[0].value)||e[0].value===""?Fte:{value:e[0].value,isValid:!0}:Fte:Mte}return Mte};const $te={isValid:!1,value:null};var $pe=e=>Array.isArray(e)?e.reduce((t,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:t,$te):$te;function Bte(e,t,n="validate"){if(V3(e)||Array.isArray(e)&&e.every(V3)||jd(e)&&!e)return{type:n,message:V3(e)?e:"",ref:t}}var Gv=e=>po(e)&&!D5(e)?e:{value:e,message:""},Ute=async(e,t,n,r,i)=>{const{ref:s,refs:a,required:o,maxLength:l,minLength:c,min:d,max:f,pattern:p,validate:g,name:b,valueAsNumber:w,mount:x,disabled:T}=e._f,_=En(t,b);if(!x||T)return{};const C=a?a[0]:s,I=se=>{r&&C.reportValidity&&(C.setCustomValidity(jd(se)?"":se||""),C.reportValidity())},M={},$=jH(s),B=G_(s),j=$||B,F=(w||qH(s))&&$a(s.value)&&$a(_)||I5(s)&&s.value===""||_===""||Array.isArray(_)&&!_.length,V=Jqe.bind(null,b,n,M),ie=(se,me,fe,le=I0.maxLength,ye=I0.minLength)=>{const ae=se?me:fe;M[b]={type:se?le:ye,message:ae,ref:s,...V(se?le:ye,ae)}};if(i?!Array.isArray(_)||!_.length:o&&(!j&&(F||gu(_))||jd(_)&&!_||B&&!Fpe(a).isValid||$&&!$pe(a).isValid)){const{value:se,message:me}=V3(o)?{value:!!o,message:o}:Gv(o);if(se&&(M[b]={type:I0.required,message:me,ref:C,...V(I0.required,me)},!n))return I(me),M}if(!F&&(!gu(d)||!gu(f))){let se,me;const fe=Gv(f),le=Gv(d);if(!gu(_)&&!isNaN(_)){const ye=s.valueAsNumber||_&&+_;gu(fe.value)||(se=ye>fe.value),gu(le.value)||(me=yenew Date(new Date().toDateString()+" "+re),Se=s.type=="time",he=s.type=="week";fp(fe.value)&&_&&(se=Se?ae(_)>ae(fe.value):he?_>fe.value:ye>new Date(fe.value)),fp(le.value)&&_&&(me=Se?ae(_)+se.value,le=!gu(me.value)&&_.length<+me.value;if((fe||le)&&(ie(fe,se.message,me.message),!n))return I(M[b].message),M}if(p&&!F&&fp(_)){const{value:se,message:me}=Gv(p);if(D5(se)&&!_.match(se)&&(M[b]={type:I0.pattern,message:me,ref:s,...V(I0.pattern,me)},!n))return I(me),M}if(g){if(V0(g)){const se=await g(_,t),me=Bte(se,C);if(me&&(M[b]={...me,...V(I0.validate,me.message)},!n))return I(me.message),M}else if(po(g)){let se={};for(const me in g){if(!Zu(se)&&!n)break;const fe=Bte(await g[me](_,t),C,me);fe&&(se={...fe,...V(me,fe.message)},I(fe.message),n&&(M[b]=se))}if(!Zu(se)&&(M[b]={ref:C,...se},!n))return M}}return I(!0),M};function tje(e,t){const n=t.slice(0,-1).length;let r=0;for(;r{let e=[];return{get observers(){return e},next:i=>{for(const s of e)s.next&&s.next(i)},subscribe:i=>(e.push(i),{unsubscribe:()=>{e=e.filter(s=>s!==i)}}),unsubscribe:()=>{e=[]}}},N5=e=>gu(e)||!kpe(e);function xg(e,t){if(N5(e)||N5(t))return e===t;if(PS(e)&&PS(t))return e.getTime()===t.getTime();const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const i of n){const s=e[i];if(!r.includes(i))return!1;if(i!=="ref"){const a=t[i];if(PS(s)&&PS(a)||po(s)&&po(a)||Array.isArray(s)&&Array.isArray(a)?!xg(s,a):s!==a)return!1}}return!0}var Bpe=e=>e.type==="select-multiple",rje=e=>jH(e)||G_(e),DP=e=>I5(e)&&e.isConnected,Upe=e=>{for(const t in e)if(V0(e[t]))return!0;return!1};function P5(e,t={}){const n=Array.isArray(e);if(po(e)||n)for(const r in e)Array.isArray(e[r])||po(e[r])&&!Upe(e[r])?(t[r]=Array.isArray(e[r])?[]:{},P5(e[r],t[r])):gu(e[r])||(t[r]=!0);return t}function zpe(e,t,n){const r=Array.isArray(e);if(po(e)||r)for(const i in e)Array.isArray(e[i])||po(e[i])&&!Upe(e[i])?$a(t)||N5(n[i])?n[i]=Array.isArray(e[i])?P5(e[i],[]):{...P5(e[i])}:zpe(e[i],gu(t)?{}:t[i],n[i]):n[i]=!xg(e[i],t[i]);return n}var _4=(e,t)=>zpe(e,t,P5(t)),Hpe=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>$a(e)?e:t?e===""?NaN:e&&+e:n&&fp(e)?new Date(e):r?r(e):e;function NP(e){const t=e.ref;if(!(e.refs?e.refs.every(n=>n.disabled):t.disabled))return qH(t)?t.files:jH(t)?$pe(e.refs).value:Bpe(t)?[...t.selectedOptions].map(({value:n})=>n):G_(t)?Fpe(e.refs).value:Hpe($a(t.value)?e.ref.value:t.value,e)}var ije=(e,t,n,r)=>{const i={};for(const s of e){const a=En(t,s);a&&Ts(i,s,a._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},mw=e=>$a(e)?e:D5(e)?e.source:po(e)?D5(e.value)?e.value.source:e.value:e;const zte="AsyncFunction";var sje=e=>(!e||!e.validate)&&!!(V0(e.validate)&&e.validate.constructor.name===zte||po(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===zte)),aje=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function Hte(e,t,n){const r=En(e,n);if(r||UH(n))return{error:r,name:n};const i=n.split(".");for(;i.length;){const s=i.join("."),a=En(t,s),o=En(e,s);if(a&&!Array.isArray(a)&&n!==s)return{name:n};if(o&&o.type)return{name:s,error:o};i.pop()}return{name:n}}var oje=(e,t,n,r,i)=>i.isOnAll?!1:!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:(n?r.isOnChange:i.isOnChange)?e:!0,lje=(e,t)=>!OD(En(e,t)).length&&Oo(e,t);const uje={mode:th.onSubmit,reValidateMode:th.onChange,shouldFocusError:!0};function cje(e={}){let t={...uje,...e},n={submitCount:0,isDirty:!1,isLoading:V0(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},r={},i=po(t.defaultValues)||po(t.values)?Wu(t.defaultValues||t.values)||{}:{},s=t.shouldUnregister?{}:Wu(i),a={action:!1,mount:!1,watch:!1},o={mount:new Set,unMount:new Set,array:new Set,watch:new Set},l,c=0;const d={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},f={values:IP(),array:IP(),state:IP()},p=Pte(t.mode),g=Pte(t.reValidateMode),b=t.criteriaMode===th.all,w=te=>de=>{clearTimeout(c),c=setTimeout(te,de)},x=async te=>{if(d.isValid||te){const de=t.resolver?Zu((await j()).errors):await V(r,!0);de!==n.isValid&&f.state.next({isValid:de})}},T=(te,de)=>{(d.isValidating||d.validatingFields)&&((te||Array.from(o.mount)).forEach(we=>{we&&(de?Ts(n.validatingFields,we,de):Oo(n.validatingFields,we))}),f.state.next({validatingFields:n.validatingFields,isValidating:!Zu(n.validatingFields)}))},_=(te,de=[],we,We,Ke=!0,xe=!0)=>{if(We&&we){if(a.action=!0,xe&&Array.isArray(En(r,te))){const Qe=we(En(r,te),We.argA,We.argB);Ke&&Ts(r,te,Qe)}if(xe&&Array.isArray(En(n.errors,te))){const Qe=we(En(n.errors,te),We.argA,We.argB);Ke&&Ts(n.errors,te,Qe),lje(n.errors,te)}if(d.touchedFields&&xe&&Array.isArray(En(n.touchedFields,te))){const Qe=we(En(n.touchedFields,te),We.argA,We.argB);Ke&&Ts(n.touchedFields,te,Qe)}d.dirtyFields&&(n.dirtyFields=_4(i,s)),f.state.next({name:te,isDirty:se(te,de),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else Ts(s,te,de)},C=(te,de)=>{Ts(n.errors,te,de),f.state.next({errors:n.errors})},I=te=>{n.errors=te,f.state.next({errors:n.errors,isValid:!1})},M=(te,de,we,We)=>{const Ke=En(r,te);if(Ke){const xe=En(s,te,$a(we)?En(i,te):we);$a(xe)||We&&We.defaultChecked||de?Ts(s,te,de?xe:NP(Ke._f)):le(te,xe),a.mount&&x()}},$=(te,de,we,We,Ke)=>{let xe=!1,Qe=!1;const yt={name:te},Be=!!(En(r,te)&&En(r,te)._f&&En(r,te)._f.disabled);if(!we||We){d.isDirty&&(Qe=n.isDirty,n.isDirty=yt.isDirty=se(),xe=Qe!==yt.isDirty);const Ne=Be||xg(En(i,te),de);Qe=!!(!Be&&En(n.dirtyFields,te)),Ne||Be?Oo(n.dirtyFields,te):Ts(n.dirtyFields,te,!0),yt.dirtyFields=n.dirtyFields,xe=xe||d.dirtyFields&&Qe!==!Ne}if(we){const Ne=En(n.touchedFields,te);Ne||(Ts(n.touchedFields,te,we),yt.touchedFields=n.touchedFields,xe=xe||d.touchedFields&&Ne!==we)}return xe&&Ke&&f.state.next(yt),xe?yt:{}},B=(te,de,we,We)=>{const Ke=En(n.errors,te),xe=d.isValid&&jd(de)&&n.isValid!==de;if(e.delayError&&we?(l=w(()=>C(te,we)),l(e.delayError)):(clearTimeout(c),l=null,we?Ts(n.errors,te,we):Oo(n.errors,te)),(we?!xg(Ke,we):Ke)||!Zu(We)||xe){const Qe={...We,...xe&&jd(de)?{isValid:de}:{},errors:n.errors,name:te};n={...n,...Qe},f.state.next(Qe)}},j=async te=>{T(te,!0);const de=await t.resolver(s,t.context,ije(te||o.mount,r,t.criteriaMode,t.shouldUseNativeValidation));return T(te),de},F=async te=>{const{errors:de}=await j(te);if(te)for(const we of te){const We=En(de,we);We?Ts(n.errors,we,We):Oo(n.errors,we)}else n.errors=de;return de},V=async(te,de,we={valid:!0})=>{for(const We in te){const Ke=te[We];if(Ke){const{_f:xe,...Qe}=Ke;if(xe){const yt=o.array.has(xe.name),Be=Ke._f&&sje(Ke._f);Be&&d.validatingFields&&T([We],!0);const Ne=await Ute(Ke,s,b,t.shouldUseNativeValidation&&!de,yt);if(Be&&d.validatingFields&&T([We]),Ne[xe.name]&&(we.valid=!1,de))break;!de&&(En(Ne,xe.name)?yt?eje(n.errors,Ne,xe.name):Ts(n.errors,xe.name,Ne[xe.name]):Oo(n.errors,xe.name))}!Zu(Qe)&&await V(Qe,de,we)}}return we.valid},ie=()=>{for(const te of o.unMount){const de=En(r,te);de&&(de._f.refs?de._f.refs.every(we=>!DP(we)):!DP(de._f.ref))&&Ze(te)}o.unMount=new Set},se=(te,de)=>(te&&de&&Ts(s,te,de),!xg(Fe(),i)),me=(te,de,we)=>Lpe(te,o,{...a.mount?s:$a(de)?i:fp(te)?{[te]:de}:de},we,de),fe=te=>OD(En(a.mount?s:i,te,e.shouldUnregister?En(i,te,[]):[])),le=(te,de,we={})=>{const We=En(r,te);let Ke=de;if(We){const xe=We._f;xe&&(!xe.disabled&&Ts(s,te,Hpe(de,xe)),Ke=I5(xe.ref)&&gu(de)?"":de,Bpe(xe.ref)?[...xe.ref.options].forEach(Qe=>Qe.selected=Ke.includes(Qe.value)):xe.refs?G_(xe.ref)?xe.refs.length>1?xe.refs.forEach(Qe=>(!Qe.defaultChecked||!Qe.disabled)&&(Qe.checked=Array.isArray(Ke)?!!Ke.find(yt=>yt===Qe.value):Ke===Qe.value)):xe.refs[0]&&(xe.refs[0].checked=!!Ke):xe.refs.forEach(Qe=>Qe.checked=Qe.value===Ke):qH(xe.ref)?xe.ref.value="":(xe.ref.value=Ke,xe.ref.type||f.values.next({name:te,values:{...s}})))}(we.shouldDirty||we.shouldTouch)&&$(te,Ke,we.shouldTouch,we.shouldDirty,!0),we.shouldValidate&&re(te)},ye=(te,de,we)=>{for(const We in de){const Ke=de[We],xe=`${te}.${We}`,Qe=En(r,xe);(o.array.has(te)||!N5(Ke)||Qe&&!Qe._f)&&!PS(Ke)?ye(xe,Ke,we):le(xe,Ke,we)}},ae=(te,de,we={})=>{const We=En(r,te),Ke=o.array.has(te),xe=Wu(de);Ts(s,te,xe),Ke?(f.array.next({name:te,values:{...s}}),(d.isDirty||d.dirtyFields)&&we.shouldDirty&&f.state.next({name:te,dirtyFields:_4(i,s),isDirty:se(te,xe)})):We&&!We._f&&!gu(xe)?ye(te,xe,we):le(te,xe,we),Lte(te,o)&&f.state.next({...n}),f.values.next({name:a.mount?te:void 0,values:{...s}})},Se=async te=>{a.mount=!0;const de=te.target;let we=de.name,We=!0;const Ke=En(r,we),xe=()=>de.type?NP(Ke._f):_pe(te),Qe=yt=>{We=Number.isNaN(yt)||xg(yt,En(s,we,yt))};if(Ke){let yt,Be;const Ne=xe(),rt=te.type===R5.BLUR||te.type===R5.FOCUS_OUT,pt=!aje(Ke._f)&&!t.resolver&&!En(n.errors,we)&&!Ke._f.deps||oje(rt,En(n.touchedFields,we),n.isSubmitted,g,p),Dt=Lte(we,o,rt);Ts(s,we,Ne),rt?(Ke._f.onBlur&&Ke._f.onBlur(te),l&&l(0)):Ke._f.onChange&&Ke._f.onChange(te);const Gt=$(we,Ne,rt,!1),Pn=!Zu(Gt)||Dt;if(!rt&&f.values.next({name:we,type:te.type,values:{...s}}),pt)return d.isValid&&(e.mode==="onBlur"?rt&&x():x()),Pn&&f.state.next({name:we,...Dt?{}:Gt});if(!rt&&Dt&&f.state.next({...n}),t.resolver){const{errors:Fn}=await j([we]);if(Qe(Ne),We){const kt=Hte(n.errors,r,we),ct=Hte(Fn,r,kt.name||we);yt=ct.error,we=ct.name,Be=Zu(Fn)}}else T([we],!0),yt=(await Ute(Ke,s,b,t.shouldUseNativeValidation))[we],T([we]),Qe(Ne),We&&(yt?Be=!1:d.isValid&&(Be=await V(r,!0)));We&&(Ke._f.deps&&re(Ke._f.deps),B(we,Be,yt,Gt))}},he=(te,de)=>{if(En(n.errors,de)&&te.focus)return te.focus(),1},re=async(te,de={})=>{let we,We;const Ke=OT(te);if(t.resolver){const xe=await F($a(te)?te:Ke);we=Zu(xe),We=te?!Ke.some(Qe=>En(xe,Qe)):we}else te?(We=(await Promise.all(Ke.map(async xe=>{const Qe=En(r,xe);return await V(Qe&&Qe._f?{[xe]:Qe}:Qe)}))).every(Boolean),!(!We&&!n.isValid)&&x()):We=we=await V(r);return f.state.next({...!fp(te)||d.isValid&&we!==n.isValid?{}:{name:te},...t.resolver||!te?{isValid:we}:{},errors:n.errors}),de.shouldFocus&&!We&&ET(r,he,te?Ke:o.mount),We},Fe=te=>{const de={...a.mount?s:i};return $a(te)?de:fp(te)?En(de,te):te.map(we=>En(de,we))},je=(te,de)=>({invalid:!!En((de||n).errors,te),isDirty:!!En((de||n).dirtyFields,te),error:En((de||n).errors,te),isValidating:!!En(n.validatingFields,te),isTouched:!!En((de||n).touchedFields,te)}),ue=te=>{te&&OT(te).forEach(de=>Oo(n.errors,de)),f.state.next({errors:te?n.errors:{}})},tt=(te,de,we)=>{const We=(En(r,te,{_f:{}})._f||{}).ref,Ke=En(n.errors,te)||{},{ref:xe,message:Qe,type:yt,...Be}=Ke;Ts(n.errors,te,{...Be,...de,ref:We}),f.state.next({name:te,errors:n.errors,isValid:!1}),we&&we.shouldFocus&&We&&We.focus&&We.focus()},St=(te,de)=>V0(te)?f.values.subscribe({next:we=>te(me(void 0,de),we)}):me(te,de,!0),Ze=(te,de={})=>{for(const we of te?OT(te):o.mount)o.mount.delete(we),o.array.delete(we),de.keepValue||(Oo(r,we),Oo(s,we)),!de.keepError&&Oo(n.errors,we),!de.keepDirty&&Oo(n.dirtyFields,we),!de.keepTouched&&Oo(n.touchedFields,we),!de.keepIsValidating&&Oo(n.validatingFields,we),!t.shouldUnregister&&!de.keepDefaultValue&&Oo(i,we);f.values.next({values:{...s}}),f.state.next({...n,...de.keepDirty?{isDirty:se()}:{}}),!de.keepIsValid&&x()},qt=({disabled:te,name:de,field:we,fields:We,value:Ke})=>{if(jd(te)&&a.mount||te){const xe=te?void 0:$a(Ke)?NP(we?we._f:En(We,de)._f):Ke;Ts(s,de,xe),$(de,xe,!1,!1,!0)}},xt=(te,de={})=>{let we=En(r,te);const We=jd(de.disabled)||jd(e.disabled);return Ts(r,te,{...we||{},_f:{...we&&we._f?we._f:{ref:{name:te}},name:te,mount:!0,...de}}),o.mount.add(te),we?qt({field:we,disabled:jd(de.disabled)?de.disabled:e.disabled,name:te,value:de.value}):M(te,!0,de.value),{...We?{disabled:de.disabled||e.disabled}:{},...t.progressive?{required:!!de.required,min:mw(de.min),max:mw(de.max),minLength:mw(de.minLength),maxLength:mw(de.maxLength),pattern:mw(de.pattern)}:{},name:te,onChange:Se,onBlur:Se,ref:Ke=>{if(Ke){xt(te,de),we=En(r,te);const xe=$a(Ke.value)&&Ke.querySelectorAll&&Ke.querySelectorAll("input,select,textarea")[0]||Ke,Qe=rje(xe),yt=we._f.refs||[];if(Qe?yt.find(Be=>Be===xe):xe===we._f.ref)return;Ts(r,te,{_f:{...we._f,...Qe?{refs:[...yt.filter(DP),xe,...Array.isArray(En(i,te))?[{}]:[]],ref:{type:xe.type,name:te}}:{ref:xe}}}),M(te,!1,void 0,xe)}else we=En(r,te,{}),we._f&&(we._f.mount=!1),(t.shouldUnregister||de.shouldUnregister)&&!(Ape(o.array,te)&&a.action)&&o.unMount.add(te)}}},Nt=()=>t.shouldFocusError&&ET(r,he,o.mount),Ht=te=>{jd(te)&&(f.state.next({disabled:te}),ET(r,(de,we)=>{const We=En(r,we);We&&(de.disabled=We._f.disabled||te,Array.isArray(We._f.refs)&&We._f.refs.forEach(Ke=>{Ke.disabled=We._f.disabled||te}))},0,!1))},Jt=(te,de)=>async we=>{let We;we&&(we.preventDefault&&we.preventDefault(),we.persist&&we.persist());let Ke=Wu(s);if(f.state.next({isSubmitting:!0}),t.resolver){const{errors:xe,values:Qe}=await j();n.errors=xe,Ke=Qe}else await V(r);if(Oo(n.errors,"root"),Zu(n.errors)){f.state.next({errors:{}});try{await te(Ke,we)}catch(xe){We=xe}}else de&&await de({...n.errors},we),Nt(),setTimeout(Nt);if(f.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Zu(n.errors)&&!We,submitCount:n.submitCount+1,errors:n.errors}),We)throw We},Vt=(te,de={})=>{En(r,te)&&($a(de.defaultValue)?ae(te,Wu(En(i,te))):(ae(te,de.defaultValue),Ts(i,te,Wu(de.defaultValue))),de.keepTouched||Oo(n.touchedFields,te),de.keepDirty||(Oo(n.dirtyFields,te),n.isDirty=de.defaultValue?se(te,Wu(En(i,te))):se()),de.keepError||(Oo(n.errors,te),d.isValid&&x()),f.state.next({...n}))},en=(te,de={})=>{const we=te?Wu(te):i,We=Wu(we),Ke=Zu(te),xe=Ke?i:We;if(de.keepDefaultValues||(i=we),!de.keepValues){if(de.keepDirtyValues)for(const Qe of o.mount)En(n.dirtyFields,Qe)?Ts(xe,Qe,En(s,Qe)):ae(Qe,En(xe,Qe));else{if(BH&&$a(te))for(const Qe of o.mount){const yt=En(r,Qe);if(yt&&yt._f){const Be=Array.isArray(yt._f.refs)?yt._f.refs[0]:yt._f.ref;if(I5(Be)){const Ne=Be.closest("form");if(Ne){Ne.reset();break}}}}r={}}s=e.shouldUnregister?de.keepDefaultValues?Wu(i):{}:Wu(xe),f.array.next({values:{...xe}}),f.values.next({values:{...xe}})}o={mount:de.keepDirtyValues?o.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},a.mount=!d.isValid||!!de.keepIsValid||!!de.keepDirtyValues,a.watch=!!e.shouldUnregister,f.state.next({submitCount:de.keepSubmitCount?n.submitCount:0,isDirty:Ke?!1:de.keepDirty?n.isDirty:!!(de.keepDefaultValues&&!xg(te,i)),isSubmitted:de.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:Ke?{}:de.keepDirtyValues?de.keepDefaultValues&&s?_4(i,s):n.dirtyFields:de.keepDefaultValues&&te?_4(i,te):de.keepDirty?n.dirtyFields:{},touchedFields:de.keepTouched?n.touchedFields:{},errors:de.keepErrors?n.errors:{},isSubmitSuccessful:de.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1})},Ct=(te,de)=>en(V0(te)?te(s):te,de);return{control:{register:xt,unregister:Ze,getFieldState:je,handleSubmit:Jt,setError:tt,_executeSchema:j,_getWatch:me,_getDirty:se,_updateValid:x,_removeUnmounted:ie,_updateFieldArray:_,_updateDisabledField:qt,_getFieldArray:fe,_reset:en,_resetDefaultValues:()=>V0(t.defaultValues)&&t.defaultValues().then(te=>{Ct(te,t.resetOptions),f.state.next({isLoading:!1})}),_updateFormState:te=>{n={...n,...te}},_disableForm:Ht,_subjects:f,_proxyFormState:d,_setErrors:I,get _fields(){return r},get _formValues(){return s},get _state(){return a},set _state(te){a=te},get _defaultValues(){return i},get _names(){return o},set _names(te){o=te},get _formState(){return n},set _formState(te){n=te},get _options(){return t},set _options(te){t={...t,...te}}},trigger:re,register:xt,handleSubmit:Jt,watch:St,setValue:ae,getValues:Fe,reset:Ct,resetField:Vt,clearErrors:ue,unregister:Ze,setError:tt,setFocus:(te,de={})=>{const we=En(r,te),We=we&&we._f;if(We){const Ke=We.refs?We.refs[0]:We.ref;Ke.focus&&(Ke.focus(),de.shouldSelect&&Ke.select())}},getFieldState:je}}function qpe(e={}){const t=Dn.useRef(),n=Dn.useRef(),[r,i]=Dn.useState({isDirty:!1,isValidating:!1,isLoading:V0(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:V0(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...cje(e),formState:r});const s=t.current.control;return s._options=e,HH({subject:s._subjects.state,next:a=>{Npe(a,s._proxyFormState,s._updateFormState,!0)&&i({...s._formState})}}),Dn.useEffect(()=>s._disableForm(e.disabled),[s,e.disabled]),Dn.useEffect(()=>{if(s._proxyFormState.isDirty){const a=s._getDirty();a!==r.isDirty&&s._subjects.state.next({isDirty:a})}},[s,r.isDirty]),Dn.useEffect(()=>{e.values&&!xg(e.values,n.current)?(s._reset(e.values,s._options.resetOptions),n.current=e.values,i(a=>({...a}))):s._resetDefaultValues()},[e.values,s]),Dn.useEffect(()=>{e.errors&&s._setErrors(e.errors)},[e.errors,s]),Dn.useEffect(()=>{s._state.mount||(s._updateValid(),s._state.mount=!0),s._state.watch&&(s._state.watch=!1,s._subjects.state.next({...s._formState})),s._removeUnmounted()}),Dn.useEffect(()=>{e.shouldUnregister&&s._subjects.values.next({values:s._getWatch()})},[e.shouldUnregister,s]),t.current.formState=Dpe(r,s),t.current}const dje=pi(U.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"}),"Cancel"),jpe=pi(U.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility"),fje=pi(U.jsx("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff");function A9(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Oje(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s=0)&&(n[i]=e[i]);return n}function Eje(e,t){return hje(e)||bje(e,t)||Qpe(e,t)||yje()}function Wpe(e){return pje(e)||gje(e)||Qpe(e)||vje()}function wje(e){"@swc/helpers - typeof";return e&&typeof Symbol<"u"&&e.constructor===Symbol?"symbol":typeof e}function Qpe(e,t){if(e){if(typeof e=="string")return A9(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return A9(e,t)}}var Vpe=Y.forwardRef(function(e,t){var n=e.rules,r=n===void 0?{}:n,i=e.parseError,s=e.type,a=e.required,o=e.name,l=e.control,c=e.component,d=c===void 0?A_:c,f=e.inputRef,p=e.transform,g=bd(e,["rules","parseError","type","required","name","control","component","inputRef","transform"]),b=wm(),w=i||b,x=Cr({},r,a&&!r.required&&{required:"This field is required"},s==="email"&&!r.pattern&&{pattern:{value:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,message:"Please enter a valid email address"}}),T=Dp({name:o,control:l,disabled:g.disabled,rules:x}),_=T.field,C=T.fieldState,I=C.error,M=Ip({value:_.value,onChange:_.onChange,transform:{input:typeof(p==null?void 0:p.input)=="function"?p.input:function(F){return F??""},output:typeof(p==null?void 0:p.output)=="function"?p.output:function(F){var V=F.target.value;return s!=="number"?V:V===""?null:V==null?V:Number(V)}}}),$=M.value,B=M.onChange,j=$i(_.ref,f);return U.jsx(d,_s(Cr({},g),{name:_.name,value:$,onChange:function(F){B(F),typeof g.onChange=="function"&&g.onChange(F)},onBlur:_.onBlur,required:a,type:s,error:!!I,helperText:I?typeof w=="function"?w(I):I.message:g.helperText,ref:t,inputRef:j}))});Vpe.displayName="TextFieldElement";var Y_=Vpe;function BE(e){var t=e.handleSubmit,n=e.children,r=e.FormProps,i=e.formContext,s=e.onSuccess,a=e.onError,o=bd(e,["handleSubmit","children","FormProps","formContext","onSuccess","onError"]);return i?(typeof s=="function"&&typeof t=="function"&&console.warn("Property `onSuccess` will be ignored because handleSubmit is provided"),U.jsx(Ipe,_s(Cr({},i),{children:U.jsx("form",_s(Cr({noValidate:!0},r),{onSubmit:t||(s?i.handleSubmit(s,a):function(){return console.log("submit handler `onSuccess` is missing")}),children:n}))}))):U.jsx(xje,Cr({onSuccess:s,onError:a,FormProps:r,children:n},o))}function xje(e){var t=e.onSuccess,n=e.onError,r=e.FormProps,i=e.children,s=bd(e,["onSuccess","onError","FormProps","children"]),a=qpe(Cr({},s)),o=a.handleSubmit;return U.jsx(Ipe,_s(Cr({},a),{children:U.jsx("form",_s(Cr({onSubmit:o(t||function(){return console.log("submit handler `onSuccess` is missing")},n),noValidate:!0},r),{children:i}))}))}var Tje=Y.forwardRef(function(e,t){var n=e.name,r=e.rules,i=r===void 0?{}:r,s=e.required,a=e.parseError,o=e.label,l=e.control,c=e.helperText,d=e.labelProps,f=e.inputRef,p=e.transform,g=bd(e,["name","rules","required","parseError","label","control","helperText","labelProps","inputRef","transform"]),b=wm(),w=a||b,x=Cr({},i,s&&!i.required&&{required:"This field is required"}),T=Dp({name:n,control:l,disabled:g.disabled,rules:x}),_=T.field,C=T.fieldState,I=C.error,M=Ip({value:_.value,onChange:_.onChange,transform:{input:p==null?void 0:p.input,output:typeof(p==null?void 0:p.output)=="function"?p==null?void 0:p.output:function(V,ie){return ie}}}),$=M.value,B=M.onChange,j=$i(_.ref,f),F=I?typeof w=="function"?w(I):I.message:c;return U.jsxs(yf,{required:s,error:!!I,ref:t,children:[U.jsx(qz,{row:!0,children:U.jsx(mk,_s(Cr({},d),{label:o||"",control:U.jsx(Y6,_s(Cr({},g),{color:g.color||"primary",sx:Wpe(Array.isArray(g.sx)?g.sx:[g.sx]).concat([{color:I?"error.main":void 0}]),value:$,checked:!!$,onChange:function(V,ie){B(V,ie),typeof g.onChange=="function"&&g.onChange(V,ie)},inputRef:j}))}))}),F&&U.jsx(TE,{error:!!I,children:F})]})});Tje.displayName="CheckboxElement";var Gpe=Y.forwardRef(function(e,t){var n,r=e.name,i=e.required,s=e.valueKey,a=s===void 0?"id":s,o=e.labelKey,l=o===void 0?"label":o,c=e.options,d=c===void 0?[]:c,f=e.parseError,p=e.type,g=e.objectOnChange,b=e.rules,w=b===void 0?{}:b,x=e.control,T=e.inputRef,_=e.transform,C=bd(e,["name","required","valueKey","labelKey","options","parseError","type","objectOnChange","rules","control","inputRef","transform"]),I=wm(),M=f||I,$=!!(!((n=C.SelectProps)===null||n===void 0)&&n.native),B=Cr({},w,i&&!w.required&&{required:"This field is required"}),j=Dp({name:r,rules:B,disabled:C.disabled,control:x}),F=j.field,V=j.fieldState,ie=V.error,se=Ip({value:F.value,onChange:F.onChange,transform:{input:typeof(_==null?void 0:_.input)=="function"?_.input:function(ye){var ae,Se;return(Se=(ae=ye==null?void 0:ye[a])!==null&&ae!==void 0?ae:ye)!==null&&Se!==void 0?Se:""},output:typeof(_==null?void 0:_.output)=="function"?_.output:function(ye){var ae=ye.target.value;return p==="number"&&ae&&(ae=Number(ae)),ae}}}),me=se.value,fe=se.onChange,le=$i(F.ref,T);return p==="number"&&(typeof me>"u"?"undefined":wje(me))<"u"&&(C.InputLabelProps=C.InputLabelProps||{},C.InputLabelProps.shrink=!0),U.jsxs(A_,_s(Cr({},C),{name:r,value:me,onBlur:F.onBlur,ref:t,onChange:function(ye){if(fe(ye),typeof C.onChange=="function"){var ae=ye.target.value;p==="number"&&ae&&(ae=Number(ae)),g&&(ae=d.find(function(Se){return Se[a]===ae})),C.onChange(ae)}},select:!0,required:i,error:!!ie,helperText:ie?typeof M=="function"?M(ie):ie.message:C.helperText,inputRef:le,children:[$&&U.jsx("option",{}),d.map(function(ye){var ae,Se="".concat(r,"_").concat(ye[a]),he={value:(ae=ye==null?void 0:ye[a])!==null&&ae!==void 0?ae:ye,disabled:Ku(ye,"disabled")?!!ye.disabled:!1,children:ye[l]};return $?U.jsx("option",Cr({},he),Se):U.jsx(oc,Cr({},he),Se)})]}))});Gpe.displayName="SelectElement";var C9=Gpe,kje=Y.forwardRef(function(e,t){var n=e.helperText,r=e.options,i=e.label,s=e.name,a=e.parseError,o=e.required,l=e.labelKey,c=l===void 0?"label":l,d=e.valueKey,f=d===void 0?"id":d,p=e.returnObject,g=e.disabled,b=e.row,w=e.control,x=e.checkboxColor,T=e.rules,_=e.labelProps,C=e.transform,I=e.defaultValue,M=I===void 0?[]:I,$=bd(e,["helperText","options","label","name","parseError","required","labelKey","valueKey","returnObject","disabled","row","control","checkboxColor","rules","labelProps","transform","defaultValue"]),B=Ap(),j=wm(),F=a||j,V=Dp({name:s,rules:o?{required:"This field is required"}:T,disabled:g,control:w,defaultValue:M}),ie=V.field,se=V.fieldState,me=se.error,fe=se.invalid,le=Ip({value:ie.value,onChange:ie.onChange,transform:{input:typeof(C==null?void 0:C.input)=="function"?C.input:function(re){return Array.isArray(re)?re:[]},output:C==null?void 0:C.output}}),ye=le.value,ae=le.onChange,Se=function(re){var Fe=Ku(re,f)?re[f]:re,je=ye.findIndex(function(tt){var St=Ku(tt,f)?tt[f]:tt;return Fe===St}),ue=(je===-1?Wpe(ye).concat([re]):ye.filter(function(tt,St){return je!==St})).map(function(tt){return p||!Ku(tt,f)?tt:tt[f]});ae(ue),typeof $.onChange=="function"&&$.onChange(ue)},he=me?typeof F=="function"?F(me):me.message:n;return U.jsxs(yf,{error:fe,required:o,ref:t,children:[i?U.jsx(Z6,{children:i}):null,U.jsx(qz,{row:b,children:r.map(function(re){var Fe=Ku(re,f)?re[f]:re,je=Ku(re,c)?re[c]:re,ue=ye.some(function(tt){return(Ku(tt,f)?tt[f]:tt)===Fe});return Y.createElement(mk,_s(Cr({},_),{control:U.jsx(Y6,{sx:{color:me?B.palette.error.main:void 0},color:x,value:Fe,checked:ue,disabled:g,onChange:function(){return Se(re)}}),label:"".concat(je),key:"".concat(Fe)}))})}),he&&U.jsx(TE,{children:he})]})});kje.displayName="CheckboxButtonGroup";var _je=48,Aje=8,Cje=Y.forwardRef(function(e,t){var n,r,i,s,a,o=e.options,l=e.label,c=l===void 0?"":l,d=e.itemKey,f=d===void 0?"id":d,p=e.itemValue,g=p===void 0?"":p,b=e.itemLabel,w=b===void 0?"label":b,x=e.required,T=x===void 0?!1:x,_=e.rules,C=_===void 0?{}:_,I=e.parseError,M=e.name,$=e.menuMaxHeight,B=$===void 0?_je*4.5+Aje:$,j=e.menuMaxWidth,F=j===void 0?250:j,V=e.minWidth,ie=V===void 0?120:V,se=e.helperText,me=e.showChips,fe=e.preserveOrder,le=e.control,ye=e.showCheckbox,ae=e.formControlProps,Se=e.inputRef,he=e.transform,re=e.inputLabelProps,Fe=bd(e,["options","label","itemKey","itemValue","itemLabel","required","rules","parseError","name","menuMaxHeight","menuMaxWidth","minWidth","helperText","showChips","preserveOrder","control","showCheckbox","formControlProps","inputRef","transform","inputLabelProps"]),je=wm(),ue=I||je,tt=function(Ut){var sn,te;return(te=(sn=o.find(function(de){var we;return((we=de[g||f])!==null&&we!==void 0?we:de)===Ut}))===null||sn===void 0?void 0:sn[w])!==null&&te!==void 0?te:Ut},St=Cr({},C,T&&!C.required&&{required:"This field is required"}),Ze=Dp({name:M,rules:St,disabled:Fe.disabled,control:le}),qt=Ze.field,xt=Ze.fieldState,Nt=xt.error,Ht=Ip({value:qt.value,onChange:qt.onChange,transform:{input:typeof(he==null?void 0:he.input)=="function"?he.input:function(Ut){return Array.isArray(Ut)?Ut:[]},output:he==null?void 0:he.output}}),Jt=Ht.value,Vt=Ht.onChange,en=$i(qt.ref,Se),Ct=Nt?typeof ue=="function"?ue(Nt):Nt.message:se,Xe;return U.jsxs(yf,_s(Cr({},ae),{style:Cr({minWidth:ie},ae==null?void 0:ae.style),variant:Fe.variant,fullWidth:Fe.fullWidth,error:!!Nt,size:Fe.size,ref:t,children:[c&&U.jsx(rde,_s(Cr({},re),{size:Fe.size==="small"?"small":re==null?void 0:re.size,error:!!Nt,htmlFor:Fe.id||"select-multi-select-".concat(M),required:T,children:c})),U.jsx(Gz,_s(Cr({},Fe),{id:Fe.id||"select-multi-select-".concat(M),multiple:!0,label:c||void 0,error:!!Nt,value:Jt,required:T,onChange:Vt,onBlur:qt.onBlur,MenuProps:_s(Cr({},Fe.MenuProps),{slotProps:_s(Cr({},(n=Fe.MenuProps)===null||n===void 0?void 0:n.slotProps),{paper:Cr({},(Xe=(i=Fe.MenuProps)===null||i===void 0||(r=i.slotProps)===null||r===void 0?void 0:r.paper)!==null&&Xe!==void 0?Xe:{style:Cr({maxHeight:B,width:F},Ku((a=Fe.MenuProps)===null||a===void 0||(s=a.slotProps)===null||s===void 0?void 0:s.paper,"style")&&typeof Fe.MenuProps.slotProps.paper.style=="object"&&Cr({},Fe.MenuProps.slotProps.paper.style))})})}),renderValue:typeof Fe.renderValue=="function"?Fe.renderValue:me?function(Ut){return U.jsx("div",{style:{display:"flex",flexWrap:"wrap"},children:(fe?o.filter(function(sn){return Ut.includes(sn)}):Ut||[]).map(function(sn){return U.jsx(Zce,{label:tt(sn),style:{display:"flex",flexWrap:"wrap"},onDelete:function(){Vt((Array.isArray(Jt)?Jt:[]).filter(function(te){return te!==sn}))},deleteIcon:U.jsx(dje,{onMouseDown:function(te){te.stopPropagation()}})},sn)})})}:function(Ut){return Array.isArray(Ut)?Ut.map(tt).join(", "):""},inputRef:en,children:o.map(function(Ut){var sn=Ut[g||f]||Ut,te=Array.isArray(Jt)?Jt.some(function(de){return de===sn}):!1;return U.jsxs(oc,{value:sn,sx:{fontWeight:function(de){return te?de.typography.fontWeightBold:de.typography.fontWeightRegular}},children:[ye&&U.jsx(Y6,{checked:te}),U.jsx(ah,{primary:Ut[w]||Ut})]},sn)})})),Ct&&U.jsx(TE,{error:!!Nt,children:Ct})]}))});Cje.displayName="MultiSelectElement";var Ype=Y.forwardRef(function(e,t){var n=e.iconColor,r=e.renderIcon,i=r===void 0?function(c){return c?U.jsx(jpe,{}):U.jsx(fje,{})}:r,s=bd(e,["iconColor","renderIcon"]),a=Eje(Y.useState(!0),2),o=a[0],l=a[1];return U.jsx(Y_,_s(Cr({},s),{ref:t,InputProps:{endAdornment:U.jsx(_M,{position:"end",children:U.jsx(Gl,{onMouseDown:function(c){return c.preventDefault()},onClick:function(){return l(!o)},tabIndex:-1,color:n??"default",children:i(o)})})},type:o?"password":"text"}))});Ype.displayName="PasswordElement";var Rje=Ype,Ije=Y.forwardRef(function(e,t){var n=e.helperText,r=e.options,i=e.label,s=e.name,a=e.parseError,o=e.labelKey,l=o===void 0?"label":o,c=e.valueKey,d=c===void 0?"id":c,f=e.disabledKey,p=f===void 0?"disabled":f,g=e.required,b=e.emptyOptionLabel,w=e.returnObject,x=e.row,T=e.control,_=e.type,C=e.labelProps,I=e.disabled,M=e.formLabelProps,$=e.transform,B=e.rules,j=B===void 0?{}:B,F=bd(e,["helperText","options","label","name","parseError","labelKey","valueKey","disabledKey","required","emptyOptionLabel","returnObject","row","control","type","labelProps","disabled","formLabelProps","transform","rules"]),V=Ap(),ie=wm(),se=a||ie,me=Cr({},j,g&&!j.required&&{required:"This field is required"}),fe=Dp({name:s,rules:me,disabled:I,control:T}),le=fe.field,ye=fe.fieldState,ae=ye.error,Se=Ip({value:le.value,onChange:le.onChange,transform:{input:typeof($==null?void 0:$.input)=="function"?$.input:function(ue){return ue||""},output:typeof($==null?void 0:$.output)=="function"?$==null?void 0:$.output:function(ue,tt){return tt&&_==="number"?Number(tt):tt}}}),he=Se.value,re=Se.onChange,Fe=ae?typeof se=="function"?se(ae):ae.message:n,je=function(ue,tt){var St=w?r.find(function(Ze){return Ze[d]===tt}):tt;re(ue,St),typeof F.onChange=="function"&&F.onChange(St)};return U.jsxs(yf,{error:!!ae,ref:t,children:[i&&U.jsx(Z6,_s(Cr({},M),{required:g,error:!!ae,children:i})),U.jsxs(M7e,{onChange:je,name:s,row:x,value:he,children:[b&&U.jsx(mk,_s(Cr({},C),{control:U.jsx(vJ,{sx:{color:ae?V.palette.error.main:void 0},checked:!he}),label:b,value:""})),r.map(function(ue){var tt=ue[d],St=ue[p]||!1;tt===void 0&&console.error("RadioButtonGroup: valueKey ".concat(d," does not exist on option"),ue);var Ze=w?he==null?void 0:he[d]:he;_==="number"&&(Ze=Number(Ze));var qt=Ze===tt;return Y.createElement(mk,_s(Cr({},C),{control:U.jsx(vJ,{sx:{color:ae?V.palette.error.main:void 0},disabled:I||St,checked:qt}),value:tt,label:ue[l],key:tt}))})]}),Fe&&U.jsx(TE,{children:Fe})]})});Ije.displayName="RadioButtonGroup";var Dje=Y.forwardRef(function(e,t){var n=e.name,r=e.control,i=e.switchProps,s=e.transform,a=bd(e,["name","control","switchProps","transform"]),o=Dp({name:n,control:r,disabled:a.disabled}),l=o.field,c=Ip({value:l.value,onChange:l.onChange,transform:{input:s==null?void 0:s.input,output:typeof(s==null?void 0:s.output)=="function"?s.output:function(g,b){return b}}}),d=c.value,f=c.onChange,p=$i(l.ref,i==null?void 0:i.ref);return U.jsx(mk,Cr({ref:t,control:U.jsx(APe,_s(Cr({},i),{name:l.name,value:d,onChange:function(g,b){f(g,b),typeof(i==null?void 0:i.onChange)=="function"&&i.onChange(g,b)},onBlur:function(g){l.onBlur(),typeof(i==null?void 0:i.onBlur)=="function"&&(i==null||i.onBlur(g))},ref:p,checked:!!d}))},a))});Dje.displayName="SwitchElement";var Nje=Y.forwardRef(function(e,t){var n=e.passwordFieldName,r=e.customInvalidFieldMessage,i=e.control,s=bd(e,["passwordFieldName","customInvalidFieldMessage","control"]),a=Mpe({name:n,control:i});return U.jsx(Rje,_s(Cr({control:i},s),{ref:t,rules:{validate:function(o){return o===a||(r??"Password should match")}}}))});Nje.displayName="PasswordRepeatElement";var Pje=Y.forwardRef(function(e,t){var n=e.textFieldProps,r=e.autocompleteProps,i=e.name,s=e.control,a=e.options,o=e.loading,l=e.showCheckbox,c=e.rules,d=e.loadingIndicator,f=e.required,p=e.multiple,g=e.label,b=e.parseError,w=e.transform,x=e.matchId,T=wm(),_=b||T,C=Cr({},c,f&&{required:(c==null?void 0:c.required)||"This field is required"}),I=Dp({name:i,control:s,disabled:r==null?void 0:r.disabled,rules:C}),M=I.field,$=I.fieldState,B=$.error,j=function(ae){return typeof(r==null?void 0:r.getOptionLabel)=="function"?r.getOptionLabel(ae):Ku(ae,"label")?"".concat(ae==null?void 0:ae.label):"".concat(ae)},F=function(ae,Se){if(typeof(r==null?void 0:r.isOptionEqualToValue)=="function")return r.isOptionEqualToValue(ae,Se);var he=Ku(ae,"id")?ae.id:ae,re=Ku(Se,"id")?Se.id:Se;return he===re},V=function(ae){return a.find(function(Se){return x&&Ku(Se,"id")?Se.id===ae:F(Se,ae)})},ie=Ip({value:M.value,onChange:M.onChange,transform:{input:typeof(w==null?void 0:w.input)=="function"?w.input:function(ae){var Se;return p?(Array.isArray(ae)?ae:[]).map(V):(Se=V(ae))!==null&&Se!==void 0?Se:null},output:typeof(w==null?void 0:w.output)=="function"?w.output:function(ae,Se){if(p){var he=Array.isArray(Se)?Se:[];return x?he.map(function(re){return Ku(re,"id")?re.id:re}):he}return x&&Ku(Se,"id")?Se.id:Se}}}),se=ie.value,me=ie.onChange,fe=$i(M.ref,n==null?void 0:n.inputRef),le=d||U.jsx(dh,{color:"inherit",size:20}),ye;return U.jsx(JIe,_s(Cr({},r),{value:se,loading:o,multiple:p,options:a,disableCloseOnSelect:typeof(r==null?void 0:r.disableCloseOnSelect)=="boolean"?r.disableCloseOnSelect:!!p,isOptionEqualToValue:F,getOptionLabel:j,onChange:function(ae,Se,he,re){me(ae,Se,he,re),r!=null&&r.onChange&&r.onChange(ae,Se,he,re)},ref:t,renderOption:(ye=r==null?void 0:r.renderOption)!==null&&ye!==void 0?ye:l?function(ae,Se,he){var re=he.selected;return U.jsxs("li",_s(Cr({},ae),{children:[U.jsx(Y6,{sx:{marginRight:1},checked:re}),j(Se)]}))}:void 0,onBlur:function(ae){M.onBlur(),typeof(r==null?void 0:r.onBlur)=="function"&&r.onBlur(ae)},renderInput:function(ae){return U.jsx(A_,_s(Cr({name:i,required:c!=null&&c.required?!0:f,label:g},n,ae),{error:!!B,InputLabelProps:Cr({},ae.InputLabelProps,n==null?void 0:n.InputLabelProps),InputProps:Cr(_s(Cr({},ae.InputProps),{endAdornment:U.jsxs(U.Fragment,{children:[o?le:null,ae.InputProps.endAdornment]})}),n==null?void 0:n.InputProps),inputProps:Cr({},ae.inputProps,n==null?void 0:n.inputProps),helperText:B?typeof _=="function"?_(B):B.message:n==null?void 0:n.helperText,inputRef:fe}))}}))});Pje.displayName="AutocompleteElement";var Lje=Y.forwardRef(function(e,t){var n=e.name,r=e.control,i=e.label,s=e.rules,a=s===void 0?{}:s,o=e.parseError,l=e.required,c=e.formControlProps,d=e.transform,f=bd(e,["name","control","label","rules","parseError","required","formControlProps","transform"]),p=wm(),g=o||p,b=Cr({},a,l&&!a.required&&{required:"This field is required"}),w=Dp({name:n,control:r,disabled:f.disabled,rules:b}),x=w.field,T=w.fieldState,_=T.error,C=T.invalid,I=Ip({value:x.value,onChange:x.onChange,transform:d}),M=I.value,$=I.onChange,B=_?typeof g=="function"?g(_):_.message:null;return U.jsxs(yf,_s(Cr({error:C,required:l,fullWidth:!0},c),{ref:t,children:[i&&U.jsx(Z6,{component:"legend",error:C,children:i}),U.jsx(mPe,_s(Cr({},f),{value:M,onChange:$,valueLabelDisplay:f.valueLabelDisplay||"auto"})),B&&U.jsx(TE,{error:C,children:B})]}))});Lje.displayName="SliderElement";var Mje=Y.forwardRef(function(e,t){var n=e.rules,r=n===void 0?{}:n,i=e.parseError,s=e.required,a=e.name,o=e.control,l=e.rows,c=e.resizeStyle,d=e.inputRef,f=e.inputProps,p=e.transform,g=bd(e,["rules","parseError","required","name","control","rows","resizeStyle","inputRef","inputProps","transform"]),b=wm(),w=i||b,x=Cr({},r,s&&!r.required&&{required:"This field is required"}),T=Dp({name:a,control:o,rules:x,disabled:g.disabled}),_=T.field,C=T.fieldState,I=C.error,M=Ip({value:_.value,onChange:_.onChange,transform:{input:typeof(p==null?void 0:p.input)=="function"?p.input:function(F){return F??""},output:typeof(p==null?void 0:p.output)=="function"?p.output:function(F){return F.target.value}}}),$=M.value,B=M.onChange,j=$i(_.ref,d);return U.jsx(A_,_s(Cr({},g),{name:a,value:$,onChange:function(F){B(F),typeof g.onChange=="function"&&g.onChange(F)},onBlur:_.onBlur,required:s,error:!!I,helperText:I?typeof w=="function"?w(I):I.message:g.helperText,inputRef:j,multiline:!0,InputProps:{inputComponent:Xce,inputProps:Cr({minRows:l,style:{resize:c||"both"}},f||{})},ref:t}))});Mje.displayName="TextareaAutosizeElement";const Fje=e=>["check","name-conflict",e],WH=e=>PE({queryKey:Fje(e||""),enabled:!!e,queryFn:async()=>(await kr.post("/check/name-conflict",{name:e})).data});function $je(e,t){var n=Y.useRef(!1),r=Y.useRef(),i=Y.useRef(e),s=Y.useCallback(function(){return n.current},[]),a=Y.useCallback(function(){n.current=!1,r.current&&clearTimeout(r.current),r.current=setTimeout(function(){n.current=!0,i.current()},t)},[t]),o=Y.useCallback(function(){n.current=null,r.current&&clearTimeout(r.current)},[]);return Y.useEffect(function(){i.current=e},[e]),Y.useEffect(function(){return a(),o},[t]),[s,o,a]}function ED(e,t,n){n===void 0&&(n=[]);var r=$je(e,t),i=r[0],s=r[1],a=r[2];return Y.useEffect(a,n),[i,s]}function Bje(e){const[t,n]=Y.useState(""),[r,i]=Y.useState(""),{data:s}=WH(r),{mutateAsync:a}=Tpe(),o=Y.useMemo(()=>s!=null&&s.conflict?"Already Exists":null,[s==null?void 0:s.conflict]);ED(()=>{i(t)},500,[t]);const l=d=>{n(d.target.value)},c=async d=>{await a(d)};return U.jsx(xE,{disableAutoFocus:!0,...e,children:U.jsx(Ko,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",p:4,width:400},children:U.jsxs(Rr,{gap:4,children:[U.jsx(fi,{variant:"h5",children:"Create Your Nickname"}),U.jsx(yf,{children:U.jsx(BE,{defaultValues:{nickname:""},onSuccess:c,children:U.jsxs(Rr,{gap:4,alignItems:"flex-end",children:[U.jsx(Y_,{variant:"standard",name:"nickname",label:"Enter your nickname",required:!0,fullWidth:!0,inputProps:{maxLength:255},onChange:l,error:!!o,helperText:o}),U.jsx(yl,{type:"submit",variant:"contained",size:"large",disabled:!!o,children:"OK"})]})})})]})})})}function Uje(e){const{children:t}=e,{data:n,isSuccess:r,isLoading:i}=jqe(),s=Y.useMemo(()=>r&&!n.nickname,[r,n==null?void 0:n.nickname]);return U.jsx($H.Provider,{value:{isLoggedIn:r,isLoading:i},children:s?U.jsx(Bje,{open:!0}):t})}function zje(){const e=Yhe();return U.jsx(Rr,{width:1,height:"100vh",alignItems:"center",justifyContent:"center",children:U.jsxs(Rr,{alignItems:"center",children:[U.jsx(fi,{variant:"h5",children:"Something went wrong"}),H_(e)&&U.jsxs(fi,{variant:"subtitle1",children:["Status Code: ",e.status]})]})})}const Hje=e=>{var s;const{children:t}=e,{isLoggedIn:n}=Y.useContext($H),r=T1(),i=ei($E);return n?U.jsx(CH,{to:`/${(s=i.data)==null?void 0:s.lastWorkspaceSlug}`,state:{from:r},replace:!0}):t},qje=e=>{const{children:t}=e,{isLoggedIn:n,isLoading:r}=Y.useContext($H),i=T1();return r?U.jsx(wE,{open:!0,children:U.jsx(dh,{color:"inherit"})}):n?t:U.jsx(CH,{to:"/",state:{from:i},replace:!0})},jje=pi(U.jsx("path",{d:"M17.77 3.77 16 2 6 12l10 10 1.77-1.77L9.54 12z"}),"ArrowBackIosNew"),Wje=pi(U.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit"),Qje=pi(U.jsx("path",{d:"M3 15h8v-2H3zm0 4h8v-2H3zm0-8h8V9H3zm0-6v2h8V5zm10 0h8v14h-8z"}),"VerticalSplit"),Vje=e=>{const[t,n]=Y.useState([]);return Y.useEffect(()=>{if(!e)return;const r=()=>n(e.getPresences()??[]);r();const i=e.subscribe("others",s=>{(s.type==="presence-changed"||s.type==="watched")&&r(),s.type==="unwatched"&&n(a=>a.filter(o=>o.clientID!==s.value.clientID))});return()=>{i(),n([])}},[e]),{presenceList:t}};var JS=(e=>(e.EDIT="edit",e.BOTH="both",e.READ="read",e))(JS||{});const Gje={mode:"both",shareRole:null,doc:null,client:null,cmView:null},Zpe=Ny({name:"editor",initialState:Gje,reducers:{setMode:(e,t)=>{e.mode=t.payload},setShareRole:(e,t)=>{e.shareRole=t.payload},setDoc:(e,t)=>{e.doc=t.payload},setClient:(e,t)=>{e.client=t.payload},setCmView:(e,t)=>{Object.assign(e,{cmView:t.payload})}}}),{setMode:R9,setShareRole:Yje,setDoc:L5,setClient:M5,setCmView:Zje}=Zpe.actions,xm=e=>e.editor,Xje=Zpe.reducer,Kje={data:null},Xpe=Ny({name:"workspace",initialState:Kje,reducers:{setWorkspaceData:(e,t)=>{e.data=t.payload}}}),{setWorkspaceData:qte}=Xpe.actions,wD=e=>e.workspace,Jje=Xpe.reducer;var eE=(e=>(e.READ="READ",e.EDIT="EDIT",e))(eE||{});const eWe=pi([U.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},"0"),U.jsx("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")],"AccessTime"),QH=pi(U.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add"),tWe=pi(U.jsx("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check"),VH=pi(U.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),GH=pi(U.jsx("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"}),"ContentCopy"),Kpe=pi(U.jsx("path",{d:"M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1"}),"DarkMode"),nWe=pi(U.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown"),rWe=pi(U.jsx("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp"),iWe=pi([U.jsx("path",{d:"M17.59 18 19 16.59 14.42 12 19 7.41 17.59 6l-6 6z"},"0"),U.jsx("path",{d:"m11 18 1.41-1.41L7.83 12l4.58-4.59L11 6l-6 6z"},"1")],"KeyboardDoubleArrowLeft"),sWe=pi([U.jsx("path",{d:"M6.41 6 5 7.41 9.58 12 5 16.59 6.41 18l6-6z"},"0"),U.jsx("path",{d:"m13 6-1.41 1.41L16.17 12l-4.58 4.59L13 18l6-6z"},"1")],"KeyboardDoubleArrowRight"),Jpe=pi(U.jsx("path",{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z"}),"LightMode"),aWe=pi(U.jsx("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"}),"Logout"),oWe=pi([U.jsx("circle",{cx:"10",cy:"8",r:"4"},"0"),U.jsx("path",{d:"M10.67 13.02c-.22-.01-.44-.02-.67-.02-2.42 0-4.68.67-6.61 1.82-.88.52-1.39 1.5-1.39 2.53V20h9.26c-.79-1.13-1.26-2.51-1.26-4 0-1.07.25-2.07.67-2.98M20.75 16c0-.22-.03-.42-.06-.63l1.14-1.01-1-1.73-1.45.49q-.48-.405-1.08-.63L18 11h-2l-.3 1.49q-.6.225-1.08.63l-1.45-.49-1 1.73 1.14 1.01c-.03.21-.06.41-.06.63s.03.42.06.63l-1.14 1.01 1 1.73 1.45-.49q.48.405 1.08.63L16 21h2l.3-1.49q.6-.225 1.08-.63l1.45.49 1-1.73-1.14-1.01c.03-.21.06-.41.06-.63M17 18c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"},"1")],"ManageAccounts"),lWe=pi(U.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreVert"),uWe=pi(U.jsx("path",{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5s-3 1.34-3 3 1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"}),"People"),cWe=pi(U.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"Refresh"),dWe=pi(U.jsx("path",{d:"M19 12v7H5v-7H3v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7zm-6 .67 2.59-2.58L17 11.5l-5 5-5-5 1.41-1.41L11 12.67V3h2z"}),"SaveAlt"),fWe=pi(U.jsx("path",{d:"M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"}),"Send"),hWe=pi(U.jsx("path",{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92s2.92-1.31 2.92-2.92-1.31-2.92-2.92-2.92"}),"Share"),pWe=pi(U.jsx("path",{d:"M11 21H5c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h6zm2 0h6c1.1 0 2-.9 2-2v-7h-8zm8-11V5c0-1.1-.9-2-2-2h-6v7z"}),"SpaceDashboard"),mWe=pi(U.jsx("path",{d:"M17 7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h10c2.76 0 5-2.24 5-5s-2.24-5-5-5M7 15c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3"}),"ToggleOff"),gWe=pi(U.jsx("path",{d:"M17 7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h10c2.76 0 5-2.24 5-5s-2.24-5-5-5m0 8c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3"}),"ToggleOn"),bWe={data:null},e0e=Ny({name:"document",initialState:bWe,reducers:{setDocumentData:(e,t)=>{e.data=t.payload}}}),{setDocumentData:F5}=e0e.actions,Z_=e=>e.document,yWe=e0e.reducer,vWe=()=>Rp({mutationFn:async e=>(await kr.post("/files",e)).data}),SWe=()=>Rp({mutationFn:async e=>kr.put(e.url,new Blob([e.file]),{headers:{Authorization:void 0,"Content-Type":e.file.type}})}),OWe=()=>Rp({mutationFn:async e=>{const{exportType:t,content:n,fileName:r}=e;return await kr.post("/files/export-markdown",{exportType:t,content:n,fileName:r},{responseType:"blob",headers:{Accept:"application/octet-stream"}})}}),EWe=()=>{const{enqueueSnackbar:e}=FE(),t=ei(xm),n=ei(Z_),r=OWe(),i=Y.useCallback(async l=>{var c,d,f;try{const p=((d=(c=t.doc)==null?void 0:c.getRoot().content)==null?void 0:d.toString())||"",g=((f=n.data)==null?void 0:f.title)||"codepair_document";e(`${l.toUpperCase()} file export started`,{variant:"info"});const b=await r.mutateAsync({exportType:l,content:p,fileName:g}),w=b.headers["content-disposition"],x=w==null?void 0:w.match(/filename="?(.+)"?\s*$/i),T=x?x[1]:`${g}.${l}`,_=new Blob([b.data],{type:b.headers["content-type"]}),C=window.URL.createObjectURL(_),I=document.createElement("a");I.href=C,I.setAttribute("download",T),document.body.appendChild(I),I.click(),document.body.removeChild(I),window.URL.revokeObjectURL(C),e(`${l.toUpperCase()} file exported successfully`,{variant:"success"})}catch(p){console.error("Error:",p),e(`Failed to export ${l.toUpperCase()} file`,{variant:"error"})}},[t,n,e,r]);return{handleExportToPDF:()=>i("pdf"),handleExportToHTML:()=>i("html"),handleExportToMarkdown:()=>i("markdown")}};function wWe(){const[e,t]=Y.useState(null),n=o=>{t(o.currentTarget)},r=()=>{t(null)},{handleExportToPDF:i,handleExportToHTML:s,handleExportToMarkdown:a}=EWe();return U.jsxs(Ko,{children:[U.jsx(Gl,{"aria-controls":"download-menu","aria-haspopup":"true",onClick:n,children:U.jsx(dWe,{})}),U.jsxs(Wz,{id:"download-menu",anchorEl:e,keepMounted:!0,open:!!e,onClose:r,children:[U.jsx(oc,{onClick:i,children:"Download as PDF"}),U.jsx(oc,{onClick:s,children:"Download as HTML"}),U.jsx(oc,{onClick:a,children:"Download as Markdown"})]})]})}const eO=["No Limit","30 minutes","1 hour","8 hours","24 hours","7 days"];//! moment.js //! version : 2.30.1 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors //! license : MIT //! momentjs.com -var e0e;function An(){return e0e.apply(null,arguments)}function wWe(e){e0e=e}function fh(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Gb(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function ji(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function YH(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(ji(e,t))return!1;return!0}function Qu(e){return e===void 0}function mm(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function X_(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function t0e(e,t){var n=[],r,i=e.length;for(r=0;r>>0,r;for(r=0;r0)for(n=0;n>>0,r;for(r=0;r0)for(n=0;n=0;return(s?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var JH=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,A4=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,LP={},tO={};function dr(e,t,n,r){var i=r;typeof r=="string"&&(i=function(){return this[r]()}),e&&(tO[e]=i),t&&(tO[t[0]]=function(){return kp(i.apply(this,arguments),t[1],t[2])}),n&&(tO[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function AWe(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function CWe(e){var t=e.match(JH),n,r;for(n=0,r=t.length;n=0&&A4.test(e);)e=e.replace(A4,r),A4.lastIndex=0,n-=1;return e}var RWe={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function IWe(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(JH).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var DWe="Invalid date";function NWe(){return this._invalidDate}var PWe="%d",LWe=/\d{1,2}/;function MWe(e){return this._ordinal.replace("%d",e)}var FWe={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function $We(e,t,n,r){var i=this._relativeTime[n];return Pp(i)?i(e,t,n,r):i.replace(/%d/i,e)}function BWe(e,t){var n=this._relativeTime[e>0?"future":"past"];return Pp(n)?n(t):n.replace(/%s/i,t)}var Qte={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Ef(e){return typeof e=="string"?Qte[e]||Qte[e.toLowerCase()]:void 0}function eq(e){var t={},n,r;for(r in e)ji(e,r)&&(n=Ef(r),n&&(t[n]=e[r]));return t}var UWe={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function zWe(e){var t=[],n;for(n in e)ji(e,n)&&t.push({unit:n,priority:UWe[n]});return t.sort(function(r,i){return r.priority-i.priority}),t}var s0e=/\d/,yd=/\d\d/,a0e=/\d{3}/,tq=/\d{4}/,TD=/[+-]?\d{6}/,Ks=/\d\d?/,o0e=/\d\d\d\d?/,l0e=/\d\d\d\d\d\d?/,kD=/\d{1,3}/,nq=/\d{1,4}/,_D=/[+-]?\d{1,6}/,UE=/\d+/,AD=/[+-]?\d+/,HWe=/Z|[+-]\d\d:?\d\d/gi,CD=/Z|[+-]\d\d(?::?\d\d)?/gi,qWe=/[+-]?\d+(\.\d{1,3})?/,J_=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,zE=/^[1-9]\d?/,rq=/^([1-9]\d|\d)/,$5;$5={};function qn(e,t,n){$5[e]=Pp(t)?t:function(r,i){return r&&n?n:t}}function jWe(e,t){return ji($5,e)?$5[e](t._strict,t._locale):new RegExp(WWe(e))}function WWe(e){return em(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,i,s){return n||r||i||s}))}function em(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Yd(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Ei(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=Yd(t)),n}var P9={};function vs(e,t){var n,r=t,i;for(typeof e=="string"&&(e=[e]),mm(t)&&(r=function(s,a){a[t]=Ei(s)}),i=e.length,n=0;n68?1900:2e3)};var u0e=HE("FullYear",!0);function YWe(){return RD(this.year())}function HE(e,t){return function(n){return n!=null?(c0e(this,e,n),An.updateOffset(this,t),this):kk(this,e)}}function kk(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function c0e(e,t,n){var r,i,s,a,o;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(i?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(i?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(i?r.setUTCHours(n):r.setHours(n));case"Date":return void(i?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}s=n,a=e.month(),o=e.date(),o=o===29&&a===1&&!RD(s)?28:o,i?r.setUTCFullYear(s,a,o):r.setFullYear(s,a,o)}}function ZWe(e){return e=Ef(e),Pp(this[e])?this[e]():this}function XWe(e,t){if(typeof e=="object"){e=eq(e);var n=zWe(e),r,i=n.length;for(r=0;r=0?(o=new Date(e+400,t,n,r,i,s,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,r,i,s,a),o}function _k(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function B5(e,t,n){var r=7+t-n,i=(7+_k(e,0,r).getUTCDay()-t)%7;return-i+r-1}function g0e(e,t,n,r,i){var s=(7+n-r)%7,a=B5(e,r,i),o=1+7*(t-1)+s+a,l,c;return o<=0?(l=e-1,c=wT(l)+o):o>wT(e)?(l=e+1,c=o-wT(e)):(l=e,c=o),{year:l,dayOfYear:c}}function Ak(e,t,n){var r=B5(e.year(),t,n),i=Math.floor((e.dayOfYear()-r-1)/7)+1,s,a;return i<1?(a=e.year()-1,s=i+tm(a,t,n)):i>tm(e.year(),t,n)?(s=i-tm(e.year(),t,n),a=e.year()+1):(a=e.year(),s=i),{week:s,year:a}}function tm(e,t,n){var r=B5(e,t,n),i=B5(e+1,t,n);return(wT(e)-r+i)/7}dr("w",["ww",2],"wo","week");dr("W",["WW",2],"Wo","isoWeek");qn("w",Ks,zE);qn("ww",Ks,yd);qn("W",Ks,zE);qn("WW",Ks,yd);eA(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=Ei(e)});function cQe(e){return Ak(e,this._week.dow,this._week.doy).week}var dQe={dow:0,doy:6};function fQe(){return this._week.dow}function hQe(){return this._week.doy}function pQe(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function mQe(e){var t=Ak(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}dr("d",0,"do","day");dr("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});dr("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});dr("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});dr("e",0,0,"weekday");dr("E",0,0,"isoWeekday");qn("d",Ks);qn("e",Ks);qn("E",Ks);qn("dd",function(e,t){return t.weekdaysMinRegex(e)});qn("ddd",function(e,t){return t.weekdaysShortRegex(e)});qn("dddd",function(e,t){return t.weekdaysRegex(e)});eA(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);i!=null?t.d=i:Wr(n).invalidWeekday=e});eA(["d","e","E"],function(e,t,n,r){t[r]=Ei(e)});function gQe(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function bQe(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function sq(e,t){return e.slice(t,7).concat(e.slice(0,t))}var yQe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),b0e="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),vQe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),SQe=J_,OQe=J_,EQe=J_;function wQe(e,t){var n=fh(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?sq(n,this._week.dow):e?n[e.day()]:n}function xQe(e){return e===!0?sq(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function TQe(e){return e===!0?sq(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function kQe(e,t,n){var r,i,s,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)s=Np([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(s,"").toLocaleLowerCase();return n?t==="dddd"?(i=Va.call(this._weekdaysParse,a),i!==-1?i:null):t==="ddd"?(i=Va.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=Va.call(this._minWeekdaysParse,a),i!==-1?i:null):t==="dddd"?(i=Va.call(this._weekdaysParse,a),i!==-1||(i=Va.call(this._shortWeekdaysParse,a),i!==-1)?i:(i=Va.call(this._minWeekdaysParse,a),i!==-1?i:null)):t==="ddd"?(i=Va.call(this._shortWeekdaysParse,a),i!==-1||(i=Va.call(this._weekdaysParse,a),i!==-1)?i:(i=Va.call(this._minWeekdaysParse,a),i!==-1?i:null)):(i=Va.call(this._minWeekdaysParse,a),i!==-1||(i=Va.call(this._weekdaysParse,a),i!==-1)?i:(i=Va.call(this._shortWeekdaysParse,a),i!==-1?i:null))}function _Qe(e,t,n){var r,i,s;if(this._weekdaysParseExact)return kQe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=Np([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(s="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(s.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(n&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function AQe(e){if(!this.isValid())return e!=null?this:NaN;var t=kk(this,"Day");return e!=null?(e=gQe(e,this.localeData()),this.add(e-t,"d")):t}function CQe(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function RQe(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=bQe(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function IQe(e){return this._weekdaysParseExact?(ji(this,"_weekdaysRegex")||aq.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(ji(this,"_weekdaysRegex")||(this._weekdaysRegex=SQe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function DQe(e){return this._weekdaysParseExact?(ji(this,"_weekdaysRegex")||aq.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(ji(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=OQe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function NQe(e){return this._weekdaysParseExact?(ji(this,"_weekdaysRegex")||aq.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(ji(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=EQe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function aq(){function e(d,f){return f.length-d.length}var t=[],n=[],r=[],i=[],s,a,o,l,c;for(s=0;s<7;s++)a=Np([2e3,1]).day(s),o=em(this.weekdaysMin(a,"")),l=em(this.weekdaysShort(a,"")),c=em(this.weekdays(a,"")),t.push(o),n.push(l),r.push(c),i.push(o),i.push(l),i.push(c);t.sort(e),n.sort(e),r.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function oq(){return this.hours()%12||12}function PQe(){return this.hours()||24}dr("H",["HH",2],0,"hour");dr("h",["hh",2],0,oq);dr("k",["kk",2],0,PQe);dr("hmm",0,0,function(){return""+oq.apply(this)+kp(this.minutes(),2)});dr("hmmss",0,0,function(){return""+oq.apply(this)+kp(this.minutes(),2)+kp(this.seconds(),2)});dr("Hmm",0,0,function(){return""+this.hours()+kp(this.minutes(),2)});dr("Hmmss",0,0,function(){return""+this.hours()+kp(this.minutes(),2)+kp(this.seconds(),2)});function y0e(e,t){dr(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}y0e("a",!0);y0e("A",!1);function v0e(e,t){return t._meridiemParse}qn("a",v0e);qn("A",v0e);qn("H",Ks,rq);qn("h",Ks,zE);qn("k",Ks,zE);qn("HH",Ks,yd);qn("hh",Ks,yd);qn("kk",Ks,yd);qn("hmm",o0e);qn("hmmss",l0e);qn("Hmm",o0e);qn("Hmmss",l0e);vs(["H","HH"],Ro);vs(["k","kk"],function(e,t,n){var r=Ei(e);t[Ro]=r===24?0:r});vs(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});vs(["h","hh"],function(e,t,n){t[Ro]=Ei(e),Wr(n).bigHour=!0});vs("hmm",function(e,t,n){var r=e.length-2;t[Ro]=Ei(e.substr(0,r)),t[nh]=Ei(e.substr(r)),Wr(n).bigHour=!0});vs("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ro]=Ei(e.substr(0,r)),t[nh]=Ei(e.substr(r,2)),t[Y0]=Ei(e.substr(i)),Wr(n).bigHour=!0});vs("Hmm",function(e,t,n){var r=e.length-2;t[Ro]=Ei(e.substr(0,r)),t[nh]=Ei(e.substr(r))});vs("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ro]=Ei(e.substr(0,r)),t[nh]=Ei(e.substr(r,2)),t[Y0]=Ei(e.substr(i))});function LQe(e){return(e+"").toLowerCase().charAt(0)==="p"}var MQe=/[ap]\.?m?\.?/i,FQe=HE("Hours",!0);function $Qe(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var S0e={calendar:kWe,longDateFormat:RWe,invalidDate:DWe,ordinal:PWe,dayOfMonthOrdinalParse:LWe,relativeTime:FWe,months:JWe,monthsShort:d0e,week:dQe,weekdays:yQe,weekdaysMin:vQe,weekdaysShort:b0e,meridiemParse:MQe},aa={},gw={},Ck;function BQe(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(i=ID(s.slice(0,n).join("-")),i)return i;if(r&&r.length>=n&&BQe(s,r)>=n-1)break;n--}t++}return Ck}function zQe(e){return!!(e&&e.match("^[^/\\\\]*$"))}function ID(e){var t=null,n;if(aa[e]===void 0&&typeof kR<"u"&&kR&&kR.exports&&zQe(e))try{t=Ck._abbr,n=require,n("./locale/"+e),e1(t)}catch{aa[e]=null}return aa[e]}function e1(e,t){var n;return e&&(Qu(t)?n=Tm(e):n=lq(e,t),n?Ck=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ck._abbr}function lq(e,t){if(t!==null){var n,r=S0e;if(t.abbr=e,aa[e]!=null)r0e("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=aa[e]._config;else if(t.parentLocale!=null)if(aa[t.parentLocale]!=null)r=aa[t.parentLocale]._config;else if(n=ID(t.parentLocale),n!=null)r=n._config;else return gw[t.parentLocale]||(gw[t.parentLocale]=[]),gw[t.parentLocale].push({name:e,config:t}),null;return aa[e]=new KH(D9(r,t)),gw[e]&&gw[e].forEach(function(i){lq(i.name,i.config)}),e1(e),aa[e]}else return delete aa[e],null}function HQe(e,t){if(t!=null){var n,r,i=S0e;aa[e]!=null&&aa[e].parentLocale!=null?aa[e].set(D9(aa[e]._config,t)):(r=ID(e),r!=null&&(i=r._config),t=D9(i,t),r==null&&(t.abbr=e),n=new KH(t),n.parentLocale=aa[e],aa[e]=n),e1(e)}else aa[e]!=null&&(aa[e].parentLocale!=null?(aa[e]=aa[e].parentLocale,e===e1()&&e1(e)):aa[e]!=null&&delete aa[e]);return aa[e]}function Tm(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ck;if(!fh(e)){if(t=ID(e),t)return t;e=[e]}return UQe(e)}function qQe(){return N9(aa)}function uq(e){var t,n=e._a;return n&&Wr(e).overflow===-2&&(t=n[G0]<0||n[G0]>11?G0:n[up]<1||n[up]>iq(n[Wl],n[G0])?up:n[Ro]<0||n[Ro]>24||n[Ro]===24&&(n[nh]!==0||n[Y0]!==0||n[kb]!==0)?Ro:n[nh]<0||n[nh]>59?nh:n[Y0]<0||n[Y0]>59?Y0:n[kb]<0||n[kb]>999?kb:-1,Wr(e)._overflowDayOfYear&&(tup)&&(t=up),Wr(e)._overflowWeeks&&t===-1&&(t=VWe),Wr(e)._overflowWeekday&&t===-1&&(t=GWe),Wr(e).overflow=t),e}var jQe=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,WQe=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,QQe=/Z|[+-]\d\d(?::?\d\d)?/,C4=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],MP=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],VQe=/^\/?Date\((-?\d+)/i,GQe=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,YQe={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function O0e(e){var t,n,r=e._i,i=jQe.exec(r)||WQe.exec(r),s,a,o,l,c=C4.length,d=MP.length;if(i){for(Wr(e).iso=!0,t=0,n=c;twT(a)||e._dayOfYear===0)&&(Wr(e)._overflowDayOfYear=!0),n=_k(a,0,e._dayOfYear),e._a[G0]=n.getUTCMonth(),e._a[up]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=i[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Ro]===24&&e._a[nh]===0&&e._a[Y0]===0&&e._a[kb]===0&&(e._nextDay=!0,e._a[Ro]=0),e._d=(e._useUTC?_k:uQe).apply(null,r),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ro]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==s&&(Wr(e).weekdayMismatch=!0)}}function rVe(e){var t,n,r,i,s,a,o,l,c;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(s=1,a=4,n=aS(t.GG,e._a[Wl],Ak(Xs(),1,4).year),r=aS(t.W,1),i=aS(t.E,1),(i<1||i>7)&&(l=!0)):(s=e._locale._week.dow,a=e._locale._week.doy,c=Ak(Xs(),s,a),n=aS(t.gg,e._a[Wl],c.year),r=aS(t.w,c.week),t.d!=null?(i=t.d,(i<0||i>6)&&(l=!0)):t.e!=null?(i=t.e+s,(t.e<0||t.e>6)&&(l=!0)):i=s),r<1||r>tm(n,s,a)?Wr(e)._overflowWeeks=!0:l!=null?Wr(e)._overflowWeekday=!0:(o=g0e(n,r,i,s,a),e._a[Wl]=o.year,e._dayOfYear=o.dayOfYear)}An.ISO_8601=function(){};An.RFC_2822=function(){};function dq(e){if(e._f===An.ISO_8601){O0e(e);return}if(e._f===An.RFC_2822){E0e(e);return}e._a=[],Wr(e).empty=!0;var t=""+e._i,n,r,i,s,a,o=t.length,l=0,c,d;for(i=i0e(e._f,e._locale).match(JH)||[],d=i.length,n=0;n0&&Wr(e).unusedInput.push(a),t=t.slice(t.indexOf(r)+r.length),l+=r.length),tO[s]?(r?Wr(e).empty=!1:Wr(e).unusedTokens.push(s),QWe(s,r,e)):e._strict&&!r&&Wr(e).unusedTokens.push(s);Wr(e).charsLeftOver=o-l,t.length>0&&Wr(e).unusedInput.push(t),e._a[Ro]<=12&&Wr(e).bigHour===!0&&e._a[Ro]>0&&(Wr(e).bigHour=void 0),Wr(e).parsedDateParts=e._a.slice(0),Wr(e).meridiem=e._meridiem,e._a[Ro]=iVe(e._locale,e._a[Ro],e._meridiem),c=Wr(e).era,c!==null&&(e._a[Wl]=e._locale.erasConvertYear(c,e._a[Wl])),cq(e),uq(e)}function iVe(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function sVe(e){var t,n,r,i,s,a,o=!1,l=e._f.length;if(l===0){Wr(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;ithis?this:e:xD()});function T0e(e,t){var n,r;if(t.length===1&&fh(t[0])&&(t=t[0]),!t.length)return Xs();for(n=t[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function kVe(){if(!Qu(this._isDSTShifted))return this._isDSTShifted;var e={},t;return XH(e,this),e=w0e(e),e._a?(t=e._isUTC?Np(e._a):Xs(e._a),this._isDSTShifted=this.isValid()&&bVe(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function _Ve(){return this.isValid()?!this._isUTC:!1}function AVe(){return this.isValid()?this._isUTC:!1}function _0e(){return this.isValid()?this._isUTC&&this._offset===0:!1}var CVe=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,RVe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function vh(e,t){var n=e,r=null,i,s,a;return Y3(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:mm(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=CVe.exec(e))?(i=r[1]==="-"?-1:1,n={y:0,d:Ei(r[up])*i,h:Ei(r[Ro])*i,m:Ei(r[nh])*i,s:Ei(r[Y0])*i,ms:Ei(L9(r[kb]*1e3))*i}):(r=RVe.exec(e))?(i=r[1]==="-"?-1:1,n={y:tb(r[2],i),M:tb(r[3],i),w:tb(r[4],i),d:tb(r[5],i),h:tb(r[6],i),m:tb(r[7],i),s:tb(r[8],i)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(a=IVe(Xs(n.from),Xs(n.to)),n={},n.ms=a.milliseconds,n.M=a.months),s=new DD(n),Y3(e)&&ji(e,"_locale")&&(s._locale=e._locale),Y3(e)&&ji(e,"_isValid")&&(s._isValid=e._isValid),s}vh.fn=DD.prototype;vh.invalid=gVe;function tb(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Gte(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function IVe(e,t){var n;return e.isValid()&&t.isValid()?(t=hq(t,e),e.isBefore(t)?n=Gte(e,t):(n=Gte(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function A0e(e,t){return function(n,r){var i,s;return r!==null&&!isNaN(+r)&&(r0e(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),s=n,n=r,r=s),i=vh(n,r),C0e(this,i,e),this}}function C0e(e,t,n,r){var i=t._milliseconds,s=L9(t._days),a=L9(t._months);e.isValid()&&(r=r??!0,a&&h0e(e,kk(e,"Month")+a*n),s&&c0e(e,"Date",kk(e,"Date")+s*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&An.updateOffset(e,s||a))}var DVe=A0e(1,"add"),NVe=A0e(-1,"subtract");function R0e(e){return typeof e=="string"||e instanceof String}function PVe(e){return hh(e)||X_(e)||R0e(e)||mm(e)||MVe(e)||LVe(e)||e===null||e===void 0}function LVe(e){var t=Gb(e)&&!YH(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,s,a=r.length;for(i=0;in.valueOf():n.valueOf()9999?G3(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Pp(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",G3(n,"Z")):G3(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ZVe(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,i,s;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",s=t+'[")]',this.format(n+r+i+s)}function XVe(e){e||(e=this.isUtc()?An.defaultFormatUtc:An.defaultFormat);var t=G3(this,e);return this.localeData().postformat(t)}function KVe(e,t){return this.isValid()&&(hh(e)&&e.isValid()||Xs(e).isValid())?vh({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function JVe(e){return this.from(Xs(),e)}function eGe(e,t){return this.isValid()&&(hh(e)&&e.isValid()||Xs(e).isValid())?vh({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function tGe(e){return this.to(Xs(),e)}function I0e(e){var t;return e===void 0?this._locale._abbr:(t=Tm(e),t!=null&&(this._locale=t),this)}var D0e=Of("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function N0e(){return this._locale}var U5=1e3,nO=60*U5,z5=60*nO,P0e=(365*400+97)*24*z5;function rO(e,t){return(e%t+t)%t}function L0e(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-P0e:new Date(e,t,n).valueOf()}function M0e(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-P0e:Date.UTC(e,t,n)}function nGe(e){var t,n;if(e=Ef(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?M0e:L0e,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=rO(t+(this._isUTC?0:this.utcOffset()*nO),z5);break;case"minute":t=this._d.valueOf(),t-=rO(t,nO);break;case"second":t=this._d.valueOf(),t-=rO(t,U5);break}return this._d.setTime(t),An.updateOffset(this,!0),this}function rGe(e){var t,n;if(e=Ef(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?M0e:L0e,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=z5-rO(t+(this._isUTC?0:this.utcOffset()*nO),z5)-1;break;case"minute":t=this._d.valueOf(),t+=nO-rO(t,nO)-1;break;case"second":t=this._d.valueOf(),t+=U5-rO(t,U5)-1;break}return this._d.setTime(t),An.updateOffset(this,!0),this}function iGe(){return this._d.valueOf()-(this._offset||0)*6e4}function sGe(){return Math.floor(this.valueOf()/1e3)}function aGe(){return new Date(this.valueOf())}function oGe(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function lGe(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function uGe(){return this.isValid()?this.toISOString():null}function cGe(){return ZH(this)}function dGe(){return Bg({},Wr(this))}function fGe(){return Wr(this).overflow}function hGe(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}dr("N",0,0,"eraAbbr");dr("NN",0,0,"eraAbbr");dr("NNN",0,0,"eraAbbr");dr("NNNN",0,0,"eraName");dr("NNNNN",0,0,"eraNarrow");dr("y",["y",1],"yo","eraYear");dr("y",["yy",2],0,"eraYear");dr("y",["yyy",3],0,"eraYear");dr("y",["yyyy",4],0,"eraYear");qn("N",pq);qn("NN",pq);qn("NNN",pq);qn("NNNN",xGe);qn("NNNNN",TGe);vs(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?Wr(n).era=i:Wr(n).invalidEra=e});qn("y",UE);qn("yy",UE);qn("yyy",UE);qn("yyyy",UE);qn("yo",kGe);vs(["y","yy","yyy","yyyy"],Wl);vs(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Wl]=n._locale.eraYearOrdinalParse(e,i):t[Wl]=parseInt(e,10)});function pGe(e,t){var n,r,i,s=this._eras||Tm("en")._eras;for(n=0,r=s.length;n=0)return s[r]}function gGe(e,t){var n=e.since<=e.until?1:-1;return t===void 0?An(e.since).year():An(e.since).year()+(t-e.offset)*n}function bGe(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;es&&(t=s),NGe.call(this,e,t,n,r,i))}function NGe(e,t,n,r,i){var s=g0e(e,t,n,r,i),a=_k(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}dr("Q",0,"Qo","quarter");qn("Q",s0e);vs("Q",function(e,t){t[G0]=(Ei(e)-1)*3});function PGe(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}dr("D",["DD",2],"Do","date");qn("D",Ks,zE);qn("DD",Ks,yd);qn("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});vs(["D","DD"],up);vs("Do",function(e,t){t[up]=Ei(e.match(Ks)[0])});var $0e=HE("Date",!0);dr("DDD",["DDDD",3],"DDDo","dayOfYear");qn("DDD",kD);qn("DDDD",a0e);vs(["DDD","DDDD"],function(e,t,n){n._dayOfYear=Ei(e)});function LGe(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}dr("m",["mm",2],0,"minute");qn("m",Ks,rq);qn("mm",Ks,yd);vs(["m","mm"],nh);var MGe=HE("Minutes",!1);dr("s",["ss",2],0,"second");qn("s",Ks,rq);qn("ss",Ks,yd);vs(["s","ss"],Y0);var FGe=HE("Seconds",!1);dr("S",0,0,function(){return~~(this.millisecond()/100)});dr(0,["SS",2],0,function(){return~~(this.millisecond()/10)});dr(0,["SSS",3],0,"millisecond");dr(0,["SSSS",4],0,function(){return this.millisecond()*10});dr(0,["SSSSS",5],0,function(){return this.millisecond()*100});dr(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});dr(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});dr(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});dr(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});qn("S",kD,s0e);qn("SS",kD,yd);qn("SSS",kD,a0e);var Ug,B0e;for(Ug="SSSS";Ug.length<=9;Ug+="S")qn(Ug,UE);function $Ge(e,t){t[kb]=Ei(("0."+e)*1e3)}for(Ug="S";Ug.length<=9;Ug+="S")vs(Ug,$Ge);B0e=HE("Milliseconds",!1);dr("z",0,0,"zoneAbbr");dr("zz",0,0,"zoneName");function BGe(){return this._isUTC?"UTC":""}function UGe(){return this._isUTC?"Coordinated Universal Time":""}var mn=K_.prototype;mn.add=DVe;mn.calendar=BVe;mn.clone=UVe;mn.diff=VVe;mn.endOf=rGe;mn.format=XVe;mn.from=KVe;mn.fromNow=JVe;mn.to=eGe;mn.toNow=tGe;mn.get=ZWe;mn.invalidAt=fGe;mn.isAfter=zVe;mn.isBefore=HVe;mn.isBetween=qVe;mn.isSame=jVe;mn.isSameOrAfter=WVe;mn.isSameOrBefore=QVe;mn.isValid=cGe;mn.lang=D0e;mn.locale=I0e;mn.localeData=N0e;mn.max=cVe;mn.min=uVe;mn.parsingFlags=dGe;mn.set=XWe;mn.startOf=nGe;mn.subtract=NVe;mn.toArray=oGe;mn.toObject=lGe;mn.toDate=aGe;mn.toISOString=YVe;mn.inspect=ZVe;typeof Symbol<"u"&&Symbol.for!=null&&(mn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});mn.toJSON=uGe;mn.toString=GVe;mn.unix=sGe;mn.valueOf=iGe;mn.creationData=hGe;mn.eraName=bGe;mn.eraNarrow=yGe;mn.eraAbbr=vGe;mn.eraYear=SGe;mn.year=u0e;mn.isLeapYear=YWe;mn.weekYear=_Ge;mn.isoWeekYear=AGe;mn.quarter=mn.quarters=PGe;mn.month=p0e;mn.daysInMonth=aQe;mn.week=mn.weeks=pQe;mn.isoWeek=mn.isoWeeks=mQe;mn.weeksInYear=IGe;mn.weeksInWeekYear=DGe;mn.isoWeeksInYear=CGe;mn.isoWeeksInISOWeekYear=RGe;mn.date=$0e;mn.day=mn.days=AQe;mn.weekday=CQe;mn.isoWeekday=RQe;mn.dayOfYear=LGe;mn.hour=mn.hours=FQe;mn.minute=mn.minutes=MGe;mn.second=mn.seconds=FGe;mn.millisecond=mn.milliseconds=B0e;mn.utcOffset=vVe;mn.utc=OVe;mn.local=EVe;mn.parseZone=wVe;mn.hasAlignedHourOffset=xVe;mn.isDST=TVe;mn.isLocal=_Ve;mn.isUtcOffset=AVe;mn.isUtc=_0e;mn.isUTC=_0e;mn.zoneAbbr=BGe;mn.zoneName=UGe;mn.dates=Of("dates accessor is deprecated. Use date instead.",$0e);mn.months=Of("months accessor is deprecated. Use month instead",p0e);mn.years=Of("years accessor is deprecated. Use year instead",u0e);mn.zone=Of("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",SVe);mn.isDSTShifted=Of("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",kVe);function zGe(e){return Xs(e*1e3)}function HGe(){return Xs.apply(null,arguments).parseZone()}function U0e(e){return e}var Wi=KH.prototype;Wi.calendar=_We;Wi.longDateFormat=IWe;Wi.invalidDate=NWe;Wi.ordinal=MWe;Wi.preparse=U0e;Wi.postformat=U0e;Wi.relativeTime=$We;Wi.pastFuture=BWe;Wi.set=TWe;Wi.eras=pGe;Wi.erasParse=mGe;Wi.erasConvertYear=gGe;Wi.erasAbbrRegex=EGe;Wi.erasNameRegex=OGe;Wi.erasNarrowRegex=wGe;Wi.months=nQe;Wi.monthsShort=rQe;Wi.monthsParse=sQe;Wi.monthsRegex=lQe;Wi.monthsShortRegex=oQe;Wi.week=cQe;Wi.firstDayOfYear=hQe;Wi.firstDayOfWeek=fQe;Wi.weekdays=wQe;Wi.weekdaysMin=TQe;Wi.weekdaysShort=xQe;Wi.weekdaysParse=_Qe;Wi.weekdaysRegex=IQe;Wi.weekdaysShortRegex=DQe;Wi.weekdaysMinRegex=NQe;Wi.isPM=LQe;Wi.meridiem=$Qe;function H5(e,t,n,r){var i=Tm(),s=Np().set(r,t);return i[n](s,e)}function z0e(e,t,n){if(mm(e)&&(t=e,e=void 0),e=e||"",t!=null)return H5(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=H5(e,r,n,"month");return i}function gq(e,t,n,r){typeof e=="boolean"?(mm(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,mm(t)&&(n=t,t=void 0),t=t||"");var i=Tm(),s=e?i._week.dow:0,a,o=[];if(n!=null)return H5(t,(n+s)%7,r,"day");for(a=0;a<7;a++)o[a]=H5(t,(a+s)%7,r,"day");return o}function qGe(e,t){return z0e(e,t,"months")}function jGe(e,t){return z0e(e,t,"monthsShort")}function WGe(e,t,n){return gq(e,t,n,"weekdays")}function QGe(e,t,n){return gq(e,t,n,"weekdaysShort")}function VGe(e,t,n){return gq(e,t,n,"weekdaysMin")}e1("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=Ei(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});An.lang=Of("moment.lang is deprecated. Use moment.locale instead.",e1);An.langData=Of("moment.langData is deprecated. Use moment.localeData instead.",Tm);var D0=Math.abs;function GGe(){var e=this._data;return this._milliseconds=D0(this._milliseconds),this._days=D0(this._days),this._months=D0(this._months),e.milliseconds=D0(e.milliseconds),e.seconds=D0(e.seconds),e.minutes=D0(e.minutes),e.hours=D0(e.hours),e.months=D0(e.months),e.years=D0(e.years),this}function H0e(e,t,n,r){var i=vh(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function YGe(e,t){return H0e(this,e,t,1)}function ZGe(e,t){return H0e(this,e,t,-1)}function Yte(e){return e<0?Math.floor(e):Math.ceil(e)}function XGe(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,i,s,a,o,l;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=Yte(F9(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,i=Yd(e/1e3),r.seconds=i%60,s=Yd(i/60),r.minutes=s%60,a=Yd(s/60),r.hours=a%24,t+=Yd(a/24),l=Yd(q0e(t)),n+=l,t-=Yte(F9(l)),o=Yd(n/12),n%=12,r.days=t,r.months=n,r.years=o,this}function q0e(e){return e*4800/146097}function F9(e){return e*146097/4800}function KGe(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=Ef(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+q0e(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(F9(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function km(e){return function(){return this.as(e)}}var j0e=km("ms"),JGe=km("s"),eYe=km("m"),tYe=km("h"),nYe=km("d"),rYe=km("w"),iYe=km("M"),sYe=km("Q"),aYe=km("y"),oYe=j0e;function lYe(){return vh(this)}function uYe(e){return e=Ef(e),this.isValid()?this[e+"s"]():NaN}function Ly(e){return function(){return this.isValid()?this._data[e]:NaN}}var cYe=Ly("milliseconds"),dYe=Ly("seconds"),fYe=Ly("minutes"),hYe=Ly("hours"),pYe=Ly("days"),mYe=Ly("months"),gYe=Ly("years");function bYe(){return Yd(this.days()/7)}var B0=Math.round,LS={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function yYe(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function vYe(e,t,n,r){var i=vh(e).abs(),s=B0(i.as("s")),a=B0(i.as("m")),o=B0(i.as("h")),l=B0(i.as("d")),c=B0(i.as("M")),d=B0(i.as("w")),f=B0(i.as("y")),p=s<=n.ss&&["s",s]||s0,p[4]=r,yYe.apply(null,p)}function SYe(e){return e===void 0?B0:typeof e=="function"?(B0=e,!0):!1}function OYe(e,t){return LS[e]===void 0?!1:t===void 0?LS[e]:(LS[e]=t,e==="s"&&(LS.ss=t-1),!0)}function EYe(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=LS,i,s;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},LS,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),i=this.localeData(),s=vYe(this,!n,r,i),n&&(s=i.pastFuture(+this,s)),i.postformat(s)}var FP=Math.abs;function Yv(e){return(e>0)-(e<0)||+e}function PD(){if(!this.isValid())return this.localeData().invalidDate();var e=FP(this._milliseconds)/1e3,t=FP(this._days),n=FP(this._months),r,i,s,a,o=this.asSeconds(),l,c,d,f;return o?(r=Yd(e/60),i=Yd(r/60),e%=60,r%=60,s=Yd(n/12),n%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=o<0?"-":"",c=Yv(this._months)!==Yv(o)?"-":"",d=Yv(this._days)!==Yv(o)?"-":"",f=Yv(this._milliseconds)!==Yv(o)?"-":"",l+"P"+(s?c+s+"Y":"")+(n?c+n+"M":"")+(t?d+t+"D":"")+(i||r||e?"T":"")+(i?f+i+"H":"")+(r?f+r+"M":"")+(e?f+a+"S":"")):"P0D"}var Li=DD.prototype;Li.isValid=mVe;Li.abs=GGe;Li.add=YGe;Li.subtract=ZGe;Li.as=KGe;Li.asMilliseconds=j0e;Li.asSeconds=JGe;Li.asMinutes=eYe;Li.asHours=tYe;Li.asDays=nYe;Li.asWeeks=rYe;Li.asMonths=iYe;Li.asQuarters=sYe;Li.asYears=aYe;Li.valueOf=oYe;Li._bubble=XGe;Li.clone=lYe;Li.get=uYe;Li.milliseconds=cYe;Li.seconds=dYe;Li.minutes=fYe;Li.hours=hYe;Li.days=pYe;Li.weeks=bYe;Li.months=mYe;Li.years=gYe;Li.humanize=EYe;Li.toISOString=PD;Li.toString=PD;Li.toJSON=PD;Li.locale=I0e;Li.localeData=N0e;Li.toIsoString=Of("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",PD);Li.lang=D0e;dr("X",0,0,"unix");dr("x",0,0,"valueOf");qn("x",AD);qn("X",qWe);vs("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});vs("x",function(e,t,n){n._d=new Date(Ei(e))});//! moment.js -An.version="2.30.1";wWe(Xs);An.fn=mn;An.min=dVe;An.max=fVe;An.now=hVe;An.utc=Np;An.unix=zGe;An.months=qGe;An.isDate=X_;An.locale=e1;An.invalid=xD;An.duration=vh;An.isMoment=hh;An.weekdays=WGe;An.parseZone=HGe;An.localeData=Tm;An.isDuration=Y3;An.monthsShort=jGe;An.weekdaysMin=VGe;An.defineLocale=lq;An.updateLocale=HQe;An.locales=qQe;An.weekdaysShort=QGe;An.normalizeUnits=Ef;An.relativeTimeRounding=SYe;An.relativeTimeThreshold=OYe;An.calendarFormat=$Ve;An.prototype=mn;An.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const W0e=e=>["workspaces",e,"documents"],Q0e=(e,t)=>["workpsaces",e,"documents",t],wYe=e=>bH({queryKey:W0e(e||""),queryFn:async({pageParam:n})=>(await kr.get(`/workspaces/${e}/documents`,{params:{cursor:n,page_size:30}})).data,enabled:!!e,initialPageParam:void 0,getPreviousPageParam:n=>n.cursor??void 0,getNextPageParam:n=>n.cursor??void 0}),xYe=(e,t)=>{const n=mc(),r=PE({queryKey:Q0e(e||"",t||""),enabled:!!(e&&t),queryFn:async()=>(await kr.get(`/workspaces/${e}/documents/${t}`)).data,meta:{errorMessage:"This is a non-existent or unauthorized document."}});return Y.useEffect(()=>(r.data&&n(F5(r.data)),()=>{n(F5(null))}),[n,r.data]),r},TYe=e=>{const t=NE();return Rp({mutationFn:async n=>(await kr.post(`/workspaces/${e}/documents`,n)).data,onSuccess:()=>{t.invalidateQueries({queryKey:W0e(e)})}})},kYe=(e,t)=>Rp({mutationFn:async n=>(await kr.post(`/workspaces/${e}/documents/${t}/share-token`,n)).data}),_Ye=(e,t)=>{const n=NE();return Rp({mutationFn:async r=>(await kr.put(`/workspaces/${e}/documents/${t}/`,r)).data,onSuccess:()=>{n.invalidateQueries({queryKey:Q0e(e,t)})}})},My={};My.write=async e=>{await navigator.clipboard.writeText(e)};My.read=async()=>navigator.clipboard.readText();My.readSync=()=>{throw new Error("`.readSync()` is not supported in browsers!")};My.writeSync=()=>{throw new Error("`.writeSync()` is not supported in browsers!")};function AYe(e){var d,f;const{...t}=e,n=k1(),[r,i]=Y.useState(null),s=ei(Z_),{mutateAsync:a}=kYe(((d=s.data)==null?void 0:d.workspaceId)||"",((f=s.data)==null?void 0:f.id)||""),{enqueueSnackbar:o}=FE(),l=async p=>{let g;if(p.expiredString===eO[0])g=null;else{const[w,x]=p.expiredString.split(" ");g=An().add(Number(w),x).toDate()}const{sharingToken:b}=await a({role:p.role,expiredAt:g});i(`${window.location.origin}/${n.workspaceSlug}/${n.documentId}/share?token=${b}`)},c=async()=>{r&&(await My.write(r),o("URL Copied!",{variant:"success"}))};return U.jsx(xE,{disableAutoFocus:!0,...t,children:U.jsxs(Ko,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",p:4,width:400},children:[U.jsx(Gl,{sx:{position:"absolute",top:28,right:28},onClick:p=>{var g;return(g=e.onClose)==null?void 0:g.call(e,p,"backdropClick")},children:U.jsx(VH,{})}),U.jsxs(Rr,{gap:1,children:[U.jsx(fi,{variant:"subtitle1",children:"Share Link"}),U.jsx(yf,{children:U.jsx(BE,{defaultValues:{expiredString:eO[0],role:Object.values(eE)[0]},onSuccess:l,children:U.jsxs(Rr,{gap:2,children:[U.jsx(C9,{label:"Role",name:"role",options:Object.values(eE).map(p=>({id:p,label:p})),size:"small",sx:{width:1},variant:"filled"}),U.jsx(C9,{label:"Expired Date",name:"expiredString",options:eO.map(p=>({id:p,label:p})),size:"small",sx:{width:1},variant:"filled"}),U.jsx(yl,{type:"submit",variant:"contained",children:"Generate"})]})})}),!!r&&U.jsxs(Rr,{direction:"row",alignItems:"center",gap:2,children:[U.jsx(fi,{variant:"body1",width:1,noWrap:!0,children:r}),U.jsx(Fg,{title:"Copy URL",children:U.jsx(Gl,{onClick:c,children:U.jsx(GH,{})})})]})]})]})})}function CYe(){const[e,t]=Y.useState(!1),n=()=>{t(r=>!r)};return U.jsxs(U.Fragment,{children:[U.jsx(Gl,{onClick:n,color:"inherit",children:U.jsx(fWe,{})}),U.jsx(AYe,{open:e,onClose:n})]})}class Oi{lineAt(t){if(t<0||t>this.length)throw new RangeError(`Invalid position ${t} in document of length ${this.length}`);return this.lineInner(t,!1,1,0)}line(t){if(t<1||t>this.lines)throw new RangeError(`Invalid line number ${t} in ${this.lines}-line document`);return this.lineInner(t,!0,1,0)}replace(t,n,r){[t,n]=tE(this,t,n);let i=[];return this.decompose(0,t,i,2),r.length&&r.decompose(0,r.length,i,3),this.decompose(n,this.length,i,1),cp.from(i,this.length-(n-t)+r.length)}append(t){return this.replace(this.length,this.length,t)}slice(t,n=this.length){[t,n]=tE(this,t,n);let r=[];return this.decompose(t,n,r,0),cp.from(r,n-t)}eq(t){if(t==this)return!0;if(t.length!=this.length||t.lines!=this.lines)return!1;let n=this.scanIdentical(t,1),r=this.length-this.scanIdentical(t,-1),i=new xT(this),s=new xT(t);for(let a=n,o=n;;){if(i.next(a),s.next(a),a=0,i.lineBreak!=s.lineBreak||i.done!=s.done||i.value!=s.value)return!1;if(o+=i.value.length,i.done||o>=r)return!0}}iter(t=1){return new xT(this,t)}iterRange(t,n=this.length){return new V0e(this,t,n)}iterLines(t,n){let r;if(t==null)r=this.iter();else{n==null&&(n=this.lines+1);let i=this.line(t).from;r=this.iterRange(i,Math.max(i,n==this.lines+1?this.length:n<=1?0:this.line(n-1).to))}return new G0e(r)}toString(){return this.sliceString(0)}toJSON(){let t=[];return this.flatten(t),t}constructor(){}static of(t){if(t.length==0)throw new RangeError("A document must have at least one line");return t.length==1&&!t[0]?Oi.empty:t.length<=32?new Ga(t):cp.from(Ga.split(t,[]))}}class Ga extends Oi{constructor(t,n=RYe(t)){super(),this.text=t,this.length=n}get lines(){return this.text.length}get children(){return null}lineInner(t,n,r,i){for(let s=0;;s++){let a=this.text[s],o=i+a.length;if((n?r:o)>=t)return new IYe(i,o,r,a);i=o+1,r++}}decompose(t,n,r,i){let s=t<=0&&n>=this.length?this:new Ga(Zte(this.text,t,n),Math.min(n,this.length)-Math.max(0,t));if(i&1){let a=r.pop(),o=X3(s.text,a.text.slice(),0,s.length);if(o.length<=32)r.push(new Ga(o,a.length+s.length));else{let l=o.length>>1;r.push(new Ga(o.slice(0,l)),new Ga(o.slice(l)))}}else r.push(s)}replace(t,n,r){if(!(r instanceof Ga))return super.replace(t,n,r);[t,n]=tE(this,t,n);let i=X3(this.text,X3(r.text,Zte(this.text,0,t)),n),s=this.length+r.length-(n-t);return i.length<=32?new Ga(i,s):cp.from(Ga.split(i,[]),s)}sliceString(t,n=this.length,r=` +`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var Wte={};function i0e(e,t){An.deprecationHandler!=null&&An.deprecationHandler(e,t),Wte[e]||(r0e(t),Wte[e]=!0)}An.suppressDeprecationWarnings=!1;An.deprecationHandler=null;function Pp(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function kWe(e){var t,n;for(n in e)ji(e,n)&&(t=e[n],Pp(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function D9(e,t){var n=Bg({},e),r;for(r in t)ji(t,r)&&(Gb(e[r])&&Gb(t[r])?(n[r]={},Bg(n[r],e[r]),Bg(n[r],t[r])):t[r]!=null?n[r]=t[r]:delete n[r]);for(r in e)ji(e,r)&&!ji(t,r)&&Gb(e[r])&&(n[r]=Bg({},n[r]));return n}function KH(e){e!=null&&this.set(e)}var N9;Object.keys?N9=Object.keys:N9=function(e){var t,n=[];for(t in e)ji(e,t)&&n.push(t);return n};var _We={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function AWe(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return Pp(r)?r.call(t,n):r}function kp(e,t,n){var r=""+Math.abs(e),i=t-r.length,s=e>=0;return(s?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var JH=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,A4=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,LP={},tO={};function dr(e,t,n,r){var i=r;typeof r=="string"&&(i=function(){return this[r]()}),e&&(tO[e]=i),t&&(tO[t[0]]=function(){return kp(i.apply(this,arguments),t[1],t[2])}),n&&(tO[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function CWe(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function RWe(e){var t=e.match(JH),n,r;for(n=0,r=t.length;n=0&&A4.test(e);)e=e.replace(A4,r),A4.lastIndex=0,n-=1;return e}var IWe={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function DWe(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(JH).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var NWe="Invalid date";function PWe(){return this._invalidDate}var LWe="%d",MWe=/\d{1,2}/;function FWe(e){return this._ordinal.replace("%d",e)}var $We={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function BWe(e,t,n,r){var i=this._relativeTime[n];return Pp(i)?i(e,t,n,r):i.replace(/%d/i,e)}function UWe(e,t){var n=this._relativeTime[e>0?"future":"past"];return Pp(n)?n(t):n.replace(/%s/i,t)}var Qte={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Ef(e){return typeof e=="string"?Qte[e]||Qte[e.toLowerCase()]:void 0}function eq(e){var t={},n,r;for(r in e)ji(e,r)&&(n=Ef(r),n&&(t[n]=e[r]));return t}var zWe={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function HWe(e){var t=[],n;for(n in e)ji(e,n)&&t.push({unit:n,priority:zWe[n]});return t.sort(function(r,i){return r.priority-i.priority}),t}var a0e=/\d/,yd=/\d\d/,o0e=/\d{3}/,tq=/\d{4}/,TD=/[+-]?\d{6}/,Ks=/\d\d?/,l0e=/\d\d\d\d?/,u0e=/\d\d\d\d\d\d?/,kD=/\d{1,3}/,nq=/\d{1,4}/,_D=/[+-]?\d{1,6}/,UE=/\d+/,AD=/[+-]?\d+/,qWe=/Z|[+-]\d\d:?\d\d/gi,CD=/Z|[+-]\d\d(?::?\d\d)?/gi,jWe=/[+-]?\d+(\.\d{1,3})?/,J_=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,zE=/^[1-9]\d?/,rq=/^([1-9]\d|\d)/,$5;$5={};function qn(e,t,n){$5[e]=Pp(t)?t:function(r,i){return r&&n?n:t}}function WWe(e,t){return ji($5,e)?$5[e](t._strict,t._locale):new RegExp(QWe(e))}function QWe(e){return em(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,i,s){return n||r||i||s}))}function em(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Yd(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Ei(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=Yd(t)),n}var P9={};function vs(e,t){var n,r=t,i;for(typeof e=="string"&&(e=[e]),mm(t)&&(r=function(s,a){a[t]=Ei(s)}),i=e.length,n=0;n68?1900:2e3)};var c0e=HE("FullYear",!0);function ZWe(){return RD(this.year())}function HE(e,t){return function(n){return n!=null?(d0e(this,e,n),An.updateOffset(this,t),this):kk(this,e)}}function kk(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function d0e(e,t,n){var r,i,s,a,o;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(i?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(i?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(i?r.setUTCHours(n):r.setHours(n));case"Date":return void(i?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}s=n,a=e.month(),o=e.date(),o=o===29&&a===1&&!RD(s)?28:o,i?r.setUTCFullYear(s,a,o):r.setFullYear(s,a,o)}}function XWe(e){return e=Ef(e),Pp(this[e])?this[e]():this}function KWe(e,t){if(typeof e=="object"){e=eq(e);var n=HWe(e),r,i=n.length;for(r=0;r=0?(o=new Date(e+400,t,n,r,i,s,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,r,i,s,a),o}function _k(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function B5(e,t,n){var r=7+t-n,i=(7+_k(e,0,r).getUTCDay()-t)%7;return-i+r-1}function b0e(e,t,n,r,i){var s=(7+n-r)%7,a=B5(e,r,i),o=1+7*(t-1)+s+a,l,c;return o<=0?(l=e-1,c=wT(l)+o):o>wT(e)?(l=e+1,c=o-wT(e)):(l=e,c=o),{year:l,dayOfYear:c}}function Ak(e,t,n){var r=B5(e.year(),t,n),i=Math.floor((e.dayOfYear()-r-1)/7)+1,s,a;return i<1?(a=e.year()-1,s=i+tm(a,t,n)):i>tm(e.year(),t,n)?(s=i-tm(e.year(),t,n),a=e.year()+1):(a=e.year(),s=i),{week:s,year:a}}function tm(e,t,n){var r=B5(e,t,n),i=B5(e+1,t,n);return(wT(e)-r+i)/7}dr("w",["ww",2],"wo","week");dr("W",["WW",2],"Wo","isoWeek");qn("w",Ks,zE);qn("ww",Ks,yd);qn("W",Ks,zE);qn("WW",Ks,yd);eA(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=Ei(e)});function dQe(e){return Ak(e,this._week.dow,this._week.doy).week}var fQe={dow:0,doy:6};function hQe(){return this._week.dow}function pQe(){return this._week.doy}function mQe(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function gQe(e){var t=Ak(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}dr("d",0,"do","day");dr("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});dr("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});dr("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});dr("e",0,0,"weekday");dr("E",0,0,"isoWeekday");qn("d",Ks);qn("e",Ks);qn("E",Ks);qn("dd",function(e,t){return t.weekdaysMinRegex(e)});qn("ddd",function(e,t){return t.weekdaysShortRegex(e)});qn("dddd",function(e,t){return t.weekdaysRegex(e)});eA(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);i!=null?t.d=i:Wr(n).invalidWeekday=e});eA(["d","e","E"],function(e,t,n,r){t[r]=Ei(e)});function bQe(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function yQe(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function sq(e,t){return e.slice(t,7).concat(e.slice(0,t))}var vQe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),y0e="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),SQe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),OQe=J_,EQe=J_,wQe=J_;function xQe(e,t){var n=fh(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?sq(n,this._week.dow):e?n[e.day()]:n}function TQe(e){return e===!0?sq(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function kQe(e){return e===!0?sq(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function _Qe(e,t,n){var r,i,s,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)s=Np([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(s,"").toLocaleLowerCase();return n?t==="dddd"?(i=Va.call(this._weekdaysParse,a),i!==-1?i:null):t==="ddd"?(i=Va.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=Va.call(this._minWeekdaysParse,a),i!==-1?i:null):t==="dddd"?(i=Va.call(this._weekdaysParse,a),i!==-1||(i=Va.call(this._shortWeekdaysParse,a),i!==-1)?i:(i=Va.call(this._minWeekdaysParse,a),i!==-1?i:null)):t==="ddd"?(i=Va.call(this._shortWeekdaysParse,a),i!==-1||(i=Va.call(this._weekdaysParse,a),i!==-1)?i:(i=Va.call(this._minWeekdaysParse,a),i!==-1?i:null)):(i=Va.call(this._minWeekdaysParse,a),i!==-1||(i=Va.call(this._weekdaysParse,a),i!==-1)?i:(i=Va.call(this._shortWeekdaysParse,a),i!==-1?i:null))}function AQe(e,t,n){var r,i,s;if(this._weekdaysParseExact)return _Qe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=Np([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(s="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(s.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(n&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function CQe(e){if(!this.isValid())return e!=null?this:NaN;var t=kk(this,"Day");return e!=null?(e=bQe(e,this.localeData()),this.add(e-t,"d")):t}function RQe(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function IQe(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=yQe(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function DQe(e){return this._weekdaysParseExact?(ji(this,"_weekdaysRegex")||aq.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(ji(this,"_weekdaysRegex")||(this._weekdaysRegex=OQe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function NQe(e){return this._weekdaysParseExact?(ji(this,"_weekdaysRegex")||aq.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(ji(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=EQe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function PQe(e){return this._weekdaysParseExact?(ji(this,"_weekdaysRegex")||aq.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(ji(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=wQe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function aq(){function e(d,f){return f.length-d.length}var t=[],n=[],r=[],i=[],s,a,o,l,c;for(s=0;s<7;s++)a=Np([2e3,1]).day(s),o=em(this.weekdaysMin(a,"")),l=em(this.weekdaysShort(a,"")),c=em(this.weekdays(a,"")),t.push(o),n.push(l),r.push(c),i.push(o),i.push(l),i.push(c);t.sort(e),n.sort(e),r.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function oq(){return this.hours()%12||12}function LQe(){return this.hours()||24}dr("H",["HH",2],0,"hour");dr("h",["hh",2],0,oq);dr("k",["kk",2],0,LQe);dr("hmm",0,0,function(){return""+oq.apply(this)+kp(this.minutes(),2)});dr("hmmss",0,0,function(){return""+oq.apply(this)+kp(this.minutes(),2)+kp(this.seconds(),2)});dr("Hmm",0,0,function(){return""+this.hours()+kp(this.minutes(),2)});dr("Hmmss",0,0,function(){return""+this.hours()+kp(this.minutes(),2)+kp(this.seconds(),2)});function v0e(e,t){dr(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}v0e("a",!0);v0e("A",!1);function S0e(e,t){return t._meridiemParse}qn("a",S0e);qn("A",S0e);qn("H",Ks,rq);qn("h",Ks,zE);qn("k",Ks,zE);qn("HH",Ks,yd);qn("hh",Ks,yd);qn("kk",Ks,yd);qn("hmm",l0e);qn("hmmss",u0e);qn("Hmm",l0e);qn("Hmmss",u0e);vs(["H","HH"],Ro);vs(["k","kk"],function(e,t,n){var r=Ei(e);t[Ro]=r===24?0:r});vs(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});vs(["h","hh"],function(e,t,n){t[Ro]=Ei(e),Wr(n).bigHour=!0});vs("hmm",function(e,t,n){var r=e.length-2;t[Ro]=Ei(e.substr(0,r)),t[nh]=Ei(e.substr(r)),Wr(n).bigHour=!0});vs("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ro]=Ei(e.substr(0,r)),t[nh]=Ei(e.substr(r,2)),t[Y0]=Ei(e.substr(i)),Wr(n).bigHour=!0});vs("Hmm",function(e,t,n){var r=e.length-2;t[Ro]=Ei(e.substr(0,r)),t[nh]=Ei(e.substr(r))});vs("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ro]=Ei(e.substr(0,r)),t[nh]=Ei(e.substr(r,2)),t[Y0]=Ei(e.substr(i))});function MQe(e){return(e+"").toLowerCase().charAt(0)==="p"}var FQe=/[ap]\.?m?\.?/i,$Qe=HE("Hours",!0);function BQe(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var O0e={calendar:_We,longDateFormat:IWe,invalidDate:NWe,ordinal:LWe,dayOfMonthOrdinalParse:MWe,relativeTime:$We,months:eQe,monthsShort:f0e,week:fQe,weekdays:vQe,weekdaysMin:SQe,weekdaysShort:y0e,meridiemParse:FQe},aa={},gw={},Ck;function UQe(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(i=ID(s.slice(0,n).join("-")),i)return i;if(r&&r.length>=n&&UQe(s,r)>=n-1)break;n--}t++}return Ck}function HQe(e){return!!(e&&e.match("^[^/\\\\]*$"))}function ID(e){var t=null,n;if(aa[e]===void 0&&typeof kR<"u"&&kR&&kR.exports&&HQe(e))try{t=Ck._abbr,n=require,n("./locale/"+e),e1(t)}catch{aa[e]=null}return aa[e]}function e1(e,t){var n;return e&&(Qu(t)?n=Tm(e):n=lq(e,t),n?Ck=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ck._abbr}function lq(e,t){if(t!==null){var n,r=O0e;if(t.abbr=e,aa[e]!=null)i0e("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=aa[e]._config;else if(t.parentLocale!=null)if(aa[t.parentLocale]!=null)r=aa[t.parentLocale]._config;else if(n=ID(t.parentLocale),n!=null)r=n._config;else return gw[t.parentLocale]||(gw[t.parentLocale]=[]),gw[t.parentLocale].push({name:e,config:t}),null;return aa[e]=new KH(D9(r,t)),gw[e]&&gw[e].forEach(function(i){lq(i.name,i.config)}),e1(e),aa[e]}else return delete aa[e],null}function qQe(e,t){if(t!=null){var n,r,i=O0e;aa[e]!=null&&aa[e].parentLocale!=null?aa[e].set(D9(aa[e]._config,t)):(r=ID(e),r!=null&&(i=r._config),t=D9(i,t),r==null&&(t.abbr=e),n=new KH(t),n.parentLocale=aa[e],aa[e]=n),e1(e)}else aa[e]!=null&&(aa[e].parentLocale!=null?(aa[e]=aa[e].parentLocale,e===e1()&&e1(e)):aa[e]!=null&&delete aa[e]);return aa[e]}function Tm(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ck;if(!fh(e)){if(t=ID(e),t)return t;e=[e]}return zQe(e)}function jQe(){return N9(aa)}function uq(e){var t,n=e._a;return n&&Wr(e).overflow===-2&&(t=n[G0]<0||n[G0]>11?G0:n[up]<1||n[up]>iq(n[Wl],n[G0])?up:n[Ro]<0||n[Ro]>24||n[Ro]===24&&(n[nh]!==0||n[Y0]!==0||n[kb]!==0)?Ro:n[nh]<0||n[nh]>59?nh:n[Y0]<0||n[Y0]>59?Y0:n[kb]<0||n[kb]>999?kb:-1,Wr(e)._overflowDayOfYear&&(tup)&&(t=up),Wr(e)._overflowWeeks&&t===-1&&(t=GWe),Wr(e)._overflowWeekday&&t===-1&&(t=YWe),Wr(e).overflow=t),e}var WQe=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,QQe=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,VQe=/Z|[+-]\d\d(?::?\d\d)?/,C4=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],MP=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],GQe=/^\/?Date\((-?\d+)/i,YQe=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ZQe={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function E0e(e){var t,n,r=e._i,i=WQe.exec(r)||QQe.exec(r),s,a,o,l,c=C4.length,d=MP.length;if(i){for(Wr(e).iso=!0,t=0,n=c;twT(a)||e._dayOfYear===0)&&(Wr(e)._overflowDayOfYear=!0),n=_k(a,0,e._dayOfYear),e._a[G0]=n.getUTCMonth(),e._a[up]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=i[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Ro]===24&&e._a[nh]===0&&e._a[Y0]===0&&e._a[kb]===0&&(e._nextDay=!0,e._a[Ro]=0),e._d=(e._useUTC?_k:cQe).apply(null,r),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ro]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==s&&(Wr(e).weekdayMismatch=!0)}}function iVe(e){var t,n,r,i,s,a,o,l,c;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(s=1,a=4,n=aS(t.GG,e._a[Wl],Ak(Xs(),1,4).year),r=aS(t.W,1),i=aS(t.E,1),(i<1||i>7)&&(l=!0)):(s=e._locale._week.dow,a=e._locale._week.doy,c=Ak(Xs(),s,a),n=aS(t.gg,e._a[Wl],c.year),r=aS(t.w,c.week),t.d!=null?(i=t.d,(i<0||i>6)&&(l=!0)):t.e!=null?(i=t.e+s,(t.e<0||t.e>6)&&(l=!0)):i=s),r<1||r>tm(n,s,a)?Wr(e)._overflowWeeks=!0:l!=null?Wr(e)._overflowWeekday=!0:(o=b0e(n,r,i,s,a),e._a[Wl]=o.year,e._dayOfYear=o.dayOfYear)}An.ISO_8601=function(){};An.RFC_2822=function(){};function dq(e){if(e._f===An.ISO_8601){E0e(e);return}if(e._f===An.RFC_2822){w0e(e);return}e._a=[],Wr(e).empty=!0;var t=""+e._i,n,r,i,s,a,o=t.length,l=0,c,d;for(i=s0e(e._f,e._locale).match(JH)||[],d=i.length,n=0;n0&&Wr(e).unusedInput.push(a),t=t.slice(t.indexOf(r)+r.length),l+=r.length),tO[s]?(r?Wr(e).empty=!1:Wr(e).unusedTokens.push(s),VWe(s,r,e)):e._strict&&!r&&Wr(e).unusedTokens.push(s);Wr(e).charsLeftOver=o-l,t.length>0&&Wr(e).unusedInput.push(t),e._a[Ro]<=12&&Wr(e).bigHour===!0&&e._a[Ro]>0&&(Wr(e).bigHour=void 0),Wr(e).parsedDateParts=e._a.slice(0),Wr(e).meridiem=e._meridiem,e._a[Ro]=sVe(e._locale,e._a[Ro],e._meridiem),c=Wr(e).era,c!==null&&(e._a[Wl]=e._locale.erasConvertYear(c,e._a[Wl])),cq(e),uq(e)}function sVe(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function aVe(e){var t,n,r,i,s,a,o=!1,l=e._f.length;if(l===0){Wr(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;ithis?this:e:xD()});function k0e(e,t){var n,r;if(t.length===1&&fh(t[0])&&(t=t[0]),!t.length)return Xs();for(n=t[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function _Ve(){if(!Qu(this._isDSTShifted))return this._isDSTShifted;var e={},t;return XH(e,this),e=x0e(e),e._a?(t=e._isUTC?Np(e._a):Xs(e._a),this._isDSTShifted=this.isValid()&&yVe(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function AVe(){return this.isValid()?!this._isUTC:!1}function CVe(){return this.isValid()?this._isUTC:!1}function A0e(){return this.isValid()?this._isUTC&&this._offset===0:!1}var RVe=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,IVe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function vh(e,t){var n=e,r=null,i,s,a;return Y3(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:mm(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=RVe.exec(e))?(i=r[1]==="-"?-1:1,n={y:0,d:Ei(r[up])*i,h:Ei(r[Ro])*i,m:Ei(r[nh])*i,s:Ei(r[Y0])*i,ms:Ei(L9(r[kb]*1e3))*i}):(r=IVe.exec(e))?(i=r[1]==="-"?-1:1,n={y:tb(r[2],i),M:tb(r[3],i),w:tb(r[4],i),d:tb(r[5],i),h:tb(r[6],i),m:tb(r[7],i),s:tb(r[8],i)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(a=DVe(Xs(n.from),Xs(n.to)),n={},n.ms=a.milliseconds,n.M=a.months),s=new DD(n),Y3(e)&&ji(e,"_locale")&&(s._locale=e._locale),Y3(e)&&ji(e,"_isValid")&&(s._isValid=e._isValid),s}vh.fn=DD.prototype;vh.invalid=bVe;function tb(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Gte(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function DVe(e,t){var n;return e.isValid()&&t.isValid()?(t=hq(t,e),e.isBefore(t)?n=Gte(e,t):(n=Gte(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function C0e(e,t){return function(n,r){var i,s;return r!==null&&!isNaN(+r)&&(i0e(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),s=n,n=r,r=s),i=vh(n,r),R0e(this,i,e),this}}function R0e(e,t,n,r){var i=t._milliseconds,s=L9(t._days),a=L9(t._months);e.isValid()&&(r=r??!0,a&&p0e(e,kk(e,"Month")+a*n),s&&d0e(e,"Date",kk(e,"Date")+s*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&An.updateOffset(e,s||a))}var NVe=C0e(1,"add"),PVe=C0e(-1,"subtract");function I0e(e){return typeof e=="string"||e instanceof String}function LVe(e){return hh(e)||X_(e)||I0e(e)||mm(e)||FVe(e)||MVe(e)||e===null||e===void 0}function MVe(e){var t=Gb(e)&&!YH(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,s,a=r.length;for(i=0;in.valueOf():n.valueOf()9999?G3(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Pp(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",G3(n,"Z")):G3(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function XVe(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,i,s;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",s=t+'[")]',this.format(n+r+i+s)}function KVe(e){e||(e=this.isUtc()?An.defaultFormatUtc:An.defaultFormat);var t=G3(this,e);return this.localeData().postformat(t)}function JVe(e,t){return this.isValid()&&(hh(e)&&e.isValid()||Xs(e).isValid())?vh({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function eGe(e){return this.from(Xs(),e)}function tGe(e,t){return this.isValid()&&(hh(e)&&e.isValid()||Xs(e).isValid())?vh({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function nGe(e){return this.to(Xs(),e)}function D0e(e){var t;return e===void 0?this._locale._abbr:(t=Tm(e),t!=null&&(this._locale=t),this)}var N0e=Of("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function P0e(){return this._locale}var U5=1e3,nO=60*U5,z5=60*nO,L0e=(365*400+97)*24*z5;function rO(e,t){return(e%t+t)%t}function M0e(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-L0e:new Date(e,t,n).valueOf()}function F0e(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-L0e:Date.UTC(e,t,n)}function rGe(e){var t,n;if(e=Ef(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?F0e:M0e,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=rO(t+(this._isUTC?0:this.utcOffset()*nO),z5);break;case"minute":t=this._d.valueOf(),t-=rO(t,nO);break;case"second":t=this._d.valueOf(),t-=rO(t,U5);break}return this._d.setTime(t),An.updateOffset(this,!0),this}function iGe(e){var t,n;if(e=Ef(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?F0e:M0e,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=z5-rO(t+(this._isUTC?0:this.utcOffset()*nO),z5)-1;break;case"minute":t=this._d.valueOf(),t+=nO-rO(t,nO)-1;break;case"second":t=this._d.valueOf(),t+=U5-rO(t,U5)-1;break}return this._d.setTime(t),An.updateOffset(this,!0),this}function sGe(){return this._d.valueOf()-(this._offset||0)*6e4}function aGe(){return Math.floor(this.valueOf()/1e3)}function oGe(){return new Date(this.valueOf())}function lGe(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function uGe(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function cGe(){return this.isValid()?this.toISOString():null}function dGe(){return ZH(this)}function fGe(){return Bg({},Wr(this))}function hGe(){return Wr(this).overflow}function pGe(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}dr("N",0,0,"eraAbbr");dr("NN",0,0,"eraAbbr");dr("NNN",0,0,"eraAbbr");dr("NNNN",0,0,"eraName");dr("NNNNN",0,0,"eraNarrow");dr("y",["y",1],"yo","eraYear");dr("y",["yy",2],0,"eraYear");dr("y",["yyy",3],0,"eraYear");dr("y",["yyyy",4],0,"eraYear");qn("N",pq);qn("NN",pq);qn("NNN",pq);qn("NNNN",TGe);qn("NNNNN",kGe);vs(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?Wr(n).era=i:Wr(n).invalidEra=e});qn("y",UE);qn("yy",UE);qn("yyy",UE);qn("yyyy",UE);qn("yo",_Ge);vs(["y","yy","yyy","yyyy"],Wl);vs(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Wl]=n._locale.eraYearOrdinalParse(e,i):t[Wl]=parseInt(e,10)});function mGe(e,t){var n,r,i,s=this._eras||Tm("en")._eras;for(n=0,r=s.length;n=0)return s[r]}function bGe(e,t){var n=e.since<=e.until?1:-1;return t===void 0?An(e.since).year():An(e.since).year()+(t-e.offset)*n}function yGe(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;es&&(t=s),PGe.call(this,e,t,n,r,i))}function PGe(e,t,n,r,i){var s=b0e(e,t,n,r,i),a=_k(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}dr("Q",0,"Qo","quarter");qn("Q",a0e);vs("Q",function(e,t){t[G0]=(Ei(e)-1)*3});function LGe(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}dr("D",["DD",2],"Do","date");qn("D",Ks,zE);qn("DD",Ks,yd);qn("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});vs(["D","DD"],up);vs("Do",function(e,t){t[up]=Ei(e.match(Ks)[0])});var B0e=HE("Date",!0);dr("DDD",["DDDD",3],"DDDo","dayOfYear");qn("DDD",kD);qn("DDDD",o0e);vs(["DDD","DDDD"],function(e,t,n){n._dayOfYear=Ei(e)});function MGe(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}dr("m",["mm",2],0,"minute");qn("m",Ks,rq);qn("mm",Ks,yd);vs(["m","mm"],nh);var FGe=HE("Minutes",!1);dr("s",["ss",2],0,"second");qn("s",Ks,rq);qn("ss",Ks,yd);vs(["s","ss"],Y0);var $Ge=HE("Seconds",!1);dr("S",0,0,function(){return~~(this.millisecond()/100)});dr(0,["SS",2],0,function(){return~~(this.millisecond()/10)});dr(0,["SSS",3],0,"millisecond");dr(0,["SSSS",4],0,function(){return this.millisecond()*10});dr(0,["SSSSS",5],0,function(){return this.millisecond()*100});dr(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});dr(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});dr(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});dr(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});qn("S",kD,a0e);qn("SS",kD,yd);qn("SSS",kD,o0e);var Ug,U0e;for(Ug="SSSS";Ug.length<=9;Ug+="S")qn(Ug,UE);function BGe(e,t){t[kb]=Ei(("0."+e)*1e3)}for(Ug="S";Ug.length<=9;Ug+="S")vs(Ug,BGe);U0e=HE("Milliseconds",!1);dr("z",0,0,"zoneAbbr");dr("zz",0,0,"zoneName");function UGe(){return this._isUTC?"UTC":""}function zGe(){return this._isUTC?"Coordinated Universal Time":""}var mn=K_.prototype;mn.add=NVe;mn.calendar=UVe;mn.clone=zVe;mn.diff=GVe;mn.endOf=iGe;mn.format=KVe;mn.from=JVe;mn.fromNow=eGe;mn.to=tGe;mn.toNow=nGe;mn.get=XWe;mn.invalidAt=hGe;mn.isAfter=HVe;mn.isBefore=qVe;mn.isBetween=jVe;mn.isSame=WVe;mn.isSameOrAfter=QVe;mn.isSameOrBefore=VVe;mn.isValid=dGe;mn.lang=N0e;mn.locale=D0e;mn.localeData=P0e;mn.max=dVe;mn.min=cVe;mn.parsingFlags=fGe;mn.set=KWe;mn.startOf=rGe;mn.subtract=PVe;mn.toArray=lGe;mn.toObject=uGe;mn.toDate=oGe;mn.toISOString=ZVe;mn.inspect=XVe;typeof Symbol<"u"&&Symbol.for!=null&&(mn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});mn.toJSON=cGe;mn.toString=YVe;mn.unix=aGe;mn.valueOf=sGe;mn.creationData=pGe;mn.eraName=yGe;mn.eraNarrow=vGe;mn.eraAbbr=SGe;mn.eraYear=OGe;mn.year=c0e;mn.isLeapYear=ZWe;mn.weekYear=AGe;mn.isoWeekYear=CGe;mn.quarter=mn.quarters=LGe;mn.month=m0e;mn.daysInMonth=oQe;mn.week=mn.weeks=mQe;mn.isoWeek=mn.isoWeeks=gQe;mn.weeksInYear=DGe;mn.weeksInWeekYear=NGe;mn.isoWeeksInYear=RGe;mn.isoWeeksInISOWeekYear=IGe;mn.date=B0e;mn.day=mn.days=CQe;mn.weekday=RQe;mn.isoWeekday=IQe;mn.dayOfYear=MGe;mn.hour=mn.hours=$Qe;mn.minute=mn.minutes=FGe;mn.second=mn.seconds=$Ge;mn.millisecond=mn.milliseconds=U0e;mn.utcOffset=SVe;mn.utc=EVe;mn.local=wVe;mn.parseZone=xVe;mn.hasAlignedHourOffset=TVe;mn.isDST=kVe;mn.isLocal=AVe;mn.isUtcOffset=CVe;mn.isUtc=A0e;mn.isUTC=A0e;mn.zoneAbbr=UGe;mn.zoneName=zGe;mn.dates=Of("dates accessor is deprecated. Use date instead.",B0e);mn.months=Of("months accessor is deprecated. Use month instead",m0e);mn.years=Of("years accessor is deprecated. Use year instead",c0e);mn.zone=Of("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",OVe);mn.isDSTShifted=Of("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",_Ve);function HGe(e){return Xs(e*1e3)}function qGe(){return Xs.apply(null,arguments).parseZone()}function z0e(e){return e}var Wi=KH.prototype;Wi.calendar=AWe;Wi.longDateFormat=DWe;Wi.invalidDate=PWe;Wi.ordinal=FWe;Wi.preparse=z0e;Wi.postformat=z0e;Wi.relativeTime=BWe;Wi.pastFuture=UWe;Wi.set=kWe;Wi.eras=mGe;Wi.erasParse=gGe;Wi.erasConvertYear=bGe;Wi.erasAbbrRegex=wGe;Wi.erasNameRegex=EGe;Wi.erasNarrowRegex=xGe;Wi.months=rQe;Wi.monthsShort=iQe;Wi.monthsParse=aQe;Wi.monthsRegex=uQe;Wi.monthsShortRegex=lQe;Wi.week=dQe;Wi.firstDayOfYear=pQe;Wi.firstDayOfWeek=hQe;Wi.weekdays=xQe;Wi.weekdaysMin=kQe;Wi.weekdaysShort=TQe;Wi.weekdaysParse=AQe;Wi.weekdaysRegex=DQe;Wi.weekdaysShortRegex=NQe;Wi.weekdaysMinRegex=PQe;Wi.isPM=MQe;Wi.meridiem=BQe;function H5(e,t,n,r){var i=Tm(),s=Np().set(r,t);return i[n](s,e)}function H0e(e,t,n){if(mm(e)&&(t=e,e=void 0),e=e||"",t!=null)return H5(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=H5(e,r,n,"month");return i}function gq(e,t,n,r){typeof e=="boolean"?(mm(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,mm(t)&&(n=t,t=void 0),t=t||"");var i=Tm(),s=e?i._week.dow:0,a,o=[];if(n!=null)return H5(t,(n+s)%7,r,"day");for(a=0;a<7;a++)o[a]=H5(t,(a+s)%7,r,"day");return o}function jGe(e,t){return H0e(e,t,"months")}function WGe(e,t){return H0e(e,t,"monthsShort")}function QGe(e,t,n){return gq(e,t,n,"weekdays")}function VGe(e,t,n){return gq(e,t,n,"weekdaysShort")}function GGe(e,t,n){return gq(e,t,n,"weekdaysMin")}e1("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=Ei(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});An.lang=Of("moment.lang is deprecated. Use moment.locale instead.",e1);An.langData=Of("moment.langData is deprecated. Use moment.localeData instead.",Tm);var D0=Math.abs;function YGe(){var e=this._data;return this._milliseconds=D0(this._milliseconds),this._days=D0(this._days),this._months=D0(this._months),e.milliseconds=D0(e.milliseconds),e.seconds=D0(e.seconds),e.minutes=D0(e.minutes),e.hours=D0(e.hours),e.months=D0(e.months),e.years=D0(e.years),this}function q0e(e,t,n,r){var i=vh(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function ZGe(e,t){return q0e(this,e,t,1)}function XGe(e,t){return q0e(this,e,t,-1)}function Yte(e){return e<0?Math.floor(e):Math.ceil(e)}function KGe(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,i,s,a,o,l;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=Yte(F9(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,i=Yd(e/1e3),r.seconds=i%60,s=Yd(i/60),r.minutes=s%60,a=Yd(s/60),r.hours=a%24,t+=Yd(a/24),l=Yd(j0e(t)),n+=l,t-=Yte(F9(l)),o=Yd(n/12),n%=12,r.days=t,r.months=n,r.years=o,this}function j0e(e){return e*4800/146097}function F9(e){return e*146097/4800}function JGe(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=Ef(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+j0e(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(F9(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function km(e){return function(){return this.as(e)}}var W0e=km("ms"),eYe=km("s"),tYe=km("m"),nYe=km("h"),rYe=km("d"),iYe=km("w"),sYe=km("M"),aYe=km("Q"),oYe=km("y"),lYe=W0e;function uYe(){return vh(this)}function cYe(e){return e=Ef(e),this.isValid()?this[e+"s"]():NaN}function Ly(e){return function(){return this.isValid()?this._data[e]:NaN}}var dYe=Ly("milliseconds"),fYe=Ly("seconds"),hYe=Ly("minutes"),pYe=Ly("hours"),mYe=Ly("days"),gYe=Ly("months"),bYe=Ly("years");function yYe(){return Yd(this.days()/7)}var B0=Math.round,LS={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function vYe(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function SYe(e,t,n,r){var i=vh(e).abs(),s=B0(i.as("s")),a=B0(i.as("m")),o=B0(i.as("h")),l=B0(i.as("d")),c=B0(i.as("M")),d=B0(i.as("w")),f=B0(i.as("y")),p=s<=n.ss&&["s",s]||s0,p[4]=r,vYe.apply(null,p)}function OYe(e){return e===void 0?B0:typeof e=="function"?(B0=e,!0):!1}function EYe(e,t){return LS[e]===void 0?!1:t===void 0?LS[e]:(LS[e]=t,e==="s"&&(LS.ss=t-1),!0)}function wYe(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=LS,i,s;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},LS,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),i=this.localeData(),s=SYe(this,!n,r,i),n&&(s=i.pastFuture(+this,s)),i.postformat(s)}var FP=Math.abs;function Yv(e){return(e>0)-(e<0)||+e}function PD(){if(!this.isValid())return this.localeData().invalidDate();var e=FP(this._milliseconds)/1e3,t=FP(this._days),n=FP(this._months),r,i,s,a,o=this.asSeconds(),l,c,d,f;return o?(r=Yd(e/60),i=Yd(r/60),e%=60,r%=60,s=Yd(n/12),n%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=o<0?"-":"",c=Yv(this._months)!==Yv(o)?"-":"",d=Yv(this._days)!==Yv(o)?"-":"",f=Yv(this._milliseconds)!==Yv(o)?"-":"",l+"P"+(s?c+s+"Y":"")+(n?c+n+"M":"")+(t?d+t+"D":"")+(i||r||e?"T":"")+(i?f+i+"H":"")+(r?f+r+"M":"")+(e?f+a+"S":"")):"P0D"}var Li=DD.prototype;Li.isValid=gVe;Li.abs=YGe;Li.add=ZGe;Li.subtract=XGe;Li.as=JGe;Li.asMilliseconds=W0e;Li.asSeconds=eYe;Li.asMinutes=tYe;Li.asHours=nYe;Li.asDays=rYe;Li.asWeeks=iYe;Li.asMonths=sYe;Li.asQuarters=aYe;Li.asYears=oYe;Li.valueOf=lYe;Li._bubble=KGe;Li.clone=uYe;Li.get=cYe;Li.milliseconds=dYe;Li.seconds=fYe;Li.minutes=hYe;Li.hours=pYe;Li.days=mYe;Li.weeks=yYe;Li.months=gYe;Li.years=bYe;Li.humanize=wYe;Li.toISOString=PD;Li.toString=PD;Li.toJSON=PD;Li.locale=D0e;Li.localeData=P0e;Li.toIsoString=Of("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",PD);Li.lang=N0e;dr("X",0,0,"unix");dr("x",0,0,"valueOf");qn("x",AD);qn("X",jWe);vs("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});vs("x",function(e,t,n){n._d=new Date(Ei(e))});//! moment.js +An.version="2.30.1";xWe(Xs);An.fn=mn;An.min=fVe;An.max=hVe;An.now=pVe;An.utc=Np;An.unix=HGe;An.months=jGe;An.isDate=X_;An.locale=e1;An.invalid=xD;An.duration=vh;An.isMoment=hh;An.weekdays=QGe;An.parseZone=qGe;An.localeData=Tm;An.isDuration=Y3;An.monthsShort=WGe;An.weekdaysMin=GGe;An.defineLocale=lq;An.updateLocale=qQe;An.locales=jQe;An.weekdaysShort=VGe;An.normalizeUnits=Ef;An.relativeTimeRounding=OYe;An.relativeTimeThreshold=EYe;An.calendarFormat=BVe;An.prototype=mn;An.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const Q0e=e=>["workspaces",e,"documents"],V0e=(e,t)=>["workpsaces",e,"documents",t],xYe=e=>bH({queryKey:Q0e(e||""),queryFn:async({pageParam:n})=>(await kr.get(`/workspaces/${e}/documents`,{params:{cursor:n,page_size:30}})).data,enabled:!!e,initialPageParam:void 0,getPreviousPageParam:n=>n.cursor??void 0,getNextPageParam:n=>n.cursor??void 0}),TYe=(e,t)=>{const n=gc(),r=PE({queryKey:V0e(e||"",t||""),enabled:!!(e&&t),queryFn:async()=>(await kr.get(`/workspaces/${e}/documents/${t}`)).data,meta:{errorMessage:"This is a non-existent or unauthorized document."}});return Y.useEffect(()=>(r.data&&n(F5(r.data)),()=>{n(F5(null))}),[n,r.data]),r},kYe=e=>{const t=NE();return Rp({mutationFn:async n=>(await kr.post(`/workspaces/${e}/documents`,n)).data,onSuccess:()=>{t.invalidateQueries({queryKey:Q0e(e)})}})},_Ye=(e,t)=>Rp({mutationFn:async n=>(await kr.post(`/workspaces/${e}/documents/${t}/share-token`,n)).data}),AYe=(e,t)=>{const n=NE();return Rp({mutationFn:async r=>(await kr.put(`/workspaces/${e}/documents/${t}/`,r)).data,onSuccess:()=>{n.invalidateQueries({queryKey:V0e(e,t)})}})},My={};My.write=async e=>{await navigator.clipboard.writeText(e)};My.read=async()=>navigator.clipboard.readText();My.readSync=()=>{throw new Error("`.readSync()` is not supported in browsers!")};My.writeSync=()=>{throw new Error("`.writeSync()` is not supported in browsers!")};function CYe(e){var d,f;const{...t}=e,n=k1(),[r,i]=Y.useState(null),s=ei(Z_),{mutateAsync:a}=_Ye(((d=s.data)==null?void 0:d.workspaceId)||"",((f=s.data)==null?void 0:f.id)||""),{enqueueSnackbar:o}=FE(),l=async p=>{let g;if(p.expiredString===eO[0])g=null;else{const[w,x]=p.expiredString.split(" ");g=An().add(Number(w),x).toDate()}const{sharingToken:b}=await a({role:p.role,expiredAt:g});i(`${window.location.origin}/${n.workspaceSlug}/${n.documentId}/share?token=${b}`)},c=async()=>{r&&(await My.write(r),o("URL Copied!",{variant:"success"}))};return U.jsx(xE,{disableAutoFocus:!0,...t,children:U.jsxs(Ko,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",p:4,width:400},children:[U.jsx(Gl,{sx:{position:"absolute",top:28,right:28},onClick:p=>{var g;return(g=e.onClose)==null?void 0:g.call(e,p,"backdropClick")},children:U.jsx(VH,{})}),U.jsxs(Rr,{gap:1,children:[U.jsx(fi,{variant:"subtitle1",children:"Share Link"}),U.jsx(yf,{children:U.jsx(BE,{defaultValues:{expiredString:eO[0],role:Object.values(eE)[0]},onSuccess:l,children:U.jsxs(Rr,{gap:2,children:[U.jsx(C9,{label:"Role",name:"role",options:Object.values(eE).map(p=>({id:p,label:p})),size:"small",sx:{width:1},variant:"filled"}),U.jsx(C9,{label:"Expired Date",name:"expiredString",options:eO.map(p=>({id:p,label:p})),size:"small",sx:{width:1},variant:"filled"}),U.jsx(yl,{type:"submit",variant:"contained",children:"Generate"})]})})}),!!r&&U.jsxs(Rr,{direction:"row",alignItems:"center",gap:2,children:[U.jsx(fi,{variant:"body1",width:1,noWrap:!0,children:r}),U.jsx(Fg,{title:"Copy URL",children:U.jsx(Gl,{onClick:c,children:U.jsx(GH,{})})})]})]})]})})}function RYe(){const[e,t]=Y.useState(!1),n=()=>{t(r=>!r)};return U.jsxs(U.Fragment,{children:[U.jsx(Gl,{onClick:n,color:"inherit",children:U.jsx(hWe,{})}),U.jsx(CYe,{open:e,onClose:n})]})}class Oi{lineAt(t){if(t<0||t>this.length)throw new RangeError(`Invalid position ${t} in document of length ${this.length}`);return this.lineInner(t,!1,1,0)}line(t){if(t<1||t>this.lines)throw new RangeError(`Invalid line number ${t} in ${this.lines}-line document`);return this.lineInner(t,!0,1,0)}replace(t,n,r){[t,n]=tE(this,t,n);let i=[];return this.decompose(0,t,i,2),r.length&&r.decompose(0,r.length,i,3),this.decompose(n,this.length,i,1),cp.from(i,this.length-(n-t)+r.length)}append(t){return this.replace(this.length,this.length,t)}slice(t,n=this.length){[t,n]=tE(this,t,n);let r=[];return this.decompose(t,n,r,0),cp.from(r,n-t)}eq(t){if(t==this)return!0;if(t.length!=this.length||t.lines!=this.lines)return!1;let n=this.scanIdentical(t,1),r=this.length-this.scanIdentical(t,-1),i=new xT(this),s=new xT(t);for(let a=n,o=n;;){if(i.next(a),s.next(a),a=0,i.lineBreak!=s.lineBreak||i.done!=s.done||i.value!=s.value)return!1;if(o+=i.value.length,i.done||o>=r)return!0}}iter(t=1){return new xT(this,t)}iterRange(t,n=this.length){return new G0e(this,t,n)}iterLines(t,n){let r;if(t==null)r=this.iter();else{n==null&&(n=this.lines+1);let i=this.line(t).from;r=this.iterRange(i,Math.max(i,n==this.lines+1?this.length:n<=1?0:this.line(n-1).to))}return new Y0e(r)}toString(){return this.sliceString(0)}toJSON(){let t=[];return this.flatten(t),t}constructor(){}static of(t){if(t.length==0)throw new RangeError("A document must have at least one line");return t.length==1&&!t[0]?Oi.empty:t.length<=32?new Ga(t):cp.from(Ga.split(t,[]))}}class Ga extends Oi{constructor(t,n=IYe(t)){super(),this.text=t,this.length=n}get lines(){return this.text.length}get children(){return null}lineInner(t,n,r,i){for(let s=0;;s++){let a=this.text[s],o=i+a.length;if((n?r:o)>=t)return new DYe(i,o,r,a);i=o+1,r++}}decompose(t,n,r,i){let s=t<=0&&n>=this.length?this:new Ga(Zte(this.text,t,n),Math.min(n,this.length)-Math.max(0,t));if(i&1){let a=r.pop(),o=X3(s.text,a.text.slice(),0,s.length);if(o.length<=32)r.push(new Ga(o,a.length+s.length));else{let l=o.length>>1;r.push(new Ga(o.slice(0,l)),new Ga(o.slice(l)))}}else r.push(s)}replace(t,n,r){if(!(r instanceof Ga))return super.replace(t,n,r);[t,n]=tE(this,t,n);let i=X3(this.text,X3(r.text,Zte(this.text,0,t)),n),s=this.length+r.length-(n-t);return i.length<=32?new Ga(i,s):cp.from(Ga.split(i,[]),s)}sliceString(t,n=this.length,r=` `){[t,n]=tE(this,t,n);let i="";for(let s=0,a=0;s<=n&&at&&a&&(i+=r),ts&&(i+=o.slice(Math.max(0,t-s),n-s)),s=l+1}return i}flatten(t){for(let n of this.text)t.push(n)}scanIdentical(){return 0}static split(t,n){let r=[],i=-1;for(let s of t)r.push(s),i+=s.length+1,r.length==32&&(n.push(new Ga(r,i)),r=[],i=-1);return i>-1&&n.push(new Ga(r,i)),n}}class cp extends Oi{constructor(t,n){super(),this.children=t,this.length=n,this.lines=0;for(let r of t)this.lines+=r.lines}lineInner(t,n,r,i){for(let s=0;;s++){let a=this.children[s],o=i+a.length,l=r+a.lines-1;if((n?l:o)>=t)return a.lineInner(t,n,r,i);i=o+1,r=l+1}}decompose(t,n,r,i){for(let s=0,a=0;a<=n&&s=a){let c=i&((a<=t?1:0)|(l>=n?2:0));a>=t&&l<=n&&!c?r.push(o):o.decompose(t-a,n-a,r,c)}a=l+1}}replace(t,n,r){if([t,n]=tE(this,t,n),r.lines=s&&n<=o){let l=a.replace(t-s,n-s,r),c=this.lines-a.lines+l.lines;if(l.lines>4&&l.lines>c>>6){let d=this.children.slice();return d[i]=l,new cp(d,this.length-(n-t)+r.length)}return super.replace(s,o,l)}s=o+1}return super.replace(t,n,r)}sliceString(t,n=this.length,r=` -`){[t,n]=tE(this,t,n);let i="";for(let s=0,a=0;st&&s&&(i+=r),ta&&(i+=o.sliceString(t-a,n-a,r)),a=l+1}return i}flatten(t){for(let n of this.children)n.flatten(t)}scanIdentical(t,n){if(!(t instanceof cp))return 0;let r=0,[i,s,a,o]=n>0?[0,0,this.children.length,t.children.length]:[this.children.length-1,t.children.length-1,-1,-1];for(;;i+=n,s+=n){if(i==a||s==o)return r;let l=this.children[i],c=t.children[s];if(l!=c)return r+l.scanIdentical(c,n);r+=l.length+1}}static from(t,n=t.reduce((r,i)=>r+i.length+1,-1)){let r=0;for(let g of t)r+=g.lines;if(r<32){let g=[];for(let b of t)b.flatten(g);return new Ga(g,n)}let i=Math.max(32,r>>5),s=i<<1,a=i>>1,o=[],l=0,c=-1,d=[];function f(g){let b;if(g.lines>s&&g instanceof cp)for(let w of g.children)f(w);else g.lines>a&&(l>a||!l)?(p(),o.push(g)):g instanceof Ga&&l&&(b=d[d.length-1])instanceof Ga&&g.lines+b.lines<=32?(l+=g.lines,c+=g.length+1,d[d.length-1]=new Ga(b.text.concat(g.text),b.length+1+g.length)):(l+g.lines>i&&p(),l+=g.lines,c+=g.length+1,d.push(g))}function p(){l!=0&&(o.push(d.length==1?d[0]:cp.from(d,c)),c=-1,l=d.length=0)}for(let g of t)f(g);return p(),o.length==1?o[0]:new cp(o,n)}}Oi.empty=new Ga([""],0);function RYe(e){let t=-1;for(let n of e)t+=n.length+1;return t}function X3(e,t,n=0,r=1e9){for(let i=0,s=0,a=!0;s=n&&(l>r&&(o=o.slice(0,r-i)),i0?1:(t instanceof Ga?t.text.length:t.children.length)<<1]}nextInner(t,n){for(this.done=this.lineBreak=!1;;){let r=this.nodes.length-1,i=this.nodes[r],s=this.offsets[r],a=s>>1,o=i instanceof Ga?i.text.length:i.children.length;if(a==(n>0?o:0)){if(r==0)return this.done=!0,this.value="",this;n>0&&this.offsets[r-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(n>0?0:1)){if(this.offsets[r]+=n,t==0)return this.lineBreak=!0,this.value=` -`,this;t--}else if(i instanceof Ga){let l=i.text[a+(n<0?-1:0)];if(this.offsets[r]+=n,l.length>Math.max(0,t))return this.value=t==0?l:n>0?l.slice(t):l.slice(0,l.length-t),this;t-=l.length}else{let l=i.children[a+(n<0?-1:0)];t>l.length?(t-=l.length,this.offsets[r]+=n):(n<0&&this.offsets[r]--,this.nodes.push(l),this.offsets.push(n>0?1:(l instanceof Ga?l.text.length:l.children.length)<<1))}}}next(t=0){return t<0&&(this.nextInner(-t,-this.dir),t=this.value.length),this.nextInner(t,this.dir)}}class V0e{constructor(t,n,r){this.value="",this.done=!1,this.cursor=new xT(t,n>r?-1:1),this.pos=n>r?t.length:0,this.from=Math.min(n,r),this.to=Math.max(n,r)}nextInner(t,n){if(n<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;t+=Math.max(0,n<0?this.pos-this.to:this.from-this.pos);let r=n<0?this.pos-this.from:this.to-this.pos;t>r&&(t=r),r-=t;let{value:i}=this.cursor.next(t);return this.pos+=(i.length+t)*n,this.value=i.length<=r?i:n<0?i.slice(i.length-r):i.slice(0,r),this.done=!this.value,this}next(t=0){return t<0?t=Math.max(t,this.from-this.pos):t>0&&(t=Math.min(t,this.to-this.pos)),this.nextInner(t,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class G0e{constructor(t){this.inner=t,this.afterBreak=!0,this.value="",this.done=!1}next(t=0){let{done:n,lineBreak:r,value:i}=this.inner.next(t);return n&&this.afterBreak?(this.value="",this.afterBreak=!1):n?(this.done=!0,this.value=""):r?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(Oi.prototype[Symbol.iterator]=function(){return this.iter()},xT.prototype[Symbol.iterator]=V0e.prototype[Symbol.iterator]=G0e.prototype[Symbol.iterator]=function(){return this});let IYe=class{constructor(t,n,r,i){this.from=t,this.to=n,this.number=r,this.text=i}get length(){return this.to-this.from}};function tE(e,t,n){return t=Math.max(0,Math.min(e.length,t)),[t,Math.max(t,Math.min(e.length,n))]}let iO="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let e=1;ee)return iO[t-1]<=e;return!1}function Xte(e){return e>=127462&&e<=127487}const Kte=8205;function ql(e,t,n=!0,r=!0){return(n?Y0e:NYe)(e,t,r)}function Y0e(e,t,n){if(t==e.length)return t;t&&Z0e(e.charCodeAt(t))&&X0e(e.charCodeAt(t-1))&&t--;let r=pl(e,t);for(t+=Xd(r);t=0&&Xte(pl(e,a));)s++,a-=2;if(s%2==0)break;t+=2}else break}return t}function NYe(e,t,n){for(;t>0;){let r=Y0e(e,t-2,n);if(r=56320&&e<57344}function X0e(e){return e>=55296&&e<56320}function pl(e,t){let n=e.charCodeAt(t);if(!X0e(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return Z0e(r)?(n-55296<<10)+(r-56320)+65536:n}function bq(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function Xd(e){return e<65536?1:2}const $9=/\r\n?|\n/;var Ao=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}(Ao||(Ao={}));class wp{constructor(t){this.sections=t}get length(){let t=0;for(let n=0;nt)return s+(t-i);s+=o}else{if(r!=Ao.Simple&&c>=t&&(r==Ao.TrackDel&&it||r==Ao.TrackBefore&&it))return null;if(c>t||c==t&&n<0&&!o)return t==i||n<0?s:s+l;s+=l}i=c}if(t>i)throw new RangeError(`Position ${t} is out of range for changeset of length ${i}`);return s}touchesRange(t,n=t){for(let r=0,i=0;r=0&&i<=n&&o>=t)return in?"cover":!0;i=o}return!1}toString(){let t="";for(let n=0;n=0?":"+i:"")}return t}toJSON(){return this.sections}static fromJSON(t){if(!Array.isArray(t)||t.length%2||t.some(n=>typeof n!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new wp(t)}static create(t){return new wp(t)}}class To extends wp{constructor(t,n){super(t),this.inserted=n}apply(t){if(this.length!=t.length)throw new RangeError("Applying change set to a document with the wrong length");return B9(this,(n,r,i,s,a)=>t=t.replace(i,i+(r-n),a),!1),t}mapDesc(t,n=!1){return U9(this,t,n,!0)}invert(t){let n=this.sections.slice(),r=[];for(let i=0,s=0;i=0){n[i]=o,n[i+1]=a;let l=i>>1;for(;r.length0&&zg(r,n,s.text),s.forward(d),o+=d}let c=t[a++];for(;o>1].toJSON()))}return t}static of(t,n,r){let i=[],s=[],a=0,o=null;function l(d=!1){if(!d&&!i.length)return;ap||f<0||p>n)throw new RangeError(`Invalid change range ${f} to ${p} (in doc of length ${n})`);let b=g?typeof g=="string"?Oi.of(g.split(r||$9)):g:Oi.empty,w=b.length;if(f==p&&w==0)return;fa&&Ul(i,f-a,-1),Ul(i,p-f,w),zg(s,i,b),a=p}}return c(t),l(!o),o}static empty(t){return new To(t?[t,-1]:[],[])}static fromJSON(t){if(!Array.isArray(t))throw new RangeError("Invalid JSON representation of ChangeSet");let n=[],r=[];for(let i=0;io&&typeof a!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(s.length==1)n.push(s[0],0);else{for(;r.length=0&&n<=0&&n==e[i+1]?e[i]+=t:t==0&&e[i]==0?e[i+1]+=n:r?(e[i]+=t,e[i+1]+=n):e.push(t,n)}function zg(e,t,n){if(n.length==0)return;let r=t.length-2>>1;if(r>1])),!(n||a==e.sections.length||e.sections[a+1]<0);)o=e.sections[a++],l=e.sections[a++];t(i,c,s,d,f),i=c,s=d}}}function U9(e,t,n,r=!1){let i=[],s=r?[]:null,a=new Rk(e),o=new Rk(t);for(let l=-1;;)if(a.ins==-1&&o.ins==-1){let c=Math.min(a.len,o.len);Ul(i,c,-1),a.forward(c),o.forward(c)}else if(o.ins>=0&&(a.ins<0||l==a.i||a.off==0&&(o.len=0&&l=0){let c=0,d=a.len;for(;d;)if(o.ins==-1){let f=Math.min(d,o.len);c+=f,d-=f,o.forward(f)}else if(o.ins==0&&o.lenl||a.ins>=0&&a.len>l)&&(o||r.length>c),s.forward2(l),a.forward(l)}}}}class Rk{constructor(t){this.set=t,this.i=0,this.next()}next(){let{sections:t}=this.set;this.i>1;return n>=t.length?Oi.empty:t[n]}textBit(t){let{inserted:n}=this.set,r=this.i-2>>1;return r>=n.length&&!t?Oi.empty:n[r].slice(this.off,t==null?void 0:this.off+t)}forward(t){t==this.len?this.next():(this.len-=t,this.off+=t)}forward2(t){this.ins==-1?this.forward(t):t==this.ins?this.next():(this.ins-=t,this.off+=t)}}class _b{constructor(t,n,r){this.from=t,this.to=n,this.flags=r}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let t=this.flags&7;return t==7?null:t}get goalColumn(){let t=this.flags>>6;return t==16777215?void 0:t}map(t,n=-1){let r,i;return this.empty?r=i=t.mapPos(this.from,n):(r=t.mapPos(this.from,1),i=t.mapPos(this.to,-1)),r==this.from&&i==this.to?this:new _b(r,i,this.flags)}extend(t,n=t){if(t<=this.anchor&&n>=this.anchor)return Bt.range(t,n);let r=Math.abs(t-this.anchor)>Math.abs(n-this.anchor)?t:n;return Bt.range(this.anchor,r)}eq(t,n=!1){return this.anchor==t.anchor&&this.head==t.head&&(!n||!this.empty||this.assoc==t.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(t){if(!t||typeof t.anchor!="number"||typeof t.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return Bt.range(t.anchor,t.head)}static create(t,n,r){return new _b(t,n,r)}}class Bt{constructor(t,n){this.ranges=t,this.mainIndex=n}map(t,n=-1){return t.empty?this:Bt.create(this.ranges.map(r=>r.map(t,n)),this.mainIndex)}eq(t,n=!1){if(this.ranges.length!=t.ranges.length||this.mainIndex!=t.mainIndex)return!1;for(let r=0;rt.toJSON()),main:this.mainIndex}}static fromJSON(t){if(!t||!Array.isArray(t.ranges)||typeof t.main!="number"||t.main>=t.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new Bt(t.ranges.map(n=>_b.fromJSON(n)),t.main)}static single(t,n=t){return new Bt([Bt.range(t,n)],0)}static create(t,n=0){if(t.length==0)throw new RangeError("A selection needs at least one range");for(let r=0,i=0;it?8:0)|s)}static normalized(t,n=0){let r=t[n];t.sort((i,s)=>i.from-s.from),n=t.indexOf(r);for(let i=1;is.head?Bt.range(l,o):Bt.range(o,l))}}return new Bt(t,n)}}function J0e(e,t){for(let n of e.ranges)if(n.to>t)throw new RangeError("Selection points outside of document")}let yq=0;class Gn{constructor(t,n,r,i,s){this.combine=t,this.compareInput=n,this.compare=r,this.isStatic=i,this.id=yq++,this.default=t([]),this.extensions=typeof s=="function"?s(this):s}get reader(){return this}static define(t={}){return new Gn(t.combine||(n=>n),t.compareInput||((n,r)=>n===r),t.compare||(t.combine?(n,r)=>n===r:vq),!!t.static,t.enables)}of(t){return new K3([],this,0,t)}compute(t,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new K3(t,this,1,n)}computeN(t,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new K3(t,this,2,n)}from(t,n){return n||(n=r=>r),this.compute([t],r=>n(r.field(t)))}}function vq(e,t){return e==t||e.length==t.length&&e.every((n,r)=>n===t[r])}class K3{constructor(t,n,r,i){this.dependencies=t,this.facet=n,this.type=r,this.value=i,this.id=yq++}dynamicSlot(t){var n;let r=this.value,i=this.facet.compareInput,s=this.id,a=t[s]>>1,o=this.type==2,l=!1,c=!1,d=[];for(let f of this.dependencies)f=="doc"?l=!0:f=="selection"?c=!0:((n=t[f.id])!==null&&n!==void 0?n:1)&1||d.push(t[f.id]);return{create(f){return f.values[a]=r(f),1},update(f,p){if(l&&p.docChanged||c&&(p.docChanged||p.selection)||z9(f,d)){let g=r(f);if(o?!Jte(g,f.values[a],i):!i(g,f.values[a]))return f.values[a]=g,1}return 0},reconfigure:(f,p)=>{let g,b=p.config.address[s];if(b!=null){let w=j5(p,b);if(this.dependencies.every(x=>x instanceof Gn?p.facet(x)===f.facet(x):x instanceof Po?p.field(x,!1)==f.field(x,!1):!0)||(o?Jte(g=r(f),w,i):i(g=r(f),w)))return f.values[a]=w,0}else g=r(f);return f.values[a]=g,1}}}}function Jte(e,t,n){if(e.length!=t.length)return!1;for(let r=0;re[l.id]),i=n.map(l=>l.type),s=r.filter(l=>!(l&1)),a=e[t.id]>>1;function o(l){let c=[];for(let d=0;dr===i),t);return t.provide&&(n.provides=t.provide(n)),n}create(t){let n=t.facet(ene).find(r=>r.field==this);return((n==null?void 0:n.create)||this.createF)(t)}slot(t){let n=t[this.id]>>1;return{create:r=>(r.values[n]=this.create(r),1),update:(r,i)=>{let s=r.values[n],a=this.updateF(s,i);return this.compareF(s,a)?0:(r.values[n]=a,1)},reconfigure:(r,i)=>i.config.address[this.id]!=null?(r.values[n]=i.field(this),0):(r.values[n]=this.create(r),1)}}init(t){return[this,ene.of({field:this,create:t})]}get extension(){return this}}const pb={lowest:4,low:3,default:2,high:1,highest:0};function yw(e){return t=>new eme(t,e)}const Lp={highest:yw(pb.highest),high:yw(pb.high),default:yw(pb.default),low:yw(pb.low),lowest:yw(pb.lowest)};class eme{constructor(t,n){this.inner=t,this.prec=n}}class LD{of(t){return new H9(this,t)}reconfigure(t){return LD.reconfigure.of({compartment:this,extension:t})}get(t){return t.config.compartments.get(this)}}class H9{constructor(t,n){this.compartment=t,this.inner=n}}class q5{constructor(t,n,r,i,s,a){for(this.base=t,this.compartments=n,this.dynamicSlots=r,this.address=i,this.staticValues=s,this.facets=a,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(t,n,r){let i=[],s=Object.create(null),a=new Map;for(let p of LYe(t,n,a))p instanceof Po?i.push(p):(s[p.facet.id]||(s[p.facet.id]=[])).push(p);let o=Object.create(null),l=[],c=[];for(let p of i)o[p.id]=c.length<<1,c.push(g=>p.slot(g));let d=r==null?void 0:r.config.facets;for(let p in s){let g=s[p],b=g[0].facet,w=d&&d[p]||[];if(g.every(x=>x.type==0))if(o[b.id]=l.length<<1|1,vq(w,g))l.push(r.facet(b));else{let x=b.combine(g.map(T=>T.value));l.push(r&&b.compare(x,r.facet(b))?r.facet(b):x)}else{for(let x of g)x.type==0?(o[x.id]=l.length<<1|1,l.push(x.value)):(o[x.id]=c.length<<1,c.push(T=>x.dynamicSlot(T)));o[b.id]=c.length<<1,c.push(x=>PYe(x,b,g))}}let f=c.map(p=>p(o));return new q5(t,a,f,o,l,s)}}function LYe(e,t,n){let r=[[],[],[],[],[]],i=new Map;function s(a,o){let l=i.get(a);if(l!=null){if(l<=o)return;let c=r[l].indexOf(a);c>-1&&r[l].splice(c,1),a instanceof H9&&n.delete(a.compartment)}if(i.set(a,o),Array.isArray(a))for(let c of a)s(c,o);else if(a instanceof H9){if(n.has(a.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=t.get(a.compartment)||a.inner;n.set(a.compartment,c),s(c,o)}else if(a instanceof eme)s(a.inner,a.prec);else if(a instanceof Po)r[o].push(a),a.provides&&s(a.provides,o);else if(a instanceof K3)r[o].push(a),a.facet.extensions&&s(a.facet.extensions,pb.default);else{let c=a.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${a}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(c,o)}}return s(e,pb.default),r.reduce((a,o)=>a.concat(o))}function TT(e,t){if(t&1)return 2;let n=t>>1,r=e.status[n];if(r==4)throw new Error("Cyclic dependency between fields and/or facets");if(r&2)return r;e.status[n]=4;let i=e.computeSlot(e,e.config.dynamicSlots[n]);return e.status[n]=2|i}function j5(e,t){return t&1?e.config.staticValues[t>>1]:e.values[t>>1]}const tme=Gn.define(),q9=Gn.define({combine:e=>e.some(t=>t),static:!0}),nme=Gn.define({combine:e=>e.length?e[0]:void 0,static:!0}),rme=Gn.define(),ime=Gn.define(),sme=Gn.define(),ame=Gn.define({combine:e=>e.length?e[0]:!1});class Mp{constructor(t,n){this.type=t,this.value=n}static define(){return new MYe}}class MYe{of(t){return new Mp(this,t)}}class FYe{constructor(t){this.map=t}of(t){return new Fr(this,t)}}class Fr{constructor(t,n){this.type=t,this.value=n}map(t){let n=this.type.map(this.value,t);return n===void 0?void 0:n==this.value?this:new Fr(this.type,n)}is(t){return this.type==t}static define(t={}){return new FYe(t.map||(n=>n))}static mapEffects(t,n){if(!t.length)return t;let r=[];for(let i of t){let s=i.map(n);s&&r.push(s)}return r}}Fr.reconfigure=Fr.define();Fr.appendConfig=Fr.define();class da{constructor(t,n,r,i,s,a){this.startState=t,this.changes=n,this.selection=r,this.effects=i,this.annotations=s,this.scrollIntoView=a,this._doc=null,this._state=null,r&&J0e(r,n.newLength),s.some(o=>o.type==da.time)||(this.annotations=s.concat(da.time.of(Date.now())))}static create(t,n,r,i,s,a){return new da(t,n,r,i,s,a)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(t){for(let n of this.annotations)if(n.type==t)return n.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(t){let n=this.annotation(da.userEvent);return!!(n&&(n==t||n.length>t.length&&n.slice(0,t.length)==t&&n[t.length]=="."))}}da.time=Mp.define();da.userEvent=Mp.define();da.addToHistory=Mp.define();da.remote=Mp.define();function $Ye(e,t){let n=[];for(let r=0,i=0;;){let s,a;if(r=e[r]))s=e[r++],a=e[r++];else if(i=0;i--){let s=r[i](e);s instanceof da?e=s:Array.isArray(s)&&s.length==1&&s[0]instanceof da?e=s[0]:e=lme(t,sO(s),!1)}return e}function UYe(e){let t=e.startState,n=t.facet(sme),r=e;for(let i=n.length-1;i>=0;i--){let s=n[i](e);s&&Object.keys(s).length&&(r=ome(r,j9(t,s,e.changes.newLength),!0))}return r==e?e:da.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)}const zYe=[];function sO(e){return e==null?zYe:Array.isArray(e)?e:[e]}var fa=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(fa||(fa={}));const HYe=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let W9;try{W9=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function qYe(e){if(W9)return W9.test(e);for(let t=0;t"€"&&(n.toUpperCase()!=n.toLowerCase()||HYe.test(n)))return!0}return!1}function jYe(e){return t=>{if(!/\S/.test(t))return fa.Space;if(qYe(t))return fa.Word;for(let n=0;n-1)return fa.Word;return fa.Other}}class Ni{constructor(t,n,r,i,s,a){this.config=t,this.doc=n,this.selection=r,this.values=i,this.status=t.statusTemplate.slice(),this.computeSlot=s,a&&(a._state=this);for(let o=0;oi.set(c,l)),n=null),i.set(o.value.compartment,o.value.extension)):o.is(Fr.reconfigure)?(n=null,r=o.value):o.is(Fr.appendConfig)&&(n=null,r=sO(r).concat(o.value));let s;n?s=t.startState.values.slice():(n=q5.resolve(r,i,this),s=new Ni(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(l,c)=>c.reconfigure(l,this),null).values);let a=t.startState.facet(q9)?t.newSelection:t.newSelection.asSingle();new Ni(n,t.newDoc,a,s,(o,l)=>l.update(o,t),t)}replaceSelection(t){return typeof t=="string"&&(t=this.toText(t)),this.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:t},range:Bt.cursor(n.from+t.length)}))}changeByRange(t){let n=this.selection,r=t(n.ranges[0]),i=this.changes(r.changes),s=[r.range],a=sO(r.effects);for(let o=1;oa.spec.fromJSON(o,l)))}}return Ni.create({doc:t.doc,selection:Bt.fromJSON(t.selection),extensions:n.extensions?i.concat([n.extensions]):i})}static create(t={}){let n=q5.resolve(t.extensions||[],new Map),r=t.doc instanceof Oi?t.doc:Oi.of((t.doc||"").split(n.staticFacet(Ni.lineSeparator)||$9)),i=t.selection?t.selection instanceof Bt?t.selection:Bt.single(t.selection.anchor,t.selection.head):Bt.single(0);return J0e(i,r.length),n.staticFacet(q9)||(i=i.asSingle()),new Ni(n,r,i,n.dynamicSlots.map(()=>null),(s,a)=>a.create(s),null)}get tabSize(){return this.facet(Ni.tabSize)}get lineBreak(){return this.facet(Ni.lineSeparator)||` -`}get readOnly(){return this.facet(ame)}phrase(t,...n){for(let r of this.facet(Ni.phrases))if(Object.prototype.hasOwnProperty.call(r,t)){t=r[t];break}return n.length&&(t=t.replace(/\$(\$|\d*)/g,(r,i)=>{if(i=="$")return"$";let s=+(i||1);return!s||s>n.length?r:n[s-1]})),t}languageDataAt(t,n,r=-1){let i=[];for(let s of this.facet(tme))for(let a of s(this,n,r))Object.prototype.hasOwnProperty.call(a,t)&&i.push(a[t]);return i}charCategorizer(t){return jYe(this.languageDataAt("wordChars",t).join(""))}wordAt(t){let{text:n,from:r,length:i}=this.doc.lineAt(t),s=this.charCategorizer(t),a=t-r,o=t-r;for(;a>0;){let l=ql(n,a,!1);if(s(n.slice(l,a))!=fa.Word)break;a=l}for(;oe.length?e[0]:4});Ni.lineSeparator=nme;Ni.readOnly=ame;Ni.phrases=Gn.define({compare(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length==r.length&&n.every(i=>e[i]==t[i])}});Ni.languageData=tme;Ni.changeFilter=rme;Ni.transactionFilter=ime;Ni.transactionExtender=sme;LD.reconfigure=Fr.define();function Fp(e,t,n={}){let r={};for(let i of e)for(let s of Object.keys(i)){let a=i[s],o=r[s];if(o===void 0)r[s]=a;else if(!(o===a||a===void 0))if(Object.hasOwnProperty.call(n,s))r[s]=n[s](o,a);else throw new Error("Config merge conflict for field "+s)}for(let i in t)r[i]===void 0&&(r[i]=t[i]);return r}class gy{eq(t){return this==t}range(t,n=t){return Q9.create(t,n,this)}}gy.prototype.startSide=gy.prototype.endSide=0;gy.prototype.point=!1;gy.prototype.mapMode=Ao.TrackDel;let Q9=class ume{constructor(t,n,r){this.from=t,this.to=n,this.value=r}static create(t,n,r){return new ume(t,n,r)}};function V9(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class Sq{constructor(t,n,r,i){this.from=t,this.to=n,this.value=r,this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(t,n,r,i=0){let s=r?this.to:this.from;for(let a=i,o=s.length;;){if(a==o)return a;let l=a+o>>1,c=s[l]-t||(r?this.value[l].endSide:this.value[l].startSide)-n;if(l==a)return c>=0?a:o;c>=0?o=l:a=l+1}}between(t,n,r,i){for(let s=this.findIndex(n,-1e9,!0),a=this.findIndex(r,1e9,!1,s);sg||p==g&&c.startSide>0&&c.endSide<=0)continue;(g-p||c.endSide-c.startSide)<0||(a<0&&(a=p),c.point&&(o=Math.max(o,g-p)),r.push(c),i.push(p-a),s.push(g-a))}return{mapped:r.length?new Sq(i,s,r,o):null,pos:a}}}class Ci{constructor(t,n,r,i){this.chunkPos=t,this.chunk=n,this.nextLayer=r,this.maxPoint=i}static create(t,n,r,i){return new Ci(t,n,r,i)}get length(){let t=this.chunk.length-1;return t<0?0:Math.max(this.chunkEnd(t),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let t=this.nextLayer.size;for(let n of this.chunk)t+=n.value.length;return t}chunkEnd(t){return this.chunkPos[t]+this.chunk[t].length}update(t){let{add:n=[],sort:r=!1,filterFrom:i=0,filterTo:s=this.length}=t,a=t.filter;if(n.length==0&&!a)return this;if(r&&(n=n.slice().sort(V9)),this.isEmpty)return n.length?Ci.of(n):this;let o=new cme(this,null,-1).goto(0),l=0,c=[],d=new gm;for(;o.value||l=0){let f=n[l++];d.addInner(f.from,f.to,f.value)||c.push(f)}else o.rangeIndex==1&&o.chunkIndexthis.chunkEnd(o.chunkIndex)||so.to||s=s&&t<=s+a.length&&a.between(s,t-s,n-s,r)===!1)return}this.nextLayer.between(t,n,r)}}iter(t=0){return Ik.from([this]).goto(t)}get isEmpty(){return this.nextLayer==this}static iter(t,n=0){return Ik.from(t).goto(n)}static compare(t,n,r,i,s=-1){let a=t.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=s),o=n.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=s),l=tne(a,o,r),c=new vw(a,l,s),d=new vw(o,l,s);r.iterGaps((f,p,g)=>nne(c,f,d,p,g,i)),r.empty&&r.length==0&&nne(c,0,d,0,0,i)}static eq(t,n,r=0,i){i==null&&(i=999999999);let s=t.filter(d=>!d.isEmpty&&n.indexOf(d)<0),a=n.filter(d=>!d.isEmpty&&t.indexOf(d)<0);if(s.length!=a.length)return!1;if(!s.length)return!0;let o=tne(s,a),l=new vw(s,o,0).goto(r),c=new vw(a,o,0).goto(r);for(;;){if(l.to!=c.to||!G9(l.active,c.active)||l.point&&(!c.point||!l.point.eq(c.point)))return!1;if(l.to>i)return!0;l.next(),c.next()}}static spans(t,n,r,i,s=-1){let a=new vw(t,null,s).goto(n),o=n,l=a.openStart;for(;;){let c=Math.min(a.to,r);if(a.point){let d=a.activeForPoint(a.to),f=a.pointFromo&&(i.span(o,c,a.active,l),l=a.openEnd(c));if(a.to>r)return l+(a.point&&a.to>r?1:0);o=a.to,a.next()}}static of(t,n=!1){let r=new gm;for(let i of t instanceof Q9?[t]:n?WYe(t):t)r.add(i.from,i.to,i.value);return r.finish()}static join(t){if(!t.length)return Ci.empty;let n=t[t.length-1];for(let r=t.length-2;r>=0;r--)for(let i=t[r];i!=Ci.empty;i=i.nextLayer)n=new Ci(i.chunkPos,i.chunk,n,Math.max(i.maxPoint,n.maxPoint));return n}}Ci.empty=new Ci([],[],null,-1);function WYe(e){if(e.length>1)for(let t=e[0],n=1;n0)return e.slice().sort(V9);t=r}return e}Ci.empty.nextLayer=Ci.empty;class gm{finishChunk(t){this.chunks.push(new Sq(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,t&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(t,n,r){this.addInner(t,n,r)||(this.nextLayer||(this.nextLayer=new gm)).add(t,n,r)}addInner(t,n,r){let i=t-this.lastTo||r.startSide-this.last.endSide;if(i<=0&&(t-this.lastFrom||r.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return i<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=t),this.from.push(t-this.chunkStart),this.to.push(n-this.chunkStart),this.last=r,this.lastFrom=t,this.lastTo=n,this.value.push(r),r.point&&(this.maxPoint=Math.max(this.maxPoint,n-t)),!0)}addChunk(t,n){if((t-this.lastTo||n.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,n.maxPoint),this.chunks.push(n),this.chunkPos.push(t);let r=n.value.length-1;return this.last=n.value[r],this.lastFrom=n.from[r]+t,this.lastTo=n.to[r]+t,!0}finish(){return this.finishInner(Ci.empty)}finishInner(t){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return t;let n=Ci.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(t):t,this.setMaxPoint);return this.from=null,n}}function tne(e,t,n){let r=new Map;for(let s of e)for(let a=0;a=this.minPoint)break}}setRangeIndex(t){if(t==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=r&&i.push(new cme(a,n,r,s));return i.length==1?i[0]:new Ik(i)}get startSide(){return this.value?this.value.startSide:0}goto(t,n=-1e9){for(let r of this.heap)r.goto(t,n);for(let r=this.heap.length>>1;r>=0;r--)$P(this.heap,r);return this.next(),this}forward(t,n){for(let r of this.heap)r.forward(t,n);for(let r=this.heap.length>>1;r>=0;r--)$P(this.heap,r);(this.to-t||this.value.endSide-n)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let t=this.heap[0];this.from=t.from,this.to=t.to,this.value=t.value,this.rank=t.rank,t.value&&t.next(),$P(this.heap,0)}}}function $P(e,t){for(let n=e[t];;){let r=(t<<1)+1;if(r>=e.length)break;let i=e[r];if(r+1=0&&(i=e[r+1],r++),n.compare(i)<0)break;e[r]=n,e[t]=i,t=r}}class vw{constructor(t,n,r){this.minPoint=r,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Ik.from(t,n,r)}goto(t,n=-1e9){return this.cursor.goto(t,n),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=t,this.endSide=n,this.openStart=-1,this.next(),this}forward(t,n){for(;this.minActive>-1&&(this.activeTo[this.minActive]-t||this.active[this.minActive].endSide-n)<0;)this.removeActive(this.minActive);this.cursor.forward(t,n)}removeActive(t){R4(this.active,t),R4(this.activeTo,t),R4(this.activeRank,t),this.minActive=rne(this.active,this.activeTo)}addActive(t){let n=0,{value:r,to:i,rank:s}=this.cursor;for(;n0;)n++;I4(this.active,n,r),I4(this.activeTo,n,i),I4(this.activeRank,n,s),t&&I4(t,n,this.cursor.from),this.minActive=rne(this.active,this.activeTo)}next(){let t=this.to,n=this.point;this.point=null;let r=this.openStart<0?[]:null;for(;;){let i=this.minActive;if(i>-1&&(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)<0){if(this.activeTo[i]>t){this.to=this.activeTo[i],this.endSide=this.active[i].endSide;break}this.removeActive(i),r&&R4(r,i)}else if(this.cursor.value)if(this.cursor.from>t){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let s=this.cursor.value;if(!s.point)this.addActive(r),this.cursor.next();else if(n&&this.cursor.to==this.to&&this.cursor.from=0&&r[i]=0&&!(this.activeRank[r]t||this.activeTo[r]==t&&this.active[r].endSide>=this.point.endSide)&&n.push(this.active[r]);return n.reverse()}openEnd(t){let n=0;for(let r=this.activeTo.length-1;r>=0&&this.activeTo[r]>t;r--)n++;return n}}function nne(e,t,n,r,i,s){e.goto(t),n.goto(r);let a=r+i,o=r,l=r-t;for(;;){let c=e.to+l-n.to||e.endSide-n.endSide,d=c<0?e.to+l:n.to,f=Math.min(d,a);if(e.point||n.point?e.point&&n.point&&(e.point==n.point||e.point.eq(n.point))&&G9(e.activeForPoint(e.to),n.activeForPoint(n.to))||s.comparePoint(o,f,e.point,n.point):f>o&&!G9(e.active,n.active)&&s.compareRange(o,f,e.active,n.active),d>a)break;o=d,c<=0&&e.next(),c>=0&&n.next()}}function G9(e,t){if(e.length!=t.length)return!1;for(let n=0;n=t;r--)e[r+1]=e[r];e[t]=n}function rne(e,t){let n=-1,r=1e9;for(let i=0;i=t)return i;if(i==e.length)break;s+=e.charCodeAt(i)==9?n-s%n:1,i=ql(e,i)}return r===!0?-1:e.length}const Z9="ͼ",ine=typeof Symbol>"u"?"__"+Z9:Symbol.for(Z9),X9=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),sne=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class c1{constructor(t,n){this.rules=[];let{finish:r}=n||{};function i(a){return/^@/.test(a)?[a]:a.split(/,\s*/)}function s(a,o,l,c){let d=[],f=/^@(\w+)\b/.exec(a[0]),p=f&&f[1]=="keyframes";if(f&&o==null)return l.push(a[0]+";");for(let g in o){let b=o[g];if(/&/.test(g))s(g.split(/,\s*/).map(w=>a.map(x=>w.replace(/&/,x))).reduce((w,x)=>w.concat(x)),b,l);else if(b&&typeof b=="object"){if(!f)throw new RangeError("The value of a property ("+g+") should be a primitive value.");s(i(g),b,d,p)}else b!=null&&d.push(g.replace(/_.*/,"").replace(/[A-Z]/g,w=>"-"+w.toLowerCase())+": "+b+";")}(d.length||p)&&l.push((r&&!f&&!c?a.map(r):a).join(", ")+" {"+d.join(" ")+"}")}for(let a in t)s(i(a),t[a],this.rules)}getRules(){return this.rules.join(` -`)}static newName(){let t=sne[ine]||1;return sne[ine]=t+1,Z9+t.toString(36)}static mount(t,n,r){let i=t[X9],s=r&&r.nonce;i?s&&i.setNonce(s):i=new QYe(t,s),i.mount(Array.isArray(n)?n:[n],t)}}let ane=new Map;class QYe{constructor(t,n){let r=t.ownerDocument||t,i=r.defaultView;if(!t.head&&t.adoptedStyleSheets&&i.CSSStyleSheet){let s=ane.get(r);if(s)return t[X9]=s;this.sheet=new i.CSSStyleSheet,ane.set(r,this)}else this.styleTag=r.createElement("style"),n&&this.styleTag.setAttribute("nonce",n);this.modules=[],t[X9]=this}mount(t,n){let r=this.sheet,i=0,s=0;for(let a=0;a-1&&(this.modules.splice(l,1),s--,l=-1),l==-1){if(this.modules.splice(s++,0,o),r)for(let c=0;c",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},VYe=typeof navigator<"u"&&/Mac/.test(navigator.platform),GYe=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var ml=0;ml<10;ml++)d1[48+ml]=d1[96+ml]=String(ml);for(var ml=1;ml<=24;ml++)d1[ml+111]="F"+ml;for(var ml=65;ml<=90;ml++)d1[ml]=String.fromCharCode(ml+32),Dk[ml]=String.fromCharCode(ml);for(var BP in d1)Dk.hasOwnProperty(BP)||(Dk[BP]=d1[BP]);function YYe(e){var t=VYe&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||GYe&&e.shiftKey&&e.key&&e.key.length==1||e.key=="Unidentified",n=!t&&e.key||(e.shiftKey?Dk:d1)[e.keyCode]||e.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}function W5(e){let t;return e.nodeType==11?t=e.getSelection?e:e.ownerDocument:t=e,t.getSelection()}function K9(e,t){return t?e==t||e.contains(t.nodeType!=1?t.parentNode:t):!1}function ZYe(e){let t=e.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}function J3(e,t){if(!t.anchorNode)return!1;try{return K9(e,t.anchorNode)}catch{return!1}}function Nk(e){return e.nodeType==3?by(e,0,e.nodeValue.length).getClientRects():e.nodeType==1?e.getClientRects():[]}function kT(e,t,n,r){return n?one(e,t,n,r,-1)||one(e,t,n,r,1):!1}function Pk(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t}function one(e,t,n,r,i){for(;;){if(e==n&&t==r)return!0;if(t==(i<0?0:bm(e))){if(e.nodeName=="DIV")return!1;let s=e.parentNode;if(!s||s.nodeType!=1)return!1;t=Pk(e)+(i<0?0:1),e=s}else if(e.nodeType==1){if(e=e.childNodes[t+(i<0?-1:0)],e.nodeType==1&&e.contentEditable=="false")return!1;t=i<0?bm(e):0}else return!1}}function bm(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function Oq(e,t){let n=t?e.left:e.right;return{left:n,right:n,top:e.top,bottom:e.bottom}}function XYe(e){return{left:0,right:e.innerWidth,top:0,bottom:e.innerHeight}}function dme(e,t){let n=t.width/e.offsetWidth,r=t.height/e.offsetHeight;return(n>.995&&n<1.005||!isFinite(n)||Math.abs(t.width-e.offsetWidth)<1)&&(n=1),(r>.995&&r<1.005||!isFinite(r)||Math.abs(t.height-e.offsetHeight)<1)&&(r=1),{scaleX:n,scaleY:r}}function KYe(e,t,n,r,i,s,a,o){let l=e.ownerDocument,c=l.defaultView||window;for(let d=e,f=!1;d&&!f;)if(d.nodeType==1){let p,g=d==l.body,b=1,w=1;if(g)p=XYe(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(d).position)&&(f=!0),d.scrollHeight<=d.clientHeight&&d.scrollWidth<=d.clientWidth){d=d.assignedSlot||d.parentNode;continue}let _=d.getBoundingClientRect();({scaleX:b,scaleY:w}=dme(d,_)),p={left:_.left,right:_.left+d.clientWidth*b,top:_.top,bottom:_.top+d.clientHeight*w}}let x=0,T=0;if(i=="nearest")t.top0&&t.bottom>p.bottom+T&&(T=t.bottom-p.bottom+T+a)):t.bottom>p.bottom&&(T=t.bottom-p.bottom+a,n<0&&t.top-T0&&t.right>p.right+x&&(x=t.right-p.right+x+s)):t.right>p.right&&(x=t.right-p.right+s,n<0&&t.leftn.clientHeight||n.scrollWidth>n.clientWidth)return n;n=n.assignedSlot||n.parentNode}else if(n.nodeType==11)n=n.host;else break;return null}class eZe{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(t){return this.anchorNode==t.anchorNode&&this.anchorOffset==t.anchorOffset&&this.focusNode==t.focusNode&&this.focusOffset==t.focusOffset}setRange(t){let{anchorNode:n,focusNode:r}=t;this.set(n,Math.min(t.anchorOffset,n?bm(n):0),r,Math.min(t.focusOffset,r?bm(r):0))}set(t,n,r,i){this.anchorNode=t,this.anchorOffset=n,this.focusNode=r,this.focusOffset=i}}let Zv=null;function fme(e){if(e.setActive)return e.setActive();if(Zv)return e.focus(Zv);let t=[];for(let n=e;n&&(t.push(n,n.scrollTop,n.scrollLeft),n!=n.ownerDocument);n=n.parentNode);if(e.focus(Zv==null?{get preventScroll(){return Zv={preventScroll:!0},!0}}:void 0),!Zv){Zv=!1;for(let n=0;nMath.max(1,e.scrollHeight-e.clientHeight-4)}class Hl{constructor(t,n,r=!0){this.node=t,this.offset=n,this.precise=r}static before(t,n){return new Hl(t.parentNode,Pk(t),n)}static after(t,n){return new Hl(t.parentNode,Pk(t)+1,n)}}const Eq=[];class Ys{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(t){let n=this.posAtStart;for(let r of this.children){if(r==t)return n;n+=r.length+r.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(t){return this.posBefore(t)+t.length}sync(t,n){if(this.flags&2){let r=this.dom,i=null,s;for(let a of this.children){if(a.flags&7){if(!a.dom&&(s=i?i.nextSibling:r.firstChild)){let o=Ys.get(s);(!o||!o.parent&&o.canReuseDOM(a))&&a.reuseDOM(s)}a.sync(t,n),a.flags&=-8}if(s=i?i.nextSibling:r.firstChild,n&&!n.written&&n.node==r&&s!=a.dom&&(n.written=!0),a.dom.parentNode==r)for(;s&&s!=a.dom;)s=une(s);else r.insertBefore(a.dom,s);i=a.dom}for(s=i?i.nextSibling:r.firstChild,s&&n&&n.node==r&&(n.written=!0);s;)s=une(s)}else if(this.flags&1)for(let r of this.children)r.flags&7&&(r.sync(t,n),r.flags&=-8)}reuseDOM(t){}localPosFromDOM(t,n){let r;if(t==this.dom)r=this.dom.childNodes[n];else{let i=bm(t)==0?0:n==0?-1:1;for(;;){let s=t.parentNode;if(s==this.dom)break;i==0&&s.firstChild!=s.lastChild&&(t==s.firstChild?i=-1:i=1),t=s}i<0?r=t:r=t.nextSibling}if(r==this.dom.firstChild)return 0;for(;r&&!Ys.get(r);)r=r.nextSibling;if(!r)return this.length;for(let i=0,s=0;;i++){let a=this.children[i];if(a.dom==r)return s;s+=a.length+a.breakAfter}}domBoundsAround(t,n,r=0){let i=-1,s=-1,a=-1,o=-1;for(let l=0,c=r,d=r;ln)return f.domBoundsAround(t,n,c);if(p>=t&&i==-1&&(i=l,s=c),c>n&&f.dom.parentNode==this.dom){a=l,o=d;break}d=p,c=p+f.breakAfter}return{from:s,to:o<0?r+this.length:o,startDOM:(i?this.children[i-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:a=0?this.children[a].dom:null}}markDirty(t=!1){this.flags|=2,this.markParentsDirty(t)}markParentsDirty(t){for(let n=this.parent;n;n=n.parent){if(t&&(n.flags|=2),n.flags&1)return;n.flags|=1,t=!1}}setParent(t){this.parent!=t&&(this.parent=t,this.flags&7&&this.markParentsDirty(!0))}setDOM(t){this.dom!=t&&(this.dom&&(this.dom.cmView=null),this.dom=t,t.cmView=this)}get rootView(){for(let t=this;;){let n=t.parent;if(!n)return t;t=n}}replaceChildren(t,n,r=Eq){this.markDirty();for(let i=t;ithis.pos||t==this.pos&&(n>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=t-this.pos,this;let r=this.children[--this.i];this.pos-=r.length+r.breakAfter}}}function gme(e,t,n,r,i,s,a,o,l){let{children:c}=e,d=c.length?c[t]:null,f=s.length?s[s.length-1]:null,p=f?f.breakAfter:a;if(!(t==r&&d&&!a&&!p&&s.length<2&&d.merge(n,i,s.length?f:null,n==0,o,l))){if(r0&&(!a&&s.length&&d.merge(n,d.length,s[0],!1,o,0)?d.breakAfter=s.shift().breakAfter:(n2);var er={mac:fne||/Mac/.test(Gc.platform),windows:/Win/.test(Gc.platform),linux:/Linux|X11/.test(Gc.platform),ie:MD,ie_version:yme?J9.documentMode||6:tF?+tF[1]:eF?+eF[1]:0,gecko:cne,gecko_version:cne?+(/Firefox\/(\d+)/.exec(Gc.userAgent)||[0,0])[1]:0,chrome:!!UP,chrome_version:UP?+UP[1]:0,ios:fne,android:/Android\b/.test(Gc.userAgent),webkit:dne,safari:vme,webkit_version:dne?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:J9.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const rZe=256;class ym extends Ys{constructor(t){super(),this.text=t}get length(){return this.text.length}createDOM(t){this.setDOM(t||document.createTextNode(this.text))}sync(t,n){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(n&&n.node==this.dom&&(n.written=!0),this.dom.nodeValue=this.text)}reuseDOM(t){t.nodeType==3&&this.createDOM(t)}merge(t,n,r){return this.flags&8||r&&(!(r instanceof ym)||this.length-(n-t)+r.length>rZe||r.flags&8)?!1:(this.text=this.text.slice(0,t)+(r?r.text:"")+this.text.slice(n),this.markDirty(),!0)}split(t){let n=new ym(this.text.slice(t));return this.text=this.text.slice(0,t),this.markDirty(),n.flags|=this.flags&8,n}localPosFromDOM(t,n){return t==this.dom?n:n?this.text.length:0}domAtPos(t){return new Hl(this.dom,t)}domBoundsAround(t,n,r){return{from:r,to:r+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(t,n){return iZe(this.dom,t,n)}}class vm extends Ys{constructor(t,n=[],r=0){super(),this.mark=t,this.children=n,this.length=r;for(let i of n)i.setParent(this)}setAttrs(t){if(hme(t),this.mark.class&&(t.className=this.mark.class),this.mark.attrs)for(let n in this.mark.attrs)t.setAttribute(n,this.mark.attrs[n]);return t}canReuseDOM(t){return super.canReuseDOM(t)&&!((this.flags|t.flags)&8)}reuseDOM(t){t.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(t),this.flags|=6)}sync(t,n){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(t,n)}merge(t,n,r,i,s,a){return r&&(!(r instanceof vm&&r.mark.eq(this.mark))||t&&s<=0||nt&&n.push(r=t&&(i=s),r=l,s++}let a=this.length-t;return this.length=t,i>-1&&(this.children.length=i,this.markDirty()),new vm(this.mark,n,a)}domAtPos(t){return Sme(this,t)}coordsAt(t,n){return Eme(this,t,n)}}function iZe(e,t,n){let r=e.nodeValue.length;t>r&&(t=r);let i=t,s=t,a=0;t==0&&n<0||t==r&&n>=0?er.chrome||er.gecko||(t?(i--,a=1):s=0)?0:o.length-1];return er.safari&&!a&&l.width==0&&(l=Array.prototype.find.call(o,c=>c.width)||l),a?Oq(l,a<0):l||null}class Hg extends Ys{static create(t,n,r){return new Hg(t,n,r)}constructor(t,n,r){super(),this.widget=t,this.length=n,this.side=r,this.prevWidget=null}split(t){let n=Hg.create(this.widget,this.length-t,this.side);return this.length-=t,n}sync(t){(!this.dom||!this.widget.updateDOM(this.dom,t))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(t)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(t,n,r,i,s,a){return r&&(!(r instanceof Hg)||!this.widget.compare(r.widget)||t>0&&s<=0||n0)?Hl.before(this.dom):Hl.after(this.dom,t==this.length)}domBoundsAround(){return null}coordsAt(t,n){let r=this.widget.coordsAt(this.dom,t,n);if(r)return r;let i=this.dom.getClientRects(),s=null;if(!i.length)return null;let a=this.side?this.side<0:t>0;for(let o=a?i.length-1:0;s=i[o],!(t>0?o==0:o==i.length-1||s.top0?Hl.before(this.dom):Hl.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(t){return this.dom.getBoundingClientRect()}get overrideDOMText(){return Oi.empty}get isHidden(){return!0}}ym.prototype.children=Hg.prototype.children=nE.prototype.children=Eq;function Sme(e,t){let n=e.dom,{children:r}=e,i=0;for(let s=0;is&&t0;s--){let a=r[s-1];if(a.dom.parentNode==n)return a.domAtPos(a.length)}for(let s=i;s0&&t instanceof vm&&i.length&&(r=i[i.length-1])instanceof vm&&r.mark.eq(t.mark)?Ome(r,t.children[0],n-1):(i.push(t),t.setParent(e)),e.length+=t.length}function Eme(e,t,n){let r=null,i=-1,s=null,a=-1;function o(c,d){for(let f=0,p=0;f=d&&(g.children.length?o(g,d-p):(!s||s.isHidden&&n>0)&&(b>d||p==b&&g.getSide()>0)?(s=g,a=d-p):(p-1?1:0)!=i.length-(n&&i.indexOf(n)>-1?1:0))return!1;for(let s of r)if(s!=n&&(i.indexOf(s)==-1||e[s]!==t[s]))return!1;return!0}function rF(e,t,n){let r=!1;if(t)for(let i in t)n&&i in n||(r=!0,i=="style"?e.style.cssText="":e.removeAttribute(i));if(n)for(let i in n)t&&t[i]==n[i]||(r=!0,i=="style"?e.style.cssText=n[i]:e.setAttribute(i,n[i]));return r}function aZe(e){let t=Object.create(null);for(let n=0;n0&&this.children[r-1].length==0;)this.children[--r].destroy();return this.children.length=r,this.markDirty(),this.length=t,n}transferDOM(t){this.dom&&(this.markDirty(),t.setDOM(this.dom),t.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(t){wq(this.attrs,t)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=t)}append(t,n){Ome(this,t,n)}addLineDeco(t){let n=t.spec.attributes,r=t.spec.class;n&&(this.attrs=nF(n,this.attrs||{})),r&&(this.attrs=nF({class:r},this.attrs||{}))}domAtPos(t){return Sme(this,t)}reuseDOM(t){t.nodeName=="DIV"&&(this.setDOM(t),this.flags|=6)}sync(t,n){var r;this.dom?this.flags&4&&(hme(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(rF(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(t,n);let i=this.dom.lastChild;for(;i&&Ys.get(i)instanceof vm;)i=i.lastChild;if(!i||!this.length||i.nodeName!="BR"&&((r=Ys.get(i))===null||r===void 0?void 0:r.isEditable)==!1&&(!er.ios||!this.children.some(s=>s instanceof ym))){let s=document.createElement("BR");s.cmIgnore=!0,this.dom.appendChild(s)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let t=0,n;for(let r of this.children){if(!(r instanceof ym)||/[^ -~]/.test(r.text))return null;let i=Nk(r.dom);if(i.length!=1)return null;t+=i[0].width,n=i[0].height}return t?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:t/this.length,textHeight:n}:null}coordsAt(t,n){let r=Eme(this,t,n);if(!this.children.length&&r&&this.parent){let{heightOracle:i}=this.parent.view.viewState,s=r.bottom-r.top;if(Math.abs(s-i.lineHeight)<2&&i.textHeight=n){if(s instanceof wo)return s;if(a>n)break}i=a+s.breakAfter}return null}}class t1 extends Ys{constructor(t,n,r){super(),this.widget=t,this.length=n,this.deco=r,this.breakAfter=0,this.prevWidget=null}merge(t,n,r,i,s,a){return r&&(!(r instanceof t1)||!this.widget.compare(r.widget)||t>0&&s<=0||n0}}class Sh{eq(t){return!1}updateDOM(t,n){return!1}compare(t){return this==t||this.constructor==t.constructor&&this.eq(t)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(t){return!0}coordsAt(t,n,r){return null}get isHidden(){return!1}get editable(){return!1}destroy(t){}}var Ou=function(e){return e[e.Text=0]="Text",e[e.WidgetBefore=1]="WidgetBefore",e[e.WidgetAfter=2]="WidgetAfter",e[e.WidgetRange=3]="WidgetRange",e}(Ou||(Ou={}));class Kn extends gy{constructor(t,n,r,i){super(),this.startSide=t,this.endSide=n,this.widget=r,this.spec=i}get heightRelevant(){return!1}static mark(t){return new tA(t)}static widget(t){let n=Math.max(-1e4,Math.min(1e4,t.side||0)),r=!!t.block;return n+=r&&!t.inlineOrder?n>0?3e8:-4e8:n>0?1e8:-1e8,new f1(t,n,n,r,t.widget||null,!1)}static replace(t){let n=!!t.block,r,i;if(t.isBlockGap)r=-5e8,i=4e8;else{let{start:s,end:a}=wme(t,n);r=(s?n?-3e8:-1:5e8)-1,i=(a?n?2e8:1:-6e8)+1}return new f1(t,r,i,n,t.widget||null,!0)}static line(t){return new nA(t)}static set(t,n=!1){return Ci.of(t,n)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}Kn.none=Ci.empty;class tA extends Kn{constructor(t){let{start:n,end:r}=wme(t);super(n?-1:5e8,r?1:-6e8,null,t),this.tagName=t.tagName||"span",this.class=t.class||"",this.attrs=t.attributes||null}eq(t){var n,r;return this==t||t instanceof tA&&this.tagName==t.tagName&&(this.class||((n=this.attrs)===null||n===void 0?void 0:n.class))==(t.class||((r=t.attrs)===null||r===void 0?void 0:r.class))&&wq(this.attrs,t.attrs,"class")}range(t,n=t){if(t>=n)throw new RangeError("Mark decorations may not be empty");return super.range(t,n)}}tA.prototype.point=!1;class nA extends Kn{constructor(t){super(-2e8,-2e8,null,t)}eq(t){return t instanceof nA&&this.spec.class==t.spec.class&&wq(this.spec.attributes,t.spec.attributes)}range(t,n=t){if(n!=t)throw new RangeError("Line decoration ranges must be zero-length");return super.range(t,n)}}nA.prototype.mapMode=Ao.TrackBefore;nA.prototype.point=!0;class f1 extends Kn{constructor(t,n,r,i,s,a){super(n,r,s,t),this.block=i,this.isReplace=a,this.mapMode=i?n<=0?Ao.TrackBefore:Ao.TrackAfter:Ao.TrackDel}get type(){return this.startSide!=this.endSide?Ou.WidgetRange:this.startSide<=0?Ou.WidgetBefore:Ou.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(t){return t instanceof f1&&oZe(this.widget,t.widget)&&this.block==t.block&&this.startSide==t.startSide&&this.endSide==t.endSide}range(t,n=t){if(this.isReplace&&(t>n||t==n&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&n!=t)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(t,n)}}f1.prototype.point=!0;function wme(e,t=!1){let{inclusiveStart:n,inclusiveEnd:r}=e;return n==null&&(n=e.inclusive),r==null&&(r=e.inclusive),{start:n??t,end:r??t}}function oZe(e,t){return e==t||!!(e&&t&&e.compare(t))}function iF(e,t,n,r=0){let i=n.length-1;i>=0&&n[i]+r>=e?n[i]=Math.max(n[i],t):n.push(e,t)}class _T{constructor(t,n,r,i){this.doc=t,this.pos=n,this.end=r,this.disallowBlockEffectsFor=i,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=t.iter(),this.skip=n}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let t=this.content[this.content.length-1];return!(t.breakAfter||t instanceof t1&&t.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new wo),this.atCursorPos=!0),this.curLine}flushBuffer(t=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(D4(new nE(-1),t),t.length),this.pendingBuffer=0)}addBlockWidget(t){this.flushBuffer(),this.curLine=null,this.content.push(t)}finish(t){this.pendingBuffer&&t<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!this.posCovered()&&!(t&&this.content.length&&this.content[this.content.length-1]instanceof t1)&&this.getLine()}buildText(t,n,r){for(;t>0;){if(this.textOff==this.text.length){let{value:s,lineBreak:a,done:o}=this.cursor.next(this.skip);if(this.skip=0,o)throw new Error("Ran out of text content when drawing inline views");if(a){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,t--;continue}else this.text=s,this.textOff=0}let i=Math.min(this.text.length-this.textOff,t,512);this.flushBuffer(n.slice(n.length-r)),this.getLine().append(D4(new ym(this.text.slice(this.textOff,this.textOff+i)),n),r),this.atCursorPos=!0,this.textOff+=i,t-=i,r=0}}span(t,n,r,i){this.buildText(n-t,r,i),this.pos=n,this.openStart<0&&(this.openStart=i)}point(t,n,r,i,s,a){if(this.disallowBlockEffectsFor[a]&&r instanceof f1){if(r.block)throw new RangeError("Block decorations may not be specified via plugins");if(n>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let o=n-t;if(r instanceof f1)if(r.block)r.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new t1(r.widget||new pne("div"),o,r));else{let l=Hg.create(r.widget||new pne("span"),o,o?0:r.startSide),c=this.atCursorPos&&!l.isEditable&&s<=i.length&&(t0),d=!l.isEditable&&(ti.length||r.startSide<=0),f=this.getLine();this.pendingBuffer==2&&!c&&!l.isEditable&&(this.pendingBuffer=0),this.flushBuffer(i),c&&(f.append(D4(new nE(1),i),s),s=i.length+Math.max(0,s-i.length)),f.append(D4(l,i),s),this.atCursorPos=d,this.pendingBuffer=d?ti.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=i.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(r);o&&(this.textOff+o<=this.text.length?this.textOff+=o:(this.skip+=o-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=n),this.openStart<0&&(this.openStart=s)}static build(t,n,r,i,s){let a=new _T(t,n,r,s);return a.openEnd=Ci.spans(i,n,r,a),a.openStart<0&&(a.openStart=a.openEnd),a.finish(a.openEnd),a}}function D4(e,t){for(let n of t)e=new vm(n,[e],e.length);return e}class pne extends Sh{constructor(t){super(),this.tag=t}eq(t){return t.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(t){return t.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}var Us=function(e){return e[e.LTR=0]="LTR",e[e.RTL=1]="RTL",e}(Us||(Us={}));const yy=Us.LTR,xq=Us.RTL;function xme(e){let t=[];for(let n=0;n=n){if(o.level==r)return a;(s<0||(i!=0?i<0?o.fromn:t[s].level>o.level))&&(s=a)}}if(s<0)throw new RangeError("Index out of range");return s}}function kme(e,t){if(e.length!=t.length)return!1;for(let n=0;n=0;w-=3)if(Qh[w+1]==-g){let x=Qh[w+2],T=x&2?i:x&4?x&1?s:i:0;T&&(ks[f]=ks[Qh[w]]=T),o=w;break}}else{if(Qh.length==189)break;Qh[o++]=f,Qh[o++]=p,Qh[o++]=l}else if((b=ks[f])==2||b==1){let w=b==i;l=w?0:1;for(let x=o-3;x>=0;x-=3){let T=Qh[x+2];if(T&2)break;if(w)Qh[x+2]|=2;else{if(T&4)break;Qh[x+2]|=4}}}}}function hZe(e,t,n,r){for(let i=0,s=r;i<=n.length;i++){let a=i?n[i-1].to:e,o=il;)b==x&&(b=n[--w].from,x=w?n[w-1].to:e),ks[--b]=g;l=d}else s=c,l++}}}function aF(e,t,n,r,i,s,a){let o=r%2?2:1;if(r%2==i%2)for(let l=t,c=0;ll&&a.push(new qg(l,w.from,g));let x=w.direction==yy!=!(g%2);oF(e,x?r+1:r,i,w.inner,w.from,w.to,a),l=w.to}b=w.to}else{if(b==n||(d?ks[b]!=o:ks[b]==o))break;b++}p?aF(e,l,b,r+1,i,p,a):lt;){let d=!0,f=!1;if(!c||l>s[c-1].to){let w=ks[l-1];w!=o&&(d=!1,f=w==16)}let p=!d&&o==1?[]:null,g=d?r:r+1,b=l;e:for(;;)if(c&&b==s[c-1].to){if(f)break e;let w=s[--c];if(!d)for(let x=w.from,T=c;;){if(x==t)break e;if(T&&s[T-1].to==x)x=s[--T].from;else{if(ks[x-1]==o)break e;break}}if(p)p.push(w);else{w.toks.length;)ks[ks.length]=256;let r=[],i=t==yy?0:1;return oF(e,i,i,n,0,e.length,r),r}function _me(e){return[new qg(0,e,0)]}let Ame="";function mZe(e,t,n,r,i){var s;let a=r.head-e.from,o=qg.find(t,a,(s=r.bidiLevel)!==null&&s!==void 0?s:-1,r.assoc),l=t[o],c=l.side(i,n);if(a==c){let p=o+=i?1:-1;if(p<0||p>=t.length)return null;l=t[o=p],a=l.side(!i,n),c=l.side(i,n)}let d=ql(e.text,a,l.forward(i,n));(dl.to)&&(d=c),Ame=e.text.slice(Math.min(a,d),Math.max(a,d));let f=o==(i?t.length-1:0)?null:t[o+(i?1:-1)];return f&&d==c&&f.level+(i?0:1)e.some(t=>t)}),Mme=Gn.define({combine:e=>e.some(t=>t)});class oO{constructor(t,n="nearest",r="nearest",i=5,s=5,a=!1){this.range=t,this.y=n,this.x=r,this.yMargin=i,this.xMargin=s,this.isSnapshot=a}map(t){return t.empty?this:new oO(this.range.map(t),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(t){return this.range.to<=t.doc.length?this:new oO(Bt.cursor(t.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const N4=Fr.define({map:(e,t)=>e.map(t)});function of(e,t,n){let r=e.facet(Dme);r.length?r[0](t):window.onerror?window.onerror(String(t),n,void 0,void 0,t):n?console.error(n+":",t):console.error(t)}const FD=Gn.define({combine:e=>e.length?e[0]:!0});let bZe=0;const Vw=Gn.define();class pa{constructor(t,n,r,i,s){this.id=t,this.create=n,this.domEventHandlers=r,this.domEventObservers=i,this.extension=s(this)}static define(t,n){const{eventHandlers:r,eventObservers:i,provide:s,decorations:a}=n||{};return new pa(bZe++,t,r,i,o=>{let l=[Vw.of(o)];return a&&l.push(Lk.of(c=>{let d=c.plugin(o);return d?a(d):Kn.none})),s&&l.push(s(o)),l})}static fromClass(t,n){return pa.define(r=>new t(r),n)}}class zP{constructor(t){this.spec=t,this.mustUpdate=null,this.value=null}update(t){if(this.value){if(this.mustUpdate){let n=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(n)}catch(r){if(of(n.state,r,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(t)}catch(n){of(t.state,n,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(t){var n;if(!((n=this.value)===null||n===void 0)&&n.destroy)try{this.value.destroy()}catch(r){of(t.state,r,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const Fme=Gn.define(),Tq=Gn.define(),Lk=Gn.define(),$me=Gn.define(),kq=Gn.define(),Bme=Gn.define();function mne(e,t){let n=e.state.facet(Bme);if(!n.length)return n;let r=n.map(s=>s instanceof Function?s(e):s),i=[];return Ci.spans(r,t.from,t.to,{point(){},span(s,a,o,l){let c=s-t.from,d=a-t.from,f=i;for(let p=o.length-1;p>=0;p--,l--){let g=o[p].spec.bidiIsolate,b;if(g==null&&(g=gZe(t.text,c,d)),l>0&&f.length&&(b=f[f.length-1]).to==c&&b.direction==g)b.to=d,f=b.inner;else{let w={from:c,to:d,direction:g,inner:[]};f.push(w),f=w.inner}}}}),i}const Ume=Gn.define();function zme(e){let t=0,n=0,r=0,i=0;for(let s of e.state.facet(Ume)){let a=s(e);a&&(a.left!=null&&(t=Math.max(t,a.left)),a.right!=null&&(n=Math.max(n,a.right)),a.top!=null&&(r=Math.max(r,a.top)),a.bottom!=null&&(i=Math.max(i,a.bottom)))}return{left:t,right:n,top:r,bottom:i}}const Gw=Gn.define();class lf{constructor(t,n,r,i){this.fromA=t,this.toA=n,this.fromB=r,this.toB=i}join(t){return new lf(Math.min(this.fromA,t.fromA),Math.max(this.toA,t.toA),Math.min(this.fromB,t.fromB),Math.max(this.toB,t.toB))}addToSet(t){let n=t.length,r=this;for(;n>0;n--){let i=t[n-1];if(!(i.fromA>r.toA)){if(i.toAd)break;s+=2}if(!l)return r;new lf(l.fromA,l.toA,l.fromB,l.toB).addToSet(r),a=l.toA,o=l.toB}}}class Q5{constructor(t,n,r){this.view=t,this.state=n,this.transactions=r,this.flags=0,this.startState=t.state,this.changes=To.empty(this.startState.doc.length);for(let s of r)this.changes=this.changes.compose(s.changes);let i=[];this.changes.iterChangedRanges((s,a,o,l)=>i.push(new lf(s,a,o,l))),this.changedRanges=i}static create(t,n,r){return new Q5(t,n,r)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(t=>t.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}class gne extends Ys{get length(){return this.view.state.doc.length}constructor(t){super(),this.view=t,this.decorations=[],this.dynamicDecorationMap=[],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(t.contentDOM),this.children=[new wo],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new lf(0,0,0,t.state.doc.length)],0,null)}update(t){var n;let r=t.changedRanges;this.minWidth>0&&r.length&&(r.every(({fromA:c,toA:d})=>dthis.minWidthTo)?(this.minWidthFrom=t.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=t.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0);let i=-1;this.view.inputState.composing>=0&&(!((n=this.domChanged)===null||n===void 0)&&n.newSel?i=this.domChanged.newSel.head:!xZe(t.changes,this.hasComposition)&&!t.selectionSet&&(i=t.state.selection.main.head));let s=i>-1?vZe(this.view,t.changes,i):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:c,to:d}=this.hasComposition;r=new lf(c,d,t.changes.mapPos(c,-1),t.changes.mapPos(d,1)).addToSet(r.slice())}this.hasComposition=s?{from:s.range.fromB,to:s.range.toB}:null,(er.ie||er.chrome)&&!s&&t&&t.state.doc.lines!=t.startState.doc.lines&&(this.forceSelection=!0);let a=this.decorations,o=this.updateDeco(),l=EZe(a,o,t.changes);return r=lf.extendWithRanges(r,l),!(this.flags&7)&&r.length==0?!1:(this.updateInner(r,t.startState.doc.length,s),t.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(t,n,r){this.view.viewState.mustMeasureContent=!0,this.updateChildren(t,n,r);let{observer:i}=this.view;i.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let a=er.chrome||er.ios?{node:i.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,a),this.flags&=-8,a&&(a.written||i.selectionRange.focusNode!=a.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(a=>a.flags&=-9);let s=[];if(this.view.viewport.from||this.view.viewport.to=0?i[a]:null;if(!o)break;let{fromA:l,toA:c,fromB:d,toB:f}=o,p,g,b,w;if(r&&r.range.fromBd){let I=_T.build(this.view.state.doc,d,r.range.fromB,this.decorations,this.dynamicDecorationMap),M=_T.build(this.view.state.doc,r.range.toB,f,this.decorations,this.dynamicDecorationMap);g=I.breakAtStart,b=I.openStart,w=M.openEnd;let $=this.compositionView(r);M.breakAtStart?$.breakAfter=1:M.content.length&&$.merge($.length,$.length,M.content[0],!1,M.openStart,0)&&($.breakAfter=M.content[0].breakAfter,M.content.shift()),I.content.length&&$.merge(0,0,I.content[I.content.length-1],!0,0,I.openEnd)&&I.content.pop(),p=I.content.concat($).concat(M.content)}else({content:p,breakAtStart:g,openStart:b,openEnd:w}=_T.build(this.view.state.doc,d,f,this.decorations,this.dynamicDecorationMap));let{i:x,off:T}=s.findPos(c,1),{i:_,off:C}=s.findPos(l,-1);gme(this,_,C,x,T,p,g,b,w)}r&&this.fixCompositionDOM(r)}compositionView(t){let n=new ym(t.text.nodeValue);n.flags|=8;for(let{deco:i}of t.marks)n=new vm(i,[n],n.length);let r=new wo;return r.append(n,0),r}fixCompositionDOM(t){let n=(s,a)=>{a.flags|=8|(a.children.some(l=>l.flags&7)?1:0),this.markedForComposition.add(a);let o=Ys.get(s);o&&o!=a&&(o.dom=null),a.setDOM(s)},r=this.childPos(t.range.fromB,1),i=this.children[r.i];n(t.line,i);for(let s=t.marks.length-1;s>=-1;s--)r=i.childPos(r.off,1),i=i.children[r.i],n(s>=0?t.marks[s].node:t.text,i)}updateSelection(t=!1,n=!1){(t||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let r=this.view.root.activeElement,i=r==this.dom,s=!i&&J3(this.dom,this.view.observer.selectionRange)&&!(r&&this.dom.contains(r));if(!(i||n||s))return;let a=this.forceSelection;this.forceSelection=!1;let o=this.view.state.selection.main,l=this.moveToLine(this.domAtPos(o.anchor)),c=o.empty?l:this.moveToLine(this.domAtPos(o.head));if(er.gecko&&o.empty&&!this.hasComposition&&yZe(l)){let f=document.createTextNode("");this.view.observer.ignore(()=>l.node.insertBefore(f,l.node.childNodes[l.offset]||null)),l=c=new Hl(f,0),a=!0}let d=this.view.observer.selectionRange;(a||!d.focusNode||(!kT(l.node,l.offset,d.anchorNode,d.anchorOffset)||!kT(c.node,c.offset,d.focusNode,d.focusOffset))&&!this.suppressWidgetCursorChange(d,o))&&(this.view.observer.ignore(()=>{er.android&&er.chrome&&this.dom.contains(d.focusNode)&&wZe(d.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let f=W5(this.view.root);if(f)if(o.empty){if(er.gecko){let p=SZe(l.node,l.offset);if(p&&p!=3){let g=qme(l.node,l.offset,p==1?1:-1);g&&(l=new Hl(g.node,g.offset))}}f.collapse(l.node,l.offset),o.bidiLevel!=null&&f.caretBidiLevel!==void 0&&(f.caretBidiLevel=o.bidiLevel)}else if(f.extend){f.collapse(l.node,l.offset);try{f.extend(c.node,c.offset)}catch{}}else{let p=document.createRange();o.anchor>o.head&&([l,c]=[c,l]),p.setEnd(c.node,c.offset),p.setStart(l.node,l.offset),f.removeAllRanges(),f.addRange(p)}s&&this.view.root.activeElement==this.dom&&(this.dom.blur(),r&&r.focus())}),this.view.observer.setSelectionRange(l,c)),this.impreciseAnchor=l.precise?null:new Hl(d.anchorNode,d.anchorOffset),this.impreciseHead=c.precise?null:new Hl(d.focusNode,d.focusOffset)}suppressWidgetCursorChange(t,n){return this.hasComposition&&n.empty&&kT(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset)&&this.posFromDOM(t.focusNode,t.focusOffset)==n.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:t}=this,n=t.state.selection.main,r=W5(t.root),{anchorNode:i,anchorOffset:s}=t.observer.selectionRange;if(!r||!n.empty||!n.assoc||!r.modify)return;let a=wo.find(this,n.head);if(!a)return;let o=a.posAtStart;if(n.head==o||n.head==o+a.length)return;let l=this.coordsAt(n.head,-1),c=this.coordsAt(n.head,1);if(!l||!c||l.bottom>c.top)return;let d=this.domAtPos(n.head+n.assoc);r.collapse(d.node,d.offset),r.modify("move",n.assoc<0?"forward":"backward","lineboundary"),t.observer.readSelectionRange();let f=t.observer.selectionRange;t.docView.posFromDOM(f.anchorNode,f.anchorOffset)!=n.from&&r.collapse(i,s)}moveToLine(t){let n=this.dom,r;if(t.node!=n)return t;for(let i=t.offset;!r&&i=0;i--){let s=Ys.get(n.childNodes[i]);s instanceof wo&&(r=s.domAtPos(s.length))}return r?new Hl(r.node,r.offset,!0):t}nearest(t){for(let n=t;n;){let r=Ys.get(n);if(r&&r.rootView==this)return r;n=n.parentNode}return null}posFromDOM(t,n){let r=this.nearest(t);if(!r)throw new RangeError("Trying to find position for a DOM position outside of the document");return r.localPosFromDOM(t,n)+r.posAtStart}domAtPos(t){let{i:n,off:r}=this.childCursor().findPos(t,-1);for(;n=0;a--){let o=this.children[a],l=s-o.breakAfter,c=l-o.length;if(lt||o.covers(1))&&(!r||o instanceof wo&&!(r instanceof wo&&n>=0))&&(r=o,i=c),s=c}return r?r.coordsAt(t-i,n):null}coordsForChar(t){let{i:n,off:r}=this.childPos(t,1),i=this.children[n];if(!(i instanceof wo))return null;for(;i.children.length;){let{i:o,off:l}=i.childPos(r,1);for(;;o++){if(o==i.children.length)return null;if((i=i.children[o]).length)break}r=l}if(!(i instanceof ym))return null;let s=ql(i.text,r);if(s==r)return null;let a=by(i.dom,r,s).getClientRects();for(let o=0;oMath.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,o=-1,l=this.view.textDirection==Us.LTR;for(let c=0,d=0;di)break;if(c>=r){let g=f.dom.getBoundingClientRect();if(n.push(g.height),a){let b=f.dom.lastChild,w=b?Nk(b):[];if(w.length){let x=w[w.length-1],T=l?x.right-g.left:g.right-x.left;T>o&&(o=T,this.minWidth=s,this.minWidthFrom=c,this.minWidthTo=p)}}}c=p+f.breakAfter}return n}textDirectionAt(t){let{i:n}=this.childPos(t,1);return getComputedStyle(this.children[n].dom).direction=="rtl"?Us.RTL:Us.LTR}measureTextSize(){for(let s of this.children)if(s instanceof wo){let a=s.measureTextSize();if(a)return a}let t=document.createElement("div"),n,r,i;return t.className="cm-line",t.style.width="99999px",t.style.position="absolute",t.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(t);let s=Nk(t.firstChild)[0];n=t.getBoundingClientRect().height,r=s?s.width/27:7,i=s?s.height:n,t.remove()}),{lineHeight:n,charWidth:r,textHeight:i}}childCursor(t=this.length){let n=this.children.length;return n&&(t-=this.children[--n].length),new mme(this.children,t,n)}computeBlockGapDeco(){let t=[],n=this.view.viewState;for(let r=0,i=0;;i++){let s=i==n.viewports.length?null:n.viewports[i],a=s?s.from-1:this.length;if(a>r){let o=(n.lineBlockAt(a).bottom-n.lineBlockAt(r).top)/this.view.scaleY;t.push(Kn.replace({widget:new bne(o),block:!0,inclusive:!0,isBlockGap:!0}).range(r,a))}if(!s)break;r=s.to+1}return Kn.set(t)}updateDeco(){let t=this.view.state.facet(Lk).map((i,s)=>(this.dynamicDecorationMap[s]=typeof i=="function")?i(this.view):i),n=!1,r=this.view.state.facet($me).map((i,s)=>{let a=typeof i=="function";return a&&(n=!0),a?i(this.view):i});r.length&&(this.dynamicDecorationMap[t.length]=n,t.push(Ci.join(r)));for(let i=t.length;in.anchor?-1:1),i;if(!r)return;!n.empty&&(i=this.coordsAt(n.anchor,n.anchor>n.head?-1:1))&&(r={left:Math.min(r.left,i.left),top:Math.min(r.top,i.top),right:Math.max(r.right,i.right),bottom:Math.max(r.bottom,i.bottom)});let s=zme(this.view),a={left:r.left-s.left,top:r.top-s.top,right:r.right+s.right,bottom:r.bottom+s.bottom},{offsetWidth:o,offsetHeight:l}=this.view.scrollDOM;KYe(this.view.scrollDOM,a,n.head0)r=r.childNodes[i-1],i=bm(r);else break}if(n>=0)for(let r=e,i=t;;){if(r.nodeType==3)return{node:r,offset:i};if(r.nodeType==1&&i=0)r=r.childNodes[i],i=0;else break}return null}function SZe(e,t){return e.nodeType!=1?0:(t&&e.childNodes[t-1].contentEditable=="false"?1:0)|(t{rt.from&&(n=!0)}),n}function TZe(e,t,n=1){let r=e.charCategorizer(t),i=e.doc.lineAt(t),s=t-i.from;if(i.length==0)return Bt.cursor(t);s==0?n=1:s==i.length&&(n=-1);let a=s,o=s;n<0?a=ql(i.text,s,!1):o=ql(i.text,s);let l=r(i.text.slice(a,o));for(;a>0;){let c=ql(i.text,a,!1);if(r(i.text.slice(c,a))!=l)break;a=c}for(;oe?t.left-e:Math.max(0,e-t.right)}function _Ze(e,t){return t.top>e?t.top-e:Math.max(0,e-t.bottom)}function HP(e,t){return e.topt.top+1}function yne(e,t){return te.bottom?{top:e.top,left:e.left,right:e.right,bottom:t}:e}function uF(e,t,n){let r,i,s,a,o=!1,l,c,d,f;for(let b=e.firstChild;b;b=b.nextSibling){let w=Nk(b);for(let x=0;xC||a==C&&s>_){r=b,i=T,s=_,a=C;let I=C?n0?x0)}_==0?n>T.bottom&&(!d||d.bottomT.top)&&(c=b,f=T):d&&HP(d,T)?d=vne(d,T.bottom):f&&HP(f,T)&&(f=yne(f,T.top))}}if(d&&d.bottom>=n?(r=l,i=d):f&&f.top<=n&&(r=c,i=f),!r)return{node:e,offset:0};let p=Math.max(i.left,Math.min(i.right,t));if(r.nodeType==3)return Sne(r,p,n);if(o&&r.contentEditable!="false")return uF(r,p,n);let g=Array.prototype.indexOf.call(e.childNodes,r)+(t>=(i.left+i.right)/2?1:0);return{node:e,offset:g}}function Sne(e,t,n){let r=e.nodeValue.length,i=-1,s=1e9,a=0;for(let o=0;on?d.top-n:n-d.bottom)-1;if(d.left-1<=t&&d.right+1>=t&&f=(d.left+d.right)/2,g=p;if((er.chrome||er.gecko)&&by(e,o).getBoundingClientRect().left==d.right&&(g=!p),f<=0)return{node:e,offset:o+(g?1:0)};i=o+(g?1:0),s=f}}}return{node:e,offset:i>-1?i:a>0?e.nodeValue.length:0}}function jme(e,t,n,r=-1){var i,s;let a=e.contentDOM.getBoundingClientRect(),o=a.top+e.viewState.paddingTop,l,{docHeight:c}=e.viewState,{x:d,y:f}=t,p=f-o;if(p<0)return 0;if(p>c)return e.state.doc.length;for(let I=e.viewState.heightOracle.textHeight/2,M=!1;l=e.elementAtHeight(p),l.type!=Ou.Text;)for(;p=r>0?l.bottom+I:l.top-I,!(p>=0&&p<=c);){if(M)return n?null:0;M=!0,r=-r}f=o+p;let g=l.from;if(ge.viewport.to)return e.viewport.to==e.state.doc.length?e.state.doc.length:n?null:One(e,a,l,d,f);let b=e.dom.ownerDocument,w=e.root.elementFromPoint?e.root:b,x=w.elementFromPoint(d,f);x&&!e.contentDOM.contains(x)&&(x=null),x||(d=Math.max(a.left+1,Math.min(a.right-1,d)),x=w.elementFromPoint(d,f),x&&!e.contentDOM.contains(x)&&(x=null));let T,_=-1;if(x&&((i=e.docView.nearest(x))===null||i===void 0?void 0:i.isEditable)!=!1){if(b.caretPositionFromPoint){let I=b.caretPositionFromPoint(d,f);I&&({offsetNode:T,offset:_}=I)}else if(b.caretRangeFromPoint){let I=b.caretRangeFromPoint(d,f);I&&({startContainer:T,startOffset:_}=I,(!e.contentDOM.contains(T)||er.safari&&AZe(T,_,d)||er.chrome&&CZe(T,_,d))&&(T=void 0))}}if(!T||!e.docView.dom.contains(T)){let I=wo.find(e.docView,g);if(!I)return p>l.top+l.height/2?l.to:l.from;({node:T,offset:_}=uF(I.dom,d,f))}let C=e.docView.nearest(T);if(!C)return null;if(C.isWidget&&((s=C.dom)===null||s===void 0?void 0:s.nodeType)==1){let I=C.dom.getBoundingClientRect();return t.ye.defaultLineHeight*1.5){let o=e.viewState.heightOracle.textHeight,l=Math.floor((i-n.top-(e.defaultLineHeight-o)*.5)/o);s+=l*e.viewState.heightOracle.lineLength}let a=e.state.sliceDoc(n.from,n.to);return n.from+Y9(a,s,e.state.tabSize)}function AZe(e,t,n){let r;if(e.nodeType!=3||t!=(r=e.nodeValue.length))return!1;for(let i=e.nextSibling;i;i=i.nextSibling)if(i.nodeType!=1||i.nodeName!="BR")return!1;return by(e,r-1,r).getBoundingClientRect().left>n}function CZe(e,t,n){if(t!=0)return!1;for(let i=e;;){let s=i.parentNode;if(!s||s.nodeType!=1||s.firstChild!=i)return!1;if(s.classList.contains("cm-line"))break;i=s}let r=e.nodeType==1?e.getBoundingClientRect():by(e,0,Math.max(e.nodeValue.length,1)).getBoundingClientRect();return n-r.left>5}function cF(e,t){let n=e.lineBlockAt(t);if(Array.isArray(n.type)){for(let r of n.type)if(r.to>t||r.to==t&&(r.to==n.to||r.type==Ou.Text))return r}return n}function RZe(e,t,n,r){let i=cF(e,t.head),s=!r||i.type!=Ou.Text||!(e.lineWrapping||i.widgetLineBreaks)?null:e.coordsAtPos(t.assoc<0&&t.head>i.from?t.head-1:t.head);if(s){let a=e.dom.getBoundingClientRect(),o=e.textDirectionAt(i.from),l=e.posAtCoords({x:n==(o==Us.LTR)?a.right-1:a.left+1,y:(s.top+s.bottom)/2});if(l!=null)return Bt.cursor(l,n?-1:1)}return Bt.cursor(n?i.to:i.from,n?-1:1)}function Ene(e,t,n,r){let i=e.state.doc.lineAt(t.head),s=e.bidiSpans(i),a=e.textDirectionAt(i.from);for(let o=t,l=null;;){let c=mZe(i,s,a,o,n),d=Ame;if(!c){if(i.number==(n?e.state.doc.lines:1))return o;d=` -`,i=e.state.doc.line(i.number+(n?1:-1)),s=e.bidiSpans(i),c=e.visualLineSide(i,!n)}if(l){if(!l(d))return o}else{if(!r)return c;l=r(d)}o=c}}function IZe(e,t,n){let r=e.state.charCategorizer(t),i=r(n);return s=>{let a=r(s);return i==fa.Space&&(i=a),i==a}}function DZe(e,t,n,r){let i=t.head,s=n?1:-1;if(i==(n?e.state.doc.length:0))return Bt.cursor(i,t.assoc);let a=t.goalColumn,o,l=e.contentDOM.getBoundingClientRect(),c=e.coordsAtPos(i,t.assoc||-1),d=e.documentTop;if(c)a==null&&(a=c.left-l.left),o=s<0?c.top:c.bottom;else{let g=e.viewState.lineBlockAt(i);a==null&&(a=Math.min(l.right-l.left,e.defaultCharacterWidth*(i-g.from))),o=(s<0?g.top:g.bottom)+d}let f=l.left+a,p=r??e.viewState.heightOracle.textHeight>>1;for(let g=0;;g+=10){let b=o+(p+g)*s,w=jme(e,{x:f,y:b},!1,s);if(bl.bottom||(s<0?wi)){let x=e.docView.coordsForChar(w),T=!x||b{if(t>s&&ti(e)),n.from,t.head>n.from?-1:1);return r==n.from?n:Bt.cursor(r,rnull),er.gecko&&YZe(t.contentDOM.ownerDocument)}handleEvent(t){!zZe(this.view,t)||this.ignoreDuringComposition(t)||t.type=="keydown"&&this.keydown(t)||this.runHandlers(t.type,t)}runHandlers(t,n){let r=this.handlers[t];if(r){for(let i of r.observers)i(this.view,n);for(let i of r.handlers){if(n.defaultPrevented)break;if(i(this.view,n)){n.preventDefault();break}}}}ensureHandlers(t){let n=PZe(t),r=this.handlers,i=this.view.contentDOM;for(let s in n)if(s!="scroll"){let a=!n[s].handlers.length,o=r[s];o&&a!=!o.handlers.length&&(i.removeEventListener(s,this.handleEvent),o=null),o||i.addEventListener(s,this.handleEvent,{passive:a})}for(let s in r)s!="scroll"&&!n[s]&&i.removeEventListener(s,this.handleEvent);this.handlers=n}keydown(t){if(this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),t.keyCode==9&&Date.now()r.keyCode==t.keyCode))&&!t.ctrlKey||LZe.indexOf(t.key)>-1&&t.ctrlKey&&!t.shiftKey)?(this.pendingIOSKey=n||t,setTimeout(()=>this.flushIOSKey(),250),!0):(t.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(){let t=this.pendingIOSKey;return t?(this.pendingIOSKey=void 0,aO(this.view.contentDOM,t.key,t.keyCode)):!1}ignoreDuringComposition(t){return/^key/.test(t.type)?this.composing>0?!0:er.safari&&!er.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(t){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=t}update(t){this.mouseSelection&&this.mouseSelection.update(t),this.draggedContent&&t.docChanged&&(this.draggedContent=this.draggedContent.map(t.changes)),t.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function wne(e,t){return(n,r)=>{try{return t.call(e,r,n)}catch(i){of(n.state,i)}}}function PZe(e){let t=Object.create(null);function n(r){return t[r]||(t[r]={observers:[],handlers:[]})}for(let r of e){let i=r.spec;if(i&&i.domEventHandlers)for(let s in i.domEventHandlers){let a=i.domEventHandlers[s];a&&n(s).handlers.push(wne(r.value,a))}if(i&&i.domEventObservers)for(let s in i.domEventObservers){let a=i.domEventObservers[s];a&&n(s).observers.push(wne(r.value,a))}}for(let r in ph)n(r).handlers.push(ph[r]);for(let r in mh)n(r).observers.push(mh[r]);return t}const Wme=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],LZe="dthko",Qme=[16,17,18,20,91,92,224,225],P4=6;function L4(e){return Math.max(0,e)*.7+8}function MZe(e,t){return Math.max(Math.abs(e.clientX-t.clientX),Math.abs(e.clientY-t.clientY))}class FZe{constructor(t,n,r,i){this.view=t,this.startEvent=n,this.style=r,this.mustSelect=i,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=n,this.scrollParent=JYe(t.contentDOM),this.atoms=t.state.facet(kq).map(a=>a(t));let s=t.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=n.shiftKey,this.multiple=t.state.facet(Ni.allowMultipleSelections)&&$Ze(t,n),this.dragging=UZe(t,n)&&Zme(n)==1?null:!1}start(t){this.dragging===!1&&this.select(t)}move(t){var n;if(t.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&MZe(this.startEvent,t)<10)return;this.select(this.lastEvent=t);let r=0,i=0,s=((n=this.scrollParent)===null||n===void 0?void 0:n.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight},a=zme(this.view);t.clientX-a.left<=s.left+P4?r=-L4(s.left-t.clientX):t.clientX+a.right>=s.right-P4&&(r=L4(t.clientX-s.right)),t.clientY-a.top<=s.top+P4?i=-L4(s.top-t.clientY):t.clientY+a.bottom>=s.bottom-P4&&(i=L4(t.clientY-s.bottom)),this.setScrollSpeed(r,i)}up(t){this.dragging==null&&this.select(this.lastEvent),this.dragging||t.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let t=this.view.contentDOM.ownerDocument;t.removeEventListener("mousemove",this.move),t.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(t,n){this.scrollSpeed={x:t,y:n},t||n?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(t){let n=null;for(let r=0;rthis.select(this.lastEvent),20)}}function $Ze(e,t){let n=e.state.facet(Cme);return n.length?n[0](t):er.mac?t.metaKey:t.ctrlKey}function BZe(e,t){let n=e.state.facet(Rme);return n.length?n[0](t):er.mac?!t.altKey:!t.ctrlKey}function UZe(e,t){let{main:n}=e.state.selection;if(n.empty)return!1;let r=W5(e.root);if(!r||r.rangeCount==0)return!0;let i=r.getRangeAt(0).getClientRects();for(let s=0;s=t.clientX&&a.top<=t.clientY&&a.bottom>=t.clientY)return!0}return!1}function zZe(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target,r;n!=e.contentDOM;n=n.parentNode)if(!n||n.nodeType==11||(r=Ys.get(n))&&r.ignoreEvent(t))return!1;return!0}const ph=Object.create(null),mh=Object.create(null),Vme=er.ie&&er.ie_version<15||er.ios&&er.webkit_version<604;function HZe(e){let t=e.dom.parentNode;if(!t)return;let n=t.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.focus(),setTimeout(()=>{e.focus(),n.remove(),Gme(e,n.value)},50)}function Gme(e,t){let{state:n}=e,r,i=1,s=n.toText(t),a=s.lines==n.selection.ranges.length;if(dF!=null&&n.selection.ranges.every(l=>l.empty)&&dF==s.toString()){let l=-1;r=n.changeByRange(c=>{let d=n.doc.lineAt(c.from);if(d.from==l)return{range:c};l=d.from;let f=n.toText((a?s.line(i++).text:t)+n.lineBreak);return{changes:{from:d.from,insert:f},range:Bt.cursor(c.from+f.length)}})}else a?r=n.changeByRange(l=>{let c=s.line(i++);return{changes:{from:l.from,to:l.to,insert:c.text},range:Bt.cursor(l.from+c.length)}}):r=n.replaceSelection(s);e.dispatch(r,{userEvent:"input.paste",scrollIntoView:!0})}mh.scroll=e=>{e.inputState.lastScrollTop=e.scrollDOM.scrollTop,e.inputState.lastScrollLeft=e.scrollDOM.scrollLeft};ph.keydown=(e,t)=>(e.inputState.setSelectionOrigin("select"),t.keyCode==27&&(e.inputState.lastEscPress=Date.now()),!1);mh.touchstart=(e,t)=>{e.inputState.lastTouchTime=Date.now(),e.inputState.setSelectionOrigin("select.pointer")};mh.touchmove=e=>{e.inputState.setSelectionOrigin("select.pointer")};ph.mousedown=(e,t)=>{if(e.observer.flush(),e.inputState.lastTouchTime>Date.now()-2e3)return!1;let n=null;for(let r of e.state.facet(Ime))if(n=r(e,t),n)break;if(!n&&t.button==0&&(n=WZe(e,t)),n){let r=!e.hasFocus;e.inputState.startMouseSelection(new FZe(e,t,n,r)),r&&e.observer.ignore(()=>fme(e.contentDOM));let i=e.inputState.mouseSelection;if(i)return i.start(t),i.dragging===!1}return!1};function xne(e,t,n,r){if(r==1)return Bt.cursor(t,n);if(r==2)return TZe(e.state,t,n);{let i=wo.find(e.docView,t),s=e.state.doc.lineAt(i?i.posAtEnd:t),a=i?i.posAtStart:s.from,o=i?i.posAtEnd:s.to;return oe>=t.top&&e<=t.bottom,Tne=(e,t,n)=>Yme(t,n)&&e>=n.left&&e<=n.right;function qZe(e,t,n,r){let i=wo.find(e.docView,t);if(!i)return 1;let s=t-i.posAtStart;if(s==0)return 1;if(s==i.length)return-1;let a=i.coordsAt(s,-1);if(a&&Tne(n,r,a))return-1;let o=i.coordsAt(s,1);return o&&Tne(n,r,o)?1:a&&Yme(r,a)?-1:1}function kne(e,t){let n=e.posAtCoords({x:t.clientX,y:t.clientY},!1);return{pos:n,bias:qZe(e,n,t.clientX,t.clientY)}}const jZe=er.ie&&er.ie_version<=11;let _ne=null,Ane=0,Cne=0;function Zme(e){if(!jZe)return e.detail;let t=_ne,n=Cne;return _ne=e,Cne=Date.now(),Ane=!t||n>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(Ane+1)%3:1}function WZe(e,t){let n=kne(e,t),r=Zme(t),i=e.state.selection;return{update(s){s.docChanged&&(n.pos=s.changes.mapPos(n.pos),i=i.map(s.changes))},get(s,a,o){let l=kne(e,s),c,d=xne(e,l.pos,l.bias,r);if(n.pos!=l.pos&&!a){let f=xne(e,n.pos,n.bias,r),p=Math.min(f.from,d.from),g=Math.max(f.to,d.to);d=p1&&(c=QZe(i,l.pos))?c:o?i.addRange(d):Bt.create([d])}}}function QZe(e,t){for(let n=0;n=t)return Bt.create(e.ranges.slice(0,n).concat(e.ranges.slice(n+1)),e.mainIndex==n?0:e.mainIndex-(e.mainIndex>n?1:0))}return null}ph.dragstart=(e,t)=>{let{selection:{main:n}}=e.state;if(t.target.draggable){let i=e.docView.nearest(t.target);if(i&&i.isWidget){let s=i.posAtStart,a=s+i.length;(s>=n.to||a<=n.from)&&(n=Bt.range(s,a))}}let{inputState:r}=e;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=n,t.dataTransfer&&(t.dataTransfer.setData("Text",e.state.sliceDoc(n.from,n.to)),t.dataTransfer.effectAllowed="copyMove"),!1};ph.dragend=e=>(e.inputState.draggedContent=null,!1);function Rne(e,t,n,r){if(!n)return;let i=e.posAtCoords({x:t.clientX,y:t.clientY},!1),{draggedContent:s}=e.inputState,a=r&&s&&BZe(e,t)?{from:s.from,to:s.to}:null,o={from:i,insert:n},l=e.state.changes(a?[a,o]:o);e.focus(),e.dispatch({changes:l,selection:{anchor:l.mapPos(i,-1),head:l.mapPos(i,1)},userEvent:a?"move.drop":"input.drop"}),e.inputState.draggedContent=null}ph.drop=(e,t)=>{if(!t.dataTransfer)return!1;if(e.state.readOnly)return!0;let n=t.dataTransfer.files;if(n&&n.length){let r=Array(n.length),i=0,s=()=>{++i==n.length&&Rne(e,t,r.filter(a=>a!=null).join(e.state.lineBreak),!1)};for(let a=0;a{/[\x00-\x08\x0e-\x1f]{2}/.test(o.result)||(r[a]=o.result),s()},o.readAsText(n[a])}return!0}else{let r=t.dataTransfer.getData("Text");if(r)return Rne(e,t,r,!0),!0}return!1};ph.paste=(e,t)=>{if(e.state.readOnly)return!0;e.observer.flush();let n=Vme?null:t.clipboardData;return n?(Gme(e,n.getData("text/plain")||n.getData("text/uri-text")),!0):(HZe(e),!1)};function VZe(e,t){let n=e.dom.parentNode;if(!n)return;let r=n.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.value=t,r.focus(),r.selectionEnd=t.length,r.selectionStart=0,setTimeout(()=>{r.remove(),e.focus()},50)}function GZe(e){let t=[],n=[],r=!1;for(let i of e.selection.ranges)i.empty||(t.push(e.sliceDoc(i.from,i.to)),n.push(i));if(!t.length){let i=-1;for(let{from:s}of e.selection.ranges){let a=e.doc.lineAt(s);a.number>i&&(t.push(a.text),n.push({from:a.from,to:Math.min(e.doc.length,a.to+1)})),i=a.number}r=!0}return{text:t.join(e.lineBreak),ranges:n,linewise:r}}let dF=null;ph.copy=ph.cut=(e,t)=>{let{text:n,ranges:r,linewise:i}=GZe(e.state);if(!n&&!i)return!1;dF=i?n:null,t.type=="cut"&&!e.state.readOnly&&e.dispatch({changes:r,scrollIntoView:!0,userEvent:"delete.cut"});let s=Vme?null:t.clipboardData;return s?(s.clearData(),s.setData("text/plain",n),!0):(VZe(e,n),!1)};const Xme=Mp.define();function Kme(e,t){let n=[];for(let r of e.facet(Pme)){let i=r(e,t);i&&n.push(i)}return n?e.update({effects:n,annotations:Xme.of(!0)}):null}function Jme(e){setTimeout(()=>{let t=e.hasFocus;if(t!=e.inputState.notifiedFocused){let n=Kme(e.state,t);n?e.dispatch(n):e.update([])}},10)}mh.focus=e=>{e.inputState.lastFocusTime=Date.now(),!e.scrollDOM.scrollTop&&(e.inputState.lastScrollTop||e.inputState.lastScrollLeft)&&(e.scrollDOM.scrollTop=e.inputState.lastScrollTop,e.scrollDOM.scrollLeft=e.inputState.lastScrollLeft),Jme(e)};mh.blur=e=>{e.observer.clearSelectionRange(),Jme(e)};mh.compositionstart=mh.compositionupdate=e=>{e.inputState.compositionFirstChange==null&&(e.inputState.compositionFirstChange=!0),e.inputState.composing<0&&(e.inputState.composing=0)};mh.compositionend=e=>{e.inputState.composing=-1,e.inputState.compositionEndedAt=Date.now(),e.inputState.compositionPendingKey=!0,e.inputState.compositionPendingChange=e.observer.pendingRecords().length>0,e.inputState.compositionFirstChange=null,er.chrome&&er.android?e.observer.flushSoon():e.inputState.compositionPendingChange?Promise.resolve().then(()=>e.observer.flush()):setTimeout(()=>{e.inputState.composing<0&&e.docView.hasComposition&&e.update([])},50)};mh.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()};ph.beforeinput=(e,t)=>{var n;let r;if(er.chrome&&er.android&&(r=Wme.find(i=>i.inputType==t.inputType))&&(e.observer.delayAndroidKey(r.key,r.keyCode),r.key=="Backspace"||r.key=="Delete")){let i=((n=window.visualViewport)===null||n===void 0?void 0:n.height)||0;setTimeout(()=>{var s;(((s=window.visualViewport)===null||s===void 0?void 0:s.height)||0)>i+10&&e.hasFocus&&(e.contentDOM.blur(),e.focus())},100)}return!1};const Ine=new Set;function YZe(e){Ine.has(e)||(Ine.add(e),e.addEventListener("copy",()=>{}),e.addEventListener("cut",()=>{}))}const Dne=["pre-wrap","normal","pre-line","break-spaces"];class ZZe{constructor(t){this.lineWrapping=t,this.doc=Oi.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(t,n){let r=this.doc.lineAt(n).number-this.doc.lineAt(t).number+1;return this.lineWrapping&&(r+=Math.max(0,Math.ceil((n-t-r*this.lineLength*.5)/this.lineLength))),this.lineHeight*r}heightForLine(t){return this.lineWrapping?(1+Math.max(0,Math.ceil((t-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(t){return this.doc=t,this}mustRefreshForWrapping(t){return Dne.indexOf(t)>-1!=this.lineWrapping}mustRefreshForHeights(t){let n=!1;for(let r=0;r-1,l=Math.round(n)!=Math.round(this.lineHeight)||this.lineWrapping!=o;if(this.lineWrapping=o,this.lineHeight=n,this.charWidth=r,this.textHeight=i,this.lineLength=s,l){this.heightSamples={};for(let c=0;c0}set outdated(t){this.flags=(t?2:0)|this.flags&-3}setHeight(t,n){this.height!=n&&(Math.abs(this.height-n)>tR&&(t.heightChanged=!0),this.height=n)}replace(t,n,r){return Eu.of(r)}decomposeLeft(t,n){n.push(this)}decomposeRight(t,n){n.push(this)}applyChanges(t,n,r,i){let s=this,a=r.doc;for(let o=i.length-1;o>=0;o--){let{fromA:l,toA:c,fromB:d,toB:f}=i[o],p=s.lineAt(l,Gs.ByPosNoHeight,r.setDoc(n),0,0),g=p.to>=c?p:s.lineAt(c,Gs.ByPosNoHeight,r,0,0);for(f+=g.to-c,c=g.to;o>0&&p.from<=i[o-1].toA;)l=i[o-1].fromA,d=i[o-1].fromB,o--,ls*2){let o=t[n-1];o.break?t.splice(--n,1,o.left,null,o.right):t.splice(--n,1,o.left,o.right),r+=1+o.break,i-=o.size}else if(s>i*2){let o=t[r];o.break?t.splice(r,1,o.left,null,o.right):t.splice(r,1,o.left,o.right),r+=2+o.break,s-=o.size}else break;else if(i=s&&a(this.blockAt(0,r,i,s))}updateHeight(t,n=0,r=!1,i){return i&&i.from<=n&&i.more&&this.setHeight(t,i.heights[i.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class $c extends ege{constructor(t,n){super(t,n,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(t,n,r,i){return new dp(i,this.length,r,this.height,this.breaks)}replace(t,n,r){let i=r[0];return r.length==1&&(i instanceof $c||i instanceof fl&&i.flags&4)&&Math.abs(this.length-i.length)<10?(i instanceof fl?i=new $c(i.length,this.height):i.height=this.height,this.outdated||(i.outdated=!1),i):Eu.of(r)}updateHeight(t,n=0,r=!1,i){return i&&i.from<=n&&i.more?this.setHeight(t,i.heights[i.index++]):(r||this.outdated)&&this.setHeight(t,Math.max(this.widgetHeight,t.heightForLine(this.length-this.collapsed))+this.breaks*t.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class fl extends Eu{constructor(t){super(t,0)}heightMetrics(t,n){let r=t.doc.lineAt(n).number,i=t.doc.lineAt(n+this.length).number,s=i-r+1,a,o=0;if(t.lineWrapping){let l=Math.min(this.height,t.lineHeight*s);a=l/s,this.length>s+1&&(o=(this.height-l)/(this.length-s-1))}else a=this.height/s;return{firstLine:r,lastLine:i,perLine:a,perChar:o}}blockAt(t,n,r,i){let{firstLine:s,lastLine:a,perLine:o,perChar:l}=this.heightMetrics(n,i);if(n.lineWrapping){let c=i+Math.round(Math.max(0,Math.min(1,(t-r)/this.height))*this.length),d=n.doc.lineAt(c),f=o+d.length*l,p=Math.max(r,t-f/2);return new dp(d.from,d.length,p,f,0)}else{let c=Math.max(0,Math.min(a-s,Math.floor((t-r)/o))),{from:d,length:f}=n.doc.line(s+c);return new dp(d,f,r+o*c,o,0)}}lineAt(t,n,r,i,s){if(n==Gs.ByHeight)return this.blockAt(t,r,i,s);if(n==Gs.ByPosNoHeight){let{from:g,to:b}=r.doc.lineAt(t);return new dp(g,b-g,0,0,0)}let{firstLine:a,perLine:o,perChar:l}=this.heightMetrics(r,s),c=r.doc.lineAt(t),d=o+c.length*l,f=c.number-a,p=i+o*f+l*(c.from-s-f);return new dp(c.from,c.length,Math.max(i,Math.min(p,i+this.height-d)),d,0)}forEachLine(t,n,r,i,s,a){t=Math.max(t,s),n=Math.min(n,s+this.length);let{firstLine:o,perLine:l,perChar:c}=this.heightMetrics(r,s);for(let d=t,f=i;d<=n;){let p=r.doc.lineAt(d);if(d==t){let b=p.number-o;f+=l*b+c*(t-s-b)}let g=l+c*p.length;a(new dp(p.from,p.length,f,g,0)),f+=g,d=p.to+1}}replace(t,n,r){let i=this.length-n;if(i>0){let s=r[r.length-1];s instanceof fl?r[r.length-1]=new fl(s.length+i):r.push(null,new fl(i-1))}if(t>0){let s=r[0];s instanceof fl?r[0]=new fl(t+s.length):r.unshift(new fl(t-1),null)}return Eu.of(r)}decomposeLeft(t,n){n.push(new fl(t-1),null)}decomposeRight(t,n){n.push(null,new fl(this.length-t-1))}updateHeight(t,n=0,r=!1,i){let s=n+this.length;if(i&&i.from<=n+this.length&&i.more){let a=[],o=Math.max(n,i.from),l=-1;for(i.from>n&&a.push(new fl(i.from-n-1).updateHeight(t,n));o<=s&&i.more;){let d=t.doc.lineAt(o).length;a.length&&a.push(null);let f=i.heights[i.index++];l==-1?l=f:Math.abs(f-l)>=tR&&(l=-2);let p=new $c(d,f);p.outdated=!1,a.push(p),o+=d+1}o<=s&&a.push(null,new fl(s-o).updateHeight(t,o));let c=Eu.of(a);return(l<0||Math.abs(c.height-this.height)>=tR||Math.abs(l-this.heightMetrics(t,n).perLine)>=tR)&&(t.heightChanged=!0),c}else(r||this.outdated)&&(this.setHeight(t,t.heightForGap(n,n+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class KZe extends Eu{constructor(t,n,r){super(t.length+n+r.length,t.height+r.height,n|(t.outdated||r.outdated?2:0)),this.left=t,this.right=r,this.size=t.size+r.size}get break(){return this.flags&1}blockAt(t,n,r,i){let s=r+this.left.height;return to))return c;let d=n==Gs.ByPosNoHeight?Gs.ByPosNoHeight:Gs.ByPos;return l?c.join(this.right.lineAt(o,d,r,a,o)):this.left.lineAt(o,d,r,i,s).join(c)}forEachLine(t,n,r,i,s,a){let o=i+this.left.height,l=s+this.left.length+this.break;if(this.break)t=l&&this.right.forEachLine(t,n,r,o,l,a);else{let c=this.lineAt(l,Gs.ByPos,r,i,s);t=t&&c.from<=n&&a(c),n>c.to&&this.right.forEachLine(c.to+1,n,r,o,l,a)}}replace(t,n,r){let i=this.left.length+this.break;if(nthis.left.length)return this.balanced(this.left,this.right.replace(t-i,n-i,r));let s=[];t>0&&this.decomposeLeft(t,s);let a=s.length;for(let o of r)s.push(o);if(t>0&&Nne(s,a-1),n=r&&n.push(null)),t>r&&this.right.decomposeLeft(t-r,n)}decomposeRight(t,n){let r=this.left.length,i=r+this.break;if(t>=i)return this.right.decomposeRight(t-i,n);t2*n.size||n.size>2*t.size?Eu.of(this.break?[t,null,n]:[t,n]):(this.left=t,this.right=n,this.height=t.height+n.height,this.outdated=t.outdated||n.outdated,this.size=t.size+n.size,this.length=t.length+this.break+n.length,this)}updateHeight(t,n=0,r=!1,i){let{left:s,right:a}=this,o=n+s.length+this.break,l=null;return i&&i.from<=n+s.length&&i.more?l=s=s.updateHeight(t,n,r,i):s.updateHeight(t,n,r),i&&i.from<=o+a.length&&i.more?l=a=a.updateHeight(t,o,r,i):a.updateHeight(t,o,r),l?this.balanced(s,a):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function Nne(e,t){let n,r;e[t]==null&&(n=e[t-1])instanceof fl&&(r=e[t+1])instanceof fl&&e.splice(t-1,3,new fl(n.length+1+r.length))}const JZe=5;class _q{constructor(t,n){this.pos=t,this.oracle=n,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=t}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(t,n){if(this.lineStart>-1){let r=Math.min(n,this.lineEnd),i=this.nodes[this.nodes.length-1];i instanceof $c?i.length+=r-this.pos:(r>this.pos||!this.isCovered)&&this.nodes.push(new $c(r-this.pos,-1)),this.writtenTo=r,n>r&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=n}point(t,n,r){if(t=JZe)&&this.addLineDeco(i,s,a)}else n>t&&this.span(t,n);this.lineEnd>-1&&this.lineEnd-1)return;let{from:t,to:n}=this.oracle.doc.lineAt(this.pos);this.lineStart=t,this.lineEnd=n,this.writtenTot&&this.nodes.push(new $c(this.pos-t,-1)),this.writtenTo=this.pos}blankContent(t,n){let r=new fl(n-t);return this.oracle.doc.lineAt(t).to==n&&(r.flags|=4),r}ensureLine(){this.enterLine();let t=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(t instanceof $c)return t;let n=new $c(0,-1);return this.nodes.push(n),n}addBlock(t){this.enterLine();let n=t.deco;n&&n.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(t),this.writtenTo=this.pos=this.pos+t.length,n&&n.endSide>0&&(this.covering=t)}addLineDeco(t,n,r){let i=this.ensureLine();i.length+=r,i.collapsed+=r,i.widgetHeight=Math.max(i.widgetHeight,t),i.breaks+=n,this.writtenTo=this.pos=this.pos+r}finish(t){let n=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(n instanceof $c)&&!this.isCovered?this.nodes.push(new $c(0,-1)):(this.writtenTod.clientHeight||d.scrollWidth>d.clientWidth)&&f.overflow!="visible"){let p=d.getBoundingClientRect();s=Math.max(s,p.left),a=Math.min(a,p.right),o=Math.max(o,p.top),l=c==e.parentNode?p.bottom:Math.min(l,p.bottom)}c=f.position=="absolute"||f.position=="fixed"?d.offsetParent:d.parentNode}else if(c.nodeType==11)c=c.host;else break;return{left:s-n.left,right:Math.max(s,a)-n.left,top:o-(n.top+t),bottom:Math.max(o,l)-(n.top+t)}}function rXe(e,t){let n=e.getBoundingClientRect();return{left:0,right:n.right-n.left,top:t,bottom:n.bottom-(n.top+t)}}class jP{constructor(t,n,r){this.from=t,this.to=n,this.size=r}static same(t,n){if(t.length!=n.length)return!1;for(let r=0;rtypeof r!="function"&&r.class=="cm-lineWrapping");this.heightOracle=new ZZe(n),this.stateDeco=t.facet(Lk).filter(r=>typeof r!="function"),this.heightMap=Eu.empty().applyChanges(this.stateDeco,Oi.empty,this.heightOracle.setDoc(t.doc),[new lf(0,0,0,t.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=Kn.set(this.lineGaps.map(r=>r.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let t=[this.viewport],{main:n}=this.state.selection;for(let r=0;r<=1;r++){let i=r?n.head:n.anchor;if(!t.some(({from:s,to:a})=>i>=s&&i<=a)){let{from:s,to:a}=this.lineBlockAt(i);t.push(new M4(s,a))}}this.viewports=t.sort((r,i)=>r.from-i.from),this.scaler=this.heightMap.height<=7e6?Lne:new oXe(this.heightOracle,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,t=>{this.viewportLines.push(this.scaler.scale==1?t:Yw(t,this.scaler))})}update(t,n=null){this.state=t.state;let r=this.stateDeco;this.stateDeco=this.state.facet(Lk).filter(d=>typeof d!="function");let i=t.changedRanges,s=lf.extendWithRanges(i,eXe(r,this.stateDeco,t?t.changes:To.empty(this.state.doc.length))),a=this.heightMap.height,o=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);this.heightMap=this.heightMap.applyChanges(this.stateDeco,t.startState.doc,this.heightOracle.setDoc(this.state.doc),s),this.heightMap.height!=a&&(t.flags|=2),o?(this.scrollAnchorPos=t.changes.mapPos(o.from,-1),this.scrollAnchorHeight=o.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let l=s.length?this.mapViewport(this.viewport,t.changes):this.viewport;(n&&(n.range.headl.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,n));let c=!t.changes.empty||t.flags&2||l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,this.updateForViewport(),c&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,t.changes))),t.flags|=this.computeVisibleRanges(),n&&(this.scrollTarget=n),!this.mustEnforceCursorAssoc&&t.selectionSet&&t.view.lineWrapping&&t.state.selection.main.empty&&t.state.selection.main.assoc&&!t.state.facet(Mme)&&(this.mustEnforceCursorAssoc=!0)}measure(t){let n=t.contentDOM,r=window.getComputedStyle(n),i=this.heightOracle,s=r.whiteSpace;this.defaultTextDirection=r.direction=="rtl"?Us.RTL:Us.LTR;let a=this.heightOracle.mustRefreshForWrapping(s),o=n.getBoundingClientRect(),l=a||this.mustMeasureContent||this.contentDOMHeight!=o.height;this.contentDOMHeight=o.height,this.mustMeasureContent=!1;let c=0,d=0;if(o.width&&o.height){let{scaleX:I,scaleY:M}=dme(n,o);(this.scaleX!=I||this.scaleY!=M)&&(this.scaleX=I,this.scaleY=M,c|=8,a=l=!0)}let f=(parseInt(r.paddingTop)||0)*this.scaleY,p=(parseInt(r.paddingBottom)||0)*this.scaleY;(this.paddingTop!=f||this.paddingBottom!=p)&&(this.paddingTop=f,this.paddingBottom=p,c|=10),this.editorWidth!=t.scrollDOM.clientWidth&&(i.lineWrapping&&(l=!0),this.editorWidth=t.scrollDOM.clientWidth,c|=8);let g=t.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=g&&(this.scrollAnchorHeight=-1,this.scrollTop=g),this.scrolledToBottom=pme(t.scrollDOM);let b=(this.printing?rXe:nXe)(n,this.paddingTop),w=b.top-this.pixelViewport.top,x=b.bottom-this.pixelViewport.bottom;this.pixelViewport=b;let T=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(T!=this.inView&&(this.inView=T,T&&(l=!0)),!this.inView&&!this.scrollTarget)return 0;let _=o.width;if((this.contentDOMWidth!=_||this.editorHeight!=t.scrollDOM.clientHeight)&&(this.contentDOMWidth=o.width,this.editorHeight=t.scrollDOM.clientHeight,c|=8),l){let I=t.docView.measureVisibleLineHeights(this.viewport);if(i.mustRefreshForHeights(I)&&(a=!0),a||i.lineWrapping&&Math.abs(_-this.contentDOMWidth)>i.charWidth){let{lineHeight:M,charWidth:$,textHeight:B}=t.docView.measureTextSize();a=M>0&&i.refresh(s,M,$,B,_/$,I),a&&(t.docView.minWidth=0,c|=8)}w>0&&x>0?d=Math.max(w,x):w<0&&x<0&&(d=Math.min(w,x)),i.heightChanged=!1;for(let M of this.viewports){let $=M.from==this.viewport.from?I:t.docView.measureVisibleLineHeights(M);this.heightMap=(a?Eu.empty().applyChanges(this.stateDeco,Oi.empty,this.heightOracle,[new lf(0,0,0,t.state.doc.length)]):this.heightMap).updateHeight(i,0,a,new XZe(M.from,$))}i.heightChanged&&(c|=2)}let C=!this.viewportIsAppropriate(this.viewport,d)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return C&&(this.viewport=this.getViewport(d,this.scrollTarget)),this.updateForViewport(),(c&2||C)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(a?[]:this.lineGaps,t)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,t.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(t,n){let r=.5-Math.max(-.5,Math.min(.5,t/1e3/2)),i=this.heightMap,s=this.heightOracle,{visibleTop:a,visibleBottom:o}=this,l=new M4(i.lineAt(a-r*1e3,Gs.ByHeight,s,0,0).from,i.lineAt(o+(1-r)*1e3,Gs.ByHeight,s,0,0).to);if(n){let{head:c}=n.range;if(cl.to){let d=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),f=i.lineAt(c,Gs.ByPos,s,0,0),p;n.y=="center"?p=(f.top+f.bottom)/2-d/2:n.y=="start"||n.y=="nearest"&&c=o+Math.max(10,Math.min(r,250)))&&i>a-2*1e3&&s>1,a=i<<1;if(this.defaultTextDirection!=Us.LTR&&!r)return[];let o=[],l=(c,d,f,p)=>{if(d-cc&&xx.from>=f.from&&x.to<=f.to&&Math.abs(x.from-c)x.fromT));if(!w){if(dx.from<=d&&x.to>=d)){let x=n.moveToLineBoundary(Bt.cursor(d),!1,!0).head;x>c&&(d=x)}w=new jP(c,d,this.gapSize(f,c,d,p))}o.push(w)};for(let c of this.viewportLines){if(c.lengthc.from&&l(c.from,p,c,d),gn.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let t=this.stateDeco;this.lineGaps.length&&(t=t.concat(this.lineGapDeco));let n=[];Ci.spans(t,this.viewport.from,this.viewport.to,{span(i,s){n.push({from:i,to:s})},point(){}},20);let r=n.length!=this.visibleRanges.length||this.visibleRanges.some((i,s)=>i.from!=n[s].from||i.to!=n[s].to);return this.visibleRanges=n,r?4:0}lineBlockAt(t){return t>=this.viewport.from&&t<=this.viewport.to&&this.viewportLines.find(n=>n.from<=t&&n.to>=t)||Yw(this.heightMap.lineAt(t,Gs.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(t){return Yw(this.heightMap.lineAt(this.scaler.fromDOM(t),Gs.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(t){let n=this.lineBlockAtHeight(t+8);return n.from>=this.viewport.from||this.viewportLines[0].top-t>200?n:this.viewportLines[0]}elementAtHeight(t){return Yw(this.heightMap.blockAt(this.scaler.fromDOM(t),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class M4{constructor(t,n){this.from=t,this.to=n}}function sXe(e,t,n){let r=[],i=e,s=0;return Ci.spans(n,e,t,{span(){},point(a,o){a>i&&(r.push({from:i,to:a}),s+=a-i),i=o}},20),i=1)return t[t.length-1].to;let r=Math.floor(e*n);for(let i=0;;i++){let{from:s,to:a}=t[i],o=a-s;if(r<=o)return s+r;r-=o}}function $4(e,t){let n=0;for(let{from:r,to:i}of e.ranges){if(t<=i){n+=t-r;break}n+=i-r}return n/e.total}function aXe(e,t){for(let n of e)if(t(n))return n}const Lne={toDOM(e){return e},fromDOM(e){return e},scale:1};class oXe{constructor(t,n,r){let i=0,s=0,a=0;this.viewports=r.map(({from:o,to:l})=>{let c=n.lineAt(o,Gs.ByPos,t,0,0).top,d=n.lineAt(l,Gs.ByPos,t,0,0).bottom;return i+=d-c,{from:o,to:l,top:c,bottom:d,domTop:0,domBottom:0}}),this.scale=(7e6-i)/(n.height-i);for(let o of this.viewports)o.domTop=a+(o.top-s)*this.scale,a=o.domBottom=o.domTop+(o.bottom-o.top),s=o.bottom}toDOM(t){for(let n=0,r=0,i=0;;n++){let s=nYw(i,t)):e._content)}const B4=Gn.define({combine:e=>e.join(" ")}),fF=Gn.define({combine:e=>e.indexOf(!0)>-1}),hF=c1.newName(),tge=c1.newName(),nge=c1.newName(),rge={"&light":"."+tge,"&dark":"."+nge};function pF(e,t,n){return new c1(t,{finish(r){return/&/.test(r)?r.replace(/&\w*/,i=>{if(i=="&")return e;if(!n||!n[i])throw new RangeError(`Unsupported selector: ${i}`);return n[i]}):e+" "+r}})}const lXe=pF("."+hF,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},rge),Zw="￿";class uXe{constructor(t,n){this.points=t,this.text="",this.lineSeparator=n.facet(Ni.lineSeparator)}append(t){this.text+=t}lineBreak(){this.text+=Zw}readRange(t,n){if(!t)return this;let r=t.parentNode;for(let i=t;;){this.findPointBefore(r,i);let s=this.text.length;this.readNode(i);let a=i.nextSibling;if(a==n)break;let o=Ys.get(i),l=Ys.get(a);(o&&l?o.breakAfter:(o?o.breakAfter:Mne(i))||Mne(a)&&(i.nodeName!="BR"||i.cmIgnore)&&this.text.length>s)&&this.lineBreak(),i=a}return this.findPointBefore(r,n),this}readTextNode(t){let n=t.nodeValue;for(let r of this.points)r.node==t&&(r.pos=this.text.length+Math.min(r.offset,n.length));for(let r=0,i=this.lineSeparator?null:/\r\n?|\n/g;;){let s=-1,a=1,o;if(this.lineSeparator?(s=n.indexOf(this.lineSeparator,r),a=this.lineSeparator.length):(o=i.exec(n))&&(s=o.index,a=o[0].length),this.append(n.slice(r,s<0?n.length:s)),s<0)break;if(this.lineBreak(),a>1)for(let l of this.points)l.node==t&&l.pos>this.text.length&&(l.pos-=a-1);r=s+a}}readNode(t){if(t.cmIgnore)return;let n=Ys.get(t),r=n&&n.overrideDOMText;if(r!=null){this.findPointInside(t,r.length);for(let i=r.iter();!i.next().done;)i.lineBreak?this.lineBreak():this.append(i.value)}else t.nodeType==3?this.readTextNode(t):t.nodeName=="BR"?t.nextSibling&&this.lineBreak():t.nodeType==1&&this.readRange(t.firstChild,null)}findPointBefore(t,n){for(let r of this.points)r.node==t&&t.childNodes[r.offset]==n&&(r.pos=this.text.length)}findPointInside(t,n){for(let r of this.points)(t.nodeType==3?r.node==t:t.contains(r.node))&&(r.pos=this.text.length+(cXe(t,r.node,r.offset)?n:0))}}function cXe(e,t,n){for(;;){if(!t||n-1)this.newSel=null;else if(n>-1&&(this.bounds=t.docView.domBoundsAround(n,r,0))){let o=s||a?[]:pXe(t),l=new uXe(o,t.state);l.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=l.text,this.newSel=mXe(o,this.bounds.from)}else{let o=t.observer.selectionRange,l=s&&s.node==o.focusNode&&s.offset==o.focusOffset||!K9(t.contentDOM,o.focusNode)?t.state.selection.main.head:t.docView.posFromDOM(o.focusNode,o.focusOffset),c=a&&a.node==o.anchorNode&&a.offset==o.anchorOffset||!K9(t.contentDOM,o.anchorNode)?t.state.selection.main.anchor:t.docView.posFromDOM(o.anchorNode,o.anchorOffset),d=t.viewport;if(er.ios&&t.state.selection.main.empty&&l!=c&&(d.from>0||d.toDate.now()-100?e.inputState.lastKeyCode:-1;if(t.bounds){let{from:a,to:o}=t.bounds,l=i.from,c=null;(s===8||er.android&&t.text.length=i.from&&n.to<=i.to&&(n.from!=i.from||n.to!=i.to)&&i.to-i.from-(n.to-n.from)<=4?n={from:i.from,to:i.to,insert:e.state.doc.slice(i.from,n.from).append(n.insert).append(e.state.doc.slice(n.to,i.to))}:(er.mac||er.android)&&n&&n.from==n.to&&n.from==i.head-1&&/^\. ?$/.test(n.insert.toString())&&e.contentDOM.getAttribute("autocorrect")=="off"?(r&&n.insert.length==2&&(r=Bt.single(r.main.anchor-1,r.main.head-1)),n={from:i.from,to:i.to,insert:Oi.of([" "])}):er.chrome&&n&&n.from==n.to&&n.from==i.head&&n.insert.toString()==` - `&&e.lineWrapping&&(r&&(r=Bt.single(r.main.anchor-1,r.main.head-1)),n={from:i.from,to:i.to,insert:Oi.of([" "])}),n){if(er.ios&&e.inputState.flushIOSKey()||er.android&&(n.from==i.from&&n.to==i.to&&n.insert.length==1&&n.insert.lines==2&&aO(e.contentDOM,"Enter",13)||(n.from==i.from-1&&n.to==i.to&&n.insert.length==0||s==8&&n.insert.lengthi.head)&&aO(e.contentDOM,"Backspace",8)||n.from==i.from&&n.to==i.to+1&&n.insert.length==0&&aO(e.contentDOM,"Delete",46)))return!0;let a=n.insert.toString();e.inputState.composing>=0&&e.inputState.composing++;let o,l=()=>o||(o=fXe(e,n,r));return e.state.facet(Nme).some(c=>c(e,n.from,n.to,a,l))||e.dispatch(l()),!0}else if(r&&!r.main.eq(i)){let a=!1,o="select";return e.inputState.lastSelectionTime>Date.now()-50&&(e.inputState.lastSelectionOrigin=="select"&&(a=!0),o=e.inputState.lastSelectionOrigin),e.dispatch({selection:r,scrollIntoView:a,userEvent:o}),!0}else return!1}function fXe(e,t,n){let r,i=e.state,s=i.selection.main;if(t.from>=s.from&&t.to<=s.to&&t.to-t.from>=(s.to-s.from)/3&&(!n||n.main.empty&&n.main.from==t.from+t.insert.length)&&e.inputState.composing<0){let o=s.fromt.to?i.sliceDoc(t.to,s.to):"";r=i.replaceSelection(e.state.toText(o+t.insert.sliceString(0,void 0,e.state.lineBreak)+l))}else{let o=i.changes(t),l=n&&n.main.to<=o.newLength?n.main:void 0;if(i.selection.ranges.length>1&&e.inputState.composing>=0&&t.to<=s.to&&t.to>=s.to-10){let c=e.state.sliceDoc(t.from,t.to),d,f=n&&Hme(e,n.main.head);if(f){let b=t.insert.length-(t.to-t.from);d={from:f.from,to:f.to-b}}else d=e.state.doc.lineAt(s.head);let p=s.to-t.to,g=s.to-s.from;r=i.changeByRange(b=>{if(b.from==s.from&&b.to==s.to)return{changes:o,range:l||b.map(o)};let w=b.to-p,x=w-c.length;if(b.to-b.from!=g||e.state.sliceDoc(x,w)!=c||b.to>=d.from&&b.from<=d.to)return{range:b};let T=i.changes({from:x,to:w,insert:t.insert}),_=b.to-s.to;return{changes:T,range:l?Bt.range(Math.max(0,l.anchor+_),Math.max(0,l.head+_)):b.map(T)}})}else r={changes:o,selection:l&&i.selection.replaceRange(l)}}let a="input.type";return(e.composing||e.inputState.compositionPendingChange&&e.inputState.compositionEndedAt>Date.now()-50)&&(e.inputState.compositionPendingChange=!1,a+=".compose",e.inputState.compositionFirstChange&&(a+=".start",e.inputState.compositionFirstChange=!1)),i.update(r,{userEvent:a,scrollIntoView:!0})}function hXe(e,t,n,r){let i=Math.min(e.length,t.length),s=0;for(;s0&&o>0&&e.charCodeAt(a-1)==t.charCodeAt(o-1);)a--,o--;if(r=="end"){let l=Math.max(0,s-Math.min(a,o));n-=a+l-s}if(a=a?s-n:0;s-=l,o=s+(o-a),a=s}else if(o=o?s-n:0;s-=l,a=s+(a-o),o=s}return{from:s,toA:a,toB:o}}function pXe(e){let t=[];if(e.root.activeElement!=e.contentDOM)return t;let{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:s}=e.observer.selectionRange;return n&&(t.push(new Fne(n,r)),(i!=n||s!=r)&&t.push(new Fne(i,s))),t}function mXe(e,t){if(e.length==0)return null;let n=e[0].pos,r=e.length==2?e[1].pos:n;return n>-1&&r>-1?Bt.single(n+t,r+t):null}const gXe={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},WP=er.ie&&er.ie_version<=11;class bXe{constructor(t){this.view=t,this.active=!1,this.selectionRange=new eZe,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=t.contentDOM,this.observer=new MutationObserver(n=>{for(let r of n)this.queue.push(r);(er.ie&&er.ie_version<=11||er.ios&&t.composing)&&n.some(r=>r.type=="childList"&&r.removedNodes.length||r.type=="characterData"&&r.oldValue.length>r.target.nodeValue.length)?this.flushSoon():this.flush()}),WP&&(this.onCharData=n=>{this.queue.push({target:n.target,type:"characterData",oldValue:n.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var n;((n=this.view.docView)===null||n===void 0?void 0:n.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),n.length>0&&n[n.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(n=>{n.length>0&&n[n.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(t){this.view.inputState.runHandlers("scroll",t),this.intersecting&&this.view.measure()}onScroll(t){this.intersecting&&this.flush(!1),this.onScrollChanged(t)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(t){if(this.gapIntersection&&(t.length!=this.gaps.length||this.gaps.some((n,r)=>n!=t[r]))){this.gapIntersection.disconnect();for(let n of t)this.gapIntersection.observe(n);this.gaps=t}}onSelectionChange(t){let n=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:r}=this,i=this.selectionRange;if(r.state.facet(FD)?r.root.activeElement!=this.dom:!J3(r.dom,i))return;let s=i.anchorNode&&r.docView.nearest(i.anchorNode);if(s&&s.ignoreEvent(t)){n||(this.selectionChanged=!1);return}(er.ie&&er.ie_version<=11||er.android&&er.chrome)&&!r.state.selection.main.empty&&i.focusNode&&kT(i.focusNode,i.focusOffset,i.anchorNode,i.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:t}=this,n=er.safari&&t.root.nodeType==11&&ZYe(this.dom.ownerDocument)==this.dom&&yXe(this.view)||W5(t.root);if(!n||this.selectionRange.eq(n))return!1;let r=J3(this.dom,n);return r&&!this.selectionChanged&&t.inputState.lastFocusTime>Date.now()-200&&t.inputState.lastTouchTime{let s=this.delayedAndroidKey;s&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=s.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&s.force&&aO(this.dom,s.key,s.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(i)}(!this.delayedAndroidKey||t=="Enter")&&(this.delayedAndroidKey={key:t,keyCode:n,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let t of this.observer.takeRecords())this.queue.push(t);return this.queue}processRecords(){let t=this.pendingRecords();t.length&&(this.queue=[]);let n=-1,r=-1,i=!1;for(let s of t){let a=this.readMutation(s);a&&(a.typeOver&&(i=!0),n==-1?{from:n,to:r}=a:(n=Math.min(a.from,n),r=Math.max(a.to,r)))}return{from:n,to:r,typeOver:i}}readChange(){let{from:t,to:n,typeOver:r}=this.processRecords(),i=this.selectionChanged&&J3(this.dom,this.selectionRange);if(t<0&&!i)return null;t>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let s=new dXe(this.view,t,n,r);return this.view.docView.domChanged={newSel:s.newSel?s.newSel.main:null},s}flush(t=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;t&&this.readSelectionRange();let n=this.readChange();if(!n)return this.view.requestMeasure(),!1;let r=this.view.state,i=ige(this.view,n);return this.view.state==r&&this.view.update([]),i}readMutation(t){let n=this.view.docView.nearest(t.target);if(!n||n.ignoreMutation(t))return null;if(n.markDirty(t.type=="attributes"),t.type=="attributes"&&(n.flags|=4),t.type=="childList"){let r=$ne(n,t.previousSibling||t.target.previousSibling,-1),i=$ne(n,t.nextSibling||t.target.nextSibling,1);return{from:r?n.posAfter(r):n.posAtStart,to:i?n.posBefore(i):n.posAtEnd,typeOver:!1}}else return t.type=="characterData"?{from:n.posAtStart,to:n.posAtEnd,typeOver:t.target.nodeValue==t.oldValue}:null}setWindow(t){t!=this.win&&(this.removeWindowListeners(this.win),this.win=t,this.addWindowListeners(this.win))}addWindowListeners(t){t.addEventListener("resize",this.onResize),t.addEventListener("beforeprint",this.onPrint),t.addEventListener("scroll",this.onScroll),t.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(t){t.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onResize),t.removeEventListener("beforeprint",this.onPrint),t.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var t,n,r;this.stop(),(t=this.intersection)===null||t===void 0||t.disconnect(),(n=this.gapIntersection)===null||n===void 0||n.disconnect(),(r=this.resizeScroll)===null||r===void 0||r.disconnect();for(let i of this.scrollTargets)i.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function $ne(e,t,n){for(;t;){let r=Ys.get(t);if(r&&r.parent==e)return r;let i=t.parentNode;t=i!=e.dom?i:n>0?t.nextSibling:t.previousSibling}return null}function yXe(e){let t=null;function n(l){l.preventDefault(),l.stopImmediatePropagation(),t=l.getTargetRanges()[0]}if(e.contentDOM.addEventListener("beforeinput",n,!0),e.dom.ownerDocument.execCommand("indent"),e.contentDOM.removeEventListener("beforeinput",n,!0),!t)return null;let r=t.startContainer,i=t.startOffset,s=t.endContainer,a=t.endOffset,o=e.docView.domAtPos(e.state.selection.main.anchor);return kT(o.node,o.offset,s,a)&&([r,i,s,a]=[s,a,r,i]),{anchorNode:r,anchorOffset:i,focusNode:s,focusOffset:a}}class Sn{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(t={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),t.parent&&t.parent.appendChild(this.dom);let{dispatch:n}=t;this.dispatchTransactions=t.dispatchTransactions||n&&(r=>r.forEach(i=>n(i,this)))||(r=>this.update(r)),this.dispatch=this.dispatch.bind(this),this._root=t.root||tZe(t.parent)||document,this.viewState=new Pne(t.state||Ni.create(t)),t.scrollTo&&t.scrollTo.is(N4)&&(this.viewState.scrollTarget=t.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(Vw).map(r=>new zP(r));for(let r of this.plugins)r.update(this);this.observer=new bXe(this),this.inputState=new NZe(this),this.inputState.ensureHandlers(this.plugins),this.docView=new gne(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure()}dispatch(...t){let n=t.length==1&&t[0]instanceof da?t:t.length==1&&Array.isArray(t[0])?t[0]:[this.state.update(...t)];this.dispatchTransactions(n,this)}update(t){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let n=!1,r=!1,i,s=this.state;for(let p of t){if(p.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=p.state}if(this.destroyed){this.viewState.state=s;return}let a=this.hasFocus,o=0,l=null;t.some(p=>p.annotation(Xme))?(this.inputState.notifiedFocused=a,o=1):a!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=a,l=Kme(s,a),l||(o=1));let c=this.observer.delayedAndroidKey,d=null;if(c?(this.observer.clearDelayedAndroidKey(),d=this.observer.readChange(),(d&&!this.state.doc.eq(s.doc)||!this.state.selection.eq(s.selection))&&(d=null)):this.observer.clear(),s.facet(Ni.phrases)!=this.state.facet(Ni.phrases))return this.setState(s);i=Q5.create(this,s,t),i.flags|=o;let f=this.viewState.scrollTarget;try{this.updateState=2;for(let p of t){if(f&&(f=f.map(p.changes)),p.scrollIntoView){let{main:g}=p.state.selection;f=new oO(g.empty?g:Bt.cursor(g.head,g.head>g.anchor?-1:1))}for(let g of p.effects)g.is(N4)&&(f=g.value.clip(this.state))}this.viewState.update(i,f),this.bidiCache=V5.update(this.bidiCache,i.changes),i.empty||(this.updatePlugins(i),this.inputState.update(i)),n=this.docView.update(i),this.state.facet(Gw)!=this.styleModules&&this.mountStyles(),r=this.updateAttrs(),this.showAnnouncements(t),this.docView.updateSelection(n,t.some(p=>p.isUserEvent("select.pointer")))}finally{this.updateState=0}if(i.startState.facet(B4)!=i.state.facet(B4)&&(this.viewState.mustMeasureContent=!0),(n||r||f||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!i.empty)for(let p of this.state.facet(lF))try{p(i)}catch(g){of(this.state,g,"update listener")}(l||d)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),d&&!ige(this,d)&&c.force&&aO(this.contentDOM,c.key,c.keyCode)})}setState(t){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=t;return}this.updateState=2;let n=this.hasFocus;try{for(let r of this.plugins)r.destroy(this);this.viewState=new Pne(t),this.plugins=t.facet(Vw).map(r=>new zP(r)),this.pluginMap.clear();for(let r of this.plugins)r.update(this);this.docView.destroy(),this.docView=new gne(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}n&&this.focus(),this.requestMeasure()}updatePlugins(t){let n=t.startState.facet(Vw),r=t.state.facet(Vw);if(n!=r){let i=[];for(let s of r){let a=n.indexOf(s);if(a<0)i.push(new zP(s));else{let o=this.plugins[a];o.mustUpdate=t,i.push(o)}}for(let s of this.plugins)s.mustUpdate!=t&&s.destroy(this);this.plugins=i,this.pluginMap.clear()}else for(let i of this.plugins)i.mustUpdate=t;for(let i=0;i-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,t&&this.observer.forceFlush();let n=null,r=this.scrollDOM,i=r.scrollTop*this.scaleY,{scrollAnchorPos:s,scrollAnchorHeight:a}=this.viewState;Math.abs(i-this.viewState.scrollTop)>1&&(a=-1),this.viewState.scrollAnchorHeight=-1;try{for(let o=0;;o++){if(a<0)if(pme(r))s=-1,a=this.viewState.heightMap.height;else{let g=this.viewState.scrollAnchorAt(i);s=g.from,a=g.top}this.updateState=1;let l=this.viewState.measure(this);if(!l&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(o>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let c=[];l&4||([this.measureRequests,c]=[c,this.measureRequests]);let d=c.map(g=>{try{return g.read(this)}catch(b){return of(this.state,b),Bne}}),f=Q5.create(this,this.state,[]),p=!1;f.flags|=l,n?n.flags|=l:n=f,this.updateState=2,f.empty||(this.updatePlugins(f),this.inputState.update(f),this.updateAttrs(),p=this.docView.update(f));for(let g=0;g1||b<-1){i=i+b,r.scrollTop=i/this.scaleY,a=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(n&&!n.empty)for(let o of this.state.facet(lF))o(n)}get themeClasses(){return hF+" "+(this.state.facet(fF)?nge:tge)+" "+this.state.facet(B4)}updateAttrs(){let t=Une(this,Fme,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),n={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(FD)?"true":"false",class:"cm-content",style:`${er.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(n["aria-readonly"]="true"),Une(this,Tq,n);let r=this.observer.ignore(()=>{let i=rF(this.contentDOM,this.contentAttrs,n),s=rF(this.dom,this.editorAttrs,t);return i||s});return this.editorAttrs=t,this.contentAttrs=n,r}showAnnouncements(t){let n=!0;for(let r of t)for(let i of r.effects)if(i.is(Sn.announce)){n&&(this.announceDOM.textContent=""),n=!1;let s=this.announceDOM.appendChild(document.createElement("div"));s.textContent=i.value}}mountStyles(){this.styleModules=this.state.facet(Gw);let t=this.state.facet(Sn.cspNonce);c1.mount(this.root,this.styleModules.concat(lXe).reverse(),t?{nonce:t}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(t){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),t){if(this.measureRequests.indexOf(t)>-1)return;if(t.key!=null){for(let n=0;nr.spec==t)||null),n&&n.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(t){return this.readMeasured(),this.viewState.elementAtHeight(t)}lineBlockAtHeight(t){return this.readMeasured(),this.viewState.lineBlockAtHeight(t)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(t){return this.viewState.lineBlockAt(t)}get contentHeight(){return this.viewState.contentHeight}moveByChar(t,n,r){return qP(this,t,Ene(this,t,n,r))}moveByGroup(t,n){return qP(this,t,Ene(this,t,n,r=>IZe(this,t.head,r)))}visualLineSide(t,n){let r=this.bidiSpans(t),i=this.textDirectionAt(t.from),s=r[n?r.length-1:0];return Bt.cursor(s.side(n,i)+t.from,s.forward(!n,i)?1:-1)}moveToLineBoundary(t,n,r=!0){return RZe(this,t,n,r)}moveVertically(t,n,r){return qP(this,t,DZe(this,t,n,r))}domAtPos(t){return this.docView.domAtPos(t)}posAtDOM(t,n=0){return this.docView.posFromDOM(t,n)}posAtCoords(t,n=!0){return this.readMeasured(),jme(this,t,n)}coordsAtPos(t,n=1){this.readMeasured();let r=this.docView.coordsAt(t,n);if(!r||r.left==r.right)return r;let i=this.state.doc.lineAt(t),s=this.bidiSpans(i),a=s[qg.find(s,t-i.from,-1,n)];return Oq(r,a.dir==Us.LTR==n>0)}coordsForChar(t){return this.readMeasured(),this.docView.coordsForChar(t)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(t){return!this.state.facet(Lme)||tthis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(t))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(t){if(t.length>vXe)return _me(t.length);let n=this.textDirectionAt(t.from),r;for(let s of this.bidiCache)if(s.from==t.from&&s.dir==n&&(s.fresh||kme(s.isolates,r=mne(this,t))))return s.order;r||(r=mne(this,t));let i=pZe(t.text,n,r);return this.bidiCache.push(new V5(t.from,t.to,n,r,!0,i)),i}get hasFocus(){var t;return(this.dom.ownerDocument.hasFocus()||er.safari&&((t=this.inputState)===null||t===void 0?void 0:t.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{fme(this.contentDOM),this.docView.updateSelection()})}setRoot(t){this._root!=t&&(this._root=t,this.observer.setWindow((t.nodeType==9?t:t.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let t of this.plugins)t.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(t,n={}){return N4.of(new oO(typeof t=="number"?Bt.cursor(t):t,n.y,n.x,n.yMargin,n.xMargin))}scrollSnapshot(){let{scrollTop:t,scrollLeft:n}=this.scrollDOM,r=this.viewState.scrollAnchorAt(t);return N4.of(new oO(Bt.cursor(r.from),"start","start",r.top-t,n,!0))}static domEventHandlers(t){return pa.define(()=>({}),{eventHandlers:t})}static domEventObservers(t){return pa.define(()=>({}),{eventObservers:t})}static theme(t,n){let r=c1.newName(),i=[B4.of(r),Gw.of(pF(`.${r}`,t))];return n&&n.dark&&i.push(fF.of(!0)),i}static baseTheme(t){return Lp.lowest(Gw.of(pF("."+hF,t,rge)))}static findFromDOM(t){var n;let r=t.querySelector(".cm-content"),i=r&&Ys.get(r)||Ys.get(t);return((n=i==null?void 0:i.rootView)===null||n===void 0?void 0:n.view)||null}}Sn.styleModule=Gw;Sn.inputHandler=Nme;Sn.focusChangeEffect=Pme;Sn.perLineTextDirection=Lme;Sn.exceptionSink=Dme;Sn.updateListener=lF;Sn.editable=FD;Sn.mouseSelectionStyle=Ime;Sn.dragMovesSelection=Rme;Sn.clickAddsSelectionRange=Cme;Sn.decorations=Lk;Sn.outerDecorations=$me;Sn.atomicRanges=kq;Sn.bidiIsolatedRanges=Bme;Sn.scrollMargins=Ume;Sn.darkTheme=fF;Sn.cspNonce=Gn.define({combine:e=>e.length?e[0]:""});Sn.contentAttributes=Tq;Sn.editorAttributes=Fme;Sn.lineWrapping=Sn.contentAttributes.of({class:"cm-lineWrapping"});Sn.announce=Fr.define();const vXe=4096,Bne={};class V5{constructor(t,n,r,i,s,a){this.from=t,this.to=n,this.dir=r,this.isolates=i,this.fresh=s,this.order=a}static update(t,n){if(n.empty&&!t.some(s=>s.fresh))return t;let r=[],i=t.length?t[t.length-1].dir:Us.LTR;for(let s=Math.max(0,t.length-10);s=0;i--){let s=r[i],a=typeof s=="function"?s(e):s;a&&nF(a,n)}return n}const SXe=er.mac?"mac":er.windows?"win":er.linux?"linux":"key";function OXe(e,t){const n=e.split(/-(?!$)/);let r=n[n.length-1];r=="Space"&&(r=" ");let i,s,a,o;for(let l=0;lr.concat(i),[]))),n}function wXe(e,t,n){return age(sge(e.state),t,e,n)}let Tg=null;const xXe=4e3;function TXe(e,t=SXe){let n=Object.create(null),r=Object.create(null),i=(a,o)=>{let l=r[a];if(l==null)r[a]=o;else if(l!=o)throw new Error("Key binding "+a+" is used both as a regular binding and as a multi-stroke prefix")},s=(a,o,l,c,d)=>{var f,p;let g=n[a]||(n[a]=Object.create(null)),b=o.split(/ (?!$)/).map(T=>OXe(T,t));for(let T=1;T{let I=Tg={view:C,prefix:_,scope:a};return setTimeout(()=>{Tg==I&&(Tg=null)},xXe),!0}]})}let w=b.join(" ");i(w,!1);let x=g[w]||(g[w]={preventDefault:!1,stopPropagation:!1,run:((p=(f=g._any)===null||f===void 0?void 0:f.run)===null||p===void 0?void 0:p.slice())||[]});l&&x.run.push(l),c&&(x.preventDefault=!0),d&&(x.stopPropagation=!0)};for(let a of e){let o=a.scope?a.scope.split(" "):["editor"];if(a.any)for(let c of o){let d=n[c]||(n[c]=Object.create(null));d._any||(d._any={preventDefault:!1,stopPropagation:!1,run:[]});for(let f in d)d[f].run.push(a.any)}let l=a[t]||a.key;if(l)for(let c of o)s(c,l,a.run,a.preventDefault,a.stopPropagation),a.shift&&s(c,"Shift-"+l,a.shift,a.preventDefault,a.stopPropagation)}return n}function age(e,t,n,r){let i=YYe(t),s=pl(i,0),a=Xd(s)==i.length&&i!=" ",o="",l=!1,c=!1,d=!1;Tg&&Tg.view==n&&Tg.scope==r&&(o=Tg.prefix+" ",Qme.indexOf(t.keyCode)<0&&(c=!0,Tg=null));let f=new Set,p=x=>{if(x){for(let T of x.run)if(!f.has(T)&&(f.add(T),T(n,t)))return x.stopPropagation&&(d=!0),!0;x.preventDefault&&(x.stopPropagation&&(d=!0),c=!0)}return!1},g=e[r],b,w;return g&&(p(g[o+U4(i,t,!a)])?l=!0:a&&(t.altKey||t.metaKey||t.ctrlKey)&&!(er.windows&&t.ctrlKey&&t.altKey)&&(b=d1[t.keyCode])&&b!=i?(p(g[o+U4(b,t,!0)])||t.shiftKey&&(w=Dk[t.keyCode])!=i&&w!=b&&p(g[o+U4(w,t,!1)]))&&(l=!0):a&&t.shiftKey&&p(g[o+U4(i,t,!0)])&&(l=!0),!l&&p(g._any)&&(l=!0)),c&&(l=!0),l&&d&&t.stopPropagation(),l}class rA{constructor(t,n,r,i,s){this.className=t,this.left=n,this.top=r,this.width=i,this.height=s}draw(){let t=document.createElement("div");return t.className=this.className,this.adjust(t),t}update(t,n){return n.className!=this.className?!1:(this.adjust(t),!0)}adjust(t){t.style.left=this.left+"px",t.style.top=this.top+"px",this.width!=null&&(t.style.width=this.width+"px"),t.style.height=this.height+"px"}eq(t){return this.left==t.left&&this.top==t.top&&this.width==t.width&&this.height==t.height&&this.className==t.className}static forRange(t,n,r){if(r.empty){let i=t.coordsAtPos(r.head,r.assoc||1);if(!i)return[];let s=oge(t);return[new rA(n,i.left-s.left,i.top-s.top,null,i.bottom-i.top)]}else return kXe(t,n,r)}}function oge(e){let t=e.scrollDOM.getBoundingClientRect();return{left:(e.textDirection==Us.LTR?t.left:t.right-e.scrollDOM.clientWidth*e.scaleX)-e.scrollDOM.scrollLeft*e.scaleX,top:t.top-e.scrollDOM.scrollTop*e.scaleY}}function Hne(e,t,n){let r=Bt.cursor(t);return{from:Math.max(n.from,e.moveToLineBoundary(r,!1,!0).from),to:Math.min(n.to,e.moveToLineBoundary(r,!0,!0).from),type:Ou.Text}}function kXe(e,t,n){if(n.to<=e.viewport.from||n.from>=e.viewport.to)return[];let r=Math.max(n.from,e.viewport.from),i=Math.min(n.to,e.viewport.to),s=e.textDirection==Us.LTR,a=e.contentDOM,o=a.getBoundingClientRect(),l=oge(e),c=a.querySelector(".cm-line"),d=c&&window.getComputedStyle(c),f=o.left+(d?parseInt(d.paddingLeft)+Math.min(0,parseInt(d.textIndent)):0),p=o.right-(d?parseInt(d.paddingRight):0),g=cF(e,r),b=cF(e,i),w=g.type==Ou.Text?g:null,x=b.type==Ou.Text?b:null;if(w&&(e.lineWrapping||g.widgetLineBreaks)&&(w=Hne(e,r,w)),x&&(e.lineWrapping||b.widgetLineBreaks)&&(x=Hne(e,i,x)),w&&x&&w.from==x.from)return _(C(n.from,n.to,w));{let M=w?C(n.from,null,w):I(g,!1),$=x?C(null,n.to,x):I(b,!0),B=[];return(w||g).to<(x||b).from-(w&&x?1:0)||g.widgetLineBreaks>1&&M.bottom+e.defaultLineHeight/2<$.top?B.push(T(f,M.bottom,p,$.top)):M.bottom<$.top&&e.elementAtHeight((M.bottom+$.top)/2).type==Ou.Text&&(M.bottom=$.top=(M.bottom+$.top)/2),_(M).concat(B).concat(_($))}function T(M,$,B,j){return new rA(t,M-l.left,$-l.top-.01,B-M,j-$+.01)}function _({top:M,bottom:$,horizontal:B}){let j=[];for(let F=0;Fse&&fe.from=ye)break;re>le&&ie(Math.max(he,le),M==null&&he<=se,Math.min(re,ye),$==null&&re>=me,Se.dir)}if(le=ae.to+1,le>=ye)break}return V.length==0&&ie(se,M==null,me,$==null,e.textDirection),{top:j,bottom:F,horizontal:V}}function I(M,$){let B=o.top+($?M.top:M.bottom);return{top:B,bottom:B,horizontal:[]}}}function _Xe(e,t){return e.constructor==t.constructor&&e.eq(t)}class AXe{constructor(t,n){this.view=t,this.layer=n,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=t.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),n.above&&this.dom.classList.add("cm-layer-above"),n.class&&this.dom.classList.add(n.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(t.state),t.requestMeasure(this.measureReq),n.mount&&n.mount(this.dom,t)}update(t){t.startState.facet(nR)!=t.state.facet(nR)&&this.setOrder(t.state),(this.layer.update(t,this.dom)||t.geometryChanged)&&(this.scale(),t.view.requestMeasure(this.measureReq))}setOrder(t){let n=0,r=t.facet(nR);for(;n!_Xe(n,this.drawn[r]))){let n=this.dom.firstChild,r=0;for(let i of t)i.update&&n&&i.constructor&&this.drawn[r].constructor&&i.update(n,this.drawn[r])?(n=n.nextSibling,r++):this.dom.insertBefore(i.draw(),n);for(;n;){let i=n.nextSibling;n.remove(),n=i}this.drawn=t}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const nR=Gn.define();function lge(e){return[pa.define(t=>new AXe(t,e)),nR.of(e)]}const uge=!er.ios,rE=Gn.define({combine(e){return Fp(e,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(t,n)=>Math.min(t,n),drawRangeCursor:(t,n)=>t||n})}});function CXe(e={}){return[rE.of(e),IXe,DXe,NXe,Mme.of(!0)]}function RXe(e){return e.facet(rE)}function cge(e){return e.startState.facet(rE)!=e.state.facet(rE)}const IXe=lge({above:!0,markers(e){let{state:t}=e,n=t.facet(rE),r=[];for(let i of t.selection.ranges){let s=i==t.selection.main;if(i.empty?!s||uge:n.drawRangeCursor){let a=s?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",o=i.empty?i:Bt.cursor(i.head,i.head>i.anchor?-1:1);for(let l of rA.forRange(e,a,o))r.push(l)}}return r},update(e,t){e.transactions.some(r=>r.selection)&&(t.style.animationName=t.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let n=cge(e);return n&&qne(e.state,t),e.docChanged||e.selectionSet||n},mount(e,t){qne(t.state,e)},class:"cm-cursorLayer"});function qne(e,t){t.style.animationDuration=e.facet(rE).cursorBlinkRate+"ms"}const DXe=lge({above:!1,markers(e){return e.state.selection.ranges.map(t=>t.empty?[]:rA.forRange(e,"cm-selectionBackground",t)).reduce((t,n)=>t.concat(n))},update(e,t){return e.docChanged||e.selectionSet||e.viewportChanged||cge(e)},class:"cm-selectionLayer"}),mF={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};uge&&(mF[".cm-line"].caretColor="transparent !important",mF[".cm-content"]={caretColor:"transparent !important"});const NXe=Lp.highest(Sn.theme(mF)),dge=Fr.define({map(e,t){return e==null?null:t.mapPos(e)}}),Xw=Po.define({create(){return null},update(e,t){return e!=null&&(e=t.changes.mapPos(e)),t.effects.reduce((n,r)=>r.is(dge)?r.value:n,e)}}),PXe=pa.fromClass(class{constructor(e){this.view=e,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(e){var t;let n=e.state.field(Xw);n==null?this.cursor!=null&&((t=this.cursor)===null||t===void 0||t.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(e.startState.field(Xw)!=n||e.docChanged||e.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:e}=this,t=e.state.field(Xw),n=t!=null&&e.coordsAtPos(t);if(!n)return null;let r=e.scrollDOM.getBoundingClientRect();return{left:n.left-r.left+e.scrollDOM.scrollLeft*e.scaleX,top:n.top-r.top+e.scrollDOM.scrollTop*e.scaleY,height:n.bottom-n.top}}drawCursor(e){if(this.cursor){let{scaleX:t,scaleY:n}=this.view;e?(this.cursor.style.left=e.left/t+"px",this.cursor.style.top=e.top/n+"px",this.cursor.style.height=e.height/n+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(e){this.view.state.field(Xw)!=e&&this.view.dispatch({effects:dge.of(e)})}},{eventObservers:{dragover(e){this.setDropPos(this.view.posAtCoords({x:e.clientX,y:e.clientY}))},dragleave(e){(e.target==this.view.contentDOM||!this.view.contentDOM.contains(e.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function LXe(){return[Xw,PXe]}function jne(e,t,n,r,i){t.lastIndex=0;for(let s=e.iterRange(n,r),a=n,o;!s.next().done;a+=s.value.length)if(!s.lineBreak)for(;o=t.exec(s.value);)i(a+o.index,o)}function MXe(e,t){let n=e.visibleRanges;if(n.length==1&&n[0].from==e.viewport.from&&n[0].to==e.viewport.to)return n;let r=[];for(let{from:i,to:s}of n)i=Math.max(e.state.doc.lineAt(i).from,i-t),s=Math.min(e.state.doc.lineAt(s).to,s+t),r.length&&r[r.length-1].to>=i?r[r.length-1].to=s:r.push({from:i,to:s});return r}class FXe{constructor(t){const{regexp:n,decoration:r,decorate:i,boundary:s,maxLength:a=1e3}=t;if(!n.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=n,i)this.addMatch=(o,l,c,d)=>i(d,c,c+o[0].length,o,l);else if(typeof r=="function")this.addMatch=(o,l,c,d)=>{let f=r(o,l,c);f&&d(c,c+o[0].length,f)};else if(r)this.addMatch=(o,l,c,d)=>d(c,c+o[0].length,r);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=s,this.maxLength=a}createDeco(t){let n=new gm,r=n.add.bind(n);for(let{from:i,to:s}of MXe(t,this.maxLength))jne(t.state.doc,this.regexp,i,s,(a,o)=>this.addMatch(o,t,a,r));return n.finish()}updateDeco(t,n){let r=1e9,i=-1;return t.docChanged&&t.changes.iterChanges((s,a,o,l)=>{l>t.view.viewport.from&&o1e3?this.createDeco(t.view):i>-1?this.updateRange(t.view,n.map(t.changes),r,i):n}updateRange(t,n,r,i){for(let s of t.visibleRanges){let a=Math.max(s.from,r),o=Math.min(s.to,i);if(o>a){let l=t.state.doc.lineAt(a),c=l.tol.from;a--)if(this.boundary.test(l.text[a-1-l.from])){d=a;break}for(;op.push(T.range(w,x));if(l==c)for(this.regexp.lastIndex=d-l.from;(g=this.regexp.exec(l.text))&&g.indexthis.addMatch(x,t,w,b));n=n.update({filterFrom:d,filterTo:f,filter:(w,x)=>wf,add:p})}}return n}}const gF=/x/.unicode!=null?"gu":"g",$Xe=new RegExp(`[\0-\b ---Ÿ­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\uFEFF-]`,gF),BXe={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let QP=null;function UXe(){var e;if(QP==null&&typeof document<"u"&&document.body){let t=document.body.style;QP=((e=t.tabSize)!==null&&e!==void 0?e:t.MozTabSize)!=null}return QP||!1}const rR=Gn.define({combine(e){let t=Fp(e,{render:null,specialChars:$Xe,addSpecialChars:null});return(t.replaceTabs=!UXe())&&(t.specialChars=new RegExp(" |"+t.specialChars.source,gF)),t.addSpecialChars&&(t.specialChars=new RegExp(t.specialChars.source+"|"+t.addSpecialChars.source,gF)),t}});function zXe(e={}){return[rR.of(e),HXe()]}let Wne=null;function HXe(){return Wne||(Wne=pa.fromClass(class{constructor(e){this.view=e,this.decorations=Kn.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(e.state.facet(rR)),this.decorations=this.decorator.createDeco(e)}makeDecorator(e){return new FXe({regexp:e.specialChars,decoration:(t,n,r)=>{let{doc:i}=n.state,s=pl(t[0],0);if(s==9){let a=i.lineAt(r),o=n.state.tabSize,l=_p(a.text,o,r-a.from);return Kn.replace({widget:new QXe((o-l%o)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[s]||(this.decorationCache[s]=Kn.replace({widget:new WXe(e,s)}))},boundary:e.replaceTabs?void 0:/[^]/})}update(e){let t=e.state.facet(rR);e.startState.facet(rR)!=t?(this.decorator=this.makeDecorator(t),this.decorations=this.decorator.createDeco(e.view)):this.decorations=this.decorator.updateDeco(e,this.decorations)}},{decorations:e=>e.decorations}))}const qXe="•";function jXe(e){return e>=32?qXe:e==10?"␤":String.fromCharCode(9216+e)}class WXe extends Sh{constructor(t,n){super(),this.options=t,this.code=n}eq(t){return t.code==this.code}toDOM(t){let n=jXe(this.code),r=t.state.phrase("Control character")+" "+(BXe[this.code]||"0x"+this.code.toString(16)),i=this.options.render&&this.options.render(this.code,r,n);if(i)return i;let s=document.createElement("span");return s.textContent=n,s.title=r,s.setAttribute("aria-label",r),s.className="cm-specialChar",s}ignoreEvent(){return!1}}class QXe extends Sh{constructor(t){super(),this.width=t}eq(t){return t.width==this.width}toDOM(){let t=document.createElement("span");return t.textContent=" ",t.className="cm-tab",t.style.width=this.width+"px",t}ignoreEvent(){return!1}}function VXe(){return YXe}const GXe=Kn.line({class:"cm-activeLine"}),YXe=pa.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.docChanged||e.selectionSet)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=-1,n=[];for(let r of e.state.selection.ranges){let i=e.lineBlockAt(r.head);i.from>t&&(n.push(GXe.range(i.from)),t=i.from)}return Kn.set(n)}},{decorations:e=>e.decorations}),bF=2e3;function ZXe(e,t,n){let r=Math.min(t.line,n.line),i=Math.max(t.line,n.line),s=[];if(t.off>bF||n.off>bF||t.col<0||n.col<0){let a=Math.min(t.off,n.off),o=Math.max(t.off,n.off);for(let l=r;l<=i;l++){let c=e.doc.line(l);c.length<=o&&s.push(Bt.range(c.from+a,c.to+o))}}else{let a=Math.min(t.col,n.col),o=Math.max(t.col,n.col);for(let l=r;l<=i;l++){let c=e.doc.line(l),d=Y9(c.text,a,e.tabSize,!0);if(d<0)s.push(Bt.cursor(c.to));else{let f=Y9(c.text,o,e.tabSize);s.push(Bt.range(c.from+d,c.from+f))}}}return s}function XXe(e,t){let n=e.coordsAtPos(e.viewport.from);return n?Math.round(Math.abs((n.left-t)/e.defaultCharacterWidth)):-1}function Qne(e,t){let n=e.posAtCoords({x:t.clientX,y:t.clientY},!1),r=e.state.doc.lineAt(n),i=n-r.from,s=i>bF?-1:i==r.length?XXe(e,t.clientX):_p(r.text,e.state.tabSize,n-r.from);return{line:r.number,col:s,off:i}}function KXe(e,t){let n=Qne(e,t),r=e.state.selection;return n?{update(i){if(i.docChanged){let s=i.changes.mapPos(i.startState.doc.line(n.line).from),a=i.state.doc.lineAt(s);n={line:a.number,col:n.col,off:Math.min(n.off,a.length)},r=r.map(i.changes)}},get(i,s,a){let o=Qne(e,i);if(!o)return r;let l=ZXe(e.state,n,o);return l.length?a?Bt.create(l.concat(r.ranges)):Bt.create(l):r}}:null}function JXe(e){let t=n=>n.altKey&&n.button==0;return Sn.mouseSelectionStyle.of((n,r)=>t(r)?KXe(n,r):null)}const eKe={Alt:[18,e=>!!e.altKey],Control:[17,e=>!!e.ctrlKey],Shift:[16,e=>!!e.shiftKey],Meta:[91,e=>!!e.metaKey]},tKe={style:"cursor: crosshair"};function nKe(e={}){let[t,n]=eKe[e.key||"Alt"],r=pa.fromClass(class{constructor(i){this.view=i,this.isDown=!1}set(i){this.isDown!=i&&(this.isDown=i,this.view.update([]))}},{eventObservers:{keydown(i){this.set(i.keyCode==t||n(i))},keyup(i){(i.keyCode==t||!n(i))&&this.set(!1)},mousemove(i){this.set(n(i))}}});return[r,Sn.contentAttributes.of(i=>{var s;return!((s=i.plugin(r))===null||s===void 0)&&s.isDown?tKe:null})]}const Sw="-10000px";class fge{constructor(t,n,r,i){this.facet=n,this.createTooltipView=r,this.removeTooltipView=i,this.input=t.state.facet(n),this.tooltips=this.input.filter(s=>s),this.tooltipViews=this.tooltips.map(r)}update(t,n){var r;let i=t.state.facet(this.facet),s=i.filter(l=>l);if(i===this.input){for(let l of this.tooltipViews)l.update&&l.update(t);return!1}let a=[],o=n?[]:null;for(let l=0;ln[c]=l),n.length=o.length),this.input=i,this.tooltips=s,this.tooltipViews=a,!0}}function rKe(e){let{win:t}=e;return{top:0,left:0,bottom:t.innerHeight,right:t.innerWidth}}const VP=Gn.define({combine:e=>{var t,n,r;return{position:er.ios?"absolute":((t=e.find(i=>i.position))===null||t===void 0?void 0:t.position)||"fixed",parent:((n=e.find(i=>i.parent))===null||n===void 0?void 0:n.parent)||null,tooltipSpace:((r=e.find(i=>i.tooltipSpace))===null||r===void 0?void 0:r.tooltipSpace)||rKe}}}),Vne=new WeakMap,Aq=pa.fromClass(class{constructor(e){this.view=e,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let t=e.state.facet(VP);this.position=t.position,this.parent=t.parent,this.classes=e.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new fge(e,Cq,n=>this.createTooltip(n),n=>{this.resizeObserver&&this.resizeObserver.unobserve(n.dom),n.dom.remove()}),this.above=this.manager.tooltips.map(n=>!!n.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(n=>{Date.now()>this.lastTransaction-50&&n.length>0&&n[n.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),e.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let e of this.manager.tooltipViews)this.intersectionObserver.observe(e.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(e){e.transactions.length&&(this.lastTransaction=Date.now());let t=this.manager.update(e,this.above);t&&this.observeIntersection();let n=t||e.geometryChanged,r=e.state.facet(VP);if(r.position!=this.position&&!this.madeAbsolute){this.position=r.position;for(let i of this.manager.tooltipViews)i.dom.style.position=this.position;n=!0}if(r.parent!=this.parent){this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer();for(let i of this.manager.tooltipViews)this.container.appendChild(i.dom);n=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);n&&this.maybeMeasure()}createTooltip(e){let t=e.create(this.view);if(t.dom.classList.add("cm-tooltip"),e.arrow&&!t.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let n=document.createElement("div");n.className="cm-tooltip-arrow",t.dom.appendChild(n)}return t.dom.style.position=this.position,t.dom.style.top=Sw,t.dom.style.left="0px",this.container.appendChild(t.dom),t.mount&&t.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(t.dom),t}destroy(){var e,t,n;this.view.win.removeEventListener("resize",this.measureSoon);for(let r of this.manager.tooltipViews)r.dom.remove(),(e=r.destroy)===null||e===void 0||e.call(r);this.parent&&this.container.remove(),(t=this.resizeObserver)===null||t===void 0||t.disconnect(),(n=this.intersectionObserver)===null||n===void 0||n.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let e=this.view.dom.getBoundingClientRect(),t=1,n=1,r=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:i}=this.manager.tooltipViews[0];if(er.gecko)r=i.offsetParent!=this.container.ownerDocument.body;else if(i.style.top==Sw&&i.style.left=="0px"){let s=i.getBoundingClientRect();r=Math.abs(s.top+1e4)>1||Math.abs(s.left)>1}}if(r||this.position=="absolute")if(this.parent){let i=this.parent.getBoundingClientRect();i.width&&i.height&&(t=i.width/this.parent.offsetWidth,n=i.height/this.parent.offsetHeight)}else({scaleX:t,scaleY:n}=this.view.viewState);return{editor:e,parent:this.parent?this.container.getBoundingClientRect():e,pos:this.manager.tooltips.map((i,s)=>{let a=this.manager.tooltipViews[s];return a.getCoords?a.getCoords(i.pos):this.view.coordsAtPos(i.pos)}),size:this.manager.tooltipViews.map(({dom:i})=>i.getBoundingClientRect()),space:this.view.state.facet(VP).tooltipSpace(this.view),scaleX:t,scaleY:n,makeAbsolute:r}}writeMeasure(e){var t;if(e.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let o of this.manager.tooltipViews)o.dom.style.position="absolute"}let{editor:n,space:r,scaleX:i,scaleY:s}=e,a=[];for(let o=0;o=Math.min(n.bottom,r.bottom)||f.rightMath.min(n.right,r.right)+.1){d.style.top=Sw;continue}let g=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,b=g?7:0,w=p.right-p.left,x=(t=Vne.get(c))!==null&&t!==void 0?t:p.bottom-p.top,T=c.offset||sKe,_=this.view.textDirection==Us.LTR,C=p.width>r.right-r.left?_?r.left:r.right-p.width:_?Math.min(f.left-(g?14:0)+T.x,r.right-w):Math.max(r.left,f.left-w+(g?14:0)-T.x),I=this.above[o];!l.strictSide&&(I?f.top-(p.bottom-p.top)-T.yr.bottom)&&I==r.bottom-f.bottom>f.top-r.top&&(I=this.above[o]=!I);let M=(I?f.top-r.top:r.bottom-f.bottom)-b;if(MC&&j.top<$+x&&j.bottom>$&&($=I?j.top-x-2-b:j.bottom+b+2);if(this.position=="absolute"?(d.style.top=($-e.parent.top)/s+"px",d.style.left=(C-e.parent.left)/i+"px"):(d.style.top=$/s+"px",d.style.left=C/i+"px"),g){let j=f.left+(_?T.x:-T.x)-(C+14-7);g.style.left=j/i+"px"}c.overlap!==!0&&a.push({left:C,top:$,right:B,bottom:$+x}),d.classList.toggle("cm-tooltip-above",I),d.classList.toggle("cm-tooltip-below",!I),c.positioned&&c.positioned(e.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let e of this.manager.tooltipViews)e.dom.style.top=Sw}},{eventObservers:{scroll(){this.maybeMeasure()}}}),iKe=Sn.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),sKe={x:0,y:0},Cq=Gn.define({enables:[Aq,iKe]}),G5=Gn.define();class $D{static create(t){return new $D(t)}constructor(t){this.view=t,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new fge(t,G5,n=>this.createHostedView(n),n=>n.dom.remove())}createHostedView(t){let n=t.create(this.view);return n.dom.classList.add("cm-tooltip-section"),this.dom.appendChild(n.dom),this.mounted&&n.mount&&n.mount(this.view),n}mount(t){for(let n of this.manager.tooltipViews)n.mount&&n.mount(t);this.mounted=!0}positioned(t){for(let n of this.manager.tooltipViews)n.positioned&&n.positioned(t)}update(t){this.manager.update(t)}destroy(){var t;for(let n of this.manager.tooltipViews)(t=n.destroy)===null||t===void 0||t.call(n)}passProp(t){let n;for(let r of this.manager.tooltipViews){let i=r[t];if(i!==void 0){if(n===void 0)n=i;else if(n!==i)return}}return n}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}}const aKe=Cq.compute([G5],e=>{let t=e.facet(G5).filter(n=>n);return t.length===0?null:{pos:Math.min(...t.map(n=>n.pos)),end:Math.max(...t.map(n=>{var r;return(r=n.end)!==null&&r!==void 0?r:n.pos})),create:$D.create,above:t[0].above,arrow:t.some(n=>n.arrow)}});class oKe{constructor(t,n,r,i,s){this.view=t,this.source=n,this.field=r,this.setHover=i,this.hoverTime=s,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:t.dom,time:0},this.checkHover=this.checkHover.bind(this),t.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),t.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active)return;let t=Date.now()-this.lastMove.time;to.bottom||n.xo.right+t.defaultCharacterWidth)return;let l=t.bidiSpans(t.state.doc.lineAt(i)).find(d=>d.from<=i&&d.to>=i),c=l&&l.dir==Us.RTL?-1:1;s=n.x{this.pending==o&&(this.pending=null,l&&t.dispatch({effects:this.setHover.of(l)}))},l=>of(t.state,l,"hover tooltip"))}else a&&t.dispatch({effects:this.setHover.of(a)})}get tooltip(){let t=this.view.plugin(Aq),n=t?t.manager.tooltips.findIndex(r=>r.create==$D.create):-1;return n>-1?t.manager.tooltipViews[n]:null}mousemove(t){var n;this.lastMove={x:t.clientX,y:t.clientY,target:t.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:r,tooltip:i}=this;if(r&&i&&!lKe(i.dom,t)||this.pending){let{pos:s}=r||this.pending,a=(n=r==null?void 0:r.end)!==null&&n!==void 0?n:s;(s==a?this.view.posAtCoords(this.lastMove)!=s:!uKe(this.view,s,a,t.clientX,t.clientY))&&(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}mouseleave(t){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:n}=this;if(n){let{tooltip:r}=this;r&&r.dom.contains(t.relatedTarget)?this.watchTooltipLeave(r.dom):this.view.dispatch({effects:this.setHover.of(null)})}}watchTooltipLeave(t){let n=r=>{t.removeEventListener("mouseleave",n),this.active&&!this.view.dom.contains(r.relatedTarget)&&this.view.dispatch({effects:this.setHover.of(null)})};t.addEventListener("mouseleave",n)}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}const z4=4;function lKe(e,t){let n=e.getBoundingClientRect();return t.clientX>=n.left-z4&&t.clientX<=n.right+z4&&t.clientY>=n.top-z4&&t.clientY<=n.bottom+z4}function uKe(e,t,n,r,i,s){let a=e.scrollDOM.getBoundingClientRect(),o=e.documentTop+e.documentPadding.top+e.contentHeight;if(a.left>r||a.righti||Math.min(a.bottom,o)=t&&l<=n}function cKe(e,t={}){let n=Fr.define(),r=Po.define({create(){return null},update(i,s){if(i&&(t.hideOnChange&&(s.docChanged||s.selection)||t.hideOn&&t.hideOn(s,i)))return null;if(i&&s.docChanged){let a=s.changes.mapPos(i.pos,-1,Ao.TrackDel);if(a==null)return null;let o=Object.assign(Object.create(null),i);o.pos=a,i.end!=null&&(o.end=s.changes.mapPos(i.end)),i=o}for(let a of s.effects)a.is(n)&&(i=a.value),a.is(dKe)&&(i=null);return i},provide:i=>G5.from(i)});return[r,pa.define(i=>new oKe(i,e,r,n,t.hoverTime||300)),aKe]}function hge(e,t){let n=e.plugin(Aq);if(!n)return null;let r=n.manager.tooltips.indexOf(t);return r<0?null:n.manager.tooltipViews[r]}const dKe=Fr.define(),Gne=Gn.define({combine(e){let t,n;for(let r of e)t=t||r.topContainer,n=n||r.bottomContainer;return{topContainer:t,bottomContainer:n}}});function Mk(e,t){let n=e.plugin(pge),r=n?n.specs.indexOf(t):-1;return r>-1?n.panels[r]:null}const pge=pa.fromClass(class{constructor(e){this.input=e.state.facet(vy),this.specs=this.input.filter(n=>n),this.panels=this.specs.map(n=>n(e));let t=e.state.facet(Gne);this.top=new H4(e,!0,t.topContainer),this.bottom=new H4(e,!1,t.bottomContainer),this.top.sync(this.panels.filter(n=>n.top)),this.bottom.sync(this.panels.filter(n=>!n.top));for(let n of this.panels)n.dom.classList.add("cm-panel"),n.mount&&n.mount()}update(e){let t=e.state.facet(Gne);this.top.container!=t.topContainer&&(this.top.sync([]),this.top=new H4(e.view,!0,t.topContainer)),this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),this.bottom=new H4(e.view,!1,t.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let n=e.state.facet(vy);if(n!=this.input){let r=n.filter(l=>l),i=[],s=[],a=[],o=[];for(let l of r){let c=this.specs.indexOf(l),d;c<0?(d=l(e.view),o.push(d)):(d=this.panels[c],d.update&&d.update(e)),i.push(d),(d.top?s:a).push(d)}this.specs=r,this.panels=i,this.top.sync(s),this.bottom.sync(a);for(let l of o)l.dom.classList.add("cm-panel"),l.mount&&l.mount()}else for(let r of this.panels)r.update&&r.update(e)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:e=>Sn.scrollMargins.of(t=>{let n=t.plugin(e);return n&&{top:n.top.scrollMargin(),bottom:n.bottom.scrollMargin()}})});class H4{constructor(t,n,r){this.view=t,this.top=n,this.container=r,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(t){for(let n of this.panels)n.destroy&&t.indexOf(n)<0&&n.destroy();this.panels=t,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let n=this.container||this.view.dom;n.insertBefore(this.dom,this.top?n.firstChild:null)}let t=this.dom.firstChild;for(let n of this.panels)if(n.dom.parentNode==this.dom){for(;t!=n.dom;)t=Yne(t);t=t.nextSibling}else this.dom.insertBefore(n.dom,t);for(;t;)t=Yne(t)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let t of this.classes.split(" "))t&&this.container.classList.remove(t);for(let t of(this.classes=this.view.themeClasses).split(" "))t&&this.container.classList.add(t)}}}function Yne(e){let t=e.nextSibling;return e.remove(),t}const vy=Gn.define({enables:pge});class Sm extends gy{compare(t){return this==t||this.constructor==t.constructor&&this.eq(t)}eq(t){return!1}destroy(t){}}Sm.prototype.elementClass="";Sm.prototype.toDOM=void 0;Sm.prototype.mapMode=Ao.TrackBefore;Sm.prototype.startSide=Sm.prototype.endSide=-1;Sm.prototype.point=!0;const iR=Gn.define(),fKe={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>Ci.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},AT=Gn.define();function hKe(e){return[mge(),AT.of(Object.assign(Object.assign({},fKe),e))]}const Zne=Gn.define({combine:e=>e.some(t=>t)});function mge(e){return[pKe]}const pKe=pa.fromClass(class{constructor(e){this.view=e,this.prevViewport=e.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=e.state.facet(AT).map(t=>new Kne(e,t));for(let t of this.gutters)this.dom.appendChild(t.dom);this.fixed=!e.state.facet(Zne),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),e.scrollDOM.insertBefore(this.dom,e.contentDOM)}update(e){if(this.updateGutters(e)){let t=this.prevViewport,n=e.view.viewport,r=Math.min(t.to,n.to)-Math.max(t.from,n.from);this.syncGutters(r<(n.to-n.from)*.8)}e.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px"),this.view.state.facet(Zne)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=e.view.viewport}syncGutters(e){let t=this.dom.nextSibling;e&&this.dom.remove();let n=Ci.iter(this.view.state.facet(iR),this.view.viewport.from),r=[],i=this.gutters.map(s=>new mKe(s,this.view.viewport,-this.view.documentPadding.top));for(let s of this.view.viewportLineBlocks)if(r.length&&(r=[]),Array.isArray(s.type)){let a=!0;for(let o of s.type)if(o.type==Ou.Text&&a){yF(n,r,o.from);for(let l of i)l.line(this.view,o,r);a=!1}else if(o.widget)for(let l of i)l.widget(this.view,o)}else if(s.type==Ou.Text){yF(n,r,s.from);for(let a of i)a.line(this.view,s,r)}else if(s.widget)for(let a of i)a.widget(this.view,s);for(let s of i)s.finish();e&&this.view.scrollDOM.insertBefore(this.dom,t)}updateGutters(e){let t=e.startState.facet(AT),n=e.state.facet(AT),r=e.docChanged||e.heightChanged||e.viewportChanged||!Ci.eq(e.startState.facet(iR),e.state.facet(iR),e.view.viewport.from,e.view.viewport.to);if(t==n)for(let i of this.gutters)i.update(e)&&(r=!0);else{r=!0;let i=[];for(let s of n){let a=t.indexOf(s);a<0?i.push(new Kne(this.view,s)):(this.gutters[a].update(e),i.push(this.gutters[a]))}for(let s of this.gutters)s.dom.remove(),i.indexOf(s)<0&&s.destroy();for(let s of i)this.dom.appendChild(s.dom);this.gutters=i}return r}destroy(){for(let e of this.gutters)e.destroy();this.dom.remove()}},{provide:e=>Sn.scrollMargins.of(t=>{let n=t.plugin(e);return!n||n.gutters.length==0||!n.fixed?null:t.textDirection==Us.LTR?{left:n.dom.offsetWidth*t.scaleX}:{right:n.dom.offsetWidth*t.scaleX}})});function Xne(e){return Array.isArray(e)?e:[e]}function yF(e,t,n){for(;e.value&&e.from<=n;)e.from==n&&t.push(e.value),e.next()}class mKe{constructor(t,n,r){this.gutter=t,this.height=r,this.i=0,this.cursor=Ci.iter(t.markers,n.from)}addElement(t,n,r){let{gutter:i}=this,s=(n.top-this.height)/t.scaleY,a=n.height/t.scaleY;if(this.i==i.elements.length){let o=new gge(t,a,s,r);i.elements.push(o),i.dom.appendChild(o.dom)}else i.elements[this.i].update(t,a,s,r);this.height=n.bottom,this.i++}line(t,n,r){let i=[];yF(this.cursor,i,n.from),r.length&&(i=i.concat(r));let s=this.gutter.config.lineMarker(t,n,i);s&&i.unshift(s);let a=this.gutter;i.length==0&&!a.config.renderEmptyElements||this.addElement(t,n,i)}widget(t,n){let r=this.gutter.config.widgetMarker(t,n.widget,n);r&&this.addElement(t,n,[r])}finish(){let t=this.gutter;for(;t.elements.length>this.i;){let n=t.elements.pop();t.dom.removeChild(n.dom),n.destroy()}}}class Kne{constructor(t,n){this.view=t,this.config=n,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let r in n.domEventHandlers)this.dom.addEventListener(r,i=>{let s=i.target,a;if(s!=this.dom&&this.dom.contains(s)){for(;s.parentNode!=this.dom;)s=s.parentNode;let l=s.getBoundingClientRect();a=(l.top+l.bottom)/2}else a=i.clientY;let o=t.lineBlockAtHeight(a-t.documentTop);n.domEventHandlers[r](t,o,i)&&i.preventDefault()});this.markers=Xne(n.markers(t)),n.initialSpacer&&(this.spacer=new gge(t,0,0,[n.initialSpacer(t)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(t){let n=this.markers;if(this.markers=Xne(this.config.markers(t.view)),this.spacer&&this.config.updateSpacer){let i=this.config.updateSpacer(this.spacer.markers[0],t);i!=this.spacer.markers[0]&&this.spacer.update(t.view,0,0,[i])}let r=t.view.viewport;return!Ci.eq(this.markers,n,r.from,r.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(t):!1)}destroy(){for(let t of this.elements)t.destroy()}}class gge{constructor(t,n,r,i){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(t,n,r,i)}update(t,n,r,i){this.height!=n&&(this.height=n,this.dom.style.height=n+"px"),this.above!=r&&(this.dom.style.marginTop=(this.above=r)?r+"px":""),gKe(this.markers,i)||this.setMarkers(t,i)}setMarkers(t,n){let r="cm-gutterElement",i=this.dom.firstChild;for(let s=0,a=0;;){let o=a,l=ss(o,l,c)||a(o,l,c):a}return r}})}});class GP extends Sm{constructor(t){super(),this.number=t}eq(t){return this.number==t.number}toDOM(){return document.createTextNode(this.number)}}function YP(e,t){return e.state.facet(MS).formatNumber(t,e.state)}const yKe=AT.compute([MS],e=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(t){return t.state.facet(bKe)},lineMarker(t,n,r){return r.some(i=>i.toDOM)?null:new GP(YP(t,t.state.doc.lineAt(n.from).number))},widgetMarker:()=>null,lineMarkerChange:t=>t.startState.facet(MS)!=t.state.facet(MS),initialSpacer(t){return new GP(YP(t,Jne(t.state.doc.lines)))},updateSpacer(t,n){let r=YP(n.view,Jne(n.view.state.doc.lines));return r==t.number?t:new GP(r)},domEventHandlers:e.facet(MS).domEventHandlers}));function vKe(e={}){return[MS.of(e),mge(),yKe]}function Jne(e){let t=9;for(;t{let t=[],n=-1;for(let r of e.selection.ranges){let i=e.doc.lineAt(r.head).from;i>n&&(n=i,t.push(SKe.range(i)))}return Ci.of(t)});function EKe(){return OKe}const bge=1024;let wKe=0;class ef{constructor(t,n){this.from=t,this.to=n}}class Nr{constructor(t={}){this.id=wKe++,this.perNode=!!t.perNode,this.deserialize=t.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(t){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof t!="function"&&(t=Do.match(t)),n=>{let r=t(n);return r===void 0?null:[this,r]}}}Nr.closedBy=new Nr({deserialize:e=>e.split(" ")});Nr.openedBy=new Nr({deserialize:e=>e.split(" ")});Nr.group=new Nr({deserialize:e=>e.split(" ")});Nr.isolate=new Nr({deserialize:e=>{if(e&&e!="rtl"&&e!="ltr"&&e!="auto")throw new RangeError("Invalid value for isolate: "+e);return e||"auto"}});Nr.contextHash=new Nr({perNode:!0});Nr.lookAhead=new Nr({perNode:!0});Nr.mounted=new Nr({perNode:!0});class Fk{constructor(t,n,r){this.tree=t,this.overlay=n,this.parser=r}static get(t){return t&&t.props&&t.props[Nr.mounted.id]}}const xKe=Object.create(null);class Do{constructor(t,n,r,i=0){this.name=t,this.props=n,this.id=r,this.flags=i}static define(t){let n=t.props&&t.props.length?Object.create(null):xKe,r=(t.top?1:0)|(t.skipped?2:0)|(t.error?4:0)|(t.name==null?8:0),i=new Do(t.name||"",n,t.id,r);if(t.props){for(let s of t.props)if(Array.isArray(s)||(s=s(i)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");n[s[0].id]=s[1]}}return i}prop(t){return this.props[t.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(t){if(typeof t=="string"){if(this.name==t)return!0;let n=this.prop(Nr.group);return n?n.indexOf(t)>-1:!1}return this.id==t}static match(t){let n=Object.create(null);for(let r in t)for(let i of r.split(" "))n[i]=t[r];return r=>{for(let i=r.prop(Nr.group),s=-1;s<(i?i.length:0);s++){let a=n[s<0?r.name:i[s]];if(a)return a}}}}Do.none=new Do("",Object.create(null),0,8);class iA{constructor(t){this.types=t;for(let n=0;n0;for(let l=this.cursor(a|$s.IncludeAnonymous);;){let c=!1;if(l.from<=s&&l.to>=i&&(!o&&l.type.isAnonymous||n(l)!==!1)){if(l.firstChild())continue;c=!0}for(;c&&r&&(o||!l.type.isAnonymous)&&r(l),!l.nextSibling();){if(!l.parent())return;c=!0}}}prop(t){return t.perNode?this.props?this.props[t.id]:void 0:this.type.prop(t)}get propValues(){let t=[];if(this.props)for(let n in this.props)t.push([+n,this.props[n]]);return t}balance(t={}){return this.children.length<=8?this:Dq(Do.none,this.children,this.positions,0,this.children.length,0,this.length,(n,r,i)=>new ns(this.type,n,r,i,this.propValues),t.makeTree||((n,r,i)=>new ns(Do.none,n,r,i)))}static build(t){return AKe(t)}}ns.empty=new ns(Do.none,[],[],0);class Rq{constructor(t,n){this.buffer=t,this.index=n}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new Rq(this.buffer,this.index)}}class h1{constructor(t,n,r){this.buffer=t,this.length=n,this.set=r}get type(){return Do.none}toString(){let t=[];for(let n=0;n0));l=a[l+3]);return o}slice(t,n,r){let i=this.buffer,s=new Uint16Array(n-t),a=0;for(let o=t,l=0;o=t&&nt;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function $k(e,t,n,r){for(var i;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to0?o.length:-1;t!=c;t+=n){let d=o[t],f=l[t]+a.from;if(yge(i,r,f,f+d.length)){if(d instanceof h1){if(s&$s.ExcludeBuffers)continue;let p=d.findChild(0,d.buffer.length,n,r-f,i);if(p>-1)return new hp(new TKe(a,d,t,f),null,p)}else if(s&$s.IncludeAnonymous||!d.type.isAnonymous||Iq(d)){let p;if(!(s&$s.IgnoreMounts)&&(p=Fk.get(d))&&!p.overlay)return new Ql(p.tree,f,t,a);let g=new Ql(d,f,t,a);return s&$s.IncludeAnonymous||!g.type.isAnonymous?g:g.nextChild(n<0?d.children.length-1:0,n,r,i)}}}if(s&$s.IncludeAnonymous||!a.type.isAnonymous||(a.index>=0?t=a.index+n:t=n<0?-1:a._parent._tree.children.length,a=a._parent,!a))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(t){return this.nextChild(0,1,t,2)}childBefore(t){return this.nextChild(this._tree.children.length-1,-1,t,-2)}enter(t,n,r=0){let i;if(!(r&$s.IgnoreOverlays)&&(i=Fk.get(this._tree))&&i.overlay){let s=t-this.from;for(let{from:a,to:o}of i.overlay)if((n>0?a<=s:a=s:o>s))return new Ql(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,t,n,r)}nextSignificantParent(){let t=this;for(;t.type.isAnonymous&&t._parent;)t=t._parent;return t}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function tre(e,t,n,r){let i=e.cursor(),s=[];if(!i.firstChild())return s;if(n!=null){for(let a=!1;!a;)if(a=i.type.is(n),!i.nextSibling())return s}for(;;){if(r!=null&&i.type.is(r))return s;if(i.type.is(t)&&s.push(i.node),!i.nextSibling())return r==null?s:[]}}function vF(e,t,n=t.length-1){for(let r=e.parent;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}class TKe{constructor(t,n,r,i){this.parent=t,this.buffer=n,this.index=r,this.start=i}}class hp extends vge{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(t,n,r){super(),this.context=t,this._parent=n,this.index=r,this.type=t.buffer.set.types[t.buffer.buffer[r]]}child(t,n,r){let{buffer:i}=this.context,s=i.findChild(this.index+4,i.buffer[this.index+3],t,n-this.context.start,r);return s<0?null:new hp(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(t){return this.child(1,t,2)}childBefore(t){return this.child(-1,t,-2)}enter(t,n,r=0){if(r&$s.ExcludeBuffers)return null;let{buffer:i}=this.context,s=i.findChild(this.index+4,i.buffer[this.index+3],n>0?1:-1,t-this.context.start,n);return s<0?null:new hp(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(t){return this._parent?null:this.context.parent.nextChild(this.context.index+t,t,0,4)}get nextSibling(){let{buffer:t}=this.context,n=t.buffer[this.index+3];return n<(this._parent?t.buffer[this._parent.index+3]:t.buffer.length)?new hp(this.context,this._parent,n):this.externalSibling(1)}get prevSibling(){let{buffer:t}=this.context,n=this._parent?this._parent.index+4:0;return this.index==n?this.externalSibling(-1):new hp(this.context,this._parent,t.findChild(n,this.index,-1,0,4))}get tree(){return null}toTree(){let t=[],n=[],{buffer:r}=this.context,i=this.index+4,s=r.buffer[this.index+3];if(s>i){let a=r.buffer[this.index+1];t.push(r.slice(i,s,a)),n.push(0)}return new ns(this.type,t,n,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function Sge(e){if(!e.length)return null;let t=0,n=e[0];for(let s=1;sn.from||a.to=t){let o=new Ql(a.tree,a.overlay[0].from+s.from,-1,s);(i||(i=[r])).push($k(o,t,n,!1))}}return i?Sge(i):r}class Y5{get name(){return this.type.name}constructor(t,n=0){if(this.mode=n,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,t instanceof Ql)this.yieldNode(t);else{this._tree=t.context.parent,this.buffer=t.context;for(let r=t._parent;r;r=r._parent)this.stack.unshift(r.index);this.bufferNode=t,this.yieldBuf(t.index)}}yieldNode(t){return t?(this._tree=t,this.type=t.type,this.from=t.from,this.to=t.to,!0):!1}yieldBuf(t,n){this.index=t;let{start:r,buffer:i}=this.buffer;return this.type=n||i.set.types[i.buffer[t]],this.from=r+i.buffer[t+1],this.to=r+i.buffer[t+2],!0}yield(t){return t?t instanceof Ql?(this.buffer=null,this.yieldNode(t)):(this.buffer=t.context,this.yieldBuf(t.index,t.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(t,n,r){if(!this.buffer)return this.yield(this._tree.nextChild(t<0?this._tree._tree.children.length-1:0,t,n,r,this.mode));let{buffer:i}=this.buffer,s=i.findChild(this.index+4,i.buffer[this.index+3],t,n-this.buffer.start,r);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(t){return this.enterChild(1,t,2)}childBefore(t){return this.enterChild(-1,t,-2)}enter(t,n,r=this.mode){return this.buffer?r&$s.ExcludeBuffers?!1:this.enterChild(1,t,n):this.yield(this._tree.enter(t,n,r))}parent(){if(!this.buffer)return this.yieldNode(this.mode&$s.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let t=this.mode&$s.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(t)}sibling(t){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+t,t,0,4,this.mode)):!1;let{buffer:n}=this.buffer,r=this.stack.length-1;if(t<0){let i=r<0?0:this.stack[r]+4;if(this.index!=i)return this.yieldBuf(n.findChild(i,this.index,-1,0,4))}else{let i=n.buffer[this.index+3];if(i<(r<0?n.buffer.length:n.buffer[this.stack[r]+3]))return this.yieldBuf(i)}return r<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+t,t,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(t){let n,r,{buffer:i}=this;if(i){if(t>0){if(this.index-1)for(let s=n+t,a=t<0?-1:r._tree.children.length;s!=a;s+=t){let o=r._tree.children[s];if(this.mode&$s.IncludeAnonymous||o instanceof h1||!o.type.isAnonymous||Iq(o))return!1}return!0}move(t,n){if(n&&this.enterChild(t,0,4))return!0;for(;;){if(this.sibling(t))return!0;if(this.atLastNode(t)||!this.parent())return!1}}next(t=!0){return this.move(1,t)}prev(t=!0){return this.move(-1,t)}moveTo(t,n=0){for(;(this.from==this.to||(n<1?this.from>=t:this.from>t)||(n>-1?this.to<=t:this.to=0;){for(let a=t;a;a=a._parent)if(a.index==i){if(i==this.index)return a;n=a,r=s+1;break e}i=this.stack[--s]}for(let i=r;i=0;s--){if(s<0)return vF(this.node,t,i);let a=r[n.buffer[this.stack[s]]];if(!a.isAnonymous){if(t[i]&&t[i]!=a.name)return!1;i--}}return!0}}function Iq(e){return e.children.some(t=>t instanceof h1||!t.type.isAnonymous||Iq(t))}function AKe(e){var t;let{buffer:n,nodeSet:r,maxBufferLength:i=bge,reused:s=[],minRepeatType:a=r.types.length}=e,o=Array.isArray(n)?new Rq(n,n.length):n,l=r.types,c=0,d=0;function f(M,$,B,j,F,V){let{id:ie,start:se,end:me,size:fe}=o,le=d;for(;fe<0;)if(o.next(),fe==-1){let re=s[ie];B.push(re),j.push(se-M);return}else if(fe==-3){c=ie;return}else if(fe==-4){d=ie;return}else throw new RangeError(`Unrecognized record size: ${fe}`);let ye=l[ie],ae,Se,he=se-M;if(me-se<=i&&(Se=x(o.pos-$,F))){let re=new Uint16Array(Se.size-Se.skip),Fe=o.pos-Se.size,je=re.length;for(;o.pos>Fe;)je=T(Se.start,re,je);ae=new h1(re,me-Se.start,r),he=Se.start-M}else{let re=o.pos-fe;o.next();let Fe=[],je=[],ue=ie>=a?ie:-1,tt=0,St=me;for(;o.pos>re;)ue>=0&&o.id==ue&&o.size>=0?(o.end<=St-i&&(b(Fe,je,se,tt,o.end,St,ue,le),tt=Fe.length,St=o.end),o.next()):V>2500?p(se,re,Fe,je):f(se,re,Fe,je,ue,V+1);if(ue>=0&&tt>0&&tt-1&&tt>0){let Ze=g(ye);ae=Dq(ye,Fe,je,0,Fe.length,0,me-se,Ze,Ze)}else ae=w(ye,Fe,je,me-se,le-me)}B.push(ae),j.push(he)}function p(M,$,B,j){let F=[],V=0,ie=-1;for(;o.pos>$;){let{id:se,start:me,end:fe,size:le}=o;if(le>4)o.next();else{if(ie>-1&&me=0;fe-=3)se[le++]=F[fe],se[le++]=F[fe+1]-me,se[le++]=F[fe+2]-me,se[le++]=le;B.push(new h1(se,F[2]-me,r)),j.push(me-M)}}function g(M){return($,B,j)=>{let F=0,V=$.length-1,ie,se;if(V>=0&&(ie=$[V])instanceof ns){if(!V&&ie.type==M&&ie.length==j)return ie;(se=ie.prop(Nr.lookAhead))&&(F=B[V]+ie.length+se)}return w(M,$,B,j,F)}}function b(M,$,B,j,F,V,ie,se){let me=[],fe=[];for(;M.length>j;)me.push(M.pop()),fe.push($.pop()+B-F);M.push(w(r.types[ie],me,fe,V-F,se-V)),$.push(F-B)}function w(M,$,B,j,F=0,V){if(c){let ie=[Nr.contextHash,c];V=V?[ie].concat(V):[ie]}if(F>25){let ie=[Nr.lookAhead,F];V=V?[ie].concat(V):[ie]}return new ns(M,$,B,j,V)}function x(M,$){let B=o.fork(),j=0,F=0,V=0,ie=B.end-i,se={size:0,start:0,skip:0};e:for(let me=B.pos-M;B.pos>me;){let fe=B.size;if(B.id==$&&fe>=0){se.size=j,se.start=F,se.skip=V,V+=4,j+=4,B.next();continue}let le=B.pos-fe;if(fe<0||le=a?4:0,ae=B.start;for(B.next();B.pos>le;){if(B.size<0)if(B.size==-3)ye+=4;else break e;else B.id>=a&&(ye+=4);B.next()}F=ae,j+=fe,V+=ye}return($<0||j==M)&&(se.size=j,se.start=F,se.skip=V),se.size>4?se:void 0}function T(M,$,B){let{id:j,start:F,end:V,size:ie}=o;if(o.next(),ie>=0&&j4){let me=o.pos-(ie-4);for(;o.pos>me;)B=T(M,$,B)}$[--B]=se,$[--B]=V-M,$[--B]=F-M,$[--B]=j}else ie==-3?c=j:ie==-4&&(d=j);return B}let _=[],C=[];for(;o.pos>0;)f(e.start||0,e.bufferStart||0,_,C,-1,0);let I=(t=e.length)!==null&&t!==void 0?t:_.length?C[0]+_[0].length:0;return new ns(l[e.topID],_.reverse(),C.reverse(),I)}const nre=new WeakMap;function sR(e,t){if(!e.isAnonymous||t instanceof h1||t.type!=e)return 1;let n=nre.get(t);if(n==null){n=1;for(let r of t.children){if(r.type!=e||!(r instanceof ns)){n=1;break}n+=sR(e,r)}nre.set(t,n)}return n}function Dq(e,t,n,r,i,s,a,o,l){let c=0;for(let b=r;b=d)break;$+=B}if(C==I+1){if($>d){let B=b[I];g(B.children,B.positions,0,B.children.length,w[I]+_);continue}f.push(b[I])}else{let B=w[C-1]+b[C-1].length-M;f.push(Dq(e,b,w,I,C,M,B,null,l))}p.push(M+_-s)}}return g(t,n,r,i,0),(o||l)(f,p,a)}class Oge{constructor(){this.map=new WeakMap}setBuffer(t,n,r){let i=this.map.get(t);i||this.map.set(t,i=new Map),i.set(n,r)}getBuffer(t,n){let r=this.map.get(t);return r&&r.get(n)}set(t,n){t instanceof hp?this.setBuffer(t.context.buffer,t.index,n):t instanceof Ql&&this.map.set(t.tree,n)}get(t){return t instanceof hp?this.getBuffer(t.context.buffer,t.index):t instanceof Ql?this.map.get(t.tree):void 0}cursorSet(t,n){t.buffer?this.setBuffer(t.buffer.buffer,t.index,n):this.map.set(t.tree,n)}cursorGet(t){return t.buffer?this.getBuffer(t.buffer.buffer,t.index):this.map.get(t.tree)}}class nm{constructor(t,n,r,i,s=!1,a=!1){this.from=t,this.to=n,this.tree=r,this.offset=i,this.open=(s?1:0)|(a?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(t,n=[],r=!1){let i=[new nm(0,t.length,t,0,!1,r)];for(let s of n)s.to>t.length&&i.push(s);return i}static applyChanges(t,n,r=128){if(!n.length)return t;let i=[],s=1,a=t.length?t[0]:null;for(let o=0,l=0,c=0;;o++){let d=o=r)for(;a&&a.from=p.from||f<=p.to||c){let g=Math.max(p.from,l)-c,b=Math.min(p.to,f)-c;p=g>=b?null:new nm(g,b,p.tree,p.offset+c,o>0,!!d)}if(p&&i.push(p),a.to>f)break;a=snew ef(i.from,i.to)):[new ef(0,0)]:[new ef(0,t.length)],this.createParse(t,n||[],r)}parse(t,n,r){let i=this.startParse(t,n,r);for(;;){let s=i.advance();if(s)return s}}};class CKe{constructor(t){this.string=t}get length(){return this.string.length}chunk(t){return this.string.slice(t)}get lineChunks(){return!1}read(t,n){return this.string.slice(t,n)}}function Ege(e){return(t,n,r,i)=>new IKe(t,e,n,r,i)}class rre{constructor(t,n,r,i,s){this.parser=t,this.parse=n,this.overlay=r,this.target=i,this.from=s}}function ire(e){if(!e.length||e.some(t=>t.from>=t.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}class RKe{constructor(t,n,r,i,s,a,o){this.parser=t,this.predicate=n,this.mounts=r,this.index=i,this.start=s,this.target=a,this.prev=o,this.depth=0,this.ranges=[]}}const SF=new Nr({perNode:!0});class IKe{constructor(t,n,r,i,s){this.nest=n,this.input=r,this.fragments=i,this.ranges=s,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=t}advance(){if(this.baseParse){let r=this.baseParse.advance();if(!r)return null;if(this.baseParse=null,this.baseTree=r,this.startInner(),this.stoppedAt!=null)for(let i of this.inner)i.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let r=this.baseTree;return this.stoppedAt!=null&&(r=new ns(r.type,r.children,r.positions,r.length,r.propValues.concat([[SF,this.stoppedAt]]))),r}let t=this.inner[this.innerDone],n=t.parse.advance();if(n){this.innerDone++;let r=Object.assign(Object.create(null),t.target.props);r[Nr.mounted.id]=new Fk(n,t.overlay,t.parser),t.target.props=r}return null}get parsedPos(){if(this.baseParse)return 0;let t=this.input.length;for(let n=this.innerDone;n=this.stoppedAt)o=!1;else if(t.hasNode(i)){if(n){let c=n.mounts.find(d=>d.frag.from<=i.from&&d.frag.to>=i.to&&d.mount.overlay);if(c)for(let d of c.mount.overlay){let f=d.from+c.pos,p=d.to+c.pos;f>=i.from&&p<=i.to&&!n.ranges.some(g=>g.fromf)&&n.ranges.push({from:f,to:p})}}o=!1}else if(r&&(a=DKe(r.ranges,i.from,i.to)))o=a!=2;else if(!i.type.isAnonymous&&(s=this.nest(i,this.input))&&(i.fromnew ef(f.from-i.from,f.to-i.from)):null,i.tree,d.length?d[0].from:i.from)),s.overlay?d.length&&(r={ranges:d,depth:0,prev:r}):o=!1}}else n&&(l=n.predicate(i))&&(l===!0&&(l=new ef(i.from,i.to)),l.fromnew ef(d.from-n.start,d.to-n.start)),n.target,c[0].from))),n=n.prev}r&&!--r.depth&&(r=r.prev)}}}}function DKe(e,t,n){for(let r of e){if(r.from>=n)break;if(r.to>t)return r.from<=t&&r.to>=n?2:1}return 0}function sre(e,t,n,r,i,s){if(t=t&&n.enter(r,1,$s.IgnoreOverlays|$s.ExcludeBuffers)||n.next(!1)||(this.done=!0)}hasNode(t){if(this.moveTo(t.from),!this.done&&this.cursor.from+this.offset==t.from&&this.cursor.tree)for(let n=this.cursor.tree;;){if(n==t.tree)return!0;if(n.children.length&&n.positions[0]==0&&n.children[0]instanceof ns)n=n.children[0];else break}return!1}}let PKe=class{constructor(t){var n;if(this.fragments=t,this.curTo=0,this.fragI=0,t.length){let r=this.curFrag=t[0];this.curTo=(n=r.tree.prop(SF))!==null&&n!==void 0?n:r.to,this.inner=new are(r.tree,-r.offset)}else this.curFrag=this.inner=null}hasNode(t){for(;this.curFrag&&t.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=t.from&&this.curTo>=t.to&&this.inner.hasNode(t)}nextFrag(){var t;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let n=this.curFrag=this.fragments[this.fragI];this.curTo=(t=n.tree.prop(SF))!==null&&t!==void 0?t:n.to,this.inner=new are(n.tree,-n.offset)}}findMounts(t,n){var r;let i=[];if(this.inner){this.inner.cursor.moveTo(t,1);for(let s=this.inner.cursor.node;s;s=s.parent){let a=(r=s.tree)===null||r===void 0?void 0:r.prop(Nr.mounted);if(a&&a.parser==n)for(let o=this.fragI;o=s.to)break;l.tree==this.curFrag.tree&&i.push({frag:l,pos:s.from-l.offset,mount:a})}}}return i}};function ore(e,t){let n=null,r=t;for(let i=1,s=0;i=o)break;l.to<=a||(n||(r=n=t.slice()),l.fromo&&n.splice(s+1,0,new ef(o,l.to))):l.to>o?n[s--]=new ef(o,l.to):n.splice(s--,1))}}return r}function LKe(e,t,n,r){let i=0,s=0,a=!1,o=!1,l=-1e9,c=[];for(;;){let d=i==e.length?1e9:a?e[i].to:e[i].from,f=s==t.length?1e9:o?t[s].to:t[s].from;if(a!=o){let p=Math.max(l,n),g=Math.min(d,f,r);pnew ef(p.from+r,p.to+r)),f=LKe(t,d,l,c);for(let p=0,g=l;;p++){let b=p==f.length,w=b?c:f[p].from;if(w>g&&n.push(new nm(g,w,i.tree,-a,s.from>=g||s.openStart,s.to<=w||s.openEnd)),b)break;g=f[p].to}}else n.push(new nm(l,c,i.tree,-a,s.from>=a||s.openStart,s.to<=o||s.openEnd))}return n}let MKe=0;class jc{constructor(t,n,r,i){this.name=t,this.set=n,this.base=r,this.modified=i,this.id=MKe++}toString(){let{name:t}=this;for(let n of this.modified)n.name&&(t=`${n.name}(${t})`);return t}static define(t,n){let r=typeof t=="string"?t:"?";if(t instanceof jc&&(n=t),n!=null&&n.base)throw new Error("Can not derive from a modified tag");let i=new jc(r,[],null,[]);if(i.set.push(i),n)for(let s of n.set)i.set.push(s);return i}static defineModifier(t){let n=new Z5(t);return r=>r.modified.indexOf(n)>-1?r:Z5.get(r.base||r,r.modified.concat(n).sort((i,s)=>i.id-s.id))}}let FKe=0;class Z5{constructor(t){this.name=t,this.instances=[],this.id=FKe++}static get(t,n){if(!n.length)return t;let r=n[0].instances.find(o=>o.base==t&&$Ke(n,o.modified));if(r)return r;let i=[],s=new jc(t.name,i,t,n);for(let o of n)o.instances.push(s);let a=BKe(n);for(let o of t.set)if(!o.modified.length)for(let l of a)i.push(Z5.get(o,l));return s}}function $Ke(e,t){return e.length==t.length&&e.every((n,r)=>n==t[r])}function BKe(e){let t=[[]];for(let n=0;nr.length-n.length)}function jE(e){let t=Object.create(null);for(let n in e){let r=e[n];Array.isArray(r)||(r=[r]);for(let i of n.split(" "))if(i){let s=[],a=2,o=i;for(let f=0;;){if(o=="..."&&f>0&&f+3==i.length){a=1;break}let p=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!p)throw new RangeError("Invalid path: "+i);if(s.push(p[0]=="*"?"":p[0][0]=='"'?JSON.parse(p[0]):p[0]),f+=p[0].length,f==i.length)break;let g=i[f++];if(f==i.length&&g=="!"){a=0;break}if(g!="/")throw new RangeError("Invalid path: "+i);o=i.slice(f)}let l=s.length-1,c=s[l];if(!c)throw new RangeError("Invalid path: "+i);let d=new X5(r,a,l>0?s.slice(0,l):null);t[c]=d.sort(t[c])}}return wge.add(t)}const wge=new Nr;class X5{constructor(t,n,r,i){this.tags=t,this.mode=n,this.context=r,this.next=i}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(t){return!t||t.depth{let a=i;for(let o of s)for(let l of o.set){let c=n[l.id];if(c){a=a?a+" "+c:c;break}}return a},scope:r}}function UKe(e,t){let n=null;for(let r of e){let i=r.style(t);i&&(n=n?n+" "+i:i)}return n}function zKe(e,t,n,r=0,i=e.length){let s=new HKe(r,Array.isArray(t)?t:[t],n);s.highlightRange(e.cursor(),r,i,"",s.highlighters),s.flush(i)}class HKe{constructor(t,n,r){this.at=t,this.highlighters=n,this.span=r,this.class=""}startSpan(t,n){n!=this.class&&(this.flush(t),t>this.at&&(this.at=t),this.class=n)}flush(t){t>this.at&&this.class&&this.span(this.at,t,this.class)}highlightRange(t,n,r,i,s){let{type:a,from:o,to:l}=t;if(o>=r||l<=n)return;a.isTop&&(s=this.highlighters.filter(g=>!g.scope||g.scope(a)));let c=i,d=qKe(t)||X5.empty,f=UKe(s,d.tags);if(f&&(c&&(c+=" "),c+=f,d.mode==1&&(i+=(i?" ":"")+f)),this.startSpan(Math.max(n,o),c),d.opaque)return;let p=t.tree&&t.tree.prop(Nr.mounted);if(p&&p.overlay){let g=t.node.enter(p.overlay[0].from+o,1),b=this.highlighters.filter(x=>!x.scope||x.scope(p.tree.type)),w=t.firstChild();for(let x=0,T=o;;x++){let _=x=C||!t.nextSibling())););if(!_||C>r)break;T=_.to+o,T>n&&(this.highlightRange(g.cursor(),Math.max(n,_.from+o),Math.min(r,T),"",b),this.startSpan(Math.min(r,T),c))}w&&t.parent()}else if(t.firstChild()){p&&(i="");do if(!(t.to<=n)){if(t.from>=r)break;this.highlightRange(t,n,r,i,s),this.startSpan(Math.min(r,t.to),c)}while(t.nextSibling());t.parent()}}}function qKe(e){let t=e.type.prop(wge);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}const On=jc.define,j4=On(),bg=On(),ure=On(bg),cre=On(bg),yg=On(),W4=On(yg),ZP=On(yg),Yh=On(),nb=On(Yh),Vh=On(),Gh=On(),OF=On(),Ow=On(OF),Q4=On(),ze={comment:j4,lineComment:On(j4),blockComment:On(j4),docComment:On(j4),name:bg,variableName:On(bg),typeName:ure,tagName:On(ure),propertyName:cre,attributeName:On(cre),className:On(bg),labelName:On(bg),namespace:On(bg),macroName:On(bg),literal:yg,string:W4,docString:On(W4),character:On(W4),attributeValue:On(W4),number:ZP,integer:On(ZP),float:On(ZP),bool:On(yg),regexp:On(yg),escape:On(yg),color:On(yg),url:On(yg),keyword:Vh,self:On(Vh),null:On(Vh),atom:On(Vh),unit:On(Vh),modifier:On(Vh),operatorKeyword:On(Vh),controlKeyword:On(Vh),definitionKeyword:On(Vh),moduleKeyword:On(Vh),operator:Gh,derefOperator:On(Gh),arithmeticOperator:On(Gh),logicOperator:On(Gh),bitwiseOperator:On(Gh),compareOperator:On(Gh),updateOperator:On(Gh),definitionOperator:On(Gh),typeOperator:On(Gh),controlOperator:On(Gh),punctuation:OF,separator:On(OF),bracket:Ow,angleBracket:On(Ow),squareBracket:On(Ow),paren:On(Ow),brace:On(Ow),content:Yh,heading:nb,heading1:On(nb),heading2:On(nb),heading3:On(nb),heading4:On(nb),heading5:On(nb),heading6:On(nb),contentSeparator:On(Yh),list:On(Yh),quote:On(Yh),emphasis:On(Yh),strong:On(Yh),link:On(Yh),monospace:On(Yh),strikethrough:On(Yh),inserted:On(),deleted:On(),changed:On(),invalid:On(),meta:Q4,documentMeta:On(Q4),annotation:On(Q4),processingInstruction:On(Q4),definition:jc.defineModifier("definition"),constant:jc.defineModifier("constant"),function:jc.defineModifier("function"),standard:jc.defineModifier("standard"),local:jc.defineModifier("local"),special:jc.defineModifier("special")};for(let e in ze){let t=ze[e];t instanceof jc&&(t.name=e)}xge([{tag:ze.link,class:"tok-link"},{tag:ze.heading,class:"tok-heading"},{tag:ze.emphasis,class:"tok-emphasis"},{tag:ze.strong,class:"tok-strong"},{tag:ze.keyword,class:"tok-keyword"},{tag:ze.atom,class:"tok-atom"},{tag:ze.bool,class:"tok-bool"},{tag:ze.url,class:"tok-url"},{tag:ze.labelName,class:"tok-labelName"},{tag:ze.inserted,class:"tok-inserted"},{tag:ze.deleted,class:"tok-deleted"},{tag:ze.literal,class:"tok-literal"},{tag:ze.string,class:"tok-string"},{tag:ze.number,class:"tok-number"},{tag:[ze.regexp,ze.escape,ze.special(ze.string)],class:"tok-string2"},{tag:ze.variableName,class:"tok-variableName"},{tag:ze.local(ze.variableName),class:"tok-variableName tok-local"},{tag:ze.definition(ze.variableName),class:"tok-variableName tok-definition"},{tag:ze.special(ze.variableName),class:"tok-variableName2"},{tag:ze.definition(ze.propertyName),class:"tok-propertyName tok-definition"},{tag:ze.typeName,class:"tok-typeName"},{tag:ze.namespace,class:"tok-namespace"},{tag:ze.className,class:"tok-className"},{tag:ze.macroName,class:"tok-macroName"},{tag:ze.propertyName,class:"tok-propertyName"},{tag:ze.operator,class:"tok-operator"},{tag:ze.comment,class:"tok-comment"},{tag:ze.meta,class:"tok-meta"},{tag:ze.invalid,class:"tok-invalid"},{tag:ze.punctuation,class:"tok-punctuation"}]);var XP;const Ab=new Nr;function Pq(e){return Gn.define({combine:e?t=>t.concat(e):void 0})}const Lq=new Nr;class td{constructor(t,n,r=[],i=""){this.data=t,this.name=i,Ni.prototype.hasOwnProperty("tree")||Object.defineProperty(Ni.prototype,"tree",{get(){return Hs(this)}}),this.parser=n,this.extension=[p1.of(this),Ni.languageData.of((s,a,o)=>{let l=dre(s,a,o),c=l.type.prop(Ab);if(!c)return[];let d=s.facet(c),f=l.type.prop(Lq);if(f){let p=l.resolve(a-l.from,o);for(let g of f)if(g.test(p,s)){let b=s.facet(g.facet);return g.type=="replace"?b:b.concat(d)}}return d})].concat(r)}isActiveAt(t,n,r=-1){return dre(t,n,r).type.prop(Ab)==this.data}findRegions(t){let n=t.facet(p1);if((n==null?void 0:n.data)==this.data)return[{from:0,to:t.doc.length}];if(!n||!n.allowsNesting)return[];let r=[],i=(s,a)=>{if(s.prop(Ab)==this.data){r.push({from:a,to:a+s.length});return}let o=s.prop(Nr.mounted);if(o){if(o.tree.prop(Ab)==this.data){if(o.overlay)for(let l of o.overlay)r.push({from:l.from+a,to:l.to+a});else r.push({from:a,to:a+s.length});return}else if(o.overlay){let l=r.length;if(i(o.tree,o.overlay[0].from+a),r.length>l)return}}for(let l=0;lr.isTop?n:void 0)]}),t.name)}configure(t,n){return new iE(this.data,this.parser.configure(t),n||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Hs(e){let t=e.field(td.state,!1);return t?t.tree:ns.empty}function Tge(e,t,n=50){var r;let i=(r=e.field(td.state,!1))===null||r===void 0?void 0:r.context;if(!i)return null;let s=i.viewport;i.updateViewport({from:0,to:t});let a=i.isDone(t)||i.work(n,t)?i.tree:null;return i.updateViewport(s),a}class jKe{constructor(t){this.doc=t,this.cursorPos=0,this.string="",this.cursor=t.iter()}get length(){return this.doc.length}syncTo(t){return this.string=this.cursor.next(t-this.cursorPos).value,this.cursorPos=t+this.string.length,this.cursorPos-this.string.length}chunk(t){return this.syncTo(t),this.string}get lineChunks(){return!0}read(t,n){let r=this.cursorPos-this.string.length;return t=this.cursorPos?this.doc.sliceString(t,n):this.string.slice(t-r,n-r)}}let Ew=null;class Bk{constructor(t,n,r=[],i,s,a,o,l){this.parser=t,this.state=n,this.fragments=r,this.tree=i,this.treeLen=s,this.viewport=a,this.skipped=o,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(t,n,r){return new Bk(t,n,[],ns.empty,0,r,[],null)}startParse(){return this.parser.startParse(new jKe(this.state.doc),this.fragments)}work(t,n){return n!=null&&n>=this.state.doc.length&&(n=void 0),this.tree!=ns.empty&&this.isDone(n??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var r;if(typeof t=="number"){let i=Date.now()+t;t=()=>Date.now()>i}for(this.parse||(this.parse=this.startParse()),n!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>n)&&n=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&this.parse.stopAt(t),this.withContext(()=>{for(;!(n=this.parse.advance()););}),this.treeLen=t,this.tree=n,this.fragments=this.withoutTempSkipped(nm.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(t){let n=Ew;Ew=this;try{return t()}finally{Ew=n}}withoutTempSkipped(t){for(let n;n=this.tempSkipped.pop();)t=fre(t,n.from,n.to);return t}changes(t,n){let{fragments:r,tree:i,treeLen:s,viewport:a,skipped:o}=this;if(this.takeTree(),!t.empty){let l=[];if(t.iterChangedRanges((c,d,f,p)=>l.push({fromA:c,toA:d,fromB:f,toB:p})),r=nm.applyChanges(r,l),i=ns.empty,s=0,a={from:t.mapPos(a.from,-1),to:t.mapPos(a.to,1)},this.skipped.length){o=[];for(let c of this.skipped){let d=t.mapPos(c.from,1),f=t.mapPos(c.to,-1);dt.from&&(this.fragments=fre(this.fragments,i,s),this.skipped.splice(r--,1))}return this.skipped.length>=n?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(t,n){this.skipped.push({from:t,to:n})}static getSkippingParser(t){return new class extends Nq{createParse(n,r,i){let s=i[0].from,a=i[i.length-1].to;return{parsedPos:s,advance(){let l=Ew;if(l){for(let c of i)l.tempSkipped.push(c);t&&(l.scheduleOn=l.scheduleOn?Promise.all([l.scheduleOn,t]):t)}return this.parsedPos=a,new ns(Do.none,[],[],a-s)},stoppedAt:null,stopAt(){}}}}}isDone(t){t=Math.min(t,this.state.doc.length);let n=this.fragments;return this.treeLen>=t&&n.length&&n[0].from==0&&n[0].to>=t}static get(){return Ew}}function fre(e,t,n){return nm.applyChanges(e,[{fromA:t,toA:n,fromB:t,toB:n}])}class sE{constructor(t){this.context=t,this.tree=t.tree}apply(t){if(!t.docChanged&&this.tree==this.context.tree)return this;let n=this.context.changes(t.changes,t.state),r=this.context.treeLen==t.startState.doc.length?void 0:Math.max(t.changes.mapPos(this.context.treeLen),n.viewport.to);return n.work(20,r)||n.takeTree(),new sE(n)}static init(t){let n=Math.min(3e3,t.doc.length),r=Bk.create(t.facet(p1).parser,t,{from:0,to:n});return r.work(20,n)||r.takeTree(),new sE(r)}}td.state=Po.define({create:sE.init,update(e,t){for(let n of t.effects)if(n.is(td.setState))return n.value;return t.startState.facet(p1)!=t.state.facet(p1)?sE.init(t.state):e.apply(t)}});let kge=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};typeof requestIdleCallback<"u"&&(kge=e=>{let t=-1,n=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(n):cancelIdleCallback(t)});const KP=typeof navigator<"u"&&(!((XP=navigator.scheduling)===null||XP===void 0)&&XP.isInputPending)?()=>navigator.scheduling.isInputPending():null,WKe=pa.fromClass(class{constructor(t){this.view=t,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(t){let n=this.view.state.field(td.state).context;(n.updateViewport(t.view.viewport)||this.view.viewport.to>n.treeLen)&&this.scheduleWork(),(t.docChanged||t.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(n)}scheduleWork(){if(this.working)return;let{state:t}=this.view,n=t.field(td.state);(n.tree!=n.context.tree||!n.context.isDone(t.doc.length))&&(this.working=kge(this.work))}work(t){this.working=null;let n=Date.now();if(this.chunkEndi+1e3,l=s.context.work(()=>KP&&KP()||Date.now()>a,i+(o?0:1e5));this.chunkBudget-=Date.now()-n,(l||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:td.setState.of(new sE(s.context))})),this.chunkBudget>0&&!(l&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(t){t.scheduleOn&&(this.workScheduled++,t.scheduleOn.then(()=>this.scheduleWork()).catch(n=>of(this.view.state,n)).then(()=>this.workScheduled--),t.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),p1=Gn.define({combine(e){return e.length?e[0]:null},enables:e=>[td.state,WKe,Sn.contentAttributes.compute([e],t=>{let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}})]});class Uk{constructor(t,n=[]){this.language=t,this.support=n,this.extension=[t,n]}}class K5{constructor(t,n,r,i,s,a=void 0){this.name=t,this.alias=n,this.extensions=r,this.filename=i,this.loadFunc=s,this.support=a,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(t=>this.support=t,t=>{throw this.loading=null,t}))}static of(t){let{load:n,support:r}=t;if(!n){if(!r)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");n=()=>Promise.resolve(r)}return new K5(t.name,(t.alias||[]).concat(t.name).map(i=>i.toLowerCase()),t.extensions||[],t.filename,n,r)}static matchFilename(t,n){for(let i of t)if(i.filename&&i.filename.test(n))return i;let r=/\.([^.]+)$/.exec(n);if(r){for(let i of t)if(i.extensions.indexOf(r[1])>-1)return i}return null}static matchLanguageName(t,n,r=!0){n=n.toLowerCase();for(let i of t)if(i.alias.some(s=>s==n))return i;if(r)for(let i of t)for(let s of i.alias){let a=n.indexOf(s);if(a>-1&&(s.length>2||!/\w/.test(n[a-1])&&!/\w/.test(n[a+s.length])))return i}return null}}const QKe=Gn.define(),m1=Gn.define({combine:e=>{if(!e.length)return" ";let t=e[0];if(!t||/\S/.test(t)||Array.from(t).some(n=>n!=t[0]))throw new Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}});function J5(e){let t=e.facet(m1);return t.charCodeAt(0)==9?e.tabSize*t.length:t.length}function zk(e,t){let n="",r=e.tabSize,i=e.facet(m1)[0];if(i==" "){for(;t>=r;)n+=" ",t-=r;i=" "}for(let s=0;s=t?VKe(e,n,t):null}class BD{constructor(t,n={}){this.state=t,this.options=n,this.unit=J5(t)}lineAt(t,n=1){let r=this.state.doc.lineAt(t),{simulateBreak:i,simulateDoubleBreak:s}=this.options;return i!=null&&i>=r.from&&i<=r.to?s&&i==t?{text:"",from:t}:(n<0?i-1&&(s+=a-this.countColumn(r,r.search(/\S|$/))),s}countColumn(t,n=t.length){return _p(t,this.state.tabSize,n)}lineIndent(t,n=1){let{text:r,from:i}=this.lineAt(t,n),s=this.options.overrideIndentation;if(s){let a=s(i);if(a>-1)return a}return this.countColumn(r,r.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const sA=new Nr;function VKe(e,t,n){let r=t.resolveStack(n),i=r.node.enterUnfinishedNodesBefore(n);if(i!=r.node){let s=[];for(let a=i;a!=r.node;a=a.parent)s.push(a);for(let a=s.length-1;a>=0;a--)r={node:s[a],next:r}}return _ge(r,e,n)}function _ge(e,t,n){for(let r=e;r;r=r.next){let i=YKe(r.node);if(i)return i(Fq.create(t,n,r))}return 0}function GKe(e){return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak}function YKe(e){let t=e.type.prop(sA);if(t)return t;let n=e.firstChild,r;if(n&&(r=n.type.prop(Nr.closedBy))){let i=e.lastChild,s=i&&r.indexOf(i.name)>-1;return a=>Age(a,!0,1,void 0,s&&!GKe(a)?i.from:void 0)}return e.parent==null?ZKe:null}function ZKe(){return 0}class Fq extends BD{constructor(t,n,r){super(t.state,t.options),this.base=t,this.pos=n,this.context=r}get node(){return this.context.node}static create(t,n,r){return new Fq(t,n,r)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(t){let n=this.state.doc.lineAt(t.from);for(;;){let r=t.resolve(n.from);for(;r.parent&&r.parent.from==r.from;)r=r.parent;if(XKe(r,t))break;n=this.state.doc.lineAt(r.from)}return this.lineIndent(n.from)}continue(){return _ge(this.context.next,this.base,this.pos)}}function XKe(e,t){for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}function KKe(e){let t=e.node,n=t.childAfter(t.from),r=t.lastChild;if(!n)return null;let i=e.options.simulateBreak,s=e.state.doc.lineAt(n.from),a=i==null||i<=s.from?s.to:Math.min(s.to,i);for(let o=n.to;;){let l=t.childAfter(o);if(!l||l==r)return null;if(!l.type.isSkipped){if(l.from>=a)return null;let c=/^ */.exec(s.text.slice(n.to-s.from))[0].length;return{from:n.from,to:n.to+c}}o=l.to}}function JKe({closing:e,align:t=!0,units:n=1}){return r=>Age(r,t,n,e)}function Age(e,t,n,r,i){let s=e.textAfter,a=s.match(/^\s*/)[0].length,o=r&&s.slice(a,a+r.length)==r||i==e.pos+a,l=t?KKe(e):null;return l?o?e.column(l.from):e.column(l.to):e.baseIndent+(o?0:e.unit*n)}const eJe=e=>e.baseIndent;function aR({except:e,units:t=1}={}){return n=>{let r=e&&e.test(n.textAfter);return n.baseIndent+(r?0:t*n.unit)}}const tJe=200;function nJe(){return Ni.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let n=e.newDoc,{head:r}=e.newSelection.main,i=n.lineAt(r);if(r>i.from+tJe)return e;let s=n.sliceString(i.from,r);if(!t.some(c=>c.test(s)))return e;let{state:a}=e,o=-1,l=[];for(let{head:c}of a.selection.ranges){let d=a.doc.lineAt(c);if(d.from==o)continue;o=d.from;let f=Mq(a,d.from);if(f==null)continue;let p=/^\s*/.exec(d.text)[0],g=zk(a,f);p!=g&&l.push({from:d.from,to:d.from+p.length,insert:g})}return l.length?[e,{changes:l,sequential:!0}]:e})}const Cge=Gn.define(),WE=new Nr;function Rge(e){let t=e.firstChild,n=e.lastChild;return t&&t.ton)continue;if(s&&o.from=t&&c.to>n&&(s=c)}}return s}function iJe(e){let t=e.lastChild;return t&&t.to==e.to&&t.type.isError}function eI(e,t,n){for(let r of e.facet(Cge)){let i=r(e,t,n);if(i)return i}return rJe(e,t,n)}function Ige(e,t){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return n>=r?void 0:{from:n,to:r}}const UD=Fr.define({map:Ige}),aA=Fr.define({map:Ige});function Dge(e){let t=[];for(let{head:n}of e.state.selection.ranges)t.some(r=>r.from<=n&&r.to>=n)||t.push(e.lineBlockAt(n));return t}const Sy=Po.define({create(){return Kn.none},update(e,t){e=e.map(t.changes);for(let n of t.effects)if(n.is(UD)&&!sJe(e,n.value.from,n.value.to)){let{preparePlaceholder:r}=t.state.facet(Mge),i=r?Kn.replace({widget:new dJe(r(t.state,n.value))}):hre;e=e.update({add:[i.range(n.value.from,n.value.to)]})}else n.is(aA)&&(e=e.update({filter:(r,i)=>n.value.from!=r||n.value.to!=i,filterFrom:n.value.from,filterTo:n.value.to}));if(t.selection){let n=!1,{head:r}=t.selection.main;e.between(r,r,(i,s)=>{ir&&(n=!0)}),n&&(e=e.update({filterFrom:r,filterTo:r,filter:(i,s)=>s<=r||i>=r}))}return e},provide:e=>Sn.decorations.from(e),toJSON(e,t){let n=[];return e.between(0,t.doc.length,(r,i)=>{n.push(r,i)}),n},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw new RangeError("Invalid JSON for fold state");let t=[];for(let n=0;n{(!i||i.from>s)&&(i={from:s,to:a})}),i}function sJe(e,t,n){let r=!1;return e.between(t,t,(i,s)=>{i==t&&s==n&&(r=!0)}),r}function Nge(e,t){return e.field(Sy,!1)?t:t.concat(Fr.appendConfig.of(Fge()))}const Pge=e=>{for(let t of Dge(e)){let n=eI(e.state,t.from,t.to);if(n)return e.dispatch({effects:Nge(e.state,[UD.of(n),Lge(e,n)])}),!0}return!1},aJe=e=>{if(!e.state.field(Sy,!1))return!1;let t=[];for(let n of Dge(e)){let r=tI(e.state,n.from,n.to);r&&t.push(aA.of(r),Lge(e,r,!1))}return t.length&&e.dispatch({effects:t}),t.length>0};function Lge(e,t,n=!0){let r=e.state.doc.lineAt(t.from).number,i=e.state.doc.lineAt(t.to).number;return Sn.announce.of(`${e.state.phrase(n?"Folded lines":"Unfolded lines")} ${r} ${e.state.phrase("to")} ${i}.`)}const oJe=e=>{let{state:t}=e,n=[];for(let r=0;r{let t=e.state.field(Sy,!1);if(!t||!t.size)return!1;let n=[];return t.between(0,e.state.doc.length,(r,i)=>{n.push(aA.of({from:r,to:i}))}),e.dispatch({effects:n}),!0},uJe=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:Pge},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:aJe},{key:"Ctrl-Alt-[",run:oJe},{key:"Ctrl-Alt-]",run:lJe}],cJe={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},Mge=Gn.define({combine(e){return Fp(e,cJe)}});function Fge(e){return[Sy,pJe]}function $ge(e,t){let{state:n}=e,r=n.facet(Mge),i=a=>{let o=e.lineBlockAt(e.posAtDOM(a.target)),l=tI(e.state,o.from,o.to);l&&e.dispatch({effects:aA.of(l)}),a.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(e,i,t);let s=document.createElement("span");return s.textContent=r.placeholderText,s.setAttribute("aria-label",n.phrase("folded code")),s.title=n.phrase("unfold"),s.className="cm-foldPlaceholder",s.onclick=i,s}const hre=Kn.replace({widget:new class extends Sh{toDOM(e){return $ge(e,null)}}});class dJe extends Sh{constructor(t){super(),this.value=t}eq(t){return this.value==t.value}toDOM(t){return $ge(t,this.value)}}const fJe={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class JP extends Sm{constructor(t,n){super(),this.config=t,this.open=n}eq(t){return this.config==t.config&&this.open==t.open}toDOM(t){if(this.config.markerDOM)return this.config.markerDOM(this.open);let n=document.createElement("span");return n.textContent=this.open?this.config.openText:this.config.closedText,n.title=t.state.phrase(this.open?"Fold line":"Unfold line"),n}}function hJe(e={}){let t=Object.assign(Object.assign({},fJe),e),n=new JP(t,!0),r=new JP(t,!1),i=pa.fromClass(class{constructor(a){this.from=a.viewport.from,this.markers=this.buildMarkers(a)}update(a){(a.docChanged||a.viewportChanged||a.startState.facet(p1)!=a.state.facet(p1)||a.startState.field(Sy,!1)!=a.state.field(Sy,!1)||Hs(a.startState)!=Hs(a.state)||t.foldingChanged(a))&&(this.markers=this.buildMarkers(a.view))}buildMarkers(a){let o=new gm;for(let l of a.viewportLineBlocks){let c=tI(a.state,l.from,l.to)?r:eI(a.state,l.from,l.to)?n:null;c&&o.add(l.from,l.from,c)}return o.finish()}}),{domEventHandlers:s}=t;return[i,hKe({class:"cm-foldGutter",markers(a){var o;return((o=a.plugin(i))===null||o===void 0?void 0:o.markers)||Ci.empty},initialSpacer(){return new JP(t,!1)},domEventHandlers:Object.assign(Object.assign({},s),{click:(a,o,l)=>{if(s.click&&s.click(a,o,l))return!0;let c=tI(a.state,o.from,o.to);if(c)return a.dispatch({effects:aA.of(c)}),!0;let d=eI(a.state,o.from,o.to);return d?(a.dispatch({effects:UD.of(d)}),!0):!1}})}),Fge()]}const pJe=Sn.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class oA{constructor(t,n){this.specs=t;let r;function i(o){let l=c1.newName();return(r||(r=Object.create(null)))["."+l]=o,l}const s=typeof n.all=="string"?n.all:n.all?i(n.all):void 0,a=n.scope;this.scope=a instanceof td?o=>o.prop(Ab)==a.data:a?o=>o==a:void 0,this.style=xge(t.map(o=>({tag:o.tag,class:o.class||i(Object.assign({},o,{tag:null}))})),{all:s}).style,this.module=r?new c1(r):null,this.themeType=n.themeType}static define(t,n){return new oA(t,n||{})}}const EF=Gn.define(),Bge=Gn.define({combine(e){return e.length?[e[0]]:null}});function eL(e){let t=e.facet(EF);return t.length?t:e.facet(Bge)}function Uge(e,t){let n=[gJe],r;return e instanceof oA&&(e.module&&n.push(Sn.styleModule.of(e.module)),r=e.themeType),t!=null&&t.fallback?n.push(Bge.of(e)):r?n.push(EF.computeN([Sn.darkTheme],i=>i.facet(Sn.darkTheme)==(r=="dark")?[e]:[])):n.push(EF.of(e)),n}class mJe{constructor(t){this.markCache=Object.create(null),this.tree=Hs(t.state),this.decorations=this.buildDeco(t,eL(t.state)),this.decoratedTo=t.viewport.to}update(t){let n=Hs(t.state),r=eL(t.state),i=r!=eL(t.startState),{viewport:s}=t.view,a=t.changes.mapPos(this.decoratedTo,1);n.length=s.to?(this.decorations=this.decorations.map(t.changes),this.decoratedTo=a):(n!=this.tree||t.viewportChanged||i)&&(this.tree=n,this.decorations=this.buildDeco(t.view,r),this.decoratedTo=s.to)}buildDeco(t,n){if(!n||!this.tree.length)return Kn.none;let r=new gm;for(let{from:i,to:s}of t.visibleRanges)zKe(this.tree,n,(a,o,l)=>{r.add(a,o,this.markCache[l]||(this.markCache[l]=Kn.mark({class:l})))},i,s);return r.finish()}}const gJe=Lp.high(pa.fromClass(mJe,{decorations:e=>e.decorations})),bJe=oA.define([{tag:ze.meta,color:"#404740"},{tag:ze.link,textDecoration:"underline"},{tag:ze.heading,textDecoration:"underline",fontWeight:"bold"},{tag:ze.emphasis,fontStyle:"italic"},{tag:ze.strong,fontWeight:"bold"},{tag:ze.strikethrough,textDecoration:"line-through"},{tag:ze.keyword,color:"#708"},{tag:[ze.atom,ze.bool,ze.url,ze.contentSeparator,ze.labelName],color:"#219"},{tag:[ze.literal,ze.inserted],color:"#164"},{tag:[ze.string,ze.deleted],color:"#a11"},{tag:[ze.regexp,ze.escape,ze.special(ze.string)],color:"#e40"},{tag:ze.definition(ze.variableName),color:"#00f"},{tag:ze.local(ze.variableName),color:"#30a"},{tag:[ze.typeName,ze.namespace],color:"#085"},{tag:ze.className,color:"#167"},{tag:[ze.special(ze.variableName),ze.macroName],color:"#256"},{tag:ze.definition(ze.propertyName),color:"#00c"},{tag:ze.comment,color:"#940"},{tag:ze.invalid,color:"#f00"}]),yJe=Sn.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),zge=1e4,Hge="()[]{}",qge=Gn.define({combine(e){return Fp(e,{afterCursor:!0,brackets:Hge,maxScanDistance:zge,renderMatch:OJe})}}),vJe=Kn.mark({class:"cm-matchingBracket"}),SJe=Kn.mark({class:"cm-nonmatchingBracket"});function OJe(e){let t=[],n=e.matched?vJe:SJe;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),t}const EJe=Po.define({create(){return Kn.none},update(e,t){if(!t.docChanged&&!t.selection)return e;let n=[],r=t.state.facet(qge);for(let i of t.state.selection.ranges){if(!i.empty)continue;let s=tf(t.state,i.head,-1,r)||i.head>0&&tf(t.state,i.head-1,1,r)||r.afterCursor&&(tf(t.state,i.head,1,r)||i.headSn.decorations.from(e)}),wJe=[EJe,yJe];function xJe(e={}){return[qge.of(e),wJe]}const jge=new Nr;function wF(e,t,n){let r=e.prop(t<0?Nr.openedBy:Nr.closedBy);if(r)return r;if(e.name.length==1){let i=n.indexOf(e.name);if(i>-1&&i%2==(t<0?1:0))return[n[i+t]]}return null}function xF(e){let t=e.type.prop(jge);return t?t(e.node):e}function tf(e,t,n,r={}){let i=r.maxScanDistance||zge,s=r.brackets||Hge,a=Hs(e),o=a.resolveInner(t,n);for(let l=o;l;l=l.parent){let c=wF(l.type,n,s);if(c&&l.from0?t>=d.from&&td.from&&t<=d.to))return TJe(e,t,n,l,d,c,s)}}return kJe(e,t,n,a,o.type,i,s)}function TJe(e,t,n,r,i,s,a){let o=r.parent,l={from:i.from,to:i.to},c=0,d=o==null?void 0:o.cursor();if(d&&(n<0?d.childBefore(r.from):d.childAfter(r.to)))do if(n<0?d.to<=r.from:d.from>=r.to){if(c==0&&s.indexOf(d.type.name)>-1&&d.from0)return null;let c={from:n<0?t-1:t,to:n>0?t+1:t},d=e.doc.iterRange(t,n>0?e.doc.length:0),f=0;for(let p=0;!d.next().done&&p<=s;){let g=d.value;n<0&&(p+=g.length);let b=t+p*n;for(let w=n>0?0:g.length-1,x=n>0?g.length:-1;w!=x;w+=n){let T=a.indexOf(g[w]);if(!(T<0||r.resolveInner(b+w,1).type!=i))if(T%2==0==n>0)f++;else{if(f==1)return{start:c,end:{from:b+w,to:b+w+1},matched:T>>1==l>>1};f--}}n>0&&(p+=g.length)}return d.done?{start:c,matched:!1}:null}function pre(e,t,n,r=0,i=0){t==null&&(t=e.search(/[^\s\u00a0]/),t==-1&&(t=e.length));let s=i;for(let a=r;a=this.string.length}sol(){return this.pos==0}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.posn}eatSpace(){let t=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>t}skipToEnd(){this.pos=this.string.length}skipTo(t){let n=this.string.indexOf(t,this.pos);if(n>-1)return this.pos=n,!0}backUp(t){this.pos-=t}column(){return this.lastColumnPosr?a.toLowerCase():a,s=this.string.substr(this.pos,t.length);return i(s)==i(t)?(n!==!1&&(this.pos+=t.length),!0):null}else{let i=this.string.slice(this.pos).match(t);return i&&i.index>0?null:(i&&n!==!1&&(this.pos+=i[0].length),i)}}current(){return this.string.slice(this.start,this.pos)}}const AJe=Object.create(null),mre=[Do.none],gre=[],bre=Object.create(null),CJe=Object.create(null);for(let[e,t]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])CJe[e]=RJe(AJe,t);function tL(e,t){gre.indexOf(e)>-1||(gre.push(e),console.warn(t))}function RJe(e,t){let n=[];for(let o of t.split(" ")){let l=[];for(let c of o.split(".")){let d=e[c]||ze[c];d?typeof d=="function"?l.length?l=l.map(d):tL(c,`Modifier ${c} used at start of tag`):l.length?tL(c,`Tag ${c} used as modifier`):l=Array.isArray(d)?d:[d]:tL(c,`Unknown highlighting tag ${c}`)}for(let c of l)n.push(c)}if(!n.length)return 0;let r=t.replace(/ /g,"_"),i=r+" "+n.map(o=>o.id),s=bre[i];if(s)return s.id;let a=bre[i]=Do.define({id:mre.length,name:r,props:[jE({[r]:n})]});return mre.push(a),a.id}Us.RTL,Us.LTR;const IJe=e=>{let t=Bq(e.state);return t.line?DJe(e):t.block?PJe(e):!1};function $q(e,t){return({state:n,dispatch:r})=>{if(n.readOnly)return!1;let i=e(t,n);return i?(r(n.update(i)),!0):!1}}const DJe=$q(FJe,0),NJe=$q(Wge,0),PJe=$q((e,t)=>Wge(e,t,MJe(t)),0);function Bq(e,t=e.selection.main.head){let n=e.languageDataAt("commentTokens",t);return n.length?n[0]:{}}const ww=50;function LJe(e,{open:t,close:n},r,i){let s=e.sliceDoc(r-ww,r),a=e.sliceDoc(i,i+ww),o=/\s*$/.exec(s)[0].length,l=/^\s*/.exec(a)[0].length,c=s.length-o;if(s.slice(c-t.length,c)==t&&a.slice(l,l+n.length)==n)return{open:{pos:r-o,margin:o&&1},close:{pos:i+l,margin:l&&1}};let d,f;i-r<=2*ww?d=f=e.sliceDoc(r,i):(d=e.sliceDoc(r,r+ww),f=e.sliceDoc(i-ww,i));let p=/^\s*/.exec(d)[0].length,g=/\s*$/.exec(f)[0].length,b=f.length-g-n.length;return d.slice(p,p+t.length)==t&&f.slice(b,b+n.length)==n?{open:{pos:r+p+t.length,margin:/\s/.test(d.charAt(p+t.length))?1:0},close:{pos:i-g-n.length,margin:/\s/.test(f.charAt(b-1))?1:0}}:null}function MJe(e){let t=[];for(let n of e.selection.ranges){let r=e.doc.lineAt(n.from),i=n.to<=r.to?r:e.doc.lineAt(n.to),s=t.length-1;s>=0&&t[s].to>r.from?t[s].to=i.to:t.push({from:r.from,to:i.to})}return t}function Wge(e,t,n=t.selection.ranges){let r=n.map(s=>Bq(t,s.from).block);if(!r.every(s=>s))return null;let i=n.map((s,a)=>LJe(t,r[a],s.from,s.to));if(e!=2&&!i.every(s=>s))return{changes:t.changes(n.map((s,a)=>i[a]?[]:[{from:s.from,insert:r[a].open+" "},{from:s.to,insert:" "+r[a].close}]))};if(e!=1&&i.some(s=>s)){let s=[];for(let a=0,o;ai&&(s==a||a>d.from)){i=d.from;let f=Bq(t,c).line;if(!f)continue;let p=/^\s*/.exec(d.text)[0].length,g=p==d.length,b=d.text.slice(p,p+f.length)==f?p:-1;ps.comment<0&&(!s.empty||s.single))){let s=[];for(let{line:o,token:l,indent:c,empty:d,single:f}of r)(f||!d)&&s.push({from:o.from+c,insert:l+" "});let a=t.changes(s);return{changes:a,selection:t.selection.map(a,1)}}else if(e!=1&&r.some(s=>s.comment>=0)){let s=[];for(let{line:a,comment:o,token:l}of r)if(o>=0){let c=a.from+o,d=c+l.length;a.text[d-a.from]==" "&&d++,s.push({from:c,to:d})}return{changes:s}}return null}const TF=Mp.define(),$Je=Mp.define(),BJe=Gn.define(),Qge=Gn.define({combine(e){return Fp(e,{minDepth:100,newGroupDelay:500},{minDepth:Math.max,newGroupDelay:Math.min})}});function UJe(e){let t=0;return e.iterChangedRanges((n,r)=>t=r),t}const Vge=Po.define({create(){return pp.empty},update(e,t){let n=t.state.facet(Qge),r=t.annotation(TF);if(r){let l=t.docChanged?Bt.single(UJe(t.changes)):void 0,c=tc.fromTransaction(t,l),d=r.side,f=d==0?e.undone:e.done;return c?f=rI(f,f.length,n.minDepth,c):f=Yge(f,t.startState.selection),new pp(d==0?r.rest:f,d==0?f:r.rest)}let i=t.annotation($Je);if((i=="full"||i=="before")&&(e=e.isolate()),t.annotation(da.addToHistory)===!1)return t.changes.empty?e:e.addMapping(t.changes.desc);let s=tc.fromTransaction(t),a=t.annotation(da.time),o=t.annotation(da.userEvent);return s?e=e.addChanges(s,a,o,n.newGroupDelay,n.minDepth):t.selection&&(e=e.addSelection(t.startState.selection,a,o,n.newGroupDelay)),(i=="full"||i=="after")&&(e=e.isolate()),e},toJSON(e){return{done:e.done.map(t=>t.toJSON()),undone:e.undone.map(t=>t.toJSON())}},fromJSON(e){return new pp(e.done.map(tc.fromJSON),e.undone.map(tc.fromJSON))}});function zJe(e={}){return[Vge,Qge.of(e),Sn.domEventHandlers({beforeinput(t,n){let r=t.inputType=="historyUndo"?Uq:t.inputType=="historyRedo"?nI:null;return r?(t.preventDefault(),r(n)):!1}})]}function zD(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return!1;let i=n.field(Vge,!1);if(!i)return!1;let s=i.pop(e,n,t);return s?(r(s),!0):!1}}const Uq=zD(0,!1),nI=zD(1,!1),HJe=zD(0,!0),qJe=zD(1,!0);class tc{constructor(t,n,r,i,s){this.changes=t,this.effects=n,this.mapped=r,this.startSelection=i,this.selectionsAfter=s}setSelAfter(t){return new tc(this.changes,this.effects,this.mapped,this.startSelection,t)}toJSON(){var t,n,r;return{changes:(t=this.changes)===null||t===void 0?void 0:t.toJSON(),mapped:(n=this.mapped)===null||n===void 0?void 0:n.toJSON(),startSelection:(r=this.startSelection)===null||r===void 0?void 0:r.toJSON(),selectionsAfter:this.selectionsAfter.map(i=>i.toJSON())}}static fromJSON(t){return new tc(t.changes&&To.fromJSON(t.changes),[],t.mapped&&wp.fromJSON(t.mapped),t.startSelection&&Bt.fromJSON(t.startSelection),t.selectionsAfter.map(Bt.fromJSON))}static fromTransaction(t,n){let r=nf;for(let i of t.startState.facet(BJe)){let s=i(t);s.length&&(r=r.concat(s))}return!r.length&&t.changes.empty?null:new tc(t.changes.invert(t.startState.doc),r,void 0,n||t.startState.selection,nf)}static selection(t){return new tc(void 0,nf,void 0,void 0,t)}}function rI(e,t,n,r){let i=t+1>n+20?t-n-1:0,s=e.slice(i,t);return s.push(r),s}function jJe(e,t){let n=[],r=!1;return e.iterChangedRanges((i,s)=>n.push(i,s)),t.iterChangedRanges((i,s,a,o)=>{for(let l=0;l=c&&a<=d&&(r=!0)}}),r}function WJe(e,t){return e.ranges.length==t.ranges.length&&e.ranges.filter((n,r)=>n.empty!=t.ranges[r].empty).length===0}function Gge(e,t){return e.length?t.length?e.concat(t):e:t}const nf=[],QJe=200;function Yge(e,t){if(e.length){let n=e[e.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-QJe));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),rI(e,e.length-1,1e9,n.setSelAfter(r)))}else return[tc.selection([t])]}function VJe(e){let t=e[e.length-1],n=e.slice();return n[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),n}function nL(e,t){if(!e.length)return e;let n=e.length,r=nf;for(;n;){let i=GJe(e[n-1],t,r);if(i.changes&&!i.changes.empty||i.effects.length){let s=e.slice(0,n);return s[n-1]=i,s}else t=i.mapped,n--,r=i.selectionsAfter}return r.length?[tc.selection(r)]:nf}function GJe(e,t,n){let r=Gge(e.selectionsAfter.length?e.selectionsAfter.map(o=>o.map(t)):nf,n);if(!e.changes)return tc.selection(r);let i=e.changes.map(t),s=t.mapDesc(e.changes,!0),a=e.mapped?e.mapped.composeDesc(s):s;return new tc(i,Fr.mapEffects(e.effects,t),a,e.startSelection.map(s),r)}const YJe=/^(input\.type|delete)($|\.)/;class pp{constructor(t,n,r=0,i=void 0){this.done=t,this.undone=n,this.prevTime=r,this.prevUserEvent=i}isolate(){return this.prevTime?new pp(this.done,this.undone):this}addChanges(t,n,r,i,s){let a=this.done,o=a[a.length-1];return o&&o.changes&&!o.changes.empty&&t.changes&&(!r||YJe.test(r))&&(!o.selectionsAfter.length&&n-this.prevTime0&&n-this.prevTimen.empty?e.moveByChar(n,t):HD(n,t))}function Yl(e){return e.textDirectionAt(e.state.selection.main.head)==Us.LTR}const Hq=e=>zq(e,!Yl(e)),Zge=e=>zq(e,Yl(e)),XJe=e=>zq(e,!1);function Xge(e,t){return Oh(e,n=>n.empty?e.moveByGroup(n,t):HD(n,t))}const KJe=e=>Xge(e,!Yl(e)),JJe=e=>Xge(e,Yl(e));function eet(e,t,n){if(t.type.prop(n))return!0;let r=t.to-t.from;return r&&(r>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}function qD(e,t,n){let r=Hs(e).resolveInner(t.head),i=n?Nr.closedBy:Nr.openedBy;for(let l=t.head;;){let c=n?r.childAfter(l):r.childBefore(l);if(!c)break;eet(e,c,i)?r=c:l=n?c.to:c.from}let s=r.type.prop(i),a,o;return s&&(a=n?tf(e,r.from,1):tf(e,r.to,-1))&&a.matched?o=n?a.end.to:a.end.from:o=n?r.to:r.from,Bt.cursor(o,n?-1:1)}const tet=e=>Oh(e,t=>qD(e.state,t,!Yl(e))),net=e=>Oh(e,t=>qD(e.state,t,Yl(e)));function Kge(e,t){return Oh(e,n=>{if(!n.empty)return HD(n,t);let r=e.moveVertically(n,t);return r.head!=n.head?r:e.moveToLineBoundary(n,t)})}const Jge=e=>Kge(e,!1),e1e=e=>Kge(e,!0);function t1e(e){return Math.max(e.defaultLineHeight,Math.min(e.dom.clientHeight,innerHeight)-5)}function n1e(e,t){let{state:n}=e,r=QE(n.selection,o=>o.empty?e.moveVertically(o,t,t1e(e)):HD(o,t));if(r.eq(n.selection))return!1;let i=e.coordsAtPos(n.selection.main.head),s=e.scrollDOM.getBoundingClientRect(),a;return i&&i.top>s.top&&i.bottomn1e(e,!1),kF=e=>n1e(e,!0);function _1(e,t,n){let r=e.lineBlockAt(t.head),i=e.moveToLineBoundary(t,n);if(i.head==t.head&&i.head!=(n?r.to:r.from)&&(i=e.moveToLineBoundary(t,n,!1)),!n&&i.head==r.from&&r.length){let s=/^\s*/.exec(e.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;s&&t.head!=r.from+s&&(i=Bt.cursor(r.from+s))}return i}const r1e=e=>Oh(e,t=>_1(e,t,!0)),i1e=e=>Oh(e,t=>_1(e,t,!1)),ret=e=>Oh(e,t=>_1(e,t,!Yl(e))),iet=e=>Oh(e,t=>_1(e,t,Yl(e))),set=e=>Oh(e,t=>Bt.cursor(e.lineBlockAt(t.head).from,1)),aet=e=>Oh(e,t=>Bt.cursor(e.lineBlockAt(t.head).to,-1));function oet(e,t,n){let r=!1,i=QE(e.selection,s=>{let a=tf(e,s.head,-1)||tf(e,s.head,1)||s.head>0&&tf(e,s.head-1,1)||s.headoet(e,t);function wf(e,t){let n=QE(e.state.selection,r=>{let i=t(r);return Bt.range(r.anchor,i.head,i.goalColumn)});return n.eq(e.state.selection)?!1:(e.dispatch($p(e.state,n)),!0)}function s1e(e,t){return wf(e,n=>e.moveByChar(n,t))}const a1e=e=>s1e(e,!Yl(e)),o1e=e=>s1e(e,Yl(e));function l1e(e,t){return wf(e,n=>e.moveByGroup(n,t))}const cet=e=>l1e(e,!Yl(e)),det=e=>l1e(e,Yl(e)),fet=e=>wf(e,t=>qD(e.state,t,!Yl(e))),het=e=>wf(e,t=>qD(e.state,t,Yl(e)));function u1e(e,t){return wf(e,n=>e.moveVertically(n,t))}const c1e=e=>u1e(e,!1),d1e=e=>u1e(e,!0);function f1e(e,t){return wf(e,n=>e.moveVertically(n,t,t1e(e)))}const vre=e=>f1e(e,!1),Sre=e=>f1e(e,!0),pet=e=>wf(e,t=>_1(e,t,!0)),met=e=>wf(e,t=>_1(e,t,!1)),get=e=>wf(e,t=>_1(e,t,!Yl(e))),bet=e=>wf(e,t=>_1(e,t,Yl(e))),yet=e=>wf(e,t=>Bt.cursor(e.lineBlockAt(t.head).from)),vet=e=>wf(e,t=>Bt.cursor(e.lineBlockAt(t.head).to)),Ore=({state:e,dispatch:t})=>(t($p(e,{anchor:0})),!0),Ere=({state:e,dispatch:t})=>(t($p(e,{anchor:e.doc.length})),!0),wre=({state:e,dispatch:t})=>(t($p(e,{anchor:e.selection.main.anchor,head:0})),!0),xre=({state:e,dispatch:t})=>(t($p(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0),Oet=({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0),Eet=({state:e,dispatch:t})=>{let n=WD(e).map(({from:r,to:i})=>Bt.range(r,Math.min(i+1,e.doc.length)));return t(e.update({selection:Bt.create(n),userEvent:"select"})),!0},wet=({state:e,dispatch:t})=>{let n=QE(e.selection,r=>{var i;let s=Hs(e).resolveInner(r.head,1);for(;!(s.from=r.to||s.to>r.to&&s.from<=r.from||!(!((i=s.parent)===null||i===void 0)&&i.parent));)s=s.parent;return Bt.range(s.to,s.from)});return t($p(e,n)),!0},xet=({state:e,dispatch:t})=>{let n=e.selection,r=null;return n.ranges.length>1?r=Bt.create([n.main]):n.main.empty||(r=Bt.create([Bt.cursor(n.main.head)])),r?(t($p(e,r)),!0):!1};function jD(e,t){if(e.state.readOnly)return!1;let n="delete.selection",{state:r}=e,i=r.changeByRange(s=>{let{from:a,to:o}=s;if(a==o){let l=t(a);la&&(n="delete.forward",l=V4(e,l,!0)),a=Math.min(a,l),o=Math.max(o,l)}else a=V4(e,a,!1),o=V4(e,o,!0);return a==o?{range:s}:{changes:{from:a,to:o},range:Bt.cursor(a)}});return i.changes.empty?!1:(e.dispatch(r.update(i,{scrollIntoView:!0,userEvent:n,effects:n=="delete.selection"?Sn.announce.of(r.phrase("Selection deleted")):void 0})),!0)}function V4(e,t,n){if(e instanceof Sn)for(let r of e.state.facet(Sn.atomicRanges).map(i=>i(e)))r.between(t,t,(i,s)=>{it&&(t=n?s:i)});return t}const h1e=(e,t)=>jD(e,n=>{let{state:r}=e,i=r.doc.lineAt(n),s,a;if(!t&&n>i.from&&nh1e(e,!1),p1e=e=>h1e(e,!0),m1e=(e,t)=>jD(e,n=>{let r=n,{state:i}=e,s=i.doc.lineAt(r),a=i.charCategorizer(r);for(let o=null;;){if(r==(t?s.to:s.from)){r==n&&s.number!=(t?i.doc.lines:1)&&(r+=t?1:-1);break}let l=ql(s.text,r-s.from,t)+s.from,c=s.text.slice(Math.min(r,l)-s.from,Math.max(r,l)-s.from),d=a(c);if(o!=null&&d!=o)break;(c!=" "||r!=n)&&(o=d),r=l}return r}),g1e=e=>m1e(e,!1),Tet=e=>m1e(e,!0),b1e=e=>jD(e,t=>{let n=e.lineBlockAt(t).to;return tjD(e,t=>{let n=e.lineBlockAt(t).from;return t>n?n:Math.max(0,t-1)}),_et=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(r=>({changes:{from:r.from,to:r.to,insert:Oi.of(["",""])},range:Bt.cursor(r.from)}));return t(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0},Aet=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(r=>{if(!r.empty||r.from==0||r.from==e.doc.length)return{range:r};let i=r.from,s=e.doc.lineAt(i),a=i==s.from?i-1:ql(s.text,i-s.from,!1)+s.from,o=i==s.to?i+1:ql(s.text,i-s.from,!0)+s.from;return{changes:{from:a,to:o,insert:e.doc.slice(i,o).append(e.doc.slice(a,i))},range:Bt.cursor(o)}});return n.changes.empty?!1:(t(e.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function WD(e){let t=[],n=-1;for(let r of e.selection.ranges){let i=e.doc.lineAt(r.from),s=e.doc.lineAt(r.to);if(!r.empty&&r.to==s.from&&(s=e.doc.lineAt(r.to-1)),n>=i.number){let a=t[t.length-1];a.to=s.to,a.ranges.push(r)}else t.push({from:i.from,to:s.to,ranges:[r]});n=s.number+1}return t}function y1e(e,t,n){if(e.readOnly)return!1;let r=[],i=[];for(let s of WD(e)){if(n?s.to==e.doc.length:s.from==0)continue;let a=e.doc.lineAt(n?s.to+1:s.from-1),o=a.length+1;if(n){r.push({from:s.to,to:a.to},{from:s.from,insert:a.text+e.lineBreak});for(let l of s.ranges)i.push(Bt.range(Math.min(e.doc.length,l.anchor+o),Math.min(e.doc.length,l.head+o)))}else{r.push({from:a.from,to:s.from},{from:s.to,insert:e.lineBreak+a.text});for(let l of s.ranges)i.push(Bt.range(l.anchor-o,l.head-o))}}return r.length?(t(e.update({changes:r,scrollIntoView:!0,selection:Bt.create(i,e.selection.mainIndex),userEvent:"move.line"})),!0):!1}const Cet=({state:e,dispatch:t})=>y1e(e,t,!1),Ret=({state:e,dispatch:t})=>y1e(e,t,!0);function v1e(e,t,n){if(e.readOnly)return!1;let r=[];for(let i of WD(e))n?r.push({from:i.from,insert:e.doc.slice(i.from,i.to)+e.lineBreak}):r.push({from:i.to,insert:e.lineBreak+e.doc.slice(i.from,i.to)});return t(e.update({changes:r,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const Iet=({state:e,dispatch:t})=>v1e(e,t,!1),Det=({state:e,dispatch:t})=>v1e(e,t,!0),Net=e=>{if(e.state.readOnly)return!1;let{state:t}=e,n=t.changes(WD(t).map(({from:i,to:s})=>(i>0?i--:se.moveVertically(i,!0)).map(n);return e.dispatch({changes:n,selection:r,scrollIntoView:!0,userEvent:"delete.line"}),!0};function Pet(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n=Hs(e).resolveInner(t),r=n.childBefore(t),i=n.childAfter(t),s;return r&&i&&r.to<=t&&i.from>=t&&(s=r.type.prop(Nr.closedBy))&&s.indexOf(i.name)>-1&&e.doc.lineAt(r.to).from==e.doc.lineAt(i.from).from?{from:r.to,to:i.from}:null}const S1e=O1e(!1),Let=O1e(!0);function O1e(e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let r=t.changeByRange(i=>{let{from:s,to:a}=i,o=t.doc.lineAt(s),l=!e&&s==a&&Pet(t,s);e&&(s=a=(a<=o.to?o:t.doc.lineAt(a)).to);let c=new BD(t,{simulateBreak:s,simulateDoubleBreak:!!l}),d=Mq(c,s);for(d==null&&(d=/^\s*/.exec(t.doc.lineAt(s).text)[0].length);ao.from&&s{let i=[];for(let a=r.from;a<=r.to;){let o=e.doc.lineAt(a);o.number>n&&(r.empty||r.to>o.from)&&(t(o,i,r),n=o.number),a=o.to+1}let s=e.changes(i);return{changes:i,range:Bt.range(s.mapPos(r.anchor,1),s.mapPos(r.head,1))}})}const E1e=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=Object.create(null),r=new BD(e,{overrideIndentation:s=>{let a=n[s];return a??-1}}),i=qq(e,(s,a,o)=>{let l=Mq(r,s.from);if(l==null)return;/\S/.test(s.text)||(l=0);let c=/^\s*/.exec(s.text)[0],d=zk(e,l);(c!=d||o.frome.readOnly?!1:(t(e.update(qq(e,(n,r)=>{r.push({from:n.from,insert:e.facet(m1)})}),{userEvent:"input.indent"})),!0),Wq=({state:e,dispatch:t})=>e.readOnly?!1:(t(e.update(qq(e,(n,r)=>{let i=/^\s*/.exec(n.text)[0];if(!i)return;let s=_p(i,e.tabSize),a=0,o=zk(e,Math.max(0,s-J5(e)));for(;a({mac:e.key,run:e.run,shift:e.shift}))),$et=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:tet,shift:fet},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:net,shift:het},{key:"Alt-ArrowUp",run:Cet},{key:"Shift-Alt-ArrowUp",run:Iet},{key:"Alt-ArrowDown",run:Ret},{key:"Shift-Alt-ArrowDown",run:Det},{key:"Escape",run:xet},{key:"Mod-Enter",run:Let},{key:"Alt-l",mac:"Ctrl-l",run:Eet},{key:"Mod-i",run:wet,preventDefault:!0},{key:"Mod-[",run:Wq},{key:"Mod-]",run:jq},{key:"Mod-Alt-\\",run:E1e},{key:"Shift-Mod-k",run:Net},{key:"Shift-Mod-\\",run:uet},{key:"Mod-/",run:IJe},{key:"Alt-A",run:NJe}].concat(Fet),Bet={key:"Tab",run:jq,shift:Wq};function Ms(){var e=arguments[0];typeof e=="string"&&(e=document.createElement(e));var t=1,n=arguments[1];if(n&&typeof n=="object"&&n.nodeType==null&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r];typeof i=="string"?e.setAttribute(r,i):i!=null&&(e[r]=i)}t++}for(;te.normalize("NFKD"):e=>e;class aE{constructor(t,n,r=0,i=t.length,s,a){this.test=a,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=t.iterRange(r,i),this.bufferStart=r,this.normalize=s?o=>s(Tre(o)):Tre,this.query=this.normalize(n)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return pl(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let t=this.peek();if(t<0)return this.done=!0,this;let n=bq(t),r=this.bufferStart+this.bufferPos;this.bufferPos+=Xd(t);let i=this.normalize(n);for(let s=0,a=r;;s++){let o=i.charCodeAt(s),l=this.match(o,a,this.bufferPos+this.bufferStart);if(s==i.length-1){if(l)return this.value=l,this;break}a==r&&sthis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let t=this.matchPos-this.curLineStart;;){this.re.lastIndex=t;let n=this.matchPos<=this.to&&this.re.exec(this.curLine);if(n){let r=this.curLineStart+n.index,i=r+n[0].length;if(this.matchPos=iI(this.text,i+(r==i?1:0)),r==this.curLineStart+this.curLine.length&&this.nextLine(),(rthis.value.to)&&(!this.test||this.test(r,i,n)))return this.value={from:r,to:i,match:n},this;t=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length=r||i.to<=n){let o=new lO(n,t.sliceString(n,r));return rL.set(t,o),o}if(i.from==n&&i.to==r)return i;let{text:s,from:a}=i;return a>n&&(s=t.sliceString(n,a)+s,a=n),i.to=this.to?this.to:this.text.lineAt(t).to}next(){for(;;){let t=this.re.lastIndex=this.matchPos-this.flat.from,n=this.re.exec(this.flat.text);if(n&&!n[0]&&n.index==t&&(this.re.lastIndex=t+1,n=this.re.exec(this.flat.text)),n){let r=this.flat.from+n.index,i=r+n[0].length;if((this.flat.to>=this.to||n.index+n[0].length<=this.flat.text.length-10)&&(!this.test||this.test(r,i,n)))return this.value={from:r,to:i,match:n},this.matchPos=iI(this.text,i+(r==i?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=lO.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(Vq.prototype[Symbol.iterator]=T1e.prototype[Symbol.iterator]=function(){return this});function Uet(e){try{return new RegExp(e,Qq),!0}catch{return!1}}function iI(e,t){if(t>=e.length)return t;let n=e.lineAt(t),r;for(;t=56320&&r<57344;)t++;return t}function AF(e){let t=String(e.state.doc.lineAt(e.state.selection.main.head).number),n=Ms("input",{class:"cm-textfield",name:"line",value:t}),r=Ms("form",{class:"cm-gotoLine",onkeydown:s=>{s.keyCode==27?(s.preventDefault(),e.dispatch({effects:sI.of(!1)}),e.focus()):s.keyCode==13&&(s.preventDefault(),i())},onsubmit:s=>{s.preventDefault(),i()}},Ms("label",e.state.phrase("Go to line"),": ",n)," ",Ms("button",{class:"cm-button",type:"submit"},e.state.phrase("go")));function i(){let s=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(n.value);if(!s)return;let{state:a}=e,o=a.doc.lineAt(a.selection.main.head),[,l,c,d,f]=s,p=d?+d.slice(1):0,g=c?+c:o.number;if(c&&f){let x=g/100;l&&(x=x*(l=="-"?-1:1)+o.number/a.doc.lines),g=Math.round(a.doc.lines*x)}else c&&l&&(g=g*(l=="-"?-1:1)+o.number);let b=a.doc.line(Math.max(1,Math.min(a.doc.lines,g))),w=Bt.cursor(b.from+Math.max(0,Math.min(p,b.length)));e.dispatch({effects:[sI.of(!1),Sn.scrollIntoView(w.from,{y:"center"})],selection:w}),e.focus()}return{dom:r}}const sI=Fr.define(),kre=Po.define({create(){return!0},update(e,t){for(let n of t.effects)n.is(sI)&&(e=n.value);return e},provide:e=>vy.from(e,t=>t?AF:null)}),zet=e=>{let t=Mk(e,AF);if(!t){let n=[sI.of(!0)];e.state.field(kre,!1)==null&&n.push(Fr.appendConfig.of([kre,Het])),e.dispatch({effects:n}),t=Mk(e,AF)}return t&&t.dom.querySelector("input").select(),!0},Het=Sn.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),qet={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},jet=Gn.define({combine(e){return Fp(e,qet,{highlightWordAroundCursor:(t,n)=>t||n,minSelectionLength:Math.min,maxMatches:Math.min})}});function Wet(e){return[Zet,Yet]}const Qet=Kn.mark({class:"cm-selectionMatch"}),Vet=Kn.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function _re(e,t,n,r){return(n==0||e(t.sliceDoc(n-1,n))!=fa.Word)&&(r==t.doc.length||e(t.sliceDoc(r,r+1))!=fa.Word)}function Get(e,t,n,r){return e(t.sliceDoc(n,n+1))==fa.Word&&e(t.sliceDoc(r-1,r))==fa.Word}const Yet=pa.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(jet),{state:n}=e,r=n.selection;if(r.ranges.length>1)return Kn.none;let i=r.main,s,a=null;if(i.empty){if(!t.highlightWordAroundCursor)return Kn.none;let l=n.wordAt(i.head);if(!l)return Kn.none;a=n.charCategorizer(i.head),s=n.sliceDoc(l.from,l.to)}else{let l=i.to-i.from;if(l200)return Kn.none;if(t.wholeWords){if(s=n.sliceDoc(i.from,i.to),a=n.charCategorizer(i.head),!(_re(a,n,i.from,i.to)&&Get(a,n,i.from,i.to)))return Kn.none}else if(s=n.sliceDoc(i.from,i.to),!s)return Kn.none}let o=[];for(let l of e.visibleRanges){let c=new aE(n.doc,s,l.from,l.to);for(;!c.next().done;){let{from:d,to:f}=c.value;if((!a||_re(a,n,d,f))&&(i.empty&&d<=i.from&&f>=i.to?o.push(Vet.range(d,f)):(d>=i.to||f<=i.from)&&o.push(Qet.range(d,f)),o.length>t.maxMatches))return Kn.none}}return Kn.set(o)}},{decorations:e=>e.decorations}),Zet=Sn.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),Xet=({state:e,dispatch:t})=>{let{selection:n}=e,r=Bt.create(n.ranges.map(i=>e.wordAt(i.head)||Bt.cursor(i.head)),n.mainIndex);return r.eq(n)?!1:(t(e.update({selection:r})),!0)};function Ket(e,t){let{main:n,ranges:r}=e.selection,i=e.wordAt(n.head),s=i&&i.from==n.from&&i.to==n.to;for(let a=!1,o=new aE(e.doc,t,r[r.length-1].to);;)if(o.next(),o.done){if(a)return null;o=new aE(e.doc,t,0,Math.max(0,r[r.length-1].from-1)),a=!0}else{if(a&&r.some(l=>l.from==o.value.from))continue;if(s){let l=e.wordAt(o.value.from);if(!l||l.from!=o.value.from||l.to!=o.value.to)continue}return o.value}}const Jet=({state:e,dispatch:t})=>{let{ranges:n}=e.selection;if(n.some(s=>s.from===s.to))return Xet({state:e,dispatch:t});let r=e.sliceDoc(n[0].from,n[0].to);if(e.selection.ranges.some(s=>e.sliceDoc(s.from,s.to)!=r))return!1;let i=Ket(e,r);return i?(t(e.update({selection:e.selection.addRange(Bt.range(i.from,i.to),!1),effects:Sn.scrollIntoView(i.to)})),!0):!1},VE=Gn.define({combine(e){return Fp(e,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:t=>new dtt(t),scrollToMatch:t=>Sn.scrollIntoView(t)})}});class Gq{constructor(t){this.search=t.search,this.caseSensitive=!!t.caseSensitive,this.literal=!!t.literal,this.regexp=!!t.regexp,this.replace=t.replace||"",this.valid=!!this.search&&(!this.regexp||Uet(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!t.wholeWord}unquote(t){return this.literal?t:t.replace(/\\([nrt\\])/g,(n,r)=>r=="n"?` -`:r=="r"?"\r":r=="t"?" ":"\\")}eq(t){return this.search==t.search&&this.replace==t.replace&&this.caseSensitive==t.caseSensitive&&this.regexp==t.regexp&&this.wholeWord==t.wholeWord}create(){return this.regexp?new rtt(this):new ttt(this)}getCursor(t,n=0,r){let i=t.doc?t:Ni.create({doc:t});return r==null&&(r=i.doc.length),this.regexp?lS(this,i,n,r):oS(this,i,n,r)}}class k1e{constructor(t){this.spec=t}}function oS(e,t,n,r){return new aE(t.doc,e.unquoted,n,r,e.caseSensitive?void 0:i=>i.toLowerCase(),e.wholeWord?ett(t.doc,t.charCategorizer(t.selection.main.head)):void 0)}function ett(e,t){return(n,r,i,s)=>((s>n||s+i.length=n)return null;i.push(r.value)}return i}highlight(t,n,r,i){let s=oS(this.spec,t,Math.max(0,n-this.spec.unquoted.length),Math.min(r+this.spec.unquoted.length,t.doc.length));for(;!s.next().done;)i(s.value.from,s.value.to)}}function lS(e,t,n,r){return new Vq(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:e.wholeWord?ntt(t.charCategorizer(t.selection.main.head)):void 0},n,r)}function aI(e,t){return e.slice(ql(e,t,!1),t)}function oI(e,t){return e.slice(t,ql(e,t))}function ntt(e){return(t,n,r)=>!r[0].length||(e(aI(r.input,r.index))!=fa.Word||e(oI(r.input,r.index))!=fa.Word)&&(e(oI(r.input,r.index+r[0].length))!=fa.Word||e(aI(r.input,r.index+r[0].length))!=fa.Word)}class rtt extends k1e{nextMatch(t,n,r){let i=lS(this.spec,t,r,t.doc.length).next();return i.done&&(i=lS(this.spec,t,0,n).next()),i.done?null:i.value}prevMatchInRange(t,n,r){for(let i=1;;i++){let s=Math.max(n,r-i*1e4),a=lS(this.spec,t,s,r),o=null;for(;!a.next().done;)o=a.value;if(o&&(s==n||o.from>s+10))return o;if(s==n)return null}}prevMatch(t,n,r){return this.prevMatchInRange(t,0,n)||this.prevMatchInRange(t,r,t.doc.length)}getReplacement(t){return this.spec.unquote(this.spec.replace).replace(/\$([$&\d+])/g,(n,r)=>r=="$"?"$":r=="&"?t.match[0]:r!="0"&&+r=n)return null;i.push(r.value)}return i}highlight(t,n,r,i){let s=lS(this.spec,t,Math.max(0,n-250),Math.min(r+250,t.doc.length));for(;!s.next().done;)i(s.value.from,s.value.to)}}const g1=Fr.define(),Yq=Fr.define(),n1=Po.define({create(e){return new iL(CF(e).create(),null)},update(e,t){for(let n of t.effects)n.is(g1)?e=new iL(n.value.create(),e.panel):n.is(Yq)&&(e=new iL(e.query,n.value?Zq:null));return e},provide:e=>vy.from(e,t=>t.panel)});class iL{constructor(t,n){this.query=t,this.panel=n}}const itt=Kn.mark({class:"cm-searchMatch"}),stt=Kn.mark({class:"cm-searchMatch cm-searchMatch-selected"}),att=pa.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field(n1))}update(e){let t=e.state.field(n1);(t!=e.startState.field(n1)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return Kn.none;let{view:n}=this,r=new gm;for(let i=0,s=n.visibleRanges,a=s.length;is[i+1].from-2*250;)l=s[++i].to;e.highlight(n.state,o,l,(c,d)=>{let f=n.state.selection.ranges.some(p=>p.from==c&&p.to==d);r.add(c,d,f?stt:itt)})}return r.finish()}},{decorations:e=>e.decorations});function lA(e){return t=>{let n=t.state.field(n1,!1);return n&&n.query.spec.valid?e(t,n):C1e(t)}}const lI=lA((e,{query:t})=>{let{to:n}=e.state.selection.main,r=t.nextMatch(e.state,n,n);if(!r)return!1;let i=Bt.single(r.from,r.to),s=e.state.facet(VE);return e.dispatch({selection:i,effects:[Xq(e,r),s.scrollToMatch(i.main,e)],userEvent:"select.search"}),A1e(e),!0}),uI=lA((e,{query:t})=>{let{state:n}=e,{from:r}=n.selection.main,i=t.prevMatch(n,r,r);if(!i)return!1;let s=Bt.single(i.from,i.to),a=e.state.facet(VE);return e.dispatch({selection:s,effects:[Xq(e,i),a.scrollToMatch(s.main,e)],userEvent:"select.search"}),A1e(e),!0}),ott=lA((e,{query:t})=>{let n=t.matchAll(e.state,1e3);return!n||!n.length?!1:(e.dispatch({selection:Bt.create(n.map(r=>Bt.range(r.from,r.to))),userEvent:"select.search.matches"}),!0)}),ltt=({state:e,dispatch:t})=>{let n=e.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:r,to:i}=n.main,s=[],a=0;for(let o=new aE(e.doc,e.sliceDoc(r,i));!o.next().done;){if(s.length>1e3)return!1;o.value.from==r&&(a=s.length),s.push(Bt.range(o.value.from,o.value.to))}return t(e.update({selection:Bt.create(s,a),userEvent:"select.search.matches"})),!0},Are=lA((e,{query:t})=>{let{state:n}=e,{from:r,to:i}=n.selection.main;if(n.readOnly)return!1;let s=t.nextMatch(n,r,r);if(!s)return!1;let a=[],o,l,c=[];if(s.from==r&&s.to==i&&(l=n.toText(t.getReplacement(s)),a.push({from:s.from,to:s.to,insert:l}),s=t.nextMatch(n,s.from,s.to),c.push(Sn.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(r).number)+"."))),s){let d=a.length==0||a[0].from>=s.to?0:s.to-s.from-l.length;o=Bt.single(s.from-d,s.to-d),c.push(Xq(e,s)),c.push(n.facet(VE).scrollToMatch(o.main,e))}return e.dispatch({changes:a,selection:o,effects:c,userEvent:"input.replace"}),!0}),utt=lA((e,{query:t})=>{if(e.state.readOnly)return!1;let n=t.matchAll(e.state,1e9).map(i=>{let{from:s,to:a}=i;return{from:s,to:a,insert:t.getReplacement(i)}});if(!n.length)return!1;let r=e.state.phrase("replaced $ matches",n.length)+".";return e.dispatch({changes:n,effects:Sn.announce.of(r),userEvent:"input.replace.all"}),!0});function Zq(e){return e.state.facet(VE).createPanel(e)}function CF(e,t){var n,r,i,s,a;let o=e.selection.main,l=o.empty||o.to>o.from+100?"":e.sliceDoc(o.from,o.to);if(t&&!l)return t;let c=e.facet(VE);return new Gq({search:((n=t==null?void 0:t.literal)!==null&&n!==void 0?n:c.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:(r=t==null?void 0:t.caseSensitive)!==null&&r!==void 0?r:c.caseSensitive,literal:(i=t==null?void 0:t.literal)!==null&&i!==void 0?i:c.literal,regexp:(s=t==null?void 0:t.regexp)!==null&&s!==void 0?s:c.regexp,wholeWord:(a=t==null?void 0:t.wholeWord)!==null&&a!==void 0?a:c.wholeWord})}function _1e(e){let t=Mk(e,Zq);return t&&t.dom.querySelector("[main-field]")}function A1e(e){let t=_1e(e);t&&t==e.root.activeElement&&t.select()}const C1e=e=>{let t=e.state.field(n1,!1);if(t&&t.panel){let n=_1e(e);if(n&&n!=e.root.activeElement){let r=CF(e.state,t.query.spec);r.valid&&e.dispatch({effects:g1.of(r)}),n.focus(),n.select()}}else e.dispatch({effects:[Yq.of(!0),t?g1.of(CF(e.state,t.query.spec)):Fr.appendConfig.of(htt)]});return!0},R1e=e=>{let t=e.state.field(n1,!1);if(!t||!t.panel)return!1;let n=Mk(e,Zq);return n&&n.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:Yq.of(!1)}),!0},ctt=[{key:"Mod-f",run:C1e,scope:"editor search-panel"},{key:"F3",run:lI,shift:uI,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:lI,shift:uI,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:R1e,scope:"editor search-panel"},{key:"Mod-Shift-l",run:ltt},{key:"Mod-Alt-g",run:zet},{key:"Mod-d",run:Jet,preventDefault:!0}];class dtt{constructor(t){this.view=t;let n=this.query=t.state.field(n1).query.spec;this.commit=this.commit.bind(this),this.searchField=Ms("input",{value:n.search,placeholder:Rc(t,"Find"),"aria-label":Rc(t,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=Ms("input",{value:n.replace,placeholder:Rc(t,"Replace"),"aria-label":Rc(t,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=Ms("input",{type:"checkbox",name:"case",form:"",checked:n.caseSensitive,onchange:this.commit}),this.reField=Ms("input",{type:"checkbox",name:"re",form:"",checked:n.regexp,onchange:this.commit}),this.wordField=Ms("input",{type:"checkbox",name:"word",form:"",checked:n.wholeWord,onchange:this.commit});function r(i,s,a){return Ms("button",{class:"cm-button",name:i,onclick:s,type:"button"},a)}this.dom=Ms("div",{onkeydown:i=>this.keydown(i),class:"cm-search"},[this.searchField,r("next",()=>lI(t),[Rc(t,"next")]),r("prev",()=>uI(t),[Rc(t,"previous")]),r("select",()=>ott(t),[Rc(t,"all")]),Ms("label",null,[this.caseField,Rc(t,"match case")]),Ms("label",null,[this.reField,Rc(t,"regexp")]),Ms("label",null,[this.wordField,Rc(t,"by word")]),...t.state.readOnly?[]:[Ms("br"),this.replaceField,r("replace",()=>Are(t),[Rc(t,"replace")]),r("replaceAll",()=>utt(t),[Rc(t,"replace all")])],Ms("button",{name:"close",onclick:()=>R1e(t),"aria-label":Rc(t,"close"),type:"button"},["×"])])}commit(){let t=new Gq({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});t.eq(this.query)||(this.query=t,this.view.dispatch({effects:g1.of(t)}))}keydown(t){wXe(this.view,t,"search-panel")?t.preventDefault():t.keyCode==13&&t.target==this.searchField?(t.preventDefault(),(t.shiftKey?uI:lI)(this.view)):t.keyCode==13&&t.target==this.replaceField&&(t.preventDefault(),Are(this.view))}update(t){for(let n of t.transactions)for(let r of n.effects)r.is(g1)&&!r.value.eq(this.query)&&this.setQuery(r.value)}setQuery(t){this.query=t,this.searchField.value=t.search,this.replaceField.value=t.replace,this.caseField.checked=t.caseSensitive,this.reField.checked=t.regexp,this.wordField.checked=t.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(VE).top}}function Rc(e,t){return e.state.phrase(t)}const G4=30,Y4=/[\s\.,:;?!]/;function Xq(e,{from:t,to:n}){let r=e.state.doc.lineAt(t),i=e.state.doc.lineAt(n).to,s=Math.max(r.from,t-G4),a=Math.min(i,n+G4),o=e.state.sliceDoc(s,a);if(s!=r.from){for(let l=0;lo.length-G4;l--)if(!Y4.test(o[l-1])&&Y4.test(o[l])){o=o.slice(0,l);break}}return Sn.announce.of(`${e.state.phrase("current match")}. ${o} ${e.state.phrase("on line")} ${r.number}.`)}const ftt=Sn.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),htt=[n1,Lp.low(att),ftt];class Kq{constructor(t,n,r,i){this.state=t,this.pos=n,this.explicit=r,this.view=i,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(t){let n=Hs(this.state).resolveInner(this.pos,-1);for(;n&&t.indexOf(n.name)<0;)n=n.parent;return n?{from:n.from,to:this.pos,text:this.state.sliceDoc(n.from,this.pos),type:n.type}:null}matchBefore(t){let n=this.state.doc.lineAt(this.pos),r=Math.max(n.from,this.pos-250),i=n.text.slice(r-n.from,this.pos-n.from),s=i.search(D1e(t,!1));return s<0?null:{from:r+s,to:this.pos,text:i.slice(s)}}get aborted(){return this.abortListeners==null}addEventListener(t,n,r){t=="abort"&&this.abortListeners&&(this.abortListeners.push(n),r&&r.onDocChange&&(this.abortOnDocChange=!0))}}function Cre(e){let t=Object.keys(e).join(""),n=/\w/.test(t);return n&&(t=t.replace(/\w/g,"")),`[${n?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function ptt(e){let t=Object.create(null),n=Object.create(null);for(let{label:i}of e){t[i[0]]=!0;for(let s=1;stypeof i=="string"?{label:i}:i),[n,r]=t.every(i=>/^\w+$/.test(i.label))?[/\w*$/,/\w+$/]:ptt(t);return i=>{let s=i.matchBefore(r);return s||i.explicit?{from:s?s.from:i.pos,options:t,validFor:n}:null}}function mtt(e,t){return n=>{for(let r=Hs(n.state).resolveInner(n.pos,-1);r;r=r.parent){if(e.indexOf(r.name)>-1)return null;if(r.type.isTop)break}return t(n)}}class Rre{constructor(t,n,r,i){this.completion=t,this.source=n,this.match=r,this.score=i}}function r1(e){return e.selection.main.from}function D1e(e,t){var n;let{source:r}=e,i=t&&r[0]!="^",s=r[r.length-1]!="$";return!i&&!s?e:new RegExp(`${i?"^":""}(?:${r})${s?"$":""}`,(n=e.flags)!==null&&n!==void 0?n:e.ignoreCase?"i":"")}const Jq=Mp.define();function gtt(e,t,n,r){let{main:i}=e.selection,s=n-i.from,a=r-i.from;return Object.assign(Object.assign({},e.changeByRange(o=>{if(o!=i&&n!=r&&e.sliceDoc(o.from+s,o.from+a)!=e.sliceDoc(n,r))return{range:o};let l=e.toText(t);return{changes:{from:o.from+s,to:r==i.from?o.to:o.from+a,insert:l},range:Bt.cursor(o.from+s+l.length)}})),{scrollIntoView:!0,userEvent:"input.complete"})}const Ire=new WeakMap;function btt(e){if(!Array.isArray(e))return e;let t=Ire.get(e);return t||Ire.set(e,t=I1e(e)),t}const cI=Fr.define(),Hk=Fr.define();class ytt{constructor(t){this.pattern=t,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let n=0;n=48&&M<=57||M>=97&&M<=122?2:M>=65&&M<=90?1:0:($=bq(M))!=$.toLowerCase()?1:$!=$.toUpperCase()?2:0;(!_||B==1&&x||I==0&&B!=0)&&(n[f]==M||r[f]==M&&(p=!0)?a[f++]=_:a.length&&(T=!1)),I=B,_+=Xd(M)}return f==l&&a[0]==0&&T?this.result(-100+(p?-200:0),a,t):g==l&&b==0?this.ret(-200-t.length+(w==t.length?0:-100),[0,w]):o>-1?this.ret(-700-t.length,[o,o+this.pattern.length]):g==l?this.ret(-900-t.length,[b,w]):f==l?this.result(-100+(p?-200:0)+-700+(T?0:-1100),a,t):n.length==2?null:this.result((i[0]?-700:0)+-200+-1100,i,t)}result(t,n,r){let i=[],s=0;for(let a of n){let o=a+(this.astral?Xd(pl(r,a)):1);s&&i[s-1]==a?i[s-1]=o:(i[s++]=a,i[s++]=o)}return this.ret(t-r.length,i)}}class vtt{constructor(t){this.pattern=t,this.matched=[],this.score=0,this.folded=t.toLowerCase()}match(t){if(t.length!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:Stt,filterStrict:!1,compareCompletions:(t,n)=>t.label.localeCompare(n.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(t,n)=>t&&n,closeOnBlur:(t,n)=>t&&n,icons:(t,n)=>t&&n,tooltipClass:(t,n)=>r=>Dre(t(r),n(r)),optionClass:(t,n)=>r=>Dre(t(r),n(r)),addToOptions:(t,n)=>t.concat(n),filterStrict:(t,n)=>t||n})}});function Dre(e,t){return e?t?e+" "+t:e:t}function Stt(e,t,n,r,i,s){let a=e.textDirection==Us.RTL,o=a,l=!1,c="top",d,f,p=t.left-i.left,g=i.right-t.right,b=r.right-r.left,w=r.bottom-r.top;if(o&&p=w||_>t.top?d=n.bottom-t.top:(c="bottom",d=t.bottom-n.top)}let x=(t.bottom-t.top)/s.offsetHeight,T=(t.right-t.left)/s.offsetWidth;return{style:`${c}: ${d/x}px; max-width: ${f/T}px`,class:"cm-completionInfo-"+(l?a?"left-narrow":"right-narrow":o?"left":"right")}}function Ott(e){let t=e.addToOptions.slice();return e.icons&&t.push({render(n){let r=document.createElement("div");return r.classList.add("cm-completionIcon"),n.type&&r.classList.add(...n.type.split(/\s+/g).map(i=>"cm-completionIcon-"+i)),r.setAttribute("aria-hidden","true"),r},position:20}),t.push({render(n,r,i,s){let a=document.createElement("span");a.className="cm-completionLabel";let o=n.displayLabel||n.label,l=0;for(let c=0;cl&&a.appendChild(document.createTextNode(o.slice(l,d)));let p=a.appendChild(document.createElement("span"));p.appendChild(document.createTextNode(o.slice(d,f))),p.className="cm-completionMatchedText",l=f}return ln.position-r.position).map(n=>n.render)}function sL(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let i=Math.floor(t/n);return{from:i*n,to:(i+1)*n}}let r=Math.floor((e-t)/n);return{from:e-(r+1)*n,to:e-r*n}}class Ett{constructor(t,n,r){this.view=t,this.stateField=n,this.applyCompletion=r,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:l=>this.placeInfo(l),key:this},this.space=null,this.currentClass="";let i=t.state.field(n),{options:s,selected:a}=i.open,o=t.state.facet(bl);this.optionContent=Ott(o),this.optionClass=o.optionClass,this.tooltipClass=o.tooltipClass,this.range=sL(s.length,a,o.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(t.state),this.dom.addEventListener("mousedown",l=>{let{options:c}=t.state.field(n).open;for(let d=l.target,f;d&&d!=this.dom;d=d.parentNode)if(d.nodeName=="LI"&&(f=/-(\d+)$/.exec(d.id))&&+f[1]{let c=t.state.field(this.stateField,!1);c&&c.tooltip&&t.state.facet(bl).closeOnBlur&&l.relatedTarget!=t.contentDOM&&t.dispatch({effects:Hk.of(null)})}),this.showOptions(s,i.id)}mount(){this.updateSel()}showOptions(t,n){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t,n,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(t){var n;let r=t.state.field(this.stateField),i=t.startState.field(this.stateField);if(this.updateTooltipClass(t.state),r!=i){let{options:s,selected:a,disabled:o}=r.open;(!i.open||i.open.options!=s)&&(this.range=sL(s.length,a,t.state.facet(bl).maxRenderedOptions),this.showOptions(s,r.id)),this.updateSel(),o!=((n=i.open)===null||n===void 0?void 0:n.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!o)}}updateTooltipClass(t){let n=this.tooltipClass(t);if(n!=this.currentClass){for(let r of this.currentClass.split(" "))r&&this.dom.classList.remove(r);for(let r of n.split(" "))r&&this.dom.classList.add(r);this.currentClass=n}}positioned(t){this.space=t,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let t=this.view.state.field(this.stateField),n=t.open;if((n.selected>-1&&n.selected=this.range.to)&&(this.range=sL(n.options.length,n.selected,this.view.state.facet(bl).maxRenderedOptions),this.showOptions(n.options,t.id)),this.updateSelectedOption(n.selected)){this.destroyInfo();let{completion:r}=n.options[n.selected],{info:i}=r;if(!i)return;let s=typeof i=="string"?document.createTextNode(i):i(r);if(!s)return;"then"in s?s.then(a=>{a&&this.view.state.field(this.stateField,!1)==t&&this.addInfoPane(a,r)}).catch(a=>of(this.view.state,a,"completion info")):this.addInfoPane(s,r)}}addInfoPane(t,n){this.destroyInfo();let r=this.info=document.createElement("div");if(r.className="cm-tooltip cm-completionInfo",t.nodeType!=null)r.appendChild(t),this.infoDestroy=null;else{let{dom:i,destroy:s}=t;r.appendChild(i),this.infoDestroy=s||null}this.dom.appendChild(r),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(t){let n=null;for(let r=this.list.firstChild,i=this.range.from;r;r=r.nextSibling,i++)r.nodeName!="LI"||!r.id?i--:i==t?r.hasAttribute("aria-selected")||(r.setAttribute("aria-selected","true"),n=r):r.hasAttribute("aria-selected")&&r.removeAttribute("aria-selected");return n&&xtt(this.list,n),n}measureInfo(){let t=this.dom.querySelector("[aria-selected]");if(!t||!this.info)return null;let n=this.dom.getBoundingClientRect(),r=this.info.getBoundingClientRect(),i=t.getBoundingClientRect(),s=this.space;if(!s){let a=this.dom.ownerDocument.defaultView||window;s={left:0,top:0,right:a.innerWidth,bottom:a.innerHeight}}return i.top>Math.min(s.bottom,n.bottom)-10||i.bottomr.from||r.from==0))if(s=p,typeof c!="string"&&c.header)i.appendChild(c.header(c));else{let g=i.appendChild(document.createElement("completion-section"));g.textContent=p}}const d=i.appendChild(document.createElement("li"));d.id=n+"-"+a,d.setAttribute("role","option");let f=this.optionClass(o);f&&(d.className=f);for(let p of this.optionContent){let g=p(o,this.view.state,this.view,l);g&&d.appendChild(g)}}return r.from&&i.classList.add("cm-completionListIncompleteTop"),r.tonew Ett(n,e,t)}function xtt(e,t){let n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=n.height/e.offsetHeight;r.topn.bottom&&(e.scrollTop+=(r.bottom-n.bottom)/i)}function Nre(e){return(e.boost||0)*100+(e.apply?10:0)+(e.info?5:0)+(e.type?1:0)}function Ttt(e,t){let n=[],r=null,i=c=>{n.push(c);let{section:d}=c.completion;if(d){r||(r=[]);let f=typeof d=="string"?d:d.name;r.some(p=>p.name==f)||r.push(typeof d=="string"?{name:f}:d)}},s=t.facet(bl);for(let c of e)if(c.hasResult()){let d=c.result.getMatch;if(c.result.filter===!1)for(let f of c.result.options)i(new Rre(f,c.source,d?d(f):[],1e9-n.length));else{let f=t.sliceDoc(c.from,c.to),p,g=s.filterStrict?new vtt(f):new ytt(f);for(let b of c.result.options)if(p=g.match(b.label)){let w=b.displayLabel?d?d(b,p.matched):[]:p.matched;i(new Rre(b,c.source,w,p.score+(b.boost||0)))}}}if(r){let c=Object.create(null),d=0,f=(p,g)=>{var b,w;return((b=p.rank)!==null&&b!==void 0?b:1e9)-((w=g.rank)!==null&&w!==void 0?w:1e9)||(p.namef.score-d.score||l(d.completion,f.completion))){let d=c.completion;!o||o.label!=d.label||o.detail!=d.detail||o.type!=null&&d.type!=null&&o.type!=d.type||o.apply!=d.apply||o.boost!=d.boost?a.push(c):Nre(c.completion)>Nre(o)&&(a[a.length-1]=c),o=c.completion}return a}class FS{constructor(t,n,r,i,s,a){this.options=t,this.attrs=n,this.tooltip=r,this.timestamp=i,this.selected=s,this.disabled=a}setSelected(t,n){return t==this.selected||t>=this.options.length?this:new FS(this.options,Pre(n,t),this.tooltip,this.timestamp,t,this.disabled)}static build(t,n,r,i,s){let a=Ttt(t,n);if(!a.length)return i&&t.some(l=>l.state==1)?new FS(i.options,i.attrs,i.tooltip,i.timestamp,i.selected,!0):null;let o=n.facet(bl).selectOnOpen?0:-1;if(i&&i.selected!=o&&i.selected!=-1){let l=i.options[i.selected].completion;for(let c=0;cc.hasResult()?Math.min(l,c.from):l,1e8),create:Itt,above:s.aboveCursor},i?i.timestamp:Date.now(),o,!1)}map(t){return new FS(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:t.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class dI{constructor(t,n,r){this.active=t,this.id=n,this.open=r}static start(){return new dI(Ctt,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(t){let{state:n}=t,r=n.facet(bl),s=(r.override||n.languageDataAt("autocomplete",r1(n)).map(btt)).map(o=>(this.active.find(c=>c.source==o)||new Yc(o,this.active.some(c=>c.state!=0)?1:0)).update(t,r));s.length==this.active.length&&s.every((o,l)=>o==this.active[l])&&(s=this.active);let a=this.open;a&&t.docChanged&&(a=a.map(t.changes)),t.selection||s.some(o=>o.hasResult()&&t.changes.touchesRange(o.from,o.to))||!ktt(s,this.active)?a=FS.build(s,n,this.id,a,r):a&&a.disabled&&!s.some(o=>o.state==1)&&(a=null),!a&&s.every(o=>o.state!=1)&&s.some(o=>o.hasResult())&&(s=s.map(o=>o.hasResult()?new Yc(o.source,0):o));for(let o of t.effects)o.is(L1e)&&(a=a&&a.setSelected(o.value,this.id));return s==this.active&&a==this.open?this:new dI(s,this.id,a)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?_tt:Att}}function ktt(e,t){if(e==t)return!0;for(let n=0,r=0;;){for(;n-1&&(n["aria-activedescendant"]=e+"-"+t),n}const Ctt=[];function N1e(e,t){if(e.isUserEvent("input.complete")){let r=e.annotation(Jq);if(r&&t.activateOnCompletion(r))return 12}let n=e.isUserEvent("input.type");return n&&t.activateOnTyping?5:n?1:e.isUserEvent("delete.backward")?2:e.selection?8:e.docChanged?16:0}class Yc{constructor(t,n,r=-1){this.source=t,this.state=n,this.explicitPos=r}hasResult(){return!1}update(t,n){let r=N1e(t,n),i=this;(r&8||r&16&&this.touches(t))&&(i=new Yc(i.source,0)),r&4&&i.state==0&&(i=new Yc(this.source,1)),i=i.updateFor(t,r);for(let s of t.effects)if(s.is(cI))i=new Yc(i.source,1,s.value?r1(t.state):-1);else if(s.is(Hk))i=new Yc(i.source,0);else if(s.is(P1e))for(let a of s.value)a.source==i.source&&(i=a);return i}updateFor(t,n){return this.map(t.changes)}map(t){return t.empty||this.explicitPos<0?this:new Yc(this.source,this.state,t.mapPos(this.explicitPos))}touches(t){return t.changes.touchesRange(r1(t.state))}}class uO extends Yc{constructor(t,n,r,i,s){super(t,2,n),this.result=r,this.from=i,this.to=s}hasResult(){return!0}updateFor(t,n){var r;if(!(n&3))return this.map(t.changes);let i=this.result;i.map&&!t.changes.empty&&(i=i.map(i,t.changes));let s=t.changes.mapPos(this.from),a=t.changes.mapPos(this.to,1),o=r1(t.state);if((this.explicitPos<0?o<=s:oa||!i||n&2&&r1(t.startState)==this.from)return new Yc(this.source,n&4?1:0);let l=this.explicitPos<0?-1:t.changes.mapPos(this.explicitPos);return Rtt(i.validFor,t.state,s,a)?new uO(this.source,l,i,s,a):i.update&&(i=i.update(i,s,a,new Kq(t.state,o,l>=0)))?new uO(this.source,l,i,i.from,(r=i.to)!==null&&r!==void 0?r:r1(t.state)):new Yc(this.source,1,l)}map(t){return t.empty?this:(this.result.map?this.result.map(this.result,t):this.result)?new uO(this.source,this.explicitPos<0?-1:t.mapPos(this.explicitPos),this.result,t.mapPos(this.from),t.mapPos(this.to,1)):new Yc(this.source,0)}touches(t){return t.changes.touchesRange(this.from,this.to)}}function Rtt(e,t,n,r){if(!e)return!1;let i=t.sliceDoc(n,r);return typeof e=="function"?e(i,n,r,t):D1e(e,!0).test(i)}const P1e=Fr.define({map(e,t){return e.map(n=>n.map(t))}}),L1e=Fr.define(),Ju=Po.define({create(){return dI.start()},update(e,t){return e.update(t)},provide:e=>[Cq.from(e,t=>t.tooltip),Sn.contentAttributes.from(e,t=>t.attrs)]});function ej(e,t){const n=t.completion.apply||t.completion.label;let r=e.state.field(Ju).active.find(i=>i.source==t.source);return r instanceof uO?(typeof n=="string"?e.dispatch(Object.assign(Object.assign({},gtt(e.state,n,r.from,r.to)),{annotations:Jq.of(t.completion)})):n(e,t.completion,r.from,r.to),!0):!1}const Itt=wtt(Ju,ej);function Z4(e,t="option"){return n=>{let r=n.state.field(Ju,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp-1?r.open.selected+i*(e?1:-1):e?0:a-1;return o<0?o=t=="page"?0:a-1:o>=a&&(o=t=="page"?a-1:0),n.dispatch({effects:L1e.of(o)}),!0}}const Dtt=e=>{let t=e.state.field(Ju,!1);return e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestampe.state.field(Ju,!1)?(e.dispatch({effects:cI.of(!0)}),!0):!1,Ntt=e=>{let t=e.state.field(Ju,!1);return!t||!t.active.some(n=>n.state!=0)?!1:(e.dispatch({effects:Hk.of(null)}),!0)};class Ptt{constructor(t,n){this.active=t,this.context=n,this.time=Date.now(),this.updates=[],this.done=void 0}}const Ltt=50,Mtt=1e3,Ftt=pa.fromClass(class{constructor(e){this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let t of e.state.field(Ju).active)t.state==1&&this.startQuery(t)}update(e){let t=e.state.field(Ju),n=e.state.facet(bl);if(!e.selectionSet&&!e.docChanged&&e.startState.field(Ju)==t)return;let r=e.transactions.some(s=>{let a=N1e(s,n);return a&8||(s.selection||s.docChanged)&&!(a&3)});for(let s=0;sLtt&&Date.now()-a.time>Mtt){for(let o of a.context.abortListeners)try{o()}catch(l){of(this.view.state,l)}a.context.abortListeners=null,this.running.splice(s--,1)}else a.updates.push(...e.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),e.transactions.some(s=>s.effects.some(a=>a.is(cI)))&&(this.pendingStart=!0);let i=this.pendingStart?50:n.activateOnTypingDelay;if(this.debounceUpdate=t.active.some(s=>s.state==1&&!this.running.some(a=>a.active.source==s.source))?setTimeout(()=>this.startUpdate(),i):-1,this.composing!=0)for(let s of e.transactions)s.isUserEvent("input.type")?this.composing=2:this.composing==2&&s.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:e}=this.view,t=e.field(Ju);for(let n of t.active)n.state==1&&!this.running.some(r=>r.active.source==n.source)&&this.startQuery(n)}startQuery(e){let{state:t}=this.view,n=r1(t),r=new Kq(t,n,e.explicitPos==n,this.view),i=new Ptt(e,r);this.running.push(i),Promise.resolve(e.source(r)).then(s=>{i.context.aborted||(i.done=s||null,this.scheduleAccept())},s=>{this.view.dispatch({effects:Hk.of(null)}),of(this.view.state,s)})}scheduleAccept(){this.running.every(e=>e.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(bl).updateSyncTime))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],n=this.view.state.facet(bl);for(let r=0;ra.source==i.active.source);if(s&&s.state==1)if(i.done==null){let a=new Yc(i.active.source,0);for(let o of i.updates)a=a.update(o,n);a.state!=1&&t.push(a)}else this.startQuery(s)}t.length&&this.view.dispatch({effects:P1e.of(t)})}},{eventHandlers:{blur(e){let t=this.view.state.field(Ju,!1);if(t&&t.tooltip&&this.view.state.facet(bl).closeOnBlur){let n=t.open&&hge(this.view,t.open.tooltip);(!n||!n.dom.contains(e.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:Hk.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:cI.of(!1)}),20),this.composing=0}}}),$tt=typeof navigator=="object"&&/Win/.test(navigator.platform),Btt=Lp.highest(Sn.domEventHandlers({keydown(e,t){let n=t.state.field(Ju,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||e.key.length>1||e.ctrlKey&&!($tt&&e.altKey)||e.metaKey)return!1;let r=n.open.options[n.open.selected],i=n.active.find(a=>a.source==r.source),s=r.completion.commitCharacters||i.result.commitCharacters;return s&&s.indexOf(e.key)>-1&&ej(t,r),!1}})),M1e=Sn.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class Utt{constructor(t,n,r,i){this.field=t,this.line=n,this.from=r,this.to=i}}class tj{constructor(t,n,r){this.field=t,this.from=n,this.to=r}map(t){let n=t.mapPos(this.from,-1,Ao.TrackDel),r=t.mapPos(this.to,1,Ao.TrackDel);return n==null||r==null?null:new tj(this.field,n,r)}}class nj{constructor(t,n){this.lines=t,this.fieldPositions=n}instantiate(t,n){let r=[],i=[n],s=t.doc.lineAt(n),a=/^\s*/.exec(s.text)[0];for(let l of this.lines){if(r.length){let c=a,d=/^\t*/.exec(l)[0].length;for(let f=0;fnew tj(l.field,i[l.line]+l.from,i[l.line]+l.to));return{text:r,ranges:o}}static parse(t){let n=[],r=[],i=[],s;for(let a of t.split(/\r\n?|\n/)){for(;s=/[#$]\{(?:(\d+)(?::([^}]*))?|((?:\\[{}]|[^}])*))\}/.exec(a);){let o=s[1]?+s[1]:null,l=s[2]||s[3]||"",c=-1,d=l.replace(/\\[{}]/g,f=>f[1]);for(let f=0;f=c&&p.field++}i.push(new Utt(c,r.length,s.index,s.index+d.length)),a=a.slice(0,s.index)+l+a.slice(s.index+s[0].length)}a=a.replace(/\\([{}])/g,(o,l,c)=>{for(let d of i)d.line==r.length&&d.from>c&&(d.from--,d.to--);return l}),r.push(a)}return new nj(r,i)}}let ztt=Kn.widget({widget:new class extends Sh{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),Htt=Kn.mark({class:"cm-snippetField"});class GE{constructor(t,n){this.ranges=t,this.active=n,this.deco=Kn.set(t.map(r=>(r.from==r.to?ztt:Htt).range(r.from,r.to)))}map(t){let n=[];for(let r of this.ranges){let i=r.map(t);if(!i)return null;n.push(i)}return new GE(n,this.active)}selectionInsideField(t){return t.ranges.every(n=>this.ranges.some(r=>r.field==this.active&&r.from<=n.from&&r.to>=n.to))}}const uA=Fr.define({map(e,t){return e&&e.map(t)}}),qtt=Fr.define(),qk=Po.define({create(){return null},update(e,t){for(let n of t.effects){if(n.is(uA))return n.value;if(n.is(qtt)&&e)return new GE(e.ranges,n.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>Sn.decorations.from(e,t=>t?t.deco:Kn.none)});function rj(e,t){return Bt.create(e.filter(n=>n.field==t).map(n=>Bt.range(n.from,n.to)))}function jtt(e){let t=nj.parse(e);return(n,r,i,s)=>{let{text:a,ranges:o}=t.instantiate(n.state,i),l={changes:{from:i,to:s,insert:Oi.of(a)},scrollIntoView:!0,annotations:r?[Jq.of(r),da.userEvent.of("input.complete")]:void 0};if(o.length&&(l.selection=rj(o,0)),o.some(c=>c.field>0)){let c=new GE(o,0),d=l.effects=[uA.of(c)];n.state.field(qk,!1)===void 0&&d.push(Fr.appendConfig.of([qk,Ytt,Ztt,M1e]))}n.dispatch(n.state.update(l))}}function F1e(e){return({state:t,dispatch:n})=>{let r=t.field(qk,!1);if(!r||e<0&&r.active==0)return!1;let i=r.active+e,s=e>0&&!r.ranges.some(a=>a.field==i+e);return n(t.update({selection:rj(r.ranges,i),effects:uA.of(s?null:new GE(r.ranges,i)),scrollIntoView:!0})),!0}}const Wtt=({state:e,dispatch:t})=>e.field(qk,!1)?(t(e.update({effects:uA.of(null)})),!0):!1,Qtt=F1e(1),Vtt=F1e(-1),Gtt=[{key:"Tab",run:Qtt,shift:Vtt},{key:"Escape",run:Wtt}],Mre=Gn.define({combine(e){return e.length?e[0]:Gtt}}),Ytt=Lp.highest(qE.compute([Mre],e=>e.facet(Mre)));function Vu(e,t){return Object.assign(Object.assign({},t),{apply:jtt(e)})}const Ztt=Sn.domEventHandlers({mousedown(e,t){let n=t.state.field(qk,!1),r;if(!n||(r=t.posAtCoords({x:e.clientX,y:e.clientY}))==null)return!1;let i=n.ranges.find(s=>s.from<=r&&s.to>=r);return!i||i.field==n.active?!1:(t.dispatch({selection:rj(n.ranges,i.field),effects:uA.of(n.ranges.some(s=>s.field>i.field)?new GE(n.ranges,i.field):null),scrollIntoView:!0}),!0)}}),jk={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},Cb=Fr.define({map(e,t){let n=t.mapPos(e,-1,Ao.TrackAfter);return n??void 0}}),ij=new class extends gy{};ij.startSide=1;ij.endSide=-1;const $1e=Po.define({create(){return Ci.empty},update(e,t){if(e=e.map(t.changes),t.selection){let n=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:r=>r>=n.from&&r<=n.to})}for(let n of t.effects)n.is(Cb)&&(e=e.update({add:[ij.range(n.value,n.value+1)]}));return e}});function Xtt(){return[Jtt,$1e]}const aL="()[]{}<>";function B1e(e){for(let t=0;t{if((Ktt?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let i=e.state.selection.main;if(r.length>2||r.length==2&&Xd(pl(r,0))==1||t!=i.from||n!=i.to)return!1;let s=nnt(e.state,r);return s?(e.dispatch(s),!0):!1}),ent=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let r=U1e(e,e.selection.main.head).brackets||jk.brackets,i=null,s=e.changeByRange(a=>{if(a.empty){let o=rnt(e.doc,a.head);for(let l of r)if(l==o&&QD(e.doc,a.head)==B1e(pl(l,0)))return{changes:{from:a.head-l.length,to:a.head+l.length},range:Bt.cursor(a.head-l.length)}}return{range:i=a}});return i||t(e.update(s,{scrollIntoView:!0,userEvent:"delete.backward"})),!i},tnt=[{key:"Backspace",run:ent}];function nnt(e,t){let n=U1e(e,e.selection.main.head),r=n.brackets||jk.brackets;for(let i of r){let s=B1e(pl(i,0));if(t==i)return s==i?ant(e,i,r.indexOf(i+i+i)>-1,n):int(e,i,s,n.before||jk.before);if(t==s&&z1e(e,e.selection.main.from))return snt(e,i,s)}return null}function z1e(e,t){let n=!1;return e.field($1e).between(0,e.doc.length,r=>{r==t&&(n=!0)}),n}function QD(e,t){let n=e.sliceString(t,t+2);return n.slice(0,Xd(pl(n,0)))}function rnt(e,t){let n=e.sliceString(t-2,t);return Xd(pl(n,0))==n.length?n:n.slice(1)}function int(e,t,n,r){let i=null,s=e.changeByRange(a=>{if(!a.empty)return{changes:[{insert:t,from:a.from},{insert:n,from:a.to}],effects:Cb.of(a.to+t.length),range:Bt.range(a.anchor+t.length,a.head+t.length)};let o=QD(e.doc,a.head);return!o||/\s/.test(o)||r.indexOf(o)>-1?{changes:{insert:t+n,from:a.head},effects:Cb.of(a.head+t.length),range:Bt.cursor(a.head+t.length)}:{range:i=a}});return i?null:e.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function snt(e,t,n){let r=null,i=e.changeByRange(s=>s.empty&&QD(e.doc,s.head)==n?{changes:{from:s.head,to:s.head+n.length,insert:n},range:Bt.cursor(s.head+n.length)}:r={range:s});return r?null:e.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function ant(e,t,n,r){let i=r.stringPrefixes||jk.stringPrefixes,s=null,a=e.changeByRange(o=>{if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:t,from:o.to}],effects:Cb.of(o.to+t.length),range:Bt.range(o.anchor+t.length,o.head+t.length)};let l=o.head,c=QD(e.doc,l),d;if(c==t){if(Fre(e,l))return{changes:{insert:t+t,from:l},effects:Cb.of(l+t.length),range:Bt.cursor(l+t.length)};if(z1e(e,l)){let p=n&&e.sliceDoc(l,l+t.length*3)==t+t+t?t+t+t:t;return{changes:{from:l,to:l+p.length,insert:p},range:Bt.cursor(l+p.length)}}}else{if(n&&e.sliceDoc(l-2*t.length,l)==t+t&&(d=$re(e,l-2*t.length,i))>-1&&Fre(e,d))return{changes:{insert:t+t+t+t,from:l},effects:Cb.of(l+t.length),range:Bt.cursor(l+t.length)};if(e.charCategorizer(l)(c)!=fa.Word&&$re(e,l,i)>-1&&!ont(e,l,t,i))return{changes:{insert:t+t,from:l},effects:Cb.of(l+t.length),range:Bt.cursor(l+t.length)}}return{range:s=o}});return s?null:e.update(a,{scrollIntoView:!0,userEvent:"input.type"})}function Fre(e,t){let n=Hs(e).resolveInner(t+1);return n.parent&&n.from==t}function ont(e,t,n,r){let i=Hs(e).resolveInner(t,-1),s=r.reduce((a,o)=>Math.max(a,o.length),0);for(let a=0;a<5;a++){let o=e.sliceDoc(i.from,Math.min(i.to,i.from+n.length+s)),l=o.indexOf(n);if(!l||l>-1&&r.indexOf(o.slice(0,l))>-1){let d=i.firstChild;for(;d&&d.from==i.from&&d.to-d.from>n.length+l;){if(e.sliceDoc(d.to-n.length,d.to)==n)return!1;d=d.firstChild}return!0}let c=i.to==t&&i.parent;if(!c)break;i=c}return!1}function $re(e,t,n){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=fa.Word)return t;for(let i of n){let s=t-i.length;if(e.sliceDoc(s,t)==i&&r(e.sliceDoc(s-1,s))!=fa.Word)return s}return-1}function lnt(e={}){return[Btt,Ju,bl.of(e),Ftt,unt,M1e]}const H1e=[{key:"Ctrl-Space",run:Lre},{mac:"Alt-`",run:Lre},{key:"Escape",run:Ntt},{key:"ArrowDown",run:Z4(!0)},{key:"ArrowUp",run:Z4(!1)},{key:"PageDown",run:Z4(!0,"page")},{key:"PageUp",run:Z4(!1,"page")},{key:"Enter",run:Dtt}],unt=Lp.highest(qE.computeN([bl],e=>e.facet(bl).defaultKeymap?[H1e]:[]));class cnt{constructor(t,n,r){this.from=t,this.to=n,this.diagnostic=r}}class mb{constructor(t,n,r){this.diagnostics=t,this.panel=n,this.selected=r}static init(t,n,r){let i=t,s=r.facet(Wk).markerFilter;s&&(i=s(i,r));let a=Kn.set(i.map(o=>o.from==o.to||o.from==o.to-1&&r.doc.lineAt(o.from).to==o.from?Kn.widget({widget:new vnt(o),diagnostic:o}).range(o.from):Kn.mark({attributes:{class:"cm-lintRange cm-lintRange-"+o.severity+(o.markClass?" "+o.markClass:"")},diagnostic:o}).range(o.from,o.to)),!0);return new mb(a,n,oE(a))}}function oE(e,t=null,n=0){let r=null;return e.between(n,1e9,(i,s,{spec:a})=>{if(!(t&&a.diagnostic!=t))return r=new cnt(i,s,a.diagnostic),!1}),r}function dnt(e,t){let n=t.pos,r=t.end||n,i=e.state.facet(Wk).hideOn(e,n,r);if(i!=null)return i;let s=e.startState.doc.lineAt(t.pos);return!!(e.effects.some(a=>a.is(q1e))||e.changes.touchesRange(s.from,Math.max(s.to,r)))}function fnt(e,t){return e.field(nd,!1)?t:t.concat(Fr.appendConfig.of(Ent))}const q1e=Fr.define(),sj=Fr.define(),j1e=Fr.define(),nd=Po.define({create(){return new mb(Kn.none,null,null)},update(e,t){if(t.docChanged&&e.diagnostics.size){let n=e.diagnostics.map(t.changes),r=null,i=e.panel;if(e.selected){let s=t.changes.mapPos(e.selected.from,1);r=oE(n,e.selected.diagnostic,s)||oE(n,null,s)}!n.size&&i&&t.state.facet(Wk).autoPanel&&(i=null),e=new mb(n,i,r)}for(let n of t.effects)if(n.is(q1e)){let r=t.state.facet(Wk).autoPanel?n.value.length?Qk.open:null:e.panel;e=mb.init(n.value,r,t.state)}else n.is(sj)?e=new mb(e.diagnostics,n.value?Qk.open:null,e.selected):n.is(j1e)&&(e=new mb(e.diagnostics,e.panel,n.value));return e},provide:e=>[vy.from(e,t=>t.panel),Sn.decorations.from(e,t=>t.diagnostics)]}),hnt=Kn.mark({class:"cm-lintRange cm-lintRange-active"});function pnt(e,t,n){let{diagnostics:r}=e.state.field(nd),i=[],s=2e8,a=0;r.between(t-(n<0?1:0),t+(n>0?1:0),(l,c,{spec:d})=>{t>=l&&t<=c&&(l==c||(t>l||n>0)&&(tQ1e(e,n,!1)))}const gnt=e=>{let t=e.state.field(nd,!1);(!t||!t.panel)&&e.dispatch({effects:fnt(e.state,[sj.of(!0)])});let n=Mk(e,Qk.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0},Bre=e=>{let t=e.state.field(nd,!1);return!t||!t.panel?!1:(e.dispatch({effects:sj.of(!1)}),!0)},bnt=e=>{let t=e.state.field(nd,!1);if(!t)return!1;let n=e.state.selection.main,r=t.diagnostics.iter(n.to+1);return!r.value&&(r=t.diagnostics.iter(0),!r.value||r.from==n.from&&r.to==n.to)?!1:(e.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0}),!0)},ynt=[{key:"Mod-Shift-m",run:gnt,preventDefault:!0},{key:"F8",run:bnt}],Wk=Gn.define({combine(e){return Object.assign({sources:e.map(t=>t.source).filter(t=>t!=null)},Fp(e.map(t=>t.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{needsRefresh:(t,n)=>t?n?r=>t(r)||n(r):t:n}))}});function W1e(e){let t=[];if(e)e:for(let{name:n}of e){for(let r=0;rs.toLowerCase()==i.toLowerCase())){t.push(i);continue e}}t.push("")}return t}function Q1e(e,t,n){var r;let i=n?W1e(t.actions):[];return Ms("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},Ms("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),(r=t.actions)===null||r===void 0?void 0:r.map((s,a)=>{let o=!1,l=p=>{if(p.preventDefault(),o)return;o=!0;let g=oE(e.state.field(nd).diagnostics,t);g&&s.apply(e,g.from,g.to)},{name:c}=s,d=i[a]?c.indexOf(i[a]):-1,f=d<0?c:[c.slice(0,d),Ms("u",c.slice(d,d+1)),c.slice(d+1)];return Ms("button",{type:"button",class:"cm-diagnosticAction",onclick:l,onmousedown:l,"aria-label":` Action: ${c}${d<0?"":` (access key "${i[a]})"`}.`},f)}),t.source&&Ms("div",{class:"cm-diagnosticSource"},t.source))}class vnt extends Sh{constructor(t){super(),this.diagnostic=t}eq(t){return t.diagnostic==this.diagnostic}toDOM(){return Ms("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class Ure{constructor(t,n){this.diagnostic=n,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=Q1e(t,n,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class Qk{constructor(t){this.view=t,this.items=[];let n=i=>{if(i.keyCode==27)Bre(this.view),this.view.focus();else if(i.keyCode==38||i.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(i.keyCode==40||i.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(i.keyCode==36)this.moveSelection(0);else if(i.keyCode==35)this.moveSelection(this.items.length-1);else if(i.keyCode==13)this.view.focus();else if(i.keyCode>=65&&i.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:s}=this.items[this.selectedIndex],a=W1e(s.actions);for(let o=0;o{for(let s=0;sBre(this.view)},"×")),this.update()}get selectedIndex(){let t=this.view.state.field(nd).selected;if(!t)return-1;for(let n=0;n{let c=-1,d;for(let f=r;fr&&(this.items.splice(r,c-r),i=!0)),n&&d.diagnostic==n.diagnostic?d.dom.hasAttribute("aria-selected")||(d.dom.setAttribute("aria-selected","true"),s=d):d.dom.hasAttribute("aria-selected")&&d.dom.removeAttribute("aria-selected"),r++});r({sel:s.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:a,panel:o})=>{let l=o.height/this.list.offsetHeight;a.topo.bottom&&(this.list.scrollTop+=(a.bottom-o.bottom)/l)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),i&&this.sync()}sync(){let t=this.list.firstChild;function n(){let r=t;t=r.nextSibling,r.remove()}for(let r of this.items)if(r.dom.parentNode==this.list){for(;t!=r.dom;)n();t=r.dom.nextSibling}else this.list.insertBefore(r.dom,t);for(;t;)n()}moveSelection(t){if(this.selectedIndex<0)return;let n=this.view.state.field(nd),r=oE(n.diagnostics,this.items[t].diagnostic);r&&this.view.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:j1e.of(r)})}static open(t){return new Qk(t)}}function Snt(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(e)}')`}function X4(e){return Snt(``,'width="6" height="3"')}const Ont=Sn.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:X4("#d11")},".cm-lintRange-warning":{backgroundImage:X4("orange")},".cm-lintRange-info":{backgroundImage:X4("#999")},".cm-lintRange-hint":{backgroundImage:X4("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}}),Ent=[nd,Sn.decorations.compute([nd],e=>{let{selected:t,panel:n}=e.field(nd);return!t||!n||t.from==t.to?Kn.none:Kn.set([hnt.range(t.from,t.to)])}),cKe(pnt,{hideOn:dnt}),Ont];function wnt(e){const{presenceList:t}=e,[n,r]=Y.useState(null),i=!!n,s=ei(xm),a=p=>{r(p.currentTarget)},o=()=>{r(null)},l=p=>{var b;const g=p.presence.cursor;g!==null&&((b=s.cmView)==null||b.dispatch({effects:Sn.scrollIntoView(g[0],{y:"center"})}))},c=4,d=t.slice(c),f=p=>U.jsx(Fg,{title:p.presence.name,children:U.jsx(qb,{onClick:()=>l(p),alt:p.presence.name,sx:{bgcolor:p.presence.color},children:p.presence.name[0]})},p.clientID);return U.jsxs(U.Fragment,{children:[U.jsxs(d6e,{children:[t.slice(0,c).map(f),t.length>c&&U.jsxs(qb,{onClick:a,children:["+",t.length-c]})]}),U.jsx(Ay,{open:i,anchorEl:n,onClose:o,anchorOrigin:{vertical:"bottom",horizontal:"left"},children:U.jsxs(Ko,{sx:{padding:2},children:[U.jsx(fi,{variant:"subtitle2",children:"Additional Users"}),d.map(p=>U.jsxs(UNe,{sx:{paddingY:1},onClick:()=>l(p),children:[U.jsx(jNe,{children:U.jsx(qb,{sx:{bgcolor:p.presence.color,width:24,height:24,fontSize:12},children:p.presence.name[0]})}),U.jsx(ah,{primary:p.presence.name,primaryTypographyProps:{variant:"body2"}})]},p.clientID))]})})]})}var Yb=(e=>(e.DEFAULT="default",e.DARK="dark",e.LIGHT="light",e))(Yb||{}),aj=(e=>(e.SUBLIME="sublime",e.VIM="vim",e))(aj||{});const xnt={theme:"default",drawerOpen:!0,codeKey:"sublime",disableScrollSync:!1},V1e=Ny({name:"config",initialState:xnt,reducers:{setTheme:(e,t)=>{e.theme=t.payload},setDrawerOpen:(e,t)=>{e.drawerOpen=t.payload},setCodeKeyType:(e,t)=>{e.codeKey=t.payload},setDisableScrollSync:(e,t)=>{e.disableScrollSync=t.payload}}}),{setTheme:G1e,setDrawerOpen:Tnt,setCodeKeyType:knt,setDisableScrollSync:_nt}=V1e.actions,Fy=e=>e.config,Ant=V1e.reducer;function cA(){const e=Oce("(prefers-color-scheme: dark)"),t=ei(Fy);return Y.useMemo(()=>{const r=e?"dark":"light";return t.theme==="default"?r:t.theme},[t.theme,e])}function Cnt(e){const t=mc(),n=cA(),r=ei(Fy),i=()=>{t(G1e(n===Yb.LIGHT?Yb.DARK:Yb.LIGHT))},s=()=>{t(_nt(!r.disableScrollSync))};return U.jsx(Ay,{anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},...e,children:U.jsxs(qO,{children:[U.jsxs(oc,{onClick:i,children:[U.jsx(J0,{children:n==="light"?U.jsx(Kpe,{}):U.jsx(Xpe,{})}),U.jsx(ah,{children:"Appearance"})]}),U.jsxs(oc,{onClick:s,children:[U.jsx(J0,{children:r.disableScrollSync?U.jsx(pWe,{}):U.jsx(mWe,{color:"primary"})}),U.jsx(ah,{children:"Panel Scroll Sync"})]})]})})}function Rnt(){var x,T,_;const e=mc(),t=Sf(),n=ei(xm),r=ei(wD),i=ei(Z_),{presenceList:s}=Qje(n.doc),{mutateAsync:a}=_Ye(((x=r.data)==null?void 0:x.id)||"",((T=i.data)==null?void 0:T.id)||""),o=!!n.shareRole,{enqueueSnackbar:l}=FE(),[c,d]=Y.useState(null);Y.useEffect(()=>{n.shareRole===eE.READ&&e(R9(JS.READ))},[e,n.shareRole]);const f=C=>{C&&e(R9(C))},p=()=>{var C;t(`/${(C=r.data)==null?void 0:C.slug}`)},g=async C=>{var $,B;const I=C.target.textContent;if(I===(($=i.data)==null?void 0:$.title))return;let M="";if(I.trim()||(M="Title cannot be empty"),I.length>255&&(M="Title must be less than 255 characters"),M){l(M,{variant:"error"}),C.target.textContent=(B=i.data)==null?void 0:B.title;return}await a({title:I}),l("The title is changed successfully",{variant:"success"})},b=C=>{d(C.currentTarget)},w=()=>{d(null)};return U.jsx(Dz,{position:"static",sx:{zIndex:100},children:U.jsx(Yz,{children:U.jsxs(r4,{container:!0,spacing:2,width:"100%",children:[U.jsx(r4,{size:4,children:U.jsxs(Rr,{direction:"row",spacing:1,alignItems:"center",children:[!n.shareRole&&U.jsx(Fg,{title:"Back to Previous Page",children:U.jsx(Gl,{color:"inherit",onClick:p,children:U.jsx(qje,{})})}),U.jsx(Ko,{children:n.shareRole!==eE.READ&&U.jsxs(pde,{value:n.mode,exclusive:!0,onChange:(C,I)=>f(I),size:"small",children:[U.jsx(B3,{value:"edit","aria-label":"edit",children:U.jsx(Fg,{title:"Edit Mode",children:U.jsx(jje,{})})}),U.jsx(B3,{value:"both","aria-label":"both",children:U.jsx(Fg,{title:"Both Mode",children:U.jsx(Wje,{})})}),U.jsx(B3,{value:"read","aria-label":"read",children:U.jsx(Fg,{title:"Read Mode",children:U.jsx(qpe,{})})})]})}),U.jsx(EWe,{})]})}),U.jsx(r4,{size:4,children:U.jsx(Rr,{alignItems:"center",justifyContent:"center",height:"100%",children:U.jsx(fi,{contentEditable:!o,suppressContentEditableWarning:!0,sx:{":focus":{outline:"none",border:"none"}},onBlur:C=>g(C),maxWidth:300,noWrap:!0,children:(_=i.data)==null?void 0:_.title})})}),U.jsx(r4,{size:4,children:U.jsxs(Rr,{direction:"row",justifyContent:"end",gap:1,children:[U.jsx(wnt,{presenceList:s}),!n.shareRole&&U.jsx(CYe,{}),U.jsx(Gl,{color:"inherit",onClick:b,children:U.jsx(oWe,{})}),U.jsx(Cnt,{open:!!c,anchorEl:c,onClose:w})]})})]})})})}function Int(){return U.jsxs(ha,{sx:{flexGrow:1},height:"100vh",children:[U.jsx(Rnt,{}),U.jsx(pD,{})]})}function Dnt(){return U.jsx(Rr,{sx:{flexGrow:1,height:"100vh"},children:U.jsx(pD,{})})}function Y1e(e){const t=mc(),n=cA(),r=Sf(),i=()=>{t(k9()),t(Q3(null))},s=()=>{r("/settings/profile")},a=()=>{t(G1e(n===Yb.LIGHT?Yb.DARK:Yb.LIGHT))};return U.jsx(Ay,{anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},...e,children:U.jsxs(qO,{children:[U.jsxs(oc,{onClick:a,children:[U.jsx(J0,{children:n==="light"?U.jsx(Kpe,{}):U.jsx(Xpe,{})}),U.jsx(ah,{children:"Appearance"})]}),U.jsxs(oc,{onClick:s,children:[U.jsx(J0,{children:U.jsx(aWe,{fontSize:"small"})}),U.jsx(ah,{children:"Profile"})]}),U.jsxs(oc,{onClick:i,children:[U.jsx(J0,{children:U.jsx(sWe,{fontSize:"small"})}),U.jsx(ah,{children:"Logout"})]})]})})}function Z1e(e){return U.jsx(fk,{...e,children:U.jsxs("svg",{width:"40",height:"38",viewBox:"0 0 40 38",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{width:30,height:30},children:[U.jsx("path",{d:"M11.8574 11.4048L18.8525 21.4507C19.2947 22.086 20.1683 22.2423 20.8036 21.8001C20.9398 21.7052 21.0581 21.5869 21.153 21.4507L28.148 11.4048C29.0327 10.1343 28.7198 8.3872 27.4495 7.5027C26.9794 7.17549 26.4205 7 25.8477 7H14.1577C12.6095 7 11.3545 8.25503 11.3545 9.80322C11.3547 10.3758 11.5302 10.9347 11.8574 11.4048Z",fill:"#514C49"}),U.jsx("path",{d:"M22.8637 29.5446C23.3612 29.8283 23.9338 29.9528 24.5042 29.9014L37.2991 28.7469C38.3271 28.6542 39.0851 27.7457 38.9924 26.7178C38.9876 26.6636 38.9803 26.6096 38.9706 26.556C38.5862 24.4114 37.8296 22.3507 36.7352 20.4668C35.6407 18.5829 34.2255 16.9048 32.5532 15.5085C31.761 14.8471 30.5825 14.953 29.9211 15.7455C29.8862 15.7872 29.8532 15.8305 29.8219 15.8752L22.4807 26.418C22.1535 26.888 21.978 27.4469 21.978 28.0198V27.9849C21.978 28.3055 22.0604 28.6208 22.2176 28.9002C22.3826 29.1751 22.6155 29.4029 22.8942 29.5617",fill:"#FDC433"}),U.jsx("path",{d:"M17.8492 28.7605C17.6844 29.097 17.4222 29.376 17.0969 29.5616L17.1365 29.539C16.6391 29.8227 16.0665 29.9472 15.4961 29.8959L2.70114 28.7414C2.64694 28.7365 2.59295 28.7293 2.53935 28.7196C1.52348 28.5375 0.847507 27.5663 1.02965 26.5505C1.41407 24.4057 2.17064 22.3451 3.26489 20.4611C4.35914 18.577 5.77455 16.8993 7.44706 15.5028C7.48877 15.4679 7.53208 15.4349 7.57681 15.4037C8.42384 14.8139 9.58841 15.0225 10.1784 15.8695L17.5196 26.4124C17.8468 26.8825 18.0223 27.4414 18.0223 28.0142V27.9685C18.0223 28.343 17.9096 28.7091 17.6991 29.019",fill:"#FDC433"})]})})}function Nnt(){var o,l;const e=Sf(),t=ei($E),[n,r]=Y.useState(null),i=c=>{r(c.currentTarget)},s=()=>{r(null)},a=()=>{var c;e(`/${(c=t.data)==null?void 0:c.lastWorkspaceSlug}`)};return U.jsxs(Dz,{position:"fixed",children:[U.jsx(Yz,{children:U.jsxs(Rr,{width:"100%",direction:"row-reverse",justifyContent:"space-between",alignItems:"center",children:[U.jsx(Gl,{onClick:i,children:U.jsx(qb,{children:(l=(o=t.data)==null?void 0:o.nickname)==null?void 0:l.charAt(0)})}),U.jsx(Gl,{onClick:a,children:U.jsx(Z1e,{})})]})}),U.jsx(Y1e,{open:!!n,anchorEl:n,onClose:s})]})}function Pnt(){return U.jsxs(ha,{sx:{display:"flex"},children:[U.jsx(Nnt,{}),U.jsx(pD,{})]})}const Lnt=e=>["workspaces",e],X1e=()=>["workspaces"],oj=e=>{const t=mc(),n=PE({queryKey:Lnt(e||""),enabled:!!e,queryFn:async()=>(await kr.get(`/workspaces/${e}`)).data,meta:{errorMessage:"This is a non-existent or unauthorized Workspace."}});return Y.useEffect(()=>(n.data&&t(qte(n.data)),()=>{t(qte(null))}),[t,n.data]),n},Mnt=()=>bH({queryKey:X1e(),queryFn:async({pageParam:t})=>(await kr.get("/workspaces",{params:{cursor:t}})).data,initialPageParam:void 0,getPreviousPageParam:t=>t.cursor??void 0,getNextPageParam:t=>t.cursor??void 0}),Fnt=()=>{const e=NE();return Rp({mutationFn:async t=>(await kr.post("/workspaces",t)).data,onSuccess:()=>{e.invalidateQueries({queryKey:X1e()})}})},$nt=e=>Rp({mutationFn:async t=>(await kr.post(`/workspaces/${e}/invite-token`,t)).data}),Bnt=()=>Rp({mutationFn:async e=>(await kr.post("/workspaces/join",e)).data});class Vk extends Y.Component{constructor(t){super(t),this.scrollListener=this.scrollListener.bind(this),this.eventListenerOptions=this.eventListenerOptions.bind(this),this.mousewheelListener=this.mousewheelListener.bind(this)}componentDidMount(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}componentDidUpdate(){if(this.props.isReverse&&this.loadMore){const t=this.getParentElement(this.scrollComponent);t.scrollTop=t.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}componentWillUnmount(){this.detachScrollListener(),this.detachMousewheelListener()}isPassiveSupported(){let t=!1;const n={get passive(){t=!0}};try{document.addEventListener("test",null,n),document.removeEventListener("test",null,n)}catch{}return t}eventListenerOptions(){let t=this.props.useCapture;return this.isPassiveSupported()?t={useCapture:this.props.useCapture,passive:!0}:t={passive:!1},t}setDefaultLoader(t){this.defaultLoader=t}detachMousewheelListener(){let t=window;this.props.useWindow===!1&&(t=this.scrollComponent.parentNode),t.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}detachScrollListener(){let t=window;this.props.useWindow===!1&&(t=this.getParentElement(this.scrollComponent)),t.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),t.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}getParentElement(t){const n=this.props.getScrollParent&&this.props.getScrollParent();return n??(t&&t.parentNode)}filterProps(t){return t}attachScrollListener(){const t=this.getParentElement(this.scrollComponent);if(!this.props.hasMore||!t)return;let n=window;this.props.useWindow===!1&&(n=t),n.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),n.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),n.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}mousewheelListener(t){t.deltaY===1&&!this.isPassiveSupported()&&t.preventDefault()}scrollListener(){const t=this.scrollComponent,n=window,r=this.getParentElement(t);let i;if(this.props.useWindow){const s=document.documentElement||document.body.parentNode||document.body,a=n.pageYOffset!==void 0?n.pageYOffset:s.scrollTop;this.props.isReverse?i=a:i=this.calculateOffset(t,a)}else this.props.isReverse?i=r.scrollTop:i=t.scrollHeight-r.scrollTop-r.clientHeight;i{this.scrollComponent=T,d&&d(T)};const x=[n];return i&&(o?a?x.unshift(o):x.push(o):this.defaultLoader&&(a?x.unshift(this.defaultLoader):x.push(this.defaultLoader))),Dn.createElement(r,w,x)}}Qa(Vk,"propTypes",{children:Cc.node.isRequired,element:Cc.node,hasMore:Cc.bool,initialLoad:Cc.bool,isReverse:Cc.bool,loader:Cc.node,loadMore:Cc.func.isRequired,pageStart:Cc.number,ref:Cc.func,getScrollParent:Cc.func,threshold:Cc.number,useCapture:Cc.bool,useWindow:Cc.bool}),Qa(Vk,"defaultProps",{element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null});function K1e(e){const{title:t,onSuccess:n,enableConflictCheck:r,...i}=e,[s,a]=Y.useState(""),[o,l]=Y.useState(""),{data:c}=WH(o),d=Y.useMemo(()=>r?s.length<2?"Title must be at least 2 characters":c!=null&&c.conflict?"Already Exists":null:null,[r,s.length,c==null?void 0:c.conflict]);ED(()=>{l(s)},500,[s]);const f=()=>{var b;(b=i==null?void 0:i.onClose)==null||b.call(i,new Event("Close Modal"),"escapeKeyDown")},p=async b=>{b.title.length>=2&&(await n(b),f())},g=b=>{r&&a(b.target.value)};return U.jsx(xE,{disableAutoFocus:!0,...i,children:U.jsxs(Ko,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",p:4,width:400},children:[U.jsx(Gl,{sx:{position:"absolute",top:28,right:28},onClick:f,children:U.jsx(VH,{})}),U.jsxs(Rr,{gap:4,children:[U.jsxs(fi,{variant:"h5",children:["Create New ",t]}),U.jsx(yf,{children:U.jsx(BE,{defaultValues:{title:""},onSuccess:p,children:U.jsxs(Rr,{gap:4,alignItems:"flex-end",children:[U.jsx(Y_,{variant:"standard",name:"title",label:`Title of New ${t}`,required:!0,fullWidth:!0,inputProps:{maxLength:255},onChange:g,error:!!d,helperText:d}),U.jsx(yl,{type:"submit",variant:"contained",size:"large",disabled:!!d,children:"OK"})]})})})]})]})})}function Unt(e){const{width:t,...n}=e,r=Sf(),i=k1(),{data:s,hasNextPage:a,fetchNextPage:o}=Mnt(),{mutateAsync:l}=Fnt(),c=Y.useMemo(()=>(s==null?void 0:s.pages.reduce((x,T)=>x.concat(T.workspaces),[]))??[],[s==null?void 0:s.pages]),[d,f]=Y.useState(!1),p=x=>{r(`/${x}`)},g=x=>{var T;i.workspaceSlug!==x&&(p(x),(T=n==null?void 0:n.onClose)==null||T.call(n,new Event("Close Popover"),"backdropClick"))},b=()=>{var x;f(T=>!T),n.open&&((x=n==null?void 0:n.onClose)==null||x.call(n,new Event("Close Popover"),"backdropClick"))},w=async x=>{const T=await l(x);p(T.slug)};return U.jsxs(U.Fragment,{children:[U.jsxs(Ay,{anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...n,children:[U.jsx(qO,{sx:{width:t},children:U.jsx(ha,{style:{maxHeight:300,overflow:"auto"},children:U.jsx(Vk,{pageStart:0,loadMore:()=>o(),hasMore:a,loader:U.jsx(ha,{className:"loader",children:U.jsx(dh,{size:"sm"})},0),useWindow:!1,children:c.map(x=>U.jsxs(oc,{onClick:()=>g(x.slug),children:[U.jsx(ah,{primaryTypographyProps:{noWrap:!0,variant:"body2"},children:x.title}),i.workspaceSlug===x.slug&&U.jsx(jz,{children:U.jsx(eWe,{fontSize:"small"})})]},x.id))})})}),U.jsx(oy,{}),U.jsx(qO,{sx:{width:t},children:U.jsxs(oc,{onClick:b,children:[U.jsx(J0,{children:U.jsx(QH,{fontSize:"small",color:"primary"})}),U.jsx(ah,{primaryTypographyProps:{color:"primary"},children:"Create Workspace"})]})})]}),U.jsx(K1e,{open:d,title:"Workspace",onClose:b,onSuccess:w,enableConflictCheck:!0})]})}const fI=256,zre=64;function znt(){var d,f,p;const e=ei($E),t=ei(wD),[n,r]=Y.useState(null),[i,s]=Y.useState(null),a=g=>{s(g.currentTarget)},o=()=>{s(null)},l=g=>{r(g.currentTarget)},c=()=>{r(null)};return U.jsxs(Dz,{position:"fixed",children:[U.jsx(Yz,{children:U.jsxs(Rr,{width:"100%",direction:"row",justifyContent:"space-between",alignItems:"center",children:[U.jsx(yl,{variant:"text",color:"inherit",sx:{width:fI,textAlign:"left"},onClick:l,children:U.jsxs(Rr,{width:1,direction:"row",justifyContent:"space-between",alignItems:"center",children:[U.jsx(fi,{variant:"h6",component:"span",noWrap:!0,children:(d=t.data)==null?void 0:d.title}),n?U.jsx(nWe,{}):U.jsx(tWe,{})]})}),U.jsx(Unt,{open:!!n,anchorEl:n,onClose:c,width:fI}),U.jsx(Gl,{onClick:a,children:U.jsx(qb,{children:(p=(f=e.data)==null?void 0:f.nickname)==null?void 0:p.charAt(0)})})]})}),U.jsx(Y1e,{open:!!i,anchorEl:i,onClose:o})]})}function Hnt(e){const{open:t}=e,n=T1(),r=k1(),i=Sf(),s=mc(),[a,o]=Y.useState(!1),l=Y.useMemo(()=>n.pathname.split("/")[2]??"main",[n.pathname]),c=Y.useMemo(()=>[{title:"Workspace",IconComponent:hWe,selected:l==="main",moveTo:`/${r.workspaceSlug}`},{title:"Members",IconComponent:lWe,selected:l==="member",moveTo:`/${r.workspaceSlug}/member`}],[l,r.workspaceSlug]),d=()=>{s(Tnt(!t)),o(!1)},f=()=>{o(!0)},p=()=>{o(!1)};return U.jsxs(ha,{children:[U.jsx(ha,{sx:{width:t?fI:zre}}),U.jsx(Ko,{sx:{position:"fixed",top:0,left:0,height:"100vh",zIndex:10},children:U.jsx(gM,{orientation:"horizontal",in:a||t,collapsedSize:zre,children:U.jsxs(ha,{sx:{width:fI,overflow:"hidden"},children:[U.jsx(J1e,{}),U.jsx(Ko,{square:!0,elevation:0,onMouseEnter:f,onMouseLeave:p,sx:{backgroundColor:"transparent"},children:U.jsxs(rde,{children:[U.jsx(uJ,{onClick:d,children:U.jsx(J0,{children:t?U.jsx(rWe,{}):U.jsx(iWe,{})})}),c.map((g,b)=>U.jsxs(uJ,{onClick:()=>i(g.moveTo),selected:g.selected,children:[U.jsx(J0,{children:U.jsx(g.IconComponent,{color:g.selected?"primary":"inherit"})}),U.jsx(ah,{primary:g.title})]},b))]})})]})})})]})}const J1e=Qt("div")(({theme:e})=>({display:"flex",alignItems:"center",padding:e.spacing(0,1),...e.mixins.toolbar,justifyContent:"flex-end"}));function qnt(){const{drawerOpen:e}=ei(Fy);return U.jsxs(ha,{sx:{display:"flex"},children:[U.jsx(znt,{}),U.jsxs(Rr,{direction:"row",sx:{width:"100%"},children:[U.jsx(Hnt,{open:e}),U.jsxs(ha,{flexGrow:1,padding:3,children:[U.jsx(J1e,{}),U.jsx(pD,{})]})]})]})}var jnt=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(r,i,s){n.o(r,i)||Object.defineProperty(r,i,{enumerable:!0,get:s})},n.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,i){if(1&i&&(r=n(r)),8&i||4&i&&typeof r=="object"&&r&&r.__esModule)return r;var s=Object.create(null);if(n.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:r}),2&i&&typeof r!="string")for(var a in r)n.d(s,a,(function(o){return r[o]}).bind(null,a));return s},n.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(i,"a",i),i},n.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},n.p="",n(n.s=4)}([function(e,t,n){e.exports=n(2)()},function(e,t){e.exports=Y},function(e,t,n){var r=n(3);function i(){}function s(){}s.resetWarningCache=i,e.exports=function(){function a(c,d,f,p,g,b){if(b!==r){var w=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw w.name="Invariant Violation",w}}function o(){return a}a.isRequired=a;var l={array:a,bool:a,func:a,number:a,object:a,string:a,symbol:a,any:a,arrayOf:o,element:a,elementType:a,instanceOf:o,node:a,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:s,resetWarningCache:i};return l.PropTypes=l,l}},function(e,t,n){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){n.r(t),n.d(t,"FacebookLoginButton",function(){return ae}),n.d(t,"GoogleLoginButton",function(){return re}),n.d(t,"GithubLoginButton",function(){return ue}),n.d(t,"TwitterLoginButton",function(){return Ze}),n.d(t,"AmazonLoginButton",function(){return Nt}),n.d(t,"InstagramLoginButton",function(){return Vt}),n.d(t,"LinkedInLoginButton",function(){return Xe}),n.d(t,"MicrosoftLoginButton",function(){return te}),n.d(t,"BufferLoginButton",function(){return We}),n.d(t,"TelegramLoginButton",function(){return Qe}),n.d(t,"AppleLoginButton",function(){return Ne}),n.d(t,"DiscordLoginButton",function(){return Dt}),n.d(t,"OktaLoginButton",function(){return Fn}),n.d(t,"SlackLoginButton",function(){return fn}),n.d(t,"YahooLoginButton",function(){return ai}),n.d(t,"createButton",function(){return me}),n.d(t,"createSvgIcon",function(){return le}),n.d(t,"ZaloLoginButton",function(){return xr}),n.d(t,"TikTokLoginButton",function(){return _r}),n.d(t,"MetamaskLoginButton",function(){return wa});var r={};n.r(r),n.d(r,"FacebookLoginButton",function(){return ae}),n.d(r,"GoogleLoginButton",function(){return re}),n.d(r,"GithubLoginButton",function(){return ue}),n.d(r,"TwitterLoginButton",function(){return Ze}),n.d(r,"AmazonLoginButton",function(){return Nt}),n.d(r,"InstagramLoginButton",function(){return Vt}),n.d(r,"LinkedInLoginButton",function(){return Xe}),n.d(r,"MicrosoftLoginButton",function(){return te}),n.d(r,"BufferLoginButton",function(){return We}),n.d(r,"TelegramLoginButton",function(){return Qe}),n.d(r,"AppleLoginButton",function(){return Ne}),n.d(r,"DiscordLoginButton",function(){return Dt}),n.d(r,"OktaLoginButton",function(){return Fn}),n.d(r,"SlackLoginButton",function(){return fn}),n.d(r,"YahooLoginButton",function(){return ai}),n.d(r,"createButton",function(){return me}),n.d(r,"createSvgIcon",function(){return le}),n.d(r,"ZaloLoginButton",function(){return xr}),n.d(r,"TikTokLoginButton",function(){return _r}),n.d(r,"MetamaskLoginButton",function(){return wa});var i=n(1),s=n.n(i),a=n(0),o=n.n(a),l=function(at){var z=at.name,L=at.size,ve=at.format;return s.a.createElement("i",{className:ve(z),style:{fontSize:L}})};l.propTypes={format:o.a.func,name:o.a.string.isRequired,size:o.a.oneOfType([o.a.string,o.a.number]).isRequired},l.defaultProps={format:function(at){return"demo-icon icon-".concat(at)},size:26};var c=l,d=function(at){var z=at.type,L=at.size,ve=at.format,X=at.color,be=X===void 0?"#FFFFFF":X;return typeof z=="string"?s.a.createElement(c,{format:ve,name:z,size:L}):s.a.createElement(z,{size:L,color:be})};d.propTypes={format:o.a.func,size:o.a.oneOfType([o.a.number,o.a.string]),type:o.a.oneOfType([o.a.string,o.a.node,o.a.func]),color:o.a.string};var f=d;function p(at,z){var L=Object.keys(at);if(Object.getOwnPropertySymbols){var ve=Object.getOwnPropertySymbols(at);z&&(ve=ve.filter(function(X){return Object.getOwnPropertyDescriptor(at,X).enumerable})),L.push.apply(L,ve)}return L}function g(at){for(var z=1;z"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var L,ve=M(at);if(z){var X=M(this).constructor;L=Reflect.construct(ve,arguments,X)}else L=ve.apply(this,arguments);return I(this,L)}}function I(at,z){return!z||w(z)!=="object"&&typeof z!="function"?function(L){if(L===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L}(at):z}function M(at){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(z){return z.__proto__||Object.getPrototypeOf(z)})(at)}var $=function(at){(function(be,Rt){if(typeof Rt!="function"&&Rt!==null)throw new TypeError("Super expression must either be null or a function");be.prototype=Object.create(Rt&&Rt.prototype,{constructor:{value:be,writable:!0,configurable:!0}}),Rt&&_(be,Rt)})(X,at);var z,L,ve=C(X);function X(be){var Rt;return function(At,ot){if(!(At instanceof ot))throw new TypeError("Cannot call a class as a function")}(this,X),(Rt=ve.call(this,be)).state={focused:!1,hovered:!1},Rt.handleMouseEnter=function(){Rt.setState({hovered:!0}),typeof Rt.props.onMouseEnter=="function"&&Rt.props.onMouseEnter()},Rt.handleMouseLeave=function(){Rt.setState({hovered:!1}),typeof Rt.props.onMouseLeave=="function"&&Rt.props.onMouseLeave()},Rt.handleFocus=function(){Rt.setState({focused:!0})},Rt.handleBlur=function(){Rt.setState({focused:!1})},Rt.handleClick=function(At){typeof Rt.props.onClick=="function"&&Rt.props.onClick(At)},Rt}return z=X,(L=[{key:"render",value:function(){var be=this.props,Rt=be.activeStyle,At=be.align,ot=be.text,Je=be.children,ft=Je===void 0?ot:Je,Mt=be.className,Yt=be.icon,Nn=be.iconFormat,Ce=be.iconSize,_t=be.iconColor,Ue=_t===void 0?"#FFFFFF":_t,Mi=be.preventActiveStyles,Jn=be.size,xi=be.style,ti=be.disabled,wn=this.state,as=wn.focused,Qi=wn.hovered,Ln=j(F.button,{activeStyle:Mi?xi:Rt,customStyle:xi,active:Qi||as,size:Jn});return s.a.createElement("button",x({type:"button",style:Ln,onClick:this.handleClick,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur},{className:Mt},{disabled:ti}),s.a.createElement("div",{style:F.flex},!B(Ce)&&s.a.createElement("div",{style:{display:"flex",justifyContent:"center",minWidth:Ce}},s.a.createElement(f,{type:Yt,size:Ce,format:Nn,color:Ue})),!B(Ce)&&s.a.createElement("div",{style:F.divider}),s.a.createElement("div",{style:{textAlign:At,width:"100%"}},ft)))}}])&&T(z.prototype,L),X}(i.Component),B=function(at){return at==="0"||at==="0px"||at===0},j=function(at,z){var L=z.size,ve=z.customStyle,X=z.active,be=z.activeStyle;return g(g(g({},at),{},{height:L},ve),X&&be)};$.propTypes={activeStyle:o.a.object,align:o.a.oneOf(["left","right","center"]),children:o.a.node,className:o.a.string,icon:o.a.oneOfType([o.a.string,o.a.node,o.a.func]),iconFormat:o.a.func,iconSize:o.a.string,iconColor:o.a.string,onClick:o.a.func,onMouseEnter:o.a.func,onMouseLeave:o.a.func,preventActiveStyles:o.a.bool,size:o.a.string,style:o.a.object,text:o.a.string,disabled:o.a.bool},$.defaultProps={align:"left",iconSize:"26px",preventActiveStyles:!1,size:"50px"};var F={button:{display:"block",border:0,borderRadius:3,boxShadow:"rgba(0, 0, 0, 0.5) 0 1px 2px",color:"#ffffff",cursor:"pointer",fontSize:"19px",margin:"5px",width:"calc(100% - 10px)",overflow:"hidden",padding:"0 10px",userSelect:"none"},divider:{width:"10px"},flex:{alignItems:"center",display:"flex",height:"100%"}};function V(at,z){var L=Object.keys(at);if(Object.getOwnPropertySymbols){var ve=Object.getOwnPropertySymbols(at);z&&(ve=ve.filter(function(X){return Object.getOwnPropertyDescriptor(at,X).enumerable})),L.push.apply(L,ve)}return L}function ie(at){for(var z=1;z{window.location.href=`https://codepair-api.yorkie.dev/auth/login/${t}`};return U.jsx(Hz,{sx:{height:1},children:U.jsx(Rr,{alignItems:"center",justifyContent:"center",sx:{height:1},children:U.jsx(Ko,{sx:{p:5,width:"small",boxShadow:2,maxWidth:"80%"},children:U.jsxs(Rr,{gap:4,children:[U.jsxs(ha,{children:[U.jsxs(Rr,{direction:"row",gap:1,children:[U.jsx(Z1e,{}),U.jsx(fi,{variant:"h6",children:"Login"})]}),U.jsx(fi,{variant:"body2",color:"text.secondary",maxWidth:320,children:"Real-time markdown editor for interviews, meetings and more..."})]}),U.jsxs(Rr,{gap:2,children:[U.jsxs(AS,{container:!0,spacing:1,alignItems:"center",children:[U.jsx(AS,{item:!0,xs:!0,children:U.jsx(oy,{sx:{width:1}})}),U.jsx(AS,{item:!0,xs:"auto",children:U.jsx(fi,{variant:"body2",color:"text.secondary",children:"Login with"})}),U.jsx(AS,{item:!0,xs:!0,children:U.jsx(oy,{sx:{width:1}})})]}),Wnt.map(({SocailLoginComponent:t,provider:n})=>U.jsx(t,{size:"48px",onClick:()=>e(n)},n))]})]})})})})}function Vnt(){const e=mc(),t=Sf(),[n]=RH();return Y.useEffect(()=>{const r=n.get("accessToken"),i=n.get("refreshToken");if(!r||!i){t("/");return}e(Ope(r)),e(Bqe(i))},[e,t,n]),U.jsx(ha,{})}const Gnt=()=>{const e=Sf(),t=()=>{e("/")};return U.jsxs(ha,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",height:"100vh",width:"100vw",textAlign:"center",bgcolor:"background.default",color:"text.primary",p:3},children:[U.jsx(fi,{variant:"h1",component:"h1",gutterBottom:!0,children:"404"}),U.jsx(fi,{variant:"h5",component:"p",gutterBottom:!0,children:"Page Not Found"}),U.jsx(fi,{variant:"body1",component:"p",gutterBottom:!0,children:"The page you are looking for does not exist."}),U.jsx(yl,{variant:"contained",color:"primary",onClick:t,sx:{mt:2},children:"Go to Home"})]})},oL=117;function Ynt(){var f,p,g,b,w,x,T,_;const e=ei($E),[t,n]=Y.useState(((f=e.data)==null?void 0:f.nickname)||""),[r,i]=Y.useState(""),{data:s}=WH(r),{mutateAsync:a}=xpe(),o=Y.useMemo(()=>{var C;return r!=((C=e.data)==null?void 0:C.nickname)&&(s!=null&&s.conflict)?"Already Exists":null},[s==null?void 0:s.conflict,r,(p=e.data)==null?void 0:p.nickname]),l=Y.useMemo(()=>{var C;return!!o||t===((C=e.data)==null?void 0:C.nickname)||t.length===0},[o,t,(g=e.data)==null?void 0:g.nickname]);ED(()=>{i(t)},500,[t]),Y.useEffect(()=>{var C,I;(C=e.data)!=null&&C.nickname&&n(((I=e.data)==null?void 0:I.nickname)||"")},[(b=e.data)==null?void 0:b.nickname]);const c=C=>{n(C.target.value)},d=async C=>{await a(C)};return U.jsx(Hz,{sx:{height:"calc(100vh - 88px)",width:"100%"},children:U.jsxs(Rr,{alignItems:"center",justifyContent:"center",gap:6,sx:{height:1},children:[U.jsx(qb,{sx:{width:oL,height:oL,fontSize:oL/2},children:(x=(w=e.data)==null?void 0:w.nickname)==null?void 0:x.charAt(0).toUpperCase()}),U.jsx(Rr,{width:310,children:U.jsxs(yf,{children:[U.jsx(fi,{variant:"body1",children:"User name"}),((T=e.data)==null?void 0:T.nickname)&&U.jsx(BE,{defaultValues:{nickname:(_=e.data)==null?void 0:_.nickname},onSuccess:d,children:U.jsxs(Rr,{gap:3,children:[U.jsx(Y_,{variant:"standard",name:"nickname",required:!0,fullWidth:!0,inputProps:{maxLength:255},onChange:c,error:!!o,helperText:o}),U.jsx(yl,{type:"submit",variant:"contained",size:"large",disabled:l,children:"Save"})]})})]})})]})})}function Znt(e){const{document:t}=e,n=Sf(),r=k1(),i=()=>{n(`/${r.workspaceSlug}/${t.id}`)};return U.jsx(Jce,{sx:{width:"100%"},children:U.jsx(N6e,{onClick:i,children:U.jsxs(F6e,{children:[U.jsx(fi,{variant:"h5",component:"div",noWrap:!0,children:t.title}),U.jsxs(Rr,{direction:"row",alignItems:"center",gap:1,children:[U.jsx(Jje,{fontSize:"small",sx:{color:"text.secondary"}}),U.jsxs(fi,{variant:"body2",color:"text.secondary",noWrap:!0,children:["Changed ",An(t.updatedAt).fromNow()]})]})]})})})}function Xnt(){const e=k1(),t=Sf(),{data:n,isLoading:r}=oj(e.workspaceSlug),{data:i,fetchNextPage:s,hasNextPage:a}=wYe(n==null?void 0:n.id),{mutateAsync:o}=TYe((n==null?void 0:n.id)||""),[l,c]=Y.useState(!1),d=Y.useMemo(()=>(i==null?void 0:i.pages.reduce((g,b)=>g.concat(b.documents),[]))??[],[i==null?void 0:i.pages]);if(r)return U.jsx(wE,{open:!0,children:U.jsx(dh,{color:"inherit"})});const f=()=>{c(g=>!g)},p=async g=>{const b=await o(g);t(b.id)};return U.jsxs(Rr,{gap:2,children:[U.jsxs(Rr,{direction:"row",justifyContent:"space-between",alignItems:"center",px:2,children:[U.jsxs(fi,{variant:"h5",fontWeight:"bold",children:[n==null?void 0:n.title," ",U.jsx(fi,{component:"span",variant:"inherit",color:"primary",children:i==null?void 0:i.pages[0].totalLength})]}),U.jsx(yl,{variant:"contained",startIcon:U.jsx(QH,{}),onClick:f,children:"New Note"})]}),U.jsx(Rr,{style:{maxHeight:"calc(100vh - 144px)",overflow:"auto"},children:U.jsx(Vk,{pageStart:0,loadMore:()=>s(),hasMore:a,loader:U.jsx(Rr,{className:"loader",alignItems:"center",children:U.jsx(dh,{size:20})},0),useWindow:!1,children:U.jsx(ha,{p:2,width:1,children:U.jsx(AS,{container:!0,spacing:{xs:2,md:3},columns:{xs:4,sm:8,md:12,lg:12},children:d.map(g=>U.jsx(AS,{item:!0,xs:4,sm:4,md:4,lg:3,children:U.jsx(Znt,{document:g})},g.id))})})})}),U.jsx(K1e,{open:l,title:"Note",onSuccess:p,onClose:f})]})}const Knt=e=>{const t=Y.useRef(e);return Y.useEffect(()=>{t.current=e}),t},Jnt=(e,t=100,n=!1)=>{const r=Knt(e),i=Y.useRef(),s=[t,n,r];function a(){i.current&&clearTimeout(i.current),i.current=void 0}Y.useEffect(()=>a,s);function o(){i.current=void 0}return Y.useCallback(function(){const l=arguments,{current:c}=i;if(c===void 0&&n)return i.current=setTimeout(o,t),r.current.apply(null,l);c&&clearTimeout(c),i.current=setTimeout(()=>{i.current=void 0,r.current.apply(null,l)},t)},s)},ert=(e,t,n)=>{const r=Y.useState(e);return[r[0],Jnt(r[1],t,n)]};function lL(e,t,n,r){const i=Y.useRef(n),s=Y.useRef(r);Y.useEffect(()=>{i.current=n,s.current=r}),Y.useEffect(()=>{const a=e&&"current"in e?e.current:e;if(!a)return;let o=0;function l(...d){o||i.current.apply(this,d)}a.addEventListener(t,l);const c=s.current;return()=>{o=1,a.removeEventListener(t,l),c&&c()}},[e,t])}const trt={},CT=typeof window>"u"?null:window,nrt=CT&&typeof CT.visualViewport<"u"?CT.visualViewport:null,Hre=()=>[document.documentElement.clientWidth,document.documentElement.clientHeight],rrt=function(e){e===void 0&&(e=trt);const{wait:t,leading:n,initialWidth:r=0,initialHeight:i=0}=e,[s,a]=ert(typeof document>"u"?[r,i]:Hre,t,n),o=()=>a(Hre);return lL(CT,"resize",o),lL(nrt,"resize",o),lL(CT,"orientationchange",o),s},irt=e=>rrt(e)[0];function hI(){return hI=Object.assign?Object.assign.bind():function(e){for(var t=1;tc?(F(c),V.current=c):(F(tt),V.current=tt),x&&x({position:V.current})}}},[r,t,w,b,p,d,j,o,c,x,s]),he=Y.useCallback(function(){r||(F(s),V.current=s)},[r,s]);return{position:j,endPosition:se,isDragging:M,separatorProps:hI({},fe,{onPointerDown:ae,onKeyDown:Se,onDoubleClick:he}),setPosition:F,splitterProps:hI({},fe,{onPointerDown:ae,onKeyDown:Se,onDoubleClick:he})}},urt=function(e){var t=e.disabled,n=e.initial,r=e.min,i=e.max;return(0,e.children)(lrt({axis:e.axis,disabled:t!==void 0&&t,initial:n===void 0?0:n,min:r===void 0?0:r,max:i===void 0?1/0:i,reverse:e.reverse,onResizeStart:e.onResizeStart,onResizeEnd:e.onResizeEnd,containerRef:e.containerRef}))},nbe={exports:{}};(function(e,t){(function(r,i){e.exports=i(Y)})(Qc,function(n){return function(r){var i={};function s(a){if(i[a])return i[a].exports;var o=i[a]={i:a,l:!1,exports:{}};return r[a].call(o.exports,o,o.exports,s),o.l=!0,o.exports}return s.m=r,s.c=i,s.i=function(a){return a},s.d=function(a,o,l){s.o(a,o)||Object.defineProperty(a,o,{configurable:!1,enumerable:!0,get:l})},s.n=function(a){var o=a&&a.__esModule?function(){return a.default}:function(){return a};return s.d(o,"a",o),o},s.o=function(a,o){return Object.prototype.hasOwnProperty.call(a,o)},s.p="",s(s.s=10)}([function(r,i){var s=r.exports={},a,o;function l(){throw new Error("setTimeout has not been defined")}function c(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?a=setTimeout:a=l}catch{a=l}try{typeof clearTimeout=="function"?o=clearTimeout:o=c}catch{o=c}})();function d(I){if(a===setTimeout)return setTimeout(I,0);if((a===l||!a)&&setTimeout)return a=setTimeout,setTimeout(I,0);try{return a(I,0)}catch{try{return a.call(null,I,0)}catch{return a.call(this,I,0)}}}function f(I){if(o===clearTimeout)return clearTimeout(I);if((o===c||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(I);try{return o(I)}catch{try{return o.call(null,I)}catch{return o.call(this,I)}}}var p=[],g=!1,b,w=-1;function x(){!g||!b||(g=!1,b.length?p=b.concat(p):w=-1,p.length&&T())}function T(){if(!g){var I=d(x);g=!0;for(var M=p.length;M;){for(b=p,p=[];++w1)for(var $=1;$1?p-1:0),b=1;b2?g-2:0),w=2;w0&&$.syncScrollPosition($.panes[me][0],ie),$.panes[me].push(ie))}),$.addEvents(ie,se)},$.unregisterPane=function(ie,se){se.forEach(function(me){$.findPane(ie,me)&&($.removeEvents(ie),$.panes[me].splice($.panes[me].indexOf(ie),1))})},$.addEvents=function(ie,se){ie.onscroll=$.handlePaneScroll.bind($,ie,se)},$.removeEvents=function(ie){ie.onscroll=null},$.findPane=function(ie,se){return $.panes[se]?$.panes[se].find(function(me){return me===ie}):!1},$.handlePaneScroll=function(ie,se){$.props.enabled&&window.requestAnimationFrame(function(){$.syncScrollPositions(ie,se)})},$.syncScrollPositions=function(ie,se){se.forEach(function(me){$.panes[me].forEach(function(fe){ie!==fe&&($.removeEvents(fe,me),$.syncScrollPosition(ie,fe),window.requestAnimationFrame(function(){$.addEvents(fe,se)}))})}),$.props.onSync&&$.props.onSync(ie)},M),w($,B)}return a(C,[{key:"getContextValue",value:function(){return{registerPane:this.registerPane,unregisterPane:this.unregisterPane}}},{key:"syncScrollPosition",value:function(M,$){var B=M.scrollTop,j=M.scrollHeight,F=M.clientHeight,V=M.scrollLeft,ie=M.scrollWidth,se=M.clientWidth,me=j-F,fe=ie-se,le=this.props,ye=le.proportional,ae=le.vertical,Se=le.horizontal,he=$.scrollHeight-F,re=$.scrollWidth-se;ae&&me>0&&($.scrollTop=ye?he*B/me:B),Se&&fe>0&&($.scrollLeft=ye?re*V/fe:V)}},{key:"render",value:function(){return l.default.createElement(p.default.Provider,{value:this.getContextValue()},l.default.Children.only(this.props.children))}}]),C}(o.Component);T.propTypes={onSync:d.default.func,children:d.default.element.isRequired,proportional:d.default.bool,vertical:d.default.bool,horizontal:d.default.bool,enabled:d.default.bool},T.defaultProps={proportional:!0,vertical:!0,horizontal:!0,enabled:!0},i.default=T,r.exports=i.default},function(r,i,s){Object.defineProperty(i,"__esModule",{value:!0});var a=function(){function T(_,C){for(var I=0;I"u"||je===null)return""+je;var ue=Se(je);if(ue==="object"){if(je instanceof Date)return"date";if(je instanceof RegExp)return"regexp"}return ue}function re(je){var ue=he(je);switch(ue){case"array":case"object":return"an "+ue;case"boolean":case"date":case"regexp":return"a "+ue;default:return ue}}function Fe(je){return!je.constructor||!je.constructor.name?T:je.constructor.name}return _.checkPropTypes=f,_.PropTypes=_,_}}).call(i,s(0))}])})})(nbe);var RF=nbe.exports;class pI{static create(t,n,r,i,s){let a=i+(i<<8)+t+(n<<4)|0;return new pI(t,n,r,a,s,[],[])}constructor(t,n,r,i,s,a,o){this.type=t,this.value=n,this.from=r,this.hash=i,this.end=s,this.children=a,this.positions=o,this.hashProp=[[Nr.contextHash,i]]}addChild(t,n){t.prop(Nr.contextHash)!=this.hash&&(t=new ns(t.type,t.children,t.positions,t.length,this.hashProp)),this.children.push(t),this.positions.push(n)}toTree(t,n=this.end){let r=this.children.length-1;return r>=0&&(n=Math.max(n,this.positions[r]+this.children[r].length+this.from)),new ns(t.types[this.type],this.children,this.positions,n-this.from).balance({makeTree:(i,s,a)=>new ns(Do.none,i,s,a,this.hashProp)})}}var yn;(function(e){e[e.Document=1]="Document",e[e.CodeBlock=2]="CodeBlock",e[e.FencedCode=3]="FencedCode",e[e.Blockquote=4]="Blockquote",e[e.HorizontalRule=5]="HorizontalRule",e[e.BulletList=6]="BulletList",e[e.OrderedList=7]="OrderedList",e[e.ListItem=8]="ListItem",e[e.ATXHeading1=9]="ATXHeading1",e[e.ATXHeading2=10]="ATXHeading2",e[e.ATXHeading3=11]="ATXHeading3",e[e.ATXHeading4=12]="ATXHeading4",e[e.ATXHeading5=13]="ATXHeading5",e[e.ATXHeading6=14]="ATXHeading6",e[e.SetextHeading1=15]="SetextHeading1",e[e.SetextHeading2=16]="SetextHeading2",e[e.HTMLBlock=17]="HTMLBlock",e[e.LinkReference=18]="LinkReference",e[e.Paragraph=19]="Paragraph",e[e.CommentBlock=20]="CommentBlock",e[e.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",e[e.Escape=22]="Escape",e[e.Entity=23]="Entity",e[e.HardBreak=24]="HardBreak",e[e.Emphasis=25]="Emphasis",e[e.StrongEmphasis=26]="StrongEmphasis",e[e.Link=27]="Link",e[e.Image=28]="Image",e[e.InlineCode=29]="InlineCode",e[e.HTMLTag=30]="HTMLTag",e[e.Comment=31]="Comment",e[e.ProcessingInstruction=32]="ProcessingInstruction",e[e.Autolink=33]="Autolink",e[e.HeaderMark=34]="HeaderMark",e[e.QuoteMark=35]="QuoteMark",e[e.ListMark=36]="ListMark",e[e.LinkMark=37]="LinkMark",e[e.EmphasisMark=38]="EmphasisMark",e[e.CodeMark=39]="CodeMark",e[e.CodeText=40]="CodeText",e[e.CodeInfo=41]="CodeInfo",e[e.LinkTitle=42]="LinkTitle",e[e.LinkLabel=43]="LinkLabel",e[e.URL=44]="URL"})(yn||(yn={}));class crt{constructor(t,n){this.start=t,this.content=n,this.marks=[],this.parsers=[]}}class drt{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let t=this.skipSpace(this.basePos);this.indent=this.countIndent(t,this.pos,this.indent),this.pos=t,this.next=t==this.text.length?-1:this.text.charCodeAt(t)}skipSpace(t){return RT(this.text,t)}reset(t){for(this.text=t,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(t){this.basePos=t,this.baseIndent=this.countIndent(t,this.pos,this.indent)}moveBaseColumn(t){this.baseIndent=t,this.basePos=this.findColumn(t)}addMarker(t){this.markers.push(t)}countIndent(t,n=0,r=0){for(let i=n;i=t.stack[n.depth+1].value+n.baseIndent)return!0;if(n.indent>=n.baseIndent+4)return!1;let r=(e.type==yn.OrderedList?cj:uj)(n,t,!1);return r>0&&(e.type!=yn.BulletList||lj(n,t,!1)<0)&&n.text.charCodeAt(n.pos+r-1)==e.value}const rbe={[yn.Blockquote](e,t,n){return n.next!=62?!1:(n.markers.push(Di(yn.QuoteMark,t.lineStart+n.pos,t.lineStart+n.pos+1)),n.moveBase(n.pos+(xf(n.text.charCodeAt(n.pos+1))?2:1)),e.end=t.lineStart+n.text.length,!0)},[yn.ListItem](e,t,n){return n.indent-1?!1:(n.moveBaseColumn(n.baseIndent+e.value),!0)},[yn.OrderedList]:qre,[yn.BulletList]:qre,[yn.Document](){return!0}};function xf(e){return e==32||e==9||e==10||e==13}function RT(e,t=0){for(;tn&&xf(e.charCodeAt(t-1));)t--;return t}function ibe(e){if(e.next!=96&&e.next!=126)return-1;let t=e.pos+1;for(;t-1&&e.depth==t.stack.length&&t.parser.leafBlockParsers.indexOf(fbe.SetextHeading)>-1||r<3?-1:1}function abe(e,t){for(let n=e.stack.length-1;n>=0;n--)if(e.stack[n].type==t)return!0;return!1}function uj(e,t,n){return(e.next==45||e.next==43||e.next==42)&&(e.pos==e.text.length-1||xf(e.text.charCodeAt(e.pos+1)))&&(!n||abe(t,yn.BulletList)||e.skipSpace(e.pos+2)=48&&i<=57;){r++;if(r==e.text.length)return-1;i=e.text.charCodeAt(r)}return r==e.pos||r>e.pos+9||i!=46&&i!=41||re.pos+1||e.next!=49)?-1:r+1-e.pos}function obe(e){if(e.next!=35)return-1;let t=e.pos+1;for(;t6?-1:n}function lbe(e){if(e.next!=45&&e.next!=61||e.indent>=e.baseIndent+4)return-1;let t=e.pos+1;for(;t/,cbe=/\?>/,DF=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/,dbe=/\?>/,DF=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/i.exec(r);if(s)return e.append(Di(yn.Comment,n,n+1+s[0].length));let a=/^\?[^]*?\?>/.exec(r);if(a)return e.append(Di(yn.ProcessingInstruction,n,n+1+a[0].length));let o=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(r);return o?e.append(Di(yn.HTMLTag,n,n+1+o[0].length)):-1},Emphasis(e,t,n){if(t!=95&&t!=42)return-1;let r=n+1;for(;e.char(r)==t;)r++;let i=e.slice(n-1,n),s=e.slice(r,r+1),a=Yk.test(i),o=Yk.test(s),l=/\s|^$/.test(i),c=/\s|^$/.test(s),d=!c&&(!o||l||a),f=!l&&(!a||c||o),p=d&&(t==42||!f||a),g=f&&(t==42||!d||o);return e.append(new Wd(t==95?bbe:ybe,n,r,(p?1:0)|(g?2:0)))},HardBreak(e,t,n){if(t==92&&e.char(n+1)==10)return e.append(Di(yn.HardBreak,n,n+2));if(t==32){let r=n+1;for(;e.char(r)==32;)r++;if(e.char(r)==10&&r>=n+2)return e.append(Di(yn.HardBreak,n,r+1))}return-1},Link(e,t,n){return t==91?e.append(new Wd(uS,n,n+1,1)):-1},Image(e,t,n){return t==33&&e.char(n+1)==91?e.append(new Wd(PF,n,n+2,1)):-1},LinkEnd(e,t,n){if(t!=93)return-1;for(let r=e.parts.length-1;r>=0;r--){let i=e.parts[r];if(i instanceof Wd&&(i.type==uS||i.type==PF)){if(!i.side||e.skipSpace(i.to)==n&&!/[(\[]/.test(e.slice(n+1,n+2)))return e.parts[r]=null,-1;let s=e.takeContent(r),a=e.parts[r]=brt(e,s,i.type==uS?yn.Link:yn.Image,i.from,n+1);if(i.type==uS)for(let o=0;ot?Di(yn.URL,t+n,s+n):s==e.length?null:!1}}function Sbe(e,t,n){let r=e.charCodeAt(t);if(r!=39&&r!=34&&r!=40)return!1;let i=r==40?41:r;for(let s=t+1,a=!1;s=this.end?-1:this.text.charCodeAt(t-this.offset)}get end(){return this.offset+this.text.length}slice(t,n){return this.text.slice(t-this.offset,n-this.offset)}append(t){return this.parts.push(t),t.to}addDelimiter(t,n,r,i,s){return this.append(new Wd(t,n,r,(i?1:0)|(s?2:0)))}get hasOpenLink(){for(let t=this.parts.length-1;t>=0;t--){let n=this.parts[t];if(n instanceof Wd&&(n.type==uS||n.type==PF))return!0}return!1}addElement(t){return this.append(t)}resolveMarkers(t){for(let r=t;r=t;l--){let w=this.parts[l];if(w instanceof Wd&&w.side&1&&w.type==i.type&&!(s&&(i.side&1||w.side&2)&&(w.to-w.from+a)%3==0&&((w.to-w.from)%3||a%3))){o=w;break}}if(!o)continue;let c=i.type.resolve,d=[],f=o.from,p=i.to;if(s){let w=Math.min(2,o.to-o.from,a);f=o.to-w,p=i.from+w,c=w==1?"Emphasis":"StrongEmphasis"}o.type.mark&&d.push(this.elt(o.type.mark,f,o.to));for(let w=l+1;w=0;n--){let r=this.parts[n];if(r instanceof Wd&&r.type==t)return n}return null}takeContent(t){let n=this.resolveMarkers(t);return this.parts.length=t,n}skipSpace(t){return RT(this.text,t-this.offset)+this.offset}elt(t,n,r,i){return typeof t=="string"?Di(this.parser.getNodeType(t),n,r,i):new gbe(t,n)}}function LF(e,t){if(!t.length)return e;if(!e.length)return t;let n=e.slice(),r=0;for(let i of t){for(;r(t?t-1:0))return!1;if(this.fragmentEnd<0){let s=this.fragment.to;for(;s>0&&this.input.read(s-1,s)!=` -`;)s--;this.fragmentEnd=s?s-1:0}let r=this.cursor;r||(r=this.cursor=this.fragment.tree.cursor(),r.firstChild());let i=t+this.fragment.offset;for(;r.to<=i;)if(!r.parent())return!1;for(;;){if(r.from>=i)return this.fragment.from<=n;if(!r.childAfter(i))return!1}}matches(t){let n=this.cursor.tree;return n&&n.prop(Nr.contextHash)==t}takeNodes(t){let n=this.cursor,r=this.fragment.offset,i=this.fragmentEnd-(this.fragment.openEnd?1:0),s=t.absoluteLineStart,a=s,o=t.block.children.length,l=a,c=o;for(;;){if(n.to-r>i){if(n.type.isAnonymous&&n.firstChild())continue;break}let d=Ebe(n.from-r,t.ranges);if(n.to-r<=t.ranges[t.rangeI].to)t.addNode(n.tree,d);else{let f=new ns(t.parser.nodeSet.types[yn.Paragraph],[],[],0,t.block.hashProp);t.reusePlaceholders.set(f,n.tree),t.addNode(f,d)}if(n.type.is("Block")&&(vrt.indexOf(n.type.id)<0?(a=n.to-r,o=t.block.children.length):(a=l,o=c,l=n.to-r,c=t.block.children.length)),!n.nextSibling())break}for(;t.block.children.length>o;)t.block.children.pop(),t.block.positions.pop();return a-s}};function Ebe(e,t){let n=e;for(let r=1;rK4[e]),Object.keys(K4).map(e=>fbe[e]),Object.keys(K4),prt,rbe,Object.keys(cL).map(e=>cL[e]),Object.keys(cL),[]);function wrt(e,t,n){let r=[];for(let i=e.firstChild,s=t;;i=i.nextSibling){let a=i?i.from:n;if(a>s&&r.push({from:s,to:a}),!i)break;s=i.to}return r}function xrt(e){let{codeParser:t,htmlParser:n}=e;return{wrap:Ege((i,s)=>{let a=i.type.id;if(t&&(a==yn.CodeBlock||a==yn.FencedCode)){let o="";if(a==yn.FencedCode){let c=i.node.getChild(yn.CodeInfo);c&&(o=s.read(c.from,c.to))}let l=t(o);if(l)return{parser:l,overlay:c=>c.type.id==yn.CodeText}}else if(n&&(a==yn.HTMLBlock||a==yn.HTMLTag))return{parser:n,overlay:wrt(i.node,i.from,i.to)};return null})}}const Trt={resolve:"Strikethrough",mark:"StrikethroughMark"},krt={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":ze.strikethrough}},{name:"StrikethroughMark",style:ze.processingInstruction}],parseInline:[{name:"Strikethrough",parse(e,t,n){if(t!=126||e.char(n+1)!=126||e.char(n+2)==126)return-1;let r=e.slice(n-1,n),i=e.slice(n+2,n+3),s=/\s|^$/.test(r),a=/\s|^$/.test(i),o=Yk.test(r),l=Yk.test(i);return e.addDelimiter(Trt,n,n+2,!a&&(!l||s||o),!s&&(!o||a||l))},after:"Emphasis"}]};function IT(e,t,n=0,r,i=0){let s=0,a=!0,o=-1,l=-1,c=!1,d=()=>{r.push(e.elt("TableCell",i+o,i+l,e.parser.parseInline(t.slice(o,l),i+o)))};for(let f=n;f-1)&&s++,a=!1,r&&(o>-1&&d(),r.push(e.elt("TableDelimiter",f+i,f+i+1))),o=l=-1):(c||p!=32&&p!=9)&&(o<0&&(o=f),l=f+1),c=!c&&p==92}return o>-1&&(s++,r&&d()),s}function Vre(e,t){for(let n=t;ni instanceof Gre)||!Vre(t.text,t.basePos))return!1;let r=e.scanLine(e.absoluteLineEnd+1).text;return wbe.test(r)&&IT(e,t.text,t.basePos)==IT(e,r,t.basePos)},before:"SetextHeading"}]};class Art{nextLine(){return!1}finish(t,n){return t.addLeafElement(n,t.elt("Task",n.start,n.start+n.content.length,[t.elt("TaskMarker",n.start,n.start+3),...t.parser.parseInline(n.content.slice(3),n.start+3)])),!0}}const Crt={defineNodes:[{name:"Task",block:!0,style:ze.list},{name:"TaskMarker",style:ze.atom}],parseBlock:[{name:"TaskList",leaf(e,t){return/^\[[ xX]\][ \t]/.test(t.content)&&e.parentType().name=="ListItem"?new Art:null},after:"SetextHeading"}]},Yre=/(www\.)|(https?:\/\/)|([\w.+-]+@)|(mailto:|xmpp:)/gy,Zre=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,Rrt=/[\w-]+\.[\w-]+($|\/)/,Xre=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,Kre=/\/[a-zA-Z\d@.]+/gy;function Jre(e,t,n,r){let i=0;for(let s=t;s-1)return-1;let r=t+n[0].length;for(;;){let i=e[r-1],s;if(/[?!.,:*_~]/.test(i)||i==")"&&Jre(e,t,r,")")>Jre(e,t,r,"("))r--;else if(i==";"&&(s=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(e.slice(t,r))))r=t+s.index;else break}return r}function eie(e,t){Xre.lastIndex=t;let n=Xre.exec(e);if(!n)return-1;let r=n[0][n[0].length-1];return r=="_"||r=="-"?-1:t+n[0].length-(r=="."?1:0)}const Drt={parseInline:[{name:"Autolink",parse(e,t,n){let r=n-e.offset;Yre.lastIndex=r;let i=Yre.exec(e.text),s=-1;if(!i)return-1;if(i[1]||i[2]){if(s=Irt(e.text,r+i[0].length),s>-1&&e.hasOpenLink){let a=/([^\[\]]|\[[^\]]*\])*/.exec(e.text.slice(r,s));s=r+a[0].length}}else i[3]?s=eie(e.text,r):(s=eie(e.text,r+i[0].length),s>-1&&i[0]=="xmpp:"&&(Kre.lastIndex=s,i=Kre.exec(e.text),i&&(s=i.index+i[0].length)));return s<0?-1:(e.addElement(e.elt("URL",n,s+e.offset)),s+e.offset)}}]},Nrt=[_rt,Crt,krt,Drt];function xbe(e,t,n){return(r,i,s)=>{if(i!=e||r.char(s+1)==e)return-1;let a=[r.elt(n,s,s+1)];for(let o=s+1;on%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(t,n,r=0){let i=t.parser.context;return new mI(t,[],n,r,r,0,[],0,i?new nie(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(t,n){this.stack.push(this.state,n,this.bufferBase+this.buffer.length),this.state=t}reduce(t){var n;let r=t>>19,i=t&65535,{parser:s}=this.p,a=this.reducePos=2e3&&!(!((n=this.p.parser.nodeSet.types[i])===null||n===void 0)&&n.isAnonymous)&&(c==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=d):this.p.lastBigReductionSizel;)this.stack.pop();this.reduceContext(i,c)}storeNode(t,n,r,i=4,s=!1){if(t==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&a.buffer[o-4]==0&&a.buffer[o-1]>-1){if(n==r)return;if(a.buffer[o-2]>=n){a.buffer[o-2]=r;return}}}if(!s||this.pos==r)this.buffer.push(t,n,r,i);else{let a=this.buffer.length;if(a>0&&this.buffer[a-4]!=0){let o=!1;for(let l=a;l>0&&this.buffer[l-2]>r;l-=4)if(this.buffer[l-1]>=0){o=!0;break}if(o)for(;a>0&&this.buffer[a-2]>r;)this.buffer[a]=this.buffer[a-4],this.buffer[a+1]=this.buffer[a-3],this.buffer[a+2]=this.buffer[a-2],this.buffer[a+3]=this.buffer[a-1],a-=4,i>4&&(i-=4)}this.buffer[a]=t,this.buffer[a+1]=n,this.buffer[a+2]=r,this.buffer[a+3]=i}}shift(t,n,r,i){if(t&131072)this.pushState(t&65535,this.pos);else if(t&262144)this.pos=i,this.shiftContext(n,r),n<=this.p.parser.maxNode&&this.buffer.push(n,r,i,4);else{let s=t,{parser:a}=this.p;(i>this.pos||n<=a.maxNode)&&(this.pos=i,a.stateFlag(s,1)||(this.reducePos=i)),this.pushState(s,r),this.shiftContext(n,r),n<=a.maxNode&&this.buffer.push(n,r,i,4)}}apply(t,n,r,i){t&65536?this.reduce(t):this.shift(t,n,r,i)}useNode(t,n){let r=this.p.reused.length-1;(r<0||this.p.reused[r]!=t)&&(this.p.reused.push(t),r++);let i=this.pos;this.reducePos=this.pos=i+t.length,this.pushState(n,i),this.buffer.push(r,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,t,this,this.p.stream.reset(this.pos-t.length)))}split(){let t=this,n=t.buffer.length;for(;n>0&&t.buffer[n-2]>t.reducePos;)n-=4;let r=t.buffer.slice(n),i=t.bufferBase+n;for(;t&&i==t.bufferBase;)t=t.parent;return new mI(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,i,this.curContext,this.lookAhead,t)}recoverByDelete(t,n){let r=t<=this.p.parser.maxNode;r&&this.storeNode(t,this.pos,n,4),this.storeNode(0,this.pos,n,r?8:4),this.pos=this.reducePos=n,this.score-=190}canShift(t){for(let n=new Frt(this);;){let r=this.p.parser.stateSlot(n.state,4)||this.p.parser.hasAction(n.state,t);if(r==0)return!1;if(!(r&65536))return!0;n.reduce(r)}}recoverByInsert(t){if(this.stack.length>=300)return[];let n=this.p.parser.nextStates(this.state);if(n.length>8||this.stack.length>=120){let i=[];for(let s=0,a;sl&1&&o==a)||i.push(n[s],a)}n=i}let r=[];for(let i=0;i>19,i=n&65535,s=this.stack.length-r*3;if(s<0||t.getGoto(this.stack[s],i,!1)<0){let a=this.findForcedReduction();if(a==null)return!1;n=a}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(n),!0}findForcedReduction(){let{parser:t}=this.p,n=[],r=(i,s)=>{if(!n.includes(i))return n.push(i),t.allActions(i,a=>{if(!(a&393216))if(a&65536){let o=(a>>19)-s;if(o>1){let l=a&65535,c=this.stack.length-o*3;if(c>=0&&t.getGoto(this.stack[c],l,!1)>=0)return o<<19|65536|l}}else{let o=r(a,s+1);if(o!=null)return o}})};return r(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:t}=this.p;return t.data[t.stateSlot(this.state,1)]==65535&&!t.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(t){if(this.state!=t.state||this.stack.length!=t.stack.length)return!1;for(let n=0;nthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=t)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class nie{constructor(t,n){this.tracker=t,this.context=n,this.hash=t.strict?t.hash(n):0}}class Frt{constructor(t){this.start=t,this.state=t.state,this.stack=t.stack,this.base=this.stack.length}reduce(t){let n=t&65535,r=t>>19;r==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(r-1)*3;let i=this.start.p.parser.getGoto(this.stack[this.base-3],n,!0);this.state=i}}class gI{constructor(t,n,r){this.stack=t,this.pos=n,this.index=r,this.buffer=t.buffer,this.index==0&&this.maybeNext()}static create(t,n=t.bufferBase+t.buffer.length){return new gI(t,n,n-t.bufferBase)}maybeNext(){let t=this.stack.parent;t!=null&&(this.index=this.stack.bufferBase-t.bufferBase,this.stack=t,this.buffer=t.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new gI(this.stack,this.pos,this.index)}}function Kw(e,t=Uint16Array){if(typeof e!="string")return e;let n=null;for(let r=0,i=0;r=92&&a--,a>=34&&a--;let l=a-32;if(l>=46&&(l-=46,o=!0),s+=l,o)break;s*=46}n?n[i++]=s:n=new t(s)}return n}class oR{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const rie=new oR;class $rt{constructor(t,n){this.input=t,this.ranges=n,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=rie,this.rangeIndex=0,this.pos=this.chunkPos=n[0].from,this.range=n[0],this.end=n[n.length-1].to,this.readNext()}resolveOffset(t,n){let r=this.range,i=this.rangeIndex,s=this.pos+t;for(;sr.to:s>=r.to;){if(i==this.ranges.length-1)return null;let a=this.ranges[++i];s+=a.from-r.to,r=a}return s}clipPos(t){if(t>=this.range.from&&tt)return Math.max(t,n.from);return this.end}peek(t){let n=this.chunkOff+t,r,i;if(n>=0&&n=this.chunk2Pos&&ro.to&&(this.chunk2=this.chunk2.slice(0,o.to-r)),i=this.chunk2.charCodeAt(0)}}return r>=this.token.lookAhead&&(this.token.lookAhead=r+1),i}acceptToken(t,n=0){let r=n?this.resolveOffset(n,-1):this.pos;if(r==null||r=this.chunk2Pos&&this.posthis.range.to?t.slice(0,this.range.to-this.pos):t,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(t=1){for(this.chunkOff+=t;this.pos+t>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();t-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=t,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(t,n){if(n?(this.token=n,n.start=t,n.lookAhead=t+1,n.value=n.extended=-1):this.token=rie,this.pos!=t){if(this.pos=t,t==this.end)return this.setDone(),this;for(;t=this.range.to;)this.range=this.ranges[++this.rangeIndex];t>=this.chunkPos&&t=this.chunkPos&&n<=this.chunkPos+this.chunk.length)return this.chunk.slice(t-this.chunkPos,n-this.chunkPos);if(t>=this.chunk2Pos&&n<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(t-this.chunk2Pos,n-this.chunk2Pos);if(t>=this.range.from&&n<=this.range.to)return this.input.read(t,n);let r="";for(let i of this.ranges){if(i.from>=n)break;i.to>t&&(r+=this.input.read(Math.max(i.from,t),Math.min(i.to,n)))}return r}}class cO{constructor(t,n){this.data=t,this.id=n}token(t,n){let{parser:r}=n.p;Tbe(this.data,t,n,this.id,r.data,r.tokenPrecTable)}}cO.prototype.contextual=cO.prototype.fallback=cO.prototype.extend=!1;class bI{constructor(t,n,r){this.precTable=n,this.elseToken=r,this.data=typeof t=="string"?Kw(t):t}token(t,n){let r=t.pos,i=0;for(;;){let s=t.next<0,a=t.resolveOffset(1,1);if(Tbe(this.data,t,n,0,this.data,this.precTable),t.token.value>-1)break;if(this.elseToken==null)return;if(s||i++,a==null)break;t.reset(a,t.token)}i&&(t.reset(r,t.token),t.acceptToken(this.elseToken,i))}}bI.prototype.contextual=cO.prototype.fallback=cO.prototype.extend=!1;class Eh{constructor(t,n={}){this.token=t,this.contextual=!!n.contextual,this.fallback=!!n.fallback,this.extend=!!n.extend}}function Tbe(e,t,n,r,i,s){let a=0,o=1<0){let b=e[g];if(l.allows(b)&&(t.token.value==-1||t.token.value==b||Brt(b,t.token.value,i,s))){t.acceptToken(b);break}}let d=t.next,f=0,p=e[a+2];if(t.next<0&&p>f&&e[c+p*3-3]==65535){a=e[c+p*3-1];continue e}for(;f>1,b=c+g+(g<<1),w=e[b],x=e[b+1]||65536;if(d=x)f=g+1;else{a=e[b+2],t.advance();continue e}}break}}function iie(e,t,n){for(let r=t,i;(i=e[r])!=65535;r++)if(i==n)return r-t;return-1}function Brt(e,t,n,r){let i=iie(n,r,t);return i<0||iie(n,r,e)t)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,t-25)):Math.min(e.length,Math.max(r.from+1,t+25));if(n<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return n<0?0:e.length}}class Urt{constructor(t,n){this.fragments=t,this.nodeSet=n,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let t=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(t){for(this.safeFrom=t.openStart?sie(t.tree,t.from+t.offset,1)-t.offset:t.from,this.safeTo=t.openEnd?sie(t.tree,t.to+t.offset,-1)-t.offset:t.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(t.tree),this.start.push(-t.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(t){if(tt)return this.nextStart=a,null;if(s instanceof ns){if(a==t){if(a=Math.max(this.safeFrom,t)&&(this.trees.push(s),this.start.push(a),this.index.push(0))}else this.index[n]++,this.nextStart=a+s.length}}}class zrt{constructor(t,n){this.stream=n,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=t.tokenizers.map(r=>new oR)}getActions(t){let n=0,r=null,{parser:i}=t.p,{tokenizers:s}=i,a=i.stateSlot(t.state,3),o=t.curContext?t.curContext.hash:0,l=0;for(let c=0;cf.end+25&&(l=Math.max(f.lookAhead,l)),f.value!=0)){let p=n;if(f.extended>-1&&(n=this.addActions(t,f.extended,f.end,n)),n=this.addActions(t,f.value,f.end,n),!d.extend&&(r=f,n>p))break}}for(;this.actions.length>n;)this.actions.pop();return l&&t.setLookAhead(l),!r&&t.pos==this.stream.end&&(r=new oR,r.value=t.p.parser.eofTerm,r.start=r.end=t.pos,n=this.addActions(t,r.value,r.end,n)),this.mainToken=r,this.actions}getMainToken(t){if(this.mainToken)return this.mainToken;let n=new oR,{pos:r,p:i}=t;return n.start=r,n.end=Math.min(r+1,i.stream.end),n.value=r==i.stream.end?i.parser.eofTerm:0,n}updateCachedToken(t,n,r){let i=this.stream.clipPos(r.pos);if(n.token(this.stream.reset(i,t),r),t.value>-1){let{parser:s}=r.p;for(let a=0;a=0&&r.p.parser.dialect.allows(o>>1)){o&1?t.extended=o>>1:t.value=o>>1;break}}}else t.value=0,t.end=this.stream.clipPos(i+1)}putAction(t,n,r,i){for(let s=0;st.bufferLength*4?new Urt(r,t.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let t=this.stacks,n=this.minStackPos,r=this.stacks=[],i,s;if(this.bigReductionCount>300&&t.length==1){let[a]=t;for(;a.forceReduce()&&a.stack.length&&a.stack[a.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let a=0;an)r.push(o);else{if(this.advanceStack(o,r,t))continue;{i||(i=[],s=[]),i.push(o);let l=this.tokens.getMainToken(o);s.push(l.value,l.end)}}break}}if(!r.length){let a=i&&jrt(i);if(a)return Ic&&console.log("Finish with "+this.stackID(a)),this.stackToTree(a);if(this.parser.strict)throw Ic&&i&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+n);this.recovering||(this.recovering=5)}if(this.recovering&&i){let a=this.stoppedAt!=null&&i[0].pos>this.stoppedAt?i[0]:this.runRecovery(i,s,r);if(a)return Ic&&console.log("Force-finish "+this.stackID(a)),this.stackToTree(a.forceAll())}if(this.recovering){let a=this.recovering==1?1:this.recovering*3;if(r.length>a)for(r.sort((o,l)=>l.score-o.score);r.length>a;)r.pop();r.some(o=>o.reducePos>n)&&this.recovering--}else if(r.length>1){e:for(let a=0;a500&&c.buffer.length>500)if((o.score-c.score||o.buffer.length-c.buffer.length)>0)r.splice(l--,1);else{r.splice(a--,1);continue e}}}r.length>12&&r.splice(12,r.length-12)}this.minStackPos=r[0].pos;for(let a=1;a ":"";if(this.stoppedAt!=null&&i>this.stoppedAt)return t.forceReduce()?t:null;if(this.fragments){let c=t.curContext&&t.curContext.tracker.strict,d=c?t.curContext.hash:0;for(let f=this.fragments.nodeAt(i);f;){let p=this.parser.nodeSet.types[f.type.id]==f.type?s.getGoto(t.state,f.type.id):-1;if(p>-1&&f.length&&(!c||(f.prop(Nr.contextHash)||0)==d))return t.useNode(f,p),Ic&&console.log(a+this.stackID(t)+` (via reuse of ${s.getName(f.type.id)})`),!0;if(!(f instanceof ns)||f.children.length==0||f.positions[0]>0)break;let g=f.children[0];if(g instanceof ns&&f.positions[0]==0)f=g;else break}}let o=s.stateSlot(t.state,4);if(o>0)return t.reduce(o),Ic&&console.log(a+this.stackID(t)+` (via always-reduce ${s.getName(o&65535)})`),!0;if(t.stack.length>=8400)for(;t.stack.length>6e3&&t.forceReduce(););let l=this.tokens.getActions(t);for(let c=0;ci?n.push(b):r.push(b)}return!1}advanceFully(t,n){let r=t.pos;for(;;){if(!this.advanceStack(t,null,null))return!1;if(t.pos>r)return aie(t,n),!0}}runRecovery(t,n,r){let i=null,s=!1;for(let a=0;a ":"";if(o.deadEnd&&(s||(s=!0,o.restart(),Ic&&console.log(d+this.stackID(o)+" (restarted)"),this.advanceFully(o,r))))continue;let f=o.split(),p=d;for(let g=0;f.forceReduce()&&g<10&&(Ic&&console.log(p+this.stackID(f)+" (via force-reduce)"),!this.advanceFully(f,r));g++)Ic&&(p=this.stackID(f)+" -> ");for(let g of o.recoverByInsert(l))Ic&&console.log(d+this.stackID(g)+" (via recover-insert)"),this.advanceFully(g,r);this.stream.end>o.pos?(c==o.pos&&(c++,l=0),o.recoverByDelete(l,c),Ic&&console.log(d+this.stackID(o)+` (via recover-delete ${this.parser.getName(l)})`),aie(o,r)):(!i||i.scoree;class kbe{constructor(t){this.start=t.start,this.shift=t.shift||fL,this.reduce=t.reduce||fL,this.reuse=t.reuse||fL,this.hash=t.hash||(()=>0),this.strict=t.strict!==!1}}class uE extends Nq{constructor(t){if(super(),this.wrappers=[],t.version!=14)throw new RangeError(`Parser version (${t.version}) doesn't match runtime version (14)`);let n=t.nodeNames.split(" ");this.minRepeatTerm=n.length;for(let o=0;ot.topRules[o][1]),i=[];for(let o=0;o=0)s(d,l,o[c++]);else{let f=o[c+-d];for(let p=-d;p>0;p--)s(o[c++],l,f);c++}}}this.nodeSet=new iA(n.map((o,l)=>Do.define({name:l>=this.minRepeatTerm?void 0:o,id:l,props:i[l],top:r.indexOf(l)>-1,error:l==0,skipped:t.skippedNodes&&t.skippedNodes.indexOf(l)>-1}))),t.propSources&&(this.nodeSet=this.nodeSet.extend(...t.propSources)),this.strict=!1,this.bufferLength=bge;let a=Kw(t.tokenData);this.context=t.context,this.specializerSpecs=t.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let o=0;otypeof o=="number"?new cO(a,o):o),this.topRules=t.topRules,this.dialects=t.dialects||{},this.dynamicPrecedences=t.dynamicPrecedences||null,this.tokenPrecTable=t.tokenPrec,this.termNames=t.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(t,n,r){let i=new Hrt(this,t,n,r);for(let s of this.wrappers)i=s(i,t,n,r);return i}getGoto(t,n,r=!1){let i=this.goto;if(n>=i[0])return-1;for(let s=i[n+1];;){let a=i[s++],o=a&1,l=i[s++];if(o&&r)return l;for(let c=s+(a>>1);s0}validAction(t,n){return!!this.allActions(t,r=>r==n?!0:null)}allActions(t,n){let r=this.stateSlot(t,4),i=r?n(r):void 0;for(let s=this.stateSlot(t,1);i==null;s+=3){if(this.data[s]==65535)if(this.data[s+1]==1)s=H0(this.data,s+2);else break;i=n(H0(this.data,s+1))}return i}nextStates(t){let n=[];for(let r=this.stateSlot(t,1);;r+=3){if(this.data[r]==65535)if(this.data[r+1]==1)r=H0(this.data,r+2);else break;if(!(this.data[r+2]&1)){let i=this.data[r+1];n.some((s,a)=>a&1&&s==i)||n.push(this.data[r],i)}}return n}configure(t){let n=Object.assign(Object.create(uE.prototype),this);if(t.props&&(n.nodeSet=this.nodeSet.extend(...t.props)),t.top){let r=this.topRules[t.top];if(!r)throw new RangeError(`Invalid top rule name ${t.top}`);n.top=r}return t.tokenizers&&(n.tokenizers=this.tokenizers.map(r=>{let i=t.tokenizers.find(s=>s.from==r);return i?i.to:r})),t.specializers&&(n.specializers=this.specializers.slice(),n.specializerSpecs=this.specializerSpecs.map((r,i)=>{let s=t.specializers.find(o=>o.from==r.external);if(!s)return r;let a=Object.assign(Object.assign({},r),{external:s.to});return n.specializers[i]=oie(a),a})),t.contextTracker&&(n.context=t.contextTracker),t.dialect&&(n.dialect=this.parseDialect(t.dialect)),t.strict!=null&&(n.strict=t.strict),t.wrap&&(n.wrappers=n.wrappers.concat(t.wrap)),t.bufferLength!=null&&(n.bufferLength=t.bufferLength),n}hasWrappers(){return this.wrappers.length>0}getName(t){return this.termNames?this.termNames[t]:String(t<=this.maxNode&&this.nodeSet.types[t].name||t)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(t){let n=this.dynamicPrecedences;return n==null?0:n[t]||0}parseDialect(t){let n=Object.keys(this.dialects),r=n.map(()=>!1);if(t)for(let s of t.split(" ")){let a=n.indexOf(s);a>=0&&(r[a]=!0)}let i=null;for(let s=0;sr)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.scoree.external(n,r)<<1|t}return e.get}const Wrt=54,Qrt=1,Vrt=55,Grt=2,Yrt=56,Zrt=3,lie=4,Xrt=5,yI=6,_be=7,Abe=8,Cbe=9,Rbe=10,Krt=11,Jrt=12,eit=13,hL=57,tit=14,uie=58,Ibe=20,nit=22,Dbe=23,rit=24,MF=26,Nbe=27,iit=28,sit=31,ait=34,oit=36,lit=37,uit=0,cit=1,dit={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},fit={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},cie={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function hit(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function Pbe(e){return e==9||e==10||e==13||e==32}let die=null,fie=null,hie=0;function FF(e,t){let n=e.pos+t;if(hie==n&&fie==e)return die;let r=e.peek(t);for(;Pbe(r);)r=e.peek(++t);let i="";for(;hit(r);)i+=String.fromCharCode(r),r=e.peek(++t);return fie=e,hie=n,die=i?i.toLowerCase():r==pit||r==mit?void 0:null}const Lbe=60,vI=62,dj=47,pit=63,mit=33,git=45;function pie(e,t){this.name=e,this.parent=t}const bit=[yI,Rbe,_be,Abe,Cbe],yit=new kbe({start:null,shift(e,t,n,r){return bit.indexOf(t)>-1?new pie(FF(r,1)||"",e):e},reduce(e,t){return t==Ibe&&e?e.parent:e},reuse(e,t,n,r){let i=t.type.id;return i==yI||i==oit?new pie(FF(r,1)||"",e):e},strict:!1}),vit=new Eh((e,t)=>{if(e.next!=Lbe){e.next<0&&t.context&&e.acceptToken(hL);return}e.advance();let n=e.next==dj;n&&e.advance();let r=FF(e,0);if(r===void 0)return;if(!r)return e.acceptToken(n?tit:yI);let i=t.context?t.context.name:null;if(n){if(r==i)return e.acceptToken(Krt);if(i&&fit[i])return e.acceptToken(hL,-2);if(t.dialectEnabled(uit))return e.acceptToken(Jrt);for(let s=t.context;s;s=s.parent)if(s.name==r)return;e.acceptToken(eit)}else{if(r=="script")return e.acceptToken(_be);if(r=="style")return e.acceptToken(Abe);if(r=="textarea")return e.acceptToken(Cbe);if(dit.hasOwnProperty(r))return e.acceptToken(Rbe);i&&cie[i]&&cie[i][r]?e.acceptToken(hL,-1):e.acceptToken(yI)}},{contextual:!0}),Sit=new Eh(e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(uie);break}if(e.next==git)t++;else if(e.next==vI&&t>=2){n>=3&&e.acceptToken(uie,-2);break}else t=0;e.advance()}});function Oit(e){for(;e;e=e.parent)if(e.name=="svg"||e.name=="math")return!0;return!1}const Eit=new Eh((e,t)=>{if(e.next==dj&&e.peek(1)==vI){let n=t.dialectEnabled(cit)||Oit(t.context);e.acceptToken(n?Xrt:lie,2)}else e.next==vI&&e.acceptToken(lie,1)});function fj(e,t,n){let r=2+e.length;return new Eh(i=>{for(let s=0,a=0,o=0;;o++){if(i.next<0){o&&i.acceptToken(t);break}if(s==0&&i.next==Lbe||s==1&&i.next==dj||s>=2&&sa?i.acceptToken(t,-a):i.acceptToken(n,-(a-2));break}else if((i.next==10||i.next==13)&&o){i.acceptToken(t,1);break}else s=a=0;i.advance()}})}const wit=fj("script",Wrt,Qrt),xit=fj("style",Vrt,Grt),Tit=fj("textarea",Yrt,Zrt),kit=jE({"Text RawText":ze.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":ze.angleBracket,TagName:ze.tagName,"MismatchedCloseTag/TagName":[ze.tagName,ze.invalid],AttributeName:ze.attributeName,"AttributeValue UnquotedAttributeValue":ze.attributeValue,Is:ze.definitionOperator,"EntityReference CharacterReference":ze.character,Comment:ze.blockComment,ProcessingInst:ze.processingInstruction,DoctypeDecl:ze.documentMeta}),_it=uE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seTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:yit,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"],["isolate",-11,21,29,30,32,33,35,36,37,38,41,42,"ltr",-3,26,27,39,""]],propSources:[kit],skippedNodes:[0],repeatNodeCount:9,tokenData:"!]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbhSkWa!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^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id;if(c==iit)return pL(o,l,n);if(c==sit)return pL(o,l,r);if(c==ait)return pL(o,l,i);if(c==Ibe&&s.length){let d=o.node,f=d.firstChild,p=f&&mie(f,l),g;if(p){for(let b of s)if(b.tag==p&&(!b.attrs||b.attrs(g||(g=Mbe(f,l))))){let w=d.lastChild,x=w.type.id==lit?w.from:d.to;if(x>f.to)return{parser:b.parser,overlay:[{from:f.to,to:x}]}}}}if(a&&c==Dbe){let d=o.node,f;if(f=d.firstChild){let p=a[l.read(f.from,f.to)];if(p)for(let g of p){if(g.tagName&&g.tagName!=mie(d.parent,l))continue;let b=d.lastChild;if(b.type.id==MF){let w=b.from+1,x=b.lastChild,T=b.to-(x&&x.isError?0:1);if(T>w)return{parser:g.parser,overlay:[{from:w,to:T}]}}else if(b.type.id==Nbe)return{parser:g.parser,overlay:[{from:b.from,to:b.to}]}}}}return null})}const Ait=99,gie=1,Cit=100,Rit=101,bie=2,$be=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],Iit=58,Dit=40,Bbe=95,Nit=91,lR=45,Pit=46,Lit=35,Mit=37,Fit=38,$it=92,Bit=10;function Zk(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function Ube(e){return e>=48&&e<=57}const Uit=new Eh((e,t)=>{for(let n=!1,r=0,i=0;;i++){let{next:s}=e;if(Zk(s)||s==lR||s==Bbe||n&&Ube(s))!n&&(s!=lR||i>0)&&(n=!0),r===i&&s==lR&&r++,e.advance();else if(s==$it&&e.peek(1)!=Bit)e.advance(),e.next>-1&&e.advance(),n=!0;else{n&&e.acceptToken(s==Dit?Cit:r==2&&t.canShift(bie)?bie:Rit);break}}}),zit=new Eh(e=>{if($be.includes(e.peek(-1))){let{next:t}=e;(Zk(t)||t==Bbe||t==Lit||t==Pit||t==Nit||t==Iit&&Zk(e.peek(1))||t==lR||t==Fit)&&e.acceptToken(Ait)}}),Hit=new Eh(e=>{if(!$be.includes(e.peek(-1))){let{next:t}=e;if(t==Mit&&(e.advance(),e.acceptToken(gie)),Zk(t)){do e.advance();while(Zk(e.next)||Ube(e.next));e.acceptToken(gie)}}}),qit=jE({"AtKeyword import charset namespace keyframes media supports":ze.definitionKeyword,"from to selector":ze.keyword,NamespaceName:ze.namespace,KeyframeName:ze.labelName,KeyframeRangeName:ze.operatorKeyword,TagName:ze.tagName,ClassName:ze.className,PseudoClassName:ze.constant(ze.className),IdName:ze.labelName,"FeatureName PropertyName":ze.propertyName,AttributeName:ze.attributeName,NumberLiteral:ze.number,KeywordQuery:ze.keyword,UnaryQueryOp:ze.operatorKeyword,"CallTag ValueName":ze.atom,VariableName:ze.variableName,Callee:ze.operatorKeyword,Unit:ze.unit,"UniversalSelector NestingSelector":ze.definitionOperator,MatchOp:ze.compareOperator,"ChildOp SiblingOp, LogicOp":ze.logicOperator,BinOp:ze.arithmeticOperator,Important:ze.modifier,Comment:ze.blockComment,ColorLiteral:ze.color,"ParenthesizedContent StringLiteral":ze.string,":":ze.punctuation,"PseudoOp #":ze.derefOperator,"; ,":ze.separator,"( )":ze.paren,"[ ]":ze.squareBracket,"{ }":ze.brace}),jit={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:138},Wit={__proto__:null,"@import":118,"@media":142,"@charset":146,"@namespace":150,"@keyframes":156,"@supports":168},Qit={__proto__:null,not:132,only:132},Vit=uE.deserialize({version:14,states:":jQYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DTO$vQ[O'#DWOOQP'#Em'#EmO${QdO'#DgO%jQ[O'#DtO${QdO'#DvO%{Q[O'#DxO&WQ[O'#D{O&`Q[O'#ERO&nQ[O'#ETOOQS'#El'#ElOOQS'#EW'#EWQYQ[OOO&uQXO'#CdO'jQWO'#DcO'o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P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!Y^Oy%^z;'S%^;'S;=`%o<%lO%^dCoS|SOy%^z;'S%^;'S;=`%o<%lO%^bDQU!OQOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS!OQo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[![Qo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^nFfSq^Oy%^z;'S%^;'S;=`%o<%lO%^nFwSp^Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!bQo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!TUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!S^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!RQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[zit,Hit,Uit,1,2,3,4,new bI("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~",28,105)],topRules:{StyleSheet:[0,4],Styles:[1,86]},specialized:[{term:100,get:e=>jit[e]||-1},{term:58,get:e=>Wit[e]||-1},{term:101,get:e=>Qit[e]||-1}],tokenPrec:1219});let mL=null;function gL(){if(!mL&&typeof document=="object"&&document.body){let{style:e}=document.body,t=[],n=new Set;for(let r in e)r!="cssText"&&r!="cssFloat"&&typeof e[r]=="string"&&(/[A-Z]/.test(r)&&(r=r.replace(/[A-Z]/g,i=>"-"+i.toLowerCase())),n.has(r)||(t.push(r),n.add(r)));mL=t.sort().map(r=>({type:"property",label:r}))}return mL||[]}const yie=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(e=>({type:"class",label:e})),vie=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(e=>({type:"keyword",label:e})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(e=>({type:"constant",label:e}))),Git=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(e=>({type:"type",label:e})),Yit=["@charset","@color-profile","@container","@counter-style","@font-face","@font-feature-values","@font-palette-values","@import","@keyframes","@layer","@media","@namespace","@page","@position-try","@property","@scope","@starting-style","@supports","@view-transition"].map(e=>({type:"keyword",label:e})),N0=/^(\w[\w-]*|-\w[\w-]*|)$/,Zit=/^-(-[\w-]*)?$/;function Xit(e,t){var n;if((e.name=="("||e.type.isError)&&(e=e.parent||e),e.name!="ArgList")return!1;let r=(n=e.parent)===null||n===void 0?void 0:n.firstChild;return(r==null?void 0:r.name)!="Callee"?!1:t.sliceString(r.from,r.to)=="var"}const Sie=new Oge,Kit=["Declaration"];function Jit(e){for(let t=e;;){if(t.type.isTop)return t;if(!(t=t.parent))return e}}function zbe(e,t,n){if(t.to-t.from>4096){let r=Sie.get(t);if(r)return r;let i=[],s=new Set,a=t.cursor($s.IncludeAnonymous);if(a.firstChild())do for(let o of zbe(e,a.node,n))s.has(o.label)||(s.add(o.label),i.push(o));while(a.nextSibling());return Sie.set(t,i),i}else{let r=[],i=new Set;return t.cursor().iterate(s=>{var a;if(n(s)&&s.matchContext(Kit)&&((a=s.node.nextSibling)===null||a===void 0?void 0:a.name)==":"){let o=e.sliceString(s.from,s.to);i.has(o)||(i.add(o),r.push({label:o,type:"variable"}))}}),r}}const est=e=>t=>{let{state:n,pos:r}=t,i=Hs(n).resolveInner(r,-1),s=i.type.isError&&i.from==i.to-1&&n.doc.sliceString(i.from,i.to)=="-";if(i.name=="PropertyName"||(s||i.name=="TagName")&&/^(Block|Styles)$/.test(i.resolve(i.to).name))return{from:i.from,options:gL(),validFor:N0};if(i.name=="ValueName")return{from:i.from,options:vie,validFor:N0};if(i.name=="PseudoClassName")return{from:i.from,options:yie,validFor:N0};if(e(i)||(t.explicit||s)&&Xit(i,n.doc))return{from:e(i)||s?i.from:r,options:zbe(n.doc,Jit(i),e),validFor:Zit};if(i.name=="TagName"){for(let{parent:l}=i;l;l=l.parent)if(l.name=="Block")return{from:i.from,options:gL(),validFor:N0};return{from:i.from,options:Git,validFor:N0}}if(i.name=="AtKeyword")return{from:i.from,options:Yit,validFor:N0};if(!t.explicit)return null;let a=i.resolve(r),o=a.childBefore(r);return o&&o.name==":"&&a.name=="PseudoClassSelector"?{from:r,options:yie,validFor:N0}:o&&o.name==":"&&a.name=="Declaration"||a.name=="ArgList"?{from:r,options:vie,validFor:N0}:a.name=="Block"||a.name=="Styles"?{from:r,options:gL(),validFor:N0}:null},tst=est(e=>e.name=="VariableName"),SI=iE.define({name:"css",parser:Vit.configure({props:[sA.add({Declaration:aR()}),WE.add({"Block KeyframeList":Rge})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function nst(){return new Uk(SI,SI.data.of({autocomplete:tst}))}const rst=312,Oie=1,ist=2,sst=3,ast=4,ost=313,lst=315,ust=316,cst=5,dst=6,fst=0,$F=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],Hbe=125,hst=59,BF=47,pst=42,mst=43,gst=45,bst=60,yst=44,vst=63,Sst=46,Ost=new kbe({start:!1,shift(e,t){return t==cst||t==dst||t==lst?e:t==ust},strict:!1}),Est=new Eh((e,t)=>{let{next:n}=e;(n==Hbe||n==-1||t.context)&&e.acceptToken(ost)},{contextual:!0,fallback:!0}),wst=new Eh((e,t)=>{let{next:n}=e,r;$F.indexOf(n)>-1||n==BF&&((r=e.peek(1))==BF||r==pst)||n!=Hbe&&n!=hst&&n!=-1&&!t.context&&e.acceptToken(rst)},{contextual:!0}),xst=new Eh((e,t)=>{let{next:n}=e;if(n==mst||n==gst){if(e.advance(),n==e.next){e.advance();let r=!t.context&&t.canShift(Oie);e.acceptToken(r?Oie:ist)}}else n==vst&&e.peek(1)==Sst&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(sst))},{contextual:!0});function bL(e,t){return e>=65&&e<=90||e>=97&&e<=122||e==95||e>=192||!t&&e>=48&&e<=57}const Tst=new Eh((e,t)=>{if(e.next!=bst||!t.dialectEnabled(fst)||(e.advance(),e.next==BF))return;let n=0;for(;$F.indexOf(e.next)>-1;)e.advance(),n++;if(bL(e.next,!0)){for(e.advance(),n++;bL(e.next,!1);)e.advance(),n++;for(;$F.indexOf(e.next)>-1;)e.advance(),n++;if(e.next==yst)return;for(let r=0;;r++){if(r==7){if(!bL(e.next,!0))return;break}if(e.next!="extends".charCodeAt(r))break;e.advance(),n++}}e.acceptToken(ast,-n)}),kst=jE({"get set async static":ze.modifier,"for while do if else switch try catch finally return throw break continue default case":ze.controlKeyword,"in of await yield void typeof delete instanceof":ze.operatorKeyword,"let var const using function class extends":ze.definitionKeyword,"import export from":ze.moduleKeyword,"with debugger as new":ze.keyword,TemplateString:ze.special(ze.string),super:ze.atom,BooleanLiteral:ze.bool,this:ze.self,null:ze.null,Star:ze.modifier,VariableName:ze.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":ze.function(ze.variableName),VariableDefinition:ze.definition(ze.variableName),Label:ze.labelName,PropertyName:ze.propertyName,PrivatePropertyName:ze.special(ze.propertyName),"CallExpression/MemberExpression/PropertyName":ze.function(ze.propertyName),"FunctionDeclaration/VariableDefinition":ze.function(ze.definition(ze.variableName)),"ClassDeclaration/VariableDefinition":ze.definition(ze.className),PropertyDefinition:ze.definition(ze.propertyName),PrivatePropertyDefinition:ze.definition(ze.special(ze.propertyName)),UpdateOp:ze.updateOperator,"LineComment Hashbang":ze.lineComment,BlockComment:ze.blockComment,Number:ze.number,String:ze.string,Escape:ze.escape,ArithOp:ze.arithmeticOperator,LogicOp:ze.logicOperator,BitOp:ze.bitwiseOperator,CompareOp:ze.compareOperator,RegExp:ze.regexp,Equals:ze.definitionOperator,Arrow:ze.function(ze.punctuation),": Spread":ze.punctuation,"( )":ze.paren,"[ ]":ze.squareBracket,"{ }":ze.brace,"InterpolationStart InterpolationEnd":ze.special(ze.brace),".":ze.derefOperator,", ;":ze.separator,"@":ze.meta,TypeName:ze.typeName,TypeDefinition:ze.definition(ze.typeName),"type enum interface implements namespace module declare":ze.definitionKeyword,"abstract global Privacy readonly override":ze.modifier,"is keyof unique infer":ze.operatorKeyword,JSXAttributeValue:ze.attributeValue,JSXText:ze.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":ze.angleBracket,"JSXIdentifier JSXNameSpacedName":ze.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":ze.attributeName,"JSXBuiltin/JSXIdentifier":ze.standard(ze.tagName)}),_st={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,extends:54,this:58,true:66,false:66,null:78,void:82,typeof:86,super:102,new:136,delete:148,yield:157,await:161,class:166,public:229,private:229,protected:229,readonly:231,instanceof:250,satisfies:253,in:254,const:256,import:290,keyof:345,unique:349,infer:355,is:391,abstract:411,implements:413,type:415,let:418,var:420,using:423,interface:429,enum:433,namespace:439,module:441,declare:445,global:449,for:468,of:477,while:480,with:484,do:488,if:492,else:494,switch:498,case:504,try:510,catch:514,finally:518,return:522,throw:526,break:530,continue:534,debugger:538},Ast={__proto__:null,async:123,get:125,set:127,declare:189,public:191,private:191,protected:191,static:193,abstract:195,override:197,readonly:203,accessor:205,new:395},Cst={__proto__:null,"<":187},Rst=uE.deserialize({version:14,states:"$BUQ%TQ^OOO%[Q^OOO'_Q`OOP(lOWOOO*zQ?NdO'#CiO+RO!bO'#CjO+aO#tO'#CjO+oO!0LbO'#D^O.QQ^O'#DdO.bQ^O'#DoO%[Q^O'#DwO0fQ^O'#E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'T!e-UQ'c!iS'i!r!yU*f$|*W*kQ+j%{Q+w&TQ,]&aQ-['[Q-f'dQ-n'jQ0T*mQ1m,^R < TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:376,context:Ost,nodeProps:[["isolate",-8,5,6,14,34,36,48,50,52,""],["group",-26,9,17,19,65,204,208,212,213,215,218,221,231,233,239,241,243,245,248,254,260,262,264,266,268,270,271,"Statement",-34,13,14,29,32,33,39,48,51,52,54,59,67,69,73,77,79,81,82,107,108,117,118,135,138,140,141,142,143,144,146,147,166,167,169,"Expression",-23,28,30,34,38,40,42,171,173,175,176,178,179,180,182,183,184,186,187,188,198,200,202,203,"Type",-3,85,100,106,"ClassItem"],["openedBy",23,"<",35,"InterpolationStart",53,"[",57,"{",70,"(",159,"JSXStartCloseTag"],["closedBy",24,">",37,"InterpolationEnd",47,"]",58,"}",71,")",164,"JSXEndTag"]],propSources:[kst],skippedNodes:[0,5,6,274],repeatNodeCount:37,tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$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!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(^~~",141,335),new bI("j~RQYZXz{^~^O'{~~aP!P!Qd~iO'|~~",25,318)],topRules:{Script:[0,7],SingleExpression:[1,272],SingleClassItem:[2,273]},dialects:{jsx:0,ts:14791},dynamicPrecedences:{77:1,79:1,91:1,167:1,196:1},specialized:[{term:322,get:e=>_st[e]||-1},{term:338,get:e=>Ast[e]||-1},{term:92,get:e=>Cst[e]||-1}],tokenPrec:14815}),qbe=[Vu("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),Vu("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),Vu("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),Vu("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),Vu("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),Vu(`try { +`);r=i<0?n:n.slice(0,i)}return t+r.length>this.to?r.slice(0,this.to-t):r}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(t,n,r=0){this.block=pI.create(t,r,this.lineStart+n,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}startComposite(t,n,r=0){this.startContext(this.parser.getNodeType(t),n,r)}addNode(t,n,r){typeof t=="number"&&(t=new ns(this.parser.nodeSet.types[t],lE,lE,(r??this.prevLineEnd())-n)),this.block.addChild(t,n-this.block.from)}addElement(t){this.block.addChild(t.toTree(this.parser.nodeSet),t.from-this.block.from)}addLeafElement(t,n){this.addNode(this.buffer.writeElements(LF(n.children,t.marks),-n.from).finish(n.type,n.to-n.from),n.from)}finishContext(){let t=this.stack.pop(),n=this.stack[this.stack.length-1];n.addChild(t.toTree(this.parser.nodeSet),t.from-n.from),this.block=n}finish(){for(;this.stack.length>1;)this.finishContext();return this.addGaps(this.block.toTree(this.parser.nodeSet,this.lineStart))}addGaps(t){return this.ranges.length>1?pbe(this.ranges,0,t.topNode,this.ranges[0].from,this.reusePlaceholders):t}finishLeaf(t){for(let r of t.parsers)if(r.finish(this,t))return;let n=LF(this.parser.parseInline(t.content,t.start),t.marks);this.addNode(this.buffer.writeElements(n,-t.start).finish(yn.Paragraph,t.content.length),t.start)}elt(t,n,r,i){return typeof t=="string"?Di(this.parser.getNodeType(t),n,r,i):new bbe(t,n)}get buffer(){return new gbe(this.parser.nodeSet)}}function pbe(e,t,n,r,i){let s=e[t].to,a=[],o=[],l=n.from+r;function c(d,f){for(;f?d>=s:d>s;){let p=e[t+1].from-s;r+=p,d+=p,t++,s=e[t].to}}for(let d=n.firstChild;d;d=d.nextSibling){c(d.from+r,!0);let f=d.from+r,p,g=i.get(d.tree);g?p=g:d.to+r>s?(p=pbe(e,t,d,r,i),c(d.to+r,!1)):p=d.toTree(),a.push(p),o.push(f-l)}return c(n.to+r,!1),new ns(n.type,a,o,n.to+r-l,n.tree?n.tree.propValues:void 0)}class VD extends Nq{constructor(t,n,r,i,s,a,o,l,c){super(),this.nodeSet=t,this.blockParsers=n,this.leafBlockParsers=r,this.blockNames=i,this.endLeafBlock=s,this.skipContextMarkup=a,this.inlineParsers=o,this.inlineNames=l,this.wrappers=c,this.nodeTypes=Object.create(null);for(let d of t.types)this.nodeTypes[d.name]=d.id}createParse(t,n,r){let i=new brt(this,t,n,r);for(let s of this.wrappers)i=s(i,t,n,r);return i}configure(t){let n=NF(t);if(!n)return this;let{nodeSet:r,skipContextMarkup:i}=this,s=this.blockParsers.slice(),a=this.leafBlockParsers.slice(),o=this.blockNames.slice(),l=this.inlineParsers.slice(),c=this.inlineNames.slice(),d=this.endLeafBlock.slice(),f=this.wrappers;if(xw(n.defineNodes)){i=Object.assign({},i);let p=r.types.slice(),g;for(let b of n.defineNodes){let{name:w,block:x,composite:T,style:_}=typeof b=="string"?{name:b}:b;if(p.some(M=>M.name==w))continue;T&&(i[p.length]=(M,$,B)=>T($,B,M.value));let C=p.length,I=T?["Block","BlockContext"]:x?C>=yn.ATXHeading1&&C<=yn.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;p.push(Do.define({id:C,name:w,props:I&&[[Nr.group,I]]})),_&&(g||(g={}),Array.isArray(_)||_ instanceof Wc?g[w]=_:Object.assign(g,_))}r=new iA(p),g&&(r=r.extend(jE(g)))}if(xw(n.props)&&(r=r.extend(...n.props)),xw(n.remove))for(let p of n.remove){let g=this.blockNames.indexOf(p),b=this.inlineNames.indexOf(p);g>-1&&(s[g]=a[g]=void 0),b>-1&&(l[b]=void 0)}if(xw(n.parseBlock))for(let p of n.parseBlock){let g=o.indexOf(p.name);if(g>-1)s[g]=p.parse,a[g]=p.leaf;else{let b=p.before?J4(o,p.before):p.after?J4(o,p.after)+1:o.length-1;s.splice(b,0,p.parse),a.splice(b,0,p.leaf),o.splice(b,0,p.name)}p.endLeaf&&d.push(p.endLeaf)}if(xw(n.parseInline))for(let p of n.parseInline){let g=c.indexOf(p.name);if(g>-1)l[g]=p.parse;else{let b=p.before?J4(c,p.before):p.after?J4(c,p.after)+1:c.length-1;l.splice(b,0,p.parse),c.splice(b,0,p.name)}}return n.wrap&&(f=f.concat(n.wrap)),new VD(r,s,a,o,d,i,l,c,f)}getNodeType(t){let n=this.nodeTypes[t];if(n==null)throw new RangeError(`Unknown node type '${t}'`);return n}parseInline(t,n){let r=new vrt(this,t,n);e:for(let i=n;i=0){i=o;continue e}}i++}return r.resolveMarkers(0)}}function xw(e){return e!=null&&e.length>0}function NF(e){if(!Array.isArray(e))return e;if(e.length==0)return null;let t=NF(e[0]);if(e.length==1)return t;let n=NF(e.slice(1));if(!n||!t)return t||n;let r=(a,o)=>(a||lE).concat(o||lE),i=t.wrap,s=n.wrap;return{props:r(t.props,n.props),defineNodes:r(t.defineNodes,n.defineNodes),parseBlock:r(t.parseBlock,n.parseBlock),parseInline:r(t.parseInline,n.parseInline),remove:r(t.remove,n.remove),wrap:i?s?(a,o,l,c)=>i(s(a,o,l,c),o,l,c):i:s}}function J4(e,t){let n=e.indexOf(t);if(n<0)throw new RangeError(`Position specified relative to unknown parser ${t}`);return n}let mbe=[Do.none];for(let e=1,t;t=yn[e];e++)mbe[e]=Do.define({id:e,name:t,props:e>=yn.Escape?[]:[[Nr.group,e in ibe?["Block","BlockContext"]:["Block","LeafBlock"]]],top:t=="Document"});const lE=[];let gbe=class{constructor(t){this.nodeSet=t,this.content=[],this.nodes=[]}write(t,n,r,i=0){return this.content.push(t,n,r,4+i*4),this}writeElements(t,n=0){for(let r of t)r.writeTo(this,n);return this}finish(t,n){return ns.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:t,length:n})}},Gk=class{constructor(t,n,r,i=lE){this.type=t,this.from=n,this.to=r,this.children=i}writeTo(t,n){let r=t.content.length;t.writeElements(this.children,n),t.content.push(this.type,this.from+n,this.to+n,t.content.length+4-r)}toTree(t){return new gbe(t).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}};class bbe{constructor(t,n){this.tree=t,this.from=n}get to(){return this.from+this.tree.length}get type(){return this.tree.type.id}get children(){return lE}writeTo(t,n){t.nodes.push(this.tree),t.content.push(t.nodes.length-1,this.from+n,this.to+n,-1)}toTree(){return this.tree}}function Di(e,t,n,r){return new Gk(e,t,n,r)}const ybe={resolve:"Emphasis",mark:"EmphasisMark"},vbe={resolve:"Emphasis",mark:"EmphasisMark"},uS={},PF={};class Wd{constructor(t,n,r,i){this.type=t,this.from=n,this.to=r,this.side=i}}const Qre="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";let Yk=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{Yk=new RegExp("[\\p{S}|\\p{P}]","u")}catch{}const cL={Escape(e,t,n){if(t!=92||n==e.end-1)return-1;let r=e.char(n+1);for(let i=0;i]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(r);if(i)return e.append(Di(yn.Autolink,n,n+1+i[0].length,[Di(yn.LinkMark,n,n+1),Di(yn.URL,n+1,n+i[0].length),Di(yn.LinkMark,n+i[0].length,n+1+i[0].length)]));let s=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(r);if(s)return e.append(Di(yn.Comment,n,n+1+s[0].length));let a=/^\?[^]*?\?>/.exec(r);if(a)return e.append(Di(yn.ProcessingInstruction,n,n+1+a[0].length));let o=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(r);return o?e.append(Di(yn.HTMLTag,n,n+1+o[0].length)):-1},Emphasis(e,t,n){if(t!=95&&t!=42)return-1;let r=n+1;for(;e.char(r)==t;)r++;let i=e.slice(n-1,n),s=e.slice(r,r+1),a=Yk.test(i),o=Yk.test(s),l=/\s|^$/.test(i),c=/\s|^$/.test(s),d=!c&&(!o||l||a),f=!l&&(!a||c||o),p=d&&(t==42||!f||a),g=f&&(t==42||!d||o);return e.append(new Wd(t==95?ybe:vbe,n,r,(p?1:0)|(g?2:0)))},HardBreak(e,t,n){if(t==92&&e.char(n+1)==10)return e.append(Di(yn.HardBreak,n,n+2));if(t==32){let r=n+1;for(;e.char(r)==32;)r++;if(e.char(r)==10&&r>=n+2)return e.append(Di(yn.HardBreak,n,r+1))}return-1},Link(e,t,n){return t==91?e.append(new Wd(uS,n,n+1,1)):-1},Image(e,t,n){return t==33&&e.char(n+1)==91?e.append(new Wd(PF,n,n+2,1)):-1},LinkEnd(e,t,n){if(t!=93)return-1;for(let r=e.parts.length-1;r>=0;r--){let i=e.parts[r];if(i instanceof Wd&&(i.type==uS||i.type==PF)){if(!i.side||e.skipSpace(i.to)==n&&!/[(\[]/.test(e.slice(n+1,n+2)))return e.parts[r]=null,-1;let s=e.takeContent(r),a=e.parts[r]=yrt(e,s,i.type==uS?yn.Link:yn.Image,i.from,n+1);if(i.type==uS)for(let o=0;ot?Di(yn.URL,t+n,s+n):s==e.length?null:!1}}function Obe(e,t,n){let r=e.charCodeAt(t);if(r!=39&&r!=34&&r!=40)return!1;let i=r==40?41:r;for(let s=t+1,a=!1;s=this.end?-1:this.text.charCodeAt(t-this.offset)}get end(){return this.offset+this.text.length}slice(t,n){return this.text.slice(t-this.offset,n-this.offset)}append(t){return this.parts.push(t),t.to}addDelimiter(t,n,r,i,s){return this.append(new Wd(t,n,r,(i?1:0)|(s?2:0)))}get hasOpenLink(){for(let t=this.parts.length-1;t>=0;t--){let n=this.parts[t];if(n instanceof Wd&&(n.type==uS||n.type==PF))return!0}return!1}addElement(t){return this.append(t)}resolveMarkers(t){for(let r=t;r=t;l--){let w=this.parts[l];if(w instanceof Wd&&w.side&1&&w.type==i.type&&!(s&&(i.side&1||w.side&2)&&(w.to-w.from+a)%3==0&&((w.to-w.from)%3||a%3))){o=w;break}}if(!o)continue;let c=i.type.resolve,d=[],f=o.from,p=i.to;if(s){let w=Math.min(2,o.to-o.from,a);f=o.to-w,p=i.from+w,c=w==1?"Emphasis":"StrongEmphasis"}o.type.mark&&d.push(this.elt(o.type.mark,f,o.to));for(let w=l+1;w=0;n--){let r=this.parts[n];if(r instanceof Wd&&r.type==t)return n}return null}takeContent(t){let n=this.resolveMarkers(t);return this.parts.length=t,n}skipSpace(t){return RT(this.text,t-this.offset)+this.offset}elt(t,n,r,i){return typeof t=="string"?Di(this.parser.getNodeType(t),n,r,i):new bbe(t,n)}}function LF(e,t){if(!t.length)return e;if(!e.length)return t;let n=e.slice(),r=0;for(let i of t){for(;r(t?t-1:0))return!1;if(this.fragmentEnd<0){let s=this.fragment.to;for(;s>0&&this.input.read(s-1,s)!=` +`;)s--;this.fragmentEnd=s?s-1:0}let r=this.cursor;r||(r=this.cursor=this.fragment.tree.cursor(),r.firstChild());let i=t+this.fragment.offset;for(;r.to<=i;)if(!r.parent())return!1;for(;;){if(r.from>=i)return this.fragment.from<=n;if(!r.childAfter(i))return!1}}matches(t){let n=this.cursor.tree;return n&&n.prop(Nr.contextHash)==t}takeNodes(t){let n=this.cursor,r=this.fragment.offset,i=this.fragmentEnd-(this.fragment.openEnd?1:0),s=t.absoluteLineStart,a=s,o=t.block.children.length,l=a,c=o;for(;;){if(n.to-r>i){if(n.type.isAnonymous&&n.firstChild())continue;break}let d=wbe(n.from-r,t.ranges);if(n.to-r<=t.ranges[t.rangeI].to)t.addNode(n.tree,d);else{let f=new ns(t.parser.nodeSet.types[yn.Paragraph],[],[],0,t.block.hashProp);t.reusePlaceholders.set(f,n.tree),t.addNode(f,d)}if(n.type.is("Block")&&(Srt.indexOf(n.type.id)<0?(a=n.to-r,o=t.block.children.length):(a=l,o=c,l=n.to-r,c=t.block.children.length)),!n.nextSibling())break}for(;t.block.children.length>o;)t.block.children.pop(),t.block.positions.pop();return a-s}};function wbe(e,t){let n=e;for(let r=1;rK4[e]),Object.keys(K4).map(e=>hbe[e]),Object.keys(K4),mrt,ibe,Object.keys(cL).map(e=>cL[e]),Object.keys(cL),[]);function xrt(e,t,n){let r=[];for(let i=e.firstChild,s=t;;i=i.nextSibling){let a=i?i.from:n;if(a>s&&r.push({from:s,to:a}),!i)break;s=i.to}return r}function Trt(e){let{codeParser:t,htmlParser:n}=e;return{wrap:wge((i,s)=>{let a=i.type.id;if(t&&(a==yn.CodeBlock||a==yn.FencedCode)){let o="";if(a==yn.FencedCode){let c=i.node.getChild(yn.CodeInfo);c&&(o=s.read(c.from,c.to))}let l=t(o);if(l)return{parser:l,overlay:c=>c.type.id==yn.CodeText}}else if(n&&(a==yn.HTMLBlock||a==yn.HTMLTag))return{parser:n,overlay:xrt(i.node,i.from,i.to)};return null})}}const krt={resolve:"Strikethrough",mark:"StrikethroughMark"},_rt={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":ze.strikethrough}},{name:"StrikethroughMark",style:ze.processingInstruction}],parseInline:[{name:"Strikethrough",parse(e,t,n){if(t!=126||e.char(n+1)!=126||e.char(n+2)==126)return-1;let r=e.slice(n-1,n),i=e.slice(n+2,n+3),s=/\s|^$/.test(r),a=/\s|^$/.test(i),o=Yk.test(r),l=Yk.test(i);return e.addDelimiter(krt,n,n+2,!a&&(!l||s||o),!s&&(!o||a||l))},after:"Emphasis"}]};function IT(e,t,n=0,r,i=0){let s=0,a=!0,o=-1,l=-1,c=!1,d=()=>{r.push(e.elt("TableCell",i+o,i+l,e.parser.parseInline(t.slice(o,l),i+o)))};for(let f=n;f-1)&&s++,a=!1,r&&(o>-1&&d(),r.push(e.elt("TableDelimiter",f+i,f+i+1))),o=l=-1):(c||p!=32&&p!=9)&&(o<0&&(o=f),l=f+1),c=!c&&p==92}return o>-1&&(s++,r&&d()),s}function Vre(e,t){for(let n=t;ni instanceof Gre)||!Vre(t.text,t.basePos))return!1;let r=e.scanLine(e.absoluteLineEnd+1).text;return xbe.test(r)&&IT(e,t.text,t.basePos)==IT(e,r,t.basePos)},before:"SetextHeading"}]};class Crt{nextLine(){return!1}finish(t,n){return t.addLeafElement(n,t.elt("Task",n.start,n.start+n.content.length,[t.elt("TaskMarker",n.start,n.start+3),...t.parser.parseInline(n.content.slice(3),n.start+3)])),!0}}const Rrt={defineNodes:[{name:"Task",block:!0,style:ze.list},{name:"TaskMarker",style:ze.atom}],parseBlock:[{name:"TaskList",leaf(e,t){return/^\[[ xX]\][ \t]/.test(t.content)&&e.parentType().name=="ListItem"?new Crt:null},after:"SetextHeading"}]},Yre=/(www\.)|(https?:\/\/)|([\w.+-]+@)|(mailto:|xmpp:)/gy,Zre=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,Irt=/[\w-]+\.[\w-]+($|\/)/,Xre=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,Kre=/\/[a-zA-Z\d@.]+/gy;function Jre(e,t,n,r){let i=0;for(let s=t;s-1)return-1;let r=t+n[0].length;for(;;){let i=e[r-1],s;if(/[?!.,:*_~]/.test(i)||i==")"&&Jre(e,t,r,")")>Jre(e,t,r,"("))r--;else if(i==";"&&(s=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(e.slice(t,r))))r=t+s.index;else break}return r}function eie(e,t){Xre.lastIndex=t;let n=Xre.exec(e);if(!n)return-1;let r=n[0][n[0].length-1];return r=="_"||r=="-"?-1:t+n[0].length-(r=="."?1:0)}const Nrt={parseInline:[{name:"Autolink",parse(e,t,n){let r=n-e.offset;Yre.lastIndex=r;let i=Yre.exec(e.text),s=-1;if(!i)return-1;if(i[1]||i[2]){if(s=Drt(e.text,r+i[0].length),s>-1&&e.hasOpenLink){let a=/([^\[\]]|\[[^\]]*\])*/.exec(e.text.slice(r,s));s=r+a[0].length}}else i[3]?s=eie(e.text,r):(s=eie(e.text,r+i[0].length),s>-1&&i[0]=="xmpp:"&&(Kre.lastIndex=s,i=Kre.exec(e.text),i&&(s=i.index+i[0].length)));return s<0?-1:(e.addElement(e.elt("URL",n,s+e.offset)),s+e.offset)}}]},Prt=[Art,Rrt,_rt,Nrt];function Tbe(e,t,n){return(r,i,s)=>{if(i!=e||r.char(s+1)==e)return-1;let a=[r.elt(n,s,s+1)];for(let o=s+1;on%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(t,n,r=0){let i=t.parser.context;return new mI(t,[],n,r,r,0,[],0,i?new nie(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(t,n){this.stack.push(this.state,n,this.bufferBase+this.buffer.length),this.state=t}reduce(t){var n;let r=t>>19,i=t&65535,{parser:s}=this.p,a=this.reducePos=2e3&&!(!((n=this.p.parser.nodeSet.types[i])===null||n===void 0)&&n.isAnonymous)&&(c==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=d):this.p.lastBigReductionSizel;)this.stack.pop();this.reduceContext(i,c)}storeNode(t,n,r,i=4,s=!1){if(t==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&a.buffer[o-4]==0&&a.buffer[o-1]>-1){if(n==r)return;if(a.buffer[o-2]>=n){a.buffer[o-2]=r;return}}}if(!s||this.pos==r)this.buffer.push(t,n,r,i);else{let a=this.buffer.length;if(a>0&&this.buffer[a-4]!=0){let o=!1;for(let l=a;l>0&&this.buffer[l-2]>r;l-=4)if(this.buffer[l-1]>=0){o=!0;break}if(o)for(;a>0&&this.buffer[a-2]>r;)this.buffer[a]=this.buffer[a-4],this.buffer[a+1]=this.buffer[a-3],this.buffer[a+2]=this.buffer[a-2],this.buffer[a+3]=this.buffer[a-1],a-=4,i>4&&(i-=4)}this.buffer[a]=t,this.buffer[a+1]=n,this.buffer[a+2]=r,this.buffer[a+3]=i}}shift(t,n,r,i){if(t&131072)this.pushState(t&65535,this.pos);else if(t&262144)this.pos=i,this.shiftContext(n,r),n<=this.p.parser.maxNode&&this.buffer.push(n,r,i,4);else{let s=t,{parser:a}=this.p;(i>this.pos||n<=a.maxNode)&&(this.pos=i,a.stateFlag(s,1)||(this.reducePos=i)),this.pushState(s,r),this.shiftContext(n,r),n<=a.maxNode&&this.buffer.push(n,r,i,4)}}apply(t,n,r,i){t&65536?this.reduce(t):this.shift(t,n,r,i)}useNode(t,n){let r=this.p.reused.length-1;(r<0||this.p.reused[r]!=t)&&(this.p.reused.push(t),r++);let i=this.pos;this.reducePos=this.pos=i+t.length,this.pushState(n,i),this.buffer.push(r,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,t,this,this.p.stream.reset(this.pos-t.length)))}split(){let t=this,n=t.buffer.length;for(;n>0&&t.buffer[n-2]>t.reducePos;)n-=4;let r=t.buffer.slice(n),i=t.bufferBase+n;for(;t&&i==t.bufferBase;)t=t.parent;return new mI(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,i,this.curContext,this.lookAhead,t)}recoverByDelete(t,n){let r=t<=this.p.parser.maxNode;r&&this.storeNode(t,this.pos,n,4),this.storeNode(0,this.pos,n,r?8:4),this.pos=this.reducePos=n,this.score-=190}canShift(t){for(let n=new $rt(this);;){let r=this.p.parser.stateSlot(n.state,4)||this.p.parser.hasAction(n.state,t);if(r==0)return!1;if(!(r&65536))return!0;n.reduce(r)}}recoverByInsert(t){if(this.stack.length>=300)return[];let n=this.p.parser.nextStates(this.state);if(n.length>8||this.stack.length>=120){let i=[];for(let s=0,a;sl&1&&o==a)||i.push(n[s],a)}n=i}let r=[];for(let i=0;i>19,i=n&65535,s=this.stack.length-r*3;if(s<0||t.getGoto(this.stack[s],i,!1)<0){let a=this.findForcedReduction();if(a==null)return!1;n=a}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(n),!0}findForcedReduction(){let{parser:t}=this.p,n=[],r=(i,s)=>{if(!n.includes(i))return n.push(i),t.allActions(i,a=>{if(!(a&393216))if(a&65536){let o=(a>>19)-s;if(o>1){let l=a&65535,c=this.stack.length-o*3;if(c>=0&&t.getGoto(this.stack[c],l,!1)>=0)return o<<19|65536|l}}else{let o=r(a,s+1);if(o!=null)return o}})};return r(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:t}=this.p;return t.data[t.stateSlot(this.state,1)]==65535&&!t.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(t){if(this.state!=t.state||this.stack.length!=t.stack.length)return!1;for(let n=0;nthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=t)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class nie{constructor(t,n){this.tracker=t,this.context=n,this.hash=t.strict?t.hash(n):0}}class $rt{constructor(t){this.start=t,this.state=t.state,this.stack=t.stack,this.base=this.stack.length}reduce(t){let n=t&65535,r=t>>19;r==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(r-1)*3;let i=this.start.p.parser.getGoto(this.stack[this.base-3],n,!0);this.state=i}}class gI{constructor(t,n,r){this.stack=t,this.pos=n,this.index=r,this.buffer=t.buffer,this.index==0&&this.maybeNext()}static create(t,n=t.bufferBase+t.buffer.length){return new gI(t,n,n-t.bufferBase)}maybeNext(){let t=this.stack.parent;t!=null&&(this.index=this.stack.bufferBase-t.bufferBase,this.stack=t,this.buffer=t.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new gI(this.stack,this.pos,this.index)}}function Kw(e,t=Uint16Array){if(typeof e!="string")return e;let n=null;for(let r=0,i=0;r=92&&a--,a>=34&&a--;let l=a-32;if(l>=46&&(l-=46,o=!0),s+=l,o)break;s*=46}n?n[i++]=s:n=new t(s)}return n}class oR{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const rie=new oR;class Brt{constructor(t,n){this.input=t,this.ranges=n,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=rie,this.rangeIndex=0,this.pos=this.chunkPos=n[0].from,this.range=n[0],this.end=n[n.length-1].to,this.readNext()}resolveOffset(t,n){let r=this.range,i=this.rangeIndex,s=this.pos+t;for(;sr.to:s>=r.to;){if(i==this.ranges.length-1)return null;let a=this.ranges[++i];s+=a.from-r.to,r=a}return s}clipPos(t){if(t>=this.range.from&&tt)return Math.max(t,n.from);return this.end}peek(t){let n=this.chunkOff+t,r,i;if(n>=0&&n=this.chunk2Pos&&ro.to&&(this.chunk2=this.chunk2.slice(0,o.to-r)),i=this.chunk2.charCodeAt(0)}}return r>=this.token.lookAhead&&(this.token.lookAhead=r+1),i}acceptToken(t,n=0){let r=n?this.resolveOffset(n,-1):this.pos;if(r==null||r=this.chunk2Pos&&this.posthis.range.to?t.slice(0,this.range.to-this.pos):t,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(t=1){for(this.chunkOff+=t;this.pos+t>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();t-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=t,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(t,n){if(n?(this.token=n,n.start=t,n.lookAhead=t+1,n.value=n.extended=-1):this.token=rie,this.pos!=t){if(this.pos=t,t==this.end)return this.setDone(),this;for(;t=this.range.to;)this.range=this.ranges[++this.rangeIndex];t>=this.chunkPos&&t=this.chunkPos&&n<=this.chunkPos+this.chunk.length)return this.chunk.slice(t-this.chunkPos,n-this.chunkPos);if(t>=this.chunk2Pos&&n<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(t-this.chunk2Pos,n-this.chunk2Pos);if(t>=this.range.from&&n<=this.range.to)return this.input.read(t,n);let r="";for(let i of this.ranges){if(i.from>=n)break;i.to>t&&(r+=this.input.read(Math.max(i.from,t),Math.min(i.to,n)))}return r}}class cO{constructor(t,n){this.data=t,this.id=n}token(t,n){let{parser:r}=n.p;kbe(this.data,t,n,this.id,r.data,r.tokenPrecTable)}}cO.prototype.contextual=cO.prototype.fallback=cO.prototype.extend=!1;class bI{constructor(t,n,r){this.precTable=n,this.elseToken=r,this.data=typeof t=="string"?Kw(t):t}token(t,n){let r=t.pos,i=0;for(;;){let s=t.next<0,a=t.resolveOffset(1,1);if(kbe(this.data,t,n,0,this.data,this.precTable),t.token.value>-1)break;if(this.elseToken==null)return;if(s||i++,a==null)break;t.reset(a,t.token)}i&&(t.reset(r,t.token),t.acceptToken(this.elseToken,i))}}bI.prototype.contextual=cO.prototype.fallback=cO.prototype.extend=!1;class Eh{constructor(t,n={}){this.token=t,this.contextual=!!n.contextual,this.fallback=!!n.fallback,this.extend=!!n.extend}}function kbe(e,t,n,r,i,s){let a=0,o=1<0){let b=e[g];if(l.allows(b)&&(t.token.value==-1||t.token.value==b||Urt(b,t.token.value,i,s))){t.acceptToken(b);break}}let d=t.next,f=0,p=e[a+2];if(t.next<0&&p>f&&e[c+p*3-3]==65535){a=e[c+p*3-1];continue e}for(;f>1,b=c+g+(g<<1),w=e[b],x=e[b+1]||65536;if(d=x)f=g+1;else{a=e[b+2],t.advance();continue e}}break}}function iie(e,t,n){for(let r=t,i;(i=e[r])!=65535;r++)if(i==n)return r-t;return-1}function Urt(e,t,n,r){let i=iie(n,r,t);return i<0||iie(n,r,e)t)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,t-25)):Math.min(e.length,Math.max(r.from+1,t+25));if(n<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return n<0?0:e.length}}class zrt{constructor(t,n){this.fragments=t,this.nodeSet=n,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let t=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(t){for(this.safeFrom=t.openStart?sie(t.tree,t.from+t.offset,1)-t.offset:t.from,this.safeTo=t.openEnd?sie(t.tree,t.to+t.offset,-1)-t.offset:t.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(t.tree),this.start.push(-t.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(t){if(tt)return this.nextStart=a,null;if(s instanceof ns){if(a==t){if(a=Math.max(this.safeFrom,t)&&(this.trees.push(s),this.start.push(a),this.index.push(0))}else this.index[n]++,this.nextStart=a+s.length}}}class Hrt{constructor(t,n){this.stream=n,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=t.tokenizers.map(r=>new oR)}getActions(t){let n=0,r=null,{parser:i}=t.p,{tokenizers:s}=i,a=i.stateSlot(t.state,3),o=t.curContext?t.curContext.hash:0,l=0;for(let c=0;cf.end+25&&(l=Math.max(f.lookAhead,l)),f.value!=0)){let p=n;if(f.extended>-1&&(n=this.addActions(t,f.extended,f.end,n)),n=this.addActions(t,f.value,f.end,n),!d.extend&&(r=f,n>p))break}}for(;this.actions.length>n;)this.actions.pop();return l&&t.setLookAhead(l),!r&&t.pos==this.stream.end&&(r=new oR,r.value=t.p.parser.eofTerm,r.start=r.end=t.pos,n=this.addActions(t,r.value,r.end,n)),this.mainToken=r,this.actions}getMainToken(t){if(this.mainToken)return this.mainToken;let n=new oR,{pos:r,p:i}=t;return n.start=r,n.end=Math.min(r+1,i.stream.end),n.value=r==i.stream.end?i.parser.eofTerm:0,n}updateCachedToken(t,n,r){let i=this.stream.clipPos(r.pos);if(n.token(this.stream.reset(i,t),r),t.value>-1){let{parser:s}=r.p;for(let a=0;a=0&&r.p.parser.dialect.allows(o>>1)){o&1?t.extended=o>>1:t.value=o>>1;break}}}else t.value=0,t.end=this.stream.clipPos(i+1)}putAction(t,n,r,i){for(let s=0;st.bufferLength*4?new zrt(r,t.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let t=this.stacks,n=this.minStackPos,r=this.stacks=[],i,s;if(this.bigReductionCount>300&&t.length==1){let[a]=t;for(;a.forceReduce()&&a.stack.length&&a.stack[a.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let a=0;an)r.push(o);else{if(this.advanceStack(o,r,t))continue;{i||(i=[],s=[]),i.push(o);let l=this.tokens.getMainToken(o);s.push(l.value,l.end)}}break}}if(!r.length){let a=i&&Wrt(i);if(a)return Dc&&console.log("Finish with "+this.stackID(a)),this.stackToTree(a);if(this.parser.strict)throw Dc&&i&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+n);this.recovering||(this.recovering=5)}if(this.recovering&&i){let a=this.stoppedAt!=null&&i[0].pos>this.stoppedAt?i[0]:this.runRecovery(i,s,r);if(a)return Dc&&console.log("Force-finish "+this.stackID(a)),this.stackToTree(a.forceAll())}if(this.recovering){let a=this.recovering==1?1:this.recovering*3;if(r.length>a)for(r.sort((o,l)=>l.score-o.score);r.length>a;)r.pop();r.some(o=>o.reducePos>n)&&this.recovering--}else if(r.length>1){e:for(let a=0;a500&&c.buffer.length>500)if((o.score-c.score||o.buffer.length-c.buffer.length)>0)r.splice(l--,1);else{r.splice(a--,1);continue e}}}r.length>12&&r.splice(12,r.length-12)}this.minStackPos=r[0].pos;for(let a=1;a ":"";if(this.stoppedAt!=null&&i>this.stoppedAt)return t.forceReduce()?t:null;if(this.fragments){let c=t.curContext&&t.curContext.tracker.strict,d=c?t.curContext.hash:0;for(let f=this.fragments.nodeAt(i);f;){let p=this.parser.nodeSet.types[f.type.id]==f.type?s.getGoto(t.state,f.type.id):-1;if(p>-1&&f.length&&(!c||(f.prop(Nr.contextHash)||0)==d))return t.useNode(f,p),Dc&&console.log(a+this.stackID(t)+` (via reuse of ${s.getName(f.type.id)})`),!0;if(!(f instanceof ns)||f.children.length==0||f.positions[0]>0)break;let g=f.children[0];if(g instanceof ns&&f.positions[0]==0)f=g;else break}}let o=s.stateSlot(t.state,4);if(o>0)return t.reduce(o),Dc&&console.log(a+this.stackID(t)+` (via always-reduce ${s.getName(o&65535)})`),!0;if(t.stack.length>=8400)for(;t.stack.length>6e3&&t.forceReduce(););let l=this.tokens.getActions(t);for(let c=0;ci?n.push(b):r.push(b)}return!1}advanceFully(t,n){let r=t.pos;for(;;){if(!this.advanceStack(t,null,null))return!1;if(t.pos>r)return aie(t,n),!0}}runRecovery(t,n,r){let i=null,s=!1;for(let a=0;a ":"";if(o.deadEnd&&(s||(s=!0,o.restart(),Dc&&console.log(d+this.stackID(o)+" (restarted)"),this.advanceFully(o,r))))continue;let f=o.split(),p=d;for(let g=0;f.forceReduce()&&g<10&&(Dc&&console.log(p+this.stackID(f)+" (via force-reduce)"),!this.advanceFully(f,r));g++)Dc&&(p=this.stackID(f)+" -> ");for(let g of o.recoverByInsert(l))Dc&&console.log(d+this.stackID(g)+" (via recover-insert)"),this.advanceFully(g,r);this.stream.end>o.pos?(c==o.pos&&(c++,l=0),o.recoverByDelete(l,c),Dc&&console.log(d+this.stackID(o)+` (via recover-delete ${this.parser.getName(l)})`),aie(o,r)):(!i||i.scoree;class _be{constructor(t){this.start=t.start,this.shift=t.shift||fL,this.reduce=t.reduce||fL,this.reuse=t.reuse||fL,this.hash=t.hash||(()=>0),this.strict=t.strict!==!1}}class uE extends Nq{constructor(t){if(super(),this.wrappers=[],t.version!=14)throw new RangeError(`Parser version (${t.version}) doesn't match runtime version (14)`);let n=t.nodeNames.split(" ");this.minRepeatTerm=n.length;for(let o=0;ot.topRules[o][1]),i=[];for(let o=0;o=0)s(d,l,o[c++]);else{let f=o[c+-d];for(let p=-d;p>0;p--)s(o[c++],l,f);c++}}}this.nodeSet=new iA(n.map((o,l)=>Do.define({name:l>=this.minRepeatTerm?void 0:o,id:l,props:i[l],top:r.indexOf(l)>-1,error:l==0,skipped:t.skippedNodes&&t.skippedNodes.indexOf(l)>-1}))),t.propSources&&(this.nodeSet=this.nodeSet.extend(...t.propSources)),this.strict=!1,this.bufferLength=yge;let a=Kw(t.tokenData);this.context=t.context,this.specializerSpecs=t.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let o=0;otypeof o=="number"?new cO(a,o):o),this.topRules=t.topRules,this.dialects=t.dialects||{},this.dynamicPrecedences=t.dynamicPrecedences||null,this.tokenPrecTable=t.tokenPrec,this.termNames=t.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(t,n,r){let i=new qrt(this,t,n,r);for(let s of this.wrappers)i=s(i,t,n,r);return i}getGoto(t,n,r=!1){let i=this.goto;if(n>=i[0])return-1;for(let s=i[n+1];;){let a=i[s++],o=a&1,l=i[s++];if(o&&r)return l;for(let c=s+(a>>1);s0}validAction(t,n){return!!this.allActions(t,r=>r==n?!0:null)}allActions(t,n){let r=this.stateSlot(t,4),i=r?n(r):void 0;for(let s=this.stateSlot(t,1);i==null;s+=3){if(this.data[s]==65535)if(this.data[s+1]==1)s=H0(this.data,s+2);else break;i=n(H0(this.data,s+1))}return i}nextStates(t){let n=[];for(let r=this.stateSlot(t,1);;r+=3){if(this.data[r]==65535)if(this.data[r+1]==1)r=H0(this.data,r+2);else break;if(!(this.data[r+2]&1)){let i=this.data[r+1];n.some((s,a)=>a&1&&s==i)||n.push(this.data[r],i)}}return n}configure(t){let n=Object.assign(Object.create(uE.prototype),this);if(t.props&&(n.nodeSet=this.nodeSet.extend(...t.props)),t.top){let r=this.topRules[t.top];if(!r)throw new RangeError(`Invalid top rule name ${t.top}`);n.top=r}return t.tokenizers&&(n.tokenizers=this.tokenizers.map(r=>{let i=t.tokenizers.find(s=>s.from==r);return i?i.to:r})),t.specializers&&(n.specializers=this.specializers.slice(),n.specializerSpecs=this.specializerSpecs.map((r,i)=>{let s=t.specializers.find(o=>o.from==r.external);if(!s)return r;let a=Object.assign(Object.assign({},r),{external:s.to});return n.specializers[i]=oie(a),a})),t.contextTracker&&(n.context=t.contextTracker),t.dialect&&(n.dialect=this.parseDialect(t.dialect)),t.strict!=null&&(n.strict=t.strict),t.wrap&&(n.wrappers=n.wrappers.concat(t.wrap)),t.bufferLength!=null&&(n.bufferLength=t.bufferLength),n}hasWrappers(){return this.wrappers.length>0}getName(t){return this.termNames?this.termNames[t]:String(t<=this.maxNode&&this.nodeSet.types[t].name||t)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(t){let n=this.dynamicPrecedences;return n==null?0:n[t]||0}parseDialect(t){let n=Object.keys(this.dialects),r=n.map(()=>!1);if(t)for(let s of t.split(" ")){let a=n.indexOf(s);a>=0&&(r[a]=!0)}let i=null;for(let s=0;sr)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.scoree.external(n,r)<<1|t}return e.get}const Qrt=54,Vrt=1,Grt=55,Yrt=2,Zrt=56,Xrt=3,lie=4,Krt=5,yI=6,Abe=7,Cbe=8,Rbe=9,Ibe=10,Jrt=11,eit=12,tit=13,hL=57,nit=14,uie=58,Dbe=20,rit=22,Nbe=23,iit=24,MF=26,Pbe=27,sit=28,ait=31,oit=34,lit=36,uit=37,cit=0,dit=1,fit={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},hit={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},cie={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function pit(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function Lbe(e){return e==9||e==10||e==13||e==32}let die=null,fie=null,hie=0;function FF(e,t){let n=e.pos+t;if(hie==n&&fie==e)return die;let r=e.peek(t);for(;Lbe(r);)r=e.peek(++t);let i="";for(;pit(r);)i+=String.fromCharCode(r),r=e.peek(++t);return fie=e,hie=n,die=i?i.toLowerCase():r==mit||r==git?void 0:null}const Mbe=60,vI=62,dj=47,mit=63,git=33,bit=45;function pie(e,t){this.name=e,this.parent=t}const yit=[yI,Ibe,Abe,Cbe,Rbe],vit=new _be({start:null,shift(e,t,n,r){return yit.indexOf(t)>-1?new pie(FF(r,1)||"",e):e},reduce(e,t){return t==Dbe&&e?e.parent:e},reuse(e,t,n,r){let i=t.type.id;return i==yI||i==lit?new pie(FF(r,1)||"",e):e},strict:!1}),Sit=new Eh((e,t)=>{if(e.next!=Mbe){e.next<0&&t.context&&e.acceptToken(hL);return}e.advance();let n=e.next==dj;n&&e.advance();let r=FF(e,0);if(r===void 0)return;if(!r)return e.acceptToken(n?nit:yI);let i=t.context?t.context.name:null;if(n){if(r==i)return e.acceptToken(Jrt);if(i&&hit[i])return e.acceptToken(hL,-2);if(t.dialectEnabled(cit))return e.acceptToken(eit);for(let s=t.context;s;s=s.parent)if(s.name==r)return;e.acceptToken(tit)}else{if(r=="script")return e.acceptToken(Abe);if(r=="style")return e.acceptToken(Cbe);if(r=="textarea")return e.acceptToken(Rbe);if(fit.hasOwnProperty(r))return e.acceptToken(Ibe);i&&cie[i]&&cie[i][r]?e.acceptToken(hL,-1):e.acceptToken(yI)}},{contextual:!0}),Oit=new Eh(e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(uie);break}if(e.next==bit)t++;else if(e.next==vI&&t>=2){n>=3&&e.acceptToken(uie,-2);break}else t=0;e.advance()}});function Eit(e){for(;e;e=e.parent)if(e.name=="svg"||e.name=="math")return!0;return!1}const wit=new Eh((e,t)=>{if(e.next==dj&&e.peek(1)==vI){let n=t.dialectEnabled(dit)||Eit(t.context);e.acceptToken(n?Krt:lie,2)}else e.next==vI&&e.acceptToken(lie,1)});function fj(e,t,n){let r=2+e.length;return new Eh(i=>{for(let s=0,a=0,o=0;;o++){if(i.next<0){o&&i.acceptToken(t);break}if(s==0&&i.next==Mbe||s==1&&i.next==dj||s>=2&&sa?i.acceptToken(t,-a):i.acceptToken(n,-(a-2));break}else if((i.next==10||i.next==13)&&o){i.acceptToken(t,1);break}else s=a=0;i.advance()}})}const xit=fj("script",Qrt,Vrt),Tit=fj("style",Grt,Yrt),kit=fj("textarea",Zrt,Xrt),_it=jE({"Text RawText":ze.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":ze.angleBracket,TagName:ze.tagName,"MismatchedCloseTag/TagName":[ze.tagName,ze.invalid],AttributeName:ze.attributeName,"AttributeValue UnquotedAttributeValue":ze.attributeValue,Is:ze.definitionOperator,"EntityReference CharacterReference":ze.character,Comment:ze.blockComment,ProcessingInst:ze.processingInstruction,DoctypeDecl:ze.documentMeta}),Ait=uE.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%ZQ&rO,59fO%fQ&rO,59iO%qQ&rO,59lO%|Q&rO,59nOOOa'#D^'#D^O&XOaO'#CxO&dOaO,59[OOOb'#D_'#D_O&lObO'#C{O&wObO,59[OOOd'#D`'#D`O'POdO'#DOO'[OdO,59[OOO`'#Da'#DaO'dO!rO,59[O'kQ#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'pO$fO,59oOOO`,59o,59oO'xQ#|O,59qO'}Q#|O,59rOOO`-E7W-E7WO(SQ&rO'#CsOOQW'#DZ'#DZO(bQ&rO1G.wOOOa1G.w1G.wOOO`1G/Y1G/YO(mQ&rO1G/QOOOb1G/Q1G/QO(xQ&rO1G/TOOOd1G/T1G/TO)TQ&rO1G/WOOO`1G/W1G/WO)`Q&rO1G/YOOOa-E7[-E7[O)kQ#tO'#Cy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xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:vit,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"],["isolate",-11,21,29,30,32,33,35,36,37,38,41,42,"ltr",-3,26,27,39,""]],propSources:[_it],skippedNodes:[0],repeatNodeCount:9,tokenData:"!]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u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!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!{let c=o.type.id;if(c==sit)return pL(o,l,n);if(c==ait)return pL(o,l,r);if(c==oit)return pL(o,l,i);if(c==Dbe&&s.length){let d=o.node,f=d.firstChild,p=f&&mie(f,l),g;if(p){for(let b of s)if(b.tag==p&&(!b.attrs||b.attrs(g||(g=Fbe(f,l))))){let w=d.lastChild,x=w.type.id==uit?w.from:d.to;if(x>f.to)return{parser:b.parser,overlay:[{from:f.to,to:x}]}}}}if(a&&c==Nbe){let d=o.node,f;if(f=d.firstChild){let p=a[l.read(f.from,f.to)];if(p)for(let g of p){if(g.tagName&&g.tagName!=mie(d.parent,l))continue;let b=d.lastChild;if(b.type.id==MF){let w=b.from+1,x=b.lastChild,T=b.to-(x&&x.isError?0:1);if(T>w)return{parser:g.parser,overlay:[{from:w,to:T}]}}else if(b.type.id==Pbe)return{parser:g.parser,overlay:[{from:b.from,to:b.to}]}}}}return null})}const Cit=99,gie=1,Rit=100,Iit=101,bie=2,Bbe=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],Dit=58,Nit=40,Ube=95,Pit=91,lR=45,Lit=46,Mit=35,Fit=37,$it=38,Bit=92,Uit=10;function Zk(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function zbe(e){return e>=48&&e<=57}const zit=new Eh((e,t)=>{for(let n=!1,r=0,i=0;;i++){let{next:s}=e;if(Zk(s)||s==lR||s==Ube||n&&zbe(s))!n&&(s!=lR||i>0)&&(n=!0),r===i&&s==lR&&r++,e.advance();else if(s==Bit&&e.peek(1)!=Uit)e.advance(),e.next>-1&&e.advance(),n=!0;else{n&&e.acceptToken(s==Nit?Rit:r==2&&t.canShift(bie)?bie:Iit);break}}}),Hit=new Eh(e=>{if(Bbe.includes(e.peek(-1))){let{next:t}=e;(Zk(t)||t==Ube||t==Mit||t==Lit||t==Pit||t==Dit&&Zk(e.peek(1))||t==lR||t==$it)&&e.acceptToken(Cit)}}),qit=new Eh(e=>{if(!Bbe.includes(e.peek(-1))){let{next:t}=e;if(t==Fit&&(e.advance(),e.acceptToken(gie)),Zk(t)){do e.advance();while(Zk(e.next)||zbe(e.next));e.acceptToken(gie)}}}),jit=jE({"AtKeyword import charset namespace keyframes media supports":ze.definitionKeyword,"from to selector":ze.keyword,NamespaceName:ze.namespace,KeyframeName:ze.labelName,KeyframeRangeName:ze.operatorKeyword,TagName:ze.tagName,ClassName:ze.className,PseudoClassName:ze.constant(ze.className),IdName:ze.labelName,"FeatureName PropertyName":ze.propertyName,AttributeName:ze.attributeName,NumberLiteral:ze.number,KeywordQuery:ze.keyword,UnaryQueryOp:ze.operatorKeyword,"CallTag ValueName":ze.atom,VariableName:ze.variableName,Callee:ze.operatorKeyword,Unit:ze.unit,"UniversalSelector NestingSelector":ze.definitionOperator,MatchOp:ze.compareOperator,"ChildOp SiblingOp, LogicOp":ze.logicOperator,BinOp:ze.arithmeticOperator,Important:ze.modifier,Comment:ze.blockComment,ColorLiteral:ze.color,"ParenthesizedContent StringLiteral":ze.string,":":ze.punctuation,"PseudoOp #":ze.derefOperator,"; ,":ze.separator,"( )":ze.paren,"[ ]":ze.squareBracket,"{ }":ze.brace}),Wit={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:138},Qit={__proto__:null,"@import":118,"@media":142,"@charset":146,"@namespace":150,"@keyframes":156,"@supports":168},Vit={__proto__:null,not:132,only:132},Git=uE.deserialize({version:14,states:":jQYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DTO$vQ[O'#DWOOQP'#Em'#EmO${QdO'#DgO%jQ[O'#DtO${QdO'#DvO%{Q[O'#DxO&WQ[O'#D{O&`Q[O'#ERO&nQ[O'#ETOOQS'#El'#ElOOQS'#EW'#EWQYQ[OOO&uQXO'#CdO'jQWO'#DcO'oQWO'#EsO'zQ[O'#EsQOQWOOP(UO#tO'#C_POOO)C@[)C@[OOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(aQ[O'#E[O({QWO,58{O)TQ[O,59SO$qQ[O,59oO$vQ[O,59rO(aQ[O,59uO(aQ[O,59wO(aQ[O,59xO)`Q[O'#DbOOQS,58{,58{OOQP'#Ck'#CkOOQO'#DR'#DROOQP,59S,59SO)gQWO,59SO)lQWO,59SOOQP'#DV'#DVOOQP,59o,59oOOQO'#DX'#DXO)qQ`O,59rOOQS'#Cp'#CpO${QdO'#CqO)yQvO'#CsO+ZQtO,5:ROOQO'#Cx'#CxO)lQWO'#CwO+oQWO'#CyO+tQ[O'#DOOOQS'#Ep'#EpOOQO'#Dj'#DjO+|Q[O'#DqO,[QWO'#EtO&`Q[O'#DoO,jQWO'#DrOOQO'#Eu'#EuO)OQWO,5:`O,oQpO,5:bOOQS'#Dz'#DzO,wQWO,5:dO,|Q[O,5:dOOQO'#D}'#D}O-UQWO,5:gO-ZQWO,5:mO-cQWO,5:oOOQS-E8U-E8UO-kQdO,59}O-{Q[O'#E^O.YQWO,5;_O.YQWO,5;_POOO'#EV'#EVP.eO#tO,58yPOOO,58y,58yO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%lO%^fIQS!TUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!S^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!RQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[Hit,qit,zit,1,2,3,4,new bI("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~",28,105)],topRules:{StyleSheet:[0,4],Styles:[1,86]},specialized:[{term:100,get:e=>Wit[e]||-1},{term:58,get:e=>Qit[e]||-1},{term:101,get:e=>Vit[e]||-1}],tokenPrec:1219});let mL=null;function gL(){if(!mL&&typeof document=="object"&&document.body){let{style:e}=document.body,t=[],n=new Set;for(let r in e)r!="cssText"&&r!="cssFloat"&&typeof e[r]=="string"&&(/[A-Z]/.test(r)&&(r=r.replace(/[A-Z]/g,i=>"-"+i.toLowerCase())),n.has(r)||(t.push(r),n.add(r)));mL=t.sort().map(r=>({type:"property",label:r}))}return mL||[]}const yie=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(e=>({type:"class",label:e})),vie=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(e=>({type:"keyword",label:e})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(e=>({type:"constant",label:e}))),Yit=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(e=>({type:"type",label:e})),Zit=["@charset","@color-profile","@container","@counter-style","@font-face","@font-feature-values","@font-palette-values","@import","@keyframes","@layer","@media","@namespace","@page","@position-try","@property","@scope","@starting-style","@supports","@view-transition"].map(e=>({type:"keyword",label:e})),N0=/^(\w[\w-]*|-\w[\w-]*|)$/,Xit=/^-(-[\w-]*)?$/;function Kit(e,t){var n;if((e.name=="("||e.type.isError)&&(e=e.parent||e),e.name!="ArgList")return!1;let r=(n=e.parent)===null||n===void 0?void 0:n.firstChild;return(r==null?void 0:r.name)!="Callee"?!1:t.sliceString(r.from,r.to)=="var"}const Sie=new Ege,Jit=["Declaration"];function est(e){for(let t=e;;){if(t.type.isTop)return t;if(!(t=t.parent))return e}}function Hbe(e,t,n){if(t.to-t.from>4096){let r=Sie.get(t);if(r)return r;let i=[],s=new Set,a=t.cursor($s.IncludeAnonymous);if(a.firstChild())do for(let o of Hbe(e,a.node,n))s.has(o.label)||(s.add(o.label),i.push(o));while(a.nextSibling());return Sie.set(t,i),i}else{let r=[],i=new Set;return t.cursor().iterate(s=>{var a;if(n(s)&&s.matchContext(Jit)&&((a=s.node.nextSibling)===null||a===void 0?void 0:a.name)==":"){let o=e.sliceString(s.from,s.to);i.has(o)||(i.add(o),r.push({label:o,type:"variable"}))}}),r}}const tst=e=>t=>{let{state:n,pos:r}=t,i=Hs(n).resolveInner(r,-1),s=i.type.isError&&i.from==i.to-1&&n.doc.sliceString(i.from,i.to)=="-";if(i.name=="PropertyName"||(s||i.name=="TagName")&&/^(Block|Styles)$/.test(i.resolve(i.to).name))return{from:i.from,options:gL(),validFor:N0};if(i.name=="ValueName")return{from:i.from,options:vie,validFor:N0};if(i.name=="PseudoClassName")return{from:i.from,options:yie,validFor:N0};if(e(i)||(t.explicit||s)&&Kit(i,n.doc))return{from:e(i)||s?i.from:r,options:Hbe(n.doc,est(i),e),validFor:Xit};if(i.name=="TagName"){for(let{parent:l}=i;l;l=l.parent)if(l.name=="Block")return{from:i.from,options:gL(),validFor:N0};return{from:i.from,options:Yit,validFor:N0}}if(i.name=="AtKeyword")return{from:i.from,options:Zit,validFor:N0};if(!t.explicit)return null;let a=i.resolve(r),o=a.childBefore(r);return o&&o.name==":"&&a.name=="PseudoClassSelector"?{from:r,options:yie,validFor:N0}:o&&o.name==":"&&a.name=="Declaration"||a.name=="ArgList"?{from:r,options:vie,validFor:N0}:a.name=="Block"||a.name=="Styles"?{from:r,options:gL(),validFor:N0}:null},nst=tst(e=>e.name=="VariableName"),SI=iE.define({name:"css",parser:Git.configure({props:[sA.add({Declaration:aR()}),WE.add({"Block KeyframeList":Ige})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function rst(){return new Uk(SI,SI.data.of({autocomplete:nst}))}const ist=312,Oie=1,sst=2,ast=3,ost=4,lst=313,ust=315,cst=316,dst=5,fst=6,hst=0,$F=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],qbe=125,pst=59,BF=47,mst=42,gst=43,bst=45,yst=60,vst=44,Sst=63,Ost=46,Est=new _be({start:!1,shift(e,t){return t==dst||t==fst||t==ust?e:t==cst},strict:!1}),wst=new Eh((e,t)=>{let{next:n}=e;(n==qbe||n==-1||t.context)&&e.acceptToken(lst)},{contextual:!0,fallback:!0}),xst=new Eh((e,t)=>{let{next:n}=e,r;$F.indexOf(n)>-1||n==BF&&((r=e.peek(1))==BF||r==mst)||n!=qbe&&n!=pst&&n!=-1&&!t.context&&e.acceptToken(ist)},{contextual:!0}),Tst=new Eh((e,t)=>{let{next:n}=e;if(n==gst||n==bst){if(e.advance(),n==e.next){e.advance();let r=!t.context&&t.canShift(Oie);e.acceptToken(r?Oie:sst)}}else n==Sst&&e.peek(1)==Ost&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(ast))},{contextual:!0});function bL(e,t){return e>=65&&e<=90||e>=97&&e<=122||e==95||e>=192||!t&&e>=48&&e<=57}const kst=new Eh((e,t)=>{if(e.next!=yst||!t.dialectEnabled(hst)||(e.advance(),e.next==BF))return;let n=0;for(;$F.indexOf(e.next)>-1;)e.advance(),n++;if(bL(e.next,!0)){for(e.advance(),n++;bL(e.next,!1);)e.advance(),n++;for(;$F.indexOf(e.next)>-1;)e.advance(),n++;if(e.next==vst)return;for(let r=0;;r++){if(r==7){if(!bL(e.next,!0))return;break}if(e.next!="extends".charCodeAt(r))break;e.advance(),n++}}e.acceptToken(ost,-n)}),_st=jE({"get set async static":ze.modifier,"for while do if else switch try catch finally return throw break continue default case":ze.controlKeyword,"in of await yield void typeof delete instanceof":ze.operatorKeyword,"let var const using function class extends":ze.definitionKeyword,"import export from":ze.moduleKeyword,"with debugger as new":ze.keyword,TemplateString:ze.special(ze.string),super:ze.atom,BooleanLiteral:ze.bool,this:ze.self,null:ze.null,Star:ze.modifier,VariableName:ze.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":ze.function(ze.variableName),VariableDefinition:ze.definition(ze.variableName),Label:ze.labelName,PropertyName:ze.propertyName,PrivatePropertyName:ze.special(ze.propertyName),"CallExpression/MemberExpression/PropertyName":ze.function(ze.propertyName),"FunctionDeclaration/VariableDefinition":ze.function(ze.definition(ze.variableName)),"ClassDeclaration/VariableDefinition":ze.definition(ze.className),PropertyDefinition:ze.definition(ze.propertyName),PrivatePropertyDefinition:ze.definition(ze.special(ze.propertyName)),UpdateOp:ze.updateOperator,"LineComment Hashbang":ze.lineComment,BlockComment:ze.blockComment,Number:ze.number,String:ze.string,Escape:ze.escape,ArithOp:ze.arithmeticOperator,LogicOp:ze.logicOperator,BitOp:ze.bitwiseOperator,CompareOp:ze.compareOperator,RegExp:ze.regexp,Equals:ze.definitionOperator,Arrow:ze.function(ze.punctuation),": Spread":ze.punctuation,"( )":ze.paren,"[ ]":ze.squareBracket,"{ }":ze.brace,"InterpolationStart InterpolationEnd":ze.special(ze.brace),".":ze.derefOperator,", ;":ze.separator,"@":ze.meta,TypeName:ze.typeName,TypeDefinition:ze.definition(ze.typeName),"type enum interface implements namespace module declare":ze.definitionKeyword,"abstract global Privacy readonly override":ze.modifier,"is keyof unique infer":ze.operatorKeyword,JSXAttributeValue:ze.attributeValue,JSXText:ze.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":ze.angleBracket,"JSXIdentifier JSXNameSpacedName":ze.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":ze.attributeName,"JSXBuiltin/JSXIdentifier":ze.standard(ze.tagName)}),Ast={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,extends:54,this:58,true:66,false:66,null:78,void:82,typeof:86,super:102,new:136,delete:148,yield:157,await:161,class:166,public:229,private:229,protected:229,readonly:231,instanceof:250,satisfies:253,in:254,const:256,import:290,keyof:345,unique:349,infer:355,is:391,abstract:411,implements:413,type:415,let:418,var:420,using:423,interface:429,enum:433,namespace:439,module:441,declare:445,global:449,for:468,of:477,while:480,with:484,do:488,if:492,else:494,switch:498,case:504,try:510,catch:514,finally:518,return:522,throw:526,break:530,continue:534,debugger:538},Cst={__proto__:null,async:123,get:125,set:127,declare:189,public:191,private:191,protected:191,static:193,abstract:195,override:197,readonly:203,accessor:205,new:395},Rst={__proto__:null,"<":187},Ist=uE.deserialize({version:14,states:"$BUQ%TQ^OOO%[Q^OOO'_Q`OOP(lOWOOO*zQ?NdO'#CiO+RO!bO'#CjO+aO#tO'#CjO+oO!0LbO'#D^O.QQ^O'#DdO.bQ^O'#DoO%[Q^O'#DwO0fQ^O'#EPOOQ?Mr'#EX'#EXO1PQWO'#EUOOQO'#Em'#EmOOQO'#Ih'#IhO1XQWO'#GpO1dQWO'#ElO1iQWO'#ElO3hQ?NdO'#JmO6[Q?NdO'#JnO6uQWO'#F[O6zQ&jO'#FsOOQ?Mr'#Fe'#FeO7VO,YO'#FeO7eQ7[O'#FzO9RQWO'#FyOOQ?Mr'#Jn'#JnOOQ?Mp'#Jm'#JmO9WQWO'#GtOOQU'#KZ'#KZO9cQWO'#IUO9hQ?MxO'#IVOOQU'#JZ'#JZOOQU'#IZ'#IZQ`Q^OOQ`Q^OOO9pQMnO'#DsO9wQ^O'#D{O:OQ^O'#D}O9^QWO'#GpO:VQ7[O'#CoO:eQWO'#EkO:pQWO'#EvO:uQ7[O'#FdO;dQWO'#GpOOQO'#K['#K[O;iQWO'#K[O;wQWO'#GxO;wQWO'#GyO;wQWO'#G{O9^QWO'#HOOVQWO'#CeO>gQWO'#H_O>oQWO'#HeO>oQWO'#HgO`Q^O'#HiO>oQWO'#HkO>oQWO'#HnO>tQWO'#HtO>yQ?MyO'#HzO%[Q^O'#H|O?UQ?MyO'#IOO?aQ?MyO'#IQO9hQ?MxO'#ISO?lQ?NdO'#CiO@nQ`O'#D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ea#}'ea~P%)|O}){O!P)|Ok'ga(t'ga(u'ga!Y'ga#]'ga~Og'ga#}'ga~P%*oO(m$YO~P#.hO!VfX!V$xX!YfX!Y$xX!d%PX#]fX~P!/nO(OV#>i#>o#>u#?T#?j#A]#Ak#Ar#C[#Cj#EY#Eh#En#Et#Ez#FU#F[#Fb#Fl#GO#GUPPPPPPPPPP#G[PPPPPPP#HP#KW#Lg#Ln#LvPPP$$YP$$c$'Z$-s$-v$-y$.f$.i$.p$.xP$/O$/RP$/o$/s$0k$1y$2O$2fPP$2k$2q$2uP$2x$2|$3Q$3v$4_$4v$4z$4}$5Q$5W$5Z$5_$5cR!|RoqOXst!Z#d%k&o&q&r&t,l,q2O2RY!vQ']-^1c5gQ%rvQ%zyQ&R|Q&g!VS'T!e-UQ'c!iS'i!r!yU*f$|*W*kQ+j%{Q+w&TQ,]&aQ-['[Q-f'dQ-n'jQ0T*mQ1m,^R < TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:376,context:Est,nodeProps:[["isolate",-8,5,6,14,34,36,48,50,52,""],["group",-26,9,17,19,65,204,208,212,213,215,218,221,231,233,239,241,243,245,248,254,260,262,264,266,268,270,271,"Statement",-34,13,14,29,32,33,39,48,51,52,54,59,67,69,73,77,79,81,82,107,108,117,118,135,138,140,141,142,143,144,146,147,166,167,169,"Expression",-23,28,30,34,38,40,42,171,173,175,176,178,179,180,182,183,184,186,187,188,198,200,202,203,"Type",-3,85,100,106,"ClassItem"],["openedBy",23,"<",35,"InterpolationStart",53,"[",57,"{",70,"(",159,"JSXStartCloseTag"],["closedBy",24,">",37,"InterpolationEnd",47,"]",58,"}",71,")",164,"JSXEndTag"]],propSources:[_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wx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",tokenizers:[xst,Tst,kst,2,3,4,5,6,7,8,9,10,11,12,13,14,wst,new bI("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOu~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!R~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(^~~",141,335),new bI("j~RQYZXz{^~^O'{~~aP!P!Qd~iO'|~~",25,318)],topRules:{Script:[0,7],SingleExpression:[1,272],SingleClassItem:[2,273]},dialects:{jsx:0,ts:14791},dynamicPrecedences:{77:1,79:1,91:1,167:1,196:1},specialized:[{term:322,get:e=>Ast[e]||-1},{term:338,get:e=>Cst[e]||-1},{term:92,get:e=>Rst[e]||-1}],tokenPrec:14815}),jbe=[Vu("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),Vu("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),Vu("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),Vu("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),Vu("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),Vu(`try { \${} } catch (\${error}) { \${} @@ -299,7 +299,7 @@ An.version="2.30.1";wWe(Xs);An.fn=mn;An.min=dVe;An.max=fVe;An.now=hVe;An.utc=Np; constructor(\${params}) { \${} } -}`,{label:"class",detail:"definition",type:"keyword"}),Vu('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),Vu('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],Ist=qbe.concat([Vu("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),Vu("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),Vu("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),Eie=new Oge,jbe=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function Tw(e){return(t,n)=>{let r=t.node.getChild("VariableDefinition");return r&&n(r,e),!0}}const Dst=["FunctionDeclaration"],Nst={FunctionDeclaration:Tw("function"),ClassDeclaration:Tw("class"),ClassExpression:()=>!0,EnumDeclaration:Tw("constant"),TypeAliasDeclaration:Tw("type"),NamespaceDeclaration:Tw("namespace"),VariableDefinition(e,t){e.matchContext(Dst)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null};function Wbe(e,t){let n=Eie.get(t);if(n)return n;let r=[],i=!0;function s(a,o){let l=e.sliceString(a.from,a.to);r.push({label:l,type:o})}return t.cursor($s.IncludeAnonymous).iterate(a=>{if(i)i=!1;else if(a.name){let o=Nst[a.name];if(o&&o(a,s)||jbe.has(a.name))return!1}else if(a.to-a.from>8192){for(let o of Wbe(e,a.node))r.push(o);return!1}}),Eie.set(t,r),r}const wie=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,Qbe=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."];function Pst(e){let t=Hs(e.state).resolveInner(e.pos,-1);if(Qbe.indexOf(t.name)>-1)return null;let n=t.name=="VariableName"||t.to-t.from<20&&wie.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let r=[];for(let i=t;i;i=i.parent)jbe.has(i.name)&&(r=r.concat(Wbe(e.state.doc,i)));return{options:r,from:n?t.from:e.pos,validFor:wie}}const xp=iE.define({name:"javascript",parser:Rst.configure({props:[sA.add({IfStatement:aR({except:/^\s*({|else\b)/}),TryStatement:aR({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:eJe,SwitchBody:e=>{let t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:r?1:2)*e.unit},Block:JKe({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":aR({except:/^{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),WE.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":Rge,BlockComment(e){return{from:e.from+2,to:e.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),Vbe={test:e=>/^JSX/.test(e.name),facet:Pq({commentTokens:{block:{open:"{/*",close:"*/}"}}})},Gbe=xp.configure({dialect:"ts"},"typescript"),Ybe=xp.configure({dialect:"jsx",props:[Lq.add(e=>e.isTop?[Vbe]:void 0)]}),Zbe=xp.configure({dialect:"jsx ts",props:[Lq.add(e=>e.isTop?[Vbe]:void 0)]},"typescript");let Xbe=e=>({label:e,type:"keyword"});const Kbe="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(Xbe),Lst=Kbe.concat(["declare","implements","private","protected","public"].map(Xbe));function Mst(e={}){let t=e.jsx?e.typescript?Zbe:Ybe:e.typescript?Gbe:xp,n=e.typescript?Ist.concat(Lst):qbe.concat(Kbe);return new Uk(t,[xp.data.of({autocomplete:mtt(Qbe,I1e(n))}),xp.data.of({autocomplete:Pst}),e.jsx?Bst:[]])}function Fst(e){for(;;){if(e.name=="JSXOpenTag"||e.name=="JSXSelfClosingTag"||e.name=="JSXFragmentTag")return e;if(e.name=="JSXEscape"||!e.parent)return null;e=e.parent}}function xie(e,t,n=e.length){for(let r=t==null?void 0:t.firstChild;r;r=r.nextSibling)if(r.name=="JSXIdentifier"||r.name=="JSXBuiltin"||r.name=="JSXNamespacedName"||r.name=="JSXMemberExpression")return e.sliceString(r.from,Math.min(r.to,n));return""}const $st=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),Bst=Sn.inputHandler.of((e,t,n,r,i)=>{if(($st?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||r!=">"&&r!="/"||!xp.isActiveAt(e.state,t,-1))return!1;let s=i(),{state:a}=s,o=a.changeByRange(l=>{var c;let{head:d}=l,f=Hs(a).resolveInner(d-1,-1),p;if(f.name=="JSXStartTag"&&(f=f.parent),!(a.doc.sliceString(d-1,d)!=r||f.name=="JSXAttributeValue"&&f.to>d)){if(r==">"&&f.name=="JSXFragmentTag")return{range:l,changes:{from:d,insert:""}};if(r=="/"&&f.name=="JSXStartCloseTag"){let g=f.parent,b=g.parent;if(b&&g.from==d-2&&((p=xie(a.doc,b.firstChild,d))||((c=b.firstChild)===null||c===void 0?void 0:c.name)=="JSXFragmentTag")){let w=`${p}>`;return{range:Bt.cursor(d+w.length,-1),changes:{from:d,insert:w}}}}else if(r==">"){let g=Fst(f);if(g&&g.name=="JSXOpenTag"&&!/^\/?>|^<\//.test(a.doc.sliceString(d,d+2))&&(p=xie(a.doc,g,d)))return{range:l,changes:{from:d,insert:``}}}}return{range:l}});return o.changes.empty?!1:(e.dispatch([s,a.update(o,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),kw=["_blank","_self","_top","_parent"],yL=["ascii","utf-8","utf-16","latin1","latin1"],vL=["get","post","put","delete"],SL=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],Dc=["true","false"],or={},Ust={a:{attrs:{href:null,ping:null,type:null,media:null,target:kw,hreflang:null}},abbr:or,address:or,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:or,aside:or,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:or,base:{attrs:{href:null,target:kw}},bdi:or,bdo:or,blockquote:{attrs:{cite:null}},body:or,br:or,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:SL,formmethod:vL,formnovalidate:["novalidate"],formtarget:kw,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:or,center:or,cite:or,code:or,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:or,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:or,div:or,dl:or,dt:or,em:or,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:or,figure:or,footer:or,form:{attrs:{action:null,name:null,"accept-charset":yL,autocomplete:["on","off"],enctype:SL,method:vL,novalidate:["novalidate"],target:kw}},h1:or,h2:or,h3:or,h4:or,h5:or,h6:or,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:or,hgroup:or,hr:or,html:{attrs:{manifest:null}},i:or,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:SL,formmethod:vL,formnovalidate:["novalidate"],formtarget:kw,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:or,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:or,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:or,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:yL,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:or,noscript:or,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:or,param:{attrs:{name:null,value:null}},pre:or,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:or,rt:or,ruby:or,samp:or,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:yL}},section:or,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:or,source:{attrs:{src:null,type:null,media:null}},span:or,strong:or,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:or,summary:or,sup:or,table:or,tbody:or,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:or,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:or,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:or,time:{attrs:{datetime:null}},title:or,tr:or,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:or,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:or},Jbe={accesskey:null,class:null,contenteditable:Dc,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:Dc,autocorrect:Dc,autocapitalize:Dc,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":Dc,"aria-autocomplete":["inline","list","both","none"],"aria-busy":Dc,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":Dc,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":Dc,"aria-hidden":Dc,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":Dc,"aria-multiselectable":Dc,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":Dc,"aria-relevant":null,"aria-required":Dc,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},eye="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(e=>"on"+e);for(let e of eye)Jbe[e]=null;let Xk=class{constructor(t,n){this.tags=Object.assign(Object.assign({},Ust),t),this.globalAttrs=Object.assign(Object.assign({},Jbe),n),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}};Xk.default=new Xk;function cE(e,t,n=e.length){if(!t)return"";let r=t.firstChild,i=r&&r.getChild("TagName");return i?e.sliceString(i.from,Math.min(i.to,n)):""}function dE(e,t=!1){for(;e;e=e.parent)if(e.name=="Element")if(t)t=!1;else return e;return null}function tye(e,t,n){let r=n.tags[cE(e,dE(t))];return(r==null?void 0:r.children)||n.allTags}function hj(e,t){let n=[];for(let r=dE(t);r&&!r.type.isTop;r=dE(r.parent)){let i=cE(e,r);if(i&&r.lastChild.name=="CloseTag")break;i&&n.indexOf(i)<0&&(t.name=="EndTag"||t.from>=r.firstChild.to)&&n.push(i)}return n}const nye=/^[:\-\.\w\u00b7-\uffff]*$/;function Tie(e,t,n,r,i){let s=/\s*>/.test(e.sliceDoc(i,i+5))?"":">",a=dE(n,!0);return{from:r,to:i,options:tye(e.doc,a,t).map(o=>({label:o,type:"type"})).concat(hj(e.doc,n).map((o,l)=>({label:"/"+o,apply:"/"+o+s,type:"type",boost:99-l}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function kie(e,t,n,r){let i=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:n,to:r,options:hj(e.doc,t).map((s,a)=>({label:s,apply:s+i,type:"type",boost:99-a})),validFor:nye}}function zst(e,t,n,r){let i=[],s=0;for(let a of tye(e.doc,n,t))i.push({label:"<"+a,type:"type"});for(let a of hj(e.doc,n))i.push({label:"",type:"type",boost:99-s++});return{from:r,to:r,options:i,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function Hst(e,t,n,r,i){let s=dE(n),a=s?t.tags[cE(e.doc,s)]:null,o=a&&a.attrs?Object.keys(a.attrs):[],l=a&&a.globalAttrs===!1?o:o.length?o.concat(t.globalAttrNames):t.globalAttrNames;return{from:r,to:i,options:l.map(c=>({label:c,type:"property"})),validFor:nye}}function qst(e,t,n,r,i){var s;let a=(s=n.parent)===null||s===void 0?void 0:s.getChild("AttributeName"),o=[],l;if(a){let c=e.sliceDoc(a.from,a.to),d=t.globalAttrs[c];if(!d){let f=dE(n),p=f?t.tags[cE(e.doc,f)]:null;d=(p==null?void 0:p.attrs)&&p.attrs[c]}if(d){let f=e.sliceDoc(r,i).toLowerCase(),p='"',g='"';/^['"]/.test(f)?(l=f[0]=='"'?/^[^"]*$/:/^[^']*$/,p="",g=e.sliceDoc(i,i+1)==f[0]?"":f[0],f=f.slice(1),r++):l=/^[^\s<>='"]*$/;for(let b of d)o.push({label:b,apply:p+b+g,type:"constant"})}}return{from:r,to:i,options:o,validFor:l}}function rye(e,t){let{state:n,pos:r}=t,i=Hs(n).resolveInner(r,-1),s=i.resolve(r);for(let a=r,o;s==i&&(o=i.childBefore(a));){let l=o.lastChild;if(!l||!l.type.isError||l.fromrye(r,i)}const Qst=xp.parser.configure({top:"SingleExpression"}),iye=[{tag:"script",attrs:e=>e.type=="text/typescript"||e.lang=="ts",parser:Gbe.parser},{tag:"script",attrs:e=>e.type=="text/babel"||e.type=="text/jsx",parser:Ybe.parser},{tag:"script",attrs:e=>e.type=="text/typescript-jsx",parser:Zbe.parser},{tag:"script",attrs(e){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type)},parser:Qst},{tag:"script",attrs(e){return!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type)},parser:xp.parser},{tag:"style",attrs(e){return(!e.lang||e.lang=="css")&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type))},parser:SI.parser}],sye=[{name:"style",parser:SI.parser.configure({top:"Styles"})}].concat(eye.map(e=>({name:e,parser:xp.parser}))),aye=iE.define({name:"html",parser:_it.configure({props:[sA.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit},Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].lengthe.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),uR=aye.configure({wrap:Fbe(iye,sye)});function Vst(e={}){let t="",n;e.matchClosingTags===!1&&(t="noMatch"),e.selfClosingTags===!0&&(t=(t?t+" ":"")+"selfClosing"),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(n=Fbe((e.nestedLanguages||[]).concat(iye),(e.nestedAttributes||[]).concat(sye)));let r=n?aye.configure({wrap:n,dialect:t}):t?uR.configure({dialect:t}):uR;return new Uk(r,[uR.data.of({autocomplete:Wst(e)}),e.autoCloseTags!==!1?Gst:[],Mst().support,nst().support])}const _ie=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),Gst=Sn.inputHandler.of((e,t,n,r,i)=>{if(e.composing||e.state.readOnly||t!=n||r!=">"&&r!="/"||!uR.isActiveAt(e.state,t,-1))return!1;let s=i(),{state:a}=s,o=a.changeByRange(l=>{var c,d,f;let p=a.doc.sliceString(l.from-1,l.to)==r,{head:g}=l,b=Hs(a).resolveInner(g,-1),w;if(p&&r==">"&&b.name=="EndTag"){let x=b.parent;if(((d=(c=x.parent)===null||c===void 0?void 0:c.lastChild)===null||d===void 0?void 0:d.name)!="CloseTag"&&(w=cE(a.doc,x.parent,g))&&!_ie.has(w)){let T=g+(a.doc.sliceString(g,g+1)===">"?1:0),_=``;return{range:l,changes:{from:g,to:T,insert:_}}}}else if(p&&r=="/"&&b.name=="IncompleteCloseTag"){let x=b.parent;if(b.from==g-2&&((f=x.lastChild)===null||f===void 0?void 0:f.name)!="CloseTag"&&(w=cE(a.doc,x,g))&&!_ie.has(w)){let T=g+(a.doc.sliceString(g,g+1)===">"?1:0),_=`${w}>`;return{range:Bt.cursor(g+_.length,-1),changes:{from:g,to:T,insert:_}}}}return{range:l}});return o.changes.empty?!1:(e.dispatch([s,a.update(o,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),oye=Pq({commentTokens:{block:{open:""}}}),lye=new Nr,uye=Ert.configure({props:[WE.add(e=>!e.is("Block")||e.is("Document")||UF(e)!=null||Yst(e)?void 0:(t,n)=>({from:n.doc.lineAt(t.from).to,to:t.to})),lye.add(UF),sA.add({Document:()=>null}),Ab.add({Document:oye})]});function UF(e){let t=/^(?:ATX|Setext)Heading(\d)$/.exec(e.name);return t?+t[1]:void 0}function Yst(e){return e.name=="OrderedList"||e.name=="BulletList"}function Zst(e,t){let n=e;for(;;){let r=n.nextSibling,i;if(!r||(i=UF(r.type))!=null&&i<=t)break;n=r}return n.to}const Xst=Cge.of((e,t,n)=>{for(let r=Hs(e).resolveInner(n,-1);r&&!(r.fromn)return{from:n,to:s}}return null});function pj(e){return new td(oye,e,[Xst],"markdown")}const Kst=pj(uye),Jst=uye.configure([Nrt,Lrt,Prt,Mrt,{props:[WE.add({Table:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}]),cye=pj(Jst);function eat(e,t){return n=>{if(n&&e){let r=null;if(n=/\S*/.exec(n)[0],typeof e=="function"?r=e(n):r=K5.matchLanguageName(e,n,!0),r instanceof K5)return r.support?r.support.language.parser:Bk.getSkippingParser(r.load());if(r)return r.parser}return t?t.parser:null}}let e3=class{constructor(t,n,r,i,s,a,o){this.node=t,this.from=n,this.to=r,this.spaceBefore=i,this.spaceAfter=s,this.type=a,this.item=o}blank(t,n=!0){let r=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(t!=null){for(;r.length0;i--)r+=" ";return r+(n?this.spaceAfter:"")}}marker(t,n){let r=this.node.name=="OrderedList"?String(+fye(this.item,t)[2]+n):"";return this.spaceBefore+r+this.type+this.spaceAfter}};function dye(e,t){let n=[];for(let i=e;i&&i.name!="Document";i=i.parent)(i.name=="ListItem"||i.name=="Blockquote"||i.name=="FencedCode")&&n.push(i);let r=[];for(let i=n.length-1;i>=0;i--){let s=n[i],a,o=t.lineAt(s.from),l=s.from-o.from;if(s.name=="FencedCode")r.push(new e3(s,l,l,"","","",null));else if(s.name=="Blockquote"&&(a=/^ *>( ?)/.exec(o.text.slice(l))))r.push(new e3(s,l,l+a[0].length,"",a[1],">",null));else if(s.name=="ListItem"&&s.parent.name=="OrderedList"&&(a=/^( *)\d+([.)])( *)/.exec(o.text.slice(l)))){let c=a[3],d=a[0].length;c.length>=4&&(c=c.slice(0,c.length-4),d-=4),r.push(new e3(s.parent,l,l+d,a[1],c,a[2],s))}else if(s.name=="ListItem"&&s.parent.name=="BulletList"&&(a=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(o.text.slice(l)))){let c=a[4],d=a[0].length;c.length>4&&(c=c.slice(0,c.length-4),d-=4);let f=a[2];a[3]&&(f+=a[3].replace(/[xX]/," ")),r.push(new e3(s.parent,l,l+d,a[1],c,f,s))}}return r}function fye(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function OL(e,t,n,r=0){for(let i=-1,s=e;;){if(s.name=="ListItem"){let o=fye(s,t),l=+o[2];if(i>=0){if(l!=i+1)return;n.push({from:s.from+o[1].length,to:s.from+o[0].length,insert:String(i+2+r)})}i=l}let a=s.nextSibling;if(!a)break;s=a}}function mj(e,t){let n=/^[ \t]*/.exec(e)[0].length;if(!n||t.facet(m1)!=" ")return e;let r=_p(e,4,n),i="";for(let s=r;s>0;)s>=4?(i+=" ",s-=4):(i+=" ",s--);return i+e.slice(n)}const tat=({state:e,dispatch:t})=>{let n=Hs(e),{doc:r}=e,i=null,s=e.changeByRange(a=>{if(!a.empty||!cye.isActiveAt(e,a.from))return i={range:a};let o=a.from,l=r.lineAt(o),c=dye(n.resolveInner(o,-1),r);for(;c.length&&c[c.length-1].from>o-l.from;)c.pop();if(!c.length)return i={range:a};let d=c[c.length-1];if(d.to-d.spaceAfter.length>o-l.from)return i={range:a};let f=o>=d.to-d.spaceAfter.length&&!/\S/.test(l.text.slice(d.to));if(d.item&&f){let x=d.node.firstChild,T=d.node.getChild("ListItem","ListItem");if(x.to>=o||T&&T.to0&&!/[^\s>]/.test(r.lineAt(l.from-1).text)){let _=c.length>1?c[c.length-2]:null,C,I="";_&&_.item?(C=l.from+_.from,I=_.marker(r,1)):C=l.from+(_?_.to:0);let M=[{from:C,to:o,insert:I}];return d.node.name=="OrderedList"&&OL(d.item,r,M,-2),_&&_.node.name=="OrderedList"&&OL(_.item,r,M),{range:Bt.cursor(C+I.length),changes:M}}else{let _=Cie(c,e,l);return{range:Bt.cursor(o+_.length+1),changes:{from:l.from,insert:_+e.lineBreak}}}}if(d.node.name=="Blockquote"&&f&&l.from){let x=r.lineAt(l.from-1),T=/>\s*$/.exec(x.text);if(T&&T.index==d.from){let _=e.changes([{from:x.from+T.index,to:x.to},{from:l.from+d.from,to:l.to}]);return{range:a.map(_),changes:_}}}let p=[];d.node.name=="OrderedList"&&OL(d.item,r,p);let g=d.item&&d.item.from]*/.exec(l.text)[0].length>=d.to)for(let x=0,T=c.length-1;x<=T;x++)b+=x==T&&!g?c[x].marker(r,1):c[x].blank(xl.from&&/\s/.test(l.text.charAt(w-l.from-1));)w--;return b=mj(b,e),nat(d.node,e.doc)&&(b=Cie(c,e,l)+e.lineBreak+b),p.push({from:w,to:o,insert:e.lineBreak+b}),{range:Bt.cursor(w+b.length+1),changes:p}});return i?!1:(t(e.update(s,{scrollIntoView:!0,userEvent:"input"})),!0)};function Aie(e){return e.name=="QuoteMark"||e.name=="ListMark"}function nat(e,t){if(e.name!="OrderedList"&&e.name!="BulletList")return!1;let n=e.firstChild,r=e.getChild("ListItem","ListItem");if(!r)return!1;let i=t.lineAt(n.to),s=t.lineAt(r.from),a=/^[\s>]*$/.test(i.text);return i.number+(a?0:1){let n=Hs(e),r=null,i=e.changeByRange(s=>{let a=s.from,{doc:o}=e;if(s.empty&&cye.isActiveAt(e,s.from)){let l=o.lineAt(a),c=dye(rat(n,a),o);if(c.length){let d=c[c.length-1],f=d.to-d.spaceAfter.length+(d.spaceAfter?1:0);if(a-l.from>f&&!/\S/.test(l.text.slice(f,a-l.from)))return{range:Bt.cursor(l.from+f),changes:{from:l.from+f,to:a}};if(a-l.from==f&&(!d.item||l.from<=d.item.from||!/\S/.test(l.text.slice(0,d.to)))){let p=l.from+d.from;if(d.item&&d.node.from=H.ch-1){var Q=R.getLine(N.line),ee=Q.charCodeAt(N.ch);55296<=ee&&ee<=55551&&(H.ch+=1)}return{start:N,end:H}}var r=[{keys:"",type:"keyToKey",toKeys:"h"},{keys:"",type:"keyToKey",toKeys:"l"},{keys:"",type:"keyToKey",toKeys:"k"},{keys:"",type:"keyToKey",toKeys:"j"},{keys:"g",type:"keyToKey",toKeys:"gk"},{keys:"g",type:"keyToKey",toKeys:"gj"},{keys:"",type:"keyToKey",toKeys:"l"},{keys:"",type:"keyToKey",toKeys:"h"},{keys:"",type:"keyToKey",toKeys:"x"},{keys:"",type:"keyToKey",toKeys:"W"},{keys:"",type:"keyToKey",toKeys:"B"},{keys:"",type:"keyToKey",toKeys:"w"},{keys:"",type:"keyToKey",toKeys:"b"},{keys:"",type:"keyToKey",toKeys:"j"},{keys:"",type:"keyToKey",toKeys:"k"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"s",type:"keyToKey",toKeys:"cl",context:"normal"},{keys:"s",type:"keyToKey",toKeys:"c",context:"visual"},{keys:"S",type:"keyToKey",toKeys:"cc",context:"normal"},{keys:"S",type:"keyToKey",toKeys:"VdO",context:"visual"},{keys:"",type:"keyToKey",toKeys:"0"},{keys:"",type:"keyToKey",toKeys:"$"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"j^",context:"normal"},{keys:"",type:"keyToKey",toKeys:"i",context:"normal"},{keys:"",type:"action",action:"toggleOverwrite",context:"insert"},{keys:"H",type:"motion",motion:"moveToTopLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"M",type:"motion",motion:"moveToMiddleLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"L",type:"motion",motion:"moveToBottomLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"h",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!1}},{keys:"l",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!0}},{keys:"j",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,linewise:!0}},{keys:"k",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,linewise:!0}},{keys:"gj",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!0}},{keys:"gk",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!1}},{keys:"w",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1}},{keys:"W",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1,bigWord:!0}},{keys:"e",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,inclusive:!0}},{keys:"E",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"b",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1}},{keys:"B",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1,bigWord:!0}},{keys:"ge",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,inclusive:!0}},{keys:"gE",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"{",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!1,toJumplist:!0}},{keys:"}",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!0,toJumplist:!0}},{keys:"(",type:"motion",motion:"moveBySentence",motionArgs:{forward:!1}},{keys:")",type:"motion",motion:"moveBySentence",motionArgs:{forward:!0}},{keys:"",type:"motion",motion:"moveByPage",motionArgs:{forward:!0}},{keys:"",type:"motion",motion:"moveByPage",motionArgs:{forward:!1}},{keys:"",type:"motion",motion:"moveByScroll",motionArgs:{forward:!0,explicitRepeat:!0}},{keys:"",type:"motion",motion:"moveByScroll",motionArgs:{forward:!1,explicitRepeat:!0}},{keys:"gg",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"G",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!0,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"g$",type:"motion",motion:"moveToEndOfDisplayLine"},{keys:"g^",type:"motion",motion:"moveToStartOfDisplayLine"},{keys:"g0",type:"motion",motion:"moveToStartOfDisplayLine"},{keys:"0",type:"motion",motion:"moveToStartOfLine"},{keys:"^",type:"motion",motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"+",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0}},{keys:"-",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,toFirstChar:!0}},{keys:"_",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0,repeatOffset:-1}},{keys:"$",type:"motion",motion:"moveToEol",motionArgs:{inclusive:!0}},{keys:"%",type:"motion",motion:"moveToMatchedSymbol",motionArgs:{inclusive:!0,toJumplist:!0}},{keys:"f",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"F",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!1}},{keys:"t",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"T",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!1}},{keys:";",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!0}},{keys:",",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!1}},{keys:"'",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0,linewise:!0}},{keys:"`",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0}},{keys:"]`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0}},{keys:"[`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1}},{keys:"]'",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0,linewise:!0}},{keys:"['",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1,linewise:!0}},{keys:"]p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0,matchIndent:!0}},{keys:"[p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0,matchIndent:!0}},{keys:"]",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!0,toJumplist:!0}},{keys:"[",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!1,toJumplist:!0}},{keys:"|",type:"motion",motion:"moveToColumn"},{keys:"o",type:"motion",motion:"moveToOtherHighlightedEnd",context:"visual"},{keys:"O",type:"motion",motion:"moveToOtherHighlightedEnd",motionArgs:{sameLine:!0},context:"visual"},{keys:"d",type:"operator",operator:"delete"},{keys:"y",type:"operator",operator:"yank"},{keys:"c",type:"operator",operator:"change"},{keys:"=",type:"operator",operator:"indentAuto"},{keys:">",type:"operator",operator:"indent",operatorArgs:{indentRight:!0}},{keys:"<",type:"operator",operator:"indent",operatorArgs:{indentRight:!1}},{keys:"g~",type:"operator",operator:"changeCase"},{keys:"gu",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},isEdit:!0},{keys:"gU",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},isEdit:!0},{keys:"n",type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:!0}},{keys:"N",type:"motion",motion:"findNext",motionArgs:{forward:!1,toJumplist:!0}},{keys:"gn",type:"motion",motion:"findAndSelectNextInclusive",motionArgs:{forward:!0}},{keys:"gN",type:"motion",motion:"findAndSelectNextInclusive",motionArgs:{forward:!1}},{keys:"gq",type:"operator",operator:"hardWrap"},{keys:"gw",type:"operator",operator:"hardWrap",operatorArgs:{keepCursor:!0}},{keys:"x",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!0},operatorMotionArgs:{visualLine:!1}},{keys:"X",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!1},operatorMotionArgs:{visualLine:!0}},{keys:"D",type:"operatorMotion",operator:"delete",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"D",type:"operator",operator:"delete",operatorArgs:{linewise:!0},context:"visual"},{keys:"Y",type:"operatorMotion",operator:"yank",motion:"expandToLine",motionArgs:{linewise:!0},context:"normal"},{keys:"Y",type:"operator",operator:"yank",operatorArgs:{linewise:!0},context:"visual"},{keys:"C",type:"operatorMotion",operator:"change",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"C",type:"operator",operator:"change",operatorArgs:{linewise:!0},context:"visual"},{keys:"~",type:"operatorMotion",operator:"changeCase",motion:"moveByCharacters",motionArgs:{forward:!0},operatorArgs:{shouldMoveCursor:!0},context:"normal"},{keys:"~",type:"operator",operator:"changeCase",context:"visual"},{keys:"",type:"operatorMotion",operator:"delete",motion:"moveToStartOfLine",context:"insert"},{keys:"",type:"operatorMotion",operator:"delete",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1},context:"insert"},{keys:"",type:"idle",context:"normal"},{keys:"",type:"action",action:"jumpListWalk",actionArgs:{forward:!0}},{keys:"",type:"action",action:"jumpListWalk",actionArgs:{forward:!1}},{keys:"",type:"action",action:"scroll",actionArgs:{forward:!0,linewise:!0}},{keys:"",type:"action",action:"scroll",actionArgs:{forward:!1,linewise:!0}},{keys:"a",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"charAfter"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"eol"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"endOfSelectedArea"},context:"visual"},{keys:"i",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"inplace"},context:"normal"},{keys:"gi",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"lastEdit"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"firstNonBlank"},context:"normal"},{keys:"gI",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"bol"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"startOfSelectedArea"},context:"visual"},{keys:"o",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!0},context:"normal"},{keys:"O",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!1},context:"normal"},{keys:"v",type:"action",action:"toggleVisualMode"},{keys:"V",type:"action",action:"toggleVisualMode",actionArgs:{linewise:!0}},{keys:"",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"gv",type:"action",action:"reselectLastSelection"},{keys:"J",type:"action",action:"joinLines",isEdit:!0},{keys:"gJ",type:"action",action:"joinLines",actionArgs:{keepSpaces:!0},isEdit:!0},{keys:"p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0}},{keys:"P",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0}},{keys:"r",type:"action",action:"replace",isEdit:!0},{keys:"@",type:"action",action:"replayMacro"},{keys:"q",type:"action",action:"enterMacroRecordMode"},{keys:"R",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{replace:!0},context:"normal"},{keys:"R",type:"operator",operator:"change",operatorArgs:{linewise:!0,fullLine:!0},context:"visual",exitVisualBlock:!0},{keys:"u",type:"action",action:"undo",context:"normal"},{keys:"u",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},context:"visual",isEdit:!0},{keys:"U",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},context:"visual",isEdit:!0},{keys:"",type:"action",action:"redo"},{keys:"m",type:"action",action:"setMark"},{keys:'"',type:"action",action:"setRegister"},{keys:"",type:"action",action:"insertRegister",context:"insert",isEdit:!0},{keys:"",type:"action",action:"oneNormalCommand",context:"insert"},{keys:"zz",type:"action",action:"scrollToCursor",actionArgs:{position:"center"}},{keys:"z.",type:"action",action:"scrollToCursor",actionArgs:{position:"center"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zt",type:"action",action:"scrollToCursor",actionArgs:{position:"top"}},{keys:"z",type:"action",action:"scrollToCursor",actionArgs:{position:"top"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zb",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"}},{keys:"z-",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:".",type:"action",action:"repeatLastEdit"},{keys:"",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!0,backtrack:!1}},{keys:"",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!1,backtrack:!1}},{keys:"",type:"action",action:"indent",actionArgs:{indentRight:!0},context:"insert"},{keys:"",type:"action",action:"indent",actionArgs:{indentRight:!1},context:"insert"},{keys:"a",type:"motion",motion:"textObjectManipulation"},{keys:"i",type:"motion",motion:"textObjectManipulation",motionArgs:{textObjectInner:!0}},{keys:"/",type:"search",searchArgs:{forward:!0,querySrc:"prompt",toJumplist:!0}},{keys:"?",type:"search",searchArgs:{forward:!1,querySrc:"prompt",toJumplist:!0}},{keys:"*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"g*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:"g#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:":",type:"ex"}],i=r.length,s=[{name:"colorscheme",shortName:"colo"},{name:"map"},{name:"imap",shortName:"im"},{name:"nmap",shortName:"nm"},{name:"vmap",shortName:"vm"},{name:"omap",shortName:"om"},{name:"noremap",shortName:"no"},{name:"nnoremap",shortName:"nn"},{name:"vnoremap",shortName:"vn"},{name:"inoremap",shortName:"ino"},{name:"onoremap",shortName:"ono"},{name:"unmap"},{name:"mapclear",shortName:"mapc"},{name:"nmapclear",shortName:"nmapc"},{name:"vmapclear",shortName:"vmapc"},{name:"imapclear",shortName:"imapc"},{name:"omapclear",shortName:"omapc"},{name:"write",shortName:"w"},{name:"undo",shortName:"u"},{name:"redo",shortName:"red"},{name:"set",shortName:"se"},{name:"setlocal",shortName:"setl"},{name:"setglobal",shortName:"setg"},{name:"sort",shortName:"sor"},{name:"substitute",shortName:"s",possiblyAsync:!0},{name:"startinsert",shortName:"start"},{name:"nohlsearch",shortName:"noh"},{name:"yank",shortName:"y"},{name:"delmarks",shortName:"delm"},{name:"registers",shortName:"reg",excludeFromCommandHistory:!0},{name:"vglobal",shortName:"v"},{name:"delete",shortName:"d"},{name:"join",shortName:"j"},{name:"normal",shortName:"norm"},{name:"global",shortName:"g"}],a=Jt("");function o(R){R.setOption("disableInput",!0),R.setOption("showCursorWhenSelecting",!1),e.signal(R,"vim-mode-change",{mode:"normal"}),R.on("cursorActivity",Rm),ye(R),e.on(R.getInputField(),"paste",c(R))}function l(R){R.setOption("disableInput",!1),R.off("cursorActivity",Rm),e.off(R.getInputField(),"paste",c(R)),R.state.vim=null,Ua&&clearTimeout(Ua)}function c(R){var N=R.state.vim;return N.onPasteFn||(N.onPasteFn=function(){N.insertMode||(R.setCursor(pt(R.getCursor(),0,1)),yt.enterInsertMode(R,{},N))}),N.onPasteFn}var d=/[\d]/,f=[e.isWordChar,function(R){return R&&!e.isWordChar(R)&&!/\s/.test(R)}],p=[function(R){return/\S/.test(R)}],g=["<",">"],b=["-",'"',".",":","_","/","+"],w=/^\w$/,x;try{x=new RegExp("^[\\p{Lu}]$","u")}catch{x=/^[A-Z]$/}function T(R,N){return N>=R.firstLine()&&N<=R.lastLine()}function _(R){return/^[a-z]$/.test(R)}function C(R){return"()[]{}".indexOf(R)!=-1}function I(R){return d.test(R)}function M(R){return x.test(R)}function $(R){return/^\s*$/.test(R)}function B(R){return".?!".indexOf(R)!=-1}function j(R,N){for(var H=0;H1&&N.setOption("textwidth",Q)}});var me=function(){var R=100,N=-1,H=0,Q=0,ee=new Array(R);function J(Le,Ve,He){var vt=N%R,gt=ee[vt];function bt($t){var tn=++N%R,$n=ee[tn];$n&&$n.clear(),ee[tn]=Le.setBookmark($t)}if(gt){var dt=gt.find();dt&&!ct(dt,Ve)&&bt(Ve)}else bt(Ve);bt(He),H=N,Q=N-R+1,Q<0&&(Q=0)}function oe(Le,Ve){N+=Ve,N>H?N=H:N0?1:-1,gt,bt=Le.getCursor();do if(N+=vt,He=ee[(R+N)%R],He&&(gt=He.find())&&!ct(bt,gt))break;while(NQ)}return He}function Ae(Le,Ve){var He=N,vt=oe(Le,Ve);return N=He,vt&&vt.find()}return{cachedCursor:void 0,add:J,find:Ae,move:oe}},fe=function(R){return R?{changes:R.changes,expectCursorActivityForChange:R.expectCursorActivityForChange}:{changes:[],expectCursorActivityForChange:!1}};class le{constructor(){this.latestRegister=void 0,this.isPlaying=!1,this.isRecording=!1,this.replaySearchQueries=[],this.onRecordingDone=void 0,this.lastInsertModeChanges=fe()}exitMacroRecordMode(){var N=ae.macroModeState;N.onRecordingDone&&N.onRecordingDone(),N.onRecordingDone=void 0,N.isRecording=!1}enterMacroRecordMode(N,H){var Q=ae.registerController.getRegister(H);if(Q){if(Q.clear(),this.latestRegister=H,N.openDialog){var ee=Ui("span",{class:"cm-vim-message"},"recording @"+H);this.onRecordingDone=N.openDialog(ee,null,{bottom:!0})}this.isRecording=!0}}}function ye(R){return R.state.vim||(R.state.vim={inputState:new Vt,lastEditInputState:void 0,lastEditActionCommand:void 0,lastHPos:-1,lastHSPos:-1,lastMotion:null,marks:{},insertMode:!1,insertModeReturn:!1,insertModeRepeat:void 0,visualMode:!1,visualLine:!1,visualBlock:!1,lastSelection:null,lastPastedText:null,sel:{},options:{},expectLiteralNext:!1}),R.state.vim}var ae;function Se(){ae={searchQuery:null,searchIsReversed:!1,lastSubstituteReplacePart:void 0,jumpList:me(),macroModeState:new le,lastCharacterSearch:{increment:0,forward:!0,selectedCharacter:""},registerController:new sn({}),searchHistoryController:new te,exCommandHistoryController:new te};for(var R in F){var N=F[R];N.value=N.defaultValue}}var he,re={enterVimMode:o,leaveVimMode:l,buildKeyMap:function(){},getRegisterController:function(){return ae.registerController},resetVimGlobalState_:Se,getVimGlobalState_:function(){return ae},maybeInitVimState_:ye,suppressErrorLogging:!1,InsertModeKey:Ss,map:function(R,N,H){Fo.map(R,N,H)},unmap:function(R,N){return Fo.unmap(R,N)},noremap:function(R,N,H){Fo.map(R,N,H,!0)},mapclear:function(R){var N=r.length,H=i,Q=r.slice(0,N-H);if(r=r.slice(N-H),R)for(var ee=Q.length-1;ee>=0;ee--){var J=Q[ee];if(R!==J.context)if(J.context)this._mapCommand(J);else{var oe=["normal","insert","visual"];for(var Ae in oe)if(oe[Ae]!==R){var Le=Object.assign({},J);Le.context=oe[Ae],this._mapCommand(Le)}}}},langmap:Ht,vimKeyFromEvent:Nt,setOption:ie,getOption:se,defineOption:V,defineEx:function(R,N,H){if(!N)N=R;else if(R.indexOf(N)!==0)throw new Error('(Vim.defineEx) "'+N+'" is not a prefix of "'+R+'", command not registered');_h[R]=H,Fo.commandMap_[N]={name:R,shortName:N,type:"api"}},handleKey:function(R,N,H){var Q=this.findKey(R,N,H);if(typeof Q=="function")return Q()},multiSelectHandleKey:Gr,findKey:function(R,N,H){var Q=ye(R),ee=R;function J(){var He=ae.macroModeState;if(He.isRecording){if(N=="q")return He.exitMacroRecordMode(),en(ee),!0;H!="mapping"&&zi(He,N)}}function oe(){if(N==""){if(Q.visualMode)at(ee);else if(Q.insertMode)il(ee);else return;return en(ee),!0}}function Ae(){if(oe())return!0;Q.inputState.keyBuffer.push(N);var He=Q.inputState.keyBuffer.join(""),vt=N.length==1,gt=de.matchCommand(He,r,Q.inputState,"insert"),bt=Q.inputState.changeQueue;if(gt.type=="none")return en(ee),!1;if(gt.type=="partial"){if(gt.expectLiteralNext&&(Q.expectLiteralNext=!0),he&&window.clearTimeout(he),he=vt&&window.setTimeout(function(){Q.insertMode&&Q.inputState.keyBuffer.length&&en(ee)},se("insertModeEscKeysTimeout")),vt){var dt=ee.listSelections();(!bt||bt.removed.length!=dt.length)&&(bt=Q.inputState.changeQueue=new Ct),bt.inserted+=N;for(var $t=0;$t{let r=t.node.getChild("VariableDefinition");return r&&n(r,e),!0}}const Nst=["FunctionDeclaration"],Pst={FunctionDeclaration:Tw("function"),ClassDeclaration:Tw("class"),ClassExpression:()=>!0,EnumDeclaration:Tw("constant"),TypeAliasDeclaration:Tw("type"),NamespaceDeclaration:Tw("namespace"),VariableDefinition(e,t){e.matchContext(Nst)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null};function Qbe(e,t){let n=Eie.get(t);if(n)return n;let r=[],i=!0;function s(a,o){let l=e.sliceString(a.from,a.to);r.push({label:l,type:o})}return t.cursor($s.IncludeAnonymous).iterate(a=>{if(i)i=!1;else if(a.name){let o=Pst[a.name];if(o&&o(a,s)||Wbe.has(a.name))return!1}else if(a.to-a.from>8192){for(let o of Qbe(e,a.node))r.push(o);return!1}}),Eie.set(t,r),r}const wie=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,Vbe=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."];function Lst(e){let t=Hs(e.state).resolveInner(e.pos,-1);if(Vbe.indexOf(t.name)>-1)return null;let n=t.name=="VariableName"||t.to-t.from<20&&wie.test(e.state.sliceDoc(t.from,t.to));if(!n&&!e.explicit)return null;let r=[];for(let i=t;i;i=i.parent)Wbe.has(i.name)&&(r=r.concat(Qbe(e.state.doc,i)));return{options:r,from:n?t.from:e.pos,validFor:wie}}const xp=iE.define({name:"javascript",parser:Ist.configure({props:[sA.add({IfStatement:aR({except:/^\s*({|else\b)/}),TryStatement:aR({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:tJe,SwitchBody:e=>{let t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(n?0:r?1:2)*e.unit},Block:eJe({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":aR({except:/^{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),WE.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":Ige,BlockComment(e){return{from:e.from+2,to:e.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),Gbe={test:e=>/^JSX/.test(e.name),facet:Pq({commentTokens:{block:{open:"{/*",close:"*/}"}}})},Ybe=xp.configure({dialect:"ts"},"typescript"),Zbe=xp.configure({dialect:"jsx",props:[Lq.add(e=>e.isTop?[Gbe]:void 0)]}),Xbe=xp.configure({dialect:"jsx ts",props:[Lq.add(e=>e.isTop?[Gbe]:void 0)]},"typescript");let Kbe=e=>({label:e,type:"keyword"});const Jbe="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(Kbe),Mst=Jbe.concat(["declare","implements","private","protected","public"].map(Kbe));function Fst(e={}){let t=e.jsx?e.typescript?Xbe:Zbe:e.typescript?Ybe:xp,n=e.typescript?Dst.concat(Mst):jbe.concat(Jbe);return new Uk(t,[xp.data.of({autocomplete:gtt(Vbe,D1e(n))}),xp.data.of({autocomplete:Lst}),e.jsx?Ust:[]])}function $st(e){for(;;){if(e.name=="JSXOpenTag"||e.name=="JSXSelfClosingTag"||e.name=="JSXFragmentTag")return e;if(e.name=="JSXEscape"||!e.parent)return null;e=e.parent}}function xie(e,t,n=e.length){for(let r=t==null?void 0:t.firstChild;r;r=r.nextSibling)if(r.name=="JSXIdentifier"||r.name=="JSXBuiltin"||r.name=="JSXNamespacedName"||r.name=="JSXMemberExpression")return e.sliceString(r.from,Math.min(r.to,n));return""}const Bst=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),Ust=Sn.inputHandler.of((e,t,n,r,i)=>{if((Bst?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||r!=">"&&r!="/"||!xp.isActiveAt(e.state,t,-1))return!1;let s=i(),{state:a}=s,o=a.changeByRange(l=>{var c;let{head:d}=l,f=Hs(a).resolveInner(d-1,-1),p;if(f.name=="JSXStartTag"&&(f=f.parent),!(a.doc.sliceString(d-1,d)!=r||f.name=="JSXAttributeValue"&&f.to>d)){if(r==">"&&f.name=="JSXFragmentTag")return{range:l,changes:{from:d,insert:""}};if(r=="/"&&f.name=="JSXStartCloseTag"){let g=f.parent,b=g.parent;if(b&&g.from==d-2&&((p=xie(a.doc,b.firstChild,d))||((c=b.firstChild)===null||c===void 0?void 0:c.name)=="JSXFragmentTag")){let w=`${p}>`;return{range:Bt.cursor(d+w.length,-1),changes:{from:d,insert:w}}}}else if(r==">"){let g=$st(f);if(g&&g.name=="JSXOpenTag"&&!/^\/?>|^<\//.test(a.doc.sliceString(d,d+2))&&(p=xie(a.doc,g,d)))return{range:l,changes:{from:d,insert:``}}}}return{range:l}});return o.changes.empty?!1:(e.dispatch([s,a.update(o,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),kw=["_blank","_self","_top","_parent"],yL=["ascii","utf-8","utf-16","latin1","latin1"],vL=["get","post","put","delete"],SL=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],Nc=["true","false"],or={},zst={a:{attrs:{href:null,ping:null,type:null,media:null,target:kw,hreflang:null}},abbr:or,address:or,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:or,aside:or,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:or,base:{attrs:{href:null,target:kw}},bdi:or,bdo:or,blockquote:{attrs:{cite:null}},body:or,br:or,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:SL,formmethod:vL,formnovalidate:["novalidate"],formtarget:kw,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:or,center:or,cite:or,code:or,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:or,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:or,div:or,dl:or,dt:or,em:or,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:or,figure:or,footer:or,form:{attrs:{action:null,name:null,"accept-charset":yL,autocomplete:["on","off"],enctype:SL,method:vL,novalidate:["novalidate"],target:kw}},h1:or,h2:or,h3:or,h4:or,h5:or,h6:or,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:or,hgroup:or,hr:or,html:{attrs:{manifest:null}},i:or,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:SL,formmethod:vL,formnovalidate:["novalidate"],formtarget:kw,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:or,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:or,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:or,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:yL,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:or,noscript:or,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:or,param:{attrs:{name:null,value:null}},pre:or,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:or,rt:or,ruby:or,samp:or,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:yL}},section:or,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:or,source:{attrs:{src:null,type:null,media:null}},span:or,strong:or,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:or,summary:or,sup:or,table:or,tbody:or,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:or,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:or,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:or,time:{attrs:{datetime:null}},title:or,tr:or,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:or,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:or},eye={accesskey:null,class:null,contenteditable:Nc,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:Nc,autocorrect:Nc,autocapitalize:Nc,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":Nc,"aria-autocomplete":["inline","list","both","none"],"aria-busy":Nc,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":Nc,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":Nc,"aria-hidden":Nc,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":Nc,"aria-multiselectable":Nc,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":Nc,"aria-relevant":null,"aria-required":Nc,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},tye="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(e=>"on"+e);for(let e of tye)eye[e]=null;let Xk=class{constructor(t,n){this.tags=Object.assign(Object.assign({},zst),t),this.globalAttrs=Object.assign(Object.assign({},eye),n),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}};Xk.default=new Xk;function cE(e,t,n=e.length){if(!t)return"";let r=t.firstChild,i=r&&r.getChild("TagName");return i?e.sliceString(i.from,Math.min(i.to,n)):""}function dE(e,t=!1){for(;e;e=e.parent)if(e.name=="Element")if(t)t=!1;else return e;return null}function nye(e,t,n){let r=n.tags[cE(e,dE(t))];return(r==null?void 0:r.children)||n.allTags}function hj(e,t){let n=[];for(let r=dE(t);r&&!r.type.isTop;r=dE(r.parent)){let i=cE(e,r);if(i&&r.lastChild.name=="CloseTag")break;i&&n.indexOf(i)<0&&(t.name=="EndTag"||t.from>=r.firstChild.to)&&n.push(i)}return n}const rye=/^[:\-\.\w\u00b7-\uffff]*$/;function Tie(e,t,n,r,i){let s=/\s*>/.test(e.sliceDoc(i,i+5))?"":">",a=dE(n,!0);return{from:r,to:i,options:nye(e.doc,a,t).map(o=>({label:o,type:"type"})).concat(hj(e.doc,n).map((o,l)=>({label:"/"+o,apply:"/"+o+s,type:"type",boost:99-l}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function kie(e,t,n,r){let i=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:n,to:r,options:hj(e.doc,t).map((s,a)=>({label:s,apply:s+i,type:"type",boost:99-a})),validFor:rye}}function Hst(e,t,n,r){let i=[],s=0;for(let a of nye(e.doc,n,t))i.push({label:"<"+a,type:"type"});for(let a of hj(e.doc,n))i.push({label:"",type:"type",boost:99-s++});return{from:r,to:r,options:i,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function qst(e,t,n,r,i){let s=dE(n),a=s?t.tags[cE(e.doc,s)]:null,o=a&&a.attrs?Object.keys(a.attrs):[],l=a&&a.globalAttrs===!1?o:o.length?o.concat(t.globalAttrNames):t.globalAttrNames;return{from:r,to:i,options:l.map(c=>({label:c,type:"property"})),validFor:rye}}function jst(e,t,n,r,i){var s;let a=(s=n.parent)===null||s===void 0?void 0:s.getChild("AttributeName"),o=[],l;if(a){let c=e.sliceDoc(a.from,a.to),d=t.globalAttrs[c];if(!d){let f=dE(n),p=f?t.tags[cE(e.doc,f)]:null;d=(p==null?void 0:p.attrs)&&p.attrs[c]}if(d){let f=e.sliceDoc(r,i).toLowerCase(),p='"',g='"';/^['"]/.test(f)?(l=f[0]=='"'?/^[^"]*$/:/^[^']*$/,p="",g=e.sliceDoc(i,i+1)==f[0]?"":f[0],f=f.slice(1),r++):l=/^[^\s<>='"]*$/;for(let b of d)o.push({label:b,apply:p+b+g,type:"constant"})}}return{from:r,to:i,options:o,validFor:l}}function iye(e,t){let{state:n,pos:r}=t,i=Hs(n).resolveInner(r,-1),s=i.resolve(r);for(let a=r,o;s==i&&(o=i.childBefore(a));){let l=o.lastChild;if(!l||!l.type.isError||l.fromiye(r,i)}const Vst=xp.parser.configure({top:"SingleExpression"}),sye=[{tag:"script",attrs:e=>e.type=="text/typescript"||e.lang=="ts",parser:Ybe.parser},{tag:"script",attrs:e=>e.type=="text/babel"||e.type=="text/jsx",parser:Zbe.parser},{tag:"script",attrs:e=>e.type=="text/typescript-jsx",parser:Xbe.parser},{tag:"script",attrs(e){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type)},parser:Vst},{tag:"script",attrs(e){return!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type)},parser:xp.parser},{tag:"style",attrs(e){return(!e.lang||e.lang=="css")&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type))},parser:SI.parser}],aye=[{name:"style",parser:SI.parser.configure({top:"Styles"})}].concat(tye.map(e=>({name:e,parser:xp.parser}))),oye=iE.define({name:"html",parser:Ait.configure({props:[sA.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit},Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].lengthe.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),uR=oye.configure({wrap:$be(sye,aye)});function Gst(e={}){let t="",n;e.matchClosingTags===!1&&(t="noMatch"),e.selfClosingTags===!0&&(t=(t?t+" ":"")+"selfClosing"),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(n=$be((e.nestedLanguages||[]).concat(sye),(e.nestedAttributes||[]).concat(aye)));let r=n?oye.configure({wrap:n,dialect:t}):t?uR.configure({dialect:t}):uR;return new Uk(r,[uR.data.of({autocomplete:Qst(e)}),e.autoCloseTags!==!1?Yst:[],Fst().support,rst().support])}const _ie=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),Yst=Sn.inputHandler.of((e,t,n,r,i)=>{if(e.composing||e.state.readOnly||t!=n||r!=">"&&r!="/"||!uR.isActiveAt(e.state,t,-1))return!1;let s=i(),{state:a}=s,o=a.changeByRange(l=>{var c,d,f;let p=a.doc.sliceString(l.from-1,l.to)==r,{head:g}=l,b=Hs(a).resolveInner(g,-1),w;if(p&&r==">"&&b.name=="EndTag"){let x=b.parent;if(((d=(c=x.parent)===null||c===void 0?void 0:c.lastChild)===null||d===void 0?void 0:d.name)!="CloseTag"&&(w=cE(a.doc,x.parent,g))&&!_ie.has(w)){let T=g+(a.doc.sliceString(g,g+1)===">"?1:0),_=``;return{range:l,changes:{from:g,to:T,insert:_}}}}else if(p&&r=="/"&&b.name=="IncompleteCloseTag"){let x=b.parent;if(b.from==g-2&&((f=x.lastChild)===null||f===void 0?void 0:f.name)!="CloseTag"&&(w=cE(a.doc,x,g))&&!_ie.has(w)){let T=g+(a.doc.sliceString(g,g+1)===">"?1:0),_=`${w}>`;return{range:Bt.cursor(g+_.length,-1),changes:{from:g,to:T,insert:_}}}}return{range:l}});return o.changes.empty?!1:(e.dispatch([s,a.update(o,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),lye=Pq({commentTokens:{block:{open:""}}}),uye=new Nr,cye=wrt.configure({props:[WE.add(e=>!e.is("Block")||e.is("Document")||UF(e)!=null||Zst(e)?void 0:(t,n)=>({from:n.doc.lineAt(t.from).to,to:t.to})),uye.add(UF),sA.add({Document:()=>null}),Ab.add({Document:lye})]});function UF(e){let t=/^(?:ATX|Setext)Heading(\d)$/.exec(e.name);return t?+t[1]:void 0}function Zst(e){return e.name=="OrderedList"||e.name=="BulletList"}function Xst(e,t){let n=e;for(;;){let r=n.nextSibling,i;if(!r||(i=UF(r.type))!=null&&i<=t)break;n=r}return n.to}const Kst=Rge.of((e,t,n)=>{for(let r=Hs(e).resolveInner(n,-1);r&&!(r.fromn)return{from:n,to:s}}return null});function pj(e){return new nd(lye,e,[Kst],"markdown")}const Jst=pj(cye),eat=cye.configure([Prt,Mrt,Lrt,Frt,{props:[WE.add({Table:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}]),dye=pj(eat);function tat(e,t){return n=>{if(n&&e){let r=null;if(n=/\S*/.exec(n)[0],typeof e=="function"?r=e(n):r=K5.matchLanguageName(e,n,!0),r instanceof K5)return r.support?r.support.language.parser:Bk.getSkippingParser(r.load());if(r)return r.parser}return t?t.parser:null}}let e3=class{constructor(t,n,r,i,s,a,o){this.node=t,this.from=n,this.to=r,this.spaceBefore=i,this.spaceAfter=s,this.type=a,this.item=o}blank(t,n=!0){let r=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(t!=null){for(;r.length0;i--)r+=" ";return r+(n?this.spaceAfter:"")}}marker(t,n){let r=this.node.name=="OrderedList"?String(+hye(this.item,t)[2]+n):"";return this.spaceBefore+r+this.type+this.spaceAfter}};function fye(e,t){let n=[];for(let i=e;i&&i.name!="Document";i=i.parent)(i.name=="ListItem"||i.name=="Blockquote"||i.name=="FencedCode")&&n.push(i);let r=[];for(let i=n.length-1;i>=0;i--){let s=n[i],a,o=t.lineAt(s.from),l=s.from-o.from;if(s.name=="FencedCode")r.push(new e3(s,l,l,"","","",null));else if(s.name=="Blockquote"&&(a=/^ *>( ?)/.exec(o.text.slice(l))))r.push(new e3(s,l,l+a[0].length,"",a[1],">",null));else if(s.name=="ListItem"&&s.parent.name=="OrderedList"&&(a=/^( *)\d+([.)])( *)/.exec(o.text.slice(l)))){let c=a[3],d=a[0].length;c.length>=4&&(c=c.slice(0,c.length-4),d-=4),r.push(new e3(s.parent,l,l+d,a[1],c,a[2],s))}else if(s.name=="ListItem"&&s.parent.name=="BulletList"&&(a=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(o.text.slice(l)))){let c=a[4],d=a[0].length;c.length>4&&(c=c.slice(0,c.length-4),d-=4);let f=a[2];a[3]&&(f+=a[3].replace(/[xX]/," ")),r.push(new e3(s.parent,l,l+d,a[1],c,f,s))}}return r}function hye(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function OL(e,t,n,r=0){for(let i=-1,s=e;;){if(s.name=="ListItem"){let o=hye(s,t),l=+o[2];if(i>=0){if(l!=i+1)return;n.push({from:s.from+o[1].length,to:s.from+o[0].length,insert:String(i+2+r)})}i=l}let a=s.nextSibling;if(!a)break;s=a}}function mj(e,t){let n=/^[ \t]*/.exec(e)[0].length;if(!n||t.facet(m1)!=" ")return e;let r=_p(e,4,n),i="";for(let s=r;s>0;)s>=4?(i+=" ",s-=4):(i+=" ",s--);return i+e.slice(n)}const nat=({state:e,dispatch:t})=>{let n=Hs(e),{doc:r}=e,i=null,s=e.changeByRange(a=>{if(!a.empty||!dye.isActiveAt(e,a.from))return i={range:a};let o=a.from,l=r.lineAt(o),c=fye(n.resolveInner(o,-1),r);for(;c.length&&c[c.length-1].from>o-l.from;)c.pop();if(!c.length)return i={range:a};let d=c[c.length-1];if(d.to-d.spaceAfter.length>o-l.from)return i={range:a};let f=o>=d.to-d.spaceAfter.length&&!/\S/.test(l.text.slice(d.to));if(d.item&&f){let x=d.node.firstChild,T=d.node.getChild("ListItem","ListItem");if(x.to>=o||T&&T.to0&&!/[^\s>]/.test(r.lineAt(l.from-1).text)){let _=c.length>1?c[c.length-2]:null,C,I="";_&&_.item?(C=l.from+_.from,I=_.marker(r,1)):C=l.from+(_?_.to:0);let M=[{from:C,to:o,insert:I}];return d.node.name=="OrderedList"&&OL(d.item,r,M,-2),_&&_.node.name=="OrderedList"&&OL(_.item,r,M),{range:Bt.cursor(C+I.length),changes:M}}else{let _=Cie(c,e,l);return{range:Bt.cursor(o+_.length+1),changes:{from:l.from,insert:_+e.lineBreak}}}}if(d.node.name=="Blockquote"&&f&&l.from){let x=r.lineAt(l.from-1),T=/>\s*$/.exec(x.text);if(T&&T.index==d.from){let _=e.changes([{from:x.from+T.index,to:x.to},{from:l.from+d.from,to:l.to}]);return{range:a.map(_),changes:_}}}let p=[];d.node.name=="OrderedList"&&OL(d.item,r,p);let g=d.item&&d.item.from]*/.exec(l.text)[0].length>=d.to)for(let x=0,T=c.length-1;x<=T;x++)b+=x==T&&!g?c[x].marker(r,1):c[x].blank(xl.from&&/\s/.test(l.text.charAt(w-l.from-1));)w--;return b=mj(b,e),rat(d.node,e.doc)&&(b=Cie(c,e,l)+e.lineBreak+b),p.push({from:w,to:o,insert:e.lineBreak+b}),{range:Bt.cursor(w+b.length+1),changes:p}});return i?!1:(t(e.update(s,{scrollIntoView:!0,userEvent:"input"})),!0)};function Aie(e){return e.name=="QuoteMark"||e.name=="ListMark"}function rat(e,t){if(e.name!="OrderedList"&&e.name!="BulletList")return!1;let n=e.firstChild,r=e.getChild("ListItem","ListItem");if(!r)return!1;let i=t.lineAt(n.to),s=t.lineAt(r.from),a=/^[\s>]*$/.test(i.text);return i.number+(a?0:1){let n=Hs(e),r=null,i=e.changeByRange(s=>{let a=s.from,{doc:o}=e;if(s.empty&&dye.isActiveAt(e,s.from)){let l=o.lineAt(a),c=fye(iat(n,a),o);if(c.length){let d=c[c.length-1],f=d.to-d.spaceAfter.length+(d.spaceAfter?1:0);if(a-l.from>f&&!/\S/.test(l.text.slice(f,a-l.from)))return{range:Bt.cursor(l.from+f),changes:{from:l.from+f,to:a}};if(a-l.from==f&&(!d.item||l.from<=d.item.from||!/\S/.test(l.text.slice(0,d.to)))){let p=l.from+d.from;if(d.item&&d.node.from=H.ch-1){var Q=R.getLine(N.line),ee=Q.charCodeAt(N.ch);55296<=ee&&ee<=55551&&(H.ch+=1)}return{start:N,end:H}}var r=[{keys:"",type:"keyToKey",toKeys:"h"},{keys:"",type:"keyToKey",toKeys:"l"},{keys:"",type:"keyToKey",toKeys:"k"},{keys:"",type:"keyToKey",toKeys:"j"},{keys:"g",type:"keyToKey",toKeys:"gk"},{keys:"g",type:"keyToKey",toKeys:"gj"},{keys:"",type:"keyToKey",toKeys:"l"},{keys:"",type:"keyToKey",toKeys:"h"},{keys:"",type:"keyToKey",toKeys:"x"},{keys:"",type:"keyToKey",toKeys:"W"},{keys:"",type:"keyToKey",toKeys:"B"},{keys:"",type:"keyToKey",toKeys:"w"},{keys:"",type:"keyToKey",toKeys:"b"},{keys:"",type:"keyToKey",toKeys:"j"},{keys:"",type:"keyToKey",toKeys:"k"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"s",type:"keyToKey",toKeys:"cl",context:"normal"},{keys:"s",type:"keyToKey",toKeys:"c",context:"visual"},{keys:"S",type:"keyToKey",toKeys:"cc",context:"normal"},{keys:"S",type:"keyToKey",toKeys:"VdO",context:"visual"},{keys:"",type:"keyToKey",toKeys:"0"},{keys:"",type:"keyToKey",toKeys:"$"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"j^",context:"normal"},{keys:"",type:"keyToKey",toKeys:"i",context:"normal"},{keys:"",type:"action",action:"toggleOverwrite",context:"insert"},{keys:"H",type:"motion",motion:"moveToTopLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"M",type:"motion",motion:"moveToMiddleLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"L",type:"motion",motion:"moveToBottomLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"h",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!1}},{keys:"l",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!0}},{keys:"j",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,linewise:!0}},{keys:"k",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,linewise:!0}},{keys:"gj",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!0}},{keys:"gk",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!1}},{keys:"w",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1}},{keys:"W",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1,bigWord:!0}},{keys:"e",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,inclusive:!0}},{keys:"E",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"b",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1}},{keys:"B",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1,bigWord:!0}},{keys:"ge",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,inclusive:!0}},{keys:"gE",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"{",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!1,toJumplist:!0}},{keys:"}",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!0,toJumplist:!0}},{keys:"(",type:"motion",motion:"moveBySentence",motionArgs:{forward:!1}},{keys:")",type:"motion",motion:"moveBySentence",motionArgs:{forward:!0}},{keys:"",type:"motion",motion:"moveByPage",motionArgs:{forward:!0}},{keys:"",type:"motion",motion:"moveByPage",motionArgs:{forward:!1}},{keys:"",type:"motion",motion:"moveByScroll",motionArgs:{forward:!0,explicitRepeat:!0}},{keys:"",type:"motion",motion:"moveByScroll",motionArgs:{forward:!1,explicitRepeat:!0}},{keys:"gg",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"G",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!0,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"g$",type:"motion",motion:"moveToEndOfDisplayLine"},{keys:"g^",type:"motion",motion:"moveToStartOfDisplayLine"},{keys:"g0",type:"motion",motion:"moveToStartOfDisplayLine"},{keys:"0",type:"motion",motion:"moveToStartOfLine"},{keys:"^",type:"motion",motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"+",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0}},{keys:"-",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,toFirstChar:!0}},{keys:"_",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0,repeatOffset:-1}},{keys:"$",type:"motion",motion:"moveToEol",motionArgs:{inclusive:!0}},{keys:"%",type:"motion",motion:"moveToMatchedSymbol",motionArgs:{inclusive:!0,toJumplist:!0}},{keys:"f",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"F",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!1}},{keys:"t",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"T",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!1}},{keys:";",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!0}},{keys:",",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!1}},{keys:"'",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0,linewise:!0}},{keys:"`",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0}},{keys:"]`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0}},{keys:"[`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1}},{keys:"]'",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0,linewise:!0}},{keys:"['",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1,linewise:!0}},{keys:"]p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0,matchIndent:!0}},{keys:"[p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0,matchIndent:!0}},{keys:"]",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!0,toJumplist:!0}},{keys:"[",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!1,toJumplist:!0}},{keys:"|",type:"motion",motion:"moveToColumn"},{keys:"o",type:"motion",motion:"moveToOtherHighlightedEnd",context:"visual"},{keys:"O",type:"motion",motion:"moveToOtherHighlightedEnd",motionArgs:{sameLine:!0},context:"visual"},{keys:"d",type:"operator",operator:"delete"},{keys:"y",type:"operator",operator:"yank"},{keys:"c",type:"operator",operator:"change"},{keys:"=",type:"operator",operator:"indentAuto"},{keys:">",type:"operator",operator:"indent",operatorArgs:{indentRight:!0}},{keys:"<",type:"operator",operator:"indent",operatorArgs:{indentRight:!1}},{keys:"g~",type:"operator",operator:"changeCase"},{keys:"gu",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},isEdit:!0},{keys:"gU",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},isEdit:!0},{keys:"n",type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:!0}},{keys:"N",type:"motion",motion:"findNext",motionArgs:{forward:!1,toJumplist:!0}},{keys:"gn",type:"motion",motion:"findAndSelectNextInclusive",motionArgs:{forward:!0}},{keys:"gN",type:"motion",motion:"findAndSelectNextInclusive",motionArgs:{forward:!1}},{keys:"gq",type:"operator",operator:"hardWrap"},{keys:"gw",type:"operator",operator:"hardWrap",operatorArgs:{keepCursor:!0}},{keys:"x",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!0},operatorMotionArgs:{visualLine:!1}},{keys:"X",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!1},operatorMotionArgs:{visualLine:!0}},{keys:"D",type:"operatorMotion",operator:"delete",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"D",type:"operator",operator:"delete",operatorArgs:{linewise:!0},context:"visual"},{keys:"Y",type:"operatorMotion",operator:"yank",motion:"expandToLine",motionArgs:{linewise:!0},context:"normal"},{keys:"Y",type:"operator",operator:"yank",operatorArgs:{linewise:!0},context:"visual"},{keys:"C",type:"operatorMotion",operator:"change",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"C",type:"operator",operator:"change",operatorArgs:{linewise:!0},context:"visual"},{keys:"~",type:"operatorMotion",operator:"changeCase",motion:"moveByCharacters",motionArgs:{forward:!0},operatorArgs:{shouldMoveCursor:!0},context:"normal"},{keys:"~",type:"operator",operator:"changeCase",context:"visual"},{keys:"",type:"operatorMotion",operator:"delete",motion:"moveToStartOfLine",context:"insert"},{keys:"",type:"operatorMotion",operator:"delete",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1},context:"insert"},{keys:"",type:"idle",context:"normal"},{keys:"",type:"action",action:"jumpListWalk",actionArgs:{forward:!0}},{keys:"",type:"action",action:"jumpListWalk",actionArgs:{forward:!1}},{keys:"",type:"action",action:"scroll",actionArgs:{forward:!0,linewise:!0}},{keys:"",type:"action",action:"scroll",actionArgs:{forward:!1,linewise:!0}},{keys:"a",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"charAfter"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"eol"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"endOfSelectedArea"},context:"visual"},{keys:"i",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"inplace"},context:"normal"},{keys:"gi",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"lastEdit"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"firstNonBlank"},context:"normal"},{keys:"gI",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"bol"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"startOfSelectedArea"},context:"visual"},{keys:"o",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!0},context:"normal"},{keys:"O",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!1},context:"normal"},{keys:"v",type:"action",action:"toggleVisualMode"},{keys:"V",type:"action",action:"toggleVisualMode",actionArgs:{linewise:!0}},{keys:"",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"gv",type:"action",action:"reselectLastSelection"},{keys:"J",type:"action",action:"joinLines",isEdit:!0},{keys:"gJ",type:"action",action:"joinLines",actionArgs:{keepSpaces:!0},isEdit:!0},{keys:"p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0}},{keys:"P",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0}},{keys:"r",type:"action",action:"replace",isEdit:!0},{keys:"@",type:"action",action:"replayMacro"},{keys:"q",type:"action",action:"enterMacroRecordMode"},{keys:"R",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{replace:!0},context:"normal"},{keys:"R",type:"operator",operator:"change",operatorArgs:{linewise:!0,fullLine:!0},context:"visual",exitVisualBlock:!0},{keys:"u",type:"action",action:"undo",context:"normal"},{keys:"u",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},context:"visual",isEdit:!0},{keys:"U",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},context:"visual",isEdit:!0},{keys:"",type:"action",action:"redo"},{keys:"m",type:"action",action:"setMark"},{keys:'"',type:"action",action:"setRegister"},{keys:"",type:"action",action:"insertRegister",context:"insert",isEdit:!0},{keys:"",type:"action",action:"oneNormalCommand",context:"insert"},{keys:"zz",type:"action",action:"scrollToCursor",actionArgs:{position:"center"}},{keys:"z.",type:"action",action:"scrollToCursor",actionArgs:{position:"center"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zt",type:"action",action:"scrollToCursor",actionArgs:{position:"top"}},{keys:"z",type:"action",action:"scrollToCursor",actionArgs:{position:"top"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zb",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"}},{keys:"z-",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:".",type:"action",action:"repeatLastEdit"},{keys:"",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!0,backtrack:!1}},{keys:"",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!1,backtrack:!1}},{keys:"",type:"action",action:"indent",actionArgs:{indentRight:!0},context:"insert"},{keys:"",type:"action",action:"indent",actionArgs:{indentRight:!1},context:"insert"},{keys:"a",type:"motion",motion:"textObjectManipulation"},{keys:"i",type:"motion",motion:"textObjectManipulation",motionArgs:{textObjectInner:!0}},{keys:"/",type:"search",searchArgs:{forward:!0,querySrc:"prompt",toJumplist:!0}},{keys:"?",type:"search",searchArgs:{forward:!1,querySrc:"prompt",toJumplist:!0}},{keys:"*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"g*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:"g#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:":",type:"ex"}],i=r.length,s=[{name:"colorscheme",shortName:"colo"},{name:"map"},{name:"imap",shortName:"im"},{name:"nmap",shortName:"nm"},{name:"vmap",shortName:"vm"},{name:"omap",shortName:"om"},{name:"noremap",shortName:"no"},{name:"nnoremap",shortName:"nn"},{name:"vnoremap",shortName:"vn"},{name:"inoremap",shortName:"ino"},{name:"onoremap",shortName:"ono"},{name:"unmap"},{name:"mapclear",shortName:"mapc"},{name:"nmapclear",shortName:"nmapc"},{name:"vmapclear",shortName:"vmapc"},{name:"imapclear",shortName:"imapc"},{name:"omapclear",shortName:"omapc"},{name:"write",shortName:"w"},{name:"undo",shortName:"u"},{name:"redo",shortName:"red"},{name:"set",shortName:"se"},{name:"setlocal",shortName:"setl"},{name:"setglobal",shortName:"setg"},{name:"sort",shortName:"sor"},{name:"substitute",shortName:"s",possiblyAsync:!0},{name:"startinsert",shortName:"start"},{name:"nohlsearch",shortName:"noh"},{name:"yank",shortName:"y"},{name:"delmarks",shortName:"delm"},{name:"registers",shortName:"reg",excludeFromCommandHistory:!0},{name:"vglobal",shortName:"v"},{name:"delete",shortName:"d"},{name:"join",shortName:"j"},{name:"normal",shortName:"norm"},{name:"global",shortName:"g"}],a=Jt("");function o(R){R.setOption("disableInput",!0),R.setOption("showCursorWhenSelecting",!1),e.signal(R,"vim-mode-change",{mode:"normal"}),R.on("cursorActivity",Rm),ye(R),e.on(R.getInputField(),"paste",c(R))}function l(R){R.setOption("disableInput",!1),R.off("cursorActivity",Rm),e.off(R.getInputField(),"paste",c(R)),R.state.vim=null,Ua&&clearTimeout(Ua)}function c(R){var N=R.state.vim;return N.onPasteFn||(N.onPasteFn=function(){N.insertMode||(R.setCursor(pt(R.getCursor(),0,1)),yt.enterInsertMode(R,{},N))}),N.onPasteFn}var d=/[\d]/,f=[e.isWordChar,function(R){return R&&!e.isWordChar(R)&&!/\s/.test(R)}],p=[function(R){return/\S/.test(R)}],g=["<",">"],b=["-",'"',".",":","_","/","+"],w=/^\w$/,x;try{x=new RegExp("^[\\p{Lu}]$","u")}catch{x=/^[A-Z]$/}function T(R,N){return N>=R.firstLine()&&N<=R.lastLine()}function _(R){return/^[a-z]$/.test(R)}function C(R){return"()[]{}".indexOf(R)!=-1}function I(R){return d.test(R)}function M(R){return x.test(R)}function $(R){return/^\s*$/.test(R)}function B(R){return".?!".indexOf(R)!=-1}function j(R,N){for(var H=0;H1&&N.setOption("textwidth",Q)}});var me=function(){var R=100,N=-1,H=0,Q=0,ee=new Array(R);function J(Le,Ve,He){var vt=N%R,gt=ee[vt];function bt($t){var tn=++N%R,$n=ee[tn];$n&&$n.clear(),ee[tn]=Le.setBookmark($t)}if(gt){var dt=gt.find();dt&&!ct(dt,Ve)&&bt(Ve)}else bt(Ve);bt(He),H=N,Q=N-R+1,Q<0&&(Q=0)}function oe(Le,Ve){N+=Ve,N>H?N=H:N0?1:-1,gt,bt=Le.getCursor();do if(N+=vt,He=ee[(R+N)%R],He&&(gt=He.find())&&!ct(bt,gt))break;while(NQ)}return He}function Ae(Le,Ve){var He=N,vt=oe(Le,Ve);return N=He,vt&&vt.find()}return{cachedCursor:void 0,add:J,find:Ae,move:oe}},fe=function(R){return R?{changes:R.changes,expectCursorActivityForChange:R.expectCursorActivityForChange}:{changes:[],expectCursorActivityForChange:!1}};class le{constructor(){this.latestRegister=void 0,this.isPlaying=!1,this.isRecording=!1,this.replaySearchQueries=[],this.onRecordingDone=void 0,this.lastInsertModeChanges=fe()}exitMacroRecordMode(){var N=ae.macroModeState;N.onRecordingDone&&N.onRecordingDone(),N.onRecordingDone=void 0,N.isRecording=!1}enterMacroRecordMode(N,H){var Q=ae.registerController.getRegister(H);if(Q){if(Q.clear(),this.latestRegister=H,N.openDialog){var ee=Ui("span",{class:"cm-vim-message"},"recording @"+H);this.onRecordingDone=N.openDialog(ee,null,{bottom:!0})}this.isRecording=!0}}}function ye(R){return R.state.vim||(R.state.vim={inputState:new Vt,lastEditInputState:void 0,lastEditActionCommand:void 0,lastHPos:-1,lastHSPos:-1,lastMotion:null,marks:{},insertMode:!1,insertModeReturn:!1,insertModeRepeat:void 0,visualMode:!1,visualLine:!1,visualBlock:!1,lastSelection:null,lastPastedText:null,sel:{},options:{},expectLiteralNext:!1}),R.state.vim}var ae;function Se(){ae={searchQuery:null,searchIsReversed:!1,lastSubstituteReplacePart:void 0,jumpList:me(),macroModeState:new le,lastCharacterSearch:{increment:0,forward:!0,selectedCharacter:""},registerController:new sn({}),searchHistoryController:new te,exCommandHistoryController:new te};for(var R in F){var N=F[R];N.value=N.defaultValue}}var he,re={enterVimMode:o,leaveVimMode:l,buildKeyMap:function(){},getRegisterController:function(){return ae.registerController},resetVimGlobalState_:Se,getVimGlobalState_:function(){return ae},maybeInitVimState_:ye,suppressErrorLogging:!1,InsertModeKey:Ss,map:function(R,N,H){Fo.map(R,N,H)},unmap:function(R,N){return Fo.unmap(R,N)},noremap:function(R,N,H){Fo.map(R,N,H,!0)},mapclear:function(R){var N=r.length,H=i,Q=r.slice(0,N-H);if(r=r.slice(N-H),R)for(var ee=Q.length-1;ee>=0;ee--){var J=Q[ee];if(R!==J.context)if(J.context)this._mapCommand(J);else{var oe=["normal","insert","visual"];for(var Ae in oe)if(oe[Ae]!==R){var Le=Object.assign({},J);Le.context=oe[Ae],this._mapCommand(Le)}}}},langmap:Ht,vimKeyFromEvent:Nt,setOption:ie,getOption:se,defineOption:V,defineEx:function(R,N,H){if(!N)N=R;else if(R.indexOf(N)!==0)throw new Error('(Vim.defineEx) "'+N+'" is not a prefix of "'+R+'", command not registered');_h[R]=H,Fo.commandMap_[N]={name:R,shortName:N,type:"api"}},handleKey:function(R,N,H){var Q=this.findKey(R,N,H);if(typeof Q=="function")return Q()},multiSelectHandleKey:Gr,findKey:function(R,N,H){var Q=ye(R),ee=R;function J(){var He=ae.macroModeState;if(He.isRecording){if(N=="q")return He.exitMacroRecordMode(),en(ee),!0;H!="mapping"&&zi(He,N)}}function oe(){if(N==""){if(Q.visualMode)at(ee);else if(Q.insertMode)il(ee);else return;return en(ee),!0}}function Ae(){if(oe())return!0;Q.inputState.keyBuffer.push(N);var He=Q.inputState.keyBuffer.join(""),vt=N.length==1,gt=de.matchCommand(He,r,Q.inputState,"insert"),bt=Q.inputState.changeQueue;if(gt.type=="none")return en(ee),!1;if(gt.type=="partial"){if(gt.expectLiteralNext&&(Q.expectLiteralNext=!0),he&&window.clearTimeout(he),he=vt&&window.setTimeout(function(){Q.insertMode&&Q.inputState.keyBuffer.length&&en(ee)},se("insertModeEscKeysTimeout")),vt){var dt=ee.listSelections();(!bt||bt.removed.length!=dt.length)&&(bt=Q.inputState.changeQueue=new Ct),bt.inserted+=N;for(var $t=0;$t|./gi,oe;oe=J.exec(N);){var Ae=oe[0],Le=ee.insertMode;if(ue){tt(Ae);continue}var Ve=re.handleKey(R,Ae,"mapping");if(!Ve&&Le&&ee.insertMode){if(Ae[0]=="<"){var He=Ae.toLowerCase().slice(1,-1),vt=He.split("-");if(He=vt.pop()||"",He=="lt")Ae="<";else if(He=="space")Ae=" ";else if(He=="cr")Ae=` `;else if(xt.hasOwnProperty(He)){Ae=xt[He],Ti(R,Ae);continue}else Ae=Ae[0],J.lastIndex=oe.index+1}R.replaceSelection(Ae)}}}finally{if(Fe.pop(),je=Fe.length?Q:!1,!Fe.length&&ue){var gt=ue;ue=null,Ba(R,gt)}}}var Ze={Return:"CR",Backspace:"BS",Delete:"Del",Escape:"Esc",Insert:"Ins",ArrowLeft:"Left",ArrowRight:"Right",ArrowUp:"Up",ArrowDown:"Down",Enter:"CR"," ":"Space"},qt={Shift:1,Alt:1,Command:1,Control:1,CapsLock:1,AltGraph:1,Dead:1,Unidentified:1},xt={};"Left|Right|Up|Down|End|Home".split("|").concat(Object.keys(Ze)).forEach(function(R){xt[(Ze[R]||"").toLowerCase()]=xt[R.toLowerCase()]=R});function Nt(R,N){var J;var H=R.key;if(!qt[H]){H.length>1&&H[0]=="n"&&(H=H.replace("Numpad","")),H=Ze[H]||H;var Q="";if(R.ctrlKey&&(Q+="C-"),R.altKey&&(Q+="A-"),R.metaKey&&(Q+="M-"),e.isMac&&R.altKey&&!R.metaKey&&!R.ctrlKey&&(Q=Q.slice(2)),(Q||H.length>1)&&R.shiftKey&&(Q+="S-"),N&&!N.expectLiteralNext&&H.length==1){if(a.keymap&&H in a.keymap)(a.remapCtrl!=!1||!Q)&&(H=a.keymap[H]);else if(H.charCodeAt(0)>255){var ee=((J=R.code)==null?void 0:J.slice(-1))||"";R.shiftKey||(ee=ee.toLowerCase()),ee&&(H=ee)}}return Q+=H,Q.length>1&&(Q="<"+Q+">"),Q}}function Ht(R,N){a.string!==R&&(a=Jt(R)),a.remapCtrl=N}function Jt(R){let N={};if(!R)return{keymap:N,string:""};function H(Q){return Q.split(/\\?(.)/).filter(Boolean)}return R.split(/((?:[^\\,]|\\.)+),/).map(Q=>{if(!Q)return;const ee=Q.split(/((?:[^\\;]|\\.)+);/);if(ee.length==3){const J=H(ee[1]),oe=H(ee[2]);if(J.length!==oe.length)return;for(let Ae=0;Ae0||this.motionRepeat.length>0)&&(N=1,this.prefixRepeat.length>0&&(N*=parseInt(this.prefixRepeat.join(""),10)),this.motionRepeat.length>0&&(N*=parseInt(this.motionRepeat.join(""),10))),N}}function en(R,N){R.state.vim.inputState=new Vt,R.state.vim.expectLiteralNext=!1,e.signal(R,"vim-command-done",N)}function Ct(){this.removed=[],this.inserted=""}class Xe{constructor(N,H,Q){this.clear(),this.keyBuffer=[N||""],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!!H,this.blockwise=!!Q}setText(N,H,Q){this.keyBuffer=[N||""],this.linewise=!!H,this.blockwise=!!Q}pushText(N,H){H&&(this.linewise||this.keyBuffer.push(` @@ -326,22 +326,22 @@ An.version="2.30.1";wWe(Xs);An.fn=mn;An.min=dVe;An.max=fVe;An.now=hVe;An.utc=Np; `)}gi(R,ee)},sort:function(R,N){var H,Q,ee,J,oe;function Ae(){if(N.argString){var vr=new e.StringStream(N.argString);if(vr.eat("!")&&(H=!0),vr.eol())return;if(!vr.eatSpace())return"Invalid arguments";var ln=vr.match(/([dinuox]+)?\s*(\/.+\/)?\s*/);if(!ln||!vr.eol())return"Invalid arguments";if(ln[1]){Q=ln[1].indexOf("i")!=-1,ee=ln[1].indexOf("u")!=-1;var Yi=ln[1].indexOf("d")!=-1||ln[1].indexOf("n")!=-1,ls=ln[1].indexOf("x")!=-1,Is=ln[1].indexOf("o")!=-1;if(Number(Yi)+Number(ls)+Number(Is)>1)return"Invalid arguments";J=Yi&&"decimal"||ls&&"hex"||Is&&"octal"}ln[2]&&(oe=new RegExp(ln[2].substr(1,ln[2].length-2),Q?"i":""))}}var Le=Ae();if(Le){gi(R,Le+": "+N.argString);return}var Ve=N.line||R.firstLine(),He=N.lineEnd||N.line||R.lastLine();if(Ve==He)return;var vt=new t(Ve,0),gt=new t(He,sr(R,He)),bt=R.getRange(vt,gt).split(` `),dt=J=="decimal"?/(-?)([\d]+)/:J=="hex"?/(-?)(?:0x)?([0-9a-f]+)/i:J=="octal"?/([0-7]+)/:null,$t=J=="decimal"?10:J=="hex"?16:J=="octal"?8:void 0,tn=[],$n=[];if(J||oe)for(var Zn=0;Zn=Ve){gi(R,"Invalid argument: "+N.argString.substring(ee));return}for(var He=0;He<=Ve-Le;He++){var vt=String.fromCharCode(Le+He);delete H.marks[vt]}}else{gi(R,"Invalid argument: "+oe+"-");return}}else J&&delete H.marks[J]}}},Fo=new Wp;function Cu(R,N,H,Q,ee,J,oe,Ae,Le){R.state.vim.exMode=!0;var Ve=!1,He,vt,gt;function bt(){R.operation(function(){for(;!Ve;)dt(),tn();$n()})}function dt(){var Xn=R.getRange(J.from(),J.to()),ki=Xn.replace(oe,Ae),Js=J.to().line;J.replace(ki),vt=J.to().line,ee+=vt-Js,gt=vt":case"":case"":$n(Js);break}return Ve&&$n(Js),!0}if(tn(),Ve){gi(R,"No matches for "+oe.source);return}if(!N){bt(),Le&&Le();return}Ba(R,{prefix:Ui("span","replace with ",Ui("strong",Ae)," (y/n/a/q/l)"),onKeyDown:Zn})}function il(R,N){var H=R.state.vim,Q=ae.macroModeState,ee=ae.registerController.getRegister("."),J=Q.isPlaying,oe=Q.lastInsertModeChanges;J||(R.off("change",Cm),H.insertEnd&&H.insertEnd.clear(),H.insertEnd=void 0,e.off(R.getInputField(),"keydown",Ah)),!J&&H.insertModeRepeat>1&&(Ri(R,H,H.insertModeRepeat-1,!0),H.lastEditInputState.repeatOverride=H.insertModeRepeat),delete H.insertModeRepeat,H.insertMode=!1,N||R.setCursor(R.getCursor().line,R.getCursor().ch-1),R.setOption("keyMap","vim"),R.setOption("disableInput",!0),R.toggleOverwrite(!1),ee.setText(oe.changes.join("")),e.signal(R,"vim-mode-change",{mode:"normal"}),Q.isRecording&&Kl(Q)}function vn(R){r.unshift(R)}function yc(R,N,H,Q,ee){var J={keys:R,type:N};J[N]=H,J[N+"Args"]=Q;for(var oe in ee)J[oe]=ee[oe];vn(J)}V("insertModeEscKeysTimeout",200,"number");function kf(R,N,H,Q){var ee=ae.registerController.getRegister(Q);if(Q==":"){ee.keyBuffer[0]&&Fo.processCommand(R,ee.keyBuffer[0]),H.isPlaying=!1;return}var J=ee.keyBuffer,oe=0;H.isPlaying=!0,H.replaySearchQueries=ee.searchQueries.slice(0);for(var Ae=0;Ae|./gi;Ve=vt.exec(Le);)if(He=Ve[0],re.handleKey(R,He,"macro"),N.insertMode){var gt=ee.insertModeChanges[oe++].changes;ae.macroModeState.lastInsertModeChanges.changes=gt,Ch(R,gt,1),il(R)}H.isPlaying=!1}function zi(R,N){if(!R.isPlaying){var H=R.latestRegister,Q=ae.registerController.getRegister(H);Q&&Q.pushText(N)}}function Kl(R){if(!R.isPlaying){var N=R.latestRegister,H=ae.registerController.getRegister(N);H&&H.pushInsertModeChanges&&H.pushInsertModeChanges(R.lastInsertModeChanges)}}function Qp(R,N){if(!R.isPlaying){var H=R.latestRegister,Q=ae.registerController.getRegister(H);Q&&Q.pushSearchQuery&&Q.pushSearchQuery(N)}}function Cm(R,N){var H=ae.macroModeState,Q=H.lastInsertModeChanges;if(!H.isPlaying)for(var ee=R.state.vim;N;){if(Q.expectCursorActivityForChange=!0,Q.ignoreCount>1)Q.ignoreCount--;else if(N.origin=="+input"||N.origin=="paste"||N.origin===void 0){var J=R.listSelections().length;J>1&&(Q.ignoreCount=J);var oe=N.text.join(` -`);if(Q.maybeReset&&(Q.changes=[],Q.maybeReset=!1),oe)if(R.state.overwrite&&!/\n/.test(oe))Q.changes.push([oe]);else{if(oe.length>1){var Ae=ee&&ee.insertEnd&&ee.insertEnd.find(),Le=R.getCursor();if(Ae&&Ae.line==Le.line){var Ve=Ae.ch-Le.ch;Ve>0&&Ve",Sr(Q,H))}else N.insertMode||(N.lastHPos=R.getCursor().ch)}function Ss(R,N){this.keyName=R,this.key=N.key,this.ctrlKey=N.ctrlKey,this.altKey=N.altKey,this.metaKey=N.metaKey,this.shiftKey=N.shiftKey}function Ah(R){var N=ae.macroModeState,H=N.lastInsertModeChanges,Q=e.keyName?e.keyName(R):R.key;Q&&(Q.indexOf("Delete")!=-1||Q.indexOf("Backspace")!=-1)&&(H.maybeReset&&(H.changes=[],H.maybeReset=!1),H.changes.push(new Ss(Q,R)))}function Ri(R,N,H,Q){var ee=ae.macroModeState;ee.isPlaying=!0;var J=N.lastEditActionCommand,oe=N.inputState;function Ae(){J?de.processAction(R,N,J):de.evalInput(R,N)}function Le(He){if(ee.lastInsertModeChanges.changes.length>0){He=N.lastEditActionCommand?He:1;var vt=ee.lastInsertModeChanges;Ch(R,vt.changes,He)}}if(N.inputState=N.lastEditInputState,J&&J.interlaceInsertRepeat)for(var Ve=0;Ve"&&!J.insertMode&&!J.visualMode&&Ae&&J.status=="")en(Q);else if(oe||!Ae||Q.inVirtualSelectionMode)ee=re.handleKey(Q,N,H);else{var Le=Ru(J),Ve=J.inputState.changeQueueList||[];Q.operation(function(){var vt;Q.curOp&&(Q.curOp.isVimOp=!0);var He=0;Q.forEachSelection(function(){Q.state.vim.inputState.changeQueue=Ve[He];var gt=Q.getCursor("head"),bt=Q.getCursor("anchor"),dt=fn(gt,bt)?0:-1,$t=fn(gt,bt)?-1:0;gt=pt(gt,0,dt),bt=pt(bt,0,$t),Q.state.vim.sel.head=gt,Q.state.vim.sel.anchor=bt,ee=re.handleKey(Q,N,H),Q.virtualSelection&&(Ve[He]=Q.state.vim.inputState.changeQueue,Q.state.vim=Ru(Le)),He++}),(vt=Q.curOp)!=null&&vt.cursorActivity&&!ee&&(Q.curOp.cursorActivity=!1),Q.state.vim=J,J.inputState.changeQueueList=Ve,J.inputState.changeQueue=null},!0)}return ee&&!J.visualMode&&!J.insert&&J.visualMode!=Q.somethingSelected()&&Im(Q,J),ee}return Se(),re}function Nc(e,t){var n=t.ch,r=t.line+1;r<1&&(r=1,n=0),r>e.lines&&(r=e.lines,n=Number.MAX_VALUE);var i=e.line(r);return Math.min(i.from+Math.max(0,n),i.to)}function Ud(e,t){let n=e.lineAt(t);return{line:n.number-1,ch:t-n.from}}class sp{constructor(t,n){this.line=t,this.ch=n}}function hye(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||[]).concat(n)}}function pye(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else{var r=e._handlers,i=r&&r[t];if(i){var s=i.indexOf(n);s>-1&&(r[t]=i.slice(0,s).concat(i.slice(s+1)))}}}function mye(e,t,...n){var r,i=(r=e._handlers)===null||r===void 0?void 0:r[t];if(i)for(var s=0;s({anchor:Ud(t,n.anchor),head:Ud(t,n.head)}))}setSelections(t,n){var r=this.cm6.state.doc,i=t.map(s=>{var a=Nc(r,s.head),o=Nc(r,s.anchor);return a==o?Bt.cursor(a,1):Bt.range(o,a)});this.cm6.dispatch({selection:Bt.create(i,n)})}setSelection(t,n,r){this.setSelections([{anchor:t,head:n}],0),r&&r.origin=="*mouse"&&this.onBeforeEndOperation()}getLine(t){var n=this.cm6.state.doc;return t<0||t>=n.lines?"":this.cm6.state.doc.line(t+1).text}getLineHandle(t){return this.$lineHandleChanges||(this.$lineHandleChanges=[]),{row:t,index:this.indexFromPos(new sp(t,0))}}getLineNumber(t){var n=this.$lineHandleChanges;if(!n)return null;for(var r=t.index,i=0;i({from:i.from,to:i.to,insert:t[s]||""}));Jw(this,{changes:r})}getSelection(){return this.getSelections().join(` -`)}getSelections(){var t=this.cm6;return t.state.selection.ranges.map(n=>t.state.sliceDoc(n.from,n.to))}somethingSelected(){return this.cm6.state.selection.ranges.some(t=>!t.empty)}getInputField(){return this.cm6.contentDOM}clipPos(t){var n=this.cm6.state.doc,r=t.ch,i=t.line+1;i<1&&(i=1,r=0),i>n.lines&&(i=n.lines,r=Number.MAX_VALUE);var s=n.line(i);return r=Math.min(Math.max(0,r),s.to-s.from),new sp(i-1,r)}getValue(){return this.cm6.state.doc.toString()}setValue(t){var n=this.cm6;return n.dispatch({changes:{from:0,to:n.state.doc.length,insert:t},selection:Bt.range(0,0)})}focus(){return this.cm6.focus()}blur(){return this.cm6.contentDOM.blur()}defaultTextHeight(){return this.cm6.defaultLineHeight}findMatchingBracket(t,n){var r=this.cm6.state,i=Nc(r.doc,t),s=tf(r,i+1,-1);return s&&s.end?{to:Ud(r.doc,s.end.from)}:(s=tf(r,i,1),s&&s.end?{to:Ud(r.doc,s.end.from)}:{to:void 0})}scanForBracket(t,n,r,i){return mat(this,t,n,r,i)}indentLine(t,n){n?this.indentMore():this.indentLess()}indentMore(){jq(this.cm6)}indentLess(){Wq(this.cm6)}execCommand(t){if(t=="indentAuto")si.commands.indentAuto(this);else if(t=="goLineLeft")i1e(this.cm6);else if(t=="goLineRight"){r1e(this.cm6);let n=this.cm6.state,r=n.selection.main.head;rg.length)return null;let b=l(g,p).next();return b.done?null:b.value}var d=1e4;function f(p,g){var b=r.cm6.state.doc;for(let w=1;;w++){let x=Math.max(p,g-w*d),T=l(b,x,g),_=null;for(;!T.next().done;)_=T.value;if(_&&(x==p||_.from>x+10))return _;if(x==p)return null}}return{findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(p){var g=r.cm6.state.doc;if(p){let b=i?i.from==i.to?i.to-1:i.from:a;i=f(0,b)}else{let b=i?i.from==i.to?i.to+1:i.to:a;i=c(b)}return s=i&&{from:Ud(g,i.from),to:Ud(g,i.to),match:i.match},i&&i.match},from:function(){return s==null?void 0:s.from},to:function(){return s==null?void 0:s.to},replace:function(p){i&&(Jw(r,{changes:{from:i.from,to:i.to,insert:p}}),i.to=i.from+p.length,s&&(s.to=Ud(r.cm6.state.doc,i.to)))}}}findPosV(t,n,r,i){let{cm6:s}=this;const a=s.state.doc;let o=r=="page"?s.dom.clientHeight:0;const l=Nc(a,t);let c=Bt.cursor(l,1,void 0,i),d=Math.round(Math.abs(n));for(let p=0;p0,o):r=="line"&&(c=s.moveVertically(c,n>0));let f=Ud(a,c.head);return(n<0&&c.head==0&&i!=0&&t.line==0&&t.ch!=0||n>0&&c.head==a.length&&f.ch!=i&&t.line==f.line)&&(f.hitSide=!0),f}charCoords(t,n){var r=this.cm6.contentDOM.getBoundingClientRect(),i=Nc(this.cm6.state.doc,t),s=this.cm6.coordsAtPos(i),a=-r.top;return{left:((s==null?void 0:s.left)||0)-r.left,top:((s==null?void 0:s.top)||0)+a,bottom:((s==null?void 0:s.bottom)||0)+a}}coordsChar(t,n){var r=this.cm6.contentDOM.getBoundingClientRect(),i=this.cm6.posAtCoords({x:t.left+r.left,y:t.top+r.top})||0;return Ud(this.cm6.state.doc,i)}getScrollInfo(){var t=this.cm6.scrollDOM;return{left:t.scrollLeft,top:t.scrollTop,height:t.scrollHeight,width:t.scrollWidth,clientHeight:t.clientHeight,clientWidth:t.clientWidth}}scrollTo(t,n){t!=null&&(this.cm6.scrollDOM.scrollLeft=t),n!=null&&(this.cm6.scrollDOM.scrollTop=n)}scrollIntoView(t,n){if(t){var r=this.indexFromPos(t);this.cm6.dispatch({effects:Sn.scrollIntoView(r)})}else this.cm6.dispatch({scrollIntoView:!0,userEvent:"scroll"})}getWrapperElement(){return this.cm6.dom}getMode(){return{name:this.getOption("mode")}}setSize(t,n){this.cm6.dom.style.width=t+4+"px",this.cm6.dom.style.height=n+"px",this.refresh()}refresh(){this.cm6.measure()}destroy(){this.removeOverlay()}getLastEditEnd(){return this.posFromIndex(this.$lastChangeEndOffset)}onChange(t){this.$lineHandleChanges&&this.$lineHandleChanges.push(t);for(let r in this.marks)this.marks[r].update(t.changes);this.virtualSelection&&(this.virtualSelection.ranges=this.virtualSelection.ranges.map(r=>r.map(t.changes)));var n=this.curOp=this.curOp||{};t.changes.iterChanges((r,i,s,a,o)=>{(n.$changeStart==null||n.$changeStart>s)&&(n.$changeStart=s),this.$lastChangeEndOffset=a;var l={text:o.toJSON()};n.lastChange?n.lastChange.next=n.lastChange=l:n.lastChange=n.change=l},!0),n.changeHandlers||(n.changeHandlers=this._handlers.change&&this._handlers.change.slice())}onSelectionChange(){var t=this.curOp=this.curOp||{};t.cursorActivityHandlers||(t.cursorActivityHandlers=this._handlers.cursorActivity&&this._handlers.cursorActivity.slice()),this.curOp.cursorActivity=!0}operation(t,n){this.curOp||(this.curOp={$d:0}),this.curOp.$d++;try{var r=t()}finally{this.curOp&&(this.curOp.$d--,this.curOp.$d||this.onBeforeEndOperation())}return r}onBeforeEndOperation(){var t=this.curOp,n=!1;t&&(t.change&&Rie(t.changeHandlers,this,t.change),t&&t.cursorActivity&&(Rie(t.cursorActivityHandlers,this,null),t.isVimOp&&(n=!0)),this.curOp=null),n&&this.scrollIntoView()}moveH(t,n){if(n=="char"){var r=this.getCursor();this.setCursor(r.line,r.ch+t)}}setOption(t,n){switch(t){case"keyMap":this.state.keyMap=n;break;case"textwidth":this.state.textwidth=n;break}}getOption(t){switch(t){case"firstLineNumber":return 1;case"tabSize":return this.cm6.state.tabSize||4;case"readOnly":return this.cm6.state.readOnly;case"indentWithTabs":return this.cm6.state.facet(m1)==" ";case"indentUnit":return this.cm6.state.facet(m1).length||2;case"textwidth":return this.state.textwidth;case"keyMap":return this.state.keyMap||"vim"}}toggleOverwrite(t){this.state.overwrite=t}getTokenTypeAt(t){var n,r=this.indexFromPos(t),i=Tge(this.cm6.state,r),s=i==null?void 0:i.resolve(r),a=((n=s==null?void 0:s.type)===null||n===void 0?void 0:n.name)||"";return/comment/i.test(a)?"comment":/string/i.test(a)?"string":""}overWriteSelection(t){var n=this.cm6.state.doc,r=this.cm6.state.selection,i=r.ranges.map(s=>{if(s.empty){var a=s.to1}virtualSelectionMode(){return!!this.virtualSelection}forEachSelection(t){var n=this.cm6.state.selection;this.virtualSelection=Bt.create(n.ranges,n.mainIndex);for(var r=0;rJw(e,t)})},indentAuto:function(e){E1e(e.cm6)},newlineAndIndentContinueComment:void 0,save:void 0};si.isWordChar=function(e){return HF.test(e)};si.keys=cat;si.addClass=function(e,t){};si.rmClass=function(e,t){};si.e_preventDefault=function(e){e.preventDefault()};si.e_stop=function(e){var t,n;(t=e==null?void 0:e.stopPropagation)===null||t===void 0||t.call(e),(n=e==null?void 0:e.preventDefault)===null||n===void 0||n.call(e)};si.lookupKey=function(t,n,r){var i=si.keys[t];i&&r(i)};si.on=hye;si.off=pye;si.signal=mye;si.findMatchingTag=gat;si.findEnclosingTag=bat;si.keyName=void 0;function gye(e,t,n){var r=document.createElement("div");return r.appendChild(t),r}function bye(e,t){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=t}function dat(e,t,n){bye(e,o);var r=gye(e,t,n&&n.bottom),i=!1,s,a=n&&typeof n.duration<"u"?n.duration:5e3;function o(){i||(i=!0,clearTimeout(s),r.remove(),vye(e,r))}return r.onclick=function(l){l.preventDefault(),o()},yye(e,r),a&&(s=setTimeout(o,a)),o}function yye(e,t){var n=e.state.dialog;e.state.dialog=t,t&&n!==t&&(n&&n.contains(document.activeElement)&&e.focus(),n&&n.parentElement?n.parentElement.replaceChild(t,n):n&&n.remove(),si.signal(e,"dialog"))}function vye(e,t){e.state.dialog==t&&(e.state.dialog=null,si.signal(e,"dialog"))}function fat(e,t,n,r){r||(r={}),bye(e,void 0);var i=gye(e,t,r.bottom),s=!1;yye(e,i);function a(l){if(typeof l=="string")o.value=l;else{if(s)return;s=!0,vye(e,i),e.state.dialog||e.focus(),r.onClose&&r.onClose(i)}}var o=i.getElementsByTagName("input")[0];return o&&(r.value&&(o.value=r.value,r.selectValueOnOpen!==!1&&o.select()),r.onInput&&si.on(o,"input",function(l){r.onInput(l,o.value,a)}),r.onKeyUp&&si.on(o,"keyup",function(l){r.onKeyUp(l,o.value,a)}),si.on(o,"keydown",function(l){r&&r.onKeyDown&&r.onKeyDown(l,o.value,a)||(l.keyCode==13&&n(o.value),(l.keyCode==27||r.closeOnEnter!==!1&&l.keyCode==13)&&(o.blur(),si.e_stop(l),a()))}),r.closeOnBlur!==!1&&si.on(o,"blur",function(){setTimeout(function(){document.activeElement!==o&&a()})}),o.focus()),a}var hat={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function pat(e){return e&&e.bracketRegex||/[(){}[\]]/}function mat(e,t,n,r,i){for(var s=i&&i.maxScanLineLength||1e4,a=i&&i.maxScanLines||1e3,o=[],l=pat(i),c=n>0?Math.min(t.line+a,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-a),d=t.line;d!=c;d+=n){var f=e.getLine(d);if(f){var p=n>0?0:f.length-1,g=n>0?f.length:-1;if(!(f.length>s))for(d==t.line&&(p=t.ch-(n<0?1:0));p!=g;p+=n){var b=f.charAt(p);if(l.test(b)){var w=hat[b];if(w&&w.charAt(1)==">"==n>0)o.push(b);else if(o.length)o.pop();else return{pos:new sp(d,p),ch:b}}}}}return d-n==(n>0?e.lastLine():e.firstLine())?!1:null}function gat(e,t){}function bat(e,t){var n,r,i=e.cm6.state,s=e.indexFromPos(t);if(sr){var l=b(o,r,5);if(l){var c=(n=/^\s*/.exec(o))===null||n===void 0?void 0:n[0];e.replaceRange(` -`+c,new sp(s,l.start),new sp(s,l.end))}a++}else if(i&&/\S/.test(o)&&s!=a){var d=e.getLine(s+1);if(d&&/\S/.test(d)){var f=o.replace(/\s+$/,""),p=d.replace(/^\s+/,""),g=f+" "+p,l=b(g,r,5);l&&l.start>f.length||g.lengthT)return{start:M.index,end:M.index+M[2].length};if(I&&I[2])return $=x+I[2].length,{start:$,end:$+I[3].length}}}}let qF=RXe||function(){let e={cursorBlinkRate:1200};return function(){return e}}();class Sat{constructor(t,n,r,i,s,a,o,l,c,d){this.left=t,this.top=n,this.height=r,this.fontFamily=i,this.fontSize=s,this.fontWeight=a,this.color=o,this.className=l,this.letter=c,this.partial=d}draw(){let t=document.createElement("div");return t.className=this.className,this.adjust(t),t}adjust(t){t.style.left=this.left+"px",t.style.top=this.top+"px",t.style.height=this.height+"px",t.style.lineHeight=this.height+"px",t.style.fontFamily=this.fontFamily,t.style.fontSize=this.fontSize,t.style.fontWeight=this.fontWeight,t.style.color=this.partial?"transparent":this.color,t.className=this.className,t.textContent=this.letter}eq(t){return this.left==t.left&&this.top==t.top&&this.height==t.height&&this.fontFamily==t.fontFamily&&this.fontSize==t.fontSize&&this.fontWeight==t.fontWeight&&this.color==t.color&&this.className==t.className&&this.letter==t.letter}}class Oat{constructor(t,n){this.view=t,this.rangePieces=[],this.cursors=[],this.cm=n,this.measureReq={read:this.readPos.bind(this),write:this.drawSel.bind(this)},this.cursorLayer=t.scrollDOM.appendChild(document.createElement("div")),this.cursorLayer.className="cm-cursorLayer cm-vimCursorLayer",this.cursorLayer.setAttribute("aria-hidden","true"),t.requestMeasure(this.measureReq),this.setBlinkRate()}setBlinkRate(){let n=qF(this.cm.cm6.state).cursorBlinkRate;this.cursorLayer.style.animationDuration=n+"ms"}update(t){(t.selectionSet||t.geometryChanged||t.viewportChanged)&&(this.view.requestMeasure(this.measureReq),this.cursorLayer.style.animationName=this.cursorLayer.style.animationName=="cm-blink"?"cm-blink2":"cm-blink"),Eat(t)&&this.setBlinkRate()}scheduleRedraw(){this.view.requestMeasure(this.measureReq)}readPos(){let{state:t}=this.view,n=[];for(let r of t.selection.ranges){let i=r==t.selection.main,s=kat(this.cm,this.view,r,i);s&&n.push(s)}return{cursors:n}}drawSel({cursors:t}){if(t.length!=this.cursors.length||t.some((n,r)=>!n.eq(this.cursors[r]))){let n=this.cursorLayer.children;if(n.length!==t.length){this.cursorLayer.textContent="";for(const r of t)this.cursorLayer.appendChild(r.draw())}else t.forEach((r,i)=>r.adjust(n[i]));this.cursors=t}}destroy(){this.cursorLayer.remove()}}function Eat(e){return qF(e.startState)!=qF(e.state)}const wat={".cm-vimMode .cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"},caretColor:"transparent !important"},".cm-fat-cursor":{position:"absolute",background:"#ff9696",border:"none",whiteSpace:"pre"},"&:not(.cm-focused) .cm-fat-cursor":{background:"none",outline:"solid 1px #ff9696",color:"transparent !important"}},xat=Lp.highest(Sn.theme(wat));function Tat(e){let t=e.scrollDOM.getBoundingClientRect();return{left:(e.textDirection==Us.LTR?t.left:t.right-e.scrollDOM.clientWidth)-e.scrollDOM.scrollLeft,top:t.top-e.scrollDOM.scrollTop}}function kat(e,t,n,r){var i,s;let a=n.head,o=!1,l=1,c=e.state.vim;if(c&&(!c.insertMode||e.state.overwrite)){if(o=!0,c.visualBlock&&!r)return null;n.anchor1&&(a--,f=t.state.sliceDoc(a,a+1));let p=t.coordsAtPos(a,1);if(!p)return null;let g=Tat(t),b=t.domAtPos(a),w=b?b.node:t.contentDOM;for(;b&&b.node instanceof HTMLElement;)w=b.node,b={node:b.node.childNodes[b.offset],offset:0};if(!(w instanceof HTMLElement)){if(!w.parentNode)return null;w=w.parentNode}let x=getComputedStyle(w),T=p.left,_=(s=(i=t).coordsForChar)===null||s===void 0?void 0:s.call(i,a);if(_&&(T=_.left),!f||f==` -`||f=="\r")f=" ";else if(f==" "){f=" ";var d=t.coordsAtPos(a+1,-1);d&&(T=d.left-(d.left-p.left)/parseInt(x.tabSize))}else/[\uD800-\uDBFF]/.test(f)&&a{t.state.vim&&(t.state.vim.status=""),this.blockCursor.scheduleRedraw(),this.updateStatus()}),this.cm.on("vim-mode-change",n=>{t.state.vim&&(t.state.vim.mode=n.mode,n.subMode&&(t.state.vim.mode+=" block"),t.state.vim.status="",this.blockCursor.scheduleRedraw(),this.updateClass(),this.updateStatus())}),this.cm.on("dialog",()=>{this.cm.state.statusbar?this.updateStatus():e.dispatch({effects:Sye.of(!!this.cm.state.dialog)})}),this.dom=document.createElement("span"),this.dom.style.cssText="position: absolute; right: 10px; top: 1px",this.statusButton=document.createElement("span"),this.statusButton.onclick=n=>{ib.handleKey(this.cm,"","user"),this.cm.focus()},this.statusButton.style.cssText="cursor: pointer"}update(e){var t;if((e.viewportChanged||e.docChanged)&&this.query&&this.highlight(this.query),e.docChanged&&this.cm.onChange(e),e.selectionSet&&this.cm.onSelectionChange(),e.viewportChanged,this.cm.curOp&&!this.cm.curOp.isVimOp&&this.cm.onBeforeEndOperation(),e.transactions){for(let n of e.transactions)for(let r of n.effects)if(r.is(g1))if(!((t=r.value)===null||t===void 0?void 0:t.forVim))this.highlight(null);else{let s=r.value.create();this.highlight(s)}}this.blockCursor.update(e)}updateClass(){const e=this.cm.state;!e.vim||e.vim.insertMode&&!e.overwrite?this.view.scrollDOM.classList.remove("cm-vimMode"):this.view.scrollDOM.classList.add("cm-vimMode")}updateStatus(){let e=this.cm.state.statusbar,t=this.cm.state.vim;if(!e||!t)return;let n=this.cm.state.dialog;if(n)n.parentElement!=e&&(e.textContent="",e.appendChild(n));else{e.textContent="";var r=(t.mode||"normal").toUpperCase();t.insertModeReturn&&(r+="(C-O)"),this.statusButton.textContent=`--${r}--`,e.appendChild(this.statusButton)}this.dom.textContent=t.status,e.appendChild(this.dom)}destroy(){ib.leaveVimMode(this.cm),this.updateClass(),this.blockCursor.destroy(),delete this.view.cm}highlight(e){if(this.query=e,!e)return this.decorations=Kn.none;let{view:t}=this,n=new gm;for(let r=0,i=t.visibleRanges,s=i.length;ri[r+1].from-2*Aat;)o=i[++r].to;e.highlight(t.state,a,o,(l,c)=>{n.add(l,c,Dat)})}return this.decorations=n.finish()}handleKey(e,t){const n=this.cm;let r=n.state.vim;if(!r)return;const i=ib.vimKeyFromEvent(e,r);if(si.signal(this.cm,"inputEvent",{type:"handleKey",key:i}),!i)return;if(i==""&&!r.insertMode&&!r.visualMode&&this.query){const o=r.searchState_;o&&(n.removeOverlay(o.getOverlay()),o.setOverlay(null))}if(i===""&&!si.isMac&&n.somethingSelected())return this.waitForCopy=!0,!0;r.status=(r.status||"")+i;let a=ib.multiSelectHandleKey(n,i,"user");return r=ib.maybeInitVimState_(n),!a&&r.insertMode&&n.state.overwrite&&(e.key&&e.key.length==1&&!/\n/.test(e.key)?(a=!0,n.overWriteSelection(e.key)):e.key=="Backspace"&&(a=!0,si.commands.cursorCharLeft(n))),a&&(si.signal(this.cm,"vim-keypress",i),e.preventDefault(),e.stopPropagation(),this.blockCursor.scheduleRedraw()),this.updateStatus(),!!a}},{eventHandlers:{copy:function(e,t){this.waitForCopy&&(this.waitForCopy=!1,Promise.resolve().then(()=>{var n=this.cm,r=n.state.vim;r&&(r.insertMode?n.setSelection(n.getCursor(),n.getCursor()):n.operation(()=>{n.curOp&&(n.curOp.isVimOp=!0),ib.handleKey(n,"","user")}))}))},compositionstart:function(e,t){this.useNextTextInput=!0,si.signal(this.cm,"inputEvent",e)},compositionupdate:function(e,t){si.signal(this.cm,"inputEvent",e)},compositionend:function(e,t){si.signal(this.cm,"inputEvent",e)},keypress:function(e,t){si.signal(this.cm,"inputEvent",e),this.lastKeydown=="Dead"&&this.handleKey(e,t)},keydown:function(e,t){si.signal(this.cm,"inputEvent",e),this.lastKeydown=e.key,this.lastKeydown=="Unidentified"||this.lastKeydown=="Process"||this.lastKeydown=="Dead"?this.useNextTextInput=!0:(this.useNextTextInput=!1,this.handleKey(e,t))}},provide:()=>[Sn.inputHandler.of((e,t,n,r)=>{var i,s,a=Fat(e);if(!a)return!1;var o=(i=a.state)===null||i===void 0?void 0:i.vim,l=a.state.vimPlugin;if(o&&!o.insertMode&&!(!((s=a.curOp)===null||s===void 0)&&s.isVimOp)){if(r==="\0\0")return!0;if(si.signal(a,"inputEvent",{type:"text",text:r,from:t,to:n}),r.length==1&&l.useNextTextInput){if(o.expectLiteralNext&&e.composing)return l.compositionText=r,!1;if(l.compositionText){var c=l.compositionText;l.compositionText="";var d=e.state.selection.main.head,f=e.state.sliceDoc(d-c.length,d);if(c===f){var p=a.getCursor();a.replaceRange("",a.posFromIndex(d-c.length),p)}}return l.handleKey({key:r,preventDefault:()=>{},stopPropagation:()=>{}}),Iat(e),!0}}return!1})],decorations:e=>e.decorations});function Iat(e){var t=e.scrollDOM.parentElement;if(t){if(_at){e.contentDOM.textContent="\0\0",e.contentDOM.dispatchEvent(new CustomEvent("compositionend"));return}var n=e.scrollDOM.nextSibling,r=window.getSelection(),i=r&&{anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset};e.scrollDOM.remove(),t.insertBefore(e.scrollDOM,n);try{i&&r&&(r.setPosition(i.anchorNode,i.anchorOffset),i.focusNode&&r.extend(i.focusNode,i.focusOffset))}catch(s){console.error(s)}e.focus(),e.contentDOM.dispatchEvent(new CustomEvent("compositionend"))}}const Dat=Kn.mark({class:"cm-searchMatch"}),Sye=Fr.define(),Nat=Po.define({create:()=>!1,update(e,t){for(let n of t.effects)n.is(Sye)&&(e=n.value);return e},provide:e=>vy.from(e,t=>t?Pat:null)});function Pat(e){let t=document.createElement("div");t.className="cm-vim-panel";let n=e.cm;return n.state.dialog&&t.appendChild(n.state.dialog),{top:!1,dom:t}}function Lat(e){let t=document.createElement("div");t.className="cm-vim-panel";let n=e.cm;return n.state.statusbar=t,n.state.vimPlugin.updateStatus(),{dom:t}}function Mat(e={}){return[Cat,Rat,xat,e.status?vy.of(Lat):Nat]}function Fat(e){return e.cm||null}var $at=function(t){t===void 0&&(t={});var{crosshairCursor:n=!1}=t,r=[];t.closeBracketsKeymap!==!1&&(r=r.concat(tnt)),t.defaultKeymap!==!1&&(r=r.concat($et)),t.searchKeymap!==!1&&(r=r.concat(ctt)),t.historyKeymap!==!1&&(r=r.concat(ZJe)),t.foldKeymap!==!1&&(r=r.concat(uJe)),t.completionKeymap!==!1&&(r=r.concat(H1e)),t.lintKeymap!==!1&&(r=r.concat(ynt));var i=[];return t.lineNumbers!==!1&&i.push(vKe()),t.highlightActiveLineGutter!==!1&&i.push(EKe()),t.highlightSpecialChars!==!1&&i.push(zXe()),t.history!==!1&&i.push(zJe()),t.foldGutter!==!1&&i.push(hJe()),t.drawSelection!==!1&&i.push(CXe()),t.dropCursor!==!1&&i.push(LXe()),t.allowMultipleSelections!==!1&&i.push(Ni.allowMultipleSelections.of(!0)),t.indentOnInput!==!1&&i.push(nJe()),t.syntaxHighlighting!==!1&&i.push(Uge(bJe,{fallback:!0})),t.bracketMatching!==!1&&i.push(xJe()),t.closeBrackets!==!1&&i.push(Xtt()),t.autocompletion!==!1&&i.push(lnt()),t.rectangularSelection!==!1&&i.push(JXe()),n!==!1&&i.push(nKe()),t.highlightActiveLine!==!1&&i.push(VXe()),t.highlightSelectionMatches!==!1&&i.push(Wet()),t.tabSize&&typeof t.tabSize=="number"&&i.push(m1.of(" ".repeat(t.tabSize))),i.concat([qE.of(r.flat())]).filter(Boolean)},Oye=e=>{var{theme:t,settings:n={},styles:r=[]}=e,i={".cm-gutters":{}},s={};n.background&&(s.backgroundColor=n.background),n.backgroundImage&&(s.backgroundImage=n.backgroundImage),n.foreground&&(s.color=n.foreground),n.fontSize&&(s.fontSize=n.fontSize),(n.background||n.foreground)&&(i["&"]=s),n.fontFamily&&(i["&.cm-editor .cm-scroller"]={fontFamily:n.fontFamily}),n.gutterBackground&&(i[".cm-gutters"].backgroundColor=n.gutterBackground),n.gutterForeground&&(i[".cm-gutters"].color=n.gutterForeground),n.gutterBorder&&(i[".cm-gutters"].borderRightColor=n.gutterBorder),n.caret&&(i[".cm-content"]={caretColor:n.caret},i[".cm-cursor, .cm-dropCursor"]={borderLeftColor:n.caret});var a={};n.gutterActiveForeground&&(a.color=n.gutterActiveForeground),n.lineHighlight&&(i[".cm-activeLine"]={backgroundColor:n.lineHighlight},a.backgroundColor=n.lineHighlight),i[".cm-activeLineGutter"]=a,n.selection&&(i["&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"]={background:n.selection+" !important"}),n.selectionMatch&&(i["& .cm-selectionMatch"]={backgroundColor:n.selectionMatch});var o=Sn.theme(i,{dark:t==="dark"}),l=oA.define(r),c=[o,Uge(l)];return c},Bat={background:"#fff",foreground:"#3D3D3D",selection:"#BBDFFF",selectionMatch:"#BBDFFF",gutterBackground:"#fff",gutterForeground:"#AFAFAF",lineHighlight:"#d5e6ff69"},Uat=[{tag:[ze.comment,ze.quote],color:"#707F8D"},{tag:[ze.typeName,ze.typeOperator],color:"#aa0d91"},{tag:[ze.keyword],color:"#aa0d91",fontWeight:"bold"},{tag:[ze.string,ze.meta],color:"#D23423"},{tag:[ze.name],color:"#032f62"},{tag:[ze.typeName],color:"#522BB2"},{tag:[ze.variableName],color:"#23575C"},{tag:[ze.definition(ze.variableName)],color:"#327A9E"},{tag:[ze.regexp,ze.link],color:"#0e0eff"}];function zat(e){var{theme:t="light",settings:n={},styles:r=[]}={};return Oye({theme:t,settings:Kc({},Bat,n),styles:[...Uat,...r]})}var Hat=zat(),qat={background:"#292A30",foreground:"#CECFD0",caret:"#fff",selection:"#727377",selectionMatch:"#727377",lineHighlight:"#ffffff0f"},jat=[{tag:[ze.comment,ze.quote],color:"#7F8C98"},{tag:[ze.keyword],color:"#FF7AB2",fontWeight:"bold"},{tag:[ze.string,ze.meta],color:"#FF8170"},{tag:[ze.typeName],color:"#DABAFF"},{tag:[ze.definition(ze.variableName)],color:"#6BDFFF"},{tag:[ze.name],color:"#6BAA9F"},{tag:[ze.variableName],color:"#ACF2E4"},{tag:[ze.regexp,ze.link],color:"#FF8170"}],Wat=e=>{var{theme:t="dark",settings:n={},styles:r=[]}={};return Oye({theme:t,settings:Kc({},qat,n),styles:[...jat,...r]})},Qat=Wat(),Bc=(e=>(e.BOLD="bold",e.ITALIC="italic",e.CODE="code",e.STRIKETHROUGH="strikeThrough",e))(Bc||{});const gj=()=>{const{cmView:e}=ei(xm),t=Y.useCallback(o=>{switch(o){case"bold":return"**";case"italic":return"_";case"code":return"`";case"strikeThrough":return"~~"}},[]),n=Y.useCallback((o,l)=>{const d=new Set(["*","_","`","~"]);return[...o.sliceDoc(Math.max(0,l-10),l)].reduce((p,g)=>d.has(g)?p+1:p,0)},[]),r=Y.useCallback(o=>{const l=t(o),c=l.length;return({state:d,dispatch:f})=>{const p=d.changeByRange(g=>{const b=n(d,g.from),w=d.sliceDoc(g.from-b<0?0:g.from-b,g.from).indexOf(l),x=d.sliceDoc(g.to,g.to+b).indexOf(l),T=[w===-1?{from:g.from,insert:Oi.of([l])}:{from:g.from-b+w,to:g.from-b+w+c,insert:Oi.of([""])},x===-1?{from:g.to,insert:Oi.of([l])}:{from:g.to+x,to:g.to+x+c,insert:Oi.of([""])}],_=w===-1?c:-c,C=x===-1?c:-c;return{changes:T,range:Bt.range(g.from+_,g.to+C)}});return f(d.update(p,{scrollIntoView:!0,annotations:da.userEvent.of("input")})),!0}},[t,n]),i=Y.useCallback(()=>[Bet,{key:"Mod-b",run:r("bold")},{key:"Mod-i",run:r("italic")},{key:"Mod-e",run:r("code")},{key:"Mod-Shift-x",run:r("strikeThrough")}],[r]),s=Y.useCallback((o,l)=>(c,d)=>{if(!e)return;const f=new Set(o);f.has(d)?f.delete(d):f.add(d),l(p=>({...p,selectedFormats:f})),r(d)(e)},[e,r]),a=Y.useCallback((o,l,c,d,f)=>{o.includes(c)&&l.includes(c)&&f.add(d)},[]);return{getFormatMarkerLength:n,applyFormat:r,setKeymapConfig:i,toggleButtonChangeHandler:s,checkAndAddFormat:a}},Vat=()=>{const[e,t]=Y.useState({show:!1,position:{top:0,left:0},selectedFormats:new Set}),{getFormatMarkerLength:n,checkAndAddFormat:r}=gj(),i=Y.useCallback(s=>{const{state:a,view:o}=s,l=a.selection.main;if(l.empty){t(w=>({...w,show:!1,selectedFormats:new Set}));return}const c=o.coordsAtPos(l.from);if(!c)return;const d=n(o.state,l.from),f=a.sliceDoc(l.from-d,l.from),p=a.sliceDoc(l.to,l.to+d),g=new Set;[{marker:"**",format:Bc.BOLD},{marker:"_",format:Bc.ITALIC},{marker:"`",format:Bc.CODE},{marker:"~~",format:Bc.STRIKETHROUGH}].forEach(({marker:w,format:x})=>{r(f,p,w,x,g)}),t(w=>({...w,show:!0,position:{top:c.top-5,left:c.left},selectedFormats:g}))},[n,r]);return{toolBarState:e,setToolBarState:t,updateFormatBar:i}},Nie=async(e,t)=>await Promise.all(Array.from(e).map(n=>{if(n.type.startsWith("image/"))return new Promise((r,i)=>{const s=new FileReader;s.readAsDataURL(n),s.onload=function(){r(t(n))},s.onerror=function(a){i(a)}})})),Pie=(e,t,n)=>{if(!e)return;const i=t.state.selection.main.to,s=i,a=` +`));return}var dt=0,$t=function(){if(dt=Ve){gi(R,"Invalid argument: "+N.argString.substring(ee));return}for(var He=0;He<=Ve-Le;He++){var vt=String.fromCharCode(Le+He);delete H.marks[vt]}}else{gi(R,"Invalid argument: "+oe+"-");return}}else J&&delete H.marks[J]}}},Fo=new Wp;function Cu(R,N,H,Q,ee,J,oe,Ae,Le){R.state.vim.exMode=!0;var Ve=!1,He,vt,gt;function bt(){R.operation(function(){for(;!Ve;)dt(),tn();$n()})}function dt(){var Xn=R.getRange(J.from(),J.to()),ki=Xn.replace(oe,Ae),Js=J.to().line;J.replace(ki),vt=J.to().line,ee+=vt-Js,gt=vt":case"":case"":$n(Js);break}return Ve&&$n(Js),!0}if(tn(),Ve){gi(R,"No matches for "+oe.source);return}if(!N){bt(),Le&&Le();return}Ba(R,{prefix:Ui("span","replace with ",Ui("strong",Ae)," (y/n/a/q/l)"),onKeyDown:Zn})}function il(R,N){var H=R.state.vim,Q=ae.macroModeState,ee=ae.registerController.getRegister("."),J=Q.isPlaying,oe=Q.lastInsertModeChanges;J||(R.off("change",Cm),H.insertEnd&&H.insertEnd.clear(),H.insertEnd=void 0,e.off(R.getInputField(),"keydown",Ah)),!J&&H.insertModeRepeat>1&&(Ri(R,H,H.insertModeRepeat-1,!0),H.lastEditInputState.repeatOverride=H.insertModeRepeat),delete H.insertModeRepeat,H.insertMode=!1,N||R.setCursor(R.getCursor().line,R.getCursor().ch-1),R.setOption("keyMap","vim"),R.setOption("disableInput",!0),R.toggleOverwrite(!1),ee.setText(oe.changes.join("")),e.signal(R,"vim-mode-change",{mode:"normal"}),Q.isRecording&&Kl(Q)}function vn(R){r.unshift(R)}function vc(R,N,H,Q,ee){var J={keys:R,type:N};J[N]=H,J[N+"Args"]=Q;for(var oe in ee)J[oe]=ee[oe];vn(J)}V("insertModeEscKeysTimeout",200,"number");function kf(R,N,H,Q){var ee=ae.registerController.getRegister(Q);if(Q==":"){ee.keyBuffer[0]&&Fo.processCommand(R,ee.keyBuffer[0]),H.isPlaying=!1;return}var J=ee.keyBuffer,oe=0;H.isPlaying=!0,H.replaySearchQueries=ee.searchQueries.slice(0);for(var Ae=0;Ae|./gi;Ve=vt.exec(Le);)if(He=Ve[0],re.handleKey(R,He,"macro"),N.insertMode){var gt=ee.insertModeChanges[oe++].changes;ae.macroModeState.lastInsertModeChanges.changes=gt,Ch(R,gt,1),il(R)}H.isPlaying=!1}function zi(R,N){if(!R.isPlaying){var H=R.latestRegister,Q=ae.registerController.getRegister(H);Q&&Q.pushText(N)}}function Kl(R){if(!R.isPlaying){var N=R.latestRegister,H=ae.registerController.getRegister(N);H&&H.pushInsertModeChanges&&H.pushInsertModeChanges(R.lastInsertModeChanges)}}function Qp(R,N){if(!R.isPlaying){var H=R.latestRegister,Q=ae.registerController.getRegister(H);Q&&Q.pushSearchQuery&&Q.pushSearchQuery(N)}}function Cm(R,N){var H=ae.macroModeState,Q=H.lastInsertModeChanges;if(!H.isPlaying)for(var ee=R.state.vim;N;){if(Q.expectCursorActivityForChange=!0,Q.ignoreCount>1)Q.ignoreCount--;else if(N.origin=="+input"||N.origin=="paste"||N.origin===void 0){var J=R.listSelections().length;J>1&&(Q.ignoreCount=J);var oe=N.text.join(` +`);if(Q.maybeReset&&(Q.changes=[],Q.maybeReset=!1),oe)if(R.state.overwrite&&!/\n/.test(oe))Q.changes.push([oe]);else{if(oe.length>1){var Ae=ee&&ee.insertEnd&&ee.insertEnd.find(),Le=R.getCursor();if(Ae&&Ae.line==Le.line){var Ve=Ae.ch-Le.ch;Ve>0&&Ve",Sr(Q,H))}else N.insertMode||(N.lastHPos=R.getCursor().ch)}function Ss(R,N){this.keyName=R,this.key=N.key,this.ctrlKey=N.ctrlKey,this.altKey=N.altKey,this.metaKey=N.metaKey,this.shiftKey=N.shiftKey}function Ah(R){var N=ae.macroModeState,H=N.lastInsertModeChanges,Q=e.keyName?e.keyName(R):R.key;Q&&(Q.indexOf("Delete")!=-1||Q.indexOf("Backspace")!=-1)&&(H.maybeReset&&(H.changes=[],H.maybeReset=!1),H.changes.push(new Ss(Q,R)))}function Ri(R,N,H,Q){var ee=ae.macroModeState;ee.isPlaying=!0;var J=N.lastEditActionCommand,oe=N.inputState;function Ae(){J?de.processAction(R,N,J):de.evalInput(R,N)}function Le(He){if(ee.lastInsertModeChanges.changes.length>0){He=N.lastEditActionCommand?He:1;var vt=ee.lastInsertModeChanges;Ch(R,vt.changes,He)}}if(N.inputState=N.lastEditInputState,J&&J.interlaceInsertRepeat)for(var Ve=0;Ve"&&!J.insertMode&&!J.visualMode&&Ae&&J.status=="")en(Q);else if(oe||!Ae||Q.inVirtualSelectionMode)ee=re.handleKey(Q,N,H);else{var Le=Ru(J),Ve=J.inputState.changeQueueList||[];Q.operation(function(){var vt;Q.curOp&&(Q.curOp.isVimOp=!0);var He=0;Q.forEachSelection(function(){Q.state.vim.inputState.changeQueue=Ve[He];var gt=Q.getCursor("head"),bt=Q.getCursor("anchor"),dt=fn(gt,bt)?0:-1,$t=fn(gt,bt)?-1:0;gt=pt(gt,0,dt),bt=pt(bt,0,$t),Q.state.vim.sel.head=gt,Q.state.vim.sel.anchor=bt,ee=re.handleKey(Q,N,H),Q.virtualSelection&&(Ve[He]=Q.state.vim.inputState.changeQueue,Q.state.vim=Ru(Le)),He++}),(vt=Q.curOp)!=null&&vt.cursorActivity&&!ee&&(Q.curOp.cursorActivity=!1),Q.state.vim=J,J.inputState.changeQueueList=Ve,J.inputState.changeQueue=null},!0)}return ee&&!J.visualMode&&!J.insert&&J.visualMode!=Q.somethingSelected()&&Im(Q,J),ee}return Se(),re}function Pc(e,t){var n=t.ch,r=t.line+1;r<1&&(r=1,n=0),r>e.lines&&(r=e.lines,n=Number.MAX_VALUE);var i=e.line(r);return Math.min(i.from+Math.max(0,n),i.to)}function Ud(e,t){let n=e.lineAt(t);return{line:n.number-1,ch:t-n.from}}class sp{constructor(t,n){this.line=t,this.ch=n}}function pye(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||[]).concat(n)}}function mye(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else{var r=e._handlers,i=r&&r[t];if(i){var s=i.indexOf(n);s>-1&&(r[t]=i.slice(0,s).concat(i.slice(s+1)))}}}function gye(e,t,...n){var r,i=(r=e._handlers)===null||r===void 0?void 0:r[t];if(i)for(var s=0;s({anchor:Ud(t,n.anchor),head:Ud(t,n.head)}))}setSelections(t,n){var r=this.cm6.state.doc,i=t.map(s=>{var a=Pc(r,s.head),o=Pc(r,s.anchor);return a==o?Bt.cursor(a,1):Bt.range(o,a)});this.cm6.dispatch({selection:Bt.create(i,n)})}setSelection(t,n,r){this.setSelections([{anchor:t,head:n}],0),r&&r.origin=="*mouse"&&this.onBeforeEndOperation()}getLine(t){var n=this.cm6.state.doc;return t<0||t>=n.lines?"":this.cm6.state.doc.line(t+1).text}getLineHandle(t){return this.$lineHandleChanges||(this.$lineHandleChanges=[]),{row:t,index:this.indexFromPos(new sp(t,0))}}getLineNumber(t){var n=this.$lineHandleChanges;if(!n)return null;for(var r=t.index,i=0;i({from:i.from,to:i.to,insert:t[s]||""}));Jw(this,{changes:r})}getSelection(){return this.getSelections().join(` +`)}getSelections(){var t=this.cm6;return t.state.selection.ranges.map(n=>t.state.sliceDoc(n.from,n.to))}somethingSelected(){return this.cm6.state.selection.ranges.some(t=>!t.empty)}getInputField(){return this.cm6.contentDOM}clipPos(t){var n=this.cm6.state.doc,r=t.ch,i=t.line+1;i<1&&(i=1,r=0),i>n.lines&&(i=n.lines,r=Number.MAX_VALUE);var s=n.line(i);return r=Math.min(Math.max(0,r),s.to-s.from),new sp(i-1,r)}getValue(){return this.cm6.state.doc.toString()}setValue(t){var n=this.cm6;return n.dispatch({changes:{from:0,to:n.state.doc.length,insert:t},selection:Bt.range(0,0)})}focus(){return this.cm6.focus()}blur(){return this.cm6.contentDOM.blur()}defaultTextHeight(){return this.cm6.defaultLineHeight}findMatchingBracket(t,n){var r=this.cm6.state,i=Pc(r.doc,t),s=tf(r,i+1,-1);return s&&s.end?{to:Ud(r.doc,s.end.from)}:(s=tf(r,i,1),s&&s.end?{to:Ud(r.doc,s.end.from)}:{to:void 0})}scanForBracket(t,n,r,i){return gat(this,t,n,r,i)}indentLine(t,n){n?this.indentMore():this.indentLess()}indentMore(){jq(this.cm6)}indentLess(){Wq(this.cm6)}execCommand(t){if(t=="indentAuto")si.commands.indentAuto(this);else if(t=="goLineLeft")s1e(this.cm6);else if(t=="goLineRight"){i1e(this.cm6);let n=this.cm6.state,r=n.selection.main.head;rg.length)return null;let b=l(g,p).next();return b.done?null:b.value}var d=1e4;function f(p,g){var b=r.cm6.state.doc;for(let w=1;;w++){let x=Math.max(p,g-w*d),T=l(b,x,g),_=null;for(;!T.next().done;)_=T.value;if(_&&(x==p||_.from>x+10))return _;if(x==p)return null}}return{findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(p){var g=r.cm6.state.doc;if(p){let b=i?i.from==i.to?i.to-1:i.from:a;i=f(0,b)}else{let b=i?i.from==i.to?i.to+1:i.to:a;i=c(b)}return s=i&&{from:Ud(g,i.from),to:Ud(g,i.to),match:i.match},i&&i.match},from:function(){return s==null?void 0:s.from},to:function(){return s==null?void 0:s.to},replace:function(p){i&&(Jw(r,{changes:{from:i.from,to:i.to,insert:p}}),i.to=i.from+p.length,s&&(s.to=Ud(r.cm6.state.doc,i.to)))}}}findPosV(t,n,r,i){let{cm6:s}=this;const a=s.state.doc;let o=r=="page"?s.dom.clientHeight:0;const l=Pc(a,t);let c=Bt.cursor(l,1,void 0,i),d=Math.round(Math.abs(n));for(let p=0;p0,o):r=="line"&&(c=s.moveVertically(c,n>0));let f=Ud(a,c.head);return(n<0&&c.head==0&&i!=0&&t.line==0&&t.ch!=0||n>0&&c.head==a.length&&f.ch!=i&&t.line==f.line)&&(f.hitSide=!0),f}charCoords(t,n){var r=this.cm6.contentDOM.getBoundingClientRect(),i=Pc(this.cm6.state.doc,t),s=this.cm6.coordsAtPos(i),a=-r.top;return{left:((s==null?void 0:s.left)||0)-r.left,top:((s==null?void 0:s.top)||0)+a,bottom:((s==null?void 0:s.bottom)||0)+a}}coordsChar(t,n){var r=this.cm6.contentDOM.getBoundingClientRect(),i=this.cm6.posAtCoords({x:t.left+r.left,y:t.top+r.top})||0;return Ud(this.cm6.state.doc,i)}getScrollInfo(){var t=this.cm6.scrollDOM;return{left:t.scrollLeft,top:t.scrollTop,height:t.scrollHeight,width:t.scrollWidth,clientHeight:t.clientHeight,clientWidth:t.clientWidth}}scrollTo(t,n){t!=null&&(this.cm6.scrollDOM.scrollLeft=t),n!=null&&(this.cm6.scrollDOM.scrollTop=n)}scrollIntoView(t,n){if(t){var r=this.indexFromPos(t);this.cm6.dispatch({effects:Sn.scrollIntoView(r)})}else this.cm6.dispatch({scrollIntoView:!0,userEvent:"scroll"})}getWrapperElement(){return this.cm6.dom}getMode(){return{name:this.getOption("mode")}}setSize(t,n){this.cm6.dom.style.width=t+4+"px",this.cm6.dom.style.height=n+"px",this.refresh()}refresh(){this.cm6.measure()}destroy(){this.removeOverlay()}getLastEditEnd(){return this.posFromIndex(this.$lastChangeEndOffset)}onChange(t){this.$lineHandleChanges&&this.$lineHandleChanges.push(t);for(let r in this.marks)this.marks[r].update(t.changes);this.virtualSelection&&(this.virtualSelection.ranges=this.virtualSelection.ranges.map(r=>r.map(t.changes)));var n=this.curOp=this.curOp||{};t.changes.iterChanges((r,i,s,a,o)=>{(n.$changeStart==null||n.$changeStart>s)&&(n.$changeStart=s),this.$lastChangeEndOffset=a;var l={text:o.toJSON()};n.lastChange?n.lastChange.next=n.lastChange=l:n.lastChange=n.change=l},!0),n.changeHandlers||(n.changeHandlers=this._handlers.change&&this._handlers.change.slice())}onSelectionChange(){var t=this.curOp=this.curOp||{};t.cursorActivityHandlers||(t.cursorActivityHandlers=this._handlers.cursorActivity&&this._handlers.cursorActivity.slice()),this.curOp.cursorActivity=!0}operation(t,n){this.curOp||(this.curOp={$d:0}),this.curOp.$d++;try{var r=t()}finally{this.curOp&&(this.curOp.$d--,this.curOp.$d||this.onBeforeEndOperation())}return r}onBeforeEndOperation(){var t=this.curOp,n=!1;t&&(t.change&&Rie(t.changeHandlers,this,t.change),t&&t.cursorActivity&&(Rie(t.cursorActivityHandlers,this,null),t.isVimOp&&(n=!0)),this.curOp=null),n&&this.scrollIntoView()}moveH(t,n){if(n=="char"){var r=this.getCursor();this.setCursor(r.line,r.ch+t)}}setOption(t,n){switch(t){case"keyMap":this.state.keyMap=n;break;case"textwidth":this.state.textwidth=n;break}}getOption(t){switch(t){case"firstLineNumber":return 1;case"tabSize":return this.cm6.state.tabSize||4;case"readOnly":return this.cm6.state.readOnly;case"indentWithTabs":return this.cm6.state.facet(m1)==" ";case"indentUnit":return this.cm6.state.facet(m1).length||2;case"textwidth":return this.state.textwidth;case"keyMap":return this.state.keyMap||"vim"}}toggleOverwrite(t){this.state.overwrite=t}getTokenTypeAt(t){var n,r=this.indexFromPos(t),i=kge(this.cm6.state,r),s=i==null?void 0:i.resolve(r),a=((n=s==null?void 0:s.type)===null||n===void 0?void 0:n.name)||"";return/comment/i.test(a)?"comment":/string/i.test(a)?"string":""}overWriteSelection(t){var n=this.cm6.state.doc,r=this.cm6.state.selection,i=r.ranges.map(s=>{if(s.empty){var a=s.to1}virtualSelectionMode(){return!!this.virtualSelection}forEachSelection(t){var n=this.cm6.state.selection;this.virtualSelection=Bt.create(n.ranges,n.mainIndex);for(var r=0;rJw(e,t)})},indentAuto:function(e){w1e(e.cm6)},newlineAndIndentContinueComment:void 0,save:void 0};si.isWordChar=function(e){return HF.test(e)};si.keys=dat;si.addClass=function(e,t){};si.rmClass=function(e,t){};si.e_preventDefault=function(e){e.preventDefault()};si.e_stop=function(e){var t,n;(t=e==null?void 0:e.stopPropagation)===null||t===void 0||t.call(e),(n=e==null?void 0:e.preventDefault)===null||n===void 0||n.call(e)};si.lookupKey=function(t,n,r){var i=si.keys[t];i&&r(i)};si.on=pye;si.off=mye;si.signal=gye;si.findMatchingTag=bat;si.findEnclosingTag=yat;si.keyName=void 0;function bye(e,t,n){var r=document.createElement("div");return r.appendChild(t),r}function yye(e,t){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=t}function fat(e,t,n){yye(e,o);var r=bye(e,t,n&&n.bottom),i=!1,s,a=n&&typeof n.duration<"u"?n.duration:5e3;function o(){i||(i=!0,clearTimeout(s),r.remove(),Sye(e,r))}return r.onclick=function(l){l.preventDefault(),o()},vye(e,r),a&&(s=setTimeout(o,a)),o}function vye(e,t){var n=e.state.dialog;e.state.dialog=t,t&&n!==t&&(n&&n.contains(document.activeElement)&&e.focus(),n&&n.parentElement?n.parentElement.replaceChild(t,n):n&&n.remove(),si.signal(e,"dialog"))}function Sye(e,t){e.state.dialog==t&&(e.state.dialog=null,si.signal(e,"dialog"))}function hat(e,t,n,r){r||(r={}),yye(e,void 0);var i=bye(e,t,r.bottom),s=!1;vye(e,i);function a(l){if(typeof l=="string")o.value=l;else{if(s)return;s=!0,Sye(e,i),e.state.dialog||e.focus(),r.onClose&&r.onClose(i)}}var o=i.getElementsByTagName("input")[0];return o&&(r.value&&(o.value=r.value,r.selectValueOnOpen!==!1&&o.select()),r.onInput&&si.on(o,"input",function(l){r.onInput(l,o.value,a)}),r.onKeyUp&&si.on(o,"keyup",function(l){r.onKeyUp(l,o.value,a)}),si.on(o,"keydown",function(l){r&&r.onKeyDown&&r.onKeyDown(l,o.value,a)||(l.keyCode==13&&n(o.value),(l.keyCode==27||r.closeOnEnter!==!1&&l.keyCode==13)&&(o.blur(),si.e_stop(l),a()))}),r.closeOnBlur!==!1&&si.on(o,"blur",function(){setTimeout(function(){document.activeElement!==o&&a()})}),o.focus()),a}var pat={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function mat(e){return e&&e.bracketRegex||/[(){}[\]]/}function gat(e,t,n,r,i){for(var s=i&&i.maxScanLineLength||1e4,a=i&&i.maxScanLines||1e3,o=[],l=mat(i),c=n>0?Math.min(t.line+a,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-a),d=t.line;d!=c;d+=n){var f=e.getLine(d);if(f){var p=n>0?0:f.length-1,g=n>0?f.length:-1;if(!(f.length>s))for(d==t.line&&(p=t.ch-(n<0?1:0));p!=g;p+=n){var b=f.charAt(p);if(l.test(b)){var w=pat[b];if(w&&w.charAt(1)==">"==n>0)o.push(b);else if(o.length)o.pop();else return{pos:new sp(d,p),ch:b}}}}}return d-n==(n>0?e.lastLine():e.firstLine())?!1:null}function bat(e,t){}function yat(e,t){var n,r,i=e.cm6.state,s=e.indexFromPos(t);if(sr){var l=b(o,r,5);if(l){var c=(n=/^\s*/.exec(o))===null||n===void 0?void 0:n[0];e.replaceRange(` +`+c,new sp(s,l.start),new sp(s,l.end))}a++}else if(i&&/\S/.test(o)&&s!=a){var d=e.getLine(s+1);if(d&&/\S/.test(d)){var f=o.replace(/\s+$/,""),p=d.replace(/^\s+/,""),g=f+" "+p,l=b(g,r,5);l&&l.start>f.length||g.lengthT)return{start:M.index,end:M.index+M[2].length};if(I&&I[2])return $=x+I[2].length,{start:$,end:$+I[3].length}}}}let qF=IXe||function(){let e={cursorBlinkRate:1200};return function(){return e}}();class Oat{constructor(t,n,r,i,s,a,o,l,c,d){this.left=t,this.top=n,this.height=r,this.fontFamily=i,this.fontSize=s,this.fontWeight=a,this.color=o,this.className=l,this.letter=c,this.partial=d}draw(){let t=document.createElement("div");return t.className=this.className,this.adjust(t),t}adjust(t){t.style.left=this.left+"px",t.style.top=this.top+"px",t.style.height=this.height+"px",t.style.lineHeight=this.height+"px",t.style.fontFamily=this.fontFamily,t.style.fontSize=this.fontSize,t.style.fontWeight=this.fontWeight,t.style.color=this.partial?"transparent":this.color,t.className=this.className,t.textContent=this.letter}eq(t){return this.left==t.left&&this.top==t.top&&this.height==t.height&&this.fontFamily==t.fontFamily&&this.fontSize==t.fontSize&&this.fontWeight==t.fontWeight&&this.color==t.color&&this.className==t.className&&this.letter==t.letter}}class Eat{constructor(t,n){this.view=t,this.rangePieces=[],this.cursors=[],this.cm=n,this.measureReq={read:this.readPos.bind(this),write:this.drawSel.bind(this)},this.cursorLayer=t.scrollDOM.appendChild(document.createElement("div")),this.cursorLayer.className="cm-cursorLayer cm-vimCursorLayer",this.cursorLayer.setAttribute("aria-hidden","true"),t.requestMeasure(this.measureReq),this.setBlinkRate()}setBlinkRate(){let n=qF(this.cm.cm6.state).cursorBlinkRate;this.cursorLayer.style.animationDuration=n+"ms"}update(t){(t.selectionSet||t.geometryChanged||t.viewportChanged)&&(this.view.requestMeasure(this.measureReq),this.cursorLayer.style.animationName=this.cursorLayer.style.animationName=="cm-blink"?"cm-blink2":"cm-blink"),wat(t)&&this.setBlinkRate()}scheduleRedraw(){this.view.requestMeasure(this.measureReq)}readPos(){let{state:t}=this.view,n=[];for(let r of t.selection.ranges){let i=r==t.selection.main,s=_at(this.cm,this.view,r,i);s&&n.push(s)}return{cursors:n}}drawSel({cursors:t}){if(t.length!=this.cursors.length||t.some((n,r)=>!n.eq(this.cursors[r]))){let n=this.cursorLayer.children;if(n.length!==t.length){this.cursorLayer.textContent="";for(const r of t)this.cursorLayer.appendChild(r.draw())}else t.forEach((r,i)=>r.adjust(n[i]));this.cursors=t}}destroy(){this.cursorLayer.remove()}}function wat(e){return qF(e.startState)!=qF(e.state)}const xat={".cm-vimMode .cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"},caretColor:"transparent !important"},".cm-fat-cursor":{position:"absolute",background:"#ff9696",border:"none",whiteSpace:"pre"},"&:not(.cm-focused) .cm-fat-cursor":{background:"none",outline:"solid 1px #ff9696",color:"transparent !important"}},Tat=Lp.highest(Sn.theme(xat));function kat(e){let t=e.scrollDOM.getBoundingClientRect();return{left:(e.textDirection==Us.LTR?t.left:t.right-e.scrollDOM.clientWidth)-e.scrollDOM.scrollLeft,top:t.top-e.scrollDOM.scrollTop}}function _at(e,t,n,r){var i,s;let a=n.head,o=!1,l=1,c=e.state.vim;if(c&&(!c.insertMode||e.state.overwrite)){if(o=!0,c.visualBlock&&!r)return null;n.anchor1&&(a--,f=t.state.sliceDoc(a,a+1));let p=t.coordsAtPos(a,1);if(!p)return null;let g=kat(t),b=t.domAtPos(a),w=b?b.node:t.contentDOM;for(;b&&b.node instanceof HTMLElement;)w=b.node,b={node:b.node.childNodes[b.offset],offset:0};if(!(w instanceof HTMLElement)){if(!w.parentNode)return null;w=w.parentNode}let x=getComputedStyle(w),T=p.left,_=(s=(i=t).coordsForChar)===null||s===void 0?void 0:s.call(i,a);if(_&&(T=_.left),!f||f==` +`||f=="\r")f=" ";else if(f==" "){f=" ";var d=t.coordsAtPos(a+1,-1);d&&(T=d.left-(d.left-p.left)/parseInt(x.tabSize))}else/[\uD800-\uDBFF]/.test(f)&&a{t.state.vim&&(t.state.vim.status=""),this.blockCursor.scheduleRedraw(),this.updateStatus()}),this.cm.on("vim-mode-change",n=>{t.state.vim&&(t.state.vim.mode=n.mode,n.subMode&&(t.state.vim.mode+=" block"),t.state.vim.status="",this.blockCursor.scheduleRedraw(),this.updateClass(),this.updateStatus())}),this.cm.on("dialog",()=>{this.cm.state.statusbar?this.updateStatus():e.dispatch({effects:Oye.of(!!this.cm.state.dialog)})}),this.dom=document.createElement("span"),this.dom.style.cssText="position: absolute; right: 10px; top: 1px",this.statusButton=document.createElement("span"),this.statusButton.onclick=n=>{ib.handleKey(this.cm,"","user"),this.cm.focus()},this.statusButton.style.cssText="cursor: pointer"}update(e){var t;if((e.viewportChanged||e.docChanged)&&this.query&&this.highlight(this.query),e.docChanged&&this.cm.onChange(e),e.selectionSet&&this.cm.onSelectionChange(),e.viewportChanged,this.cm.curOp&&!this.cm.curOp.isVimOp&&this.cm.onBeforeEndOperation(),e.transactions){for(let n of e.transactions)for(let r of n.effects)if(r.is(g1))if(!((t=r.value)===null||t===void 0?void 0:t.forVim))this.highlight(null);else{let s=r.value.create();this.highlight(s)}}this.blockCursor.update(e)}updateClass(){const e=this.cm.state;!e.vim||e.vim.insertMode&&!e.overwrite?this.view.scrollDOM.classList.remove("cm-vimMode"):this.view.scrollDOM.classList.add("cm-vimMode")}updateStatus(){let e=this.cm.state.statusbar,t=this.cm.state.vim;if(!e||!t)return;let n=this.cm.state.dialog;if(n)n.parentElement!=e&&(e.textContent="",e.appendChild(n));else{e.textContent="";var r=(t.mode||"normal").toUpperCase();t.insertModeReturn&&(r+="(C-O)"),this.statusButton.textContent=`--${r}--`,e.appendChild(this.statusButton)}this.dom.textContent=t.status,e.appendChild(this.dom)}destroy(){ib.leaveVimMode(this.cm),this.updateClass(),this.blockCursor.destroy(),delete this.view.cm}highlight(e){if(this.query=e,!e)return this.decorations=Kn.none;let{view:t}=this,n=new gm;for(let r=0,i=t.visibleRanges,s=i.length;ri[r+1].from-2*Cat;)o=i[++r].to;e.highlight(t.state,a,o,(l,c)=>{n.add(l,c,Nat)})}return this.decorations=n.finish()}handleKey(e,t){const n=this.cm;let r=n.state.vim;if(!r)return;const i=ib.vimKeyFromEvent(e,r);if(si.signal(this.cm,"inputEvent",{type:"handleKey",key:i}),!i)return;if(i==""&&!r.insertMode&&!r.visualMode&&this.query){const o=r.searchState_;o&&(n.removeOverlay(o.getOverlay()),o.setOverlay(null))}if(i===""&&!si.isMac&&n.somethingSelected())return this.waitForCopy=!0,!0;r.status=(r.status||"")+i;let a=ib.multiSelectHandleKey(n,i,"user");return r=ib.maybeInitVimState_(n),!a&&r.insertMode&&n.state.overwrite&&(e.key&&e.key.length==1&&!/\n/.test(e.key)?(a=!0,n.overWriteSelection(e.key)):e.key=="Backspace"&&(a=!0,si.commands.cursorCharLeft(n))),a&&(si.signal(this.cm,"vim-keypress",i),e.preventDefault(),e.stopPropagation(),this.blockCursor.scheduleRedraw()),this.updateStatus(),!!a}},{eventHandlers:{copy:function(e,t){this.waitForCopy&&(this.waitForCopy=!1,Promise.resolve().then(()=>{var n=this.cm,r=n.state.vim;r&&(r.insertMode?n.setSelection(n.getCursor(),n.getCursor()):n.operation(()=>{n.curOp&&(n.curOp.isVimOp=!0),ib.handleKey(n,"","user")}))}))},compositionstart:function(e,t){this.useNextTextInput=!0,si.signal(this.cm,"inputEvent",e)},compositionupdate:function(e,t){si.signal(this.cm,"inputEvent",e)},compositionend:function(e,t){si.signal(this.cm,"inputEvent",e)},keypress:function(e,t){si.signal(this.cm,"inputEvent",e),this.lastKeydown=="Dead"&&this.handleKey(e,t)},keydown:function(e,t){si.signal(this.cm,"inputEvent",e),this.lastKeydown=e.key,this.lastKeydown=="Unidentified"||this.lastKeydown=="Process"||this.lastKeydown=="Dead"?this.useNextTextInput=!0:(this.useNextTextInput=!1,this.handleKey(e,t))}},provide:()=>[Sn.inputHandler.of((e,t,n,r)=>{var i,s,a=$at(e);if(!a)return!1;var o=(i=a.state)===null||i===void 0?void 0:i.vim,l=a.state.vimPlugin;if(o&&!o.insertMode&&!(!((s=a.curOp)===null||s===void 0)&&s.isVimOp)){if(r==="\0\0")return!0;if(si.signal(a,"inputEvent",{type:"text",text:r,from:t,to:n}),r.length==1&&l.useNextTextInput){if(o.expectLiteralNext&&e.composing)return l.compositionText=r,!1;if(l.compositionText){var c=l.compositionText;l.compositionText="";var d=e.state.selection.main.head,f=e.state.sliceDoc(d-c.length,d);if(c===f){var p=a.getCursor();a.replaceRange("",a.posFromIndex(d-c.length),p)}}return l.handleKey({key:r,preventDefault:()=>{},stopPropagation:()=>{}}),Dat(e),!0}}return!1})],decorations:e=>e.decorations});function Dat(e){var t=e.scrollDOM.parentElement;if(t){if(Aat){e.contentDOM.textContent="\0\0",e.contentDOM.dispatchEvent(new CustomEvent("compositionend"));return}var n=e.scrollDOM.nextSibling,r=window.getSelection(),i=r&&{anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset};e.scrollDOM.remove(),t.insertBefore(e.scrollDOM,n);try{i&&r&&(r.setPosition(i.anchorNode,i.anchorOffset),i.focusNode&&r.extend(i.focusNode,i.focusOffset))}catch(s){console.error(s)}e.focus(),e.contentDOM.dispatchEvent(new CustomEvent("compositionend"))}}const Nat=Kn.mark({class:"cm-searchMatch"}),Oye=Fr.define(),Pat=Po.define({create:()=>!1,update(e,t){for(let n of t.effects)n.is(Oye)&&(e=n.value);return e},provide:e=>vy.from(e,t=>t?Lat:null)});function Lat(e){let t=document.createElement("div");t.className="cm-vim-panel";let n=e.cm;return n.state.dialog&&t.appendChild(n.state.dialog),{top:!1,dom:t}}function Mat(e){let t=document.createElement("div");t.className="cm-vim-panel";let n=e.cm;return n.state.statusbar=t,n.state.vimPlugin.updateStatus(),{dom:t}}function Fat(e={}){return[Rat,Iat,Tat,e.status?vy.of(Mat):Pat]}function $at(e){return e.cm||null}var Bat=function(t){t===void 0&&(t={});var{crosshairCursor:n=!1}=t,r=[];t.closeBracketsKeymap!==!1&&(r=r.concat(nnt)),t.defaultKeymap!==!1&&(r=r.concat(Bet)),t.searchKeymap!==!1&&(r=r.concat(dtt)),t.historyKeymap!==!1&&(r=r.concat(XJe)),t.foldKeymap!==!1&&(r=r.concat(cJe)),t.completionKeymap!==!1&&(r=r.concat(q1e)),t.lintKeymap!==!1&&(r=r.concat(vnt));var i=[];return t.lineNumbers!==!1&&i.push(SKe()),t.highlightActiveLineGutter!==!1&&i.push(wKe()),t.highlightSpecialChars!==!1&&i.push(HXe()),t.history!==!1&&i.push(HJe()),t.foldGutter!==!1&&i.push(pJe()),t.drawSelection!==!1&&i.push(RXe()),t.dropCursor!==!1&&i.push(MXe()),t.allowMultipleSelections!==!1&&i.push(Ni.allowMultipleSelections.of(!0)),t.indentOnInput!==!1&&i.push(rJe()),t.syntaxHighlighting!==!1&&i.push(zge(yJe,{fallback:!0})),t.bracketMatching!==!1&&i.push(TJe()),t.closeBrackets!==!1&&i.push(Ktt()),t.autocompletion!==!1&&i.push(unt()),t.rectangularSelection!==!1&&i.push(eKe()),n!==!1&&i.push(rKe()),t.highlightActiveLine!==!1&&i.push(GXe()),t.highlightSelectionMatches!==!1&&i.push(Qet()),t.tabSize&&typeof t.tabSize=="number"&&i.push(m1.of(" ".repeat(t.tabSize))),i.concat([qE.of(r.flat())]).filter(Boolean)},Eye=e=>{var{theme:t,settings:n={},styles:r=[]}=e,i={".cm-gutters":{}},s={};n.background&&(s.backgroundColor=n.background),n.backgroundImage&&(s.backgroundImage=n.backgroundImage),n.foreground&&(s.color=n.foreground),n.fontSize&&(s.fontSize=n.fontSize),(n.background||n.foreground)&&(i["&"]=s),n.fontFamily&&(i["&.cm-editor .cm-scroller"]={fontFamily:n.fontFamily}),n.gutterBackground&&(i[".cm-gutters"].backgroundColor=n.gutterBackground),n.gutterForeground&&(i[".cm-gutters"].color=n.gutterForeground),n.gutterBorder&&(i[".cm-gutters"].borderRightColor=n.gutterBorder),n.caret&&(i[".cm-content"]={caretColor:n.caret},i[".cm-cursor, .cm-dropCursor"]={borderLeftColor:n.caret});var a={};n.gutterActiveForeground&&(a.color=n.gutterActiveForeground),n.lineHighlight&&(i[".cm-activeLine"]={backgroundColor:n.lineHighlight},a.backgroundColor=n.lineHighlight),i[".cm-activeLineGutter"]=a,n.selection&&(i["&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"]={background:n.selection+" !important"}),n.selectionMatch&&(i["& .cm-selectionMatch"]={backgroundColor:n.selectionMatch});var o=Sn.theme(i,{dark:t==="dark"}),l=oA.define(r),c=[o,zge(l)];return c},Uat={background:"#fff",foreground:"#3D3D3D",selection:"#BBDFFF",selectionMatch:"#BBDFFF",gutterBackground:"#fff",gutterForeground:"#AFAFAF",lineHighlight:"#d5e6ff69"},zat=[{tag:[ze.comment,ze.quote],color:"#707F8D"},{tag:[ze.typeName,ze.typeOperator],color:"#aa0d91"},{tag:[ze.keyword],color:"#aa0d91",fontWeight:"bold"},{tag:[ze.string,ze.meta],color:"#D23423"},{tag:[ze.name],color:"#032f62"},{tag:[ze.typeName],color:"#522BB2"},{tag:[ze.variableName],color:"#23575C"},{tag:[ze.definition(ze.variableName)],color:"#327A9E"},{tag:[ze.regexp,ze.link],color:"#0e0eff"}];function Hat(e){var{theme:t="light",settings:n={},styles:r=[]}={};return Eye({theme:t,settings:Jc({},Uat,n),styles:[...zat,...r]})}var qat=Hat(),jat={background:"#292A30",foreground:"#CECFD0",caret:"#fff",selection:"#727377",selectionMatch:"#727377",lineHighlight:"#ffffff0f"},Wat=[{tag:[ze.comment,ze.quote],color:"#7F8C98"},{tag:[ze.keyword],color:"#FF7AB2",fontWeight:"bold"},{tag:[ze.string,ze.meta],color:"#FF8170"},{tag:[ze.typeName],color:"#DABAFF"},{tag:[ze.definition(ze.variableName)],color:"#6BDFFF"},{tag:[ze.name],color:"#6BAA9F"},{tag:[ze.variableName],color:"#ACF2E4"},{tag:[ze.regexp,ze.link],color:"#FF8170"}],Qat=e=>{var{theme:t="dark",settings:n={},styles:r=[]}={};return Eye({theme:t,settings:Jc({},jat,n),styles:[...Wat,...r]})},Vat=Qat(),Uc=(e=>(e.BOLD="bold",e.ITALIC="italic",e.CODE="code",e.STRIKETHROUGH="strikeThrough",e))(Uc||{});const gj=()=>{const{cmView:e}=ei(xm),t=Y.useCallback(o=>{switch(o){case"bold":return"**";case"italic":return"_";case"code":return"`";case"strikeThrough":return"~~"}},[]),n=Y.useCallback((o,l)=>{const d=new Set(["*","_","`","~"]);return[...o.sliceDoc(Math.max(0,l-10),l)].reduce((p,g)=>d.has(g)?p+1:p,0)},[]),r=Y.useCallback(o=>{const l=t(o),c=l.length;return({state:d,dispatch:f})=>{const p=d.changeByRange(g=>{const b=n(d,g.from),w=d.sliceDoc(g.from-b<0?0:g.from-b,g.from).indexOf(l),x=d.sliceDoc(g.to,g.to+b).indexOf(l),T=[w===-1?{from:g.from,insert:Oi.of([l])}:{from:g.from-b+w,to:g.from-b+w+c,insert:Oi.of([""])},x===-1?{from:g.to,insert:Oi.of([l])}:{from:g.to+x,to:g.to+x+c,insert:Oi.of([""])}],_=w===-1?c:-c,C=x===-1?c:-c;return{changes:T,range:Bt.range(g.from+_,g.to+C)}});return f(d.update(p,{scrollIntoView:!0,annotations:da.userEvent.of("input")})),!0}},[t,n]),i=Y.useCallback(()=>[Uet,{key:"Mod-b",run:r("bold")},{key:"Mod-i",run:r("italic")},{key:"Mod-e",run:r("code")},{key:"Mod-Shift-x",run:r("strikeThrough")}],[r]),s=Y.useCallback((o,l)=>(c,d)=>{if(!e)return;const f=new Set(o);f.has(d)?f.delete(d):f.add(d),l(p=>({...p,selectedFormats:f})),r(d)(e)},[e,r]),a=Y.useCallback((o,l,c,d,f)=>{o.includes(c)&&l.includes(c)&&f.add(d)},[]);return{getFormatMarkerLength:n,applyFormat:r,setKeymapConfig:i,toggleButtonChangeHandler:s,checkAndAddFormat:a}},Gat=()=>{const[e,t]=Y.useState({show:!1,position:{top:0,left:0},selectedFormats:new Set}),{getFormatMarkerLength:n,checkAndAddFormat:r}=gj(),i=Y.useCallback(s=>{const{state:a,view:o}=s,l=a.selection.main;if(l.empty){t(w=>({...w,show:!1,selectedFormats:new Set}));return}const c=o.coordsAtPos(l.from);if(!c)return;const d=n(o.state,l.from),f=a.sliceDoc(l.from-d,l.from),p=a.sliceDoc(l.to,l.to+d),g=new Set;[{marker:"**",format:Uc.BOLD},{marker:"_",format:Uc.ITALIC},{marker:"`",format:Uc.CODE},{marker:"~~",format:Uc.STRIKETHROUGH}].forEach(({marker:w,format:x})=>{r(f,p,w,x,g)}),t(w=>({...w,show:!0,position:{top:c.top-5,left:c.left},selectedFormats:g}))},[n,r]);return{toolBarState:e,setToolBarState:t,updateFormatBar:i}},Nie=async(e,t)=>await Promise.all(Array.from(e).map(n=>{if(n.type.startsWith("image/"))return new Promise((r,i)=>{const s=new FileReader;s.readAsDataURL(n),s.onload=function(){r(t(n))},s.onerror=function(a){i(a)}})})),Pie=(e,t,n)=>{if(!e)return;const i=t.state.selection.main.to,s=i,a=` ![image](${e}) -`,o=s+a.length;n.update((l,c)=>{l.content.edit(i,s,a),c.set({selection:l.content.indexRangeToPosRange([o,o])})}),t.dispatch({changes:{from:i,to:s,insert:a},selection:{anchor:o}})},Gat=(e,t)=>Sn.domEventHandlers({paste(n,r){var i,s;!((i=n.clipboardData)!=null&&i.files)||((s=n.clipboardData)==null?void 0:s.files.length)==0||Nie(n.clipboardData.files,e).then(a=>a.forEach(o=>Pie(o,r,t)))},drop(n,r){var i,s;!((i=n.dataTransfer)!=null&&i.files)||((s=n.dataTransfer)==null?void 0:s.files.length)==0||Nie(n.dataTransfer.files,e).then(a=>a.forEach(o=>Pie(o,r,t)))}});class Yat{constructor(t,n){this.left=t,this.right=n}}const Rb=(e,t)=>new Yat(e,t),Zat=(e,t)=>e.forEach(n=>t(n.left,n.right)),Bp=typeof document<"u"?document:{},Xat=e=>Bp.createElement(e),Kat=()=>Bp.createDocumentFragment(),Jat=e=>Bp.createTextNode(e);typeof DOMParser<"u"&&new DOMParser;const eot=(e,t)=>(Zat(t,(n,r)=>{r===!1?e.removeAttribute(n):r===!0?e.setAttribute(n,""):e.setAttribute(n,r)}),e),tot=e=>{const t=Kat();for(let n=0;n(Eye(e,tot(t)),e),cR=(e,t=[],n=[])=>not(eot(Xat(e),t),n),t3=Jat,Eye=(e,t)=>e.appendChild(t);Bp.ELEMENT_NODE;Bp.TEXT_NODE;Bp.CDATA_SECTION_NODE;Bp.COMMENT_NODE;Bp.DOCUMENT_NODE;Bp.DOCUMENT_TYPE_NODE;Bp.DOCUMENT_FRAGMENT_NODE;const rot="yorkie-intelligence-header",OI="yorkie-intelligence-footer";class Lie extends Sh{constructor(n,r,i){super();Qa(this,"id");Qa(this,"content");Qa(this,"selectionRange");this.id=n,this.content=r,this.selectionRange=i}toDOM(){return cR("span",[Rb("id",this.id),Rb("content",this.content),Rb("style","position: relaitve;")])}eq(n){return n.selectionRange===this.selectionRange}compare(n){return n.selectionRange===this.selectionRange}updateDOM(){return!1}get estimatedHeight(){return-1}ignoreEvent(){return!0}}class iot{constructor(){Qa(this,"decorations");this.decorations=Ci.of([])}update(t){const n=[],r=t.state.selection.main;if((r==null?void 0:r.from)!==(r==null?void 0:r.to)&&r){const s=t.state.sliceDoc(r.from,r.to);n.push({from:r.from,to:r.from,value:Kn.widget({side:1,block:!1,widget:new Lie(rot,s,r)})}),n.push({from:r.to,to:r.to,value:Kn.widget({side:1,block:!1,widget:new Lie(OI,s,r)})})}this.decorations=Kn.set(n,!0)}}const sot=pa.fromClass(iot,{decorations:e=>e.decorations});var jF={exports:{}},WF={exports:{}},QF={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;function n(i){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},n(i)}function r(i){var s=typeof i=="string"||i instanceof String;if(!s){var a=n(i);throw i===null?a="null":a==="object"&&(a=i.constructor.name),new TypeError("Expected a string but received a ".concat(a))}}e.exports=t.default,e.exports.default=t.default})(QF,QF.exports);var gn=QF.exports;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s){return(0,n.default)(s),s=Date.parse(s),isNaN(s)?null:new Date(s)}e.exports=t.default,e.exports.default=t.default})(WF,WF.exports);var bj=WF.exports,VF={exports:{}},YE={},oa={};Object.defineProperty(oa,"__esModule",{value:!0});oa.farsiLocales=oa.englishLocales=oa.dotDecimal=oa.decimal=oa.commaDecimal=oa.bengaliLocales=oa.arabicLocales=oa.alphanumeric=oa.alpha=void 0;var fc=oa.alpha={"en-US":/^[A-Z]+$/i,"az-AZ":/^[A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[А-Я]+$/i,"cs-CZ":/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ώ]+$/i,"es-ES":/^[A-ZÁÉÍÑÓÚÜ]+$/i,"fa-IR":/^[ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهی]+$/i,"fi-FI":/^[A-ZÅÄÖ]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"ja-JP":/^[ぁ-んァ-ヶヲ-゚一-龠ー・。、]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[А-ЯЁ]+$/i,"kk-KZ":/^[А-ЯЁ\u04D8\u04B0\u0406\u04A2\u0492\u04AE\u049A\u04E8\u04BA]+$/i,"sl-SI":/^[A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๐\s]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[А-ЩЬЮЯЄIЇҐі]+$/i,"vi-VN":/^[A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,"ko-KR":/^[ㄱ-ㅎㅏ-ㅣ가-힣]*$/,"ku-IQ":/^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[א-ת]+$/,fa:/^['آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی']+$/i,bn:/^['ঀঁংঃঅআইঈউঊঋঌএঐওঔকখগঘঙচছজঝঞটঠডঢণতথদধনপফবভমযরলশষসহ়ঽািীুূৃৄেৈোৌ্ৎৗড়ঢ়য়ৠৡৢৣৰৱ৲৳৴৵৶৷৸৹৺৻']+$/,eo:/^[ABCĈD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]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๙\s]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9А-ЩЬЮЯЄIЇҐі]+$/i,"ko-KR":/^[0-9ㄱ-ㅎㅏ-ㅣ가-힣]*$/,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,"vi-VN":/^[0-9A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[0-9א-ת]+$/,fa:/^['0-9آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی۱۲۳۴۵۶۷۸۹۰']+$/i,bn:/^['ঀঁংঃঅআইঈউঊঋঌএঐওঔকখগঘঙচছজঝঞটঠডঢণতথদধনপফবভমযরলশষসহ়ঽািীুূৃৄেৈোৌ্ৎৗড়ঢ়য়ৠৡৢৣ০১২৩৪৫৬৭৮৯ৰৱ৲৳৴৵৶৷৸৹৺৻']+$/,eo:/^[0-9ABCĈD-GĜHĤIJĴK-PRSŜTUŬVZ]+$/i,"hi-IN":/^[\u0900-\u0963]+[\u0966-\u097F]*$/i,"si-LK":/^[0-9\u0D80-\u0DFF]+$/},xu=oa.decimal={"en-US":".",ar:"٫"},Mie=oa.englishLocales=["AU","GB","HK","IN","NZ","ZA","ZM"];for(var n3,wL=0;wL=t.min)&&(!t.hasOwnProperty("max")||r<=t.max)&&(!t.hasOwnProperty("lt")||rt.gt)}YE.locales=Object.keys(wye.decimal);(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(YE);function r(s){return s&&s.__esModule?s:{default:s}}function i(s){return(0,n.default)(s)?parseFloat(s):NaN}e.exports=t.default,e.exports.default=t.default})(VF,VF.exports);var xye=VF.exports,GF={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s,a){return(0,n.default)(s),parseInt(s,a||10)}e.exports=t.default,e.exports.default=t.default})(GF,GF.exports);var uot=GF.exports,YF={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s,a){return(0,n.default)(s),a?s==="1"||/^true$/i.test(s):s!=="0"&&!/^false$/i.test(s)&&s!==""}e.exports=t.default,e.exports.default=t.default})(YF,YF.exports);var cot=YF.exports,ZF={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s,a){return(0,n.default)(s),s===a}e.exports=t.default,e.exports.default=t.default})(ZF,ZF.exports);var dot=ZF.exports,XF={exports:{}},KF={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;function n(i){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},n(i)}function r(i){return n(i)==="object"&&i!==null?typeof i.toString=="function"?i=i.toString():i="[object Object]":(i===null||typeof i>"u"||isNaN(i)&&!i.length)&&(i=""),String(i)}e.exports=t.default,e.exports.default=t.default})(KF,KF.exports);var Tye=KF.exports,JF={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;for(var s in i)typeof r[s]>"u"&&(r[s]=i[s]);return r}e.exports=t.default,e.exports.default=t.default})(JF,JF.exports);var Au=JF.exports;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=s(gn),r=s(Tye),i=s(Au);function s(l){return l&&l.__esModule?l:{default:l}}var a={ignoreCase:!1,minOccurrences:1};function o(l,c,d){return(0,n.default)(l),d=(0,i.default)(d,a),d.ignoreCase?l.toLowerCase().split((0,r.default)(c).toLowerCase()).length>d.minOccurrences:l.split((0,r.default)(c)).length>d.minOccurrences}e.exports=t.default,e.exports.default=t.default})(XF,XF.exports);var fot=XF.exports,e$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s,a,o){return(0,n.default)(s),Object.prototype.toString.call(a)!=="[object RegExp]"&&(a=new RegExp(a,o)),!!s.match(a)}e.exports=t.default,e.exports.default=t.default})(e$,e$.exports);var hot=e$.exports,t$={exports:{}},n$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}function i(a){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},i(a)}function s(a,o){(0,n.default)(a);var l,c;i(o)==="object"?(l=o.min||0,c=o.max):(l=arguments[1],c=arguments[2]);var d=encodeURI(a).split(/%..|./).length-1;return d>=l&&(typeof c>"u"||d<=c)}e.exports=t.default,e.exports.default=t.default})(n$,n$.exports);var kye=n$.exports,r$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=i(gn),r=i(Au);function i(o){return o&&o.__esModule?o:{default:o}}var s={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};function a(o,l){(0,n.default)(o),l=(0,r.default)(l,s),l.allow_trailing_dot&&o[o.length-1]==="."&&(o=o.substring(0,o.length-1)),l.allow_wildcard===!0&&o.indexOf("*.")===0&&(o=o.substring(2));var c=o.split("."),d=c[c.length-1];return l.require_tld&&(c.length<2||!l.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(d)||/\s/.test(d))||!l.allow_numeric_tld&&/^\d+$/.test(d)?!1:c.every(function(f){return!(f.length>63&&!l.ignore_max_length||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(f)||/[\uff01-\uff5e]/.test(f)||/^-|-$/.test(f)||!l.allow_underscores&&/_/.test(f))})}e.exports=t.default,e.exports.default=t.default})(r$,r$.exports);var yj=r$.exports,i$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var n=r(gn);function r(d){return d&&d.__esModule?d:{default:d}}var i="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",s="(".concat(i,"[.]){3}").concat(i),a=new RegExp("^".concat(s,"$")),o="(?:[0-9a-fA-F]{1,4})",l=new RegExp("^("+"(?:".concat(o,":){7}(?:").concat(o,"|:)|")+"(?:".concat(o,":){6}(?:").concat(s,"|:").concat(o,"|:)|")+"(?:".concat(o,":){5}(?::").concat(s,"|(:").concat(o,"){1,2}|:)|")+"(?:".concat(o,":){4}(?:(:").concat(o,"){0,1}:").concat(s,"|(:").concat(o,"){1,3}|:)|")+"(?:".concat(o,":){3}(?:(:").concat(o,"){0,2}:").concat(s,"|(:").concat(o,"){1,4}|:)|")+"(?:".concat(o,":){2}(?:(:").concat(o,"){0,3}:").concat(s,"|(:").concat(o,"){1,5}|:)|")+"(?:".concat(o,":){1}(?:(:").concat(o,"){0,4}:").concat(s,"|(:").concat(o,"){1,6}|:)|")+"(?::((?::".concat(o,"){0,5}:").concat(s,"|(?::").concat(o,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");function c(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(0,n.default)(d),f=String(f),f?f==="4"?a.test(d):f==="6"?l.test(d):!1:c(d,4)||c(d,6)}e.exports=t.default,e.exports.default=t.default})(i$,i$.exports);var GD=i$.exports;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=T;var n=o(gn),r=o(kye),i=o(yj),s=o(GD),a=o(Au);function o(_){return _&&_.__esModule?_:{default:_}}var l={allow_display_name:!1,allow_underscores:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[],host_whitelist:[]},c=/^([^\x00-\x1F\x7F-\x9F\cX]+)]/.test(C);if(I){if(C===_)return!1;var M=C.split('"').length===C.split('\\"').length;if(!M)return!1}return!0}function T(_,C){if((0,n.default)(_),C=(0,a.default)(C,l),C.require_display_name||C.allow_display_name){var I=_.match(c);if(I){var M=I[1];if(_=_.replace(M,"").replace(/(^<|>$)/g,""),M.endsWith(" ")&&(M=M.slice(0,-1)),!x(M))return!1}else if(C.require_display_name)return!1}if(!C.ignore_max_length&&_.length>w)return!1;var $=_.split("@"),B=$.pop(),j=B.toLowerCase();if(C.host_blacklist.includes(j)||C.host_whitelist.length>0&&!C.host_whitelist.includes(j))return!1;var F=$.join("@");if(C.domain_specific_validation&&(j==="gmail.com"||j==="googlemail.com")){F=F.toLowerCase();var V=F.split("+")[0];if(!(0,r.default)(V.replace(/\./g,""),{min:6,max:30}))return!1;for(var ie=V.split("."),se=0;se_.length)&&(C=_.length);for(var I=0,M=new Array(C);I]/.test(_)||_.indexOf("mailto:")===0||(C=(0,s.default)(C,g),C.validate_length&&_.length>=2083)||!C.allow_fragments&&_.includes("#")||!C.allow_query_components&&(_.includes("?")||_.includes("&")))return!1;var I,M,$,B,j,F,V,ie;if(V=_.split("#"),_=V.shift(),V=_.split("?"),_=V.shift(),V=_.split("://"),V.length>1){if(I=V.shift().toLowerCase(),C.require_valid_protocol&&C.protocols.indexOf(I)===-1)return!1}else{if(C.require_protocol)return!1;if(_.slice(0,2)==="//"){if(!C.allow_protocol_relative_urls)return!1;V[0]=_.slice(2)}}if(_=V.join("://"),_==="")return!1;if(V=_.split("/"),_=V.shift(),_===""&&!C.require_host)return!0;if(V=_.split("@"),V.length>1){if(C.disallow_auth||V[0]===""||(M=V.shift(),M.indexOf(":")>=0&&M.split(":").length>2))return!1;var se=M.split(":"),me=o(se,2),fe=me[0],le=me[1];if(fe===""&&le==="")return!1}B=V.join("@"),F=null,ie=null;var ye=B.match(b);if(ye?($="",ie=ye[1],F=ye[2]||null):(V=B.split(":"),$=V.shift(),V.length&&(F=V.join(":"))),F!==null&&F.length>0){if(j=parseInt(F,10),!/^[0-9]+$/.test(F)||j<=0||j>65535)return!1}else if(C.require_port)return!1;return C.host_whitelist?x($,C.host_whitelist):$===""&&!C.require_host?!0:!(!(0,i.default)($)&&!(0,r.default)($,C)&&(!ie||!(0,i.default)(ie,6))||($=$||ie,C.host_blacklist&&x($,C.host_blacklist)))}e.exports=t.default,e.exports.default=t.default})(s$,s$.exports);var pot=s$.exports,a$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var n=r(gn);function r(f){return f&&f.__esModule?f:{default:f}}var i=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/,s=/^([0-9a-fA-F]){12}$/,a=/^([0-9a-fA-F]{4}\.){2}([0-9a-fA-F]{4})$/,o=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){6}([0-9a-fA-F]{2})$/,l=/^([0-9a-fA-F]){16}$/,c=/^([0-9a-fA-F]{4}\.){3}([0-9a-fA-F]{4})$/;function d(f,p){return(0,n.default)(f),p!=null&&p.eui&&(p.eui=String(p.eui)),p!=null&&p.no_colons||p!=null&&p.no_separators?p.eui==="48"?s.test(f):p.eui==="64"?l.test(f):s.test(f)||l.test(f):(p==null?void 0:p.eui)==="48"?i.test(f)||a.test(f):(p==null?void 0:p.eui)==="64"?o.test(f)||c.test(f):d(f,{eui:"48"})||d(f,{eui:"64"})}e.exports=t.default,e.exports.default=t.default})(a$,a$.exports);var mot=a$.exports,o$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=i(gn),r=i(GD);function i(c){return c&&c.__esModule?c:{default:c}}var s=/^\d{1,3}$/,a=32,o=128;function l(c){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(0,n.default)(c);var f=c.split("/");if(f.length!==2||!s.test(f[1])||f[1].length>1&&f[1].startsWith("0"))return!1;var p=(0,r.default)(f[0],d);if(!p)return!1;var g=null;switch(String(d)){case"4":g=a;break;case"6":g=o;break;default:g=(0,r.default)(f[0],"6")?o:a}return f[1]<=g&&f[1]>=0}e.exports=t.default,e.exports.default=t.default})(o$,o$.exports);var got=o$.exports,l$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var n=r(Au);function r(w){return w&&w.__esModule?w:{default:w}}function i(w,x){return o(w)||a(w,x)||c(w,x)||s()}function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +`,o=s+a.length;n.update((l,c)=>{l.content.edit(i,s,a),c.set({selection:l.content.indexRangeToPosRange([o,o])})}),t.dispatch({changes:{from:i,to:s,insert:a},selection:{anchor:o}})},Yat=(e,t)=>Sn.domEventHandlers({paste(n,r){var i,s;!((i=n.clipboardData)!=null&&i.files)||((s=n.clipboardData)==null?void 0:s.files.length)==0||Nie(n.clipboardData.files,e).then(a=>a.forEach(o=>Pie(o,r,t)))},drop(n,r){var i,s;!((i=n.dataTransfer)!=null&&i.files)||((s=n.dataTransfer)==null?void 0:s.files.length)==0||Nie(n.dataTransfer.files,e).then(a=>a.forEach(o=>Pie(o,r,t)))}});class Zat{constructor(t,n){this.left=t,this.right=n}}const Rb=(e,t)=>new Zat(e,t),Xat=(e,t)=>e.forEach(n=>t(n.left,n.right)),Bp=typeof document<"u"?document:{},Kat=e=>Bp.createElement(e),Jat=()=>Bp.createDocumentFragment(),eot=e=>Bp.createTextNode(e);typeof DOMParser<"u"&&new DOMParser;const tot=(e,t)=>(Xat(t,(n,r)=>{r===!1?e.removeAttribute(n):r===!0?e.setAttribute(n,""):e.setAttribute(n,r)}),e),not=e=>{const t=Jat();for(let n=0;n(wye(e,not(t)),e),cR=(e,t=[],n=[])=>rot(tot(Kat(e),t),n),t3=eot,wye=(e,t)=>e.appendChild(t);Bp.ELEMENT_NODE;Bp.TEXT_NODE;Bp.CDATA_SECTION_NODE;Bp.COMMENT_NODE;Bp.DOCUMENT_NODE;Bp.DOCUMENT_TYPE_NODE;Bp.DOCUMENT_FRAGMENT_NODE;const iot="yorkie-intelligence-header",OI="yorkie-intelligence-footer";class Lie extends Sh{constructor(n,r,i){super();Qa(this,"id");Qa(this,"content");Qa(this,"selectionRange");this.id=n,this.content=r,this.selectionRange=i}toDOM(){return cR("span",[Rb("id",this.id),Rb("content",this.content),Rb("style","position: relaitve;")])}eq(n){return n.selectionRange===this.selectionRange}compare(n){return n.selectionRange===this.selectionRange}updateDOM(){return!1}get estimatedHeight(){return-1}ignoreEvent(){return!0}}class sot{constructor(){Qa(this,"decorations");this.decorations=Ci.of([])}update(t){const n=[],r=t.state.selection.main;if((r==null?void 0:r.from)!==(r==null?void 0:r.to)&&r){const s=t.state.sliceDoc(r.from,r.to);n.push({from:r.from,to:r.from,value:Kn.widget({side:1,block:!1,widget:new Lie(iot,s,r)})}),n.push({from:r.to,to:r.to,value:Kn.widget({side:1,block:!1,widget:new Lie(OI,s,r)})})}this.decorations=Kn.set(n,!0)}}const aot=pa.fromClass(sot,{decorations:e=>e.decorations});var jF={exports:{}},WF={exports:{}},QF={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;function n(i){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},n(i)}function r(i){var s=typeof i=="string"||i instanceof String;if(!s){var a=n(i);throw i===null?a="null":a==="object"&&(a=i.constructor.name),new TypeError("Expected a string but received a ".concat(a))}}e.exports=t.default,e.exports.default=t.default})(QF,QF.exports);var gn=QF.exports;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s){return(0,n.default)(s),s=Date.parse(s),isNaN(s)?null:new Date(s)}e.exports=t.default,e.exports.default=t.default})(WF,WF.exports);var bj=WF.exports,VF={exports:{}},YE={},oa={};Object.defineProperty(oa,"__esModule",{value:!0});oa.farsiLocales=oa.englishLocales=oa.dotDecimal=oa.decimal=oa.commaDecimal=oa.bengaliLocales=oa.arabicLocales=oa.alphanumeric=oa.alpha=void 0;var fc=oa.alpha={"en-US":/^[A-Z]+$/i,"az-AZ":/^[A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[А-Я]+$/i,"cs-CZ":/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ώ]+$/i,"es-ES":/^[A-ZÁÉÍÑÓÚÜ]+$/i,"fa-IR":/^[ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهی]+$/i,"fi-FI":/^[A-ZÅÄÖ]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"ja-JP":/^[ぁ-んァ-ヶヲ-゚一-龠ー・。、]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[А-ЯЁ]+$/i,"kk-KZ":/^[А-ЯЁ\u04D8\u04B0\u0406\u04A2\u0492\u04AE\u049A\u04E8\u04BA]+$/i,"sl-SI":/^[A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๐\s]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[А-ЩЬЮЯЄIЇҐі]+$/i,"vi-VN":/^[A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,"ko-KR":/^[ㄱ-ㅎㅏ-ㅣ가-힣]*$/,"ku-IQ":/^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[א-ת]+$/,fa:/^['آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی']+$/i,bn:/^['ঀঁংঃঅআইঈউঊঋঌএঐওঔকখগঘঙচছজঝঞটঠডঢণতথদধনপফবভমযরলশষসহ়ঽািীুূৃৄেৈোৌ্ৎৗড়ঢ়য়ৠৡৢৣৰৱ৲৳৴৵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sr-RS":/^[0-9А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๙\s]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9А-ЩЬЮЯЄIЇҐі]+$/i,"ko-KR":/^[0-9ㄱ-ㅎㅏ-ㅣ가-힣]*$/,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,"vi-VN":/^[0-9A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[0-9א-ת]+$/,fa:/^['0-9آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی۱۲۳۴۵۶۷۸۹۰']+$/i,bn:/^['ঀঁংঃঅআইঈউঊঋঌএঐওঔকখগঘঙচছজঝঞটঠডঢণতথদধনপফবভমযরলশষসহ়ঽািীুূৃৄেৈোৌ্ৎৗড়ঢ়য়ৠৡৢৣ০১২৩৪৫৬৭৮৯ৰৱ৲৳৴৵৶৷৸৹৺৻']+$/,eo:/^[0-9ABCĈD-GĜHĤIJĴK-PRSŜTUŬVZ]+$/i,"hi-IN":/^[\u0900-\u0963]+[\u0966-\u097F]*$/i,"si-LK":/^[0-9\u0D80-\u0DFF]+$/},xu=oa.decimal={"en-US":".",ar:"٫"},Mie=oa.englishLocales=["AU","GB","HK","IN","NZ","ZA","ZM"];for(var n3,wL=0;wL=t.min)&&(!t.hasOwnProperty("max")||r<=t.max)&&(!t.hasOwnProperty("lt")||rt.gt)}YE.locales=Object.keys(xye.decimal);(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(YE);function r(s){return s&&s.__esModule?s:{default:s}}function i(s){return(0,n.default)(s)?parseFloat(s):NaN}e.exports=t.default,e.exports.default=t.default})(VF,VF.exports);var Tye=VF.exports,GF={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s,a){return(0,n.default)(s),parseInt(s,a||10)}e.exports=t.default,e.exports.default=t.default})(GF,GF.exports);var cot=GF.exports,YF={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s,a){return(0,n.default)(s),a?s==="1"||/^true$/i.test(s):s!=="0"&&!/^false$/i.test(s)&&s!==""}e.exports=t.default,e.exports.default=t.default})(YF,YF.exports);var dot=YF.exports,ZF={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s,a){return(0,n.default)(s),s===a}e.exports=t.default,e.exports.default=t.default})(ZF,ZF.exports);var fot=ZF.exports,XF={exports:{}},KF={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;function n(i){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},n(i)}function r(i){return n(i)==="object"&&i!==null?typeof i.toString=="function"?i=i.toString():i="[object Object]":(i===null||typeof i>"u"||isNaN(i)&&!i.length)&&(i=""),String(i)}e.exports=t.default,e.exports.default=t.default})(KF,KF.exports);var kye=KF.exports,JF={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;for(var s in i)typeof r[s]>"u"&&(r[s]=i[s]);return r}e.exports=t.default,e.exports.default=t.default})(JF,JF.exports);var Au=JF.exports;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=s(gn),r=s(kye),i=s(Au);function s(l){return l&&l.__esModule?l:{default:l}}var a={ignoreCase:!1,minOccurrences:1};function o(l,c,d){return(0,n.default)(l),d=(0,i.default)(d,a),d.ignoreCase?l.toLowerCase().split((0,r.default)(c).toLowerCase()).length>d.minOccurrences:l.split((0,r.default)(c)).length>d.minOccurrences}e.exports=t.default,e.exports.default=t.default})(XF,XF.exports);var hot=XF.exports,e$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s,a,o){return(0,n.default)(s),Object.prototype.toString.call(a)!=="[object RegExp]"&&(a=new RegExp(a,o)),!!s.match(a)}e.exports=t.default,e.exports.default=t.default})(e$,e$.exports);var pot=e$.exports,t$={exports:{}},n$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}function i(a){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},i(a)}function s(a,o){(0,n.default)(a);var l,c;i(o)==="object"?(l=o.min||0,c=o.max):(l=arguments[1],c=arguments[2]);var d=encodeURI(a).split(/%..|./).length-1;return d>=l&&(typeof c>"u"||d<=c)}e.exports=t.default,e.exports.default=t.default})(n$,n$.exports);var _ye=n$.exports,r$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=i(gn),r=i(Au);function i(o){return o&&o.__esModule?o:{default:o}}var s={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};function a(o,l){(0,n.default)(o),l=(0,r.default)(l,s),l.allow_trailing_dot&&o[o.length-1]==="."&&(o=o.substring(0,o.length-1)),l.allow_wildcard===!0&&o.indexOf("*.")===0&&(o=o.substring(2));var c=o.split("."),d=c[c.length-1];return l.require_tld&&(c.length<2||!l.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(d)||/\s/.test(d))||!l.allow_numeric_tld&&/^\d+$/.test(d)?!1:c.every(function(f){return!(f.length>63&&!l.ignore_max_length||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(f)||/[\uff01-\uff5e]/.test(f)||/^-|-$/.test(f)||!l.allow_underscores&&/_/.test(f))})}e.exports=t.default,e.exports.default=t.default})(r$,r$.exports);var yj=r$.exports,i$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var n=r(gn);function r(d){return d&&d.__esModule?d:{default:d}}var i="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",s="(".concat(i,"[.]){3}").concat(i),a=new RegExp("^".concat(s,"$")),o="(?:[0-9a-fA-F]{1,4})",l=new RegExp("^("+"(?:".concat(o,":){7}(?:").concat(o,"|:)|")+"(?:".concat(o,":){6}(?:").concat(s,"|:").concat(o,"|:)|")+"(?:".concat(o,":){5}(?::").concat(s,"|(:").concat(o,"){1,2}|:)|")+"(?:".concat(o,":){4}(?:(:").concat(o,"){0,1}:").concat(s,"|(:").concat(o,"){1,3}|:)|")+"(?:".concat(o,":){3}(?:(:").concat(o,"){0,2}:").concat(s,"|(:").concat(o,"){1,4}|:)|")+"(?:".concat(o,":){2}(?:(:").concat(o,"){0,3}:").concat(s,"|(:").concat(o,"){1,5}|:)|")+"(?:".concat(o,":){1}(?:(:").concat(o,"){0,4}:").concat(s,"|(:").concat(o,"){1,6}|:)|")+"(?::((?::".concat(o,"){0,5}:").concat(s,"|(?::").concat(o,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");function c(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(0,n.default)(d),f=String(f),f?f==="4"?a.test(d):f==="6"?l.test(d):!1:c(d,4)||c(d,6)}e.exports=t.default,e.exports.default=t.default})(i$,i$.exports);var GD=i$.exports;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=T;var n=o(gn),r=o(_ye),i=o(yj),s=o(GD),a=o(Au);function o(_){return _&&_.__esModule?_:{default:_}}var l={allow_display_name:!1,allow_underscores:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[],host_whitelist:[]},c=/^([^\x00-\x1F\x7F-\x9F\cX]+)]/.test(C);if(I){if(C===_)return!1;var M=C.split('"').length===C.split('\\"').length;if(!M)return!1}return!0}function T(_,C){if((0,n.default)(_),C=(0,a.default)(C,l),C.require_display_name||C.allow_display_name){var I=_.match(c);if(I){var M=I[1];if(_=_.replace(M,"").replace(/(^<|>$)/g,""),M.endsWith(" ")&&(M=M.slice(0,-1)),!x(M))return!1}else if(C.require_display_name)return!1}if(!C.ignore_max_length&&_.length>w)return!1;var $=_.split("@"),B=$.pop(),j=B.toLowerCase();if(C.host_blacklist.includes(j)||C.host_whitelist.length>0&&!C.host_whitelist.includes(j))return!1;var F=$.join("@");if(C.domain_specific_validation&&(j==="gmail.com"||j==="googlemail.com")){F=F.toLowerCase();var V=F.split("+")[0];if(!(0,r.default)(V.replace(/\./g,""),{min:6,max:30}))return!1;for(var ie=V.split("."),se=0;se_.length)&&(C=_.length);for(var I=0,M=new Array(C);I]/.test(_)||_.indexOf("mailto:")===0||(C=(0,s.default)(C,g),C.validate_length&&_.length>=2083)||!C.allow_fragments&&_.includes("#")||!C.allow_query_components&&(_.includes("?")||_.includes("&")))return!1;var I,M,$,B,j,F,V,ie;if(V=_.split("#"),_=V.shift(),V=_.split("?"),_=V.shift(),V=_.split("://"),V.length>1){if(I=V.shift().toLowerCase(),C.require_valid_protocol&&C.protocols.indexOf(I)===-1)return!1}else{if(C.require_protocol)return!1;if(_.slice(0,2)==="//"){if(!C.allow_protocol_relative_urls)return!1;V[0]=_.slice(2)}}if(_=V.join("://"),_==="")return!1;if(V=_.split("/"),_=V.shift(),_===""&&!C.require_host)return!0;if(V=_.split("@"),V.length>1){if(C.disallow_auth||V[0]===""||(M=V.shift(),M.indexOf(":")>=0&&M.split(":").length>2))return!1;var se=M.split(":"),me=o(se,2),fe=me[0],le=me[1];if(fe===""&&le==="")return!1}B=V.join("@"),F=null,ie=null;var ye=B.match(b);if(ye?($="",ie=ye[1],F=ye[2]||null):(V=B.split(":"),$=V.shift(),V.length&&(F=V.join(":"))),F!==null&&F.length>0){if(j=parseInt(F,10),!/^[0-9]+$/.test(F)||j<=0||j>65535)return!1}else if(C.require_port)return!1;return C.host_whitelist?x($,C.host_whitelist):$===""&&!C.require_host?!0:!(!(0,i.default)($)&&!(0,r.default)($,C)&&(!ie||!(0,i.default)(ie,6))||($=$||ie,C.host_blacklist&&x($,C.host_blacklist)))}e.exports=t.default,e.exports.default=t.default})(s$,s$.exports);var mot=s$.exports,a$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var n=r(gn);function r(f){return f&&f.__esModule?f:{default:f}}var i=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/,s=/^([0-9a-fA-F]){12}$/,a=/^([0-9a-fA-F]{4}\.){2}([0-9a-fA-F]{4})$/,o=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){6}([0-9a-fA-F]{2})$/,l=/^([0-9a-fA-F]){16}$/,c=/^([0-9a-fA-F]{4}\.){3}([0-9a-fA-F]{4})$/;function d(f,p){return(0,n.default)(f),p!=null&&p.eui&&(p.eui=String(p.eui)),p!=null&&p.no_colons||p!=null&&p.no_separators?p.eui==="48"?s.test(f):p.eui==="64"?l.test(f):s.test(f)||l.test(f):(p==null?void 0:p.eui)==="48"?i.test(f)||a.test(f):(p==null?void 0:p.eui)==="64"?o.test(f)||c.test(f):d(f,{eui:"48"})||d(f,{eui:"64"})}e.exports=t.default,e.exports.default=t.default})(a$,a$.exports);var got=a$.exports,o$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=i(gn),r=i(GD);function i(c){return c&&c.__esModule?c:{default:c}}var s=/^\d{1,3}$/,a=32,o=128;function l(c){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(0,n.default)(c);var f=c.split("/");if(f.length!==2||!s.test(f[1])||f[1].length>1&&f[1].startsWith("0"))return!1;var p=(0,r.default)(f[0],d);if(!p)return!1;var g=null;switch(String(d)){case"4":g=a;break;case"6":g=o;break;default:g=(0,r.default)(f[0],"6")?o:a}return f[1]<=g&&f[1]>=0}e.exports=t.default,e.exports.default=t.default})(o$,o$.exports);var bot=o$.exports,l$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=b;var n=r(Au);function r(w){return w&&w.__esModule?w:{default:w}}function i(w,x){return o(w)||a(w,x)||c(w,x)||s()}function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(w,x){var T=w==null?null:typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(T!=null){var _,C,I,M,$=[],B=!0,j=!1;try{if(I=(T=T.call(w)).next,x!==0)for(;!(B=(_=I.call(T)).done)&&($.push(_.value),$.length!==x);B=!0);}catch(F){j=!0,C=F}finally{try{if(!B&&T.return!=null&&(M=T.return(),Object(M)!==M))return}finally{if(j)throw C}}return $}}function o(w){if(Array.isArray(w))return w}function l(w,x){var T=typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(!T){if(Array.isArray(w)||(T=c(w))||x){T&&(w=T);var _=0,C=function(){};return{s:C,n:function(){return _>=w.length?{done:!0}:{done:!1,value:w[_++]}},e:function(j){throw j},f:C}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var I=!0,M=!1,$;return{s:function(){T=T.call(w)},n:function(){var j=T.next();return I=j.done,j},e:function(j){M=!0,$=j},f:function(){try{!I&&T.return!=null&&T.return()}finally{if(M)throw $}}}}function c(w,x){if(w){if(typeof w=="string")return d(w,x);var T=Object.prototype.toString.call(w).slice(8,-1);if(T==="Object"&&w.constructor&&(T=w.constructor.name),T==="Map"||T==="Set")return Array.from(w);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return d(w,x)}}function d(w,x){(x==null||x>w.length)&&(x=w.length);for(var T=0,_=new Array(x);T1&&arguments[1]!==void 0?arguments[1]:i;return(0,n.default)(l),c.loose?a.includes(l.toLowerCase()):s.includes(l)}e.exports=t.default,e.exports.default=t.default})(c$,c$.exports);var yot=c$.exports,d$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;var n=r(gn);function r(C){return C&&C.__esModule?C:{default:C}}var i="([A-Za-z]{3}(-[A-Za-z]{3}){0,2})",s="(([a-zA-Z]{2,3}(-".concat(i,")?)|([a-zA-Z]{5,8}))"),a="([A-Za-z]{4})",o="([A-Za-z]{2}|\\d{3})",l="([A-Za-z0-9]{5,8}|(\\d[A-Z-a-z0-9]{3}))",c="(\\d|[A-W]|[Y-Z]|[a-w]|[y-z])",d="(".concat(c,"(-[A-Za-z0-9]{2,8})+)"),f="(x(-[A-Za-z0-9]{1,8})+)",p="((en-GB-oed)|(i-ami)|(i-bnn)|(i-default)|(i-enochian)|(i-hak)|(i-klingon)|(i-lux)|(i-mingo)|(i-navajo)|(i-pwn)|(i-tao)|(i-tay)|(i-tsu)|(sgn-BE-FR)|(sgn-BE-NL)|(sgn-CH-DE))",g="((art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang))",b="(".concat(p,"|").concat(g,")"),w="(-|_)",x="".concat(s,"(").concat(w).concat(a,")?(").concat(w).concat(o,")?(").concat(w).concat(l,")*(").concat(w).concat(d,")*(").concat(w).concat(f,")?"),T=new RegExp("(^".concat(f,"$)|(^").concat(b,"$)|(^").concat(x,"$)"));function _(C){return(0,n.default)(C),T.test(C)}e.exports=t.default,e.exports.default=t.default})(d$,d$.exports);var vot=d$.exports,f$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/^(?!(1[3-9])|(20)|(3[3-9])|(4[0-9])|(5[0-9])|(60)|(7[3-9])|(8[1-9])|(9[0-2])|(9[3-9]))[0-9]{9}$/;function s(a){if((0,n.default)(a),!i.test(a))return!1;for(var o=0,l=0;l1&&arguments[1]!==void 0?arguments[1]:"en-US",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};(0,Oot.default)(e);var r=e,i=n.ignore;if(i)if(i instanceof RegExp)r=r.replace(i,"");else if(typeof i=="string")r=r.replace(new RegExp("[".concat(i.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"");else throw new Error("ignore should be instance of a String or RegExp");if(t in h$.alpha)return h$.alpha[t].test(r);throw new Error("Invalid locale '".concat(t,"'"))}dA.locales=Object.keys(h$.alpha);var fA={};Object.defineProperty(fA,"__esModule",{value:!0});fA.default=kot;fA.locales=void 0;var xot=Tot(gn),p$=oa;function Tot(e){return e&&e.__esModule?e:{default:e}}function kot(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"en-US",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};(0,xot.default)(e);var r=e,i=n.ignore;if(i)if(i instanceof RegExp)r=r.replace(i,"");else if(typeof i=="string")r=r.replace(new RegExp("[".concat(i.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"");else throw new Error("ignore should be instance of a String or RegExp");if(t in p$.alphanumeric)return p$.alphanumeric[t].test(r);throw new Error("Invalid locale '".concat(t,"'"))}fA.locales=Object.keys(p$.alphanumeric);var m$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=i(gn),r=oa;function i(o){return o&&o.__esModule?o:{default:o}}var s=/^[0-9]+$/;function a(o,l){return(0,n.default)(o),l&&l.no_symbols?s.test(o):new RegExp("^[+-]?([0-9]*[".concat((l||{}).locale?r.decimal[l.locale]:".","])?[0-9]+$")).test(o)}e.exports=t.default,e.exports.default=t.default})(m$,m$.exports);var _ot=m$.exports,g$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i={AM:/^[A-Z]{2}\d{7}$/,AR:/^[A-Z]{3}\d{6}$/,AT:/^[A-Z]\d{7}$/,AU:/^[A-Z]\d{7}$/,AZ:/^[A-Z]{1}\d{8}$/,BE:/^[A-Z]{2}\d{6}$/,BG:/^\d{9}$/,BR:/^[A-Z]{2}\d{6}$/,BY:/^[A-Z]{2}\d{7}$/,CA:/^[A-Z]{2}\d{6}$/,CH:/^[A-Z]\d{7}$/,CN:/^G\d{8}$|^E(?![IO])[A-Z0-9]\d{7}$/,CY:/^[A-Z](\d{6}|\d{8})$/,CZ:/^\d{8}$/,DE:/^[CFGHJKLMNPRTVWXYZ0-9]{9}$/,DK:/^\d{9}$/,DZ:/^\d{9}$/,EE:/^([A-Z]\d{7}|[A-Z]{2}\d{7})$/,ES:/^[A-Z0-9]{2}([A-Z0-9]?)\d{6}$/,FI:/^[A-Z]{2}\d{7}$/,FR:/^\d{2}[A-Z]{2}\d{5}$/,GB:/^\d{9}$/,GR:/^[A-Z]{2}\d{7}$/,HR:/^\d{9}$/,HU:/^[A-Z]{2}(\d{6}|\d{7})$/,IE:/^[A-Z0-9]{2}\d{7}$/,IN:/^[A-Z]{1}-?\d{7}$/,ID:/^[A-C]\d{7}$/,IR:/^[A-Z]\d{8}$/,IS:/^(A)\d{7}$/,IT:/^[A-Z0-9]{2}\d{7}$/,JM:/^[Aa]\d{7}$/,JP:/^[A-Z]{2}\d{7}$/,KR:/^[MS]\d{8}$/,KZ:/^[a-zA-Z]\d{7}$/,LI:/^[a-zA-Z]\d{5}$/,LT:/^[A-Z0-9]{8}$/,LU:/^[A-Z0-9]{8}$/,LV:/^[A-Z0-9]{2}\d{7}$/,LY:/^[A-Z0-9]{8}$/,MT:/^\d{7}$/,MZ:/^([A-Z]{2}\d{7})|(\d{2}[A-Z]{2}\d{5})$/,MY:/^[AHK]\d{8}$/,MX:/^\d{10,11}$/,NL:/^[A-Z]{2}[A-Z0-9]{6}\d$/,NZ:/^([Ll]([Aa]|[Dd]|[Ff]|[Hh])|[Ee]([Aa]|[Pp])|[Nn])\d{6}$/,PH:/^([A-Z](\d{6}|\d{7}[A-Z]))|([A-Z]{2}(\d{6}|\d{7}))$/,PK:/^[A-Z]{2}\d{7}$/,PL:/^[A-Z]{2}\d{7}$/,PT:/^[A-Z]\d{6}$/,RO:/^\d{8,9}$/,RU:/^\d{9}$/,SE:/^\d{8}$/,SL:/^(P)[A-Z]\d{7}$/,SK:/^[0-9A-Z]\d{7}$/,TH:/^[A-Z]{1,2}\d{6,7}$/,TR:/^[A-Z]\d{8}$/,UA:/^[A-Z]{2}\d{6}$/,US:/^\d{9}$/,ZA:/^[TAMD]\d{8}$/};function s(a,o){(0,n.default)(a);var l=a.replace(/\s/g,"").toUpperCase();return o.toUpperCase()in i&&i[o].test(l)}e.exports=t.default,e.exports.default=t.default})(g$,g$.exports);var Aot=g$.exports,b$={exports:{}},y$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=r(gn);function r(o){return o&&o.__esModule?o:{default:o}}var i=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,s=/^[-+]?[0-9]+$/;function a(o,l){(0,n.default)(o),l=l||{};var c=l.allow_leading_zeroes===!1?i:s,d=!l.hasOwnProperty("min")||o>=l.min,f=!l.hasOwnProperty("max")||o<=l.max,p=!l.hasOwnProperty("lt")||ol.gt;return c.test(o)&&d&&f&&p&&g}e.exports=t.default,e.exports.default=t.default})(y$,y$.exports);var vj=y$.exports;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(vj);function r(s){return s&&s.__esModule?s:{default:s}}function i(s){return(0,n.default)(s,{allow_leading_zeroes:!1,min:0,max:65535})}e.exports=t.default,e.exports.default=t.default})(b$,b$.exports);var Cot=b$.exports,v$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s){return(0,n.default)(s),s===s.toLowerCase()}e.exports=t.default,e.exports.default=t.default})(v$,v$.exports);var Rot=v$.exports,S$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s){return(0,n.default)(s),s===s.toUpperCase()}e.exports=t.default,e.exports.default=t.default})(S$,S$.exports);var Iot=S$.exports,O$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=r(gn);function r(o){return o&&o.__esModule?o:{default:o}}var i=/^[0-9]{15}$/,s=/^\d{2}-\d{6}-\d{6}-\d{1}$/;function a(o,l){(0,n.default)(o),l=l||{};var c=i;if(l.allow_hyphens&&(c=s),!c.test(o))return!1;o=o.replace(/-/g,"");for(var d=0,f=2,p=14,g=0;g=10?d+=w%10+1:d+=w,f===1?f+=1:f-=1}var x=(10-d%10)%10;return x===parseInt(o.substring(14,15),10)}e.exports=t.default,e.exports.default=t.default})(O$,O$.exports);var Dot=O$.exports,E$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/^[\x00-\x7F]+$/;function s(a){return(0,n.default)(a),i.test(a)}e.exports=t.default,e.exports.default=t.default})(E$,E$.exports);var Not=E$.exports,ZE={};Object.defineProperty(ZE,"__esModule",{value:!0});ZE.default=Fot;ZE.fullWidth=void 0;var Pot=Lot(gn);function Lot(e){return e&&e.__esModule?e:{default:e}}var Mot=ZE.fullWidth=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;function Fot(e){return(0,Pot.default)(e),Mot.test(e)}var XE={};Object.defineProperty(XE,"__esModule",{value:!0});XE.default=zot;XE.halfWidth=void 0;var $ot=Bot(gn);function Bot(e){return e&&e.__esModule?e:{default:e}}var Uot=XE.halfWidth=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;function zot(e){return(0,$ot.default)(e),Uot.test(e)}var w$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=s(gn),r=ZE,i=XE;function s(o){return o&&o.__esModule?o:{default:o}}function a(o){return(0,n.default)(o),r.fullWidth.test(o)&&i.halfWidth.test(o)}e.exports=t.default,e.exports.default=t.default})(w$,w$.exports);var Hot=w$.exports,x$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/[^\x00-\x7F]/;function s(a){return(0,n.default)(a),i.test(a)}e.exports=t.default,e.exports.default=t.default})(x$,x$.exports);var qot=x$.exports,T$={exports:{}},k$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r,i){var s=r.join("");return new RegExp(s,i)}e.exports=t.default,e.exports.default=t.default})(k$,k$.exports);var jot=k$.exports;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=i(gn),r=i(jot);function i(o){return o&&o.__esModule?o:{default:o}}var s=(0,r.default)(["^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)","(?:-((?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*))*))","?(?:\\+([0-9a-z-]+(?:\\.[0-9a-z-]+)*))?$"],"i");function a(o){return(0,n.default)(o),s.test(o)}e.exports=t.default,e.exports.default=t.default})(T$,T$.exports);var Wot=T$.exports,_$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;function s(a){return(0,n.default)(a),i.test(a)}e.exports=t.default,e.exports.default=t.default})(_$,_$.exports);var Qot=_$.exports,A$={exports:{}},C$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(i,s){return i.some(function(a){return s===a})};t.default=n,e.exports=t.default,e.exports.default=t.default})(C$,C$.exports);var Vot=C$.exports;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var n=a(Au),r=a(gn),i=a(Vot),s=oa;function a(f){return f&&f.__esModule?f:{default:f}}function o(f){var p=new RegExp("^[-+]?([0-9]+)?(\\".concat(s.decimal[f.locale],"[0-9]{").concat(f.decimal_digits,"})").concat(f.force_decimal?"":"?","$"));return p}var l={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},c=["","-","+"];function d(f,p){if((0,r.default)(f),p=(0,n.default)(p,l),p.locale in s.decimal)return!(0,i.default)(c,f.replace(/ /g,""))&&o(p).test(f);throw new Error("Invalid locale '".concat(p.locale,"'"))}e.exports=t.default,e.exports.default=t.default})(A$,A$.exports);var Got=A$.exports,R$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/^(0x|0h)?[0-9A-F]+$/i;function s(a){return(0,n.default)(a),i.test(a)}e.exports=t.default,e.exports.default=t.default})(R$,R$.exports);var Cye=R$.exports,I$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/^(0o)?[0-7]+$/i;function s(a){return(0,n.default)(a),i.test(a)}e.exports=t.default,e.exports.default=t.default})(I$,I$.exports);var Yot=I$.exports,D$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=i(gn),r=i(xye);function i(a){return a&&a.__esModule?a:{default:a}}function s(a,o){return(0,n.default)(a),(0,r.default)(a)%parseInt(o,10)===0}e.exports=t.default,e.exports.default=t.default})(D$,D$.exports);var Zot=D$.exports,N$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;function s(a){return(0,n.default)(a),i.test(a)}e.exports=t.default,e.exports.default=t.default})(N$,N$.exports);var Xot=N$.exports,P$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=r(gn);function r(c){return c&&c.__esModule?c:{default:c}}var i=/^rgb\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){2}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\)$/,s=/^rgba\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/,a=/^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9]%|100%)\)$/,o=/^rgba\((([0-9]%|[1-9][0-9]%|100%),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/;function l(c){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,n.default)(c),d?i.test(c)||s.test(c)||a.test(c)||o.test(c):i.test(c)||s.test(c)}e.exports=t.default,e.exports.default=t.default})(P$,P$.exports);var Kot=P$.exports,L$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=r(gn);function r(o){return o&&o.__esModule?o:{default:o}}var i=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(,(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}(,((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?))?\)$/i,s=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(\s(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s?(\/\s((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s?)?\)$/i;function a(o){(0,n.default)(o);var l=o.replace(/\s+/g," ").replace(/\s?(hsla?\(|\)|,)\s?/ig,"$1");return l.indexOf(",")!==-1?i.test(l):s.test(l)}e.exports=t.default,e.exports.default=t.default})(L$,L$.exports);var Jot=L$.exports,M$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;function s(a){return(0,n.default)(a),i.test(a)}e.exports=t.default,e.exports.default=t.default})(M$,M$.exports);var elt=M$.exports,hA={};Object.defineProperty(hA,"__esModule",{value:!0});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(PT[0-9]{2})\d{21}$/,QA:/^(QA[0-9]{2})[A-Z]{4}[A-Z0-9]{21}$/,RO:/^(RO[0-9]{2})[A-Z]{4}[A-Z0-9]{16}$/,RS:/^(RS[0-9]{2})\d{18}$/,SA:/^(SA[0-9]{2})\d{2}[A-Z0-9]{18}$/,SC:/^(SC[0-9]{2})[A-Z]{4}\d{20}[A-Z]{3}$/,SE:/^(SE[0-9]{2})\d{20}$/,SI:/^(SI[0-9]{2})\d{15}$/,SK:/^(SK[0-9]{2})\d{20}$/,SM:/^(SM[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,SV:/^(SV[0-9]{2})[A-Z0-9]{4}\d{20}$/,TL:/^(TL[0-9]{2})\d{19}$/,TN:/^(TN[0-9]{2})\d{20}$/,TR:/^(TR[0-9]{2})\d{5}[A-Z0-9]{17}$/,UA:/^(UA[0-9]{2})\d{6}[A-Z0-9]{19}$/,VA:/^(VA[0-9]{2})\d{18}$/,VG:/^(VG[0-9]{2})[A-Z0-9]{4}\d{16}$/,XK:/^(XK[0-9]{2})\d{16}$/};function rlt(e){var t=e.filter(function(n){return!(n in EI)});return!(t.length>0)}function ilt(e,t){var n=e.replace(/[\s\-]+/gi,"").toUpperCase(),r=n.slice(0,2).toUpperCase(),i=r in EI;if(t.whitelist){if(!rlt(t.whitelist))return!1;var s=t.whitelist.includes(r);if(!s)return!1}if(t.blacklist){var a=t.blacklist.includes(r);if(a)return!1}return i&&EI[r].test(n)}function slt(e){var t=e.replace(/[^A-Z0-9]+/gi,"").toUpperCase(),n=t.slice(4)+t.slice(0,4),r=n.replace(/[A-Z]/g,function(s){return s.charCodeAt(0)-55}),i=r.match(/\d{1,7}/g).reduce(function(s,a){return Number(s+a)%97},"");return i===1}function alt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,tlt.default)(e),ilt(e,t)&&slt(e)}hA.locales=Object.keys(EI);var F$={exports:{}},KE={};Object.defineProperty(KE,"__esModule",{value:!0});KE.CountryCodes=void 0;KE.default=ult;var olt=llt(gn);function llt(e){return e&&e.__esModule?e:{default:e}}var Rye=new Set(["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]);function ult(e){return(0,olt.default)(e),Rye.has(e.toUpperCase())}KE.CountryCodes=Rye;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=i(gn),r=KE;function i(o){return o&&o.__esModule?o:{default:o}}var s=/^[A-Za-z]{6}[A-Za-z0-9]{2}([A-Za-z0-9]{3})?$/;function a(o){(0,n.default)(o);var l=o.slice(4,6).toUpperCase();return!r.CountryCodes.has(l)&&l!=="XK"?!1:s.test(o)}e.exports=t.default,e.exports.default=t.default})(F$,F$.exports);var clt=F$.exports,$$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/^[a-f0-9]{32}$/;function s(a){return(0,n.default)(a),i.test(a)}e.exports=t.default,e.exports.default=t.default})($$,$$.exports);var dlt=$$.exports,B$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};function s(a,o){(0,n.default)(a);var l=new RegExp("^[a-fA-F0-9]{".concat(i[o],"}$"));return l.test(a)}e.exports=t.default,e.exports.default=t.default})(B$,B$.exports);var flt=B$.exports,U$={exports:{}},z$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=i(gn),r=i(Au);function i(c){return c&&c.__esModule?c:{default:c}}var s=/[^A-Z0-9+\/=]/i,a=/^[A-Z0-9_\-]*$/i,o={urlSafe:!1};function l(c,d){(0,n.default)(c),d=(0,r.default)(d,o);var f=c.length;if(d.urlSafe)return a.test(c);if(f%4!==0||s.test(c))return!1;var p=c.indexOf("=");return p===-1||p===f-1||p===f-2&&c[f-1]==="="}e.exports=t.default,e.exports.default=t.default})(z$,z$.exports);var Iye=z$.exports;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=i(gn),r=i(Iye);function i(a){return a&&a.__esModule?a:{default:a}}function s(a){(0,n.default)(a);var o=a.split("."),l=o.length;return l!==3?!1:o.reduce(function(c,d){return c&&(0,r.default)(d,{urlSafe:!0})},!0)}e.exports=t.default,e.exports.default=t.default})(U$,U$.exports);var hlt=U$.exports,H$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=i(gn),r=i(Au);function i(l){return l&&l.__esModule?l:{default:l}}function s(l){"@babel/helpers - typeof";return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},s(l)}var a={allow_primitives:!1};function o(l,c){(0,n.default)(l);try{c=(0,r.default)(c,a);var d=[];c.allow_primitives&&(d=[null,!1,!0]);var f=JSON.parse(l);return d.includes(f)||!!f&&s(f)==="object"}catch{}return!1}e.exports=t.default,e.exports.default=t.default})(H$,H$.exports);var plt=H$.exports,q$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=i(gn),r=i(Au);function i(o){return o&&o.__esModule?o:{default:o}}var s={ignore_whitespace:!1};function a(o,l){return(0,n.default)(o),l=(0,r.default)(l,s),(l.ignore_whitespace?o.trim().length:o.length)===0}e.exports=t.default,e.exports.default=t.default})(q$,q$.exports);var mlt=q$.exports,j$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}function i(a){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},i(a)}function s(a,o){(0,n.default)(a);var l,c;i(o)==="object"?(l=o.min||0,c=o.max):(l=arguments[1]||0,c=arguments[2]);var d=a.match(/(\uFE0F|\uFE0E)/g)||[],f=a.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],p=a.length-d.length-f.length;return p>=l&&(typeof c>"u"||p<=c)}e.exports=t.default,e.exports.default=t.default})(j$,j$.exports);var glt=j$.exports,W$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i={1:/^[0-9A-F]{8}-[0-9A-F]{4}-1[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,2:/^[0-9A-F]{8}-[0-9A-F]{4}-2[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,7:/^[0-9A-F]{8}-[0-9A-F]{4}-7[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};function s(a,o){(0,n.default)(a);var l=i[[void 0,null].includes(o)?"all":o];return!!l&&l.test(a)}e.exports=t.default,e.exports.default=t.default})(W$,W$.exports);var blt=W$.exports,Q$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=i(gn),r=i(Cye);function i(a){return a&&a.__esModule?a:{default:a}}function s(a){return(0,n.default)(a),(0,r.default)(a)&&a.length===24}e.exports=t.default,e.exports.default=t.default})(Q$,Q$.exports);var ylt=Q$.exports,V$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(bj);function r(s){return s&&s.__esModule?s:{default:s}}function i(s,a){var o=(a==null?void 0:a.comparisonDate)||a||Date().toString(),l=(0,n.default)(o),c=(0,n.default)(s);return!!(c&&l&&c>l)}e.exports=t.default,e.exports.default=t.default})(V$,V$.exports);var vlt=V$.exports,G$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=i(gn),r=i(bj);function i(a){return a&&a.__esModule?a:{default:a}}function s(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:String(new Date);(0,n.default)(a);var l=(0,r.default)(o),c=(0,r.default)(a);return!!(c&&l&&c=0}else{if(s(l)==="object")return l.hasOwnProperty(o);if(l&&typeof l.indexOf=="function")return l.indexOf(o)>=0}return!1}e.exports=t.default,e.exports.default=t.default})(Y$,Y$.exports);var Olt=Y$.exports,Z$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s){(0,n.default)(s);for(var a=s.replace(/[- ]+/g,""),o=0,l,c,d,f=a.length-1;f>=0;f--)l=a.substring(f,f+1),c=parseInt(l,10),d?(c*=2,c>=10?o+=c%10+1:o+=c):o+=c,d=!d;return!!(o%10===0&&a)}e.exports=t.default,e.exports.default=t.default})(Z$,Z$.exports);var Dye=Z$.exports,X$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=i(gn),r=i(Dye);function i(l){return l&&l.__esModule?l:{default:l}}var s={amex:/^3[47][0-9]{13}$/,dinersclub:/^3(?:0[0-5]|[68][0-9])[0-9]{11}$/,discover:/^6(?:011|5[0-9][0-9])[0-9]{12,15}$/,jcb:/^(?:2131|1800|35\d{3})\d{11}$/,mastercard:/^5[1-5][0-9]{2}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}$/,unionpay:/^(6[27][0-9]{14}|^(81[0-9]{14,17}))$/,visa:/^(?:4[0-9]{12})(?:[0-9]{3,6})?$/},a=function(){var l=[];for(var c in s)s.hasOwnProperty(c)&&l.push(s[c]);return l}();function o(l){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,n.default)(l);var d=c.provider,f=l.replace(/[- ]+/g,"");if(d&&d.toLowerCase()in s){if(!s[d.toLowerCase()].test(f))return!1}else{if(d&&!(d.toLowerCase()in s))throw new Error("".concat(d," is not a valid credit card provider."));if(!a.some(function(p){return p.test(f)}))return!1}return(0,r.default)(l)}e.exports=t.default,e.exports.default=t.default})(X$,X$.exports);var Elt=X$.exports,K$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=i(gn),r=i(vj);function i(o){return o&&o.__esModule?o:{default:o}}var s={PL:function(l){(0,n.default)(l);var c={1:1,2:3,3:7,4:9,5:1,6:3,7:7,8:9,9:1,10:3,11:0};if(l!=null&&l.length===11&&(0,r.default)(l,{allow_leading_zeroes:!0})){var d=l.split("").slice(0,-1),f=d.reduce(function(b,w,x){return b+Number(w)*c[x+1]},0),p=f%10,g=Number(l.charAt(l.length-1));if(p===0&&g===0||g===10-p)return!0}return!1},ES:function(l){(0,n.default)(l);var c=/^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/,d={X:0,Y:1,Z:2},f=["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"],p=l.trim().toUpperCase();if(!c.test(p))return!1;var g=p.slice(0,-1).replace(/[X,Y,Z]/g,function(b){return d[b]});return p.endsWith(f[g%23])},FI:function(l){if((0,n.default)(l),l.length!==11||!l.match(/^\d{6}[\-A\+]\d{3}[0-9ABCDEFHJKLMNPRSTUVWXY]{1}$/))return!1;var c="0123456789ABCDEFHJKLMNPRSTUVWXY",d=parseInt(l.slice(0,6),10)*1e3+parseInt(l.slice(7,10),10),f=d%31,p=c[f];return p===l.slice(10,11)},IN:function(l){var c=/^[1-9]\d{3}\s?\d{4}\s?\d{4}$/,d=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],f=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],p=l.trim();if(!c.test(p))return!1;var g=0,b=p.replace(/\s/g,"").split("").map(Number).reverse();return b.forEach(function(w,x){g=d[g][f[x%8][w]]}),g===0},IR:function(l){if(!l.match(/^\d{10}$/)||(l="0000".concat(l).slice(l.length-6),parseInt(l.slice(3,9),10)===0))return!1;for(var c=parseInt(l.slice(9,10),10),d=0,f=0;f<9;f++)d+=parseInt(l.slice(f,f+1),10)*(10-f);return d%=11,d<2&&c===d||d>=2&&c===11-d},IT:function(l){return l.length!==9||l==="CA00000AA"?!1:l.search(/C[A-Z]\d{5}[A-Z]{2}/i)>-1},NO:function(l){var c=l.trim();if(isNaN(Number(c))||c.length!==11||c==="00000000000")return!1;var d=c.split("").map(Number),f=(11-(3*d[0]+7*d[1]+6*d[2]+1*d[3]+8*d[4]+9*d[5]+4*d[6]+5*d[7]+2*d[8])%11)%11,p=(11-(5*d[0]+4*d[1]+3*d[2]+2*d[3]+7*d[4]+6*d[5]+5*d[6]+4*d[7]+3*d[8]+2*f)%11)%11;return!(f!==d[9]||p!==d[10])},TH:function(l){if(!l.match(/^[1-8]\d{12}$/))return!1;for(var c=0,d=0;d<12;d++)c+=parseInt(l[d],10)*(13-d);return l[12]===((11-c%11)%10).toString()},LK:function(l){var c=/^[1-9]\d{8}[vx]$/i,d=/^[1-9]\d{11}$/i;return l.length===10&&c.test(l)?!0:!!(l.length===12&&d.test(l))},"he-IL":function(l){var c=/^\d{9}$/,d=l.trim();if(!c.test(d))return!1;for(var f=d,p=0,g,b=0;b9?g-9:g;return p%10===0},"ar-LY":function(l){var c=/^(1|2)\d{11}$/,d=l.trim();return!!c.test(d)},"ar-TN":function(l){var c=/^\d{8}$/,d=l.trim();return!!c.test(d)},"zh-CN":function(l){var c=["11","12","13","14","15","21","22","23","31","32","33","34","35","36","37","41","42","43","44","45","46","50","51","52","53","54","61","62","63","64","65","71","81","82","91"],d=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],f=["1","0","X","9","8","7","6","5","4","3","2"],p=function(I){return c.includes(I)},g=function(I){var M=parseInt(I.substring(0,4),10),$=parseInt(I.substring(4,6),10),B=parseInt(I.substring(6),10),j=new Date(M,$-1,B);return j>new Date?!1:j.getFullYear()===M&&j.getMonth()===$-1&&j.getDate()===B},b=function(I){for(var M=I.substring(0,17),$=0,B=0;B<17;B++)$+=parseInt(M.charAt(B),10)*parseInt(d[B],10);var j=$%11;return f[j]},w=function(I){return b(I)===I.charAt(17).toUpperCase()},x=function(I){var M=/^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(I);if(!M)return!1;var $=I.substring(0,2);if(M=p($),!M)return!1;var B="19".concat(I.substring(6,12));return M=g(B),!!M},T=function(I){var M=/^[1-9]\d{5}[1-9]\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}(\d|x|X)$/.test(I);if(!M)return!1;var $=I.substring(0,2);if(M=p($),!M)return!1;var B=I.substring(6,14);return M=g(B),M?w(I):!1},_=function(I){var M=/^\d{15}|(\d{17}(\d|x|X))$/.test(I);return M?I.length===15?x(I):T(I):!1};return _(l)},"zh-HK":function(l){l=l.trim();var c=/^[A-Z]{1,2}[0-9]{6}((\([0-9A]\))|(\[[0-9A]\])|([0-9A]))$/,d=/^[0-9]$/;if(l=l.toUpperCase(),!c.test(l))return!1;l=l.replace(/\[|\]|\(|\)/g,""),l.length===8&&(l="3".concat(l));for(var f=0,p=0;p<=7;p++){var g=void 0;d.test(l[p])?g=l[p]:g=(l[p].charCodeAt(0)-55)%11,f+=g*(9-p)}f%=11;var b;return f===0?b="0":f===1?b="A":b=String(11-f),b===l[l.length-1]},"zh-TW":function(l){var c={A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:34,J:18,K:19,L:20,M:21,N:22,O:35,P:23,Q:24,R:25,S:26,T:27,U:28,V:29,W:32,X:30,Y:31,Z:33},d=l.trim().toUpperCase();return/^[A-Z][0-9]{9}$/.test(d)?Array.from(d).reduce(function(f,p,g){if(g===0){var b=c[p];return b%10*9+Math.floor(b/10)}return g===9?(10-f%10-Number(p))%10===0:f+Number(p)*(9-g)},0):!1}};function a(o,l){if((0,n.default)(o),l in s)return s[l](o);if(l==="any"){for(var c in s)if(s.hasOwnProperty(c)){var d=s[c];if(d(o))return!0}return!1}throw new Error("Invalid locale '".concat(l,"'"))}e.exports=t.default,e.exports.default=t.default})(K$,K$.exports);var wlt=K$.exports,J$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var n=r(gn);function r(d){return d&&d.__esModule?d:{default:d}}var i=8,s=14,a=/^(\d{8}|\d{13}|\d{14})$/;function o(d,f){return d===i||d===s?f%2===0?3:1:f%2===0?1:3}function l(d){var f=d.slice(0,-1).split("").map(function(g,b){return Number(g)*o(d.length,b)}).reduce(function(g,b){return g+b},0),p=10-f%10;return p<10?p:0}function c(d){(0,n.default)(d);var f=Number(d.slice(-1));return a.test(d)&&f===l(d)}e.exports=t.default,e.exports.default=t.default})(J$,J$.exports);var xlt=J$.exports,eB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;function s(a){if((0,n.default)(a),!i.test(a))return!1;for(var o=!0,l=0,c=a.length-2;c>=0;c--)if(a[c]>="A"&&a[c]<="Z")for(var d=a[c].charCodeAt(0)-55,f=d%10,p=Math.trunc(d/10),g=0,b=[f,p];g=5?l+=1+(w-5)*2:l+=w*2:l+=w,o=!o}else{var x=a[c].charCodeAt(0)-48;o?x>=5?l+=1+(x-5)*2:l+=x*2:l+=x,o=!o}var T=Math.trunc((l+9)/10)*10-l;return+a[a.length-1]===T}e.exports=t.default,e.exports.default=t.default})(eB,eB.exports);var Tlt=eB.exports,tB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=r(gn);function r(l){return l&&l.__esModule?l:{default:l}}var i=/^(?:[0-9]{9}X|[0-9]{10})$/,s=/^(?:[0-9]{13})$/,a=[1,3];function o(l,c){(0,n.default)(l);var d=String((c==null?void 0:c.version)||c);if(!(c!=null&&c.version||c))return o(l,{version:10})||o(l,{version:13});var f=l.replace(/[\s-]+/g,""),p=0;if(d==="10"){if(!i.test(f))return!1;for(var g=0;g1&&arguments[1]!==void 0?arguments[1]:{};(0,n.default)(a);var l=i;if(l=o.require_hyphen?l.replace("?",""):l,l=o.case_sensitive?new RegExp(l):new RegExp(l,"i"),!l.test(a))return!1;for(var c=a.replace("-","").toUpperCase(),d=0,f=0;f=0;r--){if(n){var i=parseInt(e[r],10)*2;i>9?t+=i.toString().split("").map(function(s){return parseInt(s,10)}).reduce(function(s,a){return s+a},0):t+=i}else t+=parseInt(e[r],10);n=!n}return t%10===0}function Rlt(e,t){for(var n=0,r=0;rte.length)&&(de=te.length);for(var we=0,We=new Array(de);we40?(we-=40,de="20".concat(de)):we>20?(we-=20,de="18".concat(de)):de="19".concat(de),we<10&&(we="0".concat(we));var We="".concat(de,"/").concat(we,"/").concat(te.slice(4,6));if(!(0,s.default)(We,"YYYY/MM/DD"))return!1;for(var Ke=te.split("").map(function(Be){return parseInt(Be,10)}),xe=[2,4,8,5,10,9,7,3,6],Qe=0,yt=0;yt50&&(we-=50),we>20){if(parseInt(de,10)<2004)return!1;we-=20}we<10&&(we="0".concat(we));var We="".concat(de,"/").concat(we,"/").concat(te.slice(4,6));if(!(0,s.default)(We,"YYYY/MM/DD"))return!1;if(te.length===10&&parseInt(te,10)%11!==0){var Ke=parseInt(te.slice(0,9),10)%11;if(parseInt(de,10)<1986&&Ke===10){if(parseInt(te.slice(9),10)!==0)return!1}else return!1}return!0}function _(te){return i.luhnCheck(te)}function C(te){for(var de=te.split("").map(function(Be){return parseInt(Be,10)}),we=[],We=0;We1}),we.length!==2&&we.length!==3)return!1;if(we[0].length===3){for(var xe=we[0].split("").map(function(Be){return parseInt(Be,10)}),Qe=0,yt=0;yt58)de="18".concat(de);else return!1;break}de.length===3&&(de=[de.slice(0,2),"0",de.slice(2)].join(""));var We="".concat(de,"/").concat(te.slice(2,4),"/").concat(te.slice(0,2));if(!(0,s.default)(We,"YYYY/MM/DD"))return!1;for(var Ke=te.split("").map(function(Be){return parseInt(Be,10)}),xe=0,Qe=4,yt=0;yt<9;yt++)xe+=Ke[yt]*Qe,Qe-=1,Qe===1&&(Qe=7);return xe%=11,xe===1?!1:xe===0?Ke[9]===0:Ke[9]===11-xe}function M(te){for(var de=te.slice(0,8).split("").map(function(xe){return parseInt(xe,10)}),we=0,We=1;We4&&(we+=2));return String.fromCharCode(we%26+65)===te.charAt(8)}function $(te){for(var de=te.split("").map(function(Ke){return parseInt(Ke,10)}),we=0,We=0;We<8;We++)we+=de[We]*Math.pow(2,8-We);return we%11%10===de[8]}function B(te){var de=i.reverseMultiplyAndSum(te.split("").slice(0,7).map(function(we){return parseInt(we,10)}),8);return te.length===9&&te[8]!=="W"&&(de+=(te[8].charCodeAt(0)-64)*9),de%=23,de===0?te[7].toUpperCase()==="W":te[7].toUpperCase()===String.fromCharCode(64+de)}var j={andover:["10","12"],atlanta:["60","67"],austin:["50","53"],brookhaven:["01","02","03","04","05","06","11","13","14","16","21","22","23","25","34","51","52","54","55","56","57","58","59","65"],cincinnati:["30","32","35","36","37","38","61"],fresno:["15","24"],internet:["20","26","27","45","46","47"],kansas:["40","44"],memphis:["94","95"],ogden:["80","90"],philadelphia:["33","39","41","42","43","46","48","62","63","64","66","68","71","72","73","74","75","76","77","81","82","83","84","85","86","87","88","91","92","93","98","99"],sba:["31"]};function F(){var te=[];for(var de in j)j.hasOwnProperty(de)&&te.push.apply(te,c(j[de]));return te}function V(te){return F().indexOf(te.slice(0,2))!==-1}function ie(te){for(var de=0,we=te.split(""),We=parseInt(we.pop(),10),Ke=0;Ke1){var we=0;switch(de[0]){case"Y":we=1;break;case"Z":we=2;break}de.splice(0,1,we)}else for(;de.length<9;)de.unshift(0);var We=["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"];de=de.join("");var Ke=parseInt(de.slice(0,8),10)%23;return de[8]===We[Ke]}function me(te){var de=te.slice(1,3),we=te.slice(0,1);switch(we){case"1":case"2":de="18".concat(de);break;case"3":case"4":de="19".concat(de);break;default:de="20".concat(de);break}var We="".concat(de,"/").concat(te.slice(3,5),"/").concat(te.slice(5,7));if(!(0,s.default)(We,"YYYY/MM/DD"))return!1;for(var Ke=te.split("").map(function(Ne){return parseInt(Ne,10)}),xe=0,Qe=1,yt=0;yt<10;yt++)xe+=Ke[yt]*Qe,Qe+=1,Qe===10&&(Qe=1);if(xe%11===10){xe=0,Qe=3;for(var Be=0;Be<10;Be++)xe+=Ke[Be]*Qe,Qe+=1,Qe===10&&(Qe=1);if(xe%11===10)return Ke[10]===0}return xe%11===Ke[10]}function fe(te){var de=te.slice(4,6),we=te.slice(6,7);switch(we){case"+":de="18".concat(de);break;case"-":de="19".concat(de);break;default:de="20".concat(de);break}var We="".concat(de,"/").concat(te.slice(2,4),"/").concat(te.slice(0,2));if(!(0,s.default)(We,"YYYY/MM/DD"))return!1;var Ke=parseInt(te.slice(0,6)+te.slice(7,10),10)%31;if(Ke<10)return Ke===parseInt(te.slice(10),10);Ke-=10;var xe=["A","B","C","D","E","F","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y"];return xe[Ke]===te.slice(10)}function le(te){if(te.slice(2,4)!=="00"||te.slice(4,6)!=="00"){var de="".concat(te.slice(0,2),"/").concat(te.slice(2,4),"/").concat(te.slice(4,6));if(!(0,s.default)(de,"YY/MM/DD"))return!1}var we=97-parseInt(te.slice(0,9),10)%97,We=parseInt(te.slice(9,11),10);return!(we!==We&&(we=97-parseInt("2".concat(te.slice(0,9)),10)%97,we!==We))}function ye(te){te=te.replace(/\s/g,"");var de=parseInt(te.slice(0,10),10)%511,we=parseInt(te.slice(10,13),10);return de===we}function ae(te){var de="".concat(te.slice(0,4),"/").concat(te.slice(4,6),"/").concat(te.slice(6,8));return!(0,s.default)(de,"YYYY/MM/DD")||!i.luhnCheck(te.slice(0,12))?!1:i.verhoeffCheck("".concat(te.slice(0,11)).concat(te[12]))}function Se(te){return i.iso7064Check(te)}function he(te){for(var de=te.split("").map(function(Ke){return parseInt(Ke,10)}),we=8,We=1;We<9;We++)we+=de[We]*(We+1);return we%11===de[9]}function re(te){for(var de=!1,we=!1,We=0;We<3;We++)if(!de&&/[AEIOU]/.test(te[We]))de=!0;else if(!we&&de&&te[We]==="X")we=!0;else if(We>0&&(de&&!we&&!/[AEIOU]/.test(te[We])||we&&!/X/.test(te[We])))return!1;return!0}function Fe(te){var de=te.toUpperCase().split("");if(!re(de.slice(0,3))||!re(de.slice(3,6)))return!1;for(var we=[6,7,9,10,12,13,14],We={L:"0",M:"1",N:"2",P:"3",Q:"4",R:"5",S:"6",T:"7",U:"8",V:"9"},Ke=0,xe=we;Ke40&&(Ne-=40),Ne<10&&(Ne="0".concat(Ne));var rt="".concat(de[6]).concat(de[7],"/").concat(Be,"/").concat(Ne);if(!(0,s.default)(rt,"YY/MM/DD"))return!1;for(var pt=0,Dt=1;Dt4&&(kt+=2)}pt+=kt}return String.fromCharCode(65+pt%26)===de[15]}function je(te){te=te.replace(/\W/,"");var de=te.slice(0,2);if(de!=="32"){var we=te.slice(2,4);if(we!=="00"){var We=te.slice(4,6);switch(te[6]){case"0":We="18".concat(We);break;case"1":We="19".concat(We);break;default:We="20".concat(We);break}var Ke="".concat(We,"/").concat(te.slice(2,4),"/").concat(de);if(!(0,s.default)(Ke,"YYYY/MM/DD"))return!1}for(var xe=1101,Qe=[1,6,3,7,9,10,5,8,4,2],yt=0;yt32e3)return!1;var We=parseInt(de.join("").slice(5,7),10);if(we===We)return!1}}}return!0}function tt(te){return i.reverseMultiplyAndSum(te.split("").slice(0,8).map(function(de){return parseInt(de,10)}),9)%11===parseInt(te[8],10)}function St(te){if(te.length===10){for(var de=[6,5,7,2,3,4,5,6,7],we=0,We=0;We80?(Ke="18".concat(Ke),xe-=80):xe>60?(Ke="22".concat(Ke),xe-=60):xe>40?(Ke="21".concat(Ke),xe-=40):xe>20?(Ke="20".concat(Ke),xe-=20):Ke="19".concat(Ke),xe<10&&(xe="0".concat(xe));var Qe="".concat(Ke,"/").concat(xe,"/").concat(te.slice(4,6));if(!(0,s.default)(Qe,"YYYY/MM/DD"))return!1;for(var yt=0,Be=1,Ne=0;Ne10?Be=1:Be===5&&(Be+=2);return yt=10-yt%10,yt===parseInt(te[10],10)}function Ze(te){if(te.length===11){var de,we;if(de=0,te==="11111111111"||te==="22222222222"||te==="33333333333"||te==="44444444444"||te==="55555555555"||te==="66666666666"||te==="77777777777"||te==="88888888888"||te==="99999999999"||te==="00000000000")return!1;for(var We=1;We<=9;We++)de+=parseInt(te.substring(We-1,We),10)*(11-We);if(we=de*10%11,we===10&&(we=0),we!==parseInt(te.substring(9,10),10))return!1;de=0;for(var Ke=1;Ke<=10;Ke++)de+=parseInt(te.substring(Ke-1,Ke),10)*(12-Ke);return we=de*10%11,we===10&&(we=0),we===parseInt(te.substring(10,11),10)}if(te==="00000000000000"||te==="11111111111111"||te==="22222222222222"||te==="33333333333333"||te==="44444444444444"||te==="55555555555555"||te==="66666666666666"||te==="77777777777777"||te==="88888888888888"||te==="99999999999999")return!1;for(var xe=te.length-2,Qe=te.substring(0,xe),yt=te.substring(xe),Be=0,Ne=xe-7,rt=xe;rt>=1;rt--)Be+=Qe.charAt(xe-rt)*Ne,Ne-=1,Ne<2&&(Ne=9);var pt=Be%11<2?0:11-Be%11;if(pt!==parseInt(yt.charAt(0),10))return!1;xe+=1,Qe=te.substring(0,xe),Be=0,Ne=xe-7;for(var Dt=xe;Dt>=1;Dt--)Be+=Qe.charAt(xe-Dt)*Ne,Ne-=1,Ne<2&&(Ne=9);return pt=Be%11<2?0:11-Be%11,pt===parseInt(yt.charAt(1),10)}function qt(te){var de=11-i.reverseMultiplyAndSum(te.split("").slice(0,8).map(function(we){return parseInt(we,10)}),9)%11;return de>9?parseInt(te[8],10)===0:de===parseInt(te[8],10)}function xt(te){if(te.slice(0,4)!=="9000"){var de=te.slice(1,3);switch(te[0]){case"1":case"2":de="19".concat(de);break;case"3":case"4":de="18".concat(de);break;case"5":case"6":de="20".concat(de);break}var we="".concat(de,"/").concat(te.slice(3,5),"/").concat(te.slice(5,7));if(we.length===8){if(!(0,s.default)(we,"YY/MM/DD"))return!1}else if(!(0,s.default)(we,"YYYY/MM/DD"))return!1;for(var We=te.split("").map(function(yt){return parseInt(yt,10)}),Ke=[2,7,9,1,4,6,3,5,8,2,7,9],xe=0,Qe=0;Qe53)return!1;de<10?de="190".concat(de):de="19".concat(de);var we=parseInt(te.slice(2,4),10);we>50&&(we-=50),we<10&&(we="0".concat(we));var We="".concat(de,"/").concat(we,"/").concat(te.slice(4,6));if(!(0,s.default)(We,"YYYY/MM/DD"))return!1}return!0}function Ht(te){var de=11-i.reverseMultiplyAndSum(te.split("").slice(0,7).map(function(we){return parseInt(we,10)}),8)%11;return de===10?parseInt(te[7],10)===0:de===parseInt(te[7],10)}function Jt(te){var de=te.slice(0);te.length>11&&(de=de.slice(2));var we="",We=de.slice(2,4),Ke=parseInt(de.slice(4,6),10);if(te.length>11)we=te.slice(0,4);else if(we=te.slice(0,2),te.length===11&&Ke<60){var xe=new Date().getFullYear().toString(),Qe=parseInt(xe.slice(0,2),10);if(xe=parseInt(xe,10),te[6]==="-")parseInt("".concat(Qe).concat(we),10)>xe?we="".concat(Qe-1).concat(we):we="".concat(Qe).concat(we);else if(we="".concat(Qe-1).concat(we),xe-parseInt(we,10)<100)return!1}Ke>60&&(Ke-=60),Ke<10&&(Ke="0".concat(Ke));var yt="".concat(we,"/").concat(We,"/").concat(Ke);if(yt.length===8){if(!(0,s.default)(yt,"YY/MM/DD"))return!1}else if(!(0,s.default)(yt,"YYYY/MM/DD"))return!1;return i.luhnCheck(te.replace(/\W/,""))}function Vt(te){for(var de=te.split("").map(function(xe){return parseInt(xe,10)}),we=[-1,5,7,9,4,6,10,5,7],We=0,Ke=0;Ke1&&arguments[1]!==void 0?arguments[1]:"en-US";(0,r.default)(te);var we=te.slice(0);if(de in en)return de in Ut&&(we=we.replace(Ut[de],"")),en[de].test(we)?de in Ct?Ct[de](we):!0:!1;throw new Error("Invalid locale '".concat(de,"'"))}e.exports=t.default,e.exports.default=t.default})(rB,rB.exports);var Dlt=rB.exports,pA={};Object.defineProperty(pA,"__esModule",{value:!0});pA.default=Llt;pA.locales=void 0;var Nlt=Plt(gn);function Plt(e){return e&&e.__esModule?e:{default:e}}var la={"am-AM":/^(\+?374|0)(33|4[134]|55|77|88|9[13-689])\d{6}$/,"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-BH":/^(\+?973)?(3|6)\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-LB":/^(\+?961)?((3|81)\d{6}|7\d{7})$/,"ar-EG":/^((\+?20)|0)?1[0125]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)([569]\d{7}|41\d{6})$/,"ar-LY":/^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/,"ar-MA":/^(?:(?:\+|00)212|0)[5-7]\d{8}$/,"ar-OM":/^((\+|00)968)?(9[1-9])\d{6}$/,"ar-PS":/^(\+?970|0)5[6|9](\d{7})$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SD":/^((\+?249)|0)?(9[012369]|1[012])\d{7}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"az-AZ":/^(\+994|0)(10|5[015]|7[07]|99)\d{7}$/,"bs-BA":/^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/^(\+?880|0)1[13456789][0-9]{8}$/,"ca-AD":/^(\+376)?[346]\d{5}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^((\+49|0)1)(5[0-25-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7,9}$/,"de-AT":/^(\+43|0)\d{1,4}\d{3,12}$/,"de-CH":/^(\+41|0)([1-9])\d{1,9}$/,"de-LU":/^(\+352)?((6\d1)\d{6})$/,"dv-MV":/^(\+?960)?(7[2-9]|9[1-9])\d{5}$/,"el-GR":/^(\+?30|0)?6(8[5-9]|9(?![26])[0-9])\d{7}$/,"el-CY":/^(\+?357?)?(9(9|6)\d{6})$/,"en-AI":/^(\+?1|0)264(?:2(35|92)|4(?:6[1-2]|76|97)|5(?:3[6-9]|8[1-4])|7(?:2(4|9)|72))\d{4}$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-AG":/^(?:\+1|1)268(?:464|7(?:1[3-9]|[28]\d|3[0246]|64|7[0-689]))\d{4}$/,"en-BM":/^(\+?1)?441(((3|7)\d{6}$)|(5[0-3][0-9]\d{4}$)|(59\d{5}$))/,"en-BS":/^(\+?1[-\s]?|0)?\(?242\)?[-\s]?\d{3}[-\s]?\d{4}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GG":/^(\+?44|0)1481\d{6}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28|55|59)\d{7}$/,"en-GY":/^(\+592|0)6\d{6}$/,"en-HK":/^(\+?852[-\s]?)?[456789]\d{3}[-\s]?\d{4}$/,"en-MO":/^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-JM":/^(\+?876)?\d{7}$/,"en-KE":/^(\+?254|0)(7|1)\d{8}$/,"fr-CF":/^(\+?236| ?)(70|75|77|72|21|22)\d{6}$/,"en-SS":/^(\+?211|0)(9[1257])\d{7}$/,"en-KI":/^((\+686|686)?)?( )?((6|7)(2|3|8)[0-9]{6})$/,"en-KN":/^(?:\+1|1)869(?:46\d|48[89]|55[6-8]|66\d|76[02-7])\d{4}$/,"en-LS":/^(\+?266)(22|28|57|58|59|27|52)\d{6}$/,"en-MT":/^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-MW":/^(\+?265|0)(((77|88|31|99|98|21)\d{7})|(((111)|1)\d{6})|(32000\d{4}))$/,"en-NA":/^(\+?264|0)(6|8)\d{7}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PG":/^(\+?675|0)?(7\d|8[18])\d{6}$/,"en-PK":/^((00|\+)?92|0)3[0-6]\d{8}$/,"en-PH":/^(09|\+639)\d{9}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[3689]\d{7}$/,"en-SL":/^(\+?232|0)\d{8}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"en-ZW":/^(\+263)[0-9]{9}$/,"en-BW":/^(\+?267)?(7[1-8]{1})\d{6}$/,"es-AR":/^\+?549(11|[2368]\d)\d{8}$/,"es-BO":/^(\+?591)?(6|7)\d{7}$/,"es-CO":/^(\+?57)?3(0(0|1|2|4|5)|1\d|2[0-4]|5(0|1))\d{7}$/,"es-CL":/^(\+?56|0)[2-9]\d{1}\d{7}$/,"es-CR":/^(\+506)?[2-8]\d{7}$/,"es-CU":/^(\+53|0053)?5\d{7}$/,"es-DO":/^(\+?1)?8[024]9\d{7}$/,"es-HN":/^(\+?504)?[9|8|3|2]\d{7}$/,"es-EC":/^(\+?593|0)([2-7]|9[2-9])\d{7}$/,"es-ES":/^(\+?34)?[6|7]\d{8}$/,"es-PE":/^(\+?51)?9\d{8}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-NI":/^(\+?505)\d{7,8}$/,"es-PA":/^(\+?507)\d{7,8}$/,"es-PY":/^(\+?595|0)9[9876]\d{7}$/,"es-SV":/^(\+?503)?[67]\d{7}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"es-VE":/^(\+?58)?(2|4)\d{9}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4[0-6]|50)\s?(\d\s?){4,8}$/,"fj-FJ":/^(\+?679)?\s?\d{3}\s?\d{4}$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-BF":/^(\+226|0)[67]\d{7}$/,"fr-BJ":/^(\+229)\d{8}$/,"fr-CD":/^(\+?243|0)?(8|9)\d{8}$/,"fr-CM":/^(\+?237)6[0-9]{8}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"fr-GF":/^(\+?594|0|00594)[67]\d{8}$/,"fr-GP":/^(\+?590|0|00590)[67]\d{8}$/,"fr-MQ":/^(\+?596|0|00596)[67]\d{8}$/,"fr-PF":/^(\+?689)?8[789]\d{6}$/,"fr-RE":/^(\+?262|0|00262)[67]\d{8}$/,"fr-WF":/^(\+681)?\d{6}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36|06)(20|30|31|50|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"ir-IR":/^(\+98|0)?9\d{9}$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"it-SM":/^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/,"ja-JP":/^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/,"ka-GE":/^(\+?995)?(79\d{7}|5\d{8})$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"ky-KG":/^(\+?7\s?\+?7|0)\s?\d{2}\s?\d{3}\s?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"lv-LV":/^(\+?371)2\d{7}$/,"mg-MG":/^((\+?261|0)(2|3)\d)?\d{7}$/,"mn-MN":/^(\+|00|011)?976(77|81|88|91|94|95|96|99)\d{6}$/,"my-MM":/^(\+?959|09|9)(2[5-7]|3[1-2]|4[0-5]|6[6-9]|7[5-9]|9[6-9])[0-9]{7}$/,"ms-MY":/^(\+?60|0)1(([0145](-|\s)?\d{7,8})|([236-9](-|\s)?\d{7}))$/,"mz-MZ":/^(\+?258)?8[234567]\d{7}$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"ne-NP":/^(\+?977)?9[78]\d{8}$/,"nl-BE":/^(\+?32|0)4\d{8}$/,"nl-NL":/^(((\+|00)?31\(0\))|((\+|00)?31)|0)6{1}\d{8}$/,"nl-AW":/^(\+)?297(56|59|64|73|74|99)\d{5}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?([5-8]\d|45) ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^((\+?55\ ?[1-9]{2}\ ?)|(\+?55\ ?\([1-9]{2}\)\ ?)|(0[1-9]{2}\ ?)|(\([1-9]{2}\)\ ?)|([1-9]{2}\ ?))((\d{4}\-?\d{4})|(9[1-9]{1}\d{3}\-?\d{4}))$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"pt-AO":/^(\+244)\d{9}$/,"ro-MD":/^(\+?373|0)((6(0|1|2|6|7|8|9))|(7(6|7|8|9)))\d{6}$/,"ro-RO":/^(\+?40|0)\s?7\d{2}(\/|\s|\.|-)?\d{3}(\s|\.|-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"si-LK":/^(?:0|94|\+94)?(7(0|1|2|4|5|6|7|8)( |-)?)\d{7}$/,"sl-SI":/^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"so-SO":/^(\+?252|0)((6[0-9])\d{7}|(7[1-9])\d{7})$/,"sq-AL":/^(\+355|0)6[789]\d{6}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"sv-SE":/^(\+?46|0)[\s\-]?7[\s\-]?[02369]([\s\-]?\d){7}$/,"tg-TJ":/^(\+?992)?[5][5]\d{7}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"tk-TM":/^(\+993|993|8)\d{8}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"uz-UZ":/^(\+?998)?(6[125-79]|7[1-69]|88|9\d)\d{7}$/,"vi-VN":/^((\+?84)|0)((3([2-9]))|(5([25689]))|(7([0|6-9]))|(8([1-9]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?(1[3-9]|9[28])\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/,"dz-BT":/^(\+?975|0)?(17|16|77|02)\d{6}$/,"ar-YE":/^(((\+|00)9677|0?7)[0137]\d{7}|((\+|00)967|0)[1-7]\d{6})$/,"ar-EH":/^(\+?212|0)[\s\-]?(5288|5289)[\s\-]?\d{5}$/,"fa-AF":/^(\+93|0)?(2{1}[0-8]{1}|[3-5]{1}[0-4]{1})(\d{7})$/};la["en-CA"]=la["en-US"];la["fr-CA"]=la["en-CA"];la["fr-BE"]=la["nl-BE"];la["zh-HK"]=la["en-HK"];la["zh-MO"]=la["en-MO"];la["ga-IE"]=la["en-IE"];la["fr-CH"]=la["de-CH"];la["it-CH"]=la["fr-CH"];function Llt(e,t,n){if((0,Nlt.default)(e),n&&n.strictMode&&!e.startsWith("+"))return!1;if(Array.isArray(t))return t.some(function(s){if(la.hasOwnProperty(s)){var a=la[s];if(a.test(e))return!0}return!1});if(t in la)return la[t].test(e);if(!t||t==="any"){for(var r in la)if(la.hasOwnProperty(r)){var i=la[r];if(i.test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))}pA.locales=Object.keys(la);var iB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/^(0x)[0-9a-f]{40}$/i;function s(a){return(0,n.default)(a),i.test(a)}e.exports=t.default,e.exports.default=t.default})(iB,iB.exports);var Mlt=iB.exports,sB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=i(Au),r=i(gn);function i(l){return l&&l.__esModule?l:{default:l}}function s(l){var c="\\d{".concat(l.digits_after_decimal[0],"}");l.digits_after_decimal.forEach(function(_,C){C!==0&&(c="".concat(c,"|\\d{").concat(_,"}"))});var d="(".concat(l.symbol.replace(/\W/,function(_){return"\\".concat(_)}),")").concat(l.require_symbol?"":"?"),f="-?",p="[1-9]\\d*",g="[1-9]\\d{0,2}(\\".concat(l.thousands_separator,"\\d{3})*"),b=["0",p,g],w="(".concat(b.join("|"),")?"),x="(\\".concat(l.decimal_separator,"(").concat(c,"))").concat(l.require_decimal?"":"?"),T=w+(l.allow_decimal||l.require_decimal?x:"");return l.allow_negatives&&!l.parens_for_negatives&&(l.negative_sign_after_digits?T+=f:l.negative_sign_before_digits&&(T=f+T)),l.allow_negative_sign_placeholder?T="( (?!\\-))?".concat(T):l.allow_space_after_symbol?T=" ?".concat(T):l.allow_space_after_digits&&(T+="( (?!$))?"),l.symbol_after_digits?T+=d:T=d+T,l.allow_negatives&&(l.parens_for_negatives?T="(\\(".concat(T,"\\)|").concat(T,")"):l.negative_sign_before_digits||l.negative_sign_after_digits||(T=f+T)),new RegExp("^(?!-? )(?=.*\\d)".concat(T,"$"))}var a={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};function o(l,c){return(0,r.default)(l),c=(0,n.default)(c,a),s(c).test(l)}e.exports=t.default,e.exports.default=t.default})(sB,sB.exports);var Flt=sB.exports,aB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=r(gn);function r(o){return o&&o.__esModule?o:{default:o}}var i=/^(bc1)[a-z0-9]{25,39}$/,s=/^(1|3)[A-HJ-NP-Za-km-z1-9]{25,39}$/;function a(o){return(0,n.default)(o),i.test(o)||s.test(o)}e.exports=t.default,e.exports.default=t.default})(aB,aB.exports);var $lt=aB.exports,mA={};Object.defineProperty(mA,"__esModule",{value:!0});mA.isFreightContainerID=void 0;mA.isISO6346=Nye;var Blt=Ult(gn);function Ult(e){return e&&e.__esModule?e:{default:e}}var zlt=/^[A-Z]{3}(U[0-9]{7})|([J,Z][0-9]{6,7})$/,Hlt=/^[0-9]$/;function Nye(e){if((0,Blt.default)(e),e=e.toUpperCase(),!zlt.test(e))return!1;if(e.length===11){for(var t=0,n=0;n=11&&i<=20?r=12+i%11:i>=21&&i<=30?r=23+i%21:r=34+i%31,t+=r*Math.pow(2,n)}var s=t%11;return Number(e[e.length-1])===s}return!0}mA.isFreightContainerID=Nye;var oB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=new Set(["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]);function s(a){return(0,n.default)(a),i.has(a)}e.exports=t.default,e.exports.default=t.default})(oB,oB.exports);var qlt=oB.exports,lB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=r(gn);function r(l){return l&&l.__esModule?l:{default:l}}var i=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,s=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,a=function(c){var d=c.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(d){var f=Number(d[1]),p=Number(d[2]);return f%4===0&&f%100!==0||f%400===0?p<=366:p<=365}var g=c.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number),b=g[1],w=g[2],x=g[3],T=w&&"0".concat(w).slice(-2),_=x&&"0".concat(x).slice(-2),C=new Date("".concat(b,"-").concat(T||"01","-").concat(_||"01"));return w&&x?C.getUTCFullYear()===b&&C.getUTCMonth()+1===w&&C.getUTCDate()===x:!0};function o(l){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,n.default)(l);var d=c.strictSeparator?s.test(l):i.test(l);return d&&c.strict?a(l):d}e.exports=t.default,e.exports.default=t.default})(lB,lB.exports);var jlt=lB.exports,uB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=T;var n=r(gn);function r(_){return _&&_.__esModule?_:{default:_}}var i=/[0-9]{4}/,s=/(0[1-9]|1[0-2])/,a=/([12]\d|0[1-9]|3[01])/,o=/([01][0-9]|2[0-3])/,l=/[0-5][0-9]/,c=/([0-5][0-9]|60)/,d=/(\.[0-9]+)?/,f=new RegExp("[-+]".concat(o.source,":").concat(l.source)),p=new RegExp("([zZ]|".concat(f.source,")")),g=new RegExp("".concat(o.source,":").concat(l.source,":").concat(c.source).concat(d.source)),b=new RegExp("".concat(i.source,"-").concat(s.source,"-").concat(a.source)),w=new RegExp("".concat(g.source).concat(p.source)),x=new RegExp("^".concat(b.source,"[ tT]").concat(w.source,"$"));function T(_){return(0,n.default)(_),x.test(_)}e.exports=t.default,e.exports.default=t.default})(uB,uB.exports);var Wlt=uB.exports,cB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=new Set(["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BES","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CUW","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","PRI","QAT","REU","ROU","RUS","RWA","BLM","SHN","KNA","LCA","MAF","SPM","VCT","WSM","SMR","STP","SAU","SEN","SRB","SYC","SLE","SGP","SXM","SVK","SVN","SLB","SOM","ZAF","SGS","SSD","ESP","LKA","SDN","SUR","SJM","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","USA","UMI","URY","UZB","VUT","VEN","VNM","VGB","VIR","WLF","ESH","YEM","ZMB","ZWE"]);function s(a){return(0,n.default)(a),i.has(a.toUpperCase())}e.exports=t.default,e.exports.default=t.default})(cB,cB.exports);var Qlt=cB.exports,gA={};Object.defineProperty(gA,"__esModule",{value:!0});gA.CurrencyCodes=void 0;gA.default=Ylt;var Vlt=Glt(gn);function Glt(e){return e&&e.__esModule?e:{default:e}}var Pye=new Set(["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLE","SLL","SOS","SRD","SSP","STN","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UYW","UZS","VES","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW","ZWL"]);function Ylt(e){return(0,Vlt.default)(e),Pye.has(e.toUpperCase())}gA.CurrencyCodes=Pye;var dB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=i(gn),r=i(Au);function i(c){return c&&c.__esModule?c:{default:c}}var s=/^[A-Z2-7]+=*$/,a=/^[A-HJKMNP-TV-Z0-9]+$/,o={crockford:!1};function l(c,d){if((0,n.default)(c),d=(0,r.default)(d,o),d.crockford)return a.test(c);var f=c.length;return!!(f%8===0&&s.test(c))}e.exports=t.default,e.exports.default=t.default})(dB,dB.exports);var Zlt=dB.exports,fB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/^[A-HJ-NP-Za-km-z1-9]*$/;function s(a){return(0,n.default)(a),!!i.test(a)}e.exports=t.default,e.exports.default=t.default})(fB,fB.exports);var Xlt=fB.exports,hB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=r(gn);function r(l){return l&&l.__esModule?l:{default:l}}var i=/^[a-z]+\/[a-z0-9\-\+\._]+$/i,s=/^[a-z\-]+=[a-z0-9\-]+$/i,a=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;function o(l){(0,n.default)(l);var c=l.split(",");if(c.length<2)return!1;var d=c.shift().trim().split(";"),f=d.shift();if(f.slice(0,5)!=="data:")return!1;var p=f.slice(5);if(p!==""&&!i.test(p))return!1;for(var g=0;gw.length)&&(x=w.length);for(var T=0,_=new Array(x);T1&&arguments[1]!==void 0?arguments[1]:i;return(0,n.default)(l),c.loose?a.includes(l.toLowerCase()):s.includes(l)}e.exports=t.default,e.exports.default=t.default})(c$,c$.exports);var vot=c$.exports,d$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=_;var n=r(gn);function r(C){return C&&C.__esModule?C:{default:C}}var i="([A-Za-z]{3}(-[A-Za-z]{3}){0,2})",s="(([a-zA-Z]{2,3}(-".concat(i,")?)|([a-zA-Z]{5,8}))"),a="([A-Za-z]{4})",o="([A-Za-z]{2}|\\d{3})",l="([A-Za-z0-9]{5,8}|(\\d[A-Z-a-z0-9]{3}))",c="(\\d|[A-W]|[Y-Z]|[a-w]|[y-z])",d="(".concat(c,"(-[A-Za-z0-9]{2,8})+)"),f="(x(-[A-Za-z0-9]{1,8})+)",p="((en-GB-oed)|(i-ami)|(i-bnn)|(i-default)|(i-enochian)|(i-hak)|(i-klingon)|(i-lux)|(i-mingo)|(i-navajo)|(i-pwn)|(i-tao)|(i-tay)|(i-tsu)|(sgn-BE-FR)|(sgn-BE-NL)|(sgn-CH-DE))",g="((art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang))",b="(".concat(p,"|").concat(g,")"),w="(-|_)",x="".concat(s,"(").concat(w).concat(a,")?(").concat(w).concat(o,")?(").concat(w).concat(l,")*(").concat(w).concat(d,")*(").concat(w).concat(f,")?"),T=new RegExp("(^".concat(f,"$)|(^").concat(b,"$)|(^").concat(x,"$)"));function _(C){return(0,n.default)(C),T.test(C)}e.exports=t.default,e.exports.default=t.default})(d$,d$.exports);var Sot=d$.exports,f$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/^(?!(1[3-9])|(20)|(3[3-9])|(4[0-9])|(5[0-9])|(60)|(7[3-9])|(8[1-9])|(9[0-2])|(9[3-9]))[0-9]{9}$/;function s(a){if((0,n.default)(a),!i.test(a))return!1;for(var o=0,l=0;l1&&arguments[1]!==void 0?arguments[1]:"en-US",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};(0,Eot.default)(e);var r=e,i=n.ignore;if(i)if(i instanceof RegExp)r=r.replace(i,"");else if(typeof i=="string")r=r.replace(new RegExp("[".concat(i.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"");else throw new Error("ignore should be instance of a String or RegExp");if(t in h$.alpha)return h$.alpha[t].test(r);throw new Error("Invalid locale '".concat(t,"'"))}dA.locales=Object.keys(h$.alpha);var fA={};Object.defineProperty(fA,"__esModule",{value:!0});fA.default=_ot;fA.locales=void 0;var Tot=kot(gn),p$=oa;function kot(e){return e&&e.__esModule?e:{default:e}}function _ot(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"en-US",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};(0,Tot.default)(e);var r=e,i=n.ignore;if(i)if(i instanceof RegExp)r=r.replace(i,"");else if(typeof i=="string")r=r.replace(new RegExp("[".concat(i.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"");else throw new Error("ignore should be instance of a String or RegExp");if(t in p$.alphanumeric)return p$.alphanumeric[t].test(r);throw new Error("Invalid locale '".concat(t,"'"))}fA.locales=Object.keys(p$.alphanumeric);var m$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=i(gn),r=oa;function i(o){return o&&o.__esModule?o:{default:o}}var s=/^[0-9]+$/;function a(o,l){return(0,n.default)(o),l&&l.no_symbols?s.test(o):new RegExp("^[+-]?([0-9]*[".concat((l||{}).locale?r.decimal[l.locale]:".","])?[0-9]+$")).test(o)}e.exports=t.default,e.exports.default=t.default})(m$,m$.exports);var Aot=m$.exports,g$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(g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Z:/^([Ll]([Aa]|[Dd]|[Ff]|[Hh])|[Ee]([Aa]|[Pp])|[Nn])\d{6}$/,PH:/^([A-Z](\d{6}|\d{7}[A-Z]))|([A-Z]{2}(\d{6}|\d{7}))$/,PK:/^[A-Z]{2}\d{7}$/,PL:/^[A-Z]{2}\d{7}$/,PT:/^[A-Z]\d{6}$/,RO:/^\d{8,9}$/,RU:/^\d{9}$/,SE:/^\d{8}$/,SL:/^(P)[A-Z]\d{7}$/,SK:/^[0-9A-Z]\d{7}$/,TH:/^[A-Z]{1,2}\d{6,7}$/,TR:/^[A-Z]\d{8}$/,UA:/^[A-Z]{2}\d{6}$/,US:/^\d{9}$/,ZA:/^[TAMD]\d{8}$/};function s(a,o){(0,n.default)(a);var l=a.replace(/\s/g,"").toUpperCase();return o.toUpperCase()in i&&i[o].test(l)}e.exports=t.default,e.exports.default=t.default})(g$,g$.exports);var Cot=g$.exports,b$={exports:{}},y$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=r(gn);function r(o){return o&&o.__esModule?o:{default:o}}var i=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,s=/^[-+]?[0-9]+$/;function a(o,l){(0,n.default)(o),l=l||{};var c=l.allow_leading_zeroes===!1?i:s,d=!l.hasOwnProperty("min")||o>=l.min,f=!l.hasOwnProperty("max")||o<=l.max,p=!l.hasOwnProperty("lt")||ol.gt;return c.test(o)&&d&&f&&p&&g}e.exports=t.default,e.exports.default=t.default})(y$,y$.exports);var vj=y$.exports;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(vj);function r(s){return s&&s.__esModule?s:{default:s}}function i(s){return(0,n.default)(s,{allow_leading_zeroes:!1,min:0,max:65535})}e.exports=t.default,e.exports.default=t.default})(b$,b$.exports);var Rot=b$.exports,v$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s){return(0,n.default)(s),s===s.toLowerCase()}e.exports=t.default,e.exports.default=t.default})(v$,v$.exports);var Iot=v$.exports,S$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s){return(0,n.default)(s),s===s.toUpperCase()}e.exports=t.default,e.exports.default=t.default})(S$,S$.exports);var Dot=S$.exports,O$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=r(gn);function r(o){return o&&o.__esModule?o:{default:o}}var i=/^[0-9]{15}$/,s=/^\d{2}-\d{6}-\d{6}-\d{1}$/;function a(o,l){(0,n.default)(o),l=l||{};var c=i;if(l.allow_hyphens&&(c=s),!c.test(o))return!1;o=o.replace(/-/g,"");for(var d=0,f=2,p=14,g=0;g=10?d+=w%10+1:d+=w,f===1?f+=1:f-=1}var x=(10-d%10)%10;return x===parseInt(o.substring(14,15),10)}e.exports=t.default,e.exports.default=t.default})(O$,O$.exports);var Not=O$.exports,E$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/^[\x00-\x7F]+$/;function s(a){return(0,n.default)(a),i.test(a)}e.exports=t.default,e.exports.default=t.default})(E$,E$.exports);var Pot=E$.exports,ZE={};Object.defineProperty(ZE,"__esModule",{value:!0});ZE.default=$ot;ZE.fullWidth=void 0;var Lot=Mot(gn);function Mot(e){return e&&e.__esModule?e:{default:e}}var Fot=ZE.fullWidth=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;function $ot(e){return(0,Lot.default)(e),Fot.test(e)}var XE={};Object.defineProperty(XE,"__esModule",{value:!0});XE.default=Hot;XE.halfWidth=void 0;var Bot=Uot(gn);function Uot(e){return e&&e.__esModule?e:{default:e}}var zot=XE.halfWidth=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;function Hot(e){return(0,Bot.default)(e),zot.test(e)}var w$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=s(gn),r=ZE,i=XE;function s(o){return o&&o.__esModule?o:{default:o}}function a(o){return(0,n.default)(o),r.fullWidth.test(o)&&i.halfWidth.test(o)}e.exports=t.default,e.exports.default=t.default})(w$,w$.exports);var qot=w$.exports,x$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/[^\x00-\x7F]/;function s(a){return(0,n.default)(a),i.test(a)}e.exports=t.default,e.exports.default=t.default})(x$,x$.exports);var jot=x$.exports,T$={exports:{}},k$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;function n(r,i){var s=r.join("");return new RegExp(s,i)}e.exports=t.default,e.exports.default=t.default})(k$,k$.exports);var Wot=k$.exports;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=i(gn),r=i(Wot);function i(o){return o&&o.__esModule?o:{default:o}}var s=(0,r.default)(["^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)","(?:-((?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*))*))","?(?:\\+([0-9a-z-]+(?:\\.[0-9a-z-]+)*))?$"],"i");function a(o){return(0,n.default)(o),s.test(o)}e.exports=t.default,e.exports.default=t.default})(T$,T$.exports);var Qot=T$.exports,_$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;function s(a){return(0,n.default)(a),i.test(a)}e.exports=t.default,e.exports.default=t.default})(_$,_$.exports);var Vot=_$.exports,A$={exports:{}},C$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(i,s){return i.some(function(a){return s===a})};t.default=n,e.exports=t.default,e.exports.default=t.default})(C$,C$.exports);var Got=C$.exports;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var n=a(Au),r=a(gn),i=a(Got),s=oa;function a(f){return f&&f.__esModule?f:{default:f}}function o(f){var p=new RegExp("^[-+]?([0-9]+)?(\\".concat(s.decimal[f.locale],"[0-9]{").concat(f.decimal_digits,"})").concat(f.force_decimal?"":"?","$"));return p}var l={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},c=["","-","+"];function d(f,p){if((0,r.default)(f),p=(0,n.default)(p,l),p.locale in s.decimal)return!(0,i.default)(c,f.replace(/ /g,""))&&o(p).test(f);throw new Error("Invalid locale '".concat(p.locale,"'"))}e.exports=t.default,e.exports.default=t.default})(A$,A$.exports);var Yot=A$.exports,R$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/^(0x|0h)?[0-9A-F]+$/i;function s(a){return(0,n.default)(a),i.test(a)}e.exports=t.default,e.exports.default=t.default})(R$,R$.exports);var Rye=R$.exports,I$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/^(0o)?[0-7]+$/i;function s(a){return(0,n.default)(a),i.test(a)}e.exports=t.default,e.exports.default=t.default})(I$,I$.exports);var Zot=I$.exports,D$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=i(gn),r=i(Tye);function i(a){return a&&a.__esModule?a:{default:a}}function s(a,o){return(0,n.default)(a),(0,r.default)(a)%parseInt(o,10)===0}e.exports=t.default,e.exports.default=t.default})(D$,D$.exports);var Xot=D$.exports,N$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;function s(a){return(0,n.default)(a),i.test(a)}e.exports=t.default,e.exports.default=t.default})(N$,N$.exports);var Kot=N$.exports,P$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=r(gn);function r(c){return c&&c.__esModule?c:{default:c}}var i=/^rgb\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){2}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\)$/,s=/^rgba\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/,a=/^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9]%|100%)\)$/,o=/^rgba\((([0-9]%|[1-9][0-9]%|100%),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/;function l(c){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,n.default)(c),d?i.test(c)||s.test(c)||a.test(c)||o.test(c):i.test(c)||s.test(c)}e.exports=t.default,e.exports.default=t.default})(P$,P$.exports);var Jot=P$.exports,L$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=r(gn);function r(o){return o&&o.__esModule?o:{default:o}}var i=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(,(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}(,((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?))?\)$/i,s=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(\s(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s?(\/\s((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s?)?\)$/i;function a(o){(0,n.default)(o);var l=o.replace(/\s+/g," ").replace(/\s?(hsla?\(|\)|,)\s?/ig,"$1");return l.indexOf(",")!==-1?i.test(l):s.test(l)}e.exports=t.default,e.exports.default=t.default})(L$,L$.exports);var elt=L$.exports,M$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;function s(a){return(0,n.default)(a),i.test(a)}e.exports=t.default,e.exports.default=t.default})(M$,M$.exports);var tlt=M$.exports,hA={};Object.defineProperty(hA,"__esModule",{value:!0});hA.default=olt;hA.locales=void 0;var nlt=rlt(gn);function rlt(e){return e&&e.__esModule?e:{default:e}}var EI={AD:/^(AD[0-9]{2})\d{8}[A-Z0-9]{12}$/,AE:/^(AE[0-9]{2})\d{3}\d{16}$/,AL:/^(AL[0-9]{2})\d{8}[A-Z0-9]{16}$/,AT:/^(AT[0-9]{2})\d{16}$/,AZ:/^(AZ[0-9]{2})[A-Z0-9]{4}\d{20}$/,BA:/^(BA[0-9]{2})\d{16}$/,BE:/^(BE[0-9]{2})\d{12}$/,BG:/^(BG[0-9]{2})[A-Z]{4}\d{6}[A-Z0-9]{8}$/,BH:/^(BH[0-9]{2})[A-Z]{4}[A-Z0-9]{14}$/,BR:/^(BR[0-9]{2})\d{23}[A-Z]{1}[A-Z0-9]{1}$/,BY:/^(BY[0-9]{2})[A-Z0-9]{4}\d{20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17}$/,UA:/^(UA[0-9]{2})\d{6}[A-Z0-9]{19}$/,VA:/^(VA[0-9]{2})\d{18}$/,VG:/^(VG[0-9]{2})[A-Z0-9]{4}\d{16}$/,XK:/^(XK[0-9]{2})\d{16}$/};function ilt(e){var t=e.filter(function(n){return!(n in EI)});return!(t.length>0)}function slt(e,t){var n=e.replace(/[\s\-]+/gi,"").toUpperCase(),r=n.slice(0,2).toUpperCase(),i=r in EI;if(t.whitelist){if(!ilt(t.whitelist))return!1;var s=t.whitelist.includes(r);if(!s)return!1}if(t.blacklist){var a=t.blacklist.includes(r);if(a)return!1}return i&&EI[r].test(n)}function alt(e){var t=e.replace(/[^A-Z0-9]+/gi,"").toUpperCase(),n=t.slice(4)+t.slice(0,4),r=n.replace(/[A-Z]/g,function(s){return s.charCodeAt(0)-55}),i=r.match(/\d{1,7}/g).reduce(function(s,a){return Number(s+a)%97},"");return i===1}function olt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,nlt.default)(e),slt(e,t)&&alt(e)}hA.locales=Object.keys(EI);var F$={exports:{}},KE={};Object.defineProperty(KE,"__esModule",{value:!0});KE.CountryCodes=void 0;KE.default=clt;var llt=ult(gn);function ult(e){return e&&e.__esModule?e:{default:e}}var Iye=new Set(["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]);function clt(e){return(0,llt.default)(e),Iye.has(e.toUpperCase())}KE.CountryCodes=Iye;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=i(gn),r=KE;function i(o){return o&&o.__esModule?o:{default:o}}var s=/^[A-Za-z]{6}[A-Za-z0-9]{2}([A-Za-z0-9]{3})?$/;function a(o){(0,n.default)(o);var l=o.slice(4,6).toUpperCase();return!r.CountryCodes.has(l)&&l!=="XK"?!1:s.test(o)}e.exports=t.default,e.exports.default=t.default})(F$,F$.exports);var dlt=F$.exports,$$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/^[a-f0-9]{32}$/;function s(a){return(0,n.default)(a),i.test(a)}e.exports=t.default,e.exports.default=t.default})($$,$$.exports);var flt=$$.exports,B$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};function s(a,o){(0,n.default)(a);var l=new RegExp("^[a-fA-F0-9]{".concat(i[o],"}$"));return l.test(a)}e.exports=t.default,e.exports.default=t.default})(B$,B$.exports);var hlt=B$.exports,U$={exports:{}},z$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=i(gn),r=i(Au);function i(c){return c&&c.__esModule?c:{default:c}}var s=/[^A-Z0-9+\/=]/i,a=/^[A-Z0-9_\-]*$/i,o={urlSafe:!1};function l(c,d){(0,n.default)(c),d=(0,r.default)(d,o);var f=c.length;if(d.urlSafe)return a.test(c);if(f%4!==0||s.test(c))return!1;var p=c.indexOf("=");return p===-1||p===f-1||p===f-2&&c[f-1]==="="}e.exports=t.default,e.exports.default=t.default})(z$,z$.exports);var Dye=z$.exports;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=i(gn),r=i(Dye);function i(a){return a&&a.__esModule?a:{default:a}}function s(a){(0,n.default)(a);var o=a.split("."),l=o.length;return l!==3?!1:o.reduce(function(c,d){return c&&(0,r.default)(d,{urlSafe:!0})},!0)}e.exports=t.default,e.exports.default=t.default})(U$,U$.exports);var plt=U$.exports,H$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=i(gn),r=i(Au);function i(l){return l&&l.__esModule?l:{default:l}}function s(l){"@babel/helpers - typeof";return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},s(l)}var a={allow_primitives:!1};function o(l,c){(0,n.default)(l);try{c=(0,r.default)(c,a);var d=[];c.allow_primitives&&(d=[null,!1,!0]);var f=JSON.parse(l);return d.includes(f)||!!f&&s(f)==="object"}catch{}return!1}e.exports=t.default,e.exports.default=t.default})(H$,H$.exports);var mlt=H$.exports,q$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=i(gn),r=i(Au);function i(o){return o&&o.__esModule?o:{default:o}}var s={ignore_whitespace:!1};function a(o,l){return(0,n.default)(o),l=(0,r.default)(l,s),(l.ignore_whitespace?o.trim().length:o.length)===0}e.exports=t.default,e.exports.default=t.default})(q$,q$.exports);var glt=q$.exports,j$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}function i(a){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},i(a)}function s(a,o){(0,n.default)(a);var l,c;i(o)==="object"?(l=o.min||0,c=o.max):(l=arguments[1]||0,c=arguments[2]);var d=a.match(/(\uFE0F|\uFE0E)/g)||[],f=a.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],p=a.length-d.length-f.length;return p>=l&&(typeof c>"u"||p<=c)}e.exports=t.default,e.exports.default=t.default})(j$,j$.exports);var blt=j$.exports,W$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i={1:/^[0-9A-F]{8}-[0-9A-F]{4}-1[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,2:/^[0-9A-F]{8}-[0-9A-F]{4}-2[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,7:/^[0-9A-F]{8}-[0-9A-F]{4}-7[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};function s(a,o){(0,n.default)(a);var l=i[[void 0,null].includes(o)?"all":o];return!!l&&l.test(a)}e.exports=t.default,e.exports.default=t.default})(W$,W$.exports);var ylt=W$.exports,Q$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=i(gn),r=i(Rye);function i(a){return a&&a.__esModule?a:{default:a}}function s(a){return(0,n.default)(a),(0,r.default)(a)&&a.length===24}e.exports=t.default,e.exports.default=t.default})(Q$,Q$.exports);var vlt=Q$.exports,V$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(bj);function r(s){return s&&s.__esModule?s:{default:s}}function i(s,a){var o=(a==null?void 0:a.comparisonDate)||a||Date().toString(),l=(0,n.default)(o),c=(0,n.default)(s);return!!(c&&l&&c>l)}e.exports=t.default,e.exports.default=t.default})(V$,V$.exports);var Slt=V$.exports,G$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=i(gn),r=i(bj);function i(a){return a&&a.__esModule?a:{default:a}}function s(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:String(new Date);(0,n.default)(a);var l=(0,r.default)(o),c=(0,r.default)(a);return!!(c&&l&&c=0}else{if(s(l)==="object")return l.hasOwnProperty(o);if(l&&typeof l.indexOf=="function")return l.indexOf(o)>=0}return!1}e.exports=t.default,e.exports.default=t.default})(Y$,Y$.exports);var Elt=Y$.exports,Z$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s){(0,n.default)(s);for(var a=s.replace(/[- ]+/g,""),o=0,l,c,d,f=a.length-1;f>=0;f--)l=a.substring(f,f+1),c=parseInt(l,10),d?(c*=2,c>=10?o+=c%10+1:o+=c):o+=c,d=!d;return!!(o%10===0&&a)}e.exports=t.default,e.exports.default=t.default})(Z$,Z$.exports);var Nye=Z$.exports,X$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=i(gn),r=i(Nye);function i(l){return l&&l.__esModule?l:{default:l}}var s={amex:/^3[47][0-9]{13}$/,dinersclub:/^3(?:0[0-5]|[68][0-9])[0-9]{11}$/,discover:/^6(?:011|5[0-9][0-9])[0-9]{12,15}$/,jcb:/^(?:2131|1800|35\d{3})\d{11}$/,mastercard:/^5[1-5][0-9]{2}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}$/,unionpay:/^(6[27][0-9]{14}|^(81[0-9]{14,17}))$/,visa:/^(?:4[0-9]{12})(?:[0-9]{3,6})?$/},a=function(){var l=[];for(var c in s)s.hasOwnProperty(c)&&l.push(s[c]);return l}();function o(l){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,n.default)(l);var d=c.provider,f=l.replace(/[- ]+/g,"");if(d&&d.toLowerCase()in s){if(!s[d.toLowerCase()].test(f))return!1}else{if(d&&!(d.toLowerCase()in s))throw new Error("".concat(d," is not a valid credit card provider."));if(!a.some(function(p){return p.test(f)}))return!1}return(0,r.default)(l)}e.exports=t.default,e.exports.default=t.default})(X$,X$.exports);var wlt=X$.exports,K$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=i(gn),r=i(vj);function i(o){return o&&o.__esModule?o:{default:o}}var s={PL:function(l){(0,n.default)(l);var c={1:1,2:3,3:7,4:9,5:1,6:3,7:7,8:9,9:1,10:3,11:0};if(l!=null&&l.length===11&&(0,r.default)(l,{allow_leading_zeroes:!0})){var d=l.split("").slice(0,-1),f=d.reduce(function(b,w,x){return b+Number(w)*c[x+1]},0),p=f%10,g=Number(l.charAt(l.length-1));if(p===0&&g===0||g===10-p)return!0}return!1},ES:function(l){(0,n.default)(l);var c=/^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/,d={X:0,Y:1,Z:2},f=["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"],p=l.trim().toUpperCase();if(!c.test(p))return!1;var g=p.slice(0,-1).replace(/[X,Y,Z]/g,function(b){return d[b]});return p.endsWith(f[g%23])},FI:function(l){if((0,n.default)(l),l.length!==11||!l.match(/^\d{6}[\-A\+]\d{3}[0-9ABCDEFHJKLMNPRSTUVWXY]{1}$/))return!1;var c="0123456789ABCDEFHJKLMNPRSTUVWXY",d=parseInt(l.slice(0,6),10)*1e3+parseInt(l.slice(7,10),10),f=d%31,p=c[f];return p===l.slice(10,11)},IN:function(l){var c=/^[1-9]\d{3}\s?\d{4}\s?\d{4}$/,d=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],f=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],p=l.trim();if(!c.test(p))return!1;var g=0,b=p.replace(/\s/g,"").split("").map(Number).reverse();return b.forEach(function(w,x){g=d[g][f[x%8][w]]}),g===0},IR:function(l){if(!l.match(/^\d{10}$/)||(l="0000".concat(l).slice(l.length-6),parseInt(l.slice(3,9),10)===0))return!1;for(var c=parseInt(l.slice(9,10),10),d=0,f=0;f<9;f++)d+=parseInt(l.slice(f,f+1),10)*(10-f);return d%=11,d<2&&c===d||d>=2&&c===11-d},IT:function(l){return l.length!==9||l==="CA00000AA"?!1:l.search(/C[A-Z]\d{5}[A-Z]{2}/i)>-1},NO:function(l){var c=l.trim();if(isNaN(Number(c))||c.length!==11||c==="00000000000")return!1;var d=c.split("").map(Number),f=(11-(3*d[0]+7*d[1]+6*d[2]+1*d[3]+8*d[4]+9*d[5]+4*d[6]+5*d[7]+2*d[8])%11)%11,p=(11-(5*d[0]+4*d[1]+3*d[2]+2*d[3]+7*d[4]+6*d[5]+5*d[6]+4*d[7]+3*d[8]+2*f)%11)%11;return!(f!==d[9]||p!==d[10])},TH:function(l){if(!l.match(/^[1-8]\d{12}$/))return!1;for(var c=0,d=0;d<12;d++)c+=parseInt(l[d],10)*(13-d);return l[12]===((11-c%11)%10).toString()},LK:function(l){var c=/^[1-9]\d{8}[vx]$/i,d=/^[1-9]\d{11}$/i;return l.length===10&&c.test(l)?!0:!!(l.length===12&&d.test(l))},"he-IL":function(l){var c=/^\d{9}$/,d=l.trim();if(!c.test(d))return!1;for(var f=d,p=0,g,b=0;b9?g-9:g;return p%10===0},"ar-LY":function(l){var c=/^(1|2)\d{11}$/,d=l.trim();return!!c.test(d)},"ar-TN":function(l){var c=/^\d{8}$/,d=l.trim();return!!c.test(d)},"zh-CN":function(l){var c=["11","12","13","14","15","21","22","23","31","32","33","34","35","36","37","41","42","43","44","45","46","50","51","52","53","54","61","62","63","64","65","71","81","82","91"],d=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],f=["1","0","X","9","8","7","6","5","4","3","2"],p=function(I){return c.includes(I)},g=function(I){var M=parseInt(I.substring(0,4),10),$=parseInt(I.substring(4,6),10),B=parseInt(I.substring(6),10),j=new Date(M,$-1,B);return j>new Date?!1:j.getFullYear()===M&&j.getMonth()===$-1&&j.getDate()===B},b=function(I){for(var M=I.substring(0,17),$=0,B=0;B<17;B++)$+=parseInt(M.charAt(B),10)*parseInt(d[B],10);var j=$%11;return f[j]},w=function(I){return b(I)===I.charAt(17).toUpperCase()},x=function(I){var M=/^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(I);if(!M)return!1;var $=I.substring(0,2);if(M=p($),!M)return!1;var B="19".concat(I.substring(6,12));return M=g(B),!!M},T=function(I){var M=/^[1-9]\d{5}[1-9]\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}(\d|x|X)$/.test(I);if(!M)return!1;var $=I.substring(0,2);if(M=p($),!M)return!1;var B=I.substring(6,14);return M=g(B),M?w(I):!1},_=function(I){var M=/^\d{15}|(\d{17}(\d|x|X))$/.test(I);return M?I.length===15?x(I):T(I):!1};return _(l)},"zh-HK":function(l){l=l.trim();var c=/^[A-Z]{1,2}[0-9]{6}((\([0-9A]\))|(\[[0-9A]\])|([0-9A]))$/,d=/^[0-9]$/;if(l=l.toUpperCase(),!c.test(l))return!1;l=l.replace(/\[|\]|\(|\)/g,""),l.length===8&&(l="3".concat(l));for(var f=0,p=0;p<=7;p++){var g=void 0;d.test(l[p])?g=l[p]:g=(l[p].charCodeAt(0)-55)%11,f+=g*(9-p)}f%=11;var b;return f===0?b="0":f===1?b="A":b=String(11-f),b===l[l.length-1]},"zh-TW":function(l){var c={A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:34,J:18,K:19,L:20,M:21,N:22,O:35,P:23,Q:24,R:25,S:26,T:27,U:28,V:29,W:32,X:30,Y:31,Z:33},d=l.trim().toUpperCase();return/^[A-Z][0-9]{9}$/.test(d)?Array.from(d).reduce(function(f,p,g){if(g===0){var b=c[p];return b%10*9+Math.floor(b/10)}return g===9?(10-f%10-Number(p))%10===0:f+Number(p)*(9-g)},0):!1}};function a(o,l){if((0,n.default)(o),l in s)return s[l](o);if(l==="any"){for(var c in s)if(s.hasOwnProperty(c)){var d=s[c];if(d(o))return!0}return!1}throw new Error("Invalid locale '".concat(l,"'"))}e.exports=t.default,e.exports.default=t.default})(K$,K$.exports);var xlt=K$.exports,J$={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var n=r(gn);function r(d){return d&&d.__esModule?d:{default:d}}var i=8,s=14,a=/^(\d{8}|\d{13}|\d{14})$/;function o(d,f){return d===i||d===s?f%2===0?3:1:f%2===0?1:3}function l(d){var f=d.slice(0,-1).split("").map(function(g,b){return Number(g)*o(d.length,b)}).reduce(function(g,b){return g+b},0),p=10-f%10;return p<10?p:0}function c(d){(0,n.default)(d);var f=Number(d.slice(-1));return a.test(d)&&f===l(d)}e.exports=t.default,e.exports.default=t.default})(J$,J$.exports);var Tlt=J$.exports,eB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;function s(a){if((0,n.default)(a),!i.test(a))return!1;for(var o=!0,l=0,c=a.length-2;c>=0;c--)if(a[c]>="A"&&a[c]<="Z")for(var d=a[c].charCodeAt(0)-55,f=d%10,p=Math.trunc(d/10),g=0,b=[f,p];g=5?l+=1+(w-5)*2:l+=w*2:l+=w,o=!o}else{var x=a[c].charCodeAt(0)-48;o?x>=5?l+=1+(x-5)*2:l+=x*2:l+=x,o=!o}var T=Math.trunc((l+9)/10)*10-l;return+a[a.length-1]===T}e.exports=t.default,e.exports.default=t.default})(eB,eB.exports);var klt=eB.exports,tB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=r(gn);function r(l){return l&&l.__esModule?l:{default:l}}var i=/^(?:[0-9]{9}X|[0-9]{10})$/,s=/^(?:[0-9]{13})$/,a=[1,3];function o(l,c){(0,n.default)(l);var d=String((c==null?void 0:c.version)||c);if(!(c!=null&&c.version||c))return o(l,{version:10})||o(l,{version:13});var f=l.replace(/[\s-]+/g,""),p=0;if(d==="10"){if(!i.test(f))return!1;for(var g=0;g1&&arguments[1]!==void 0?arguments[1]:{};(0,n.default)(a);var l=i;if(l=o.require_hyphen?l.replace("?",""):l,l=o.case_sensitive?new RegExp(l):new RegExp(l,"i"),!l.test(a))return!1;for(var c=a.replace("-","").toUpperCase(),d=0,f=0;f=0;r--){if(n){var i=parseInt(e[r],10)*2;i>9?t+=i.toString().split("").map(function(s){return parseInt(s,10)}).reduce(function(s,a){return s+a},0):t+=i}else t+=parseInt(e[r],10);n=!n}return t%10===0}function Ilt(e,t){for(var n=0,r=0;rte.length)&&(de=te.length);for(var we=0,We=new Array(de);we40?(we-=40,de="20".concat(de)):we>20?(we-=20,de="18".concat(de)):de="19".concat(de),we<10&&(we="0".concat(we));var We="".concat(de,"/").concat(we,"/").concat(te.slice(4,6));if(!(0,s.default)(We,"YYYY/MM/DD"))return!1;for(var Ke=te.split("").map(function(Be){return parseInt(Be,10)}),xe=[2,4,8,5,10,9,7,3,6],Qe=0,yt=0;yt50&&(we-=50),we>20){if(parseInt(de,10)<2004)return!1;we-=20}we<10&&(we="0".concat(we));var We="".concat(de,"/").concat(we,"/").concat(te.slice(4,6));if(!(0,s.default)(We,"YYYY/MM/DD"))return!1;if(te.length===10&&parseInt(te,10)%11!==0){var Ke=parseInt(te.slice(0,9),10)%11;if(parseInt(de,10)<1986&&Ke===10){if(parseInt(te.slice(9),10)!==0)return!1}else return!1}return!0}function _(te){return i.luhnCheck(te)}function C(te){for(var de=te.split("").map(function(Be){return parseInt(Be,10)}),we=[],We=0;We1}),we.length!==2&&we.length!==3)return!1;if(we[0].length===3){for(var xe=we[0].split("").map(function(Be){return parseInt(Be,10)}),Qe=0,yt=0;yt58)de="18".concat(de);else return!1;break}de.length===3&&(de=[de.slice(0,2),"0",de.slice(2)].join(""));var We="".concat(de,"/").concat(te.slice(2,4),"/").concat(te.slice(0,2));if(!(0,s.default)(We,"YYYY/MM/DD"))return!1;for(var Ke=te.split("").map(function(Be){return parseInt(Be,10)}),xe=0,Qe=4,yt=0;yt<9;yt++)xe+=Ke[yt]*Qe,Qe-=1,Qe===1&&(Qe=7);return xe%=11,xe===1?!1:xe===0?Ke[9]===0:Ke[9]===11-xe}function M(te){for(var de=te.slice(0,8).split("").map(function(xe){return parseInt(xe,10)}),we=0,We=1;We4&&(we+=2));return String.fromCharCode(we%26+65)===te.charAt(8)}function $(te){for(var de=te.split("").map(function(Ke){return parseInt(Ke,10)}),we=0,We=0;We<8;We++)we+=de[We]*Math.pow(2,8-We);return we%11%10===de[8]}function B(te){var de=i.reverseMultiplyAndSum(te.split("").slice(0,7).map(function(we){return parseInt(we,10)}),8);return te.length===9&&te[8]!=="W"&&(de+=(te[8].charCodeAt(0)-64)*9),de%=23,de===0?te[7].toUpperCase()==="W":te[7].toUpperCase()===String.fromCharCode(64+de)}var j={andover:["10","12"],atlanta:["60","67"],austin:["50","53"],brookhaven:["01","02","03","04","05","06","11","13","14","16","21","22","23","25","34","51","52","54","55","56","57","58","59","65"],cincinnati:["30","32","35","36","37","38","61"],fresno:["15","24"],internet:["20","26","27","45","46","47"],kansas:["40","44"],memphis:["94","95"],ogden:["80","90"],philadelphia:["33","39","41","42","43","46","48","62","63","64","66","68","71","72","73","74","75","76","77","81","82","83","84","85","86","87","88","91","92","93","98","99"],sba:["31"]};function F(){var te=[];for(var de in j)j.hasOwnProperty(de)&&te.push.apply(te,c(j[de]));return te}function V(te){return F().indexOf(te.slice(0,2))!==-1}function ie(te){for(var de=0,we=te.split(""),We=parseInt(we.pop(),10),Ke=0;Ke1){var we=0;switch(de[0]){case"Y":we=1;break;case"Z":we=2;break}de.splice(0,1,we)}else for(;de.length<9;)de.unshift(0);var We=["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"];de=de.join("");var Ke=parseInt(de.slice(0,8),10)%23;return de[8]===We[Ke]}function me(te){var de=te.slice(1,3),we=te.slice(0,1);switch(we){case"1":case"2":de="18".concat(de);break;case"3":case"4":de="19".concat(de);break;default:de="20".concat(de);break}var We="".concat(de,"/").concat(te.slice(3,5),"/").concat(te.slice(5,7));if(!(0,s.default)(We,"YYYY/MM/DD"))return!1;for(var Ke=te.split("").map(function(Ne){return parseInt(Ne,10)}),xe=0,Qe=1,yt=0;yt<10;yt++)xe+=Ke[yt]*Qe,Qe+=1,Qe===10&&(Qe=1);if(xe%11===10){xe=0,Qe=3;for(var Be=0;Be<10;Be++)xe+=Ke[Be]*Qe,Qe+=1,Qe===10&&(Qe=1);if(xe%11===10)return Ke[10]===0}return xe%11===Ke[10]}function fe(te){var de=te.slice(4,6),we=te.slice(6,7);switch(we){case"+":de="18".concat(de);break;case"-":de="19".concat(de);break;default:de="20".concat(de);break}var We="".concat(de,"/").concat(te.slice(2,4),"/").concat(te.slice(0,2));if(!(0,s.default)(We,"YYYY/MM/DD"))return!1;var Ke=parseInt(te.slice(0,6)+te.slice(7,10),10)%31;if(Ke<10)return Ke===parseInt(te.slice(10),10);Ke-=10;var xe=["A","B","C","D","E","F","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y"];return xe[Ke]===te.slice(10)}function le(te){if(te.slice(2,4)!=="00"||te.slice(4,6)!=="00"){var de="".concat(te.slice(0,2),"/").concat(te.slice(2,4),"/").concat(te.slice(4,6));if(!(0,s.default)(de,"YY/MM/DD"))return!1}var we=97-parseInt(te.slice(0,9),10)%97,We=parseInt(te.slice(9,11),10);return!(we!==We&&(we=97-parseInt("2".concat(te.slice(0,9)),10)%97,we!==We))}function ye(te){te=te.replace(/\s/g,"");var de=parseInt(te.slice(0,10),10)%511,we=parseInt(te.slice(10,13),10);return de===we}function ae(te){var de="".concat(te.slice(0,4),"/").concat(te.slice(4,6),"/").concat(te.slice(6,8));return!(0,s.default)(de,"YYYY/MM/DD")||!i.luhnCheck(te.slice(0,12))?!1:i.verhoeffCheck("".concat(te.slice(0,11)).concat(te[12]))}function Se(te){return i.iso7064Check(te)}function he(te){for(var de=te.split("").map(function(Ke){return parseInt(Ke,10)}),we=8,We=1;We<9;We++)we+=de[We]*(We+1);return we%11===de[9]}function re(te){for(var de=!1,we=!1,We=0;We<3;We++)if(!de&&/[AEIOU]/.test(te[We]))de=!0;else if(!we&&de&&te[We]==="X")we=!0;else if(We>0&&(de&&!we&&!/[AEIOU]/.test(te[We])||we&&!/X/.test(te[We])))return!1;return!0}function Fe(te){var de=te.toUpperCase().split("");if(!re(de.slice(0,3))||!re(de.slice(3,6)))return!1;for(var we=[6,7,9,10,12,13,14],We={L:"0",M:"1",N:"2",P:"3",Q:"4",R:"5",S:"6",T:"7",U:"8",V:"9"},Ke=0,xe=we;Ke40&&(Ne-=40),Ne<10&&(Ne="0".concat(Ne));var rt="".concat(de[6]).concat(de[7],"/").concat(Be,"/").concat(Ne);if(!(0,s.default)(rt,"YY/MM/DD"))return!1;for(var pt=0,Dt=1;Dt4&&(kt+=2)}pt+=kt}return String.fromCharCode(65+pt%26)===de[15]}function je(te){te=te.replace(/\W/,"");var de=te.slice(0,2);if(de!=="32"){var we=te.slice(2,4);if(we!=="00"){var We=te.slice(4,6);switch(te[6]){case"0":We="18".concat(We);break;case"1":We="19".concat(We);break;default:We="20".concat(We);break}var Ke="".concat(We,"/").concat(te.slice(2,4),"/").concat(de);if(!(0,s.default)(Ke,"YYYY/MM/DD"))return!1}for(var xe=1101,Qe=[1,6,3,7,9,10,5,8,4,2],yt=0;yt32e3)return!1;var We=parseInt(de.join("").slice(5,7),10);if(we===We)return!1}}}return!0}function tt(te){return i.reverseMultiplyAndSum(te.split("").slice(0,8).map(function(de){return parseInt(de,10)}),9)%11===parseInt(te[8],10)}function St(te){if(te.length===10){for(var de=[6,5,7,2,3,4,5,6,7],we=0,We=0;We80?(Ke="18".concat(Ke),xe-=80):xe>60?(Ke="22".concat(Ke),xe-=60):xe>40?(Ke="21".concat(Ke),xe-=40):xe>20?(Ke="20".concat(Ke),xe-=20):Ke="19".concat(Ke),xe<10&&(xe="0".concat(xe));var Qe="".concat(Ke,"/").concat(xe,"/").concat(te.slice(4,6));if(!(0,s.default)(Qe,"YYYY/MM/DD"))return!1;for(var yt=0,Be=1,Ne=0;Ne10?Be=1:Be===5&&(Be+=2);return yt=10-yt%10,yt===parseInt(te[10],10)}function Ze(te){if(te.length===11){var de,we;if(de=0,te==="11111111111"||te==="22222222222"||te==="33333333333"||te==="44444444444"||te==="55555555555"||te==="66666666666"||te==="77777777777"||te==="88888888888"||te==="99999999999"||te==="00000000000")return!1;for(var We=1;We<=9;We++)de+=parseInt(te.substring(We-1,We),10)*(11-We);if(we=de*10%11,we===10&&(we=0),we!==parseInt(te.substring(9,10),10))return!1;de=0;for(var Ke=1;Ke<=10;Ke++)de+=parseInt(te.substring(Ke-1,Ke),10)*(12-Ke);return we=de*10%11,we===10&&(we=0),we===parseInt(te.substring(10,11),10)}if(te==="00000000000000"||te==="11111111111111"||te==="22222222222222"||te==="33333333333333"||te==="44444444444444"||te==="55555555555555"||te==="66666666666666"||te==="77777777777777"||te==="88888888888888"||te==="99999999999999")return!1;for(var xe=te.length-2,Qe=te.substring(0,xe),yt=te.substring(xe),Be=0,Ne=xe-7,rt=xe;rt>=1;rt--)Be+=Qe.charAt(xe-rt)*Ne,Ne-=1,Ne<2&&(Ne=9);var pt=Be%11<2?0:11-Be%11;if(pt!==parseInt(yt.charAt(0),10))return!1;xe+=1,Qe=te.substring(0,xe),Be=0,Ne=xe-7;for(var Dt=xe;Dt>=1;Dt--)Be+=Qe.charAt(xe-Dt)*Ne,Ne-=1,Ne<2&&(Ne=9);return pt=Be%11<2?0:11-Be%11,pt===parseInt(yt.charAt(1),10)}function qt(te){var de=11-i.reverseMultiplyAndSum(te.split("").slice(0,8).map(function(we){return parseInt(we,10)}),9)%11;return de>9?parseInt(te[8],10)===0:de===parseInt(te[8],10)}function xt(te){if(te.slice(0,4)!=="9000"){var de=te.slice(1,3);switch(te[0]){case"1":case"2":de="19".concat(de);break;case"3":case"4":de="18".concat(de);break;case"5":case"6":de="20".concat(de);break}var we="".concat(de,"/").concat(te.slice(3,5),"/").concat(te.slice(5,7));if(we.length===8){if(!(0,s.default)(we,"YY/MM/DD"))return!1}else if(!(0,s.default)(we,"YYYY/MM/DD"))return!1;for(var We=te.split("").map(function(yt){return parseInt(yt,10)}),Ke=[2,7,9,1,4,6,3,5,8,2,7,9],xe=0,Qe=0;Qe53)return!1;de<10?de="190".concat(de):de="19".concat(de);var we=parseInt(te.slice(2,4),10);we>50&&(we-=50),we<10&&(we="0".concat(we));var We="".concat(de,"/").concat(we,"/").concat(te.slice(4,6));if(!(0,s.default)(We,"YYYY/MM/DD"))return!1}return!0}function Ht(te){var de=11-i.reverseMultiplyAndSum(te.split("").slice(0,7).map(function(we){return parseInt(we,10)}),8)%11;return de===10?parseInt(te[7],10)===0:de===parseInt(te[7],10)}function Jt(te){var de=te.slice(0);te.length>11&&(de=de.slice(2));var we="",We=de.slice(2,4),Ke=parseInt(de.slice(4,6),10);if(te.length>11)we=te.slice(0,4);else if(we=te.slice(0,2),te.length===11&&Ke<60){var xe=new Date().getFullYear().toString(),Qe=parseInt(xe.slice(0,2),10);if(xe=parseInt(xe,10),te[6]==="-")parseInt("".concat(Qe).concat(we),10)>xe?we="".concat(Qe-1).concat(we):we="".concat(Qe).concat(we);else if(we="".concat(Qe-1).concat(we),xe-parseInt(we,10)<100)return!1}Ke>60&&(Ke-=60),Ke<10&&(Ke="0".concat(Ke));var yt="".concat(we,"/").concat(We,"/").concat(Ke);if(yt.length===8){if(!(0,s.default)(yt,"YY/MM/DD"))return!1}else if(!(0,s.default)(yt,"YYYY/MM/DD"))return!1;return i.luhnCheck(te.replace(/\W/,""))}function Vt(te){for(var de=te.split("").map(function(xe){return parseInt(xe,10)}),we=[-1,5,7,9,4,6,10,5,7],We=0,Ke=0;Ke1&&arguments[1]!==void 0?arguments[1]:"en-US";(0,r.default)(te);var we=te.slice(0);if(de in en)return de in Ut&&(we=we.replace(Ut[de],"")),en[de].test(we)?de in Ct?Ct[de](we):!0:!1;throw new Error("Invalid locale '".concat(de,"'"))}e.exports=t.default,e.exports.default=t.default})(rB,rB.exports);var Nlt=rB.exports,pA={};Object.defineProperty(pA,"__esModule",{value:!0});pA.default=Mlt;pA.locales=void 0;var Plt=Llt(gn);function Llt(e){return e&&e.__esModule?e:{default:e}}var la={"am-AM":/^(\+?374|0)(33|4[134]|55|77|88|9[13-689])\d{6}$/,"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-BH":/^(\+?973)?(3|6)\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-LB":/^(\+?961)?((3|81)\d{6}|7\d{7})$/,"ar-EG":/^((\+?20)|0)?1[0125]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)([569]\d{7}|41\d{6})$/,"ar-LY":/^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/,"ar-MA":/^(?:(?:\+|00)212|0)[5-7]\d{8}$/,"ar-OM":/^((\+|00)968)?(9[1-9])\d{6}$/,"ar-PS":/^(\+?970|0)5[6|9](\d{7})$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SD":/^((\+?249)|0)?(9[012369]|1[012])\d{7}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"az-AZ":/^(\+994|0)(10|5[015]|7[07]|99)\d{7}$/,"bs-BA":/^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/^(\+?880|0)1[13456789][0-9]{8}$/,"ca-AD":/^(\+376)?[346]\d{5}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^((\+49|0)1)(5[0-25-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7,9}$/,"de-AT":/^(\+43|0)\d{1,4}\d{3,12}$/,"de-CH":/^(\+41|0)([1-9])\d{1,9}$/,"de-LU":/^(\+352)?((6\d1)\d{6})$/,"dv-MV":/^(\+?960)?(7[2-9]|9[1-9])\d{5}$/,"el-GR":/^(\+?30|0)?6(8[5-9]|9(?![26])[0-9])\d{7}$/,"el-CY":/^(\+?357?)?(9(9|6)\d{6})$/,"en-AI":/^(\+?1|0)264(?:2(35|92)|4(?:6[1-2]|76|97)|5(?:3[6-9]|8[1-4])|7(?:2(4|9)|72))\d{4}$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-AG":/^(?:\+1|1)268(?:464|7(?:1[3-9]|[28]\d|3[0246]|64|7[0-689]))\d{4}$/,"en-BM":/^(\+?1)?441(((3|7)\d{6}$)|(5[0-3][0-9]\d{4}$)|(59\d{5}$))/,"en-BS":/^(\+?1[-\s]?|0)?\(?242\)?[-\s]?\d{3}[-\s]?\d{4}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GG":/^(\+?44|0)1481\d{6}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28|55|59)\d{7}$/,"en-GY":/^(\+592|0)6\d{6}$/,"en-HK":/^(\+?852[-\s]?)?[456789]\d{3}[-\s]?\d{4}$/,"en-MO":/^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-JM":/^(\+?876)?\d{7}$/,"en-KE":/^(\+?254|0)(7|1)\d{8}$/,"fr-CF":/^(\+?236| ?)(70|75|77|72|21|22)\d{6}$/,"en-SS":/^(\+?211|0)(9[1257])\d{7}$/,"en-KI":/^((\+686|686)?)?( )?((6|7)(2|3|8)[0-9]{6})$/,"en-KN":/^(?:\+1|1)869(?:46\d|48[89]|55[6-8]|66\d|76[02-7])\d{4}$/,"en-LS":/^(\+?266)(22|28|57|58|59|27|52)\d{6}$/,"en-MT":/^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-MW":/^(\+?265|0)(((77|88|31|99|98|21)\d{7})|(((111)|1)\d{6})|(32000\d{4}))$/,"en-NA":/^(\+?264|0)(6|8)\d{7}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PG":/^(\+?675|0)?(7\d|8[18])\d{6}$/,"en-PK":/^((00|\+)?92|0)3[0-6]\d{8}$/,"en-PH":/^(09|\+639)\d{9}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[3689]\d{7}$/,"en-SL":/^(\+?232|0)\d{8}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"en-ZW":/^(\+263)[0-9]{9}$/,"en-BW":/^(\+?267)?(7[1-8]{1})\d{6}$/,"es-AR":/^\+?549(11|[2368]\d)\d{8}$/,"es-BO":/^(\+?591)?(6|7)\d{7}$/,"es-CO":/^(\+?57)?3(0(0|1|2|4|5)|1\d|2[0-4]|5(0|1))\d{7}$/,"es-CL":/^(\+?56|0)[2-9]\d{1}\d{7}$/,"es-CR":/^(\+506)?[2-8]\d{7}$/,"es-CU":/^(\+53|0053)?5\d{7}$/,"es-DO":/^(\+?1)?8[024]9\d{7}$/,"es-HN":/^(\+?504)?[9|8|3|2]\d{7}$/,"es-EC":/^(\+?593|0)([2-7]|9[2-9])\d{7}$/,"es-ES":/^(\+?34)?[6|7]\d{8}$/,"es-PE":/^(\+?51)?9\d{8}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-NI":/^(\+?505)\d{7,8}$/,"es-PA":/^(\+?507)\d{7,8}$/,"es-PY":/^(\+?595|0)9[9876]\d{7}$/,"es-SV":/^(\+?503)?[67]\d{7}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"es-VE":/^(\+?58)?(2|4)\d{9}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4[0-6]|50)\s?(\d\s?){4,8}$/,"fj-FJ":/^(\+?679)?\s?\d{3}\s?\d{4}$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-BF":/^(\+226|0)[67]\d{7}$/,"fr-BJ":/^(\+229)\d{8}$/,"fr-CD":/^(\+?243|0)?(8|9)\d{8}$/,"fr-CM":/^(\+?237)6[0-9]{8}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"fr-GF":/^(\+?594|0|00594)[67]\d{8}$/,"fr-GP":/^(\+?590|0|00590)[67]\d{8}$/,"fr-MQ":/^(\+?596|0|00596)[67]\d{8}$/,"fr-PF":/^(\+?689)?8[789]\d{6}$/,"fr-RE":/^(\+?262|0|00262)[67]\d{8}$/,"fr-WF":/^(\+681)?\d{6}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36|06)(20|30|31|50|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"ir-IR":/^(\+98|0)?9\d{9}$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"it-SM":/^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/,"ja-JP":/^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/,"ka-GE":/^(\+?995)?(79\d{7}|5\d{8})$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"ky-KG":/^(\+?7\s?\+?7|0)\s?\d{2}\s?\d{3}\s?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"lv-LV":/^(\+?371)2\d{7}$/,"mg-MG":/^((\+?261|0)(2|3)\d)?\d{7}$/,"mn-MN":/^(\+|00|011)?976(77|81|88|91|94|95|96|99)\d{6}$/,"my-MM":/^(\+?959|09|9)(2[5-7]|3[1-2]|4[0-5]|6[6-9]|7[5-9]|9[6-9])[0-9]{7}$/,"ms-MY":/^(\+?60|0)1(([0145](-|\s)?\d{7,8})|([236-9](-|\s)?\d{7}))$/,"mz-MZ":/^(\+?258)?8[234567]\d{7}$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"ne-NP":/^(\+?977)?9[78]\d{8}$/,"nl-BE":/^(\+?32|0)4\d{8}$/,"nl-NL":/^(((\+|00)?31\(0\))|((\+|00)?31)|0)6{1}\d{8}$/,"nl-AW":/^(\+)?297(56|59|64|73|74|99)\d{5}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?([5-8]\d|45) ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^((\+?55\ ?[1-9]{2}\ ?)|(\+?55\ ?\([1-9]{2}\)\ ?)|(0[1-9]{2}\ ?)|(\([1-9]{2}\)\ ?)|([1-9]{2}\ ?))((\d{4}\-?\d{4})|(9[1-9]{1}\d{3}\-?\d{4}))$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"pt-AO":/^(\+244)\d{9}$/,"ro-MD":/^(\+?373|0)((6(0|1|2|6|7|8|9))|(7(6|7|8|9)))\d{6}$/,"ro-RO":/^(\+?40|0)\s?7\d{2}(\/|\s|\.|-)?\d{3}(\s|\.|-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"si-LK":/^(?:0|94|\+94)?(7(0|1|2|4|5|6|7|8)( |-)?)\d{7}$/,"sl-SI":/^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"so-SO":/^(\+?252|0)((6[0-9])\d{7}|(7[1-9])\d{7})$/,"sq-AL":/^(\+355|0)6[789]\d{6}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"sv-SE":/^(\+?46|0)[\s\-]?7[\s\-]?[02369]([\s\-]?\d){7}$/,"tg-TJ":/^(\+?992)?[5][5]\d{7}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"tk-TM":/^(\+993|993|8)\d{8}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"uz-UZ":/^(\+?998)?(6[125-79]|7[1-69]|88|9\d)\d{7}$/,"vi-VN":/^((\+?84)|0)((3([2-9]))|(5([25689]))|(7([0|6-9]))|(8([1-9]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?(1[3-9]|9[28])\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/,"dz-BT":/^(\+?975|0)?(17|16|77|02)\d{6}$/,"ar-YE":/^(((\+|00)9677|0?7)[0137]\d{7}|((\+|00)967|0)[1-7]\d{6})$/,"ar-EH":/^(\+?212|0)[\s\-]?(5288|5289)[\s\-]?\d{5}$/,"fa-AF":/^(\+93|0)?(2{1}[0-8]{1}|[3-5]{1}[0-4]{1})(\d{7})$/};la["en-CA"]=la["en-US"];la["fr-CA"]=la["en-CA"];la["fr-BE"]=la["nl-BE"];la["zh-HK"]=la["en-HK"];la["zh-MO"]=la["en-MO"];la["ga-IE"]=la["en-IE"];la["fr-CH"]=la["de-CH"];la["it-CH"]=la["fr-CH"];function Mlt(e,t,n){if((0,Plt.default)(e),n&&n.strictMode&&!e.startsWith("+"))return!1;if(Array.isArray(t))return t.some(function(s){if(la.hasOwnProperty(s)){var a=la[s];if(a.test(e))return!0}return!1});if(t in la)return la[t].test(e);if(!t||t==="any"){for(var r in la)if(la.hasOwnProperty(r)){var i=la[r];if(i.test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))}pA.locales=Object.keys(la);var iB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/^(0x)[0-9a-f]{40}$/i;function s(a){return(0,n.default)(a),i.test(a)}e.exports=t.default,e.exports.default=t.default})(iB,iB.exports);var Flt=iB.exports,sB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=i(Au),r=i(gn);function i(l){return l&&l.__esModule?l:{default:l}}function s(l){var c="\\d{".concat(l.digits_after_decimal[0],"}");l.digits_after_decimal.forEach(function(_,C){C!==0&&(c="".concat(c,"|\\d{").concat(_,"}"))});var d="(".concat(l.symbol.replace(/\W/,function(_){return"\\".concat(_)}),")").concat(l.require_symbol?"":"?"),f="-?",p="[1-9]\\d*",g="[1-9]\\d{0,2}(\\".concat(l.thousands_separator,"\\d{3})*"),b=["0",p,g],w="(".concat(b.join("|"),")?"),x="(\\".concat(l.decimal_separator,"(").concat(c,"))").concat(l.require_decimal?"":"?"),T=w+(l.allow_decimal||l.require_decimal?x:"");return l.allow_negatives&&!l.parens_for_negatives&&(l.negative_sign_after_digits?T+=f:l.negative_sign_before_digits&&(T=f+T)),l.allow_negative_sign_placeholder?T="( (?!\\-))?".concat(T):l.allow_space_after_symbol?T=" ?".concat(T):l.allow_space_after_digits&&(T+="( (?!$))?"),l.symbol_after_digits?T+=d:T=d+T,l.allow_negatives&&(l.parens_for_negatives?T="(\\(".concat(T,"\\)|").concat(T,")"):l.negative_sign_before_digits||l.negative_sign_after_digits||(T=f+T)),new RegExp("^(?!-? )(?=.*\\d)".concat(T,"$"))}var a={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};function o(l,c){return(0,r.default)(l),c=(0,n.default)(c,a),s(c).test(l)}e.exports=t.default,e.exports.default=t.default})(sB,sB.exports);var $lt=sB.exports,aB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=r(gn);function r(o){return o&&o.__esModule?o:{default:o}}var i=/^(bc1)[a-z0-9]{25,39}$/,s=/^(1|3)[A-HJ-NP-Za-km-z1-9]{25,39}$/;function a(o){return(0,n.default)(o),i.test(o)||s.test(o)}e.exports=t.default,e.exports.default=t.default})(aB,aB.exports);var Blt=aB.exports,mA={};Object.defineProperty(mA,"__esModule",{value:!0});mA.isFreightContainerID=void 0;mA.isISO6346=Pye;var Ult=zlt(gn);function zlt(e){return e&&e.__esModule?e:{default:e}}var Hlt=/^[A-Z]{3}(U[0-9]{7})|([J,Z][0-9]{6,7})$/,qlt=/^[0-9]$/;function Pye(e){if((0,Ult.default)(e),e=e.toUpperCase(),!Hlt.test(e))return!1;if(e.length===11){for(var t=0,n=0;n=11&&i<=20?r=12+i%11:i>=21&&i<=30?r=23+i%21:r=34+i%31,t+=r*Math.pow(2,n)}var s=t%11;return Number(e[e.length-1])===s}return!0}mA.isFreightContainerID=Pye;var oB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=new Set(["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]);function s(a){return(0,n.default)(a),i.has(a)}e.exports=t.default,e.exports.default=t.default})(oB,oB.exports);var jlt=oB.exports,lB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=r(gn);function r(l){return l&&l.__esModule?l:{default:l}}var i=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,s=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,a=function(c){var d=c.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(d){var f=Number(d[1]),p=Number(d[2]);return f%4===0&&f%100!==0||f%400===0?p<=366:p<=365}var g=c.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number),b=g[1],w=g[2],x=g[3],T=w&&"0".concat(w).slice(-2),_=x&&"0".concat(x).slice(-2),C=new Date("".concat(b,"-").concat(T||"01","-").concat(_||"01"));return w&&x?C.getUTCFullYear()===b&&C.getUTCMonth()+1===w&&C.getUTCDate()===x:!0};function o(l){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,n.default)(l);var d=c.strictSeparator?s.test(l):i.test(l);return d&&c.strict?a(l):d}e.exports=t.default,e.exports.default=t.default})(lB,lB.exports);var Wlt=lB.exports,uB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=T;var n=r(gn);function r(_){return _&&_.__esModule?_:{default:_}}var i=/[0-9]{4}/,s=/(0[1-9]|1[0-2])/,a=/([12]\d|0[1-9]|3[01])/,o=/([01][0-9]|2[0-3])/,l=/[0-5][0-9]/,c=/([0-5][0-9]|60)/,d=/(\.[0-9]+)?/,f=new RegExp("[-+]".concat(o.source,":").concat(l.source)),p=new RegExp("([zZ]|".concat(f.source,")")),g=new RegExp("".concat(o.source,":").concat(l.source,":").concat(c.source).concat(d.source)),b=new RegExp("".concat(i.source,"-").concat(s.source,"-").concat(a.source)),w=new RegExp("".concat(g.source).concat(p.source)),x=new RegExp("^".concat(b.source,"[ tT]").concat(w.source,"$"));function T(_){return(0,n.default)(_),x.test(_)}e.exports=t.default,e.exports.default=t.default})(uB,uB.exports);var Qlt=uB.exports,cB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=new Set(["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BES","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CUW","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","PRI","QAT","REU","ROU","RUS","RWA","BLM","SHN","KNA","LCA","MAF","SPM","VCT","WSM","SMR","STP","SAU","SEN","SRB","SYC","SLE","SGP","SXM","SVK","SVN","SLB","SOM","ZAF","SGS","SSD","ESP","LKA","SDN","SUR","SJM","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","USA","UMI","URY","UZB","VUT","VEN","VNM","VGB","VIR","WLF","ESH","YEM","ZMB","ZWE"]);function s(a){return(0,n.default)(a),i.has(a.toUpperCase())}e.exports=t.default,e.exports.default=t.default})(cB,cB.exports);var Vlt=cB.exports,gA={};Object.defineProperty(gA,"__esModule",{value:!0});gA.CurrencyCodes=void 0;gA.default=Zlt;var Glt=Ylt(gn);function Ylt(e){return e&&e.__esModule?e:{default:e}}var Lye=new Set(["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLE","SLL","SOS","SRD","SSP","STN","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UYW","UZS","VES","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW","ZWL"]);function Zlt(e){return(0,Glt.default)(e),Lye.has(e.toUpperCase())}gA.CurrencyCodes=Lye;var dB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=i(gn),r=i(Au);function i(c){return c&&c.__esModule?c:{default:c}}var s=/^[A-Z2-7]+=*$/,a=/^[A-HJKMNP-TV-Z0-9]+$/,o={crockford:!1};function l(c,d){if((0,n.default)(c),d=(0,r.default)(d,o),d.crockford)return a.test(c);var f=c.length;return!!(f%8===0&&s.test(c))}e.exports=t.default,e.exports.default=t.default})(dB,dB.exports);var Xlt=dB.exports,fB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/^[A-HJ-NP-Za-km-z1-9]*$/;function s(a){return(0,n.default)(a),!!i.test(a)}e.exports=t.default,e.exports.default=t.default})(fB,fB.exports);var Klt=fB.exports,hB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=r(gn);function r(l){return l&&l.__esModule?l:{default:l}}var i=/^[a-z]+\/[a-z0-9\-\+\._]+$/i,s=/^[a-z\-]+=[a-z0-9\-]+$/i,a=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;function o(l){(0,n.default)(l);var c=l.split(",");if(c.length<2)return!1;var d=c.shift().trim().split(";"),f=d.shift();if(f.slice(0,5)!=="data:")return!1;var p=f.slice(5);if(p!==""&&!i.test(p))return!1;for(var g=0;g=w.length?{done:!0}:{done:!1,value:w[_++]}},e:function(j){throw j},f:C}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var I=!0,M=!1,$;return{s:function(){T=T.call(w)},n:function(){var j=T.next();return I=j.done,j},e:function(j){M=!0,$=j},f:function(){try{!I&&T.return!=null&&T.return()}finally{if(M)throw $}}}}function f(w,x){if(w){if(typeof w=="string")return p(w,x);var T=Object.prototype.toString.call(w).slice(8,-1);if(T==="Object"&&w.constructor&&(T=w.constructor.name),T==="Map"||T==="Set")return Array.from(w);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return p(w,x)}}function p(w,x){(x==null||x>w.length)&&(x=w.length);for(var T=0,_=new Array(x);T4)return!1;var I=d(C),M;try{for(I.s();!(M=I.n()).done;){var $=M.value,B=$.split("="),j=a(B,2),F=j[0],V=j[1];if(F&&!x.has(F)){_=!0;break}V&&(F==="cc"||F==="bcc")&&(T[F]=V),F&&x.delete(F)}}catch(ie){I.e(ie)}finally{I.f()}return _?!1:T}function b(w,x){if((0,i.default)(w),w.indexOf("mailto:")!==0)return!1;var T=w.replace("mailto:","").split("?"),_=a(T,2),C=_[0],I=_[1],M=I===void 0?"":I;if(!C&&!M)return!0;var $=g(M);return $?"".concat(C,",").concat($.cc,",").concat($.bcc).split(",").every(function(B){return B=(0,n.default)(B," "),B?(0,r.default)(B,x):!0}):!1}e.exports=t.default,e.exports.default=t.default})(mB,mB.exports);var eut=mB.exports,vB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=r(gn);function r(l){return l&&l.__esModule?l:{default:l}}var i=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+_]{1,100}$/i,s=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,a=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;function o(l){return(0,n.default)(l),i.test(l)||s.test(l)||a.test(l)}e.exports=t.default,e.exports.default=t.default})(vB,vB.exports);var tut=vB.exports,SB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var n=i(gn),r=i(Au);function i(f){return f&&f.__esModule?f:{default:f}}var s=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,a=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/,o=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i,l=/^\s*([1-7]?\d{1,2}\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|180\D+0\D+0)\D+[EWew]?$/i,c={checkDMS:!1};function d(f,p){if((0,n.default)(f),p=(0,r.default)(p,c),!f.includes(","))return!1;var g=f.split(",");return g[0].startsWith("(")&&!g[1].endsWith(")")||g[1].endsWith(")")&&!g[0].startsWith("(")?!1:p.checkDMS?o.test(g[0])&&l.test(g[1]):s.test(g[0])&&a.test(g[1])}e.exports=t.default,e.exports.default=t.default})(SB,SB.exports);var nut=SB.exports,bA={};Object.defineProperty(bA,"__esModule",{value:!0});bA.default=sut;bA.locales=void 0;var rut=iut(gn);function iut(e){return e&&e.__esModule?e:{default:e}}var Hie=/^\d{3}$/,Pc=/^\d{4}$/,cu=/^\d{5}$/,RL=/^\d{6}$/,cS={AD:/^AD\d{3}$/,AT:Pc,AU:Pc,AZ:/^AZ\d{4}$/,BA:/^([7-8]\d{4}$)/,BE:Pc,BG:Pc,BR:/^\d{5}-\d{3}$/,BY:/^2[1-4]\d{4}$/,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:Pc,CN:/^(0[1-7]|1[012356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[1-5]|8[1345]|9[09])\d{4}$/,CZ:/^\d{3}\s?\d{2}$/,DE:cu,DK:Pc,DO:cu,DZ:cu,EE:cu,ES:/^(5[0-2]{1}|[0-4]{1}\d{1})\d{3}$/,FI:cu,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,HR:/^([1-5]\d{4}$)/,HT:/^HT\d{4}$/,HU:Pc,ID:cu,IE:/^(?!.*(?:o))[A-Za-z]\d[\dw]\s\w{4}$/i,IL:/^(\d{5}|\d{7})$/,IN:/^((?!10|29|35|54|55|65|66|86|87|88|89)[1-9][0-9]{5})$/,IR:/^(?!(\d)\1{3})[13-9]{4}[1346-9][013-9]{5}$/,IS:Hie,IT:cu,JP:/^\d{3}\-\d{4}$/,KE:cu,KR:/^(\d{5}|\d{6})$/,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:Pc,LV:/^LV\-\d{4}$/,LK:cu,MG:Hie,MX:cu,MT:/^[A-Za-z]{3}\s{0,1}\d{4}$/,MY:cu,NL:/^[1-9]\d{3}\s?(?!sa|sd|ss)[a-z]{2}$/i,NO:Pc,NP:/^(10|21|22|32|33|34|44|45|56|57)\d{3}$|^(977)$/i,NZ:Pc,PL:/^\d{2}\-\d{3}$/,PR:/^00[679]\d{2}([ -]\d{4})?$/,PT:/^\d{4}\-\d{3}?$/,RO:RL,RU:RL,SA:cu,SE:/^[1-9]\d{2}\s?\d{2}$/,SG:RL,SI:Pc,SK:/^\d{3}\s?\d{2}$/,TH:cu,TN:Pc,TW:/^\d{3}(\d{2})?$/,UA:cu,US:/^\d{5}(-\d{4})?$/,ZA:Pc,ZM:cu};bA.locales=Object.keys(cS);function sut(e,t){if((0,rut.default)(e),t in cS)return cS[t].test(e);if(t==="any"){for(var n in cS)if(cS.hasOwnProperty(n)){var r=cS[n];if(r.test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))}var OB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s){return(0,n.default)(s),s.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">").replace(/\//g,"/").replace(/\\/g,"\").replace(/`/g,"`")}e.exports=t.default,e.exports.default=t.default})(OB,OB.exports);var aut=OB.exports,EB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s){return(0,n.default)(s),s.replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(///g,"/").replace(/\/g,"\\").replace(/`/g,"`").replace(/&/g,"&")}e.exports=t.default,e.exports.default=t.default})(EB,EB.exports);var out=EB.exports,wB={exports:{}},xB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s,a){return(0,n.default)(s),s.replace(new RegExp("[".concat(a,"]+"),"g"),"")}e.exports=t.default,e.exports.default=t.default})(xB,xB.exports);var $ye=xB.exports;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=i(gn),r=i($ye);function i(a){return a&&a.__esModule?a:{default:a}}function s(a,o){(0,n.default)(a);var l=o?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,r.default)(a,l)}e.exports=t.default,e.exports.default=t.default})(wB,wB.exports);var lut=wB.exports,TB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s,a){return(0,n.default)(s),s.replace(new RegExp("[^".concat(a,"]+"),"g"),"")}e.exports=t.default,e.exports.default=t.default})(TB,TB.exports);var uut=TB.exports,kB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s,a){(0,n.default)(s);for(var o=s.length-1;o>=0;o--)if(a.indexOf(s[o])===-1)return!1;return!0}e.exports=t.default,e.exports.default=t.default})(kB,kB.exports);var cut=kB.exports,_B={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var n=r(Au);function r(f){return f&&f.__esModule?f:{default:f}}var i={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,yandex_lowercase:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},s=["icloud.com","me.com"],a=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],o=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"],l=["yandex.ru","yandex.ua","yandex.kz","yandex.com","yandex.by","ya.ru"];function c(f){return f.length>1?f:""}function d(f,p){p=(0,n.default)(p,i);var g=f.split("@"),b=g.pop(),w=g.join("@"),x=[w,b];if(x[1]=x[1].toLowerCase(),x[1]==="gmail.com"||x[1]==="googlemail.com"){if(p.gmail_remove_subaddress&&(x[0]=x[0].split("+")[0]),p.gmail_remove_dots&&(x[0]=x[0].replace(/\.+/g,c)),!x[0].length)return!1;(p.all_lowercase||p.gmail_lowercase)&&(x[0]=x[0].toLowerCase()),x[1]=p.gmail_convert_googlemaildotcom?"gmail.com":x[1]}else if(s.indexOf(x[1])>=0){if(p.icloud_remove_subaddress&&(x[0]=x[0].split("+")[0]),!x[0].length)return!1;(p.all_lowercase||p.icloud_lowercase)&&(x[0]=x[0].toLowerCase())}else if(a.indexOf(x[1])>=0){if(p.outlookdotcom_remove_subaddress&&(x[0]=x[0].split("+")[0]),!x[0].length)return!1;(p.all_lowercase||p.outlookdotcom_lowercase)&&(x[0]=x[0].toLowerCase())}else if(o.indexOf(x[1])>=0){if(p.yahoo_remove_subaddress){var T=x[0].split("-");x[0]=T.length>1?T.slice(0,-1).join("-"):T[0]}if(!x[0].length)return!1;(p.all_lowercase||p.yahoo_lowercase)&&(x[0]=x[0].toLowerCase())}else l.indexOf(x[1])>=0?((p.all_lowercase||p.yandex_lowercase)&&(x[0]=x[0].toLowerCase()),x[1]="yandex.ru"):p.all_lowercase&&(x[0]=x[0].toLowerCase());return x.join("@")}e.exports=t.default,e.exports.default=t.default})(_B,_B.exports);var dut=_B.exports,AB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/^[^\s-_](?!.*?[-_]{2,})[a-z0-9-\\][^\s]*[^-_\s]$/;function s(a){return(0,n.default)(a),i.test(a)}e.exports=t.default,e.exports.default=t.default})(AB,AB.exports);var fut=AB.exports,CB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i={"cs-CZ":function(o){return/^(([ABCDEFHIJKLMNPRSTUVXYZ]|[0-9])-?){5,8}$/.test(o)},"de-DE":function(o){return/^((A|AA|AB|AC|AE|AH|AK|AM|AN|AÖ|AP|AS|AT|AU|AW|AZ|B|BA|BB|BC|BE|BF|BH|BI|B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RÜD|RÜG|SAB|SAD|SAN|SAW|SBG|SBK|SCZ|SDH|SDL|SDT|SEB|SEE|SEF|SEL|SFB|SFT|SGH|SHA|SHG|SHK|SHL|SIG|SIM|SLE|SLF|SLK|SLN|SLS|SLÜ|SLZ|SMÜ|SOB|SOG|SOK|SÖM|SON|SPB|SPN|SRB|SRO|STA|STB|STD|STE|STL|SUL|SÜW|SWA|SZB|TBB|TDO|TET|TIR|TÖL|TUT|UEM|UER|UFF|USI|VAI|VEC|VER|VIB|VIE|VIT|VOH|WAF|WAK|WAN|WAR|WAT|WBS|WDA|WEL|WEN|WER|WES|WHV|WIL|WIS|WIT|WIZ|WLG|WMS|WND|WOB|WOH|WOL|WOR|WOS|WRN|WSF|WST|WSW|WTL|WTM|WUG|WÜM|WUN|WUR|WZL|ZEL|ZIG)[- ]?(([A-Z][- ]?\d{1,4})|([A-Z]{2}[- ]?\d{1,3})))[- ]?(E|H)?$/.test(o)},"de-LI":function(o){return/^FL[- ]?\d{1,5}[UZ]?$/.test(o)},"en-IN":function(o){return/^[A-Z]{2}[ -]?[0-9]{1,2}(?:[ -]?[A-Z])(?:[ -]?[A-Z]*)?[ -]?[0-9]{4}$/.test(o)},"es-AR":function(o){return/^(([A-Z]{2} ?[0-9]{3} ?[A-Z]{2})|([A-Z]{3} ?[0-9]{3}))$/.test(o)},"fi-FI":function(o){return/^(?=.{4,7})(([A-Z]{1,3}|[0-9]{1,3})[\s-]?([A-Z]{1,3}|[0-9]{1,5}))$/.test(o)},"hu-HU":function(o){return/^((((?!AAA)(([A-NPRSTVZWXY]{1})([A-PR-Z]{1})([A-HJ-NPR-Z]))|(A[ABC]I)|A[ABC]O|A[A-W]Q|BPI|BPO|UCO|UDO|XAO)-(?!000)\d{3})|(M\d{6})|((CK|DT|CD|HC|H[ABEFIKLMNPRSTVX]|MA|OT|R[A-Z]) \d{2}-\d{2})|(CD \d{3}-\d{3})|(C-(C|X) \d{4})|(X-(A|B|C) \d{4})|(([EPVZ]-\d{5}))|(S A[A-Z]{2} \d{2})|(SP \d{2}-\d{2}))$/.test(o)},"pt-BR":function(o){return/^[A-Z]{3}[ -]?[0-9][A-Z][0-9]{2}|[A-Z]{3}[ -]?[0-9]{4}$/.test(o)},"pt-PT":function(o){return/^([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})$/.test(o)},"sq-AL":function(o){return/^[A-Z]{2}[- ]?((\d{3}[- ]?(([A-Z]{2})|T))|(R[- ]?\d{3}))$/.test(o)},"sv-SE":function(o){return/^[A-HJ-PR-UW-Z]{3} ?[\d]{2}[A-HJ-PR-UW-Z1-9]$|(^[A-ZÅÄÖ ]{2,7}$)/.test(o.trim())},"en-PK":function(o){return/(^[A-Z]{2}((\s|-){0,1})[0-9]{3,4}((\s|-)[0-9]{2}){0,1}$)|(^[A-Z]{3}((\s|-){0,1})[0-9]{3,4}((\s|-)[0-9]{2}){0,1}$)|(^[A-Z]{4}((\s|-){0,1})[0-9]{3,4}((\s|-)[0-9]{2}){0,1}$)|(^[A-Z]((\s|-){0,1})[0-9]{4}((\s|-)[0-9]{2}){0,1}$)/.test(o.trim())}};function s(a,o){if((0,n.default)(a),o in i)return i[o](a);if(o==="any"){for(var l in i){var c=i[l];if(c(a))return!0}return!1}throw new Error("Invalid locale '".concat(o,"'"))}e.exports=t.default,e.exports.default=t.default})(CB,CB.exports);var hut=CB.exports,RB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=g;var n=i(Au),r=i(gn);function i(b){return b&&b.__esModule?b:{default:b}}var s=/^[A-Z]$/,a=/^[a-z]$/,o=/^[0-9]$/,l=/^[-#!$@£%^&*()_+|~=`{}\[\]:";'<>?,.\/\\ ]$/,c={minLength:8,minLowercase:1,minUppercase:1,minNumbers:1,minSymbols:1,returnScore:!1,pointsPerUnique:1,pointsPerRepeat:.5,pointsForContainingLower:10,pointsForContainingUpper:10,pointsForContainingNumber:10,pointsForContainingSymbol:10};function d(b){var w={};return Array.from(b).forEach(function(x){var T=w[x];T?w[x]+=1:w[x]=1}),w}function f(b){var w=d(b),x={length:b.length,uniqueChars:Object.keys(w).length,uppercaseCount:0,lowercaseCount:0,numberCount:0,symbolCount:0};return Object.keys(w).forEach(function(T){s.test(T)?x.uppercaseCount+=w[T]:a.test(T)?x.lowercaseCount+=w[T]:o.test(T)?x.numberCount+=w[T]:l.test(T)&&(x.symbolCount+=w[T])}),x}function p(b,w){var x=0;return x+=b.uniqueChars*w.pointsPerUnique,x+=(b.length-b.uniqueChars)*w.pointsPerRepeat,b.lowercaseCount>0&&(x+=w.pointsForContainingLower),b.uppercaseCount>0&&(x+=w.pointsForContainingUpper),b.numberCount>0&&(x+=w.pointsForContainingNumber),b.symbolCount>0&&(x+=w.pointsForContainingSymbol),x}function g(b){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;(0,r.default)(b);var x=f(b);return w=(0,n.default)(w||{},c),w.returnScore?p(x,w):x.length>=w.minLength&&x.lowercaseCount>=w.minLowercase&&x.uppercaseCount>=w.minUppercase&&x.numberCount>=w.minNumbers&&x.symbolCount>=w.minSymbols}e.exports=t.default,e.exports.default=t.default})(RB,RB.exports);var put=RB.exports,yA={};function IB(e){"@babel/helpers - typeof";return IB=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},IB(e)}Object.defineProperty(yA,"__esModule",{value:!0});yA.default=Out;yA.vatMatchers=void 0;var qie=but(gn),mut=gut($y);function Bye(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(Bye=function(i){return i?n:t})(e)}function gut(e,t){if(e&&e.__esModule)return e;if(e===null||IB(e)!="object"&&typeof e!="function")return{default:e};var n=Bye(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!=="default"&&{}.hasOwnProperty.call(e,s)){var a=i?Object.getOwnPropertyDescriptor(e,s):null;a&&(a.get||a.set)?Object.defineProperty(r,s,a):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}function but(e){return e&&e.__esModule?e:{default:e}}var yut=function(t){var n=t.match(/^(AU)?(\d{11})$/);if(!n)return!1;var r=[10,1,3,5,7,9,11,13,15,17,19];t=t.replace(/^AU/,"");for(var i=(parseInt(t.slice(0,1),10)-1).toString()+t.slice(1),s=0,a=0;a<11;a++)s+=r[a]*i.charAt(a);return s!==0&&s%89===0},vut=function(t){var n=function(i){var s=i.pop(),a=[5,4,3,2,7,6,5,4],o=(11-i.reduce(function(l,c,d){return l+c*a[d]},0)%11)%11;return s===o};return/^(CHE[- ]?)?(\d{9}|(\d{3}\.\d{3}\.\d{3})|(\d{3} \d{3} \d{3})) ?(TVA|MWST|IVA)?$/.test(t)&&n(t.match(/\d/g).map(function(r){return+r}))},Sut=function(t){var n=t.match(/^(PT)?(\d{9})$/);if(!n)return!1;var r=n[2],i=11-mut.reverseMultiplyAndSum(r.split("").slice(0,8).map(function(s){return parseInt(s,10)}),9)%11;return i>9?parseInt(r[8],10)===0:i===parseInt(r[8],10)},jie=yA.vatMatchers={AT:function(t){return/^(AT)?U\d{8}$/.test(t)},BE:function(t){return/^(BE)?\d{10}$/.test(t)},BG:function(t){return/^(BG)?\d{9,10}$/.test(t)},HR:function(t){return/^(HR)?\d{11}$/.test(t)},CY:function(t){return/^(CY)?\w{9}$/.test(t)},CZ:function(t){return/^(CZ)?\d{8,10}$/.test(t)},DK:function(t){return/^(DK)?\d{8}$/.test(t)},EE:function(t){return/^(EE)?\d{9}$/.test(t)},FI:function(t){return/^(FI)?\d{8}$/.test(t)},FR:function(t){return/^(FR)?\w{2}\d{9}$/.test(t)},DE:function(t){return/^(DE)?\d{9}$/.test(t)},EL:function(t){return/^(EL)?\d{9}$/.test(t)},HU:function(t){return/^(HU)?\d{8}$/.test(t)},IE:function(t){return/^(IE)?\d{7}\w{1}(W)?$/.test(t)},IT:function(t){return/^(IT)?\d{11}$/.test(t)},LV:function(t){return/^(LV)?\d{11}$/.test(t)},LT:function(t){return/^(LT)?\d{9,12}$/.test(t)},LU:function(t){return/^(LU)?\d{8}$/.test(t)},MT:function(t){return/^(MT)?\d{8}$/.test(t)},NL:function(t){return/^(NL)?\d{9}B\d{2}$/.test(t)},PL:function(t){return/^(PL)?(\d{10}|(\d{3}-\d{3}-\d{2}-\d{2})|(\d{3}-\d{2}-\d{2}-\d{3}))$/.test(t)},PT:Sut,RO:function(t){return/^(RO)?\d{2,10}$/.test(t)},SK:function(t){return/^(SK)?\d{10}$/.test(t)},SI:function(t){return/^(SI)?\d{8}$/.test(t)},ES:function(t){return/^(ES)?\w\d{7}[A-Z]$/.test(t)},SE:function(t){return/^(SE)?\d{12}$/.test(t)},AL:function(t){return/^(AL)?\w{9}[A-Z]$/.test(t)},MK:function(t){return/^(MK)?\d{13}$/.test(t)},AU:yut,BY:function(t){return/^(УНП )?\d{9}$/.test(t)},CA:function(t){return/^(CA)?\d{9}$/.test(t)},IS:function(t){return/^(IS)?\d{5,6}$/.test(t)},IN:function(t){return/^(IN)?\d{15}$/.test(t)},ID:function(t){return/^(ID)?(\d{15}|(\d{2}.\d{3}.\d{3}.\d{1}-\d{3}.\d{3}))$/.test(t)},IL:function(t){return/^(IL)?\d{9}$/.test(t)},KZ:function(t){return/^(KZ)?\d{12}$/.test(t)},NZ:function(t){return/^(NZ)?\d{9}$/.test(t)},NG:function(t){return/^(NG)?(\d{12}|(\d{8}-\d{4}))$/.test(t)},NO:function(t){return/^(NO)?\d{9}MVA$/.test(t)},PH:function(t){return/^(PH)?(\d{12}|\d{3} \d{3} \d{3} \d{3})$/.test(t)},RU:function(t){return/^(RU)?(\d{10}|\d{12})$/.test(t)},SM:function(t){return/^(SM)?\d{5}$/.test(t)},SA:function(t){return/^(SA)?\d{15}$/.test(t)},RS:function(t){return/^(RS)?\d{9}$/.test(t)},CH:vut,TR:function(t){return/^(TR)?\d{10}$/.test(t)},UA:function(t){return/^(UA)?\d{12}$/.test(t)},GB:function(t){return/^GB((\d{3} \d{4} ([0-8][0-9]|9[0-6]))|(\d{9} \d{3})|(((GD[0-4])|(HA[5-9]))[0-9]{2}))$/.test(t)},UZ:function(t){return/^(UZ)?\d{9}$/.test(t)},AR:function(t){return/^(AR)?\d{11}$/.test(t)},BO:function(t){return/^(BO)?\d{7}$/.test(t)},BR:function(t){return/^(BR)?((\d{2}.\d{3}.\d{3}\/\d{4}-\d{2})|(\d{3}.\d{3}.\d{3}-\d{2}))$/.test(t)},CL:function(t){return/^(CL)?\d{8}-\d{1}$/.test(t)},CO:function(t){return/^(CO)?\d{10}$/.test(t)},CR:function(t){return/^(CR)?\d{9,12}$/.test(t)},EC:function(t){return/^(EC)?\d{13}$/.test(t)},SV:function(t){return/^(SV)?\d{4}-\d{6}-\d{3}-\d{1}$/.test(t)},GT:function(t){return/^(GT)?\d{7}-\d{1}$/.test(t)},HN:function(t){return/^(HN)?$/.test(t)},MX:function(t){return/^(MX)?\w{3,4}\d{6}\w{3}$/.test(t)},NI:function(t){return/^(NI)?\d{3}-\d{6}-\d{4}\w{1}$/.test(t)},PA:function(t){return/^(PA)?$/.test(t)},PY:function(t){return/^(PY)?\d{6,8}-\d{1}$/.test(t)},PE:function(t){return/^(PE)?\d{11}$/.test(t)},DO:function(t){return/^(DO)?(\d{11}|(\d{3}-\d{7}-\d{1})|[1,4,5]{1}\d{8}|([1,4,5]{1})-\d{2}-\d{5}-\d{1})$/.test(t)},UY:function(t){return/^(UY)?\d{12}$/.test(t)},VE:function(t){return/^(VE)?[J,G,V,E]{1}-(\d{9}|(\d{8}-\d{1}))$/.test(t)}};function Out(e,t){if((0,qie.default)(e),(0,qie.default)(t),t in jie)return jie[t](e);throw new Error("Invalid country code: '".concat(t,"'"))}(function(e,t){function n(Jn){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(xi){return typeof xi}:function(xi){return xi&&typeof Symbol=="function"&&xi.constructor===Symbol&&xi!==Symbol.prototype?"symbol":typeof xi},n(Jn)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=_t(bj),i=_t(xye),s=_t(uot),a=_t(cot),o=_t(dot),l=_t(fot),c=_t(hot),d=_t(_ye),f=_t(pot),p=_t(mot),g=_t(GD),b=_t(got),w=_t(yj),x=_t(Aye),T=_t(bot),_=_t(yot),C=_t(vot),I=_t(Sot),M=Ce(dA),$=Ce(fA),B=_t(_ot),j=_t(Aot),F=_t(Cot),V=_t(Rot),ie=_t(Iot),se=_t(Dot),me=_t(Not),fe=_t(ZE),le=_t(XE),ye=_t(Hot),ae=_t(qot),Se=_t(Wot),he=_t(Qot),re=_t(vj),Fe=Ce(YE),je=_t(Got),ue=_t(Cye),tt=_t(Yot),St=_t(Zot),Ze=_t(Xot),qt=_t(Kot),xt=_t(Jot),Nt=_t(elt),Ht=Ce(hA),Jt=_t(clt),Vt=_t(dlt),en=_t(flt),Ct=_t(hlt),Xe=_t(plt),Ut=_t(mlt),sn=_t(glt),te=_t(kye),de=_t(blt),we=_t(ylt),We=_t(vlt),Ke=_t(Slt),xe=_t(Olt),Qe=_t(Dye),yt=_t(Elt),Be=_t(wlt),Ne=_t(xlt),rt=_t(Tlt),pt=_t(klt),Dt=_t(_lt),Gt=_t(Dlt),Pn=Ce(pA),Fn=_t(Mlt),kt=_t(Flt),ct=_t($lt),fn=mA,Rn=_t(qlt),Sr=_t(jlt),ai=_t(Wlt),sr=_t(KE),oi=_t(Qlt),xr=_t(gA),Ir=_t(Zlt),$r=_t(Xlt),_r=_t(Iye),Qr=_t(Klt),jn=_t(Jlt),wi=_t(eut),wa=_t(tut),is=_t(nut),ss=Ce(bA),Rs=_t(Mye),at=_t(Lye),z=_t(Fye),L=_t(aut),ve=_t(out),X=_t(lut),be=_t(uut),Rt=_t($ye),At=_t(cut),ot=_t(dut),Je=_t(fut),ft=_t(hut),Mt=_t(put),Yt=_t(yA);function Nn(Jn){if(typeof WeakMap!="function")return null;var xi=new WeakMap,ti=new WeakMap;return(Nn=function(as){return as?ti:xi})(Jn)}function Ce(Jn,xi){if(Jn&&Jn.__esModule)return Jn;if(Jn===null||n(Jn)!="object"&&typeof Jn!="function")return{default:Jn};var ti=Nn(xi);if(ti&&ti.has(Jn))return ti.get(Jn);var wn={__proto__:null},as=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Qi in Jn)if(Qi!=="default"&&{}.hasOwnProperty.call(Jn,Qi)){var Ln=as?Object.getOwnPropertyDescriptor(Jn,Qi):null;Ln&&(Ln.get||Ln.set)?Object.defineProperty(wn,Qi,Ln):wn[Qi]=Jn[Qi]}return wn.default=Jn,ti&&ti.set(Jn,wn),wn}function _t(Jn){return Jn&&Jn.__esModule?Jn:{default:Jn}}var Ue="13.12.0",Mi={version:Ue,toDate:r.default,toFloat:i.default,toInt:s.default,toBoolean:a.default,equals:o.default,contains:l.default,matches:c.default,isEmail:d.default,isURL:f.default,isMACAddress:p.default,isIP:g.default,isIPRange:b.default,isFQDN:w.default,isBoolean:_.default,isIBAN:Ht.default,isBIC:Jt.default,isAbaRouting:I.default,isAlpha:M.default,isAlphaLocales:M.locales,isAlphanumeric:$.default,isAlphanumericLocales:$.locales,isNumeric:B.default,isPassportNumber:j.default,isPort:F.default,isLowercase:V.default,isUppercase:ie.default,isAscii:me.default,isFullWidth:fe.default,isHalfWidth:le.default,isVariableWidth:ye.default,isMultibyte:ae.default,isSemVer:Se.default,isSurrogatePair:he.default,isInt:re.default,isIMEI:se.default,isFloat:Fe.default,isFloatLocales:Fe.locales,isDecimal:je.default,isHexadecimal:ue.default,isOctal:tt.default,isDivisibleBy:St.default,isHexColor:Ze.default,isRgbColor:qt.default,isHSL:xt.default,isISRC:Nt.default,isMD5:Vt.default,isHash:en.default,isJWT:Ct.default,isJSON:Xe.default,isEmpty:Ut.default,isLength:sn.default,isLocale:C.default,isByteLength:te.default,isUUID:de.default,isMongoId:we.default,isAfter:We.default,isBefore:Ke.default,isIn:xe.default,isLuhnNumber:Qe.default,isCreditCard:yt.default,isIdentityCard:Be.default,isEAN:Ne.default,isISIN:rt.default,isISBN:pt.default,isISSN:Dt.default,isMobilePhone:Pn.default,isMobilePhoneLocales:Pn.locales,isPostalCode:ss.default,isPostalCodeLocales:ss.locales,isEthereumAddress:Fn.default,isCurrency:kt.default,isBtcAddress:ct.default,isISO6346:fn.isISO6346,isFreightContainerID:fn.isFreightContainerID,isISO6391:Rn.default,isISO8601:Sr.default,isRFC3339:ai.default,isISO31661Alpha2:sr.default,isISO31661Alpha3:oi.default,isISO4217:xr.default,isBase32:Ir.default,isBase58:$r.default,isBase64:_r.default,isDataURI:Qr.default,isMagnetURI:jn.default,isMailtoURI:wi.default,isMimeType:wa.default,isLatLong:is.default,ltrim:Rs.default,rtrim:at.default,trim:z.default,escape:L.default,unescape:ve.default,stripLow:X.default,whitelist:be.default,blacklist:Rt.default,isWhitelisted:At.default,normalizeEmail:ot.default,toString,isSlug:Je.default,isStrongPassword:Mt.default,isTaxID:Gt.default,isDate:x.default,isTime:T.default,isLicensePlate:ft.default,isVAT:Yt.default,ibanLocales:Ht.locales};t.default=Mi,e.exports=t.default,e.exports.default=t.default})(jF,jF.exports);var Eut=jF.exports;const wut=hd(Eut),xut=e=>wut.isURL(e),Tut=(e,t,n)=>{const{from:r,to:i}=t.state.selection.main,a=`[${t.state.sliceDoc(r,i)}](${e})`;n.update((o,l)=>{o.content.edit(r,i,a),l.set({selection:o.content.indexRangeToPosRange([r+a.length,r+a.length])})}),t.dispatch({changes:{from:r,to:i,insert:a},selection:{anchor:r+a.length}})},kut=e=>Sn.domEventHandlers({paste(t,n){var a;const r=(a=t.clipboardData)==null?void 0:a.getData("text/plain");if(!r||!xut(r))return;const{from:i,to:s}=n.state.selection.main;i!==s&&(Tut(r,n,e),t.preventDefault())}});var DB={exports:{}};(function(e,t){var n={};(function(r,i){i(t)})(Qc,function(r){var i=Object.defineProperty,s=(y,u,h)=>u in y?i(y,u,{enumerable:!0,configurable:!0,writable:!0,value:h}):y[u]=h,a=(y,u,h)=>s(y,typeof u!="symbol"?u+"":u,h),o,l,c,d,f,p,g,b,w,x;(function(y){y[y.Canceled=1]="Canceled",y[y.Unknown=2]="Unknown",y[y.InvalidArgument=3]="InvalidArgument",y[y.DeadlineExceeded=4]="DeadlineExceeded",y[y.NotFound=5]="NotFound",y[y.AlreadyExists=6]="AlreadyExists",y[y.PermissionDenied=7]="PermissionDenied",y[y.ResourceExhausted=8]="ResourceExhausted",y[y.FailedPrecondition=9]="FailedPrecondition",y[y.Aborted=10]="Aborted",y[y.OutOfRange=11]="OutOfRange",y[y.Unimplemented=12]="Unimplemented",y[y.Internal=13]="Internal",y[y.Unavailable=14]="Unavailable",y[y.DataLoss=15]="DataLoss",y[y.Unauthenticated=16]="Unauthenticated"})(x||(x={}));function T(y){const u=x[y];return typeof u!="string"?y.toString():u[0].toLowerCase()+u.substring(1).replace(/[A-Z]/g,h=>"_"+h.toLowerCase())}class _ extends Error{constructor(u,h=x.Unknown,S,A,W){super(C(u,h)),this.name="ConnectError",Object.setPrototypeOf(this,new.target.prototype),this.rawMessage=u,this.code=h,this.metadata=new Headers(S??{}),this.details=A??[],this.cause=W}static from(u,h=x.Unknown){return u instanceof _?u:u instanceof Error?u.name=="AbortError"?new _(u.message,x.Canceled):new _(u.message,h,void 0,void 0,u):new _(String(u),h,void 0,void 0,u)}static[Symbol.hasInstance](u){return u instanceof Error?Object.getPrototypeOf(u)===_.prototype?!0:u.name==="ConnectError"&&"code"in u&&typeof u.code=="number"&&"metadata"in u&&"details"in u&&Array.isArray(u.details)&&"rawMessage"in u&&typeof u.rawMessage=="string"&&"cause"in u:!1}findDetails(u){const h="typeName"in u?{findMessage:A=>A===u.typeName?u:void 0}:u,S=[];for(const A of this.details){if("getType"in A){h.findMessage(A.getType().typeName)&&S.push(A);continue}const W=h.findMessage(A.type);if(W)try{S.push(W.fromBinary(A.value))}catch{}}return S}}function C(y,u){return y.length?`[${T(u)}] ${y}`:`[${T(u)}]`}function I(y,u){if(!y)throw new Error(u)}const M=34028234663852886e22,$=-34028234663852886e22,B=4294967295,j=2147483647,F=-2147483648;function V(y){if(typeof y!="number")throw new Error("invalid int 32: "+typeof y);if(!Number.isInteger(y)||y>j||yB||y<0)throw new Error("invalid uint 32: "+y)}function se(y){if(typeof y!="number")throw new Error("invalid float 32: "+typeof y);if(Number.isFinite(y)&&(y>M||y<$))throw new Error("invalid float 32: "+y)}const me=Symbol("@bufbuild/protobuf/enum-type");function fe(y){const u=y[me];return I(u,"missing enum type on enum object"),u}function le(y,u,h,S){y[me]=ye(u,h.map(A=>({no:A.no,name:A.name,localName:y[A.no]})))}function ye(y,u,h){const S=Object.create(null),A=Object.create(null),W=[];for(const ne of u){const pe=Se(ne);W.push(pe),S[ne.name]=pe,A[ne.no]=pe}return{typeName:y,values:W,findName(ne){return S[ne]},findNumber(ne){return A[ne]}}}function ae(y,u,h){const S={};for(const A of u){const W=Se(A);S[W.localName]=W.no,S[W.no]=W.localName}return le(S,y,u),S}function Se(y){return"localName"in y?y:Object.assign(Object.assign({},y),{localName:y.name})}class he{equals(u){return this.getType().runtime.util.equals(this.getType(),this,u)}clone(){return this.getType().runtime.util.clone(this)}fromBinary(u,h){const S=this.getType(),A=S.runtime.bin,W=A.makeReadOptions(h);return A.readMessage(this,W.readerFactory(u),u.byteLength,W),this}fromJson(u,h){const S=this.getType(),A=S.runtime.json,W=A.makeReadOptions(h);return A.readMessage(S,u,W,this),this}fromJsonString(u,h){let S;try{S=JSON.parse(u)}catch(A){throw new Error(`cannot decode ${this.getType().typeName} from JSON: ${A instanceof Error?A.message:String(A)}`)}return this.fromJson(S,h)}toBinary(u){const h=this.getType(),S=h.runtime.bin,A=S.makeWriteOptions(u),W=A.writerFactory();return S.writeMessage(this,W,A),W.finish()}toJson(u){const h=this.getType(),S=h.runtime.json,A=S.makeWriteOptions(u);return S.writeMessage(this,A)}toJsonString(u){var h;const S=this.toJson(u);return JSON.stringify(S,null,(h=u==null?void 0:u.prettySpaces)!==null&&h!==void 0?h:0)}toJSON(){return this.toJson({emitDefaultValues:!0})}getType(){return Object.getPrototypeOf(this).constructor}}function re(y,u,h,S){var A;const W=(A=S==null?void 0:S.localName)!==null&&A!==void 0?A:u.substring(u.lastIndexOf(".")+1),ne={[W]:function(pe){y.util.initFields(this),y.util.initPartial(pe,this)}}[W];return Object.setPrototypeOf(ne.prototype,new he),Object.assign(ne,{runtime:y,typeName:u,fields:y.util.newFieldList(h),fromBinary(pe,De){return new ne().fromBinary(pe,De)},fromJson(pe,De){return new ne().fromJson(pe,De)},fromJsonString(pe,De){return new ne().fromJsonString(pe,De)},equals(pe,De){return y.util.equals(ne,pe,De)}}),ne}function Fe(){let y=0,u=0;for(let S=0;S<28;S+=7){let A=this.buf[this.pos++];if(y|=(A&127)<>4,!(h&128))return this.assertBounds(),[y,u];for(let S=3;S<=31;S+=7){let A=this.buf[this.pos++];if(u|=(A&127)<>>W,pe=!(!(ne>>>7)&&u==0),De=(pe?ne|128:ne)&255;if(h.push(De),!pe)return}const S=y>>>28&15|(u&7)<<4,A=!!(u>>3);if(h.push((A?S|128:S)&255),!!A){for(let W=3;W<31;W=W+7){const ne=u>>>W,pe=!!(ne>>>7),De=(pe?ne|128:ne)&255;if(h.push(De),!pe)return}h.push(u>>>31&1)}}const ue=4294967296;function tt(y){const u=y[0]==="-";u&&(y=y.slice(1));const h=1e6;let S=0,A=0;function W(ne,pe){const De=Number(y.slice(ne,pe));A*=h,S=S*h+De,S>=ue&&(A=A+(S/ue|0),S=S%ue)}return W(-24,-18),W(-18,-12),W(-12,-6),W(-6),u?Nt(S,A):xt(S,A)}function St(y,u){let h=xt(y,u);const S=h.hi&2147483648;S&&(h=Nt(h.lo,h.hi));const A=Ze(h.lo,h.hi);return S?"-"+A:A}function Ze(y,u){if({lo:y,hi:u}=qt(y,u),u<=2097151)return String(ue*u+y);const h=y&16777215,S=(y>>>24|u<<8)&16777215,A=u>>16&65535;let W=h+S*6777216+A*6710656,ne=S+A*8147497,pe=A*2;const De=1e7;return W>=De&&(ne+=Math.floor(W/De),W%=De),ne>=De&&(pe+=Math.floor(ne/De),ne%=De),pe.toString()+Ht(ne)+Ht(W)}function qt(y,u){return{lo:y>>>0,hi:u>>>0}}function xt(y,u){return{lo:y|0,hi:u|0}}function Nt(y,u){return u=~u,y?y=~y+1:u+=1,xt(y,u)}const Ht=y=>{const u=String(y);return"0000000".slice(u.length)+u};function Jt(y,u){if(y>=0){for(;y>127;)u.push(y&127|128),y=y>>>7;u.push(y)}else{for(let h=0;h<9;h++)u.push(y&127|128),y=y>>7;u.push(1)}}function Vt(){let y=this.buf[this.pos++],u=y&127;if(!(y&128))return this.assertBounds(),u;if(y=this.buf[this.pos++],u|=(y&127)<<7,!(y&128))return this.assertBounds(),u;if(y=this.buf[this.pos++],u|=(y&127)<<14,!(y&128))return this.assertBounds(),u;if(y=this.buf[this.pos++],u|=(y&127)<<21,!(y&128))return this.assertBounds(),u;y=this.buf[this.pos++],u|=(y&15)<<28;for(let h=5;y&128&&h<10;h++)y=this.buf[this.pos++];if(y&128)throw new Error("invalid varint");return this.assertBounds(),u>>>0}function en(){const y=new DataView(new ArrayBuffer(8));if(typeof BigInt=="function"&&typeof y.getBigInt64=="function"&&typeof y.getBigUint64=="function"&&typeof y.setBigInt64=="function"&&typeof y.setBigUint64=="function"&&(typeof process!="object"||typeof n!="object"||n.BUF_BIGINT_DISABLE!=="1")){const A=BigInt("-9223372036854775808"),W=BigInt("9223372036854775807"),ne=BigInt("0"),pe=BigInt("18446744073709551615");return{zero:BigInt(0),supported:!0,parse(De){const $e=typeof De=="bigint"?De:BigInt(De);if($e>W||$epe||$eI(/^-?[0-9]+$/.test(A),`int64 invalid: ${A}`),S=A=>I(/^[0-9]+$/.test(A),`uint64 invalid: ${A}`);return{zero:"0",supported:!1,parse(A){return typeof A!="string"&&(A=A.toString()),h(A),A},uParse(A){return typeof A!="string"&&(A=A.toString()),S(A),A},enc(A){return typeof A!="string"&&(A=A.toString()),h(A),tt(A)},uEnc(A){return typeof A!="string"&&(A=A.toString()),S(A),tt(A)},dec(A,W){return St(A,W)},uDec(A,W){return Ze(A,W)}}}const Ct=en();var Xe;(function(y){y[y.DOUBLE=1]="DOUBLE",y[y.FLOAT=2]="FLOAT",y[y.INT64=3]="INT64",y[y.UINT64=4]="UINT64",y[y.INT32=5]="INT32",y[y.FIXED64=6]="FIXED64",y[y.FIXED32=7]="FIXED32",y[y.BOOL=8]="BOOL",y[y.STRING=9]="STRING",y[y.BYTES=12]="BYTES",y[y.UINT32=13]="UINT32",y[y.SFIXED32=15]="SFIXED32",y[y.SFIXED64=16]="SFIXED64",y[y.SINT32=17]="SINT32",y[y.SINT64=18]="SINT64"})(Xe||(Xe={}));var Ut;(function(y){y[y.BIGINT=0]="BIGINT",y[y.STRING=1]="STRING"})(Ut||(Ut={}));function sn(y,u,h){if(u===h)return!0;if(y==Xe.BYTES){if(!(u instanceof Uint8Array)||!(h instanceof Uint8Array)||u.length!==h.length)return!1;for(let S=0;S>>0)}raw(u){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(u),this}uint32(u){for(ie(u);u>127;)this.buf.push(u&127|128),u=u>>>7;return this.buf.push(u),this}int32(u){return V(u),Jt(u,this.buf),this}bool(u){return this.buf.push(u?1:0),this}bytes(u){return this.uint32(u.byteLength),this.raw(u)}string(u){let h=this.textEncoder.encode(u);return this.uint32(h.byteLength),this.raw(h)}float(u){se(u);let h=new Uint8Array(4);return new DataView(h.buffer).setFloat32(0,u,!0),this.raw(h)}double(u){let h=new Uint8Array(8);return new DataView(h.buffer).setFloat64(0,u,!0),this.raw(h)}fixed32(u){ie(u);let h=new Uint8Array(4);return new DataView(h.buffer).setUint32(0,u,!0),this.raw(h)}sfixed32(u){V(u);let h=new Uint8Array(4);return new DataView(h.buffer).setInt32(0,u,!0),this.raw(h)}sint32(u){return V(u),u=(u<<1^u>>31)>>>0,Jt(u,this.buf),this}sfixed64(u){let h=new Uint8Array(8),S=new DataView(h.buffer),A=Ct.enc(u);return S.setInt32(0,A.lo,!0),S.setInt32(4,A.hi,!0),this.raw(h)}fixed64(u){let h=new Uint8Array(8),S=new DataView(h.buffer),A=Ct.uEnc(u);return S.setInt32(0,A.lo,!0),S.setInt32(4,A.hi,!0),this.raw(h)}int64(u){let h=Ct.enc(u);return je(h.lo,h.hi,this.buf),this}sint64(u){let h=Ct.enc(u),S=h.hi>>31,A=h.lo<<1^S,W=(h.hi<<1|h.lo>>>31)^S;return je(A,W,this.buf),this}uint64(u){let h=Ct.uEnc(u);return je(h.lo,h.hi,this.buf),this}}class Ke{constructor(u,h){this.varint64=Fe,this.uint32=Vt,this.buf=u,this.len=u.length,this.pos=0,this.view=new DataView(u.buffer,u.byteOffset,u.byteLength),this.textDecoder=h??new TextDecoder}tag(){let u=this.uint32(),h=u>>>3,S=u&7;if(h<=0||S<0||S>5)throw new Error("illegal tag: field no "+h+" wire type "+S);return[h,S]}skip(u,h){let S=this.pos;switch(u){case we.Varint:for(;this.buf[this.pos++]&128;);break;case we.Bit64:this.pos+=4;case we.Bit32:this.pos+=4;break;case we.LengthDelimited:let A=this.uint32();this.pos+=A;break;case we.StartGroup:for(;;){const[W,ne]=this.tag();if(ne===we.EndGroup){if(h!==void 0&&W!==h)throw new Error("invalid end group tag");break}this.skip(ne,W)}break;default:throw new Error("cant skip wire type "+u)}return this.assertBounds(),this.buf.subarray(S,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let u=this.uint32();return u>>>1^-(u&1)}int64(){return Ct.dec(...this.varint64())}uint64(){return Ct.uDec(...this.varint64())}sint64(){let[u,h]=this.varint64(),S=-(u&1);return u=(u>>>1|(h&1)<<31)^S,h=h>>>1^S,Ct.dec(u,h)}bool(){let[u,h]=this.varint64();return u!==0||h!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return Ct.uDec(this.sfixed32(),this.sfixed32())}sfixed64(){return Ct.dec(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let u=this.uint32(),h=this.pos;return this.pos+=u,this.assertBounds(),this.buf.subarray(h,h+u)}string(){return this.textDecoder.decode(this.bytes())}}function xe(y,u,h,S){let A;return{typeName:u,extendee:h,get field(){if(!A){const W=typeof S=="function"?S():S;W.name=u.split(".").pop(),W.jsonName=`[${u}]`,A=y.util.newFieldList([W]).list()[0]}return A},runtime:y}}function Qe(y){const u=y.field.localName,h=Object.create(null);return h[u]=yt(y),[h,()=>h[u]]}function yt(y){const u=y.field;if(u.repeated)return[];if(u.default!==void 0)return u.default;switch(u.kind){case"enum":return u.T.values[0].no;case"scalar":return te(u.T,u.L);case"message":const h=u.T,S=new h;return h.fieldWrapper?h.fieldWrapper.unwrapField(S):S;case"map":throw"map fields are not allowed to be extensions"}}function Be(y,u){if(!u.repeated&&(u.kind=="enum"||u.kind=="scalar")){for(let h=y.length-1;h>=0;--h)if(y[h].no==u.no)return[y[h]];return[]}return y.filter(h=>h.no===u.no)}let Ne="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),rt=[];for(let y=0;y>4,ne=W,A=2;break;case 2:h[S++]=(ne&15)<<4|(W&60)>>2,ne=W,A=3;break;case 3:h[S++]=(ne&3)<<6|W,A=0;break}}if(A==1)throw Error("invalid base64 string.");return h.subarray(0,S)},enc(y){let u="",h=0,S,A=0;for(let W=0;W>2],A=(S&3)<<4,h=1;break;case 1:u+=Ne[A|S>>4],A=(S&15)<<2,h=2;break;case 2:u+=Ne[A|S>>6],u+=Ne[S&63],h=0;break}return h&&(u+=Ne[A],u+="=",h==1&&(u+="=")),u}};function Dt(y,u,h){Fn(u,y);const S=u.runtime.bin.makeReadOptions(h),A=Be(y.getType().runtime.bin.listUnknownFields(y),u.field),[W,ne]=Qe(u);for(const pe of A)u.runtime.bin.readField(W,S.readerFactory(pe.data),u.field,pe.wireType,S);return ne()}function Gt(y,u,h,S){Fn(u,y);const A=u.runtime.bin.makeReadOptions(S),W=u.runtime.bin.makeWriteOptions(S);if(Pn(y,u)){const $e=y.getType().runtime.bin.listUnknownFields(y).filter(st=>st.no!=u.field.no);y.getType().runtime.bin.discardUnknownFields(y);for(const st of $e)y.getType().runtime.bin.onUnknownField(y,st.no,st.wireType,st.data)}const ne=W.writerFactory();let pe=u.field;!pe.opt&&!pe.repeated&&(pe.kind=="enum"||pe.kind=="scalar")&&(pe=Object.assign(Object.assign({},u.field),{opt:!0})),u.runtime.bin.writeField(pe,h,ne,W);const De=A.readerFactory(ne.finish());for(;De.posS.no==u.field.no)}function Fn(y,u){I(y.extendee.typeName==u.getType().typeName,`extension ${y.typeName} can only be applied to message ${y.extendee.typeName}`)}function kt(y,u){const h=y.localName;if(y.repeated)return u[h].length>0;if(y.oneof)return u[y.oneof.localName].case===h;switch(y.kind){case"enum":case"scalar":return y.opt||y.req?u[h]!==void 0:y.kind=="enum"?u[h]!==y.T.values[0].no:!de(y.T,u[h]);case"message":return u[h]!==void 0;case"map":return Object.keys(u[h]).length>0}}function ct(y,u){const h=y.localName,S=!y.opt&&!y.req;if(y.repeated)u[h]=[];else if(y.oneof)u[y.oneof.localName]={case:void 0};else switch(y.kind){case"map":u[h]={};break;case"enum":u[h]=S?y.T.values[0].no:void 0;break;case"scalar":u[h]=S?te(y.T,y.L):void 0;break;case"message":u[h]=void 0;break}}function fn(y,u){if(y===null||typeof y!="object"||!Object.getOwnPropertyNames(he.prototype).every(S=>S in y&&typeof y[S]=="function"))return!1;const h=y.getType();return h===null||typeof h!="function"||!("typeName"in h)||typeof h.typeName!="string"?!1:u===void 0?!0:h.typeName==u.typeName}function Rn(y,u){return fn(u)||!y.fieldWrapper?u:y.fieldWrapper.wrapField(u)}Xe.DOUBLE,Xe.FLOAT,Xe.INT64,Xe.UINT64,Xe.INT32,Xe.UINT32,Xe.BOOL,Xe.STRING,Xe.BYTES;const Sr={ignoreUnknownFields:!1},ai={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0};function sr(y){return y?Object.assign(Object.assign({},Sr),y):Sr}function oi(y){return y?Object.assign(Object.assign({},ai),y):ai}const xr=Symbol(),Ir=Symbol();function $r(){return{makeReadOptions:sr,makeWriteOptions:oi,readMessage(y,u,h,S){if(u==null||Array.isArray(u)||typeof u!="object")throw new Error(`cannot decode message ${y.typeName} from JSON: ${_r(u)}`);S=S??new y;const A=new Map,W=h.typeRegistry;for(const[ne,pe]of Object.entries(u)){const De=y.fields.findJsonName(ne);if(De){if(De.oneof){if(pe===null&&De.kind=="scalar")continue;const $e=A.get(De.oneof);if($e!==void 0)throw new Error(`cannot decode message ${y.typeName} from JSON: multiple keys for oneof "${De.oneof.name}" present: "${$e}", "${ne}"`);A.set(De.oneof,ne)}Qr(S,pe,De,h,y)}else{let $e=!1;if(W!=null&&W.findExtension&&ne.startsWith("[")&&ne.endsWith("]")){const st=W.findExtension(ne.substring(1,ne.length-1));if(st&&st.extendee.typeName==y.typeName){$e=!0;const[Zt,Xt]=Qe(st);Qr(Zt,pe,st.field,h,st),Gt(S,st,Xt(),h)}}if(!$e&&!h.ignoreUnknownFields)throw new Error(`cannot decode message ${y.typeName} from JSON: key "${ne}" is unknown`)}}return S},writeMessage(y,u){const h=y.getType(),S={};let A;try{for(A of h.fields.byNumber()){if(!kt(A,y)){if(A.req)throw"required field not set";if(!u.emitDefaultValues||!is(A))continue}const ne=A.oneof?y[A.oneof.localName].value:y[A.localName],pe=ss(A,ne,u);pe!==void 0&&(S[u.useProtoFieldName?A.name:A.jsonName]=pe)}const W=u.typeRegistry;if(W!=null&&W.findExtensionFor)for(const ne of h.runtime.bin.listUnknownFields(y)){const pe=W.findExtensionFor(h.typeName,ne.no);if(pe&&Pn(y,pe)){const De=Dt(y,pe,u),$e=ss(pe.field,De,u);$e!==void 0&&(S[pe.field.jsonName]=$e)}}}catch(W){const ne=A?`cannot encode field ${h.typeName}.${A.name} to JSON`:`cannot encode message ${h.typeName} to JSON`,pe=W instanceof Error?W.message:String(W);throw new Error(ne+(pe.length>0?`: ${pe}`:""))}return S},readScalar(y,u,h){return wi(y,u,h??Ut.BIGINT,!0)},writeScalar(y,u,h){if(u!==void 0&&(h||de(y,u)))return at(y,u)},debug:_r}}function _r(y){if(y===null)return"null";switch(typeof y){case"object":return Array.isArray(y)?"array":"object";case"string":return y.length>100?"string":`"${y.split('"').join('\\"')}"`;default:return String(y)}}function Qr(y,u,h,S,A){let W=h.localName;if(h.repeated){if(I(h.kind!="map"),u===null)return;if(!Array.isArray(u))throw new Error(`cannot decode field ${A.typeName}.${h.name} from JSON: ${_r(u)}`);const ne=y[W];for(const pe of u){if(pe===null)throw new Error(`cannot decode field ${A.typeName}.${h.name} from JSON: ${_r(pe)}`);switch(h.kind){case"message":ne.push(h.T.fromJson(pe,S));break;case"enum":const De=wa(h.T,pe,S.ignoreUnknownFields,!0);De!==Ir&&ne.push(De);break;case"scalar":try{ne.push(wi(h.T,pe,h.L,!0))}catch($e){let st=`cannot decode field ${A.typeName}.${h.name} from JSON: ${_r(pe)}`;throw $e instanceof Error&&$e.message.length>0&&(st+=`: ${$e.message}`),new Error(st)}break}}}else if(h.kind=="map"){if(u===null)return;if(typeof u!="object"||Array.isArray(u))throw new Error(`cannot decode field ${A.typeName}.${h.name} from JSON: ${_r(u)}`);const ne=y[W];for(const[pe,De]of Object.entries(u)){if(De===null)throw new Error(`cannot decode field ${A.typeName}.${h.name} from JSON: map value null`);let $e;try{$e=jn(h.K,pe)}catch(st){let Zt=`cannot decode map key for field ${A.typeName}.${h.name} from JSON: ${_r(u)}`;throw st instanceof Error&&st.message.length>0&&(Zt+=`: ${st.message}`),new Error(Zt)}switch(h.V.kind){case"message":ne[$e]=h.V.T.fromJson(De,S);break;case"enum":const st=wa(h.V.T,De,S.ignoreUnknownFields,!0);st!==Ir&&(ne[$e]=st);break;case"scalar":try{ne[$e]=wi(h.V.T,De,Ut.BIGINT,!0)}catch(Zt){let Xt=`cannot decode map value for field ${A.typeName}.${h.name} from JSON: ${_r(u)}`;throw Zt instanceof Error&&Zt.message.length>0&&(Xt+=`: ${Zt.message}`),new Error(Xt)}break}}}else switch(h.oneof&&(y=y[h.oneof.localName]={case:W},W="value"),h.kind){case"message":const ne=h.T;if(u===null&&ne.typeName!="google.protobuf.Value")return;let pe=y[W];fn(pe)?pe.fromJson(u,S):(y[W]=pe=ne.fromJson(u,S),ne.fieldWrapper&&!h.oneof&&(y[W]=ne.fieldWrapper.unwrapField(pe)));break;case"enum":const De=wa(h.T,u,S.ignoreUnknownFields,!1);switch(De){case xr:ct(h,y);break;case Ir:break;default:y[W]=De;break}break;case"scalar":try{const $e=wi(h.T,u,h.L,!1);switch($e){case xr:ct(h,y);break;default:y[W]=$e;break}}catch($e){let st=`cannot decode field ${A.typeName}.${h.name} from JSON: ${_r(u)}`;throw $e instanceof Error&&$e.message.length>0&&(st+=`: ${$e.message}`),new Error(st)}break}}function jn(y,u){if(y===Xe.BOOL)switch(u){case"true":u=!0;break;case"false":u=!1;break}return wi(y,u,Ut.BIGINT,!0).toString()}function wi(y,u,h,S){if(u===null)return S?te(y,h):xr;switch(y){case Xe.DOUBLE:case Xe.FLOAT:if(u==="NaN")return Number.NaN;if(u==="Infinity")return Number.POSITIVE_INFINITY;if(u==="-Infinity")return Number.NEGATIVE_INFINITY;if(u===""||typeof u=="string"&&u.trim().length!==u.length||typeof u!="string"&&typeof u!="number")break;const A=Number(u);if(Number.isNaN(A)||!Number.isFinite(A))break;return y==Xe.FLOAT&&se(A),A;case Xe.INT32:case Xe.FIXED32:case Xe.SFIXED32:case Xe.SINT32:case Xe.UINT32:let W;if(typeof u=="number"?W=u:typeof u=="string"&&u.length>0&&u.trim().length===u.length&&(W=Number(u)),W===void 0)break;return y==Xe.UINT32||y==Xe.FIXED32?ie(W):V(W),W;case Xe.INT64:case Xe.SFIXED64:case Xe.SINT64:if(typeof u!="number"&&typeof u!="string")break;const ne=Ct.parse(u);return h?ne.toString():ne;case Xe.FIXED64:case Xe.UINT64:if(typeof u!="number"&&typeof u!="string")break;const pe=Ct.uParse(u);return h?pe.toString():pe;case Xe.BOOL:if(typeof u!="boolean")break;return u;case Xe.STRING:if(typeof u!="string")break;try{encodeURIComponent(u)}catch{throw new Error("invalid UTF8")}return u;case Xe.BYTES:if(u==="")return new Uint8Array(0);if(typeof u!="string")break;return pt.dec(u)}throw new Error}function wa(y,u,h,S){if(u===null)return y.typeName=="google.protobuf.NullValue"?0:S?y.values[0].no:xr;switch(typeof u){case"number":if(Number.isInteger(u))return u;break;case"string":const A=y.findName(u);if(A!==void 0)return A.no;if(h)return Ir;break}throw new Error(`cannot decode enum ${y.typeName} from JSON: ${_r(u)}`)}function is(y){return y.repeated||y.kind=="map"?!0:!(y.oneof||y.kind=="message"||y.opt||y.req)}function ss(y,u,h){if(y.kind=="map"){I(typeof u=="object"&&u!=null);const S={},A=Object.entries(u);switch(y.V.kind){case"scalar":for(const[ne,pe]of A)S[ne.toString()]=at(y.V.T,pe);break;case"message":for(const[ne,pe]of A)S[ne.toString()]=pe.toJson(h);break;case"enum":const W=y.V.T;for(const[ne,pe]of A)S[ne.toString()]=Rs(W,pe,h.enumAsInteger);break}return h.emitDefaultValues||A.length>0?S:void 0}if(y.repeated){I(Array.isArray(u));const S=[];switch(y.kind){case"scalar":for(let A=0;A0?S:void 0}switch(y.kind){case"scalar":return at(y.T,u);case"enum":return Rs(y.T,u,h.enumAsInteger);case"message":return Rn(y.T,u).toJson(h)}}function Rs(y,u,h){var S;if(I(typeof u=="number"),y.typeName=="google.protobuf.NullValue")return null;if(h)return u;const A=y.findNumber(u);return(S=A==null?void 0:A.name)!==null&&S!==void 0?S:u}function at(y,u){switch(y){case Xe.INT32:case Xe.SFIXED32:case Xe.SINT32:case Xe.FIXED32:case Xe.UINT32:return I(typeof u=="number"),u;case Xe.FLOAT:case Xe.DOUBLE:return I(typeof u=="number"),Number.isNaN(u)?"NaN":u===Number.POSITIVE_INFINITY?"Infinity":u===Number.NEGATIVE_INFINITY?"-Infinity":u;case Xe.STRING:return I(typeof u=="string"),u;case Xe.BOOL:return I(typeof u=="boolean"),u;case Xe.UINT64:case Xe.FIXED64:case Xe.INT64:case Xe.SFIXED64:case Xe.SINT64:return I(typeof u=="bigint"||typeof u=="string"||typeof u=="number"),u.toString();case Xe.BYTES:return I(u instanceof Uint8Array),pt.enc(u)}}const z=Symbol("@bufbuild/protobuf/unknown-fields"),L={readUnknownFields:!0,readerFactory:y=>new Ke(y)},ve={writeUnknownFields:!0,writerFactory:()=>new We};function X(y){return y?Object.assign(Object.assign({},L),y):L}function be(y){return y?Object.assign(Object.assign({},ve),y):ve}function Rt(){return{makeReadOptions:X,makeWriteOptions:be,listUnknownFields(y){var u;return(u=y[z])!==null&&u!==void 0?u:[]},discardUnknownFields(y){delete y[z]},writeUnknownFields(y,u){const S=y[z];if(S)for(const A of S)u.tag(A.no,A.wireType).raw(A.data)},onUnknownField(y,u,h,S){const A=y;Array.isArray(A[z])||(A[z]=[]),A[z].push({no:u,wireType:h,data:S})},readMessage(y,u,h,S,A){const W=y.getType(),ne=A?u.len:u.pos+h;let pe,De;for(;u.pos0&&(De=ft),W){let Xt=y[ne];if(S==we.LengthDelimited&&pe!=Xe.STRING&&pe!=Xe.BYTES){let xn=u.uint32()+u.pos;for(;u.posfn(Xt,Zt)?Xt:new Zt(Xt));else{const Xt=ne[A];Zt.fieldWrapper?Zt.typeName==="google.protobuf.BytesValue"?W[A]=ti(Xt):W[A]=Xt:W[A]=fn(Xt,Zt)?Xt:new Zt(Xt)}break}}},equals(y,u,h){return u===h?!0:!u||!h?!1:y.fields.byMember().every(S=>{const A=u[S.localName],W=h[S.localName];if(S.repeated){if(A.length!==W.length)return!1;switch(S.kind){case"message":return A.every((ne,pe)=>S.T.equals(ne,W[pe]));case"scalar":return A.every((ne,pe)=>sn(S.T,ne,W[pe]));case"enum":return A.every((ne,pe)=>sn(Xe.INT32,ne,W[pe]))}throw new Error(`repeated cannot contain ${S.kind}`)}switch(S.kind){case"message":return S.T.equals(A,W);case"enum":return sn(Xe.INT32,A,W);case"scalar":return sn(S.T,A,W);case"oneof":if(A.case!==W.case)return!1;const ne=S.findField(A.case);if(ne===void 0)return!0;switch(ne.kind){case"message":return ne.T.equals(A.value,W.value);case"enum":return sn(Xe.INT32,A.value,W.value);case"scalar":return sn(ne.T,A.value,W.value)}throw new Error(`oneof cannot contain ${ne.kind}`);case"map":const pe=Object.keys(A).concat(Object.keys(W));switch(S.V.kind){case"message":const De=S.V.T;return pe.every(st=>De.equals(A[st],W[st]));case"enum":return pe.every(st=>sn(Xe.INT32,A[st],W[st]));case"scalar":const $e=S.V.T;return pe.every(st=>sn($e,A[st],W[st]))}break}})},clone(y){const u=y.getType(),h=new u,S=h;for(const A of u.fields.byMember()){const W=y[A.localName];let ne;if(A.repeated)ne=W.map(xi);else if(A.kind=="map"){ne=S[A.localName];for(const[pe,De]of Object.entries(W))ne[pe]=xi(De)}else A.kind=="oneof"?ne=A.findField(W.case)?{case:W.case,value:xi(W.value)}:{case:void 0}:ne=xi(W);S[A.localName]=ne}for(const A of u.runtime.bin.listUnknownFields(y))u.runtime.bin.onUnknownField(S,A.no,A.wireType,A.data);return h}}}function xi(y){if(y===void 0)return y;if(fn(y))return y.clone();if(y instanceof Uint8Array){const u=new Uint8Array(y.byteLength);return u.set(y),u}return y}function ti(y){return y instanceof Uint8Array?y:new Uint8Array(y)}function wn(y,u,h){return{syntax:y,json:$r(),bin:Rt(),util:Object.assign(Object.assign({},Jn()),{newFieldList:u,initFields:h}),makeMessageType(S,A,W){return re(this,S,A,W)},makeEnum:ae,makeEnumType:ye,getEnumType:fe,makeExtension(S,A,W){return xe(this,S,A,W)}}}class as{constructor(u,h){this._fields=u,this._normalizer=h}findJsonName(u){if(!this.jsonNames){const h={};for(const S of this.list())h[S.jsonName]=h[S.name]=S;this.jsonNames=h}return this.jsonNames[u]}find(u){if(!this.numbers){const h={};for(const S of this.list())h[S.no]=S;this.numbers=h}return this.numbers[u]}list(){return this.all||(this.all=this._normalizer(this._fields)),this.all}byNumber(){return this.numbersAsc||(this.numbersAsc=this.list().concat().sort((u,h)=>u.no-h.no)),this.numbersAsc}byMember(){if(!this.members){this.members=[];const u=this.members;let h;for(const S of this.list())S.oneof?S.oneof!==h&&(h=S.oneof,u.push(h)):u.push(S)}return this.members}}function Qi(y,u){const h=qs(y);return u?h:Vi(ga(h))}function Ln(y){return Qi(y,!1)}const ma=qs;function qs(y){let u=!1;const h=[];for(let S=0;S`${y}$`,ga=y=>yr.has(y)?Bi(y):y,Vi=y=>os.has(y)?Bi(y):y;class Ja{constructor(u){this.kind="oneof",this.repeated=!1,this.packed=!1,this.opt=!1,this.req=!1,this.default=void 0,this.fields=[],this.name=u,this.localName=Ln(u)}addField(u){I(u.oneof===this,`field ${u.name} not one of ${this.name}`),this.fields.push(u)}findField(u){if(!this._lookup){this._lookup=Object.create(null);for(let h=0;hnew as(y,u=>vd(u)),y=>{for(const u of y.getType().fields.byMember()){if(u.opt)continue;const h=u.localName,S=y;if(u.repeated){S[h]=[];continue}switch(u.kind){case"oneof":S[h]={case:void 0};break;case"enum":S[h]=0;break;case"map":S[h]={};break;case"scalar":S[h]=te(u.T,u.L);break}}});var Ui;(function(y){y[y.Unary=0]="Unary",y[y.ServerStreaming=1]="ServerStreaming",y[y.ClientStreaming=2]="ClientStreaming",y[y.BiDiStreaming=3]="BiDiStreaming"})(Ui||(Ui={}));var gi;(function(y){y[y.NoSideEffects=1]="NoSideEffects",y[y.Idempotent=2]="Idempotent"})(gi||(gi={}));class xa extends he{constructor(u){super(),this.seconds=Ct.zero,this.nanos=0,Oe.util.initPartial(u,this)}fromJson(u,h){if(typeof u!="string")throw new Error(`cannot decode google.protobuf.Timestamp from JSON: ${Oe.json.debug(u)}`);const S=u.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!S)throw new Error("cannot decode google.protobuf.Timestamp from JSON: invalid RFC 3339 string");const A=Date.parse(S[1]+"-"+S[2]+"-"+S[3]+"T"+S[4]+":"+S[5]+":"+S[6]+(S[8]?S[8]:"Z"));if(Number.isNaN(A))throw new Error("cannot decode google.protobuf.Timestamp from JSON: invalid RFC 3339 string");if(ADate.parse("9999-12-31T23:59:59Z"))throw new Error("cannot decode message google.protobuf.Timestamp from JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive");return this.seconds=Ct.parse(A/1e3),this.nanos=0,S[7]&&(this.nanos=parseInt("1"+S[7]+"0".repeat(9-S[7].length))-1e9),this}toJson(u){const h=Number(this.seconds)*1e3;if(hDate.parse("9999-12-31T23:59:59Z"))throw new Error("cannot encode google.protobuf.Timestamp to JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive");if(this.nanos<0)throw new Error("cannot encode google.protobuf.Timestamp to JSON: nanos must not be negative");let S="Z";if(this.nanos>0){const A=(this.nanos+1e9).toString().substring(1);A.substring(3)==="000000"?S="."+A.substring(0,3)+"Z":A.substring(6)==="000"?S="."+A.substring(0,6)+"Z":S="."+A+"Z"}return new Date(h).toISOString().replace(".000Z",S)}toDate(){return new Date(Number(this.seconds)*1e3+Math.ceil(this.nanos/1e6))}static now(){return xa.fromDate(new Date)}static fromDate(u){const h=u.getTime();return new xa({seconds:Ct.parse(Math.floor(h/1e3)),nanos:h%1e3*1e6})}static fromBinary(u,h){return new xa().fromBinary(u,h)}static fromJson(u,h){return new xa().fromJson(u,h)}static fromJsonString(u,h){return new xa().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(xa,u,h)}}xa.runtime=Oe,xa.typeName="google.protobuf.Timestamp",xa.fields=Oe.util.newFieldList(()=>[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}]);class Ba extends he{constructor(u){super(),this.seconds=Ct.zero,this.nanos=0,Oe.util.initPartial(u,this)}fromJson(u,h){if(typeof u!="string")throw new Error(`cannot decode google.protobuf.Duration from JSON: ${Oe.json.debug(u)}`);const S=u.match(/^(-?[0-9]+)(?:\.([0-9]+))?s/);if(S===null)throw new Error(`cannot decode google.protobuf.Duration from JSON: ${Oe.json.debug(u)}`);const A=Number(S[1]);if(A>315576e6||A<-315576e6)throw new Error(`cannot decode google.protobuf.Duration from JSON: ${Oe.json.debug(u)}`);if(this.seconds=Ct.parse(A),typeof S[2]=="string"){const W=S[2]+"0".repeat(9-S[2].length);this.nanos=parseInt(W),(A<0||Object.is(A,-0))&&(this.nanos=-this.nanos)}return this}toJson(u){if(Number(this.seconds)>315576e6||Number(this.seconds)<-315576e6)throw new Error("cannot encode google.protobuf.Duration to JSON: value out of range");let h=this.seconds.toString();if(this.nanos!==0){let S=Math.abs(this.nanos).toString();S="0".repeat(9-S.length)+S,S.substring(3)==="000000"?S=S.substring(0,3):S.substring(6)==="000"&&(S=S.substring(0,6)),h+="."+S,this.nanos<0&&Number(this.seconds)==0&&(h="-"+h)}return h+"s"}static fromBinary(u,h){return new Ba().fromBinary(u,h)}static fromJson(u,h){return new Ba().fromJson(u,h)}static fromJsonString(u,h){return new Ba().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Ba,u,h)}}Ba.runtime=Oe,Ba.typeName="google.protobuf.Duration",Ba.fields=Oe.util.newFieldList(()=>[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}]);class tl extends he{constructor(u){super(),this.typeUrl="",this.value=new Uint8Array(0),Oe.util.initPartial(u,this)}toJson(u){var h;if(this.typeUrl==="")return{};const S=this.typeUrlToName(this.typeUrl),A=(h=u==null?void 0:u.typeRegistry)===null||h===void 0?void 0:h.findMessage(S);if(!A)throw new Error(`cannot encode message google.protobuf.Any to JSON: "${this.typeUrl}" is not in the type registry`);let ne=A.fromBinary(this.value).toJson(u);return(S.startsWith("google.protobuf.")||ne===null||Array.isArray(ne)||typeof ne!="object")&&(ne={value:ne}),ne["@type"]=this.typeUrl,ne}fromJson(u,h){var S;if(u===null||Array.isArray(u)||typeof u!="object")throw new Error(`cannot decode message google.protobuf.Any from JSON: expected object but got ${u===null?"null":Array.isArray(u)?"array":typeof u}`);if(Object.keys(u).length==0)return this;const A=u["@type"];if(typeof A!="string"||A=="")throw new Error('cannot decode message google.protobuf.Any from JSON: "@type" is empty');const W=this.typeUrlToName(A),ne=(S=h==null?void 0:h.typeRegistry)===null||S===void 0?void 0:S.findMessage(W);if(!ne)throw new Error(`cannot decode message google.protobuf.Any from JSON: ${A} is not in the type registry`);let pe;if(W.startsWith("google.protobuf.")&&Object.prototype.hasOwnProperty.call(u,"value"))pe=ne.fromJson(u.value,h);else{const De=Object.assign({},u);delete De["@type"],pe=ne.fromJson(De,h)}return this.packFrom(pe),this}packFrom(u){this.value=u.toBinary(),this.typeUrl=this.typeNameToUrl(u.getType().typeName)}unpackTo(u){return this.is(u.getType())?(u.fromBinary(this.value),!0):!1}unpack(u){if(this.typeUrl==="")return;const h=u.findMessage(this.typeUrlToName(this.typeUrl));if(h)return h.fromBinary(this.value)}is(u){if(this.typeUrl==="")return!1;const h=this.typeUrlToName(this.typeUrl);let S="";return typeof u=="string"?S=u:S=u.typeName,h===S}typeNameToUrl(u){return`type.googleapis.com/${u}`}typeUrlToName(u){if(!u.length)throw new Error(`invalid type url: ${u}`);const h=u.lastIndexOf("/"),S=h>=0?u.substring(h+1):u;if(!S.length)throw new Error(`invalid type url: ${u}`);return S}static pack(u){const h=new tl;return h.packFrom(u),h}static fromBinary(u,h){return new tl().fromBinary(u,h)}static fromJson(u,h){return new tl().fromJson(u,h)}static fromJsonString(u,h){return new tl().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(tl,u,h)}}tl.runtime=Oe,tl.typeName="google.protobuf.Any",tl.fields=Oe.util.newFieldList(()=>[{no:1,name:"type_url",kind:"scalar",T:9},{no:2,name:"value",kind:"scalar",T:12}]);class Ta extends he{constructor(u){super(),this.value=0,Oe.util.initPartial(u,this)}toJson(u){return Oe.json.writeScalar(Xe.DOUBLE,this.value,!0)}fromJson(u,h){try{this.value=Oe.json.readScalar(Xe.DOUBLE,u)}catch(S){let A='cannot decode message google.protobuf.DoubleValue from JSON"';throw S instanceof Error&&S.message.length>0&&(A+=`: ${S.message}`),new Error(A)}return this}static fromBinary(u,h){return new Ta().fromBinary(u,h)}static fromJson(u,h){return new Ta().fromJson(u,h)}static fromJsonString(u,h){return new Ta().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Ta,u,h)}}Ta.runtime=Oe,Ta.typeName="google.protobuf.DoubleValue",Ta.fields=Oe.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:1}]),Ta.fieldWrapper={wrapField(y){return new Ta({value:y})},unwrapField(y){return y.value}};class Tl extends he{constructor(u){super(),this.value=0,Oe.util.initPartial(u,this)}toJson(u){return Oe.json.writeScalar(Xe.FLOAT,this.value,!0)}fromJson(u,h){try{this.value=Oe.json.readScalar(Xe.FLOAT,u)}catch(S){let A='cannot decode message google.protobuf.FloatValue from JSON"';throw S instanceof Error&&S.message.length>0&&(A+=`: ${S.message}`),new Error(A)}return this}static fromBinary(u,h){return new Tl().fromBinary(u,h)}static fromJson(u,h){return new Tl().fromJson(u,h)}static fromJsonString(u,h){return new Tl().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Tl,u,h)}}Tl.runtime=Oe,Tl.typeName="google.protobuf.FloatValue",Tl.fields=Oe.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:2}]),Tl.fieldWrapper={wrapField(y){return new Tl({value:y})},unwrapField(y){return y.value}};class Ua extends he{constructor(u){super(),this.value=Ct.zero,Oe.util.initPartial(u,this)}toJson(u){return Oe.json.writeScalar(Xe.INT64,this.value,!0)}fromJson(u,h){try{this.value=Oe.json.readScalar(Xe.INT64,u)}catch(S){let A='cannot decode message google.protobuf.Int64Value from JSON"';throw S instanceof Error&&S.message.length>0&&(A+=`: ${S.message}`),new Error(A)}return this}static fromBinary(u,h){return new Ua().fromBinary(u,h)}static fromJson(u,h){return new Ua().fromJson(u,h)}static fromJsonString(u,h){return new Ua().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Ua,u,h)}}Ua.runtime=Oe,Ua.typeName="google.protobuf.Int64Value",Ua.fields=Oe.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:3}]),Ua.fieldWrapper={wrapField(y){return new Ua({value:y})},unwrapField(y){return y.value}};class ka extends he{constructor(u){super(),this.value=Ct.zero,Oe.util.initPartial(u,this)}toJson(u){return Oe.json.writeScalar(Xe.UINT64,this.value,!0)}fromJson(u,h){try{this.value=Oe.json.readScalar(Xe.UINT64,u)}catch(S){let A='cannot decode message google.protobuf.UInt64Value from JSON"';throw S instanceof Error&&S.message.length>0&&(A+=`: ${S.message}`),new Error(A)}return this}static fromBinary(u,h){return new ka().fromBinary(u,h)}static fromJson(u,h){return new ka().fromJson(u,h)}static fromJsonString(u,h){return new ka().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(ka,u,h)}}ka.runtime=Oe,ka.typeName="google.protobuf.UInt64Value",ka.fields=Oe.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:4}]),ka.fieldWrapper={wrapField(y){return new ka({value:y})},unwrapField(y){return y.value}};class eo extends he{constructor(u){super(),this.value=0,Oe.util.initPartial(u,this)}toJson(u){return Oe.json.writeScalar(Xe.INT32,this.value,!0)}fromJson(u,h){try{this.value=Oe.json.readScalar(Xe.INT32,u)}catch(S){let A='cannot decode message google.protobuf.Int32Value from JSON"';throw S instanceof Error&&S.message.length>0&&(A+=`: ${S.message}`),new Error(A)}return this}static fromBinary(u,h){return new eo().fromBinary(u,h)}static fromJson(u,h){return new eo().fromJson(u,h)}static fromJsonString(u,h){return new eo().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(eo,u,h)}}eo.runtime=Oe,eo.typeName="google.protobuf.Int32Value",eo.fields=Oe.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:5}]),eo.fieldWrapper={wrapField(y){return new eo({value:y})},unwrapField(y){return y.value}};class _a extends he{constructor(u){super(),this.value=0,Oe.util.initPartial(u,this)}toJson(u){return Oe.json.writeScalar(Xe.UINT32,this.value,!0)}fromJson(u,h){try{this.value=Oe.json.readScalar(Xe.UINT32,u)}catch(S){let A='cannot decode message google.protobuf.UInt32Value from JSON"';throw S instanceof Error&&S.message.length>0&&(A+=`: ${S.message}`),new Error(A)}return this}static fromBinary(u,h){return new _a().fromBinary(u,h)}static fromJson(u,h){return new _a().fromJson(u,h)}static fromJsonString(u,h){return new _a().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(_a,u,h)}}_a.runtime=Oe,_a.typeName="google.protobuf.UInt32Value",_a.fields=Oe.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:13}]),_a.fieldWrapper={wrapField(y){return new _a({value:y})},unwrapField(y){return y.value}};class Mo extends he{constructor(u){super(),this.value=!1,Oe.util.initPartial(u,this)}toJson(u){return Oe.json.writeScalar(Xe.BOOL,this.value,!0)}fromJson(u,h){try{this.value=Oe.json.readScalar(Xe.BOOL,u)}catch(S){let A='cannot decode message google.protobuf.BoolValue from JSON"';throw S instanceof Error&&S.message.length>0&&(A+=`: ${S.message}`),new Error(A)}return this}static fromBinary(u,h){return new Mo().fromBinary(u,h)}static fromJson(u,h){return new Mo().fromJson(u,h)}static fromJsonString(u,h){return new Mo().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Mo,u,h)}}Mo.runtime=Oe,Mo.typeName="google.protobuf.BoolValue",Mo.fields=Oe.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:8}]),Mo.fieldWrapper={wrapField(y){return new Mo({value:y})},unwrapField(y){return y.value}};class ht extends he{constructor(u){super(),this.value="",Oe.util.initPartial(u,this)}toJson(u){return Oe.json.writeScalar(Xe.STRING,this.value,!0)}fromJson(u,h){try{this.value=Oe.json.readScalar(Xe.STRING,u)}catch(S){let A='cannot decode message google.protobuf.StringValue from JSON"';throw S instanceof Error&&S.message.length>0&&(A+=`: ${S.message}`),new Error(A)}return this}static fromBinary(u,h){return new ht().fromBinary(u,h)}static fromJson(u,h){return new ht().fromJson(u,h)}static fromJsonString(u,h){return new ht().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(ht,u,h)}}ht.runtime=Oe,ht.typeName="google.protobuf.StringValue",ht.fields=Oe.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:9}]),ht.fieldWrapper={wrapField(y){return new ht({value:y})},unwrapField(y){return y.value}};class Vr extends he{constructor(u){super(),this.value=new Uint8Array(0),Oe.util.initPartial(u,this)}toJson(u){return Oe.json.writeScalar(Xe.BYTES,this.value,!0)}fromJson(u,h){try{this.value=Oe.json.readScalar(Xe.BYTES,u)}catch(S){let A='cannot decode message google.protobuf.BytesValue from JSON"';throw S instanceof Error&&S.message.length>0&&(A+=`: ${S.message}`),new Error(A)}return this}static fromBinary(u,h){return new Vr().fromBinary(u,h)}static fromJson(u,h){return new Vr().fromJson(u,h)}static fromJsonString(u,h){return new Vr().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Vr,u,h)}}Vr.runtime=Oe,Vr.typeName="google.protobuf.BytesValue",Vr.fields=Oe.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:12}]),Vr.fieldWrapper={wrapField(y){return new Vr({value:y})},unwrapField(y){return y.value}};function nl(y,u,h){try{const S=pt.dec(y);return u?u.fromBinary(S,h):S}catch(S){throw _.from(S,x.DataLoss)}}function rl(y,u){const h={};for(const[S,A]of Object.entries(y.methods)){const W=u(Object.assign(Object.assign({},A),{localName:S,service:y}));W!=null&&(h[S]=W)}return h}function Wp(y){let u,h=new Uint8Array(0);function S(A){const W=new Uint8Array(h.length+A.length);W.set(h),W.set(A,h.length),h=W}return new ReadableStream({start(){u=y.getReader()},async pull(A){let W;for(;;){if(W===void 0&&h.byteLength>=5){let De=0;for(let $e=1;$e<5;$e++)De=(De<<8)+h[$e];W={flags:h[0],length:De}}if(W!==void 0&&h.byteLength>=W.length+5)break;const pe=await u.read();if(pe.done)break;S(pe.value)}if(W===void 0){if(h.byteLength==0){A.close();return}A.error(new _("premature end of stream",x.DataLoss));return}const ne=h.subarray(5,5+W.length);h=h.subarray(5+W.length),A.enqueue({flags:W.flags,data:ne})}})}function _h(y,u){const h=new Uint8Array(u.length+5);h.set(u,5);const S=new DataView(h.buffer,h.byteOffset,h.byteLength);return S.setUint8(0,y),S.setUint32(1,u.length),h}var Fo=function(y){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var u=y[Symbol.asyncIterator],h;return u?u.call(y):(y=typeof __values=="function"?__values(y):y[Symbol.iterator](),h={},S("next"),S("throw"),S("return"),h[Symbol.asyncIterator]=function(){return this},h);function S(W){h[W]=y[W]&&function(ne){return new Promise(function(pe,De){ne=y[W](ne),A(pe,De,ne.done,ne.value)})}}function A(W,ne,pe,De){Promise.resolve(De).then(function($e){W({value:$e,done:pe})},ne)}},Cu=function(y){return this instanceof Cu?(this.v=y,this):new Cu(y)},il=function(y,u,h){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var S=h.apply(y,u||[]),A,W=[];return A={},pe("next"),pe("throw"),pe("return",ne),A[Symbol.asyncIterator]=function(){return this},A;function ne(Ft){return function(xn){return Promise.resolve(xn).then(Ft,Zt)}}function pe(Ft,xn){S[Ft]&&(A[Ft]=function(cr){return new Promise(function(ur,ri){W.push([Ft,cr,ur,ri])>1||De(Ft,cr)})},xn&&(A[Ft]=xn(A[Ft])))}function De(Ft,xn){try{$e(S[Ft](xn))}catch(cr){Xt(W[0][3],cr)}}function $e(Ft){Ft.value instanceof Cu?Promise.resolve(Ft.value.v).then(st,Zt):Xt(W[0][2],Ft)}function st(Ft){De("next",Ft)}function Zt(Ft){De("throw",Ft)}function Xt(Ft,xn){Ft(xn),W.shift(),W.length&&De(W[0][0],W[0][1])}},vn=function(y){var u,h;return u={},S("next"),S("throw",function(A){throw A}),S("return"),u[Symbol.iterator]=function(){return this},u;function S(A,W){u[A]=y[A]?function(ne){return(h=!h)?{value:Cu(y[A](ne)),done:!1}:W?W(ne):ne}:W}};function yc(y){return il(this,arguments,function*(){yield Cu(yield*vn(Fo(y)))})}var kf=function(y){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var u=y[Symbol.asyncIterator],h;return u?u.call(y):(y=typeof __values=="function"?__values(y):y[Symbol.iterator](),h={},S("next"),S("throw"),S("return"),h[Symbol.asyncIterator]=function(){return this},h);function S(W){h[W]=y[W]&&function(ne){return new Promise(function(pe,De){ne=y[W](ne),A(pe,De,ne.done,ne.value)})}}function A(W,ne,pe,De){Promise.resolve(De).then(function($e){W({value:$e,done:pe})},ne)}},zi=function(y){return this instanceof zi?(this.v=y,this):new zi(y)},Kl=function(y){var u,h;return u={},S("next"),S("throw",function(A){throw A}),S("return"),u[Symbol.iterator]=function(){return this},u;function S(A,W){u[A]=y[A]?function(ne){return(h=!h)?{value:zi(y[A](ne)),done:!1}:W?W(ne):ne}:W}},Qp=function(y,u,h){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var S=h.apply(y,u||[]),A,W=[];return A={},pe("next"),pe("throw"),pe("return",ne),A[Symbol.asyncIterator]=function(){return this},A;function ne(Ft){return function(xn){return Promise.resolve(xn).then(Ft,Zt)}}function pe(Ft,xn){S[Ft]&&(A[Ft]=function(cr){return new Promise(function(ur,ri){W.push([Ft,cr,ur,ri])>1||De(Ft,cr)})},xn&&(A[Ft]=xn(A[Ft])))}function De(Ft,xn){try{$e(S[Ft](xn))}catch(cr){Xt(W[0][3],cr)}}function $e(Ft){Ft.value instanceof zi?Promise.resolve(Ft.value.v).then(st,Zt):Xt(W[0][2],Ft)}function st(Ft){De("next",Ft)}function Zt(Ft){De("throw",Ft)}function Xt(Ft,xn){Ft(xn),W.shift(),W.length&&De(W[0][0],W[0][1])}};function Cm(y,u){return rl(y,h=>{switch(h.kind){case Ui.Unary:return Rm(u,y,h);case Ui.ServerStreaming:return Im(u,y,h);case Ui.ClientStreaming:return Ss(u,y,h);case Ui.BiDiStreaming:return Ah(u,y,h);default:return null}})}function Rm(y,u,h){return async function(S,A){var W,ne;const pe=await y.unary(u,h,A==null?void 0:A.signal,A==null?void 0:A.timeoutMs,A==null?void 0:A.headers,S,A==null?void 0:A.contextValues);return(W=A==null?void 0:A.onHeader)===null||W===void 0||W.call(A,pe.header),(ne=A==null?void 0:A.onTrailer)===null||ne===void 0||ne.call(A,pe.trailer),pe.message}}function Im(y,u,h){return function(S,A){return Ri(y.stream(u,h,A==null?void 0:A.signal,A==null?void 0:A.timeoutMs,A==null?void 0:A.headers,yc([S]),A==null?void 0:A.contextValues),A)}}function Ss(y,u,h){return async function(S,A){var W,ne,pe,De,$e,st;const Zt=await y.stream(u,h,A==null?void 0:A.signal,A==null?void 0:A.timeoutMs,A==null?void 0:A.headers,S,A==null?void 0:A.contextValues);($e=A==null?void 0:A.onHeader)===null||$e===void 0||$e.call(A,Zt.header);let Xt;try{for(var Ft=!0,xn=kf(Zt.message),cr;cr=await xn.next(),W=cr.done,!W;Ft=!0)De=cr.value,Ft=!1,Xt=De}catch(ur){ne={error:ur}}finally{try{!Ft&&!W&&(pe=xn.return)&&await pe.call(xn)}finally{if(ne)throw ne.error}}if(!Xt)throw new _("protocol error: missing response message",x.Internal);return(st=A==null?void 0:A.onTrailer)===null||st===void 0||st.call(A,Zt.trailer),Xt}}function Ah(y,u,h){return function(S,A){return Ri(y.stream(u,h,A==null?void 0:A.signal,A==null?void 0:A.timeoutMs,A==null?void 0:A.headers,S,A==null?void 0:A.contextValues),A)}}function Ri(y,u){const h=function(){var S,A;return Qp(this,arguments,function*(){const W=yield zi(y);(S=u==null?void 0:u.onHeader)===null||S===void 0||S.call(u,W.header),yield zi(yield*Kl(kf(W.message))),(A=u==null?void 0:u.onTrailer)===null||A===void 0||A.call(u,W.trailer)})}()[Symbol.asyncIterator]();return{[Symbol.asyncIterator]:()=>({next:()=>h.next()})}}function Ti(...y){const u=new AbortController,h=y.filter(A=>A!==void 0).concat(u.signal);for(const A of h){if(A.aborted){S.apply(A);break}A.addEventListener("abort",S)}function S(){u.signal.aborted||u.abort(Ru(this));for(const A of h)A.removeEventListener("abort",S)}return u}function Ch(y){const u=new AbortController,h=()=>{u.abort(new _("the operation timed out",x.DeadlineExceeded))};let S;return y!==void 0&&(y<=0?h():S=setTimeout(h,y)),{signal:u.signal,cleanup:()=>clearTimeout(S)}}function Ru(y){if(!y.aborted)return;if(y.reason!==void 0)return y.reason;const u=new Error("This operation was aborted");return u.name="AbortError",u}function Gr(){return{get(y){return y.id in this?this[y.id]:y.defaultValue},set(y,u){return this[y.id]=u,this},delete(y){return delete this[y.id],this}}}const R=128;function N(y){const u=new Headers,h=new TextDecoder().decode(y).split(`\r -`);for(const S of h){if(S==="")continue;const A=S.indexOf(":");if(A>0){const W=S.substring(0,A).trim(),ne=S.substring(A+1).trim();u.append(W,ne)}}return u}const H="Content-Type",Q="Grpc-Timeout",ee="Grpc-Status",J="Grpc-Message",oe="Grpc-Status-Details-Bin",Ae="X-User-Agent",Le="X-Grpc-Web",Ve="application/grpc-web+proto",He="application/grpc-web+json";class vt extends he{constructor(u){super(),this.code=0,this.message="",this.details=[],Oe.util.initPartial(u,this)}static fromBinary(u,h){return new vt().fromBinary(u,h)}static fromJson(u,h){return new vt().fromJson(u,h)}static fromJsonString(u,h){return new vt().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(vt,u,h)}}vt.runtime=Oe,vt.typeName="google.rpc.Status",vt.fields=Oe.util.newFieldList(()=>[{no:1,name:"code",kind:"scalar",T:5},{no:2,name:"message",kind:"scalar",T:9},{no:3,name:"details",kind:"message",T:tl,repeated:!0}]);const gt="0";function bt(y){var u;const h=y.get(oe);if(h!=null){const A=nl(h,vt);if(A.code==0)return;const W=new _(A.message,A.code,y);return W.details=A.details.map(ne=>({type:ne.typeUrl.substring(ne.typeUrl.lastIndexOf("/")+1),value:ne.value})),W}const S=y.get(ee);if(S!=null){if(S===gt)return;const A=parseInt(S,10);return A in x?new _(decodeURIComponent((u=y.get(J))!==null&&u!==void 0?u:""),A,y):new _(`invalid grpc-status: ${S}`,x.Internal,y)}}function dt(y,u,h){const S=typeof u=="string"?u:u.typeName,A=typeof h=="string"?h:h.name;return y.toString().replace(/\/?$/,`/${S}/${A}`)}function $t(y,u){return u instanceof y?u:new y(u)}function tn(y,u){function h(S){return S.done===!0?S:{done:S.done,value:$t(y,S.value)}}return{[Symbol.asyncIterator](){const S=u[Symbol.asyncIterator](),A={next:()=>S.next().then(h)};return S.throw!==void 0&&(A.throw=W=>S.throw(W).then(h)),S.return!==void 0&&(A.return=W=>S.return(W).then(h)),A}}}function $n(y,u){var h;return(h=u==null?void 0:u.concat().reverse().reduce((S,A)=>A(S),y))!==null&&h!==void 0?h:y}function Zn(y){var u;const h=Object.assign({},y);return(u=h.ignoreUnknownFields)!==null&&u!==void 0||(h.ignoreUnknownFields=!0),h}function Xn(y,u,h,S){const A=u?ki(y.I,S):Js(y.I,h);return{parse:(u?ki(y.O,S):Js(y.O,h)).parse,serialize:A.serialize}}function ki(y,u){return{parse(h){try{return y.fromBinary(h,u)}catch(S){const A=S instanceof Error?S.message:String(S);throw new _(`parse binary: ${A}`,x.InvalidArgument)}},serialize(h){try{return h.toBinary(u)}catch(S){const A=S instanceof Error?S.message:String(S);throw new _(`serialize binary: ${A}`,x.Internal)}}}}function Js(y,u){var h,S;const A=(h=u==null?void 0:u.textEncoder)!==null&&h!==void 0?h:new TextEncoder,W=(S=u==null?void 0:u.textDecoder)!==null&&S!==void 0?S:new TextDecoder,ne=Zn(u);return{parse(pe){try{const De=W.decode(pe);return y.fromJsonString(De,ne)}catch(De){throw _.from(De,x.InvalidArgument)}},serialize(pe){try{const De=pe.toJsonString(ne);return A.encode(De)}catch(De){throw _.from(De,x.Internal)}}}}function Gi(y){const u=$n(y.next,y.interceptors),[h,S,A]=vr(y),W=Object.assign(Object.assign({},y.req),{message:$t(y.req.method.I,y.req.message),signal:h});return u(W).then(ne=>(A(),ne),S)}function js(y){const u=$n(y.next,y.interceptors),[h,S,A]=vr(y),W=Object.assign(Object.assign({},y.req),{message:tn(y.req.method.I,y.req.message),signal:h});let ne=!1;return h.addEventListener("abort",function(){var pe,De;const $e=y.req.message[Symbol.asyncIterator]();ne||(pe=$e.throw)===null||pe===void 0||pe.call($e,this.reason).catch(()=>{}),(De=$e.return)===null||De===void 0||De.call($e).catch(()=>{})}),u(W).then(pe=>Object.assign(Object.assign({},pe),{message:{[Symbol.asyncIterator](){const De=pe.message[Symbol.asyncIterator]();return{next(){return De.next().then($e=>($e.done==!0&&(ne=!0,A()),$e),S)}}}}}),S)}function vr(y){const{signal:u,cleanup:h}=Ch(y.timeoutMs),S=Ti(y.signal,u);return[S.signal,function(W){const ne=_.from(u.aborted?Ru(u):W);return S.abort(ne),h(),Promise.reject(ne)},function(){h(),S.abort()}]}function ln(){try{new Headers}catch{throw new Error("connect-web requires the fetch API. Are you running on an old version of Node.js? Node.js is not supported in Connect for Web - please stay tuned for Connect for Node.")}}function Yi(y,u){const h=bt(y);if(h)throw u.forEach((S,A)=>{h.metadata.append(A,S)}),h}function ls(y,u,h,S){const A=new Headers(h??{});return A.set(H,y?Ve:He),A.set(Le,"1"),A.set(Ae,"connect-es/1.4.0"),u!==void 0&&A.set(Q,`${u}m`),A}function Is(y){switch(y){case 400:return x.Internal;case 401:return x.Unauthenticated;case 403:return x.PermissionDenied;case 404:return x.Unimplemented;case 429:return x.Unavailable;case 502:return x.Unavailable;case 503:return x.Unavailable;case 504:return x.Unavailable;default:return x.Unknown}}function to(y,u){var h;if(y>=200&&y<300){const S=bt(u);if(S)throw S;return{foundStatus:u.has(ee)}}throw new _(decodeURIComponent((h=u.get(J))!==null&&h!==void 0?h:`HTTP ${y}`),Is(y),u)}var Jl=function(y){return this instanceof Jl?(this.v=y,this):new Jl(y)},Rh=function(y,u,h){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var S=h.apply(y,u||[]),A,W=[];return A={},pe("next"),pe("throw"),pe("return",ne),A[Symbol.asyncIterator]=function(){return this},A;function ne(Ft){return function(xn){return Promise.resolve(xn).then(Ft,Zt)}}function pe(Ft,xn){S[Ft]&&(A[Ft]=function(cr){return new Promise(function(ur,ri){W.push([Ft,cr,ur,ri])>1||De(Ft,cr)})},xn&&(A[Ft]=xn(A[Ft])))}function De(Ft,xn){try{$e(S[Ft](xn))}catch(cr){Xt(W[0][3],cr)}}function $e(Ft){Ft.value instanceof Jl?Promise.resolve(Ft.value.v).then(st,Zt):Xt(W[0][2],Ft)}function st(Ft){De("next",Ft)}function Zt(Ft){De("throw",Ft)}function Xt(Ft,xn){Ft(xn),W.shift(),W.length&&De(W[0][0],W[0][1])}};function Vp(y){var u;ln();const h=(u=y.useBinaryFormat)!==null&&u!==void 0?u:!0;return{async unary(S,A,W,ne,pe,De,$e){var st;const{serialize:Zt,parse:Xt}=Xn(A,h,y.jsonOptions,y.binaryOptions);return ne=ne===void 0?y.defaultTimeoutMs:ne<=0?void 0:ne,await Gi({interceptors:y.interceptors,signal:W,timeoutMs:ne,req:{stream:!1,service:S,method:A,url:dt(y.baseUrl,S,A),init:{method:"POST",credentials:(st=y.credentials)!==null&&st!==void 0?st:"same-origin",redirect:"error",mode:"cors"},header:ls(h,ne,pe),contextValues:$e??Gr(),message:De},next:async Ft=>{var xn;const ur=await((xn=y.fetch)!==null&&xn!==void 0?xn:globalThis.fetch)(Ft.url,Object.assign(Object.assign({},Ft.init),{headers:Ft.header,signal:Ft.signal,body:_h(0,Zt(Ft.message))}));if(to(ur.status,ur.headers),!ur.body)throw"missing response body";const ri=Wp(ur.body).getReader();let Ps,Si;for(;;){const Zi=await ri.read();if(Zi.done)break;const{flags:us,data:cs}=Zi.value;if(us===R){if(Ps!==void 0)throw"extra trailer";Ps=N(cs);continue}if(Si!==void 0)throw"extra message";Si=Xt(cs)}if(Ps===void 0)throw"missing trailer";if(Yi(Ps,ur.headers),Si===void 0)throw"missing message";return{stream:!1,service:S,method:A,header:ur.headers,message:Si,trailer:Ps}}})},async stream(S,A,W,ne,pe,De,$e){var st;const{serialize:Zt,parse:Xt}=Xn(A,h,y.jsonOptions,y.binaryOptions);function Ft(cr,ur,ri,Ps){return Rh(this,arguments,function*(){const Zi=Wp(cr).getReader();if(ur){if(!(yield Jl(Zi.read())).done)throw"extra data for trailers-only";return yield Jl(void 0)}let us=!1;for(;;){const cs=yield Jl(Zi.read());if(cs.done)break;const{flags:w0,data:x0}=cs.value;if((w0&R)===R){if(us)throw"extra trailer";us=!0;const J1=N(x0);Yi(J1,Ps),J1.forEach((o7,l7)=>ri.set(l7,o7));continue}if(us)throw"extra message";yield yield Jl(Xt(x0))}if(!us)throw"missing trailer"})}async function xn(cr){if(A.kind!=Ui.ServerStreaming)throw"The fetch API does not support streaming request bodies";const ur=await cr[Symbol.asyncIterator]().next();if(ur.done==!0)throw"missing request message";return _h(0,Zt(ur.value))}return ne=ne===void 0?y.defaultTimeoutMs:ne<=0?void 0:ne,js({interceptors:y.interceptors,signal:W,timeoutMs:ne,req:{stream:!0,service:S,method:A,url:dt(y.baseUrl,S,A),init:{method:"POST",credentials:(st=y.credentials)!==null&&st!==void 0?st:"same-origin",redirect:"error",mode:"cors"},header:ls(h,ne,pe),contextValues:$e??Gr(),message:De},next:async cr=>{var ur;const Ps=await((ur=y.fetch)!==null&&ur!==void 0?ur:globalThis.fetch)(cr.url,Object.assign(Object.assign({},cr.init),{headers:cr.header,signal:cr.signal,body:await xn(cr.message)})),{foundStatus:Si}=to(Ps.status,Ps.headers);if(!Ps.body)throw"missing response body";const Zi=new Headers;return Object.assign(Object.assign({},cr),{header:Ps.headers,trailer:Zi,message:Ft(Ps.body,Si,Zi,Ps.headers)})}})}}}var Tr=(y=>(y[y.NULL=0]="NULL",y[y.BOOLEAN=1]="BOOLEAN",y[y.INTEGER=2]="INTEGER",y[y.LONG=3]="LONG",y[y.DOUBLE=4]="DOUBLE",y[y.STRING=5]="STRING",y[y.BYTES=6]="BYTES",y[y.DATE=7]="DATE",y[y.JSON_OBJECT=8]="JSON_OBJECT",y[y.JSON_ARRAY=9]="JSON_ARRAY",y[y.TEXT=10]="TEXT",y[y.INTEGER_CNT=11]="INTEGER_CNT",y[y.LONG_CNT=12]="LONG_CNT",y[y.TREE=13]="TREE",y))(Tr||{});Oe.util.setEnumType(Tr,"yorkie.v1.ValueType",[{no:0,name:"VALUE_TYPE_NULL"},{no:1,name:"VALUE_TYPE_BOOLEAN"},{no:2,name:"VALUE_TYPE_INTEGER"},{no:3,name:"VALUE_TYPE_LONG"},{no:4,name:"VALUE_TYPE_DOUBLE"},{no:5,name:"VALUE_TYPE_STRING"},{no:6,name:"VALUE_TYPE_BYTES"},{no:7,name:"VALUE_TYPE_DATE"},{no:8,name:"VALUE_TYPE_JSON_OBJECT"},{no:9,name:"VALUE_TYPE_JSON_ARRAY"},{no:10,name:"VALUE_TYPE_TEXT"},{no:11,name:"VALUE_TYPE_INTEGER_CNT"},{no:12,name:"VALUE_TYPE_LONG_CNT"},{no:13,name:"VALUE_TYPE_TREE"}]);var eu=(y=>(y[y.DOCUMENT_CHANGED=0]="DOCUMENT_CHANGED",y[y.DOCUMENT_WATCHED=1]="DOCUMENT_WATCHED",y[y.DOCUMENT_UNWATCHED=2]="DOCUMENT_UNWATCHED",y[y.DOCUMENT_BROADCAST=3]="DOCUMENT_BROADCAST",y))(eu||{});Oe.util.setEnumType(eu,"yorkie.v1.DocEventType",[{no:0,name:"DOC_EVENT_TYPE_DOCUMENT_CHANGED"},{no:1,name:"DOC_EVENT_TYPE_DOCUMENT_WATCHED"},{no:2,name:"DOC_EVENT_TYPE_DOCUMENT_UNWATCHED"},{no:3,name:"DOC_EVENT_TYPE_DOCUMENT_BROADCAST"}]);const kl=class ex extends he{constructor(u){super(),a(this,"root"),a(this,"presences",{}),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new ex().fromBinary(u,h)}static fromJson(u,h){return new ex().fromJson(u,h)}static fromJsonString(u,h){return new ex().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(ex,u,h)}};a(kl,"runtime",Oe),a(kl,"typeName","yorkie.v1.Snapshot"),a(kl,"fields",Oe.util.newFieldList(()=>[{no:1,name:"root",kind:"message",T:Aa},{no:2,name:"presences",kind:"map",K:9,V:{kind:"message",T:xd}}]));let d2=kl,tu=(o=class extends he{constructor(y){super(),a(this,"documentKey",""),a(this,"checkpoint"),a(this,"snapshot",new Uint8Array(0)),a(this,"changes",[]),a(this,"minSyncedTicket"),a(this,"isRemoved",!1),a(this,"versionVector"),Oe.util.initPartial(y,this)}static fromBinary(y,u){return new o().fromBinary(y,u)}static fromJson(y,u){return new o().fromJson(y,u)}static fromJsonString(y,u){return new o().fromJsonString(y,u)}static equals(y,u){return Oe.util.equals(o,y,u)}},a(o,"runtime",Oe),a(o,"typeName","yorkie.v1.ChangePack"),a(o,"fields",Oe.util.newFieldList(()=>[{no:1,name:"document_key",kind:"scalar",T:9},{no:2,name:"checkpoint",kind:"message",T:zm},{no:3,name:"snapshot",kind:"scalar",T:12},{no:4,name:"changes",kind:"message",T:Dm,repeated:!0},{no:5,name:"min_synced_ticket",kind:"message",T:Wn},{no:6,name:"is_removed",kind:"scalar",T:8},{no:7,name:"version_vector",kind:"message",T:Dh}])),o),Dm=(l=class extends he{constructor(y){super(),a(this,"id"),a(this,"message",""),a(this,"operations",[]),a(this,"presenceChange"),Oe.util.initPartial(y,this)}static fromBinary(y,u){return new l().fromBinary(y,u)}static fromJson(y,u){return new l().fromJson(y,u)}static fromJsonString(y,u){return new l().fromJsonString(y,u)}static equals(y,u){return Oe.util.equals(l,y,u)}},a(l,"runtime",Oe),a(l,"typeName","yorkie.v1.Change"),a(l,"fields",Oe.util.newFieldList(()=>[{no:1,name:"id",kind:"message",T:Ih},{no:2,name:"message",kind:"scalar",T:9},{no:3,name:"operations",kind:"message",T:Nm,repeated:!0},{no:4,name:"presence_change",kind:"message",T:i0}])),l),Ih=(c=class extends he{constructor(y){super(),a(this,"clientSeq",0),a(this,"serverSeq",Ct.zero),a(this,"lamport",Ct.zero),a(this,"actorId",new Uint8Array(0)),a(this,"versionVector"),Oe.util.initPartial(y,this)}static fromBinary(y,u){return new c().fromBinary(y,u)}static fromJson(y,u){return new c().fromJson(y,u)}static fromJsonString(y,u){return new c().fromJsonString(y,u)}static equals(y,u){return Oe.util.equals(c,y,u)}},a(c,"runtime",Oe),a(c,"typeName","yorkie.v1.ChangeID"),a(c,"fields",Oe.util.newFieldList(()=>[{no:1,name:"client_seq",kind:"scalar",T:13},{no:2,name:"server_seq",kind:"scalar",T:3},{no:3,name:"lamport",kind:"scalar",T:3},{no:4,name:"actor_id",kind:"scalar",T:12},{no:5,name:"version_vector",kind:"message",T:Dh}])),c),Dh=(d=class extends he{constructor(y){super(),a(this,"vector",{}),Oe.util.initPartial(y,this)}static fromBinary(y,u){return new d().fromBinary(y,u)}static fromJson(y,u){return new d().fromJson(y,u)}static fromJsonString(y,u){return new d().fromJsonString(y,u)}static equals(y,u){return Oe.util.equals(d,y,u)}},a(d,"runtime",Oe),a(d,"typeName","yorkie.v1.VersionVector"),a(d,"fields",Oe.util.newFieldList(()=>[{no:1,name:"vector",kind:"map",K:9,V:{kind:"scalar",T:3}}])),d),Nm=(f=class extends he{constructor(y){super(),a(this,"body",{case:void 0}),Oe.util.initPartial(y,this)}static fromBinary(y,u){return new f().fromBinary(y,u)}static fromJson(y,u){return new f().fromJson(y,u)}static fromJsonString(y,u){return new f().fromJsonString(y,u)}static equals(y,u){return Oe.util.equals(f,y,u)}},a(f,"runtime",Oe),a(f,"typeName","yorkie.v1.Operation"),a(f,"fields",Oe.util.newFieldList(()=>[{no:1,name:"set",kind:"message",T:Yp,oneof:"body"},{no:2,name:"add",kind:"message",T:D1,oneof:"body"},{no:3,name:"move",kind:"message",T:mo,oneof:"body"},{no:4,name:"remove",kind:"message",T:Od,oneof:"body"},{no:5,name:"edit",kind:"message",T:N1,oneof:"body"},{no:6,name:"select",kind:"message",T:Yy,oneof:"body"},{no:7,name:"style",kind:"message",T:Lm,oneof:"body"},{no:8,name:"increase",kind:"message",T:Du,oneof:"body"},{no:9,name:"tree_edit",kind:"message",T:Zy,oneof:"body"},{no:10,name:"tree_style",kind:"message",T:Xp,oneof:"body"},{no:11,name:"array_set",kind:"message",T:Mh,oneof:"body"}])),f);const Gp=class tx extends he{constructor(u){super(),a(this,"parentCreatedAt"),a(this,"key",""),a(this,"value"),a(this,"executedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new tx().fromBinary(u,h)}static fromJson(u,h){return new tx().fromJson(u,h)}static fromJsonString(u,h){return new tx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(tx,u,h)}};a(Gp,"runtime",Oe),a(Gp,"typeName","yorkie.v1.Operation.Set"),a(Gp,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Wn},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"value",kind:"message",T:nu},{no:4,name:"executed_at",kind:"message",T:Wn}]));let Yp=Gp;const Sd=class nx extends he{constructor(u){super(),a(this,"parentCreatedAt"),a(this,"prevCreatedAt"),a(this,"value"),a(this,"executedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new nx().fromBinary(u,h)}static fromJson(u,h){return new nx().fromJson(u,h)}static fromJsonString(u,h){return new nx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(nx,u,h)}};a(Sd,"runtime",Oe),a(Sd,"typeName","yorkie.v1.Operation.Add"),a(Sd,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Wn},{no:2,name:"prev_created_at",kind:"message",T:Wn},{no:3,name:"value",kind:"message",T:nu},{no:4,name:"executed_at",kind:"message",T:Wn}]));let D1=Sd;const Zp=class rx extends he{constructor(u){super(),a(this,"parentCreatedAt"),a(this,"prevCreatedAt"),a(this,"createdAt"),a(this,"executedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new rx().fromBinary(u,h)}static fromJson(u,h){return new rx().fromJson(u,h)}static fromJsonString(u,h){return new rx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(rx,u,h)}};a(Zp,"runtime",Oe),a(Zp,"typeName","yorkie.v1.Operation.Move"),a(Zp,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Wn},{no:2,name:"prev_created_at",kind:"message",T:Wn},{no:3,name:"created_at",kind:"message",T:Wn},{no:4,name:"executed_at",kind:"message",T:Wn}]));let mo=Zp;const Iu=class ix extends he{constructor(u){super(),a(this,"parentCreatedAt"),a(this,"createdAt"),a(this,"executedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new ix().fromBinary(u,h)}static fromJson(u,h){return new ix().fromJson(u,h)}static fromJsonString(u,h){return new ix().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(ix,u,h)}};a(Iu,"runtime",Oe),a(Iu,"typeName","yorkie.v1.Operation.Remove"),a(Iu,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Wn},{no:2,name:"created_at",kind:"message",T:Wn},{no:3,name:"executed_at",kind:"message",T:Wn}]));let Od=Iu;const Nh=class sx extends he{constructor(u){super(),a(this,"parentCreatedAt"),a(this,"from"),a(this,"to"),a(this,"createdAtMapByActor",{}),a(this,"content",""),a(this,"executedAt"),a(this,"attributes",{}),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new sx().fromBinary(u,h)}static fromJson(u,h){return new sx().fromJson(u,h)}static fromJsonString(u,h){return new sx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(sx,u,h)}};a(Nh,"runtime",Oe),a(Nh,"typeName","yorkie.v1.Operation.Edit"),a(Nh,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Wn},{no:2,name:"from",kind:"message",T:Bo},{no:3,name:"to",kind:"message",T:Bo},{no:4,name:"created_at_map_by_actor",kind:"map",K:9,V:{kind:"message",T:Wn}},{no:5,name:"content",kind:"scalar",T:9},{no:6,name:"executed_at",kind:"message",T:Wn},{no:7,name:"attributes",kind:"map",K:9,V:{kind:"scalar",T:9}}]));let N1=Nh;const Pm=class ax extends he{constructor(u){super(),a(this,"parentCreatedAt"),a(this,"from"),a(this,"to"),a(this,"executedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new ax().fromBinary(u,h)}static fromJson(u,h){return new ax().fromJson(u,h)}static fromJsonString(u,h){return new ax().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(ax,u,h)}};a(Pm,"runtime",Oe),a(Pm,"typeName","yorkie.v1.Operation.Select"),a(Pm,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Wn},{no:2,name:"from",kind:"message",T:Bo},{no:3,name:"to",kind:"message",T:Bo},{no:4,name:"executed_at",kind:"message",T:Wn}]));let Yy=Pm;const Ph=class ox extends he{constructor(u){super(),a(this,"parentCreatedAt"),a(this,"from"),a(this,"to"),a(this,"attributes",{}),a(this,"executedAt"),a(this,"createdAtMapByActor",{}),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new ox().fromBinary(u,h)}static fromJson(u,h){return new ox().fromJson(u,h)}static fromJsonString(u,h){return new ox().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(ox,u,h)}};a(Ph,"runtime",Oe),a(Ph,"typeName","yorkie.v1.Operation.Style"),a(Ph,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Wn},{no:2,name:"from",kind:"message",T:Bo},{no:3,name:"to",kind:"message",T:Bo},{no:4,name:"attributes",kind:"map",K:9,V:{kind:"scalar",T:9}},{no:5,name:"executed_at",kind:"message",T:Wn},{no:6,name:"created_at_map_by_actor",kind:"map",K:9,V:{kind:"message",T:Wn}}]));let Lm=Ph;const Lh=class lx extends he{constructor(u){super(),a(this,"parentCreatedAt"),a(this,"value"),a(this,"executedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new lx().fromBinary(u,h)}static fromJson(u,h){return new lx().fromJson(u,h)}static fromJsonString(u,h){return new lx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(lx,u,h)}};a(Lh,"runtime",Oe),a(Lh,"typeName","yorkie.v1.Operation.Increase"),a(Lh,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Wn},{no:2,name:"value",kind:"message",T:nu},{no:3,name:"executed_at",kind:"message",T:Wn}]));let Du=Lh;const Mm=class ux extends he{constructor(u){super(),a(this,"parentCreatedAt"),a(this,"from"),a(this,"to"),a(this,"createdAtMapByActor",{}),a(this,"contents",[]),a(this,"splitLevel",0),a(this,"executedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new ux().fromBinary(u,h)}static fromJson(u,h){return new ux().fromJson(u,h)}static fromJsonString(u,h){return new ux().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(ux,u,h)}};a(Mm,"runtime",Oe),a(Mm,"typeName","yorkie.v1.Operation.TreeEdit"),a(Mm,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Wn},{no:2,name:"from",kind:"message",T:e0},{no:3,name:"to",kind:"message",T:e0},{no:4,name:"created_at_map_by_actor",kind:"map",K:9,V:{kind:"message",T:Wn}},{no:5,name:"contents",kind:"message",T:yi,repeated:!0},{no:7,name:"split_level",kind:"scalar",T:5},{no:6,name:"executed_at",kind:"message",T:Wn}]));let Zy=Mm;const _f=class cx extends he{constructor(u){super(),a(this,"parentCreatedAt"),a(this,"from"),a(this,"to"),a(this,"attributes",{}),a(this,"executedAt"),a(this,"attributesToRemove",[]),a(this,"createdAtMapByActor",{}),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new cx().fromBinary(u,h)}static fromJson(u,h){return new cx().fromJson(u,h)}static fromJsonString(u,h){return new cx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(cx,u,h)}};a(_f,"runtime",Oe),a(_f,"typeName","yorkie.v1.Operation.TreeStyle"),a(_f,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Wn},{no:2,name:"from",kind:"message",T:e0},{no:3,name:"to",kind:"message",T:e0},{no:4,name:"attributes",kind:"map",K:9,V:{kind:"scalar",T:9}},{no:5,name:"executed_at",kind:"message",T:Wn},{no:6,name:"attributes_to_remove",kind:"scalar",T:9,repeated:!0},{no:7,name:"created_at_map_by_actor",kind:"map",K:9,V:{kind:"message",T:Wn}}]));let Xp=_f;const sl=class dx extends he{constructor(u){super(),a(this,"parentCreatedAt"),a(this,"createdAt"),a(this,"value"),a(this,"executedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new dx().fromBinary(u,h)}static fromJson(u,h){return new dx().fromJson(u,h)}static fromJsonString(u,h){return new dx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(dx,u,h)}};a(sl,"runtime",Oe),a(sl,"typeName","yorkie.v1.Operation.ArraySet"),a(sl,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Wn},{no:2,name:"created_at",kind:"message",T:Wn},{no:3,name:"value",kind:"message",T:nu},{no:4,name:"executed_at",kind:"message",T:Wn}]));let Mh=sl;const Fm=class fx extends he{constructor(u){super(),a(this,"createdAt"),a(this,"movedAt"),a(this,"removedAt"),a(this,"type",0),a(this,"value",new Uint8Array(0)),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new fx().fromBinary(u,h)}static fromJson(u,h){return new fx().fromJson(u,h)}static fromJsonString(u,h){return new fx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(fx,u,h)}};a(Fm,"runtime",Oe),a(Fm,"typeName","yorkie.v1.JSONElementSimple"),a(Fm,"fields",Oe.util.newFieldList(()=>[{no:1,name:"created_at",kind:"message",T:Wn},{no:2,name:"moved_at",kind:"message",T:Wn},{no:3,name:"removed_at",kind:"message",T:Wn},{no:4,name:"type",kind:"enum",T:Oe.getEnumType(Tr)},{no:5,name:"value",kind:"scalar",T:12}]));let nu=Fm;const $m=class hx extends he{constructor(u){super(),a(this,"body",{case:void 0}),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new hx().fromBinary(u,h)}static fromJson(u,h){return new hx().fromJson(u,h)}static fromJsonString(u,h){return new hx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(hx,u,h)}};a($m,"runtime",Oe),a($m,"typeName","yorkie.v1.JSONElement"),a($m,"fields",Oe.util.newFieldList(()=>[{no:1,name:"json_object",kind:"message",T:P1,oneof:"body"},{no:2,name:"json_array",kind:"message",T:Xy,oneof:"body"},{no:3,name:"primitive",kind:"message",T:Ky,oneof:"body"},{no:5,name:"text",kind:"message",T:Ed,oneof:"body"},{no:6,name:"counter",kind:"message",T:Lt,oneof:"body"},{no:7,name:"tree",kind:"message",T:In,oneof:"body"}]));let Aa=$m;const Ca=class px extends he{constructor(u){super(),a(this,"nodes",[]),a(this,"createdAt"),a(this,"movedAt"),a(this,"removedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new px().fromBinary(u,h)}static fromJson(u,h){return new px().fromJson(u,h)}static fromJsonString(u,h){return new px().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(px,u,h)}};a(Ca,"runtime",Oe),a(Ca,"typeName","yorkie.v1.JSONElement.JSONObject"),a(Ca,"fields",Oe.util.newFieldList(()=>[{no:1,name:"nodes",kind:"message",T:gr,repeated:!0},{no:2,name:"created_at",kind:"message",T:Wn},{no:3,name:"moved_at",kind:"message",T:Wn},{no:4,name:"removed_at",kind:"message",T:Wn}]));let P1=Ca;const Bm=class mx extends he{constructor(u){super(),a(this,"nodes",[]),a(this,"createdAt"),a(this,"movedAt"),a(this,"removedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new mx().fromBinary(u,h)}static fromJson(u,h){return new mx().fromJson(u,h)}static fromJsonString(u,h){return new mx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(mx,u,h)}};a(Bm,"runtime",Oe),a(Bm,"typeName","yorkie.v1.JSONElement.JSONArray"),a(Bm,"fields",Oe.util.newFieldList(()=>[{no:1,name:"nodes",kind:"message",T:Ds,repeated:!0},{no:2,name:"created_at",kind:"message",T:Wn},{no:3,name:"moved_at",kind:"message",T:Wn},{no:4,name:"removed_at",kind:"message",T:Wn}]));let Xy=Bm;const Kp=class gx extends he{constructor(u){super(),a(this,"type",0),a(this,"value",new Uint8Array(0)),a(this,"createdAt"),a(this,"movedAt"),a(this,"removedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new gx().fromBinary(u,h)}static fromJson(u,h){return new gx().fromJson(u,h)}static fromJsonString(u,h){return new gx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(gx,u,h)}};a(Kp,"runtime",Oe),a(Kp,"typeName","yorkie.v1.JSONElement.Primitive"),a(Kp,"fields",Oe.util.newFieldList(()=>[{no:1,name:"type",kind:"enum",T:Oe.getEnumType(Tr)},{no:2,name:"value",kind:"scalar",T:12},{no:3,name:"created_at",kind:"message",T:Wn},{no:4,name:"moved_at",kind:"message",T:Wn},{no:5,name:"removed_at",kind:"message",T:Wn}]));let Ky=Kp;const Jp=class bx extends he{constructor(u){super(),a(this,"nodes",[]),a(this,"createdAt"),a(this,"movedAt"),a(this,"removedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new bx().fromBinary(u,h)}static fromJson(u,h){return new bx().fromJson(u,h)}static fromJsonString(u,h){return new bx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(bx,u,h)}};a(Jp,"runtime",Oe),a(Jp,"typeName","yorkie.v1.JSONElement.Text"),a(Jp,"fields",Oe.util.newFieldList(()=>[{no:1,name:"nodes",kind:"message",T:$o,repeated:!0},{no:2,name:"created_at",kind:"message",T:Wn},{no:3,name:"moved_at",kind:"message",T:Wn},{no:4,name:"removed_at",kind:"message",T:Wn}]));let Ed=Jp;const ut=class yx extends he{constructor(u){super(),a(this,"type",0),a(this,"value",new Uint8Array(0)),a(this,"createdAt"),a(this,"movedAt"),a(this,"removedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new yx().fromBinary(u,h)}static fromJson(u,h){return new yx().fromJson(u,h)}static fromJsonString(u,h){return new yx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(yx,u,h)}};a(ut,"runtime",Oe),a(ut,"typeName","yorkie.v1.JSONElement.Counter"),a(ut,"fields",Oe.util.newFieldList(()=>[{no:1,name:"type",kind:"enum",T:Oe.getEnumType(Tr)},{no:2,name:"value",kind:"scalar",T:12},{no:3,name:"created_at",kind:"message",T:Wn},{no:4,name:"moved_at",kind:"message",T:Wn},{no:5,name:"removed_at",kind:"message",T:Wn}]));let Lt=ut;const It=class vx extends he{constructor(u){super(),a(this,"nodes",[]),a(this,"createdAt"),a(this,"movedAt"),a(this,"removedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new vx().fromBinary(u,h)}static fromJson(u,h){return new vx().fromJson(u,h)}static fromJsonString(u,h){return new vx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(vx,u,h)}};a(It,"runtime",Oe),a(It,"typeName","yorkie.v1.JSONElement.Tree"),a(It,"fields",Oe.util.newFieldList(()=>[{no:1,name:"nodes",kind:"message",T:Cf,repeated:!0},{no:2,name:"created_at",kind:"message",T:Wn},{no:3,name:"moved_at",kind:"message",T:Wn},{no:4,name:"removed_at",kind:"message",T:Wn}]));let In=It,gr=(p=class extends he{constructor(y){super(),a(this,"key",""),a(this,"element"),Oe.util.initPartial(y,this)}static fromBinary(y,u){return new p().fromBinary(y,u)}static fromJson(y,u){return new p().fromJson(y,u)}static fromJsonString(y,u){return new p().fromJsonString(y,u)}static equals(y,u){return Oe.util.equals(p,y,u)}},a(p,"runtime",Oe),a(p,"typeName","yorkie.v1.RHTNode"),a(p,"fields",Oe.util.newFieldList(()=>[{no:1,name:"key",kind:"scalar",T:9},{no:2,name:"element",kind:"message",T:Aa}])),p);const Yr=class Sx extends he{constructor(u){super(),a(this,"next"),a(this,"element"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Sx().fromBinary(u,h)}static fromJson(u,h){return new Sx().fromJson(u,h)}static fromJsonString(u,h){return new Sx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Sx,u,h)}};a(Yr,"runtime",Oe),a(Yr,"typeName","yorkie.v1.RGANode"),a(Yr,"fields",Oe.util.newFieldList(()=>[{no:1,name:"next",kind:"message",T:Yr},{no:2,name:"element",kind:"message",T:Aa}]));let Ds=Yr;const bi=class Ox extends he{constructor(u){super(),a(this,"value",""),a(this,"updatedAt"),a(this,"isRemoved",!1),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Ox().fromBinary(u,h)}static fromJson(u,h){return new Ox().fromJson(u,h)}static fromJsonString(u,h){return new Ox().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Ox,u,h)}};a(bi,"runtime",Oe),a(bi,"typeName","yorkie.v1.NodeAttr"),a(bi,"fields",Oe.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:9},{no:2,name:"updated_at",kind:"message",T:Wn},{no:3,name:"is_removed",kind:"scalar",T:8}]));let Af=bi;const al=class Ex extends he{constructor(u){super(),a(this,"id"),a(this,"value",""),a(this,"removedAt"),a(this,"insPrevId"),a(this,"attributes",{}),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Ex().fromBinary(u,h)}static fromJson(u,h){return new Ex().fromJson(u,h)}static fromJsonString(u,h){return new Ex().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Ex,u,h)}};a(al,"runtime",Oe),a(al,"typeName","yorkie.v1.TextNode"),a(al,"fields",Oe.util.newFieldList(()=>[{no:1,name:"id",kind:"message",T:go},{no:2,name:"value",kind:"scalar",T:9},{no:3,name:"removed_at",kind:"message",T:Wn},{no:4,name:"ins_prev_id",kind:"message",T:go},{no:5,name:"attributes",kind:"map",K:9,V:{kind:"message",T:Af}}]));let $o=al;const _e=class wx extends he{constructor(u){super(),a(this,"createdAt"),a(this,"offset",0),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new wx().fromBinary(u,h)}static fromJson(u,h){return new wx().fromJson(u,h)}static fromJsonString(u,h){return new wx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(wx,u,h)}};a(_e,"runtime",Oe),a(_e,"typeName","yorkie.v1.TextNodeID"),a(_e,"fields",Oe.util.newFieldList(()=>[{no:1,name:"created_at",kind:"message",T:Wn},{no:2,name:"offset",kind:"scalar",T:5}]));let go=_e;const ea=class xx extends he{constructor(u){super(),a(this,"id"),a(this,"type",""),a(this,"value",""),a(this,"removedAt"),a(this,"insPrevId"),a(this,"insNextId"),a(this,"depth",0),a(this,"attributes",{}),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new xx().fromBinary(u,h)}static fromJson(u,h){return new xx().fromJson(u,h)}static fromJsonString(u,h){return new xx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(xx,u,h)}};a(ea,"runtime",Oe),a(ea,"typeName","yorkie.v1.TreeNode"),a(ea,"fields",Oe.util.newFieldList(()=>[{no:1,name:"id",kind:"message",T:vc},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"value",kind:"scalar",T:9},{no:4,name:"removed_at",kind:"message",T:Wn},{no:5,name:"ins_prev_id",kind:"message",T:vc},{no:6,name:"ins_next_id",kind:"message",T:vc},{no:7,name:"depth",kind:"scalar",T:5},{no:8,name:"attributes",kind:"map",K:9,V:{kind:"message",T:Af}}]));let Cf=ea;const Nu=class Tx extends he{constructor(u){super(),a(this,"content",[]),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Tx().fromBinary(u,h)}static fromJson(u,h){return new Tx().fromJson(u,h)}static fromJsonString(u,h){return new Tx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Tx,u,h)}};a(Nu,"runtime",Oe),a(Nu,"typeName","yorkie.v1.TreeNodes"),a(Nu,"fields",Oe.util.newFieldList(()=>[{no:1,name:"content",kind:"message",T:Cf,repeated:!0}]));let yi=Nu;const ru=class kx extends he{constructor(u){super(),a(this,"createdAt"),a(this,"offset",0),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new kx().fromBinary(u,h)}static fromJson(u,h){return new kx().fromJson(u,h)}static fromJsonString(u,h){return new kx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(kx,u,h)}};a(ru,"runtime",Oe),a(ru,"typeName","yorkie.v1.TreeNodeID"),a(ru,"fields",Oe.util.newFieldList(()=>[{no:1,name:"created_at",kind:"message",T:Wn},{no:2,name:"offset",kind:"scalar",T:5}]));let vc=ru;const no=class _x extends he{constructor(u){super(),a(this,"parentId"),a(this,"leftSiblingId"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new _x().fromBinary(u,h)}static fromJson(u,h){return new _x().fromJson(u,h)}static fromJsonString(u,h){return new _x().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(_x,u,h)}};a(no,"runtime",Oe),a(no,"typeName","yorkie.v1.TreePos"),a(no,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_id",kind:"message",T:vc},{no:2,name:"left_sibling_id",kind:"message",T:vc}]));let e0=no;const _l=class Ax extends he{constructor(u){super(),a(this,"id",""),a(this,"username",""),a(this,"createdAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Ax().fromBinary(u,h)}static fromJson(u,h){return new Ax().fromJson(u,h)}static fromJsonString(u,h){return new Ax().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Ax,u,h)}};a(_l,"runtime",Oe),a(_l,"typeName","yorkie.v1.User"),a(_l,"fields",Oe.util.newFieldList(()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"username",kind:"scalar",T:9},{no:3,name:"created_at",kind:"message",T:xa}]));const Um=class Cx extends he{constructor(u){super(),a(this,"id",""),a(this,"name",""),a(this,"publicKey",""),a(this,"secretKey",""),a(this,"authWebhookUrl",""),a(this,"authWebhookMethods",[]),a(this,"clientDeactivateThreshold",""),a(this,"createdAt"),a(this,"updatedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Cx().fromBinary(u,h)}static fromJson(u,h){return new Cx().fromJson(u,h)}static fromJsonString(u,h){return new Cx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Cx,u,h)}};a(Um,"runtime",Oe),a(Um,"typeName","yorkie.v1.Project"),a(Um,"fields",Oe.util.newFieldList(()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"public_key",kind:"scalar",T:9},{no:4,name:"secret_key",kind:"scalar",T:9},{no:5,name:"auth_webhook_url",kind:"scalar",T:9},{no:6,name:"auth_webhook_methods",kind:"scalar",T:9,repeated:!0},{no:7,name:"client_deactivate_threshold",kind:"scalar",T:9},{no:8,name:"created_at",kind:"message",T:xa},{no:9,name:"updated_at",kind:"message",T:xa}]));const t0=class Rx extends he{constructor(u){super(),a(this,"name"),a(this,"authWebhookUrl"),a(this,"authWebhookMethods"),a(this,"clientDeactivateThreshold"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Rx().fromBinary(u,h)}static fromJson(u,h){return new Rx().fromJson(u,h)}static fromJsonString(u,h){return new Rx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Rx,u,h)}};a(t0,"runtime",Oe),a(t0,"typeName","yorkie.v1.UpdatableProjectFields"),a(t0,"fields",Oe.util.newFieldList(()=>[{no:1,name:"name",kind:"message",T:ht},{no:2,name:"auth_webhook_url",kind:"message",T:ht},{no:3,name:"auth_webhook_methods",kind:"message",T:n0},{no:4,name:"client_deactivate_threshold",kind:"message",T:ht}]));const Al=class Ix extends he{constructor(u){super(),a(this,"methods",[]),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Ix().fromBinary(u,h)}static fromJson(u,h){return new Ix().fromJson(u,h)}static fromJsonString(u,h){return new Ix().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Ix,u,h)}};a(Al,"runtime",Oe),a(Al,"typeName","yorkie.v1.UpdatableProjectFields.AuthWebhookMethods"),a(Al,"fields",Oe.util.newFieldList(()=>[{no:1,name:"methods",kind:"scalar",T:9,repeated:!0}]));let n0=Al;const r0=class Dx extends he{constructor(u){super(),a(this,"id",""),a(this,"key",""),a(this,"snapshot",""),a(this,"createdAt"),a(this,"accessedAt"),a(this,"updatedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Dx().fromBinary(u,h)}static fromJson(u,h){return new Dx().fromJson(u,h)}static fromJsonString(u,h){return new Dx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Dx,u,h)}};a(r0,"runtime",Oe),a(r0,"typeName","yorkie.v1.DocumentSummary"),a(r0,"fields",Oe.util.newFieldList(()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"snapshot",kind:"scalar",T:9},{no:4,name:"created_at",kind:"message",T:xa},{no:5,name:"accessed_at",kind:"message",T:xa},{no:6,name:"updated_at",kind:"message",T:xa}]));const wd=class Nx extends he{constructor(u){super(),a(this,"type",0),a(this,"presence"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Nx().fromBinary(u,h)}static fromJson(u,h){return new Nx().fromJson(u,h)}static fromJsonString(u,h){return new Nx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Nx,u,h)}};a(wd,"runtime",Oe),a(wd,"typeName","yorkie.v1.PresenceChange"),a(wd,"fields",Oe.util.newFieldList(()=>[{no:1,name:"type",kind:"enum",T:Oe.getEnumType(Pu)},{no:2,name:"presence",kind:"message",T:xd}]));let i0=wd;var Pu=(y=>(y[y.UNSPECIFIED=0]="UNSPECIFIED",y[y.PUT=1]="PUT",y[y.DELETE=2]="DELETE",y[y.CLEAR=3]="CLEAR",y))(Pu||{});Oe.util.setEnumType(Pu,"yorkie.v1.PresenceChange.ChangeType",[{no:0,name:"CHANGE_TYPE_UNSPECIFIED"},{no:1,name:"CHANGE_TYPE_PUT"},{no:2,name:"CHANGE_TYPE_DELETE"},{no:3,name:"CHANGE_TYPE_CLEAR"}]);let xd=(g=class extends he{constructor(y){super(),a(this,"data",{}),Oe.util.initPartial(y,this)}static fromBinary(y,u){return new g().fromBinary(y,u)}static fromJson(y,u){return new g().fromJson(y,u)}static fromJsonString(y,u){return new g().fromJsonString(y,u)}static equals(y,u){return Oe.util.equals(g,y,u)}},a(g,"runtime",Oe),a(g,"typeName","yorkie.v1.Presence"),a(g,"fields",Oe.util.newFieldList(()=>[{no:1,name:"data",kind:"map",K:9,V:{kind:"scalar",T:9}}])),g),zm=(b=class extends he{constructor(y){super(),a(this,"serverSeq",Ct.zero),a(this,"clientSeq",0),Oe.util.initPartial(y,this)}static fromBinary(y,u){return new b().fromBinary(y,u)}static fromJson(y,u){return new b().fromJson(y,u)}static fromJsonString(y,u){return new b().fromJsonString(y,u)}static equals(y,u){return Oe.util.equals(b,y,u)}},a(b,"runtime",Oe),a(b,"typeName","yorkie.v1.Checkpoint"),a(b,"fields",Oe.util.newFieldList(()=>[{no:1,name:"server_seq",kind:"scalar",T:3},{no:2,name:"client_seq",kind:"scalar",T:13}])),b);const Sc=class Px extends he{constructor(u){super(),a(this,"createdAt"),a(this,"offset",0),a(this,"relativeOffset",0),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Px().fromBinary(u,h)}static fromJson(u,h){return new Px().fromJson(u,h)}static fromJsonString(u,h){return new Px().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Px,u,h)}};a(Sc,"runtime",Oe),a(Sc,"typeName","yorkie.v1.TextNodePos"),a(Sc,"fields",Oe.util.newFieldList(()=>[{no:1,name:"created_at",kind:"message",T:Wn},{no:2,name:"offset",kind:"scalar",T:5},{no:3,name:"relative_offset",kind:"scalar",T:5}]));let Bo=Sc,Wn=(w=class extends he{constructor(y){super(),a(this,"lamport",Ct.zero),a(this,"delimiter",0),a(this,"actorId",new Uint8Array(0)),Oe.util.initPartial(y,this)}static fromBinary(y,u){return new w().fromBinary(y,u)}static fromJson(y,u){return new w().fromJson(y,u)}static fromJsonString(y,u){return new w().fromJsonString(y,u)}static equals(y,u){return Oe.util.equals(w,y,u)}},a(w,"runtime",Oe),a(w,"typeName","yorkie.v1.TimeTicket"),a(w,"fields",Oe.util.newFieldList(()=>[{no:1,name:"lamport",kind:"scalar",T:3},{no:2,name:"delimiter",kind:"scalar",T:13},{no:3,name:"actor_id",kind:"scalar",T:12}])),w);const Fh=class Lx extends he{constructor(u){super(),a(this,"topic",""),a(this,"payload",new Uint8Array(0)),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Lx().fromBinary(u,h)}static fromJson(u,h){return new Lx().fromJson(u,h)}static fromJsonString(u,h){return new Lx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Lx,u,h)}};a(Fh,"runtime",Oe),a(Fh,"typeName","yorkie.v1.DocEventBody"),a(Fh,"fields",Oe.util.newFieldList(()=>[{no:1,name:"topic",kind:"scalar",T:9},{no:2,name:"payload",kind:"scalar",T:12}]));let Jy=Fh;const s0=class Mx extends he{constructor(u){super(),a(this,"type",0),a(this,"publisher",""),a(this,"body"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Mx().fromBinary(u,h)}static fromJson(u,h){return new Mx().fromJson(u,h)}static fromJsonString(u,h){return new Mx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Mx,u,h)}};a(s0,"runtime",Oe),a(s0,"typeName","yorkie.v1.DocEvent"),a(s0,"fields",Oe.util.newFieldList(()=>[{no:1,name:"type",kind:"enum",T:Oe.getEnumType(eu)},{no:2,name:"publisher",kind:"scalar",T:9},{no:3,name:"body",kind:"message",T:Jy}]));let a0=s0;const Cl=class Fx extends he{constructor(u){super(),a(this,"clientKey",""),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Fx().fromBinary(u,h)}static fromJson(u,h){return new Fx().fromJson(u,h)}static fromJsonString(u,h){return new Fx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Fx,u,h)}};a(Cl,"runtime",Oe),a(Cl,"typeName","yorkie.v1.ActivateClientRequest"),a(Cl,"fields",Oe.util.newFieldList(()=>[{no:1,name:"client_key",kind:"scalar",T:9}]));let Rf=Cl;const Hm=class $x extends he{constructor(u){super(),a(this,"clientId",""),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new $x().fromBinary(u,h)}static fromJson(u,h){return new $x().fromJson(u,h)}static fromJsonString(u,h){return new $x().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals($x,u,h)}};a(Hm,"runtime",Oe),a(Hm,"typeName","yorkie.v1.ActivateClientResponse"),a(Hm,"fields",Oe.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9}]));let ev=Hm;const o0=class Bx extends he{constructor(u){super(),a(this,"clientId",""),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Bx().fromBinary(u,h)}static fromJson(u,h){return new Bx().fromJson(u,h)}static fromJsonString(u,h){return new Bx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Bx,u,h)}};a(o0,"runtime",Oe),a(o0,"typeName","yorkie.v1.DeactivateClientRequest"),a(o0,"fields",Oe.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9}]));let WA=o0;const Os=class Ux extends he{constructor(u){super(),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Ux().fromBinary(u,h)}static fromJson(u,h){return new Ux().fromJson(u,h)}static fromJsonString(u,h){return new Ux().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Ux,u,h)}};a(Os,"runtime",Oe),a(Os,"typeName","yorkie.v1.DeactivateClientResponse"),a(Os,"fields",Oe.util.newFieldList(()=>[]));let za=Os;const L1=class zx extends he{constructor(u){super(),a(this,"clientId",""),a(this,"changePack"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new zx().fromBinary(u,h)}static fromJson(u,h){return new zx().fromJson(u,h)}static fromJsonString(u,h){return new zx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(zx,u,h)}};a(L1,"runtime",Oe),a(L1,"typeName","yorkie.v1.AttachDocumentRequest"),a(L1,"fields",Oe.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9},{no:2,name:"change_pack",kind:"message",T:tu}]));let tv=L1;const l0=class Hx extends he{constructor(u){super(),a(this,"documentId",""),a(this,"changePack"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Hx().fromBinary(u,h)}static fromJson(u,h){return new Hx().fromJson(u,h)}static fromJsonString(u,h){return new Hx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Hx,u,h)}};a(l0,"runtime",Oe),a(l0,"typeName","yorkie.v1.AttachDocumentResponse"),a(l0,"fields",Oe.util.newFieldList(()=>[{no:1,name:"document_id",kind:"scalar",T:9},{no:2,name:"change_pack",kind:"message",T:tu}]));let nv=l0;const Td=class qx extends he{constructor(u){super(),a(this,"clientId",""),a(this,"documentId",""),a(this,"changePack"),a(this,"removeIfNotAttached",!1),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new qx().fromBinary(u,h)}static fromJson(u,h){return new qx().fromJson(u,h)}static fromJsonString(u,h){return new qx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(qx,u,h)}};a(Td,"runtime",Oe),a(Td,"typeName","yorkie.v1.DetachDocumentRequest"),a(Td,"fields",Oe.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9},{no:2,name:"document_id",kind:"scalar",T:9},{no:3,name:"change_pack",kind:"message",T:tu},{no:4,name:"remove_if_not_attached",kind:"scalar",T:8}]));let If=Td;const Df=class jx extends he{constructor(u){super(),a(this,"changePack"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new jx().fromBinary(u,h)}static fromJson(u,h){return new jx().fromJson(u,h)}static fromJsonString(u,h){return new jx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(jx,u,h)}};a(Df,"runtime",Oe),a(Df,"typeName","yorkie.v1.DetachDocumentResponse"),a(Df,"fields",Oe.util.newFieldList(()=>[{no:2,name:"change_pack",kind:"message",T:tu}]));let Nf=Df;const Oc=class Wx extends he{constructor(u){super(),a(this,"clientId",""),a(this,"documentId",""),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Wx().fromBinary(u,h)}static fromJson(u,h){return new Wx().fromJson(u,h)}static fromJsonString(u,h){return new Wx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Wx,u,h)}};a(Oc,"runtime",Oe),a(Oc,"typeName","yorkie.v1.WatchDocumentRequest"),a(Oc,"fields",Oe.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9},{no:2,name:"document_id",kind:"scalar",T:9}]));let u0=Oc;const kd=class Qx extends he{constructor(u){super(),a(this,"body",{case:void 0}),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Qx().fromBinary(u,h)}static fromJson(u,h){return new Qx().fromJson(u,h)}static fromJsonString(u,h){return new Qx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Qx,u,h)}};a(kd,"runtime",Oe),a(kd,"typeName","yorkie.v1.WatchDocumentResponse"),a(kd,"fields",Oe.util.newFieldList(()=>[{no:1,name:"initialization",kind:"message",T:_d,oneof:"body"},{no:2,name:"event",kind:"message",T:a0,oneof:"body"}]));let Pf=kd;const M1=class Vx extends he{constructor(u){super(),a(this,"clientIds",[]),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Vx().fromBinary(u,h)}static fromJson(u,h){return new Vx().fromJson(u,h)}static fromJsonString(u,h){return new Vx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Vx,u,h)}};a(M1,"runtime",Oe),a(M1,"typeName","yorkie.v1.WatchDocumentResponse.Initialization"),a(M1,"fields",Oe.util.newFieldList(()=>[{no:1,name:"client_ids",kind:"scalar",T:9,repeated:!0}]));let _d=M1;const c0=class Gx extends he{constructor(u){super(),a(this,"clientId",""),a(this,"documentId",""),a(this,"changePack"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Gx().fromBinary(u,h)}static fromJson(u,h){return new Gx().fromJson(u,h)}static fromJsonString(u,h){return new Gx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Gx,u,h)}};a(c0,"runtime",Oe),a(c0,"typeName","yorkie.v1.RemoveDocumentRequest"),a(c0,"fields",Oe.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9},{no:2,name:"document_id",kind:"scalar",T:9},{no:3,name:"change_pack",kind:"message",T:tu}]));let f2=c0;const qm=class Yx extends he{constructor(u){super(),a(this,"changePack"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Yx().fromBinary(u,h)}static fromJson(u,h){return new Yx().fromJson(u,h)}static fromJsonString(u,h){return new Yx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Yx,u,h)}};a(qm,"runtime",Oe),a(qm,"typeName","yorkie.v1.RemoveDocumentResponse"),a(qm,"fields",Oe.util.newFieldList(()=>[{no:1,name:"change_pack",kind:"message",T:tu}]));let jm=qm;const Ad=class Zx extends he{constructor(u){super(),a(this,"clientId",""),a(this,"documentId",""),a(this,"changePack"),a(this,"pushOnly",!1),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Zx().fromBinary(u,h)}static fromJson(u,h){return new Zx().fromJson(u,h)}static fromJsonString(u,h){return new Zx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Zx,u,h)}};a(Ad,"runtime",Oe),a(Ad,"typeName","yorkie.v1.PushPullChangesRequest"),a(Ad,"fields",Oe.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9},{no:2,name:"document_id",kind:"scalar",T:9},{no:3,name:"change_pack",kind:"message",T:tu},{no:4,name:"push_only",kind:"scalar",T:8}]));let Wm=Ad;const ke=class Xx extends he{constructor(u){super(),a(this,"changePack"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Xx().fromBinary(u,h)}static fromJson(u,h){return new Xx().fromJson(u,h)}static fromJsonString(u,h){return new Xx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Xx,u,h)}};a(ke,"runtime",Oe),a(ke,"typeName","yorkie.v1.PushPullChangesResponse"),a(ke,"fields",Oe.util.newFieldList(()=>[{no:1,name:"change_pack",kind:"message",T:tu}]));let $h=ke;const Cd=class Kx extends he{constructor(u){super(),a(this,"clientId",""),a(this,"documentId",""),a(this,"topic",""),a(this,"payload",new Uint8Array(0)),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Kx().fromBinary(u,h)}static fromJson(u,h){return new Kx().fromJson(u,h)}static fromJsonString(u,h){return new Kx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Kx,u,h)}};a(Cd,"runtime",Oe),a(Cd,"typeName","yorkie.v1.BroadcastRequest"),a(Cd,"fields",Oe.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9},{no:2,name:"document_id",kind:"scalar",T:9},{no:3,name:"topic",kind:"scalar",T:9},{no:4,name:"payload",kind:"scalar",T:12}]));let Rl=Cd;const Br=class Jx extends he{constructor(u){super(),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Jx().fromBinary(u,h)}static fromJson(u,h){return new Jx().fromJson(u,h)}static fromJsonString(u,h){return new Jx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Jx,u,h)}};a(Br,"runtime",Oe),a(Br,"typeName","yorkie.v1.BroadcastResponse"),a(Br,"fields",Oe.util.newFieldList(()=>[]));let h2=Br;const rv={typeName:"yorkie.v1.YorkieService",methods:{activateClient:{name:"ActivateClient",I:Rf,O:ev,kind:Ui.Unary},deactivateClient:{name:"DeactivateClient",I:WA,O:za,kind:Ui.Unary},attachDocument:{name:"AttachDocument",I:tv,O:nv,kind:Ui.Unary},detachDocument:{name:"DetachDocument",I:If,O:Nf,kind:Ui.Unary},removeDocument:{name:"RemoveDocument",I:f2,O:jm,kind:Ui.Unary},pushPullChanges:{name:"PushPullChanges",I:Wm,O:$h,kind:Ui.Unary},watchDocument:{name:"WatchDocument",I:u0,O:Pf,kind:Ui.ServerStreaming},broadcast:{name:"Broadcast",I:Rl,O:h2,kind:Ui.Unary}}},F1=Oe.makeMessageType("google.rpc.ErrorInfo",()=>[{no:1,name:"reason",kind:"scalar",T:9},{no:2,name:"domain",kind:"scalar",T:9},{no:3,name:"metadata",kind:"map",K:9,V:{kind:"scalar",T:9}}]);Oe.makeMessageType("google.rpc.RetryInfo",()=>[{no:1,name:"retry_delay",kind:"message",T:Ba}]),Oe.makeMessageType("google.rpc.DebugInfo",()=>[{no:1,name:"stack_entries",kind:"scalar",T:9,repeated:!0},{no:2,name:"detail",kind:"scalar",T:9}]),Oe.makeMessageType("google.rpc.QuotaFailure",()=>[{no:1,name:"violations",kind:"message",T:Rd,repeated:!0}]);const Rd=Oe.makeMessageType("google.rpc.QuotaFailure.Violation",()=>[{no:1,name:"subject",kind:"scalar",T:9},{no:2,name:"description",kind:"scalar",T:9}],{localName:"QuotaFailure_Violation"});Oe.makeMessageType("google.rpc.PreconditionFailure",()=>[{no:1,name:"violations",kind:"message",T:$1,repeated:!0}]);const $1=Oe.makeMessageType("google.rpc.PreconditionFailure.Violation",()=>[{no:1,name:"type",kind:"scalar",T:9},{no:2,name:"subject",kind:"scalar",T:9},{no:3,name:"description",kind:"scalar",T:9}],{localName:"PreconditionFailure_Violation"});Oe.makeMessageType("google.rpc.BadRequest",()=>[{no:1,name:"field_violations",kind:"message",T:iv,repeated:!0}]);const iv=Oe.makeMessageType("google.rpc.BadRequest.FieldViolation",()=>[{no:1,name:"field",kind:"scalar",T:9},{no:2,name:"description",kind:"scalar",T:9}],{localName:"BadRequest_FieldViolation"});Oe.makeMessageType("google.rpc.RequestInfo",()=>[{no:1,name:"request_id",kind:"scalar",T:9},{no:2,name:"serving_data",kind:"scalar",T:9}]),Oe.makeMessageType("google.rpc.ResourceInfo",()=>[{no:1,name:"resource_type",kind:"scalar",T:9},{no:2,name:"resource_name",kind:"scalar",T:9},{no:3,name:"owner",kind:"scalar",T:9},{no:4,name:"description",kind:"scalar",T:9}]),Oe.makeMessageType("google.rpc.Help",()=>[{no:1,name:"links",kind:"message",T:sv,repeated:!0}]);const sv=Oe.makeMessageType("google.rpc.Help.Link",()=>[{no:1,name:"description",kind:"scalar",T:9},{no:2,name:"url",kind:"scalar",T:9}],{localName:"Help_Link"});Oe.makeMessageType("google.rpc.LocalizedMessage",()=>[{no:1,name:"locale",kind:"scalar",T:9},{no:2,name:"message",kind:"scalar",T:9}]);var Et=(y=>(y.Ok="ok",y.ErrClientNotActivated="ErrClientNotActivated",y.ErrClientNotFound="ErrClientNotFound",y.ErrUnimplemented="ErrUnimplemented",y.ErrInvalidType="ErrInvalidType",y.ErrDummy="ErrDummy",y.ErrDocumentNotAttached="ErrDocumentNotAttached",y.ErrDocumentNotDetached="ErrDocumentNotDetached",y.ErrDocumentRemoved="ErrDocumentRemoved",y.ErrInvalidObjectKey="ErrInvalidObjectKey",y.ErrInvalidArgument="ErrInvalidArgument",y.ErrNotInitialized="ErrNotInitialized",y.ErrNotReady="ErrNotReady",y.ErrRefused="ErrRefused",y.ErrContextNotProvided="ErrContextNotProvided",y))(Et||{});class wt extends Error{constructor(u,h){super(h),a(this,"name","YorkieError"),a(this,"stack"),this.code=u,this.message=h,this.toString=()=>`[code=${this.code}]: ${this.message}`}}function ta(y){if(y instanceof Map){const u=Array.from(y);return new Map(JSON.parse(JSON.stringify(u)))}return JSON.parse(JSON.stringify(y))}const d0=y=>y?Object.entries(y).length===0:!0,Id=y=>{const u={};for(const[h,S]of Object.entries(y))u[h]=JSON.stringify(S);return u},Lf=y=>{const u={};for(const[h,S]of Object.entries(y))u[h]=JSON.parse(S);return u};var iu=(y=>(y.Put="put",y.Clear="clear",y))(iu||{});class av{constructor(u,h){a(this,"context"),a(this,"presence"),this.context=u,this.presence=h}set(u,h){for(const S of Object.keys(u))this.presence[S]=u[S];this.context.setPresenceChange({type:"put",presence:ta(this.presence)}),this.context.setReversePresence(u,h)}get(u){return this.presence[u]}clear(){this.presence={},this.context.setPresenceChange({type:"clear"})}}const ol="000000000000000000000000",ov="FFFFFFFFFFFFFFFFFFFFFFFF";class Uo{constructor(u,h,S){a(this,"lamport"),a(this,"delimiter"),a(this,"actorID"),this.lamport=u,this.delimiter=h,this.actorID=S}static of(u,h,S){return new Uo(u,h,S)}static fromStruct(u){return Uo.of(BigInt(u.lamport),u.delimiter,u.actorID)}toIDString(){return`${this.lamport.toString()}:${this.actorID}:${this.delimiter}`}toStruct(){return{lamport:this.getLamportAsString(),delimiter:this.getDelimiter(),actorID:this.getActorID()}}toTestString(){return`${this.lamport.toString()}:${this.actorID.slice(-2)}:${this.delimiter}`}setActor(u){return new Uo(this.lamport,this.delimiter,u)}getLamportAsString(){return this.lamport.toString()}getLamport(){return this.lamport}getDelimiter(){return this.delimiter}getActorID(){return this.actorID}after(u){return this.compare(u)>0}equals(u){return this.compare(u)===0}compare(u){if(this.lamport>u.lamport)return 1;if(u.lamport>this.lamport)return-1;const h=this.actorID.localeCompare(u.actorID);return h!==0?h:this.delimiter>u.delimiter?1:u.delimiter>this.delimiter?-1:0}}const lv=0,uv=4294967295,B1=9223372036854775807n,ro=new Uo(0n,lv,ol),f0=new Uo(B1,uv,ov);function Lu(y){return y.replace(/["'\\\n\r\f\b\t\u2028\u2029]/g,function(u){switch(u){case'"':case"\\":return"\\"+u;case` +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var I=!0,M=!1,$;return{s:function(){T=T.call(w)},n:function(){var j=T.next();return I=j.done,j},e:function(j){M=!0,$=j},f:function(){try{!I&&T.return!=null&&T.return()}finally{if(M)throw $}}}}function f(w,x){if(w){if(typeof w=="string")return p(w,x);var T=Object.prototype.toString.call(w).slice(8,-1);if(T==="Object"&&w.constructor&&(T=w.constructor.name),T==="Map"||T==="Set")return Array.from(w);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return p(w,x)}}function p(w,x){(x==null||x>w.length)&&(x=w.length);for(var T=0,_=new Array(x);T4)return!1;var I=d(C),M;try{for(I.s();!(M=I.n()).done;){var $=M.value,B=$.split("="),j=a(B,2),F=j[0],V=j[1];if(F&&!x.has(F)){_=!0;break}V&&(F==="cc"||F==="bcc")&&(T[F]=V),F&&x.delete(F)}}catch(ie){I.e(ie)}finally{I.f()}return _?!1:T}function b(w,x){if((0,i.default)(w),w.indexOf("mailto:")!==0)return!1;var T=w.replace("mailto:","").split("?"),_=a(T,2),C=_[0],I=_[1],M=I===void 0?"":I;if(!C&&!M)return!0;var $=g(M);return $?"".concat(C,",").concat($.cc,",").concat($.bcc).split(",").every(function(B){return B=(0,n.default)(B," "),B?(0,r.default)(B,x):!0}):!1}e.exports=t.default,e.exports.default=t.default})(mB,mB.exports);var tut=mB.exports,vB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=r(gn);function r(l){return l&&l.__esModule?l:{default:l}}var i=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+_]{1,100}$/i,s=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,a=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;function o(l){return(0,n.default)(l),i.test(l)||s.test(l)||a.test(l)}e.exports=t.default,e.exports.default=t.default})(vB,vB.exports);var nut=vB.exports,SB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var n=i(gn),r=i(Au);function i(f){return f&&f.__esModule?f:{default:f}}var s=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,a=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/,o=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i,l=/^\s*([1-7]?\d{1,2}\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|180\D+0\D+0)\D+[EWew]?$/i,c={checkDMS:!1};function d(f,p){if((0,n.default)(f),p=(0,r.default)(p,c),!f.includes(","))return!1;var g=f.split(",");return g[0].startsWith("(")&&!g[1].endsWith(")")||g[1].endsWith(")")&&!g[0].startsWith("(")?!1:p.checkDMS?o.test(g[0])&&l.test(g[1]):s.test(g[0])&&a.test(g[1])}e.exports=t.default,e.exports.default=t.default})(SB,SB.exports);var rut=SB.exports,bA={};Object.defineProperty(bA,"__esModule",{value:!0});bA.default=aut;bA.locales=void 0;var iut=sut(gn);function sut(e){return e&&e.__esModule?e:{default:e}}var Hie=/^\d{3}$/,Lc=/^\d{4}$/,cu=/^\d{5}$/,RL=/^\d{6}$/,cS={AD:/^AD\d{3}$/,AT:Lc,AU:Lc,AZ:/^AZ\d{4}$/,BA:/^([7-8]\d{4}$)/,BE:Lc,BG:Lc,BR:/^\d{5}-\d{3}$/,BY:/^2[1-4]\d{4}$/,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:Lc,CN:/^(0[1-7]|1[012356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[1-5]|8[1345]|9[09])\d{4}$/,CZ:/^\d{3}\s?\d{2}$/,DE:cu,DK:Lc,DO:cu,DZ:cu,EE:cu,ES:/^(5[0-2]{1}|[0-4]{1}\d{1})\d{3}$/,FI:cu,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,HR:/^([1-5]\d{4}$)/,HT:/^HT\d{4}$/,HU:Lc,ID:cu,IE:/^(?!.*(?:o))[A-Za-z]\d[\dw]\s\w{4}$/i,IL:/^(\d{5}|\d{7})$/,IN:/^((?!10|29|35|54|55|65|66|86|87|88|89)[1-9][0-9]{5})$/,IR:/^(?!(\d)\1{3})[13-9]{4}[1346-9][013-9]{5}$/,IS:Hie,IT:cu,JP:/^\d{3}\-\d{4}$/,KE:cu,KR:/^(\d{5}|\d{6})$/,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:Lc,LV:/^LV\-\d{4}$/,LK:cu,MG:Hie,MX:cu,MT:/^[A-Za-z]{3}\s{0,1}\d{4}$/,MY:cu,NL:/^[1-9]\d{3}\s?(?!sa|sd|ss)[a-z]{2}$/i,NO:Lc,NP:/^(10|21|22|32|33|34|44|45|56|57)\d{3}$|^(977)$/i,NZ:Lc,PL:/^\d{2}\-\d{3}$/,PR:/^00[679]\d{2}([ -]\d{4})?$/,PT:/^\d{4}\-\d{3}?$/,RO:RL,RU:RL,SA:cu,SE:/^[1-9]\d{2}\s?\d{2}$/,SG:RL,SI:Lc,SK:/^\d{3}\s?\d{2}$/,TH:cu,TN:Lc,TW:/^\d{3}(\d{2})?$/,UA:cu,US:/^\d{5}(-\d{4})?$/,ZA:Lc,ZM:cu};bA.locales=Object.keys(cS);function aut(e,t){if((0,iut.default)(e),t in cS)return cS[t].test(e);if(t==="any"){for(var n in cS)if(cS.hasOwnProperty(n)){var r=cS[n];if(r.test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))}var OB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s){return(0,n.default)(s),s.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">").replace(/\//g,"/").replace(/\\/g,"\").replace(/`/g,"`")}e.exports=t.default,e.exports.default=t.default})(OB,OB.exports);var out=OB.exports,EB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s){return(0,n.default)(s),s.replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(///g,"/").replace(/\/g,"\\").replace(/`/g,"`").replace(/&/g,"&")}e.exports=t.default,e.exports.default=t.default})(EB,EB.exports);var lut=EB.exports,wB={exports:{}},xB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s,a){return(0,n.default)(s),s.replace(new RegExp("[".concat(a,"]+"),"g"),"")}e.exports=t.default,e.exports.default=t.default})(xB,xB.exports);var Bye=xB.exports;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=i(gn),r=i(Bye);function i(a){return a&&a.__esModule?a:{default:a}}function s(a,o){(0,n.default)(a);var l=o?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,r.default)(a,l)}e.exports=t.default,e.exports.default=t.default})(wB,wB.exports);var uut=wB.exports,TB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s,a){return(0,n.default)(s),s.replace(new RegExp("[^".concat(a,"]+"),"g"),"")}e.exports=t.default,e.exports.default=t.default})(TB,TB.exports);var cut=TB.exports,kB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(gn);function r(s){return s&&s.__esModule?s:{default:s}}function i(s,a){(0,n.default)(s);for(var o=s.length-1;o>=0;o--)if(a.indexOf(s[o])===-1)return!1;return!0}e.exports=t.default,e.exports.default=t.default})(kB,kB.exports);var dut=kB.exports,_B={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var n=r(Au);function r(f){return f&&f.__esModule?f:{default:f}}var i={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,yandex_lowercase:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},s=["icloud.com","me.com"],a=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],o=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"],l=["yandex.ru","yandex.ua","yandex.kz","yandex.com","yandex.by","ya.ru"];function c(f){return f.length>1?f:""}function d(f,p){p=(0,n.default)(p,i);var g=f.split("@"),b=g.pop(),w=g.join("@"),x=[w,b];if(x[1]=x[1].toLowerCase(),x[1]==="gmail.com"||x[1]==="googlemail.com"){if(p.gmail_remove_subaddress&&(x[0]=x[0].split("+")[0]),p.gmail_remove_dots&&(x[0]=x[0].replace(/\.+/g,c)),!x[0].length)return!1;(p.all_lowercase||p.gmail_lowercase)&&(x[0]=x[0].toLowerCase()),x[1]=p.gmail_convert_googlemaildotcom?"gmail.com":x[1]}else if(s.indexOf(x[1])>=0){if(p.icloud_remove_subaddress&&(x[0]=x[0].split("+")[0]),!x[0].length)return!1;(p.all_lowercase||p.icloud_lowercase)&&(x[0]=x[0].toLowerCase())}else if(a.indexOf(x[1])>=0){if(p.outlookdotcom_remove_subaddress&&(x[0]=x[0].split("+")[0]),!x[0].length)return!1;(p.all_lowercase||p.outlookdotcom_lowercase)&&(x[0]=x[0].toLowerCase())}else if(o.indexOf(x[1])>=0){if(p.yahoo_remove_subaddress){var T=x[0].split("-");x[0]=T.length>1?T.slice(0,-1).join("-"):T[0]}if(!x[0].length)return!1;(p.all_lowercase||p.yahoo_lowercase)&&(x[0]=x[0].toLowerCase())}else l.indexOf(x[1])>=0?((p.all_lowercase||p.yandex_lowercase)&&(x[0]=x[0].toLowerCase()),x[1]="yandex.ru"):p.all_lowercase&&(x[0]=x[0].toLowerCase());return x.join("@")}e.exports=t.default,e.exports.default=t.default})(_B,_B.exports);var fut=_B.exports,AB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i=/^[^\s-_](?!.*?[-_]{2,})[a-z0-9-\\][^\s]*[^-_\s]$/;function s(a){return(0,n.default)(a),i.test(a)}e.exports=t.default,e.exports.default=t.default})(AB,AB.exports);var hut=AB.exports,CB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var n=r(gn);function r(a){return a&&a.__esModule?a:{default:a}}var i={"cs-CZ":function(o){return/^(([ABCDEFHIJKLMNPRSTUVXYZ]|[0-9])-?){5,8}$/.test(o)},"de-DE":function(o){return/^((A|AA|AB|AC|AE|AH|AK|AM|AN|AÖ|AP|AS|AT|AU|AW|AZ|B|BA|BB|BC|BE|BF|BH|BI|BK|BL|BM|BN|BO|BÖ|BS|BT|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|SBG|SBK|SCZ|SDH|SDL|SDT|SEB|SEE|SEF|SEL|SFB|SFT|SGH|SHA|SHG|SHK|SHL|SIG|SIM|SLE|SLF|SLK|SLN|SLS|SLÜ|SLZ|SMÜ|SOB|SOG|SOK|SÖM|SON|SPB|SPN|SRB|SRO|STA|STB|STD|STE|STL|SUL|SÜW|SWA|SZB|TBB|TDO|TET|TIR|TÖL|TUT|UEM|UER|UFF|USI|VAI|VEC|VER|VIB|VIE|VIT|VOH|WAF|WAK|WAN|WAR|WAT|WBS|WDA|WEL|WEN|WER|WES|WHV|WIL|WIS|WIT|WIZ|WLG|WMS|WND|WOB|WOH|WOL|WOR|WOS|WRN|WSF|WST|WSW|WTL|WTM|WUG|WÜM|WUN|WUR|WZL|ZEL|ZIG)[- ]?(([A-Z][- ]?\d{1,4})|([A-Z]{2}[- ]?\d{1,3})))[- ]?(E|H)?$/.test(o)},"de-LI":function(o){return/^FL[- ]?\d{1,5}[UZ]?$/.test(o)},"en-IN":function(o){return/^[A-Z]{2}[ -]?[0-9]{1,2}(?:[ -]?[A-Z])(?:[ -]?[A-Z]*)?[ -]?[0-9]{4}$/.test(o)},"es-AR":function(o){return/^(([A-Z]{2} ?[0-9]{3} ?[A-Z]{2})|([A-Z]{3} ?[0-9]{3}))$/.test(o)},"fi-FI":function(o){return/^(?=.{4,7})(([A-Z]{1,3}|[0-9]{1,3})[\s-]?([A-Z]{1,3}|[0-9]{1,5}))$/.test(o)},"hu-HU":function(o){return/^((((?!AAA)(([A-NPRSTVZWXY]{1})([A-PR-Z]{1})([A-HJ-NPR-Z]))|(A[ABC]I)|A[ABC]O|A[A-W]Q|BPI|BPO|UCO|UDO|XAO)-(?!000)\d{3})|(M\d{6})|((CK|DT|CD|HC|H[ABEFIKLMNPRSTVX]|MA|OT|R[A-Z]) \d{2}-\d{2})|(CD \d{3}-\d{3})|(C-(C|X) \d{4})|(X-(A|B|C) \d{4})|(([EPVZ]-\d{5}))|(S A[A-Z]{2} \d{2})|(SP \d{2}-\d{2}))$/.test(o)},"pt-BR":function(o){return/^[A-Z]{3}[ -]?[0-9][A-Z][0-9]{2}|[A-Z]{3}[ -]?[0-9]{4}$/.test(o)},"pt-PT":function(o){return/^([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})$/.test(o)},"sq-AL":function(o){return/^[A-Z]{2}[- ]?((\d{3}[- ]?(([A-Z]{2})|T))|(R[- ]?\d{3}))$/.test(o)},"sv-SE":function(o){return/^[A-HJ-PR-UW-Z]{3} ?[\d]{2}[A-HJ-PR-UW-Z1-9]$|(^[A-ZÅÄÖ ]{2,7}$)/.test(o.trim())},"en-PK":function(o){return/(^[A-Z]{2}((\s|-){0,1})[0-9]{3,4}((\s|-)[0-9]{2}){0,1}$)|(^[A-Z]{3}((\s|-){0,1})[0-9]{3,4}((\s|-)[0-9]{2}){0,1}$)|(^[A-Z]{4}((\s|-){0,1})[0-9]{3,4}((\s|-)[0-9]{2}){0,1}$)|(^[A-Z]((\s|-){0,1})[0-9]{4}((\s|-)[0-9]{2}){0,1}$)/.test(o.trim())}};function s(a,o){if((0,n.default)(a),o in i)return i[o](a);if(o==="any"){for(var l in i){var c=i[l];if(c(a))return!0}return!1}throw new Error("Invalid locale '".concat(o,"'"))}e.exports=t.default,e.exports.default=t.default})(CB,CB.exports);var put=CB.exports,RB={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=g;var n=i(Au),r=i(gn);function i(b){return b&&b.__esModule?b:{default:b}}var s=/^[A-Z]$/,a=/^[a-z]$/,o=/^[0-9]$/,l=/^[-#!$@£%^&*()_+|~=`{}\[\]:";'<>?,.\/\\ ]$/,c={minLength:8,minLowercase:1,minUppercase:1,minNumbers:1,minSymbols:1,returnScore:!1,pointsPerUnique:1,pointsPerRepeat:.5,pointsForContainingLower:10,pointsForContainingUpper:10,pointsForContainingNumber:10,pointsForContainingSymbol:10};function d(b){var w={};return Array.from(b).forEach(function(x){var T=w[x];T?w[x]+=1:w[x]=1}),w}function f(b){var w=d(b),x={length:b.length,uniqueChars:Object.keys(w).length,uppercaseCount:0,lowercaseCount:0,numberCount:0,symbolCount:0};return Object.keys(w).forEach(function(T){s.test(T)?x.uppercaseCount+=w[T]:a.test(T)?x.lowercaseCount+=w[T]:o.test(T)?x.numberCount+=w[T]:l.test(T)&&(x.symbolCount+=w[T])}),x}function p(b,w){var x=0;return x+=b.uniqueChars*w.pointsPerUnique,x+=(b.length-b.uniqueChars)*w.pointsPerRepeat,b.lowercaseCount>0&&(x+=w.pointsForContainingLower),b.uppercaseCount>0&&(x+=w.pointsForContainingUpper),b.numberCount>0&&(x+=w.pointsForContainingNumber),b.symbolCount>0&&(x+=w.pointsForContainingSymbol),x}function g(b){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;(0,r.default)(b);var x=f(b);return w=(0,n.default)(w||{},c),w.returnScore?p(x,w):x.length>=w.minLength&&x.lowercaseCount>=w.minLowercase&&x.uppercaseCount>=w.minUppercase&&x.numberCount>=w.minNumbers&&x.symbolCount>=w.minSymbols}e.exports=t.default,e.exports.default=t.default})(RB,RB.exports);var mut=RB.exports,yA={};function IB(e){"@babel/helpers - typeof";return IB=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},IB(e)}Object.defineProperty(yA,"__esModule",{value:!0});yA.default=Eut;yA.vatMatchers=void 0;var qie=yut(gn),gut=but($y);function Uye(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(Uye=function(i){return i?n:t})(e)}function but(e,t){if(e&&e.__esModule)return e;if(e===null||IB(e)!="object"&&typeof e!="function")return{default:e};var n=Uye(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!=="default"&&{}.hasOwnProperty.call(e,s)){var a=i?Object.getOwnPropertyDescriptor(e,s):null;a&&(a.get||a.set)?Object.defineProperty(r,s,a):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}function yut(e){return e&&e.__esModule?e:{default:e}}var vut=function(t){var n=t.match(/^(AU)?(\d{11})$/);if(!n)return!1;var r=[10,1,3,5,7,9,11,13,15,17,19];t=t.replace(/^AU/,"");for(var i=(parseInt(t.slice(0,1),10)-1).toString()+t.slice(1),s=0,a=0;a<11;a++)s+=r[a]*i.charAt(a);return s!==0&&s%89===0},Sut=function(t){var n=function(i){var s=i.pop(),a=[5,4,3,2,7,6,5,4],o=(11-i.reduce(function(l,c,d){return l+c*a[d]},0)%11)%11;return s===o};return/^(CHE[- ]?)?(\d{9}|(\d{3}\.\d{3}\.\d{3})|(\d{3} \d{3} \d{3})) ?(TVA|MWST|IVA)?$/.test(t)&&n(t.match(/\d/g).map(function(r){return+r}))},Out=function(t){var n=t.match(/^(PT)?(\d{9})$/);if(!n)return!1;var r=n[2],i=11-gut.reverseMultiplyAndSum(r.split("").slice(0,8).map(function(s){return parseInt(s,10)}),9)%11;return i>9?parseInt(r[8],10)===0:i===parseInt(r[8],10)},jie=yA.vatMatchers={AT:function(t){return/^(AT)?U\d{8}$/.test(t)},BE:function(t){return/^(BE)?\d{10}$/.test(t)},BG:function(t){return/^(BG)?\d{9,10}$/.test(t)},HR:function(t){return/^(HR)?\d{11}$/.test(t)},CY:function(t){return/^(CY)?\w{9}$/.test(t)},CZ:function(t){return/^(CZ)?\d{8,10}$/.test(t)},DK:function(t){return/^(DK)?\d{8}$/.test(t)},EE:function(t){return/^(EE)?\d{9}$/.test(t)},FI:function(t){return/^(FI)?\d{8}$/.test(t)},FR:function(t){return/^(FR)?\w{2}\d{9}$/.test(t)},DE:function(t){return/^(DE)?\d{9}$/.test(t)},EL:function(t){return/^(EL)?\d{9}$/.test(t)},HU:function(t){return/^(HU)?\d{8}$/.test(t)},IE:function(t){return/^(IE)?\d{7}\w{1}(W)?$/.test(t)},IT:function(t){return/^(IT)?\d{11}$/.test(t)},LV:function(t){return/^(LV)?\d{11}$/.test(t)},LT:function(t){return/^(LT)?\d{9,12}$/.test(t)},LU:function(t){return/^(LU)?\d{8}$/.test(t)},MT:function(t){return/^(MT)?\d{8}$/.test(t)},NL:function(t){return/^(NL)?\d{9}B\d{2}$/.test(t)},PL:function(t){return/^(PL)?(\d{10}|(\d{3}-\d{3}-\d{2}-\d{2})|(\d{3}-\d{2}-\d{2}-\d{3}))$/.test(t)},PT:Out,RO:function(t){return/^(RO)?\d{2,10}$/.test(t)},SK:function(t){return/^(SK)?\d{10}$/.test(t)},SI:function(t){return/^(SI)?\d{8}$/.test(t)},ES:function(t){return/^(ES)?\w\d{7}[A-Z]$/.test(t)},SE:function(t){return/^(SE)?\d{12}$/.test(t)},AL:function(t){return/^(AL)?\w{9}[A-Z]$/.test(t)},MK:function(t){return/^(MK)?\d{13}$/.test(t)},AU:vut,BY:function(t){return/^(УНП )?\d{9}$/.test(t)},CA:function(t){return/^(CA)?\d{9}$/.test(t)},IS:function(t){return/^(IS)?\d{5,6}$/.test(t)},IN:function(t){return/^(IN)?\d{15}$/.test(t)},ID:function(t){return/^(ID)?(\d{15}|(\d{2}.\d{3}.\d{3}.\d{1}-\d{3}.\d{3}))$/.test(t)},IL:function(t){return/^(IL)?\d{9}$/.test(t)},KZ:function(t){return/^(KZ)?\d{12}$/.test(t)},NZ:function(t){return/^(NZ)?\d{9}$/.test(t)},NG:function(t){return/^(NG)?(\d{12}|(\d{8}-\d{4}))$/.test(t)},NO:function(t){return/^(NO)?\d{9}MVA$/.test(t)},PH:function(t){return/^(PH)?(\d{12}|\d{3} \d{3} \d{3} \d{3})$/.test(t)},RU:function(t){return/^(RU)?(\d{10}|\d{12})$/.test(t)},SM:function(t){return/^(SM)?\d{5}$/.test(t)},SA:function(t){return/^(SA)?\d{15}$/.test(t)},RS:function(t){return/^(RS)?\d{9}$/.test(t)},CH:Sut,TR:function(t){return/^(TR)?\d{10}$/.test(t)},UA:function(t){return/^(UA)?\d{12}$/.test(t)},GB:function(t){return/^GB((\d{3} \d{4} ([0-8][0-9]|9[0-6]))|(\d{9} \d{3})|(((GD[0-4])|(HA[5-9]))[0-9]{2}))$/.test(t)},UZ:function(t){return/^(UZ)?\d{9}$/.test(t)},AR:function(t){return/^(AR)?\d{11}$/.test(t)},BO:function(t){return/^(BO)?\d{7}$/.test(t)},BR:function(t){return/^(BR)?((\d{2}.\d{3}.\d{3}\/\d{4}-\d{2})|(\d{3}.\d{3}.\d{3}-\d{2}))$/.test(t)},CL:function(t){return/^(CL)?\d{8}-\d{1}$/.test(t)},CO:function(t){return/^(CO)?\d{10}$/.test(t)},CR:function(t){return/^(CR)?\d{9,12}$/.test(t)},EC:function(t){return/^(EC)?\d{13}$/.test(t)},SV:function(t){return/^(SV)?\d{4}-\d{6}-\d{3}-\d{1}$/.test(t)},GT:function(t){return/^(GT)?\d{7}-\d{1}$/.test(t)},HN:function(t){return/^(HN)?$/.test(t)},MX:function(t){return/^(MX)?\w{3,4}\d{6}\w{3}$/.test(t)},NI:function(t){return/^(NI)?\d{3}-\d{6}-\d{4}\w{1}$/.test(t)},PA:function(t){return/^(PA)?$/.test(t)},PY:function(t){return/^(PY)?\d{6,8}-\d{1}$/.test(t)},PE:function(t){return/^(PE)?\d{11}$/.test(t)},DO:function(t){return/^(DO)?(\d{11}|(\d{3}-\d{7}-\d{1})|[1,4,5]{1}\d{8}|([1,4,5]{1})-\d{2}-\d{5}-\d{1})$/.test(t)},UY:function(t){return/^(UY)?\d{12}$/.test(t)},VE:function(t){return/^(VE)?[J,G,V,E]{1}-(\d{9}|(\d{8}-\d{1}))$/.test(t)}};function Eut(e,t){if((0,qie.default)(e),(0,qie.default)(t),t in jie)return jie[t](e);throw new Error("Invalid country code: '".concat(t,"'"))}(function(e,t){function n(Jn){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(xi){return typeof xi}:function(xi){return xi&&typeof Symbol=="function"&&xi.constructor===Symbol&&xi!==Symbol.prototype?"symbol":typeof xi},n(Jn)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=_t(bj),i=_t(Tye),s=_t(cot),a=_t(dot),o=_t(fot),l=_t(hot),c=_t(pot),d=_t(Aye),f=_t(mot),p=_t(got),g=_t(GD),b=_t(bot),w=_t(yj),x=_t(Cye),T=_t(yot),_=_t(vot),C=_t(Sot),I=_t(Oot),M=Ce(dA),$=Ce(fA),B=_t(Aot),j=_t(Cot),F=_t(Rot),V=_t(Iot),ie=_t(Dot),se=_t(Not),me=_t(Pot),fe=_t(ZE),le=_t(XE),ye=_t(qot),ae=_t(jot),Se=_t(Qot),he=_t(Vot),re=_t(vj),Fe=Ce(YE),je=_t(Yot),ue=_t(Rye),tt=_t(Zot),St=_t(Xot),Ze=_t(Kot),qt=_t(Jot),xt=_t(elt),Nt=_t(tlt),Ht=Ce(hA),Jt=_t(dlt),Vt=_t(flt),en=_t(hlt),Ct=_t(plt),Xe=_t(mlt),Ut=_t(glt),sn=_t(blt),te=_t(_ye),de=_t(ylt),we=_t(vlt),We=_t(Slt),Ke=_t(Olt),xe=_t(Elt),Qe=_t(Nye),yt=_t(wlt),Be=_t(xlt),Ne=_t(Tlt),rt=_t(klt),pt=_t(_lt),Dt=_t(Alt),Gt=_t(Nlt),Pn=Ce(pA),Fn=_t(Flt),kt=_t($lt),ct=_t(Blt),fn=mA,Rn=_t(jlt),Sr=_t(Wlt),ai=_t(Qlt),sr=_t(KE),oi=_t(Vlt),xr=_t(gA),Ir=_t(Xlt),$r=_t(Klt),_r=_t(Dye),Qr=_t(Jlt),jn=_t(eut),wi=_t(tut),wa=_t(nut),is=_t(rut),ss=Ce(bA),Rs=_t(Fye),at=_t(Mye),z=_t($ye),L=_t(out),ve=_t(lut),X=_t(uut),be=_t(cut),Rt=_t(Bye),At=_t(dut),ot=_t(fut),Je=_t(hut),ft=_t(put),Mt=_t(mut),Yt=_t(yA);function Nn(Jn){if(typeof WeakMap!="function")return null;var xi=new WeakMap,ti=new WeakMap;return(Nn=function(as){return as?ti:xi})(Jn)}function Ce(Jn,xi){if(Jn&&Jn.__esModule)return Jn;if(Jn===null||n(Jn)!="object"&&typeof Jn!="function")return{default:Jn};var ti=Nn(xi);if(ti&&ti.has(Jn))return ti.get(Jn);var wn={__proto__:null},as=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Qi in Jn)if(Qi!=="default"&&{}.hasOwnProperty.call(Jn,Qi)){var Ln=as?Object.getOwnPropertyDescriptor(Jn,Qi):null;Ln&&(Ln.get||Ln.set)?Object.defineProperty(wn,Qi,Ln):wn[Qi]=Jn[Qi]}return wn.default=Jn,ti&&ti.set(Jn,wn),wn}function _t(Jn){return Jn&&Jn.__esModule?Jn:{default:Jn}}var Ue="13.12.0",Mi={version:Ue,toDate:r.default,toFloat:i.default,toInt:s.default,toBoolean:a.default,equals:o.default,contains:l.default,matches:c.default,isEmail:d.default,isURL:f.default,isMACAddress:p.default,isIP:g.default,isIPRange:b.default,isFQDN:w.default,isBoolean:_.default,isIBAN:Ht.default,isBIC:Jt.default,isAbaRouting:I.default,isAlpha:M.default,isAlphaLocales:M.locales,isAlphanumeric:$.default,isAlphanumericLocales:$.locales,isNumeric:B.default,isPassportNumber:j.default,isPort:F.default,isLowercase:V.default,isUppercase:ie.default,isAscii:me.default,isFullWidth:fe.default,isHalfWidth:le.default,isVariableWidth:ye.default,isMultibyte:ae.default,isSemVer:Se.default,isSurrogatePair:he.default,isInt:re.default,isIMEI:se.default,isFloat:Fe.default,isFloatLocales:Fe.locales,isDecimal:je.default,isHexadecimal:ue.default,isOctal:tt.default,isDivisibleBy:St.default,isHexColor:Ze.default,isRgbColor:qt.default,isHSL:xt.default,isISRC:Nt.default,isMD5:Vt.default,isHash:en.default,isJWT:Ct.default,isJSON:Xe.default,isEmpty:Ut.default,isLength:sn.default,isLocale:C.default,isByteLength:te.default,isUUID:de.default,isMongoId:we.default,isAfter:We.default,isBefore:Ke.default,isIn:xe.default,isLuhnNumber:Qe.default,isCreditCard:yt.default,isIdentityCard:Be.default,isEAN:Ne.default,isISIN:rt.default,isISBN:pt.default,isISSN:Dt.default,isMobilePhone:Pn.default,isMobilePhoneLocales:Pn.locales,isPostalCode:ss.default,isPostalCodeLocales:ss.locales,isEthereumAddress:Fn.default,isCurrency:kt.default,isBtcAddress:ct.default,isISO6346:fn.isISO6346,isFreightContainerID:fn.isFreightContainerID,isISO6391:Rn.default,isISO8601:Sr.default,isRFC3339:ai.default,isISO31661Alpha2:sr.default,isISO31661Alpha3:oi.default,isISO4217:xr.default,isBase32:Ir.default,isBase58:$r.default,isBase64:_r.default,isDataURI:Qr.default,isMagnetURI:jn.default,isMailtoURI:wi.default,isMimeType:wa.default,isLatLong:is.default,ltrim:Rs.default,rtrim:at.default,trim:z.default,escape:L.default,unescape:ve.default,stripLow:X.default,whitelist:be.default,blacklist:Rt.default,isWhitelisted:At.default,normalizeEmail:ot.default,toString,isSlug:Je.default,isStrongPassword:Mt.default,isTaxID:Gt.default,isDate:x.default,isTime:T.default,isLicensePlate:ft.default,isVAT:Yt.default,ibanLocales:Ht.locales};t.default=Mi,e.exports=t.default,e.exports.default=t.default})(jF,jF.exports);var wut=jF.exports;const xut=mc(wut),Tut=e=>xut.isURL(e),kut=(e,t,n)=>{const{from:r,to:i}=t.state.selection.main,a=`[${t.state.sliceDoc(r,i)}](${e})`;n.update((o,l)=>{o.content.edit(r,i,a),l.set({selection:o.content.indexRangeToPosRange([r+a.length,r+a.length])})}),t.dispatch({changes:{from:r,to:i,insert:a},selection:{anchor:r+a.length}})},_ut=e=>Sn.domEventHandlers({paste(t,n){var a;const r=(a=t.clipboardData)==null?void 0:a.getData("text/plain");if(!r||!Tut(r))return;const{from:i,to:s}=n.state.selection.main;i!==s&&(kut(r,n,e),t.preventDefault())}});var DB={exports:{}};(function(e,t){var n={};(function(r,i){i(t)})(Vc,function(r){var i=Object.defineProperty,s=(y,u,h)=>u in y?i(y,u,{enumerable:!0,configurable:!0,writable:!0,value:h}):y[u]=h,a=(y,u,h)=>s(y,typeof u!="symbol"?u+"":u,h),o,l,c,d,f,p,g,b,w,x;(function(y){y[y.Canceled=1]="Canceled",y[y.Unknown=2]="Unknown",y[y.InvalidArgument=3]="InvalidArgument",y[y.DeadlineExceeded=4]="DeadlineExceeded",y[y.NotFound=5]="NotFound",y[y.AlreadyExists=6]="AlreadyExists",y[y.PermissionDenied=7]="PermissionDenied",y[y.ResourceExhausted=8]="ResourceExhausted",y[y.FailedPrecondition=9]="FailedPrecondition",y[y.Aborted=10]="Aborted",y[y.OutOfRange=11]="OutOfRange",y[y.Unimplemented=12]="Unimplemented",y[y.Internal=13]="Internal",y[y.Unavailable=14]="Unavailable",y[y.DataLoss=15]="DataLoss",y[y.Unauthenticated=16]="Unauthenticated"})(x||(x={}));function T(y){const u=x[y];return typeof u!="string"?y.toString():u[0].toLowerCase()+u.substring(1).replace(/[A-Z]/g,h=>"_"+h.toLowerCase())}class _ extends Error{constructor(u,h=x.Unknown,S,A,W){super(C(u,h)),this.name="ConnectError",Object.setPrototypeOf(this,new.target.prototype),this.rawMessage=u,this.code=h,this.metadata=new Headers(S??{}),this.details=A??[],this.cause=W}static from(u,h=x.Unknown){return u instanceof _?u:u instanceof Error?u.name=="AbortError"?new _(u.message,x.Canceled):new _(u.message,h,void 0,void 0,u):new _(String(u),h,void 0,void 0,u)}static[Symbol.hasInstance](u){return u instanceof Error?Object.getPrototypeOf(u)===_.prototype?!0:u.name==="ConnectError"&&"code"in u&&typeof u.code=="number"&&"metadata"in u&&"details"in u&&Array.isArray(u.details)&&"rawMessage"in u&&typeof u.rawMessage=="string"&&"cause"in u:!1}findDetails(u){const h="typeName"in u?{findMessage:A=>A===u.typeName?u:void 0}:u,S=[];for(const A of this.details){if("getType"in A){h.findMessage(A.getType().typeName)&&S.push(A);continue}const W=h.findMessage(A.type);if(W)try{S.push(W.fromBinary(A.value))}catch{}}return S}}function C(y,u){return y.length?`[${T(u)}] ${y}`:`[${T(u)}]`}function I(y,u){if(!y)throw new Error(u)}const M=34028234663852886e22,$=-34028234663852886e22,B=4294967295,j=2147483647,F=-2147483648;function V(y){if(typeof y!="number")throw new Error("invalid int 32: "+typeof y);if(!Number.isInteger(y)||y>j||yB||y<0)throw new Error("invalid uint 32: "+y)}function se(y){if(typeof y!="number")throw new Error("invalid float 32: "+typeof y);if(Number.isFinite(y)&&(y>M||y<$))throw new Error("invalid float 32: "+y)}const me=Symbol("@bufbuild/protobuf/enum-type");function fe(y){const u=y[me];return I(u,"missing enum type on enum object"),u}function le(y,u,h,S){y[me]=ye(u,h.map(A=>({no:A.no,name:A.name,localName:y[A.no]})))}function ye(y,u,h){const S=Object.create(null),A=Object.create(null),W=[];for(const ne of u){const pe=Se(ne);W.push(pe),S[ne.name]=pe,A[ne.no]=pe}return{typeName:y,values:W,findName(ne){return S[ne]},findNumber(ne){return A[ne]}}}function ae(y,u,h){const S={};for(const A of u){const W=Se(A);S[W.localName]=W.no,S[W.no]=W.localName}return le(S,y,u),S}function Se(y){return"localName"in y?y:Object.assign(Object.assign({},y),{localName:y.name})}class he{equals(u){return this.getType().runtime.util.equals(this.getType(),this,u)}clone(){return this.getType().runtime.util.clone(this)}fromBinary(u,h){const S=this.getType(),A=S.runtime.bin,W=A.makeReadOptions(h);return A.readMessage(this,W.readerFactory(u),u.byteLength,W),this}fromJson(u,h){const S=this.getType(),A=S.runtime.json,W=A.makeReadOptions(h);return A.readMessage(S,u,W,this),this}fromJsonString(u,h){let S;try{S=JSON.parse(u)}catch(A){throw new Error(`cannot decode ${this.getType().typeName} from JSON: ${A instanceof Error?A.message:String(A)}`)}return this.fromJson(S,h)}toBinary(u){const h=this.getType(),S=h.runtime.bin,A=S.makeWriteOptions(u),W=A.writerFactory();return S.writeMessage(this,W,A),W.finish()}toJson(u){const h=this.getType(),S=h.runtime.json,A=S.makeWriteOptions(u);return S.writeMessage(this,A)}toJsonString(u){var h;const S=this.toJson(u);return JSON.stringify(S,null,(h=u==null?void 0:u.prettySpaces)!==null&&h!==void 0?h:0)}toJSON(){return this.toJson({emitDefaultValues:!0})}getType(){return Object.getPrototypeOf(this).constructor}}function re(y,u,h,S){var A;const W=(A=S==null?void 0:S.localName)!==null&&A!==void 0?A:u.substring(u.lastIndexOf(".")+1),ne={[W]:function(pe){y.util.initFields(this),y.util.initPartial(pe,this)}}[W];return Object.setPrototypeOf(ne.prototype,new he),Object.assign(ne,{runtime:y,typeName:u,fields:y.util.newFieldList(h),fromBinary(pe,De){return new ne().fromBinary(pe,De)},fromJson(pe,De){return new ne().fromJson(pe,De)},fromJsonString(pe,De){return new ne().fromJsonString(pe,De)},equals(pe,De){return y.util.equals(ne,pe,De)}}),ne}function Fe(){let y=0,u=0;for(let S=0;S<28;S+=7){let A=this.buf[this.pos++];if(y|=(A&127)<>4,!(h&128))return this.assertBounds(),[y,u];for(let S=3;S<=31;S+=7){let A=this.buf[this.pos++];if(u|=(A&127)<>>W,pe=!(!(ne>>>7)&&u==0),De=(pe?ne|128:ne)&255;if(h.push(De),!pe)return}const S=y>>>28&15|(u&7)<<4,A=!!(u>>3);if(h.push((A?S|128:S)&255),!!A){for(let W=3;W<31;W=W+7){const ne=u>>>W,pe=!!(ne>>>7),De=(pe?ne|128:ne)&255;if(h.push(De),!pe)return}h.push(u>>>31&1)}}const ue=4294967296;function tt(y){const u=y[0]==="-";u&&(y=y.slice(1));const h=1e6;let S=0,A=0;function W(ne,pe){const De=Number(y.slice(ne,pe));A*=h,S=S*h+De,S>=ue&&(A=A+(S/ue|0),S=S%ue)}return W(-24,-18),W(-18,-12),W(-12,-6),W(-6),u?Nt(S,A):xt(S,A)}function St(y,u){let h=xt(y,u);const S=h.hi&2147483648;S&&(h=Nt(h.lo,h.hi));const A=Ze(h.lo,h.hi);return S?"-"+A:A}function Ze(y,u){if({lo:y,hi:u}=qt(y,u),u<=2097151)return String(ue*u+y);const h=y&16777215,S=(y>>>24|u<<8)&16777215,A=u>>16&65535;let W=h+S*6777216+A*6710656,ne=S+A*8147497,pe=A*2;const De=1e7;return W>=De&&(ne+=Math.floor(W/De),W%=De),ne>=De&&(pe+=Math.floor(ne/De),ne%=De),pe.toString()+Ht(ne)+Ht(W)}function qt(y,u){return{lo:y>>>0,hi:u>>>0}}function xt(y,u){return{lo:y|0,hi:u|0}}function Nt(y,u){return u=~u,y?y=~y+1:u+=1,xt(y,u)}const Ht=y=>{const u=String(y);return"0000000".slice(u.length)+u};function Jt(y,u){if(y>=0){for(;y>127;)u.push(y&127|128),y=y>>>7;u.push(y)}else{for(let h=0;h<9;h++)u.push(y&127|128),y=y>>7;u.push(1)}}function Vt(){let y=this.buf[this.pos++],u=y&127;if(!(y&128))return this.assertBounds(),u;if(y=this.buf[this.pos++],u|=(y&127)<<7,!(y&128))return this.assertBounds(),u;if(y=this.buf[this.pos++],u|=(y&127)<<14,!(y&128))return this.assertBounds(),u;if(y=this.buf[this.pos++],u|=(y&127)<<21,!(y&128))return this.assertBounds(),u;y=this.buf[this.pos++],u|=(y&15)<<28;for(let h=5;y&128&&h<10;h++)y=this.buf[this.pos++];if(y&128)throw new Error("invalid varint");return this.assertBounds(),u>>>0}function en(){const y=new DataView(new ArrayBuffer(8));if(typeof BigInt=="function"&&typeof y.getBigInt64=="function"&&typeof y.getBigUint64=="function"&&typeof y.setBigInt64=="function"&&typeof y.setBigUint64=="function"&&(typeof process!="object"||typeof n!="object"||n.BUF_BIGINT_DISABLE!=="1")){const A=BigInt("-9223372036854775808"),W=BigInt("9223372036854775807"),ne=BigInt("0"),pe=BigInt("18446744073709551615");return{zero:BigInt(0),supported:!0,parse(De){const $e=typeof De=="bigint"?De:BigInt(De);if($e>W||$epe||$eI(/^-?[0-9]+$/.test(A),`int64 invalid: ${A}`),S=A=>I(/^[0-9]+$/.test(A),`uint64 invalid: ${A}`);return{zero:"0",supported:!1,parse(A){return typeof A!="string"&&(A=A.toString()),h(A),A},uParse(A){return typeof A!="string"&&(A=A.toString()),S(A),A},enc(A){return typeof A!="string"&&(A=A.toString()),h(A),tt(A)},uEnc(A){return typeof A!="string"&&(A=A.toString()),S(A),tt(A)},dec(A,W){return St(A,W)},uDec(A,W){return Ze(A,W)}}}const Ct=en();var Xe;(function(y){y[y.DOUBLE=1]="DOUBLE",y[y.FLOAT=2]="FLOAT",y[y.INT64=3]="INT64",y[y.UINT64=4]="UINT64",y[y.INT32=5]="INT32",y[y.FIXED64=6]="FIXED64",y[y.FIXED32=7]="FIXED32",y[y.BOOL=8]="BOOL",y[y.STRING=9]="STRING",y[y.BYTES=12]="BYTES",y[y.UINT32=13]="UINT32",y[y.SFIXED32=15]="SFIXED32",y[y.SFIXED64=16]="SFIXED64",y[y.SINT32=17]="SINT32",y[y.SINT64=18]="SINT64"})(Xe||(Xe={}));var Ut;(function(y){y[y.BIGINT=0]="BIGINT",y[y.STRING=1]="STRING"})(Ut||(Ut={}));function sn(y,u,h){if(u===h)return!0;if(y==Xe.BYTES){if(!(u instanceof Uint8Array)||!(h instanceof Uint8Array)||u.length!==h.length)return!1;for(let S=0;S>>0)}raw(u){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(u),this}uint32(u){for(ie(u);u>127;)this.buf.push(u&127|128),u=u>>>7;return this.buf.push(u),this}int32(u){return V(u),Jt(u,this.buf),this}bool(u){return this.buf.push(u?1:0),this}bytes(u){return this.uint32(u.byteLength),this.raw(u)}string(u){let h=this.textEncoder.encode(u);return this.uint32(h.byteLength),this.raw(h)}float(u){se(u);let h=new Uint8Array(4);return new DataView(h.buffer).setFloat32(0,u,!0),this.raw(h)}double(u){let h=new Uint8Array(8);return new DataView(h.buffer).setFloat64(0,u,!0),this.raw(h)}fixed32(u){ie(u);let h=new Uint8Array(4);return new DataView(h.buffer).setUint32(0,u,!0),this.raw(h)}sfixed32(u){V(u);let h=new Uint8Array(4);return new DataView(h.buffer).setInt32(0,u,!0),this.raw(h)}sint32(u){return V(u),u=(u<<1^u>>31)>>>0,Jt(u,this.buf),this}sfixed64(u){let h=new Uint8Array(8),S=new DataView(h.buffer),A=Ct.enc(u);return S.setInt32(0,A.lo,!0),S.setInt32(4,A.hi,!0),this.raw(h)}fixed64(u){let h=new Uint8Array(8),S=new DataView(h.buffer),A=Ct.uEnc(u);return S.setInt32(0,A.lo,!0),S.setInt32(4,A.hi,!0),this.raw(h)}int64(u){let h=Ct.enc(u);return je(h.lo,h.hi,this.buf),this}sint64(u){let h=Ct.enc(u),S=h.hi>>31,A=h.lo<<1^S,W=(h.hi<<1|h.lo>>>31)^S;return je(A,W,this.buf),this}uint64(u){let h=Ct.uEnc(u);return je(h.lo,h.hi,this.buf),this}}class Ke{constructor(u,h){this.varint64=Fe,this.uint32=Vt,this.buf=u,this.len=u.length,this.pos=0,this.view=new DataView(u.buffer,u.byteOffset,u.byteLength),this.textDecoder=h??new TextDecoder}tag(){let u=this.uint32(),h=u>>>3,S=u&7;if(h<=0||S<0||S>5)throw new Error("illegal tag: field no "+h+" wire type "+S);return[h,S]}skip(u,h){let S=this.pos;switch(u){case we.Varint:for(;this.buf[this.pos++]&128;);break;case we.Bit64:this.pos+=4;case we.Bit32:this.pos+=4;break;case we.LengthDelimited:let A=this.uint32();this.pos+=A;break;case we.StartGroup:for(;;){const[W,ne]=this.tag();if(ne===we.EndGroup){if(h!==void 0&&W!==h)throw new Error("invalid end group tag");break}this.skip(ne,W)}break;default:throw new Error("cant skip wire type "+u)}return this.assertBounds(),this.buf.subarray(S,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let u=this.uint32();return u>>>1^-(u&1)}int64(){return Ct.dec(...this.varint64())}uint64(){return Ct.uDec(...this.varint64())}sint64(){let[u,h]=this.varint64(),S=-(u&1);return u=(u>>>1|(h&1)<<31)^S,h=h>>>1^S,Ct.dec(u,h)}bool(){let[u,h]=this.varint64();return u!==0||h!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return Ct.uDec(this.sfixed32(),this.sfixed32())}sfixed64(){return Ct.dec(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let u=this.uint32(),h=this.pos;return this.pos+=u,this.assertBounds(),this.buf.subarray(h,h+u)}string(){return this.textDecoder.decode(this.bytes())}}function xe(y,u,h,S){let A;return{typeName:u,extendee:h,get field(){if(!A){const W=typeof S=="function"?S():S;W.name=u.split(".").pop(),W.jsonName=`[${u}]`,A=y.util.newFieldList([W]).list()[0]}return A},runtime:y}}function Qe(y){const u=y.field.localName,h=Object.create(null);return h[u]=yt(y),[h,()=>h[u]]}function yt(y){const u=y.field;if(u.repeated)return[];if(u.default!==void 0)return u.default;switch(u.kind){case"enum":return u.T.values[0].no;case"scalar":return te(u.T,u.L);case"message":const h=u.T,S=new h;return h.fieldWrapper?h.fieldWrapper.unwrapField(S):S;case"map":throw"map fields are not allowed to be extensions"}}function Be(y,u){if(!u.repeated&&(u.kind=="enum"||u.kind=="scalar")){for(let h=y.length-1;h>=0;--h)if(y[h].no==u.no)return[y[h]];return[]}return y.filter(h=>h.no===u.no)}let Ne="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),rt=[];for(let y=0;y>4,ne=W,A=2;break;case 2:h[S++]=(ne&15)<<4|(W&60)>>2,ne=W,A=3;break;case 3:h[S++]=(ne&3)<<6|W,A=0;break}}if(A==1)throw Error("invalid base64 string.");return h.subarray(0,S)},enc(y){let u="",h=0,S,A=0;for(let W=0;W>2],A=(S&3)<<4,h=1;break;case 1:u+=Ne[A|S>>4],A=(S&15)<<2,h=2;break;case 2:u+=Ne[A|S>>6],u+=Ne[S&63],h=0;break}return h&&(u+=Ne[A],u+="=",h==1&&(u+="=")),u}};function Dt(y,u,h){Fn(u,y);const S=u.runtime.bin.makeReadOptions(h),A=Be(y.getType().runtime.bin.listUnknownFields(y),u.field),[W,ne]=Qe(u);for(const pe of A)u.runtime.bin.readField(W,S.readerFactory(pe.data),u.field,pe.wireType,S);return ne()}function Gt(y,u,h,S){Fn(u,y);const A=u.runtime.bin.makeReadOptions(S),W=u.runtime.bin.makeWriteOptions(S);if(Pn(y,u)){const $e=y.getType().runtime.bin.listUnknownFields(y).filter(st=>st.no!=u.field.no);y.getType().runtime.bin.discardUnknownFields(y);for(const st of $e)y.getType().runtime.bin.onUnknownField(y,st.no,st.wireType,st.data)}const ne=W.writerFactory();let pe=u.field;!pe.opt&&!pe.repeated&&(pe.kind=="enum"||pe.kind=="scalar")&&(pe=Object.assign(Object.assign({},u.field),{opt:!0})),u.runtime.bin.writeField(pe,h,ne,W);const De=A.readerFactory(ne.finish());for(;De.posS.no==u.field.no)}function Fn(y,u){I(y.extendee.typeName==u.getType().typeName,`extension ${y.typeName} can only be applied to message ${y.extendee.typeName}`)}function kt(y,u){const h=y.localName;if(y.repeated)return u[h].length>0;if(y.oneof)return u[y.oneof.localName].case===h;switch(y.kind){case"enum":case"scalar":return y.opt||y.req?u[h]!==void 0:y.kind=="enum"?u[h]!==y.T.values[0].no:!de(y.T,u[h]);case"message":return u[h]!==void 0;case"map":return Object.keys(u[h]).length>0}}function ct(y,u){const h=y.localName,S=!y.opt&&!y.req;if(y.repeated)u[h]=[];else if(y.oneof)u[y.oneof.localName]={case:void 0};else switch(y.kind){case"map":u[h]={};break;case"enum":u[h]=S?y.T.values[0].no:void 0;break;case"scalar":u[h]=S?te(y.T,y.L):void 0;break;case"message":u[h]=void 0;break}}function fn(y,u){if(y===null||typeof y!="object"||!Object.getOwnPropertyNames(he.prototype).every(S=>S in y&&typeof y[S]=="function"))return!1;const h=y.getType();return h===null||typeof h!="function"||!("typeName"in h)||typeof h.typeName!="string"?!1:u===void 0?!0:h.typeName==u.typeName}function Rn(y,u){return fn(u)||!y.fieldWrapper?u:y.fieldWrapper.wrapField(u)}Xe.DOUBLE,Xe.FLOAT,Xe.INT64,Xe.UINT64,Xe.INT32,Xe.UINT32,Xe.BOOL,Xe.STRING,Xe.BYTES;const Sr={ignoreUnknownFields:!1},ai={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0};function sr(y){return y?Object.assign(Object.assign({},Sr),y):Sr}function oi(y){return y?Object.assign(Object.assign({},ai),y):ai}const xr=Symbol(),Ir=Symbol();function $r(){return{makeReadOptions:sr,makeWriteOptions:oi,readMessage(y,u,h,S){if(u==null||Array.isArray(u)||typeof u!="object")throw new Error(`cannot decode message ${y.typeName} from JSON: ${_r(u)}`);S=S??new y;const A=new Map,W=h.typeRegistry;for(const[ne,pe]of Object.entries(u)){const De=y.fields.findJsonName(ne);if(De){if(De.oneof){if(pe===null&&De.kind=="scalar")continue;const $e=A.get(De.oneof);if($e!==void 0)throw new Error(`cannot decode message ${y.typeName} from JSON: multiple keys for oneof "${De.oneof.name}" present: "${$e}", "${ne}"`);A.set(De.oneof,ne)}Qr(S,pe,De,h,y)}else{let $e=!1;if(W!=null&&W.findExtension&&ne.startsWith("[")&&ne.endsWith("]")){const st=W.findExtension(ne.substring(1,ne.length-1));if(st&&st.extendee.typeName==y.typeName){$e=!0;const[Zt,Xt]=Qe(st);Qr(Zt,pe,st.field,h,st),Gt(S,st,Xt(),h)}}if(!$e&&!h.ignoreUnknownFields)throw new Error(`cannot decode message ${y.typeName} from JSON: key "${ne}" is unknown`)}}return S},writeMessage(y,u){const h=y.getType(),S={};let A;try{for(A of h.fields.byNumber()){if(!kt(A,y)){if(A.req)throw"required field not set";if(!u.emitDefaultValues||!is(A))continue}const ne=A.oneof?y[A.oneof.localName].value:y[A.localName],pe=ss(A,ne,u);pe!==void 0&&(S[u.useProtoFieldName?A.name:A.jsonName]=pe)}const W=u.typeRegistry;if(W!=null&&W.findExtensionFor)for(const ne of h.runtime.bin.listUnknownFields(y)){const pe=W.findExtensionFor(h.typeName,ne.no);if(pe&&Pn(y,pe)){const De=Dt(y,pe,u),$e=ss(pe.field,De,u);$e!==void 0&&(S[pe.field.jsonName]=$e)}}}catch(W){const ne=A?`cannot encode field ${h.typeName}.${A.name} to JSON`:`cannot encode message ${h.typeName} to JSON`,pe=W instanceof Error?W.message:String(W);throw new Error(ne+(pe.length>0?`: ${pe}`:""))}return S},readScalar(y,u,h){return wi(y,u,h??Ut.BIGINT,!0)},writeScalar(y,u,h){if(u!==void 0&&(h||de(y,u)))return at(y,u)},debug:_r}}function _r(y){if(y===null)return"null";switch(typeof y){case"object":return Array.isArray(y)?"array":"object";case"string":return y.length>100?"string":`"${y.split('"').join('\\"')}"`;default:return String(y)}}function Qr(y,u,h,S,A){let W=h.localName;if(h.repeated){if(I(h.kind!="map"),u===null)return;if(!Array.isArray(u))throw new Error(`cannot decode field ${A.typeName}.${h.name} from JSON: ${_r(u)}`);const ne=y[W];for(const pe of u){if(pe===null)throw new Error(`cannot decode field ${A.typeName}.${h.name} from JSON: ${_r(pe)}`);switch(h.kind){case"message":ne.push(h.T.fromJson(pe,S));break;case"enum":const De=wa(h.T,pe,S.ignoreUnknownFields,!0);De!==Ir&&ne.push(De);break;case"scalar":try{ne.push(wi(h.T,pe,h.L,!0))}catch($e){let st=`cannot decode field ${A.typeName}.${h.name} from JSON: ${_r(pe)}`;throw $e instanceof Error&&$e.message.length>0&&(st+=`: ${$e.message}`),new Error(st)}break}}}else if(h.kind=="map"){if(u===null)return;if(typeof u!="object"||Array.isArray(u))throw new Error(`cannot decode field ${A.typeName}.${h.name} from JSON: ${_r(u)}`);const ne=y[W];for(const[pe,De]of Object.entries(u)){if(De===null)throw new Error(`cannot decode field ${A.typeName}.${h.name} from JSON: map value null`);let $e;try{$e=jn(h.K,pe)}catch(st){let Zt=`cannot decode map key for field ${A.typeName}.${h.name} from JSON: ${_r(u)}`;throw st instanceof Error&&st.message.length>0&&(Zt+=`: ${st.message}`),new Error(Zt)}switch(h.V.kind){case"message":ne[$e]=h.V.T.fromJson(De,S);break;case"enum":const st=wa(h.V.T,De,S.ignoreUnknownFields,!0);st!==Ir&&(ne[$e]=st);break;case"scalar":try{ne[$e]=wi(h.V.T,De,Ut.BIGINT,!0)}catch(Zt){let Xt=`cannot decode map value for field ${A.typeName}.${h.name} from JSON: ${_r(u)}`;throw Zt instanceof Error&&Zt.message.length>0&&(Xt+=`: ${Zt.message}`),new Error(Xt)}break}}}else switch(h.oneof&&(y=y[h.oneof.localName]={case:W},W="value"),h.kind){case"message":const ne=h.T;if(u===null&&ne.typeName!="google.protobuf.Value")return;let pe=y[W];fn(pe)?pe.fromJson(u,S):(y[W]=pe=ne.fromJson(u,S),ne.fieldWrapper&&!h.oneof&&(y[W]=ne.fieldWrapper.unwrapField(pe)));break;case"enum":const De=wa(h.T,u,S.ignoreUnknownFields,!1);switch(De){case xr:ct(h,y);break;case Ir:break;default:y[W]=De;break}break;case"scalar":try{const $e=wi(h.T,u,h.L,!1);switch($e){case xr:ct(h,y);break;default:y[W]=$e;break}}catch($e){let st=`cannot decode field ${A.typeName}.${h.name} from JSON: ${_r(u)}`;throw $e instanceof Error&&$e.message.length>0&&(st+=`: ${$e.message}`),new Error(st)}break}}function jn(y,u){if(y===Xe.BOOL)switch(u){case"true":u=!0;break;case"false":u=!1;break}return wi(y,u,Ut.BIGINT,!0).toString()}function wi(y,u,h,S){if(u===null)return S?te(y,h):xr;switch(y){case Xe.DOUBLE:case Xe.FLOAT:if(u==="NaN")return Number.NaN;if(u==="Infinity")return Number.POSITIVE_INFINITY;if(u==="-Infinity")return Number.NEGATIVE_INFINITY;if(u===""||typeof u=="string"&&u.trim().length!==u.length||typeof u!="string"&&typeof u!="number")break;const A=Number(u);if(Number.isNaN(A)||!Number.isFinite(A))break;return y==Xe.FLOAT&&se(A),A;case Xe.INT32:case Xe.FIXED32:case Xe.SFIXED32:case Xe.SINT32:case Xe.UINT32:let W;if(typeof u=="number"?W=u:typeof u=="string"&&u.length>0&&u.trim().length===u.length&&(W=Number(u)),W===void 0)break;return y==Xe.UINT32||y==Xe.FIXED32?ie(W):V(W),W;case Xe.INT64:case Xe.SFIXED64:case Xe.SINT64:if(typeof u!="number"&&typeof u!="string")break;const ne=Ct.parse(u);return h?ne.toString():ne;case Xe.FIXED64:case Xe.UINT64:if(typeof u!="number"&&typeof u!="string")break;const pe=Ct.uParse(u);return h?pe.toString():pe;case Xe.BOOL:if(typeof u!="boolean")break;return u;case Xe.STRING:if(typeof u!="string")break;try{encodeURIComponent(u)}catch{throw new Error("invalid UTF8")}return u;case Xe.BYTES:if(u==="")return new Uint8Array(0);if(typeof u!="string")break;return pt.dec(u)}throw new Error}function wa(y,u,h,S){if(u===null)return y.typeName=="google.protobuf.NullValue"?0:S?y.values[0].no:xr;switch(typeof u){case"number":if(Number.isInteger(u))return u;break;case"string":const A=y.findName(u);if(A!==void 0)return A.no;if(h)return Ir;break}throw new Error(`cannot decode enum ${y.typeName} from JSON: ${_r(u)}`)}function is(y){return y.repeated||y.kind=="map"?!0:!(y.oneof||y.kind=="message"||y.opt||y.req)}function ss(y,u,h){if(y.kind=="map"){I(typeof u=="object"&&u!=null);const S={},A=Object.entries(u);switch(y.V.kind){case"scalar":for(const[ne,pe]of A)S[ne.toString()]=at(y.V.T,pe);break;case"message":for(const[ne,pe]of A)S[ne.toString()]=pe.toJson(h);break;case"enum":const W=y.V.T;for(const[ne,pe]of A)S[ne.toString()]=Rs(W,pe,h.enumAsInteger);break}return h.emitDefaultValues||A.length>0?S:void 0}if(y.repeated){I(Array.isArray(u));const S=[];switch(y.kind){case"scalar":for(let A=0;A0?S:void 0}switch(y.kind){case"scalar":return at(y.T,u);case"enum":return Rs(y.T,u,h.enumAsInteger);case"message":return Rn(y.T,u).toJson(h)}}function Rs(y,u,h){var S;if(I(typeof u=="number"),y.typeName=="google.protobuf.NullValue")return null;if(h)return u;const A=y.findNumber(u);return(S=A==null?void 0:A.name)!==null&&S!==void 0?S:u}function at(y,u){switch(y){case Xe.INT32:case Xe.SFIXED32:case Xe.SINT32:case Xe.FIXED32:case Xe.UINT32:return I(typeof u=="number"),u;case Xe.FLOAT:case Xe.DOUBLE:return I(typeof u=="number"),Number.isNaN(u)?"NaN":u===Number.POSITIVE_INFINITY?"Infinity":u===Number.NEGATIVE_INFINITY?"-Infinity":u;case Xe.STRING:return I(typeof u=="string"),u;case Xe.BOOL:return I(typeof u=="boolean"),u;case Xe.UINT64:case Xe.FIXED64:case Xe.INT64:case Xe.SFIXED64:case Xe.SINT64:return I(typeof u=="bigint"||typeof u=="string"||typeof u=="number"),u.toString();case Xe.BYTES:return I(u instanceof Uint8Array),pt.enc(u)}}const z=Symbol("@bufbuild/protobuf/unknown-fields"),L={readUnknownFields:!0,readerFactory:y=>new Ke(y)},ve={writeUnknownFields:!0,writerFactory:()=>new We};function X(y){return y?Object.assign(Object.assign({},L),y):L}function be(y){return y?Object.assign(Object.assign({},ve),y):ve}function Rt(){return{makeReadOptions:X,makeWriteOptions:be,listUnknownFields(y){var u;return(u=y[z])!==null&&u!==void 0?u:[]},discardUnknownFields(y){delete y[z]},writeUnknownFields(y,u){const S=y[z];if(S)for(const A of S)u.tag(A.no,A.wireType).raw(A.data)},onUnknownField(y,u,h,S){const A=y;Array.isArray(A[z])||(A[z]=[]),A[z].push({no:u,wireType:h,data:S})},readMessage(y,u,h,S,A){const W=y.getType(),ne=A?u.len:u.pos+h;let pe,De;for(;u.pos0&&(De=ft),W){let Xt=y[ne];if(S==we.LengthDelimited&&pe!=Xe.STRING&&pe!=Xe.BYTES){let xn=u.uint32()+u.pos;for(;u.posfn(Xt,Zt)?Xt:new Zt(Xt));else{const Xt=ne[A];Zt.fieldWrapper?Zt.typeName==="google.protobuf.BytesValue"?W[A]=ti(Xt):W[A]=Xt:W[A]=fn(Xt,Zt)?Xt:new Zt(Xt)}break}}},equals(y,u,h){return u===h?!0:!u||!h?!1:y.fields.byMember().every(S=>{const A=u[S.localName],W=h[S.localName];if(S.repeated){if(A.length!==W.length)return!1;switch(S.kind){case"message":return A.every((ne,pe)=>S.T.equals(ne,W[pe]));case"scalar":return A.every((ne,pe)=>sn(S.T,ne,W[pe]));case"enum":return A.every((ne,pe)=>sn(Xe.INT32,ne,W[pe]))}throw new Error(`repeated cannot contain ${S.kind}`)}switch(S.kind){case"message":return S.T.equals(A,W);case"enum":return sn(Xe.INT32,A,W);case"scalar":return sn(S.T,A,W);case"oneof":if(A.case!==W.case)return!1;const ne=S.findField(A.case);if(ne===void 0)return!0;switch(ne.kind){case"message":return ne.T.equals(A.value,W.value);case"enum":return sn(Xe.INT32,A.value,W.value);case"scalar":return sn(ne.T,A.value,W.value)}throw new Error(`oneof cannot contain ${ne.kind}`);case"map":const pe=Object.keys(A).concat(Object.keys(W));switch(S.V.kind){case"message":const De=S.V.T;return pe.every(st=>De.equals(A[st],W[st]));case"enum":return pe.every(st=>sn(Xe.INT32,A[st],W[st]));case"scalar":const $e=S.V.T;return pe.every(st=>sn($e,A[st],W[st]))}break}})},clone(y){const u=y.getType(),h=new u,S=h;for(const A of u.fields.byMember()){const W=y[A.localName];let ne;if(A.repeated)ne=W.map(xi);else if(A.kind=="map"){ne=S[A.localName];for(const[pe,De]of Object.entries(W))ne[pe]=xi(De)}else A.kind=="oneof"?ne=A.findField(W.case)?{case:W.case,value:xi(W.value)}:{case:void 0}:ne=xi(W);S[A.localName]=ne}for(const A of u.runtime.bin.listUnknownFields(y))u.runtime.bin.onUnknownField(S,A.no,A.wireType,A.data);return h}}}function xi(y){if(y===void 0)return y;if(fn(y))return y.clone();if(y instanceof Uint8Array){const u=new Uint8Array(y.byteLength);return u.set(y),u}return y}function ti(y){return y instanceof Uint8Array?y:new Uint8Array(y)}function wn(y,u,h){return{syntax:y,json:$r(),bin:Rt(),util:Object.assign(Object.assign({},Jn()),{newFieldList:u,initFields:h}),makeMessageType(S,A,W){return re(this,S,A,W)},makeEnum:ae,makeEnumType:ye,getEnumType:fe,makeExtension(S,A,W){return xe(this,S,A,W)}}}class as{constructor(u,h){this._fields=u,this._normalizer=h}findJsonName(u){if(!this.jsonNames){const h={};for(const S of this.list())h[S.jsonName]=h[S.name]=S;this.jsonNames=h}return this.jsonNames[u]}find(u){if(!this.numbers){const h={};for(const S of this.list())h[S.no]=S;this.numbers=h}return this.numbers[u]}list(){return this.all||(this.all=this._normalizer(this._fields)),this.all}byNumber(){return this.numbersAsc||(this.numbersAsc=this.list().concat().sort((u,h)=>u.no-h.no)),this.numbersAsc}byMember(){if(!this.members){this.members=[];const u=this.members;let h;for(const S of this.list())S.oneof?S.oneof!==h&&(h=S.oneof,u.push(h)):u.push(S)}return this.members}}function Qi(y,u){const h=qs(y);return u?h:Vi(ga(h))}function Ln(y){return Qi(y,!1)}const ma=qs;function qs(y){let u=!1;const h=[];for(let S=0;S`${y}$`,ga=y=>yr.has(y)?Bi(y):y,Vi=y=>os.has(y)?Bi(y):y;class Ja{constructor(u){this.kind="oneof",this.repeated=!1,this.packed=!1,this.opt=!1,this.req=!1,this.default=void 0,this.fields=[],this.name=u,this.localName=Ln(u)}addField(u){I(u.oneof===this,`field ${u.name} not one of ${this.name}`),this.fields.push(u)}findField(u){if(!this._lookup){this._lookup=Object.create(null);for(let h=0;hnew as(y,u=>vd(u)),y=>{for(const u of y.getType().fields.byMember()){if(u.opt)continue;const h=u.localName,S=y;if(u.repeated){S[h]=[];continue}switch(u.kind){case"oneof":S[h]={case:void 0};break;case"enum":S[h]=0;break;case"map":S[h]={};break;case"scalar":S[h]=te(u.T,u.L);break}}});var Ui;(function(y){y[y.Unary=0]="Unary",y[y.ServerStreaming=1]="ServerStreaming",y[y.ClientStreaming=2]="ClientStreaming",y[y.BiDiStreaming=3]="BiDiStreaming"})(Ui||(Ui={}));var gi;(function(y){y[y.NoSideEffects=1]="NoSideEffects",y[y.Idempotent=2]="Idempotent"})(gi||(gi={}));class xa extends he{constructor(u){super(),this.seconds=Ct.zero,this.nanos=0,Oe.util.initPartial(u,this)}fromJson(u,h){if(typeof u!="string")throw new Error(`cannot decode google.protobuf.Timestamp from JSON: ${Oe.json.debug(u)}`);const S=u.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!S)throw new Error("cannot decode google.protobuf.Timestamp from JSON: invalid RFC 3339 string");const A=Date.parse(S[1]+"-"+S[2]+"-"+S[3]+"T"+S[4]+":"+S[5]+":"+S[6]+(S[8]?S[8]:"Z"));if(Number.isNaN(A))throw new Error("cannot decode google.protobuf.Timestamp from JSON: invalid RFC 3339 string");if(ADate.parse("9999-12-31T23:59:59Z"))throw new Error("cannot decode message google.protobuf.Timestamp from JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive");return this.seconds=Ct.parse(A/1e3),this.nanos=0,S[7]&&(this.nanos=parseInt("1"+S[7]+"0".repeat(9-S[7].length))-1e9),this}toJson(u){const h=Number(this.seconds)*1e3;if(hDate.parse("9999-12-31T23:59:59Z"))throw new Error("cannot encode google.protobuf.Timestamp to JSON: must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive");if(this.nanos<0)throw new Error("cannot encode google.protobuf.Timestamp to JSON: nanos must not be negative");let S="Z";if(this.nanos>0){const A=(this.nanos+1e9).toString().substring(1);A.substring(3)==="000000"?S="."+A.substring(0,3)+"Z":A.substring(6)==="000"?S="."+A.substring(0,6)+"Z":S="."+A+"Z"}return new Date(h).toISOString().replace(".000Z",S)}toDate(){return new Date(Number(this.seconds)*1e3+Math.ceil(this.nanos/1e6))}static now(){return xa.fromDate(new Date)}static fromDate(u){const h=u.getTime();return new xa({seconds:Ct.parse(Math.floor(h/1e3)),nanos:h%1e3*1e6})}static fromBinary(u,h){return new xa().fromBinary(u,h)}static fromJson(u,h){return new xa().fromJson(u,h)}static fromJsonString(u,h){return new xa().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(xa,u,h)}}xa.runtime=Oe,xa.typeName="google.protobuf.Timestamp",xa.fields=Oe.util.newFieldList(()=>[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}]);class Ba extends he{constructor(u){super(),this.seconds=Ct.zero,this.nanos=0,Oe.util.initPartial(u,this)}fromJson(u,h){if(typeof u!="string")throw new Error(`cannot decode google.protobuf.Duration from JSON: ${Oe.json.debug(u)}`);const S=u.match(/^(-?[0-9]+)(?:\.([0-9]+))?s/);if(S===null)throw new Error(`cannot decode google.protobuf.Duration from JSON: ${Oe.json.debug(u)}`);const A=Number(S[1]);if(A>315576e6||A<-315576e6)throw new Error(`cannot decode google.protobuf.Duration from JSON: ${Oe.json.debug(u)}`);if(this.seconds=Ct.parse(A),typeof S[2]=="string"){const W=S[2]+"0".repeat(9-S[2].length);this.nanos=parseInt(W),(A<0||Object.is(A,-0))&&(this.nanos=-this.nanos)}return this}toJson(u){if(Number(this.seconds)>315576e6||Number(this.seconds)<-315576e6)throw new Error("cannot encode google.protobuf.Duration to JSON: value out of range");let h=this.seconds.toString();if(this.nanos!==0){let S=Math.abs(this.nanos).toString();S="0".repeat(9-S.length)+S,S.substring(3)==="000000"?S=S.substring(0,3):S.substring(6)==="000"&&(S=S.substring(0,6)),h+="."+S,this.nanos<0&&Number(this.seconds)==0&&(h="-"+h)}return h+"s"}static fromBinary(u,h){return new Ba().fromBinary(u,h)}static fromJson(u,h){return new Ba().fromJson(u,h)}static fromJsonString(u,h){return new Ba().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Ba,u,h)}}Ba.runtime=Oe,Ba.typeName="google.protobuf.Duration",Ba.fields=Oe.util.newFieldList(()=>[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}]);class tl extends he{constructor(u){super(),this.typeUrl="",this.value=new Uint8Array(0),Oe.util.initPartial(u,this)}toJson(u){var h;if(this.typeUrl==="")return{};const S=this.typeUrlToName(this.typeUrl),A=(h=u==null?void 0:u.typeRegistry)===null||h===void 0?void 0:h.findMessage(S);if(!A)throw new Error(`cannot encode message google.protobuf.Any to JSON: "${this.typeUrl}" is not in the type registry`);let ne=A.fromBinary(this.value).toJson(u);return(S.startsWith("google.protobuf.")||ne===null||Array.isArray(ne)||typeof ne!="object")&&(ne={value:ne}),ne["@type"]=this.typeUrl,ne}fromJson(u,h){var S;if(u===null||Array.isArray(u)||typeof u!="object")throw new Error(`cannot decode message google.protobuf.Any from JSON: expected object but got ${u===null?"null":Array.isArray(u)?"array":typeof u}`);if(Object.keys(u).length==0)return this;const A=u["@type"];if(typeof A!="string"||A=="")throw new Error('cannot decode message google.protobuf.Any from JSON: "@type" is empty');const W=this.typeUrlToName(A),ne=(S=h==null?void 0:h.typeRegistry)===null||S===void 0?void 0:S.findMessage(W);if(!ne)throw new Error(`cannot decode message google.protobuf.Any from JSON: ${A} is not in the type registry`);let pe;if(W.startsWith("google.protobuf.")&&Object.prototype.hasOwnProperty.call(u,"value"))pe=ne.fromJson(u.value,h);else{const De=Object.assign({},u);delete De["@type"],pe=ne.fromJson(De,h)}return this.packFrom(pe),this}packFrom(u){this.value=u.toBinary(),this.typeUrl=this.typeNameToUrl(u.getType().typeName)}unpackTo(u){return this.is(u.getType())?(u.fromBinary(this.value),!0):!1}unpack(u){if(this.typeUrl==="")return;const h=u.findMessage(this.typeUrlToName(this.typeUrl));if(h)return h.fromBinary(this.value)}is(u){if(this.typeUrl==="")return!1;const h=this.typeUrlToName(this.typeUrl);let S="";return typeof u=="string"?S=u:S=u.typeName,h===S}typeNameToUrl(u){return`type.googleapis.com/${u}`}typeUrlToName(u){if(!u.length)throw new Error(`invalid type url: ${u}`);const h=u.lastIndexOf("/"),S=h>=0?u.substring(h+1):u;if(!S.length)throw new Error(`invalid type url: ${u}`);return S}static pack(u){const h=new tl;return h.packFrom(u),h}static fromBinary(u,h){return new tl().fromBinary(u,h)}static fromJson(u,h){return new tl().fromJson(u,h)}static fromJsonString(u,h){return new tl().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(tl,u,h)}}tl.runtime=Oe,tl.typeName="google.protobuf.Any",tl.fields=Oe.util.newFieldList(()=>[{no:1,name:"type_url",kind:"scalar",T:9},{no:2,name:"value",kind:"scalar",T:12}]);class Ta extends he{constructor(u){super(),this.value=0,Oe.util.initPartial(u,this)}toJson(u){return Oe.json.writeScalar(Xe.DOUBLE,this.value,!0)}fromJson(u,h){try{this.value=Oe.json.readScalar(Xe.DOUBLE,u)}catch(S){let A='cannot decode message google.protobuf.DoubleValue from JSON"';throw S instanceof Error&&S.message.length>0&&(A+=`: ${S.message}`),new Error(A)}return this}static fromBinary(u,h){return new Ta().fromBinary(u,h)}static fromJson(u,h){return new Ta().fromJson(u,h)}static fromJsonString(u,h){return new Ta().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Ta,u,h)}}Ta.runtime=Oe,Ta.typeName="google.protobuf.DoubleValue",Ta.fields=Oe.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:1}]),Ta.fieldWrapper={wrapField(y){return new Ta({value:y})},unwrapField(y){return y.value}};class Tl extends he{constructor(u){super(),this.value=0,Oe.util.initPartial(u,this)}toJson(u){return Oe.json.writeScalar(Xe.FLOAT,this.value,!0)}fromJson(u,h){try{this.value=Oe.json.readScalar(Xe.FLOAT,u)}catch(S){let A='cannot decode message google.protobuf.FloatValue from JSON"';throw S instanceof Error&&S.message.length>0&&(A+=`: ${S.message}`),new Error(A)}return this}static fromBinary(u,h){return new Tl().fromBinary(u,h)}static fromJson(u,h){return new Tl().fromJson(u,h)}static fromJsonString(u,h){return new Tl().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Tl,u,h)}}Tl.runtime=Oe,Tl.typeName="google.protobuf.FloatValue",Tl.fields=Oe.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:2}]),Tl.fieldWrapper={wrapField(y){return new Tl({value:y})},unwrapField(y){return y.value}};class Ua extends he{constructor(u){super(),this.value=Ct.zero,Oe.util.initPartial(u,this)}toJson(u){return Oe.json.writeScalar(Xe.INT64,this.value,!0)}fromJson(u,h){try{this.value=Oe.json.readScalar(Xe.INT64,u)}catch(S){let A='cannot decode message google.protobuf.Int64Value from JSON"';throw S instanceof Error&&S.message.length>0&&(A+=`: ${S.message}`),new Error(A)}return this}static fromBinary(u,h){return new Ua().fromBinary(u,h)}static fromJson(u,h){return new Ua().fromJson(u,h)}static fromJsonString(u,h){return new Ua().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Ua,u,h)}}Ua.runtime=Oe,Ua.typeName="google.protobuf.Int64Value",Ua.fields=Oe.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:3}]),Ua.fieldWrapper={wrapField(y){return new Ua({value:y})},unwrapField(y){return y.value}};class ka extends he{constructor(u){super(),this.value=Ct.zero,Oe.util.initPartial(u,this)}toJson(u){return Oe.json.writeScalar(Xe.UINT64,this.value,!0)}fromJson(u,h){try{this.value=Oe.json.readScalar(Xe.UINT64,u)}catch(S){let A='cannot decode message google.protobuf.UInt64Value from JSON"';throw S instanceof Error&&S.message.length>0&&(A+=`: ${S.message}`),new Error(A)}return this}static fromBinary(u,h){return new ka().fromBinary(u,h)}static fromJson(u,h){return new ka().fromJson(u,h)}static fromJsonString(u,h){return new ka().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(ka,u,h)}}ka.runtime=Oe,ka.typeName="google.protobuf.UInt64Value",ka.fields=Oe.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:4}]),ka.fieldWrapper={wrapField(y){return new ka({value:y})},unwrapField(y){return y.value}};class eo extends he{constructor(u){super(),this.value=0,Oe.util.initPartial(u,this)}toJson(u){return Oe.json.writeScalar(Xe.INT32,this.value,!0)}fromJson(u,h){try{this.value=Oe.json.readScalar(Xe.INT32,u)}catch(S){let A='cannot decode message google.protobuf.Int32Value from JSON"';throw S instanceof Error&&S.message.length>0&&(A+=`: ${S.message}`),new Error(A)}return this}static fromBinary(u,h){return new eo().fromBinary(u,h)}static fromJson(u,h){return new eo().fromJson(u,h)}static fromJsonString(u,h){return new eo().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(eo,u,h)}}eo.runtime=Oe,eo.typeName="google.protobuf.Int32Value",eo.fields=Oe.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:5}]),eo.fieldWrapper={wrapField(y){return new eo({value:y})},unwrapField(y){return y.value}};class _a extends he{constructor(u){super(),this.value=0,Oe.util.initPartial(u,this)}toJson(u){return Oe.json.writeScalar(Xe.UINT32,this.value,!0)}fromJson(u,h){try{this.value=Oe.json.readScalar(Xe.UINT32,u)}catch(S){let A='cannot decode message google.protobuf.UInt32Value from JSON"';throw S instanceof Error&&S.message.length>0&&(A+=`: ${S.message}`),new Error(A)}return this}static fromBinary(u,h){return new _a().fromBinary(u,h)}static fromJson(u,h){return new _a().fromJson(u,h)}static fromJsonString(u,h){return new _a().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(_a,u,h)}}_a.runtime=Oe,_a.typeName="google.protobuf.UInt32Value",_a.fields=Oe.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:13}]),_a.fieldWrapper={wrapField(y){return new _a({value:y})},unwrapField(y){return y.value}};class Mo extends he{constructor(u){super(),this.value=!1,Oe.util.initPartial(u,this)}toJson(u){return Oe.json.writeScalar(Xe.BOOL,this.value,!0)}fromJson(u,h){try{this.value=Oe.json.readScalar(Xe.BOOL,u)}catch(S){let A='cannot decode message google.protobuf.BoolValue from JSON"';throw S instanceof Error&&S.message.length>0&&(A+=`: ${S.message}`),new Error(A)}return this}static fromBinary(u,h){return new Mo().fromBinary(u,h)}static fromJson(u,h){return new Mo().fromJson(u,h)}static fromJsonString(u,h){return new Mo().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Mo,u,h)}}Mo.runtime=Oe,Mo.typeName="google.protobuf.BoolValue",Mo.fields=Oe.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:8}]),Mo.fieldWrapper={wrapField(y){return new Mo({value:y})},unwrapField(y){return y.value}};class ht extends he{constructor(u){super(),this.value="",Oe.util.initPartial(u,this)}toJson(u){return Oe.json.writeScalar(Xe.STRING,this.value,!0)}fromJson(u,h){try{this.value=Oe.json.readScalar(Xe.STRING,u)}catch(S){let A='cannot decode message google.protobuf.StringValue from JSON"';throw S instanceof Error&&S.message.length>0&&(A+=`: ${S.message}`),new Error(A)}return this}static fromBinary(u,h){return new ht().fromBinary(u,h)}static fromJson(u,h){return new ht().fromJson(u,h)}static fromJsonString(u,h){return new ht().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(ht,u,h)}}ht.runtime=Oe,ht.typeName="google.protobuf.StringValue",ht.fields=Oe.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:9}]),ht.fieldWrapper={wrapField(y){return new ht({value:y})},unwrapField(y){return y.value}};class Vr extends he{constructor(u){super(),this.value=new Uint8Array(0),Oe.util.initPartial(u,this)}toJson(u){return Oe.json.writeScalar(Xe.BYTES,this.value,!0)}fromJson(u,h){try{this.value=Oe.json.readScalar(Xe.BYTES,u)}catch(S){let A='cannot decode message google.protobuf.BytesValue from JSON"';throw S instanceof Error&&S.message.length>0&&(A+=`: ${S.message}`),new Error(A)}return this}static fromBinary(u,h){return new Vr().fromBinary(u,h)}static fromJson(u,h){return new Vr().fromJson(u,h)}static fromJsonString(u,h){return new Vr().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Vr,u,h)}}Vr.runtime=Oe,Vr.typeName="google.protobuf.BytesValue",Vr.fields=Oe.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:12}]),Vr.fieldWrapper={wrapField(y){return new Vr({value:y})},unwrapField(y){return y.value}};function nl(y,u,h){try{const S=pt.dec(y);return u?u.fromBinary(S,h):S}catch(S){throw _.from(S,x.DataLoss)}}function rl(y,u){const h={};for(const[S,A]of Object.entries(y.methods)){const W=u(Object.assign(Object.assign({},A),{localName:S,service:y}));W!=null&&(h[S]=W)}return h}function Wp(y){let u,h=new Uint8Array(0);function S(A){const W=new Uint8Array(h.length+A.length);W.set(h),W.set(A,h.length),h=W}return new ReadableStream({start(){u=y.getReader()},async pull(A){let W;for(;;){if(W===void 0&&h.byteLength>=5){let De=0;for(let $e=1;$e<5;$e++)De=(De<<8)+h[$e];W={flags:h[0],length:De}}if(W!==void 0&&h.byteLength>=W.length+5)break;const pe=await u.read();if(pe.done)break;S(pe.value)}if(W===void 0){if(h.byteLength==0){A.close();return}A.error(new _("premature end of stream",x.DataLoss));return}const ne=h.subarray(5,5+W.length);h=h.subarray(5+W.length),A.enqueue({flags:W.flags,data:ne})}})}function _h(y,u){const h=new Uint8Array(u.length+5);h.set(u,5);const S=new DataView(h.buffer,h.byteOffset,h.byteLength);return S.setUint8(0,y),S.setUint32(1,u.length),h}var Fo=function(y){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var u=y[Symbol.asyncIterator],h;return u?u.call(y):(y=typeof __values=="function"?__values(y):y[Symbol.iterator](),h={},S("next"),S("throw"),S("return"),h[Symbol.asyncIterator]=function(){return this},h);function S(W){h[W]=y[W]&&function(ne){return new Promise(function(pe,De){ne=y[W](ne),A(pe,De,ne.done,ne.value)})}}function A(W,ne,pe,De){Promise.resolve(De).then(function($e){W({value:$e,done:pe})},ne)}},Cu=function(y){return this instanceof Cu?(this.v=y,this):new Cu(y)},il=function(y,u,h){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var S=h.apply(y,u||[]),A,W=[];return A={},pe("next"),pe("throw"),pe("return",ne),A[Symbol.asyncIterator]=function(){return this},A;function ne(Ft){return function(xn){return Promise.resolve(xn).then(Ft,Zt)}}function pe(Ft,xn){S[Ft]&&(A[Ft]=function(cr){return new Promise(function(ur,ri){W.push([Ft,cr,ur,ri])>1||De(Ft,cr)})},xn&&(A[Ft]=xn(A[Ft])))}function De(Ft,xn){try{$e(S[Ft](xn))}catch(cr){Xt(W[0][3],cr)}}function $e(Ft){Ft.value instanceof Cu?Promise.resolve(Ft.value.v).then(st,Zt):Xt(W[0][2],Ft)}function st(Ft){De("next",Ft)}function Zt(Ft){De("throw",Ft)}function Xt(Ft,xn){Ft(xn),W.shift(),W.length&&De(W[0][0],W[0][1])}},vn=function(y){var u,h;return u={},S("next"),S("throw",function(A){throw A}),S("return"),u[Symbol.iterator]=function(){return this},u;function S(A,W){u[A]=y[A]?function(ne){return(h=!h)?{value:Cu(y[A](ne)),done:!1}:W?W(ne):ne}:W}};function vc(y){return il(this,arguments,function*(){yield Cu(yield*vn(Fo(y)))})}var kf=function(y){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var u=y[Symbol.asyncIterator],h;return u?u.call(y):(y=typeof __values=="function"?__values(y):y[Symbol.iterator](),h={},S("next"),S("throw"),S("return"),h[Symbol.asyncIterator]=function(){return this},h);function S(W){h[W]=y[W]&&function(ne){return new Promise(function(pe,De){ne=y[W](ne),A(pe,De,ne.done,ne.value)})}}function A(W,ne,pe,De){Promise.resolve(De).then(function($e){W({value:$e,done:pe})},ne)}},zi=function(y){return this instanceof zi?(this.v=y,this):new zi(y)},Kl=function(y){var u,h;return u={},S("next"),S("throw",function(A){throw A}),S("return"),u[Symbol.iterator]=function(){return this},u;function S(A,W){u[A]=y[A]?function(ne){return(h=!h)?{value:zi(y[A](ne)),done:!1}:W?W(ne):ne}:W}},Qp=function(y,u,h){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var S=h.apply(y,u||[]),A,W=[];return A={},pe("next"),pe("throw"),pe("return",ne),A[Symbol.asyncIterator]=function(){return this},A;function ne(Ft){return function(xn){return Promise.resolve(xn).then(Ft,Zt)}}function pe(Ft,xn){S[Ft]&&(A[Ft]=function(cr){return new Promise(function(ur,ri){W.push([Ft,cr,ur,ri])>1||De(Ft,cr)})},xn&&(A[Ft]=xn(A[Ft])))}function De(Ft,xn){try{$e(S[Ft](xn))}catch(cr){Xt(W[0][3],cr)}}function $e(Ft){Ft.value instanceof zi?Promise.resolve(Ft.value.v).then(st,Zt):Xt(W[0][2],Ft)}function st(Ft){De("next",Ft)}function Zt(Ft){De("throw",Ft)}function Xt(Ft,xn){Ft(xn),W.shift(),W.length&&De(W[0][0],W[0][1])}};function Cm(y,u){return rl(y,h=>{switch(h.kind){case Ui.Unary:return Rm(u,y,h);case Ui.ServerStreaming:return Im(u,y,h);case Ui.ClientStreaming:return Ss(u,y,h);case Ui.BiDiStreaming:return Ah(u,y,h);default:return null}})}function Rm(y,u,h){return async function(S,A){var W,ne;const pe=await y.unary(u,h,A==null?void 0:A.signal,A==null?void 0:A.timeoutMs,A==null?void 0:A.headers,S,A==null?void 0:A.contextValues);return(W=A==null?void 0:A.onHeader)===null||W===void 0||W.call(A,pe.header),(ne=A==null?void 0:A.onTrailer)===null||ne===void 0||ne.call(A,pe.trailer),pe.message}}function Im(y,u,h){return function(S,A){return Ri(y.stream(u,h,A==null?void 0:A.signal,A==null?void 0:A.timeoutMs,A==null?void 0:A.headers,vc([S]),A==null?void 0:A.contextValues),A)}}function Ss(y,u,h){return async function(S,A){var W,ne,pe,De,$e,st;const Zt=await y.stream(u,h,A==null?void 0:A.signal,A==null?void 0:A.timeoutMs,A==null?void 0:A.headers,S,A==null?void 0:A.contextValues);($e=A==null?void 0:A.onHeader)===null||$e===void 0||$e.call(A,Zt.header);let Xt;try{for(var Ft=!0,xn=kf(Zt.message),cr;cr=await xn.next(),W=cr.done,!W;Ft=!0)De=cr.value,Ft=!1,Xt=De}catch(ur){ne={error:ur}}finally{try{!Ft&&!W&&(pe=xn.return)&&await pe.call(xn)}finally{if(ne)throw ne.error}}if(!Xt)throw new _("protocol error: missing response message",x.Internal);return(st=A==null?void 0:A.onTrailer)===null||st===void 0||st.call(A,Zt.trailer),Xt}}function Ah(y,u,h){return function(S,A){return Ri(y.stream(u,h,A==null?void 0:A.signal,A==null?void 0:A.timeoutMs,A==null?void 0:A.headers,S,A==null?void 0:A.contextValues),A)}}function Ri(y,u){const h=function(){var S,A;return Qp(this,arguments,function*(){const W=yield zi(y);(S=u==null?void 0:u.onHeader)===null||S===void 0||S.call(u,W.header),yield zi(yield*Kl(kf(W.message))),(A=u==null?void 0:u.onTrailer)===null||A===void 0||A.call(u,W.trailer)})}()[Symbol.asyncIterator]();return{[Symbol.asyncIterator]:()=>({next:()=>h.next()})}}function Ti(...y){const u=new AbortController,h=y.filter(A=>A!==void 0).concat(u.signal);for(const A of h){if(A.aborted){S.apply(A);break}A.addEventListener("abort",S)}function S(){u.signal.aborted||u.abort(Ru(this));for(const A of h)A.removeEventListener("abort",S)}return u}function Ch(y){const u=new AbortController,h=()=>{u.abort(new _("the operation timed out",x.DeadlineExceeded))};let S;return y!==void 0&&(y<=0?h():S=setTimeout(h,y)),{signal:u.signal,cleanup:()=>clearTimeout(S)}}function Ru(y){if(!y.aborted)return;if(y.reason!==void 0)return y.reason;const u=new Error("This operation was aborted");return u.name="AbortError",u}function Gr(){return{get(y){return y.id in this?this[y.id]:y.defaultValue},set(y,u){return this[y.id]=u,this},delete(y){return delete this[y.id],this}}}const R=128;function N(y){const u=new Headers,h=new TextDecoder().decode(y).split(`\r +`);for(const S of h){if(S==="")continue;const A=S.indexOf(":");if(A>0){const W=S.substring(0,A).trim(),ne=S.substring(A+1).trim();u.append(W,ne)}}return u}const H="Content-Type",Q="Grpc-Timeout",ee="Grpc-Status",J="Grpc-Message",oe="Grpc-Status-Details-Bin",Ae="X-User-Agent",Le="X-Grpc-Web",Ve="application/grpc-web+proto",He="application/grpc-web+json";class vt extends he{constructor(u){super(),this.code=0,this.message="",this.details=[],Oe.util.initPartial(u,this)}static fromBinary(u,h){return new vt().fromBinary(u,h)}static fromJson(u,h){return new vt().fromJson(u,h)}static fromJsonString(u,h){return new vt().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(vt,u,h)}}vt.runtime=Oe,vt.typeName="google.rpc.Status",vt.fields=Oe.util.newFieldList(()=>[{no:1,name:"code",kind:"scalar",T:5},{no:2,name:"message",kind:"scalar",T:9},{no:3,name:"details",kind:"message",T:tl,repeated:!0}]);const gt="0";function bt(y){var u;const h=y.get(oe);if(h!=null){const A=nl(h,vt);if(A.code==0)return;const W=new _(A.message,A.code,y);return W.details=A.details.map(ne=>({type:ne.typeUrl.substring(ne.typeUrl.lastIndexOf("/")+1),value:ne.value})),W}const S=y.get(ee);if(S!=null){if(S===gt)return;const A=parseInt(S,10);return A in x?new _(decodeURIComponent((u=y.get(J))!==null&&u!==void 0?u:""),A,y):new _(`invalid grpc-status: ${S}`,x.Internal,y)}}function dt(y,u,h){const S=typeof u=="string"?u:u.typeName,A=typeof h=="string"?h:h.name;return y.toString().replace(/\/?$/,`/${S}/${A}`)}function $t(y,u){return u instanceof y?u:new y(u)}function tn(y,u){function h(S){return S.done===!0?S:{done:S.done,value:$t(y,S.value)}}return{[Symbol.asyncIterator](){const S=u[Symbol.asyncIterator](),A={next:()=>S.next().then(h)};return S.throw!==void 0&&(A.throw=W=>S.throw(W).then(h)),S.return!==void 0&&(A.return=W=>S.return(W).then(h)),A}}}function $n(y,u){var h;return(h=u==null?void 0:u.concat().reverse().reduce((S,A)=>A(S),y))!==null&&h!==void 0?h:y}function Zn(y){var u;const h=Object.assign({},y);return(u=h.ignoreUnknownFields)!==null&&u!==void 0||(h.ignoreUnknownFields=!0),h}function Xn(y,u,h,S){const A=u?ki(y.I,S):Js(y.I,h);return{parse:(u?ki(y.O,S):Js(y.O,h)).parse,serialize:A.serialize}}function ki(y,u){return{parse(h){try{return y.fromBinary(h,u)}catch(S){const A=S instanceof Error?S.message:String(S);throw new _(`parse binary: ${A}`,x.InvalidArgument)}},serialize(h){try{return h.toBinary(u)}catch(S){const A=S instanceof Error?S.message:String(S);throw new _(`serialize binary: ${A}`,x.Internal)}}}}function Js(y,u){var h,S;const A=(h=u==null?void 0:u.textEncoder)!==null&&h!==void 0?h:new TextEncoder,W=(S=u==null?void 0:u.textDecoder)!==null&&S!==void 0?S:new TextDecoder,ne=Zn(u);return{parse(pe){try{const De=W.decode(pe);return y.fromJsonString(De,ne)}catch(De){throw _.from(De,x.InvalidArgument)}},serialize(pe){try{const De=pe.toJsonString(ne);return A.encode(De)}catch(De){throw _.from(De,x.Internal)}}}}function Gi(y){const u=$n(y.next,y.interceptors),[h,S,A]=vr(y),W=Object.assign(Object.assign({},y.req),{message:$t(y.req.method.I,y.req.message),signal:h});return u(W).then(ne=>(A(),ne),S)}function js(y){const u=$n(y.next,y.interceptors),[h,S,A]=vr(y),W=Object.assign(Object.assign({},y.req),{message:tn(y.req.method.I,y.req.message),signal:h});let ne=!1;return h.addEventListener("abort",function(){var pe,De;const $e=y.req.message[Symbol.asyncIterator]();ne||(pe=$e.throw)===null||pe===void 0||pe.call($e,this.reason).catch(()=>{}),(De=$e.return)===null||De===void 0||De.call($e).catch(()=>{})}),u(W).then(pe=>Object.assign(Object.assign({},pe),{message:{[Symbol.asyncIterator](){const De=pe.message[Symbol.asyncIterator]();return{next(){return De.next().then($e=>($e.done==!0&&(ne=!0,A()),$e),S)}}}}}),S)}function vr(y){const{signal:u,cleanup:h}=Ch(y.timeoutMs),S=Ti(y.signal,u);return[S.signal,function(W){const ne=_.from(u.aborted?Ru(u):W);return S.abort(ne),h(),Promise.reject(ne)},function(){h(),S.abort()}]}function ln(){try{new Headers}catch{throw new Error("connect-web requires the fetch API. Are you running on an old version of Node.js? Node.js is not supported in Connect for Web - please stay tuned for Connect for Node.")}}function Yi(y,u){const h=bt(y);if(h)throw u.forEach((S,A)=>{h.metadata.append(A,S)}),h}function ls(y,u,h,S){const A=new Headers(h??{});return A.set(H,y?Ve:He),A.set(Le,"1"),A.set(Ae,"connect-es/1.4.0"),u!==void 0&&A.set(Q,`${u}m`),A}function Is(y){switch(y){case 400:return x.Internal;case 401:return x.Unauthenticated;case 403:return x.PermissionDenied;case 404:return x.Unimplemented;case 429:return x.Unavailable;case 502:return x.Unavailable;case 503:return x.Unavailable;case 504:return x.Unavailable;default:return x.Unknown}}function to(y,u){var h;if(y>=200&&y<300){const S=bt(u);if(S)throw S;return{foundStatus:u.has(ee)}}throw new _(decodeURIComponent((h=u.get(J))!==null&&h!==void 0?h:`HTTP ${y}`),Is(y),u)}var Jl=function(y){return this instanceof Jl?(this.v=y,this):new Jl(y)},Rh=function(y,u,h){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var S=h.apply(y,u||[]),A,W=[];return A={},pe("next"),pe("throw"),pe("return",ne),A[Symbol.asyncIterator]=function(){return this},A;function ne(Ft){return function(xn){return Promise.resolve(xn).then(Ft,Zt)}}function pe(Ft,xn){S[Ft]&&(A[Ft]=function(cr){return new Promise(function(ur,ri){W.push([Ft,cr,ur,ri])>1||De(Ft,cr)})},xn&&(A[Ft]=xn(A[Ft])))}function De(Ft,xn){try{$e(S[Ft](xn))}catch(cr){Xt(W[0][3],cr)}}function $e(Ft){Ft.value instanceof Jl?Promise.resolve(Ft.value.v).then(st,Zt):Xt(W[0][2],Ft)}function st(Ft){De("next",Ft)}function Zt(Ft){De("throw",Ft)}function Xt(Ft,xn){Ft(xn),W.shift(),W.length&&De(W[0][0],W[0][1])}};function Vp(y){var u;ln();const h=(u=y.useBinaryFormat)!==null&&u!==void 0?u:!0;return{async unary(S,A,W,ne,pe,De,$e){var st;const{serialize:Zt,parse:Xt}=Xn(A,h,y.jsonOptions,y.binaryOptions);return ne=ne===void 0?y.defaultTimeoutMs:ne<=0?void 0:ne,await Gi({interceptors:y.interceptors,signal:W,timeoutMs:ne,req:{stream:!1,service:S,method:A,url:dt(y.baseUrl,S,A),init:{method:"POST",credentials:(st=y.credentials)!==null&&st!==void 0?st:"same-origin",redirect:"error",mode:"cors"},header:ls(h,ne,pe),contextValues:$e??Gr(),message:De},next:async Ft=>{var xn;const ur=await((xn=y.fetch)!==null&&xn!==void 0?xn:globalThis.fetch)(Ft.url,Object.assign(Object.assign({},Ft.init),{headers:Ft.header,signal:Ft.signal,body:_h(0,Zt(Ft.message))}));if(to(ur.status,ur.headers),!ur.body)throw"missing response body";const ri=Wp(ur.body).getReader();let Ps,Si;for(;;){const Zi=await ri.read();if(Zi.done)break;const{flags:us,data:cs}=Zi.value;if(us===R){if(Ps!==void 0)throw"extra trailer";Ps=N(cs);continue}if(Si!==void 0)throw"extra message";Si=Xt(cs)}if(Ps===void 0)throw"missing trailer";if(Yi(Ps,ur.headers),Si===void 0)throw"missing message";return{stream:!1,service:S,method:A,header:ur.headers,message:Si,trailer:Ps}}})},async stream(S,A,W,ne,pe,De,$e){var st;const{serialize:Zt,parse:Xt}=Xn(A,h,y.jsonOptions,y.binaryOptions);function Ft(cr,ur,ri,Ps){return Rh(this,arguments,function*(){const Zi=Wp(cr).getReader();if(ur){if(!(yield Jl(Zi.read())).done)throw"extra data for trailers-only";return yield Jl(void 0)}let us=!1;for(;;){const cs=yield Jl(Zi.read());if(cs.done)break;const{flags:w0,data:x0}=cs.value;if((w0&R)===R){if(us)throw"extra trailer";us=!0;const J1=N(x0);Yi(J1,Ps),J1.forEach((o7,l7)=>ri.set(l7,o7));continue}if(us)throw"extra message";yield yield Jl(Xt(x0))}if(!us)throw"missing trailer"})}async function xn(cr){if(A.kind!=Ui.ServerStreaming)throw"The fetch API does not support streaming request bodies";const ur=await cr[Symbol.asyncIterator]().next();if(ur.done==!0)throw"missing request message";return _h(0,Zt(ur.value))}return ne=ne===void 0?y.defaultTimeoutMs:ne<=0?void 0:ne,js({interceptors:y.interceptors,signal:W,timeoutMs:ne,req:{stream:!0,service:S,method:A,url:dt(y.baseUrl,S,A),init:{method:"POST",credentials:(st=y.credentials)!==null&&st!==void 0?st:"same-origin",redirect:"error",mode:"cors"},header:ls(h,ne,pe),contextValues:$e??Gr(),message:De},next:async cr=>{var ur;const Ps=await((ur=y.fetch)!==null&&ur!==void 0?ur:globalThis.fetch)(cr.url,Object.assign(Object.assign({},cr.init),{headers:cr.header,signal:cr.signal,body:await xn(cr.message)})),{foundStatus:Si}=to(Ps.status,Ps.headers);if(!Ps.body)throw"missing response body";const Zi=new Headers;return Object.assign(Object.assign({},cr),{header:Ps.headers,trailer:Zi,message:Ft(Ps.body,Si,Zi,Ps.headers)})}})}}}var Tr=(y=>(y[y.NULL=0]="NULL",y[y.BOOLEAN=1]="BOOLEAN",y[y.INTEGER=2]="INTEGER",y[y.LONG=3]="LONG",y[y.DOUBLE=4]="DOUBLE",y[y.STRING=5]="STRING",y[y.BYTES=6]="BYTES",y[y.DATE=7]="DATE",y[y.JSON_OBJECT=8]="JSON_OBJECT",y[y.JSON_ARRAY=9]="JSON_ARRAY",y[y.TEXT=10]="TEXT",y[y.INTEGER_CNT=11]="INTEGER_CNT",y[y.LONG_CNT=12]="LONG_CNT",y[y.TREE=13]="TREE",y))(Tr||{});Oe.util.setEnumType(Tr,"yorkie.v1.ValueType",[{no:0,name:"VALUE_TYPE_NULL"},{no:1,name:"VALUE_TYPE_BOOLEAN"},{no:2,name:"VALUE_TYPE_INTEGER"},{no:3,name:"VALUE_TYPE_LONG"},{no:4,name:"VALUE_TYPE_DOUBLE"},{no:5,name:"VALUE_TYPE_STRING"},{no:6,name:"VALUE_TYPE_BYTES"},{no:7,name:"VALUE_TYPE_DATE"},{no:8,name:"VALUE_TYPE_JSON_OBJECT"},{no:9,name:"VALUE_TYPE_JSON_ARRAY"},{no:10,name:"VALUE_TYPE_TEXT"},{no:11,name:"VALUE_TYPE_INTEGER_CNT"},{no:12,name:"VALUE_TYPE_LONG_CNT"},{no:13,name:"VALUE_TYPE_TREE"}]);var eu=(y=>(y[y.DOCUMENT_CHANGED=0]="DOCUMENT_CHANGED",y[y.DOCUMENT_WATCHED=1]="DOCUMENT_WATCHED",y[y.DOCUMENT_UNWATCHED=2]="DOCUMENT_UNWATCHED",y[y.DOCUMENT_BROADCAST=3]="DOCUMENT_BROADCAST",y))(eu||{});Oe.util.setEnumType(eu,"yorkie.v1.DocEventType",[{no:0,name:"DOC_EVENT_TYPE_DOCUMENT_CHANGED"},{no:1,name:"DOC_EVENT_TYPE_DOCUMENT_WATCHED"},{no:2,name:"DOC_EVENT_TYPE_DOCUMENT_UNWATCHED"},{no:3,name:"DOC_EVENT_TYPE_DOCUMENT_BROADCAST"}]);const kl=class ex extends he{constructor(u){super(),a(this,"root"),a(this,"presences",{}),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new ex().fromBinary(u,h)}static fromJson(u,h){return new ex().fromJson(u,h)}static fromJsonString(u,h){return new ex().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(ex,u,h)}};a(kl,"runtime",Oe),a(kl,"typeName","yorkie.v1.Snapshot"),a(kl,"fields",Oe.util.newFieldList(()=>[{no:1,name:"root",kind:"message",T:Aa},{no:2,name:"presences",kind:"map",K:9,V:{kind:"message",T:xd}}]));let d2=kl,tu=(o=class extends he{constructor(y){super(),a(this,"documentKey",""),a(this,"checkpoint"),a(this,"snapshot",new Uint8Array(0)),a(this,"changes",[]),a(this,"minSyncedTicket"),a(this,"isRemoved",!1),a(this,"versionVector"),Oe.util.initPartial(y,this)}static fromBinary(y,u){return new o().fromBinary(y,u)}static fromJson(y,u){return new o().fromJson(y,u)}static fromJsonString(y,u){return new o().fromJsonString(y,u)}static equals(y,u){return Oe.util.equals(o,y,u)}},a(o,"runtime",Oe),a(o,"typeName","yorkie.v1.ChangePack"),a(o,"fields",Oe.util.newFieldList(()=>[{no:1,name:"document_key",kind:"scalar",T:9},{no:2,name:"checkpoint",kind:"message",T:zm},{no:3,name:"snapshot",kind:"scalar",T:12},{no:4,name:"changes",kind:"message",T:Dm,repeated:!0},{no:5,name:"min_synced_ticket",kind:"message",T:Wn},{no:6,name:"is_removed",kind:"scalar",T:8},{no:7,name:"version_vector",kind:"message",T:Dh}])),o),Dm=(l=class extends he{constructor(y){super(),a(this,"id"),a(this,"message",""),a(this,"operations",[]),a(this,"presenceChange"),Oe.util.initPartial(y,this)}static fromBinary(y,u){return new l().fromBinary(y,u)}static fromJson(y,u){return new l().fromJson(y,u)}static fromJsonString(y,u){return new l().fromJsonString(y,u)}static equals(y,u){return Oe.util.equals(l,y,u)}},a(l,"runtime",Oe),a(l,"typeName","yorkie.v1.Change"),a(l,"fields",Oe.util.newFieldList(()=>[{no:1,name:"id",kind:"message",T:Ih},{no:2,name:"message",kind:"scalar",T:9},{no:3,name:"operations",kind:"message",T:Nm,repeated:!0},{no:4,name:"presence_change",kind:"message",T:i0}])),l),Ih=(c=class extends he{constructor(y){super(),a(this,"clientSeq",0),a(this,"serverSeq",Ct.zero),a(this,"lamport",Ct.zero),a(this,"actorId",new Uint8Array(0)),a(this,"versionVector"),Oe.util.initPartial(y,this)}static fromBinary(y,u){return new c().fromBinary(y,u)}static fromJson(y,u){return new c().fromJson(y,u)}static fromJsonString(y,u){return new c().fromJsonString(y,u)}static equals(y,u){return Oe.util.equals(c,y,u)}},a(c,"runtime",Oe),a(c,"typeName","yorkie.v1.ChangeID"),a(c,"fields",Oe.util.newFieldList(()=>[{no:1,name:"client_seq",kind:"scalar",T:13},{no:2,name:"server_seq",kind:"scalar",T:3},{no:3,name:"lamport",kind:"scalar",T:3},{no:4,name:"actor_id",kind:"scalar",T:12},{no:5,name:"version_vector",kind:"message",T:Dh}])),c),Dh=(d=class extends he{constructor(y){super(),a(this,"vector",{}),Oe.util.initPartial(y,this)}static fromBinary(y,u){return new d().fromBinary(y,u)}static fromJson(y,u){return new d().fromJson(y,u)}static fromJsonString(y,u){return new d().fromJsonString(y,u)}static equals(y,u){return Oe.util.equals(d,y,u)}},a(d,"runtime",Oe),a(d,"typeName","yorkie.v1.VersionVector"),a(d,"fields",Oe.util.newFieldList(()=>[{no:1,name:"vector",kind:"map",K:9,V:{kind:"scalar",T:3}}])),d),Nm=(f=class extends he{constructor(y){super(),a(this,"body",{case:void 0}),Oe.util.initPartial(y,this)}static fromBinary(y,u){return new f().fromBinary(y,u)}static fromJson(y,u){return new f().fromJson(y,u)}static fromJsonString(y,u){return new f().fromJsonString(y,u)}static equals(y,u){return Oe.util.equals(f,y,u)}},a(f,"runtime",Oe),a(f,"typeName","yorkie.v1.Operation"),a(f,"fields",Oe.util.newFieldList(()=>[{no:1,name:"set",kind:"message",T:Yp,oneof:"body"},{no:2,name:"add",kind:"message",T:D1,oneof:"body"},{no:3,name:"move",kind:"message",T:mo,oneof:"body"},{no:4,name:"remove",kind:"message",T:Od,oneof:"body"},{no:5,name:"edit",kind:"message",T:N1,oneof:"body"},{no:6,name:"select",kind:"message",T:Yy,oneof:"body"},{no:7,name:"style",kind:"message",T:Lm,oneof:"body"},{no:8,name:"increase",kind:"message",T:Du,oneof:"body"},{no:9,name:"tree_edit",kind:"message",T:Zy,oneof:"body"},{no:10,name:"tree_style",kind:"message",T:Xp,oneof:"body"},{no:11,name:"array_set",kind:"message",T:Mh,oneof:"body"}])),f);const Gp=class tx extends he{constructor(u){super(),a(this,"parentCreatedAt"),a(this,"key",""),a(this,"value"),a(this,"executedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new tx().fromBinary(u,h)}static fromJson(u,h){return new tx().fromJson(u,h)}static fromJsonString(u,h){return new tx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(tx,u,h)}};a(Gp,"runtime",Oe),a(Gp,"typeName","yorkie.v1.Operation.Set"),a(Gp,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Wn},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"value",kind:"message",T:nu},{no:4,name:"executed_at",kind:"message",T:Wn}]));let Yp=Gp;const Sd=class nx extends he{constructor(u){super(),a(this,"parentCreatedAt"),a(this,"prevCreatedAt"),a(this,"value"),a(this,"executedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new nx().fromBinary(u,h)}static fromJson(u,h){return new nx().fromJson(u,h)}static fromJsonString(u,h){return new nx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(nx,u,h)}};a(Sd,"runtime",Oe),a(Sd,"typeName","yorkie.v1.Operation.Add"),a(Sd,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Wn},{no:2,name:"prev_created_at",kind:"message",T:Wn},{no:3,name:"value",kind:"message",T:nu},{no:4,name:"executed_at",kind:"message",T:Wn}]));let D1=Sd;const Zp=class rx extends he{constructor(u){super(),a(this,"parentCreatedAt"),a(this,"prevCreatedAt"),a(this,"createdAt"),a(this,"executedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new rx().fromBinary(u,h)}static fromJson(u,h){return new rx().fromJson(u,h)}static fromJsonString(u,h){return new rx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(rx,u,h)}};a(Zp,"runtime",Oe),a(Zp,"typeName","yorkie.v1.Operation.Move"),a(Zp,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Wn},{no:2,name:"prev_created_at",kind:"message",T:Wn},{no:3,name:"created_at",kind:"message",T:Wn},{no:4,name:"executed_at",kind:"message",T:Wn}]));let mo=Zp;const Iu=class ix extends he{constructor(u){super(),a(this,"parentCreatedAt"),a(this,"createdAt"),a(this,"executedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new ix().fromBinary(u,h)}static fromJson(u,h){return new ix().fromJson(u,h)}static fromJsonString(u,h){return new ix().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(ix,u,h)}};a(Iu,"runtime",Oe),a(Iu,"typeName","yorkie.v1.Operation.Remove"),a(Iu,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Wn},{no:2,name:"created_at",kind:"message",T:Wn},{no:3,name:"executed_at",kind:"message",T:Wn}]));let Od=Iu;const Nh=class sx extends he{constructor(u){super(),a(this,"parentCreatedAt"),a(this,"from"),a(this,"to"),a(this,"createdAtMapByActor",{}),a(this,"content",""),a(this,"executedAt"),a(this,"attributes",{}),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new sx().fromBinary(u,h)}static fromJson(u,h){return new sx().fromJson(u,h)}static fromJsonString(u,h){return new sx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(sx,u,h)}};a(Nh,"runtime",Oe),a(Nh,"typeName","yorkie.v1.Operation.Edit"),a(Nh,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Wn},{no:2,name:"from",kind:"message",T:Bo},{no:3,name:"to",kind:"message",T:Bo},{no:4,name:"created_at_map_by_actor",kind:"map",K:9,V:{kind:"message",T:Wn}},{no:5,name:"content",kind:"scalar",T:9},{no:6,name:"executed_at",kind:"message",T:Wn},{no:7,name:"attributes",kind:"map",K:9,V:{kind:"scalar",T:9}}]));let N1=Nh;const Pm=class ax extends he{constructor(u){super(),a(this,"parentCreatedAt"),a(this,"from"),a(this,"to"),a(this,"executedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new ax().fromBinary(u,h)}static fromJson(u,h){return new ax().fromJson(u,h)}static fromJsonString(u,h){return new ax().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(ax,u,h)}};a(Pm,"runtime",Oe),a(Pm,"typeName","yorkie.v1.Operation.Select"),a(Pm,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Wn},{no:2,name:"from",kind:"message",T:Bo},{no:3,name:"to",kind:"message",T:Bo},{no:4,name:"executed_at",kind:"message",T:Wn}]));let Yy=Pm;const Ph=class ox extends he{constructor(u){super(),a(this,"parentCreatedAt"),a(this,"from"),a(this,"to"),a(this,"attributes",{}),a(this,"executedAt"),a(this,"createdAtMapByActor",{}),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new ox().fromBinary(u,h)}static fromJson(u,h){return new ox().fromJson(u,h)}static fromJsonString(u,h){return new ox().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(ox,u,h)}};a(Ph,"runtime",Oe),a(Ph,"typeName","yorkie.v1.Operation.Style"),a(Ph,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Wn},{no:2,name:"from",kind:"message",T:Bo},{no:3,name:"to",kind:"message",T:Bo},{no:4,name:"attributes",kind:"map",K:9,V:{kind:"scalar",T:9}},{no:5,name:"executed_at",kind:"message",T:Wn},{no:6,name:"created_at_map_by_actor",kind:"map",K:9,V:{kind:"message",T:Wn}}]));let Lm=Ph;const Lh=class lx extends he{constructor(u){super(),a(this,"parentCreatedAt"),a(this,"value"),a(this,"executedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new lx().fromBinary(u,h)}static fromJson(u,h){return new lx().fromJson(u,h)}static fromJsonString(u,h){return new lx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(lx,u,h)}};a(Lh,"runtime",Oe),a(Lh,"typeName","yorkie.v1.Operation.Increase"),a(Lh,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Wn},{no:2,name:"value",kind:"message",T:nu},{no:3,name:"executed_at",kind:"message",T:Wn}]));let Du=Lh;const Mm=class ux extends he{constructor(u){super(),a(this,"parentCreatedAt"),a(this,"from"),a(this,"to"),a(this,"createdAtMapByActor",{}),a(this,"contents",[]),a(this,"splitLevel",0),a(this,"executedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new ux().fromBinary(u,h)}static fromJson(u,h){return new ux().fromJson(u,h)}static fromJsonString(u,h){return new ux().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(ux,u,h)}};a(Mm,"runtime",Oe),a(Mm,"typeName","yorkie.v1.Operation.TreeEdit"),a(Mm,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Wn},{no:2,name:"from",kind:"message",T:e0},{no:3,name:"to",kind:"message",T:e0},{no:4,name:"created_at_map_by_actor",kind:"map",K:9,V:{kind:"message",T:Wn}},{no:5,name:"contents",kind:"message",T:yi,repeated:!0},{no:7,name:"split_level",kind:"scalar",T:5},{no:6,name:"executed_at",kind:"message",T:Wn}]));let Zy=Mm;const _f=class cx extends he{constructor(u){super(),a(this,"parentCreatedAt"),a(this,"from"),a(this,"to"),a(this,"attributes",{}),a(this,"executedAt"),a(this,"attributesToRemove",[]),a(this,"createdAtMapByActor",{}),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new cx().fromBinary(u,h)}static fromJson(u,h){return new cx().fromJson(u,h)}static fromJsonString(u,h){return new cx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(cx,u,h)}};a(_f,"runtime",Oe),a(_f,"typeName","yorkie.v1.Operation.TreeStyle"),a(_f,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Wn},{no:2,name:"from",kind:"message",T:e0},{no:3,name:"to",kind:"message",T:e0},{no:4,name:"attributes",kind:"map",K:9,V:{kind:"scalar",T:9}},{no:5,name:"executed_at",kind:"message",T:Wn},{no:6,name:"attributes_to_remove",kind:"scalar",T:9,repeated:!0},{no:7,name:"created_at_map_by_actor",kind:"map",K:9,V:{kind:"message",T:Wn}}]));let Xp=_f;const sl=class dx extends he{constructor(u){super(),a(this,"parentCreatedAt"),a(this,"createdAt"),a(this,"value"),a(this,"executedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new dx().fromBinary(u,h)}static fromJson(u,h){return new dx().fromJson(u,h)}static fromJsonString(u,h){return new dx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(dx,u,h)}};a(sl,"runtime",Oe),a(sl,"typeName","yorkie.v1.Operation.ArraySet"),a(sl,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_created_at",kind:"message",T:Wn},{no:2,name:"created_at",kind:"message",T:Wn},{no:3,name:"value",kind:"message",T:nu},{no:4,name:"executed_at",kind:"message",T:Wn}]));let Mh=sl;const Fm=class fx extends he{constructor(u){super(),a(this,"createdAt"),a(this,"movedAt"),a(this,"removedAt"),a(this,"type",0),a(this,"value",new Uint8Array(0)),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new fx().fromBinary(u,h)}static fromJson(u,h){return new fx().fromJson(u,h)}static fromJsonString(u,h){return new fx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(fx,u,h)}};a(Fm,"runtime",Oe),a(Fm,"typeName","yorkie.v1.JSONElementSimple"),a(Fm,"fields",Oe.util.newFieldList(()=>[{no:1,name:"created_at",kind:"message",T:Wn},{no:2,name:"moved_at",kind:"message",T:Wn},{no:3,name:"removed_at",kind:"message",T:Wn},{no:4,name:"type",kind:"enum",T:Oe.getEnumType(Tr)},{no:5,name:"value",kind:"scalar",T:12}]));let nu=Fm;const $m=class hx extends he{constructor(u){super(),a(this,"body",{case:void 0}),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new hx().fromBinary(u,h)}static fromJson(u,h){return new hx().fromJson(u,h)}static fromJsonString(u,h){return new hx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(hx,u,h)}};a($m,"runtime",Oe),a($m,"typeName","yorkie.v1.JSONElement"),a($m,"fields",Oe.util.newFieldList(()=>[{no:1,name:"json_object",kind:"message",T:P1,oneof:"body"},{no:2,name:"json_array",kind:"message",T:Xy,oneof:"body"},{no:3,name:"primitive",kind:"message",T:Ky,oneof:"body"},{no:5,name:"text",kind:"message",T:Ed,oneof:"body"},{no:6,name:"counter",kind:"message",T:Lt,oneof:"body"},{no:7,name:"tree",kind:"message",T:In,oneof:"body"}]));let Aa=$m;const Ca=class px extends he{constructor(u){super(),a(this,"nodes",[]),a(this,"createdAt"),a(this,"movedAt"),a(this,"removedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new px().fromBinary(u,h)}static fromJson(u,h){return new px().fromJson(u,h)}static fromJsonString(u,h){return new px().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(px,u,h)}};a(Ca,"runtime",Oe),a(Ca,"typeName","yorkie.v1.JSONElement.JSONObject"),a(Ca,"fields",Oe.util.newFieldList(()=>[{no:1,name:"nodes",kind:"message",T:gr,repeated:!0},{no:2,name:"created_at",kind:"message",T:Wn},{no:3,name:"moved_at",kind:"message",T:Wn},{no:4,name:"removed_at",kind:"message",T:Wn}]));let P1=Ca;const Bm=class mx extends he{constructor(u){super(),a(this,"nodes",[]),a(this,"createdAt"),a(this,"movedAt"),a(this,"removedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new mx().fromBinary(u,h)}static fromJson(u,h){return new mx().fromJson(u,h)}static fromJsonString(u,h){return new mx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(mx,u,h)}};a(Bm,"runtime",Oe),a(Bm,"typeName","yorkie.v1.JSONElement.JSONArray"),a(Bm,"fields",Oe.util.newFieldList(()=>[{no:1,name:"nodes",kind:"message",T:Ds,repeated:!0},{no:2,name:"created_at",kind:"message",T:Wn},{no:3,name:"moved_at",kind:"message",T:Wn},{no:4,name:"removed_at",kind:"message",T:Wn}]));let Xy=Bm;const Kp=class gx extends he{constructor(u){super(),a(this,"type",0),a(this,"value",new Uint8Array(0)),a(this,"createdAt"),a(this,"movedAt"),a(this,"removedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new gx().fromBinary(u,h)}static fromJson(u,h){return new gx().fromJson(u,h)}static fromJsonString(u,h){return new gx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(gx,u,h)}};a(Kp,"runtime",Oe),a(Kp,"typeName","yorkie.v1.JSONElement.Primitive"),a(Kp,"fields",Oe.util.newFieldList(()=>[{no:1,name:"type",kind:"enum",T:Oe.getEnumType(Tr)},{no:2,name:"value",kind:"scalar",T:12},{no:3,name:"created_at",kind:"message",T:Wn},{no:4,name:"moved_at",kind:"message",T:Wn},{no:5,name:"removed_at",kind:"message",T:Wn}]));let Ky=Kp;const Jp=class bx extends he{constructor(u){super(),a(this,"nodes",[]),a(this,"createdAt"),a(this,"movedAt"),a(this,"removedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new bx().fromBinary(u,h)}static fromJson(u,h){return new bx().fromJson(u,h)}static fromJsonString(u,h){return new bx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(bx,u,h)}};a(Jp,"runtime",Oe),a(Jp,"typeName","yorkie.v1.JSONElement.Text"),a(Jp,"fields",Oe.util.newFieldList(()=>[{no:1,name:"nodes",kind:"message",T:$o,repeated:!0},{no:2,name:"created_at",kind:"message",T:Wn},{no:3,name:"moved_at",kind:"message",T:Wn},{no:4,name:"removed_at",kind:"message",T:Wn}]));let Ed=Jp;const ut=class yx extends he{constructor(u){super(),a(this,"type",0),a(this,"value",new Uint8Array(0)),a(this,"createdAt"),a(this,"movedAt"),a(this,"removedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new yx().fromBinary(u,h)}static fromJson(u,h){return new yx().fromJson(u,h)}static fromJsonString(u,h){return new yx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(yx,u,h)}};a(ut,"runtime",Oe),a(ut,"typeName","yorkie.v1.JSONElement.Counter"),a(ut,"fields",Oe.util.newFieldList(()=>[{no:1,name:"type",kind:"enum",T:Oe.getEnumType(Tr)},{no:2,name:"value",kind:"scalar",T:12},{no:3,name:"created_at",kind:"message",T:Wn},{no:4,name:"moved_at",kind:"message",T:Wn},{no:5,name:"removed_at",kind:"message",T:Wn}]));let Lt=ut;const It=class vx extends he{constructor(u){super(),a(this,"nodes",[]),a(this,"createdAt"),a(this,"movedAt"),a(this,"removedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new vx().fromBinary(u,h)}static fromJson(u,h){return new vx().fromJson(u,h)}static fromJsonString(u,h){return new vx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(vx,u,h)}};a(It,"runtime",Oe),a(It,"typeName","yorkie.v1.JSONElement.Tree"),a(It,"fields",Oe.util.newFieldList(()=>[{no:1,name:"nodes",kind:"message",T:Cf,repeated:!0},{no:2,name:"created_at",kind:"message",T:Wn},{no:3,name:"moved_at",kind:"message",T:Wn},{no:4,name:"removed_at",kind:"message",T:Wn}]));let In=It,gr=(p=class extends he{constructor(y){super(),a(this,"key",""),a(this,"element"),Oe.util.initPartial(y,this)}static fromBinary(y,u){return new p().fromBinary(y,u)}static fromJson(y,u){return new p().fromJson(y,u)}static fromJsonString(y,u){return new p().fromJsonString(y,u)}static equals(y,u){return Oe.util.equals(p,y,u)}},a(p,"runtime",Oe),a(p,"typeName","yorkie.v1.RHTNode"),a(p,"fields",Oe.util.newFieldList(()=>[{no:1,name:"key",kind:"scalar",T:9},{no:2,name:"element",kind:"message",T:Aa}])),p);const Yr=class Sx extends he{constructor(u){super(),a(this,"next"),a(this,"element"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Sx().fromBinary(u,h)}static fromJson(u,h){return new Sx().fromJson(u,h)}static fromJsonString(u,h){return new Sx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Sx,u,h)}};a(Yr,"runtime",Oe),a(Yr,"typeName","yorkie.v1.RGANode"),a(Yr,"fields",Oe.util.newFieldList(()=>[{no:1,name:"next",kind:"message",T:Yr},{no:2,name:"element",kind:"message",T:Aa}]));let Ds=Yr;const bi=class Ox extends he{constructor(u){super(),a(this,"value",""),a(this,"updatedAt"),a(this,"isRemoved",!1),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Ox().fromBinary(u,h)}static fromJson(u,h){return new Ox().fromJson(u,h)}static fromJsonString(u,h){return new Ox().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Ox,u,h)}};a(bi,"runtime",Oe),a(bi,"typeName","yorkie.v1.NodeAttr"),a(bi,"fields",Oe.util.newFieldList(()=>[{no:1,name:"value",kind:"scalar",T:9},{no:2,name:"updated_at",kind:"message",T:Wn},{no:3,name:"is_removed",kind:"scalar",T:8}]));let Af=bi;const al=class Ex extends he{constructor(u){super(),a(this,"id"),a(this,"value",""),a(this,"removedAt"),a(this,"insPrevId"),a(this,"attributes",{}),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Ex().fromBinary(u,h)}static fromJson(u,h){return new Ex().fromJson(u,h)}static fromJsonString(u,h){return new Ex().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Ex,u,h)}};a(al,"runtime",Oe),a(al,"typeName","yorkie.v1.TextNode"),a(al,"fields",Oe.util.newFieldList(()=>[{no:1,name:"id",kind:"message",T:go},{no:2,name:"value",kind:"scalar",T:9},{no:3,name:"removed_at",kind:"message",T:Wn},{no:4,name:"ins_prev_id",kind:"message",T:go},{no:5,name:"attributes",kind:"map",K:9,V:{kind:"message",T:Af}}]));let $o=al;const _e=class wx extends he{constructor(u){super(),a(this,"createdAt"),a(this,"offset",0),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new wx().fromBinary(u,h)}static fromJson(u,h){return new wx().fromJson(u,h)}static fromJsonString(u,h){return new wx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(wx,u,h)}};a(_e,"runtime",Oe),a(_e,"typeName","yorkie.v1.TextNodeID"),a(_e,"fields",Oe.util.newFieldList(()=>[{no:1,name:"created_at",kind:"message",T:Wn},{no:2,name:"offset",kind:"scalar",T:5}]));let go=_e;const ea=class xx extends he{constructor(u){super(),a(this,"id"),a(this,"type",""),a(this,"value",""),a(this,"removedAt"),a(this,"insPrevId"),a(this,"insNextId"),a(this,"depth",0),a(this,"attributes",{}),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new xx().fromBinary(u,h)}static fromJson(u,h){return new xx().fromJson(u,h)}static fromJsonString(u,h){return new xx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(xx,u,h)}};a(ea,"runtime",Oe),a(ea,"typeName","yorkie.v1.TreeNode"),a(ea,"fields",Oe.util.newFieldList(()=>[{no:1,name:"id",kind:"message",T:Sc},{no:2,name:"type",kind:"scalar",T:9},{no:3,name:"value",kind:"scalar",T:9},{no:4,name:"removed_at",kind:"message",T:Wn},{no:5,name:"ins_prev_id",kind:"message",T:Sc},{no:6,name:"ins_next_id",kind:"message",T:Sc},{no:7,name:"depth",kind:"scalar",T:5},{no:8,name:"attributes",kind:"map",K:9,V:{kind:"message",T:Af}}]));let Cf=ea;const Nu=class Tx extends he{constructor(u){super(),a(this,"content",[]),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Tx().fromBinary(u,h)}static fromJson(u,h){return new Tx().fromJson(u,h)}static fromJsonString(u,h){return new Tx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Tx,u,h)}};a(Nu,"runtime",Oe),a(Nu,"typeName","yorkie.v1.TreeNodes"),a(Nu,"fields",Oe.util.newFieldList(()=>[{no:1,name:"content",kind:"message",T:Cf,repeated:!0}]));let yi=Nu;const ru=class kx extends he{constructor(u){super(),a(this,"createdAt"),a(this,"offset",0),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new kx().fromBinary(u,h)}static fromJson(u,h){return new kx().fromJson(u,h)}static fromJsonString(u,h){return new kx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(kx,u,h)}};a(ru,"runtime",Oe),a(ru,"typeName","yorkie.v1.TreeNodeID"),a(ru,"fields",Oe.util.newFieldList(()=>[{no:1,name:"created_at",kind:"message",T:Wn},{no:2,name:"offset",kind:"scalar",T:5}]));let Sc=ru;const no=class _x extends he{constructor(u){super(),a(this,"parentId"),a(this,"leftSiblingId"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new _x().fromBinary(u,h)}static fromJson(u,h){return new _x().fromJson(u,h)}static fromJsonString(u,h){return new _x().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(_x,u,h)}};a(no,"runtime",Oe),a(no,"typeName","yorkie.v1.TreePos"),a(no,"fields",Oe.util.newFieldList(()=>[{no:1,name:"parent_id",kind:"message",T:Sc},{no:2,name:"left_sibling_id",kind:"message",T:Sc}]));let e0=no;const _l=class Ax extends he{constructor(u){super(),a(this,"id",""),a(this,"username",""),a(this,"createdAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Ax().fromBinary(u,h)}static fromJson(u,h){return new Ax().fromJson(u,h)}static fromJsonString(u,h){return new Ax().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Ax,u,h)}};a(_l,"runtime",Oe),a(_l,"typeName","yorkie.v1.User"),a(_l,"fields",Oe.util.newFieldList(()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"username",kind:"scalar",T:9},{no:3,name:"created_at",kind:"message",T:xa}]));const Um=class Cx extends he{constructor(u){super(),a(this,"id",""),a(this,"name",""),a(this,"publicKey",""),a(this,"secretKey",""),a(this,"authWebhookUrl",""),a(this,"authWebhookMethods",[]),a(this,"clientDeactivateThreshold",""),a(this,"createdAt"),a(this,"updatedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Cx().fromBinary(u,h)}static fromJson(u,h){return new Cx().fromJson(u,h)}static fromJsonString(u,h){return new Cx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Cx,u,h)}};a(Um,"runtime",Oe),a(Um,"typeName","yorkie.v1.Project"),a(Um,"fields",Oe.util.newFieldList(()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"public_key",kind:"scalar",T:9},{no:4,name:"secret_key",kind:"scalar",T:9},{no:5,name:"auth_webhook_url",kind:"scalar",T:9},{no:6,name:"auth_webhook_methods",kind:"scalar",T:9,repeated:!0},{no:7,name:"client_deactivate_threshold",kind:"scalar",T:9},{no:8,name:"created_at",kind:"message",T:xa},{no:9,name:"updated_at",kind:"message",T:xa}]));const t0=class Rx extends he{constructor(u){super(),a(this,"name"),a(this,"authWebhookUrl"),a(this,"authWebhookMethods"),a(this,"clientDeactivateThreshold"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Rx().fromBinary(u,h)}static fromJson(u,h){return new Rx().fromJson(u,h)}static fromJsonString(u,h){return new Rx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Rx,u,h)}};a(t0,"runtime",Oe),a(t0,"typeName","yorkie.v1.UpdatableProjectFields"),a(t0,"fields",Oe.util.newFieldList(()=>[{no:1,name:"name",kind:"message",T:ht},{no:2,name:"auth_webhook_url",kind:"message",T:ht},{no:3,name:"auth_webhook_methods",kind:"message",T:n0},{no:4,name:"client_deactivate_threshold",kind:"message",T:ht}]));const Al=class Ix extends he{constructor(u){super(),a(this,"methods",[]),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Ix().fromBinary(u,h)}static fromJson(u,h){return new Ix().fromJson(u,h)}static fromJsonString(u,h){return new Ix().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Ix,u,h)}};a(Al,"runtime",Oe),a(Al,"typeName","yorkie.v1.UpdatableProjectFields.AuthWebhookMethods"),a(Al,"fields",Oe.util.newFieldList(()=>[{no:1,name:"methods",kind:"scalar",T:9,repeated:!0}]));let n0=Al;const r0=class Dx extends he{constructor(u){super(),a(this,"id",""),a(this,"key",""),a(this,"snapshot",""),a(this,"createdAt"),a(this,"accessedAt"),a(this,"updatedAt"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Dx().fromBinary(u,h)}static fromJson(u,h){return new Dx().fromJson(u,h)}static fromJsonString(u,h){return new Dx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Dx,u,h)}};a(r0,"runtime",Oe),a(r0,"typeName","yorkie.v1.DocumentSummary"),a(r0,"fields",Oe.util.newFieldList(()=>[{no:1,name:"id",kind:"scalar",T:9},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"snapshot",kind:"scalar",T:9},{no:4,name:"created_at",kind:"message",T:xa},{no:5,name:"accessed_at",kind:"message",T:xa},{no:6,name:"updated_at",kind:"message",T:xa}]));const wd=class Nx extends he{constructor(u){super(),a(this,"type",0),a(this,"presence"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Nx().fromBinary(u,h)}static fromJson(u,h){return new Nx().fromJson(u,h)}static fromJsonString(u,h){return new Nx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Nx,u,h)}};a(wd,"runtime",Oe),a(wd,"typeName","yorkie.v1.PresenceChange"),a(wd,"fields",Oe.util.newFieldList(()=>[{no:1,name:"type",kind:"enum",T:Oe.getEnumType(Pu)},{no:2,name:"presence",kind:"message",T:xd}]));let i0=wd;var Pu=(y=>(y[y.UNSPECIFIED=0]="UNSPECIFIED",y[y.PUT=1]="PUT",y[y.DELETE=2]="DELETE",y[y.CLEAR=3]="CLEAR",y))(Pu||{});Oe.util.setEnumType(Pu,"yorkie.v1.PresenceChange.ChangeType",[{no:0,name:"CHANGE_TYPE_UNSPECIFIED"},{no:1,name:"CHANGE_TYPE_PUT"},{no:2,name:"CHANGE_TYPE_DELETE"},{no:3,name:"CHANGE_TYPE_CLEAR"}]);let xd=(g=class extends he{constructor(y){super(),a(this,"data",{}),Oe.util.initPartial(y,this)}static fromBinary(y,u){return new g().fromBinary(y,u)}static fromJson(y,u){return new g().fromJson(y,u)}static fromJsonString(y,u){return new g().fromJsonString(y,u)}static equals(y,u){return Oe.util.equals(g,y,u)}},a(g,"runtime",Oe),a(g,"typeName","yorkie.v1.Presence"),a(g,"fields",Oe.util.newFieldList(()=>[{no:1,name:"data",kind:"map",K:9,V:{kind:"scalar",T:9}}])),g),zm=(b=class extends he{constructor(y){super(),a(this,"serverSeq",Ct.zero),a(this,"clientSeq",0),Oe.util.initPartial(y,this)}static fromBinary(y,u){return new b().fromBinary(y,u)}static fromJson(y,u){return new b().fromJson(y,u)}static fromJsonString(y,u){return new b().fromJsonString(y,u)}static equals(y,u){return Oe.util.equals(b,y,u)}},a(b,"runtime",Oe),a(b,"typeName","yorkie.v1.Checkpoint"),a(b,"fields",Oe.util.newFieldList(()=>[{no:1,name:"server_seq",kind:"scalar",T:3},{no:2,name:"client_seq",kind:"scalar",T:13}])),b);const Oc=class Px extends he{constructor(u){super(),a(this,"createdAt"),a(this,"offset",0),a(this,"relativeOffset",0),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Px().fromBinary(u,h)}static fromJson(u,h){return new Px().fromJson(u,h)}static fromJsonString(u,h){return new Px().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Px,u,h)}};a(Oc,"runtime",Oe),a(Oc,"typeName","yorkie.v1.TextNodePos"),a(Oc,"fields",Oe.util.newFieldList(()=>[{no:1,name:"created_at",kind:"message",T:Wn},{no:2,name:"offset",kind:"scalar",T:5},{no:3,name:"relative_offset",kind:"scalar",T:5}]));let Bo=Oc,Wn=(w=class extends he{constructor(y){super(),a(this,"lamport",Ct.zero),a(this,"delimiter",0),a(this,"actorId",new Uint8Array(0)),Oe.util.initPartial(y,this)}static fromBinary(y,u){return new w().fromBinary(y,u)}static fromJson(y,u){return new w().fromJson(y,u)}static fromJsonString(y,u){return new w().fromJsonString(y,u)}static equals(y,u){return Oe.util.equals(w,y,u)}},a(w,"runtime",Oe),a(w,"typeName","yorkie.v1.TimeTicket"),a(w,"fields",Oe.util.newFieldList(()=>[{no:1,name:"lamport",kind:"scalar",T:3},{no:2,name:"delimiter",kind:"scalar",T:13},{no:3,name:"actor_id",kind:"scalar",T:12}])),w);const Fh=class Lx extends he{constructor(u){super(),a(this,"topic",""),a(this,"payload",new Uint8Array(0)),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Lx().fromBinary(u,h)}static fromJson(u,h){return new Lx().fromJson(u,h)}static fromJsonString(u,h){return new Lx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Lx,u,h)}};a(Fh,"runtime",Oe),a(Fh,"typeName","yorkie.v1.DocEventBody"),a(Fh,"fields",Oe.util.newFieldList(()=>[{no:1,name:"topic",kind:"scalar",T:9},{no:2,name:"payload",kind:"scalar",T:12}]));let Jy=Fh;const s0=class Mx extends he{constructor(u){super(),a(this,"type",0),a(this,"publisher",""),a(this,"body"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Mx().fromBinary(u,h)}static fromJson(u,h){return new Mx().fromJson(u,h)}static fromJsonString(u,h){return new Mx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Mx,u,h)}};a(s0,"runtime",Oe),a(s0,"typeName","yorkie.v1.DocEvent"),a(s0,"fields",Oe.util.newFieldList(()=>[{no:1,name:"type",kind:"enum",T:Oe.getEnumType(eu)},{no:2,name:"publisher",kind:"scalar",T:9},{no:3,name:"body",kind:"message",T:Jy}]));let a0=s0;const Cl=class Fx extends he{constructor(u){super(),a(this,"clientKey",""),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Fx().fromBinary(u,h)}static fromJson(u,h){return new Fx().fromJson(u,h)}static fromJsonString(u,h){return new Fx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Fx,u,h)}};a(Cl,"runtime",Oe),a(Cl,"typeName","yorkie.v1.ActivateClientRequest"),a(Cl,"fields",Oe.util.newFieldList(()=>[{no:1,name:"client_key",kind:"scalar",T:9}]));let Rf=Cl;const Hm=class $x extends he{constructor(u){super(),a(this,"clientId",""),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new $x().fromBinary(u,h)}static fromJson(u,h){return new $x().fromJson(u,h)}static fromJsonString(u,h){return new $x().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals($x,u,h)}};a(Hm,"runtime",Oe),a(Hm,"typeName","yorkie.v1.ActivateClientResponse"),a(Hm,"fields",Oe.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9}]));let ev=Hm;const o0=class Bx extends he{constructor(u){super(),a(this,"clientId",""),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Bx().fromBinary(u,h)}static fromJson(u,h){return new Bx().fromJson(u,h)}static fromJsonString(u,h){return new Bx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Bx,u,h)}};a(o0,"runtime",Oe),a(o0,"typeName","yorkie.v1.DeactivateClientRequest"),a(o0,"fields",Oe.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9}]));let WA=o0;const Os=class Ux extends he{constructor(u){super(),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Ux().fromBinary(u,h)}static fromJson(u,h){return new Ux().fromJson(u,h)}static fromJsonString(u,h){return new Ux().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Ux,u,h)}};a(Os,"runtime",Oe),a(Os,"typeName","yorkie.v1.DeactivateClientResponse"),a(Os,"fields",Oe.util.newFieldList(()=>[]));let za=Os;const L1=class zx extends he{constructor(u){super(),a(this,"clientId",""),a(this,"changePack"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new zx().fromBinary(u,h)}static fromJson(u,h){return new zx().fromJson(u,h)}static fromJsonString(u,h){return new zx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(zx,u,h)}};a(L1,"runtime",Oe),a(L1,"typeName","yorkie.v1.AttachDocumentRequest"),a(L1,"fields",Oe.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9},{no:2,name:"change_pack",kind:"message",T:tu}]));let tv=L1;const l0=class Hx extends he{constructor(u){super(),a(this,"documentId",""),a(this,"changePack"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Hx().fromBinary(u,h)}static fromJson(u,h){return new Hx().fromJson(u,h)}static fromJsonString(u,h){return new Hx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Hx,u,h)}};a(l0,"runtime",Oe),a(l0,"typeName","yorkie.v1.AttachDocumentResponse"),a(l0,"fields",Oe.util.newFieldList(()=>[{no:1,name:"document_id",kind:"scalar",T:9},{no:2,name:"change_pack",kind:"message",T:tu}]));let nv=l0;const Td=class qx extends he{constructor(u){super(),a(this,"clientId",""),a(this,"documentId",""),a(this,"changePack"),a(this,"removeIfNotAttached",!1),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new qx().fromBinary(u,h)}static fromJson(u,h){return new qx().fromJson(u,h)}static fromJsonString(u,h){return new qx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(qx,u,h)}};a(Td,"runtime",Oe),a(Td,"typeName","yorkie.v1.DetachDocumentRequest"),a(Td,"fields",Oe.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9},{no:2,name:"document_id",kind:"scalar",T:9},{no:3,name:"change_pack",kind:"message",T:tu},{no:4,name:"remove_if_not_attached",kind:"scalar",T:8}]));let If=Td;const Df=class jx extends he{constructor(u){super(),a(this,"changePack"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new jx().fromBinary(u,h)}static fromJson(u,h){return new jx().fromJson(u,h)}static fromJsonString(u,h){return new jx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(jx,u,h)}};a(Df,"runtime",Oe),a(Df,"typeName","yorkie.v1.DetachDocumentResponse"),a(Df,"fields",Oe.util.newFieldList(()=>[{no:2,name:"change_pack",kind:"message",T:tu}]));let Nf=Df;const Ec=class Wx extends he{constructor(u){super(),a(this,"clientId",""),a(this,"documentId",""),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Wx().fromBinary(u,h)}static fromJson(u,h){return new Wx().fromJson(u,h)}static fromJsonString(u,h){return new Wx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Wx,u,h)}};a(Ec,"runtime",Oe),a(Ec,"typeName","yorkie.v1.WatchDocumentRequest"),a(Ec,"fields",Oe.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9},{no:2,name:"document_id",kind:"scalar",T:9}]));let u0=Ec;const kd=class Qx extends he{constructor(u){super(),a(this,"body",{case:void 0}),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Qx().fromBinary(u,h)}static fromJson(u,h){return new Qx().fromJson(u,h)}static fromJsonString(u,h){return new Qx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Qx,u,h)}};a(kd,"runtime",Oe),a(kd,"typeName","yorkie.v1.WatchDocumentResponse"),a(kd,"fields",Oe.util.newFieldList(()=>[{no:1,name:"initialization",kind:"message",T:_d,oneof:"body"},{no:2,name:"event",kind:"message",T:a0,oneof:"body"}]));let Pf=kd;const M1=class Vx extends he{constructor(u){super(),a(this,"clientIds",[]),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Vx().fromBinary(u,h)}static fromJson(u,h){return new Vx().fromJson(u,h)}static fromJsonString(u,h){return new Vx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Vx,u,h)}};a(M1,"runtime",Oe),a(M1,"typeName","yorkie.v1.WatchDocumentResponse.Initialization"),a(M1,"fields",Oe.util.newFieldList(()=>[{no:1,name:"client_ids",kind:"scalar",T:9,repeated:!0}]));let _d=M1;const c0=class Gx extends he{constructor(u){super(),a(this,"clientId",""),a(this,"documentId",""),a(this,"changePack"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Gx().fromBinary(u,h)}static fromJson(u,h){return new Gx().fromJson(u,h)}static fromJsonString(u,h){return new Gx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Gx,u,h)}};a(c0,"runtime",Oe),a(c0,"typeName","yorkie.v1.RemoveDocumentRequest"),a(c0,"fields",Oe.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9},{no:2,name:"document_id",kind:"scalar",T:9},{no:3,name:"change_pack",kind:"message",T:tu}]));let f2=c0;const qm=class Yx extends he{constructor(u){super(),a(this,"changePack"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Yx().fromBinary(u,h)}static fromJson(u,h){return new Yx().fromJson(u,h)}static fromJsonString(u,h){return new Yx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Yx,u,h)}};a(qm,"runtime",Oe),a(qm,"typeName","yorkie.v1.RemoveDocumentResponse"),a(qm,"fields",Oe.util.newFieldList(()=>[{no:1,name:"change_pack",kind:"message",T:tu}]));let jm=qm;const Ad=class Zx extends he{constructor(u){super(),a(this,"clientId",""),a(this,"documentId",""),a(this,"changePack"),a(this,"pushOnly",!1),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Zx().fromBinary(u,h)}static fromJson(u,h){return new Zx().fromJson(u,h)}static fromJsonString(u,h){return new Zx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Zx,u,h)}};a(Ad,"runtime",Oe),a(Ad,"typeName","yorkie.v1.PushPullChangesRequest"),a(Ad,"fields",Oe.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9},{no:2,name:"document_id",kind:"scalar",T:9},{no:3,name:"change_pack",kind:"message",T:tu},{no:4,name:"push_only",kind:"scalar",T:8}]));let Wm=Ad;const ke=class Xx extends he{constructor(u){super(),a(this,"changePack"),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Xx().fromBinary(u,h)}static fromJson(u,h){return new Xx().fromJson(u,h)}static fromJsonString(u,h){return new Xx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Xx,u,h)}};a(ke,"runtime",Oe),a(ke,"typeName","yorkie.v1.PushPullChangesResponse"),a(ke,"fields",Oe.util.newFieldList(()=>[{no:1,name:"change_pack",kind:"message",T:tu}]));let $h=ke;const Cd=class Kx extends he{constructor(u){super(),a(this,"clientId",""),a(this,"documentId",""),a(this,"topic",""),a(this,"payload",new Uint8Array(0)),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Kx().fromBinary(u,h)}static fromJson(u,h){return new Kx().fromJson(u,h)}static fromJsonString(u,h){return new Kx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Kx,u,h)}};a(Cd,"runtime",Oe),a(Cd,"typeName","yorkie.v1.BroadcastRequest"),a(Cd,"fields",Oe.util.newFieldList(()=>[{no:1,name:"client_id",kind:"scalar",T:9},{no:2,name:"document_id",kind:"scalar",T:9},{no:3,name:"topic",kind:"scalar",T:9},{no:4,name:"payload",kind:"scalar",T:12}]));let Rl=Cd;const Br=class Jx extends he{constructor(u){super(),Oe.util.initPartial(u,this)}static fromBinary(u,h){return new Jx().fromBinary(u,h)}static fromJson(u,h){return new Jx().fromJson(u,h)}static fromJsonString(u,h){return new Jx().fromJsonString(u,h)}static equals(u,h){return Oe.util.equals(Jx,u,h)}};a(Br,"runtime",Oe),a(Br,"typeName","yorkie.v1.BroadcastResponse"),a(Br,"fields",Oe.util.newFieldList(()=>[]));let h2=Br;const rv={typeName:"yorkie.v1.YorkieService",methods:{activateClient:{name:"ActivateClient",I:Rf,O:ev,kind:Ui.Unary},deactivateClient:{name:"DeactivateClient",I:WA,O:za,kind:Ui.Unary},attachDocument:{name:"AttachDocument",I:tv,O:nv,kind:Ui.Unary},detachDocument:{name:"DetachDocument",I:If,O:Nf,kind:Ui.Unary},removeDocument:{name:"RemoveDocument",I:f2,O:jm,kind:Ui.Unary},pushPullChanges:{name:"PushPullChanges",I:Wm,O:$h,kind:Ui.Unary},watchDocument:{name:"WatchDocument",I:u0,O:Pf,kind:Ui.ServerStreaming},broadcast:{name:"Broadcast",I:Rl,O:h2,kind:Ui.Unary}}},F1=Oe.makeMessageType("google.rpc.ErrorInfo",()=>[{no:1,name:"reason",kind:"scalar",T:9},{no:2,name:"domain",kind:"scalar",T:9},{no:3,name:"metadata",kind:"map",K:9,V:{kind:"scalar",T:9}}]);Oe.makeMessageType("google.rpc.RetryInfo",()=>[{no:1,name:"retry_delay",kind:"message",T:Ba}]),Oe.makeMessageType("google.rpc.DebugInfo",()=>[{no:1,name:"stack_entries",kind:"scalar",T:9,repeated:!0},{no:2,name:"detail",kind:"scalar",T:9}]),Oe.makeMessageType("google.rpc.QuotaFailure",()=>[{no:1,name:"violations",kind:"message",T:Rd,repeated:!0}]);const Rd=Oe.makeMessageType("google.rpc.QuotaFailure.Violation",()=>[{no:1,name:"subject",kind:"scalar",T:9},{no:2,name:"description",kind:"scalar",T:9}],{localName:"QuotaFailure_Violation"});Oe.makeMessageType("google.rpc.PreconditionFailure",()=>[{no:1,name:"violations",kind:"message",T:$1,repeated:!0}]);const $1=Oe.makeMessageType("google.rpc.PreconditionFailure.Violation",()=>[{no:1,name:"type",kind:"scalar",T:9},{no:2,name:"subject",kind:"scalar",T:9},{no:3,name:"description",kind:"scalar",T:9}],{localName:"PreconditionFailure_Violation"});Oe.makeMessageType("google.rpc.BadRequest",()=>[{no:1,name:"field_violations",kind:"message",T:iv,repeated:!0}]);const iv=Oe.makeMessageType("google.rpc.BadRequest.FieldViolation",()=>[{no:1,name:"field",kind:"scalar",T:9},{no:2,name:"description",kind:"scalar",T:9}],{localName:"BadRequest_FieldViolation"});Oe.makeMessageType("google.rpc.RequestInfo",()=>[{no:1,name:"request_id",kind:"scalar",T:9},{no:2,name:"serving_data",kind:"scalar",T:9}]),Oe.makeMessageType("google.rpc.ResourceInfo",()=>[{no:1,name:"resource_type",kind:"scalar",T:9},{no:2,name:"resource_name",kind:"scalar",T:9},{no:3,name:"owner",kind:"scalar",T:9},{no:4,name:"description",kind:"scalar",T:9}]),Oe.makeMessageType("google.rpc.Help",()=>[{no:1,name:"links",kind:"message",T:sv,repeated:!0}]);const sv=Oe.makeMessageType("google.rpc.Help.Link",()=>[{no:1,name:"description",kind:"scalar",T:9},{no:2,name:"url",kind:"scalar",T:9}],{localName:"Help_Link"});Oe.makeMessageType("google.rpc.LocalizedMessage",()=>[{no:1,name:"locale",kind:"scalar",T:9},{no:2,name:"message",kind:"scalar",T:9}]);var Et=(y=>(y.Ok="ok",y.ErrClientNotActivated="ErrClientNotActivated",y.ErrClientNotFound="ErrClientNotFound",y.ErrUnimplemented="ErrUnimplemented",y.ErrInvalidType="ErrInvalidType",y.ErrDummy="ErrDummy",y.ErrDocumentNotAttached="ErrDocumentNotAttached",y.ErrDocumentNotDetached="ErrDocumentNotDetached",y.ErrDocumentRemoved="ErrDocumentRemoved",y.ErrInvalidObjectKey="ErrInvalidObjectKey",y.ErrInvalidArgument="ErrInvalidArgument",y.ErrNotInitialized="ErrNotInitialized",y.ErrNotReady="ErrNotReady",y.ErrRefused="ErrRefused",y.ErrContextNotProvided="ErrContextNotProvided",y))(Et||{});class wt extends Error{constructor(u,h){super(h),a(this,"name","YorkieError"),a(this,"stack"),this.code=u,this.message=h,this.toString=()=>`[code=${this.code}]: ${this.message}`}}function ta(y){if(y instanceof Map){const u=Array.from(y);return new Map(JSON.parse(JSON.stringify(u)))}return JSON.parse(JSON.stringify(y))}const d0=y=>y?Object.entries(y).length===0:!0,Id=y=>{const u={};for(const[h,S]of Object.entries(y))u[h]=JSON.stringify(S);return u},Lf=y=>{const u={};for(const[h,S]of Object.entries(y))u[h]=JSON.parse(S);return u};var iu=(y=>(y.Put="put",y.Clear="clear",y))(iu||{});class av{constructor(u,h){a(this,"context"),a(this,"presence"),this.context=u,this.presence=h}set(u,h){for(const S of Object.keys(u))this.presence[S]=u[S];this.context.setPresenceChange({type:"put",presence:ta(this.presence)}),this.context.setReversePresence(u,h)}get(u){return this.presence[u]}clear(){this.presence={},this.context.setPresenceChange({type:"clear"})}}const ol="000000000000000000000000",ov="FFFFFFFFFFFFFFFFFFFFFFFF";class Uo{constructor(u,h,S){a(this,"lamport"),a(this,"delimiter"),a(this,"actorID"),this.lamport=u,this.delimiter=h,this.actorID=S}static of(u,h,S){return new Uo(u,h,S)}static fromStruct(u){return Uo.of(BigInt(u.lamport),u.delimiter,u.actorID)}toIDString(){return`${this.lamport.toString()}:${this.actorID}:${this.delimiter}`}toStruct(){return{lamport:this.getLamportAsString(),delimiter:this.getDelimiter(),actorID:this.getActorID()}}toTestString(){return`${this.lamport.toString()}:${this.actorID.slice(-2)}:${this.delimiter}`}setActor(u){return new Uo(this.lamport,this.delimiter,u)}getLamportAsString(){return this.lamport.toString()}getLamport(){return this.lamport}getDelimiter(){return this.delimiter}getActorID(){return this.actorID}after(u){return this.compare(u)>0}equals(u){return this.compare(u)===0}compare(u){if(this.lamport>u.lamport)return 1;if(u.lamport>this.lamport)return-1;const h=this.actorID.localeCompare(u.actorID);return h!==0?h:this.delimiter>u.delimiter?1:u.delimiter>this.delimiter?-1:0}}const lv=0,uv=4294967295,B1=9223372036854775807n,ro=new Uo(0n,lv,ol),f0=new Uo(B1,uv,ov);function Lu(y){return y.replace(/["'\\\n\r\f\b\t\u2028\u2029]/g,function(u){switch(u){case'"':case"\\":return"\\"+u;case` `:return"\\n";case"\r":return"\\r";case"\f":return"\\f";case"\b":return"\\b";case" ":return"\\t";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:return u}})}class E{constructor(u){a(this,"createdAt"),a(this,"movedAt"),a(this,"removedAt"),this.createdAt=u}getCreatedAt(){return this.createdAt}getID(){return this.createdAt}getMovedAt(){return this.movedAt}getRemovedAt(){return this.removedAt}getPositionedAt(){return this.movedAt?this.movedAt:this.createdAt}setMovedAt(u){return!this.movedAt||u&&u.after(this.movedAt)?(this.movedAt=u,!0):!1}setRemovedAt(u){this.removedAt=u}remove(u){return u&&u.after(this.getPositionedAt())&&(!this.removedAt||u.after(this.removedAt))?(this.removedAt=u,!0):!1}isRemoved(){return!!this.removedAt}}class v extends E{constructor(u){super(u)}}class k{constructor(u,h){a(this,"strKey"),a(this,"value"),this.strKey=u,this.value=h}static of(u,h){return new k(u,h)}isRemoved(){return this.value.isRemoved()}getStrKey(){return this.strKey}getValue(){return this.value}remove(u){return this.value.remove(u)}}class D{constructor(){a(this,"nodeMapByKey"),a(this,"nodeMapByCreatedAt"),this.nodeMapByKey=new Map,this.nodeMapByCreatedAt=new Map}static create(){return new D}set(u,h,S){let A;const W=this.nodeMapByKey.get(u);W!=null&&!W.isRemoved()&&W.remove(S)&&(A=W.getValue());const ne=k.of(u,h);return this.nodeMapByCreatedAt.set(h.getCreatedAt().toIDString(),ne),(W==null||S.after(W.getValue().getPositionedAt()))&&(this.nodeMapByKey.set(u,ne),h.setMovedAt(S)),A}delete(u,h){if(!this.nodeMapByCreatedAt.has(u.toIDString()))throw new wt(Et.ErrInvalidArgument,`fail to find ${u.toIDString()}`);const S=this.nodeMapByCreatedAt.get(u.toIDString());return S.remove(h),S.getValue()}subPathOf(u){const h=this.nodeMapByCreatedAt.get(u.toIDString());if(h)return h.getStrKey()}purge(u){const h=this.nodeMapByCreatedAt.get(u.getCreatedAt().toIDString());if(!h)throw new wt(Et.ErrInvalidArgument,`fail to find ${u.getCreatedAt().toIDString()}`);const S=this.nodeMapByKey.get(h.getStrKey());h===S&&this.nodeMapByKey.delete(S.getStrKey()),this.nodeMapByCreatedAt.delete(h.getValue().getCreatedAt().toIDString())}deleteByKey(u,h){const S=this.nodeMapByKey.get(u);if(S!=null&&S.remove(h))return S.getValue()}has(u){const h=this.nodeMapByKey.get(u);return h==null?!1:!h.isRemoved()}getByID(u){return this.nodeMapByCreatedAt.get(u.toIDString())}get(u){const h=this.nodeMapByKey.get(u);if(!(!h||h.isRemoved()))return h}*[Symbol.iterator](){for(const[,u]of this.nodeMapByKey)yield u}}class G extends v{constructor(u,h){super(u),a(this,"memberNodes"),this.memberNodes=h}static create(u,h){if(!h)return new G(u,D.create());const S=D.create();for(const[A,W]of Object.entries(h))S.set(A,W.deepcopy(),W.getCreatedAt());return new G(u,S)}subPathOf(u){return this.memberNodes.subPathOf(u)}purge(u){this.memberNodes.purge(u)}set(u,h,S){return this.memberNodes.set(u,h,S)}delete(u,h){return this.memberNodes.delete(u,h)}deleteByKey(u,h){return this.memberNodes.deleteByKey(u,h)}get(u){const h=this.memberNodes.get(u);return h==null?void 0:h.getValue()}getByID(u){const h=this.memberNodes.getByID(u);return h==null?void 0:h.getValue()}has(u){return this.memberNodes.has(u)}toJSON(){const u=[];for(const[h,S]of this)u.push(`"${Lu(h)}":${S.toJSON()}`);return`{${u.join(",")}}`}toJS(){return JSON.parse(this.toJSON())}toJSForTest(){const u={};for(const[h,S]of this){const{createdAt:A,value:W,type:ne}=S.toJSForTest();u[h]={key:h,createdAt:A,value:W,type:ne}}return{createdAt:this.getCreatedAt().toTestString(),value:u,type:"YORKIE_OBJECT"}}getKeys(){const u=Array();for(const[h]of this)u.push(h);return u}toSortedJSON(){var u;const h=Array();for(const[A]of this)h.push(A);const S=[];for(const A of h.sort()){const W=(u=this.memberNodes.get(A))==null?void 0:u.getValue();S.push(`"${Lu(A)}":${W.toSortedJSON()}`)}return`{${S.join(",")}}`}getRHT(){return this.memberNodes}deepcopy(){const u=G.create(this.getCreatedAt());for(const h of this.memberNodes)u.memberNodes.set(h.getStrKey(),h.getValue().deepcopy(),this.getPositionedAt());return u.remove(this.getRemovedAt()),u}getDescendants(u){for(const h of this.memberNodes){const S=h.getValue();if(u(S,this))return;S instanceof v&&S.getDescendants(u)}}*[Symbol.iterator](){const u=new Set;for(const h of this.memberNodes)u.has(h.getStrKey())||(u.add(h.getStrKey()),h.isRemoved()||(yield[h.getStrKey(),h.getValue()]))}}var K=(y=>(y.Local="local",y.Remote="remote",y.UndoRedo="undoredo",y))(K||{});class ce{constructor(u,h){a(this,"parentCreatedAt"),a(this,"executedAt"),this.parentCreatedAt=u,this.executedAt=h}getParentCreatedAt(){return this.parentCreatedAt}getExecutedAt(){if(!this.executedAt)throw new wt(Et.ErrNotReady,"executedAt is not set yet");return this.executedAt}setActor(u){this.executedAt&&(this.executedAt=this.executedAt.setActor(u))}setExecutedAt(u){this.executedAt=u}}class Ee{constructor(u){a(this,"value"),a(this,"left"),a(this,"right"),a(this,"parent"),a(this,"weight"),this.value=u,this.initWeight()}getNodeString(){return`${this.weight}${this.value}`}getValue(){return this.value}getLeftWeight(){return this.hasLeft()?this.left.getWeight():0}getRightWeight(){return this.hasRight()?this.right.getWeight():0}getWeight(){return this.weight}getLeft(){return this.left}getRight(){return this.right}getParent(){return this.parent}hasLeft(){return!!this.left}hasRight(){return!!this.right}hasParent(){return!!this.parent}setLeft(u){this.left=u}setRight(u){this.right=u}setParent(u){this.parent=u}unlink(){this.parent=void 0,this.right=void 0,this.left=void 0}hasLinks(){return this.hasParent()||this.hasLeft()||this.hasRight()}increaseWeight(u){this.weight+=u}initWeight(){this.weight=this.getLength()}}class Pe{constructor(u){a(this,"root"),this.root=u}get length(){return this.root?this.root.getWeight():0}find(u){if(!this.root||u<0)return[void 0,0];let h=this.root;for(;;)if(h.hasLeft()&&u<=h.getLeftWeight())h=h.getLeft();else if(h.hasRight()&&h.getLeftWeight()+h.getLength()h.getLength())throw new wt(Et.ErrInvalidArgument,`out of index range: pos: ${u} > node.length: ${h.getLength()}`);return this.splayNode(h),[h,u]}indexOf(u){return!u||u!==this.root&&!u.hasLinks()?-1:(this.splayNode(u),this.root.getLeftWeight())}getRoot(){return this.root}insert(u){return this.insertAfter(this.root,u)}insertAfter(u,h){return u?(this.splayNode(u),this.root=h,h.setRight(u.getRight()),u.hasRight()&&u.getRight().setParent(h),h.setLeft(u),u.setParent(h),u.setRight(),this.updateWeight(u),this.updateWeight(h),h):(this.root=h,h)}updateWeight(u){u.initWeight(),u.hasLeft()&&u.increaseWeight(u.getLeftWeight()),u.hasRight()&&u.increaseWeight(u.getRightWeight())}updateTreeWeight(u){for(;u;)this.updateWeight(u),u=u.getParent()}splayNode(u){if(u)for(;;)if(this.isLeftChild(u.getParent())&&this.isRightChild(u))this.rotateLeft(u),this.rotateRight(u);else if(this.isRightChild(u.getParent())&&this.isLeftChild(u))this.rotateRight(u),this.rotateLeft(u);else if(this.isLeftChild(u.getParent())&&this.isLeftChild(u))this.rotateRight(u.getParent()),this.rotateRight(u);else if(this.isRightChild(u.getParent())&&this.isRightChild(u))this.rotateLeft(u.getParent()),this.rotateLeft(u);else{this.isLeftChild(u)?this.rotateRight(u):this.isRightChild(u)&&this.rotateLeft(u),this.updateWeight(u);return}}delete(u){this.splayNode(u);const h=new Pe(u.getLeft());h.root&&h.root.setParent();const S=new Pe(u.getRight());if(S.root&&S.root.setParent(),h.root){const A=h.getRightmost();h.splayNode(A),h.root.setRight(S.root),S.root&&S.root.setParent(h.root),this.root=h.root}else this.root=S.root;u.unlink(),this.root&&this.updateWeight(this.root)}deleteRange(u,h){if(!h){this.splayNode(u),this.cutOffRight(u);return}this.splayNode(u),this.splayNode(h),h.getLeft()!=u&&this.rotateRight(u),this.cutOffRight(u)}cutOffRight(u){const h=[];this.traversePostorder(u.getRight(),h);for(const S of h)S.initWeight();this.updateTreeWeight(u)}toTestString(){const u=[];return this.traverseInorder(this.root,u),u.map(h=>`[${h.getWeight()},${h.getLength()}]${h.getValue()||""}`).join("")}checkWeight(){const u=[];this.traverseInorder(this.root,u);for(const h of u)if(h.getWeight()!=h.getLength()+h.getLeftWeight()+h.getRightWeight())return!1;return!0}getRightmost(){let u=this.root;for(;u.hasRight();)u=u.getRight();return u}traverseInorder(u,h){u&&(this.traverseInorder(u.getLeft(),h),h.push(u),this.traverseInorder(u.getRight(),h))}traversePostorder(u,h){u&&(this.traversePostorder(u.getLeft(),h),this.traversePostorder(u.getRight(),h),h.push(u))}rotateLeft(u){const h=u.getParent();h.hasParent()?h===h.getParent().getLeft()?h.getParent().setLeft(u):h.getParent().setRight(u):this.root=u,u.setParent(h.getParent()),h.setRight(u.getLeft()),h.hasRight()&&h.getRight().setParent(h),u.setLeft(h),u.getLeft().setParent(u),this.updateWeight(h),this.updateWeight(u)}rotateRight(u){const h=u.getParent();h.hasParent()?h===h.getParent().getLeft()?h.getParent().setLeft(u):h.getParent().setRight(u):this.root=u,u.setParent(h.getParent()),h.setLeft(u.getRight()),h.hasLeft()&&h.getLeft().setParent(h),u.setRight(h),u.getRight().setParent(u),this.updateWeight(h),this.updateWeight(u)}isLeftChild(u){return u&&u.hasParent()?u.getParent().getLeft()===u:!1}isRightChild(u){return u&&u.hasParent()?u.getParent().getRight()===u:!1}}/** * @license * Copyright 2009 The Closure Library Authors @@ -360,25 +360,25 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho * limitations under the License. * * SPDX-License-Identifier: Apache-2.0 - */var Ge=null;try{Ge=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch{}function et(y,u,h){this.low=y|0,this.high=u|0,this.unsigned=!!h}et.prototype.__isLong__,Object.defineProperty(et.prototype,"__isLong__",{value:!0});function lt(y){return(y&&y.__isLong__)===!0}function Tt(y){var u=Math.clz32(y&-y);return y?31-u:u}et.isLong=lt;var an={},_n={};function Mn(y,u){var h,S,A;return u?(y>>>=0,(A=0<=y&&y<256)&&(S=_n[y],S)?S:(h=Tn(y,0,!0),A&&(_n[y]=h),h)):(y|=0,(A=-128<=y&&y<128)&&(S=an[y],S)?S:(h=Tn(y,y<0?-1:0,!1),A&&(an[y]=h),h))}et.fromInt=Mn;function lr(y,u){if(isNaN(y))return u?vi:Ur;if(u){if(y<0)return vi;if(y>=zo)return Il}else{if(y<=-ni)return qa;if(y+1>=ni)return U1}return y<0?lr(-y,u).neg():Tn(y%Ws|0,y/Ws|0,u)}et.fromNumber=lr;function Tn(y,u,h){return new et(y,u,h)}et.fromBits=Tn;var Dr=Math.pow;function Ar(y,u,h){if(y.length===0)throw Error("empty string");if(typeof u=="number"?(h=u,u=!1):u=!!u,y==="NaN"||y==="Infinity"||y==="+Infinity"||y==="-Infinity")return u?vi:Ur;if(h=h||10,h<2||360)throw Error("interior hyphen");if(S===0)return Ar(y.substring(1),u,h).neg();for(var A=lr(Dr(h,8)),W=Ur,ne=0;ne>>0:this.low},dn.toNumber=function(){return this.unsigned?(this.high>>>0)*Ws+(this.low>>>0):this.high*Ws+(this.low>>>0)},dn.toString=function(u){if(u=u||10,u<2||36>>0,st=$e.toString(u);if(ne=De,ne.isZero())return st+pe;for(;st.length<6;)st="0"+st;pe=""+st+pe}},dn.getHighBits=function(){return this.high},dn.getHighBitsUnsigned=function(){return this.high>>>0},dn.getLowBits=function(){return this.low},dn.getLowBitsUnsigned=function(){return this.low>>>0},dn.getNumBitsAbs=function(){if(this.isNegative())return this.eq(qa)?64:this.neg().getNumBitsAbs();for(var u=this.high!=0?this.high:this.low,h=31;h>0&&!(u&1<=0},dn.isOdd=function(){return(this.low&1)===1},dn.isEven=function(){return(this.low&1)===0},dn.equals=function(u){return lt(u)||(u=Zr(u)),this.unsigned!==u.unsigned&&this.high>>>31===1&&u.high>>>31===1?!1:this.high===u.high&&this.low===u.low},dn.eq=dn.equals,dn.notEquals=function(u){return!this.eq(u)},dn.neq=dn.notEquals,dn.ne=dn.notEquals,dn.lessThan=function(u){return this.comp(u)<0},dn.lt=dn.lessThan,dn.lessThanOrEqual=function(u){return this.comp(u)<=0},dn.lte=dn.lessThanOrEqual,dn.le=dn.lessThanOrEqual,dn.greaterThan=function(u){return this.comp(u)>0},dn.gt=dn.greaterThan,dn.greaterThanOrEqual=function(u){return this.comp(u)>=0},dn.gte=dn.greaterThanOrEqual,dn.ge=dn.greaterThanOrEqual,dn.compare=function(u){if(lt(u)||(u=Zr(u)),this.eq(u))return 0;var h=this.isNegative(),S=u.isNegative();return h&&!S?-1:!h&&S?1:this.unsigned?u.high>>>0>this.high>>>0||u.high===this.high&&u.low>>>0>this.low>>>0?-1:1:this.sub(u).isNegative()?-1:1},dn.comp=dn.compare,dn.negate=function(){return!this.unsigned&&this.eq(qa)?qa:this.not().add(Hi)},dn.neg=dn.negate,dn.add=function(u){lt(u)||(u=Zr(u));var h=this.high>>>16,S=this.high&65535,A=this.low>>>16,W=this.low&65535,ne=u.high>>>16,pe=u.high&65535,De=u.low>>>16,$e=u.low&65535,st=0,Zt=0,Xt=0,Ft=0;return Ft+=W+$e,Xt+=Ft>>>16,Ft&=65535,Xt+=A+De,Zt+=Xt>>>16,Xt&=65535,Zt+=S+pe,st+=Zt>>>16,Zt&=65535,st+=h+ne,st&=65535,Tn(Xt<<16|Ft,st<<16|Zt,this.unsigned)},dn.subtract=function(u){return lt(u)||(u=Zr(u)),this.add(u.neg())},dn.sub=dn.subtract,dn.multiply=function(u){if(this.isZero())return this;if(lt(u)||(u=Zr(u)),Ge){var h=Ge.mul(this.low,this.high,u.low,u.high);return Tn(h,Ge.get_high(),this.unsigned)}if(u.isZero())return this.unsigned?vi:Ur;if(this.eq(qa))return u.isOdd()?qa:Ur;if(u.eq(qa))return this.isOdd()?qa:Ur;if(this.isNegative())return u.isNegative()?this.neg().mul(u.neg()):this.neg().mul(u).neg();if(u.isNegative())return this.mul(u.neg()).neg();if(this.lt(Ii)&&u.lt(Ii))return lr(this.toNumber()*u.toNumber(),this.unsigned);var S=this.high>>>16,A=this.high&65535,W=this.low>>>16,ne=this.low&65535,pe=u.high>>>16,De=u.high&65535,$e=u.low>>>16,st=u.low&65535,Zt=0,Xt=0,Ft=0,xn=0;return xn+=ne*st,Ft+=xn>>>16,xn&=65535,Ft+=W*st,Xt+=Ft>>>16,Ft&=65535,Ft+=ne*$e,Xt+=Ft>>>16,Ft&=65535,Xt+=A*st,Zt+=Xt>>>16,Xt&=65535,Xt+=W*$e,Zt+=Xt>>>16,Xt&=65535,Xt+=ne*De,Zt+=Xt>>>16,Xt&=65535,Zt+=S*st+A*$e+W*De+ne*pe,Zt&=65535,Tn(Ft<<16|xn,Zt<<16|Xt,this.unsigned)},dn.mul=dn.multiply,dn.divide=function(u){if(lt(u)||(u=Zr(u)),u.isZero())throw Error("division by zero");if(Ge){if(!this.unsigned&&this.high===-2147483648&&u.low===-1&&u.high===-1)return this;var h=(this.unsigned?Ge.div_u:Ge.div_s)(this.low,this.high,u.low,u.high);return Tn(h,Ge.get_high(),this.unsigned)}if(this.isZero())return this.unsigned?vi:Ur;var S,A,W;if(this.unsigned){if(u.unsigned||(u=u.toUnsigned()),u.gt(this))return vi;if(u.gt(this.shru(1)))return Lr;W=vi}else{if(this.eq(qa)){if(u.eq(Hi)||u.eq(io))return qa;if(u.eq(qa))return Hi;var ne=this.shr(1);return S=ne.div(u).shl(1),S.eq(Ur)?u.isNegative()?Hi:io:(A=this.sub(u.mul(S)),W=S.add(A.div(u)),W)}else if(u.eq(qa))return this.unsigned?vi:Ur;if(this.isNegative())return u.isNegative()?this.neg().div(u.neg()):this.neg().div(u).neg();if(u.isNegative())return this.div(u.neg()).neg();W=Ur}for(A=this;A.gte(u);){S=Math.max(1,Math.floor(A.toNumber()/u.toNumber()));for(var pe=Math.ceil(Math.log(S)/Math.LN2),De=pe<=48?1:Dr(2,pe-48),$e=lr(S),st=$e.mul(u);st.isNegative()||st.gt(A);)S-=De,$e=lr(S,this.unsigned),st=$e.mul(u);$e.isZero()&&($e=Hi),W=W.add($e),A=A.sub(st)}return W},dn.div=dn.divide,dn.modulo=function(u){if(lt(u)||(u=Zr(u)),Ge){var h=(this.unsigned?Ge.rem_u:Ge.rem_s)(this.low,this.high,u.low,u.high);return Tn(h,Ge.get_high(),this.unsigned)}return this.sub(this.div(u).mul(u))},dn.mod=dn.modulo,dn.rem=dn.modulo,dn.not=function(){return Tn(~this.low,~this.high,this.unsigned)},dn.countLeadingZeros=function(){return this.high?Math.clz32(this.high):Math.clz32(this.low)+32},dn.clz=dn.countLeadingZeros,dn.countTrailingZeros=function(){return this.low?Tt(this.low):Tt(this.high)+32},dn.ctz=dn.countTrailingZeros,dn.and=function(u){return lt(u)||(u=Zr(u)),Tn(this.low&u.low,this.high&u.high,this.unsigned)},dn.or=function(u){return lt(u)||(u=Zr(u)),Tn(this.low|u.low,this.high|u.high,this.unsigned)},dn.xor=function(u){return lt(u)||(u=Zr(u)),Tn(this.low^u.low,this.high^u.high,this.unsigned)},dn.shiftLeft=function(u){return lt(u)&&(u=u.toInt()),(u&=63)===0?this:u<32?Tn(this.low<>>32-u,this.unsigned):Tn(0,this.low<>>u|this.high<<32-u,this.high>>u,this.unsigned):Tn(this.high>>u-32,this.high>=0?0:-1,this.unsigned)},dn.shr=dn.shiftRight,dn.shiftRightUnsigned=function(u){return lt(u)&&(u=u.toInt()),(u&=63)===0?this:u<32?Tn(this.low>>>u|this.high<<32-u,this.high>>>u,this.unsigned):u===32?Tn(this.high,0,this.unsigned):Tn(this.high>>>u-32,0,this.unsigned)},dn.shru=dn.shiftRightUnsigned,dn.shr_u=dn.shiftRightUnsigned,dn.rotateLeft=function(u){var h;return lt(u)&&(u=u.toInt()),(u&=63)===0?this:u===32?Tn(this.high,this.low,this.unsigned):u<32?(h=32-u,Tn(this.low<>>h,this.high<>>h,this.unsigned)):(u-=32,h=32-u,Tn(this.high<>>h,this.low<>>h,this.unsigned))},dn.rotl=dn.rotateLeft,dn.rotateRight=function(u){var h;return lt(u)&&(u=u.toInt()),(u&=63)===0?this:u===32?Tn(this.high,this.low,this.unsigned):u<32?(h=32-u,Tn(this.high<>>u,this.low<>>u,this.unsigned)):(u-=32,h=32-u,Tn(this.low<>>u,this.high<>>u,this.unsigned))},dn.rotr=dn.rotateRight,dn.toSigned=function(){return this.unsigned?Tn(this.low,this.high,!1):this},dn.toUnsigned=function(){return this.unsigned?this:Tn(this.low,this.high,!0)},dn.toBytes=function(u){return u?this.toBytesLE():this.toBytesBE()},dn.toBytesLE=function(){var u=this.high,h=this.low;return[h&255,h>>>8&255,h>>>16&255,h>>>24,u&255,u>>>8&255,u>>>16&255,u>>>24]},dn.toBytesBE=function(){var u=this.high,h=this.low;return[u>>>24,u>>>16&255,u>>>8&255,u&255,h>>>24,h>>>16&255,h>>>8&255,h&255]},et.fromBytes=function(u,h,S){return S?et.fromBytesLE(u,h):et.fromBytesBE(u,h)},et.fromBytesLE=function(u,h){return new et(u[0]|u[1]<<8|u[2]<<16|u[3]<<24,u[4]|u[5]<<8|u[6]<<16|u[7]<<24,h)},et.fromBytesBE=function(u,h){return new et(u[4]<<24|u[5]<<16|u[6]<<8|u[7],u[0]<<24|u[1]<<16|u[2]<<8|u[3],h)};var qi=(y=>(y[y.Null=0]="Null",y[y.Boolean=1]="Boolean",y[y.Integer=2]="Integer",y[y.Long=3]="Long",y[y.Double=4]="Double",y[y.String=5]="String",y[y.Bytes=6]="Bytes",y[y.Date=7]="Date",y))(qi||{});class Es extends E{constructor(u,h){super(h),a(this,"valueType"),a(this,"value"),this.valueType=Es.getPrimitiveType(u),this.value=u===void 0?null:u}static of(u,h){return new Es(u,h)}static valueFromBytes(u,h){switch(u){case 0:return null;case 1:return!!h[0];case 2:return h[0]|h[1]<<8|h[2]<<16|h[3]<<24;case 4:{const S=new DataView(h.buffer);return h.forEach(function(A,W){S.setUint8(W,A)}),S.getFloat64(0,!0)}case 5:return new TextDecoder("utf-8").decode(h);case 3:return et.fromBytesLE(Array.from(h));case 6:return h;case 7:return new Date(et.fromBytesLE(Array.from(h),!0).toNumber());default:throw new wt(Et.ErrUnimplemented,`unimplemented type: ${u}`)}}toJSON(){return this.valueType===5?`"${Lu(this.value)}"`:`${this.value}`}toSortedJSON(){return this.toJSON()}toJSForTest(){return{createdAt:this.getCreatedAt().toTestString(),value:this.value,type:"YORKIE_PRIMITIVE"}}deepcopy(){const u=Es.of(this.value,this.getCreatedAt());return u.setMovedAt(this.getMovedAt()),u.setRemovedAt(this.getRemovedAt()),u}getType(){return this.valueType}static getPrimitiveType(u){switch(typeof u){case"undefined":return 0;case"boolean":return 1;case"number":return this.isInteger(u)?2:4;case"string":return 5;case"object":if(u===null)return 0;if(u instanceof et)return 3;if(u instanceof Uint8Array)return 6;if(u instanceof Date)return 7}}static isSupport(u){return Es.getPrimitiveType(u)!==void 0}static isInteger(u){return u%1===0}isNumericType(){const u=this.valueType;return u===2||u===3||u===4}getValue(){return this.value}toBytes(){switch(this.valueType){case 0:return new Uint8Array;case 1:return this.value?new Uint8Array([1]):new Uint8Array([0]);case 2:{const u=this.value;return new Uint8Array([u&255,u>>8&255,u>>16&255,u>>24&255])}case 4:{const u=this.value,h=new Uint8Array(8);return new DataView(h.buffer).setFloat64(0,u,!0),h}case 5:return new TextEncoder().encode(this.value);case 3:{const h=this.value.toBytesLE();return Uint8Array.from(h)}case 6:return this.value;case 7:{const u=this.value,h=et.fromNumber(u.getTime(),!0).toBytesLE();return Uint8Array.from(h)}default:throw new wt(Et.ErrUnimplemented,`unimplemented type: ${this.valueType}`)}}}class so extends Ee{constructor(u){super(u),a(this,"prev"),a(this,"next"),this.value=u}static createAfter(u,h){const S=new so(h),A=u.next;return u.next=S,S.prev=u,S.next=A,A&&(A.prev=S),S}remove(u){return this.value.remove(u)}getCreatedAt(){return this.value.getCreatedAt()}getPositionedAt(){return this.value.getPositionedAt()}release(){this.prev&&(this.prev.next=this.next),this.next&&(this.next.prev=this.prev),this.prev=void 0,this.next=void 0}getLength(){return this.value.isRemoved()?0:1}getPrev(){return this.prev}getNext(){return this.next}getValue(){return this.value}isRemoved(){return this.value.isRemoved()}}class h0{constructor(){a(this,"dummyHead"),a(this,"last"),a(this,"nodeMapByIndex"),a(this,"nodeMapByCreatedAt");const u=Es.of(0,ro);u.setRemovedAt(ro),this.dummyHead=new so(u),this.last=this.dummyHead,this.nodeMapByIndex=new Pe,this.nodeMapByCreatedAt=new Map,this.nodeMapByIndex.insert(this.dummyHead),this.nodeMapByCreatedAt.set(this.dummyHead.getCreatedAt().toIDString(),this.dummyHead)}static create(){return new h0}get length(){return this.nodeMapByIndex.length}findNextBeforeExecutedAt(u,h){let S=this.nodeMapByCreatedAt.get(u.toIDString());if(!S)throw new wt(Et.ErrInvalidArgument,`cant find the given node: ${u.toIDString()}`);for(;S.getNext()&&S.getNext().getPositionedAt().after(h);)S=S.getNext();return S}release(u){this.last===u&&(this.last=u.getPrev()),u.release(),this.nodeMapByIndex.delete(u),this.nodeMapByCreatedAt.delete(u.getValue().getCreatedAt().toIDString())}insertAfter(u,h,S=h.getCreatedAt()){const A=this.findNextBeforeExecutedAt(u,S),W=so.createAfter(A,h);A===this.last&&(this.last=W),this.nodeMapByIndex.insertAfter(A,W),this.nodeMapByCreatedAt.set(W.getCreatedAt().toIDString(),W)}moveAfter(u,h,S){const A=this.nodeMapByCreatedAt.get(u.toIDString());if(!A)throw new wt(Et.ErrInvalidArgument,`cant find the given node: ${u.toIDString()}`);const W=this.nodeMapByCreatedAt.get(h.toIDString());if(!W)throw new wt(Et.ErrInvalidArgument,`cant find the given node: ${h.toIDString()}`);A!==W&&(!W.getValue().getMovedAt()||S.after(W.getValue().getMovedAt()))&&(this.release(W),this.insertAfter(A.getCreatedAt(),W.getValue(),S),W.getValue().setMovedAt(S))}insert(u){this.insertAfter(this.last.getCreatedAt(),u)}getByID(u){return this.nodeMapByCreatedAt.get(u.toIDString())}subPathOf(u){const h=this.nodeMapByCreatedAt.get(u.toIDString());if(h)return String(this.nodeMapByIndex.indexOf(h))}purge(u){const h=this.nodeMapByCreatedAt.get(u.getCreatedAt().toIDString());if(!h)throw new wt(Et.ErrInvalidArgument,`fail to find the given createdAt: ${u.getCreatedAt().toIDString()}`);this.release(h)}getByIndex(u){if(u>=this.length)return;const[h,S]=this.nodeMapByIndex.find(u);let A=h;if(u===0&&h===this.dummyHead||S>0)do A&&(A=A.getNext());while(A&&A.isRemoved());return A}getPrevCreatedAt(u){let h=this.nodeMapByCreatedAt.get(u.toIDString());do h=h.getPrev();while(this.dummyHead!==h&&h.isRemoved());return h.getValue().getCreatedAt()}delete(u,h){const S=this.nodeMapByCreatedAt.get(u.toIDString()),A=S.isRemoved();return S.remove(h)&&!A&&this.nodeMapByIndex.splayNode(S),S.getValue()}deleteByIndex(u,h){const S=this.getByIndex(u);if(S)return S.remove(h)&&this.nodeMapByIndex.splayNode(S),S.getValue()}getHead(){return this.dummyHead.getValue()}getLast(){return this.last.getValue()}getLastCreatedAt(){return this.last.getCreatedAt()}toTestString(){const u=[];for(const h of this){const S=`${h.getCreatedAt().toIDString()}:${h.getValue().toJSON()}`;h.isRemoved()?u.push(`{${S}}`):u.push(`[${S}]`)}return u.join("")}*[Symbol.iterator](){let u=this.dummyHead.getNext();for(;u;)yield u,u=u.getNext()}}class su extends v{constructor(u,h){super(u),a(this,"elements"),this.elements=h}static create(u,h){if(!h)return new su(u,h0.create());const S=h0.create();for(const A of h)S.insertAfter(S.getLastCreatedAt(),A.deepcopy());return new su(u,S)}subPathOf(u){return this.elements.subPathOf(u)}purge(u){this.elements.purge(u)}insertAfter(u,h){this.elements.insertAfter(u,h)}moveAfter(u,h,S){this.elements.moveAfter(u,h,S)}get(u){const h=this.elements.getByIndex(u);return h==null?void 0:h.getValue()}getByID(u){const h=this.elements.getByID(u);return h==null?void 0:h.getValue()}getHead(){return this.elements.getHead()}getLast(){return this.elements.getLast()}getPrevCreatedAt(u){return this.elements.getPrevCreatedAt(u)}delete(u,h){return this.elements.delete(u,h)}deleteByIndex(u,h){return this.elements.deleteByIndex(u,h)}getLastCreatedAt(){return this.elements.getLastCreatedAt()}get length(){return this.elements.length}*[Symbol.iterator](){for(const u of this.elements)u.isRemoved()||(yield u.getValue())}toTestString(){return this.elements.toTestString()}getDescendants(u){for(const h of this.elements){const S=h.getValue();if(u(S,this))return;S instanceof v&&S.getDescendants(u)}}toJSON(){const u=[];for(const h of this)u.push(h.toJSON());return`[${u.join(",")}]`}toJS(){return JSON.parse(this.toJSON())}toJSForTest(){const u={};for(let h=0;h({...Xt,value:Xt.value?{attributes:Lf(Xt.value.getAttributes()),content:Xt.value.getContent()}:{attributes:void 0,content:""},type:"content"}));return[De,Zt,$e,[pe,pe]]}setStyle(u,h,S,A){const[,W]=this.rgaTreeSplit.findNodeWithSplit(u[1],S),[,ne]=this.rgaTreeSplit.findNodeWithSplit(u[0],S),pe=[],De=this.rgaTreeSplit.findBetween(ne,W),$e=new Map,st=[];for(const Xt of De){const Ft=Xt.getCreatedAt().getActorID(),xn=A!=null&&A.size?A.has(Ft)?A.get(Ft):ro:f0;if(Xt.canStyle(S,xn)){const cr=$e.get(Ft),ur=Xt.getCreatedAt();(!cr||ur.after(cr))&&$e.set(Ft,ur),st.push(Xt)}}const Zt=[];for(const Xt of st){if(Xt.isRemoved())continue;const[Ft,xn]=this.rgaTreeSplit.findIndexesFromRange(Xt.createPosRange());pe.push({type:"style",actor:S.getActorID(),from:Ft,to:xn,value:{attributes:Lf(h)}});for(const[cr,ur]of Object.entries(h)){const[ri]=Xt.getValue().setAttr(cr,ur,S);ri!==void 0&&Zt.push({parent:Xt.getValue(),child:ri})}}return[$e,Zt,pe]}indexRangeToPosRange(u,h){const S=this.rgaTreeSplit.indexToPos(u);return u===h?[S,S]:[S,this.rgaTreeSplit.indexToPos(h)]}get length(){return this.rgaTreeSplit.length}getTreeByIndex(){return this.rgaTreeSplit.getTreeByIndex()}getTreeByID(){return this.rgaTreeSplit.getTreeByID()}toJSON(){const u=[];for(const h of this.rgaTreeSplit)h.isRemoved()||u.push(h.getValue().toJSON());return`[${u.join(",")}]`}toSortedJSON(){return this.toJSON()}toJSForTest(){return{createdAt:this.getCreatedAt().toTestString(),value:JSON.parse(this.toJSON()),type:"YORKIE_TEXT"}}toString(){return this.rgaTreeSplit.toString()}values(){const u=[];for(const h of this.rgaTreeSplit)if(!h.isRemoved()){const S=h.getValue();u.push({attributes:Lf(S.getAttributes()),content:S.getContent()})}return u}getRGATreeSplit(){return this.rgaTreeSplit}toTestString(){return this.rgaTreeSplit.toTestString()}deepcopy(){const u=new Mu(this.rgaTreeSplit.deepcopy(),this.getCreatedAt());return u.remove(this.getRemovedAt()),u}findIndexesFromRange(u){return this.rgaTreeSplit.findIndexesFromRange(u)}getGCPairs(){const u=[];for(const h of this.rgaTreeSplit){h.getRemovedAt()&&u.push({parent:this.rgaTreeSplit,child:h});for(const S of h.getValue().getGCPairs())u.push(S)}return u}}class Mf extends ce{constructor(u,h,S,A,W,ne,pe){super(u,pe),a(this,"fromPos"),a(this,"toPos"),a(this,"maxCreatedAtMapByActor"),a(this,"content"),a(this,"attributes"),this.fromPos=h,this.toPos=S,this.maxCreatedAtMapByActor=A,this.content=W,this.attributes=ne}static create(u,h,S,A,W,ne,pe){return new Mf(u,h,S,A,W,ne,pe)}execute(u){const h=u.findByCreatedAt(this.getParentCreatedAt());if(!h)throw new wt(Et.ErrInvalidArgument,`fail to find ${this.getParentCreatedAt()}`);if(!(h instanceof Mu))throw new wt(Et.ErrInvalidArgument,"fail to execute, only Text can execute edit");const S=h,[,A,W]=S.edit([this.fromPos,this.toPos],this.content,this.getExecutedAt(),Object.fromEntries(this.attributes),this.maxCreatedAtMapByActor);for(const ne of W)u.registerGCPair(ne);return{opInfos:A.map(({from:ne,to:pe,value:De})=>({type:"edit",from:ne,to:pe,value:De,path:u.createPath(this.getParentCreatedAt())}))}}getEffectedCreatedAt(){return this.getParentCreatedAt()}toTestString(){const u=this.getParentCreatedAt().toTestString(),h=this.fromPos.toTestString(),S=this.toPos.toTestString(),A=this.content;return`${u}.EDIT(${h},${S},${A})`}getFromPos(){return this.fromPos}getToPos(){return this.toPos}getContent(){return this.content}getAttributes(){return this.attributes||new Map}getMaxCreatedAtMapByActor(){return this.maxCreatedAtMapByActor}}class H1 extends ce{constructor(u,h,S,A,W,ne){super(u,ne),a(this,"fromPos"),a(this,"toPos"),a(this,"maxCreatedAtMapByActor"),a(this,"attributes"),this.fromPos=h,this.toPos=S,this.maxCreatedAtMapByActor=A,this.attributes=W}static create(u,h,S,A,W,ne){return new H1(u,h,S,A,W,ne)}execute(u){const h=u.findByCreatedAt(this.getParentCreatedAt());if(!h)throw new wt(Et.ErrInvalidArgument,`fail to find ${this.getParentCreatedAt()}`);if(!(h instanceof Mu))throw new wt(Et.ErrInvalidArgument,"fail to execute, only Text can execute edit");const S=h,[,A,W]=S.setStyle([this.fromPos,this.toPos],this.attributes?Object.fromEntries(this.attributes):{},this.getExecutedAt(),this.maxCreatedAtMapByActor);for(const ne of A)u.registerGCPair(ne);return{opInfos:W.map(({from:ne,to:pe,value:De})=>({type:"style",from:ne,to:pe,value:De,path:u.createPath(this.getParentCreatedAt())}))}}getEffectedCreatedAt(){return this.getParentCreatedAt()}toTestString(){const u=this.getParentCreatedAt().toTestString(),h=this.fromPos.toTestString(),S=this.toPos.toTestString(),A=this.attributes;return`${u}.STYL(${h},${S},${JSON.stringify(A)})`}getFromPos(){return this.fromPos}getToPos(){return this.toPos}getAttributes(){return this.attributes}getMaxCreatedAtMapByActor(){return this.maxCreatedAtMapByActor}}const MN=2,p2="root",Nd="text";function q1(y,u){let h=0;const S=y.children;for(let A=0;A0)throw new wt(Et.ErrRefused,"Text node cannot have children")}updateAncestorsSize(){let u=this.parent;const h=this.isRemoved?-1:1;for(;u&&(u.size+=this.paddedSize*h,!u.isRemoved);)u=u.parent}updateDescendantsSize(){let u=0;for(const h of this._children){const S=h.updateDescendantsSize();h.isRemoved||(u+=S)}return this.size+=u,this.paddedSize}get isText(){return this.type===Nd}get paddedSize(){return this.size+(this.isText?0:MN)}isAncestorOf(u){return $N(this,u)}get nextSibling(){const u=this.parent.findOffset(this),h=this.parent.children[u+1];if(h)return h}get prevSibling(){const u=this.parent.findOffset(this),h=this.parent.children[u-1];if(h)return h}splitText(u,h){if(u===0||u===this.size)return;const S=this.value.slice(0,u),A=this.value.slice(u);if(!A.length)return;this.value=S;const W=this.cloneText(u+h);return W.value=A,this.parent.insertAfterInternal(W,this),W}get children(){return this._children.filter(u=>!u.isRemoved)}get allChildren(){return[...this._children]}hasTextChild(){return this.children.length>0&&this.children.every(u=>u.isText)}append(...u){if(this.isText)throw new wt(Et.ErrRefused,"Text node cannot have children");this._children.push(...u);for(const h of u)h.parent=this,h.updateAncestorsSize()}prepend(...u){if(this.isText)throw new wt(Et.ErrRefused,"Text node cannot have children");this._children.unshift(...u);for(const h of u)h.parent=this}insertBefore(u,h){if(this.isText)throw new wt(Et.ErrRefused,"Text node cannot have children");const S=this._children.indexOf(h);if(S===-1)throw new wt(Et.ErrInvalidArgument,"child not found");this.insertAtInternal(u,S),u.updateAncestorsSize()}insertAfter(u,h){if(this.isText)throw new wt(Et.ErrRefused,"Text node cannot have children");const S=this._children.indexOf(h);if(S===-1)throw new wt(Et.ErrInvalidArgument,"child not found");this.insertAtInternal(u,S+1),u.updateAncestorsSize()}insertAt(u,h){if(this.isText)throw new wt(Et.ErrRefused,"Text node cannot have children");this.insertAtInternal(u,h),u.updateAncestorsSize()}removeChild(u){if(this.isText)throw new wt(Et.ErrRefused,"Text node cannot have children");const h=this._children.indexOf(u);if(h===-1)throw new wt(Et.ErrInvalidArgument,"child not found");this._children.splice(h,1),u.parent=void 0}splitElement(u,h){const S=this.cloneElement(h);this.parent.insertAfterInternal(S,this),S.updateAncestorsSize();const A=this.children.slice(0,u),W=this.children.slice(u);this._children=A,S._children=W,this.size=this._children.reduce((ne,pe)=>ne+pe.paddedSize,0),S.size=S._children.reduce((ne,pe)=>ne+pe.paddedSize,0);for(const ne of S._children)ne.parent=S;return S}insertAfterInternal(u,h){if(this.isText)throw new wt(Et.ErrRefused,"Text node cannot have children");const S=this._children.indexOf(h);if(S===-1)throw new wt(Et.ErrInvalidArgument,"child not found");this.insertAtInternal(u,S+1)}insertAtInternal(u,h){if(this.isText)throw new wt(Et.ErrRefused,"Text node cannot have children");this._children.splice(h,0,u),u.parent=this}findOffset(u){if(this.isText)throw new wt(Et.ErrRefused,"Text node cannot have children");if(u.isRemoved){const h=this._children.indexOf(u);return this.allChildren.splice(0,h).filter(A=>!A.isRemoved).length}return this.children.indexOf(u)}findBranchOffset(u){if(this.isText)throw new wt(Et.ErrRefused,"Text node cannot have children");let h=u;for(;h;){const S=this._children.indexOf(h);if(S!==-1)return S;h=h.parent}return-1}}function $N(y,u){if(y===u)return!1;for(;u.parent;){if(u.parent===y)return!0;u=u.parent}return!1}var ba=(y=>(y.Start="Start",y.End="End",y.Text="Text",y))(ba||{});function cv(y,u,h,S){if(u>h)throw new wt(Et.ErrInvalidArgument,`from is greater than to: ${u} > ${h}`);if(u>y.size)throw new wt(Et.ErrInvalidArgument,`from is out of range: ${u} > ${y.size}`);if(h>y.size)throw new wt(Et.ErrInvalidArgument,`to is out of range: ${h} > ${y.size}`);if(u===h)return;let A=0;for(const W of y.children){if(u-W.paddedSizeW.size;(W.isText||De)&&S([W,W.isText?"Text":"Start"],$e),cv(W,Math.max(0,ne),Math.min(pe,W.size),S),$e&&S([W,"End"],$e)}A+=W.paddedSize}}function QA(y,u,h=0){for(const S of y.children)QA(S,u,h+1);u(y,h)}function Qm(y,u,h=0){for(const S of y._children)Qm(S,u,h+1);u(y,h)}function dv(y,u,h=!0){if(u>y.size)throw new wt(Et.ErrInvalidArgument,`index is out of range: ${u} > ${y.size}`);if(y.isText)return{node:y,offset:u};let S=0,A=0;for(const W of y.children){if(h&&W.isText&&W.size>=u-A)return dv(W,u-A,h);if(u===A)return{node:y,offset:S};if(!h&&W.paddedSize===u-A)return{node:y,offset:S+1};if(W.paddedSize>u-A)return dv(W,u-A-1,h);A+=W.paddedSize,S+=1}return{node:y,offset:S}}function m2(y){return y.isText||y.children.length===0?y:m2(y.children[0])}function VA(y,u){if(y.sizey===u?0:y0)if(h.right)h.right.parent=h,h=h.right;else return h;else if(S<0)if(h.left)h.left.parent=h,h=h.left;else{let A=h.parent,W=h;for(;A&&W===A.left;)W=A,A=A.parent;return A}else return h}}lastEntry(){if(!this.root)return this.root;let u=this.root;for(;u.right;)u=u.right;return u}size(){return this.counter}isEmpty(){return this.counter===0}getInternal(u,h){for(;h;){const S=this.comparator(u,h.key);if(S===0)return h;S<0?h=h.left:S>0&&(h=h.right)}}putInternal(u,h,S){if(!S)return this.counter+=1,new GA(u,h,!0);const A=this.comparator(u,S.key);return A<0?S.left=this.putInternal(u,h,S.left):A>0?S.right=this.putInternal(u,h,S.right):S.value=h,this.isRed(S.right)&&!this.isRed(S.left)&&(S=this.rotateLeft(S)),this.isRed(S.left)&&this.isRed(S.left.left)&&(S=this.rotateRight(S)),this.isRed(S.left)&&this.isRed(S.right)&&this.flipColors(S),S}removeInternal(u,h){if(this.comparator(h,u.key)<0)!this.isRed(u.left)&&!this.isRed(u.left.left)&&(u=this.moveRedLeft(u)),u.left=this.removeInternal(u.left,h);else{if(this.isRed(u.left)&&(u=this.rotateRight(u)),this.comparator(h,u.key)===0&&!u.right){this.counter-=1;return}if(!this.isRed(u.right)&&!this.isRed(u.right.left)&&(u=this.moveRedRight(u)),this.comparator(h,u.key)===0){this.counter-=1;const S=this.min(u.right);u.value=S.value,u.key=S.key,u.right=this.removeMin(u.right)}else u.right=this.removeInternal(u.right,h)}return this.fixUp(u)}min(u){return u.left?this.min(u.left):u}removeMin(u){if(u.left)return!this.isRed(u.left)&&!this.isRed(u.left.left)&&(u=this.moveRedLeft(u)),u.left=this.removeMin(u.left),this.fixUp(u)}fixUp(u){return this.isRed(u.right)&&(u=this.rotateLeft(u)),this.isRed(u.left)&&this.isRed(u.left.left)&&(u=this.rotateRight(u)),this.isRed(u.left)&&this.isRed(u.right)&&this.flipColors(u),u}moveRedLeft(u){return this.flipColors(u),this.isRed(u.right.left)&&(u.right=this.rotateRight(u.right),u=this.rotateLeft(u),this.flipColors(u)),u}moveRedRight(u){return this.flipColors(u),this.isRed(u.left.left)&&(u=this.rotateRight(u),this.flipColors(u)),u}isRed(u){return u&&u.isRed}rotateLeft(u){const h=u.right;return u.right=h.left,h.left=u,h.isRed=h.left.isRed,h.left.isRed=!0,h}rotateRight(u){const h=u.left;return u.left=h.right,h.right=u,h.isRed=h.right.isRed,h.right.isRed=!0,h}flipColors(u){u.isRed=!u.isRed,u.left.isRed=!u.left.isRed,u.right.isRed=!u.right.isRed}}class Fu{constructor(u,h){a(this,"parentID"),a(this,"leftSiblingID"),this.parentID=u,this.leftSiblingID=h}static of(u,h){return new Fu(u,h)}static fromTreePos(u){const{offset:h}=u;let{node:S}=u,A;return S.isText?(S.parent.children[0]===S&&h===0?A=S.parent:A=S,S=S.parent):h===0?A=S:A=S.children[h-1],Fu.of(S.id,bo.of(A.getCreatedAt(),A.getOffset()+h))}getParentID(){return this.parentID}static fromStruct(u){return Fu.of(bo.of(Uo.fromStruct(u.parentID.createdAt),u.parentID.offset),bo.of(Uo.fromStruct(u.leftSiblingID.createdAt),u.leftSiblingID.offset))}toStruct(){return{parentID:{createdAt:this.getParentID().getCreatedAt().toStruct(),offset:this.getParentID().getOffset()},leftSiblingID:{createdAt:this.getLeftSiblingID().getCreatedAt().toStruct(),offset:this.getLeftSiblingID().getOffset()}}}toTreeNodePair(u){const h=this.getParentID(),S=this.getLeftSiblingID(),A=u.findFloorNode(h);let W=u.findFloorNode(S);if(!A||!W)throw new wt(Et.ErrRefused,`cannot find node of CRDTTreePos(${h.toTestString()}, ${S.toTestString()})`);return!S.equals(h)&&S.getOffset()>0&&S.getOffset()===W.id.getOffset()&&W.insPrevID&&(W=u.findFloorNode(W.insPrevID)),[A,W]}getLeftSiblingID(){return this.leftSiblingID}equals(u){return this.getParentID().getCreatedAt().equals(u.getParentID().getCreatedAt())&&this.getParentID().getOffset()===u.getParentID().getOffset()&&this.getLeftSiblingID().getCreatedAt().equals(u.getLeftSiblingID().getCreatedAt())&&this.getLeftSiblingID().getOffset()===u.getLeftSiblingID().getOffset()}}class bo{constructor(u,h){a(this,"createdAt"),a(this,"offset"),this.createdAt=u,this.offset=h}static of(u,h){return new bo(u,h)}static fromStruct(u){return bo.of(Uo.fromStruct(u.createdAt),u.offset)}static createComparator(){return(u,h)=>{const S=u.getCreatedAt().compare(h.getCreatedAt());return S!==0?S:u.getOffset()>h.getOffset()?1:u.getOffset(){const A=S.deepcopy();return A.parent=h,A}),h.insPrevID=this.insPrevID,h.insNextID=this.insNextID,h}get value(){if(!this.isText)throw new wt(Et.ErrInvalidType,`cannot get value of element node: ${this.type}`);return this._value}set value(u){if(!this.isText)throw new wt(Et.ErrInvalidType,`cannot set value of element node: ${this.type}`);this._value=u,this.size=u.length}get isRemoved(){return!!this.removedAt}remove(u){const h=!this.removedAt;(!this.removedAt||this.removedAt.compare(u)>0)&&(this.removedAt=u),h&&this.updateAncestorsSize()}cloneText(u){return new ll(bo.of(this.id.getCreatedAt(),u),this.type,void 0,void 0,this.removedAt)}cloneElement(u){return new ll(bo.of(u(),0),this.type,void 0,void 0,this.removedAt)}split(u,h,S){const A=this.isText?this.splitText(h,this.id.getOffset()):this.splitElement(h,S);if(A){if(A.insPrevID=this.id,this.insNextID){const W=u.findFloorNode(this.insNextID);W.insPrevID=A.id,A.insNextID=this.insNextID}this.insNextID=A.id,u.registerNode(A)}return A}getCreatedAt(){return this.id.getCreatedAt()}getOffset(){return this.id.getOffset()}canDelete(u,h){return!this.getCreatedAt().after(h)&&(!this.removedAt||u.after(this.removedAt))}canStyle(u,h){return this.isText?!1:!this.getCreatedAt().after(h)&&(!this.removedAt||u.after(this.removedAt))}setAttrs(u,h){this.attrs||(this.attrs=new Dd);const S=new Array;for(const[A,W]of Object.entries(u))S.push(this.attrs.set(A,W,h));return S}purge(u){this.attrs&&this.attrs.purge(u)}getGCPairs(){const u=[];if(!this.attrs)return u;for(const h of this.attrs)h.getRemovedAt()&&u.push({parent:this,child:h});return u}}function hv(y){var u;if(y.isText){const S=y;return{type:S.type,value:S.value}}const h={type:y.type,children:y.children.map(hv)};return y.attrs&&(h.attributes=Lf((u=y.attrs)==null?void 0:u.toObject())),h}function j1(y){if(y.isText)return y.value;let u="";return y.attrs&&y.attrs.size()&&(u=" "+Array.from(y.attrs).filter(h=>!h.isRemoved()).sort((h,S)=>h.getKey().localeCompare(S.getKey())).map(h=>{const S=JSON.parse(h.getValue());return typeof S=="string"?`${h.getKey()}="${S}"`:`${h.getKey()}="${Lu(h.getValue())}"`}).join(" ")),`<${y.type}${u}>${y.children.map(h=>j1(h)).join("")}`}function XA(y){if(y.isText){const u=y;return{type:u.type,value:u.value,size:u.size,isRemoved:u.isRemoved}}return{type:y.type,children:y.children.map(XA),size:y.size,isRemoved:y.isRemoved}}class Dl extends E{constructor(u,h){super(h),a(this,"indexTree"),a(this,"nodeMapByID"),this.indexTree=new fv(u),this.nodeMapByID=new ZA(bo.createComparator()),this.indexTree.traverseAll(S=>{this.nodeMapByID.put(S.id,S)})}static create(u,h){return new Dl(u,h)}findFloorNode(u){const h=this.nodeMapByID.floorEntry(u);if(!(!h||!h.key.getCreatedAt().equals(u.getCreatedAt())))return h.value}registerNode(u){this.nodeMapByID.put(u.id,u)}findNodesAndSplitText(u,h){const[S,A]=u.toTreeNodePair(this);let W=A;const ne=S===W,pe=W.parent&&!ne?W.parent:S;if(W.isText&&W.split(this,u.getLeftSiblingID().getOffset()-W.id.getOffset()),h){const De=pe.allChildren,$e=ne?0:De.indexOf(W)+1;for(let st=$e;st{const xn=Ft.getCreatedAt().getActorID(),cr=A?A.has(xn)?A.get(xn):ro:f0;if(Ft.canStyle(S,cr)&&h){const ur=Zt.get(xn),ri=Ft.getCreatedAt();(!ur||ri.after(ur))&&Zt.set(xn,ri);const Ps=Ft.setAttrs(h,S),Si=Ps.reduce((cs,[,w0])=>(w0&&(cs[w0.getKey()]=st[w0.getKey()]),cs),{}),Zi=Ft.parent,us=Ft.prevSibling||Ft.parent;Object.keys(Si).length>0&&$e.push({type:"style",from:this.toIndex(Zi,us),to:this.toIndex(Ft,Ft),fromPath:this.toPath(Zi,us),toPath:this.toPath(Ft,Ft),actor:S.getActorID(),value:Si});for(const[cs]of Ps)cs&&Xt.push({parent:Ft,child:cs})}}),[Zt,Xt,$e]}removeStyle(u,h,S,A){const[W,ne]=this.findNodesAndSplitText(u[0],S),[pe,De]=this.findNodesAndSplitText(u[1],S),$e=[],st=new Map,Zt=[];return this.traverseInPosRange(W,ne,pe,De,([Xt])=>{const Ft=Xt.getCreatedAt().getActorID(),xn=A?A.has(Ft)?A.get(Ft):ro:f0;if(Xt.canStyle(S,xn)&&h){const cr=st.get(Ft),ur=Xt.getCreatedAt();(!cr||ur.after(cr))&&st.set(Ft,ur),Xt.attrs||(Xt.attrs=new Dd);for(const Si of h){const Zi=Xt.attrs.remove(Si,S);for(const us of Zi)Zt.push({parent:Xt,child:us})}const ri=Xt.parent,Ps=Xt.prevSibling||Xt.parent;$e.push({actor:S.getActorID(),type:"removeStyle",from:this.toIndex(ri,Ps),to:this.toIndex(Xt,Xt),fromPath:this.toPath(ri,Ps),toPath:this.toPath(Xt,Xt),value:h})}}),[st,Zt,$e]}edit(u,h,S,A,W,ne){const[pe,De]=this.findNodesAndSplitText(u[0],A),[$e,st]=this.findNodesAndSplitText(u[1],A),Zt=this.toIndex(pe,De),Xt=this.toPath(pe,De),Ft=[],xn=[],cr=[],ur=new Map;this.traverseInPosRange(pe,De,$e,st,([Si,Zi],us)=>{if(Zi===ba.Start&&!us)for(const x0 of Si.children)cr.push(x0);const cs=Si.getCreatedAt().getActorID(),w0=ne?ne.has(cs)?ne.get(cs):ro:f0;if(Si.canDelete(A,w0)||Ft.includes(Si.parent)){const x0=ur.get(cs),J1=Si.getCreatedAt();(!x0||J1.after(x0))&&ur.set(cs,J1),(Zi===ba.Text||Zi===ba.Start)&&Ft.push(Si),xn.push([Si,Zi])}});const ri=this.makeDeletionChanges(xn,A),Ps=[];for(const Si of Ft)Si.remove(A),Si.isRemoved&&Ps.push({parent:this,child:Si});for(const Si of cr)Si.removedAt||pe.append(Si);if(S>0){let Si=0,Zi=pe,us=De;for(;Si{pe.isRemoved&&(cs.remove(A),Ps.push({parent:this,child:cs})),this.nodeMapByID.put(cs.id,cs)}),us.isRemoved||Si.push(us);if(Si.length){const us=Si.map(cs=>hv(cs));ri.length&&ri[ri.length-1].from===Zt?ri[ri.length-1].value=us:ri.push({type:"content",from:Zt,to:Zt,fromPath:Xt,toPath:Xt,actor:A.getActorID(),value:us})}}return[ri,Ps,ur]}editT(u,h,S,A,W){const ne=this.findPos(u[0]),pe=this.findPos(u[1]);this.edit([ne,pe],h,S,A,W)}move(u,h,S){throw new wt(Et.ErrUnimplemented,`not implemented: ${u}, ${h}, ${S}`)}purge(u){var h;(h=u.parent)==null||h.removeChild(u),this.nodeMapByID.remove(u.id);const S=u.insPrevID,A=u.insNextID;if(S){const W=this.findFloorNode(S);W.insNextID=A}if(A){const W=this.findFloorNode(A);W.insPrevID=S}u.insPrevID=void 0,u.insNextID=void 0}getGCPairs(){const u=[];return this.indexTree.traverse(h=>{h.getRemovedAt()&&u.push({parent:this,child:h});for(const S of h.getGCPairs())u.push(S)}),u}findPos(u,h=!0){const S=this.indexTree.findTreePos(u,h);return Fu.fromTreePos(S)}pathToPosRange(u){const h=this.pathToIndex(u);return[this.findPos(h),this.findPos(h+1)]}pathToPos(u){const h=this.indexTree.pathToIndex(u);return this.findPos(h)}getRoot(){return this.indexTree.getRoot()}getSize(){return this.indexTree.size}getNodeSize(){return this.nodeMapByID.size()}getIndexTree(){return this.indexTree}toXML(){return j1(this.indexTree.getRoot())}toJSON(){return JSON.stringify(this.getRootTreeNode())}toJSForTest(){return{createdAt:this.getCreatedAt().toTestString(),value:JSON.parse(this.toJSON()),type:"YORKIE_TREE"}}toJSInfoForTest(){const u=this.indexTree.getRoot(),h=(S,A=void 0,W=void 0,ne=0)=>{var pe,De,$e,st;let Zt,Xt,Ft;const xn=S.isText?{node:S,offset:0}:A&&W?this.toTreePos(A,W):null;xn&&(Zt=this.indexTree.indexOf(xn),Xt=this.indexTree.treePosToPath(xn),Ft=Fu.fromTreePos(xn).toStruct());const cr={type:S.type,parent:A==null?void 0:A.id.toTestString(),size:S.size,id:S.id.toTestString(),removedAt:(pe=S.removedAt)==null?void 0:pe.toTestString(),insPrev:(De=S.insPrevID)==null?void 0:De.toTestString(),insNext:($e=S.insNextID)==null?void 0:$e.toTestString(),value:S.isText?S.value:void 0,isRemoved:S.isRemoved,children:[],depth:ne,attributes:S.attrs?Lf((st=S.attrs)==null?void 0:st.toObject()):void 0,index:Zt,path:Xt,pos:Ft};for(let ur=0;ur0&&ur===S[S.length-1].to?(S[S.length-1].to=ri,S[S.length-1].toPath=this.toPath(cr,Xt)):S.push({type:"content",from:ur,to:ri,fromPath:this.toPath(xn,st),toPath:this.toPath(cr,Xt),actor:h.getActorID()}))}return S.reverse()}findRightToken([u,h]){if(h===ba.Start){const pe=u.allChildren;return pe.length>0?[pe[0],pe[0].isText?ba.Text:ba.Start]:[u,ba.End]}const S=u.parent,A=S.allChildren,W=A.indexOf(u);if(S&&W===A.length-1)return[S,ba.End];const ne=A[W+1];return[ne,ne.isText?ba.Text:ba.Start]}findLeftToken([u,h]){if(h===ba.End){const pe=u.allChildren;if(pe.length>0){const De=pe[pe.length-1];return[De,De.isText?ba.Text:ba.End]}return[u,ba.Start]}const S=u.parent,A=S.allChildren,W=A.indexOf(u);if(S&&W===0)return[S,ba.Start];const ne=A[W-1];return[ne,ne.isText?ba.Text:ba.End]}}class Pr extends ce{constructor(u,h,S,A,W,ne,pe){super(u,pe),a(this,"fromPos"),a(this,"toPos"),a(this,"contents"),a(this,"splitLevel"),a(this,"maxCreatedAtMapByActor"),this.fromPos=h,this.toPos=S,this.contents=A,this.splitLevel=W,this.maxCreatedAtMapByActor=ne}static create(u,h,S,A,W,ne,pe){return new Pr(u,h,S,A,W,ne,pe)}execute(u){var h;const S=u.findByCreatedAt(this.getParentCreatedAt());if(!S)throw new wt(Et.ErrInvalidArgument,`fail to find ${this.getParentCreatedAt()}`);if(!(S instanceof Dl))throw new wt(Et.ErrInvalidArgument,"fail to execute, only Tree can execute edit");const A=this.getExecutedAt(),W=S,[ne,pe]=W.edit([this.fromPos,this.toPos],(h=this.contents)==null?void 0:h.map(De=>De.deepcopy()),this.splitLevel,A,(()=>{let De=A.getDelimiter();return this.contents!==void 0&&(De+=this.contents.length),()=>Uo.of(A.getLamport(),++De,A.getActorID())})(),this.maxCreatedAtMapByActor);for(const De of pe)u.registerGCPair(De);return{opInfos:ne.map(({from:De,to:$e,value:st,splitLevel:Zt,fromPath:Xt,toPath:Ft})=>({type:"tree-edit",path:u.createPath(this.getParentCreatedAt()),from:De,to:$e,value:st,splitLevel:Zt,fromPath:Xt,toPath:Ft}))}}getEffectedCreatedAt(){return this.getParentCreatedAt()}toTestString(){const u=this.getParentCreatedAt().toTestString(),h=`${this.fromPos.getLeftSiblingID().getCreatedAt().toTestString()}/${this.fromPos.getLeftSiblingID().getOffset()}`,S=`${this.toPos.getLeftSiblingID().getCreatedAt().toTestString()}/${this.toPos.getLeftSiblingID().getOffset()}`,A=this.contents||[];return`${u}.EDIT(${h},${S},${A.map(W=>j1(W)).join("")})`}getFromPos(){return this.fromPos}getToPos(){return this.toPos}getContents(){return this.contents}getSplitLevel(){return this.splitLevel}getMaxCreatedAtMapByActor(){return this.maxCreatedAtMapByActor}}class g0{constructor(u){a(this,"vector"),this.vector=u||new Map}set(u,h){this.vector.set(u,h)}get(u){return this.vector.get(u)}maxLamport(){let u=BigInt(0);for(const[,h]of this)h>u&&(u=h);return u}max(u){const h=new Map;for(const[S,A]of u){const W=this.vector.get(S),ne=W&&W>A?W:A;h.set(S,ne)}for(const[S,A]of this){const W=u.get(S),ne=W&&W>A?W:A;h.set(S,ne)}return new g0(h)}afterOrEqual(u){const h=this.vector.get(u.getActorID());return h===void 0?!1:h>=u.getLamport()}deepcopy(){const u=new Map;for(const[h,S]of this.vector)u.set(h,S);return new g0(u)}filter(u){const h=new Map;for(const[S]of u){const A=this.vector.get(S);A!==void 0&&h.set(S,A)}return new g0(h)}size(){return this.vector.size}*[Symbol.iterator](){for(const[u,h]of this.vector)yield[u,h]}}const UN=new g0(new Map);class au{constructor(u,h,S,A,W){a(this,"clientSeq"),a(this,"serverSeq"),a(this,"lamport"),a(this,"actor"),a(this,"versionVector"),this.clientSeq=u,this.serverSeq=W,this.lamport=h,this.versionVector=A,this.actor=S}static of(u,h,S,A,W){return new au(u,h,S,A,W)}next(){const u=this.versionVector.deepcopy();return u.set(this.actor,this.lamport+1n),new au(this.clientSeq+1,this.lamport+1n,this.actor,u)}syncClocks(u){const h=u.lamport>this.lamport?u.lamport+1n:this.lamport+1n,S=this.versionVector.max(u.versionVector),A=new au(this.clientSeq,h,this.actor,S);return A.versionVector.set(this.actor,h),A}setClocks(u,h){const S=u>this.lamport?u:this.lamport+1n,A=this.versionVector.max(h);return A.set(this.actor,S),au.of(this.clientSeq,S,this.actor,A)}createTimeTicket(u){return Uo.of(this.lamport,u,this.actor)}setActor(u){return new au(this.clientSeq,this.lamport,u,this.versionVector,this.serverSeq)}setVersionVector(u){return new au(this.clientSeq,this.lamport,this.actor,u,this.serverSeq)}getClientSeq(){return this.clientSeq}getServerSeq(){return this.serverSeq?this.serverSeq.toString():""}getLamport(){return this.lamport}getLamportAsString(){return this.lamport.toString()}getActorID(){return this.actor}getVersionVector(){return this.versionVector}toTestString(){return`${this.lamport.toString()}:${this.actor.slice(-2)}:${this.clientSeq}`}}const KA=new au(0,0n,ol,UN);class b0{constructor({id:u,operations:h,presenceChange:S,message:A}){a(this,"id"),a(this,"operations"),a(this,"presenceChange"),a(this,"message"),this.id=u,this.operations=h||[],this.presenceChange=S,this.message=A}static create({id:u,operations:h,presenceChange:S,message:A}){return new b0({id:u,operations:h,presenceChange:S,message:A})}getID(){return this.id}getMessage(){return this.message}hasOperations(){return this.operations.length>0}getOperations(){return this.operations}setActor(u){for(const h of this.operations)h.setActor(u);this.id=this.id.setActor(u)}hasPresenceChange(){return this.presenceChange!==void 0}getPresenceChange(){return this.presenceChange}execute(u,h,S){const A=[],W=[];for(const ne of this.operations){const pe=ne.execute(u,S);if(!pe)continue;const{opInfos:De,reverseOp:$e}=pe;A.push(...De),$e&&W.unshift($e)}return this.presenceChange&&(this.presenceChange.type===iu.Put?h.set(this.id.getActorID(),ta(this.presenceChange.presence)):h.delete(this.id.getActorID())),{opInfos:A,reverseOps:W}}toTestString(){return`${this.operations.map(u=>u.toTestString()).join(",")}`}toStruct(){return{changeID:ra.bytesToHex(ra.toChangeID(this.getID()).toBinary()),message:this.getMessage(),operations:this.getOperations().map(u=>ra.bytesToHex(ra.toOperation(u).toBinary())),presenceChange:this.getPresenceChange()}}static fromStruct(u){const{changeID:h,operations:S,presenceChange:A,message:W}=u;return b0.create({id:ra.bytesToChangeID(ra.hexToBytes(h)),operations:S==null?void 0:S.map(ne=>ra.bytesToOperation(ra.hexToBytes(ne))),presenceChange:A,message:W})}}class pv{constructor(u,h,S,A,W,ne,pe){a(this,"documentKey"),a(this,"checkpoint"),a(this,"isRemoved"),a(this,"changes"),a(this,"snapshot"),a(this,"minSyncedTicket"),a(this,"versionVector"),this.documentKey=u,this.checkpoint=h,this.isRemoved=S,this.changes=A,this.snapshot=ne,this.minSyncedTicket=pe,this.versionVector=W}static create(u,h,S,A,W,ne,pe){return new pv(u,h,S,A,W,ne,pe)}getDocumentKey(){return this.documentKey}getCheckpoint(){return this.checkpoint}getIsRemoved(){return this.isRemoved}getChanges(){return this.changes}hasChanges(){return this.changes.length>0}getChangeSize(){return this.changes.length}hasSnapshot(){return!!this.snapshot&&!!this.snapshot.length}getSnapshot(){return this.snapshot}getMinSyncedTicket(){return this.minSyncedTicket}getVersionVector(){return this.versionVector}}class yo{constructor(u,h){a(this,"serverSeq"),a(this,"clientSeq"),this.serverSeq=u,this.clientSeq=h}static of(u,h){return new yo(u,h)}increaseClientSeq(u){return u===0?this:new yo(this.serverSeq,this.clientSeq+u)}forward(u){if(this.equals(u))return this;const h=this.serverSeq>u.serverSeq?this.serverSeq:u.serverSeq,S=Math.max(this.clientSeq,u.clientSeq);return yo.of(h,S)}getServerSeqAsString(){return this.serverSeq.toString()}getClientSeq(){return this.clientSeq}getServerSeq(){return this.serverSeq}equals(u){return this.clientSeq===u.clientSeq&&this.serverSeq==u.serverSeq}toTestString(){return`serverSeq=${this.serverSeq}, clientSeq=${this.clientSeq}`}}const zN=new yo(0n,0);class ou{constructor(u,h){a(this,"createdAt"),a(this,"offset"),this.createdAt=u,this.offset=h}static of(u,h){return new ou(u,h)}static fromStruct(u){return ou.of(Uo.fromStruct(u.createdAt),u.offset)}getCreatedAt(){return this.createdAt}getOffset(){return this.offset}equals(u){return this.createdAt.compare(u.createdAt)===0&&this.offset===u.offset}hasSameCreatedAt(u){return this.createdAt.compare(u.createdAt)===0}split(u){return new ou(this.createdAt,this.offset+u)}toStruct(){return{createdAt:this.createdAt.toStruct(),offset:this.offset}}toTestString(){return`${this.createdAt.toTestString()}:${this.offset}`}toIDString(){return`${this.createdAt.toIDString()}:${this.offset}`}}const g2=ou.of(ro,0);class $u{constructor(u,h){a(this,"id"),a(this,"relativeOffset"),this.id=u,this.relativeOffset=h}static of(u,h){return new $u(u,h)}static fromStruct(u){const h=ou.fromStruct(u.id);return $u.of(h,u.relativeOffset)}getID(){return this.id}getRelativeOffset(){return this.relativeOffset}getAbsoluteID(){return ou.of(this.id.getCreatedAt(),this.id.getOffset()+this.relativeOffset)}toTestString(){return`${this.id.toTestString()}:${this.relativeOffset}`}toStruct(){return{id:this.id.toStruct(),relativeOffset:this.relativeOffset}}equals(u){return this.id.equals(u.id)?this.relativeOffset===u.relativeOffset:!1}}class Ff extends Ee{constructor(u,h,S){super(h),a(this,"id"),a(this,"removedAt"),a(this,"prev"),a(this,"next"),a(this,"insPrev"),a(this,"insNext"),this.id=u,this.removedAt=S}static create(u,h){return new Ff(u,h)}static createComparator(){return(u,h)=>{const S=u.getCreatedAt().compare(h.getCreatedAt());return S!==0?S:u.getOffset()>h.getOffset()?1:u.getOffset()0&&h.getID().getOffset()==u.getOffset()){if(!h.hasInsPrev())return h;h=h.getInsPrev()}return h}findFloorNode(u){const h=this.treeByID.floorEntry(u);if(h&&!(!h.key.equals(u)&&!h.key.hasSameCreatedAt(u)))return h.value}findBetween(u,h){const S=[];let A=u;for(;A&&A!==h;)S.push(A),A=A.getNext();return S}splitNode(u,h){if(h>u.getContentLength())throw new wt(Et.ErrInvalidArgument,"offset should be less than or equal to length");if(h===0)return u;if(h===u.getContentLength())return u.getNext();const S=u.split(h);this.treeByIndex.updateWeight(S),this.insertAfter(u,S);const A=u.getInsNext();return A&&A.setInsPrev(S),S.setInsPrev(u),S}deleteNodes(u,h,S){if(!u.length)return[[],new Map,new Map];const[A,W]=this.filterNodes(u,h,S),ne=new Map,pe=new Map,De=this.makeChanges(W,h);for(const $e of A){const st=$e.getCreatedAt().getActorID();(!ne.has(st)||$e.getID().getCreatedAt().after(ne.get(st)))&&ne.set(st,$e.getID().getCreatedAt()),pe.set($e.getID().toIDString(),$e),$e.remove(h)}return this.deleteIndexNodes(W),[De,ne,pe]}filterNodes(u,h,S){const A=!!S,W=[],ne=[],[pe,De]=this.findEdgesOfCandidates(u);ne.push(pe);for(const $e of u){const st=$e.getCreatedAt().getActorID(),Zt=A?S.has(st)?S.get(st):ro:f0;$e.canDelete(h,Zt)?W.push($e):ne.push($e)}return ne.push(De),[W,ne]}findEdgesOfCandidates(u){return[u[0].getPrev(),u[u.length-1].getNext()]}makeChanges(u,h){const S=[];let A,W;for(let ne=0;ney<0?Math.ceil(y):Math.floor(y);var Bu=(y=>(y[y.IntegerCnt=0]="IntegerCnt",y[y.LongCnt=1]="LongCnt",y))(Bu||{});class Nl extends E{constructor(u,h,S){switch(super(S),a(this,"valueType"),a(this,"value"),this.valueType=u,u){case 0:typeof h=="number"?h>Math.pow(2,31)-1||h<-Math.pow(2,31)?this.value=et.fromNumber(h).toInt():this.value=$f(h):this.value=h.toInt();break;case 1:typeof h=="number"?this.value=et.fromNumber(h):this.value=h;break;default:throw new wt(Et.ErrUnimplemented,`unimplemented type: ${u}`)}}static create(u,h,S){return new Nl(u,h,S)}static valueFromBytes(u,h){switch(u){case 0:return h[0]|h[1]<<8|h[2]<<16|h[3]<<24;case 1:return et.fromBytesLE(Array.from(h));default:throw new wt(Et.ErrUnimplemented,`unimplemented type: ${u}`)}}toJSON(){return`${this.value}`}toSortedJSON(){return this.toJSON()}toJSForTest(){return{createdAt:this.getCreatedAt().toTestString(),value:this.value,type:"YORKIE_COUNTER"}}deepcopy(){const u=Nl.create(this.valueType,this.value,this.getCreatedAt());return u.setMovedAt(this.getMovedAt()),u}getType(){return this.valueType}static getCounterType(u){switch(typeof u){case"object":return u instanceof et?1:void 0;case"number":return u>Math.pow(2,31)-1||u<-Math.pow(2,31)?1:0;default:return}}static isSupport(u){return!!Nl.getCounterType(u)}static isInteger(u){return u%1===0}isNumericType(){const u=this.valueType;return u===0||u===1}getValueType(){return this.valueType}getValue(){return this.value}toBytes(){switch(this.valueType){case 0:{const u=this.value;return new Uint8Array([u&255,u>>8&255,u>>16&255,u>>24&255])}case 1:{const h=this.value.toBytesLE();return Uint8Array.from(h)}default:throw new wt(Et.ErrUnimplemented,`unimplemented type: ${this.valueType}`)}}increase(u){function h(S){if(!S.isNumericType())throw new TypeError(`Unsupported type of value: ${typeof S.getValue()}`)}return h(this),h(u),this.valueType===1?this.value=this.value.add(u.getValue()):u.getType()===qi.Long?this.value=this.value+u.getValue().toInt():this.value=et.fromNumber(this.value+$f(u.getValue())).toInt(),this}}class Bf extends ce{constructor(u,h,S){super(u,S),a(this,"value"),this.value=h}static create(u,h,S){return new Bf(u,h,S)}execute(u){const h=u.findByCreatedAt(this.getParentCreatedAt());if(!h)throw new wt(Et.ErrInvalidArgument,`fail to find ${this.getParentCreatedAt()}`);if(!(h instanceof Nl))throw new wt(Et.ErrInvalidArgument,"fail to execute, only Counter can execute increase");const S=h,A=this.value.deepcopy();return S.increase(A),{opInfos:[{type:"increase",path:u.createPath(this.getParentCreatedAt()),value:A.getValue()}],reverseOp:this.toReverseOperation()}}toReverseOperation(){const u=this.value.deepcopy(),S=u.getType()===qi.Long?u.getValue().multiply(-1):u.getValue()*-1;return Bf.create(this.getParentCreatedAt(),Es.of(S,u.getCreatedAt()))}getEffectedCreatedAt(){return this.getParentCreatedAt()}toTestString(){return`${this.getParentCreatedAt().toTestString()}.INCREASE.${this.value.toJSON()}`}getValue(){return this.value}}class Pd extends ce{constructor(u,h,S,A,W,ne,pe){super(u,pe),a(this,"fromPos"),a(this,"toPos"),a(this,"maxCreatedAtMapByActor"),a(this,"attributes"),a(this,"attributesToRemove"),this.fromPos=h,this.toPos=S,this.maxCreatedAtMapByActor=A,this.attributes=W,this.attributesToRemove=ne}static create(u,h,S,A,W,ne){return new Pd(u,h,S,A,W,new Array,ne)}static createTreeRemoveStyleOperation(u,h,S,A,W,ne){return new Pd(u,h,S,A,new Map,W,ne)}execute(u){const h=u.findByCreatedAt(this.getParentCreatedAt());if(!h)throw new wt(Et.ErrInvalidArgument,`fail to find ${this.getParentCreatedAt()}`);if(!(h instanceof Dl))throw new wt(Et.ErrInvalidArgument,"fail to execute, only Tree can execute edit");const S=h;let A,W;if(this.attributes.size){const ne={};[...this.attributes].forEach(([pe,De])=>ne[pe]=De),[,W,A]=S.style([this.fromPos,this.toPos],ne,this.getExecutedAt(),this.maxCreatedAtMapByActor)}else{const ne=this.attributesToRemove;[,W,A]=S.removeStyle([this.fromPos,this.toPos],ne,this.getExecutedAt(),this.maxCreatedAtMapByActor)}for(const ne of W)u.registerGCPair(ne);return{opInfos:A.map(({from:ne,to:pe,value:De,fromPath:$e,toPath:st})=>({type:"tree-style",from:ne,to:pe,value:this.attributes.size?{attributes:De}:{attributesToRemove:De},fromPath:$e,toPath:st,path:u.createPath(this.getParentCreatedAt())}))}}getEffectedCreatedAt(){return this.getParentCreatedAt()}toTestString(){const u=this.getParentCreatedAt().toTestString(),h=`${this.fromPos.getLeftSiblingID().getCreatedAt().toTestString()}:${this.fromPos.getLeftSiblingID().getOffset()}`,S=`${this.toPos.getLeftSiblingID().getCreatedAt().toTestString()}:${this.toPos.getLeftSiblingID().getOffset()}`;return`${u}.STYLE(${h},${S},${Object.entries(this.attributes||{}).map(([A,W])=>`${A}:"${W}"`).join(" ")})`}getFromPos(){return this.fromPos}getToPos(){return this.toPos}getAttributes(){return this.attributes}getAttributesToRemove(){return this.attributesToRemove}getMaxCreatedAtMapByActor(){return this.maxCreatedAtMapByActor}}function b2(y){const u=new xd,h=u.data;for(const[S,A]of Object.entries(y))h[S]=JSON.stringify(A);return u}function JA(y){if(y.type===iu.Put)return new i0({type:Pu.PUT,presence:b2(y.presence)});if(y.type===iu.Clear)return new i0({type:Pu.CLEAR});throw new wt(Et.ErrUnimplemented,"unimplemented type")}function y2(y){return new zm({serverSeq:y.getServerSeq(),clientSeq:y.getClientSeq()})}function mv(y){return new Ih({clientSeq:y.getClientSeq(),lamport:y.getLamport(),actorId:wc(y.getActorID()),versionVector:v2(y.getVersionVector())})}function Un(y){if(y)return new Wn({lamport:y.getLamport(),delimiter:y.getDelimiter(),actorId:wc(y.getActorID())})}function v2(y){if(!y)return;const u=new Dh;for(const[h,S]of y)u.vector[h]=BigInt(S.toString());return u}function Uf(y){switch(y){case qi.Null:return Tr.NULL;case qi.Boolean:return Tr.BOOLEAN;case qi.Integer:return Tr.INTEGER;case qi.Long:return Tr.LONG;case qi.Double:return Tr.DOUBLE;case qi.String:return Tr.STRING;case qi.Bytes:return Tr.BYTES;case qi.Date:return Tr.DATE;default:throw new wt(Et.ErrInvalidType,`unsupported type: ${y}`)}}function S2(y){switch(y){case Bu.IntegerCnt:return Tr.INTEGER_CNT;case Bu.LongCnt:return Tr.LONG_CNT;default:throw new wt(Et.ErrInvalidType,`unsupported type: ${y}`)}}function gv(y){if(y instanceof G)return new nu({type:Tr.JSON_OBJECT,createdAt:Un(y.getCreatedAt()),value:cC(y)});if(y instanceof su)return new nu({type:Tr.JSON_ARRAY,createdAt:Un(y.getCreatedAt()),value:dC(y)});if(y instanceof Mu)return new nu({type:Tr.TEXT,createdAt:Un(y.getCreatedAt())});if(y instanceof Es)return new nu({type:Uf(y.getType()),createdAt:Un(y.getCreatedAt()),value:y.toBytes()});if(y instanceof Nl)return new nu({type:S2(y.getType()),createdAt:Un(y.getCreatedAt()),value:y.toBytes()});if(y instanceof Dl)return new nu({type:Tr.TREE,createdAt:Un(y.getCreatedAt()),value:fC(y)});throw new wt(Et.ErrUnimplemented,"unimplemented element")}function O2(y){return new go({createdAt:Un(y.getCreatedAt()),offset:y.getOffset()})}function bv(y){return new Bo({createdAt:Un(y.getID().getCreatedAt()),offset:y.getID().getOffset(),relativeOffset:y.getRelativeOffset()})}function yv(y){return new e0({parentId:W1(y.getParentID()),leftSiblingId:W1(y.getLeftSiblingID())})}function W1(y){return new vc({createdAt:Un(y.getCreatedAt()),offset:y.getOffset()})}function E2(y){const u=new Nm;if(y instanceof p0){const h=y,S=new Yp;S.parentCreatedAt=Un(h.getParentCreatedAt()),S.key=h.getKey(),S.value=gv(h.getValue()),S.executedAt=Un(h.getExecutedAt()),u.body.case="set",u.body.value=S}else if(y instanceof m0){const h=y,S=new D1;S.parentCreatedAt=Un(h.getParentCreatedAt()),S.prevCreatedAt=Un(h.getPrevCreatedAt()),S.value=gv(h.getValue()),S.executedAt=Un(h.getExecutedAt()),u.body.case="add",u.body.value=S}else if(y instanceof Uh){const h=y,S=new mo;S.parentCreatedAt=Un(h.getParentCreatedAt()),S.prevCreatedAt=Un(h.getPrevCreatedAt()),S.createdAt=Un(h.getCreatedAt()),S.executedAt=Un(h.getExecutedAt()),u.body.case="move",u.body.value=S}else if(y instanceof Bh){const h=y,S=new Od;S.parentCreatedAt=Un(h.getParentCreatedAt()),S.createdAt=Un(h.getCreatedAt()),S.executedAt=Un(h.getExecutedAt()),u.body.case="remove",u.body.value=S}else if(y instanceof Mf){const h=y,S=new N1;S.parentCreatedAt=Un(h.getParentCreatedAt()),S.from=bv(h.getFromPos()),S.to=bv(h.getToPos());const A=S.createdAtMapByActor;for(const[ne,pe]of h.getMaxCreatedAtMapByActor())A[ne]=Un(pe);S.content=h.getContent();const W=S.attributes;for(const[ne,pe]of h.getAttributes())W[ne]=pe;S.executedAt=Un(h.getExecutedAt()),u.body.case="edit",u.body.value=S}else if(y instanceof H1){const h=y,S=new Lm;S.parentCreatedAt=Un(h.getParentCreatedAt()),S.from=bv(h.getFromPos()),S.to=bv(h.getToPos());const A=S.createdAtMapByActor;for(const[ne,pe]of h.getMaxCreatedAtMapByActor())A[ne]=Un(pe);const W=S.attributes;for(const[ne,pe]of h.getAttributes())W[ne]=pe;S.executedAt=Un(h.getExecutedAt()),u.body.case="style",u.body.value=S}else if(y instanceof Bf){const h=y,S=new Du;S.parentCreatedAt=Un(h.getParentCreatedAt()),S.value=gv(h.getValue()),S.executedAt=Un(h.getExecutedAt()),u.body.case="increase",u.body.value=S}else if(y instanceof Pr){const h=y,S=new Zy,A=S.createdAtMapByActor;for(const[W,ne]of h.getMaxCreatedAtMapByActor())A[W]=Un(ne);S.parentCreatedAt=Un(h.getParentCreatedAt()),S.from=yv(h.getFromPos()),S.to=yv(h.getToPos()),S.contents=qN(h.getContents()),S.splitLevel=h.getSplitLevel(),S.executedAt=Un(h.getExecutedAt()),u.body.case="treeEdit",u.body.value=S}else if(y instanceof Pd){const h=y,S=new Xp;S.parentCreatedAt=Un(h.getParentCreatedAt()),S.from=yv(h.getFromPos()),S.to=yv(h.getToPos());const A=S.createdAtMapByActor;for(const[ne,pe]of h.getMaxCreatedAtMapByActor())A[ne]=Un(pe);const W=h.getAttributesToRemove();if(W.length>0)S.attributesToRemove=W;else{const ne=S.attributes;for(const[pe,De]of h.getAttributes())ne[pe]=De}S.executedAt=Un(h.getExecutedAt()),u.body.case="treeStyle",u.body.value=S}else throw new wt(Et.ErrUnimplemented,"unimplemented operation");return u}function eC(y){const u=[];for(const h of y)u.push(E2(h));return u}function HN(y){const u=new Dm({id:mv(y.getID()),message:y.getMessage()});return y.hasOperations()&&(u.operations=eC(y.getOperations())),y.hasPresenceChange()&&(u.presenceChange=JA(y.getPresenceChange())),u}function tC(y){const u=[];for(const h of y)u.push(HN(h));return u}function nC(y){const u=[];for(const h of y)u.push(new gr({key:h.getStrKey(),element:v0(h.getValue())}));return u}function Pl(y){const u=[];for(const h of y)u.push(new Ds({element:v0(h.getValue())}));return u}function Ld(y){const u=[];for(const h of y){const S=new $o;S.id=O2(h.getID()),S.value=h.getValue().getContent(),S.removedAt=Un(h.getRemovedAt());const A=S.attributes,W=h.getValue().getAttrs();for(const ne of W){const pe=new Af;pe.value=ne.getValue(),pe.updatedAt=Un(ne.getUpdatedAt()),A[ne.getKey()]=pe}u.push(S)}return u}function qN(y){const u=[];if(!y||!y.length)return u;for(const h of y)u.push(new yi({content:Vm(h)}));return u}function jN(y){const u={};for(const h of y)u[h.getKey()]=new Af({value:h.getValue(),updatedAt:Un(h.getUpdatedAt()),isRemoved:h.isRemoved()});return u}function Vm(y){if(!y)return[];const u=[];return Qm(y,(h,S)=>{const A=new Cf({id:W1(h.id),type:h.type,removedAt:Un(h.removedAt),depth:S});h.isText&&(A.value=h.value),h.insPrevID&&(A.insPrevId=W1(h.insPrevID)),h.insNextID&&(A.insNextId=W1(h.insNextID)),h.attrs&&(A.attributes=jN(h.attrs)),u.push(A)}),u}function Gm(y){const u=new Aa;return u.body.case="jsonObject",u.body.value=new P1({nodes:nC(y.getRHT()),createdAt:Un(y.getCreatedAt()),movedAt:Un(y.getMovedAt()),removedAt:Un(y.getRemovedAt())}),u}function w2(y){const u=new Aa;return u.body.case="jsonArray",u.body.value=new Xy({nodes:Pl(y.getElements()),createdAt:Un(y.getCreatedAt()),movedAt:Un(y.getMovedAt()),removedAt:Un(y.getRemovedAt())}),u}function rC(y){const u=new Aa;return u.body.case="primitive",u.body.value=new Ky({type:Uf(y.getType()),value:y.toBytes(),createdAt:Un(y.getCreatedAt()),movedAt:Un(y.getMovedAt()),removedAt:Un(y.getRemovedAt())}),u}function WN(y){const u=new Aa;return u.body.case="text",u.body.value=new Ed({nodes:Ld(y.getRGATreeSplit()),createdAt:Un(y.getCreatedAt()),movedAt:Un(y.getMovedAt()),removedAt:Un(y.getRemovedAt())}),u}function iC(y){const u=new Aa;return u.body.case="counter",u.body.value=new Lt({type:S2(y.getType()),value:y.toBytes(),createdAt:Un(y.getCreatedAt()),movedAt:Un(y.getMovedAt()),removedAt:Un(y.getRemovedAt())}),u}function y0(y){const u=new Aa;return u.body.case="tree",u.body.value=new In({nodes:Vm(y.getRoot()),createdAt:Un(y.getCreatedAt()),movedAt:Un(y.getMovedAt()),removedAt:Un(y.getRemovedAt())}),u}function v0(y){if(y instanceof G)return Gm(y);if(y instanceof su)return w2(y);if(y instanceof Es)return rC(y);if(y instanceof Mu)return WN(y);if(y instanceof Nl)return iC(y);if(y instanceof Dl)return y0(y);throw new wt(Et.ErrUnimplemented,"unimplemented element")}function QN(y){return new tu({documentKey:y.getDocumentKey(),checkpoint:y2(y.getCheckpoint()),isRemoved:y.getIsRemoved(),changes:tC(y.getChanges()),snapshot:y.getSnapshot(),versionVector:v2(y.getVersionVector()),minSyncedTicket:Un(y.getMinSyncedTicket())})}function x2(y){const u=y.findDetails(F1);for(const h of u)if(h.metadata.code)return h.metadata.code;return""}function T2(y){return au.of(y.clientSeq,BigInt(y.lamport),I2(y.actorId),Ym(y.versionVector),BigInt(y.serverSeq))}function Ym(y){if(!y)return;const u=new g0;return Object.entries(y.vector).forEach(([h,S])=>{u.set(h,BigInt(S.toString()))}),u}function nr(y){if(y)return Uo.of(BigInt(y.lamport),y.delimiter,I2(y.actorId))}function Zm(y){const u={};return Object.entries(y.data).forEach(([h,S])=>{u[h]=JSON.parse(S)}),u}function k2(y){const u=y.type;if(u===Pu.PUT){const h=Zm(y.presence);return{type:iu.Put,presence:h}}if(u===Pu.CLEAR)return{type:iu.Clear};throw new wt(Et.ErrInvalidType,`unsupported type: ${u}`)}function vv(y){const u=new Map;return Object.entries(y).forEach(([h,S])=>{u.set(h,Zm(S))}),u}function sC(y){switch(y){case Tr.NULL:return qi.Null;case Tr.BOOLEAN:return qi.Boolean;case Tr.INTEGER:return qi.Integer;case Tr.LONG:return qi.Long;case Tr.DOUBLE:return qi.Double;case Tr.STRING:return qi.String;case Tr.BYTES:return qi.Bytes;case Tr.DATE:return qi.Date}throw new wt(Et.ErrUnimplemented,`unimplemented value type: ${y}`)}function Q1(y){switch(y){case Tr.INTEGER_CNT:return Bu.IntegerCnt;case Tr.LONG_CNT:return Bu.LongCnt}throw new wt(Et.ErrUnimplemented,`unimplemented value type: ${y}`)}function Xm(y){switch(y.type){case Tr.JSON_OBJECT:return y.value?vo(y.value):G.create(nr(y.createdAt));case Tr.JSON_ARRAY:return y.value?XN(y.value):su.create(nr(y.createdAt));case Tr.TEXT:return Mu.create(ao.create(),nr(y.createdAt));case Tr.TREE:return KN(y.value);case Tr.NULL:case Tr.BOOLEAN:case Tr.INTEGER:case Tr.LONG:case Tr.DOUBLE:case Tr.STRING:case Tr.BYTES:case Tr.DATE:return Es.of(Es.valueFromBytes(sC(y.type),y.value),nr(y.createdAt));case Tr.INTEGER_CNT:case Tr.LONG_CNT:return Nl.create(Q1(y.type),Nl.valueFromBytes(Q1(y.type),y.value),nr(y.createdAt))}}function V1(y){return $u.of(ou.of(nr(y.createdAt),y.offset),y.relativeOffset)}function Sv(y){return ou.of(nr(y.createdAt),y.offset)}function VN(y){const u=z1.create(y.value);Object.entries(y.attributes).forEach(([S,A])=>{u.setAttr(S,A.value,nr(A.updatedAt))});const h=Ff.create(Sv(y.id),u);return h.remove(nr(y.removedAt)),h}function S0(y){return Fu.of(lu(y.parentId),lu(y.leftSiblingId))}function lu(y){return bo.of(nr(y.createdAt),y.offset)}function aC(y){if(!y.length)return;const u=[];return y.forEach(h=>{const S=Ov(h.content);u.push(S)}),u}function Ov(y){if(y.length===0)return;const u=[];for(const A of y)u.push(oC(A));const h=u[u.length-1],S=new Map;S.set(y[u.length-1].depth,u[u.length-1]);for(let A=u.length-2;A>=0;A--)S.get(y[A].depth-1).prepend(u[A]),S.set(y[A].depth,u[A]);return h.updateDescendantsSize(),Dl.create(h,ro).getRoot()}function GN(y){const u=Dd.create();for(const[h,S]of Object.entries(y))u.setInternal(h,S.value,nr(S.updatedAt),S.isRemoved);return u}function oC(y){const u=lu(y.id),h=ll.create(u,y.type),S=Object.entries(y.attributes);return h.isText?h.value=y.value:S.length&&(h.attrs=GN(y.attributes)),y.insPrevId&&(h.insPrevID=lu(y.insPrevId)),y.insNextId&&(h.insNextID=lu(y.insNextId)),h.removedAt=nr(y.removedAt),h}function lC(y){if(y.body.case==="set"){const u=y.body.value;return p0.create(u.key,Xm(u.value),nr(u.parentCreatedAt),nr(u.executedAt))}else if(y.body.case==="add"){const u=y.body.value;return m0.create(nr(u.parentCreatedAt),nr(u.prevCreatedAt),Xm(u.value),nr(u.executedAt))}else if(y.body.case==="move"){const u=y.body.value;return Uh.create(nr(u.parentCreatedAt),nr(u.prevCreatedAt),nr(u.createdAt),nr(u.executedAt))}else if(y.body.case==="remove"){const u=y.body.value;return Bh.create(nr(u.parentCreatedAt),nr(u.createdAt),nr(u.executedAt))}else if(y.body.case==="edit"){const u=y.body.value,h=new Map;Object.entries(u.createdAtMapByActor).forEach(([A,W])=>{h.set(A,nr(W))});const S=new Map;return Object.entries(u.attributes).forEach(([A,W])=>{S.set(A,W)}),Mf.create(nr(u.parentCreatedAt),V1(u.from),V1(u.to),h,u.content,S,nr(u.executedAt))}else if(y.body.case==="style"){const u=y.body.value,h=new Map;Object.entries(u.createdAtMapByActor).forEach(([A,W])=>{h.set(A,nr(W))});const S=new Map;return Object.entries(u.attributes).forEach(([A,W])=>{S.set(A,W)}),H1.create(nr(u.parentCreatedAt),V1(u.from),V1(u.to),h,S,nr(u.executedAt))}else{if(y.body.case==="select")return;if(y.body.case==="increase"){const u=y.body.value;return Bf.create(nr(u.parentCreatedAt),Xm(u.value),nr(u.executedAt))}else if(y.body.case==="treeEdit"){const u=y.body.value,h=new Map;return Object.entries(u.createdAtMapByActor).forEach(([S,A])=>{h.set(S,nr(A))}),Pr.create(nr(u.parentCreatedAt),S0(u.from),S0(u.to),aC(u.contents),u.splitLevel,h,nr(u.executedAt))}else if(y.body.case==="treeStyle"){const u=y.body.value,h=new Map,S=u.attributesToRemove,A=new Map;return u!=null&&u.createdAtMapByActor&&Object.entries(u.createdAtMapByActor).forEach(([W,ne])=>{A.set(W,nr(ne))}),(S==null?void 0:S.length)>0?Pd.createTreeRemoveStyleOperation(nr(u.parentCreatedAt),S0(u.from),S0(u.to),A,S,nr(u.executedAt)):(Object.entries(u.attributes).forEach(([W,ne])=>{h.set(W,ne)}),Pd.create(nr(u.parentCreatedAt),S0(u.from),S0(u.to),A,h,nr(u.executedAt)))}else throw new wt(Et.ErrUnimplemented,"unimplemented operation")}}function YN(y){const u=[];for(const h of y){const S=lC(h);S&&u.push(S)}return u}function Md(y){const u=[];for(const h of y)u.push(b0.create({id:T2(h.id),operations:YN(h.operations),presenceChange:h.presenceChange?k2(h.presenceChange):void 0,message:h.message}));return u}function _2(y){return yo.of(BigInt(y.serverSeq),y.clientSeq)}function A2(y){return pv.create(y.documentKey,_2(y.checkpoint),y.isRemoved,Md(y.changes),Ym(y.versionVector),y.snapshot,nr(y.minSyncedTicket))}function Ev(y){const u=new D;for(const S of y.nodes){const A=zf(S.element);u.set(S.key,A,A.getPositionedAt())}const h=new G(nr(y.createdAt),u);return h.setMovedAt(nr(y.movedAt)),h.setRemovedAt(nr(y.removedAt)),h}function G1(y){const u=new h0;for(const S of y.nodes)u.insert(zf(S.element));const h=new su(nr(y.createdAt),u);return h.setMovedAt(nr(y.movedAt)),h.setRemovedAt(nr(y.removedAt)),h}function Km(y){const u=Es.of(Es.valueFromBytes(sC(y.type),y.value),nr(y.createdAt));return u.setMovedAt(nr(y.movedAt)),u.setRemovedAt(nr(y.removedAt)),u}function pr(y){const u=new ao;let h=u.getHead();for(const A of y.nodes){const W=u.insertAfter(h,VN(A));A.insPrevId&&W.setInsPrev(u.findNode(Sv(A.insPrevId))),h=W}const S=new Mu(u,nr(y.createdAt));return S.setMovedAt(nr(y.movedAt)),S.setRemovedAt(nr(y.removedAt)),S}function wv(y){const u=Nl.create(Q1(y.type),Nl.valueFromBytes(Q1(y.type),y.value),nr(y.createdAt));return u.setMovedAt(nr(y.movedAt)),u.setRemovedAt(nr(y.removedAt)),u}function xv(y){const u=Ov(y.nodes);return Dl.create(u,nr(y.createdAt))}function zf(y){if(y.body.case==="jsonObject")return Ev(y.body.value);if(y.body.case==="jsonArray")return G1(y.body.value);if(y.body.case==="primitive")return Km(y.body.value);if(y.body.case==="text")return pr(y.body.value);if(y.body.case==="counter")return wv(y.body.value);if(y.body.case==="tree")return xv(y.body.value);throw new wt(Et.ErrUnimplemented,"unimplemented element")}function ZN(y){if(!y)return{root:G.create(ro),presences:new Map};const u=d2.fromBinary(y);return{root:zf(u.root),presences:vv(u.presences)}}function C2(y){const u=v2(y);return R2(u.toBinary())}function uC(y){const u=D2(y),h=Dh.fromBinary(u);return Ym(h)}function vo(y){if(!y)throw new wt(Et.ErrInvalidArgument,"bytes is empty");const u=Aa.fromBinary(y);return Ev(u.body.value)}function cC(y){return v0(y).toBinary()}function XN(y){if(!y)throw new wt(Et.ErrInvalidArgument,"bytes is empty");const u=Aa.fromBinary(y);return G1(u.body.value)}function dC(y){return w2(y).toBinary()}function KN(y){if(!y)throw new wt(Et.ErrInvalidArgument,"bytes is empty");const u=Aa.fromBinary(y);return xv(u.body.value)}function fC(y){return y0(y).toBinary()}function R2(y){return y?Array.from(y).map(u=>u.toString(16).padStart(2,"0")).join(""):""}function I2(y){return R2(y)}function D2(y){return new Uint8Array(y.match(/.{1,2}/g).map(u=>parseInt(u,16)))}function wc(y){return D2(y)}function ul(y){const u=Ih.fromBinary(y);return T2(u)}function N2(y){const u=Nm.fromBinary(y);return lC(u)}const ra={fromPresence:Zm,toChangePack:QN,fromChangePack:A2,fromChanges:Md,toTreeNodes:Vm,fromTreeNodes:Ov,objectToBytes:cC,bytesToObject:vo,bytesToSnapshot:ZN,bytesToHex:R2,hexToBytes:D2,toHexString:I2,toUint8Array:wc,toOperation:E2,toChangeID:mv,PbChangeID:Ih,bytesToChangeID:ul,bytesToOperation:N2,versionVectorToHex:C2,hexToVersionVector:uC};var oo=(y=>(y[y.Trivial=0]="Trivial",y[y.Debug=1]="Debug",y[y.Info=2]="Info",y[y.Warn=3]="Warn",y[y.Error=4]="Error",y[y.Fatal=5]="Fatal",y))(oo||{});let O0=3;function P2(y){O0=y}const ar={trivial:(...y)=>{O0>0||typeof console<"u"&&console.log("YORKIE T:",...y)},debug:(...y)=>{O0>1||typeof console<"u"&&console.log("YORKIE D:",...y)},info:(...y)=>{O0>2||typeof console<"u"&&console.log("YORKIE I:",...y)},warn:(...y)=>{O0>3||typeof console<"u"&&(typeof console.warn<"u"?console.warn("YORKIE W:",...y):console.log("YORKIE W:",...y))},error:(...y)=>{O0>4||typeof console<"u"&&(typeof console.error<"u"?console.error("YORKIE E:",...y):console.log("YORKIE E:",...y))},fatal:(...y)=>{typeof console<"u"&&(typeof console.error<"u"?console.error("YORKIE F:",...y):console.log("YORKIE F:",...y))},isEnabled:y=>O0<=y};function L2(){return"xxxxxxxx-xxxx-4xxxy-xxxx-xxxxxxxxxxx".replace(/[xy]/g,y=>{const u=Math.random()*16|0;return(y==="x"?u:u&3|8).toString(16)})}class hC{constructor(u,h,S,A,W){a(this,"reconnectStreamDelay"),a(this,"doc"),a(this,"docID"),a(this,"syncMode"),a(this,"remoteChangeEventReceived"),a(this,"watchStream"),a(this,"watchLoopTimerID"),a(this,"watchAbortController"),a(this,"unsubscribeBroadcastEvent"),this.reconnectStreamDelay=u,this.doc=h,this.docID=S,this.syncMode=A,this.remoteChangeEventReceived=!1,this.unsubscribeBroadcastEvent=W}changeSyncMode(u){this.syncMode=u}needRealtimeSync(){return this.syncMode===K1.RealtimeSyncOff?!1:this.syncMode===K1.RealtimePushOnly?this.doc.hasLocalChanges():this.syncMode!==K1.Manual&&(this.doc.hasLocalChanges()||this.remoteChangeEventReceived)}async runWatchLoop(u){const h=async()=>{if(this.watchStream)return Promise.resolve();this.watchLoopTimerID&&(clearTimeout(this.watchLoopTimerID),this.watchLoopTimerID=void 0);try{[this.watchStream,this.watchAbortController]=await u(()=>{this.watchStream=void 0,this.watchAbortController=void 0,this.watchLoopTimerID=setTimeout(h,this.reconnectStreamDelay)})}catch{}};await h()}cancelWatchStream(){this.watchStream&&this.watchAbortController&&(this.watchAbortController.abort(),this.watchStream=void 0,this.watchAbortController=void 0),clearTimeout(this.watchLoopTimerID),this.watchLoopTimerID=void 0}}const M2=()=>{};class JN{constructor(u){a(this,"finalized",!1),a(this,"observers",[]),a(this,"finalError");try{u(this)}catch(h){this.error(h)}}next(u){this.forEachObserver(h=>{h.next(u)})}error(u){this.forEachObserver(h=>{h.error(u)}),this.close(u)}complete(){this.forEachObserver(u=>{u.complete()}),this.close()}subscribe(u,h,S){let A;if(!u)throw new wt(Et.ErrInvalidArgument,"missing observer");if(this.finalized)throw new wt(Et.ErrRefused,"observable is finalized due to previous error");typeof u=="object"?A=u:A={next:u,error:h,complete:S},A.next===void 0&&(A.next=M2),A.error===void 0&&(A.error=M2),A.complete===void 0&&(A.complete=M2);const W=L2(),ne=this.unsubscribeOne.bind(this,W);if(this.observers.push({subscriptionID:W,observer:A}),this.finalized)try{this.finalError?A.error(this.finalError):A.complete()}catch(pe){ar.warn(pe)}return ne}unsubscribeOne(u){var h;this.observers=(h=this.observers)==null?void 0:h.filter(S=>S.subscriptionID!==u)}forEachObserver(u){if(!this.finalized)for(let h=0;hu}}class Jm{constructor(u,h,S,A){a(this,"id"),a(this,"delimiter"),a(this,"message"),a(this,"root"),a(this,"operations"),a(this,"presenceChange"),a(this,"previousPresence"),a(this,"reversePresenceKeys"),this.id=u,this.delimiter=lv,this.root=h,this.operations=[],this.previousPresence=ta(S),this.presenceChange=void 0,this.reversePresenceKeys=new Set,this.message=A}static create(u,h,S,A){return new Jm(u,h,S,A)}push(u){this.operations.push(u)}registerElement(u,h){this.root.registerElement(u,h)}registerRemovedElement(u){this.root.registerRemovedElement(u)}registerGCPair(u){this.root.registerGCPair(u)}getChange(){return b0.create({id:this.id,operations:this.operations,presenceChange:this.presenceChange,message:this.message})}hasChange(){return this.operations.length>0||this.presenceChange!==void 0}setPresenceChange(u){this.presenceChange=u}setReversePresence(u,h){for(const S of Object.keys(u))h!=null&&h.addToHistory?this.reversePresenceKeys.add(S):this.reversePresenceKeys.delete(S)}getReversePresence(){if(this.reversePresenceKeys.size===0)return;const u={};for(const h of this.reversePresenceKeys)u[h]=this.previousPresence[h];return u}issueTimeTicket(){return this.delimiter+=1,this.id.createTimeTicket(this.delimiter)}getLastTimeTicket(){return this.id.createTimeTicket(this.delimiter)}}class eg{constructor(u){a(this,"rootObject"),a(this,"elementPairMapByCreatedAt"),a(this,"gcElementSetByCreatedAt"),a(this,"gcPairMap"),this.rootObject=u,this.elementPairMapByCreatedAt=new Map,this.gcElementSetByCreatedAt=new Set,this.gcPairMap=new Map,this.registerElement(u,void 0),u.getDescendants(h=>{if(h.getRemovedAt()&&this.registerRemovedElement(h),h instanceof Mu||h instanceof Dl)for(const S of h.getGCPairs())this.registerGCPair(S);return!1})}static create(){return new eg(G.create(ro))}findByCreatedAt(u){const h=this.elementPairMapByCreatedAt.get(u.toIDString());if(h)return h.element}findElementPairByCreatedAt(u){return this.elementPairMapByCreatedAt.get(u.toIDString())}createSubPaths(u){let h=this.elementPairMapByCreatedAt.get(u.toIDString());if(!h)return[];const S=[];for(;h.parent;){const A=h.element.getCreatedAt(),W=h.parent.subPathOf(A);if(W===void 0)throw new wt(Et.ErrInvalidArgument,`cant find the given element: ${A.toIDString()}`);S.unshift(W),h=this.elementPairMapByCreatedAt.get(h.parent.getCreatedAt().toIDString())}return S.unshift("$"),S}createPath(u){return this.createSubPaths(u).join(".")}registerElement(u,h){this.elementPairMapByCreatedAt.set(u.getCreatedAt().toIDString(),{parent:h,element:u}),u instanceof v&&u.getDescendants((S,A)=>(this.registerElement(S,A),!1))}deregisterElement(u){let h=0;const S=A=>{const W=A.getCreatedAt().toIDString();this.elementPairMapByCreatedAt.delete(W),this.gcElementSetByCreatedAt.delete(W),h++};return S(u),u instanceof v&&u.getDescendants(A=>(S(A),!1)),h}registerRemovedElement(u){this.gcElementSetByCreatedAt.add(u.getCreatedAt().toIDString())}registerGCPair(u){if(this.gcPairMap.get(u.child.toIDString())){this.gcPairMap.delete(u.child.toIDString());return}this.gcPairMap.set(u.child.toIDString(),u)}getElementMapSize(){return this.elementPairMapByCreatedAt.size}getGarbageElementSetSize(){const u=new Set;for(const h of this.gcElementSetByCreatedAt){u.add(h);const S=this.elementPairMapByCreatedAt.get(h);S.element instanceof v&&S.element.getDescendants(A=>(u.add(A.getCreatedAt().toIDString()),!1))}return u.size}getObject(){return this.rootObject}getGarbageLen(){return this.getGarbageElementSetSize()+this.gcPairMap.size}deepcopy(){return new eg(this.rootObject.deepcopy())}garbageCollect(u){let h=0;for(const S of this.gcElementSetByCreatedAt){const A=this.elementPairMapByCreatedAt.get(S),W=A.element.getRemovedAt();W&&(u!=null&&u.afterOrEqual(W))&&(A.parent.purge(A.element),h+=this.deregisterElement(A.element))}for(const[,S]of this.gcPairMap){const A=S.child.getRemovedAt();A&&(u!=null&&u.afterOrEqual(A))&&(S.parent.purge(S.child),this.gcPairMap.delete(S.child.toIDString()),h+=1)}return h}toJSON(){return this.rootObject.toJSON()}toSortedJSON(){return this.rootObject.toSortedJSON()}getStats(){return{elements:this.getElementMapSize(),gcPairs:this.gcPairMap.size,gcElements:this.getGarbageElementSetSize()}}}function F2(y,u){const h=new Y1(y);return new Proxy(u,h.getHandlers())}class Y1{constructor(u){a(this,"context"),a(this,"handlers"),this.context=u,this.handlers={set:(h,S,A)=>(ar.isEnabled(oo.Trivial)&&ar.trivial(`obj[${S}]=${JSON.stringify(A)}`),Y1.setInternal(u,h,S,A),!0),get:(h,S)=>(ar.isEnabled(oo.Trivial)&&ar.trivial(`obj[${S}]`),S==="getID"?()=>h.getCreatedAt():S==="toJSON"||S==="toString"?()=>h.toJSON():S==="toJS"?()=>h.toJS():S==="toJSForTest"?()=>h.toJSForTest():E0(u,h.get(S))),ownKeys:h=>h.getKeys(),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),deleteProperty:(h,S)=>(ar.isEnabled(oo.Trivial)&&ar.trivial(`obj[${S}]`),Y1.deleteInternal(u,h,S),!0)}}static setInternal(u,h,S,A){if(S.includes("."))throw new wt(Et.ErrInvalidObjectKey,"key must not contain the '.'.");const W=u.issueTimeTicket(),ne=Tv(u,A,W),pe=h.set(S,ne,W);u.registerElement(ne,h),pe&&u.registerRemovedElement(pe),u.push(p0.create(S,ne.deepcopy(),h.getCreatedAt(),W))}static buildObjectMembers(u,h){const S={};for(const[A,W]of Object.entries(h)){if(A.includes("."))throw new wt(Et.ErrInvalidObjectKey,"key must not contain the '.'.");const ne=u.issueTimeTicket(),pe=Tv(u,W,ne);S[A]=pe}return S}static deleteInternal(u,h,S){const A=u.issueTimeTicket(),W=h.deleteByKey(S,A);W&&(u.push(Bh.create(h.getCreatedAt(),W.getCreatedAt(),A)),u.registerRemovedElement(W))}getHandlers(){return this.handlers}}function $2(y,u){const h=new Ns(y,u);return new Proxy(u,h.getHandlers())}function pC(y){return typeof y=="string"||y instanceof String?!isNaN(y):!1}function Z1(y){return["concat","entries","every","filter","find","findIndex","forEach","join","keys","map","reduce","reduceRight","slice","some","toLocaleString","toString","values"].includes(y)}class Ns{constructor(u,h){a(this,"context"),a(this,"handlers"),a(this,"array"),this.context=u,this.array=h,this.handlers={get:(S,A,W)=>A==="getID"?()=>S.getCreatedAt():A==="getElementByID"?ne=>{const pe=S.getByID(ne);if(!(!pe||pe.isRemoved()))return Hh(u,pe)}:A==="getElementByIndex"?ne=>{const pe=S.get(ne);return Hh(u,pe)}:A==="getLast"?()=>Hh(u,S.getLast()):A==="deleteByID"?ne=>{const pe=Ns.deleteInternalByID(u,S,ne);return Hh(u,pe)}:A==="insertAfter"?(ne,pe)=>{const De=Ns.insertAfterInternal(u,S,ne,pe);return Hh(u,De)}:A==="insertBefore"?(ne,pe)=>{const De=Ns.insertBeforeInternal(u,S,ne,pe);return Hh(u,De)}:A==="moveBefore"?(ne,pe)=>{Ns.moveBeforeInternal(u,S,ne,pe)}:A==="moveAfter"?(ne,pe)=>{Ns.moveAfterInternal(u,S,ne,pe)}:A==="moveFront"?ne=>{Ns.moveFrontInternal(u,S,ne)}:A==="moveLast"?ne=>{Ns.moveLastInternal(u,S,ne)}:pC(A)?E0(u,S.get(Number(A))):A==="push"?ne=>Ns.pushInternal(u,S,ne):A==="splice"?(ne,pe,...De)=>Ns.splice(u,S,ne,pe,...De):A==="length"?S.length:typeof A=="symbol"&&A===Symbol.iterator?Ns.iteratorInternal.bind(this,u,S):A==="includes"?(ne,pe)=>Ns.includes(u,S,ne,pe):A==="indexOf"?(ne,pe)=>Ns.indexOf(u,S,ne,pe):A==="lastIndexOf"?(ne,pe)=>Ns.lastIndexOf(u,S,ne,pe):A==="toJSForTest"?()=>S.toJSForTest():A==="toTestString"?()=>Ns.toTestString(S):typeof A=="string"&&Z1(A)?(...ne)=>{const pe=Array.from(S).map(De=>E0(u,De));return Array.prototype[A].apply(pe,ne)}:Reflect.get(S,A,W),deleteProperty:(S,A)=>(ar.isEnabled(oo.Trivial)&&ar.trivial(`array[${A}]`),Ns.deleteInternalByIndex(u,S,Number.parseInt(A)),!0)}}static*iteratorInternal(u,h){for(const S of h)yield Hh(u,S)}static buildArrayElements(u,h){const S=[];for(const A of h){const W=u.issueTimeTicket(),ne=Tv(u,A,W);S.push(ne)}return S}static pushInternal(u,h,S){return Ns.insertAfterInternal(u,h,h.getLastCreatedAt(),S),h.length}static moveBeforeInternal(u,h,S,A){const W=u.issueTimeTicket(),ne=h.getPrevCreatedAt(S);h.moveAfter(ne,A,W),u.push(Uh.create(h.getCreatedAt(),ne,A,W))}static moveAfterInternal(u,h,S,A){const W=u.issueTimeTicket();h.moveAfter(S,A,W),u.push(Uh.create(h.getCreatedAt(),S,A,W))}static moveFrontInternal(u,h,S){const A=u.issueTimeTicket(),W=h.getHead();h.moveAfter(W.getCreatedAt(),S,A),u.push(Uh.create(h.getCreatedAt(),W.getCreatedAt(),S,A))}static moveLastInternal(u,h,S){const A=u.issueTimeTicket(),W=h.getLastCreatedAt();h.moveAfter(W,S,A),u.push(Uh.create(h.getCreatedAt(),W,S,A))}static insertAfterInternal(u,h,S,A){const W=u.issueTimeTicket(),ne=Tv(u,A,W);return h.insertAfter(S,ne),u.registerElement(ne,h),u.push(m0.create(h.getCreatedAt(),S,ne.deepcopy(),W)),ne}static insertBeforeInternal(u,h,S,A){return Ns.insertAfterInternal(u,h,h.getPrevCreatedAt(S),A)}static deleteInternalByIndex(u,h,S){const A=u.issueTimeTicket(),W=h.deleteByIndex(S,A);if(W)return u.push(Bh.create(h.getCreatedAt(),W.getCreatedAt(),A)),u.registerRemovedElement(W),W}static deleteInternalByID(u,h,S){const A=u.issueTimeTicket(),W=h.delete(S,A);return u.push(Bh.create(h.getCreatedAt(),W.getCreatedAt(),A)),u.registerRemovedElement(W),W}static splice(u,h,S,A,...W){const ne=h.length,pe=S>=0?Math.min(S,ne):Math.max(ne+S,0),De=A===void 0?ne:A<0?pe:Math.min(pe+A,ne),$e=[];for(let st=pe;st=ne)return!1;if(Es.isSupport(S))return Array.from(h).map($e=>E0(u,$e)).includes(S,pe);for(let De=pe;De=ne)return-1;if(Es.isSupport(S))return Array.from(h).map($e=>E0(u,$e)).indexOf(S,pe);for(let De=pe;De=ne?ne-1:A<0?A+ne:A;if(pe<0)return-1;if(Es.isSupport(S))return Array.from(h).map($e=>E0(u,$e)).lastIndexOf(S,pe);for(let De=pe;De>0;De--)if(((W=h.get(De))==null?void 0:W.getID())===S.getID())return De;return-1}static toTestString(u){return u.toTestString()}getHandlers(){return this.handlers}}class tg{constructor(u,h){a(this,"context"),a(this,"text"),this.context=u,this.text=h}initialize(u,h){this.context=u,this.text=h}getID(){return this.text.getID()}edit(u,h,S,A){if(!this.context||!this.text)throw new wt(Et.ErrNotInitialized,"Text is not initialized yet");if(u>h)throw new wt(Et.ErrInvalidArgument,"from should be less than or equal to to");const W=this.text.indexRangeToPosRange(u,h);ar.isEnabled(oo.Debug)&&ar.debug(`EDIT: f:${u}->${W[0].toTestString()}, t:${h}->${W[1].toTestString()} c:${S}`);const ne=A?Id(A):void 0,pe=this.context.issueTimeTicket(),[De,,$e,st]=this.text.edit(W,S,pe,ne);for(const Zt of $e)this.context.registerGCPair(Zt);return this.context.push(new Mf(this.text.getCreatedAt(),W[0],W[1],De,S,ne?new Map(Object.entries(ne)):new Map,pe)),this.text.findIndexesFromRange(st)}delete(u,h){return this.edit(u,h,"")}empty(){return this.edit(0,this.length,"")}setStyle(u,h,S){if(!this.context||!this.text)throw new wt(Et.ErrNotInitialized,"Text is not initialized yet");if(u>h)throw new wt(Et.ErrInvalidArgument,"from should be less than or equal to to");const A=this.text.indexRangeToPosRange(u,h);ar.isEnabled(oo.Debug)&&ar.debug(`STYL: f:${u}->${A[0].toTestString()}, t:${h}->${A[1].toTestString()} a:${JSON.stringify(S)}`);const W=Id(S),ne=this.context.issueTimeTicket(),[pe,De]=this.text.setStyle(A,W,ne);for(const $e of De)this.context.registerGCPair($e);return this.context.push(new H1(this.text.getCreatedAt(),A[0],A[1],pe,new Map(Object.entries(W)),ne)),!0}indexRangeToPosRange(u){if(!this.context||!this.text)throw new wt(Et.ErrNotInitialized,"Text is not initialized yet");const h=this.text.indexRangeToPosRange(u[0],u[1]);return[h[0].toStruct(),h[1].toStruct()]}posRangeToIndexRange(u){if(!this.context||!this.text)throw new wt(Et.ErrNotInitialized,"Text is not initialized yet");const h=this.text.findIndexesFromRange([$u.fromStruct(u[0]),$u.fromStruct(u[1])]);return[h[0],h[1]]}toTestString(){if(!this.context||!this.text)throw new wt(Et.ErrNotInitialized,"Text is not initialized yet");return this.text.toTestString()}values(){if(!this.context||!this.text)throw new wt(Et.ErrNotInitialized,"Text is not initialized yet");return this.text.values()}get length(){return this.text.length}getTreeByIndex(){return this.text.getTreeByIndex()}getTreeByID(){return this.text.getTreeByID()}toString(){if(!this.context||!this.text)throw new wt(Et.ErrNotInitialized,"Text is not initialized yet");return this.text.toString()}toJSON(){if(!this.context||!this.text)throw new wt(Et.ErrNotInitialized,"Text is not initialized yet");return this.text.toJSON()}toJSForTest(){if(!this.context||!this.text)throw new wt(Et.ErrNotInitialized,"Text is not initialized yet");return this.text.toJSForTest()}createRangeForTest(u,h){if(!this.context||!this.text)throw new wt(Et.ErrNotInitialized,"Text is not initialized yet");return this.text.indexRangeToPosRange(u,h)}}class ng{constructor(u,h){a(this,"valueType"),a(this,"value"),a(this,"context"),a(this,"counter"),this.valueType=u,this.value=h}initialize(u,h){this.valueType=h.getValueType(),this.context=u,this.counter=h,this.value=h.getValue()}getID(){return this.counter.getID()}getValue(){return this.value}getValueType(){return this.valueType}increase(u){if(!this.context||!this.counter)throw new wt(Et.ErrNotInitialized,"Counter is not initialized yet");const h=this.context.issueTimeTicket(),S=Es.of(u,h);if(!S.isNumericType())throw new TypeError(`Unsupported type of value: ${typeof S.getValue()}`);return this.counter.increase(S),this.context.push(Bf.create(this.counter.getCreatedAt(),S,h)),this}toJSForTest(){if(!this.context||!this.counter)throw new wt(Et.ErrNotInitialized,"Counter is not initialized yet");return this.counter.toJSForTest()}}function rg(y,u,h){const{type:S}=y,A=h.issueTimeTicket();if(S===Nd){xc(y);const{value:W}=y,ne=ll.create(bo.of(A,0),S,W);u.append(ne)}else{const{children:W=[]}=y,{attributes:ne}=y;let pe;if(typeof ne=="object"&&!d0(ne)){const $e=Id(ne);pe=new Dd;for(const[st,Zt]of Object.entries($e))pe.set(st,Zt,A)}const De=ll.create(bo.of(A,0),S,void 0,pe);u.append(De);for(const $e of W)rg($e,De,h)}}function mC(y,u){const{type:h}=u,S=y.issueTimeTicket();let A;if(u.type===Nd){const{value:W}=u;A=ll.create(bo.of(S,0),h,W)}else if(u){const{children:W=[]}=u,{attributes:ne}=u;let pe;if(typeof ne=="object"&&!d0(ne)){const De=Id(ne);pe=new Dd;for(const[$e,st]of Object.entries(De))pe.set($e,st,S)}A=ll.create(bo.of(y.issueTimeTicket(),0),h,void 0,pe);for(const De of W)rg(De,A,y)}return A}function xc(y){if(!y.value.length)throw new wt(Et.ErrInvalidArgument,"text node cannot have empty value");return!0}function zh(y){if(!y.length)return!0;if(y[0].type===Nd)for(const h of y){const{type:S}=h;if(S!==Nd)throw new wt(Et.ErrInvalidArgument,"element node and text node cannot be passed together");xc(h)}else for(const h of y){const{type:S}=h;if(S===Nd)throw new wt(Et.ErrInvalidArgument,"element node and text node cannot be passed together")}return!0}class X1{constructor(u){a(this,"initialRoot"),a(this,"context"),a(this,"tree"),this.initialRoot=u}initialize(u,h){this.context=u,this.tree=h}getID(){return this.tree.getID()}buildRoot(u){if(!this.initialRoot)return ll.create(bo.of(u.issueTimeTicket(),0),p2);const h=ll.create(bo.of(u.issueTimeTicket(),0),this.initialRoot.type);for(const S of this.initialRoot.children)rg(S,h,u);return h}getSize(){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");return this.tree.getSize()}getNodeSize(){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");return this.tree.getNodeSize()}getIndexTree(){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");return this.tree.getIndexTree()}styleByPath(u,h){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");if(!u.length)throw new wt(Et.ErrInvalidArgument,"path should not be empty");const[S,A]=this.tree.pathToPosRange(u),W=this.context.issueTimeTicket(),ne=h?Id(h):void 0,[pe]=this.tree.style([S,A],ne,W);this.context.push(Pd.create(this.tree.getCreatedAt(),S,A,pe,ne?new Map(Object.entries(ne)):new Map,W))}style(u,h,S){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");if(u>h)throw new wt(Et.ErrInvalidArgument,"from should be less than or equal to to");const A=this.tree.findPos(u),W=this.tree.findPos(h),ne=this.context.issueTimeTicket(),pe=S?Id(S):void 0,[De,$e]=this.tree.style([A,W],pe,ne);for(const st of $e)this.context.registerGCPair(st);this.context.push(Pd.create(this.tree.getCreatedAt(),A,W,De,pe?new Map(Object.entries(pe)):new Map,ne))}removeStyle(u,h,S){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");if(u>h)throw new wt(Et.ErrInvalidArgument,"from should be less than or equal to to");const A=this.tree.findPos(u),W=this.tree.findPos(h),ne=this.context.issueTimeTicket(),[pe,De]=this.tree.removeStyle([A,W],S,ne);for(const $e of De)this.context.registerGCPair($e);this.context.push(Pd.createTreeRemoveStyleOperation(this.tree.getCreatedAt(),A,W,pe,S,ne))}editInternal(u,h,S,A=0){var W;if(S.length!==0&&S[0]&&(zh(S),S[0].type!==Nd))for(const st of S){const{children:Zt=[]}=st;zh(Zt)}const ne=this.context.getLastTimeTicket();let pe=new Array;if(((W=S[0])==null?void 0:W.type)===Nd){let st="";for(const Zt of S){const{value:Xt}=Zt;st+=Xt}pe.push(ll.create(bo.of(this.context.issueTimeTicket(),0),Nd,st))}else pe=S.map(st=>st&&mC(this.context,st)).filter(st=>st);const[,De,$e]=this.tree.edit([u,h],pe.length?pe.map(st=>st==null?void 0:st.deepcopy()):void 0,A,ne,()=>this.context.issueTimeTicket());for(const st of De)this.context.registerGCPair(st);return this.context.push(Pr.create(this.tree.getCreatedAt(),u,h,pe.length?pe:void 0,A,$e,ne)),!0}editByPath(u,h,S,A=0){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");if(u.length!==h.length)throw new wt(Et.ErrInvalidArgument,"path length should be equal");if(!u.length||!h.length)throw new wt(Et.ErrInvalidArgument,"path should not be empty");const W=this.tree.pathToPos(u),ne=this.tree.pathToPos(h);return this.editInternal(W,ne,S?[S]:[],A)}editBulkByPath(u,h,S,A=0){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");if(u.length!==h.length)throw new wt(Et.ErrInvalidArgument,"path length should be equal");if(!u.length||!h.length)throw new wt(Et.ErrInvalidArgument,"path should not be empty");const W=this.tree.pathToPos(u),ne=this.tree.pathToPos(h);return this.editInternal(W,ne,S,A)}edit(u,h,S,A=0){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");if(u>h)throw new wt(Et.ErrInvalidArgument,"from should be less than or equal to to");const W=this.tree.findPos(u),ne=this.tree.findPos(h);return this.editInternal(W,ne,S?[S]:[],A)}editBulk(u,h,S,A=0){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");if(u>h)throw new wt(Et.ErrInvalidArgument,"from should be less than or equal to to");const W=this.tree.findPos(u),ne=this.tree.findPos(h);return this.editInternal(W,ne,S,A)}toXML(){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");return this.tree.toXML()}toJSON(){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");return this.tree.toJSON()}toJSForTest(){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");return this.tree.toJSForTest()}toJSInfoForTest(){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");return this.tree.toJSInfoForTest()}getRootTreeNode(){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");return this.tree.getRootTreeNode()}indexToPath(u){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");return this.tree.indexToPath(u)}pathToIndex(u){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");return this.tree.pathToIndex(u)}pathRangeToPosRange(u){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");const h=[this.tree.pathToIndex(u[0]),this.tree.pathToIndex(u[1])],S=this.tree.indexRangeToPosRange(h);return[S[0].toStruct(),S[1].toStruct()]}indexRangeToPosRange(u){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");return this.tree.indexRangeToPosStructRange(u)}posRangeToIndexRange(u){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");const h=[Fu.fromStruct(u[0]),Fu.fromStruct(u[1])];return this.tree.posRangeToIndexRange(h)}posRangeToPathRange(u){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");const h=[Fu.fromStruct(u[0]),Fu.fromStruct(u[1])];return this.tree.posRangeToPathRange(h)}}function B2(y,u){return F2(y,u)}function Hh(y,u){if(u){if(u instanceof Es)return u;if(u instanceof G)return F2(y,u);if(u instanceof su)return $2(y,u);if(u instanceof Mu)return new tg(y,u);if(u instanceof Nl){const h=new ng(Bu.IntegerCnt,0);return h.initialize(y,u),h}else if(u instanceof Dl){const h=new X1;return h.initialize(y,u),h}}else return;throw new TypeError(`Unsupported type of element: ${typeof u}`)}function E0(y,u){const h=Hh(y,u);return h instanceof Es?h.getValue():h}function Tv(y,u,h){let S;if(Es.isSupport(u))S=Es.of(u,h);else if(Array.isArray(u))S=su.create(h,Ns.buildArrayElements(y,u));else if(typeof u=="object")u instanceof tg?(S=Mu.create(ao.create(),h),u.initialize(y,S)):u instanceof ng?(S=Nl.create(u.getValueType(),u.getValue(),h),u.initialize(y,S)):u instanceof X1?(S=Dl.create(u.buildRoot(y),h),u.initialize(y,S)):S=G.create(h,Y1.buildObjectMembers(y,u));else throw new TypeError(`Unsupported type of value: ${typeof u}`);return S}const gC=50;class t7{constructor(){a(this,"undoStack",[]),a(this,"redoStack",[])}hasUndo(){return this.undoStack.length>0}hasRedo(){return this.redoStack.length>0}pushUndo(u){this.undoStack.length>=gC&&this.undoStack.shift(),this.undoStack.push(u)}popUndo(){return this.undoStack.pop()}pushRedo(u){this.redoStack.length>=gC&&this.redoStack.shift(),this.redoStack.push(u)}popRedo(){return this.redoStack.pop()}clearRedo(){this.redoStack=[]}getUndoStackForTest(){return this.undoStack}getRedoStackForTest(){return this.redoStack}}const bC="yorkie-devtools-panel",yC="yorkie-devtools-sdk";let ig="disconnected";const vC=new Map,kv=new Map;typeof window<"u"&&(window.transactionEventsByDocKey=kv);function _v(y,u){(u!=null&&u.force||ig!=="disconnected")&&window.postMessage({source:yC,...y},"*")}function SC(y){if(!y.isEnableDevtools()||typeof window>"u"||vC.has(y.getKey()))return;kv.set(y.getKey(),[]);const u=y.subscribe("all",h=>{h.some(S=>S.type!==Ho.StatusChanged&&S.type!==Ho.Snapshot&&S.type!==Ho.LocalChange&&S.type!==Ho.RemoteChange&&S.type!==Ho.Initialized&&S.type!==Ho.Watched&&S.type!==Ho.Unwatched&&S.type!==Ho.PresenceChanged)||(kv.get(y.getKey()).push(h),ig==="synced"&&_v({msg:"doc::sync::partial",docKey:y.getKey(),event:h}))});vC.set(y.getKey(),[u]),_v({msg:"refresh-devtools"},{force:!0}),window.addEventListener("message",h=>{var S;if(((S=h.data)==null?void 0:S.source)!==bC)return;switch(h.data.msg){case"devtools::connect":if(ig!=="disconnected")break;ig="connected",_v({msg:"doc::available",docKey:y.getKey()}),ar.info(`[YD] Devtools connected. Doc: ${y.getKey()}`);break;case"devtools::disconnect":ig="disconnected",ar.info(`[YD] Devtools disconnected. Doc: ${y.getKey()}`);break;case"devtools::subscribe":ig="synced",_v({msg:"doc::sync::full",docKey:y.getKey(),events:kv.get(y.getKey())}),ar.info(`[YD] Devtools subscribed. Doc: ${y.getKey()}`);break}})}var Fd=(y=>(y.Detached="detached",y.Attached="attached",y.Removed="removed",y))(Fd||{}),Ho=(y=>(y.StatusChanged="status-changed",y.ConnectionChanged="connection-changed",y.SyncStatusChanged="sync-status-changed",y.Snapshot="snapshot",y.LocalChange="local-change",y.RemoteChange="remote-change",y.Initialized="initialized",y.Watched="watched",y.Unwatched="unwatched",y.PresenceChanged="presence-changed",y.Broadcast="broadcast",y.LocalBroadcast="local-broadcast",y))(Ho||{}),Av=(y=>(y.Connected="connected",y.Disconnected="disconnected",y))(Av||{}),Cv=(y=>(y.Synced="synced",y.SyncFailed="sync-failed",y))(Cv||{});class U2{constructor(u,h){a(this,"key"),a(this,"status"),a(this,"opts"),a(this,"changeID"),a(this,"checkpoint"),a(this,"localChanges"),a(this,"root"),a(this,"clone"),a(this,"eventStream"),a(this,"eventStreamObserver"),a(this,"onlineClients"),a(this,"presences"),a(this,"history"),a(this,"internalHistory"),a(this,"isUpdating"),this.opts=h||{},this.key=u,this.status="detached",this.root=eg.create(),this.changeID=KA,this.checkpoint=zN,this.localChanges=[],this.eventStream=e7(S=>{this.eventStreamObserver=S}),this.onlineClients=new Set,this.presences=new Map,this.isUpdating=!1,this.internalHistory=new t7,this.history={canUndo:this.canUndo.bind(this),canRedo:this.canRedo.bind(this),undo:this.undo.bind(this),redo:this.redo.bind(this)},SC(this)}update(u,h){if(this.getStatus()==="removed")throw new wt(Et.ErrDocumentRemoved,`${this.key} is removed`);this.ensureClone();const S=this.changeID.getActorID(),A=Jm.create(this.changeID.next(),this.clone.root,this.clone.presences.get(S)||{},h);try{const W=B2(A,this.clone.root.getObject());this.presences.has(S)||this.clone.presences.set(S,{}),this.isUpdating=!0,u(W,new av(A,this.clone.presences.get(S)))}catch(W){throw this.clone=void 0,W}finally{this.isUpdating=!1}if(A.hasChange()){ar.isEnabled(oo.Trivial)&&ar.trivial(`trying to update a local change: ${this.toJSON()}`);const W=A.getChange(),{opInfos:ne,reverseOps:pe}=W.execute(this.root,this.presences,K.Local),De=A.getReversePresence();De&&pe.push({type:"presence",value:De}),this.localChanges.push(W),pe.length>0&&this.internalHistory.pushUndo(pe),ne.length>0&&this.internalHistory.clearRedo(),this.changeID=W.getID();const $e=[];ne.length>0&&$e.push({type:"local-change",source:K.Local,value:{message:W.getMessage()||"",operations:ne,actor:S,clientSeq:W.getID().getClientSeq(),serverSeq:W.getID().getServerSeq()},rawChange:this.isEnableDevtools()?W.toStruct():void 0}),W.hasPresenceChange()&&$e.push({type:"presence-changed",source:K.Local,value:{clientID:S,presence:this.getPresence(S)}}),this.publish($e),ar.isEnabled(oo.Trivial)&&ar.trivial(`after update a local change: ${this.toJSON()}`)}}subscribe(u,h,S,A){if(typeof u=="string"){if(typeof h!="function")throw new wt(Et.ErrInvalidArgument,"Second argument must be a callback function");if(u==="presence"){const pe=h;return this.eventStream.subscribe(De=>{for(const $e of De)$e.type!=="initialized"&&$e.type!=="watched"&&$e.type!=="unwatched"&&$e.type!=="presence-changed"||pe($e)},S,A)}if(u==="my-presence"){const pe=h;return this.eventStream.subscribe(De=>{for(const $e of De)$e.type!=="initialized"&&$e.type!=="presence-changed"||$e.type==="presence-changed"&&$e.value.clientID!==this.changeID.getActorID()||pe($e)},S,A)}if(u==="others"){const pe=h;return this.eventStream.subscribe(De=>{for(const $e of De)$e.type!=="watched"&&$e.type!=="unwatched"&&$e.type!=="presence-changed"||$e.value.clientID!==this.changeID.getActorID()&&pe($e)},S,A)}if(u==="connection"){const pe=h;return this.eventStream.subscribe(De=>{for(const $e of De)$e.type==="connection-changed"&&pe($e)},S,A)}if(u==="status"){const pe=h;return this.eventStream.subscribe(De=>{for(const $e of De)$e.type==="status-changed"&&pe($e)},S,A)}if(u==="sync"){const pe=h;return this.eventStream.subscribe(De=>{for(const $e of De)$e.type==="sync-status-changed"&&pe($e)},S,A)}if(u==="local-broadcast"){const pe=h;return this.eventStream.subscribe(De=>{for(const $e of De)$e.type==="local-broadcast"&&pe($e)},S)}if(u==="broadcast"){const pe=h;return this.eventStream.subscribe(De=>{for(const $e of De)$e.type==="broadcast"&&pe($e)},S)}if(u==="all"){const pe=h;return this.eventStream.subscribe(pe,S,A)}const W=u,ne=h;return this.eventStream.subscribe(pe=>{for(const De of pe){if(De.type!=="local-change"&&De.type!=="remote-change")continue;const $e=[];for(const st of De.value.operations)this.isSameElementOrChildOf(st.path,W)&&$e.push(st);$e.length&&ne({...De,value:{...De.value,operations:$e}})}},S,A)}if(typeof u=="function"){const W=u,ne=h,pe=S;return this.eventStream.subscribe(De=>{for(const $e of De)$e.type!=="snapshot"&&$e.type!=="local-change"&&$e.type!=="remote-change"||W($e)},ne,pe)}throw new wt(Et.ErrInvalidArgument,`"${u}" is not a valid`)}publish(u){this.eventStreamObserver&&this.eventStreamObserver.next(u)}isSameElementOrChildOf(u,h){if(h===u)return!0;const S=u.split(".");return h.split(".").every((W,ne)=>W===S[ne])}applyChangePack(u){const h=u.hasSnapshot();for(h?this.applySnapshot(u.getCheckpoint().getServerSeq(),u.getVersionVector(),u.getSnapshot()):u.hasChanges()&&this.applyChanges(u.getChanges(),K.Remote);this.localChanges.length&&!(this.localChanges[0].getID().getClientSeq()>u.getCheckpoint().getClientSeq());)this.localChanges.shift();h&&this.applyChanges(this.localChanges,K.Remote),this.checkpoint=this.checkpoint.forward(u.getCheckpoint()),h||this.garbageCollect(u.getVersionVector()),h||this.filterVersionVector(u.getVersionVector()),u.getIsRemoved()&&this.applyStatus("removed"),ar.isEnabled(oo.Trivial)&&ar.trivial(`${this.root.toJSON()}`)}getCheckpoint(){return this.checkpoint}getChangeID(){return this.changeID}hasLocalChanges(){return this.localChanges.length>0}ensureClone(){this.clone||(this.clone={root:this.root.deepcopy(),presences:ta(this.presences)})}createChangePack(){const u=Array.from(this.localChanges),h=this.checkpoint.increaseClientSeq(u.length);return pv.create(this.key,h,!1,u,this.getVersionVector())}setActor(u){for(const h of this.localChanges)h.setActor(u);this.changeID=this.changeID.setActor(u)}isEnableDevtools(){return!!this.opts.enableDevtools}getKey(){return this.key}getStatus(){return this.status}getCloneRoot(){if(this.clone)return this.clone.root.getObject()}getRoot(){this.ensureClone();const u=Jm.create(this.changeID.next(),this.clone.root,this.clone.presences.get(this.changeID.getActorID())||{});return B2(u,this.clone.root.getObject())}garbageCollect(u){return this.opts.disableGC?0:(this.clone&&this.clone.root.garbageCollect(u),this.root.garbageCollect(u))}getRootObject(){return this.root.getObject()}getGarbageLen(){return this.root.getGarbageLen()}getGarbageLenFromClone(){return this.clone.root.getGarbageLen()}toJSON(){return this.root.toJSON()}toSortedJSON(){return this.root.toSortedJSON()}getStats(){return this.root.getStats()}toJSForTest(){return{...this.getRoot().toJSForTest(),key:"root"}}applySnapshot(u,h,S){const{root:A,presences:W}=ra.bytesToSnapshot(S);this.root=new eg(A),this.presences=W,this.changeID=this.changeID.setClocks(u,h),this.clone=void 0,this.publish([{type:"snapshot",source:K.Remote,value:{serverSeq:u.toString(),snapshot:this.isEnableDevtools()?ra.bytesToHex(S):void 0,snapshotVector:ra.versionVectorToHex(h)}}])}applyChanges(u,h){ar.isEnabled(oo.Debug)&&ar.debug(`trying to apply ${u.length} remote changes.elements:${this.root.getElementMapSize()}, removeds:${this.root.getGarbageElementSetSize()}`),ar.isEnabled(oo.Trivial)&&ar.trivial(u.map(S=>`${S.getID().toTestString()} ${S.toTestString()}`).join(` -`));for(const S of u)this.applyChange(S,h);ar.isEnabled(oo.Debug)&&ar.debug(`after appling ${u.length} remote changes.elements:${this.root.getElementMapSize()}, removeds:${this.root.getGarbageElementSetSize()}`)}applyChange(u,h){this.ensureClone(),u.execute(this.clone.root,this.clone.presences,h);const S=[],A=u.getID().getActorID();if(u.hasPresenceChange()&&this.onlineClients.has(A)){const ne=u.getPresenceChange();switch(ne.type){case iu.Put:S.push(this.presences.has(A)?{type:"presence-changed",source:h,value:{clientID:A,presence:ne.presence}}:{type:"watched",source:K.Remote,value:{clientID:A,presence:ne.presence}});break;case iu.Clear:S.push({type:"unwatched",source:K.Remote,value:{clientID:A,presence:this.getPresence(A)}}),this.removeOnlineClient(A);break}}const{opInfos:W}=u.execute(this.root,this.presences,h);if(this.changeID=this.changeID.syncClocks(u.getID()),W.length>0){const ne=this.isEnableDevtools()?u.toStruct():void 0;S.push(h===K.Remote?{type:"remote-change",source:h,value:{actor:A,clientSeq:u.getID().getClientSeq(),serverSeq:u.getID().getServerSeq(),message:u.getMessage()||"",operations:W},rawChange:ne}:{type:"local-change",source:h,value:{actor:A,clientSeq:u.getID().getClientSeq(),serverSeq:u.getID().getServerSeq(),message:u.getMessage()||"",operations:W},rawChange:ne})}S.length>0&&this.publish(S)}applyWatchStream(u){if(u.body.case==="initialization"){const h=u.body.value.clientIds,S=new Set;for(const A of h)A!==this.changeID.getActorID()&&S.add(A);this.setOnlineClients(S),this.publish([{type:"initialized",source:K.Local,value:this.getPresences()}]);return}if(u.body.case==="event"){const{type:h,publisher:S}=u.body.value,A=[];if(h===eu.DOCUMENT_WATCHED)this.addOnlineClient(S),this.hasPresence(S)&&A.push({type:"watched",source:K.Remote,value:{clientID:S,presence:this.getPresence(S)}});else if(h===eu.DOCUMENT_UNWATCHED){const W=this.getPresence(S);this.removeOnlineClient(S),W&&A.push({type:"unwatched",source:K.Remote,value:{clientID:S,presence:W}})}else if(h===eu.DOCUMENT_BROADCAST&&u.body.value.body){const{topic:W,payload:ne}=u.body.value.body,pe=new TextDecoder;A.push({type:"broadcast",value:{clientID:S,topic:W,payload:JSON.parse(pe.decode(ne))}})}A.length>0&&this.publish(A)}}applyStatus(u){this.status=u,u==="detached"&&this.setActor(ol),this.publish([{source:u==="removed"?K.Remote:K.Local,type:"status-changed",value:u==="attached"?{status:u,actorID:this.changeID.getActorID()}:{status:u}}])}applyDocEvent(u){if(u.type==="status-changed"){this.applyStatus(u.value.status),u.value.status==="attached"&&this.setActor(u.value.actorID);return}if(u.type==="snapshot"){const{snapshot:h,serverSeq:S,snapshotVector:A}=u.value;if(!h)return;this.applySnapshot(BigInt(S),ra.hexToVersionVector(A),ra.hexToBytes(h));return}if(u.type==="local-change"||u.type==="remote-change"){if(!u.rawChange)return;const h=b0.fromStruct(u.rawChange);this.applyChange(h,u.source)}if(u.type==="initialized"){const h=new Set;for(const{clientID:S,presence:A}of u.value)h.add(S),this.presences.set(S,A);this.setOnlineClients(h);return}if(u.type==="watched"){const{clientID:h,presence:S}=u.value;this.addOnlineClient(h),this.presences.set(h,S);return}if(u.type==="unwatched"){const{clientID:h}=u.value;this.removeOnlineClient(h),this.presences.delete(h)}if(u.type==="presence-changed"){const{clientID:h,presence:S}=u.value;this.presences.set(h,S)}}applyTransactionEvent(u){for(const h of u)this.applyDocEvent(h)}getValueByPath(u){if(!u.startsWith("$"))throw new wt(Et.ErrInvalidArgument,'path must start with "$"');const h=u.split(".");h.shift();let S=this.getRoot();for(const A of h)if(S=S[A],S===void 0)return;return S}setOnlineClients(u){this.onlineClients=u}resetOnlineClients(){this.onlineClients=new Set}addOnlineClient(u){this.onlineClients.add(u)}removeOnlineClient(u){this.onlineClients.delete(u)}hasPresence(u){return this.presences.has(u)}getMyPresence(){if(this.status!=="attached")return{};const u=this.presences.get(this.changeID.getActorID());return u?ta(u):{}}getPresence(u){if(u===this.changeID.getActorID())return this.getMyPresence();if(!this.onlineClients.has(u))return;const h=this.presences.get(u);return h?ta(h):void 0}getPresenceForTest(u){const h=this.presences.get(u);return h?ta(h):void 0}getPresences(){const u=[];u.push({clientID:this.changeID.getActorID(),presence:ta(this.getMyPresence())});for(const h of this.onlineClients)this.presences.has(h)&&u.push({clientID:h,presence:ta(this.presences.get(h))});return u}getSelfForTest(){return{clientID:this.getChangeID().getActorID(),presence:this.getMyPresence()}}getOthersForTest(){const u=this.getChangeID().getActorID();return this.getPresences().filter(h=>h.clientID!==u).sort((h,S)=>h.clientID>S.clientID?1:-1)}canUndo(){return this.internalHistory.hasUndo()&&!this.isUpdating}filterVersionVector(u){const S=this.changeID.getVersionVector().filter(u);this.changeID=this.changeID.setVersionVector(S)}canRedo(){return this.internalHistory.hasRedo()&&!this.isUpdating}undo(){if(this.isUpdating)throw new wt(Et.ErrRefused,"Undo is not allowed during an update");const u=this.internalHistory.popUndo();if(u===void 0)throw new wt(Et.ErrRefused,"There is no operation to be undone");this.ensureClone();const h=Jm.create(this.changeID.next(),this.clone.root,this.clone.presences.get(this.changeID.getActorID())||{});for(const $e of u){if(!($e instanceof ce)){new av(h,ta(this.clone.presences.get(this.changeID.getActorID()))).set($e.value,{addToHistory:!0});continue}const st=h.issueTimeTicket();$e.setExecutedAt(st),h.push($e)}const S=h.getChange();S.execute(this.clone.root,this.clone.presences,K.UndoRedo);const{opInfos:A,reverseOps:W}=S.execute(this.root,this.presences,K.UndoRedo),ne=h.getReversePresence();if(ne&&W.push({type:"presence",value:ne}),W.length>0&&this.internalHistory.pushRedo(W),!S.hasPresenceChange()&&A.length===0)return;this.localChanges.push(S),this.changeID=S.getID();const pe=this.changeID.getActorID(),De=[];A.length>0&&De.push({type:"local-change",source:K.UndoRedo,value:{message:S.getMessage()||"",operations:A,actor:pe,clientSeq:S.getID().getClientSeq(),serverSeq:S.getID().getServerSeq()},rawChange:this.isEnableDevtools()?S.toStruct():void 0}),S.hasPresenceChange()&&De.push({type:"presence-changed",source:K.UndoRedo,value:{clientID:pe,presence:this.getPresence(pe)}}),this.publish(De)}redo(){if(this.isUpdating)throw new wt(Et.ErrRefused,"Redo is not allowed during an update");const u=this.internalHistory.popRedo();if(u===void 0)throw new wt(Et.ErrRefused,"There is no operation to be redone");this.ensureClone();const h=Jm.create(this.changeID.next(),this.clone.root,this.clone.presences.get(this.changeID.getActorID())||{});for(const $e of u){if(!($e instanceof ce)){new av(h,ta(this.clone.presences.get(this.changeID.getActorID()))).set($e.value,{addToHistory:!0});continue}const st=h.issueTimeTicket();$e.setExecutedAt(st),h.push($e)}const S=h.getChange();S.execute(this.clone.root,this.clone.presences,K.UndoRedo);const{opInfos:A,reverseOps:W}=S.execute(this.root,this.presences,K.UndoRedo),ne=h.getReversePresence();if(ne&&W.push({type:"presence",value:ne}),W.length>0&&this.internalHistory.pushUndo(W),!S.hasPresenceChange()&&A.length===0)return;this.localChanges.push(S),this.changeID=S.getID();const pe=this.changeID.getActorID(),De=[];A.length>0&&De.push({type:"local-change",source:K.UndoRedo,value:{message:S.getMessage()||"",operations:A,actor:pe,clientSeq:S.getID().getClientSeq(),serverSeq:S.getID().getServerSeq()},rawChange:this.isEnableDevtools()?S.toStruct():void 0}),S.hasPresenceChange()&&De.push({type:"presence-changed",source:K.UndoRedo,value:{clientID:pe,presence:this.getPresence(pe)}}),this.publish(De)}getUndoStackForTest(){return this.internalHistory.getUndoStackForTest()}getRedoStackForTest(){return this.internalHistory.getRedoStackForTest()}broadcast(u,h,S){const A={type:"local-broadcast",value:{topic:u,payload:h},options:S};this.publish([A])}getVersionVector(){return this.changeID.getVersionVector()}}function OC(y,u){return h=>async S=>(y&&S.header.set("x-api-key",y),u&&S.header.set("authorization",u),await h(S))}const Rv={name:"yorkie-js-sdk",version:"0.5.4",description:"Yorkie JS SDK",main:"./src/yorkie.ts",publishConfig:{access:"public",main:"./dist/yorkie-js-sdk.js",typings:"./dist/yorkie-js-sdk.d.ts"},files:["dist"],scripts:{build:"tsc && vite build","build:proto":"npx buf generate","build:docs":"typedoc","build:ghpages":"mkdir -p ghpages/examples && cp -r docs ghpages/api-reference && find ../../examples -name 'dist' -type d -exec sh -c 'cp -r {} ghpages/examples/$(basename $(dirname {}))' \\;",dev:"vite build -c vite.preview.ts && vite preview",test:"vitest run","test:watch":"vitest","test:bench":"vitest bench","test:ci":"vitest run --coverage","test:yorkie.dev":"TEST_RPC_ADDR=https://api.yorkie.dev vitest run --coverage",prepare:"pnpm build"},engines:{node:">=18.0.0",npm:">=7.1.0"},repository:{type:"git",url:"git+https://github.com/yorkie-team/yorkie-js-sdk.git"},author:{name:"hackerwins",email:"susukang98@gmail.com"},license:"Apache-2.0",bugs:{url:"https://github.com/yorkie-team/yorkie-js-sdk/issues"},homepage:"https://github.com/yorkie-team/yorkie-js-sdk#readme",devDependencies:{"@buf/googleapis_googleapis.bufbuild_es":"^1.4.0-20240524201209-f0e53af8f2fc.3","@bufbuild/buf":"^1.28.1","@bufbuild/protoc-gen-es":"^1.6.0","@connectrpc/protoc-gen-connect-es":"^1.4.0","@types/google-protobuf":"^3.15.5","@types/long":"^4.0.1","@typescript-eslint/eslint-plugin":"^6.21.0","@typescript-eslint/parser":"^6.21.0","@vitest/coverage-istanbul":"^0.34.5","@vitest/coverage-v8":"^0.34.5","eslint-plugin-tsdoc":"^0.2.16",prettier:"^2.7.1","ts-node":"^10.9.1",typedoc:"^0.25.13",typescript:"^5.3.3","typescript-transform-paths":"^3.3.1",vite:"^5.0.12","vite-plugin-commonjs":"^0.10.1","vite-plugin-dts":"^3.9.1","vite-tsconfig-paths":"^4.2.1",vitest:"^0.34.5"},dependencies:{"@bufbuild/protobuf":"^1.6.0","@connectrpc/connect":"^1.4.0","@connectrpc/connect-web":"^1.4.0",long:"^5.2.0"}};function r7(){return y=>async u=>(u.header.set("x-yorkie-user-agent",Rv.name+"/"+Rv.version),await y(u))}const i7=y=>{try{if(JSON.stringify(y)===void 0)return!1}catch{return!1}return!0};var K1=(y=>(y.Manual="manual",y.Realtime="realtime",y.RealtimePushOnly="realtime-pushonly",y.RealtimeSyncOff="realtime-syncoff",y))(K1||{}),EC=(y=>(y.Deactivated="deactivated",y.Activated="activated",y))(EC||{}),wC=(y=>(y.SyncLoop="SyncLoop",y.WatchLoop="WatchLoop",y))(wC||{});const Iv={syncLoopDuration:50,retrySyncLoopDelay:1e3,reconnectStreamDelay:1e3},z2={maxRetries:1/0,initialRetryInterval:1e3,maxBackoff:2e4};class H2{constructor(u,h){a(this,"id"),a(this,"key"),a(this,"status"),a(this,"attachmentMap"),a(this,"apiKey"),a(this,"conditions"),a(this,"syncLoopDuration"),a(this,"reconnectStreamDelay"),a(this,"retrySyncLoopDelay"),a(this,"rpcClient"),a(this,"taskQueue"),a(this,"processing",!1),h=h||Iv,this.key=h.key?h.key:L2(),this.status="deactivated",this.attachmentMap=new Map,this.apiKey=h.apiKey||"",this.conditions={SyncLoop:!1,WatchLoop:!1},this.syncLoopDuration=h.syncLoopDuration||Iv.syncLoopDuration,this.reconnectStreamDelay=h.reconnectStreamDelay||Iv.reconnectStreamDelay,this.retrySyncLoopDelay=h.retrySyncLoopDelay||Iv.retrySyncLoopDelay,this.rpcClient=Cm(rv,Vp({baseUrl:u,interceptors:[OC(h.apiKey,h.token),r7()]})),this.taskQueue=[]}activate(){return this.isActive()?Promise.resolve():this.enqueueTask(async()=>this.rpcClient.activateClient({clientKey:this.key},{headers:{"x-shard-key":this.apiKey}}).then(u=>{this.id=u.clientId,this.status="activated",this.runSyncLoop(),ar.info(`[AC] c:"${this.getKey()}" activated, id:"${this.id}"`)}).catch(u=>{throw ar.error(`[AC] c:"${this.getKey()}" err :`,u),this.handleConnectError(u),u}))}deactivate(){return this.status==="deactivated"?Promise.resolve():this.enqueueTask(async()=>this.rpcClient.deactivateClient({clientId:this.id},{headers:{"x-shard-key":this.apiKey}}).then(()=>{this.deactivateInternal(),ar.info(`[DC] c"${this.getKey()}" deactivated`)}).catch(u=>{throw ar.error(`[DC] c:"${this.getKey()}" err :`,u),this.handleConnectError(u),u}))}attach(u,h={}){if(!this.isActive())throw new wt(Et.ErrClientNotActivated,`${this.key} is not active`);if(u.getStatus()!==Fd.Detached)throw new wt(Et.ErrDocumentNotDetached,`${u.getKey()} is not detached`);u.setActor(this.id),u.update((W,ne)=>ne.set(h.initialPresence||{}));const S=u.subscribe("local-broadcast",async W=>{var ne;const{topic:pe,payload:De}=W.value,$e=(ne=W.options)==null?void 0:ne.error,st=W.options;try{await this.broadcast(u.getKey(),pe,De,st)}catch(Zt){Zt instanceof Error&&($e==null||$e(Zt))}}),A=h.syncMode??"realtime";return this.enqueueTask(async()=>this.rpcClient.attachDocument({clientId:this.id,changePack:ra.toChangePack(u.createChangePack())},{headers:{"x-shard-key":`${this.apiKey}/${u.getKey()}`}}).then(async W=>{const ne=ra.fromChangePack(W.changePack);if(u.applyChangePack(ne),u.getStatus()===Fd.Removed)return u;u.applyStatus(Fd.Attached),this.attachmentMap.set(u.getKey(),new hC(this.reconnectStreamDelay,u,W.documentId,A,S)),A!=="manual"&&await this.runWatchLoop(u.getKey()),ar.info(`[AD] c:"${this.getKey()}" attaches d:"${u.getKey()}"`);const pe=u.getRootObject();if(h.initialRoot){const De=h.initialRoot;u.update($e=>{for(const[st,Zt]of Object.entries(De))if(!pe.has(st)){const Xt=st;$e[Xt]=Zt}})}return u}).catch(W=>{throw ar.error(`[AD] c:"${this.getKey()}" err :`,W),this.handleConnectError(W),W}))}detach(u,h={}){if(!this.isActive())throw new wt(Et.ErrClientNotActivated,`${this.key} is not active`);const S=this.attachmentMap.get(u.getKey());if(!S)throw new wt(Et.ErrDocumentNotAttached,`${u.getKey()} is not attached`);return u.update((A,W)=>W.clear()),this.enqueueTask(async()=>this.rpcClient.detachDocument({clientId:this.id,documentId:S.docID,changePack:ra.toChangePack(u.createChangePack()),removeIfNotAttached:h.removeIfNotAttached??!1},{headers:{"x-shard-key":`${this.apiKey}/${u.getKey()}`}}).then(A=>{const W=ra.fromChangePack(A.changePack);return u.applyChangePack(W),u.getStatus()!==Fd.Removed&&u.applyStatus(Fd.Detached),this.detachInternal(u.getKey()),ar.info(`[DD] c:"${this.getKey()}" detaches d:"${u.getKey()}"`),u}).catch(A=>{throw ar.error(`[DD] c:"${this.getKey()}" err :`,A),this.handleConnectError(A),A}))}async changeSyncMode(u,h){if(!this.isActive())throw new wt(Et.ErrClientNotActivated,`${this.key} is not active`);const S=this.attachmentMap.get(u.getKey());if(!S)throw new wt(Et.ErrDocumentNotAttached,`${u.getKey()} is not attached`);const A=S.syncMode;return A===h?u:(S.changeSyncMode(h),h==="manual"?(S.cancelWatchStream(),u):(h==="realtime"&&(S.remoteChangeEventReceived=!0),A==="manual"&&await this.runWatchLoop(u.getKey()),u))}sync(u){if(!this.isActive())throw new wt(Et.ErrClientNotActivated,`${this.key} is not active`);if(u){const h=this.attachmentMap.get(u.getKey());if(!h)throw new wt(Et.ErrDocumentNotAttached,`${u.getKey()} is not attached`);return this.enqueueTask(async()=>this.syncInternal(h,"realtime").catch(S=>{throw ar.error(`[SY] c:"${this.getKey()}" err :`,S),this.handleConnectError(S),S}))}return this.enqueueTask(async()=>{const h=[];for(const[,S]of this.attachmentMap)h.push(this.syncInternal(S,S.syncMode));return Promise.all(h).catch(S=>{throw ar.error(`[SY] c:"${this.getKey()}" err :`,S),this.handleConnectError(S),S})})}remove(u){if(!this.isActive())throw new wt(Et.ErrClientNotActivated,`${this.key} is not active`);const h=this.attachmentMap.get(u.getKey());if(!h)throw new wt(Et.ErrDocumentNotAttached,`${u.getKey()} is not attached`);u.setActor(this.id);const S=ra.toChangePack(u.createChangePack());return S.isRemoved=!0,this.enqueueTask(async()=>this.rpcClient.removeDocument({clientId:this.id,documentId:h.docID,changePack:S},{headers:{"x-shard-key":`${this.apiKey}/${u.getKey()}`}}).then(A=>{const W=ra.fromChangePack(A.changePack);u.applyChangePack(W),this.detachInternal(u.getKey()),ar.info(`[RD] c:"${this.getKey()}" removes d:"${u.getKey()}"`)}).catch(A=>{throw ar.error(`[RD] c:"${this.getKey()}" err :`,A),this.handleConnectError(A),A}))}getID(){return this.id}getKey(){return this.key}isActive(){return this.status==="activated"}getStatus(){return this.status}getCondition(u){return this.conditions[u]}broadcast(u,h,S,A){if(!this.isActive())throw new wt(Et.ErrClientNotActivated,`${this.key} is not active`);const W=this.attachmentMap.get(u);if(!W)throw new wt(Et.ErrDocumentNotAttached,`${u} is not attached`);if(!i7(S))throw new wt(Et.ErrInvalidArgument,"payload is not serializable");const ne=(A==null?void 0:A.maxRetries)??z2.maxRetries,pe=z2.maxBackoff;let De=0;const $e=Zt=>Math.min(z2.initialRetryInterval*2**Zt,pe),st=async()=>this.enqueueTask(async()=>this.rpcClient.broadcast({clientId:this.id,documentId:W.docID,topic:h,payload:new TextEncoder().encode(JSON.stringify(S))},{headers:{"x-shard-key":`${this.apiKey}/${u}`}}).then(()=>{ar.info(`[BC] c:"${this.getKey()}" broadcasts d:"${u}" t:"${h}"`)}).catch(Zt=>{if(ar.error(`[BC] c:"${this.getKey()}" err:`,Zt),this.handleConnectError(Zt))if(Dest(),$e(De-1)),ar.info(`[BC] c:"${this.getKey()}" retry attempt ${De}/${ne}`);else throw ar.error(`[BC] c:"${this.getKey()}" exceeded maximum retry attempts`),Zt;else throw Zt}));return st()}runSyncLoop(){const u=()=>{if(!this.isActive()){ar.debug(`[SL] c:"${this.getKey()}" exit sync loop`),this.conditions.SyncLoop=!1;return}const h=[];for(const[,S]of this.attachmentMap)S.needRealtimeSync()&&(S.remoteChangeEventReceived=!1,h.push(this.syncInternal(S,S.syncMode)));Promise.all(h).then(()=>setTimeout(u,this.syncLoopDuration)).catch(S=>{ar.error(`[SL] c:"${this.getKey()}" sync failed:`,S),this.handleConnectError(S)?setTimeout(u,this.retrySyncLoopDelay):this.conditions.SyncLoop=!1})};ar.debug(`[SL] c:"${this.getKey()}" run sync loop`),this.conditions.SyncLoop=!0,u()}async runWatchLoop(u){const h=this.attachmentMap.get(u);if(!h)throw new wt(Et.ErrDocumentNotAttached,`${u} is not attached`);return this.conditions.WatchLoop=!0,h.runWatchLoop(S=>{if(!this.isActive())return this.conditions.WatchLoop=!1,Promise.reject(new wt(Et.ErrClientNotActivated,`${this.key} is not active`));const A=new AbortController,W=this.rpcClient.watchDocument({clientId:this.id,documentId:h.docID},{headers:{"x-shard-key":`${this.apiKey}/${u}`},signal:A.signal});return h.doc.publish([{type:Ho.ConnectionChanged,value:Av.Connected}]),ar.info(`[WD] c:"${this.getKey()}" watches d:"${u}"`),new Promise((ne,pe)=>{(async()=>{try{for await(const $e of W)this.handleWatchDocumentsResponse(h,$e),$e.body.case==="initialization"&&ne([W,A])}catch($e){h.doc.resetOnlineClients(),h.doc.publish([{type:Ho.Initialized,source:K.Local,value:h.doc.getPresences()}]),h.doc.publish([{type:Ho.ConnectionChanged,value:Av.Disconnected}]),ar.debug(`[WD] c:"${this.getKey()}" unwatches`),this.handleConnectError($e)?S():this.conditions.WatchLoop=!1,pe($e)}})()})})}handleWatchDocumentsResponse(u,h){if(h.body.case==="event"&&h.body.value.type===eu.DOCUMENT_CHANGED){u.remoteChangeEventReceived=!0;return}u.doc.applyWatchStream(h)}deactivateInternal(){this.status="deactivated";for(const[u,h]of this.attachmentMap)this.detachInternal(u),h.doc.applyStatus(Fd.Detached)}detachInternal(u){const h=this.attachmentMap.get(u);h&&(h.cancelWatchStream(),h.unsubscribeBroadcastEvent(),this.attachmentMap.delete(u))}syncInternal(u,h){const{doc:S,docID:A}=u,W=S.createChangePack();return this.rpcClient.pushPullChanges({clientId:this.id,documentId:A,changePack:ra.toChangePack(W),pushOnly:h==="realtime-pushonly"},{headers:{"x-shard-key":`${this.apiKey}/${S.getKey()}`}}).then(ne=>{const pe=ra.fromChangePack(ne.changePack);if(pe.hasChanges()&&(u.syncMode==="realtime-pushonly"||u.syncMode==="realtime-syncoff"))return S;S.applyChangePack(pe),u.doc.publish([{type:Ho.SyncStatusChanged,value:Cv.Synced}]),S.getStatus()===Fd.Removed&&this.detachInternal(S.getKey());const De=S.getKey(),$e=pe.getChangeSize();return ar.info(`[PP] c:"${this.getKey()}" sync d:"${De}", push:${W.getChangeSize()} pull:${$e} cp:${pe.getCheckpoint().toTestString()}`),S}).catch(ne=>{throw S.publish([{type:Ho.SyncStatusChanged,value:Cv.SyncFailed}]),ar.error(`[PP] c:"${this.getKey()}" err :`,ne),ne})}handleConnectError(u){return u instanceof _?u.code===x.Canceled||u.code===x.Unknown||u.code===x.ResourceExhausted||u.code===x.Unavailable?!0:((x2(u)===Et.ErrClientNotActivated||x2(u)===Et.ErrClientNotFound)&&this.deactivateInternal(),!1):!1}enqueueTask(u){return new Promise((h,S)=>{this.taskQueue.push(()=>u().then(h).catch(S)),this.processing||this.processNext()})}async processNext(){if(this.taskQueue.length===0){this.processing=!1;return}try{this.processing=!0,await this.taskQueue.shift()()}catch{ar.error(`[TQ] c:"${this.getKey()}" process failed, id:"${this.id}"`)}this.processNext()}}const s7=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),a7={Client:H2,Document:U2,Primitive:Es,Text:tg,Counter:ng,Tree:X1,LogLevel:oo,setLogLevel:P2,IntType:Bu.IntegerCnt,LongType:Bu.LongCnt};typeof globalThis<"u"&&(globalThis.yorkie={Client:H2,Document:U2,Primitive:Es,Text:tg,Counter:ng,Tree:X1,LogLevel:oo,setLogLevel:P2,IntType:Bu.IntegerCnt,LongType:Bu.LongCnt}),r.Change=b0,r.Client=H2,r.ClientCondition=wC,r.ClientStatus=EC,r.Counter=ng,r.Devtools=s7,r.DocEventType=Ho,r.Document=U2,r.DocumentStatus=Fd,r.DocumentSyncStatus=Cv,r.EventSourceDevPanel=bC,r.EventSourceSDK=yC,r.LogLevel=oo,r.OpSource=K,r.Primitive=Es,r.StreamConnectionStatus=Av,r.SyncMode=K1,r.Text=tg,r.TimeTicket=Uo,r.Tree=X1,r.VersionVector=g0,r.converter=ra,r.default=a7,r.setLogLevel=P2,Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})})})(DB,DB.exports);var wI=DB.exports;class _ut{constructor(t,n){Qa(this,"doc");Qa(this,"client");this.doc=t,this.client=n}}const Sj=Gn.define({combine(e){return e[e.length-1]}});class Aut{constructor(t){Qa(this,"view");Qa(this,"conf");Qa(this,"_doc");this.view=t,this.conf=t.state.facet(Sj),this._doc=this.conf.doc,this._doc.subscribe(n=>{if(n.type!=="snapshot")return;const r=this._doc.getRoot().content,i=this._doc.getMyPresence().selection,s={changes:{from:0,to:t.state.doc.length,insert:r.toString()},annotations:[da.remote.of(!0)]};if(i){const a=r.posRangeToIndexRange(i);s.selection={anchor:a[0],head:a[1]}}t.dispatch(s)}),this._doc.update(n=>{n.content||(n.content=new wI.Text)}),this._doc.subscribe("$.content",n=>{if(n.type!=="remote-change")return;const{operations:r}=n.value;r.forEach(i=>{if(i.type==="edit"){const s=[{from:Math.max(0,i.from),to:Math.max(0,i.to),insert:i.value.content}];t.dispatch({changes:s,annotations:[da.remote.of(!0)]})}})})}update(t){if(t.docChanged)for(const n of t.transactions){if(!["select","input","delete","move","undo","redo"].some(s=>n.isUserEvent(s))||n.annotation(da.remote))continue;let i=0;this._doc.update(s=>{n.changes.iterChanges((a,o,l,c,d)=>{const f=d.toJSON().join(` -`);s.content.edit(a+i,o+i,f),i+=f.length-(o-a)})})}}}const Cut=pa.fromClass(Aut);var xI={exports:{}};/** + */var Ge=null;try{Ge=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch{}function et(y,u,h){this.low=y|0,this.high=u|0,this.unsigned=!!h}et.prototype.__isLong__,Object.defineProperty(et.prototype,"__isLong__",{value:!0});function lt(y){return(y&&y.__isLong__)===!0}function Tt(y){var u=Math.clz32(y&-y);return y?31-u:u}et.isLong=lt;var an={},_n={};function Mn(y,u){var h,S,A;return u?(y>>>=0,(A=0<=y&&y<256)&&(S=_n[y],S)?S:(h=Tn(y,0,!0),A&&(_n[y]=h),h)):(y|=0,(A=-128<=y&&y<128)&&(S=an[y],S)?S:(h=Tn(y,y<0?-1:0,!1),A&&(an[y]=h),h))}et.fromInt=Mn;function lr(y,u){if(isNaN(y))return u?vi:Ur;if(u){if(y<0)return vi;if(y>=zo)return Il}else{if(y<=-ni)return qa;if(y+1>=ni)return U1}return y<0?lr(-y,u).neg():Tn(y%Ws|0,y/Ws|0,u)}et.fromNumber=lr;function Tn(y,u,h){return new et(y,u,h)}et.fromBits=Tn;var Dr=Math.pow;function Ar(y,u,h){if(y.length===0)throw Error("empty string");if(typeof u=="number"?(h=u,u=!1):u=!!u,y==="NaN"||y==="Infinity"||y==="+Infinity"||y==="-Infinity")return u?vi:Ur;if(h=h||10,h<2||360)throw Error("interior hyphen");if(S===0)return Ar(y.substring(1),u,h).neg();for(var A=lr(Dr(h,8)),W=Ur,ne=0;ne>>0:this.low},dn.toNumber=function(){return this.unsigned?(this.high>>>0)*Ws+(this.low>>>0):this.high*Ws+(this.low>>>0)},dn.toString=function(u){if(u=u||10,u<2||36>>0,st=$e.toString(u);if(ne=De,ne.isZero())return st+pe;for(;st.length<6;)st="0"+st;pe=""+st+pe}},dn.getHighBits=function(){return this.high},dn.getHighBitsUnsigned=function(){return this.high>>>0},dn.getLowBits=function(){return this.low},dn.getLowBitsUnsigned=function(){return this.low>>>0},dn.getNumBitsAbs=function(){if(this.isNegative())return this.eq(qa)?64:this.neg().getNumBitsAbs();for(var u=this.high!=0?this.high:this.low,h=31;h>0&&!(u&1<=0},dn.isOdd=function(){return(this.low&1)===1},dn.isEven=function(){return(this.low&1)===0},dn.equals=function(u){return lt(u)||(u=Zr(u)),this.unsigned!==u.unsigned&&this.high>>>31===1&&u.high>>>31===1?!1:this.high===u.high&&this.low===u.low},dn.eq=dn.equals,dn.notEquals=function(u){return!this.eq(u)},dn.neq=dn.notEquals,dn.ne=dn.notEquals,dn.lessThan=function(u){return this.comp(u)<0},dn.lt=dn.lessThan,dn.lessThanOrEqual=function(u){return this.comp(u)<=0},dn.lte=dn.lessThanOrEqual,dn.le=dn.lessThanOrEqual,dn.greaterThan=function(u){return this.comp(u)>0},dn.gt=dn.greaterThan,dn.greaterThanOrEqual=function(u){return this.comp(u)>=0},dn.gte=dn.greaterThanOrEqual,dn.ge=dn.greaterThanOrEqual,dn.compare=function(u){if(lt(u)||(u=Zr(u)),this.eq(u))return 0;var h=this.isNegative(),S=u.isNegative();return h&&!S?-1:!h&&S?1:this.unsigned?u.high>>>0>this.high>>>0||u.high===this.high&&u.low>>>0>this.low>>>0?-1:1:this.sub(u).isNegative()?-1:1},dn.comp=dn.compare,dn.negate=function(){return!this.unsigned&&this.eq(qa)?qa:this.not().add(Hi)},dn.neg=dn.negate,dn.add=function(u){lt(u)||(u=Zr(u));var h=this.high>>>16,S=this.high&65535,A=this.low>>>16,W=this.low&65535,ne=u.high>>>16,pe=u.high&65535,De=u.low>>>16,$e=u.low&65535,st=0,Zt=0,Xt=0,Ft=0;return Ft+=W+$e,Xt+=Ft>>>16,Ft&=65535,Xt+=A+De,Zt+=Xt>>>16,Xt&=65535,Zt+=S+pe,st+=Zt>>>16,Zt&=65535,st+=h+ne,st&=65535,Tn(Xt<<16|Ft,st<<16|Zt,this.unsigned)},dn.subtract=function(u){return lt(u)||(u=Zr(u)),this.add(u.neg())},dn.sub=dn.subtract,dn.multiply=function(u){if(this.isZero())return this;if(lt(u)||(u=Zr(u)),Ge){var h=Ge.mul(this.low,this.high,u.low,u.high);return Tn(h,Ge.get_high(),this.unsigned)}if(u.isZero())return this.unsigned?vi:Ur;if(this.eq(qa))return u.isOdd()?qa:Ur;if(u.eq(qa))return this.isOdd()?qa:Ur;if(this.isNegative())return u.isNegative()?this.neg().mul(u.neg()):this.neg().mul(u).neg();if(u.isNegative())return this.mul(u.neg()).neg();if(this.lt(Ii)&&u.lt(Ii))return lr(this.toNumber()*u.toNumber(),this.unsigned);var S=this.high>>>16,A=this.high&65535,W=this.low>>>16,ne=this.low&65535,pe=u.high>>>16,De=u.high&65535,$e=u.low>>>16,st=u.low&65535,Zt=0,Xt=0,Ft=0,xn=0;return xn+=ne*st,Ft+=xn>>>16,xn&=65535,Ft+=W*st,Xt+=Ft>>>16,Ft&=65535,Ft+=ne*$e,Xt+=Ft>>>16,Ft&=65535,Xt+=A*st,Zt+=Xt>>>16,Xt&=65535,Xt+=W*$e,Zt+=Xt>>>16,Xt&=65535,Xt+=ne*De,Zt+=Xt>>>16,Xt&=65535,Zt+=S*st+A*$e+W*De+ne*pe,Zt&=65535,Tn(Ft<<16|xn,Zt<<16|Xt,this.unsigned)},dn.mul=dn.multiply,dn.divide=function(u){if(lt(u)||(u=Zr(u)),u.isZero())throw Error("division by zero");if(Ge){if(!this.unsigned&&this.high===-2147483648&&u.low===-1&&u.high===-1)return this;var h=(this.unsigned?Ge.div_u:Ge.div_s)(this.low,this.high,u.low,u.high);return Tn(h,Ge.get_high(),this.unsigned)}if(this.isZero())return this.unsigned?vi:Ur;var S,A,W;if(this.unsigned){if(u.unsigned||(u=u.toUnsigned()),u.gt(this))return vi;if(u.gt(this.shru(1)))return Lr;W=vi}else{if(this.eq(qa)){if(u.eq(Hi)||u.eq(io))return qa;if(u.eq(qa))return Hi;var ne=this.shr(1);return S=ne.div(u).shl(1),S.eq(Ur)?u.isNegative()?Hi:io:(A=this.sub(u.mul(S)),W=S.add(A.div(u)),W)}else if(u.eq(qa))return this.unsigned?vi:Ur;if(this.isNegative())return u.isNegative()?this.neg().div(u.neg()):this.neg().div(u).neg();if(u.isNegative())return this.div(u.neg()).neg();W=Ur}for(A=this;A.gte(u);){S=Math.max(1,Math.floor(A.toNumber()/u.toNumber()));for(var pe=Math.ceil(Math.log(S)/Math.LN2),De=pe<=48?1:Dr(2,pe-48),$e=lr(S),st=$e.mul(u);st.isNegative()||st.gt(A);)S-=De,$e=lr(S,this.unsigned),st=$e.mul(u);$e.isZero()&&($e=Hi),W=W.add($e),A=A.sub(st)}return W},dn.div=dn.divide,dn.modulo=function(u){if(lt(u)||(u=Zr(u)),Ge){var h=(this.unsigned?Ge.rem_u:Ge.rem_s)(this.low,this.high,u.low,u.high);return Tn(h,Ge.get_high(),this.unsigned)}return this.sub(this.div(u).mul(u))},dn.mod=dn.modulo,dn.rem=dn.modulo,dn.not=function(){return Tn(~this.low,~this.high,this.unsigned)},dn.countLeadingZeros=function(){return this.high?Math.clz32(this.high):Math.clz32(this.low)+32},dn.clz=dn.countLeadingZeros,dn.countTrailingZeros=function(){return this.low?Tt(this.low):Tt(this.high)+32},dn.ctz=dn.countTrailingZeros,dn.and=function(u){return lt(u)||(u=Zr(u)),Tn(this.low&u.low,this.high&u.high,this.unsigned)},dn.or=function(u){return lt(u)||(u=Zr(u)),Tn(this.low|u.low,this.high|u.high,this.unsigned)},dn.xor=function(u){return lt(u)||(u=Zr(u)),Tn(this.low^u.low,this.high^u.high,this.unsigned)},dn.shiftLeft=function(u){return lt(u)&&(u=u.toInt()),(u&=63)===0?this:u<32?Tn(this.low<>>32-u,this.unsigned):Tn(0,this.low<>>u|this.high<<32-u,this.high>>u,this.unsigned):Tn(this.high>>u-32,this.high>=0?0:-1,this.unsigned)},dn.shr=dn.shiftRight,dn.shiftRightUnsigned=function(u){return lt(u)&&(u=u.toInt()),(u&=63)===0?this:u<32?Tn(this.low>>>u|this.high<<32-u,this.high>>>u,this.unsigned):u===32?Tn(this.high,0,this.unsigned):Tn(this.high>>>u-32,0,this.unsigned)},dn.shru=dn.shiftRightUnsigned,dn.shr_u=dn.shiftRightUnsigned,dn.rotateLeft=function(u){var h;return lt(u)&&(u=u.toInt()),(u&=63)===0?this:u===32?Tn(this.high,this.low,this.unsigned):u<32?(h=32-u,Tn(this.low<>>h,this.high<>>h,this.unsigned)):(u-=32,h=32-u,Tn(this.high<>>h,this.low<>>h,this.unsigned))},dn.rotl=dn.rotateLeft,dn.rotateRight=function(u){var h;return lt(u)&&(u=u.toInt()),(u&=63)===0?this:u===32?Tn(this.high,this.low,this.unsigned):u<32?(h=32-u,Tn(this.high<>>u,this.low<>>u,this.unsigned)):(u-=32,h=32-u,Tn(this.low<>>u,this.high<>>u,this.unsigned))},dn.rotr=dn.rotateRight,dn.toSigned=function(){return this.unsigned?Tn(this.low,this.high,!1):this},dn.toUnsigned=function(){return this.unsigned?this:Tn(this.low,this.high,!0)},dn.toBytes=function(u){return u?this.toBytesLE():this.toBytesBE()},dn.toBytesLE=function(){var u=this.high,h=this.low;return[h&255,h>>>8&255,h>>>16&255,h>>>24,u&255,u>>>8&255,u>>>16&255,u>>>24]},dn.toBytesBE=function(){var u=this.high,h=this.low;return[u>>>24,u>>>16&255,u>>>8&255,u&255,h>>>24,h>>>16&255,h>>>8&255,h&255]},et.fromBytes=function(u,h,S){return S?et.fromBytesLE(u,h):et.fromBytesBE(u,h)},et.fromBytesLE=function(u,h){return new et(u[0]|u[1]<<8|u[2]<<16|u[3]<<24,u[4]|u[5]<<8|u[6]<<16|u[7]<<24,h)},et.fromBytesBE=function(u,h){return new et(u[4]<<24|u[5]<<16|u[6]<<8|u[7],u[0]<<24|u[1]<<16|u[2]<<8|u[3],h)};var qi=(y=>(y[y.Null=0]="Null",y[y.Boolean=1]="Boolean",y[y.Integer=2]="Integer",y[y.Long=3]="Long",y[y.Double=4]="Double",y[y.String=5]="String",y[y.Bytes=6]="Bytes",y[y.Date=7]="Date",y))(qi||{});class Es extends E{constructor(u,h){super(h),a(this,"valueType"),a(this,"value"),this.valueType=Es.getPrimitiveType(u),this.value=u===void 0?null:u}static of(u,h){return new Es(u,h)}static valueFromBytes(u,h){switch(u){case 0:return null;case 1:return!!h[0];case 2:return h[0]|h[1]<<8|h[2]<<16|h[3]<<24;case 4:{const S=new DataView(h.buffer);return h.forEach(function(A,W){S.setUint8(W,A)}),S.getFloat64(0,!0)}case 5:return new TextDecoder("utf-8").decode(h);case 3:return et.fromBytesLE(Array.from(h));case 6:return h;case 7:return new Date(et.fromBytesLE(Array.from(h),!0).toNumber());default:throw new wt(Et.ErrUnimplemented,`unimplemented type: ${u}`)}}toJSON(){return this.valueType===5?`"${Lu(this.value)}"`:`${this.value}`}toSortedJSON(){return this.toJSON()}toJSForTest(){return{createdAt:this.getCreatedAt().toTestString(),value:this.value,type:"YORKIE_PRIMITIVE"}}deepcopy(){const u=Es.of(this.value,this.getCreatedAt());return u.setMovedAt(this.getMovedAt()),u.setRemovedAt(this.getRemovedAt()),u}getType(){return this.valueType}static getPrimitiveType(u){switch(typeof u){case"undefined":return 0;case"boolean":return 1;case"number":return this.isInteger(u)?2:4;case"string":return 5;case"object":if(u===null)return 0;if(u instanceof et)return 3;if(u instanceof Uint8Array)return 6;if(u instanceof Date)return 7}}static isSupport(u){return Es.getPrimitiveType(u)!==void 0}static isInteger(u){return u%1===0}isNumericType(){const u=this.valueType;return u===2||u===3||u===4}getValue(){return this.value}toBytes(){switch(this.valueType){case 0:return new Uint8Array;case 1:return this.value?new Uint8Array([1]):new Uint8Array([0]);case 2:{const u=this.value;return new Uint8Array([u&255,u>>8&255,u>>16&255,u>>24&255])}case 4:{const u=this.value,h=new Uint8Array(8);return new DataView(h.buffer).setFloat64(0,u,!0),h}case 5:return new TextEncoder().encode(this.value);case 3:{const h=this.value.toBytesLE();return Uint8Array.from(h)}case 6:return this.value;case 7:{const u=this.value,h=et.fromNumber(u.getTime(),!0).toBytesLE();return Uint8Array.from(h)}default:throw new wt(Et.ErrUnimplemented,`unimplemented type: ${this.valueType}`)}}}class so extends Ee{constructor(u){super(u),a(this,"prev"),a(this,"next"),this.value=u}static createAfter(u,h){const S=new so(h),A=u.next;return u.next=S,S.prev=u,S.next=A,A&&(A.prev=S),S}remove(u){return this.value.remove(u)}getCreatedAt(){return this.value.getCreatedAt()}getPositionedAt(){return this.value.getPositionedAt()}release(){this.prev&&(this.prev.next=this.next),this.next&&(this.next.prev=this.prev),this.prev=void 0,this.next=void 0}getLength(){return this.value.isRemoved()?0:1}getPrev(){return this.prev}getNext(){return this.next}getValue(){return this.value}isRemoved(){return this.value.isRemoved()}}class h0{constructor(){a(this,"dummyHead"),a(this,"last"),a(this,"nodeMapByIndex"),a(this,"nodeMapByCreatedAt");const u=Es.of(0,ro);u.setRemovedAt(ro),this.dummyHead=new so(u),this.last=this.dummyHead,this.nodeMapByIndex=new Pe,this.nodeMapByCreatedAt=new Map,this.nodeMapByIndex.insert(this.dummyHead),this.nodeMapByCreatedAt.set(this.dummyHead.getCreatedAt().toIDString(),this.dummyHead)}static create(){return new h0}get length(){return this.nodeMapByIndex.length}findNextBeforeExecutedAt(u,h){let S=this.nodeMapByCreatedAt.get(u.toIDString());if(!S)throw new wt(Et.ErrInvalidArgument,`cant find the given node: ${u.toIDString()}`);for(;S.getNext()&&S.getNext().getPositionedAt().after(h);)S=S.getNext();return S}release(u){this.last===u&&(this.last=u.getPrev()),u.release(),this.nodeMapByIndex.delete(u),this.nodeMapByCreatedAt.delete(u.getValue().getCreatedAt().toIDString())}insertAfter(u,h,S=h.getCreatedAt()){const A=this.findNextBeforeExecutedAt(u,S),W=so.createAfter(A,h);A===this.last&&(this.last=W),this.nodeMapByIndex.insertAfter(A,W),this.nodeMapByCreatedAt.set(W.getCreatedAt().toIDString(),W)}moveAfter(u,h,S){const A=this.nodeMapByCreatedAt.get(u.toIDString());if(!A)throw new wt(Et.ErrInvalidArgument,`cant find the given node: ${u.toIDString()}`);const W=this.nodeMapByCreatedAt.get(h.toIDString());if(!W)throw new wt(Et.ErrInvalidArgument,`cant find the given node: ${h.toIDString()}`);A!==W&&(!W.getValue().getMovedAt()||S.after(W.getValue().getMovedAt()))&&(this.release(W),this.insertAfter(A.getCreatedAt(),W.getValue(),S),W.getValue().setMovedAt(S))}insert(u){this.insertAfter(this.last.getCreatedAt(),u)}getByID(u){return this.nodeMapByCreatedAt.get(u.toIDString())}subPathOf(u){const h=this.nodeMapByCreatedAt.get(u.toIDString());if(h)return String(this.nodeMapByIndex.indexOf(h))}purge(u){const h=this.nodeMapByCreatedAt.get(u.getCreatedAt().toIDString());if(!h)throw new wt(Et.ErrInvalidArgument,`fail to find the given createdAt: ${u.getCreatedAt().toIDString()}`);this.release(h)}getByIndex(u){if(u>=this.length)return;const[h,S]=this.nodeMapByIndex.find(u);let A=h;if(u===0&&h===this.dummyHead||S>0)do A&&(A=A.getNext());while(A&&A.isRemoved());return A}getPrevCreatedAt(u){let h=this.nodeMapByCreatedAt.get(u.toIDString());do h=h.getPrev();while(this.dummyHead!==h&&h.isRemoved());return h.getValue().getCreatedAt()}delete(u,h){const S=this.nodeMapByCreatedAt.get(u.toIDString()),A=S.isRemoved();return S.remove(h)&&!A&&this.nodeMapByIndex.splayNode(S),S.getValue()}deleteByIndex(u,h){const S=this.getByIndex(u);if(S)return S.remove(h)&&this.nodeMapByIndex.splayNode(S),S.getValue()}getHead(){return this.dummyHead.getValue()}getLast(){return this.last.getValue()}getLastCreatedAt(){return this.last.getCreatedAt()}toTestString(){const u=[];for(const h of this){const S=`${h.getCreatedAt().toIDString()}:${h.getValue().toJSON()}`;h.isRemoved()?u.push(`{${S}}`):u.push(`[${S}]`)}return u.join("")}*[Symbol.iterator](){let u=this.dummyHead.getNext();for(;u;)yield u,u=u.getNext()}}class su extends v{constructor(u,h){super(u),a(this,"elements"),this.elements=h}static create(u,h){if(!h)return new su(u,h0.create());const S=h0.create();for(const A of h)S.insertAfter(S.getLastCreatedAt(),A.deepcopy());return new su(u,S)}subPathOf(u){return this.elements.subPathOf(u)}purge(u){this.elements.purge(u)}insertAfter(u,h){this.elements.insertAfter(u,h)}moveAfter(u,h,S){this.elements.moveAfter(u,h,S)}get(u){const h=this.elements.getByIndex(u);return h==null?void 0:h.getValue()}getByID(u){const h=this.elements.getByID(u);return h==null?void 0:h.getValue()}getHead(){return this.elements.getHead()}getLast(){return this.elements.getLast()}getPrevCreatedAt(u){return this.elements.getPrevCreatedAt(u)}delete(u,h){return this.elements.delete(u,h)}deleteByIndex(u,h){return this.elements.deleteByIndex(u,h)}getLastCreatedAt(){return this.elements.getLastCreatedAt()}get length(){return this.elements.length}*[Symbol.iterator](){for(const u of this.elements)u.isRemoved()||(yield u.getValue())}toTestString(){return this.elements.toTestString()}getDescendants(u){for(const h of this.elements){const S=h.getValue();if(u(S,this))return;S instanceof v&&S.getDescendants(u)}}toJSON(){const u=[];for(const h of this)u.push(h.toJSON());return`[${u.join(",")}]`}toJS(){return JSON.parse(this.toJSON())}toJSForTest(){const u={};for(let h=0;h({...Xt,value:Xt.value?{attributes:Lf(Xt.value.getAttributes()),content:Xt.value.getContent()}:{attributes:void 0,content:""},type:"content"}));return[De,Zt,$e,[pe,pe]]}setStyle(u,h,S,A){const[,W]=this.rgaTreeSplit.findNodeWithSplit(u[1],S),[,ne]=this.rgaTreeSplit.findNodeWithSplit(u[0],S),pe=[],De=this.rgaTreeSplit.findBetween(ne,W),$e=new Map,st=[];for(const Xt of De){const Ft=Xt.getCreatedAt().getActorID(),xn=A!=null&&A.size?A.has(Ft)?A.get(Ft):ro:f0;if(Xt.canStyle(S,xn)){const cr=$e.get(Ft),ur=Xt.getCreatedAt();(!cr||ur.after(cr))&&$e.set(Ft,ur),st.push(Xt)}}const Zt=[];for(const Xt of st){if(Xt.isRemoved())continue;const[Ft,xn]=this.rgaTreeSplit.findIndexesFromRange(Xt.createPosRange());pe.push({type:"style",actor:S.getActorID(),from:Ft,to:xn,value:{attributes:Lf(h)}});for(const[cr,ur]of Object.entries(h)){const[ri]=Xt.getValue().setAttr(cr,ur,S);ri!==void 0&&Zt.push({parent:Xt.getValue(),child:ri})}}return[$e,Zt,pe]}indexRangeToPosRange(u,h){const S=this.rgaTreeSplit.indexToPos(u);return u===h?[S,S]:[S,this.rgaTreeSplit.indexToPos(h)]}get length(){return this.rgaTreeSplit.length}getTreeByIndex(){return this.rgaTreeSplit.getTreeByIndex()}getTreeByID(){return this.rgaTreeSplit.getTreeByID()}toJSON(){const u=[];for(const h of this.rgaTreeSplit)h.isRemoved()||u.push(h.getValue().toJSON());return`[${u.join(",")}]`}toSortedJSON(){return this.toJSON()}toJSForTest(){return{createdAt:this.getCreatedAt().toTestString(),value:JSON.parse(this.toJSON()),type:"YORKIE_TEXT"}}toString(){return this.rgaTreeSplit.toString()}values(){const u=[];for(const h of this.rgaTreeSplit)if(!h.isRemoved()){const S=h.getValue();u.push({attributes:Lf(S.getAttributes()),content:S.getContent()})}return u}getRGATreeSplit(){return this.rgaTreeSplit}toTestString(){return this.rgaTreeSplit.toTestString()}deepcopy(){const u=new Mu(this.rgaTreeSplit.deepcopy(),this.getCreatedAt());return u.remove(this.getRemovedAt()),u}findIndexesFromRange(u){return this.rgaTreeSplit.findIndexesFromRange(u)}getGCPairs(){const u=[];for(const h of this.rgaTreeSplit){h.getRemovedAt()&&u.push({parent:this.rgaTreeSplit,child:h});for(const S of h.getValue().getGCPairs())u.push(S)}return u}}class Mf extends ce{constructor(u,h,S,A,W,ne,pe){super(u,pe),a(this,"fromPos"),a(this,"toPos"),a(this,"maxCreatedAtMapByActor"),a(this,"content"),a(this,"attributes"),this.fromPos=h,this.toPos=S,this.maxCreatedAtMapByActor=A,this.content=W,this.attributes=ne}static create(u,h,S,A,W,ne,pe){return new Mf(u,h,S,A,W,ne,pe)}execute(u){const h=u.findByCreatedAt(this.getParentCreatedAt());if(!h)throw new wt(Et.ErrInvalidArgument,`fail to find ${this.getParentCreatedAt()}`);if(!(h instanceof Mu))throw new wt(Et.ErrInvalidArgument,"fail to execute, only Text can execute edit");const S=h,[,A,W]=S.edit([this.fromPos,this.toPos],this.content,this.getExecutedAt(),Object.fromEntries(this.attributes),this.maxCreatedAtMapByActor);for(const ne of W)u.registerGCPair(ne);return{opInfos:A.map(({from:ne,to:pe,value:De})=>({type:"edit",from:ne,to:pe,value:De,path:u.createPath(this.getParentCreatedAt())}))}}getEffectedCreatedAt(){return this.getParentCreatedAt()}toTestString(){const u=this.getParentCreatedAt().toTestString(),h=this.fromPos.toTestString(),S=this.toPos.toTestString(),A=this.content;return`${u}.EDIT(${h},${S},${A})`}getFromPos(){return this.fromPos}getToPos(){return this.toPos}getContent(){return this.content}getAttributes(){return this.attributes||new Map}getMaxCreatedAtMapByActor(){return this.maxCreatedAtMapByActor}}class H1 extends ce{constructor(u,h,S,A,W,ne){super(u,ne),a(this,"fromPos"),a(this,"toPos"),a(this,"maxCreatedAtMapByActor"),a(this,"attributes"),this.fromPos=h,this.toPos=S,this.maxCreatedAtMapByActor=A,this.attributes=W}static create(u,h,S,A,W,ne){return new H1(u,h,S,A,W,ne)}execute(u){const h=u.findByCreatedAt(this.getParentCreatedAt());if(!h)throw new wt(Et.ErrInvalidArgument,`fail to find ${this.getParentCreatedAt()}`);if(!(h instanceof Mu))throw new wt(Et.ErrInvalidArgument,"fail to execute, only Text can execute edit");const S=h,[,A,W]=S.setStyle([this.fromPos,this.toPos],this.attributes?Object.fromEntries(this.attributes):{},this.getExecutedAt(),this.maxCreatedAtMapByActor);for(const ne of A)u.registerGCPair(ne);return{opInfos:W.map(({from:ne,to:pe,value:De})=>({type:"style",from:ne,to:pe,value:De,path:u.createPath(this.getParentCreatedAt())}))}}getEffectedCreatedAt(){return this.getParentCreatedAt()}toTestString(){const u=this.getParentCreatedAt().toTestString(),h=this.fromPos.toTestString(),S=this.toPos.toTestString(),A=this.attributes;return`${u}.STYL(${h},${S},${JSON.stringify(A)})`}getFromPos(){return this.fromPos}getToPos(){return this.toPos}getAttributes(){return this.attributes}getMaxCreatedAtMapByActor(){return this.maxCreatedAtMapByActor}}const MN=2,p2="root",Nd="text";function q1(y,u){let h=0;const S=y.children;for(let A=0;A0)throw new wt(Et.ErrRefused,"Text node cannot have children")}updateAncestorsSize(){let u=this.parent;const h=this.isRemoved?-1:1;for(;u&&(u.size+=this.paddedSize*h,!u.isRemoved);)u=u.parent}updateDescendantsSize(){let u=0;for(const h of this._children){const S=h.updateDescendantsSize();h.isRemoved||(u+=S)}return this.size+=u,this.paddedSize}get isText(){return this.type===Nd}get paddedSize(){return this.size+(this.isText?0:MN)}isAncestorOf(u){return $N(this,u)}get nextSibling(){const u=this.parent.findOffset(this),h=this.parent.children[u+1];if(h)return h}get prevSibling(){const u=this.parent.findOffset(this),h=this.parent.children[u-1];if(h)return h}splitText(u,h){if(u===0||u===this.size)return;const S=this.value.slice(0,u),A=this.value.slice(u);if(!A.length)return;this.value=S;const W=this.cloneText(u+h);return W.value=A,this.parent.insertAfterInternal(W,this),W}get children(){return this._children.filter(u=>!u.isRemoved)}get allChildren(){return[...this._children]}hasTextChild(){return this.children.length>0&&this.children.every(u=>u.isText)}append(...u){if(this.isText)throw new wt(Et.ErrRefused,"Text node cannot have children");this._children.push(...u);for(const h of u)h.parent=this,h.updateAncestorsSize()}prepend(...u){if(this.isText)throw new wt(Et.ErrRefused,"Text node cannot have children");this._children.unshift(...u);for(const h of u)h.parent=this}insertBefore(u,h){if(this.isText)throw new wt(Et.ErrRefused,"Text node cannot have children");const S=this._children.indexOf(h);if(S===-1)throw new wt(Et.ErrInvalidArgument,"child not found");this.insertAtInternal(u,S),u.updateAncestorsSize()}insertAfter(u,h){if(this.isText)throw new wt(Et.ErrRefused,"Text node cannot have children");const S=this._children.indexOf(h);if(S===-1)throw new wt(Et.ErrInvalidArgument,"child not found");this.insertAtInternal(u,S+1),u.updateAncestorsSize()}insertAt(u,h){if(this.isText)throw new wt(Et.ErrRefused,"Text node cannot have children");this.insertAtInternal(u,h),u.updateAncestorsSize()}removeChild(u){if(this.isText)throw new wt(Et.ErrRefused,"Text node cannot have children");const h=this._children.indexOf(u);if(h===-1)throw new wt(Et.ErrInvalidArgument,"child not found");this._children.splice(h,1),u.parent=void 0}splitElement(u,h){const S=this.cloneElement(h);this.parent.insertAfterInternal(S,this),S.updateAncestorsSize();const A=this.children.slice(0,u),W=this.children.slice(u);this._children=A,S._children=W,this.size=this._children.reduce((ne,pe)=>ne+pe.paddedSize,0),S.size=S._children.reduce((ne,pe)=>ne+pe.paddedSize,0);for(const ne of S._children)ne.parent=S;return S}insertAfterInternal(u,h){if(this.isText)throw new wt(Et.ErrRefused,"Text node cannot have children");const S=this._children.indexOf(h);if(S===-1)throw new wt(Et.ErrInvalidArgument,"child not found");this.insertAtInternal(u,S+1)}insertAtInternal(u,h){if(this.isText)throw new wt(Et.ErrRefused,"Text node cannot have children");this._children.splice(h,0,u),u.parent=this}findOffset(u){if(this.isText)throw new wt(Et.ErrRefused,"Text node cannot have children");if(u.isRemoved){const h=this._children.indexOf(u);return this.allChildren.splice(0,h).filter(A=>!A.isRemoved).length}return this.children.indexOf(u)}findBranchOffset(u){if(this.isText)throw new wt(Et.ErrRefused,"Text node cannot have children");let h=u;for(;h;){const S=this._children.indexOf(h);if(S!==-1)return S;h=h.parent}return-1}}function $N(y,u){if(y===u)return!1;for(;u.parent;){if(u.parent===y)return!0;u=u.parent}return!1}var ba=(y=>(y.Start="Start",y.End="End",y.Text="Text",y))(ba||{});function cv(y,u,h,S){if(u>h)throw new wt(Et.ErrInvalidArgument,`from is greater than to: ${u} > ${h}`);if(u>y.size)throw new wt(Et.ErrInvalidArgument,`from is out of range: ${u} > ${y.size}`);if(h>y.size)throw new wt(Et.ErrInvalidArgument,`to is out of range: ${h} > ${y.size}`);if(u===h)return;let A=0;for(const W of y.children){if(u-W.paddedSizeW.size;(W.isText||De)&&S([W,W.isText?"Text":"Start"],$e),cv(W,Math.max(0,ne),Math.min(pe,W.size),S),$e&&S([W,"End"],$e)}A+=W.paddedSize}}function QA(y,u,h=0){for(const S of y.children)QA(S,u,h+1);u(y,h)}function Qm(y,u,h=0){for(const S of y._children)Qm(S,u,h+1);u(y,h)}function dv(y,u,h=!0){if(u>y.size)throw new wt(Et.ErrInvalidArgument,`index is out of range: ${u} > ${y.size}`);if(y.isText)return{node:y,offset:u};let S=0,A=0;for(const W of y.children){if(h&&W.isText&&W.size>=u-A)return dv(W,u-A,h);if(u===A)return{node:y,offset:S};if(!h&&W.paddedSize===u-A)return{node:y,offset:S+1};if(W.paddedSize>u-A)return dv(W,u-A-1,h);A+=W.paddedSize,S+=1}return{node:y,offset:S}}function m2(y){return y.isText||y.children.length===0?y:m2(y.children[0])}function VA(y,u){if(y.sizey===u?0:y0)if(h.right)h.right.parent=h,h=h.right;else return h;else if(S<0)if(h.left)h.left.parent=h,h=h.left;else{let A=h.parent,W=h;for(;A&&W===A.left;)W=A,A=A.parent;return A}else return h}}lastEntry(){if(!this.root)return this.root;let u=this.root;for(;u.right;)u=u.right;return u}size(){return this.counter}isEmpty(){return this.counter===0}getInternal(u,h){for(;h;){const S=this.comparator(u,h.key);if(S===0)return h;S<0?h=h.left:S>0&&(h=h.right)}}putInternal(u,h,S){if(!S)return this.counter+=1,new GA(u,h,!0);const A=this.comparator(u,S.key);return A<0?S.left=this.putInternal(u,h,S.left):A>0?S.right=this.putInternal(u,h,S.right):S.value=h,this.isRed(S.right)&&!this.isRed(S.left)&&(S=this.rotateLeft(S)),this.isRed(S.left)&&this.isRed(S.left.left)&&(S=this.rotateRight(S)),this.isRed(S.left)&&this.isRed(S.right)&&this.flipColors(S),S}removeInternal(u,h){if(this.comparator(h,u.key)<0)!this.isRed(u.left)&&!this.isRed(u.left.left)&&(u=this.moveRedLeft(u)),u.left=this.removeInternal(u.left,h);else{if(this.isRed(u.left)&&(u=this.rotateRight(u)),this.comparator(h,u.key)===0&&!u.right){this.counter-=1;return}if(!this.isRed(u.right)&&!this.isRed(u.right.left)&&(u=this.moveRedRight(u)),this.comparator(h,u.key)===0){this.counter-=1;const S=this.min(u.right);u.value=S.value,u.key=S.key,u.right=this.removeMin(u.right)}else u.right=this.removeInternal(u.right,h)}return this.fixUp(u)}min(u){return u.left?this.min(u.left):u}removeMin(u){if(u.left)return!this.isRed(u.left)&&!this.isRed(u.left.left)&&(u=this.moveRedLeft(u)),u.left=this.removeMin(u.left),this.fixUp(u)}fixUp(u){return this.isRed(u.right)&&(u=this.rotateLeft(u)),this.isRed(u.left)&&this.isRed(u.left.left)&&(u=this.rotateRight(u)),this.isRed(u.left)&&this.isRed(u.right)&&this.flipColors(u),u}moveRedLeft(u){return this.flipColors(u),this.isRed(u.right.left)&&(u.right=this.rotateRight(u.right),u=this.rotateLeft(u),this.flipColors(u)),u}moveRedRight(u){return this.flipColors(u),this.isRed(u.left.left)&&(u=this.rotateRight(u),this.flipColors(u)),u}isRed(u){return u&&u.isRed}rotateLeft(u){const h=u.right;return u.right=h.left,h.left=u,h.isRed=h.left.isRed,h.left.isRed=!0,h}rotateRight(u){const h=u.left;return u.left=h.right,h.right=u,h.isRed=h.right.isRed,h.right.isRed=!0,h}flipColors(u){u.isRed=!u.isRed,u.left.isRed=!u.left.isRed,u.right.isRed=!u.right.isRed}}class Fu{constructor(u,h){a(this,"parentID"),a(this,"leftSiblingID"),this.parentID=u,this.leftSiblingID=h}static of(u,h){return new Fu(u,h)}static fromTreePos(u){const{offset:h}=u;let{node:S}=u,A;return S.isText?(S.parent.children[0]===S&&h===0?A=S.parent:A=S,S=S.parent):h===0?A=S:A=S.children[h-1],Fu.of(S.id,bo.of(A.getCreatedAt(),A.getOffset()+h))}getParentID(){return this.parentID}static fromStruct(u){return Fu.of(bo.of(Uo.fromStruct(u.parentID.createdAt),u.parentID.offset),bo.of(Uo.fromStruct(u.leftSiblingID.createdAt),u.leftSiblingID.offset))}toStruct(){return{parentID:{createdAt:this.getParentID().getCreatedAt().toStruct(),offset:this.getParentID().getOffset()},leftSiblingID:{createdAt:this.getLeftSiblingID().getCreatedAt().toStruct(),offset:this.getLeftSiblingID().getOffset()}}}toTreeNodePair(u){const h=this.getParentID(),S=this.getLeftSiblingID(),A=u.findFloorNode(h);let W=u.findFloorNode(S);if(!A||!W)throw new wt(Et.ErrRefused,`cannot find node of CRDTTreePos(${h.toTestString()}, ${S.toTestString()})`);return!S.equals(h)&&S.getOffset()>0&&S.getOffset()===W.id.getOffset()&&W.insPrevID&&(W=u.findFloorNode(W.insPrevID)),[A,W]}getLeftSiblingID(){return this.leftSiblingID}equals(u){return this.getParentID().getCreatedAt().equals(u.getParentID().getCreatedAt())&&this.getParentID().getOffset()===u.getParentID().getOffset()&&this.getLeftSiblingID().getCreatedAt().equals(u.getLeftSiblingID().getCreatedAt())&&this.getLeftSiblingID().getOffset()===u.getLeftSiblingID().getOffset()}}class bo{constructor(u,h){a(this,"createdAt"),a(this,"offset"),this.createdAt=u,this.offset=h}static of(u,h){return new bo(u,h)}static fromStruct(u){return bo.of(Uo.fromStruct(u.createdAt),u.offset)}static createComparator(){return(u,h)=>{const S=u.getCreatedAt().compare(h.getCreatedAt());return S!==0?S:u.getOffset()>h.getOffset()?1:u.getOffset(){const A=S.deepcopy();return A.parent=h,A}),h.insPrevID=this.insPrevID,h.insNextID=this.insNextID,h}get value(){if(!this.isText)throw new wt(Et.ErrInvalidType,`cannot get value of element node: ${this.type}`);return this._value}set value(u){if(!this.isText)throw new wt(Et.ErrInvalidType,`cannot set value of element node: ${this.type}`);this._value=u,this.size=u.length}get isRemoved(){return!!this.removedAt}remove(u){const h=!this.removedAt;(!this.removedAt||this.removedAt.compare(u)>0)&&(this.removedAt=u),h&&this.updateAncestorsSize()}cloneText(u){return new ll(bo.of(this.id.getCreatedAt(),u),this.type,void 0,void 0,this.removedAt)}cloneElement(u){return new ll(bo.of(u(),0),this.type,void 0,void 0,this.removedAt)}split(u,h,S){const A=this.isText?this.splitText(h,this.id.getOffset()):this.splitElement(h,S);if(A){if(A.insPrevID=this.id,this.insNextID){const W=u.findFloorNode(this.insNextID);W.insPrevID=A.id,A.insNextID=this.insNextID}this.insNextID=A.id,u.registerNode(A)}return A}getCreatedAt(){return this.id.getCreatedAt()}getOffset(){return this.id.getOffset()}canDelete(u,h){return!this.getCreatedAt().after(h)&&(!this.removedAt||u.after(this.removedAt))}canStyle(u,h){return this.isText?!1:!this.getCreatedAt().after(h)&&(!this.removedAt||u.after(this.removedAt))}setAttrs(u,h){this.attrs||(this.attrs=new Dd);const S=new Array;for(const[A,W]of Object.entries(u))S.push(this.attrs.set(A,W,h));return S}purge(u){this.attrs&&this.attrs.purge(u)}getGCPairs(){const u=[];if(!this.attrs)return u;for(const h of this.attrs)h.getRemovedAt()&&u.push({parent:this,child:h});return u}}function hv(y){var u;if(y.isText){const S=y;return{type:S.type,value:S.value}}const h={type:y.type,children:y.children.map(hv)};return y.attrs&&(h.attributes=Lf((u=y.attrs)==null?void 0:u.toObject())),h}function j1(y){if(y.isText)return y.value;let u="";return y.attrs&&y.attrs.size()&&(u=" "+Array.from(y.attrs).filter(h=>!h.isRemoved()).sort((h,S)=>h.getKey().localeCompare(S.getKey())).map(h=>{const S=JSON.parse(h.getValue());return typeof S=="string"?`${h.getKey()}="${S}"`:`${h.getKey()}="${Lu(h.getValue())}"`}).join(" ")),`<${y.type}${u}>${y.children.map(h=>j1(h)).join("")}`}function XA(y){if(y.isText){const u=y;return{type:u.type,value:u.value,size:u.size,isRemoved:u.isRemoved}}return{type:y.type,children:y.children.map(XA),size:y.size,isRemoved:y.isRemoved}}class Dl extends E{constructor(u,h){super(h),a(this,"indexTree"),a(this,"nodeMapByID"),this.indexTree=new fv(u),this.nodeMapByID=new ZA(bo.createComparator()),this.indexTree.traverseAll(S=>{this.nodeMapByID.put(S.id,S)})}static create(u,h){return new Dl(u,h)}findFloorNode(u){const h=this.nodeMapByID.floorEntry(u);if(!(!h||!h.key.getCreatedAt().equals(u.getCreatedAt())))return h.value}registerNode(u){this.nodeMapByID.put(u.id,u)}findNodesAndSplitText(u,h){const[S,A]=u.toTreeNodePair(this);let W=A;const ne=S===W,pe=W.parent&&!ne?W.parent:S;if(W.isText&&W.split(this,u.getLeftSiblingID().getOffset()-W.id.getOffset()),h){const De=pe.allChildren,$e=ne?0:De.indexOf(W)+1;for(let st=$e;st{const xn=Ft.getCreatedAt().getActorID(),cr=A?A.has(xn)?A.get(xn):ro:f0;if(Ft.canStyle(S,cr)&&h){const ur=Zt.get(xn),ri=Ft.getCreatedAt();(!ur||ri.after(ur))&&Zt.set(xn,ri);const Ps=Ft.setAttrs(h,S),Si=Ps.reduce((cs,[,w0])=>(w0&&(cs[w0.getKey()]=st[w0.getKey()]),cs),{}),Zi=Ft.parent,us=Ft.prevSibling||Ft.parent;Object.keys(Si).length>0&&$e.push({type:"style",from:this.toIndex(Zi,us),to:this.toIndex(Ft,Ft),fromPath:this.toPath(Zi,us),toPath:this.toPath(Ft,Ft),actor:S.getActorID(),value:Si});for(const[cs]of Ps)cs&&Xt.push({parent:Ft,child:cs})}}),[Zt,Xt,$e]}removeStyle(u,h,S,A){const[W,ne]=this.findNodesAndSplitText(u[0],S),[pe,De]=this.findNodesAndSplitText(u[1],S),$e=[],st=new Map,Zt=[];return this.traverseInPosRange(W,ne,pe,De,([Xt])=>{const Ft=Xt.getCreatedAt().getActorID(),xn=A?A.has(Ft)?A.get(Ft):ro:f0;if(Xt.canStyle(S,xn)&&h){const cr=st.get(Ft),ur=Xt.getCreatedAt();(!cr||ur.after(cr))&&st.set(Ft,ur),Xt.attrs||(Xt.attrs=new Dd);for(const Si of h){const Zi=Xt.attrs.remove(Si,S);for(const us of Zi)Zt.push({parent:Xt,child:us})}const ri=Xt.parent,Ps=Xt.prevSibling||Xt.parent;$e.push({actor:S.getActorID(),type:"removeStyle",from:this.toIndex(ri,Ps),to:this.toIndex(Xt,Xt),fromPath:this.toPath(ri,Ps),toPath:this.toPath(Xt,Xt),value:h})}}),[st,Zt,$e]}edit(u,h,S,A,W,ne){const[pe,De]=this.findNodesAndSplitText(u[0],A),[$e,st]=this.findNodesAndSplitText(u[1],A),Zt=this.toIndex(pe,De),Xt=this.toPath(pe,De),Ft=[],xn=[],cr=[],ur=new Map;this.traverseInPosRange(pe,De,$e,st,([Si,Zi],us)=>{if(Zi===ba.Start&&!us)for(const x0 of Si.children)cr.push(x0);const cs=Si.getCreatedAt().getActorID(),w0=ne?ne.has(cs)?ne.get(cs):ro:f0;if(Si.canDelete(A,w0)||Ft.includes(Si.parent)){const x0=ur.get(cs),J1=Si.getCreatedAt();(!x0||J1.after(x0))&&ur.set(cs,J1),(Zi===ba.Text||Zi===ba.Start)&&Ft.push(Si),xn.push([Si,Zi])}});const ri=this.makeDeletionChanges(xn,A),Ps=[];for(const Si of Ft)Si.remove(A),Si.isRemoved&&Ps.push({parent:this,child:Si});for(const Si of cr)Si.removedAt||pe.append(Si);if(S>0){let Si=0,Zi=pe,us=De;for(;Si{pe.isRemoved&&(cs.remove(A),Ps.push({parent:this,child:cs})),this.nodeMapByID.put(cs.id,cs)}),us.isRemoved||Si.push(us);if(Si.length){const us=Si.map(cs=>hv(cs));ri.length&&ri[ri.length-1].from===Zt?ri[ri.length-1].value=us:ri.push({type:"content",from:Zt,to:Zt,fromPath:Xt,toPath:Xt,actor:A.getActorID(),value:us})}}return[ri,Ps,ur]}editT(u,h,S,A,W){const ne=this.findPos(u[0]),pe=this.findPos(u[1]);this.edit([ne,pe],h,S,A,W)}move(u,h,S){throw new wt(Et.ErrUnimplemented,`not implemented: ${u}, ${h}, ${S}`)}purge(u){var h;(h=u.parent)==null||h.removeChild(u),this.nodeMapByID.remove(u.id);const S=u.insPrevID,A=u.insNextID;if(S){const W=this.findFloorNode(S);W.insNextID=A}if(A){const W=this.findFloorNode(A);W.insPrevID=S}u.insPrevID=void 0,u.insNextID=void 0}getGCPairs(){const u=[];return this.indexTree.traverse(h=>{h.getRemovedAt()&&u.push({parent:this,child:h});for(const S of h.getGCPairs())u.push(S)}),u}findPos(u,h=!0){const S=this.indexTree.findTreePos(u,h);return Fu.fromTreePos(S)}pathToPosRange(u){const h=this.pathToIndex(u);return[this.findPos(h),this.findPos(h+1)]}pathToPos(u){const h=this.indexTree.pathToIndex(u);return this.findPos(h)}getRoot(){return this.indexTree.getRoot()}getSize(){return this.indexTree.size}getNodeSize(){return this.nodeMapByID.size()}getIndexTree(){return this.indexTree}toXML(){return j1(this.indexTree.getRoot())}toJSON(){return JSON.stringify(this.getRootTreeNode())}toJSForTest(){return{createdAt:this.getCreatedAt().toTestString(),value:JSON.parse(this.toJSON()),type:"YORKIE_TREE"}}toJSInfoForTest(){const u=this.indexTree.getRoot(),h=(S,A=void 0,W=void 0,ne=0)=>{var pe,De,$e,st;let Zt,Xt,Ft;const xn=S.isText?{node:S,offset:0}:A&&W?this.toTreePos(A,W):null;xn&&(Zt=this.indexTree.indexOf(xn),Xt=this.indexTree.treePosToPath(xn),Ft=Fu.fromTreePos(xn).toStruct());const cr={type:S.type,parent:A==null?void 0:A.id.toTestString(),size:S.size,id:S.id.toTestString(),removedAt:(pe=S.removedAt)==null?void 0:pe.toTestString(),insPrev:(De=S.insPrevID)==null?void 0:De.toTestString(),insNext:($e=S.insNextID)==null?void 0:$e.toTestString(),value:S.isText?S.value:void 0,isRemoved:S.isRemoved,children:[],depth:ne,attributes:S.attrs?Lf((st=S.attrs)==null?void 0:st.toObject()):void 0,index:Zt,path:Xt,pos:Ft};for(let ur=0;ur0&&ur===S[S.length-1].to?(S[S.length-1].to=ri,S[S.length-1].toPath=this.toPath(cr,Xt)):S.push({type:"content",from:ur,to:ri,fromPath:this.toPath(xn,st),toPath:this.toPath(cr,Xt),actor:h.getActorID()}))}return S.reverse()}findRightToken([u,h]){if(h===ba.Start){const pe=u.allChildren;return pe.length>0?[pe[0],pe[0].isText?ba.Text:ba.Start]:[u,ba.End]}const S=u.parent,A=S.allChildren,W=A.indexOf(u);if(S&&W===A.length-1)return[S,ba.End];const ne=A[W+1];return[ne,ne.isText?ba.Text:ba.Start]}findLeftToken([u,h]){if(h===ba.End){const pe=u.allChildren;if(pe.length>0){const De=pe[pe.length-1];return[De,De.isText?ba.Text:ba.End]}return[u,ba.Start]}const S=u.parent,A=S.allChildren,W=A.indexOf(u);if(S&&W===0)return[S,ba.Start];const ne=A[W-1];return[ne,ne.isText?ba.Text:ba.End]}}class Pr extends ce{constructor(u,h,S,A,W,ne,pe){super(u,pe),a(this,"fromPos"),a(this,"toPos"),a(this,"contents"),a(this,"splitLevel"),a(this,"maxCreatedAtMapByActor"),this.fromPos=h,this.toPos=S,this.contents=A,this.splitLevel=W,this.maxCreatedAtMapByActor=ne}static create(u,h,S,A,W,ne,pe){return new Pr(u,h,S,A,W,ne,pe)}execute(u){var h;const S=u.findByCreatedAt(this.getParentCreatedAt());if(!S)throw new wt(Et.ErrInvalidArgument,`fail to find ${this.getParentCreatedAt()}`);if(!(S instanceof Dl))throw new wt(Et.ErrInvalidArgument,"fail to execute, only Tree can execute edit");const A=this.getExecutedAt(),W=S,[ne,pe]=W.edit([this.fromPos,this.toPos],(h=this.contents)==null?void 0:h.map(De=>De.deepcopy()),this.splitLevel,A,(()=>{let De=A.getDelimiter();return this.contents!==void 0&&(De+=this.contents.length),()=>Uo.of(A.getLamport(),++De,A.getActorID())})(),this.maxCreatedAtMapByActor);for(const De of pe)u.registerGCPair(De);return{opInfos:ne.map(({from:De,to:$e,value:st,splitLevel:Zt,fromPath:Xt,toPath:Ft})=>({type:"tree-edit",path:u.createPath(this.getParentCreatedAt()),from:De,to:$e,value:st,splitLevel:Zt,fromPath:Xt,toPath:Ft}))}}getEffectedCreatedAt(){return this.getParentCreatedAt()}toTestString(){const u=this.getParentCreatedAt().toTestString(),h=`${this.fromPos.getLeftSiblingID().getCreatedAt().toTestString()}/${this.fromPos.getLeftSiblingID().getOffset()}`,S=`${this.toPos.getLeftSiblingID().getCreatedAt().toTestString()}/${this.toPos.getLeftSiblingID().getOffset()}`,A=this.contents||[];return`${u}.EDIT(${h},${S},${A.map(W=>j1(W)).join("")})`}getFromPos(){return this.fromPos}getToPos(){return this.toPos}getContents(){return this.contents}getSplitLevel(){return this.splitLevel}getMaxCreatedAtMapByActor(){return this.maxCreatedAtMapByActor}}class g0{constructor(u){a(this,"vector"),this.vector=u||new Map}set(u,h){this.vector.set(u,h)}get(u){return this.vector.get(u)}maxLamport(){let u=BigInt(0);for(const[,h]of this)h>u&&(u=h);return u}max(u){const h=new Map;for(const[S,A]of u){const W=this.vector.get(S),ne=W&&W>A?W:A;h.set(S,ne)}for(const[S,A]of this){const W=u.get(S),ne=W&&W>A?W:A;h.set(S,ne)}return new g0(h)}afterOrEqual(u){const h=this.vector.get(u.getActorID());return h===void 0?!1:h>=u.getLamport()}deepcopy(){const u=new Map;for(const[h,S]of this.vector)u.set(h,S);return new g0(u)}filter(u){const h=new Map;for(const[S]of u){const A=this.vector.get(S);A!==void 0&&h.set(S,A)}return new g0(h)}size(){return this.vector.size}*[Symbol.iterator](){for(const[u,h]of this.vector)yield[u,h]}}const UN=new g0(new Map);class au{constructor(u,h,S,A,W){a(this,"clientSeq"),a(this,"serverSeq"),a(this,"lamport"),a(this,"actor"),a(this,"versionVector"),this.clientSeq=u,this.serverSeq=W,this.lamport=h,this.versionVector=A,this.actor=S}static of(u,h,S,A,W){return new au(u,h,S,A,W)}next(){const u=this.versionVector.deepcopy();return u.set(this.actor,this.lamport+1n),new au(this.clientSeq+1,this.lamport+1n,this.actor,u)}syncClocks(u){const h=u.lamport>this.lamport?u.lamport+1n:this.lamport+1n,S=this.versionVector.max(u.versionVector),A=new au(this.clientSeq,h,this.actor,S);return A.versionVector.set(this.actor,h),A}setClocks(u,h){const S=u>this.lamport?u:this.lamport+1n,A=this.versionVector.max(h);return A.set(this.actor,S),au.of(this.clientSeq,S,this.actor,A)}createTimeTicket(u){return Uo.of(this.lamport,u,this.actor)}setActor(u){return new au(this.clientSeq,this.lamport,u,this.versionVector,this.serverSeq)}setVersionVector(u){return new au(this.clientSeq,this.lamport,this.actor,u,this.serverSeq)}getClientSeq(){return this.clientSeq}getServerSeq(){return this.serverSeq?this.serverSeq.toString():""}getLamport(){return this.lamport}getLamportAsString(){return this.lamport.toString()}getActorID(){return this.actor}getVersionVector(){return this.versionVector}toTestString(){return`${this.lamport.toString()}:${this.actor.slice(-2)}:${this.clientSeq}`}}const KA=new au(0,0n,ol,UN);class b0{constructor({id:u,operations:h,presenceChange:S,message:A}){a(this,"id"),a(this,"operations"),a(this,"presenceChange"),a(this,"message"),this.id=u,this.operations=h||[],this.presenceChange=S,this.message=A}static create({id:u,operations:h,presenceChange:S,message:A}){return new b0({id:u,operations:h,presenceChange:S,message:A})}getID(){return this.id}getMessage(){return this.message}hasOperations(){return this.operations.length>0}getOperations(){return this.operations}setActor(u){for(const h of this.operations)h.setActor(u);this.id=this.id.setActor(u)}hasPresenceChange(){return this.presenceChange!==void 0}getPresenceChange(){return this.presenceChange}execute(u,h,S){const A=[],W=[];for(const ne of this.operations){const pe=ne.execute(u,S);if(!pe)continue;const{opInfos:De,reverseOp:$e}=pe;A.push(...De),$e&&W.unshift($e)}return this.presenceChange&&(this.presenceChange.type===iu.Put?h.set(this.id.getActorID(),ta(this.presenceChange.presence)):h.delete(this.id.getActorID())),{opInfos:A,reverseOps:W}}toTestString(){return`${this.operations.map(u=>u.toTestString()).join(",")}`}toStruct(){return{changeID:ra.bytesToHex(ra.toChangeID(this.getID()).toBinary()),message:this.getMessage(),operations:this.getOperations().map(u=>ra.bytesToHex(ra.toOperation(u).toBinary())),presenceChange:this.getPresenceChange()}}static fromStruct(u){const{changeID:h,operations:S,presenceChange:A,message:W}=u;return b0.create({id:ra.bytesToChangeID(ra.hexToBytes(h)),operations:S==null?void 0:S.map(ne=>ra.bytesToOperation(ra.hexToBytes(ne))),presenceChange:A,message:W})}}class pv{constructor(u,h,S,A,W,ne,pe){a(this,"documentKey"),a(this,"checkpoint"),a(this,"isRemoved"),a(this,"changes"),a(this,"snapshot"),a(this,"minSyncedTicket"),a(this,"versionVector"),this.documentKey=u,this.checkpoint=h,this.isRemoved=S,this.changes=A,this.snapshot=ne,this.minSyncedTicket=pe,this.versionVector=W}static create(u,h,S,A,W,ne,pe){return new pv(u,h,S,A,W,ne,pe)}getDocumentKey(){return this.documentKey}getCheckpoint(){return this.checkpoint}getIsRemoved(){return this.isRemoved}getChanges(){return this.changes}hasChanges(){return this.changes.length>0}getChangeSize(){return this.changes.length}hasSnapshot(){return!!this.snapshot&&!!this.snapshot.length}getSnapshot(){return this.snapshot}getMinSyncedTicket(){return this.minSyncedTicket}getVersionVector(){return this.versionVector}}class yo{constructor(u,h){a(this,"serverSeq"),a(this,"clientSeq"),this.serverSeq=u,this.clientSeq=h}static of(u,h){return new yo(u,h)}increaseClientSeq(u){return u===0?this:new yo(this.serverSeq,this.clientSeq+u)}forward(u){if(this.equals(u))return this;const h=this.serverSeq>u.serverSeq?this.serverSeq:u.serverSeq,S=Math.max(this.clientSeq,u.clientSeq);return yo.of(h,S)}getServerSeqAsString(){return this.serverSeq.toString()}getClientSeq(){return this.clientSeq}getServerSeq(){return this.serverSeq}equals(u){return this.clientSeq===u.clientSeq&&this.serverSeq==u.serverSeq}toTestString(){return`serverSeq=${this.serverSeq}, clientSeq=${this.clientSeq}`}}const zN=new yo(0n,0);class ou{constructor(u,h){a(this,"createdAt"),a(this,"offset"),this.createdAt=u,this.offset=h}static of(u,h){return new ou(u,h)}static fromStruct(u){return ou.of(Uo.fromStruct(u.createdAt),u.offset)}getCreatedAt(){return this.createdAt}getOffset(){return this.offset}equals(u){return this.createdAt.compare(u.createdAt)===0&&this.offset===u.offset}hasSameCreatedAt(u){return this.createdAt.compare(u.createdAt)===0}split(u){return new ou(this.createdAt,this.offset+u)}toStruct(){return{createdAt:this.createdAt.toStruct(),offset:this.offset}}toTestString(){return`${this.createdAt.toTestString()}:${this.offset}`}toIDString(){return`${this.createdAt.toIDString()}:${this.offset}`}}const g2=ou.of(ro,0);class $u{constructor(u,h){a(this,"id"),a(this,"relativeOffset"),this.id=u,this.relativeOffset=h}static of(u,h){return new $u(u,h)}static fromStruct(u){const h=ou.fromStruct(u.id);return $u.of(h,u.relativeOffset)}getID(){return this.id}getRelativeOffset(){return this.relativeOffset}getAbsoluteID(){return ou.of(this.id.getCreatedAt(),this.id.getOffset()+this.relativeOffset)}toTestString(){return`${this.id.toTestString()}:${this.relativeOffset}`}toStruct(){return{id:this.id.toStruct(),relativeOffset:this.relativeOffset}}equals(u){return this.id.equals(u.id)?this.relativeOffset===u.relativeOffset:!1}}class Ff extends Ee{constructor(u,h,S){super(h),a(this,"id"),a(this,"removedAt"),a(this,"prev"),a(this,"next"),a(this,"insPrev"),a(this,"insNext"),this.id=u,this.removedAt=S}static create(u,h){return new Ff(u,h)}static createComparator(){return(u,h)=>{const S=u.getCreatedAt().compare(h.getCreatedAt());return S!==0?S:u.getOffset()>h.getOffset()?1:u.getOffset()0&&h.getID().getOffset()==u.getOffset()){if(!h.hasInsPrev())return h;h=h.getInsPrev()}return h}findFloorNode(u){const h=this.treeByID.floorEntry(u);if(h&&!(!h.key.equals(u)&&!h.key.hasSameCreatedAt(u)))return h.value}findBetween(u,h){const S=[];let A=u;for(;A&&A!==h;)S.push(A),A=A.getNext();return S}splitNode(u,h){if(h>u.getContentLength())throw new wt(Et.ErrInvalidArgument,"offset should be less than or equal to length");if(h===0)return u;if(h===u.getContentLength())return u.getNext();const S=u.split(h);this.treeByIndex.updateWeight(S),this.insertAfter(u,S);const A=u.getInsNext();return A&&A.setInsPrev(S),S.setInsPrev(u),S}deleteNodes(u,h,S){if(!u.length)return[[],new Map,new Map];const[A,W]=this.filterNodes(u,h,S),ne=new Map,pe=new Map,De=this.makeChanges(W,h);for(const $e of A){const st=$e.getCreatedAt().getActorID();(!ne.has(st)||$e.getID().getCreatedAt().after(ne.get(st)))&&ne.set(st,$e.getID().getCreatedAt()),pe.set($e.getID().toIDString(),$e),$e.remove(h)}return this.deleteIndexNodes(W),[De,ne,pe]}filterNodes(u,h,S){const A=!!S,W=[],ne=[],[pe,De]=this.findEdgesOfCandidates(u);ne.push(pe);for(const $e of u){const st=$e.getCreatedAt().getActorID(),Zt=A?S.has(st)?S.get(st):ro:f0;$e.canDelete(h,Zt)?W.push($e):ne.push($e)}return ne.push(De),[W,ne]}findEdgesOfCandidates(u){return[u[0].getPrev(),u[u.length-1].getNext()]}makeChanges(u,h){const S=[];let A,W;for(let ne=0;ney<0?Math.ceil(y):Math.floor(y);var Bu=(y=>(y[y.IntegerCnt=0]="IntegerCnt",y[y.LongCnt=1]="LongCnt",y))(Bu||{});class Nl extends E{constructor(u,h,S){switch(super(S),a(this,"valueType"),a(this,"value"),this.valueType=u,u){case 0:typeof h=="number"?h>Math.pow(2,31)-1||h<-Math.pow(2,31)?this.value=et.fromNumber(h).toInt():this.value=$f(h):this.value=h.toInt();break;case 1:typeof h=="number"?this.value=et.fromNumber(h):this.value=h;break;default:throw new wt(Et.ErrUnimplemented,`unimplemented type: ${u}`)}}static create(u,h,S){return new Nl(u,h,S)}static valueFromBytes(u,h){switch(u){case 0:return h[0]|h[1]<<8|h[2]<<16|h[3]<<24;case 1:return et.fromBytesLE(Array.from(h));default:throw new wt(Et.ErrUnimplemented,`unimplemented type: ${u}`)}}toJSON(){return`${this.value}`}toSortedJSON(){return this.toJSON()}toJSForTest(){return{createdAt:this.getCreatedAt().toTestString(),value:this.value,type:"YORKIE_COUNTER"}}deepcopy(){const u=Nl.create(this.valueType,this.value,this.getCreatedAt());return u.setMovedAt(this.getMovedAt()),u}getType(){return this.valueType}static getCounterType(u){switch(typeof u){case"object":return u instanceof et?1:void 0;case"number":return u>Math.pow(2,31)-1||u<-Math.pow(2,31)?1:0;default:return}}static isSupport(u){return!!Nl.getCounterType(u)}static isInteger(u){return u%1===0}isNumericType(){const u=this.valueType;return u===0||u===1}getValueType(){return this.valueType}getValue(){return this.value}toBytes(){switch(this.valueType){case 0:{const u=this.value;return new Uint8Array([u&255,u>>8&255,u>>16&255,u>>24&255])}case 1:{const h=this.value.toBytesLE();return Uint8Array.from(h)}default:throw new wt(Et.ErrUnimplemented,`unimplemented type: ${this.valueType}`)}}increase(u){function h(S){if(!S.isNumericType())throw new TypeError(`Unsupported type of value: ${typeof S.getValue()}`)}return h(this),h(u),this.valueType===1?this.value=this.value.add(u.getValue()):u.getType()===qi.Long?this.value=this.value+u.getValue().toInt():this.value=et.fromNumber(this.value+$f(u.getValue())).toInt(),this}}class Bf extends ce{constructor(u,h,S){super(u,S),a(this,"value"),this.value=h}static create(u,h,S){return new Bf(u,h,S)}execute(u){const h=u.findByCreatedAt(this.getParentCreatedAt());if(!h)throw new wt(Et.ErrInvalidArgument,`fail to find ${this.getParentCreatedAt()}`);if(!(h instanceof Nl))throw new wt(Et.ErrInvalidArgument,"fail to execute, only Counter can execute increase");const S=h,A=this.value.deepcopy();return S.increase(A),{opInfos:[{type:"increase",path:u.createPath(this.getParentCreatedAt()),value:A.getValue()}],reverseOp:this.toReverseOperation()}}toReverseOperation(){const u=this.value.deepcopy(),S=u.getType()===qi.Long?u.getValue().multiply(-1):u.getValue()*-1;return Bf.create(this.getParentCreatedAt(),Es.of(S,u.getCreatedAt()))}getEffectedCreatedAt(){return this.getParentCreatedAt()}toTestString(){return`${this.getParentCreatedAt().toTestString()}.INCREASE.${this.value.toJSON()}`}getValue(){return this.value}}class Pd extends ce{constructor(u,h,S,A,W,ne,pe){super(u,pe),a(this,"fromPos"),a(this,"toPos"),a(this,"maxCreatedAtMapByActor"),a(this,"attributes"),a(this,"attributesToRemove"),this.fromPos=h,this.toPos=S,this.maxCreatedAtMapByActor=A,this.attributes=W,this.attributesToRemove=ne}static create(u,h,S,A,W,ne){return new Pd(u,h,S,A,W,new Array,ne)}static createTreeRemoveStyleOperation(u,h,S,A,W,ne){return new Pd(u,h,S,A,new Map,W,ne)}execute(u){const h=u.findByCreatedAt(this.getParentCreatedAt());if(!h)throw new wt(Et.ErrInvalidArgument,`fail to find ${this.getParentCreatedAt()}`);if(!(h instanceof Dl))throw new wt(Et.ErrInvalidArgument,"fail to execute, only Tree can execute edit");const S=h;let A,W;if(this.attributes.size){const ne={};[...this.attributes].forEach(([pe,De])=>ne[pe]=De),[,W,A]=S.style([this.fromPos,this.toPos],ne,this.getExecutedAt(),this.maxCreatedAtMapByActor)}else{const ne=this.attributesToRemove;[,W,A]=S.removeStyle([this.fromPos,this.toPos],ne,this.getExecutedAt(),this.maxCreatedAtMapByActor)}for(const ne of W)u.registerGCPair(ne);return{opInfos:A.map(({from:ne,to:pe,value:De,fromPath:$e,toPath:st})=>({type:"tree-style",from:ne,to:pe,value:this.attributes.size?{attributes:De}:{attributesToRemove:De},fromPath:$e,toPath:st,path:u.createPath(this.getParentCreatedAt())}))}}getEffectedCreatedAt(){return this.getParentCreatedAt()}toTestString(){const u=this.getParentCreatedAt().toTestString(),h=`${this.fromPos.getLeftSiblingID().getCreatedAt().toTestString()}:${this.fromPos.getLeftSiblingID().getOffset()}`,S=`${this.toPos.getLeftSiblingID().getCreatedAt().toTestString()}:${this.toPos.getLeftSiblingID().getOffset()}`;return`${u}.STYLE(${h},${S},${Object.entries(this.attributes||{}).map(([A,W])=>`${A}:"${W}"`).join(" ")})`}getFromPos(){return this.fromPos}getToPos(){return this.toPos}getAttributes(){return this.attributes}getAttributesToRemove(){return this.attributesToRemove}getMaxCreatedAtMapByActor(){return this.maxCreatedAtMapByActor}}function b2(y){const u=new xd,h=u.data;for(const[S,A]of Object.entries(y))h[S]=JSON.stringify(A);return u}function JA(y){if(y.type===iu.Put)return new i0({type:Pu.PUT,presence:b2(y.presence)});if(y.type===iu.Clear)return new i0({type:Pu.CLEAR});throw new wt(Et.ErrUnimplemented,"unimplemented type")}function y2(y){return new zm({serverSeq:y.getServerSeq(),clientSeq:y.getClientSeq()})}function mv(y){return new Ih({clientSeq:y.getClientSeq(),lamport:y.getLamport(),actorId:xc(y.getActorID()),versionVector:v2(y.getVersionVector())})}function Un(y){if(y)return new Wn({lamport:y.getLamport(),delimiter:y.getDelimiter(),actorId:xc(y.getActorID())})}function v2(y){if(!y)return;const u=new Dh;for(const[h,S]of y)u.vector[h]=BigInt(S.toString());return u}function Uf(y){switch(y){case qi.Null:return Tr.NULL;case qi.Boolean:return Tr.BOOLEAN;case qi.Integer:return Tr.INTEGER;case qi.Long:return Tr.LONG;case qi.Double:return Tr.DOUBLE;case qi.String:return Tr.STRING;case qi.Bytes:return Tr.BYTES;case qi.Date:return Tr.DATE;default:throw new wt(Et.ErrInvalidType,`unsupported type: ${y}`)}}function S2(y){switch(y){case Bu.IntegerCnt:return Tr.INTEGER_CNT;case Bu.LongCnt:return Tr.LONG_CNT;default:throw new wt(Et.ErrInvalidType,`unsupported type: ${y}`)}}function gv(y){if(y instanceof G)return new nu({type:Tr.JSON_OBJECT,createdAt:Un(y.getCreatedAt()),value:cC(y)});if(y instanceof su)return new nu({type:Tr.JSON_ARRAY,createdAt:Un(y.getCreatedAt()),value:dC(y)});if(y instanceof Mu)return new nu({type:Tr.TEXT,createdAt:Un(y.getCreatedAt())});if(y instanceof Es)return new nu({type:Uf(y.getType()),createdAt:Un(y.getCreatedAt()),value:y.toBytes()});if(y instanceof Nl)return new nu({type:S2(y.getType()),createdAt:Un(y.getCreatedAt()),value:y.toBytes()});if(y instanceof Dl)return new nu({type:Tr.TREE,createdAt:Un(y.getCreatedAt()),value:fC(y)});throw new wt(Et.ErrUnimplemented,"unimplemented element")}function O2(y){return new go({createdAt:Un(y.getCreatedAt()),offset:y.getOffset()})}function bv(y){return new Bo({createdAt:Un(y.getID().getCreatedAt()),offset:y.getID().getOffset(),relativeOffset:y.getRelativeOffset()})}function yv(y){return new e0({parentId:W1(y.getParentID()),leftSiblingId:W1(y.getLeftSiblingID())})}function W1(y){return new Sc({createdAt:Un(y.getCreatedAt()),offset:y.getOffset()})}function E2(y){const u=new Nm;if(y instanceof p0){const h=y,S=new Yp;S.parentCreatedAt=Un(h.getParentCreatedAt()),S.key=h.getKey(),S.value=gv(h.getValue()),S.executedAt=Un(h.getExecutedAt()),u.body.case="set",u.body.value=S}else if(y instanceof m0){const h=y,S=new D1;S.parentCreatedAt=Un(h.getParentCreatedAt()),S.prevCreatedAt=Un(h.getPrevCreatedAt()),S.value=gv(h.getValue()),S.executedAt=Un(h.getExecutedAt()),u.body.case="add",u.body.value=S}else if(y instanceof Uh){const h=y,S=new mo;S.parentCreatedAt=Un(h.getParentCreatedAt()),S.prevCreatedAt=Un(h.getPrevCreatedAt()),S.createdAt=Un(h.getCreatedAt()),S.executedAt=Un(h.getExecutedAt()),u.body.case="move",u.body.value=S}else if(y instanceof Bh){const h=y,S=new Od;S.parentCreatedAt=Un(h.getParentCreatedAt()),S.createdAt=Un(h.getCreatedAt()),S.executedAt=Un(h.getExecutedAt()),u.body.case="remove",u.body.value=S}else if(y instanceof Mf){const h=y,S=new N1;S.parentCreatedAt=Un(h.getParentCreatedAt()),S.from=bv(h.getFromPos()),S.to=bv(h.getToPos());const A=S.createdAtMapByActor;for(const[ne,pe]of h.getMaxCreatedAtMapByActor())A[ne]=Un(pe);S.content=h.getContent();const W=S.attributes;for(const[ne,pe]of h.getAttributes())W[ne]=pe;S.executedAt=Un(h.getExecutedAt()),u.body.case="edit",u.body.value=S}else if(y instanceof H1){const h=y,S=new Lm;S.parentCreatedAt=Un(h.getParentCreatedAt()),S.from=bv(h.getFromPos()),S.to=bv(h.getToPos());const A=S.createdAtMapByActor;for(const[ne,pe]of h.getMaxCreatedAtMapByActor())A[ne]=Un(pe);const W=S.attributes;for(const[ne,pe]of h.getAttributes())W[ne]=pe;S.executedAt=Un(h.getExecutedAt()),u.body.case="style",u.body.value=S}else if(y instanceof Bf){const h=y,S=new Du;S.parentCreatedAt=Un(h.getParentCreatedAt()),S.value=gv(h.getValue()),S.executedAt=Un(h.getExecutedAt()),u.body.case="increase",u.body.value=S}else if(y instanceof Pr){const h=y,S=new Zy,A=S.createdAtMapByActor;for(const[W,ne]of h.getMaxCreatedAtMapByActor())A[W]=Un(ne);S.parentCreatedAt=Un(h.getParentCreatedAt()),S.from=yv(h.getFromPos()),S.to=yv(h.getToPos()),S.contents=qN(h.getContents()),S.splitLevel=h.getSplitLevel(),S.executedAt=Un(h.getExecutedAt()),u.body.case="treeEdit",u.body.value=S}else if(y instanceof Pd){const h=y,S=new Xp;S.parentCreatedAt=Un(h.getParentCreatedAt()),S.from=yv(h.getFromPos()),S.to=yv(h.getToPos());const A=S.createdAtMapByActor;for(const[ne,pe]of h.getMaxCreatedAtMapByActor())A[ne]=Un(pe);const W=h.getAttributesToRemove();if(W.length>0)S.attributesToRemove=W;else{const ne=S.attributes;for(const[pe,De]of h.getAttributes())ne[pe]=De}S.executedAt=Un(h.getExecutedAt()),u.body.case="treeStyle",u.body.value=S}else throw new wt(Et.ErrUnimplemented,"unimplemented operation");return u}function eC(y){const u=[];for(const h of y)u.push(E2(h));return u}function HN(y){const u=new Dm({id:mv(y.getID()),message:y.getMessage()});return y.hasOperations()&&(u.operations=eC(y.getOperations())),y.hasPresenceChange()&&(u.presenceChange=JA(y.getPresenceChange())),u}function tC(y){const u=[];for(const h of y)u.push(HN(h));return u}function nC(y){const u=[];for(const h of y)u.push(new gr({key:h.getStrKey(),element:v0(h.getValue())}));return u}function Pl(y){const u=[];for(const h of y)u.push(new Ds({element:v0(h.getValue())}));return u}function Ld(y){const u=[];for(const h of y){const S=new $o;S.id=O2(h.getID()),S.value=h.getValue().getContent(),S.removedAt=Un(h.getRemovedAt());const A=S.attributes,W=h.getValue().getAttrs();for(const ne of W){const pe=new Af;pe.value=ne.getValue(),pe.updatedAt=Un(ne.getUpdatedAt()),A[ne.getKey()]=pe}u.push(S)}return u}function qN(y){const u=[];if(!y||!y.length)return u;for(const h of y)u.push(new yi({content:Vm(h)}));return u}function jN(y){const u={};for(const h of y)u[h.getKey()]=new Af({value:h.getValue(),updatedAt:Un(h.getUpdatedAt()),isRemoved:h.isRemoved()});return u}function Vm(y){if(!y)return[];const u=[];return Qm(y,(h,S)=>{const A=new Cf({id:W1(h.id),type:h.type,removedAt:Un(h.removedAt),depth:S});h.isText&&(A.value=h.value),h.insPrevID&&(A.insPrevId=W1(h.insPrevID)),h.insNextID&&(A.insNextId=W1(h.insNextID)),h.attrs&&(A.attributes=jN(h.attrs)),u.push(A)}),u}function Gm(y){const u=new Aa;return u.body.case="jsonObject",u.body.value=new P1({nodes:nC(y.getRHT()),createdAt:Un(y.getCreatedAt()),movedAt:Un(y.getMovedAt()),removedAt:Un(y.getRemovedAt())}),u}function w2(y){const u=new Aa;return u.body.case="jsonArray",u.body.value=new Xy({nodes:Pl(y.getElements()),createdAt:Un(y.getCreatedAt()),movedAt:Un(y.getMovedAt()),removedAt:Un(y.getRemovedAt())}),u}function rC(y){const u=new Aa;return u.body.case="primitive",u.body.value=new Ky({type:Uf(y.getType()),value:y.toBytes(),createdAt:Un(y.getCreatedAt()),movedAt:Un(y.getMovedAt()),removedAt:Un(y.getRemovedAt())}),u}function WN(y){const u=new Aa;return u.body.case="text",u.body.value=new Ed({nodes:Ld(y.getRGATreeSplit()),createdAt:Un(y.getCreatedAt()),movedAt:Un(y.getMovedAt()),removedAt:Un(y.getRemovedAt())}),u}function iC(y){const u=new Aa;return u.body.case="counter",u.body.value=new Lt({type:S2(y.getType()),value:y.toBytes(),createdAt:Un(y.getCreatedAt()),movedAt:Un(y.getMovedAt()),removedAt:Un(y.getRemovedAt())}),u}function y0(y){const u=new Aa;return u.body.case="tree",u.body.value=new In({nodes:Vm(y.getRoot()),createdAt:Un(y.getCreatedAt()),movedAt:Un(y.getMovedAt()),removedAt:Un(y.getRemovedAt())}),u}function v0(y){if(y instanceof G)return Gm(y);if(y instanceof su)return w2(y);if(y instanceof Es)return rC(y);if(y instanceof Mu)return WN(y);if(y instanceof Nl)return iC(y);if(y instanceof Dl)return y0(y);throw new wt(Et.ErrUnimplemented,"unimplemented element")}function QN(y){return new tu({documentKey:y.getDocumentKey(),checkpoint:y2(y.getCheckpoint()),isRemoved:y.getIsRemoved(),changes:tC(y.getChanges()),snapshot:y.getSnapshot(),versionVector:v2(y.getVersionVector()),minSyncedTicket:Un(y.getMinSyncedTicket())})}function x2(y){const u=y.findDetails(F1);for(const h of u)if(h.metadata.code)return h.metadata.code;return""}function T2(y){return au.of(y.clientSeq,BigInt(y.lamport),I2(y.actorId),Ym(y.versionVector),BigInt(y.serverSeq))}function Ym(y){if(!y)return;const u=new g0;return Object.entries(y.vector).forEach(([h,S])=>{u.set(h,BigInt(S.toString()))}),u}function nr(y){if(y)return Uo.of(BigInt(y.lamport),y.delimiter,I2(y.actorId))}function Zm(y){const u={};return Object.entries(y.data).forEach(([h,S])=>{u[h]=JSON.parse(S)}),u}function k2(y){const u=y.type;if(u===Pu.PUT){const h=Zm(y.presence);return{type:iu.Put,presence:h}}if(u===Pu.CLEAR)return{type:iu.Clear};throw new wt(Et.ErrInvalidType,`unsupported type: ${u}`)}function vv(y){const u=new Map;return Object.entries(y).forEach(([h,S])=>{u.set(h,Zm(S))}),u}function sC(y){switch(y){case Tr.NULL:return qi.Null;case Tr.BOOLEAN:return qi.Boolean;case Tr.INTEGER:return qi.Integer;case Tr.LONG:return qi.Long;case Tr.DOUBLE:return qi.Double;case Tr.STRING:return qi.String;case Tr.BYTES:return qi.Bytes;case Tr.DATE:return qi.Date}throw new wt(Et.ErrUnimplemented,`unimplemented value type: ${y}`)}function Q1(y){switch(y){case Tr.INTEGER_CNT:return Bu.IntegerCnt;case Tr.LONG_CNT:return Bu.LongCnt}throw new wt(Et.ErrUnimplemented,`unimplemented value type: ${y}`)}function Xm(y){switch(y.type){case Tr.JSON_OBJECT:return y.value?vo(y.value):G.create(nr(y.createdAt));case Tr.JSON_ARRAY:return y.value?XN(y.value):su.create(nr(y.createdAt));case Tr.TEXT:return Mu.create(ao.create(),nr(y.createdAt));case Tr.TREE:return KN(y.value);case Tr.NULL:case Tr.BOOLEAN:case Tr.INTEGER:case Tr.LONG:case Tr.DOUBLE:case Tr.STRING:case Tr.BYTES:case Tr.DATE:return Es.of(Es.valueFromBytes(sC(y.type),y.value),nr(y.createdAt));case Tr.INTEGER_CNT:case Tr.LONG_CNT:return Nl.create(Q1(y.type),Nl.valueFromBytes(Q1(y.type),y.value),nr(y.createdAt))}}function V1(y){return $u.of(ou.of(nr(y.createdAt),y.offset),y.relativeOffset)}function Sv(y){return ou.of(nr(y.createdAt),y.offset)}function VN(y){const u=z1.create(y.value);Object.entries(y.attributes).forEach(([S,A])=>{u.setAttr(S,A.value,nr(A.updatedAt))});const h=Ff.create(Sv(y.id),u);return h.remove(nr(y.removedAt)),h}function S0(y){return Fu.of(lu(y.parentId),lu(y.leftSiblingId))}function lu(y){return bo.of(nr(y.createdAt),y.offset)}function aC(y){if(!y.length)return;const u=[];return y.forEach(h=>{const S=Ov(h.content);u.push(S)}),u}function Ov(y){if(y.length===0)return;const u=[];for(const A of y)u.push(oC(A));const h=u[u.length-1],S=new Map;S.set(y[u.length-1].depth,u[u.length-1]);for(let A=u.length-2;A>=0;A--)S.get(y[A].depth-1).prepend(u[A]),S.set(y[A].depth,u[A]);return h.updateDescendantsSize(),Dl.create(h,ro).getRoot()}function GN(y){const u=Dd.create();for(const[h,S]of Object.entries(y))u.setInternal(h,S.value,nr(S.updatedAt),S.isRemoved);return u}function oC(y){const u=lu(y.id),h=ll.create(u,y.type),S=Object.entries(y.attributes);return h.isText?h.value=y.value:S.length&&(h.attrs=GN(y.attributes)),y.insPrevId&&(h.insPrevID=lu(y.insPrevId)),y.insNextId&&(h.insNextID=lu(y.insNextId)),h.removedAt=nr(y.removedAt),h}function lC(y){if(y.body.case==="set"){const u=y.body.value;return p0.create(u.key,Xm(u.value),nr(u.parentCreatedAt),nr(u.executedAt))}else if(y.body.case==="add"){const u=y.body.value;return m0.create(nr(u.parentCreatedAt),nr(u.prevCreatedAt),Xm(u.value),nr(u.executedAt))}else if(y.body.case==="move"){const u=y.body.value;return Uh.create(nr(u.parentCreatedAt),nr(u.prevCreatedAt),nr(u.createdAt),nr(u.executedAt))}else if(y.body.case==="remove"){const u=y.body.value;return Bh.create(nr(u.parentCreatedAt),nr(u.createdAt),nr(u.executedAt))}else if(y.body.case==="edit"){const u=y.body.value,h=new Map;Object.entries(u.createdAtMapByActor).forEach(([A,W])=>{h.set(A,nr(W))});const S=new Map;return Object.entries(u.attributes).forEach(([A,W])=>{S.set(A,W)}),Mf.create(nr(u.parentCreatedAt),V1(u.from),V1(u.to),h,u.content,S,nr(u.executedAt))}else if(y.body.case==="style"){const u=y.body.value,h=new Map;Object.entries(u.createdAtMapByActor).forEach(([A,W])=>{h.set(A,nr(W))});const S=new Map;return Object.entries(u.attributes).forEach(([A,W])=>{S.set(A,W)}),H1.create(nr(u.parentCreatedAt),V1(u.from),V1(u.to),h,S,nr(u.executedAt))}else{if(y.body.case==="select")return;if(y.body.case==="increase"){const u=y.body.value;return Bf.create(nr(u.parentCreatedAt),Xm(u.value),nr(u.executedAt))}else if(y.body.case==="treeEdit"){const u=y.body.value,h=new Map;return Object.entries(u.createdAtMapByActor).forEach(([S,A])=>{h.set(S,nr(A))}),Pr.create(nr(u.parentCreatedAt),S0(u.from),S0(u.to),aC(u.contents),u.splitLevel,h,nr(u.executedAt))}else if(y.body.case==="treeStyle"){const u=y.body.value,h=new Map,S=u.attributesToRemove,A=new Map;return u!=null&&u.createdAtMapByActor&&Object.entries(u.createdAtMapByActor).forEach(([W,ne])=>{A.set(W,nr(ne))}),(S==null?void 0:S.length)>0?Pd.createTreeRemoveStyleOperation(nr(u.parentCreatedAt),S0(u.from),S0(u.to),A,S,nr(u.executedAt)):(Object.entries(u.attributes).forEach(([W,ne])=>{h.set(W,ne)}),Pd.create(nr(u.parentCreatedAt),S0(u.from),S0(u.to),A,h,nr(u.executedAt)))}else throw new wt(Et.ErrUnimplemented,"unimplemented operation")}}function YN(y){const u=[];for(const h of y){const S=lC(h);S&&u.push(S)}return u}function Md(y){const u=[];for(const h of y)u.push(b0.create({id:T2(h.id),operations:YN(h.operations),presenceChange:h.presenceChange?k2(h.presenceChange):void 0,message:h.message}));return u}function _2(y){return yo.of(BigInt(y.serverSeq),y.clientSeq)}function A2(y){return pv.create(y.documentKey,_2(y.checkpoint),y.isRemoved,Md(y.changes),Ym(y.versionVector),y.snapshot,nr(y.minSyncedTicket))}function Ev(y){const u=new D;for(const S of y.nodes){const A=zf(S.element);u.set(S.key,A,A.getPositionedAt())}const h=new G(nr(y.createdAt),u);return h.setMovedAt(nr(y.movedAt)),h.setRemovedAt(nr(y.removedAt)),h}function G1(y){const u=new h0;for(const S of y.nodes)u.insert(zf(S.element));const h=new su(nr(y.createdAt),u);return h.setMovedAt(nr(y.movedAt)),h.setRemovedAt(nr(y.removedAt)),h}function Km(y){const u=Es.of(Es.valueFromBytes(sC(y.type),y.value),nr(y.createdAt));return u.setMovedAt(nr(y.movedAt)),u.setRemovedAt(nr(y.removedAt)),u}function pr(y){const u=new ao;let h=u.getHead();for(const A of y.nodes){const W=u.insertAfter(h,VN(A));A.insPrevId&&W.setInsPrev(u.findNode(Sv(A.insPrevId))),h=W}const S=new Mu(u,nr(y.createdAt));return S.setMovedAt(nr(y.movedAt)),S.setRemovedAt(nr(y.removedAt)),S}function wv(y){const u=Nl.create(Q1(y.type),Nl.valueFromBytes(Q1(y.type),y.value),nr(y.createdAt));return u.setMovedAt(nr(y.movedAt)),u.setRemovedAt(nr(y.removedAt)),u}function xv(y){const u=Ov(y.nodes);return Dl.create(u,nr(y.createdAt))}function zf(y){if(y.body.case==="jsonObject")return Ev(y.body.value);if(y.body.case==="jsonArray")return G1(y.body.value);if(y.body.case==="primitive")return Km(y.body.value);if(y.body.case==="text")return pr(y.body.value);if(y.body.case==="counter")return wv(y.body.value);if(y.body.case==="tree")return xv(y.body.value);throw new wt(Et.ErrUnimplemented,"unimplemented element")}function ZN(y){if(!y)return{root:G.create(ro),presences:new Map};const u=d2.fromBinary(y);return{root:zf(u.root),presences:vv(u.presences)}}function C2(y){const u=v2(y);return R2(u.toBinary())}function uC(y){const u=D2(y),h=Dh.fromBinary(u);return Ym(h)}function vo(y){if(!y)throw new wt(Et.ErrInvalidArgument,"bytes is empty");const u=Aa.fromBinary(y);return Ev(u.body.value)}function cC(y){return v0(y).toBinary()}function XN(y){if(!y)throw new wt(Et.ErrInvalidArgument,"bytes is empty");const u=Aa.fromBinary(y);return G1(u.body.value)}function dC(y){return w2(y).toBinary()}function KN(y){if(!y)throw new wt(Et.ErrInvalidArgument,"bytes is empty");const u=Aa.fromBinary(y);return xv(u.body.value)}function fC(y){return y0(y).toBinary()}function R2(y){return y?Array.from(y).map(u=>u.toString(16).padStart(2,"0")).join(""):""}function I2(y){return R2(y)}function D2(y){return new Uint8Array(y.match(/.{1,2}/g).map(u=>parseInt(u,16)))}function xc(y){return D2(y)}function ul(y){const u=Ih.fromBinary(y);return T2(u)}function N2(y){const u=Nm.fromBinary(y);return lC(u)}const ra={fromPresence:Zm,toChangePack:QN,fromChangePack:A2,fromChanges:Md,toTreeNodes:Vm,fromTreeNodes:Ov,objectToBytes:cC,bytesToObject:vo,bytesToSnapshot:ZN,bytesToHex:R2,hexToBytes:D2,toHexString:I2,toUint8Array:xc,toOperation:E2,toChangeID:mv,PbChangeID:Ih,bytesToChangeID:ul,bytesToOperation:N2,versionVectorToHex:C2,hexToVersionVector:uC};var oo=(y=>(y[y.Trivial=0]="Trivial",y[y.Debug=1]="Debug",y[y.Info=2]="Info",y[y.Warn=3]="Warn",y[y.Error=4]="Error",y[y.Fatal=5]="Fatal",y))(oo||{});let O0=3;function P2(y){O0=y}const ar={trivial:(...y)=>{O0>0||typeof console<"u"&&console.log("YORKIE T:",...y)},debug:(...y)=>{O0>1||typeof console<"u"&&console.log("YORKIE D:",...y)},info:(...y)=>{O0>2||typeof console<"u"&&console.log("YORKIE I:",...y)},warn:(...y)=>{O0>3||typeof console<"u"&&(typeof console.warn<"u"?console.warn("YORKIE W:",...y):console.log("YORKIE W:",...y))},error:(...y)=>{O0>4||typeof console<"u"&&(typeof console.error<"u"?console.error("YORKIE E:",...y):console.log("YORKIE E:",...y))},fatal:(...y)=>{typeof console<"u"&&(typeof console.error<"u"?console.error("YORKIE F:",...y):console.log("YORKIE F:",...y))},isEnabled:y=>O0<=y};function L2(){return"xxxxxxxx-xxxx-4xxxy-xxxx-xxxxxxxxxxx".replace(/[xy]/g,y=>{const u=Math.random()*16|0;return(y==="x"?u:u&3|8).toString(16)})}class hC{constructor(u,h,S,A,W){a(this,"reconnectStreamDelay"),a(this,"doc"),a(this,"docID"),a(this,"syncMode"),a(this,"remoteChangeEventReceived"),a(this,"watchStream"),a(this,"watchLoopTimerID"),a(this,"watchAbortController"),a(this,"unsubscribeBroadcastEvent"),this.reconnectStreamDelay=u,this.doc=h,this.docID=S,this.syncMode=A,this.remoteChangeEventReceived=!1,this.unsubscribeBroadcastEvent=W}changeSyncMode(u){this.syncMode=u}needRealtimeSync(){return this.syncMode===K1.RealtimeSyncOff?!1:this.syncMode===K1.RealtimePushOnly?this.doc.hasLocalChanges():this.syncMode!==K1.Manual&&(this.doc.hasLocalChanges()||this.remoteChangeEventReceived)}async runWatchLoop(u){const h=async()=>{if(this.watchStream)return Promise.resolve();this.watchLoopTimerID&&(clearTimeout(this.watchLoopTimerID),this.watchLoopTimerID=void 0);try{[this.watchStream,this.watchAbortController]=await u(()=>{this.watchStream=void 0,this.watchAbortController=void 0,this.watchLoopTimerID=setTimeout(h,this.reconnectStreamDelay)})}catch{}};await h()}cancelWatchStream(){this.watchStream&&this.watchAbortController&&(this.watchAbortController.abort(),this.watchStream=void 0,this.watchAbortController=void 0),clearTimeout(this.watchLoopTimerID),this.watchLoopTimerID=void 0}}const M2=()=>{};class JN{constructor(u){a(this,"finalized",!1),a(this,"observers",[]),a(this,"finalError");try{u(this)}catch(h){this.error(h)}}next(u){this.forEachObserver(h=>{h.next(u)})}error(u){this.forEachObserver(h=>{h.error(u)}),this.close(u)}complete(){this.forEachObserver(u=>{u.complete()}),this.close()}subscribe(u,h,S){let A;if(!u)throw new wt(Et.ErrInvalidArgument,"missing observer");if(this.finalized)throw new wt(Et.ErrRefused,"observable is finalized due to previous error");typeof u=="object"?A=u:A={next:u,error:h,complete:S},A.next===void 0&&(A.next=M2),A.error===void 0&&(A.error=M2),A.complete===void 0&&(A.complete=M2);const W=L2(),ne=this.unsubscribeOne.bind(this,W);if(this.observers.push({subscriptionID:W,observer:A}),this.finalized)try{this.finalError?A.error(this.finalError):A.complete()}catch(pe){ar.warn(pe)}return ne}unsubscribeOne(u){var h;this.observers=(h=this.observers)==null?void 0:h.filter(S=>S.subscriptionID!==u)}forEachObserver(u){if(!this.finalized)for(let h=0;hu}}class Jm{constructor(u,h,S,A){a(this,"id"),a(this,"delimiter"),a(this,"message"),a(this,"root"),a(this,"operations"),a(this,"presenceChange"),a(this,"previousPresence"),a(this,"reversePresenceKeys"),this.id=u,this.delimiter=lv,this.root=h,this.operations=[],this.previousPresence=ta(S),this.presenceChange=void 0,this.reversePresenceKeys=new Set,this.message=A}static create(u,h,S,A){return new Jm(u,h,S,A)}push(u){this.operations.push(u)}registerElement(u,h){this.root.registerElement(u,h)}registerRemovedElement(u){this.root.registerRemovedElement(u)}registerGCPair(u){this.root.registerGCPair(u)}getChange(){return b0.create({id:this.id,operations:this.operations,presenceChange:this.presenceChange,message:this.message})}hasChange(){return this.operations.length>0||this.presenceChange!==void 0}setPresenceChange(u){this.presenceChange=u}setReversePresence(u,h){for(const S of Object.keys(u))h!=null&&h.addToHistory?this.reversePresenceKeys.add(S):this.reversePresenceKeys.delete(S)}getReversePresence(){if(this.reversePresenceKeys.size===0)return;const u={};for(const h of this.reversePresenceKeys)u[h]=this.previousPresence[h];return u}issueTimeTicket(){return this.delimiter+=1,this.id.createTimeTicket(this.delimiter)}getLastTimeTicket(){return this.id.createTimeTicket(this.delimiter)}}class eg{constructor(u){a(this,"rootObject"),a(this,"elementPairMapByCreatedAt"),a(this,"gcElementSetByCreatedAt"),a(this,"gcPairMap"),this.rootObject=u,this.elementPairMapByCreatedAt=new Map,this.gcElementSetByCreatedAt=new Set,this.gcPairMap=new Map,this.registerElement(u,void 0),u.getDescendants(h=>{if(h.getRemovedAt()&&this.registerRemovedElement(h),h instanceof Mu||h instanceof Dl)for(const S of h.getGCPairs())this.registerGCPair(S);return!1})}static create(){return new eg(G.create(ro))}findByCreatedAt(u){const h=this.elementPairMapByCreatedAt.get(u.toIDString());if(h)return h.element}findElementPairByCreatedAt(u){return this.elementPairMapByCreatedAt.get(u.toIDString())}createSubPaths(u){let h=this.elementPairMapByCreatedAt.get(u.toIDString());if(!h)return[];const S=[];for(;h.parent;){const A=h.element.getCreatedAt(),W=h.parent.subPathOf(A);if(W===void 0)throw new wt(Et.ErrInvalidArgument,`cant find the given element: ${A.toIDString()}`);S.unshift(W),h=this.elementPairMapByCreatedAt.get(h.parent.getCreatedAt().toIDString())}return S.unshift("$"),S}createPath(u){return this.createSubPaths(u).join(".")}registerElement(u,h){this.elementPairMapByCreatedAt.set(u.getCreatedAt().toIDString(),{parent:h,element:u}),u instanceof v&&u.getDescendants((S,A)=>(this.registerElement(S,A),!1))}deregisterElement(u){let h=0;const S=A=>{const W=A.getCreatedAt().toIDString();this.elementPairMapByCreatedAt.delete(W),this.gcElementSetByCreatedAt.delete(W),h++};return S(u),u instanceof v&&u.getDescendants(A=>(S(A),!1)),h}registerRemovedElement(u){this.gcElementSetByCreatedAt.add(u.getCreatedAt().toIDString())}registerGCPair(u){if(this.gcPairMap.get(u.child.toIDString())){this.gcPairMap.delete(u.child.toIDString());return}this.gcPairMap.set(u.child.toIDString(),u)}getElementMapSize(){return this.elementPairMapByCreatedAt.size}getGarbageElementSetSize(){const u=new Set;for(const h of this.gcElementSetByCreatedAt){u.add(h);const S=this.elementPairMapByCreatedAt.get(h);S.element instanceof v&&S.element.getDescendants(A=>(u.add(A.getCreatedAt().toIDString()),!1))}return u.size}getObject(){return this.rootObject}getGarbageLen(){return this.getGarbageElementSetSize()+this.gcPairMap.size}deepcopy(){return new eg(this.rootObject.deepcopy())}garbageCollect(u){let h=0;for(const S of this.gcElementSetByCreatedAt){const A=this.elementPairMapByCreatedAt.get(S),W=A.element.getRemovedAt();W&&(u!=null&&u.afterOrEqual(W))&&(A.parent.purge(A.element),h+=this.deregisterElement(A.element))}for(const[,S]of this.gcPairMap){const A=S.child.getRemovedAt();A&&(u!=null&&u.afterOrEqual(A))&&(S.parent.purge(S.child),this.gcPairMap.delete(S.child.toIDString()),h+=1)}return h}toJSON(){return this.rootObject.toJSON()}toSortedJSON(){return this.rootObject.toSortedJSON()}getStats(){return{elements:this.getElementMapSize(),gcPairs:this.gcPairMap.size,gcElements:this.getGarbageElementSetSize()}}}function F2(y,u){const h=new Y1(y);return new Proxy(u,h.getHandlers())}class Y1{constructor(u){a(this,"context"),a(this,"handlers"),this.context=u,this.handlers={set:(h,S,A)=>(ar.isEnabled(oo.Trivial)&&ar.trivial(`obj[${S}]=${JSON.stringify(A)}`),Y1.setInternal(u,h,S,A),!0),get:(h,S)=>(ar.isEnabled(oo.Trivial)&&ar.trivial(`obj[${S}]`),S==="getID"?()=>h.getCreatedAt():S==="toJSON"||S==="toString"?()=>h.toJSON():S==="toJS"?()=>h.toJS():S==="toJSForTest"?()=>h.toJSForTest():E0(u,h.get(S))),ownKeys:h=>h.getKeys(),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),deleteProperty:(h,S)=>(ar.isEnabled(oo.Trivial)&&ar.trivial(`obj[${S}]`),Y1.deleteInternal(u,h,S),!0)}}static setInternal(u,h,S,A){if(S.includes("."))throw new wt(Et.ErrInvalidObjectKey,"key must not contain the '.'.");const W=u.issueTimeTicket(),ne=Tv(u,A,W),pe=h.set(S,ne,W);u.registerElement(ne,h),pe&&u.registerRemovedElement(pe),u.push(p0.create(S,ne.deepcopy(),h.getCreatedAt(),W))}static buildObjectMembers(u,h){const S={};for(const[A,W]of Object.entries(h)){if(A.includes("."))throw new wt(Et.ErrInvalidObjectKey,"key must not contain the '.'.");const ne=u.issueTimeTicket(),pe=Tv(u,W,ne);S[A]=pe}return S}static deleteInternal(u,h,S){const A=u.issueTimeTicket(),W=h.deleteByKey(S,A);W&&(u.push(Bh.create(h.getCreatedAt(),W.getCreatedAt(),A)),u.registerRemovedElement(W))}getHandlers(){return this.handlers}}function $2(y,u){const h=new Ns(y,u);return new Proxy(u,h.getHandlers())}function pC(y){return typeof y=="string"||y instanceof String?!isNaN(y):!1}function Z1(y){return["concat","entries","every","filter","find","findIndex","forEach","join","keys","map","reduce","reduceRight","slice","some","toLocaleString","toString","values"].includes(y)}class Ns{constructor(u,h){a(this,"context"),a(this,"handlers"),a(this,"array"),this.context=u,this.array=h,this.handlers={get:(S,A,W)=>A==="getID"?()=>S.getCreatedAt():A==="getElementByID"?ne=>{const pe=S.getByID(ne);if(!(!pe||pe.isRemoved()))return Hh(u,pe)}:A==="getElementByIndex"?ne=>{const pe=S.get(ne);return Hh(u,pe)}:A==="getLast"?()=>Hh(u,S.getLast()):A==="deleteByID"?ne=>{const pe=Ns.deleteInternalByID(u,S,ne);return Hh(u,pe)}:A==="insertAfter"?(ne,pe)=>{const De=Ns.insertAfterInternal(u,S,ne,pe);return Hh(u,De)}:A==="insertBefore"?(ne,pe)=>{const De=Ns.insertBeforeInternal(u,S,ne,pe);return Hh(u,De)}:A==="moveBefore"?(ne,pe)=>{Ns.moveBeforeInternal(u,S,ne,pe)}:A==="moveAfter"?(ne,pe)=>{Ns.moveAfterInternal(u,S,ne,pe)}:A==="moveFront"?ne=>{Ns.moveFrontInternal(u,S,ne)}:A==="moveLast"?ne=>{Ns.moveLastInternal(u,S,ne)}:pC(A)?E0(u,S.get(Number(A))):A==="push"?ne=>Ns.pushInternal(u,S,ne):A==="splice"?(ne,pe,...De)=>Ns.splice(u,S,ne,pe,...De):A==="length"?S.length:typeof A=="symbol"&&A===Symbol.iterator?Ns.iteratorInternal.bind(this,u,S):A==="includes"?(ne,pe)=>Ns.includes(u,S,ne,pe):A==="indexOf"?(ne,pe)=>Ns.indexOf(u,S,ne,pe):A==="lastIndexOf"?(ne,pe)=>Ns.lastIndexOf(u,S,ne,pe):A==="toJSForTest"?()=>S.toJSForTest():A==="toTestString"?()=>Ns.toTestString(S):typeof A=="string"&&Z1(A)?(...ne)=>{const pe=Array.from(S).map(De=>E0(u,De));return Array.prototype[A].apply(pe,ne)}:Reflect.get(S,A,W),deleteProperty:(S,A)=>(ar.isEnabled(oo.Trivial)&&ar.trivial(`array[${A}]`),Ns.deleteInternalByIndex(u,S,Number.parseInt(A)),!0)}}static*iteratorInternal(u,h){for(const S of h)yield Hh(u,S)}static buildArrayElements(u,h){const S=[];for(const A of h){const W=u.issueTimeTicket(),ne=Tv(u,A,W);S.push(ne)}return S}static pushInternal(u,h,S){return Ns.insertAfterInternal(u,h,h.getLastCreatedAt(),S),h.length}static moveBeforeInternal(u,h,S,A){const W=u.issueTimeTicket(),ne=h.getPrevCreatedAt(S);h.moveAfter(ne,A,W),u.push(Uh.create(h.getCreatedAt(),ne,A,W))}static moveAfterInternal(u,h,S,A){const W=u.issueTimeTicket();h.moveAfter(S,A,W),u.push(Uh.create(h.getCreatedAt(),S,A,W))}static moveFrontInternal(u,h,S){const A=u.issueTimeTicket(),W=h.getHead();h.moveAfter(W.getCreatedAt(),S,A),u.push(Uh.create(h.getCreatedAt(),W.getCreatedAt(),S,A))}static moveLastInternal(u,h,S){const A=u.issueTimeTicket(),W=h.getLastCreatedAt();h.moveAfter(W,S,A),u.push(Uh.create(h.getCreatedAt(),W,S,A))}static insertAfterInternal(u,h,S,A){const W=u.issueTimeTicket(),ne=Tv(u,A,W);return h.insertAfter(S,ne),u.registerElement(ne,h),u.push(m0.create(h.getCreatedAt(),S,ne.deepcopy(),W)),ne}static insertBeforeInternal(u,h,S,A){return Ns.insertAfterInternal(u,h,h.getPrevCreatedAt(S),A)}static deleteInternalByIndex(u,h,S){const A=u.issueTimeTicket(),W=h.deleteByIndex(S,A);if(W)return u.push(Bh.create(h.getCreatedAt(),W.getCreatedAt(),A)),u.registerRemovedElement(W),W}static deleteInternalByID(u,h,S){const A=u.issueTimeTicket(),W=h.delete(S,A);return u.push(Bh.create(h.getCreatedAt(),W.getCreatedAt(),A)),u.registerRemovedElement(W),W}static splice(u,h,S,A,...W){const ne=h.length,pe=S>=0?Math.min(S,ne):Math.max(ne+S,0),De=A===void 0?ne:A<0?pe:Math.min(pe+A,ne),$e=[];for(let st=pe;st=ne)return!1;if(Es.isSupport(S))return Array.from(h).map($e=>E0(u,$e)).includes(S,pe);for(let De=pe;De=ne)return-1;if(Es.isSupport(S))return Array.from(h).map($e=>E0(u,$e)).indexOf(S,pe);for(let De=pe;De=ne?ne-1:A<0?A+ne:A;if(pe<0)return-1;if(Es.isSupport(S))return Array.from(h).map($e=>E0(u,$e)).lastIndexOf(S,pe);for(let De=pe;De>0;De--)if(((W=h.get(De))==null?void 0:W.getID())===S.getID())return De;return-1}static toTestString(u){return u.toTestString()}getHandlers(){return this.handlers}}class tg{constructor(u,h){a(this,"context"),a(this,"text"),this.context=u,this.text=h}initialize(u,h){this.context=u,this.text=h}getID(){return this.text.getID()}edit(u,h,S,A){if(!this.context||!this.text)throw new wt(Et.ErrNotInitialized,"Text is not initialized yet");if(u>h)throw new wt(Et.ErrInvalidArgument,"from should be less than or equal to to");const W=this.text.indexRangeToPosRange(u,h);ar.isEnabled(oo.Debug)&&ar.debug(`EDIT: f:${u}->${W[0].toTestString()}, t:${h}->${W[1].toTestString()} c:${S}`);const ne=A?Id(A):void 0,pe=this.context.issueTimeTicket(),[De,,$e,st]=this.text.edit(W,S,pe,ne);for(const Zt of $e)this.context.registerGCPair(Zt);return this.context.push(new Mf(this.text.getCreatedAt(),W[0],W[1],De,S,ne?new Map(Object.entries(ne)):new Map,pe)),this.text.findIndexesFromRange(st)}delete(u,h){return this.edit(u,h,"")}empty(){return this.edit(0,this.length,"")}setStyle(u,h,S){if(!this.context||!this.text)throw new wt(Et.ErrNotInitialized,"Text is not initialized yet");if(u>h)throw new wt(Et.ErrInvalidArgument,"from should be less than or equal to to");const A=this.text.indexRangeToPosRange(u,h);ar.isEnabled(oo.Debug)&&ar.debug(`STYL: f:${u}->${A[0].toTestString()}, t:${h}->${A[1].toTestString()} a:${JSON.stringify(S)}`);const W=Id(S),ne=this.context.issueTimeTicket(),[pe,De]=this.text.setStyle(A,W,ne);for(const $e of De)this.context.registerGCPair($e);return this.context.push(new H1(this.text.getCreatedAt(),A[0],A[1],pe,new Map(Object.entries(W)),ne)),!0}indexRangeToPosRange(u){if(!this.context||!this.text)throw new wt(Et.ErrNotInitialized,"Text is not initialized yet");const h=this.text.indexRangeToPosRange(u[0],u[1]);return[h[0].toStruct(),h[1].toStruct()]}posRangeToIndexRange(u){if(!this.context||!this.text)throw new wt(Et.ErrNotInitialized,"Text is not initialized yet");const h=this.text.findIndexesFromRange([$u.fromStruct(u[0]),$u.fromStruct(u[1])]);return[h[0],h[1]]}toTestString(){if(!this.context||!this.text)throw new wt(Et.ErrNotInitialized,"Text is not initialized yet");return this.text.toTestString()}values(){if(!this.context||!this.text)throw new wt(Et.ErrNotInitialized,"Text is not initialized yet");return this.text.values()}get length(){return this.text.length}getTreeByIndex(){return this.text.getTreeByIndex()}getTreeByID(){return this.text.getTreeByID()}toString(){if(!this.context||!this.text)throw new wt(Et.ErrNotInitialized,"Text is not initialized yet");return this.text.toString()}toJSON(){if(!this.context||!this.text)throw new wt(Et.ErrNotInitialized,"Text is not initialized yet");return this.text.toJSON()}toJSForTest(){if(!this.context||!this.text)throw new wt(Et.ErrNotInitialized,"Text is not initialized yet");return this.text.toJSForTest()}createRangeForTest(u,h){if(!this.context||!this.text)throw new wt(Et.ErrNotInitialized,"Text is not initialized yet");return this.text.indexRangeToPosRange(u,h)}}class ng{constructor(u,h){a(this,"valueType"),a(this,"value"),a(this,"context"),a(this,"counter"),this.valueType=u,this.value=h}initialize(u,h){this.valueType=h.getValueType(),this.context=u,this.counter=h,this.value=h.getValue()}getID(){return this.counter.getID()}getValue(){return this.value}getValueType(){return this.valueType}increase(u){if(!this.context||!this.counter)throw new wt(Et.ErrNotInitialized,"Counter is not initialized yet");const h=this.context.issueTimeTicket(),S=Es.of(u,h);if(!S.isNumericType())throw new TypeError(`Unsupported type of value: ${typeof S.getValue()}`);return this.counter.increase(S),this.context.push(Bf.create(this.counter.getCreatedAt(),S,h)),this}toJSForTest(){if(!this.context||!this.counter)throw new wt(Et.ErrNotInitialized,"Counter is not initialized yet");return this.counter.toJSForTest()}}function rg(y,u,h){const{type:S}=y,A=h.issueTimeTicket();if(S===Nd){Tc(y);const{value:W}=y,ne=ll.create(bo.of(A,0),S,W);u.append(ne)}else{const{children:W=[]}=y,{attributes:ne}=y;let pe;if(typeof ne=="object"&&!d0(ne)){const $e=Id(ne);pe=new Dd;for(const[st,Zt]of Object.entries($e))pe.set(st,Zt,A)}const De=ll.create(bo.of(A,0),S,void 0,pe);u.append(De);for(const $e of W)rg($e,De,h)}}function mC(y,u){const{type:h}=u,S=y.issueTimeTicket();let A;if(u.type===Nd){const{value:W}=u;A=ll.create(bo.of(S,0),h,W)}else if(u){const{children:W=[]}=u,{attributes:ne}=u;let pe;if(typeof ne=="object"&&!d0(ne)){const De=Id(ne);pe=new Dd;for(const[$e,st]of Object.entries(De))pe.set($e,st,S)}A=ll.create(bo.of(y.issueTimeTicket(),0),h,void 0,pe);for(const De of W)rg(De,A,y)}return A}function Tc(y){if(!y.value.length)throw new wt(Et.ErrInvalidArgument,"text node cannot have empty value");return!0}function zh(y){if(!y.length)return!0;if(y[0].type===Nd)for(const h of y){const{type:S}=h;if(S!==Nd)throw new wt(Et.ErrInvalidArgument,"element node and text node cannot be passed together");Tc(h)}else for(const h of y){const{type:S}=h;if(S===Nd)throw new wt(Et.ErrInvalidArgument,"element node and text node cannot be passed together")}return!0}class X1{constructor(u){a(this,"initialRoot"),a(this,"context"),a(this,"tree"),this.initialRoot=u}initialize(u,h){this.context=u,this.tree=h}getID(){return this.tree.getID()}buildRoot(u){if(!this.initialRoot)return ll.create(bo.of(u.issueTimeTicket(),0),p2);const h=ll.create(bo.of(u.issueTimeTicket(),0),this.initialRoot.type);for(const S of this.initialRoot.children)rg(S,h,u);return h}getSize(){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");return this.tree.getSize()}getNodeSize(){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");return this.tree.getNodeSize()}getIndexTree(){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");return this.tree.getIndexTree()}styleByPath(u,h){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");if(!u.length)throw new wt(Et.ErrInvalidArgument,"path should not be empty");const[S,A]=this.tree.pathToPosRange(u),W=this.context.issueTimeTicket(),ne=h?Id(h):void 0,[pe]=this.tree.style([S,A],ne,W);this.context.push(Pd.create(this.tree.getCreatedAt(),S,A,pe,ne?new Map(Object.entries(ne)):new Map,W))}style(u,h,S){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");if(u>h)throw new wt(Et.ErrInvalidArgument,"from should be less than or equal to to");const A=this.tree.findPos(u),W=this.tree.findPos(h),ne=this.context.issueTimeTicket(),pe=S?Id(S):void 0,[De,$e]=this.tree.style([A,W],pe,ne);for(const st of $e)this.context.registerGCPair(st);this.context.push(Pd.create(this.tree.getCreatedAt(),A,W,De,pe?new Map(Object.entries(pe)):new Map,ne))}removeStyle(u,h,S){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");if(u>h)throw new wt(Et.ErrInvalidArgument,"from should be less than or equal to to");const A=this.tree.findPos(u),W=this.tree.findPos(h),ne=this.context.issueTimeTicket(),[pe,De]=this.tree.removeStyle([A,W],S,ne);for(const $e of De)this.context.registerGCPair($e);this.context.push(Pd.createTreeRemoveStyleOperation(this.tree.getCreatedAt(),A,W,pe,S,ne))}editInternal(u,h,S,A=0){var W;if(S.length!==0&&S[0]&&(zh(S),S[0].type!==Nd))for(const st of S){const{children:Zt=[]}=st;zh(Zt)}const ne=this.context.getLastTimeTicket();let pe=new Array;if(((W=S[0])==null?void 0:W.type)===Nd){let st="";for(const Zt of S){const{value:Xt}=Zt;st+=Xt}pe.push(ll.create(bo.of(this.context.issueTimeTicket(),0),Nd,st))}else pe=S.map(st=>st&&mC(this.context,st)).filter(st=>st);const[,De,$e]=this.tree.edit([u,h],pe.length?pe.map(st=>st==null?void 0:st.deepcopy()):void 0,A,ne,()=>this.context.issueTimeTicket());for(const st of De)this.context.registerGCPair(st);return this.context.push(Pr.create(this.tree.getCreatedAt(),u,h,pe.length?pe:void 0,A,$e,ne)),!0}editByPath(u,h,S,A=0){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");if(u.length!==h.length)throw new wt(Et.ErrInvalidArgument,"path length should be equal");if(!u.length||!h.length)throw new wt(Et.ErrInvalidArgument,"path should not be empty");const W=this.tree.pathToPos(u),ne=this.tree.pathToPos(h);return this.editInternal(W,ne,S?[S]:[],A)}editBulkByPath(u,h,S,A=0){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");if(u.length!==h.length)throw new wt(Et.ErrInvalidArgument,"path length should be equal");if(!u.length||!h.length)throw new wt(Et.ErrInvalidArgument,"path should not be empty");const W=this.tree.pathToPos(u),ne=this.tree.pathToPos(h);return this.editInternal(W,ne,S,A)}edit(u,h,S,A=0){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");if(u>h)throw new wt(Et.ErrInvalidArgument,"from should be less than or equal to to");const W=this.tree.findPos(u),ne=this.tree.findPos(h);return this.editInternal(W,ne,S?[S]:[],A)}editBulk(u,h,S,A=0){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");if(u>h)throw new wt(Et.ErrInvalidArgument,"from should be less than or equal to to");const W=this.tree.findPos(u),ne=this.tree.findPos(h);return this.editInternal(W,ne,S,A)}toXML(){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");return this.tree.toXML()}toJSON(){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");return this.tree.toJSON()}toJSForTest(){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");return this.tree.toJSForTest()}toJSInfoForTest(){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");return this.tree.toJSInfoForTest()}getRootTreeNode(){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");return this.tree.getRootTreeNode()}indexToPath(u){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");return this.tree.indexToPath(u)}pathToIndex(u){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");return this.tree.pathToIndex(u)}pathRangeToPosRange(u){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");const h=[this.tree.pathToIndex(u[0]),this.tree.pathToIndex(u[1])],S=this.tree.indexRangeToPosRange(h);return[S[0].toStruct(),S[1].toStruct()]}indexRangeToPosRange(u){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");return this.tree.indexRangeToPosStructRange(u)}posRangeToIndexRange(u){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");const h=[Fu.fromStruct(u[0]),Fu.fromStruct(u[1])];return this.tree.posRangeToIndexRange(h)}posRangeToPathRange(u){if(!this.context||!this.tree)throw new wt(Et.ErrNotInitialized,"Tree is not initialized yet");const h=[Fu.fromStruct(u[0]),Fu.fromStruct(u[1])];return this.tree.posRangeToPathRange(h)}}function B2(y,u){return F2(y,u)}function Hh(y,u){if(u){if(u instanceof Es)return u;if(u instanceof G)return F2(y,u);if(u instanceof su)return $2(y,u);if(u instanceof Mu)return new tg(y,u);if(u instanceof Nl){const h=new ng(Bu.IntegerCnt,0);return h.initialize(y,u),h}else if(u instanceof Dl){const h=new X1;return h.initialize(y,u),h}}else return;throw new TypeError(`Unsupported type of element: ${typeof u}`)}function E0(y,u){const h=Hh(y,u);return h instanceof Es?h.getValue():h}function Tv(y,u,h){let S;if(Es.isSupport(u))S=Es.of(u,h);else if(Array.isArray(u))S=su.create(h,Ns.buildArrayElements(y,u));else if(typeof u=="object")u instanceof tg?(S=Mu.create(ao.create(),h),u.initialize(y,S)):u instanceof ng?(S=Nl.create(u.getValueType(),u.getValue(),h),u.initialize(y,S)):u instanceof X1?(S=Dl.create(u.buildRoot(y),h),u.initialize(y,S)):S=G.create(h,Y1.buildObjectMembers(y,u));else throw new TypeError(`Unsupported type of value: ${typeof u}`);return S}const gC=50;class t7{constructor(){a(this,"undoStack",[]),a(this,"redoStack",[])}hasUndo(){return this.undoStack.length>0}hasRedo(){return this.redoStack.length>0}pushUndo(u){this.undoStack.length>=gC&&this.undoStack.shift(),this.undoStack.push(u)}popUndo(){return this.undoStack.pop()}pushRedo(u){this.redoStack.length>=gC&&this.redoStack.shift(),this.redoStack.push(u)}popRedo(){return this.redoStack.pop()}clearRedo(){this.redoStack=[]}getUndoStackForTest(){return this.undoStack}getRedoStackForTest(){return this.redoStack}}const bC="yorkie-devtools-panel",yC="yorkie-devtools-sdk";let ig="disconnected";const vC=new Map,kv=new Map;typeof window<"u"&&(window.transactionEventsByDocKey=kv);function _v(y,u){(u!=null&&u.force||ig!=="disconnected")&&window.postMessage({source:yC,...y},"*")}function SC(y){if(!y.isEnableDevtools()||typeof window>"u"||vC.has(y.getKey()))return;kv.set(y.getKey(),[]);const u=y.subscribe("all",h=>{h.some(S=>S.type!==Ho.StatusChanged&&S.type!==Ho.Snapshot&&S.type!==Ho.LocalChange&&S.type!==Ho.RemoteChange&&S.type!==Ho.Initialized&&S.type!==Ho.Watched&&S.type!==Ho.Unwatched&&S.type!==Ho.PresenceChanged)||(kv.get(y.getKey()).push(h),ig==="synced"&&_v({msg:"doc::sync::partial",docKey:y.getKey(),event:h}))});vC.set(y.getKey(),[u]),_v({msg:"refresh-devtools"},{force:!0}),window.addEventListener("message",h=>{var S;if(((S=h.data)==null?void 0:S.source)!==bC)return;switch(h.data.msg){case"devtools::connect":if(ig!=="disconnected")break;ig="connected",_v({msg:"doc::available",docKey:y.getKey()}),ar.info(`[YD] Devtools connected. Doc: ${y.getKey()}`);break;case"devtools::disconnect":ig="disconnected",ar.info(`[YD] Devtools disconnected. Doc: ${y.getKey()}`);break;case"devtools::subscribe":ig="synced",_v({msg:"doc::sync::full",docKey:y.getKey(),events:kv.get(y.getKey())}),ar.info(`[YD] Devtools subscribed. Doc: ${y.getKey()}`);break}})}var Fd=(y=>(y.Detached="detached",y.Attached="attached",y.Removed="removed",y))(Fd||{}),Ho=(y=>(y.StatusChanged="status-changed",y.ConnectionChanged="connection-changed",y.SyncStatusChanged="sync-status-changed",y.Snapshot="snapshot",y.LocalChange="local-change",y.RemoteChange="remote-change",y.Initialized="initialized",y.Watched="watched",y.Unwatched="unwatched",y.PresenceChanged="presence-changed",y.Broadcast="broadcast",y.LocalBroadcast="local-broadcast",y))(Ho||{}),Av=(y=>(y.Connected="connected",y.Disconnected="disconnected",y))(Av||{}),Cv=(y=>(y.Synced="synced",y.SyncFailed="sync-failed",y))(Cv||{});class U2{constructor(u,h){a(this,"key"),a(this,"status"),a(this,"opts"),a(this,"changeID"),a(this,"checkpoint"),a(this,"localChanges"),a(this,"root"),a(this,"clone"),a(this,"eventStream"),a(this,"eventStreamObserver"),a(this,"onlineClients"),a(this,"presences"),a(this,"history"),a(this,"internalHistory"),a(this,"isUpdating"),this.opts=h||{},this.key=u,this.status="detached",this.root=eg.create(),this.changeID=KA,this.checkpoint=zN,this.localChanges=[],this.eventStream=e7(S=>{this.eventStreamObserver=S}),this.onlineClients=new Set,this.presences=new Map,this.isUpdating=!1,this.internalHistory=new t7,this.history={canUndo:this.canUndo.bind(this),canRedo:this.canRedo.bind(this),undo:this.undo.bind(this),redo:this.redo.bind(this)},SC(this)}update(u,h){if(this.getStatus()==="removed")throw new wt(Et.ErrDocumentRemoved,`${this.key} is removed`);this.ensureClone();const S=this.changeID.getActorID(),A=Jm.create(this.changeID.next(),this.clone.root,this.clone.presences.get(S)||{},h);try{const W=B2(A,this.clone.root.getObject());this.presences.has(S)||this.clone.presences.set(S,{}),this.isUpdating=!0,u(W,new av(A,this.clone.presences.get(S)))}catch(W){throw this.clone=void 0,W}finally{this.isUpdating=!1}if(A.hasChange()){ar.isEnabled(oo.Trivial)&&ar.trivial(`trying to update a local change: ${this.toJSON()}`);const W=A.getChange(),{opInfos:ne,reverseOps:pe}=W.execute(this.root,this.presences,K.Local),De=A.getReversePresence();De&&pe.push({type:"presence",value:De}),this.localChanges.push(W),pe.length>0&&this.internalHistory.pushUndo(pe),ne.length>0&&this.internalHistory.clearRedo(),this.changeID=W.getID();const $e=[];ne.length>0&&$e.push({type:"local-change",source:K.Local,value:{message:W.getMessage()||"",operations:ne,actor:S,clientSeq:W.getID().getClientSeq(),serverSeq:W.getID().getServerSeq()},rawChange:this.isEnableDevtools()?W.toStruct():void 0}),W.hasPresenceChange()&&$e.push({type:"presence-changed",source:K.Local,value:{clientID:S,presence:this.getPresence(S)}}),this.publish($e),ar.isEnabled(oo.Trivial)&&ar.trivial(`after update a local change: ${this.toJSON()}`)}}subscribe(u,h,S,A){if(typeof u=="string"){if(typeof h!="function")throw new wt(Et.ErrInvalidArgument,"Second argument must be a callback function");if(u==="presence"){const pe=h;return this.eventStream.subscribe(De=>{for(const $e of De)$e.type!=="initialized"&&$e.type!=="watched"&&$e.type!=="unwatched"&&$e.type!=="presence-changed"||pe($e)},S,A)}if(u==="my-presence"){const pe=h;return this.eventStream.subscribe(De=>{for(const $e of De)$e.type!=="initialized"&&$e.type!=="presence-changed"||$e.type==="presence-changed"&&$e.value.clientID!==this.changeID.getActorID()||pe($e)},S,A)}if(u==="others"){const pe=h;return this.eventStream.subscribe(De=>{for(const $e of De)$e.type!=="watched"&&$e.type!=="unwatched"&&$e.type!=="presence-changed"||$e.value.clientID!==this.changeID.getActorID()&&pe($e)},S,A)}if(u==="connection"){const pe=h;return this.eventStream.subscribe(De=>{for(const $e of De)$e.type==="connection-changed"&&pe($e)},S,A)}if(u==="status"){const pe=h;return this.eventStream.subscribe(De=>{for(const $e of De)$e.type==="status-changed"&&pe($e)},S,A)}if(u==="sync"){const pe=h;return this.eventStream.subscribe(De=>{for(const $e of De)$e.type==="sync-status-changed"&&pe($e)},S,A)}if(u==="local-broadcast"){const pe=h;return this.eventStream.subscribe(De=>{for(const $e of De)$e.type==="local-broadcast"&&pe($e)},S)}if(u==="broadcast"){const pe=h;return this.eventStream.subscribe(De=>{for(const $e of De)$e.type==="broadcast"&&pe($e)},S)}if(u==="all"){const pe=h;return this.eventStream.subscribe(pe,S,A)}const W=u,ne=h;return this.eventStream.subscribe(pe=>{for(const De of pe){if(De.type!=="local-change"&&De.type!=="remote-change")continue;const $e=[];for(const st of De.value.operations)this.isSameElementOrChildOf(st.path,W)&&$e.push(st);$e.length&&ne({...De,value:{...De.value,operations:$e}})}},S,A)}if(typeof u=="function"){const W=u,ne=h,pe=S;return this.eventStream.subscribe(De=>{for(const $e of De)$e.type!=="snapshot"&&$e.type!=="local-change"&&$e.type!=="remote-change"||W($e)},ne,pe)}throw new wt(Et.ErrInvalidArgument,`"${u}" is not a valid`)}publish(u){this.eventStreamObserver&&this.eventStreamObserver.next(u)}isSameElementOrChildOf(u,h){if(h===u)return!0;const S=u.split(".");return h.split(".").every((W,ne)=>W===S[ne])}applyChangePack(u){const h=u.hasSnapshot();for(h?this.applySnapshot(u.getCheckpoint().getServerSeq(),u.getVersionVector(),u.getSnapshot()):u.hasChanges()&&this.applyChanges(u.getChanges(),K.Remote);this.localChanges.length&&!(this.localChanges[0].getID().getClientSeq()>u.getCheckpoint().getClientSeq());)this.localChanges.shift();h&&this.applyChanges(this.localChanges,K.Remote),this.checkpoint=this.checkpoint.forward(u.getCheckpoint()),h||this.garbageCollect(u.getVersionVector()),h||this.filterVersionVector(u.getVersionVector()),u.getIsRemoved()&&this.applyStatus("removed"),ar.isEnabled(oo.Trivial)&&ar.trivial(`${this.root.toJSON()}`)}getCheckpoint(){return this.checkpoint}getChangeID(){return this.changeID}hasLocalChanges(){return this.localChanges.length>0}ensureClone(){this.clone||(this.clone={root:this.root.deepcopy(),presences:ta(this.presences)})}createChangePack(){const u=Array.from(this.localChanges),h=this.checkpoint.increaseClientSeq(u.length);return pv.create(this.key,h,!1,u,this.getVersionVector())}setActor(u){for(const h of this.localChanges)h.setActor(u);this.changeID=this.changeID.setActor(u)}isEnableDevtools(){return!!this.opts.enableDevtools}getKey(){return this.key}getStatus(){return this.status}getCloneRoot(){if(this.clone)return this.clone.root.getObject()}getRoot(){this.ensureClone();const u=Jm.create(this.changeID.next(),this.clone.root,this.clone.presences.get(this.changeID.getActorID())||{});return B2(u,this.clone.root.getObject())}garbageCollect(u){return this.opts.disableGC?0:(this.clone&&this.clone.root.garbageCollect(u),this.root.garbageCollect(u))}getRootObject(){return this.root.getObject()}getGarbageLen(){return this.root.getGarbageLen()}getGarbageLenFromClone(){return this.clone.root.getGarbageLen()}toJSON(){return this.root.toJSON()}toSortedJSON(){return this.root.toSortedJSON()}getStats(){return this.root.getStats()}toJSForTest(){return{...this.getRoot().toJSForTest(),key:"root"}}applySnapshot(u,h,S){const{root:A,presences:W}=ra.bytesToSnapshot(S);this.root=new eg(A),this.presences=W,this.changeID=this.changeID.setClocks(u,h),this.clone=void 0,this.publish([{type:"snapshot",source:K.Remote,value:{serverSeq:u.toString(),snapshot:this.isEnableDevtools()?ra.bytesToHex(S):void 0,snapshotVector:ra.versionVectorToHex(h)}}])}applyChanges(u,h){ar.isEnabled(oo.Debug)&&ar.debug(`trying to apply ${u.length} remote changes.elements:${this.root.getElementMapSize()}, removeds:${this.root.getGarbageElementSetSize()}`),ar.isEnabled(oo.Trivial)&&ar.trivial(u.map(S=>`${S.getID().toTestString()} ${S.toTestString()}`).join(` +`));for(const S of u)this.applyChange(S,h);ar.isEnabled(oo.Debug)&&ar.debug(`after appling ${u.length} remote changes.elements:${this.root.getElementMapSize()}, removeds:${this.root.getGarbageElementSetSize()}`)}applyChange(u,h){this.ensureClone(),u.execute(this.clone.root,this.clone.presences,h);const S=[],A=u.getID().getActorID();if(u.hasPresenceChange()&&this.onlineClients.has(A)){const ne=u.getPresenceChange();switch(ne.type){case iu.Put:S.push(this.presences.has(A)?{type:"presence-changed",source:h,value:{clientID:A,presence:ne.presence}}:{type:"watched",source:K.Remote,value:{clientID:A,presence:ne.presence}});break;case iu.Clear:S.push({type:"unwatched",source:K.Remote,value:{clientID:A,presence:this.getPresence(A)}}),this.removeOnlineClient(A);break}}const{opInfos:W}=u.execute(this.root,this.presences,h);if(this.changeID=this.changeID.syncClocks(u.getID()),W.length>0){const ne=this.isEnableDevtools()?u.toStruct():void 0;S.push(h===K.Remote?{type:"remote-change",source:h,value:{actor:A,clientSeq:u.getID().getClientSeq(),serverSeq:u.getID().getServerSeq(),message:u.getMessage()||"",operations:W},rawChange:ne}:{type:"local-change",source:h,value:{actor:A,clientSeq:u.getID().getClientSeq(),serverSeq:u.getID().getServerSeq(),message:u.getMessage()||"",operations:W},rawChange:ne})}S.length>0&&this.publish(S)}applyWatchStream(u){if(u.body.case==="initialization"){const h=u.body.value.clientIds,S=new Set;for(const A of h)A!==this.changeID.getActorID()&&S.add(A);this.setOnlineClients(S),this.publish([{type:"initialized",source:K.Local,value:this.getPresences()}]);return}if(u.body.case==="event"){const{type:h,publisher:S}=u.body.value,A=[];if(h===eu.DOCUMENT_WATCHED)this.addOnlineClient(S),this.hasPresence(S)&&A.push({type:"watched",source:K.Remote,value:{clientID:S,presence:this.getPresence(S)}});else if(h===eu.DOCUMENT_UNWATCHED){const W=this.getPresence(S);this.removeOnlineClient(S),W&&A.push({type:"unwatched",source:K.Remote,value:{clientID:S,presence:W}})}else if(h===eu.DOCUMENT_BROADCAST&&u.body.value.body){const{topic:W,payload:ne}=u.body.value.body,pe=new TextDecoder;A.push({type:"broadcast",value:{clientID:S,topic:W,payload:JSON.parse(pe.decode(ne))}})}A.length>0&&this.publish(A)}}applyStatus(u){this.status=u,u==="detached"&&this.setActor(ol),this.publish([{source:u==="removed"?K.Remote:K.Local,type:"status-changed",value:u==="attached"?{status:u,actorID:this.changeID.getActorID()}:{status:u}}])}applyDocEvent(u){if(u.type==="status-changed"){this.applyStatus(u.value.status),u.value.status==="attached"&&this.setActor(u.value.actorID);return}if(u.type==="snapshot"){const{snapshot:h,serverSeq:S,snapshotVector:A}=u.value;if(!h)return;this.applySnapshot(BigInt(S),ra.hexToVersionVector(A),ra.hexToBytes(h));return}if(u.type==="local-change"||u.type==="remote-change"){if(!u.rawChange)return;const h=b0.fromStruct(u.rawChange);this.applyChange(h,u.source)}if(u.type==="initialized"){const h=new Set;for(const{clientID:S,presence:A}of u.value)h.add(S),this.presences.set(S,A);this.setOnlineClients(h);return}if(u.type==="watched"){const{clientID:h,presence:S}=u.value;this.addOnlineClient(h),this.presences.set(h,S);return}if(u.type==="unwatched"){const{clientID:h}=u.value;this.removeOnlineClient(h),this.presences.delete(h)}if(u.type==="presence-changed"){const{clientID:h,presence:S}=u.value;this.presences.set(h,S)}}applyTransactionEvent(u){for(const h of u)this.applyDocEvent(h)}getValueByPath(u){if(!u.startsWith("$"))throw new wt(Et.ErrInvalidArgument,'path must start with "$"');const h=u.split(".");h.shift();let S=this.getRoot();for(const A of h)if(S=S[A],S===void 0)return;return S}setOnlineClients(u){this.onlineClients=u}resetOnlineClients(){this.onlineClients=new Set}addOnlineClient(u){this.onlineClients.add(u)}removeOnlineClient(u){this.onlineClients.delete(u)}hasPresence(u){return this.presences.has(u)}getMyPresence(){if(this.status!=="attached")return{};const u=this.presences.get(this.changeID.getActorID());return u?ta(u):{}}getPresence(u){if(u===this.changeID.getActorID())return this.getMyPresence();if(!this.onlineClients.has(u))return;const h=this.presences.get(u);return h?ta(h):void 0}getPresenceForTest(u){const h=this.presences.get(u);return h?ta(h):void 0}getPresences(){const u=[];u.push({clientID:this.changeID.getActorID(),presence:ta(this.getMyPresence())});for(const h of this.onlineClients)this.presences.has(h)&&u.push({clientID:h,presence:ta(this.presences.get(h))});return u}getSelfForTest(){return{clientID:this.getChangeID().getActorID(),presence:this.getMyPresence()}}getOthersForTest(){const u=this.getChangeID().getActorID();return this.getPresences().filter(h=>h.clientID!==u).sort((h,S)=>h.clientID>S.clientID?1:-1)}canUndo(){return this.internalHistory.hasUndo()&&!this.isUpdating}filterVersionVector(u){const S=this.changeID.getVersionVector().filter(u);this.changeID=this.changeID.setVersionVector(S)}canRedo(){return this.internalHistory.hasRedo()&&!this.isUpdating}undo(){if(this.isUpdating)throw new wt(Et.ErrRefused,"Undo is not allowed during an update");const u=this.internalHistory.popUndo();if(u===void 0)throw new wt(Et.ErrRefused,"There is no operation to be undone");this.ensureClone();const h=Jm.create(this.changeID.next(),this.clone.root,this.clone.presences.get(this.changeID.getActorID())||{});for(const $e of u){if(!($e instanceof ce)){new av(h,ta(this.clone.presences.get(this.changeID.getActorID()))).set($e.value,{addToHistory:!0});continue}const st=h.issueTimeTicket();$e.setExecutedAt(st),h.push($e)}const S=h.getChange();S.execute(this.clone.root,this.clone.presences,K.UndoRedo);const{opInfos:A,reverseOps:W}=S.execute(this.root,this.presences,K.UndoRedo),ne=h.getReversePresence();if(ne&&W.push({type:"presence",value:ne}),W.length>0&&this.internalHistory.pushRedo(W),!S.hasPresenceChange()&&A.length===0)return;this.localChanges.push(S),this.changeID=S.getID();const pe=this.changeID.getActorID(),De=[];A.length>0&&De.push({type:"local-change",source:K.UndoRedo,value:{message:S.getMessage()||"",operations:A,actor:pe,clientSeq:S.getID().getClientSeq(),serverSeq:S.getID().getServerSeq()},rawChange:this.isEnableDevtools()?S.toStruct():void 0}),S.hasPresenceChange()&&De.push({type:"presence-changed",source:K.UndoRedo,value:{clientID:pe,presence:this.getPresence(pe)}}),this.publish(De)}redo(){if(this.isUpdating)throw new wt(Et.ErrRefused,"Redo is not allowed during an update");const u=this.internalHistory.popRedo();if(u===void 0)throw new wt(Et.ErrRefused,"There is no operation to be redone");this.ensureClone();const h=Jm.create(this.changeID.next(),this.clone.root,this.clone.presences.get(this.changeID.getActorID())||{});for(const $e of u){if(!($e instanceof ce)){new av(h,ta(this.clone.presences.get(this.changeID.getActorID()))).set($e.value,{addToHistory:!0});continue}const st=h.issueTimeTicket();$e.setExecutedAt(st),h.push($e)}const S=h.getChange();S.execute(this.clone.root,this.clone.presences,K.UndoRedo);const{opInfos:A,reverseOps:W}=S.execute(this.root,this.presences,K.UndoRedo),ne=h.getReversePresence();if(ne&&W.push({type:"presence",value:ne}),W.length>0&&this.internalHistory.pushUndo(W),!S.hasPresenceChange()&&A.length===0)return;this.localChanges.push(S),this.changeID=S.getID();const pe=this.changeID.getActorID(),De=[];A.length>0&&De.push({type:"local-change",source:K.UndoRedo,value:{message:S.getMessage()||"",operations:A,actor:pe,clientSeq:S.getID().getClientSeq(),serverSeq:S.getID().getServerSeq()},rawChange:this.isEnableDevtools()?S.toStruct():void 0}),S.hasPresenceChange()&&De.push({type:"presence-changed",source:K.UndoRedo,value:{clientID:pe,presence:this.getPresence(pe)}}),this.publish(De)}getUndoStackForTest(){return this.internalHistory.getUndoStackForTest()}getRedoStackForTest(){return this.internalHistory.getRedoStackForTest()}broadcast(u,h,S){const A={type:"local-broadcast",value:{topic:u,payload:h},options:S};this.publish([A])}getVersionVector(){return this.changeID.getVersionVector()}}function OC(y,u){return h=>async S=>(y&&S.header.set("x-api-key",y),u&&S.header.set("authorization",u),await h(S))}const Rv={name:"yorkie-js-sdk",version:"0.5.4",description:"Yorkie JS SDK",main:"./src/yorkie.ts",publishConfig:{access:"public",main:"./dist/yorkie-js-sdk.js",typings:"./dist/yorkie-js-sdk.d.ts"},files:["dist"],scripts:{build:"tsc && vite build","build:proto":"npx buf generate","build:docs":"typedoc","build:ghpages":"mkdir -p ghpages/examples && cp -r docs ghpages/api-reference && find ../../examples -name 'dist' -type d -exec sh -c 'cp -r {} ghpages/examples/$(basename $(dirname {}))' \\;",dev:"vite build -c vite.preview.ts && vite preview",test:"vitest run","test:watch":"vitest","test:bench":"vitest bench","test:ci":"vitest run --coverage","test:yorkie.dev":"TEST_RPC_ADDR=https://api.yorkie.dev vitest run --coverage",prepare:"pnpm build"},engines:{node:">=18.0.0",npm:">=7.1.0"},repository:{type:"git",url:"git+https://github.com/yorkie-team/yorkie-js-sdk.git"},author:{name:"hackerwins",email:"susukang98@gmail.com"},license:"Apache-2.0",bugs:{url:"https://github.com/yorkie-team/yorkie-js-sdk/issues"},homepage:"https://github.com/yorkie-team/yorkie-js-sdk#readme",devDependencies:{"@buf/googleapis_googleapis.bufbuild_es":"^1.4.0-20240524201209-f0e53af8f2fc.3","@bufbuild/buf":"^1.28.1","@bufbuild/protoc-gen-es":"^1.6.0","@connectrpc/protoc-gen-connect-es":"^1.4.0","@types/google-protobuf":"^3.15.5","@types/long":"^4.0.1","@typescript-eslint/eslint-plugin":"^6.21.0","@typescript-eslint/parser":"^6.21.0","@vitest/coverage-istanbul":"^0.34.5","@vitest/coverage-v8":"^0.34.5","eslint-plugin-tsdoc":"^0.2.16",prettier:"^2.7.1","ts-node":"^10.9.1",typedoc:"^0.25.13",typescript:"^5.3.3","typescript-transform-paths":"^3.3.1",vite:"^5.0.12","vite-plugin-commonjs":"^0.10.1","vite-plugin-dts":"^3.9.1","vite-tsconfig-paths":"^4.2.1",vitest:"^0.34.5"},dependencies:{"@bufbuild/protobuf":"^1.6.0","@connectrpc/connect":"^1.4.0","@connectrpc/connect-web":"^1.4.0",long:"^5.2.0"}};function r7(){return y=>async u=>(u.header.set("x-yorkie-user-agent",Rv.name+"/"+Rv.version),await y(u))}const i7=y=>{try{if(JSON.stringify(y)===void 0)return!1}catch{return!1}return!0};var K1=(y=>(y.Manual="manual",y.Realtime="realtime",y.RealtimePushOnly="realtime-pushonly",y.RealtimeSyncOff="realtime-syncoff",y))(K1||{}),EC=(y=>(y.Deactivated="deactivated",y.Activated="activated",y))(EC||{}),wC=(y=>(y.SyncLoop="SyncLoop",y.WatchLoop="WatchLoop",y))(wC||{});const Iv={syncLoopDuration:50,retrySyncLoopDelay:1e3,reconnectStreamDelay:1e3},z2={maxRetries:1/0,initialRetryInterval:1e3,maxBackoff:2e4};class H2{constructor(u,h){a(this,"id"),a(this,"key"),a(this,"status"),a(this,"attachmentMap"),a(this,"apiKey"),a(this,"conditions"),a(this,"syncLoopDuration"),a(this,"reconnectStreamDelay"),a(this,"retrySyncLoopDelay"),a(this,"rpcClient"),a(this,"taskQueue"),a(this,"processing",!1),h=h||Iv,this.key=h.key?h.key:L2(),this.status="deactivated",this.attachmentMap=new Map,this.apiKey=h.apiKey||"",this.conditions={SyncLoop:!1,WatchLoop:!1},this.syncLoopDuration=h.syncLoopDuration||Iv.syncLoopDuration,this.reconnectStreamDelay=h.reconnectStreamDelay||Iv.reconnectStreamDelay,this.retrySyncLoopDelay=h.retrySyncLoopDelay||Iv.retrySyncLoopDelay,this.rpcClient=Cm(rv,Vp({baseUrl:u,interceptors:[OC(h.apiKey,h.token),r7()]})),this.taskQueue=[]}activate(){return this.isActive()?Promise.resolve():this.enqueueTask(async()=>this.rpcClient.activateClient({clientKey:this.key},{headers:{"x-shard-key":this.apiKey}}).then(u=>{this.id=u.clientId,this.status="activated",this.runSyncLoop(),ar.info(`[AC] c:"${this.getKey()}" activated, id:"${this.id}"`)}).catch(u=>{throw ar.error(`[AC] c:"${this.getKey()}" err :`,u),this.handleConnectError(u),u}))}deactivate(){return this.status==="deactivated"?Promise.resolve():this.enqueueTask(async()=>this.rpcClient.deactivateClient({clientId:this.id},{headers:{"x-shard-key":this.apiKey}}).then(()=>{this.deactivateInternal(),ar.info(`[DC] c"${this.getKey()}" deactivated`)}).catch(u=>{throw ar.error(`[DC] c:"${this.getKey()}" err :`,u),this.handleConnectError(u),u}))}attach(u,h={}){if(!this.isActive())throw new wt(Et.ErrClientNotActivated,`${this.key} is not active`);if(u.getStatus()!==Fd.Detached)throw new wt(Et.ErrDocumentNotDetached,`${u.getKey()} is not detached`);u.setActor(this.id),u.update((W,ne)=>ne.set(h.initialPresence||{}));const S=u.subscribe("local-broadcast",async W=>{var ne;const{topic:pe,payload:De}=W.value,$e=(ne=W.options)==null?void 0:ne.error,st=W.options;try{await this.broadcast(u.getKey(),pe,De,st)}catch(Zt){Zt instanceof Error&&($e==null||$e(Zt))}}),A=h.syncMode??"realtime";return this.enqueueTask(async()=>this.rpcClient.attachDocument({clientId:this.id,changePack:ra.toChangePack(u.createChangePack())},{headers:{"x-shard-key":`${this.apiKey}/${u.getKey()}`}}).then(async W=>{const ne=ra.fromChangePack(W.changePack);if(u.applyChangePack(ne),u.getStatus()===Fd.Removed)return u;u.applyStatus(Fd.Attached),this.attachmentMap.set(u.getKey(),new hC(this.reconnectStreamDelay,u,W.documentId,A,S)),A!=="manual"&&await this.runWatchLoop(u.getKey()),ar.info(`[AD] c:"${this.getKey()}" attaches d:"${u.getKey()}"`);const pe=u.getRootObject();if(h.initialRoot){const De=h.initialRoot;u.update($e=>{for(const[st,Zt]of Object.entries(De))if(!pe.has(st)){const Xt=st;$e[Xt]=Zt}})}return u}).catch(W=>{throw ar.error(`[AD] c:"${this.getKey()}" err :`,W),this.handleConnectError(W),W}))}detach(u,h={}){if(!this.isActive())throw new wt(Et.ErrClientNotActivated,`${this.key} is not active`);const S=this.attachmentMap.get(u.getKey());if(!S)throw new wt(Et.ErrDocumentNotAttached,`${u.getKey()} is not attached`);return u.update((A,W)=>W.clear()),this.enqueueTask(async()=>this.rpcClient.detachDocument({clientId:this.id,documentId:S.docID,changePack:ra.toChangePack(u.createChangePack()),removeIfNotAttached:h.removeIfNotAttached??!1},{headers:{"x-shard-key":`${this.apiKey}/${u.getKey()}`}}).then(A=>{const W=ra.fromChangePack(A.changePack);return u.applyChangePack(W),u.getStatus()!==Fd.Removed&&u.applyStatus(Fd.Detached),this.detachInternal(u.getKey()),ar.info(`[DD] c:"${this.getKey()}" detaches d:"${u.getKey()}"`),u}).catch(A=>{throw ar.error(`[DD] c:"${this.getKey()}" err :`,A),this.handleConnectError(A),A}))}async changeSyncMode(u,h){if(!this.isActive())throw new wt(Et.ErrClientNotActivated,`${this.key} is not active`);const S=this.attachmentMap.get(u.getKey());if(!S)throw new wt(Et.ErrDocumentNotAttached,`${u.getKey()} is not attached`);const A=S.syncMode;return A===h?u:(S.changeSyncMode(h),h==="manual"?(S.cancelWatchStream(),u):(h==="realtime"&&(S.remoteChangeEventReceived=!0),A==="manual"&&await this.runWatchLoop(u.getKey()),u))}sync(u){if(!this.isActive())throw new wt(Et.ErrClientNotActivated,`${this.key} is not active`);if(u){const h=this.attachmentMap.get(u.getKey());if(!h)throw new wt(Et.ErrDocumentNotAttached,`${u.getKey()} is not attached`);return this.enqueueTask(async()=>this.syncInternal(h,"realtime").catch(S=>{throw ar.error(`[SY] c:"${this.getKey()}" err :`,S),this.handleConnectError(S),S}))}return this.enqueueTask(async()=>{const h=[];for(const[,S]of this.attachmentMap)h.push(this.syncInternal(S,S.syncMode));return Promise.all(h).catch(S=>{throw ar.error(`[SY] c:"${this.getKey()}" err :`,S),this.handleConnectError(S),S})})}remove(u){if(!this.isActive())throw new wt(Et.ErrClientNotActivated,`${this.key} is not active`);const h=this.attachmentMap.get(u.getKey());if(!h)throw new wt(Et.ErrDocumentNotAttached,`${u.getKey()} is not attached`);u.setActor(this.id);const S=ra.toChangePack(u.createChangePack());return S.isRemoved=!0,this.enqueueTask(async()=>this.rpcClient.removeDocument({clientId:this.id,documentId:h.docID,changePack:S},{headers:{"x-shard-key":`${this.apiKey}/${u.getKey()}`}}).then(A=>{const W=ra.fromChangePack(A.changePack);u.applyChangePack(W),this.detachInternal(u.getKey()),ar.info(`[RD] c:"${this.getKey()}" removes d:"${u.getKey()}"`)}).catch(A=>{throw ar.error(`[RD] c:"${this.getKey()}" err :`,A),this.handleConnectError(A),A}))}getID(){return this.id}getKey(){return this.key}isActive(){return this.status==="activated"}getStatus(){return this.status}getCondition(u){return this.conditions[u]}broadcast(u,h,S,A){if(!this.isActive())throw new wt(Et.ErrClientNotActivated,`${this.key} is not active`);const W=this.attachmentMap.get(u);if(!W)throw new wt(Et.ErrDocumentNotAttached,`${u} is not attached`);if(!i7(S))throw new wt(Et.ErrInvalidArgument,"payload is not serializable");const ne=(A==null?void 0:A.maxRetries)??z2.maxRetries,pe=z2.maxBackoff;let De=0;const $e=Zt=>Math.min(z2.initialRetryInterval*2**Zt,pe),st=async()=>this.enqueueTask(async()=>this.rpcClient.broadcast({clientId:this.id,documentId:W.docID,topic:h,payload:new TextEncoder().encode(JSON.stringify(S))},{headers:{"x-shard-key":`${this.apiKey}/${u}`}}).then(()=>{ar.info(`[BC] c:"${this.getKey()}" broadcasts d:"${u}" t:"${h}"`)}).catch(Zt=>{if(ar.error(`[BC] c:"${this.getKey()}" err:`,Zt),this.handleConnectError(Zt))if(Dest(),$e(De-1)),ar.info(`[BC] c:"${this.getKey()}" retry attempt ${De}/${ne}`);else throw ar.error(`[BC] c:"${this.getKey()}" exceeded maximum retry attempts`),Zt;else throw Zt}));return st()}runSyncLoop(){const u=()=>{if(!this.isActive()){ar.debug(`[SL] c:"${this.getKey()}" exit sync loop`),this.conditions.SyncLoop=!1;return}const h=[];for(const[,S]of this.attachmentMap)S.needRealtimeSync()&&(S.remoteChangeEventReceived=!1,h.push(this.syncInternal(S,S.syncMode)));Promise.all(h).then(()=>setTimeout(u,this.syncLoopDuration)).catch(S=>{ar.error(`[SL] c:"${this.getKey()}" sync failed:`,S),this.handleConnectError(S)?setTimeout(u,this.retrySyncLoopDelay):this.conditions.SyncLoop=!1})};ar.debug(`[SL] c:"${this.getKey()}" run sync loop`),this.conditions.SyncLoop=!0,u()}async runWatchLoop(u){const h=this.attachmentMap.get(u);if(!h)throw new wt(Et.ErrDocumentNotAttached,`${u} is not attached`);return this.conditions.WatchLoop=!0,h.runWatchLoop(S=>{if(!this.isActive())return this.conditions.WatchLoop=!1,Promise.reject(new wt(Et.ErrClientNotActivated,`${this.key} is not active`));const A=new AbortController,W=this.rpcClient.watchDocument({clientId:this.id,documentId:h.docID},{headers:{"x-shard-key":`${this.apiKey}/${u}`},signal:A.signal});return h.doc.publish([{type:Ho.ConnectionChanged,value:Av.Connected}]),ar.info(`[WD] c:"${this.getKey()}" watches d:"${u}"`),new Promise((ne,pe)=>{(async()=>{try{for await(const $e of W)this.handleWatchDocumentsResponse(h,$e),$e.body.case==="initialization"&&ne([W,A])}catch($e){h.doc.resetOnlineClients(),h.doc.publish([{type:Ho.Initialized,source:K.Local,value:h.doc.getPresences()}]),h.doc.publish([{type:Ho.ConnectionChanged,value:Av.Disconnected}]),ar.debug(`[WD] c:"${this.getKey()}" unwatches`),this.handleConnectError($e)?S():this.conditions.WatchLoop=!1,pe($e)}})()})})}handleWatchDocumentsResponse(u,h){if(h.body.case==="event"&&h.body.value.type===eu.DOCUMENT_CHANGED){u.remoteChangeEventReceived=!0;return}u.doc.applyWatchStream(h)}deactivateInternal(){this.status="deactivated";for(const[u,h]of this.attachmentMap)this.detachInternal(u),h.doc.applyStatus(Fd.Detached)}detachInternal(u){const h=this.attachmentMap.get(u);h&&(h.cancelWatchStream(),h.unsubscribeBroadcastEvent(),this.attachmentMap.delete(u))}syncInternal(u,h){const{doc:S,docID:A}=u,W=S.createChangePack();return this.rpcClient.pushPullChanges({clientId:this.id,documentId:A,changePack:ra.toChangePack(W),pushOnly:h==="realtime-pushonly"},{headers:{"x-shard-key":`${this.apiKey}/${S.getKey()}`}}).then(ne=>{const pe=ra.fromChangePack(ne.changePack);if(pe.hasChanges()&&(u.syncMode==="realtime-pushonly"||u.syncMode==="realtime-syncoff"))return S;S.applyChangePack(pe),u.doc.publish([{type:Ho.SyncStatusChanged,value:Cv.Synced}]),S.getStatus()===Fd.Removed&&this.detachInternal(S.getKey());const De=S.getKey(),$e=pe.getChangeSize();return ar.info(`[PP] c:"${this.getKey()}" sync d:"${De}", push:${W.getChangeSize()} pull:${$e} cp:${pe.getCheckpoint().toTestString()}`),S}).catch(ne=>{throw S.publish([{type:Ho.SyncStatusChanged,value:Cv.SyncFailed}]),ar.error(`[PP] c:"${this.getKey()}" err :`,ne),ne})}handleConnectError(u){return u instanceof _?u.code===x.Canceled||u.code===x.Unknown||u.code===x.ResourceExhausted||u.code===x.Unavailable?!0:((x2(u)===Et.ErrClientNotActivated||x2(u)===Et.ErrClientNotFound)&&this.deactivateInternal(),!1):!1}enqueueTask(u){return new Promise((h,S)=>{this.taskQueue.push(()=>u().then(h).catch(S)),this.processing||this.processNext()})}async processNext(){if(this.taskQueue.length===0){this.processing=!1;return}try{this.processing=!0,await this.taskQueue.shift()()}catch{ar.error(`[TQ] c:"${this.getKey()}" process failed, id:"${this.id}"`)}this.processNext()}}const s7=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),a7={Client:H2,Document:U2,Primitive:Es,Text:tg,Counter:ng,Tree:X1,LogLevel:oo,setLogLevel:P2,IntType:Bu.IntegerCnt,LongType:Bu.LongCnt};typeof globalThis<"u"&&(globalThis.yorkie={Client:H2,Document:U2,Primitive:Es,Text:tg,Counter:ng,Tree:X1,LogLevel:oo,setLogLevel:P2,IntType:Bu.IntegerCnt,LongType:Bu.LongCnt}),r.Change=b0,r.Client=H2,r.ClientCondition=wC,r.ClientStatus=EC,r.Counter=ng,r.Devtools=s7,r.DocEventType=Ho,r.Document=U2,r.DocumentStatus=Fd,r.DocumentSyncStatus=Cv,r.EventSourceDevPanel=bC,r.EventSourceSDK=yC,r.LogLevel=oo,r.OpSource=K,r.Primitive=Es,r.StreamConnectionStatus=Av,r.SyncMode=K1,r.Text=tg,r.TimeTicket=Uo,r.Tree=X1,r.VersionVector=g0,r.converter=ra,r.default=a7,r.setLogLevel=P2,Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})})})(DB,DB.exports);var wI=DB.exports;class Aut{constructor(t,n){Qa(this,"doc");Qa(this,"client");this.doc=t,this.client=n}}const Sj=Gn.define({combine(e){return e[e.length-1]}});class Cut{constructor(t){Qa(this,"view");Qa(this,"conf");Qa(this,"_doc");this.view=t,this.conf=t.state.facet(Sj),this._doc=this.conf.doc,this._doc.subscribe(n=>{if(n.type!=="snapshot")return;const r=this._doc.getRoot().content,i=this._doc.getMyPresence().selection,s={changes:{from:0,to:t.state.doc.length,insert:r.toString()},annotations:[da.remote.of(!0)]};if(i){const a=r.posRangeToIndexRange(i);s.selection={anchor:a[0],head:a[1]}}t.dispatch(s)}),this._doc.update(n=>{n.content||(n.content=new wI.Text)}),this._doc.subscribe("$.content",n=>{if(n.type!=="remote-change")return;const{operations:r}=n.value;r.forEach(i=>{if(i.type==="edit"){const s=[{from:Math.max(0,i.from),to:Math.max(0,i.to),insert:i.value.content}];t.dispatch({changes:s,annotations:[da.remote.of(!0)]})}})})}update(t){if(t.docChanged)for(const n of t.transactions){if(!["select","input","delete","move","undo","redo"].some(s=>n.isUserEvent(s))||n.annotation(da.remote))continue;let i=0;this._doc.update(s=>{n.changes.iterChanges((a,o,l,c,d)=>{const f=d.toJSON().join(` +`);s.content.edit(a+i,o+i,f),i+=f.length-(o-a)})})}}}const Rut=pa.fromClass(Cut);var xI={exports:{}};/** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */xI.exports;(function(e,t){(function(){var n,r="4.17.21",i=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",o="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",c=500,d="__lodash_placeholder__",f=1,p=2,g=4,b=1,w=2,x=1,T=2,_=4,C=8,I=16,M=32,$=64,B=128,j=256,F=512,V=30,ie="...",se=800,me=16,fe=1,le=2,ye=3,ae=1/0,Se=9007199254740991,he=17976931348623157e292,re=NaN,Fe=4294967295,je=Fe-1,ue=Fe>>>1,tt=[["ary",B],["bind",x],["bindKey",T],["curry",C],["curryRight",I],["flip",F],["partial",M],["partialRight",$],["rearg",j]],St="[object Arguments]",Ze="[object Array]",qt="[object AsyncFunction]",xt="[object Boolean]",Nt="[object Date]",Ht="[object DOMException]",Jt="[object Error]",Vt="[object Function]",en="[object GeneratorFunction]",Ct="[object Map]",Xe="[object Number]",Ut="[object Null]",sn="[object Object]",te="[object Promise]",de="[object Proxy]",we="[object RegExp]",We="[object Set]",Ke="[object String]",xe="[object Symbol]",Qe="[object Undefined]",yt="[object WeakMap]",Be="[object WeakSet]",Ne="[object ArrayBuffer]",rt="[object DataView]",pt="[object Float32Array]",Dt="[object Float64Array]",Gt="[object Int8Array]",Pn="[object Int16Array]",Fn="[object Int32Array]",kt="[object Uint8Array]",ct="[object Uint8ClampedArray]",fn="[object Uint16Array]",Rn="[object Uint32Array]",Sr=/\b__p \+= '';/g,ai=/\b(__p \+=) '' \+/g,sr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,oi=/&(?:amp|lt|gt|quot|#39);/g,xr=/[&<>"']/g,Ir=RegExp(oi.source),$r=RegExp(xr.source),_r=/<%-([\s\S]+?)%>/g,Qr=/<%([\s\S]+?)%>/g,jn=/<%=([\s\S]+?)%>/g,wi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wa=/^\w*$/,is=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ss=/[\\^$.*+?()[\]{}|]/g,Rs=RegExp(ss.source),at=/^\s+/,z=/\s/,L=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ve=/\{\n\/\* \[wrapped with (.+)\] \*/,X=/,? & /,be=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Rt=/[()=,{}\[\]\/\s]/,At=/\\(\\)?/g,ot=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Je=/\w*$/,ft=/^[-+]0x[0-9a-f]+$/i,Mt=/^0b[01]+$/i,Yt=/^\[object .+?Constructor\]$/,Nn=/^0o[0-7]+$/i,Ce=/^(?:0|[1-9]\d*)$/,_t=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ue=/($^)/,Mi=/['\n\r\u2028\u2029\\]/g,Jn="\\ud800-\\udfff",xi="\\u0300-\\u036f",ti="\\ufe20-\\ufe2f",wn="\\u20d0-\\u20ff",as=xi+ti+wn,Qi="\\u2700-\\u27bf",Ln="a-z\\xdf-\\xf6\\xf8-\\xff",ma="\\xac\\xb1\\xd7\\xf7",qs="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",os="\\u2000-\\u206f",yr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Bi="A-Z\\xc0-\\xd6\\xd8-\\xde",ga="\\ufe0e\\ufe0f",Vi=ma+qs+os+yr,Ja="['’]",vd="["+Jn+"]",Oe="["+Vi+"]",Ui="["+as+"]",gi="\\d+",xa="["+Qi+"]",Ba="["+Ln+"]",tl="[^"+Jn+Vi+gi+Qi+Ln+Bi+"]",Ta="\\ud83c[\\udffb-\\udfff]",Tl="(?:"+Ui+"|"+Ta+")",Ua="[^"+Jn+"]",ka="(?:\\ud83c[\\udde6-\\uddff]){2}",eo="[\\ud800-\\udbff][\\udc00-\\udfff]",_a="["+Bi+"]",Mo="\\u200d",ht="(?:"+Ba+"|"+tl+")",Vr="(?:"+_a+"|"+tl+")",nl="(?:"+Ja+"(?:d|ll|m|re|s|t|ve))?",rl="(?:"+Ja+"(?:D|LL|M|RE|S|T|VE))?",Wp=Tl+"?",_h="["+ga+"]?",Fo="(?:"+Mo+"(?:"+[Ua,ka,eo].join("|")+")"+_h+Wp+")*",Cu="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",il="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",vn=_h+Wp+Fo,yc="(?:"+[xa,ka,eo].join("|")+")"+vn,kf="(?:"+[Ua+Ui+"?",Ui,ka,eo,vd].join("|")+")",zi=RegExp(Ja,"g"),Kl=RegExp(Ui,"g"),Qp=RegExp(Ta+"(?="+Ta+")|"+kf+vn,"g"),Cm=RegExp([_a+"?"+Ba+"+"+nl+"(?="+[Oe,_a,"$"].join("|")+")",Vr+"+"+rl+"(?="+[Oe,_a+ht,"$"].join("|")+")",_a+"?"+ht+"+"+nl,_a+"+"+rl,il,Cu,gi,yc].join("|"),"g"),Rm=RegExp("["+Mo+Jn+as+ga+"]"),Im=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ss=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ah=-1,Ri={};Ri[pt]=Ri[Dt]=Ri[Gt]=Ri[Pn]=Ri[Fn]=Ri[kt]=Ri[ct]=Ri[fn]=Ri[Rn]=!0,Ri[St]=Ri[Ze]=Ri[Ne]=Ri[xt]=Ri[rt]=Ri[Nt]=Ri[Jt]=Ri[Vt]=Ri[Ct]=Ri[Xe]=Ri[sn]=Ri[we]=Ri[We]=Ri[Ke]=Ri[yt]=!1;var Ti={};Ti[St]=Ti[Ze]=Ti[Ne]=Ti[rt]=Ti[xt]=Ti[Nt]=Ti[pt]=Ti[Dt]=Ti[Gt]=Ti[Pn]=Ti[Fn]=Ti[Ct]=Ti[Xe]=Ti[sn]=Ti[we]=Ti[We]=Ti[Ke]=Ti[xe]=Ti[kt]=Ti[ct]=Ti[fn]=Ti[Rn]=!0,Ti[Jt]=Ti[Vt]=Ti[yt]=!1;var Ch={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą: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t,Q=typeof Qc=="object"&&Qc&&Qc.Object===Object&&Qc,ee=typeof self=="object"&&self&&self.Object===Object&&self,J=Q||ee||Function("return this")(),oe=t&&!t.nodeType&&t,Ae=oe&&!0&&e&&!e.nodeType&&e,Le=Ae&&Ae.exports===oe,Ve=Le&&Q.process,He=function(){try{var ut=Ae&&Ae.require&&Ae.require("util").types;return ut||Ve&&Ve.binding&&Ve.binding("util")}catch{}}(),vt=He&&He.isArrayBuffer,gt=He&&He.isDate,bt=He&&He.isMap,dt=He&&He.isRegExp,$t=He&&He.isSet,tn=He&&He.isTypedArray;function $n(ut,Lt,It){switch(It.length){case 0:return ut.call(Lt);case 1:return ut.call(Lt,It[0]);case 2:return ut.call(Lt,It[0],It[1]);case 3:return ut.call(Lt,It[0],It[1],It[2])}return ut.apply(Lt,It)}function Zn(ut,Lt,It,In){for(var gr=-1,Yr=ut==null?0:ut.length;++gr-1}function vr(ut,Lt,It){for(var In=-1,gr=ut==null?0:ut.length;++In-1;);return It}function N1(ut,Lt){for(var It=ut.length;It--&&kl(Lt,ut[It],0)>-1;);return It}function Pm(ut,Lt){for(var It=ut.length,In=0;It--;)ut[It]===Lt&&++In;return In}var Yy=Dh(Ch),Ph=Dh(Ru);function Lm(ut){return"\\"+R[ut]}function Lh(ut,Lt){return ut==null?n:ut[Lt]}function Du(ut){return Rm.test(ut)}function Mm(ut){return Im.test(ut)}function Zy(ut){for(var Lt,It=[];!(Lt=ut.next()).done;)It.push(Lt.value);return It}function _f(ut){var Lt=-1,It=Array(ut.size);return ut.forEach(function(In,gr){It[++Lt]=[gr,In]}),It}function Xp(ut,Lt){return function(It){return ut(Lt(It))}}function sl(ut,Lt){for(var It=-1,In=ut.length,gr=0,Yr=[];++It-1}function av(m,O){var P=this.__data__,Z=Tt(P,m);return Z<0?(++this.size,P.push([m,O])):P[Z][1]=O,this}ta.prototype.clear=d0,ta.prototype.delete=Id,ta.prototype.get=Lf,ta.prototype.has=iu,ta.prototype.set=av;function ol(m){var O=-1,P=m==null?0:m.length;for(this.clear();++O=O?m:O)),m}function Ar(m,O,P,Z,ge,Re){var qe,nt=O&f,mt=O&p,nn=O&g;if(P&&(qe=ge?P(m,Z,ge,Re):P(m)),qe!==n)return qe;if(!ya(m))return m;var rn=Mr(m);if(rn){if(qe=KN(m),!nt)return Pl(m,qe)}else{var on=vo(m),kn=on==Vt||on==en;if(sg(m))return gv(m,nt);if(on==sn||on==St||kn&&!ge){if(qe=mt||kn?{}:fC(m),!nt)return mt?jN(m,Mn(qe,m)):qN(m,_n(qe,m))}else{if(!Ti[on])return ge?m:{};qe=R2(m,on,nt)}}Re||(Re=new E);var rr=Re.get(m);if(rr)return rr;Re.set(m,qe),PZ(m)?m.forEach(function(Er){qe.add(Ar(Er,O,P,Er,m,Re))}):DZ(m)&&m.forEach(function(Er,li){qe.set(li,Ar(Er,O,P,li,m,Re))});var Or=nn?mt?A2:_2:mt?zu:qo,Xr=rn?n:Or(m);return Xn(Xr||m,function(Er,li){Xr&&(li=Er,Er=m[li]),lt(qe,li,Ar(Er,O,P,li,m,Re))}),qe}function Zr(m){var O=qo(m);return function(P){return Ha(P,m,O)}}function Ha(m,O,P){var Z=P.length;if(m==null)return!Z;for(m=bi(m);Z--;){var ge=P[Z],Re=O[ge],qe=m[ge];if(qe===n&&!(ge in m)||!Re(qe))return!1}return!0}function na(m,O,P){if(typeof m!="function")throw new $o(a);return Z1(function(){m.apply(n,P)},O)}function Ws(m,O,P,Z){var ge=-1,Re=js,qe=!0,nt=m.length,mt=[],nn=O.length;if(!nt)return mt;P&&(O=ln(O,mo(P))),Z?(Re=vr,qe=!1):O.length>=i&&(Re=Od,qe=!1,O=new ro(O));e:for(;++gege?0:ge+P),Z=Z===n||Z>ge?ge:jr(Z),Z<0&&(Z+=ge),Z=P>Z?0:MZ(Z);P0&&P(nt)?O>1?Lr(nt,O-1,P,Z,ge):Yi(ge,nt):Z||(ge[ge.length]=nt)}return ge}var io=rC(),U1=rC(!0);function Il(m,O){return m&&io(m,O,qo)}function qa(m,O){return m&&U1(m,O,qo)}function dn(m,O){return Gi(O,function(P){return T0(m[P])})}function qi(m,O){O=Un(O,m);for(var P=0,Z=O.length;m!=null&&PO}function su(m,O){return m!=null&&yi.call(m,O)}function Bh(m,O){return m!=null&&O in bi(m)}function p0(m,O,P){return m>=za(O,P)&&m=120&&rn.length>=120)?new ro(qe&&rn):n}rn=m[0];var on=-1,kn=nt[0];e:for(;++on-1;)nt!==m&&xd.call(nt,mt,1),xd.call(m,mt,1);return m}function hv(m,O){for(var P=m?O.length:0,Z=P-1;P--;){var ge=O[P];if(P==Z||ge!==Re){var Re=ge;wc(ge)?xd.call(m,ge,1):Bu(m,ge)}}return m}function j1(m,O){return m+Cl(l0()*(O-m+1))}function XA(m,O,P,Z){for(var ge=-1,Re=Os(a0((O-m)/(P||1)),0),qe=It(Re);Re--;)qe[Z?Re:++ge]=m,m+=P;return qe}function Dl(m,O){var P="";if(!m||O<1||O>Se)return P;do O%2&&(P+=m),O=Cl(O/2),O&&(m+=m);while(O);return P}function Pr(m,O){return Ns(eg(m,O,Hu),m+"")}function g0(m){return Ee(Nv(m))}function UN(m,O){var P=Nv(m);return rg(P,Dr(O,0,P.length))}function au(m,O,P,Z){if(!ya(m))return m;O=Un(O,m);for(var ge=-1,Re=O.length,qe=Re-1,nt=m;nt!=null&&++gege?0:ge+O),P=P>ge?ge:P,P<0&&(P+=ge),ge=O>P?0:P-O>>>0,O>>>=0;for(var Re=It(ge);++Z>>1,qe=m[Re];qe!==null&&!kc(qe)&&(P?qe<=O:qe=i){var nn=O?null:VN(m);if(nn)return Mh(nn);qe=!1,ge=Od,mt=new ro}else mt=O?[]:nt;e:for(;++Z=Z?m:yo(m,O,P)}var S2=Fh||function(m){return J.clearTimeout(m)};function gv(m,O){if(O)return m.slice();var P=m.length,Z=r0?r0(P):new m.constructor(P);return m.copy(Z),Z}function O2(m){var O=new m.constructor(m.byteLength);return new n0(O).set(new n0(m)),O}function bv(m,O){var P=O?O2(m.buffer):m.buffer;return new m.constructor(P,m.byteOffset,m.byteLength)}function yv(m){var O=new m.constructor(m.source,Je.exec(m));return O.lastIndex=m.lastIndex,O}function W1(m){return Ad?bi(Ad.call(m)):{}}function E2(m,O){var P=O?O2(m.buffer):m.buffer;return new m.constructor(P,m.byteOffset,m.length)}function eC(m,O){if(m!==O){var P=m!==n,Z=m===null,ge=m===m,Re=kc(m),qe=O!==n,nt=O===null,mt=O===O,nn=kc(O);if(!nt&&!nn&&!Re&&m>O||Re&&qe&&mt&&!nt&&!nn||Z&&qe&&mt||!P&&mt||!ge)return 1;if(!Z&&!Re&&!nn&&m=nt)return mt;var nn=P[Z];return mt*(nn=="desc"?-1:1)}}return m.index-O.index}function tC(m,O,P,Z){for(var ge=-1,Re=m.length,qe=P.length,nt=-1,mt=O.length,nn=Os(Re-qe,0),rn=It(mt+nn),on=!Z;++nt1?P[ge-1]:n,qe=ge>2?P[2]:n;for(Re=m.length>3&&typeof Re=="function"?(ge--,Re):n,qe&&ul(P[0],P[1],qe)&&(Re=ge<3?n:Re,ge=1),O=bi(O);++Z-1?ge[Re?O[qe]:qe]:n}}function T2(m){return Md(function(O){var P=O.length,Z=P,ge=Rl.prototype.thru;for(m&&O.reverse();Z--;){var Re=O[Z];if(typeof Re!="function")throw new $o(a);if(ge&&!qe&&G1(Re)=="wrapper")var qe=new Rl([],!0)}for(Z=qe?Z:P;++Z1&&_i.reverse(),rn&&mtnt))return!1;var nn=Re.get(m),rn=Re.get(O);if(nn&&rn)return nn==O&&rn==m;var on=-1,kn=!0,rr=P&w?new ro:n;for(Re.set(m,O),Re.set(O,m);++on1?"& ":"")+O[Z],O=O.join(P>2?", ":" "),m.replace(L,`{ + */xI.exports;(function(e,t){(function(){var n,r="4.17.21",i=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",o="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",c=500,d="__lodash_placeholder__",f=1,p=2,g=4,b=1,w=2,x=1,T=2,_=4,C=8,I=16,M=32,$=64,B=128,j=256,F=512,V=30,ie="...",se=800,me=16,fe=1,le=2,ye=3,ae=1/0,Se=9007199254740991,he=17976931348623157e292,re=NaN,Fe=4294967295,je=Fe-1,ue=Fe>>>1,tt=[["ary",B],["bind",x],["bindKey",T],["curry",C],["curryRight",I],["flip",F],["partial",M],["partialRight",$],["rearg",j]],St="[object Arguments]",Ze="[object Array]",qt="[object AsyncFunction]",xt="[object Boolean]",Nt="[object Date]",Ht="[object DOMException]",Jt="[object Error]",Vt="[object Function]",en="[object GeneratorFunction]",Ct="[object Map]",Xe="[object Number]",Ut="[object Null]",sn="[object Object]",te="[object Promise]",de="[object Proxy]",we="[object RegExp]",We="[object Set]",Ke="[object String]",xe="[object Symbol]",Qe="[object Undefined]",yt="[object WeakMap]",Be="[object WeakSet]",Ne="[object ArrayBuffer]",rt="[object DataView]",pt="[object Float32Array]",Dt="[object Float64Array]",Gt="[object Int8Array]",Pn="[object Int16Array]",Fn="[object Int32Array]",kt="[object Uint8Array]",ct="[object Uint8ClampedArray]",fn="[object Uint16Array]",Rn="[object Uint32Array]",Sr=/\b__p \+= '';/g,ai=/\b(__p \+=) '' \+/g,sr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,oi=/&(?:amp|lt|gt|quot|#39);/g,xr=/[&<>"']/g,Ir=RegExp(oi.source),$r=RegExp(xr.source),_r=/<%-([\s\S]+?)%>/g,Qr=/<%([\s\S]+?)%>/g,jn=/<%=([\s\S]+?)%>/g,wi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wa=/^\w*$/,is=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ss=/[\\^$.*+?()[\]{}|]/g,Rs=RegExp(ss.source),at=/^\s+/,z=/\s/,L=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ve=/\{\n\/\* \[wrapped with (.+)\] \*/,X=/,? & /,be=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Rt=/[()=,{}\[\]\/\s]/,At=/\\(\\)?/g,ot=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Je=/\w*$/,ft=/^[-+]0x[0-9a-f]+$/i,Mt=/^0b[01]+$/i,Yt=/^\[object .+?Constructor\]$/,Nn=/^0o[0-7]+$/i,Ce=/^(?:0|[1-9]\d*)$/,_t=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ue=/($^)/,Mi=/['\n\r\u2028\u2029\\]/g,Jn="\\ud800-\\udfff",xi="\\u0300-\\u036f",ti="\\ufe20-\\ufe2f",wn="\\u20d0-\\u20ff",as=xi+ti+wn,Qi="\\u2700-\\u27bf",Ln="a-z\\xdf-\\xf6\\xf8-\\xff",ma="\\xac\\xb1\\xd7\\xf7",qs="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",os="\\u2000-\\u206f",yr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Bi="A-Z\\xc0-\\xd6\\xd8-\\xde",ga="\\ufe0e\\ufe0f",Vi=ma+qs+os+yr,Ja="['’]",vd="["+Jn+"]",Oe="["+Vi+"]",Ui="["+as+"]",gi="\\d+",xa="["+Qi+"]",Ba="["+Ln+"]",tl="[^"+Jn+Vi+gi+Qi+Ln+Bi+"]",Ta="\\ud83c[\\udffb-\\udfff]",Tl="(?:"+Ui+"|"+Ta+")",Ua="[^"+Jn+"]",ka="(?:\\ud83c[\\udde6-\\uddff]){2}",eo="[\\ud800-\\udbff][\\udc00-\\udfff]",_a="["+Bi+"]",Mo="\\u200d",ht="(?:"+Ba+"|"+tl+")",Vr="(?:"+_a+"|"+tl+")",nl="(?:"+Ja+"(?:d|ll|m|re|s|t|ve))?",rl="(?:"+Ja+"(?:D|LL|M|RE|S|T|VE))?",Wp=Tl+"?",_h="["+ga+"]?",Fo="(?:"+Mo+"(?:"+[Ua,ka,eo].join("|")+")"+_h+Wp+")*",Cu="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",il="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",vn=_h+Wp+Fo,vc="(?:"+[xa,ka,eo].join("|")+")"+vn,kf="(?:"+[Ua+Ui+"?",Ui,ka,eo,vd].join("|")+")",zi=RegExp(Ja,"g"),Kl=RegExp(Ui,"g"),Qp=RegExp(Ta+"(?="+Ta+")|"+kf+vn,"g"),Cm=RegExp([_a+"?"+Ba+"+"+nl+"(?="+[Oe,_a,"$"].join("|")+")",Vr+"+"+rl+"(?="+[Oe,_a+ht,"$"].join("|")+")",_a+"?"+ht+"+"+nl,_a+"+"+rl,il,Cu,gi,vc].join("|"),"g"),Rm=RegExp("["+Mo+Jn+as+ga+"]"),Im=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ss=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ah=-1,Ri={};Ri[pt]=Ri[Dt]=Ri[Gt]=Ri[Pn]=Ri[Fn]=Ri[kt]=Ri[ct]=Ri[fn]=Ri[Rn]=!0,Ri[St]=Ri[Ze]=Ri[Ne]=Ri[xt]=Ri[rt]=Ri[Nt]=Ri[Jt]=Ri[Vt]=Ri[Ct]=Ri[Xe]=Ri[sn]=Ri[we]=Ri[We]=Ri[Ke]=Ri[yt]=!1;var Ti={};Ti[St]=Ti[Ze]=Ti[Ne]=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:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Ru={"&":"&","<":"<",">":">",'"':""","'":"'"},Gr={"&":"&","<":"<",">":">",""":'"',"'":"'"},R={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},N=parseFloat,H=parseInt,Q=typeof Vc=="object"&&Vc&&Vc.Object===Object&&Vc,ee=typeof self=="object"&&self&&self.Object===Object&&self,J=Q||ee||Function("return this")(),oe=t&&!t.nodeType&&t,Ae=oe&&!0&&e&&!e.nodeType&&e,Le=Ae&&Ae.exports===oe,Ve=Le&&Q.process,He=function(){try{var ut=Ae&&Ae.require&&Ae.require("util").types;return ut||Ve&&Ve.binding&&Ve.binding("util")}catch{}}(),vt=He&&He.isArrayBuffer,gt=He&&He.isDate,bt=He&&He.isMap,dt=He&&He.isRegExp,$t=He&&He.isSet,tn=He&&He.isTypedArray;function $n(ut,Lt,It){switch(It.length){case 0:return ut.call(Lt);case 1:return ut.call(Lt,It[0]);case 2:return ut.call(Lt,It[0],It[1]);case 3:return ut.call(Lt,It[0],It[1],It[2])}return ut.apply(Lt,It)}function Zn(ut,Lt,It,In){for(var gr=-1,Yr=ut==null?0:ut.length;++gr-1}function vr(ut,Lt,It){for(var In=-1,gr=ut==null?0:ut.length;++In-1;);return It}function N1(ut,Lt){for(var It=ut.length;It--&&kl(Lt,ut[It],0)>-1;);return It}function Pm(ut,Lt){for(var It=ut.length,In=0;It--;)ut[It]===Lt&&++In;return In}var Yy=Dh(Ch),Ph=Dh(Ru);function Lm(ut){return"\\"+R[ut]}function Lh(ut,Lt){return ut==null?n:ut[Lt]}function Du(ut){return Rm.test(ut)}function Mm(ut){return Im.test(ut)}function Zy(ut){for(var Lt,It=[];!(Lt=ut.next()).done;)It.push(Lt.value);return It}function _f(ut){var Lt=-1,It=Array(ut.size);return ut.forEach(function(In,gr){It[++Lt]=[gr,In]}),It}function Xp(ut,Lt){return function(It){return ut(Lt(It))}}function sl(ut,Lt){for(var It=-1,In=ut.length,gr=0,Yr=[];++It-1}function av(m,O){var P=this.__data__,Z=Tt(P,m);return Z<0?(++this.size,P.push([m,O])):P[Z][1]=O,this}ta.prototype.clear=d0,ta.prototype.delete=Id,ta.prototype.get=Lf,ta.prototype.has=iu,ta.prototype.set=av;function ol(m){var O=-1,P=m==null?0:m.length;for(this.clear();++O=O?m:O)),m}function Ar(m,O,P,Z,ge,Re){var qe,nt=O&f,mt=O&p,nn=O&g;if(P&&(qe=ge?P(m,Z,ge,Re):P(m)),qe!==n)return qe;if(!ya(m))return m;var rn=Mr(m);if(rn){if(qe=KN(m),!nt)return Pl(m,qe)}else{var on=vo(m),kn=on==Vt||on==en;if(sg(m))return gv(m,nt);if(on==sn||on==St||kn&&!ge){if(qe=mt||kn?{}:fC(m),!nt)return mt?jN(m,Mn(qe,m)):qN(m,_n(qe,m))}else{if(!Ti[on])return ge?m:{};qe=R2(m,on,nt)}}Re||(Re=new E);var rr=Re.get(m);if(rr)return rr;Re.set(m,qe),PZ(m)?m.forEach(function(Er){qe.add(Ar(Er,O,P,Er,m,Re))}):DZ(m)&&m.forEach(function(Er,li){qe.set(li,Ar(Er,O,P,li,m,Re))});var Or=nn?mt?A2:_2:mt?zu:qo,Xr=rn?n:Or(m);return Xn(Xr||m,function(Er,li){Xr&&(li=Er,Er=m[li]),lt(qe,li,Ar(Er,O,P,li,m,Re))}),qe}function Zr(m){var O=qo(m);return function(P){return Ha(P,m,O)}}function Ha(m,O,P){var Z=P.length;if(m==null)return!Z;for(m=bi(m);Z--;){var ge=P[Z],Re=O[ge],qe=m[ge];if(qe===n&&!(ge in m)||!Re(qe))return!1}return!0}function na(m,O,P){if(typeof m!="function")throw new $o(a);return Z1(function(){m.apply(n,P)},O)}function Ws(m,O,P,Z){var ge=-1,Re=js,qe=!0,nt=m.length,mt=[],nn=O.length;if(!nt)return mt;P&&(O=ln(O,mo(P))),Z?(Re=vr,qe=!1):O.length>=i&&(Re=Od,qe=!1,O=new ro(O));e:for(;++gege?0:ge+P),Z=Z===n||Z>ge?ge:jr(Z),Z<0&&(Z+=ge),Z=P>Z?0:MZ(Z);P0&&P(nt)?O>1?Lr(nt,O-1,P,Z,ge):Yi(ge,nt):Z||(ge[ge.length]=nt)}return ge}var io=rC(),U1=rC(!0);function Il(m,O){return m&&io(m,O,qo)}function qa(m,O){return m&&U1(m,O,qo)}function dn(m,O){return Gi(O,function(P){return T0(m[P])})}function qi(m,O){O=Un(O,m);for(var P=0,Z=O.length;m!=null&&PO}function su(m,O){return m!=null&&yi.call(m,O)}function Bh(m,O){return m!=null&&O in bi(m)}function p0(m,O,P){return m>=za(O,P)&&m=120&&rn.length>=120)?new ro(qe&&rn):n}rn=m[0];var on=-1,kn=nt[0];e:for(;++on-1;)nt!==m&&xd.call(nt,mt,1),xd.call(m,mt,1);return m}function hv(m,O){for(var P=m?O.length:0,Z=P-1;P--;){var ge=O[P];if(P==Z||ge!==Re){var Re=ge;xc(ge)?xd.call(m,ge,1):Bu(m,ge)}}return m}function j1(m,O){return m+Cl(l0()*(O-m+1))}function XA(m,O,P,Z){for(var ge=-1,Re=Os(a0((O-m)/(P||1)),0),qe=It(Re);Re--;)qe[Z?Re:++ge]=m,m+=P;return qe}function Dl(m,O){var P="";if(!m||O<1||O>Se)return P;do O%2&&(P+=m),O=Cl(O/2),O&&(m+=m);while(O);return P}function Pr(m,O){return Ns(eg(m,O,Hu),m+"")}function g0(m){return Ee(Nv(m))}function UN(m,O){var P=Nv(m);return rg(P,Dr(O,0,P.length))}function au(m,O,P,Z){if(!ya(m))return m;O=Un(O,m);for(var ge=-1,Re=O.length,qe=Re-1,nt=m;nt!=null&&++gege?0:ge+O),P=P>ge?ge:P,P<0&&(P+=ge),ge=O>P?0:P-O>>>0,O>>>=0;for(var Re=It(ge);++Z>>1,qe=m[Re];qe!==null&&!_c(qe)&&(P?qe<=O:qe=i){var nn=O?null:VN(m);if(nn)return Mh(nn);qe=!1,ge=Od,mt=new ro}else mt=O?[]:nt;e:for(;++Z=Z?m:yo(m,O,P)}var S2=Fh||function(m){return J.clearTimeout(m)};function gv(m,O){if(O)return m.slice();var P=m.length,Z=r0?r0(P):new m.constructor(P);return m.copy(Z),Z}function O2(m){var O=new m.constructor(m.byteLength);return new n0(O).set(new n0(m)),O}function bv(m,O){var P=O?O2(m.buffer):m.buffer;return new m.constructor(P,m.byteOffset,m.byteLength)}function yv(m){var O=new m.constructor(m.source,Je.exec(m));return O.lastIndex=m.lastIndex,O}function W1(m){return Ad?bi(Ad.call(m)):{}}function E2(m,O){var P=O?O2(m.buffer):m.buffer;return new m.constructor(P,m.byteOffset,m.length)}function eC(m,O){if(m!==O){var P=m!==n,Z=m===null,ge=m===m,Re=_c(m),qe=O!==n,nt=O===null,mt=O===O,nn=_c(O);if(!nt&&!nn&&!Re&&m>O||Re&&qe&&mt&&!nt&&!nn||Z&&qe&&mt||!P&&mt||!ge)return 1;if(!Z&&!Re&&!nn&&m=nt)return mt;var nn=P[Z];return mt*(nn=="desc"?-1:1)}}return m.index-O.index}function tC(m,O,P,Z){for(var ge=-1,Re=m.length,qe=P.length,nt=-1,mt=O.length,nn=Os(Re-qe,0),rn=It(mt+nn),on=!Z;++nt1?P[ge-1]:n,qe=ge>2?P[2]:n;for(Re=m.length>3&&typeof Re=="function"?(ge--,Re):n,qe&&ul(P[0],P[1],qe)&&(Re=ge<3?n:Re,ge=1),O=bi(O);++Z-1?ge[Re?O[qe]:qe]:n}}function T2(m){return Md(function(O){var P=O.length,Z=P,ge=Rl.prototype.thru;for(m&&O.reverse();Z--;){var Re=O[Z];if(typeof Re!="function")throw new $o(a);if(ge&&!qe&&G1(Re)=="wrapper")var qe=new Rl([],!0)}for(Z=qe?Z:P;++Z1&&_i.reverse(),rn&&mtnt))return!1;var nn=Re.get(m),rn=Re.get(O);if(nn&&rn)return nn==O&&rn==m;var on=-1,kn=!0,rr=P&w?new ro:n;for(Re.set(m,O),Re.set(O,m);++on1?"& ":"")+O[Z],O=O.join(P>2?", ":" "),m.replace(L,`{ /* [wrapped with `+O+`] */ -`)}function D2(m){return Mr(m)||eb(m)||!!(zm&&m&&m[zm])}function wc(m,O){var P=typeof m;return O=O??Se,!!O&&(P=="number"||P!="symbol"&&Ce.test(m))&&m>-1&&m%1==0&&m0){if(++O>=se)return arguments[0]}else O=0;return m.apply(n,arguments)}}function rg(m,O){var P=-1,Z=m.length,ge=Z-1;for(O=O===n?Z:O;++P1?m[O-1]:n;return P=typeof P=="function"?(m.pop(),P):n,Zt(m,P)});function Zi(m){var O=ke(m);return O.__chain__=!0,O}function us(m,O){return O(m),m}function cs(m,O){return O(m)}var w0=Md(function(m){var O=m.length,P=O?m[0]:0,Z=this.__wrapped__,ge=function(Re){return Tn(Re,m)};return O>1||this.__actions__.length||!(Z instanceof Br)||!wc(P)?this.thru(ge):(Z=Z.slice(P,+P+(O?1:0)),Z.__actions__.push({func:cs,args:[ge],thisArg:n}),new Rl(Z,this.__chain__).thru(function(Re){return O&&!Re.length&&Re.push(n),Re}))});function x0(){return Zi(this)}function J1(){return new Rl(this.value(),this.__chain__)}function o7(){this.__values__===n&&(this.__values__=LZ(this.value()));var m=this.__index__>=this.__values__.length,O=m?n:this.__values__[this.__index__++];return{done:m,value:O}}function l7(){return this}function S2e(m){for(var O,P=this;P instanceof Cd;){var Z=B2(P);Z.__index__=0,Z.__values__=n,O?ge.__wrapped__=Z:O=Z;var ge=Z;P=P.__wrapped__}return ge.__wrapped__=m,O}function O2e(){var m=this.__wrapped__;if(m instanceof Br){var O=m;return this.__actions__.length&&(O=new Br(this)),O=O.reverse(),O.__actions__.push({func:cs,args:[Rv],thisArg:n}),new Rl(O,this.__chain__)}return this.thru(Rv)}function E2e(){return Pd(this.__wrapped__,this.__actions__)}var w2e=Vm(function(m,O,P){yi.call(m,P)?++m[P]:lr(m,P,1)});function x2e(m,O,P){var Z=Mr(m)?Js:Ii;return P&&ul(m,O,P)&&(O=n),Z(m,pr(O,3))}function T2e(m,O){var P=Mr(m)?Gi:Hi;return P(m,pr(O,3))}var k2e=x2(SC),_2e=x2(Fd);function A2e(m,O){return Lr(xC(m,O),1)}function C2e(m,O){return Lr(xC(m,O),ae)}function R2e(m,O,P){return P=P===n?1:jr(P),Lr(xC(m,O),P)}function EZ(m,O){var P=Mr(m)?Xn:zo;return P(m,pr(O,3))}function wZ(m,O){var P=Mr(m)?ki:ni;return P(m,pr(O,3))}var I2e=Vm(function(m,O,P){yi.call(m,P)?m[P].push(O):lr(m,P,[O])});function D2e(m,O,P,Z){m=Uu(m)?m:Nv(m),P=P&&!Z?jr(P):0;var ge=m.length;return P<0&&(P=Os(ge+P,0)),CC(m)?P<=ge&&m.indexOf(O,P)>-1:!!ge&&kl(m,O,P)>-1}var N2e=Pr(function(m,O,P){var Z=-1,ge=typeof O=="function",Re=Uu(m)?It(m.length):[];return zo(m,function(qe){Re[++Z]=ge?$n(O,qe,P):Ec(qe,O,P)}),Re}),P2e=Vm(function(m,O,P){lr(m,P,O)});function xC(m,O){var P=Mr(m)?ln:dv;return P(m,pr(O,3))}function L2e(m,O,P,Z){return m==null?[]:(Mr(O)||(O=O==null?[]:[O]),P=Z?n:P,Mr(P)||(P=P==null?[]:[P]),YA(m,O,P))}var M2e=Vm(function(m,O,P){m[P?0:1].push(O)},function(){return[[],[]]});function F2e(m,O,P){var Z=Mr(m)?ls:Nm,ge=arguments.length<3;return Z(m,pr(O,4),P,ge,zo)}function $2e(m,O,P){var Z=Mr(m)?Is:Nm,ge=arguments.length<3;return Z(m,pr(O,4),P,ge,ni)}function B2e(m,O){var P=Mr(m)?Gi:Hi;return P(m,_C(pr(O,3)))}function U2e(m){var O=Mr(m)?Ee:g0;return O(m)}function z2e(m,O,P){(P?ul(m,O,P):O===n)?O=1:O=jr(O);var Z=Mr(m)?Pe:UN;return Z(m,O)}function H2e(m){var O=Mr(m)?Ge:pv;return O(m)}function q2e(m){if(m==null)return 0;if(Uu(m))return CC(m)?Aa(m):m.length;var O=vo(m);return O==Ct||O==We?m.size:cv(m).length}function j2e(m,O,P){var Z=Mr(m)?to:zN;return P&&ul(m,O,P)&&(O=n),Z(m,pr(O,3))}var W2e=Pr(function(m,O){if(m==null)return[];var P=O.length;return P>1&&ul(m,O[0],O[1])?O=[]:P>2&&ul(O[0],O[1],O[2])&&(O=[O[0]]),YA(m,Lr(O,1),[])}),TC=Jy||function(){return J.Date.now()};function Q2e(m,O){if(typeof O!="function")throw new $o(a);return m=jr(m),function(){if(--m<1)return O.apply(this,arguments)}}function xZ(m,O,P){return O=P?n:O,O=m&&O==null?m.length:O,lu(m,B,n,n,n,n,O)}function TZ(m,O){var P;if(typeof O!="function")throw new $o(a);return m=jr(m),function(){return--m>0&&(P=O.apply(this,arguments)),m<=1&&(O=n),P}}var u7=Pr(function(m,O,P){var Z=x;if(P.length){var ge=sl(P,Km(u7));Z|=M}return lu(m,Z,O,P,ge)}),kZ=Pr(function(m,O,P){var Z=x|T;if(P.length){var ge=sl(P,Km(kZ));Z|=M}return lu(O,Z,m,P,ge)});function _Z(m,O,P){O=P?n:O;var Z=lu(m,C,n,n,n,n,n,O);return Z.placeholder=_Z.placeholder,Z}function AZ(m,O,P){O=P?n:O;var Z=lu(m,I,n,n,n,n,n,O);return Z.placeholder=AZ.placeholder,Z}function CZ(m,O,P){var Z,ge,Re,qe,nt,mt,nn=0,rn=!1,on=!1,kn=!0;if(typeof m!="function")throw new $o(a);O=$d(O)||0,ya(P)&&(rn=!!P.leading,on="maxWait"in P,Re=on?Os($d(P.maxWait)||0,O):Re,kn="trailing"in P?!!P.trailing:kn);function rr(Wa){var qf=Z,_0=ge;return Z=ge=n,nn=Wa,qe=m.apply(_0,qf),qe}function Or(Wa){return nn=Wa,nt=Z1(li,O),rn?rr(Wa):qe}function Xr(Wa){var qf=Wa-mt,_0=Wa-nn,GZ=O-qf;return on?za(GZ,Re-_0):GZ}function Er(Wa){var qf=Wa-mt,_0=Wa-nn;return mt===n||qf>=O||qf<0||on&&_0>=Re}function li(){var Wa=TC();if(Er(Wa))return _i(Wa);nt=Z1(li,Xr(Wa))}function _i(Wa){return nt=n,kn&&Z?rr(Wa):(Z=ge=n,qe)}function _c(){nt!==n&&S2(nt),nn=0,Z=mt=ge=nt=n}function uu(){return nt===n?qe:_i(TC())}function Ac(){var Wa=TC(),qf=Er(Wa);if(Z=arguments,ge=this,mt=Wa,qf){if(nt===n)return Or(mt);if(on)return S2(nt),nt=Z1(li,O),rr(mt)}return nt===n&&(nt=Z1(li,O)),qe}return Ac.cancel=_c,Ac.flush=uu,Ac}var V2e=Pr(function(m,O){return na(m,1,O)}),G2e=Pr(function(m,O,P){return na(m,$d(O)||0,P)});function Y2e(m){return lu(m,F)}function kC(m,O){if(typeof m!="function"||O!=null&&typeof O!="function")throw new $o(a);var P=function(){var Z=arguments,ge=O?O.apply(this,Z):Z[0],Re=P.cache;if(Re.has(ge))return Re.get(ge);var qe=m.apply(this,Z);return P.cache=Re.set(ge,qe)||Re,qe};return P.cache=new(kC.Cache||ol),P}kC.Cache=ol;function _C(m){if(typeof m!="function")throw new $o(a);return function(){var O=arguments;switch(O.length){case 0:return!m.call(this);case 1:return!m.call(this,O[0]);case 2:return!m.call(this,O[0],O[1]);case 3:return!m.call(this,O[0],O[1],O[2])}return!m.apply(this,O)}}function Z2e(m){return TZ(2,m)}var X2e=v2(function(m,O){O=O.length==1&&Mr(O[0])?ln(O[0],mo(pr())):ln(Lr(O,1),mo(pr()));var P=O.length;return Pr(function(Z){for(var ge=-1,Re=za(Z.length,P);++ge=O}),eb=Dd(function(){return arguments}())?Dd:function(m){return Ra(m)&&yi.call(m,"callee")&&!Pu.call(m,"callee")},Mr=It.isArray,fwe=vt?mo(vt):z1;function Uu(m){return m!=null&&AC(m.length)&&!T0(m)}function ja(m){return Ra(m)&&Uu(m)}function hwe(m){return m===!0||m===!1||Ra(m)&&so(m)==xt}var sg=Hm||O7,pwe=gt?mo(gt):Mu;function mwe(m){return Ra(m)&&m.nodeType===1&&!q2(m)}function gwe(m){if(m==null)return!0;if(Uu(m)&&(Mr(m)||typeof m=="string"||typeof m.splice=="function"||sg(m)||Dv(m)||eb(m)))return!m.length;var O=vo(m);if(O==Ct||O==We)return!m.size;if(ar(m))return!cv(m).length;for(var P in m)if(yi.call(m,P))return!1;return!0}function bwe(m,O){return Mf(m,O)}function ywe(m,O,P){P=typeof P=="function"?P:n;var Z=P?P(m,O):n;return Z===n?Mf(m,O,n,P):!!Z}function d7(m){if(!Ra(m))return!1;var O=so(m);return O==Jt||O==Ht||typeof m.message=="string"&&typeof m.name=="string"&&!q2(m)}function vwe(m){return typeof m=="number"&&ev(m)}function T0(m){if(!ya(m))return!1;var O=so(m);return O==Vt||O==en||O==qt||O==de}function IZ(m){return typeof m=="number"&&m==jr(m)}function AC(m){return typeof m=="number"&&m>-1&&m%1==0&&m<=Se}function ya(m){var O=typeof m;return m!=null&&(O=="object"||O=="function")}function Ra(m){return m!=null&&typeof m=="object"}var DZ=bt?mo(bt):MN;function Swe(m,O){return m===O||p2(m,O,xv(O))}function Owe(m,O,P){return P=typeof P=="function"?P:n,p2(m,O,xv(O),P)}function Ewe(m){return NZ(m)&&m!=+m}function wwe(m){if(P2(m))throw new gr(s);return Nd(m)}function xwe(m){return m===null}function Twe(m){return m==null}function NZ(m){return typeof m=="number"||Ra(m)&&so(m)==Xe}function q2(m){if(!Ra(m)||so(m)!=sn)return!1;var O=wd(m);if(O===null)return!0;var P=yi.call(O,"constructor")&&O.constructor;return typeof P=="function"&&P instanceof P&&Nu.call(P)==e0}var f7=dt?mo(dt):q1;function kwe(m){return IZ(m)&&m>=-Se&&m<=Se}var PZ=$t?mo($t):FN;function CC(m){return typeof m=="string"||!Mr(m)&&Ra(m)&&so(m)==Ke}function kc(m){return typeof m=="symbol"||Ra(m)&&so(m)==xe}var Dv=tn?mo(tn):$N;function _we(m){return m===n}function Awe(m){return Ra(m)&&vo(m)==yt}function Cwe(m){return Ra(m)&&so(m)==Be}var Rwe=Xm(Qm),Iwe=Xm(function(m,O){return m<=O});function LZ(m){if(!m)return[];if(Uu(m))return CC(m)?Ca(m):Pl(m);if(Sc&&m[Sc])return Zy(m[Sc]());var O=vo(m),P=O==Ct?_f:O==We?Mh:Nv;return P(m)}function k0(m){if(!m)return m===0?m:0;if(m=$d(m),m===ae||m===-ae){var O=m<0?-1:1;return O*he}return m===m?m:0}function jr(m){var O=k0(m),P=O%1;return O===O?P?O-P:O:0}function MZ(m){return m?Dr(jr(m),0,Fe):0}function $d(m){if(typeof m=="number")return m;if(kc(m))return re;if(ya(m)){var O=typeof m.valueOf=="function"?m.valueOf():m;m=ya(O)?O+"":O}if(typeof m!="string")return m===0?m:+m;m=Zp(m);var P=Mt.test(m);return P||Nn.test(m)?H(m.slice(2),P?2:8):ft.test(m)?re:+m}function FZ(m){return Ld(m,zu(m))}function Dwe(m){return m?Dr(jr(m),-Se,Se):m===0?m:0}function es(m){return m==null?"":ao(m)}var Nwe=Gm(function(m,O){if(ar(O)||Uu(O)){Ld(O,qo(O),m);return}for(var P in O)yi.call(O,P)&<(m,P,O[P])}),$Z=Gm(function(m,O){Ld(O,zu(O),m)}),RC=Gm(function(m,O,P,Z){Ld(O,zu(O),m,Z)}),Pwe=Gm(function(m,O,P,Z){Ld(O,qo(O),m,Z)}),Lwe=Md(Tn);function Mwe(m,O){var P=$h(m);return O==null?P:_n(P,O)}var Fwe=Pr(function(m,O){m=bi(m);var P=-1,Z=O.length,ge=Z>2?O[2]:n;for(ge&&ul(O[0],O[1],ge)&&(Z=1);++P1),Re}),Ld(m,A2(m),P),Z&&(P=Ar(P,f|p|g,GN));for(var ge=O.length;ge--;)Bu(P,O[ge]);return P});function txe(m,O){return UZ(m,_C(pr(O)))}var nxe=Md(function(m,O){return m==null?{}:ZA(m,O)});function UZ(m,O){if(m==null)return{};var P=ln(A2(m),function(Z){return[Z]});return O=pr(O),Fu(m,P,function(Z,ge){return O(Z,ge[0])})}function rxe(m,O,P){O=Un(O,m);var Z=-1,ge=O.length;for(ge||(ge=1,m=n);++ZO){var Z=m;m=O,O=Z}if(P||m%1||O%1){var ge=l0();return za(m+ge*(O-m+N("1e-"+((ge+"").length-1))),O)}return j1(m,O)}var pxe=y0(function(m,O,P){return O=O.toLowerCase(),m+(P?qZ(O):O)});function qZ(m){return m7(es(m).toLowerCase())}function jZ(m){return m=es(m),m&&m.replace(_t,Yy).replace(Kl,"")}function mxe(m,O,P){m=es(m),O=ao(O);var Z=m.length;P=P===n?Z:Dr(jr(P),0,Z);var ge=P;return P-=O.length,P>=0&&m.slice(P,ge)==O}function gxe(m){return m=es(m),m&&$r.test(m)?m.replace(xr,Ph):m}function bxe(m){return m=es(m),m&&Rs.test(m)?m.replace(ss,"\\$&"):m}var yxe=y0(function(m,O,P){return m+(P?"-":"")+O.toLowerCase()}),vxe=y0(function(m,O,P){return m+(P?" ":"")+O.toLowerCase()}),Sxe=iC("toLowerCase");function Oxe(m,O,P){m=es(m),O=jr(O);var Z=O?Aa(m):0;if(!O||Z>=O)return m;var ge=(O-Z)/2;return vv(Cl(ge),P)+m+vv(a0(ge),P)}function Exe(m,O,P){m=es(m),O=jr(O);var Z=O?Aa(m):0;return O&&Z>>0,P?(m=es(m),m&&(typeof O=="string"||O!=null&&!f7(O))&&(O=ao(O),!O&&Du(m))?Uf(Ca(m),0,P):m.split(O,P)):[]}var Cxe=y0(function(m,O,P){return m+(P?" ":"")+m7(O)});function Rxe(m,O,P){return m=es(m),P=P==null?0:Dr(jr(P),0,m.length),O=ao(O),m.slice(P,P+O.length)==O}function Ixe(m,O,P){var Z=ke.templateSettings;P&&ul(m,O,P)&&(O=n),m=es(m),O=RC({},O,Z,aC);var ge=RC({},O.imports,Z.imports,aC),Re=qo(ge),qe=Iu(ge,Re),nt,mt,nn=0,rn=O.interpolate||Ue,on="__p += '",kn=Af((O.escape||Ue).source+"|"+rn.source+"|"+(rn===jn?ot:Ue).source+"|"+(O.evaluate||Ue).source+"|$","g"),rr="//# sourceURL="+(yi.call(O,"sourceURL")?(O.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ah+"]")+` -`;m.replace(kn,function(Er,li,_i,_c,uu,Ac){return _i||(_i=_c),on+=m.slice(nn,Ac).replace(Mi,Lm),li&&(nt=!0,on+=`' + +`)}function D2(m){return Mr(m)||eb(m)||!!(zm&&m&&m[zm])}function xc(m,O){var P=typeof m;return O=O??Se,!!O&&(P=="number"||P!="symbol"&&Ce.test(m))&&m>-1&&m%1==0&&m0){if(++O>=se)return arguments[0]}else O=0;return m.apply(n,arguments)}}function rg(m,O){var P=-1,Z=m.length,ge=Z-1;for(O=O===n?Z:O;++P1?m[O-1]:n;return P=typeof P=="function"?(m.pop(),P):n,Zt(m,P)});function Zi(m){var O=ke(m);return O.__chain__=!0,O}function us(m,O){return O(m),m}function cs(m,O){return O(m)}var w0=Md(function(m){var O=m.length,P=O?m[0]:0,Z=this.__wrapped__,ge=function(Re){return Tn(Re,m)};return O>1||this.__actions__.length||!(Z instanceof Br)||!xc(P)?this.thru(ge):(Z=Z.slice(P,+P+(O?1:0)),Z.__actions__.push({func:cs,args:[ge],thisArg:n}),new Rl(Z,this.__chain__).thru(function(Re){return O&&!Re.length&&Re.push(n),Re}))});function x0(){return Zi(this)}function J1(){return new Rl(this.value(),this.__chain__)}function o7(){this.__values__===n&&(this.__values__=LZ(this.value()));var m=this.__index__>=this.__values__.length,O=m?n:this.__values__[this.__index__++];return{done:m,value:O}}function l7(){return this}function O2e(m){for(var O,P=this;P instanceof Cd;){var Z=B2(P);Z.__index__=0,Z.__values__=n,O?ge.__wrapped__=Z:O=Z;var ge=Z;P=P.__wrapped__}return ge.__wrapped__=m,O}function E2e(){var m=this.__wrapped__;if(m instanceof Br){var O=m;return this.__actions__.length&&(O=new Br(this)),O=O.reverse(),O.__actions__.push({func:cs,args:[Rv],thisArg:n}),new Rl(O,this.__chain__)}return this.thru(Rv)}function w2e(){return Pd(this.__wrapped__,this.__actions__)}var x2e=Vm(function(m,O,P){yi.call(m,P)?++m[P]:lr(m,P,1)});function T2e(m,O,P){var Z=Mr(m)?Js:Ii;return P&&ul(m,O,P)&&(O=n),Z(m,pr(O,3))}function k2e(m,O){var P=Mr(m)?Gi:Hi;return P(m,pr(O,3))}var _2e=x2(SC),A2e=x2(Fd);function C2e(m,O){return Lr(xC(m,O),1)}function R2e(m,O){return Lr(xC(m,O),ae)}function I2e(m,O,P){return P=P===n?1:jr(P),Lr(xC(m,O),P)}function EZ(m,O){var P=Mr(m)?Xn:zo;return P(m,pr(O,3))}function wZ(m,O){var P=Mr(m)?ki:ni;return P(m,pr(O,3))}var D2e=Vm(function(m,O,P){yi.call(m,P)?m[P].push(O):lr(m,P,[O])});function N2e(m,O,P,Z){m=Uu(m)?m:Nv(m),P=P&&!Z?jr(P):0;var ge=m.length;return P<0&&(P=Os(ge+P,0)),CC(m)?P<=ge&&m.indexOf(O,P)>-1:!!ge&&kl(m,O,P)>-1}var P2e=Pr(function(m,O,P){var Z=-1,ge=typeof O=="function",Re=Uu(m)?It(m.length):[];return zo(m,function(qe){Re[++Z]=ge?$n(O,qe,P):wc(qe,O,P)}),Re}),L2e=Vm(function(m,O,P){lr(m,P,O)});function xC(m,O){var P=Mr(m)?ln:dv;return P(m,pr(O,3))}function M2e(m,O,P,Z){return m==null?[]:(Mr(O)||(O=O==null?[]:[O]),P=Z?n:P,Mr(P)||(P=P==null?[]:[P]),YA(m,O,P))}var F2e=Vm(function(m,O,P){m[P?0:1].push(O)},function(){return[[],[]]});function $2e(m,O,P){var Z=Mr(m)?ls:Nm,ge=arguments.length<3;return Z(m,pr(O,4),P,ge,zo)}function B2e(m,O,P){var Z=Mr(m)?Is:Nm,ge=arguments.length<3;return Z(m,pr(O,4),P,ge,ni)}function U2e(m,O){var P=Mr(m)?Gi:Hi;return P(m,_C(pr(O,3)))}function z2e(m){var O=Mr(m)?Ee:g0;return O(m)}function H2e(m,O,P){(P?ul(m,O,P):O===n)?O=1:O=jr(O);var Z=Mr(m)?Pe:UN;return Z(m,O)}function q2e(m){var O=Mr(m)?Ge:pv;return O(m)}function j2e(m){if(m==null)return 0;if(Uu(m))return CC(m)?Aa(m):m.length;var O=vo(m);return O==Ct||O==We?m.size:cv(m).length}function W2e(m,O,P){var Z=Mr(m)?to:zN;return P&&ul(m,O,P)&&(O=n),Z(m,pr(O,3))}var Q2e=Pr(function(m,O){if(m==null)return[];var P=O.length;return P>1&&ul(m,O[0],O[1])?O=[]:P>2&&ul(O[0],O[1],O[2])&&(O=[O[0]]),YA(m,Lr(O,1),[])}),TC=Jy||function(){return J.Date.now()};function V2e(m,O){if(typeof O!="function")throw new $o(a);return m=jr(m),function(){if(--m<1)return O.apply(this,arguments)}}function xZ(m,O,P){return O=P?n:O,O=m&&O==null?m.length:O,lu(m,B,n,n,n,n,O)}function TZ(m,O){var P;if(typeof O!="function")throw new $o(a);return m=jr(m),function(){return--m>0&&(P=O.apply(this,arguments)),m<=1&&(O=n),P}}var u7=Pr(function(m,O,P){var Z=x;if(P.length){var ge=sl(P,Km(u7));Z|=M}return lu(m,Z,O,P,ge)}),kZ=Pr(function(m,O,P){var Z=x|T;if(P.length){var ge=sl(P,Km(kZ));Z|=M}return lu(O,Z,m,P,ge)});function _Z(m,O,P){O=P?n:O;var Z=lu(m,C,n,n,n,n,n,O);return Z.placeholder=_Z.placeholder,Z}function AZ(m,O,P){O=P?n:O;var Z=lu(m,I,n,n,n,n,n,O);return Z.placeholder=AZ.placeholder,Z}function CZ(m,O,P){var Z,ge,Re,qe,nt,mt,nn=0,rn=!1,on=!1,kn=!0;if(typeof m!="function")throw new $o(a);O=$d(O)||0,ya(P)&&(rn=!!P.leading,on="maxWait"in P,Re=on?Os($d(P.maxWait)||0,O):Re,kn="trailing"in P?!!P.trailing:kn);function rr(Wa){var qf=Z,_0=ge;return Z=ge=n,nn=Wa,qe=m.apply(_0,qf),qe}function Or(Wa){return nn=Wa,nt=Z1(li,O),rn?rr(Wa):qe}function Xr(Wa){var qf=Wa-mt,_0=Wa-nn,GZ=O-qf;return on?za(GZ,Re-_0):GZ}function Er(Wa){var qf=Wa-mt,_0=Wa-nn;return mt===n||qf>=O||qf<0||on&&_0>=Re}function li(){var Wa=TC();if(Er(Wa))return _i(Wa);nt=Z1(li,Xr(Wa))}function _i(Wa){return nt=n,kn&&Z?rr(Wa):(Z=ge=n,qe)}function Ac(){nt!==n&&S2(nt),nn=0,Z=mt=ge=nt=n}function uu(){return nt===n?qe:_i(TC())}function Cc(){var Wa=TC(),qf=Er(Wa);if(Z=arguments,ge=this,mt=Wa,qf){if(nt===n)return Or(mt);if(on)return S2(nt),nt=Z1(li,O),rr(mt)}return nt===n&&(nt=Z1(li,O)),qe}return Cc.cancel=Ac,Cc.flush=uu,Cc}var G2e=Pr(function(m,O){return na(m,1,O)}),Y2e=Pr(function(m,O,P){return na(m,$d(O)||0,P)});function Z2e(m){return lu(m,F)}function kC(m,O){if(typeof m!="function"||O!=null&&typeof O!="function")throw new $o(a);var P=function(){var Z=arguments,ge=O?O.apply(this,Z):Z[0],Re=P.cache;if(Re.has(ge))return Re.get(ge);var qe=m.apply(this,Z);return P.cache=Re.set(ge,qe)||Re,qe};return P.cache=new(kC.Cache||ol),P}kC.Cache=ol;function _C(m){if(typeof m!="function")throw new $o(a);return function(){var O=arguments;switch(O.length){case 0:return!m.call(this);case 1:return!m.call(this,O[0]);case 2:return!m.call(this,O[0],O[1]);case 3:return!m.call(this,O[0],O[1],O[2])}return!m.apply(this,O)}}function X2e(m){return TZ(2,m)}var K2e=v2(function(m,O){O=O.length==1&&Mr(O[0])?ln(O[0],mo(pr())):ln(Lr(O,1),mo(pr()));var P=O.length;return Pr(function(Z){for(var ge=-1,Re=za(Z.length,P);++ge=O}),eb=Dd(function(){return arguments}())?Dd:function(m){return Ra(m)&&yi.call(m,"callee")&&!Pu.call(m,"callee")},Mr=It.isArray,hwe=vt?mo(vt):z1;function Uu(m){return m!=null&&AC(m.length)&&!T0(m)}function ja(m){return Ra(m)&&Uu(m)}function pwe(m){return m===!0||m===!1||Ra(m)&&so(m)==xt}var sg=Hm||O7,mwe=gt?mo(gt):Mu;function gwe(m){return Ra(m)&&m.nodeType===1&&!q2(m)}function bwe(m){if(m==null)return!0;if(Uu(m)&&(Mr(m)||typeof m=="string"||typeof m.splice=="function"||sg(m)||Dv(m)||eb(m)))return!m.length;var O=vo(m);if(O==Ct||O==We)return!m.size;if(ar(m))return!cv(m).length;for(var P in m)if(yi.call(m,P))return!1;return!0}function ywe(m,O){return Mf(m,O)}function vwe(m,O,P){P=typeof P=="function"?P:n;var Z=P?P(m,O):n;return Z===n?Mf(m,O,n,P):!!Z}function d7(m){if(!Ra(m))return!1;var O=so(m);return O==Jt||O==Ht||typeof m.message=="string"&&typeof m.name=="string"&&!q2(m)}function Swe(m){return typeof m=="number"&&ev(m)}function T0(m){if(!ya(m))return!1;var O=so(m);return O==Vt||O==en||O==qt||O==de}function IZ(m){return typeof m=="number"&&m==jr(m)}function AC(m){return typeof m=="number"&&m>-1&&m%1==0&&m<=Se}function ya(m){var O=typeof m;return m!=null&&(O=="object"||O=="function")}function Ra(m){return m!=null&&typeof m=="object"}var DZ=bt?mo(bt):MN;function Owe(m,O){return m===O||p2(m,O,xv(O))}function Ewe(m,O,P){return P=typeof P=="function"?P:n,p2(m,O,xv(O),P)}function wwe(m){return NZ(m)&&m!=+m}function xwe(m){if(P2(m))throw new gr(s);return Nd(m)}function Twe(m){return m===null}function kwe(m){return m==null}function NZ(m){return typeof m=="number"||Ra(m)&&so(m)==Xe}function q2(m){if(!Ra(m)||so(m)!=sn)return!1;var O=wd(m);if(O===null)return!0;var P=yi.call(O,"constructor")&&O.constructor;return typeof P=="function"&&P instanceof P&&Nu.call(P)==e0}var f7=dt?mo(dt):q1;function _we(m){return IZ(m)&&m>=-Se&&m<=Se}var PZ=$t?mo($t):FN;function CC(m){return typeof m=="string"||!Mr(m)&&Ra(m)&&so(m)==Ke}function _c(m){return typeof m=="symbol"||Ra(m)&&so(m)==xe}var Dv=tn?mo(tn):$N;function Awe(m){return m===n}function Cwe(m){return Ra(m)&&vo(m)==yt}function Rwe(m){return Ra(m)&&so(m)==Be}var Iwe=Xm(Qm),Dwe=Xm(function(m,O){return m<=O});function LZ(m){if(!m)return[];if(Uu(m))return CC(m)?Ca(m):Pl(m);if(Oc&&m[Oc])return Zy(m[Oc]());var O=vo(m),P=O==Ct?_f:O==We?Mh:Nv;return P(m)}function k0(m){if(!m)return m===0?m:0;if(m=$d(m),m===ae||m===-ae){var O=m<0?-1:1;return O*he}return m===m?m:0}function jr(m){var O=k0(m),P=O%1;return O===O?P?O-P:O:0}function MZ(m){return m?Dr(jr(m),0,Fe):0}function $d(m){if(typeof m=="number")return m;if(_c(m))return re;if(ya(m)){var O=typeof m.valueOf=="function"?m.valueOf():m;m=ya(O)?O+"":O}if(typeof m!="string")return m===0?m:+m;m=Zp(m);var P=Mt.test(m);return P||Nn.test(m)?H(m.slice(2),P?2:8):ft.test(m)?re:+m}function FZ(m){return Ld(m,zu(m))}function Nwe(m){return m?Dr(jr(m),-Se,Se):m===0?m:0}function es(m){return m==null?"":ao(m)}var Pwe=Gm(function(m,O){if(ar(O)||Uu(O)){Ld(O,qo(O),m);return}for(var P in O)yi.call(O,P)&<(m,P,O[P])}),$Z=Gm(function(m,O){Ld(O,zu(O),m)}),RC=Gm(function(m,O,P,Z){Ld(O,zu(O),m,Z)}),Lwe=Gm(function(m,O,P,Z){Ld(O,qo(O),m,Z)}),Mwe=Md(Tn);function Fwe(m,O){var P=$h(m);return O==null?P:_n(P,O)}var $we=Pr(function(m,O){m=bi(m);var P=-1,Z=O.length,ge=Z>2?O[2]:n;for(ge&&ul(O[0],O[1],ge)&&(Z=1);++P1),Re}),Ld(m,A2(m),P),Z&&(P=Ar(P,f|p|g,GN));for(var ge=O.length;ge--;)Bu(P,O[ge]);return P});function nxe(m,O){return UZ(m,_C(pr(O)))}var rxe=Md(function(m,O){return m==null?{}:ZA(m,O)});function UZ(m,O){if(m==null)return{};var P=ln(A2(m),function(Z){return[Z]});return O=pr(O),Fu(m,P,function(Z,ge){return O(Z,ge[0])})}function ixe(m,O,P){O=Un(O,m);var Z=-1,ge=O.length;for(ge||(ge=1,m=n);++ZO){var Z=m;m=O,O=Z}if(P||m%1||O%1){var ge=l0();return za(m+ge*(O-m+N("1e-"+((ge+"").length-1))),O)}return j1(m,O)}var mxe=y0(function(m,O,P){return O=O.toLowerCase(),m+(P?qZ(O):O)});function qZ(m){return m7(es(m).toLowerCase())}function jZ(m){return m=es(m),m&&m.replace(_t,Yy).replace(Kl,"")}function gxe(m,O,P){m=es(m),O=ao(O);var Z=m.length;P=P===n?Z:Dr(jr(P),0,Z);var ge=P;return P-=O.length,P>=0&&m.slice(P,ge)==O}function bxe(m){return m=es(m),m&&$r.test(m)?m.replace(xr,Ph):m}function yxe(m){return m=es(m),m&&Rs.test(m)?m.replace(ss,"\\$&"):m}var vxe=y0(function(m,O,P){return m+(P?"-":"")+O.toLowerCase()}),Sxe=y0(function(m,O,P){return m+(P?" ":"")+O.toLowerCase()}),Oxe=iC("toLowerCase");function Exe(m,O,P){m=es(m),O=jr(O);var Z=O?Aa(m):0;if(!O||Z>=O)return m;var ge=(O-Z)/2;return vv(Cl(ge),P)+m+vv(a0(ge),P)}function wxe(m,O,P){m=es(m),O=jr(O);var Z=O?Aa(m):0;return O&&Z>>0,P?(m=es(m),m&&(typeof O=="string"||O!=null&&!f7(O))&&(O=ao(O),!O&&Du(m))?Uf(Ca(m),0,P):m.split(O,P)):[]}var Rxe=y0(function(m,O,P){return m+(P?" ":"")+m7(O)});function Ixe(m,O,P){return m=es(m),P=P==null?0:Dr(jr(P),0,m.length),O=ao(O),m.slice(P,P+O.length)==O}function Dxe(m,O,P){var Z=ke.templateSettings;P&&ul(m,O,P)&&(O=n),m=es(m),O=RC({},O,Z,aC);var ge=RC({},O.imports,Z.imports,aC),Re=qo(ge),qe=Iu(ge,Re),nt,mt,nn=0,rn=O.interpolate||Ue,on="__p += '",kn=Af((O.escape||Ue).source+"|"+rn.source+"|"+(rn===jn?ot:Ue).source+"|"+(O.evaluate||Ue).source+"|$","g"),rr="//# sourceURL="+(yi.call(O,"sourceURL")?(O.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ah+"]")+` +`;m.replace(kn,function(Er,li,_i,Ac,uu,Cc){return _i||(_i=Ac),on+=m.slice(nn,Cc).replace(Mi,Lm),li&&(nt=!0,on+=`' + __e(`+li+`) + '`),uu&&(mt=!0,on+=`'; `+uu+`; __p += '`),_i&&(on+=`' + ((__t = (`+_i+`)) == null ? '' : __t) + -'`),nn=Ac+Er.length,Er}),on+=`'; +'`),nn=Cc+Er.length,Er}),on+=`'; `;var Or=yi.call(O,"variable")&&O.variable;if(!Or)on=`with (obj) { `+on+` } @@ -388,58 +388,58 @@ __p += '`),_i&&(on+=`' + function print() { __p += __j.call(arguments, '') } `:`; `)+on+`return __p -}`;var Xr=QZ(function(){return Yr(Re,rr+"return "+on).apply(n,qe)});if(Xr.source=on,d7(Xr))throw Xr;return Xr}function Dxe(m){return es(m).toLowerCase()}function Nxe(m){return es(m).toUpperCase()}function Pxe(m,O,P){if(m=es(m),m&&(P||O===n))return Zp(m);if(!m||!(O=ao(O)))return m;var Z=Ca(m),ge=Ca(O),Re=Nh(Z,ge),qe=N1(Z,ge)+1;return Uf(Z,Re,qe).join("")}function Lxe(m,O,P){if(m=es(m),m&&(P||O===n))return m.slice(0,P1(m)+1);if(!m||!(O=ao(O)))return m;var Z=Ca(m),ge=N1(Z,Ca(O))+1;return Uf(Z,0,ge).join("")}function Mxe(m,O,P){if(m=es(m),m&&(P||O===n))return m.replace(at,"");if(!m||!(O=ao(O)))return m;var Z=Ca(m),ge=Nh(Z,Ca(O));return Uf(Z,ge).join("")}function Fxe(m,O){var P=V,Z=ie;if(ya(O)){var ge="separator"in O?O.separator:ge;P="length"in O?jr(O.length):P,Z="omission"in O?ao(O.omission):Z}m=es(m);var Re=m.length;if(Du(m)){var qe=Ca(m);Re=qe.length}if(P>=Re)return m;var nt=P-Aa(Z);if(nt<1)return Z;var mt=qe?Uf(qe,0,nt).join(""):m.slice(0,nt);if(ge===n)return mt+Z;if(qe&&(nt+=mt.length-nt),f7(ge)){if(m.slice(nt).search(ge)){var nn,rn=mt;for(ge.global||(ge=Af(ge.source,es(Je.exec(ge))+"g")),ge.lastIndex=0;nn=ge.exec(rn);)var on=nn.index;mt=mt.slice(0,on===n?nt:on)}}else if(m.indexOf(ao(ge),nt)!=nt){var kn=mt.lastIndexOf(ge);kn>-1&&(mt=mt.slice(0,kn))}return mt+Z}function $xe(m){return m=es(m),m&&Ir.test(m)?m.replace(oi,Bm):m}var Bxe=y0(function(m,O,P){return m+(P?" ":"")+O.toUpperCase()}),m7=iC("toUpperCase");function WZ(m,O,P){return m=es(m),O=P?n:O,O===n?Mm(m)?Ky(m):Vp(m):m.match(O)||[]}var QZ=Pr(function(m,O){try{return $n(m,n,O)}catch(P){return d7(P)?P:new gr(P)}}),Uxe=Md(function(m,O){return Xn(O,function(P){P=xc(P),lr(m,P,u7(m[P],m))}),m});function zxe(m){var O=m==null?0:m.length,P=pr();return m=O?ln(m,function(Z){if(typeof Z[1]!="function")throw new $o(a);return[P(Z[0]),Z[1]]}):[],Pr(function(Z){for(var ge=-1;++geSe)return[];var P=Fe,Z=za(m,Fe);O=pr(O),m-=Fe;for(var ge=Sd(Z,O);++P0||O<0)?new Br(P):(m<0?P=P.takeRight(-m):m&&(P=P.drop(m)),O!==n&&(O=jr(O),P=O<0?P.dropRight(-O):P.take(O-m)),P)},Br.prototype.takeRightWhile=function(m){return this.reverse().takeWhile(m).reverse()},Br.prototype.toArray=function(){return this.take(Fe)},Il(Br.prototype,function(m,O){var P=/^(?:filter|find|map|reject)|While$/.test(O),Z=/^(?:head|last)$/.test(O),ge=ke[Z?"take"+(O=="last"?"Right":""):O],Re=Z||/^find/.test(O);ge&&(ke.prototype[O]=function(){var qe=this.__wrapped__,nt=Z?[1]:arguments,mt=qe instanceof Br,nn=nt[0],rn=mt||Mr(qe),on=function(li){var _i=ge.apply(ke,Yi([li],nt));return Z&&kn?_i[0]:_i};rn&&P&&typeof nn=="function"&&nn.length!=1&&(mt=rn=!1);var kn=this.__chain__,rr=!!this.__actions__.length,Or=Re&&!kn,Xr=mt&&!rr;if(!Re&&rn){qe=Xr?qe:new Br(this);var Er=m.apply(qe,nt);return Er.__actions__.push({func:cs,args:[on],thisArg:n}),new Rl(Er,kn)}return Or&&Xr?m.apply(this,nt):(Er=this.thru(on),Or?Z?Er.value()[0]:Er.value():Er)})}),Xn(["pop","push","shift","sort","splice","unshift"],function(m){var O=_e[m],P=/^(?:push|sort|unshift)$/.test(m)?"tap":"thru",Z=/^(?:pop|shift)$/.test(m);ke.prototype[m]=function(){var ge=arguments;if(Z&&!this.__chain__){var Re=this.value();return O.apply(Mr(Re)?Re:[],ge)}return this[P](function(qe){return O.apply(Mr(qe)?qe:[],ge)})}}),Il(Br.prototype,function(m,O){var P=ke[O];if(P){var Z=P.name+"";yi.call(Pf,Z)||(Pf[Z]=[]),Pf[Z].push({name:O,func:P})}}),Pf[Ym(n,T).name]=[{name:"wrapper",func:n}],Br.prototype.clone=h2,Br.prototype.reverse=rv,Br.prototype.value=F1,ke.prototype.at=w0,ke.prototype.chain=x0,ke.prototype.commit=J1,ke.prototype.next=o7,ke.prototype.plant=S2e,ke.prototype.reverse=O2e,ke.prototype.toJSON=ke.prototype.valueOf=ke.prototype.value=E2e,ke.prototype.first=ke.prototype.head,Sc&&(ke.prototype[Sc]=l7),ke},Ed=Jp();Ae?((Ae.exports=Ed)._=Ed,oe._=Ed):J._=Ed}).call(Qc)})(xI,xI.exports);var Rut=xI.exports;const Iut=hd(Rut),Dut=Sn.baseTheme({".cm-ySelection":{},".cm-yLineSelection":{padding:0,margin:"0px 2px 0px 4px"},".cm-ySelectionCaret":{position:"relative",borderLeft:"1px solid black",borderRight:"1px solid black",marginLeft:"-1px",marginRight:"-1px",boxSizing:"border-box",display:"inline"},".cm-ySelectionCaretDot":{borderRadius:"50%",position:"absolute",width:".4em",height:".4em",top:"-.2em",left:"-.2em",backgroundColor:"inherit",transition:"transform .3s ease-in-out",boxSizing:"border-box"},".cm-ySelectionCaret:hover > .cm-ySelectionCaretDot":{transformOrigin:"bottom center",transform:"scale(0)"},".cm-ySelectionInfo":{position:"absolute",top:"-1.05em",left:"-1px",fontSize:".75em",fontFamily:"serif",fontStyle:"normal",fontWeight:"normal",lineHeight:"normal",userSelect:"none",color:"black",paddingLeft:"2px",paddingRight:"2px",zIndex:101,transition:"opacity .3s ease-in-out",backgroundColor:"inherit",transitionDelay:"0s",whiteSpace:"nowrap"}}),Nut=Mp.define();class Put extends Sh{constructor(n,r){super();Qa(this,"color");Qa(this,"name");this.color=n,this.name=r}toDOM(){return cR("span",[Rb("class","cm-ySelectionCaret"),Rb("style",`background-color: ${this.color}; border-color: ${this.color}`)],[t3("⁠"),cR("div",[Rb("class","cm-ySelectionCaretDot")]),t3("⁠"),cR("div",[Rb("class","cm-ySelectionInfo")],[t3(this.name)]),t3("⁠")])}eq(n){return n.color===this.color}compare(n){return n.color===this.color}updateDOM(){return!1}get estimatedHeight(){return-1}ignoreEvent(){return!0}}class Lut{constructor(t){Qa(this,"conf");Qa(this,"decorations");Qa(this,"unsubscribe");this.conf=t.state.facet(Sj),this.unsubscribe=this.conf.doc.subscribe("others",n=>{["presence-changed","unwatched"].includes(n.type)&&t.dispatch({annotations:[Nut.of([])]})}),this.decorations=Ci.of([])}destroy(){this.unsubscribe()}update(t){const n=[];this.conf.doc.update((r,i)=>{const a=t.view.hasFocus&&t.view.dom.ownerDocument.hasFocus()?t.state.selection.main:null;if(a&&r.content){const o=r.content.indexRangeToPosRange([a.anchor,a.head]),l=r.content.posRangeToIndexRange(o);Iut.isEqual(o,i.get("selection"))||i.set({selection:o,cursor:l})}else i.get("selection")&&i.set({selection:null,cursor:null})}),this.conf.doc.getPresences().forEach(r=>{if(r.clientID===this.conf.client.getID()||r.presence.selection==null)return;const i=this.conf.doc.getRoot().content.posRangeToIndexRange(r.presence.selection),s=r.presence.color,a=r.presence.name,o=Math.min(i[0],i[1]),l=Math.max(i[0],i[1]),c=t.view.state.doc.lineAt(o),d=t.view.state.doc.lineAt(l);if(c.number===d.number)n.push({from:o,to:l,value:Kn.mark({attributes:{style:`background-color: ${s}`},class:"cm-ySelection"})});else{n.push({from:o,to:c.from+c.length,value:Kn.mark({attributes:{style:`background-color: ${s}`},class:"cm-ySelection"})}),n.push({from:d.from,to:l,value:Kn.mark({attributes:{style:`background-color: ${s}`},class:"cm-ySelection"})});for(let f=c.number+1;f0?-1:1,block:!1,widget:new Put(s,a)})})}),this.decorations=Kn.set(n,!0)}}const Mut=pa.fromClass(Lut,{decorations:e=>e.decorations});function Fut(e,t){const n=new _ut(e,t),r=[Sj.of(n),Cut];return t&&r.push(Dut,Mut),r}const Uye=25;function $ut(e){const{width:t}=e,n=mc(),r=ei(Fy),[i,s]=Y.useState(null),a=!!i,o=d=>{s(d.currentTarget)},l=()=>{s(null)},c=d=>{n(knt(d)),l()};return U.jsxs(Ko,{variant:"outlined",sx:{position:"absolute",bottom:0,left:0,width:t,borderTop:1,borderColor:"divider",height:Uye,display:"flex",backgroundColor:"background.paper"},children:[U.jsx(yl,{variant:"text",onClick:o,children:r.codeKey}),U.jsx(Wz,{id:"codekey-menu",anchorEl:i,open:a,onClose:l,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"},children:Object.values(aj).map(d=>U.jsx(oc,{onClick:()=>c(d),children:d},d))})]})}const But={toggleButton:{width:"25px",height:"25px",border:"none",fontWeight:"bold"}};function s3({title:e,children:t,...n}){return U.jsx(Fg,{title:e,placement:"top",children:U.jsx(B3,{sx:But.toggleButton,...n,children:t})})}var YD={exports:{}},zye={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",Ấ:"A",Ắ:"A",Ẳ:"A",Ẵ:"A",Ặ:"A",Æ:"AE",Ầ:"A",Ằ:"A",Ȃ:"A",Ả:"A",Ạ:"A",Ẩ:"A",Ẫ:"A",Ậ:"A",Ç:"C",Ḉ:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ế:"E",Ḗ:"E",Ề:"E",Ḕ:"E",Ḝ:"E",Ȇ:"E",Ẻ:"E",Ẽ:"E",Ẹ:"E",Ể:"E",Ễ:"E",Ệ:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ḯ:"I",Ȋ:"I",Ỉ:"I",Ị:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",Ố:"O",Ṍ:"O",Ṓ:"O",Ȏ:"O",Ỏ:"O",Ọ:"O",Ổ:"O",Ỗ:"O",Ộ:"O",Ờ:"O",Ở:"O",Ỡ:"O",Ớ:"O",Ợ:"O",Ù:"U",Ú:"U",Û:"U",Ü:"U",Ủ:"U",Ụ:"U",Ử:"U",Ữ:"U",Ự:"U",Ý:"Y",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",ấ:"a",ắ:"a",ẳ:"a",ẵ:"a",ặ:"a",æ:"ae",ầ:"a",ằ:"a",ȃ:"a",ả:"a",ạ:"a",ẩ:"a",ẫ:"a",ậ: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:"u",Ẁ:"W",ẁ:"w",Ỳ:"Y",ỳ:"y",Ȁ:"A",ȁ:"a",Ȅ:"E",ȅ:"e",Ȉ:"I",ȉ:"i",Ȍ:"O",ȍ:"o",Ȑ:"R",ȑ:"r",Ȕ:"U",ȕ:"u",B̌:"B",b̌:"b",Č̣:"C",č̣:"c",Ê̌:"E",ê̌:"e",F̌:"F",f̌:"f",Ǧ:"G",ǧ:"g",Ȟ:"H",ȟ:"h",J̌:"J",ǰ:"j",Ǩ:"K",ǩ:"k",M̌:"M",m̌:"m",P̌:"P",p̌:"p",Q̌:"Q",q̌:"q",Ř̩:"R",ř̩:"r",Ṧ:"S",ṧ:"s",V̌:"V",v̌:"v",W̌:"W",w̌:"w",X̌:"X",x̌:"x",Y̌:"Y",y̌:"y",A̧:"A",a̧:"a",B̧:"B",b̧:"b",Ḑ:"D",ḑ:"d",Ȩ:"E",ȩ:"e",Ɛ̧:"E",ɛ̧:"e",Ḩ:"H",ḩ:"h",I̧:"I",i̧:"i",Ɨ̧:"I",ɨ̧:"i",M̧:"M",m̧:"m",O̧:"O",o̧:"o",Q̧:"Q",q̧:"q",U̧:"U",u̧:"u",X̧:"X",x̧:"x",Z̧:"Z",z̧:"z",й:"и",Й:"И",ё:"е",Ё:"Е"},Hye=Object.keys(zye).join("|"),Uut=new RegExp(Hye,"g"),zut=new RegExp(Hye,"");function Hut(e){return zye[e]}var qye=function(e){return e.replace(Uut,Hut)},qut=function(e){return!!e.match(zut)};YD.exports=qye;YD.exports.has=qut;YD.exports.remove=qye;var jut=YD.exports;const Wut=hd(jut);/** +}`;var Xr=QZ(function(){return Yr(Re,rr+"return "+on).apply(n,qe)});if(Xr.source=on,d7(Xr))throw Xr;return Xr}function Nxe(m){return es(m).toLowerCase()}function Pxe(m){return es(m).toUpperCase()}function Lxe(m,O,P){if(m=es(m),m&&(P||O===n))return Zp(m);if(!m||!(O=ao(O)))return m;var Z=Ca(m),ge=Ca(O),Re=Nh(Z,ge),qe=N1(Z,ge)+1;return Uf(Z,Re,qe).join("")}function Mxe(m,O,P){if(m=es(m),m&&(P||O===n))return m.slice(0,P1(m)+1);if(!m||!(O=ao(O)))return m;var Z=Ca(m),ge=N1(Z,Ca(O))+1;return Uf(Z,0,ge).join("")}function Fxe(m,O,P){if(m=es(m),m&&(P||O===n))return m.replace(at,"");if(!m||!(O=ao(O)))return m;var Z=Ca(m),ge=Nh(Z,Ca(O));return Uf(Z,ge).join("")}function $xe(m,O){var P=V,Z=ie;if(ya(O)){var ge="separator"in O?O.separator:ge;P="length"in O?jr(O.length):P,Z="omission"in O?ao(O.omission):Z}m=es(m);var Re=m.length;if(Du(m)){var qe=Ca(m);Re=qe.length}if(P>=Re)return m;var nt=P-Aa(Z);if(nt<1)return Z;var mt=qe?Uf(qe,0,nt).join(""):m.slice(0,nt);if(ge===n)return mt+Z;if(qe&&(nt+=mt.length-nt),f7(ge)){if(m.slice(nt).search(ge)){var nn,rn=mt;for(ge.global||(ge=Af(ge.source,es(Je.exec(ge))+"g")),ge.lastIndex=0;nn=ge.exec(rn);)var on=nn.index;mt=mt.slice(0,on===n?nt:on)}}else if(m.indexOf(ao(ge),nt)!=nt){var kn=mt.lastIndexOf(ge);kn>-1&&(mt=mt.slice(0,kn))}return mt+Z}function Bxe(m){return m=es(m),m&&Ir.test(m)?m.replace(oi,Bm):m}var Uxe=y0(function(m,O,P){return m+(P?" ":"")+O.toUpperCase()}),m7=iC("toUpperCase");function WZ(m,O,P){return m=es(m),O=P?n:O,O===n?Mm(m)?Ky(m):Vp(m):m.match(O)||[]}var QZ=Pr(function(m,O){try{return $n(m,n,O)}catch(P){return d7(P)?P:new gr(P)}}),zxe=Md(function(m,O){return Xn(O,function(P){P=Tc(P),lr(m,P,u7(m[P],m))}),m});function Hxe(m){var O=m==null?0:m.length,P=pr();return m=O?ln(m,function(Z){if(typeof Z[1]!="function")throw new $o(a);return[P(Z[0]),Z[1]]}):[],Pr(function(Z){for(var ge=-1;++geSe)return[];var P=Fe,Z=za(m,Fe);O=pr(O),m-=Fe;for(var ge=Sd(Z,O);++P0||O<0)?new Br(P):(m<0?P=P.takeRight(-m):m&&(P=P.drop(m)),O!==n&&(O=jr(O),P=O<0?P.dropRight(-O):P.take(O-m)),P)},Br.prototype.takeRightWhile=function(m){return this.reverse().takeWhile(m).reverse()},Br.prototype.toArray=function(){return this.take(Fe)},Il(Br.prototype,function(m,O){var P=/^(?:filter|find|map|reject)|While$/.test(O),Z=/^(?:head|last)$/.test(O),ge=ke[Z?"take"+(O=="last"?"Right":""):O],Re=Z||/^find/.test(O);ge&&(ke.prototype[O]=function(){var qe=this.__wrapped__,nt=Z?[1]:arguments,mt=qe instanceof Br,nn=nt[0],rn=mt||Mr(qe),on=function(li){var _i=ge.apply(ke,Yi([li],nt));return Z&&kn?_i[0]:_i};rn&&P&&typeof nn=="function"&&nn.length!=1&&(mt=rn=!1);var kn=this.__chain__,rr=!!this.__actions__.length,Or=Re&&!kn,Xr=mt&&!rr;if(!Re&&rn){qe=Xr?qe:new Br(this);var Er=m.apply(qe,nt);return Er.__actions__.push({func:cs,args:[on],thisArg:n}),new Rl(Er,kn)}return Or&&Xr?m.apply(this,nt):(Er=this.thru(on),Or?Z?Er.value()[0]:Er.value():Er)})}),Xn(["pop","push","shift","sort","splice","unshift"],function(m){var O=_e[m],P=/^(?:push|sort|unshift)$/.test(m)?"tap":"thru",Z=/^(?:pop|shift)$/.test(m);ke.prototype[m]=function(){var ge=arguments;if(Z&&!this.__chain__){var Re=this.value();return O.apply(Mr(Re)?Re:[],ge)}return this[P](function(qe){return O.apply(Mr(qe)?qe:[],ge)})}}),Il(Br.prototype,function(m,O){var P=ke[O];if(P){var Z=P.name+"";yi.call(Pf,Z)||(Pf[Z]=[]),Pf[Z].push({name:O,func:P})}}),Pf[Ym(n,T).name]=[{name:"wrapper",func:n}],Br.prototype.clone=h2,Br.prototype.reverse=rv,Br.prototype.value=F1,ke.prototype.at=w0,ke.prototype.chain=x0,ke.prototype.commit=J1,ke.prototype.next=o7,ke.prototype.plant=O2e,ke.prototype.reverse=E2e,ke.prototype.toJSON=ke.prototype.valueOf=ke.prototype.value=w2e,ke.prototype.first=ke.prototype.head,Oc&&(ke.prototype[Oc]=l7),ke},Ed=Jp();Ae?((Ae.exports=Ed)._=Ed,oe._=Ed):J._=Ed}).call(Vc)})(xI,xI.exports);var Iut=xI.exports;const Dut=mc(Iut),Nut=Sn.baseTheme({".cm-ySelection":{},".cm-yLineSelection":{padding:0,margin:"0px 2px 0px 4px"},".cm-ySelectionCaret":{position:"relative",borderLeft:"1px solid black",borderRight:"1px solid black",marginLeft:"-1px",marginRight:"-1px",boxSizing:"border-box",display:"inline"},".cm-ySelectionCaretDot":{borderRadius:"50%",position:"absolute",width:".4em",height:".4em",top:"-.2em",left:"-.2em",backgroundColor:"inherit",transition:"transform .3s ease-in-out",boxSizing:"border-box"},".cm-ySelectionCaret:hover > .cm-ySelectionCaretDot":{transformOrigin:"bottom center",transform:"scale(0)"},".cm-ySelectionInfo":{position:"absolute",top:"-1.05em",left:"-1px",fontSize:".75em",fontFamily:"serif",fontStyle:"normal",fontWeight:"normal",lineHeight:"normal",userSelect:"none",color:"black",paddingLeft:"2px",paddingRight:"2px",zIndex:101,transition:"opacity .3s ease-in-out",backgroundColor:"inherit",transitionDelay:"0s",whiteSpace:"nowrap"}}),Put=Mp.define();class Lut extends Sh{constructor(n,r){super();Qa(this,"color");Qa(this,"name");this.color=n,this.name=r}toDOM(){return cR("span",[Rb("class","cm-ySelectionCaret"),Rb("style",`background-color: ${this.color}; border-color: ${this.color}`)],[t3("⁠"),cR("div",[Rb("class","cm-ySelectionCaretDot")]),t3("⁠"),cR("div",[Rb("class","cm-ySelectionInfo")],[t3(this.name)]),t3("⁠")])}eq(n){return n.color===this.color}compare(n){return n.color===this.color}updateDOM(){return!1}get estimatedHeight(){return-1}ignoreEvent(){return!0}}class Mut{constructor(t){Qa(this,"conf");Qa(this,"decorations");Qa(this,"unsubscribe");this.conf=t.state.facet(Sj),this.unsubscribe=this.conf.doc.subscribe("others",n=>{["presence-changed","unwatched"].includes(n.type)&&t.dispatch({annotations:[Put.of([])]})}),this.decorations=Ci.of([])}destroy(){this.unsubscribe()}update(t){const n=[];this.conf.doc.update((r,i)=>{const a=t.view.hasFocus&&t.view.dom.ownerDocument.hasFocus()?t.state.selection.main:null;if(a&&r.content){const o=r.content.indexRangeToPosRange([a.anchor,a.head]),l=r.content.posRangeToIndexRange(o);Dut.isEqual(o,i.get("selection"))||i.set({selection:o,cursor:l})}else i.get("selection")&&i.set({selection:null,cursor:null})}),this.conf.doc.getPresences().forEach(r=>{if(r.clientID===this.conf.client.getID()||r.presence.selection==null)return;const i=this.conf.doc.getRoot().content.posRangeToIndexRange(r.presence.selection),s=r.presence.color,a=r.presence.name,o=Math.min(i[0],i[1]),l=Math.max(i[0],i[1]),c=t.view.state.doc.lineAt(o),d=t.view.state.doc.lineAt(l);if(c.number===d.number)n.push({from:o,to:l,value:Kn.mark({attributes:{style:`background-color: ${s}`},class:"cm-ySelection"})});else{n.push({from:o,to:c.from+c.length,value:Kn.mark({attributes:{style:`background-color: ${s}`},class:"cm-ySelection"})}),n.push({from:d.from,to:l,value:Kn.mark({attributes:{style:`background-color: ${s}`},class:"cm-ySelection"})});for(let f=c.number+1;f0?-1:1,block:!1,widget:new Lut(s,a)})})}),this.decorations=Kn.set(n,!0)}}const Fut=pa.fromClass(Mut,{decorations:e=>e.decorations});function $ut(e,t){const n=new Aut(e,t),r=[Sj.of(n),Rut];return t&&r.push(Nut,Fut),r}const zye=25;function But(e){const{width:t}=e,n=gc(),r=ei(Fy),[i,s]=Y.useState(null),a=!!i,o=d=>{s(d.currentTarget)},l=()=>{s(null)},c=d=>{n(_nt(d)),l()};return U.jsxs(Ko,{variant:"outlined",sx:{position:"absolute",bottom:0,left:0,width:t,borderTop:1,borderColor:"divider",height:zye,display:"flex",backgroundColor:"background.paper"},children:[U.jsx(yl,{variant:"text",onClick:o,children:r.codeKey}),U.jsx(Wz,{id:"codekey-menu",anchorEl:i,open:a,onClose:l,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"},children:Object.values(aj).map(d=>U.jsx(oc,{onClick:()=>c(d),children:d},d))})]})}const Uut={toggleButton:{width:"25px",height:"25px",border:"none",fontWeight:"bold"}};function s3({title:e,children:t,...n}){return U.jsx(Fg,{title:e,placement:"top",children:U.jsx(B3,{sx:Uut.toggleButton,...n,children:t})})}var YD={exports:{}},Hye={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",Ấ:"A",Ắ:"A",Ẳ:"A",Ẵ:"A",Ặ:"A",Æ:"AE",Ầ:"A",Ằ:"A",Ȃ:"A",Ả:"A",Ạ:"A",Ẩ:"A",Ẫ:"A",Ậ:"A",Ç:"C",Ḉ:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ế:"E",Ḗ:"E",Ề:"E",Ḕ:"E",Ḝ:"E",Ȇ:"E",Ẻ:"E",Ẽ:"E",Ẹ:"E",Ể:"E",Ễ:"E",Ệ:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ḯ:"I",Ȋ:"I",Ỉ:"I",Ị:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",Ố:"O",Ṍ:"O",Ṓ:"O",Ȏ:"O",Ỏ:"O",Ọ:"O",Ổ:"O",Ỗ:"O",Ộ:"O",Ờ:"O",Ở:"O",Ỡ:"O",Ớ:"O",Ợ:"O",Ù:"U",Ú:"U",Û:"U",Ü:"U",Ủ:"U",Ụ:"U",Ử:"U",Ữ:"U",Ự:"U",Ý:"Y",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",ấ:"a",ắ:"a",ẳ:"a",ẵ:"a",ặ:"a",æ:"ae",ầ:"a",ằ:"a",ȃ:"a",ả:"a",ạ:"a",ẩ:"a",ẫ:"a",ậ:"a",ç:"c",ḉ:"c",è:"e",é:"e",ê:"e",ë:"e",ế:"e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:"A",ȁ:"a",Ȅ:"E",ȅ:"e",Ȉ:"I",ȉ:"i",Ȍ:"O",ȍ:"o",Ȑ:"R",ȑ:"r",Ȕ:"U",ȕ:"u",B̌:"B",b̌:"b",Č̣:"C",č̣:"c",Ê̌:"E",ê̌:"e",F̌:"F",f̌:"f",Ǧ:"G",ǧ:"g",Ȟ:"H",ȟ:"h",J̌:"J",ǰ:"j",Ǩ:"K",ǩ:"k",M̌:"M",m̌:"m",P̌:"P",p̌:"p",Q̌:"Q",q̌:"q",Ř̩:"R",ř̩:"r",Ṧ:"S",ṧ:"s",V̌:"V",v̌:"v",W̌:"W",w̌:"w",X̌:"X",x̌:"x",Y̌:"Y",y̌:"y",A̧:"A",a̧:"a",B̧:"B",b̧:"b",Ḑ:"D",ḑ:"d",Ȩ:"E",ȩ:"e",Ɛ̧:"E",ɛ̧:"e",Ḩ:"H",ḩ:"h",I̧:"I",i̧:"i",Ɨ̧:"I",ɨ̧:"i",M̧:"M",m̧:"m",O̧:"O",o̧:"o",Q̧:"Q",q̧:"q",U̧:"U",u̧:"u",X̧:"X",x̧:"x",Z̧:"Z",z̧:"z",й:"и",Й:"И",ё:"е",Ё:"Е"},qye=Object.keys(Hye).join("|"),zut=new RegExp(qye,"g"),Hut=new RegExp(qye,"");function qut(e){return Hye[e]}var jye=function(e){return e.replace(zut,qut)},jut=function(e){return!!e.match(Hut)};YD.exports=jye;YD.exports.has=jut;YD.exports.remove=jye;var Wut=YD.exports;const Qut=mc(Wut);/** * @name match-sorter * @license MIT license. * @copyright (c) 2020 Kent C. Dodds * @author Kent C. Dodds (https://kentcdodds.com) - */const bu={CASE_SENSITIVE_EQUAL:7,EQUAL:6,STARTS_WITH:5,WORD_STARTS_WITH:4,CONTAINS:3,ACRONYM:2,MATCHES:1,NO_MATCH:0},Qut=(e,t)=>String(e.rankedValue).localeCompare(String(t.rankedValue));function jye(e,t,n){n===void 0&&(n={});const{keys:r,threshold:i=bu.MATCHES,baseSort:s=Qut,sorter:a=c=>c.sort((d,f)=>Zut(d,f,s))}=n,o=e.reduce(l,[]);return a(o).map(c=>{let{item:d}=c;return d});function l(c,d,f){const p=Vut(d,r,t,n),{rank:g,keyThreshold:b=i}=p;return g>=b&&c.push({...p,item:d,index:f}),c}}jye.rankings=bu;function Vut(e,t,n,r){if(!t){const s=e;return{rankedValue:s,rank:Wie(s,n,r),keyIndex:-1,keyThreshold:r.threshold}}return Jut(e,t).reduce((s,a,o)=>{let{rank:l,rankedValue:c,keyIndex:d,keyThreshold:f}=s,{itemValue:p,attributes:g}=a,b=Wie(p,n,r),w=c;const{minRanking:x,maxRanking:T,threshold:_}=g;return b=bu.MATCHES?b=x:b>T&&(b=T),b>l&&(l=b,d=o,f=_,w=p),{rankedValue:w,rank:l,keyIndex:d,keyThreshold:f}},{rankedValue:e,rank:bu.NO_MATCH,keyIndex:-1,keyThreshold:r.threshold})}function Wie(e,t,n){return e=Qie(e,n),t=Qie(t,n),t.length>e.length?bu.NO_MATCH:e===t?bu.CASE_SENSITIVE_EQUAL:(e=e.toLowerCase(),t=t.toLowerCase(),e===t?bu.EQUAL:e.startsWith(t)?bu.STARTS_WITH:e.includes(` ${t}`)?bu.WORD_STARTS_WITH:e.includes(t)?bu.CONTAINS:t.length===1?bu.NO_MATCH:Gut(e).includes(t)?bu.ACRONYM:Yut(e,t))}function Gut(e){let t="";return e.split(" ").forEach(r=>{r.split("-").forEach(s=>{t+=s.substr(0,1)})}),t}function Yut(e,t){let n=0,r=0;function i(l,c,d){for(let f=d,p=c.length;f-1))return bu.NO_MATCH}const o=r-a;return s(o)}function Zut(e,t,n){const{rank:s,keyIndex:a}=e,{rank:o,keyIndex:l}=t;return s===o?a===l?n(e,t):ao?-1:1}function Qie(e,t){let{keepDiacritics:n}=t;return e=`${e}`,n||(e=Wut(e)),e}function Xut(e,t){typeof t=="object"&&(t=t.key);let n;if(typeof t=="function")n=t(e);else if(e==null)n=null;else if(Object.hasOwnProperty.call(e,t))n=e[t];else{if(t.includes("."))return Kut(t,e);n=null}return n==null?[]:Array.isArray(n)?n:[String(n)]}function Kut(e,t){const n=e.split(".");let r=[t];for(let i=0,s=n.length;i{var l;return jye(((l=n.yorkieIntelligence)==null?void 0:l.config.features)??[],r,{keys:["title","feature"]})},[r,(o=n.yorkieIntelligence)==null?void 0:o.config.features]),a=l=>{i(l.target.value)};return U.jsxs(Rr,{children:[U.jsx(A_,{placeholder:"Choose from below",size:"small",sx:{width:1},value:r,onChange:a}),U.jsx(qO,{children:s.map(l=>U.jsxs(oc,{onClick:()=>t(l.feature,l.title),children:[U.jsx(J0,{children:U.jsx(kM,{children:U.jsx("img",{src:l.icon,alt:l.title})})}),U.jsx(ah,{children:l.title})]},l.feature))})]})}const nct=e=>{var p;const t=ei(V_),n=ei(Z_),[r,i]=Y.useState(null),[s,a]=Y.useState(null),[o,l]=Y.useState(!1),[c,d]=Y.useState(!1),f=Y.useCallback(async g=>{var _,C;l(!0),d(!1),a(null),i(null);const w=(C=(await fetch(`https://codepair-api.yorkie.dev/intelligence/${e}`,{method:"POST",headers:{Authorization:`Bearer ${t.accessToken}`,"Content-Type":"application/json"},body:JSON.stringify({documentId:(_=n.data)==null?void 0:_.id,content:g})})).body)==null?void 0:C.getReader();let x=!0,T="";for(;w;){const{done:I,value:M}=await w.read();if(l(!1),I)break;let $=new TextDecoder().decode(M);if(x){const B=$.split(` + */const bu={CASE_SENSITIVE_EQUAL:7,EQUAL:6,STARTS_WITH:5,WORD_STARTS_WITH:4,CONTAINS:3,ACRONYM:2,MATCHES:1,NO_MATCH:0},Vut=(e,t)=>String(e.rankedValue).localeCompare(String(t.rankedValue));function Wye(e,t,n){n===void 0&&(n={});const{keys:r,threshold:i=bu.MATCHES,baseSort:s=Vut,sorter:a=c=>c.sort((d,f)=>Xut(d,f,s))}=n,o=e.reduce(l,[]);return a(o).map(c=>{let{item:d}=c;return d});function l(c,d,f){const p=Gut(d,r,t,n),{rank:g,keyThreshold:b=i}=p;return g>=b&&c.push({...p,item:d,index:f}),c}}Wye.rankings=bu;function Gut(e,t,n,r){if(!t){const s=e;return{rankedValue:s,rank:Wie(s,n,r),keyIndex:-1,keyThreshold:r.threshold}}return ect(e,t).reduce((s,a,o)=>{let{rank:l,rankedValue:c,keyIndex:d,keyThreshold:f}=s,{itemValue:p,attributes:g}=a,b=Wie(p,n,r),w=c;const{minRanking:x,maxRanking:T,threshold:_}=g;return b=bu.MATCHES?b=x:b>T&&(b=T),b>l&&(l=b,d=o,f=_,w=p),{rankedValue:w,rank:l,keyIndex:d,keyThreshold:f}},{rankedValue:e,rank:bu.NO_MATCH,keyIndex:-1,keyThreshold:r.threshold})}function Wie(e,t,n){return e=Qie(e,n),t=Qie(t,n),t.length>e.length?bu.NO_MATCH:e===t?bu.CASE_SENSITIVE_EQUAL:(e=e.toLowerCase(),t=t.toLowerCase(),e===t?bu.EQUAL:e.startsWith(t)?bu.STARTS_WITH:e.includes(` ${t}`)?bu.WORD_STARTS_WITH:e.includes(t)?bu.CONTAINS:t.length===1?bu.NO_MATCH:Yut(e).includes(t)?bu.ACRONYM:Zut(e,t))}function Yut(e){let t="";return e.split(" ").forEach(r=>{r.split("-").forEach(s=>{t+=s.substr(0,1)})}),t}function Zut(e,t){let n=0,r=0;function i(l,c,d){for(let f=d,p=c.length;f-1))return bu.NO_MATCH}const o=r-a;return s(o)}function Xut(e,t,n){const{rank:s,keyIndex:a}=e,{rank:o,keyIndex:l}=t;return s===o?a===l?n(e,t):ao?-1:1}function Qie(e,t){let{keepDiacritics:n}=t;return e=`${e}`,n||(e=Qut(e)),e}function Kut(e,t){typeof t=="object"&&(t=t.key);let n;if(typeof t=="function")n=t(e);else if(e==null)n=null;else if(Object.hasOwnProperty.call(e,t))n=e[t];else{if(t.includes("."))return Jut(t,e);n=null}return n==null?[]:Array.isArray(n)?n:[String(n)]}function Jut(e,t){const n=e.split(".");let r=[t];for(let i=0,s=n.length;i{var l;return Wye(((l=n.yorkieIntelligence)==null?void 0:l.config.features)??[],r,{keys:["title","feature"]})},[r,(o=n.yorkieIntelligence)==null?void 0:o.config.features]),a=l=>{i(l.target.value)};return U.jsxs(Rr,{children:[U.jsx(A_,{placeholder:"Choose from below",size:"small",sx:{width:1},value:r,onChange:a}),U.jsx(qO,{children:s.map(l=>U.jsxs(oc,{onClick:()=>t(l.feature,l.title),children:[U.jsx(J0,{children:U.jsx(kM,{children:U.jsx("img",{src:l.icon,alt:l.title})})}),U.jsx(ah,{children:l.title})]},l.feature))})]})}const rct=e=>{var p;const t=ei(V_),n=ei(Z_),[r,i]=Y.useState(null),[s,a]=Y.useState(null),[o,l]=Y.useState(!1),[c,d]=Y.useState(!1),f=Y.useCallback(async g=>{var _,C;l(!0),d(!1),a(null),i(null);const w=(C=(await fetch(`https://codepair-api.yorkie.dev/intelligence/${e}`,{method:"POST",headers:{Authorization:`Bearer ${t.accessToken}`,"Content-Type":"application/json"},body:JSON.stringify({documentId:(_=n.data)==null?void 0:_.id,content:g})})).body)==null?void 0:C.getReader();let x=!0,T="";for(;w;){const{done:I,value:M}=await w.read();if(l(!1),I)break;let $=new TextDecoder().decode(M);if(x){const B=$.split(` `);a(B[0]),x=!1,$=B.slice(1).join(` -`)}T+=$,i(T)}d(!0)},[t.accessToken,(p=n.data)==null?void 0:p.id,e]);return{data:r,memoryKey:s,isLoading:o,isComplete:c,mutateAsync:f}},rct=e=>{var d;const t=ei(V_),n=ei(Z_),[r,i]=Y.useState(null),[s,a]=Y.useState(!1),[o,l]=Y.useState(!1),c=Y.useCallback(async f=>{var w,x;if(!e)return;a(!0),l(!1),i(null);const g=(x=(await fetch("https://codepair-api.yorkie.dev/intelligence",{method:"POST",headers:{Authorization:`Bearer ${t.accessToken}`,"Content-Type":"application/json"},body:JSON.stringify({documentId:(w=n.data)==null?void 0:w.id,memoryKey:e,content:f})})).body)==null?void 0:x.getReader();let b="";for(;g;){const{done:T,value:_}=await g.read();if(a(!1),T)break;const C=new TextDecoder().decode(_);b+=C,i(b)}l(!0)},[t.accessToken,(d=n.data)==null?void 0:d.id,e]);return{data:r,memoryKey:e,isLoading:s,isComplete:o,mutateAsync:c}},vA=function(e){if(e==null)return oct;if(typeof e=="function")return ZD(e);if(typeof e=="object")return Array.isArray(e)?ict(e):sct(e);if(typeof e=="string")return act(e);throw new Error("Expected function, string, or object as test")};function ict(e){const t=[];let n=-1;for(;++n":""))+")"})}return p;function p(){let g=Wye,b,w,x;if((!t||s(l,c,d[d.length-1]||void 0))&&(g=cct(n(l,d)),g[0]===TI))return g;if("children"in l&&l.children){const T=l;if(T.children&&g[0]!==DT)for(w=(r?T.children.length:-1)+a,x=d.concat(T);w>-1&&w0&&d.length===0)return}const f={};let p;for(p in o)fct.call(o,p)&&(f[p]=p==="children"?d:o[p]);return f}}function pct(e){return"children"in e&&e.children!==void 0}var NB={exports:{}};(function(e,t){function n(r){let i=[],s;for(let a of r.split(",").map(o=>o.trim()))if(/^-?\d+$/.test(a))i.push(parseInt(a,10));else if(s=a.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[o,l,c,d]=s;if(l&&d){l=parseInt(l),d=parseInt(d);const f=l]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}wh.displayName="c";wh.aliases=[];function wh(e){e.register(mi),e.languages.c=e.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),e.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),e.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},e.languages.c.string],char:e.languages.c.char,comment:e.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:e.languages.c}}}}),e.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete e.languages.c.boolean}By.displayName="cpp";By.aliases=[];function By(e){e.register(wh),function(t){var n=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,r=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return n.source});t.languages.cpp=t.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return n.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:n,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),t.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return r})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),t.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t.languages.cpp}}}}),t.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:t.languages.extend("cpp",{})}}),t.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},t.languages.cpp["base-clause"])}(e)}XD.displayName="arduino";XD.aliases=["ino"];function XD(e){e.register(By),e.languages.arduino=e.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),e.languages.ino=e.languages.arduino}SA.displayName="bash";SA.aliases=["sh","shell"];function SA(e){(function(t){var n="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:r,environment:{pattern:RegExp("\\$"+n),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+n),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};t.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+n),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+n),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=t.languages.bash;for(var s=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=i.variable[1].inside,o=0;o>/g,function(je,ue){return"(?:"+Fe[+ue]+")"})}function r(re,Fe,je){return RegExp(n(re,Fe),"")}function i(re,Fe){for(var je=0;je>/g,function(){return"(?:"+re+")"});return re.replace(/<>/g,"[^\\s\\S]")}var s={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function a(re){return"\\b(?:"+re.trim().replace(/ /g,"|")+")\\b"}var o=a(s.typeDeclaration),l=RegExp(a(s.type+" "+s.typeDeclaration+" "+s.contextual+" "+s.other)),c=a(s.typeDeclaration+" "+s.contextual+" "+s.other),d=a(s.type+" "+s.typeDeclaration+" "+s.other),f=i(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),p=i(/\((?:[^()]|<>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,b=n(/<<0>>(?:\s*<<1>>)?/.source,[g,f]),w=n(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[c,b]),x=/\[\s*(?:,\s*)*\]/.source,T=n(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[w,x]),_=n(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[f,p,x]),C=n(/\(<<0>>+(?:,<<0>>+)+\)/.source,[_]),I=n(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[C,w,x]),M={keyword:l,punctuation:/[<>()?,.:[\]]/},$=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,B=/"(?:\\.|[^\\"\r\n])*"/.source,j=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;t.languages.csharp=t.languages.extend("clike",{string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[j]),lookbehind:!0,greedy:!0},{pattern:r(/(^|[^@$\\])<<0>>/.source,[B]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:r(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[w]),lookbehind:!0,inside:M},{pattern:r(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,I]),lookbehind:!0,inside:M},{pattern:r(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:r(/(\b<<0>>\s+)<<1>>/.source,[o,b]),lookbehind:!0,inside:M},{pattern:r(/(\bcatch\s*\(\s*)<<0>>/.source,[w]),lookbehind:!0,inside:M},{pattern:r(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:r(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[T]),lookbehind:!0,inside:M},{pattern:r(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[I,d,g]),inside:M}],keyword:l,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),t.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),t.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:r(/([(,]\s*)<<0>>(?=\s*:)/.source,[g]),lookbehind:!0,alias:"punctuation"}}),t.languages.insertBefore("csharp","class-name",{namespace:{pattern:r(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:r(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[p]),lookbehind:!0,alias:"class-name",inside:M},"return-type":{pattern:r(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[I,w]),inside:M,alias:"class-name"},"constructor-invocation":{pattern:r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[I]),lookbehind:!0,inside:M,alias:"class-name"},"generic-method":{pattern:r(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,f]),inside:{function:r(/^<<0>>/.source,[g]),generic:{pattern:RegExp(f),alias:"class-name",inside:M}}},"type-list":{pattern:r(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[o,b,g,I,l.source,p,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:r(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[b,p]),lookbehind:!0,greedy:!0,inside:t.languages.csharp},keyword:l,"class-name":{pattern:RegExp(I),greedy:!0,inside:M},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var F=B+"|"+$,V=n(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[F]),ie=i(n(/[^"'/()]|<<0>>|\(<>*\)/.source,[V]),2),se=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,me=n(/<<0>>(?:\s*\(<<1>>*\))?/.source,[w,ie]);t.languages.insertBefore("csharp","class-name",{attribute:{pattern:r(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[se,me]),lookbehind:!0,greedy:!0,inside:{target:{pattern:r(/^<<0>>(?=\s*:)/.source,[se]),alias:"keyword"},"attribute-arguments":{pattern:r(/\(<<0>>*\)/.source,[ie]),inside:t.languages.csharp},"class-name":{pattern:RegExp(w),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var fe=/:[^}\r\n]+/.source,le=i(n(/[^"'/()]|<<0>>|\(<>*\)/.source,[V]),2),ye=n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[le,fe]),ae=i(n(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[F]),2),Se=n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[ae,fe]);function he(re,Fe){return{interpolation:{pattern:r(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[re]),lookbehind:!0,inside:{"format-string":{pattern:r(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[Fe,fe]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:t.languages.csharp}}},string:/[\s\S]+/}}t.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:r(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[ye]),lookbehind:!0,greedy:!0,inside:he(ye,le)},{pattern:r(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[Se]),lookbehind:!0,greedy:!0,inside:he(Se,ae)}],char:{pattern:RegExp($),greedy:!0}}),t.languages.dotnet=t.languages.cs=t.languages.csharp}(e)}el.displayName="markup";el.aliases=["atom","html","mathml","rss","ssml","svg","xml"];function el(e){e.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(t){t.type==="entity"&&(t.attributes.title=t.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(n,r){var i={};i["language-"+r]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[r]},i.cdata=/^$/i;var s={"included-cdata":{pattern://i,inside:i}};s["language-"+r]={pattern:/[\s\S]+/,inside:e.languages[r]};var a={};a[n]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:s},e.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}A1.displayName="css";A1.aliases=[];function A1(e){(function(t){var n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+n.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var r=t.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))})(e)}KD.displayName="diff";KD.aliases=[];function KD(e){(function(t){t.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var n={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(n).forEach(function(r){var i=n[r],s=[];/^\w+$/.test(r)||s.push(/\w+/.exec(r)[0]),r==="diff"&&s.push("bold"),t.languages.diff[r]={pattern:RegExp("^(?:["+i+`].*(?:\r +`)}T+=$,i(T)}d(!0)},[t.accessToken,(p=n.data)==null?void 0:p.id,e]);return{data:r,memoryKey:s,isLoading:o,isComplete:c,mutateAsync:f}},ict=e=>{var d;const t=ei(V_),n=ei(Z_),[r,i]=Y.useState(null),[s,a]=Y.useState(!1),[o,l]=Y.useState(!1),c=Y.useCallback(async f=>{var w,x;if(!e)return;a(!0),l(!1),i(null);const g=(x=(await fetch("https://codepair-api.yorkie.dev/intelligence",{method:"POST",headers:{Authorization:`Bearer ${t.accessToken}`,"Content-Type":"application/json"},body:JSON.stringify({documentId:(w=n.data)==null?void 0:w.id,memoryKey:e,content:f})})).body)==null?void 0:x.getReader();let b="";for(;g;){const{done:T,value:_}=await g.read();if(a(!1),T)break;const C=new TextDecoder().decode(_);b+=C,i(b)}l(!0)},[t.accessToken,(d=n.data)==null?void 0:d.id,e]);return{data:r,memoryKey:e,isLoading:s,isComplete:o,mutateAsync:c}},vA=function(e){if(e==null)return lct;if(typeof e=="function")return ZD(e);if(typeof e=="object")return Array.isArray(e)?sct(e):act(e);if(typeof e=="string")return oct(e);throw new Error("Expected function, string, or object as test")};function sct(e){const t=[];let n=-1;for(;++n":""))+")"})}return p;function p(){let g=Qye,b,w,x;if((!t||s(l,c,d[d.length-1]||void 0))&&(g=dct(n(l,d)),g[0]===TI))return g;if("children"in l&&l.children){const T=l;if(T.children&&g[0]!==DT)for(w=(r?T.children.length:-1)+a,x=d.concat(T);w>-1&&w0&&d.length===0)return}const f={};let p;for(p in o)hct.call(o,p)&&(f[p]=p==="children"?d:o[p]);return f}}function mct(e){return"children"in e&&e.children!==void 0}var NB={exports:{}};(function(e,t){function n(r){let i=[],s;for(let a of r.split(",").map(o=>o.trim()))if(/^-?\d+$/.test(a))i.push(parseInt(a,10));else if(s=a.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[o,l,c,d]=s;if(l&&d){l=parseInt(l),d=parseInt(d);const f=l]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}wh.displayName="c";wh.aliases=[];function wh(e){e.register(mi),e.languages.c=e.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),e.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),e.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},e.languages.c.string],char:e.languages.c.char,comment:e.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:e.languages.c}}}}),e.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete e.languages.c.boolean}By.displayName="cpp";By.aliases=[];function By(e){e.register(wh),function(t){var n=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,r=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return n.source});t.languages.cpp=t.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return n.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:n,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),t.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return r})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),t.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t.languages.cpp}}}}),t.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:t.languages.extend("cpp",{})}}),t.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},t.languages.cpp["base-clause"])}(e)}XD.displayName="arduino";XD.aliases=["ino"];function XD(e){e.register(By),e.languages.arduino=e.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),e.languages.ino=e.languages.arduino}SA.displayName="bash";SA.aliases=["sh","shell"];function SA(e){(function(t){var n="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:r,environment:{pattern:RegExp("\\$"+n),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+n),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};t.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+n),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+n),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=t.languages.bash;for(var s=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=i.variable[1].inside,o=0;o>/g,function(je,ue){return"(?:"+Fe[+ue]+")"})}function r(re,Fe,je){return RegExp(n(re,Fe),"")}function i(re,Fe){for(var je=0;je>/g,function(){return"(?:"+re+")"});return re.replace(/<>/g,"[^\\s\\S]")}var s={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function a(re){return"\\b(?:"+re.trim().replace(/ /g,"|")+")\\b"}var o=a(s.typeDeclaration),l=RegExp(a(s.type+" "+s.typeDeclaration+" "+s.contextual+" "+s.other)),c=a(s.typeDeclaration+" "+s.contextual+" "+s.other),d=a(s.type+" "+s.typeDeclaration+" "+s.other),f=i(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),p=i(/\((?:[^()]|<>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,b=n(/<<0>>(?:\s*<<1>>)?/.source,[g,f]),w=n(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[c,b]),x=/\[\s*(?:,\s*)*\]/.source,T=n(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[w,x]),_=n(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[f,p,x]),C=n(/\(<<0>>+(?:,<<0>>+)+\)/.source,[_]),I=n(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[C,w,x]),M={keyword:l,punctuation:/[<>()?,.:[\]]/},$=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,B=/"(?:\\.|[^\\"\r\n])*"/.source,j=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;t.languages.csharp=t.languages.extend("clike",{string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[j]),lookbehind:!0,greedy:!0},{pattern:r(/(^|[^@$\\])<<0>>/.source,[B]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:r(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[w]),lookbehind:!0,inside:M},{pattern:r(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,I]),lookbehind:!0,inside:M},{pattern:r(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:r(/(\b<<0>>\s+)<<1>>/.source,[o,b]),lookbehind:!0,inside:M},{pattern:r(/(\bcatch\s*\(\s*)<<0>>/.source,[w]),lookbehind:!0,inside:M},{pattern:r(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:r(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[T]),lookbehind:!0,inside:M},{pattern:r(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[I,d,g]),inside:M}],keyword:l,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),t.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),t.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:r(/([(,]\s*)<<0>>(?=\s*:)/.source,[g]),lookbehind:!0,alias:"punctuation"}}),t.languages.insertBefore("csharp","class-name",{namespace:{pattern:r(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:r(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[p]),lookbehind:!0,alias:"class-name",inside:M},"return-type":{pattern:r(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[I,w]),inside:M,alias:"class-name"},"constructor-invocation":{pattern:r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[I]),lookbehind:!0,inside:M,alias:"class-name"},"generic-method":{pattern:r(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,f]),inside:{function:r(/^<<0>>/.source,[g]),generic:{pattern:RegExp(f),alias:"class-name",inside:M}}},"type-list":{pattern:r(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[o,b,g,I,l.source,p,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:r(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[b,p]),lookbehind:!0,greedy:!0,inside:t.languages.csharp},keyword:l,"class-name":{pattern:RegExp(I),greedy:!0,inside:M},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var F=B+"|"+$,V=n(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[F]),ie=i(n(/[^"'/()]|<<0>>|\(<>*\)/.source,[V]),2),se=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,me=n(/<<0>>(?:\s*\(<<1>>*\))?/.source,[w,ie]);t.languages.insertBefore("csharp","class-name",{attribute:{pattern:r(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[se,me]),lookbehind:!0,greedy:!0,inside:{target:{pattern:r(/^<<0>>(?=\s*:)/.source,[se]),alias:"keyword"},"attribute-arguments":{pattern:r(/\(<<0>>*\)/.source,[ie]),inside:t.languages.csharp},"class-name":{pattern:RegExp(w),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var fe=/:[^}\r\n]+/.source,le=i(n(/[^"'/()]|<<0>>|\(<>*\)/.source,[V]),2),ye=n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[le,fe]),ae=i(n(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[F]),2),Se=n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[ae,fe]);function he(re,Fe){return{interpolation:{pattern:r(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[re]),lookbehind:!0,inside:{"format-string":{pattern:r(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[Fe,fe]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:t.languages.csharp}}},string:/[\s\S]+/}}t.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:r(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[ye]),lookbehind:!0,greedy:!0,inside:he(ye,le)},{pattern:r(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[Se]),lookbehind:!0,greedy:!0,inside:he(Se,ae)}],char:{pattern:RegExp($),greedy:!0}}),t.languages.dotnet=t.languages.cs=t.languages.csharp}(e)}el.displayName="markup";el.aliases=["atom","html","mathml","rss","ssml","svg","xml"];function el(e){e.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(t){t.type==="entity"&&(t.attributes.title=t.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(n,r){var i={};i["language-"+r]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[r]},i.cdata=/^$/i;var s={"included-cdata":{pattern://i,inside:i}};s["language-"+r]={pattern:/[\s\S]+/,inside:e.languages[r]};var a={};a[n]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:s},e.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}A1.displayName="css";A1.aliases=[];function A1(e){(function(t){var n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+n.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var r=t.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))})(e)}KD.displayName="diff";KD.aliases=[];function KD(e){(function(t){t.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var n={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(n).forEach(function(r){var i=n[r],s=[];/^\w+$/.test(r)||s.push(/\w+/.exec(r)[0]),r==="diff"&&s.push("bold"),t.languages.diff[r]={pattern:RegExp("^(?:["+i+`].*(?:\r ?| -|(?![\\s\\S])))+`,"m"),alias:s,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(r)[0]}}}}),Object.defineProperty(t.languages.diff,"PREFIXES",{value:n})})(e)}JD.displayName="go";JD.aliases=[];function JD(e){e.register(mi),e.languages.go=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete e.languages.go["class-name"]}eN.displayName="ini";eN.aliases=[];function eN(e){e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}zy.displayName="java";zy.aliases=[];function zy(e){e.register(mi),function(t){var n=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,i={pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};t.languages.java=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[i,{pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:i.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+r+/[A-Z]\w*\b/.source),lookbehind:!0,inside:i.inside}],keyword:n,function:[t.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),t.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),t.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":i,keyword:n,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+r+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:i.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+r+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:i.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return n.source})),lookbehind:!0,inside:{punctuation:/\./}}})}(e)}tN.displayName="regex";tN.aliases=[];function tN(e){(function(t){var n={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},r=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,i={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},s={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},a="(?:[^\\\\-]|"+r.source+")",o=RegExp(a+"-"+a),l={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};t.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:o,inside:{escape:r,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":n,"char-set":s,escape:r}},"special-escape":n,"char-set":i,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":l}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:r,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]||&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}JE.displayName="json";JE.aliases=["webmanifest"];function JE(e){e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json}nN.displayName="kotlin";nN.aliases=["kt","kts"];function nN(e){e.register(mi),function(t){t.languages.kotlin=t.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete t.languages.kotlin["class-name"];var n={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:t.languages.kotlin}};t.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:n},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:n},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete t.languages.kotlin.string,t.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),t.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),t.languages.kt=t.languages.kotlin,t.languages.kts=t.languages.kotlin}(e)}rN.displayName="less";rN.aliases=[];function rN(e){e.register(A1),e.languages.less=e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}OA.displayName="lua";OA.aliases=[];function OA(e){e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}iN.displayName="makefile";iN.aliases=[];function iN(e){e.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}EA.displayName="yaml";EA.aliases=["yml"];function EA(e){(function(t){var n=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+r.source+"(?:[ ]+"+n.source+")?|"+n.source+"(?:[ ]+"+r.source+")?)",s=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(l,c){c=(c||"").replace(/m/g,"")+"m";var d=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return l});return RegExp(d,c)}t.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return"(?:"+s+"|"+a+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(a),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:n,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},t.languages.yml=t.languages.yaml})(e)}sN.displayName="markdown";sN.aliases=["md"];function sN(e){e.register(el),function(t){var n=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function r(o){return o=o.replace(//g,function(){return n}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+o+")")}var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,s=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;t.languages.markdown=t.languages.extend("markup",{}),t.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:t.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+s+a+"(?:"+s+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+s+a+")(?:"+s+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:t.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+s+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+s+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:t.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:r(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:r(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:r(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:r(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(o){["url","bold","italic","strike","code-snippet"].forEach(function(l){o!==l&&(t.languages.markdown[o].inside.content.inside[l]=t.languages.markdown[l])})}),t.hooks.add("after-tokenize",function(o){if(o.language!=="markdown"&&o.language!=="md")return;function l(c){if(!(!c||typeof c=="string"))for(var d=0,f=c.length;d]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete e.languages.objectivec["class-name"],e.languages.objc=e.languages.objectivec}oN.displayName="perl";oN.aliases=[];function oN(e){(function(t){var n=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;t.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,n].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,n].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,n+/\s*/.source+n].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(e)}xl.displayName="markup-templating";xl.aliases=[];function xl(e){e.register(el),function(t){function n(r,i){return"___"+r.toUpperCase()+i+"___"}Object.defineProperties(t.languages["markup-templating"]={},{buildPlaceholders:{value:function(r,i,s,a){if(r.language===i){var o=r.tokenStack=[];r.code=r.code.replace(s,function(l){if(typeof a=="function"&&!a(l))return l;for(var c=o.length,d;r.code.indexOf(d=n(i,c))!==-1;)++c;return o[c]=l,d}),r.grammar=t.languages.markup}}},tokenizePlaceholders:{value:function(r,i){if(r.language!==i||!r.tokenStack)return;r.grammar=t.languages[i];var s=0,a=Object.keys(r.tokenStack);function o(l){for(var c=0;c=a.length);c++){var d=l[c];if(typeof d=="string"||d.content&&typeof d.content=="string"){var f=a[s],p=r.tokenStack[f],g=typeof d=="string"?d:d.content,b=n(i,f),w=g.indexOf(b);if(w>-1){++s;var x=g.substring(0,w),T=new t.Token(i,t.tokenize(p,r.grammar),"language-"+i,p),_=g.substring(w+b.length),C=[];x&&C.push.apply(C,o([x])),C.push(T),_&&C.push.apply(C,o([_])),typeof d=="string"?l.splice.apply(l,[c,1].concat(C)):d.content=C}}else d.content&&o(d.content)}return l}o(r.tokens)}}})}(e)}Hy.displayName="php";Hy.aliases=[];function Hy(e){e.register(xl),function(t){var n=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,r=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],i=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,s=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,a=/[{}\[\](),:;]/;t.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:n,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:i,operator:s,punctuation:a};var o={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:t.languages.php},l=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:o}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:o}}];t.languages.insertBefore("php","variable",{string:l,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:n,string:l,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,number:i,operator:s,punctuation:a}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),t.hooks.add("before-tokenize",function(c){if(/<\?/.test(c.code)){var d=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;t.languages["markup-templating"].buildPlaceholders(c,"php",d)}}),t.hooks.add("after-tokenize",function(c){t.languages["markup-templating"].tokenizePlaceholders(c,"php")})}(e)}wA.displayName="python";wA.aliases=["py"];function wA(e){e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}lN.displayName="r";lN.aliases=[];function lN(e){e.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}qy.displayName="ruby";qy.aliases=["rb"];function qy(e){e.register(mi),function(t){t.languages.ruby=t.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),t.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var n={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:t.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete t.languages.ruby.function;var r="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",i=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;t.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+r+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:n,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:n,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+i),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+i+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),t.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+r),greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:n,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+r),greedy:!0,inside:{interpolation:n,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:n,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete t.languages.ruby.string,t.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),t.languages.rb=t.languages.ruby}(e)}uN.displayName="rust";uN.aliases=[];function uN(e){(function(t){for(var n=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,r=0;r<2;r++)n=n.replace(//g,function(){return n});n=n.replace(//g,function(){return/[^\s\S]/.source}),t.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+n),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},t.languages.rust["closure-params"].inside.rest=t.languages.rust,t.languages.rust.attribute.inside.string=t.languages.rust.string})(e)}cN.displayName="sass";cN.aliases=[];function cN(e){e.register(A1),function(t){t.languages.sass=t.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),t.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete t.languages.sass.atrule;var n=/\$[-\w]+|#\{\$[-\w]+\}/,r=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];t.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:n,operator:r}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:n,operator:r,important:t.languages.sass.important}}}),delete t.languages.sass.property,delete t.languages.sass.important,t.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(e)}dN.displayName="scss";dN.aliases=[];function dN(e){e.register(A1),e.languages.scss=e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),e.languages.scss.atrule.inside.rest=e.languages.scss}e2.displayName="sql";e2.aliases=[];function e2(e){e.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}fN.displayName="swift";fN.aliases=[];function fN(e){e.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},e.languages.swift["string-literal"].forEach(function(t){t.inside.interpolation.inside=e.languages.swift})}t2.displayName="typescript";t2.aliases=["ts"];function t2(e){e.register(wl),function(t){t.languages.typescript=t.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),t.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete t.languages.typescript.parameter,delete t.languages.typescript["literal-property"];var n=t.languages.extend("typescript",{});delete n["class-name"],t.languages.typescript["class-name"].inside=n,t.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n}}}}),t.languages.ts=t.languages.typescript}(e)}xA.displayName="basic";xA.aliases=[];function xA(e){e.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}TA.displayName="vbnet";TA.aliases=[];function TA(e){e.register(xA),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}class kA{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}kA.prototype.property={};kA.prototype.normal={};kA.prototype.space=null;function Gye(e,t){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&Oct.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(Yie,xct);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!Yie.test(s)){let a=s.replace(Ect,wct);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}i=Oj}return new i(r,t)}function wct(e){return"-"+e.toLowerCase()}function xct(e){return e.charAt(1).toUpperCase()}const Tct={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},C1=Gye([Xye,Zye,eve,tve,vct],"html"),xh=Gye([Xye,Zye,eve,tve,Sct],"svg"),Zie=/[#.]/g;function kct(e,t){const n=e||"",r={};let i=0,s,a;for(;i=48&&t<=57}function Nct(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function Pct(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function Jie(e){return Pct(e)||ive(e)}const ese=document.createElement("i");function e_(e){const t="&"+e+";";ese.innerHTML=t;const n=ese.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}const Xv=String.fromCharCode,Lct=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function Mct(e,t={}){const n=typeof t.additional=="string"?t.additional.charCodeAt(0):t.additional,r=[];let i=0,s=-1,a="",o,l;t.position&&("start"in t.position||"indent"in t.position?(l=t.position.indent,o=t.position.start):o=t.position);let c=(o?o.line:0)||1,d=(o?o.column:0)||1,f=g(),p;for(i--;++i<=e.length;)if(p===10&&(d=(l?l[s]:0)||1),p=e.charCodeAt(i),p===38){const x=e.charCodeAt(i+1);if(x===9||x===10||x===12||x===32||x===38||x===60||Number.isNaN(x)||n&&x===n){a+=Xv(p),d++;continue}const T=i+1;let _=T,C=T,I;if(x===35){C=++_;const se=e.charCodeAt(C);se===88||se===120?(I="hexadecimal",C=++_):I="decimal"}else I="named";let M="",$="",B="";const j=I==="named"?Jie:I==="decimal"?ive:Nct;for(C--;++C<=e.length;){const se=e.charCodeAt(C);if(!j(se))break;B+=Xv(se),I==="named"&&rve.includes(B)&&(M=B,$=e_(B))}let F=e.charCodeAt(C)===59;if(F){C++;const se=I==="named"?e_(B):!1;se&&(M=B,$=se)}let V=1+C-T,ie="";if(!(!F&&t.nonTerminated===!1))if(!B)I!=="named"&&b(4,V);else if(I==="named"){if(F&&!$)b(5,1);else if(M!==B&&(C=_+M.length,V=1+C-_,F=!1),!F){const se=M?1:3;if(t.attribute){const me=e.charCodeAt(C);me===61?(b(se,V),$=""):Jie(me)?$="":b(se,V)}else b(se,V)}ie=$}else{F||b(2,V);let se=Number.parseInt(B,I==="hexadecimal"?16:10);if(Fct(se))b(7,V),ie=Xv(65533);else if(se in Kie)b(6,V),ie=Kie[se];else{let me="";$ct(se)&&b(6,V),se>65535&&(se-=65536,me+=Xv(se>>>10|55296),se=56320|se&1023),ie=me+Xv(se)}}if(ie){w(),f=g(),i=C-1,d+=C-T+1,r.push(ie);const se=g();se.offset++,t.reference&&t.reference.call(t.referenceContext,ie,{start:f,end:se},e.slice(T-1,C)),f=se}else B=e.slice(T-1,C),a+=B,d+=B.length,i=C-1}else p===10&&(c++,s++,d=0),Number.isNaN(p)?w():(a+=Xv(p),d++);return r.join("");function g(){return{line:c,column:d,offset:i+((o?o.offset:0)||0)}}function b(x,T){let _;t.warning&&(_=g(),_.column+=T,_.offset+=T,t.warning.call(t.warningContext,Lct[x],_,x))}function w(){a&&(r.push(a),t.text&&t.text.call(t.textContext,a,{start:f,end:g()}),a="")}}function Fct(e){return e>=55296&&e<=57343||e>1114111}function $ct(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}var Bct=0,a3={},jo={util:{type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++Bct}),e.__id},clone:function e(t,n){n=n||{};var r,i;switch(jo.util.type(t)){case"Object":if(i=jo.util.objId(t),n[i])return n[i];r={},n[i]=r;for(var s in t)t.hasOwnProperty(s)&&(r[s]=e(t[s],n));return r;case"Array":return i=jo.util.objId(t),n[i]?n[i]:(r=[],n[i]=r,t.forEach(function(a,o){r[o]=e(a,n)}),r);default:return t}}},languages:{plain:a3,plaintext:a3,text:a3,txt:a3,extend:function(e,t){var n=jo.util.clone(jo.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){r=r||jo.languages;var i=r[e],s={};for(var a in i)if(i.hasOwnProperty(a)){if(a==t)for(var o in n)n.hasOwnProperty(o)&&(s[o]=n[o]);n.hasOwnProperty(a)||(s[a]=i[a])}var l=r[e];return r[e]=s,jo.languages.DFS(jo.languages,function(c,d){d===l&&c!=e&&(this[c]=s)}),s},DFS:function e(t,n,r,i){i=i||{};var s=jo.util.objId;for(var a in t)if(t.hasOwnProperty(a)){n.call(t,a,t[a],r||a);var o=t[a],l=jo.util.type(o);l==="Object"&&!i[s(o)]?(i[s(o)]=!0,e(o,n,null,i)):l==="Array"&&!i[s(o)]&&(i[s(o)]=!0,e(o,n,a,i))}}},plugins:{},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(jo.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=jo.tokenize(r.code,r.grammar),jo.hooks.run("after-tokenize",r),NT.stringify(jo.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var i=new Uct;return dR(i,i.head,e),sve(e,i,t,i.head,0),Hct(i)},hooks:{all:{},add:function(e,t){var n=jo.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=jo.hooks.all[e];if(!(!n||!n.length))for(var r=0,i;i=n[r++];)i(t)}},Token:NT};function NT(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=(r||"").length|0}function tse(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var s=i[1].length;i.index+=s,i[0]=i[0].slice(s)}return i}function sve(e,t,n,r,i,s){for(var a in n)if(!(!n.hasOwnProperty(a)||!n[a])){var o=n[a];o=Array.isArray(o)?o:[o];for(var l=0;l=s.reach);T+=x.value.length,x=x.next){var _=x.value;if(t.length>e.length)return;if(!(_ instanceof NT)){var C=1,I;if(p){if(I=tse(w,T,e,f),!I||I.index>=e.length)break;var j=I.index,M=I.index+I[0].length,$=T;for($+=x.value.length;j>=$;)x=x.next,$+=x.value.length;if($-=x.value.length,T=$,x.value instanceof NT)continue;for(var B=x;B!==t.tail&&($s.reach&&(s.reach=se);var me=x.prev;V&&(me=dR(t,me,V),T+=V.length),zct(t,me,C);var fe=new NT(a,d?jo.tokenize(F,d):F,g,F);if(x=dR(t,me,fe),ie&&dR(t,x,ie),C>1){var le={cause:a+","+l,reach:se};sve(e,t,n,x.prev,T,le),s&&le.reach>s.reach&&(s.reach=le.reach)}}}}}}function Uct(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function dR(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}function zct(e,t,n){for(var r=t.next,i=0;i]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}wj.displayName="abnf";wj.aliases=[];function wj(e){(function(t){var n="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";t.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+n+"|<"+n+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(e)}xj.displayName="actionscript";xj.aliases=[];function xj(e){e.register(wl),e.languages.actionscript=e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),e.languages.actionscript["class-name"].alias="function",delete e.languages.actionscript.parameter,delete e.languages.actionscript["literal-property"],e.languages.markup&&e.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:e.languages.markup}})}Tj.displayName="ada";Tj.aliases=[];function Tj(e){e.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],attribute:{pattern:/\b'\w+/,alias:"attr-name"},keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|or|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}kj.displayName="agda";kj.aliases=[];function kj(e){(function(t){t.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(e)}_j.displayName="al";_j.aliases=[];function _j(e){e.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}Aj.displayName="antlr4";Aj.aliases=["g4"];function Aj(e){e.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},e.languages.g4=e.languages.antlr4}Cj.displayName="apacheconf";Cj.aliases=[];function Cj(e){e.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}Rj.displayName="apex";Rj.aliases=[];function Rj(e){e.register(mi),e.register(e2),function(t){var n=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,r=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return n.source});function i(a){return RegExp(a.replace(//g,function(){return r}),"i")}var s={keyword:n,punctuation:/[()\[\]{};,:.<>]/};t.languages.apex={comment:t.languages.clike.comment,string:t.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:t.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:i(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:s},{pattern:i(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:s},{pattern:i(/(?=\s*\w+\s*[;=,(){:])/.source),inside:s}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:n,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(e)}Ij.displayName="apl";Ij.aliases=[];function Ij(e){e.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}Dj.displayName="applescript";Dj.aliases=[];function Dj(e){e.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}Nj.displayName="aql";Nj.aliases=[];function Nj(e){e.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}Pj.displayName="arff";Pj.aliases=[];function Pj(e){e.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}Lj.displayName="armasm";Lj.aliases=["arm-asm"];function Lj(e){e.languages.armasm={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"/,greedy:!0,inside:{variable:{pattern:/((?:^|[^$])(?:\${2})*)\$\w+/,lookbehind:!0}}},char:{pattern:/'(?:[^'\r\n]{0,4}|'')'/,greedy:!0},"version-symbol":{pattern:/\|[\w@]+\|/,greedy:!0,alias:"property"},boolean:/\b(?:FALSE|TRUE)\b/,directive:{pattern:/\b(?:ALIAS|ALIGN|AREA|ARM|ASSERT|ATTR|CN|CODE|CODE16|CODE32|COMMON|CP|DATA|DCB|DCD|DCDO|DCDU|DCFD|DCFDU|DCI|DCQ|DCQU|DCW|DCWU|DN|ELIF|ELSE|END|ENDFUNC|ENDIF|ENDP|ENTRY|EQU|EXPORT|EXPORTAS|EXTERN|FIELD|FILL|FN|FUNCTION|GBLA|GBLL|GBLS|GET|GLOBAL|IF|IMPORT|INCBIN|INCLUDE|INFO|KEEP|LCLA|LCLL|LCLS|LTORG|MACRO|MAP|MEND|MEXIT|NOFP|OPT|PRESERVE8|PROC|QN|READONLY|RELOC|REQUIRE|REQUIRE8|RLIST|ROUT|SETA|SETL|SETS|SN|SPACE|SUBT|THUMB|THUMBX|TTL|WEND|WHILE)\b/,alias:"property"},instruction:{pattern:/((?:^|(?:^|[^\\])(?:\r\n?|\n))[ \t]*(?:(?:[A-Z][A-Z0-9_]*[a-z]\w*|[a-z]\w*|\d+)[ \t]+)?)\b[A-Z.]+\b/,lookbehind:!0,alias:"keyword"},variable:/\$\w+/,number:/(?:\b[2-9]_\d+|(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e-?\d+)?|\b0(?:[fd]_|x)[0-9a-f]+|&[0-9a-f]+)\b/i,register:{pattern:/\b(?:r\d|lr)\b/,alias:"symbol"},operator:/<>|<<|>>|&&|\|\||[=!<>/]=?|[+\-*%#?&|^]|:[A-Z]+:/,punctuation:/[()[\],]/},e.languages["arm-asm"]=e.languages.armasm}Mj.displayName="arturo";Mj.aliases=["art"];function Mj(e){(function(t){var n=function(r,i){return{pattern:RegExp(/\{!/.source+"(?:"+(i||r)+")"+/$[\s\S]*\}/.source,"m"),greedy:!0,inside:{embedded:{pattern:/(^\{!\w+\b)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-"+r,inside:t.languages[r]},string:/[\s\S]+/}}};t.languages.arturo={comment:{pattern:/;.*/,greedy:!0},character:{pattern:/`.`/,alias:"char",greedy:!0},number:{pattern:/\b\d+(?:\.\d+(?:\.\d+(?:-[\w+-]+)?)?)?\b/},string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},regex:{pattern:/\{\/.*?\/\}/,greedy:!0},"html-string":n("html"),"css-string":n("css"),"js-string":n("js"),"md-string":n("md"),"sql-string":n("sql"),"sh-string":n("shell","sh"),multistring:{pattern:/».*|\{:[\s\S]*?:\}|\{[\s\S]*?\}|^-{6}$[\s\S]*/m,alias:"string",greedy:!0},label:{pattern:/\w+\b\??:/,alias:"property"},literal:{pattern:/'(?:\w+\b\??:?)/,alias:"constant"},type:{pattern:/:(?:\w+\b\??:?)/,alias:"class-name"},color:/#\w+/,predicate:{pattern:/\b(?:all|and|any|ascii|attr|attribute|attributeLabel|binary|block|char|contains|database|date|dictionary|empty|equal|even|every|exists|false|floating|function|greater|greaterOrEqual|if|in|inline|integer|is|key|label|leap|less|lessOrEqual|literal|logical|lower|nand|negative|nor|not|notEqual|null|numeric|odd|or|path|pathLabel|positive|prefix|prime|regex|same|set|some|sorted|standalone|string|subset|suffix|superset|symbol|symbolLiteral|true|try|type|unless|upper|when|whitespace|word|xnor|xor|zero)\?/,alias:"keyword"},"builtin-function":{pattern:/\b(?:abs|acos|acosh|acsec|acsech|actan|actanh|add|after|alert|alias|and|angle|append|arg|args|arity|array|as|asec|asech|asin|asinh|atan|atan2|atanh|attr|attrs|average|before|benchmark|blend|break|call|capitalize|case|ceil|chop|clear|clip|close|color|combine|conj|continue|copy|cos|cosh|crc|csec|csech|ctan|ctanh|cursor|darken|dec|decode|define|delete|desaturate|deviation|dialog|dictionary|difference|digest|digits|div|do|download|drop|dup|e|else|empty|encode|ensure|env|escape|execute|exit|exp|extend|extract|factors|fdiv|filter|first|flatten|floor|fold|from|function|gamma|gcd|get|goto|hash|hypot|if|inc|indent|index|infinity|info|input|insert|inspect|intersection|invert|jaro|join|keys|kurtosis|last|let|levenshtein|lighten|list|ln|log|loop|lower|mail|map|match|max|median|min|mod|module|mul|nand|neg|new|nor|normalize|not|now|null|open|or|outdent|pad|palette|panic|path|pause|permissions|permutate|pi|pop|popup|pow|powerset|powmod|prefix|print|prints|process|product|query|random|range|read|relative|remove|rename|render|repeat|replace|request|return|reverse|round|sample|saturate|script|sec|sech|select|serve|set|shl|shr|shuffle|sin|sinh|size|skewness|slice|sort|spin|split|sqrt|squeeze|stack|strip|sub|suffix|sum|switch|symbols|symlink|sys|take|tan|tanh|terminal|terminate|to|truncate|try|type|unclip|union|unique|unless|until|unzip|upper|values|var|variance|volume|webview|while|with|wordwrap|write|xnor|xor|zip)\b/,alias:"keyword"},sugar:{pattern:/->|=>|\||::/,alias:"operator"},punctuation:/[()[\],]/,symbol:{pattern:/<:|-:|ø|@|#|\+|\||\*|\$|---|-|%|\/|\.\.|\^|~|=|<|>|\\/},boolean:{pattern:/\b(?:false|maybe|true)\b/}},t.languages.art=t.languages.arturo})(e)}Fj.displayName="asciidoc";Fj.aliases=["adoc"];function Fj(e){(function(t){var n={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},r=t.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})$[\s\S]*?^\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:n,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:n.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:n,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function i(s){s=s.split(" ");for(var a={},o=0,l=s.length;o/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:e.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:e.languages.csharp}}}),e.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.insertBefore("inside","punctuation",{directive:e.languages.aspnet.directive},e.languages.aspnet.tag.inside["attr-value"]),e.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),e.languages.insertBefore("aspnet",e.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:e.languages.csharp||{}}})}Bj.displayName="asm6502";Bj.aliases=[];function Bj(e){e.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"property"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,"op-code":{pattern:/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{1,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[xya]\b/i,alias:"variable"},punctuation:/[(),:]/}}Uj.displayName="asmatmel";Uj.aliases=[];function Uj(e){e.languages.asmatmel={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},constant:/\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,directive:{pattern:/\.\w+(?= )/,alias:"property"},"r-register":{pattern:/\br(?:\d|[12]\d|3[01])\b/,alias:"variable"},"op-code":{pattern:/\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{2,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[acznvshtixy]\b/i,alias:"variable"},operator:/>>=?|<<=?|&[&=]?|\|[\|=]?|[-+*/%^!=<>?]=?/,punctuation:/[(),:]/}}zj.displayName="autohotkey";zj.aliases=[];function zj(e){e.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,command:{pattern:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,alias:"selector"},constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,directive:{pattern:/#[a-z]+\b/i,alias:"important"},keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}Hj.displayName="autoit";Hj.aliases=[];function Hj(e){e.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}qj.displayName="avisynth";qj.aliases=["avs"];function qj(e){(function(t){function n(c,d){return c.replace(/<<(\d+)>>/g,function(f,p){return d[+p]})}function r(c,d,f){return RegExp(n(c,d),f)}var i=/bool|clip|float|int|string|val/.source,s=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),a=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),o=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),l=[s,a,o].join("|");t.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:r(/\b(?:<<0>>)\s+("?)\w+\1/.source,[i],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:r(/\b(?:<<0>>)\b/.source,[l],"i"),alias:"function"},"type-cast":{pattern:r(/\b(?:<<0>>)(?=\s*\()/.source,[i],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},t.languages.avs=t.languages.avisynth})(e)}jj.displayName="avro-idl";jj.aliases=["avdl"];function jj(e){e.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},e.languages.avdl=e.languages["avro-idl"]}Wj.displayName="awk";Wj.aliases=["gawk"];function Wj(e){e.languages.awk={hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\\"\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},regex:{pattern:/((?:^|[^\w\s)])\s*)\/(?:[^\/\\\r\n]|\\.)*\//,lookbehind:!0,greedy:!0},variable:/\$\w+/,keyword:/\b(?:BEGIN|BEGINFILE|END|ENDFILE|break|case|continue|default|delete|do|else|exit|for|function|getline|if|in|next|nextfile|printf?|return|switch|while)\b|@(?:include|load)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[a-fA-F0-9]+)\b/,operator:/--|\+\+|!?~|>&|>>|<<|(?:\*\*|[<>!=+\-*/%^])=?|&&|\|[|&]|[?:]/,punctuation:/[()[\]{},;]/},e.languages.gawk=e.languages.awk}Qj.displayName="batch";Qj.aliases=[];function Qj(e){(function(t){var n=/%%?[~:\w]+%?|!\S+!/,r={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},i=/"(?:[\\"]"|[^"])*"(?!")/,s=/(?:\b|-)\d+\b/;t.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:i,parameter:r,variable:n,number:s,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:i,parameter:r,variable:n,number:s,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:i,parameter:r,variable:[n,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:s,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:i,parameter:r,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:n,number:s,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(e)}Vj.displayName="bbcode";Vj.aliases=["shortcode"];function Vj(e){e.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},e.languages.shortcode=e.languages.bbcode}Gj.displayName="bbj";Gj.aliases=[];function Gj(e){(function(t){t.languages.bbj={comment:{pattern:/(^|[^\\:])rem\s+.*/i,lookbehind:!0,greedy:!0},string:{pattern:/(['"])(?:(?!\1|\\).|\\.)*\1/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:abstract|all|argc|begin|bye|callback|case|chn|class|classend|ctl|day|declare|delete|dim|dom|dread|dsz|else|end|endif|err|exitto|extends|fi|field|for|from|gosub|goto|if|implements|interface|interfaceend|iol|iolist|let|list|load|method|methodend|methodret|on|opts|pfx|print|private|process_events|protected|psz|public|read|read_resource|release|remove_callback|repeat|restore|return|rev|seterr|setesc|sqlchn|sqlunt|ssn|start|static|swend|switch|sys|then|tim|unt|until|use|void|wend|where|while)\b/i,function:/\b\w+(?=\()/,boolean:/\b(?:BBjAPI\.TRUE|BBjAPI\.FALSE)\b/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:and|not|or|xor)\b/i,punctuation:/[.,;:()]/}})(e)}Yj.displayName="bicep";Yj.aliases=[];function Yj(e){e.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},e.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=e.languages.bicep}Zj.displayName="birb";Zj.aliases=[];function Zj(e){e.register(mi),e.languages.birb=e.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),e.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}Xj.displayName="bison";Xj.aliases=[];function Xj(e){e.register(wh),e.languages.bison=e.languages.extend("c",{}),e.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:e.languages.c}},comment:e.languages.c.comment,string:e.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}Kj.displayName="bnf";Kj.aliases=["rbnf"];function Kj(e){e.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},e.languages.rbnf=e.languages.bnf}Jj.displayName="bqn";Jj.aliases=[];function Jj(e){e.languages.bqn={shebang:{pattern:/^#![ \t]*\/.*/,alias:"important",greedy:!0},comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/"(?:[^"]|"")*"/,greedy:!0,alias:"string"},"character-literal":{pattern:/'(?:[\s\S]|[\uD800-\uDBFF][\uDC00-\uDFFF])'/,greedy:!0,alias:"char"},function:/•[\w¯.∞π]+[\w¯.∞π]*/,"dot-notation-on-brackets":{pattern:/\{(?=.*\}\.)|\}\./,alias:"namespace"},"special-name":{pattern:/(?:𝕨|𝕩|𝕗|𝕘|𝕤|𝕣|𝕎|𝕏|𝔽|𝔾|𝕊|_𝕣_|_𝕣)/,alias:"keyword"},"dot-notation-on-name":{pattern:/[A-Za-z_][\w¯∞π]*\./,alias:"namespace"},"word-number-scientific":{pattern:/\d+(?:\.\d+)?[eE]¯?\d+/,alias:"number"},"word-name":{pattern:/[A-Za-z_][\w¯∞π]*/,alias:"symbol"},"word-number":{pattern:/[¯∞π]?(?:\d*\.?\b\d+(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π))?/,alias:"number"},"null-literal":{pattern:/@/,alias:"char"},"primitive-functions":{pattern:/[-+×÷⋆√⌊⌈|¬∧∨<>≠=≤≥≡≢⊣⊢⥊∾≍⋈↑↓↕«»⌽⍉/⍋⍒⊏⊑⊐⊒∊⍷⊔!]/,alias:"operator"},"primitive-1-operators":{pattern:/[`˜˘¨⁼⌜´˝˙]/,alias:"operator"},"primitive-2-operators":{pattern:/[∘⊸⟜○⌾⎉⚇⍟⊘◶⎊]/,alias:"operator"},punctuation:/[←⇐↩(){}⟨⟩[\]‿·⋄,.;:?]/}}eW.displayName="brainfuck";eW.aliases=[];function eW(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}tW.displayName="brightscript";tW.aliases=[];function tW(e){e.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},e.languages.brightscript["directive-statement"].inside.expression.inside=e.languages.brightscript}nW.displayName="bro";nW.aliases=[];function nW(e){e.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}rW.displayName="bsl";rW.aliases=["oscript"];function rW(e){e.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},e.languages.oscript=e.languages.bsl}iW.displayName="cfscript";iW.aliases=["cfc"];function iW(e){e.register(mi),e.languages.cfscript=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|:/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),e.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete e.languages.cfscript["class-name"],e.languages.cfc=e.languages.cfscript}sW.displayName="chaiscript";sW.aliases=[];function sW(e){e.register(mi),e.register(By),e.languages.chaiscript=e.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[e.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),e.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),e.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}aW.displayName="cil";aW.aliases=[];function aW(e){e.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}oW.displayName="cilkc";oW.aliases=["cilk-c"];function oW(e){e.register(wh),e.languages.cilkc=e.languages.insertBefore("c","function",{"parallel-keyword":{pattern:/\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,alias:"keyword"}}),e.languages["cilk-c"]=e.languages.cilkc}lW.displayName="cilkcpp";lW.aliases=["cilk","cilk-cpp"];function lW(e){e.register(By),e.languages.cilkcpp=e.languages.insertBefore("cpp","function",{"parallel-keyword":{pattern:/\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,alias:"keyword"}}),e.languages["cilk-cpp"]=e.languages.cilkcpp,e.languages.cilk=e.languages.cilkcpp}uW.displayName="clojure";uW.aliases=[];function uW(e){e.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}cW.displayName="cmake";cW.aliases=[];function cW(e){e.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_NAME|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}dW.displayName="cobol";dW.aliases=[];function dW(e){e.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}fW.displayName="coffeescript";fW.aliases=["coffee"];function fW(e){e.register(wl),function(t){var n=/#(?!\{).+/,r={pattern:/#\{[^}]+\}/,alias:"variable"};t.languages.coffeescript=t.languages.extend("javascript",{comment:n,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:r}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),t.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:n,interpolation:r}}}),t.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:t.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:r}}]}),t.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete t.languages.coffeescript["template-string"],t.languages.coffee=t.languages.coffeescript}(e)}hW.displayName="concurnas";hW.aliases=["conc"];function hW(e){e.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},e.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},string:/[\s\S]+/}}}),e.languages.conc=e.languages.concurnas}pW.displayName="csp";pW.aliases=[];function pW(e){(function(t){function n(r){return RegExp(/([ \t])/.source+"(?:"+r+")"+/(?=[\s;]|$)/.source,"i")}t.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:n(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:n(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:n(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:n(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:n(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source+"|"+/\*[^\s;,']*/.source+"|"+/[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),lookbehind:!0,alias:"url",inside:{important:/\*/}},keyword:[{pattern:n(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:n(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}})(e)}mW.displayName="cooklang";mW.aliases=[];function mW(e){(function(t){var n=/(?:(?!\s)[\d$+<=a-zA-Z\x80-\uFFFF])+/.source,r=/[^{}@#]+/.source,i=/\{[^}#@]*\}/.source,s=r+i,a=/(?:h|hours|hrs|m|min|minutes)/.source,o={pattern:/\{[^{}]*\}/,inside:{amount:{pattern:/([\{|])[^{}|*%]+/,lookbehind:!0,alias:"number"},unit:{pattern:/(%)[^}]+/,lookbehind:!0,alias:"symbol"},"servings-scaler":{pattern:/\*/,alias:"operator"},"servings-alternative-separator":{pattern:/\|/,alias:"operator"},"unit-separator":{pattern:/(?:%|(\*)%)/,lookbehind:!0,alias:"operator"},punctuation:/[{}]/}};t.languages.cooklang={comment:{pattern:/\[-[\s\S]*?-\]|--.*/,greedy:!0},meta:{pattern:/>>.*:.*/,inside:{property:{pattern:/(>>\s*)[^\s:](?:[^:]*[^\s:])?/,lookbehind:!0}}},"cookware-group":{pattern:new RegExp("#(?:"+s+"|"+n+")"),inside:{cookware:{pattern:new RegExp("(^#)(?:"+r+")"),lookbehind:!0,alias:"variable"},"cookware-keyword":{pattern:/^#/,alias:"keyword"},"quantity-group":{pattern:new RegExp(/\{[^{}@#]*\}/),inside:{quantity:{pattern:new RegExp(/(^\{)/.source+r),lookbehind:!0,alias:"number"},punctuation:/[{}]/}}}},"ingredient-group":{pattern:new RegExp("@(?:"+s+"|"+n+")"),inside:{ingredient:{pattern:new RegExp("(^@)(?:"+r+")"),lookbehind:!0,alias:"variable"},"ingredient-keyword":{pattern:/^@/,alias:"keyword"},"amount-group":o}},"timer-group":{pattern:/~(?!\s)[^@#~{}]*\{[^{}]*\}/,inside:{timer:{pattern:/(^~)[^{]+/,lookbehind:!0,alias:"variable"},"duration-group":{pattern:/\{[^{}]*\}/,inside:{punctuation:/[{}]/,unit:{pattern:new RegExp(/(%\s*)/.source+a+/\b/.source),lookbehind:!0,alias:"symbol"},operator:/%/,duration:{pattern:/\d+/,alias:"number"}}},"timer-keyword":{pattern:/^~/,alias:"keyword"}}}}})(e)}gW.displayName="coq";gW.aliases=[];function gW(e){(function(t){for(var n=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,r=0;r<2;r++)n=n.replace(//g,function(){return n});n=n.replace(//g,"[]"),t.languages.coq={comment:RegExp(n),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return n})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(n),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(e)}bW.displayName="crystal";bW.aliases=[];function bW(e){e.register(qy),function(t){t.languages.crystal=t.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,t.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),t.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:t.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:t.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(e)}yW.displayName="css-extras";yW.aliases=[];function yW(e){e.register(A1),function(t){var n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,r;t.languages.css.selector={pattern:t.languages.css.selector.pattern,lookbehind:!0,inside:r={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},t.languages.css.atrule.inside["selector-function-argument"].inside=r,t.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var i={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},s={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};t.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:i,number:s,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:i,number:s})}(e)}vW.displayName="csv";vW.aliases=[];function vW(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}SW.displayName="cue";SW.aliases=[];function SW(e){(function(t){var n=/\\(?:(?!\2)|\2(?:[^()\r\n]|\([^()]*\)))/.source,r=/"""(?:[^\\"]|"(?!""\2)|)*"""/.source+"|"+/'''(?:[^\\']|'(?!''\2)|)*'''/.source+"|"+/"(?:[^\\\r\n"]|"(?!\2)|)*"/.source+"|"+/'(?:[^\\\r\n']|'(?!\2)|)*'/.source,i="(?:"+r.replace(//g,n)+")";t.languages.cue={comment:{pattern:/\/\/.*/,greedy:!0},"string-literal":{pattern:RegExp(/(^|[^#"'\\])(#*)/.source+i+/(?!["'])\2/.source),lookbehind:!0,greedy:!0,inside:{escape:{pattern:/(?=[\s\S]*["'](#*)$)\\\1(?:U[a-fA-F0-9]{1,8}|u[a-fA-F0-9]{1,4}|x[a-fA-F0-9]{1,2}|\d{2,3}|[^(])/,greedy:!0,alias:"string"},interpolation:{pattern:/(?=[\s\S]*["'](#*)$)\\\1\([^()]*\)/,greedy:!0,inside:{punctuation:/^\\#*\(|\)$/,expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:{pattern:/(^|[^\w$])(?:for|if|import|in|let|null|package)(?![\w$])/,lookbehind:!0},boolean:{pattern:/(^|[^\w$])(?:false|true)(?![\w$])/,lookbehind:!0},builtin:{pattern:/(^|[^\w$])(?:bool|bytes|float|float(?:32|64)|u?int(?:8|16|32|64|128)?|number|rune|string)(?![\w$])/,lookbehind:!0},attribute:{pattern:/@[\w$]+(?=\s*\()/,alias:"function"},function:{pattern:/(^|[^\w$])[a-z_$][\w$]*(?=\s*\()/i,lookbehind:!0},number:{pattern:/(^|[^\w$.])(?:0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|0[xX][0-9A-Fa-f]+(?:_[0-9A-Fa-f]+)*|(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[eE][+-]?\d+(?:_\d+)*)?(?:[KMGTP]i?)?)(?![\w$])/,lookbehind:!0},operator:/\.{3}|_\|_|&&?|\|\|?|[=!]~|[<>=!]=?|[+\-*/?]/,punctuation:/[()[\]{},.:]/},t.languages.cue["string-literal"].inside.interpolation.inside.expression.inside=t.languages.cue})(e)}OW.displayName="cypher";OW.aliases=[];function OW(e){e.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}EW.displayName="d";EW.aliases=[];function EW(e){e.register(mi),e.languages.d=e.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),e.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),e.languages.insertBefore("d","keyword",{property:/\B@\w*/}),e.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}wW.displayName="dart";wW.aliases=[];function wW(e){e.register(mi),function(t){var n=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],r=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,i={pattern:RegExp(r+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};t.languages.dart=t.languages.extend("clike",{"class-name":[i,{pattern:RegExp(r+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:i.inside}],keyword:n,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),t.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:t.languages.dart}}},string:/[\s\S]+/}},string:void 0}),t.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),t.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":i,keyword:n,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(e)}xW.displayName="dataweave";xW.aliases=[];function xW(e){(function(t){t.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(e)}TW.displayName="dax";TW.aliases=[];function TW(e){e.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}kW.displayName="dhall";kW.aliases=[];function kW(e){e.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},e.languages.dhall.string.inside.interpolation.inside.expression.inside=e.languages.dhall}_W.displayName="django";_W.aliases=["jinja2"];function _W(e){e.register(xl),function(t){t.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var n=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,r=t.languages["markup-templating"];t.hooks.add("before-tokenize",function(i){r.buildPlaceholders(i,"django",n)}),t.hooks.add("after-tokenize",function(i){r.tokenizePlaceholders(i,"django")}),t.languages.jinja2=t.languages.django,t.hooks.add("before-tokenize",function(i){r.buildPlaceholders(i,"jinja2",n)}),t.hooks.add("after-tokenize",function(i){r.tokenizePlaceholders(i,"jinja2")})}(e)}AW.displayName="dns-zone-file";AW.aliases=["dns-zone"];function AW(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}CW.displayName="docker";CW.aliases=["dockerfile"];function CW(e){(function(t){var n=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,r=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return n}),i=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,s=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return i}),a={pattern:RegExp(i),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function l(c,d){return c=c.replace(//g,function(){return s}).replace(//g,function(){return r}),RegExp(c,d)}t.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:l(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[a,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:l(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:l(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:l(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:a,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},t.languages.dockerfile=t.languages.docker})(e)}RW.displayName="dot";RW.aliases=["gv"];function RW(e){(function(t){var n="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",r={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:t.languages.markup}};function i(s,a){return RegExp(s.replace(//g,function(){return n}),a)}t.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:i(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:r},"attr-value":{pattern:i(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:r},"attr-name":{pattern:i(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:r},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:i(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:r},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},t.languages.gv=t.languages.dot})(e)}IW.displayName="ebnf";IW.aliases=[];function IW(e){e.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}DW.displayName="editorconfig";DW.aliases=[];function DW(e){e.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}NW.displayName="eiffel";NW.aliases=[];function NW(e){e.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}PW.displayName="ejs";PW.aliases=["eta"];function PW(e){e.register(wl),e.register(xl),function(t){t.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:t.languages.javascript}},t.hooks.add("before-tokenize",function(n){var r=/<%(?!%)[\s\S]+?%>/g;t.languages["markup-templating"].buildPlaceholders(n,"ejs",r)}),t.hooks.add("after-tokenize",function(n){t.languages["markup-templating"].tokenizePlaceholders(n,"ejs")}),t.languages.eta=t.languages.ejs}(e)}LW.displayName="elixir";LW.aliases=[];function LW(e){e.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},e.languages.elixir.string.forEach(function(t){t.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.elixir}}}})}MW.displayName="elm";MW.aliases=[];function MW(e){e.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}FW.displayName="etlua";FW.aliases=[];function FW(e){e.register(OA),e.register(xl),function(t){t.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:t.languages.lua}},t.hooks.add("before-tokenize",function(n){var r=/<%[\s\S]+?%>/g;t.languages["markup-templating"].buildPlaceholders(n,"etlua",r)}),t.hooks.add("after-tokenize",function(n){t.languages["markup-templating"].tokenizePlaceholders(n,"etlua")})}(e)}$W.displayName="erb";$W.aliases=[];function $W(e){e.register(xl),e.register(qy),function(t){t.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:t.languages.ruby}},t.hooks.add("before-tokenize",function(n){var r=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;t.languages["markup-templating"].buildPlaceholders(n,"erb",r)}),t.hooks.add("after-tokenize",function(n){t.languages["markup-templating"].tokenizePlaceholders(n,"erb")})}(e)}BW.displayName="erlang";BW.aliases=[];function BW(e){e.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|begin|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}UW.displayName="excel-formula";UW.aliases=["xls","xlsx"];function UW(e){e.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"builtin"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"selector",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"selector"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}zW.displayName="fsharp";zW.aliases=[];function zW(e){e.register(mi),e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}HW.displayName="factor";HW.aliases=[];function HW(e){(function(t){var n={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},r={number:/\\[^\s']|%\w/},i={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:n},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:n}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:r.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:r},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:r}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:r}},s=function(c){return(c+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},a=function(c){return new RegExp("(^|\\s)(?:"+c.map(s).join("|")+")(?=\\s|$)")},o={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(o).forEach(function(c){i[c].pattern=a(o[c])});var l=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"];i.combinators.pattern=a(l),t.languages.factor=i})(e)}qW.displayName="false";qW.aliases=[];function qW(e){(function(t){t.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}WW.displayName="flow";WW.aliases=[];function WW(e){e.register(wl),function(t){t.languages.flow=t.languages.extend("javascript",{}),t.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),t.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete t.languages.flow.parameter,t.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(t.languages.flow.keyword)||(t.languages.flow.keyword=[t.languages.flow.keyword]),t.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(e)}QW.displayName="fortran";QW.aliases=[];function QW(e){e.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}VW.displayName="ftl";VW.aliases=[];function VW(e){e.register(xl),function(t){for(var n=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,r=0;r<2;r++)n=n.replace(//g,function(){return n});n=n.replace(//g,/[^\s\S]/.source);var i={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return n})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return n})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};i.string[1].inside.interpolation.inside.rest=i,t.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:i}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:i}}}},t.hooks.add("before-tokenize",function(s){var a=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return n}),"gi");t.languages["markup-templating"].buildPlaceholders(s,"ftl",a)}),t.hooks.add("after-tokenize",function(s){t.languages["markup-templating"].tokenizePlaceholders(s,"ftl")})}(e)}GW.displayName="gml";GW.aliases=["gamemakerlanguage"];function GW(e){e.register(mi),e.languages.gamemakerlanguage=e.languages.gml=e.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}YW.displayName="gap";YW.aliases=[];function YW(e){e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},e.languages.gap.shell.inside.gap.inside=e.languages.gap}ZW.displayName="gcode";ZW.aliases=[];function ZW(e){e.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}XW.displayName="gdscript";XW.aliases=[];function XW(e){e.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}KW.displayName="gedcom";KW.aliases=[];function KW(e){e.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},record:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"tag"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}JW.displayName="gettext";JW.aliases=["po"];function JW(e){e.languages.gettext={comment:[{pattern:/# .*/,greedy:!0,alias:"translator-comment"},{pattern:/#\..*/,greedy:!0,alias:"extracted-comment"},{pattern:/#:.*/,greedy:!0,alias:"reference-comment"},{pattern:/#,.*/,greedy:!0,alias:"flag-comment"},{pattern:/#\|.*/,greedy:!0,alias:"previously-untranslated-comment"},{pattern:/#.*/,greedy:!0}],string:{pattern:/(^|[^\\])"(?:[^"\\]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/^msg(?:ctxt|id|id_plural|str)\b/m,number:/\b\d+\b/,punctuation:/[\[\]]/},e.languages.po=e.languages.gettext}eQ.displayName="gherkin";eQ.aliases=[];function eQ(e){(function(t){var n=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;t.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+n+")(?:"+n+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(n),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(e)}tQ.displayName="git";tQ.aliases=[];function tQ(e){e.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}nQ.displayName="glsl";nQ.aliases=[];function nQ(e){e.register(wh),e.languages.glsl=e.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}rQ.displayName="gn";rQ.aliases=["gni"];function rQ(e){e.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},e.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=e.languages.gn,e.languages.gni=e.languages.gn}iQ.displayName="linker-script";iQ.aliases=["ld"];function iQ(e){e.languages["linker-script"]={comment:{pattern:/(^|\s)\/\*[\s\S]*?(?:$|\*\/)/,lookbehind:!0,greedy:!0},identifier:{pattern:/"[^"\r\n]*"/,greedy:!0},"location-counter":{pattern:/\B\.\B/,alias:"important"},section:{pattern:/(^|[^\w*])\.\w+\b/,lookbehind:!0,alias:"keyword"},function:/\b[A-Z][A-Z_]*(?=\s*\()/,number:/\b(?:0[xX][a-fA-F0-9]+|\d+)[KM]?\b/,operator:/>>=?|<<=?|->|\+\+|--|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?/,punctuation:/[(){},;]/},e.languages.ld=e.languages["linker-script"]}sQ.displayName="go-module";sQ.aliases=["go-mod"];function sQ(e){e.languages["go-mod"]=e.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}aQ.displayName="gradle";aQ.aliases=[];function aQ(e){e.register(mi),function(t){var n={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};t.languages.gradle=t.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:apply|def|dependencies|else|if|implementation|import|plugin|plugins|project|repositories|repository|sourceSets|tasks|val)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("gradle","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}}}),t.languages.insertBefore("gradle","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("gradle","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),n.inside.expression.inside=t.languages.gradle}(e)}oQ.displayName="graphql";oQ.aliases=[];function oQ(e){e.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:e.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},e.hooks.add("after-tokenize",function(n){if(n.language!=="graphql")return;var r=n.tokens.filter(function(x){return typeof x!="string"&&x.type!=="comment"&&x.type!=="scalar"}),i=0;function s(x){return r[i+x]}function a(x,T){T=T||0;for(var _=0;_0)){var g=o(/^\{$/,/^\}$/);if(g===-1)continue;for(var b=i;b=0&&l(w,"variable-input")}}}}})}lQ.displayName="groovy";lQ.aliases=[];function lQ(e){e.register(mi),function(t){var n={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};t.languages.groovy=t.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),n.inside.expression.inside=t.languages.groovy}(e)}uQ.displayName="textile";uQ.aliases=[];function uQ(e){e.register(el),function(t){var n=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,r=/\)|\((?![^|()\n]+\))/.source;function i(f,p){return RegExp(f.replace(//g,function(){return"(?:"+n+")"}).replace(//g,function(){return"(?:"+r+")"}),p||"")}var s={css:{pattern:/\{[^{}]+\}/,inside:{rest:t.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},a=t.languages.textile=t.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:i(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:i(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:s},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:i(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:i(/(^[*#]+)+/.source),lookbehind:!0,inside:s},punctuation:/^[*#]+/}},table:{pattern:i(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:i(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:s},punctuation:/\||^\./}},inline:{pattern:i(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:i(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:i(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:i(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:i(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:i(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:i(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:i(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:i(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:s},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:i(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:i(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:i(/(^")+/.source),lookbehind:!0,inside:s},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:i(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:i(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:i(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:s},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),o=a.phrase.inside,l={inline:o.inline,link:o.link,image:o.image,footnote:o.footnote,acronym:o.acronym,mark:o.mark};a.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var c=o.inline.inside;c.bold.inside=l,c.italic.inside=l,c.inserted.inside=l,c.deleted.inside=l,c.span.inside=l;var d=o.table.inside;d.inline=l.inline,d.link=l.link,d.image=l.image,d.footnote=l.footnote,d.acronym=l.acronym,d.mark=l.mark}(e)}cQ.displayName="haml";cQ.aliases=[];function cQ(e){e.register(qy),function(t){t.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:t.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:t.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:t.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:t.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:t.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:t.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:t.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var n="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",r=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],i={},s=0,a=r.length;s@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},t.hooks.add("before-tokenize",function(n){var r=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;t.languages["markup-templating"].buildPlaceholders(n,"handlebars",r)}),t.hooks.add("after-tokenize",function(n){t.languages["markup-templating"].tokenizePlaceholders(n,"handlebars")}),t.languages.hbs=t.languages.handlebars,t.languages.mustache=t.languages.handlebars}(e)}_A.displayName="haskell";_A.aliases=["hs"];function _A(e){e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},e.languages.hs=e.languages.haskell}fQ.displayName="haxe";fQ.aliases=[];function fQ(e){e.register(mi),e.languages.haxe=e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.haxe}}},string:/[\s\S]+/}}}),e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}hQ.displayName="hcl";hQ.aliases=[];function hQ(e){e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}pQ.displayName="hlsl";pQ.aliases=[];function pQ(e){e.register(wh),e.languages.hlsl=e.languages.extend("c",{"class-name":[e.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}mQ.displayName="hoon";mQ.aliases=[];function mQ(e){e.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}gQ.displayName="hpkp";gQ.aliases=[];function gQ(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}bQ.displayName="hsts";bQ.aliases=[];function bQ(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}yQ.displayName="uri";yQ.aliases=["url"];function yQ(e){e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},e.languages.url=e.languages.uri}vQ.displayName="http";vQ.aliases=[];function vQ(e){(function(t){function n(d){return RegExp("(^(?:"+d+"):[ ]*(?![ ]))[^]+","i")}t.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:t.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:n(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:t.languages.csp},{pattern:n(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:t.languages.hpkp},{pattern:n(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:t.languages.hsts},{pattern:n(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var r=t.languages,i={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css,"text/plain":r.plain},s={"application/json":!0,"application/xml":!0};function a(d){var f=d.replace(/^[a-z]+\//,""),p="\\w+/(?:[\\w.-]+\\+)+"+f+"(?![+\\w.-])";return"(?:"+d+"|"+p+")"}var o;for(var l in i)if(i[l]){o=o||{};var c=s[l]?a(l):l;o[l.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+c+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:i[l]}}o&&t.languages.insertBefore("http","header",o)})(e)}SQ.displayName="ichigojam";SQ.aliases=[];function SQ(e){e.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}OQ.displayName="icon";OQ.aliases=[];function OQ(e){e.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}EQ.displayName="icu-message-format";EQ.aliases=[];function EQ(e){(function(t){function n(l,c){return c<=0?/[]/.source:l.replace(//g,function(){return n(l,c-1)})}var r=/'[{}:=,](?:[^']|'')*'(?!')/,i={pattern:/''/,greedy:!0,alias:"operator"},s={pattern:r,greedy:!0,inside:{escape:i}},a=n(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return r.source}),8),o={pattern:RegExp(a),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};t.languages["icu-message-format"]={argument:{pattern:RegExp(a),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":o,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":o,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+n(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:i,string:s},o.inside.message.inside=t.languages["icu-message-format"],t.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=t.languages["icu-message-format"]})(e)}wQ.displayName="idris";wQ.aliases=["idr"];function wQ(e){e.register(_A),e.languages.idris=e.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),e.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.idr=e.languages.idris}xQ.displayName="ignore";xQ.aliases=["gitignore","hgignore","npmignore"];function xQ(e){(function(t){t.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},t.languages.gitignore=t.languages.ignore,t.languages.hgignore=t.languages.ignore,t.languages.npmignore=t.languages.ignore})(e)}TQ.displayName="inform7";TQ.aliases=[];function TQ(e){e.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},e.languages.inform7.string.inside.substitution.inside.rest=e.languages.inform7,e.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}kQ.displayName="io";kQ.aliases=[];function kQ(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}i2.displayName="javadoclike";i2.aliases=[];function i2(e){(function(t){var n=t.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function r(s,a){var o="doc-comment",l=t.languages[s];if(l){var c=l[o];if(!c){var d={};d[o]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},l=t.languages.insertBefore(s,"comment",d),c=l[o]}if(c instanceof RegExp&&(c=l[o]={pattern:c}),Array.isArray(c))for(var f=0,p=c.length;f|\b(?:abstract|case|catch|class|def|derives|do|else|enum|extends|extension|final|finally|for|forSome|given|if|implicit|import|infix|inline|lazy|match|new|null|object|opaque|open|override|package|private|protected|return|sealed|self|super|this|throw|trait|transparent|try|type|using|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),e.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.scala}}},string:/[\s\S]+/}}}),delete e.languages.scala["class-name"],delete e.languages.scala.function,delete e.languages.scala.constant}CQ.displayName="javadoc";CQ.aliases=[];function CQ(e){e.register(zy),e.register(i2),e.register(el),function(t){var n=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,r=/#\s*\w+(?:\s*\([^()]*\))?/.source,i=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return r});t.languages.javadoc=t.languages.extend("javadoclike",{}),t.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+i+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:t.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:n,lookbehind:!0,inside:t.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:n,lookbehind:!0,inside:{tag:t.languages.markup.tag,entity:t.languages.markup.entity,code:{pattern:/.+/,inside:t.languages.java,alias:"language-java"}}}}}],tag:t.languages.markup.tag,entity:t.languages.markup.entity}),t.languages.javadoclike.addSupport("java",t.languages.javadoc)}(e)}RQ.displayName="javastacktrace";RQ.aliases=[];function RQ(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}IQ.displayName="jexl";IQ.aliases=[];function IQ(e){e.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}DQ.displayName="jolie";DQ.aliases=[];function DQ(e){e.register(mi),e.languages.jolie=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),e.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}NQ.displayName="jq";NQ.aliases=[];function NQ(e){(function(t){var n=/\\\((?:[^()]|\([^()]*\))*\)/.source,r=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return n})),i={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+n),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},s=t.languages.jq={comment:/#.*/,property:{pattern:RegExp(r.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:i},string:{pattern:r,lookbehind:!0,greedy:!0,inside:i},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};i.interpolation.inside.content.inside=s})(e)}PQ.displayName="js-templates";PQ.aliases=[];function PQ(e){e.register(wl),function(t){var n=t.languages.javascript["template-string"],r=n.pattern.source,i=n.inside.interpolation,s=i.inside["interpolation-punctuation"],a=i.pattern.source;function o(b,w){if(t.languages[b])return{pattern:RegExp("((?:"+w+")\\s*)"+r),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:b}}}}t.languages.javascript["template-string"]=[o("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),o("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),o("svg",/\bsvg/.source),o("markdown",/\b(?:markdown|md)/.source),o("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),o("sql",/\bsql/.source),n].filter(Boolean);function l(b,w){return"___"+w.toUpperCase()+"_"+b+"___"}function c(b,w,x){var T={code:b,grammar:w,language:x};return t.hooks.run("before-tokenize",T),T.tokens=t.tokenize(T.code,T.grammar),t.hooks.run("after-tokenize",T),T.tokens}function d(b){var w={};w["interpolation-punctuation"]=s;var x=t.tokenize(b,w);if(x.length===3){var T=[1,1];T.push.apply(T,c(x[1],t.languages.javascript,"javascript")),x.splice.apply(x,T)}return new t.Token("interpolation",x,i.alias,b)}function f(b,w,x){var T=t.tokenize(b,{interpolation:{pattern:RegExp(a),lookbehind:!0}}),_=0,C={},I=T.map(function(j){if(typeof j=="string")return j;for(var F=j.content,V;b.indexOf(V=l(_++,x))!==-1;);return C[V]=F,V}).join(""),M=c(I,w,x),$=Object.keys(C);_=0;function B(j){for(var F=0;F=$.length)return;var V=j[F];if(typeof V=="string"||typeof V.content=="string"){var ie=$[_],se=typeof V=="string"?V:V.content,me=se.indexOf(ie);if(me!==-1){++_;var fe=se.substring(0,me),le=d(C[ie]),ye=se.substring(me+ie.length),ae=[];if(fe&&ae.push(fe),ae.push(le),ye){var Se=[ye];B(Se),ae.push.apply(ae,Se)}typeof V=="string"?(j.splice.apply(j,[F,1].concat(ae)),F+=ae.length-1):V.content=ae}}else{var he=V.content;Array.isArray(he)?B(he):B([he])}}}return B(M),new t.Token(x,M,"language-"+x,b)}var p={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};t.hooks.add("after-tokenize",function(b){if(!(b.language in p))return;function w(x){for(var T=0,_=x.length;T<_;T++){var C=x[T];if(typeof C!="string"){var I=C.content;if(!Array.isArray(I)){typeof I!="string"&&w([I]);continue}if(C.type==="template-string"){var M=I[1];if(I.length===3&&typeof M!="string"&&M.type==="embedded-code"){var $=g(M),B=M.alias,j=Array.isArray(B)?B[0]:B,F=t.languages[j];if(!F)continue;I[1]=f($,F,j)}}else w(I)}}}w(b.tokens)});function g(b){return typeof b=="string"?b:Array.isArray(b)?b.map(g).join(""):g(b.content)}}(e)}LQ.displayName="jsdoc";LQ.aliases=[];function LQ(e){e.register(i2),e.register(wl),e.register(t2),function(t){var n=t.languages.javascript,r=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,i="(@(?:arg|argument|param|property)\\s+(?:"+r+"\\s+)?)";t.languages.jsdoc=t.languages.extend("javadoclike",{parameter:{pattern:RegExp(i+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),t.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(i+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:n,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return r})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+r),lookbehind:!0,inside:{string:n.string,number:n.number,boolean:n.boolean,keyword:t.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:n,alias:"language-javascript"}}}}),t.languages.javadoclike.addSupport("javascript",t.languages.jsdoc)}(e)}MQ.displayName="n4js";MQ.aliases=["n4jsd"];function MQ(e){e.register(wl),e.languages.n4js=e.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),e.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),e.languages.n4jsd=e.languages.n4js}FQ.displayName="js-extras";FQ.aliases=[];function FQ(e){e.register(wl),function(t){t.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+t.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),t.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+t.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),t.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function n(l,c){return RegExp(l.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),c)}t.languages.insertBefore("javascript","keyword",{imports:{pattern:n(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:t.languages.javascript},exports:{pattern:n(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:t.languages.javascript}}),t.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),t.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),t.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:n(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var r=["function","function-variable","method","method-variable","property-access"],i=0;i|.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}zQ.displayName="julia";zQ.aliases=[];function zQ(e){e.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}HQ.displayName="keepalived";HQ.aliases=[];function HQ(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}qQ.displayName="keyman";qQ.aliases=[];function qQ(e){e.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|newcontext|nomatch|postkeystroke|readonly|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}jQ.displayName="kumir";jQ.aliases=["kum"];function jQ(e){(function(t){var n=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function r(i,s){return RegExp(i.replace(//g,n),s)}t.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:r(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:r(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:r(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:r(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:r(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:r(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:r(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:r(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},t.languages.kum=t.languages.kumir})(e)}WQ.displayName="kusto";WQ.aliases=[];function WQ(e){e.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}QQ.displayName="latex";QQ.aliases=["context","tex"];function QQ(e){(function(t){var n=/\\(?:[^a-z()[\]]|[a-z*]+)/i,r={"equation-command":{pattern:n,alias:"regex"}};t.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:r,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:r,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:n,alias:"selector"},punctuation:/[[\]{}&]/},t.languages.tex=t.languages.latex,t.languages.context=t.languages.latex})(e)}VQ.displayName="latte";VQ.aliases=[];function VQ(e){e.register(mi),e.register(xl),e.register(Hy),function(t){t.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:t.languages.php}};var n=t.languages.extend("markup",{});t.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:t.languages.php}}}}}},n.tag),t.hooks.add("before-tokenize",function(r){if(r.language==="latte"){var i=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;t.languages["markup-templating"].buildPlaceholders(r,"latte",i),r.grammar=n}}),t.hooks.add("after-tokenize",function(r){t.languages["markup-templating"].tokenizePlaceholders(r,"latte")})}(e)}AA.displayName="scheme";AA.aliases=[];function AA(e){(function(t){t.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(n({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function n(r){for(var i in r)r[i]=r[i].replace(/<[\w\s]+>/g,function(s){return"(?:"+r[s].trim()+")"});return r[i]}})(e)}GQ.displayName="lilypond";GQ.aliases=["ly"];function GQ(e){e.register(AA),function(t){for(var n=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,r=5,i=0;i/g,function(){return n});n=n.replace(//g,/[^\s\S]/.source);var s=t.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return n}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:t.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};s["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=s,t.languages.ly=s}(e)}YQ.displayName="liquid";YQ.aliases=[];function YQ(e){e.register(xl),e.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},e.hooks.add("before-tokenize",function(t){var n=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,r=!1;e.languages["markup-templating"].buildPlaceholders(t,"liquid",n,function(i){var s=/^\{%-?\s*(\w+)/.exec(i);if(s){var a=s[1];if(a==="raw"&&!r)return r=!0,!0;if(a==="endraw")return r=!1,!0}return!r})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")})}ZQ.displayName="lisp";ZQ.aliases=["elisp","emacs","emacs-lisp"];function ZQ(e){(function(t){function n(b){return RegExp(/(\()/.source+"(?:"+b+")"+/(?=[\s\)])/.source)}function r(b){return RegExp(/([\s([])/.source+"(?:"+b+")"+/(?=[\s)])/.source)}var i=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,s="&"+i,a="(\\()",o="(?=\\))",l="(?=\\s)",c=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,d={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+i+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+i),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+i),alias:"property"},splice:{pattern:RegExp(",@?"+i),alias:["symbol","variable"]},keyword:[{pattern:RegExp(a+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+l),lookbehind:!0},{pattern:RegExp(a+"(?:append|by|collect|concat|do|finally|for|in|return)"+l),lookbehind:!0}],declare:{pattern:n(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:n(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:r(/nil|t/.source),lookbehind:!0},number:{pattern:r(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(a+"def(?:const|custom|group|var)\\s+"+i),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(i)}},defun:{pattern:RegExp(a+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+i+/\s+\(/.source+c+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+i),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(a+"lambda\\s+\\(\\s*(?:&?"+i+"(?:\\s+&?"+i+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(a+i),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},f={"lisp-marker":RegExp(s),varform:{pattern:RegExp(/\(/.source+i+/\s+(?=\S)/.source+c+/\)/.source),inside:d},argument:{pattern:RegExp(/(^|[\s(])/.source+i),lookbehind:!0,alias:"variable"},rest:d},p="\\S+(?:\\s+\\S+)*",g={pattern:RegExp(a+c+o),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+p),inside:f},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+p),inside:f},keys:{pattern:RegExp("&key\\s+"+p+"(?:\\s+&allow-other-keys)?"),inside:f},argument:{pattern:RegExp(i),alias:"variable"},punctuation:/[()]/}};d.lambda.inside.arguments=g,d.defun.inside.arguments=t.util.clone(g),d.defun.inside.arguments.inside.sublist=g,t.languages.lisp=d,t.languages.elisp=d,t.languages.emacs=d,t.languages["emacs-lisp"]=d})(e)}XQ.displayName="livescript";XQ.aliases=[];function XQ(e){e.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},e.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=e.languages.livescript}KQ.displayName="llvm";KQ.aliases=[];function KQ(e){(function(t){t.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(e)}JQ.displayName="log";JQ.aliases=[];function JQ(e){e.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:e.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}eV.displayName="lolcode";eV.aliases=[];function eV(e){e.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}tV.displayName="magma";tV.aliases=[];function tV(e){e.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}mN.displayName="mata";mN.aliases=[];function mN(e){(function(t){var n=/\b(?:(?:col|row)?vector|matrix|scalar)\b/.source,r=/\bvoid\b||\b(?:complex|numeric|pointer(?:\s*\([^()]*\))?|real|string|(?:class|struct)\s+\w+|transmorphic)(?:\s*)?/.source.replace(//g,n);t.languages.mata={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/"[^"\r\n]*"|[‘`']".*?"[’`']/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|struct)\s+)\w+(?=\s*(?:\{|\bextends\b))/,lookbehind:!0},type:{pattern:RegExp(r),alias:"class-name",inside:{punctuation:/[()]/,keyword:/\b(?:class|function|struct|void)\b/}},keyword:/\b(?:break|class|continue|do|else|end|extends|external|final|for|function|goto|if|pragma|private|protected|public|return|static|struct|unset|unused|version|virtual|while)\b/,constant:/\bNULL\b/,number:{pattern:/(^|[^\w.])(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|\d[a-f0-9]*(?:\.[a-f0-9]+)?x[+-]?\d+)i?(?![\w.])/i,lookbehind:!0},missing:{pattern:/(^|[^\w.])(?:\.[a-z]?)(?![\w.])/,lookbehind:!0,alias:"symbol"},function:/\b[a-z_]\w*(?=\s*\()/i,operator:/\.\.|\+\+|--|&&|\|\||:?(?:[!=<>]=|[+\-*/^<>&|:])|[!?=\\#’`']/,punctuation:/[()[\]{},;.]/}})(e)}nV.displayName="matlab";nV.aliases=[];function nV(e){e.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}rV.displayName="maxscript";rV.aliases=[];function rV(e){(function(t){var n=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;t.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+n.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+n.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:n,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(e)}iV.displayName="mel";iV.aliases=[];function iV(e){e.languages.mel={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},code:{pattern:/`(?:\\.|[^\\`])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},statement:{pattern:/[\s\S]+/,inside:null}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:{pattern:/((?:^|[{;])[ \t]*)[a-z_]\w*\b(?!\s*(?:\.(?!\.)|[[{=]))|\b[a-z_]\w*(?=[ \t]*\()/im,lookbehind:!0,greedy:!0},"tensor-punctuation":{pattern:/<<|>>/,alias:"punctuation"},operator:/\+[+=]?|-[-=]?|&&|\|\||[<>]=?|[*\/!=]=?|[%^]/,punctuation:/[.,:;?\[\](){}]/},e.languages.mel.code.inside.statement.inside=e.languages.mel}sV.displayName="mermaid";sV.aliases=[];function sV(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}aV.displayName="metafont";aV.aliases=[];function aV(e){e.languages.metafont={comment:{pattern:/%.*/,greedy:!0},string:{pattern:/"[^\r\n"]*"/,greedy:!0},number:/\d*\.?\d+/,boolean:/\b(?:false|true)\b/,punctuation:[/[,;()]/,{pattern:/(^|[^{}])(?:\{|\})(?![{}])/,lookbehind:!0},{pattern:/(^|[^[])\[(?!\[)/,lookbehind:!0},{pattern:/(^|[^\]])\](?!\])/,lookbehind:!0}],constant:[{pattern:/(^|[^!?])\?\?\?(?![!?])/,lookbehind:!0},{pattern:/(^|[^/*\\])(?:\\|\\\\)(?![/*\\])/,lookbehind:!0},/\b(?:_|blankpicture|bp|cc|cm|dd|ditto|down|eps|epsilon|fullcircle|halfcircle|identity|in|infinity|left|mm|nullpen|nullpicture|origin|pc|penrazor|penspeck|pensquare|penstroke|proof|pt|quartercircle|relax|right|smoke|unitpixel|unitsquare|up)\b/],quantity:{pattern:/\b(?:autorounding|blacker|boundarychar|charcode|chardp|chardx|chardy|charext|charht|charic|charwd|currentwindow|day|designsize|displaying|fillin|fontmaking|granularity|hppp|join_radius|month|o_correction|pausing|pen_(?:bot|lft|rt|top)|pixels_per_inch|proofing|showstopping|smoothing|time|tolerance|tracingcapsules|tracingchoices|tracingcommands|tracingedges|tracingequations|tracingmacros|tracingonline|tracingoutput|tracingpens|tracingrestores|tracingspecs|tracingstats|tracingtitles|turningcheck|vppp|warningcheck|xoffset|year|yoffset)\b/,alias:"keyword"},command:{pattern:/\b(?:addto|batchmode|charlist|cull|display|errhelp|errmessage|errorstopmode|everyjob|extensible|fontdimen|headerbyte|inner|interim|let|ligtable|message|newinternal|nonstopmode|numspecial|openwindow|outer|randomseed|save|scrollmode|shipout|show|showdependencies|showstats|showtoken|showvariable|special)\b/,alias:"builtin"},operator:[{pattern:/(^|[^>=<:|])(?:<|<=|=|=:|\|=:|\|=:>|=:\|>|=:\||\|=:\||\|=:\|>|\|=:\|>>|>|>=|:|:=|<>|::|\|\|:)(?![>=<:|])/,lookbehind:!0},{pattern:/(^|[^+-])(?:\+|\+\+|-{1,3}|\+-\+)(?![+-])/,lookbehind:!0},{pattern:/(^|[^/*\\])(?:\*|\*\*|\/)(?![/*\\])/,lookbehind:!0},{pattern:/(^|[^.])(?:\.{2,3})(?!\.)/,lookbehind:!0},{pattern:/(^|[^@#&$])&(?![@#&$])/,lookbehind:!0},/\b(?:and|not|or)\b/],macro:{pattern:/\b(?:abs|beginchar|bot|byte|capsule_def|ceiling|change_width|clear_pen_memory|clearit|clearpen|clearxy|counterclockwise|cullit|cutdraw|cutoff|decr|define_blacker_pixels|define_corrected_pixels|define_good_x_pixels|define_good_y_pixels|define_horizontal_corrected_pixels|define_pixels|define_whole_blacker_pixels|define_whole_pixels|define_whole_vertical_blacker_pixels|define_whole_vertical_pixels|dir|direction|directionpoint|div|dotprod|downto|draw|drawdot|endchar|erase|fill|filldraw|fix_units|flex|font_coding_scheme|font_extra_space|font_identifier|font_normal_shrink|font_normal_space|font_normal_stretch|font_quad|font_size|font_slant|font_x_height|gfcorners|gobble|gobbled|good\.(?:bot|lft|rt|top|x|y)|grayfont|hide|hround|imagerules|incr|interact|interpath|intersectionpoint|inverse|italcorr|killtext|labelfont|labels|lft|loggingall|lowres_fix|makegrid|makelabel(?:\.(?:bot|lft|rt|top)(?:\.nodot)?)?|max|min|mod|mode_def|mode_setup|nodisplays|notransforms|numtok|openit|penlabels|penpos|pickup|proofoffset|proofrule|proofrulethickness|range|reflectedabout|rotatedabout|rotatedaround|round|rt|savepen|screenchars|screenrule|screenstrokes|shipit|showit|slantfont|softjoin|solve|stop|superellipse|tensepath|thru|titlefont|top|tracingall|tracingnone|undraw|undrawdot|unfill|unfilldraw|upto|vround)\b/,alias:"function"},builtin:/\b(?:ASCII|angle|char|cosd|decimal|directiontime|floor|hex|intersectiontimes|jobname|known|length|makepath|makepen|mexp|mlog|normaldeviate|oct|odd|pencircle|penoffset|point|postcontrol|precontrol|reverse|rotated|sind|sqrt|str|subpath|substring|totalweight|turningnumber|uniformdeviate|unknown|xpart|xxpart|xypart|ypart|yxpart|yypart)\b/,keyword:/\b(?:also|at|atleast|begingroup|charexists|contour|controls|curl|cycle|def|delimiters|doublepath|dropping|dump|else|elseif|end|enddef|endfor|endgroup|endinput|exitif|exitunless|expandafter|fi|for|forever|forsuffixes|from|if|input|inwindow|keeping|kern|of|primarydef|quote|readstring|scaled|scantokens|secondarydef|shifted|skipto|slanted|step|tension|tertiarydef|to|transformed|until|vardef|withpen|withweight|xscaled|yscaled|zscaled)\b/,type:{pattern:/\b(?:boolean|expr|numeric|pair|path|pen|picture|primary|secondary|string|suffix|tertiary|text|transform)\b/,alias:"property"},variable:{pattern:/(^|[^@#&$])(?:@#|#@|#|@)(?![@#&$])|\b(?:aspect_ratio|currentpen|currentpicture|currenttransform|d|extra_beginchar|extra_endchar|extra_setup|h|localfont|mag|mode|screen_cols|screen_rows|w|whatever|x|y|z)\b/,lookbehind:!0}}}oV.displayName="mizar";oV.aliases=[];function oV(e){e.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}lV.displayName="mongodb";lV.aliases=[];function lV(e){e.register(wl),function(t){var n=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],r=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];n=n.map(function(s){return s.replace("$","\\$")});var i="(?:"+n.join("|")+")\\b";t.languages.mongodb=t.languages.extend("javascript",{}),t.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+i+"(?:\\1)?$")}}}),t.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},t.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+r.join("|")+")\\b"),alias:"keyword"}})}(e)}uV.displayName="monkey";uV.aliases=[];function uV(e){e.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}cV.displayName="moonscript";cV.aliases=["moon"];function cV(e){e.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=e.languages.moonscript,e.languages.moon=e.languages.moonscript}dV.displayName="n1ql";dV.aliases=[];function dV(e){e.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}fV.displayName="nand2tetris-hdl";fV.aliases=[];function fV(e){e.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}hV.displayName="naniscript";hV.aliases=["nani"];function hV(e){(function(t){var n=/\{[^\r\n\[\]{}]*\}/,r={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:n,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};t.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:n,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:r}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:n,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:r},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},t.languages.nani=t.languages.naniscript,t.hooks.add("after-tokenize",function(a){var o=a.tokens;o.forEach(function(l){if(typeof l!="string"&&l.type==="generic-text"){var c=s(l);i(c)||(l.type="bad-line",l.content=c)}})});function i(a){for(var o="[]{}",l=[],c=0;c=&|$!]/}}mV.displayName="neon";mV.aliases=[];function mV(e){e.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"property"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}gV.displayName="nevod";gV.aliases=[];function gV(e){e.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}bV.displayName="nginx";bV.aliases=[];function bV(e){(function(t){var n=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;t.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:n}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:n}},punctuation:/[{};]/}})(e)}yV.displayName="nim";yV.aliases=[];function yV(e){e.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}vV.displayName="nix";vV.aliases=[];function vV(e){e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},e.languages.nix.string.inside.interpolation.inside=e.languages.nix}SV.displayName="nsis";SV.aliases=[];function SV(e){e.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|KnownFolderPath|LabelAddress|TempFileName|WinVer)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|RtlLanguage|ShellVarContextAll|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|Target|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}OV.displayName="ocaml";OV.aliases=[];function OV(e){e.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}EV.displayName="odin";EV.aliases=[];function EV(e){(function(t){var n=/\\(?:["'\\abefnrtv]|0[0-7]{2}|U[\dA-Fa-f]{6}|u[\dA-Fa-f]{4}|x[\dA-Fa-f]{2})/;t.languages.odin={comment:[{pattern:/\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:\*(?!\/)|[^*])*(?:\*\/|$))*(?:\*\/|$)/,greedy:!0},{pattern:/#![^\n\r]*/,greedy:!0},{pattern:/\/\/[^\n\r]*/,greedy:!0}],char:{pattern:/'(?:\\(?:.|[0Uux][0-9A-Fa-f]{1,6})|[^\n\r'\\])'/,greedy:!0,inside:{symbol:n}},string:[{pattern:/`[^`]*`/,greedy:!0},{pattern:/"(?:\\.|[^\n\r"\\])*"/,greedy:!0,inside:{symbol:n}}],directive:{pattern:/#\w+/,alias:"property"},number:/\b0(?:b[01_]+|d[\d_]+|h_*(?:(?:(?:[\dA-Fa-f]_*){8}){1,2}|(?:[\dA-Fa-f]_*){4})|o[0-7_]+|x[\dA-F_a-f]+|z[\dAB_ab]+)\b|(?:\b\d+(?:\.(?!\.)\d*)?|\B\.\d+)(?:[Ee][+-]?\d*)?[ijk]?(?!\w)/,discard:{pattern:/\b_\b/,alias:"keyword"},"procedure-definition":{pattern:/\b\w+(?=[ \t]*(?::\s*){2}proc\b)/,alias:"function"},keyword:/\b(?:asm|auto_cast|bit_set|break|case|cast|context|continue|defer|distinct|do|dynamic|else|enum|fallthrough|for|foreign|if|import|in|map|matrix|not_in|or_else|or_return|package|proc|return|struct|switch|transmute|typeid|union|using|when|where)\b/,"procedure-name":{pattern:/\b\w+(?=[ \t]*\()/,alias:"function"},boolean:/\b(?:false|nil|true)\b/,"constant-parameter-sign":{pattern:/\$/,alias:"important"},undefined:{pattern:/---/,alias:"operator"},arrow:{pattern:/->/,alias:"punctuation"},operator:/\+\+|--|\.\.[<=]?|(?:&~|[-!*+/=~]|[%&<>|]{1,2})=?|[?^]/,punctuation:/[(),.:;@\[\]{}]/}})(e)}wV.displayName="opencl";wV.aliases=[];function wV(e){e.register(wh),function(t){t.languages.opencl=t.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),t.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var n={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};t.languages.insertBefore("c","keyword",n),t.languages.cpp&&(n["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},t.languages.insertBefore("cpp","keyword",n))}(e)}xV.displayName="openqasm";xV.aliases=["qasm"];function xV(e){e.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},e.languages.qasm=e.languages.openqasm}TV.displayName="oz";TV.aliases=[];function TV(e){e.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}kV.displayName="parigp";kV.aliases=[];function kV(e){e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var t=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return t=t.map(function(n){return n.split("").join(" *")}).join("|"),RegExp("\\b(?:"+t+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}_V.displayName="parser";_V.aliases=[];function _V(e){e.register(el),function(t){var n=t.languages.parser=t.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});n=t.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:n.keyword,variable:n.variable,function:n.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:n.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:n.punctuation}}}),t.languages.insertBefore("inside","punctuation",{expression:n.expression,keyword:n.keyword,variable:n.variable,function:n.function,escape:n.escape,"parser-punctuation":{pattern:n.punctuation,alias:"punctuation"}},n.tag.inside["attr-value"])}(e)}AV.displayName="pascal";AV.aliases=["objectpascal"];function AV(e){e.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},e.languages.pascal.asm.inside=e.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),e.languages.objectpascal=e.languages.pascal}CV.displayName="pascaligo";CV.aliases=[];function CV(e){(function(t){var n=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,r=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return n}),i=t.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return r}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return r}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return r})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},s=["comment","keyword","builtin","operator","punctuation"].reduce(function(a,o){return a[o]=i[o],a},{});i["class-name"].forEach(function(a){a.inside=s})})(e)}RV.displayName="psl";RV.aliases=[];function RV(e){e.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}IV.displayName="pcaxis";IV.aliases=["px"];function IV(e){e.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},e.languages.px=e.languages.pcaxis}DV.displayName="peoplecode";DV.aliases=["pcode"];function DV(e){e.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},e.languages.pcode=e.languages.peoplecode}NV.displayName="phpdoc";NV.aliases=[];function NV(e){e.register(i2),e.register(Hy),function(t){var n=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;t.languages.phpdoc=t.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+n+"\\s+)?)\\$\\w+"),lookbehind:!0}}),t.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+n),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),t.languages.javadoclike.addSupport("php",t.languages.phpdoc)}(e)}PV.displayName="php-extras";PV.aliases=[];function PV(e){e.register(Hy),e.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}LV.displayName="plant-uml";LV.aliases=["plantuml"];function LV(e){(function(t){var n=/\$\w+|%[a-z]+%/,r=/\[[^[\]]*\]/.source,i=/(?:[drlu]|do|down|le|left|ri|right|up)/.source,s="(?:-+"+i+"-+|\\.+"+i+"\\.+|-+(?:"+r+"-*)?|"+r+"-+|\\.+(?:"+r+"\\.*)?|"+r+"\\.+)",a=/(?:<{1,2}|\/{1,2}|\\{1,2}|<\||[#*^+}xo])/.source,o=/(?:>{1,2}|\/{1,2}|\\{1,2}|\|>|[#*^+{xo])/.source,l=/[[?]?[ox]?/.source,c=/[ox]?[\]?]?/.source,d=l+"(?:"+s+o+"|"+a+s+"(?:"+o+")?)"+c;t.languages["plant-uml"]={comment:{pattern:/(^[ \t]*)(?:'.*|\/'[\s\S]*?'\/)/m,lookbehind:!0,greedy:!0},preprocessor:{pattern:/(^[ \t]*)!.*/m,lookbehind:!0,greedy:!0,alias:"property",inside:{variable:n}},delimiter:{pattern:/(^[ \t]*)@(?:end|start)uml\b/m,lookbehind:!0,greedy:!0,alias:"punctuation"},arrow:{pattern:RegExp(/(^|[^-.<>?|\\[\]ox])/.source+d+/(?![-.<>?|\\\]ox])/.source),lookbehind:!0,greedy:!0,alias:"operator",inside:{expression:{pattern:/(\[)[^[\]]+(?=\])/,lookbehind:!0,inside:null},punctuation:/\[(?=$|\])|^\]/}},string:{pattern:/"[^"]*"/,greedy:!0},text:{pattern:/(\[[ \t]*[\r\n]+(?![\r\n]))[^\]]*(?=\])/,lookbehind:!0,greedy:!0,alias:"string"},keyword:[{pattern:/^([ \t]*)(?:abstract\s+class|end\s+(?:box|fork|group|merge|note|ref|split|title)|(?:fork|split)(?:\s+again)?|activate|actor|agent|alt|annotation|artifact|autoactivate|autonumber|backward|binary|boundary|box|break|caption|card|case|circle|class|clock|cloud|collections|component|concise|control|create|critical|database|deactivate|destroy|detach|diamond|else|elseif|end|end[hr]note|endif|endswitch|endwhile|entity|enum|file|folder|footer|frame|group|[hr]?note|header|hexagon|hide|if|interface|label|legend|loop|map|namespace|network|newpage|node|nwdiag|object|opt|package|page|par|participant|person|queue|rectangle|ref|remove|repeat|restore|return|robust|scale|set|show|skinparam|stack|start|state|stop|storage|switch|title|together|usecase|usecase\/|while)(?=\s|$)/m,lookbehind:!0,greedy:!0},/\b(?:elseif|equals|not|while)(?=\s*\()/,/\b(?:as|is|then)\b/],divider:{pattern:/^==.+==$/m,greedy:!0,alias:"important"},time:{pattern:/@(?:\d+(?:[:/]\d+){2}|[+-]?\d+|:[a-z]\w*(?:[+-]\d+)?)\b/i,greedy:!0,alias:"number"},color:{pattern:/#(?:[a-z_]+|[a-fA-F0-9]+)\b/,alias:"symbol"},variable:n,punctuation:/[:,;()[\]{}]|\.{3}/},t.languages["plant-uml"].arrow.inside.expression.inside=t.languages["plant-uml"],t.languages.plantuml=t.languages["plant-uml"]})(e)}MV.displayName="plsql";MV.aliases=[];function MV(e){e.register(e2),e.languages.plsql=e.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),e.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}FV.displayName="powerquery";FV.aliases=["mscript","pq"];function FV(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}$V.displayName="powershell";$V.aliases=[];function $V(e){(function(t){var n=t.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};n.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:n},boolean:n.boolean,variable:n.variable}})(e)}BV.displayName="processing";BV.aliases=[];function BV(e){e.register(mi),e.languages.processing=e.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),e.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}UV.displayName="prolog";UV.aliases=[];function UV(e){e.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}zV.displayName="promql";zV.aliases=[];function zV(e){(function(t){var n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],r=["on","ignoring","group_right","group_left","by","without"],i=["offset"],s=n.concat(r,i);t.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+r.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+s.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(e)}HV.displayName="properties";HV.aliases=[];function HV(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,value:{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0,alias:"attr-value"},key:{pattern:/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,alias:"attr-name"},punctuation:/[=:]/}}qV.displayName="protobuf";qV.aliases=[];function qV(e){e.register(mi),function(t){var n=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;t.languages.protobuf=t.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),t.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:n}},builtin:n,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}(e)}jV.displayName="stylus";jV.aliases=[];function jV(e){(function(t){var n={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},r={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},i={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:n,number:r,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:n,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:r,punctuation:/[{}()\[\];:,]/};i.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:i}},i.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:i}},t.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:i}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:i}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:i}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:i.interpolation}},rest:i}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:i.interpolation,comment:i.comment,punctuation:/[{},]/}},func:i.func,string:i.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:i.interpolation,punctuation:/[{}()\[\];:.]/}})(e)}WV.displayName="twig";WV.aliases=[];function WV(e){e.register(xl),e.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},e.hooks.add("before-tokenize",function(t){if(t.language==="twig"){var n=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;e.languages["markup-templating"].buildPlaceholders(t,"twig",n)}}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"twig")})}QV.displayName="pug";QV.aliases=[];function QV(e){e.register(wl),e.register(el),function(t){t.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:t.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:t.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:t.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:t.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:t.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:t.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:t.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:t.languages.javascript}],punctuation:/[.\-!=|]+/};for(var n=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,r=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],i={},s=0,a=r.length;s",function(){return o.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[o.language,"language-"+o.language],inside:t.languages[o.language]}}})}t.languages.insertBefore("pug","filter",i)}(e)}VV.displayName="puppet";VV.aliases=[];function VV(e){(function(t){t.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var n=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:t.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];t.languages.puppet.heredoc[0].inside.interpolation=n,t.languages.puppet.string.inside["double-quoted"].inside.interpolation=n})(e)}GV.displayName="pure";GV.aliases=[];function GV(e){(function(t){t.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var n=["c",{lang:"c++",alias:"cpp"},"fortran"],r=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;n.forEach(function(i){var s=i;if(typeof i!="string"&&(s=i.alias,i=i.lang),t.languages[s]){var a={};a["inline-lang-"+s]={pattern:RegExp(r.replace("",i.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:t.util.clone(t.languages.pure["inline-lang"].inside)},a["inline-lang-"+s].inside.rest=t.util.clone(t.languages[s]),t.languages.insertBefore("pure","inline-lang",a)}}),t.languages.c&&(t.languages.pure["inline-lang"].inside.rest=t.util.clone(t.languages.c))})(e)}YV.displayName="purebasic";YV.aliases=["pbfasm"];function YV(e){e.register(mi),e.languages.purebasic=e.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+\$?|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),e.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete e.languages.purebasic["class-name"],delete e.languages.purebasic.boolean,e.languages.pbfasm=e.languages.purebasic}ZV.displayName="purescript";ZV.aliases=["purs"];function ZV(e){e.register(_A),e.languages.purescript=e.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[e.languages.haskell.operator[0],e.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),e.languages.purs=e.languages.purescript}XV.displayName="qsharp";XV.aliases=["qs"];function XV(e){e.register(mi),function(t){function n(g,b){return g.replace(/<<(\d+)>>/g,function(w,x){return"(?:"+b[+x]+")"})}function r(g,b,w){return RegExp(n(g,b),"")}function i(g,b){for(var w=0;w>/g,function(){return"(?:"+g+")"});return g.replace(/<>/g,"[^\\s\\S]")}var s={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function a(g){return"\\b(?:"+g.trim().replace(/ /g,"|")+")\\b"}var o=RegExp(a(s.type+" "+s.other)),l=/\b[A-Za-z_]\w*\b/.source,c=n(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[l]),d={keyword:o,punctuation:/[<>()?,.:[\]]/},f=/"(?:\\.|[^\\"])*"/.source;t.languages.qsharp=t.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[f]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:r(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[c]),lookbehind:!0,inside:d},{pattern:r(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[c]),lookbehind:!0,inside:d}],keyword:o,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),t.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var p=i(n(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[f]),2);t.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:r(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[p]),greedy:!0,inside:{interpolation:{pattern:r(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[p]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:t.languages.qsharp}}},string:/[\s\S]+/}}})}(e),e.languages.qs=e.languages.qsharp}KV.displayName="q";KV.aliases=[];function KV(e){e.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}JV.displayName="qml";JV.aliases=[];function JV(e){e.register(wl),function(t){for(var n=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,r=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,i=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return n}).replace(//g,function(){return r}),s=0;s<2;s++)i=i.replace(//g,function(){return i});i=i.replace(//g,"[^\\s\\S]"),t.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return i}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:t.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return i}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:t.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(e)}eG.displayName="qore";eG.aliases=[];function eG(e){e.register(mi),e.languages.qore=e.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}tG.displayName="racket";tG.aliases=["rkt"];function tG(e){e.register(AA),e.languages.racket=e.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),e.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),e.languages.rkt=e.languages.racket}nG.displayName="cshtml";nG.aliases=["razor"];function nG(e){e.register(Uy),e.register(el),function(t){var n=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,r=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function i(_,C){for(var I=0;I/g,function(){return"(?:"+_+")"});return _.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+r+")").replace(//g,"(?:"+n+")")}var s=i(/\((?:[^()'"@/]|||)*\)/.source,2),a=i(/\[(?:[^\[\]'"@/]|||)*\]/.source,1),o=i(/\{(?:[^{}'"@/]|||)*\}/.source,2),l=i(/<(?:[^<>'"@/]||)*>/.source,1),c=/@/.source+/(?:await\b\s*)?/.source+"(?:"+/(?!await\b)\w+\b/.source+"|"+s+")(?:"+/[?!]?\.\w+\b/.source+"|(?:"+l+")?"+s+"|"+a+")*"+/(?![?!\.(\[]|<(?!\/))/.source,d=/@(?![\w()])/.source+"|"+c,f="(?:"+/"[^"@]*"|'[^'@]*'|[^\s'"@>=]+(?=[\s>])/.source+`|["'][^"'@]*(?:(?:`+d+`)[^"'@]*)+["'])`,p=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*|(?=[\s/>])))+)?/.source.replace(//,f),g=/(?!\d)[^\s>\/=$<%]+/.source+p+/\s*\/?>/.source,b=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+p+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+g+"|"+i(/<\1/.source+p+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+g+"|")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/*\.{3}(?:[^{}]|)*\})/.source;function a(c,d){return c=c.replace(//g,function(){return r}).replace(//g,function(){return i}).replace(//g,function(){return s}),RegExp(c,d)}s=a(s).source,t.languages.jsx=t.languages.extend("markup",n),t.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),t.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,t.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,t.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,t.languages.jsx.tag.inside.comment=n.comment,t.languages.insertBefore("inside","attr-name",{spread:{pattern:a(//.source),inside:t.languages.jsx}},t.languages.jsx.tag),t.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:t.languages.jsx}}},t.languages.jsx.tag);var o=function(c){return c?typeof c=="string"?c:typeof c.content=="string"?c.content:c.content.map(o).join(""):""},l=function(c){for(var d=[],f=0;f0&&d[d.length-1].tagName===o(p.content[0].content[1])&&d.pop():p.content[p.content.length-1].content==="/>"||d.push({tagName:o(p.content[0].content[1]),openedBraces:0}):d.length>0&&p.type==="punctuation"&&p.content==="{"?d[d.length-1].openedBraces++:d.length>0&&d[d.length-1].openedBraces>0&&p.type==="punctuation"&&p.content==="}"?d[d.length-1].openedBraces--:g=!0),(g||typeof p=="string")&&d.length>0&&d[d.length-1].openedBraces===0){var b=o(p);f0&&(typeof c[f-1]=="string"||c[f-1].type==="plain-text")&&(b=o(c[f-1])+b,c.splice(f-1,1),f--),c[f]=new t.Token("plain-text",b,null,b)}p.content&&typeof p.content!="string"&&l(p.content)}};t.hooks.add("after-tokenize",function(c){c.language!=="jsx"&&c.language!=="tsx"||l(c.tokens)})}(e)}rG.displayName="tsx";rG.aliases=[];function rG(e){e.register(gN),e.register(t2),function(t){var n=t.util.clone(t.languages.typescript);t.languages.tsx=t.languages.extend("jsx",n),delete t.languages.tsx.parameter,delete t.languages.tsx["literal-property"];var r=t.languages.tsx.tag;r.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+r.pattern.source+")",r.pattern.flags),r.lookbehind=!0}(e)}iG.displayName="reason";iG.aliases=[];function iG(e){e.register(mi),e.languages.reason=e.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),e.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete e.languages.reason.function}sG.displayName="rego";sG.aliases=[];function sG(e){e.languages.rego={comment:/#.*/,property:{pattern:/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,boolean:/\b(?:false|true)\b/,function:{pattern:/\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,inside:{namespace:/\b\w+\b(?=\s*\.)/,punctuation:/\./}},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/[-+*/%|&]|[<>:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}aG.displayName="renpy";aG.aliases=["rpy"];function aG(e){e.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},e.languages.rpy=e.languages.renpy}oG.displayName="rescript";oG.aliases=["res"];function oG(e){e.languages.rescript={comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},char:{pattern:/'(?:[^\r\n\\]|\\(?:.|\w+))'/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*|@[a-z.]*|#[A-Za-z]\w*|#\d/,function:{pattern:/[a-zA-Z]\w*(?=\()|(\.)[a-z]\w*/,lookbehind:!0},number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,boolean:/\b(?:false|true)\b/,"attr-value":/[A-Za-z]\w*(?==)/,constant:{pattern:/(\btype\s+)[a-z]\w*/,lookbehind:!0},tag:{pattern:/(<)[a-z]\w*|(?:<\/)[a-z]\w*/,lookbehind:!0,inside:{operator:/<|>|\//}},keyword:/\b(?:and|as|assert|begin|bool|class|constraint|do|done|downto|else|end|exception|external|float|for|fun|function|if|in|include|inherit|initializer|int|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|string|switch|then|to|try|type|when|while|with)\b/,operator:/\.{3}|:[:=]?|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/,punctuation:/[(){}[\],;.]/},e.languages.insertBefore("rescript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"tag"},rest:e.languages.rescript}},string:/[\s\S]+/}}}),e.languages.res=e.languages.rescript}lG.displayName="rest";lG.aliases=[];function lG(e){e.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}uG.displayName="rip";uG.aliases=[];function uG(e){e.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}cG.displayName="roboconf";cG.aliases=[];function cG(e){e.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}dG.displayName="robotframework";dG.aliases=["robot"];function dG(e){(function(t){var n={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},r={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function i(l,c){var d={};d["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var f in c)d[f]=c[f];return d.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},d.variable=r,d.comment=n,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return l}),"im"),alias:"section",inside:d}}var s={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},a={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:r}},o={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:r}};t.languages.robotframework={settings:i("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:i("Variables"),"test-cases":i("Test Cases",{"test-name":a,documentation:s,property:o}),keywords:i("Keywords",{"keyword-name":a,documentation:s,property:o}),tasks:i("Tasks",{"task-name":a,documentation:s,property:o}),comment:n},t.languages.robot=t.languages.robotframework})(e)}fG.displayName="sas";fG.aliases=[];function fG(e){(function(t){var n=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,r=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,i={pattern:RegExp(n+"[bx]"),alias:"number"},s={pattern:/&[a-z_]\w*/i},a={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},o={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},l=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],c={pattern:RegExp(n),greedy:!0},d=/[$%@.(){}\[\];,\\]/,f={pattern:/%?\b\w+(?=\()/,alias:"keyword"},p={function:f,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":s,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:r,"numeric-constant":i,punctuation:d,string:c},g={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},b={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},w={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},x={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},T=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,_={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return T}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return T}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:l,function:f,"arg-value":p["arg-value"],operator:p.operator,argument:p.arg,number:r,"numeric-constant":i,punctuation:d,string:c}},C={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};t.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return n}),"im"),alias:"language-sql",inside:t.languages.sql},"global-statements":w,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:r,"numeric-constant":i,punctuation:d,string:c}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:l,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return n}),"im"),lookbehind:!0,alias:"language-groovy",inside:t.languages.groovy},keyword:C,"submit-statement":x,"global-statements":w,number:r,"numeric-constant":i,punctuation:d,string:c}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:l,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return n}),"im"),lookbehind:!0,alias:"language-lua",inside:t.languages.lua},keyword:C,"submit-statement":x,"global-statements":w,number:r,"numeric-constant":i,punctuation:d,string:c}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:l,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:p}},"cas-actions":_,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:p},step:o,keyword:C,function:f,format:g,altformat:b,"global-statements":w,number:r,"numeric-constant":i,punctuation:d,string:c}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return n}),"im"),lookbehind:!0,inside:p},"macro-keyword":a,"macro-variable":s,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":a,"macro-variable":s,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:d}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:l,number:r,"numeric-constant":i}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:p},"cas-actions":_,comment:l,function:f,format:g,altformat:b,"numeric-constant":i,datetime:{pattern:RegExp(n+"(?:dt?|t)"),alias:"number"},string:c,step:o,keyword:C,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:r,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:d}})(e)}hG.displayName="shell-session";hG.aliases=["sh-session","shellsession"];function hG(e){e.register(SA),function(t){var n=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");t.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return n}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:t.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},t.languages["sh-session"]=t.languages.shellsession=t.languages["shell-session"]}(e)}pG.displayName="smali";pG.aliases=[];function pG(e){e.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}mG.displayName="smalltalk";mG.aliases=[];function mG(e){e.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}gG.displayName="smarty";gG.aliases=[];function gG(e){e.register(xl),function(t){t.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:t.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},t.languages.smarty["embedded-php"].inside.smarty.inside=t.languages.smarty,t.languages.smarty.string[0].inside.interpolation.inside.expression.inside=t.languages.smarty;var n=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,r=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return n.source}),"g");t.hooks.add("before-tokenize",function(i){var s="{literal}",a="{/literal}",o=!1;t.languages["markup-templating"].buildPlaceholders(i,"smarty",r,function(l){return l===a&&(o=!1),o?!1:(l===s&&(o=!0),!0)})}),t.hooks.add("after-tokenize",function(i){t.languages["markup-templating"].tokenizePlaceholders(i,"smarty")})}(e)}bG.displayName="sml";bG.aliases=["smlnj"];function bG(e){(function(t){var n=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;t.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return n.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:n,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},t.languages.sml["class-name"][0].inside=t.languages.sml,t.languages.smlnj=t.languages.sml})(e)}yG.displayName="solidity";yG.aliases=["sol"];function yG(e){e.register(mi),e.languages.solidity=e.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),e.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),e.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),e.languages.sol=e.languages.solidity}vG.displayName="solution-file";vG.aliases=["sln"];function vG(e){(function(t){var n={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};t.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:n}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:n}},guid:n,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},t.languages.sln=t.languages["solution-file"]})(e)}SG.displayName="soy";SG.aliases=[];function SG(e){e.register(xl),function(t){var n=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,r=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;t.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:n,greedy:!0},number:r,punctuation:/[\[\].?]/}},string:{pattern:n,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:r,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},t.hooks.add("before-tokenize",function(i){var s=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,a="{literal}",o="{/literal}",l=!1;t.languages["markup-templating"].buildPlaceholders(i,"soy",s,function(c){return c===o&&(l=!1),l?!1:(c===a&&(l=!0),!0)})}),t.hooks.add("after-tokenize",function(i){t.languages["markup-templating"].tokenizePlaceholders(i,"soy")})}(e)}bN.displayName="turtle";bN.aliases=["trig"];function bN(e){e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},e.languages.trig=e.languages.turtle}OG.displayName="sparql";OG.aliases=["rq"];function OG(e){e.register(bN),e.languages.sparql=e.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),e.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),e.languages.rq=e.languages.sparql}EG.displayName="splunk-spl";EG.aliases=[];function EG(e){e.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}wG.displayName="sqf";wG.aliases=[];function wG(e){e.register(mi),e.languages.sqf=e.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),e.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:e.languages.sqf.comment}}}),delete e.languages.sqf["class-name"]}xG.displayName="squirrel";xG.aliases=[];function xG(e){e.register(mi),e.languages.squirrel=e.languages.extend("clike",{comment:[e.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),e.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}TG.displayName="stan";TG.aliases=[];function TG(e){(function(t){var n=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;t.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+n.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,n],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},t.languages.stan.constraint.inside.expression.inside=t.languages.stan})(e)}kG.displayName="stata";kG.aliases=[];function kG(e){e.register(zy),e.register(mN),e.register(wA),e.languages.stata={comment:[{pattern:/(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|\s)\/\/.*|\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0}],"string-literal":{pattern:/"[^"\r\n]*"|[‘`']".*?"[’`']/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}|[‘`']\w[^’`'\r\n]*[’`']/,inside:{punctuation:/^\$\{|\}$/,expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},mata:{pattern:/(^[ \t]*mata[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-mata",inside:e.languages.mata},java:{pattern:/(^[ \t]*java[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-java",inside:e.languages.java},python:{pattern:/(^[ \t]*python[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-python",inside:e.languages.python},command:{pattern:/(^[ \t]*(?:\.[ \t]+)?(?:(?:bayes|bootstrap|by|bysort|capture|collect|fmm|fp|frame|jackknife|mfp|mi|nestreg|noisily|permute|quietly|rolling|simulate|statsby|stepwise|svy|version|xi)\b[^:\r\n]*:[ \t]*|(?:capture|noisily|quietly|version)[ \t]+)?)[a-zA-Z]\w*/m,lookbehind:!0,greedy:!0,alias:"keyword"},variable:/\$\w+|[‘`']\w[^’`'\r\n]*[’`']/,keyword:/\b(?:bayes|bootstrap|by|bysort|capture|clear|collect|fmm|fp|frame|if|in|jackknife|mi[ \t]+estimate|mfp|nestreg|noisily|of|permute|quietly|rolling|simulate|sort|statsby|stepwise|svy|varlist|version|xi)\b/,boolean:/\b(?:off|on)\b/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+/,function:/\b[a-z_]\w*(?=\()/i,operator:/\+\+|--|##?|[<>!=~]=?|[+\-*^&|/]/,punctuation:/[(){}[\],:]/},e.languages.stata["string-literal"].inside.interpolation.inside.expression.inside=e.languages.stata}_G.displayName="iecst";_G.aliases=[];function _G(e){e.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}AG.displayName="supercollider";AG.aliases=["sclang"];function AG(e){e.languages.supercollider={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^"\\]|\\[\s\S])*"/,lookbehind:!0,greedy:!0},char:{pattern:/\$(?:[^\\\r\n]|\\.)/,greedy:!0},symbol:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'|\\\w+/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|arg|classvar|const|nil|var|while)\b/,boolean:/\b(?:false|true)\b/,label:{pattern:/\b[a-z_]\w*(?=\s*:)/,alias:"property"},number:/\b(?:inf|pi|0x[0-9a-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(?:pi)?|\d+r[0-9a-zA-Z]+(?:\.[0-9a-zA-Z]+)?|\d+[sb]{1,4}\d*)\b/,"class-name":/\b[A-Z]\w*\b/,operator:/\.{2,3}|#(?![[{])|&&|[!=]==?|\+>>|\+{1,3}|-[->]|=>|>>|\?\?|@\|?@|\|(?:@|[!=]=)?\||!\?|<[!=>]|\*{1,2}|<{2,3}\*?|[-!%&/<>?@|=`]/,punctuation:/[{}()[\].:,;]|#[[{]/},e.languages.sclang=e.languages.supercollider}CG.displayName="systemd";CG.aliases=[];function CG(e){(function(t){var n={pattern:/^[;#].*/m,greedy:!0},r=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;t.languages.systemd={comment:n,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+r+`|(?=[^"\r +|(?![\\s\\S])))+`,"m"),alias:s,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(r)[0]}}}}),Object.defineProperty(t.languages.diff,"PREFIXES",{value:n})})(e)}JD.displayName="go";JD.aliases=[];function JD(e){e.register(mi),e.languages.go=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete e.languages.go["class-name"]}eN.displayName="ini";eN.aliases=[];function eN(e){e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}zy.displayName="java";zy.aliases=[];function zy(e){e.register(mi),function(t){var n=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,i={pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};t.languages.java=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[i,{pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:i.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+r+/[A-Z]\w*\b/.source),lookbehind:!0,inside:i.inside}],keyword:n,function:[t.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),t.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),t.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":i,keyword:n,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+r+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:i.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+r+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:i.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return n.source})),lookbehind:!0,inside:{punctuation:/\./}}})}(e)}tN.displayName="regex";tN.aliases=[];function tN(e){(function(t){var n={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},r=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,i={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},s={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},a="(?:[^\\\\-]|"+r.source+")",o=RegExp(a+"-"+a),l={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};t.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:o,inside:{escape:r,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":n,"char-set":s,escape:r}},"special-escape":n,"char-set":i,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":l}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:r,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]||&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}JE.displayName="json";JE.aliases=["webmanifest"];function JE(e){e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json}nN.displayName="kotlin";nN.aliases=["kt","kts"];function nN(e){e.register(mi),function(t){t.languages.kotlin=t.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete t.languages.kotlin["class-name"];var n={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:t.languages.kotlin}};t.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:n},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:n},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete t.languages.kotlin.string,t.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),t.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),t.languages.kt=t.languages.kotlin,t.languages.kts=t.languages.kotlin}(e)}rN.displayName="less";rN.aliases=[];function rN(e){e.register(A1),e.languages.less=e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}OA.displayName="lua";OA.aliases=[];function OA(e){e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}iN.displayName="makefile";iN.aliases=[];function iN(e){e.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}EA.displayName="yaml";EA.aliases=["yml"];function EA(e){(function(t){var n=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+r.source+"(?:[ ]+"+n.source+")?|"+n.source+"(?:[ ]+"+r.source+")?)",s=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(l,c){c=(c||"").replace(/m/g,"")+"m";var d=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return l});return RegExp(d,c)}t.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return"(?:"+s+"|"+a+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(a),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:n,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},t.languages.yml=t.languages.yaml})(e)}sN.displayName="markdown";sN.aliases=["md"];function sN(e){e.register(el),function(t){var n=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function r(o){return o=o.replace(//g,function(){return n}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+o+")")}var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,s=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;t.languages.markdown=t.languages.extend("markup",{}),t.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:t.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+s+a+"(?:"+s+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+s+a+")(?:"+s+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:t.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+s+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+s+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:t.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:r(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:r(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:r(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:r(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(o){["url","bold","italic","strike","code-snippet"].forEach(function(l){o!==l&&(t.languages.markdown[o].inside.content.inside[l]=t.languages.markdown[l])})}),t.hooks.add("after-tokenize",function(o){if(o.language!=="markdown"&&o.language!=="md")return;function l(c){if(!(!c||typeof c=="string"))for(var d=0,f=c.length;d]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete e.languages.objectivec["class-name"],e.languages.objc=e.languages.objectivec}oN.displayName="perl";oN.aliases=[];function oN(e){(function(t){var n=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;t.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,n].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,n].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,n+/\s*/.source+n].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(e)}xl.displayName="markup-templating";xl.aliases=[];function xl(e){e.register(el),function(t){function n(r,i){return"___"+r.toUpperCase()+i+"___"}Object.defineProperties(t.languages["markup-templating"]={},{buildPlaceholders:{value:function(r,i,s,a){if(r.language===i){var o=r.tokenStack=[];r.code=r.code.replace(s,function(l){if(typeof a=="function"&&!a(l))return l;for(var c=o.length,d;r.code.indexOf(d=n(i,c))!==-1;)++c;return o[c]=l,d}),r.grammar=t.languages.markup}}},tokenizePlaceholders:{value:function(r,i){if(r.language!==i||!r.tokenStack)return;r.grammar=t.languages[i];var s=0,a=Object.keys(r.tokenStack);function o(l){for(var c=0;c=a.length);c++){var d=l[c];if(typeof d=="string"||d.content&&typeof d.content=="string"){var f=a[s],p=r.tokenStack[f],g=typeof d=="string"?d:d.content,b=n(i,f),w=g.indexOf(b);if(w>-1){++s;var x=g.substring(0,w),T=new t.Token(i,t.tokenize(p,r.grammar),"language-"+i,p),_=g.substring(w+b.length),C=[];x&&C.push.apply(C,o([x])),C.push(T),_&&C.push.apply(C,o([_])),typeof d=="string"?l.splice.apply(l,[c,1].concat(C)):d.content=C}}else d.content&&o(d.content)}return l}o(r.tokens)}}})}(e)}Hy.displayName="php";Hy.aliases=[];function Hy(e){e.register(xl),function(t){var n=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,r=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],i=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,s=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,a=/[{}\[\](),:;]/;t.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:n,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:i,operator:s,punctuation:a};var o={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:t.languages.php},l=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:o}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:o}}];t.languages.insertBefore("php","variable",{string:l,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:n,string:l,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,number:i,operator:s,punctuation:a}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),t.hooks.add("before-tokenize",function(c){if(/<\?/.test(c.code)){var d=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;t.languages["markup-templating"].buildPlaceholders(c,"php",d)}}),t.hooks.add("after-tokenize",function(c){t.languages["markup-templating"].tokenizePlaceholders(c,"php")})}(e)}wA.displayName="python";wA.aliases=["py"];function wA(e){e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}lN.displayName="r";lN.aliases=[];function lN(e){e.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}qy.displayName="ruby";qy.aliases=["rb"];function qy(e){e.register(mi),function(t){t.languages.ruby=t.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),t.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var n={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:t.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete t.languages.ruby.function;var r="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",i=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;t.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+r+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:n,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:n,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+i),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+i+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),t.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+r),greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:n,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+r),greedy:!0,inside:{interpolation:n,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:n,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete t.languages.ruby.string,t.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),t.languages.rb=t.languages.ruby}(e)}uN.displayName="rust";uN.aliases=[];function uN(e){(function(t){for(var n=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,r=0;r<2;r++)n=n.replace(//g,function(){return n});n=n.replace(//g,function(){return/[^\s\S]/.source}),t.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+n),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},t.languages.rust["closure-params"].inside.rest=t.languages.rust,t.languages.rust.attribute.inside.string=t.languages.rust.string})(e)}cN.displayName="sass";cN.aliases=[];function cN(e){e.register(A1),function(t){t.languages.sass=t.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),t.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete t.languages.sass.atrule;var n=/\$[-\w]+|#\{\$[-\w]+\}/,r=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];t.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:n,operator:r}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:n,operator:r,important:t.languages.sass.important}}}),delete t.languages.sass.property,delete t.languages.sass.important,t.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(e)}dN.displayName="scss";dN.aliases=[];function dN(e){e.register(A1),e.languages.scss=e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),e.languages.scss.atrule.inside.rest=e.languages.scss}e2.displayName="sql";e2.aliases=[];function e2(e){e.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}fN.displayName="swift";fN.aliases=[];function fN(e){e.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},e.languages.swift["string-literal"].forEach(function(t){t.inside.interpolation.inside=e.languages.swift})}t2.displayName="typescript";t2.aliases=["ts"];function t2(e){e.register(wl),function(t){t.languages.typescript=t.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),t.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete t.languages.typescript.parameter,delete t.languages.typescript["literal-property"];var n=t.languages.extend("typescript",{});delete n["class-name"],t.languages.typescript["class-name"].inside=n,t.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n}}}}),t.languages.ts=t.languages.typescript}(e)}xA.displayName="basic";xA.aliases=[];function xA(e){e.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}TA.displayName="vbnet";TA.aliases=[];function TA(e){e.register(xA),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}class kA{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}kA.prototype.property={};kA.prototype.normal={};kA.prototype.space=null;function Yye(e,t){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&Ect.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(Yie,Tct);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!Yie.test(s)){let a=s.replace(wct,xct);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}i=Oj}return new i(r,t)}function xct(e){return"-"+e.toLowerCase()}function Tct(e){return e.charAt(1).toUpperCase()}const kct={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},C1=Yye([Kye,Xye,tve,nve,Sct],"html"),xh=Yye([Kye,Xye,tve,nve,Oct],"svg"),Zie=/[#.]/g;function _ct(e,t){const n=e||"",r={};let i=0,s,a;for(;i=48&&t<=57}function Pct(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function Lct(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function Jie(e){return Lct(e)||sve(e)}const ese=document.createElement("i");function e_(e){const t="&"+e+";";ese.innerHTML=t;const n=ese.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}const Xv=String.fromCharCode,Mct=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function Fct(e,t={}){const n=typeof t.additional=="string"?t.additional.charCodeAt(0):t.additional,r=[];let i=0,s=-1,a="",o,l;t.position&&("start"in t.position||"indent"in t.position?(l=t.position.indent,o=t.position.start):o=t.position);let c=(o?o.line:0)||1,d=(o?o.column:0)||1,f=g(),p;for(i--;++i<=e.length;)if(p===10&&(d=(l?l[s]:0)||1),p=e.charCodeAt(i),p===38){const x=e.charCodeAt(i+1);if(x===9||x===10||x===12||x===32||x===38||x===60||Number.isNaN(x)||n&&x===n){a+=Xv(p),d++;continue}const T=i+1;let _=T,C=T,I;if(x===35){C=++_;const se=e.charCodeAt(C);se===88||se===120?(I="hexadecimal",C=++_):I="decimal"}else I="named";let M="",$="",B="";const j=I==="named"?Jie:I==="decimal"?sve:Pct;for(C--;++C<=e.length;){const se=e.charCodeAt(C);if(!j(se))break;B+=Xv(se),I==="named"&&ive.includes(B)&&(M=B,$=e_(B))}let F=e.charCodeAt(C)===59;if(F){C++;const se=I==="named"?e_(B):!1;se&&(M=B,$=se)}let V=1+C-T,ie="";if(!(!F&&t.nonTerminated===!1))if(!B)I!=="named"&&b(4,V);else if(I==="named"){if(F&&!$)b(5,1);else if(M!==B&&(C=_+M.length,V=1+C-_,F=!1),!F){const se=M?1:3;if(t.attribute){const me=e.charCodeAt(C);me===61?(b(se,V),$=""):Jie(me)?$="":b(se,V)}else b(se,V)}ie=$}else{F||b(2,V);let se=Number.parseInt(B,I==="hexadecimal"?16:10);if($ct(se))b(7,V),ie=Xv(65533);else if(se in Kie)b(6,V),ie=Kie[se];else{let me="";Bct(se)&&b(6,V),se>65535&&(se-=65536,me+=Xv(se>>>10|55296),se=56320|se&1023),ie=me+Xv(se)}}if(ie){w(),f=g(),i=C-1,d+=C-T+1,r.push(ie);const se=g();se.offset++,t.reference&&t.reference.call(t.referenceContext,ie,{start:f,end:se},e.slice(T-1,C)),f=se}else B=e.slice(T-1,C),a+=B,d+=B.length,i=C-1}else p===10&&(c++,s++,d=0),Number.isNaN(p)?w():(a+=Xv(p),d++);return r.join("");function g(){return{line:c,column:d,offset:i+((o?o.offset:0)||0)}}function b(x,T){let _;t.warning&&(_=g(),_.column+=T,_.offset+=T,t.warning.call(t.warningContext,Mct[x],_,x))}function w(){a&&(r.push(a),t.text&&t.text.call(t.textContext,a,{start:f,end:g()}),a="")}}function $ct(e){return e>=55296&&e<=57343||e>1114111}function Bct(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}var Uct=0,a3={},jo={util:{type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++Uct}),e.__id},clone:function e(t,n){n=n||{};var r,i;switch(jo.util.type(t)){case"Object":if(i=jo.util.objId(t),n[i])return n[i];r={},n[i]=r;for(var s in t)t.hasOwnProperty(s)&&(r[s]=e(t[s],n));return r;case"Array":return i=jo.util.objId(t),n[i]?n[i]:(r=[],n[i]=r,t.forEach(function(a,o){r[o]=e(a,n)}),r);default:return t}}},languages:{plain:a3,plaintext:a3,text:a3,txt:a3,extend:function(e,t){var n=jo.util.clone(jo.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){r=r||jo.languages;var i=r[e],s={};for(var a in i)if(i.hasOwnProperty(a)){if(a==t)for(var o in n)n.hasOwnProperty(o)&&(s[o]=n[o]);n.hasOwnProperty(a)||(s[a]=i[a])}var l=r[e];return r[e]=s,jo.languages.DFS(jo.languages,function(c,d){d===l&&c!=e&&(this[c]=s)}),s},DFS:function e(t,n,r,i){i=i||{};var s=jo.util.objId;for(var a in t)if(t.hasOwnProperty(a)){n.call(t,a,t[a],r||a);var o=t[a],l=jo.util.type(o);l==="Object"&&!i[s(o)]?(i[s(o)]=!0,e(o,n,null,i)):l==="Array"&&!i[s(o)]&&(i[s(o)]=!0,e(o,n,a,i))}}},plugins:{},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(jo.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=jo.tokenize(r.code,r.grammar),jo.hooks.run("after-tokenize",r),NT.stringify(jo.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var i=new zct;return dR(i,i.head,e),ave(e,i,t,i.head,0),qct(i)},hooks:{all:{},add:function(e,t){var n=jo.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=jo.hooks.all[e];if(!(!n||!n.length))for(var r=0,i;i=n[r++];)i(t)}},Token:NT};function NT(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=(r||"").length|0}function tse(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var s=i[1].length;i.index+=s,i[0]=i[0].slice(s)}return i}function ave(e,t,n,r,i,s){for(var a in n)if(!(!n.hasOwnProperty(a)||!n[a])){var o=n[a];o=Array.isArray(o)?o:[o];for(var l=0;l=s.reach);T+=x.value.length,x=x.next){var _=x.value;if(t.length>e.length)return;if(!(_ instanceof NT)){var C=1,I;if(p){if(I=tse(w,T,e,f),!I||I.index>=e.length)break;var j=I.index,M=I.index+I[0].length,$=T;for($+=x.value.length;j>=$;)x=x.next,$+=x.value.length;if($-=x.value.length,T=$,x.value instanceof NT)continue;for(var B=x;B!==t.tail&&($s.reach&&(s.reach=se);var me=x.prev;V&&(me=dR(t,me,V),T+=V.length),Hct(t,me,C);var fe=new NT(a,d?jo.tokenize(F,d):F,g,F);if(x=dR(t,me,fe),ie&&dR(t,x,ie),C>1){var le={cause:a+","+l,reach:se};ave(e,t,n,x.prev,T,le),s&&le.reach>s.reach&&(s.reach=le.reach)}}}}}}function zct(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function dR(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}function Hct(e,t,n){for(var r=t.next,i=0;i]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}wj.displayName="abnf";wj.aliases=[];function wj(e){(function(t){var n="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";t.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+n+"|<"+n+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(e)}xj.displayName="actionscript";xj.aliases=[];function xj(e){e.register(wl),e.languages.actionscript=e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),e.languages.actionscript["class-name"].alias="function",delete e.languages.actionscript.parameter,delete e.languages.actionscript["literal-property"],e.languages.markup&&e.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:e.languages.markup}})}Tj.displayName="ada";Tj.aliases=[];function Tj(e){e.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],attribute:{pattern:/\b'\w+/,alias:"attr-name"},keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|or|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}kj.displayName="agda";kj.aliases=[];function kj(e){(function(t){t.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(e)}_j.displayName="al";_j.aliases=[];function _j(e){e.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}Aj.displayName="antlr4";Aj.aliases=["g4"];function Aj(e){e.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},e.languages.g4=e.languages.antlr4}Cj.displayName="apacheconf";Cj.aliases=[];function Cj(e){e.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}Rj.displayName="apex";Rj.aliases=[];function Rj(e){e.register(mi),e.register(e2),function(t){var n=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,r=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return n.source});function i(a){return RegExp(a.replace(//g,function(){return r}),"i")}var s={keyword:n,punctuation:/[()\[\]{};,:.<>]/};t.languages.apex={comment:t.languages.clike.comment,string:t.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:t.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:i(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:s},{pattern:i(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:s},{pattern:i(/(?=\s*\w+\s*[;=,(){:])/.source),inside:s}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:n,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(e)}Ij.displayName="apl";Ij.aliases=[];function Ij(e){e.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}Dj.displayName="applescript";Dj.aliases=[];function Dj(e){e.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}Nj.displayName="aql";Nj.aliases=[];function Nj(e){e.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}Pj.displayName="arff";Pj.aliases=[];function Pj(e){e.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}Lj.displayName="armasm";Lj.aliases=["arm-asm"];function Lj(e){e.languages.armasm={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"/,greedy:!0,inside:{variable:{pattern:/((?:^|[^$])(?:\${2})*)\$\w+/,lookbehind:!0}}},char:{pattern:/'(?:[^'\r\n]{0,4}|'')'/,greedy:!0},"version-symbol":{pattern:/\|[\w@]+\|/,greedy:!0,alias:"property"},boolean:/\b(?:FALSE|TRUE)\b/,directive:{pattern:/\b(?:ALIAS|ALIGN|AREA|ARM|ASSERT|ATTR|CN|CODE|CODE16|CODE32|COMMON|CP|DATA|DCB|DCD|DCDO|DCDU|DCFD|DCFDU|DCI|DCQ|DCQU|DCW|DCWU|DN|ELIF|ELSE|END|ENDFUNC|ENDIF|ENDP|ENTRY|EQU|EXPORT|EXPORTAS|EXTERN|FIELD|FILL|FN|FUNCTION|GBLA|GBLL|GBLS|GET|GLOBAL|IF|IMPORT|INCBIN|INCLUDE|INFO|KEEP|LCLA|LCLL|LCLS|LTORG|MACRO|MAP|MEND|MEXIT|NOFP|OPT|PRESERVE8|PROC|QN|READONLY|RELOC|REQUIRE|REQUIRE8|RLIST|ROUT|SETA|SETL|SETS|SN|SPACE|SUBT|THUMB|THUMBX|TTL|WEND|WHILE)\b/,alias:"property"},instruction:{pattern:/((?:^|(?:^|[^\\])(?:\r\n?|\n))[ \t]*(?:(?:[A-Z][A-Z0-9_]*[a-z]\w*|[a-z]\w*|\d+)[ \t]+)?)\b[A-Z.]+\b/,lookbehind:!0,alias:"keyword"},variable:/\$\w+/,number:/(?:\b[2-9]_\d+|(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e-?\d+)?|\b0(?:[fd]_|x)[0-9a-f]+|&[0-9a-f]+)\b/i,register:{pattern:/\b(?:r\d|lr)\b/,alias:"symbol"},operator:/<>|<<|>>|&&|\|\||[=!<>/]=?|[+\-*%#?&|^]|:[A-Z]+:/,punctuation:/[()[\],]/},e.languages["arm-asm"]=e.languages.armasm}Mj.displayName="arturo";Mj.aliases=["art"];function Mj(e){(function(t){var n=function(r,i){return{pattern:RegExp(/\{!/.source+"(?:"+(i||r)+")"+/$[\s\S]*\}/.source,"m"),greedy:!0,inside:{embedded:{pattern:/(^\{!\w+\b)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-"+r,inside:t.languages[r]},string:/[\s\S]+/}}};t.languages.arturo={comment:{pattern:/;.*/,greedy:!0},character:{pattern:/`.`/,alias:"char",greedy:!0},number:{pattern:/\b\d+(?:\.\d+(?:\.\d+(?:-[\w+-]+)?)?)?\b/},string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},regex:{pattern:/\{\/.*?\/\}/,greedy:!0},"html-string":n("html"),"css-string":n("css"),"js-string":n("js"),"md-string":n("md"),"sql-string":n("sql"),"sh-string":n("shell","sh"),multistring:{pattern:/».*|\{:[\s\S]*?:\}|\{[\s\S]*?\}|^-{6}$[\s\S]*/m,alias:"string",greedy:!0},label:{pattern:/\w+\b\??:/,alias:"property"},literal:{pattern:/'(?:\w+\b\??:?)/,alias:"constant"},type:{pattern:/:(?:\w+\b\??:?)/,alias:"class-name"},color:/#\w+/,predicate:{pattern:/\b(?:all|and|any|ascii|attr|attribute|attributeLabel|binary|block|char|contains|database|date|dictionary|empty|equal|even|every|exists|false|floating|function|greater|greaterOrEqual|if|in|inline|integer|is|key|label|leap|less|lessOrEqual|literal|logical|lower|nand|negative|nor|not|notEqual|null|numeric|odd|or|path|pathLabel|positive|prefix|prime|regex|same|set|some|sorted|standalone|string|subset|suffix|superset|symbol|symbolLiteral|true|try|type|unless|upper|when|whitespace|word|xnor|xor|zero)\?/,alias:"keyword"},"builtin-function":{pattern:/\b(?:abs|acos|acosh|acsec|acsech|actan|actanh|add|after|alert|alias|and|angle|append|arg|args|arity|array|as|asec|asech|asin|asinh|atan|atan2|atanh|attr|attrs|average|before|benchmark|blend|break|call|capitalize|case|ceil|chop|clear|clip|close|color|combine|conj|continue|copy|cos|cosh|crc|csec|csech|ctan|ctanh|cursor|darken|dec|decode|define|delete|desaturate|deviation|dialog|dictionary|difference|digest|digits|div|do|download|drop|dup|e|else|empty|encode|ensure|env|escape|execute|exit|exp|extend|extract|factors|fdiv|filter|first|flatten|floor|fold|from|function|gamma|gcd|get|goto|hash|hypot|if|inc|indent|index|infinity|info|input|insert|inspect|intersection|invert|jaro|join|keys|kurtosis|last|let|levenshtein|lighten|list|ln|log|loop|lower|mail|map|match|max|median|min|mod|module|mul|nand|neg|new|nor|normalize|not|now|null|open|or|outdent|pad|palette|panic|path|pause|permissions|permutate|pi|pop|popup|pow|powerset|powmod|prefix|print|prints|process|product|query|random|range|read|relative|remove|rename|render|repeat|replace|request|return|reverse|round|sample|saturate|script|sec|sech|select|serve|set|shl|shr|shuffle|sin|sinh|size|skewness|slice|sort|spin|split|sqrt|squeeze|stack|strip|sub|suffix|sum|switch|symbols|symlink|sys|take|tan|tanh|terminal|terminate|to|truncate|try|type|unclip|union|unique|unless|until|unzip|upper|values|var|variance|volume|webview|while|with|wordwrap|write|xnor|xor|zip)\b/,alias:"keyword"},sugar:{pattern:/->|=>|\||::/,alias:"operator"},punctuation:/[()[\],]/,symbol:{pattern:/<:|-:|ø|@|#|\+|\||\*|\$|---|-|%|\/|\.\.|\^|~|=|<|>|\\/},boolean:{pattern:/\b(?:false|maybe|true)\b/}},t.languages.art=t.languages.arturo})(e)}Fj.displayName="asciidoc";Fj.aliases=["adoc"];function Fj(e){(function(t){var n={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},r=t.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})$[\s\S]*?^\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})$[\s\S]*?^\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:n,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:n.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:n,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function i(s){s=s.split(" ");for(var a={},o=0,l=s.length;o/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:e.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:e.languages.csharp}}}),e.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.insertBefore("inside","punctuation",{directive:e.languages.aspnet.directive},e.languages.aspnet.tag.inside["attr-value"]),e.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),e.languages.insertBefore("aspnet",e.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:e.languages.csharp||{}}})}Bj.displayName="asm6502";Bj.aliases=[];function Bj(e){e.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"property"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,"op-code":{pattern:/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{1,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[xya]\b/i,alias:"variable"},punctuation:/[(),:]/}}Uj.displayName="asmatmel";Uj.aliases=[];function Uj(e){e.languages.asmatmel={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},constant:/\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,directive:{pattern:/\.\w+(?= )/,alias:"property"},"r-register":{pattern:/\br(?:\d|[12]\d|3[01])\b/,alias:"variable"},"op-code":{pattern:/\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{2,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[acznvshtixy]\b/i,alias:"variable"},operator:/>>=?|<<=?|&[&=]?|\|[\|=]?|[-+*/%^!=<>?]=?/,punctuation:/[(),:]/}}zj.displayName="autohotkey";zj.aliases=[];function zj(e){e.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,command:{pattern:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,alias:"selector"},constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,directive:{pattern:/#[a-z]+\b/i,alias:"important"},keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}Hj.displayName="autoit";Hj.aliases=[];function Hj(e){e.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}qj.displayName="avisynth";qj.aliases=["avs"];function qj(e){(function(t){function n(c,d){return c.replace(/<<(\d+)>>/g,function(f,p){return d[+p]})}function r(c,d,f){return RegExp(n(c,d),f)}var i=/bool|clip|float|int|string|val/.source,s=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),a=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),o=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),l=[s,a,o].join("|");t.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:r(/\b(?:<<0>>)\s+("?)\w+\1/.source,[i],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:r(/\b(?:<<0>>)\b/.source,[l],"i"),alias:"function"},"type-cast":{pattern:r(/\b(?:<<0>>)(?=\s*\()/.source,[i],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},t.languages.avs=t.languages.avisynth})(e)}jj.displayName="avro-idl";jj.aliases=["avdl"];function jj(e){e.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},e.languages.avdl=e.languages["avro-idl"]}Wj.displayName="awk";Wj.aliases=["gawk"];function Wj(e){e.languages.awk={hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\\"\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},regex:{pattern:/((?:^|[^\w\s)])\s*)\/(?:[^\/\\\r\n]|\\.)*\//,lookbehind:!0,greedy:!0},variable:/\$\w+/,keyword:/\b(?:BEGIN|BEGINFILE|END|ENDFILE|break|case|continue|default|delete|do|else|exit|for|function|getline|if|in|next|nextfile|printf?|return|switch|while)\b|@(?:include|load)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[a-fA-F0-9]+)\b/,operator:/--|\+\+|!?~|>&|>>|<<|(?:\*\*|[<>!=+\-*/%^])=?|&&|\|[|&]|[?:]/,punctuation:/[()[\]{},;]/},e.languages.gawk=e.languages.awk}Qj.displayName="batch";Qj.aliases=[];function Qj(e){(function(t){var n=/%%?[~:\w]+%?|!\S+!/,r={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},i=/"(?:[\\"]"|[^"])*"(?!")/,s=/(?:\b|-)\d+\b/;t.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:i,parameter:r,variable:n,number:s,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:i,parameter:r,variable:n,number:s,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:i,parameter:r,variable:[n,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:s,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:i,parameter:r,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:n,number:s,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(e)}Vj.displayName="bbcode";Vj.aliases=["shortcode"];function Vj(e){e.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},e.languages.shortcode=e.languages.bbcode}Gj.displayName="bbj";Gj.aliases=[];function Gj(e){(function(t){t.languages.bbj={comment:{pattern:/(^|[^\\:])rem\s+.*/i,lookbehind:!0,greedy:!0},string:{pattern:/(['"])(?:(?!\1|\\).|\\.)*\1/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:abstract|all|argc|begin|bye|callback|case|chn|class|classend|ctl|day|declare|delete|dim|dom|dread|dsz|else|end|endif|err|exitto|extends|fi|field|for|from|gosub|goto|if|implements|interface|interfaceend|iol|iolist|let|list|load|method|methodend|methodret|on|opts|pfx|print|private|process_events|protected|psz|public|read|read_resource|release|remove_callback|repeat|restore|return|rev|seterr|setesc|sqlchn|sqlunt|ssn|start|static|swend|switch|sys|then|tim|unt|until|use|void|wend|where|while)\b/i,function:/\b\w+(?=\()/,boolean:/\b(?:BBjAPI\.TRUE|BBjAPI\.FALSE)\b/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:and|not|or|xor)\b/i,punctuation:/[.,;:()]/}})(e)}Yj.displayName="bicep";Yj.aliases=[];function Yj(e){e.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},e.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=e.languages.bicep}Zj.displayName="birb";Zj.aliases=[];function Zj(e){e.register(mi),e.languages.birb=e.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),e.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}Xj.displayName="bison";Xj.aliases=[];function Xj(e){e.register(wh),e.languages.bison=e.languages.extend("c",{}),e.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:e.languages.c}},comment:e.languages.c.comment,string:e.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}Kj.displayName="bnf";Kj.aliases=["rbnf"];function Kj(e){e.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},e.languages.rbnf=e.languages.bnf}Jj.displayName="bqn";Jj.aliases=[];function Jj(e){e.languages.bqn={shebang:{pattern:/^#![ \t]*\/.*/,alias:"important",greedy:!0},comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/"(?:[^"]|"")*"/,greedy:!0,alias:"string"},"character-literal":{pattern:/'(?:[\s\S]|[\uD800-\uDBFF][\uDC00-\uDFFF])'/,greedy:!0,alias:"char"},function:/•[\w¯.∞π]+[\w¯.∞π]*/,"dot-notation-on-brackets":{pattern:/\{(?=.*\}\.)|\}\./,alias:"namespace"},"special-name":{pattern:/(?:𝕨|𝕩|𝕗|𝕘|𝕤|𝕣|𝕎|𝕏|𝔽|𝔾|𝕊|_𝕣_|_𝕣)/,alias:"keyword"},"dot-notation-on-name":{pattern:/[A-Za-z_][\w¯∞π]*\./,alias:"namespace"},"word-number-scientific":{pattern:/\d+(?:\.\d+)?[eE]¯?\d+/,alias:"number"},"word-name":{pattern:/[A-Za-z_][\w¯∞π]*/,alias:"symbol"},"word-number":{pattern:/[¯∞π]?(?:\d*\.?\b\d+(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+|E[+¯]?\d+)?|¯|∞|π))?/,alias:"number"},"null-literal":{pattern:/@/,alias:"char"},"primitive-functions":{pattern:/[-+×÷⋆√⌊⌈|¬∧∨<>≠=≤≥≡≢⊣⊢⥊∾≍⋈↑↓↕«»⌽⍉/⍋⍒⊏⊑⊐⊒∊⍷⊔!]/,alias:"operator"},"primitive-1-operators":{pattern:/[`˜˘¨⁼⌜´˝˙]/,alias:"operator"},"primitive-2-operators":{pattern:/[∘⊸⟜○⌾⎉⚇⍟⊘◶⎊]/,alias:"operator"},punctuation:/[←⇐↩(){}⟨⟩[\]‿·⋄,.;:?]/}}eW.displayName="brainfuck";eW.aliases=[];function eW(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}tW.displayName="brightscript";tW.aliases=[];function tW(e){e.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},e.languages.brightscript["directive-statement"].inside.expression.inside=e.languages.brightscript}nW.displayName="bro";nW.aliases=[];function nW(e){e.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}rW.displayName="bsl";rW.aliases=["oscript"];function rW(e){e.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},e.languages.oscript=e.languages.bsl}iW.displayName="cfscript";iW.aliases=["cfc"];function iW(e){e.register(mi),e.languages.cfscript=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|:/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),e.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete e.languages.cfscript["class-name"],e.languages.cfc=e.languages.cfscript}sW.displayName="chaiscript";sW.aliases=[];function sW(e){e.register(mi),e.register(By),e.languages.chaiscript=e.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[e.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),e.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),e.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}aW.displayName="cil";aW.aliases=[];function aW(e){e.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}oW.displayName="cilkc";oW.aliases=["cilk-c"];function oW(e){e.register(wh),e.languages.cilkc=e.languages.insertBefore("c","function",{"parallel-keyword":{pattern:/\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,alias:"keyword"}}),e.languages["cilk-c"]=e.languages.cilkc}lW.displayName="cilkcpp";lW.aliases=["cilk","cilk-cpp"];function lW(e){e.register(By),e.languages.cilkcpp=e.languages.insertBefore("cpp","function",{"parallel-keyword":{pattern:/\bcilk_(?:for|reducer|s(?:cope|pawn|ync))\b/,alias:"keyword"}}),e.languages["cilk-cpp"]=e.languages.cilkcpp,e.languages.cilk=e.languages.cilkcpp}uW.displayName="clojure";uW.aliases=[];function uW(e){e.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}cW.displayName="cmake";cW.aliases=[];function cW(e){e.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_NAME|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}dW.displayName="cobol";dW.aliases=[];function dW(e){e.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}fW.displayName="coffeescript";fW.aliases=["coffee"];function fW(e){e.register(wl),function(t){var n=/#(?!\{).+/,r={pattern:/#\{[^}]+\}/,alias:"variable"};t.languages.coffeescript=t.languages.extend("javascript",{comment:n,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:r}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),t.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:n,interpolation:r}}}),t.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:t.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:r}}]}),t.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete t.languages.coffeescript["template-string"],t.languages.coffee=t.languages.coffeescript}(e)}hW.displayName="concurnas";hW.aliases=["conc"];function hW(e){e.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},e.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},string:/[\s\S]+/}}}),e.languages.conc=e.languages.concurnas}pW.displayName="csp";pW.aliases=[];function pW(e){(function(t){function n(r){return RegExp(/([ \t])/.source+"(?:"+r+")"+/(?=[\s;]|$)/.source,"i")}t.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:n(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:n(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:n(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:n(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:n(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source+"|"+/\*[^\s;,']*/.source+"|"+/[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),lookbehind:!0,alias:"url",inside:{important:/\*/}},keyword:[{pattern:n(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:n(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}})(e)}mW.displayName="cooklang";mW.aliases=[];function mW(e){(function(t){var n=/(?:(?!\s)[\d$+<=a-zA-Z\x80-\uFFFF])+/.source,r=/[^{}@#]+/.source,i=/\{[^}#@]*\}/.source,s=r+i,a=/(?:h|hours|hrs|m|min|minutes)/.source,o={pattern:/\{[^{}]*\}/,inside:{amount:{pattern:/([\{|])[^{}|*%]+/,lookbehind:!0,alias:"number"},unit:{pattern:/(%)[^}]+/,lookbehind:!0,alias:"symbol"},"servings-scaler":{pattern:/\*/,alias:"operator"},"servings-alternative-separator":{pattern:/\|/,alias:"operator"},"unit-separator":{pattern:/(?:%|(\*)%)/,lookbehind:!0,alias:"operator"},punctuation:/[{}]/}};t.languages.cooklang={comment:{pattern:/\[-[\s\S]*?-\]|--.*/,greedy:!0},meta:{pattern:/>>.*:.*/,inside:{property:{pattern:/(>>\s*)[^\s:](?:[^:]*[^\s:])?/,lookbehind:!0}}},"cookware-group":{pattern:new RegExp("#(?:"+s+"|"+n+")"),inside:{cookware:{pattern:new RegExp("(^#)(?:"+r+")"),lookbehind:!0,alias:"variable"},"cookware-keyword":{pattern:/^#/,alias:"keyword"},"quantity-group":{pattern:new RegExp(/\{[^{}@#]*\}/),inside:{quantity:{pattern:new RegExp(/(^\{)/.source+r),lookbehind:!0,alias:"number"},punctuation:/[{}]/}}}},"ingredient-group":{pattern:new RegExp("@(?:"+s+"|"+n+")"),inside:{ingredient:{pattern:new RegExp("(^@)(?:"+r+")"),lookbehind:!0,alias:"variable"},"ingredient-keyword":{pattern:/^@/,alias:"keyword"},"amount-group":o}},"timer-group":{pattern:/~(?!\s)[^@#~{}]*\{[^{}]*\}/,inside:{timer:{pattern:/(^~)[^{]+/,lookbehind:!0,alias:"variable"},"duration-group":{pattern:/\{[^{}]*\}/,inside:{punctuation:/[{}]/,unit:{pattern:new RegExp(/(%\s*)/.source+a+/\b/.source),lookbehind:!0,alias:"symbol"},operator:/%/,duration:{pattern:/\d+/,alias:"number"}}},"timer-keyword":{pattern:/^~/,alias:"keyword"}}}}})(e)}gW.displayName="coq";gW.aliases=[];function gW(e){(function(t){for(var n=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,r=0;r<2;r++)n=n.replace(//g,function(){return n});n=n.replace(//g,"[]"),t.languages.coq={comment:RegExp(n),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return n})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(n),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(e)}bW.displayName="crystal";bW.aliases=[];function bW(e){e.register(qy),function(t){t.languages.crystal=t.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,t.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),t.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:t.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:t.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(e)}yW.displayName="css-extras";yW.aliases=[];function yW(e){e.register(A1),function(t){var n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,r;t.languages.css.selector={pattern:t.languages.css.selector.pattern,lookbehind:!0,inside:r={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},t.languages.css.atrule.inside["selector-function-argument"].inside=r,t.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var i={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},s={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};t.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:i,number:s,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:i,number:s})}(e)}vW.displayName="csv";vW.aliases=[];function vW(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}SW.displayName="cue";SW.aliases=[];function SW(e){(function(t){var n=/\\(?:(?!\2)|\2(?:[^()\r\n]|\([^()]*\)))/.source,r=/"""(?:[^\\"]|"(?!""\2)|)*"""/.source+"|"+/'''(?:[^\\']|'(?!''\2)|)*'''/.source+"|"+/"(?:[^\\\r\n"]|"(?!\2)|)*"/.source+"|"+/'(?:[^\\\r\n']|'(?!\2)|)*'/.source,i="(?:"+r.replace(//g,n)+")";t.languages.cue={comment:{pattern:/\/\/.*/,greedy:!0},"string-literal":{pattern:RegExp(/(^|[^#"'\\])(#*)/.source+i+/(?!["'])\2/.source),lookbehind:!0,greedy:!0,inside:{escape:{pattern:/(?=[\s\S]*["'](#*)$)\\\1(?:U[a-fA-F0-9]{1,8}|u[a-fA-F0-9]{1,4}|x[a-fA-F0-9]{1,2}|\d{2,3}|[^(])/,greedy:!0,alias:"string"},interpolation:{pattern:/(?=[\s\S]*["'](#*)$)\\\1\([^()]*\)/,greedy:!0,inside:{punctuation:/^\\#*\(|\)$/,expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:{pattern:/(^|[^\w$])(?:for|if|import|in|let|null|package)(?![\w$])/,lookbehind:!0},boolean:{pattern:/(^|[^\w$])(?:false|true)(?![\w$])/,lookbehind:!0},builtin:{pattern:/(^|[^\w$])(?:bool|bytes|float|float(?:32|64)|u?int(?:8|16|32|64|128)?|number|rune|string)(?![\w$])/,lookbehind:!0},attribute:{pattern:/@[\w$]+(?=\s*\()/,alias:"function"},function:{pattern:/(^|[^\w$])[a-z_$][\w$]*(?=\s*\()/i,lookbehind:!0},number:{pattern:/(^|[^\w$.])(?:0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|0[xX][0-9A-Fa-f]+(?:_[0-9A-Fa-f]+)*|(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[eE][+-]?\d+(?:_\d+)*)?(?:[KMGTP]i?)?)(?![\w$])/,lookbehind:!0},operator:/\.{3}|_\|_|&&?|\|\|?|[=!]~|[<>=!]=?|[+\-*/?]/,punctuation:/[()[\]{},.:]/},t.languages.cue["string-literal"].inside.interpolation.inside.expression.inside=t.languages.cue})(e)}OW.displayName="cypher";OW.aliases=[];function OW(e){e.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}EW.displayName="d";EW.aliases=[];function EW(e){e.register(mi),e.languages.d=e.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),e.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),e.languages.insertBefore("d","keyword",{property:/\B@\w*/}),e.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}wW.displayName="dart";wW.aliases=[];function wW(e){e.register(mi),function(t){var n=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],r=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,i={pattern:RegExp(r+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};t.languages.dart=t.languages.extend("clike",{"class-name":[i,{pattern:RegExp(r+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:i.inside}],keyword:n,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),t.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:t.languages.dart}}},string:/[\s\S]+/}},string:void 0}),t.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),t.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":i,keyword:n,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(e)}xW.displayName="dataweave";xW.aliases=[];function xW(e){(function(t){t.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(e)}TW.displayName="dax";TW.aliases=[];function TW(e){e.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}kW.displayName="dhall";kW.aliases=[];function kW(e){e.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},e.languages.dhall.string.inside.interpolation.inside.expression.inside=e.languages.dhall}_W.displayName="django";_W.aliases=["jinja2"];function _W(e){e.register(xl),function(t){t.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var n=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,r=t.languages["markup-templating"];t.hooks.add("before-tokenize",function(i){r.buildPlaceholders(i,"django",n)}),t.hooks.add("after-tokenize",function(i){r.tokenizePlaceholders(i,"django")}),t.languages.jinja2=t.languages.django,t.hooks.add("before-tokenize",function(i){r.buildPlaceholders(i,"jinja2",n)}),t.hooks.add("after-tokenize",function(i){r.tokenizePlaceholders(i,"jinja2")})}(e)}AW.displayName="dns-zone-file";AW.aliases=["dns-zone"];function AW(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}CW.displayName="docker";CW.aliases=["dockerfile"];function CW(e){(function(t){var n=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,r=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return n}),i=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,s=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return i}),a={pattern:RegExp(i),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function l(c,d){return c=c.replace(//g,function(){return s}).replace(//g,function(){return r}),RegExp(c,d)}t.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:l(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[a,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:l(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:l(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:l(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:a,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},t.languages.dockerfile=t.languages.docker})(e)}RW.displayName="dot";RW.aliases=["gv"];function RW(e){(function(t){var n="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",r={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:t.languages.markup}};function i(s,a){return RegExp(s.replace(//g,function(){return n}),a)}t.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:i(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:r},"attr-value":{pattern:i(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:r},"attr-name":{pattern:i(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:r},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:i(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:r},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},t.languages.gv=t.languages.dot})(e)}IW.displayName="ebnf";IW.aliases=[];function IW(e){e.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}DW.displayName="editorconfig";DW.aliases=[];function DW(e){e.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}NW.displayName="eiffel";NW.aliases=[];function NW(e){e.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}PW.displayName="ejs";PW.aliases=["eta"];function PW(e){e.register(wl),e.register(xl),function(t){t.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:t.languages.javascript}},t.hooks.add("before-tokenize",function(n){var r=/<%(?!%)[\s\S]+?%>/g;t.languages["markup-templating"].buildPlaceholders(n,"ejs",r)}),t.hooks.add("after-tokenize",function(n){t.languages["markup-templating"].tokenizePlaceholders(n,"ejs")}),t.languages.eta=t.languages.ejs}(e)}LW.displayName="elixir";LW.aliases=[];function LW(e){e.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},e.languages.elixir.string.forEach(function(t){t.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.elixir}}}})}MW.displayName="elm";MW.aliases=[];function MW(e){e.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}FW.displayName="etlua";FW.aliases=[];function FW(e){e.register(OA),e.register(xl),function(t){t.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:t.languages.lua}},t.hooks.add("before-tokenize",function(n){var r=/<%[\s\S]+?%>/g;t.languages["markup-templating"].buildPlaceholders(n,"etlua",r)}),t.hooks.add("after-tokenize",function(n){t.languages["markup-templating"].tokenizePlaceholders(n,"etlua")})}(e)}$W.displayName="erb";$W.aliases=[];function $W(e){e.register(xl),e.register(qy),function(t){t.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:t.languages.ruby}},t.hooks.add("before-tokenize",function(n){var r=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;t.languages["markup-templating"].buildPlaceholders(n,"erb",r)}),t.hooks.add("after-tokenize",function(n){t.languages["markup-templating"].tokenizePlaceholders(n,"erb")})}(e)}BW.displayName="erlang";BW.aliases=[];function BW(e){e.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|begin|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}UW.displayName="excel-formula";UW.aliases=["xls","xlsx"];function UW(e){e.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"builtin"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"selector",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"selector"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}zW.displayName="fsharp";zW.aliases=[];function zW(e){e.register(mi),e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}HW.displayName="factor";HW.aliases=[];function HW(e){(function(t){var n={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},r={number:/\\[^\s']|%\w/},i={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:n},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:n}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:r.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:r},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:r}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:r}},s=function(c){return(c+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},a=function(c){return new RegExp("(^|\\s)(?:"+c.map(s).join("|")+")(?=\\s|$)")},o={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(o).forEach(function(c){i[c].pattern=a(o[c])});var l=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"];i.combinators.pattern=a(l),t.languages.factor=i})(e)}qW.displayName="false";qW.aliases=[];function qW(e){(function(t){t.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}WW.displayName="flow";WW.aliases=[];function WW(e){e.register(wl),function(t){t.languages.flow=t.languages.extend("javascript",{}),t.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),t.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete t.languages.flow.parameter,t.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(t.languages.flow.keyword)||(t.languages.flow.keyword=[t.languages.flow.keyword]),t.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(e)}QW.displayName="fortran";QW.aliases=[];function QW(e){e.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}VW.displayName="ftl";VW.aliases=[];function VW(e){e.register(xl),function(t){for(var n=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,r=0;r<2;r++)n=n.replace(//g,function(){return n});n=n.replace(//g,/[^\s\S]/.source);var i={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return n})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return n})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};i.string[1].inside.interpolation.inside.rest=i,t.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:i}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:i}}}},t.hooks.add("before-tokenize",function(s){var a=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return n}),"gi");t.languages["markup-templating"].buildPlaceholders(s,"ftl",a)}),t.hooks.add("after-tokenize",function(s){t.languages["markup-templating"].tokenizePlaceholders(s,"ftl")})}(e)}GW.displayName="gml";GW.aliases=["gamemakerlanguage"];function GW(e){e.register(mi),e.languages.gamemakerlanguage=e.languages.gml=e.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}YW.displayName="gap";YW.aliases=[];function YW(e){e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},e.languages.gap.shell.inside.gap.inside=e.languages.gap}ZW.displayName="gcode";ZW.aliases=[];function ZW(e){e.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}XW.displayName="gdscript";XW.aliases=[];function XW(e){e.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}KW.displayName="gedcom";KW.aliases=[];function KW(e){e.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},record:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"tag"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}JW.displayName="gettext";JW.aliases=["po"];function JW(e){e.languages.gettext={comment:[{pattern:/# .*/,greedy:!0,alias:"translator-comment"},{pattern:/#\..*/,greedy:!0,alias:"extracted-comment"},{pattern:/#:.*/,greedy:!0,alias:"reference-comment"},{pattern:/#,.*/,greedy:!0,alias:"flag-comment"},{pattern:/#\|.*/,greedy:!0,alias:"previously-untranslated-comment"},{pattern:/#.*/,greedy:!0}],string:{pattern:/(^|[^\\])"(?:[^"\\]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/^msg(?:ctxt|id|id_plural|str)\b/m,number:/\b\d+\b/,punctuation:/[\[\]]/},e.languages.po=e.languages.gettext}eQ.displayName="gherkin";eQ.aliases=[];function eQ(e){(function(t){var n=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;t.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+n+")(?:"+n+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(n),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(e)}tQ.displayName="git";tQ.aliases=[];function tQ(e){e.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}nQ.displayName="glsl";nQ.aliases=[];function nQ(e){e.register(wh),e.languages.glsl=e.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}rQ.displayName="gn";rQ.aliases=["gni"];function rQ(e){e.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},e.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=e.languages.gn,e.languages.gni=e.languages.gn}iQ.displayName="linker-script";iQ.aliases=["ld"];function iQ(e){e.languages["linker-script"]={comment:{pattern:/(^|\s)\/\*[\s\S]*?(?:$|\*\/)/,lookbehind:!0,greedy:!0},identifier:{pattern:/"[^"\r\n]*"/,greedy:!0},"location-counter":{pattern:/\B\.\B/,alias:"important"},section:{pattern:/(^|[^\w*])\.\w+\b/,lookbehind:!0,alias:"keyword"},function:/\b[A-Z][A-Z_]*(?=\s*\()/,number:/\b(?:0[xX][a-fA-F0-9]+|\d+)[KM]?\b/,operator:/>>=?|<<=?|->|\+\+|--|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?/,punctuation:/[(){},;]/},e.languages.ld=e.languages["linker-script"]}sQ.displayName="go-module";sQ.aliases=["go-mod"];function sQ(e){e.languages["go-mod"]=e.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}aQ.displayName="gradle";aQ.aliases=[];function aQ(e){e.register(mi),function(t){var n={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};t.languages.gradle=t.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:apply|def|dependencies|else|if|implementation|import|plugin|plugins|project|repositories|repository|sourceSets|tasks|val)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("gradle","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}}}),t.languages.insertBefore("gradle","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("gradle","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),n.inside.expression.inside=t.languages.gradle}(e)}oQ.displayName="graphql";oQ.aliases=[];function oQ(e){e.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:e.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},e.hooks.add("after-tokenize",function(n){if(n.language!=="graphql")return;var r=n.tokens.filter(function(x){return typeof x!="string"&&x.type!=="comment"&&x.type!=="scalar"}),i=0;function s(x){return r[i+x]}function a(x,T){T=T||0;for(var _=0;_0)){var g=o(/^\{$/,/^\}$/);if(g===-1)continue;for(var b=i;b=0&&l(w,"variable-input")}}}}})}lQ.displayName="groovy";lQ.aliases=[];function lQ(e){e.register(mi),function(t){var n={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};t.languages.groovy=t.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),n.inside.expression.inside=t.languages.groovy}(e)}uQ.displayName="textile";uQ.aliases=[];function uQ(e){e.register(el),function(t){var n=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,r=/\)|\((?![^|()\n]+\))/.source;function i(f,p){return RegExp(f.replace(//g,function(){return"(?:"+n+")"}).replace(//g,function(){return"(?:"+r+")"}),p||"")}var s={css:{pattern:/\{[^{}]+\}/,inside:{rest:t.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},a=t.languages.textile=t.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:i(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:i(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:s},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:i(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:i(/(^[*#]+)+/.source),lookbehind:!0,inside:s},punctuation:/^[*#]+/}},table:{pattern:i(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:i(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:s},punctuation:/\||^\./}},inline:{pattern:i(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:i(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:i(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:i(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:i(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:i(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:i(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:i(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:i(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:s},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:i(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:i(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:i(/(^")+/.source),lookbehind:!0,inside:s},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:i(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:i(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:i(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:s},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),o=a.phrase.inside,l={inline:o.inline,link:o.link,image:o.image,footnote:o.footnote,acronym:o.acronym,mark:o.mark};a.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var c=o.inline.inside;c.bold.inside=l,c.italic.inside=l,c.inserted.inside=l,c.deleted.inside=l,c.span.inside=l;var d=o.table.inside;d.inline=l.inline,d.link=l.link,d.image=l.image,d.footnote=l.footnote,d.acronym=l.acronym,d.mark=l.mark}(e)}cQ.displayName="haml";cQ.aliases=[];function cQ(e){e.register(qy),function(t){t.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:t.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:t.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:t.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:t.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:t.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:t.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:t.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var n="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",r=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],i={},s=0,a=r.length;s@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},t.hooks.add("before-tokenize",function(n){var r=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;t.languages["markup-templating"].buildPlaceholders(n,"handlebars",r)}),t.hooks.add("after-tokenize",function(n){t.languages["markup-templating"].tokenizePlaceholders(n,"handlebars")}),t.languages.hbs=t.languages.handlebars,t.languages.mustache=t.languages.handlebars}(e)}_A.displayName="haskell";_A.aliases=["hs"];function _A(e){e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},e.languages.hs=e.languages.haskell}fQ.displayName="haxe";fQ.aliases=[];function fQ(e){e.register(mi),e.languages.haxe=e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.haxe}}},string:/[\s\S]+/}}}),e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}hQ.displayName="hcl";hQ.aliases=[];function hQ(e){e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}pQ.displayName="hlsl";pQ.aliases=[];function pQ(e){e.register(wh),e.languages.hlsl=e.languages.extend("c",{"class-name":[e.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}mQ.displayName="hoon";mQ.aliases=[];function mQ(e){e.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}gQ.displayName="hpkp";gQ.aliases=[];function gQ(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}bQ.displayName="hsts";bQ.aliases=[];function bQ(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}yQ.displayName="uri";yQ.aliases=["url"];function yQ(e){e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},e.languages.url=e.languages.uri}vQ.displayName="http";vQ.aliases=[];function vQ(e){(function(t){function n(d){return RegExp("(^(?:"+d+"):[ ]*(?![ ]))[^]+","i")}t.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:t.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:n(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:t.languages.csp},{pattern:n(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:t.languages.hpkp},{pattern:n(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:t.languages.hsts},{pattern:n(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var r=t.languages,i={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css,"text/plain":r.plain},s={"application/json":!0,"application/xml":!0};function a(d){var f=d.replace(/^[a-z]+\//,""),p="\\w+/(?:[\\w.-]+\\+)+"+f+"(?![+\\w.-])";return"(?:"+d+"|"+p+")"}var o;for(var l in i)if(i[l]){o=o||{};var c=s[l]?a(l):l;o[l.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+c+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:i[l]}}o&&t.languages.insertBefore("http","header",o)})(e)}SQ.displayName="ichigojam";SQ.aliases=[];function SQ(e){e.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}OQ.displayName="icon";OQ.aliases=[];function OQ(e){e.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}EQ.displayName="icu-message-format";EQ.aliases=[];function EQ(e){(function(t){function n(l,c){return c<=0?/[]/.source:l.replace(//g,function(){return n(l,c-1)})}var r=/'[{}:=,](?:[^']|'')*'(?!')/,i={pattern:/''/,greedy:!0,alias:"operator"},s={pattern:r,greedy:!0,inside:{escape:i}},a=n(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return r.source}),8),o={pattern:RegExp(a),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};t.languages["icu-message-format"]={argument:{pattern:RegExp(a),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":o,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":o,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+n(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:i,string:s},o.inside.message.inside=t.languages["icu-message-format"],t.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=t.languages["icu-message-format"]})(e)}wQ.displayName="idris";wQ.aliases=["idr"];function wQ(e){e.register(_A),e.languages.idris=e.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),e.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.idr=e.languages.idris}xQ.displayName="ignore";xQ.aliases=["gitignore","hgignore","npmignore"];function xQ(e){(function(t){t.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},t.languages.gitignore=t.languages.ignore,t.languages.hgignore=t.languages.ignore,t.languages.npmignore=t.languages.ignore})(e)}TQ.displayName="inform7";TQ.aliases=[];function TQ(e){e.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},e.languages.inform7.string.inside.substitution.inside.rest=e.languages.inform7,e.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}kQ.displayName="io";kQ.aliases=[];function kQ(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}i2.displayName="javadoclike";i2.aliases=[];function i2(e){(function(t){var n=t.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function r(s,a){var o="doc-comment",l=t.languages[s];if(l){var c=l[o];if(!c){var d={};d[o]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},l=t.languages.insertBefore(s,"comment",d),c=l[o]}if(c instanceof RegExp&&(c=l[o]={pattern:c}),Array.isArray(c))for(var f=0,p=c.length;f|\b(?:abstract|case|catch|class|def|derives|do|else|enum|extends|extension|final|finally|for|forSome|given|if|implicit|import|infix|inline|lazy|match|new|null|object|opaque|open|override|package|private|protected|return|sealed|self|super|this|throw|trait|transparent|try|type|using|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),e.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.scala}}},string:/[\s\S]+/}}}),delete e.languages.scala["class-name"],delete e.languages.scala.function,delete e.languages.scala.constant}CQ.displayName="javadoc";CQ.aliases=[];function CQ(e){e.register(zy),e.register(i2),e.register(el),function(t){var n=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,r=/#\s*\w+(?:\s*\([^()]*\))?/.source,i=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return r});t.languages.javadoc=t.languages.extend("javadoclike",{}),t.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+i+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:t.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:n,lookbehind:!0,inside:t.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:n,lookbehind:!0,inside:{tag:t.languages.markup.tag,entity:t.languages.markup.entity,code:{pattern:/.+/,inside:t.languages.java,alias:"language-java"}}}}}],tag:t.languages.markup.tag,entity:t.languages.markup.entity}),t.languages.javadoclike.addSupport("java",t.languages.javadoc)}(e)}RQ.displayName="javastacktrace";RQ.aliases=[];function RQ(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}IQ.displayName="jexl";IQ.aliases=[];function IQ(e){e.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}DQ.displayName="jolie";DQ.aliases=[];function DQ(e){e.register(mi),e.languages.jolie=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),e.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}NQ.displayName="jq";NQ.aliases=[];function NQ(e){(function(t){var n=/\\\((?:[^()]|\([^()]*\))*\)/.source,r=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return n})),i={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+n),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},s=t.languages.jq={comment:/#.*/,property:{pattern:RegExp(r.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:i},string:{pattern:r,lookbehind:!0,greedy:!0,inside:i},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};i.interpolation.inside.content.inside=s})(e)}PQ.displayName="js-templates";PQ.aliases=[];function PQ(e){e.register(wl),function(t){var n=t.languages.javascript["template-string"],r=n.pattern.source,i=n.inside.interpolation,s=i.inside["interpolation-punctuation"],a=i.pattern.source;function o(b,w){if(t.languages[b])return{pattern:RegExp("((?:"+w+")\\s*)"+r),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:b}}}}t.languages.javascript["template-string"]=[o("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),o("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),o("svg",/\bsvg/.source),o("markdown",/\b(?:markdown|md)/.source),o("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),o("sql",/\bsql/.source),n].filter(Boolean);function l(b,w){return"___"+w.toUpperCase()+"_"+b+"___"}function c(b,w,x){var T={code:b,grammar:w,language:x};return t.hooks.run("before-tokenize",T),T.tokens=t.tokenize(T.code,T.grammar),t.hooks.run("after-tokenize",T),T.tokens}function d(b){var w={};w["interpolation-punctuation"]=s;var x=t.tokenize(b,w);if(x.length===3){var T=[1,1];T.push.apply(T,c(x[1],t.languages.javascript,"javascript")),x.splice.apply(x,T)}return new t.Token("interpolation",x,i.alias,b)}function f(b,w,x){var T=t.tokenize(b,{interpolation:{pattern:RegExp(a),lookbehind:!0}}),_=0,C={},I=T.map(function(j){if(typeof j=="string")return j;for(var F=j.content,V;b.indexOf(V=l(_++,x))!==-1;);return C[V]=F,V}).join(""),M=c(I,w,x),$=Object.keys(C);_=0;function B(j){for(var F=0;F=$.length)return;var V=j[F];if(typeof V=="string"||typeof V.content=="string"){var ie=$[_],se=typeof V=="string"?V:V.content,me=se.indexOf(ie);if(me!==-1){++_;var fe=se.substring(0,me),le=d(C[ie]),ye=se.substring(me+ie.length),ae=[];if(fe&&ae.push(fe),ae.push(le),ye){var Se=[ye];B(Se),ae.push.apply(ae,Se)}typeof V=="string"?(j.splice.apply(j,[F,1].concat(ae)),F+=ae.length-1):V.content=ae}}else{var he=V.content;Array.isArray(he)?B(he):B([he])}}}return B(M),new t.Token(x,M,"language-"+x,b)}var p={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};t.hooks.add("after-tokenize",function(b){if(!(b.language in p))return;function w(x){for(var T=0,_=x.length;T<_;T++){var C=x[T];if(typeof C!="string"){var I=C.content;if(!Array.isArray(I)){typeof I!="string"&&w([I]);continue}if(C.type==="template-string"){var M=I[1];if(I.length===3&&typeof M!="string"&&M.type==="embedded-code"){var $=g(M),B=M.alias,j=Array.isArray(B)?B[0]:B,F=t.languages[j];if(!F)continue;I[1]=f($,F,j)}}else w(I)}}}w(b.tokens)});function g(b){return typeof b=="string"?b:Array.isArray(b)?b.map(g).join(""):g(b.content)}}(e)}LQ.displayName="jsdoc";LQ.aliases=[];function LQ(e){e.register(i2),e.register(wl),e.register(t2),function(t){var n=t.languages.javascript,r=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,i="(@(?:arg|argument|param|property)\\s+(?:"+r+"\\s+)?)";t.languages.jsdoc=t.languages.extend("javadoclike",{parameter:{pattern:RegExp(i+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),t.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(i+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:n,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return r})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+r),lookbehind:!0,inside:{string:n.string,number:n.number,boolean:n.boolean,keyword:t.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:n,alias:"language-javascript"}}}}),t.languages.javadoclike.addSupport("javascript",t.languages.jsdoc)}(e)}MQ.displayName="n4js";MQ.aliases=["n4jsd"];function MQ(e){e.register(wl),e.languages.n4js=e.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),e.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),e.languages.n4jsd=e.languages.n4js}FQ.displayName="js-extras";FQ.aliases=[];function FQ(e){e.register(wl),function(t){t.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+t.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),t.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+t.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),t.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function n(l,c){return RegExp(l.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),c)}t.languages.insertBefore("javascript","keyword",{imports:{pattern:n(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:t.languages.javascript},exports:{pattern:n(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:t.languages.javascript}}),t.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),t.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),t.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:n(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var r=["function","function-variable","method","method-variable","property-access"],i=0;i|.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}zQ.displayName="julia";zQ.aliases=[];function zQ(e){e.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}HQ.displayName="keepalived";HQ.aliases=[];function HQ(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}qQ.displayName="keyman";qQ.aliases=[];function qQ(e){e.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|newcontext|nomatch|postkeystroke|readonly|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}jQ.displayName="kumir";jQ.aliases=["kum"];function jQ(e){(function(t){var n=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function r(i,s){return RegExp(i.replace(//g,n),s)}t.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:r(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:r(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:r(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:r(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:r(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:r(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:r(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:r(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},t.languages.kum=t.languages.kumir})(e)}WQ.displayName="kusto";WQ.aliases=[];function WQ(e){e.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}QQ.displayName="latex";QQ.aliases=["context","tex"];function QQ(e){(function(t){var n=/\\(?:[^a-z()[\]]|[a-z*]+)/i,r={"equation-command":{pattern:n,alias:"regex"}};t.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:r,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:r,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:n,alias:"selector"},punctuation:/[[\]{}&]/},t.languages.tex=t.languages.latex,t.languages.context=t.languages.latex})(e)}VQ.displayName="latte";VQ.aliases=[];function VQ(e){e.register(mi),e.register(xl),e.register(Hy),function(t){t.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:t.languages.php}};var n=t.languages.extend("markup",{});t.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:t.languages.php}}}}}},n.tag),t.hooks.add("before-tokenize",function(r){if(r.language==="latte"){var i=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;t.languages["markup-templating"].buildPlaceholders(r,"latte",i),r.grammar=n}}),t.hooks.add("after-tokenize",function(r){t.languages["markup-templating"].tokenizePlaceholders(r,"latte")})}(e)}AA.displayName="scheme";AA.aliases=[];function AA(e){(function(t){t.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(n({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function n(r){for(var i in r)r[i]=r[i].replace(/<[\w\s]+>/g,function(s){return"(?:"+r[s].trim()+")"});return r[i]}})(e)}GQ.displayName="lilypond";GQ.aliases=["ly"];function GQ(e){e.register(AA),function(t){for(var n=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,r=5,i=0;i/g,function(){return n});n=n.replace(//g,/[^\s\S]/.source);var s=t.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return n}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:t.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};s["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=s,t.languages.ly=s}(e)}YQ.displayName="liquid";YQ.aliases=[];function YQ(e){e.register(xl),e.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},e.hooks.add("before-tokenize",function(t){var n=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,r=!1;e.languages["markup-templating"].buildPlaceholders(t,"liquid",n,function(i){var s=/^\{%-?\s*(\w+)/.exec(i);if(s){var a=s[1];if(a==="raw"&&!r)return r=!0,!0;if(a==="endraw")return r=!1,!0}return!r})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")})}ZQ.displayName="lisp";ZQ.aliases=["elisp","emacs","emacs-lisp"];function ZQ(e){(function(t){function n(b){return RegExp(/(\()/.source+"(?:"+b+")"+/(?=[\s\)])/.source)}function r(b){return RegExp(/([\s([])/.source+"(?:"+b+")"+/(?=[\s)])/.source)}var i=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,s="&"+i,a="(\\()",o="(?=\\))",l="(?=\\s)",c=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,d={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+i+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+i),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+i),alias:"property"},splice:{pattern:RegExp(",@?"+i),alias:["symbol","variable"]},keyword:[{pattern:RegExp(a+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+l),lookbehind:!0},{pattern:RegExp(a+"(?:append|by|collect|concat|do|finally|for|in|return)"+l),lookbehind:!0}],declare:{pattern:n(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:n(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:r(/nil|t/.source),lookbehind:!0},number:{pattern:r(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(a+"def(?:const|custom|group|var)\\s+"+i),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(i)}},defun:{pattern:RegExp(a+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+i+/\s+\(/.source+c+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+i),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(a+"lambda\\s+\\(\\s*(?:&?"+i+"(?:\\s+&?"+i+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(a+i),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},f={"lisp-marker":RegExp(s),varform:{pattern:RegExp(/\(/.source+i+/\s+(?=\S)/.source+c+/\)/.source),inside:d},argument:{pattern:RegExp(/(^|[\s(])/.source+i),lookbehind:!0,alias:"variable"},rest:d},p="\\S+(?:\\s+\\S+)*",g={pattern:RegExp(a+c+o),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+p),inside:f},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+p),inside:f},keys:{pattern:RegExp("&key\\s+"+p+"(?:\\s+&allow-other-keys)?"),inside:f},argument:{pattern:RegExp(i),alias:"variable"},punctuation:/[()]/}};d.lambda.inside.arguments=g,d.defun.inside.arguments=t.util.clone(g),d.defun.inside.arguments.inside.sublist=g,t.languages.lisp=d,t.languages.elisp=d,t.languages.emacs=d,t.languages["emacs-lisp"]=d})(e)}XQ.displayName="livescript";XQ.aliases=[];function XQ(e){e.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},e.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=e.languages.livescript}KQ.displayName="llvm";KQ.aliases=[];function KQ(e){(function(t){t.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(e)}JQ.displayName="log";JQ.aliases=[];function JQ(e){e.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:e.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}eV.displayName="lolcode";eV.aliases=[];function eV(e){e.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}tV.displayName="magma";tV.aliases=[];function tV(e){e.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}mN.displayName="mata";mN.aliases=[];function mN(e){(function(t){var n=/\b(?:(?:col|row)?vector|matrix|scalar)\b/.source,r=/\bvoid\b||\b(?:complex|numeric|pointer(?:\s*\([^()]*\))?|real|string|(?:class|struct)\s+\w+|transmorphic)(?:\s*)?/.source.replace(//g,n);t.languages.mata={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/"[^"\r\n]*"|[‘`']".*?"[’`']/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|struct)\s+)\w+(?=\s*(?:\{|\bextends\b))/,lookbehind:!0},type:{pattern:RegExp(r),alias:"class-name",inside:{punctuation:/[()]/,keyword:/\b(?:class|function|struct|void)\b/}},keyword:/\b(?:break|class|continue|do|else|end|extends|external|final|for|function|goto|if|pragma|private|protected|public|return|static|struct|unset|unused|version|virtual|while)\b/,constant:/\bNULL\b/,number:{pattern:/(^|[^\w.])(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|\d[a-f0-9]*(?:\.[a-f0-9]+)?x[+-]?\d+)i?(?![\w.])/i,lookbehind:!0},missing:{pattern:/(^|[^\w.])(?:\.[a-z]?)(?![\w.])/,lookbehind:!0,alias:"symbol"},function:/\b[a-z_]\w*(?=\s*\()/i,operator:/\.\.|\+\+|--|&&|\|\||:?(?:[!=<>]=|[+\-*/^<>&|:])|[!?=\\#’`']/,punctuation:/[()[\]{},;.]/}})(e)}nV.displayName="matlab";nV.aliases=[];function nV(e){e.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}rV.displayName="maxscript";rV.aliases=[];function rV(e){(function(t){var n=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;t.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+n.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+n.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:n,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(e)}iV.displayName="mel";iV.aliases=[];function iV(e){e.languages.mel={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},code:{pattern:/`(?:\\.|[^\\`])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},statement:{pattern:/[\s\S]+/,inside:null}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:{pattern:/((?:^|[{;])[ \t]*)[a-z_]\w*\b(?!\s*(?:\.(?!\.)|[[{=]))|\b[a-z_]\w*(?=[ \t]*\()/im,lookbehind:!0,greedy:!0},"tensor-punctuation":{pattern:/<<|>>/,alias:"punctuation"},operator:/\+[+=]?|-[-=]?|&&|\|\||[<>]=?|[*\/!=]=?|[%^]/,punctuation:/[.,:;?\[\](){}]/},e.languages.mel.code.inside.statement.inside=e.languages.mel}sV.displayName="mermaid";sV.aliases=[];function sV(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}aV.displayName="metafont";aV.aliases=[];function aV(e){e.languages.metafont={comment:{pattern:/%.*/,greedy:!0},string:{pattern:/"[^\r\n"]*"/,greedy:!0},number:/\d*\.?\d+/,boolean:/\b(?:false|true)\b/,punctuation:[/[,;()]/,{pattern:/(^|[^{}])(?:\{|\})(?![{}])/,lookbehind:!0},{pattern:/(^|[^[])\[(?!\[)/,lookbehind:!0},{pattern:/(^|[^\]])\](?!\])/,lookbehind:!0}],constant:[{pattern:/(^|[^!?])\?\?\?(?![!?])/,lookbehind:!0},{pattern:/(^|[^/*\\])(?:\\|\\\\)(?![/*\\])/,lookbehind:!0},/\b(?:_|blankpicture|bp|cc|cm|dd|ditto|down|eps|epsilon|fullcircle|halfcircle|identity|in|infinity|left|mm|nullpen|nullpicture|origin|pc|penrazor|penspeck|pensquare|penstroke|proof|pt|quartercircle|relax|right|smoke|unitpixel|unitsquare|up)\b/],quantity:{pattern:/\b(?:autorounding|blacker|boundarychar|charcode|chardp|chardx|chardy|charext|charht|charic|charwd|currentwindow|day|designsize|displaying|fillin|fontmaking|granularity|hppp|join_radius|month|o_correction|pausing|pen_(?:bot|lft|rt|top)|pixels_per_inch|proofing|showstopping|smoothing|time|tolerance|tracingcapsules|tracingchoices|tracingcommands|tracingedges|tracingequations|tracingmacros|tracingonline|tracingoutput|tracingpens|tracingrestores|tracingspecs|tracingstats|tracingtitles|turningcheck|vppp|warningcheck|xoffset|year|yoffset)\b/,alias:"keyword"},command:{pattern:/\b(?:addto|batchmode|charlist|cull|display|errhelp|errmessage|errorstopmode|everyjob|extensible|fontdimen|headerbyte|inner|interim|let|ligtable|message|newinternal|nonstopmode|numspecial|openwindow|outer|randomseed|save|scrollmode|shipout|show|showdependencies|showstats|showtoken|showvariable|special)\b/,alias:"builtin"},operator:[{pattern:/(^|[^>=<:|])(?:<|<=|=|=:|\|=:|\|=:>|=:\|>|=:\||\|=:\||\|=:\|>|\|=:\|>>|>|>=|:|:=|<>|::|\|\|:)(?![>=<:|])/,lookbehind:!0},{pattern:/(^|[^+-])(?:\+|\+\+|-{1,3}|\+-\+)(?![+-])/,lookbehind:!0},{pattern:/(^|[^/*\\])(?:\*|\*\*|\/)(?![/*\\])/,lookbehind:!0},{pattern:/(^|[^.])(?:\.{2,3})(?!\.)/,lookbehind:!0},{pattern:/(^|[^@#&$])&(?![@#&$])/,lookbehind:!0},/\b(?:and|not|or)\b/],macro:{pattern:/\b(?:abs|beginchar|bot|byte|capsule_def|ceiling|change_width|clear_pen_memory|clearit|clearpen|clearxy|counterclockwise|cullit|cutdraw|cutoff|decr|define_blacker_pixels|define_corrected_pixels|define_good_x_pixels|define_good_y_pixels|define_horizontal_corrected_pixels|define_pixels|define_whole_blacker_pixels|define_whole_pixels|define_whole_vertical_blacker_pixels|define_whole_vertical_pixels|dir|direction|directionpoint|div|dotprod|downto|draw|drawdot|endchar|erase|fill|filldraw|fix_units|flex|font_coding_scheme|font_extra_space|font_identifier|font_normal_shrink|font_normal_space|font_normal_stretch|font_quad|font_size|font_slant|font_x_height|gfcorners|gobble|gobbled|good\.(?:bot|lft|rt|top|x|y)|grayfont|hide|hround|imagerules|incr|interact|interpath|intersectionpoint|inverse|italcorr|killtext|labelfont|labels|lft|loggingall|lowres_fix|makegrid|makelabel(?:\.(?:bot|lft|rt|top)(?:\.nodot)?)?|max|min|mod|mode_def|mode_setup|nodisplays|notransforms|numtok|openit|penlabels|penpos|pickup|proofoffset|proofrule|proofrulethickness|range|reflectedabout|rotatedabout|rotatedaround|round|rt|savepen|screenchars|screenrule|screenstrokes|shipit|showit|slantfont|softjoin|solve|stop|superellipse|tensepath|thru|titlefont|top|tracingall|tracingnone|undraw|undrawdot|unfill|unfilldraw|upto|vround)\b/,alias:"function"},builtin:/\b(?:ASCII|angle|char|cosd|decimal|directiontime|floor|hex|intersectiontimes|jobname|known|length|makepath|makepen|mexp|mlog|normaldeviate|oct|odd|pencircle|penoffset|point|postcontrol|precontrol|reverse|rotated|sind|sqrt|str|subpath|substring|totalweight|turningnumber|uniformdeviate|unknown|xpart|xxpart|xypart|ypart|yxpart|yypart)\b/,keyword:/\b(?:also|at|atleast|begingroup|charexists|contour|controls|curl|cycle|def|delimiters|doublepath|dropping|dump|else|elseif|end|enddef|endfor|endgroup|endinput|exitif|exitunless|expandafter|fi|for|forever|forsuffixes|from|if|input|inwindow|keeping|kern|of|primarydef|quote|readstring|scaled|scantokens|secondarydef|shifted|skipto|slanted|step|tension|tertiarydef|to|transformed|until|vardef|withpen|withweight|xscaled|yscaled|zscaled)\b/,type:{pattern:/\b(?:boolean|expr|numeric|pair|path|pen|picture|primary|secondary|string|suffix|tertiary|text|transform)\b/,alias:"property"},variable:{pattern:/(^|[^@#&$])(?:@#|#@|#|@)(?![@#&$])|\b(?:aspect_ratio|currentpen|currentpicture|currenttransform|d|extra_beginchar|extra_endchar|extra_setup|h|localfont|mag|mode|screen_cols|screen_rows|w|whatever|x|y|z)\b/,lookbehind:!0}}}oV.displayName="mizar";oV.aliases=[];function oV(e){e.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}lV.displayName="mongodb";lV.aliases=[];function lV(e){e.register(wl),function(t){var n=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],r=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];n=n.map(function(s){return s.replace("$","\\$")});var i="(?:"+n.join("|")+")\\b";t.languages.mongodb=t.languages.extend("javascript",{}),t.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+i+"(?:\\1)?$")}}}),t.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},t.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+r.join("|")+")\\b"),alias:"keyword"}})}(e)}uV.displayName="monkey";uV.aliases=[];function uV(e){e.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}cV.displayName="moonscript";cV.aliases=["moon"];function cV(e){e.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=e.languages.moonscript,e.languages.moon=e.languages.moonscript}dV.displayName="n1ql";dV.aliases=[];function dV(e){e.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}fV.displayName="nand2tetris-hdl";fV.aliases=[];function fV(e){e.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}hV.displayName="naniscript";hV.aliases=["nani"];function hV(e){(function(t){var n=/\{[^\r\n\[\]{}]*\}/,r={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:n,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};t.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:n,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:r}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:n,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:r},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},t.languages.nani=t.languages.naniscript,t.hooks.add("after-tokenize",function(a){var o=a.tokens;o.forEach(function(l){if(typeof l!="string"&&l.type==="generic-text"){var c=s(l);i(c)||(l.type="bad-line",l.content=c)}})});function i(a){for(var o="[]{}",l=[],c=0;c=&|$!]/}}mV.displayName="neon";mV.aliases=[];function mV(e){e.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"property"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}gV.displayName="nevod";gV.aliases=[];function gV(e){e.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}bV.displayName="nginx";bV.aliases=[];function bV(e){(function(t){var n=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;t.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:n}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:n}},punctuation:/[{};]/}})(e)}yV.displayName="nim";yV.aliases=[];function yV(e){e.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}vV.displayName="nix";vV.aliases=[];function vV(e){e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},e.languages.nix.string.inside.interpolation.inside=e.languages.nix}SV.displayName="nsis";SV.aliases=[];function SV(e){e.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|KnownFolderPath|LabelAddress|TempFileName|WinVer)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|RtlLanguage|ShellVarContextAll|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|Target|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}OV.displayName="ocaml";OV.aliases=[];function OV(e){e.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}EV.displayName="odin";EV.aliases=[];function EV(e){(function(t){var n=/\\(?:["'\\abefnrtv]|0[0-7]{2}|U[\dA-Fa-f]{6}|u[\dA-Fa-f]{4}|x[\dA-Fa-f]{2})/;t.languages.odin={comment:[{pattern:/\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:\*(?!\/)|[^*])*(?:\*\/|$))*(?:\*\/|$)/,greedy:!0},{pattern:/#![^\n\r]*/,greedy:!0},{pattern:/\/\/[^\n\r]*/,greedy:!0}],char:{pattern:/'(?:\\(?:.|[0Uux][0-9A-Fa-f]{1,6})|[^\n\r'\\])'/,greedy:!0,inside:{symbol:n}},string:[{pattern:/`[^`]*`/,greedy:!0},{pattern:/"(?:\\.|[^\n\r"\\])*"/,greedy:!0,inside:{symbol:n}}],directive:{pattern:/#\w+/,alias:"property"},number:/\b0(?:b[01_]+|d[\d_]+|h_*(?:(?:(?:[\dA-Fa-f]_*){8}){1,2}|(?:[\dA-Fa-f]_*){4})|o[0-7_]+|x[\dA-F_a-f]+|z[\dAB_ab]+)\b|(?:\b\d+(?:\.(?!\.)\d*)?|\B\.\d+)(?:[Ee][+-]?\d*)?[ijk]?(?!\w)/,discard:{pattern:/\b_\b/,alias:"keyword"},"procedure-definition":{pattern:/\b\w+(?=[ \t]*(?::\s*){2}proc\b)/,alias:"function"},keyword:/\b(?:asm|auto_cast|bit_set|break|case|cast|context|continue|defer|distinct|do|dynamic|else|enum|fallthrough|for|foreign|if|import|in|map|matrix|not_in|or_else|or_return|package|proc|return|struct|switch|transmute|typeid|union|using|when|where)\b/,"procedure-name":{pattern:/\b\w+(?=[ \t]*\()/,alias:"function"},boolean:/\b(?:false|nil|true)\b/,"constant-parameter-sign":{pattern:/\$/,alias:"important"},undefined:{pattern:/---/,alias:"operator"},arrow:{pattern:/->/,alias:"punctuation"},operator:/\+\+|--|\.\.[<=]?|(?:&~|[-!*+/=~]|[%&<>|]{1,2})=?|[?^]/,punctuation:/[(),.:;@\[\]{}]/}})(e)}wV.displayName="opencl";wV.aliases=[];function wV(e){e.register(wh),function(t){t.languages.opencl=t.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),t.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var n={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};t.languages.insertBefore("c","keyword",n),t.languages.cpp&&(n["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},t.languages.insertBefore("cpp","keyword",n))}(e)}xV.displayName="openqasm";xV.aliases=["qasm"];function xV(e){e.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},e.languages.qasm=e.languages.openqasm}TV.displayName="oz";TV.aliases=[];function TV(e){e.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}kV.displayName="parigp";kV.aliases=[];function kV(e){e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var t=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return t=t.map(function(n){return n.split("").join(" *")}).join("|"),RegExp("\\b(?:"+t+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}_V.displayName="parser";_V.aliases=[];function _V(e){e.register(el),function(t){var n=t.languages.parser=t.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});n=t.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:n.keyword,variable:n.variable,function:n.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:n.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:n.punctuation}}}),t.languages.insertBefore("inside","punctuation",{expression:n.expression,keyword:n.keyword,variable:n.variable,function:n.function,escape:n.escape,"parser-punctuation":{pattern:n.punctuation,alias:"punctuation"}},n.tag.inside["attr-value"])}(e)}AV.displayName="pascal";AV.aliases=["objectpascal"];function AV(e){e.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},e.languages.pascal.asm.inside=e.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),e.languages.objectpascal=e.languages.pascal}CV.displayName="pascaligo";CV.aliases=[];function CV(e){(function(t){var n=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,r=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return n}),i=t.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return r}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return r}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return r})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},s=["comment","keyword","builtin","operator","punctuation"].reduce(function(a,o){return a[o]=i[o],a},{});i["class-name"].forEach(function(a){a.inside=s})})(e)}RV.displayName="psl";RV.aliases=[];function RV(e){e.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}IV.displayName="pcaxis";IV.aliases=["px"];function IV(e){e.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},e.languages.px=e.languages.pcaxis}DV.displayName="peoplecode";DV.aliases=["pcode"];function DV(e){e.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},e.languages.pcode=e.languages.peoplecode}NV.displayName="phpdoc";NV.aliases=[];function NV(e){e.register(i2),e.register(Hy),function(t){var n=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;t.languages.phpdoc=t.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+n+"\\s+)?)\\$\\w+"),lookbehind:!0}}),t.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+n),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),t.languages.javadoclike.addSupport("php",t.languages.phpdoc)}(e)}PV.displayName="php-extras";PV.aliases=[];function PV(e){e.register(Hy),e.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}LV.displayName="plant-uml";LV.aliases=["plantuml"];function LV(e){(function(t){var n=/\$\w+|%[a-z]+%/,r=/\[[^[\]]*\]/.source,i=/(?:[drlu]|do|down|le|left|ri|right|up)/.source,s="(?:-+"+i+"-+|\\.+"+i+"\\.+|-+(?:"+r+"-*)?|"+r+"-+|\\.+(?:"+r+"\\.*)?|"+r+"\\.+)",a=/(?:<{1,2}|\/{1,2}|\\{1,2}|<\||[#*^+}xo])/.source,o=/(?:>{1,2}|\/{1,2}|\\{1,2}|\|>|[#*^+{xo])/.source,l=/[[?]?[ox]?/.source,c=/[ox]?[\]?]?/.source,d=l+"(?:"+s+o+"|"+a+s+"(?:"+o+")?)"+c;t.languages["plant-uml"]={comment:{pattern:/(^[ \t]*)(?:'.*|\/'[\s\S]*?'\/)/m,lookbehind:!0,greedy:!0},preprocessor:{pattern:/(^[ \t]*)!.*/m,lookbehind:!0,greedy:!0,alias:"property",inside:{variable:n}},delimiter:{pattern:/(^[ \t]*)@(?:end|start)uml\b/m,lookbehind:!0,greedy:!0,alias:"punctuation"},arrow:{pattern:RegExp(/(^|[^-.<>?|\\[\]ox])/.source+d+/(?![-.<>?|\\\]ox])/.source),lookbehind:!0,greedy:!0,alias:"operator",inside:{expression:{pattern:/(\[)[^[\]]+(?=\])/,lookbehind:!0,inside:null},punctuation:/\[(?=$|\])|^\]/}},string:{pattern:/"[^"]*"/,greedy:!0},text:{pattern:/(\[[ \t]*[\r\n]+(?![\r\n]))[^\]]*(?=\])/,lookbehind:!0,greedy:!0,alias:"string"},keyword:[{pattern:/^([ \t]*)(?:abstract\s+class|end\s+(?:box|fork|group|merge|note|ref|split|title)|(?:fork|split)(?:\s+again)?|activate|actor|agent|alt|annotation|artifact|autoactivate|autonumber|backward|binary|boundary|box|break|caption|card|case|circle|class|clock|cloud|collections|component|concise|control|create|critical|database|deactivate|destroy|detach|diamond|else|elseif|end|end[hr]note|endif|endswitch|endwhile|entity|enum|file|folder|footer|frame|group|[hr]?note|header|hexagon|hide|if|interface|label|legend|loop|map|namespace|network|newpage|node|nwdiag|object|opt|package|page|par|participant|person|queue|rectangle|ref|remove|repeat|restore|return|robust|scale|set|show|skinparam|stack|start|state|stop|storage|switch|title|together|usecase|usecase\/|while)(?=\s|$)/m,lookbehind:!0,greedy:!0},/\b(?:elseif|equals|not|while)(?=\s*\()/,/\b(?:as|is|then)\b/],divider:{pattern:/^==.+==$/m,greedy:!0,alias:"important"},time:{pattern:/@(?:\d+(?:[:/]\d+){2}|[+-]?\d+|:[a-z]\w*(?:[+-]\d+)?)\b/i,greedy:!0,alias:"number"},color:{pattern:/#(?:[a-z_]+|[a-fA-F0-9]+)\b/,alias:"symbol"},variable:n,punctuation:/[:,;()[\]{}]|\.{3}/},t.languages["plant-uml"].arrow.inside.expression.inside=t.languages["plant-uml"],t.languages.plantuml=t.languages["plant-uml"]})(e)}MV.displayName="plsql";MV.aliases=[];function MV(e){e.register(e2),e.languages.plsql=e.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),e.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}FV.displayName="powerquery";FV.aliases=["mscript","pq"];function FV(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}$V.displayName="powershell";$V.aliases=[];function $V(e){(function(t){var n=t.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};n.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:n},boolean:n.boolean,variable:n.variable}})(e)}BV.displayName="processing";BV.aliases=[];function BV(e){e.register(mi),e.languages.processing=e.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),e.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}UV.displayName="prolog";UV.aliases=[];function UV(e){e.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}zV.displayName="promql";zV.aliases=[];function zV(e){(function(t){var n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],r=["on","ignoring","group_right","group_left","by","without"],i=["offset"],s=n.concat(r,i);t.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+r.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+s.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(e)}HV.displayName="properties";HV.aliases=[];function HV(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,value:{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0,alias:"attr-value"},key:{pattern:/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,alias:"attr-name"},punctuation:/[=:]/}}qV.displayName="protobuf";qV.aliases=[];function qV(e){e.register(mi),function(t){var n=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;t.languages.protobuf=t.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),t.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:n}},builtin:n,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}(e)}jV.displayName="stylus";jV.aliases=[];function jV(e){(function(t){var n={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},r={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},i={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:n,number:r,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:n,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:r,punctuation:/[{}()\[\];:,]/};i.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:i}},i.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:i}},t.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:i}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:i}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:i}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:i.interpolation}},rest:i}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:i.interpolation,comment:i.comment,punctuation:/[{},]/}},func:i.func,string:i.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:i.interpolation,punctuation:/[{}()\[\];:.]/}})(e)}WV.displayName="twig";WV.aliases=[];function WV(e){e.register(xl),e.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},e.hooks.add("before-tokenize",function(t){if(t.language==="twig"){var n=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;e.languages["markup-templating"].buildPlaceholders(t,"twig",n)}}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"twig")})}QV.displayName="pug";QV.aliases=[];function QV(e){e.register(wl),e.register(el),function(t){t.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:t.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:t.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:t.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:t.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:t.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:t.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:t.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:t.languages.javascript}],punctuation:/[.\-!=|]+/};for(var n=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,r=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],i={},s=0,a=r.length;s",function(){return o.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[o.language,"language-"+o.language],inside:t.languages[o.language]}}})}t.languages.insertBefore("pug","filter",i)}(e)}VV.displayName="puppet";VV.aliases=[];function VV(e){(function(t){t.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var n=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:t.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];t.languages.puppet.heredoc[0].inside.interpolation=n,t.languages.puppet.string.inside["double-quoted"].inside.interpolation=n})(e)}GV.displayName="pure";GV.aliases=[];function GV(e){(function(t){t.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var n=["c",{lang:"c++",alias:"cpp"},"fortran"],r=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;n.forEach(function(i){var s=i;if(typeof i!="string"&&(s=i.alias,i=i.lang),t.languages[s]){var a={};a["inline-lang-"+s]={pattern:RegExp(r.replace("",i.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:t.util.clone(t.languages.pure["inline-lang"].inside)},a["inline-lang-"+s].inside.rest=t.util.clone(t.languages[s]),t.languages.insertBefore("pure","inline-lang",a)}}),t.languages.c&&(t.languages.pure["inline-lang"].inside.rest=t.util.clone(t.languages.c))})(e)}YV.displayName="purebasic";YV.aliases=["pbfasm"];function YV(e){e.register(mi),e.languages.purebasic=e.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+\$?|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),e.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete e.languages.purebasic["class-name"],delete e.languages.purebasic.boolean,e.languages.pbfasm=e.languages.purebasic}ZV.displayName="purescript";ZV.aliases=["purs"];function ZV(e){e.register(_A),e.languages.purescript=e.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[e.languages.haskell.operator[0],e.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),e.languages.purs=e.languages.purescript}XV.displayName="qsharp";XV.aliases=["qs"];function XV(e){e.register(mi),function(t){function n(g,b){return g.replace(/<<(\d+)>>/g,function(w,x){return"(?:"+b[+x]+")"})}function r(g,b,w){return RegExp(n(g,b),"")}function i(g,b){for(var w=0;w>/g,function(){return"(?:"+g+")"});return g.replace(/<>/g,"[^\\s\\S]")}var s={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function a(g){return"\\b(?:"+g.trim().replace(/ /g,"|")+")\\b"}var o=RegExp(a(s.type+" "+s.other)),l=/\b[A-Za-z_]\w*\b/.source,c=n(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[l]),d={keyword:o,punctuation:/[<>()?,.:[\]]/},f=/"(?:\\.|[^\\"])*"/.source;t.languages.qsharp=t.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[f]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:r(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[c]),lookbehind:!0,inside:d},{pattern:r(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[c]),lookbehind:!0,inside:d}],keyword:o,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),t.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var p=i(n(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[f]),2);t.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:r(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[p]),greedy:!0,inside:{interpolation:{pattern:r(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[p]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:t.languages.qsharp}}},string:/[\s\S]+/}}})}(e),e.languages.qs=e.languages.qsharp}KV.displayName="q";KV.aliases=[];function KV(e){e.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}JV.displayName="qml";JV.aliases=[];function JV(e){e.register(wl),function(t){for(var n=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,r=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,i=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return n}).replace(//g,function(){return r}),s=0;s<2;s++)i=i.replace(//g,function(){return i});i=i.replace(//g,"[^\\s\\S]"),t.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return i}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:t.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return i}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:t.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(e)}eG.displayName="qore";eG.aliases=[];function eG(e){e.register(mi),e.languages.qore=e.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}tG.displayName="racket";tG.aliases=["rkt"];function tG(e){e.register(AA),e.languages.racket=e.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),e.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),e.languages.rkt=e.languages.racket}nG.displayName="cshtml";nG.aliases=["razor"];function nG(e){e.register(Uy),e.register(el),function(t){var n=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,r=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function i(_,C){for(var I=0;I/g,function(){return"(?:"+_+")"});return _.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+r+")").replace(//g,"(?:"+n+")")}var s=i(/\((?:[^()'"@/]|||)*\)/.source,2),a=i(/\[(?:[^\[\]'"@/]|||)*\]/.source,1),o=i(/\{(?:[^{}'"@/]|||)*\}/.source,2),l=i(/<(?:[^<>'"@/]||)*>/.source,1),c=/@/.source+/(?:await\b\s*)?/.source+"(?:"+/(?!await\b)\w+\b/.source+"|"+s+")(?:"+/[?!]?\.\w+\b/.source+"|(?:"+l+")?"+s+"|"+a+")*"+/(?![?!\.(\[]|<(?!\/))/.source,d=/@(?![\w()])/.source+"|"+c,f="(?:"+/"[^"@]*"|'[^'@]*'|[^\s'"@>=]+(?=[\s>])/.source+`|["'][^"'@]*(?:(?:`+d+`)[^"'@]*)+["'])`,p=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*|(?=[\s/>])))+)?/.source.replace(//,f),g=/(?!\d)[^\s>\/=$<%]+/.source+p+/\s*\/?>/.source,b=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+p+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+g+"|"+i(/<\1/.source+p+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+g+"|")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/*\.{3}(?:[^{}]|)*\})/.source;function a(c,d){return c=c.replace(//g,function(){return r}).replace(//g,function(){return i}).replace(//g,function(){return s}),RegExp(c,d)}s=a(s).source,t.languages.jsx=t.languages.extend("markup",n),t.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),t.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,t.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,t.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,t.languages.jsx.tag.inside.comment=n.comment,t.languages.insertBefore("inside","attr-name",{spread:{pattern:a(//.source),inside:t.languages.jsx}},t.languages.jsx.tag),t.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:t.languages.jsx}}},t.languages.jsx.tag);var o=function(c){return c?typeof c=="string"?c:typeof c.content=="string"?c.content:c.content.map(o).join(""):""},l=function(c){for(var d=[],f=0;f0&&d[d.length-1].tagName===o(p.content[0].content[1])&&d.pop():p.content[p.content.length-1].content==="/>"||d.push({tagName:o(p.content[0].content[1]),openedBraces:0}):d.length>0&&p.type==="punctuation"&&p.content==="{"?d[d.length-1].openedBraces++:d.length>0&&d[d.length-1].openedBraces>0&&p.type==="punctuation"&&p.content==="}"?d[d.length-1].openedBraces--:g=!0),(g||typeof p=="string")&&d.length>0&&d[d.length-1].openedBraces===0){var b=o(p);f0&&(typeof c[f-1]=="string"||c[f-1].type==="plain-text")&&(b=o(c[f-1])+b,c.splice(f-1,1),f--),c[f]=new t.Token("plain-text",b,null,b)}p.content&&typeof p.content!="string"&&l(p.content)}};t.hooks.add("after-tokenize",function(c){c.language!=="jsx"&&c.language!=="tsx"||l(c.tokens)})}(e)}rG.displayName="tsx";rG.aliases=[];function rG(e){e.register(gN),e.register(t2),function(t){var n=t.util.clone(t.languages.typescript);t.languages.tsx=t.languages.extend("jsx",n),delete t.languages.tsx.parameter,delete t.languages.tsx["literal-property"];var r=t.languages.tsx.tag;r.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+r.pattern.source+")",r.pattern.flags),r.lookbehind=!0}(e)}iG.displayName="reason";iG.aliases=[];function iG(e){e.register(mi),e.languages.reason=e.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),e.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete e.languages.reason.function}sG.displayName="rego";sG.aliases=[];function sG(e){e.languages.rego={comment:/#.*/,property:{pattern:/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,boolean:/\b(?:false|true)\b/,function:{pattern:/\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,inside:{namespace:/\b\w+\b(?=\s*\.)/,punctuation:/\./}},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/[-+*/%|&]|[<>:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}aG.displayName="renpy";aG.aliases=["rpy"];function aG(e){e.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},e.languages.rpy=e.languages.renpy}oG.displayName="rescript";oG.aliases=["res"];function oG(e){e.languages.rescript={comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},char:{pattern:/'(?:[^\r\n\\]|\\(?:.|\w+))'/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*|@[a-z.]*|#[A-Za-z]\w*|#\d/,function:{pattern:/[a-zA-Z]\w*(?=\()|(\.)[a-z]\w*/,lookbehind:!0},number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,boolean:/\b(?:false|true)\b/,"attr-value":/[A-Za-z]\w*(?==)/,constant:{pattern:/(\btype\s+)[a-z]\w*/,lookbehind:!0},tag:{pattern:/(<)[a-z]\w*|(?:<\/)[a-z]\w*/,lookbehind:!0,inside:{operator:/<|>|\//}},keyword:/\b(?:and|as|assert|begin|bool|class|constraint|do|done|downto|else|end|exception|external|float|for|fun|function|if|in|include|inherit|initializer|int|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|string|switch|then|to|try|type|when|while|with)\b/,operator:/\.{3}|:[:=]?|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/,punctuation:/[(){}[\],;.]/},e.languages.insertBefore("rescript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"tag"},rest:e.languages.rescript}},string:/[\s\S]+/}}}),e.languages.res=e.languages.rescript}lG.displayName="rest";lG.aliases=[];function lG(e){e.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}uG.displayName="rip";uG.aliases=[];function uG(e){e.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}cG.displayName="roboconf";cG.aliases=[];function cG(e){e.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}dG.displayName="robotframework";dG.aliases=["robot"];function dG(e){(function(t){var n={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},r={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function i(l,c){var d={};d["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var f in c)d[f]=c[f];return d.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},d.variable=r,d.comment=n,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return l}),"im"),alias:"section",inside:d}}var s={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},a={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:r}},o={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:r}};t.languages.robotframework={settings:i("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:i("Variables"),"test-cases":i("Test Cases",{"test-name":a,documentation:s,property:o}),keywords:i("Keywords",{"keyword-name":a,documentation:s,property:o}),tasks:i("Tasks",{"task-name":a,documentation:s,property:o}),comment:n},t.languages.robot=t.languages.robotframework})(e)}fG.displayName="sas";fG.aliases=[];function fG(e){(function(t){var n=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,r=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,i={pattern:RegExp(n+"[bx]"),alias:"number"},s={pattern:/&[a-z_]\w*/i},a={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},o={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},l=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],c={pattern:RegExp(n),greedy:!0},d=/[$%@.(){}\[\];,\\]/,f={pattern:/%?\b\w+(?=\()/,alias:"keyword"},p={function:f,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":s,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:r,"numeric-constant":i,punctuation:d,string:c},g={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},b={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},w={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},x={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},T=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,_={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return T}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return T}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:l,function:f,"arg-value":p["arg-value"],operator:p.operator,argument:p.arg,number:r,"numeric-constant":i,punctuation:d,string:c}},C={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};t.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return n}),"im"),alias:"language-sql",inside:t.languages.sql},"global-statements":w,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:r,"numeric-constant":i,punctuation:d,string:c}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:l,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return n}),"im"),lookbehind:!0,alias:"language-groovy",inside:t.languages.groovy},keyword:C,"submit-statement":x,"global-statements":w,number:r,"numeric-constant":i,punctuation:d,string:c}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:l,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return n}),"im"),lookbehind:!0,alias:"language-lua",inside:t.languages.lua},keyword:C,"submit-statement":x,"global-statements":w,number:r,"numeric-constant":i,punctuation:d,string:c}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:l,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:p}},"cas-actions":_,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:p},step:o,keyword:C,function:f,format:g,altformat:b,"global-statements":w,number:r,"numeric-constant":i,punctuation:d,string:c}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return n}),"im"),lookbehind:!0,inside:p},"macro-keyword":a,"macro-variable":s,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":a,"macro-variable":s,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:d}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:l,number:r,"numeric-constant":i}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:p},"cas-actions":_,comment:l,function:f,format:g,altformat:b,"numeric-constant":i,datetime:{pattern:RegExp(n+"(?:dt?|t)"),alias:"number"},string:c,step:o,keyword:C,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:r,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:d}})(e)}hG.displayName="shell-session";hG.aliases=["sh-session","shellsession"];function hG(e){e.register(SA),function(t){var n=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");t.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return n}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:t.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},t.languages["sh-session"]=t.languages.shellsession=t.languages["shell-session"]}(e)}pG.displayName="smali";pG.aliases=[];function pG(e){e.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}mG.displayName="smalltalk";mG.aliases=[];function mG(e){e.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}gG.displayName="smarty";gG.aliases=[];function gG(e){e.register(xl),function(t){t.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:t.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},t.languages.smarty["embedded-php"].inside.smarty.inside=t.languages.smarty,t.languages.smarty.string[0].inside.interpolation.inside.expression.inside=t.languages.smarty;var n=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,r=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return n.source}),"g");t.hooks.add("before-tokenize",function(i){var s="{literal}",a="{/literal}",o=!1;t.languages["markup-templating"].buildPlaceholders(i,"smarty",r,function(l){return l===a&&(o=!1),o?!1:(l===s&&(o=!0),!0)})}),t.hooks.add("after-tokenize",function(i){t.languages["markup-templating"].tokenizePlaceholders(i,"smarty")})}(e)}bG.displayName="sml";bG.aliases=["smlnj"];function bG(e){(function(t){var n=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;t.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return n.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:n,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},t.languages.sml["class-name"][0].inside=t.languages.sml,t.languages.smlnj=t.languages.sml})(e)}yG.displayName="solidity";yG.aliases=["sol"];function yG(e){e.register(mi),e.languages.solidity=e.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),e.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),e.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),e.languages.sol=e.languages.solidity}vG.displayName="solution-file";vG.aliases=["sln"];function vG(e){(function(t){var n={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};t.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:n}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:n}},guid:n,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},t.languages.sln=t.languages["solution-file"]})(e)}SG.displayName="soy";SG.aliases=[];function SG(e){e.register(xl),function(t){var n=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,r=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;t.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:n,greedy:!0},number:r,punctuation:/[\[\].?]/}},string:{pattern:n,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:r,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},t.hooks.add("before-tokenize",function(i){var s=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,a="{literal}",o="{/literal}",l=!1;t.languages["markup-templating"].buildPlaceholders(i,"soy",s,function(c){return c===o&&(l=!1),l?!1:(c===a&&(l=!0),!0)})}),t.hooks.add("after-tokenize",function(i){t.languages["markup-templating"].tokenizePlaceholders(i,"soy")})}(e)}bN.displayName="turtle";bN.aliases=["trig"];function bN(e){e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},e.languages.trig=e.languages.turtle}OG.displayName="sparql";OG.aliases=["rq"];function OG(e){e.register(bN),e.languages.sparql=e.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),e.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),e.languages.rq=e.languages.sparql}EG.displayName="splunk-spl";EG.aliases=[];function EG(e){e.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}wG.displayName="sqf";wG.aliases=[];function wG(e){e.register(mi),e.languages.sqf=e.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),e.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:e.languages.sqf.comment}}}),delete e.languages.sqf["class-name"]}xG.displayName="squirrel";xG.aliases=[];function xG(e){e.register(mi),e.languages.squirrel=e.languages.extend("clike",{comment:[e.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),e.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}TG.displayName="stan";TG.aliases=[];function TG(e){(function(t){var n=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;t.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+n.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,n],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},t.languages.stan.constraint.inside.expression.inside=t.languages.stan})(e)}kG.displayName="stata";kG.aliases=[];function kG(e){e.register(zy),e.register(mN),e.register(wA),e.languages.stata={comment:[{pattern:/(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|\s)\/\/.*|\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0}],"string-literal":{pattern:/"[^"\r\n]*"|[‘`']".*?"[’`']/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}|[‘`']\w[^’`'\r\n]*[’`']/,inside:{punctuation:/^\$\{|\}$/,expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},mata:{pattern:/(^[ \t]*mata[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-mata",inside:e.languages.mata},java:{pattern:/(^[ \t]*java[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-java",inside:e.languages.java},python:{pattern:/(^[ \t]*python[ \t]*:)[\s\S]+?(?=^end\b)/m,lookbehind:!0,greedy:!0,alias:"language-python",inside:e.languages.python},command:{pattern:/(^[ \t]*(?:\.[ \t]+)?(?:(?:bayes|bootstrap|by|bysort|capture|collect|fmm|fp|frame|jackknife|mfp|mi|nestreg|noisily|permute|quietly|rolling|simulate|statsby|stepwise|svy|version|xi)\b[^:\r\n]*:[ \t]*|(?:capture|noisily|quietly|version)[ \t]+)?)[a-zA-Z]\w*/m,lookbehind:!0,greedy:!0,alias:"keyword"},variable:/\$\w+|[‘`']\w[^’`'\r\n]*[’`']/,keyword:/\b(?:bayes|bootstrap|by|bysort|capture|clear|collect|fmm|fp|frame|if|in|jackknife|mi[ \t]+estimate|mfp|nestreg|noisily|of|permute|quietly|rolling|simulate|sort|statsby|stepwise|svy|varlist|version|xi)\b/,boolean:/\b(?:off|on)\b/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+/,function:/\b[a-z_]\w*(?=\()/i,operator:/\+\+|--|##?|[<>!=~]=?|[+\-*^&|/]/,punctuation:/[(){}[\],:]/},e.languages.stata["string-literal"].inside.interpolation.inside.expression.inside=e.languages.stata}_G.displayName="iecst";_G.aliases=[];function _G(e){e.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}AG.displayName="supercollider";AG.aliases=["sclang"];function AG(e){e.languages.supercollider={comment:{pattern:/\/\/.*|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^"\\]|\\[\s\S])*"/,lookbehind:!0,greedy:!0},char:{pattern:/\$(?:[^\\\r\n]|\\.)/,greedy:!0},symbol:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'|\\\w+/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|arg|classvar|const|nil|var|while)\b/,boolean:/\b(?:false|true)\b/,label:{pattern:/\b[a-z_]\w*(?=\s*:)/,alias:"property"},number:/\b(?:inf|pi|0x[0-9a-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(?:pi)?|\d+r[0-9a-zA-Z]+(?:\.[0-9a-zA-Z]+)?|\d+[sb]{1,4}\d*)\b/,"class-name":/\b[A-Z]\w*\b/,operator:/\.{2,3}|#(?![[{])|&&|[!=]==?|\+>>|\+{1,3}|-[->]|=>|>>|\?\?|@\|?@|\|(?:@|[!=]=)?\||!\?|<[!=>]|\*{1,2}|<{2,3}\*?|[-!%&/<>?@|=`]/,punctuation:/[{}()[\].:,;]|#[[{]/},e.languages.sclang=e.languages.supercollider}CG.displayName="systemd";CG.aliases=[];function CG(e){(function(t){var n={pattern:/^[;#].*/m,greedy:!0},r=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;t.languages.systemd={comment:n,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+r+`|(?=[^"\r ]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+r+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:n,quoted:{pattern:RegExp(/(^|\s)/.source+r),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(e)}CA.displayName="t4-templating";CA.aliases=[];function CA(e){(function(t){function n(i,s,a){return{pattern:RegExp("<#"+i+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+i+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:s,alias:a}}}}function r(i){var s=t.languages[i],a="language-"+i;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:n("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:n("=",s,a),"class-feature":n("\\+",s,a),standard:n("",s,a)}}}}t.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:r})})(e)}RG.displayName="t4-cs";RG.aliases=["t4"];function RG(e){e.register(Uy),e.register(CA),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}IG.displayName="t4-vb";IG.aliases=[];function IG(e){e.register(CA),e.register(TA),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}DG.displayName="tap";DG.aliases=[];function DG(e){e.register(EA),e.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:e.languages.yaml,alias:"language-yaml"}}}NG.displayName="tcl";NG.aliases=[];function NG(e){e.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}PG.displayName="tt2";PG.aliases=[];function PG(e){e.register(mi),e.register(xl),function(t){t.languages.tt2=t.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),t.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),t.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),t.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete t.languages.tt2.string,t.hooks.add("before-tokenize",function(n){var r=/\[%[\s\S]+?%\]/g;t.languages["markup-templating"].buildPlaceholders(n,"tt2",r)}),t.hooks.add("after-tokenize",function(n){t.languages["markup-templating"].tokenizePlaceholders(n,"tt2")})}(e)}LG.displayName="toml";LG.aliases=[];function LG(e){(function(t){var n=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function r(i){return i.replace(/__/g,function(){return n})}t.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(r(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(r(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(e)}MG.displayName="tremor";MG.aliases=["trickle","troy"];function MG(e){(function(t){t.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var n=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;t.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+n+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+n+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(n),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:t.languages.tremor}}},string:/[\s\S]+/}},t.languages.troy=t.languages.tremor,t.languages.trickle=t.languages.tremor})(e)}FG.displayName="typoscript";FG.aliases=["tsconfig"];function FG(e){(function(t){var n=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;t.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:n}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:n,number:/^\d+$/,punctuation:/[,|:]/}},keyword:n,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},t.languages.tsconfig=t.languages.typoscript})(e)}$G.displayName="unrealscript";$G.aliases=["uc","uscript"];function $G(e){e.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},e.languages.uc=e.languages.uscript=e.languages.unrealscript}BG.displayName="uorazor";BG.aliases=[];function BG(e){e.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}UG.displayName="v";UG.aliases=[];function UG(e){e.register(mi),function(t){var n={pattern:/[\s\S]+/,inside:null};t.languages.v=t.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":n}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),n.inside=t.languages.v,t.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),t.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),t.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:t.languages.v.generic.inside}}}})}(e)}zG.displayName="vala";zG.aliases=[];function zG(e){e.register(mi),e.languages.vala=e.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),e.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:e.languages.vala}},string:/[\s\S]+/}}}),e.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}HG.displayName="velocity";HG.aliases=[];function HG(e){e.register(el),function(t){t.languages.velocity=t.languages.extend("markup",{});var n={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};n.variable.inside={string:n.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:n.number,boolean:n.boolean,punctuation:n.punctuation},t.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:n}},variable:n.variable}),t.languages.velocity.tag.inside["attr-value"].inside.rest=t.languages.velocity}(e)}qG.displayName="verilog";qG.aliases=[];function qG(e){e.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}jG.displayName="vhdl";jG.aliases=[];function jG(e){e.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,attribute:{pattern:/\b'\w+/,alias:"attr-name"},keyword:/\b(?:access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|private|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|view|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}WG.displayName="vim";WG.aliases=[];function WG(e){e.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}QG.displayName="visual-basic";QG.aliases=["vb","vba"];function QG(e){e.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},e.languages.vb=e.languages["visual-basic"],e.languages.vba=e.languages["visual-basic"]}VG.displayName="warpscript";VG.aliases=[];function VG(e){e.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}GG.displayName="wasm";GG.aliases=[];function GG(e){e.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}YG.displayName="web-idl";YG.aliases=["webidl"];function YG(e){(function(t){var n=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,r="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+n+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,i={};t.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+n),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:i},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+r),lookbehind:!0,inside:i},{pattern:RegExp("("+/\bcallback\s+/.source+n+/\s*=\s*/.source+")"+r),lookbehind:!0,inside:i},{pattern:RegExp(/(\btypedef\b\s*)/.source+r),lookbehind:!0,inside:i},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+n),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+n),lookbehind:!0},RegExp(n+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+n),lookbehind:!0},{pattern:RegExp(r+"(?="+/\s*(?:\.{3}\s*)?/.source+n+/\s*[(),;=]/.source+")"),inside:i}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var s in t.languages["web-idl"])s!=="class-name"&&(i[s]=t.languages["web-idl"][s]);t.languages.webidl=t.languages["web-idl"]})(e)}ZG.displayName="wgsl";ZG.aliases=[];function ZG(e){e.languages.wgsl={comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"builtin-attribute":{pattern:/(@)builtin\(.*?\)/,lookbehind:!0,inside:{attribute:{pattern:/^builtin/,alias:"attr-name"},punctuation:/[(),]/,"built-in-values":{pattern:/\b(?:frag_depth|front_facing|global_invocation_id|instance_index|local_invocation_id|local_invocation_index|num_workgroups|position|sample_index|sample_mask|vertex_index|workgroup_id)\b/,alias:"attr-value"}}},attributes:{pattern:/(@)(?:align|binding|compute|const|fragment|group|id|interpolate|invariant|location|size|vertex|workgroup_size)/i,lookbehind:!0,alias:"attr-name"},functions:{pattern:/\b(fn\s+)[_a-zA-Z]\w*(?=[(<])/,lookbehind:!0,alias:"function"},keyword:/\b(?:bitcast|break|case|const|continue|continuing|default|discard|else|enable|fallthrough|fn|for|function|if|let|loop|private|return|storage|struct|switch|type|uniform|var|while|workgroup)\b/,builtin:/\b(?:abs|acos|acosh|all|any|array|asin|asinh|atan|atan2|atanh|atomic|atomicAdd|atomicAnd|atomicCompareExchangeWeak|atomicExchange|atomicLoad|atomicMax|atomicMin|atomicOr|atomicStore|atomicSub|atomicXor|bool|ceil|clamp|cos|cosh|countLeadingZeros|countOneBits|countTrailingZeros|cross|degrees|determinant|distance|dot|dpdx|dpdxCoarse|dpdxFine|dpdy|dpdyCoarse|dpdyFine|exp|exp2|extractBits|f32|f64|faceForward|firstLeadingBit|floor|fma|fract|frexp|fwidth|fwidthCoarse|fwidthFine|i32|i64|insertBits|inverseSqrt|ldexp|length|log|log2|mat[2-4]x[2-4]|max|min|mix|modf|normalize|override|pack2x16float|pack2x16snorm|pack2x16unorm|pack4x8snorm|pack4x8unorm|pow|ptr|quantizeToF16|radians|reflect|refract|reverseBits|round|sampler|sampler_comparison|select|shiftLeft|shiftRight|sign|sin|sinh|smoothstep|sqrt|staticAssert|step|storageBarrier|tan|tanh|textureDimensions|textureGather|textureGatherCompare|textureLoad|textureNumLayers|textureNumLevels|textureNumSamples|textureSample|textureSampleBias|textureSampleCompare|textureSampleCompareLevel|textureSampleGrad|textureSampleLevel|textureStore|texture_1d|texture_2d|texture_2d_array|texture_3d|texture_cube|texture_cube_array|texture_depth_2d|texture_depth_2d_array|texture_depth_cube|texture_depth_cube_array|texture_depth_multisampled_2d|texture_multisampled_2d|texture_storage_1d|texture_storage_2d|texture_storage_2d_array|texture_storage_3d|transpose|trunc|u32|u64|unpack2x16float|unpack2x16snorm|unpack2x16unorm|unpack4x8snorm|unpack4x8unorm|vec[2-4]|workgroupBarrier)\b/,"function-calls":{pattern:/\b[_a-z]\w*(?=\()/i,alias:"function"},"class-name":/\b(?:[A-Z][A-Za-z0-9]*)\b/,"bool-literal":{pattern:/\b(?:false|true)\b/,alias:"boolean"},"hex-int-literal":{pattern:/\b0[xX][0-9a-fA-F]+[iu]?\b(?![.pP])/,alias:"number"},"hex-float-literal":{pattern:/\b0[xX][0-9a-fA-F]*(?:\.[0-9a-fA-F]*)?(?:[pP][+-]?\d+[fh]?)?/,alias:"number"},"decimal-float-literal":[{pattern:/\d*\.\d+(?:[eE](?:\+|-)?\d+)?[fh]?/,alias:"number"},{pattern:/\d+\.\d*(?:[eE](?:\+|-)?\d+)?[fh]?/,alias:"number"},{pattern:/\d+[eE](?:\+|-)?\d+[fh]?/,alias:"number"},{pattern:/\b\d+[fh]\b/,alias:"number"}],"int-literal":{pattern:/\b\d+[iu]?\b/,alias:"number"},operator:[{pattern:/(?:\^|~|\|(?!\|)|\|\||&&|<<|>>|!)(?!=)/},{pattern:/&(?![&=])/},{pattern:/(?:\+=|-=|\*=|\/=|%=|\^=|&=|\|=|<<=|>>=)/},{pattern:/(^|[^<>=!])=(?![=>])/,lookbehind:!0},{pattern:/(?:==|!=|<=|\+\+|--|(^|[^=])>=)/,lookbehind:!0},{pattern:/(?:(?:[+%]|(?:\*(?!\w)))(?!=))|(?:-(?!>))|(?:\/(?!\/))/},{pattern:/->/}],punctuation:/[@(){}[\],;<>:.]/}}XG.displayName="wiki";XG.aliases=[];function XG(e){e.register(el),e.languages.wiki=e.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:e.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),e.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:e.languages.markup.tag.inside}}}})}KG.displayName="wolfram";KG.aliases=["mathematica","nb","wl"];function KG(e){e.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.mathematica=e.languages.wolfram,e.languages.wl=e.languages.wolfram,e.languages.nb=e.languages.wolfram}JG.displayName="wren";JG.aliases=[];function JG(e){e.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},e.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:e.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}eY.displayName="xeora";eY.aliases=["xeoracube"];function eY(e){e.register(el),function(t){t.languages.xeora=t.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),t.languages.insertBefore("inside","punctuation",{variable:t.languages.xeora["function-inline"].inside.variable},t.languages.xeora["function-block"]),t.languages.xeoracube=t.languages.xeora}(e)}tY.displayName="xml-doc";tY.aliases=[];function tY(e){e.register(el),function(t){function n(a,o){t.languages[a]&&t.languages.insertBefore(a,"comment",{"doc-comment":o})}var r=t.languages.markup.tag,i={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:r}},s={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:r}};n("csharp",i),n("fsharp",i),n("vbnet",s)}(e)}nY.displayName="xojo";nY.aliases=[];function nY(e){e.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}rY.displayName="xquery";rY.aliases=[];function rY(e){e.register(el),function(t){t.languages.xquery=t.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),t.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,t.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,t.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,t.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:t.languages.xquery,alias:"language-xquery"};var n=function(i){return typeof i=="string"?i:typeof i.content=="string"?i.content:i.content.map(n).join("")},r=function(i){for(var s=[],a=0;a0&&s[s.length-1].tagName===n(o.content[0].content[1])&&s.pop():o.content[o.content.length-1].content==="/>"||s.push({tagName:n(o.content[0].content[1]),openedBraces:0}):s.length>0&&o.type==="punctuation"&&o.content==="{"&&(!i[a+1]||i[a+1].type!=="punctuation"||i[a+1].content!=="{")&&(!i[a-1]||i[a-1].type!=="plain-text"||i[a-1].content!=="{")?s[s.length-1].openedBraces++:s.length>0&&s[s.length-1].openedBraces>0&&o.type==="punctuation"&&o.content==="}"?s[s.length-1].openedBraces--:o.type!=="comment"&&(l=!0)),(l||typeof o=="string")&&s.length>0&&s[s.length-1].openedBraces===0){var c=n(o);a0&&(typeof i[a-1]=="string"||i[a-1].type==="plain-text")&&(c=n(i[a-1])+c,i.splice(a-1,1),a--),/^\s+$/.test(c)?i[a]=c:i[a]=new t.Token("plain-text",c,null,c)}o.content&&typeof o.content!="string"&&r(o.content)}};t.hooks.add("after-tokenize",function(i){i.language==="xquery"&&r(i.tokens)})}(e)}iY.displayName="yang";iY.aliases=[];function iY(e){e.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}sY.displayName="zig";sY.aliases=[];function sY(e){(function(t){function n(c){return function(){return c}}var r=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,i="\\b(?!"+r.source+")(?!\\d)\\w+\\b",s=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,a=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,n(s)),o=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,n(i)),l="(?!\\s)(?:!?\\s*(?:"+a+"\\s*)*"+o+")+";t.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,n(l)).replace(//g,n(s))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,n(l)).replace(//g,n(s))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:r,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},t.languages.zig["class-name"].forEach(function(c){c.inside===null&&(c.inside=t.languages.zig)})})(e)}Te.register(el);Te.register(A1);Te.register(mi);Te.register(tN);Te.register(wl);Te.register(Ej);Te.register(wj);Te.register(xj);Te.register(Tj);Te.register(kj);Te.register(_j);Te.register(Aj);Te.register(Cj);Te.register(e2);Te.register(Rj);Te.register(Ij);Te.register(Dj);Te.register(Nj);Te.register(wh);Te.register(By);Te.register(XD);Te.register(Pj);Te.register(Lj);Te.register(SA);Te.register(EA);Te.register(sN);Te.register(Mj);Te.register(Fj);Te.register(Uy);Te.register($j);Te.register(Bj);Te.register(Uj);Te.register(zj);Te.register(Hj);Te.register(qj);Te.register(jj);Te.register(Wj);Te.register(xA);Te.register(Qj);Te.register(Vj);Te.register(Gj);Te.register(Yj);Te.register(Zj);Te.register(Xj);Te.register(Kj);Te.register(Jj);Te.register(eW);Te.register(tW);Te.register(nW);Te.register(rW);Te.register(iW);Te.register(sW);Te.register(aW);Te.register(oW);Te.register(lW);Te.register(uW);Te.register(cW);Te.register(dW);Te.register(fW);Te.register(hW);Te.register(pW);Te.register(mW);Te.register(gW);Te.register(qy);Te.register(bW);Te.register(yW);Te.register(vW);Te.register(SW);Te.register(OW);Te.register(EW);Te.register(wW);Te.register(xW);Te.register(TW);Te.register(kW);Te.register(KD);Te.register(xl);Te.register(_W);Te.register(AW);Te.register(CW);Te.register(RW);Te.register(IW);Te.register(DW);Te.register(NW);Te.register(PW);Te.register(LW);Te.register(MW);Te.register(OA);Te.register(FW);Te.register($W);Te.register(BW);Te.register(UW);Te.register(zW);Te.register(HW);Te.register(qW);Te.register(jW);Te.register(WW);Te.register(QW);Te.register(VW);Te.register(GW);Te.register(YW);Te.register(ZW);Te.register(XW);Te.register(KW);Te.register(JW);Te.register(eQ);Te.register(tQ);Te.register(nQ);Te.register(rQ);Te.register(iQ);Te.register(JD);Te.register(sQ);Te.register(aQ);Te.register(oQ);Te.register(lQ);Te.register(rN);Te.register(dN);Te.register(uQ);Te.register(cQ);Te.register(dQ);Te.register(_A);Te.register(fQ);Te.register(hQ);Te.register(pQ);Te.register(mQ);Te.register(gQ);Te.register(bQ);Te.register(JE);Te.register(yQ);Te.register(vQ);Te.register(SQ);Te.register(OQ);Te.register(EQ);Te.register(wQ);Te.register(xQ);Te.register(TQ);Te.register(eN);Te.register(kQ);Te.register(_Q);Te.register(zy);Te.register(Hy);Te.register(i2);Te.register(AQ);Te.register(CQ);Te.register(RQ);Te.register(IQ);Te.register(DQ);Te.register(NQ);Te.register(PQ);Te.register(t2);Te.register(LQ);Te.register(MQ);Te.register(FQ);Te.register($Q);Te.register(BQ);Te.register(UQ);Te.register(zQ);Te.register(HQ);Te.register(qQ);Te.register(nN);Te.register(jQ);Te.register(WQ);Te.register(QQ);Te.register(VQ);Te.register(AA);Te.register(GQ);Te.register(YQ);Te.register(ZQ);Te.register(XQ);Te.register(KQ);Te.register(JQ);Te.register(eV);Te.register(tV);Te.register(iN);Te.register(mN);Te.register(nV);Te.register(rV);Te.register(iV);Te.register(sV);Te.register(aV);Te.register(oV);Te.register(lV);Te.register(uV);Te.register(cV);Te.register(dV);Te.register(fV);Te.register(hV);Te.register(pV);Te.register(mV);Te.register(gV);Te.register(bV);Te.register(yV);Te.register(vV);Te.register(SV);Te.register(aN);Te.register(OV);Te.register(EV);Te.register(wV);Te.register(xV);Te.register(TV);Te.register(kV);Te.register(_V);Te.register(AV);Te.register(CV);Te.register(RV);Te.register(IV);Te.register(DV);Te.register(oN);Te.register(NV);Te.register(PV);Te.register(LV);Te.register(MV);Te.register(FV);Te.register($V);Te.register(BV);Te.register(UV);Te.register(zV);Te.register(HV);Te.register(qV);Te.register(jV);Te.register(WV);Te.register(QV);Te.register(VV);Te.register(GV);Te.register(YV);Te.register(ZV);Te.register(wA);Te.register(XV);Te.register(KV);Te.register(JV);Te.register(eG);Te.register(lN);Te.register(tG);Te.register(nG);Te.register(gN);Te.register(rG);Te.register(iG);Te.register(sG);Te.register(aG);Te.register(oG);Te.register(lG);Te.register(uG);Te.register(cG);Te.register(dG);Te.register(uN);Te.register(fG);Te.register(cN);Te.register(hG);Te.register(pG);Te.register(mG);Te.register(gG);Te.register(bG);Te.register(yG);Te.register(vG);Te.register(SG);Te.register(bN);Te.register(OG);Te.register(EG);Te.register(wG);Te.register(xG);Te.register(TG);Te.register(kG);Te.register(_G);Te.register(AG);Te.register(fN);Te.register(CG);Te.register(CA);Te.register(RG);Te.register(TA);Te.register(IG);Te.register(DG);Te.register(NG);Te.register(PG);Te.register(LG);Te.register(MG);Te.register(FG);Te.register($G);Te.register(BG);Te.register(UG);Te.register(zG);Te.register(HG);Te.register(qG);Te.register(jG);Te.register(WG);Te.register(QG);Te.register(VG);Te.register(GG);Te.register(YG);Te.register(ZG);Te.register(XG);Te.register(KG);Te.register(JG);Te.register(eY);Te.register(tY);Te.register(nY);Te.register(rY);Te.register(iY);Te.register(sY);function FB(){FB=function(i,s){return new n(i,void 0,s)};var e=RegExp.prototype,t=new WeakMap;function n(i,s,a){var o=new RegExp(i,s);return t.set(o,a||t.get(i)),kI(o,n.prototype)}function r(i,s){var a=t.get(s);return Object.keys(a).reduce(function(o,l){var c=a[l];if(typeof c=="number")o[l]=i[c];else{for(var d=0;i[c[d]]===void 0&&d+1]+)>/g,function(l,c){var d=a[c];return"$"+(Array.isArray(d)?d.join("$"):d)}))}if(typeof s=="function"){var o=this;return e[Symbol.replace].call(this,i,function(){var l=arguments;return typeof l[l.length-1]!="object"&&(l=[].slice.call(l)).push(r(l,o)),s.apply(this,l)})}return e[Symbol.replace].call(this,i,s)},FB.apply(this,arguments)}function kI(e,t){return kI=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},kI(e,t)}function nse(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Zct=function(e){return function(t){return t===void 0&&(t={}),function(r,i){if(i&&!r.registered(i))throw new Error('The default language "'+i+'" is not registered with refractor.')}(e,t.defaultLanguage),function(r){Tu(r,"element",n)};function n(r,i,s){var a,o;if(s&&s.tagName==="pre"&&r.tagName==="code"){var l=(r==null||(a=r.data)==null?void 0:a.meta)||(r==null||(o=r.properties)==null?void 0:o.metastring)||"";r.properties.className?typeof r.properties.className=="boolean"?r.properties.className=[]:Array.isArray(r.properties.className)||(r.properties.className=[r.properties.className]):r.properties.className=[];var c,d,f=function(M){for(var $,B=DL(M.properties.className);!($=B()).done;){var j=$.value;if(j.slice(0,9)==="language-")return j.slice(9).toLowerCase()}return null}(r);if(!f&&t.defaultLanguage&&r.properties.className.push("language-"+(f=t.defaultLanguage)),r.properties.className.push("code-highlight"),f)try{var p,g;g=(p=f)!=null&&p.includes("diff-")?f.split("-")[1]:f,c=e.highlight($S(r),g),s.properties.className=(s.properties.className||[]).concat("language-"+g)}catch(M){if(!t.ignoreMissing||!/Unknown language/.test(M.message))throw M;c=r}else c=r;c.children=(d=1,function M($){return $.reduce(function(B,j){if(j.type==="text"){var F=j.value,V=(F.match(/\n/g)||"").length;if(V===0)j.position={start:{line:d,column:1},end:{line:d,column:1}},B.push(j);else for(var ie,se=F.split(` +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Xct=function(e){return function(t){return t===void 0&&(t={}),function(r,i){if(i&&!r.registered(i))throw new Error('The default language "'+i+'" is not registered with refractor.')}(e,t.defaultLanguage),function(r){Tu(r,"element",n)};function n(r,i,s){var a,o;if(s&&s.tagName==="pre"&&r.tagName==="code"){var l=(r==null||(a=r.data)==null?void 0:a.meta)||(r==null||(o=r.properties)==null?void 0:o.metastring)||"";r.properties.className?typeof r.properties.className=="boolean"?r.properties.className=[]:Array.isArray(r.properties.className)||(r.properties.className=[r.properties.className]):r.properties.className=[];var c,d,f=function(M){for(var $,B=DL(M.properties.className);!($=B()).done;){var j=$.value;if(j.slice(0,9)==="language-")return j.slice(9).toLowerCase()}return null}(r);if(!f&&t.defaultLanguage&&r.properties.className.push("language-"+(f=t.defaultLanguage)),r.properties.className.push("code-highlight"),f)try{var p,g;g=(p=f)!=null&&p.includes("diff-")?f.split("-")[1]:f,c=e.highlight($S(r),g),s.properties.className=(s.properties.className||[]).concat("language-"+g)}catch(M){if(!t.ignoreMissing||!/Unknown language/.test(M.message))throw M;c=r}else c=r;c.children=(d=1,function M($){return $.reduce(function(B,j){if(j.type==="text"){var F=j.value,V=(F.match(/\n/g)||"").length;if(V===0)j.position={start:{line:d,column:1},end:{line:d,column:1}},B.push(j);else for(var ie,se=F.split(` `),me=DL(se.entries());!(ie=me()).done;){var fe=ie.value,le=fe[0],ye=fe[1];B.push({type:"text",value:le===se.length-1?ye:ye+` -`,position:{start:{line:d+le,column:1},end:{line:d+le,column:1}}})}return d+=V,B}if(Object.prototype.hasOwnProperty.call(j,"children")){var ae=d;return j.children=M(j.children),B.push(j),j.position={start:{line:ae,column:1},end:{line:d,column:1}},B}return B.push(j),B},[])})(c.children),c.position=c.children.length>0?{start:{line:c.children[0].position.start.line,column:0},end:{line:c.children[c.children.length-1].position.end.line,column:0}}:{start:{line:0,column:0},end:{line:0,column:0}};for(var b,w=function(M){var $=/{([\d,-]+)}/,B=M.split(",").map(function(V){return V.trim()}).join();if($.test(B)){var j=$.exec(B)[1],F=gct(j);return function(V){return F.includes(V+1)}}return function(){return!1}}(l),x=function(M){var $=FB(/showLineNumbers=(\d+)/i,{lines:1});if($.test(M)){var B=$.exec(M);return Number(B.groups.lines)}return 1}(l),T=function(M){for(var $=new Array(M),B=0;B=j+1});F.children=V.children,!l.toLowerCase().includes("showLineNumbers".toLowerCase())&&!t.showLineNumbers||_.some(function(ie){return l.toLowerCase().includes(ie)})||(F.properties.line=[(j+x).toString()],F.properties.className.push("line-number")),w(j)&&F.properties.className.push("highlight-line"),(f==="diff"||(M=f)!=null&&M.includes("diff-"))&&$S(F).substring(0,1)==="-"?F.properties.className.push("deleted"):(f==="diff"||($=f)!=null&&$.includes("diff-"))&&$S(F).substring(0,1)==="+"&&F.properties.className.push("inserted")},I=DL(T.entries());!(b=I()).done;)C();T.length>0&&$S(T[T.length-1]).trim()===""&&T.pop(),r.children=T}}}},Xct=Zct(Te),fR={},$B={};function Kct(e,t){for(var n=t,r=0;r","+"],attributes:{unknownCaseSensitivityModifiers:"reject",operators:["=","~=","|="]},pseudoElements:{definitions:["before","after"]},pseudoClasses:{unknown:"reject",definitions:{NoArgument:["hover","focus","first-child"],String:["lang"]}}}),UB=RA(uve,{namespace:{wildcard:!0},combinators:["~"],attributes:{operators:["^=","$=","*="]},pseudoElements:{notation:"both"},pseudoClasses:{definitions:{NoArgument:["root","last-child","first-of-type","last-of-type","only-child","only-of-type","empty","target","enabled","disabled","checked","indeterminate"],Formula:["nth-child","nth-last-child","nth-of-type","nth-last-of-type"],Selector:["not"]}}}),zB=RA(UB,{combinators:["||"],attributes:{caseSensitivityModifiers:["i","I","s","S"]},pseudoClasses:{definitions:{NoArgument:["any-link","local-link","target-within","scope","current","past","future","focus-within","focus-visible","read-write","read-only","placeholder-shown","default","valid","invalid","in-range","out-of-range","required","optional","blank","user-invalid"],Formula:["nth-col","nth-last-col"],String:["dir"],FormulaOfSelector:["nth-child","nth-last-child"],Selector:["current","is","where","has"]}}}),adt=RA(zB,{pseudoElements:{unknown:"accept"},pseudoClasses:{unknown:"accept"},attributes:{unknownCaseSensitivityModifiers:"accept"}}),lse={css1:lve,css2:uve,css3:UB,"selectors-3":UB,"selectors-4":zB,latest:zB,progressive:adt};function _w(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="-"||e==="_"||e==="\\"||e>=" "}function use(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="-"||e==="_"||e>=" "}function Aw(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"}var odt={" ":!0," ":!0,"\n":!0,"\r":!0,"\f":!0},ldt={'"':!0,"'":!0},PL={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0},udt=6,LL="css-selector-parser parse error: ";function cdt(e){e===void 0&&(e={});var t=e.syntax,n=t===void 0?"latest":t,r=e.substitutes,i=e.strict,s=i===void 0?!0:i,a=typeof n=="object"?n:lse[n];a.baseSyntax&&(a=RA(lse[a.baseSyntax],a));var o=a.tag?[!0,!!rdt(a.tag).wildcard]:[!1,!1],l=o[0],c=o[1],d=!!a.ids,f=!!a.classNames,p=!!a.namespace,g=a.namespace&&(a.namespace===!0||a.namespace.wildcard===!0);if(p&&!l)throw new Error("".concat(LL,"Namespaces cannot be enabled while tags are disabled."));var b=!!r,w=a.combinators?rse(a.combinators):fR,x=a.attributes?[!0,a.attributes.operators?rse(a.attributes.operators):fR,a.attributes.caseSensitivityModifiers?Jct(a.attributes.caseSensitivityModifiers):$B,a.attributes.unknownCaseSensitivityModifiers==="accept"]:[!1,fR,$B,!1],T=x[0],_=x[1],C=x[2],I=x[3],M=I||Object.keys(C).length>0,$=a.pseudoClasses?[!0,a.pseudoClasses.definitions?sse(a.pseudoClasses.definitions):o3,a.pseudoClasses.unknown==="accept"]:[!1,o3,!1],B=$[0],j=$[1],F=$[2],V=a.pseudoElements?[!0,a.pseudoElements.notation==="singleColon"||a.pseudoElements.notation==="both",!a.pseudoElements.notation||a.pseudoElements.notation==="doubleColon"||a.pseudoElements.notation==="both",a.pseudoElements.definitions?sse(Array.isArray(a.pseudoElements.definitions)?{NoArgument:a.pseudoElements.definitions}:a.pseudoElements.definitions):o3,a.pseudoElements.unknown==="accept"]:[!1,!1,!1,o3,!1],ie=V[0],se=V[1],me=V[2],fe=V[3],le=V[4],ye="",ae=ye.length,Se=0,he="",re=function(Ne){return he===Ne},Fe=function(){return re("*")||_w(he)},je=function(Ne){Se=Ne,he=ye.charAt(Se)},ue=function(){Se++,he=ye.charAt(Se)},tt=function(){var Ne=he;return Se++,he=ye.charAt(Se),Ne};function St(Ne){var rt=Math.min(ae-1,Se),pt=new Error("".concat(LL).concat(Ne," Pos: ").concat(rt,"."));throw pt.position=rt,pt.name="ParserError",pt}function Ze(Ne,rt){if(!Ne)return St(rt)}var qt=function(){Ze(Se=ae},Nt=function(Ne){Ze(Se0?{start:{line:c.children[0].position.start.line,column:0},end:{line:c.children[c.children.length-1].position.end.line,column:0}}:{start:{line:0,column:0},end:{line:0,column:0}};for(var b,w=function(M){var $=/{([\d,-]+)}/,B=M.split(",").map(function(V){return V.trim()}).join();if($.test(B)){var j=$.exec(B)[1],F=bct(j);return function(V){return F.includes(V+1)}}return function(){return!1}}(l),x=function(M){var $=FB(/showLineNumbers=(\d+)/i,{lines:1});if($.test(M)){var B=$.exec(M);return Number(B.groups.lines)}return 1}(l),T=function(M){for(var $=new Array(M),B=0;B=j+1});F.children=V.children,!l.toLowerCase().includes("showLineNumbers".toLowerCase())&&!t.showLineNumbers||_.some(function(ie){return l.toLowerCase().includes(ie)})||(F.properties.line=[(j+x).toString()],F.properties.className.push("line-number")),w(j)&&F.properties.className.push("highlight-line"),(f==="diff"||(M=f)!=null&&M.includes("diff-"))&&$S(F).substring(0,1)==="-"?F.properties.className.push("deleted"):(f==="diff"||($=f)!=null&&$.includes("diff-"))&&$S(F).substring(0,1)==="+"&&F.properties.className.push("inserted")},I=DL(T.entries());!(b=I()).done;)C();T.length>0&&$S(T[T.length-1]).trim()===""&&T.pop(),r.children=T}}}},Kct=Xct(Te),fR={},$B={};function Jct(e,t){for(var n=t,r=0;r","+"],attributes:{unknownCaseSensitivityModifiers:"reject",operators:["=","~=","|="]},pseudoElements:{definitions:["before","after"]},pseudoClasses:{unknown:"reject",definitions:{NoArgument:["hover","focus","first-child"],String:["lang"]}}}),UB=RA(cve,{namespace:{wildcard:!0},combinators:["~"],attributes:{operators:["^=","$=","*="]},pseudoElements:{notation:"both"},pseudoClasses:{definitions:{NoArgument:["root","last-child","first-of-type","last-of-type","only-child","only-of-type","empty","target","enabled","disabled","checked","indeterminate"],Formula:["nth-child","nth-last-child","nth-of-type","nth-last-of-type"],Selector:["not"]}}}),zB=RA(UB,{combinators:["||"],attributes:{caseSensitivityModifiers:["i","I","s","S"]},pseudoClasses:{definitions:{NoArgument:["any-link","local-link","target-within","scope","current","past","future","focus-within","focus-visible","read-write","read-only","placeholder-shown","default","valid","invalid","in-range","out-of-range","required","optional","blank","user-invalid"],Formula:["nth-col","nth-last-col"],String:["dir"],FormulaOfSelector:["nth-child","nth-last-child"],Selector:["current","is","where","has"]}}}),odt=RA(zB,{pseudoElements:{unknown:"accept"},pseudoClasses:{unknown:"accept"},attributes:{unknownCaseSensitivityModifiers:"accept"}}),lse={css1:uve,css2:cve,css3:UB,"selectors-3":UB,"selectors-4":zB,latest:zB,progressive:odt};function _w(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="-"||e==="_"||e==="\\"||e>=" "}function use(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="-"||e==="_"||e>=" "}function Aw(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"}var ldt={" ":!0," ":!0,"\n":!0,"\r":!0,"\f":!0},udt={'"':!0,"'":!0},PL={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0},cdt=6,LL="css-selector-parser parse error: ";function ddt(e){e===void 0&&(e={});var t=e.syntax,n=t===void 0?"latest":t,r=e.substitutes,i=e.strict,s=i===void 0?!0:i,a=typeof n=="object"?n:lse[n];a.baseSyntax&&(a=RA(lse[a.baseSyntax],a));var o=a.tag?[!0,!!idt(a.tag).wildcard]:[!1,!1],l=o[0],c=o[1],d=!!a.ids,f=!!a.classNames,p=!!a.namespace,g=a.namespace&&(a.namespace===!0||a.namespace.wildcard===!0);if(p&&!l)throw new Error("".concat(LL,"Namespaces cannot be enabled while tags are disabled."));var b=!!r,w=a.combinators?rse(a.combinators):fR,x=a.attributes?[!0,a.attributes.operators?rse(a.attributes.operators):fR,a.attributes.caseSensitivityModifiers?edt(a.attributes.caseSensitivityModifiers):$B,a.attributes.unknownCaseSensitivityModifiers==="accept"]:[!1,fR,$B,!1],T=x[0],_=x[1],C=x[2],I=x[3],M=I||Object.keys(C).length>0,$=a.pseudoClasses?[!0,a.pseudoClasses.definitions?sse(a.pseudoClasses.definitions):o3,a.pseudoClasses.unknown==="accept"]:[!1,o3,!1],B=$[0],j=$[1],F=$[2],V=a.pseudoElements?[!0,a.pseudoElements.notation==="singleColon"||a.pseudoElements.notation==="both",!a.pseudoElements.notation||a.pseudoElements.notation==="doubleColon"||a.pseudoElements.notation==="both",a.pseudoElements.definitions?sse(Array.isArray(a.pseudoElements.definitions)?{NoArgument:a.pseudoElements.definitions}:a.pseudoElements.definitions):o3,a.pseudoElements.unknown==="accept"]:[!1,!1,!1,o3,!1],ie=V[0],se=V[1],me=V[2],fe=V[3],le=V[4],ye="",ae=ye.length,Se=0,he="",re=function(Ne){return he===Ne},Fe=function(){return re("*")||_w(he)},je=function(Ne){Se=Ne,he=ye.charAt(Se)},ue=function(){Se++,he=ye.charAt(Se)},tt=function(){var Ne=he;return Se++,he=ye.charAt(Se),Ne};function St(Ne){var rt=Math.min(ae-1,Se),pt=new Error("".concat(LL).concat(Ne," Pos: ").concat(rt,"."));throw pt.position=rt,pt.name="ParserError",pt}function Ze(Ne,rt){if(!Ne)return St(rt)}var qt=function(){Ze(Se=ae},Nt=function(Ne){Ze(Se=2&&St("Identifiers cannot start with two hyphens with strict mode on."),PL[he]&&St("Identifiers cannot start with hyphens followed by digits.");Se0)return(t.commaSeparated?pN:hN)(e)}else return String(e)}const vdt=[];function Sdt(e,t){return(t.properties.className||vdt).includes(e.name)}function Odt(e,t){return t.properties.id===e.name}function Edt(e,t){return e.name===t.tagName}function wdt(e,t){return function(n,r){let i=dse(n,"tag");const s=dse(r??"*","range"),a=[];let o=-1;for(;++o=hse&&e.charCodeAt(t)<=Adt;)c=c*10+(e.charCodeAt(t)-hse),t++;return t===l?null:c}function o(){for(;ts<=n;if(t===0)return s=>s===n;if(t===1)return n<0?pse.trueFunc:s=>s>=n;const r=Math.abs(t),i=(n%r+r)%r;return t>1?s=>s>=n&&s%r===i:s=>s<=n&&s%r===i}function mse(e){return Idt(Cdt(e))}const gse={}.hasOwnProperty;function yN(e,t){const n=t||{};function r(i,...s){let a=r.invalid;const o=r.handlers;if(i&&gse.call(i,e)){const l=String(i[e]);a=gse.call(o,l)?o[l]:r.unknown}if(a)return a.call(this,i,...s)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const Ddt=mse.default||mse,Ndt=yN("name",{handlers:{"any-link":Pdt,blank:Ldt,checked:Mdt,dir:Fdt,disabled:fve,empty:$dt,enabled:Bdt,"first-child":Udt,"first-of-type":zdt,has:Hdt,is:hve,lang:jdt,"last-child":Wdt,"last-of-type":Qdt,not:Vdt,"nth-child":Gdt,"nth-last-child":Ydt,"nth-last-of-type":Zdt,"nth-of-type":Xdt,"only-child":Kdt,"only-of-type":Jdt,optional:eft,"read-only":tft,"read-write":pve,required:mve,root:nft,scope:rft},invalid:qdt,unknown:ift});function Pdt(e,t){return(t.tagName==="a"||t.tagName==="area"||t.tagName==="link")&&Ey(t,"href")}function Up(e,t){if(e.shallow)throw new Error("Cannot use `:"+t.name+"` without parent")}function Ldt(e,t){return!gve(t,n);function n(r){return r.type==="element"||r.type==="text"&&!IA(r)}}function Mdt(e,t){return t.tagName==="input"||t.tagName==="menuitem"?!!((t.properties.type==="checkbox"||t.properties.type==="radio")&&Ey(t,"checked")):t.tagName==="option"?Ey(t,"selected"):!1}function Fdt(e,t,n,r,i){return e.argument,e.argument.type,i.direction===e.argument.value}function fve(e,t){return(t.tagName==="button"||t.tagName==="input"||t.tagName==="select"||t.tagName==="textarea"||t.tagName==="optgroup"||t.tagName==="option"||t.tagName==="menuitem"||t.tagName==="fieldset")&&Ey(t,"disabled")}function $dt(e,t){return!gve(t,n);function n(r){return r.type==="element"||r.type==="text"}}function Bdt(e,t){return!fve(e,t)}function Udt(e,t,n,r,i){return Up(i,e),i.elementIndex===0}function zdt(e,t,n,r,i){return Up(i,e),i.typeIndex===0}function vN(e){let t=e._cachedFn;if(!t){const n=e.argument;if(n.type!=="Formula")throw new Error("Expected `nth` formula, such as `even` or `2n+1` (`of` is not yet supported)");t=Ddt(n.a+"n+"+n.b),e._cachedFn=t}return t}function Hdt(e,t,n,r,i){e.argument,e.argument.type;const s={...i,found:!1,one:!0,results:[],rootQuery:e.argument,scopeElements:[t],shallow:!1};return aY(s,{type:"root",children:t.children}),s.results.length>0}function qdt(){}function hve(e,t,n,r,i){e.argument,e.argument.type;const s={...i,found:!1,one:!0,results:[],rootQuery:e.argument,scopeElements:[t],shallow:!1};return aY(s,t),s.results[0]===t}function jdt(e,t,n,r,i){return e.argument,e.argument.type,i.language!==""&&i.language!==void 0&&xdt(i.language,Jk(e.argument.value)).length>0}function Wdt(e,t,n,r,i){return Up(i,e),!!(i.elementCount&&i.elementIndex===i.elementCount-1)}function Qdt(e,t,n,r,i){return Up(i,e),typeof i.typeIndex=="number"&&typeof i.typeCount=="number"&&i.typeIndex===i.typeCount-1}function Vdt(e,t,n,r,i){return!hve(e,t,n,r,i)}function Gdt(e,t,n,r,i){const s=vN(e);return Up(i,e),typeof i.elementIndex=="number"&&s(i.elementIndex)}function Ydt(e,t,n,r,i){const s=vN(e);return Up(i,e),!!(typeof i.elementCount=="number"&&typeof i.elementIndex=="number"&&s(i.elementCount-i.elementIndex-1))}function Zdt(e,t,n,r,i){const s=vN(e);return Up(i,e),typeof i.typeCount=="number"&&typeof i.typeIndex=="number"&&s(i.typeCount-1-i.typeIndex)}function Xdt(e,t,n,r,i){const s=vN(e);return Up(i,e),typeof i.typeIndex=="number"&&s(i.typeIndex)}function Kdt(e,t,n,r,i){return Up(i,e),i.elementCount===1}function Jdt(e,t,n,r,i){return Up(i,e),i.typeCount===1}function eft(e,t){return!mve(e,t)}function tft(e,t,n,r,i){return!pve(e,t,n,r,i)}function pve(e,t,n,r,i){return t.tagName==="input"||t.tagName==="textarea"?!Ey(t,"readOnly")&&!Ey(t,"disabled"):!!i.editableOrEditingHost}function mve(e,t){return(t.tagName==="input"||t.tagName==="textarea"||t.tagName==="select")&&Ey(t,"required")}function nft(e,t,n,r,i){return!!((!r||r.type==="root")&&i.schema&&(i.schema.space==="html"||i.schema.space==="svg")&&(t.tagName==="html"||t.tagName==="svg"))}function rft(e,t,n,r,i){return i.scopeElements.includes(t)}function gve(e,t){const n=e.children;let r=-1;for(;++r"?"directChild":"descendant";FL(s,c,l)}else e.found=!0,e.results.includes(n)||e.results.push(n)}o.combinator===void 0?FL(s,"descendant",o):o.combinator==="~"&&FL(s,"generalSibling",o)}return s}function hR(e,t){return e&&t&&e.length>0&&t.length>0?[...e,...t]:e&&e.length>0?e:t&&t.length>0?t:aft}function bse(e,t){if(t.type==="element"){const n=t.tagName.toUpperCase(),r=(e.types.get(n)||0)+1;e.count++,e.types.set(n,r)}}function bve(e,t,n,r,i,s){let a={adjacentSibling:void 0,descendant:void 0,directChild:void 0,generalSibling:void 0};const o=gdt(e,n);if(n.type==="element"){let l=e.rootQuery.rules;i&&i!==s&&(l=e.rootQuery.rules.filter(c=>c.combinator===void 0||c.combinator===">"&&i===s)),a=lft(e,hR(t,l),n,r,i)}return"children"in n&&!e.shallow&&!(e.one&&e.found)&&oft(e,a,n,s),o(),a}function uft(e,t,n){const r=cft(e,t);return aY(r,t||void 0),r.results}function cft(e,t,n){return{direction:"ltr",editableOrEditingHost:!1,elementCount:void 0,elementIndex:void 0,found:!1,language:void 0,one:!1,results:[],rootQuery:fdt(e),schema:C1,scopeElements:t?t.type==="root"?t.children:[t]:[],shallow:!1,typeIndex:void 0,typeCount:void 0}}const yve=(e=[],t="")=>(e.forEach(n=>{n.type==="text"?t+=n.value:n.type==="element"&&n.children&&Array.isArray(n.children)&&(t+=yve(n.children))}),t),dft=e=>{const{selector:t,rewrite:n}=e||{};return r=>{if(!(!n||typeof n!="function")){if(t&&typeof t=="string"){const i=uft(t,r);i&&i.length>0&&Tu(r,i,(s,a,o)=>{n(s,a,o)});return}Tu(r,(i,s,a)=>{n(i,s,a)})}}},fft=(e="")=>(e.match(/([^?=&]+)(=([^&]*))/g)||[]).reduce((t,n)=>(t[n.slice(0,n.indexOf("="))]=n.slice(n.indexOf("=")+1),t),{}),hft=(e=[],t)=>{let n=t;for(;n>-1;){if(n--,!e[n])return;if(e[n]&&e[n].value&&e[n].value.replace(/(\n|\s)/g,"")!==""||e[n].type!=="text")return!/^rehype:/.test(e[n].value)||e[n].type!=="comment"?void 0:e[n]}},vve=(e=[],t,n,r)=>{let i=t;for(;i/,"$2")||"")?void 0:r?vve(e,i,"pre",r)?void 0:(s.value=(s.value||"").replace(/^(\n|\s)+/,""),s):(s.value=(s.value||"").replace(/^(\n|\s)+/,""),s)}},yse=({value:e=""})=>{const t=fft(e.replace(/^/,"$1").replace(/^rehype:/,""));return Object.keys(t).forEach(n=>{t[n]==="true"&&(t[n]=!0),t[n]==="false"&&(t[n]=!1),typeof t[n]=="string"&&!/^0/.test(t[n])&&!isNaN(+t[n])&&(t[n]=+t[n])}),t},vse=(e,t,n)=>n==="string"?{...e,"data-config":JSON.stringify({...t,rehyp:!0})}:n==="attr"?{...e,...t}:{...e,"data-config":{...t,rehyp:!0}},pft=(e={})=>{const{properties:t="data",codeBlockParames:n=!0}=e;return r=>{Tu(r,"element",(i,s,a)=>{if(n&&i.tagName==="pre"&&i&&Array.isArray(i.children)&&a&&Array.isArray(a.children)&&a.children.length>1){const o=i.children[0];if(o&&o.tagName==="code"&&typeof s=="number"){const l=hft(a.children,s);if(l){const c=yse(l);Object.keys(c).length>0&&(i.properties={...i.properties,"data-type":"rehyp"},o.properties=vse(o.properties,c,t))}}}if(/^(em|strong|b|a|i|p|pre|kbd|blockquote|h(1|2|3|4|5|6)|code|table|img|del|ul|ol)$/.test(i.tagName)&&a&&Array.isArray(a.children)&&typeof s=="number"){const o=vve(a.children,s,"",n);if(o){const l=yse(o);Object.keys(l).length>0&&(i.properties=vse(i.properties,l,t))}}})}},Sve=-1,SN=0,AI=1,CI=2,oY=3,lY=4,uY=5,cY=6,Ove=7,Eve=8,Sse=typeof self=="object"?self:globalThis,mft=(e,t)=>{const n=(i,s)=>(e.set(s,i),i),r=i=>{if(e.has(i))return e.get(i);const[s,a]=t[i];switch(s){case SN:case Sve:return n(a,i);case AI:{const o=n([],i);for(const l of a)o.push(r(l));return o}case CI:{const o=n({},i);for(const[l,c]of a)o[r(l)]=r(c);return o}case oY:return n(new Date(a),i);case lY:{const{source:o,flags:l}=a;return n(new RegExp(o,l),i)}case uY:{const o=n(new Map,i);for(const[l,c]of a)o.set(r(l),r(c));return o}case cY:{const o=n(new Set,i);for(const l of a)o.add(r(l));return o}case Ove:{const{name:o,message:l}=a;return n(new Sse[o](l),i)}case Eve:return n(BigInt(a),i);case"BigInt":return n(Object(BigInt(a)),i)}return n(new Sse[s](a),i)};return r},Ose=e=>mft(new Map,e)(0),Jv="",{toString:gft}={},{keys:bft}=Object,Cw=e=>{const t=typeof e;if(t!=="object"||!e)return[SN,t];const n=gft.call(e).slice(8,-1);switch(n){case"Array":return[AI,Jv];case"Object":return[CI,Jv];case"Date":return[oY,Jv];case"RegExp":return[lY,Jv];case"Map":return[uY,Jv];case"Set":return[cY,Jv]}return n.includes("Array")?[AI,n]:n.includes("Error")?[Ove,n]:[CI,n]},l3=([e,t])=>e===SN&&(t==="function"||t==="symbol"),yft=(e,t,n,r)=>{const i=(a,o)=>{const l=r.push(a)-1;return n.set(o,l),l},s=a=>{if(n.has(a))return n.get(a);let[o,l]=Cw(a);switch(o){case SN:{let d=a;switch(l){case"bigint":o=Eve,d=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);d=null;break;case"undefined":return i([Sve],a)}return i([o,d],a)}case AI:{if(l)return i([l,[...a]],a);const d=[],f=i([o,d],a);for(const p of a)d.push(s(p));return f}case CI:{if(l)switch(l){case"BigInt":return i([l,a.toString()],a);case"Boolean":case"Number":case"String":return i([l,a.valueOf()],a)}if(t&&"toJSON"in a)return s(a.toJSON());const d=[],f=i([o,d],a);for(const p of bft(a))(e||!l3(Cw(a[p])))&&d.push([s(p),s(a[p])]);return f}case oY:return i([o,a.toISOString()],a);case lY:{const{source:d,flags:f}=a;return i([o,{source:d,flags:f}],a)}case uY:{const d=[],f=i([o,d],a);for(const[p,g]of a)(e||!(l3(Cw(p))||l3(Cw(g))))&&d.push([s(p),s(g)]);return f}case cY:{const d=[],f=i([o,d],a);for(const p of a)(e||!l3(Cw(p)))&&d.push(s(p));return f}}const{message:c}=a;return i([o,{name:l,message:c}],a)};return s},Ese=(e,{json:t,lossy:n}={})=>{const r=[];return yft(!(t||n),!!t,new Map,r)(e),r},wy=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Ose(Ese(e,t)):structuredClone(e):(e,t)=>Ose(Ese(e,t)),wse=/[#.]/g;function vft(e,t){const n=e||"",r={};let i=0,s,a;for(;i-1&&s<=t.length){let a=0;for(;;){let o=n[a];if(o===void 0){const l=Tse(t,n[a-1]);o=l===-1?t.length+1:l+1,n[a]=o}if(o>s)return{line:a+1,column:s-(a>0?n[a-1]:0)+1,offset:s};a++}}}function i(s){if(s&&typeof s.line=="number"&&typeof s.column=="number"&&!Number.isNaN(s.line)&&!Number.isNaN(s.column)){for(;n.length1?n[s.line-2]:0)+s.column-1;if(a=55296&&e<=57343}function jft(e){return e>=56320&&e<=57343}function Wft(e,t){return(e-55296)*1024+9216+t}function Cve(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Rve(e){return e>=64976&&e<=65007||qft.has(e)}var Pt;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(Pt=Pt||(Pt={}));const Qft=65536;class Vft{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Qft,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t){const{line:n,col:r,offset:i}=this;return{code:t,startLine:n,endLine:n,startCol:r,endCol:r,startOffset:i,endOffset:i}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(jft(n))return this.pos++,this._addGap(),Wft(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Ie.EOF;return this._err(Pt.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Ie.EOF;const r=this.html.charCodeAt(n);return r===Ie.CARRIAGE_RETURN?Ie.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Ie.EOF;let t=this.html.charCodeAt(this.pos);return t===Ie.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,Ie.LINE_FEED):t===Ie.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Ave(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===Ie.LINE_FEED||t===Ie.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Cve(t)?this._err(Pt.controlCharacterInInputStream):Rve(t)&&this._err(Pt.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const fg=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Gft=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var $L;const Yft=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Zft=($L=String.fromCodePoint)!==null&&$L!==void 0?$L:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function Xft(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Yft.get(e))!==null&&t!==void 0?t:e}var Go;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Go||(Go={}));const Kft=32;var mp;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(mp||(mp={}));function jB(e){return e>=Go.ZERO&&e<=Go.NINE}function Jft(e){return e>=Go.UPPER_A&&e<=Go.UPPER_F||e>=Go.LOWER_A&&e<=Go.LOWER_F}function eht(e){return e>=Go.UPPER_A&&e<=Go.UPPER_Z||e>=Go.LOWER_A&&e<=Go.LOWER_Z||jB(e)}function tht(e){return e===Go.EQUALS||eht(e)}var Wo;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Wo||(Wo={}));var kg;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(kg||(kg={}));class nht{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Wo.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=kg.Strict}startEntity(t){this.decodeMode=t,this.state=Wo.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Wo.EntityStart:return t.charCodeAt(n)===Go.NUM?(this.state=Wo.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Wo.NamedEntity,this.stateNamedEntity(t,n));case Wo.NumericStart:return this.stateNumericStart(t,n);case Wo.NumericDecimal:return this.stateNumericDecimal(t,n);case Wo.NumericHex:return this.stateNumericHex(t,n);case Wo.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|Kft)===Go.LOWER_X?(this.state=Wo.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Wo.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,i){if(n!==r){const s=r-n;this.result=this.result*Math.pow(i,s)+parseInt(t.substr(n,s),i),this.consumed+=s}}stateNumericHex(t,n){const r=n;for(;n>14;for(;n>14,s!==0){if(a===Go.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==kg.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,i=(r[n]&mp.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~mp.VALUE_LENGTH:i[t+1],r),n===3&&this.emitCodePoint(i[t+2],r),r}end(){var t;switch(this.state){case Wo.NamedEntity:return this.result!==0&&(this.decodeMode!==kg.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Wo.NumericDecimal:return this.emitNumericEntity(0,2);case Wo.NumericHex:return this.emitNumericEntity(0,3);case Wo.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Wo.EntityStart:return 0}}}function Dve(e){let t="";const n=new nht(e,r=>t+=Zft(r));return function(i,s){let a=0,o=0;for(;(o=i.indexOf("&",o))>=0;){t+=i.slice(a,o),n.startEntity(s);const c=n.write(i,o+1);if(c<0){a=o+n.end();break}a=o+c,o=c===0?a+1:a}const l=t+i.slice(a);return t="",l}}function Nve(e,t,n,r){const i=(t&mp.BRANCH_LENGTH)>>7,s=t&mp.JUMP_TABLE;if(i===0)return s!==0&&r===s?n:-1;if(s){const l=r-s;return l<0||l>=i?-1:e[n+l]-1}let a=n,o=a+i-1;for(;a<=o;){const l=a+o>>>1,c=e[l];if(cr)o=l-1;else return e[l+i]}return-1}const rht=Dve(fg);Dve(Gft);function Pve(e,t=kg.Legacy){return rht(e,t)}var Kt;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(Kt=Kt||(Kt={}));var i1;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(i1=i1||(i1={}));var Wc;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Wc=Wc||(Wc={}));var Ot;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(Ot=Ot||(Ot={}));var q;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SECTION=94]="SECTION",e[e.SELECT=95]="SELECT",e[e.SOURCE=96]="SOURCE",e[e.SMALL=97]="SMALL",e[e.SPAN=98]="SPAN",e[e.STRIKE=99]="STRIKE",e[e.STRONG=100]="STRONG",e[e.STYLE=101]="STYLE",e[e.SUB=102]="SUB",e[e.SUMMARY=103]="SUMMARY",e[e.SUP=104]="SUP",e[e.TABLE=105]="TABLE",e[e.TBODY=106]="TBODY",e[e.TEMPLATE=107]="TEMPLATE",e[e.TEXTAREA=108]="TEXTAREA",e[e.TFOOT=109]="TFOOT",e[e.TD=110]="TD",e[e.TH=111]="TH",e[e.THEAD=112]="THEAD",e[e.TITLE=113]="TITLE",e[e.TR=114]="TR",e[e.TRACK=115]="TRACK",e[e.TT=116]="TT",e[e.U=117]="U",e[e.UL=118]="UL",e[e.SVG=119]="SVG",e[e.VAR=120]="VAR",e[e.WBR=121]="WBR",e[e.XMP=122]="XMP"})(q=q||(q={}));const iht=new Map([[Ot.A,q.A],[Ot.ADDRESS,q.ADDRESS],[Ot.ANNOTATION_XML,q.ANNOTATION_XML],[Ot.APPLET,q.APPLET],[Ot.AREA,q.AREA],[Ot.ARTICLE,q.ARTICLE],[Ot.ASIDE,q.ASIDE],[Ot.B,q.B],[Ot.BASE,q.BASE],[Ot.BASEFONT,q.BASEFONT],[Ot.BGSOUND,q.BGSOUND],[Ot.BIG,q.BIG],[Ot.BLOCKQUOTE,q.BLOCKQUOTE],[Ot.BODY,q.BODY],[Ot.BR,q.BR],[Ot.BUTTON,q.BUTTON],[Ot.CAPTION,q.CAPTION],[Ot.CENTER,q.CENTER],[Ot.CODE,q.CODE],[Ot.COL,q.COL],[Ot.COLGROUP,q.COLGROUP],[Ot.DD,q.DD],[Ot.DESC,q.DESC],[Ot.DETAILS,q.DETAILS],[Ot.DIALOG,q.DIALOG],[Ot.DIR,q.DIR],[Ot.DIV,q.DIV],[Ot.DL,q.DL],[Ot.DT,q.DT],[Ot.EM,q.EM],[Ot.EMBED,q.EMBED],[Ot.FIELDSET,q.FIELDSET],[Ot.FIGCAPTION,q.FIGCAPTION],[Ot.FIGURE,q.FIGURE],[Ot.FONT,q.FONT],[Ot.FOOTER,q.FOOTER],[Ot.FOREIGN_OBJECT,q.FOREIGN_OBJECT],[Ot.FORM,q.FORM],[Ot.FRAME,q.FRAME],[Ot.FRAMESET,q.FRAMESET],[Ot.H1,q.H1],[Ot.H2,q.H2],[Ot.H3,q.H3],[Ot.H4,q.H4],[Ot.H5,q.H5],[Ot.H6,q.H6],[Ot.HEAD,q.HEAD],[Ot.HEADER,q.HEADER],[Ot.HGROUP,q.HGROUP],[Ot.HR,q.HR],[Ot.HTML,q.HTML],[Ot.I,q.I],[Ot.IMG,q.IMG],[Ot.IMAGE,q.IMAGE],[Ot.INPUT,q.INPUT],[Ot.IFRAME,q.IFRAME],[Ot.KEYGEN,q.KEYGEN],[Ot.LABEL,q.LABEL],[Ot.LI,q.LI],[Ot.LINK,q.LINK],[Ot.LISTING,q.LISTING],[Ot.MAIN,q.MAIN],[Ot.MALIGNMARK,q.MALIGNMARK],[Ot.MARQUEE,q.MARQUEE],[Ot.MATH,q.MATH],[Ot.MENU,q.MENU],[Ot.META,q.META],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E,hn.BASE,hn.BASEFONT,hn.BGSOUND,hn.BLOCKQUOTE,hn.BODY,hn.BR,hn.BUTTON,hn.CAPTION,hn.CENTER,hn.COL,hn.COLGROUP,hn.DD,hn.DETAILS,hn.DIR,hn.DIV,hn.DL,hn.DT,hn.EMBED,hn.FIELDSET,hn.FIGCAPTION,hn.FIGURE,hn.FOOTER,hn.FORM,hn.FRAME,hn.FRAMESET,hn.H1,hn.H2,hn.H3,hn.H4,hn.H5,hn.H6,hn.HEAD,hn.HEADER,hn.HGROUP,hn.HR,hn.HTML,hn.IFRAME,hn.IMG,hn.INPUT,hn.LI,hn.LINK,hn.LISTING,hn.MAIN,hn.MARQUEE,hn.MENU,hn.META,hn.NAV,hn.NOEMBED,hn.NOFRAMES,hn.NOSCRIPT,hn.OBJECT,hn.OL,hn.P,hn.PARAM,hn.PLAINTEXT,hn.PRE,hn.SCRIPT,hn.SECTION,hn.SELECT,hn.SOURCE,hn.STYLE,hn.SUMMARY,hn.TABLE,hn.TBODY,hn.TD,hn.TEMPLATE,hn.TEXTAREA,hn.TFOOT,hn.TH,hn.THEAD,hn.TITLE,hn.TR,hn.TRACK,hn.UL,hn.WBR,hn.XMP]),[Kt.MATHML]:new Set([hn.MI,hn.MO,hn.MN,hn.MS,hn.MTEXT,hn.ANNOTATION_XML]),[Kt.SVG]:new Set([hn.TITLE,hn.FOREIGN_OBJECT,hn.DESC]),[Kt.XLINK]:new Set,[Kt.XML]:new Set,[Kt.XMLNS]:new Set};function Lve(e){return e===hn.H1||e===hn.H2||e===hn.H3||e===hn.H4||e===hn.H5||e===hn.H6}Ot.STYLE,Ot.SCRIPT,Ot.XMP,Ot.IFRAME,Ot.NOEMBED,Ot.NOFRAMES,Ot.PLAINTEXT;const aht=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var Me;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",e[e.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",e[e.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",e[e.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",e[e.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",e[e.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"})(Me||(Me={}));const Xa={DATA:Me.DATA,RCDATA:Me.RCDATA,RAWTEXT:Me.RAWTEXT,SCRIPT_DATA:Me.SCRIPT_DATA,PLAINTEXT:Me.PLAINTEXT,CDATA_SECTION:Me.CDATA_SECTION};function PT(e){return e>=Ie.DIGIT_0&&e<=Ie.DIGIT_9}function eT(e){return e>=Ie.LATIN_CAPITAL_A&&e<=Ie.LATIN_CAPITAL_Z}function oht(e){return e>=Ie.LATIN_SMALL_A&&e<=Ie.LATIN_SMALL_Z}function hg(e){return oht(e)||eT(e)}function WB(e){return hg(e)||PT(e)}function Mve(e){return e>=Ie.LATIN_CAPITAL_A&&e<=Ie.LATIN_CAPITAL_F}function Fve(e){return e>=Ie.LATIN_SMALL_A&&e<=Ie.LATIN_SMALL_F}function lht(e){return PT(e)||Mve(e)||Fve(e)}function u3(e){return e+32}function $ve(e){return e===Ie.SPACE||e===Ie.LINE_FEED||e===Ie.TABULATION||e===Ie.FORM_FEED}function uht(e){return e===Ie.EQUALS_SIGN||WB(e)}function _se(e){return $ve(e)||e===Ie.SOLIDUS||e===Ie.GREATER_THAN_SIGN}let cht=class{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=Me.DATA,this.returnState=Me.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Vft(n),this.currentLocation=this.getCurrentLocation(-1)}_err(t){var n,r;(r=(n=this.handler).onParseError)===null||r===void 0||r.call(n,this.preprocessor.getError(t))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(t){this.consumedAfterSnapshot-=t,this.preprocessor.retreat(t)}_reconsumeInState(t,n){this.state=t,this._callState(n)}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n0&&this._err(Pt.endTagWithAttributes),t.selfClosing&&this._err(Pt.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case ii.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case ii.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case ii.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:ii.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==t)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=n;return}this._createCharacterToken(t,n)}_emitCodePoint(t){const n=$ve(t)?ii.WHITESPACE_CHARACTER:t===Ie.NULL?ii.NULL_CHARACTER:ii.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(ii.CHARACTER,t)}_matchNamedCharacterReference(t){let n=null,r=0,i=!1;for(let s=0,a=fg[0];s>=0&&(s=Nve(fg,a,s+1,t),!(s<0));t=this._consume()){r+=1,a=fg[s];const o=a&mp.VALUE_LENGTH;if(o){const l=(o>>14)-1;if(t!==Ie.SEMICOLON&&this._isCharacterReferenceInAttribute()&&uht(this.preprocessor.peek(1))?(n=[Ie.AMPERSAND],s+=l):(n=l===0?[fg[s]&~mp.VALUE_LENGTH]:l===1?[fg[++s]]:[fg[++s],fg[++s]],r=0,i=t!==Ie.SEMICOLON),l===0){this._consume();break}}}return this._unconsume(r),i&&!this.preprocessor.endOfChunkHit&&this._err(Pt.missingSemicolonAfterCharacterReference),this._unconsume(1),n}_isCharacterReferenceInAttribute(){return this.returnState===Me.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===Me.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===Me.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case Me.DATA:{this._stateData(t);break}case Me.RCDATA:{this._stateRcdata(t);break}case Me.RAWTEXT:{this._stateRawtext(t);break}case Me.SCRIPT_DATA:{this._stateScriptData(t);break}case Me.PLAINTEXT:{this._statePlaintext(t);break}case Me.TAG_OPEN:{this._stateTagOpen(t);break}case Me.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case Me.TAG_NAME:{this._stateTagName(t);break}case Me.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case Me.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case Me.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case Me.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case Me.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case Me.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case Me.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case Me.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case Me.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case Me.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case Me.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case Me.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case Me.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case Me.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case Me.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case Me.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case Me.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case Me.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case Me.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case Me.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case Me.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case Me.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case Me.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case Me.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case Me.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case Me.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case Me.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case Me.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case Me.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case Me.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case Me.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case Me.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case Me.BOGUS_COMMENT:{this._stateBogusComment(t);break}case Me.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case Me.COMMENT_START:{this._stateCommentStart(t);break}case Me.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case Me.COMMENT:{this._stateComment(t);break}case Me.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case Me.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case Me.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case Me.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case Me.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case Me.COMMENT_END:{this._stateCommentEnd(t);break}case Me.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case Me.DOCTYPE:{this._stateDoctype(t);break}case Me.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case Me.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case Me.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case Me.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case Me.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case Me.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case Me.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case Me.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case Me.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case Me.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case Me.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case Me.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case Me.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case Me.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case Me.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case Me.CDATA_SECTION:{this._stateCdataSection(t);break}case Me.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case Me.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case Me.CHARACTER_REFERENCE:{this._stateCharacterReference(t);break}case Me.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(t);break}case Me.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}case Me.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(t);break}case Me.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(t);break}case Me.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(t);break}case Me.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(t);break}case Me.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case Ie.LESS_THAN_SIGN:{this.state=Me.TAG_OPEN;break}case Ie.AMPERSAND:{this.returnState=Me.DATA,this.state=Me.CHARACTER_REFERENCE;break}case Ie.NULL:{this._err(Pt.unexpectedNullCharacter),this._emitCodePoint(t);break}case Ie.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case Ie.AMPERSAND:{this.returnState=Me.RCDATA,this.state=Me.CHARACTER_REFERENCE;break}case Ie.LESS_THAN_SIGN:{this.state=Me.RCDATA_LESS_THAN_SIGN;break}case Ie.NULL:{this._err(Pt.unexpectedNullCharacter),this._emitChars(sa);break}case Ie.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case Ie.LESS_THAN_SIGN:{this.state=Me.RAWTEXT_LESS_THAN_SIGN;break}case Ie.NULL:{this._err(Pt.unexpectedNullCharacter),this._emitChars(sa);break}case Ie.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case Ie.LESS_THAN_SIGN:{this.state=Me.SCRIPT_DATA_LESS_THAN_SIGN;break}case Ie.NULL:{this._err(Pt.unexpectedNullCharacter),this._emitChars(sa);break}case Ie.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case Ie.NULL:{this._err(Pt.unexpectedNullCharacter),this._emitChars(sa);break}case Ie.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(hg(t))this._createStartTagToken(),this.state=Me.TAG_NAME,this._stateTagName(t);else switch(t){case Ie.EXCLAMATION_MARK:{this.state=Me.MARKUP_DECLARATION_OPEN;break}case Ie.SOLIDUS:{this.state=Me.END_TAG_OPEN;break}case Ie.QUESTION_MARK:{this._err(Pt.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=Me.BOGUS_COMMENT,this._stateBogusComment(t);break}case Ie.EOF:{this._err(Pt.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(Pt.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=Me.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(hg(t))this._createEndTagToken(),this.state=Me.TAG_NAME,this._stateTagName(t);else switch(t){case Ie.GREATER_THAN_SIGN:{this._err(Pt.missingEndTagName),this.state=Me.DATA;break}case Ie.EOF:{this._err(Pt.eofBeforeTagName),this._emitChars("");break}case Ie.NULL:{this._err(Pt.unexpectedNullCharacter),this.state=Me.SCRIPT_DATA_ESCAPED,this._emitChars(sa);break}case Ie.EOF:{this._err(Pt.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Me.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===Ie.SOLIDUS?this.state=Me.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:hg(t)?(this._emitChars("<"),this.state=Me.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=Me.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){hg(t)?(this.state=Me.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("");break}case Ie.NULL:{this._err(Pt.unexpectedNullCharacter),this.state=Me.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(sa);break}case Ie.EOF:{this._err(Pt.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Me.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===Ie.SOLIDUS?(this.state=Me.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=Me.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(qu.SCRIPT,!1)&&_se(this.preprocessor.peek(qu.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n1114111)this._err(Pt.characterReferenceOutsideUnicodeRange),this.charRefCode=Ie.REPLACEMENT_CHARACTER;else if(Ave(this.charRefCode))this._err(Pt.surrogateCharacterReference),this.charRefCode=Ie.REPLACEMENT_CHARACTER;else if(Rve(this.charRefCode))this._err(Pt.noncharacterCharacterReference);else if(Cve(this.charRefCode)||this.charRefCode===Ie.CARRIAGE_RETURN){this._err(Pt.controlCharacterReference);const n=aht.get(this.charRefCode);n!==void 0&&(this.charRefCode=n)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,t)}};const Bve=new Set([q.DD,q.DT,q.LI,q.OPTGROUP,q.OPTION,q.P,q.RB,q.RP,q.RT,q.RTC]),Ase=new Set([...Bve,q.CAPTION,q.COLGROUP,q.TBODY,q.TD,q.TFOOT,q.TH,q.THEAD,q.TR]),c3=new Map([[q.APPLET,Kt.HTML],[q.CAPTION,Kt.HTML],[q.HTML,Kt.HTML],[q.MARQUEE,Kt.HTML],[q.OBJECT,Kt.HTML],[q.TABLE,Kt.HTML],[q.TD,Kt.HTML],[q.TEMPLATE,Kt.HTML],[q.TH,Kt.HTML],[q.ANNOTATION_XML,Kt.MATHML],[q.MI,Kt.MATHML],[q.MN,Kt.MATHML],[q.MO,Kt.MATHML],[q.MS,Kt.MATHML],[q.MTEXT,Kt.MATHML],[q.DESC,Kt.SVG],[q.FOREIGN_OBJECT,Kt.SVG],[q.TITLE,Kt.SVG]]),dht=[q.H1,q.H2,q.H3,q.H4,q.H5,q.H6],fht=[q.TR,q.TEMPLATE,q.HTML],hht=[q.TBODY,q.TFOOT,q.THEAD,q.TEMPLATE,q.HTML],pht=[q.TABLE,q.TEMPLATE,q.HTML],mht=[q.TD,q.TH];class ght{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=q.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===q.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Kt.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const i=this._indexOf(t)+1;this.items.splice(i,0,n),this.tagIDs.splice(i,0,r),this.stackTop++,i===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,i===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==Kt.HTML);this.shortenToLength(n<0?0:n)}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop=0;r--)if(t.includes(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(pht,Kt.HTML)}clearBackToTableBodyContext(){this.clearBackTo(hht,Kt.HTML)}clearBackToTableRowContext(){this.clearBackTo(fht,Kt.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===q.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===q.HTML}hasInScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===Kt.HTML)return!0;if(c3.get(r)===i)return!1}return!0}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(Lve(n)&&r===Kt.HTML)return!0;if(c3.get(n)===r)return!1}return!0}hasInListItemScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===Kt.HTML)return!0;if((r===q.UL||r===q.OL)&&i===Kt.HTML||c3.get(r)===i)return!1}return!0}hasInButtonScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===Kt.HTML)return!0;if(r===q.BUTTON&&i===Kt.HTML||c3.get(r)===i)return!1}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];if(this.treeAdapter.getNamespaceURI(this.items[n])===Kt.HTML){if(r===t)return!0;if(r===q.TABLE||r===q.TEMPLATE||r===q.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===Kt.HTML){if(n===q.TBODY||n===q.THEAD||n===q.TFOOT)return!0;if(n===q.TABLE||n===q.HTML)return!1}}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];if(this.treeAdapter.getNamespaceURI(this.items[n])===Kt.HTML){if(r===t)return!0;if(r!==q.OPTION&&r!==q.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;Bve.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Ase.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&Ase.has(this.currentTagId);)this.pop()}}const BL=3;var Kf;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Kf=Kf||(Kf={}));const Cse={type:Kf.Marker};class bht{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],i=n.length,s=this.treeAdapter.getTagName(t),a=this.treeAdapter.getNamespaceURI(t);for(let o=0;o[a.name,a.value]));let s=0;for(let a=0;ai.get(l.name)===l.value)&&(s+=1,s>=BL&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(Cse)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Kf.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Kf.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n>=0&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(Cse);t>=0?this.entries.splice(0,t+1):this.entries.length=0}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Kf.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Kf.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Kf.Element&&n.element===t)}}function Rse(e){return{nodeName:"#text",value:e,parentNode:null}}const dS={createDocument(){return{nodeName:"#document",mode:Wc.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const i=e.childNodes.find(s=>s.nodeName==="#documentType");if(i)i.name=t,i.publicId=n,i.systemId=r;else{const s={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};dS.appendChild(e,s)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(dS.isTextNode(n)){n.value+=t;return}}dS.appendChild(e,Rse(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&dS.isTextNode(r)?r.value+=t:dS.insertBefore(e,Rse(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;re.startsWith(n))}function wht(e){return e.name===Uve&&e.publicId===null&&(e.systemId===null||e.systemId===yht)}function xht(e){if(e.name!==Uve)return Wc.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===vht)return Wc.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),Oht.has(n))return Wc.QUIRKS;let r=t===null?Sht:zve;if(Ise(n,r))return Wc.QUIRKS;if(r=t===null?Hve:Eht,Ise(n,r))return Wc.LIMITED_QUIRKS}return Wc.NO_QUIRKS}const Dse={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Tht="definitionurl",kht="definitionURL",_ht=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),Aht=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Kt.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Kt.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Kt.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Kt.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Kt.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Kt.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Kt.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:Kt.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:Kt.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Kt.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Kt.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Kt.XMLNS}]]),Cht=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),Rht=new Set([q.B,q.BIG,q.BLOCKQUOTE,q.BODY,q.BR,q.CENTER,q.CODE,q.DD,q.DIV,q.DL,q.DT,q.EM,q.EMBED,q.H1,q.H2,q.H3,q.H4,q.H5,q.H6,q.HEAD,q.HR,q.I,q.IMG,q.LI,q.LISTING,q.MENU,q.META,q.NOBR,q.OL,q.P,q.PRE,q.RUBY,q.S,q.SMALL,q.SPAN,q.STRONG,q.STRIKE,q.SUB,q.SUP,q.TABLE,q.TT,q.U,q.UL,q.VAR]);function Iht(e){const t=e.tagID;return t===q.FONT&&e.attrs.some(({name:r})=>r===i1.COLOR||r===i1.SIZE||r===i1.FACE)||Rht.has(t)}function qve(e){for(let t=0;t0&&this._setContextModes(t,n)}onItemPop(t,n){var r,i;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(i=(r=this.treeAdapter).onItemPop)===null||i===void 0||i.call(r,t,this.openElements.current),n){let s,a;this.openElements.stackTop===0&&this.fragmentContext?(s=this.fragmentContext,a=this.fragmentContextID):{current:s,currentTagId:a}=this.openElements,this._setContextModes(s,a)}}_setContextModes(t,n){const r=t===this.document||this.treeAdapter.getNamespaceURI(t)===Kt.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,Kt.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=Ye.TEXT}switchToPlaintextParsing(){this.insertionMode=Ye.TEXT,this.originalInsertionMode=Ye.IN_BODY,this.tokenizer.state=Xa.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===Ot.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==Kt.HTML))switch(this.fragmentContextID){case q.TITLE:case q.TEXTAREA:{this.tokenizer.state=Xa.RCDATA;break}case q.STYLE:case q.XMP:case q.IFRAME:case q.NOEMBED:case q.NOFRAMES:case q.NOSCRIPT:{this.tokenizer.state=Xa.RAWTEXT;break}case q.SCRIPT:{this.tokenizer.state=Xa.SCRIPT_DATA;break}case q.PLAINTEXT:{this.tokenizer.state=Xa.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",i=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,i),t.location){const a=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));a&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,Kt.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,Kt.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(Ot.HTML,Kt.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,q.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const i=this.treeAdapter.getChildNodes(n),s=r?i.lastIndexOf(r):i.length,a=i[s-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){const{endLine:l,endCol:c,endOffset:d}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:l,endCol:c,endOffset:d})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,i=this.treeAdapter.getTagName(t),s=n.type===ii.END_TAG&&i===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,s)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===q.SVG&&this.treeAdapter.getTagName(n)===Ot.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===Kt.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===q.MGLYPH||t.tagID===q.MALIGNMARK)&&!this._isIntegrationPoint(r,n,Kt.HTML)}_processToken(t){switch(t.type){case ii.CHARACTER:{this.onCharacter(t);break}case ii.NULL_CHARACTER:{this.onNullCharacter(t);break}case ii.COMMENT:{this.onComment(t);break}case ii.DOCTYPE:{this.onDoctype(t);break}case ii.START_TAG:{this._processStartTag(t);break}case ii.END_TAG:{this.onEndTag(t);break}case ii.EOF:{this.onEof(t);break}case ii.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const i=this.treeAdapter.getNamespaceURI(n),s=this.treeAdapter.getAttrList(n);return Lht(t,i,s,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(i=>i.type===Kf.Marker||this.openElements.contains(i.element)),r=n<0?t-1:n-1;for(let i=r;i>=0;i--){const s=this.activeFormattingElements.entries[i];this._insertElement(s.token,this.treeAdapter.getNamespaceURI(s.element)),s.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Ye.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(q.P),this.openElements.popUntilTagNamePopped(q.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case q.TR:{this.insertionMode=Ye.IN_ROW;return}case q.TBODY:case q.THEAD:case q.TFOOT:{this.insertionMode=Ye.IN_TABLE_BODY;return}case q.CAPTION:{this.insertionMode=Ye.IN_CAPTION;return}case q.COLGROUP:{this.insertionMode=Ye.IN_COLUMN_GROUP;return}case q.TABLE:{this.insertionMode=Ye.IN_TABLE;return}case q.BODY:{this.insertionMode=Ye.IN_BODY;return}case q.FRAMESET:{this.insertionMode=Ye.IN_FRAMESET;return}case q.SELECT:{this._resetInsertionModeForSelect(t);return}case q.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case q.HTML:{this.insertionMode=this.headElement?Ye.AFTER_HEAD:Ye.BEFORE_HEAD;return}case q.TD:case q.TH:{if(t>0){this.insertionMode=Ye.IN_CELL;return}break}case q.HEAD:{if(t>0){this.insertionMode=Ye.IN_HEAD;return}break}}this.insertionMode=Ye.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===q.TEMPLATE)break;if(r===q.TABLE){this.insertionMode=Ye.IN_SELECT_IN_TABLE;return}}this.insertionMode=Ye.IN_SELECT}_isElementCausesFosterParenting(t){return Wve.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case q.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===Kt.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case q.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return sht[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){m0t(this,t);return}switch(this.insertionMode){case Ye.INITIAL:{Rw(this,t);break}case Ye.BEFORE_HTML:{LT(this,t);break}case Ye.BEFORE_HEAD:{MT(this,t);break}case Ye.IN_HEAD:{FT(this,t);break}case Ye.IN_HEAD_NO_SCRIPT:{$T(this,t);break}case Ye.AFTER_HEAD:{BT(this,t);break}case Ye.IN_BODY:case Ye.IN_CAPTION:case Ye.IN_CELL:case Ye.IN_TEMPLATE:{Vve(this,t);break}case Ye.TEXT:case Ye.IN_SELECT:case Ye.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case Ye.IN_TABLE:case Ye.IN_TABLE_BODY:case Ye.IN_ROW:{UL(this,t);break}case Ye.IN_TABLE_TEXT:{Jve(this,t);break}case Ye.IN_COLUMN_GROUP:{RI(this,t);break}case Ye.AFTER_BODY:{II(this,t);break}case Ye.AFTER_AFTER_BODY:{mR(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){p0t(this,t);return}switch(this.insertionMode){case Ye.INITIAL:{Rw(this,t);break}case Ye.BEFORE_HTML:{LT(this,t);break}case Ye.BEFORE_HEAD:{MT(this,t);break}case Ye.IN_HEAD:{FT(this,t);break}case Ye.IN_HEAD_NO_SCRIPT:{$T(this,t);break}case Ye.AFTER_HEAD:{BT(this,t);break}case Ye.TEXT:{this._insertCharacters(t);break}case Ye.IN_TABLE:case Ye.IN_TABLE_BODY:case Ye.IN_ROW:{UL(this,t);break}case Ye.IN_COLUMN_GROUP:{RI(this,t);break}case Ye.AFTER_BODY:{II(this,t);break}case Ye.AFTER_AFTER_BODY:{mR(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){QB(this,t);return}switch(this.insertionMode){case Ye.INITIAL:case Ye.BEFORE_HTML:case Ye.BEFORE_HEAD:case Ye.IN_HEAD:case Ye.IN_HEAD_NO_SCRIPT:case Ye.AFTER_HEAD:case Ye.IN_BODY:case Ye.IN_TABLE:case Ye.IN_CAPTION:case Ye.IN_COLUMN_GROUP:case Ye.IN_TABLE_BODY:case Ye.IN_ROW:case Ye.IN_CELL:case Ye.IN_SELECT:case Ye.IN_SELECT_IN_TABLE:case Ye.IN_TEMPLATE:case Ye.IN_FRAMESET:case Ye.AFTER_FRAMESET:{QB(this,t);break}case Ye.IN_TABLE_TEXT:{Iw(this,t);break}case Ye.AFTER_BODY:{Qht(this,t);break}case Ye.AFTER_AFTER_BODY:case Ye.AFTER_AFTER_FRAMESET:{Vht(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case Ye.INITIAL:{Ght(this,t);break}case Ye.BEFORE_HEAD:case Ye.IN_HEAD:case Ye.IN_HEAD_NO_SCRIPT:case Ye.AFTER_HEAD:{this._err(t,Pt.misplacedDoctype);break}case Ye.IN_TABLE_TEXT:{Iw(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,Pt.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?g0t(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case Ye.INITIAL:{Rw(this,t);break}case Ye.BEFORE_HTML:{Yht(this,t);break}case Ye.BEFORE_HEAD:{Xht(this,t);break}case Ye.IN_HEAD:{Th(this,t);break}case Ye.IN_HEAD_NO_SCRIPT:{ept(this,t);break}case Ye.AFTER_HEAD:{npt(this,t);break}case Ye.IN_BODY:{Zl(this,t);break}case Ye.IN_TABLE:{fE(this,t);break}case Ye.IN_TABLE_TEXT:{Iw(this,t);break}case Ye.IN_CAPTION:{Kpt(this,t);break}case Ye.IN_COLUMN_GROUP:{gY(this,t);break}case Ye.IN_TABLE_BODY:{wN(this,t);break}case Ye.IN_ROW:{xN(this,t);break}case Ye.IN_CELL:{t0t(this,t);break}case Ye.IN_SELECT:{nSe(this,t);break}case Ye.IN_SELECT_IN_TABLE:{r0t(this,t);break}case Ye.IN_TEMPLATE:{s0t(this,t);break}case Ye.AFTER_BODY:{o0t(this,t);break}case Ye.IN_FRAMESET:{l0t(this,t);break}case Ye.AFTER_FRAMESET:{c0t(this,t);break}case Ye.AFTER_AFTER_BODY:{f0t(this,t);break}case Ye.AFTER_AFTER_FRAMESET:{h0t(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?b0t(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case Ye.INITIAL:{Rw(this,t);break}case Ye.BEFORE_HTML:{Zht(this,t);break}case Ye.BEFORE_HEAD:{Kht(this,t);break}case Ye.IN_HEAD:{Jht(this,t);break}case Ye.IN_HEAD_NO_SCRIPT:{tpt(this,t);break}case Ye.AFTER_HEAD:{rpt(this,t);break}case Ye.IN_BODY:{EN(this,t);break}case Ye.TEXT:{Hpt(this,t);break}case Ye.IN_TABLE:{t_(this,t);break}case Ye.IN_TABLE_TEXT:{Iw(this,t);break}case Ye.IN_CAPTION:{Jpt(this,t);break}case Ye.IN_COLUMN_GROUP:{e0t(this,t);break}case Ye.IN_TABLE_BODY:{VB(this,t);break}case Ye.IN_ROW:{tSe(this,t);break}case Ye.IN_CELL:{n0t(this,t);break}case Ye.IN_SELECT:{rSe(this,t);break}case Ye.IN_SELECT_IN_TABLE:{i0t(this,t);break}case Ye.IN_TEMPLATE:{a0t(this,t);break}case Ye.AFTER_BODY:{sSe(this,t);break}case Ye.IN_FRAMESET:{u0t(this,t);break}case Ye.AFTER_FRAMESET:{d0t(this,t);break}case Ye.AFTER_AFTER_BODY:{mR(this,t);break}}}onEof(t){switch(this.insertionMode){case Ye.INITIAL:{Rw(this,t);break}case Ye.BEFORE_HTML:{LT(this,t);break}case Ye.BEFORE_HEAD:{MT(this,t);break}case Ye.IN_HEAD:{FT(this,t);break}case Ye.IN_HEAD_NO_SCRIPT:{$T(this,t);break}case Ye.AFTER_HEAD:{BT(this,t);break}case Ye.IN_BODY:case Ye.IN_TABLE:case Ye.IN_CAPTION:case Ye.IN_COLUMN_GROUP:case Ye.IN_TABLE_BODY:case Ye.IN_ROW:case Ye.IN_CELL:case Ye.IN_SELECT:case Ye.IN_SELECT_IN_TABLE:{Xve(this,t);break}case Ye.TEXT:{qpt(this,t);break}case Ye.IN_TABLE_TEXT:{Iw(this,t);break}case Ye.IN_TEMPLATE:{iSe(this,t);break}case Ye.AFTER_BODY:case Ye.IN_FRAMESET:case Ye.AFTER_FRAMESET:case Ye.AFTER_AFTER_BODY:case Ye.AFTER_AFTER_FRAMESET:{mY(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===Ie.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case Ye.IN_HEAD:case Ye.IN_HEAD_NO_SCRIPT:case Ye.AFTER_HEAD:case Ye.TEXT:case Ye.IN_COLUMN_GROUP:case Ye.IN_SELECT:case Ye.IN_SELECT_IN_TABLE:case Ye.IN_FRAMESET:case Ye.AFTER_FRAMESET:{this._insertCharacters(t);break}case Ye.IN_BODY:case Ye.IN_CAPTION:case Ye.IN_CELL:case Ye.IN_TEMPLATE:case Ye.AFTER_BODY:case Ye.AFTER_AFTER_BODY:case Ye.AFTER_AFTER_FRAMESET:{Qve(this,t);break}case Ye.IN_TABLE:case Ye.IN_TABLE_BODY:case Ye.IN_ROW:{UL(this,t);break}case Ye.IN_TABLE_TEXT:{Kve(this,t);break}}}};function Uht(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Zve(e,t),n}function zht(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}function Hht(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let s=0,a=i;a!==n;s++,a=i){i=e.openElements.getCommonAncestor(a);const o=e.activeFormattingElements.getElementEntry(a),l=o&&s>=$ht;!o||l?(l&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(a)):(a=qht(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function qht(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function jht(e,t,n){const r=e.treeAdapter.getTagName(t),i=a2(r);if(e._isElementCausesFosterParenting(i))e._fosterParentElement(n);else{const s=e.treeAdapter.getNamespaceURI(t);i===q.TEMPLATE&&s===Kt.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function Wht(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,s=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,s),e.treeAdapter.appendChild(t,s),e.activeFormattingElements.insertElementAfterBookmark(s,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,s,i.tagID)}function pY(e,t){for(let n=0;n=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],i=e.treeAdapter.getNodeSourceCodeLocation(r);if(i&&!i.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const s=e.openElements.items[1],a=e.treeAdapter.getNodeSourceCodeLocation(s);a&&!a.endTag&&e._setEndLocation(s,t)}}}}function Ght(e,t){e._setDocumentType(t);const n=t.forceQuirks?Wc.QUIRKS:xht(t);wht(t)||e._err(t,Pt.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=Ye.BEFORE_HTML}function Rw(e,t){e._err(t,Pt.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Wc.QUIRKS),e.insertionMode=Ye.BEFORE_HTML,e._processToken(t)}function Yht(e,t){t.tagID===q.HTML?(e._insertElement(t,Kt.HTML),e.insertionMode=Ye.BEFORE_HEAD):LT(e,t)}function Zht(e,t){const n=t.tagID;(n===q.HTML||n===q.HEAD||n===q.BODY||n===q.BR)&<(e,t)}function LT(e,t){e._insertFakeRootElement(),e.insertionMode=Ye.BEFORE_HEAD,e._processToken(t)}function Xht(e,t){switch(t.tagID){case q.HTML:{Zl(e,t);break}case q.HEAD:{e._insertElement(t,Kt.HTML),e.headElement=e.openElements.current,e.insertionMode=Ye.IN_HEAD;break}default:MT(e,t)}}function Kht(e,t){const n=t.tagID;n===q.HEAD||n===q.BODY||n===q.HTML||n===q.BR?MT(e,t):e._err(t,Pt.endTagWithoutMatchingOpenElement)}function MT(e,t){e._insertFakeElement(Ot.HEAD,q.HEAD),e.headElement=e.openElements.current,e.insertionMode=Ye.IN_HEAD,e._processToken(t)}function Th(e,t){switch(t.tagID){case q.HTML:{Zl(e,t);break}case q.BASE:case q.BASEFONT:case q.BGSOUND:case q.LINK:case q.META:{e._appendElement(t,Kt.HTML),t.ackSelfClosing=!0;break}case q.TITLE:{e._switchToTextParsing(t,Xa.RCDATA);break}case q.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Xa.RAWTEXT):(e._insertElement(t,Kt.HTML),e.insertionMode=Ye.IN_HEAD_NO_SCRIPT);break}case q.NOFRAMES:case q.STYLE:{e._switchToTextParsing(t,Xa.RAWTEXT);break}case q.SCRIPT:{e._switchToTextParsing(t,Xa.SCRIPT_DATA);break}case q.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=Ye.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(Ye.IN_TEMPLATE);break}case q.HEAD:{e._err(t,Pt.misplacedStartTagForHeadElement);break}default:FT(e,t)}}function Jht(e,t){switch(t.tagID){case q.HEAD:{e.openElements.pop(),e.insertionMode=Ye.AFTER_HEAD;break}case q.BODY:case q.BR:case q.HTML:{FT(e,t);break}case q.TEMPLATE:{Qy(e,t);break}default:e._err(t,Pt.endTagWithoutMatchingOpenElement)}}function Qy(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==q.TEMPLATE&&e._err(t,Pt.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(q.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,Pt.endTagWithoutMatchingOpenElement)}function FT(e,t){e.openElements.pop(),e.insertionMode=Ye.AFTER_HEAD,e._processToken(t)}function ept(e,t){switch(t.tagID){case q.HTML:{Zl(e,t);break}case q.BASEFONT:case q.BGSOUND:case q.HEAD:case q.LINK:case q.META:case q.NOFRAMES:case q.STYLE:{Th(e,t);break}case q.NOSCRIPT:{e._err(t,Pt.nestedNoscriptInHead);break}default:$T(e,t)}}function tpt(e,t){switch(t.tagID){case q.NOSCRIPT:{e.openElements.pop(),e.insertionMode=Ye.IN_HEAD;break}case q.BR:{$T(e,t);break}default:e._err(t,Pt.endTagWithoutMatchingOpenElement)}}function $T(e,t){const n=t.type===ii.EOF?Pt.openElementsLeftAfterEof:Pt.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=Ye.IN_HEAD,e._processToken(t)}function npt(e,t){switch(t.tagID){case q.HTML:{Zl(e,t);break}case q.BODY:{e._insertElement(t,Kt.HTML),e.framesetOk=!1,e.insertionMode=Ye.IN_BODY;break}case q.FRAMESET:{e._insertElement(t,Kt.HTML),e.insertionMode=Ye.IN_FRAMESET;break}case q.BASE:case q.BASEFONT:case q.BGSOUND:case q.LINK:case q.META:case q.NOFRAMES:case q.SCRIPT:case q.STYLE:case q.TEMPLATE:case q.TITLE:{e._err(t,Pt.abandonedHeadElementChild),e.openElements.push(e.headElement,q.HEAD),Th(e,t),e.openElements.remove(e.headElement);break}case q.HEAD:{e._err(t,Pt.misplacedStartTagForHeadElement);break}default:BT(e,t)}}function rpt(e,t){switch(t.tagID){case q.BODY:case q.HTML:case q.BR:{BT(e,t);break}case q.TEMPLATE:{Qy(e,t);break}default:e._err(t,Pt.endTagWithoutMatchingOpenElement)}}function BT(e,t){e._insertFakeElement(Ot.BODY,q.BODY),e.insertionMode=Ye.IN_BODY,ON(e,t)}function ON(e,t){switch(t.type){case ii.CHARACTER:{Vve(e,t);break}case ii.WHITESPACE_CHARACTER:{Qve(e,t);break}case ii.COMMENT:{QB(e,t);break}case ii.START_TAG:{Zl(e,t);break}case ii.END_TAG:{EN(e,t);break}case ii.EOF:{Xve(e,t);break}}}function Qve(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Vve(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function ipt(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function spt(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function apt(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,Kt.HTML),e.insertionMode=Ye.IN_FRAMESET)}function opt(e,t){e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._insertElement(t,Kt.HTML)}function lpt(e,t){e.openElements.hasInButtonScope(q.P)&&e._closePElement(),Lve(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,Kt.HTML)}function upt(e,t){e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._insertElement(t,Kt.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function cpt(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._insertElement(t,Kt.HTML),n||(e.formElement=e.openElements.current))}function dpt(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.tagIDs[r];if(n===q.LI&&i===q.LI||(n===q.DD||n===q.DT)&&(i===q.DD||i===q.DT)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(i!==q.ADDRESS&&i!==q.DIV&&i!==q.P&&e._isSpecialElement(e.openElements.items[r],i))break}e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._insertElement(t,Kt.HTML)}function fpt(e,t){e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._insertElement(t,Kt.HTML),e.tokenizer.state=Xa.PLAINTEXT}function hpt(e,t){e.openElements.hasInScope(q.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(q.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,Kt.HTML),e.framesetOk=!1}function ppt(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(Ot.A);n&&(pY(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,Kt.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function mpt(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Kt.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function gpt(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(q.NOBR)&&(pY(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,Kt.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function bpt(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Kt.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function ypt(e,t){e.treeAdapter.getDocumentMode(e.document)!==Wc.QUIRKS&&e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._insertElement(t,Kt.HTML),e.framesetOk=!1,e.insertionMode=Ye.IN_TABLE}function Gve(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Kt.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Yve(e){const t=Ive(e,i1.TYPE);return t!=null&&t.toLowerCase()===Mht}function vpt(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Kt.HTML),Yve(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function Spt(e,t){e._appendElement(t,Kt.HTML),t.ackSelfClosing=!0}function Opt(e,t){e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._appendElement(t,Kt.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Ept(e,t){t.tagName=Ot.IMG,t.tagID=q.IMG,Gve(e,t)}function wpt(e,t){e._insertElement(t,Kt.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Xa.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=Ye.TEXT}function xpt(e,t){e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Xa.RAWTEXT)}function Tpt(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Xa.RAWTEXT)}function Lse(e,t){e._switchToTextParsing(t,Xa.RAWTEXT)}function kpt(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Kt.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===Ye.IN_TABLE||e.insertionMode===Ye.IN_CAPTION||e.insertionMode===Ye.IN_TABLE_BODY||e.insertionMode===Ye.IN_ROW||e.insertionMode===Ye.IN_CELL?Ye.IN_SELECT_IN_TABLE:Ye.IN_SELECT}function _pt(e,t){e.openElements.currentTagId===q.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,Kt.HTML)}function Apt(e,t){e.openElements.hasInScope(q.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,Kt.HTML)}function Cpt(e,t){e.openElements.hasInScope(q.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(q.RTC),e._insertElement(t,Kt.HTML)}function Rpt(e,t){e._reconstructActiveFormattingElements(),qve(t),hY(t),t.selfClosing?e._appendElement(t,Kt.MATHML):e._insertElement(t,Kt.MATHML),t.ackSelfClosing=!0}function Ipt(e,t){e._reconstructActiveFormattingElements(),jve(t),hY(t),t.selfClosing?e._appendElement(t,Kt.SVG):e._insertElement(t,Kt.SVG),t.ackSelfClosing=!0}function Mse(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Kt.HTML)}function Zl(e,t){switch(t.tagID){case q.I:case q.S:case q.B:case q.U:case q.EM:case q.TT:case q.BIG:case q.CODE:case q.FONT:case q.SMALL:case q.STRIKE:case q.STRONG:{mpt(e,t);break}case q.A:{ppt(e,t);break}case q.H1:case q.H2:case q.H3:case q.H4:case q.H5:case q.H6:{lpt(e,t);break}case q.P:case q.DL:case q.OL:case q.UL:case q.DIV:case q.DIR:case q.NAV:case q.MAIN:case q.MENU:case q.ASIDE:case q.CENTER:case q.FIGURE:case q.FOOTER:case q.HEADER:case q.HGROUP:case q.DIALOG:case q.DETAILS:case q.ADDRESS:case q.ARTICLE:case q.SECTION:case q.SUMMARY:case q.FIELDSET:case q.BLOCKQUOTE:case q.FIGCAPTION:{opt(e,t);break}case q.LI:case q.DD:case q.DT:{dpt(e,t);break}case q.BR:case q.IMG:case q.WBR:case q.AREA:case q.EMBED:case q.KEYGEN:{Gve(e,t);break}case q.HR:{Opt(e,t);break}case q.RB:case q.RTC:{Apt(e,t);break}case q.RT:case q.RP:{Cpt(e,t);break}case q.PRE:case q.LISTING:{upt(e,t);break}case q.XMP:{xpt(e,t);break}case q.SVG:{Ipt(e,t);break}case q.HTML:{ipt(e,t);break}case q.BASE:case q.LINK:case q.META:case q.STYLE:case q.TITLE:case q.SCRIPT:case q.BGSOUND:case q.BASEFONT:case q.TEMPLATE:{Th(e,t);break}case q.BODY:{spt(e,t);break}case q.FORM:{cpt(e,t);break}case q.NOBR:{gpt(e,t);break}case q.MATH:{Rpt(e,t);break}case q.TABLE:{ypt(e,t);break}case q.INPUT:{vpt(e,t);break}case q.PARAM:case q.TRACK:case q.SOURCE:{Spt(e,t);break}case q.IMAGE:{Ept(e,t);break}case q.BUTTON:{hpt(e,t);break}case q.APPLET:case q.OBJECT:case q.MARQUEE:{bpt(e,t);break}case q.IFRAME:{Tpt(e,t);break}case q.SELECT:{kpt(e,t);break}case q.OPTION:case q.OPTGROUP:{_pt(e,t);break}case q.NOEMBED:{Lse(e,t);break}case q.FRAMESET:{apt(e,t);break}case q.TEXTAREA:{wpt(e,t);break}case q.NOSCRIPT:{e.options.scriptingEnabled?Lse(e,t):Mse(e,t);break}case q.PLAINTEXT:{fpt(e,t);break}case q.COL:case q.TH:case q.TD:case q.TR:case q.HEAD:case q.FRAME:case q.TBODY:case q.TFOOT:case q.THEAD:case q.CAPTION:case q.COLGROUP:break;default:Mse(e,t)}}function Dpt(e,t){if(e.openElements.hasInScope(q.BODY)&&(e.insertionMode=Ye.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function Npt(e,t){e.openElements.hasInScope(q.BODY)&&(e.insertionMode=Ye.AFTER_BODY,sSe(e,t))}function Ppt(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function Lpt(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(q.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(q.FORM):n&&e.openElements.remove(n))}function Mpt(e){e.openElements.hasInButtonScope(q.P)||e._insertFakeElement(Ot.P,q.P),e._closePElement()}function Fpt(e){e.openElements.hasInListItemScope(q.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(q.LI),e.openElements.popUntilTagNamePopped(q.LI))}function $pt(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function Bpt(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function Upt(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function zpt(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(Ot.BR,q.BR),e.openElements.pop(),e.framesetOk=!1}function Zve(e,t){const n=t.tagName,r=t.tagID;for(let i=e.openElements.stackTop;i>0;i--){const s=e.openElements.items[i],a=e.openElements.tagIDs[i];if(r===a&&(r!==q.UNKNOWN||e.treeAdapter.getTagName(s)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=i&&e.openElements.shortenToLength(i);break}if(e._isSpecialElement(s,a))break}}function EN(e,t){switch(t.tagID){case q.A:case q.B:case q.I:case q.S:case q.U:case q.EM:case q.TT:case q.BIG:case q.CODE:case q.FONT:case q.NOBR:case q.SMALL:case q.STRIKE:case q.STRONG:{pY(e,t);break}case q.P:{Mpt(e);break}case q.DL:case q.UL:case q.OL:case q.DIR:case q.DIV:case q.NAV:case q.PRE:case q.MAIN:case q.MENU:case q.ASIDE:case q.BUTTON:case q.CENTER:case q.FIGURE:case q.FOOTER:case q.HEADER:case q.HGROUP:case q.DIALOG:case q.ADDRESS:case q.ARTICLE:case q.DETAILS:case q.SECTION:case q.SUMMARY:case q.LISTING:case q.FIELDSET:case q.BLOCKQUOTE:case q.FIGCAPTION:{Ppt(e,t);break}case q.LI:{Fpt(e);break}case q.DD:case q.DT:{$pt(e,t);break}case q.H1:case q.H2:case q.H3:case q.H4:case q.H5:case q.H6:{Bpt(e);break}case q.BR:{zpt(e);break}case q.BODY:{Dpt(e,t);break}case q.HTML:{Npt(e,t);break}case q.FORM:{Lpt(e);break}case q.APPLET:case q.OBJECT:case q.MARQUEE:{Upt(e,t);break}case q.TEMPLATE:{Qy(e,t);break}default:Zve(e,t)}}function Xve(e,t){e.tmplInsertionModeStack.length>0?iSe(e,t):mY(e,t)}function Hpt(e,t){var n;t.tagID===q.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function qpt(e,t){e._err(t,Pt.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function UL(e,t){if(Wve.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=Ye.IN_TABLE_TEXT,t.type){case ii.CHARACTER:{Jve(e,t);break}case ii.WHITESPACE_CHARACTER:{Kve(e,t);break}}else DA(e,t)}function jpt(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,Kt.HTML),e.insertionMode=Ye.IN_CAPTION}function Wpt(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Kt.HTML),e.insertionMode=Ye.IN_COLUMN_GROUP}function Qpt(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(Ot.COLGROUP,q.COLGROUP),e.insertionMode=Ye.IN_COLUMN_GROUP,gY(e,t)}function Vpt(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Kt.HTML),e.insertionMode=Ye.IN_TABLE_BODY}function Gpt(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(Ot.TBODY,q.TBODY),e.insertionMode=Ye.IN_TABLE_BODY,wN(e,t)}function Ypt(e,t){e.openElements.hasInTableScope(q.TABLE)&&(e.openElements.popUntilTagNamePopped(q.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function Zpt(e,t){Yve(t)?e._appendElement(t,Kt.HTML):DA(e,t),t.ackSelfClosing=!0}function Xpt(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,Kt.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function fE(e,t){switch(t.tagID){case q.TD:case q.TH:case q.TR:{Gpt(e,t);break}case q.STYLE:case q.SCRIPT:case q.TEMPLATE:{Th(e,t);break}case q.COL:{Qpt(e,t);break}case q.FORM:{Xpt(e,t);break}case q.TABLE:{Ypt(e,t);break}case q.TBODY:case q.TFOOT:case q.THEAD:{Vpt(e,t);break}case q.INPUT:{Zpt(e,t);break}case q.CAPTION:{jpt(e,t);break}case q.COLGROUP:{Wpt(e,t);break}default:DA(e,t)}}function t_(e,t){switch(t.tagID){case q.TABLE:{e.openElements.hasInTableScope(q.TABLE)&&(e.openElements.popUntilTagNamePopped(q.TABLE),e._resetInsertionMode());break}case q.TEMPLATE:{Qy(e,t);break}case q.BODY:case q.CAPTION:case q.COL:case q.COLGROUP:case q.HTML:case q.TBODY:case q.TD:case q.TFOOT:case q.TH:case q.THEAD:case q.TR:break;default:DA(e,t)}}function DA(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ON(e,t),e.fosterParentingEnabled=n}function Kve(e,t){e.pendingCharacterTokens.push(t)}function Jve(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Iw(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===q.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===q.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===q.OPTGROUP&&e.openElements.pop();break}case q.OPTION:{e.openElements.currentTagId===q.OPTION&&e.openElements.pop();break}case q.SELECT:{e.openElements.hasInSelectScope(q.SELECT)&&(e.openElements.popUntilTagNamePopped(q.SELECT),e._resetInsertionMode());break}case q.TEMPLATE:{Qy(e,t);break}}}function r0t(e,t){const n=t.tagID;n===q.CAPTION||n===q.TABLE||n===q.TBODY||n===q.TFOOT||n===q.THEAD||n===q.TR||n===q.TD||n===q.TH?(e.openElements.popUntilTagNamePopped(q.SELECT),e._resetInsertionMode(),e._processStartTag(t)):nSe(e,t)}function i0t(e,t){const n=t.tagID;n===q.CAPTION||n===q.TABLE||n===q.TBODY||n===q.TFOOT||n===q.THEAD||n===q.TR||n===q.TD||n===q.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(q.SELECT),e._resetInsertionMode(),e.onEndTag(t)):rSe(e,t)}function s0t(e,t){switch(t.tagID){case q.BASE:case q.BASEFONT:case q.BGSOUND:case q.LINK:case q.META:case q.NOFRAMES:case q.SCRIPT:case q.STYLE:case q.TEMPLATE:case q.TITLE:{Th(e,t);break}case q.CAPTION:case q.COLGROUP:case q.TBODY:case q.TFOOT:case q.THEAD:{e.tmplInsertionModeStack[0]=Ye.IN_TABLE,e.insertionMode=Ye.IN_TABLE,fE(e,t);break}case q.COL:{e.tmplInsertionModeStack[0]=Ye.IN_COLUMN_GROUP,e.insertionMode=Ye.IN_COLUMN_GROUP,gY(e,t);break}case q.TR:{e.tmplInsertionModeStack[0]=Ye.IN_TABLE_BODY,e.insertionMode=Ye.IN_TABLE_BODY,wN(e,t);break}case q.TD:case q.TH:{e.tmplInsertionModeStack[0]=Ye.IN_ROW,e.insertionMode=Ye.IN_ROW,xN(e,t);break}default:e.tmplInsertionModeStack[0]=Ye.IN_BODY,e.insertionMode=Ye.IN_BODY,Zl(e,t)}}function a0t(e,t){t.tagID===q.TEMPLATE&&Qy(e,t)}function iSe(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(q.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):mY(e,t)}function o0t(e,t){t.tagID===q.HTML?Zl(e,t):II(e,t)}function sSe(e,t){var n;if(t.tagID===q.HTML){if(e.fragmentContext||(e.insertionMode=Ye.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===q.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else II(e,t)}function II(e,t){e.insertionMode=Ye.IN_BODY,ON(e,t)}function l0t(e,t){switch(t.tagID){case q.HTML:{Zl(e,t);break}case q.FRAMESET:{e._insertElement(t,Kt.HTML);break}case q.FRAME:{e._appendElement(t,Kt.HTML),t.ackSelfClosing=!0;break}case q.NOFRAMES:{Th(e,t);break}}}function u0t(e,t){t.tagID===q.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==q.FRAMESET&&(e.insertionMode=Ye.AFTER_FRAMESET))}function c0t(e,t){switch(t.tagID){case q.HTML:{Zl(e,t);break}case q.NOFRAMES:{Th(e,t);break}}}function d0t(e,t){t.tagID===q.HTML&&(e.insertionMode=Ye.AFTER_AFTER_FRAMESET)}function f0t(e,t){t.tagID===q.HTML?Zl(e,t):mR(e,t)}function mR(e,t){e.insertionMode=Ye.IN_BODY,ON(e,t)}function h0t(e,t){switch(t.tagID){case q.HTML:{Zl(e,t);break}case q.NOFRAMES:{Th(e,t);break}}}function p0t(e,t){t.chars=sa,e._insertCharacters(t)}function m0t(e,t){e._insertCharacters(t),e.framesetOk=!1}function aSe(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==Kt.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function g0t(e,t){if(Iht(t))aSe(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===Kt.MATHML?qve(t):r===Kt.SVG&&(Dht(t),jve(t)),hY(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function b0t(e,t){if(t.tagID===q.P||t.tagID===q.BR){aSe(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===Kt.HTML){e._endTagOutsideForeignContent(t);break}const i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}Ot.AREA,Ot.BASE,Ot.BASEFONT,Ot.BGSOUND,Ot.BR,Ot.COL,Ot.EMBED,Ot.FRAME,Ot.HR,Ot.IMG,Ot.INPUT,Ot.KEYGEN,Ot.LINK,Ot.META,Ot.PARAM,Ot.SOURCE,Ot.TRACK,Ot.WBR;const TN=oSe("end"),zp=oSe("start");function oSe(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function y0t(e){const t=zp(e),n=TN(e);if(t&&n)return{start:t,end:n}}const v0t=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Fse={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function lSe(e,t){const n=C0t(e),r=yN("type",{handlers:{root:S0t,element:O0t,text:E0t,comment:cSe,doctype:w0t,raw:T0t},unknown:k0t}),i={parser:n?new Pse(Fse):Pse.getFragmentParser(void 0,Fse),handle(o){r(o,i)},stitches:!1,options:t||{}};r(e,i),o2(i,zp());const s=n?i.parser.document:i.parser.getFragment(),a=Rft(s,{file:i.options.file});return i.stitches&&Tu(a,"comment",function(o,l,c){const d=o;if(d.value.stitch&&c&&l!==void 0){const f=c.children;return f[l]=d.value.stitch,l}}),a.type==="root"&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}function uSe(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);const n={type:ii.CHARACTER,chars:e.value,location:NA(e)};o2(t,zp(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function w0t(e,t){const n={type:ii.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:NA(e)};o2(t,zp(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function x0t(e,t){t.stitches=!0;const n=R0t(e);if("children"in e&&"children"in n){const r=lSe({type:"root",children:e.children},t.options);n.children=r.children}cSe({type:"comment",value:{stitch:n}},t)}function cSe(e,t){const n=e.value,r={type:ii.COMMENT,data:n,location:NA(e)};o2(t,zp(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function T0t(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,dSe(t,zp(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function k0t(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))x0t(n,t);else{let r="";throw v0t.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function o2(e,t){dSe(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Xa.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function dSe(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function _0t(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Xa.PLAINTEXT)return;o2(t,zp(e));const r=t.parser.openElements.current;let i="namespaceURI"in r?r.namespaceURI:Ib.html;i===Ib.html&&n==="svg"&&(i=Ib.svg);const s=Lft({...e,children:[]},{space:i===Ib.svg?"svg":"html"}),a={type:ii.START_TAG,tagName:n,tagID:a2(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in s?s.attrs:[],location:NA(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function A0t(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&_ve.includes(n)||t.parser.tokenizer.state===Xa.PLAINTEXT)return;o2(t,TN(e));const r={type:ii.END_TAG,tagName:n,tagID:a2(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:NA(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Xa.RCDATA||t.parser.tokenizer.state===Xa.RAWTEXT||t.parser.tokenizer.state===Xa.SCRIPT_DATA)&&(t.parser.tokenizer.state=Xa.DATA)}function C0t(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function NA(e){const t=zp(e)||{line:void 0,column:void 0,offset:void 0},n=TN(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function R0t(e){return"children"in e?wy({...e,children:[]}):wy(e)}function fSe(e){return function(t,n){return lSe(t,{...e,file:n})}}const I0t=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,D0t=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,N0t={};function $se(e,t){return(N0t.jsx?D0t:I0t).test(e)}var hSe={},Bse=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,P0t=/\n/g,L0t=/^\s*/,M0t=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,F0t=/^:\s*/,$0t=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,B0t=/^[;\s]*/,U0t=/^\s+|\s+$/g,z0t=` -`,Use="/",zse="*",gb="",H0t="comment",q0t="declaration",j0t=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(b){var w=b.match(P0t);w&&(n+=w.length);var x=b.lastIndexOf(z0t);r=~x?b.length-x:r+b.length}function s(){var b={line:n,column:r};return function(w){return w.position=new a(b),c(),w}}function a(b){this.start=b,this.end={line:n,column:r},this.source=t.source}a.prototype.content=e;function o(b){var w=new Error(t.source+":"+n+":"+r+": "+b);if(w.reason=b,w.filename=t.source,w.line=n,w.column=r,w.source=e,!t.silent)throw w}function l(b){var w=b.exec(e);if(w){var x=w[0];return i(x),e=e.slice(x.length),w}}function c(){l(L0t)}function d(b){var w;for(b=b||[];w=f();)w!==!1&&b.push(w);return b}function f(){var b=s();if(!(Use!=e.charAt(0)||zse!=e.charAt(1))){for(var w=2;gb!=e.charAt(w)&&(zse!=e.charAt(w)||Use!=e.charAt(w+1));)++w;if(w+=2,gb===e.charAt(w-1))return o("End of comment missing");var x=e.slice(2,w-2);return r+=2,i(x),e=e.slice(w),r+=2,b({type:H0t,comment:x})}}function p(){var b=s(),w=l(M0t);if(w){if(f(),!l(F0t))return o("property missing ':'");var x=l($0t),T=b({type:q0t,property:Hse(w[0].replace(Bse,gb)),value:x?Hse(x[0].replace(Bse,gb)):gb});return l(B0t),T}}function g(){var b=[];d(b);for(var w;w=p();)w!==!1&&(b.push(w),d(b));return b}return c(),g()};function Hse(e){return e?e.replace(U0t,gb):gb}var W0t=Qc&&Qc.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(hSe,"__esModule",{value:!0});var qse=hSe.default=V0t,Q0t=W0t(j0t);function V0t(e,t){var n=null;if(!e||typeof e!="string")return n;var r=(0,Q0t.default)(e),i=typeof t=="function";return r.forEach(function(s){if(s.type==="declaration"){var a=s.property,o=s.value;i?t(a,o,s):o&&(n=n||{},n[a]=o)}}),n}const G0t=qse.default||qse;function UT(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?jse(e.position):"start"in e||"end"in e?jse(e):"line"in e||"column"in e?GB(e):""}function GB(e){return Wse(e&&e.line)+":"+Wse(e&&e.column)}function jse(e){return GB(e&&e.start)+"-"+GB(e&&e.end)}function Wse(e){return e&&typeof e=="number"?e:1}class Xl extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",s={},a=!1;if(n&&("line"in n&&"column"in n?s={place:n}:"start"in n&&"end"in n?s={place:n}:"type"in n?s={ancestors:[n],place:n.position}:s={...n}),typeof t=="string"?i=t:!s.cause&&t&&(a=!0,i=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?s.ruleId=r:(s.source=r.slice(0,l),s.ruleId=r.slice(l+1))}if(!s.place&&s.ancestors&&s.ancestors){const l=s.ancestors[s.ancestors.length-1];l&&(s.place=l.position)}const o=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=o?o.line:void 0,this.name=UT(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=a&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual,this.expected,this.note,this.url}}Xl.prototype.file="";Xl.prototype.name="";Xl.prototype.reason="";Xl.prototype.message="";Xl.prototype.stack="";Xl.prototype.column=void 0;Xl.prototype.line=void 0;Xl.prototype.ancestors=void 0;Xl.prototype.cause=void 0;Xl.prototype.fatal=void 0;Xl.prototype.place=void 0;Xl.prototype.ruleId=void 0;Xl.prototype.source=void 0;const bY={}.hasOwnProperty,Y0t=new Map,Z0t=/[A-Z]/g,X0t=/-([a-z])/g,K0t=new Set(["table","tbody","thead","tfoot","tr"]),J0t=new Set(["td","th"]),pSe="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function emt(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=lmt(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=omt(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?xh:C1,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},s=mSe(i,e,void 0);return s&&typeof s!="string"?s:i.create(e,i.Fragment,{children:s||void 0},void 0)}function mSe(e,t,n){if(t.type==="element")return tmt(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return nmt(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return imt(e,t,n);if(t.type==="mdxjsEsm")return rmt(e,t);if(t.type==="root")return smt(e,t,n);if(t.type==="text")return amt(e,t)}function tmt(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=xh,e.schema=i),e.ancestors.push(t);const s=bSe(e,t.tagName,!1),a=umt(e,t);let o=vY(e,t);return K0t.has(t.tagName)&&(o=o.filter(function(l){return typeof l=="string"?!IA(l):!0})),gSe(e,a,s,t),yY(a,o),e.ancestors.pop(),e.schema=r,e.create(t,s,a,n)}function nmt(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}n_(e,t.position)}function rmt(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);n_(e,t.position)}function imt(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=xh,e.schema=i),e.ancestors.push(t);const s=t.name===null?e.Fragment:bSe(e,t.name,!0),a=cmt(e,t),o=vY(e,t);return gSe(e,a,s,t),yY(a,o),e.ancestors.pop(),e.schema=r,e.create(t,s,a,n)}function smt(e,t,n){const r={};return yY(r,vY(e,t)),e.create(t,e.Fragment,r,n)}function amt(e,t){return t.value}function gSe(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function yY(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function omt(e,t,n){return r;function r(i,s,a,o){const c=Array.isArray(a.children)?n:t;return o?c(s,a,o):c(s,a)}}function lmt(e,t){return n;function n(r,i,s,a){const o=Array.isArray(s.children),l=zp(r);return t(i,s,a,o,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function umt(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&bY.call(t.properties,i)){const s=dmt(e,i,t.properties[i]);if(s){const[a,o]=s;e.tableCellAlignToStyle&&a==="align"&&typeof o=="string"&&J0t.has(t.tagName)?r=o:n[a]=o}}if(r){const s=n.style||(n.style={});s[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function cmt(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const s=r.data.estree.body[0];s.type;const a=s.expression;a.type;const o=a.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else n_(e,t.position);else{const i=r.name;let s;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const o=r.value.data.estree.body[0];o.type,s=e.evaluater.evaluateExpression(o.expression)}else n_(e,t.position);else s=r.value===null?!0:r.value;n[i]=s}return n}function vY(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:Y0t;for(;++ri?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);s0?(uf(e,e.length,0,t),e):t}const Vse={}.hasOwnProperty;function vSe(e){const t={};let n=-1;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function uh(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const yu=R1(/[A-Za-z]/),jl=R1(/[\dA-Za-z]/),Omt=R1(/[#-'*+\--9=?A-Z^-~]/);function DI(e){return e!==null&&(e<32||e===127)}const YB=R1(/\d/),Emt=R1(/[\dA-Fa-f]/),wmt=R1(/[!-/:-@[-`{-~]/);function br(e){return e!==null&&e<-2}function As(e){return e!==null&&(e<0||e===32)}function di(e){return e===-2||e===-1||e===32}const kN=R1(new RegExp("\\p{P}|\\p{S}","u")),xy=R1(/\s/);function R1(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function l2(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&s<57344){const o=e.charCodeAt(n+1);s<56320&&o>56319&&o<57344?(a=String.fromCharCode(s,o),i=1):a="�"}else a=String.fromCharCode(s);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Pi(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let s=0;return a;function a(l){return di(l)?(e.enter(n),o(l)):t(l)}function o(l){return di(l)&&s++a))return;const B=t.events.length;let j=B,F,V;for(;j--;)if(t.events[j][0]==="exit"&&t.events[j][1].type==="chunkFlow"){if(F){V=t.events[j][1].end;break}F=!0}for(T(r),$=B;$C;){const M=n[I];t.containerState=M[1],M[0].exit.call(t,e)}n.length=C}function _(){i.write([null]),s=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Amt(e,t,n){return Pi(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function NI(e){if(e===null||As(e)||xy(e))return 1;if(kN(e))return 2}function _N(e,t,n){const r=[];let i=-1;for(;++i1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f=Object.assign({},e[r][1].end),p=Object.assign({},e[n][1].start);Yse(f,-l),Yse(p,l),a={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)},o={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:p},s={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},o.end)},e[r][1].end=Object.assign({},a.start),e[n][1].start=Object.assign({},o.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Zd(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Zd(c,[["enter",i,t],["enter",a,t],["exit",a,t],["enter",s,t]]),c=Zd(c,_N(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Zd(c,[["exit",s,t],["enter",o,t],["exit",o,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(d=2,c=Zd(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):d=0,uf(e,r-1,n-r+3,c),n=r+c.length-d-2;break}}for(n=-1;++n0&&di($)?Pi(e,_,"linePrefix",s+1)($):_($)}function _($){return $===null||br($)?e.check(Zse,w,I)($):(e.enter("codeFlowValue"),C($))}function C($){return $===null||br($)?(e.exit("codeFlowValue"),_($)):(e.consume($),C)}function I($){return e.exit("codeFenced"),t($)}function M($,B,j){let F=0;return V;function V(le){return $.enter("lineEnding"),$.consume(le),$.exit("lineEnding"),ie}function ie(le){return $.enter("codeFencedFence"),di(le)?Pi($,se,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(le):se(le)}function se(le){return le===o?($.enter("codeFencedFenceSequence"),me(le)):j(le)}function me(le){return le===o?(F++,$.consume(le),me):F>=a?($.exit("codeFencedFenceSequence"),di(le)?Pi($,fe,"whitespace")(le):fe(le)):j(le)}function fe(le){return le===null||br(le)?($.exit("codeFencedFence"),B(le)):j(le)}}}function Umt(e,t,n){const r=this;return i;function i(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),s)}function s(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}const HL={name:"codeIndented",tokenize:Hmt},zmt={tokenize:qmt,partial:!0};function Hmt(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),Pi(e,s,"linePrefix",5)(c)}function s(c){const d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):br(c)?e.attempt(zmt,a,l)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||br(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),o)}function l(c){return e.exit("codeIndented"),t(c)}}function qmt(e,t,n){const r=this;return i;function i(a){return r.parser.lazy[r.now().line]?n(a):br(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):Pi(e,s,"linePrefix",5)(a)}function s(a){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):br(a)?i(a):n(a)}}const jmt={name:"codeText",tokenize:Vmt,resolve:Wmt,previous:Qmt};function Wmt(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return tthis.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const s=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Dw(this.left,r),s.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Dw(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Dw(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function TSe(e,t,n,r,i,s,a,o,l){const c=l||Number.POSITIVE_INFINITY;let d=0;return f;function f(T){return T===60?(e.enter(r),e.enter(i),e.enter(s),e.consume(T),e.exit(s),p):T===null||T===32||T===41||DI(T)?n(T):(e.enter(r),e.enter(a),e.enter(o),e.enter("chunkString",{contentType:"string"}),w(T))}function p(T){return T===62?(e.enter(s),e.consume(T),e.exit(s),e.exit(i),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),g(T))}function g(T){return T===62?(e.exit("chunkString"),e.exit(o),p(T)):T===null||T===60||br(T)?n(T):(e.consume(T),T===92?b:g)}function b(T){return T===60||T===62||T===92?(e.consume(T),g):g(T)}function w(T){return!d&&(T===null||T===41||As(T))?(e.exit("chunkString"),e.exit(o),e.exit(a),e.exit(r),t(T)):d999||g===null||g===91||g===93&&!l||g===94&&!o&&"_hiddenFootnoteSupport"in a.parser.constructs?n(g):g===93?(e.exit(s),e.enter(i),e.consume(g),e.exit(i),e.exit(r),t):br(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),f(g))}function f(g){return g===null||g===91||g===93||br(g)||o++>999?(e.exit("chunkString"),d(g)):(e.consume(g),l||(l=!di(g)),g===92?p:f)}function p(g){return g===91||g===92||g===93?(e.consume(g),o++,f):f(g)}}function _Se(e,t,n,r,i,s){let a;return o;function o(p){return p===34||p===39||p===40?(e.enter(r),e.enter(i),e.consume(p),e.exit(i),a=p===40?41:p,l):n(p)}function l(p){return p===a?(e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):(e.enter(s),c(p))}function c(p){return p===a?(e.exit(s),l(a)):p===null?n(p):br(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),Pi(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===a||p===null||br(p)?(e.exit("chunkString"),c(p)):(e.consume(p),p===92?f:d)}function f(p){return p===a||p===92?(e.consume(p),d):d(p)}}function zT(e,t){let n;return r;function r(i){return br(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):di(i)?Pi(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const tgt={name:"definition",tokenize:rgt},ngt={tokenize:igt,partial:!0};function rgt(e,t,n){const r=this;let i;return s;function s(g){return e.enter("definition"),a(g)}function a(g){return kSe.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(g)}function o(g){return i=uh(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),l):n(g)}function l(g){return As(g)?zT(e,c)(g):c(g)}function c(g){return TSe(e,d,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(g)}function d(g){return e.attempt(ngt,f,f)(g)}function f(g){return di(g)?Pi(e,p,"whitespace")(g):p(g)}function p(g){return g===null||br(g)?(e.exit("definition"),r.parser.defined.push(i),t(g)):n(g)}}function igt(e,t,n){return r;function r(o){return As(o)?zT(e,i)(o):n(o)}function i(o){return _Se(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function s(o){return di(o)?Pi(e,a,"whitespace")(o):a(o)}function a(o){return o===null||br(o)?t(o):n(o)}}const sgt={name:"hardBreakEscape",tokenize:agt};function agt(e,t,n){return r;function r(s){return e.enter("hardBreakEscape"),e.consume(s),i}function i(s){return br(s)?(e.exit("hardBreakEscape"),t(s)):n(s)}}const ogt={name:"headingAtx",tokenize:ugt,resolve:lgt};function lgt(e,t){let n=e.length-2,r=3,i,s;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},s={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},uf(e,r,n-r+1,[["enter",i,t],["enter",s,t],["exit",s,t],["exit",i,t]])),e}function ugt(e,t,n){let r=0;return i;function i(d){return e.enter("atxHeading"),s(d)}function s(d){return e.enter("atxHeadingSequence"),a(d)}function a(d){return d===35&&r++<6?(e.consume(d),a):d===null||As(d)?(e.exit("atxHeadingSequence"),o(d)):n(d)}function o(d){return d===35?(e.enter("atxHeadingSequence"),l(d)):d===null||br(d)?(e.exit("atxHeading"),t(d)):di(d)?Pi(e,o,"whitespace")(d):(e.enter("atxHeadingText"),c(d))}function l(d){return d===35?(e.consume(d),l):(e.exit("atxHeadingSequence"),o(d))}function c(d){return d===null||d===35||As(d)?(e.exit("atxHeadingText"),o(d)):(e.consume(d),c)}}const cgt=["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","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Kse=["pre","script","style","textarea"],dgt={name:"htmlFlow",tokenize:mgt,resolveTo:pgt,concrete:!0},fgt={tokenize:bgt,partial:!0},hgt={tokenize:ggt,partial:!0};function pgt(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function mgt(e,t,n){const r=this;let i,s,a,o,l;return c;function c(ue){return d(ue)}function d(ue){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(ue),f}function f(ue){return ue===33?(e.consume(ue),p):ue===47?(e.consume(ue),s=!0,w):ue===63?(e.consume(ue),i=3,r.interrupt?t:re):yu(ue)?(e.consume(ue),a=String.fromCharCode(ue),x):n(ue)}function p(ue){return ue===45?(e.consume(ue),i=2,g):ue===91?(e.consume(ue),i=5,o=0,b):yu(ue)?(e.consume(ue),i=4,r.interrupt?t:re):n(ue)}function g(ue){return ue===45?(e.consume(ue),r.interrupt?t:re):n(ue)}function b(ue){const tt="CDATA[";return ue===tt.charCodeAt(o++)?(e.consume(ue),o===tt.length?r.interrupt?t:se:b):n(ue)}function w(ue){return yu(ue)?(e.consume(ue),a=String.fromCharCode(ue),x):n(ue)}function x(ue){if(ue===null||ue===47||ue===62||As(ue)){const tt=ue===47,St=a.toLowerCase();return!tt&&!s&&Kse.includes(St)?(i=1,r.interrupt?t(ue):se(ue)):cgt.includes(a.toLowerCase())?(i=6,tt?(e.consume(ue),T):r.interrupt?t(ue):se(ue)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(ue):s?_(ue):C(ue))}return ue===45||jl(ue)?(e.consume(ue),a+=String.fromCharCode(ue),x):n(ue)}function T(ue){return ue===62?(e.consume(ue),r.interrupt?t:se):n(ue)}function _(ue){return di(ue)?(e.consume(ue),_):V(ue)}function C(ue){return ue===47?(e.consume(ue),V):ue===58||ue===95||yu(ue)?(e.consume(ue),I):di(ue)?(e.consume(ue),C):V(ue)}function I(ue){return ue===45||ue===46||ue===58||ue===95||jl(ue)?(e.consume(ue),I):M(ue)}function M(ue){return ue===61?(e.consume(ue),$):di(ue)?(e.consume(ue),M):C(ue)}function $(ue){return ue===null||ue===60||ue===61||ue===62||ue===96?n(ue):ue===34||ue===39?(e.consume(ue),l=ue,B):di(ue)?(e.consume(ue),$):j(ue)}function B(ue){return ue===l?(e.consume(ue),l=null,F):ue===null||br(ue)?n(ue):(e.consume(ue),B)}function j(ue){return ue===null||ue===34||ue===39||ue===47||ue===60||ue===61||ue===62||ue===96||As(ue)?M(ue):(e.consume(ue),j)}function F(ue){return ue===47||ue===62||di(ue)?C(ue):n(ue)}function V(ue){return ue===62?(e.consume(ue),ie):n(ue)}function ie(ue){return ue===null||br(ue)?se(ue):di(ue)?(e.consume(ue),ie):n(ue)}function se(ue){return ue===45&&i===2?(e.consume(ue),ye):ue===60&&i===1?(e.consume(ue),ae):ue===62&&i===4?(e.consume(ue),Fe):ue===63&&i===3?(e.consume(ue),re):ue===93&&i===5?(e.consume(ue),he):br(ue)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(fgt,je,me)(ue)):ue===null||br(ue)?(e.exit("htmlFlowData"),me(ue)):(e.consume(ue),se)}function me(ue){return e.check(hgt,fe,je)(ue)}function fe(ue){return e.enter("lineEnding"),e.consume(ue),e.exit("lineEnding"),le}function le(ue){return ue===null||br(ue)?me(ue):(e.enter("htmlFlowData"),se(ue))}function ye(ue){return ue===45?(e.consume(ue),re):se(ue)}function ae(ue){return ue===47?(e.consume(ue),a="",Se):se(ue)}function Se(ue){if(ue===62){const tt=a.toLowerCase();return Kse.includes(tt)?(e.consume(ue),Fe):se(ue)}return yu(ue)&&a.length<8?(e.consume(ue),a+=String.fromCharCode(ue),Se):se(ue)}function he(ue){return ue===93?(e.consume(ue),re):se(ue)}function re(ue){return ue===62?(e.consume(ue),Fe):ue===45&&i===2?(e.consume(ue),re):se(ue)}function Fe(ue){return ue===null||br(ue)?(e.exit("htmlFlowData"),je(ue)):(e.consume(ue),Fe)}function je(ue){return e.exit("htmlFlow"),t(ue)}}function ggt(e,t,n){const r=this;return i;function i(a){return br(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),s):n(a)}function s(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}function bgt(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(PA,t,n)}}const ygt={name:"htmlText",tokenize:vgt};function vgt(e,t,n){const r=this;let i,s,a;return o;function o(re){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(re),l}function l(re){return re===33?(e.consume(re),c):re===47?(e.consume(re),M):re===63?(e.consume(re),C):yu(re)?(e.consume(re),j):n(re)}function c(re){return re===45?(e.consume(re),d):re===91?(e.consume(re),s=0,b):yu(re)?(e.consume(re),_):n(re)}function d(re){return re===45?(e.consume(re),g):n(re)}function f(re){return re===null?n(re):re===45?(e.consume(re),p):br(re)?(a=f,ae(re)):(e.consume(re),f)}function p(re){return re===45?(e.consume(re),g):f(re)}function g(re){return re===62?ye(re):re===45?p(re):f(re)}function b(re){const Fe="CDATA[";return re===Fe.charCodeAt(s++)?(e.consume(re),s===Fe.length?w:b):n(re)}function w(re){return re===null?n(re):re===93?(e.consume(re),x):br(re)?(a=w,ae(re)):(e.consume(re),w)}function x(re){return re===93?(e.consume(re),T):w(re)}function T(re){return re===62?ye(re):re===93?(e.consume(re),T):w(re)}function _(re){return re===null||re===62?ye(re):br(re)?(a=_,ae(re)):(e.consume(re),_)}function C(re){return re===null?n(re):re===63?(e.consume(re),I):br(re)?(a=C,ae(re)):(e.consume(re),C)}function I(re){return re===62?ye(re):C(re)}function M(re){return yu(re)?(e.consume(re),$):n(re)}function $(re){return re===45||jl(re)?(e.consume(re),$):B(re)}function B(re){return br(re)?(a=B,ae(re)):di(re)?(e.consume(re),B):ye(re)}function j(re){return re===45||jl(re)?(e.consume(re),j):re===47||re===62||As(re)?F(re):n(re)}function F(re){return re===47?(e.consume(re),ye):re===58||re===95||yu(re)?(e.consume(re),V):br(re)?(a=F,ae(re)):di(re)?(e.consume(re),F):ye(re)}function V(re){return re===45||re===46||re===58||re===95||jl(re)?(e.consume(re),V):ie(re)}function ie(re){return re===61?(e.consume(re),se):br(re)?(a=ie,ae(re)):di(re)?(e.consume(re),ie):F(re)}function se(re){return re===null||re===60||re===61||re===62||re===96?n(re):re===34||re===39?(e.consume(re),i=re,me):br(re)?(a=se,ae(re)):di(re)?(e.consume(re),se):(e.consume(re),fe)}function me(re){return re===i?(e.consume(re),i=void 0,le):re===null?n(re):br(re)?(a=me,ae(re)):(e.consume(re),me)}function fe(re){return re===null||re===34||re===39||re===60||re===61||re===96?n(re):re===47||re===62||As(re)?F(re):(e.consume(re),fe)}function le(re){return re===47||re===62||As(re)?F(re):n(re)}function ye(re){return re===62?(e.consume(re),e.exit("htmlTextData"),e.exit("htmlText"),t):n(re)}function ae(re){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(re),e.exit("lineEnding"),Se}function Se(re){return di(re)?Pi(e,he,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(re):he(re)}function he(re){return e.enter("htmlTextData"),a(re)}}const OY={name:"labelEnd",tokenize:Tgt,resolveTo:xgt,resolveAll:wgt},Sgt={tokenize:kgt},Ogt={tokenize:_gt},Egt={tokenize:Agt};function wgt(e){let t=-1;for(;++t=3&&(c===null||br(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===i?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),di(c)?Pi(e,o,"whitespace")(c):o(c))}}const ju={name:"list",tokenize:Fgt,continuation:{tokenize:$gt},exit:Ugt},Lgt={tokenize:zgt,partial:!0},Mgt={tokenize:Bgt,partial:!0};function Fgt(e,t,n){const r=this,i=r.events[r.events.length-1];let s=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return o;function o(g){const b=r.containerState.type||(g===42||g===43||g===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!r.containerState.marker||g===r.containerState.marker:YB(g)){if(r.containerState.type||(r.containerState.type=b,e.enter(b,{_container:!0})),b==="listUnordered")return e.enter("listItemPrefix"),g===42||g===45?e.check(gR,n,c)(g):c(g);if(!r.interrupt||g===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(g)}return n(g)}function l(g){return YB(g)&&++a<10?(e.consume(g),l):(!r.interrupt||a<2)&&(r.containerState.marker?g===r.containerState.marker:g===41||g===46)?(e.exit("listItemValue"),c(g)):n(g)}function c(g){return e.enter("listItemMarker"),e.consume(g),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||g,e.check(PA,r.interrupt?n:d,e.attempt(Lgt,p,f))}function d(g){return r.containerState.initialBlankLine=!0,s++,p(g)}function f(g){return di(g)?(e.enter("listItemPrefixWhitespace"),e.consume(g),e.exit("listItemPrefixWhitespace"),p):n(g)}function p(g){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(g)}}function $gt(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(PA,i,s);function i(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Pi(e,t,"listItemIndent",r.containerState.size+1)(o)}function s(o){return r.containerState.furtherBlankLines||!di(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Mgt,t,a)(o))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,Pi(e,e.attempt(ju,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function Bgt(e,t,n){const r=this;return Pi(e,i,"listItemIndent",r.containerState.size+1);function i(s){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(s):n(s)}}function Ugt(e){e.exit(this.containerState.type)}function zgt(e,t,n){const r=this;return Pi(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(s){const a=r.events[r.events.length-1];return!di(s)&&a&&a[1].type==="listItemPrefixWhitespace"?t(s):n(s)}}const Jse={name:"setextUnderline",tokenize:qgt,resolveTo:Hgt};function Hgt(e,t){let n=e.length,r,i,s;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!s&&e[n][1].type==="definition"&&(s=n);const a={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",s?(e.splice(i,0,["enter",a,t]),e.splice(s+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[s][1].end)):e[r][1]=a,e.push(["exit",a,t]),e}function qgt(e,t,n){const r=this;let i;return s;function s(c){let d=r.events.length,f;for(;d--;)if(r.events[d][1].type!=="lineEnding"&&r.events[d][1].type!=="linePrefix"&&r.events[d][1].type!=="content"){f=r.events[d][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=c,a(c)):n(c)}function a(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===i?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),di(c)?Pi(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||br(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const jgt={tokenize:Wgt};function Wgt(e){const t=this,n=e.attempt(PA,r,e.attempt(this.parser.constructs.flowInitial,i,Pi(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Zmt,i)),"linePrefix")));return n;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const Qgt={resolveAll:CSe()},Vgt=ASe("string"),Ggt=ASe("text");function ASe(e){return{tokenize:t,resolveAll:CSe(e==="text"?Ygt:void 0)};function t(n){const r=this,i=this.parser.constructs[e],s=n.attempt(i,a,o);return a;function a(d){return c(d)?s(d):o(d)}function o(d){if(d===null){n.consume(d);return}return n.enter("data"),n.consume(d),l}function l(d){return c(d)?(n.exit("data"),s(d)):(n.consume(d),l)}function c(d){if(d===null)return!0;const f=i[d];let p=-1;if(f)for(;++p-1){const o=a[0];typeof o=="string"?a[0]=o.slice(r):a.shift()}s>0&&a.push(e[i].slice(0,s))}return a}function Kgt(e,t){let n=-1;const r=[];let i;for(;++n0)return(t.commaSeparated?pN:hN)(e)}else return String(e)}const Sdt=[];function Odt(e,t){return(t.properties.className||Sdt).includes(e.name)}function Edt(e,t){return t.properties.id===e.name}function wdt(e,t){return e.name===t.tagName}function xdt(e,t){return function(n,r){let i=dse(n,"tag");const s=dse(r??"*","range"),a=[];let o=-1;for(;++o=hse&&e.charCodeAt(t)<=Cdt;)c=c*10+(e.charCodeAt(t)-hse),t++;return t===l?null:c}function o(){for(;ts<=n;if(t===0)return s=>s===n;if(t===1)return n<0?pse.trueFunc:s=>s>=n;const r=Math.abs(t),i=(n%r+r)%r;return t>1?s=>s>=n&&s%r===i:s=>s<=n&&s%r===i}function mse(e){return Ddt(Rdt(e))}const gse={}.hasOwnProperty;function yN(e,t){const n=t||{};function r(i,...s){let a=r.invalid;const o=r.handlers;if(i&&gse.call(i,e)){const l=String(i[e]);a=gse.call(o,l)?o[l]:r.unknown}if(a)return a.call(this,i,...s)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const Ndt=mse.default||mse,Pdt=yN("name",{handlers:{"any-link":Ldt,blank:Mdt,checked:Fdt,dir:$dt,disabled:hve,empty:Bdt,enabled:Udt,"first-child":zdt,"first-of-type":Hdt,has:qdt,is:pve,lang:Wdt,"last-child":Qdt,"last-of-type":Vdt,not:Gdt,"nth-child":Ydt,"nth-last-child":Zdt,"nth-last-of-type":Xdt,"nth-of-type":Kdt,"only-child":Jdt,"only-of-type":eft,optional:tft,"read-only":nft,"read-write":mve,required:gve,root:rft,scope:ift},invalid:jdt,unknown:sft});function Ldt(e,t){return(t.tagName==="a"||t.tagName==="area"||t.tagName==="link")&&Ey(t,"href")}function Up(e,t){if(e.shallow)throw new Error("Cannot use `:"+t.name+"` without parent")}function Mdt(e,t){return!bve(t,n);function n(r){return r.type==="element"||r.type==="text"&&!IA(r)}}function Fdt(e,t){return t.tagName==="input"||t.tagName==="menuitem"?!!((t.properties.type==="checkbox"||t.properties.type==="radio")&&Ey(t,"checked")):t.tagName==="option"?Ey(t,"selected"):!1}function $dt(e,t,n,r,i){return e.argument,e.argument.type,i.direction===e.argument.value}function hve(e,t){return(t.tagName==="button"||t.tagName==="input"||t.tagName==="select"||t.tagName==="textarea"||t.tagName==="optgroup"||t.tagName==="option"||t.tagName==="menuitem"||t.tagName==="fieldset")&&Ey(t,"disabled")}function Bdt(e,t){return!bve(t,n);function n(r){return r.type==="element"||r.type==="text"}}function Udt(e,t){return!hve(e,t)}function zdt(e,t,n,r,i){return Up(i,e),i.elementIndex===0}function Hdt(e,t,n,r,i){return Up(i,e),i.typeIndex===0}function vN(e){let t=e._cachedFn;if(!t){const n=e.argument;if(n.type!=="Formula")throw new Error("Expected `nth` formula, such as `even` or `2n+1` (`of` is not yet supported)");t=Ndt(n.a+"n+"+n.b),e._cachedFn=t}return t}function qdt(e,t,n,r,i){e.argument,e.argument.type;const s={...i,found:!1,one:!0,results:[],rootQuery:e.argument,scopeElements:[t],shallow:!1};return aY(s,{type:"root",children:t.children}),s.results.length>0}function jdt(){}function pve(e,t,n,r,i){e.argument,e.argument.type;const s={...i,found:!1,one:!0,results:[],rootQuery:e.argument,scopeElements:[t],shallow:!1};return aY(s,t),s.results[0]===t}function Wdt(e,t,n,r,i){return e.argument,e.argument.type,i.language!==""&&i.language!==void 0&&Tdt(i.language,Jk(e.argument.value)).length>0}function Qdt(e,t,n,r,i){return Up(i,e),!!(i.elementCount&&i.elementIndex===i.elementCount-1)}function Vdt(e,t,n,r,i){return Up(i,e),typeof i.typeIndex=="number"&&typeof i.typeCount=="number"&&i.typeIndex===i.typeCount-1}function Gdt(e,t,n,r,i){return!pve(e,t,n,r,i)}function Ydt(e,t,n,r,i){const s=vN(e);return Up(i,e),typeof i.elementIndex=="number"&&s(i.elementIndex)}function Zdt(e,t,n,r,i){const s=vN(e);return Up(i,e),!!(typeof i.elementCount=="number"&&typeof i.elementIndex=="number"&&s(i.elementCount-i.elementIndex-1))}function Xdt(e,t,n,r,i){const s=vN(e);return Up(i,e),typeof i.typeCount=="number"&&typeof i.typeIndex=="number"&&s(i.typeCount-1-i.typeIndex)}function Kdt(e,t,n,r,i){const s=vN(e);return Up(i,e),typeof i.typeIndex=="number"&&s(i.typeIndex)}function Jdt(e,t,n,r,i){return Up(i,e),i.elementCount===1}function eft(e,t,n,r,i){return Up(i,e),i.typeCount===1}function tft(e,t){return!gve(e,t)}function nft(e,t,n,r,i){return!mve(e,t,n,r,i)}function mve(e,t,n,r,i){return t.tagName==="input"||t.tagName==="textarea"?!Ey(t,"readOnly")&&!Ey(t,"disabled"):!!i.editableOrEditingHost}function gve(e,t){return(t.tagName==="input"||t.tagName==="textarea"||t.tagName==="select")&&Ey(t,"required")}function rft(e,t,n,r,i){return!!((!r||r.type==="root")&&i.schema&&(i.schema.space==="html"||i.schema.space==="svg")&&(t.tagName==="html"||t.tagName==="svg"))}function ift(e,t,n,r,i){return i.scopeElements.includes(t)}function bve(e,t){const n=e.children;let r=-1;for(;++r"?"directChild":"descendant";FL(s,c,l)}else e.found=!0,e.results.includes(n)||e.results.push(n)}o.combinator===void 0?FL(s,"descendant",o):o.combinator==="~"&&FL(s,"generalSibling",o)}return s}function hR(e,t){return e&&t&&e.length>0&&t.length>0?[...e,...t]:e&&e.length>0?e:t&&t.length>0?t:oft}function bse(e,t){if(t.type==="element"){const n=t.tagName.toUpperCase(),r=(e.types.get(n)||0)+1;e.count++,e.types.set(n,r)}}function yve(e,t,n,r,i,s){let a={adjacentSibling:void 0,descendant:void 0,directChild:void 0,generalSibling:void 0};const o=bdt(e,n);if(n.type==="element"){let l=e.rootQuery.rules;i&&i!==s&&(l=e.rootQuery.rules.filter(c=>c.combinator===void 0||c.combinator===">"&&i===s)),a=uft(e,hR(t,l),n,r,i)}return"children"in n&&!e.shallow&&!(e.one&&e.found)&&lft(e,a,n,s),o(),a}function cft(e,t,n){const r=dft(e,t);return aY(r,t||void 0),r.results}function dft(e,t,n){return{direction:"ltr",editableOrEditingHost:!1,elementCount:void 0,elementIndex:void 0,found:!1,language:void 0,one:!1,results:[],rootQuery:hdt(e),schema:C1,scopeElements:t?t.type==="root"?t.children:[t]:[],shallow:!1,typeIndex:void 0,typeCount:void 0}}const vve=(e=[],t="")=>(e.forEach(n=>{n.type==="text"?t+=n.value:n.type==="element"&&n.children&&Array.isArray(n.children)&&(t+=vve(n.children))}),t),fft=e=>{const{selector:t,rewrite:n}=e||{};return r=>{if(!(!n||typeof n!="function")){if(t&&typeof t=="string"){const i=cft(t,r);i&&i.length>0&&Tu(r,i,(s,a,o)=>{n(s,a,o)});return}Tu(r,(i,s,a)=>{n(i,s,a)})}}},hft=(e="")=>(e.match(/([^?=&]+)(=([^&]*))/g)||[]).reduce((t,n)=>(t[n.slice(0,n.indexOf("="))]=n.slice(n.indexOf("=")+1),t),{}),pft=(e=[],t)=>{let n=t;for(;n>-1;){if(n--,!e[n])return;if(e[n]&&e[n].value&&e[n].value.replace(/(\n|\s)/g,"")!==""||e[n].type!=="text")return!/^rehype:/.test(e[n].value)||e[n].type!=="comment"?void 0:e[n]}},Sve=(e=[],t,n,r)=>{let i=t;for(;i/,"$2")||"")?void 0:r?Sve(e,i,"pre",r)?void 0:(s.value=(s.value||"").replace(/^(\n|\s)+/,""),s):(s.value=(s.value||"").replace(/^(\n|\s)+/,""),s)}},yse=({value:e=""})=>{const t=hft(e.replace(/^/,"$1").replace(/^rehype:/,""));return Object.keys(t).forEach(n=>{t[n]==="true"&&(t[n]=!0),t[n]==="false"&&(t[n]=!1),typeof t[n]=="string"&&!/^0/.test(t[n])&&!isNaN(+t[n])&&(t[n]=+t[n])}),t},vse=(e,t,n)=>n==="string"?{...e,"data-config":JSON.stringify({...t,rehyp:!0})}:n==="attr"?{...e,...t}:{...e,"data-config":{...t,rehyp:!0}},mft=(e={})=>{const{properties:t="data",codeBlockParames:n=!0}=e;return r=>{Tu(r,"element",(i,s,a)=>{if(n&&i.tagName==="pre"&&i&&Array.isArray(i.children)&&a&&Array.isArray(a.children)&&a.children.length>1){const o=i.children[0];if(o&&o.tagName==="code"&&typeof s=="number"){const l=pft(a.children,s);if(l){const c=yse(l);Object.keys(c).length>0&&(i.properties={...i.properties,"data-type":"rehyp"},o.properties=vse(o.properties,c,t))}}}if(/^(em|strong|b|a|i|p|pre|kbd|blockquote|h(1|2|3|4|5|6)|code|table|img|del|ul|ol)$/.test(i.tagName)&&a&&Array.isArray(a.children)&&typeof s=="number"){const o=Sve(a.children,s,"",n);if(o){const l=yse(o);Object.keys(l).length>0&&(i.properties=vse(i.properties,l,t))}}})}},Ove=-1,SN=0,AI=1,CI=2,oY=3,lY=4,uY=5,cY=6,Eve=7,wve=8,Sse=typeof self=="object"?self:globalThis,gft=(e,t)=>{const n=(i,s)=>(e.set(s,i),i),r=i=>{if(e.has(i))return e.get(i);const[s,a]=t[i];switch(s){case SN:case Ove:return n(a,i);case AI:{const o=n([],i);for(const l of a)o.push(r(l));return o}case CI:{const o=n({},i);for(const[l,c]of a)o[r(l)]=r(c);return o}case oY:return n(new Date(a),i);case lY:{const{source:o,flags:l}=a;return n(new RegExp(o,l),i)}case uY:{const o=n(new Map,i);for(const[l,c]of a)o.set(r(l),r(c));return o}case cY:{const o=n(new Set,i);for(const l of a)o.add(r(l));return o}case Eve:{const{name:o,message:l}=a;return n(new Sse[o](l),i)}case wve:return n(BigInt(a),i);case"BigInt":return n(Object(BigInt(a)),i)}return n(new Sse[s](a),i)};return r},Ose=e=>gft(new Map,e)(0),Jv="",{toString:bft}={},{keys:yft}=Object,Cw=e=>{const t=typeof e;if(t!=="object"||!e)return[SN,t];const n=bft.call(e).slice(8,-1);switch(n){case"Array":return[AI,Jv];case"Object":return[CI,Jv];case"Date":return[oY,Jv];case"RegExp":return[lY,Jv];case"Map":return[uY,Jv];case"Set":return[cY,Jv]}return n.includes("Array")?[AI,n]:n.includes("Error")?[Eve,n]:[CI,n]},l3=([e,t])=>e===SN&&(t==="function"||t==="symbol"),vft=(e,t,n,r)=>{const i=(a,o)=>{const l=r.push(a)-1;return n.set(o,l),l},s=a=>{if(n.has(a))return n.get(a);let[o,l]=Cw(a);switch(o){case SN:{let d=a;switch(l){case"bigint":o=wve,d=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);d=null;break;case"undefined":return i([Ove],a)}return i([o,d],a)}case AI:{if(l)return i([l,[...a]],a);const d=[],f=i([o,d],a);for(const p of a)d.push(s(p));return f}case CI:{if(l)switch(l){case"BigInt":return i([l,a.toString()],a);case"Boolean":case"Number":case"String":return i([l,a.valueOf()],a)}if(t&&"toJSON"in a)return s(a.toJSON());const d=[],f=i([o,d],a);for(const p of yft(a))(e||!l3(Cw(a[p])))&&d.push([s(p),s(a[p])]);return f}case oY:return i([o,a.toISOString()],a);case lY:{const{source:d,flags:f}=a;return i([o,{source:d,flags:f}],a)}case uY:{const d=[],f=i([o,d],a);for(const[p,g]of a)(e||!(l3(Cw(p))||l3(Cw(g))))&&d.push([s(p),s(g)]);return f}case cY:{const d=[],f=i([o,d],a);for(const p of a)(e||!l3(Cw(p)))&&d.push(s(p));return f}}const{message:c}=a;return i([o,{name:l,message:c}],a)};return s},Ese=(e,{json:t,lossy:n}={})=>{const r=[];return vft(!(t||n),!!t,new Map,r)(e),r},wy=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Ose(Ese(e,t)):structuredClone(e):(e,t)=>Ose(Ese(e,t)),wse=/[#.]/g;function Sft(e,t){const n=e||"",r={};let i=0,s,a;for(;i-1&&s<=t.length){let a=0;for(;;){let o=n[a];if(o===void 0){const l=Tse(t,n[a-1]);o=l===-1?t.length+1:l+1,n[a]=o}if(o>s)return{line:a+1,column:s-(a>0?n[a-1]:0)+1,offset:s};a++}}}function i(s){if(s&&typeof s.line=="number"&&typeof s.column=="number"&&!Number.isNaN(s.line)&&!Number.isNaN(s.column)){for(;n.length1?n[s.line-2]:0)+s.column-1;if(a=55296&&e<=57343}function Wft(e){return e>=56320&&e<=57343}function Qft(e,t){return(e-55296)*1024+9216+t}function Rve(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Ive(e){return e>=64976&&e<=65007||jft.has(e)}var Pt;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(Pt=Pt||(Pt={}));const Vft=65536;class Gft{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Vft,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t){const{line:n,col:r,offset:i}=this;return{code:t,startLine:n,endLine:n,startCol:r,endCol:r,startOffset:i,endOffset:i}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(Wft(n))return this.pos++,this._addGap(),Qft(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Ie.EOF;return this._err(Pt.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Ie.EOF;const r=this.html.charCodeAt(n);return r===Ie.CARRIAGE_RETURN?Ie.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Ie.EOF;let t=this.html.charCodeAt(this.pos);return t===Ie.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,Ie.LINE_FEED):t===Ie.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Cve(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===Ie.LINE_FEED||t===Ie.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Rve(t)?this._err(Pt.controlCharacterInInputStream):Ive(t)&&this._err(Pt.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const fg=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Yft=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var $L;const Zft=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Xft=($L=String.fromCodePoint)!==null&&$L!==void 0?$L:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function Kft(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Zft.get(e))!==null&&t!==void 0?t:e}var Go;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Go||(Go={}));const Jft=32;var mp;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(mp||(mp={}));function jB(e){return e>=Go.ZERO&&e<=Go.NINE}function eht(e){return e>=Go.UPPER_A&&e<=Go.UPPER_F||e>=Go.LOWER_A&&e<=Go.LOWER_F}function tht(e){return e>=Go.UPPER_A&&e<=Go.UPPER_Z||e>=Go.LOWER_A&&e<=Go.LOWER_Z||jB(e)}function nht(e){return e===Go.EQUALS||tht(e)}var Wo;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Wo||(Wo={}));var kg;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(kg||(kg={}));class rht{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Wo.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=kg.Strict}startEntity(t){this.decodeMode=t,this.state=Wo.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Wo.EntityStart:return t.charCodeAt(n)===Go.NUM?(this.state=Wo.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Wo.NamedEntity,this.stateNamedEntity(t,n));case Wo.NumericStart:return this.stateNumericStart(t,n);case Wo.NumericDecimal:return this.stateNumericDecimal(t,n);case Wo.NumericHex:return this.stateNumericHex(t,n);case Wo.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|Jft)===Go.LOWER_X?(this.state=Wo.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Wo.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,i){if(n!==r){const s=r-n;this.result=this.result*Math.pow(i,s)+parseInt(t.substr(n,s),i),this.consumed+=s}}stateNumericHex(t,n){const r=n;for(;n>14;for(;n>14,s!==0){if(a===Go.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==kg.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,i=(r[n]&mp.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~mp.VALUE_LENGTH:i[t+1],r),n===3&&this.emitCodePoint(i[t+2],r),r}end(){var t;switch(this.state){case Wo.NamedEntity:return this.result!==0&&(this.decodeMode!==kg.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Wo.NumericDecimal:return this.emitNumericEntity(0,2);case Wo.NumericHex:return this.emitNumericEntity(0,3);case Wo.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Wo.EntityStart:return 0}}}function Nve(e){let t="";const n=new rht(e,r=>t+=Xft(r));return function(i,s){let a=0,o=0;for(;(o=i.indexOf("&",o))>=0;){t+=i.slice(a,o),n.startEntity(s);const c=n.write(i,o+1);if(c<0){a=o+n.end();break}a=o+c,o=c===0?a+1:a}const l=t+i.slice(a);return t="",l}}function Pve(e,t,n,r){const i=(t&mp.BRANCH_LENGTH)>>7,s=t&mp.JUMP_TABLE;if(i===0)return s!==0&&r===s?n:-1;if(s){const l=r-s;return l<0||l>=i?-1:e[n+l]-1}let a=n,o=a+i-1;for(;a<=o;){const l=a+o>>>1,c=e[l];if(cr)o=l-1;else return e[l+i]}return-1}const iht=Nve(fg);Nve(Yft);function Lve(e,t=kg.Legacy){return iht(e,t)}var Kt;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(Kt=Kt||(Kt={}));var i1;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(i1=i1||(i1={}));var Qc;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Qc=Qc||(Qc={}));var Ot;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(Ot=Ot||(Ot={}));var q;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SECTION=94]="SECTION",e[e.SELECT=95]="SELECT",e[e.SOURCE=96]="SOURCE",e[e.SMALL=97]="SMALL",e[e.SPAN=98]="SPAN",e[e.STRIKE=99]="STRIKE",e[e.STRONG=100]="STRONG",e[e.STYLE=101]="STYLE",e[e.SUB=102]="SUB",e[e.SUMMARY=103]="SUMMARY",e[e.SUP=104]="SUP",e[e.TABLE=105]="TABLE",e[e.TBODY=106]="TBODY",e[e.TEMPLATE=107]="TEMPLATE",e[e.TEXTAREA=108]="TEXTAREA",e[e.TFOOT=109]="TFOOT",e[e.TD=110]="TD",e[e.TH=111]="TH",e[e.THEAD=112]="THEAD",e[e.TITLE=113]="TITLE",e[e.TR=114]="TR",e[e.TRACK=115]="TRACK",e[e.TT=116]="TT",e[e.U=117]="U",e[e.UL=118]="UL",e[e.SVG=119]="SVG",e[e.VAR=120]="VAR",e[e.WBR=121]="WBR",e[e.XMP=122]="XMP"})(q=q||(q={}));const sht=new Map([[Ot.A,q.A],[Ot.ADDRESS,q.ADDRESS],[Ot.ANNOTATION_XML,q.ANNOTATION_XML],[Ot.APPLET,q.APPLET],[Ot.AREA,q.AREA],[Ot.ARTICLE,q.ARTICLE],[Ot.ASIDE,q.ASIDE],[Ot.B,q.B],[Ot.BASE,q.BASE],[Ot.BASEFONT,q.BASEFONT],[Ot.BGSOUND,q.BGSOUND],[Ot.BIG,q.BIG],[Ot.BLOCKQUOTE,q.BLOCKQUOTE],[Ot.BODY,q.BODY],[Ot.BR,q.BR],[Ot.BUTTON,q.BUTTON],[Ot.CAPTION,q.CAPTION],[Ot.CENTER,q.CENTER],[Ot.CODE,q.CODE],[Ot.COL,q.COL],[Ot.COLGROUP,q.COLGROUP],[Ot.DD,q.DD],[Ot.DESC,q.DESC],[Ot.DETAILS,q.DETAILS],[Ot.DIALOG,q.DIALOG],[Ot.DIR,q.DIR],[Ot.DIV,q.DIV],[Ot.DL,q.DL],[Ot.DT,q.DT],[Ot.EM,q.EM],[Ot.EMBED,q.EMBED],[Ot.FIELDSET,q.FIELDSET],[Ot.FIGCAPTION,q.FIGCAPTION],[Ot.FIGURE,q.FIGURE],[Ot.FONT,q.FONT],[Ot.FOOTER,q.FOOTER],[Ot.FOREIGN_OBJECT,q.FOREIGN_OBJECT],[Ot.FORM,q.FORM],[Ot.FRAME,q.FRAME],[Ot.FRAMESET,q.FRAMESET],[Ot.H1,q.H1],[Ot.H2,q.H2],[Ot.H3,q.H3],[Ot.H4,q.H4],[Ot.H5,q.H5],[Ot.H6,q.H6],[Ot.HEAD,q.HEAD],[Ot.HEADER,q.HEADER],[Ot.HGROUP,q.HGROUP],[Ot.HR,q.HR],[Ot.HTML,q.HTML],[Ot.I,q.I],[Ot.IMG,q.IMG],[Ot.IMAGE,q.IMAGE],[Ot.INPUT,q.INPUT],[Ot.IFRAME,q.IFRAME],[Ot.KEYGEN,q.KEYGEN],[Ot.LABEL,q.LABEL],[Ot.LI,q.LI],[Ot.LINK,q.LINK],[Ot.LISTING,q.LISTING],[Ot.MAIN,q.MAIN],[Ot.MALIGNMARK,q.MALIGNMARK],[Ot.MARQUEE,q.MARQUEE],[Ot.MATH,q.MATH],[Ot.MENU,q.MENU],[Ot.META,q.META],[Ot.MGLYPH,q.MGLYPH],[Ot.MI,q.MI],[Ot.MO,q.MO],[Ot.MN,q.MN],[Ot.MS,q.MS],[Ot.MTEXT,q.MTEXT],[Ot.NAV,q.NAV],[Ot.NOBR,q.NOBR],[Ot.NOFRAMES,q.NOFRAMES],[Ot.NOEMBED,q.NOEMBED],[Ot.NOSCRIPT,q.NOSCRIPT],[Ot.OBJECT,q.OBJECT],[Ot.OL,q.OL],[Ot.OPTGROUP,q.OPTGROUP],[Ot.OPTION,q.OPTION],[Ot.P,q.P],[Ot.PARAM,q.PARAM],[Ot.PLAINTEXT,q.PLAINTEXT],[Ot.PRE,q.PRE],[Ot.RB,q.RB],[Ot.RP,q.RP],[Ot.RT,q.RT],[Ot.RTC,q.RTC],[Ot.RUBY,q.RUBY],[Ot.S,q.S],[Ot.SCRIPT,q.SCRIPT],[Ot.SECTION,q.SECTION],[Ot.SELECT,q.SELECT],[Ot.SOURCE,q.SOURCE],[Ot.SMALL,q.SMALL],[Ot.SPAN,q.SPAN],[Ot.STRIKE,q.STRIKE],[Ot.STRONG,q.STRONG],[Ot.STYLE,q.STYLE],[Ot.SUB,q.SUB],[Ot.SUMMARY,q.SUMMARY],[Ot.SUP,q.SUP],[Ot.TABLE,q.TABLE],[Ot.TBODY,q.TBODY],[Ot.TEMPLATE,q.TEMPLATE],[Ot.TEXTAREA,q.TEXTAREA],[Ot.TFOOT,q.TFOOT],[Ot.TD,q.TD],[Ot.TH,q.TH],[Ot.THEAD,q.THEAD],[Ot.TITLE,q.TITLE],[Ot.TR,q.TR],[Ot.TRACK,q.TRACK],[Ot.TT,q.TT],[Ot.U,q.U],[Ot.UL,q.UL],[Ot.SVG,q.SVG],[Ot.VAR,q.VAR],[Ot.WBR,q.WBR],[Ot.XMP,q.XMP]]);function a2(e){var t;return(t=sht.get(e))!==null&&t!==void 0?t:q.UNKNOWN}const hn=q,aht={[Kt.HTML]:new Set([hn.ADDRESS,hn.APPLET,hn.AREA,hn.ARTICLE,hn.ASIDE,hn.BASE,hn.BASEFONT,hn.BGSOUND,hn.BLOCKQUOTE,hn.BODY,hn.BR,hn.BUTTON,hn.CAPTION,hn.CENTER,hn.COL,hn.COLGROUP,hn.DD,hn.DETAILS,hn.DIR,hn.DIV,hn.DL,hn.DT,hn.EMBED,hn.FIELDSET,hn.FIGCAPTION,hn.FIGURE,hn.FOOTER,hn.FORM,hn.FRAME,hn.FRAMESET,hn.H1,hn.H2,hn.H3,hn.H4,hn.H5,hn.H6,hn.HEAD,hn.HEADER,hn.HGROUP,hn.HR,hn.HTML,hn.IFRAME,hn.IMG,hn.INPUT,hn.LI,hn.LINK,hn.LISTING,hn.MAIN,hn.MARQUEE,hn.MENU,hn.META,hn.NAV,hn.NOEMBED,hn.NOFRAMES,hn.NOSCRIPT,hn.OBJECT,hn.OL,hn.P,hn.PARAM,hn.PLAINTEXT,hn.PRE,hn.SCRIPT,hn.SECTION,hn.SELECT,hn.SOURCE,hn.STYLE,hn.SUMMARY,hn.TABLE,hn.TBODY,hn.TD,hn.TEMPLATE,hn.TEXTAREA,hn.TFOOT,hn.TH,hn.THEAD,hn.TITLE,hn.TR,hn.TRACK,hn.UL,hn.WBR,hn.XMP]),[Kt.MATHML]:new Set([hn.MI,hn.MO,hn.MN,hn.MS,hn.MTEXT,hn.ANNOTATION_XML]),[Kt.SVG]:new Set([hn.TITLE,hn.FOREIGN_OBJECT,hn.DESC]),[Kt.XLINK]:new Set,[Kt.XML]:new Set,[Kt.XMLNS]:new Set};function Mve(e){return e===hn.H1||e===hn.H2||e===hn.H3||e===hn.H4||e===hn.H5||e===hn.H6}Ot.STYLE,Ot.SCRIPT,Ot.XMP,Ot.IFRAME,Ot.NOEMBED,Ot.NOFRAMES,Ot.PLAINTEXT;const oht=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var Me;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",e[e.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",e[e.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",e[e.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",e[e.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",e[e.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"})(Me||(Me={}));const Xa={DATA:Me.DATA,RCDATA:Me.RCDATA,RAWTEXT:Me.RAWTEXT,SCRIPT_DATA:Me.SCRIPT_DATA,PLAINTEXT:Me.PLAINTEXT,CDATA_SECTION:Me.CDATA_SECTION};function PT(e){return e>=Ie.DIGIT_0&&e<=Ie.DIGIT_9}function eT(e){return e>=Ie.LATIN_CAPITAL_A&&e<=Ie.LATIN_CAPITAL_Z}function lht(e){return e>=Ie.LATIN_SMALL_A&&e<=Ie.LATIN_SMALL_Z}function hg(e){return lht(e)||eT(e)}function WB(e){return hg(e)||PT(e)}function Fve(e){return e>=Ie.LATIN_CAPITAL_A&&e<=Ie.LATIN_CAPITAL_F}function $ve(e){return e>=Ie.LATIN_SMALL_A&&e<=Ie.LATIN_SMALL_F}function uht(e){return PT(e)||Fve(e)||$ve(e)}function u3(e){return e+32}function Bve(e){return e===Ie.SPACE||e===Ie.LINE_FEED||e===Ie.TABULATION||e===Ie.FORM_FEED}function cht(e){return e===Ie.EQUALS_SIGN||WB(e)}function _se(e){return Bve(e)||e===Ie.SOLIDUS||e===Ie.GREATER_THAN_SIGN}let dht=class{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=Me.DATA,this.returnState=Me.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Gft(n),this.currentLocation=this.getCurrentLocation(-1)}_err(t){var n,r;(r=(n=this.handler).onParseError)===null||r===void 0||r.call(n,this.preprocessor.getError(t))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(t){this.consumedAfterSnapshot-=t,this.preprocessor.retreat(t)}_reconsumeInState(t,n){this.state=t,this._callState(n)}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n0&&this._err(Pt.endTagWithAttributes),t.selfClosing&&this._err(Pt.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case ii.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case ii.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case ii.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:ii.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==t)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=n;return}this._createCharacterToken(t,n)}_emitCodePoint(t){const n=Bve(t)?ii.WHITESPACE_CHARACTER:t===Ie.NULL?ii.NULL_CHARACTER:ii.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(ii.CHARACTER,t)}_matchNamedCharacterReference(t){let n=null,r=0,i=!1;for(let s=0,a=fg[0];s>=0&&(s=Pve(fg,a,s+1,t),!(s<0));t=this._consume()){r+=1,a=fg[s];const o=a&mp.VALUE_LENGTH;if(o){const l=(o>>14)-1;if(t!==Ie.SEMICOLON&&this._isCharacterReferenceInAttribute()&&cht(this.preprocessor.peek(1))?(n=[Ie.AMPERSAND],s+=l):(n=l===0?[fg[s]&~mp.VALUE_LENGTH]:l===1?[fg[++s]]:[fg[++s],fg[++s]],r=0,i=t!==Ie.SEMICOLON),l===0){this._consume();break}}}return this._unconsume(r),i&&!this.preprocessor.endOfChunkHit&&this._err(Pt.missingSemicolonAfterCharacterReference),this._unconsume(1),n}_isCharacterReferenceInAttribute(){return this.returnState===Me.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===Me.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===Me.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case Me.DATA:{this._stateData(t);break}case Me.RCDATA:{this._stateRcdata(t);break}case Me.RAWTEXT:{this._stateRawtext(t);break}case Me.SCRIPT_DATA:{this._stateScriptData(t);break}case Me.PLAINTEXT:{this._statePlaintext(t);break}case Me.TAG_OPEN:{this._stateTagOpen(t);break}case Me.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case Me.TAG_NAME:{this._stateTagName(t);break}case Me.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case Me.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case Me.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case Me.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case Me.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case Me.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case Me.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case Me.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case Me.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case Me.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case Me.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case Me.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case Me.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case Me.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case Me.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case Me.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case Me.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case Me.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case Me.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case Me.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case Me.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case Me.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case Me.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case Me.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case Me.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case Me.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case Me.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case Me.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case Me.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case Me.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case Me.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case Me.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case Me.BOGUS_COMMENT:{this._stateBogusComment(t);break}case Me.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case Me.COMMENT_START:{this._stateCommentStart(t);break}case Me.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case Me.COMMENT:{this._stateComment(t);break}case Me.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case Me.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case Me.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case Me.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case Me.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case Me.COMMENT_END:{this._stateCommentEnd(t);break}case Me.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case Me.DOCTYPE:{this._stateDoctype(t);break}case Me.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case Me.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case Me.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case Me.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case Me.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case Me.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case Me.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case Me.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case Me.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case Me.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case Me.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case Me.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case Me.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case Me.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case Me.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case Me.CDATA_SECTION:{this._stateCdataSection(t);break}case Me.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case Me.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case Me.CHARACTER_REFERENCE:{this._stateCharacterReference(t);break}case Me.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(t);break}case Me.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}case Me.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(t);break}case Me.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(t);break}case Me.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(t);break}case Me.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(t);break}case Me.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case Ie.LESS_THAN_SIGN:{this.state=Me.TAG_OPEN;break}case Ie.AMPERSAND:{this.returnState=Me.DATA,this.state=Me.CHARACTER_REFERENCE;break}case Ie.NULL:{this._err(Pt.unexpectedNullCharacter),this._emitCodePoint(t);break}case Ie.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case Ie.AMPERSAND:{this.returnState=Me.RCDATA,this.state=Me.CHARACTER_REFERENCE;break}case Ie.LESS_THAN_SIGN:{this.state=Me.RCDATA_LESS_THAN_SIGN;break}case Ie.NULL:{this._err(Pt.unexpectedNullCharacter),this._emitChars(sa);break}case Ie.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case Ie.LESS_THAN_SIGN:{this.state=Me.RAWTEXT_LESS_THAN_SIGN;break}case Ie.NULL:{this._err(Pt.unexpectedNullCharacter),this._emitChars(sa);break}case Ie.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case Ie.LESS_THAN_SIGN:{this.state=Me.SCRIPT_DATA_LESS_THAN_SIGN;break}case Ie.NULL:{this._err(Pt.unexpectedNullCharacter),this._emitChars(sa);break}case Ie.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case Ie.NULL:{this._err(Pt.unexpectedNullCharacter),this._emitChars(sa);break}case Ie.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(hg(t))this._createStartTagToken(),this.state=Me.TAG_NAME,this._stateTagName(t);else switch(t){case Ie.EXCLAMATION_MARK:{this.state=Me.MARKUP_DECLARATION_OPEN;break}case Ie.SOLIDUS:{this.state=Me.END_TAG_OPEN;break}case Ie.QUESTION_MARK:{this._err(Pt.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=Me.BOGUS_COMMENT,this._stateBogusComment(t);break}case Ie.EOF:{this._err(Pt.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(Pt.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=Me.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(hg(t))this._createEndTagToken(),this.state=Me.TAG_NAME,this._stateTagName(t);else switch(t){case Ie.GREATER_THAN_SIGN:{this._err(Pt.missingEndTagName),this.state=Me.DATA;break}case Ie.EOF:{this._err(Pt.eofBeforeTagName),this._emitChars("");break}case Ie.NULL:{this._err(Pt.unexpectedNullCharacter),this.state=Me.SCRIPT_DATA_ESCAPED,this._emitChars(sa);break}case Ie.EOF:{this._err(Pt.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Me.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===Ie.SOLIDUS?this.state=Me.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:hg(t)?(this._emitChars("<"),this.state=Me.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=Me.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){hg(t)?(this.state=Me.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("");break}case Ie.NULL:{this._err(Pt.unexpectedNullCharacter),this.state=Me.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(sa);break}case Ie.EOF:{this._err(Pt.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=Me.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===Ie.SOLIDUS?(this.state=Me.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=Me.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(qu.SCRIPT,!1)&&_se(this.preprocessor.peek(qu.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n1114111)this._err(Pt.characterReferenceOutsideUnicodeRange),this.charRefCode=Ie.REPLACEMENT_CHARACTER;else if(Cve(this.charRefCode))this._err(Pt.surrogateCharacterReference),this.charRefCode=Ie.REPLACEMENT_CHARACTER;else if(Ive(this.charRefCode))this._err(Pt.noncharacterCharacterReference);else if(Rve(this.charRefCode)||this.charRefCode===Ie.CARRIAGE_RETURN){this._err(Pt.controlCharacterReference);const n=oht.get(this.charRefCode);n!==void 0&&(this.charRefCode=n)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,t)}};const Uve=new Set([q.DD,q.DT,q.LI,q.OPTGROUP,q.OPTION,q.P,q.RB,q.RP,q.RT,q.RTC]),Ase=new Set([...Uve,q.CAPTION,q.COLGROUP,q.TBODY,q.TD,q.TFOOT,q.TH,q.THEAD,q.TR]),c3=new Map([[q.APPLET,Kt.HTML],[q.CAPTION,Kt.HTML],[q.HTML,Kt.HTML],[q.MARQUEE,Kt.HTML],[q.OBJECT,Kt.HTML],[q.TABLE,Kt.HTML],[q.TD,Kt.HTML],[q.TEMPLATE,Kt.HTML],[q.TH,Kt.HTML],[q.ANNOTATION_XML,Kt.MATHML],[q.MI,Kt.MATHML],[q.MN,Kt.MATHML],[q.MO,Kt.MATHML],[q.MS,Kt.MATHML],[q.MTEXT,Kt.MATHML],[q.DESC,Kt.SVG],[q.FOREIGN_OBJECT,Kt.SVG],[q.TITLE,Kt.SVG]]),fht=[q.H1,q.H2,q.H3,q.H4,q.H5,q.H6],hht=[q.TR,q.TEMPLATE,q.HTML],pht=[q.TBODY,q.TFOOT,q.THEAD,q.TEMPLATE,q.HTML],mht=[q.TABLE,q.TEMPLATE,q.HTML],ght=[q.TD,q.TH];class bht{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=q.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===q.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Kt.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const i=this._indexOf(t)+1;this.items.splice(i,0,n),this.tagIDs.splice(i,0,r),this.stackTop++,i===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,i===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==Kt.HTML);this.shortenToLength(n<0?0:n)}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop=0;r--)if(t.includes(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(mht,Kt.HTML)}clearBackToTableBodyContext(){this.clearBackTo(pht,Kt.HTML)}clearBackToTableRowContext(){this.clearBackTo(hht,Kt.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===q.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===q.HTML}hasInScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===Kt.HTML)return!0;if(c3.get(r)===i)return!1}return!0}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(Mve(n)&&r===Kt.HTML)return!0;if(c3.get(n)===r)return!1}return!0}hasInListItemScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===Kt.HTML)return!0;if((r===q.UL||r===q.OL)&&i===Kt.HTML||c3.get(r)===i)return!1}return!0}hasInButtonScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===Kt.HTML)return!0;if(r===q.BUTTON&&i===Kt.HTML||c3.get(r)===i)return!1}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];if(this.treeAdapter.getNamespaceURI(this.items[n])===Kt.HTML){if(r===t)return!0;if(r===q.TABLE||r===q.TEMPLATE||r===q.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===Kt.HTML){if(n===q.TBODY||n===q.THEAD||n===q.TFOOT)return!0;if(n===q.TABLE||n===q.HTML)return!1}}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];if(this.treeAdapter.getNamespaceURI(this.items[n])===Kt.HTML){if(r===t)return!0;if(r!==q.OPTION&&r!==q.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;Uve.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Ase.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&Ase.has(this.currentTagId);)this.pop()}}const BL=3;var Kf;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Kf=Kf||(Kf={}));const Cse={type:Kf.Marker};class yht{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],i=n.length,s=this.treeAdapter.getTagName(t),a=this.treeAdapter.getNamespaceURI(t);for(let o=0;o[a.name,a.value]));let s=0;for(let a=0;ai.get(l.name)===l.value)&&(s+=1,s>=BL&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(Cse)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Kf.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Kf.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n>=0&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(Cse);t>=0?this.entries.splice(0,t+1):this.entries.length=0}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Kf.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Kf.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Kf.Element&&n.element===t)}}function Rse(e){return{nodeName:"#text",value:e,parentNode:null}}const dS={createDocument(){return{nodeName:"#document",mode:Qc.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const i=e.childNodes.find(s=>s.nodeName==="#documentType");if(i)i.name=t,i.publicId=n,i.systemId=r;else{const s={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};dS.appendChild(e,s)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(dS.isTextNode(n)){n.value+=t;return}}dS.appendChild(e,Rse(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&dS.isTextNode(r)?r.value+=t:dS.insertBefore(e,Rse(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;re.startsWith(n))}function xht(e){return e.name===zve&&e.publicId===null&&(e.systemId===null||e.systemId===vht)}function Tht(e){if(e.name!==zve)return Qc.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===Sht)return Qc.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),Eht.has(n))return Qc.QUIRKS;let r=t===null?Oht:Hve;if(Ise(n,r))return Qc.QUIRKS;if(r=t===null?qve:wht,Ise(n,r))return Qc.LIMITED_QUIRKS}return Qc.NO_QUIRKS}const Dse={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},kht="definitionurl",_ht="definitionURL",Aht=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),Cht=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Kt.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Kt.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Kt.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Kt.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Kt.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Kt.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Kt.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:Kt.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:Kt.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Kt.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Kt.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Kt.XMLNS}]]),Rht=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),Iht=new Set([q.B,q.BIG,q.BLOCKQUOTE,q.BODY,q.BR,q.CENTER,q.CODE,q.DD,q.DIV,q.DL,q.DT,q.EM,q.EMBED,q.H1,q.H2,q.H3,q.H4,q.H5,q.H6,q.HEAD,q.HR,q.I,q.IMG,q.LI,q.LISTING,q.MENU,q.META,q.NOBR,q.OL,q.P,q.PRE,q.RUBY,q.S,q.SMALL,q.SPAN,q.STRONG,q.STRIKE,q.SUB,q.SUP,q.TABLE,q.TT,q.U,q.UL,q.VAR]);function Dht(e){const t=e.tagID;return t===q.FONT&&e.attrs.some(({name:r})=>r===i1.COLOR||r===i1.SIZE||r===i1.FACE)||Iht.has(t)}function jve(e){for(let t=0;t0&&this._setContextModes(t,n)}onItemPop(t,n){var r,i;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(i=(r=this.treeAdapter).onItemPop)===null||i===void 0||i.call(r,t,this.openElements.current),n){let s,a;this.openElements.stackTop===0&&this.fragmentContext?(s=this.fragmentContext,a=this.fragmentContextID):{current:s,currentTagId:a}=this.openElements,this._setContextModes(s,a)}}_setContextModes(t,n){const r=t===this.document||this.treeAdapter.getNamespaceURI(t)===Kt.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,Kt.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=Ye.TEXT}switchToPlaintextParsing(){this.insertionMode=Ye.TEXT,this.originalInsertionMode=Ye.IN_BODY,this.tokenizer.state=Xa.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===Ot.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==Kt.HTML))switch(this.fragmentContextID){case q.TITLE:case q.TEXTAREA:{this.tokenizer.state=Xa.RCDATA;break}case q.STYLE:case q.XMP:case q.IFRAME:case q.NOEMBED:case q.NOFRAMES:case q.NOSCRIPT:{this.tokenizer.state=Xa.RAWTEXT;break}case q.SCRIPT:{this.tokenizer.state=Xa.SCRIPT_DATA;break}case q.PLAINTEXT:{this.tokenizer.state=Xa.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",i=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,i),t.location){const a=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));a&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,Kt.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,Kt.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(Ot.HTML,Kt.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,q.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const i=this.treeAdapter.getChildNodes(n),s=r?i.lastIndexOf(r):i.length,a=i[s-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){const{endLine:l,endCol:c,endOffset:d}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:l,endCol:c,endOffset:d})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,i=this.treeAdapter.getTagName(t),s=n.type===ii.END_TAG&&i===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,s)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===q.SVG&&this.treeAdapter.getTagName(n)===Ot.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===Kt.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===q.MGLYPH||t.tagID===q.MALIGNMARK)&&!this._isIntegrationPoint(r,n,Kt.HTML)}_processToken(t){switch(t.type){case ii.CHARACTER:{this.onCharacter(t);break}case ii.NULL_CHARACTER:{this.onNullCharacter(t);break}case ii.COMMENT:{this.onComment(t);break}case ii.DOCTYPE:{this.onDoctype(t);break}case ii.START_TAG:{this._processStartTag(t);break}case ii.END_TAG:{this.onEndTag(t);break}case ii.EOF:{this.onEof(t);break}case ii.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const i=this.treeAdapter.getNamespaceURI(n),s=this.treeAdapter.getAttrList(n);return Mht(t,i,s,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(i=>i.type===Kf.Marker||this.openElements.contains(i.element)),r=n<0?t-1:n-1;for(let i=r;i>=0;i--){const s=this.activeFormattingElements.entries[i];this._insertElement(s.token,this.treeAdapter.getNamespaceURI(s.element)),s.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Ye.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(q.P),this.openElements.popUntilTagNamePopped(q.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case q.TR:{this.insertionMode=Ye.IN_ROW;return}case q.TBODY:case q.THEAD:case q.TFOOT:{this.insertionMode=Ye.IN_TABLE_BODY;return}case q.CAPTION:{this.insertionMode=Ye.IN_CAPTION;return}case q.COLGROUP:{this.insertionMode=Ye.IN_COLUMN_GROUP;return}case q.TABLE:{this.insertionMode=Ye.IN_TABLE;return}case q.BODY:{this.insertionMode=Ye.IN_BODY;return}case q.FRAMESET:{this.insertionMode=Ye.IN_FRAMESET;return}case q.SELECT:{this._resetInsertionModeForSelect(t);return}case q.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case q.HTML:{this.insertionMode=this.headElement?Ye.AFTER_HEAD:Ye.BEFORE_HEAD;return}case q.TD:case q.TH:{if(t>0){this.insertionMode=Ye.IN_CELL;return}break}case q.HEAD:{if(t>0){this.insertionMode=Ye.IN_HEAD;return}break}}this.insertionMode=Ye.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===q.TEMPLATE)break;if(r===q.TABLE){this.insertionMode=Ye.IN_SELECT_IN_TABLE;return}}this.insertionMode=Ye.IN_SELECT}_isElementCausesFosterParenting(t){return Qve.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case q.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===Kt.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case q.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return aht[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){g0t(this,t);return}switch(this.insertionMode){case Ye.INITIAL:{Rw(this,t);break}case Ye.BEFORE_HTML:{LT(this,t);break}case Ye.BEFORE_HEAD:{MT(this,t);break}case Ye.IN_HEAD:{FT(this,t);break}case Ye.IN_HEAD_NO_SCRIPT:{$T(this,t);break}case Ye.AFTER_HEAD:{BT(this,t);break}case Ye.IN_BODY:case Ye.IN_CAPTION:case Ye.IN_CELL:case Ye.IN_TEMPLATE:{Gve(this,t);break}case Ye.TEXT:case Ye.IN_SELECT:case Ye.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case Ye.IN_TABLE:case Ye.IN_TABLE_BODY:case Ye.IN_ROW:{UL(this,t);break}case Ye.IN_TABLE_TEXT:{eSe(this,t);break}case Ye.IN_COLUMN_GROUP:{RI(this,t);break}case Ye.AFTER_BODY:{II(this,t);break}case Ye.AFTER_AFTER_BODY:{mR(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){m0t(this,t);return}switch(this.insertionMode){case Ye.INITIAL:{Rw(this,t);break}case Ye.BEFORE_HTML:{LT(this,t);break}case Ye.BEFORE_HEAD:{MT(this,t);break}case Ye.IN_HEAD:{FT(this,t);break}case Ye.IN_HEAD_NO_SCRIPT:{$T(this,t);break}case Ye.AFTER_HEAD:{BT(this,t);break}case Ye.TEXT:{this._insertCharacters(t);break}case Ye.IN_TABLE:case Ye.IN_TABLE_BODY:case Ye.IN_ROW:{UL(this,t);break}case Ye.IN_COLUMN_GROUP:{RI(this,t);break}case Ye.AFTER_BODY:{II(this,t);break}case Ye.AFTER_AFTER_BODY:{mR(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){QB(this,t);return}switch(this.insertionMode){case Ye.INITIAL:case Ye.BEFORE_HTML:case Ye.BEFORE_HEAD:case Ye.IN_HEAD:case Ye.IN_HEAD_NO_SCRIPT:case Ye.AFTER_HEAD:case Ye.IN_BODY:case Ye.IN_TABLE:case Ye.IN_CAPTION:case Ye.IN_COLUMN_GROUP:case Ye.IN_TABLE_BODY:case Ye.IN_ROW:case Ye.IN_CELL:case Ye.IN_SELECT:case Ye.IN_SELECT_IN_TABLE:case Ye.IN_TEMPLATE:case Ye.IN_FRAMESET:case Ye.AFTER_FRAMESET:{QB(this,t);break}case Ye.IN_TABLE_TEXT:{Iw(this,t);break}case Ye.AFTER_BODY:{Vht(this,t);break}case Ye.AFTER_AFTER_BODY:case Ye.AFTER_AFTER_FRAMESET:{Ght(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case Ye.INITIAL:{Yht(this,t);break}case Ye.BEFORE_HEAD:case Ye.IN_HEAD:case Ye.IN_HEAD_NO_SCRIPT:case Ye.AFTER_HEAD:{this._err(t,Pt.misplacedDoctype);break}case Ye.IN_TABLE_TEXT:{Iw(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,Pt.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?b0t(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case Ye.INITIAL:{Rw(this,t);break}case Ye.BEFORE_HTML:{Zht(this,t);break}case Ye.BEFORE_HEAD:{Kht(this,t);break}case Ye.IN_HEAD:{Th(this,t);break}case Ye.IN_HEAD_NO_SCRIPT:{tpt(this,t);break}case Ye.AFTER_HEAD:{rpt(this,t);break}case Ye.IN_BODY:{Zl(this,t);break}case Ye.IN_TABLE:{fE(this,t);break}case Ye.IN_TABLE_TEXT:{Iw(this,t);break}case Ye.IN_CAPTION:{Jpt(this,t);break}case Ye.IN_COLUMN_GROUP:{gY(this,t);break}case Ye.IN_TABLE_BODY:{wN(this,t);break}case Ye.IN_ROW:{xN(this,t);break}case Ye.IN_CELL:{n0t(this,t);break}case Ye.IN_SELECT:{rSe(this,t);break}case Ye.IN_SELECT_IN_TABLE:{i0t(this,t);break}case Ye.IN_TEMPLATE:{a0t(this,t);break}case Ye.AFTER_BODY:{l0t(this,t);break}case Ye.IN_FRAMESET:{u0t(this,t);break}case Ye.AFTER_FRAMESET:{d0t(this,t);break}case Ye.AFTER_AFTER_BODY:{h0t(this,t);break}case Ye.AFTER_AFTER_FRAMESET:{p0t(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?y0t(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case Ye.INITIAL:{Rw(this,t);break}case Ye.BEFORE_HTML:{Xht(this,t);break}case Ye.BEFORE_HEAD:{Jht(this,t);break}case Ye.IN_HEAD:{ept(this,t);break}case Ye.IN_HEAD_NO_SCRIPT:{npt(this,t);break}case Ye.AFTER_HEAD:{ipt(this,t);break}case Ye.IN_BODY:{EN(this,t);break}case Ye.TEXT:{qpt(this,t);break}case Ye.IN_TABLE:{t_(this,t);break}case Ye.IN_TABLE_TEXT:{Iw(this,t);break}case Ye.IN_CAPTION:{e0t(this,t);break}case Ye.IN_COLUMN_GROUP:{t0t(this,t);break}case Ye.IN_TABLE_BODY:{VB(this,t);break}case Ye.IN_ROW:{nSe(this,t);break}case Ye.IN_CELL:{r0t(this,t);break}case Ye.IN_SELECT:{iSe(this,t);break}case Ye.IN_SELECT_IN_TABLE:{s0t(this,t);break}case Ye.IN_TEMPLATE:{o0t(this,t);break}case Ye.AFTER_BODY:{aSe(this,t);break}case Ye.IN_FRAMESET:{c0t(this,t);break}case Ye.AFTER_FRAMESET:{f0t(this,t);break}case Ye.AFTER_AFTER_BODY:{mR(this,t);break}}}onEof(t){switch(this.insertionMode){case Ye.INITIAL:{Rw(this,t);break}case Ye.BEFORE_HTML:{LT(this,t);break}case Ye.BEFORE_HEAD:{MT(this,t);break}case Ye.IN_HEAD:{FT(this,t);break}case Ye.IN_HEAD_NO_SCRIPT:{$T(this,t);break}case Ye.AFTER_HEAD:{BT(this,t);break}case Ye.IN_BODY:case Ye.IN_TABLE:case Ye.IN_CAPTION:case Ye.IN_COLUMN_GROUP:case Ye.IN_TABLE_BODY:case Ye.IN_ROW:case Ye.IN_CELL:case Ye.IN_SELECT:case Ye.IN_SELECT_IN_TABLE:{Kve(this,t);break}case Ye.TEXT:{jpt(this,t);break}case Ye.IN_TABLE_TEXT:{Iw(this,t);break}case Ye.IN_TEMPLATE:{sSe(this,t);break}case Ye.AFTER_BODY:case Ye.IN_FRAMESET:case Ye.AFTER_FRAMESET:case Ye.AFTER_AFTER_BODY:case Ye.AFTER_AFTER_FRAMESET:{mY(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===Ie.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case Ye.IN_HEAD:case Ye.IN_HEAD_NO_SCRIPT:case Ye.AFTER_HEAD:case Ye.TEXT:case Ye.IN_COLUMN_GROUP:case Ye.IN_SELECT:case Ye.IN_SELECT_IN_TABLE:case Ye.IN_FRAMESET:case Ye.AFTER_FRAMESET:{this._insertCharacters(t);break}case Ye.IN_BODY:case Ye.IN_CAPTION:case Ye.IN_CELL:case Ye.IN_TEMPLATE:case Ye.AFTER_BODY:case Ye.AFTER_AFTER_BODY:case Ye.AFTER_AFTER_FRAMESET:{Vve(this,t);break}case Ye.IN_TABLE:case Ye.IN_TABLE_BODY:case Ye.IN_ROW:{UL(this,t);break}case Ye.IN_TABLE_TEXT:{Jve(this,t);break}}}};function zht(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Xve(e,t),n}function Hht(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}function qht(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let s=0,a=i;a!==n;s++,a=i){i=e.openElements.getCommonAncestor(a);const o=e.activeFormattingElements.getElementEntry(a),l=o&&s>=Bht;!o||l?(l&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(a)):(a=jht(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function jht(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function Wht(e,t,n){const r=e.treeAdapter.getTagName(t),i=a2(r);if(e._isElementCausesFosterParenting(i))e._fosterParentElement(n);else{const s=e.treeAdapter.getNamespaceURI(t);i===q.TEMPLATE&&s===Kt.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function Qht(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,s=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,s),e.treeAdapter.appendChild(t,s),e.activeFormattingElements.insertElementAfterBookmark(s,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,s,i.tagID)}function pY(e,t){for(let n=0;n<$ht;n++){const r=zht(e,t);if(!r)break;const i=Hht(e,r);if(!i)break;e.activeFormattingElements.bookmark=r;const s=qht(e,i,r.element),a=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(s),a&&Wht(e,a,s),Qht(e,i,r)}}function QB(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function Vht(e,t){e._appendCommentNode(t,e.openElements.items[0])}function Ght(e,t){e._appendCommentNode(t,e.document)}function mY(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],i=e.treeAdapter.getNodeSourceCodeLocation(r);if(i&&!i.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const s=e.openElements.items[1],a=e.treeAdapter.getNodeSourceCodeLocation(s);a&&!a.endTag&&e._setEndLocation(s,t)}}}}function Yht(e,t){e._setDocumentType(t);const n=t.forceQuirks?Qc.QUIRKS:Tht(t);xht(t)||e._err(t,Pt.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=Ye.BEFORE_HTML}function Rw(e,t){e._err(t,Pt.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Qc.QUIRKS),e.insertionMode=Ye.BEFORE_HTML,e._processToken(t)}function Zht(e,t){t.tagID===q.HTML?(e._insertElement(t,Kt.HTML),e.insertionMode=Ye.BEFORE_HEAD):LT(e,t)}function Xht(e,t){const n=t.tagID;(n===q.HTML||n===q.HEAD||n===q.BODY||n===q.BR)&<(e,t)}function LT(e,t){e._insertFakeRootElement(),e.insertionMode=Ye.BEFORE_HEAD,e._processToken(t)}function Kht(e,t){switch(t.tagID){case q.HTML:{Zl(e,t);break}case q.HEAD:{e._insertElement(t,Kt.HTML),e.headElement=e.openElements.current,e.insertionMode=Ye.IN_HEAD;break}default:MT(e,t)}}function Jht(e,t){const n=t.tagID;n===q.HEAD||n===q.BODY||n===q.HTML||n===q.BR?MT(e,t):e._err(t,Pt.endTagWithoutMatchingOpenElement)}function MT(e,t){e._insertFakeElement(Ot.HEAD,q.HEAD),e.headElement=e.openElements.current,e.insertionMode=Ye.IN_HEAD,e._processToken(t)}function Th(e,t){switch(t.tagID){case q.HTML:{Zl(e,t);break}case q.BASE:case q.BASEFONT:case q.BGSOUND:case q.LINK:case q.META:{e._appendElement(t,Kt.HTML),t.ackSelfClosing=!0;break}case q.TITLE:{e._switchToTextParsing(t,Xa.RCDATA);break}case q.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Xa.RAWTEXT):(e._insertElement(t,Kt.HTML),e.insertionMode=Ye.IN_HEAD_NO_SCRIPT);break}case q.NOFRAMES:case q.STYLE:{e._switchToTextParsing(t,Xa.RAWTEXT);break}case q.SCRIPT:{e._switchToTextParsing(t,Xa.SCRIPT_DATA);break}case q.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=Ye.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(Ye.IN_TEMPLATE);break}case q.HEAD:{e._err(t,Pt.misplacedStartTagForHeadElement);break}default:FT(e,t)}}function ept(e,t){switch(t.tagID){case q.HEAD:{e.openElements.pop(),e.insertionMode=Ye.AFTER_HEAD;break}case q.BODY:case q.BR:case q.HTML:{FT(e,t);break}case q.TEMPLATE:{Qy(e,t);break}default:e._err(t,Pt.endTagWithoutMatchingOpenElement)}}function Qy(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==q.TEMPLATE&&e._err(t,Pt.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(q.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,Pt.endTagWithoutMatchingOpenElement)}function FT(e,t){e.openElements.pop(),e.insertionMode=Ye.AFTER_HEAD,e._processToken(t)}function tpt(e,t){switch(t.tagID){case q.HTML:{Zl(e,t);break}case q.BASEFONT:case q.BGSOUND:case q.HEAD:case q.LINK:case q.META:case q.NOFRAMES:case q.STYLE:{Th(e,t);break}case q.NOSCRIPT:{e._err(t,Pt.nestedNoscriptInHead);break}default:$T(e,t)}}function npt(e,t){switch(t.tagID){case q.NOSCRIPT:{e.openElements.pop(),e.insertionMode=Ye.IN_HEAD;break}case q.BR:{$T(e,t);break}default:e._err(t,Pt.endTagWithoutMatchingOpenElement)}}function $T(e,t){const n=t.type===ii.EOF?Pt.openElementsLeftAfterEof:Pt.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=Ye.IN_HEAD,e._processToken(t)}function rpt(e,t){switch(t.tagID){case q.HTML:{Zl(e,t);break}case q.BODY:{e._insertElement(t,Kt.HTML),e.framesetOk=!1,e.insertionMode=Ye.IN_BODY;break}case q.FRAMESET:{e._insertElement(t,Kt.HTML),e.insertionMode=Ye.IN_FRAMESET;break}case q.BASE:case q.BASEFONT:case q.BGSOUND:case q.LINK:case q.META:case q.NOFRAMES:case q.SCRIPT:case q.STYLE:case q.TEMPLATE:case q.TITLE:{e._err(t,Pt.abandonedHeadElementChild),e.openElements.push(e.headElement,q.HEAD),Th(e,t),e.openElements.remove(e.headElement);break}case q.HEAD:{e._err(t,Pt.misplacedStartTagForHeadElement);break}default:BT(e,t)}}function ipt(e,t){switch(t.tagID){case q.BODY:case q.HTML:case q.BR:{BT(e,t);break}case q.TEMPLATE:{Qy(e,t);break}default:e._err(t,Pt.endTagWithoutMatchingOpenElement)}}function BT(e,t){e._insertFakeElement(Ot.BODY,q.BODY),e.insertionMode=Ye.IN_BODY,ON(e,t)}function ON(e,t){switch(t.type){case ii.CHARACTER:{Gve(e,t);break}case ii.WHITESPACE_CHARACTER:{Vve(e,t);break}case ii.COMMENT:{QB(e,t);break}case ii.START_TAG:{Zl(e,t);break}case ii.END_TAG:{EN(e,t);break}case ii.EOF:{Kve(e,t);break}}}function Vve(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Gve(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function spt(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function apt(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function opt(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,Kt.HTML),e.insertionMode=Ye.IN_FRAMESET)}function lpt(e,t){e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._insertElement(t,Kt.HTML)}function upt(e,t){e.openElements.hasInButtonScope(q.P)&&e._closePElement(),Mve(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,Kt.HTML)}function cpt(e,t){e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._insertElement(t,Kt.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function dpt(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._insertElement(t,Kt.HTML),n||(e.formElement=e.openElements.current))}function fpt(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.tagIDs[r];if(n===q.LI&&i===q.LI||(n===q.DD||n===q.DT)&&(i===q.DD||i===q.DT)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(i!==q.ADDRESS&&i!==q.DIV&&i!==q.P&&e._isSpecialElement(e.openElements.items[r],i))break}e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._insertElement(t,Kt.HTML)}function hpt(e,t){e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._insertElement(t,Kt.HTML),e.tokenizer.state=Xa.PLAINTEXT}function ppt(e,t){e.openElements.hasInScope(q.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(q.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,Kt.HTML),e.framesetOk=!1}function mpt(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(Ot.A);n&&(pY(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,Kt.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function gpt(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Kt.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function bpt(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(q.NOBR)&&(pY(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,Kt.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function ypt(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Kt.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function vpt(e,t){e.treeAdapter.getDocumentMode(e.document)!==Qc.QUIRKS&&e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._insertElement(t,Kt.HTML),e.framesetOk=!1,e.insertionMode=Ye.IN_TABLE}function Yve(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Kt.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Zve(e){const t=Dve(e,i1.TYPE);return t!=null&&t.toLowerCase()===Fht}function Spt(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Kt.HTML),Zve(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function Opt(e,t){e._appendElement(t,Kt.HTML),t.ackSelfClosing=!0}function Ept(e,t){e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._appendElement(t,Kt.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function wpt(e,t){t.tagName=Ot.IMG,t.tagID=q.IMG,Yve(e,t)}function xpt(e,t){e._insertElement(t,Kt.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Xa.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=Ye.TEXT}function Tpt(e,t){e.openElements.hasInButtonScope(q.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Xa.RAWTEXT)}function kpt(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Xa.RAWTEXT)}function Lse(e,t){e._switchToTextParsing(t,Xa.RAWTEXT)}function _pt(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Kt.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===Ye.IN_TABLE||e.insertionMode===Ye.IN_CAPTION||e.insertionMode===Ye.IN_TABLE_BODY||e.insertionMode===Ye.IN_ROW||e.insertionMode===Ye.IN_CELL?Ye.IN_SELECT_IN_TABLE:Ye.IN_SELECT}function Apt(e,t){e.openElements.currentTagId===q.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,Kt.HTML)}function Cpt(e,t){e.openElements.hasInScope(q.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,Kt.HTML)}function Rpt(e,t){e.openElements.hasInScope(q.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(q.RTC),e._insertElement(t,Kt.HTML)}function Ipt(e,t){e._reconstructActiveFormattingElements(),jve(t),hY(t),t.selfClosing?e._appendElement(t,Kt.MATHML):e._insertElement(t,Kt.MATHML),t.ackSelfClosing=!0}function Dpt(e,t){e._reconstructActiveFormattingElements(),Wve(t),hY(t),t.selfClosing?e._appendElement(t,Kt.SVG):e._insertElement(t,Kt.SVG),t.ackSelfClosing=!0}function Mse(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Kt.HTML)}function Zl(e,t){switch(t.tagID){case q.I:case q.S:case q.B:case q.U:case q.EM:case q.TT:case q.BIG:case q.CODE:case q.FONT:case q.SMALL:case q.STRIKE:case q.STRONG:{gpt(e,t);break}case q.A:{mpt(e,t);break}case q.H1:case q.H2:case q.H3:case q.H4:case q.H5:case q.H6:{upt(e,t);break}case q.P:case q.DL:case q.OL:case q.UL:case q.DIV:case q.DIR:case q.NAV:case q.MAIN:case q.MENU:case q.ASIDE:case q.CENTER:case q.FIGURE:case q.FOOTER:case q.HEADER:case q.HGROUP:case q.DIALOG:case q.DETAILS:case q.ADDRESS:case q.ARTICLE:case q.SECTION:case q.SUMMARY:case q.FIELDSET:case q.BLOCKQUOTE:case q.FIGCAPTION:{lpt(e,t);break}case q.LI:case q.DD:case q.DT:{fpt(e,t);break}case q.BR:case q.IMG:case q.WBR:case q.AREA:case q.EMBED:case q.KEYGEN:{Yve(e,t);break}case q.HR:{Ept(e,t);break}case q.RB:case q.RTC:{Cpt(e,t);break}case q.RT:case q.RP:{Rpt(e,t);break}case q.PRE:case q.LISTING:{cpt(e,t);break}case q.XMP:{Tpt(e,t);break}case q.SVG:{Dpt(e,t);break}case q.HTML:{spt(e,t);break}case q.BASE:case q.LINK:case q.META:case q.STYLE:case q.TITLE:case q.SCRIPT:case q.BGSOUND:case q.BASEFONT:case q.TEMPLATE:{Th(e,t);break}case q.BODY:{apt(e,t);break}case q.FORM:{dpt(e,t);break}case q.NOBR:{bpt(e,t);break}case q.MATH:{Ipt(e,t);break}case q.TABLE:{vpt(e,t);break}case q.INPUT:{Spt(e,t);break}case q.PARAM:case q.TRACK:case q.SOURCE:{Opt(e,t);break}case q.IMAGE:{wpt(e,t);break}case q.BUTTON:{ppt(e,t);break}case q.APPLET:case q.OBJECT:case q.MARQUEE:{ypt(e,t);break}case q.IFRAME:{kpt(e,t);break}case q.SELECT:{_pt(e,t);break}case q.OPTION:case q.OPTGROUP:{Apt(e,t);break}case q.NOEMBED:{Lse(e,t);break}case q.FRAMESET:{opt(e,t);break}case q.TEXTAREA:{xpt(e,t);break}case q.NOSCRIPT:{e.options.scriptingEnabled?Lse(e,t):Mse(e,t);break}case q.PLAINTEXT:{hpt(e,t);break}case q.COL:case q.TH:case q.TD:case q.TR:case q.HEAD:case q.FRAME:case q.TBODY:case q.TFOOT:case q.THEAD:case q.CAPTION:case q.COLGROUP:break;default:Mse(e,t)}}function Npt(e,t){if(e.openElements.hasInScope(q.BODY)&&(e.insertionMode=Ye.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function Ppt(e,t){e.openElements.hasInScope(q.BODY)&&(e.insertionMode=Ye.AFTER_BODY,aSe(e,t))}function Lpt(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function Mpt(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(q.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(q.FORM):n&&e.openElements.remove(n))}function Fpt(e){e.openElements.hasInButtonScope(q.P)||e._insertFakeElement(Ot.P,q.P),e._closePElement()}function $pt(e){e.openElements.hasInListItemScope(q.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(q.LI),e.openElements.popUntilTagNamePopped(q.LI))}function Bpt(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function Upt(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function zpt(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function Hpt(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(Ot.BR,q.BR),e.openElements.pop(),e.framesetOk=!1}function Xve(e,t){const n=t.tagName,r=t.tagID;for(let i=e.openElements.stackTop;i>0;i--){const s=e.openElements.items[i],a=e.openElements.tagIDs[i];if(r===a&&(r!==q.UNKNOWN||e.treeAdapter.getTagName(s)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=i&&e.openElements.shortenToLength(i);break}if(e._isSpecialElement(s,a))break}}function EN(e,t){switch(t.tagID){case q.A:case q.B:case q.I:case q.S:case q.U:case q.EM:case q.TT:case q.BIG:case q.CODE:case q.FONT:case q.NOBR:case q.SMALL:case q.STRIKE:case q.STRONG:{pY(e,t);break}case q.P:{Fpt(e);break}case q.DL:case q.UL:case q.OL:case q.DIR:case q.DIV:case q.NAV:case q.PRE:case q.MAIN:case q.MENU:case q.ASIDE:case q.BUTTON:case q.CENTER:case q.FIGURE:case q.FOOTER:case q.HEADER:case q.HGROUP:case q.DIALOG:case q.ADDRESS:case q.ARTICLE:case q.DETAILS:case q.SECTION:case q.SUMMARY:case q.LISTING:case q.FIELDSET:case q.BLOCKQUOTE:case q.FIGCAPTION:{Lpt(e,t);break}case q.LI:{$pt(e);break}case q.DD:case q.DT:{Bpt(e,t);break}case q.H1:case q.H2:case q.H3:case q.H4:case q.H5:case q.H6:{Upt(e);break}case q.BR:{Hpt(e);break}case q.BODY:{Npt(e,t);break}case q.HTML:{Ppt(e,t);break}case q.FORM:{Mpt(e);break}case q.APPLET:case q.OBJECT:case q.MARQUEE:{zpt(e,t);break}case q.TEMPLATE:{Qy(e,t);break}default:Xve(e,t)}}function Kve(e,t){e.tmplInsertionModeStack.length>0?sSe(e,t):mY(e,t)}function qpt(e,t){var n;t.tagID===q.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function jpt(e,t){e._err(t,Pt.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function UL(e,t){if(Qve.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=Ye.IN_TABLE_TEXT,t.type){case ii.CHARACTER:{eSe(e,t);break}case ii.WHITESPACE_CHARACTER:{Jve(e,t);break}}else DA(e,t)}function Wpt(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,Kt.HTML),e.insertionMode=Ye.IN_CAPTION}function Qpt(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Kt.HTML),e.insertionMode=Ye.IN_COLUMN_GROUP}function Vpt(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(Ot.COLGROUP,q.COLGROUP),e.insertionMode=Ye.IN_COLUMN_GROUP,gY(e,t)}function Gpt(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Kt.HTML),e.insertionMode=Ye.IN_TABLE_BODY}function Ypt(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(Ot.TBODY,q.TBODY),e.insertionMode=Ye.IN_TABLE_BODY,wN(e,t)}function Zpt(e,t){e.openElements.hasInTableScope(q.TABLE)&&(e.openElements.popUntilTagNamePopped(q.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function Xpt(e,t){Zve(t)?e._appendElement(t,Kt.HTML):DA(e,t),t.ackSelfClosing=!0}function Kpt(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,Kt.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function fE(e,t){switch(t.tagID){case q.TD:case q.TH:case q.TR:{Ypt(e,t);break}case q.STYLE:case q.SCRIPT:case q.TEMPLATE:{Th(e,t);break}case q.COL:{Vpt(e,t);break}case q.FORM:{Kpt(e,t);break}case q.TABLE:{Zpt(e,t);break}case q.TBODY:case q.TFOOT:case q.THEAD:{Gpt(e,t);break}case q.INPUT:{Xpt(e,t);break}case q.CAPTION:{Wpt(e,t);break}case q.COLGROUP:{Qpt(e,t);break}default:DA(e,t)}}function t_(e,t){switch(t.tagID){case q.TABLE:{e.openElements.hasInTableScope(q.TABLE)&&(e.openElements.popUntilTagNamePopped(q.TABLE),e._resetInsertionMode());break}case q.TEMPLATE:{Qy(e,t);break}case q.BODY:case q.CAPTION:case q.COL:case q.COLGROUP:case q.HTML:case q.TBODY:case q.TD:case q.TFOOT:case q.TH:case q.THEAD:case q.TR:break;default:DA(e,t)}}function DA(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ON(e,t),e.fosterParentingEnabled=n}function Jve(e,t){e.pendingCharacterTokens.push(t)}function eSe(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Iw(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===q.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===q.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===q.OPTGROUP&&e.openElements.pop();break}case q.OPTION:{e.openElements.currentTagId===q.OPTION&&e.openElements.pop();break}case q.SELECT:{e.openElements.hasInSelectScope(q.SELECT)&&(e.openElements.popUntilTagNamePopped(q.SELECT),e._resetInsertionMode());break}case q.TEMPLATE:{Qy(e,t);break}}}function i0t(e,t){const n=t.tagID;n===q.CAPTION||n===q.TABLE||n===q.TBODY||n===q.TFOOT||n===q.THEAD||n===q.TR||n===q.TD||n===q.TH?(e.openElements.popUntilTagNamePopped(q.SELECT),e._resetInsertionMode(),e._processStartTag(t)):rSe(e,t)}function s0t(e,t){const n=t.tagID;n===q.CAPTION||n===q.TABLE||n===q.TBODY||n===q.TFOOT||n===q.THEAD||n===q.TR||n===q.TD||n===q.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(q.SELECT),e._resetInsertionMode(),e.onEndTag(t)):iSe(e,t)}function a0t(e,t){switch(t.tagID){case q.BASE:case q.BASEFONT:case q.BGSOUND:case q.LINK:case q.META:case q.NOFRAMES:case q.SCRIPT:case q.STYLE:case q.TEMPLATE:case q.TITLE:{Th(e,t);break}case q.CAPTION:case q.COLGROUP:case q.TBODY:case q.TFOOT:case q.THEAD:{e.tmplInsertionModeStack[0]=Ye.IN_TABLE,e.insertionMode=Ye.IN_TABLE,fE(e,t);break}case q.COL:{e.tmplInsertionModeStack[0]=Ye.IN_COLUMN_GROUP,e.insertionMode=Ye.IN_COLUMN_GROUP,gY(e,t);break}case q.TR:{e.tmplInsertionModeStack[0]=Ye.IN_TABLE_BODY,e.insertionMode=Ye.IN_TABLE_BODY,wN(e,t);break}case q.TD:case q.TH:{e.tmplInsertionModeStack[0]=Ye.IN_ROW,e.insertionMode=Ye.IN_ROW,xN(e,t);break}default:e.tmplInsertionModeStack[0]=Ye.IN_BODY,e.insertionMode=Ye.IN_BODY,Zl(e,t)}}function o0t(e,t){t.tagID===q.TEMPLATE&&Qy(e,t)}function sSe(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(q.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):mY(e,t)}function l0t(e,t){t.tagID===q.HTML?Zl(e,t):II(e,t)}function aSe(e,t){var n;if(t.tagID===q.HTML){if(e.fragmentContext||(e.insertionMode=Ye.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===q.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else II(e,t)}function II(e,t){e.insertionMode=Ye.IN_BODY,ON(e,t)}function u0t(e,t){switch(t.tagID){case q.HTML:{Zl(e,t);break}case q.FRAMESET:{e._insertElement(t,Kt.HTML);break}case q.FRAME:{e._appendElement(t,Kt.HTML),t.ackSelfClosing=!0;break}case q.NOFRAMES:{Th(e,t);break}}}function c0t(e,t){t.tagID===q.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==q.FRAMESET&&(e.insertionMode=Ye.AFTER_FRAMESET))}function d0t(e,t){switch(t.tagID){case q.HTML:{Zl(e,t);break}case q.NOFRAMES:{Th(e,t);break}}}function f0t(e,t){t.tagID===q.HTML&&(e.insertionMode=Ye.AFTER_AFTER_FRAMESET)}function h0t(e,t){t.tagID===q.HTML?Zl(e,t):mR(e,t)}function mR(e,t){e.insertionMode=Ye.IN_BODY,ON(e,t)}function p0t(e,t){switch(t.tagID){case q.HTML:{Zl(e,t);break}case q.NOFRAMES:{Th(e,t);break}}}function m0t(e,t){t.chars=sa,e._insertCharacters(t)}function g0t(e,t){e._insertCharacters(t),e.framesetOk=!1}function oSe(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==Kt.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function b0t(e,t){if(Dht(t))oSe(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===Kt.MATHML?jve(t):r===Kt.SVG&&(Nht(t),Wve(t)),hY(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function y0t(e,t){if(t.tagID===q.P||t.tagID===q.BR){oSe(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===Kt.HTML){e._endTagOutsideForeignContent(t);break}const i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}Ot.AREA,Ot.BASE,Ot.BASEFONT,Ot.BGSOUND,Ot.BR,Ot.COL,Ot.EMBED,Ot.FRAME,Ot.HR,Ot.IMG,Ot.INPUT,Ot.KEYGEN,Ot.LINK,Ot.META,Ot.PARAM,Ot.SOURCE,Ot.TRACK,Ot.WBR;const TN=lSe("end"),zp=lSe("start");function lSe(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function v0t(e){const t=zp(e),n=TN(e);if(t&&n)return{start:t,end:n}}const S0t=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Fse={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function uSe(e,t){const n=R0t(e),r=yN("type",{handlers:{root:O0t,element:E0t,text:w0t,comment:dSe,doctype:x0t,raw:k0t},unknown:_0t}),i={parser:n?new Pse(Fse):Pse.getFragmentParser(void 0,Fse),handle(o){r(o,i)},stitches:!1,options:t||{}};r(e,i),o2(i,zp());const s=n?i.parser.document:i.parser.getFragment(),a=Ift(s,{file:i.options.file});return i.stitches&&Tu(a,"comment",function(o,l,c){const d=o;if(d.value.stitch&&c&&l!==void 0){const f=c.children;return f[l]=d.value.stitch,l}}),a.type==="root"&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}function cSe(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);const n={type:ii.CHARACTER,chars:e.value,location:NA(e)};o2(t,zp(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function x0t(e,t){const n={type:ii.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:NA(e)};o2(t,zp(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function T0t(e,t){t.stitches=!0;const n=I0t(e);if("children"in e&&"children"in n){const r=uSe({type:"root",children:e.children},t.options);n.children=r.children}dSe({type:"comment",value:{stitch:n}},t)}function dSe(e,t){const n=e.value,r={type:ii.COMMENT,data:n,location:NA(e)};o2(t,zp(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function k0t(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,fSe(t,zp(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function _0t(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))T0t(n,t);else{let r="";throw S0t.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function o2(e,t){fSe(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Xa.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function fSe(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function A0t(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Xa.PLAINTEXT)return;o2(t,zp(e));const r=t.parser.openElements.current;let i="namespaceURI"in r?r.namespaceURI:Ib.html;i===Ib.html&&n==="svg"&&(i=Ib.svg);const s=Mft({...e,children:[]},{space:i===Ib.svg?"svg":"html"}),a={type:ii.START_TAG,tagName:n,tagID:a2(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in s?s.attrs:[],location:NA(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function C0t(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Ave.includes(n)||t.parser.tokenizer.state===Xa.PLAINTEXT)return;o2(t,TN(e));const r={type:ii.END_TAG,tagName:n,tagID:a2(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:NA(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Xa.RCDATA||t.parser.tokenizer.state===Xa.RAWTEXT||t.parser.tokenizer.state===Xa.SCRIPT_DATA)&&(t.parser.tokenizer.state=Xa.DATA)}function R0t(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function NA(e){const t=zp(e)||{line:void 0,column:void 0,offset:void 0},n=TN(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function I0t(e){return"children"in e?wy({...e,children:[]}):wy(e)}function hSe(e){return function(t,n){return uSe(t,{...e,file:n})}}const D0t=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,N0t=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,P0t={};function $se(e,t){return(P0t.jsx?N0t:D0t).test(e)}var pSe={},Bse=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,L0t=/\n/g,M0t=/^\s*/,F0t=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,$0t=/^:\s*/,B0t=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,U0t=/^[;\s]*/,z0t=/^\s+|\s+$/g,H0t=` +`,Use="/",zse="*",gb="",q0t="comment",j0t="declaration",W0t=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(b){var w=b.match(L0t);w&&(n+=w.length);var x=b.lastIndexOf(H0t);r=~x?b.length-x:r+b.length}function s(){var b={line:n,column:r};return function(w){return w.position=new a(b),c(),w}}function a(b){this.start=b,this.end={line:n,column:r},this.source=t.source}a.prototype.content=e;function o(b){var w=new Error(t.source+":"+n+":"+r+": "+b);if(w.reason=b,w.filename=t.source,w.line=n,w.column=r,w.source=e,!t.silent)throw w}function l(b){var w=b.exec(e);if(w){var x=w[0];return i(x),e=e.slice(x.length),w}}function c(){l(M0t)}function d(b){var w;for(b=b||[];w=f();)w!==!1&&b.push(w);return b}function f(){var b=s();if(!(Use!=e.charAt(0)||zse!=e.charAt(1))){for(var w=2;gb!=e.charAt(w)&&(zse!=e.charAt(w)||Use!=e.charAt(w+1));)++w;if(w+=2,gb===e.charAt(w-1))return o("End of comment missing");var x=e.slice(2,w-2);return r+=2,i(x),e=e.slice(w),r+=2,b({type:q0t,comment:x})}}function p(){var b=s(),w=l(F0t);if(w){if(f(),!l($0t))return o("property missing ':'");var x=l(B0t),T=b({type:j0t,property:Hse(w[0].replace(Bse,gb)),value:x?Hse(x[0].replace(Bse,gb)):gb});return l(U0t),T}}function g(){var b=[];d(b);for(var w;w=p();)w!==!1&&(b.push(w),d(b));return b}return c(),g()};function Hse(e){return e?e.replace(z0t,gb):gb}var Q0t=Vc&&Vc.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(pSe,"__esModule",{value:!0});var qse=pSe.default=G0t,V0t=Q0t(W0t);function G0t(e,t){var n=null;if(!e||typeof e!="string")return n;var r=(0,V0t.default)(e),i=typeof t=="function";return r.forEach(function(s){if(s.type==="declaration"){var a=s.property,o=s.value;i?t(a,o,s):o&&(n=n||{},n[a]=o)}}),n}const Y0t=qse.default||qse;function UT(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?jse(e.position):"start"in e||"end"in e?jse(e):"line"in e||"column"in e?GB(e):""}function GB(e){return Wse(e&&e.line)+":"+Wse(e&&e.column)}function jse(e){return GB(e&&e.start)+"-"+GB(e&&e.end)}function Wse(e){return e&&typeof e=="number"?e:1}class Xl extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",s={},a=!1;if(n&&("line"in n&&"column"in n?s={place:n}:"start"in n&&"end"in n?s={place:n}:"type"in n?s={ancestors:[n],place:n.position}:s={...n}),typeof t=="string"?i=t:!s.cause&&t&&(a=!0,i=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?s.ruleId=r:(s.source=r.slice(0,l),s.ruleId=r.slice(l+1))}if(!s.place&&s.ancestors&&s.ancestors){const l=s.ancestors[s.ancestors.length-1];l&&(s.place=l.position)}const o=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=o?o.line:void 0,this.name=UT(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=a&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual,this.expected,this.note,this.url}}Xl.prototype.file="";Xl.prototype.name="";Xl.prototype.reason="";Xl.prototype.message="";Xl.prototype.stack="";Xl.prototype.column=void 0;Xl.prototype.line=void 0;Xl.prototype.ancestors=void 0;Xl.prototype.cause=void 0;Xl.prototype.fatal=void 0;Xl.prototype.place=void 0;Xl.prototype.ruleId=void 0;Xl.prototype.source=void 0;const bY={}.hasOwnProperty,Z0t=new Map,X0t=/[A-Z]/g,K0t=/-([a-z])/g,J0t=new Set(["table","tbody","thead","tfoot","tr"]),emt=new Set(["td","th"]),mSe="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function tmt(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=umt(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=lmt(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?xh:C1,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},s=gSe(i,e,void 0);return s&&typeof s!="string"?s:i.create(e,i.Fragment,{children:s||void 0},void 0)}function gSe(e,t,n){if(t.type==="element")return nmt(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return rmt(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return smt(e,t,n);if(t.type==="mdxjsEsm")return imt(e,t);if(t.type==="root")return amt(e,t,n);if(t.type==="text")return omt(e,t)}function nmt(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=xh,e.schema=i),e.ancestors.push(t);const s=ySe(e,t.tagName,!1),a=cmt(e,t);let o=vY(e,t);return J0t.has(t.tagName)&&(o=o.filter(function(l){return typeof l=="string"?!IA(l):!0})),bSe(e,a,s,t),yY(a,o),e.ancestors.pop(),e.schema=r,e.create(t,s,a,n)}function rmt(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}n_(e,t.position)}function imt(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);n_(e,t.position)}function smt(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=xh,e.schema=i),e.ancestors.push(t);const s=t.name===null?e.Fragment:ySe(e,t.name,!0),a=dmt(e,t),o=vY(e,t);return bSe(e,a,s,t),yY(a,o),e.ancestors.pop(),e.schema=r,e.create(t,s,a,n)}function amt(e,t,n){const r={};return yY(r,vY(e,t)),e.create(t,e.Fragment,r,n)}function omt(e,t){return t.value}function bSe(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function yY(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function lmt(e,t,n){return r;function r(i,s,a,o){const c=Array.isArray(a.children)?n:t;return o?c(s,a,o):c(s,a)}}function umt(e,t){return n;function n(r,i,s,a){const o=Array.isArray(s.children),l=zp(r);return t(i,s,a,o,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function cmt(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&bY.call(t.properties,i)){const s=fmt(e,i,t.properties[i]);if(s){const[a,o]=s;e.tableCellAlignToStyle&&a==="align"&&typeof o=="string"&&emt.has(t.tagName)?r=o:n[a]=o}}if(r){const s=n.style||(n.style={});s[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function dmt(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const s=r.data.estree.body[0];s.type;const a=s.expression;a.type;const o=a.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else n_(e,t.position);else{const i=r.name;let s;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const o=r.value.data.estree.body[0];o.type,s=e.evaluater.evaluateExpression(o.expression)}else n_(e,t.position);else s=r.value===null?!0:r.value;n[i]=s}return n}function vY(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:Z0t;for(;++ri?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);s0?(uf(e,e.length,0,t),e):t}const Vse={}.hasOwnProperty;function SSe(e){const t={};let n=-1;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function uh(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const yu=R1(/[A-Za-z]/),jl=R1(/[\dA-Za-z]/),Emt=R1(/[#-'*+\--9=?A-Z^-~]/);function DI(e){return e!==null&&(e<32||e===127)}const YB=R1(/\d/),wmt=R1(/[\dA-Fa-f]/),xmt=R1(/[!-/:-@[-`{-~]/);function br(e){return e!==null&&e<-2}function As(e){return e!==null&&(e<0||e===32)}function di(e){return e===-2||e===-1||e===32}const kN=R1(new RegExp("\\p{P}|\\p{S}","u")),xy=R1(/\s/);function R1(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function l2(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&s<57344){const o=e.charCodeAt(n+1);s<56320&&o>56319&&o<57344?(a=String.fromCharCode(s,o),i=1):a="�"}else a=String.fromCharCode(s);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Pi(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let s=0;return a;function a(l){return di(l)?(e.enter(n),o(l)):t(l)}function o(l){return di(l)&&s++a))return;const B=t.events.length;let j=B,F,V;for(;j--;)if(t.events[j][0]==="exit"&&t.events[j][1].type==="chunkFlow"){if(F){V=t.events[j][1].end;break}F=!0}for(T(r),$=B;$C;){const M=n[I];t.containerState=M[1],M[0].exit.call(t,e)}n.length=C}function _(){i.write([null]),s=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Cmt(e,t,n){return Pi(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function NI(e){if(e===null||As(e)||xy(e))return 1;if(kN(e))return 2}function _N(e,t,n){const r=[];let i=-1;for(;++i1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f=Object.assign({},e[r][1].end),p=Object.assign({},e[n][1].start);Yse(f,-l),Yse(p,l),a={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)},o={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:p},s={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},o.end)},e[r][1].end=Object.assign({},a.start),e[n][1].start=Object.assign({},o.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Zd(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Zd(c,[["enter",i,t],["enter",a,t],["exit",a,t],["enter",s,t]]),c=Zd(c,_N(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Zd(c,[["exit",s,t],["enter",o,t],["exit",o,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(d=2,c=Zd(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):d=0,uf(e,r-1,n-r+3,c),n=r+c.length-d-2;break}}for(n=-1;++n0&&di($)?Pi(e,_,"linePrefix",s+1)($):_($)}function _($){return $===null||br($)?e.check(Zse,w,I)($):(e.enter("codeFlowValue"),C($))}function C($){return $===null||br($)?(e.exit("codeFlowValue"),_($)):(e.consume($),C)}function I($){return e.exit("codeFenced"),t($)}function M($,B,j){let F=0;return V;function V(le){return $.enter("lineEnding"),$.consume(le),$.exit("lineEnding"),ie}function ie(le){return $.enter("codeFencedFence"),di(le)?Pi($,se,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(le):se(le)}function se(le){return le===o?($.enter("codeFencedFenceSequence"),me(le)):j(le)}function me(le){return le===o?(F++,$.consume(le),me):F>=a?($.exit("codeFencedFenceSequence"),di(le)?Pi($,fe,"whitespace")(le):fe(le)):j(le)}function fe(le){return le===null||br(le)?($.exit("codeFencedFence"),B(le)):j(le)}}}function zmt(e,t,n){const r=this;return i;function i(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),s)}function s(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}const HL={name:"codeIndented",tokenize:qmt},Hmt={tokenize:jmt,partial:!0};function qmt(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),Pi(e,s,"linePrefix",5)(c)}function s(c){const d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):br(c)?e.attempt(Hmt,a,l)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||br(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),o)}function l(c){return e.exit("codeIndented"),t(c)}}function jmt(e,t,n){const r=this;return i;function i(a){return r.parser.lazy[r.now().line]?n(a):br(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):Pi(e,s,"linePrefix",5)(a)}function s(a){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):br(a)?i(a):n(a)}}const Wmt={name:"codeText",tokenize:Gmt,resolve:Qmt,previous:Vmt};function Qmt(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return tthis.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const s=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Dw(this.left,r),s.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Dw(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Dw(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function kSe(e,t,n,r,i,s,a,o,l){const c=l||Number.POSITIVE_INFINITY;let d=0;return f;function f(T){return T===60?(e.enter(r),e.enter(i),e.enter(s),e.consume(T),e.exit(s),p):T===null||T===32||T===41||DI(T)?n(T):(e.enter(r),e.enter(a),e.enter(o),e.enter("chunkString",{contentType:"string"}),w(T))}function p(T){return T===62?(e.enter(s),e.consume(T),e.exit(s),e.exit(i),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),g(T))}function g(T){return T===62?(e.exit("chunkString"),e.exit(o),p(T)):T===null||T===60||br(T)?n(T):(e.consume(T),T===92?b:g)}function b(T){return T===60||T===62||T===92?(e.consume(T),g):g(T)}function w(T){return!d&&(T===null||T===41||As(T))?(e.exit("chunkString"),e.exit(o),e.exit(a),e.exit(r),t(T)):d999||g===null||g===91||g===93&&!l||g===94&&!o&&"_hiddenFootnoteSupport"in a.parser.constructs?n(g):g===93?(e.exit(s),e.enter(i),e.consume(g),e.exit(i),e.exit(r),t):br(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),f(g))}function f(g){return g===null||g===91||g===93||br(g)||o++>999?(e.exit("chunkString"),d(g)):(e.consume(g),l||(l=!di(g)),g===92?p:f)}function p(g){return g===91||g===92||g===93?(e.consume(g),o++,f):f(g)}}function ASe(e,t,n,r,i,s){let a;return o;function o(p){return p===34||p===39||p===40?(e.enter(r),e.enter(i),e.consume(p),e.exit(i),a=p===40?41:p,l):n(p)}function l(p){return p===a?(e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):(e.enter(s),c(p))}function c(p){return p===a?(e.exit(s),l(a)):p===null?n(p):br(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),Pi(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===a||p===null||br(p)?(e.exit("chunkString"),c(p)):(e.consume(p),p===92?f:d)}function f(p){return p===a||p===92?(e.consume(p),d):d(p)}}function zT(e,t){let n;return r;function r(i){return br(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):di(i)?Pi(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const ngt={name:"definition",tokenize:igt},rgt={tokenize:sgt,partial:!0};function igt(e,t,n){const r=this;let i;return s;function s(g){return e.enter("definition"),a(g)}function a(g){return _Se.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(g)}function o(g){return i=uh(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),l):n(g)}function l(g){return As(g)?zT(e,c)(g):c(g)}function c(g){return kSe(e,d,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(g)}function d(g){return e.attempt(rgt,f,f)(g)}function f(g){return di(g)?Pi(e,p,"whitespace")(g):p(g)}function p(g){return g===null||br(g)?(e.exit("definition"),r.parser.defined.push(i),t(g)):n(g)}}function sgt(e,t,n){return r;function r(o){return As(o)?zT(e,i)(o):n(o)}function i(o){return ASe(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function s(o){return di(o)?Pi(e,a,"whitespace")(o):a(o)}function a(o){return o===null||br(o)?t(o):n(o)}}const agt={name:"hardBreakEscape",tokenize:ogt};function ogt(e,t,n){return r;function r(s){return e.enter("hardBreakEscape"),e.consume(s),i}function i(s){return br(s)?(e.exit("hardBreakEscape"),t(s)):n(s)}}const lgt={name:"headingAtx",tokenize:cgt,resolve:ugt};function ugt(e,t){let n=e.length-2,r=3,i,s;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},s={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},uf(e,r,n-r+1,[["enter",i,t],["enter",s,t],["exit",s,t],["exit",i,t]])),e}function cgt(e,t,n){let r=0;return i;function i(d){return e.enter("atxHeading"),s(d)}function s(d){return e.enter("atxHeadingSequence"),a(d)}function a(d){return d===35&&r++<6?(e.consume(d),a):d===null||As(d)?(e.exit("atxHeadingSequence"),o(d)):n(d)}function o(d){return d===35?(e.enter("atxHeadingSequence"),l(d)):d===null||br(d)?(e.exit("atxHeading"),t(d)):di(d)?Pi(e,o,"whitespace")(d):(e.enter("atxHeadingText"),c(d))}function l(d){return d===35?(e.consume(d),l):(e.exit("atxHeadingSequence"),o(d))}function c(d){return d===null||d===35||As(d)?(e.exit("atxHeadingText"),o(d)):(e.consume(d),c)}}const dgt=["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","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Kse=["pre","script","style","textarea"],fgt={name:"htmlFlow",tokenize:ggt,resolveTo:mgt,concrete:!0},hgt={tokenize:ygt,partial:!0},pgt={tokenize:bgt,partial:!0};function mgt(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function ggt(e,t,n){const r=this;let i,s,a,o,l;return c;function c(ue){return d(ue)}function d(ue){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(ue),f}function f(ue){return ue===33?(e.consume(ue),p):ue===47?(e.consume(ue),s=!0,w):ue===63?(e.consume(ue),i=3,r.interrupt?t:re):yu(ue)?(e.consume(ue),a=String.fromCharCode(ue),x):n(ue)}function p(ue){return ue===45?(e.consume(ue),i=2,g):ue===91?(e.consume(ue),i=5,o=0,b):yu(ue)?(e.consume(ue),i=4,r.interrupt?t:re):n(ue)}function g(ue){return ue===45?(e.consume(ue),r.interrupt?t:re):n(ue)}function b(ue){const tt="CDATA[";return ue===tt.charCodeAt(o++)?(e.consume(ue),o===tt.length?r.interrupt?t:se:b):n(ue)}function w(ue){return yu(ue)?(e.consume(ue),a=String.fromCharCode(ue),x):n(ue)}function x(ue){if(ue===null||ue===47||ue===62||As(ue)){const tt=ue===47,St=a.toLowerCase();return!tt&&!s&&Kse.includes(St)?(i=1,r.interrupt?t(ue):se(ue)):dgt.includes(a.toLowerCase())?(i=6,tt?(e.consume(ue),T):r.interrupt?t(ue):se(ue)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(ue):s?_(ue):C(ue))}return ue===45||jl(ue)?(e.consume(ue),a+=String.fromCharCode(ue),x):n(ue)}function T(ue){return ue===62?(e.consume(ue),r.interrupt?t:se):n(ue)}function _(ue){return di(ue)?(e.consume(ue),_):V(ue)}function C(ue){return ue===47?(e.consume(ue),V):ue===58||ue===95||yu(ue)?(e.consume(ue),I):di(ue)?(e.consume(ue),C):V(ue)}function I(ue){return ue===45||ue===46||ue===58||ue===95||jl(ue)?(e.consume(ue),I):M(ue)}function M(ue){return ue===61?(e.consume(ue),$):di(ue)?(e.consume(ue),M):C(ue)}function $(ue){return ue===null||ue===60||ue===61||ue===62||ue===96?n(ue):ue===34||ue===39?(e.consume(ue),l=ue,B):di(ue)?(e.consume(ue),$):j(ue)}function B(ue){return ue===l?(e.consume(ue),l=null,F):ue===null||br(ue)?n(ue):(e.consume(ue),B)}function j(ue){return ue===null||ue===34||ue===39||ue===47||ue===60||ue===61||ue===62||ue===96||As(ue)?M(ue):(e.consume(ue),j)}function F(ue){return ue===47||ue===62||di(ue)?C(ue):n(ue)}function V(ue){return ue===62?(e.consume(ue),ie):n(ue)}function ie(ue){return ue===null||br(ue)?se(ue):di(ue)?(e.consume(ue),ie):n(ue)}function se(ue){return ue===45&&i===2?(e.consume(ue),ye):ue===60&&i===1?(e.consume(ue),ae):ue===62&&i===4?(e.consume(ue),Fe):ue===63&&i===3?(e.consume(ue),re):ue===93&&i===5?(e.consume(ue),he):br(ue)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(hgt,je,me)(ue)):ue===null||br(ue)?(e.exit("htmlFlowData"),me(ue)):(e.consume(ue),se)}function me(ue){return e.check(pgt,fe,je)(ue)}function fe(ue){return e.enter("lineEnding"),e.consume(ue),e.exit("lineEnding"),le}function le(ue){return ue===null||br(ue)?me(ue):(e.enter("htmlFlowData"),se(ue))}function ye(ue){return ue===45?(e.consume(ue),re):se(ue)}function ae(ue){return ue===47?(e.consume(ue),a="",Se):se(ue)}function Se(ue){if(ue===62){const tt=a.toLowerCase();return Kse.includes(tt)?(e.consume(ue),Fe):se(ue)}return yu(ue)&&a.length<8?(e.consume(ue),a+=String.fromCharCode(ue),Se):se(ue)}function he(ue){return ue===93?(e.consume(ue),re):se(ue)}function re(ue){return ue===62?(e.consume(ue),Fe):ue===45&&i===2?(e.consume(ue),re):se(ue)}function Fe(ue){return ue===null||br(ue)?(e.exit("htmlFlowData"),je(ue)):(e.consume(ue),Fe)}function je(ue){return e.exit("htmlFlow"),t(ue)}}function bgt(e,t,n){const r=this;return i;function i(a){return br(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),s):n(a)}function s(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}function ygt(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(PA,t,n)}}const vgt={name:"htmlText",tokenize:Sgt};function Sgt(e,t,n){const r=this;let i,s,a;return o;function o(re){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(re),l}function l(re){return re===33?(e.consume(re),c):re===47?(e.consume(re),M):re===63?(e.consume(re),C):yu(re)?(e.consume(re),j):n(re)}function c(re){return re===45?(e.consume(re),d):re===91?(e.consume(re),s=0,b):yu(re)?(e.consume(re),_):n(re)}function d(re){return re===45?(e.consume(re),g):n(re)}function f(re){return re===null?n(re):re===45?(e.consume(re),p):br(re)?(a=f,ae(re)):(e.consume(re),f)}function p(re){return re===45?(e.consume(re),g):f(re)}function g(re){return re===62?ye(re):re===45?p(re):f(re)}function b(re){const Fe="CDATA[";return re===Fe.charCodeAt(s++)?(e.consume(re),s===Fe.length?w:b):n(re)}function w(re){return re===null?n(re):re===93?(e.consume(re),x):br(re)?(a=w,ae(re)):(e.consume(re),w)}function x(re){return re===93?(e.consume(re),T):w(re)}function T(re){return re===62?ye(re):re===93?(e.consume(re),T):w(re)}function _(re){return re===null||re===62?ye(re):br(re)?(a=_,ae(re)):(e.consume(re),_)}function C(re){return re===null?n(re):re===63?(e.consume(re),I):br(re)?(a=C,ae(re)):(e.consume(re),C)}function I(re){return re===62?ye(re):C(re)}function M(re){return yu(re)?(e.consume(re),$):n(re)}function $(re){return re===45||jl(re)?(e.consume(re),$):B(re)}function B(re){return br(re)?(a=B,ae(re)):di(re)?(e.consume(re),B):ye(re)}function j(re){return re===45||jl(re)?(e.consume(re),j):re===47||re===62||As(re)?F(re):n(re)}function F(re){return re===47?(e.consume(re),ye):re===58||re===95||yu(re)?(e.consume(re),V):br(re)?(a=F,ae(re)):di(re)?(e.consume(re),F):ye(re)}function V(re){return re===45||re===46||re===58||re===95||jl(re)?(e.consume(re),V):ie(re)}function ie(re){return re===61?(e.consume(re),se):br(re)?(a=ie,ae(re)):di(re)?(e.consume(re),ie):F(re)}function se(re){return re===null||re===60||re===61||re===62||re===96?n(re):re===34||re===39?(e.consume(re),i=re,me):br(re)?(a=se,ae(re)):di(re)?(e.consume(re),se):(e.consume(re),fe)}function me(re){return re===i?(e.consume(re),i=void 0,le):re===null?n(re):br(re)?(a=me,ae(re)):(e.consume(re),me)}function fe(re){return re===null||re===34||re===39||re===60||re===61||re===96?n(re):re===47||re===62||As(re)?F(re):(e.consume(re),fe)}function le(re){return re===47||re===62||As(re)?F(re):n(re)}function ye(re){return re===62?(e.consume(re),e.exit("htmlTextData"),e.exit("htmlText"),t):n(re)}function ae(re){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(re),e.exit("lineEnding"),Se}function Se(re){return di(re)?Pi(e,he,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(re):he(re)}function he(re){return e.enter("htmlTextData"),a(re)}}const OY={name:"labelEnd",tokenize:kgt,resolveTo:Tgt,resolveAll:xgt},Ogt={tokenize:_gt},Egt={tokenize:Agt},wgt={tokenize:Cgt};function xgt(e){let t=-1;for(;++t=3&&(c===null||br(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===i?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),di(c)?Pi(e,o,"whitespace")(c):o(c))}}const ju={name:"list",tokenize:$gt,continuation:{tokenize:Bgt},exit:zgt},Mgt={tokenize:Hgt,partial:!0},Fgt={tokenize:Ugt,partial:!0};function $gt(e,t,n){const r=this,i=r.events[r.events.length-1];let s=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return o;function o(g){const b=r.containerState.type||(g===42||g===43||g===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!r.containerState.marker||g===r.containerState.marker:YB(g)){if(r.containerState.type||(r.containerState.type=b,e.enter(b,{_container:!0})),b==="listUnordered")return e.enter("listItemPrefix"),g===42||g===45?e.check(gR,n,c)(g):c(g);if(!r.interrupt||g===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(g)}return n(g)}function l(g){return YB(g)&&++a<10?(e.consume(g),l):(!r.interrupt||a<2)&&(r.containerState.marker?g===r.containerState.marker:g===41||g===46)?(e.exit("listItemValue"),c(g)):n(g)}function c(g){return e.enter("listItemMarker"),e.consume(g),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||g,e.check(PA,r.interrupt?n:d,e.attempt(Mgt,p,f))}function d(g){return r.containerState.initialBlankLine=!0,s++,p(g)}function f(g){return di(g)?(e.enter("listItemPrefixWhitespace"),e.consume(g),e.exit("listItemPrefixWhitespace"),p):n(g)}function p(g){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(g)}}function Bgt(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(PA,i,s);function i(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Pi(e,t,"listItemIndent",r.containerState.size+1)(o)}function s(o){return r.containerState.furtherBlankLines||!di(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Fgt,t,a)(o))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,Pi(e,e.attempt(ju,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function Ugt(e,t,n){const r=this;return Pi(e,i,"listItemIndent",r.containerState.size+1);function i(s){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(s):n(s)}}function zgt(e){e.exit(this.containerState.type)}function Hgt(e,t,n){const r=this;return Pi(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(s){const a=r.events[r.events.length-1];return!di(s)&&a&&a[1].type==="listItemPrefixWhitespace"?t(s):n(s)}}const Jse={name:"setextUnderline",tokenize:jgt,resolveTo:qgt};function qgt(e,t){let n=e.length,r,i,s;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!s&&e[n][1].type==="definition"&&(s=n);const a={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",s?(e.splice(i,0,["enter",a,t]),e.splice(s+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[s][1].end)):e[r][1]=a,e.push(["exit",a,t]),e}function jgt(e,t,n){const r=this;let i;return s;function s(c){let d=r.events.length,f;for(;d--;)if(r.events[d][1].type!=="lineEnding"&&r.events[d][1].type!=="linePrefix"&&r.events[d][1].type!=="content"){f=r.events[d][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=c,a(c)):n(c)}function a(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===i?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),di(c)?Pi(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||br(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const Wgt={tokenize:Qgt};function Qgt(e){const t=this,n=e.attempt(PA,r,e.attempt(this.parser.constructs.flowInitial,i,Pi(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Xmt,i)),"linePrefix")));return n;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const Vgt={resolveAll:RSe()},Ggt=CSe("string"),Ygt=CSe("text");function CSe(e){return{tokenize:t,resolveAll:RSe(e==="text"?Zgt:void 0)};function t(n){const r=this,i=this.parser.constructs[e],s=n.attempt(i,a,o);return a;function a(d){return c(d)?s(d):o(d)}function o(d){if(d===null){n.consume(d);return}return n.enter("data"),n.consume(d),l}function l(d){return c(d)?(n.exit("data"),s(d)):(n.consume(d),l)}function c(d){if(d===null)return!0;const f=i[d];let p=-1;if(f)for(;++p-1){const o=a[0];typeof o=="string"?a[0]=o.slice(r):a.shift()}s>0&&a.push(e[i].slice(0,s))}return a}function Jgt(e,t){let n=-1;const r=[];let i;for(;++n0){const Gt=rt.tokenStack[rt.tokenStack.length-1];(Gt[1]||tae).call(rt,void 0,Gt[0])}for(Ne.position={start:ug(Be.length>0?Be[0][1].start:{line:1,column:1,offset:0}),end:ug(Be.length>0?Be[Be.length-2][1].end:{line:1,column:1,offset:0})},Dt=-1;++Dt1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)}function T1t(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function k1t(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function DSe(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),s=i[0];s&&s.type==="text"?s.value="["+s.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&a.type==="text"?a.value+=r:i.push({type:"text",value:r}),i}function _1t(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return DSe(e,t);const i={src:l2(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const s={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,s),e.applyData(t,s)}function A1t(e,t){const n={src:l2(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function C1t(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function R1t(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return DSe(e,t);const i={href:l2(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const s={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)}function I1t(e,t){const n={href:l2(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function D1t(e,t,n){const r=e.all(t),i=n?N1t(n):NSe(t),s={},a=[];if(typeof t.checked=="boolean"){const d=r[0];let f;d&&d.type==="element"&&d.tagName==="p"?f=d:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let o=-1;for(;++o0){const Gt=rt.tokenStack[rt.tokenStack.length-1];(Gt[1]||tae).call(rt,void 0,Gt[0])}for(Ne.position={start:ug(Be.length>0?Be[0][1].start:{line:1,column:1,offset:0}),end:ug(Be.length>0?Be[Be.length-2][1].end:{line:1,column:1,offset:0})},Dt=-1;++Dt1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)}function k1t(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function _1t(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function NSe(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),s=i[0];s&&s.type==="text"?s.value="["+s.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&a.type==="text"?a.value+=r:i.push({type:"text",value:r}),i}function A1t(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return NSe(e,t);const i={src:l2(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const s={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,s),e.applyData(t,s)}function C1t(e,t){const n={src:l2(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function R1t(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function I1t(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return NSe(e,t);const i={href:l2(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const s={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)}function D1t(e,t){const n={href:l2(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function N1t(e,t,n){const r=e.all(t),i=n?P1t(n):PSe(t),s={},a=[];if(typeof t.checked=="boolean"){const d=r[0];let f;d&&d.type==="element"&&d.tagName==="p"?f=d:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let o=-1;for(;++o1}function P1t(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=zp(t.children[1]),l=TN(t.children[t.children.length-1]);o&&l&&(a.position={start:o,end:l}),i.push(a)}const s={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,s),e.applyData(t,s)}function B1t(e,t,n){const r=n?n.children:void 0,s=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,o=a?a.length:t.children.length;let l=-1;const c=[];for(;++l0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return s.push(iae(t.slice(i),i>0,!1)),s.join("")}function iae(e,t,n){let r=0,i=e.length;if(t){let s=e.codePointAt(r);for(;s===nae||s===rae;)r++,s=e.codePointAt(r)}if(n){let s=e.codePointAt(i-1);for(;s===nae||s===rae;)i--,s=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function H1t(e,t){const n={type:"text",value:z1t(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function q1t(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const j1t={blockquote:v1t,break:S1t,code:O1t,delete:E1t,emphasis:w1t,footnoteReference:x1t,heading:T1t,html:k1t,imageReference:_1t,image:A1t,inlineCode:C1t,linkReference:R1t,link:I1t,listItem:D1t,list:P1t,paragraph:L1t,root:M1t,strong:F1t,table:$1t,tableCell:U1t,tableRow:B1t,text:H1t,thematicBreak:q1t,toml:d3,yaml:d3,definition:d3,footnoteDefinition:d3};function d3(){}function W1t(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Q1t(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function V1t(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||W1t,r=e.options.footnoteBackLabel||Q1t,i=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[];let l=-1;for(;++l0&&b.push({type:"text",value:" "});let _=typeof n=="string"?n:n(l,g);typeof _=="string"&&(_={type:"text",value:_}),b.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+p+(g>1?"-"+g:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,g),className:["data-footnote-backref"]},children:Array.isArray(_)?_:[_]})}const x=d[d.length-1];if(x&&x.type==="element"&&x.tagName==="p"){const _=x.children[x.children.length-1];_&&_.type==="text"?_.value+=" ":x.children.push({type:"text",value:" "}),x.children.push(...b)}else d.push(...b);const T={type:"element",tagName:"li",properties:{id:t+"fn-"+p},children:e.wrap(d,!0)};e.patch(c,T),o.push(T)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...wy(a),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:` +`});const c={type:"element",tagName:"li",properties:s,children:a};return e.patch(t,c),e.applyData(t,c)}function P1t(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r1}function L1t(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=zp(t.children[1]),l=TN(t.children[t.children.length-1]);o&&l&&(a.position={start:o,end:l}),i.push(a)}const s={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,s),e.applyData(t,s)}function U1t(e,t,n){const r=n?n.children:void 0,s=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,o=a?a.length:t.children.length;let l=-1;const c=[];for(;++l0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return s.push(iae(t.slice(i),i>0,!1)),s.join("")}function iae(e,t,n){let r=0,i=e.length;if(t){let s=e.codePointAt(r);for(;s===nae||s===rae;)r++,s=e.codePointAt(r)}if(n){let s=e.codePointAt(i-1);for(;s===nae||s===rae;)i--,s=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function q1t(e,t){const n={type:"text",value:H1t(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function j1t(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const W1t={blockquote:S1t,break:O1t,code:E1t,delete:w1t,emphasis:x1t,footnoteReference:T1t,heading:k1t,html:_1t,imageReference:A1t,image:C1t,inlineCode:R1t,linkReference:I1t,link:D1t,listItem:N1t,list:L1t,paragraph:M1t,root:F1t,strong:$1t,table:B1t,tableCell:z1t,tableRow:U1t,text:q1t,thematicBreak:j1t,toml:d3,yaml:d3,definition:d3,footnoteDefinition:d3};function d3(){}function Q1t(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function V1t(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function G1t(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Q1t,r=e.options.footnoteBackLabel||V1t,i=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[];let l=-1;for(;++l0&&b.push({type:"text",value:" "});let _=typeof n=="string"?n:n(l,g);typeof _=="string"&&(_={type:"text",value:_}),b.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+p+(g>1?"-"+g:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,g),className:["data-footnote-backref"]},children:Array.isArray(_)?_:[_]})}const x=d[d.length-1];if(x&&x.type==="element"&&x.tagName==="p"){const _=x.children[x.children.length-1];_&&_.type==="text"?_.value+=" ":x.children.push({type:"text",value:" "}),x.children.push(...b)}else d.push(...b);const T={type:"element",tagName:"li",properties:{id:t+"fn-"+p},children:e.wrap(d,!0)};e.patch(c,T),o.push(T)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...wy(a),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:` `},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:` -`}]}}const XB={}.hasOwnProperty,G1t={};function Y1t(e,t){const n=t||G1t,r=new Map,i=new Map,s=new Map,a={...j1t,...n.handlers},o={all:c,applyData:X1t,definitionById:r,footnoteById:i,footnoteCounts:s,footnoteOrder:[],handlers:a,one:l,options:n,patch:Z1t,wrap:J1t};return Tu(e,function(d){if(d.type==="definition"||d.type==="footnoteDefinition"){const f=d.type==="definition"?r:i,p=String(d.identifier).toUpperCase();f.has(p)||f.set(p,d)}}),o;function l(d,f){const p=d.type,g=o.handlers[p];if(XB.call(o.handlers,p)&&g)return g(o,d,f);if(o.options.passThrough&&o.options.passThrough.includes(p)){if("children"in d){const{children:w,...x}=d,T=wy(x);return T.children=o.all(d),T}return wy(d)}return(o.options.unknownHandler||K1t)(o,d,f)}function c(d){const f=[];if("children"in d){const p=d.children;let g=-1;for(;++g0&&n.push({type:"text",value:` -`}),n}function sae(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function aae(e,t){const n=Y1t(e,t),r=n.one(e,void 0),i=V1t(n),s=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&s.children.push({type:"text",value:` -`},i),s}function ebt(e,t){return e&&"run"in e?async function(n,r){const i=aae(n,{file:r,...t});await e.run(i,r)}:function(n,r){return aae(n,{file:r,...e||t})}}function oae(e){if(e)throw e}var bR=Object.prototype.hasOwnProperty,PSe=Object.prototype.toString,lae=Object.defineProperty,uae=Object.getOwnPropertyDescriptor,cae=function(t){return typeof Array.isArray=="function"?Array.isArray(t):PSe.call(t)==="[object Array]"},dae=function(t){if(!t||PSe.call(t)!=="[object Object]")return!1;var n=bR.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&bR.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||bR.call(t,i)},fae=function(t,n){lae&&n.name==="__proto__"?lae(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},hae=function(t,n){if(n==="__proto__")if(bR.call(t,n)){if(uae)return uae(t,n).value}else return;return t[n]},tbt=function e(){var t,n,r,i,s,a,o=arguments[0],l=1,c=arguments.length,d=!1;for(typeof o=="boolean"&&(d=o,o=arguments[1]||{},l=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});la.length;let l;o&&a.push(i);try{l=e.apply(this,a)}catch(c){const d=c;if(o&&n)throw d;return i(d)}o||(l&&l.then&&typeof l.then=="function"?l.then(s,i):l instanceof Error?i(l):s(l))}function i(a,...o){n||(n=!0,t(a,...o))}function s(a){i(null,a)}}const Kh={basename:ibt,dirname:sbt,extname:abt,join:obt,sep:"/"};function ibt(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');LA(e);let n=0,r=-1,i=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(s){n=i+1;break}}else r<0&&(s=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,o=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(s){n=i+1;break}}else a<0&&(s=!0,a=i+1),o>-1&&(e.codePointAt(i)===t.codePointAt(o--)?o<0&&(r=i):(o=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function sbt(e){if(LA(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function abt(e){LA(e);let t=e.length,n=-1,r=0,i=-1,s=0,a;for(;t--;){const o=e.codePointAt(t);if(o===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),o===46?i<0?i=t:s!==1&&(s=1):i>-1&&(s=-1)}return i<0||n<0||s===0||s===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function obt(...e){let t=-1,n;for(;++t0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function ubt(e,t){let n="",r=0,i=-1,s=0,a=-1,o,l;for(;++a<=e.length;){if(a2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=a,s=0;continue}}else if(n.length>0){n="",r=0,i=a,s=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,a):n=e.slice(i+1,a),r=a-i-1;i=a,s=0}else o===46&&s>-1?s++:s=-1}return n}function LA(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const cbt={cwd:dbt};function dbt(){return"/"}function JB(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function fbt(e){if(typeof e=="string")e=new URL(e);else if(!JB(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return hbt(e)}function hbt(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n0){let[g,...b]=d;const w=r[p][1];KB(w)&&KB(g)&&(g=jL(!0,w,g)),r[p]=[c,g,...b]}}}}const bbt=new EY().freeze();function GL(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function YL(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function ZL(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function mae(e){if(!KB(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function gae(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function f3(e){return ybt(e)?e:new LSe(e)}function ybt(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function vbt(e){return typeof e=="string"||Sbt(e)}function Sbt(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Obt="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",bae=[],yae={allowDangerousHtml:!0},Ebt=/^(https?|ircs?|mailto|xmpp)$/i,wbt=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function xbt(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",i=e.className,s=e.components,a=e.disallowedElements,o=e.rehypePlugins||bae,l=e.remarkPlugins||bae,c=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...yae}:yae,d=e.skipHtml,f=e.unwrapDisallowed,p=e.urlTransform||Tbt,g=bbt().use(y1t).use(l).use(ebt,c).use(o),b=new LSe;typeof r=="string"&&(b.value=r);for(const _ of wbt)Object.hasOwn(e,_.from)&&(""+_.from+(_.to?"use `"+_.to+"` instead":"remove it")+Obt+_.id,void 0);const w=g.parse(b);let x=g.runSync(w,b);return i&&(x={type:"element",tagName:"div",properties:{className:i},children:x.type==="root"?x.children:[x]}),Tu(x,T),emt(x,{Fragment:U.Fragment,components:s,ignoreInvalidStyle:!0,jsx:U.jsx,jsxs:U.jsxs,passKeys:!0,passNode:!0});function T(_,C,I){if(_.type==="raw"&&I&&typeof C=="number")return d?I.children.splice(C,1):I.children[C]={type:"text",value:_.value},C;if(_.type==="element"){let M;for(M in zL)if(Object.hasOwn(zL,M)&&Object.hasOwn(_.properties,M)){const $=_.properties[M],B=zL[M];(B===null||B.includes(_.tagName))&&(_.properties[M]=p(String($||""),M,_))}}if(_.type==="element"){let M=t?!t.includes(_.tagName):a?a.includes(_.tagName):!1;if(!M&&n&&typeof C=="number"&&(M=!n(_,C,I)),M&&I&&typeof C=="number")return f&&_.children?I.children.splice(C,1,..._.children):I.children.splice(C,1),C}}}function Tbt(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t<0||i>-1&&t>i||n>-1&&t>n||r>-1&&t>r||Ebt.test(e.slice(0,t))?e:""}function PI(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function kbt(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function _bt(e,t,n){const i=vA((n||{}).ignore||[]),s=Abt(t);let a=-1;for(;++a0?{type:"text",value:$}:void 0),$===!1?p.lastIndex=I+1:(b!==I&&_.push({type:"text",value:c.value.slice(b,I)}),Array.isArray($)?_.push(...$):$&&_.push($),b=I+C[0].length,T=!0),!p.global)break;C=p.exec(c.value)}return T?(b?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=PI(e,"(");let s=PI(e,")");for(;r!==-1&&i>s;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),s++;return[e,n]}function MSe(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||xy(n)||kN(n))&&(!t||n!==47)}FSe.peek=Jbt;function qbt(){return{enter:{gfmFootnoteDefinition:Wbt,gfmFootnoteDefinitionLabelString:Qbt,gfmFootnoteCall:Ybt,gfmFootnoteCallString:Zbt},exit:{gfmFootnoteDefinition:Gbt,gfmFootnoteDefinitionLabelString:Vbt,gfmFootnoteCall:Kbt,gfmFootnoteCallString:Xbt}}}function jbt(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:eyt,footnoteReference:FSe}}}function Wbt(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Qbt(){this.buffer()}function Vbt(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=uh(this.sliceSerialize(e)).toLowerCase()}function Gbt(e){this.exit(e)}function Ybt(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Zbt(){this.buffer()}function Xbt(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=uh(this.sliceSerialize(e)).toLowerCase()}function Kbt(e){this.exit(e)}function FSe(e,t,n,r){const i=n.createTracker(r);let s=i.move("[^");const a=n.enter("footnoteReference"),o=n.enter("reference");return s+=i.move(n.safe(n.associationId(e),{...i.current(),before:s,after:"]"})),o(),a(),s+=i.move("]"),s}function Jbt(){return"["}function eyt(e,t,n,r){const i=n.createTracker(r);let s=i.move("[^");const a=n.enter("footnoteDefinition"),o=n.enter("label");return s+=i.move(n.safe(n.associationId(e),{...i.current(),before:s,after:"]"})),o(),s+=i.move("]:"+(e.children&&e.children.length>0?" ":"")),i.shift(4),s+=i.move(n.indentLines(n.containerFlow(e,i.current()),tyt)),a(),s}function tyt(e,t,n){return t===0?e:(n?"":" ")+e}const nyt=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];$Se.peek=oyt;function ryt(){return{canContainEols:["delete"],enter:{strikethrough:syt},exit:{strikethrough:ayt}}}function iyt(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:nyt}],handlers:{delete:$Se}}}function syt(e){this.enter({type:"delete",children:[]},e)}function ayt(e){this.exit(e)}function $Se(e,t,n,r){const i=n.createTracker(r),s=n.enter("strikethrough");let a=i.move("~~");return a+=n.containerPhrasing(e,{...i.current(),before:a,after:"~"}),a+=i.move("~~"),s(),a}function oyt(){return"~"}function lyt(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||cyt,i=[],s=[],a=[],o=[];let l=0,c=-1;for(;++cl&&(l=e[c].length);++xo[x])&&(o[x]=_)}b.push(T)}s[c]=b,a[c]=w}let d=-1;if(typeof n=="object"&&"length"in n)for(;++do[d]&&(o[d]=T),p[d]=T),f[d]=_}s.splice(1,0,f),a.splice(1,0,p),c=-1;const g=[];for(;++c "),s.shift(2);const a=n.indentLines(n.containerFlow(e,s.current()),fyt);return i(),a}function fyt(e,t,n){return">"+(n?"":" ")+e}function hyt(e,t){return Sae(e,t.inConstruct,!0)&&!Sae(e,t.notInConstruct,!1)}function Sae(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++ra&&(a=s):s=1,i=r+t.length,r=n.indexOf(t,i);return a}function myt(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function gyt(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function byt(e,t,n,r){const i=gyt(n),s=e.value||"",a=i==="`"?"GraveAccent":"Tilde";if(myt(e,n)){const f=n.enter("codeIndented"),p=n.indentLines(s,yyt);return f(),p}const o=n.createTracker(r),l=i.repeat(Math.max(pyt(s,i)+1,3)),c=n.enter("codeFenced");let d=o.move(l);if(e.lang){const f=n.enter(`codeFencedLang${a}`);d+=o.move(n.safe(e.lang,{before:d,after:" ",encode:["`"],...o.current()})),f()}if(e.lang&&e.meta){const f=n.enter(`codeFencedMeta${a}`);d+=o.move(" "),d+=o.move(n.safe(e.meta,{before:d,after:` +`}),n}function sae(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function aae(e,t){const n=Z1t(e,t),r=n.one(e,void 0),i=G1t(n),s=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&s.children.push({type:"text",value:` +`},i),s}function tbt(e,t){return e&&"run"in e?async function(n,r){const i=aae(n,{file:r,...t});await e.run(i,r)}:function(n,r){return aae(n,{file:r,...e||t})}}function oae(e){if(e)throw e}var bR=Object.prototype.hasOwnProperty,LSe=Object.prototype.toString,lae=Object.defineProperty,uae=Object.getOwnPropertyDescriptor,cae=function(t){return typeof Array.isArray=="function"?Array.isArray(t):LSe.call(t)==="[object Array]"},dae=function(t){if(!t||LSe.call(t)!=="[object Object]")return!1;var n=bR.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&bR.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||bR.call(t,i)},fae=function(t,n){lae&&n.name==="__proto__"?lae(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},hae=function(t,n){if(n==="__proto__")if(bR.call(t,n)){if(uae)return uae(t,n).value}else return;return t[n]},nbt=function e(){var t,n,r,i,s,a,o=arguments[0],l=1,c=arguments.length,d=!1;for(typeof o=="boolean"&&(d=o,o=arguments[1]||{},l=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});la.length;let l;o&&a.push(i);try{l=e.apply(this,a)}catch(c){const d=c;if(o&&n)throw d;return i(d)}o||(l&&l.then&&typeof l.then=="function"?l.then(s,i):l instanceof Error?i(l):s(l))}function i(a,...o){n||(n=!0,t(a,...o))}function s(a){i(null,a)}}const Kh={basename:sbt,dirname:abt,extname:obt,join:lbt,sep:"/"};function sbt(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');LA(e);let n=0,r=-1,i=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(s){n=i+1;break}}else r<0&&(s=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,o=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(s){n=i+1;break}}else a<0&&(s=!0,a=i+1),o>-1&&(e.codePointAt(i)===t.codePointAt(o--)?o<0&&(r=i):(o=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function abt(e){if(LA(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function obt(e){LA(e);let t=e.length,n=-1,r=0,i=-1,s=0,a;for(;t--;){const o=e.codePointAt(t);if(o===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),o===46?i<0?i=t:s!==1&&(s=1):i>-1&&(s=-1)}return i<0||n<0||s===0||s===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function lbt(...e){let t=-1,n;for(;++t0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function cbt(e,t){let n="",r=0,i=-1,s=0,a=-1,o,l;for(;++a<=e.length;){if(a2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=a,s=0;continue}}else if(n.length>0){n="",r=0,i=a,s=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,a):n=e.slice(i+1,a),r=a-i-1;i=a,s=0}else o===46&&s>-1?s++:s=-1}return n}function LA(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const dbt={cwd:fbt};function fbt(){return"/"}function JB(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function hbt(e){if(typeof e=="string")e=new URL(e);else if(!JB(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return pbt(e)}function pbt(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n0){let[g,...b]=d;const w=r[p][1];KB(w)&&KB(g)&&(g=jL(!0,w,g)),r[p]=[c,g,...b]}}}}const ybt=new EY().freeze();function GL(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function YL(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function ZL(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function mae(e){if(!KB(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function gae(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function f3(e){return vbt(e)?e:new MSe(e)}function vbt(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Sbt(e){return typeof e=="string"||Obt(e)}function Obt(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Ebt="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",bae=[],yae={allowDangerousHtml:!0},wbt=/^(https?|ircs?|mailto|xmpp)$/i,xbt=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Tbt(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",i=e.className,s=e.components,a=e.disallowedElements,o=e.rehypePlugins||bae,l=e.remarkPlugins||bae,c=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...yae}:yae,d=e.skipHtml,f=e.unwrapDisallowed,p=e.urlTransform||kbt,g=ybt().use(v1t).use(l).use(tbt,c).use(o),b=new MSe;typeof r=="string"&&(b.value=r);for(const _ of xbt)Object.hasOwn(e,_.from)&&(""+_.from+(_.to?"use `"+_.to+"` instead":"remove it")+Ebt+_.id,void 0);const w=g.parse(b);let x=g.runSync(w,b);return i&&(x={type:"element",tagName:"div",properties:{className:i},children:x.type==="root"?x.children:[x]}),Tu(x,T),tmt(x,{Fragment:U.Fragment,components:s,ignoreInvalidStyle:!0,jsx:U.jsx,jsxs:U.jsxs,passKeys:!0,passNode:!0});function T(_,C,I){if(_.type==="raw"&&I&&typeof C=="number")return d?I.children.splice(C,1):I.children[C]={type:"text",value:_.value},C;if(_.type==="element"){let M;for(M in zL)if(Object.hasOwn(zL,M)&&Object.hasOwn(_.properties,M)){const $=_.properties[M],B=zL[M];(B===null||B.includes(_.tagName))&&(_.properties[M]=p(String($||""),M,_))}}if(_.type==="element"){let M=t?!t.includes(_.tagName):a?a.includes(_.tagName):!1;if(!M&&n&&typeof C=="number"&&(M=!n(_,C,I)),M&&I&&typeof C=="number")return f&&_.children?I.children.splice(C,1,..._.children):I.children.splice(C,1),C}}}function kbt(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t<0||i>-1&&t>i||n>-1&&t>n||r>-1&&t>r||wbt.test(e.slice(0,t))?e:""}function PI(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function _bt(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Abt(e,t,n){const i=vA((n||{}).ignore||[]),s=Cbt(t);let a=-1;for(;++a0?{type:"text",value:$}:void 0),$===!1?p.lastIndex=I+1:(b!==I&&_.push({type:"text",value:c.value.slice(b,I)}),Array.isArray($)?_.push(...$):$&&_.push($),b=I+C[0].length,T=!0),!p.global)break;C=p.exec(c.value)}return T?(b?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=PI(e,"(");let s=PI(e,")");for(;r!==-1&&i>s;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),s++;return[e,n]}function FSe(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||xy(n)||kN(n))&&(!t||n!==47)}$Se.peek=eyt;function jbt(){return{enter:{gfmFootnoteDefinition:Qbt,gfmFootnoteDefinitionLabelString:Vbt,gfmFootnoteCall:Zbt,gfmFootnoteCallString:Xbt},exit:{gfmFootnoteDefinition:Ybt,gfmFootnoteDefinitionLabelString:Gbt,gfmFootnoteCall:Jbt,gfmFootnoteCallString:Kbt}}}function Wbt(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:tyt,footnoteReference:$Se}}}function Qbt(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Vbt(){this.buffer()}function Gbt(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=uh(this.sliceSerialize(e)).toLowerCase()}function Ybt(e){this.exit(e)}function Zbt(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Xbt(){this.buffer()}function Kbt(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=uh(this.sliceSerialize(e)).toLowerCase()}function Jbt(e){this.exit(e)}function $Se(e,t,n,r){const i=n.createTracker(r);let s=i.move("[^");const a=n.enter("footnoteReference"),o=n.enter("reference");return s+=i.move(n.safe(n.associationId(e),{...i.current(),before:s,after:"]"})),o(),a(),s+=i.move("]"),s}function eyt(){return"["}function tyt(e,t,n,r){const i=n.createTracker(r);let s=i.move("[^");const a=n.enter("footnoteDefinition"),o=n.enter("label");return s+=i.move(n.safe(n.associationId(e),{...i.current(),before:s,after:"]"})),o(),s+=i.move("]:"+(e.children&&e.children.length>0?" ":"")),i.shift(4),s+=i.move(n.indentLines(n.containerFlow(e,i.current()),nyt)),a(),s}function nyt(e,t,n){return t===0?e:(n?"":" ")+e}const ryt=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];BSe.peek=lyt;function iyt(){return{canContainEols:["delete"],enter:{strikethrough:ayt},exit:{strikethrough:oyt}}}function syt(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:ryt}],handlers:{delete:BSe}}}function ayt(e){this.enter({type:"delete",children:[]},e)}function oyt(e){this.exit(e)}function BSe(e,t,n,r){const i=n.createTracker(r),s=n.enter("strikethrough");let a=i.move("~~");return a+=n.containerPhrasing(e,{...i.current(),before:a,after:"~"}),a+=i.move("~~"),s(),a}function lyt(){return"~"}function uyt(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||dyt,i=[],s=[],a=[],o=[];let l=0,c=-1;for(;++cl&&(l=e[c].length);++xo[x])&&(o[x]=_)}b.push(T)}s[c]=b,a[c]=w}let d=-1;if(typeof n=="object"&&"length"in n)for(;++do[d]&&(o[d]=T),p[d]=T),f[d]=_}s.splice(1,0,f),a.splice(1,0,p),c=-1;const g=[];for(;++c "),s.shift(2);const a=n.indentLines(n.containerFlow(e,s.current()),hyt);return i(),a}function hyt(e,t,n){return">"+(n?"":" ")+e}function pyt(e,t){return Sae(e,t.inConstruct,!0)&&!Sae(e,t.notInConstruct,!1)}function Sae(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++ra&&(a=s):s=1,i=r+t.length,r=n.indexOf(t,i);return a}function gyt(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function byt(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function yyt(e,t,n,r){const i=byt(n),s=e.value||"",a=i==="`"?"GraveAccent":"Tilde";if(gyt(e,n)){const f=n.enter("codeIndented"),p=n.indentLines(s,vyt);return f(),p}const o=n.createTracker(r),l=i.repeat(Math.max(myt(s,i)+1,3)),c=n.enter("codeFenced");let d=o.move(l);if(e.lang){const f=n.enter(`codeFencedLang${a}`);d+=o.move(n.safe(e.lang,{before:d,after:" ",encode:["`"],...o.current()})),f()}if(e.lang&&e.meta){const f=n.enter(`codeFencedMeta${a}`);d+=o.move(" "),d+=o.move(n.safe(e.meta,{before:d,after:` `,encode:["`"],...o.current()})),f()}return d+=o.move(` `),s&&(d+=o.move(s+` -`)),d+=o.move(l),c(),d}function yyt(e,t,n){return(n?"":" ")+e}function wY(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function vyt(e,t,n,r){const i=wY(n),s=i==='"'?"Quote":"Apostrophe",a=n.enter("definition");let o=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),o(),!e.url||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":` -`,...l.current()}))),o(),e.title&&(o=n.enter(`title${s}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),o()),a(),c}function Syt(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}BSe.peek=Oyt;function BSe(e,t,n,r){const i=Syt(n),s=n.enter("emphasis"),a=n.createTracker(r);let o=a.move(i);return o+=a.move(n.containerPhrasing(e,{before:o,after:i,...a.current()})),o+=a.move(i),s(),o}function Oyt(e,t,n){return n.options.emphasis||"*"}function Eyt(e,t){let n=!1;return Tu(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,TI}),!!((!e.depth||e.depth<3)&&SY(e)&&(t.options.setext||n))}function wyt(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(Eyt(e,n)){const d=n.enter("headingSetext"),f=n.enter("phrasing"),p=n.containerPhrasing(e,{...s.current(),before:` +`)),d+=o.move(l),c(),d}function vyt(e,t,n){return(n?"":" ")+e}function wY(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function Syt(e,t,n,r){const i=wY(n),s=i==='"'?"Quote":"Apostrophe",a=n.enter("definition");let o=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),o(),!e.url||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":` +`,...l.current()}))),o(),e.title&&(o=n.enter(`title${s}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),o()),a(),c}function Oyt(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}USe.peek=Eyt;function USe(e,t,n,r){const i=Oyt(n),s=n.enter("emphasis"),a=n.createTracker(r);let o=a.move(i);return o+=a.move(n.containerPhrasing(e,{before:o,after:i,...a.current()})),o+=a.move(i),s(),o}function Eyt(e,t,n){return n.options.emphasis||"*"}function wyt(e,t){let n=!1;return Tu(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,TI}),!!((!e.depth||e.depth<3)&&SY(e)&&(t.options.setext||n))}function xyt(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(wyt(e,n)){const d=n.enter("headingSetext"),f=n.enter("phrasing"),p=n.containerPhrasing(e,{...s.current(),before:` `,after:` `});return f(),d(),p+` `+(i===1?"=":"-").repeat(p.length-(Math.max(p.lastIndexOf("\r"),p.lastIndexOf(` `))+1))}const a="#".repeat(i),o=n.enter("headingAtx"),l=n.enter("phrasing");s.move(a+" ");let c=n.containerPhrasing(e,{before:"# ",after:` -`,...s.current()});return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),o(),c}USe.peek=xyt;function USe(e){return e.value||""}function xyt(){return"<"}zSe.peek=Tyt;function zSe(e,t,n,r){const i=wY(n),s=i==='"'?"Quote":"Apostrophe",a=n.enter("image");let o=n.enter("label");const l=n.createTracker(r);let c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),o(),e.title&&(o=n.enter(`title${s}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),o()),c+=l.move(")"),a(),c}function Tyt(){return"!"}HSe.peek=kyt;function HSe(e,t,n,r){const i=e.referenceType,s=n.enter("imageReference");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("![");const c=n.safe(e.alt,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),a();const d=n.stack;n.stack=[],a=n.enter("reference");const f=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=d,s(),i==="full"||!c||c!==f?l+=o.move(f+"]"):i==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function kyt(){return"!"}qSe.peek=_yt;function qSe(e,t,n){let r=e.value||"",i="`",s=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++s\u007F]/.test(e.url))}WSe.peek=Ayt;function WSe(e,t,n,r){const i=wY(n),s=i==='"'?"Quote":"Apostrophe",a=n.createTracker(r);let o,l;if(jSe(e,n)){const d=n.stack;n.stack=[],o=n.enter("autolink");let f=a.move("<");return f+=a.move(n.containerPhrasing(e,{before:f,after:">",...a.current()})),f+=a.move(">"),o(),n.stack=d,f}o=n.enter("link"),l=n.enter("label");let c=a.move("[");return c+=a.move(n.containerPhrasing(e,{before:c,after:"](",...a.current()})),c+=a.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(n.safe(e.url,{before:c,after:">",...a.current()})),c+=a.move(">")):(l=n.enter("destinationRaw"),c+=a.move(n.safe(e.url,{before:c,after:e.title?" ":")",...a.current()}))),l(),e.title&&(l=n.enter(`title${s}`),c+=a.move(" "+i),c+=a.move(n.safe(e.title,{before:c,after:i,...a.current()})),c+=a.move(i),l()),c+=a.move(")"),o(),c}function Ayt(e,t,n){return jSe(e,n)?"<":"["}QSe.peek=Cyt;function QSe(e,t,n,r){const i=e.referenceType,s=n.enter("linkReference");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("[");const c=n.containerPhrasing(e,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),a();const d=n.stack;n.stack=[],a=n.enter("reference");const f=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=d,s(),i==="full"||!c||c!==f?l+=o.move(f+"]"):i==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function Cyt(){return"["}function xY(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Ryt(e){const t=xY(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function Iyt(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function VSe(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function Dyt(e,t,n,r){const i=n.enter("list"),s=n.bulletCurrent;let a=e.ordered?Iyt(n):xY(n);const o=e.ordered?a==="."?")":".":Ryt(n);let l=t&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!e.ordered){const d=e.children?e.children[0]:void 0;if((a==="*"||a==="-")&&d&&(!d.children||!d.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(l=!0),VSe(n)===a&&d){let f=-1;for(;++f-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+s);let a=s.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(a=Math.ceil(a/4)*4);const o=n.createTracker(r);o.move(s+" ".repeat(a-s.length)),o.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,o.current()),d);return l(),c;function d(f,p,g){return p?(g?"":" ".repeat(a))+f:(g?s:s+" ".repeat(a-s.length))+f}}function Lyt(e,t,n,r){const i=n.enter("paragraph"),s=n.enter("phrasing"),a=n.containerPhrasing(e,r);return s(),i(),a}const Myt=vA(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Fyt(e,t,n,r){return(e.children.some(function(a){return Myt(a)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function $yt(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}GSe.peek=Byt;function GSe(e,t,n,r){const i=$yt(n),s=n.enter("strong"),a=n.createTracker(r);let o=a.move(i+i);return o+=a.move(n.containerPhrasing(e,{before:o,after:i,...a.current()})),o+=a.move(i+i),s(),o}function Byt(e,t,n){return n.options.strong||"*"}function Uyt(e,t,n,r){return n.safe(e.value,r)}function zyt(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function Hyt(e,t,n){const r=(VSe(n)+(n.options.ruleSpaces?" ":"")).repeat(zyt(n));return n.options.ruleSpaces?r.slice(0,-1):r}const YSe={blockquote:dyt,break:Oae,code:byt,definition:vyt,emphasis:BSe,hardBreak:Oae,heading:wyt,html:USe,image:zSe,imageReference:HSe,inlineCode:qSe,link:WSe,linkReference:QSe,list:Dyt,listItem:Pyt,paragraph:Lyt,root:Fyt,strong:GSe,text:Uyt,thematicBreak:Hyt};function qyt(){return{enter:{table:jyt,tableData:Eae,tableHeader:Eae,tableRow:Qyt},exit:{codeText:Vyt,table:Wyt,tableData:e8,tableHeader:e8,tableRow:e8}}}function jyt(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function Wyt(e){this.exit(e),this.data.inTable=void 0}function Qyt(e){this.enter({type:"tableRow",children:[]},e)}function e8(e){this.exit(e)}function Eae(e){this.enter({type:"tableCell",children:[]},e)}function Vyt(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Gyt));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Gyt(e,t){return t==="|"?t:e}function Yyt(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,s=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` +`,...s.current()});return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),o(),c}zSe.peek=Tyt;function zSe(e){return e.value||""}function Tyt(){return"<"}HSe.peek=kyt;function HSe(e,t,n,r){const i=wY(n),s=i==='"'?"Quote":"Apostrophe",a=n.enter("image");let o=n.enter("label");const l=n.createTracker(r);let c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),o(),e.title&&(o=n.enter(`title${s}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),o()),c+=l.move(")"),a(),c}function kyt(){return"!"}qSe.peek=_yt;function qSe(e,t,n,r){const i=e.referenceType,s=n.enter("imageReference");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("![");const c=n.safe(e.alt,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),a();const d=n.stack;n.stack=[],a=n.enter("reference");const f=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=d,s(),i==="full"||!c||c!==f?l+=o.move(f+"]"):i==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function _yt(){return"!"}jSe.peek=Ayt;function jSe(e,t,n){let r=e.value||"",i="`",s=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++s\u007F]/.test(e.url))}QSe.peek=Cyt;function QSe(e,t,n,r){const i=wY(n),s=i==='"'?"Quote":"Apostrophe",a=n.createTracker(r);let o,l;if(WSe(e,n)){const d=n.stack;n.stack=[],o=n.enter("autolink");let f=a.move("<");return f+=a.move(n.containerPhrasing(e,{before:f,after:">",...a.current()})),f+=a.move(">"),o(),n.stack=d,f}o=n.enter("link"),l=n.enter("label");let c=a.move("[");return c+=a.move(n.containerPhrasing(e,{before:c,after:"](",...a.current()})),c+=a.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(n.safe(e.url,{before:c,after:">",...a.current()})),c+=a.move(">")):(l=n.enter("destinationRaw"),c+=a.move(n.safe(e.url,{before:c,after:e.title?" ":")",...a.current()}))),l(),e.title&&(l=n.enter(`title${s}`),c+=a.move(" "+i),c+=a.move(n.safe(e.title,{before:c,after:i,...a.current()})),c+=a.move(i),l()),c+=a.move(")"),o(),c}function Cyt(e,t,n){return WSe(e,n)?"<":"["}VSe.peek=Ryt;function VSe(e,t,n,r){const i=e.referenceType,s=n.enter("linkReference");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("[");const c=n.containerPhrasing(e,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),a();const d=n.stack;n.stack=[],a=n.enter("reference");const f=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=d,s(),i==="full"||!c||c!==f?l+=o.move(f+"]"):i==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function Ryt(){return"["}function xY(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Iyt(e){const t=xY(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function Dyt(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function GSe(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function Nyt(e,t,n,r){const i=n.enter("list"),s=n.bulletCurrent;let a=e.ordered?Dyt(n):xY(n);const o=e.ordered?a==="."?")":".":Iyt(n);let l=t&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!e.ordered){const d=e.children?e.children[0]:void 0;if((a==="*"||a==="-")&&d&&(!d.children||!d.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(l=!0),GSe(n)===a&&d){let f=-1;for(;++f-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+s);let a=s.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(a=Math.ceil(a/4)*4);const o=n.createTracker(r);o.move(s+" ".repeat(a-s.length)),o.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,o.current()),d);return l(),c;function d(f,p,g){return p?(g?"":" ".repeat(a))+f:(g?s:s+" ".repeat(a-s.length))+f}}function Myt(e,t,n,r){const i=n.enter("paragraph"),s=n.enter("phrasing"),a=n.containerPhrasing(e,r);return s(),i(),a}const Fyt=vA(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function $yt(e,t,n,r){return(e.children.some(function(a){return Fyt(a)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function Byt(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}YSe.peek=Uyt;function YSe(e,t,n,r){const i=Byt(n),s=n.enter("strong"),a=n.createTracker(r);let o=a.move(i+i);return o+=a.move(n.containerPhrasing(e,{before:o,after:i,...a.current()})),o+=a.move(i+i),s(),o}function Uyt(e,t,n){return n.options.strong||"*"}function zyt(e,t,n,r){return n.safe(e.value,r)}function Hyt(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function qyt(e,t,n){const r=(GSe(n)+(n.options.ruleSpaces?" ":"")).repeat(Hyt(n));return n.options.ruleSpaces?r.slice(0,-1):r}const ZSe={blockquote:fyt,break:Oae,code:yyt,definition:Syt,emphasis:USe,hardBreak:Oae,heading:xyt,html:zSe,image:HSe,imageReference:qSe,inlineCode:jSe,link:QSe,linkReference:VSe,list:Nyt,listItem:Lyt,paragraph:Myt,root:$yt,strong:YSe,text:zyt,thematicBreak:qyt};function jyt(){return{enter:{table:Wyt,tableData:Eae,tableHeader:Eae,tableRow:Vyt},exit:{codeText:Gyt,table:Qyt,tableData:e8,tableHeader:e8,tableRow:e8}}}function Wyt(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function Qyt(e){this.exit(e),this.data.inTable=void 0}function Vyt(e){this.enter({type:"tableRow",children:[]},e)}function e8(e){this.exit(e)}function Eae(e){this.enter({type:"tableCell",children:[]},e)}function Gyt(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Yyt));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Yyt(e,t){return t==="|"?t:e}function Zyt(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,s=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:p,table:a,tableCell:l,tableRow:o}};function a(g,b,w,x){return c(d(g,w,x),g.align)}function o(g,b,w,x){const T=f(g,w,x),_=c([T]);return _.slice(0,_.indexOf(` -`))}function l(g,b,w,x){const T=w.enter("tableCell"),_=w.enter("phrasing"),C=w.containerPhrasing(g,{...x,before:s,after:s});return _(),T(),C}function c(g,b){return lyt(g,{align:b,alignDelimiters:r,padding:n,stringLength:i})}function d(g,b,w){const x=g.children;let T=-1;const _=[],C=b.enter("table");for(;++T0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const hvt={tokenize:Ovt,partial:!0};function pvt(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:yvt,continuation:{tokenize:vvt},exit:Svt}},text:{91:{name:"gfmFootnoteCall",tokenize:bvt},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:mvt,resolveTo:gvt}}}}function mvt(e,t,n){const r=this;let i=r.events.length;const s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;i--;){const l=r.events[i][1];if(l.type==="labelImage"){a=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return o;function o(l){if(!a||!a._balanced)return n(l);const c=uh(r.sliceSerialize({start:a.end,end:r.now()}));return c.codePointAt(0)!==94||!s.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function gvt(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},o=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",s,t],["enter",a,t],["exit",a,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...o),e}function bvt(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s=0,a;return o;function o(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),l}function l(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(f){if(s>999||f===93&&!a||f===null||f===91||As(f))return n(f);if(f===93){e.exit("chunkString");const p=e.exit("gfmFootnoteCallString");return i.includes(uh(r.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return As(f)||(a=!0),s++,e.consume(f),f===92?d:c}function d(f){return f===91||f===92||f===93?(e.consume(f),s++,c):c(f)}}function yvt(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s,a=0,o;return l;function l(b){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(b){return b===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",d):n(b)}function d(b){if(a>999||b===93&&!o||b===null||b===91||As(b))return n(b);if(b===93){e.exit("chunkString");const w=e.exit("gfmFootnoteDefinitionLabelString");return s=uh(r.sliceSerialize(w)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return As(b)||(o=!0),a++,e.consume(b),b===92?f:d}function f(b){return b===91||b===92||b===93?(e.consume(b),a++,d):d(b)}function p(b){return b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),i.includes(s)||i.push(s),Pi(e,g,"gfmFootnoteDefinitionWhitespace")):n(b)}function g(b){return t(b)}}function vvt(e,t,n){return e.check(PA,t,e.attempt(hvt,t,n))}function Svt(e){e.exit("gfmFootnoteDefinition")}function Ovt(e,t,n){const r=this;return Pi(e,i,"gfmFootnoteDefinitionIndent",5);function i(s){const a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(s):n(s)}}function Evt(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:s,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(a,o){let l=-1;for(;++l1?l(b):(a.consume(b),f++,g);if(f<2&&!n)return l(b);const x=a.exit("strikethroughSequenceTemporary"),T=NI(b);return x._open=!T||T===2&&!!w,x._close=!w||w===2&&!!T,o(b)}}}class wvt{constructor(){this.map=[]}add(t,n,r){xvt(this,t,n,r)}consume(t){if(this.map.sort(function(s,a){return s[0]-a[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push([...t]),t.length=0;let i=r.pop();for(;i;)t.push(...i),i=r.pop();this.map.length=0}}function xvt(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i-1;){const fe=r.events[ie][1].type;if(fe==="lineEnding"||fe==="linePrefix")ie--;else break}const se=ie>-1?r.events[ie][1].type:null,me=se==="tableHead"||se==="tableRow"?$:l;return me===$&&r.parser.lazy[r.now().line]?n(V):me(V)}function l(V){return e.enter("tableHead"),e.enter("tableRow"),c(V)}function c(V){return V===124||(a=!0,s+=1),d(V)}function d(V){return V===null?n(V):br(V)?s>1?(s=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(V),e.exit("lineEnding"),g):n(V):di(V)?Pi(e,d,"whitespace")(V):(s+=1,a&&(a=!1,i+=1),V===124?(e.enter("tableCellDivider"),e.consume(V),e.exit("tableCellDivider"),a=!0,d):(e.enter("data"),f(V)))}function f(V){return V===null||V===124||As(V)?(e.exit("data"),d(V)):(e.consume(V),V===92?p:f)}function p(V){return V===92||V===124?(e.consume(V),f):f(V)}function g(V){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(V):(e.enter("tableDelimiterRow"),a=!1,di(V)?Pi(e,b,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(V):b(V))}function b(V){return V===45||V===58?x(V):V===124?(a=!0,e.enter("tableCellDivider"),e.consume(V),e.exit("tableCellDivider"),w):M(V)}function w(V){return di(V)?Pi(e,x,"whitespace")(V):x(V)}function x(V){return V===58?(s+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(V),e.exit("tableDelimiterMarker"),T):V===45?(s+=1,T(V)):V===null||br(V)?I(V):M(V)}function T(V){return V===45?(e.enter("tableDelimiterFiller"),_(V)):M(V)}function _(V){return V===45?(e.consume(V),_):V===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(V),e.exit("tableDelimiterMarker"),C):(e.exit("tableDelimiterFiller"),C(V))}function C(V){return di(V)?Pi(e,I,"whitespace")(V):I(V)}function I(V){return V===124?b(V):V===null||br(V)?!a||i!==s?M(V):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(V)):M(V)}function M(V){return n(V)}function $(V){return e.enter("tableRow"),B(V)}function B(V){return V===124?(e.enter("tableCellDivider"),e.consume(V),e.exit("tableCellDivider"),B):V===null||br(V)?(e.exit("tableRow"),t(V)):di(V)?Pi(e,B,"whitespace")(V):(e.enter("data"),j(V))}function j(V){return V===null||V===124||As(V)?(e.exit("data"),B(V)):(e.consume(V),V===92?F:j)}function F(V){return V===92||V===124?(e.consume(V),j):j(V)}}function Avt(e,t){let n=-1,r=!0,i=0,s=[0,0,0,0],a=[0,0,0,0],o=!1,l=0,c,d,f;const p=new wvt;for(;++nn[2]+1){const b=n[2]+1,w=n[3]-n[2]-1;e.add(b,w,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return i!==void 0&&(s.end=Object.assign({},fS(t.events,i)),e.add(i,0,[["exit",s,t]]),s=void 0),s}function xae(e,t,n,r,i){const s=[],a=fS(t.events,n);i&&(i.end=Object.assign({},a),s.push(["exit",i,t])),r.end=Object.assign({},a),s.push(["exit",r,t]),e.add(n+1,0,s)}function fS(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const Cvt={name:"tasklistCheck",tokenize:Ivt};function Rvt(){return{text:{91:Cvt}}}function Ivt(e,t,n){const r=this;return i;function i(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),s)}function s(l){return As(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),a):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),a):n(l)}function a(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(l)}function o(l){return br(l)?t(l):di(l)?e.check({tokenize:Dvt},t,n)(l):n(l)}}function Dvt(e,t,n){return Pi(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function Nvt(e){return vSe([ivt(),pvt(),Evt(e),kvt(),Rvt()])}const Pvt={};function Lvt(e){const t=this,n=e||Pvt,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(Nvt(n)),s.push(evt()),a.push(tvt(n))}const Mvt=/^\[!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)\]/i,Fvt=/^\[!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)(\/.*)?\]/i,$vt=({legacyTitle:e=!1}={})=>t=>{Tu(t,"blockquote",(n,r,i)=>{let s="",a="",o=!0,l=n.children.map(c=>{if(o&&c.type==="paragraph"){const d=c.children[0],f=d.type==="text"?d.value:"",p=e?Fvt:Mvt,g=f.match(p);if(g&&(o=!1,s=g[1].toLocaleLowerCase(),a=e&&g[2]||s.toLocaleUpperCase(),f.includes(` +`))}function l(g,b,w,x){const T=w.enter("tableCell"),_=w.enter("phrasing"),C=w.containerPhrasing(g,{...x,before:s,after:s});return _(),T(),C}function c(g,b){return uyt(g,{align:b,alignDelimiters:r,padding:n,stringLength:i})}function d(g,b,w){const x=g.children;let T=-1;const _=[],C=b.enter("table");for(;++T0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const pvt={tokenize:Evt,partial:!0};function mvt(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:vvt,continuation:{tokenize:Svt},exit:Ovt}},text:{91:{name:"gfmFootnoteCall",tokenize:yvt},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:gvt,resolveTo:bvt}}}}function gvt(e,t,n){const r=this;let i=r.events.length;const s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;i--;){const l=r.events[i][1];if(l.type==="labelImage"){a=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return o;function o(l){if(!a||!a._balanced)return n(l);const c=uh(r.sliceSerialize({start:a.end,end:r.now()}));return c.codePointAt(0)!==94||!s.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function bvt(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},o=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",s,t],["enter",a,t],["exit",a,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...o),e}function yvt(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s=0,a;return o;function o(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),l}function l(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(f){if(s>999||f===93&&!a||f===null||f===91||As(f))return n(f);if(f===93){e.exit("chunkString");const p=e.exit("gfmFootnoteCallString");return i.includes(uh(r.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return As(f)||(a=!0),s++,e.consume(f),f===92?d:c}function d(f){return f===91||f===92||f===93?(e.consume(f),s++,c):c(f)}}function vvt(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s,a=0,o;return l;function l(b){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(b){return b===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",d):n(b)}function d(b){if(a>999||b===93&&!o||b===null||b===91||As(b))return n(b);if(b===93){e.exit("chunkString");const w=e.exit("gfmFootnoteDefinitionLabelString");return s=uh(r.sliceSerialize(w)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return As(b)||(o=!0),a++,e.consume(b),b===92?f:d}function f(b){return b===91||b===92||b===93?(e.consume(b),a++,d):d(b)}function p(b){return b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),i.includes(s)||i.push(s),Pi(e,g,"gfmFootnoteDefinitionWhitespace")):n(b)}function g(b){return t(b)}}function Svt(e,t,n){return e.check(PA,t,e.attempt(pvt,t,n))}function Ovt(e){e.exit("gfmFootnoteDefinition")}function Evt(e,t,n){const r=this;return Pi(e,i,"gfmFootnoteDefinitionIndent",5);function i(s){const a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(s):n(s)}}function wvt(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:s,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(a,o){let l=-1;for(;++l1?l(b):(a.consume(b),f++,g);if(f<2&&!n)return l(b);const x=a.exit("strikethroughSequenceTemporary"),T=NI(b);return x._open=!T||T===2&&!!w,x._close=!w||w===2&&!!T,o(b)}}}class xvt{constructor(){this.map=[]}add(t,n,r){Tvt(this,t,n,r)}consume(t){if(this.map.sort(function(s,a){return s[0]-a[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push([...t]),t.length=0;let i=r.pop();for(;i;)t.push(...i),i=r.pop();this.map.length=0}}function Tvt(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i-1;){const fe=r.events[ie][1].type;if(fe==="lineEnding"||fe==="linePrefix")ie--;else break}const se=ie>-1?r.events[ie][1].type:null,me=se==="tableHead"||se==="tableRow"?$:l;return me===$&&r.parser.lazy[r.now().line]?n(V):me(V)}function l(V){return e.enter("tableHead"),e.enter("tableRow"),c(V)}function c(V){return V===124||(a=!0,s+=1),d(V)}function d(V){return V===null?n(V):br(V)?s>1?(s=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(V),e.exit("lineEnding"),g):n(V):di(V)?Pi(e,d,"whitespace")(V):(s+=1,a&&(a=!1,i+=1),V===124?(e.enter("tableCellDivider"),e.consume(V),e.exit("tableCellDivider"),a=!0,d):(e.enter("data"),f(V)))}function f(V){return V===null||V===124||As(V)?(e.exit("data"),d(V)):(e.consume(V),V===92?p:f)}function p(V){return V===92||V===124?(e.consume(V),f):f(V)}function g(V){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(V):(e.enter("tableDelimiterRow"),a=!1,di(V)?Pi(e,b,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(V):b(V))}function b(V){return V===45||V===58?x(V):V===124?(a=!0,e.enter("tableCellDivider"),e.consume(V),e.exit("tableCellDivider"),w):M(V)}function w(V){return di(V)?Pi(e,x,"whitespace")(V):x(V)}function x(V){return V===58?(s+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(V),e.exit("tableDelimiterMarker"),T):V===45?(s+=1,T(V)):V===null||br(V)?I(V):M(V)}function T(V){return V===45?(e.enter("tableDelimiterFiller"),_(V)):M(V)}function _(V){return V===45?(e.consume(V),_):V===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(V),e.exit("tableDelimiterMarker"),C):(e.exit("tableDelimiterFiller"),C(V))}function C(V){return di(V)?Pi(e,I,"whitespace")(V):I(V)}function I(V){return V===124?b(V):V===null||br(V)?!a||i!==s?M(V):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(V)):M(V)}function M(V){return n(V)}function $(V){return e.enter("tableRow"),B(V)}function B(V){return V===124?(e.enter("tableCellDivider"),e.consume(V),e.exit("tableCellDivider"),B):V===null||br(V)?(e.exit("tableRow"),t(V)):di(V)?Pi(e,B,"whitespace")(V):(e.enter("data"),j(V))}function j(V){return V===null||V===124||As(V)?(e.exit("data"),B(V)):(e.consume(V),V===92?F:j)}function F(V){return V===92||V===124?(e.consume(V),j):j(V)}}function Cvt(e,t){let n=-1,r=!0,i=0,s=[0,0,0,0],a=[0,0,0,0],o=!1,l=0,c,d,f;const p=new xvt;for(;++nn[2]+1){const b=n[2]+1,w=n[3]-n[2]-1;e.add(b,w,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return i!==void 0&&(s.end=Object.assign({},fS(t.events,i)),e.add(i,0,[["exit",s,t]]),s=void 0),s}function xae(e,t,n,r,i){const s=[],a=fS(t.events,n);i&&(i.end=Object.assign({},a),s.push(["exit",i,t])),r.end=Object.assign({},a),s.push(["exit",r,t]),e.add(n+1,0,s)}function fS(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const Rvt={name:"tasklistCheck",tokenize:Dvt};function Ivt(){return{text:{91:Rvt}}}function Dvt(e,t,n){const r=this;return i;function i(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),s)}function s(l){return As(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),a):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),a):n(l)}function a(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(l)}function o(l){return br(l)?t(l):di(l)?e.check({tokenize:Nvt},t,n)(l):n(l)}}function Nvt(e,t,n){return Pi(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function Pvt(e){return SSe([svt(),mvt(),wvt(e),_vt(),Ivt()])}const Lvt={};function Mvt(e){const t=this,n=e||Lvt,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(Pvt(n)),s.push(tvt()),a.push(nvt(n))}const Fvt=/^\[!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)\]/i,$vt=/^\[!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)(\/.*)?\]/i,Bvt=({legacyTitle:e=!1}={})=>t=>{Tu(t,"blockquote",(n,r,i)=>{let s="",a="",o=!0,l=n.children.map(c=>{if(o&&c.type==="paragraph"){const d=c.children[0],f=d.type==="text"?d.value:"",p=e?$vt:Fvt,g=f.match(p);if(g&&(o=!1,s=g[1].toLocaleLowerCase(),a=e&&g[2]||s.toLocaleUpperCase(),f.includes(` `)&&(c.children[0]={type:"text",value:f.replace(p,"").replace(/^\n+/,"")}),!f.includes(` -`))){const b=[];c.children.forEach((w,x)=>{x!=0&&(x==1&&w.type==="break"||b.push(w))}),c.children=[...b]}}return c});s&&(n.data={hName:"div",hProperties:{class:`markdown-alert markdown-alert-${s}`,dir:"auto"}},l.unshift({type:"paragraph",children:[Bvt(s),{type:"text",value:a.replace(/^\//,"")}],data:{hProperties:{class:"markdown-alert-title",dir:"auto"}}})),n.children=[...l]})};function Bvt(e){let t=Uvt[e]??"";return{type:"emphasis",data:{hName:"svg",hProperties:{class:"octicon",viewBox:"0 0 16 16",width:"16",height:"16",ariaHidden:"true"}},children:[{type:"emphasis",data:{hName:"path",hProperties:{d:t}},children:[]}]}}const Uvt={note:"M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z",tip:"M8 1.5c-2.363 0-4 1.69-4 3.75 0 .984.424 1.625.984 2.304l.214.253c.223.264.47.556.673.848.284.411.537.896.621 1.49a.75.75 0 0 1-1.484.211c-.04-.282-.163-.547-.37-.847a8.456 8.456 0 0 0-.542-.68c-.084-.1-.173-.205-.268-.32C3.201 7.75 2.5 6.766 2.5 5.25 2.5 2.31 4.863 0 8 0s5.5 2.31 5.5 5.25c0 1.516-.701 2.5-1.328 3.259-.095.115-.184.22-.268.319-.207.245-.383.453-.541.681-.208.3-.33.565-.37.847a.751.751 0 0 1-1.485-.212c.084-.593.337-1.078.621-1.489.203-.292.45-.584.673-.848.075-.088.147-.173.213-.253.561-.679.985-1.32.985-2.304 0-2.06-1.637-3.75-4-3.75ZM5.75 12h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM6 15.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Z",important:"M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v9.5A1.75 1.75 0 0 1 14.25 13H8.06l-2.573 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25Zm7 2.25v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z",warning:"M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z",caution:"M4.47.22A.749.749 0 0 1 5 0h6c.199 0 .389.079.53.22l4.25 4.25c.141.14.22.331.22.53v6a.749.749 0 0 1-.22.53l-4.25 4.25A.749.749 0 0 1 11 16H5a.749.749 0 0 1-.53-.22L.22 11.53A.749.749 0 0 1 0 11V5c0-.199.079-.389.22-.53Zm.84 1.28L1.5 5.31v5.38l3.81 3.81h5.38l3.81-3.81V5.31L10.69 1.5ZM8 4a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"};function zvt(e,t){if(typeof document>"u")return;const n=document.createElement("textarea");n.value=e,n.setAttribute("readonly",""),n.style={position:"absolute",left:"-9999px"},document.body.appendChild(n);const r=document.getSelection().rangeCount>0?document.getSelection().getRangeAt(0):!1;n.select();let i=!1;try{i=!!document.execCommand("copy")}catch{i=!1}document.body.removeChild(n),r&&document.getSelection&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(r)),t&&t(i)}function iOe(e){if(!e)return null;var t=e;return t.dataset.code&&t.classList.contains("copied")?t:t.parentElement?iOe(t.parentElement):null}function Hvt(e){var t=n=>{var r=iOe(n.target);r&&(r.classList.add("active"),zvt(r.dataset.code,function(){setTimeout(()=>{r.classList.remove("active")},2e3)}))};Y.useEffect(()=>{var n,r;return(n=e.current)==null||n.removeEventListener("click",t,!1),(r=e.current)==null||r.addEventListener("click",t,!1),()=>{var i;(i=e.current)==null||i.removeEventListener("click",t,!1)}},[e])}var qvt=["prefixCls","className","source","style","disableCopy","skipHtml","onScroll","onMouseOver","pluginsFilter","rehypeRewrite","wrapperElement","warpperElement","urlTransform"],jvt=e=>e;const Wvt=Dn.forwardRef((e,t)=>{var{prefixCls:n="wmde-markdown wmde-markdown-color",className:r,source:i,style:s,disableCopy:a=!1,skipHtml:o=!0,onScroll:l,onMouseOver:c,pluginsFilter:d,wrapperElement:f={},warpperElement:p={},urlTransform:g}=e,b=Cz(e,qvt),w=Dn.useRef(null);Y.useImperativeHandle(t,()=>Kc({},e,{mdp:w}),[w,e]);var x=(n||"")+" "+(r||"");Hvt(w);var T=[...b.rehypePlugins||[]],_={allowElement:(M,$,B)=>b.allowElement?b.allowElement(M,$,B):/^[A-Za-z0-9]+$/.test(M.tagName)};o&&T.push(fSe);var C=[$vt,...b.remarkPlugins||[],Lvt],I=Kc({},p,f);return U.jsx("div",Kc({ref:w,onScroll:l,onMouseOver:c},I,{className:x,style:s,children:U.jsx(xbt,Kc({},_,b,{skipHtml:o,urlTransform:g||jvt,rehypePlugins:d?d("rehype",T):T,remarkPlugins:d?d("remark",C):C,children:i||""}))}))});var Qvt=function(t){return n=>{Tu(n,r=>{r.type==="element"&&r.tagName==="code"&&r.data&&r.data.meta&&(r.properties=Kc({},r.properties,{"data-meta":String(r.data.meta)}))})}},Vvt=function(t){return n=>{Tu(n,r=>{if(r.type==="element"&&r.tagName==="code"&&r.properties&&r.properties.dataMeta){r.data||(r.data={});var i=r.properties.dataMeta;typeof i=="string"&&(r.data.meta=i),delete r.properties.dataMeta}})}};const Gvt=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\u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uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,Yvt=Object.hasOwnProperty;class Zvt{constructor(){this.occurrences,this.reset()}slug(t,n){const r=this;let i=Xvt(t,n===!0);const s=i;for(;Yvt.call(r.occurrences,i);)r.occurrences[s]++,i=s+"-"+r.occurrences[s];return r.occurrences[i]=0,i}reset(){this.occurrences=Object.create(null)}}function Xvt(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(Gvt,"").replace(/ /g,"-"))}function sOe(e){const t=e.type==="element"?e.tagName.toLowerCase():"",n=t.length===2&&t.charCodeAt(0)===104?t.charCodeAt(1):0;return n>48&&n<55?n-48:void 0}const Kvt={},Tae=new Zvt;function Jvt(e){const n=(e||Kvt).prefix||"";return function(r){Tae.reset(),Tu(r,"element",function(i){sOe(i)&&!i.properties.id&&(i.properties.id=n+Tae.slug($S(i)))})}}const aOe=function(e){if(e==null)return nSt;if(typeof e=="string")return tSt(e);if(typeof e=="object")return eSt(e);if(typeof e=="function")return kY(e);throw new Error("Expected function, string, or array as `test`")};function eSt(e){const t=[];let n=-1;for(;++n{const{openDelimiter:t="rehype:ignore:start",closeDelimiter:n="rehype:ignore:end"}=e;return r=>{Tu(r,(i,s,a)=>{if(i.type==="element"||i.type==="root"){let o=!1;i.children=i.children.filter(l=>{if(l.type==="raw"||l.type==="comment"){let c=(l.value||"").trim();if(c=c.replace(/^/,"$1"),c===t)return o=!0,!1;if(c===n)return o=!1,!1}return!o})}})}};var oSt={type:"element",tagName:"svg",properties:{className:"octicon octicon-link",viewBox:"0 0 16 16",version:"1.1",width:"16",height:"16",ariaHidden:"true"},children:[{type:"element",tagName:"path",children:[],properties:{fillRule:"evenodd",d:"M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"}}]};function lSt(e){return e===void 0&&(e=""),{type:"element",tagName:"div",properties:{class:"copied","data-code":e},children:[{type:"element",tagName:"svg",properties:{className:"octicon-copy",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"},children:[]},{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"},children:[]}]},{type:"element",tagName:"svg",properties:{className:"octicon-check",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"},children:[]}]}]}}var uSt=(e,t)=>(n,r,i)=>{if(n.type==="element"&&i&&i.type==="root"&&/h(1|2|3|4|5|6)/.test(n.tagName)){var s=n.children&&n.children[0];s&&s.properties&&s.properties.ariaHidden==="true"&&(s.properties=Kc({class:"anchor"},s.properties),s.children=[oSt])}if(n.type==="element"&&n.tagName==="pre"&&!e){var a=yve(n.children);n.children.push(lSt(a))}t&&t(n,r===null?void 0:r,i===null?void 0:i)},cSt=[Jvt,sSt,aSt];const dSt=Dn.forwardRef((e,t)=>{var n,r=[Qvt,fSe,Vvt,...cSt,[dft,{rewrite:uSt((n=e.disableCopy)!=null?n:!1,e.rehypeRewrite)}],[pft,{properties:"attr"}],...e.rehypePlugins||[],[Xct,{ignoreMissing:!0}]];return U.jsx(Wvt,Kc({},e,{rehypePlugins:r,ref:t}))});function lOe(e){return e.split(` +`))){const b=[];c.children.forEach((w,x)=>{x!=0&&(x==1&&w.type==="break"||b.push(w))}),c.children=[...b]}}return c});s&&(n.data={hName:"div",hProperties:{class:`markdown-alert markdown-alert-${s}`,dir:"auto"}},l.unshift({type:"paragraph",children:[Uvt(s),{type:"text",value:a.replace(/^\//,"")}],data:{hProperties:{class:"markdown-alert-title",dir:"auto"}}})),n.children=[...l]})};function Uvt(e){let t=zvt[e]??"";return{type:"emphasis",data:{hName:"svg",hProperties:{class:"octicon",viewBox:"0 0 16 16",width:"16",height:"16",ariaHidden:"true"}},children:[{type:"emphasis",data:{hName:"path",hProperties:{d:t}},children:[]}]}}const zvt={note:"M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z",tip:"M8 1.5c-2.363 0-4 1.69-4 3.75 0 .984.424 1.625.984 2.304l.214.253c.223.264.47.556.673.848.284.411.537.896.621 1.49a.75.75 0 0 1-1.484.211c-.04-.282-.163-.547-.37-.847a8.456 8.456 0 0 0-.542-.68c-.084-.1-.173-.205-.268-.32C3.201 7.75 2.5 6.766 2.5 5.25 2.5 2.31 4.863 0 8 0s5.5 2.31 5.5 5.25c0 1.516-.701 2.5-1.328 3.259-.095.115-.184.22-.268.319-.207.245-.383.453-.541.681-.208.3-.33.565-.37.847a.751.751 0 0 1-1.485-.212c.084-.593.337-1.078.621-1.489.203-.292.45-.584.673-.848.075-.088.147-.173.213-.253.561-.679.985-1.32.985-2.304 0-2.06-1.637-3.75-4-3.75ZM5.75 12h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM6 15.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Z",important:"M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v9.5A1.75 1.75 0 0 1 14.25 13H8.06l-2.573 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25Zm7 2.25v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z",warning:"M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z",caution:"M4.47.22A.749.749 0 0 1 5 0h6c.199 0 .389.079.53.22l4.25 4.25c.141.14.22.331.22.53v6a.749.749 0 0 1-.22.53l-4.25 4.25A.749.749 0 0 1 11 16H5a.749.749 0 0 1-.53-.22L.22 11.53A.749.749 0 0 1 0 11V5c0-.199.079-.389.22-.53Zm.84 1.28L1.5 5.31v5.38l3.81 3.81h5.38l3.81-3.81V5.31L10.69 1.5ZM8 4a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"};function Hvt(e,t){if(typeof document>"u")return;const n=document.createElement("textarea");n.value=e,n.setAttribute("readonly",""),n.style={position:"absolute",left:"-9999px"},document.body.appendChild(n);const r=document.getSelection().rangeCount>0?document.getSelection().getRangeAt(0):!1;n.select();let i=!1;try{i=!!document.execCommand("copy")}catch{i=!1}document.body.removeChild(n),r&&document.getSelection&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(r)),t&&t(i)}function sOe(e){if(!e)return null;var t=e;return t.dataset.code&&t.classList.contains("copied")?t:t.parentElement?sOe(t.parentElement):null}function qvt(e){var t=n=>{var r=sOe(n.target);r&&(r.classList.add("active"),Hvt(r.dataset.code,function(){setTimeout(()=>{r.classList.remove("active")},2e3)}))};Y.useEffect(()=>{var n,r;return(n=e.current)==null||n.removeEventListener("click",t,!1),(r=e.current)==null||r.addEventListener("click",t,!1),()=>{var i;(i=e.current)==null||i.removeEventListener("click",t,!1)}},[e])}var jvt=["prefixCls","className","source","style","disableCopy","skipHtml","onScroll","onMouseOver","pluginsFilter","rehypeRewrite","wrapperElement","warpperElement","urlTransform"],Wvt=e=>e;const Qvt=Dn.forwardRef((e,t)=>{var{prefixCls:n="wmde-markdown wmde-markdown-color",className:r,source:i,style:s,disableCopy:a=!1,skipHtml:o=!0,onScroll:l,onMouseOver:c,pluginsFilter:d,wrapperElement:f={},warpperElement:p={},urlTransform:g}=e,b=Cz(e,jvt),w=Dn.useRef(null);Y.useImperativeHandle(t,()=>Jc({},e,{mdp:w}),[w,e]);var x=(n||"")+" "+(r||"");qvt(w);var T=[...b.rehypePlugins||[]],_={allowElement:(M,$,B)=>b.allowElement?b.allowElement(M,$,B):/^[A-Za-z0-9]+$/.test(M.tagName)};o&&T.push(hSe);var C=[Bvt,...b.remarkPlugins||[],Mvt],I=Jc({},p,f);return U.jsx("div",Jc({ref:w,onScroll:l,onMouseOver:c},I,{className:x,style:s,children:U.jsx(Tbt,Jc({},_,b,{skipHtml:o,urlTransform:g||Wvt,rehypePlugins:d?d("rehype",T):T,remarkPlugins:d?d("remark",C):C,children:i||""}))}))});var Vvt=function(t){return n=>{Tu(n,r=>{r.type==="element"&&r.tagName==="code"&&r.data&&r.data.meta&&(r.properties=Jc({},r.properties,{"data-meta":String(r.data.meta)}))})}},Gvt=function(t){return n=>{Tu(n,r=>{if(r.type==="element"&&r.tagName==="code"&&r.properties&&r.properties.dataMeta){r.data||(r.data={});var i=r.properties.dataMeta;typeof i=="string"&&(r.data.meta=i),delete r.properties.dataMeta}})}};const Yvt=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-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F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-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CFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,Zvt=Object.hasOwnProperty;class Xvt{constructor(){this.occurrences,this.reset()}slug(t,n){const r=this;let i=Kvt(t,n===!0);const s=i;for(;Zvt.call(r.occurrences,i);)r.occurrences[s]++,i=s+"-"+r.occurrences[s];return r.occurrences[i]=0,i}reset(){this.occurrences=Object.create(null)}}function Kvt(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(Yvt,"").replace(/ /g,"-"))}function aOe(e){const t=e.type==="element"?e.tagName.toLowerCase():"",n=t.length===2&&t.charCodeAt(0)===104?t.charCodeAt(1):0;return n>48&&n<55?n-48:void 0}const Jvt={},Tae=new Xvt;function eSt(e){const n=(e||Jvt).prefix||"";return function(r){Tae.reset(),Tu(r,"element",function(i){aOe(i)&&!i.properties.id&&(i.properties.id=n+Tae.slug($S(i)))})}}const oOe=function(e){if(e==null)return rSt;if(typeof e=="string")return nSt(e);if(typeof e=="object")return tSt(e);if(typeof e=="function")return kY(e);throw new Error("Expected function, string, or array as `test`")};function tSt(e){const t=[];let n=-1;for(;++n{const{openDelimiter:t="rehype:ignore:start",closeDelimiter:n="rehype:ignore:end"}=e;return r=>{Tu(r,(i,s,a)=>{if(i.type==="element"||i.type==="root"){let o=!1;i.children=i.children.filter(l=>{if(l.type==="raw"||l.type==="comment"){let c=(l.value||"").trim();if(c=c.replace(/^/,"$1"),c===t)return o=!0,!1;if(c===n)return o=!1,!1}return!o})}})}};var lSt={type:"element",tagName:"svg",properties:{className:"octicon octicon-link",viewBox:"0 0 16 16",version:"1.1",width:"16",height:"16",ariaHidden:"true"},children:[{type:"element",tagName:"path",children:[],properties:{fillRule:"evenodd",d:"M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"}}]};function uSt(e){return e===void 0&&(e=""),{type:"element",tagName:"div",properties:{class:"copied","data-code":e},children:[{type:"element",tagName:"svg",properties:{className:"octicon-copy",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"},children:[]},{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"},children:[]}]},{type:"element",tagName:"svg",properties:{className:"octicon-check",ariaHidden:"true",viewBox:"0 0 16 16",fill:"currentColor",height:12,width:12},children:[{type:"element",tagName:"path",properties:{fillRule:"evenodd",d:"M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"},children:[]}]}]}}var cSt=(e,t)=>(n,r,i)=>{if(n.type==="element"&&i&&i.type==="root"&&/h(1|2|3|4|5|6)/.test(n.tagName)){var s=n.children&&n.children[0];s&&s.properties&&s.properties.ariaHidden==="true"&&(s.properties=Jc({class:"anchor"},s.properties),s.children=[lSt])}if(n.type==="element"&&n.tagName==="pre"&&!e){var a=vve(n.children);n.children.push(uSt(a))}t&&t(n,r===null?void 0:r,i===null?void 0:i)},dSt=[eSt,aSt,oSt];const fSt=Dn.forwardRef((e,t)=>{var n,r=[Vvt,hSe,Gvt,...dSt,[fft,{rewrite:cSt((n=e.disableCopy)!=null?n:!1,e.rehypeRewrite)}],[mft,{properties:"attr"}],...e.rehypePlugins||[],[Kct,{ignoreMissing:!0}]];return U.jsx(Qvt,Jc({},e,{rehypePlugins:r,ref:t}))});function uOe(e){return e.split(` `).map(t=>t.trim()===""?"":t+" ").join(` -`)}function fSt(e){const{title:t,feature:n,onClose:r}=e,i=Ap(),s=cA(),a=ei(xm),{data:o,memoryKey:l,isLoading:c,isComplete:d,mutateAsync:f}=nct(n),{data:p,isLoading:g,isComplete:b,mutateAsync:w}=rct(l),[x,T]=Y.useState(""),_=document.getElementById(OI),C=Y.useMemo(()=>c||g,[c,g]),I=Y.useMemo(()=>d||b,[d,b]),M=Y.useMemo(()=>p||o,[o,p]),{enqueueSnackbar:$}=FE(),B=Y.useRef(null),j=Hpe(),{reset:F,formState:V}=j;Y.useEffect(()=>{V.isSubmitSuccessful&&F({content:""})},[V.isSubmitSuccessful,F]),Y.useEffect(()=>{T((_==null?void 0:_.getAttribute("content"))??"")},[_]),Y.useEffect(()=>{x&&f(x)},[x,f]),Y.useEffect(()=>{M&&B.current&&B.current.scrollTo({behavior:"smooth",top:B.current.scrollHeight})},[M]);const ie=async()=>{M&&(await My.write(M),$("URL Copied!",{variant:"success"}))},se=async()=>{w("Recreate the last statement with a paraphrase or adjust it slightly to better suit the user's input.")},me=le=>{w(le.content)},fe=(le=!1)=>{var je,ue;if(!a.cmView)return;const ye=a.cmView.state.selection.main;let ae=Math.min(ye.to,ye.from);const Se=Math.max(ye.to,ye.from);let he=M;le||(ae=Se,he=` -${he}`);const re=le?ae:ae+1,Fe=ae+he.length;(je=a.doc)==null||je.update((tt,St)=>{tt.content.edit(ae,Se,he),St.set({selection:tt.content.indexRangeToPosRange([re,Fe])})}),(ue=a.cmView)==null||ue.dispatch({changes:{from:ae,to:Se,insert:he},selection:{anchor:re,head:Fe}}),r()};return U.jsxs(Rr,{gap:4,children:[U.jsx(ha,{bgcolor:i.palette.background.paper,p:1,borderRadius:2,border:1,children:U.jsx(fi,{children:t})}),C&&U.jsx(dh,{sx:{marginX:"auto"}}),U.jsx(ha,{ref:B,sx:{height:350,overflow:"auto"},children:!C&&U.jsx(dSt,{source:lOe(M||""),wrapperElement:{"data-color-mode":s}})}),U.jsxs(Rr,{gap:2,children:[U.jsx(i5,{in:I,children:U.jsxs(Rr,{direction:"row",justifyContent:"flex-end",gap:1,children:[U.jsx(yl,{variant:"outlined",onClick:se,children:U.jsx(uWe,{fontSize:"small"})}),U.jsx(yl,{variant:"outlined",onClick:ie,children:U.jsx(GH,{fontSize:"small"})}),U.jsx(yl,{variant:"outlined",onClick:()=>fe(),children:"Insert below"}),U.jsx(yl,{variant:"contained",onClick:()=>fe(!0),children:"Replace"})]})}),U.jsx(yf,{children:U.jsx(BE,{defaultValues:{content:""},formContext:j,onSuccess:me,children:U.jsx(Rr,{gap:4,alignItems:"flex-end",children:U.jsx(Y_,{variant:"outlined",name:"content",placeholder:"Tell Yorkie what to do next",required:!0,fullWidth:!0,disabled:!I,size:"small",InputProps:{startAdornment:U.jsx(_M,{position:"start",children:U.jsx("img",{src:"/yorkie.png",height:20})}),endAdornment:U.jsx(i5,{in:I,children:U.jsx(_M,{position:"end",children:U.jsx(Gl,{type:"submit",edge:"end",children:U.jsx(dWe,{})})})})}})})})})]})]})}function hSt(e){const{onCloseIntelligence:t,...n}=e,r=()=>{var s;(s=n==null?void 0:n.onClose)==null||s.call(n,new Event("Close Modal"),"escapeKeyDown")},i=()=>{t(),r()};return U.jsx(xE,{disableAutoFocus:!0,...n,children:U.jsx(Ko,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",p:4},children:U.jsxs(Rr,{gap:4,children:[U.jsxs(Rr,{alignItems:"center",gap:1,children:[U.jsx("img",{src:"/yorkie.png",alt:"yorkie",width:60}),U.jsxs(fi,{variant:"h6",align:"center",children:["Do you want to discard",U.jsx("br",{}),"the Yorkie response?"]})]}),U.jsxs(Rr,{direction:"row",gap:1,justifyContent:"center",children:[U.jsx(yl,{variant:"outlined",onClick:i,children:"Discard"}),U.jsx(yl,{variant:"contained",onClick:r,children:"Cancel"})]})]})})})}function pSt(e){const{onClose:t}=e,n=Ap(),r=ei(xm),i=Y.useRef(null),[s,a]=Y.useState(null),[o,l]=Y.useState(null),[c,d]=Y.useState(),[f,p]=Y.useState(!1),g=Y.useRef(null),b=Y.useMemo(()=>r.cmView.contentDOM.getBoundingClientRect().width-12,[r.cmView]);Y.useEffect(()=>{if(i.current)return d(i.current),()=>{d(void 0)}},[]);const w=(T,_)=>{l(T),a(_)},x=()=>{p(T=>!T)};return U.jsxs(ha,{sx:{position:"absolute",mt:1},children:[U.jsx("span",{ref:i,style:{marginTop:4}}),U.jsx(Ay,{open:!!c,anchorEl:c,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},onClose:x,children:U.jsx(Jce,{ref:g,sx:{boxShadow:n.shadows[11],borderRadius:2,width:b,padding:2},children:o&&s?U.jsx(fSt,{title:s,feature:o,onClose:t}):U.jsx(tct,{onSelectFeature:w})})}),U.jsx(hSt,{open:f,onCloseIntelligence:t,onClose:x})]})}function mSt(){const[e,t]=Y.useState(!1),[n,r]=Y.useState(null),{yorkieIntelligence:i}=ei(vD);Y.useEffect(()=>{const a=document.getElementById(OI);r(a),document.addEventListener("selectionchange",function(){const o=document.getElementById(OI);r(o)})},[]);const s=()=>{t(a=>!a)};if(n)return U.jsxs(U.Fragment,{children:[U.jsxs(yl,{onClick:s,sx:{padding:"3px 5px",border:"none","&:hover":{border:"none"}},disabled:!(i!=null&&i.enable),children:[U.jsx("img",{src:"/yorkie.png",height:20,alt:"yorkie_img",style:{filter:i!=null&&i.enable?"none":"grayscale(100%)"}}),U.jsx(fi,{variant:"subtitle1",fontSize:14,children:"Yorkie Intelligence"})]}),e&&yE.createPortal(U.jsx(pSt,{onClose:s}),n)]})}function gSt({toolBarState:{show:e,position:t,selectedFormats:n},onChangeToolBarState:r}){const{toggleButtonChangeHandler:i}=gj(),[s,a]=Y.useState(null);if(ED(()=>{a(e)},500,[e]),!!s)return U.jsx(Ay,{open:s,anchorReference:"anchorPosition",anchorPosition:{top:t.top,left:t.left},onClose:()=>r(o=>({...o,show:!1})),anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"},disableAutoFocus:!0,TransitionComponent:i5,TransitionProps:{timeout:300},children:U.jsxs(Rr,{direction:"row",margin:"5px 7px",children:[U.jsx(mSt,{}),U.jsx(oy,{orientation:"vertical",flexItem:!0,sx:{height:"20px",alignSelf:"center",margin:"0 5px"}}),U.jsx(pde,{value:Array.from(n),onChange:i(n,r),exclusive:!0,"aria-label":"text formatting",children:U.jsxs(Rr,{direction:"row",gap:"5px",alignItems:"center",children:[U.jsx(s3,{color:n.has(Bc.ITALIC)?"primary":"secondary",title:"Cmd+I / Ctrl+I",value:Bc.ITALIC,children:U.jsx("i",{children:"i"})}),U.jsx(s3,{color:n.has(Bc.BOLD)?"primary":"secondary",title:"Cmd+B / Ctrl+B",value:Bc.BOLD,children:U.jsx("strong",{children:"B"})}),U.jsx(s3,{color:n.has(Bc.STRIKETHROUGH)?"primary":"secondary",title:"Cmd+Shift+X / Ctrl+Shfit+X",value:Bc.STRIKETHROUGH,children:"~"}),U.jsx(s3,{color:n.has(Bc.CODE)?"primary":"secondary",title:"Cmd+E / Ctrl+E",value:Bc.CODE,children:""})]})})]})})}function Aae(e){var _;const{width:t}=e,n=mc(),r=cA(),[i,s]=Y.useState(),a=ei(xm),o=ei(Fy),l=ei(vD),c=ei(wD),{mutateAsync:d}=yWe(),{mutateAsync:f}=vWe(),{applyFormat:p,setKeymapConfig:g}=gj(),{toolBarState:b,setToolBarState:w,updateFormatBar:x}=Vat(),T=Y.useCallback(C=>{C&&s(C)},[]);return Y.useEffect(()=>{var $,B;if(!i||!a.doc||!a.client||typeof(($=l.fileUpload)==null?void 0:$.enable)!="boolean")return;const C=async j=>{if(!c.data)return"";const F=await d({workspaceId:c.data.id,contentLength:new Blob([j]).size,contentType:j.type});return await f({...F,file:j}),`https://codepair-api.yorkie.dev/files/${F.fileKey}`},I=Ni.create({doc:((B=a.doc.getRoot().content)==null?void 0:B.toString())??"",extensions:[o.codeKey===aj.VIM?Mat():[],qE.of(g()),$at({highlightSelectionMatches:!1}),aat(),r==="light"?Hat:Qat,Sn.theme({"&":{width:"100%"}}),Sn.lineWrapping,Sn.updateListener.of(j=>{j.selectionSet&&x(j)}),Fut(a.doc,a.client),sot,...l.fileUpload.enable?[Gat(C,a.doc)]:[],kut(a.doc)]}),M=new Sn({state:I,parent:i});return n(Yje(M)),()=>{M==null||M.destroy()}},[i,a.client,a.doc,o.codeKey,r,c.data,(_=l.fileUpload)==null?void 0:_.enable,n,d,f,p,x,g]),U.jsxs(U.Fragment,{children:[U.jsx("div",{style:{height:`calc(100% - ${Uye}px)`},children:U.jsx(RF.ScrollSyncPane,{children:U.jsxs("div",{style:{height:"100%",overflow:"auto"},children:[U.jsx("div",{ref:T,style:{display:"flex",alignItems:"stretch",minHeight:"100%"}}),!!b.show&&U.jsx(gSt,{toolBarState:b,onChangeToolBarState:w})]})})}),U.jsx($ut,{width:t})]})}const Cae={};function bSt(e){let t=Cae[e];if(t)return t;t=Cae[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);t.push(r)}for(let n=0;n=55296&&d<=57343?i+="���":i+=String.fromCharCode(d),s+=6;continue}}if((o&248)===240&&s+91114111?i+="����":(f-=65536,i+=String.fromCharCode(55296+(f>>10),56320+(f&1023))),s+=9;continue}}i+="�"}return i})}hE.defaultChars=";/?:@&=+$,#";hE.componentChars="";const Rae={};function ySt(e){let t=Rae[e];if(t)return t;t=Rae[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n"u"&&(n=!0);const r=ySt(t);let i="";for(let s=0,a=e.length;s=55296&&o<=57343){if(o>=55296&&o<=56319&&s+1=56320&&l<=57343){i+=encodeURIComponent(e[s]+e[s+1]),s++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[s])}return i}MA.defaultChars=";/?:@&=+$,-_.!~*'()#";MA.componentChars="-_.!~*'()";function AY(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function LI(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const vSt=/^([a-z0-9.+-]+:)/i,SSt=/:[0-9]*$/,OSt=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ESt=["<",">",'"',"`"," ","\r",` -`," "],wSt=["{","}","|","\\","^","`"].concat(ESt),xSt=["'"].concat(wSt),Iae=["%","/","?",";","#"].concat(xSt),Dae=["/","?","#"],TSt=255,Nae=/^[+a-z0-9A-Z_-]{0,63}$/,kSt=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Pae={javascript:!0,"javascript:":!0},Lae={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function CY(e,t){if(e&&e instanceof LI)return e;const n=new LI;return n.parse(e,t),n}LI.prototype.parse=function(e,t){let n,r,i,s=e;if(s=s.trim(),!t&&e.split("#").length===1){const c=OSt.exec(s);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let a=vSt.exec(s);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,s=s.substr(a.length)),(t||a||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=s.substr(0,2)==="//",i&&!(a&&Pae[a])&&(s=s.substr(2),this.slashes=!0)),!Pae[a]&&(i||a&&!Lae[a])){let c=-1;for(let b=0;b127?_+="x":_+=T[C];if(!_.match(Nae)){const C=b.slice(0,w),I=b.slice(w+1),M=T.match(kSt);M&&(C.push(M[1]),I.unshift(M[2])),I.length&&(s=I.join(".")+s),this.hostname=C.join(".");break}}}}this.hostname.length>TSt&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const o=s.indexOf("#");o!==-1&&(this.hash=s.substr(o),s=s.slice(0,o));const l=s.indexOf("?");return l!==-1&&(this.search=s.substr(l),s=s.slice(0,l)),s&&(this.pathname=s),Lae[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};LI.prototype.parseHost=function(e){let t=SSt.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const _St=Object.freeze(Object.defineProperty({__proto__:null,decode:hE,encode:MA,format:AY,parse:CY},Symbol.toStringTag,{value:"Module"})),uOe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,cOe=/[\0-\x1F\x7F-\x9F]/,ASt=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,RY=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\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-\u2E4F\u2E52-\u2E5D\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[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,dOe=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,fOe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,CSt=Object.freeze(Object.defineProperty({__proto__:null,Any:uOe,Cc:cOe,Cf:ASt,P:RY,S:dOe,Z:fOe},Symbol.toStringTag,{value:"Module"}));function RSt(e){return Object.prototype.toString.call(e)}function IY(e){return RSt(e)==="[object String]"}const ISt=Object.prototype.hasOwnProperty;function DSt(e,t){return ISt.call(e,t)}function AN(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){if(n){if(typeof n!="object")throw new TypeError(n+"must be object");Object.keys(n).forEach(function(r){e[r]=n[r]})}}),e}function hOe(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function DY(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 MI(e){if(e>65535){e-=65536;const t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const pOe=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,NSt=/&([a-z#][a-z0-9]{1,31});/gi,PSt=new RegExp(pOe.source+"|"+NSt.source,"gi"),LSt=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function MSt(e,t){if(t.charCodeAt(0)===35&&LSt.test(t)){const r=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return DY(r)?MI(r):e}const n=Pve(e);return n!==e?n:e}function FSt(e){return e.indexOf("\\")<0?e:e.replace(pOe,"$1")}function pE(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(PSt,function(t,n,r){return n||MSt(t,r)})}const $St=/[&<>"]/,BSt=/[&<>"]/g,USt={"&":"&","<":"<",">":">",'"':"""};function zSt(e){return USt[e]}function b1(e){return $St.test(e)?e.replace(BSt,zSt):e}const HSt=/[.?*+^$[\]\\(){}|-]/g;function qSt(e){return e.replace(HSt,"\\$&")}function zs(e){switch(e){case 9:case 32:return!0}return!1}function r_(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}function i_(e){return RY.test(e)||dOe.test(e)}function s_(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 CN(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const jSt={mdurl:_St,ucmicro:CSt},WSt=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:hOe,assign:AN,escapeHtml:b1,escapeRE:qSt,fromCodePoint:MI,has:DSt,isMdAsciiPunct:s_,isPunctChar:i_,isSpace:zs,isString:IY,isValidEntityCode:DY,isWhiteSpace:r_,lib:jSt,normalizeReference:CN,unescapeAll:pE,unescapeMd:FSt},Symbol.toStringTag,{value:"Module"}));function QSt(e,t,n){let r,i,s,a;const o=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos32))return s;if(r===41){if(a===0)break;a--}i++}return t===i||a!==0||(s.str=pE(e.slice(t,i)),s.pos=i,s.ok=!0),s}function GSt(e,t,n,r){let i,s=t;const a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)a.str=r.str,a.marker=r.marker;else{if(s>=n)return a;let o=e.charCodeAt(s);if(o!==34&&o!==39&&o!==40)return a;t++,s++,o===40&&(o=41),a.marker=o}for(;s"+b1(s.content)+""};qp.code_block=function(e,t,n,r,i){const s=e[t];return""+b1(e[t].content)+` +`)}function hSt(e){const{title:t,feature:n,onClose:r}=e,i=Ap(),s=cA(),a=ei(xm),{data:o,memoryKey:l,isLoading:c,isComplete:d,mutateAsync:f}=rct(n),{data:p,isLoading:g,isComplete:b,mutateAsync:w}=ict(l),[x,T]=Y.useState(""),_=document.getElementById(OI),C=Y.useMemo(()=>c||g,[c,g]),I=Y.useMemo(()=>d||b,[d,b]),M=Y.useMemo(()=>p||o,[o,p]),{enqueueSnackbar:$}=FE(),B=Y.useRef(null),j=qpe(),{reset:F,formState:V}=j;Y.useEffect(()=>{V.isSubmitSuccessful&&F({content:""})},[V.isSubmitSuccessful,F]),Y.useEffect(()=>{T((_==null?void 0:_.getAttribute("content"))??"")},[_]),Y.useEffect(()=>{x&&f(x)},[x,f]),Y.useEffect(()=>{M&&B.current&&B.current.scrollTo({behavior:"smooth",top:B.current.scrollHeight})},[M]);const ie=async()=>{M&&(await My.write(M),$("URL Copied!",{variant:"success"}))},se=async()=>{w("Recreate the last statement with a paraphrase or adjust it slightly to better suit the user's input.")},me=le=>{w(le.content)},fe=(le=!1)=>{var je,ue;if(!a.cmView)return;const ye=a.cmView.state.selection.main;let ae=Math.min(ye.to,ye.from);const Se=Math.max(ye.to,ye.from);let he=M;le||(ae=Se,he=` +${he}`);const re=le?ae:ae+1,Fe=ae+he.length;(je=a.doc)==null||je.update((tt,St)=>{tt.content.edit(ae,Se,he),St.set({selection:tt.content.indexRangeToPosRange([re,Fe])})}),(ue=a.cmView)==null||ue.dispatch({changes:{from:ae,to:Se,insert:he},selection:{anchor:re,head:Fe}}),r()};return U.jsxs(Rr,{gap:4,children:[U.jsx(ha,{bgcolor:i.palette.background.paper,p:1,borderRadius:2,border:1,children:U.jsx(fi,{children:t})}),C&&U.jsx(dh,{sx:{marginX:"auto"}}),U.jsx(ha,{ref:B,sx:{height:350,overflow:"auto"},children:!C&&U.jsx(fSt,{source:uOe(M||""),wrapperElement:{"data-color-mode":s}})}),U.jsxs(Rr,{gap:2,children:[U.jsx(i5,{in:I,children:U.jsxs(Rr,{direction:"row",justifyContent:"flex-end",gap:1,children:[U.jsx(yl,{variant:"outlined",onClick:se,children:U.jsx(cWe,{fontSize:"small"})}),U.jsx(yl,{variant:"outlined",onClick:ie,children:U.jsx(GH,{fontSize:"small"})}),U.jsx(yl,{variant:"outlined",onClick:()=>fe(),children:"Insert below"}),U.jsx(yl,{variant:"contained",onClick:()=>fe(!0),children:"Replace"})]})}),U.jsx(yf,{children:U.jsx(BE,{defaultValues:{content:""},formContext:j,onSuccess:me,children:U.jsx(Rr,{gap:4,alignItems:"flex-end",children:U.jsx(Y_,{variant:"outlined",name:"content",placeholder:"Tell Yorkie what to do next",required:!0,fullWidth:!0,disabled:!I,size:"small",InputProps:{startAdornment:U.jsx(_M,{position:"start",children:U.jsx("img",{src:"/yorkie.png",height:20})}),endAdornment:U.jsx(i5,{in:I,children:U.jsx(_M,{position:"end",children:U.jsx(Gl,{type:"submit",edge:"end",children:U.jsx(fWe,{})})})})}})})})})]})]})}function pSt(e){const{onCloseIntelligence:t,...n}=e,r=()=>{var s;(s=n==null?void 0:n.onClose)==null||s.call(n,new Event("Close Modal"),"escapeKeyDown")},i=()=>{t(),r()};return U.jsx(xE,{disableAutoFocus:!0,...n,children:U.jsx(Ko,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",p:4},children:U.jsxs(Rr,{gap:4,children:[U.jsxs(Rr,{alignItems:"center",gap:1,children:[U.jsx("img",{src:"/yorkie.png",alt:"yorkie",width:60}),U.jsxs(fi,{variant:"h6",align:"center",children:["Do you want to discard",U.jsx("br",{}),"the Yorkie response?"]})]}),U.jsxs(Rr,{direction:"row",gap:1,justifyContent:"center",children:[U.jsx(yl,{variant:"outlined",onClick:i,children:"Discard"}),U.jsx(yl,{variant:"contained",onClick:r,children:"Cancel"})]})]})})})}function mSt(e){const{onClose:t}=e,n=Ap(),r=ei(xm),i=Y.useRef(null),[s,a]=Y.useState(null),[o,l]=Y.useState(null),[c,d]=Y.useState(),[f,p]=Y.useState(!1),g=Y.useRef(null),b=Y.useMemo(()=>r.cmView.contentDOM.getBoundingClientRect().width-12,[r.cmView]);Y.useEffect(()=>{if(i.current)return d(i.current),()=>{d(void 0)}},[]);const w=(T,_)=>{l(T),a(_)},x=()=>{p(T=>!T)};return U.jsxs(ha,{sx:{position:"absolute",mt:1},children:[U.jsx("span",{ref:i,style:{marginTop:4}}),U.jsx(Ay,{open:!!c,anchorEl:c,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},onClose:x,children:U.jsx(ede,{ref:g,sx:{boxShadow:n.shadows[11],borderRadius:2,width:b,padding:2},children:o&&s?U.jsx(hSt,{title:s,feature:o,onClose:t}):U.jsx(nct,{onSelectFeature:w})})}),U.jsx(pSt,{open:f,onCloseIntelligence:t,onClose:x})]})}function gSt(){const[e,t]=Y.useState(!1),[n,r]=Y.useState(null),{yorkieIntelligence:i}=ei(vD);Y.useEffect(()=>{const a=document.getElementById(OI);r(a),document.addEventListener("selectionchange",function(){const o=document.getElementById(OI);r(o)})},[]);const s=()=>{t(a=>!a)};if(n)return U.jsxs(U.Fragment,{children:[U.jsxs(yl,{onClick:s,sx:{padding:"3px 5px",border:"none","&:hover":{border:"none"}},disabled:!(i!=null&&i.enable),children:[U.jsx("img",{src:"/yorkie.png",height:20,alt:"yorkie_img",style:{filter:i!=null&&i.enable?"none":"grayscale(100%)"}}),U.jsx(fi,{variant:"subtitle1",fontSize:14,children:"Yorkie Intelligence"})]}),e&&yE.createPortal(U.jsx(mSt,{onClose:s}),n)]})}function bSt({toolBarState:{show:e,position:t,selectedFormats:n},onChangeToolBarState:r}){const{toggleButtonChangeHandler:i}=gj(),[s,a]=Y.useState(null);if(ED(()=>{a(e)},500,[e]),!!s)return U.jsx(Ay,{open:s,anchorReference:"anchorPosition",anchorPosition:{top:t.top,left:t.left},onClose:()=>r(o=>({...o,show:!1})),anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"},disableAutoFocus:!0,TransitionComponent:i5,TransitionProps:{timeout:300},children:U.jsxs(Rr,{direction:"row",margin:"5px 7px",children:[U.jsx(gSt,{}),U.jsx(oy,{orientation:"vertical",flexItem:!0,sx:{height:"20px",alignSelf:"center",margin:"0 5px"}}),U.jsx(mde,{value:Array.from(n),onChange:i(n,r),exclusive:!0,"aria-label":"text formatting",children:U.jsxs(Rr,{direction:"row",gap:"5px",alignItems:"center",children:[U.jsx(s3,{color:n.has(Uc.ITALIC)?"primary":"secondary",title:"Cmd+I / Ctrl+I",value:Uc.ITALIC,children:U.jsx("i",{children:"i"})}),U.jsx(s3,{color:n.has(Uc.BOLD)?"primary":"secondary",title:"Cmd+B / Ctrl+B",value:Uc.BOLD,children:U.jsx("strong",{children:"B"})}),U.jsx(s3,{color:n.has(Uc.STRIKETHROUGH)?"primary":"secondary",title:"Cmd+Shift+X / Ctrl+Shfit+X",value:Uc.STRIKETHROUGH,children:"~"}),U.jsx(s3,{color:n.has(Uc.CODE)?"primary":"secondary",title:"Cmd+E / Ctrl+E",value:Uc.CODE,children:""})]})})]})})}function Aae(e){var _;const{width:t}=e,n=gc(),r=cA(),[i,s]=Y.useState(),a=ei(xm),o=ei(Fy),l=ei(vD),c=ei(wD),{mutateAsync:d}=vWe(),{mutateAsync:f}=SWe(),{applyFormat:p,setKeymapConfig:g}=gj(),{toolBarState:b,setToolBarState:w,updateFormatBar:x}=Gat(),T=Y.useCallback(C=>{C&&s(C)},[]);return Y.useEffect(()=>{var $,B;if(!i||!a.doc||!a.client||typeof(($=l.fileUpload)==null?void 0:$.enable)!="boolean")return;const C=async j=>{if(!c.data)return"";const F=await d({workspaceId:c.data.id,contentLength:new Blob([j]).size,contentType:j.type});return await f({...F,file:j}),`https://codepair-api.yorkie.dev/files/${F.fileKey}`},I=Ni.create({doc:((B=a.doc.getRoot().content)==null?void 0:B.toString())??"",extensions:[o.codeKey===aj.VIM?Fat():[],qE.of(g()),Bat({highlightSelectionMatches:!1}),oat(),r==="light"?qat:Vat,Sn.theme({"&":{width:"100%"}}),Sn.lineWrapping,Sn.updateListener.of(j=>{j.selectionSet&&x(j)}),$ut(a.doc,a.client),aot,...l.fileUpload.enable?[Yat(C,a.doc)]:[],_ut(a.doc)]}),M=new Sn({state:I,parent:i});return n(Zje(M)),()=>{M==null||M.destroy()}},[i,a.client,a.doc,o.codeKey,r,c.data,(_=l.fileUpload)==null?void 0:_.enable,n,d,f,p,x,g]),U.jsxs(U.Fragment,{children:[U.jsx("div",{style:{height:`calc(100% - ${zye}px)`},children:U.jsx(RF.ScrollSyncPane,{children:U.jsxs("div",{style:{height:"100%",overflow:"auto"},children:[U.jsx("div",{ref:T,style:{display:"flex",alignItems:"stretch",minHeight:"100%"}}),!!b.show&&U.jsx(bSt,{toolBarState:b,onChangeToolBarState:w})]})})}),U.jsx(But,{width:t})]})}const Cae={};function ySt(e){let t=Cae[e];if(t)return t;t=Cae[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);t.push(r)}for(let n=0;n=55296&&d<=57343?i+="���":i+=String.fromCharCode(d),s+=6;continue}}if((o&248)===240&&s+91114111?i+="����":(f-=65536,i+=String.fromCharCode(55296+(f>>10),56320+(f&1023))),s+=9;continue}}i+="�"}return i})}hE.defaultChars=";/?:@&=+$,#";hE.componentChars="";const Rae={};function vSt(e){let t=Rae[e];if(t)return t;t=Rae[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n"u"&&(n=!0);const r=vSt(t);let i="";for(let s=0,a=e.length;s=55296&&o<=57343){if(o>=55296&&o<=56319&&s+1=56320&&l<=57343){i+=encodeURIComponent(e[s]+e[s+1]),s++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[s])}return i}MA.defaultChars=";/?:@&=+$,-_.!~*'()#";MA.componentChars="-_.!~*'()";function AY(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function LI(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const SSt=/^([a-z0-9.+-]+:)/i,OSt=/:[0-9]*$/,ESt=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,wSt=["<",">",'"',"`"," ","\r",` +`," "],xSt=["{","}","|","\\","^","`"].concat(wSt),TSt=["'"].concat(xSt),Iae=["%","/","?",";","#"].concat(TSt),Dae=["/","?","#"],kSt=255,Nae=/^[+a-z0-9A-Z_-]{0,63}$/,_St=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Pae={javascript:!0,"javascript:":!0},Lae={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function CY(e,t){if(e&&e instanceof LI)return e;const n=new LI;return n.parse(e,t),n}LI.prototype.parse=function(e,t){let n,r,i,s=e;if(s=s.trim(),!t&&e.split("#").length===1){const c=ESt.exec(s);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let a=SSt.exec(s);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,s=s.substr(a.length)),(t||a||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=s.substr(0,2)==="//",i&&!(a&&Pae[a])&&(s=s.substr(2),this.slashes=!0)),!Pae[a]&&(i||a&&!Lae[a])){let c=-1;for(let b=0;b127?_+="x":_+=T[C];if(!_.match(Nae)){const C=b.slice(0,w),I=b.slice(w+1),M=T.match(_St);M&&(C.push(M[1]),I.unshift(M[2])),I.length&&(s=I.join(".")+s),this.hostname=C.join(".");break}}}}this.hostname.length>kSt&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const o=s.indexOf("#");o!==-1&&(this.hash=s.substr(o),s=s.slice(0,o));const l=s.indexOf("?");return l!==-1&&(this.search=s.substr(l),s=s.slice(0,l)),s&&(this.pathname=s),Lae[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};LI.prototype.parseHost=function(e){let t=OSt.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const ASt=Object.freeze(Object.defineProperty({__proto__:null,decode:hE,encode:MA,format:AY,parse:CY},Symbol.toStringTag,{value:"Module"})),cOe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,dOe=/[\0-\x1F\x7F-\x9F]/,CSt=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,RY=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\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-\u2E4F\u2E52-\u2E5D\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[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,fOe=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,hOe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,RSt=Object.freeze(Object.defineProperty({__proto__:null,Any:cOe,Cc:dOe,Cf:CSt,P:RY,S:fOe,Z:hOe},Symbol.toStringTag,{value:"Module"}));function ISt(e){return Object.prototype.toString.call(e)}function IY(e){return ISt(e)==="[object String]"}const DSt=Object.prototype.hasOwnProperty;function NSt(e,t){return DSt.call(e,t)}function AN(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){if(n){if(typeof n!="object")throw new TypeError(n+"must be object");Object.keys(n).forEach(function(r){e[r]=n[r]})}}),e}function pOe(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function DY(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 MI(e){if(e>65535){e-=65536;const t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const mOe=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,PSt=/&([a-z#][a-z0-9]{1,31});/gi,LSt=new RegExp(mOe.source+"|"+PSt.source,"gi"),MSt=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function FSt(e,t){if(t.charCodeAt(0)===35&&MSt.test(t)){const r=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return DY(r)?MI(r):e}const n=Lve(e);return n!==e?n:e}function $St(e){return e.indexOf("\\")<0?e:e.replace(mOe,"$1")}function pE(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(LSt,function(t,n,r){return n||FSt(t,r)})}const BSt=/[&<>"]/,USt=/[&<>"]/g,zSt={"&":"&","<":"<",">":">",'"':"""};function HSt(e){return zSt[e]}function b1(e){return BSt.test(e)?e.replace(USt,HSt):e}const qSt=/[.?*+^$[\]\\(){}|-]/g;function jSt(e){return e.replace(qSt,"\\$&")}function zs(e){switch(e){case 9:case 32:return!0}return!1}function r_(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}function i_(e){return RY.test(e)||fOe.test(e)}function s_(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 CN(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const WSt={mdurl:ASt,ucmicro:RSt},QSt=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:pOe,assign:AN,escapeHtml:b1,escapeRE:jSt,fromCodePoint:MI,has:NSt,isMdAsciiPunct:s_,isPunctChar:i_,isSpace:zs,isString:IY,isValidEntityCode:DY,isWhiteSpace:r_,lib:WSt,normalizeReference:CN,unescapeAll:pE,unescapeMd:$St},Symbol.toStringTag,{value:"Module"}));function VSt(e,t,n){let r,i,s,a;const o=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos32))return s;if(r===41){if(a===0)break;a--}i++}return t===i||a!==0||(s.str=pE(e.slice(t,i)),s.pos=i,s.ok=!0),s}function YSt(e,t,n,r){let i,s=t;const a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)a.str=r.str,a.marker=r.marker;else{if(s>=n)return a;let o=e.charCodeAt(s);if(o!==34&&o!==39&&o!==40)return a;t++,s++,o===40&&(o=41),a.marker=o}for(;s"+b1(s.content)+""};qp.code_block=function(e,t,n,r,i){const s=e[t];return""+b1(e[t].content)+` `};qp.fence=function(e,t,n,r,i){const s=e[t],a=s.info?pE(s.info).trim():"";let o="",l="";if(a){const d=a.split(/(\s+)/g);o=d[0],l=d.slice(2).join("")}let c;if(n.highlight?c=n.highlight(s.content,o,l)||b1(s.content):c=b1(s.content),c.indexOf("${c} `}return`
${c}
@@ -451,9 +451,9 @@ ${he}`);const re=le?ae:ae+1,Fe=ae+he.length;(je=a.doc)==null||je.update((tt,St)= `};qp.text=function(e,t){return b1(e[t].content)};qp.html_block=function(e,t){return e[t].content};qp.html_inline=function(e,t){return e[t].content};function u2(){this.rules=AN({},qp)}u2.prototype.renderAttrs=function(t){let n,r,i;if(!t.attrs)return"";for(i="",n=0,r=t.attrs.length;n `:">",s};u2.prototype.renderInline=function(e,t,n){let r="";const i=this.rules;for(let s=0,a=e.length;s=0&&(r=this.attrs[n][1]),r};kh.prototype.attrJoin=function(t,n){const r=this.attrIndex(t);r<0?this.attrPush([t,n]):this.attrs[r][1]=this.attrs[r][1]+" "+n};function mOe(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}mOe.prototype.Token=kh;const ZSt=/\r\n?|\n/g,XSt=/\0/g;function KSt(e){let t;t=e.src.replace(ZSt,` -`),t=t.replace(XSt,"�"),e.src=t}function JSt(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function eOt(e){const t=e.tokens;for(let n=0,r=t.length;n\s]/i.test(e)}function nOt(e){return/^<\/a\s*>/i.test(e)}function rOt(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,r=t.length;n=0;a--){const o=i[a];if(o.type==="link_close"){for(a--;i[a].level!==o.level&&i[a].type!=="link_open";)a--;continue}if(o.type==="html_inline"&&(tOt(o.content)&&s>0&&s--,nOt(o.content)&&s++),!(s>0)&&o.type==="text"&&e.md.linkify.test(o.content)){const l=o.content;let c=e.md.linkify.match(l);const d=[];let f=o.level,p=0;c.length>0&&c[0].index===0&&a>0&&i[a-1].type==="text_special"&&(c=c.slice(1));for(let g=0;gp){const M=new e.Token("text","",0);M.content=l.slice(p,T),M.level=f,d.push(M)}const _=new e.Token("link_open","a",1);_.attrs=[["href",w]],_.level=f++,_.markup="linkify",_.info="auto",d.push(_);const C=new e.Token("text","",0);C.content=x,C.level=f,d.push(C);const I=new e.Token("link_close","a",-1);I.level=--f,I.markup="linkify",I.info="auto",d.push(I),p=c[g].lastIndex}if(p=0;n--){const r=e[n];r.type==="text"&&!t&&(r.content=r.content.replace(sOt,oOt)),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function uOt(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&gOe.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function cOt(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(iOt.test(e.tokens[t].content)&&lOt(e.tokens[t].children),gOe.test(e.tokens[t].content)&&uOt(e.tokens[t].children))}const dOt=/['"]/,Mae=/['"]/g,Fae="’";function m3(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function fOt(e,t){let n;const r=[];for(let i=0;i=0&&!(r[n].level<=a);n--);if(r.length=n+1,s.type!=="text")continue;let o=s.content,l=0,c=o.length;e:for(;l=0)b=o.charCodeAt(d.index-1);else for(n=i-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){b=e[n].content.charCodeAt(e[n].content.length-1);break}let w=32;if(l=48&&b<=57&&(p=f=!1),f&&p&&(f=x,p=T),!f&&!p){g&&(s.content=m3(s.content,d.index,Fae));continue}if(p)for(n=r.length-1;n>=0;n--){let I=r[n];if(r[n].level=0;t--)e.tokens[t].type!=="inline"||!dOt.test(e.tokens[t].content)||fOt(e.tokens[t].children,e)}function pOt(e){let t,n;const r=e.tokens,i=r.length;for(let s=0;s0&&this.level++,this.tokens.push(r),r};jp.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};jp.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;tn;)if(!zs(this.src.charCodeAt(--t)))return t+1;return t};jp.prototype.skipChars=function(t,n){for(let r=this.src.length;tr;)if(n!==this.src.charCodeAt(--t))return t+1;return t};jp.prototype.getLines=function(t,n,r,i){if(t>=n)return"";const s=new Array(n-t);for(let a=0,o=t;or?s[a]=new Array(l-r+1).join(" ")+this.src.slice(d,f):s[a]=this.src.slice(d,f)}return s.join("")};jp.prototype.Token=kh;const mOt=65536;function r8(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function $ae(e){const t=[],n=e.length;let r=0,i=e.charCodeAt(r),s=!1,a=0,o="";for(;rn)return!1;let i=t+1;if(e.sCount[i]=4)return!1;let s=e.bMarks[i]+e.tShift[i];if(s>=e.eMarks[i])return!1;const a=e.src.charCodeAt(s++);if(a!==124&&a!==45&&a!==58||s>=e.eMarks[i])return!1;const o=e.src.charCodeAt(s++);if(o!==124&&o!==45&&o!==58&&!zs(o)||a===45&&zs(o))return!1;for(;s=4)return!1;c=$ae(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();const f=c.length;if(f===0||f!==d.length)return!1;if(r)return!0;const p=e.parentType;e.parentType="table";const g=e.md.block.ruler.getRules("blockquote"),b=e.push("table_open","table",1),w=[t,0];b.map=w;const x=e.push("thead_open","thead",1);x.map=[t,t+1];const T=e.push("tr_open","tr",1);T.map=[t,t+1];for(let I=0;I=4||(c=$ae(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),C+=f-c.length,C>mOt))break;if(i===t+2){const $=e.push("tbody_open","tbody",1);$.map=_=[t+2,0]}const M=e.push("tr_open","tr",1);M.map=[i,i+1];for(let $=0;$=4){r++,i=r;continue}break}e.line=i;const s=e.push("code_block","code",0);return s.content=e.getLines(t,i,4+e.blkIndent,!1)+` -`,s.map=[t,e.line],!0}function yOt(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>s)return!1;const a=e.src.charCodeAt(i);if(a!==126&&a!==96)return!1;let o=i;i=e.skipChars(i,a);let l=i-o;if(l<3)return!1;const c=e.src.slice(o,i),d=e.src.slice(i,s);if(a===96&&d.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;let f=t,p=!1;for(;f++,!(f>=n||(i=o=e.bMarks[f]+e.tShift[f],s=e.eMarks[f],i=4)&&(i=e.skipChars(i,a),!(i-o=4||e.src.charCodeAt(i)!==62)return!1;if(r)return!0;const o=[],l=[],c=[],d=[],f=e.md.block.ruler.getRules("blockquote"),p=e.parentType;e.parentType="blockquote";let g=!1,b;for(b=t;b=s)break;if(e.src.charCodeAt(i++)===62&&!C){let M=e.sCount[b]+1,$,B;e.src.charCodeAt(i)===32?(i++,M++,B=!1,$=!0):e.src.charCodeAt(i)===9?($=!0,(e.bsCount[b]+M)%4===3?(i++,M++,B=!1):B=!0):$=!1;let j=M;for(o.push(e.bMarks[b]),e.bMarks[b]=i;i=s,l.push(e.bsCount[b]),e.bsCount[b]=e.sCount[b]+1+($?1:0),c.push(e.sCount[b]),e.sCount[b]=j-M,d.push(e.tShift[b]),e.tShift[b]=i-e.bMarks[b];continue}if(g)break;let I=!1;for(let M=0,$=f.length;M<$;M++)if(f[M](e,b,n,!0)){I=!0;break}if(I){e.lineMax=b,e.blkIndent!==0&&(o.push(e.bMarks[b]),l.push(e.bsCount[b]),d.push(e.tShift[b]),c.push(e.sCount[b]),e.sCount[b]-=e.blkIndent);break}o.push(e.bMarks[b]),l.push(e.bsCount[b]),d.push(e.tShift[b]),c.push(e.sCount[b]),e.sCount[b]=-1}const w=e.blkIndent;e.blkIndent=0;const x=e.push("blockquote_open","blockquote",1);x.markup=">";const T=[t,0];x.map=T,e.md.block.tokenize(e,t,b);const _=e.push("blockquote_close","blockquote",-1);_.markup=">",e.lineMax=a,e.parentType=p,T[1]=e.line;for(let C=0;C=4)return!1;let s=e.bMarks[t]+e.tShift[t];const a=e.src.charCodeAt(s++);if(a!==42&&a!==45&&a!==95)return!1;let o=1;for(;s=r)return-1;let s=e.src.charCodeAt(i++);if(s<48||s>57)return-1;for(;;){if(i>=r)return-1;if(s=e.src.charCodeAt(i++),s>=48&&s<=57){if(i-n>=10)return-1;continue}if(s===41||s===46)break;return-1}return i=4||e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]=e.blkIndent&&(d=!0);let f,p,g;if((g=Uae(e,l))>=0){if(f=!0,a=e.bMarks[l]+e.tShift[l],p=Number(e.src.slice(a,g-1)),d&&p!==1)return!1}else if((g=Bae(e,l))>=0)f=!1;else return!1;if(d&&e.skipSpaces(g)>=e.eMarks[l])return!1;if(r)return!0;const b=e.src.charCodeAt(g-1),w=e.tokens.length;f?(o=e.push("ordered_list_open","ol",1),p!==1&&(o.attrs=[["start",p]])):o=e.push("bullet_list_open","ul",1);const x=[l,0];o.map=x,o.markup=String.fromCharCode(b);let T=!1;const _=e.md.block.ruler.getRules("list"),C=e.parentType;for(e.parentType="list";l=i?B=1:B=M-I,B>4&&(B=1);const j=I+B;o=e.push("list_item_open","li",1),o.markup=String.fromCharCode(b);const F=[l,0];o.map=F,f&&(o.info=e.src.slice(a,g-1));const V=e.tight,ie=e.tShift[l],se=e.sCount[l],me=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=j,e.tight=!0,e.tShift[l]=$-e.bMarks[l],e.sCount[l]=M,$>=i&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,l,n,!0),(!e.tight||T)&&(c=!1),T=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=me,e.tShift[l]=ie,e.sCount[l]=se,e.tight=V,o=e.push("list_item_close","li",-1),o.markup=String.fromCharCode(b),l=e.line,F[1]=l,l>=n||e.sCount[l]=4)break;let fe=!1;for(let le=0,ye=_.length;le=4||e.src.charCodeAt(i)!==91)return!1;function o(_){const C=e.lineMax;if(_>=C||e.isEmpty(_))return null;let I=!1;if(e.sCount[_]-e.blkIndent>3&&(I=!0),e.sCount[_]<0&&(I=!0),!I){const B=e.md.block.ruler.getRules("reference"),j=e.parentType;e.parentType="reference";let F=!1;for(let V=0,ie=B.length;V"u"&&(e.env.references={}),typeof e.env.references[T]>"u"&&(e.env.references[T]={title:x,href:f}),e.line=a),!0):!1}const xOt=["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","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],TOt="[a-zA-Z_:][a-zA-Z0-9:._-]*",kOt="[^\"'=<>`\\x00-\\x20]+",_Ot="'[^']*'",AOt='"[^"]*"',COt="(?:"+kOt+"|"+_Ot+"|"+AOt+")",ROt="(?:\\s+"+TOt+"(?:\\s*=\\s*"+COt+")?)",bOe="<[A-Za-z][A-Za-z0-9\\-]*"+ROt+"*\\s*\\/?>",yOe="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",IOt="",DOt="<[?][\\s\\S]*?[?]>",NOt="]*>",POt="",LOt=new RegExp("^(?:"+bOe+"|"+yOe+"|"+IOt+"|"+DOt+"|"+NOt+"|"+POt+")"),MOt=new RegExp("^(?:"+bOe+"|"+yOe+")"),eS=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(MOt.source+"\\s*$"),/^$/,!1]];function FOt(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let a=e.src.slice(i,s),o=0;for(;o=4)return!1;let a=e.src.charCodeAt(i);if(a!==35||i>=s)return!1;let o=1;for(a=e.src.charCodeAt(++i);a===35&&i6||ii&&zs(e.src.charCodeAt(l-1))&&(s=l),e.line=t+1;const c=e.push("heading_open","h"+String(o),1);c.markup="########".slice(0,o),c.map=[t,e.line];const d=e.push("inline","",0);d.content=e.src.slice(i,s).trim(),d.map=[t,e.line],d.children=[];const f=e.push("heading_close","h"+String(o),-1);return f.markup="########".slice(0,o),!0}function BOt(e,t,n){const r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const i=e.parentType;e.parentType="paragraph";let s=0,a,o=t+1;for(;o3)continue;if(e.sCount[o]>=e.blkIndent){let g=e.bMarks[o]+e.tShift[o];const b=e.eMarks[o];if(g=b))){s=a===61?1:2;break}}if(e.sCount[o]<0)continue;let p=!1;for(let g=0,b=r.length;g3||e.sCount[s]<0)continue;let c=!1;for(let d=0,f=r.length;d=n||e.sCount[a]=s){e.line=n;break}const l=e.line;let c=!1;for(let d=0;d=e.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");e.tight=!o,e.isEmpty(e.line-1)&&(o=!0),a=e.line,a0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r};FA.prototype.scanDelims=function(e,t){const n=this.posMax,r=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32;let s=e;for(;s0)return!1;const n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;const i=e.pending.match(qOt);if(!i)return!1;const s=i[1],a=e.md.linkify.matchAtStart(e.src.slice(n-s.length));if(!a)return!1;let o=a.url;if(o.length<=s.length)return!1;o=o.replace(/\*+$/,"");const l=e.md.normalizeLink(o);if(!e.md.validateLink(l))return!1;if(!t){e.pending=e.pending.slice(0,-s.length);const c=e.push("link_open","a",1);c.attrs=[["href",l]],c.markup="linkify",c.info="auto";const d=e.push("text","",0);d.content=e.md.normalizeLinkText(o);const f=e.push("link_close","a",-1);f.markup="linkify",f.info="auto"}return e.pos+=o.length-s.length,!0}function WOt(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;const r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){let s=r-1;for(;s>=1&&e.pending.charCodeAt(s-1)===32;)s--;e.pending=e.pending.slice(0,s),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n?@[]^_`{|}~-".split("").forEach(function(e){PY[e.charCodeAt(0)]=1});function QOt(e,t){let n=e.pos;const r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let i=e.src.charCodeAt(n);if(i===10){for(t||e.push("hardbreak","br",0),n++;n=55296&&i<=56319&&n+1=56320&&o<=57343&&(s+=e.src[n+1],n++)}const a="\\"+s;if(!t){const o=e.push("text_special","",0);i<256&&PY[i]!==0?o.content=s:o.content=a,o.markup=a,o.info="escape"}return e.pos=n+1,!0}function VOt(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;const i=n;n++;const s=e.posMax;for(;n=0;r--){const i=t[r];if(i.marker!==95&&i.marker!==42||i.end===-1)continue;const s=t[i.end],a=r>0&&t[r-1].end===i.end+1&&t[r-1].marker===i.marker&&t[r-1].token===i.token-1&&t[i.end+1].token===s.token+1,o=String.fromCharCode(i.marker),l=e.tokens[i.token];l.type=a?"strong_open":"em_open",l.tag=a?"strong":"em",l.nesting=1,l.markup=a?o+o:o,l.content="";const c=e.tokens[s.token];c.type=a?"strong_close":"em_close",c.tag=a?"strong":"em",c.nesting=-1,c.markup=a?o+o:o,c.content="",a&&(e.tokens[t[r-1].token].content="",e.tokens[t[i.end+1].token].content="",r--)}}function XOt(e){const t=e.tokens_meta,n=e.tokens_meta.length;Hae(e,e.delimiters);for(let r=0;r=f)return!1;if(l=b,i=e.md.helpers.parseLinkDestination(e.src,b,e.posMax),i.ok){for(a=e.md.normalizeLink(i.str),e.md.validateLink(a)?b=i.pos:a="",l=b;b=f||e.src.charCodeAt(b)!==41)&&(c=!0),b++}if(c){if(typeof e.env.references>"u")return!1;if(b=0?r=e.src.slice(l,b++):b=g+1):b=g+1,r||(r=e.src.slice(p,g)),s=e.env.references[CN(r)],!s)return e.pos=d,!1;a=s.href,o=s.title}if(!t){e.pos=p,e.posMax=g;const w=e.push("link_open","a",1),x=[["href",a]];w.attrs=x,o&&x.push(["title",o]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=b,e.posMax=f,!0}function JOt(e,t){let n,r,i,s,a,o,l,c,d="";const f=e.pos,p=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const g=e.pos+2,b=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(b<0)return!1;if(s=b+1,s=p)return!1;for(c=s,o=e.md.helpers.parseLinkDestination(e.src,s,e.posMax),o.ok&&(d=e.md.normalizeLink(o.str),e.md.validateLink(d)?s=o.pos:d=""),c=s;s=p||e.src.charCodeAt(s)!==41)return e.pos=f,!1;s++}else{if(typeof e.env.references>"u")return!1;if(s=0?i=e.src.slice(c,s++):s=b+1):s=b+1,i||(i=e.src.slice(g,b)),a=e.env.references[CN(i)],!a)return e.pos=f,!1;d=a.href,l=a.title}if(!t){r=e.src.slice(g,b);const w=[];e.md.inline.parse(r,e.md,e.env,w);const x=e.push("image","img",0),T=[["src",d],["alt",""]];x.attrs=T,x.children=w,x.content=r,l&&T.push(["title",l])}return e.pos=s,e.posMax=p,!0}const eEt=/^([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])?)*)$/,tEt=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function nEt(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;const r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;const a=e.src.charCodeAt(n);if(a===60)return!1;if(a===62)break}const s=e.src.slice(r+1,n);if(tEt.test(s)){const a=e.md.normalizeLink(s);if(!e.md.validateLink(a))return!1;if(!t){const o=e.push("link_open","a",1);o.attrs=[["href",a]],o.markup="autolink",o.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(s);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=s.length+2,!0}if(eEt.test(s)){const a=e.md.normalizeLink("mailto:"+s);if(!e.md.validateLink(a))return!1;if(!t){const o=e.push("link_open","a",1);o.attrs=[["href",a]],o.markup="autolink",o.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(s);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=s.length+2,!0}return!1}function rEt(e){return/^\s]/i.test(e)}function iEt(e){return/^<\/a\s*>/i.test(e)}function sEt(e){const t=e|32;return t>=97&&t<=122}function aEt(e,t){if(!e.md.options.html)return!1;const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;const i=e.src.charCodeAt(r+1);if(i!==33&&i!==63&&i!==47&&!sEt(i))return!1;const s=e.src.slice(r).match(LOt);if(!s)return!1;if(!t){const a=e.push("html_inline","",0);a.content=s[0],rEt(a.content)&&e.linkLevel++,iEt(a.content)&&e.linkLevel--}return e.pos+=s[0].length,!0}const oEt=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,lEt=/^&([a-z][a-z0-9]{1,31});/i;function uEt(e,t){const n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){const s=e.src.slice(n).match(oEt);if(s){if(!t){const a=s[1][0].toLowerCase()==="x"?parseInt(s[1].slice(1),16):parseInt(s[1],10),o=e.push("text_special","",0);o.content=DY(a)?MI(a):MI(65533),o.markup=s[0],o.info="entity"}return e.pos+=s[0].length,!0}}else{const s=e.src.slice(n).match(lEt);if(s){const a=Pve(s[0]);if(a!==s[0]){if(!t){const o=e.push("text_special","",0);o.content=a,o.markup=s[0],o.info="entity"}return e.pos+=s[0].length,!0}}}return!1}function qae(e){const t={},n=e.length;if(!n)return;let r=0,i=-2;const s=[];for(let a=0;al;c-=s[c]+1){const f=e[c];if(f.marker===o.marker&&f.open&&f.end<0){let p=!1;if((f.close||o.open)&&(f.length+o.length)%3===0&&(f.length%3!==0||o.length%3!==0)&&(p=!0),!p){const g=c>0&&!e[c-1].open?s[c-1]+1:0;s[a]=a-c+g,s[c]=g,o.open=!1,f.end=a,f.close=!1,d=-1,i=-2;break}}}d!==-1&&(t[o.marker][(o.open?3:0)+(o.length||0)%3]=d)}}function cEt(e){const t=e.tokens_meta,n=e.tokens_meta.length;qae(e.delimiters);for(let r=0;r0&&r++,i[t].type==="text"&&t+1=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,s[t]=e.pos};$A.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(a){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};$A.prototype.parse=function(e,t,n,r){const i=new this.State(e,t,n,r);this.tokenize(i);const s=this.ruler2.getRules(""),a=s.length;for(let o=0;o|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function tU(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(r){e[r]=n[r]})}),e}function IN(e){return Object.prototype.toString.call(e)}function hEt(e){return IN(e)==="[object String]"}function pEt(e){return IN(e)==="[object Object]"}function mEt(e){return IN(e)==="[object RegExp]"}function jae(e){return IN(e)==="[object Function]"}function gEt(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const OOe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function bEt(e){return Object.keys(e||{}).reduce(function(t,n){return t||OOe.hasOwnProperty(n)},!1)}const yEt={"http:":{validate:function(e,t,n){const r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},vEt="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]",SEt="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function OEt(e){e.__index__=-1,e.__text_cache__=""}function EEt(e){return function(t,n){const r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function Wae(){return function(e,t){t.normalize(e)}}function FI(e){const t=e.re=fEt(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(vEt),n.push(t.src_xn),t.src_tlds=n.join("|");function r(o){return o.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");const i=[];e.__compiled__={};function s(o,l){throw new Error('(LinkifyIt) Invalid schema "'+o+'": '+l)}Object.keys(e.__schemas__).forEach(function(o){const l=e.__schemas__[o];if(l===null)return;const c={validate:null,link:null};if(e.__compiled__[o]=c,pEt(l)){mEt(l.validate)?c.validate=EEt(l.validate):jae(l.validate)?c.validate=l.validate:s(o,l),jae(l.normalize)?c.normalize=l.normalize:l.normalize?s(o,l):c.normalize=Wae();return}if(hEt(l)){i.push(o);return}s(o,l)}),i.forEach(function(o){e.__compiled__[e.__schemas__[o]]&&(e.__compiled__[o].validate=e.__compiled__[e.__schemas__[o]].validate,e.__compiled__[o].normalize=e.__compiled__[e.__schemas__[o]].normalize)}),e.__compiled__[""]={validate:null,normalize:Wae()};const a=Object.keys(e.__compiled__).filter(function(o){return o.length>0&&e.__compiled__[o]}).map(gEt).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),OEt(e)}function wEt(e,t){const n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function nU(e,t){const n=new wEt(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function fd(e,t){if(!(this instanceof fd))return new fd(e,t);t||bEt(e)&&(t=e,e={}),this.__opts__=tU({},OOe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=tU({},yEt,e),this.__compiled__={},this.__tlds__=SEt,this.__tlds_replaced__=!1,this.re={},FI(this)}fd.prototype.add=function(t,n){return this.__schemas__[t]=n,FI(this),this};fd.prototype.set=function(t){return this.__opts__=tU(this.__opts__,t),this};fd.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let n,r,i,s,a,o,l,c,d;if(this.re.schema_test.test(t)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(t))!==null;)if(s=this.testSchemaAt(t,n[2],l.lastIndex),s){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+s;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=t.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(i=t.match(this.re.email_fuzzy))!==null&&(a=i.index+i[1].length,o=i.index+i[0].length,(this.__index__<0||athis.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=o))),this.__index__>=0};fd.prototype.pretest=function(t){return this.re.pretest.test(t)};fd.prototype.testSchemaAt=function(t,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,r,this):0};fd.prototype.match=function(t){const n=[];let r=0;this.__index__>=0&&this.__text_cache__===t&&(n.push(nU(this,r)),r=this.__last_index__);let i=r?t.slice(r):t;for(;this.test(i);)n.push(nU(this,r)),i=i.slice(this.__last_index__),r+=this.__last_index__;return n.length?n:null};fd.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const n=this.re.schema_at_start.exec(t);if(!n)return null;const r=this.testSchemaAt(t,n[2],n[0].length);return r?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r,nU(this,0)):null};fd.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(r,i,s){return r!==s[i-1]}).reverse(),FI(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,FI(this),this)};fd.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};fd.prototype.onCompile=function(){};const fO=2147483647,gp=36,LY=1,a_=26,xEt=38,TEt=700,EOe=72,wOe=128,xOe="-",kEt=/^xn--/,_Et=/[^\0-\x7F]/,AEt=/[\x2E\u3002\uFF0E\uFF61]/g,CEt={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},a8=gp-LY,bp=Math.floor,o8=String.fromCharCode;function vg(e){throw new RangeError(CEt[e])}function REt(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function TOe(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(AEt,".");const i=e.split("."),s=REt(i,t).join(".");return r+s}function kOe(e){const t=[];let n=0;const r=e.length;for(;n=55296&&i<=56319&&nString.fromCodePoint(...e),DEt=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:gp},Qae=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},_Oe=function(e,t,n){let r=0;for(e=n?bp(e/TEt):e>>1,e+=bp(e/t);e>a8*a_>>1;r+=gp)e=bp(e/a8);return bp(r+(a8+1)*e/(e+xEt))},AOe=function(e){const t=[],n=e.length;let r=0,i=wOe,s=EOe,a=e.lastIndexOf(xOe);a<0&&(a=0);for(let o=0;o=128&&vg("not-basic"),t.push(e.charCodeAt(o));for(let o=a>0?a+1:0;o=n&&vg("invalid-input");const p=DEt(e.charCodeAt(o++));p>=gp&&vg("invalid-input"),p>bp((fO-r)/d)&&vg("overflow"),r+=p*d;const g=f<=s?LY:f>=s+a_?a_:f-s;if(pbp(fO/b)&&vg("overflow"),d*=b}const c=t.length+1;s=_Oe(r-l,c,l==0),bp(r/c)>fO-i&&vg("overflow"),i+=bp(r/c),r%=c,t.splice(r++,0,i)}return String.fromCodePoint(...t)},COe=function(e){const t=[];e=kOe(e);const n=e.length;let r=wOe,i=0,s=EOe;for(const l of e)l<128&&t.push(o8(l));const a=t.length;let o=a;for(a&&t.push(xOe);o=r&&dbp((fO-i)/c)&&vg("overflow"),i+=(l-r)*c,r=l;for(const d of e)if(dfO&&vg("overflow"),d===r){let f=i;for(let p=gp;;p+=gp){const g=p<=s?LY:p>=s+a_?a_:p-s;if(f=0))try{t.hostname=ROe.toASCII(t.hostname)}catch{}return MA(AY(t))}function qEt(e){const t=CY(e,!0);if(t.hostname&&(!t.protocol||IOe.indexOf(t.protocol)>=0))try{t.hostname=ROe.toUnicode(t.hostname)}catch{}return hE(AY(t),hE.defaultChars+"%")}function mf(e,t){if(!(this instanceof mf))return new mf(e,t);t||IY(e)||(t=e||{},e="default"),this.inline=new $A,this.block=new RN,this.core=new NY,this.renderer=new u2,this.linkify=new fd,this.validateLink=zEt,this.normalizeLink=HEt,this.normalizeLinkText=qEt,this.utils=WSt,this.helpers=AN({},YSt),this.options={},this.configure(e),t&&this.set(t)}mf.prototype.set=function(e){return AN(this.options,e),this};mf.prototype.configure=function(e){const t=this;if(IY(e)){const n=e;if(e=$Et[n],!e)throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this};mf.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));const r=e.filter(function(i){return n.indexOf(i)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};mf.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));const r=e.filter(function(i){return n.indexOf(i)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};mf.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};mf.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};mf.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};mf.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};mf.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const jEt=/["&'<>`]/g,WEt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,QEt=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,VEt=/[|\\{}()[\]^$+*?.]/g,Vae=new WeakMap;function GEt(e,t){if(e=e.replace(t.subset?YEt(t.subset):jEt,r),t.subset||t.escapeOnly)return e;return e.replace(WEt,n).replace(QEt,r);function n(i,s,a){return t.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,a.charCodeAt(s+2),t)}function r(i,s,a){return t.format(i.charCodeAt(0),a.charCodeAt(s+1),t)}}function YEt(e){let t=Vae.get(e);return t||(t=ZEt(e),Vae.set(e,t)),t}function ZEt(e){const t=[];let n=-1;for(;++n",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},t2t=["cent","copy","divide","gt","lt","not","para","times"],DOe={}.hasOwnProperty,rU={};let b3;for(b3 in l8)DOe.call(l8,b3)&&(rU[l8[b3]]=b3);const n2t=/[^\dA-Za-z]/;function r2t(e,t,n,r){const i=String.fromCharCode(e);if(DOe.call(rU,i)){const s=rU[i],a="&"+s;return n&&rve.includes(s)&&!t2t.includes(s)&&(!r||t&&t!==61&&n2t.test(String.fromCharCode(t)))?a:a+";"}return""}function i2t(e,t,n){let r=KEt(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=r2t(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){const s=e2t(e,t,n.omitOptionalSemicolons);s.length|^->||--!>|"],o2t=["<",">"];function l2t(e,t,n,r){return r.settings.bogusComments?"":"";function i(s){return hO(s,Object.assign({},r.settings.characterReferences,{subset:o2t}))}}function u2t(e,t,n,r){return""}const Lo=POe(1),NOe=POe(-1),c2t=[];function POe(e){return t;function t(n,r,i){const s=n?n.children:c2t;let a=(r||0)+e,o=s[a];if(!i)for(;o&&IA(o);)a+=e,o=s[a];return o}}const d2t={}.hasOwnProperty;function LOe(e){return t;function t(n,r,i){return d2t.call(e,n.tagName)&&e[n.tagName](n,r,i)}}const MY=LOe({body:h2t,caption:u8,colgroup:u8,dd:b2t,dt:g2t,head:u8,html:f2t,li:m2t,optgroup:y2t,option:v2t,p:p2t,rp:Gae,rt:Gae,tbody:O2t,td:Yae,tfoot:E2t,th:Yae,thead:S2t,tr:w2t});function u8(e,t,n){const r=Lo(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&IA(r.value.charAt(0)))}function f2t(e,t,n){const r=Lo(n,t);return!r||r.type!=="comment"}function h2t(e,t,n){const r=Lo(n,t);return!r||r.type!=="comment"}function p2t(e,t,n){const r=Lo(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function m2t(e,t,n){const r=Lo(n,t);return!r||r.type==="element"&&r.tagName==="li"}function g2t(e,t,n){const r=Lo(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function b2t(e,t,n){const r=Lo(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Gae(e,t,n){const r=Lo(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function y2t(e,t,n){const r=Lo(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function v2t(e,t,n){const r=Lo(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function S2t(e,t,n){const r=Lo(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function O2t(e,t,n){const r=Lo(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function E2t(e,t,n){return!Lo(n,t)}function w2t(e,t,n){const r=Lo(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function Yae(e,t,n){const r=Lo(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const x2t=LOe({body:_2t,colgroup:A2t,head:k2t,html:T2t,tbody:C2t});function T2t(e){const t=Lo(e,-1);return!t||t.type!=="comment"}function k2t(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}function _2t(e){const t=Lo(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&IA(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function A2t(e,t,n){const r=NOe(n,t),i=Lo(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&MY(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}function C2t(e,t,n){const r=NOe(n,t),i=Lo(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&MY(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}const y3={name:[[` +`;break}return r};u2.prototype.render=function(e,t,n){let r="";const i=this.rules;for(let s=0,a=e.length;s=0&&(r=this.attrs[n][1]),r};kh.prototype.attrJoin=function(t,n){const r=this.attrIndex(t);r<0?this.attrPush([t,n]):this.attrs[r][1]=this.attrs[r][1]+" "+n};function gOe(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}gOe.prototype.Token=kh;const XSt=/\r\n?|\n/g,KSt=/\0/g;function JSt(e){let t;t=e.src.replace(XSt,` +`),t=t.replace(KSt,"�"),e.src=t}function eOt(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function tOt(e){const t=e.tokens;for(let n=0,r=t.length;n\s]/i.test(e)}function rOt(e){return/^<\/a\s*>/i.test(e)}function iOt(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,r=t.length;n=0;a--){const o=i[a];if(o.type==="link_close"){for(a--;i[a].level!==o.level&&i[a].type!=="link_open";)a--;continue}if(o.type==="html_inline"&&(nOt(o.content)&&s>0&&s--,rOt(o.content)&&s++),!(s>0)&&o.type==="text"&&e.md.linkify.test(o.content)){const l=o.content;let c=e.md.linkify.match(l);const d=[];let f=o.level,p=0;c.length>0&&c[0].index===0&&a>0&&i[a-1].type==="text_special"&&(c=c.slice(1));for(let g=0;gp){const M=new e.Token("text","",0);M.content=l.slice(p,T),M.level=f,d.push(M)}const _=new e.Token("link_open","a",1);_.attrs=[["href",w]],_.level=f++,_.markup="linkify",_.info="auto",d.push(_);const C=new e.Token("text","",0);C.content=x,C.level=f,d.push(C);const I=new e.Token("link_close","a",-1);I.level=--f,I.markup="linkify",I.info="auto",d.push(I),p=c[g].lastIndex}if(p=0;n--){const r=e[n];r.type==="text"&&!t&&(r.content=r.content.replace(aOt,lOt)),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function cOt(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&bOe.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function dOt(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(sOt.test(e.tokens[t].content)&&uOt(e.tokens[t].children),bOe.test(e.tokens[t].content)&&cOt(e.tokens[t].children))}const fOt=/['"]/,Mae=/['"]/g,Fae="’";function m3(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function hOt(e,t){let n;const r=[];for(let i=0;i=0&&!(r[n].level<=a);n--);if(r.length=n+1,s.type!=="text")continue;let o=s.content,l=0,c=o.length;e:for(;l=0)b=o.charCodeAt(d.index-1);else for(n=i-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){b=e[n].content.charCodeAt(e[n].content.length-1);break}let w=32;if(l=48&&b<=57&&(p=f=!1),f&&p&&(f=x,p=T),!f&&!p){g&&(s.content=m3(s.content,d.index,Fae));continue}if(p)for(n=r.length-1;n>=0;n--){let I=r[n];if(r[n].level=0;t--)e.tokens[t].type!=="inline"||!fOt.test(e.tokens[t].content)||hOt(e.tokens[t].children,e)}function mOt(e){let t,n;const r=e.tokens,i=r.length;for(let s=0;s0&&this.level++,this.tokens.push(r),r};jp.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};jp.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;tn;)if(!zs(this.src.charCodeAt(--t)))return t+1;return t};jp.prototype.skipChars=function(t,n){for(let r=this.src.length;tr;)if(n!==this.src.charCodeAt(--t))return t+1;return t};jp.prototype.getLines=function(t,n,r,i){if(t>=n)return"";const s=new Array(n-t);for(let a=0,o=t;or?s[a]=new Array(l-r+1).join(" ")+this.src.slice(d,f):s[a]=this.src.slice(d,f)}return s.join("")};jp.prototype.Token=kh;const gOt=65536;function r8(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function $ae(e){const t=[],n=e.length;let r=0,i=e.charCodeAt(r),s=!1,a=0,o="";for(;rn)return!1;let i=t+1;if(e.sCount[i]=4)return!1;let s=e.bMarks[i]+e.tShift[i];if(s>=e.eMarks[i])return!1;const a=e.src.charCodeAt(s++);if(a!==124&&a!==45&&a!==58||s>=e.eMarks[i])return!1;const o=e.src.charCodeAt(s++);if(o!==124&&o!==45&&o!==58&&!zs(o)||a===45&&zs(o))return!1;for(;s=4)return!1;c=$ae(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();const f=c.length;if(f===0||f!==d.length)return!1;if(r)return!0;const p=e.parentType;e.parentType="table";const g=e.md.block.ruler.getRules("blockquote"),b=e.push("table_open","table",1),w=[t,0];b.map=w;const x=e.push("thead_open","thead",1);x.map=[t,t+1];const T=e.push("tr_open","tr",1);T.map=[t,t+1];for(let I=0;I=4||(c=$ae(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),C+=f-c.length,C>gOt))break;if(i===t+2){const $=e.push("tbody_open","tbody",1);$.map=_=[t+2,0]}const M=e.push("tr_open","tr",1);M.map=[i,i+1];for(let $=0;$=4){r++,i=r;continue}break}e.line=i;const s=e.push("code_block","code",0);return s.content=e.getLines(t,i,4+e.blkIndent,!1)+` +`,s.map=[t,e.line],!0}function vOt(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>s)return!1;const a=e.src.charCodeAt(i);if(a!==126&&a!==96)return!1;let o=i;i=e.skipChars(i,a);let l=i-o;if(l<3)return!1;const c=e.src.slice(o,i),d=e.src.slice(i,s);if(a===96&&d.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;let f=t,p=!1;for(;f++,!(f>=n||(i=o=e.bMarks[f]+e.tShift[f],s=e.eMarks[f],i=4)&&(i=e.skipChars(i,a),!(i-o=4||e.src.charCodeAt(i)!==62)return!1;if(r)return!0;const o=[],l=[],c=[],d=[],f=e.md.block.ruler.getRules("blockquote"),p=e.parentType;e.parentType="blockquote";let g=!1,b;for(b=t;b=s)break;if(e.src.charCodeAt(i++)===62&&!C){let M=e.sCount[b]+1,$,B;e.src.charCodeAt(i)===32?(i++,M++,B=!1,$=!0):e.src.charCodeAt(i)===9?($=!0,(e.bsCount[b]+M)%4===3?(i++,M++,B=!1):B=!0):$=!1;let j=M;for(o.push(e.bMarks[b]),e.bMarks[b]=i;i=s,l.push(e.bsCount[b]),e.bsCount[b]=e.sCount[b]+1+($?1:0),c.push(e.sCount[b]),e.sCount[b]=j-M,d.push(e.tShift[b]),e.tShift[b]=i-e.bMarks[b];continue}if(g)break;let I=!1;for(let M=0,$=f.length;M<$;M++)if(f[M](e,b,n,!0)){I=!0;break}if(I){e.lineMax=b,e.blkIndent!==0&&(o.push(e.bMarks[b]),l.push(e.bsCount[b]),d.push(e.tShift[b]),c.push(e.sCount[b]),e.sCount[b]-=e.blkIndent);break}o.push(e.bMarks[b]),l.push(e.bsCount[b]),d.push(e.tShift[b]),c.push(e.sCount[b]),e.sCount[b]=-1}const w=e.blkIndent;e.blkIndent=0;const x=e.push("blockquote_open","blockquote",1);x.markup=">";const T=[t,0];x.map=T,e.md.block.tokenize(e,t,b);const _=e.push("blockquote_close","blockquote",-1);_.markup=">",e.lineMax=a,e.parentType=p,T[1]=e.line;for(let C=0;C=4)return!1;let s=e.bMarks[t]+e.tShift[t];const a=e.src.charCodeAt(s++);if(a!==42&&a!==45&&a!==95)return!1;let o=1;for(;s=r)return-1;let s=e.src.charCodeAt(i++);if(s<48||s>57)return-1;for(;;){if(i>=r)return-1;if(s=e.src.charCodeAt(i++),s>=48&&s<=57){if(i-n>=10)return-1;continue}if(s===41||s===46)break;return-1}return i=4||e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]=e.blkIndent&&(d=!0);let f,p,g;if((g=Uae(e,l))>=0){if(f=!0,a=e.bMarks[l]+e.tShift[l],p=Number(e.src.slice(a,g-1)),d&&p!==1)return!1}else if((g=Bae(e,l))>=0)f=!1;else return!1;if(d&&e.skipSpaces(g)>=e.eMarks[l])return!1;if(r)return!0;const b=e.src.charCodeAt(g-1),w=e.tokens.length;f?(o=e.push("ordered_list_open","ol",1),p!==1&&(o.attrs=[["start",p]])):o=e.push("bullet_list_open","ul",1);const x=[l,0];o.map=x,o.markup=String.fromCharCode(b);let T=!1;const _=e.md.block.ruler.getRules("list"),C=e.parentType;for(e.parentType="list";l=i?B=1:B=M-I,B>4&&(B=1);const j=I+B;o=e.push("list_item_open","li",1),o.markup=String.fromCharCode(b);const F=[l,0];o.map=F,f&&(o.info=e.src.slice(a,g-1));const V=e.tight,ie=e.tShift[l],se=e.sCount[l],me=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=j,e.tight=!0,e.tShift[l]=$-e.bMarks[l],e.sCount[l]=M,$>=i&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,l,n,!0),(!e.tight||T)&&(c=!1),T=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=me,e.tShift[l]=ie,e.sCount[l]=se,e.tight=V,o=e.push("list_item_close","li",-1),o.markup=String.fromCharCode(b),l=e.line,F[1]=l,l>=n||e.sCount[l]=4)break;let fe=!1;for(let le=0,ye=_.length;le=4||e.src.charCodeAt(i)!==91)return!1;function o(_){const C=e.lineMax;if(_>=C||e.isEmpty(_))return null;let I=!1;if(e.sCount[_]-e.blkIndent>3&&(I=!0),e.sCount[_]<0&&(I=!0),!I){const B=e.md.block.ruler.getRules("reference"),j=e.parentType;e.parentType="reference";let F=!1;for(let V=0,ie=B.length;V"u"&&(e.env.references={}),typeof e.env.references[T]>"u"&&(e.env.references[T]={title:x,href:f}),e.line=a),!0):!1}const TOt=["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","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],kOt="[a-zA-Z_:][a-zA-Z0-9:._-]*",_Ot="[^\"'=<>`\\x00-\\x20]+",AOt="'[^']*'",COt='"[^"]*"',ROt="(?:"+_Ot+"|"+AOt+"|"+COt+")",IOt="(?:\\s+"+kOt+"(?:\\s*=\\s*"+ROt+")?)",yOe="<[A-Za-z][A-Za-z0-9\\-]*"+IOt+"*\\s*\\/?>",vOe="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",DOt="",NOt="<[?][\\s\\S]*?[?]>",POt="]*>",LOt="",MOt=new RegExp("^(?:"+yOe+"|"+vOe+"|"+DOt+"|"+NOt+"|"+POt+"|"+LOt+")"),FOt=new RegExp("^(?:"+yOe+"|"+vOe+")"),eS=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(FOt.source+"\\s*$"),/^$/,!1]];function $Ot(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let a=e.src.slice(i,s),o=0;for(;o=4)return!1;let a=e.src.charCodeAt(i);if(a!==35||i>=s)return!1;let o=1;for(a=e.src.charCodeAt(++i);a===35&&i6||ii&&zs(e.src.charCodeAt(l-1))&&(s=l),e.line=t+1;const c=e.push("heading_open","h"+String(o),1);c.markup="########".slice(0,o),c.map=[t,e.line];const d=e.push("inline","",0);d.content=e.src.slice(i,s).trim(),d.map=[t,e.line],d.children=[];const f=e.push("heading_close","h"+String(o),-1);return f.markup="########".slice(0,o),!0}function UOt(e,t,n){const r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const i=e.parentType;e.parentType="paragraph";let s=0,a,o=t+1;for(;o3)continue;if(e.sCount[o]>=e.blkIndent){let g=e.bMarks[o]+e.tShift[o];const b=e.eMarks[o];if(g=b))){s=a===61?1:2;break}}if(e.sCount[o]<0)continue;let p=!1;for(let g=0,b=r.length;g3||e.sCount[s]<0)continue;let c=!1;for(let d=0,f=r.length;d=n||e.sCount[a]=s){e.line=n;break}const l=e.line;let c=!1;for(let d=0;d=e.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");e.tight=!o,e.isEmpty(e.line-1)&&(o=!0),a=e.line,a0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r};FA.prototype.scanDelims=function(e,t){const n=this.posMax,r=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32;let s=e;for(;s0)return!1;const n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;const i=e.pending.match(jOt);if(!i)return!1;const s=i[1],a=e.md.linkify.matchAtStart(e.src.slice(n-s.length));if(!a)return!1;let o=a.url;if(o.length<=s.length)return!1;o=o.replace(/\*+$/,"");const l=e.md.normalizeLink(o);if(!e.md.validateLink(l))return!1;if(!t){e.pending=e.pending.slice(0,-s.length);const c=e.push("link_open","a",1);c.attrs=[["href",l]],c.markup="linkify",c.info="auto";const d=e.push("text","",0);d.content=e.md.normalizeLinkText(o);const f=e.push("link_close","a",-1);f.markup="linkify",f.info="auto"}return e.pos+=o.length-s.length,!0}function QOt(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;const r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){let s=r-1;for(;s>=1&&e.pending.charCodeAt(s-1)===32;)s--;e.pending=e.pending.slice(0,s),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n?@[]^_`{|}~-".split("").forEach(function(e){PY[e.charCodeAt(0)]=1});function VOt(e,t){let n=e.pos;const r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let i=e.src.charCodeAt(n);if(i===10){for(t||e.push("hardbreak","br",0),n++;n=55296&&i<=56319&&n+1=56320&&o<=57343&&(s+=e.src[n+1],n++)}const a="\\"+s;if(!t){const o=e.push("text_special","",0);i<256&&PY[i]!==0?o.content=s:o.content=a,o.markup=a,o.info="escape"}return e.pos=n+1,!0}function GOt(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;const i=n;n++;const s=e.posMax;for(;n=0;r--){const i=t[r];if(i.marker!==95&&i.marker!==42||i.end===-1)continue;const s=t[i.end],a=r>0&&t[r-1].end===i.end+1&&t[r-1].marker===i.marker&&t[r-1].token===i.token-1&&t[i.end+1].token===s.token+1,o=String.fromCharCode(i.marker),l=e.tokens[i.token];l.type=a?"strong_open":"em_open",l.tag=a?"strong":"em",l.nesting=1,l.markup=a?o+o:o,l.content="";const c=e.tokens[s.token];c.type=a?"strong_close":"em_close",c.tag=a?"strong":"em",c.nesting=-1,c.markup=a?o+o:o,c.content="",a&&(e.tokens[t[r-1].token].content="",e.tokens[t[i.end+1].token].content="",r--)}}function KOt(e){const t=e.tokens_meta,n=e.tokens_meta.length;Hae(e,e.delimiters);for(let r=0;r=f)return!1;if(l=b,i=e.md.helpers.parseLinkDestination(e.src,b,e.posMax),i.ok){for(a=e.md.normalizeLink(i.str),e.md.validateLink(a)?b=i.pos:a="",l=b;b=f||e.src.charCodeAt(b)!==41)&&(c=!0),b++}if(c){if(typeof e.env.references>"u")return!1;if(b=0?r=e.src.slice(l,b++):b=g+1):b=g+1,r||(r=e.src.slice(p,g)),s=e.env.references[CN(r)],!s)return e.pos=d,!1;a=s.href,o=s.title}if(!t){e.pos=p,e.posMax=g;const w=e.push("link_open","a",1),x=[["href",a]];w.attrs=x,o&&x.push(["title",o]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=b,e.posMax=f,!0}function eEt(e,t){let n,r,i,s,a,o,l,c,d="";const f=e.pos,p=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const g=e.pos+2,b=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(b<0)return!1;if(s=b+1,s=p)return!1;for(c=s,o=e.md.helpers.parseLinkDestination(e.src,s,e.posMax),o.ok&&(d=e.md.normalizeLink(o.str),e.md.validateLink(d)?s=o.pos:d=""),c=s;s=p||e.src.charCodeAt(s)!==41)return e.pos=f,!1;s++}else{if(typeof e.env.references>"u")return!1;if(s=0?i=e.src.slice(c,s++):s=b+1):s=b+1,i||(i=e.src.slice(g,b)),a=e.env.references[CN(i)],!a)return e.pos=f,!1;d=a.href,l=a.title}if(!t){r=e.src.slice(g,b);const w=[];e.md.inline.parse(r,e.md,e.env,w);const x=e.push("image","img",0),T=[["src",d],["alt",""]];x.attrs=T,x.children=w,x.content=r,l&&T.push(["title",l])}return e.pos=s,e.posMax=p,!0}const tEt=/^([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])?)*)$/,nEt=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function rEt(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;const r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;const a=e.src.charCodeAt(n);if(a===60)return!1;if(a===62)break}const s=e.src.slice(r+1,n);if(nEt.test(s)){const a=e.md.normalizeLink(s);if(!e.md.validateLink(a))return!1;if(!t){const o=e.push("link_open","a",1);o.attrs=[["href",a]],o.markup="autolink",o.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(s);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=s.length+2,!0}if(tEt.test(s)){const a=e.md.normalizeLink("mailto:"+s);if(!e.md.validateLink(a))return!1;if(!t){const o=e.push("link_open","a",1);o.attrs=[["href",a]],o.markup="autolink",o.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(s);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=s.length+2,!0}return!1}function iEt(e){return/^\s]/i.test(e)}function sEt(e){return/^<\/a\s*>/i.test(e)}function aEt(e){const t=e|32;return t>=97&&t<=122}function oEt(e,t){if(!e.md.options.html)return!1;const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;const i=e.src.charCodeAt(r+1);if(i!==33&&i!==63&&i!==47&&!aEt(i))return!1;const s=e.src.slice(r).match(MOt);if(!s)return!1;if(!t){const a=e.push("html_inline","",0);a.content=s[0],iEt(a.content)&&e.linkLevel++,sEt(a.content)&&e.linkLevel--}return e.pos+=s[0].length,!0}const lEt=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,uEt=/^&([a-z][a-z0-9]{1,31});/i;function cEt(e,t){const n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){const s=e.src.slice(n).match(lEt);if(s){if(!t){const a=s[1][0].toLowerCase()==="x"?parseInt(s[1].slice(1),16):parseInt(s[1],10),o=e.push("text_special","",0);o.content=DY(a)?MI(a):MI(65533),o.markup=s[0],o.info="entity"}return e.pos+=s[0].length,!0}}else{const s=e.src.slice(n).match(uEt);if(s){const a=Lve(s[0]);if(a!==s[0]){if(!t){const o=e.push("text_special","",0);o.content=a,o.markup=s[0],o.info="entity"}return e.pos+=s[0].length,!0}}}return!1}function qae(e){const t={},n=e.length;if(!n)return;let r=0,i=-2;const s=[];for(let a=0;al;c-=s[c]+1){const f=e[c];if(f.marker===o.marker&&f.open&&f.end<0){let p=!1;if((f.close||o.open)&&(f.length+o.length)%3===0&&(f.length%3!==0||o.length%3!==0)&&(p=!0),!p){const g=c>0&&!e[c-1].open?s[c-1]+1:0;s[a]=a-c+g,s[c]=g,o.open=!1,f.end=a,f.close=!1,d=-1,i=-2;break}}}d!==-1&&(t[o.marker][(o.open?3:0)+(o.length||0)%3]=d)}}function dEt(e){const t=e.tokens_meta,n=e.tokens_meta.length;qae(e.delimiters);for(let r=0;r0&&r++,i[t].type==="text"&&t+1=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,s[t]=e.pos};$A.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(a){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};$A.prototype.parse=function(e,t,n,r){const i=new this.State(e,t,n,r);this.tokenize(i);const s=this.ruler2.getRules(""),a=s.length;for(let o=0;o|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function tU(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(r){e[r]=n[r]})}),e}function IN(e){return Object.prototype.toString.call(e)}function pEt(e){return IN(e)==="[object String]"}function mEt(e){return IN(e)==="[object Object]"}function gEt(e){return IN(e)==="[object RegExp]"}function jae(e){return IN(e)==="[object Function]"}function bEt(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const EOe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function yEt(e){return Object.keys(e||{}).reduce(function(t,n){return t||EOe.hasOwnProperty(n)},!1)}const vEt={"http:":{validate:function(e,t,n){const r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},SEt="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]",OEt="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function EEt(e){e.__index__=-1,e.__text_cache__=""}function wEt(e){return function(t,n){const r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function Wae(){return function(e,t){t.normalize(e)}}function FI(e){const t=e.re=hEt(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(SEt),n.push(t.src_xn),t.src_tlds=n.join("|");function r(o){return o.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");const i=[];e.__compiled__={};function s(o,l){throw new Error('(LinkifyIt) Invalid schema "'+o+'": '+l)}Object.keys(e.__schemas__).forEach(function(o){const l=e.__schemas__[o];if(l===null)return;const c={validate:null,link:null};if(e.__compiled__[o]=c,mEt(l)){gEt(l.validate)?c.validate=wEt(l.validate):jae(l.validate)?c.validate=l.validate:s(o,l),jae(l.normalize)?c.normalize=l.normalize:l.normalize?s(o,l):c.normalize=Wae();return}if(pEt(l)){i.push(o);return}s(o,l)}),i.forEach(function(o){e.__compiled__[e.__schemas__[o]]&&(e.__compiled__[o].validate=e.__compiled__[e.__schemas__[o]].validate,e.__compiled__[o].normalize=e.__compiled__[e.__schemas__[o]].normalize)}),e.__compiled__[""]={validate:null,normalize:Wae()};const a=Object.keys(e.__compiled__).filter(function(o){return o.length>0&&e.__compiled__[o]}).map(bEt).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),EEt(e)}function xEt(e,t){const n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function nU(e,t){const n=new xEt(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function hd(e,t){if(!(this instanceof hd))return new hd(e,t);t||yEt(e)&&(t=e,e={}),this.__opts__=tU({},EOe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=tU({},vEt,e),this.__compiled__={},this.__tlds__=OEt,this.__tlds_replaced__=!1,this.re={},FI(this)}hd.prototype.add=function(t,n){return this.__schemas__[t]=n,FI(this),this};hd.prototype.set=function(t){return this.__opts__=tU(this.__opts__,t),this};hd.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let n,r,i,s,a,o,l,c,d;if(this.re.schema_test.test(t)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(t))!==null;)if(s=this.testSchemaAt(t,n[2],l.lastIndex),s){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+s;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=t.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(i=t.match(this.re.email_fuzzy))!==null&&(a=i.index+i[1].length,o=i.index+i[0].length,(this.__index__<0||athis.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=o))),this.__index__>=0};hd.prototype.pretest=function(t){return this.re.pretest.test(t)};hd.prototype.testSchemaAt=function(t,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,r,this):0};hd.prototype.match=function(t){const n=[];let r=0;this.__index__>=0&&this.__text_cache__===t&&(n.push(nU(this,r)),r=this.__last_index__);let i=r?t.slice(r):t;for(;this.test(i);)n.push(nU(this,r)),i=i.slice(this.__last_index__),r+=this.__last_index__;return n.length?n:null};hd.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const n=this.re.schema_at_start.exec(t);if(!n)return null;const r=this.testSchemaAt(t,n[2],n[0].length);return r?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r,nU(this,0)):null};hd.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(r,i,s){return r!==s[i-1]}).reverse(),FI(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,FI(this),this)};hd.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};hd.prototype.onCompile=function(){};const fO=2147483647,gp=36,LY=1,a_=26,TEt=38,kEt=700,wOe=72,xOe=128,TOe="-",_Et=/^xn--/,AEt=/[^\0-\x7F]/,CEt=/[\x2E\u3002\uFF0E\uFF61]/g,REt={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},a8=gp-LY,bp=Math.floor,o8=String.fromCharCode;function vg(e){throw new RangeError(REt[e])}function IEt(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function kOe(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(CEt,".");const i=e.split("."),s=IEt(i,t).join(".");return r+s}function _Oe(e){const t=[];let n=0;const r=e.length;for(;n=55296&&i<=56319&&nString.fromCodePoint(...e),NEt=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:gp},Qae=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},AOe=function(e,t,n){let r=0;for(e=n?bp(e/kEt):e>>1,e+=bp(e/t);e>a8*a_>>1;r+=gp)e=bp(e/a8);return bp(r+(a8+1)*e/(e+TEt))},COe=function(e){const t=[],n=e.length;let r=0,i=xOe,s=wOe,a=e.lastIndexOf(TOe);a<0&&(a=0);for(let o=0;o=128&&vg("not-basic"),t.push(e.charCodeAt(o));for(let o=a>0?a+1:0;o=n&&vg("invalid-input");const p=NEt(e.charCodeAt(o++));p>=gp&&vg("invalid-input"),p>bp((fO-r)/d)&&vg("overflow"),r+=p*d;const g=f<=s?LY:f>=s+a_?a_:f-s;if(pbp(fO/b)&&vg("overflow"),d*=b}const c=t.length+1;s=AOe(r-l,c,l==0),bp(r/c)>fO-i&&vg("overflow"),i+=bp(r/c),r%=c,t.splice(r++,0,i)}return String.fromCodePoint(...t)},ROe=function(e){const t=[];e=_Oe(e);const n=e.length;let r=xOe,i=0,s=wOe;for(const l of e)l<128&&t.push(o8(l));const a=t.length;let o=a;for(a&&t.push(TOe);o=r&&dbp((fO-i)/c)&&vg("overflow"),i+=(l-r)*c,r=l;for(const d of e)if(dfO&&vg("overflow"),d===r){let f=i;for(let p=gp;;p+=gp){const g=p<=s?LY:p>=s+a_?a_:p-s;if(f=0))try{t.hostname=IOe.toASCII(t.hostname)}catch{}return MA(AY(t))}function jEt(e){const t=CY(e,!0);if(t.hostname&&(!t.protocol||DOe.indexOf(t.protocol)>=0))try{t.hostname=IOe.toUnicode(t.hostname)}catch{}return hE(AY(t),hE.defaultChars+"%")}function mf(e,t){if(!(this instanceof mf))return new mf(e,t);t||IY(e)||(t=e||{},e="default"),this.inline=new $A,this.block=new RN,this.core=new NY,this.renderer=new u2,this.linkify=new hd,this.validateLink=HEt,this.normalizeLink=qEt,this.normalizeLinkText=jEt,this.utils=QSt,this.helpers=AN({},ZSt),this.options={},this.configure(e),t&&this.set(t)}mf.prototype.set=function(e){return AN(this.options,e),this};mf.prototype.configure=function(e){const t=this;if(IY(e)){const n=e;if(e=BEt[n],!e)throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this};mf.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));const r=e.filter(function(i){return n.indexOf(i)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};mf.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));const r=e.filter(function(i){return n.indexOf(i)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};mf.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};mf.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};mf.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};mf.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};mf.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const WEt=/["&'<>`]/g,QEt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,VEt=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,GEt=/[|\\{}()[\]^$+*?.]/g,Vae=new WeakMap;function YEt(e,t){if(e=e.replace(t.subset?ZEt(t.subset):WEt,r),t.subset||t.escapeOnly)return e;return e.replace(QEt,n).replace(VEt,r);function n(i,s,a){return t.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,a.charCodeAt(s+2),t)}function r(i,s,a){return t.format(i.charCodeAt(0),a.charCodeAt(s+1),t)}}function ZEt(e){let t=Vae.get(e);return t||(t=XEt(e),Vae.set(e,t)),t}function XEt(e){const t=[];let n=-1;for(;++n",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},n2t=["cent","copy","divide","gt","lt","not","para","times"],NOe={}.hasOwnProperty,rU={};let b3;for(b3 in l8)NOe.call(l8,b3)&&(rU[l8[b3]]=b3);const r2t=/[^\dA-Za-z]/;function i2t(e,t,n,r){const i=String.fromCharCode(e);if(NOe.call(rU,i)){const s=rU[i],a="&"+s;return n&&ive.includes(s)&&!n2t.includes(s)&&(!r||t&&t!==61&&r2t.test(String.fromCharCode(t)))?a:a+";"}return""}function s2t(e,t,n){let r=JEt(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=i2t(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){const s=t2t(e,t,n.omitOptionalSemicolons);s.length|^->||--!>|"],l2t=["<",">"];function u2t(e,t,n,r){return r.settings.bogusComments?"":"";function i(s){return hO(s,Object.assign({},r.settings.characterReferences,{subset:l2t}))}}function c2t(e,t,n,r){return""}const Lo=LOe(1),POe=LOe(-1),d2t=[];function LOe(e){return t;function t(n,r,i){const s=n?n.children:d2t;let a=(r||0)+e,o=s[a];if(!i)for(;o&&IA(o);)a+=e,o=s[a];return o}}const f2t={}.hasOwnProperty;function MOe(e){return t;function t(n,r,i){return f2t.call(e,n.tagName)&&e[n.tagName](n,r,i)}}const MY=MOe({body:p2t,caption:u8,colgroup:u8,dd:y2t,dt:b2t,head:u8,html:h2t,li:g2t,optgroup:v2t,option:S2t,p:m2t,rp:Gae,rt:Gae,tbody:E2t,td:Yae,tfoot:w2t,th:Yae,thead:O2t,tr:x2t});function u8(e,t,n){const r=Lo(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&IA(r.value.charAt(0)))}function h2t(e,t,n){const r=Lo(n,t);return!r||r.type!=="comment"}function p2t(e,t,n){const r=Lo(n,t);return!r||r.type!=="comment"}function m2t(e,t,n){const r=Lo(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function g2t(e,t,n){const r=Lo(n,t);return!r||r.type==="element"&&r.tagName==="li"}function b2t(e,t,n){const r=Lo(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function y2t(e,t,n){const r=Lo(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Gae(e,t,n){const r=Lo(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function v2t(e,t,n){const r=Lo(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function S2t(e,t,n){const r=Lo(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function O2t(e,t,n){const r=Lo(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function E2t(e,t,n){const r=Lo(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function w2t(e,t,n){return!Lo(n,t)}function x2t(e,t,n){const r=Lo(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function Yae(e,t,n){const r=Lo(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const T2t=MOe({body:A2t,colgroup:C2t,head:_2t,html:k2t,tbody:R2t});function k2t(e){const t=Lo(e,-1);return!t||t.type!=="comment"}function _2t(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}function A2t(e){const t=Lo(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&IA(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function C2t(e,t,n){const r=POe(n,t),i=Lo(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&MY(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}function R2t(e,t,n){const r=POe(n,t),i=Lo(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&MY(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}const y3={name:[[` \f\r &/=>`.split(""),` \f\r "&'/=>\``.split("")],[`\0 \f\r "&'/<=>`.split(""),`\0 @@ -461,7 +461,7 @@ ${he}`);const re=le?ae:ae+1,Fe=ae+he.length;(je=a.doc)==null||je.update((tt,St)= \f\r &>`.split(""),`\0 \f\r "&'<=>\``.split("")],[`\0 \f\r "&'<=>\``.split(""),`\0 -\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function R2t(e,t,n,r){const i=r.schema,s=i.space==="svg"?!1:r.settings.omitOptionalTags;let a=i.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const o=[];let l;i.space==="html"&&e.tagName==="svg"&&(r.schema=xh);const c=I2t(r,e.properties),d=r.all(i.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=i,d&&(a=!1),(c||!s||!x2t(e,t,n))&&(o.push("<",e.tagName,c?" "+c:""),a&&(i.space==="svg"||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&o.push(" "),o.push("/")),o.push(">")),o.push(d),!a&&(!s||!MY(e,t,n))&&o.push(""),o.join("")}function I2t(e,t){const n=[];let r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){const s=D2t(e,i,t[i]);s&&n.push(s)}}for(;++rPI(n,e.alternative)&&(a=e.alternative),o=a+hO(n,Object.assign({},e.settings.characterReferences,{subset:(a==="'"?y3.single:y3.double)[i][s],attribute:!0}))+a),l+(o&&"="+o))}const N2t=["<","&"];function MOe(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:hO(e.value,Object.assign({},r.settings.characterReferences,{subset:N2t}))}function P2t(e,t,n,r){return r.settings.allowDangerousHtml?e.value:MOe(e,t,n,r)}function L2t(e,t,n,r){return r.all(e)}const M2t=yN("type",{invalid:F2t,unknown:$2t,handlers:{comment:l2t,doctype:u2t,element:R2t,raw:P2t,root:L2t,text:MOe}});function F2t(e){throw new Error("Expected node, not `"+e+"`")}function $2t(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const B2t={},U2t={},z2t=[];function H2t(e,t){const n=B2t,r=n.quote||'"',i=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:q2t,all:j2t,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||_ve,characterReferences:n.characterReferences||U2t,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?xh:C1,quote:r,alternative:i}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function q2t(e,t,n){return M2t(e,t,n,this)}function j2t(e){const t=[],n=e&&e.children||z2t;let r=-1;for(;++r15?et="…"+Pe.slice(G-15,G):et=Pe.slice(0,G);let lt;K+15":">","<":"<",'"':""","'":"'"},f=/[&><"']/g;function p(E){return String(E).replace(f,v=>d[v])}const g=function(E){return E.type==="ordgroup"||E.type==="color"?E.body.length===1?g(E.body[0]):E:E.type==="font"?g(E.body):E},b=function(E){const v=g(E);return v.type==="mathord"||v.type==="textord"||v.type==="atom"},w=function(E){if(!E)throw new Error("Expected non-null, but got "+String(E));return E};var T={contains:a,deflt:o,escape:p,hyphenate:c,getBaseElem:g,isCharacterBox:b,protocolFromUrl:function(E){const v=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(E);return v?v[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(v[1])?null:v[1].toLowerCase():"_relative"}};const _={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:E=>"#"+E},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(E,v)=>(v.push(E),v)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:E=>Math.max(0,E),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:E=>Math.max(0,E),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:E=>Math.max(0,E),cli:"-e, --max-expand ",cliProcessor:E=>E==="Infinity"?1/0:parseInt(E)},globalGroup:{type:"boolean",cli:!1}};function C(E){if(E.default)return E.default;const v=E.type,k=Array.isArray(v)?v[0]:v;if(typeof k!="string")return k.enum[0];switch(k){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class I{constructor(v){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,v=v||{};for(const k in _)if(_.hasOwnProperty(k)){const D=_[k];this[k]=v[k]!==void 0?D.processor?D.processor(v[k]):v[k]:C(D)}}reportNonstrict(v,k,D){let G=this.strict;if(typeof G=="function"&&(G=G(v,k,D)),!(!G||G==="ignore")){if(G===!0||G==="error")throw new s("LaTeX-incompatible input and strict mode is set to 'error': "+(k+" ["+v+"]"),D);G==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(k+" ["+v+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+G+"': "+k+" ["+v+"]"))}}useStrictBehavior(v,k,D){let G=this.strict;if(typeof G=="function")try{G=G(v,k,D)}catch{G="error"}return!G||G==="ignore"?!1:G===!0||G==="error"?!0:G==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(k+" ["+v+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+G+"': "+k+" ["+v+"]")),!1)}isTrusted(v){if(v.url&&!v.protocol){const D=T.protocolFromUrl(v.url);if(D==null)return!1;v.protocol=D}return!!(typeof this.trust=="function"?this.trust(v):this.trust)}}class M{constructor(v,k,D){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=v,this.size=k,this.cramped=D}sup(){return fe[le[this.id]]}sub(){return fe[ye[this.id]]}fracNum(){return fe[ae[this.id]]}fracDen(){return fe[Se[this.id]]}cramp(){return fe[he[this.id]]}text(){return fe[re[this.id]]}isTight(){return this.size>=2}}const $=0,B=1,j=2,F=3,V=4,ie=5,se=6,me=7,fe=[new M($,0,!1),new M(B,0,!0),new M(j,1,!1),new M(F,1,!0),new M(V,2,!1),new M(ie,2,!0),new M(se,3,!1),new M(me,3,!0)],le=[V,ie,V,ie,se,me,se,me],ye=[ie,ie,ie,ie,me,me,me,me],ae=[j,F,V,ie,se,me,se,me],Se=[F,F,ie,ie,me,me,me,me],he=[B,B,F,F,ie,ie,me,me],re=[$,B,j,F,j,F,j,F];var Fe={DISPLAY:fe[$],TEXT:fe[j],SCRIPT:fe[V],SCRIPTSCRIPT:fe[se]};const je=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function ue(E){for(let v=0;v=G[0]&&E<=G[1])return k.name}}return null}const tt=[];je.forEach(E=>E.blocks.forEach(v=>tt.push(...v)));function St(E){for(let v=0;v=tt[v]&&E<=tt[v+1])return!0;return!1}const Ze=80,qt=function(E,v){return"M95,"+(622+E+v)+` +\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function I2t(e,t,n,r){const i=r.schema,s=i.space==="svg"?!1:r.settings.omitOptionalTags;let a=i.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const o=[];let l;i.space==="html"&&e.tagName==="svg"&&(r.schema=xh);const c=D2t(r,e.properties),d=r.all(i.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=i,d&&(a=!1),(c||!s||!T2t(e,t,n))&&(o.push("<",e.tagName,c?" "+c:""),a&&(i.space==="svg"||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&o.push(" "),o.push("/")),o.push(">")),o.push(d),!a&&(!s||!MY(e,t,n))&&o.push(""),o.join("")}function D2t(e,t){const n=[];let r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){const s=N2t(e,i,t[i]);s&&n.push(s)}}for(;++rPI(n,e.alternative)&&(a=e.alternative),o=a+hO(n,Object.assign({},e.settings.characterReferences,{subset:(a==="'"?y3.single:y3.double)[i][s],attribute:!0}))+a),l+(o&&"="+o))}const P2t=["<","&"];function FOe(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:hO(e.value,Object.assign({},r.settings.characterReferences,{subset:P2t}))}function L2t(e,t,n,r){return r.settings.allowDangerousHtml?e.value:FOe(e,t,n,r)}function M2t(e,t,n,r){return r.all(e)}const F2t=yN("type",{invalid:$2t,unknown:B2t,handlers:{comment:u2t,doctype:c2t,element:I2t,raw:L2t,root:M2t,text:FOe}});function $2t(e){throw new Error("Expected node, not `"+e+"`")}function B2t(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const U2t={},z2t={},H2t=[];function q2t(e,t){const n=U2t,r=n.quote||'"',i=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:j2t,all:W2t,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||Ave,characterReferences:n.characterReferences||z2t,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?xh:C1,quote:r,alternative:i}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function j2t(e,t,n){return F2t(e,t,n,this)}function W2t(e){const t=[],n=e&&e.children||H2t;let r=-1;for(;++r15?et="…"+Pe.slice(G-15,G):et=Pe.slice(0,G);let lt;K+15":">","<":"<",'"':""","'":"'"},f=/[&><"']/g;function p(E){return String(E).replace(f,v=>d[v])}const g=function(E){return E.type==="ordgroup"||E.type==="color"?E.body.length===1?g(E.body[0]):E:E.type==="font"?g(E.body):E},b=function(E){const v=g(E);return v.type==="mathord"||v.type==="textord"||v.type==="atom"},w=function(E){if(!E)throw new Error("Expected non-null, but got "+String(E));return E};var T={contains:a,deflt:o,escape:p,hyphenate:c,getBaseElem:g,isCharacterBox:b,protocolFromUrl:function(E){const v=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(E);return v?v[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(v[1])?null:v[1].toLowerCase():"_relative"}};const _={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:E=>"#"+E},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(E,v)=>(v.push(E),v)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:E=>Math.max(0,E),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:E=>Math.max(0,E),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:E=>Math.max(0,E),cli:"-e, --max-expand ",cliProcessor:E=>E==="Infinity"?1/0:parseInt(E)},globalGroup:{type:"boolean",cli:!1}};function C(E){if(E.default)return E.default;const v=E.type,k=Array.isArray(v)?v[0]:v;if(typeof k!="string")return k.enum[0];switch(k){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class I{constructor(v){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,v=v||{};for(const k in _)if(_.hasOwnProperty(k)){const D=_[k];this[k]=v[k]!==void 0?D.processor?D.processor(v[k]):v[k]:C(D)}}reportNonstrict(v,k,D){let G=this.strict;if(typeof G=="function"&&(G=G(v,k,D)),!(!G||G==="ignore")){if(G===!0||G==="error")throw new s("LaTeX-incompatible input and strict mode is set to 'error': "+(k+" ["+v+"]"),D);G==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(k+" ["+v+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+G+"': "+k+" ["+v+"]"))}}useStrictBehavior(v,k,D){let G=this.strict;if(typeof G=="function")try{G=G(v,k,D)}catch{G="error"}return!G||G==="ignore"?!1:G===!0||G==="error"?!0:G==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(k+" ["+v+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+G+"': "+k+" ["+v+"]")),!1)}isTrusted(v){if(v.url&&!v.protocol){const D=T.protocolFromUrl(v.url);if(D==null)return!1;v.protocol=D}return!!(typeof this.trust=="function"?this.trust(v):this.trust)}}class M{constructor(v,k,D){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=v,this.size=k,this.cramped=D}sup(){return fe[le[this.id]]}sub(){return fe[ye[this.id]]}fracNum(){return fe[ae[this.id]]}fracDen(){return fe[Se[this.id]]}cramp(){return fe[he[this.id]]}text(){return fe[re[this.id]]}isTight(){return this.size>=2}}const $=0,B=1,j=2,F=3,V=4,ie=5,se=6,me=7,fe=[new M($,0,!1),new M(B,0,!0),new M(j,1,!1),new M(F,1,!0),new M(V,2,!1),new M(ie,2,!0),new M(se,3,!1),new M(me,3,!0)],le=[V,ie,V,ie,se,me,se,me],ye=[ie,ie,ie,ie,me,me,me,me],ae=[j,F,V,ie,se,me,se,me],Se=[F,F,ie,ie,me,me,me,me],he=[B,B,F,F,ie,ie,me,me],re=[$,B,j,F,j,F,j,F];var Fe={DISPLAY:fe[$],TEXT:fe[j],SCRIPT:fe[V],SCRIPTSCRIPT:fe[se]};const je=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function ue(E){for(let v=0;v=G[0]&&E<=G[1])return k.name}}return null}const tt=[];je.forEach(E=>E.blocks.forEach(v=>tt.push(...v)));function St(E){for(let v=0;v=tt[v]&&E<=tt[v+1])return!0;return!1}const Ze=80,qt=function(E,v){return"M95,"+(622+E+v)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 @@ -715,19 +715,19 @@ c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6 c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 l0,-`+(v+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, --470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class te{constructor(v){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=v,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(v){return T.contains(this.classes,v)}toNode(){const v=document.createDocumentFragment();for(let k=0;kk.toText();return this.children.map(v).join("")}}var de={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}};const we={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},We={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function Ke(E,v){de[E]=v}function xe(E,v,k){if(!de[v])throw new Error("Font metrics not found for font: "+v+".");let D=E.charCodeAt(0),G=de[v][D];if(!G&&E[0]in We&&(D=We[E[0]].charCodeAt(0),G=de[v][D]),!G&&k==="text"&&St(D)&&(G=de[v][77]),G)return{depth:G[0],height:G[1],italic:G[2],skew:G[3],width:G[4]}}const Qe={};function yt(E){let v;if(E>=5?v=0:E>=3?v=1:v=2,!Qe[v]){const k=Qe[v]={cssEmPerMu:we.quad[v]/18};for(const D in we)we.hasOwnProperty(D)&&(k[D]=we[D][v])}return Qe[v]}const Be=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Ne=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],rt=function(E,v){return v.size<2?E:Be[E-1][v.size-1]};class pt{constructor(v){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=v.style,this.color=v.color,this.size=v.size||pt.BASESIZE,this.textSize=v.textSize||this.size,this.phantom=!!v.phantom,this.font=v.font||"",this.fontFamily=v.fontFamily||"",this.fontWeight=v.fontWeight||"",this.fontShape=v.fontShape||"",this.sizeMultiplier=Ne[this.size-1],this.maxSize=v.maxSize,this.minRuleThickness=v.minRuleThickness,this._fontMetrics=void 0}extend(v){const k={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(const D in v)v.hasOwnProperty(D)&&(k[D]=v[D]);return new pt(k)}havingStyle(v){return this.style===v?this:this.extend({style:v,size:rt(this.textSize,v)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(v){return this.size===v&&this.textSize===v?this:this.extend({style:this.style.text(),size:v,textSize:v,sizeMultiplier:Ne[v-1]})}havingBaseStyle(v){v=v||this.style.text();const k=rt(pt.BASESIZE,v);return this.size===k&&this.textSize===pt.BASESIZE&&this.style===v?this:this.extend({style:v,size:k})}havingBaseSizing(){let v;switch(this.style.id){case 4:case 5:v=3;break;case 6:case 7:v=1;break;default:v=6}return this.extend({style:this.style.text(),size:v})}withColor(v){return this.extend({color:v})}withPhantom(){return this.extend({phantom:!0})}withFont(v){return this.extend({font:v})}withTextFontFamily(v){return this.extend({fontFamily:v,font:""})}withTextFontWeight(v){return this.extend({fontWeight:v,font:""})}withTextFontShape(v){return this.extend({fontShape:v,font:""})}sizingClasses(v){return v.size!==this.size?["sizing","reset-size"+v.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==pt.BASESIZE?["sizing","reset-size"+this.size,"size"+pt.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=yt(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}pt.BASESIZE=6;var Dt=pt;const Gt={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Pn={ex:!0,em:!0,mu:!0},Fn=function(E){return typeof E!="string"&&(E=E.unit),E in Gt||E in Pn||E==="ex"},kt=function(E,v){let k;if(E.unit in Gt)k=Gt[E.unit]/v.fontMetrics().ptPerEm/v.sizeMultiplier;else if(E.unit==="mu")k=v.fontMetrics().cssEmPerMu;else{let D;if(v.style.isTight()?D=v.havingStyle(v.style.text()):D=v,E.unit==="ex")k=D.fontMetrics().xHeight;else if(E.unit==="em")k=D.fontMetrics().quad;else throw new s("Invalid unit: '"+E.unit+"'");D!==v&&(k*=D.sizeMultiplier/v.sizeMultiplier)}return Math.min(E.number*k,v.maxSize)},ct=function(E){return+E.toFixed(4)+"em"},fn=function(E){return E.filter(v=>v).join(" ")},Rn=function(E,v,k){if(this.classes=E||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=k||{},v){v.style.isTight()&&this.classes.push("mtight");const D=v.getColor();D&&(this.style.color=D)}},Sr=function(E){const v=document.createElement(E);v.className=fn(this.classes);for(const k in this.style)this.style.hasOwnProperty(k)&&(v.style[k]=this.style[k]);for(const k in this.attributes)this.attributes.hasOwnProperty(k)&&v.setAttribute(k,this.attributes[k]);for(let k=0;k",v};class sr{constructor(v,k,D,G){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Rn.call(this,v,D,G),this.children=k||[]}setAttribute(v,k){this.attributes[v]=k}hasClass(v){return T.contains(this.classes,v)}toNode(){return Sr.call(this,"span")}toMarkup(){return ai.call(this,"span")}}class oi{constructor(v,k,D,G){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Rn.call(this,k,G),this.children=D||[],this.setAttribute("href",v)}setAttribute(v,k){this.attributes[v]=k}hasClass(v){return T.contains(this.classes,v)}toNode(){return Sr.call(this,"a")}toMarkup(){return ai.call(this,"a")}}class xr{constructor(v,k,D){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=k,this.src=v,this.classes=["mord"],this.style=D}hasClass(v){return T.contains(this.classes,v)}toNode(){const v=document.createElement("img");v.src=this.src,v.alt=this.alt,v.className="mord";for(const k in this.style)this.style.hasOwnProperty(k)&&(v.style[k]=this.style[k]);return v}toMarkup(){let v=''+T.escape(this.alt)+'0&&(k=document.createElement("span"),k.style.marginRight=ct(this.italic)),this.classes.length>0&&(k=k||document.createElement("span"),k.className=fn(this.classes));for(const D in this.style)this.style.hasOwnProperty(D)&&(k=k||document.createElement("span"),k.style[D]=this.style[D]);return k?(k.appendChild(v),k):v}toMarkup(){let v=!1,k="0&&(D+="margin-right:"+this.italic+"em;");for(const K in this.style)this.style.hasOwnProperty(K)&&(D+=T.hyphenate(K)+":"+this.style[K]+";");D&&(v=!0,k+=' style="'+T.escape(D)+'"');const G=T.escape(this.text);return v?(k+=">",k+=G,k+="",k):G}}class _r{constructor(v,k){this.children=void 0,this.attributes=void 0,this.children=v||[],this.attributes=k||{}}toNode(){const k=document.createElementNS("http://www.w3.org/2000/svg","svg");for(const D in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,D)&&k.setAttribute(D,this.attributes[D]);for(let D=0;D':''}}class jn{constructor(v){this.attributes=void 0,this.attributes=v||{}}toNode(){const k=document.createElementNS("http://www.w3.org/2000/svg","line");for(const D in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,D)&&k.setAttribute(D,this.attributes[D]);return k}toMarkup(){let v=" but got "+String(E)+".")}const is={bin:1,close:1,inner:1,open:1,punct:1,rel:1},ss={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Rs={math:{},text:{}};var at=Rs;function z(E,v,k,D,G,K){Rs[E][G]={font:v,group:k,replace:D},K&&D&&(Rs[E][D]=Rs[E][G])}const L="math",ve="text",X="main",be="ams",Rt="accent-token",At="bin",ot="close",Je="inner",ft="mathord",Mt="op-token",Yt="open",Nn="punct",Ce="rel",_t="spacing",Ue="textord";z(L,X,Ce,"≡","\\equiv",!0),z(L,X,Ce,"≺","\\prec",!0),z(L,X,Ce,"≻","\\succ",!0),z(L,X,Ce,"∼","\\sim",!0),z(L,X,Ce,"⊥","\\perp"),z(L,X,Ce,"⪯","\\preceq",!0),z(L,X,Ce,"⪰","\\succeq",!0),z(L,X,Ce,"≃","\\simeq",!0),z(L,X,Ce,"∣","\\mid",!0),z(L,X,Ce,"≪","\\ll",!0),z(L,X,Ce,"≫","\\gg",!0),z(L,X,Ce,"≍","\\asymp",!0),z(L,X,Ce,"∥","\\parallel"),z(L,X,Ce,"⋈","\\bowtie",!0),z(L,X,Ce,"⌣","\\smile",!0),z(L,X,Ce,"⊑","\\sqsubseteq",!0),z(L,X,Ce,"⊒","\\sqsupseteq",!0),z(L,X,Ce,"≐","\\doteq",!0),z(L,X,Ce,"⌢","\\frown",!0),z(L,X,Ce,"∋","\\ni",!0),z(L,X,Ce,"∝","\\propto",!0),z(L,X,Ce,"⊢","\\vdash",!0),z(L,X,Ce,"⊣","\\dashv",!0),z(L,X,Ce,"∋","\\owns"),z(L,X,Nn,".","\\ldotp"),z(L,X,Nn,"⋅","\\cdotp"),z(L,X,Ue,"#","\\#"),z(ve,X,Ue,"#","\\#"),z(L,X,Ue,"&","\\&"),z(ve,X,Ue,"&","\\&"),z(L,X,Ue,"ℵ","\\aleph",!0),z(L,X,Ue,"∀","\\forall",!0),z(L,X,Ue,"ℏ","\\hbar",!0),z(L,X,Ue,"∃","\\exists",!0),z(L,X,Ue,"∇","\\nabla",!0),z(L,X,Ue,"♭","\\flat",!0),z(L,X,Ue,"ℓ","\\ell",!0),z(L,X,Ue,"♮","\\natural",!0),z(L,X,Ue,"♣","\\clubsuit",!0),z(L,X,Ue,"℘","\\wp",!0),z(L,X,Ue,"♯","\\sharp",!0),z(L,X,Ue,"♢","\\diamondsuit",!0),z(L,X,Ue,"ℜ","\\Re",!0),z(L,X,Ue,"♡","\\heartsuit",!0),z(L,X,Ue,"ℑ","\\Im",!0),z(L,X,Ue,"♠","\\spadesuit",!0),z(L,X,Ue,"§","\\S",!0),z(ve,X,Ue,"§","\\S"),z(L,X,Ue,"¶","\\P",!0),z(ve,X,Ue,"¶","\\P"),z(L,X,Ue,"†","\\dag"),z(ve,X,Ue,"†","\\dag"),z(ve,X,Ue,"†","\\textdagger"),z(L,X,Ue,"‡","\\ddag"),z(ve,X,Ue,"‡","\\ddag"),z(ve,X,Ue,"‡","\\textdaggerdbl"),z(L,X,ot,"⎱","\\rmoustache",!0),z(L,X,Yt,"⎰","\\lmoustache",!0),z(L,X,ot,"⟯","\\rgroup",!0),z(L,X,Yt,"⟮","\\lgroup",!0),z(L,X,At,"∓","\\mp",!0),z(L,X,At,"⊖","\\ominus",!0),z(L,X,At,"⊎","\\uplus",!0),z(L,X,At,"⊓","\\sqcap",!0),z(L,X,At,"∗","\\ast"),z(L,X,At,"⊔","\\sqcup",!0),z(L,X,At,"◯","\\bigcirc",!0),z(L,X,At,"∙","\\bullet",!0),z(L,X,At,"‡","\\ddagger"),z(L,X,At,"≀","\\wr",!0),z(L,X,At,"⨿","\\amalg"),z(L,X,At,"&","\\And"),z(L,X,Ce,"⟵","\\longleftarrow",!0),z(L,X,Ce,"⇐","\\Leftarrow",!0),z(L,X,Ce,"⟸","\\Longleftarrow",!0),z(L,X,Ce,"⟶","\\longrightarrow",!0),z(L,X,Ce,"⇒","\\Rightarrow",!0),z(L,X,Ce,"⟹","\\Longrightarrow",!0),z(L,X,Ce,"↔","\\leftrightarrow",!0),z(L,X,Ce,"⟷","\\longleftrightarrow",!0),z(L,X,Ce,"⇔","\\Leftrightarrow",!0),z(L,X,Ce,"⟺","\\Longleftrightarrow",!0),z(L,X,Ce,"↦","\\mapsto",!0),z(L,X,Ce,"⟼","\\longmapsto",!0),z(L,X,Ce,"↗","\\nearrow",!0),z(L,X,Ce,"↩","\\hookleftarrow",!0),z(L,X,Ce,"↪","\\hookrightarrow",!0),z(L,X,Ce,"↘","\\searrow",!0),z(L,X,Ce,"↼","\\leftharpoonup",!0),z(L,X,Ce,"⇀","\\rightharpoonup",!0),z(L,X,Ce,"↙","\\swarrow",!0),z(L,X,Ce,"↽","\\leftharpoondown",!0),z(L,X,Ce,"⇁","\\rightharpoondown",!0),z(L,X,Ce,"↖","\\nwarrow",!0),z(L,X,Ce,"⇌","\\rightleftharpoons",!0),z(L,be,Ce,"≮","\\nless",!0),z(L,be,Ce,"","\\@nleqslant"),z(L,be,Ce,"","\\@nleqq"),z(L,be,Ce,"⪇","\\lneq",!0),z(L,be,Ce,"≨","\\lneqq",!0),z(L,be,Ce,"","\\@lvertneqq"),z(L,be,Ce,"⋦","\\lnsim",!0),z(L,be,Ce,"⪉","\\lnapprox",!0),z(L,be,Ce,"⊀","\\nprec",!0),z(L,be,Ce,"⋠","\\npreceq",!0),z(L,be,Ce,"⋨","\\precnsim",!0),z(L,be,Ce,"⪹","\\precnapprox",!0),z(L,be,Ce,"≁","\\nsim",!0),z(L,be,Ce,"","\\@nshortmid"),z(L,be,Ce,"∤","\\nmid",!0),z(L,be,Ce,"⊬","\\nvdash",!0),z(L,be,Ce,"⊭","\\nvDash",!0),z(L,be,Ce,"⋪","\\ntriangleleft"),z(L,be,Ce,"⋬","\\ntrianglelefteq",!0),z(L,be,Ce,"⊊","\\subsetneq",!0),z(L,be,Ce,"","\\@varsubsetneq"),z(L,be,Ce,"⫋","\\subsetneqq",!0),z(L,be,Ce,"","\\@varsubsetneqq"),z(L,be,Ce,"≯","\\ngtr",!0),z(L,be,Ce,"","\\@ngeqslant"),z(L,be,Ce,"","\\@ngeqq"),z(L,be,Ce,"⪈","\\gneq",!0),z(L,be,Ce,"≩","\\gneqq",!0),z(L,be,Ce,"","\\@gvertneqq"),z(L,be,Ce,"⋧","\\gnsim",!0),z(L,be,Ce,"⪊","\\gnapprox",!0),z(L,be,Ce,"⊁","\\nsucc",!0),z(L,be,Ce,"⋡","\\nsucceq",!0),z(L,be,Ce,"⋩","\\succnsim",!0),z(L,be,Ce,"⪺","\\succnapprox",!0),z(L,be,Ce,"≆","\\ncong",!0),z(L,be,Ce,"","\\@nshortparallel"),z(L,be,Ce,"∦","\\nparallel",!0),z(L,be,Ce,"⊯","\\nVDash",!0),z(L,be,Ce,"⋫","\\ntriangleright"),z(L,be,Ce,"⋭","\\ntrianglerighteq",!0),z(L,be,Ce,"","\\@nsupseteqq"),z(L,be,Ce,"⊋","\\supsetneq",!0),z(L,be,Ce,"","\\@varsupsetneq"),z(L,be,Ce,"⫌","\\supsetneqq",!0),z(L,be,Ce,"","\\@varsupsetneqq"),z(L,be,Ce,"⊮","\\nVdash",!0),z(L,be,Ce,"⪵","\\precneqq",!0),z(L,be,Ce,"⪶","\\succneqq",!0),z(L,be,Ce,"","\\@nsubseteqq"),z(L,be,At,"⊴","\\unlhd"),z(L,be,At,"⊵","\\unrhd"),z(L,be,Ce,"↚","\\nleftarrow",!0),z(L,be,Ce,"↛","\\nrightarrow",!0),z(L,be,Ce,"⇍","\\nLeftarrow",!0),z(L,be,Ce,"⇏","\\nRightarrow",!0),z(L,be,Ce,"↮","\\nleftrightarrow",!0),z(L,be,Ce,"⇎","\\nLeftrightarrow",!0),z(L,be,Ce,"△","\\vartriangle"),z(L,be,Ue,"ℏ","\\hslash"),z(L,be,Ue,"▽","\\triangledown"),z(L,be,Ue,"◊","\\lozenge"),z(L,be,Ue,"Ⓢ","\\circledS"),z(L,be,Ue,"®","\\circledR"),z(ve,be,Ue,"®","\\circledR"),z(L,be,Ue,"∡","\\measuredangle",!0),z(L,be,Ue,"∄","\\nexists"),z(L,be,Ue,"℧","\\mho"),z(L,be,Ue,"Ⅎ","\\Finv",!0),z(L,be,Ue,"⅁","\\Game",!0),z(L,be,Ue,"‵","\\backprime"),z(L,be,Ue,"▲","\\blacktriangle"),z(L,be,Ue,"▼","\\blacktriangledown"),z(L,be,Ue,"■","\\blacksquare"),z(L,be,Ue,"⧫","\\blacklozenge"),z(L,be,Ue,"★","\\bigstar"),z(L,be,Ue,"∢","\\sphericalangle",!0),z(L,be,Ue,"∁","\\complement",!0),z(L,be,Ue,"ð","\\eth",!0),z(ve,X,Ue,"ð","ð"),z(L,be,Ue,"╱","\\diagup"),z(L,be,Ue,"╲","\\diagdown"),z(L,be,Ue,"□","\\square"),z(L,be,Ue,"□","\\Box"),z(L,be,Ue,"◊","\\Diamond"),z(L,be,Ue,"¥","\\yen",!0),z(ve,be,Ue,"¥","\\yen",!0),z(L,be,Ue,"✓","\\checkmark",!0),z(ve,be,Ue,"✓","\\checkmark"),z(L,be,Ue,"ℶ","\\beth",!0),z(L,be,Ue,"ℸ","\\daleth",!0),z(L,be,Ue,"ℷ","\\gimel",!0),z(L,be,Ue,"ϝ","\\digamma",!0),z(L,be,Ue,"ϰ","\\varkappa"),z(L,be,Yt,"┌","\\@ulcorner",!0),z(L,be,ot,"┐","\\@urcorner",!0),z(L,be,Yt,"└","\\@llcorner",!0),z(L,be,ot,"┘","\\@lrcorner",!0),z(L,be,Ce,"≦","\\leqq",!0),z(L,be,Ce,"⩽","\\leqslant",!0),z(L,be,Ce,"⪕","\\eqslantless",!0),z(L,be,Ce,"≲","\\lesssim",!0),z(L,be,Ce,"⪅","\\lessapprox",!0),z(L,be,Ce,"≊","\\approxeq",!0),z(L,be,At,"⋖","\\lessdot"),z(L,be,Ce,"⋘","\\lll",!0),z(L,be,Ce,"≶","\\lessgtr",!0),z(L,be,Ce,"⋚","\\lesseqgtr",!0),z(L,be,Ce,"⪋","\\lesseqqgtr",!0),z(L,be,Ce,"≑","\\doteqdot"),z(L,be,Ce,"≓","\\risingdotseq",!0),z(L,be,Ce,"≒","\\fallingdotseq",!0),z(L,be,Ce,"∽","\\backsim",!0),z(L,be,Ce,"⋍","\\backsimeq",!0),z(L,be,Ce,"⫅","\\subseteqq",!0),z(L,be,Ce,"⋐","\\Subset",!0),z(L,be,Ce,"⊏","\\sqsubset",!0),z(L,be,Ce,"≼","\\preccurlyeq",!0),z(L,be,Ce,"⋞","\\curlyeqprec",!0),z(L,be,Ce,"≾","\\precsim",!0),z(L,be,Ce,"⪷","\\precapprox",!0),z(L,be,Ce,"⊲","\\vartriangleleft"),z(L,be,Ce,"⊴","\\trianglelefteq"),z(L,be,Ce,"⊨","\\vDash",!0),z(L,be,Ce,"⊪","\\Vvdash",!0),z(L,be,Ce,"⌣","\\smallsmile"),z(L,be,Ce,"⌢","\\smallfrown"),z(L,be,Ce,"≏","\\bumpeq",!0),z(L,be,Ce,"≎","\\Bumpeq",!0),z(L,be,Ce,"≧","\\geqq",!0),z(L,be,Ce,"⩾","\\geqslant",!0),z(L,be,Ce,"⪖","\\eqslantgtr",!0),z(L,be,Ce,"≳","\\gtrsim",!0),z(L,be,Ce,"⪆","\\gtrapprox",!0),z(L,be,At,"⋗","\\gtrdot"),z(L,be,Ce,"⋙","\\ggg",!0),z(L,be,Ce,"≷","\\gtrless",!0),z(L,be,Ce,"⋛","\\gtreqless",!0),z(L,be,Ce,"⪌","\\gtreqqless",!0),z(L,be,Ce,"≖","\\eqcirc",!0),z(L,be,Ce,"≗","\\circeq",!0),z(L,be,Ce,"≜","\\triangleq",!0),z(L,be,Ce,"∼","\\thicksim"),z(L,be,Ce,"≈","\\thickapprox"),z(L,be,Ce,"⫆","\\supseteqq",!0),z(L,be,Ce,"⋑","\\Supset",!0),z(L,be,Ce,"⊐","\\sqsupset",!0),z(L,be,Ce,"≽","\\succcurlyeq",!0),z(L,be,Ce,"⋟","\\curlyeqsucc",!0),z(L,be,Ce,"≿","\\succsim",!0),z(L,be,Ce,"⪸","\\succapprox",!0),z(L,be,Ce,"⊳","\\vartriangleright"),z(L,be,Ce,"⊵","\\trianglerighteq"),z(L,be,Ce,"⊩","\\Vdash",!0),z(L,be,Ce,"∣","\\shortmid"),z(L,be,Ce,"∥","\\shortparallel"),z(L,be,Ce,"≬","\\between",!0),z(L,be,Ce,"⋔","\\pitchfork",!0),z(L,be,Ce,"∝","\\varpropto"),z(L,be,Ce,"◀","\\blacktriangleleft"),z(L,be,Ce,"∴","\\therefore",!0),z(L,be,Ce,"∍","\\backepsilon"),z(L,be,Ce,"▶","\\blacktriangleright"),z(L,be,Ce,"∵","\\because",!0),z(L,be,Ce,"⋘","\\llless"),z(L,be,Ce,"⋙","\\gggtr"),z(L,be,At,"⊲","\\lhd"),z(L,be,At,"⊳","\\rhd"),z(L,be,Ce,"≂","\\eqsim",!0),z(L,X,Ce,"⋈","\\Join"),z(L,be,Ce,"≑","\\Doteq",!0),z(L,be,At,"∔","\\dotplus",!0),z(L,be,At,"∖","\\smallsetminus"),z(L,be,At,"⋒","\\Cap",!0),z(L,be,At,"⋓","\\Cup",!0),z(L,be,At,"⩞","\\doublebarwedge",!0),z(L,be,At,"⊟","\\boxminus",!0),z(L,be,At,"⊞","\\boxplus",!0),z(L,be,At,"⋇","\\divideontimes",!0),z(L,be,At,"⋉","\\ltimes",!0),z(L,be,At,"⋊","\\rtimes",!0),z(L,be,At,"⋋","\\leftthreetimes",!0),z(L,be,At,"⋌","\\rightthreetimes",!0),z(L,be,At,"⋏","\\curlywedge",!0),z(L,be,At,"⋎","\\curlyvee",!0),z(L,be,At,"⊝","\\circleddash",!0),z(L,be,At,"⊛","\\circledast",!0),z(L,be,At,"⋅","\\centerdot"),z(L,be,At,"⊺","\\intercal",!0),z(L,be,At,"⋒","\\doublecap"),z(L,be,At,"⋓","\\doublecup"),z(L,be,At,"⊠","\\boxtimes",!0),z(L,be,Ce,"⇢","\\dashrightarrow",!0),z(L,be,Ce,"⇠","\\dashleftarrow",!0),z(L,be,Ce,"⇇","\\leftleftarrows",!0),z(L,be,Ce,"⇆","\\leftrightarrows",!0),z(L,be,Ce,"⇚","\\Lleftarrow",!0),z(L,be,Ce,"↞","\\twoheadleftarrow",!0),z(L,be,Ce,"↢","\\leftarrowtail",!0),z(L,be,Ce,"↫","\\looparrowleft",!0),z(L,be,Ce,"⇋","\\leftrightharpoons",!0),z(L,be,Ce,"↶","\\curvearrowleft",!0),z(L,be,Ce,"↺","\\circlearrowleft",!0),z(L,be,Ce,"↰","\\Lsh",!0),z(L,be,Ce,"⇈","\\upuparrows",!0),z(L,be,Ce,"↿","\\upharpoonleft",!0),z(L,be,Ce,"⇃","\\downharpoonleft",!0),z(L,X,Ce,"⊶","\\origof",!0),z(L,X,Ce,"⊷","\\imageof",!0),z(L,be,Ce,"⊸","\\multimap",!0),z(L,be,Ce,"↭","\\leftrightsquigarrow",!0),z(L,be,Ce,"⇉","\\rightrightarrows",!0),z(L,be,Ce,"⇄","\\rightleftarrows",!0),z(L,be,Ce,"↠","\\twoheadrightarrow",!0),z(L,be,Ce,"↣","\\rightarrowtail",!0),z(L,be,Ce,"↬","\\looparrowright",!0),z(L,be,Ce,"↷","\\curvearrowright",!0),z(L,be,Ce,"↻","\\circlearrowright",!0),z(L,be,Ce,"↱","\\Rsh",!0),z(L,be,Ce,"⇊","\\downdownarrows",!0),z(L,be,Ce,"↾","\\upharpoonright",!0),z(L,be,Ce,"⇂","\\downharpoonright",!0),z(L,be,Ce,"⇝","\\rightsquigarrow",!0),z(L,be,Ce,"⇝","\\leadsto"),z(L,be,Ce,"⇛","\\Rrightarrow",!0),z(L,be,Ce,"↾","\\restriction"),z(L,X,Ue,"‘","`"),z(L,X,Ue,"$","\\$"),z(ve,X,Ue,"$","\\$"),z(ve,X,Ue,"$","\\textdollar"),z(L,X,Ue,"%","\\%"),z(ve,X,Ue,"%","\\%"),z(L,X,Ue,"_","\\_"),z(ve,X,Ue,"_","\\_"),z(ve,X,Ue,"_","\\textunderscore"),z(L,X,Ue,"∠","\\angle",!0),z(L,X,Ue,"∞","\\infty",!0),z(L,X,Ue,"′","\\prime"),z(L,X,Ue,"△","\\triangle"),z(L,X,Ue,"Γ","\\Gamma",!0),z(L,X,Ue,"Δ","\\Delta",!0),z(L,X,Ue,"Θ","\\Theta",!0),z(L,X,Ue,"Λ","\\Lambda",!0),z(L,X,Ue,"Ξ","\\Xi",!0),z(L,X,Ue,"Π","\\Pi",!0),z(L,X,Ue,"Σ","\\Sigma",!0),z(L,X,Ue,"Υ","\\Upsilon",!0),z(L,X,Ue,"Φ","\\Phi",!0),z(L,X,Ue,"Ψ","\\Psi",!0),z(L,X,Ue,"Ω","\\Omega",!0),z(L,X,Ue,"A","Α"),z(L,X,Ue,"B","Β"),z(L,X,Ue,"E","Ε"),z(L,X,Ue,"Z","Ζ"),z(L,X,Ue,"H","Η"),z(L,X,Ue,"I","Ι"),z(L,X,Ue,"K","Κ"),z(L,X,Ue,"M","Μ"),z(L,X,Ue,"N","Ν"),z(L,X,Ue,"O","Ο"),z(L,X,Ue,"P","Ρ"),z(L,X,Ue,"T","Τ"),z(L,X,Ue,"X","Χ"),z(L,X,Ue,"¬","\\neg",!0),z(L,X,Ue,"¬","\\lnot"),z(L,X,Ue,"⊤","\\top"),z(L,X,Ue,"⊥","\\bot"),z(L,X,Ue,"∅","\\emptyset"),z(L,be,Ue,"∅","\\varnothing"),z(L,X,ft,"α","\\alpha",!0),z(L,X,ft,"β","\\beta",!0),z(L,X,ft,"γ","\\gamma",!0),z(L,X,ft,"δ","\\delta",!0),z(L,X,ft,"ϵ","\\epsilon",!0),z(L,X,ft,"ζ","\\zeta",!0),z(L,X,ft,"η","\\eta",!0),z(L,X,ft,"θ","\\theta",!0),z(L,X,ft,"ι","\\iota",!0),z(L,X,ft,"κ","\\kappa",!0),z(L,X,ft,"λ","\\lambda",!0),z(L,X,ft,"μ","\\mu",!0),z(L,X,ft,"ν","\\nu",!0),z(L,X,ft,"ξ","\\xi",!0),z(L,X,ft,"ο","\\omicron",!0),z(L,X,ft,"π","\\pi",!0),z(L,X,ft,"ρ","\\rho",!0),z(L,X,ft,"σ","\\sigma",!0),z(L,X,ft,"τ","\\tau",!0),z(L,X,ft,"υ","\\upsilon",!0),z(L,X,ft,"ϕ","\\phi",!0),z(L,X,ft,"χ","\\chi",!0),z(L,X,ft,"ψ","\\psi",!0),z(L,X,ft,"ω","\\omega",!0),z(L,X,ft,"ε","\\varepsilon",!0),z(L,X,ft,"ϑ","\\vartheta",!0),z(L,X,ft,"ϖ","\\varpi",!0),z(L,X,ft,"ϱ","\\varrho",!0),z(L,X,ft,"ς","\\varsigma",!0),z(L,X,ft,"φ","\\varphi",!0),z(L,X,At,"∗","*",!0),z(L,X,At,"+","+"),z(L,X,At,"−","-",!0),z(L,X,At,"⋅","\\cdot",!0),z(L,X,At,"∘","\\circ",!0),z(L,X,At,"÷","\\div",!0),z(L,X,At,"±","\\pm",!0),z(L,X,At,"×","\\times",!0),z(L,X,At,"∩","\\cap",!0),z(L,X,At,"∪","\\cup",!0),z(L,X,At,"∖","\\setminus",!0),z(L,X,At,"∧","\\land"),z(L,X,At,"∨","\\lor"),z(L,X,At,"∧","\\wedge",!0),z(L,X,At,"∨","\\vee",!0),z(L,X,Ue,"√","\\surd"),z(L,X,Yt,"⟨","\\langle",!0),z(L,X,Yt,"∣","\\lvert"),z(L,X,Yt,"∥","\\lVert"),z(L,X,ot,"?","?"),z(L,X,ot,"!","!"),z(L,X,ot,"⟩","\\rangle",!0),z(L,X,ot,"∣","\\rvert"),z(L,X,ot,"∥","\\rVert"),z(L,X,Ce,"=","="),z(L,X,Ce,":",":"),z(L,X,Ce,"≈","\\approx",!0),z(L,X,Ce,"≅","\\cong",!0),z(L,X,Ce,"≥","\\ge"),z(L,X,Ce,"≥","\\geq",!0),z(L,X,Ce,"←","\\gets"),z(L,X,Ce,">","\\gt",!0),z(L,X,Ce,"∈","\\in",!0),z(L,X,Ce,"","\\@not"),z(L,X,Ce,"⊂","\\subset",!0),z(L,X,Ce,"⊃","\\supset",!0),z(L,X,Ce,"⊆","\\subseteq",!0),z(L,X,Ce,"⊇","\\supseteq",!0),z(L,be,Ce,"⊈","\\nsubseteq",!0),z(L,be,Ce,"⊉","\\nsupseteq",!0),z(L,X,Ce,"⊨","\\models"),z(L,X,Ce,"←","\\leftarrow",!0),z(L,X,Ce,"≤","\\le"),z(L,X,Ce,"≤","\\leq",!0),z(L,X,Ce,"<","\\lt",!0),z(L,X,Ce,"→","\\rightarrow",!0),z(L,X,Ce,"→","\\to"),z(L,be,Ce,"≱","\\ngeq",!0),z(L,be,Ce,"≰","\\nleq",!0),z(L,X,_t," ","\\ "),z(L,X,_t," ","\\space"),z(L,X,_t," ","\\nobreakspace"),z(ve,X,_t," ","\\ "),z(ve,X,_t," "," "),z(ve,X,_t," ","\\space"),z(ve,X,_t," ","\\nobreakspace"),z(L,X,_t,null,"\\nobreak"),z(L,X,_t,null,"\\allowbreak"),z(L,X,Nn,",",","),z(L,X,Nn,";",";"),z(L,be,At,"⊼","\\barwedge",!0),z(L,be,At,"⊻","\\veebar",!0),z(L,X,At,"⊙","\\odot",!0),z(L,X,At,"⊕","\\oplus",!0),z(L,X,At,"⊗","\\otimes",!0),z(L,X,Ue,"∂","\\partial",!0),z(L,X,At,"⊘","\\oslash",!0),z(L,be,At,"⊚","\\circledcirc",!0),z(L,be,At,"⊡","\\boxdot",!0),z(L,X,At,"△","\\bigtriangleup"),z(L,X,At,"▽","\\bigtriangledown"),z(L,X,At,"†","\\dagger"),z(L,X,At,"⋄","\\diamond"),z(L,X,At,"⋆","\\star"),z(L,X,At,"◃","\\triangleleft"),z(L,X,At,"▹","\\triangleright"),z(L,X,Yt,"{","\\{"),z(ve,X,Ue,"{","\\{"),z(ve,X,Ue,"{","\\textbraceleft"),z(L,X,ot,"}","\\}"),z(ve,X,Ue,"}","\\}"),z(ve,X,Ue,"}","\\textbraceright"),z(L,X,Yt,"{","\\lbrace"),z(L,X,ot,"}","\\rbrace"),z(L,X,Yt,"[","\\lbrack",!0),z(ve,X,Ue,"[","\\lbrack",!0),z(L,X,ot,"]","\\rbrack",!0),z(ve,X,Ue,"]","\\rbrack",!0),z(L,X,Yt,"(","\\lparen",!0),z(L,X,ot,")","\\rparen",!0),z(ve,X,Ue,"<","\\textless",!0),z(ve,X,Ue,">","\\textgreater",!0),z(L,X,Yt,"⌊","\\lfloor",!0),z(L,X,ot,"⌋","\\rfloor",!0),z(L,X,Yt,"⌈","\\lceil",!0),z(L,X,ot,"⌉","\\rceil",!0),z(L,X,Ue,"\\","\\backslash"),z(L,X,Ue,"∣","|"),z(L,X,Ue,"∣","\\vert"),z(ve,X,Ue,"|","\\textbar",!0),z(L,X,Ue,"∥","\\|"),z(L,X,Ue,"∥","\\Vert"),z(ve,X,Ue,"∥","\\textbardbl"),z(ve,X,Ue,"~","\\textasciitilde"),z(ve,X,Ue,"\\","\\textbackslash"),z(ve,X,Ue,"^","\\textasciicircum"),z(L,X,Ce,"↑","\\uparrow",!0),z(L,X,Ce,"⇑","\\Uparrow",!0),z(L,X,Ce,"↓","\\downarrow",!0),z(L,X,Ce,"⇓","\\Downarrow",!0),z(L,X,Ce,"↕","\\updownarrow",!0),z(L,X,Ce,"⇕","\\Updownarrow",!0),z(L,X,Mt,"∐","\\coprod"),z(L,X,Mt,"⋁","\\bigvee"),z(L,X,Mt,"⋀","\\bigwedge"),z(L,X,Mt,"⨄","\\biguplus"),z(L,X,Mt,"⋂","\\bigcap"),z(L,X,Mt,"⋃","\\bigcup"),z(L,X,Mt,"∫","\\int"),z(L,X,Mt,"∫","\\intop"),z(L,X,Mt,"∬","\\iint"),z(L,X,Mt,"∭","\\iiint"),z(L,X,Mt,"∏","\\prod"),z(L,X,Mt,"∑","\\sum"),z(L,X,Mt,"⨂","\\bigotimes"),z(L,X,Mt,"⨁","\\bigoplus"),z(L,X,Mt,"⨀","\\bigodot"),z(L,X,Mt,"∮","\\oint"),z(L,X,Mt,"∯","\\oiint"),z(L,X,Mt,"∰","\\oiiint"),z(L,X,Mt,"⨆","\\bigsqcup"),z(L,X,Mt,"∫","\\smallint"),z(ve,X,Je,"…","\\textellipsis"),z(L,X,Je,"…","\\mathellipsis"),z(ve,X,Je,"…","\\ldots",!0),z(L,X,Je,"…","\\ldots",!0),z(L,X,Je,"⋯","\\@cdots",!0),z(L,X,Je,"⋱","\\ddots",!0),z(L,X,Ue,"⋮","\\varvdots"),z(L,X,Rt,"ˊ","\\acute"),z(L,X,Rt,"ˋ","\\grave"),z(L,X,Rt,"¨","\\ddot"),z(L,X,Rt,"~","\\tilde"),z(L,X,Rt,"ˉ","\\bar"),z(L,X,Rt,"˘","\\breve"),z(L,X,Rt,"ˇ","\\check"),z(L,X,Rt,"^","\\hat"),z(L,X,Rt,"⃗","\\vec"),z(L,X,Rt,"˙","\\dot"),z(L,X,Rt,"˚","\\mathring"),z(L,X,ft,"","\\@imath"),z(L,X,ft,"","\\@jmath"),z(L,X,Ue,"ı","ı"),z(L,X,Ue,"ȷ","ȷ"),z(ve,X,Ue,"ı","\\i",!0),z(ve,X,Ue,"ȷ","\\j",!0),z(ve,X,Ue,"ß","\\ss",!0),z(ve,X,Ue,"æ","\\ae",!0),z(ve,X,Ue,"œ","\\oe",!0),z(ve,X,Ue,"ø","\\o",!0),z(ve,X,Ue,"Æ","\\AE",!0),z(ve,X,Ue,"Œ","\\OE",!0),z(ve,X,Ue,"Ø","\\O",!0),z(ve,X,Rt,"ˊ","\\'"),z(ve,X,Rt,"ˋ","\\`"),z(ve,X,Rt,"ˆ","\\^"),z(ve,X,Rt,"˜","\\~"),z(ve,X,Rt,"ˉ","\\="),z(ve,X,Rt,"˘","\\u"),z(ve,X,Rt,"˙","\\."),z(ve,X,Rt,"¸","\\c"),z(ve,X,Rt,"˚","\\r"),z(ve,X,Rt,"ˇ","\\v"),z(ve,X,Rt,"¨",'\\"'),z(ve,X,Rt,"˝","\\H"),z(ve,X,Rt,"◯","\\textcircled");const Mi={"--":!0,"---":!0,"``":!0,"''":!0};z(ve,X,Ue,"–","--",!0),z(ve,X,Ue,"–","\\textendash"),z(ve,X,Ue,"—","---",!0),z(ve,X,Ue,"—","\\textemdash"),z(ve,X,Ue,"‘","`",!0),z(ve,X,Ue,"‘","\\textquoteleft"),z(ve,X,Ue,"’","'",!0),z(ve,X,Ue,"’","\\textquoteright"),z(ve,X,Ue,"“","``",!0),z(ve,X,Ue,"“","\\textquotedblleft"),z(ve,X,Ue,"”","''",!0),z(ve,X,Ue,"”","\\textquotedblright"),z(L,X,Ue,"°","\\degree",!0),z(ve,X,Ue,"°","\\degree"),z(ve,X,Ue,"°","\\textdegree",!0),z(L,X,Ue,"£","\\pounds"),z(L,X,Ue,"£","\\mathsterling",!0),z(ve,X,Ue,"£","\\pounds"),z(ve,X,Ue,"£","\\textsterling",!0),z(L,be,Ue,"✠","\\maltese"),z(ve,be,Ue,"✠","\\maltese");const Jn='0123456789/@."';for(let E=0;E0)return os(G,Pe,D,v,K.concat(Ge));if(Ee){let et,lt;if(Ee==="boldsymbol"){const Tt=Bi(G,D,v,K,k);et=Tt.fontName,lt=[Tt.fontClass]}else ce?(et=eo[Ee].fontName,lt=[Ee]):(et=ka(Ee,v.fontWeight,v.fontShape),lt=[Ee,v.fontWeight,v.fontShape]);if(qs(G,et,D).metrics)return os(G,et,D,v,K.concat(lt));if(Mi.hasOwnProperty(G)&&et.slice(0,10)==="Typewriter"){const Tt=[];for(let an=0;an{if(fn(E.classes)!==fn(v.classes)||E.skew!==v.skew||E.maxFontSize!==v.maxFontSize)return!1;if(E.classes.length===1){const k=E.classes[0];if(k==="mbin"||k==="mord")return!1}for(const k in E.style)if(E.style.hasOwnProperty(k)&&E.style[k]!==v.style[k])return!1;for(const k in v.style)if(v.style.hasOwnProperty(k)&&E.style[k]!==v.style[k])return!1;return!0},Ja=E=>{for(let v=0;vv&&(v=K.height),K.depth>k&&(k=K.depth),K.maxFontSize>D&&(D=K.maxFontSize)}E.height=v,E.depth=k,E.maxFontSize=D},Oe=function(E,v,k,D){const G=new sr(E,v,k,D);return vd(G),G},Ui=(E,v,k,D)=>new sr(E,v,k,D),gi=function(E,v,k){const D=Oe([E],[],v);return D.height=Math.max(k||v.fontMetrics().defaultRuleThickness,v.minRuleThickness),D.style.borderBottomWidth=ct(D.height),D.maxFontSize=1,D},xa=function(E,v,k,D){const G=new oi(E,v,k,D);return vd(G),G},Ba=function(E){const v=new te(E);return vd(v),v},tl=function(E,v){return E instanceof te?Oe([],[E],v):E},Ta=function(E){if(E.positionType==="individualShift"){const k=E.children,D=[k[0]],G=-k[0].shift-k[0].elem.depth;let K=G;for(let ce=1;ce{const k=Oe(["mspace"],[],v),D=kt(E,v);return k.style.marginRight=ct(D),k},ka=function(E,v,k){let D="";switch(E){case"amsrm":D="AMS";break;case"textrm":D="Main";break;case"textsf":D="SansSerif";break;case"texttt":D="Typewriter";break;default:D=E}let G;return v==="textbf"&&k==="textit"?G="BoldItalic":v==="textbf"?G="Bold":v==="textit"?G="Italic":G="Regular",D+"-"+G},eo={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},_a={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]};var ht={fontMap:eo,makeSymbol:os,mathsym:yr,makeSpan:Oe,makeSvgSpan:Ui,makeLineSpan:gi,makeAnchor:xa,makeFragment:Ba,wrapFragment:tl,makeVList:Tl,makeOrd:ga,makeGlue:Ua,staticSvg:function(E,v){const[k,D,G]=_a[E],K=new Qr(k),ce=new _r([K],{width:ct(D),height:ct(G),style:"width:"+ct(D),viewBox:"0 0 "+1e3*D+" "+1e3*G,preserveAspectRatio:"xMinYMin"}),Ee=Ui(["overlay"],[ce],v);return Ee.height=G,Ee.style.height=ct(G),Ee.style.width=ct(D),Ee},svgData:_a,tryCombineChars:Ja};const Vr={number:3,unit:"mu"},nl={number:4,unit:"mu"},rl={number:5,unit:"mu"},Wp={mord:{mop:Vr,mbin:nl,mrel:rl,minner:Vr},mop:{mord:Vr,mop:Vr,mrel:rl,minner:Vr},mbin:{mord:nl,mop:nl,mopen:nl,minner:nl},mrel:{mord:rl,mop:rl,mopen:rl,minner:rl},mopen:{},mclose:{mop:Vr,mbin:nl,mrel:rl,minner:Vr},mpunct:{mord:Vr,mop:Vr,mrel:rl,mopen:Vr,mclose:Vr,mpunct:Vr,minner:Vr},minner:{mord:Vr,mop:Vr,mbin:nl,mrel:rl,mopen:Vr,mpunct:Vr,minner:Vr}},_h={mord:{mop:Vr},mop:{mord:Vr,mop:Vr},mbin:{},mrel:{},mopen:{},mclose:{mop:Vr},mpunct:{},minner:{mop:Vr}},Fo={},Cu={},il={};function vn(E){let{type:v,names:k,props:D,handler:G,htmlBuilder:K,mathmlBuilder:ce}=E;const Ee={type:v,numArgs:D.numArgs,argTypes:D.argTypes,allowedInArgument:!!D.allowedInArgument,allowedInText:!!D.allowedInText,allowedInMath:D.allowedInMath===void 0?!0:D.allowedInMath,numOptionalArgs:D.numOptionalArgs||0,infix:!!D.infix,primitive:!!D.primitive,handler:G};for(let Pe=0;Pe{const lt=et.classes[0],Tt=Ge.classes[0];lt==="mbin"&&T.contains(Cm,Tt)?et.classes[0]="mord":Tt==="mbin"&&T.contains(Qp,lt)&&(Ge.classes[0]="mord")},{node:ce},Ee,Pe),Ah(G,(Ge,et)=>{const lt=Ch(et),Tt=Ch(Ge),an=lt&&Tt?Ge.hasClass("mtight")?_h[lt][Tt]:Wp[lt][Tt]:null;if(an)return ht.makeGlue(an,K)},{node:ce},Ee,Pe),G},Ah=function(E,v,k,D,G){D&&E.push(D);let K=0;for(;Ket=>{E.splice(Ge+1,0,et),K++})(K)}D&&E.pop()},Ri=function(E){return E instanceof te||E instanceof oi||E instanceof sr&&E.hasClass("enclosing")?E:null},Ti=function(E,v){const k=Ri(E);if(k){const D=k.children;if(D.length){if(v==="right")return Ti(D[D.length-1],"right");if(v==="left")return Ti(D[0],"left")}}return E},Ch=function(E,v){return E?(v&&(E=Ti(E,v)),Im[E.classes[0]]||null):null},Ru=function(E,v){const k=["nulldelimiter"].concat(E.baseSizingClasses());return Kl(v.concat(k))},Gr=function(E,v,k){if(!E)return Kl();if(Cu[E.type]){let D=Cu[E.type](E,v);if(k&&v.size!==k.size){D=Kl(v.sizingClasses(k),[D],v);const G=v.sizeMultiplier/k.sizeMultiplier;D.height*=G,D.depth*=G}return D}else throw new s("Got group of unknown type: '"+E.type+"'")};function R(E,v){const k=Kl(["base"],E,v),D=Kl(["strut"]);return D.style.height=ct(k.height+k.depth),k.depth&&(D.style.verticalAlign=ct(-k.depth)),k.children.unshift(D),k}function N(E,v){let k=null;E.length===1&&E[0].type==="tag"&&(k=E[0].tag,E=E[0].body);const D=Ss(E,v,"root");let G;D.length===2&&D[1].hasClass("tag")&&(G=D.pop());const K=[];let ce=[];for(let Ge=0;Ge0&&(K.push(R(ce,v)),ce=[]),K.push(D[Ge]));ce.length>0&&K.push(R(ce,v));let Ee;k?(Ee=R(Ss(k,v,!0)),Ee.classes=["tag"],K.push(Ee)):G&&K.push(G);const Pe=Kl(["katex-html"],K);if(Pe.setAttribute("aria-hidden","true"),Ee){const Ge=Ee.children[0];Ge.style.height=ct(Pe.height+Pe.depth),Pe.depth&&(Ge.style.verticalAlign=ct(-Pe.depth))}return Pe}function H(E){return new te(E)}class Q{constructor(v,k,D){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=v,this.attributes={},this.children=k||[],this.classes=D||[]}setAttribute(v,k){this.attributes[v]=k}getAttribute(v){return this.attributes[v]}toNode(){const v=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(const k in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,k)&&v.setAttribute(k,this.attributes[k]);this.classes.length>0&&(v.className=fn(this.classes));for(let k=0;k0&&(v+=' class ="'+T.escape(fn(this.classes))+'"'),v+=">";for(let k=0;k",v}toText(){return this.children.map(v=>v.toText()).join("")}}class ee{constructor(v){this.text=void 0,this.text=v}toNode(){return document.createTextNode(this.text)}toMarkup(){return T.escape(this.toText())}toText(){return this.text}}class J{constructor(v){this.width=void 0,this.character=void 0,this.width=v,v>=.05555&&v<=.05556?this.character=" ":v>=.1666&&v<=.1667?this.character=" ":v>=.2222&&v<=.2223?this.character=" ":v>=.2777&&v<=.2778?this.character="  ":v>=-.05556&&v<=-.05555?this.character=" ⁣":v>=-.1667&&v<=-.1666?this.character=" ⁣":v>=-.2223&&v<=-.2222?this.character=" ⁣":v>=-.2778&&v<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);{const v=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return v.setAttribute("width",ct(this.width)),v}}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var oe={MathNode:Q,TextNode:ee,SpaceNode:J,newDocumentFragment:H};const Ae=function(E,v,k){return at[v][E]&&at[v][E].replace&&E.charCodeAt(0)!==55349&&!(Mi.hasOwnProperty(E)&&k&&(k.fontFamily&&k.fontFamily.slice(4,6)==="tt"||k.font&&k.font.slice(4,6)==="tt"))&&(E=at[v][E].replace),new oe.TextNode(E)},Le=function(E){return E.length===1?E[0]:new oe.MathNode("mrow",E)},Ve=function(E,v){if(v.fontFamily==="texttt")return"monospace";if(v.fontFamily==="textsf")return v.fontShape==="textit"&&v.fontWeight==="textbf"?"sans-serif-bold-italic":v.fontShape==="textit"?"sans-serif-italic":v.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(v.fontShape==="textit"&&v.fontWeight==="textbf")return"bold-italic";if(v.fontShape==="textit")return"italic";if(v.fontWeight==="textbf")return"bold";const k=v.font;if(!k||k==="mathnormal")return null;const D=E.mode;if(k==="mathit")return"italic";if(k==="boldsymbol")return E.type==="textord"?"bold":"bold-italic";if(k==="mathbf")return"bold";if(k==="mathbb")return"double-struck";if(k==="mathfrak")return"fraktur";if(k==="mathscr"||k==="mathcal")return"script";if(k==="mathsf")return"sans-serif";if(k==="mathtt")return"monospace";let G=E.text;if(T.contains(["\\imath","\\jmath"],G))return null;at[D][G]&&at[D][G].replace&&(G=at[D][G].replace);const K=ht.fontMap[k].fontName;return xe(G,K,D)?ht.fontMap[k].variant:null},He=function(E,v,k){if(E.length===1){const K=gt(E[0],v);return k&&K instanceof Q&&K.type==="mo"&&(K.setAttribute("lspace","0em"),K.setAttribute("rspace","0em")),[K]}const D=[];let G;for(let K=0;K0&&(Pe.text=Pe.text.slice(0,1)+"̸"+Pe.text.slice(1),D.pop())}}}D.push(ce),G=ce}return D},vt=function(E,v,k){return Le(He(E,v,k))},gt=function(E,v){if(!E)return new oe.MathNode("mrow");if(il[E.type])return il[E.type](E,v);throw new s("Got group of unknown type: '"+E.type+"'")};function bt(E,v,k,D,G){const K=He(E,k);let ce;K.length===1&&K[0]instanceof Q&&T.contains(["mrow","mtable"],K[0].type)?ce=K[0]:ce=new oe.MathNode("mrow",K);const Ee=new oe.MathNode("annotation",[new oe.TextNode(v)]);Ee.setAttribute("encoding","application/x-tex");const Pe=new oe.MathNode("semantics",[ce,Ee]),Ge=new oe.MathNode("math",[Pe]);Ge.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),D&&Ge.setAttribute("display","block");const et=G?"katex":"katex-mathml";return ht.makeSpan([et],[Ge])}const dt=function(E){return new Dt({style:E.displayMode?Fe.DISPLAY:Fe.TEXT,maxSize:E.maxSize,minRuleThickness:E.minRuleThickness})},$t=function(E,v){if(v.displayMode){const k=["katex-display"];v.leqno&&k.push("leqno"),v.fleqn&&k.push("fleqn"),E=ht.makeSpan(k,[E])}return E},tn=function(E,v,k){const D=dt(k);let G;if(k.output==="mathml")return bt(E,v,D,k.displayMode,!0);if(k.output==="html"){const K=N(E,D);G=ht.makeSpan(["katex"],[K])}else{const K=bt(E,v,D,k.displayMode,!1),ce=N(E,D);G=ht.makeSpan(["katex"],[K,ce])}return $t(G,k)},$n=function(E,v,k){const D=dt(k),G=N(E,D),K=ht.makeSpan(["katex"],[G]);return $t(K,k)},Zn={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Xn=function(E){const v=new oe.MathNode("mo",[new oe.TextNode(Zn[E.replace(/^\\/,"")])]);return v.setAttribute("stretchy","true"),v},ki={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Js=function(E){return E.type==="ordgroup"?E.body.length:1};var vr={encloseSpan:function(E,v,k,D,G){let K;const ce=E.height+E.depth+k+D;if(/fbox|color|angl/.test(v)){if(K=ht.makeSpan(["stretchy",v],[],G),v==="fbox"){const Ee=G.color&&G.getColor();Ee&&(K.style.borderColor=Ee)}}else{const Ee=[];/^[bx]cancel$/.test(v)&&Ee.push(new jn({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(v)&&Ee.push(new jn({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));const Pe=new _r(Ee,{width:"100%",height:ct(ce)});K=ht.makeSvgSpan([],[Pe],G)}return K.height=ce,K.style.height=ct(ce),K},mathMLnode:Xn,svgSpan:function(E,v){function k(){let ce=4e5;const Ee=E.label.slice(1);if(T.contains(["widehat","widecheck","widetilde","utilde"],Ee)){const Ge=Js(E.base);let et,lt,Tt;if(Ge>5)Ee==="widehat"||Ee==="widecheck"?(et=420,ce=2364,Tt=.42,lt=Ee+"4"):(et=312,ce=2340,Tt=.34,lt="tilde4");else{const Mn=[1,1,2,2,3,3][Ge];Ee==="widehat"||Ee==="widecheck"?(ce=[0,1062,2364,2364,2364][Mn],et=[0,239,300,360,420][Mn],Tt=[0,.24,.3,.3,.36,.42][Mn],lt=Ee+Mn):(ce=[0,600,1033,2339,2340][Mn],et=[0,260,286,306,312][Mn],Tt=[0,.26,.286,.3,.306,.34][Mn],lt="tilde"+Mn)}const an=new Qr(lt),_n=new _r([an],{width:"100%",height:ct(Tt),viewBox:"0 0 "+ce+" "+et,preserveAspectRatio:"none"});return{span:ht.makeSvgSpan([],[_n],v),minWidth:0,height:Tt}}else{const Pe=[],Ge=ki[Ee],[et,lt,Tt]=Ge,an=Tt/1e3,_n=et.length;let Mn,lr;if(_n===1){const Tn=Ge[3];Mn=["hide-tail"],lr=[Tn]}else if(_n===2)Mn=["halfarrow-left","halfarrow-right"],lr=["xMinYMin","xMaxYMin"];else if(_n===3)Mn=["brace-left","brace-center","brace-right"],lr=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support - `+_n+" children.");for(let Tn=0;Tn<_n;Tn++){const Dr=new Qr(et[Tn]),Ar=new _r([Dr],{width:"400em",height:ct(an),viewBox:"0 0 "+ce+" "+Tt,preserveAspectRatio:lr[Tn]+" slice"}),Zr=ht.makeSvgSpan([Mn[Tn]],[Ar],v);if(_n===1)return{span:Zr,minWidth:lt,height:an};Zr.style.height=ct(an),Pe.push(Zr)}return{span:ht.makeSpan(["stretchy"],Pe,v),minWidth:lt,height:an}}}const{span:D,minWidth:G,height:K}=k();return D.height=K,D.style.height=ct(K),G>0&&(D.style.minWidth=ct(G)),D}};function ln(E,v){if(!E||E.type!==v)throw new Error("Expected node of type "+v+", but got "+(E?"node of type "+E.type:String(E)));return E}function Yi(E){const v=ls(E);if(!v)throw new Error("Expected node of symbol group type, but got "+(E?"node of type "+E.type:String(E)));return v}function ls(E){return E&&(E.type==="atom"||ss.hasOwnProperty(E.type))?E:null}const Is=(E,v)=>{let k,D,G;E&&E.type==="supsub"?(D=ln(E.base,"accent"),k=D.base,E.base=k,G=wa(Gr(E,v)),E.base=D):(D=ln(E,"accent"),k=D.base);const K=Gr(k,v.havingCrampedStyle()),ce=D.isShifty&&T.isCharacterBox(k);let Ee=0;if(ce){const Tt=T.getBaseElem(k),an=Gr(Tt,v.havingCrampedStyle());Ee=wi(an).skew}const Pe=D.label==="\\c";let Ge=Pe?K.height+K.depth:Math.min(K.height,v.fontMetrics().xHeight),et;if(D.isStretchy)et=vr.svgSpan(D,v),et=ht.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:K},{type:"elem",elem:et,wrapperClasses:["svg-align"],wrapperStyle:Ee>0?{width:"calc(100% - "+ct(2*Ee)+")",marginLeft:ct(2*Ee)}:void 0}]},v);else{let Tt,an;D.label==="\\vec"?(Tt=ht.staticSvg("vec",v),an=ht.svgData.vec[1]):(Tt=ht.makeOrd({mode:D.mode,text:D.label},v,"textord"),Tt=wi(Tt),Tt.italic=0,an=Tt.width,Pe&&(Ge+=Tt.depth)),et=ht.makeSpan(["accent-body"],[Tt]);const _n=D.label==="\\textcircled";_n&&(et.classes.push("accent-full"),Ge=K.height);let Mn=Ee;_n||(Mn-=an/2),et.style.left=ct(Mn),D.label==="\\textcircled"&&(et.style.top=".2em"),et=ht.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:K},{type:"kern",size:-Ge},{type:"elem",elem:et}]},v)}const lt=ht.makeSpan(["mord","accent"],[et],v);return G?(G.children[0]=lt,G.height=Math.max(lt.height,G.height),G.classes[0]="mord",G):lt},to=(E,v)=>{const k=E.isStretchy?vr.mathMLnode(E.label):new oe.MathNode("mo",[Ae(E.label,E.mode)]),D=new oe.MathNode("mover",[gt(E.base,v),k]);return D.setAttribute("accent","true"),D},Jl=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(E=>"\\"+E).join("|"));vn({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(E,v)=>{const k=kf(v[0]),D=!Jl.test(E.funcName),G=!D||E.funcName==="\\widehat"||E.funcName==="\\widetilde"||E.funcName==="\\widecheck";return{type:"accent",mode:E.parser.mode,label:E.funcName,isStretchy:D,isShifty:G,base:k}},htmlBuilder:Is,mathmlBuilder:to}),vn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(E,v)=>{const k=v[0];let D=E.parser.mode;return D==="math"&&(E.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+E.funcName+" works only in text mode"),D="text"),{type:"accent",mode:D,label:E.funcName,isStretchy:!1,isShifty:!0,base:k}},htmlBuilder:Is,mathmlBuilder:to}),vn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(E,v)=>{let{parser:k,funcName:D}=E;const G=v[0];return{type:"accentUnder",mode:k.mode,label:D,base:G}},htmlBuilder:(E,v)=>{const k=Gr(E.base,v),D=vr.svgSpan(E,v),G=E.label==="\\utilde"?.12:0,K=ht.makeVList({positionType:"top",positionData:k.height,children:[{type:"elem",elem:D,wrapperClasses:["svg-align"]},{type:"kern",size:G},{type:"elem",elem:k}]},v);return ht.makeSpan(["mord","accentunder"],[K],v)},mathmlBuilder:(E,v)=>{const k=vr.mathMLnode(E.label),D=new oe.MathNode("munder",[gt(E.base,v),k]);return D.setAttribute("accentunder","true"),D}});const Rh=E=>{const v=new oe.MathNode("mpadded",E?[E]:[]);return v.setAttribute("width","+0.6em"),v.setAttribute("lspace","0.3em"),v};vn({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(E,v,k){let{parser:D,funcName:G}=E;return{type:"xArrow",mode:D.mode,label:G,body:v[0],below:k[0]}},htmlBuilder(E,v){const k=v.style;let D=v.havingStyle(k.sup());const G=ht.wrapFragment(Gr(E.body,D,v),v),K=E.label.slice(0,2)==="\\x"?"x":"cd";G.classes.push(K+"-arrow-pad");let ce;E.below&&(D=v.havingStyle(k.sub()),ce=ht.wrapFragment(Gr(E.below,D,v),v),ce.classes.push(K+"-arrow-pad"));const Ee=vr.svgSpan(E,v),Pe=-v.fontMetrics().axisHeight+.5*Ee.height;let Ge=-v.fontMetrics().axisHeight-.5*Ee.height-.111;(G.depth>.25||E.label==="\\xleftequilibrium")&&(Ge-=G.depth);let et;if(ce){const lt=-v.fontMetrics().axisHeight+ce.height+.5*Ee.height+.111;et=ht.makeVList({positionType:"individualShift",children:[{type:"elem",elem:G,shift:Ge},{type:"elem",elem:Ee,shift:Pe},{type:"elem",elem:ce,shift:lt}]},v)}else et=ht.makeVList({positionType:"individualShift",children:[{type:"elem",elem:G,shift:Ge},{type:"elem",elem:Ee,shift:Pe}]},v);return et.children[0].children[0].children[1].classes.push("svg-align"),ht.makeSpan(["mrel","x-arrow"],[et],v)},mathmlBuilder(E,v){const k=vr.mathMLnode(E.label);k.setAttribute("minsize",E.label.charAt(0)==="x"?"1.75em":"3.0em");let D;if(E.body){const G=Rh(gt(E.body,v));if(E.below){const K=Rh(gt(E.below,v));D=new oe.MathNode("munderover",[k,K,G])}else D=new oe.MathNode("mover",[k,G])}else if(E.below){const G=Rh(gt(E.below,v));D=new oe.MathNode("munder",[k,G])}else D=Rh(),D=new oe.MathNode("mover",[k,D]);return D}});const Vp=ht.makeSpan;function Tr(E,v){const k=Ss(E.body,v,!0);return Vp([E.mclass],k,v)}function eu(E,v){let k;const D=He(E.body,v);return E.mclass==="minner"?k=new oe.MathNode("mpadded",D):E.mclass==="mord"?E.isCharacterBox?(k=D[0],k.type="mi"):k=new oe.MathNode("mi",D):(E.isCharacterBox?(k=D[0],k.type="mo"):k=new oe.MathNode("mo",D),E.mclass==="mbin"?(k.attributes.lspace="0.22em",k.attributes.rspace="0.22em"):E.mclass==="mpunct"?(k.attributes.lspace="0em",k.attributes.rspace="0.17em"):E.mclass==="mopen"||E.mclass==="mclose"?(k.attributes.lspace="0em",k.attributes.rspace="0em"):E.mclass==="minner"&&(k.attributes.lspace="0.0556em",k.attributes.width="+0.1111em")),k}vn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(E,v){let{parser:k,funcName:D}=E;const G=v[0];return{type:"mclass",mode:k.mode,mclass:"m"+D.slice(5),body:zi(G),isCharacterBox:T.isCharacterBox(G)}},htmlBuilder:Tr,mathmlBuilder:eu});const kl=E=>{const v=E.type==="ordgroup"&&E.body.length?E.body[0]:E;return v.type==="atom"&&(v.family==="bin"||v.family==="rel")?"m"+v.family:"mord"};vn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(E,v){let{parser:k}=E;return{type:"mclass",mode:k.mode,mclass:kl(v[0]),body:zi(v[1]),isCharacterBox:T.isCharacterBox(v[1])}}}),vn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(E,v){let{parser:k,funcName:D}=E;const G=v[1],K=v[0];let ce;D!=="\\stackrel"?ce=kl(G):ce="mrel";const Ee={type:"op",mode:G.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:D!=="\\stackrel",body:zi(G)},Pe={type:"supsub",mode:K.mode,base:Ee,sup:D==="\\underset"?null:K,sub:D==="\\underset"?K:null};return{type:"mclass",mode:k.mode,mclass:ce,body:[Pe],isCharacterBox:T.isCharacterBox(Pe)}},htmlBuilder:Tr,mathmlBuilder:eu}),vn({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(E,v){let{parser:k}=E;return{type:"pmb",mode:k.mode,mclass:kl(v[0]),body:zi(v[0])}},htmlBuilder(E,v){const k=Ss(E.body,v,!0),D=ht.makeSpan([E.mclass],k,v);return D.style.textShadow="0.02em 0.01em 0.04px",D},mathmlBuilder(E,v){const k=He(E.body,v),D=new oe.MathNode("mstyle",k);return D.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),D}});const d2={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},tu=()=>({type:"styling",body:[],mode:"math",style:"display"}),Dm=E=>E.type==="textord"&&E.text==="@",Ih=(E,v)=>(E.type==="mathord"||E.type==="atom")&&E.text===v;function Dh(E,v,k){const D=d2[E];switch(D){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return k.callFunction(D,[v[0]],[v[1]]);case"\\uparrow":case"\\downarrow":{const G=k.callFunction("\\\\cdleft",[v[0]],[]),K={type:"atom",text:D,mode:"math",family:"rel"},ce=k.callFunction("\\Big",[K],[]),Ee=k.callFunction("\\\\cdright",[v[1]],[]),Pe={type:"ordgroup",mode:"math",body:[G,ce,Ee]};return k.callFunction("\\\\cdparent",[Pe],[])}case"\\\\cdlongequal":return k.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{const G={type:"textord",text:"\\Vert",mode:"math"};return k.callFunction("\\Big",[G],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Nm(E){const v=[];for(E.gullet.beginGroup(),E.gullet.macros.set("\\cr","\\\\\\relax"),E.gullet.beginGroup();;){v.push(E.parseExpression(!1,"\\\\")),E.gullet.endGroup(),E.gullet.beginGroup();const K=E.fetch().text;if(K==="&"||K==="\\\\")E.consume();else if(K==="\\end"){v[v.length-1].length===0&&v.pop();break}else throw new s("Expected \\\\ or \\cr or \\end",E.nextToken)}let k=[];const D=[k];for(let K=0;K-1))if("<>AV".indexOf(Ge)>-1)for(let an=0;an<2;an++){let _n=!0;for(let Mn=Pe+1;MnAV=|." after @',ce[Pe]);const Tt={type:"styling",body:[Dh(Ge,et,E)],mode:"math",style:"display"};k.push(Tt),Ee=tu()}K%2===0?k.push(Ee):k.shift(),k=[],D.push(k)}E.gullet.endGroup(),E.gullet.endGroup();const G=new Array(D[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:D,arraystretch:1,addJot:!0,rowGaps:[null],cols:G,colSeparationType:"CD",hLinesBeforeRow:new Array(D.length+1).fill([])}}vn({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(E,v){let{parser:k,funcName:D}=E;return{type:"cdlabel",mode:k.mode,side:D.slice(4),label:v[0]}},htmlBuilder(E,v){const k=v.havingStyle(v.style.sup()),D=ht.wrapFragment(Gr(E.label,k,v),v);return D.classes.push("cd-label-"+E.side),D.style.bottom=ct(.8-D.depth),D.height=0,D.depth=0,D},mathmlBuilder(E,v){let k=new oe.MathNode("mrow",[gt(E.label,v)]);return k=new oe.MathNode("mpadded",[k]),k.setAttribute("width","0"),E.side==="left"&&k.setAttribute("lspace","-1width"),k.setAttribute("voffset","0.7em"),k=new oe.MathNode("mstyle",[k]),k.setAttribute("displaystyle","false"),k.setAttribute("scriptlevel","1"),k}}),vn({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(E,v){let{parser:k}=E;return{type:"cdlabelparent",mode:k.mode,fragment:v[0]}},htmlBuilder(E,v){const k=ht.wrapFragment(Gr(E.fragment,v),v);return k.classes.push("cd-vert-arrow"),k},mathmlBuilder(E,v){return new oe.MathNode("mrow",[gt(E.fragment,v)])}}),vn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(E,v){let{parser:k}=E;const G=ln(v[0],"ordgroup").body;let K="";for(let Pe=0;Pe=1114111)throw new s("\\@char with invalid code point "+K);return ce<=65535?Ee=String.fromCharCode(ce):(ce-=65536,Ee=String.fromCharCode((ce>>10)+55296,(ce&1023)+56320)),{type:"textord",mode:k.mode,text:Ee}}});const Gp=(E,v)=>{const k=Ss(E.body,v.withColor(E.color),!1);return ht.makeFragment(k)},Yp=(E,v)=>{const k=He(E.body,v.withColor(E.color)),D=new oe.MathNode("mstyle",k);return D.setAttribute("mathcolor",E.color),D};vn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(E,v){let{parser:k}=E;const D=ln(v[0],"color-token").color,G=v[1];return{type:"color",mode:k.mode,color:D,body:zi(G)}},htmlBuilder:Gp,mathmlBuilder:Yp}),vn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(E,v){let{parser:k,breakOnTokenText:D}=E;const G=ln(v[0],"color-token").color;k.gullet.macros.set("\\current@color",G);const K=k.parseExpression(!0,D);return{type:"color",mode:k.mode,color:G,body:K}},htmlBuilder:Gp,mathmlBuilder:Yp}),vn({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(E,v,k){let{parser:D}=E;const G=D.gullet.future().text==="["?D.parseSizeGroup(!0):null,K=!D.settings.displayMode||!D.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:D.mode,newLine:K,size:G&&ln(G,"size").value}},htmlBuilder(E,v){const k=ht.makeSpan(["mspace"],[],v);return E.newLine&&(k.classes.push("newline"),E.size&&(k.style.marginTop=ct(kt(E.size,v)))),k},mathmlBuilder(E,v){const k=new oe.MathNode("mspace");return E.newLine&&(k.setAttribute("linebreak","newline"),E.size&&k.setAttribute("height",ct(kt(E.size,v)))),k}});const Sd={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},D1=E=>{const v=E.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(v))throw new s("Expected a control sequence",E);return v},Zp=E=>{let v=E.gullet.popToken();return v.text==="="&&(v=E.gullet.popToken(),v.text===" "&&(v=E.gullet.popToken())),v},mo=(E,v,k,D)=>{let G=E.gullet.macros.get(k.text);G==null&&(k.noexpand=!0,G={tokens:[k],numArgs:0,unexpandable:!E.gullet.isExpandable(k.text)}),E.gullet.macros.set(v,G,D)};vn({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(E){let{parser:v,funcName:k}=E;v.consumeSpaces();const D=v.fetch();if(Sd[D.text])return(k==="\\global"||k==="\\\\globallong")&&(D.text=Sd[D.text]),ln(v.parseFunction(),"internal");throw new s("Invalid token after macro prefix",D)}}),vn({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(E){let{parser:v,funcName:k}=E,D=v.gullet.popToken();const G=D.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(G))throw new s("Expected a control sequence",D);let K=0,ce;const Ee=[[]];for(;v.gullet.future().text!=="{";)if(D=v.gullet.popToken(),D.text==="#"){if(v.gullet.future().text==="{"){ce=v.gullet.future(),Ee[K].push("{");break}if(D=v.gullet.popToken(),!/^[1-9]$/.test(D.text))throw new s('Invalid argument number "'+D.text+'"');if(parseInt(D.text)!==K+1)throw new s('Argument number "'+D.text+'" out of order');K++,Ee.push([])}else{if(D.text==="EOF")throw new s("Expected a macro definition");Ee[K].push(D.text)}let{tokens:Pe}=v.gullet.consumeArg();return ce&&Pe.unshift(ce),(k==="\\edef"||k==="\\xdef")&&(Pe=v.gullet.expandTokens(Pe),Pe.reverse()),v.gullet.macros.set(G,{tokens:Pe,numArgs:K,delimiters:Ee},k===Sd[k]),{type:"internal",mode:v.mode}}}),vn({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(E){let{parser:v,funcName:k}=E;const D=D1(v.gullet.popToken());v.gullet.consumeSpaces();const G=Zp(v);return mo(v,D,G,k==="\\\\globallet"),{type:"internal",mode:v.mode}}}),vn({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(E){let{parser:v,funcName:k}=E;const D=D1(v.gullet.popToken()),G=v.gullet.popToken(),K=v.gullet.popToken();return mo(v,D,K,k==="\\\\globalfuture"),v.gullet.pushToken(K),v.gullet.pushToken(G),{type:"internal",mode:v.mode}}});const Iu=function(E,v,k){const D=at.math[E]&&at.math[E].replace,G=xe(D||E,v,k);if(!G)throw new Error("Unsupported symbol "+E+" and font size "+v+".");return G},Od=function(E,v,k,D){const G=k.havingBaseStyle(v),K=ht.makeSpan(D.concat(G.sizingClasses(k)),[E],k),ce=G.sizeMultiplier/k.sizeMultiplier;return K.height*=ce,K.depth*=ce,K.maxFontSize=G.sizeMultiplier,K},Nh=function(E,v,k){const D=v.havingBaseStyle(k),G=(1-v.sizeMultiplier/D.sizeMultiplier)*v.fontMetrics().axisHeight;E.classes.push("delimcenter"),E.style.top=ct(G),E.height-=G,E.depth+=G},N1=function(E,v,k,D,G,K){const ce=ht.makeSymbol(E,"Main-Regular",G,D),Ee=Od(ce,v,D,K);return k&&Nh(Ee,D,v),Ee},Pm=function(E,v,k,D){return ht.makeSymbol(E,"Size"+v+"-Regular",k,D)},Yy=function(E,v,k,D,G,K){const ce=Pm(E,v,G,D),Ee=Od(ht.makeSpan(["delimsizing","size"+v],[ce],D),Fe.TEXT,D,K);return k&&Nh(Ee,D,Fe.TEXT),Ee},Ph=function(E,v,k){let D;return v==="Size1-Regular"?D="delim-size1":D="delim-size4",{type:"elem",elem:ht.makeSpan(["delimsizinginner",D],[ht.makeSpan([],[ht.makeSymbol(E,v,k)])])}},Lm=function(E,v,k){const D=de["Size4-Regular"][E.charCodeAt(0)]?de["Size4-Regular"][E.charCodeAt(0)][4]:de["Size1-Regular"][E.charCodeAt(0)][4],G=new Qr("inner",Xe(E,Math.round(1e3*v))),K=new _r([G],{width:ct(D),height:ct(v),style:"width:"+ct(D),viewBox:"0 0 "+1e3*D+" "+Math.round(1e3*v),preserveAspectRatio:"xMinYMin"}),ce=ht.makeSvgSpan([],[K],k);return ce.height=v,ce.style.height=ct(v),ce.style.width=ct(D),{type:"elem",elem:ce}},Lh=.008,Du={type:"kern",size:-1*Lh},Mm=["|","\\lvert","\\rvert","\\vert"],Zy=["\\|","\\lVert","\\rVert","\\Vert"],_f=function(E,v,k,D,G,K){let ce,Ee,Pe,Ge,et="",lt=0;ce=Pe=Ge=E,Ee=null;let Tt="Size1-Regular";E==="\\uparrow"?Pe=Ge="⏐":E==="\\Uparrow"?Pe=Ge="‖":E==="\\downarrow"?ce=Pe="⏐":E==="\\Downarrow"?ce=Pe="‖":E==="\\updownarrow"?(ce="\\uparrow",Pe="⏐",Ge="\\downarrow"):E==="\\Updownarrow"?(ce="\\Uparrow",Pe="‖",Ge="\\Downarrow"):T.contains(Mm,E)?(Pe="∣",et="vert",lt=333):T.contains(Zy,E)?(Pe="∥",et="doublevert",lt=556):E==="["||E==="\\lbrack"?(ce="⎡",Pe="⎢",Ge="⎣",Tt="Size4-Regular",et="lbrack",lt=667):E==="]"||E==="\\rbrack"?(ce="⎤",Pe="⎥",Ge="⎦",Tt="Size4-Regular",et="rbrack",lt=667):E==="\\lfloor"||E==="⌊"?(Pe=ce="⎢",Ge="⎣",Tt="Size4-Regular",et="lfloor",lt=667):E==="\\lceil"||E==="⌈"?(ce="⎡",Pe=Ge="⎢",Tt="Size4-Regular",et="lceil",lt=667):E==="\\rfloor"||E==="⌋"?(Pe=ce="⎥",Ge="⎦",Tt="Size4-Regular",et="rfloor",lt=667):E==="\\rceil"||E==="⌉"?(ce="⎤",Pe=Ge="⎥",Tt="Size4-Regular",et="rceil",lt=667):E==="("||E==="\\lparen"?(ce="⎛",Pe="⎜",Ge="⎝",Tt="Size4-Regular",et="lparen",lt=875):E===")"||E==="\\rparen"?(ce="⎞",Pe="⎟",Ge="⎠",Tt="Size4-Regular",et="rparen",lt=875):E==="\\{"||E==="\\lbrace"?(ce="⎧",Ee="⎨",Ge="⎩",Pe="⎪",Tt="Size4-Regular"):E==="\\}"||E==="\\rbrace"?(ce="⎫",Ee="⎬",Ge="⎭",Pe="⎪",Tt="Size4-Regular"):E==="\\lgroup"||E==="⟮"?(ce="⎧",Ge="⎩",Pe="⎪",Tt="Size4-Regular"):E==="\\rgroup"||E==="⟯"?(ce="⎫",Ge="⎭",Pe="⎪",Tt="Size4-Regular"):E==="\\lmoustache"||E==="⎰"?(ce="⎧",Ge="⎭",Pe="⎪",Tt="Size4-Regular"):(E==="\\rmoustache"||E==="⎱")&&(ce="⎫",Ge="⎩",Pe="⎪",Tt="Size4-Regular");const an=Iu(ce,Tt,G),_n=an.height+an.depth,Mn=Iu(Pe,Tt,G),lr=Mn.height+Mn.depth,Tn=Iu(Ge,Tt,G),Dr=Tn.height+Tn.depth;let Ar=0,Zr=1;if(Ee!==null){const Hi=Iu(Ee,Tt,G);Ar=Hi.height+Hi.depth,Zr=2}const Ha=_n+Dr+Ar,na=Math.max(0,Math.ceil((v-Ha)/(Zr*lr))),Ws=Ha+na*Zr*lr;let zo=D.fontMetrics().axisHeight;k&&(zo*=D.sizeMultiplier);const ni=Ws/2-zo,Ii=[];if(et.length>0){const Hi=Ws-_n-Dr,Lr=Math.round(Ws*1e3),io=sn(et,Math.round(Hi*1e3)),U1=new Qr(et,io),Il=(lt/1e3).toFixed(3)+"em",qa=(Lr/1e3).toFixed(3)+"em",dn=new _r([U1],{width:Il,height:qa,viewBox:"0 0 "+lt+" "+Lr}),qi=ht.makeSvgSpan([],[dn],D);qi.height=Lr/1e3,qi.style.width=Il,qi.style.height=qa,Ii.push({type:"elem",elem:qi})}else{if(Ii.push(Ph(Ge,Tt,G)),Ii.push(Du),Ee===null){const Hi=Ws-_n-Dr+2*Lh;Ii.push(Lm(Pe,Hi,D))}else{const Hi=(Ws-_n-Dr-Ar)/2+2*Lh;Ii.push(Lm(Pe,Hi,D)),Ii.push(Du),Ii.push(Ph(Ee,Tt,G)),Ii.push(Du),Ii.push(Lm(Pe,Hi,D))}Ii.push(Du),Ii.push(Ph(ce,Tt,G))}const Ur=D.havingBaseStyle(Fe.TEXT),vi=ht.makeVList({positionType:"bottom",positionData:ni,children:Ii},Ur);return Od(ht.makeSpan(["delimsizing","mult"],[vi],Ur),Fe.TEXT,D,K)},Xp=80,sl=.08,Mh=function(E,v,k,D,G){const K=Ct(E,D,k),ce=new Qr(E,K),Ee=new _r([ce],{width:"400em",height:ct(v),viewBox:"0 0 400000 "+k,preserveAspectRatio:"xMinYMin slice"});return ht.makeSvgSpan(["hide-tail"],[Ee],G)},Fm=function(E,v){const k=v.havingBaseSizing(),D=Jp("\\surd",E*k.sizeMultiplier,Kp,k);let G=k.sizeMultiplier;const K=Math.max(0,v.minRuleThickness-v.fontMetrics().sqrtRuleThickness);let ce,Ee=0,Pe=0,Ge=0,et;return D.type==="small"?(Ge=1e3+1e3*K+Xp,E<1?G=1:E<1.4&&(G=.7),Ee=(1+K+sl)/G,Pe=(1+K)/G,ce=Mh("sqrtMain",Ee,Ge,K,v),ce.style.minWidth="0.853em",et=.833/G):D.type==="large"?(Ge=(1e3+Xp)*Ca[D.size],Pe=(Ca[D.size]+K)/G,Ee=(Ca[D.size]+K+sl)/G,ce=Mh("sqrtSize"+D.size,Ee,Ge,K,v),ce.style.minWidth="1.02em",et=1/G):(Ee=E+K+sl,Pe=E+K,Ge=Math.floor(1e3*E+K)+Xp,ce=Mh("sqrtTall",Ee,Ge,K,v),ce.style.minWidth="0.742em",et=1.056),ce.height=Pe,ce.style.height=ct(Ee),{span:ce,advanceWidth:et,ruleWidth:(v.fontMetrics().sqrtRuleThickness+K)*G}},nu=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],$m=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Aa=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Ca=[0,1.2,1.8,2.4,3],P1=function(E,v,k,D,G){if(E==="<"||E==="\\lt"||E==="⟨"?E="\\langle":(E===">"||E==="\\gt"||E==="⟩")&&(E="\\rangle"),T.contains(nu,E)||T.contains(Aa,E))return Yy(E,v,!1,k,D,G);if(T.contains($m,E))return _f(E,Ca[v],!1,k,D,G);throw new s("Illegal delimiter: '"+E+"'")},Bm=[{type:"small",style:Fe.SCRIPTSCRIPT},{type:"small",style:Fe.SCRIPT},{type:"small",style:Fe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Xy=[{type:"small",style:Fe.SCRIPTSCRIPT},{type:"small",style:Fe.SCRIPT},{type:"small",style:Fe.TEXT},{type:"stack"}],Kp=[{type:"small",style:Fe.SCRIPTSCRIPT},{type:"small",style:Fe.SCRIPT},{type:"small",style:Fe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Ky=function(E){if(E.type==="small")return"Main-Regular";if(E.type==="large")return"Size"+E.size+"-Regular";if(E.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+E.type+"' here.")},Jp=function(E,v,k,D){const G=Math.min(2,3-D.style.size);for(let K=G;Kv)return k[K]}return k[k.length-1]},Ed=function(E,v,k,D,G,K){E==="<"||E==="\\lt"||E==="⟨"?E="\\langle":(E===">"||E==="\\gt"||E==="⟩")&&(E="\\rangle");let ce;T.contains(Aa,E)?ce=Bm:T.contains(nu,E)?ce=Kp:ce=Xy;const Ee=Jp(E,v,ce,D);return Ee.type==="small"?N1(E,Ee.style,k,D,G,K):Ee.type==="large"?Yy(E,Ee.size,k,D,G,K):_f(E,v,k,D,G,K)};var Lt={sqrtImage:Fm,sizedDelim:P1,sizeToMaxHeight:Ca,customSizedDelim:Ed,leftRightDelim:function(E,v,k,D,G,K){const ce=D.fontMetrics().axisHeight*D.sizeMultiplier,Ee=901,Pe=5/D.fontMetrics().ptPerEm,Ge=Math.max(v-ce,k+ce),et=Math.max(Ge/500*Ee,2*Ge-Pe);return Ed(E,et,!0,D,G,K)}};const It={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},In=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function gr(E,v){const k=ls(E);if(k&&T.contains(In,k.text))return k;throw k?new s("Invalid delimiter '"+k.text+"' after '"+v.funcName+"'",E):new s("Invalid delimiter type '"+E.type+"'",E)}vn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(E,v)=>{const k=gr(v[0],E);return{type:"delimsizing",mode:E.parser.mode,size:It[E.funcName].size,mclass:It[E.funcName].mclass,delim:k.text}},htmlBuilder:(E,v)=>E.delim==="."?ht.makeSpan([E.mclass]):Lt.sizedDelim(E.delim,E.size,v,E.mode,[E.mclass]),mathmlBuilder:E=>{const v=[];E.delim!=="."&&v.push(Ae(E.delim,E.mode));const k=new oe.MathNode("mo",v);E.mclass==="mopen"||E.mclass==="mclose"?k.setAttribute("fence","true"):k.setAttribute("fence","false"),k.setAttribute("stretchy","true");const D=ct(Lt.sizeToMaxHeight[E.size]);return k.setAttribute("minsize",D),k.setAttribute("maxsize",D),k}});function Yr(E){if(!E.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}vn({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(E,v)=>{const k=E.parser.gullet.macros.get("\\current@color");if(k&&typeof k!="string")throw new s("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:E.parser.mode,delim:gr(v[0],E).text,color:k}}}),vn({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(E,v)=>{const k=gr(v[0],E),D=E.parser;++D.leftrightDepth;const G=D.parseExpression(!1);--D.leftrightDepth,D.expect("\\right",!1);const K=ln(D.parseFunction(),"leftright-right");return{type:"leftright",mode:D.mode,body:G,left:k.text,right:K.delim,rightColor:K.color}},htmlBuilder:(E,v)=>{Yr(E);const k=Ss(E.body,v,!0,["mopen","mclose"]);let D=0,G=0,K=!1;for(let Pe=0;Pe{Yr(E);const k=He(E.body,v);if(E.left!=="."){const D=new oe.MathNode("mo",[Ae(E.left,E.mode)]);D.setAttribute("fence","true"),k.unshift(D)}if(E.right!=="."){const D=new oe.MathNode("mo",[Ae(E.right,E.mode)]);D.setAttribute("fence","true"),E.rightColor&&D.setAttribute("mathcolor",E.rightColor),k.push(D)}return Le(k)}}),vn({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(E,v)=>{const k=gr(v[0],E);if(!E.parser.leftrightDepth)throw new s("\\middle without preceding \\left",k);return{type:"middle",mode:E.parser.mode,delim:k.text}},htmlBuilder:(E,v)=>{let k;if(E.delim===".")k=Ru(v,[]);else{k=Lt.sizedDelim(E.delim,1,v,E.mode,[]);const D={delim:E.delim,options:v};k.isMiddle=D}return k},mathmlBuilder:(E,v)=>{const k=E.delim==="\\vert"||E.delim==="|"?Ae("|","text"):Ae(E.delim,E.mode),D=new oe.MathNode("mo",[k]);return D.setAttribute("fence","true"),D.setAttribute("lspace","0.05em"),D.setAttribute("rspace","0.05em"),D}});const Ds=(E,v)=>{const k=ht.wrapFragment(Gr(E.body,v),v),D=E.label.slice(1);let G=v.sizeMultiplier,K,ce=0;const Ee=T.isCharacterBox(E.body);if(D==="sout")K=ht.makeSpan(["stretchy","sout"]),K.height=v.fontMetrics().defaultRuleThickness/G,ce=-.5*v.fontMetrics().xHeight;else if(D==="phase"){const Ge=kt({number:.6,unit:"pt"},v),et=kt({number:.35,unit:"ex"},v),lt=v.havingBaseSizing();G=G/lt.sizeMultiplier;const Tt=k.height+k.depth+Ge+et;k.style.paddingLeft=ct(Tt/2+Ge);const an=Math.floor(1e3*Tt*G),_n=Vt(an),Mn=new _r([new Qr("phase",_n)],{width:"400em",height:ct(an/1e3),viewBox:"0 0 400000 "+an,preserveAspectRatio:"xMinYMin slice"});K=ht.makeSvgSpan(["hide-tail"],[Mn],v),K.style.height=ct(Tt),ce=k.depth+Ge+et}else{/cancel/.test(D)?Ee||k.classes.push("cancel-pad"):D==="angl"?k.classes.push("anglpad"):k.classes.push("boxpad");let Ge=0,et=0,lt=0;/box/.test(D)?(lt=Math.max(v.fontMetrics().fboxrule,v.minRuleThickness),Ge=v.fontMetrics().fboxsep+(D==="colorbox"?0:lt),et=Ge):D==="angl"?(lt=Math.max(v.fontMetrics().defaultRuleThickness,v.minRuleThickness),Ge=4*lt,et=Math.max(0,.25-k.depth)):(Ge=Ee?.2:0,et=Ge),K=vr.encloseSpan(k,D,Ge,et,v),/fbox|boxed|fcolorbox/.test(D)?(K.style.borderStyle="solid",K.style.borderWidth=ct(lt)):D==="angl"&<!==.049&&(K.style.borderTopWidth=ct(lt),K.style.borderRightWidth=ct(lt)),ce=k.depth+et,E.backgroundColor&&(K.style.backgroundColor=E.backgroundColor,E.borderColor&&(K.style.borderColor=E.borderColor))}let Pe;if(E.backgroundColor)Pe=ht.makeVList({positionType:"individualShift",children:[{type:"elem",elem:K,shift:ce},{type:"elem",elem:k,shift:0}]},v);else{const Ge=/cancel|phase/.test(D)?["svg-align"]:[];Pe=ht.makeVList({positionType:"individualShift",children:[{type:"elem",elem:k,shift:0},{type:"elem",elem:K,shift:ce,wrapperClasses:Ge}]},v)}return/cancel/.test(D)&&(Pe.height=k.height,Pe.depth=k.depth),/cancel/.test(D)&&!Ee?ht.makeSpan(["mord","cancel-lap"],[Pe],v):ht.makeSpan(["mord"],[Pe],v)},bi=(E,v)=>{let k=0;const D=new oe.MathNode(E.label.indexOf("colorbox")>-1?"mpadded":"menclose",[gt(E.body,v)]);switch(E.label){case"\\cancel":D.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":D.setAttribute("notation","downdiagonalstrike");break;case"\\phase":D.setAttribute("notation","phasorangle");break;case"\\sout":D.setAttribute("notation","horizontalstrike");break;case"\\fbox":D.setAttribute("notation","box");break;case"\\angl":D.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(k=v.fontMetrics().fboxsep*v.fontMetrics().ptPerEm,D.setAttribute("width","+"+2*k+"pt"),D.setAttribute("height","+"+2*k+"pt"),D.setAttribute("lspace",k+"pt"),D.setAttribute("voffset",k+"pt"),E.label==="\\fcolorbox"){const G=Math.max(v.fontMetrics().fboxrule,v.minRuleThickness);D.setAttribute("style","border: "+G+"em solid "+String(E.borderColor))}break;case"\\xcancel":D.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return E.backgroundColor&&D.setAttribute("mathbackground",E.backgroundColor),D};vn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(E,v,k){let{parser:D,funcName:G}=E;const K=ln(v[0],"color-token").color,ce=v[1];return{type:"enclose",mode:D.mode,label:G,backgroundColor:K,body:ce}},htmlBuilder:Ds,mathmlBuilder:bi}),vn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(E,v,k){let{parser:D,funcName:G}=E;const K=ln(v[0],"color-token").color,ce=ln(v[1],"color-token").color,Ee=v[2];return{type:"enclose",mode:D.mode,label:G,backgroundColor:ce,borderColor:K,body:Ee}},htmlBuilder:Ds,mathmlBuilder:bi}),vn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(E,v){let{parser:k}=E;return{type:"enclose",mode:k.mode,label:"\\fbox",body:v[0]}}}),vn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(E,v){let{parser:k,funcName:D}=E;const G=v[0];return{type:"enclose",mode:k.mode,label:D,body:G}},htmlBuilder:Ds,mathmlBuilder:bi}),vn({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(E,v){let{parser:k}=E;return{type:"enclose",mode:k.mode,label:"\\angl",body:v[0]}}});const Af={};function al(E){let{type:v,names:k,props:D,handler:G,htmlBuilder:K,mathmlBuilder:ce}=E;const Ee={type:v,numArgs:D.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:G};for(let Pe=0;Pe{if(!E.parser.settings.displayMode)throw new s("{"+E.envName+"} can be used only in display mode.")};function yi(E){if(E.indexOf("ed")===-1)return E.indexOf("*")===-1}function ru(E,v,k){let{hskipBeforeAndAfter:D,addJot:G,cols:K,arraystretch:ce,colSeparationType:Ee,autoTag:Pe,singleRow:Ge,emptySingleRow:et,maxNumCols:lt,leqno:Tt}=v;if(E.gullet.beginGroup(),Ge||E.gullet.macros.set("\\cr","\\\\\\relax"),!ce){const Zr=E.gullet.expandMacroAsText("\\arraystretch");if(Zr==null)ce=1;else if(ce=parseFloat(Zr),!ce||ce<0)throw new s("Invalid \\arraystretch: "+Zr)}E.gullet.beginGroup();let an=[];const _n=[an],Mn=[],lr=[],Tn=Pe!=null?[]:void 0;function Dr(){Pe&&E.gullet.macros.set("\\@eqnsw","1",!0)}function Ar(){Tn&&(E.gullet.macros.get("\\df@tag")?(Tn.push(E.subparse([new ea("\\df@tag")])),E.gullet.macros.set("\\df@tag",void 0,!0)):Tn.push(!!Pe&&E.gullet.macros.get("\\@eqnsw")==="1"))}for(Dr(),lr.push(Cf(E));;){let Zr=E.parseExpression(!1,Ge?"\\end":"\\\\");E.gullet.endGroup(),E.gullet.beginGroup(),Zr={type:"ordgroup",mode:E.mode,body:Zr},k&&(Zr={type:"styling",mode:E.mode,style:k,body:[Zr]}),an.push(Zr);const Ha=E.fetch().text;if(Ha==="&"){if(lt&&an.length===lt){if(Ge||Ee)throw new s("Too many tab characters: &",E.nextToken);E.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}E.consume()}else if(Ha==="\\end"){Ar(),an.length===1&&Zr.type==="styling"&&Zr.body[0].body.length===0&&(_n.length>1||!et)&&_n.pop(),lr.length<_n.length+1&&lr.push([]);break}else if(Ha==="\\\\"){E.consume();let na;E.gullet.future().text!==" "&&(na=E.parseSizeGroup(!0)),Mn.push(na?na.value:null),Ar(),lr.push(Cf(E)),an=[],_n.push(an),Dr()}else throw new s("Expected & or \\\\ or \\cr or \\end",E.nextToken)}return E.gullet.endGroup(),E.gullet.endGroup(),{type:"array",mode:E.mode,addJot:G,arraystretch:ce,body:_n,cols:K,rowGaps:Mn,hskipBeforeAndAfter:D,hLinesBeforeRow:lr,colSeparationType:Ee,tags:Tn,leqno:Tt}}function vc(E){return E.slice(0,1)==="d"?"display":"text"}const no=function(E,v){let k,D;const G=E.body.length,K=E.hLinesBeforeRow;let ce=0,Ee=new Array(G);const Pe=[],Ge=Math.max(v.fontMetrics().arrayRuleWidth,v.minRuleThickness),et=1/v.fontMetrics().ptPerEm;let lt=5*et;E.colSeparationType&&E.colSeparationType==="small"&&(lt=.2778*(v.havingStyle(Fe.SCRIPT).sizeMultiplier/v.sizeMultiplier));const Tt=E.colSeparationType==="CD"?kt({number:3,unit:"ex"},v):12*et,an=3*et,_n=E.arraystretch*Tt,Mn=.7*_n,lr=.3*_n;let Tn=0;function Dr(ni){for(let Ii=0;Ii0&&(Tn+=.25),Pe.push({pos:Tn,isDashed:ni[Ii]})}for(Dr(K[0]),k=0;k0&&(Lr+=lr,Urni))for(k=0;k=ce)continue;let Ur;(D>0||E.hskipBeforeAndAfter)&&(Ur=T.deflt(ni.pregap,lt),Ur!==0&&(na=ht.makeSpan(["arraycolsep"],[]),na.style.width=ct(Ur),Ha.push(na)));let vi=[];for(k=0;k0){const ni=ht.makeLineSpan("hline",v,Ge),Ii=ht.makeLineSpan("hdashline",v,Ge),Ur=[{type:"elem",elem:Ee,shift:0}];for(;Pe.length>0;){const vi=Pe.pop(),Hi=vi.pos-Ar;vi.isDashed?Ur.push({type:"elem",elem:Ii,shift:Hi}):Ur.push({type:"elem",elem:ni,shift:Hi})}Ee=ht.makeVList({positionType:"individualShift",children:Ur},v)}if(zo.length===0)return ht.makeSpan(["mord"],[Ee],v);{let ni=ht.makeVList({positionType:"individualShift",children:zo},v);return ni=ht.makeSpan(["tag"],[ni],v),ht.makeFragment([Ee,ni])}},e0={c:"center ",l:"left ",r:"right "},_l=function(E,v){const k=[],D=new oe.MathNode("mtd",[],["mtr-glue"]),G=new oe.MathNode("mtd",[],["mml-eqn-num"]);for(let lt=0;lt0){const lt=E.cols;let Tt="",an=!1,_n=0,Mn=lt.length;lt[0].type==="separator"&&(Ee+="top ",_n=1),lt[lt.length-1].type==="separator"&&(Ee+="bottom ",Mn-=1);for(let lr=_n;lr0?"left ":"",Ee+=et[et.length-1].length>0?"right ":"";for(let lt=1;lt-1?"alignat":"align",G=E.envName==="split",K=ru(E.parser,{cols:k,addJot:!0,autoTag:G?void 0:yi(E.envName),emptySingleRow:!0,colSeparationType:D,maxNumCols:G?2:void 0,leqno:E.parser.settings.leqno},"display");let ce,Ee=0;const Pe={type:"ordgroup",mode:E.mode,body:[]};if(v[0]&&v[0].type==="ordgroup"){let et="";for(let lt=0;lt0&&Ge&&(Tt=1),k[et]={type:"align",align:lt,pregap:Tt,postgap:0}}return K.colSeparationType=Ge?"align":"alignat",K};al({type:"array",names:["array","darray"],props:{numArgs:1},handler(E,v){const G=(ls(v[0])?[v[0]]:ln(v[0],"ordgroup").body).map(function(ce){const Pe=Yi(ce).text;if("lcr".indexOf(Pe)!==-1)return{type:"align",align:Pe};if(Pe==="|")return{type:"separator",separator:"|"};if(Pe===":")return{type:"separator",separator:":"};throw new s("Unknown column alignment: "+Pe,ce)}),K={cols:G,hskipBeforeAndAfter:!0,maxNumCols:G.length};return ru(E.parser,K,vc(E.envName))},htmlBuilder:no,mathmlBuilder:_l}),al({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(E){const v={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[E.envName.replace("*","")];let k="c";const D={hskipBeforeAndAfter:!1,cols:[{type:"align",align:k}]};if(E.envName.charAt(E.envName.length-1)==="*"){const ce=E.parser;if(ce.consumeSpaces(),ce.fetch().text==="["){if(ce.consume(),ce.consumeSpaces(),k=ce.fetch().text,"lcr".indexOf(k)===-1)throw new s("Expected l or c or r",ce.nextToken);ce.consume(),ce.consumeSpaces(),ce.expect("]"),ce.consume(),D.cols=[{type:"align",align:k}]}}const G=ru(E.parser,D,vc(E.envName)),K=Math.max(0,...G.body.map(ce=>ce.length));return G.cols=new Array(K).fill({type:"align",align:k}),v?{type:"leftright",mode:E.mode,body:[G],left:v[0],right:v[1],rightColor:void 0}:G},htmlBuilder:no,mathmlBuilder:_l}),al({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(E){const v={arraystretch:.5},k=ru(E.parser,v,"script");return k.colSeparationType="small",k},htmlBuilder:no,mathmlBuilder:_l}),al({type:"array",names:["subarray"],props:{numArgs:1},handler(E,v){const G=(ls(v[0])?[v[0]]:ln(v[0],"ordgroup").body).map(function(ce){const Pe=Yi(ce).text;if("lc".indexOf(Pe)!==-1)return{type:"align",align:Pe};throw new s("Unknown column alignment: "+Pe,ce)});if(G.length>1)throw new s("{subarray} can contain only one column");let K={cols:G,hskipBeforeAndAfter:!1,arraystretch:.5};if(K=ru(E.parser,K,"script"),K.body.length>0&&K.body[0].length>1)throw new s("{subarray} can contain only one column");return K},htmlBuilder:no,mathmlBuilder:_l}),al({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(E){const v={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},k=ru(E.parser,v,vc(E.envName));return{type:"leftright",mode:E.mode,body:[k],left:E.envName.indexOf("r")>-1?".":"\\{",right:E.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:no,mathmlBuilder:_l}),al({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Um,htmlBuilder:no,mathmlBuilder:_l}),al({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(E){T.contains(["gather","gather*"],E.envName)&&Nu(E);const v={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:yi(E.envName),emptySingleRow:!0,leqno:E.parser.settings.leqno};return ru(E.parser,v,"display")},htmlBuilder:no,mathmlBuilder:_l}),al({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Um,htmlBuilder:no,mathmlBuilder:_l}),al({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(E){Nu(E);const v={autoTag:yi(E.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:E.parser.settings.leqno};return ru(E.parser,v,"display")},htmlBuilder:no,mathmlBuilder:_l}),al({type:"array",names:["CD"],props:{numArgs:0},handler(E){return Nu(E),Nm(E.parser)},htmlBuilder:no,mathmlBuilder:_l}),_e("\\nonumber","\\gdef\\@eqnsw{0}"),_e("\\notag","\\nonumber"),vn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(E,v){throw new s(E.funcName+" valid only within array environment")}});var Al=Af;vn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(E,v){let{parser:k,funcName:D}=E;const G=v[0];if(G.type!=="ordgroup")throw new s("Invalid environment name",G);let K="";for(let ce=0;ce{const k=E.font,D=v.withFont(k);return Gr(E.body,D)},r0=(E,v)=>{const k=E.font,D=v.withFont(k);return gt(E.body,D)},wd={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};vn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(E,v)=>{let{parser:k,funcName:D}=E;const G=kf(v[0]);let K=D;return K in wd&&(K=wd[K]),{type:"font",mode:k.mode,font:K.slice(1),body:G}},htmlBuilder:n0,mathmlBuilder:r0}),vn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(E,v)=>{let{parser:k}=E;const D=v[0],G=T.isCharacterBox(D);return{type:"mclass",mode:k.mode,mclass:kl(D),body:[{type:"font",mode:k.mode,font:"boldsymbol",body:D}],isCharacterBox:G}}}),vn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(E,v)=>{let{parser:k,funcName:D,breakOnTokenText:G}=E;const{mode:K}=k,ce=k.parseExpression(!0,G),Ee="math"+D.slice(1);return{type:"font",mode:K,font:Ee,body:{type:"ordgroup",mode:k.mode,body:ce}}},htmlBuilder:n0,mathmlBuilder:r0});const i0=(E,v)=>{let k=v;return E==="display"?k=k.id>=Fe.SCRIPT.id?k.text():Fe.DISPLAY:E==="text"&&k.size===Fe.DISPLAY.size?k=Fe.TEXT:E==="script"?k=Fe.SCRIPT:E==="scriptscript"&&(k=Fe.SCRIPTSCRIPT),k},Pu=(E,v)=>{const k=i0(E.size,v.style),D=k.fracNum(),G=k.fracDen();let K;K=v.havingStyle(D);const ce=Gr(E.numer,K,v);if(E.continued){const Dr=8.5/v.fontMetrics().ptPerEm,Ar=3.5/v.fontMetrics().ptPerEm;ce.height=ce.height0?Tt=3*et:Tt=7*et,an=v.fontMetrics().denom1):(Ge>0?(lt=v.fontMetrics().num2,Tt=et):(lt=v.fontMetrics().num3,Tt=3*et),an=v.fontMetrics().denom2);let _n;if(Pe){const Dr=v.fontMetrics().axisHeight;lt-ce.depth-(Dr+.5*Ge){let k=new oe.MathNode("mfrac",[gt(E.numer,v),gt(E.denom,v)]);if(!E.hasBarLine)k.setAttribute("linethickness","0px");else if(E.barSize){const G=kt(E.barSize,v);k.setAttribute("linethickness",ct(G))}const D=i0(E.size,v.style);if(D.size!==v.style.size){k=new oe.MathNode("mstyle",[k]);const G=D.size===Fe.DISPLAY.size?"true":"false";k.setAttribute("displaystyle",G),k.setAttribute("scriptlevel","0")}if(E.leftDelim!=null||E.rightDelim!=null){const G=[];if(E.leftDelim!=null){const K=new oe.MathNode("mo",[new oe.TextNode(E.leftDelim.replace("\\",""))]);K.setAttribute("fence","true"),G.push(K)}if(G.push(k),E.rightDelim!=null){const K=new oe.MathNode("mo",[new oe.TextNode(E.rightDelim.replace("\\",""))]);K.setAttribute("fence","true"),G.push(K)}return Le(G)}return k};vn({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(E,v)=>{let{parser:k,funcName:D}=E;const G=v[0],K=v[1];let ce,Ee=null,Pe=null,Ge="auto";switch(D){case"\\dfrac":case"\\frac":case"\\tfrac":ce=!0;break;case"\\\\atopfrac":ce=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":ce=!1,Ee="(",Pe=")";break;case"\\\\bracefrac":ce=!1,Ee="\\{",Pe="\\}";break;case"\\\\brackfrac":ce=!1,Ee="[",Pe="]";break;default:throw new Error("Unrecognized genfrac command")}switch(D){case"\\dfrac":case"\\dbinom":Ge="display";break;case"\\tfrac":case"\\tbinom":Ge="text";break}return{type:"genfrac",mode:k.mode,continued:!1,numer:G,denom:K,hasBarLine:ce,leftDelim:Ee,rightDelim:Pe,size:Ge,barSize:null}},htmlBuilder:Pu,mathmlBuilder:xd}),vn({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(E,v)=>{let{parser:k,funcName:D}=E;const G=v[0],K=v[1];return{type:"genfrac",mode:k.mode,continued:!0,numer:G,denom:K,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),vn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(E){let{parser:v,funcName:k,token:D}=E,G;switch(k){case"\\over":G="\\frac";break;case"\\choose":G="\\binom";break;case"\\atop":G="\\\\atopfrac";break;case"\\brace":G="\\\\bracefrac";break;case"\\brack":G="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:v.mode,replaceWith:G,token:D}}});const zm=["display","text","script","scriptscript"],Sc=function(E){let v=null;return E.length>0&&(v=E,v=v==="."?null:v),v};vn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(E,v){let{parser:k}=E;const D=v[4],G=v[5],K=kf(v[0]),ce=K.type==="atom"&&K.family==="open"?Sc(K.text):null,Ee=kf(v[1]),Pe=Ee.type==="atom"&&Ee.family==="close"?Sc(Ee.text):null,Ge=ln(v[2],"size");let et,lt=null;Ge.isBlank?et=!0:(lt=Ge.value,et=lt.number>0);let Tt="auto",an=v[3];if(an.type==="ordgroup"){if(an.body.length>0){const _n=ln(an.body[0],"textord");Tt=zm[Number(_n.text)]}}else an=ln(an,"textord"),Tt=zm[Number(an.text)];return{type:"genfrac",mode:k.mode,numer:D,denom:G,continued:!1,hasBarLine:et,barSize:lt,leftDelim:ce,rightDelim:Pe,size:Tt}},htmlBuilder:Pu,mathmlBuilder:xd}),vn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(E,v){let{parser:k,funcName:D,token:G}=E;return{type:"infix",mode:k.mode,replaceWith:"\\\\abovefrac",size:ln(v[0],"size").value,token:G}}}),vn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(E,v)=>{let{parser:k,funcName:D}=E;const G=v[0],K=w(ln(v[1],"infix").size),ce=v[2],Ee=K.number>0;return{type:"genfrac",mode:k.mode,numer:G,denom:ce,continued:!1,hasBarLine:Ee,barSize:K,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Pu,mathmlBuilder:xd});const Bo=(E,v)=>{const k=v.style;let D,G;E.type==="supsub"?(D=E.sup?Gr(E.sup,v.havingStyle(k.sup()),v):Gr(E.sub,v.havingStyle(k.sub()),v),G=ln(E.base,"horizBrace")):G=ln(E,"horizBrace");const K=Gr(G.base,v.havingBaseStyle(Fe.DISPLAY)),ce=vr.svgSpan(G,v);let Ee;if(G.isOver?(Ee=ht.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:K},{type:"kern",size:.1},{type:"elem",elem:ce}]},v),Ee.children[0].children[0].children[1].classes.push("svg-align")):(Ee=ht.makeVList({positionType:"bottom",positionData:K.depth+.1+ce.height,children:[{type:"elem",elem:ce},{type:"kern",size:.1},{type:"elem",elem:K}]},v),Ee.children[0].children[0].children[0].classes.push("svg-align")),D){const Pe=ht.makeSpan(["mord",G.isOver?"mover":"munder"],[Ee],v);G.isOver?Ee=ht.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Pe},{type:"kern",size:.2},{type:"elem",elem:D}]},v):Ee=ht.makeVList({positionType:"bottom",positionData:Pe.depth+.2+D.height+D.depth,children:[{type:"elem",elem:D},{type:"kern",size:.2},{type:"elem",elem:Pe}]},v)}return ht.makeSpan(["mord",G.isOver?"mover":"munder"],[Ee],v)};vn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(E,v){let{parser:k,funcName:D}=E;return{type:"horizBrace",mode:k.mode,label:D,isOver:/^\\over/.test(D),base:v[0]}},htmlBuilder:Bo,mathmlBuilder:(E,v)=>{const k=vr.mathMLnode(E.label);return new oe.MathNode(E.isOver?"mover":"munder",[gt(E.base,v),k])}}),vn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(E,v)=>{let{parser:k}=E;const D=v[1],G=ln(v[0],"url").url;return k.settings.isTrusted({command:"\\href",url:G})?{type:"href",mode:k.mode,href:G,body:zi(D)}:k.formatUnsupportedCmd("\\href")},htmlBuilder:(E,v)=>{const k=Ss(E.body,v,!1);return ht.makeAnchor(E.href,[],k,v)},mathmlBuilder:(E,v)=>{let k=vt(E.body,v);return k instanceof Q||(k=new Q("mrow",[k])),k.setAttribute("href",E.href),k}}),vn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(E,v)=>{let{parser:k}=E;const D=ln(v[0],"url").url;if(!k.settings.isTrusted({command:"\\url",url:D}))return k.formatUnsupportedCmd("\\url");const G=[];for(let ce=0;ce{let{parser:k,funcName:D,token:G}=E;const K=ln(v[0],"raw").string,ce=v[1];k.settings.strict&&k.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");let Ee;const Pe={};switch(D){case"\\htmlClass":Pe.class=K,Ee={command:"\\htmlClass",class:K};break;case"\\htmlId":Pe.id=K,Ee={command:"\\htmlId",id:K};break;case"\\htmlStyle":Pe.style=K,Ee={command:"\\htmlStyle",style:K};break;case"\\htmlData":{const Ge=K.split(",");for(let et=0;et{const k=Ss(E.body,v,!1),D=["enclosing"];E.attributes.class&&D.push(...E.attributes.class.trim().split(/\s+/));const G=ht.makeSpan(D,k,v);for(const K in E.attributes)K!=="class"&&E.attributes.hasOwnProperty(K)&&G.setAttribute(K,E.attributes[K]);return G},mathmlBuilder:(E,v)=>vt(E.body,v)}),vn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(E,v)=>{let{parser:k}=E;return{type:"htmlmathml",mode:k.mode,html:zi(v[0]),mathml:zi(v[1])}},htmlBuilder:(E,v)=>{const k=Ss(E.html,v,!1);return ht.makeFragment(k)},mathmlBuilder:(E,v)=>vt(E.mathml,v)});const Fh=function(E){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(E))return{number:+E,unit:"bp"};{const v=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(E);if(!v)throw new s("Invalid size: '"+E+"' in \\includegraphics");const k={number:+(v[1]+v[2]),unit:v[3]};if(!Fn(k))throw new s("Invalid unit: '"+k.unit+"' in \\includegraphics.");return k}};vn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(E,v,k)=>{let{parser:D}=E,G={number:0,unit:"em"},K={number:.9,unit:"em"},ce={number:0,unit:"em"},Ee="";if(k[0]){const et=ln(k[0],"raw").string.split(",");for(let lt=0;lt{const k=kt(E.height,v);let D=0;E.totalheight.number>0&&(D=kt(E.totalheight,v)-k);let G=0;E.width.number>0&&(G=kt(E.width,v));const K={height:ct(k+D)};G>0&&(K.width=ct(G)),D>0&&(K.verticalAlign=ct(-D));const ce=new xr(E.src,E.alt,K);return ce.height=k,ce.depth=D,ce},mathmlBuilder:(E,v)=>{const k=new oe.MathNode("mglyph",[]);k.setAttribute("alt",E.alt);const D=kt(E.height,v);let G=0;if(E.totalheight.number>0&&(G=kt(E.totalheight,v)-D,k.setAttribute("valign",ct(-G))),k.setAttribute("height",ct(D+G)),E.width.number>0){const K=kt(E.width,v);k.setAttribute("width",ct(K))}return k.setAttribute("src",E.src),k}}),vn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(E,v){let{parser:k,funcName:D}=E;const G=ln(v[0],"size");if(k.settings.strict){const K=D[1]==="m",ce=G.value.unit==="mu";K?(ce||k.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+D+" supports only mu units, "+("not "+G.value.unit+" units")),k.mode!=="math"&&k.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+D+" works only in math mode")):ce&&k.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+D+" doesn't support mu units")}return{type:"kern",mode:k.mode,dimension:G.value}},htmlBuilder(E,v){return ht.makeGlue(E.dimension,v)},mathmlBuilder(E,v){const k=kt(E.dimension,v);return new oe.SpaceNode(k)}}),vn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(E,v)=>{let{parser:k,funcName:D}=E;const G=v[0];return{type:"lap",mode:k.mode,alignment:D.slice(5),body:G}},htmlBuilder:(E,v)=>{let k;E.alignment==="clap"?(k=ht.makeSpan([],[Gr(E.body,v)]),k=ht.makeSpan(["inner"],[k],v)):k=ht.makeSpan(["inner"],[Gr(E.body,v)]);const D=ht.makeSpan(["fix"],[]);let G=ht.makeSpan([E.alignment],[k,D],v);const K=ht.makeSpan(["strut"]);return K.style.height=ct(G.height+G.depth),G.depth&&(K.style.verticalAlign=ct(-G.depth)),G.children.unshift(K),G=ht.makeSpan(["thinbox"],[G],v),ht.makeSpan(["mord","vbox"],[G],v)},mathmlBuilder:(E,v)=>{const k=new oe.MathNode("mpadded",[gt(E.body,v)]);if(E.alignment!=="rlap"){const D=E.alignment==="llap"?"-1":"-0.5";k.setAttribute("lspace",D+"width")}return k.setAttribute("width","0px"),k}}),vn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(E,v){let{funcName:k,parser:D}=E;const G=D.mode;D.switchMode("math");const K=k==="\\("?"\\)":"$",ce=D.parseExpression(!1,K);return D.expect(K),D.switchMode(G),{type:"styling",mode:D.mode,style:"text",body:ce}}}),vn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(E,v){throw new s("Mismatched "+E.funcName)}});const Jy=(E,v)=>{switch(v.style.size){case Fe.DISPLAY.size:return E.display;case Fe.TEXT.size:return E.text;case Fe.SCRIPT.size:return E.script;case Fe.SCRIPTSCRIPT.size:return E.scriptscript;default:return E.text}};vn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(E,v)=>{let{parser:k}=E;return{type:"mathchoice",mode:k.mode,display:zi(v[0]),text:zi(v[1]),script:zi(v[2]),scriptscript:zi(v[3])}},htmlBuilder:(E,v)=>{const k=Jy(E,v),D=Ss(k,v,!1);return ht.makeFragment(D)},mathmlBuilder:(E,v)=>{const k=Jy(E,v);return vt(k,v)}});const s0=(E,v,k,D,G,K,ce)=>{E=ht.makeSpan([],[E]);const Ee=k&&T.isCharacterBox(k);let Pe,Ge;if(v){const Tt=Gr(v,D.havingStyle(G.sup()),D);Ge={elem:Tt,kern:Math.max(D.fontMetrics().bigOpSpacing1,D.fontMetrics().bigOpSpacing3-Tt.depth)}}if(k){const Tt=Gr(k,D.havingStyle(G.sub()),D);Pe={elem:Tt,kern:Math.max(D.fontMetrics().bigOpSpacing2,D.fontMetrics().bigOpSpacing4-Tt.height)}}let et;if(Ge&&Pe){const Tt=D.fontMetrics().bigOpSpacing5+Pe.elem.height+Pe.elem.depth+Pe.kern+E.depth+ce;et=ht.makeVList({positionType:"bottom",positionData:Tt,children:[{type:"kern",size:D.fontMetrics().bigOpSpacing5},{type:"elem",elem:Pe.elem,marginLeft:ct(-K)},{type:"kern",size:Pe.kern},{type:"elem",elem:E},{type:"kern",size:Ge.kern},{type:"elem",elem:Ge.elem,marginLeft:ct(K)},{type:"kern",size:D.fontMetrics().bigOpSpacing5}]},D)}else if(Pe){const Tt=E.height-ce;et=ht.makeVList({positionType:"top",positionData:Tt,children:[{type:"kern",size:D.fontMetrics().bigOpSpacing5},{type:"elem",elem:Pe.elem,marginLeft:ct(-K)},{type:"kern",size:Pe.kern},{type:"elem",elem:E}]},D)}else if(Ge){const Tt=E.depth+ce;et=ht.makeVList({positionType:"bottom",positionData:Tt,children:[{type:"elem",elem:E},{type:"kern",size:Ge.kern},{type:"elem",elem:Ge.elem,marginLeft:ct(K)},{type:"kern",size:D.fontMetrics().bigOpSpacing5}]},D)}else return E;const lt=[et];if(Pe&&K!==0&&!Ee){const Tt=ht.makeSpan(["mspace"],[],D);Tt.style.marginRight=ct(K),lt.unshift(Tt)}return ht.makeSpan(["mop","op-limits"],lt,D)},a0=["\\smallint"],Cl=(E,v)=>{let k,D,G=!1,K;E.type==="supsub"?(k=E.sup,D=E.sub,K=ln(E.base,"op"),G=!0):K=ln(E,"op");const ce=v.style;let Ee=!1;ce.size===Fe.DISPLAY.size&&K.symbol&&!T.contains(a0,K.name)&&(Ee=!0);let Pe;if(K.symbol){const lt=Ee?"Size2-Regular":"Size1-Regular";let Tt="";if((K.name==="\\oiint"||K.name==="\\oiiint")&&(Tt=K.name.slice(1),K.name=Tt==="oiint"?"\\iint":"\\iiint"),Pe=ht.makeSymbol(K.name,lt,"math",v,["mop","op-symbol",Ee?"large-op":"small-op"]),Tt.length>0){const an=Pe.italic,_n=ht.staticSvg(Tt+"Size"+(Ee?"2":"1"),v);Pe=ht.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Pe,shift:0},{type:"elem",elem:_n,shift:Ee?.08:0}]},v),K.name="\\"+Tt,Pe.classes.unshift("mop"),Pe.italic=an}}else if(K.body){const lt=Ss(K.body,v,!0);lt.length===1&<[0]instanceof $r?(Pe=lt[0],Pe.classes[0]="mop"):Pe=ht.makeSpan(["mop"],lt,v)}else{const lt=[];for(let Tt=1;Tt{let k;if(E.symbol)k=new Q("mo",[Ae(E.name,E.mode)]),T.contains(a0,E.name)&&k.setAttribute("largeop","false");else if(E.body)k=new Q("mo",He(E.body,v));else{k=new Q("mi",[new ee(E.name.slice(1))]);const D=new Q("mo",[Ae("⁡","text")]);E.parentIsSupSub?k=new Q("mrow",[k,D]):k=H([k,D])}return k},Hm={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};vn({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(E,v)=>{let{parser:k,funcName:D}=E,G=D;return G.length===1&&(G=Hm[G]),{type:"op",mode:k.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:G}},htmlBuilder:Cl,mathmlBuilder:Rf}),vn({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(E,v)=>{let{parser:k}=E;const D=v[0];return{type:"op",mode:k.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:zi(D)}},htmlBuilder:Cl,mathmlBuilder:Rf});const ev={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};vn({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(E){let{parser:v,funcName:k}=E;return{type:"op",mode:v.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:k}},htmlBuilder:Cl,mathmlBuilder:Rf}),vn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(E){let{parser:v,funcName:k}=E;return{type:"op",mode:v.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:k}},htmlBuilder:Cl,mathmlBuilder:Rf}),vn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(E){let{parser:v,funcName:k}=E,D=k;return D.length===1&&(D=ev[D]),{type:"op",mode:v.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:D}},htmlBuilder:Cl,mathmlBuilder:Rf});const o0=(E,v)=>{let k,D,G=!1,K;E.type==="supsub"?(k=E.sup,D=E.sub,K=ln(E.base,"operatorname"),G=!0):K=ln(E,"operatorname");let ce;if(K.body.length>0){const Ee=K.body.map(Ge=>{const et=Ge.text;return typeof et=="string"?{type:"textord",mode:Ge.mode,text:et}:Ge}),Pe=Ss(Ee,v.withFont("mathrm"),!0);for(let Ge=0;Ge{let{parser:k,funcName:D}=E;const G=v[0];return{type:"operatorname",mode:k.mode,body:zi(G),alwaysHandleSupSub:D==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:o0,mathmlBuilder:(E,v)=>{let k=He(E.body,v.withFont("mathrm")),D=!0;for(let ce=0;ceEe.toText()).join("");k=[new oe.TextNode(ce)]}const G=new oe.MathNode("mi",k);G.setAttribute("mathvariant","normal");const K=new oe.MathNode("mo",[Ae("⁡","text")]);return E.parentIsSupSub?new oe.MathNode("mrow",[G,K]):oe.newDocumentFragment([G,K])}}),_e("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),yc({type:"ordgroup",htmlBuilder(E,v){return E.semisimple?ht.makeFragment(Ss(E.body,v,!1)):ht.makeSpan(["mord"],Ss(E.body,v,!0),v)},mathmlBuilder(E,v){return vt(E.body,v,!0)}}),vn({type:"overline",names:["\\overline"],props:{numArgs:1},handler(E,v){let{parser:k}=E;const D=v[0];return{type:"overline",mode:k.mode,body:D}},htmlBuilder(E,v){const k=Gr(E.body,v.havingCrampedStyle()),D=ht.makeLineSpan("overline-line",v),G=v.fontMetrics().defaultRuleThickness,K=ht.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:k},{type:"kern",size:3*G},{type:"elem",elem:D},{type:"kern",size:G}]},v);return ht.makeSpan(["mord","overline"],[K],v)},mathmlBuilder(E,v){const k=new oe.MathNode("mo",[new oe.TextNode("‾")]);k.setAttribute("stretchy","true");const D=new oe.MathNode("mover",[gt(E.body,v),k]);return D.setAttribute("accent","true"),D}}),vn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(E,v)=>{let{parser:k}=E;const D=v[0];return{type:"phantom",mode:k.mode,body:zi(D)}},htmlBuilder:(E,v)=>{const k=Ss(E.body,v.withPhantom(),!1);return ht.makeFragment(k)},mathmlBuilder:(E,v)=>{const k=He(E.body,v);return new oe.MathNode("mphantom",k)}}),vn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(E,v)=>{let{parser:k}=E;const D=v[0];return{type:"hphantom",mode:k.mode,body:D}},htmlBuilder:(E,v)=>{let k=ht.makeSpan([],[Gr(E.body,v.withPhantom())]);if(k.height=0,k.depth=0,k.children)for(let D=0;D{const k=He(zi(E.body),v),D=new oe.MathNode("mphantom",k),G=new oe.MathNode("mpadded",[D]);return G.setAttribute("height","0px"),G.setAttribute("depth","0px"),G}}),vn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(E,v)=>{let{parser:k}=E;const D=v[0];return{type:"vphantom",mode:k.mode,body:D}},htmlBuilder:(E,v)=>{const k=ht.makeSpan(["inner"],[Gr(E.body,v.withPhantom())]),D=ht.makeSpan(["fix"],[]);return ht.makeSpan(["mord","rlap"],[k,D],v)},mathmlBuilder:(E,v)=>{const k=He(zi(E.body),v),D=new oe.MathNode("mphantom",k),G=new oe.MathNode("mpadded",[D]);return G.setAttribute("width","0px"),G}}),vn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(E,v){let{parser:k}=E;const D=ln(v[0],"size").value,G=v[1];return{type:"raisebox",mode:k.mode,dy:D,body:G}},htmlBuilder(E,v){const k=Gr(E.body,v),D=kt(E.dy,v);return ht.makeVList({positionType:"shift",positionData:-D,children:[{type:"elem",elem:k}]},v)},mathmlBuilder(E,v){const k=new oe.MathNode("mpadded",[gt(E.body,v)]),D=E.dy.number+E.dy.unit;return k.setAttribute("voffset",D),k}}),vn({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(E){let{parser:v}=E;return{type:"internal",mode:v.mode}}}),vn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(E,v,k){let{parser:D}=E;const G=k[0],K=ln(v[0],"size"),ce=ln(v[1],"size");return{type:"rule",mode:D.mode,shift:G&&ln(G,"size").value,width:K.value,height:ce.value}},htmlBuilder(E,v){const k=ht.makeSpan(["mord","rule"],[],v),D=kt(E.width,v),G=kt(E.height,v),K=E.shift?kt(E.shift,v):0;return k.style.borderRightWidth=ct(D),k.style.borderTopWidth=ct(G),k.style.bottom=ct(K),k.width=D,k.height=G+K,k.depth=-K,k.maxFontSize=G*1.125*v.sizeMultiplier,k},mathmlBuilder(E,v){const k=kt(E.width,v),D=kt(E.height,v),G=E.shift?kt(E.shift,v):0,K=v.color&&v.getColor()||"black",ce=new oe.MathNode("mspace");ce.setAttribute("mathbackground",K),ce.setAttribute("width",ct(k)),ce.setAttribute("height",ct(D));const Ee=new oe.MathNode("mpadded",[ce]);return G>=0?Ee.setAttribute("height",ct(G)):(Ee.setAttribute("height",ct(G)),Ee.setAttribute("depth",ct(-G))),Ee.setAttribute("voffset",ct(G)),Ee}});function Os(E,v,k){const D=Ss(E,v,!1),G=v.sizeMultiplier/k.sizeMultiplier;for(let K=0;K{let{breakOnTokenText:k,funcName:D,parser:G}=E;const K=G.parseExpression(!1,k);return{type:"sizing",mode:G.mode,size:za.indexOf(D)+1,body:K}},htmlBuilder:(E,v)=>{const k=v.havingSize(E.size);return Os(E.body,k,v)},mathmlBuilder:(E,v)=>{const k=v.havingSize(E.size),D=He(E.body,k),G=new oe.MathNode("mstyle",D);return G.setAttribute("mathsize",ct(k.sizeMultiplier)),G}}),vn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(E,v,k)=>{let{parser:D}=E,G=!1,K=!1;const ce=k[0]&&ln(k[0],"ordgroup");if(ce){let Pe="";for(let Ge=0;Ge{const k=ht.makeSpan([],[Gr(E.body,v)]);if(!E.smashHeight&&!E.smashDepth)return k;if(E.smashHeight&&(k.height=0,k.children))for(let G=0;G{const k=new oe.MathNode("mpadded",[gt(E.body,v)]);return E.smashHeight&&k.setAttribute("height","0px"),E.smashDepth&&k.setAttribute("depth","0px"),k}}),vn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(E,v,k){let{parser:D}=E;const G=k[0],K=v[0];return{type:"sqrt",mode:D.mode,body:K,index:G}},htmlBuilder(E,v){let k=Gr(E.body,v.havingCrampedStyle());k.height===0&&(k.height=v.fontMetrics().xHeight),k=ht.wrapFragment(k,v);const G=v.fontMetrics().defaultRuleThickness;let K=G;v.style.idk.height+k.depth+ce&&(ce=(ce+lt-k.height-k.depth)/2);const Tt=Pe.height-k.height-ce-Ge;k.style.paddingLeft=ct(et);const an=ht.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:k,wrapperClasses:["svg-align"]},{type:"kern",size:-(k.height+Tt)},{type:"elem",elem:Pe},{type:"kern",size:Ge}]},v);if(E.index){const _n=v.havingStyle(Fe.SCRIPTSCRIPT),Mn=Gr(E.index,_n,v),lr=.6*(an.height-an.depth),Tn=ht.makeVList({positionType:"shift",positionData:-lr,children:[{type:"elem",elem:Mn}]},v),Dr=ht.makeSpan(["root"],[Tn]);return ht.makeSpan(["mord","sqrt"],[Dr,an],v)}else return ht.makeSpan(["mord","sqrt"],[an],v)},mathmlBuilder(E,v){const{body:k,index:D}=E;return D?new oe.MathNode("mroot",[gt(k,v),gt(D,v)]):new oe.MathNode("msqrt",[gt(k,v)])}});const tv={display:Fe.DISPLAY,text:Fe.TEXT,script:Fe.SCRIPT,scriptscript:Fe.SCRIPTSCRIPT};vn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(E,v){let{breakOnTokenText:k,funcName:D,parser:G}=E;const K=G.parseExpression(!0,k),ce=D.slice(1,D.length-5);return{type:"styling",mode:G.mode,style:ce,body:K}},htmlBuilder(E,v){const k=tv[E.style],D=v.havingStyle(k).withFont("");return Os(E.body,D,v)},mathmlBuilder(E,v){const k=tv[E.style],D=v.havingStyle(k),G=He(E.body,D),K=new oe.MathNode("mstyle",G),Ee={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[E.style];return K.setAttribute("scriptlevel",Ee[0]),K.setAttribute("displaystyle",Ee[1]),K}});const l0=function(E,v){const k=E.base;return k?k.type==="op"?k.limits&&(v.style.size===Fe.DISPLAY.size||k.alwaysHandleSupSub)?Cl:null:k.type==="operatorname"?k.alwaysHandleSupSub&&(v.style.size===Fe.DISPLAY.size||k.limits)?o0:null:k.type==="accent"?T.isCharacterBox(k.base)?Is:null:k.type==="horizBrace"&&!E.sub===k.isOver?Bo:null:null};yc({type:"supsub",htmlBuilder(E,v){const k=l0(E,v);if(k)return k(E,v);const{base:D,sup:G,sub:K}=E,ce=Gr(D,v);let Ee,Pe;const Ge=v.fontMetrics();let et=0,lt=0;const Tt=D&&T.isCharacterBox(D);if(G){const Ar=v.havingStyle(v.style.sup());Ee=Gr(G,Ar,v),Tt||(et=ce.height-Ar.fontMetrics().supDrop*Ar.sizeMultiplier/v.sizeMultiplier)}if(K){const Ar=v.havingStyle(v.style.sub());Pe=Gr(K,Ar,v),Tt||(lt=ce.depth+Ar.fontMetrics().subDrop*Ar.sizeMultiplier/v.sizeMultiplier)}let an;v.style===Fe.DISPLAY?an=Ge.sup1:v.style.cramped?an=Ge.sup3:an=Ge.sup2;const _n=v.sizeMultiplier,Mn=ct(.5/Ge.ptPerEm/_n);let lr=null;if(Pe){const Ar=E.base&&E.base.type==="op"&&E.base.name&&(E.base.name==="\\oiint"||E.base.name==="\\oiiint");(ce instanceof $r||Ar)&&(lr=ct(-ce.italic))}let Tn;if(Ee&&Pe){et=Math.max(et,an,Ee.depth+.25*Ge.xHeight),lt=Math.max(lt,Ge.sub2);const Zr=4*Ge.defaultRuleThickness;if(et-Ee.depth-(Pe.height-lt)0&&(et+=na,lt-=na)}const Ha=[{type:"elem",elem:Pe,shift:lt,marginRight:Mn,marginLeft:lr},{type:"elem",elem:Ee,shift:-et,marginRight:Mn}];Tn=ht.makeVList({positionType:"individualShift",children:Ha},v)}else if(Pe){lt=Math.max(lt,Ge.sub1,Pe.height-.8*Ge.xHeight);const Ar=[{type:"elem",elem:Pe,marginLeft:lr,marginRight:Mn}];Tn=ht.makeVList({positionType:"shift",positionData:lt,children:Ar},v)}else if(Ee)et=Math.max(et,an,Ee.depth+.25*Ge.xHeight),Tn=ht.makeVList({positionType:"shift",positionData:-et,children:[{type:"elem",elem:Ee,marginRight:Mn}]},v);else throw new Error("supsub must have either sup or sub.");const Dr=Ch(ce,"right")||"mord";return ht.makeSpan([Dr],[ce,ht.makeSpan(["msupsub"],[Tn])],v)},mathmlBuilder(E,v){let k=!1,D,G;E.base&&E.base.type==="horizBrace"&&(G=!!E.sup,G===E.base.isOver&&(k=!0,D=E.base.isOver)),E.base&&(E.base.type==="op"||E.base.type==="operatorname")&&(E.base.parentIsSupSub=!0);const K=[gt(E.base,v)];E.sub&&K.push(gt(E.sub,v)),E.sup&&K.push(gt(E.sup,v));let ce;if(k)ce=D?"mover":"munder";else if(E.sub)if(E.sup){const Ee=E.base;Ee&&Ee.type==="op"&&Ee.limits&&v.style===Fe.DISPLAY||Ee&&Ee.type==="operatorname"&&Ee.alwaysHandleSupSub&&(v.style===Fe.DISPLAY||Ee.limits)?ce="munderover":ce="msubsup"}else{const Ee=E.base;Ee&&Ee.type==="op"&&Ee.limits&&(v.style===Fe.DISPLAY||Ee.alwaysHandleSupSub)||Ee&&Ee.type==="operatorname"&&Ee.alwaysHandleSupSub&&(Ee.limits||v.style===Fe.DISPLAY)?ce="munder":ce="msub"}else{const Ee=E.base;Ee&&Ee.type==="op"&&Ee.limits&&(v.style===Fe.DISPLAY||Ee.alwaysHandleSupSub)||Ee&&Ee.type==="operatorname"&&Ee.alwaysHandleSupSub&&(Ee.limits||v.style===Fe.DISPLAY)?ce="mover":ce="msup"}return new oe.MathNode(ce,K)}}),yc({type:"atom",htmlBuilder(E,v){return ht.mathsym(E.text,E.mode,v,["m"+E.family])},mathmlBuilder(E,v){const k=new oe.MathNode("mo",[Ae(E.text,E.mode)]);if(E.family==="bin"){const D=Ve(E,v);D==="bold-italic"&&k.setAttribute("mathvariant",D)}else E.family==="punct"?k.setAttribute("separator","true"):(E.family==="open"||E.family==="close")&&k.setAttribute("stretchy","false");return k}});const nv={mi:"italic",mn:"normal",mtext:"normal"};yc({type:"mathord",htmlBuilder(E,v){return ht.makeOrd(E,v,"mathord")},mathmlBuilder(E,v){const k=new oe.MathNode("mi",[Ae(E.text,E.mode,v)]),D=Ve(E,v)||"italic";return D!==nv[k.type]&&k.setAttribute("mathvariant",D),k}}),yc({type:"textord",htmlBuilder(E,v){return ht.makeOrd(E,v,"textord")},mathmlBuilder(E,v){const k=Ae(E.text,E.mode,v),D=Ve(E,v)||"normal";let G;return E.mode==="text"?G=new oe.MathNode("mtext",[k]):/[0-9]/.test(E.text)?G=new oe.MathNode("mn",[k]):E.text==="\\prime"?G=new oe.MathNode("mo",[k]):G=new oe.MathNode("mi",[k]),D!==nv[G.type]&&G.setAttribute("mathvariant",D),G}});const Td={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},If={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};yc({type:"spacing",htmlBuilder(E,v){if(If.hasOwnProperty(E.text)){const k=If[E.text].className||"";if(E.mode==="text"){const D=ht.makeOrd(E,v,"textord");return D.classes.push(k),D}else return ht.makeSpan(["mspace",k],[ht.mathsym(E.text,E.mode,v)],v)}else{if(Td.hasOwnProperty(E.text))return ht.makeSpan(["mspace",Td[E.text]],[],v);throw new s('Unknown type of space "'+E.text+'"')}},mathmlBuilder(E,v){let k;if(If.hasOwnProperty(E.text))k=new oe.MathNode("mtext",[new oe.TextNode(" ")]);else{if(Td.hasOwnProperty(E.text))return new oe.MathNode("mspace");throw new s('Unknown type of space "'+E.text+'"')}return k}});const Df=()=>{const E=new oe.MathNode("mtd",[]);return E.setAttribute("width","50%"),E};yc({type:"tag",mathmlBuilder(E,v){const k=new oe.MathNode("mtable",[new oe.MathNode("mtr",[Df(),new oe.MathNode("mtd",[vt(E.body,v)]),Df(),new oe.MathNode("mtd",[vt(E.tag,v)])])]);return k.setAttribute("width","100%"),k}});const Nf={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Oc={"\\textbf":"textbf","\\textmd":"textmd"},u0={"\\textit":"textit","\\textup":"textup"},kd=(E,v)=>{const k=E.font;if(k){if(Nf[k])return v.withTextFontFamily(Nf[k]);if(Oc[k])return v.withTextFontWeight(Oc[k]);if(k==="\\emph")return v.fontShape==="textit"?v.withTextFontShape("textup"):v.withTextFontShape("textit")}else return v;return v.withTextFontShape(u0[k])};vn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(E,v){let{parser:k,funcName:D}=E;const G=v[0];return{type:"text",mode:k.mode,body:zi(G),font:D}},htmlBuilder(E,v){const k=kd(E,v),D=Ss(E.body,k,!0);return ht.makeSpan(["mord","text"],D,k)},mathmlBuilder(E,v){const k=kd(E,v);return vt(E.body,k)}}),vn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(E,v){let{parser:k}=E;return{type:"underline",mode:k.mode,body:v[0]}},htmlBuilder(E,v){const k=Gr(E.body,v),D=ht.makeLineSpan("underline-line",v),G=v.fontMetrics().defaultRuleThickness,K=ht.makeVList({positionType:"top",positionData:k.height,children:[{type:"kern",size:G},{type:"elem",elem:D},{type:"kern",size:3*G},{type:"elem",elem:k}]},v);return ht.makeSpan(["mord","underline"],[K],v)},mathmlBuilder(E,v){const k=new oe.MathNode("mo",[new oe.TextNode("‾")]);k.setAttribute("stretchy","true");const D=new oe.MathNode("munder",[gt(E.body,v),k]);return D.setAttribute("accentunder","true"),D}}),vn({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(E,v){let{parser:k}=E;return{type:"vcenter",mode:k.mode,body:v[0]}},htmlBuilder(E,v){const k=Gr(E.body,v),D=v.fontMetrics().axisHeight,G=.5*(k.height-D-(k.depth+D));return ht.makeVList({positionType:"shift",positionData:G,children:[{type:"elem",elem:k}]},v)},mathmlBuilder(E,v){return new oe.MathNode("mpadded",[gt(E.body,v)],["vcenter"])}}),vn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(E,v,k){throw new s("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(E,v){const k=Pf(E),D=[],G=v.havingStyle(v.style.text());for(let K=0;KE.body.replace(/ /g,E.star?"␣":" ");var _d=Fo;const c0=`[ \r +-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class te{constructor(v){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=v,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(v){return T.contains(this.classes,v)}toNode(){const v=document.createDocumentFragment();for(let k=0;kk.toText();return this.children.map(v).join("")}}var de={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}};const we={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},We={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function Ke(E,v){de[E]=v}function xe(E,v,k){if(!de[v])throw new Error("Font metrics not found for font: "+v+".");let D=E.charCodeAt(0),G=de[v][D];if(!G&&E[0]in We&&(D=We[E[0]].charCodeAt(0),G=de[v][D]),!G&&k==="text"&&St(D)&&(G=de[v][77]),G)return{depth:G[0],height:G[1],italic:G[2],skew:G[3],width:G[4]}}const Qe={};function yt(E){let v;if(E>=5?v=0:E>=3?v=1:v=2,!Qe[v]){const k=Qe[v]={cssEmPerMu:we.quad[v]/18};for(const D in we)we.hasOwnProperty(D)&&(k[D]=we[D][v])}return Qe[v]}const Be=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Ne=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],rt=function(E,v){return v.size<2?E:Be[E-1][v.size-1]};class pt{constructor(v){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=v.style,this.color=v.color,this.size=v.size||pt.BASESIZE,this.textSize=v.textSize||this.size,this.phantom=!!v.phantom,this.font=v.font||"",this.fontFamily=v.fontFamily||"",this.fontWeight=v.fontWeight||"",this.fontShape=v.fontShape||"",this.sizeMultiplier=Ne[this.size-1],this.maxSize=v.maxSize,this.minRuleThickness=v.minRuleThickness,this._fontMetrics=void 0}extend(v){const k={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(const D in v)v.hasOwnProperty(D)&&(k[D]=v[D]);return new pt(k)}havingStyle(v){return this.style===v?this:this.extend({style:v,size:rt(this.textSize,v)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(v){return this.size===v&&this.textSize===v?this:this.extend({style:this.style.text(),size:v,textSize:v,sizeMultiplier:Ne[v-1]})}havingBaseStyle(v){v=v||this.style.text();const k=rt(pt.BASESIZE,v);return this.size===k&&this.textSize===pt.BASESIZE&&this.style===v?this:this.extend({style:v,size:k})}havingBaseSizing(){let v;switch(this.style.id){case 4:case 5:v=3;break;case 6:case 7:v=1;break;default:v=6}return this.extend({style:this.style.text(),size:v})}withColor(v){return this.extend({color:v})}withPhantom(){return this.extend({phantom:!0})}withFont(v){return this.extend({font:v})}withTextFontFamily(v){return this.extend({fontFamily:v,font:""})}withTextFontWeight(v){return this.extend({fontWeight:v,font:""})}withTextFontShape(v){return this.extend({fontShape:v,font:""})}sizingClasses(v){return v.size!==this.size?["sizing","reset-size"+v.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==pt.BASESIZE?["sizing","reset-size"+this.size,"size"+pt.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=yt(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}pt.BASESIZE=6;var Dt=pt;const Gt={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Pn={ex:!0,em:!0,mu:!0},Fn=function(E){return typeof E!="string"&&(E=E.unit),E in Gt||E in Pn||E==="ex"},kt=function(E,v){let k;if(E.unit in Gt)k=Gt[E.unit]/v.fontMetrics().ptPerEm/v.sizeMultiplier;else if(E.unit==="mu")k=v.fontMetrics().cssEmPerMu;else{let D;if(v.style.isTight()?D=v.havingStyle(v.style.text()):D=v,E.unit==="ex")k=D.fontMetrics().xHeight;else if(E.unit==="em")k=D.fontMetrics().quad;else throw new s("Invalid unit: '"+E.unit+"'");D!==v&&(k*=D.sizeMultiplier/v.sizeMultiplier)}return Math.min(E.number*k,v.maxSize)},ct=function(E){return+E.toFixed(4)+"em"},fn=function(E){return E.filter(v=>v).join(" ")},Rn=function(E,v,k){if(this.classes=E||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=k||{},v){v.style.isTight()&&this.classes.push("mtight");const D=v.getColor();D&&(this.style.color=D)}},Sr=function(E){const v=document.createElement(E);v.className=fn(this.classes);for(const k in this.style)this.style.hasOwnProperty(k)&&(v.style[k]=this.style[k]);for(const k in this.attributes)this.attributes.hasOwnProperty(k)&&v.setAttribute(k,this.attributes[k]);for(let k=0;k",v};class sr{constructor(v,k,D,G){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Rn.call(this,v,D,G),this.children=k||[]}setAttribute(v,k){this.attributes[v]=k}hasClass(v){return T.contains(this.classes,v)}toNode(){return Sr.call(this,"span")}toMarkup(){return ai.call(this,"span")}}class oi{constructor(v,k,D,G){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Rn.call(this,k,G),this.children=D||[],this.setAttribute("href",v)}setAttribute(v,k){this.attributes[v]=k}hasClass(v){return T.contains(this.classes,v)}toNode(){return Sr.call(this,"a")}toMarkup(){return ai.call(this,"a")}}class xr{constructor(v,k,D){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=k,this.src=v,this.classes=["mord"],this.style=D}hasClass(v){return T.contains(this.classes,v)}toNode(){const v=document.createElement("img");v.src=this.src,v.alt=this.alt,v.className="mord";for(const k in this.style)this.style.hasOwnProperty(k)&&(v.style[k]=this.style[k]);return v}toMarkup(){let v=''+T.escape(this.alt)+'0&&(k=document.createElement("span"),k.style.marginRight=ct(this.italic)),this.classes.length>0&&(k=k||document.createElement("span"),k.className=fn(this.classes));for(const D in this.style)this.style.hasOwnProperty(D)&&(k=k||document.createElement("span"),k.style[D]=this.style[D]);return k?(k.appendChild(v),k):v}toMarkup(){let v=!1,k="0&&(D+="margin-right:"+this.italic+"em;");for(const K in this.style)this.style.hasOwnProperty(K)&&(D+=T.hyphenate(K)+":"+this.style[K]+";");D&&(v=!0,k+=' style="'+T.escape(D)+'"');const G=T.escape(this.text);return v?(k+=">",k+=G,k+="",k):G}}class _r{constructor(v,k){this.children=void 0,this.attributes=void 0,this.children=v||[],this.attributes=k||{}}toNode(){const k=document.createElementNS("http://www.w3.org/2000/svg","svg");for(const D in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,D)&&k.setAttribute(D,this.attributes[D]);for(let D=0;D':''}}class jn{constructor(v){this.attributes=void 0,this.attributes=v||{}}toNode(){const k=document.createElementNS("http://www.w3.org/2000/svg","line");for(const D in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,D)&&k.setAttribute(D,this.attributes[D]);return k}toMarkup(){let v=" but got "+String(E)+".")}const is={bin:1,close:1,inner:1,open:1,punct:1,rel:1},ss={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Rs={math:{},text:{}};var at=Rs;function z(E,v,k,D,G,K){Rs[E][G]={font:v,group:k,replace:D},K&&D&&(Rs[E][D]=Rs[E][G])}const L="math",ve="text",X="main",be="ams",Rt="accent-token",At="bin",ot="close",Je="inner",ft="mathord",Mt="op-token",Yt="open",Nn="punct",Ce="rel",_t="spacing",Ue="textord";z(L,X,Ce,"≡","\\equiv",!0),z(L,X,Ce,"≺","\\prec",!0),z(L,X,Ce,"≻","\\succ",!0),z(L,X,Ce,"∼","\\sim",!0),z(L,X,Ce,"⊥","\\perp"),z(L,X,Ce,"⪯","\\preceq",!0),z(L,X,Ce,"⪰","\\succeq",!0),z(L,X,Ce,"≃","\\simeq",!0),z(L,X,Ce,"∣","\\mid",!0),z(L,X,Ce,"≪","\\ll",!0),z(L,X,Ce,"≫","\\gg",!0),z(L,X,Ce,"≍","\\asymp",!0),z(L,X,Ce,"∥","\\parallel"),z(L,X,Ce,"⋈","\\bowtie",!0),z(L,X,Ce,"⌣","\\smile",!0),z(L,X,Ce,"⊑","\\sqsubseteq",!0),z(L,X,Ce,"⊒","\\sqsupseteq",!0),z(L,X,Ce,"≐","\\doteq",!0),z(L,X,Ce,"⌢","\\frown",!0),z(L,X,Ce,"∋","\\ni",!0),z(L,X,Ce,"∝","\\propto",!0),z(L,X,Ce,"⊢","\\vdash",!0),z(L,X,Ce,"⊣","\\dashv",!0),z(L,X,Ce,"∋","\\owns"),z(L,X,Nn,".","\\ldotp"),z(L,X,Nn,"⋅","\\cdotp"),z(L,X,Ue,"#","\\#"),z(ve,X,Ue,"#","\\#"),z(L,X,Ue,"&","\\&"),z(ve,X,Ue,"&","\\&"),z(L,X,Ue,"ℵ","\\aleph",!0),z(L,X,Ue,"∀","\\forall",!0),z(L,X,Ue,"ℏ","\\hbar",!0),z(L,X,Ue,"∃","\\exists",!0),z(L,X,Ue,"∇","\\nabla",!0),z(L,X,Ue,"♭","\\flat",!0),z(L,X,Ue,"ℓ","\\ell",!0),z(L,X,Ue,"♮","\\natural",!0),z(L,X,Ue,"♣","\\clubsuit",!0),z(L,X,Ue,"℘","\\wp",!0),z(L,X,Ue,"♯","\\sharp",!0),z(L,X,Ue,"♢","\\diamondsuit",!0),z(L,X,Ue,"ℜ","\\Re",!0),z(L,X,Ue,"♡","\\heartsuit",!0),z(L,X,Ue,"ℑ","\\Im",!0),z(L,X,Ue,"♠","\\spadesuit",!0),z(L,X,Ue,"§","\\S",!0),z(ve,X,Ue,"§","\\S"),z(L,X,Ue,"¶","\\P",!0),z(ve,X,Ue,"¶","\\P"),z(L,X,Ue,"†","\\dag"),z(ve,X,Ue,"†","\\dag"),z(ve,X,Ue,"†","\\textdagger"),z(L,X,Ue,"‡","\\ddag"),z(ve,X,Ue,"‡","\\ddag"),z(ve,X,Ue,"‡","\\textdaggerdbl"),z(L,X,ot,"⎱","\\rmoustache",!0),z(L,X,Yt,"⎰","\\lmoustache",!0),z(L,X,ot,"⟯","\\rgroup",!0),z(L,X,Yt,"⟮","\\lgroup",!0),z(L,X,At,"∓","\\mp",!0),z(L,X,At,"⊖","\\ominus",!0),z(L,X,At,"⊎","\\uplus",!0),z(L,X,At,"⊓","\\sqcap",!0),z(L,X,At,"∗","\\ast"),z(L,X,At,"⊔","\\sqcup",!0),z(L,X,At,"◯","\\bigcirc",!0),z(L,X,At,"∙","\\bullet",!0),z(L,X,At,"‡","\\ddagger"),z(L,X,At,"≀","\\wr",!0),z(L,X,At,"⨿","\\amalg"),z(L,X,At,"&","\\And"),z(L,X,Ce,"⟵","\\longleftarrow",!0),z(L,X,Ce,"⇐","\\Leftarrow",!0),z(L,X,Ce,"⟸","\\Longleftarrow",!0),z(L,X,Ce,"⟶","\\longrightarrow",!0),z(L,X,Ce,"⇒","\\Rightarrow",!0),z(L,X,Ce,"⟹","\\Longrightarrow",!0),z(L,X,Ce,"↔","\\leftrightarrow",!0),z(L,X,Ce,"⟷","\\longleftrightarrow",!0),z(L,X,Ce,"⇔","\\Leftrightarrow",!0),z(L,X,Ce,"⟺","\\Longleftrightarrow",!0),z(L,X,Ce,"↦","\\mapsto",!0),z(L,X,Ce,"⟼","\\longmapsto",!0),z(L,X,Ce,"↗","\\nearrow",!0),z(L,X,Ce,"↩","\\hookleftarrow",!0),z(L,X,Ce,"↪","\\hookrightarrow",!0),z(L,X,Ce,"↘","\\searrow",!0),z(L,X,Ce,"↼","\\leftharpoonup",!0),z(L,X,Ce,"⇀","\\rightharpoonup",!0),z(L,X,Ce,"↙","\\swarrow",!0),z(L,X,Ce,"↽","\\leftharpoondown",!0),z(L,X,Ce,"⇁","\\rightharpoondown",!0),z(L,X,Ce,"↖","\\nwarrow",!0),z(L,X,Ce,"⇌","\\rightleftharpoons",!0),z(L,be,Ce,"≮","\\nless",!0),z(L,be,Ce,"","\\@nleqslant"),z(L,be,Ce,"","\\@nleqq"),z(L,be,Ce,"⪇","\\lneq",!0),z(L,be,Ce,"≨","\\lneqq",!0),z(L,be,Ce,"","\\@lvertneqq"),z(L,be,Ce,"⋦","\\lnsim",!0),z(L,be,Ce,"⪉","\\lnapprox",!0),z(L,be,Ce,"⊀","\\nprec",!0),z(L,be,Ce,"⋠","\\npreceq",!0),z(L,be,Ce,"⋨","\\precnsim",!0),z(L,be,Ce,"⪹","\\precnapprox",!0),z(L,be,Ce,"≁","\\nsim",!0),z(L,be,Ce,"","\\@nshortmid"),z(L,be,Ce,"∤","\\nmid",!0),z(L,be,Ce,"⊬","\\nvdash",!0),z(L,be,Ce,"⊭","\\nvDash",!0),z(L,be,Ce,"⋪","\\ntriangleleft"),z(L,be,Ce,"⋬","\\ntrianglelefteq",!0),z(L,be,Ce,"⊊","\\subsetneq",!0),z(L,be,Ce,"","\\@varsubsetneq"),z(L,be,Ce,"⫋","\\subsetneqq",!0),z(L,be,Ce,"","\\@varsubsetneqq"),z(L,be,Ce,"≯","\\ngtr",!0),z(L,be,Ce,"","\\@ngeqslant"),z(L,be,Ce,"","\\@ngeqq"),z(L,be,Ce,"⪈","\\gneq",!0),z(L,be,Ce,"≩","\\gneqq",!0),z(L,be,Ce,"","\\@gvertneqq"),z(L,be,Ce,"⋧","\\gnsim",!0),z(L,be,Ce,"⪊","\\gnapprox",!0),z(L,be,Ce,"⊁","\\nsucc",!0),z(L,be,Ce,"⋡","\\nsucceq",!0),z(L,be,Ce,"⋩","\\succnsim",!0),z(L,be,Ce,"⪺","\\succnapprox",!0),z(L,be,Ce,"≆","\\ncong",!0),z(L,be,Ce,"","\\@nshortparallel"),z(L,be,Ce,"∦","\\nparallel",!0),z(L,be,Ce,"⊯","\\nVDash",!0),z(L,be,Ce,"⋫","\\ntriangleright"),z(L,be,Ce,"⋭","\\ntrianglerighteq",!0),z(L,be,Ce,"","\\@nsupseteqq"),z(L,be,Ce,"⊋","\\supsetneq",!0),z(L,be,Ce,"","\\@varsupsetneq"),z(L,be,Ce,"⫌","\\supsetneqq",!0),z(L,be,Ce,"","\\@varsupsetneqq"),z(L,be,Ce,"⊮","\\nVdash",!0),z(L,be,Ce,"⪵","\\precneqq",!0),z(L,be,Ce,"⪶","\\succneqq",!0),z(L,be,Ce,"","\\@nsubseteqq"),z(L,be,At,"⊴","\\unlhd"),z(L,be,At,"⊵","\\unrhd"),z(L,be,Ce,"↚","\\nleftarrow",!0),z(L,be,Ce,"↛","\\nrightarrow",!0),z(L,be,Ce,"⇍","\\nLeftarrow",!0),z(L,be,Ce,"⇏","\\nRightarrow",!0),z(L,be,Ce,"↮","\\nleftrightarrow",!0),z(L,be,Ce,"⇎","\\nLeftrightarrow",!0),z(L,be,Ce,"△","\\vartriangle"),z(L,be,Ue,"ℏ","\\hslash"),z(L,be,Ue,"▽","\\triangledown"),z(L,be,Ue,"◊","\\lozenge"),z(L,be,Ue,"Ⓢ","\\circledS"),z(L,be,Ue,"®","\\circledR"),z(ve,be,Ue,"®","\\circledR"),z(L,be,Ue,"∡","\\measuredangle",!0),z(L,be,Ue,"∄","\\nexists"),z(L,be,Ue,"℧","\\mho"),z(L,be,Ue,"Ⅎ","\\Finv",!0),z(L,be,Ue,"⅁","\\Game",!0),z(L,be,Ue,"‵","\\backprime"),z(L,be,Ue,"▲","\\blacktriangle"),z(L,be,Ue,"▼","\\blacktriangledown"),z(L,be,Ue,"■","\\blacksquare"),z(L,be,Ue,"⧫","\\blacklozenge"),z(L,be,Ue,"★","\\bigstar"),z(L,be,Ue,"∢","\\sphericalangle",!0),z(L,be,Ue,"∁","\\complement",!0),z(L,be,Ue,"ð","\\eth",!0),z(ve,X,Ue,"ð","ð"),z(L,be,Ue,"╱","\\diagup"),z(L,be,Ue,"╲","\\diagdown"),z(L,be,Ue,"□","\\square"),z(L,be,Ue,"□","\\Box"),z(L,be,Ue,"◊","\\Diamond"),z(L,be,Ue,"¥","\\yen",!0),z(ve,be,Ue,"¥","\\yen",!0),z(L,be,Ue,"✓","\\checkmark",!0),z(ve,be,Ue,"✓","\\checkmark"),z(L,be,Ue,"ℶ","\\beth",!0),z(L,be,Ue,"ℸ","\\daleth",!0),z(L,be,Ue,"ℷ","\\gimel",!0),z(L,be,Ue,"ϝ","\\digamma",!0),z(L,be,Ue,"ϰ","\\varkappa"),z(L,be,Yt,"┌","\\@ulcorner",!0),z(L,be,ot,"┐","\\@urcorner",!0),z(L,be,Yt,"└","\\@llcorner",!0),z(L,be,ot,"┘","\\@lrcorner",!0),z(L,be,Ce,"≦","\\leqq",!0),z(L,be,Ce,"⩽","\\leqslant",!0),z(L,be,Ce,"⪕","\\eqslantless",!0),z(L,be,Ce,"≲","\\lesssim",!0),z(L,be,Ce,"⪅","\\lessapprox",!0),z(L,be,Ce,"≊","\\approxeq",!0),z(L,be,At,"⋖","\\lessdot"),z(L,be,Ce,"⋘","\\lll",!0),z(L,be,Ce,"≶","\\lessgtr",!0),z(L,be,Ce,"⋚","\\lesseqgtr",!0),z(L,be,Ce,"⪋","\\lesseqqgtr",!0),z(L,be,Ce,"≑","\\doteqdot"),z(L,be,Ce,"≓","\\risingdotseq",!0),z(L,be,Ce,"≒","\\fallingdotseq",!0),z(L,be,Ce,"∽","\\backsim",!0),z(L,be,Ce,"⋍","\\backsimeq",!0),z(L,be,Ce,"⫅","\\subseteqq",!0),z(L,be,Ce,"⋐","\\Subset",!0),z(L,be,Ce,"⊏","\\sqsubset",!0),z(L,be,Ce,"≼","\\preccurlyeq",!0),z(L,be,Ce,"⋞","\\curlyeqprec",!0),z(L,be,Ce,"≾","\\precsim",!0),z(L,be,Ce,"⪷","\\precapprox",!0),z(L,be,Ce,"⊲","\\vartriangleleft"),z(L,be,Ce,"⊴","\\trianglelefteq"),z(L,be,Ce,"⊨","\\vDash",!0),z(L,be,Ce,"⊪","\\Vvdash",!0),z(L,be,Ce,"⌣","\\smallsmile"),z(L,be,Ce,"⌢","\\smallfrown"),z(L,be,Ce,"≏","\\bumpeq",!0),z(L,be,Ce,"≎","\\Bumpeq",!0),z(L,be,Ce,"≧","\\geqq",!0),z(L,be,Ce,"⩾","\\geqslant",!0),z(L,be,Ce,"⪖","\\eqslantgtr",!0),z(L,be,Ce,"≳","\\gtrsim",!0),z(L,be,Ce,"⪆","\\gtrapprox",!0),z(L,be,At,"⋗","\\gtrdot"),z(L,be,Ce,"⋙","\\ggg",!0),z(L,be,Ce,"≷","\\gtrless",!0),z(L,be,Ce,"⋛","\\gtreqless",!0),z(L,be,Ce,"⪌","\\gtreqqless",!0),z(L,be,Ce,"≖","\\eqcirc",!0),z(L,be,Ce,"≗","\\circeq",!0),z(L,be,Ce,"≜","\\triangleq",!0),z(L,be,Ce,"∼","\\thicksim"),z(L,be,Ce,"≈","\\thickapprox"),z(L,be,Ce,"⫆","\\supseteqq",!0),z(L,be,Ce,"⋑","\\Supset",!0),z(L,be,Ce,"⊐","\\sqsupset",!0),z(L,be,Ce,"≽","\\succcurlyeq",!0),z(L,be,Ce,"⋟","\\curlyeqsucc",!0),z(L,be,Ce,"≿","\\succsim",!0),z(L,be,Ce,"⪸","\\succapprox",!0),z(L,be,Ce,"⊳","\\vartriangleright"),z(L,be,Ce,"⊵","\\trianglerighteq"),z(L,be,Ce,"⊩","\\Vdash",!0),z(L,be,Ce,"∣","\\shortmid"),z(L,be,Ce,"∥","\\shortparallel"),z(L,be,Ce,"≬","\\between",!0),z(L,be,Ce,"⋔","\\pitchfork",!0),z(L,be,Ce,"∝","\\varpropto"),z(L,be,Ce,"◀","\\blacktriangleleft"),z(L,be,Ce,"∴","\\therefore",!0),z(L,be,Ce,"∍","\\backepsilon"),z(L,be,Ce,"▶","\\blacktriangleright"),z(L,be,Ce,"∵","\\because",!0),z(L,be,Ce,"⋘","\\llless"),z(L,be,Ce,"⋙","\\gggtr"),z(L,be,At,"⊲","\\lhd"),z(L,be,At,"⊳","\\rhd"),z(L,be,Ce,"≂","\\eqsim",!0),z(L,X,Ce,"⋈","\\Join"),z(L,be,Ce,"≑","\\Doteq",!0),z(L,be,At,"∔","\\dotplus",!0),z(L,be,At,"∖","\\smallsetminus"),z(L,be,At,"⋒","\\Cap",!0),z(L,be,At,"⋓","\\Cup",!0),z(L,be,At,"⩞","\\doublebarwedge",!0),z(L,be,At,"⊟","\\boxminus",!0),z(L,be,At,"⊞","\\boxplus",!0),z(L,be,At,"⋇","\\divideontimes",!0),z(L,be,At,"⋉","\\ltimes",!0),z(L,be,At,"⋊","\\rtimes",!0),z(L,be,At,"⋋","\\leftthreetimes",!0),z(L,be,At,"⋌","\\rightthreetimes",!0),z(L,be,At,"⋏","\\curlywedge",!0),z(L,be,At,"⋎","\\curlyvee",!0),z(L,be,At,"⊝","\\circleddash",!0),z(L,be,At,"⊛","\\circledast",!0),z(L,be,At,"⋅","\\centerdot"),z(L,be,At,"⊺","\\intercal",!0),z(L,be,At,"⋒","\\doublecap"),z(L,be,At,"⋓","\\doublecup"),z(L,be,At,"⊠","\\boxtimes",!0),z(L,be,Ce,"⇢","\\dashrightarrow",!0),z(L,be,Ce,"⇠","\\dashleftarrow",!0),z(L,be,Ce,"⇇","\\leftleftarrows",!0),z(L,be,Ce,"⇆","\\leftrightarrows",!0),z(L,be,Ce,"⇚","\\Lleftarrow",!0),z(L,be,Ce,"↞","\\twoheadleftarrow",!0),z(L,be,Ce,"↢","\\leftarrowtail",!0),z(L,be,Ce,"↫","\\looparrowleft",!0),z(L,be,Ce,"⇋","\\leftrightharpoons",!0),z(L,be,Ce,"↶","\\curvearrowleft",!0),z(L,be,Ce,"↺","\\circlearrowleft",!0),z(L,be,Ce,"↰","\\Lsh",!0),z(L,be,Ce,"⇈","\\upuparrows",!0),z(L,be,Ce,"↿","\\upharpoonleft",!0),z(L,be,Ce,"⇃","\\downharpoonleft",!0),z(L,X,Ce,"⊶","\\origof",!0),z(L,X,Ce,"⊷","\\imageof",!0),z(L,be,Ce,"⊸","\\multimap",!0),z(L,be,Ce,"↭","\\leftrightsquigarrow",!0),z(L,be,Ce,"⇉","\\rightrightarrows",!0),z(L,be,Ce,"⇄","\\rightleftarrows",!0),z(L,be,Ce,"↠","\\twoheadrightarrow",!0),z(L,be,Ce,"↣","\\rightarrowtail",!0),z(L,be,Ce,"↬","\\looparrowright",!0),z(L,be,Ce,"↷","\\curvearrowright",!0),z(L,be,Ce,"↻","\\circlearrowright",!0),z(L,be,Ce,"↱","\\Rsh",!0),z(L,be,Ce,"⇊","\\downdownarrows",!0),z(L,be,Ce,"↾","\\upharpoonright",!0),z(L,be,Ce,"⇂","\\downharpoonright",!0),z(L,be,Ce,"⇝","\\rightsquigarrow",!0),z(L,be,Ce,"⇝","\\leadsto"),z(L,be,Ce,"⇛","\\Rrightarrow",!0),z(L,be,Ce,"↾","\\restriction"),z(L,X,Ue,"‘","`"),z(L,X,Ue,"$","\\$"),z(ve,X,Ue,"$","\\$"),z(ve,X,Ue,"$","\\textdollar"),z(L,X,Ue,"%","\\%"),z(ve,X,Ue,"%","\\%"),z(L,X,Ue,"_","\\_"),z(ve,X,Ue,"_","\\_"),z(ve,X,Ue,"_","\\textunderscore"),z(L,X,Ue,"∠","\\angle",!0),z(L,X,Ue,"∞","\\infty",!0),z(L,X,Ue,"′","\\prime"),z(L,X,Ue,"△","\\triangle"),z(L,X,Ue,"Γ","\\Gamma",!0),z(L,X,Ue,"Δ","\\Delta",!0),z(L,X,Ue,"Θ","\\Theta",!0),z(L,X,Ue,"Λ","\\Lambda",!0),z(L,X,Ue,"Ξ","\\Xi",!0),z(L,X,Ue,"Π","\\Pi",!0),z(L,X,Ue,"Σ","\\Sigma",!0),z(L,X,Ue,"Υ","\\Upsilon",!0),z(L,X,Ue,"Φ","\\Phi",!0),z(L,X,Ue,"Ψ","\\Psi",!0),z(L,X,Ue,"Ω","\\Omega",!0),z(L,X,Ue,"A","Α"),z(L,X,Ue,"B","Β"),z(L,X,Ue,"E","Ε"),z(L,X,Ue,"Z","Ζ"),z(L,X,Ue,"H","Η"),z(L,X,Ue,"I","Ι"),z(L,X,Ue,"K","Κ"),z(L,X,Ue,"M","Μ"),z(L,X,Ue,"N","Ν"),z(L,X,Ue,"O","Ο"),z(L,X,Ue,"P","Ρ"),z(L,X,Ue,"T","Τ"),z(L,X,Ue,"X","Χ"),z(L,X,Ue,"¬","\\neg",!0),z(L,X,Ue,"¬","\\lnot"),z(L,X,Ue,"⊤","\\top"),z(L,X,Ue,"⊥","\\bot"),z(L,X,Ue,"∅","\\emptyset"),z(L,be,Ue,"∅","\\varnothing"),z(L,X,ft,"α","\\alpha",!0),z(L,X,ft,"β","\\beta",!0),z(L,X,ft,"γ","\\gamma",!0),z(L,X,ft,"δ","\\delta",!0),z(L,X,ft,"ϵ","\\epsilon",!0),z(L,X,ft,"ζ","\\zeta",!0),z(L,X,ft,"η","\\eta",!0),z(L,X,ft,"θ","\\theta",!0),z(L,X,ft,"ι","\\iota",!0),z(L,X,ft,"κ","\\kappa",!0),z(L,X,ft,"λ","\\lambda",!0),z(L,X,ft,"μ","\\mu",!0),z(L,X,ft,"ν","\\nu",!0),z(L,X,ft,"ξ","\\xi",!0),z(L,X,ft,"ο","\\omicron",!0),z(L,X,ft,"π","\\pi",!0),z(L,X,ft,"ρ","\\rho",!0),z(L,X,ft,"σ","\\sigma",!0),z(L,X,ft,"τ","\\tau",!0),z(L,X,ft,"υ","\\upsilon",!0),z(L,X,ft,"ϕ","\\phi",!0),z(L,X,ft,"χ","\\chi",!0),z(L,X,ft,"ψ","\\psi",!0),z(L,X,ft,"ω","\\omega",!0),z(L,X,ft,"ε","\\varepsilon",!0),z(L,X,ft,"ϑ","\\vartheta",!0),z(L,X,ft,"ϖ","\\varpi",!0),z(L,X,ft,"ϱ","\\varrho",!0),z(L,X,ft,"ς","\\varsigma",!0),z(L,X,ft,"φ","\\varphi",!0),z(L,X,At,"∗","*",!0),z(L,X,At,"+","+"),z(L,X,At,"−","-",!0),z(L,X,At,"⋅","\\cdot",!0),z(L,X,At,"∘","\\circ",!0),z(L,X,At,"÷","\\div",!0),z(L,X,At,"±","\\pm",!0),z(L,X,At,"×","\\times",!0),z(L,X,At,"∩","\\cap",!0),z(L,X,At,"∪","\\cup",!0),z(L,X,At,"∖","\\setminus",!0),z(L,X,At,"∧","\\land"),z(L,X,At,"∨","\\lor"),z(L,X,At,"∧","\\wedge",!0),z(L,X,At,"∨","\\vee",!0),z(L,X,Ue,"√","\\surd"),z(L,X,Yt,"⟨","\\langle",!0),z(L,X,Yt,"∣","\\lvert"),z(L,X,Yt,"∥","\\lVert"),z(L,X,ot,"?","?"),z(L,X,ot,"!","!"),z(L,X,ot,"⟩","\\rangle",!0),z(L,X,ot,"∣","\\rvert"),z(L,X,ot,"∥","\\rVert"),z(L,X,Ce,"=","="),z(L,X,Ce,":",":"),z(L,X,Ce,"≈","\\approx",!0),z(L,X,Ce,"≅","\\cong",!0),z(L,X,Ce,"≥","\\ge"),z(L,X,Ce,"≥","\\geq",!0),z(L,X,Ce,"←","\\gets"),z(L,X,Ce,">","\\gt",!0),z(L,X,Ce,"∈","\\in",!0),z(L,X,Ce,"","\\@not"),z(L,X,Ce,"⊂","\\subset",!0),z(L,X,Ce,"⊃","\\supset",!0),z(L,X,Ce,"⊆","\\subseteq",!0),z(L,X,Ce,"⊇","\\supseteq",!0),z(L,be,Ce,"⊈","\\nsubseteq",!0),z(L,be,Ce,"⊉","\\nsupseteq",!0),z(L,X,Ce,"⊨","\\models"),z(L,X,Ce,"←","\\leftarrow",!0),z(L,X,Ce,"≤","\\le"),z(L,X,Ce,"≤","\\leq",!0),z(L,X,Ce,"<","\\lt",!0),z(L,X,Ce,"→","\\rightarrow",!0),z(L,X,Ce,"→","\\to"),z(L,be,Ce,"≱","\\ngeq",!0),z(L,be,Ce,"≰","\\nleq",!0),z(L,X,_t," ","\\ "),z(L,X,_t," ","\\space"),z(L,X,_t," ","\\nobreakspace"),z(ve,X,_t," ","\\ "),z(ve,X,_t," "," "),z(ve,X,_t," ","\\space"),z(ve,X,_t," ","\\nobreakspace"),z(L,X,_t,null,"\\nobreak"),z(L,X,_t,null,"\\allowbreak"),z(L,X,Nn,",",","),z(L,X,Nn,";",";"),z(L,be,At,"⊼","\\barwedge",!0),z(L,be,At,"⊻","\\veebar",!0),z(L,X,At,"⊙","\\odot",!0),z(L,X,At,"⊕","\\oplus",!0),z(L,X,At,"⊗","\\otimes",!0),z(L,X,Ue,"∂","\\partial",!0),z(L,X,At,"⊘","\\oslash",!0),z(L,be,At,"⊚","\\circledcirc",!0),z(L,be,At,"⊡","\\boxdot",!0),z(L,X,At,"△","\\bigtriangleup"),z(L,X,At,"▽","\\bigtriangledown"),z(L,X,At,"†","\\dagger"),z(L,X,At,"⋄","\\diamond"),z(L,X,At,"⋆","\\star"),z(L,X,At,"◃","\\triangleleft"),z(L,X,At,"▹","\\triangleright"),z(L,X,Yt,"{","\\{"),z(ve,X,Ue,"{","\\{"),z(ve,X,Ue,"{","\\textbraceleft"),z(L,X,ot,"}","\\}"),z(ve,X,Ue,"}","\\}"),z(ve,X,Ue,"}","\\textbraceright"),z(L,X,Yt,"{","\\lbrace"),z(L,X,ot,"}","\\rbrace"),z(L,X,Yt,"[","\\lbrack",!0),z(ve,X,Ue,"[","\\lbrack",!0),z(L,X,ot,"]","\\rbrack",!0),z(ve,X,Ue,"]","\\rbrack",!0),z(L,X,Yt,"(","\\lparen",!0),z(L,X,ot,")","\\rparen",!0),z(ve,X,Ue,"<","\\textless",!0),z(ve,X,Ue,">","\\textgreater",!0),z(L,X,Yt,"⌊","\\lfloor",!0),z(L,X,ot,"⌋","\\rfloor",!0),z(L,X,Yt,"⌈","\\lceil",!0),z(L,X,ot,"⌉","\\rceil",!0),z(L,X,Ue,"\\","\\backslash"),z(L,X,Ue,"∣","|"),z(L,X,Ue,"∣","\\vert"),z(ve,X,Ue,"|","\\textbar",!0),z(L,X,Ue,"∥","\\|"),z(L,X,Ue,"∥","\\Vert"),z(ve,X,Ue,"∥","\\textbardbl"),z(ve,X,Ue,"~","\\textasciitilde"),z(ve,X,Ue,"\\","\\textbackslash"),z(ve,X,Ue,"^","\\textasciicircum"),z(L,X,Ce,"↑","\\uparrow",!0),z(L,X,Ce,"⇑","\\Uparrow",!0),z(L,X,Ce,"↓","\\downarrow",!0),z(L,X,Ce,"⇓","\\Downarrow",!0),z(L,X,Ce,"↕","\\updownarrow",!0),z(L,X,Ce,"⇕","\\Updownarrow",!0),z(L,X,Mt,"∐","\\coprod"),z(L,X,Mt,"⋁","\\bigvee"),z(L,X,Mt,"⋀","\\bigwedge"),z(L,X,Mt,"⨄","\\biguplus"),z(L,X,Mt,"⋂","\\bigcap"),z(L,X,Mt,"⋃","\\bigcup"),z(L,X,Mt,"∫","\\int"),z(L,X,Mt,"∫","\\intop"),z(L,X,Mt,"∬","\\iint"),z(L,X,Mt,"∭","\\iiint"),z(L,X,Mt,"∏","\\prod"),z(L,X,Mt,"∑","\\sum"),z(L,X,Mt,"⨂","\\bigotimes"),z(L,X,Mt,"⨁","\\bigoplus"),z(L,X,Mt,"⨀","\\bigodot"),z(L,X,Mt,"∮","\\oint"),z(L,X,Mt,"∯","\\oiint"),z(L,X,Mt,"∰","\\oiiint"),z(L,X,Mt,"⨆","\\bigsqcup"),z(L,X,Mt,"∫","\\smallint"),z(ve,X,Je,"…","\\textellipsis"),z(L,X,Je,"…","\\mathellipsis"),z(ve,X,Je,"…","\\ldots",!0),z(L,X,Je,"…","\\ldots",!0),z(L,X,Je,"⋯","\\@cdots",!0),z(L,X,Je,"⋱","\\ddots",!0),z(L,X,Ue,"⋮","\\varvdots"),z(L,X,Rt,"ˊ","\\acute"),z(L,X,Rt,"ˋ","\\grave"),z(L,X,Rt,"¨","\\ddot"),z(L,X,Rt,"~","\\tilde"),z(L,X,Rt,"ˉ","\\bar"),z(L,X,Rt,"˘","\\breve"),z(L,X,Rt,"ˇ","\\check"),z(L,X,Rt,"^","\\hat"),z(L,X,Rt,"⃗","\\vec"),z(L,X,Rt,"˙","\\dot"),z(L,X,Rt,"˚","\\mathring"),z(L,X,ft,"","\\@imath"),z(L,X,ft,"","\\@jmath"),z(L,X,Ue,"ı","ı"),z(L,X,Ue,"ȷ","ȷ"),z(ve,X,Ue,"ı","\\i",!0),z(ve,X,Ue,"ȷ","\\j",!0),z(ve,X,Ue,"ß","\\ss",!0),z(ve,X,Ue,"æ","\\ae",!0),z(ve,X,Ue,"œ","\\oe",!0),z(ve,X,Ue,"ø","\\o",!0),z(ve,X,Ue,"Æ","\\AE",!0),z(ve,X,Ue,"Œ","\\OE",!0),z(ve,X,Ue,"Ø","\\O",!0),z(ve,X,Rt,"ˊ","\\'"),z(ve,X,Rt,"ˋ","\\`"),z(ve,X,Rt,"ˆ","\\^"),z(ve,X,Rt,"˜","\\~"),z(ve,X,Rt,"ˉ","\\="),z(ve,X,Rt,"˘","\\u"),z(ve,X,Rt,"˙","\\."),z(ve,X,Rt,"¸","\\c"),z(ve,X,Rt,"˚","\\r"),z(ve,X,Rt,"ˇ","\\v"),z(ve,X,Rt,"¨",'\\"'),z(ve,X,Rt,"˝","\\H"),z(ve,X,Rt,"◯","\\textcircled");const Mi={"--":!0,"---":!0,"``":!0,"''":!0};z(ve,X,Ue,"–","--",!0),z(ve,X,Ue,"–","\\textendash"),z(ve,X,Ue,"—","---",!0),z(ve,X,Ue,"—","\\textemdash"),z(ve,X,Ue,"‘","`",!0),z(ve,X,Ue,"‘","\\textquoteleft"),z(ve,X,Ue,"’","'",!0),z(ve,X,Ue,"’","\\textquoteright"),z(ve,X,Ue,"“","``",!0),z(ve,X,Ue,"“","\\textquotedblleft"),z(ve,X,Ue,"”","''",!0),z(ve,X,Ue,"”","\\textquotedblright"),z(L,X,Ue,"°","\\degree",!0),z(ve,X,Ue,"°","\\degree"),z(ve,X,Ue,"°","\\textdegree",!0),z(L,X,Ue,"£","\\pounds"),z(L,X,Ue,"£","\\mathsterling",!0),z(ve,X,Ue,"£","\\pounds"),z(ve,X,Ue,"£","\\textsterling",!0),z(L,be,Ue,"✠","\\maltese"),z(ve,be,Ue,"✠","\\maltese");const Jn='0123456789/@."';for(let E=0;E0)return os(G,Pe,D,v,K.concat(Ge));if(Ee){let et,lt;if(Ee==="boldsymbol"){const Tt=Bi(G,D,v,K,k);et=Tt.fontName,lt=[Tt.fontClass]}else ce?(et=eo[Ee].fontName,lt=[Ee]):(et=ka(Ee,v.fontWeight,v.fontShape),lt=[Ee,v.fontWeight,v.fontShape]);if(qs(G,et,D).metrics)return os(G,et,D,v,K.concat(lt));if(Mi.hasOwnProperty(G)&&et.slice(0,10)==="Typewriter"){const Tt=[];for(let an=0;an{if(fn(E.classes)!==fn(v.classes)||E.skew!==v.skew||E.maxFontSize!==v.maxFontSize)return!1;if(E.classes.length===1){const k=E.classes[0];if(k==="mbin"||k==="mord")return!1}for(const k in E.style)if(E.style.hasOwnProperty(k)&&E.style[k]!==v.style[k])return!1;for(const k in v.style)if(v.style.hasOwnProperty(k)&&E.style[k]!==v.style[k])return!1;return!0},Ja=E=>{for(let v=0;vv&&(v=K.height),K.depth>k&&(k=K.depth),K.maxFontSize>D&&(D=K.maxFontSize)}E.height=v,E.depth=k,E.maxFontSize=D},Oe=function(E,v,k,D){const G=new sr(E,v,k,D);return vd(G),G},Ui=(E,v,k,D)=>new sr(E,v,k,D),gi=function(E,v,k){const D=Oe([E],[],v);return D.height=Math.max(k||v.fontMetrics().defaultRuleThickness,v.minRuleThickness),D.style.borderBottomWidth=ct(D.height),D.maxFontSize=1,D},xa=function(E,v,k,D){const G=new oi(E,v,k,D);return vd(G),G},Ba=function(E){const v=new te(E);return vd(v),v},tl=function(E,v){return E instanceof te?Oe([],[E],v):E},Ta=function(E){if(E.positionType==="individualShift"){const k=E.children,D=[k[0]],G=-k[0].shift-k[0].elem.depth;let K=G;for(let ce=1;ce{const k=Oe(["mspace"],[],v),D=kt(E,v);return k.style.marginRight=ct(D),k},ka=function(E,v,k){let D="";switch(E){case"amsrm":D="AMS";break;case"textrm":D="Main";break;case"textsf":D="SansSerif";break;case"texttt":D="Typewriter";break;default:D=E}let G;return v==="textbf"&&k==="textit"?G="BoldItalic":v==="textbf"?G="Bold":v==="textit"?G="Italic":G="Regular",D+"-"+G},eo={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},_a={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]};var ht={fontMap:eo,makeSymbol:os,mathsym:yr,makeSpan:Oe,makeSvgSpan:Ui,makeLineSpan:gi,makeAnchor:xa,makeFragment:Ba,wrapFragment:tl,makeVList:Tl,makeOrd:ga,makeGlue:Ua,staticSvg:function(E,v){const[k,D,G]=_a[E],K=new Qr(k),ce=new _r([K],{width:ct(D),height:ct(G),style:"width:"+ct(D),viewBox:"0 0 "+1e3*D+" "+1e3*G,preserveAspectRatio:"xMinYMin"}),Ee=Ui(["overlay"],[ce],v);return Ee.height=G,Ee.style.height=ct(G),Ee.style.width=ct(D),Ee},svgData:_a,tryCombineChars:Ja};const Vr={number:3,unit:"mu"},nl={number:4,unit:"mu"},rl={number:5,unit:"mu"},Wp={mord:{mop:Vr,mbin:nl,mrel:rl,minner:Vr},mop:{mord:Vr,mop:Vr,mrel:rl,minner:Vr},mbin:{mord:nl,mop:nl,mopen:nl,minner:nl},mrel:{mord:rl,mop:rl,mopen:rl,minner:rl},mopen:{},mclose:{mop:Vr,mbin:nl,mrel:rl,minner:Vr},mpunct:{mord:Vr,mop:Vr,mrel:rl,mopen:Vr,mclose:Vr,mpunct:Vr,minner:Vr},minner:{mord:Vr,mop:Vr,mbin:nl,mrel:rl,mopen:Vr,mpunct:Vr,minner:Vr}},_h={mord:{mop:Vr},mop:{mord:Vr,mop:Vr},mbin:{},mrel:{},mopen:{},mclose:{mop:Vr},mpunct:{},minner:{mop:Vr}},Fo={},Cu={},il={};function vn(E){let{type:v,names:k,props:D,handler:G,htmlBuilder:K,mathmlBuilder:ce}=E;const Ee={type:v,numArgs:D.numArgs,argTypes:D.argTypes,allowedInArgument:!!D.allowedInArgument,allowedInText:!!D.allowedInText,allowedInMath:D.allowedInMath===void 0?!0:D.allowedInMath,numOptionalArgs:D.numOptionalArgs||0,infix:!!D.infix,primitive:!!D.primitive,handler:G};for(let Pe=0;Pe{const lt=et.classes[0],Tt=Ge.classes[0];lt==="mbin"&&T.contains(Cm,Tt)?et.classes[0]="mord":Tt==="mbin"&&T.contains(Qp,lt)&&(Ge.classes[0]="mord")},{node:ce},Ee,Pe),Ah(G,(Ge,et)=>{const lt=Ch(et),Tt=Ch(Ge),an=lt&&Tt?Ge.hasClass("mtight")?_h[lt][Tt]:Wp[lt][Tt]:null;if(an)return ht.makeGlue(an,K)},{node:ce},Ee,Pe),G},Ah=function(E,v,k,D,G){D&&E.push(D);let K=0;for(;Ket=>{E.splice(Ge+1,0,et),K++})(K)}D&&E.pop()},Ri=function(E){return E instanceof te||E instanceof oi||E instanceof sr&&E.hasClass("enclosing")?E:null},Ti=function(E,v){const k=Ri(E);if(k){const D=k.children;if(D.length){if(v==="right")return Ti(D[D.length-1],"right");if(v==="left")return Ti(D[0],"left")}}return E},Ch=function(E,v){return E?(v&&(E=Ti(E,v)),Im[E.classes[0]]||null):null},Ru=function(E,v){const k=["nulldelimiter"].concat(E.baseSizingClasses());return Kl(v.concat(k))},Gr=function(E,v,k){if(!E)return Kl();if(Cu[E.type]){let D=Cu[E.type](E,v);if(k&&v.size!==k.size){D=Kl(v.sizingClasses(k),[D],v);const G=v.sizeMultiplier/k.sizeMultiplier;D.height*=G,D.depth*=G}return D}else throw new s("Got group of unknown type: '"+E.type+"'")};function R(E,v){const k=Kl(["base"],E,v),D=Kl(["strut"]);return D.style.height=ct(k.height+k.depth),k.depth&&(D.style.verticalAlign=ct(-k.depth)),k.children.unshift(D),k}function N(E,v){let k=null;E.length===1&&E[0].type==="tag"&&(k=E[0].tag,E=E[0].body);const D=Ss(E,v,"root");let G;D.length===2&&D[1].hasClass("tag")&&(G=D.pop());const K=[];let ce=[];for(let Ge=0;Ge0&&(K.push(R(ce,v)),ce=[]),K.push(D[Ge]));ce.length>0&&K.push(R(ce,v));let Ee;k?(Ee=R(Ss(k,v,!0)),Ee.classes=["tag"],K.push(Ee)):G&&K.push(G);const Pe=Kl(["katex-html"],K);if(Pe.setAttribute("aria-hidden","true"),Ee){const Ge=Ee.children[0];Ge.style.height=ct(Pe.height+Pe.depth),Pe.depth&&(Ge.style.verticalAlign=ct(-Pe.depth))}return Pe}function H(E){return new te(E)}class Q{constructor(v,k,D){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=v,this.attributes={},this.children=k||[],this.classes=D||[]}setAttribute(v,k){this.attributes[v]=k}getAttribute(v){return this.attributes[v]}toNode(){const v=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(const k in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,k)&&v.setAttribute(k,this.attributes[k]);this.classes.length>0&&(v.className=fn(this.classes));for(let k=0;k0&&(v+=' class ="'+T.escape(fn(this.classes))+'"'),v+=">";for(let k=0;k",v}toText(){return this.children.map(v=>v.toText()).join("")}}class ee{constructor(v){this.text=void 0,this.text=v}toNode(){return document.createTextNode(this.text)}toMarkup(){return T.escape(this.toText())}toText(){return this.text}}class J{constructor(v){this.width=void 0,this.character=void 0,this.width=v,v>=.05555&&v<=.05556?this.character=" ":v>=.1666&&v<=.1667?this.character=" ":v>=.2222&&v<=.2223?this.character=" ":v>=.2777&&v<=.2778?this.character="  ":v>=-.05556&&v<=-.05555?this.character=" ⁣":v>=-.1667&&v<=-.1666?this.character=" ⁣":v>=-.2223&&v<=-.2222?this.character=" ⁣":v>=-.2778&&v<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);{const v=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return v.setAttribute("width",ct(this.width)),v}}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var oe={MathNode:Q,TextNode:ee,SpaceNode:J,newDocumentFragment:H};const Ae=function(E,v,k){return at[v][E]&&at[v][E].replace&&E.charCodeAt(0)!==55349&&!(Mi.hasOwnProperty(E)&&k&&(k.fontFamily&&k.fontFamily.slice(4,6)==="tt"||k.font&&k.font.slice(4,6)==="tt"))&&(E=at[v][E].replace),new oe.TextNode(E)},Le=function(E){return E.length===1?E[0]:new oe.MathNode("mrow",E)},Ve=function(E,v){if(v.fontFamily==="texttt")return"monospace";if(v.fontFamily==="textsf")return v.fontShape==="textit"&&v.fontWeight==="textbf"?"sans-serif-bold-italic":v.fontShape==="textit"?"sans-serif-italic":v.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(v.fontShape==="textit"&&v.fontWeight==="textbf")return"bold-italic";if(v.fontShape==="textit")return"italic";if(v.fontWeight==="textbf")return"bold";const k=v.font;if(!k||k==="mathnormal")return null;const D=E.mode;if(k==="mathit")return"italic";if(k==="boldsymbol")return E.type==="textord"?"bold":"bold-italic";if(k==="mathbf")return"bold";if(k==="mathbb")return"double-struck";if(k==="mathfrak")return"fraktur";if(k==="mathscr"||k==="mathcal")return"script";if(k==="mathsf")return"sans-serif";if(k==="mathtt")return"monospace";let G=E.text;if(T.contains(["\\imath","\\jmath"],G))return null;at[D][G]&&at[D][G].replace&&(G=at[D][G].replace);const K=ht.fontMap[k].fontName;return xe(G,K,D)?ht.fontMap[k].variant:null},He=function(E,v,k){if(E.length===1){const K=gt(E[0],v);return k&&K instanceof Q&&K.type==="mo"&&(K.setAttribute("lspace","0em"),K.setAttribute("rspace","0em")),[K]}const D=[];let G;for(let K=0;K0&&(Pe.text=Pe.text.slice(0,1)+"̸"+Pe.text.slice(1),D.pop())}}}D.push(ce),G=ce}return D},vt=function(E,v,k){return Le(He(E,v,k))},gt=function(E,v){if(!E)return new oe.MathNode("mrow");if(il[E.type])return il[E.type](E,v);throw new s("Got group of unknown type: '"+E.type+"'")};function bt(E,v,k,D,G){const K=He(E,k);let ce;K.length===1&&K[0]instanceof Q&&T.contains(["mrow","mtable"],K[0].type)?ce=K[0]:ce=new oe.MathNode("mrow",K);const Ee=new oe.MathNode("annotation",[new oe.TextNode(v)]);Ee.setAttribute("encoding","application/x-tex");const Pe=new oe.MathNode("semantics",[ce,Ee]),Ge=new oe.MathNode("math",[Pe]);Ge.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),D&&Ge.setAttribute("display","block");const et=G?"katex":"katex-mathml";return ht.makeSpan([et],[Ge])}const dt=function(E){return new Dt({style:E.displayMode?Fe.DISPLAY:Fe.TEXT,maxSize:E.maxSize,minRuleThickness:E.minRuleThickness})},$t=function(E,v){if(v.displayMode){const k=["katex-display"];v.leqno&&k.push("leqno"),v.fleqn&&k.push("fleqn"),E=ht.makeSpan(k,[E])}return E},tn=function(E,v,k){const D=dt(k);let G;if(k.output==="mathml")return bt(E,v,D,k.displayMode,!0);if(k.output==="html"){const K=N(E,D);G=ht.makeSpan(["katex"],[K])}else{const K=bt(E,v,D,k.displayMode,!1),ce=N(E,D);G=ht.makeSpan(["katex"],[K,ce])}return $t(G,k)},$n=function(E,v,k){const D=dt(k),G=N(E,D),K=ht.makeSpan(["katex"],[G]);return $t(K,k)},Zn={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Xn=function(E){const v=new oe.MathNode("mo",[new oe.TextNode(Zn[E.replace(/^\\/,"")])]);return v.setAttribute("stretchy","true"),v},ki={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Js=function(E){return E.type==="ordgroup"?E.body.length:1};var vr={encloseSpan:function(E,v,k,D,G){let K;const ce=E.height+E.depth+k+D;if(/fbox|color|angl/.test(v)){if(K=ht.makeSpan(["stretchy",v],[],G),v==="fbox"){const Ee=G.color&&G.getColor();Ee&&(K.style.borderColor=Ee)}}else{const Ee=[];/^[bx]cancel$/.test(v)&&Ee.push(new jn({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(v)&&Ee.push(new jn({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));const Pe=new _r(Ee,{width:"100%",height:ct(ce)});K=ht.makeSvgSpan([],[Pe],G)}return K.height=ce,K.style.height=ct(ce),K},mathMLnode:Xn,svgSpan:function(E,v){function k(){let ce=4e5;const Ee=E.label.slice(1);if(T.contains(["widehat","widecheck","widetilde","utilde"],Ee)){const Ge=Js(E.base);let et,lt,Tt;if(Ge>5)Ee==="widehat"||Ee==="widecheck"?(et=420,ce=2364,Tt=.42,lt=Ee+"4"):(et=312,ce=2340,Tt=.34,lt="tilde4");else{const Mn=[1,1,2,2,3,3][Ge];Ee==="widehat"||Ee==="widecheck"?(ce=[0,1062,2364,2364,2364][Mn],et=[0,239,300,360,420][Mn],Tt=[0,.24,.3,.3,.36,.42][Mn],lt=Ee+Mn):(ce=[0,600,1033,2339,2340][Mn],et=[0,260,286,306,312][Mn],Tt=[0,.26,.286,.3,.306,.34][Mn],lt="tilde"+Mn)}const an=new Qr(lt),_n=new _r([an],{width:"100%",height:ct(Tt),viewBox:"0 0 "+ce+" "+et,preserveAspectRatio:"none"});return{span:ht.makeSvgSpan([],[_n],v),minWidth:0,height:Tt}}else{const Pe=[],Ge=ki[Ee],[et,lt,Tt]=Ge,an=Tt/1e3,_n=et.length;let Mn,lr;if(_n===1){const Tn=Ge[3];Mn=["hide-tail"],lr=[Tn]}else if(_n===2)Mn=["halfarrow-left","halfarrow-right"],lr=["xMinYMin","xMaxYMin"];else if(_n===3)Mn=["brace-left","brace-center","brace-right"],lr=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support + `+_n+" children.");for(let Tn=0;Tn<_n;Tn++){const Dr=new Qr(et[Tn]),Ar=new _r([Dr],{width:"400em",height:ct(an),viewBox:"0 0 "+ce+" "+Tt,preserveAspectRatio:lr[Tn]+" slice"}),Zr=ht.makeSvgSpan([Mn[Tn]],[Ar],v);if(_n===1)return{span:Zr,minWidth:lt,height:an};Zr.style.height=ct(an),Pe.push(Zr)}return{span:ht.makeSpan(["stretchy"],Pe,v),minWidth:lt,height:an}}}const{span:D,minWidth:G,height:K}=k();return D.height=K,D.style.height=ct(K),G>0&&(D.style.minWidth=ct(G)),D}};function ln(E,v){if(!E||E.type!==v)throw new Error("Expected node of type "+v+", but got "+(E?"node of type "+E.type:String(E)));return E}function Yi(E){const v=ls(E);if(!v)throw new Error("Expected node of symbol group type, but got "+(E?"node of type "+E.type:String(E)));return v}function ls(E){return E&&(E.type==="atom"||ss.hasOwnProperty(E.type))?E:null}const Is=(E,v)=>{let k,D,G;E&&E.type==="supsub"?(D=ln(E.base,"accent"),k=D.base,E.base=k,G=wa(Gr(E,v)),E.base=D):(D=ln(E,"accent"),k=D.base);const K=Gr(k,v.havingCrampedStyle()),ce=D.isShifty&&T.isCharacterBox(k);let Ee=0;if(ce){const Tt=T.getBaseElem(k),an=Gr(Tt,v.havingCrampedStyle());Ee=wi(an).skew}const Pe=D.label==="\\c";let Ge=Pe?K.height+K.depth:Math.min(K.height,v.fontMetrics().xHeight),et;if(D.isStretchy)et=vr.svgSpan(D,v),et=ht.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:K},{type:"elem",elem:et,wrapperClasses:["svg-align"],wrapperStyle:Ee>0?{width:"calc(100% - "+ct(2*Ee)+")",marginLeft:ct(2*Ee)}:void 0}]},v);else{let Tt,an;D.label==="\\vec"?(Tt=ht.staticSvg("vec",v),an=ht.svgData.vec[1]):(Tt=ht.makeOrd({mode:D.mode,text:D.label},v,"textord"),Tt=wi(Tt),Tt.italic=0,an=Tt.width,Pe&&(Ge+=Tt.depth)),et=ht.makeSpan(["accent-body"],[Tt]);const _n=D.label==="\\textcircled";_n&&(et.classes.push("accent-full"),Ge=K.height);let Mn=Ee;_n||(Mn-=an/2),et.style.left=ct(Mn),D.label==="\\textcircled"&&(et.style.top=".2em"),et=ht.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:K},{type:"kern",size:-Ge},{type:"elem",elem:et}]},v)}const lt=ht.makeSpan(["mord","accent"],[et],v);return G?(G.children[0]=lt,G.height=Math.max(lt.height,G.height),G.classes[0]="mord",G):lt},to=(E,v)=>{const k=E.isStretchy?vr.mathMLnode(E.label):new oe.MathNode("mo",[Ae(E.label,E.mode)]),D=new oe.MathNode("mover",[gt(E.base,v),k]);return D.setAttribute("accent","true"),D},Jl=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(E=>"\\"+E).join("|"));vn({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(E,v)=>{const k=kf(v[0]),D=!Jl.test(E.funcName),G=!D||E.funcName==="\\widehat"||E.funcName==="\\widetilde"||E.funcName==="\\widecheck";return{type:"accent",mode:E.parser.mode,label:E.funcName,isStretchy:D,isShifty:G,base:k}},htmlBuilder:Is,mathmlBuilder:to}),vn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(E,v)=>{const k=v[0];let D=E.parser.mode;return D==="math"&&(E.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+E.funcName+" works only in text mode"),D="text"),{type:"accent",mode:D,label:E.funcName,isStretchy:!1,isShifty:!0,base:k}},htmlBuilder:Is,mathmlBuilder:to}),vn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(E,v)=>{let{parser:k,funcName:D}=E;const G=v[0];return{type:"accentUnder",mode:k.mode,label:D,base:G}},htmlBuilder:(E,v)=>{const k=Gr(E.base,v),D=vr.svgSpan(E,v),G=E.label==="\\utilde"?.12:0,K=ht.makeVList({positionType:"top",positionData:k.height,children:[{type:"elem",elem:D,wrapperClasses:["svg-align"]},{type:"kern",size:G},{type:"elem",elem:k}]},v);return ht.makeSpan(["mord","accentunder"],[K],v)},mathmlBuilder:(E,v)=>{const k=vr.mathMLnode(E.label),D=new oe.MathNode("munder",[gt(E.base,v),k]);return D.setAttribute("accentunder","true"),D}});const Rh=E=>{const v=new oe.MathNode("mpadded",E?[E]:[]);return v.setAttribute("width","+0.6em"),v.setAttribute("lspace","0.3em"),v};vn({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(E,v,k){let{parser:D,funcName:G}=E;return{type:"xArrow",mode:D.mode,label:G,body:v[0],below:k[0]}},htmlBuilder(E,v){const k=v.style;let D=v.havingStyle(k.sup());const G=ht.wrapFragment(Gr(E.body,D,v),v),K=E.label.slice(0,2)==="\\x"?"x":"cd";G.classes.push(K+"-arrow-pad");let ce;E.below&&(D=v.havingStyle(k.sub()),ce=ht.wrapFragment(Gr(E.below,D,v),v),ce.classes.push(K+"-arrow-pad"));const Ee=vr.svgSpan(E,v),Pe=-v.fontMetrics().axisHeight+.5*Ee.height;let Ge=-v.fontMetrics().axisHeight-.5*Ee.height-.111;(G.depth>.25||E.label==="\\xleftequilibrium")&&(Ge-=G.depth);let et;if(ce){const lt=-v.fontMetrics().axisHeight+ce.height+.5*Ee.height+.111;et=ht.makeVList({positionType:"individualShift",children:[{type:"elem",elem:G,shift:Ge},{type:"elem",elem:Ee,shift:Pe},{type:"elem",elem:ce,shift:lt}]},v)}else et=ht.makeVList({positionType:"individualShift",children:[{type:"elem",elem:G,shift:Ge},{type:"elem",elem:Ee,shift:Pe}]},v);return et.children[0].children[0].children[1].classes.push("svg-align"),ht.makeSpan(["mrel","x-arrow"],[et],v)},mathmlBuilder(E,v){const k=vr.mathMLnode(E.label);k.setAttribute("minsize",E.label.charAt(0)==="x"?"1.75em":"3.0em");let D;if(E.body){const G=Rh(gt(E.body,v));if(E.below){const K=Rh(gt(E.below,v));D=new oe.MathNode("munderover",[k,K,G])}else D=new oe.MathNode("mover",[k,G])}else if(E.below){const G=Rh(gt(E.below,v));D=new oe.MathNode("munder",[k,G])}else D=Rh(),D=new oe.MathNode("mover",[k,D]);return D}});const Vp=ht.makeSpan;function Tr(E,v){const k=Ss(E.body,v,!0);return Vp([E.mclass],k,v)}function eu(E,v){let k;const D=He(E.body,v);return E.mclass==="minner"?k=new oe.MathNode("mpadded",D):E.mclass==="mord"?E.isCharacterBox?(k=D[0],k.type="mi"):k=new oe.MathNode("mi",D):(E.isCharacterBox?(k=D[0],k.type="mo"):k=new oe.MathNode("mo",D),E.mclass==="mbin"?(k.attributes.lspace="0.22em",k.attributes.rspace="0.22em"):E.mclass==="mpunct"?(k.attributes.lspace="0em",k.attributes.rspace="0.17em"):E.mclass==="mopen"||E.mclass==="mclose"?(k.attributes.lspace="0em",k.attributes.rspace="0em"):E.mclass==="minner"&&(k.attributes.lspace="0.0556em",k.attributes.width="+0.1111em")),k}vn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(E,v){let{parser:k,funcName:D}=E;const G=v[0];return{type:"mclass",mode:k.mode,mclass:"m"+D.slice(5),body:zi(G),isCharacterBox:T.isCharacterBox(G)}},htmlBuilder:Tr,mathmlBuilder:eu});const kl=E=>{const v=E.type==="ordgroup"&&E.body.length?E.body[0]:E;return v.type==="atom"&&(v.family==="bin"||v.family==="rel")?"m"+v.family:"mord"};vn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(E,v){let{parser:k}=E;return{type:"mclass",mode:k.mode,mclass:kl(v[0]),body:zi(v[1]),isCharacterBox:T.isCharacterBox(v[1])}}}),vn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(E,v){let{parser:k,funcName:D}=E;const G=v[1],K=v[0];let ce;D!=="\\stackrel"?ce=kl(G):ce="mrel";const Ee={type:"op",mode:G.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:D!=="\\stackrel",body:zi(G)},Pe={type:"supsub",mode:K.mode,base:Ee,sup:D==="\\underset"?null:K,sub:D==="\\underset"?K:null};return{type:"mclass",mode:k.mode,mclass:ce,body:[Pe],isCharacterBox:T.isCharacterBox(Pe)}},htmlBuilder:Tr,mathmlBuilder:eu}),vn({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(E,v){let{parser:k}=E;return{type:"pmb",mode:k.mode,mclass:kl(v[0]),body:zi(v[0])}},htmlBuilder(E,v){const k=Ss(E.body,v,!0),D=ht.makeSpan([E.mclass],k,v);return D.style.textShadow="0.02em 0.01em 0.04px",D},mathmlBuilder(E,v){const k=He(E.body,v),D=new oe.MathNode("mstyle",k);return D.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),D}});const d2={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},tu=()=>({type:"styling",body:[],mode:"math",style:"display"}),Dm=E=>E.type==="textord"&&E.text==="@",Ih=(E,v)=>(E.type==="mathord"||E.type==="atom")&&E.text===v;function Dh(E,v,k){const D=d2[E];switch(D){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return k.callFunction(D,[v[0]],[v[1]]);case"\\uparrow":case"\\downarrow":{const G=k.callFunction("\\\\cdleft",[v[0]],[]),K={type:"atom",text:D,mode:"math",family:"rel"},ce=k.callFunction("\\Big",[K],[]),Ee=k.callFunction("\\\\cdright",[v[1]],[]),Pe={type:"ordgroup",mode:"math",body:[G,ce,Ee]};return k.callFunction("\\\\cdparent",[Pe],[])}case"\\\\cdlongequal":return k.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{const G={type:"textord",text:"\\Vert",mode:"math"};return k.callFunction("\\Big",[G],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Nm(E){const v=[];for(E.gullet.beginGroup(),E.gullet.macros.set("\\cr","\\\\\\relax"),E.gullet.beginGroup();;){v.push(E.parseExpression(!1,"\\\\")),E.gullet.endGroup(),E.gullet.beginGroup();const K=E.fetch().text;if(K==="&"||K==="\\\\")E.consume();else if(K==="\\end"){v[v.length-1].length===0&&v.pop();break}else throw new s("Expected \\\\ or \\cr or \\end",E.nextToken)}let k=[];const D=[k];for(let K=0;K-1))if("<>AV".indexOf(Ge)>-1)for(let an=0;an<2;an++){let _n=!0;for(let Mn=Pe+1;MnAV=|." after @',ce[Pe]);const Tt={type:"styling",body:[Dh(Ge,et,E)],mode:"math",style:"display"};k.push(Tt),Ee=tu()}K%2===0?k.push(Ee):k.shift(),k=[],D.push(k)}E.gullet.endGroup(),E.gullet.endGroup();const G=new Array(D[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:D,arraystretch:1,addJot:!0,rowGaps:[null],cols:G,colSeparationType:"CD",hLinesBeforeRow:new Array(D.length+1).fill([])}}vn({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(E,v){let{parser:k,funcName:D}=E;return{type:"cdlabel",mode:k.mode,side:D.slice(4),label:v[0]}},htmlBuilder(E,v){const k=v.havingStyle(v.style.sup()),D=ht.wrapFragment(Gr(E.label,k,v),v);return D.classes.push("cd-label-"+E.side),D.style.bottom=ct(.8-D.depth),D.height=0,D.depth=0,D},mathmlBuilder(E,v){let k=new oe.MathNode("mrow",[gt(E.label,v)]);return k=new oe.MathNode("mpadded",[k]),k.setAttribute("width","0"),E.side==="left"&&k.setAttribute("lspace","-1width"),k.setAttribute("voffset","0.7em"),k=new oe.MathNode("mstyle",[k]),k.setAttribute("displaystyle","false"),k.setAttribute("scriptlevel","1"),k}}),vn({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(E,v){let{parser:k}=E;return{type:"cdlabelparent",mode:k.mode,fragment:v[0]}},htmlBuilder(E,v){const k=ht.wrapFragment(Gr(E.fragment,v),v);return k.classes.push("cd-vert-arrow"),k},mathmlBuilder(E,v){return new oe.MathNode("mrow",[gt(E.fragment,v)])}}),vn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(E,v){let{parser:k}=E;const G=ln(v[0],"ordgroup").body;let K="";for(let Pe=0;Pe=1114111)throw new s("\\@char with invalid code point "+K);return ce<=65535?Ee=String.fromCharCode(ce):(ce-=65536,Ee=String.fromCharCode((ce>>10)+55296,(ce&1023)+56320)),{type:"textord",mode:k.mode,text:Ee}}});const Gp=(E,v)=>{const k=Ss(E.body,v.withColor(E.color),!1);return ht.makeFragment(k)},Yp=(E,v)=>{const k=He(E.body,v.withColor(E.color)),D=new oe.MathNode("mstyle",k);return D.setAttribute("mathcolor",E.color),D};vn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(E,v){let{parser:k}=E;const D=ln(v[0],"color-token").color,G=v[1];return{type:"color",mode:k.mode,color:D,body:zi(G)}},htmlBuilder:Gp,mathmlBuilder:Yp}),vn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(E,v){let{parser:k,breakOnTokenText:D}=E;const G=ln(v[0],"color-token").color;k.gullet.macros.set("\\current@color",G);const K=k.parseExpression(!0,D);return{type:"color",mode:k.mode,color:G,body:K}},htmlBuilder:Gp,mathmlBuilder:Yp}),vn({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(E,v,k){let{parser:D}=E;const G=D.gullet.future().text==="["?D.parseSizeGroup(!0):null,K=!D.settings.displayMode||!D.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:D.mode,newLine:K,size:G&&ln(G,"size").value}},htmlBuilder(E,v){const k=ht.makeSpan(["mspace"],[],v);return E.newLine&&(k.classes.push("newline"),E.size&&(k.style.marginTop=ct(kt(E.size,v)))),k},mathmlBuilder(E,v){const k=new oe.MathNode("mspace");return E.newLine&&(k.setAttribute("linebreak","newline"),E.size&&k.setAttribute("height",ct(kt(E.size,v)))),k}});const Sd={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},D1=E=>{const v=E.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(v))throw new s("Expected a control sequence",E);return v},Zp=E=>{let v=E.gullet.popToken();return v.text==="="&&(v=E.gullet.popToken(),v.text===" "&&(v=E.gullet.popToken())),v},mo=(E,v,k,D)=>{let G=E.gullet.macros.get(k.text);G==null&&(k.noexpand=!0,G={tokens:[k],numArgs:0,unexpandable:!E.gullet.isExpandable(k.text)}),E.gullet.macros.set(v,G,D)};vn({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(E){let{parser:v,funcName:k}=E;v.consumeSpaces();const D=v.fetch();if(Sd[D.text])return(k==="\\global"||k==="\\\\globallong")&&(D.text=Sd[D.text]),ln(v.parseFunction(),"internal");throw new s("Invalid token after macro prefix",D)}}),vn({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(E){let{parser:v,funcName:k}=E,D=v.gullet.popToken();const G=D.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(G))throw new s("Expected a control sequence",D);let K=0,ce;const Ee=[[]];for(;v.gullet.future().text!=="{";)if(D=v.gullet.popToken(),D.text==="#"){if(v.gullet.future().text==="{"){ce=v.gullet.future(),Ee[K].push("{");break}if(D=v.gullet.popToken(),!/^[1-9]$/.test(D.text))throw new s('Invalid argument number "'+D.text+'"');if(parseInt(D.text)!==K+1)throw new s('Argument number "'+D.text+'" out of order');K++,Ee.push([])}else{if(D.text==="EOF")throw new s("Expected a macro definition");Ee[K].push(D.text)}let{tokens:Pe}=v.gullet.consumeArg();return ce&&Pe.unshift(ce),(k==="\\edef"||k==="\\xdef")&&(Pe=v.gullet.expandTokens(Pe),Pe.reverse()),v.gullet.macros.set(G,{tokens:Pe,numArgs:K,delimiters:Ee},k===Sd[k]),{type:"internal",mode:v.mode}}}),vn({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(E){let{parser:v,funcName:k}=E;const D=D1(v.gullet.popToken());v.gullet.consumeSpaces();const G=Zp(v);return mo(v,D,G,k==="\\\\globallet"),{type:"internal",mode:v.mode}}}),vn({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(E){let{parser:v,funcName:k}=E;const D=D1(v.gullet.popToken()),G=v.gullet.popToken(),K=v.gullet.popToken();return mo(v,D,K,k==="\\\\globalfuture"),v.gullet.pushToken(K),v.gullet.pushToken(G),{type:"internal",mode:v.mode}}});const Iu=function(E,v,k){const D=at.math[E]&&at.math[E].replace,G=xe(D||E,v,k);if(!G)throw new Error("Unsupported symbol "+E+" and font size "+v+".");return G},Od=function(E,v,k,D){const G=k.havingBaseStyle(v),K=ht.makeSpan(D.concat(G.sizingClasses(k)),[E],k),ce=G.sizeMultiplier/k.sizeMultiplier;return K.height*=ce,K.depth*=ce,K.maxFontSize=G.sizeMultiplier,K},Nh=function(E,v,k){const D=v.havingBaseStyle(k),G=(1-v.sizeMultiplier/D.sizeMultiplier)*v.fontMetrics().axisHeight;E.classes.push("delimcenter"),E.style.top=ct(G),E.height-=G,E.depth+=G},N1=function(E,v,k,D,G,K){const ce=ht.makeSymbol(E,"Main-Regular",G,D),Ee=Od(ce,v,D,K);return k&&Nh(Ee,D,v),Ee},Pm=function(E,v,k,D){return ht.makeSymbol(E,"Size"+v+"-Regular",k,D)},Yy=function(E,v,k,D,G,K){const ce=Pm(E,v,G,D),Ee=Od(ht.makeSpan(["delimsizing","size"+v],[ce],D),Fe.TEXT,D,K);return k&&Nh(Ee,D,Fe.TEXT),Ee},Ph=function(E,v,k){let D;return v==="Size1-Regular"?D="delim-size1":D="delim-size4",{type:"elem",elem:ht.makeSpan(["delimsizinginner",D],[ht.makeSpan([],[ht.makeSymbol(E,v,k)])])}},Lm=function(E,v,k){const D=de["Size4-Regular"][E.charCodeAt(0)]?de["Size4-Regular"][E.charCodeAt(0)][4]:de["Size1-Regular"][E.charCodeAt(0)][4],G=new Qr("inner",Xe(E,Math.round(1e3*v))),K=new _r([G],{width:ct(D),height:ct(v),style:"width:"+ct(D),viewBox:"0 0 "+1e3*D+" "+Math.round(1e3*v),preserveAspectRatio:"xMinYMin"}),ce=ht.makeSvgSpan([],[K],k);return ce.height=v,ce.style.height=ct(v),ce.style.width=ct(D),{type:"elem",elem:ce}},Lh=.008,Du={type:"kern",size:-1*Lh},Mm=["|","\\lvert","\\rvert","\\vert"],Zy=["\\|","\\lVert","\\rVert","\\Vert"],_f=function(E,v,k,D,G,K){let ce,Ee,Pe,Ge,et="",lt=0;ce=Pe=Ge=E,Ee=null;let Tt="Size1-Regular";E==="\\uparrow"?Pe=Ge="⏐":E==="\\Uparrow"?Pe=Ge="‖":E==="\\downarrow"?ce=Pe="⏐":E==="\\Downarrow"?ce=Pe="‖":E==="\\updownarrow"?(ce="\\uparrow",Pe="⏐",Ge="\\downarrow"):E==="\\Updownarrow"?(ce="\\Uparrow",Pe="‖",Ge="\\Downarrow"):T.contains(Mm,E)?(Pe="∣",et="vert",lt=333):T.contains(Zy,E)?(Pe="∥",et="doublevert",lt=556):E==="["||E==="\\lbrack"?(ce="⎡",Pe="⎢",Ge="⎣",Tt="Size4-Regular",et="lbrack",lt=667):E==="]"||E==="\\rbrack"?(ce="⎤",Pe="⎥",Ge="⎦",Tt="Size4-Regular",et="rbrack",lt=667):E==="\\lfloor"||E==="⌊"?(Pe=ce="⎢",Ge="⎣",Tt="Size4-Regular",et="lfloor",lt=667):E==="\\lceil"||E==="⌈"?(ce="⎡",Pe=Ge="⎢",Tt="Size4-Regular",et="lceil",lt=667):E==="\\rfloor"||E==="⌋"?(Pe=ce="⎥",Ge="⎦",Tt="Size4-Regular",et="rfloor",lt=667):E==="\\rceil"||E==="⌉"?(ce="⎤",Pe=Ge="⎥",Tt="Size4-Regular",et="rceil",lt=667):E==="("||E==="\\lparen"?(ce="⎛",Pe="⎜",Ge="⎝",Tt="Size4-Regular",et="lparen",lt=875):E===")"||E==="\\rparen"?(ce="⎞",Pe="⎟",Ge="⎠",Tt="Size4-Regular",et="rparen",lt=875):E==="\\{"||E==="\\lbrace"?(ce="⎧",Ee="⎨",Ge="⎩",Pe="⎪",Tt="Size4-Regular"):E==="\\}"||E==="\\rbrace"?(ce="⎫",Ee="⎬",Ge="⎭",Pe="⎪",Tt="Size4-Regular"):E==="\\lgroup"||E==="⟮"?(ce="⎧",Ge="⎩",Pe="⎪",Tt="Size4-Regular"):E==="\\rgroup"||E==="⟯"?(ce="⎫",Ge="⎭",Pe="⎪",Tt="Size4-Regular"):E==="\\lmoustache"||E==="⎰"?(ce="⎧",Ge="⎭",Pe="⎪",Tt="Size4-Regular"):(E==="\\rmoustache"||E==="⎱")&&(ce="⎫",Ge="⎩",Pe="⎪",Tt="Size4-Regular");const an=Iu(ce,Tt,G),_n=an.height+an.depth,Mn=Iu(Pe,Tt,G),lr=Mn.height+Mn.depth,Tn=Iu(Ge,Tt,G),Dr=Tn.height+Tn.depth;let Ar=0,Zr=1;if(Ee!==null){const Hi=Iu(Ee,Tt,G);Ar=Hi.height+Hi.depth,Zr=2}const Ha=_n+Dr+Ar,na=Math.max(0,Math.ceil((v-Ha)/(Zr*lr))),Ws=Ha+na*Zr*lr;let zo=D.fontMetrics().axisHeight;k&&(zo*=D.sizeMultiplier);const ni=Ws/2-zo,Ii=[];if(et.length>0){const Hi=Ws-_n-Dr,Lr=Math.round(Ws*1e3),io=sn(et,Math.round(Hi*1e3)),U1=new Qr(et,io),Il=(lt/1e3).toFixed(3)+"em",qa=(Lr/1e3).toFixed(3)+"em",dn=new _r([U1],{width:Il,height:qa,viewBox:"0 0 "+lt+" "+Lr}),qi=ht.makeSvgSpan([],[dn],D);qi.height=Lr/1e3,qi.style.width=Il,qi.style.height=qa,Ii.push({type:"elem",elem:qi})}else{if(Ii.push(Ph(Ge,Tt,G)),Ii.push(Du),Ee===null){const Hi=Ws-_n-Dr+2*Lh;Ii.push(Lm(Pe,Hi,D))}else{const Hi=(Ws-_n-Dr-Ar)/2+2*Lh;Ii.push(Lm(Pe,Hi,D)),Ii.push(Du),Ii.push(Ph(Ee,Tt,G)),Ii.push(Du),Ii.push(Lm(Pe,Hi,D))}Ii.push(Du),Ii.push(Ph(ce,Tt,G))}const Ur=D.havingBaseStyle(Fe.TEXT),vi=ht.makeVList({positionType:"bottom",positionData:ni,children:Ii},Ur);return Od(ht.makeSpan(["delimsizing","mult"],[vi],Ur),Fe.TEXT,D,K)},Xp=80,sl=.08,Mh=function(E,v,k,D,G){const K=Ct(E,D,k),ce=new Qr(E,K),Ee=new _r([ce],{width:"400em",height:ct(v),viewBox:"0 0 400000 "+k,preserveAspectRatio:"xMinYMin slice"});return ht.makeSvgSpan(["hide-tail"],[Ee],G)},Fm=function(E,v){const k=v.havingBaseSizing(),D=Jp("\\surd",E*k.sizeMultiplier,Kp,k);let G=k.sizeMultiplier;const K=Math.max(0,v.minRuleThickness-v.fontMetrics().sqrtRuleThickness);let ce,Ee=0,Pe=0,Ge=0,et;return D.type==="small"?(Ge=1e3+1e3*K+Xp,E<1?G=1:E<1.4&&(G=.7),Ee=(1+K+sl)/G,Pe=(1+K)/G,ce=Mh("sqrtMain",Ee,Ge,K,v),ce.style.minWidth="0.853em",et=.833/G):D.type==="large"?(Ge=(1e3+Xp)*Ca[D.size],Pe=(Ca[D.size]+K)/G,Ee=(Ca[D.size]+K+sl)/G,ce=Mh("sqrtSize"+D.size,Ee,Ge,K,v),ce.style.minWidth="1.02em",et=1/G):(Ee=E+K+sl,Pe=E+K,Ge=Math.floor(1e3*E+K)+Xp,ce=Mh("sqrtTall",Ee,Ge,K,v),ce.style.minWidth="0.742em",et=1.056),ce.height=Pe,ce.style.height=ct(Ee),{span:ce,advanceWidth:et,ruleWidth:(v.fontMetrics().sqrtRuleThickness+K)*G}},nu=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],$m=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Aa=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Ca=[0,1.2,1.8,2.4,3],P1=function(E,v,k,D,G){if(E==="<"||E==="\\lt"||E==="⟨"?E="\\langle":(E===">"||E==="\\gt"||E==="⟩")&&(E="\\rangle"),T.contains(nu,E)||T.contains(Aa,E))return Yy(E,v,!1,k,D,G);if(T.contains($m,E))return _f(E,Ca[v],!1,k,D,G);throw new s("Illegal delimiter: '"+E+"'")},Bm=[{type:"small",style:Fe.SCRIPTSCRIPT},{type:"small",style:Fe.SCRIPT},{type:"small",style:Fe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Xy=[{type:"small",style:Fe.SCRIPTSCRIPT},{type:"small",style:Fe.SCRIPT},{type:"small",style:Fe.TEXT},{type:"stack"}],Kp=[{type:"small",style:Fe.SCRIPTSCRIPT},{type:"small",style:Fe.SCRIPT},{type:"small",style:Fe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Ky=function(E){if(E.type==="small")return"Main-Regular";if(E.type==="large")return"Size"+E.size+"-Regular";if(E.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+E.type+"' here.")},Jp=function(E,v,k,D){const G=Math.min(2,3-D.style.size);for(let K=G;Kv)return k[K]}return k[k.length-1]},Ed=function(E,v,k,D,G,K){E==="<"||E==="\\lt"||E==="⟨"?E="\\langle":(E===">"||E==="\\gt"||E==="⟩")&&(E="\\rangle");let ce;T.contains(Aa,E)?ce=Bm:T.contains(nu,E)?ce=Kp:ce=Xy;const Ee=Jp(E,v,ce,D);return Ee.type==="small"?N1(E,Ee.style,k,D,G,K):Ee.type==="large"?Yy(E,Ee.size,k,D,G,K):_f(E,v,k,D,G,K)};var Lt={sqrtImage:Fm,sizedDelim:P1,sizeToMaxHeight:Ca,customSizedDelim:Ed,leftRightDelim:function(E,v,k,D,G,K){const ce=D.fontMetrics().axisHeight*D.sizeMultiplier,Ee=901,Pe=5/D.fontMetrics().ptPerEm,Ge=Math.max(v-ce,k+ce),et=Math.max(Ge/500*Ee,2*Ge-Pe);return Ed(E,et,!0,D,G,K)}};const It={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},In=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function gr(E,v){const k=ls(E);if(k&&T.contains(In,k.text))return k;throw k?new s("Invalid delimiter '"+k.text+"' after '"+v.funcName+"'",E):new s("Invalid delimiter type '"+E.type+"'",E)}vn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(E,v)=>{const k=gr(v[0],E);return{type:"delimsizing",mode:E.parser.mode,size:It[E.funcName].size,mclass:It[E.funcName].mclass,delim:k.text}},htmlBuilder:(E,v)=>E.delim==="."?ht.makeSpan([E.mclass]):Lt.sizedDelim(E.delim,E.size,v,E.mode,[E.mclass]),mathmlBuilder:E=>{const v=[];E.delim!=="."&&v.push(Ae(E.delim,E.mode));const k=new oe.MathNode("mo",v);E.mclass==="mopen"||E.mclass==="mclose"?k.setAttribute("fence","true"):k.setAttribute("fence","false"),k.setAttribute("stretchy","true");const D=ct(Lt.sizeToMaxHeight[E.size]);return k.setAttribute("minsize",D),k.setAttribute("maxsize",D),k}});function Yr(E){if(!E.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}vn({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(E,v)=>{const k=E.parser.gullet.macros.get("\\current@color");if(k&&typeof k!="string")throw new s("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:E.parser.mode,delim:gr(v[0],E).text,color:k}}}),vn({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(E,v)=>{const k=gr(v[0],E),D=E.parser;++D.leftrightDepth;const G=D.parseExpression(!1);--D.leftrightDepth,D.expect("\\right",!1);const K=ln(D.parseFunction(),"leftright-right");return{type:"leftright",mode:D.mode,body:G,left:k.text,right:K.delim,rightColor:K.color}},htmlBuilder:(E,v)=>{Yr(E);const k=Ss(E.body,v,!0,["mopen","mclose"]);let D=0,G=0,K=!1;for(let Pe=0;Pe{Yr(E);const k=He(E.body,v);if(E.left!=="."){const D=new oe.MathNode("mo",[Ae(E.left,E.mode)]);D.setAttribute("fence","true"),k.unshift(D)}if(E.right!=="."){const D=new oe.MathNode("mo",[Ae(E.right,E.mode)]);D.setAttribute("fence","true"),E.rightColor&&D.setAttribute("mathcolor",E.rightColor),k.push(D)}return Le(k)}}),vn({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(E,v)=>{const k=gr(v[0],E);if(!E.parser.leftrightDepth)throw new s("\\middle without preceding \\left",k);return{type:"middle",mode:E.parser.mode,delim:k.text}},htmlBuilder:(E,v)=>{let k;if(E.delim===".")k=Ru(v,[]);else{k=Lt.sizedDelim(E.delim,1,v,E.mode,[]);const D={delim:E.delim,options:v};k.isMiddle=D}return k},mathmlBuilder:(E,v)=>{const k=E.delim==="\\vert"||E.delim==="|"?Ae("|","text"):Ae(E.delim,E.mode),D=new oe.MathNode("mo",[k]);return D.setAttribute("fence","true"),D.setAttribute("lspace","0.05em"),D.setAttribute("rspace","0.05em"),D}});const Ds=(E,v)=>{const k=ht.wrapFragment(Gr(E.body,v),v),D=E.label.slice(1);let G=v.sizeMultiplier,K,ce=0;const Ee=T.isCharacterBox(E.body);if(D==="sout")K=ht.makeSpan(["stretchy","sout"]),K.height=v.fontMetrics().defaultRuleThickness/G,ce=-.5*v.fontMetrics().xHeight;else if(D==="phase"){const Ge=kt({number:.6,unit:"pt"},v),et=kt({number:.35,unit:"ex"},v),lt=v.havingBaseSizing();G=G/lt.sizeMultiplier;const Tt=k.height+k.depth+Ge+et;k.style.paddingLeft=ct(Tt/2+Ge);const an=Math.floor(1e3*Tt*G),_n=Vt(an),Mn=new _r([new Qr("phase",_n)],{width:"400em",height:ct(an/1e3),viewBox:"0 0 400000 "+an,preserveAspectRatio:"xMinYMin slice"});K=ht.makeSvgSpan(["hide-tail"],[Mn],v),K.style.height=ct(Tt),ce=k.depth+Ge+et}else{/cancel/.test(D)?Ee||k.classes.push("cancel-pad"):D==="angl"?k.classes.push("anglpad"):k.classes.push("boxpad");let Ge=0,et=0,lt=0;/box/.test(D)?(lt=Math.max(v.fontMetrics().fboxrule,v.minRuleThickness),Ge=v.fontMetrics().fboxsep+(D==="colorbox"?0:lt),et=Ge):D==="angl"?(lt=Math.max(v.fontMetrics().defaultRuleThickness,v.minRuleThickness),Ge=4*lt,et=Math.max(0,.25-k.depth)):(Ge=Ee?.2:0,et=Ge),K=vr.encloseSpan(k,D,Ge,et,v),/fbox|boxed|fcolorbox/.test(D)?(K.style.borderStyle="solid",K.style.borderWidth=ct(lt)):D==="angl"&<!==.049&&(K.style.borderTopWidth=ct(lt),K.style.borderRightWidth=ct(lt)),ce=k.depth+et,E.backgroundColor&&(K.style.backgroundColor=E.backgroundColor,E.borderColor&&(K.style.borderColor=E.borderColor))}let Pe;if(E.backgroundColor)Pe=ht.makeVList({positionType:"individualShift",children:[{type:"elem",elem:K,shift:ce},{type:"elem",elem:k,shift:0}]},v);else{const Ge=/cancel|phase/.test(D)?["svg-align"]:[];Pe=ht.makeVList({positionType:"individualShift",children:[{type:"elem",elem:k,shift:0},{type:"elem",elem:K,shift:ce,wrapperClasses:Ge}]},v)}return/cancel/.test(D)&&(Pe.height=k.height,Pe.depth=k.depth),/cancel/.test(D)&&!Ee?ht.makeSpan(["mord","cancel-lap"],[Pe],v):ht.makeSpan(["mord"],[Pe],v)},bi=(E,v)=>{let k=0;const D=new oe.MathNode(E.label.indexOf("colorbox")>-1?"mpadded":"menclose",[gt(E.body,v)]);switch(E.label){case"\\cancel":D.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":D.setAttribute("notation","downdiagonalstrike");break;case"\\phase":D.setAttribute("notation","phasorangle");break;case"\\sout":D.setAttribute("notation","horizontalstrike");break;case"\\fbox":D.setAttribute("notation","box");break;case"\\angl":D.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(k=v.fontMetrics().fboxsep*v.fontMetrics().ptPerEm,D.setAttribute("width","+"+2*k+"pt"),D.setAttribute("height","+"+2*k+"pt"),D.setAttribute("lspace",k+"pt"),D.setAttribute("voffset",k+"pt"),E.label==="\\fcolorbox"){const G=Math.max(v.fontMetrics().fboxrule,v.minRuleThickness);D.setAttribute("style","border: "+G+"em solid "+String(E.borderColor))}break;case"\\xcancel":D.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return E.backgroundColor&&D.setAttribute("mathbackground",E.backgroundColor),D};vn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(E,v,k){let{parser:D,funcName:G}=E;const K=ln(v[0],"color-token").color,ce=v[1];return{type:"enclose",mode:D.mode,label:G,backgroundColor:K,body:ce}},htmlBuilder:Ds,mathmlBuilder:bi}),vn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(E,v,k){let{parser:D,funcName:G}=E;const K=ln(v[0],"color-token").color,ce=ln(v[1],"color-token").color,Ee=v[2];return{type:"enclose",mode:D.mode,label:G,backgroundColor:ce,borderColor:K,body:Ee}},htmlBuilder:Ds,mathmlBuilder:bi}),vn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(E,v){let{parser:k}=E;return{type:"enclose",mode:k.mode,label:"\\fbox",body:v[0]}}}),vn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(E,v){let{parser:k,funcName:D}=E;const G=v[0];return{type:"enclose",mode:k.mode,label:D,body:G}},htmlBuilder:Ds,mathmlBuilder:bi}),vn({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(E,v){let{parser:k}=E;return{type:"enclose",mode:k.mode,label:"\\angl",body:v[0]}}});const Af={};function al(E){let{type:v,names:k,props:D,handler:G,htmlBuilder:K,mathmlBuilder:ce}=E;const Ee={type:v,numArgs:D.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:G};for(let Pe=0;Pe{if(!E.parser.settings.displayMode)throw new s("{"+E.envName+"} can be used only in display mode.")};function yi(E){if(E.indexOf("ed")===-1)return E.indexOf("*")===-1}function ru(E,v,k){let{hskipBeforeAndAfter:D,addJot:G,cols:K,arraystretch:ce,colSeparationType:Ee,autoTag:Pe,singleRow:Ge,emptySingleRow:et,maxNumCols:lt,leqno:Tt}=v;if(E.gullet.beginGroup(),Ge||E.gullet.macros.set("\\cr","\\\\\\relax"),!ce){const Zr=E.gullet.expandMacroAsText("\\arraystretch");if(Zr==null)ce=1;else if(ce=parseFloat(Zr),!ce||ce<0)throw new s("Invalid \\arraystretch: "+Zr)}E.gullet.beginGroup();let an=[];const _n=[an],Mn=[],lr=[],Tn=Pe!=null?[]:void 0;function Dr(){Pe&&E.gullet.macros.set("\\@eqnsw","1",!0)}function Ar(){Tn&&(E.gullet.macros.get("\\df@tag")?(Tn.push(E.subparse([new ea("\\df@tag")])),E.gullet.macros.set("\\df@tag",void 0,!0)):Tn.push(!!Pe&&E.gullet.macros.get("\\@eqnsw")==="1"))}for(Dr(),lr.push(Cf(E));;){let Zr=E.parseExpression(!1,Ge?"\\end":"\\\\");E.gullet.endGroup(),E.gullet.beginGroup(),Zr={type:"ordgroup",mode:E.mode,body:Zr},k&&(Zr={type:"styling",mode:E.mode,style:k,body:[Zr]}),an.push(Zr);const Ha=E.fetch().text;if(Ha==="&"){if(lt&&an.length===lt){if(Ge||Ee)throw new s("Too many tab characters: &",E.nextToken);E.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}E.consume()}else if(Ha==="\\end"){Ar(),an.length===1&&Zr.type==="styling"&&Zr.body[0].body.length===0&&(_n.length>1||!et)&&_n.pop(),lr.length<_n.length+1&&lr.push([]);break}else if(Ha==="\\\\"){E.consume();let na;E.gullet.future().text!==" "&&(na=E.parseSizeGroup(!0)),Mn.push(na?na.value:null),Ar(),lr.push(Cf(E)),an=[],_n.push(an),Dr()}else throw new s("Expected & or \\\\ or \\cr or \\end",E.nextToken)}return E.gullet.endGroup(),E.gullet.endGroup(),{type:"array",mode:E.mode,addJot:G,arraystretch:ce,body:_n,cols:K,rowGaps:Mn,hskipBeforeAndAfter:D,hLinesBeforeRow:lr,colSeparationType:Ee,tags:Tn,leqno:Tt}}function Sc(E){return E.slice(0,1)==="d"?"display":"text"}const no=function(E,v){let k,D;const G=E.body.length,K=E.hLinesBeforeRow;let ce=0,Ee=new Array(G);const Pe=[],Ge=Math.max(v.fontMetrics().arrayRuleWidth,v.minRuleThickness),et=1/v.fontMetrics().ptPerEm;let lt=5*et;E.colSeparationType&&E.colSeparationType==="small"&&(lt=.2778*(v.havingStyle(Fe.SCRIPT).sizeMultiplier/v.sizeMultiplier));const Tt=E.colSeparationType==="CD"?kt({number:3,unit:"ex"},v):12*et,an=3*et,_n=E.arraystretch*Tt,Mn=.7*_n,lr=.3*_n;let Tn=0;function Dr(ni){for(let Ii=0;Ii0&&(Tn+=.25),Pe.push({pos:Tn,isDashed:ni[Ii]})}for(Dr(K[0]),k=0;k0&&(Lr+=lr,Urni))for(k=0;k=ce)continue;let Ur;(D>0||E.hskipBeforeAndAfter)&&(Ur=T.deflt(ni.pregap,lt),Ur!==0&&(na=ht.makeSpan(["arraycolsep"],[]),na.style.width=ct(Ur),Ha.push(na)));let vi=[];for(k=0;k0){const ni=ht.makeLineSpan("hline",v,Ge),Ii=ht.makeLineSpan("hdashline",v,Ge),Ur=[{type:"elem",elem:Ee,shift:0}];for(;Pe.length>0;){const vi=Pe.pop(),Hi=vi.pos-Ar;vi.isDashed?Ur.push({type:"elem",elem:Ii,shift:Hi}):Ur.push({type:"elem",elem:ni,shift:Hi})}Ee=ht.makeVList({positionType:"individualShift",children:Ur},v)}if(zo.length===0)return ht.makeSpan(["mord"],[Ee],v);{let ni=ht.makeVList({positionType:"individualShift",children:zo},v);return ni=ht.makeSpan(["tag"],[ni],v),ht.makeFragment([Ee,ni])}},e0={c:"center ",l:"left ",r:"right "},_l=function(E,v){const k=[],D=new oe.MathNode("mtd",[],["mtr-glue"]),G=new oe.MathNode("mtd",[],["mml-eqn-num"]);for(let lt=0;lt0){const lt=E.cols;let Tt="",an=!1,_n=0,Mn=lt.length;lt[0].type==="separator"&&(Ee+="top ",_n=1),lt[lt.length-1].type==="separator"&&(Ee+="bottom ",Mn-=1);for(let lr=_n;lr0?"left ":"",Ee+=et[et.length-1].length>0?"right ":"";for(let lt=1;lt-1?"alignat":"align",G=E.envName==="split",K=ru(E.parser,{cols:k,addJot:!0,autoTag:G?void 0:yi(E.envName),emptySingleRow:!0,colSeparationType:D,maxNumCols:G?2:void 0,leqno:E.parser.settings.leqno},"display");let ce,Ee=0;const Pe={type:"ordgroup",mode:E.mode,body:[]};if(v[0]&&v[0].type==="ordgroup"){let et="";for(let lt=0;lt0&&Ge&&(Tt=1),k[et]={type:"align",align:lt,pregap:Tt,postgap:0}}return K.colSeparationType=Ge?"align":"alignat",K};al({type:"array",names:["array","darray"],props:{numArgs:1},handler(E,v){const G=(ls(v[0])?[v[0]]:ln(v[0],"ordgroup").body).map(function(ce){const Pe=Yi(ce).text;if("lcr".indexOf(Pe)!==-1)return{type:"align",align:Pe};if(Pe==="|")return{type:"separator",separator:"|"};if(Pe===":")return{type:"separator",separator:":"};throw new s("Unknown column alignment: "+Pe,ce)}),K={cols:G,hskipBeforeAndAfter:!0,maxNumCols:G.length};return ru(E.parser,K,Sc(E.envName))},htmlBuilder:no,mathmlBuilder:_l}),al({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(E){const v={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[E.envName.replace("*","")];let k="c";const D={hskipBeforeAndAfter:!1,cols:[{type:"align",align:k}]};if(E.envName.charAt(E.envName.length-1)==="*"){const ce=E.parser;if(ce.consumeSpaces(),ce.fetch().text==="["){if(ce.consume(),ce.consumeSpaces(),k=ce.fetch().text,"lcr".indexOf(k)===-1)throw new s("Expected l or c or r",ce.nextToken);ce.consume(),ce.consumeSpaces(),ce.expect("]"),ce.consume(),D.cols=[{type:"align",align:k}]}}const G=ru(E.parser,D,Sc(E.envName)),K=Math.max(0,...G.body.map(ce=>ce.length));return G.cols=new Array(K).fill({type:"align",align:k}),v?{type:"leftright",mode:E.mode,body:[G],left:v[0],right:v[1],rightColor:void 0}:G},htmlBuilder:no,mathmlBuilder:_l}),al({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(E){const v={arraystretch:.5},k=ru(E.parser,v,"script");return k.colSeparationType="small",k},htmlBuilder:no,mathmlBuilder:_l}),al({type:"array",names:["subarray"],props:{numArgs:1},handler(E,v){const G=(ls(v[0])?[v[0]]:ln(v[0],"ordgroup").body).map(function(ce){const Pe=Yi(ce).text;if("lc".indexOf(Pe)!==-1)return{type:"align",align:Pe};throw new s("Unknown column alignment: "+Pe,ce)});if(G.length>1)throw new s("{subarray} can contain only one column");let K={cols:G,hskipBeforeAndAfter:!1,arraystretch:.5};if(K=ru(E.parser,K,"script"),K.body.length>0&&K.body[0].length>1)throw new s("{subarray} can contain only one column");return K},htmlBuilder:no,mathmlBuilder:_l}),al({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(E){const v={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},k=ru(E.parser,v,Sc(E.envName));return{type:"leftright",mode:E.mode,body:[k],left:E.envName.indexOf("r")>-1?".":"\\{",right:E.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:no,mathmlBuilder:_l}),al({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Um,htmlBuilder:no,mathmlBuilder:_l}),al({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(E){T.contains(["gather","gather*"],E.envName)&&Nu(E);const v={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:yi(E.envName),emptySingleRow:!0,leqno:E.parser.settings.leqno};return ru(E.parser,v,"display")},htmlBuilder:no,mathmlBuilder:_l}),al({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Um,htmlBuilder:no,mathmlBuilder:_l}),al({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(E){Nu(E);const v={autoTag:yi(E.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:E.parser.settings.leqno};return ru(E.parser,v,"display")},htmlBuilder:no,mathmlBuilder:_l}),al({type:"array",names:["CD"],props:{numArgs:0},handler(E){return Nu(E),Nm(E.parser)},htmlBuilder:no,mathmlBuilder:_l}),_e("\\nonumber","\\gdef\\@eqnsw{0}"),_e("\\notag","\\nonumber"),vn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(E,v){throw new s(E.funcName+" valid only within array environment")}});var Al=Af;vn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(E,v){let{parser:k,funcName:D}=E;const G=v[0];if(G.type!=="ordgroup")throw new s("Invalid environment name",G);let K="";for(let ce=0;ce{const k=E.font,D=v.withFont(k);return Gr(E.body,D)},r0=(E,v)=>{const k=E.font,D=v.withFont(k);return gt(E.body,D)},wd={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};vn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(E,v)=>{let{parser:k,funcName:D}=E;const G=kf(v[0]);let K=D;return K in wd&&(K=wd[K]),{type:"font",mode:k.mode,font:K.slice(1),body:G}},htmlBuilder:n0,mathmlBuilder:r0}),vn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(E,v)=>{let{parser:k}=E;const D=v[0],G=T.isCharacterBox(D);return{type:"mclass",mode:k.mode,mclass:kl(D),body:[{type:"font",mode:k.mode,font:"boldsymbol",body:D}],isCharacterBox:G}}}),vn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(E,v)=>{let{parser:k,funcName:D,breakOnTokenText:G}=E;const{mode:K}=k,ce=k.parseExpression(!0,G),Ee="math"+D.slice(1);return{type:"font",mode:K,font:Ee,body:{type:"ordgroup",mode:k.mode,body:ce}}},htmlBuilder:n0,mathmlBuilder:r0});const i0=(E,v)=>{let k=v;return E==="display"?k=k.id>=Fe.SCRIPT.id?k.text():Fe.DISPLAY:E==="text"&&k.size===Fe.DISPLAY.size?k=Fe.TEXT:E==="script"?k=Fe.SCRIPT:E==="scriptscript"&&(k=Fe.SCRIPTSCRIPT),k},Pu=(E,v)=>{const k=i0(E.size,v.style),D=k.fracNum(),G=k.fracDen();let K;K=v.havingStyle(D);const ce=Gr(E.numer,K,v);if(E.continued){const Dr=8.5/v.fontMetrics().ptPerEm,Ar=3.5/v.fontMetrics().ptPerEm;ce.height=ce.height0?Tt=3*et:Tt=7*et,an=v.fontMetrics().denom1):(Ge>0?(lt=v.fontMetrics().num2,Tt=et):(lt=v.fontMetrics().num3,Tt=3*et),an=v.fontMetrics().denom2);let _n;if(Pe){const Dr=v.fontMetrics().axisHeight;lt-ce.depth-(Dr+.5*Ge){let k=new oe.MathNode("mfrac",[gt(E.numer,v),gt(E.denom,v)]);if(!E.hasBarLine)k.setAttribute("linethickness","0px");else if(E.barSize){const G=kt(E.barSize,v);k.setAttribute("linethickness",ct(G))}const D=i0(E.size,v.style);if(D.size!==v.style.size){k=new oe.MathNode("mstyle",[k]);const G=D.size===Fe.DISPLAY.size?"true":"false";k.setAttribute("displaystyle",G),k.setAttribute("scriptlevel","0")}if(E.leftDelim!=null||E.rightDelim!=null){const G=[];if(E.leftDelim!=null){const K=new oe.MathNode("mo",[new oe.TextNode(E.leftDelim.replace("\\",""))]);K.setAttribute("fence","true"),G.push(K)}if(G.push(k),E.rightDelim!=null){const K=new oe.MathNode("mo",[new oe.TextNode(E.rightDelim.replace("\\",""))]);K.setAttribute("fence","true"),G.push(K)}return Le(G)}return k};vn({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(E,v)=>{let{parser:k,funcName:D}=E;const G=v[0],K=v[1];let ce,Ee=null,Pe=null,Ge="auto";switch(D){case"\\dfrac":case"\\frac":case"\\tfrac":ce=!0;break;case"\\\\atopfrac":ce=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":ce=!1,Ee="(",Pe=")";break;case"\\\\bracefrac":ce=!1,Ee="\\{",Pe="\\}";break;case"\\\\brackfrac":ce=!1,Ee="[",Pe="]";break;default:throw new Error("Unrecognized genfrac command")}switch(D){case"\\dfrac":case"\\dbinom":Ge="display";break;case"\\tfrac":case"\\tbinom":Ge="text";break}return{type:"genfrac",mode:k.mode,continued:!1,numer:G,denom:K,hasBarLine:ce,leftDelim:Ee,rightDelim:Pe,size:Ge,barSize:null}},htmlBuilder:Pu,mathmlBuilder:xd}),vn({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(E,v)=>{let{parser:k,funcName:D}=E;const G=v[0],K=v[1];return{type:"genfrac",mode:k.mode,continued:!0,numer:G,denom:K,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),vn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(E){let{parser:v,funcName:k,token:D}=E,G;switch(k){case"\\over":G="\\frac";break;case"\\choose":G="\\binom";break;case"\\atop":G="\\\\atopfrac";break;case"\\brace":G="\\\\bracefrac";break;case"\\brack":G="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:v.mode,replaceWith:G,token:D}}});const zm=["display","text","script","scriptscript"],Oc=function(E){let v=null;return E.length>0&&(v=E,v=v==="."?null:v),v};vn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(E,v){let{parser:k}=E;const D=v[4],G=v[5],K=kf(v[0]),ce=K.type==="atom"&&K.family==="open"?Oc(K.text):null,Ee=kf(v[1]),Pe=Ee.type==="atom"&&Ee.family==="close"?Oc(Ee.text):null,Ge=ln(v[2],"size");let et,lt=null;Ge.isBlank?et=!0:(lt=Ge.value,et=lt.number>0);let Tt="auto",an=v[3];if(an.type==="ordgroup"){if(an.body.length>0){const _n=ln(an.body[0],"textord");Tt=zm[Number(_n.text)]}}else an=ln(an,"textord"),Tt=zm[Number(an.text)];return{type:"genfrac",mode:k.mode,numer:D,denom:G,continued:!1,hasBarLine:et,barSize:lt,leftDelim:ce,rightDelim:Pe,size:Tt}},htmlBuilder:Pu,mathmlBuilder:xd}),vn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(E,v){let{parser:k,funcName:D,token:G}=E;return{type:"infix",mode:k.mode,replaceWith:"\\\\abovefrac",size:ln(v[0],"size").value,token:G}}}),vn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(E,v)=>{let{parser:k,funcName:D}=E;const G=v[0],K=w(ln(v[1],"infix").size),ce=v[2],Ee=K.number>0;return{type:"genfrac",mode:k.mode,numer:G,denom:ce,continued:!1,hasBarLine:Ee,barSize:K,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Pu,mathmlBuilder:xd});const Bo=(E,v)=>{const k=v.style;let D,G;E.type==="supsub"?(D=E.sup?Gr(E.sup,v.havingStyle(k.sup()),v):Gr(E.sub,v.havingStyle(k.sub()),v),G=ln(E.base,"horizBrace")):G=ln(E,"horizBrace");const K=Gr(G.base,v.havingBaseStyle(Fe.DISPLAY)),ce=vr.svgSpan(G,v);let Ee;if(G.isOver?(Ee=ht.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:K},{type:"kern",size:.1},{type:"elem",elem:ce}]},v),Ee.children[0].children[0].children[1].classes.push("svg-align")):(Ee=ht.makeVList({positionType:"bottom",positionData:K.depth+.1+ce.height,children:[{type:"elem",elem:ce},{type:"kern",size:.1},{type:"elem",elem:K}]},v),Ee.children[0].children[0].children[0].classes.push("svg-align")),D){const Pe=ht.makeSpan(["mord",G.isOver?"mover":"munder"],[Ee],v);G.isOver?Ee=ht.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Pe},{type:"kern",size:.2},{type:"elem",elem:D}]},v):Ee=ht.makeVList({positionType:"bottom",positionData:Pe.depth+.2+D.height+D.depth,children:[{type:"elem",elem:D},{type:"kern",size:.2},{type:"elem",elem:Pe}]},v)}return ht.makeSpan(["mord",G.isOver?"mover":"munder"],[Ee],v)};vn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(E,v){let{parser:k,funcName:D}=E;return{type:"horizBrace",mode:k.mode,label:D,isOver:/^\\over/.test(D),base:v[0]}},htmlBuilder:Bo,mathmlBuilder:(E,v)=>{const k=vr.mathMLnode(E.label);return new oe.MathNode(E.isOver?"mover":"munder",[gt(E.base,v),k])}}),vn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(E,v)=>{let{parser:k}=E;const D=v[1],G=ln(v[0],"url").url;return k.settings.isTrusted({command:"\\href",url:G})?{type:"href",mode:k.mode,href:G,body:zi(D)}:k.formatUnsupportedCmd("\\href")},htmlBuilder:(E,v)=>{const k=Ss(E.body,v,!1);return ht.makeAnchor(E.href,[],k,v)},mathmlBuilder:(E,v)=>{let k=vt(E.body,v);return k instanceof Q||(k=new Q("mrow",[k])),k.setAttribute("href",E.href),k}}),vn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(E,v)=>{let{parser:k}=E;const D=ln(v[0],"url").url;if(!k.settings.isTrusted({command:"\\url",url:D}))return k.formatUnsupportedCmd("\\url");const G=[];for(let ce=0;ce{let{parser:k,funcName:D,token:G}=E;const K=ln(v[0],"raw").string,ce=v[1];k.settings.strict&&k.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");let Ee;const Pe={};switch(D){case"\\htmlClass":Pe.class=K,Ee={command:"\\htmlClass",class:K};break;case"\\htmlId":Pe.id=K,Ee={command:"\\htmlId",id:K};break;case"\\htmlStyle":Pe.style=K,Ee={command:"\\htmlStyle",style:K};break;case"\\htmlData":{const Ge=K.split(",");for(let et=0;et{const k=Ss(E.body,v,!1),D=["enclosing"];E.attributes.class&&D.push(...E.attributes.class.trim().split(/\s+/));const G=ht.makeSpan(D,k,v);for(const K in E.attributes)K!=="class"&&E.attributes.hasOwnProperty(K)&&G.setAttribute(K,E.attributes[K]);return G},mathmlBuilder:(E,v)=>vt(E.body,v)}),vn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(E,v)=>{let{parser:k}=E;return{type:"htmlmathml",mode:k.mode,html:zi(v[0]),mathml:zi(v[1])}},htmlBuilder:(E,v)=>{const k=Ss(E.html,v,!1);return ht.makeFragment(k)},mathmlBuilder:(E,v)=>vt(E.mathml,v)});const Fh=function(E){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(E))return{number:+E,unit:"bp"};{const v=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(E);if(!v)throw new s("Invalid size: '"+E+"' in \\includegraphics");const k={number:+(v[1]+v[2]),unit:v[3]};if(!Fn(k))throw new s("Invalid unit: '"+k.unit+"' in \\includegraphics.");return k}};vn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(E,v,k)=>{let{parser:D}=E,G={number:0,unit:"em"},K={number:.9,unit:"em"},ce={number:0,unit:"em"},Ee="";if(k[0]){const et=ln(k[0],"raw").string.split(",");for(let lt=0;lt{const k=kt(E.height,v);let D=0;E.totalheight.number>0&&(D=kt(E.totalheight,v)-k);let G=0;E.width.number>0&&(G=kt(E.width,v));const K={height:ct(k+D)};G>0&&(K.width=ct(G)),D>0&&(K.verticalAlign=ct(-D));const ce=new xr(E.src,E.alt,K);return ce.height=k,ce.depth=D,ce},mathmlBuilder:(E,v)=>{const k=new oe.MathNode("mglyph",[]);k.setAttribute("alt",E.alt);const D=kt(E.height,v);let G=0;if(E.totalheight.number>0&&(G=kt(E.totalheight,v)-D,k.setAttribute("valign",ct(-G))),k.setAttribute("height",ct(D+G)),E.width.number>0){const K=kt(E.width,v);k.setAttribute("width",ct(K))}return k.setAttribute("src",E.src),k}}),vn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(E,v){let{parser:k,funcName:D}=E;const G=ln(v[0],"size");if(k.settings.strict){const K=D[1]==="m",ce=G.value.unit==="mu";K?(ce||k.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+D+" supports only mu units, "+("not "+G.value.unit+" units")),k.mode!=="math"&&k.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+D+" works only in math mode")):ce&&k.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+D+" doesn't support mu units")}return{type:"kern",mode:k.mode,dimension:G.value}},htmlBuilder(E,v){return ht.makeGlue(E.dimension,v)},mathmlBuilder(E,v){const k=kt(E.dimension,v);return new oe.SpaceNode(k)}}),vn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(E,v)=>{let{parser:k,funcName:D}=E;const G=v[0];return{type:"lap",mode:k.mode,alignment:D.slice(5),body:G}},htmlBuilder:(E,v)=>{let k;E.alignment==="clap"?(k=ht.makeSpan([],[Gr(E.body,v)]),k=ht.makeSpan(["inner"],[k],v)):k=ht.makeSpan(["inner"],[Gr(E.body,v)]);const D=ht.makeSpan(["fix"],[]);let G=ht.makeSpan([E.alignment],[k,D],v);const K=ht.makeSpan(["strut"]);return K.style.height=ct(G.height+G.depth),G.depth&&(K.style.verticalAlign=ct(-G.depth)),G.children.unshift(K),G=ht.makeSpan(["thinbox"],[G],v),ht.makeSpan(["mord","vbox"],[G],v)},mathmlBuilder:(E,v)=>{const k=new oe.MathNode("mpadded",[gt(E.body,v)]);if(E.alignment!=="rlap"){const D=E.alignment==="llap"?"-1":"-0.5";k.setAttribute("lspace",D+"width")}return k.setAttribute("width","0px"),k}}),vn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(E,v){let{funcName:k,parser:D}=E;const G=D.mode;D.switchMode("math");const K=k==="\\("?"\\)":"$",ce=D.parseExpression(!1,K);return D.expect(K),D.switchMode(G),{type:"styling",mode:D.mode,style:"text",body:ce}}}),vn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(E,v){throw new s("Mismatched "+E.funcName)}});const Jy=(E,v)=>{switch(v.style.size){case Fe.DISPLAY.size:return E.display;case Fe.TEXT.size:return E.text;case Fe.SCRIPT.size:return E.script;case Fe.SCRIPTSCRIPT.size:return E.scriptscript;default:return E.text}};vn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(E,v)=>{let{parser:k}=E;return{type:"mathchoice",mode:k.mode,display:zi(v[0]),text:zi(v[1]),script:zi(v[2]),scriptscript:zi(v[3])}},htmlBuilder:(E,v)=>{const k=Jy(E,v),D=Ss(k,v,!1);return ht.makeFragment(D)},mathmlBuilder:(E,v)=>{const k=Jy(E,v);return vt(k,v)}});const s0=(E,v,k,D,G,K,ce)=>{E=ht.makeSpan([],[E]);const Ee=k&&T.isCharacterBox(k);let Pe,Ge;if(v){const Tt=Gr(v,D.havingStyle(G.sup()),D);Ge={elem:Tt,kern:Math.max(D.fontMetrics().bigOpSpacing1,D.fontMetrics().bigOpSpacing3-Tt.depth)}}if(k){const Tt=Gr(k,D.havingStyle(G.sub()),D);Pe={elem:Tt,kern:Math.max(D.fontMetrics().bigOpSpacing2,D.fontMetrics().bigOpSpacing4-Tt.height)}}let et;if(Ge&&Pe){const Tt=D.fontMetrics().bigOpSpacing5+Pe.elem.height+Pe.elem.depth+Pe.kern+E.depth+ce;et=ht.makeVList({positionType:"bottom",positionData:Tt,children:[{type:"kern",size:D.fontMetrics().bigOpSpacing5},{type:"elem",elem:Pe.elem,marginLeft:ct(-K)},{type:"kern",size:Pe.kern},{type:"elem",elem:E},{type:"kern",size:Ge.kern},{type:"elem",elem:Ge.elem,marginLeft:ct(K)},{type:"kern",size:D.fontMetrics().bigOpSpacing5}]},D)}else if(Pe){const Tt=E.height-ce;et=ht.makeVList({positionType:"top",positionData:Tt,children:[{type:"kern",size:D.fontMetrics().bigOpSpacing5},{type:"elem",elem:Pe.elem,marginLeft:ct(-K)},{type:"kern",size:Pe.kern},{type:"elem",elem:E}]},D)}else if(Ge){const Tt=E.depth+ce;et=ht.makeVList({positionType:"bottom",positionData:Tt,children:[{type:"elem",elem:E},{type:"kern",size:Ge.kern},{type:"elem",elem:Ge.elem,marginLeft:ct(K)},{type:"kern",size:D.fontMetrics().bigOpSpacing5}]},D)}else return E;const lt=[et];if(Pe&&K!==0&&!Ee){const Tt=ht.makeSpan(["mspace"],[],D);Tt.style.marginRight=ct(K),lt.unshift(Tt)}return ht.makeSpan(["mop","op-limits"],lt,D)},a0=["\\smallint"],Cl=(E,v)=>{let k,D,G=!1,K;E.type==="supsub"?(k=E.sup,D=E.sub,K=ln(E.base,"op"),G=!0):K=ln(E,"op");const ce=v.style;let Ee=!1;ce.size===Fe.DISPLAY.size&&K.symbol&&!T.contains(a0,K.name)&&(Ee=!0);let Pe;if(K.symbol){const lt=Ee?"Size2-Regular":"Size1-Regular";let Tt="";if((K.name==="\\oiint"||K.name==="\\oiiint")&&(Tt=K.name.slice(1),K.name=Tt==="oiint"?"\\iint":"\\iiint"),Pe=ht.makeSymbol(K.name,lt,"math",v,["mop","op-symbol",Ee?"large-op":"small-op"]),Tt.length>0){const an=Pe.italic,_n=ht.staticSvg(Tt+"Size"+(Ee?"2":"1"),v);Pe=ht.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Pe,shift:0},{type:"elem",elem:_n,shift:Ee?.08:0}]},v),K.name="\\"+Tt,Pe.classes.unshift("mop"),Pe.italic=an}}else if(K.body){const lt=Ss(K.body,v,!0);lt.length===1&<[0]instanceof $r?(Pe=lt[0],Pe.classes[0]="mop"):Pe=ht.makeSpan(["mop"],lt,v)}else{const lt=[];for(let Tt=1;Tt{let k;if(E.symbol)k=new Q("mo",[Ae(E.name,E.mode)]),T.contains(a0,E.name)&&k.setAttribute("largeop","false");else if(E.body)k=new Q("mo",He(E.body,v));else{k=new Q("mi",[new ee(E.name.slice(1))]);const D=new Q("mo",[Ae("⁡","text")]);E.parentIsSupSub?k=new Q("mrow",[k,D]):k=H([k,D])}return k},Hm={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};vn({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(E,v)=>{let{parser:k,funcName:D}=E,G=D;return G.length===1&&(G=Hm[G]),{type:"op",mode:k.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:G}},htmlBuilder:Cl,mathmlBuilder:Rf}),vn({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(E,v)=>{let{parser:k}=E;const D=v[0];return{type:"op",mode:k.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:zi(D)}},htmlBuilder:Cl,mathmlBuilder:Rf});const ev={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};vn({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(E){let{parser:v,funcName:k}=E;return{type:"op",mode:v.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:k}},htmlBuilder:Cl,mathmlBuilder:Rf}),vn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(E){let{parser:v,funcName:k}=E;return{type:"op",mode:v.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:k}},htmlBuilder:Cl,mathmlBuilder:Rf}),vn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(E){let{parser:v,funcName:k}=E,D=k;return D.length===1&&(D=ev[D]),{type:"op",mode:v.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:D}},htmlBuilder:Cl,mathmlBuilder:Rf});const o0=(E,v)=>{let k,D,G=!1,K;E.type==="supsub"?(k=E.sup,D=E.sub,K=ln(E.base,"operatorname"),G=!0):K=ln(E,"operatorname");let ce;if(K.body.length>0){const Ee=K.body.map(Ge=>{const et=Ge.text;return typeof et=="string"?{type:"textord",mode:Ge.mode,text:et}:Ge}),Pe=Ss(Ee,v.withFont("mathrm"),!0);for(let Ge=0;Ge{let{parser:k,funcName:D}=E;const G=v[0];return{type:"operatorname",mode:k.mode,body:zi(G),alwaysHandleSupSub:D==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:o0,mathmlBuilder:(E,v)=>{let k=He(E.body,v.withFont("mathrm")),D=!0;for(let ce=0;ceEe.toText()).join("");k=[new oe.TextNode(ce)]}const G=new oe.MathNode("mi",k);G.setAttribute("mathvariant","normal");const K=new oe.MathNode("mo",[Ae("⁡","text")]);return E.parentIsSupSub?new oe.MathNode("mrow",[G,K]):oe.newDocumentFragment([G,K])}}),_e("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),vc({type:"ordgroup",htmlBuilder(E,v){return E.semisimple?ht.makeFragment(Ss(E.body,v,!1)):ht.makeSpan(["mord"],Ss(E.body,v,!0),v)},mathmlBuilder(E,v){return vt(E.body,v,!0)}}),vn({type:"overline",names:["\\overline"],props:{numArgs:1},handler(E,v){let{parser:k}=E;const D=v[0];return{type:"overline",mode:k.mode,body:D}},htmlBuilder(E,v){const k=Gr(E.body,v.havingCrampedStyle()),D=ht.makeLineSpan("overline-line",v),G=v.fontMetrics().defaultRuleThickness,K=ht.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:k},{type:"kern",size:3*G},{type:"elem",elem:D},{type:"kern",size:G}]},v);return ht.makeSpan(["mord","overline"],[K],v)},mathmlBuilder(E,v){const k=new oe.MathNode("mo",[new oe.TextNode("‾")]);k.setAttribute("stretchy","true");const D=new oe.MathNode("mover",[gt(E.body,v),k]);return D.setAttribute("accent","true"),D}}),vn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(E,v)=>{let{parser:k}=E;const D=v[0];return{type:"phantom",mode:k.mode,body:zi(D)}},htmlBuilder:(E,v)=>{const k=Ss(E.body,v.withPhantom(),!1);return ht.makeFragment(k)},mathmlBuilder:(E,v)=>{const k=He(E.body,v);return new oe.MathNode("mphantom",k)}}),vn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(E,v)=>{let{parser:k}=E;const D=v[0];return{type:"hphantom",mode:k.mode,body:D}},htmlBuilder:(E,v)=>{let k=ht.makeSpan([],[Gr(E.body,v.withPhantom())]);if(k.height=0,k.depth=0,k.children)for(let D=0;D{const k=He(zi(E.body),v),D=new oe.MathNode("mphantom",k),G=new oe.MathNode("mpadded",[D]);return G.setAttribute("height","0px"),G.setAttribute("depth","0px"),G}}),vn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(E,v)=>{let{parser:k}=E;const D=v[0];return{type:"vphantom",mode:k.mode,body:D}},htmlBuilder:(E,v)=>{const k=ht.makeSpan(["inner"],[Gr(E.body,v.withPhantom())]),D=ht.makeSpan(["fix"],[]);return ht.makeSpan(["mord","rlap"],[k,D],v)},mathmlBuilder:(E,v)=>{const k=He(zi(E.body),v),D=new oe.MathNode("mphantom",k),G=new oe.MathNode("mpadded",[D]);return G.setAttribute("width","0px"),G}}),vn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(E,v){let{parser:k}=E;const D=ln(v[0],"size").value,G=v[1];return{type:"raisebox",mode:k.mode,dy:D,body:G}},htmlBuilder(E,v){const k=Gr(E.body,v),D=kt(E.dy,v);return ht.makeVList({positionType:"shift",positionData:-D,children:[{type:"elem",elem:k}]},v)},mathmlBuilder(E,v){const k=new oe.MathNode("mpadded",[gt(E.body,v)]),D=E.dy.number+E.dy.unit;return k.setAttribute("voffset",D),k}}),vn({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(E){let{parser:v}=E;return{type:"internal",mode:v.mode}}}),vn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(E,v,k){let{parser:D}=E;const G=k[0],K=ln(v[0],"size"),ce=ln(v[1],"size");return{type:"rule",mode:D.mode,shift:G&&ln(G,"size").value,width:K.value,height:ce.value}},htmlBuilder(E,v){const k=ht.makeSpan(["mord","rule"],[],v),D=kt(E.width,v),G=kt(E.height,v),K=E.shift?kt(E.shift,v):0;return k.style.borderRightWidth=ct(D),k.style.borderTopWidth=ct(G),k.style.bottom=ct(K),k.width=D,k.height=G+K,k.depth=-K,k.maxFontSize=G*1.125*v.sizeMultiplier,k},mathmlBuilder(E,v){const k=kt(E.width,v),D=kt(E.height,v),G=E.shift?kt(E.shift,v):0,K=v.color&&v.getColor()||"black",ce=new oe.MathNode("mspace");ce.setAttribute("mathbackground",K),ce.setAttribute("width",ct(k)),ce.setAttribute("height",ct(D));const Ee=new oe.MathNode("mpadded",[ce]);return G>=0?Ee.setAttribute("height",ct(G)):(Ee.setAttribute("height",ct(G)),Ee.setAttribute("depth",ct(-G))),Ee.setAttribute("voffset",ct(G)),Ee}});function Os(E,v,k){const D=Ss(E,v,!1),G=v.sizeMultiplier/k.sizeMultiplier;for(let K=0;K{let{breakOnTokenText:k,funcName:D,parser:G}=E;const K=G.parseExpression(!1,k);return{type:"sizing",mode:G.mode,size:za.indexOf(D)+1,body:K}},htmlBuilder:(E,v)=>{const k=v.havingSize(E.size);return Os(E.body,k,v)},mathmlBuilder:(E,v)=>{const k=v.havingSize(E.size),D=He(E.body,k),G=new oe.MathNode("mstyle",D);return G.setAttribute("mathsize",ct(k.sizeMultiplier)),G}}),vn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(E,v,k)=>{let{parser:D}=E,G=!1,K=!1;const ce=k[0]&&ln(k[0],"ordgroup");if(ce){let Pe="";for(let Ge=0;Ge{const k=ht.makeSpan([],[Gr(E.body,v)]);if(!E.smashHeight&&!E.smashDepth)return k;if(E.smashHeight&&(k.height=0,k.children))for(let G=0;G{const k=new oe.MathNode("mpadded",[gt(E.body,v)]);return E.smashHeight&&k.setAttribute("height","0px"),E.smashDepth&&k.setAttribute("depth","0px"),k}}),vn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(E,v,k){let{parser:D}=E;const G=k[0],K=v[0];return{type:"sqrt",mode:D.mode,body:K,index:G}},htmlBuilder(E,v){let k=Gr(E.body,v.havingCrampedStyle());k.height===0&&(k.height=v.fontMetrics().xHeight),k=ht.wrapFragment(k,v);const G=v.fontMetrics().defaultRuleThickness;let K=G;v.style.idk.height+k.depth+ce&&(ce=(ce+lt-k.height-k.depth)/2);const Tt=Pe.height-k.height-ce-Ge;k.style.paddingLeft=ct(et);const an=ht.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:k,wrapperClasses:["svg-align"]},{type:"kern",size:-(k.height+Tt)},{type:"elem",elem:Pe},{type:"kern",size:Ge}]},v);if(E.index){const _n=v.havingStyle(Fe.SCRIPTSCRIPT),Mn=Gr(E.index,_n,v),lr=.6*(an.height-an.depth),Tn=ht.makeVList({positionType:"shift",positionData:-lr,children:[{type:"elem",elem:Mn}]},v),Dr=ht.makeSpan(["root"],[Tn]);return ht.makeSpan(["mord","sqrt"],[Dr,an],v)}else return ht.makeSpan(["mord","sqrt"],[an],v)},mathmlBuilder(E,v){const{body:k,index:D}=E;return D?new oe.MathNode("mroot",[gt(k,v),gt(D,v)]):new oe.MathNode("msqrt",[gt(k,v)])}});const tv={display:Fe.DISPLAY,text:Fe.TEXT,script:Fe.SCRIPT,scriptscript:Fe.SCRIPTSCRIPT};vn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(E,v){let{breakOnTokenText:k,funcName:D,parser:G}=E;const K=G.parseExpression(!0,k),ce=D.slice(1,D.length-5);return{type:"styling",mode:G.mode,style:ce,body:K}},htmlBuilder(E,v){const k=tv[E.style],D=v.havingStyle(k).withFont("");return Os(E.body,D,v)},mathmlBuilder(E,v){const k=tv[E.style],D=v.havingStyle(k),G=He(E.body,D),K=new oe.MathNode("mstyle",G),Ee={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[E.style];return K.setAttribute("scriptlevel",Ee[0]),K.setAttribute("displaystyle",Ee[1]),K}});const l0=function(E,v){const k=E.base;return k?k.type==="op"?k.limits&&(v.style.size===Fe.DISPLAY.size||k.alwaysHandleSupSub)?Cl:null:k.type==="operatorname"?k.alwaysHandleSupSub&&(v.style.size===Fe.DISPLAY.size||k.limits)?o0:null:k.type==="accent"?T.isCharacterBox(k.base)?Is:null:k.type==="horizBrace"&&!E.sub===k.isOver?Bo:null:null};vc({type:"supsub",htmlBuilder(E,v){const k=l0(E,v);if(k)return k(E,v);const{base:D,sup:G,sub:K}=E,ce=Gr(D,v);let Ee,Pe;const Ge=v.fontMetrics();let et=0,lt=0;const Tt=D&&T.isCharacterBox(D);if(G){const Ar=v.havingStyle(v.style.sup());Ee=Gr(G,Ar,v),Tt||(et=ce.height-Ar.fontMetrics().supDrop*Ar.sizeMultiplier/v.sizeMultiplier)}if(K){const Ar=v.havingStyle(v.style.sub());Pe=Gr(K,Ar,v),Tt||(lt=ce.depth+Ar.fontMetrics().subDrop*Ar.sizeMultiplier/v.sizeMultiplier)}let an;v.style===Fe.DISPLAY?an=Ge.sup1:v.style.cramped?an=Ge.sup3:an=Ge.sup2;const _n=v.sizeMultiplier,Mn=ct(.5/Ge.ptPerEm/_n);let lr=null;if(Pe){const Ar=E.base&&E.base.type==="op"&&E.base.name&&(E.base.name==="\\oiint"||E.base.name==="\\oiiint");(ce instanceof $r||Ar)&&(lr=ct(-ce.italic))}let Tn;if(Ee&&Pe){et=Math.max(et,an,Ee.depth+.25*Ge.xHeight),lt=Math.max(lt,Ge.sub2);const Zr=4*Ge.defaultRuleThickness;if(et-Ee.depth-(Pe.height-lt)0&&(et+=na,lt-=na)}const Ha=[{type:"elem",elem:Pe,shift:lt,marginRight:Mn,marginLeft:lr},{type:"elem",elem:Ee,shift:-et,marginRight:Mn}];Tn=ht.makeVList({positionType:"individualShift",children:Ha},v)}else if(Pe){lt=Math.max(lt,Ge.sub1,Pe.height-.8*Ge.xHeight);const Ar=[{type:"elem",elem:Pe,marginLeft:lr,marginRight:Mn}];Tn=ht.makeVList({positionType:"shift",positionData:lt,children:Ar},v)}else if(Ee)et=Math.max(et,an,Ee.depth+.25*Ge.xHeight),Tn=ht.makeVList({positionType:"shift",positionData:-et,children:[{type:"elem",elem:Ee,marginRight:Mn}]},v);else throw new Error("supsub must have either sup or sub.");const Dr=Ch(ce,"right")||"mord";return ht.makeSpan([Dr],[ce,ht.makeSpan(["msupsub"],[Tn])],v)},mathmlBuilder(E,v){let k=!1,D,G;E.base&&E.base.type==="horizBrace"&&(G=!!E.sup,G===E.base.isOver&&(k=!0,D=E.base.isOver)),E.base&&(E.base.type==="op"||E.base.type==="operatorname")&&(E.base.parentIsSupSub=!0);const K=[gt(E.base,v)];E.sub&&K.push(gt(E.sub,v)),E.sup&&K.push(gt(E.sup,v));let ce;if(k)ce=D?"mover":"munder";else if(E.sub)if(E.sup){const Ee=E.base;Ee&&Ee.type==="op"&&Ee.limits&&v.style===Fe.DISPLAY||Ee&&Ee.type==="operatorname"&&Ee.alwaysHandleSupSub&&(v.style===Fe.DISPLAY||Ee.limits)?ce="munderover":ce="msubsup"}else{const Ee=E.base;Ee&&Ee.type==="op"&&Ee.limits&&(v.style===Fe.DISPLAY||Ee.alwaysHandleSupSub)||Ee&&Ee.type==="operatorname"&&Ee.alwaysHandleSupSub&&(Ee.limits||v.style===Fe.DISPLAY)?ce="munder":ce="msub"}else{const Ee=E.base;Ee&&Ee.type==="op"&&Ee.limits&&(v.style===Fe.DISPLAY||Ee.alwaysHandleSupSub)||Ee&&Ee.type==="operatorname"&&Ee.alwaysHandleSupSub&&(Ee.limits||v.style===Fe.DISPLAY)?ce="mover":ce="msup"}return new oe.MathNode(ce,K)}}),vc({type:"atom",htmlBuilder(E,v){return ht.mathsym(E.text,E.mode,v,["m"+E.family])},mathmlBuilder(E,v){const k=new oe.MathNode("mo",[Ae(E.text,E.mode)]);if(E.family==="bin"){const D=Ve(E,v);D==="bold-italic"&&k.setAttribute("mathvariant",D)}else E.family==="punct"?k.setAttribute("separator","true"):(E.family==="open"||E.family==="close")&&k.setAttribute("stretchy","false");return k}});const nv={mi:"italic",mn:"normal",mtext:"normal"};vc({type:"mathord",htmlBuilder(E,v){return ht.makeOrd(E,v,"mathord")},mathmlBuilder(E,v){const k=new oe.MathNode("mi",[Ae(E.text,E.mode,v)]),D=Ve(E,v)||"italic";return D!==nv[k.type]&&k.setAttribute("mathvariant",D),k}}),vc({type:"textord",htmlBuilder(E,v){return ht.makeOrd(E,v,"textord")},mathmlBuilder(E,v){const k=Ae(E.text,E.mode,v),D=Ve(E,v)||"normal";let G;return E.mode==="text"?G=new oe.MathNode("mtext",[k]):/[0-9]/.test(E.text)?G=new oe.MathNode("mn",[k]):E.text==="\\prime"?G=new oe.MathNode("mo",[k]):G=new oe.MathNode("mi",[k]),D!==nv[G.type]&&G.setAttribute("mathvariant",D),G}});const Td={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},If={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};vc({type:"spacing",htmlBuilder(E,v){if(If.hasOwnProperty(E.text)){const k=If[E.text].className||"";if(E.mode==="text"){const D=ht.makeOrd(E,v,"textord");return D.classes.push(k),D}else return ht.makeSpan(["mspace",k],[ht.mathsym(E.text,E.mode,v)],v)}else{if(Td.hasOwnProperty(E.text))return ht.makeSpan(["mspace",Td[E.text]],[],v);throw new s('Unknown type of space "'+E.text+'"')}},mathmlBuilder(E,v){let k;if(If.hasOwnProperty(E.text))k=new oe.MathNode("mtext",[new oe.TextNode(" ")]);else{if(Td.hasOwnProperty(E.text))return new oe.MathNode("mspace");throw new s('Unknown type of space "'+E.text+'"')}return k}});const Df=()=>{const E=new oe.MathNode("mtd",[]);return E.setAttribute("width","50%"),E};vc({type:"tag",mathmlBuilder(E,v){const k=new oe.MathNode("mtable",[new oe.MathNode("mtr",[Df(),new oe.MathNode("mtd",[vt(E.body,v)]),Df(),new oe.MathNode("mtd",[vt(E.tag,v)])])]);return k.setAttribute("width","100%"),k}});const Nf={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ec={"\\textbf":"textbf","\\textmd":"textmd"},u0={"\\textit":"textit","\\textup":"textup"},kd=(E,v)=>{const k=E.font;if(k){if(Nf[k])return v.withTextFontFamily(Nf[k]);if(Ec[k])return v.withTextFontWeight(Ec[k]);if(k==="\\emph")return v.fontShape==="textit"?v.withTextFontShape("textup"):v.withTextFontShape("textit")}else return v;return v.withTextFontShape(u0[k])};vn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(E,v){let{parser:k,funcName:D}=E;const G=v[0];return{type:"text",mode:k.mode,body:zi(G),font:D}},htmlBuilder(E,v){const k=kd(E,v),D=Ss(E.body,k,!0);return ht.makeSpan(["mord","text"],D,k)},mathmlBuilder(E,v){const k=kd(E,v);return vt(E.body,k)}}),vn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(E,v){let{parser:k}=E;return{type:"underline",mode:k.mode,body:v[0]}},htmlBuilder(E,v){const k=Gr(E.body,v),D=ht.makeLineSpan("underline-line",v),G=v.fontMetrics().defaultRuleThickness,K=ht.makeVList({positionType:"top",positionData:k.height,children:[{type:"kern",size:G},{type:"elem",elem:D},{type:"kern",size:3*G},{type:"elem",elem:k}]},v);return ht.makeSpan(["mord","underline"],[K],v)},mathmlBuilder(E,v){const k=new oe.MathNode("mo",[new oe.TextNode("‾")]);k.setAttribute("stretchy","true");const D=new oe.MathNode("munder",[gt(E.body,v),k]);return D.setAttribute("accentunder","true"),D}}),vn({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(E,v){let{parser:k}=E;return{type:"vcenter",mode:k.mode,body:v[0]}},htmlBuilder(E,v){const k=Gr(E.body,v),D=v.fontMetrics().axisHeight,G=.5*(k.height-D-(k.depth+D));return ht.makeVList({positionType:"shift",positionData:G,children:[{type:"elem",elem:k}]},v)},mathmlBuilder(E,v){return new oe.MathNode("mpadded",[gt(E.body,v)],["vcenter"])}}),vn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(E,v,k){throw new s("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(E,v){const k=Pf(E),D=[],G=v.havingStyle(v.style.text());for(let K=0;KE.body.replace(/ /g,E.star?"␣":" ");var _d=Fo;const c0=`[ \r ]`,f2="\\\\[a-zA-Z@]+",qm="\\\\[^\uD800-\uDFFF]",jm="("+f2+")"+c0+"*",Ad=`\\\\( |[ \r ]+ ?)[ \r ]*`,Wm="[̀-ͯ]",ke=new RegExp(Wm+"+$"),$h="("+c0+"+)|"+(Ad+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(Wm+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Wm+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+jm)+("|"+qm+")");class Cd{constructor(v,k){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=v,this.settings=k,this.tokenRegex=new RegExp($h,"g"),this.catcodes={"%":14,"~":13}}setCatcode(v,k){this.catcodes[v]=k}lex(){const v=this.input,k=this.tokenRegex.lastIndex;if(k===v.length)return new ea("EOF",new go(this,k,k));const D=this.tokenRegex.exec(v);if(D===null||D.index!==k)throw new s("Unexpected character: '"+v[k]+"'",new ea(v[k],new go(this,k,k+1)));const G=D[6]||D[3]||(D[2]?"\\ ":" ");if(this.catcodes[G]===14){const K=v.indexOf(` `,this.tokenRegex.lastIndex);return K===-1?(this.tokenRegex.lastIndex=v.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=K+1,this.lex()}return new ea(G,new go(this,k,this.tokenRegex.lastIndex))}}class Rl{constructor(v,k){v===void 0&&(v={}),k===void 0&&(k={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=k,this.builtins=v,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new s("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");const v=this.undefStack.pop();for(const k in v)v.hasOwnProperty(k)&&(v[k]==null?delete this.current[k]:this.current[k]=v[k])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(v){return this.current.hasOwnProperty(v)||this.builtins.hasOwnProperty(v)}get(v){return this.current.hasOwnProperty(v)?this.current[v]:this.builtins[v]}set(v,k,D){if(D===void 0&&(D=!1),D){for(let G=0;G0&&(this.undefStack[this.undefStack.length-1][v]=k)}else{const G=this.undefStack[this.undefStack.length-1];G&&!G.hasOwnProperty(v)&&(G[v]=this.current[v])}k==null?delete this.current[v]:this.current[v]=k}}var h2=$o;_e("\\noexpand",function(E){const v=E.popToken();return E.isExpandable(v.text)&&(v.noexpand=!0,v.treatAsRelax=!0),{tokens:[v],numArgs:0}}),_e("\\expandafter",function(E){const v=E.popToken();return E.expandOnce(!0),{tokens:[v],numArgs:0}}),_e("\\@firstoftwo",function(E){return{tokens:E.consumeArgs(2)[0],numArgs:0}}),_e("\\@secondoftwo",function(E){return{tokens:E.consumeArgs(2)[1],numArgs:0}}),_e("\\@ifnextchar",function(E){const v=E.consumeArgs(3);E.consumeSpaces();const k=E.future();return v[0].length===1&&v[0][0].text===k.text?{tokens:v[1],numArgs:0}:{tokens:v[2],numArgs:0}}),_e("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),_e("\\TextOrMath",function(E){const v=E.consumeArgs(2);return E.mode==="text"?{tokens:v[0],numArgs:0}:{tokens:v[1],numArgs:0}});const rv={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};_e("\\char",function(E){let v=E.popToken(),k,D="";if(v.text==="'")k=8,v=E.popToken();else if(v.text==='"')k=16,v=E.popToken();else if(v.text==="`")if(v=E.popToken(),v.text[0]==="\\")D=v.text.charCodeAt(1);else{if(v.text==="EOF")throw new s("\\char` missing argument");D=v.text.charCodeAt(0)}else k=10;if(k){if(D=rv[v.text],D==null||D>=k)throw new s("Invalid base-"+k+" digit "+v.text);let G;for(;(G=rv[E.future().text])!=null&&G{let D=E.consumeArg().tokens;if(D.length!==1)throw new s("\\newcommand's first argument must be a macro name");const G=D[0].text,K=E.isDefined(G);if(K&&!v)throw new s("\\newcommand{"+G+"} attempting to redefine "+(G+"; use \\renewcommand"));if(!K&&!k)throw new s("\\renewcommand{"+G+"} when command "+G+" does not yet exist; use \\newcommand");let ce=0;if(D=E.consumeArg().tokens,D.length===1&&D[0].text==="["){let Ee="",Pe=E.expandNextToken();for(;Pe.text!=="]"&&Pe.text!=="EOF";)Ee+=Pe.text,Pe=E.expandNextToken();if(!Ee.match(/^\s*[0-9]+\s*$/))throw new s("Invalid number of arguments: "+Ee);ce=parseInt(Ee),D=E.consumeArg().tokens}return E.macros.set(G,{tokens:D,numArgs:ce}),""};_e("\\newcommand",E=>F1(E,!1,!0)),_e("\\renewcommand",E=>F1(E,!0,!1)),_e("\\providecommand",E=>F1(E,!0,!0)),_e("\\message",E=>{const v=E.consumeArgs(1)[0];return console.log(v.reverse().map(k=>k.text).join("")),""}),_e("\\errmessage",E=>{const v=E.consumeArgs(1)[0];return console.error(v.reverse().map(k=>k.text).join("")),""}),_e("\\show",E=>{const v=E.popToken(),k=v.text;return console.log(v,E.macros.get(k),_d[k],at.math[k],at.text[k]),""}),_e("\\bgroup","{"),_e("\\egroup","}"),_e("~","\\nobreakspace"),_e("\\lq","`"),_e("\\rq","'"),_e("\\aa","\\r a"),_e("\\AA","\\r A"),_e("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),_e("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),_e("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),_e("ℬ","\\mathscr{B}"),_e("ℰ","\\mathscr{E}"),_e("ℱ","\\mathscr{F}"),_e("ℋ","\\mathscr{H}"),_e("ℐ","\\mathscr{I}"),_e("ℒ","\\mathscr{L}"),_e("ℳ","\\mathscr{M}"),_e("ℛ","\\mathscr{R}"),_e("ℭ","\\mathfrak{C}"),_e("ℌ","\\mathfrak{H}"),_e("ℨ","\\mathfrak{Z}"),_e("\\Bbbk","\\Bbb{k}"),_e("·","\\cdotp"),_e("\\llap","\\mathllap{\\textrm{#1}}"),_e("\\rlap","\\mathrlap{\\textrm{#1}}"),_e("\\clap","\\mathclap{\\textrm{#1}}"),_e("\\mathstrut","\\vphantom{(}"),_e("\\underbar","\\underline{\\text{#1}}"),_e("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),_e("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),_e("\\ne","\\neq"),_e("≠","\\neq"),_e("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),_e("∉","\\notin"),_e("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),_e("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),_e("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),_e("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),_e("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),_e("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),_e("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),_e("⟂","\\perp"),_e("‼","\\mathclose{!\\mkern-0.8mu!}"),_e("∌","\\notni"),_e("⌜","\\ulcorner"),_e("⌝","\\urcorner"),_e("⌞","\\llcorner"),_e("⌟","\\lrcorner"),_e("©","\\copyright"),_e("®","\\textregistered"),_e("️","\\textregistered"),_e("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),_e("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),_e("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),_e("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),_e("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),_e("⋮","\\vdots"),_e("\\varGamma","\\mathit{\\Gamma}"),_e("\\varDelta","\\mathit{\\Delta}"),_e("\\varTheta","\\mathit{\\Theta}"),_e("\\varLambda","\\mathit{\\Lambda}"),_e("\\varXi","\\mathit{\\Xi}"),_e("\\varPi","\\mathit{\\Pi}"),_e("\\varSigma","\\mathit{\\Sigma}"),_e("\\varUpsilon","\\mathit{\\Upsilon}"),_e("\\varPhi","\\mathit{\\Phi}"),_e("\\varPsi","\\mathit{\\Psi}"),_e("\\varOmega","\\mathit{\\Omega}"),_e("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),_e("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),_e("\\boxed","\\fbox{$\\displaystyle{#1}$}"),_e("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),_e("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),_e("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");const Rd={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};_e("\\dots",function(E){let v="\\dotso";const k=E.expandAfterFuture().text;return k in Rd?v=Rd[k]:(k.slice(0,4)==="\\not"||k in at.math&&T.contains(["bin","rel"],at.math[k].group))&&(v="\\dotsb"),v});const $1={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};_e("\\dotso",function(E){return E.future().text in $1?"\\ldots\\,":"\\ldots"}),_e("\\dotsc",function(E){const v=E.future().text;return v in $1&&v!==","?"\\ldots\\,":"\\ldots"}),_e("\\cdots",function(E){return E.future().text in $1?"\\@cdots\\,":"\\@cdots"}),_e("\\dotsb","\\cdots"),_e("\\dotsm","\\cdots"),_e("\\dotsi","\\!\\cdots"),_e("\\dotsx","\\ldots\\,"),_e("\\DOTSI","\\relax"),_e("\\DOTSB","\\relax"),_e("\\DOTSX","\\relax"),_e("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),_e("\\,","\\tmspace+{3mu}{.1667em}"),_e("\\thinspace","\\,"),_e("\\>","\\mskip{4mu}"),_e("\\:","\\tmspace+{4mu}{.2222em}"),_e("\\medspace","\\:"),_e("\\;","\\tmspace+{5mu}{.2777em}"),_e("\\thickspace","\\;"),_e("\\!","\\tmspace-{3mu}{.1667em}"),_e("\\negthinspace","\\!"),_e("\\negmedspace","\\tmspace-{4mu}{.2222em}"),_e("\\negthickspace","\\tmspace-{5mu}{.277em}"),_e("\\enspace","\\kern.5em "),_e("\\enskip","\\hskip.5em\\relax"),_e("\\quad","\\hskip1em\\relax"),_e("\\qquad","\\hskip2em\\relax"),_e("\\tag","\\@ifstar\\tag@literal\\tag@paren"),_e("\\tag@paren","\\tag@literal{({#1})}"),_e("\\tag@literal",E=>{if(E.macros.get("\\df@tag"))throw new s("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),_e("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),_e("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),_e("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),_e("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),_e("\\newline","\\\\\\relax"),_e("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");const iv=ct(de["Main-Regular"][84][1]-.7*de["Main-Regular"][65][1]);_e("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+iv+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),_e("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+iv+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),_e("\\hspace","\\@ifstar\\@hspacer\\@hspace"),_e("\\@hspace","\\hskip #1\\relax"),_e("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),_e("\\ordinarycolon",":"),_e("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),_e("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),_e("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),_e("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),_e("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),_e("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),_e("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),_e("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),_e("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),_e("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),_e("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),_e("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),_e("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),_e("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),_e("∷","\\dblcolon"),_e("∹","\\eqcolon"),_e("≔","\\coloneqq"),_e("≕","\\eqqcolon"),_e("⩴","\\Coloneqq"),_e("\\ratio","\\vcentcolon"),_e("\\coloncolon","\\dblcolon"),_e("\\colonequals","\\coloneqq"),_e("\\coloncolonequals","\\Coloneqq"),_e("\\equalscolon","\\eqqcolon"),_e("\\equalscoloncolon","\\Eqqcolon"),_e("\\colonminus","\\coloneq"),_e("\\coloncolonminus","\\Coloneq"),_e("\\minuscolon","\\eqcolon"),_e("\\minuscoloncolon","\\Eqcolon"),_e("\\coloncolonapprox","\\Colonapprox"),_e("\\coloncolonsim","\\Colonsim"),_e("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),_e("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),_e("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),_e("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),_e("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),_e("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),_e("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),_e("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),_e("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),_e("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),_e("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),_e("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),_e("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),_e("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),_e("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),_e("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),_e("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),_e("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),_e("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),_e("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),_e("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),_e("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),_e("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),_e("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),_e("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),_e("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),_e("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),_e("\\imath","\\html@mathml{\\@imath}{ı}"),_e("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),_e("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),_e("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),_e("⟦","\\llbracket"),_e("⟧","\\rrbracket"),_e("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),_e("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),_e("⦃","\\lBrace"),_e("⦄","\\rBrace"),_e("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),_e("⦵","\\minuso"),_e("\\darr","\\downarrow"),_e("\\dArr","\\Downarrow"),_e("\\Darr","\\Downarrow"),_e("\\lang","\\langle"),_e("\\rang","\\rangle"),_e("\\uarr","\\uparrow"),_e("\\uArr","\\Uparrow"),_e("\\Uarr","\\Uparrow"),_e("\\N","\\mathbb{N}"),_e("\\R","\\mathbb{R}"),_e("\\Z","\\mathbb{Z}"),_e("\\alef","\\aleph"),_e("\\alefsym","\\aleph"),_e("\\Alpha","\\mathrm{A}"),_e("\\Beta","\\mathrm{B}"),_e("\\bull","\\bullet"),_e("\\Chi","\\mathrm{X}"),_e("\\clubs","\\clubsuit"),_e("\\cnums","\\mathbb{C}"),_e("\\Complex","\\mathbb{C}"),_e("\\Dagger","\\ddagger"),_e("\\diamonds","\\diamondsuit"),_e("\\empty","\\emptyset"),_e("\\Epsilon","\\mathrm{E}"),_e("\\Eta","\\mathrm{H}"),_e("\\exist","\\exists"),_e("\\harr","\\leftrightarrow"),_e("\\hArr","\\Leftrightarrow"),_e("\\Harr","\\Leftrightarrow"),_e("\\hearts","\\heartsuit"),_e("\\image","\\Im"),_e("\\infin","\\infty"),_e("\\Iota","\\mathrm{I}"),_e("\\isin","\\in"),_e("\\Kappa","\\mathrm{K}"),_e("\\larr","\\leftarrow"),_e("\\lArr","\\Leftarrow"),_e("\\Larr","\\Leftarrow"),_e("\\lrarr","\\leftrightarrow"),_e("\\lrArr","\\Leftrightarrow"),_e("\\Lrarr","\\Leftrightarrow"),_e("\\Mu","\\mathrm{M}"),_e("\\natnums","\\mathbb{N}"),_e("\\Nu","\\mathrm{N}"),_e("\\Omicron","\\mathrm{O}"),_e("\\plusmn","\\pm"),_e("\\rarr","\\rightarrow"),_e("\\rArr","\\Rightarrow"),_e("\\Rarr","\\Rightarrow"),_e("\\real","\\Re"),_e("\\reals","\\mathbb{R}"),_e("\\Reals","\\mathbb{R}"),_e("\\Rho","\\mathrm{P}"),_e("\\sdot","\\cdot"),_e("\\sect","\\S"),_e("\\spades","\\spadesuit"),_e("\\sub","\\subset"),_e("\\sube","\\subseteq"),_e("\\supe","\\supseteq"),_e("\\Tau","\\mathrm{T}"),_e("\\thetasym","\\vartheta"),_e("\\weierp","\\wp"),_e("\\Zeta","\\mathrm{Z}"),_e("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),_e("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),_e("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),_e("\\bra","\\mathinner{\\langle{#1}|}"),_e("\\ket","\\mathinner{|{#1}\\rangle}"),_e("\\braket","\\mathinner{\\langle{#1}\\rangle}"),_e("\\Bra","\\left\\langle#1\\right|"),_e("\\Ket","\\left|#1\\right\\rangle");const sv=E=>v=>{const k=v.consumeArg().tokens,D=v.consumeArg().tokens,G=v.consumeArg().tokens,K=v.consumeArg().tokens,ce=v.macros.get("|"),Ee=v.macros.get("\\|");v.macros.beginGroup();const Pe=lt=>Tt=>{E&&(Tt.macros.set("|",ce),G.length&&Tt.macros.set("\\|",Ee));let an=lt;return!lt&&G.length&&Tt.future().text==="|"&&(Tt.popToken(),an=!0),{tokens:an?G:D,numArgs:0}};v.macros.set("|",Pe(!1)),G.length&&v.macros.set("\\|",Pe(!0));const Ge=v.consumeArg().tokens,et=v.expandTokens([...K,...Ge,...k]);return v.macros.endGroup(),{tokens:et.reverse(),numArgs:0}};_e("\\bra@ket",sv(!1)),_e("\\bra@set",sv(!0)),_e("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),_e("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),_e("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),_e("\\angln","{\\angl n}"),_e("\\blue","\\textcolor{##6495ed}{#1}"),_e("\\orange","\\textcolor{##ffa500}{#1}"),_e("\\pink","\\textcolor{##ff00af}{#1}"),_e("\\red","\\textcolor{##df0030}{#1}"),_e("\\green","\\textcolor{##28ae7b}{#1}"),_e("\\gray","\\textcolor{gray}{#1}"),_e("\\purple","\\textcolor{##9d38bd}{#1}"),_e("\\blueA","\\textcolor{##ccfaff}{#1}"),_e("\\blueB","\\textcolor{##80f6ff}{#1}"),_e("\\blueC","\\textcolor{##63d9ea}{#1}"),_e("\\blueD","\\textcolor{##11accd}{#1}"),_e("\\blueE","\\textcolor{##0c7f99}{#1}"),_e("\\tealA","\\textcolor{##94fff5}{#1}"),_e("\\tealB","\\textcolor{##26edd5}{#1}"),_e("\\tealC","\\textcolor{##01d1c1}{#1}"),_e("\\tealD","\\textcolor{##01a995}{#1}"),_e("\\tealE","\\textcolor{##208170}{#1}"),_e("\\greenA","\\textcolor{##b6ffb0}{#1}"),_e("\\greenB","\\textcolor{##8af281}{#1}"),_e("\\greenC","\\textcolor{##74cf70}{#1}"),_e("\\greenD","\\textcolor{##1fab54}{#1}"),_e("\\greenE","\\textcolor{##0d923f}{#1}"),_e("\\goldA","\\textcolor{##ffd0a9}{#1}"),_e("\\goldB","\\textcolor{##ffbb71}{#1}"),_e("\\goldC","\\textcolor{##ff9c39}{#1}"),_e("\\goldD","\\textcolor{##e07d10}{#1}"),_e("\\goldE","\\textcolor{##a75a05}{#1}"),_e("\\redA","\\textcolor{##fca9a9}{#1}"),_e("\\redB","\\textcolor{##ff8482}{#1}"),_e("\\redC","\\textcolor{##f9685d}{#1}"),_e("\\redD","\\textcolor{##e84d39}{#1}"),_e("\\redE","\\textcolor{##bc2612}{#1}"),_e("\\maroonA","\\textcolor{##ffbde0}{#1}"),_e("\\maroonB","\\textcolor{##ff92c6}{#1}"),_e("\\maroonC","\\textcolor{##ed5fa6}{#1}"),_e("\\maroonD","\\textcolor{##ca337c}{#1}"),_e("\\maroonE","\\textcolor{##9e034e}{#1}"),_e("\\purpleA","\\textcolor{##ddd7ff}{#1}"),_e("\\purpleB","\\textcolor{##c6b9fc}{#1}"),_e("\\purpleC","\\textcolor{##aa87ff}{#1}"),_e("\\purpleD","\\textcolor{##7854ab}{#1}"),_e("\\purpleE","\\textcolor{##543b78}{#1}"),_e("\\mintA","\\textcolor{##f5f9e8}{#1}"),_e("\\mintB","\\textcolor{##edf2df}{#1}"),_e("\\mintC","\\textcolor{##e0e5cc}{#1}"),_e("\\grayA","\\textcolor{##f6f7f7}{#1}"),_e("\\grayB","\\textcolor{##f0f1f2}{#1}"),_e("\\grayC","\\textcolor{##e3e5e6}{#1}"),_e("\\grayD","\\textcolor{##d6d8da}{#1}"),_e("\\grayE","\\textcolor{##babec2}{#1}"),_e("\\grayF","\\textcolor{##888d93}{#1}"),_e("\\grayG","\\textcolor{##626569}{#1}"),_e("\\grayH","\\textcolor{##3b3e40}{#1}"),_e("\\grayI","\\textcolor{##21242c}{#1}"),_e("\\kaBlue","\\textcolor{##314453}{#1}"),_e("\\kaGreen","\\textcolor{##71B307}{#1}");const Et={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class wt{constructor(v,k,D){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=k,this.expansionCount=0,this.feed(v),this.macros=new Rl(h2,k.macros),this.mode=D,this.stack=[]}feed(v){this.lexer=new Cd(v,this.settings)}switchMode(v){this.mode=v}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(v){this.stack.push(v)}pushTokens(v){this.stack.push(...v)}scanArgument(v){let k,D,G;if(v){if(this.consumeSpaces(),this.future().text!=="[")return null;k=this.popToken(),{tokens:G,end:D}=this.consumeArg(["]"])}else({tokens:G,start:k,end:D}=this.consumeArg());return this.pushToken(new ea("EOF",D.loc)),this.pushTokens(G),k.range(D,"")}consumeSpaces(){for(;this.future().text===" ";)this.stack.pop()}consumeArg(v){const k=[],D=v&&v.length>0;D||this.consumeSpaces();const G=this.future();let K,ce=0,Ee=0;do{if(K=this.popToken(),k.push(K),K.text==="{")++ce;else if(K.text==="}"){if(--ce,ce===-1)throw new s("Extra }",K)}else if(K.text==="EOF")throw new s("Unexpected end of input in a macro argument, expected '"+(v&&D?v[Ee]:"}")+"'",K);if(v&&D)if((ce===0||ce===1&&v[Ee]==="{")&&K.text===v[Ee]){if(++Ee,Ee===v.length){k.splice(-Ee,Ee);break}}else Ee=0}while(ce!==0||D);return G.text==="{"&&k[k.length-1].text==="}"&&(k.pop(),k.shift()),k.reverse(),{tokens:k,start:G,end:K}}consumeArgs(v,k){if(k){if(k.length!==v+1)throw new s("The length of delimiters doesn't match the number of args!");const G=k[0];for(let K=0;Kthis.settings.maxExpand)throw new s("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(v){const k=this.popToken(),D=k.text,G=k.noexpand?null:this._getExpansion(D);if(G==null||v&&G.unexpandable){if(v&&G==null&&D[0]==="\\"&&!this.isDefined(D))throw new s("Undefined control sequence: "+D);return this.pushToken(k),!1}this.countExpansion(1);let K=G.tokens;const ce=this.consumeArgs(G.numArgs,G.delimiters);if(G.numArgs){K=K.slice();for(let Ee=K.length-1;Ee>=0;--Ee){let Pe=K[Ee];if(Pe.text==="#"){if(Ee===0)throw new s("Incomplete placeholder at end of macro body",Pe);if(Pe=K[--Ee],Pe.text==="#")K.splice(Ee+1,1);else if(/^[1-9]$/.test(Pe.text))K.splice(Ee,2,...ce[+Pe.text-1]);else throw new s("Not a valid argument number",Pe)}}}return this.pushTokens(K),K.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){const v=this.stack.pop();return v.treatAsRelax&&(v.text="\\relax"),v}throw new Error}expandMacro(v){return this.macros.has(v)?this.expandTokens([new ea(v)]):void 0}expandTokens(v){const k=[],D=this.stack.length;for(this.pushTokens(v);this.stack.length>D;)if(this.expandOnce(!0)===!1){const G=this.stack.pop();G.treatAsRelax&&(G.noexpand=!1,G.treatAsRelax=!1),k.push(G)}return this.countExpansion(k.length),k}expandMacroAsText(v){const k=this.expandMacro(v);return k&&k.map(D=>D.text).join("")}_getExpansion(v){const k=this.macros.get(v);if(k==null)return k;if(v.length===1){const G=this.lexer.catcodes[v];if(G!=null&&G!==13)return}const D=typeof k=="function"?k(this):k;if(typeof D=="string"){let G=0;if(D.indexOf("#")!==-1){const Ge=D.replace(/##/g,"");for(;Ge.indexOf("#"+(G+1))!==-1;)++G}const K=new Cd(D,this.settings),ce=[];let Ee=K.lex();for(;Ee.text!=="EOF";)ce.push(Ee),Ee=K.lex();return ce.reverse(),{tokens:ce,numArgs:G}}return D}isDefined(v){return this.macros.has(v)||_d.hasOwnProperty(v)||at.math.hasOwnProperty(v)||at.text.hasOwnProperty(v)||Et.hasOwnProperty(v)}isExpandable(v){const k=this.macros.get(v);return k!=null?typeof k=="string"||typeof k=="function"||!k.unexpandable:_d.hasOwnProperty(v)&&!_d[v].primitive}}const ta=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,d0=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Id={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Lf={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class iu{constructor(v,k){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new wt(v,k,this.mode),this.settings=k,this.leftrightDepth=0}expect(v,k){if(k===void 0&&(k=!0),this.fetch().text!==v)throw new s("Expected '"+v+"', got '"+this.fetch().text+"'",this.fetch());k&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(v){this.mode=v,this.gullet.switchMode(v)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{const v=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),v}finally{this.gullet.endGroups()}}subparse(v){const k=this.nextToken;this.consume(),this.gullet.pushToken(new ea("}")),this.gullet.pushTokens(v);const D=this.parseExpression(!1);return this.expect("}"),this.nextToken=k,D}parseExpression(v,k){const D=[];for(;;){this.mode==="math"&&this.consumeSpaces();const G=this.fetch();if(iu.endOfExpression.indexOf(G.text)!==-1||k&&G.text===k||v&&_d[G.text]&&_d[G.text].infix)break;const K=this.parseAtom(k);if(K){if(K.type==="internal")continue}else break;D.push(K)}return this.mode==="text"&&this.formLigatures(D),this.handleInfixNodes(D)}handleInfixNodes(v){let k=-1,D;for(let G=0;G=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+k[0]+'" used in math mode',v);const K=at[this.mode][k].group,ce=go.range(v);let Ee;if(is.hasOwnProperty(K)){const Pe=K;Ee={type:"atom",mode:this.mode,family:Pe,loc:ce,text:k}}else Ee={type:K,mode:this.mode,loc:ce,text:k};G=Ee}else if(k.charCodeAt(0)>=128)this.settings.strict&&(St(k.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+k[0]+'" used in math mode',v):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+k[0]+'"'+(" ("+k.charCodeAt(0)+")"),v)),G={type:"textord",mode:"text",loc:go.range(v),text:k};else return null;if(this.consume(),D)for(let K=0;K$/.test(n.content))return!1;let r=Xae(e,e.pos);if(!r.can_open)return t||(e.pending+="$"),e.pos+=1,!0;let i=e.pos+1,s=i,a;for(;(s=e.src.indexOf("$",s))!==-1;){for(a=s-1;e.src[a]==="\\";)a-=1;if((s-a)%2==1)break;s+=1}if(s===-1)return t||(e.pending+="$"),e.pos=i,!0;if(s-i===0)return t||(e.pending+="$$"),e.pos=i+1,!0;if(r=Xae(e,s),!r.can_close)return t||(e.pending+="$"),e.pos=i,!0;if(!t){const o=e.push("math_inline","math",0);o.markup="$",o.content=e.src.slice(i,s)}return e.pos=s+1,!0}function G2t(e,t,n,r){var i,s,a,o=!1,l,c=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(c+2>d||e.src.slice(c,c+2)!=="$$")return!1;c+=2;let f=e.src.slice(c,d);if(r)return!0;for(f.trim().slice(-2)==="$$"&&(f=f.trim().slice(0,-2),o=!0),s=t;!o&&(s++,!(s>=n||(c=e.bMarks[s]+e.tShift[s],d=e.eMarks[s],c0){const g=e.bMarks[t-1]+e.tShift[t-1],b=e.eMarks[t-1],w=e.src.slice(g,b);if(!/^\s*$/.test(w))return!1}if(r)return!0;const l=[];let c=t,d,f=!1;e:for(;!f&&!(c>=n);c++){const g=e.bMarks[c]+e.tShift[c],b=e.eMarks[c];if(g"u")return!1;const o=r.slice(0,i+1).reduce((c,d)=>c+d.length,0)+i+1,l=e.push("math_inline_bare_block","math",0);return l.block=!0,l.markup="$$",l.content=n.slice(1,o),e.pos=e.pos+o,!0}function toe(e,t,n,r){const i=e.tokens;for(let s=i.length-1;s>=0;s--){const a=i[s],o=[];if(a.type!=="html_block")continue;const l=a.content;for(const c of l.matchAll(r)){if(!c.groups)continue;const d=c.groups.html_before_math,f=c.groups.math,p=c.groups.html_after_math;d&&o.push({...a,type:"html_block",map:null,content:d}),f&&o.push({...a,type:t,map:null,content:f,markup:n,block:!0,tag:"math"}),p&&o.push({...a,type:"html_block",map:null,content:p})}o.length>0&&i.splice(s,1,...o)}return!0}function v3(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function K2t(e,t){const n=t==null?void 0:t.enableBareBlocks,r=t==null?void 0:t.enableMathBlockInHtml,i=t==null?void 0:t.enableMathInlineInHtml,s=t==null?void 0:t.enableFencedBlocks;e.inline.ruler.after("escape","math_inline",V2t),e.inline.ruler.after("escape","math_inline_block",Z2t),n&&e.inline.ruler.before("text","math_inline_bare_block",X2t),e.block.ruler.after("blockquote","math_block",(p,g,b,w)=>n&&Y2t(p,g,b,w)?!0:G2t(p,g,b,w),{alt:["paragraph","reference","blockquote","list"]});const a=/(?[\s\S]*?)\$\$(?[\s\S]+?)\$\$(?(?:(?!\$\$[\s\S]+?\$\$)[\s\S])*)/gm,o=/(?[\s\S]*?)\$(?.*?)\$(?(?:(?!\$.*?\$)[\s\S])*)/gm;r&&e.core.ruler.push("math_block_in_html_block",p=>toe(p,"math_block","$$",a)),i&&e.core.ruler.push("math_inline_in_html_block",p=>toe(p,"math_inline","$",o));const l=p=>{const g=/\\begin\{(align|equation|gather|cd|alignat)\}/ig.test(p);try{return Zae.default.renderToString(p,{...t,displayMode:g})}catch(b){return t!=null&&t.throwOnError&&console.log(b),`${v3(b+"")}`}},c=(p,g)=>l(p[g].content),d=p=>{try{return`

${Zae.default.renderToString(p,{...t,displayMode:!0})}

`}catch(g){return t!=null&&t.throwOnError&&console.log(g),`

${v3(g+"")}

`}},f=(p,g)=>d(p[g].content)+` + please report what input caused this bug`);return K=K.slice(1,-1),{type:"verb",mode:"text",body:K,star:ce}}Lf.hasOwnProperty(k[0])&&!at[this.mode][k[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+k[0]+'" used in math mode',v),k=Lf[k[0]]+k.slice(1));const D=ke.exec(k);D&&(k=k.substring(0,D.index),k==="i"?k="ı":k==="j"&&(k="ȷ"));let G;if(at[this.mode][k]){this.settings.strict&&this.mode==="math"&&as.indexOf(k)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+k[0]+'" used in math mode',v);const K=at[this.mode][k].group,ce=go.range(v);let Ee;if(is.hasOwnProperty(K)){const Pe=K;Ee={type:"atom",mode:this.mode,family:Pe,loc:ce,text:k}}else Ee={type:K,mode:this.mode,loc:ce,text:k};G=Ee}else if(k.charCodeAt(0)>=128)this.settings.strict&&(St(k.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+k[0]+'" used in math mode',v):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+k[0]+'"'+(" ("+k.charCodeAt(0)+")"),v)),G={type:"textord",mode:"text",loc:go.range(v),text:k};else return null;if(this.consume(),D)for(let K=0;K$/.test(n.content))return!1;let r=Xae(e,e.pos);if(!r.can_open)return t||(e.pending+="$"),e.pos+=1,!0;let i=e.pos+1,s=i,a;for(;(s=e.src.indexOf("$",s))!==-1;){for(a=s-1;e.src[a]==="\\";)a-=1;if((s-a)%2==1)break;s+=1}if(s===-1)return t||(e.pending+="$"),e.pos=i,!0;if(s-i===0)return t||(e.pending+="$$"),e.pos=i+1,!0;if(r=Xae(e,s),!r.can_close)return t||(e.pending+="$"),e.pos=i,!0;if(!t){const o=e.push("math_inline","math",0);o.markup="$",o.content=e.src.slice(i,s)}return e.pos=s+1,!0}function Y2t(e,t,n,r){var i,s,a,o=!1,l,c=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(c+2>d||e.src.slice(c,c+2)!=="$$")return!1;c+=2;let f=e.src.slice(c,d);if(r)return!0;for(f.trim().slice(-2)==="$$"&&(f=f.trim().slice(0,-2),o=!0),s=t;!o&&(s++,!(s>=n||(c=e.bMarks[s]+e.tShift[s],d=e.eMarks[s],c0){const g=e.bMarks[t-1]+e.tShift[t-1],b=e.eMarks[t-1],w=e.src.slice(g,b);if(!/^\s*$/.test(w))return!1}if(r)return!0;const l=[];let c=t,d,f=!1;e:for(;!f&&!(c>=n);c++){const g=e.bMarks[c]+e.tShift[c],b=e.eMarks[c];if(g"u")return!1;const o=r.slice(0,i+1).reduce((c,d)=>c+d.length,0)+i+1,l=e.push("math_inline_bare_block","math",0);return l.block=!0,l.markup="$$",l.content=n.slice(1,o),e.pos=e.pos+o,!0}function toe(e,t,n,r){const i=e.tokens;for(let s=i.length-1;s>=0;s--){const a=i[s],o=[];if(a.type!=="html_block")continue;const l=a.content;for(const c of l.matchAll(r)){if(!c.groups)continue;const d=c.groups.html_before_math,f=c.groups.math,p=c.groups.html_after_math;d&&o.push({...a,type:"html_block",map:null,content:d}),f&&o.push({...a,type:t,map:null,content:f,markup:n,block:!0,tag:"math"}),p&&o.push({...a,type:"html_block",map:null,content:p})}o.length>0&&i.splice(s,1,...o)}return!0}function v3(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function J2t(e,t){const n=t==null?void 0:t.enableBareBlocks,r=t==null?void 0:t.enableMathBlockInHtml,i=t==null?void 0:t.enableMathInlineInHtml,s=t==null?void 0:t.enableFencedBlocks;e.inline.ruler.after("escape","math_inline",G2t),e.inline.ruler.after("escape","math_inline_block",X2t),n&&e.inline.ruler.before("text","math_inline_bare_block",K2t),e.block.ruler.after("blockquote","math_block",(p,g,b,w)=>n&&Z2t(p,g,b,w)?!0:Y2t(p,g,b,w),{alt:["paragraph","reference","blockquote","list"]});const a=/(?[\s\S]*?)\$\$(?[\s\S]+?)\$\$(?(?:(?!\$\$[\s\S]+?\$\$)[\s\S])*)/gm,o=/(?[\s\S]*?)\$(?.*?)\$(?(?:(?!\$.*?\$)[\s\S])*)/gm;r&&e.core.ruler.push("math_block_in_html_block",p=>toe(p,"math_block","$$",a)),i&&e.core.ruler.push("math_inline_in_html_block",p=>toe(p,"math_inline","$",o));const l=p=>{const g=/\\begin\{(align|equation|gather|cd|alignat)\}/ig.test(p);try{return Zae.default.renderToString(p,{...t,displayMode:g})}catch(b){return t!=null&&t.throwOnError&&console.log(b),`${v3(b+"")}`}},c=(p,g)=>l(p[g].content),d=p=>{try{return`

${Zae.default.renderToString(p,{...t,displayMode:!0})}

`}catch(g){return t!=null&&t.throwOnError&&console.log(g),`

${v3(g+"")}

`}},f=(p,g)=>d(p[g].content)+` `;if(e.renderer.rules.math_inline=c,e.renderer.rules.math_inline_block=f,e.renderer.rules.math_inline_bare_block=f,e.renderer.rules.math_block=f,s){const p="math",g=e.renderer.rules.fence;e.renderer.rules.fence=function(b,w,x,T,_){const C=b[w];return C.info.trim().toLowerCase()===p&&s?d(C.content)+` -`:(g==null?void 0:g.call(this,b,w,x,T,_))||""}}}var J2t=FOe.default=K2t,BOe={},FY={};const ewt={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};var noe=ewt,twt=nwt;function nwt(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in noe&&(e=noe[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t}const rwt="Á",iwt="á",swt="Ă",awt="ă",owt="∾",lwt="∿",uwt="∾̳",cwt="Â",dwt="â",fwt="´",hwt="А",pwt="а",mwt="Æ",gwt="æ",bwt="⁡",ywt="𝔄",vwt="𝔞",Swt="À",Owt="à",Ewt="ℵ",wwt="ℵ",xwt="Α",Twt="α",kwt="Ā",_wt="ā",Awt="⨿",Cwt="&",Rwt="&",Iwt="⩕",Dwt="⩓",Nwt="∧",Pwt="⩜",Lwt="⩘",Mwt="⩚",Fwt="∠",$wt="⦤",Bwt="∠",Uwt="⦨",zwt="⦩",Hwt="⦪",qwt="⦫",jwt="⦬",Wwt="⦭",Qwt="⦮",Vwt="⦯",Gwt="∡",Ywt="∟",Zwt="⊾",Xwt="⦝",Kwt="∢",Jwt="Å",ext="⍼",txt="Ą",nxt="ą",rxt="𝔸",ixt="𝕒",sxt="⩯",axt="≈",oxt="⩰",lxt="≊",uxt="≋",cxt="'",dxt="⁡",fxt="≈",hxt="≊",pxt="Å",mxt="å",gxt="𝒜",bxt="𝒶",yxt="≔",vxt="*",Sxt="≈",Oxt="≍",Ext="Ã",wxt="ã",xxt="Ä",Txt="ä",kxt="∳",_xt="⨑",Axt="≌",Cxt="϶",Rxt="‵",Ixt="∽",Dxt="⋍",Nxt="∖",Pxt="⫧",Lxt="⊽",Mxt="⌅",Fxt="⌆",$xt="⌅",Bxt="⎵",Uxt="⎶",zxt="≌",Hxt="Б",qxt="б",jxt="„",Wxt="∵",Qxt="∵",Vxt="∵",Gxt="⦰",Yxt="϶",Zxt="ℬ",Xxt="ℬ",Kxt="Β",Jxt="β",eTt="ℶ",tTt="≬",nTt="𝔅",rTt="𝔟",iTt="⋂",sTt="◯",aTt="⋃",oTt="⨀",lTt="⨁",uTt="⨂",cTt="⨆",dTt="★",fTt="▽",hTt="△",pTt="⨄",mTt="⋁",gTt="⋀",bTt="⤍",yTt="⧫",vTt="▪",STt="▴",OTt="▾",ETt="◂",wTt="▸",xTt="␣",TTt="▒",kTt="░",_Tt="▓",ATt="█",CTt="=⃥",RTt="≡⃥",ITt="⫭",DTt="⌐",NTt="𝔹",PTt="𝕓",LTt="⊥",MTt="⊥",FTt="⋈",$Tt="⧉",BTt="┐",UTt="╕",zTt="╖",HTt="╗",qTt="┌",jTt="╒",WTt="╓",QTt="╔",VTt="─",GTt="═",YTt="┬",ZTt="╤",XTt="╥",KTt="╦",JTt="┴",ekt="╧",tkt="╨",nkt="╩",rkt="⊟",ikt="⊞",skt="⊠",akt="┘",okt="╛",lkt="╜",ukt="╝",ckt="└",dkt="╘",fkt="╙",hkt="╚",pkt="│",mkt="║",gkt="┼",bkt="╪",ykt="╫",vkt="╬",Skt="┤",Okt="╡",Ekt="╢",wkt="╣",xkt="├",Tkt="╞",kkt="╟",_kt="╠",Akt="‵",Ckt="˘",Rkt="˘",Ikt="¦",Dkt="𝒷",Nkt="ℬ",Pkt="⁏",Lkt="∽",Mkt="⋍",Fkt="⧅",$kt="\\",Bkt="⟈",Ukt="•",zkt="•",Hkt="≎",qkt="⪮",jkt="≏",Wkt="≎",Qkt="≏",Vkt="Ć",Gkt="ć",Ykt="⩄",Zkt="⩉",Xkt="⩋",Kkt="∩",Jkt="⋒",e_t="⩇",t_t="⩀",n_t="ⅅ",r_t="∩︀",i_t="⁁",s_t="ˇ",a_t="ℭ",o_t="⩍",l_t="Č",u_t="č",c_t="Ç",d_t="ç",f_t="Ĉ",h_t="ĉ",p_t="∰",m_t="⩌",g_t="⩐",b_t="Ċ",y_t="ċ",v_t="¸",S_t="¸",O_t="⦲",E_t="¢",w_t="·",x_t="·",T_t="𝔠",k_t="ℭ",__t="Ч",A_t="ч",C_t="✓",R_t="✓",I_t="Χ",D_t="χ",N_t="ˆ",P_t="≗",L_t="↺",M_t="↻",F_t="⊛",$_t="⊚",B_t="⊝",U_t="⊙",z_t="®",H_t="Ⓢ",q_t="⊖",j_t="⊕",W_t="⊗",Q_t="○",V_t="⧃",G_t="≗",Y_t="⨐",Z_t="⫯",X_t="⧂",K_t="∲",J_t="”",eAt="’",tAt="♣",nAt="♣",rAt=":",iAt="∷",sAt="⩴",aAt="≔",oAt="≔",lAt=",",uAt="@",cAt="∁",dAt="∘",fAt="∁",hAt="ℂ",pAt="≅",mAt="⩭",gAt="≡",bAt="∮",yAt="∯",vAt="∮",SAt="𝕔",OAt="ℂ",EAt="∐",wAt="∐",xAt="©",TAt="©",kAt="℗",_At="∳",AAt="↵",CAt="✗",RAt="⨯",IAt="𝒞",DAt="𝒸",NAt="⫏",PAt="⫑",LAt="⫐",MAt="⫒",FAt="⋯",$At="⤸",BAt="⤵",UAt="⋞",zAt="⋟",HAt="↶",qAt="⤽",jAt="⩈",WAt="⩆",QAt="≍",VAt="∪",GAt="⋓",YAt="⩊",ZAt="⊍",XAt="⩅",KAt="∪︀",JAt="↷",eCt="⤼",tCt="⋞",nCt="⋟",rCt="⋎",iCt="⋏",sCt="¤",aCt="↶",oCt="↷",lCt="⋎",uCt="⋏",cCt="∲",dCt="∱",fCt="⌭",hCt="†",pCt="‡",mCt="ℸ",gCt="↓",bCt="↡",yCt="⇓",vCt="‐",SCt="⫤",OCt="⊣",ECt="⤏",wCt="˝",xCt="Ď",TCt="ď",kCt="Д",_Ct="д",ACt="‡",CCt="⇊",RCt="ⅅ",ICt="ⅆ",DCt="⤑",NCt="⩷",PCt="°",LCt="∇",MCt="Δ",FCt="δ",$Ct="⦱",BCt="⥿",UCt="𝔇",zCt="𝔡",HCt="⥥",qCt="⇃",jCt="⇂",WCt="´",QCt="˙",VCt="˝",GCt="`",YCt="˜",ZCt="⋄",XCt="⋄",KCt="⋄",JCt="♦",e4t="♦",t4t="¨",n4t="ⅆ",r4t="ϝ",i4t="⋲",s4t="÷",a4t="÷",o4t="⋇",l4t="⋇",u4t="Ђ",c4t="ђ",d4t="⌞",f4t="⌍",h4t="$",p4t="𝔻",m4t="𝕕",g4t="¨",b4t="˙",y4t="⃜",v4t="≐",S4t="≑",O4t="≐",E4t="∸",w4t="∔",x4t="⊡",T4t="⌆",k4t="∯",_4t="¨",A4t="⇓",C4t="⇐",R4t="⇔",I4t="⫤",D4t="⟸",N4t="⟺",P4t="⟹",L4t="⇒",M4t="⊨",F4t="⇑",$4t="⇕",B4t="∥",U4t="⤓",z4t="↓",H4t="↓",q4t="⇓",j4t="⇵",W4t="̑",Q4t="⇊",V4t="⇃",G4t="⇂",Y4t="⥐",Z4t="⥞",X4t="⥖",K4t="↽",J4t="⥟",e3t="⥗",t3t="⇁",n3t="↧",r3t="⊤",i3t="⤐",s3t="⌟",a3t="⌌",o3t="𝒟",l3t="𝒹",u3t="Ѕ",c3t="ѕ",d3t="⧶",f3t="Đ",h3t="đ",p3t="⋱",m3t="▿",g3t="▾",b3t="⇵",y3t="⥯",v3t="⦦",S3t="Џ",O3t="џ",E3t="⟿",w3t="É",x3t="é",T3t="⩮",k3t="Ě",_3t="ě",A3t="Ê",C3t="ê",R3t="≖",I3t="≕",D3t="Э",N3t="э",P3t="⩷",L3t="Ė",M3t="ė",F3t="≑",$3t="ⅇ",B3t="≒",U3t="𝔈",z3t="𝔢",H3t="⪚",q3t="È",j3t="è",W3t="⪖",Q3t="⪘",V3t="⪙",G3t="∈",Y3t="⏧",Z3t="ℓ",X3t="⪕",K3t="⪗",J3t="Ē",eRt="ē",tRt="∅",nRt="∅",rRt="◻",iRt="∅",sRt="▫",aRt=" ",oRt=" ",lRt=" ",uRt="Ŋ",cRt="ŋ",dRt=" ",fRt="Ę",hRt="ę",pRt="𝔼",mRt="𝕖",gRt="⋕",bRt="⧣",yRt="⩱",vRt="ε",SRt="Ε",ORt="ε",ERt="ϵ",wRt="≖",xRt="≕",TRt="≂",kRt="⪖",_Rt="⪕",ARt="⩵",CRt="=",RRt="≂",IRt="≟",DRt="⇌",NRt="≡",PRt="⩸",LRt="⧥",MRt="⥱",FRt="≓",$Rt="ℯ",BRt="ℰ",URt="≐",zRt="⩳",HRt="≂",qRt="Η",jRt="η",WRt="Ð",QRt="ð",VRt="Ë",GRt="ë",YRt="€",ZRt="!",XRt="∃",KRt="∃",JRt="ℰ",e5t="ⅇ",t5t="ⅇ",n5t="≒",r5t="Ф",i5t="ф",s5t="♀",a5t="ffi",o5t="ff",l5t="ffl",u5t="𝔉",c5t="𝔣",d5t="fi",f5t="◼",h5t="▪",p5t="fj",m5t="♭",g5t="fl",b5t="▱",y5t="ƒ",v5t="𝔽",S5t="𝕗",O5t="∀",E5t="∀",w5t="⋔",x5t="⫙",T5t="ℱ",k5t="⨍",_5t="½",A5t="⅓",C5t="¼",R5t="⅕",I5t="⅙",D5t="⅛",N5t="⅔",P5t="⅖",L5t="¾",M5t="⅗",F5t="⅜",$5t="⅘",B5t="⅚",U5t="⅝",z5t="⅞",H5t="⁄",q5t="⌢",j5t="𝒻",W5t="ℱ",Q5t="ǵ",V5t="Γ",G5t="γ",Y5t="Ϝ",Z5t="ϝ",X5t="⪆",K5t="Ğ",J5t="ğ",eIt="Ģ",tIt="Ĝ",nIt="ĝ",rIt="Г",iIt="г",sIt="Ġ",aIt="ġ",oIt="≥",lIt="≧",uIt="⪌",cIt="⋛",dIt="≥",fIt="≧",hIt="⩾",pIt="⪩",mIt="⩾",gIt="⪀",bIt="⪂",yIt="⪄",vIt="⋛︀",SIt="⪔",OIt="𝔊",EIt="𝔤",wIt="≫",xIt="⋙",TIt="⋙",kIt="ℷ",_It="Ѓ",AIt="ѓ",CIt="⪥",RIt="≷",IIt="⪒",DIt="⪤",NIt="⪊",PIt="⪊",LIt="⪈",MIt="≩",FIt="⪈",$It="≩",BIt="⋧",UIt="𝔾",zIt="𝕘",HIt="`",qIt="≥",jIt="⋛",WIt="≧",QIt="⪢",VIt="≷",GIt="⩾",YIt="≳",ZIt="𝒢",XIt="ℊ",KIt="≳",JIt="⪎",e6t="⪐",t6t="⪧",n6t="⩺",r6t=">",i6t=">",s6t="≫",a6t="⋗",o6t="⦕",l6t="⩼",u6t="⪆",c6t="⥸",d6t="⋗",f6t="⋛",h6t="⪌",p6t="≷",m6t="≳",g6t="≩︀",b6t="≩︀",y6t="ˇ",v6t=" ",S6t="½",O6t="ℋ",E6t="Ъ",w6t="ъ",x6t="⥈",T6t="↔",k6t="⇔",_6t="↭",A6t="^",C6t="ℏ",R6t="Ĥ",I6t="ĥ",D6t="♥",N6t="♥",P6t="…",L6t="⊹",M6t="𝔥",F6t="ℌ",$6t="ℋ",B6t="⤥",U6t="⤦",z6t="⇿",H6t="∻",q6t="↩",j6t="↪",W6t="𝕙",Q6t="ℍ",V6t="―",G6t="─",Y6t="𝒽",Z6t="ℋ",X6t="ℏ",K6t="Ħ",J6t="ħ",eDt="≎",tDt="≏",nDt="⁃",rDt="‐",iDt="Í",sDt="í",aDt="⁣",oDt="Î",lDt="î",uDt="И",cDt="и",dDt="İ",fDt="Е",hDt="е",pDt="¡",mDt="⇔",gDt="𝔦",bDt="ℑ",yDt="Ì",vDt="ì",SDt="ⅈ",ODt="⨌",EDt="∭",wDt="⧜",xDt="℩",TDt="IJ",kDt="ij",_Dt="Ī",ADt="ī",CDt="ℑ",RDt="ⅈ",IDt="ℐ",DDt="ℑ",NDt="ı",PDt="ℑ",LDt="⊷",MDt="Ƶ",FDt="⇒",$Dt="℅",BDt="∞",UDt="⧝",zDt="ı",HDt="⊺",qDt="∫",jDt="∬",WDt="ℤ",QDt="∫",VDt="⊺",GDt="⋂",YDt="⨗",ZDt="⨼",XDt="⁣",KDt="⁢",JDt="Ё",eNt="ё",tNt="Į",nNt="į",rNt="𝕀",iNt="𝕚",sNt="Ι",aNt="ι",oNt="⨼",lNt="¿",uNt="𝒾",cNt="ℐ",dNt="∈",fNt="⋵",hNt="⋹",pNt="⋴",mNt="⋳",gNt="∈",bNt="⁢",yNt="Ĩ",vNt="ĩ",SNt="І",ONt="і",ENt="Ï",wNt="ï",xNt="Ĵ",TNt="ĵ",kNt="Й",_Nt="й",ANt="𝔍",CNt="𝔧",RNt="ȷ",INt="𝕁",DNt="𝕛",NNt="𝒥",PNt="𝒿",LNt="Ј",MNt="ј",FNt="Є",$Nt="є",BNt="Κ",UNt="κ",zNt="ϰ",HNt="Ķ",qNt="ķ",jNt="К",WNt="к",QNt="𝔎",VNt="𝔨",GNt="ĸ",YNt="Х",ZNt="х",XNt="Ќ",KNt="ќ",JNt="𝕂",e7t="𝕜",t7t="𝒦",n7t="𝓀",r7t="⇚",i7t="Ĺ",s7t="ĺ",a7t="⦴",o7t="ℒ",l7t="Λ",u7t="λ",c7t="⟨",d7t="⟪",f7t="⦑",h7t="⟨",p7t="⪅",m7t="ℒ",g7t="«",b7t="⇤",y7t="⤟",v7t="←",S7t="↞",O7t="⇐",E7t="⤝",w7t="↩",x7t="↫",T7t="⤹",k7t="⥳",_7t="↢",A7t="⤙",C7t="⤛",R7t="⪫",I7t="⪭",D7t="⪭︀",N7t="⤌",P7t="⤎",L7t="❲",M7t="{",F7t="[",$7t="⦋",B7t="⦏",U7t="⦍",z7t="Ľ",H7t="ľ",q7t="Ļ",j7t="ļ",W7t="⌈",Q7t="{",V7t="Л",G7t="л",Y7t="⤶",Z7t="“",X7t="„",K7t="⥧",J7t="⥋",ePt="↲",tPt="≤",nPt="≦",rPt="⟨",iPt="⇤",sPt="←",aPt="←",oPt="⇐",lPt="⇆",uPt="↢",cPt="⌈",dPt="⟦",fPt="⥡",hPt="⥙",pPt="⇃",mPt="⌊",gPt="↽",bPt="↼",yPt="⇇",vPt="↔",SPt="↔",OPt="⇔",EPt="⇆",wPt="⇋",xPt="↭",TPt="⥎",kPt="↤",_Pt="⊣",APt="⥚",CPt="⋋",RPt="⧏",IPt="⊲",DPt="⊴",NPt="⥑",PPt="⥠",LPt="⥘",MPt="↿",FPt="⥒",$Pt="↼",BPt="⪋",UPt="⋚",zPt="≤",HPt="≦",qPt="⩽",jPt="⪨",WPt="⩽",QPt="⩿",VPt="⪁",GPt="⪃",YPt="⋚︀",ZPt="⪓",XPt="⪅",KPt="⋖",JPt="⋚",eLt="⪋",tLt="⋚",nLt="≦",rLt="≶",iLt="≶",sLt="⪡",aLt="≲",oLt="⩽",lLt="≲",uLt="⥼",cLt="⌊",dLt="𝔏",fLt="𝔩",hLt="≶",pLt="⪑",mLt="⥢",gLt="↽",bLt="↼",yLt="⥪",vLt="▄",SLt="Љ",OLt="љ",ELt="⇇",wLt="≪",xLt="⋘",TLt="⌞",kLt="⇚",_Lt="⥫",ALt="◺",CLt="Ŀ",RLt="ŀ",ILt="⎰",DLt="⎰",NLt="⪉",PLt="⪉",LLt="⪇",MLt="≨",FLt="⪇",$Lt="≨",BLt="⋦",ULt="⟬",zLt="⇽",HLt="⟦",qLt="⟵",jLt="⟵",WLt="⟸",QLt="⟷",VLt="⟷",GLt="⟺",YLt="⟼",ZLt="⟶",XLt="⟶",KLt="⟹",JLt="↫",e8t="↬",t8t="⦅",n8t="𝕃",r8t="𝕝",i8t="⨭",s8t="⨴",a8t="∗",o8t="_",l8t="↙",u8t="↘",c8t="◊",d8t="◊",f8t="⧫",h8t="(",p8t="⦓",m8t="⇆",g8t="⌟",b8t="⇋",y8t="⥭",v8t="‎",S8t="⊿",O8t="‹",E8t="𝓁",w8t="ℒ",x8t="↰",T8t="↰",k8t="≲",_8t="⪍",A8t="⪏",C8t="[",R8t="‘",I8t="‚",D8t="Ł",N8t="ł",P8t="⪦",L8t="⩹",M8t="<",F8t="<",$8t="≪",B8t="⋖",U8t="⋋",z8t="⋉",H8t="⥶",q8t="⩻",j8t="◃",W8t="⊴",Q8t="◂",V8t="⦖",G8t="⥊",Y8t="⥦",Z8t="≨︀",X8t="≨︀",K8t="¯",J8t="♂",eMt="✠",tMt="✠",nMt="↦",rMt="↦",iMt="↧",sMt="↤",aMt="↥",oMt="▮",lMt="⨩",uMt="М",cMt="м",dMt="—",fMt="∺",hMt="∡",pMt=" ",mMt="ℳ",gMt="𝔐",bMt="𝔪",yMt="℧",vMt="µ",SMt="*",OMt="⫰",EMt="∣",wMt="·",xMt="⊟",TMt="−",kMt="∸",_Mt="⨪",AMt="∓",CMt="⫛",RMt="…",IMt="∓",DMt="⊧",NMt="𝕄",PMt="𝕞",LMt="∓",MMt="𝓂",FMt="ℳ",$Mt="∾",BMt="Μ",UMt="μ",zMt="⊸",HMt="⊸",qMt="∇",jMt="Ń",WMt="ń",QMt="∠⃒",VMt="≉",GMt="⩰̸",YMt="≋̸",ZMt="ʼn",XMt="≉",KMt="♮",JMt="ℕ",e9t="♮",t9t=" ",n9t="≎̸",r9t="≏̸",i9t="⩃",s9t="Ň",a9t="ň",o9t="Ņ",l9t="ņ",u9t="≇",c9t="⩭̸",d9t="⩂",f9t="Н",h9t="н",p9t="–",m9t="⤤",g9t="↗",b9t="⇗",y9t="↗",v9t="≠",S9t="≐̸",O9t="​",E9t="​",w9t="​",x9t="​",T9t="≢",k9t="⤨",_9t="≂̸",A9t="≫",C9t="≪",R9t=` -`,I9t="∄",D9t="∄",N9t="𝔑",P9t="𝔫",L9t="≧̸",M9t="≱",F9t="≱",$9t="≧̸",B9t="⩾̸",U9t="⩾̸",z9t="⋙̸",H9t="≵",q9t="≫⃒",j9t="≯",W9t="≯",Q9t="≫̸",V9t="↮",G9t="⇎",Y9t="⫲",Z9t="∋",X9t="⋼",K9t="⋺",J9t="∋",eFt="Њ",tFt="њ",nFt="↚",rFt="⇍",iFt="‥",sFt="≦̸",aFt="≰",oFt="↚",lFt="⇍",uFt="↮",cFt="⇎",dFt="≰",fFt="≦̸",hFt="⩽̸",pFt="⩽̸",mFt="≮",gFt="⋘̸",bFt="≴",yFt="≪⃒",vFt="≮",SFt="⋪",OFt="⋬",EFt="≪̸",wFt="∤",xFt="⁠",TFt=" ",kFt="𝕟",_Ft="ℕ",AFt="⫬",CFt="¬",RFt="≢",IFt="≭",DFt="∦",NFt="∉",PFt="≠",LFt="≂̸",MFt="∄",FFt="≯",$Ft="≱",BFt="≧̸",UFt="≫̸",zFt="≹",HFt="⩾̸",qFt="≵",jFt="≎̸",WFt="≏̸",QFt="∉",VFt="⋵̸",GFt="⋹̸",YFt="∉",ZFt="⋷",XFt="⋶",KFt="⧏̸",JFt="⋪",e$t="⋬",t$t="≮",n$t="≰",r$t="≸",i$t="≪̸",s$t="⩽̸",a$t="≴",o$t="⪢̸",l$t="⪡̸",u$t="∌",c$t="∌",d$t="⋾",f$t="⋽",h$t="⊀",p$t="⪯̸",m$t="⋠",g$t="∌",b$t="⧐̸",y$t="⋫",v$t="⋭",S$t="⊏̸",O$t="⋢",E$t="⊐̸",w$t="⋣",x$t="⊂⃒",T$t="⊈",k$t="⊁",_$t="⪰̸",A$t="⋡",C$t="≿̸",R$t="⊃⃒",I$t="⊉",D$t="≁",N$t="≄",P$t="≇",L$t="≉",M$t="∤",F$t="∦",$$t="∦",B$t="⫽⃥",U$t="∂̸",z$t="⨔",H$t="⊀",q$t="⋠",j$t="⊀",W$t="⪯̸",Q$t="⪯̸",V$t="⤳̸",G$t="↛",Y$t="⇏",Z$t="↝̸",X$t="↛",K$t="⇏",J$t="⋫",eBt="⋭",tBt="⊁",nBt="⋡",rBt="⪰̸",iBt="𝒩",sBt="𝓃",aBt="∤",oBt="∦",lBt="≁",uBt="≄",cBt="≄",dBt="∤",fBt="∦",hBt="⋢",pBt="⋣",mBt="⊄",gBt="⫅̸",bBt="⊈",yBt="⊂⃒",vBt="⊈",SBt="⫅̸",OBt="⊁",EBt="⪰̸",wBt="⊅",xBt="⫆̸",TBt="⊉",kBt="⊃⃒",_Bt="⊉",ABt="⫆̸",CBt="≹",RBt="Ñ",IBt="ñ",DBt="≸",NBt="⋪",PBt="⋬",LBt="⋫",MBt="⋭",FBt="Ν",$Bt="ν",BBt="#",UBt="№",zBt=" ",HBt="≍⃒",qBt="⊬",jBt="⊭",WBt="⊮",QBt="⊯",VBt="≥⃒",GBt=">⃒",YBt="⤄",ZBt="⧞",XBt="⤂",KBt="≤⃒",JBt="<⃒",eUt="⊴⃒",tUt="⤃",nUt="⊵⃒",rUt="∼⃒",iUt="⤣",sUt="↖",aUt="⇖",oUt="↖",lUt="⤧",uUt="Ó",cUt="ó",dUt="⊛",fUt="Ô",hUt="ô",pUt="⊚",mUt="О",gUt="о",bUt="⊝",yUt="Ő",vUt="ő",SUt="⨸",OUt="⊙",EUt="⦼",wUt="Œ",xUt="œ",TUt="⦿",kUt="𝔒",_Ut="𝔬",AUt="˛",CUt="Ò",RUt="ò",IUt="⧁",DUt="⦵",NUt="Ω",PUt="∮",LUt="↺",MUt="⦾",FUt="⦻",$Ut="‾",BUt="⧀",UUt="Ō",zUt="ō",HUt="Ω",qUt="ω",jUt="Ο",WUt="ο",QUt="⦶",VUt="⊖",GUt="𝕆",YUt="𝕠",ZUt="⦷",XUt="“",KUt="‘",JUt="⦹",ezt="⊕",tzt="↻",nzt="⩔",rzt="∨",izt="⩝",szt="ℴ",azt="ℴ",ozt="ª",lzt="º",uzt="⊶",czt="⩖",dzt="⩗",fzt="⩛",hzt="Ⓢ",pzt="𝒪",mzt="ℴ",gzt="Ø",bzt="ø",yzt="⊘",vzt="Õ",Szt="õ",Ozt="⨶",Ezt="⨷",wzt="⊗",xzt="Ö",Tzt="ö",kzt="⌽",_zt="‾",Azt="⏞",Czt="⎴",Rzt="⏜",Izt="¶",Dzt="∥",Nzt="∥",Pzt="⫳",Lzt="⫽",Mzt="∂",Fzt="∂",$zt="П",Bzt="п",Uzt="%",zzt=".",Hzt="‰",qzt="⊥",jzt="‱",Wzt="𝔓",Qzt="𝔭",Vzt="Φ",Gzt="φ",Yzt="ϕ",Zzt="ℳ",Xzt="☎",Kzt="Π",Jzt="π",eHt="⋔",tHt="ϖ",nHt="ℏ",rHt="ℎ",iHt="ℏ",sHt="⨣",aHt="⊞",oHt="⨢",lHt="+",uHt="∔",cHt="⨥",dHt="⩲",fHt="±",hHt="±",pHt="⨦",mHt="⨧",gHt="±",bHt="ℌ",yHt="⨕",vHt="𝕡",SHt="ℙ",OHt="£",EHt="⪷",wHt="⪻",xHt="≺",THt="≼",kHt="⪷",_Ht="≺",AHt="≼",CHt="≺",RHt="⪯",IHt="≼",DHt="≾",NHt="⪯",PHt="⪹",LHt="⪵",MHt="⋨",FHt="⪯",$Ht="⪳",BHt="≾",UHt="′",zHt="″",HHt="ℙ",qHt="⪹",jHt="⪵",WHt="⋨",QHt="∏",VHt="∏",GHt="⌮",YHt="⌒",ZHt="⌓",XHt="∝",KHt="∝",JHt="∷",eqt="∝",tqt="≾",nqt="⊰",rqt="𝒫",iqt="𝓅",sqt="Ψ",aqt="ψ",oqt=" ",lqt="𝔔",uqt="𝔮",cqt="⨌",dqt="𝕢",fqt="ℚ",hqt="⁗",pqt="𝒬",mqt="𝓆",gqt="ℍ",bqt="⨖",yqt="?",vqt="≟",Sqt='"',Oqt='"',Eqt="⇛",wqt="∽̱",xqt="Ŕ",Tqt="ŕ",kqt="√",_qt="⦳",Aqt="⟩",Cqt="⟫",Rqt="⦒",Iqt="⦥",Dqt="⟩",Nqt="»",Pqt="⥵",Lqt="⇥",Mqt="⤠",Fqt="⤳",$qt="→",Bqt="↠",Uqt="⇒",zqt="⤞",Hqt="↪",qqt="↬",jqt="⥅",Wqt="⥴",Qqt="⤖",Vqt="↣",Gqt="↝",Yqt="⤚",Zqt="⤜",Xqt="∶",Kqt="ℚ",Jqt="⤍",ejt="⤏",tjt="⤐",njt="❳",rjt="}",ijt="]",sjt="⦌",ajt="⦎",ojt="⦐",ljt="Ř",ujt="ř",cjt="Ŗ",djt="ŗ",fjt="⌉",hjt="}",pjt="Р",mjt="р",gjt="⤷",bjt="⥩",yjt="”",vjt="”",Sjt="↳",Ojt="ℜ",Ejt="ℛ",wjt="ℜ",xjt="ℝ",Tjt="ℜ",kjt="▭",_jt="®",Ajt="®",Cjt="∋",Rjt="⇋",Ijt="⥯",Djt="⥽",Njt="⌋",Pjt="𝔯",Ljt="ℜ",Mjt="⥤",Fjt="⇁",$jt="⇀",Bjt="⥬",Ujt="Ρ",zjt="ρ",Hjt="ϱ",qjt="⟩",jjt="⇥",Wjt="→",Qjt="→",Vjt="⇒",Gjt="⇄",Yjt="↣",Zjt="⌉",Xjt="⟧",Kjt="⥝",Jjt="⥕",eWt="⇂",tWt="⌋",nWt="⇁",rWt="⇀",iWt="⇄",sWt="⇌",aWt="⇉",oWt="↝",lWt="↦",uWt="⊢",cWt="⥛",dWt="⋌",fWt="⧐",hWt="⊳",pWt="⊵",mWt="⥏",gWt="⥜",bWt="⥔",yWt="↾",vWt="⥓",SWt="⇀",OWt="˚",EWt="≓",wWt="⇄",xWt="⇌",TWt="‏",kWt="⎱",_Wt="⎱",AWt="⫮",CWt="⟭",RWt="⇾",IWt="⟧",DWt="⦆",NWt="𝕣",PWt="ℝ",LWt="⨮",MWt="⨵",FWt="⥰",$Wt=")",BWt="⦔",UWt="⨒",zWt="⇉",HWt="⇛",qWt="›",jWt="𝓇",WWt="ℛ",QWt="↱",VWt="↱",GWt="]",YWt="’",ZWt="’",XWt="⋌",KWt="⋊",JWt="▹",eQt="⊵",tQt="▸",nQt="⧎",rQt="⧴",iQt="⥨",sQt="℞",aQt="Ś",oQt="ś",lQt="‚",uQt="⪸",cQt="Š",dQt="š",fQt="⪼",hQt="≻",pQt="≽",mQt="⪰",gQt="⪴",bQt="Ş",yQt="ş",vQt="Ŝ",SQt="ŝ",OQt="⪺",EQt="⪶",wQt="⋩",xQt="⨓",TQt="≿",kQt="С",_Qt="с",AQt="⊡",CQt="⋅",RQt="⩦",IQt="⤥",DQt="↘",NQt="⇘",PQt="↘",LQt="§",MQt=";",FQt="⤩",$Qt="∖",BQt="∖",UQt="✶",zQt="𝔖",HQt="𝔰",qQt="⌢",jQt="♯",WQt="Щ",QQt="щ",VQt="Ш",GQt="ш",YQt="↓",ZQt="←",XQt="∣",KQt="∥",JQt="→",eVt="↑",tVt="­",nVt="Σ",rVt="σ",iVt="ς",sVt="ς",aVt="∼",oVt="⩪",lVt="≃",uVt="≃",cVt="⪞",dVt="⪠",fVt="⪝",hVt="⪟",pVt="≆",mVt="⨤",gVt="⥲",bVt="←",yVt="∘",vVt="∖",SVt="⨳",OVt="⧤",EVt="∣",wVt="⌣",xVt="⪪",TVt="⪬",kVt="⪬︀",_Vt="Ь",AVt="ь",CVt="⌿",RVt="⧄",IVt="/",DVt="𝕊",NVt="𝕤",PVt="♠",LVt="♠",MVt="∥",FVt="⊓",$Vt="⊓︀",BVt="⊔",UVt="⊔︀",zVt="√",HVt="⊏",qVt="⊑",jVt="⊏",WVt="⊑",QVt="⊐",VVt="⊒",GVt="⊐",YVt="⊒",ZVt="□",XVt="□",KVt="⊓",JVt="⊏",eGt="⊑",tGt="⊐",nGt="⊒",rGt="⊔",iGt="▪",sGt="□",aGt="▪",oGt="→",lGt="𝒮",uGt="𝓈",cGt="∖",dGt="⌣",fGt="⋆",hGt="⋆",pGt="☆",mGt="★",gGt="ϵ",bGt="ϕ",yGt="¯",vGt="⊂",SGt="⋐",OGt="⪽",EGt="⫅",wGt="⊆",xGt="⫃",TGt="⫁",kGt="⫋",_Gt="⊊",AGt="⪿",CGt="⥹",RGt="⊂",IGt="⋐",DGt="⊆",NGt="⫅",PGt="⊆",LGt="⊊",MGt="⫋",FGt="⫇",$Gt="⫕",BGt="⫓",UGt="⪸",zGt="≻",HGt="≽",qGt="≻",jGt="⪰",WGt="≽",QGt="≿",VGt="⪰",GGt="⪺",YGt="⪶",ZGt="⋩",XGt="≿",KGt="∋",JGt="∑",eYt="∑",tYt="♪",nYt="¹",rYt="²",iYt="³",sYt="⊃",aYt="⋑",oYt="⪾",lYt="⫘",uYt="⫆",cYt="⊇",dYt="⫄",fYt="⊃",hYt="⊇",pYt="⟉",mYt="⫗",gYt="⥻",bYt="⫂",yYt="⫌",vYt="⊋",SYt="⫀",OYt="⊃",EYt="⋑",wYt="⊇",xYt="⫆",TYt="⊋",kYt="⫌",_Yt="⫈",AYt="⫔",CYt="⫖",RYt="⤦",IYt="↙",DYt="⇙",NYt="↙",PYt="⤪",LYt="ß",MYt=" ",FYt="⌖",$Yt="Τ",BYt="τ",UYt="⎴",zYt="Ť",HYt="ť",qYt="Ţ",jYt="ţ",WYt="Т",QYt="т",VYt="⃛",GYt="⌕",YYt="𝔗",ZYt="𝔱",XYt="∴",KYt="∴",JYt="∴",eZt="Θ",tZt="θ",nZt="ϑ",rZt="ϑ",iZt="≈",sZt="∼",aZt="  ",oZt=" ",lZt=" ",uZt="≈",cZt="∼",dZt="Þ",fZt="þ",hZt="˜",pZt="∼",mZt="≃",gZt="≅",bZt="≈",yZt="⨱",vZt="⊠",SZt="×",OZt="⨰",EZt="∭",wZt="⤨",xZt="⌶",TZt="⫱",kZt="⊤",_Zt="𝕋",AZt="𝕥",CZt="⫚",RZt="⤩",IZt="‴",DZt="™",NZt="™",PZt="▵",LZt="▿",MZt="◃",FZt="⊴",$Zt="≜",BZt="▹",UZt="⊵",zZt="◬",HZt="≜",qZt="⨺",jZt="⃛",WZt="⨹",QZt="⧍",VZt="⨻",GZt="⏢",YZt="𝒯",ZZt="𝓉",XZt="Ц",KZt="ц",JZt="Ћ",eXt="ћ",tXt="Ŧ",nXt="ŧ",rXt="≬",iXt="↞",sXt="↠",aXt="Ú",oXt="ú",lXt="↑",uXt="↟",cXt="⇑",dXt="⥉",fXt="Ў",hXt="ў",pXt="Ŭ",mXt="ŭ",gXt="Û",bXt="û",yXt="У",vXt="у",SXt="⇅",OXt="Ű",EXt="ű",wXt="⥮",xXt="⥾",TXt="𝔘",kXt="𝔲",_Xt="Ù",AXt="ù",CXt="⥣",RXt="↿",IXt="↾",DXt="▀",NXt="⌜",PXt="⌜",LXt="⌏",MXt="◸",FXt="Ū",$Xt="ū",BXt="¨",UXt="_",zXt="⏟",HXt="⎵",qXt="⏝",jXt="⋃",WXt="⊎",QXt="Ų",VXt="ų",GXt="𝕌",YXt="𝕦",ZXt="⤒",XXt="↑",KXt="↑",JXt="⇑",eKt="⇅",tKt="↕",nKt="↕",rKt="⇕",iKt="⥮",sKt="↿",aKt="↾",oKt="⊎",lKt="↖",uKt="↗",cKt="υ",dKt="ϒ",fKt="ϒ",hKt="Υ",pKt="υ",mKt="↥",gKt="⊥",bKt="⇈",yKt="⌝",vKt="⌝",SKt="⌎",OKt="Ů",EKt="ů",wKt="◹",xKt="𝒰",TKt="𝓊",kKt="⋰",_Kt="Ũ",AKt="ũ",CKt="▵",RKt="▴",IKt="⇈",DKt="Ü",NKt="ü",PKt="⦧",LKt="⦜",MKt="ϵ",FKt="ϰ",$Kt="∅",BKt="ϕ",UKt="ϖ",zKt="∝",HKt="↕",qKt="⇕",jKt="ϱ",WKt="ς",QKt="⊊︀",VKt="⫋︀",GKt="⊋︀",YKt="⫌︀",ZKt="ϑ",XKt="⊲",KKt="⊳",JKt="⫨",eJt="⫫",tJt="⫩",nJt="В",rJt="в",iJt="⊢",sJt="⊨",aJt="⊩",oJt="⊫",lJt="⫦",uJt="⊻",cJt="∨",dJt="⋁",fJt="≚",hJt="⋮",pJt="|",mJt="‖",gJt="|",bJt="‖",yJt="∣",vJt="|",SJt="❘",OJt="≀",EJt=" ",wJt="𝔙",xJt="𝔳",TJt="⊲",kJt="⊂⃒",_Jt="⊃⃒",AJt="𝕍",CJt="𝕧",RJt="∝",IJt="⊳",DJt="𝒱",NJt="𝓋",PJt="⫋︀",LJt="⊊︀",MJt="⫌︀",FJt="⊋︀",$Jt="⊪",BJt="⦚",UJt="Ŵ",zJt="ŵ",HJt="⩟",qJt="∧",jJt="⋀",WJt="≙",QJt="℘",VJt="𝔚",GJt="𝔴",YJt="𝕎",ZJt="𝕨",XJt="℘",KJt="≀",JJt="≀",een="𝒲",ten="𝓌",nen="⋂",ren="◯",ien="⋃",sen="▽",aen="𝔛",oen="𝔵",len="⟷",uen="⟺",cen="Ξ",den="ξ",fen="⟵",hen="⟸",pen="⟼",men="⋻",gen="⨀",ben="𝕏",yen="𝕩",ven="⨁",Sen="⨂",Oen="⟶",Een="⟹",wen="𝒳",xen="𝓍",Ten="⨆",ken="⨄",_en="△",Aen="⋁",Cen="⋀",Ren="Ý",Ien="ý",Den="Я",Nen="я",Pen="Ŷ",Len="ŷ",Men="Ы",Fen="ы",$en="¥",Ben="𝔜",Uen="𝔶",zen="Ї",Hen="ї",qen="𝕐",jen="𝕪",Wen="𝒴",Qen="𝓎",Ven="Ю",Gen="ю",Yen="ÿ",Zen="Ÿ",Xen="Ź",Ken="ź",Jen="Ž",etn="ž",ttn="З",ntn="з",rtn="Ż",itn="ż",stn="ℨ",atn="​",otn="Ζ",ltn="ζ",utn="𝔷",ctn="ℨ",dtn="Ж",ftn="ж",htn="⇝",ptn="𝕫",mtn="ℤ",gtn="𝒵",btn="𝓏",ytn="‍",vtn="‌",Stn={Aacute:rwt,aacute:iwt,Abreve:swt,abreve:awt,ac:owt,acd:lwt,acE:uwt,Acirc:cwt,acirc:dwt,acute:fwt,Acy:hwt,acy:pwt,AElig:mwt,aelig:gwt,af:bwt,Afr:ywt,afr:vwt,Agrave:Swt,agrave:Owt,alefsym:Ewt,aleph:wwt,Alpha:xwt,alpha:Twt,Amacr:kwt,amacr:_wt,amalg:Awt,amp:Cwt,AMP:Rwt,andand:Iwt,And:Dwt,and:Nwt,andd:Pwt,andslope:Lwt,andv:Mwt,ang:Fwt,ange:$wt,angle:Bwt,angmsdaa:Uwt,angmsdab:zwt,angmsdac:Hwt,angmsdad:qwt,angmsdae:jwt,angmsdaf:Wwt,angmsdag:Qwt,angmsdah:Vwt,angmsd:Gwt,angrt:Ywt,angrtvb:Zwt,angrtvbd:Xwt,angsph:Kwt,angst:Jwt,angzarr:ext,Aogon:txt,aogon:nxt,Aopf:rxt,aopf:ixt,apacir:sxt,ap:axt,apE:oxt,ape:lxt,apid:uxt,apos:cxt,ApplyFunction:dxt,approx:fxt,approxeq:hxt,Aring:pxt,aring:mxt,Ascr:gxt,ascr:bxt,Assign:yxt,ast:vxt,asymp:Sxt,asympeq:Oxt,Atilde:Ext,atilde:wxt,Auml:xxt,auml:Txt,awconint:kxt,awint:_xt,backcong:Axt,backepsilon:Cxt,backprime:Rxt,backsim:Ixt,backsimeq:Dxt,Backslash:Nxt,Barv:Pxt,barvee:Lxt,barwed:Mxt,Barwed:Fxt,barwedge:$xt,bbrk:Bxt,bbrktbrk:Uxt,bcong:zxt,Bcy:Hxt,bcy:qxt,bdquo:jxt,becaus:Wxt,because:Qxt,Because:Vxt,bemptyv:Gxt,bepsi:Yxt,bernou:Zxt,Bernoullis:Xxt,Beta:Kxt,beta:Jxt,beth:eTt,between:tTt,Bfr:nTt,bfr:rTt,bigcap:iTt,bigcirc:sTt,bigcup:aTt,bigodot:oTt,bigoplus:lTt,bigotimes:uTt,bigsqcup:cTt,bigstar:dTt,bigtriangledown:fTt,bigtriangleup:hTt,biguplus:pTt,bigvee:mTt,bigwedge:gTt,bkarow:bTt,blacklozenge:yTt,blacksquare:vTt,blacktriangle:STt,blacktriangledown:OTt,blacktriangleleft:ETt,blacktriangleright:wTt,blank:xTt,blk12:TTt,blk14:kTt,blk34:_Tt,block:ATt,bne:CTt,bnequiv:RTt,bNot:ITt,bnot:DTt,Bopf:NTt,bopf:PTt,bot:LTt,bottom:MTt,bowtie:FTt,boxbox:$Tt,boxdl:BTt,boxdL:UTt,boxDl:zTt,boxDL:HTt,boxdr:qTt,boxdR:jTt,boxDr:WTt,boxDR:QTt,boxh:VTt,boxH:GTt,boxhd:YTt,boxHd:ZTt,boxhD:XTt,boxHD:KTt,boxhu:JTt,boxHu:ekt,boxhU:tkt,boxHU:nkt,boxminus:rkt,boxplus:ikt,boxtimes:skt,boxul:akt,boxuL:okt,boxUl:lkt,boxUL:ukt,boxur:ckt,boxuR:dkt,boxUr:fkt,boxUR:hkt,boxv:pkt,boxV:mkt,boxvh:gkt,boxvH:bkt,boxVh:ykt,boxVH:vkt,boxvl:Skt,boxvL:Okt,boxVl:Ekt,boxVL:wkt,boxvr:xkt,boxvR:Tkt,boxVr:kkt,boxVR:_kt,bprime:Akt,breve:Ckt,Breve:Rkt,brvbar:Ikt,bscr:Dkt,Bscr:Nkt,bsemi:Pkt,bsim:Lkt,bsime:Mkt,bsolb:Fkt,bsol:$kt,bsolhsub:Bkt,bull:Ukt,bullet:zkt,bump:Hkt,bumpE:qkt,bumpe:jkt,Bumpeq:Wkt,bumpeq:Qkt,Cacute:Vkt,cacute:Gkt,capand:Ykt,capbrcup:Zkt,capcap:Xkt,cap:Kkt,Cap:Jkt,capcup:e_t,capdot:t_t,CapitalDifferentialD:n_t,caps:r_t,caret:i_t,caron:s_t,Cayleys:a_t,ccaps:o_t,Ccaron:l_t,ccaron:u_t,Ccedil:c_t,ccedil:d_t,Ccirc:f_t,ccirc:h_t,Cconint:p_t,ccups:m_t,ccupssm:g_t,Cdot:b_t,cdot:y_t,cedil:v_t,Cedilla:S_t,cemptyv:O_t,cent:E_t,centerdot:w_t,CenterDot:x_t,cfr:T_t,Cfr:k_t,CHcy:__t,chcy:A_t,check:C_t,checkmark:R_t,Chi:I_t,chi:D_t,circ:N_t,circeq:P_t,circlearrowleft:L_t,circlearrowright:M_t,circledast:F_t,circledcirc:$_t,circleddash:B_t,CircleDot:U_t,circledR:z_t,circledS:H_t,CircleMinus:q_t,CirclePlus:j_t,CircleTimes:W_t,cir:Q_t,cirE:V_t,cire:G_t,cirfnint:Y_t,cirmid:Z_t,cirscir:X_t,ClockwiseContourIntegral:K_t,CloseCurlyDoubleQuote:J_t,CloseCurlyQuote:eAt,clubs:tAt,clubsuit:nAt,colon:rAt,Colon:iAt,Colone:sAt,colone:aAt,coloneq:oAt,comma:lAt,commat:uAt,comp:cAt,compfn:dAt,complement:fAt,complexes:hAt,cong:pAt,congdot:mAt,Congruent:gAt,conint:bAt,Conint:yAt,ContourIntegral:vAt,copf:SAt,Copf:OAt,coprod:EAt,Coproduct:wAt,copy:xAt,COPY:TAt,copysr:kAt,CounterClockwiseContourIntegral:_At,crarr:AAt,cross:CAt,Cross:RAt,Cscr:IAt,cscr:DAt,csub:NAt,csube:PAt,csup:LAt,csupe:MAt,ctdot:FAt,cudarrl:$At,cudarrr:BAt,cuepr:UAt,cuesc:zAt,cularr:HAt,cularrp:qAt,cupbrcap:jAt,cupcap:WAt,CupCap:QAt,cup:VAt,Cup:GAt,cupcup:YAt,cupdot:ZAt,cupor:XAt,cups:KAt,curarr:JAt,curarrm:eCt,curlyeqprec:tCt,curlyeqsucc:nCt,curlyvee:rCt,curlywedge:iCt,curren:sCt,curvearrowleft:aCt,curvearrowright:oCt,cuvee:lCt,cuwed:uCt,cwconint:cCt,cwint:dCt,cylcty:fCt,dagger:hCt,Dagger:pCt,daleth:mCt,darr:gCt,Darr:bCt,dArr:yCt,dash:vCt,Dashv:SCt,dashv:OCt,dbkarow:ECt,dblac:wCt,Dcaron:xCt,dcaron:TCt,Dcy:kCt,dcy:_Ct,ddagger:ACt,ddarr:CCt,DD:RCt,dd:ICt,DDotrahd:DCt,ddotseq:NCt,deg:PCt,Del:LCt,Delta:MCt,delta:FCt,demptyv:$Ct,dfisht:BCt,Dfr:UCt,dfr:zCt,dHar:HCt,dharl:qCt,dharr:jCt,DiacriticalAcute:WCt,DiacriticalDot:QCt,DiacriticalDoubleAcute:VCt,DiacriticalGrave:GCt,DiacriticalTilde:YCt,diam:ZCt,diamond:XCt,Diamond:KCt,diamondsuit:JCt,diams:e4t,die:t4t,DifferentialD:n4t,digamma:r4t,disin:i4t,div:s4t,divide:a4t,divideontimes:o4t,divonx:l4t,DJcy:u4t,djcy:c4t,dlcorn:d4t,dlcrop:f4t,dollar:h4t,Dopf:p4t,dopf:m4t,Dot:g4t,dot:b4t,DotDot:y4t,doteq:v4t,doteqdot:S4t,DotEqual:O4t,dotminus:E4t,dotplus:w4t,dotsquare:x4t,doublebarwedge:T4t,DoubleContourIntegral:k4t,DoubleDot:_4t,DoubleDownArrow:A4t,DoubleLeftArrow:C4t,DoubleLeftRightArrow:R4t,DoubleLeftTee:I4t,DoubleLongLeftArrow:D4t,DoubleLongLeftRightArrow:N4t,DoubleLongRightArrow:P4t,DoubleRightArrow:L4t,DoubleRightTee:M4t,DoubleUpArrow:F4t,DoubleUpDownArrow:$4t,DoubleVerticalBar:B4t,DownArrowBar:U4t,downarrow:z4t,DownArrow:H4t,Downarrow:q4t,DownArrowUpArrow:j4t,DownBreve:W4t,downdownarrows:Q4t,downharpoonleft:V4t,downharpoonright:G4t,DownLeftRightVector:Y4t,DownLeftTeeVector:Z4t,DownLeftVectorBar:X4t,DownLeftVector:K4t,DownRightTeeVector:J4t,DownRightVectorBar:e3t,DownRightVector:t3t,DownTeeArrow:n3t,DownTee:r3t,drbkarow:i3t,drcorn:s3t,drcrop:a3t,Dscr:o3t,dscr:l3t,DScy:u3t,dscy:c3t,dsol:d3t,Dstrok:f3t,dstrok:h3t,dtdot:p3t,dtri:m3t,dtrif:g3t,duarr:b3t,duhar:y3t,dwangle:v3t,DZcy:S3t,dzcy:O3t,dzigrarr:E3t,Eacute:w3t,eacute:x3t,easter:T3t,Ecaron:k3t,ecaron:_3t,Ecirc:A3t,ecirc:C3t,ecir:R3t,ecolon:I3t,Ecy:D3t,ecy:N3t,eDDot:P3t,Edot:L3t,edot:M3t,eDot:F3t,ee:$3t,efDot:B3t,Efr:U3t,efr:z3t,eg:H3t,Egrave:q3t,egrave:j3t,egs:W3t,egsdot:Q3t,el:V3t,Element:G3t,elinters:Y3t,ell:Z3t,els:X3t,elsdot:K3t,Emacr:J3t,emacr:eRt,empty:tRt,emptyset:nRt,EmptySmallSquare:rRt,emptyv:iRt,EmptyVerySmallSquare:sRt,emsp13:aRt,emsp14:oRt,emsp:lRt,ENG:uRt,eng:cRt,ensp:dRt,Eogon:fRt,eogon:hRt,Eopf:pRt,eopf:mRt,epar:gRt,eparsl:bRt,eplus:yRt,epsi:vRt,Epsilon:SRt,epsilon:ORt,epsiv:ERt,eqcirc:wRt,eqcolon:xRt,eqsim:TRt,eqslantgtr:kRt,eqslantless:_Rt,Equal:ARt,equals:CRt,EqualTilde:RRt,equest:IRt,Equilibrium:DRt,equiv:NRt,equivDD:PRt,eqvparsl:LRt,erarr:MRt,erDot:FRt,escr:$Rt,Escr:BRt,esdot:URt,Esim:zRt,esim:HRt,Eta:qRt,eta:jRt,ETH:WRt,eth:QRt,Euml:VRt,euml:GRt,euro:YRt,excl:ZRt,exist:XRt,Exists:KRt,expectation:JRt,exponentiale:e5t,ExponentialE:t5t,fallingdotseq:n5t,Fcy:r5t,fcy:i5t,female:s5t,ffilig:a5t,fflig:o5t,ffllig:l5t,Ffr:u5t,ffr:c5t,filig:d5t,FilledSmallSquare:f5t,FilledVerySmallSquare:h5t,fjlig:p5t,flat:m5t,fllig:g5t,fltns:b5t,fnof:y5t,Fopf:v5t,fopf:S5t,forall:O5t,ForAll:E5t,fork:w5t,forkv:x5t,Fouriertrf:T5t,fpartint:k5t,frac12:_5t,frac13:A5t,frac14:C5t,frac15:R5t,frac16:I5t,frac18:D5t,frac23:N5t,frac25:P5t,frac34:L5t,frac35:M5t,frac38:F5t,frac45:$5t,frac56:B5t,frac58:U5t,frac78:z5t,frasl:H5t,frown:q5t,fscr:j5t,Fscr:W5t,gacute:Q5t,Gamma:V5t,gamma:G5t,Gammad:Y5t,gammad:Z5t,gap:X5t,Gbreve:K5t,gbreve:J5t,Gcedil:eIt,Gcirc:tIt,gcirc:nIt,Gcy:rIt,gcy:iIt,Gdot:sIt,gdot:aIt,ge:oIt,gE:lIt,gEl:uIt,gel:cIt,geq:dIt,geqq:fIt,geqslant:hIt,gescc:pIt,ges:mIt,gesdot:gIt,gesdoto:bIt,gesdotol:yIt,gesl:vIt,gesles:SIt,Gfr:OIt,gfr:EIt,gg:wIt,Gg:xIt,ggg:TIt,gimel:kIt,GJcy:_It,gjcy:AIt,gla:CIt,gl:RIt,glE:IIt,glj:DIt,gnap:NIt,gnapprox:PIt,gne:LIt,gnE:MIt,gneq:FIt,gneqq:$It,gnsim:BIt,Gopf:UIt,gopf:zIt,grave:HIt,GreaterEqual:qIt,GreaterEqualLess:jIt,GreaterFullEqual:WIt,GreaterGreater:QIt,GreaterLess:VIt,GreaterSlantEqual:GIt,GreaterTilde:YIt,Gscr:ZIt,gscr:XIt,gsim:KIt,gsime:JIt,gsiml:e6t,gtcc:t6t,gtcir:n6t,gt:r6t,GT:i6t,Gt:s6t,gtdot:a6t,gtlPar:o6t,gtquest:l6t,gtrapprox:u6t,gtrarr:c6t,gtrdot:d6t,gtreqless:f6t,gtreqqless:h6t,gtrless:p6t,gtrsim:m6t,gvertneqq:g6t,gvnE:b6t,Hacek:y6t,hairsp:v6t,half:S6t,hamilt:O6t,HARDcy:E6t,hardcy:w6t,harrcir:x6t,harr:T6t,hArr:k6t,harrw:_6t,Hat:A6t,hbar:C6t,Hcirc:R6t,hcirc:I6t,hearts:D6t,heartsuit:N6t,hellip:P6t,hercon:L6t,hfr:M6t,Hfr:F6t,HilbertSpace:$6t,hksearow:B6t,hkswarow:U6t,hoarr:z6t,homtht:H6t,hookleftarrow:q6t,hookrightarrow:j6t,hopf:W6t,Hopf:Q6t,horbar:V6t,HorizontalLine:G6t,hscr:Y6t,Hscr:Z6t,hslash:X6t,Hstrok:K6t,hstrok:J6t,HumpDownHump:eDt,HumpEqual:tDt,hybull:nDt,hyphen:rDt,Iacute:iDt,iacute:sDt,ic:aDt,Icirc:oDt,icirc:lDt,Icy:uDt,icy:cDt,Idot:dDt,IEcy:fDt,iecy:hDt,iexcl:pDt,iff:mDt,ifr:gDt,Ifr:bDt,Igrave:yDt,igrave:vDt,ii:SDt,iiiint:ODt,iiint:EDt,iinfin:wDt,iiota:xDt,IJlig:TDt,ijlig:kDt,Imacr:_Dt,imacr:ADt,image:CDt,ImaginaryI:RDt,imagline:IDt,imagpart:DDt,imath:NDt,Im:PDt,imof:LDt,imped:MDt,Implies:FDt,incare:$Dt,in:"∈",infin:BDt,infintie:UDt,inodot:zDt,intcal:HDt,int:qDt,Int:jDt,integers:WDt,Integral:QDt,intercal:VDt,Intersection:GDt,intlarhk:YDt,intprod:ZDt,InvisibleComma:XDt,InvisibleTimes:KDt,IOcy:JDt,iocy:eNt,Iogon:tNt,iogon:nNt,Iopf:rNt,iopf:iNt,Iota:sNt,iota:aNt,iprod:oNt,iquest:lNt,iscr:uNt,Iscr:cNt,isin:dNt,isindot:fNt,isinE:hNt,isins:pNt,isinsv:mNt,isinv:gNt,it:bNt,Itilde:yNt,itilde:vNt,Iukcy:SNt,iukcy:ONt,Iuml:ENt,iuml:wNt,Jcirc:xNt,jcirc:TNt,Jcy:kNt,jcy:_Nt,Jfr:ANt,jfr:CNt,jmath:RNt,Jopf:INt,jopf:DNt,Jscr:NNt,jscr:PNt,Jsercy:LNt,jsercy:MNt,Jukcy:FNt,jukcy:$Nt,Kappa:BNt,kappa:UNt,kappav:zNt,Kcedil:HNt,kcedil:qNt,Kcy:jNt,kcy:WNt,Kfr:QNt,kfr:VNt,kgreen:GNt,KHcy:YNt,khcy:ZNt,KJcy:XNt,kjcy:KNt,Kopf:JNt,kopf:e7t,Kscr:t7t,kscr:n7t,lAarr:r7t,Lacute:i7t,lacute:s7t,laemptyv:a7t,lagran:o7t,Lambda:l7t,lambda:u7t,lang:c7t,Lang:d7t,langd:f7t,langle:h7t,lap:p7t,Laplacetrf:m7t,laquo:g7t,larrb:b7t,larrbfs:y7t,larr:v7t,Larr:S7t,lArr:O7t,larrfs:E7t,larrhk:w7t,larrlp:x7t,larrpl:T7t,larrsim:k7t,larrtl:_7t,latail:A7t,lAtail:C7t,lat:R7t,late:I7t,lates:D7t,lbarr:N7t,lBarr:P7t,lbbrk:L7t,lbrace:M7t,lbrack:F7t,lbrke:$7t,lbrksld:B7t,lbrkslu:U7t,Lcaron:z7t,lcaron:H7t,Lcedil:q7t,lcedil:j7t,lceil:W7t,lcub:Q7t,Lcy:V7t,lcy:G7t,ldca:Y7t,ldquo:Z7t,ldquor:X7t,ldrdhar:K7t,ldrushar:J7t,ldsh:ePt,le:tPt,lE:nPt,LeftAngleBracket:rPt,LeftArrowBar:iPt,leftarrow:sPt,LeftArrow:aPt,Leftarrow:oPt,LeftArrowRightArrow:lPt,leftarrowtail:uPt,LeftCeiling:cPt,LeftDoubleBracket:dPt,LeftDownTeeVector:fPt,LeftDownVectorBar:hPt,LeftDownVector:pPt,LeftFloor:mPt,leftharpoondown:gPt,leftharpoonup:bPt,leftleftarrows:yPt,leftrightarrow:vPt,LeftRightArrow:SPt,Leftrightarrow:OPt,leftrightarrows:EPt,leftrightharpoons:wPt,leftrightsquigarrow:xPt,LeftRightVector:TPt,LeftTeeArrow:kPt,LeftTee:_Pt,LeftTeeVector:APt,leftthreetimes:CPt,LeftTriangleBar:RPt,LeftTriangle:IPt,LeftTriangleEqual:DPt,LeftUpDownVector:NPt,LeftUpTeeVector:PPt,LeftUpVectorBar:LPt,LeftUpVector:MPt,LeftVectorBar:FPt,LeftVector:$Pt,lEg:BPt,leg:UPt,leq:zPt,leqq:HPt,leqslant:qPt,lescc:jPt,les:WPt,lesdot:QPt,lesdoto:VPt,lesdotor:GPt,lesg:YPt,lesges:ZPt,lessapprox:XPt,lessdot:KPt,lesseqgtr:JPt,lesseqqgtr:eLt,LessEqualGreater:tLt,LessFullEqual:nLt,LessGreater:rLt,lessgtr:iLt,LessLess:sLt,lesssim:aLt,LessSlantEqual:oLt,LessTilde:lLt,lfisht:uLt,lfloor:cLt,Lfr:dLt,lfr:fLt,lg:hLt,lgE:pLt,lHar:mLt,lhard:gLt,lharu:bLt,lharul:yLt,lhblk:vLt,LJcy:SLt,ljcy:OLt,llarr:ELt,ll:wLt,Ll:xLt,llcorner:TLt,Lleftarrow:kLt,llhard:_Lt,lltri:ALt,Lmidot:CLt,lmidot:RLt,lmoustache:ILt,lmoust:DLt,lnap:NLt,lnapprox:PLt,lne:LLt,lnE:MLt,lneq:FLt,lneqq:$Lt,lnsim:BLt,loang:ULt,loarr:zLt,lobrk:HLt,longleftarrow:qLt,LongLeftArrow:jLt,Longleftarrow:WLt,longleftrightarrow:QLt,LongLeftRightArrow:VLt,Longleftrightarrow:GLt,longmapsto:YLt,longrightarrow:ZLt,LongRightArrow:XLt,Longrightarrow:KLt,looparrowleft:JLt,looparrowright:e8t,lopar:t8t,Lopf:n8t,lopf:r8t,loplus:i8t,lotimes:s8t,lowast:a8t,lowbar:o8t,LowerLeftArrow:l8t,LowerRightArrow:u8t,loz:c8t,lozenge:d8t,lozf:f8t,lpar:h8t,lparlt:p8t,lrarr:m8t,lrcorner:g8t,lrhar:b8t,lrhard:y8t,lrm:v8t,lrtri:S8t,lsaquo:O8t,lscr:E8t,Lscr:w8t,lsh:x8t,Lsh:T8t,lsim:k8t,lsime:_8t,lsimg:A8t,lsqb:C8t,lsquo:R8t,lsquor:I8t,Lstrok:D8t,lstrok:N8t,ltcc:P8t,ltcir:L8t,lt:M8t,LT:F8t,Lt:$8t,ltdot:B8t,lthree:U8t,ltimes:z8t,ltlarr:H8t,ltquest:q8t,ltri:j8t,ltrie:W8t,ltrif:Q8t,ltrPar:V8t,lurdshar:G8t,luruhar:Y8t,lvertneqq:Z8t,lvnE:X8t,macr:K8t,male:J8t,malt:eMt,maltese:tMt,Map:"⤅",map:nMt,mapsto:rMt,mapstodown:iMt,mapstoleft:sMt,mapstoup:aMt,marker:oMt,mcomma:lMt,Mcy:uMt,mcy:cMt,mdash:dMt,mDDot:fMt,measuredangle:hMt,MediumSpace:pMt,Mellintrf:mMt,Mfr:gMt,mfr:bMt,mho:yMt,micro:vMt,midast:SMt,midcir:OMt,mid:EMt,middot:wMt,minusb:xMt,minus:TMt,minusd:kMt,minusdu:_Mt,MinusPlus:AMt,mlcp:CMt,mldr:RMt,mnplus:IMt,models:DMt,Mopf:NMt,mopf:PMt,mp:LMt,mscr:MMt,Mscr:FMt,mstpos:$Mt,Mu:BMt,mu:UMt,multimap:zMt,mumap:HMt,nabla:qMt,Nacute:jMt,nacute:WMt,nang:QMt,nap:VMt,napE:GMt,napid:YMt,napos:ZMt,napprox:XMt,natural:KMt,naturals:JMt,natur:e9t,nbsp:t9t,nbump:n9t,nbumpe:r9t,ncap:i9t,Ncaron:s9t,ncaron:a9t,Ncedil:o9t,ncedil:l9t,ncong:u9t,ncongdot:c9t,ncup:d9t,Ncy:f9t,ncy:h9t,ndash:p9t,nearhk:m9t,nearr:g9t,neArr:b9t,nearrow:y9t,ne:v9t,nedot:S9t,NegativeMediumSpace:O9t,NegativeThickSpace:E9t,NegativeThinSpace:w9t,NegativeVeryThinSpace:x9t,nequiv:T9t,nesear:k9t,nesim:_9t,NestedGreaterGreater:A9t,NestedLessLess:C9t,NewLine:R9t,nexist:I9t,nexists:D9t,Nfr:N9t,nfr:P9t,ngE:L9t,nge:M9t,ngeq:F9t,ngeqq:$9t,ngeqslant:B9t,nges:U9t,nGg:z9t,ngsim:H9t,nGt:q9t,ngt:j9t,ngtr:W9t,nGtv:Q9t,nharr:V9t,nhArr:G9t,nhpar:Y9t,ni:Z9t,nis:X9t,nisd:K9t,niv:J9t,NJcy:eFt,njcy:tFt,nlarr:nFt,nlArr:rFt,nldr:iFt,nlE:sFt,nle:aFt,nleftarrow:oFt,nLeftarrow:lFt,nleftrightarrow:uFt,nLeftrightarrow:cFt,nleq:dFt,nleqq:fFt,nleqslant:hFt,nles:pFt,nless:mFt,nLl:gFt,nlsim:bFt,nLt:yFt,nlt:vFt,nltri:SFt,nltrie:OFt,nLtv:EFt,nmid:wFt,NoBreak:xFt,NonBreakingSpace:TFt,nopf:kFt,Nopf:_Ft,Not:AFt,not:CFt,NotCongruent:RFt,NotCupCap:IFt,NotDoubleVerticalBar:DFt,NotElement:NFt,NotEqual:PFt,NotEqualTilde:LFt,NotExists:MFt,NotGreater:FFt,NotGreaterEqual:$Ft,NotGreaterFullEqual:BFt,NotGreaterGreater:UFt,NotGreaterLess:zFt,NotGreaterSlantEqual:HFt,NotGreaterTilde:qFt,NotHumpDownHump:jFt,NotHumpEqual:WFt,notin:QFt,notindot:VFt,notinE:GFt,notinva:YFt,notinvb:ZFt,notinvc:XFt,NotLeftTriangleBar:KFt,NotLeftTriangle:JFt,NotLeftTriangleEqual:e$t,NotLess:t$t,NotLessEqual:n$t,NotLessGreater:r$t,NotLessLess:i$t,NotLessSlantEqual:s$t,NotLessTilde:a$t,NotNestedGreaterGreater:o$t,NotNestedLessLess:l$t,notni:u$t,notniva:c$t,notnivb:d$t,notnivc:f$t,NotPrecedes:h$t,NotPrecedesEqual:p$t,NotPrecedesSlantEqual:m$t,NotReverseElement:g$t,NotRightTriangleBar:b$t,NotRightTriangle:y$t,NotRightTriangleEqual:v$t,NotSquareSubset:S$t,NotSquareSubsetEqual:O$t,NotSquareSuperset:E$t,NotSquareSupersetEqual:w$t,NotSubset:x$t,NotSubsetEqual:T$t,NotSucceeds:k$t,NotSucceedsEqual:_$t,NotSucceedsSlantEqual:A$t,NotSucceedsTilde:C$t,NotSuperset:R$t,NotSupersetEqual:I$t,NotTilde:D$t,NotTildeEqual:N$t,NotTildeFullEqual:P$t,NotTildeTilde:L$t,NotVerticalBar:M$t,nparallel:F$t,npar:$$t,nparsl:B$t,npart:U$t,npolint:z$t,npr:H$t,nprcue:q$t,nprec:j$t,npreceq:W$t,npre:Q$t,nrarrc:V$t,nrarr:G$t,nrArr:Y$t,nrarrw:Z$t,nrightarrow:X$t,nRightarrow:K$t,nrtri:J$t,nrtrie:eBt,nsc:tBt,nsccue:nBt,nsce:rBt,Nscr:iBt,nscr:sBt,nshortmid:aBt,nshortparallel:oBt,nsim:lBt,nsime:uBt,nsimeq:cBt,nsmid:dBt,nspar:fBt,nsqsube:hBt,nsqsupe:pBt,nsub:mBt,nsubE:gBt,nsube:bBt,nsubset:yBt,nsubseteq:vBt,nsubseteqq:SBt,nsucc:OBt,nsucceq:EBt,nsup:wBt,nsupE:xBt,nsupe:TBt,nsupset:kBt,nsupseteq:_Bt,nsupseteqq:ABt,ntgl:CBt,Ntilde:RBt,ntilde:IBt,ntlg:DBt,ntriangleleft:NBt,ntrianglelefteq:PBt,ntriangleright:LBt,ntrianglerighteq:MBt,Nu:FBt,nu:$Bt,num:BBt,numero:UBt,numsp:zBt,nvap:HBt,nvdash:qBt,nvDash:jBt,nVdash:WBt,nVDash:QBt,nvge:VBt,nvgt:GBt,nvHarr:YBt,nvinfin:ZBt,nvlArr:XBt,nvle:KBt,nvlt:JBt,nvltrie:eUt,nvrArr:tUt,nvrtrie:nUt,nvsim:rUt,nwarhk:iUt,nwarr:sUt,nwArr:aUt,nwarrow:oUt,nwnear:lUt,Oacute:uUt,oacute:cUt,oast:dUt,Ocirc:fUt,ocirc:hUt,ocir:pUt,Ocy:mUt,ocy:gUt,odash:bUt,Odblac:yUt,odblac:vUt,odiv:SUt,odot:OUt,odsold:EUt,OElig:wUt,oelig:xUt,ofcir:TUt,Ofr:kUt,ofr:_Ut,ogon:AUt,Ograve:CUt,ograve:RUt,ogt:IUt,ohbar:DUt,ohm:NUt,oint:PUt,olarr:LUt,olcir:MUt,olcross:FUt,oline:$Ut,olt:BUt,Omacr:UUt,omacr:zUt,Omega:HUt,omega:qUt,Omicron:jUt,omicron:WUt,omid:QUt,ominus:VUt,Oopf:GUt,oopf:YUt,opar:ZUt,OpenCurlyDoubleQuote:XUt,OpenCurlyQuote:KUt,operp:JUt,oplus:ezt,orarr:tzt,Or:nzt,or:rzt,ord:izt,order:szt,orderof:azt,ordf:ozt,ordm:lzt,origof:uzt,oror:czt,orslope:dzt,orv:fzt,oS:hzt,Oscr:pzt,oscr:mzt,Oslash:gzt,oslash:bzt,osol:yzt,Otilde:vzt,otilde:Szt,otimesas:Ozt,Otimes:Ezt,otimes:wzt,Ouml:xzt,ouml:Tzt,ovbar:kzt,OverBar:_zt,OverBrace:Azt,OverBracket:Czt,OverParenthesis:Rzt,para:Izt,parallel:Dzt,par:Nzt,parsim:Pzt,parsl:Lzt,part:Mzt,PartialD:Fzt,Pcy:$zt,pcy:Bzt,percnt:Uzt,period:zzt,permil:Hzt,perp:qzt,pertenk:jzt,Pfr:Wzt,pfr:Qzt,Phi:Vzt,phi:Gzt,phiv:Yzt,phmmat:Zzt,phone:Xzt,Pi:Kzt,pi:Jzt,pitchfork:eHt,piv:tHt,planck:nHt,planckh:rHt,plankv:iHt,plusacir:sHt,plusb:aHt,pluscir:oHt,plus:lHt,plusdo:uHt,plusdu:cHt,pluse:dHt,PlusMinus:fHt,plusmn:hHt,plussim:pHt,plustwo:mHt,pm:gHt,Poincareplane:bHt,pointint:yHt,popf:vHt,Popf:SHt,pound:OHt,prap:EHt,Pr:wHt,pr:xHt,prcue:THt,precapprox:kHt,prec:_Ht,preccurlyeq:AHt,Precedes:CHt,PrecedesEqual:RHt,PrecedesSlantEqual:IHt,PrecedesTilde:DHt,preceq:NHt,precnapprox:PHt,precneqq:LHt,precnsim:MHt,pre:FHt,prE:$Ht,precsim:BHt,prime:UHt,Prime:zHt,primes:HHt,prnap:qHt,prnE:jHt,prnsim:WHt,prod:QHt,Product:VHt,profalar:GHt,profline:YHt,profsurf:ZHt,prop:XHt,Proportional:KHt,Proportion:JHt,propto:eqt,prsim:tqt,prurel:nqt,Pscr:rqt,pscr:iqt,Psi:sqt,psi:aqt,puncsp:oqt,Qfr:lqt,qfr:uqt,qint:cqt,qopf:dqt,Qopf:fqt,qprime:hqt,Qscr:pqt,qscr:mqt,quaternions:gqt,quatint:bqt,quest:yqt,questeq:vqt,quot:Sqt,QUOT:Oqt,rAarr:Eqt,race:wqt,Racute:xqt,racute:Tqt,radic:kqt,raemptyv:_qt,rang:Aqt,Rang:Cqt,rangd:Rqt,range:Iqt,rangle:Dqt,raquo:Nqt,rarrap:Pqt,rarrb:Lqt,rarrbfs:Mqt,rarrc:Fqt,rarr:$qt,Rarr:Bqt,rArr:Uqt,rarrfs:zqt,rarrhk:Hqt,rarrlp:qqt,rarrpl:jqt,rarrsim:Wqt,Rarrtl:Qqt,rarrtl:Vqt,rarrw:Gqt,ratail:Yqt,rAtail:Zqt,ratio:Xqt,rationals:Kqt,rbarr:Jqt,rBarr:ejt,RBarr:tjt,rbbrk:njt,rbrace:rjt,rbrack:ijt,rbrke:sjt,rbrksld:ajt,rbrkslu:ojt,Rcaron:ljt,rcaron:ujt,Rcedil:cjt,rcedil:djt,rceil:fjt,rcub:hjt,Rcy:pjt,rcy:mjt,rdca:gjt,rdldhar:bjt,rdquo:yjt,rdquor:vjt,rdsh:Sjt,real:Ojt,realine:Ejt,realpart:wjt,reals:xjt,Re:Tjt,rect:kjt,reg:_jt,REG:Ajt,ReverseElement:Cjt,ReverseEquilibrium:Rjt,ReverseUpEquilibrium:Ijt,rfisht:Djt,rfloor:Njt,rfr:Pjt,Rfr:Ljt,rHar:Mjt,rhard:Fjt,rharu:$jt,rharul:Bjt,Rho:Ujt,rho:zjt,rhov:Hjt,RightAngleBracket:qjt,RightArrowBar:jjt,rightarrow:Wjt,RightArrow:Qjt,Rightarrow:Vjt,RightArrowLeftArrow:Gjt,rightarrowtail:Yjt,RightCeiling:Zjt,RightDoubleBracket:Xjt,RightDownTeeVector:Kjt,RightDownVectorBar:Jjt,RightDownVector:eWt,RightFloor:tWt,rightharpoondown:nWt,rightharpoonup:rWt,rightleftarrows:iWt,rightleftharpoons:sWt,rightrightarrows:aWt,rightsquigarrow:oWt,RightTeeArrow:lWt,RightTee:uWt,RightTeeVector:cWt,rightthreetimes:dWt,RightTriangleBar:fWt,RightTriangle:hWt,RightTriangleEqual:pWt,RightUpDownVector:mWt,RightUpTeeVector:gWt,RightUpVectorBar:bWt,RightUpVector:yWt,RightVectorBar:vWt,RightVector:SWt,ring:OWt,risingdotseq:EWt,rlarr:wWt,rlhar:xWt,rlm:TWt,rmoustache:kWt,rmoust:_Wt,rnmid:AWt,roang:CWt,roarr:RWt,robrk:IWt,ropar:DWt,ropf:NWt,Ropf:PWt,roplus:LWt,rotimes:MWt,RoundImplies:FWt,rpar:$Wt,rpargt:BWt,rppolint:UWt,rrarr:zWt,Rrightarrow:HWt,rsaquo:qWt,rscr:jWt,Rscr:WWt,rsh:QWt,Rsh:VWt,rsqb:GWt,rsquo:YWt,rsquor:ZWt,rthree:XWt,rtimes:KWt,rtri:JWt,rtrie:eQt,rtrif:tQt,rtriltri:nQt,RuleDelayed:rQt,ruluhar:iQt,rx:sQt,Sacute:aQt,sacute:oQt,sbquo:lQt,scap:uQt,Scaron:cQt,scaron:dQt,Sc:fQt,sc:hQt,sccue:pQt,sce:mQt,scE:gQt,Scedil:bQt,scedil:yQt,Scirc:vQt,scirc:SQt,scnap:OQt,scnE:EQt,scnsim:wQt,scpolint:xQt,scsim:TQt,Scy:kQt,scy:_Qt,sdotb:AQt,sdot:CQt,sdote:RQt,searhk:IQt,searr:DQt,seArr:NQt,searrow:PQt,sect:LQt,semi:MQt,seswar:FQt,setminus:$Qt,setmn:BQt,sext:UQt,Sfr:zQt,sfr:HQt,sfrown:qQt,sharp:jQt,SHCHcy:WQt,shchcy:QQt,SHcy:VQt,shcy:GQt,ShortDownArrow:YQt,ShortLeftArrow:ZQt,shortmid:XQt,shortparallel:KQt,ShortRightArrow:JQt,ShortUpArrow:eVt,shy:tVt,Sigma:nVt,sigma:rVt,sigmaf:iVt,sigmav:sVt,sim:aVt,simdot:oVt,sime:lVt,simeq:uVt,simg:cVt,simgE:dVt,siml:fVt,simlE:hVt,simne:pVt,simplus:mVt,simrarr:gVt,slarr:bVt,SmallCircle:yVt,smallsetminus:vVt,smashp:SVt,smeparsl:OVt,smid:EVt,smile:wVt,smt:xVt,smte:TVt,smtes:kVt,SOFTcy:_Vt,softcy:AVt,solbar:CVt,solb:RVt,sol:IVt,Sopf:DVt,sopf:NVt,spades:PVt,spadesuit:LVt,spar:MVt,sqcap:FVt,sqcaps:$Vt,sqcup:BVt,sqcups:UVt,Sqrt:zVt,sqsub:HVt,sqsube:qVt,sqsubset:jVt,sqsubseteq:WVt,sqsup:QVt,sqsupe:VVt,sqsupset:GVt,sqsupseteq:YVt,square:ZVt,Square:XVt,SquareIntersection:KVt,SquareSubset:JVt,SquareSubsetEqual:eGt,SquareSuperset:tGt,SquareSupersetEqual:nGt,SquareUnion:rGt,squarf:iGt,squ:sGt,squf:aGt,srarr:oGt,Sscr:lGt,sscr:uGt,ssetmn:cGt,ssmile:dGt,sstarf:fGt,Star:hGt,star:pGt,starf:mGt,straightepsilon:gGt,straightphi:bGt,strns:yGt,sub:vGt,Sub:SGt,subdot:OGt,subE:EGt,sube:wGt,subedot:xGt,submult:TGt,subnE:kGt,subne:_Gt,subplus:AGt,subrarr:CGt,subset:RGt,Subset:IGt,subseteq:DGt,subseteqq:NGt,SubsetEqual:PGt,subsetneq:LGt,subsetneqq:MGt,subsim:FGt,subsub:$Gt,subsup:BGt,succapprox:UGt,succ:zGt,succcurlyeq:HGt,Succeeds:qGt,SucceedsEqual:jGt,SucceedsSlantEqual:WGt,SucceedsTilde:QGt,succeq:VGt,succnapprox:GGt,succneqq:YGt,succnsim:ZGt,succsim:XGt,SuchThat:KGt,sum:JGt,Sum:eYt,sung:tYt,sup1:nYt,sup2:rYt,sup3:iYt,sup:sYt,Sup:aYt,supdot:oYt,supdsub:lYt,supE:uYt,supe:cYt,supedot:dYt,Superset:fYt,SupersetEqual:hYt,suphsol:pYt,suphsub:mYt,suplarr:gYt,supmult:bYt,supnE:yYt,supne:vYt,supplus:SYt,supset:OYt,Supset:EYt,supseteq:wYt,supseteqq:xYt,supsetneq:TYt,supsetneqq:kYt,supsim:_Yt,supsub:AYt,supsup:CYt,swarhk:RYt,swarr:IYt,swArr:DYt,swarrow:NYt,swnwar:PYt,szlig:LYt,Tab:MYt,target:FYt,Tau:$Yt,tau:BYt,tbrk:UYt,Tcaron:zYt,tcaron:HYt,Tcedil:qYt,tcedil:jYt,Tcy:WYt,tcy:QYt,tdot:VYt,telrec:GYt,Tfr:YYt,tfr:ZYt,there4:XYt,therefore:KYt,Therefore:JYt,Theta:eZt,theta:tZt,thetasym:nZt,thetav:rZt,thickapprox:iZt,thicksim:sZt,ThickSpace:aZt,ThinSpace:oZt,thinsp:lZt,thkap:uZt,thksim:cZt,THORN:dZt,thorn:fZt,tilde:hZt,Tilde:pZt,TildeEqual:mZt,TildeFullEqual:gZt,TildeTilde:bZt,timesbar:yZt,timesb:vZt,times:SZt,timesd:OZt,tint:EZt,toea:wZt,topbot:xZt,topcir:TZt,top:kZt,Topf:_Zt,topf:AZt,topfork:CZt,tosa:RZt,tprime:IZt,trade:DZt,TRADE:NZt,triangle:PZt,triangledown:LZt,triangleleft:MZt,trianglelefteq:FZt,triangleq:$Zt,triangleright:BZt,trianglerighteq:UZt,tridot:zZt,trie:HZt,triminus:qZt,TripleDot:jZt,triplus:WZt,trisb:QZt,tritime:VZt,trpezium:GZt,Tscr:YZt,tscr:ZZt,TScy:XZt,tscy:KZt,TSHcy:JZt,tshcy:eXt,Tstrok:tXt,tstrok:nXt,twixt:rXt,twoheadleftarrow:iXt,twoheadrightarrow:sXt,Uacute:aXt,uacute:oXt,uarr:lXt,Uarr:uXt,uArr:cXt,Uarrocir:dXt,Ubrcy:fXt,ubrcy:hXt,Ubreve:pXt,ubreve:mXt,Ucirc:gXt,ucirc:bXt,Ucy:yXt,ucy:vXt,udarr:SXt,Udblac:OXt,udblac:EXt,udhar:wXt,ufisht:xXt,Ufr:TXt,ufr:kXt,Ugrave:_Xt,ugrave:AXt,uHar:CXt,uharl:RXt,uharr:IXt,uhblk:DXt,ulcorn:NXt,ulcorner:PXt,ulcrop:LXt,ultri:MXt,Umacr:FXt,umacr:$Xt,uml:BXt,UnderBar:UXt,UnderBrace:zXt,UnderBracket:HXt,UnderParenthesis:qXt,Union:jXt,UnionPlus:WXt,Uogon:QXt,uogon:VXt,Uopf:GXt,uopf:YXt,UpArrowBar:ZXt,uparrow:XXt,UpArrow:KXt,Uparrow:JXt,UpArrowDownArrow:eKt,updownarrow:tKt,UpDownArrow:nKt,Updownarrow:rKt,UpEquilibrium:iKt,upharpoonleft:sKt,upharpoonright:aKt,uplus:oKt,UpperLeftArrow:lKt,UpperRightArrow:uKt,upsi:cKt,Upsi:dKt,upsih:fKt,Upsilon:hKt,upsilon:pKt,UpTeeArrow:mKt,UpTee:gKt,upuparrows:bKt,urcorn:yKt,urcorner:vKt,urcrop:SKt,Uring:OKt,uring:EKt,urtri:wKt,Uscr:xKt,uscr:TKt,utdot:kKt,Utilde:_Kt,utilde:AKt,utri:CKt,utrif:RKt,uuarr:IKt,Uuml:DKt,uuml:NKt,uwangle:PKt,vangrt:LKt,varepsilon:MKt,varkappa:FKt,varnothing:$Kt,varphi:BKt,varpi:UKt,varpropto:zKt,varr:HKt,vArr:qKt,varrho:jKt,varsigma:WKt,varsubsetneq:QKt,varsubsetneqq:VKt,varsupsetneq:GKt,varsupsetneqq:YKt,vartheta:ZKt,vartriangleleft:XKt,vartriangleright:KKt,vBar:JKt,Vbar:eJt,vBarv:tJt,Vcy:nJt,vcy:rJt,vdash:iJt,vDash:sJt,Vdash:aJt,VDash:oJt,Vdashl:lJt,veebar:uJt,vee:cJt,Vee:dJt,veeeq:fJt,vellip:hJt,verbar:pJt,Verbar:mJt,vert:gJt,Vert:bJt,VerticalBar:yJt,VerticalLine:vJt,VerticalSeparator:SJt,VerticalTilde:OJt,VeryThinSpace:EJt,Vfr:wJt,vfr:xJt,vltri:TJt,vnsub:kJt,vnsup:_Jt,Vopf:AJt,vopf:CJt,vprop:RJt,vrtri:IJt,Vscr:DJt,vscr:NJt,vsubnE:PJt,vsubne:LJt,vsupnE:MJt,vsupne:FJt,Vvdash:$Jt,vzigzag:BJt,Wcirc:UJt,wcirc:zJt,wedbar:HJt,wedge:qJt,Wedge:jJt,wedgeq:WJt,weierp:QJt,Wfr:VJt,wfr:GJt,Wopf:YJt,wopf:ZJt,wp:XJt,wr:KJt,wreath:JJt,Wscr:een,wscr:ten,xcap:nen,xcirc:ren,xcup:ien,xdtri:sen,Xfr:aen,xfr:oen,xharr:len,xhArr:uen,Xi:cen,xi:den,xlarr:fen,xlArr:hen,xmap:pen,xnis:men,xodot:gen,Xopf:ben,xopf:yen,xoplus:ven,xotime:Sen,xrarr:Oen,xrArr:Een,Xscr:wen,xscr:xen,xsqcup:Ten,xuplus:ken,xutri:_en,xvee:Aen,xwedge:Cen,Yacute:Ren,yacute:Ien,YAcy:Den,yacy:Nen,Ycirc:Pen,ycirc:Len,Ycy:Men,ycy:Fen,yen:$en,Yfr:Ben,yfr:Uen,YIcy:zen,yicy:Hen,Yopf:qen,yopf:jen,Yscr:Wen,yscr:Qen,YUcy:Ven,yucy:Gen,yuml:Yen,Yuml:Zen,Zacute:Xen,zacute:Ken,Zcaron:Jen,zcaron:etn,Zcy:ttn,zcy:ntn,Zdot:rtn,zdot:itn,zeetrf:stn,ZeroWidthSpace:atn,Zeta:otn,zeta:ltn,zfr:utn,Zfr:ctn,ZHcy:dtn,zhcy:ftn,zigrarr:htn,zopf:ptn,Zopf:mtn,Zscr:gtn,zscr:btn,zwj:ytn,zwnj:vtn},Otn="Á",Etn="á",wtn="Â",xtn="â",Ttn="´",ktn="Æ",_tn="æ",Atn="À",Ctn="à",Rtn="&",Itn="&",Dtn="Å",Ntn="å",Ptn="Ã",Ltn="ã",Mtn="Ä",Ftn="ä",$tn="¦",Btn="Ç",Utn="ç",ztn="¸",Htn="¢",qtn="©",jtn="©",Wtn="¤",Qtn="°",Vtn="÷",Gtn="É",Ytn="é",Ztn="Ê",Xtn="ê",Ktn="È",Jtn="è",enn="Ð",tnn="ð",nnn="Ë",rnn="ë",inn="½",snn="¼",ann="¾",onn=">",lnn=">",unn="Í",cnn="í",dnn="Î",fnn="î",hnn="¡",pnn="Ì",mnn="ì",gnn="¿",bnn="Ï",ynn="ï",vnn="«",Snn="<",Onn="<",Enn="¯",wnn="µ",xnn="·",Tnn=" ",knn="¬",_nn="Ñ",Ann="ñ",Cnn="Ó",Rnn="ó",Inn="Ô",Dnn="ô",Nnn="Ò",Pnn="ò",Lnn="ª",Mnn="º",Fnn="Ø",$nn="ø",Bnn="Õ",Unn="õ",znn="Ö",Hnn="ö",qnn="¶",jnn="±",Wnn="£",Qnn='"',Vnn='"',Gnn="»",Ynn="®",Znn="®",Xnn="§",Knn="­",Jnn="¹",ern="²",trn="³",nrn="ß",rrn="Þ",irn="þ",srn="×",arn="Ú",orn="ú",lrn="Û",urn="û",crn="Ù",drn="ù",frn="¨",hrn="Ü",prn="ü",mrn="Ý",grn="ý",brn="¥",yrn="ÿ",vrn={Aacute:Otn,aacute:Etn,Acirc:wtn,acirc:xtn,acute:Ttn,AElig:ktn,aelig:_tn,Agrave:Atn,agrave:Ctn,amp:Rtn,AMP:Itn,Aring:Dtn,aring:Ntn,Atilde:Ptn,atilde:Ltn,Auml:Mtn,auml:Ftn,brvbar:$tn,Ccedil:Btn,ccedil:Utn,cedil:ztn,cent:Htn,copy:qtn,COPY:jtn,curren:Wtn,deg:Qtn,divide:Vtn,Eacute:Gtn,eacute:Ytn,Ecirc:Ztn,ecirc:Xtn,Egrave:Ktn,egrave:Jtn,ETH:enn,eth:tnn,Euml:nnn,euml:rnn,frac12:inn,frac14:snn,frac34:ann,gt:onn,GT:lnn,Iacute:unn,iacute:cnn,Icirc:dnn,icirc:fnn,iexcl:hnn,Igrave:pnn,igrave:mnn,iquest:gnn,Iuml:bnn,iuml:ynn,laquo:vnn,lt:Snn,LT:Onn,macr:Enn,micro:wnn,middot:xnn,nbsp:Tnn,not:knn,Ntilde:_nn,ntilde:Ann,Oacute:Cnn,oacute:Rnn,Ocirc:Inn,ocirc:Dnn,Ograve:Nnn,ograve:Pnn,ordf:Lnn,ordm:Mnn,Oslash:Fnn,oslash:$nn,Otilde:Bnn,otilde:Unn,Ouml:znn,ouml:Hnn,para:qnn,plusmn:jnn,pound:Wnn,quot:Qnn,QUOT:Vnn,raquo:Gnn,reg:Ynn,REG:Znn,sect:Xnn,shy:Knn,sup1:Jnn,sup2:ern,sup3:trn,szlig:nrn,THORN:rrn,thorn:irn,times:srn,Uacute:arn,uacute:orn,Ucirc:lrn,ucirc:urn,Ugrave:crn,ugrave:drn,uml:frn,Uuml:hrn,uuml:prn,Yacute:mrn,yacute:grn,yen:brn,yuml:yrn},Srn="&",Orn="'",Ern=">",wrn="<",xrn='"',Trn={amp:Srn,apos:Orn,gt:Ern,lt:wrn,quot:xrn};var krn=Cn,_rn=twt,Arn=Stn,roe=vrn,Crn=Trn,fr=0,Cs=fr++,UOe=fr++,Vy=fr++,zOe=fr++,HOe=fr++,BA=fr++,qOe=fr++,I1=fr++,DN=fr++,$Y=fr++,BY=fr++,UY=fr++,zY=fr++,HY=fr++,jOe=fr++,Am=fr++,WOe=fr++,QOe=fr++,UA=fr++,qY=fr++,jY=fr++,VOe=fr++,GOe=fr++,YOe=fr++,ZOe=fr++,XOe=fr++,KOe=fr++,zA=fr++,WY=fr++,QY=fr++,JOe=fr++,eEe=fr++,tEe=fr++,nEe=fr++,rEe=fr++,iEe=fr++,sEe=fr++,aEe=fr++,oEe=fr++,lEe=fr++,uEe=fr++,cEe=fr++,dEe=fr++,fEe=fr++,hEe=fr++,pEe=fr++,mEe=fr++,gEe=fr++,bEe=fr++,yEe=fr++,HA=fr++,vEe=fr++,VY=fr++,GY=fr++,YY=fr++,ZY=0,c2=ZY++,SEe=ZY++,OEe=ZY++;function gc(e){return e===" "||e===` -`||e===" "||e==="\f"||e==="\r"}function bc(e,t,n){var r=e.toLowerCase();return e===r?function(i){i===r?this._state=t:(this._state=n,this._index--)}:function(i){i===r||i===e?this._state=t:(this._state=n,this._index--)}}function Gy(e,t){var n=e.toLowerCase();return function(r){r===n||r===e?this._state=t:(this._state=Vy,this._index--)}}function Cn(e,t){this._state=Cs,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=Cs,this._special=c2,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!!(e&&e.xmlMode),this._decodeEntities=!!(e&&e.decodeEntities)}Cn.prototype._stateText=function(e){e==="<"?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=UOe,this._sectionStart=this._index):this._decodeEntities&&this._special===c2&&e==="&"&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=Cs,this._state=HA,this._sectionStart=this._index)};Cn.prototype._stateBeforeTagName=function(e){e==="/"?this._state=HOe:e==="<"?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):e===">"||this._special!==c2||gc(e)?this._state=Cs:e==="!"?(this._state=jOe,this._sectionStart=this._index+1):e==="?"?(this._state=WOe,this._sectionStart=this._index+1):(this._state=!this._xmlMode&&(e==="s"||e==="S")?JOe:Vy,this._sectionStart=this._index)};Cn.prototype._stateInTagName=function(e){(e==="/"||e===">"||gc(e))&&(this._emitToken("onopentagname"),this._state=I1,this._index--)};Cn.prototype._stateBeforeCloseingTagName=function(e){gc(e)||(e===">"?this._state=Cs:this._special!==c2?e==="s"||e==="S"?this._state=eEe:(this._state=Cs,this._index--):(this._state=BA,this._sectionStart=this._index))};Cn.prototype._stateInCloseingTagName=function(e){(e===">"||gc(e))&&(this._emitToken("onclosetag"),this._state=qOe,this._index--)};Cn.prototype._stateAfterCloseingTagName=function(e){e===">"&&(this._state=Cs,this._sectionStart=this._index+1)};Cn.prototype._stateBeforeAttributeName=function(e){e===">"?(this._cbs.onopentagend(),this._state=Cs,this._sectionStart=this._index+1):e==="/"?this._state=zOe:gc(e)||(this._state=DN,this._sectionStart=this._index)};Cn.prototype._stateInSelfClosingTag=function(e){e===">"?(this._cbs.onselfclosingtag(),this._state=Cs,this._sectionStart=this._index+1):gc(e)||(this._state=I1,this._index--)};Cn.prototype._stateInAttributeName=function(e){(e==="="||e==="/"||e===">"||gc(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=$Y,this._index--)};Cn.prototype._stateAfterAttributeName=function(e){e==="="?this._state=BY:e==="/"||e===">"?(this._cbs.onattribend(),this._state=I1,this._index--):gc(e)||(this._cbs.onattribend(),this._state=DN,this._sectionStart=this._index)};Cn.prototype._stateBeforeAttributeValue=function(e){e==='"'?(this._state=UY,this._sectionStart=this._index+1):e==="'"?(this._state=zY,this._sectionStart=this._index+1):gc(e)||(this._state=HY,this._sectionStart=this._index,this._index--)};Cn.prototype._stateInAttributeValueDoubleQuotes=function(e){e==='"'?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=I1):this._decodeEntities&&e==="&"&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=HA,this._sectionStart=this._index)};Cn.prototype._stateInAttributeValueSingleQuotes=function(e){e==="'"?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=I1):this._decodeEntities&&e==="&"&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=HA,this._sectionStart=this._index)};Cn.prototype._stateInAttributeValueNoQuotes=function(e){gc(e)||e===">"?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=I1,this._index--):this._decodeEntities&&e==="&"&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=HA,this._sectionStart=this._index)};Cn.prototype._stateBeforeDeclaration=function(e){this._state=e==="["?VOe:e==="-"?QOe:Am};Cn.prototype._stateInDeclaration=function(e){e===">"&&(this._cbs.ondeclaration(this._getSection()),this._state=Cs,this._sectionStart=this._index+1)};Cn.prototype._stateInProcessingInstruction=function(e){e===">"&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=Cs,this._sectionStart=this._index+1)};Cn.prototype._stateBeforeComment=function(e){e==="-"?(this._state=UA,this._sectionStart=this._index+1):this._state=Am};Cn.prototype._stateInComment=function(e){e==="-"&&(this._state=qY)};Cn.prototype._stateAfterComment1=function(e){e==="-"?this._state=jY:this._state=UA};Cn.prototype._stateAfterComment2=function(e){e===">"?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=Cs,this._sectionStart=this._index+1):e!=="-"&&(this._state=UA)};Cn.prototype._stateBeforeCdata1=bc("C",GOe,Am);Cn.prototype._stateBeforeCdata2=bc("D",YOe,Am);Cn.prototype._stateBeforeCdata3=bc("A",ZOe,Am);Cn.prototype._stateBeforeCdata4=bc("T",XOe,Am);Cn.prototype._stateBeforeCdata5=bc("A",KOe,Am);Cn.prototype._stateBeforeCdata6=function(e){e==="["?(this._state=zA,this._sectionStart=this._index+1):(this._state=Am,this._index--)};Cn.prototype._stateInCdata=function(e){e==="]"&&(this._state=WY)};Cn.prototype._stateAfterCdata1=function(e){e==="]"?this._state=QY:this._state=zA};Cn.prototype._stateAfterCdata2=function(e){e===">"?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=Cs,this._sectionStart=this._index+1):e!=="]"&&(this._state=zA)};Cn.prototype._stateBeforeSpecial=function(e){e==="c"||e==="C"?this._state=tEe:e==="t"||e==="T"?this._state=dEe:(this._state=Vy,this._index--)};Cn.prototype._stateBeforeSpecialEnd=function(e){this._special===SEe&&(e==="c"||e==="C")?this._state=aEe:this._special===OEe&&(e==="t"||e==="T")?this._state=mEe:this._state=Cs};Cn.prototype._stateBeforeScript1=Gy("R",nEe);Cn.prototype._stateBeforeScript2=Gy("I",rEe);Cn.prototype._stateBeforeScript3=Gy("P",iEe);Cn.prototype._stateBeforeScript4=Gy("T",sEe);Cn.prototype._stateBeforeScript5=function(e){(e==="/"||e===">"||gc(e))&&(this._special=SEe),this._state=Vy,this._index--};Cn.prototype._stateAfterScript1=bc("R",oEe,Cs);Cn.prototype._stateAfterScript2=bc("I",lEe,Cs);Cn.prototype._stateAfterScript3=bc("P",uEe,Cs);Cn.prototype._stateAfterScript4=bc("T",cEe,Cs);Cn.prototype._stateAfterScript5=function(e){e===">"||gc(e)?(this._special=c2,this._state=BA,this._sectionStart=this._index-6,this._index--):this._state=Cs};Cn.prototype._stateBeforeStyle1=Gy("Y",fEe);Cn.prototype._stateBeforeStyle2=Gy("L",hEe);Cn.prototype._stateBeforeStyle3=Gy("E",pEe);Cn.prototype._stateBeforeStyle4=function(e){(e==="/"||e===">"||gc(e))&&(this._special=OEe),this._state=Vy,this._index--};Cn.prototype._stateAfterStyle1=bc("Y",gEe,Cs);Cn.prototype._stateAfterStyle2=bc("L",bEe,Cs);Cn.prototype._stateAfterStyle3=bc("E",yEe,Cs);Cn.prototype._stateAfterStyle4=function(e){e===">"||gc(e)?(this._special=c2,this._state=BA,this._sectionStart=this._index-5,this._index--):this._state=Cs};Cn.prototype._stateBeforeEntity=bc("#",vEe,VY);Cn.prototype._stateBeforeNumericEntity=bc("X",YY,GY);Cn.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+16&&(t=6);t>=2;){var n=this._buffer.substr(e,t);if(roe.hasOwnProperty(n)){this._emitPartial(roe[n]),this._sectionStart+=t+1;return}else t--}};Cn.prototype._stateInNamedEntity=function(e){e===";"?(this._parseNamedEntityStrict(),this._sectionStart+1"z")&&(e<"A"||e>"Z")&&(e<"0"||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==Cs?e!=="="&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)};Cn.prototype._decodeNumericEntity=function(e,t){var n=this._sectionStart+e;if(n!==this._index){var r=this._buffer.substring(n,this._index),i=parseInt(r,t);this._emitPartial(_rn(i)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState};Cn.prototype._stateInNumericEntity=function(e){e===";"?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)};Cn.prototype._stateInHexEntity=function(e){e===";"?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)};Cn.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===Cs?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)};Cn.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()};Cn.prototype._parse=function(){for(;this._index0&&(a=n[0]),a instanceof Error)throw a;var o=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw o.context=a,o}var l=s[t];if(l===void 0)return!1;if(typeof l=="function")ioe(l,this,n);else for(var c=l.length,d=AEe(l,c),r=0;r0&&a.length>i&&!a.warned){a.warned=!0;var o=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");o.name="MaxListenersExceededWarning",o.emitter=e,o.type=t,o.count=a.length,Irn(o)}return e}bs.prototype.addListener=function(t,n){return xEe(this,t,n,!1)};bs.prototype.on=bs.prototype.addListener;bs.prototype.prependListener=function(t,n){return xEe(this,t,n,!0)};function Drn(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function TEe(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=Drn.bind(r);return i.listener=n,r.wrapFn=i,i}bs.prototype.once=function(t,n){return NN(n),this.on(t,TEe(this,t,n)),this};bs.prototype.prependOnceListener=function(t,n){return NN(n),this.prependListener(t,TEe(this,t,n)),this};bs.prototype.removeListener=function(t,n){var r,i,s,a,o;if(NN(n),i=this._events,i===void 0)return this;if(r=i[t],r===void 0)return this;if(r===n||r.listener===n)--this._eventsCount===0?this._events=Object.create(null):(delete i[t],i.removeListener&&this.emit("removeListener",t,r.listener||n));else if(typeof r!="function"){for(s=-1,a=r.length-1;a>=0;a--)if(r[a]===n||r[a].listener===n){o=r[a].listener,s=a;break}if(s<0)return this;s===0?r.shift():Nrn(r,s),r.length===1&&(i[t]=r[0]),i.removeListener!==void 0&&this.emit("removeListener",t,o||n)}return this};bs.prototype.off=bs.prototype.removeListener;bs.prototype.removeAllListeners=function(t){var n,r,i;if(r=this._events,r===void 0)return this;if(r.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):r[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete r[t]),this;if(arguments.length===0){var s=Object.keys(r),a;for(i=0;i=0;i--)this.removeListener(t,n[i]);return this};function kEe(e,t,n){var r=e._events;if(r===void 0)return[];var i=r[t];return i===void 0?[]:typeof i=="function"?n?[i.listener||i]:[i]:n?Prn(i):AEe(i,i.length)}bs.prototype.listeners=function(t){return kEe(this,t,!0)};bs.prototype.rawListeners=function(t){return kEe(this,t,!1)};bs.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):_Ee.call(e,t)};bs.prototype.listenerCount=_Ee;function _Ee(e){var t=this._events;if(t!==void 0){var n=t[e];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}bs.prototype.eventNames=function(){return this._eventsCount>0?yR(this._events):[]};function AEe(e,t){for(var n=new Array(t),r=0;r0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()};fs.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)};fs.prototype.parseComplete=function(e){this.reset(),this.end(e)};fs.prototype.write=function(e){this._tokenizer.write(e)};fs.prototype.end=function(e){this._tokenizer.end(e)};fs.prototype.pause=function(){this._tokenizer.pause()};fs.prototype.resume=function(){this._tokenizer.resume()};fs.prototype.parseChunk=fs.prototype.write;fs.prototype.done=fs.prototype.end;var Brn=fs;Object.defineProperty(FY,"__esModule",{value:!0});FY.default=Hrn;var Urn=zrn(Brn);function zrn(e){return e&&e.__esModule?e:{default:e}}function Hrn(e){const t=[],n=()=>{const g=t.shift();g&&g.reverse().forEach(b=>e.elementClose(b))},{attr:r,elementOpenEnd:i,elementVoid:s,text:a}=e,o=(g,...b)=>{t.length>0&&t[0].push(g),e.elementOpen(g,...b)},l=g=>{t.length>0&&t[0].push(g),e.elementOpenStart(g)},c=g=>{t.length>0&&t[0].pop(),e.elementClose(g)},d=g=>g.replace(/[^-:\w]/g,""),f=new Urn.default({onopentag:g=>i(d(g)),onopentagname:g=>l(d(g)),onattribute:(g,b)=>{const w=d(g);w!==""&&r(w,b)},ontext:a,onclosetag:g=>c(d(g))},{decodeEntities:!0,lowerCaseAttributeNames:!1,lowerCaseTags:!1}),p=g=>typeof g=="function"?g():f.write(g);return{renderAttrsToArray(g){return g.attrs?g.attrs.reduce((b,w)=>b.concat(w),[]):[]},renderInline(g,b,w){return()=>{t.unshift([]),g.forEach((x,T)=>{const{type:_}=x;this.rules[_]!==void 0?p(this.rules[_](g,T,b,w,this)):this.renderToken(g,T,b)()}),n()}},renderToken(g,b){return()=>{const w=g[b];w.hidden||(w.nesting===-1?c(w.tag):(w.nesting===0?s:o).apply(this,[w.tag,"",[]].concat(this.renderAttrsToArray(w))))}},render(g,b,w){return()=>{t.unshift([]),g.forEach((x,T)=>{const{type:_}=x;_==="inline"?this.renderInline(x.children,b,w)():this.rules[_]!==void 0?p(this.rules[_](g,T,b,w,this)):this.renderToken(g,T,b,w)()}),n(),f.reset()}}}}var JY={};Object.defineProperty(JY,"__esModule",{value:!0});JY.default=qrn;function qrn(e){const{elementClose:t,elementOpen:n,elementVoid:r,text:i}=e;return{code_inline(s,a,o,l,c){return()=>{n.apply(this,["code","",[]].concat(c.renderAttrsToArray(s[a]))),i(s[a].content),t("code")}},code_block(s,a,o,l,c){return()=>{n.apply(this,["pre","",[]].concat(c.renderAttrsToArray(s[a]))),n("code"),i(s[a].content),t("code"),t("pre")}},hardbreak(){return()=>r("br")},softbreak(s,a,o){return()=>o.breaks?r("br"):i(` -`)},text(s,a){return()=>i(s[a].content)}}}Object.defineProperty(BOe,"__esModule",{value:!0});var jrn=BOe.default=Grn,Wrn=DEe(FY),Qrn=DEe(JY);function DEe(e){return e&&e.__esModule?e:{default:e}}function loe(e){for(var t=1;te.IncrementalDOMRenderer.render(e.parse(a,o),e.options,o),e.renderInlineToIncrementalDOM=(a,o={})=>e.IncrementalDOMRenderer.render(e.parseInline(a,o),e.options,o)}var Yrn=function(t,n){var r=t.linkify,i=t.utils.escapeHtml,s=']*href="[^"<>]*"[^<>]*)\\s?>',a=RegExp(s,"i"),o=']*src="[^"<>]*"[^<>]*)\\s?\\/?>',l=RegExp(o,"i"),c=/^(?:https?:)?\/\//i,d=/^(?:https?:\/\/|ftp:\/\/|\/\/|mailto:|xmpp:)/i;n=n||{};var f=typeof n.removeUnknown<"u"?n.removeUnknown:!1,p=typeof n.removeUnbalanced<"u"?n.removeUnbalanced:!1,g=typeof n.imageClass<"u"?n.imageClass:"",b=!1,w,x=["a","b","blockquote","code","em","h1","h2","h3","h4","h5","h6","li","ol","p","pre","s","sub","sup","strong","ul"],T=new Array(x.length),_=new Array(x.length);for(w=0;w]*>?/gi,function(j){var F,V,ie,se,me,fe;return/(^<->|^<-\s|^<3\s)/.test(j)?j:(F=j.match(l),F&&(V=F[1],ie=C(V.match(/src="([^"<>]*)"/i)[1]),se=V.match(/alt="([^"<>]*)"/i),se=se&&typeof se[1]<"u"?se[1]:"",me=V.match(/title="([^"<>]*)"/i),me=me&&typeof me[1]<"u"?me[1]:"",ie&&c.test(ie))?g!==""?''+se+'':''+se+'':(fe=x.indexOf("a"),F=j.match(a),F&&(V=F[1],ie=C(V.match(/href="([^"<>]*)"/i)[1]),me=V.match(/title="([^"<>]*)"/i),me=me&&typeof me[1]<"u"?me[1]:"",ie&&d.test(ie))?(b=!0,T[fe]+=1,''):(F=/<\/a>/i.test(j),F?(b=!0,T[fe]-=1,T[fe]<0&&(_[fe]=!0),""):(F=j.match(/<(br|hr)\s?\/?>/i),F?"<"+F[1].toLowerCase()+">":(F=j.match(/<(\/?)(b|blockquote|code|em|h[1-6]|li|ol(?: start="\d+")?|p|pre|s|sub|sup|strong|ul)>/i),F&&!/<\/ol start="\d+"/i.test(j)?(b=!0,fe=x.indexOf(F[2].toLowerCase().split(" ")[0]),F[1]==="/"?T[fe]-=1:T[fe]+=1,T[fe]<0&&(_[fe]=!0),"<"+F[1]+F[2].toLowerCase()+">"):f===!0?"":i(j))))))}),B}function M(B){var j,F,V;for(w=0;w]*" title="[^"<>]*" target="_blank">',"g"):me==="ol"?fe=//g:fe=RegExp("<"+me+">","g"),le=RegExp("","g"),p===!0?(se=se.replace(fe,""),se=se.replace(le,"")):(se=se.replace(fe,function(ye){return i(ye)}),se=se.replace(le,function(ye){return i(ye)})),se}function ie(se){var me;for(me=0;me=55296&&e<=57343||e>1114111)return"�";e in noe&&(e=noe[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t}const iwt="Á",swt="á",awt="Ă",owt="ă",lwt="∾",uwt="∿",cwt="∾̳",dwt="Â",fwt="â",hwt="´",pwt="А",mwt="а",gwt="Æ",bwt="æ",ywt="⁡",vwt="𝔄",Swt="𝔞",Owt="À",Ewt="à",wwt="ℵ",xwt="ℵ",Twt="Α",kwt="α",_wt="Ā",Awt="ā",Cwt="⨿",Rwt="&",Iwt="&",Dwt="⩕",Nwt="⩓",Pwt="∧",Lwt="⩜",Mwt="⩘",Fwt="⩚",$wt="∠",Bwt="⦤",Uwt="∠",zwt="⦨",Hwt="⦩",qwt="⦪",jwt="⦫",Wwt="⦬",Qwt="⦭",Vwt="⦮",Gwt="⦯",Ywt="∡",Zwt="∟",Xwt="⊾",Kwt="⦝",Jwt="∢",ext="Å",txt="⍼",nxt="Ą",rxt="ą",ixt="𝔸",sxt="𝕒",axt="⩯",oxt="≈",lxt="⩰",uxt="≊",cxt="≋",dxt="'",fxt="⁡",hxt="≈",pxt="≊",mxt="Å",gxt="å",bxt="𝒜",yxt="𝒶",vxt="≔",Sxt="*",Oxt="≈",Ext="≍",wxt="Ã",xxt="ã",Txt="Ä",kxt="ä",_xt="∳",Axt="⨑",Cxt="≌",Rxt="϶",Ixt="‵",Dxt="∽",Nxt="⋍",Pxt="∖",Lxt="⫧",Mxt="⊽",Fxt="⌅",$xt="⌆",Bxt="⌅",Uxt="⎵",zxt="⎶",Hxt="≌",qxt="Б",jxt="б",Wxt="„",Qxt="∵",Vxt="∵",Gxt="∵",Yxt="⦰",Zxt="϶",Xxt="ℬ",Kxt="ℬ",Jxt="Β",eTt="β",tTt="ℶ",nTt="≬",rTt="𝔅",iTt="𝔟",sTt="⋂",aTt="◯",oTt="⋃",lTt="⨀",uTt="⨁",cTt="⨂",dTt="⨆",fTt="★",hTt="▽",pTt="△",mTt="⨄",gTt="⋁",bTt="⋀",yTt="⤍",vTt="⧫",STt="▪",OTt="▴",ETt="▾",wTt="◂",xTt="▸",TTt="␣",kTt="▒",_Tt="░",ATt="▓",CTt="█",RTt="=⃥",ITt="≡⃥",DTt="⫭",NTt="⌐",PTt="𝔹",LTt="𝕓",MTt="⊥",FTt="⊥",$Tt="⋈",BTt="⧉",UTt="┐",zTt="╕",HTt="╖",qTt="╗",jTt="┌",WTt="╒",QTt="╓",VTt="╔",GTt="─",YTt="═",ZTt="┬",XTt="╤",KTt="╥",JTt="╦",ekt="┴",tkt="╧",nkt="╨",rkt="╩",ikt="⊟",skt="⊞",akt="⊠",okt="┘",lkt="╛",ukt="╜",ckt="╝",dkt="└",fkt="╘",hkt="╙",pkt="╚",mkt="│",gkt="║",bkt="┼",ykt="╪",vkt="╫",Skt="╬",Okt="┤",Ekt="╡",wkt="╢",xkt="╣",Tkt="├",kkt="╞",_kt="╟",Akt="╠",Ckt="‵",Rkt="˘",Ikt="˘",Dkt="¦",Nkt="𝒷",Pkt="ℬ",Lkt="⁏",Mkt="∽",Fkt="⋍",$kt="⧅",Bkt="\\",Ukt="⟈",zkt="•",Hkt="•",qkt="≎",jkt="⪮",Wkt="≏",Qkt="≎",Vkt="≏",Gkt="Ć",Ykt="ć",Zkt="⩄",Xkt="⩉",Kkt="⩋",Jkt="∩",e_t="⋒",t_t="⩇",n_t="⩀",r_t="ⅅ",i_t="∩︀",s_t="⁁",a_t="ˇ",o_t="ℭ",l_t="⩍",u_t="Č",c_t="č",d_t="Ç",f_t="ç",h_t="Ĉ",p_t="ĉ",m_t="∰",g_t="⩌",b_t="⩐",y_t="Ċ",v_t="ċ",S_t="¸",O_t="¸",E_t="⦲",w_t="¢",x_t="·",T_t="·",k_t="𝔠",__t="ℭ",A_t="Ч",C_t="ч",R_t="✓",I_t="✓",D_t="Χ",N_t="χ",P_t="ˆ",L_t="≗",M_t="↺",F_t="↻",$_t="⊛",B_t="⊚",U_t="⊝",z_t="⊙",H_t="®",q_t="Ⓢ",j_t="⊖",W_t="⊕",Q_t="⊗",V_t="○",G_t="⧃",Y_t="≗",Z_t="⨐",X_t="⫯",K_t="⧂",J_t="∲",eAt="”",tAt="’",nAt="♣",rAt="♣",iAt=":",sAt="∷",aAt="⩴",oAt="≔",lAt="≔",uAt=",",cAt="@",dAt="∁",fAt="∘",hAt="∁",pAt="ℂ",mAt="≅",gAt="⩭",bAt="≡",yAt="∮",vAt="∯",SAt="∮",OAt="𝕔",EAt="ℂ",wAt="∐",xAt="∐",TAt="©",kAt="©",_At="℗",AAt="∳",CAt="↵",RAt="✗",IAt="⨯",DAt="𝒞",NAt="𝒸",PAt="⫏",LAt="⫑",MAt="⫐",FAt="⫒",$At="⋯",BAt="⤸",UAt="⤵",zAt="⋞",HAt="⋟",qAt="↶",jAt="⤽",WAt="⩈",QAt="⩆",VAt="≍",GAt="∪",YAt="⋓",ZAt="⩊",XAt="⊍",KAt="⩅",JAt="∪︀",eCt="↷",tCt="⤼",nCt="⋞",rCt="⋟",iCt="⋎",sCt="⋏",aCt="¤",oCt="↶",lCt="↷",uCt="⋎",cCt="⋏",dCt="∲",fCt="∱",hCt="⌭",pCt="†",mCt="‡",gCt="ℸ",bCt="↓",yCt="↡",vCt="⇓",SCt="‐",OCt="⫤",ECt="⊣",wCt="⤏",xCt="˝",TCt="Ď",kCt="ď",_Ct="Д",ACt="д",CCt="‡",RCt="⇊",ICt="ⅅ",DCt="ⅆ",NCt="⤑",PCt="⩷",LCt="°",MCt="∇",FCt="Δ",$Ct="δ",BCt="⦱",UCt="⥿",zCt="𝔇",HCt="𝔡",qCt="⥥",jCt="⇃",WCt="⇂",QCt="´",VCt="˙",GCt="˝",YCt="`",ZCt="˜",XCt="⋄",KCt="⋄",JCt="⋄",e4t="♦",t4t="♦",n4t="¨",r4t="ⅆ",i4t="ϝ",s4t="⋲",a4t="÷",o4t="÷",l4t="⋇",u4t="⋇",c4t="Ђ",d4t="ђ",f4t="⌞",h4t="⌍",p4t="$",m4t="𝔻",g4t="𝕕",b4t="¨",y4t="˙",v4t="⃜",S4t="≐",O4t="≑",E4t="≐",w4t="∸",x4t="∔",T4t="⊡",k4t="⌆",_4t="∯",A4t="¨",C4t="⇓",R4t="⇐",I4t="⇔",D4t="⫤",N4t="⟸",P4t="⟺",L4t="⟹",M4t="⇒",F4t="⊨",$4t="⇑",B4t="⇕",U4t="∥",z4t="⤓",H4t="↓",q4t="↓",j4t="⇓",W4t="⇵",Q4t="̑",V4t="⇊",G4t="⇃",Y4t="⇂",Z4t="⥐",X4t="⥞",K4t="⥖",J4t="↽",e3t="⥟",t3t="⥗",n3t="⇁",r3t="↧",i3t="⊤",s3t="⤐",a3t="⌟",o3t="⌌",l3t="𝒟",u3t="𝒹",c3t="Ѕ",d3t="ѕ",f3t="⧶",h3t="Đ",p3t="đ",m3t="⋱",g3t="▿",b3t="▾",y3t="⇵",v3t="⥯",S3t="⦦",O3t="Џ",E3t="џ",w3t="⟿",x3t="É",T3t="é",k3t="⩮",_3t="Ě",A3t="ě",C3t="Ê",R3t="ê",I3t="≖",D3t="≕",N3t="Э",P3t="э",L3t="⩷",M3t="Ė",F3t="ė",$3t="≑",B3t="ⅇ",U3t="≒",z3t="𝔈",H3t="𝔢",q3t="⪚",j3t="È",W3t="è",Q3t="⪖",V3t="⪘",G3t="⪙",Y3t="∈",Z3t="⏧",X3t="ℓ",K3t="⪕",J3t="⪗",eRt="Ē",tRt="ē",nRt="∅",rRt="∅",iRt="◻",sRt="∅",aRt="▫",oRt=" ",lRt=" ",uRt=" ",cRt="Ŋ",dRt="ŋ",fRt=" ",hRt="Ę",pRt="ę",mRt="𝔼",gRt="𝕖",bRt="⋕",yRt="⧣",vRt="⩱",SRt="ε",ORt="Ε",ERt="ε",wRt="ϵ",xRt="≖",TRt="≕",kRt="≂",_Rt="⪖",ARt="⪕",CRt="⩵",RRt="=",IRt="≂",DRt="≟",NRt="⇌",PRt="≡",LRt="⩸",MRt="⧥",FRt="⥱",$Rt="≓",BRt="ℯ",URt="ℰ",zRt="≐",HRt="⩳",qRt="≂",jRt="Η",WRt="η",QRt="Ð",VRt="ð",GRt="Ë",YRt="ë",ZRt="€",XRt="!",KRt="∃",JRt="∃",e5t="ℰ",t5t="ⅇ",n5t="ⅇ",r5t="≒",i5t="Ф",s5t="ф",a5t="♀",o5t="ffi",l5t="ff",u5t="ffl",c5t="𝔉",d5t="𝔣",f5t="fi",h5t="◼",p5t="▪",m5t="fj",g5t="♭",b5t="fl",y5t="▱",v5t="ƒ",S5t="𝔽",O5t="𝕗",E5t="∀",w5t="∀",x5t="⋔",T5t="⫙",k5t="ℱ",_5t="⨍",A5t="½",C5t="⅓",R5t="¼",I5t="⅕",D5t="⅙",N5t="⅛",P5t="⅔",L5t="⅖",M5t="¾",F5t="⅗",$5t="⅜",B5t="⅘",U5t="⅚",z5t="⅝",H5t="⅞",q5t="⁄",j5t="⌢",W5t="𝒻",Q5t="ℱ",V5t="ǵ",G5t="Γ",Y5t="γ",Z5t="Ϝ",X5t="ϝ",K5t="⪆",J5t="Ğ",eIt="ğ",tIt="Ģ",nIt="Ĝ",rIt="ĝ",iIt="Г",sIt="г",aIt="Ġ",oIt="ġ",lIt="≥",uIt="≧",cIt="⪌",dIt="⋛",fIt="≥",hIt="≧",pIt="⩾",mIt="⪩",gIt="⩾",bIt="⪀",yIt="⪂",vIt="⪄",SIt="⋛︀",OIt="⪔",EIt="𝔊",wIt="𝔤",xIt="≫",TIt="⋙",kIt="⋙",_It="ℷ",AIt="Ѓ",CIt="ѓ",RIt="⪥",IIt="≷",DIt="⪒",NIt="⪤",PIt="⪊",LIt="⪊",MIt="⪈",FIt="≩",$It="⪈",BIt="≩",UIt="⋧",zIt="𝔾",HIt="𝕘",qIt="`",jIt="≥",WIt="⋛",QIt="≧",VIt="⪢",GIt="≷",YIt="⩾",ZIt="≳",XIt="𝒢",KIt="ℊ",JIt="≳",e6t="⪎",t6t="⪐",n6t="⪧",r6t="⩺",i6t=">",s6t=">",a6t="≫",o6t="⋗",l6t="⦕",u6t="⩼",c6t="⪆",d6t="⥸",f6t="⋗",h6t="⋛",p6t="⪌",m6t="≷",g6t="≳",b6t="≩︀",y6t="≩︀",v6t="ˇ",S6t=" ",O6t="½",E6t="ℋ",w6t="Ъ",x6t="ъ",T6t="⥈",k6t="↔",_6t="⇔",A6t="↭",C6t="^",R6t="ℏ",I6t="Ĥ",D6t="ĥ",N6t="♥",P6t="♥",L6t="…",M6t="⊹",F6t="𝔥",$6t="ℌ",B6t="ℋ",U6t="⤥",z6t="⤦",H6t="⇿",q6t="∻",j6t="↩",W6t="↪",Q6t="𝕙",V6t="ℍ",G6t="―",Y6t="─",Z6t="𝒽",X6t="ℋ",K6t="ℏ",J6t="Ħ",eDt="ħ",tDt="≎",nDt="≏",rDt="⁃",iDt="‐",sDt="Í",aDt="í",oDt="⁣",lDt="Î",uDt="î",cDt="И",dDt="и",fDt="İ",hDt="Е",pDt="е",mDt="¡",gDt="⇔",bDt="𝔦",yDt="ℑ",vDt="Ì",SDt="ì",ODt="ⅈ",EDt="⨌",wDt="∭",xDt="⧜",TDt="℩",kDt="IJ",_Dt="ij",ADt="Ī",CDt="ī",RDt="ℑ",IDt="ⅈ",DDt="ℐ",NDt="ℑ",PDt="ı",LDt="ℑ",MDt="⊷",FDt="Ƶ",$Dt="⇒",BDt="℅",UDt="∞",zDt="⧝",HDt="ı",qDt="⊺",jDt="∫",WDt="∬",QDt="ℤ",VDt="∫",GDt="⊺",YDt="⋂",ZDt="⨗",XDt="⨼",KDt="⁣",JDt="⁢",eNt="Ё",tNt="ё",nNt="Į",rNt="į",iNt="𝕀",sNt="𝕚",aNt="Ι",oNt="ι",lNt="⨼",uNt="¿",cNt="𝒾",dNt="ℐ",fNt="∈",hNt="⋵",pNt="⋹",mNt="⋴",gNt="⋳",bNt="∈",yNt="⁢",vNt="Ĩ",SNt="ĩ",ONt="І",ENt="і",wNt="Ï",xNt="ï",TNt="Ĵ",kNt="ĵ",_Nt="Й",ANt="й",CNt="𝔍",RNt="𝔧",INt="ȷ",DNt="𝕁",NNt="𝕛",PNt="𝒥",LNt="𝒿",MNt="Ј",FNt="ј",$Nt="Є",BNt="є",UNt="Κ",zNt="κ",HNt="ϰ",qNt="Ķ",jNt="ķ",WNt="К",QNt="к",VNt="𝔎",GNt="𝔨",YNt="ĸ",ZNt="Х",XNt="х",KNt="Ќ",JNt="ќ",e7t="𝕂",t7t="𝕜",n7t="𝒦",r7t="𝓀",i7t="⇚",s7t="Ĺ",a7t="ĺ",o7t="⦴",l7t="ℒ",u7t="Λ",c7t="λ",d7t="⟨",f7t="⟪",h7t="⦑",p7t="⟨",m7t="⪅",g7t="ℒ",b7t="«",y7t="⇤",v7t="⤟",S7t="←",O7t="↞",E7t="⇐",w7t="⤝",x7t="↩",T7t="↫",k7t="⤹",_7t="⥳",A7t="↢",C7t="⤙",R7t="⤛",I7t="⪫",D7t="⪭",N7t="⪭︀",P7t="⤌",L7t="⤎",M7t="❲",F7t="{",$7t="[",B7t="⦋",U7t="⦏",z7t="⦍",H7t="Ľ",q7t="ľ",j7t="Ļ",W7t="ļ",Q7t="⌈",V7t="{",G7t="Л",Y7t="л",Z7t="⤶",X7t="“",K7t="„",J7t="⥧",ePt="⥋",tPt="↲",nPt="≤",rPt="≦",iPt="⟨",sPt="⇤",aPt="←",oPt="←",lPt="⇐",uPt="⇆",cPt="↢",dPt="⌈",fPt="⟦",hPt="⥡",pPt="⥙",mPt="⇃",gPt="⌊",bPt="↽",yPt="↼",vPt="⇇",SPt="↔",OPt="↔",EPt="⇔",wPt="⇆",xPt="⇋",TPt="↭",kPt="⥎",_Pt="↤",APt="⊣",CPt="⥚",RPt="⋋",IPt="⧏",DPt="⊲",NPt="⊴",PPt="⥑",LPt="⥠",MPt="⥘",FPt="↿",$Pt="⥒",BPt="↼",UPt="⪋",zPt="⋚",HPt="≤",qPt="≦",jPt="⩽",WPt="⪨",QPt="⩽",VPt="⩿",GPt="⪁",YPt="⪃",ZPt="⋚︀",XPt="⪓",KPt="⪅",JPt="⋖",eLt="⋚",tLt="⪋",nLt="⋚",rLt="≦",iLt="≶",sLt="≶",aLt="⪡",oLt="≲",lLt="⩽",uLt="≲",cLt="⥼",dLt="⌊",fLt="𝔏",hLt="𝔩",pLt="≶",mLt="⪑",gLt="⥢",bLt="↽",yLt="↼",vLt="⥪",SLt="▄",OLt="Љ",ELt="љ",wLt="⇇",xLt="≪",TLt="⋘",kLt="⌞",_Lt="⇚",ALt="⥫",CLt="◺",RLt="Ŀ",ILt="ŀ",DLt="⎰",NLt="⎰",PLt="⪉",LLt="⪉",MLt="⪇",FLt="≨",$Lt="⪇",BLt="≨",ULt="⋦",zLt="⟬",HLt="⇽",qLt="⟦",jLt="⟵",WLt="⟵",QLt="⟸",VLt="⟷",GLt="⟷",YLt="⟺",ZLt="⟼",XLt="⟶",KLt="⟶",JLt="⟹",e8t="↫",t8t="↬",n8t="⦅",r8t="𝕃",i8t="𝕝",s8t="⨭",a8t="⨴",o8t="∗",l8t="_",u8t="↙",c8t="↘",d8t="◊",f8t="◊",h8t="⧫",p8t="(",m8t="⦓",g8t="⇆",b8t="⌟",y8t="⇋",v8t="⥭",S8t="‎",O8t="⊿",E8t="‹",w8t="𝓁",x8t="ℒ",T8t="↰",k8t="↰",_8t="≲",A8t="⪍",C8t="⪏",R8t="[",I8t="‘",D8t="‚",N8t="Ł",P8t="ł",L8t="⪦",M8t="⩹",F8t="<",$8t="<",B8t="≪",U8t="⋖",z8t="⋋",H8t="⋉",q8t="⥶",j8t="⩻",W8t="◃",Q8t="⊴",V8t="◂",G8t="⦖",Y8t="⥊",Z8t="⥦",X8t="≨︀",K8t="≨︀",J8t="¯",eMt="♂",tMt="✠",nMt="✠",rMt="↦",iMt="↦",sMt="↧",aMt="↤",oMt="↥",lMt="▮",uMt="⨩",cMt="М",dMt="м",fMt="—",hMt="∺",pMt="∡",mMt=" ",gMt="ℳ",bMt="𝔐",yMt="𝔪",vMt="℧",SMt="µ",OMt="*",EMt="⫰",wMt="∣",xMt="·",TMt="⊟",kMt="−",_Mt="∸",AMt="⨪",CMt="∓",RMt="⫛",IMt="…",DMt="∓",NMt="⊧",PMt="𝕄",LMt="𝕞",MMt="∓",FMt="𝓂",$Mt="ℳ",BMt="∾",UMt="Μ",zMt="μ",HMt="⊸",qMt="⊸",jMt="∇",WMt="Ń",QMt="ń",VMt="∠⃒",GMt="≉",YMt="⩰̸",ZMt="≋̸",XMt="ʼn",KMt="≉",JMt="♮",e9t="ℕ",t9t="♮",n9t=" ",r9t="≎̸",i9t="≏̸",s9t="⩃",a9t="Ň",o9t="ň",l9t="Ņ",u9t="ņ",c9t="≇",d9t="⩭̸",f9t="⩂",h9t="Н",p9t="н",m9t="–",g9t="⤤",b9t="↗",y9t="⇗",v9t="↗",S9t="≠",O9t="≐̸",E9t="​",w9t="​",x9t="​",T9t="​",k9t="≢",_9t="⤨",A9t="≂̸",C9t="≫",R9t="≪",I9t=` +`,D9t="∄",N9t="∄",P9t="𝔑",L9t="𝔫",M9t="≧̸",F9t="≱",$9t="≱",B9t="≧̸",U9t="⩾̸",z9t="⩾̸",H9t="⋙̸",q9t="≵",j9t="≫⃒",W9t="≯",Q9t="≯",V9t="≫̸",G9t="↮",Y9t="⇎",Z9t="⫲",X9t="∋",K9t="⋼",J9t="⋺",eFt="∋",tFt="Њ",nFt="њ",rFt="↚",iFt="⇍",sFt="‥",aFt="≦̸",oFt="≰",lFt="↚",uFt="⇍",cFt="↮",dFt="⇎",fFt="≰",hFt="≦̸",pFt="⩽̸",mFt="⩽̸",gFt="≮",bFt="⋘̸",yFt="≴",vFt="≪⃒",SFt="≮",OFt="⋪",EFt="⋬",wFt="≪̸",xFt="∤",TFt="⁠",kFt=" ",_Ft="𝕟",AFt="ℕ",CFt="⫬",RFt="¬",IFt="≢",DFt="≭",NFt="∦",PFt="∉",LFt="≠",MFt="≂̸",FFt="∄",$Ft="≯",BFt="≱",UFt="≧̸",zFt="≫̸",HFt="≹",qFt="⩾̸",jFt="≵",WFt="≎̸",QFt="≏̸",VFt="∉",GFt="⋵̸",YFt="⋹̸",ZFt="∉",XFt="⋷",KFt="⋶",JFt="⧏̸",e$t="⋪",t$t="⋬",n$t="≮",r$t="≰",i$t="≸",s$t="≪̸",a$t="⩽̸",o$t="≴",l$t="⪢̸",u$t="⪡̸",c$t="∌",d$t="∌",f$t="⋾",h$t="⋽",p$t="⊀",m$t="⪯̸",g$t="⋠",b$t="∌",y$t="⧐̸",v$t="⋫",S$t="⋭",O$t="⊏̸",E$t="⋢",w$t="⊐̸",x$t="⋣",T$t="⊂⃒",k$t="⊈",_$t="⊁",A$t="⪰̸",C$t="⋡",R$t="≿̸",I$t="⊃⃒",D$t="⊉",N$t="≁",P$t="≄",L$t="≇",M$t="≉",F$t="∤",$$t="∦",B$t="∦",U$t="⫽⃥",z$t="∂̸",H$t="⨔",q$t="⊀",j$t="⋠",W$t="⊀",Q$t="⪯̸",V$t="⪯̸",G$t="⤳̸",Y$t="↛",Z$t="⇏",X$t="↝̸",K$t="↛",J$t="⇏",eBt="⋫",tBt="⋭",nBt="⊁",rBt="⋡",iBt="⪰̸",sBt="𝒩",aBt="𝓃",oBt="∤",lBt="∦",uBt="≁",cBt="≄",dBt="≄",fBt="∤",hBt="∦",pBt="⋢",mBt="⋣",gBt="⊄",bBt="⫅̸",yBt="⊈",vBt="⊂⃒",SBt="⊈",OBt="⫅̸",EBt="⊁",wBt="⪰̸",xBt="⊅",TBt="⫆̸",kBt="⊉",_Bt="⊃⃒",ABt="⊉",CBt="⫆̸",RBt="≹",IBt="Ñ",DBt="ñ",NBt="≸",PBt="⋪",LBt="⋬",MBt="⋫",FBt="⋭",$Bt="Ν",BBt="ν",UBt="#",zBt="№",HBt=" ",qBt="≍⃒",jBt="⊬",WBt="⊭",QBt="⊮",VBt="⊯",GBt="≥⃒",YBt=">⃒",ZBt="⤄",XBt="⧞",KBt="⤂",JBt="≤⃒",eUt="<⃒",tUt="⊴⃒",nUt="⤃",rUt="⊵⃒",iUt="∼⃒",sUt="⤣",aUt="↖",oUt="⇖",lUt="↖",uUt="⤧",cUt="Ó",dUt="ó",fUt="⊛",hUt="Ô",pUt="ô",mUt="⊚",gUt="О",bUt="о",yUt="⊝",vUt="Ő",SUt="ő",OUt="⨸",EUt="⊙",wUt="⦼",xUt="Œ",TUt="œ",kUt="⦿",_Ut="𝔒",AUt="𝔬",CUt="˛",RUt="Ò",IUt="ò",DUt="⧁",NUt="⦵",PUt="Ω",LUt="∮",MUt="↺",FUt="⦾",$Ut="⦻",BUt="‾",UUt="⧀",zUt="Ō",HUt="ō",qUt="Ω",jUt="ω",WUt="Ο",QUt="ο",VUt="⦶",GUt="⊖",YUt="𝕆",ZUt="𝕠",XUt="⦷",KUt="“",JUt="‘",ezt="⦹",tzt="⊕",nzt="↻",rzt="⩔",izt="∨",szt="⩝",azt="ℴ",ozt="ℴ",lzt="ª",uzt="º",czt="⊶",dzt="⩖",fzt="⩗",hzt="⩛",pzt="Ⓢ",mzt="𝒪",gzt="ℴ",bzt="Ø",yzt="ø",vzt="⊘",Szt="Õ",Ozt="õ",Ezt="⨶",wzt="⨷",xzt="⊗",Tzt="Ö",kzt="ö",_zt="⌽",Azt="‾",Czt="⏞",Rzt="⎴",Izt="⏜",Dzt="¶",Nzt="∥",Pzt="∥",Lzt="⫳",Mzt="⫽",Fzt="∂",$zt="∂",Bzt="П",Uzt="п",zzt="%",Hzt=".",qzt="‰",jzt="⊥",Wzt="‱",Qzt="𝔓",Vzt="𝔭",Gzt="Φ",Yzt="φ",Zzt="ϕ",Xzt="ℳ",Kzt="☎",Jzt="Π",eHt="π",tHt="⋔",nHt="ϖ",rHt="ℏ",iHt="ℎ",sHt="ℏ",aHt="⨣",oHt="⊞",lHt="⨢",uHt="+",cHt="∔",dHt="⨥",fHt="⩲",hHt="±",pHt="±",mHt="⨦",gHt="⨧",bHt="±",yHt="ℌ",vHt="⨕",SHt="𝕡",OHt="ℙ",EHt="£",wHt="⪷",xHt="⪻",THt="≺",kHt="≼",_Ht="⪷",AHt="≺",CHt="≼",RHt="≺",IHt="⪯",DHt="≼",NHt="≾",PHt="⪯",LHt="⪹",MHt="⪵",FHt="⋨",$Ht="⪯",BHt="⪳",UHt="≾",zHt="′",HHt="″",qHt="ℙ",jHt="⪹",WHt="⪵",QHt="⋨",VHt="∏",GHt="∏",YHt="⌮",ZHt="⌒",XHt="⌓",KHt="∝",JHt="∝",eqt="∷",tqt="∝",nqt="≾",rqt="⊰",iqt="𝒫",sqt="𝓅",aqt="Ψ",oqt="ψ",lqt=" ",uqt="𝔔",cqt="𝔮",dqt="⨌",fqt="𝕢",hqt="ℚ",pqt="⁗",mqt="𝒬",gqt="𝓆",bqt="ℍ",yqt="⨖",vqt="?",Sqt="≟",Oqt='"',Eqt='"',wqt="⇛",xqt="∽̱",Tqt="Ŕ",kqt="ŕ",_qt="√",Aqt="⦳",Cqt="⟩",Rqt="⟫",Iqt="⦒",Dqt="⦥",Nqt="⟩",Pqt="»",Lqt="⥵",Mqt="⇥",Fqt="⤠",$qt="⤳",Bqt="→",Uqt="↠",zqt="⇒",Hqt="⤞",qqt="↪",jqt="↬",Wqt="⥅",Qqt="⥴",Vqt="⤖",Gqt="↣",Yqt="↝",Zqt="⤚",Xqt="⤜",Kqt="∶",Jqt="ℚ",ejt="⤍",tjt="⤏",njt="⤐",rjt="❳",ijt="}",sjt="]",ajt="⦌",ojt="⦎",ljt="⦐",ujt="Ř",cjt="ř",djt="Ŗ",fjt="ŗ",hjt="⌉",pjt="}",mjt="Р",gjt="р",bjt="⤷",yjt="⥩",vjt="”",Sjt="”",Ojt="↳",Ejt="ℜ",wjt="ℛ",xjt="ℜ",Tjt="ℝ",kjt="ℜ",_jt="▭",Ajt="®",Cjt="®",Rjt="∋",Ijt="⇋",Djt="⥯",Njt="⥽",Pjt="⌋",Ljt="𝔯",Mjt="ℜ",Fjt="⥤",$jt="⇁",Bjt="⇀",Ujt="⥬",zjt="Ρ",Hjt="ρ",qjt="ϱ",jjt="⟩",Wjt="⇥",Qjt="→",Vjt="→",Gjt="⇒",Yjt="⇄",Zjt="↣",Xjt="⌉",Kjt="⟧",Jjt="⥝",eWt="⥕",tWt="⇂",nWt="⌋",rWt="⇁",iWt="⇀",sWt="⇄",aWt="⇌",oWt="⇉",lWt="↝",uWt="↦",cWt="⊢",dWt="⥛",fWt="⋌",hWt="⧐",pWt="⊳",mWt="⊵",gWt="⥏",bWt="⥜",yWt="⥔",vWt="↾",SWt="⥓",OWt="⇀",EWt="˚",wWt="≓",xWt="⇄",TWt="⇌",kWt="‏",_Wt="⎱",AWt="⎱",CWt="⫮",RWt="⟭",IWt="⇾",DWt="⟧",NWt="⦆",PWt="𝕣",LWt="ℝ",MWt="⨮",FWt="⨵",$Wt="⥰",BWt=")",UWt="⦔",zWt="⨒",HWt="⇉",qWt="⇛",jWt="›",WWt="𝓇",QWt="ℛ",VWt="↱",GWt="↱",YWt="]",ZWt="’",XWt="’",KWt="⋌",JWt="⋊",eQt="▹",tQt="⊵",nQt="▸",rQt="⧎",iQt="⧴",sQt="⥨",aQt="℞",oQt="Ś",lQt="ś",uQt="‚",cQt="⪸",dQt="Š",fQt="š",hQt="⪼",pQt="≻",mQt="≽",gQt="⪰",bQt="⪴",yQt="Ş",vQt="ş",SQt="Ŝ",OQt="ŝ",EQt="⪺",wQt="⪶",xQt="⋩",TQt="⨓",kQt="≿",_Qt="С",AQt="с",CQt="⊡",RQt="⋅",IQt="⩦",DQt="⤥",NQt="↘",PQt="⇘",LQt="↘",MQt="§",FQt=";",$Qt="⤩",BQt="∖",UQt="∖",zQt="✶",HQt="𝔖",qQt="𝔰",jQt="⌢",WQt="♯",QQt="Щ",VQt="щ",GQt="Ш",YQt="ш",ZQt="↓",XQt="←",KQt="∣",JQt="∥",eVt="→",tVt="↑",nVt="­",rVt="Σ",iVt="σ",sVt="ς",aVt="ς",oVt="∼",lVt="⩪",uVt="≃",cVt="≃",dVt="⪞",fVt="⪠",hVt="⪝",pVt="⪟",mVt="≆",gVt="⨤",bVt="⥲",yVt="←",vVt="∘",SVt="∖",OVt="⨳",EVt="⧤",wVt="∣",xVt="⌣",TVt="⪪",kVt="⪬",_Vt="⪬︀",AVt="Ь",CVt="ь",RVt="⌿",IVt="⧄",DVt="/",NVt="𝕊",PVt="𝕤",LVt="♠",MVt="♠",FVt="∥",$Vt="⊓",BVt="⊓︀",UVt="⊔",zVt="⊔︀",HVt="√",qVt="⊏",jVt="⊑",WVt="⊏",QVt="⊑",VVt="⊐",GVt="⊒",YVt="⊐",ZVt="⊒",XVt="□",KVt="□",JVt="⊓",eGt="⊏",tGt="⊑",nGt="⊐",rGt="⊒",iGt="⊔",sGt="▪",aGt="□",oGt="▪",lGt="→",uGt="𝒮",cGt="𝓈",dGt="∖",fGt="⌣",hGt="⋆",pGt="⋆",mGt="☆",gGt="★",bGt="ϵ",yGt="ϕ",vGt="¯",SGt="⊂",OGt="⋐",EGt="⪽",wGt="⫅",xGt="⊆",TGt="⫃",kGt="⫁",_Gt="⫋",AGt="⊊",CGt="⪿",RGt="⥹",IGt="⊂",DGt="⋐",NGt="⊆",PGt="⫅",LGt="⊆",MGt="⊊",FGt="⫋",$Gt="⫇",BGt="⫕",UGt="⫓",zGt="⪸",HGt="≻",qGt="≽",jGt="≻",WGt="⪰",QGt="≽",VGt="≿",GGt="⪰",YGt="⪺",ZGt="⪶",XGt="⋩",KGt="≿",JGt="∋",eYt="∑",tYt="∑",nYt="♪",rYt="¹",iYt="²",sYt="³",aYt="⊃",oYt="⋑",lYt="⪾",uYt="⫘",cYt="⫆",dYt="⊇",fYt="⫄",hYt="⊃",pYt="⊇",mYt="⟉",gYt="⫗",bYt="⥻",yYt="⫂",vYt="⫌",SYt="⊋",OYt="⫀",EYt="⊃",wYt="⋑",xYt="⊇",TYt="⫆",kYt="⊋",_Yt="⫌",AYt="⫈",CYt="⫔",RYt="⫖",IYt="⤦",DYt="↙",NYt="⇙",PYt="↙",LYt="⤪",MYt="ß",FYt=" ",$Yt="⌖",BYt="Τ",UYt="τ",zYt="⎴",HYt="Ť",qYt="ť",jYt="Ţ",WYt="ţ",QYt="Т",VYt="т",GYt="⃛",YYt="⌕",ZYt="𝔗",XYt="𝔱",KYt="∴",JYt="∴",eZt="∴",tZt="Θ",nZt="θ",rZt="ϑ",iZt="ϑ",sZt="≈",aZt="∼",oZt="  ",lZt=" ",uZt=" ",cZt="≈",dZt="∼",fZt="Þ",hZt="þ",pZt="˜",mZt="∼",gZt="≃",bZt="≅",yZt="≈",vZt="⨱",SZt="⊠",OZt="×",EZt="⨰",wZt="∭",xZt="⤨",TZt="⌶",kZt="⫱",_Zt="⊤",AZt="𝕋",CZt="𝕥",RZt="⫚",IZt="⤩",DZt="‴",NZt="™",PZt="™",LZt="▵",MZt="▿",FZt="◃",$Zt="⊴",BZt="≜",UZt="▹",zZt="⊵",HZt="◬",qZt="≜",jZt="⨺",WZt="⃛",QZt="⨹",VZt="⧍",GZt="⨻",YZt="⏢",ZZt="𝒯",XZt="𝓉",KZt="Ц",JZt="ц",eXt="Ћ",tXt="ћ",nXt="Ŧ",rXt="ŧ",iXt="≬",sXt="↞",aXt="↠",oXt="Ú",lXt="ú",uXt="↑",cXt="↟",dXt="⇑",fXt="⥉",hXt="Ў",pXt="ў",mXt="Ŭ",gXt="ŭ",bXt="Û",yXt="û",vXt="У",SXt="у",OXt="⇅",EXt="Ű",wXt="ű",xXt="⥮",TXt="⥾",kXt="𝔘",_Xt="𝔲",AXt="Ù",CXt="ù",RXt="⥣",IXt="↿",DXt="↾",NXt="▀",PXt="⌜",LXt="⌜",MXt="⌏",FXt="◸",$Xt="Ū",BXt="ū",UXt="¨",zXt="_",HXt="⏟",qXt="⎵",jXt="⏝",WXt="⋃",QXt="⊎",VXt="Ų",GXt="ų",YXt="𝕌",ZXt="𝕦",XXt="⤒",KXt="↑",JXt="↑",eKt="⇑",tKt="⇅",nKt="↕",rKt="↕",iKt="⇕",sKt="⥮",aKt="↿",oKt="↾",lKt="⊎",uKt="↖",cKt="↗",dKt="υ",fKt="ϒ",hKt="ϒ",pKt="Υ",mKt="υ",gKt="↥",bKt="⊥",yKt="⇈",vKt="⌝",SKt="⌝",OKt="⌎",EKt="Ů",wKt="ů",xKt="◹",TKt="𝒰",kKt="𝓊",_Kt="⋰",AKt="Ũ",CKt="ũ",RKt="▵",IKt="▴",DKt="⇈",NKt="Ü",PKt="ü",LKt="⦧",MKt="⦜",FKt="ϵ",$Kt="ϰ",BKt="∅",UKt="ϕ",zKt="ϖ",HKt="∝",qKt="↕",jKt="⇕",WKt="ϱ",QKt="ς",VKt="⊊︀",GKt="⫋︀",YKt="⊋︀",ZKt="⫌︀",XKt="ϑ",KKt="⊲",JKt="⊳",eJt="⫨",tJt="⫫",nJt="⫩",rJt="В",iJt="в",sJt="⊢",aJt="⊨",oJt="⊩",lJt="⊫",uJt="⫦",cJt="⊻",dJt="∨",fJt="⋁",hJt="≚",pJt="⋮",mJt="|",gJt="‖",bJt="|",yJt="‖",vJt="∣",SJt="|",OJt="❘",EJt="≀",wJt=" ",xJt="𝔙",TJt="𝔳",kJt="⊲",_Jt="⊂⃒",AJt="⊃⃒",CJt="𝕍",RJt="𝕧",IJt="∝",DJt="⊳",NJt="𝒱",PJt="𝓋",LJt="⫋︀",MJt="⊊︀",FJt="⫌︀",$Jt="⊋︀",BJt="⊪",UJt="⦚",zJt="Ŵ",HJt="ŵ",qJt="⩟",jJt="∧",WJt="⋀",QJt="≙",VJt="℘",GJt="𝔚",YJt="𝔴",ZJt="𝕎",XJt="𝕨",KJt="℘",JJt="≀",een="≀",ten="𝒲",nen="𝓌",ren="⋂",ien="◯",sen="⋃",aen="▽",oen="𝔛",len="𝔵",uen="⟷",cen="⟺",den="Ξ",fen="ξ",hen="⟵",pen="⟸",men="⟼",gen="⋻",ben="⨀",yen="𝕏",ven="𝕩",Sen="⨁",Oen="⨂",Een="⟶",wen="⟹",xen="𝒳",Ten="𝓍",ken="⨆",_en="⨄",Aen="△",Cen="⋁",Ren="⋀",Ien="Ý",Den="ý",Nen="Я",Pen="я",Len="Ŷ",Men="ŷ",Fen="Ы",$en="ы",Ben="¥",Uen="𝔜",zen="𝔶",Hen="Ї",qen="ї",jen="𝕐",Wen="𝕪",Qen="𝒴",Ven="𝓎",Gen="Ю",Yen="ю",Zen="ÿ",Xen="Ÿ",Ken="Ź",Jen="ź",etn="Ž",ttn="ž",ntn="З",rtn="з",itn="Ż",stn="ż",atn="ℨ",otn="​",ltn="Ζ",utn="ζ",ctn="𝔷",dtn="ℨ",ftn="Ж",htn="ж",ptn="⇝",mtn="𝕫",gtn="ℤ",btn="𝒵",ytn="𝓏",vtn="‍",Stn="‌",Otn={Aacute:iwt,aacute:swt,Abreve:awt,abreve:owt,ac:lwt,acd:uwt,acE:cwt,Acirc:dwt,acirc:fwt,acute:hwt,Acy:pwt,acy:mwt,AElig:gwt,aelig:bwt,af:ywt,Afr:vwt,afr:Swt,Agrave:Owt,agrave:Ewt,alefsym:wwt,aleph:xwt,Alpha:Twt,alpha:kwt,Amacr:_wt,amacr:Awt,amalg:Cwt,amp:Rwt,AMP:Iwt,andand:Dwt,And:Nwt,and:Pwt,andd:Lwt,andslope:Mwt,andv:Fwt,ang:$wt,ange:Bwt,angle:Uwt,angmsdaa:zwt,angmsdab:Hwt,angmsdac:qwt,angmsdad:jwt,angmsdae:Wwt,angmsdaf:Qwt,angmsdag:Vwt,angmsdah:Gwt,angmsd:Ywt,angrt:Zwt,angrtvb:Xwt,angrtvbd:Kwt,angsph:Jwt,angst:ext,angzarr:txt,Aogon:nxt,aogon:rxt,Aopf:ixt,aopf:sxt,apacir:axt,ap:oxt,apE:lxt,ape:uxt,apid:cxt,apos:dxt,ApplyFunction:fxt,approx:hxt,approxeq:pxt,Aring:mxt,aring:gxt,Ascr:bxt,ascr:yxt,Assign:vxt,ast:Sxt,asymp:Oxt,asympeq:Ext,Atilde:wxt,atilde:xxt,Auml:Txt,auml:kxt,awconint:_xt,awint:Axt,backcong:Cxt,backepsilon:Rxt,backprime:Ixt,backsim:Dxt,backsimeq:Nxt,Backslash:Pxt,Barv:Lxt,barvee:Mxt,barwed:Fxt,Barwed:$xt,barwedge:Bxt,bbrk:Uxt,bbrktbrk:zxt,bcong:Hxt,Bcy:qxt,bcy:jxt,bdquo:Wxt,becaus:Qxt,because:Vxt,Because:Gxt,bemptyv:Yxt,bepsi:Zxt,bernou:Xxt,Bernoullis:Kxt,Beta:Jxt,beta:eTt,beth:tTt,between:nTt,Bfr:rTt,bfr:iTt,bigcap:sTt,bigcirc:aTt,bigcup:oTt,bigodot:lTt,bigoplus:uTt,bigotimes:cTt,bigsqcup:dTt,bigstar:fTt,bigtriangledown:hTt,bigtriangleup:pTt,biguplus:mTt,bigvee:gTt,bigwedge:bTt,bkarow:yTt,blacklozenge:vTt,blacksquare:STt,blacktriangle:OTt,blacktriangledown:ETt,blacktriangleleft:wTt,blacktriangleright:xTt,blank:TTt,blk12:kTt,blk14:_Tt,blk34:ATt,block:CTt,bne:RTt,bnequiv:ITt,bNot:DTt,bnot:NTt,Bopf:PTt,bopf:LTt,bot:MTt,bottom:FTt,bowtie:$Tt,boxbox:BTt,boxdl:UTt,boxdL:zTt,boxDl:HTt,boxDL:qTt,boxdr:jTt,boxdR:WTt,boxDr:QTt,boxDR:VTt,boxh:GTt,boxH:YTt,boxhd:ZTt,boxHd:XTt,boxhD:KTt,boxHD:JTt,boxhu:ekt,boxHu:tkt,boxhU:nkt,boxHU:rkt,boxminus:ikt,boxplus:skt,boxtimes:akt,boxul:okt,boxuL:lkt,boxUl:ukt,boxUL:ckt,boxur:dkt,boxuR:fkt,boxUr:hkt,boxUR:pkt,boxv:mkt,boxV:gkt,boxvh:bkt,boxvH:ykt,boxVh:vkt,boxVH:Skt,boxvl:Okt,boxvL:Ekt,boxVl:wkt,boxVL:xkt,boxvr:Tkt,boxvR:kkt,boxVr:_kt,boxVR:Akt,bprime:Ckt,breve:Rkt,Breve:Ikt,brvbar:Dkt,bscr:Nkt,Bscr:Pkt,bsemi:Lkt,bsim:Mkt,bsime:Fkt,bsolb:$kt,bsol:Bkt,bsolhsub:Ukt,bull:zkt,bullet:Hkt,bump:qkt,bumpE:jkt,bumpe:Wkt,Bumpeq:Qkt,bumpeq:Vkt,Cacute:Gkt,cacute:Ykt,capand:Zkt,capbrcup:Xkt,capcap:Kkt,cap:Jkt,Cap:e_t,capcup:t_t,capdot:n_t,CapitalDifferentialD:r_t,caps:i_t,caret:s_t,caron:a_t,Cayleys:o_t,ccaps:l_t,Ccaron:u_t,ccaron:c_t,Ccedil:d_t,ccedil:f_t,Ccirc:h_t,ccirc:p_t,Cconint:m_t,ccups:g_t,ccupssm:b_t,Cdot:y_t,cdot:v_t,cedil:S_t,Cedilla:O_t,cemptyv:E_t,cent:w_t,centerdot:x_t,CenterDot:T_t,cfr:k_t,Cfr:__t,CHcy:A_t,chcy:C_t,check:R_t,checkmark:I_t,Chi:D_t,chi:N_t,circ:P_t,circeq:L_t,circlearrowleft:M_t,circlearrowright:F_t,circledast:$_t,circledcirc:B_t,circleddash:U_t,CircleDot:z_t,circledR:H_t,circledS:q_t,CircleMinus:j_t,CirclePlus:W_t,CircleTimes:Q_t,cir:V_t,cirE:G_t,cire:Y_t,cirfnint:Z_t,cirmid:X_t,cirscir:K_t,ClockwiseContourIntegral:J_t,CloseCurlyDoubleQuote:eAt,CloseCurlyQuote:tAt,clubs:nAt,clubsuit:rAt,colon:iAt,Colon:sAt,Colone:aAt,colone:oAt,coloneq:lAt,comma:uAt,commat:cAt,comp:dAt,compfn:fAt,complement:hAt,complexes:pAt,cong:mAt,congdot:gAt,Congruent:bAt,conint:yAt,Conint:vAt,ContourIntegral:SAt,copf:OAt,Copf:EAt,coprod:wAt,Coproduct:xAt,copy:TAt,COPY:kAt,copysr:_At,CounterClockwiseContourIntegral:AAt,crarr:CAt,cross:RAt,Cross:IAt,Cscr:DAt,cscr:NAt,csub:PAt,csube:LAt,csup:MAt,csupe:FAt,ctdot:$At,cudarrl:BAt,cudarrr:UAt,cuepr:zAt,cuesc:HAt,cularr:qAt,cularrp:jAt,cupbrcap:WAt,cupcap:QAt,CupCap:VAt,cup:GAt,Cup:YAt,cupcup:ZAt,cupdot:XAt,cupor:KAt,cups:JAt,curarr:eCt,curarrm:tCt,curlyeqprec:nCt,curlyeqsucc:rCt,curlyvee:iCt,curlywedge:sCt,curren:aCt,curvearrowleft:oCt,curvearrowright:lCt,cuvee:uCt,cuwed:cCt,cwconint:dCt,cwint:fCt,cylcty:hCt,dagger:pCt,Dagger:mCt,daleth:gCt,darr:bCt,Darr:yCt,dArr:vCt,dash:SCt,Dashv:OCt,dashv:ECt,dbkarow:wCt,dblac:xCt,Dcaron:TCt,dcaron:kCt,Dcy:_Ct,dcy:ACt,ddagger:CCt,ddarr:RCt,DD:ICt,dd:DCt,DDotrahd:NCt,ddotseq:PCt,deg:LCt,Del:MCt,Delta:FCt,delta:$Ct,demptyv:BCt,dfisht:UCt,Dfr:zCt,dfr:HCt,dHar:qCt,dharl:jCt,dharr:WCt,DiacriticalAcute:QCt,DiacriticalDot:VCt,DiacriticalDoubleAcute:GCt,DiacriticalGrave:YCt,DiacriticalTilde:ZCt,diam:XCt,diamond:KCt,Diamond:JCt,diamondsuit:e4t,diams:t4t,die:n4t,DifferentialD:r4t,digamma:i4t,disin:s4t,div:a4t,divide:o4t,divideontimes:l4t,divonx:u4t,DJcy:c4t,djcy:d4t,dlcorn:f4t,dlcrop:h4t,dollar:p4t,Dopf:m4t,dopf:g4t,Dot:b4t,dot:y4t,DotDot:v4t,doteq:S4t,doteqdot:O4t,DotEqual:E4t,dotminus:w4t,dotplus:x4t,dotsquare:T4t,doublebarwedge:k4t,DoubleContourIntegral:_4t,DoubleDot:A4t,DoubleDownArrow:C4t,DoubleLeftArrow:R4t,DoubleLeftRightArrow:I4t,DoubleLeftTee:D4t,DoubleLongLeftArrow:N4t,DoubleLongLeftRightArrow:P4t,DoubleLongRightArrow:L4t,DoubleRightArrow:M4t,DoubleRightTee:F4t,DoubleUpArrow:$4t,DoubleUpDownArrow:B4t,DoubleVerticalBar:U4t,DownArrowBar:z4t,downarrow:H4t,DownArrow:q4t,Downarrow:j4t,DownArrowUpArrow:W4t,DownBreve:Q4t,downdownarrows:V4t,downharpoonleft:G4t,downharpoonright:Y4t,DownLeftRightVector:Z4t,DownLeftTeeVector:X4t,DownLeftVectorBar:K4t,DownLeftVector:J4t,DownRightTeeVector:e3t,DownRightVectorBar:t3t,DownRightVector:n3t,DownTeeArrow:r3t,DownTee:i3t,drbkarow:s3t,drcorn:a3t,drcrop:o3t,Dscr:l3t,dscr:u3t,DScy:c3t,dscy:d3t,dsol:f3t,Dstrok:h3t,dstrok:p3t,dtdot:m3t,dtri:g3t,dtrif:b3t,duarr:y3t,duhar:v3t,dwangle:S3t,DZcy:O3t,dzcy:E3t,dzigrarr:w3t,Eacute:x3t,eacute:T3t,easter:k3t,Ecaron:_3t,ecaron:A3t,Ecirc:C3t,ecirc:R3t,ecir:I3t,ecolon:D3t,Ecy:N3t,ecy:P3t,eDDot:L3t,Edot:M3t,edot:F3t,eDot:$3t,ee:B3t,efDot:U3t,Efr:z3t,efr:H3t,eg:q3t,Egrave:j3t,egrave:W3t,egs:Q3t,egsdot:V3t,el:G3t,Element:Y3t,elinters:Z3t,ell:X3t,els:K3t,elsdot:J3t,Emacr:eRt,emacr:tRt,empty:nRt,emptyset:rRt,EmptySmallSquare:iRt,emptyv:sRt,EmptyVerySmallSquare:aRt,emsp13:oRt,emsp14:lRt,emsp:uRt,ENG:cRt,eng:dRt,ensp:fRt,Eogon:hRt,eogon:pRt,Eopf:mRt,eopf:gRt,epar:bRt,eparsl:yRt,eplus:vRt,epsi:SRt,Epsilon:ORt,epsilon:ERt,epsiv:wRt,eqcirc:xRt,eqcolon:TRt,eqsim:kRt,eqslantgtr:_Rt,eqslantless:ARt,Equal:CRt,equals:RRt,EqualTilde:IRt,equest:DRt,Equilibrium:NRt,equiv:PRt,equivDD:LRt,eqvparsl:MRt,erarr:FRt,erDot:$Rt,escr:BRt,Escr:URt,esdot:zRt,Esim:HRt,esim:qRt,Eta:jRt,eta:WRt,ETH:QRt,eth:VRt,Euml:GRt,euml:YRt,euro:ZRt,excl:XRt,exist:KRt,Exists:JRt,expectation:e5t,exponentiale:t5t,ExponentialE:n5t,fallingdotseq:r5t,Fcy:i5t,fcy:s5t,female:a5t,ffilig:o5t,fflig:l5t,ffllig:u5t,Ffr:c5t,ffr:d5t,filig:f5t,FilledSmallSquare:h5t,FilledVerySmallSquare:p5t,fjlig:m5t,flat:g5t,fllig:b5t,fltns:y5t,fnof:v5t,Fopf:S5t,fopf:O5t,forall:E5t,ForAll:w5t,fork:x5t,forkv:T5t,Fouriertrf:k5t,fpartint:_5t,frac12:A5t,frac13:C5t,frac14:R5t,frac15:I5t,frac16:D5t,frac18:N5t,frac23:P5t,frac25:L5t,frac34:M5t,frac35:F5t,frac38:$5t,frac45:B5t,frac56:U5t,frac58:z5t,frac78:H5t,frasl:q5t,frown:j5t,fscr:W5t,Fscr:Q5t,gacute:V5t,Gamma:G5t,gamma:Y5t,Gammad:Z5t,gammad:X5t,gap:K5t,Gbreve:J5t,gbreve:eIt,Gcedil:tIt,Gcirc:nIt,gcirc:rIt,Gcy:iIt,gcy:sIt,Gdot:aIt,gdot:oIt,ge:lIt,gE:uIt,gEl:cIt,gel:dIt,geq:fIt,geqq:hIt,geqslant:pIt,gescc:mIt,ges:gIt,gesdot:bIt,gesdoto:yIt,gesdotol:vIt,gesl:SIt,gesles:OIt,Gfr:EIt,gfr:wIt,gg:xIt,Gg:TIt,ggg:kIt,gimel:_It,GJcy:AIt,gjcy:CIt,gla:RIt,gl:IIt,glE:DIt,glj:NIt,gnap:PIt,gnapprox:LIt,gne:MIt,gnE:FIt,gneq:$It,gneqq:BIt,gnsim:UIt,Gopf:zIt,gopf:HIt,grave:qIt,GreaterEqual:jIt,GreaterEqualLess:WIt,GreaterFullEqual:QIt,GreaterGreater:VIt,GreaterLess:GIt,GreaterSlantEqual:YIt,GreaterTilde:ZIt,Gscr:XIt,gscr:KIt,gsim:JIt,gsime:e6t,gsiml:t6t,gtcc:n6t,gtcir:r6t,gt:i6t,GT:s6t,Gt:a6t,gtdot:o6t,gtlPar:l6t,gtquest:u6t,gtrapprox:c6t,gtrarr:d6t,gtrdot:f6t,gtreqless:h6t,gtreqqless:p6t,gtrless:m6t,gtrsim:g6t,gvertneqq:b6t,gvnE:y6t,Hacek:v6t,hairsp:S6t,half:O6t,hamilt:E6t,HARDcy:w6t,hardcy:x6t,harrcir:T6t,harr:k6t,hArr:_6t,harrw:A6t,Hat:C6t,hbar:R6t,Hcirc:I6t,hcirc:D6t,hearts:N6t,heartsuit:P6t,hellip:L6t,hercon:M6t,hfr:F6t,Hfr:$6t,HilbertSpace:B6t,hksearow:U6t,hkswarow:z6t,hoarr:H6t,homtht:q6t,hookleftarrow:j6t,hookrightarrow:W6t,hopf:Q6t,Hopf:V6t,horbar:G6t,HorizontalLine:Y6t,hscr:Z6t,Hscr:X6t,hslash:K6t,Hstrok:J6t,hstrok:eDt,HumpDownHump:tDt,HumpEqual:nDt,hybull:rDt,hyphen:iDt,Iacute:sDt,iacute:aDt,ic:oDt,Icirc:lDt,icirc:uDt,Icy:cDt,icy:dDt,Idot:fDt,IEcy:hDt,iecy:pDt,iexcl:mDt,iff:gDt,ifr:bDt,Ifr:yDt,Igrave:vDt,igrave:SDt,ii:ODt,iiiint:EDt,iiint:wDt,iinfin:xDt,iiota:TDt,IJlig:kDt,ijlig:_Dt,Imacr:ADt,imacr:CDt,image:RDt,ImaginaryI:IDt,imagline:DDt,imagpart:NDt,imath:PDt,Im:LDt,imof:MDt,imped:FDt,Implies:$Dt,incare:BDt,in:"∈",infin:UDt,infintie:zDt,inodot:HDt,intcal:qDt,int:jDt,Int:WDt,integers:QDt,Integral:VDt,intercal:GDt,Intersection:YDt,intlarhk:ZDt,intprod:XDt,InvisibleComma:KDt,InvisibleTimes:JDt,IOcy:eNt,iocy:tNt,Iogon:nNt,iogon:rNt,Iopf:iNt,iopf:sNt,Iota:aNt,iota:oNt,iprod:lNt,iquest:uNt,iscr:cNt,Iscr:dNt,isin:fNt,isindot:hNt,isinE:pNt,isins:mNt,isinsv:gNt,isinv:bNt,it:yNt,Itilde:vNt,itilde:SNt,Iukcy:ONt,iukcy:ENt,Iuml:wNt,iuml:xNt,Jcirc:TNt,jcirc:kNt,Jcy:_Nt,jcy:ANt,Jfr:CNt,jfr:RNt,jmath:INt,Jopf:DNt,jopf:NNt,Jscr:PNt,jscr:LNt,Jsercy:MNt,jsercy:FNt,Jukcy:$Nt,jukcy:BNt,Kappa:UNt,kappa:zNt,kappav:HNt,Kcedil:qNt,kcedil:jNt,Kcy:WNt,kcy:QNt,Kfr:VNt,kfr:GNt,kgreen:YNt,KHcy:ZNt,khcy:XNt,KJcy:KNt,kjcy:JNt,Kopf:e7t,kopf:t7t,Kscr:n7t,kscr:r7t,lAarr:i7t,Lacute:s7t,lacute:a7t,laemptyv:o7t,lagran:l7t,Lambda:u7t,lambda:c7t,lang:d7t,Lang:f7t,langd:h7t,langle:p7t,lap:m7t,Laplacetrf:g7t,laquo:b7t,larrb:y7t,larrbfs:v7t,larr:S7t,Larr:O7t,lArr:E7t,larrfs:w7t,larrhk:x7t,larrlp:T7t,larrpl:k7t,larrsim:_7t,larrtl:A7t,latail:C7t,lAtail:R7t,lat:I7t,late:D7t,lates:N7t,lbarr:P7t,lBarr:L7t,lbbrk:M7t,lbrace:F7t,lbrack:$7t,lbrke:B7t,lbrksld:U7t,lbrkslu:z7t,Lcaron:H7t,lcaron:q7t,Lcedil:j7t,lcedil:W7t,lceil:Q7t,lcub:V7t,Lcy:G7t,lcy:Y7t,ldca:Z7t,ldquo:X7t,ldquor:K7t,ldrdhar:J7t,ldrushar:ePt,ldsh:tPt,le:nPt,lE:rPt,LeftAngleBracket:iPt,LeftArrowBar:sPt,leftarrow:aPt,LeftArrow:oPt,Leftarrow:lPt,LeftArrowRightArrow:uPt,leftarrowtail:cPt,LeftCeiling:dPt,LeftDoubleBracket:fPt,LeftDownTeeVector:hPt,LeftDownVectorBar:pPt,LeftDownVector:mPt,LeftFloor:gPt,leftharpoondown:bPt,leftharpoonup:yPt,leftleftarrows:vPt,leftrightarrow:SPt,LeftRightArrow:OPt,Leftrightarrow:EPt,leftrightarrows:wPt,leftrightharpoons:xPt,leftrightsquigarrow:TPt,LeftRightVector:kPt,LeftTeeArrow:_Pt,LeftTee:APt,LeftTeeVector:CPt,leftthreetimes:RPt,LeftTriangleBar:IPt,LeftTriangle:DPt,LeftTriangleEqual:NPt,LeftUpDownVector:PPt,LeftUpTeeVector:LPt,LeftUpVectorBar:MPt,LeftUpVector:FPt,LeftVectorBar:$Pt,LeftVector:BPt,lEg:UPt,leg:zPt,leq:HPt,leqq:qPt,leqslant:jPt,lescc:WPt,les:QPt,lesdot:VPt,lesdoto:GPt,lesdotor:YPt,lesg:ZPt,lesges:XPt,lessapprox:KPt,lessdot:JPt,lesseqgtr:eLt,lesseqqgtr:tLt,LessEqualGreater:nLt,LessFullEqual:rLt,LessGreater:iLt,lessgtr:sLt,LessLess:aLt,lesssim:oLt,LessSlantEqual:lLt,LessTilde:uLt,lfisht:cLt,lfloor:dLt,Lfr:fLt,lfr:hLt,lg:pLt,lgE:mLt,lHar:gLt,lhard:bLt,lharu:yLt,lharul:vLt,lhblk:SLt,LJcy:OLt,ljcy:ELt,llarr:wLt,ll:xLt,Ll:TLt,llcorner:kLt,Lleftarrow:_Lt,llhard:ALt,lltri:CLt,Lmidot:RLt,lmidot:ILt,lmoustache:DLt,lmoust:NLt,lnap:PLt,lnapprox:LLt,lne:MLt,lnE:FLt,lneq:$Lt,lneqq:BLt,lnsim:ULt,loang:zLt,loarr:HLt,lobrk:qLt,longleftarrow:jLt,LongLeftArrow:WLt,Longleftarrow:QLt,longleftrightarrow:VLt,LongLeftRightArrow:GLt,Longleftrightarrow:YLt,longmapsto:ZLt,longrightarrow:XLt,LongRightArrow:KLt,Longrightarrow:JLt,looparrowleft:e8t,looparrowright:t8t,lopar:n8t,Lopf:r8t,lopf:i8t,loplus:s8t,lotimes:a8t,lowast:o8t,lowbar:l8t,LowerLeftArrow:u8t,LowerRightArrow:c8t,loz:d8t,lozenge:f8t,lozf:h8t,lpar:p8t,lparlt:m8t,lrarr:g8t,lrcorner:b8t,lrhar:y8t,lrhard:v8t,lrm:S8t,lrtri:O8t,lsaquo:E8t,lscr:w8t,Lscr:x8t,lsh:T8t,Lsh:k8t,lsim:_8t,lsime:A8t,lsimg:C8t,lsqb:R8t,lsquo:I8t,lsquor:D8t,Lstrok:N8t,lstrok:P8t,ltcc:L8t,ltcir:M8t,lt:F8t,LT:$8t,Lt:B8t,ltdot:U8t,lthree:z8t,ltimes:H8t,ltlarr:q8t,ltquest:j8t,ltri:W8t,ltrie:Q8t,ltrif:V8t,ltrPar:G8t,lurdshar:Y8t,luruhar:Z8t,lvertneqq:X8t,lvnE:K8t,macr:J8t,male:eMt,malt:tMt,maltese:nMt,Map:"⤅",map:rMt,mapsto:iMt,mapstodown:sMt,mapstoleft:aMt,mapstoup:oMt,marker:lMt,mcomma:uMt,Mcy:cMt,mcy:dMt,mdash:fMt,mDDot:hMt,measuredangle:pMt,MediumSpace:mMt,Mellintrf:gMt,Mfr:bMt,mfr:yMt,mho:vMt,micro:SMt,midast:OMt,midcir:EMt,mid:wMt,middot:xMt,minusb:TMt,minus:kMt,minusd:_Mt,minusdu:AMt,MinusPlus:CMt,mlcp:RMt,mldr:IMt,mnplus:DMt,models:NMt,Mopf:PMt,mopf:LMt,mp:MMt,mscr:FMt,Mscr:$Mt,mstpos:BMt,Mu:UMt,mu:zMt,multimap:HMt,mumap:qMt,nabla:jMt,Nacute:WMt,nacute:QMt,nang:VMt,nap:GMt,napE:YMt,napid:ZMt,napos:XMt,napprox:KMt,natural:JMt,naturals:e9t,natur:t9t,nbsp:n9t,nbump:r9t,nbumpe:i9t,ncap:s9t,Ncaron:a9t,ncaron:o9t,Ncedil:l9t,ncedil:u9t,ncong:c9t,ncongdot:d9t,ncup:f9t,Ncy:h9t,ncy:p9t,ndash:m9t,nearhk:g9t,nearr:b9t,neArr:y9t,nearrow:v9t,ne:S9t,nedot:O9t,NegativeMediumSpace:E9t,NegativeThickSpace:w9t,NegativeThinSpace:x9t,NegativeVeryThinSpace:T9t,nequiv:k9t,nesear:_9t,nesim:A9t,NestedGreaterGreater:C9t,NestedLessLess:R9t,NewLine:I9t,nexist:D9t,nexists:N9t,Nfr:P9t,nfr:L9t,ngE:M9t,nge:F9t,ngeq:$9t,ngeqq:B9t,ngeqslant:U9t,nges:z9t,nGg:H9t,ngsim:q9t,nGt:j9t,ngt:W9t,ngtr:Q9t,nGtv:V9t,nharr:G9t,nhArr:Y9t,nhpar:Z9t,ni:X9t,nis:K9t,nisd:J9t,niv:eFt,NJcy:tFt,njcy:nFt,nlarr:rFt,nlArr:iFt,nldr:sFt,nlE:aFt,nle:oFt,nleftarrow:lFt,nLeftarrow:uFt,nleftrightarrow:cFt,nLeftrightarrow:dFt,nleq:fFt,nleqq:hFt,nleqslant:pFt,nles:mFt,nless:gFt,nLl:bFt,nlsim:yFt,nLt:vFt,nlt:SFt,nltri:OFt,nltrie:EFt,nLtv:wFt,nmid:xFt,NoBreak:TFt,NonBreakingSpace:kFt,nopf:_Ft,Nopf:AFt,Not:CFt,not:RFt,NotCongruent:IFt,NotCupCap:DFt,NotDoubleVerticalBar:NFt,NotElement:PFt,NotEqual:LFt,NotEqualTilde:MFt,NotExists:FFt,NotGreater:$Ft,NotGreaterEqual:BFt,NotGreaterFullEqual:UFt,NotGreaterGreater:zFt,NotGreaterLess:HFt,NotGreaterSlantEqual:qFt,NotGreaterTilde:jFt,NotHumpDownHump:WFt,NotHumpEqual:QFt,notin:VFt,notindot:GFt,notinE:YFt,notinva:ZFt,notinvb:XFt,notinvc:KFt,NotLeftTriangleBar:JFt,NotLeftTriangle:e$t,NotLeftTriangleEqual:t$t,NotLess:n$t,NotLessEqual:r$t,NotLessGreater:i$t,NotLessLess:s$t,NotLessSlantEqual:a$t,NotLessTilde:o$t,NotNestedGreaterGreater:l$t,NotNestedLessLess:u$t,notni:c$t,notniva:d$t,notnivb:f$t,notnivc:h$t,NotPrecedes:p$t,NotPrecedesEqual:m$t,NotPrecedesSlantEqual:g$t,NotReverseElement:b$t,NotRightTriangleBar:y$t,NotRightTriangle:v$t,NotRightTriangleEqual:S$t,NotSquareSubset:O$t,NotSquareSubsetEqual:E$t,NotSquareSuperset:w$t,NotSquareSupersetEqual:x$t,NotSubset:T$t,NotSubsetEqual:k$t,NotSucceeds:_$t,NotSucceedsEqual:A$t,NotSucceedsSlantEqual:C$t,NotSucceedsTilde:R$t,NotSuperset:I$t,NotSupersetEqual:D$t,NotTilde:N$t,NotTildeEqual:P$t,NotTildeFullEqual:L$t,NotTildeTilde:M$t,NotVerticalBar:F$t,nparallel:$$t,npar:B$t,nparsl:U$t,npart:z$t,npolint:H$t,npr:q$t,nprcue:j$t,nprec:W$t,npreceq:Q$t,npre:V$t,nrarrc:G$t,nrarr:Y$t,nrArr:Z$t,nrarrw:X$t,nrightarrow:K$t,nRightarrow:J$t,nrtri:eBt,nrtrie:tBt,nsc:nBt,nsccue:rBt,nsce:iBt,Nscr:sBt,nscr:aBt,nshortmid:oBt,nshortparallel:lBt,nsim:uBt,nsime:cBt,nsimeq:dBt,nsmid:fBt,nspar:hBt,nsqsube:pBt,nsqsupe:mBt,nsub:gBt,nsubE:bBt,nsube:yBt,nsubset:vBt,nsubseteq:SBt,nsubseteqq:OBt,nsucc:EBt,nsucceq:wBt,nsup:xBt,nsupE:TBt,nsupe:kBt,nsupset:_Bt,nsupseteq:ABt,nsupseteqq:CBt,ntgl:RBt,Ntilde:IBt,ntilde:DBt,ntlg:NBt,ntriangleleft:PBt,ntrianglelefteq:LBt,ntriangleright:MBt,ntrianglerighteq:FBt,Nu:$Bt,nu:BBt,num:UBt,numero:zBt,numsp:HBt,nvap:qBt,nvdash:jBt,nvDash:WBt,nVdash:QBt,nVDash:VBt,nvge:GBt,nvgt:YBt,nvHarr:ZBt,nvinfin:XBt,nvlArr:KBt,nvle:JBt,nvlt:eUt,nvltrie:tUt,nvrArr:nUt,nvrtrie:rUt,nvsim:iUt,nwarhk:sUt,nwarr:aUt,nwArr:oUt,nwarrow:lUt,nwnear:uUt,Oacute:cUt,oacute:dUt,oast:fUt,Ocirc:hUt,ocirc:pUt,ocir:mUt,Ocy:gUt,ocy:bUt,odash:yUt,Odblac:vUt,odblac:SUt,odiv:OUt,odot:EUt,odsold:wUt,OElig:xUt,oelig:TUt,ofcir:kUt,Ofr:_Ut,ofr:AUt,ogon:CUt,Ograve:RUt,ograve:IUt,ogt:DUt,ohbar:NUt,ohm:PUt,oint:LUt,olarr:MUt,olcir:FUt,olcross:$Ut,oline:BUt,olt:UUt,Omacr:zUt,omacr:HUt,Omega:qUt,omega:jUt,Omicron:WUt,omicron:QUt,omid:VUt,ominus:GUt,Oopf:YUt,oopf:ZUt,opar:XUt,OpenCurlyDoubleQuote:KUt,OpenCurlyQuote:JUt,operp:ezt,oplus:tzt,orarr:nzt,Or:rzt,or:izt,ord:szt,order:azt,orderof:ozt,ordf:lzt,ordm:uzt,origof:czt,oror:dzt,orslope:fzt,orv:hzt,oS:pzt,Oscr:mzt,oscr:gzt,Oslash:bzt,oslash:yzt,osol:vzt,Otilde:Szt,otilde:Ozt,otimesas:Ezt,Otimes:wzt,otimes:xzt,Ouml:Tzt,ouml:kzt,ovbar:_zt,OverBar:Azt,OverBrace:Czt,OverBracket:Rzt,OverParenthesis:Izt,para:Dzt,parallel:Nzt,par:Pzt,parsim:Lzt,parsl:Mzt,part:Fzt,PartialD:$zt,Pcy:Bzt,pcy:Uzt,percnt:zzt,period:Hzt,permil:qzt,perp:jzt,pertenk:Wzt,Pfr:Qzt,pfr:Vzt,Phi:Gzt,phi:Yzt,phiv:Zzt,phmmat:Xzt,phone:Kzt,Pi:Jzt,pi:eHt,pitchfork:tHt,piv:nHt,planck:rHt,planckh:iHt,plankv:sHt,plusacir:aHt,plusb:oHt,pluscir:lHt,plus:uHt,plusdo:cHt,plusdu:dHt,pluse:fHt,PlusMinus:hHt,plusmn:pHt,plussim:mHt,plustwo:gHt,pm:bHt,Poincareplane:yHt,pointint:vHt,popf:SHt,Popf:OHt,pound:EHt,prap:wHt,Pr:xHt,pr:THt,prcue:kHt,precapprox:_Ht,prec:AHt,preccurlyeq:CHt,Precedes:RHt,PrecedesEqual:IHt,PrecedesSlantEqual:DHt,PrecedesTilde:NHt,preceq:PHt,precnapprox:LHt,precneqq:MHt,precnsim:FHt,pre:$Ht,prE:BHt,precsim:UHt,prime:zHt,Prime:HHt,primes:qHt,prnap:jHt,prnE:WHt,prnsim:QHt,prod:VHt,Product:GHt,profalar:YHt,profline:ZHt,profsurf:XHt,prop:KHt,Proportional:JHt,Proportion:eqt,propto:tqt,prsim:nqt,prurel:rqt,Pscr:iqt,pscr:sqt,Psi:aqt,psi:oqt,puncsp:lqt,Qfr:uqt,qfr:cqt,qint:dqt,qopf:fqt,Qopf:hqt,qprime:pqt,Qscr:mqt,qscr:gqt,quaternions:bqt,quatint:yqt,quest:vqt,questeq:Sqt,quot:Oqt,QUOT:Eqt,rAarr:wqt,race:xqt,Racute:Tqt,racute:kqt,radic:_qt,raemptyv:Aqt,rang:Cqt,Rang:Rqt,rangd:Iqt,range:Dqt,rangle:Nqt,raquo:Pqt,rarrap:Lqt,rarrb:Mqt,rarrbfs:Fqt,rarrc:$qt,rarr:Bqt,Rarr:Uqt,rArr:zqt,rarrfs:Hqt,rarrhk:qqt,rarrlp:jqt,rarrpl:Wqt,rarrsim:Qqt,Rarrtl:Vqt,rarrtl:Gqt,rarrw:Yqt,ratail:Zqt,rAtail:Xqt,ratio:Kqt,rationals:Jqt,rbarr:ejt,rBarr:tjt,RBarr:njt,rbbrk:rjt,rbrace:ijt,rbrack:sjt,rbrke:ajt,rbrksld:ojt,rbrkslu:ljt,Rcaron:ujt,rcaron:cjt,Rcedil:djt,rcedil:fjt,rceil:hjt,rcub:pjt,Rcy:mjt,rcy:gjt,rdca:bjt,rdldhar:yjt,rdquo:vjt,rdquor:Sjt,rdsh:Ojt,real:Ejt,realine:wjt,realpart:xjt,reals:Tjt,Re:kjt,rect:_jt,reg:Ajt,REG:Cjt,ReverseElement:Rjt,ReverseEquilibrium:Ijt,ReverseUpEquilibrium:Djt,rfisht:Njt,rfloor:Pjt,rfr:Ljt,Rfr:Mjt,rHar:Fjt,rhard:$jt,rharu:Bjt,rharul:Ujt,Rho:zjt,rho:Hjt,rhov:qjt,RightAngleBracket:jjt,RightArrowBar:Wjt,rightarrow:Qjt,RightArrow:Vjt,Rightarrow:Gjt,RightArrowLeftArrow:Yjt,rightarrowtail:Zjt,RightCeiling:Xjt,RightDoubleBracket:Kjt,RightDownTeeVector:Jjt,RightDownVectorBar:eWt,RightDownVector:tWt,RightFloor:nWt,rightharpoondown:rWt,rightharpoonup:iWt,rightleftarrows:sWt,rightleftharpoons:aWt,rightrightarrows:oWt,rightsquigarrow:lWt,RightTeeArrow:uWt,RightTee:cWt,RightTeeVector:dWt,rightthreetimes:fWt,RightTriangleBar:hWt,RightTriangle:pWt,RightTriangleEqual:mWt,RightUpDownVector:gWt,RightUpTeeVector:bWt,RightUpVectorBar:yWt,RightUpVector:vWt,RightVectorBar:SWt,RightVector:OWt,ring:EWt,risingdotseq:wWt,rlarr:xWt,rlhar:TWt,rlm:kWt,rmoustache:_Wt,rmoust:AWt,rnmid:CWt,roang:RWt,roarr:IWt,robrk:DWt,ropar:NWt,ropf:PWt,Ropf:LWt,roplus:MWt,rotimes:FWt,RoundImplies:$Wt,rpar:BWt,rpargt:UWt,rppolint:zWt,rrarr:HWt,Rrightarrow:qWt,rsaquo:jWt,rscr:WWt,Rscr:QWt,rsh:VWt,Rsh:GWt,rsqb:YWt,rsquo:ZWt,rsquor:XWt,rthree:KWt,rtimes:JWt,rtri:eQt,rtrie:tQt,rtrif:nQt,rtriltri:rQt,RuleDelayed:iQt,ruluhar:sQt,rx:aQt,Sacute:oQt,sacute:lQt,sbquo:uQt,scap:cQt,Scaron:dQt,scaron:fQt,Sc:hQt,sc:pQt,sccue:mQt,sce:gQt,scE:bQt,Scedil:yQt,scedil:vQt,Scirc:SQt,scirc:OQt,scnap:EQt,scnE:wQt,scnsim:xQt,scpolint:TQt,scsim:kQt,Scy:_Qt,scy:AQt,sdotb:CQt,sdot:RQt,sdote:IQt,searhk:DQt,searr:NQt,seArr:PQt,searrow:LQt,sect:MQt,semi:FQt,seswar:$Qt,setminus:BQt,setmn:UQt,sext:zQt,Sfr:HQt,sfr:qQt,sfrown:jQt,sharp:WQt,SHCHcy:QQt,shchcy:VQt,SHcy:GQt,shcy:YQt,ShortDownArrow:ZQt,ShortLeftArrow:XQt,shortmid:KQt,shortparallel:JQt,ShortRightArrow:eVt,ShortUpArrow:tVt,shy:nVt,Sigma:rVt,sigma:iVt,sigmaf:sVt,sigmav:aVt,sim:oVt,simdot:lVt,sime:uVt,simeq:cVt,simg:dVt,simgE:fVt,siml:hVt,simlE:pVt,simne:mVt,simplus:gVt,simrarr:bVt,slarr:yVt,SmallCircle:vVt,smallsetminus:SVt,smashp:OVt,smeparsl:EVt,smid:wVt,smile:xVt,smt:TVt,smte:kVt,smtes:_Vt,SOFTcy:AVt,softcy:CVt,solbar:RVt,solb:IVt,sol:DVt,Sopf:NVt,sopf:PVt,spades:LVt,spadesuit:MVt,spar:FVt,sqcap:$Vt,sqcaps:BVt,sqcup:UVt,sqcups:zVt,Sqrt:HVt,sqsub:qVt,sqsube:jVt,sqsubset:WVt,sqsubseteq:QVt,sqsup:VVt,sqsupe:GVt,sqsupset:YVt,sqsupseteq:ZVt,square:XVt,Square:KVt,SquareIntersection:JVt,SquareSubset:eGt,SquareSubsetEqual:tGt,SquareSuperset:nGt,SquareSupersetEqual:rGt,SquareUnion:iGt,squarf:sGt,squ:aGt,squf:oGt,srarr:lGt,Sscr:uGt,sscr:cGt,ssetmn:dGt,ssmile:fGt,sstarf:hGt,Star:pGt,star:mGt,starf:gGt,straightepsilon:bGt,straightphi:yGt,strns:vGt,sub:SGt,Sub:OGt,subdot:EGt,subE:wGt,sube:xGt,subedot:TGt,submult:kGt,subnE:_Gt,subne:AGt,subplus:CGt,subrarr:RGt,subset:IGt,Subset:DGt,subseteq:NGt,subseteqq:PGt,SubsetEqual:LGt,subsetneq:MGt,subsetneqq:FGt,subsim:$Gt,subsub:BGt,subsup:UGt,succapprox:zGt,succ:HGt,succcurlyeq:qGt,Succeeds:jGt,SucceedsEqual:WGt,SucceedsSlantEqual:QGt,SucceedsTilde:VGt,succeq:GGt,succnapprox:YGt,succneqq:ZGt,succnsim:XGt,succsim:KGt,SuchThat:JGt,sum:eYt,Sum:tYt,sung:nYt,sup1:rYt,sup2:iYt,sup3:sYt,sup:aYt,Sup:oYt,supdot:lYt,supdsub:uYt,supE:cYt,supe:dYt,supedot:fYt,Superset:hYt,SupersetEqual:pYt,suphsol:mYt,suphsub:gYt,suplarr:bYt,supmult:yYt,supnE:vYt,supne:SYt,supplus:OYt,supset:EYt,Supset:wYt,supseteq:xYt,supseteqq:TYt,supsetneq:kYt,supsetneqq:_Yt,supsim:AYt,supsub:CYt,supsup:RYt,swarhk:IYt,swarr:DYt,swArr:NYt,swarrow:PYt,swnwar:LYt,szlig:MYt,Tab:FYt,target:$Yt,Tau:BYt,tau:UYt,tbrk:zYt,Tcaron:HYt,tcaron:qYt,Tcedil:jYt,tcedil:WYt,Tcy:QYt,tcy:VYt,tdot:GYt,telrec:YYt,Tfr:ZYt,tfr:XYt,there4:KYt,therefore:JYt,Therefore:eZt,Theta:tZt,theta:nZt,thetasym:rZt,thetav:iZt,thickapprox:sZt,thicksim:aZt,ThickSpace:oZt,ThinSpace:lZt,thinsp:uZt,thkap:cZt,thksim:dZt,THORN:fZt,thorn:hZt,tilde:pZt,Tilde:mZt,TildeEqual:gZt,TildeFullEqual:bZt,TildeTilde:yZt,timesbar:vZt,timesb:SZt,times:OZt,timesd:EZt,tint:wZt,toea:xZt,topbot:TZt,topcir:kZt,top:_Zt,Topf:AZt,topf:CZt,topfork:RZt,tosa:IZt,tprime:DZt,trade:NZt,TRADE:PZt,triangle:LZt,triangledown:MZt,triangleleft:FZt,trianglelefteq:$Zt,triangleq:BZt,triangleright:UZt,trianglerighteq:zZt,tridot:HZt,trie:qZt,triminus:jZt,TripleDot:WZt,triplus:QZt,trisb:VZt,tritime:GZt,trpezium:YZt,Tscr:ZZt,tscr:XZt,TScy:KZt,tscy:JZt,TSHcy:eXt,tshcy:tXt,Tstrok:nXt,tstrok:rXt,twixt:iXt,twoheadleftarrow:sXt,twoheadrightarrow:aXt,Uacute:oXt,uacute:lXt,uarr:uXt,Uarr:cXt,uArr:dXt,Uarrocir:fXt,Ubrcy:hXt,ubrcy:pXt,Ubreve:mXt,ubreve:gXt,Ucirc:bXt,ucirc:yXt,Ucy:vXt,ucy:SXt,udarr:OXt,Udblac:EXt,udblac:wXt,udhar:xXt,ufisht:TXt,Ufr:kXt,ufr:_Xt,Ugrave:AXt,ugrave:CXt,uHar:RXt,uharl:IXt,uharr:DXt,uhblk:NXt,ulcorn:PXt,ulcorner:LXt,ulcrop:MXt,ultri:FXt,Umacr:$Xt,umacr:BXt,uml:UXt,UnderBar:zXt,UnderBrace:HXt,UnderBracket:qXt,UnderParenthesis:jXt,Union:WXt,UnionPlus:QXt,Uogon:VXt,uogon:GXt,Uopf:YXt,uopf:ZXt,UpArrowBar:XXt,uparrow:KXt,UpArrow:JXt,Uparrow:eKt,UpArrowDownArrow:tKt,updownarrow:nKt,UpDownArrow:rKt,Updownarrow:iKt,UpEquilibrium:sKt,upharpoonleft:aKt,upharpoonright:oKt,uplus:lKt,UpperLeftArrow:uKt,UpperRightArrow:cKt,upsi:dKt,Upsi:fKt,upsih:hKt,Upsilon:pKt,upsilon:mKt,UpTeeArrow:gKt,UpTee:bKt,upuparrows:yKt,urcorn:vKt,urcorner:SKt,urcrop:OKt,Uring:EKt,uring:wKt,urtri:xKt,Uscr:TKt,uscr:kKt,utdot:_Kt,Utilde:AKt,utilde:CKt,utri:RKt,utrif:IKt,uuarr:DKt,Uuml:NKt,uuml:PKt,uwangle:LKt,vangrt:MKt,varepsilon:FKt,varkappa:$Kt,varnothing:BKt,varphi:UKt,varpi:zKt,varpropto:HKt,varr:qKt,vArr:jKt,varrho:WKt,varsigma:QKt,varsubsetneq:VKt,varsubsetneqq:GKt,varsupsetneq:YKt,varsupsetneqq:ZKt,vartheta:XKt,vartriangleleft:KKt,vartriangleright:JKt,vBar:eJt,Vbar:tJt,vBarv:nJt,Vcy:rJt,vcy:iJt,vdash:sJt,vDash:aJt,Vdash:oJt,VDash:lJt,Vdashl:uJt,veebar:cJt,vee:dJt,Vee:fJt,veeeq:hJt,vellip:pJt,verbar:mJt,Verbar:gJt,vert:bJt,Vert:yJt,VerticalBar:vJt,VerticalLine:SJt,VerticalSeparator:OJt,VerticalTilde:EJt,VeryThinSpace:wJt,Vfr:xJt,vfr:TJt,vltri:kJt,vnsub:_Jt,vnsup:AJt,Vopf:CJt,vopf:RJt,vprop:IJt,vrtri:DJt,Vscr:NJt,vscr:PJt,vsubnE:LJt,vsubne:MJt,vsupnE:FJt,vsupne:$Jt,Vvdash:BJt,vzigzag:UJt,Wcirc:zJt,wcirc:HJt,wedbar:qJt,wedge:jJt,Wedge:WJt,wedgeq:QJt,weierp:VJt,Wfr:GJt,wfr:YJt,Wopf:ZJt,wopf:XJt,wp:KJt,wr:JJt,wreath:een,Wscr:ten,wscr:nen,xcap:ren,xcirc:ien,xcup:sen,xdtri:aen,Xfr:oen,xfr:len,xharr:uen,xhArr:cen,Xi:den,xi:fen,xlarr:hen,xlArr:pen,xmap:men,xnis:gen,xodot:ben,Xopf:yen,xopf:ven,xoplus:Sen,xotime:Oen,xrarr:Een,xrArr:wen,Xscr:xen,xscr:Ten,xsqcup:ken,xuplus:_en,xutri:Aen,xvee:Cen,xwedge:Ren,Yacute:Ien,yacute:Den,YAcy:Nen,yacy:Pen,Ycirc:Len,ycirc:Men,Ycy:Fen,ycy:$en,yen:Ben,Yfr:Uen,yfr:zen,YIcy:Hen,yicy:qen,Yopf:jen,yopf:Wen,Yscr:Qen,yscr:Ven,YUcy:Gen,yucy:Yen,yuml:Zen,Yuml:Xen,Zacute:Ken,zacute:Jen,Zcaron:etn,zcaron:ttn,Zcy:ntn,zcy:rtn,Zdot:itn,zdot:stn,zeetrf:atn,ZeroWidthSpace:otn,Zeta:ltn,zeta:utn,zfr:ctn,Zfr:dtn,ZHcy:ftn,zhcy:htn,zigrarr:ptn,zopf:mtn,Zopf:gtn,Zscr:btn,zscr:ytn,zwj:vtn,zwnj:Stn},Etn="Á",wtn="á",xtn="Â",Ttn="â",ktn="´",_tn="Æ",Atn="æ",Ctn="À",Rtn="à",Itn="&",Dtn="&",Ntn="Å",Ptn="å",Ltn="Ã",Mtn="ã",Ftn="Ä",$tn="ä",Btn="¦",Utn="Ç",ztn="ç",Htn="¸",qtn="¢",jtn="©",Wtn="©",Qtn="¤",Vtn="°",Gtn="÷",Ytn="É",Ztn="é",Xtn="Ê",Ktn="ê",Jtn="È",enn="è",tnn="Ð",nnn="ð",rnn="Ë",inn="ë",snn="½",ann="¼",onn="¾",lnn=">",unn=">",cnn="Í",dnn="í",fnn="Î",hnn="î",pnn="¡",mnn="Ì",gnn="ì",bnn="¿",ynn="Ï",vnn="ï",Snn="«",Onn="<",Enn="<",wnn="¯",xnn="µ",Tnn="·",knn=" ",_nn="¬",Ann="Ñ",Cnn="ñ",Rnn="Ó",Inn="ó",Dnn="Ô",Nnn="ô",Pnn="Ò",Lnn="ò",Mnn="ª",Fnn="º",$nn="Ø",Bnn="ø",Unn="Õ",znn="õ",Hnn="Ö",qnn="ö",jnn="¶",Wnn="±",Qnn="£",Vnn='"',Gnn='"',Ynn="»",Znn="®",Xnn="®",Knn="§",Jnn="­",ern="¹",trn="²",nrn="³",rrn="ß",irn="Þ",srn="þ",arn="×",orn="Ú",lrn="ú",urn="Û",crn="û",drn="Ù",frn="ù",hrn="¨",prn="Ü",mrn="ü",grn="Ý",brn="ý",yrn="¥",vrn="ÿ",Srn={Aacute:Etn,aacute:wtn,Acirc:xtn,acirc:Ttn,acute:ktn,AElig:_tn,aelig:Atn,Agrave:Ctn,agrave:Rtn,amp:Itn,AMP:Dtn,Aring:Ntn,aring:Ptn,Atilde:Ltn,atilde:Mtn,Auml:Ftn,auml:$tn,brvbar:Btn,Ccedil:Utn,ccedil:ztn,cedil:Htn,cent:qtn,copy:jtn,COPY:Wtn,curren:Qtn,deg:Vtn,divide:Gtn,Eacute:Ytn,eacute:Ztn,Ecirc:Xtn,ecirc:Ktn,Egrave:Jtn,egrave:enn,ETH:tnn,eth:nnn,Euml:rnn,euml:inn,frac12:snn,frac14:ann,frac34:onn,gt:lnn,GT:unn,Iacute:cnn,iacute:dnn,Icirc:fnn,icirc:hnn,iexcl:pnn,Igrave:mnn,igrave:gnn,iquest:bnn,Iuml:ynn,iuml:vnn,laquo:Snn,lt:Onn,LT:Enn,macr:wnn,micro:xnn,middot:Tnn,nbsp:knn,not:_nn,Ntilde:Ann,ntilde:Cnn,Oacute:Rnn,oacute:Inn,Ocirc:Dnn,ocirc:Nnn,Ograve:Pnn,ograve:Lnn,ordf:Mnn,ordm:Fnn,Oslash:$nn,oslash:Bnn,Otilde:Unn,otilde:znn,Ouml:Hnn,ouml:qnn,para:jnn,plusmn:Wnn,pound:Qnn,quot:Vnn,QUOT:Gnn,raquo:Ynn,reg:Znn,REG:Xnn,sect:Knn,shy:Jnn,sup1:ern,sup2:trn,sup3:nrn,szlig:rrn,THORN:irn,thorn:srn,times:arn,Uacute:orn,uacute:lrn,Ucirc:urn,ucirc:crn,Ugrave:drn,ugrave:frn,uml:hrn,Uuml:prn,uuml:mrn,Yacute:grn,yacute:brn,yen:yrn,yuml:vrn},Orn="&",Ern="'",wrn=">",xrn="<",Trn='"',krn={amp:Orn,apos:Ern,gt:wrn,lt:xrn,quot:Trn};var _rn=Cn,Arn=nwt,Crn=Otn,roe=Srn,Rrn=krn,fr=0,Cs=fr++,zOe=fr++,Vy=fr++,HOe=fr++,qOe=fr++,BA=fr++,jOe=fr++,I1=fr++,DN=fr++,$Y=fr++,BY=fr++,UY=fr++,zY=fr++,HY=fr++,WOe=fr++,Am=fr++,QOe=fr++,VOe=fr++,UA=fr++,qY=fr++,jY=fr++,GOe=fr++,YOe=fr++,ZOe=fr++,XOe=fr++,KOe=fr++,JOe=fr++,zA=fr++,WY=fr++,QY=fr++,eEe=fr++,tEe=fr++,nEe=fr++,rEe=fr++,iEe=fr++,sEe=fr++,aEe=fr++,oEe=fr++,lEe=fr++,uEe=fr++,cEe=fr++,dEe=fr++,fEe=fr++,hEe=fr++,pEe=fr++,mEe=fr++,gEe=fr++,bEe=fr++,yEe=fr++,vEe=fr++,HA=fr++,SEe=fr++,VY=fr++,GY=fr++,YY=fr++,ZY=0,c2=ZY++,OEe=ZY++,EEe=ZY++;function bc(e){return e===" "||e===` +`||e===" "||e==="\f"||e==="\r"}function yc(e,t,n){var r=e.toLowerCase();return e===r?function(i){i===r?this._state=t:(this._state=n,this._index--)}:function(i){i===r||i===e?this._state=t:(this._state=n,this._index--)}}function Gy(e,t){var n=e.toLowerCase();return function(r){r===n||r===e?this._state=t:(this._state=Vy,this._index--)}}function Cn(e,t){this._state=Cs,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=Cs,this._special=c2,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!!(e&&e.xmlMode),this._decodeEntities=!!(e&&e.decodeEntities)}Cn.prototype._stateText=function(e){e==="<"?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=zOe,this._sectionStart=this._index):this._decodeEntities&&this._special===c2&&e==="&"&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=Cs,this._state=HA,this._sectionStart=this._index)};Cn.prototype._stateBeforeTagName=function(e){e==="/"?this._state=qOe:e==="<"?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):e===">"||this._special!==c2||bc(e)?this._state=Cs:e==="!"?(this._state=WOe,this._sectionStart=this._index+1):e==="?"?(this._state=QOe,this._sectionStart=this._index+1):(this._state=!this._xmlMode&&(e==="s"||e==="S")?eEe:Vy,this._sectionStart=this._index)};Cn.prototype._stateInTagName=function(e){(e==="/"||e===">"||bc(e))&&(this._emitToken("onopentagname"),this._state=I1,this._index--)};Cn.prototype._stateBeforeCloseingTagName=function(e){bc(e)||(e===">"?this._state=Cs:this._special!==c2?e==="s"||e==="S"?this._state=tEe:(this._state=Cs,this._index--):(this._state=BA,this._sectionStart=this._index))};Cn.prototype._stateInCloseingTagName=function(e){(e===">"||bc(e))&&(this._emitToken("onclosetag"),this._state=jOe,this._index--)};Cn.prototype._stateAfterCloseingTagName=function(e){e===">"&&(this._state=Cs,this._sectionStart=this._index+1)};Cn.prototype._stateBeforeAttributeName=function(e){e===">"?(this._cbs.onopentagend(),this._state=Cs,this._sectionStart=this._index+1):e==="/"?this._state=HOe:bc(e)||(this._state=DN,this._sectionStart=this._index)};Cn.prototype._stateInSelfClosingTag=function(e){e===">"?(this._cbs.onselfclosingtag(),this._state=Cs,this._sectionStart=this._index+1):bc(e)||(this._state=I1,this._index--)};Cn.prototype._stateInAttributeName=function(e){(e==="="||e==="/"||e===">"||bc(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=$Y,this._index--)};Cn.prototype._stateAfterAttributeName=function(e){e==="="?this._state=BY:e==="/"||e===">"?(this._cbs.onattribend(),this._state=I1,this._index--):bc(e)||(this._cbs.onattribend(),this._state=DN,this._sectionStart=this._index)};Cn.prototype._stateBeforeAttributeValue=function(e){e==='"'?(this._state=UY,this._sectionStart=this._index+1):e==="'"?(this._state=zY,this._sectionStart=this._index+1):bc(e)||(this._state=HY,this._sectionStart=this._index,this._index--)};Cn.prototype._stateInAttributeValueDoubleQuotes=function(e){e==='"'?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=I1):this._decodeEntities&&e==="&"&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=HA,this._sectionStart=this._index)};Cn.prototype._stateInAttributeValueSingleQuotes=function(e){e==="'"?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=I1):this._decodeEntities&&e==="&"&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=HA,this._sectionStart=this._index)};Cn.prototype._stateInAttributeValueNoQuotes=function(e){bc(e)||e===">"?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=I1,this._index--):this._decodeEntities&&e==="&"&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=HA,this._sectionStart=this._index)};Cn.prototype._stateBeforeDeclaration=function(e){this._state=e==="["?GOe:e==="-"?VOe:Am};Cn.prototype._stateInDeclaration=function(e){e===">"&&(this._cbs.ondeclaration(this._getSection()),this._state=Cs,this._sectionStart=this._index+1)};Cn.prototype._stateInProcessingInstruction=function(e){e===">"&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=Cs,this._sectionStart=this._index+1)};Cn.prototype._stateBeforeComment=function(e){e==="-"?(this._state=UA,this._sectionStart=this._index+1):this._state=Am};Cn.prototype._stateInComment=function(e){e==="-"&&(this._state=qY)};Cn.prototype._stateAfterComment1=function(e){e==="-"?this._state=jY:this._state=UA};Cn.prototype._stateAfterComment2=function(e){e===">"?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=Cs,this._sectionStart=this._index+1):e!=="-"&&(this._state=UA)};Cn.prototype._stateBeforeCdata1=yc("C",YOe,Am);Cn.prototype._stateBeforeCdata2=yc("D",ZOe,Am);Cn.prototype._stateBeforeCdata3=yc("A",XOe,Am);Cn.prototype._stateBeforeCdata4=yc("T",KOe,Am);Cn.prototype._stateBeforeCdata5=yc("A",JOe,Am);Cn.prototype._stateBeforeCdata6=function(e){e==="["?(this._state=zA,this._sectionStart=this._index+1):(this._state=Am,this._index--)};Cn.prototype._stateInCdata=function(e){e==="]"&&(this._state=WY)};Cn.prototype._stateAfterCdata1=function(e){e==="]"?this._state=QY:this._state=zA};Cn.prototype._stateAfterCdata2=function(e){e===">"?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=Cs,this._sectionStart=this._index+1):e!=="]"&&(this._state=zA)};Cn.prototype._stateBeforeSpecial=function(e){e==="c"||e==="C"?this._state=nEe:e==="t"||e==="T"?this._state=fEe:(this._state=Vy,this._index--)};Cn.prototype._stateBeforeSpecialEnd=function(e){this._special===OEe&&(e==="c"||e==="C")?this._state=oEe:this._special===EEe&&(e==="t"||e==="T")?this._state=gEe:this._state=Cs};Cn.prototype._stateBeforeScript1=Gy("R",rEe);Cn.prototype._stateBeforeScript2=Gy("I",iEe);Cn.prototype._stateBeforeScript3=Gy("P",sEe);Cn.prototype._stateBeforeScript4=Gy("T",aEe);Cn.prototype._stateBeforeScript5=function(e){(e==="/"||e===">"||bc(e))&&(this._special=OEe),this._state=Vy,this._index--};Cn.prototype._stateAfterScript1=yc("R",lEe,Cs);Cn.prototype._stateAfterScript2=yc("I",uEe,Cs);Cn.prototype._stateAfterScript3=yc("P",cEe,Cs);Cn.prototype._stateAfterScript4=yc("T",dEe,Cs);Cn.prototype._stateAfterScript5=function(e){e===">"||bc(e)?(this._special=c2,this._state=BA,this._sectionStart=this._index-6,this._index--):this._state=Cs};Cn.prototype._stateBeforeStyle1=Gy("Y",hEe);Cn.prototype._stateBeforeStyle2=Gy("L",pEe);Cn.prototype._stateBeforeStyle3=Gy("E",mEe);Cn.prototype._stateBeforeStyle4=function(e){(e==="/"||e===">"||bc(e))&&(this._special=EEe),this._state=Vy,this._index--};Cn.prototype._stateAfterStyle1=yc("Y",bEe,Cs);Cn.prototype._stateAfterStyle2=yc("L",yEe,Cs);Cn.prototype._stateAfterStyle3=yc("E",vEe,Cs);Cn.prototype._stateAfterStyle4=function(e){e===">"||bc(e)?(this._special=c2,this._state=BA,this._sectionStart=this._index-5,this._index--):this._state=Cs};Cn.prototype._stateBeforeEntity=yc("#",SEe,VY);Cn.prototype._stateBeforeNumericEntity=yc("X",YY,GY);Cn.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+16&&(t=6);t>=2;){var n=this._buffer.substr(e,t);if(roe.hasOwnProperty(n)){this._emitPartial(roe[n]),this._sectionStart+=t+1;return}else t--}};Cn.prototype._stateInNamedEntity=function(e){e===";"?(this._parseNamedEntityStrict(),this._sectionStart+1"z")&&(e<"A"||e>"Z")&&(e<"0"||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==Cs?e!=="="&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)};Cn.prototype._decodeNumericEntity=function(e,t){var n=this._sectionStart+e;if(n!==this._index){var r=this._buffer.substring(n,this._index),i=parseInt(r,t);this._emitPartial(Arn(i)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState};Cn.prototype._stateInNumericEntity=function(e){e===";"?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)};Cn.prototype._stateInHexEntity=function(e){e===";"?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)};Cn.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===Cs?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)};Cn.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()};Cn.prototype._parse=function(){for(;this._index0&&(a=n[0]),a instanceof Error)throw a;var o=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw o.context=a,o}var l=s[t];if(l===void 0)return!1;if(typeof l=="function")ioe(l,this,n);else for(var c=l.length,d=CEe(l,c),r=0;r0&&a.length>i&&!a.warned){a.warned=!0;var o=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");o.name="MaxListenersExceededWarning",o.emitter=e,o.type=t,o.count=a.length,Drn(o)}return e}bs.prototype.addListener=function(t,n){return TEe(this,t,n,!1)};bs.prototype.on=bs.prototype.addListener;bs.prototype.prependListener=function(t,n){return TEe(this,t,n,!0)};function Nrn(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function kEe(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=Nrn.bind(r);return i.listener=n,r.wrapFn=i,i}bs.prototype.once=function(t,n){return NN(n),this.on(t,kEe(this,t,n)),this};bs.prototype.prependOnceListener=function(t,n){return NN(n),this.prependListener(t,kEe(this,t,n)),this};bs.prototype.removeListener=function(t,n){var r,i,s,a,o;if(NN(n),i=this._events,i===void 0)return this;if(r=i[t],r===void 0)return this;if(r===n||r.listener===n)--this._eventsCount===0?this._events=Object.create(null):(delete i[t],i.removeListener&&this.emit("removeListener",t,r.listener||n));else if(typeof r!="function"){for(s=-1,a=r.length-1;a>=0;a--)if(r[a]===n||r[a].listener===n){o=r[a].listener,s=a;break}if(s<0)return this;s===0?r.shift():Prn(r,s),r.length===1&&(i[t]=r[0]),i.removeListener!==void 0&&this.emit("removeListener",t,o||n)}return this};bs.prototype.off=bs.prototype.removeListener;bs.prototype.removeAllListeners=function(t){var n,r,i;if(r=this._events,r===void 0)return this;if(r.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):r[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete r[t]),this;if(arguments.length===0){var s=Object.keys(r),a;for(i=0;i=0;i--)this.removeListener(t,n[i]);return this};function _Ee(e,t,n){var r=e._events;if(r===void 0)return[];var i=r[t];return i===void 0?[]:typeof i=="function"?n?[i.listener||i]:[i]:n?Lrn(i):CEe(i,i.length)}bs.prototype.listeners=function(t){return _Ee(this,t,!0)};bs.prototype.rawListeners=function(t){return _Ee(this,t,!1)};bs.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):AEe.call(e,t)};bs.prototype.listenerCount=AEe;function AEe(e){var t=this._events;if(t!==void 0){var n=t[e];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}bs.prototype.eventNames=function(){return this._eventsCount>0?yR(this._events):[]};function CEe(e,t){for(var n=new Array(t),r=0;r0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()};fs.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)};fs.prototype.parseComplete=function(e){this.reset(),this.end(e)};fs.prototype.write=function(e){this._tokenizer.write(e)};fs.prototype.end=function(e){this._tokenizer.end(e)};fs.prototype.pause=function(){this._tokenizer.pause()};fs.prototype.resume=function(){this._tokenizer.resume()};fs.prototype.parseChunk=fs.prototype.write;fs.prototype.done=fs.prototype.end;var Urn=fs;Object.defineProperty(FY,"__esModule",{value:!0});FY.default=qrn;var zrn=Hrn(Urn);function Hrn(e){return e&&e.__esModule?e:{default:e}}function qrn(e){const t=[],n=()=>{const g=t.shift();g&&g.reverse().forEach(b=>e.elementClose(b))},{attr:r,elementOpenEnd:i,elementVoid:s,text:a}=e,o=(g,...b)=>{t.length>0&&t[0].push(g),e.elementOpen(g,...b)},l=g=>{t.length>0&&t[0].push(g),e.elementOpenStart(g)},c=g=>{t.length>0&&t[0].pop(),e.elementClose(g)},d=g=>g.replace(/[^-:\w]/g,""),f=new zrn.default({onopentag:g=>i(d(g)),onopentagname:g=>l(d(g)),onattribute:(g,b)=>{const w=d(g);w!==""&&r(w,b)},ontext:a,onclosetag:g=>c(d(g))},{decodeEntities:!0,lowerCaseAttributeNames:!1,lowerCaseTags:!1}),p=g=>typeof g=="function"?g():f.write(g);return{renderAttrsToArray(g){return g.attrs?g.attrs.reduce((b,w)=>b.concat(w),[]):[]},renderInline(g,b,w){return()=>{t.unshift([]),g.forEach((x,T)=>{const{type:_}=x;this.rules[_]!==void 0?p(this.rules[_](g,T,b,w,this)):this.renderToken(g,T,b)()}),n()}},renderToken(g,b){return()=>{const w=g[b];w.hidden||(w.nesting===-1?c(w.tag):(w.nesting===0?s:o).apply(this,[w.tag,"",[]].concat(this.renderAttrsToArray(w))))}},render(g,b,w){return()=>{t.unshift([]),g.forEach((x,T)=>{const{type:_}=x;_==="inline"?this.renderInline(x.children,b,w)():this.rules[_]!==void 0?p(this.rules[_](g,T,b,w,this)):this.renderToken(g,T,b,w)()}),n(),f.reset()}}}}var JY={};Object.defineProperty(JY,"__esModule",{value:!0});JY.default=jrn;function jrn(e){const{elementClose:t,elementOpen:n,elementVoid:r,text:i}=e;return{code_inline(s,a,o,l,c){return()=>{n.apply(this,["code","",[]].concat(c.renderAttrsToArray(s[a]))),i(s[a].content),t("code")}},code_block(s,a,o,l,c){return()=>{n.apply(this,["pre","",[]].concat(c.renderAttrsToArray(s[a]))),n("code"),i(s[a].content),t("code"),t("pre")}},hardbreak(){return()=>r("br")},softbreak(s,a,o){return()=>o.breaks?r("br"):i(` +`)},text(s,a){return()=>i(s[a].content)}}}Object.defineProperty(UOe,"__esModule",{value:!0});var Wrn=UOe.default=Yrn,Qrn=NEe(FY),Vrn=NEe(JY);function NEe(e){return e&&e.__esModule?e:{default:e}}function loe(e){for(var t=1;te.IncrementalDOMRenderer.render(e.parse(a,o),e.options,o),e.renderInlineToIncrementalDOM=(a,o={})=>e.IncrementalDOMRenderer.render(e.parseInline(a,o),e.options,o)}var Zrn=function(t,n){var r=t.linkify,i=t.utils.escapeHtml,s=']*href="[^"<>]*"[^<>]*)\\s?>',a=RegExp(s,"i"),o=']*src="[^"<>]*"[^<>]*)\\s?\\/?>',l=RegExp(o,"i"),c=/^(?:https?:)?\/\//i,d=/^(?:https?:\/\/|ftp:\/\/|\/\/|mailto:|xmpp:)/i;n=n||{};var f=typeof n.removeUnknown<"u"?n.removeUnknown:!1,p=typeof n.removeUnbalanced<"u"?n.removeUnbalanced:!1,g=typeof n.imageClass<"u"?n.imageClass:"",b=!1,w,x=["a","b","blockquote","code","em","h1","h2","h3","h4","h5","h6","li","ol","p","pre","s","sub","sup","strong","ul"],T=new Array(x.length),_=new Array(x.length);for(w=0;w]*>?/gi,function(j){var F,V,ie,se,me,fe;return/(^<->|^<-\s|^<3\s)/.test(j)?j:(F=j.match(l),F&&(V=F[1],ie=C(V.match(/src="([^"<>]*)"/i)[1]),se=V.match(/alt="([^"<>]*)"/i),se=se&&typeof se[1]<"u"?se[1]:"",me=V.match(/title="([^"<>]*)"/i),me=me&&typeof me[1]<"u"?me[1]:"",ie&&c.test(ie))?g!==""?''+se+'':''+se+'':(fe=x.indexOf("a"),F=j.match(a),F&&(V=F[1],ie=C(V.match(/href="([^"<>]*)"/i)[1]),me=V.match(/title="([^"<>]*)"/i),me=me&&typeof me[1]<"u"?me[1]:"",ie&&d.test(ie))?(b=!0,T[fe]+=1,''):(F=/<\/a>/i.test(j),F?(b=!0,T[fe]-=1,T[fe]<0&&(_[fe]=!0),""):(F=j.match(/<(br|hr)\s?\/?>/i),F?"<"+F[1].toLowerCase()+">":(F=j.match(/<(\/?)(b|blockquote|code|em|h[1-6]|li|ol(?: start="\d+")?|p|pre|s|sub|sup|strong|ul)>/i),F&&!/<\/ol start="\d+"/i.test(j)?(b=!0,fe=x.indexOf(F[2].toLowerCase().split(" ")[0]),F[1]==="/"?T[fe]-=1:T[fe]+=1,T[fe]<0&&(_[fe]=!0),"<"+F[1]+F[2].toLowerCase()+">"):f===!0?"":i(j))))))}),B}function M(B){var j,F,V;for(w=0;w]*" title="[^"<>]*" target="_blank">',"g"):me==="ol"?fe=//g:fe=RegExp("<"+me+">","g"),le=RegExp("","g"),p===!0?(se=se.replace(fe,""),se=se.replace(le,"")):(se=se.replace(fe,function(ye){return i(ye)}),se=se.replace(le,function(ye){return i(ye)})),se}function ie(se){var me;for(me=0;me=0;r--)if(e[r].level===n)return r;return-1}function ein(e,t){return oin(e[t])&&lin(e[t-1])&&uin(e[t-2])&&cin(e[t])}function tin(e,t,n,r){var i;i=n.idPrefix+t,e.children[0].content=e.children[0].content.slice(3),e.children.unshift(rin(i,r)),e.children.push(iin(r)),e.children.unshift(nin(e,i,n,r)),n.divWrap&&(e.children.unshift(sin(n,r)),e.children.push(ain(r)))}function nin(e,t,n,r){var i=new r("checkbox_input","input",0);i.attrs=[["type","checkbox"],["id",t]];var s=/^\[[xX]\][ \u00A0]/.test(e.content);return s===!0&&i.attrs.push(["checked","true"]),n.disabled===!0&&i.attrs.push(["disabled","true"]),i}function rin(e,t){var n=new t("label_open","label",1);return n.attrs=[["for",e]],n}function iin(e){return new e("label_close","label",-1)}function sin(e,t){var n=new t("checkbox_open","div",0);return n.attrs=[["class",e.divClass]],n}function ain(e){var t=new e("checkbox_close","div",-1);return t}function oin(e){return e.type==="inline"}function lin(e){return e.type==="paragraph_open"}function uin(e){return e.type==="list_item_open"}function cin(e){return/^\[[xX \u00A0]\][ \u00A0]/.test(e.content)}const din=mc(Krn);var hs={};/** * @preserve * Copyright 2015 The Incremental DOM Authors. All Rights Reserved. * Licensed under the Apache License, Version 2.0. @@ -761,7 +761,7 @@ l0,-`+(v+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */var Xrn=Object.prototype.hasOwnProperty;function NEe(){}NEe.prototype=Object.create(null);function Krn(e,t){return Xrn.call(e,t)}function PEe(){return new NEe}function tZ(e,t){for(;e.length>t;)e.pop()}/** + */var fin=Object.prototype.hasOwnProperty;function PEe(){}PEe.prototype=Object.create(null);function hin(e,t){return fin.call(e,t)}function LEe(){return new PEe}function tZ(e,t){for(;e.length>t;)e.pop()}/** * @license * Copyright 2018 The Incremental DOM Authors. All Rights Reserved. * @@ -776,7 +776,7 @@ l0,-`+(v+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */function Jrn(e){if(e.lastIndexOf("xml:",0)===0)return"http://www.w3.org/XML/1998/namespace";if(e.lastIndexOf("xlink:",0)===0)return"http://www.w3.org/1999/xlink"}function LEe(e,t,n){if(n==null)e.removeAttribute(t);else{var r=Jrn(t);r?e.setAttributeNS(r,t,String(n)):e.setAttribute(t,String(n))}}function MEe(e,t,n){e[t]=n}function ein(e,t,n){t.indexOf("-")>=0?e.setProperty(t,n):e[t]=n}function tin(e,t,n){if(typeof n=="string")e.style.cssText=n;else{e.style.cssText="";var r=e.style;for(var i in n)Krn(n,i)&&ein(r,i,n[i])}}function nin(e,t,n){var r=typeof n;r==="object"||r==="function"?MEe(e,t,n):LEe(e,t,n)}var o_=PEe();o_[eZ.default]=nin;o_.style=tin;function HT(e,t,n){var r=o_[t]||o_[eZ.default];r(e,t,n)}/** + */function pin(e){if(e.lastIndexOf("xml:",0)===0)return"http://www.w3.org/XML/1998/namespace";if(e.lastIndexOf("xlink:",0)===0)return"http://www.w3.org/1999/xlink"}function MEe(e,t,n){if(n==null)e.removeAttribute(t);else{var r=pin(t);r?e.setAttributeNS(r,t,String(n)):e.setAttribute(t,String(n))}}function FEe(e,t,n){e[t]=n}function min(e,t,n){t.indexOf("-")>=0?e.setProperty(t,n):e[t]=n}function gin(e,t,n){if(typeof n=="string")e.style.cssText=n;else{e.style.cssText="";var r=e.style;for(var i in n)hin(n,i)&&min(r,i,n[i])}}function bin(e,t,n){var r=typeof n;r==="object"||r==="function"?FEe(e,t,n):MEe(e,t,n)}var o_=LEe();o_[eZ.default]=bin;o_.style=gin;function HT(e,t,n){var r=o_[t]||o_[eZ.default];r(e,t,n)}/** * @license * Copyright 2018 The Incremental DOM Authors. All Rights Reserved. * @@ -791,7 +791,7 @@ l0,-`+(v+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */var uoe=!1;function rin(e){var t=uoe;return uoe=e,t}/** + */var coe=!1;function yin(e){var t=coe;return coe=e,t}/** * @license * Copyright 2018 The Incremental DOM Authors. All Rights Reserved. * @@ -821,7 +821,7 @@ l0,-`+(v+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */var iin=function(){function e(){this.created=[],this.deleted=[]}return e.prototype.markCreated=function(t){this.created.push(t)},e.prototype.markDeleted=function(t){this.deleted.push(t)},e.prototype.notifyChanges=function(){tT.nodesCreated&&this.created.length>0&&tT.nodesCreated(this.created),tT.nodesDeleted&&this.deleted.length>0&&tT.nodesDeleted(this.deleted)},e}();/** + */var vin=function(){function e(){this.created=[],this.deleted=[]}return e.prototype.markCreated=function(t){this.created.push(t)},e.prototype.markDeleted=function(t){this.deleted.push(t)},e.prototype.notifyChanges=function(){tT.nodesCreated&&this.created.length>0&&tT.nodesCreated(this.created),tT.nodesDeleted&&this.deleted.length>0&&tT.nodesDeleted(this.deleted)},e}();/** * @license * Copyright 2018 The Incremental DOM Authors. All Rights Reserved. * @@ -836,7 +836,7 @@ l0,-`+(v+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */function sin(e){return e.nodeType===11||e.nodeType===9}function c8(e){return e.nodeType===1}function ain(e){return e.nodeType===3}function oin(e,t){for(var n=[],r=e;r!==t;){var i=r;n.push(i),r=i.parentNode}return n}var lin=Node.prototype.getRootNode||function(){for(var e=this,t=e;e;)t=e,e=e.parentNode;return t};function uin(e){var t=lin.call(e);return sin(t)?t.activeElement:null}function cin(e,t){var n=uin(e);return!n||!e.contains(n)?[]:oin(n,t)}function din(e,t,n){for(var r=t.nextSibling,i=n;i!==null&&i!==t;){var s=i.nextSibling;e.insertBefore(i,r),i=s}}/** + */function Sin(e){return e.nodeType===11||e.nodeType===9}function c8(e){return e.nodeType===1}function Oin(e){return e.nodeType===3}function Ein(e,t){for(var n=[],r=e;r!==t;){var i=r;n.push(i),r=i.parentNode}return n}var win=Node.prototype.getRootNode||function(){for(var e=this,t=e;e;)t=e,e=e.parentNode;return t};function xin(e){var t=win.call(e);return Sin(t)?t.activeElement:null}function Tin(e,t){var n=xin(e);return!n||!e.contains(n)?[]:Ein(n,t)}function kin(e,t,n){for(var r=t.nextSibling,i=n;i!==null&&i!==t;){var s=i.nextSibling;e.insertBefore(i,r),i=s}}/** * @license * Copyright 2018 The Incremental DOM Authors. All Rights Reserved. * @@ -851,7 +851,7 @@ l0,-`+(v+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */var fin=function(){function e(t,n,r){this._attrsArr=null,this.staticsApplied=!1,this.nameOrCtor=t,this.key=n,this.text=r}return e.prototype.hasEmptyAttrsArr=function(){var t=this._attrsArr;return!t||!t.length},e.prototype.getAttrsArr=function(t){return this._attrsArr||(this._attrsArr=new Array(t))},e}();function nZ(e,t,n,r){var i=new fin(t,n,r);return e.__incrementalDOMData=i,i}function qA(e,t){return FEe(e,t)}function hin(e){return!!e.__incrementalDOMData}function pin(e){return e.__incrementalDOMData,qA(e).key}function FEe(e,t){if(e.__incrementalDOMData)return e.__incrementalDOMData;var n=c8(e)?e.localName:e.nodeName,r=c8(e)?e.getAttribute("key")||t:null,i=ain(e)?e.data:void 0,s=nZ(e,n,r,i);return c8(e)&&min(e,s),s}function $Ee(e){FEe(e);for(var t=e.firstChild;t;t=t.nextSibling)$Ee(t)}function BEe(e){e.__incrementalDOMData=null;for(var t=e.firstChild;t;t=t.nextSibling)BEe(t)}function min(e,t){var n=e.attributes,r=n.length;if(r)for(var i=t.getAttrsArr(r),s=0,a=0;s=0?din(Yo,r,ho):Yo.insertBefore(r,ho),ho=r)}function qEe(e,t,n){for(var r=e,i=t;i!==n;){var s=i.nextSibling;r.removeChild(i),US.markDeleted(i),i=s}}function jEe(){Yo=ho,ho=null}function LN(){return ho?ho.nextSibling:Yo.firstChild}function rZ(){ho=LN()}function WEe(){qEe(Yo,LN(),null),ho=Yo,Yo=Yo.parentNode}function QEe(e,t){return rZ(),HEe(e,t),jEe(),Yo}function VEe(){return WEe(),ho}function Ein(){return rZ(),HEe("#text",null),ho}function win(){return Yo}function xin(){return LN()}function Tin(){ho=Yo.lastChild}/** + */var US=null,ho=null,Yo=null,qT=null,vR=[],SR=[];function PN(){return SR}function zEe(e){var t=function(n,r,i){var s=US,a=qT,o=vR,l=SR,c=ho,d=Yo,f=!1;US=new vin,qT=n.ownerDocument,SR=[],Yo=n.parentNode,vR=Tin(n,Yo);try{var p=e(n,r,i);return p}finally{qT=a,SR=l,ho=c,Yo=d,vR=o,US.notifyChanges(),yin(f),US=s}};return t}var HEe=zEe(function(e,t,n){return ho=e,WEe(),t(n),QEe(),e}),Pin=zEe(function(e,t,n){var r={nextSibling:e},i=null,s=null;return ho=r,t(n),Yo&&jEe(Yo,LN(),e.nextSibling),r===ho?null:ho});function doe(e,t,n){var r=qA(e,n);return t==r.nameOrCtor&&n==r.key}function Lin(e,t,n){if(!e)return null;if(doe(e,t,n))return e;if(n){for(;e=e.nextSibling;)if(doe(e,t,n))return e}return null}function Min(e,t){var n;return e==="#text"?n=Nin(qT):n=Din(qT,Yo,e,t),US.markCreated(n),n}function qEe(e,t){var n=Lin(ho,e,t),r=n||Min(e,t);r!==ho&&(vR.indexOf(r)>=0?kin(Yo,r,ho):Yo.insertBefore(r,ho),ho=r)}function jEe(e,t,n){for(var r=e,i=t;i!==n;){var s=i.nextSibling;r.removeChild(i),US.markDeleted(i),i=s}}function WEe(){Yo=ho,ho=null}function LN(){return ho?ho.nextSibling:Yo.firstChild}function rZ(){ho=LN()}function QEe(){jEe(Yo,LN(),null),ho=Yo,Yo=Yo.parentNode}function VEe(e,t){return rZ(),qEe(e,t),WEe(),Yo}function GEe(){return QEe(),ho}function Fin(){return rZ(),qEe("#text",null),ho}function $in(){return Yo}function Bin(){return LN()}function Uin(){ho=Yo.lastChild}/** * @license * Copyright 2018 The Incremental DOM Authors. All Rights Reserved. * @@ -896,7 +896,7 @@ l0,-`+(v+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */var doe=3,Jf=PEe();function kin(e,t,n){if(t.staticsApplied=!0,!(!n||!n.length)){if(t.hasEmptyAttrsArr()){for(var r=0;r{try{return`
${H2t(Te.highlight(e,t))}
`}catch(n){return console.error(`Error highlighting code with language '${t}':`,n),`
${ZEe.utils.escapeHtml(e)}
`}}}).use(jrn,isn,{incrementalizeDefaultRules:!1}).use(J2t).use(Zrn),foe=()=>{const e=cA(),t=ei(xm),[n,r]=Y.useState(""),i=Y.useRef(null);return Y.useEffect(()=>{if(!t.doc)return;const s=()=>{var l,c;const o=((c=(l=t.doc)==null?void 0:l.getRoot().content)==null?void 0:c.toString())||"";r(lOe(o))};s();const a=t.doc.subscribe("$.content",()=>{s()});return()=>{a(),r("")}},[t.doc]),Y.useEffect(()=>{i.current!=null&&YEe(i.current,ZEe.renderToIncrementalDOM(n))},[n]),t!=null&&t.doc?U.jsx("div",{ref:i,"data-color-mode":e,style:{paddingBottom:"2rem"},className:"markdown-preview"}):U.jsx(Rr,{direction:"row",justifyContent:"center",children:U.jsx(dh,{sx:{mt:2}})})};function XEe(){const e=ei(xm),t=irt(),n=ei(Fy);return!e.doc||!e.client?U.jsx(wE,{open:!0,children:U.jsx(dh,{color:"inherit"})}):U.jsxs(U.Fragment,{children:[e.mode===JS.BOTH&&U.jsx(urt,{axis:"x",initial:t/2,min:400,children:({position:r,separatorProps:i})=>U.jsx(RF.ScrollSync,{enabled:!n.disableScrollSync,children:U.jsxs("div",{id:"wrapper",style:{display:"flex",height:"100%",overflow:"hidden",position:"relative"},children:[U.jsx("div",{id:"left-block",style:{width:r,position:"relative",height:"100%"},children:U.jsx(Aae,{width:r})}),U.jsx(Ko,{id:"splitter",...i,sx:{height:"100%",width:8,borderRadius:0,cursor:"col-resize",zIndex:0}}),U.jsx(RF.ScrollSyncPane,{children:U.jsx("div",{className:"right-block",style:{width:`calc(100% - ${r}px)`,overflow:"auto"},children:U.jsx(ha,{sx:{p:4},height:"100%",children:U.jsx(foe,{})})})})]})})}),e.mode===JS.EDIT&&U.jsx("div",{style:{position:"relative",height:"100%"},children:U.jsx(Aae,{width:"100%"})}),e.mode===JS.READ&&U.jsx(ha,{sx:{p:4,overflow:"auto"},height:"100%",children:U.jsx(foe,{})})]})}var KEe={exports:{}},JEe={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},e2e={exports:{}},ssn=function(t){return!t||typeof t=="string"?!1:t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&t.constructor.name!=="String")},asn=ssn,osn=Array.prototype.concat,lsn=Array.prototype.slice,hoe=e2e.exports=function(t){for(var n=[],r=0,i=t.length;r=4&&e[3]!==1&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"};rd.to.keyword=function(e){return n2e[e.slice(0,3)]};function s1(e,t,n){return Math.min(Math.max(t,e),n)}function S3(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}var csn=KEe.exports;const l_=JEe,r2e={};for(const e of Object.keys(l_))r2e[l_[e]]=e;const tr={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var i2e=tr;for(const e of Object.keys(tr)){if(!("channels"in tr[e]))throw new Error("missing channels property: "+e);if(!("labels"in tr[e]))throw new Error("missing channel labels property: "+e);if(tr[e].labels.length!==tr[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=tr[e];delete tr[e].channels,delete tr[e].labels,Object.defineProperty(tr[e],"channels",{value:t}),Object.defineProperty(tr[e],"labels",{value:n})}tr.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),s=Math.max(t,n,r),a=s-i;let o,l;s===i?o=0:t===s?o=(n-r)/a:n===s?o=2+(r-t)/a:r===s&&(o=4+(t-n)/a),o=Math.min(o*60,360),o<0&&(o+=360);const c=(i+s)/2;return s===i?l=0:c<=.5?l=a/(s+i):l=a/(2-s-i),[o,l*100,c*100]};tr.rgb.hsv=function(e){let t,n,r,i,s;const a=e[0]/255,o=e[1]/255,l=e[2]/255,c=Math.max(a,o,l),d=c-Math.min(a,o,l),f=function(p){return(c-p)/6/d+1/2};return d===0?(i=0,s=0):(s=d/c,t=f(a),n=f(o),r=f(l),a===c?i=r-n:o===c?i=1/3+t-r:l===c&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[i*360,s*100,c*100]};tr.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const i=tr.rgb.hsl(e)[0],s=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[i,s*100,r*100]};tr.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-n,1-r),s=(1-t-i)/(1-i)||0,a=(1-n-i)/(1-i)||0,o=(1-r-i)/(1-i)||0;return[s*100,a*100,o*100,i*100]};function dsn(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}tr.rgb.keyword=function(e){const t=r2e[e];if(t)return t;let n=1/0,r;for(const i of Object.keys(l_)){const s=l_[i],a=dsn(e,s);a.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const i=t*.4124+n*.3576+r*.1805,s=t*.2126+n*.7152+r*.0722,a=t*.0193+n*.1192+r*.9505;return[i*100,s*100,a*100]};tr.rgb.lab=function(e){const t=tr.rgb.xyz(e);let n=t[0],r=t[1],i=t[2];n/=95.047,r/=100,i/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;const s=116*r-16,a=500*(n-r),o=200*(r-i);return[s,a,o]};tr.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let i,s,a;if(n===0)return a=r*255,[a,a,a];r<.5?i=r*(1+n):i=r+n-r*n;const o=2*r-i,l=[0,0,0];for(let c=0;c<3;c++)s=t+1/3*-(c-1),s<0&&s++,s>1&&s--,6*s<1?a=o+(i-o)*6*s:2*s<1?a=i:3*s<2?a=o+(i-o)*(2/3-s)*6:a=o,l[c]=a*255;return l};tr.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,i=n;const s=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,i*=s<=1?s:2-s;const a=(r+n)/2,o=r===0?2*i/(s+i):2*n/(r+n);return[t,o*100,a*100]};tr.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const i=Math.floor(t)%6,s=t-Math.floor(t),a=255*r*(1-n),o=255*r*(1-n*s),l=255*r*(1-n*(1-s));switch(r*=255,i){case 0:return[r,l,a];case 1:return[o,r,a];case 2:return[a,r,l];case 3:return[a,o,r];case 4:return[l,a,r];case 5:return[r,a,o]}};tr.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,i=Math.max(r,.01);let s,a;a=(2-n)*r;const o=(2-n)*i;return s=n*i,s/=o<=1?o:2-o,s=s||0,a/=2,[t,s*100,a*100]};tr.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const i=n+r;let s;i>1&&(n/=i,r/=i);const a=Math.floor(6*t),o=1-r;s=6*t-a,a&1&&(s=1-s);const l=n+s*(o-n);let c,d,f;switch(a){default:case 6:case 0:c=o,d=l,f=n;break;case 1:c=l,d=o,f=n;break;case 2:c=n,d=o,f=l;break;case 3:c=n,d=l,f=o;break;case 4:c=l,d=n,f=o;break;case 5:c=o,d=n,f=l;break}return[c*255,d*255,f*255]};tr.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100,s=1-Math.min(1,t*(1-i)+i),a=1-Math.min(1,n*(1-i)+i),o=1-Math.min(1,r*(1-i)+i);return[s*255,a*255,o*255]};tr.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let i,s,a;return i=t*3.2406+n*-1.5372+r*-.4986,s=t*-.9689+n*1.8758+r*.0415,a=t*.0557+n*-.204+r*1.057,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),a=Math.min(Math.max(0,a),1),[i*255,s*255,a*255]};tr.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const i=116*n-16,s=500*(t-n),a=200*(n-r);return[i,s,a]};tr.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let i,s,a;s=(t+16)/116,i=n/500+s,a=s-r/200;const o=s**3,l=i**3,c=a**3;return s=o>.008856?o:(s-16/116)/7.787,i=l>.008856?l:(i-16/116)/7.787,a=c>.008856?c:(a-16/116)/7.787,i*=95.047,s*=100,a*=108.883,[i,s,a]};tr.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let i;i=Math.atan2(r,n)*360/2/Math.PI,i<0&&(i+=360);const a=Math.sqrt(n*n+r*r);return[t,a,i]};tr.lch.lab=function(e){const t=e[0],n=e[1],i=e[2]/360*2*Math.PI,s=n*Math.cos(i),a=n*Math.sin(i);return[t,s,a]};tr.rgb.ansi16=function(e,t=null){const[n,r,i]=e;let s=t===null?tr.rgb.hsv(e)[2]:t;if(s=Math.round(s/50),s===0)return 30;let a=30+(Math.round(i/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return s===2&&(a+=60),a};tr.hsv.ansi16=function(e){return tr.rgb.ansi16(tr.hsv.rgb(e),e[2])};tr.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};tr.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,i=(t>>1&1)*n*255,s=(t>>2&1)*n*255;return[r,i,s]};tr.ansi256.rgb=function(e){if(e>=232){const s=(e-232)*10+8;return[s,s,s]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,i=t%6/5*255;return[n,r,i]};tr.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};tr.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(o=>o+o).join(""));const r=parseInt(n,16),i=r>>16&255,s=r>>8&255,a=r&255;return[i,s,a]};tr.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,n),r),s=Math.min(Math.min(t,n),r),a=i-s;let o,l;return a<1?o=s/(1-a):o=0,a<=0?l=0:i===t?l=(n-r)/a%6:i===n?l=2+(r-t)/a:l=4+(t-n)/a,l/=6,l%=1,[l*360,a*100,o*100]};tr.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let i=0;return r<1&&(i=(n-.5*r)/(1-r)),[e[0],r*100,i*100]};tr.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],r*100,i*100]};tr.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const i=[0,0,0],s=t%1*6,a=s%1,o=1-a;let l=0;switch(Math.floor(s)){case 0:i[0]=1,i[1]=a,i[2]=0;break;case 1:i[0]=o,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=a;break;case 3:i[0]=0,i[1]=o,i[2]=1;break;case 4:i[0]=a,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=o}return l=(1-n)*r,[(n*i[0]+l)*255,(n*i[1]+l)*255,(n*i[2]+l)*255]};tr.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let i=0;return r>0&&(i=t/r),[e[0],i*100,r*100]};tr.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let i=0;return r>0&&r<.5?i=t/(2*r):r>=.5&&r<1&&(i=t/(2*(1-r))),[e[0],i*100,r*100]};tr.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};tr.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,i=r-t;let s=0;return i<1&&(s=(r-i)/(1-i)),[e[0],i*100,s*100]};tr.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};tr.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};tr.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};tr.gray.hsl=function(e){return[0,0,e[0]]};tr.gray.hsv=tr.gray.hsl;tr.gray.hwb=function(e){return[0,100,e[0]]};tr.gray.cmyk=function(e){return[0,0,0,e[0]]};tr.gray.lab=function(e){return[e[0],0,0]};tr.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};tr.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const $I=i2e;function fsn(){const e={},t=Object.keys($I);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function Ssn(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const i=e(n);if(typeof i=="object")for(let s=i.length,a=0;a{hS[e]={},Object.defineProperty(hS[e],"channels",{value:sU[e].channels}),Object.defineProperty(hS[e],"labels",{value:sU[e].labels});const t=bsn(e);Object.keys(t).forEach(r=>{const i=t[r];hS[e][r]=Ssn(i),hS[e][r].raw=vsn(i)})});var Osn=hS;const pS=csn,Zc=Osn,s2e=["keyword","gray","hex"],aU={};for(const e of Object.keys(Zc))aU[[...Zc[e].labels].sort().join("")]=e;const BI={};function Vo(e,t){if(!(this instanceof Vo))return new Vo(e,t);if(t&&t in s2e&&(t=null),t&&!(t in Zc))throw new Error("Unknown model: "+t);let n,r;if(e==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof Vo)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if(typeof e=="string"){const i=pS.get(e);if(i===null)throw new Error("Unable to parse color from string: "+e);this.model=i.model,r=Zc[this.model].channels,this.color=i.value.slice(0,r),this.valpha=typeof i.value[r]=="number"?i.value[r]:1}else if(e.length>0){this.model=t||"rgb",r=Zc[this.model].channels;const i=Array.prototype.slice.call(e,0,r);this.color=oU(i,r),this.valpha=typeof e[r]=="number"?e[r]:1}else if(typeof e=="number")this.model="rgb",this.color=[e>>16&255,e>>8&255,e&255],this.valpha=1;else{this.valpha=1;const i=Object.keys(e);"alpha"in e&&(i.splice(i.indexOf("alpha"),1),this.valpha=typeof e.alpha=="number"?e.alpha:0);const s=i.sort().join("");if(!(s in aU))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=aU[s];const{labels:a}=Zc[this.model],o=[];for(n=0;n(e%360+360)%360),saturationl:Ia("hsl",1,So(100)),lightness:Ia("hsl",2,So(100)),saturationv:Ia("hsv",1,So(100)),value:Ia("hsv",2,So(100)),chroma:Ia("hcg",1,So(100)),gray:Ia("hcg",2,So(100)),white:Ia("hwb",1,So(100)),wblack:Ia("hwb",2,So(100)),cyan:Ia("cmyk",0,So(100)),magenta:Ia("cmyk",1,So(100)),yellow:Ia("cmyk",2,So(100)),black:Ia("cmyk",3,So(100)),x:Ia("xyz",0,So(95.047)),y:Ia("xyz",1,So(100)),z:Ia("xyz",2,So(108.833)),l:Ia("lab",0,So(100)),a:Ia("lab",1),b:Ia("lab",2),keyword(e){return e!==void 0?new Vo(e):Zc[this.model].keyword(this.color)},hex(e){return e!==void 0?new Vo(e):pS.to.hex(this.rgb().round().color)},hexa(e){if(e!==void 0)return new Vo(e);const t=this.rgb().round().color;let n=Math.round(this.valpha*255).toString(16).toUpperCase();return n.length===1&&(n="0"+n),pS.to.hex(t)+n},rgbNumber(){const e=this.rgb().color;return(e[0]&255)<<16|(e[1]&255)<<8|e[2]&255},luminosity(){const e=this.rgb().color,t=[];for(const[n,r]of e.entries()){const i=r/255;t[n]=i<=.04045?i/12.92:((i+.055)/1.055)**2.4}return .2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){const t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level(e){const t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(e[0]*2126+e[1]*7152+e[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){const t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){const t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){const t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){const t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){const t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){const t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){const e=this.rgb().color,t=e[0]*.3+e[1]*.59+e[2]*.11;return Vo.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const t=this.hsl();let n=t.color[0];return n=(n+e)%360,n=n<0?360+n:n,t.color[0]=n,t},mix(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const n=e.rgb(),r=this.rgb(),i=t===void 0?.5:t,s=2*i-1,a=n.alpha()-r.alpha(),o=((s*a===-1?s:(s+a)/(1+s*a))+1)/2,l=1-o;return Vo.rgb(o*n.red()+l*r.red(),o*n.green()+l*r.green(),o*n.blue()+l*r.blue(),n.alpha()*i+r.alpha()*(1-i))}};for(const e of Object.keys(Zc)){if(s2e.includes(e))continue;const{channels:t}=Zc[e];Vo.prototype[e]=function(...n){return this.model===e?new Vo(this):n.length>0?new Vo(n,e):new Vo([...xsn(Zc[this.model][e].raw(this.color)),this.valpha],e)},Vo[e]=function(...n){let r=n[0];return typeof r=="number"&&(r=oU(n,t)),new Vo(r,e)}}function Esn(e,t){return Number(e.toFixed(t))}function wsn(e){return function(t){return Esn(t,e)}}function Ia(e,t,n){e=Array.isArray(e)?e:[e];for(const r of e)(BI[r]||(BI[r]=[]))[t]=n;return e=e[0],function(r){let i;return r!==void 0?(n&&(r=n(r)),i=this[e](),i.color[t]=r,i):(i=this[e]().color[t],n&&(i=n(i)),i)}}function So(e){return function(t){return Math.max(0,Math.min(e,t))}}function xsn(e){return Array.isArray(e)?e:[e]}function oU(e,t){for(let n=0;nse.length;){var fe=s(B);n!==null&&(B.seed=n),se.push(fe)}return B.count=ie,se}return j=a(B),F=o(j,B),V=l(j,F,B),c([j,F,V],B)};function a(B){if(i.length>0){var j=$(B.hue),F=b(j),V=(j[1]-j[0])/i.length,ie=parseInt((F-j[0])/V);i[ie]===!0?ie=(ie+2)%i.length:i[ie]=!0;var se=(j[0]+ie*V)%359,me=(j[0]+(ie+1)*V)%359;return j=[se,me],F=b(j),F<0&&(F=360+F),F}else{var j=f(B.hue);return F=b(j),F<0&&(F=360+F),F}}function o(B,j){if(j.hue==="monochrome")return 0;if(j.luminosity==="random")return b([0,100]);var F=p(B),V=F[0],ie=F[1];switch(j.luminosity){case"bright":V=55;break;case"dark":V=ie-10;break;case"light":ie=55;break}return b([V,ie])}function l(B,j,F){var V=d(B,j),ie=100;switch(F.luminosity){case"dark":ie=V+20;break;case"light":V=(ie+V)/2;break;case"random":V=0,ie=100;break}return b([V,ie])}function c(B,j){switch(j.format){case"hsvArray":return B;case"hslArray":return I(B);case"hsl":var F=I(B);return"hsl("+F[0]+", "+F[1]+"%, "+F[2]+"%)";case"hsla":var V=I(B),me=j.alpha||Math.random();return"hsla("+V[0]+", "+V[1]+"%, "+V[2]+"%, "+me+")";case"rgbArray":return _(B);case"rgb":var ie=_(B);return"rgb("+ie.join(", ")+")";case"rgba":var se=_(B),me=j.alpha||Math.random();return"rgba("+se.join(", ")+", "+me+")";default:return w(B)}}function d(B,j){for(var F=g(B).lowerBounds,V=0;V=ie&&j<=me){var le=(fe-se)/(me-ie),ye=se-le*ie;return le*j+ye}}return 0}function f(B){if(typeof parseInt(B)=="number"){var j=parseInt(B);if(j<360&&j>0)return[j,j]}if(typeof B=="string"){if(r[B]){var F=r[B];if(F.hueRange)return F.hueRange}else if(B.match(/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i)){var V=C(B)[0];return[V,V]}}return[0,360]}function p(B){return g(B).saturationRange}function g(B){B>=334&&B<=360&&(B-=360);for(var j in r){var F=r[j];if(F.hueRange&&B>=F.hueRange[0]&&B<=F.hueRange[1])return r[j]}return"Color not found"}function b(B){if(n===null){var j=.618033988749895,F=Math.random();return F+=j,F%=1,Math.floor(B[0]+F*(B[1]+1-B[0]))}else{var V=B[1]||1,ie=B[0]||0;n=(n*9301+49297)%233280;var se=n/233280;return Math.floor(ie+se*(V-ie))}}function w(B){var j=_(B);function F(ie){var se=ie.toString(16);return se.length==1?"0"+se:se}var V="#"+F(j[0])+F(j[1])+F(j[2]);return V}function x(B,j,F){var V=F[0][0],ie=F[F.length-1][0],se=F[F.length-1][1],me=F[0][1];r[B]={hueRange:j,lowerBounds:F,saturationRange:[V,ie],brightnessRange:[se,me]}}function T(){x("monochrome",null,[[0,0],[100,0]]),x("red",[-26,18],[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]),x("orange",[18,46],[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]),x("yellow",[46,62],[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]),x("green",[62,178],[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]),x("blue",[178,257],[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]),x("purple",[257,282],[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]),x("pink",[282,334],[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]])}function _(B){var j=B[0];j===0&&(j=1),j===360&&(j=359),j=j/360;var F=B[1]/100,V=B[2]/100,ie=Math.floor(j*6),se=j*6-ie,me=V*(1-F),fe=V*(1-se*F),le=V*(1-(1-se)*F),ye=256,ae=256,Se=256;switch(ie){case 0:ye=V,ae=le,Se=me;break;case 1:ye=fe,ae=V,Se=me;break;case 2:ye=me,ae=V,Se=le;break;case 3:ye=me,ae=fe,Se=V;break;case 4:ye=le,ae=me,Se=V;break;case 5:ye=V,ae=me,Se=fe;break}var he=[Math.floor(ye*255),Math.floor(ae*255),Math.floor(Se*255)];return he}function C(B){B=B.replace(/^#/,""),B=B.length===3?B.replace(/(.)/g,"$1$1"):B;var j=parseInt(B.substr(0,2),16)/255,F=parseInt(B.substr(2,2),16)/255,V=parseInt(B.substr(4,2),16)/255,ie=Math.max(j,F,V),se=ie-Math.min(j,F,V),me=ie?se/ie:0;switch(ie){case j:return[60*((F-V)/se%6)||0,me,ie];case F:return[60*((V-j)/se+2)||0,me,ie];case V:return[60*((j-F)/se+4)||0,me,ie]}}function I(B){var j=B[0],F=B[1]/100,V=B[2]/100,ie=(2-F)*V;return[j,Math.round(F*V/(ie<1?ie:2-ie)*1e4)/100,ie/2*100]}function M(B){for(var j=0,F=0;F!==B.length&&!(j>=Number.MAX_SAFE_INTEGER);F++)j+=B.charCodeAt(F);return j}function $(B){if(isNaN(B)){if(typeof B=="string"){if(r[B]){var F=r[B];if(F.hueRange)return F.hueRange}else if(B.match(/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i)){var V=C(B)[0];return g(V).hueRange}}}else{var j=parseInt(B);if(j<360&&j>0)return g(B).hueRange}return[0,360]}return s})})(lU,lU.exports);var _sn=lU.exports;const Asn=hd(_sn),Csn="https://api.yorkie.dev",Rsn="cbovg64qfu96agb5i0fg";wI.setLogLevel(4);const a2e=(e,t)=>{const[n]=RH(),r=ei(V_),[i,s]=Y.useState(null),[a,o]=Y.useState(null),l=Y.useCallback(()=>{const p=n.get("token");return p?`share:${p}`:`default:${r.accessToken}`},[r.accessToken,n]),c=Y.useCallback(async p=>{const g=Number(n.get("syncLoopDuration"))||200,b=new wI.Client(Csn,{apiKey:Rsn,token:p,syncLoopDuration:g});return await b.activate(),b},[n]),d=Y.useCallback((p,g,b)=>{const w=new wI.Document(g,{enableDevtools:!1});return p.attach(w,{initialPresence:{name:b,color:ksn(Asn()).fade(.15).toString(),selection:null,cursor:null}})},[]),f=Y.useCallback(async()=>{if(!(!i||!a))try{await i.detach(a),await i.deactivate()}catch(p){console.error("Error during Yorkie cleanup:",p)}},[i,a]);return Y.useEffect(()=>{let p=!0;return!e||!t||a||i?void 0:((async()=>{try{const b=l(),w=await c(b),x=await d(w,e,t);if(!p){await w.detach(x),await w.deactivate();return}s(w),o(x),window.doc=x}catch(b){console.error("Error initializing Yorkie: ",b)}})(),()=>{p=!1})},[t,e,a,i,l,c,d]),Y.useEffect(()=>()=>{f()},[f]),{client:i,doc:a}};function Isn(){var c;const e=mc(),t=k1(),n=ei($E),{data:r,isLoading:i}=oj(t.workspaceSlug),{data:s,isLoading:a}=xYe(r==null?void 0:r.id,t.documentId),{doc:o,client:l}=a2e(s==null?void 0:s.yorkieDocumentId,(c=n.data)==null?void 0:c.nickname);return Y.useEffect(()=>{if(!(!o||!l))return e(L5(o)),e(M5(l)),()=>{e(L5(null)),e(M5(null))}},[e,l,o]),a||i?U.jsx(wE,{open:!0,children:U.jsx(dh,{color:"inherit"})}):U.jsx(ha,{height:"calc(100% - 64px)",children:U.jsx(XEe,{})})}const Dsn=e=>["documents","share",e],Nsn=e=>{const t=mc(),n=PE({queryKey:Dsn(e||""),enabled:!!e,queryFn:async()=>(await kr.get("/documents/share",{params:{token:e}})).data,meta:{errorMessage:"This is a non-existent or expired document."}});return Y.useEffect(()=>(n.data&&t(F5(n.data)),()=>{t(F5(null))}),[t,n.data]),n};function Psn(){var l;const e=mc(),t=T1(),[n]=RH(),r=ei($E),i=Y.useMemo(()=>n.get("token"),[n]),{data:s}=Nsn(i),{doc:a,client:o}=a2e(s==null?void 0:s.yorkieDocumentId,((l=r.data)==null?void 0:l.nickname)??"Anonymous");return Y.useEffect(()=>{s!=null&&s.role&&(e(Gje(s.role)),s.role===eE.READ&&e(R9(JS.READ)))},[e,s==null?void 0:s.role]),Y.useEffect(()=>{if(!(!a||!o))return e(L5(a)),e(M5(o)),()=>{e(L5(null)),e(M5(null))}},[e,o,a]),i?U.jsx(ha,{height:"calc(100% - 64px)",children:U.jsx(XEe,{})}):U.jsx(CH,{to:"/",state:{from:t},replace:!0})}function Lsn(){const e=k1(),t=Sf(),{mutateAsync:n}=Bnt();return Y.useEffect(()=>{e.invitationToken&&n({invitationToken:e.invitationToken}).then(r=>{t(`/${r.slug}`)})},[n,t,e.invitationToken]),U.jsx(wE,{open:!0,children:U.jsx(dh,{color:"inherit"})})}const Msn=e=>["workspaces",e,"users"],Fsn=e=>bH({queryKey:Msn(e||""),queryFn:async({pageParam:t})=>(await kr.get(`/workspaces/${e}/users`,{params:{cursor:t}})).data,enabled:!!e,initialPageParam:void 0,getPreviousPageParam:t=>t.cursor??void 0,getNextPageParam:t=>t.cursor??void 0});function $sn(e){var d;const{open:t,onClose:n}=e,r=ei(wD),{mutateAsync:i}=$nt(((d=r.data)==null?void 0:d.id)||""),{enqueueSnackbar:s}=FE(),[a,o]=Y.useState(null),l=async f=>{let p;if(f.expiredString===eO[0])p=null;else{const[b,w]=f.expiredString.split(" ");p=An().add(Number(b),w).toDate()}const{invitationToken:g}=await i({expiredAt:p});o(`${window.location.origin}/join/${g}`)},c=async()=>{a&&(await My.write(a),s("URL Copied!",{variant:"success"}))};return U.jsx(xE,{open:t,disableAutoFocus:!0,onClose:n,children:U.jsxs(Ko,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",p:4,width:538},children:[U.jsx(Gl,{sx:{position:"absolute",top:28,right:28},onClick:n,children:U.jsx(VH,{})}),U.jsxs(Rr,{gap:4,children:[U.jsxs(Rr,{children:[U.jsx(fi,{variant:"h5",fontWeight:"bold",children:"Add Members"}),U.jsx(fi,{children:"Generate and share the link."})]}),U.jsx(Rr,{gap:1,children:U.jsx(yf,{children:U.jsx(BE,{defaultValues:{expiredString:eO[0]},onSuccess:l,children:U.jsxs(Rr,{gap:2,children:[U.jsx(C9,{label:"Expired Date",name:"expiredString",options:eO.map(f=>({id:f,label:f})),size:"small",sx:{width:1}}),U.jsx(yl,{type:"submit",variant:"contained",children:"Generate"})]})})})}),U.jsxs(Rr,{gap:1,children:[U.jsx(fi,{variant:"h6",fontWeight:"bold",children:"Invite Link"}),U.jsx(ha,{height:40,children:a?U.jsxs(Rr,{direction:"row",alignItems:"center",gap:2,children:[U.jsx(fi,{variant:"body1",children:a}),U.jsx(Fg,{title:"Copy URL",children:U.jsx(Gl,{onClick:c,children:U.jsx(GH,{})})})]}):U.jsx(fi,{mx:"auto",children:"No link has been generated."})})]})]})]})})}function Bsn(){const e=k1(),{data:t}=oj(e.workspaceSlug),{data:n,fetchNextPage:r,hasNextPage:i}=Fsn(t==null?void 0:t.id),[s,a]=Y.useState(!1),o=Y.useMemo(()=>(n==null?void 0:n.pages.reduce((c,d)=>c.concat(d.workspaceUsers),[]))??[],[n==null?void 0:n.pages]),l=()=>{a(c=>!c)};return U.jsxs(Hz,{maxWidth:"lg",children:[U.jsxs(Rr,{gap:4,children:[U.jsxs(Rr,{direction:"row",justifyContent:"space-between",alignItems:"center",px:2,children:[U.jsxs(fi,{variant:"h5",fontWeight:"bold",children:[t==null?void 0:t.title," ",U.jsx(fi,{component:"span",variant:"inherit",color:"primary",children:n==null?void 0:n.pages[0].workspaceUsers.length})]}),U.jsx(yl,{variant:"contained",startIcon:U.jsx(QH,{}),onClick:l,children:"Add Members"})]}),U.jsxs(jPe,{component:ha,children:[U.jsx(oy,{}),U.jsx(Vk,{pageStart:0,loadMore:()=>r(),hasMore:i,loader:U.jsx(ha,{className:"loader",children:U.jsx(dh,{size:"sm"})},0),useWindow:!1,style:{width:"100%"},children:U.jsxs(IPe,{children:[U.jsx(YPe,{children:U.jsxs(DJ,{children:[U.jsx(Hv,{children:"Name"}),U.jsx(Hv,{children:"Role"}),U.jsx(Hv,{})]})}),U.jsx(MPe,{style:{maxHeight:"100%",overflow:"auto"},children:o.map(c=>U.jsxs(DJ,{sx:{width:"100%"},children:[U.jsx(Hv,{component:"th",scope:"row",children:c.nickname}),U.jsx(Hv,{children:"-"}),U.jsx(Hv,{children:"-"})]},c.id))})]})})]})]}),U.jsx($sn,{open:s,onClose:l})]})}const Usn=[{path:"",accessType:2,element:U.jsx(Dnt,{}),children:[{path:"",element:U.jsx(Qnt,{})}]},{path:":workspaceSlug",accessType:1,element:U.jsx(qnt,{}),children:[{path:"",element:U.jsx(Xnt,{})},{path:"member",element:U.jsx(Bsn,{})}]},{path:":workspaceSlug",element:U.jsx(Int,{}),children:[{path:":documentId",accessType:1,element:U.jsx(Isn,{})},{path:":documentId/share",accessType:0,element:U.jsx(Psn,{})}]},{path:"auth/callback",accessType:2,element:U.jsx(Vnt,{})},{path:"join/:invitationToken",accessType:1,element:U.jsx(Lsn,{})},{path:"/404",accessType:0,element:U.jsx(Gnt,{})},{path:"settings/profile",accessType:1,element:U.jsx(Pnt,{}),children:[{path:"",element:U.jsx(Ynt,{})}]}],zsn=e=>{const t=n=>(n.accessType===1?n.element=U.jsx(Hje,{children:n.element}):n.accessType===2&&(n.element=U.jsx(zje,{children:n.element})),n);return e.map(n=>(n=t(n),n!=null&&n.children&&(n.children=n.children.map(r=>t(r))),n.errorElement=U.jsx(Uje,{}),n))},Hsn=zsn(Usn),qsn=e=>{var t;return e instanceof Ahe&&((t=e.response)==null?void 0:t.status)===404},jsn=e=>{var t;return e instanceof Ahe&&((t=e.response)==null?void 0:t.status)===500};h$e({dsn:"https://d287d6df8c6f423189266360055e6ca7@o553194.ingest.sentry.io/5680102",release:"codepair@0.1.20",integrations:[new eFe({routingInstrumentation:p$e()})],tracesSampleRate:1});const Wsn=oHe(Hsn);kr.defaults.baseURL="https://codepair-api.yorkie.dev";function Qsn(){return aqe(),null}function Vsn(){const e=ei(Fy),t=Oce("(prefers-color-scheme: dark)"),n=Y.useMemo(()=>{const s=t?"dark":"light";return B6({typography:{button:{textTransform:"none"}},palette:{mode:e.theme=="default"?s:e.theme}})},[e.theme,t]),r=Fqe(),i=Y.useMemo(()=>new C$e({queryCache:new Gfe({onError:s=>{qsn(s)||jsn(s)?window.location.href="/404":r(s)}}),defaultOptions:{queries:{retry:(s,a)=>{var o;return kr.isAxiosError(a)&&((o=a.response)==null?void 0:o.status)===401?!1:s<3}},mutations:{onError:r}}}),[r]);return U.jsx(P$e,{client:i,children:U.jsx(Bje,{children:U.jsxs(oRe,{theme:n,children:[U.jsx(lDe,{}),U.jsx(Qsn,{}),U.jsx(ha,{minHeight:"100vh",children:U.jsx(gHe,{router:Wsn})})]})})})}var sZ={},aZ={};aZ.__esModule=!0;aZ.default=Zsn;function OR(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?OR=function(n){return typeof n}:OR=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},OR(e)}function f8(){}var Gsn={getItem:f8,setItem:f8,removeItem:f8};function Ysn(e){if((typeof self>"u"?"undefined":OR(self))!=="object"||!(e in self))return!1;try{var t=self[e],n="redux-persist ".concat(e," test");t.setItem(n,"test"),t.getItem(n),t.removeItem(n)}catch{return!1}return!0}function Zsn(e){var t="".concat(e,"Storage");return Ysn(t)?self[t]:Gsn}sZ.__esModule=!0;sZ.default=Jsn;var Xsn=Ksn(aZ);function Ksn(e){return e&&e.__esModule?e:{default:e}}function Jsn(e){var t=(0,Xsn.default)(e);return{getItem:function(r){return new Promise(function(i,s){i(t.getItem(r))})},setItem:function(r,i){return new Promise(function(s,a){s(t.setItem(r,i))})},removeItem:function(r){return new Promise(function(i,s){i(t.removeItem(r))})}}}var o2e=void 0,ean=tan(sZ);function tan(e){return e&&e.__esModule?e:{default:e}}var nan=(0,ean.default)("local");o2e=nan;var oZ="persist:",l2e="persist/FLUSH",lZ="persist/REHYDRATE",u2e="persist/PAUSE",c2e="persist/PERSIST",d2e="persist/PURGE",f2e="persist/REGISTER",ran=-1;function ER(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ER=function(n){return typeof n}:ER=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},ER(e)}function poe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ian(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function man(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s=0)&&(n[i]=e[i]);return n}var gan=5e3;function ban(e,t){var n=e.version!==void 0?e.version:ran;e.debug;var r=e.stateReconciler===void 0?aan:e.stateReconciler,i=e.getStoredState||uan,s=e.timeout!==void 0?e.timeout:gan,a=null,o=!1,l=!0,c=function(f){return f._persist.rehydrated&&a&&!l&&a.update(f),f};return function(d,f){var p=d||{},g=p._persist,b=pan(p,["_persist"]),w=b;if(f.type===c2e){var x=!1,T=function(j,F){x||(f.rehydrate(e.key,j,F),x=!0)};if(s&&setTimeout(function(){!x&&T(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))},s),l=!1,a||(a=oan(e)),g)return L0({},t(w,f),{_persist:g});if(typeof f.rehydrate!="function"||typeof f.register!="function")throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return f.register(e.key),i(e).then(function(B){var j=e.migrate||function(F,V){return Promise.resolve(F)};j(B,n).then(function(F){T(F)},function(F){T(void 0,F)})},function(B){T(void 0,B)}),L0({},t(w,f),{_persist:{version:n,rehydrated:!1}})}else{if(f.type===d2e)return o=!0,f.result(dan(e)),L0({},t(w,f),{_persist:g});if(f.type===l2e)return f.result(a&&a.flush()),L0({},t(w,f),{_persist:g});if(f.type===u2e)l=!0;else if(f.type===lZ){if(o)return L0({},w,{_persist:L0({},g,{rehydrated:!0})});if(f.key===e.key){var _=t(w,f),C=f.payload,I=r!==!1&&C!==void 0?r(C,d,_,e):_,M=L0({},I,{_persist:L0({},g,{rehydrated:!0})});return c(M)}}}if(!g)return t(d,f);var $=t(w,f);return $===w?d:c(L0({},$,{_persist:g}))}}function goe(e){return San(e)||van(e)||yan()}function yan(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function van(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function San(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&arguments[0]!==void 0?arguments[0]:h2e,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case f2e:return uU({},t,{registry:[].concat(goe(t.registry),[n.key])});case lZ:var r=t.registry.indexOf(n.key),i=goe(t.registry);return i.splice(r,1),uU({},t,{registry:i,bootstrapped:i.length===0});default:return t}};function wan(e,t,n){var r=DH(Ean,h2e,void 0),i=function(l){r.dispatch({type:f2e,key:l})},s=function(l,c,d){var f={type:lZ,payload:c,err:d,key:l};e.dispatch(f),r.dispatch(f)},a=uU({},r,{purge:function(){var l=[];return e.dispatch({type:d2e,result:function(d){l.push(d)}}),Promise.all(l)},flush:function(){var l=[];return e.dispatch({type:l2e,result:function(d){l.push(d)}}),Promise.all(l)},pause:function(){e.dispatch({type:u2e})},persist:function(){e.dispatch({type:c2e,register:i,rehydrate:s})}});return a.persist(),a}const xan=Yhe({auth:Uqe,config:Ant,user:Hqe,editor:Zje,workspace:Kje,document:bWe,setting:iqe}),Tan={key:"root",storage:o2e,whitelist:["auth","config"]},kan=ban(Tan,xan),p2e=qHe({reducer:kan,middleware:e=>e({serializableCheck:{ignoredActions:["persist/PERSIST","editor/setDoc","editor/setClient","editor/setCmView"],ignoredPaths:["editor.doc","editor.client","editor.cmView"]},immutableCheck:{ignoredPaths:["editor.doc","editor.client","editor.cmView"]}})});function wR(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?wR=function(n){return typeof n}:wR=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},wR(e)}function _an(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Aan(e,t){for(var n=0;n"u"&&(window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)}),(o=window).gtag.apply(o,s)}},n=t;e.default=n})(y2e);var v2e={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var t=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;function n(o){return o.toString().trim().replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,function(l,c,d){return c>0&&c+l.length!==d.length&&l.search(t)>-1&&d.charAt(c-2)!==":"&&(d.charAt(c+l.length)!=="-"||d.charAt(c-1)==="-")&&d.charAt(c-1).search(/[^\s-]/)<0?l.toLowerCase():l.substr(1).search(/[A-Z]|\../)>-1?l:l.charAt(0).toUpperCase()+l.substr(1)})}function r(o){return typeof o=="string"&&o.indexOf("@")!==-1}var i="REDACTED (Potential Email Address)";function s(o){return r(o)?(console.warn("This arg looks like an email address, redacting."),i):o}function a(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,d=o||"";return l&&(d=n(o)),c&&(d=s(d)),d}})(v2e);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.GA4=void 0;var t=a(y2e),n=a(v2e),r=["eventCategory","eventAction","eventLabel","eventValue","hitType"],i=["title","location"],s=["page","hitType"];function a(fe){return fe&&fe.__esModule?fe:{default:fe}}function o(fe,le){if(fe==null)return{};var ye=l(fe,le),ae,Se;if(Object.getOwnPropertySymbols){var he=Object.getOwnPropertySymbols(fe);for(Se=0;Se=0)&&Object.prototype.propertyIsEnumerable.call(fe,ae)&&(ye[ae]=fe[ae])}return ye}function l(fe,le){if(fe==null)return{};var ye={},ae=Object.keys(fe),Se,he;for(he=0;he=0)&&(ye[Se]=fe[Se]);return ye}function c(fe){"@babel/helpers - typeof";return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(le){return typeof le}:function(le){return le&&typeof Symbol=="function"&&le.constructor===Symbol&&le!==Symbol.prototype?"symbol":typeof le},c(fe)}function d(fe){return g(fe)||p(fe)||_(fe)||f()}function f(){throw new TypeError(`Invalid attempt to spread non-iterable instance. + */var Gin=hs.applyAttr=MEe,Yin=hs.applyProp=FEe,Zin=hs.attributes=o_,Xin=hs.close=GEe,Kin=hs.currentElement=$in,Jin=hs.currentPointer=Bin,esn=hs.open=VEe,ZEe=hs.patch=HEe,tsn=hs.patchInner=HEe,nsn=hs.patchOuter=Pin,rsn=hs.skip=Uin,isn=hs.skipNode=rZ,ssn=hs.getKey=Cin,asn=hs.clearCache=UEe,osn=hs.importNode=BEe,lsn=hs.isDataInitialized=Ain,usn=hs.notifications=tT,csn=hs.symbols=eZ,dsn=hs.attr=jin,fsn=hs.elementClose=YEe,hsn=hs.elementOpen=iZ,psn=hs.elementOpenEnd=Win,msn=hs.elementOpenStart=Hin,gsn=hs.elementVoid=Qin,bsn=hs.text=Vin,ysn=hs.key=qin;const vsn=fU({__proto__:null,applyAttr:Gin,applyProp:Yin,attr:dsn,attributes:Zin,clearCache:asn,close:Xin,currentElement:Kin,currentPointer:Jin,default:hs,elementClose:fsn,elementOpen:hsn,elementOpenEnd:psn,elementOpenStart:msn,elementVoid:gsn,getKey:ssn,importNode:osn,isDataInitialized:lsn,key:ysn,notifications:usn,open:esn,patch:ZEe,patchInner:tsn,patchOuter:nsn,skip:rsn,skipNode:isn,symbols:csn,text:bsn},[hs]),XEe=new mf({html:!0,linkify:!0,breaks:!0,highlight:(e,t)=>{try{return`
${q2t(Te.highlight(e,t))}
`}catch(n){return console.error(`Error highlighting code with language '${t}':`,n),`
${XEe.utils.escapeHtml(e)}
`}}}).use(din).use(Wrn,vsn,{incrementalizeDefaultRules:!1}).use(ewt).use(Xrn),hoe=()=>{const e=cA(),t=ei(xm),[n,r]=Y.useState(""),i=Y.useRef(null);return Y.useEffect(()=>{if(!t.doc)return;const s=()=>{var l,c;const o=((c=(l=t.doc)==null?void 0:l.getRoot().content)==null?void 0:c.toString())||"";r(uOe(o))};s();const a=t.doc.subscribe("$.content",()=>{s()});return()=>{a(),r("")}},[t.doc]),Y.useEffect(()=>{i.current!=null&&ZEe(i.current,XEe.renderToIncrementalDOM(n))},[n]),t!=null&&t.doc?U.jsx("div",{ref:i,"data-color-mode":e,style:{paddingBottom:"2rem"},className:"markdown-preview"}):U.jsx(Rr,{direction:"row",justifyContent:"center",children:U.jsx(dh,{sx:{mt:2}})})};function KEe(){const e=ei(xm),t=srt(),n=ei(Fy);return!e.doc||!e.client?U.jsx(wE,{open:!0,children:U.jsx(dh,{color:"inherit"})}):U.jsxs(U.Fragment,{children:[e.mode===JS.BOTH&&U.jsx(crt,{axis:"x",initial:t/2,min:400,children:({position:r,separatorProps:i})=>U.jsx(RF.ScrollSync,{enabled:!n.disableScrollSync,children:U.jsxs("div",{id:"wrapper",style:{display:"flex",height:"100%",overflow:"hidden",position:"relative"},children:[U.jsx("div",{id:"left-block",style:{width:r,position:"relative",height:"100%"},children:U.jsx(Aae,{width:r})}),U.jsx(Ko,{id:"splitter",...i,sx:{height:"100%",width:8,borderRadius:0,cursor:"col-resize",zIndex:0}}),U.jsx(RF.ScrollSyncPane,{children:U.jsx("div",{className:"right-block",style:{width:`calc(100% - ${r}px)`,overflow:"auto"},children:U.jsx(ha,{sx:{p:4},height:"100%",children:U.jsx(hoe,{})})})})]})})}),e.mode===JS.EDIT&&U.jsx("div",{style:{position:"relative",height:"100%"},children:U.jsx(Aae,{width:"100%"})}),e.mode===JS.READ&&U.jsx(ha,{sx:{p:4,overflow:"auto"},height:"100%",children:U.jsx(hoe,{})})]})}var JEe={exports:{}},e2e={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},t2e={exports:{}},Ssn=function(t){return!t||typeof t=="string"?!1:t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&t.constructor.name!=="String")},Osn=Ssn,Esn=Array.prototype.concat,wsn=Array.prototype.slice,poe=t2e.exports=function(t){for(var n=[],r=0,i=t.length;r=4&&e[3]!==1&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"};id.to.keyword=function(e){return r2e[e.slice(0,3)]};function s1(e,t,n){return Math.min(Math.max(t,e),n)}function S3(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}var Tsn=JEe.exports;const l_=e2e,i2e={};for(const e of Object.keys(l_))i2e[l_[e]]=e;const tr={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var s2e=tr;for(const e of Object.keys(tr)){if(!("channels"in tr[e]))throw new Error("missing channels property: "+e);if(!("labels"in tr[e]))throw new Error("missing channel labels property: "+e);if(tr[e].labels.length!==tr[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=tr[e];delete tr[e].channels,delete tr[e].labels,Object.defineProperty(tr[e],"channels",{value:t}),Object.defineProperty(tr[e],"labels",{value:n})}tr.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),s=Math.max(t,n,r),a=s-i;let o,l;s===i?o=0:t===s?o=(n-r)/a:n===s?o=2+(r-t)/a:r===s&&(o=4+(t-n)/a),o=Math.min(o*60,360),o<0&&(o+=360);const c=(i+s)/2;return s===i?l=0:c<=.5?l=a/(s+i):l=a/(2-s-i),[o,l*100,c*100]};tr.rgb.hsv=function(e){let t,n,r,i,s;const a=e[0]/255,o=e[1]/255,l=e[2]/255,c=Math.max(a,o,l),d=c-Math.min(a,o,l),f=function(p){return(c-p)/6/d+1/2};return d===0?(i=0,s=0):(s=d/c,t=f(a),n=f(o),r=f(l),a===c?i=r-n:o===c?i=1/3+t-r:l===c&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[i*360,s*100,c*100]};tr.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const i=tr.rgb.hsl(e)[0],s=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[i,s*100,r*100]};tr.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-n,1-r),s=(1-t-i)/(1-i)||0,a=(1-n-i)/(1-i)||0,o=(1-r-i)/(1-i)||0;return[s*100,a*100,o*100,i*100]};function ksn(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}tr.rgb.keyword=function(e){const t=i2e[e];if(t)return t;let n=1/0,r;for(const i of Object.keys(l_)){const s=l_[i],a=ksn(e,s);a.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const i=t*.4124+n*.3576+r*.1805,s=t*.2126+n*.7152+r*.0722,a=t*.0193+n*.1192+r*.9505;return[i*100,s*100,a*100]};tr.rgb.lab=function(e){const t=tr.rgb.xyz(e);let n=t[0],r=t[1],i=t[2];n/=95.047,r/=100,i/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;const s=116*r-16,a=500*(n-r),o=200*(r-i);return[s,a,o]};tr.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let i,s,a;if(n===0)return a=r*255,[a,a,a];r<.5?i=r*(1+n):i=r+n-r*n;const o=2*r-i,l=[0,0,0];for(let c=0;c<3;c++)s=t+1/3*-(c-1),s<0&&s++,s>1&&s--,6*s<1?a=o+(i-o)*6*s:2*s<1?a=i:3*s<2?a=o+(i-o)*(2/3-s)*6:a=o,l[c]=a*255;return l};tr.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,i=n;const s=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,i*=s<=1?s:2-s;const a=(r+n)/2,o=r===0?2*i/(s+i):2*n/(r+n);return[t,o*100,a*100]};tr.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const i=Math.floor(t)%6,s=t-Math.floor(t),a=255*r*(1-n),o=255*r*(1-n*s),l=255*r*(1-n*(1-s));switch(r*=255,i){case 0:return[r,l,a];case 1:return[o,r,a];case 2:return[a,r,l];case 3:return[a,o,r];case 4:return[l,a,r];case 5:return[r,a,o]}};tr.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,i=Math.max(r,.01);let s,a;a=(2-n)*r;const o=(2-n)*i;return s=n*i,s/=o<=1?o:2-o,s=s||0,a/=2,[t,s*100,a*100]};tr.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const i=n+r;let s;i>1&&(n/=i,r/=i);const a=Math.floor(6*t),o=1-r;s=6*t-a,a&1&&(s=1-s);const l=n+s*(o-n);let c,d,f;switch(a){default:case 6:case 0:c=o,d=l,f=n;break;case 1:c=l,d=o,f=n;break;case 2:c=n,d=o,f=l;break;case 3:c=n,d=l,f=o;break;case 4:c=l,d=n,f=o;break;case 5:c=o,d=n,f=l;break}return[c*255,d*255,f*255]};tr.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100,s=1-Math.min(1,t*(1-i)+i),a=1-Math.min(1,n*(1-i)+i),o=1-Math.min(1,r*(1-i)+i);return[s*255,a*255,o*255]};tr.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let i,s,a;return i=t*3.2406+n*-1.5372+r*-.4986,s=t*-.9689+n*1.8758+r*.0415,a=t*.0557+n*-.204+r*1.057,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),a=Math.min(Math.max(0,a),1),[i*255,s*255,a*255]};tr.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const i=116*n-16,s=500*(t-n),a=200*(n-r);return[i,s,a]};tr.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let i,s,a;s=(t+16)/116,i=n/500+s,a=s-r/200;const o=s**3,l=i**3,c=a**3;return s=o>.008856?o:(s-16/116)/7.787,i=l>.008856?l:(i-16/116)/7.787,a=c>.008856?c:(a-16/116)/7.787,i*=95.047,s*=100,a*=108.883,[i,s,a]};tr.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let i;i=Math.atan2(r,n)*360/2/Math.PI,i<0&&(i+=360);const a=Math.sqrt(n*n+r*r);return[t,a,i]};tr.lch.lab=function(e){const t=e[0],n=e[1],i=e[2]/360*2*Math.PI,s=n*Math.cos(i),a=n*Math.sin(i);return[t,s,a]};tr.rgb.ansi16=function(e,t=null){const[n,r,i]=e;let s=t===null?tr.rgb.hsv(e)[2]:t;if(s=Math.round(s/50),s===0)return 30;let a=30+(Math.round(i/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return s===2&&(a+=60),a};tr.hsv.ansi16=function(e){return tr.rgb.ansi16(tr.hsv.rgb(e),e[2])};tr.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};tr.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,i=(t>>1&1)*n*255,s=(t>>2&1)*n*255;return[r,i,s]};tr.ansi256.rgb=function(e){if(e>=232){const s=(e-232)*10+8;return[s,s,s]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,i=t%6/5*255;return[n,r,i]};tr.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};tr.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(o=>o+o).join(""));const r=parseInt(n,16),i=r>>16&255,s=r>>8&255,a=r&255;return[i,s,a]};tr.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,n),r),s=Math.min(Math.min(t,n),r),a=i-s;let o,l;return a<1?o=s/(1-a):o=0,a<=0?l=0:i===t?l=(n-r)/a%6:i===n?l=2+(r-t)/a:l=4+(t-n)/a,l/=6,l%=1,[l*360,a*100,o*100]};tr.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let i=0;return r<1&&(i=(n-.5*r)/(1-r)),[e[0],r*100,i*100]};tr.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],r*100,i*100]};tr.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const i=[0,0,0],s=t%1*6,a=s%1,o=1-a;let l=0;switch(Math.floor(s)){case 0:i[0]=1,i[1]=a,i[2]=0;break;case 1:i[0]=o,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=a;break;case 3:i[0]=0,i[1]=o,i[2]=1;break;case 4:i[0]=a,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=o}return l=(1-n)*r,[(n*i[0]+l)*255,(n*i[1]+l)*255,(n*i[2]+l)*255]};tr.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let i=0;return r>0&&(i=t/r),[e[0],i*100,r*100]};tr.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let i=0;return r>0&&r<.5?i=t/(2*r):r>=.5&&r<1&&(i=t/(2*(1-r))),[e[0],i*100,r*100]};tr.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};tr.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,i=r-t;let s=0;return i<1&&(s=(r-i)/(1-i)),[e[0],i*100,s*100]};tr.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};tr.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};tr.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};tr.gray.hsl=function(e){return[0,0,e[0]]};tr.gray.hsv=tr.gray.hsl;tr.gray.hwb=function(e){return[0,100,e[0]]};tr.gray.cmyk=function(e){return[0,0,0,e[0]]};tr.gray.lab=function(e){return[e[0],0,0]};tr.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};tr.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const $I=s2e;function _sn(){const e={},t=Object.keys($I);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function Lsn(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const i=e(n);if(typeof i=="object")for(let s=i.length,a=0;a{hS[e]={},Object.defineProperty(hS[e],"channels",{value:sU[e].channels}),Object.defineProperty(hS[e],"labels",{value:sU[e].labels});const t=Dsn(e);Object.keys(t).forEach(r=>{const i=t[r];hS[e][r]=Lsn(i),hS[e][r].raw=Psn(i)})});var Msn=hS;const pS=Tsn,Xc=Msn,a2e=["keyword","gray","hex"],aU={};for(const e of Object.keys(Xc))aU[[...Xc[e].labels].sort().join("")]=e;const BI={};function Vo(e,t){if(!(this instanceof Vo))return new Vo(e,t);if(t&&t in a2e&&(t=null),t&&!(t in Xc))throw new Error("Unknown model: "+t);let n,r;if(e==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof Vo)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if(typeof e=="string"){const i=pS.get(e);if(i===null)throw new Error("Unable to parse color from string: "+e);this.model=i.model,r=Xc[this.model].channels,this.color=i.value.slice(0,r),this.valpha=typeof i.value[r]=="number"?i.value[r]:1}else if(e.length>0){this.model=t||"rgb",r=Xc[this.model].channels;const i=Array.prototype.slice.call(e,0,r);this.color=oU(i,r),this.valpha=typeof e[r]=="number"?e[r]:1}else if(typeof e=="number")this.model="rgb",this.color=[e>>16&255,e>>8&255,e&255],this.valpha=1;else{this.valpha=1;const i=Object.keys(e);"alpha"in e&&(i.splice(i.indexOf("alpha"),1),this.valpha=typeof e.alpha=="number"?e.alpha:0);const s=i.sort().join("");if(!(s in aU))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=aU[s];const{labels:a}=Xc[this.model],o=[];for(n=0;n(e%360+360)%360),saturationl:Ia("hsl",1,So(100)),lightness:Ia("hsl",2,So(100)),saturationv:Ia("hsv",1,So(100)),value:Ia("hsv",2,So(100)),chroma:Ia("hcg",1,So(100)),gray:Ia("hcg",2,So(100)),white:Ia("hwb",1,So(100)),wblack:Ia("hwb",2,So(100)),cyan:Ia("cmyk",0,So(100)),magenta:Ia("cmyk",1,So(100)),yellow:Ia("cmyk",2,So(100)),black:Ia("cmyk",3,So(100)),x:Ia("xyz",0,So(95.047)),y:Ia("xyz",1,So(100)),z:Ia("xyz",2,So(108.833)),l:Ia("lab",0,So(100)),a:Ia("lab",1),b:Ia("lab",2),keyword(e){return e!==void 0?new Vo(e):Xc[this.model].keyword(this.color)},hex(e){return e!==void 0?new Vo(e):pS.to.hex(this.rgb().round().color)},hexa(e){if(e!==void 0)return new Vo(e);const t=this.rgb().round().color;let n=Math.round(this.valpha*255).toString(16).toUpperCase();return n.length===1&&(n="0"+n),pS.to.hex(t)+n},rgbNumber(){const e=this.rgb().color;return(e[0]&255)<<16|(e[1]&255)<<8|e[2]&255},luminosity(){const e=this.rgb().color,t=[];for(const[n,r]of e.entries()){const i=r/255;t[n]=i<=.04045?i/12.92:((i+.055)/1.055)**2.4}return .2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){const t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level(e){const t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(e[0]*2126+e[1]*7152+e[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){const t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){const t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){const t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){const t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){const t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){const t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){const e=this.rgb().color,t=e[0]*.3+e[1]*.59+e[2]*.11;return Vo.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const t=this.hsl();let n=t.color[0];return n=(n+e)%360,n=n<0?360+n:n,t.color[0]=n,t},mix(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const n=e.rgb(),r=this.rgb(),i=t===void 0?.5:t,s=2*i-1,a=n.alpha()-r.alpha(),o=((s*a===-1?s:(s+a)/(1+s*a))+1)/2,l=1-o;return Vo.rgb(o*n.red()+l*r.red(),o*n.green()+l*r.green(),o*n.blue()+l*r.blue(),n.alpha()*i+r.alpha()*(1-i))}};for(const e of Object.keys(Xc)){if(a2e.includes(e))continue;const{channels:t}=Xc[e];Vo.prototype[e]=function(...n){return this.model===e?new Vo(this):n.length>0?new Vo(n,e):new Vo([...Bsn(Xc[this.model][e].raw(this.color)),this.valpha],e)},Vo[e]=function(...n){let r=n[0];return typeof r=="number"&&(r=oU(n,t)),new Vo(r,e)}}function Fsn(e,t){return Number(e.toFixed(t))}function $sn(e){return function(t){return Fsn(t,e)}}function Ia(e,t,n){e=Array.isArray(e)?e:[e];for(const r of e)(BI[r]||(BI[r]=[]))[t]=n;return e=e[0],function(r){let i;return r!==void 0?(n&&(r=n(r)),i=this[e](),i.color[t]=r,i):(i=this[e]().color[t],n&&(i=n(i)),i)}}function So(e){return function(t){return Math.max(0,Math.min(e,t))}}function Bsn(e){return Array.isArray(e)?e:[e]}function oU(e,t){for(let n=0;nse.length;){var fe=s(B);n!==null&&(B.seed=n),se.push(fe)}return B.count=ie,se}return j=a(B),F=o(j,B),V=l(j,F,B),c([j,F,V],B)};function a(B){if(i.length>0){var j=$(B.hue),F=b(j),V=(j[1]-j[0])/i.length,ie=parseInt((F-j[0])/V);i[ie]===!0?ie=(ie+2)%i.length:i[ie]=!0;var se=(j[0]+ie*V)%359,me=(j[0]+(ie+1)*V)%359;return j=[se,me],F=b(j),F<0&&(F=360+F),F}else{var j=f(B.hue);return F=b(j),F<0&&(F=360+F),F}}function o(B,j){if(j.hue==="monochrome")return 0;if(j.luminosity==="random")return b([0,100]);var F=p(B),V=F[0],ie=F[1];switch(j.luminosity){case"bright":V=55;break;case"dark":V=ie-10;break;case"light":ie=55;break}return b([V,ie])}function l(B,j,F){var V=d(B,j),ie=100;switch(F.luminosity){case"dark":ie=V+20;break;case"light":V=(ie+V)/2;break;case"random":V=0,ie=100;break}return b([V,ie])}function c(B,j){switch(j.format){case"hsvArray":return B;case"hslArray":return I(B);case"hsl":var F=I(B);return"hsl("+F[0]+", "+F[1]+"%, "+F[2]+"%)";case"hsla":var V=I(B),me=j.alpha||Math.random();return"hsla("+V[0]+", "+V[1]+"%, "+V[2]+"%, "+me+")";case"rgbArray":return _(B);case"rgb":var ie=_(B);return"rgb("+ie.join(", ")+")";case"rgba":var se=_(B),me=j.alpha||Math.random();return"rgba("+se.join(", ")+", "+me+")";default:return w(B)}}function d(B,j){for(var F=g(B).lowerBounds,V=0;V=ie&&j<=me){var le=(fe-se)/(me-ie),ye=se-le*ie;return le*j+ye}}return 0}function f(B){if(typeof parseInt(B)=="number"){var j=parseInt(B);if(j<360&&j>0)return[j,j]}if(typeof B=="string"){if(r[B]){var F=r[B];if(F.hueRange)return F.hueRange}else if(B.match(/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i)){var V=C(B)[0];return[V,V]}}return[0,360]}function p(B){return g(B).saturationRange}function g(B){B>=334&&B<=360&&(B-=360);for(var j in r){var F=r[j];if(F.hueRange&&B>=F.hueRange[0]&&B<=F.hueRange[1])return r[j]}return"Color not found"}function b(B){if(n===null){var j=.618033988749895,F=Math.random();return F+=j,F%=1,Math.floor(B[0]+F*(B[1]+1-B[0]))}else{var V=B[1]||1,ie=B[0]||0;n=(n*9301+49297)%233280;var se=n/233280;return Math.floor(ie+se*(V-ie))}}function w(B){var j=_(B);function F(ie){var se=ie.toString(16);return se.length==1?"0"+se:se}var V="#"+F(j[0])+F(j[1])+F(j[2]);return V}function x(B,j,F){var V=F[0][0],ie=F[F.length-1][0],se=F[F.length-1][1],me=F[0][1];r[B]={hueRange:j,lowerBounds:F,saturationRange:[V,ie],brightnessRange:[se,me]}}function T(){x("monochrome",null,[[0,0],[100,0]]),x("red",[-26,18],[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]),x("orange",[18,46],[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]),x("yellow",[46,62],[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]),x("green",[62,178],[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]),x("blue",[178,257],[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]),x("purple",[257,282],[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]),x("pink",[282,334],[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]])}function _(B){var j=B[0];j===0&&(j=1),j===360&&(j=359),j=j/360;var F=B[1]/100,V=B[2]/100,ie=Math.floor(j*6),se=j*6-ie,me=V*(1-F),fe=V*(1-se*F),le=V*(1-(1-se)*F),ye=256,ae=256,Se=256;switch(ie){case 0:ye=V,ae=le,Se=me;break;case 1:ye=fe,ae=V,Se=me;break;case 2:ye=me,ae=V,Se=le;break;case 3:ye=me,ae=fe,Se=V;break;case 4:ye=le,ae=me,Se=V;break;case 5:ye=V,ae=me,Se=fe;break}var he=[Math.floor(ye*255),Math.floor(ae*255),Math.floor(Se*255)];return he}function C(B){B=B.replace(/^#/,""),B=B.length===3?B.replace(/(.)/g,"$1$1"):B;var j=parseInt(B.substr(0,2),16)/255,F=parseInt(B.substr(2,2),16)/255,V=parseInt(B.substr(4,2),16)/255,ie=Math.max(j,F,V),se=ie-Math.min(j,F,V),me=ie?se/ie:0;switch(ie){case j:return[60*((F-V)/se%6)||0,me,ie];case F:return[60*((V-j)/se+2)||0,me,ie];case V:return[60*((j-F)/se+4)||0,me,ie]}}function I(B){var j=B[0],F=B[1]/100,V=B[2]/100,ie=(2-F)*V;return[j,Math.round(F*V/(ie<1?ie:2-ie)*1e4)/100,ie/2*100]}function M(B){for(var j=0,F=0;F!==B.length&&!(j>=Number.MAX_SAFE_INTEGER);F++)j+=B.charCodeAt(F);return j}function $(B){if(isNaN(B)){if(typeof B=="string"){if(r[B]){var F=r[B];if(F.hueRange)return F.hueRange}else if(B.match(/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i)){var V=C(B)[0];return g(V).hueRange}}}else{var j=parseInt(B);if(j<360&&j>0)return g(B).hueRange}return[0,360]}return s})})(lU,lU.exports);var Hsn=lU.exports;const qsn=mc(Hsn),jsn="https://api.yorkie.dev",Wsn="cbovg64qfu96agb5i0fg";wI.setLogLevel(4);const o2e=(e,t)=>{const[n]=RH(),r=ei(V_),[i,s]=Y.useState(null),[a,o]=Y.useState(null),l=Y.useCallback(()=>{const p=n.get("token");return p?`share:${p}`:`default:${r.accessToken}`},[r.accessToken,n]),c=Y.useCallback(async p=>{const g=Number(n.get("syncLoopDuration"))||200,b=new wI.Client(jsn,{apiKey:Wsn,token:p,syncLoopDuration:g});return await b.activate(),b},[n]),d=Y.useCallback((p,g,b)=>{const w=new wI.Document(g,{enableDevtools:!1});return p.attach(w,{initialPresence:{name:b,color:zsn(qsn()).fade(.15).toString(),selection:null,cursor:null}})},[]),f=Y.useCallback(async()=>{if(!(!i||!a))try{await i.detach(a),await i.deactivate()}catch(p){console.error("Error during Yorkie cleanup:",p)}},[i,a]);return Y.useEffect(()=>{let p=!0;return!e||!t||a||i?void 0:((async()=>{try{const b=l(),w=await c(b),x=await d(w,e,t);if(!p){await w.detach(x),await w.deactivate();return}s(w),o(x),window.doc=x}catch(b){console.error("Error initializing Yorkie: ",b)}})(),()=>{p=!1})},[t,e,a,i,l,c,d]),Y.useEffect(()=>()=>{f()},[f]),{client:i,doc:a}};function Qsn(){var c;const e=gc(),t=k1(),n=ei($E),{data:r,isLoading:i}=oj(t.workspaceSlug),{data:s,isLoading:a}=TYe(r==null?void 0:r.id,t.documentId),{doc:o,client:l}=o2e(s==null?void 0:s.yorkieDocumentId,(c=n.data)==null?void 0:c.nickname);return Y.useEffect(()=>{if(!(!o||!l))return e(L5(o)),e(M5(l)),()=>{e(L5(null)),e(M5(null))}},[e,l,o]),a||i?U.jsx(wE,{open:!0,children:U.jsx(dh,{color:"inherit"})}):U.jsx(ha,{height:"calc(100% - 64px)",children:U.jsx(KEe,{})})}const Vsn=e=>["documents","share",e],Gsn=e=>{const t=gc(),n=PE({queryKey:Vsn(e||""),enabled:!!e,queryFn:async()=>(await kr.get("/documents/share",{params:{token:e}})).data,meta:{errorMessage:"This is a non-existent or expired document."}});return Y.useEffect(()=>(n.data&&t(F5(n.data)),()=>{t(F5(null))}),[t,n.data]),n};function Ysn(){var l;const e=gc(),t=T1(),[n]=RH(),r=ei($E),i=Y.useMemo(()=>n.get("token"),[n]),{data:s}=Gsn(i),{doc:a,client:o}=o2e(s==null?void 0:s.yorkieDocumentId,((l=r.data)==null?void 0:l.nickname)??"Anonymous");return Y.useEffect(()=>{s!=null&&s.role&&(e(Yje(s.role)),s.role===eE.READ&&e(R9(JS.READ)))},[e,s==null?void 0:s.role]),Y.useEffect(()=>{if(!(!a||!o))return e(L5(a)),e(M5(o)),()=>{e(L5(null)),e(M5(null))}},[e,o,a]),i?U.jsx(ha,{height:"calc(100% - 64px)",children:U.jsx(KEe,{})}):U.jsx(CH,{to:"/",state:{from:t},replace:!0})}function Zsn(){const e=k1(),t=Sf(),{mutateAsync:n}=Unt();return Y.useEffect(()=>{e.invitationToken&&n({invitationToken:e.invitationToken}).then(r=>{t(`/${r.slug}`)})},[n,t,e.invitationToken]),U.jsx(wE,{open:!0,children:U.jsx(dh,{color:"inherit"})})}const Xsn=e=>["workspaces",e,"users"],Ksn=e=>bH({queryKey:Xsn(e||""),queryFn:async({pageParam:t})=>(await kr.get(`/workspaces/${e}/users`,{params:{cursor:t}})).data,enabled:!!e,initialPageParam:void 0,getPreviousPageParam:t=>t.cursor??void 0,getNextPageParam:t=>t.cursor??void 0});function Jsn(e){var d;const{open:t,onClose:n}=e,r=ei(wD),{mutateAsync:i}=Bnt(((d=r.data)==null?void 0:d.id)||""),{enqueueSnackbar:s}=FE(),[a,o]=Y.useState(null),l=async f=>{let p;if(f.expiredString===eO[0])p=null;else{const[b,w]=f.expiredString.split(" ");p=An().add(Number(b),w).toDate()}const{invitationToken:g}=await i({expiredAt:p});o(`${window.location.origin}/join/${g}`)},c=async()=>{a&&(await My.write(a),s("URL Copied!",{variant:"success"}))};return U.jsx(xE,{open:t,disableAutoFocus:!0,onClose:n,children:U.jsxs(Ko,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",p:4,width:538},children:[U.jsx(Gl,{sx:{position:"absolute",top:28,right:28},onClick:n,children:U.jsx(VH,{})}),U.jsxs(Rr,{gap:4,children:[U.jsxs(Rr,{children:[U.jsx(fi,{variant:"h5",fontWeight:"bold",children:"Add Members"}),U.jsx(fi,{children:"Generate and share the link."})]}),U.jsx(Rr,{gap:1,children:U.jsx(yf,{children:U.jsx(BE,{defaultValues:{expiredString:eO[0]},onSuccess:l,children:U.jsxs(Rr,{gap:2,children:[U.jsx(C9,{label:"Expired Date",name:"expiredString",options:eO.map(f=>({id:f,label:f})),size:"small",sx:{width:1}}),U.jsx(yl,{type:"submit",variant:"contained",children:"Generate"})]})})})}),U.jsxs(Rr,{gap:1,children:[U.jsx(fi,{variant:"h6",fontWeight:"bold",children:"Invite Link"}),U.jsx(ha,{height:40,children:a?U.jsxs(Rr,{direction:"row",alignItems:"center",gap:2,children:[U.jsx(fi,{variant:"body1",children:a}),U.jsx(Fg,{title:"Copy URL",children:U.jsx(Gl,{onClick:c,children:U.jsx(GH,{})})})]}):U.jsx(fi,{mx:"auto",children:"No link has been generated."})})]})]})]})})}function ean(){const e=k1(),{data:t}=oj(e.workspaceSlug),{data:n,fetchNextPage:r,hasNextPage:i}=Ksn(t==null?void 0:t.id),[s,a]=Y.useState(!1),o=Y.useMemo(()=>(n==null?void 0:n.pages.reduce((c,d)=>c.concat(d.workspaceUsers),[]))??[],[n==null?void 0:n.pages]),l=()=>{a(c=>!c)};return U.jsxs(Hz,{maxWidth:"lg",children:[U.jsxs(Rr,{gap:4,children:[U.jsxs(Rr,{direction:"row",justifyContent:"space-between",alignItems:"center",px:2,children:[U.jsxs(fi,{variant:"h5",fontWeight:"bold",children:[t==null?void 0:t.title," ",U.jsx(fi,{component:"span",variant:"inherit",color:"primary",children:n==null?void 0:n.pages[0].workspaceUsers.length})]}),U.jsx(yl,{variant:"contained",startIcon:U.jsx(QH,{}),onClick:l,children:"Add Members"})]}),U.jsxs(WPe,{component:ha,children:[U.jsx(oy,{}),U.jsx(Vk,{pageStart:0,loadMore:()=>r(),hasMore:i,loader:U.jsx(ha,{className:"loader",children:U.jsx(dh,{size:"sm"})},0),useWindow:!1,style:{width:"100%"},children:U.jsxs(DPe,{children:[U.jsx(ZPe,{children:U.jsxs(DJ,{children:[U.jsx(Hv,{children:"Name"}),U.jsx(Hv,{children:"Role"}),U.jsx(Hv,{})]})}),U.jsx(FPe,{style:{maxHeight:"100%",overflow:"auto"},children:o.map(c=>U.jsxs(DJ,{sx:{width:"100%"},children:[U.jsx(Hv,{component:"th",scope:"row",children:c.nickname}),U.jsx(Hv,{children:"-"}),U.jsx(Hv,{children:"-"})]},c.id))})]})})]})]}),U.jsx(Jsn,{open:s,onClose:l})]})}const tan=[{path:"",accessType:2,element:U.jsx(Nnt,{}),children:[{path:"",element:U.jsx(Vnt,{})}]},{path:":workspaceSlug",accessType:1,element:U.jsx(jnt,{}),children:[{path:"",element:U.jsx(Knt,{})},{path:"member",element:U.jsx(ean,{})}]},{path:":workspaceSlug",element:U.jsx(Dnt,{}),children:[{path:":documentId",accessType:1,element:U.jsx(Qsn,{})},{path:":documentId/share",accessType:0,element:U.jsx(Ysn,{})}]},{path:"auth/callback",accessType:2,element:U.jsx(Gnt,{})},{path:"join/:invitationToken",accessType:1,element:U.jsx(Zsn,{})},{path:"/404",accessType:0,element:U.jsx(Ynt,{})},{path:"settings/profile",accessType:1,element:U.jsx(Lnt,{}),children:[{path:"",element:U.jsx(Znt,{})}]}],nan=e=>{const t=n=>(n.accessType===1?n.element=U.jsx(qje,{children:n.element}):n.accessType===2&&(n.element=U.jsx(Hje,{children:n.element})),n);return e.map(n=>(n=t(n),n!=null&&n.children&&(n.children=n.children.map(r=>t(r))),n.errorElement=U.jsx(zje,{}),n))},ran=nan(tan),ian=e=>{var t;return e instanceof Che&&((t=e.response)==null?void 0:t.status)===404},san=e=>{var t;return e instanceof Che&&((t=e.response)==null?void 0:t.status)===500};p$e({dsn:"https://d287d6df8c6f423189266360055e6ca7@o553194.ingest.sentry.io/5680102",release:"codepair@0.1.21",integrations:[new tFe({routingInstrumentation:m$e()})],tracesSampleRate:1});const aan=lHe(ran);kr.defaults.baseURL="https://codepair-api.yorkie.dev";function oan(){return oqe(),null}function lan(){const e=ei(Fy),t=Ece("(prefers-color-scheme: dark)"),n=Y.useMemo(()=>{const s=t?"dark":"light";return B6({typography:{button:{textTransform:"none"}},palette:{mode:e.theme=="default"?s:e.theme}})},[e.theme,t]),r=$qe(),i=Y.useMemo(()=>new R$e({queryCache:new Yfe({onError:s=>{ian(s)||san(s)?window.location.href="/404":r(s)}}),defaultOptions:{queries:{retry:(s,a)=>{var o;return kr.isAxiosError(a)&&((o=a.response)==null?void 0:o.status)===401?!1:s<3}},mutations:{onError:r}}}),[r]);return U.jsx(L$e,{client:i,children:U.jsx(Uje,{children:U.jsxs(lRe,{theme:n,children:[U.jsx(uDe,{}),U.jsx(oan,{}),U.jsx(ha,{minHeight:"100vh",children:U.jsx(bHe,{router:aan})})]})})})}var sZ={},aZ={};aZ.__esModule=!0;aZ.default=dan;function OR(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?OR=function(n){return typeof n}:OR=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},OR(e)}function f8(){}var uan={getItem:f8,setItem:f8,removeItem:f8};function can(e){if((typeof self>"u"?"undefined":OR(self))!=="object"||!(e in self))return!1;try{var t=self[e],n="redux-persist ".concat(e," test");t.setItem(n,"test"),t.getItem(n),t.removeItem(n)}catch{return!1}return!0}function dan(e){var t="".concat(e,"Storage");return can(t)?self[t]:uan}sZ.__esModule=!0;sZ.default=pan;var fan=han(aZ);function han(e){return e&&e.__esModule?e:{default:e}}function pan(e){var t=(0,fan.default)(e);return{getItem:function(r){return new Promise(function(i,s){i(t.getItem(r))})},setItem:function(r,i){return new Promise(function(s,a){s(t.setItem(r,i))})},removeItem:function(r){return new Promise(function(i,s){i(t.removeItem(r))})}}}var l2e=void 0,man=gan(sZ);function gan(e){return e&&e.__esModule?e:{default:e}}var ban=(0,man.default)("local");l2e=ban;var oZ="persist:",u2e="persist/FLUSH",lZ="persist/REHYDRATE",c2e="persist/PAUSE",d2e="persist/PERSIST",f2e="persist/PURGE",h2e="persist/REGISTER",yan=-1;function ER(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ER=function(n){return typeof n}:ER=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},ER(e)}function moe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function van(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ran(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s=0)&&(n[i]=e[i]);return n}var Ian=5e3;function Dan(e,t){var n=e.version!==void 0?e.version:yan;e.debug;var r=e.stateReconciler===void 0?Oan:e.stateReconciler,i=e.getStoredState||xan,s=e.timeout!==void 0?e.timeout:Ian,a=null,o=!1,l=!0,c=function(f){return f._persist.rehydrated&&a&&!l&&a.update(f),f};return function(d,f){var p=d||{},g=p._persist,b=Can(p,["_persist"]),w=b;if(f.type===d2e){var x=!1,T=function(j,F){x||(f.rehydrate(e.key,j,F),x=!0)};if(s&&setTimeout(function(){!x&&T(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))},s),l=!1,a||(a=Ean(e)),g)return L0({},t(w,f),{_persist:g});if(typeof f.rehydrate!="function"||typeof f.register!="function")throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return f.register(e.key),i(e).then(function(B){var j=e.migrate||function(F,V){return Promise.resolve(F)};j(B,n).then(function(F){T(F)},function(F){T(void 0,F)})},function(B){T(void 0,B)}),L0({},t(w,f),{_persist:{version:n,rehydrated:!1}})}else{if(f.type===f2e)return o=!0,f.result(kan(e)),L0({},t(w,f),{_persist:g});if(f.type===u2e)return f.result(a&&a.flush()),L0({},t(w,f),{_persist:g});if(f.type===c2e)l=!0;else if(f.type===lZ){if(o)return L0({},w,{_persist:L0({},g,{rehydrated:!0})});if(f.key===e.key){var _=t(w,f),C=f.payload,I=r!==!1&&C!==void 0?r(C,d,_,e):_,M=L0({},I,{_persist:L0({},g,{rehydrated:!0})});return c(M)}}}if(!g)return t(d,f);var $=t(w,f);return $===w?d:c(L0({},$,{_persist:g}))}}function boe(e){return Lan(e)||Pan(e)||Nan()}function Nan(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function Pan(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function Lan(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&arguments[0]!==void 0?arguments[0]:p2e,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case h2e:return uU({},t,{registry:[].concat(boe(t.registry),[n.key])});case lZ:var r=t.registry.indexOf(n.key),i=boe(t.registry);return i.splice(r,1),uU({},t,{registry:i,bootstrapped:i.length===0});default:return t}};function $an(e,t,n){var r=DH(Fan,p2e,void 0),i=function(l){r.dispatch({type:h2e,key:l})},s=function(l,c,d){var f={type:lZ,payload:c,err:d,key:l};e.dispatch(f),r.dispatch(f)},a=uU({},r,{purge:function(){var l=[];return e.dispatch({type:f2e,result:function(d){l.push(d)}}),Promise.all(l)},flush:function(){var l=[];return e.dispatch({type:u2e,result:function(d){l.push(d)}}),Promise.all(l)},pause:function(){e.dispatch({type:c2e})},persist:function(){e.dispatch({type:d2e,register:i,rehydrate:s})}});return a.persist(),a}const Ban=Zhe({auth:zqe,config:Cnt,user:qqe,editor:Xje,workspace:Jje,document:yWe,setting:sqe}),Uan={key:"root",storage:l2e,whitelist:["auth","config"]},zan=Dan(Uan,Ban),m2e=jHe({reducer:zan,middleware:e=>e({serializableCheck:{ignoredActions:["persist/PERSIST","editor/setDoc","editor/setClient","editor/setCmView"],ignoredPaths:["editor.doc","editor.client","editor.cmView"]},immutableCheck:{ignoredPaths:["editor.doc","editor.client","editor.cmView"]}})});function wR(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?wR=function(n){return typeof n}:wR=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},wR(e)}function Han(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qan(e,t){for(var n=0;n"u"&&(window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)}),(o=window).gtag.apply(o,s)}},n=t;e.default=n})(v2e);var S2e={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var t=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;function n(o){return o.toString().trim().replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,function(l,c,d){return c>0&&c+l.length!==d.length&&l.search(t)>-1&&d.charAt(c-2)!==":"&&(d.charAt(c+l.length)!=="-"||d.charAt(c-1)==="-")&&d.charAt(c-1).search(/[^\s-]/)<0?l.toLowerCase():l.substr(1).search(/[A-Z]|\../)>-1?l:l.charAt(0).toUpperCase()+l.substr(1)})}function r(o){return typeof o=="string"&&o.indexOf("@")!==-1}var i="REDACTED (Potential Email Address)";function s(o){return r(o)?(console.warn("This arg looks like an email address, redacting."),i):o}function a(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,d=o||"";return l&&(d=n(o)),c&&(d=s(d)),d}})(S2e);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.GA4=void 0;var t=a(v2e),n=a(S2e),r=["eventCategory","eventAction","eventLabel","eventValue","hitType"],i=["title","location"],s=["page","hitType"];function a(fe){return fe&&fe.__esModule?fe:{default:fe}}function o(fe,le){if(fe==null)return{};var ye=l(fe,le),ae,Se;if(Object.getOwnPropertySymbols){var he=Object.getOwnPropertySymbols(fe);for(Se=0;Se=0)&&Object.prototype.propertyIsEnumerable.call(fe,ae)&&(ye[ae]=fe[ae])}return ye}function l(fe,le){if(fe==null)return{};var ye={},ae=Object.keys(fe),Se,he;for(he=0;he=0)&&(ye[Se]=fe[Se]);return ye}function c(fe){"@babel/helpers - typeof";return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(le){return typeof le}:function(le){return le&&typeof Symbol=="function"&&le.constructor===Symbol&&le!==Symbol.prototype?"symbol":typeof le},c(fe)}function d(fe){return g(fe)||p(fe)||_(fe)||f()}function f(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function p(fe){if(typeof Symbol<"u"&&fe[Symbol.iterator]!=null||fe["@@iterator"]!=null)return Array.from(fe)}function g(fe){if(Array.isArray(fe))return C(fe)}function b(fe,le){var ye=Object.keys(fe);if(Object.getOwnPropertySymbols){var ae=Object.getOwnPropertySymbols(fe);le&&(ae=ae.filter(function(Se){return Object.getOwnPropertyDescriptor(fe,Se).enumerable})),ye.push.apply(ye,ae)}return ye}function w(fe){for(var le=1;lefe.length)&&(le=fe.length);for(var ye=0,ae=new Array(le);ye2&&arguments[2]!==void 0?arguments[2]:"https://www.googletagmanager.com/gtag/js";if(!(typeof window>"u"||typeof document>"u")&&!le._hasLoadedGA){var he=document.createElement("script");he.async=!0,he.src="".concat(Se,"?id=").concat(ye),ae&&he.setAttribute("nonce",ae),document.body.appendChild(he),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},le._hasLoadedGA=!0}}),F(this,"_toGtagOptions",function(ye){if(ye){var ae={cookieUpdate:"cookie_update",cookieExpires:"cookie_expires",cookieDomain:"cookie_domain",cookieFlags:"cookie_flags",userId:"user_id",clientId:"client_id",anonymizeIp:"anonymize_ip",contentGroup1:"content_group1",contentGroup2:"content_group2",contentGroup3:"content_group3",contentGroup4:"content_group4",contentGroup5:"content_group5",allowAdFeatures:"allow_google_signals",allowAdPersonalizationSignals:"allow_ad_personalization_signals",nonInteraction:"non_interaction",page:"page_path",hitCallback:"event_callback"},Se=Object.entries(ye).reduce(function(he,re){var Fe=x(re,2),je=Fe[0],ue=Fe[1];return ae[je]?he[ae[je]]=ue:he[je]=ue,he},{});return Se}}),F(this,"initialize",function(ye){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ye)throw new Error("Require GA_MEASUREMENT_ID");var Se=typeof ye=="string"?[{trackingId:ye}]:ye;le._currentMeasurementId=Se[0].trackingId;var he=ae.gaOptions,re=ae.gtagOptions,Fe=ae.nonce,je=ae.testMode,ue=je===void 0?!1:je,tt=ae.gtagUrl;if(le._testMode=ue,ue||le._loadGA(le._currentMeasurementId,Fe,tt),le.isInitialized||(le._gtag("js",new Date),Se.forEach(function(qt){var xt=w(w(w({},le._toGtagOptions(w(w({},he),qt.gaOptions))),re),qt.gtagOptions);Object.keys(xt).length?le._gtag("config",qt.trackingId,xt):le._gtag("config",qt.trackingId)})),le.isInitialized=!0,!ue){var St=d(le._queueGtag);for(le._queueGtag=[],le._isQueuing=!1;St.length;){var Ze=St.shift();le._gtag.apply(le,d(Ze)),Ze[0]==="get"&&(le._isQueuing=!0)}}}),F(this,"set",function(ye){if(!ye){console.warn("`fieldsObject` is required in .set()");return}if(c(ye)!=="object"){console.warn("Expected `fieldsObject` arg to be an Object");return}Object.keys(ye).length===0&&console.warn("empty `fieldsObject` given to .set()"),le._gaCommand("set",ye)}),F(this,"_gaCommandSendEvent",function(ye,ae,Se,he,re){le._gtag("event",ae,w(w({event_category:ye,event_label:Se,value:he},re&&{non_interaction:re.nonInteraction}),le._toGtagOptions(re)))}),F(this,"_gaCommandSendEventParameters",function(){for(var ye=arguments.length,ae=new Array(ye),Se=0;Se1?ae-1:0),he=1;hefe.length)&&(le=fe.length);for(var ye=0,ae=new Array(le);ye2&&arguments[2]!==void 0?arguments[2]:"https://www.googletagmanager.com/gtag/js";if(!(typeof window>"u"||typeof document>"u")&&!le._hasLoadedGA){var he=document.createElement("script");he.async=!0,he.src="".concat(Se,"?id=").concat(ye),ae&&he.setAttribute("nonce",ae),document.body.appendChild(he),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},le._hasLoadedGA=!0}}),F(this,"_toGtagOptions",function(ye){if(ye){var ae={cookieUpdate:"cookie_update",cookieExpires:"cookie_expires",cookieDomain:"cookie_domain",cookieFlags:"cookie_flags",userId:"user_id",clientId:"client_id",anonymizeIp:"anonymize_ip",contentGroup1:"content_group1",contentGroup2:"content_group2",contentGroup3:"content_group3",contentGroup4:"content_group4",contentGroup5:"content_group5",allowAdFeatures:"allow_google_signals",allowAdPersonalizationSignals:"allow_ad_personalization_signals",nonInteraction:"non_interaction",page:"page_path",hitCallback:"event_callback"},Se=Object.entries(ye).reduce(function(he,re){var Fe=x(re,2),je=Fe[0],ue=Fe[1];return ae[je]?he[ae[je]]=ue:he[je]=ue,he},{});return Se}}),F(this,"initialize",function(ye){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!ye)throw new Error("Require GA_MEASUREMENT_ID");var Se=typeof ye=="string"?[{trackingId:ye}]:ye;le._currentMeasurementId=Se[0].trackingId;var he=ae.gaOptions,re=ae.gtagOptions,Fe=ae.nonce,je=ae.testMode,ue=je===void 0?!1:je,tt=ae.gtagUrl;if(le._testMode=ue,ue||le._loadGA(le._currentMeasurementId,Fe,tt),le.isInitialized||(le._gtag("js",new Date),Se.forEach(function(qt){var xt=w(w(w({},le._toGtagOptions(w(w({},he),qt.gaOptions))),re),qt.gtagOptions);Object.keys(xt).length?le._gtag("config",qt.trackingId,xt):le._gtag("config",qt.trackingId)})),le.isInitialized=!0,!ue){var St=d(le._queueGtag);for(le._queueGtag=[],le._isQueuing=!1;St.length;){var Ze=St.shift();le._gtag.apply(le,d(Ze)),Ze[0]==="get"&&(le._isQueuing=!0)}}}),F(this,"set",function(ye){if(!ye){console.warn("`fieldsObject` is required in .set()");return}if(c(ye)!=="object"){console.warn("Expected `fieldsObject` arg to be an Object");return}Object.keys(ye).length===0&&console.warn("empty `fieldsObject` given to .set()"),le._gaCommand("set",ye)}),F(this,"_gaCommandSendEvent",function(ye,ae,Se,he,re){le._gtag("event",ae,w(w({event_category:ye,event_label:Se,value:he},re&&{non_interaction:re.nonInteraction}),le._toGtagOptions(re)))}),F(this,"_gaCommandSendEventParameters",function(){for(var ye=arguments.length,ae=new Array(ye),Se=0;Se1?ae-1:0),he=1;he>>1,e=a[d];if(0>>1;dg(C,c))ng(x,C)?(a[d]=x,a[n]=c,d=n):(a[d]=C,a[m]=c,d=m);else if(ng(x,c))a[d]=x,a[n]=c,d=n;else break a}}return b}\nfunction g(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}if(\"object\"===typeof performance&&\"function\"===typeof performance.now){var l=performance;exports.unstable_now=function(){return l.now()}}else{var p=Date,q=p.now();exports.unstable_now=function(){return p.now()-q}}var r=[],t=[],u=1,v=null,y=3,z=!1,A=!1,B=!1,D=\"function\"===typeof setTimeout?setTimeout:null,E=\"function\"===typeof clearTimeout?clearTimeout:null,F=\"undefined\"!==typeof setImmediate?setImmediate:null;\n\"undefined\"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function G(a){for(var b=h(t);null!==b;){if(null===b.callback)k(t);else if(b.startTime<=a)k(t),b.sortIndex=b.expirationTime,f(r,b);else break;b=h(t)}}function H(a){B=!1;G(a);if(!A)if(null!==h(r))A=!0,I(J);else{var b=h(t);null!==b&&K(H,b.startTime-a)}}\nfunction J(a,b){A=!1;B&&(B=!1,E(L),L=-1);z=!0;var c=y;try{G(b);for(v=h(r);null!==v&&(!(v.expirationTime>b)||a&&!M());){var d=v.callback;if(\"function\"===typeof d){v.callback=null;y=v.priorityLevel;var e=d(v.expirationTime<=b);b=exports.unstable_now();\"function\"===typeof e?v.callback=e:v===h(r)&&k(r);G(b)}else k(r);v=h(r)}if(null!==v)var w=!0;else{var m=h(t);null!==m&&K(H,m.startTime-b);w=!1}return w}finally{v=null,y=c,z=!1}}var N=!1,O=null,L=-1,P=5,Q=-1;\nfunction M(){return exports.unstable_now()-Qa||125d?(a.sortIndex=c,f(t,a),null===h(r)&&a===h(t)&&(B?(E(L),L=-1):B=!0,K(H,c-d))):(a.sortIndex=e,f(r,a),A||z||(A=!0,I(J)));return a};\nexports.unstable_shouldYield=M;exports.unstable_wrapCallback=function(a){var b=y;return function(){var c=y;y=b;try{return a.apply(this,arguments)}finally{y=c}}};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n","/**\n * @license React\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/*\n Modernizr 3.0.0pre (Custom Build) | MIT\n*/\n'use strict';var aa=require(\"react\"),ca=require(\"scheduler\");function p(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;cb}return!1}function v(a,b,c,d,e,f,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f;this.removeEmptyString=g}var z={};\n\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(a){z[a]=new v(a,0,!1,a,null,!1,!1)});[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(a){var b=a[0];z[b]=new v(b,1,!1,a[1],null,!1,!1)});[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(a){z[a]=new v(a,2,!1,a.toLowerCase(),null,!1,!1)});\n[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(a){z[a]=new v(a,2,!1,a,null,!1,!1)});\"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\".split(\" \").forEach(function(a){z[a]=new v(a,3,!1,a.toLowerCase(),null,!1,!1)});\n[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(a){z[a]=new v(a,3,!0,a,null,!1,!1)});[\"capture\",\"download\"].forEach(function(a){z[a]=new v(a,4,!1,a,null,!1,!1)});[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(a){z[a]=new v(a,6,!1,a,null,!1,!1)});[\"rowSpan\",\"start\"].forEach(function(a){z[a]=new v(a,5,!1,a.toLowerCase(),null,!1,!1)});var ra=/[\\-:]([a-z])/g;function sa(a){return a[1].toUpperCase()}\n\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach(function(a){var b=a.replace(ra,\nsa);z[b]=new v(b,1,!1,a,null,!1,!1)});\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,!1,a,\"http://www.w3.org/1999/xlink\",!1,!1)});[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,!1,a,\"http://www.w3.org/XML/1998/namespace\",!1,!1)});[\"tabIndex\",\"crossOrigin\"].forEach(function(a){z[a]=new v(a,1,!1,a.toLowerCase(),null,!1,!1)});\nz.xlinkHref=new v(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0,!1);[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(a){z[a]=new v(a,1,!1,a.toLowerCase(),null,!0,!0)});\nfunction ta(a,b,c,d){var e=z.hasOwnProperty(b)?z[b]:null;if(null!==e?0!==e.type:d||!(2h||e[g]!==f[h]){var k=\"\\n\"+e[g].replace(\" at new \",\" at \");a.displayName&&k.includes(\"\")&&(k=k.replace(\"\",a.displayName));return k}while(1<=g&&0<=h)}break}}}finally{Na=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:\"\")?Ma(a):\"\"}\nfunction Pa(a){switch(a.tag){case 5:return Ma(a.type);case 16:return Ma(\"Lazy\");case 13:return Ma(\"Suspense\");case 19:return Ma(\"SuspenseList\");case 0:case 2:case 15:return a=Oa(a.type,!1),a;case 11:return a=Oa(a.type.render,!1),a;case 1:return a=Oa(a.type,!0),a;default:return\"\"}}\nfunction Qa(a){if(null==a)return null;if(\"function\"===typeof a)return a.displayName||a.name||null;if(\"string\"===typeof a)return a;switch(a){case ya:return\"Fragment\";case wa:return\"Portal\";case Aa:return\"Profiler\";case za:return\"StrictMode\";case Ea:return\"Suspense\";case Fa:return\"SuspenseList\"}if(\"object\"===typeof a)switch(a.$$typeof){case Ca:return(a.displayName||\"Context\")+\".Consumer\";case Ba:return(a._context.displayName||\"Context\")+\".Provider\";case Da:var b=a.render;a=a.displayName;a||(a=b.displayName||\nb.name||\"\",a=\"\"!==a?\"ForwardRef(\"+a+\")\":\"ForwardRef\");return a;case Ga:return b=a.displayName||null,null!==b?b:Qa(a.type)||\"Memo\";case Ha:b=a._payload;a=a._init;try{return Qa(a(b))}catch(c){}}return null}\nfunction Ra(a){var b=a.type;switch(a.tag){case 24:return\"Cache\";case 9:return(b.displayName||\"Context\")+\".Consumer\";case 10:return(b._context.displayName||\"Context\")+\".Provider\";case 18:return\"DehydratedFragment\";case 11:return a=b.render,a=a.displayName||a.name||\"\",b.displayName||(\"\"!==a?\"ForwardRef(\"+a+\")\":\"ForwardRef\");case 7:return\"Fragment\";case 5:return b;case 4:return\"Portal\";case 3:return\"Root\";case 6:return\"Text\";case 16:return Qa(b);case 8:return b===za?\"StrictMode\":\"Mode\";case 22:return\"Offscreen\";\ncase 12:return\"Profiler\";case 21:return\"Scope\";case 13:return\"Suspense\";case 19:return\"SuspenseList\";case 25:return\"TracingMarker\";case 1:case 0:case 17:case 2:case 14:case 15:if(\"function\"===typeof b)return b.displayName||b.name||null;if(\"string\"===typeof b)return b}return null}function Sa(a){switch(typeof a){case \"boolean\":case \"number\":case \"string\":case \"undefined\":return a;case \"object\":return a;default:return\"\"}}\nfunction Ta(a){var b=a.type;return(a=a.nodeName)&&\"input\"===a.toLowerCase()&&(\"checkbox\"===b||\"radio\"===b)}\nfunction Ua(a){var b=Ta(a)?\"checked\":\"value\",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=\"\"+a[b];if(!a.hasOwnProperty(b)&&\"undefined\"!==typeof c&&\"function\"===typeof c.get&&\"function\"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=\"\"+a;f.call(this,a)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=\"\"+a},stopTracking:function(){a._valueTracker=\nnull;delete a[b]}}}}function Va(a){a._valueTracker||(a._valueTracker=Ua(a))}function Wa(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d=\"\";a&&(d=Ta(a)?a.checked?\"true\":\"false\":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Xa(a){a=a||(\"undefined\"!==typeof document?document:void 0);if(\"undefined\"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}\nfunction Ya(a,b){var c=b.checked;return A({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}function Za(a,b){var c=null==b.defaultValue?\"\":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=Sa(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:\"checkbox\"===b.type||\"radio\"===b.type?null!=b.checked:null!=b.value}}function ab(a,b){b=b.checked;null!=b&&ta(a,\"checked\",b,!1)}\nfunction bb(a,b){ab(a,b);var c=Sa(b.value),d=b.type;if(null!=c)if(\"number\"===d){if(0===c&&\"\"===a.value||a.value!=c)a.value=\"\"+c}else a.value!==\"\"+c&&(a.value=\"\"+c);else if(\"submit\"===d||\"reset\"===d){a.removeAttribute(\"value\");return}b.hasOwnProperty(\"value\")?cb(a,b.type,c):b.hasOwnProperty(\"defaultValue\")&&cb(a,b.type,Sa(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}\nfunction db(a,b,c){if(b.hasOwnProperty(\"value\")||b.hasOwnProperty(\"defaultValue\")){var d=b.type;if(!(\"submit\"!==d&&\"reset\"!==d||void 0!==b.value&&null!==b.value))return;b=\"\"+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b}c=a.name;\"\"!==c&&(a.name=\"\");a.defaultChecked=!!a._wrapperState.initialChecked;\"\"!==c&&(a.name=c)}\nfunction cb(a,b,c){if(\"number\"!==b||Xa(a.ownerDocument)!==a)null==c?a.defaultValue=\"\"+a._wrapperState.initialValue:a.defaultValue!==\"\"+c&&(a.defaultValue=\"\"+c)}var eb=Array.isArray;\nfunction fb(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e\"+b.valueOf().toString()+\"\";for(b=mb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}});\nfunction ob(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}\nvar pb={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,\nzoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qb=[\"Webkit\",\"ms\",\"Moz\",\"O\"];Object.keys(pb).forEach(function(a){qb.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);pb[b]=pb[a]})});function rb(a,b,c){return null==b||\"boolean\"===typeof b||\"\"===b?\"\":c||\"number\"!==typeof b||0===b||pb.hasOwnProperty(a)&&pb[a]?(\"\"+b).trim():b+\"px\"}\nfunction sb(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf(\"--\"),e=rb(c,b[c],d);\"float\"===c&&(c=\"cssFloat\");d?a.setProperty(c,e):a[c]=e}}var tb=A({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});\nfunction ub(a,b){if(b){if(tb[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML))throw Error(p(137,a));if(null!=b.dangerouslySetInnerHTML){if(null!=b.children)throw Error(p(60));if(\"object\"!==typeof b.dangerouslySetInnerHTML||!(\"__html\"in b.dangerouslySetInnerHTML))throw Error(p(61));}if(null!=b.style&&\"object\"!==typeof b.style)throw Error(p(62));}}\nfunction vb(a,b){if(-1===a.indexOf(\"-\"))return\"string\"===typeof b.is;switch(a){case \"annotation-xml\":case \"color-profile\":case \"font-face\":case \"font-face-src\":case \"font-face-uri\":case \"font-face-format\":case \"font-face-name\":case \"missing-glyph\":return!1;default:return!0}}var wb=null;function xb(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var yb=null,zb=null,Ab=null;\nfunction Bb(a){if(a=Cb(a)){if(\"function\"!==typeof yb)throw Error(p(280));var b=a.stateNode;b&&(b=Db(b),yb(a.stateNode,a.type,b))}}function Eb(a){zb?Ab?Ab.push(a):Ab=[a]:zb=a}function Fb(){if(zb){var a=zb,b=Ab;Ab=zb=null;Bb(a);if(b)for(a=0;a>>=0;return 0===a?32:31-(pc(a)/qc|0)|0}var rc=64,sc=4194304;\nfunction tc(a){switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return a&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;\ndefault:return a}}function uc(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes,f=a.pingedLanes,g=c&268435455;if(0!==g){var h=g&~e;0!==h?d=tc(h):(f&=g,0!==f&&(d=tc(f)))}else g=c&~e,0!==g?d=tc(g):0!==f&&(d=tc(f));if(0===d)return 0;if(0!==b&&b!==d&&0===(b&e)&&(e=d&-d,f=b&-b,e>=f||16===e&&0!==(f&4194240)))return b;0!==(d&4)&&(d|=c&16);b=a.entangledLanes;if(0!==b)for(a=a.entanglements,b&=d;0c;c++)b.push(a);return b}\nfunction Ac(a,b,c){a.pendingLanes|=b;536870912!==b&&(a.suspendedLanes=0,a.pingedLanes=0);a=a.eventTimes;b=31-oc(b);a[b]=c}function Bc(a,b){var c=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.mutableReadLanes&=b;a.entangledLanes&=b;b=a.entanglements;var d=a.eventTimes;for(a=a.expirationTimes;0=be),ee=String.fromCharCode(32),fe=!1;\nfunction ge(a,b){switch(a){case \"keyup\":return-1!==$d.indexOf(b.keyCode);case \"keydown\":return 229!==b.keyCode;case \"keypress\":case \"mousedown\":case \"focusout\":return!0;default:return!1}}function he(a){a=a.detail;return\"object\"===typeof a&&\"data\"in a?a.data:null}var ie=!1;function je(a,b){switch(a){case \"compositionend\":return he(b);case \"keypress\":if(32!==b.which)return null;fe=!0;return ee;case \"textInput\":return a=b.data,a===ee&&fe?null:a;default:return null}}\nfunction ke(a,b){if(ie)return\"compositionend\"===a||!ae&&ge(a,b)?(a=nd(),md=ld=kd=null,ie=!1,a):null;switch(a){case \"paste\":return null;case \"keypress\":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Je(c)}}function Le(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?Le(a,b.parentNode):\"contains\"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}\nfunction Me(){for(var a=window,b=Xa();b instanceof a.HTMLIFrameElement;){try{var c=\"string\"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=Xa(a.document)}return b}function Ne(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&(\"input\"===b&&(\"text\"===a.type||\"search\"===a.type||\"tel\"===a.type||\"url\"===a.type||\"password\"===a.type)||\"textarea\"===b||\"true\"===a.contentEditable)}\nfunction Oe(a){var b=Me(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&Le(c.ownerDocument.documentElement,c)){if(null!==d&&Ne(c))if(b=d.start,a=d.end,void 0===a&&(a=b),\"selectionStart\"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=Ke(c,f);var g=Ke(c,\nd);e&&g&&(1!==a.rangeCount||a.anchorNode!==e.node||a.anchorOffset!==e.offset||a.focusNode!==g.node||a.focusOffset!==g.offset)&&(b=b.createRange(),b.setStart(e.node,e.offset),a.removeAllRanges(),f>d?(a.addRange(b),a.extend(g.node,g.offset)):(b.setEnd(g.node,g.offset),a.addRange(b)))}b=[];for(a=c;a=a.parentNode;)1===a.nodeType&&b.push({element:a,left:a.scrollLeft,top:a.scrollTop});\"function\"===typeof c.focus&&c.focus();for(c=0;c=document.documentMode,Qe=null,Re=null,Se=null,Te=!1;\nfunction Ue(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;Te||null==Qe||Qe!==Xa(d)||(d=Qe,\"selectionStart\"in d&&Ne(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Se&&Ie(Se,d)||(Se=d,d=oe(Re,\"onSelect\"),0Tf||(a.current=Sf[Tf],Sf[Tf]=null,Tf--)}function G(a,b){Tf++;Sf[Tf]=a.current;a.current=b}var Vf={},H=Uf(Vf),Wf=Uf(!1),Xf=Vf;function Yf(a,b){var c=a.type.contextTypes;if(!c)return Vf;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}\nfunction Zf(a){a=a.childContextTypes;return null!==a&&void 0!==a}function $f(){E(Wf);E(H)}function ag(a,b,c){if(H.current!==Vf)throw Error(p(168));G(H,b);G(Wf,c)}function bg(a,b,c){var d=a.stateNode;b=b.childContextTypes;if(\"function\"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw Error(p(108,Ra(a)||\"Unknown\",e));return A({},c,d)}\nfunction cg(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Vf;Xf=H.current;G(H,a);G(Wf,Wf.current);return!0}function dg(a,b,c){var d=a.stateNode;if(!d)throw Error(p(169));c?(a=bg(a,b,Xf),d.__reactInternalMemoizedMergedChildContext=a,E(Wf),E(H),G(H,a)):E(Wf);G(Wf,c)}var eg=null,fg=!1,gg=!1;function hg(a){null===eg?eg=[a]:eg.push(a)}function ig(a){fg=!0;hg(a)}\nfunction jg(){if(!gg&&null!==eg){gg=!0;var a=0,b=C;try{var c=eg;for(C=1;a>=g;e-=g;rg=1<<32-oc(b)+e|c<w?(x=u,u=null):x=u.sibling;var n=r(e,u,h[w],k);if(null===n){null===u&&(u=x);break}a&&u&&null===n.alternate&&b(e,u);g=f(n,g,w);null===m?l=n:m.sibling=n;m=n;u=x}if(w===h.length)return c(e,u),I&&tg(e,w),l;if(null===u){for(;ww?(x=m,m=null):x=m.sibling;var t=r(e,m,n.value,k);if(null===t){null===m&&(m=x);break}a&&m&&null===t.alternate&&b(e,m);g=f(t,g,w);null===u?l=t:u.sibling=t;u=t;m=x}if(n.done)return c(e,\nm),I&&tg(e,w),l;if(null===m){for(;!n.done;w++,n=h.next())n=q(e,n.value,k),null!==n&&(g=f(n,g,w),null===u?l=n:u.sibling=n,u=n);I&&tg(e,w);return l}for(m=d(e,m);!n.done;w++,n=h.next())n=y(m,e,w,n.value,k),null!==n&&(a&&null!==n.alternate&&m.delete(null===n.key?w:n.key),g=f(n,g,w),null===u?l=n:u.sibling=n,u=n);a&&m.forEach(function(a){return b(e,a)});I&&tg(e,w);return l}function J(a,d,f,h){\"object\"===typeof f&&null!==f&&f.type===ya&&null===f.key&&(f=f.props.children);if(\"object\"===typeof f&&null!==f){switch(f.$$typeof){case va:a:{for(var k=\nf.key,l=d;null!==l;){if(l.key===k){k=f.type;if(k===ya){if(7===l.tag){c(a,l.sibling);d=e(l,f.props.children);d.return=a;a=d;break a}}else if(l.elementType===k||\"object\"===typeof k&&null!==k&&k.$$typeof===Ha&&Ng(k)===l.type){c(a,l.sibling);d=e(l,f.props);d.ref=Lg(a,l,f);d.return=a;a=d;break a}c(a,l);break}else b(a,l);l=l.sibling}f.type===ya?(d=Tg(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=Rg(f.type,f.key,f.props,null,a.mode,h),h.ref=Lg(a,d,f),h.return=a,a=h)}return g(a);case wa:a:{for(l=f.key;null!==\nd;){if(d.key===l)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=Sg(f,a.mode,h);d.return=a;a=d}return g(a);case Ha:return l=f._init,J(a,d,l(f._payload),h)}if(eb(f))return n(a,d,f,h);if(Ka(f))return t(a,d,f,h);Mg(a,f)}return\"string\"===typeof f&&\"\"!==f||\"number\"===typeof f?(f=\"\"+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):\n(c(a,d),d=Qg(f,a.mode,h),d.return=a,a=d),g(a)):c(a,d)}return J}var Ug=Og(!0),Vg=Og(!1),Wg=Uf(null),Xg=null,Yg=null,Zg=null;function $g(){Zg=Yg=Xg=null}function ah(a){var b=Wg.current;E(Wg);a._currentValue=b}function bh(a,b,c){for(;null!==a;){var d=a.alternate;(a.childLanes&b)!==b?(a.childLanes|=b,null!==d&&(d.childLanes|=b)):null!==d&&(d.childLanes&b)!==b&&(d.childLanes|=b);if(a===c)break;a=a.return}}\nfunction ch(a,b){Xg=a;Zg=Yg=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(0!==(a.lanes&b)&&(dh=!0),a.firstContext=null)}function eh(a){var b=a._currentValue;if(Zg!==a)if(a={context:a,memoizedValue:b,next:null},null===Yg){if(null===Xg)throw Error(p(308));Yg=a;Xg.dependencies={lanes:0,firstContext:a}}else Yg=Yg.next=a;return b}var fh=null;function gh(a){null===fh?fh=[a]:fh.push(a)}\nfunction hh(a,b,c,d){var e=b.interleaved;null===e?(c.next=c,gh(b)):(c.next=e.next,e.next=c);b.interleaved=c;return ih(a,d)}function ih(a,b){a.lanes|=b;var c=a.alternate;null!==c&&(c.lanes|=b);c=a;for(a=a.return;null!==a;)a.childLanes|=b,c=a.alternate,null!==c&&(c.childLanes|=b),c=a,a=a.return;return 3===c.tag?c.stateNode:null}var jh=!1;function kh(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}\nfunction lh(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects})}function mh(a,b){return{eventTime:a,lane:b,tag:0,payload:null,callback:null,next:null}}\nfunction nh(a,b,c){var d=a.updateQueue;if(null===d)return null;d=d.shared;if(0!==(K&2)){var e=d.pending;null===e?b.next=b:(b.next=e.next,e.next=b);d.pending=b;return ih(a,c)}e=d.interleaved;null===e?(b.next=b,gh(d)):(b.next=e.next,e.next=b);d.interleaved=b;return ih(a,c)}function oh(a,b,c){b=b.updateQueue;if(null!==b&&(b=b.shared,0!==(c&4194240))){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Cc(a,c)}}\nfunction ph(a,b){var c=a.updateQueue,d=a.alternate;if(null!==d&&(d=d.updateQueue,c===d)){var e=null,f=null;c=c.firstBaseUpdate;if(null!==c){do{var g={eventTime:c.eventTime,lane:c.lane,tag:c.tag,payload:c.payload,callback:c.callback,next:null};null===f?e=f=g:f=f.next=g;c=c.next}while(null!==c);null===f?e=f=b:f=f.next=b}else e=f=b;c={baseState:d.baseState,firstBaseUpdate:e,lastBaseUpdate:f,shared:d.shared,effects:d.effects};a.updateQueue=c;return}a=c.lastBaseUpdate;null===a?c.firstBaseUpdate=b:a.next=\nb;c.lastBaseUpdate=b}\nfunction qh(a,b,c,d){var e=a.updateQueue;jh=!1;var f=e.firstBaseUpdate,g=e.lastBaseUpdate,h=e.shared.pending;if(null!==h){e.shared.pending=null;var k=h,l=k.next;k.next=null;null===g?f=l:g.next=l;g=k;var m=a.alternate;null!==m&&(m=m.updateQueue,h=m.lastBaseUpdate,h!==g&&(null===h?m.firstBaseUpdate=l:h.next=l,m.lastBaseUpdate=k))}if(null!==f){var q=e.baseState;g=0;m=l=k=null;h=f;do{var r=h.lane,y=h.eventTime;if((d&r)===r){null!==m&&(m=m.next={eventTime:y,lane:0,tag:h.tag,payload:h.payload,callback:h.callback,\nnext:null});a:{var n=a,t=h;r=b;y=c;switch(t.tag){case 1:n=t.payload;if(\"function\"===typeof n){q=n.call(y,q,r);break a}q=n;break a;case 3:n.flags=n.flags&-65537|128;case 0:n=t.payload;r=\"function\"===typeof n?n.call(y,q,r):n;if(null===r||void 0===r)break a;q=A({},q,r);break a;case 2:jh=!0}}null!==h.callback&&0!==h.lane&&(a.flags|=64,r=e.effects,null===r?e.effects=[h]:r.push(h))}else y={eventTime:y,lane:r,tag:h.tag,payload:h.payload,callback:h.callback,next:null},null===m?(l=m=y,k=q):m=m.next=y,g|=r;\nh=h.next;if(null===h)if(h=e.shared.pending,null===h)break;else r=h,h=r.next,r.next=null,e.lastBaseUpdate=r,e.shared.pending=null}while(1);null===m&&(k=q);e.baseState=k;e.firstBaseUpdate=l;e.lastBaseUpdate=m;b=e.shared.interleaved;if(null!==b){e=b;do g|=e.lane,e=e.next;while(e!==b)}else null===f&&(e.shared.lanes=0);rh|=g;a.lanes=g;a.memoizedState=q}}\nfunction sh(a,b,c){a=b.effects;b.effects=null;if(null!==a)for(b=0;bc?c:4;a(!0);var d=Gh.transition;Gh.transition={};try{a(!1),b()}finally{C=c,Gh.transition=d}}function wi(){return Uh().memoizedState}\nfunction xi(a,b,c){var d=yi(a);c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(zi(a))Ai(b,c);else if(c=hh(a,b,c,d),null!==c){var e=R();gi(c,a,d,e);Bi(c,b,d)}}\nfunction ii(a,b,c){var d=yi(a),e={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(zi(a))Ai(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(He(h,g)){var k=b.interleaved;null===k?(e.next=e,gh(b)):(e.next=k.next,k.next=e);b.interleaved=e;return}}catch(l){}finally{}c=hh(a,b,e,d);null!==c&&(e=R(),gi(c,a,d,e),Bi(c,b,d))}}\nfunction zi(a){var b=a.alternate;return a===M||null!==b&&b===M}function Ai(a,b){Jh=Ih=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function Bi(a,b,c){if(0!==(c&4194240)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Cc(a,c)}}\nvar Rh={readContext:eh,useCallback:P,useContext:P,useEffect:P,useImperativeHandle:P,useInsertionEffect:P,useLayoutEffect:P,useMemo:P,useReducer:P,useRef:P,useState:P,useDebugValue:P,useDeferredValue:P,useTransition:P,useMutableSource:P,useSyncExternalStore:P,useId:P,unstable_isNewReconciler:!1},Oh={readContext:eh,useCallback:function(a,b){Th().memoizedState=[a,void 0===b?null:b];return a},useContext:eh,useEffect:mi,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return ki(4194308,\n4,pi.bind(null,b,a),c)},useLayoutEffect:function(a,b){return ki(4194308,4,a,b)},useInsertionEffect:function(a,b){return ki(4,2,a,b)},useMemo:function(a,b){var c=Th();b=void 0===b?null:b;a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=Th();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=xi.bind(null,M,a);return[d.memoizedState,a]},useRef:function(a){var b=\nTh();a={current:a};return b.memoizedState=a},useState:hi,useDebugValue:ri,useDeferredValue:function(a){return Th().memoizedState=a},useTransition:function(){var a=hi(!1),b=a[0];a=vi.bind(null,a[1]);Th().memoizedState=a;return[b,a]},useMutableSource:function(){},useSyncExternalStore:function(a,b,c){var d=M,e=Th();if(I){if(void 0===c)throw Error(p(407));c=c()}else{c=b();if(null===Q)throw Error(p(349));0!==(Hh&30)||di(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;mi(ai.bind(null,d,\nf,a),[a]);d.flags|=2048;bi(9,ci.bind(null,d,f,c,b),void 0,null);return c},useId:function(){var a=Th(),b=Q.identifierPrefix;if(I){var c=sg;var d=rg;c=(d&~(1<<32-oc(d)-1)).toString(32)+c;b=\":\"+b+\"R\"+c;c=Kh++;0\\x3c/script>\",a=a.removeChild(a.firstChild)):\n\"string\"===typeof d.is?a=g.createElement(c,{is:d.is}):(a=g.createElement(c),\"select\"===c&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,c);a[Of]=b;a[Pf]=d;zj(a,b,!1,!1);b.stateNode=a;a:{g=vb(c,d);switch(c){case \"dialog\":D(\"cancel\",a);D(\"close\",a);e=d;break;case \"iframe\":case \"object\":case \"embed\":D(\"load\",a);e=d;break;case \"video\":case \"audio\":for(e=0;eGj&&(b.flags|=128,d=!0,Dj(f,!1),b.lanes=4194304)}else{if(!d)if(a=Ch(g),null!==a){if(b.flags|=128,d=!0,c=a.updateQueue,null!==c&&(b.updateQueue=c,b.flags|=4),Dj(f,!0),null===f.tail&&\"hidden\"===f.tailMode&&!g.alternate&&!I)return S(b),null}else 2*B()-f.renderingStartTime>Gj&&1073741824!==c&&(b.flags|=128,d=!0,Dj(f,!1),b.lanes=4194304);f.isBackwards?(g.sibling=b.child,b.child=g):(c=f.last,null!==c?c.sibling=g:b.child=g,f.last=g)}if(null!==f.tail)return b=f.tail,f.rendering=\nb,f.tail=b.sibling,f.renderingStartTime=B(),b.sibling=null,c=L.current,G(L,d?c&1|2:c&1),b;S(b);return null;case 22:case 23:return Hj(),d=null!==b.memoizedState,null!==a&&null!==a.memoizedState!==d&&(b.flags|=8192),d&&0!==(b.mode&1)?0!==(fj&1073741824)&&(S(b),b.subtreeFlags&6&&(b.flags|=8192)):S(b),null;case 24:return null;case 25:return null}throw Error(p(156,b.tag));}\nfunction Ij(a,b){wg(b);switch(b.tag){case 1:return Zf(b.type)&&$f(),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 3:return zh(),E(Wf),E(H),Eh(),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 5:return Bh(b),null;case 13:E(L);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(p(340));Ig()}a=b.flags;return a&65536?(b.flags=a&-65537|128,b):null;case 19:return E(L),null;case 4:return zh(),null;case 10:return ah(b.type._context),null;case 22:case 23:return Hj(),\nnull;case 24:return null;default:return null}}var Jj=!1,U=!1,Kj=\"function\"===typeof WeakSet?WeakSet:Set,V=null;function Lj(a,b){var c=a.ref;if(null!==c)if(\"function\"===typeof c)try{c(null)}catch(d){W(a,b,d)}else c.current=null}function Mj(a,b,c){try{c()}catch(d){W(a,b,d)}}var Nj=!1;\nfunction Oj(a,b){Cf=dd;a=Me();if(Ne(a)){if(\"selectionStart\"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(F){c=null;break a}var g=0,h=-1,k=-1,l=0,m=0,q=a,r=null;b:for(;;){for(var y;;){q!==c||0!==e&&3!==q.nodeType||(h=g+e);q!==f||0!==d&&3!==q.nodeType||(k=g+d);3===q.nodeType&&(g+=\nq.nodeValue.length);if(null===(y=q.firstChild))break;r=q;q=y}for(;;){if(q===a)break b;r===c&&++l===e&&(h=g);r===f&&++m===d&&(k=g);if(null!==(y=q.nextSibling))break;q=r;r=q.parentNode}q=y}c=-1===h||-1===k?null:{start:h,end:k}}else c=null}c=c||{start:0,end:0}}else c=null;Df={focusedElem:a,selectionRange:c};dd=!1;for(V=b;null!==V;)if(b=V,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,V=a;else for(;null!==V;){b=V;try{var n=b.alternate;if(0!==(b.flags&1024))switch(b.tag){case 0:case 11:case 15:break;\ncase 1:if(null!==n){var t=n.memoizedProps,J=n.memoizedState,x=b.stateNode,w=x.getSnapshotBeforeUpdate(b.elementType===b.type?t:Ci(b.type,t),J);x.__reactInternalSnapshotBeforeUpdate=w}break;case 3:var u=b.stateNode.containerInfo;1===u.nodeType?u.textContent=\"\":9===u.nodeType&&u.documentElement&&u.removeChild(u.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(p(163));}}catch(F){W(b,b.return,F)}a=b.sibling;if(null!==a){a.return=b.return;V=a;break}V=b.return}n=Nj;Nj=!1;return n}\nfunction Pj(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.destroy;e.destroy=void 0;void 0!==f&&Mj(b,c,f)}e=e.next}while(e!==d)}}function Qj(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create;c.destroy=d()}c=c.next}while(c!==b)}}function Rj(a){var b=a.ref;if(null!==b){var c=a.stateNode;switch(a.tag){case 5:a=c;break;default:a=c}\"function\"===typeof b?b(a):b.current=a}}\nfunction Sj(a){var b=a.alternate;null!==b&&(a.alternate=null,Sj(b));a.child=null;a.deletions=null;a.sibling=null;5===a.tag&&(b=a.stateNode,null!==b&&(delete b[Of],delete b[Pf],delete b[of],delete b[Qf],delete b[Rf]));a.stateNode=null;a.return=null;a.dependencies=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.stateNode=null;a.updateQueue=null}function Tj(a){return 5===a.tag||3===a.tag||4===a.tag}\nfunction Uj(a){a:for(;;){for(;null===a.sibling;){if(null===a.return||Tj(a.return))return null;a=a.return}a.sibling.return=a.return;for(a=a.sibling;5!==a.tag&&6!==a.tag&&18!==a.tag;){if(a.flags&2)continue a;if(null===a.child||4===a.tag)continue a;else a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}\nfunction Vj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=Bf));else if(4!==d&&(a=a.child,null!==a))for(Vj(a,b,c),a=a.sibling;null!==a;)Vj(a,b,c),a=a.sibling}\nfunction Wj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&(a=a.child,null!==a))for(Wj(a,b,c),a=a.sibling;null!==a;)Wj(a,b,c),a=a.sibling}var X=null,Xj=!1;function Yj(a,b,c){for(c=c.child;null!==c;)Zj(a,b,c),c=c.sibling}\nfunction Zj(a,b,c){if(lc&&\"function\"===typeof lc.onCommitFiberUnmount)try{lc.onCommitFiberUnmount(kc,c)}catch(h){}switch(c.tag){case 5:U||Lj(c,b);case 6:var d=X,e=Xj;X=null;Yj(a,b,c);X=d;Xj=e;null!==X&&(Xj?(a=X,c=c.stateNode,8===a.nodeType?a.parentNode.removeChild(c):a.removeChild(c)):X.removeChild(c.stateNode));break;case 18:null!==X&&(Xj?(a=X,c=c.stateNode,8===a.nodeType?Kf(a.parentNode,c):1===a.nodeType&&Kf(a,c),bd(a)):Kf(X,c.stateNode));break;case 4:d=X;e=Xj;X=c.stateNode.containerInfo;Xj=!0;\nYj(a,b,c);X=d;Xj=e;break;case 0:case 11:case 14:case 15:if(!U&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e,g=f.destroy;f=f.tag;void 0!==g&&(0!==(f&2)?Mj(c,b,g):0!==(f&4)&&Mj(c,b,g));e=e.next}while(e!==d)}Yj(a,b,c);break;case 1:if(!U&&(Lj(c,b),d=c.stateNode,\"function\"===typeof d.componentWillUnmount))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(h){W(c,b,h)}Yj(a,b,c);break;case 21:Yj(a,b,c);break;case 22:c.mode&1?(U=(d=U)||null!==\nc.memoizedState,Yj(a,b,c),U=d):Yj(a,b,c);break;default:Yj(a,b,c)}}function ak(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=new Kj);b.forEach(function(b){var d=bk.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d))})}}\nfunction ck(a,b){var c=b.deletions;if(null!==c)for(var d=0;de&&(e=g);d&=~f}d=e;d=B()-d;d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3E3>d?3E3:4320>d?4320:1960*lk(d/1960))-d;if(10a?16:a;if(null===wk)var d=!1;else{a=wk;wk=null;xk=0;if(0!==(K&6))throw Error(p(331));var e=K;K|=4;for(V=a.current;null!==V;){var f=V,g=f.child;if(0!==(V.flags&16)){var h=f.deletions;if(null!==h){for(var k=0;kB()-fk?Kk(a,0):rk|=c);Dk(a,b)}function Yk(a,b){0===b&&(0===(a.mode&1)?b=1:(b=sc,sc<<=1,0===(sc&130023424)&&(sc=4194304)));var c=R();a=ih(a,b);null!==a&&(Ac(a,b,c),Dk(a,c))}function uj(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);Yk(a,c)}\nfunction bk(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;default:throw Error(p(314));}null!==d&&d.delete(b);Yk(a,c)}var Vk;\nVk=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Wf.current)dh=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return dh=!1,yj(a,b,c);dh=0!==(a.flags&131072)?!0:!1}else dh=!1,I&&0!==(b.flags&1048576)&&ug(b,ng,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;ij(a,b);a=b.pendingProps;var e=Yf(b,H.current);ch(b,c);e=Nh(null,b,d,a,e,c);var f=Sh();b.flags|=1;\"object\"===typeof e&&null!==e&&\"function\"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue=\nnull,Zf(d)?(f=!0,cg(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,kh(b),e.updater=Ei,b.stateNode=e,e._reactInternals=b,Ii(b,d,a,c),b=jj(null,b,d,!0,f,c)):(b.tag=0,I&&f&&vg(b),Xi(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{ij(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=Zk(d);a=Ci(d,a);switch(e){case 0:b=cj(null,b,d,a,c);break a;case 1:b=hj(null,b,d,a,c);break a;case 11:b=Yi(null,b,d,a,c);break a;case 14:b=$i(null,b,d,Ci(d.type,a),c);break a}throw Error(p(306,\nd,\"\"));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),cj(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),hj(a,b,d,e,c);case 3:a:{kj(b);if(null===a)throw Error(p(387));d=b.pendingProps;f=b.memoizedState;e=f.element;lh(a,b);qh(b,d,null,c);var g=b.memoizedState;d=g.element;if(f.isDehydrated)if(f={element:d,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},b.updateQueue.baseState=\nf,b.memoizedState=f,b.flags&256){e=Ji(Error(p(423)),b);b=lj(a,b,d,c,e);break a}else if(d!==e){e=Ji(Error(p(424)),b);b=lj(a,b,d,c,e);break a}else for(yg=Lf(b.stateNode.containerInfo.firstChild),xg=b,I=!0,zg=null,c=Vg(b,null,d,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Ig();if(d===e){b=Zi(a,b,c);break a}Xi(a,b,d,c)}b=b.child}return b;case 5:return Ah(b),null===a&&Eg(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,Ef(d,e)?g=null:null!==f&&Ef(d,f)&&(b.flags|=32),\ngj(a,b),Xi(a,b,g,c),b.child;case 6:return null===a&&Eg(b),null;case 13:return oj(a,b,c);case 4:return yh(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Ug(b,null,d,c):Xi(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),Yi(a,b,d,e,c);case 7:return Xi(a,b,b.pendingProps,c),b.child;case 8:return Xi(a,b,b.pendingProps.children,c),b.child;case 12:return Xi(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;\ng=e.value;G(Wg,d._currentValue);d._currentValue=g;if(null!==f)if(He(f.value,g)){if(f.children===e.children&&!Wf.current){b=Zi(a,b,c);break a}}else for(f=b.child,null!==f&&(f.return=b);null!==f;){var h=f.dependencies;if(null!==h){g=f.child;for(var k=h.firstContext;null!==k;){if(k.context===d){if(1===f.tag){k=mh(-1,c&-c);k.tag=2;var l=f.updateQueue;if(null!==l){l=l.shared;var m=l.pending;null===m?k.next=k:(k.next=m.next,m.next=k);l.pending=k}}f.lanes|=c;k=f.alternate;null!==k&&(k.lanes|=c);bh(f.return,\nc,b);h.lanes|=c;break}k=k.next}}else if(10===f.tag)g=f.type===b.type?null:f.child;else if(18===f.tag){g=f.return;if(null===g)throw Error(p(341));g.lanes|=c;h=g.alternate;null!==h&&(h.lanes|=c);bh(g,c,b);g=f.sibling}else g=f.child;if(null!==g)g.return=f;else for(g=f;null!==g;){if(g===b){g=null;break}f=g.sibling;if(null!==f){f.return=g.return;g=f;break}g=g.return}f=g}Xi(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d=b.pendingProps.children,ch(b,c),e=eh(e),d=d(e),b.flags|=1,Xi(a,b,d,c),\nb.child;case 14:return d=b.type,e=Ci(d,b.pendingProps),e=Ci(d.type,e),$i(a,b,d,e,c);case 15:return bj(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),ij(a,b),b.tag=1,Zf(d)?(a=!0,cg(b)):a=!1,ch(b,c),Gi(b,d,e),Ii(b,d,e,c),jj(null,b,d,!0,a,c);case 19:return xj(a,b,c);case 22:return dj(a,b,c)}throw Error(p(156,b.tag));};function Fk(a,b){return ac(a,b)}\nfunction $k(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null}function Bg(a,b,c,d){return new $k(a,b,c,d)}function aj(a){a=a.prototype;return!(!a||!a.isReactComponent)}\nfunction Zk(a){if(\"function\"===typeof a)return aj(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===Da)return 11;if(a===Ga)return 14}return 2}\nfunction Pg(a,b){var c=a.alternate;null===c?(c=Bg(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null);c.flags=a.flags&14680064;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext};\nc.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}\nfunction Rg(a,b,c,d,e,f){var g=2;d=a;if(\"function\"===typeof a)aj(a)&&(g=1);else if(\"string\"===typeof a)g=5;else a:switch(a){case ya:return Tg(c.children,e,f,b);case za:g=8;e|=8;break;case Aa:return a=Bg(12,c,b,e|2),a.elementType=Aa,a.lanes=f,a;case Ea:return a=Bg(13,c,b,e),a.elementType=Ea,a.lanes=f,a;case Fa:return a=Bg(19,c,b,e),a.elementType=Fa,a.lanes=f,a;case Ia:return pj(c,e,f,b);default:if(\"object\"===typeof a&&null!==a)switch(a.$$typeof){case Ba:g=10;break a;case Ca:g=9;break a;case Da:g=11;\nbreak a;case Ga:g=14;break a;case Ha:g=16;d=null;break a}throw Error(p(130,null==a?a:typeof a,\"\"));}b=Bg(g,c,b,e);b.elementType=a;b.type=d;b.lanes=f;return b}function Tg(a,b,c,d){a=Bg(7,a,d,b);a.lanes=c;return a}function pj(a,b,c,d){a=Bg(22,a,d,b);a.elementType=Ia;a.lanes=c;a.stateNode={isHidden:!1};return a}function Qg(a,b,c){a=Bg(6,a,null,b);a.lanes=c;return a}\nfunction Sg(a,b,c){b=Bg(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}\nfunction al(a,b,c,d,e){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.pendingContext=this.context=null;this.callbackPriority=0;this.eventTimes=zc(0);this.expirationTimes=zc(-1);this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=zc(0);this.identifierPrefix=d;this.onRecoverableError=e;this.mutableSourceEagerHydrationData=\nnull}function bl(a,b,c,d,e,f,g,h,k){a=new al(a,b,c,h,k);1===b?(b=1,!0===f&&(b|=8)):b=0;f=Bg(3,null,null,b);a.current=f;f.stateNode=a;f.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null};kh(f);return a}function cl(a,b,c){var d=3 0 ? charat(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function next () {\n\tcharacter = position < length ? charat(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function peek () {\n\treturn charat(characters, position)\n}\n\n/**\n * @return {number}\n */\nexport function caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function slice (begin, end) {\n\treturn substr(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nexport function alloc (value) {\n\treturn line = column = 1, length = strlen(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nexport function dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function delimit (type) {\n\treturn trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nexport function tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nexport function tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: append(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: append(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: append(from(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nexport function escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\tif (type !== 34 && type !== 39)\n\t\t\t\t\tdelimiter(character)\n\t\t\t\tbreak\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nexport function commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nexport function identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n","import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, charat, trim, from, sizeof, strlen, substr, append, replace, indexof} from './Utility.js'\nimport {node, char, prev, next, peek, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && charat(characters, length - 1) == 58) {\n\t\t\t\t\tif (indexof(characters += replace(delimit(character), '&', '&\\f'), '&\\f') != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset: if (ampersand == -1) characters = replace(characters, /\\f/g, '')\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tswitch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {\n\t\t\t\t\t\t\t\t\t// d l m s\n\t\t\t\t\t\t\t\t\tcase 100: case 108: case 109: case 115:\n\t\t\t\t\t\t\t\t\t\tparse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\tparse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @return {object}\n */\nexport function comment (value, root, parent) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @return {object}\n */\nexport function declaration (value, root, parent, length) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length)\n}\n","import {IMPORT, LAYER, COMMENT, RULESET, DECLARATION, KEYFRAMES} from './Enum.js'\nimport {strlen, sizeof} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\tvar length = sizeof(children)\n\n\tfor (var i = 0; i < length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase LAYER: if (element.children.length) break\n\t\tcase IMPORT: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: element.value = element.props.join(',')\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import {MS, MOZ, WEBKIT, RULESET, KEYFRAMES, DECLARATION} from './Enum.js'\nimport {match, charat, substr, strlen, sizeof, replace, combine} from './Utility.js'\nimport {copy, tokenize} from './Tokenizer.js'\nimport {serialize} from './Serializer.js'\nimport {prefix} from './Prefixer.js'\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nexport function middleware (collection) {\n\tvar length = sizeof(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nexport function rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nexport function prefixer (element, index, children, callback) {\n\tif (element.length > -1)\n\t\tif (!element.return)\n\t\t\tswitch (element.type) {\n\t\t\t\tcase DECLARATION: element.return = prefix(element.value, element.length, children)\n\t\t\t\t\treturn\n\t\t\t\tcase KEYFRAMES:\n\t\t\t\t\treturn serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)\n\t\t\t\tcase RULESET:\n\t\t\t\t\tif (element.length)\n\t\t\t\t\t\treturn combine(element.props, function (value) {\n\t\t\t\t\t\t\tswitch (match(value, /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\t\treturn serialize([copy(element, {props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]})], callback)\n\t\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\t\treturn serialize([\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]}),\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]}),\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]})\n\t\t\t\t\t\t\t\t\t], callback)\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn ''\n\t\t\t\t\t\t})\n\t\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nexport function namespace (element) {\n\tswitch (element.type) {\n\t\tcase RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn combine(tokenize(value), function (value, index, children) {\n\t\t\t\t\tswitch (charat(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn substr(value, 1, strlen(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + substr(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn sizeof(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = sizeof(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n","import { StyleSheet } from '@emotion/sheet';\nimport { dealloc, alloc, next, token, from, peek, delimit, slice, position, RULESET, combine, match, serialize, copy, replace, WEBKIT, MOZ, MS, KEYFRAMES, DECLARATION, hash, charat, strlen, indexof, stringify, rulesheet, middleware, compile } from 'stylis';\nimport '@emotion/weak-memoize';\nimport '@emotion/memoize';\n\nvar identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {\n var previous = 0;\n var character = 0;\n\n while (true) {\n previous = character;\n character = peek(); // &\\f\n\n if (previous === 38 && character === 12) {\n points[index] = 1;\n }\n\n if (token(character)) {\n break;\n }\n\n next();\n }\n\n return slice(begin, position);\n};\n\nvar toRules = function toRules(parsed, points) {\n // pretend we've started with a comma\n var index = -1;\n var character = 44;\n\n do {\n switch (token(character)) {\n case 0:\n // &\\f\n if (character === 38 && peek() === 12) {\n // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings\n // stylis inserts \\f after & to know when & where it should replace this sequence with the context selector\n // and when it should just concatenate the outer and inner selectors\n // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here\n points[index] = 1;\n }\n\n parsed[index] += identifierWithPointTracking(position - 1, points, index);\n break;\n\n case 2:\n parsed[index] += delimit(character);\n break;\n\n case 4:\n // comma\n if (character === 44) {\n // colon\n parsed[++index] = peek() === 58 ? '&\\f' : '';\n points[index] = parsed[index].length;\n break;\n }\n\n // fallthrough\n\n default:\n parsed[index] += from(character);\n }\n } while (character = next());\n\n return parsed;\n};\n\nvar getRules = function getRules(value, points) {\n return dealloc(toRules(alloc(value), points));\n}; // WeakSet would be more appropriate, but only WeakMap is supported in IE11\n\n\nvar fixedElements = /* #__PURE__ */new WeakMap();\nvar compat = function compat(element) {\n if (element.type !== 'rule' || !element.parent || // positive .length indicates that this rule contains pseudo\n // negative .length indicates that this rule has been already prefixed\n element.length < 1) {\n return;\n }\n\n var value = element.value,\n parent = element.parent;\n var isImplicitRule = element.column === parent.column && element.line === parent.line;\n\n while (parent.type !== 'rule') {\n parent = parent.parent;\n if (!parent) return;\n } // short-circuit for the simplest case\n\n\n if (element.props.length === 1 && value.charCodeAt(0) !== 58\n /* colon */\n && !fixedElements.get(parent)) {\n return;\n } // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level)\n // then the props has already been manipulated beforehand as they that array is shared between it and its \"rule parent\"\n\n\n if (isImplicitRule) {\n return;\n }\n\n fixedElements.set(element, true);\n var points = [];\n var rules = getRules(value, points);\n var parentRules = parent.props;\n\n for (var i = 0, k = 0; i < rules.length; i++) {\n for (var j = 0; j < parentRules.length; j++, k++) {\n element.props[k] = points[i] ? rules[i].replace(/&\\f/g, parentRules[j]) : parentRules[j] + \" \" + rules[i];\n }\n }\n};\nvar removeLabel = function removeLabel(element) {\n if (element.type === 'decl') {\n var value = element.value;\n\n if ( // charcode for l\n value.charCodeAt(0) === 108 && // charcode for b\n value.charCodeAt(2) === 98) {\n // this ignores label\n element[\"return\"] = '';\n element.value = '';\n }\n }\n};\n\n/* eslint-disable no-fallthrough */\n\nfunction prefix(value, length) {\n switch (hash(value, length)) {\n // color-adjust\n case 5103:\n return WEBKIT + 'print-' + value + value;\n // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\n case 5737:\n case 4201:\n case 3177:\n case 3433:\n case 1641:\n case 4457:\n case 2921: // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\n case 5572:\n case 6356:\n case 5844:\n case 3191:\n case 6645:\n case 3005: // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\n case 6391:\n case 5879:\n case 5623:\n case 6135:\n case 4599:\n case 4855: // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\n case 4215:\n case 6389:\n case 5109:\n case 5365:\n case 5621:\n case 3829:\n return WEBKIT + value + value;\n // appearance, user-select, transform, hyphens, text-size-adjust\n\n case 5349:\n case 4246:\n case 4810:\n case 6968:\n case 2756:\n return WEBKIT + value + MOZ + value + MS + value + value;\n // flex, flex-direction\n\n case 6828:\n case 4268:\n return WEBKIT + value + MS + value + value;\n // order\n\n case 6165:\n return WEBKIT + value + MS + 'flex-' + value + value;\n // align-items\n\n case 5187:\n return WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;\n // align-self\n\n case 5443:\n return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/, '') + value;\n // align-content\n\n case 4675:\n return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/, '') + value;\n // flex-shrink\n\n case 5548:\n return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;\n // flex-basis\n\n case 5292:\n return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;\n // flex-grow\n\n case 6060:\n return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;\n // transition\n\n case 4554:\n return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;\n // cursor\n\n case 6187:\n return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;\n // background, background-image\n\n case 5495:\n case 3959:\n return replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1');\n // justify-content\n\n case 4968:\n return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;\n // (margin|padding)-inline-(start|end)\n\n case 4095:\n case 3583:\n case 4068:\n case 2532:\n return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;\n // (min|max)?(width|height|inline-size|block-size)\n\n case 8116:\n case 7059:\n case 5753:\n case 5535:\n case 5445:\n case 5701:\n case 4933:\n case 4677:\n case 5533:\n case 5789:\n case 5021:\n case 4765:\n // stretch, max-content, min-content, fill-available\n if (strlen(value) - 1 - length > 6) switch (charat(value, length + 1)) {\n // (m)ax-content, (m)in-content\n case 109:\n // -\n if (charat(value, length + 4) !== 45) break;\n // (f)ill-available, (f)it-content\n\n case 102:\n return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;\n // (s)tretch\n\n case 115:\n return ~indexof(value, 'stretch') ? prefix(replace(value, 'stretch', 'fill-available'), length) + value : value;\n }\n break;\n // position: sticky\n\n case 4949:\n // (s)ticky?\n if (charat(value, length + 1) !== 115) break;\n // display: (flex|inline-flex)\n\n case 6444:\n switch (charat(value, strlen(value) - 3 - (~indexof(value, '!important') && 10))) {\n // stic(k)y\n case 107:\n return replace(value, ':', ':' + WEBKIT) + value;\n // (inline-)?fl(e)x\n\n case 101:\n return replace(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;\n }\n\n break;\n // writing-mode\n\n case 5936:\n switch (charat(value, length + 11)) {\n // vertical-l(r)\n case 114:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value;\n // vertical-r(l)\n\n case 108:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value;\n // horizontal(-)tb\n\n case 45:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value;\n }\n\n return WEBKIT + value + MS + value + value;\n }\n\n return value;\n}\n\nvar prefixer = function prefixer(element, index, children, callback) {\n if (element.length > -1) if (!element[\"return\"]) switch (element.type) {\n case DECLARATION:\n element[\"return\"] = prefix(element.value, element.length);\n break;\n\n case KEYFRAMES:\n return serialize([copy(element, {\n value: replace(element.value, '@', '@' + WEBKIT)\n })], callback);\n\n case RULESET:\n if (element.length) return combine(element.props, function (value) {\n switch (match(value, /(::plac\\w+|:read-\\w+)/)) {\n // :read-(only|write)\n case ':read-only':\n case ':read-write':\n return serialize([copy(element, {\n props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]\n })], callback);\n // :placeholder\n\n case '::placeholder':\n return serialize([copy(element, {\n props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]\n }), copy(element, {\n props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]\n }), copy(element, {\n props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]\n })], callback);\n }\n\n return '';\n });\n }\n};\n\nvar defaultStylisPlugins = [prefixer];\n\nvar createCache = function\n /*: EmotionCache */\ncreateCache(options\n/*: Options */\n) {\n var key = options.key;\n\n if (key === 'css') {\n var ssrStyles = document.querySelectorAll(\"style[data-emotion]:not([data-s])\"); // get SSRed styles out of the way of React's hydration\n // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)\n // note this very very intentionally targets all style elements regardless of the key to ensure\n // that creating a cache works inside of render of a React component\n\n Array.prototype.forEach.call(ssrStyles, function (node\n /*: HTMLStyleElement */\n ) {\n // we want to only move elements which have a space in the data-emotion attribute value\n // because that indicates that it is an Emotion 11 server-side rendered style elements\n // while we will already ignore Emotion 11 client-side inserted styles because of the :not([data-s]) part in the selector\n // Emotion 10 client-side inserted styles did not have data-s (but importantly did not have a space in their data-emotion attributes)\n // so checking for the space ensures that loading Emotion 11 after Emotion 10 has inserted some styles\n // will not result in the Emotion 10 styles being destroyed\n var dataEmotionAttribute = node.getAttribute('data-emotion');\n\n if (dataEmotionAttribute.indexOf(' ') === -1) {\n return;\n }\n\n document.head.appendChild(node);\n node.setAttribute('data-s', '');\n });\n }\n\n var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;\n\n var inserted = {};\n var container;\n /* : Node */\n\n var nodesToHydrate = [];\n\n {\n container = options.container || document.head;\n Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which\n // means that the style elements we're looking at are only Emotion 11 server-rendered style elements\n document.querySelectorAll(\"style[data-emotion^=\\\"\" + key + \" \\\"]\"), function (node\n /*: HTMLStyleElement */\n ) {\n var attrib = node.getAttribute(\"data-emotion\").split(' ');\n\n for (var i = 1; i < attrib.length; i++) {\n inserted[attrib[i]] = true;\n }\n\n nodesToHydrate.push(node);\n });\n }\n\n var _insert;\n /*: (\n selector: string,\n serialized: SerializedStyles,\n sheet: StyleSheet,\n shouldCache: boolean\n ) => string | void */\n\n\n var omnipresentPlugins = [compat, removeLabel];\n\n {\n var currentSheet;\n var finalizingPlugins = [stringify, rulesheet(function (rule) {\n currentSheet.insert(rule);\n })];\n var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));\n\n var stylis = function stylis(styles) {\n return serialize(compile(styles), serializer);\n };\n\n _insert = function\n /*: void */\n insert(selector\n /*: string */\n , serialized\n /*: SerializedStyles */\n , sheet\n /*: StyleSheet */\n , shouldCache\n /*: boolean */\n ) {\n currentSheet = sheet;\n\n stylis(selector ? selector + \"{\" + serialized.styles + \"}\" : serialized.styles);\n\n if (shouldCache) {\n cache.inserted[serialized.name] = true;\n }\n };\n }\n\n var cache\n /*: EmotionCache */\n = {\n key: key,\n sheet: new StyleSheet({\n key: key,\n container: container,\n nonce: options.nonce,\n speedy: options.speedy,\n prepend: options.prepend,\n insertionPoint: options.insertionPoint\n }),\n nonce: options.nonce,\n inserted: inserted,\n registered: {},\n insert: _insert\n };\n cache.sheet.hydrate(nodesToHydrate);\n return cache;\n};\n\nexport { createCache as default };\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","var isBrowser = true;\n\nfunction getRegisteredStyles(registered, registeredStyles, classNames) {\n var rawClassName = '';\n classNames.split(' ').forEach(function (className) {\n if (registered[className] !== undefined) {\n registeredStyles.push(registered[className] + \";\");\n } else if (className) {\n rawClassName += className + \" \";\n }\n });\n return rawClassName;\n}\nvar registerStyles = function registerStyles(cache, serialized, isStringTag) {\n var className = cache.key + \"-\" + serialized.name;\n\n if ( // we only need to add the styles to the registered cache if the\n // class name could be used further down\n // the tree but if it's a string tag, we know it won't\n // so we don't have to add it to registered cache.\n // this improves memory usage since we can avoid storing the whole style string\n (isStringTag === false || // we need to always store it if we're in compat mode and\n // in node since emotion-server relies on whether a style is in\n // the registered cache to know whether a style is global or not\n // also, note that this check will be dead code eliminated in the browser\n isBrowser === false ) && cache.registered[className] === undefined) {\n cache.registered[className] = serialized.styles;\n }\n};\nvar insertStyles = function insertStyles(cache, serialized, isStringTag) {\n registerStyles(cache, serialized, isStringTag);\n var className = cache.key + \"-\" + serialized.name;\n\n if (cache.inserted[serialized.name] === undefined) {\n var current = serialized;\n\n do {\n cache.insert(serialized === current ? \".\" + className : '', current, cache.sheet, true);\n\n current = current.next;\n } while (current !== undefined);\n }\n};\n\nexport { getRegisteredStyles, insertStyles, registerStyles };\n","/* eslint-disable */\n// Inspired by https://github.com/garycourt/murmurhash-js\n// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86\nfunction murmur2(str) {\n // 'm' and 'r' are mixing constants generated offline.\n // They're not really 'magic', they just happen to work well.\n // const m = 0x5bd1e995;\n // const r = 24;\n // Initialize the hash\n var h = 0; // Mix 4 bytes at a time into the hash\n\n var k,\n i = 0,\n len = str.length;\n\n for (; len >= 4; ++i, len -= 4) {\n k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;\n k =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);\n k ^=\n /* k >>> r: */\n k >>> 24;\n h =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Handle the last few bytes of the input array\n\n\n switch (len) {\n case 3:\n h ^= (str.charCodeAt(i + 2) & 0xff) << 16;\n\n case 2:\n h ^= (str.charCodeAt(i + 1) & 0xff) << 8;\n\n case 1:\n h ^= str.charCodeAt(i) & 0xff;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Do a few final mixes of the hash to ensure the last few\n // bytes are well-incorporated.\n\n\n h ^= h >>> 13;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n return ((h ^ h >>> 15) >>> 0).toString(36);\n}\n\nexport { murmur2 as default };\n","var unitlessKeys = {\n animationIterationCount: 1,\n aspectRatio: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n scale: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n};\n\nexport { unitlessKeys as default };\n","import hashString from '@emotion/hash';\nimport unitless from '@emotion/unitless';\nimport memoize from '@emotion/memoize';\n\nvar isDevelopment = false;\n\nvar hyphenateRegex = /[A-Z]|^ms/g;\nvar animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;\n\nvar isCustomProperty = function isCustomProperty(property) {\n return property.charCodeAt(1) === 45;\n};\n\nvar isProcessableValue = function isProcessableValue(value) {\n return value != null && typeof value !== 'boolean';\n};\n\nvar processStyleName = /* #__PURE__ */memoize(function (styleName) {\n return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();\n});\n\nvar processStyleValue = function processStyleValue(key, value) {\n switch (key) {\n case 'animation':\n case 'animationName':\n {\n if (typeof value === 'string') {\n return value.replace(animationRegex, function (match, p1, p2) {\n cursor = {\n name: p1,\n styles: p2,\n next: cursor\n };\n return p1;\n });\n }\n }\n }\n\n if (unitless[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {\n return value + 'px';\n }\n\n return value;\n};\n\nvar noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';\n\nfunction handleInterpolation(mergedProps, registered, interpolation) {\n if (interpolation == null) {\n return '';\n }\n\n var componentSelector = interpolation;\n\n if (componentSelector.__emotion_styles !== undefined) {\n\n return componentSelector;\n }\n\n switch (typeof interpolation) {\n case 'boolean':\n {\n return '';\n }\n\n case 'object':\n {\n var keyframes = interpolation;\n\n if (keyframes.anim === 1) {\n cursor = {\n name: keyframes.name,\n styles: keyframes.styles,\n next: cursor\n };\n return keyframes.name;\n }\n\n var serializedStyles = interpolation;\n\n if (serializedStyles.styles !== undefined) {\n var next = serializedStyles.next;\n\n if (next !== undefined) {\n // not the most efficient thing ever but this is a pretty rare case\n // and there will be very few iterations of this generally\n while (next !== undefined) {\n cursor = {\n name: next.name,\n styles: next.styles,\n next: cursor\n };\n next = next.next;\n }\n }\n\n var styles = serializedStyles.styles + \";\";\n\n return styles;\n }\n\n return createStringFromObject(mergedProps, registered, interpolation);\n }\n\n case 'function':\n {\n if (mergedProps !== undefined) {\n var previousCursor = cursor;\n var result = interpolation(mergedProps);\n cursor = previousCursor;\n return handleInterpolation(mergedProps, registered, result);\n }\n\n break;\n }\n } // finalize string values (regular strings and functions interpolated into css calls)\n\n\n var asString = interpolation;\n\n if (registered == null) {\n return asString;\n }\n\n var cached = registered[asString];\n return cached !== undefined ? cached : asString;\n}\n\nfunction createStringFromObject(mergedProps, registered, obj) {\n var string = '';\n\n if (Array.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n string += handleInterpolation(mergedProps, registered, obj[i]) + \";\";\n }\n } else {\n for (var key in obj) {\n var value = obj[key];\n\n if (typeof value !== 'object') {\n var asString = value;\n\n if (registered != null && registered[asString] !== undefined) {\n string += key + \"{\" + registered[asString] + \"}\";\n } else if (isProcessableValue(asString)) {\n string += processStyleName(key) + \":\" + processStyleValue(key, asString) + \";\";\n }\n } else {\n if (key === 'NO_COMPONENT_SELECTOR' && isDevelopment) {\n throw new Error(noComponentSelectorMessage);\n }\n\n if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {\n for (var _i = 0; _i < value.length; _i++) {\n if (isProcessableValue(value[_i])) {\n string += processStyleName(key) + \":\" + processStyleValue(key, value[_i]) + \";\";\n }\n }\n } else {\n var interpolated = handleInterpolation(mergedProps, registered, value);\n\n switch (key) {\n case 'animation':\n case 'animationName':\n {\n string += processStyleName(key) + \":\" + interpolated + \";\";\n break;\n }\n\n default:\n {\n\n string += key + \"{\" + interpolated + \"}\";\n }\n }\n }\n }\n }\n }\n\n return string;\n}\n\nvar labelPattern = /label:\\s*([^\\s;{]+)\\s*(;|$)/g;\n// keyframes are stored on the SerializedStyles object as a linked list\n\n\nvar cursor;\nfunction serializeStyles(args, registered, mergedProps) {\n if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {\n return args[0];\n }\n\n var stringMode = true;\n var styles = '';\n cursor = undefined;\n var strings = args[0];\n\n if (strings == null || strings.raw === undefined) {\n stringMode = false;\n styles += handleInterpolation(mergedProps, registered, strings);\n } else {\n var asTemplateStringsArr = strings;\n\n styles += asTemplateStringsArr[0];\n } // we start at 1 since we've already handled the first arg\n\n\n for (var i = 1; i < args.length; i++) {\n styles += handleInterpolation(mergedProps, registered, args[i]);\n\n if (stringMode) {\n var templateStringsArr = strings;\n\n styles += templateStringsArr[i];\n }\n }\n\n\n labelPattern.lastIndex = 0;\n var identifierName = '';\n var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5\n\n while ((match = labelPattern.exec(styles)) !== null) {\n identifierName += '-' + match[1];\n }\n\n var name = hashString(styles) + identifierName;\n\n return {\n name: name,\n styles: styles,\n next: cursor\n };\n}\n\nexport { serializeStyles };\n","import * as React from 'react';\n\nvar syncFallback = function syncFallback(create) {\n return create();\n};\n\nvar useInsertionEffect = React['useInsertion' + 'Effect'] ? React['useInsertion' + 'Effect'] : false;\nvar useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;\nvar useInsertionEffectWithLayoutFallback = useInsertionEffect || React.useLayoutEffect;\n\nexport { useInsertionEffectAlwaysWithSyncFallback, useInsertionEffectWithLayoutFallback };\n","import * as React from 'react';\nimport { useContext, forwardRef } from 'react';\nimport createCache from '@emotion/cache';\nimport _extends from '@babel/runtime/helpers/esm/extends';\nimport weakMemoize from '@emotion/weak-memoize';\nimport hoistNonReactStatics from '../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js';\nimport { getRegisteredStyles, registerStyles, insertStyles } from '@emotion/utils';\nimport { serializeStyles } from '@emotion/serialize';\nimport { useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\n\nvar isDevelopment = false;\n\n/* import { type EmotionCache } from '@emotion/utils' */\nvar EmotionCacheContext\n/*: React.Context */\n= /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case\n// because this module is primarily intended for the browser and node\n// but it's also required in react native and similar environments sometimes\n// and we could have a special build just for that\n// but this is much easier and the native packages\n// might use a different theme context in the future anyway\ntypeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({\n key: 'css'\n}) : null);\n\nvar CacheProvider = EmotionCacheContext.Provider;\nvar __unsafe_useEmotionCache = function useEmotionCache()\n/*: EmotionCache | null*/\n{\n return useContext(EmotionCacheContext);\n};\n\nvar withEmotionCache = function withEmotionCache\n/* > */\n(func\n/*: (props: Props, cache: EmotionCache, ref: Ref) => React.Node */\n)\n/*: React.AbstractComponent */\n{\n return /*#__PURE__*/forwardRef(function (props\n /*: Props */\n , ref\n /*: Ref */\n ) {\n // the cache will never be null in the browser\n var cache = useContext(EmotionCacheContext);\n return func(props, cache, ref);\n });\n};\n\nvar ThemeContext = /* #__PURE__ */React.createContext({});\n\nvar useTheme = function useTheme() {\n return React.useContext(ThemeContext);\n};\n\nvar getTheme = function getTheme(outerTheme\n/*: Object */\n, theme\n/*: Object | (Object => Object) */\n) {\n if (typeof theme === 'function') {\n var mergedTheme = theme(outerTheme);\n\n return mergedTheme;\n }\n\n return _extends({}, outerTheme, theme);\n};\n\nvar createCacheWithTheme = /* #__PURE__ */weakMemoize(function (outerTheme) {\n return weakMemoize(function (theme) {\n return getTheme(outerTheme, theme);\n });\n});\n/*\ntype ThemeProviderProps = {\n theme: Object | (Object => Object),\n children: React.Node\n}\n*/\n\nvar ThemeProvider = function ThemeProvider(props\n/*: ThemeProviderProps */\n) {\n var theme = React.useContext(ThemeContext);\n\n if (props.theme !== theme) {\n theme = createCacheWithTheme(theme)(props.theme);\n }\n\n return /*#__PURE__*/React.createElement(ThemeContext.Provider, {\n value: theme\n }, props.children);\n};\nfunction withTheme\n/* */\n(Component\n/*: React.AbstractComponent */\n)\n/*: React.AbstractComponent<$Diff> */\n{\n var componentName = Component.displayName || Component.name || 'Component';\n\n var render = function render(props, ref) {\n var theme = React.useContext(ThemeContext);\n return /*#__PURE__*/React.createElement(Component, _extends({\n theme: theme,\n ref: ref\n }, props));\n };\n\n var WithTheme = /*#__PURE__*/React.forwardRef(render);\n WithTheme.displayName = \"WithTheme(\" + componentName + \")\";\n return hoistNonReactStatics(WithTheme, Component);\n}\n\nvar hasOwn = {}.hasOwnProperty;\n\nvar typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';\nvar createEmotionProps = function createEmotionProps(type\n/*: React.ElementType */\n, props\n/*: Object */\n) {\n\n var newProps\n /*: any */\n = {};\n\n for (var key in props) {\n if (hasOwn.call(props, key)) {\n newProps[key] = props[key];\n }\n }\n\n newProps[typePropName] = type; // Runtime labeling is an opt-in feature because:\n\n return newProps;\n};\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serialized = _ref.serialized,\n isStringTag = _ref.isStringTag;\n registerStyles(cache, serialized, isStringTag);\n useInsertionEffectAlwaysWithSyncFallback(function () {\n return insertStyles(cache, serialized, isStringTag);\n });\n\n return null;\n};\n\nvar Emotion = /* #__PURE__ */withEmotionCache(\n/* */\nfunction (props, cache, ref) {\n var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works\n // not passing the registered cache to serializeStyles because it would\n // make certain babel optimisations not possible\n\n if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {\n cssProp = cache.registered[cssProp];\n }\n\n var WrappedComponent = props[typePropName];\n var registeredStyles = [cssProp];\n var className = '';\n\n if (typeof props.className === 'string') {\n className = getRegisteredStyles(cache.registered, registeredStyles, props.className);\n } else if (props.className != null) {\n className = props.className + \" \";\n }\n\n var serialized = serializeStyles(registeredStyles, undefined, React.useContext(ThemeContext));\n\n className += cache.key + \"-\" + serialized.name;\n var newProps = {};\n\n for (var key in props) {\n if (hasOwn.call(props, key) && key !== 'css' && key !== typePropName && (!isDevelopment )) {\n newProps[key] = props[key];\n }\n }\n\n newProps.className = className;\n\n if (ref) {\n newProps.ref = ref;\n }\n\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {\n cache: cache,\n serialized: serialized,\n isStringTag: typeof WrappedComponent === 'string'\n }), /*#__PURE__*/React.createElement(WrappedComponent, newProps));\n});\n\nvar Emotion$1 = Emotion;\n\nexport { CacheProvider as C, Emotion$1 as E, ThemeContext as T, __unsafe_useEmotionCache as _, ThemeProvider as a, withTheme as b, createEmotionProps as c, hasOwn as h, isDevelopment as i, useTheme as u, withEmotionCache as w };\n","import { h as hasOwn, E as Emotion, c as createEmotionProps, w as withEmotionCache, T as ThemeContext, i as isDevelopment } from './emotion-element-5486c51c.browser.esm.js';\nexport { C as CacheProvider, T as ThemeContext, a as ThemeProvider, _ as __unsafe_useEmotionCache, u as useTheme, w as withEmotionCache, b as withTheme } from './emotion-element-5486c51c.browser.esm.js';\nimport * as React from 'react';\nimport { insertStyles, registerStyles, getRegisteredStyles } from '@emotion/utils';\nimport { useInsertionEffectWithLayoutFallback, useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\nimport { serializeStyles } from '@emotion/serialize';\nimport '@emotion/cache';\nimport '@babel/runtime/helpers/extends';\nimport '@emotion/weak-memoize';\nimport '../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js';\nimport 'hoist-non-react-statics';\n\nvar jsx\n/*: typeof React.createElement */\n= function jsx\n/*: typeof React.createElement */\n(type\n/*: React.ElementType */\n, props\n/*: Object */\n) {\n var args = arguments;\n\n if (props == null || !hasOwn.call(props, 'css')) {\n return React.createElement.apply(undefined, args);\n }\n\n var argsLength = args.length;\n var createElementArgArray = new Array(argsLength);\n createElementArgArray[0] = Emotion;\n createElementArgArray[1] = createEmotionProps(type, props);\n\n for (var i = 2; i < argsLength; i++) {\n createElementArgArray[i] = args[i];\n }\n\n return React.createElement.apply(null, createElementArgArray);\n};\n\n// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild\n// initial client-side render from SSR, use place of hydrating tag\n\nvar Global\n/*: React.AbstractComponent<\nGlobalProps\n> */\n= /* #__PURE__ */withEmotionCache(function (props\n/*: GlobalProps */\n, cache) {\n\n var styles = props.styles;\n var serialized = serializeStyles([styles], undefined, React.useContext(ThemeContext));\n // but it is based on a constant that will never change at runtime\n // it's effectively like having two implementations and switching them out\n // so it's not actually breaking anything\n\n\n var sheetRef = React.useRef();\n useInsertionEffectWithLayoutFallback(function () {\n var key = cache.key + \"-global\"; // use case of https://github.com/emotion-js/emotion/issues/2675\n\n var sheet = new cache.sheet.constructor({\n key: key,\n nonce: cache.sheet.nonce,\n container: cache.sheet.container,\n speedy: cache.sheet.isSpeedy\n });\n var rehydrating = false;\n var node\n /*: HTMLStyleElement | null*/\n = document.querySelector(\"style[data-emotion=\\\"\" + key + \" \" + serialized.name + \"\\\"]\");\n\n if (cache.sheet.tags.length) {\n sheet.before = cache.sheet.tags[0];\n }\n\n if (node !== null) {\n rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other s\n\n node.setAttribute('data-emotion', key);\n sheet.hydrate([node]);\n }\n\n sheetRef.current = [sheet, rehydrating];\n return function () {\n sheet.flush();\n };\n }, [cache]);\n useInsertionEffectWithLayoutFallback(function () {\n var sheetRefCurrent = sheetRef.current;\n var sheet = sheetRefCurrent[0],\n rehydrating = sheetRefCurrent[1];\n\n if (rehydrating) {\n sheetRefCurrent[1] = false;\n return;\n }\n\n if (serialized.next !== undefined) {\n // insert keyframes\n insertStyles(cache, serialized.next, true);\n }\n\n if (sheet.tags.length) {\n // if this doesn't exist then it will be null so the style element will be appended\n var element = sheet.tags[sheet.tags.length - 1].nextElementSibling;\n sheet.before = element;\n sheet.flush();\n }\n\n cache.insert(\"\", serialized, sheet, false);\n }, [cache, serialized.name]);\n return null;\n});\n\n/* import type { Interpolation, SerializedStyles } from '@emotion/utils' */\n\nfunction css()\n/*: SerializedStyles */\n{\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return serializeStyles(args);\n}\n\n/*\ntype Keyframes = {|\n name: string,\n styles: string,\n anim: 1,\n toString: () => string\n|} & string\n*/\n\nvar keyframes = function\n /*: Keyframes */\nkeyframes() {\n var insertable = css.apply(void 0, arguments);\n var name = \"animation-\" + insertable.name;\n return {\n name: name,\n styles: \"@keyframes \" + name + \"{\" + insertable.styles + \"}\",\n anim: 1,\n toString: function toString() {\n return \"_EMO_\" + this.name + \"_\" + this.styles + \"_EMO_\";\n }\n };\n};\n\n/*\ntype ClassNameArg =\n | string\n | boolean\n | { [key: string]: boolean }\n | Array\n | null\n | void\n*/\n\nvar classnames = function\n /*: string */\nclassnames(args\n/*: Array */\n) {\n var len = args.length;\n var i = 0;\n var cls = '';\n\n for (; i < len; i++) {\n var arg = args[i];\n if (arg == null) continue;\n var toAdd = void 0;\n\n switch (typeof arg) {\n case 'boolean':\n break;\n\n case 'object':\n {\n if (Array.isArray(arg)) {\n toAdd = classnames(arg);\n } else {\n\n toAdd = '';\n\n for (var k in arg) {\n if (arg[k] && k) {\n toAdd && (toAdd += ' ');\n toAdd += k;\n }\n }\n }\n\n break;\n }\n\n default:\n {\n toAdd = arg;\n }\n }\n\n if (toAdd) {\n cls && (cls += ' ');\n cls += toAdd;\n }\n }\n\n return cls;\n};\n\nfunction merge(registered\n/*: Object */\n, css\n/*: (...args: Array) => string */\n, className\n/*: string */\n) {\n var registeredStyles = [];\n var rawClassName = getRegisteredStyles(registered, registeredStyles, className);\n\n if (registeredStyles.length < 2) {\n return className;\n }\n\n return rawClassName + css(registeredStyles);\n}\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serializedArr = _ref.serializedArr;\n useInsertionEffectAlwaysWithSyncFallback(function () {\n\n for (var i = 0; i < serializedArr.length; i++) {\n insertStyles(cache, serializedArr[i], false);\n }\n });\n\n return null;\n};\n/*\ntype Props = {\n children: ({\n css: (...args: any) => string,\n cx: (...args: Array) => string,\n theme: Object\n }) => React.Node\n} */\n\n\nvar ClassNames\n/*: React.AbstractComponent*/\n= /* #__PURE__ */withEmotionCache(function (props, cache) {\n var hasRendered = false;\n var serializedArr = [];\n\n var css = function css() {\n if (hasRendered && isDevelopment) {\n throw new Error('css can only be used during render');\n }\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var serialized = serializeStyles(args, cache.registered);\n serializedArr.push(serialized); // registration has to happen here as the result of this might get consumed by `cx`\n\n registerStyles(cache, serialized, false);\n return cache.key + \"-\" + serialized.name;\n };\n\n var cx = function cx() {\n if (hasRendered && isDevelopment) {\n throw new Error('cx can only be used during render');\n }\n\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return merge(cache.registered, css, classnames(args));\n };\n\n var content = {\n css: css,\n cx: cx,\n theme: React.useContext(ThemeContext)\n };\n var ele = props.children(content);\n hasRendered = true;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {\n cache: cache,\n serializedArr: serializedArr\n }), ele);\n});\n\nexport { ClassNames, Global, jsx as createElement, css, jsx, keyframes };\n","import _extends from '@babel/runtime/helpers/esm/extends';\nimport * as React from 'react';\nimport isPropValid from '@emotion/is-prop-valid';\nimport { withEmotionCache, ThemeContext } from '@emotion/react';\nimport { getRegisteredStyles, registerStyles, insertStyles } from '@emotion/utils';\nimport { serializeStyles } from '@emotion/serialize';\nimport { useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\n\n/* import type {\n ElementType,\n StatelessFunctionalComponent,\n AbstractComponent\n} from 'react' */\n/*\nexport type Interpolations = Array\n\nexport type StyledElementType =\n | string\n | AbstractComponent<{ ...Props, className: string }, mixed>\n\nexport type StyledOptions = {\n label?: string,\n shouldForwardProp?: string => boolean,\n target?: string\n}\n\nexport type StyledComponent = StatelessFunctionalComponent & {\n defaultProps: any,\n toString: () => string,\n withComponent: (\n nextTag: StyledElementType,\n nextOptions?: StyledOptions\n ) => StyledComponent\n}\n\nexport type PrivateStyledComponent = StyledComponent & {\n __emotion_real: StyledComponent,\n __emotion_base: any,\n __emotion_styles: any,\n __emotion_forwardProp: any\n}\n*/\n\nvar testOmitPropsOnStringTag = isPropValid;\n\nvar testOmitPropsOnComponent = function testOmitPropsOnComponent(key\n/*: string */\n) {\n return key !== 'theme';\n};\n\nvar getDefaultShouldForwardProp = function getDefaultShouldForwardProp(tag\n/*: ElementType */\n) {\n return typeof tag === 'string' && // 96 is one less than the char code\n // for \"a\" so this is checking that\n // it's a lowercase character\n tag.charCodeAt(0) > 96 ? testOmitPropsOnStringTag : testOmitPropsOnComponent;\n};\nvar composeShouldForwardProps = function composeShouldForwardProps(tag\n/*: PrivateStyledComponent */\n, options\n/*: StyledOptions | void */\n, isReal\n/*: boolean */\n) {\n var shouldForwardProp;\n\n if (options) {\n var optionsShouldForwardProp = options.shouldForwardProp;\n shouldForwardProp = tag.__emotion_forwardProp && optionsShouldForwardProp ? function (propName\n /*: string */\n ) {\n return tag.__emotion_forwardProp(propName) && optionsShouldForwardProp(propName);\n } : optionsShouldForwardProp;\n }\n\n if (typeof shouldForwardProp !== 'function' && isReal) {\n shouldForwardProp = tag.__emotion_forwardProp;\n }\n\n return shouldForwardProp;\n};\n/*\nexport type CreateStyledComponent = (\n ...args: Interpolations\n) => StyledComponent\n\nexport type CreateStyled = {\n (\n tag: StyledElementType,\n options?: StyledOptions\n ): (...args: Interpolations) => StyledComponent,\n [key: string]: CreateStyledComponent,\n bind: () => CreateStyled\n}\n*/\n\nvar isDevelopment = false;\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serialized = _ref.serialized,\n isStringTag = _ref.isStringTag;\n registerStyles(cache, serialized, isStringTag);\n useInsertionEffectAlwaysWithSyncFallback(function () {\n return insertStyles(cache, serialized, isStringTag);\n });\n\n return null;\n};\n\nvar createStyled\n/*: CreateStyled */\n= function createStyled\n/*: CreateStyled */\n(tag\n/*: any */\n, options\n/* ?: StyledOptions */\n) {\n\n var isReal = tag.__emotion_real === tag;\n var baseTag = isReal && tag.__emotion_base || tag;\n var identifierName;\n var targetClassName;\n\n if (options !== undefined) {\n identifierName = options.label;\n targetClassName = options.target;\n }\n\n var shouldForwardProp = composeShouldForwardProps(tag, options, isReal);\n var defaultShouldForwardProp = shouldForwardProp || getDefaultShouldForwardProp(baseTag);\n var shouldUseAs = !defaultShouldForwardProp('as');\n /* return function(): PrivateStyledComponent { */\n\n return function () {\n var args = arguments;\n var styles = isReal && tag.__emotion_styles !== undefined ? tag.__emotion_styles.slice(0) : [];\n\n if (identifierName !== undefined) {\n styles.push(\"label:\" + identifierName + \";\");\n }\n\n if (args[0] == null || args[0].raw === undefined) {\n styles.push.apply(styles, args);\n } else {\n\n styles.push(args[0][0]);\n var len = args.length;\n var i = 1;\n\n for (; i < len; i++) {\n\n styles.push(args[i], args[0][i]);\n }\n }\n\n var Styled\n /*: PrivateStyledComponent */\n = withEmotionCache(function (props, cache, ref) {\n var FinalTag = shouldUseAs && props.as || baseTag;\n var className = '';\n var classInterpolations = [];\n var mergedProps = props;\n\n if (props.theme == null) {\n mergedProps = {};\n\n for (var key in props) {\n mergedProps[key] = props[key];\n }\n\n mergedProps.theme = React.useContext(ThemeContext);\n }\n\n if (typeof props.className === 'string') {\n className = getRegisteredStyles(cache.registered, classInterpolations, props.className);\n } else if (props.className != null) {\n className = props.className + \" \";\n }\n\n var serialized = serializeStyles(styles.concat(classInterpolations), cache.registered, mergedProps);\n className += cache.key + \"-\" + serialized.name;\n\n if (targetClassName !== undefined) {\n className += \" \" + targetClassName;\n }\n\n var finalShouldForwardProp = shouldUseAs && shouldForwardProp === undefined ? getDefaultShouldForwardProp(FinalTag) : defaultShouldForwardProp;\n var newProps = {};\n\n for (var _key in props) {\n if (shouldUseAs && _key === 'as') continue;\n\n if (finalShouldForwardProp(_key)) {\n newProps[_key] = props[_key];\n }\n }\n\n newProps.className = className;\n\n if (ref) {\n newProps.ref = ref;\n }\n\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {\n cache: cache,\n serialized: serialized,\n isStringTag: typeof FinalTag === 'string'\n }), /*#__PURE__*/React.createElement(FinalTag, newProps));\n });\n Styled.displayName = identifierName !== undefined ? identifierName : \"Styled(\" + (typeof baseTag === 'string' ? baseTag : baseTag.displayName || baseTag.name || 'Component') + \")\";\n Styled.defaultProps = tag.defaultProps;\n Styled.__emotion_real = Styled;\n Styled.__emotion_base = baseTag;\n Styled.__emotion_styles = styles;\n Styled.__emotion_forwardProp = shouldForwardProp;\n Object.defineProperty(Styled, 'toString', {\n value: function value() {\n if (targetClassName === undefined && isDevelopment) {\n return 'NO_COMPONENT_SELECTOR';\n }\n\n return \".\" + targetClassName;\n }\n });\n\n Styled.withComponent = function (nextTag\n /*: StyledElementType */\n , nextOptions\n /* ?: StyledOptions */\n ) {\n return createStyled(nextTag, _extends({}, options, nextOptions, {\n shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)\n })).apply(void 0, styles);\n };\n\n return Styled;\n };\n};\n\nexport { createStyled as default };\n","import createStyled from '../base/dist/emotion-styled-base.browser.esm.js';\nimport '@babel/runtime/helpers/extends';\nimport 'react';\nimport '@emotion/is-prop-valid';\nimport '@emotion/react';\nimport '@emotion/utils';\nimport '@emotion/serialize';\nimport '@emotion/use-insertion-effect-with-fallbacks';\n\nvar tags = ['a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b', 'base', 'bdi', 'bdo', 'big', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'keygen', 'label', 'legend', 'li', 'link', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meta', 'meter', 'nav', 'noscript', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'script', 'section', 'select', 'small', 'source', 'span', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul', 'var', 'video', 'wbr', // SVG\n'circle', 'clipPath', 'defs', 'ellipse', 'foreignObject', 'g', 'image', 'line', 'linearGradient', 'mask', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'stop', 'svg', 'text', 'tspan'];\n\nvar newStyled = createStyled.bind();\ntags.forEach(function (tagName) {\n newStyled[tagName] = newStyled(tagName);\n});\n\nexport { newStyled as default };\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { Global } from '@emotion/react';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction isEmpty(obj) {\n return obj === undefined || obj === null || Object.keys(obj).length === 0;\n}\nexport default function GlobalStyles(props) {\n const {\n styles,\n defaultTheme = {}\n } = props;\n const globalStyles = typeof styles === 'function' ? themeInput => styles(isEmpty(themeInput) ? defaultTheme : themeInput) : styles;\n return /*#__PURE__*/_jsx(Global, {\n styles: globalStyles\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? GlobalStyles.propTypes = {\n defaultTheme: PropTypes.object,\n styles: PropTypes.oneOfType([PropTypes.array, PropTypes.string, PropTypes.object, PropTypes.func])\n} : void 0;","/**\n * @mui/styled-engine v6.1.1\n *\n * @license MIT\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/* eslint-disable no-underscore-dangle */\nimport emStyled from '@emotion/styled';\nexport default function styled(tag, options) {\n const stylesFactory = emStyled(tag, options);\n if (process.env.NODE_ENV !== 'production') {\n return (...styles) => {\n const component = typeof tag === 'string' ? `\"${tag}\"` : 'component';\n if (styles.length === 0) {\n console.error([`MUI: Seems like you called \\`styled(${component})()\\` without a \\`style\\` argument.`, 'You must provide a `styles` argument: `styled(\"div\")(styleYouForgotToPass)`.'].join('\\n'));\n } else if (styles.some(style => style === undefined)) {\n console.error(`MUI: the styled(${component})(...args) API requires all its args to be defined.`);\n }\n return stylesFactory(...styles);\n };\n }\n return stylesFactory;\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const internal_processStyles = (tag, processor) => {\n // Emotion attaches all the styles as `__emotion_styles`.\n // Ref: https://github.com/emotion-js/emotion/blob/16d971d0da229596d6bcc39d282ba9753c9ee7cf/packages/styled/src/base.js#L186\n if (Array.isArray(tag.__emotion_styles)) {\n tag.__emotion_styles = processor(tag.__emotion_styles);\n }\n};\nexport { ThemeContext, keyframes, css } from '@emotion/react';\nexport { default as StyledEngineProvider } from \"./StyledEngineProvider/index.js\";\nexport { default as GlobalStyles } from \"./GlobalStyles/index.js\";","// https://github.com/sindresorhus/is-plain-obj/blob/main/index.js\nexport function isPlainObject(item) {\n if (typeof item !== 'object' || item === null) {\n return false;\n }\n const prototype = Object.getPrototypeOf(item);\n return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);\n}\nfunction deepClone(source) {\n if (!isPlainObject(source)) {\n return source;\n }\n const output = {};\n Object.keys(source).forEach(key => {\n output[key] = deepClone(source[key]);\n });\n return output;\n}\nexport default function deepmerge(target, source, options = {\n clone: true\n}) {\n const output = options.clone ? {\n ...target\n } : target;\n if (isPlainObject(target) && isPlainObject(source)) {\n Object.keys(source).forEach(key => {\n if (isPlainObject(source[key]) &&\n // Avoid prototype pollution\n Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) {\n // Since `output` is a clone of `target` and we have narrowed `target` in this block we can cast to the same type.\n output[key] = deepmerge(target[key], source[key], options);\n } else if (options.clone) {\n output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];\n } else {\n output[key] = source[key];\n }\n });\n }\n return output;\n}","// Sorted ASC by size. That's important.\n// It can't be configured as it's used statically for propTypes.\nexport const breakpointKeys = ['xs', 'sm', 'md', 'lg', 'xl'];\nconst sortBreakpointsValues = values => {\n const breakpointsAsArray = Object.keys(values).map(key => ({\n key,\n val: values[key]\n })) || [];\n // Sort in ascending order\n breakpointsAsArray.sort((breakpoint1, breakpoint2) => breakpoint1.val - breakpoint2.val);\n return breakpointsAsArray.reduce((acc, obj) => {\n return {\n ...acc,\n [obj.key]: obj.val\n };\n }, {});\n};\n\n// Keep in mind that @media is inclusive by the CSS specification.\nexport default function createBreakpoints(breakpoints) {\n const {\n // The breakpoint **start** at this value.\n // For instance with the first breakpoint xs: [xs, sm).\n values = {\n xs: 0,\n // phone\n sm: 600,\n // tablet\n md: 900,\n // small laptop\n lg: 1200,\n // desktop\n xl: 1536 // large screen\n },\n unit = 'px',\n step = 5,\n ...other\n } = breakpoints;\n const sortedValues = sortBreakpointsValues(values);\n const keys = Object.keys(sortedValues);\n function up(key) {\n const value = typeof values[key] === 'number' ? values[key] : key;\n return `@media (min-width:${value}${unit})`;\n }\n function down(key) {\n const value = typeof values[key] === 'number' ? values[key] : key;\n return `@media (max-width:${value - step / 100}${unit})`;\n }\n function between(start, end) {\n const endIndex = keys.indexOf(end);\n return `@media (min-width:${typeof values[start] === 'number' ? values[start] : start}${unit}) and ` + `(max-width:${(endIndex !== -1 && typeof values[keys[endIndex]] === 'number' ? values[keys[endIndex]] : end) - step / 100}${unit})`;\n }\n function only(key) {\n if (keys.indexOf(key) + 1 < keys.length) {\n return between(key, keys[keys.indexOf(key) + 1]);\n }\n return up(key);\n }\n function not(key) {\n // handle first and last key separately, for better readability\n const keyIndex = keys.indexOf(key);\n if (keyIndex === 0) {\n return up(keys[1]);\n }\n if (keyIndex === keys.length - 1) {\n return down(keys[keyIndex]);\n }\n return between(key, keys[keys.indexOf(key) + 1]).replace('@media', '@media not all and');\n }\n return {\n keys,\n values: sortedValues,\n up,\n down,\n between,\n only,\n not,\n unit,\n ...other\n };\n}","import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\n/**\n * For using in `sx` prop to sort the breakpoint from low to high.\n * Note: this function does not work and will not support multiple units.\n * e.g. input: { '@container (min-width:300px)': '1rem', '@container (min-width:40rem)': '2rem' }\n * output: { '@container (min-width:40rem)': '2rem', '@container (min-width:300px)': '1rem' } // since 40 < 300 eventhough 40rem > 300px\n */\nexport function sortContainerQueries(theme, css) {\n if (!theme.containerQueries) {\n return css;\n }\n const sorted = Object.keys(css).filter(key => key.startsWith('@container')).sort((a, b) => {\n const regex = /min-width:\\s*([0-9.]+)/;\n return +(a.match(regex)?.[1] || 0) - +(b.match(regex)?.[1] || 0);\n });\n if (!sorted.length) {\n return css;\n }\n return sorted.reduce((acc, key) => {\n const value = css[key];\n delete acc[key];\n acc[key] = value;\n return acc;\n }, {\n ...css\n });\n}\nexport function isCqShorthand(breakpointKeys, value) {\n return value === '@' || value.startsWith('@') && (breakpointKeys.some(key => value.startsWith(`@${key}`)) || !!value.match(/^@\\d/));\n}\nexport function getContainerQuery(theme, shorthand) {\n const matches = shorthand.match(/^@([^/]+)?\\/?(.+)?$/);\n if (!matches) {\n if (process.env.NODE_ENV !== 'production') {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: The provided shorthand ${`(${shorthand})`} is invalid. The format should be \\`@\\` or \\`@/\\`.\nFor example, \\`@sm\\` or \\`@600\\` or \\`@40rem/sidebar\\`.` : _formatMuiErrorMessage(18, `(${shorthand})`));\n }\n return null;\n }\n const [, containerQuery, containerName] = matches;\n const value = Number.isNaN(+containerQuery) ? containerQuery || 0 : +containerQuery;\n return theme.containerQueries(containerName).up(value);\n}\nexport default function cssContainerQueries(themeInput) {\n const toContainerQuery = (mediaQuery, name) => mediaQuery.replace('@media', name ? `@container ${name}` : '@container');\n function attachCq(node, name) {\n node.up = (...args) => toContainerQuery(themeInput.breakpoints.up(...args), name);\n node.down = (...args) => toContainerQuery(themeInput.breakpoints.down(...args), name);\n node.between = (...args) => toContainerQuery(themeInput.breakpoints.between(...args), name);\n node.only = (...args) => toContainerQuery(themeInput.breakpoints.only(...args), name);\n node.not = (...args) => {\n const result = toContainerQuery(themeInput.breakpoints.not(...args), name);\n if (result.includes('not all and')) {\n // `@container` does not work with `not all and`, so need to invert the logic\n return result.replace('not all and ', '').replace('min-width:', 'width<').replace('max-width:', 'width>').replace('and', 'or');\n }\n return result;\n };\n }\n const node = {};\n const containerQueries = name => {\n attachCq(node, name);\n return node;\n };\n attachCq(containerQueries);\n return {\n ...themeInput,\n containerQueries\n };\n}","const shape = {\n borderRadius: 4\n};\nexport default shape;","import deepmerge from '@mui/utils/deepmerge';\nfunction merge(acc, item) {\n if (!item) {\n return acc;\n }\n return deepmerge(acc, item, {\n clone: false // No need to clone deep, it's way faster.\n });\n}\nexport default merge;","import PropTypes from 'prop-types';\nimport deepmerge from '@mui/utils/deepmerge';\nimport merge from \"../merge/index.js\";\nimport { isCqShorthand, getContainerQuery } from \"../cssContainerQueries/index.js\";\n\n// The breakpoint **start** at this value.\n// For instance with the first breakpoint xs: [xs, sm[.\nexport const values = {\n xs: 0,\n // phone\n sm: 600,\n // tablet\n md: 900,\n // small laptop\n lg: 1200,\n // desktop\n xl: 1536 // large screen\n};\nconst defaultBreakpoints = {\n // Sorted ASC by size. That's important.\n // It can't be configured as it's used statically for propTypes.\n keys: ['xs', 'sm', 'md', 'lg', 'xl'],\n up: key => `@media (min-width:${values[key]}px)`\n};\nconst defaultContainerQueries = {\n containerQueries: containerName => ({\n up: key => {\n let result = typeof key === 'number' ? key : values[key] || key;\n if (typeof result === 'number') {\n result = `${result}px`;\n }\n return containerName ? `@container ${containerName} (min-width:${result})` : `@container (min-width:${result})`;\n }\n })\n};\nexport function handleBreakpoints(props, propValue, styleFromPropValue) {\n const theme = props.theme || {};\n if (Array.isArray(propValue)) {\n const themeBreakpoints = theme.breakpoints || defaultBreakpoints;\n return propValue.reduce((acc, item, index) => {\n acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]);\n return acc;\n }, {});\n }\n if (typeof propValue === 'object') {\n const themeBreakpoints = theme.breakpoints || defaultBreakpoints;\n return Object.keys(propValue).reduce((acc, breakpoint) => {\n if (isCqShorthand(themeBreakpoints.keys, breakpoint)) {\n const containerKey = getContainerQuery(theme.containerQueries ? theme : defaultContainerQueries, breakpoint);\n if (containerKey) {\n acc[containerKey] = styleFromPropValue(propValue[breakpoint], breakpoint);\n }\n }\n // key is breakpoint\n else if (Object.keys(themeBreakpoints.values || values).includes(breakpoint)) {\n const mediaKey = themeBreakpoints.up(breakpoint);\n acc[mediaKey] = styleFromPropValue(propValue[breakpoint], breakpoint);\n } else {\n const cssKey = breakpoint;\n acc[cssKey] = propValue[cssKey];\n }\n return acc;\n }, {});\n }\n const output = styleFromPropValue(propValue);\n return output;\n}\nfunction breakpoints(styleFunction) {\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const newStyleFunction = props => {\n const theme = props.theme || {};\n const base = styleFunction(props);\n const themeBreakpoints = theme.breakpoints || defaultBreakpoints;\n const extended = themeBreakpoints.keys.reduce((acc, key) => {\n if (props[key]) {\n acc = acc || {};\n acc[themeBreakpoints.up(key)] = styleFunction({\n theme,\n ...props[key]\n });\n }\n return acc;\n }, null);\n return merge(base, extended);\n };\n newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? {\n ...styleFunction.propTypes,\n xs: PropTypes.object,\n sm: PropTypes.object,\n md: PropTypes.object,\n lg: PropTypes.object,\n xl: PropTypes.object\n } : {};\n newStyleFunction.filterProps = ['xs', 'sm', 'md', 'lg', 'xl', ...styleFunction.filterProps];\n return newStyleFunction;\n}\nexport function createEmptyBreakpointObject(breakpointsInput = {}) {\n const breakpointsInOrder = breakpointsInput.keys?.reduce((acc, key) => {\n const breakpointStyleKey = breakpointsInput.up(key);\n acc[breakpointStyleKey] = {};\n return acc;\n }, {});\n return breakpointsInOrder || {};\n}\nexport function removeUnusedBreakpoints(breakpointKeys, style) {\n return breakpointKeys.reduce((acc, key) => {\n const breakpointOutput = acc[key];\n const isBreakpointUnused = !breakpointOutput || Object.keys(breakpointOutput).length === 0;\n if (isBreakpointUnused) {\n delete acc[key];\n }\n return acc;\n }, style);\n}\nexport function mergeBreakpointsInOrder(breakpointsInput, ...styles) {\n const emptyBreakpoints = createEmptyBreakpointObject(breakpointsInput);\n const mergedOutput = [emptyBreakpoints, ...styles].reduce((prev, next) => deepmerge(prev, next), {});\n return removeUnusedBreakpoints(Object.keys(emptyBreakpoints), mergedOutput);\n}\n\n// compute base for responsive values; e.g.,\n// [1,2,3] => {xs: true, sm: true, md: true}\n// {xs: 1, sm: 2, md: 3} => {xs: true, sm: true, md: true}\nexport function computeBreakpointsBase(breakpointValues, themeBreakpoints) {\n // fixed value\n if (typeof breakpointValues !== 'object') {\n return {};\n }\n const base = {};\n const breakpointsKeys = Object.keys(themeBreakpoints);\n if (Array.isArray(breakpointValues)) {\n breakpointsKeys.forEach((breakpoint, i) => {\n if (i < breakpointValues.length) {\n base[breakpoint] = true;\n }\n });\n } else {\n breakpointsKeys.forEach(breakpoint => {\n if (breakpointValues[breakpoint] != null) {\n base[breakpoint] = true;\n }\n });\n }\n return base;\n}\nexport function resolveBreakpointValues({\n values: breakpointValues,\n breakpoints: themeBreakpoints,\n base: customBase\n}) {\n const base = customBase || computeBreakpointsBase(breakpointValues, themeBreakpoints);\n const keys = Object.keys(base);\n if (keys.length === 0) {\n return breakpointValues;\n }\n let previous;\n return keys.reduce((acc, breakpoint, i) => {\n if (Array.isArray(breakpointValues)) {\n acc[breakpoint] = breakpointValues[i] != null ? breakpointValues[i] : breakpointValues[previous];\n previous = i;\n } else if (typeof breakpointValues === 'object') {\n acc[breakpoint] = breakpointValues[breakpoint] != null ? breakpointValues[breakpoint] : breakpointValues[previous];\n previous = breakpoint;\n } else {\n acc[breakpoint] = breakpointValues;\n }\n return acc;\n }, {});\n}\nexport default breakpoints;","import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\n// It should to be noted that this function isn't equivalent to `text-transform: capitalize`.\n//\n// A strict capitalization should uppercase the first letter of each word in the sentence.\n// We only handle the first word.\nexport default function capitalize(string) {\n if (typeof string !== 'string') {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: \\`capitalize(string)\\` expects a string argument.` : _formatMuiErrorMessage(7));\n }\n return string.charAt(0).toUpperCase() + string.slice(1);\n}","import capitalize from '@mui/utils/capitalize';\nimport responsivePropType from \"../responsivePropType/index.js\";\nimport { handleBreakpoints } from \"../breakpoints/index.js\";\nexport function getPath(obj, path, checkVars = true) {\n if (!path || typeof path !== 'string') {\n return null;\n }\n\n // Check if CSS variables are used\n if (obj && obj.vars && checkVars) {\n const val = `vars.${path}`.split('.').reduce((acc, item) => acc && acc[item] ? acc[item] : null, obj);\n if (val != null) {\n return val;\n }\n }\n return path.split('.').reduce((acc, item) => {\n if (acc && acc[item] != null) {\n return acc[item];\n }\n return null;\n }, obj);\n}\nexport function getStyleValue(themeMapping, transform, propValueFinal, userValue = propValueFinal) {\n let value;\n if (typeof themeMapping === 'function') {\n value = themeMapping(propValueFinal);\n } else if (Array.isArray(themeMapping)) {\n value = themeMapping[propValueFinal] || userValue;\n } else {\n value = getPath(themeMapping, propValueFinal) || userValue;\n }\n if (transform) {\n value = transform(value, userValue, themeMapping);\n }\n return value;\n}\nfunction style(options) {\n const {\n prop,\n cssProperty = options.prop,\n themeKey,\n transform\n } = options;\n\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const fn = props => {\n if (props[prop] == null) {\n return null;\n }\n const propValue = props[prop];\n const theme = props.theme;\n const themeMapping = getPath(theme, themeKey) || {};\n const styleFromPropValue = propValueFinal => {\n let value = getStyleValue(themeMapping, transform, propValueFinal);\n if (propValueFinal === value && typeof propValueFinal === 'string') {\n // Haven't found value\n value = getStyleValue(themeMapping, transform, `${prop}${propValueFinal === 'default' ? '' : capitalize(propValueFinal)}`, propValueFinal);\n }\n if (cssProperty === false) {\n return value;\n }\n return {\n [cssProperty]: value\n };\n };\n return handleBreakpoints(props, propValue, styleFromPropValue);\n };\n fn.propTypes = process.env.NODE_ENV !== 'production' ? {\n [prop]: responsivePropType\n } : {};\n fn.filterProps = [prop];\n return fn;\n}\nexport default style;","export default function memoize(fn) {\n const cache = {};\n return arg => {\n if (cache[arg] === undefined) {\n cache[arg] = fn(arg);\n }\n return cache[arg];\n };\n}","import responsivePropType from \"../responsivePropType/index.js\";\nimport { handleBreakpoints } from \"../breakpoints/index.js\";\nimport { getPath } from \"../style/index.js\";\nimport merge from \"../merge/index.js\";\nimport memoize from \"../memoize/index.js\";\nconst properties = {\n m: 'margin',\n p: 'padding'\n};\nconst directions = {\n t: 'Top',\n r: 'Right',\n b: 'Bottom',\n l: 'Left',\n x: ['Left', 'Right'],\n y: ['Top', 'Bottom']\n};\nconst aliases = {\n marginX: 'mx',\n marginY: 'my',\n paddingX: 'px',\n paddingY: 'py'\n};\n\n// memoize() impact:\n// From 300,000 ops/sec\n// To 350,000 ops/sec\nconst getCssProperties = memoize(prop => {\n // It's not a shorthand notation.\n if (prop.length > 2) {\n if (aliases[prop]) {\n prop = aliases[prop];\n } else {\n return [prop];\n }\n }\n const [a, b] = prop.split('');\n const property = properties[a];\n const direction = directions[b] || '';\n return Array.isArray(direction) ? direction.map(dir => property + dir) : [property + direction];\n});\nexport const marginKeys = ['m', 'mt', 'mr', 'mb', 'ml', 'mx', 'my', 'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'marginInline', 'marginInlineStart', 'marginInlineEnd', 'marginBlock', 'marginBlockStart', 'marginBlockEnd'];\nexport const paddingKeys = ['p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', 'padding', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'paddingX', 'paddingY', 'paddingInline', 'paddingInlineStart', 'paddingInlineEnd', 'paddingBlock', 'paddingBlockStart', 'paddingBlockEnd'];\nconst spacingKeys = [...marginKeys, ...paddingKeys];\nexport function createUnaryUnit(theme, themeKey, defaultValue, propName) {\n const themeSpacing = getPath(theme, themeKey, true) ?? defaultValue;\n if (typeof themeSpacing === 'number' || typeof themeSpacing === 'string') {\n return val => {\n if (typeof val === 'string') {\n return val;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (typeof val !== 'number') {\n console.error(`MUI: Expected ${propName} argument to be a number or a string, got ${val}.`);\n }\n }\n if (typeof themeSpacing === 'string') {\n return `calc(${val} * ${themeSpacing})`;\n }\n return themeSpacing * val;\n };\n }\n if (Array.isArray(themeSpacing)) {\n return val => {\n if (typeof val === 'string') {\n return val;\n }\n const abs = Math.abs(val);\n if (process.env.NODE_ENV !== 'production') {\n if (!Number.isInteger(abs)) {\n console.error([`MUI: The \\`theme.${themeKey}\\` array type cannot be combined with non integer values.` + `You should either use an integer value that can be used as index, or define the \\`theme.${themeKey}\\` as a number.`].join('\\n'));\n } else if (abs > themeSpacing.length - 1) {\n console.error([`MUI: The value provided (${abs}) overflows.`, `The supported values are: ${JSON.stringify(themeSpacing)}.`, `${abs} > ${themeSpacing.length - 1}, you need to add the missing values.`].join('\\n'));\n }\n }\n const transformed = themeSpacing[abs];\n if (val >= 0) {\n return transformed;\n }\n if (typeof transformed === 'number') {\n return -transformed;\n }\n return `-${transformed}`;\n };\n }\n if (typeof themeSpacing === 'function') {\n return themeSpacing;\n }\n if (process.env.NODE_ENV !== 'production') {\n console.error([`MUI: The \\`theme.${themeKey}\\` value (${themeSpacing}) is invalid.`, 'It should be a number, an array or a function.'].join('\\n'));\n }\n return () => undefined;\n}\nexport function createUnarySpacing(theme) {\n return createUnaryUnit(theme, 'spacing', 8, 'spacing');\n}\nexport function getValue(transformer, propValue) {\n if (typeof propValue === 'string' || propValue == null) {\n return propValue;\n }\n return transformer(propValue);\n}\nexport function getStyleFromPropValue(cssProperties, transformer) {\n return propValue => cssProperties.reduce((acc, cssProperty) => {\n acc[cssProperty] = getValue(transformer, propValue);\n return acc;\n }, {});\n}\nfunction resolveCssProperty(props, keys, prop, transformer) {\n // Using a hash computation over an array iteration could be faster, but with only 28 items,\n // it's doesn't worth the bundle size.\n if (!keys.includes(prop)) {\n return null;\n }\n const cssProperties = getCssProperties(prop);\n const styleFromPropValue = getStyleFromPropValue(cssProperties, transformer);\n const propValue = props[prop];\n return handleBreakpoints(props, propValue, styleFromPropValue);\n}\nfunction style(props, keys) {\n const transformer = createUnarySpacing(props.theme);\n return Object.keys(props).map(prop => resolveCssProperty(props, keys, prop, transformer)).reduce(merge, {});\n}\nexport function margin(props) {\n return style(props, marginKeys);\n}\nmargin.propTypes = process.env.NODE_ENV !== 'production' ? marginKeys.reduce((obj, key) => {\n obj[key] = responsivePropType;\n return obj;\n}, {}) : {};\nmargin.filterProps = marginKeys;\nexport function padding(props) {\n return style(props, paddingKeys);\n}\npadding.propTypes = process.env.NODE_ENV !== 'production' ? paddingKeys.reduce((obj, key) => {\n obj[key] = responsivePropType;\n return obj;\n}, {}) : {};\npadding.filterProps = paddingKeys;\nfunction spacing(props) {\n return style(props, spacingKeys);\n}\nspacing.propTypes = process.env.NODE_ENV !== 'production' ? spacingKeys.reduce((obj, key) => {\n obj[key] = responsivePropType;\n return obj;\n}, {}) : {};\nspacing.filterProps = spacingKeys;\nexport default spacing;","import { createUnarySpacing } from \"../spacing/index.js\";\n\n// The different signatures imply different meaning for their arguments that can't be expressed structurally.\n// We express the difference with variable names.\n\nexport default function createSpacing(spacingInput = 8,\n// Material Design layouts are visually balanced. Most measurements align to an 8dp grid, which aligns both spacing and the overall layout.\n// Smaller components, such as icons, can align to a 4dp grid.\n// https://m2.material.io/design/layout/understanding-layout.html\ntransform = createUnarySpacing({\n spacing: spacingInput\n})) {\n // Already transformed.\n if (spacingInput.mui) {\n return spacingInput;\n }\n const spacing = (...argsInput) => {\n if (process.env.NODE_ENV !== 'production') {\n if (!(argsInput.length <= 4)) {\n console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${argsInput.length}`);\n }\n }\n const args = argsInput.length === 0 ? [1] : argsInput;\n return args.map(argument => {\n const output = transform(argument);\n return typeof output === 'number' ? `${output}px` : output;\n }).join(' ');\n };\n spacing.mui = true;\n return spacing;\n}","import merge from \"../merge/index.js\";\nfunction compose(...styles) {\n const handlers = styles.reduce((acc, style) => {\n style.filterProps.forEach(prop => {\n acc[prop] = style;\n });\n return acc;\n }, {});\n\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const fn = props => {\n return Object.keys(props).reduce((acc, prop) => {\n if (handlers[prop]) {\n return merge(acc, handlers[prop](props));\n }\n return acc;\n }, {});\n };\n fn.propTypes = process.env.NODE_ENV !== 'production' ? styles.reduce((acc, style) => Object.assign(acc, style.propTypes), {}) : {};\n fn.filterProps = styles.reduce((acc, style) => acc.concat(style.filterProps), []);\n return fn;\n}\nexport default compose;","import responsivePropType from \"../responsivePropType/index.js\";\nimport style from \"../style/index.js\";\nimport compose from \"../compose/index.js\";\nimport { createUnaryUnit, getValue } from \"../spacing/index.js\";\nimport { handleBreakpoints } from \"../breakpoints/index.js\";\nexport function borderTransform(value) {\n if (typeof value !== 'number') {\n return value;\n }\n return `${value}px solid`;\n}\nfunction createBorderStyle(prop, transform) {\n return style({\n prop,\n themeKey: 'borders',\n transform\n });\n}\nexport const border = createBorderStyle('border', borderTransform);\nexport const borderTop = createBorderStyle('borderTop', borderTransform);\nexport const borderRight = createBorderStyle('borderRight', borderTransform);\nexport const borderBottom = createBorderStyle('borderBottom', borderTransform);\nexport const borderLeft = createBorderStyle('borderLeft', borderTransform);\nexport const borderColor = createBorderStyle('borderColor');\nexport const borderTopColor = createBorderStyle('borderTopColor');\nexport const borderRightColor = createBorderStyle('borderRightColor');\nexport const borderBottomColor = createBorderStyle('borderBottomColor');\nexport const borderLeftColor = createBorderStyle('borderLeftColor');\nexport const outline = createBorderStyle('outline', borderTransform);\nexport const outlineColor = createBorderStyle('outlineColor');\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const borderRadius = props => {\n if (props.borderRadius !== undefined && props.borderRadius !== null) {\n const transformer = createUnaryUnit(props.theme, 'shape.borderRadius', 4, 'borderRadius');\n const styleFromPropValue = propValue => ({\n borderRadius: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.borderRadius, styleFromPropValue);\n }\n return null;\n};\nborderRadius.propTypes = process.env.NODE_ENV !== 'production' ? {\n borderRadius: responsivePropType\n} : {};\nborderRadius.filterProps = ['borderRadius'];\nconst borders = compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius, outline, outlineColor);\nexport default borders;","import style from \"../style/index.js\";\nimport compose from \"../compose/index.js\";\nimport { createUnaryUnit, getValue } from \"../spacing/index.js\";\nimport { handleBreakpoints } from \"../breakpoints/index.js\";\nimport responsivePropType from \"../responsivePropType/index.js\";\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const gap = props => {\n if (props.gap !== undefined && props.gap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'gap');\n const styleFromPropValue = propValue => ({\n gap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.gap, styleFromPropValue);\n }\n return null;\n};\ngap.propTypes = process.env.NODE_ENV !== 'production' ? {\n gap: responsivePropType\n} : {};\ngap.filterProps = ['gap'];\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const columnGap = props => {\n if (props.columnGap !== undefined && props.columnGap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'columnGap');\n const styleFromPropValue = propValue => ({\n columnGap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.columnGap, styleFromPropValue);\n }\n return null;\n};\ncolumnGap.propTypes = process.env.NODE_ENV !== 'production' ? {\n columnGap: responsivePropType\n} : {};\ncolumnGap.filterProps = ['columnGap'];\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const rowGap = props => {\n if (props.rowGap !== undefined && props.rowGap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'rowGap');\n const styleFromPropValue = propValue => ({\n rowGap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.rowGap, styleFromPropValue);\n }\n return null;\n};\nrowGap.propTypes = process.env.NODE_ENV !== 'production' ? {\n rowGap: responsivePropType\n} : {};\nrowGap.filterProps = ['rowGap'];\nexport const gridColumn = style({\n prop: 'gridColumn'\n});\nexport const gridRow = style({\n prop: 'gridRow'\n});\nexport const gridAutoFlow = style({\n prop: 'gridAutoFlow'\n});\nexport const gridAutoColumns = style({\n prop: 'gridAutoColumns'\n});\nexport const gridAutoRows = style({\n prop: 'gridAutoRows'\n});\nexport const gridTemplateColumns = style({\n prop: 'gridTemplateColumns'\n});\nexport const gridTemplateRows = style({\n prop: 'gridTemplateRows'\n});\nexport const gridTemplateAreas = style({\n prop: 'gridTemplateAreas'\n});\nexport const gridArea = style({\n prop: 'gridArea'\n});\nconst grid = compose(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);\nexport default grid;","import style from \"../style/index.js\";\nimport compose from \"../compose/index.js\";\nexport function paletteTransform(value, userValue) {\n if (userValue === 'grey') {\n return userValue;\n }\n return value;\n}\nexport const color = style({\n prop: 'color',\n themeKey: 'palette',\n transform: paletteTransform\n});\nexport const bgcolor = style({\n prop: 'bgcolor',\n cssProperty: 'backgroundColor',\n themeKey: 'palette',\n transform: paletteTransform\n});\nexport const backgroundColor = style({\n prop: 'backgroundColor',\n themeKey: 'palette',\n transform: paletteTransform\n});\nconst palette = compose(color, bgcolor, backgroundColor);\nexport default palette;","import style from \"../style/index.js\";\nimport compose from \"../compose/index.js\";\nimport { handleBreakpoints, values as breakpointsValues } from \"../breakpoints/index.js\";\nexport function sizingTransform(value) {\n return value <= 1 && value !== 0 ? `${value * 100}%` : value;\n}\nexport const width = style({\n prop: 'width',\n transform: sizingTransform\n});\nexport const maxWidth = props => {\n if (props.maxWidth !== undefined && props.maxWidth !== null) {\n const styleFromPropValue = propValue => {\n const breakpoint = props.theme?.breakpoints?.values?.[propValue] || breakpointsValues[propValue];\n if (!breakpoint) {\n return {\n maxWidth: sizingTransform(propValue)\n };\n }\n if (props.theme?.breakpoints?.unit !== 'px') {\n return {\n maxWidth: `${breakpoint}${props.theme.breakpoints.unit}`\n };\n }\n return {\n maxWidth: breakpoint\n };\n };\n return handleBreakpoints(props, props.maxWidth, styleFromPropValue);\n }\n return null;\n};\nmaxWidth.filterProps = ['maxWidth'];\nexport const minWidth = style({\n prop: 'minWidth',\n transform: sizingTransform\n});\nexport const height = style({\n prop: 'height',\n transform: sizingTransform\n});\nexport const maxHeight = style({\n prop: 'maxHeight',\n transform: sizingTransform\n});\nexport const minHeight = style({\n prop: 'minHeight',\n transform: sizingTransform\n});\nexport const sizeWidth = style({\n prop: 'size',\n cssProperty: 'width',\n transform: sizingTransform\n});\nexport const sizeHeight = style({\n prop: 'size',\n cssProperty: 'height',\n transform: sizingTransform\n});\nexport const boxSizing = style({\n prop: 'boxSizing'\n});\nconst sizing = compose(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);\nexport default sizing;","import { padding, margin } from \"../spacing/index.js\";\nimport { borderRadius, borderTransform } from \"../borders/index.js\";\nimport { gap, rowGap, columnGap } from \"../cssGrid/index.js\";\nimport { paletteTransform } from \"../palette/index.js\";\nimport { maxWidth, sizingTransform } from \"../sizing/index.js\";\nconst defaultSxConfig = {\n // borders\n border: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderTop: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderRight: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderBottom: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderLeft: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderColor: {\n themeKey: 'palette'\n },\n borderTopColor: {\n themeKey: 'palette'\n },\n borderRightColor: {\n themeKey: 'palette'\n },\n borderBottomColor: {\n themeKey: 'palette'\n },\n borderLeftColor: {\n themeKey: 'palette'\n },\n outline: {\n themeKey: 'borders',\n transform: borderTransform\n },\n outlineColor: {\n themeKey: 'palette'\n },\n borderRadius: {\n themeKey: 'shape.borderRadius',\n style: borderRadius\n },\n // palette\n color: {\n themeKey: 'palette',\n transform: paletteTransform\n },\n bgcolor: {\n themeKey: 'palette',\n cssProperty: 'backgroundColor',\n transform: paletteTransform\n },\n backgroundColor: {\n themeKey: 'palette',\n transform: paletteTransform\n },\n // spacing\n p: {\n style: padding\n },\n pt: {\n style: padding\n },\n pr: {\n style: padding\n },\n pb: {\n style: padding\n },\n pl: {\n style: padding\n },\n px: {\n style: padding\n },\n py: {\n style: padding\n },\n padding: {\n style: padding\n },\n paddingTop: {\n style: padding\n },\n paddingRight: {\n style: padding\n },\n paddingBottom: {\n style: padding\n },\n paddingLeft: {\n style: padding\n },\n paddingX: {\n style: padding\n },\n paddingY: {\n style: padding\n },\n paddingInline: {\n style: padding\n },\n paddingInlineStart: {\n style: padding\n },\n paddingInlineEnd: {\n style: padding\n },\n paddingBlock: {\n style: padding\n },\n paddingBlockStart: {\n style: padding\n },\n paddingBlockEnd: {\n style: padding\n },\n m: {\n style: margin\n },\n mt: {\n style: margin\n },\n mr: {\n style: margin\n },\n mb: {\n style: margin\n },\n ml: {\n style: margin\n },\n mx: {\n style: margin\n },\n my: {\n style: margin\n },\n margin: {\n style: margin\n },\n marginTop: {\n style: margin\n },\n marginRight: {\n style: margin\n },\n marginBottom: {\n style: margin\n },\n marginLeft: {\n style: margin\n },\n marginX: {\n style: margin\n },\n marginY: {\n style: margin\n },\n marginInline: {\n style: margin\n },\n marginInlineStart: {\n style: margin\n },\n marginInlineEnd: {\n style: margin\n },\n marginBlock: {\n style: margin\n },\n marginBlockStart: {\n style: margin\n },\n marginBlockEnd: {\n style: margin\n },\n // display\n displayPrint: {\n cssProperty: false,\n transform: value => ({\n '@media print': {\n display: value\n }\n })\n },\n display: {},\n overflow: {},\n textOverflow: {},\n visibility: {},\n whiteSpace: {},\n // flexbox\n flexBasis: {},\n flexDirection: {},\n flexWrap: {},\n justifyContent: {},\n alignItems: {},\n alignContent: {},\n order: {},\n flex: {},\n flexGrow: {},\n flexShrink: {},\n alignSelf: {},\n justifyItems: {},\n justifySelf: {},\n // grid\n gap: {\n style: gap\n },\n rowGap: {\n style: rowGap\n },\n columnGap: {\n style: columnGap\n },\n gridColumn: {},\n gridRow: {},\n gridAutoFlow: {},\n gridAutoColumns: {},\n gridAutoRows: {},\n gridTemplateColumns: {},\n gridTemplateRows: {},\n gridTemplateAreas: {},\n gridArea: {},\n // positions\n position: {},\n zIndex: {\n themeKey: 'zIndex'\n },\n top: {},\n right: {},\n bottom: {},\n left: {},\n // shadows\n boxShadow: {\n themeKey: 'shadows'\n },\n // sizing\n width: {\n transform: sizingTransform\n },\n maxWidth: {\n style: maxWidth\n },\n minWidth: {\n transform: sizingTransform\n },\n height: {\n transform: sizingTransform\n },\n maxHeight: {\n transform: sizingTransform\n },\n minHeight: {\n transform: sizingTransform\n },\n boxSizing: {},\n // typography\n font: {\n themeKey: 'font'\n },\n fontFamily: {\n themeKey: 'typography'\n },\n fontSize: {\n themeKey: 'typography'\n },\n fontStyle: {\n themeKey: 'typography'\n },\n fontWeight: {\n themeKey: 'typography'\n },\n letterSpacing: {},\n textTransform: {},\n lineHeight: {},\n textAlign: {},\n typography: {\n cssProperty: false,\n themeKey: 'typography'\n }\n};\nexport default defaultSxConfig;","import capitalize from '@mui/utils/capitalize';\nimport merge from \"../merge/index.js\";\nimport { getPath, getStyleValue as getValue } from \"../style/index.js\";\nimport { handleBreakpoints, createEmptyBreakpointObject, removeUnusedBreakpoints } from \"../breakpoints/index.js\";\nimport { sortContainerQueries } from \"../cssContainerQueries/index.js\";\nimport defaultSxConfig from \"./defaultSxConfig.js\";\nfunction objectsHaveSameKeys(...objects) {\n const allKeys = objects.reduce((keys, object) => keys.concat(Object.keys(object)), []);\n const union = new Set(allKeys);\n return objects.every(object => union.size === Object.keys(object).length);\n}\nfunction callIfFn(maybeFn, arg) {\n return typeof maybeFn === 'function' ? maybeFn(arg) : maybeFn;\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function unstable_createStyleFunctionSx() {\n function getThemeValue(prop, val, theme, config) {\n const props = {\n [prop]: val,\n theme\n };\n const options = config[prop];\n if (!options) {\n return {\n [prop]: val\n };\n }\n const {\n cssProperty = prop,\n themeKey,\n transform,\n style\n } = options;\n if (val == null) {\n return null;\n }\n\n // TODO v6: remove, see https://github.com/mui/material-ui/pull/38123\n if (themeKey === 'typography' && val === 'inherit') {\n return {\n [prop]: val\n };\n }\n const themeMapping = getPath(theme, themeKey) || {};\n if (style) {\n return style(props);\n }\n const styleFromPropValue = propValueFinal => {\n let value = getValue(themeMapping, transform, propValueFinal);\n if (propValueFinal === value && typeof propValueFinal === 'string') {\n // Haven't found value\n value = getValue(themeMapping, transform, `${prop}${propValueFinal === 'default' ? '' : capitalize(propValueFinal)}`, propValueFinal);\n }\n if (cssProperty === false) {\n return value;\n }\n return {\n [cssProperty]: value\n };\n };\n return handleBreakpoints(props, val, styleFromPropValue);\n }\n function styleFunctionSx(props) {\n const {\n sx,\n theme = {}\n } = props || {};\n if (!sx) {\n return null; // Emotion & styled-components will neglect null\n }\n const config = theme.unstable_sxConfig ?? defaultSxConfig;\n\n /*\n * Receive `sxInput` as object or callback\n * and then recursively check keys & values to create media query object styles.\n * (the result will be used in `styled`)\n */\n function traverse(sxInput) {\n let sxObject = sxInput;\n if (typeof sxInput === 'function') {\n sxObject = sxInput(theme);\n } else if (typeof sxInput !== 'object') {\n // value\n return sxInput;\n }\n if (!sxObject) {\n return null;\n }\n const emptyBreakpoints = createEmptyBreakpointObject(theme.breakpoints);\n const breakpointsKeys = Object.keys(emptyBreakpoints);\n let css = emptyBreakpoints;\n Object.keys(sxObject).forEach(styleKey => {\n const value = callIfFn(sxObject[styleKey], theme);\n if (value !== null && value !== undefined) {\n if (typeof value === 'object') {\n if (config[styleKey]) {\n css = merge(css, getThemeValue(styleKey, value, theme, config));\n } else {\n const breakpointsValues = handleBreakpoints({\n theme\n }, value, x => ({\n [styleKey]: x\n }));\n if (objectsHaveSameKeys(breakpointsValues, value)) {\n css[styleKey] = styleFunctionSx({\n sx: value,\n theme\n });\n } else {\n css = merge(css, breakpointsValues);\n }\n }\n } else {\n css = merge(css, getThemeValue(styleKey, value, theme, config));\n }\n }\n });\n return sortContainerQueries(theme, removeUnusedBreakpoints(breakpointsKeys, css));\n }\n return Array.isArray(sx) ? sx.map(traverse) : traverse(sx);\n }\n return styleFunctionSx;\n}\nconst styleFunctionSx = unstable_createStyleFunctionSx();\nstyleFunctionSx.filterProps = ['sx'];\nexport default styleFunctionSx;","/**\n * A universal utility to style components with multiple color modes. Always use it from the theme object.\n * It works with:\n * - [Basic theme](https://mui.com/material-ui/customization/dark-mode/)\n * - [CSS theme variables](https://mui.com/material-ui/customization/css-theme-variables/overview/)\n * - Zero-runtime engine\n *\n * Tips: Use an array over object spread and place `theme.applyStyles()` last.\n *\n * ✅ [{ background: '#e5e5e5' }, theme.applyStyles('dark', { background: '#1c1c1c' })]\n *\n * 🚫 { background: '#e5e5e5', ...theme.applyStyles('dark', { background: '#1c1c1c' })}\n *\n * @example\n * 1. using with `styled`:\n * ```jsx\n * const Component = styled('div')(({ theme }) => [\n * { background: '#e5e5e5' },\n * theme.applyStyles('dark', {\n * background: '#1c1c1c',\n * color: '#fff',\n * }),\n * ]);\n * ```\n *\n * @example\n * 2. using with `sx` prop:\n * ```jsx\n * [\n * { background: '#e5e5e5' },\n * theme.applyStyles('dark', {\n * background: '#1c1c1c',\n * color: '#fff',\n * }),\n * ]}\n * />\n * ```\n *\n * @example\n * 3. theming a component:\n * ```jsx\n * extendTheme({\n * components: {\n * MuiButton: {\n * styleOverrides: {\n * root: ({ theme }) => [\n * { background: '#e5e5e5' },\n * theme.applyStyles('dark', {\n * background: '#1c1c1c',\n * color: '#fff',\n * }),\n * ],\n * },\n * }\n * }\n * })\n *```\n */\nexport default function applyStyles(key, styles) {\n // @ts-expect-error this is 'any' type\n const theme = this;\n if (theme.vars) {\n if (!theme.colorSchemes?.[key] || typeof theme.getColorSchemeSelector !== 'function') {\n return {};\n }\n // If CssVarsProvider is used as a provider, returns '*:where({selector}) &'\n let selector = theme.getColorSchemeSelector(key);\n if (selector === '&') {\n return styles;\n }\n if (selector.includes('data-') || selector.includes('.')) {\n // '*' is required as a workaround for Emotion issue (https://github.com/emotion-js/emotion/issues/2836)\n selector = `*:where(${selector.replace(/\\s*&$/, '')}) &`;\n }\n return {\n [selector]: styles\n };\n }\n if (theme.palette.mode === key) {\n return styles;\n }\n return {};\n}","import deepmerge from '@mui/utils/deepmerge';\nimport createBreakpoints from \"../createBreakpoints/createBreakpoints.js\";\nimport cssContainerQueries from \"../cssContainerQueries/index.js\";\nimport shape from \"./shape.js\";\nimport createSpacing from \"./createSpacing.js\";\nimport styleFunctionSx from \"../styleFunctionSx/styleFunctionSx.js\";\nimport defaultSxConfig from \"../styleFunctionSx/defaultSxConfig.js\";\nimport applyStyles from \"./applyStyles.js\";\nfunction createTheme(options = {}, ...args) {\n const {\n breakpoints: breakpointsInput = {},\n palette: paletteInput = {},\n spacing: spacingInput,\n shape: shapeInput = {},\n ...other\n } = options;\n const breakpoints = createBreakpoints(breakpointsInput);\n const spacing = createSpacing(spacingInput);\n let muiTheme = deepmerge({\n breakpoints,\n direction: 'ltr',\n components: {},\n // Inject component definitions.\n palette: {\n mode: 'light',\n ...paletteInput\n },\n spacing,\n shape: {\n ...shape,\n ...shapeInput\n }\n }, other);\n muiTheme = cssContainerQueries(muiTheme);\n muiTheme.applyStyles = applyStyles;\n muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);\n muiTheme.unstable_sxConfig = {\n ...defaultSxConfig,\n ...other?.unstable_sxConfig\n };\n muiTheme.unstable_sx = function sx(props) {\n return styleFunctionSx({\n sx: props,\n theme: this\n });\n };\n return muiTheme;\n}\nexport default createTheme;","'use client';\n\nimport * as React from 'react';\nimport { ThemeContext } from '@mui/styled-engine';\nfunction isObjectEmpty(obj) {\n return Object.keys(obj).length === 0;\n}\nfunction useTheme(defaultTheme = null) {\n const contextTheme = React.useContext(ThemeContext);\n return !contextTheme || isObjectEmpty(contextTheme) ? defaultTheme : contextTheme;\n}\nexport default useTheme;","'use client';\n\nimport createTheme from \"../createTheme/index.js\";\nimport useThemeWithoutDefault from \"../useThemeWithoutDefault/index.js\";\nexport const systemDefaultTheme = createTheme();\nfunction useTheme(defaultTheme = systemDefaultTheme) {\n return useThemeWithoutDefault(defaultTheme);\n}\nexport default useTheme;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { GlobalStyles as MuiGlobalStyles } from '@mui/styled-engine';\nimport useTheme from \"../useTheme/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction GlobalStyles({\n styles,\n themeId,\n defaultTheme = {}\n}) {\n const upperTheme = useTheme(defaultTheme);\n const globalStyles = typeof styles === 'function' ? styles(themeId ? upperTheme[themeId] || upperTheme : upperTheme) : styles;\n return /*#__PURE__*/_jsx(MuiGlobalStyles, {\n styles: globalStyles\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? GlobalStyles.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n defaultTheme: PropTypes.object,\n /**\n * @ignore\n */\n styles: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.array, PropTypes.func, PropTypes.number, PropTypes.object, PropTypes.string, PropTypes.bool]),\n /**\n * @ignore\n */\n themeId: PropTypes.string\n} : void 0;\nexport default GlobalStyles;","import { isPlainObject } from '@mui/utils/deepmerge';\nimport defaultSxConfig from \"./defaultSxConfig.js\";\nconst splitProps = props => {\n const result = {\n systemProps: {},\n otherProps: {}\n };\n const config = props?.theme?.unstable_sxConfig ?? defaultSxConfig;\n Object.keys(props).forEach(prop => {\n if (config[prop]) {\n result.systemProps[prop] = props[prop];\n } else {\n result.otherProps[prop] = props[prop];\n }\n });\n return result;\n};\nexport default function extendSxProp(props) {\n const {\n sx: inSx,\n ...other\n } = props;\n const {\n systemProps,\n otherProps\n } = splitProps(other);\n let finalSx;\n if (Array.isArray(inSx)) {\n finalSx = [systemProps, ...inSx];\n } else if (typeof inSx === 'function') {\n finalSx = (...args) => {\n const result = inSx(...args);\n if (!isPlainObject(result)) {\n return systemProps;\n }\n return {\n ...systemProps,\n ...result\n };\n };\n } else {\n finalSx = {\n ...systemProps,\n ...inSx\n };\n }\n return {\n ...otherProps,\n sx: finalSx\n };\n}","const defaultGenerator = componentName => componentName;\nconst createClassNameGenerator = () => {\n let generate = defaultGenerator;\n return {\n configure(generator) {\n generate = generator;\n },\n generate(componentName) {\n return generate(componentName);\n },\n reset() {\n generate = defaultGenerator;\n }\n };\n};\nconst ClassNameGenerator = createClassNameGenerator();\nexport default ClassNameGenerator;","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t prop !== 'theme' && prop !== 'sx' && prop !== 'as'\n })(styleFunctionSx);\n const Box = /*#__PURE__*/React.forwardRef(function Box(inProps, ref) {\n const theme = useTheme(defaultTheme);\n const {\n className,\n component = 'div',\n ...other\n } = extendSxProp(inProps);\n return /*#__PURE__*/_jsx(BoxRoot, {\n as: component,\n ref: ref,\n className: clsx(className, generateClassName ? generateClassName(defaultClassName) : defaultClassName),\n theme: themeId ? theme[themeId] || theme : theme,\n ...other\n });\n });\n return Box;\n}","import ClassNameGenerator from \"../ClassNameGenerator/index.js\";\nexport const globalStateClasses = {\n active: 'active',\n checked: 'checked',\n completed: 'completed',\n disabled: 'disabled',\n error: 'error',\n expanded: 'expanded',\n focused: 'focused',\n focusVisible: 'focusVisible',\n open: 'open',\n readOnly: 'readOnly',\n required: 'required',\n selected: 'selected'\n};\nexport default function generateUtilityClass(componentName, slot, globalStatePrefix = 'Mui') {\n const globalStateClass = globalStateClasses[slot];\n return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator.generate(componentName)}-${slot}`;\n}\nexport function isGlobalState(slot) {\n return globalStateClasses[slot] !== undefined;\n}","import generateUtilityClass from \"../generateUtilityClass/index.js\";\nexport default function generateUtilityClasses(componentName, slots, globalStatePrefix = 'Mui') {\n const result = {};\n slots.forEach(slot => {\n result[slot] = generateUtilityClass(componentName, slot, globalStatePrefix);\n });\n return result;\n}","/**\n * @license React\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var b=Symbol.for(\"react.element\"),c=Symbol.for(\"react.portal\"),d=Symbol.for(\"react.fragment\"),e=Symbol.for(\"react.strict_mode\"),f=Symbol.for(\"react.profiler\"),g=Symbol.for(\"react.provider\"),h=Symbol.for(\"react.context\"),k=Symbol.for(\"react.server_context\"),l=Symbol.for(\"react.forward_ref\"),m=Symbol.for(\"react.suspense\"),n=Symbol.for(\"react.suspense_list\"),p=Symbol.for(\"react.memo\"),q=Symbol.for(\"react.lazy\"),t=Symbol.for(\"react.offscreen\"),u;u=Symbol.for(\"react.module.reference\");\nfunction v(a){if(\"object\"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type,a){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof,a){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}exports.ContextConsumer=h;exports.ContextProvider=g;exports.Element=b;exports.ForwardRef=l;exports.Fragment=d;exports.Lazy=q;exports.Memo=p;exports.Portal=c;exports.Profiler=f;exports.StrictMode=e;exports.Suspense=m;\nexports.SuspenseList=n;exports.isAsyncMode=function(){return!1};exports.isConcurrentMode=function(){return!1};exports.isContextConsumer=function(a){return v(a)===h};exports.isContextProvider=function(a){return v(a)===g};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===b};exports.isForwardRef=function(a){return v(a)===l};exports.isFragment=function(a){return v(a)===d};exports.isLazy=function(a){return v(a)===q};exports.isMemo=function(a){return v(a)===p};\nexports.isPortal=function(a){return v(a)===c};exports.isProfiler=function(a){return v(a)===f};exports.isStrictMode=function(a){return v(a)===e};exports.isSuspense=function(a){return v(a)===m};exports.isSuspenseList=function(a){return v(a)===n};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===d||a===f||a===e||a===m||a===n||a===t||\"object\"===typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||void 0!==a.getModuleId)?!0:!1};exports.typeOf=v;\n","/* eslint-disable no-underscore-dangle */\nimport styledEngineStyled, { internal_processStyles as processStyles } from '@mui/styled-engine';\nimport { isPlainObject } from '@mui/utils/deepmerge';\nimport capitalize from '@mui/utils/capitalize';\nimport getDisplayName from '@mui/utils/getDisplayName';\nimport createTheme from \"../createTheme/index.js\";\nimport styleFunctionSx from \"../styleFunctionSx/index.js\";\nexport const systemDefaultTheme = createTheme();\n\n// Update /system/styled/#api in case if this changes\nexport function shouldForwardProp(prop) {\n return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';\n}\nfunction resolveTheme(themeId, theme, defaultTheme) {\n return isObjectEmpty(theme) ? defaultTheme : theme[themeId] || theme;\n}\nconst PROCESSED_PROPS = Symbol('mui.processed_props');\nfunction attachTheme(props, themeId, defaultTheme) {\n if (PROCESSED_PROPS in props) {\n return props[PROCESSED_PROPS];\n }\n const processedProps = {\n ...props,\n theme: resolveTheme(themeId, props.theme, defaultTheme)\n };\n props[PROCESSED_PROPS] = processedProps;\n processedProps[PROCESSED_PROPS] = processedProps;\n return processedProps;\n}\nfunction defaultOverridesResolver(slot) {\n if (!slot) {\n return null;\n }\n return (_props, styles) => styles[slot];\n}\nfunction processStyle(style, props) {\n const resolvedStyle = typeof style === 'function' ? style(props) : style;\n if (Array.isArray(resolvedStyle)) {\n return resolvedStyle.flatMap(subStyle => processStyle(subStyle, props));\n }\n if (Array.isArray(resolvedStyle?.variants)) {\n const {\n variants,\n ...otherStyles\n } = resolvedStyle;\n let result = otherStyles;\n let mergedState; // We might not need it, initalized lazily\n\n /* eslint-disable no-labels */\n variantLoop: for (let i = 0; i < variants.length; i += 1) {\n const variant = variants[i];\n if (typeof variant.props === 'function') {\n mergedState ??= {\n ...props,\n ...props.ownerState,\n ownerState: props.ownerState\n };\n if (!variant.props(mergedState)) {\n continue;\n }\n } else {\n for (const key in variant.props) {\n if (props[key] !== variant.props[key] && props.ownerState?.[key] !== variant.props[key]) {\n continue variantLoop;\n }\n }\n }\n if (!Array.isArray(result)) {\n result = [result];\n }\n if (typeof variant.style === 'function') {\n mergedState ??= {\n ...props,\n ...props.ownerState,\n ownerState: props.ownerState\n };\n result.push(variant.style(mergedState));\n } else {\n result.push(variant.style);\n }\n }\n /* eslint-enable no-labels */\n\n return result;\n }\n return resolvedStyle;\n}\nexport default function createStyled(input = {}) {\n const {\n themeId,\n defaultTheme = systemDefaultTheme,\n rootShouldForwardProp = shouldForwardProp,\n slotShouldForwardProp = shouldForwardProp\n } = input;\n const systemSx = props => {\n return styleFunctionSx(attachTheme(props, themeId, defaultTheme));\n };\n systemSx.__mui_systemSx = true;\n const styled = (tag, inputOptions = {}) => {\n // Filter out the `sx` style function from the previous styled component to prevent unnecessary styles generated by the composite components.\n processStyles(tag, styles => styles.filter(style => !style?.__mui_systemSx));\n const {\n name: componentName,\n slot: componentSlot,\n skipVariantsResolver: inputSkipVariantsResolver,\n skipSx: inputSkipSx,\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot)),\n ...options\n } = inputOptions;\n\n // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.\n const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver :\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n componentSlot && componentSlot !== 'Root' && componentSlot !== 'root' || false;\n const skipSx = inputSkipSx || false;\n let label;\n if (process.env.NODE_ENV !== 'production') {\n if (componentName) {\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n label = `${componentName}-${lowercaseFirstLetter(componentSlot || 'Root')}`;\n }\n }\n let shouldForwardPropOption = shouldForwardProp;\n\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n if (componentSlot === 'Root' || componentSlot === 'root') {\n shouldForwardPropOption = rootShouldForwardProp;\n } else if (componentSlot) {\n // any other slot specified\n shouldForwardPropOption = slotShouldForwardProp;\n } else if (isStringTag(tag)) {\n // for string (html) tag, preserve the behavior in emotion & styled-components.\n shouldForwardPropOption = undefined;\n }\n const defaultStyledResolver = styledEngineStyled(tag, {\n shouldForwardProp: shouldForwardPropOption,\n label,\n ...options\n });\n const transformStyleArg = style => {\n // On the server Emotion doesn't use React.forwardRef for creating components, so the created\n // component stays as a function. This condition makes sure that we do not interpolate functions\n // which are basically components used as a selectors.\n if (typeof style === 'function' && style.__emotion_real !== style || isPlainObject(style)) {\n return props => processStyle(style, attachTheme(props, themeId, defaultTheme));\n }\n return style;\n };\n const muiStyledResolver = (style, ...expressions) => {\n let transformedStyle = transformStyleArg(style);\n const expressionsWithDefaultTheme = expressions ? expressions.map(transformStyleArg) : [];\n if (componentName && overridesResolver) {\n expressionsWithDefaultTheme.push(props => {\n const theme = resolveTheme(themeId, props.theme, defaultTheme);\n if (!theme.components || !theme.components[componentName] || !theme.components[componentName].styleOverrides) {\n return null;\n }\n const styleOverrides = theme.components[componentName].styleOverrides;\n const resolvedStyleOverrides = {};\n const propsWithTheme = attachTheme(props, themeId, defaultTheme);\n\n // TODO: v7 remove iteration and use `resolveStyleArg(styleOverrides[slot])` directly\n // eslint-disable-next-line guard-for-in\n for (const slotKey in styleOverrides) {\n resolvedStyleOverrides[slotKey] = processStyle(styleOverrides[slotKey], propsWithTheme);\n }\n return overridesResolver(props, resolvedStyleOverrides);\n });\n }\n if (componentName && !skipVariantsResolver) {\n expressionsWithDefaultTheme.push(props => {\n const theme = resolveTheme(themeId, props.theme, defaultTheme);\n const themeVariants = theme?.components?.[componentName]?.variants;\n if (!themeVariants) {\n return null;\n }\n return processStyle({\n variants: themeVariants\n }, attachTheme(props, themeId, defaultTheme));\n });\n }\n if (!skipSx) {\n expressionsWithDefaultTheme.push(systemSx);\n }\n const numOfCustomFnsApplied = expressionsWithDefaultTheme.length - expressions.length;\n if (Array.isArray(style) && numOfCustomFnsApplied > 0) {\n const placeholders = new Array(numOfCustomFnsApplied).fill('');\n // If the type is array, than we need to add placeholders in the template for the overrides, variants and the sx styles.\n transformedStyle = [...style, ...placeholders];\n transformedStyle.raw = [...style.raw, ...placeholders];\n }\n const Component = defaultStyledResolver(transformedStyle, ...expressionsWithDefaultTheme);\n if (process.env.NODE_ENV !== 'production') {\n let displayName;\n if (componentName) {\n displayName = `${componentName}${capitalize(componentSlot || '')}`;\n }\n if (displayName === undefined) {\n displayName = `Styled(${getDisplayName(tag)})`;\n }\n Component.displayName = displayName;\n }\n if (tag.muiName) {\n Component.muiName = tag.muiName;\n }\n return Component;\n };\n if (defaultStyledResolver.withConfig) {\n muiStyledResolver.withConfig = defaultStyledResolver.withConfig;\n }\n return muiStyledResolver;\n };\n return styled;\n}\nfunction isObjectEmpty(object) {\n // eslint-disable-next-line\n for (const _ in object) {\n return false;\n }\n return true;\n}\n\n// https://github.com/emotion-js/emotion/blob/26ded6109fcd8ca9875cc2ce4564fee678a3f3c5/packages/styled/src/utils.js#L40\nfunction isStringTag(tag) {\n return typeof tag === 'string' &&\n // 96 is one less than the char code\n // for \"a\" so this is checking that\n // it's a lowercase character\n tag.charCodeAt(0) > 96;\n}\nfunction lowercaseFirstLetter(string) {\n if (!string) {\n return string;\n }\n return string.charAt(0).toLowerCase() + string.slice(1);\n}","import createStyled from \"../createStyled/index.js\";\nconst styled = createStyled();\nexport default styled;","/**\n * Add keys, values of `defaultProps` that does not exist in `props`\n * @param defaultProps\n * @param props\n * @returns resolved props\n */\nexport default function resolveProps(defaultProps, props) {\n const output = {\n ...props\n };\n for (const key in defaultProps) {\n if (Object.prototype.hasOwnProperty.call(defaultProps, key)) {\n const propName = key;\n if (propName === 'components' || propName === 'slots') {\n output[propName] = {\n ...defaultProps[propName],\n ...output[propName]\n };\n } else if (propName === 'componentsProps' || propName === 'slotProps') {\n const defaultSlotProps = defaultProps[propName];\n const slotProps = props[propName];\n if (!slotProps) {\n output[propName] = defaultSlotProps || {};\n } else if (!defaultSlotProps) {\n output[propName] = slotProps;\n } else {\n output[propName] = {\n ...slotProps\n };\n for (const slotKey in defaultSlotProps) {\n if (Object.prototype.hasOwnProperty.call(defaultSlotProps, slotKey)) {\n const slotPropName = slotKey;\n output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName]);\n }\n }\n }\n } else if (output[propName] === undefined) {\n output[propName] = defaultProps[propName];\n }\n }\n }\n return output;\n}","import resolveProps from '@mui/utils/resolveProps';\nexport default function getThemeProps(params) {\n const {\n theme,\n name,\n props\n } = params;\n if (!theme || !theme.components || !theme.components[name] || !theme.components[name].defaultProps) {\n return props;\n }\n return resolveProps(theme.components[name].defaultProps, props);\n}","'use client';\n\nimport getThemeProps from \"./getThemeProps.js\";\nimport useTheme from \"../useTheme/index.js\";\nexport default function useThemeProps({\n props,\n name,\n defaultTheme,\n themeId\n}) {\n let theme = useTheme(defaultTheme);\n if (themeId) {\n theme = theme[themeId] || theme;\n }\n return getThemeProps({\n theme,\n name,\n props\n });\n}","'use client';\n\nimport * as React from 'react';\n\n/**\n * A version of `React.useLayoutEffect` that does not show a warning when server-side rendering.\n * This is useful for effects that are only needed for client-side rendering but not for SSR.\n *\n * Before you use this hook, make sure to read https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85\n * and confirm it doesn't apply to your use-case.\n */\nconst useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\nexport default useEnhancedEffect;","'use client';\n\nimport * as React from 'react';\nimport useEnhancedEffect from '@mui/utils/useEnhancedEffect';\nimport { getThemeProps } from \"../useThemeProps/index.js\";\nimport useTheme from \"../useThemeWithoutDefault/index.js\";\n// TODO React 17: Remove `useMediaQueryOld` once React 17 support is removed\nfunction useMediaQueryOld(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr) {\n const [match, setMatch] = React.useState(() => {\n if (noSsr && matchMedia) {\n return matchMedia(query).matches;\n }\n if (ssrMatchMedia) {\n return ssrMatchMedia(query).matches;\n }\n\n // Once the component is mounted, we rely on the\n // event listeners to return the correct matches value.\n return defaultMatches;\n });\n useEnhancedEffect(() => {\n if (!matchMedia) {\n return undefined;\n }\n const queryList = matchMedia(query);\n const updateMatch = () => {\n setMatch(queryList.matches);\n };\n updateMatch();\n queryList.addEventListener('change', updateMatch);\n return () => {\n queryList.removeEventListener('change', updateMatch);\n };\n }, [query, matchMedia]);\n return match;\n}\n\n// See https://github.com/mui/material-ui/issues/41190#issuecomment-2040873379 for why\nconst safeReact = {\n ...React\n};\nconst maybeReactUseSyncExternalStore = safeReact.useSyncExternalStore;\nfunction useMediaQueryNew(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr) {\n const getDefaultSnapshot = React.useCallback(() => defaultMatches, [defaultMatches]);\n const getServerSnapshot = React.useMemo(() => {\n if (noSsr && matchMedia) {\n return () => matchMedia(query).matches;\n }\n if (ssrMatchMedia !== null) {\n const {\n matches\n } = ssrMatchMedia(query);\n return () => matches;\n }\n return getDefaultSnapshot;\n }, [getDefaultSnapshot, query, ssrMatchMedia, noSsr, matchMedia]);\n const [getSnapshot, subscribe] = React.useMemo(() => {\n if (matchMedia === null) {\n return [getDefaultSnapshot, () => () => {}];\n }\n const mediaQueryList = matchMedia(query);\n return [() => mediaQueryList.matches, notify => {\n mediaQueryList.addEventListener('change', notify);\n return () => {\n mediaQueryList.removeEventListener('change', notify);\n };\n }];\n }, [getDefaultSnapshot, matchMedia, query]);\n const match = maybeReactUseSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);\n return match;\n}\nexport default function useMediaQuery(queryInput, options = {}) {\n const theme = useTheme();\n // Wait for jsdom to support the match media feature.\n // All the browsers MUI support have this built-in.\n // This defensive check is here for simplicity.\n // Most of the time, the match media logic isn't central to people tests.\n const supportMatchMedia = typeof window !== 'undefined' && typeof window.matchMedia !== 'undefined';\n const {\n defaultMatches = false,\n matchMedia = supportMatchMedia ? window.matchMedia : null,\n ssrMatchMedia = null,\n noSsr = false\n } = getThemeProps({\n name: 'MuiUseMediaQuery',\n props: options,\n theme\n });\n if (process.env.NODE_ENV !== 'production') {\n if (typeof queryInput === 'function' && theme === null) {\n console.error(['MUI: The `query` argument provided is invalid.', 'You are providing a function without a theme in the context.', 'One of the parent elements needs to use a ThemeProvider.'].join('\\n'));\n }\n }\n let query = typeof queryInput === 'function' ? queryInput(theme) : queryInput;\n query = query.replace(/^@media( ?)/m, '');\n const useMediaQueryImplementation = maybeReactUseSyncExternalStore !== undefined ? useMediaQueryNew : useMediaQueryOld;\n const match = useMediaQueryImplementation(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr);\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue({\n query,\n match\n });\n }\n return match;\n}","function clamp(val, min = Number.MIN_SAFE_INTEGER, max = Number.MAX_SAFE_INTEGER) {\n return Math.max(min, Math.min(val, max));\n}\nexport default clamp;","import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\n/* eslint-disable @typescript-eslint/naming-convention */\nimport clamp from '@mui/utils/clamp';\n/**\n * Returns a number whose value is limited to the given range.\n * @param {number} value The value to be clamped\n * @param {number} min The lower boundary of the output range\n * @param {number} max The upper boundary of the output range\n * @returns {number} A number in the range [min, max]\n */\nfunction clampWrapper(value, min = 0, max = 1) {\n if (process.env.NODE_ENV !== 'production') {\n if (value < min || value > max) {\n console.error(`MUI: The value provided ${value} is out of range [${min}, ${max}].`);\n }\n }\n return clamp(value, min, max);\n}\n\n/**\n * Converts a color from CSS hex format to CSS rgb format.\n * @param {string} color - Hex color, i.e. #nnn or #nnnnnn\n * @returns {string} A CSS rgb color string\n */\nexport function hexToRgb(color) {\n color = color.slice(1);\n const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, 'g');\n let colors = color.match(re);\n if (colors && colors[0].length === 1) {\n colors = colors.map(n => n + n);\n }\n return colors ? `rgb${colors.length === 4 ? 'a' : ''}(${colors.map((n, index) => {\n return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;\n }).join(', ')})` : '';\n}\nfunction intToHex(int) {\n const hex = int.toString(16);\n return hex.length === 1 ? `0${hex}` : hex;\n}\n\n/**\n * Returns an object with the type and values of a color.\n *\n * Note: Does not support rgb % values.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {object} - A MUI color object: {type: string, values: number[]}\n */\nexport function decomposeColor(color) {\n // Idempotent\n if (color.type) {\n return color;\n }\n if (color.charAt(0) === '#') {\n return decomposeColor(hexToRgb(color));\n }\n const marker = color.indexOf('(');\n const type = color.substring(0, marker);\n if (!['rgb', 'rgba', 'hsl', 'hsla', 'color'].includes(type)) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: Unsupported \\`${color}\\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : _formatMuiErrorMessage(9, color));\n }\n let values = color.substring(marker + 1, color.length - 1);\n let colorSpace;\n if (type === 'color') {\n values = values.split(' ');\n colorSpace = values.shift();\n if (values.length === 4 && values[3].charAt(0) === '/') {\n values[3] = values[3].slice(1);\n }\n if (!['srgb', 'display-p3', 'a98-rgb', 'prophoto-rgb', 'rec-2020'].includes(colorSpace)) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: unsupported \\`${colorSpace}\\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : _formatMuiErrorMessage(10, colorSpace));\n }\n } else {\n values = values.split(',');\n }\n values = values.map(value => parseFloat(value));\n return {\n type,\n values,\n colorSpace\n };\n}\n\n/**\n * Returns a channel created from the input color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {string} - The channel for the color, that can be used in rgba or hsla colors\n */\nexport const colorChannel = color => {\n const decomposedColor = decomposeColor(color);\n return decomposedColor.values.slice(0, 3).map((val, idx) => decomposedColor.type.includes('hsl') && idx !== 0 ? `${val}%` : val).join(' ');\n};\nexport const private_safeColorChannel = (color, warning) => {\n try {\n return colorChannel(color);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n};\n\n/**\n * Converts a color object with type and values to a string.\n * @param {object} color - Decomposed color\n * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla', 'color'\n * @param {array} color.values - [n,n,n] or [n,n,n,n]\n * @returns {string} A CSS color string\n */\nexport function recomposeColor(color) {\n const {\n type,\n colorSpace\n } = color;\n let {\n values\n } = color;\n if (type.includes('rgb')) {\n // Only convert the first 3 values to int (i.e. not alpha)\n values = values.map((n, i) => i < 3 ? parseInt(n, 10) : n);\n } else if (type.includes('hsl')) {\n values[1] = `${values[1]}%`;\n values[2] = `${values[2]}%`;\n }\n if (type.includes('color')) {\n values = `${colorSpace} ${values.join(' ')}`;\n } else {\n values = `${values.join(', ')}`;\n }\n return `${type}(${values})`;\n}\n\n/**\n * Converts a color from CSS rgb format to CSS hex format.\n * @param {string} color - RGB color, i.e. rgb(n, n, n)\n * @returns {string} A CSS rgb color string, i.e. #nnnnnn\n */\nexport function rgbToHex(color) {\n // Idempotent\n if (color.startsWith('#')) {\n return color;\n }\n const {\n values\n } = decomposeColor(color);\n return `#${values.map((n, i) => intToHex(i === 3 ? Math.round(255 * n) : n)).join('')}`;\n}\n\n/**\n * Converts a color from hsl format to rgb format.\n * @param {string} color - HSL color values\n * @returns {string} rgb color values\n */\nexport function hslToRgb(color) {\n color = decomposeColor(color);\n const {\n values\n } = color;\n const h = values[0];\n const s = values[1] / 100;\n const l = values[2] / 100;\n const a = s * Math.min(l, 1 - l);\n const f = (n, k = (n + h / 30) % 12) => l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n let type = 'rgb';\n const rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];\n if (color.type === 'hsla') {\n type += 'a';\n rgb.push(values[3]);\n }\n return recomposeColor({\n type,\n values: rgb\n });\n}\n/**\n * The relative brightness of any point in a color space,\n * normalized to 0 for darkest black and 1 for lightest white.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {number} The relative brightness of the color in the range 0 - 1\n */\nexport function getLuminance(color) {\n color = decomposeColor(color);\n let rgb = color.type === 'hsl' || color.type === 'hsla' ? decomposeColor(hslToRgb(color)).values : color.values;\n rgb = rgb.map(val => {\n if (color.type !== 'color') {\n val /= 255; // normalized\n }\n return val <= 0.03928 ? val / 12.92 : ((val + 0.055) / 1.055) ** 2.4;\n });\n\n // Truncate at 3 digits\n return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));\n}\n\n/**\n * Calculates the contrast ratio between two colors.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} A contrast ratio value in the range 0 - 21.\n */\nexport function getContrastRatio(foreground, background) {\n const lumA = getLuminance(foreground);\n const lumB = getLuminance(background);\n return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);\n}\n\n/**\n * Sets the absolute transparency of a color.\n * Any existing alpha values are overwritten.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} value - value to set the alpha channel to in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function alpha(color, value) {\n color = decomposeColor(color);\n value = clampWrapper(value);\n if (color.type === 'rgb' || color.type === 'hsl') {\n color.type += 'a';\n }\n if (color.type === 'color') {\n color.values[3] = `/${value}`;\n } else {\n color.values[3] = value;\n }\n return recomposeColor(color);\n}\nexport function private_safeAlpha(color, value, warning) {\n try {\n return alpha(color, value);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darkens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function darken(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.includes('hsl')) {\n color.values[2] *= 1 - coefficient;\n } else if (color.type.includes('rgb') || color.type.includes('color')) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] *= 1 - coefficient;\n }\n }\n return recomposeColor(color);\n}\nexport function private_safeDarken(color, coefficient, warning) {\n try {\n return darken(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Lightens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function lighten(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.includes('hsl')) {\n color.values[2] += (100 - color.values[2]) * coefficient;\n } else if (color.type.includes('rgb')) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (255 - color.values[i]) * coefficient;\n }\n } else if (color.type.includes('color')) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (1 - color.values[i]) * coefficient;\n }\n }\n return recomposeColor(color);\n}\nexport function private_safeLighten(color, coefficient, warning) {\n try {\n return lighten(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darken or lighten a color, depending on its luminance.\n * Light colors are darkened, dark colors are lightened.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient=0.15 - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function emphasize(color, coefficient = 0.15) {\n return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);\n}\nexport function private_safeEmphasize(color, coefficient, warning) {\n try {\n return emphasize(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Blend a transparent overlay color with a background color, resulting in a single\n * RGB color.\n * @param {string} background - CSS color\n * @param {string} overlay - CSS color\n * @param {number} opacity - Opacity multiplier in the range 0 - 1\n * @param {number} [gamma=1.0] - Gamma correction factor. For gamma-correct blending, 2.2 is usual.\n */\nexport function blend(background, overlay, opacity, gamma = 1.0) {\n const blendChannel = (b, o) => Math.round((b ** (1 / gamma) * (1 - opacity) + o ** (1 / gamma) * opacity) ** gamma);\n const backgroundColor = decomposeColor(background);\n const overlayColor = decomposeColor(overlay);\n const rgb = [blendChannel(backgroundColor.values[0], overlayColor.values[0]), blendChannel(backgroundColor.values[1], overlayColor.values[1]), blendChannel(backgroundColor.values[2], overlayColor.values[2])];\n return recomposeColor({\n type: 'rgb',\n values: rgb\n });\n}","/**\n * Safe chained function.\n *\n * Will only create a new function if needed,\n * otherwise will pass back existing functions or null.\n */\nexport default function createChainedFunction(...funcs) {\n return funcs.reduce((acc, func) => {\n if (func == null) {\n return acc;\n }\n return function chainedFunction(...args) {\n acc.apply(this, args);\n func.apply(this, args);\n };\n }, () => {});\n}","// Corresponds to 10 frames at 60 Hz.\n// A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B.\nexport default function debounce(func, wait = 166) {\n let timeout;\n function debounced(...args) {\n const later = () => {\n // @ts-ignore\n func.apply(this, args);\n };\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n }\n debounced.clear = () => {\n clearTimeout(timeout);\n };\n return debounced;\n}","import * as React from 'react';\nexport default function isMuiElement(element, muiNames) {\n return /*#__PURE__*/React.isValidElement(element) && muiNames.indexOf(\n // For server components `muiName` is avaialble in element.type._payload.value.muiName\n // relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45\n // eslint-disable-next-line no-underscore-dangle\n element.type.muiName ?? element.type?._payload?.value?.muiName) !== -1;\n}","export default function ownerDocument(node) {\n return node && node.ownerDocument || document;\n}","import ownerDocument from \"../ownerDocument/index.js\";\nexport default function ownerWindow(node) {\n const doc = ownerDocument(node);\n return doc.defaultView || window;\n}","/**\n * TODO v5: consider making it private\n *\n * passes {value} to {ref}\n *\n * WARNING: Be sure to only call this inside a callback that is passed as a ref.\n * Otherwise, make sure to cleanup the previous {ref} if it changes. See\n * https://github.com/mui/material-ui/issues/13539\n *\n * Useful if you want to expose the ref of an inner component to the public API\n * while still using it inside the component.\n * @param ref A ref callback or ref object. If anything falsy, this is a no-op.\n */\nexport default function setRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref) {\n ref.current = value;\n }\n}","'use client';\n\nimport * as React from 'react';\nlet globalId = 0;\n\n// TODO React 17: Remove `useGlobalId` once React 17 support is removed\nfunction useGlobalId(idOverride) {\n const [defaultId, setDefaultId] = React.useState(idOverride);\n const id = idOverride || defaultId;\n React.useEffect(() => {\n if (defaultId == null) {\n // Fallback to this default id when possible.\n // Use the incrementing value for client-side rendering only.\n // We can't use it server-side.\n // If you want to use random values please consider the Birthday Problem: https://en.wikipedia.org/wiki/Birthday_problem\n globalId += 1;\n setDefaultId(`mui-${globalId}`);\n }\n }, [defaultId]);\n return id;\n}\n\n// See https://github.com/mui/material-ui/issues/41190#issuecomment-2040873379 for why\nconst safeReact = {\n ...React\n};\nconst maybeReactUseId = safeReact.useId;\n\n/**\n *\n * @example
\n * @param idOverride\n * @returns {string}\n */\nexport default function useId(idOverride) {\n // React.useId() is only available from React 17.0.0.\n if (maybeReactUseId !== undefined) {\n const reactId = maybeReactUseId();\n return idOverride ?? reactId;\n }\n\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/rules-of-hooks -- `React.useId` is invariant at runtime.\n return useGlobalId(idOverride);\n}","'use client';\n\n// TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- process.env never changes, dependency arrays are intentionally ignored\n/* eslint-disable react-hooks/rules-of-hooks, react-hooks/exhaustive-deps */\nimport * as React from 'react';\nexport default function useControlled({\n controlled,\n default: defaultProp,\n name,\n state = 'value'\n}) {\n // isControlled is ignored in the hook dependency lists as it should never change.\n const {\n current: isControlled\n } = React.useRef(controlled !== undefined);\n const [valueState, setValue] = React.useState(defaultProp);\n const value = isControlled ? controlled : valueState;\n if (process.env.NODE_ENV !== 'production') {\n React.useEffect(() => {\n if (isControlled !== (controlled !== undefined)) {\n console.error([`MUI: A component is changing the ${isControlled ? '' : 'un'}controlled ${state} state of ${name} to be ${isControlled ? 'un' : ''}controlled.`, 'Elements should not switch from uncontrolled to controlled (or vice versa).', `Decide between using a controlled or uncontrolled ${name} ` + 'element for the lifetime of the component.', \"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.\", 'More info: https://fb.me/react-controlled-components'].join('\\n'));\n }\n }, [state, name, controlled]);\n const {\n current: defaultValue\n } = React.useRef(defaultProp);\n React.useEffect(() => {\n // Object.is() is not equivalent to the === operator.\n // See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is for more details.\n if (!isControlled && !Object.is(defaultValue, defaultProp)) {\n console.error([`MUI: A component is changing the default ${state} state of an uncontrolled ${name} after being initialized. ` + `To suppress this warning opt to use a controlled ${name}.`].join('\\n'));\n }\n }, [JSON.stringify(defaultProp)]);\n }\n const setValueIfUncontrolled = React.useCallback(newValue => {\n if (!isControlled) {\n setValue(newValue);\n }\n }, []);\n return [value, setValueIfUncontrolled];\n}","'use client';\n\nimport * as React from 'react';\nimport useEnhancedEffect from \"../useEnhancedEffect/index.js\";\n\n/**\n * Inspired by https://github.com/facebook/react/issues/14099#issuecomment-440013892\n * See RFC in https://github.com/reactjs/rfcs/pull/220\n */\n\nfunction useEventCallback(fn) {\n const ref = React.useRef(fn);\n useEnhancedEffect(() => {\n ref.current = fn;\n });\n return React.useRef((...args) =>\n // @ts-expect-error hide `this`\n (0, ref.current)(...args)).current;\n}\nexport default useEventCallback;","'use client';\n\nimport * as React from 'react';\nimport setRef from \"../setRef/index.js\";\nexport default function useForkRef(...refs) {\n /**\n * This will create a new function if the refs passed to this hook change and are all defined.\n * This means react will call the old forkRef with `null` and the new forkRef\n * with the ref. Cleanup naturally emerges from this behavior.\n */\n return React.useMemo(() => {\n if (refs.every(ref => ref == null)) {\n return null;\n }\n return instance => {\n refs.forEach(ref => {\n setRef(ref, instance);\n });\n };\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- intentionally ignoring that the dependency array must be an array literal\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, refs);\n}","'use client';\n\nimport * as React from 'react';\nconst UNINITIALIZED = {};\n\n/**\n * A React.useRef() that is initialized lazily with a function. Note that it accepts an optional\n * initialization argument, so the initialization function doesn't need to be an inline closure.\n *\n * @usage\n * const ref = useLazyRef(sortColumns, columns)\n */\nexport default function useLazyRef(init, initArg) {\n const ref = React.useRef(UNINITIALIZED);\n if (ref.current === UNINITIALIZED) {\n ref.current = init(initArg);\n }\n return ref;\n}","'use client';\n\nimport * as React from 'react';\nconst EMPTY = [];\n\n/**\n * A React.useEffect equivalent that runs once, when the component is mounted.\n */\nexport default function useOnMount(fn) {\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- no need to put `fn` in the dependency array\n /* eslint-disable react-hooks/exhaustive-deps */\n React.useEffect(fn, EMPTY);\n /* eslint-enable react-hooks/exhaustive-deps */\n}","'use client';\n\nimport useLazyRef from \"../useLazyRef/useLazyRef.js\";\nimport useOnMount from \"../useOnMount/useOnMount.js\";\nexport class Timeout {\n static create() {\n return new Timeout();\n }\n currentId = null;\n\n /**\n * Executes `fn` after `delay`, clearing any previously scheduled call.\n */\n start(delay, fn) {\n this.clear();\n this.currentId = setTimeout(() => {\n this.currentId = null;\n fn();\n }, delay);\n }\n clear = () => {\n if (this.currentId !== null) {\n clearTimeout(this.currentId);\n this.currentId = null;\n }\n };\n disposeEffect = () => {\n return this.clear;\n };\n}\nexport default function useTimeout() {\n const timeout = useLazyRef(Timeout.create).current;\n useOnMount(timeout.disposeEffect);\n return timeout;\n}","/**\n * Returns a boolean indicating if the event's target has :focus-visible\n */\nexport default function isFocusVisible(element) {\n try {\n return element.matches(':focus-visible');\n } catch (error) {\n // Do not warn on jsdom tests, otherwise all tests that rely on focus have to be skipped\n // Tests that rely on `:focus-visible` will still have to be skipped in jsdom\n if (process.env.NODE_ENV !== 'production' && !/jsdom/.test(window.navigator.userAgent)) {\n console.warn(['MUI: The `:focus-visible` pseudo class is not supported in this browser.', 'Some components rely on this feature to work properly.'].join('\\n'));\n }\n }\n return false;\n}","// A change of the browser zoom change the scrollbar size.\n// Credit https://github.com/twbs/bootstrap/blob/488fd8afc535ca3a6ad4dc581f5e89217b6a36ac/js/src/util/scrollbar.js#L14-L18\nexport default function getScrollbarSize(doc) {\n // https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth#usage_notes\n const documentWidth = doc.documentElement.clientWidth;\n return Math.abs(window.innerWidth - documentWidth);\n}","'use client';\n\nimport * as React from 'react';\nconst usePreviousProps = value => {\n const ref = React.useRef({});\n React.useEffect(() => {\n ref.current = value;\n });\n return ref.current;\n};\nexport default usePreviousProps;","import * as React from 'react';\n\n/**\n * Gets only the valid children of a component,\n * and ignores any nullish or falsy child.\n *\n * @param children the children\n */\nexport default function getValidReactChildren(children) {\n return React.Children.toArray(children).filter(child => /*#__PURE__*/React.isValidElement(child));\n}","const visuallyHidden = {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: '1px',\n margin: '-1px',\n overflow: 'hidden',\n padding: 0,\n position: 'absolute',\n whiteSpace: 'nowrap',\n width: '1px'\n};\nexport default visuallyHidden;","/* eslint no-restricted-syntax: 0, prefer-template: 0, guard-for-in: 0\n ---\n These rules are preventing the performance optimizations below.\n */\n\nexport default function composeClasses(slots, getUtilityClass, classes = undefined) {\n const output = {};\n for (const slotName in slots) {\n const slot = slots[slotName];\n let buffer = '';\n let start = true;\n for (let i = 0; i < slot.length; i += 1) {\n const value = slot[i];\n if (value) {\n buffer += (start === true ? '' : ' ') + getUtilityClass(value);\n start = false;\n if (classes && classes[value]) {\n buffer += ' ' + classes[value];\n }\n }\n }\n output[slotName] = buffer;\n }\n return output;\n}","/**\n * Determines if a given element is a DOM element name (i.e. not a React component).\n */\nfunction isHostComponent(element) {\n return typeof element === 'string';\n}\nexport default isHostComponent;","import isHostComponent from \"../isHostComponent/index.js\";\n\n/**\n * Type of the ownerState based on the type of an element it applies to.\n * This resolves to the provided OwnerState for React components and `undefined` for host components.\n * Falls back to `OwnerState | undefined` when the exact type can't be determined in development time.\n */\n\n/**\n * Appends the ownerState object to the props, merging with the existing one if necessary.\n *\n * @param elementType Type of the element that owns the `existingProps`. If the element is a DOM node or undefined, `ownerState` is not applied.\n * @param otherProps Props of the element.\n * @param ownerState\n */\nfunction appendOwnerState(elementType, otherProps, ownerState) {\n if (elementType === undefined || isHostComponent(elementType)) {\n return otherProps;\n }\n return {\n ...otherProps,\n ownerState: {\n ...otherProps.ownerState,\n ...ownerState\n }\n };\n}\nexport default appendOwnerState;","/**\n * Extracts event handlers from a given object.\n * A prop is considered an event handler if it is a function and its name starts with `on`.\n *\n * @param object An object to extract event handlers from.\n * @param excludeKeys An array of keys to exclude from the returned object.\n */\nfunction extractEventHandlers(object, excludeKeys = []) {\n if (object === undefined) {\n return {};\n }\n const result = {};\n Object.keys(object).filter(prop => prop.match(/^on[A-Z]/) && typeof object[prop] === 'function' && !excludeKeys.includes(prop)).forEach(prop => {\n result[prop] = object[prop];\n });\n return result;\n}\nexport default extractEventHandlers;","/**\n * Removes event handlers from the given object.\n * A field is considered an event handler if it is a function with a name beginning with `on`.\n *\n * @param object Object to remove event handlers from.\n * @returns Object with event handlers removed.\n */\nfunction omitEventHandlers(object) {\n if (object === undefined) {\n return {};\n }\n const result = {};\n Object.keys(object).filter(prop => !(prop.match(/^on[A-Z]/) && typeof object[prop] === 'function')).forEach(prop => {\n result[prop] = object[prop];\n });\n return result;\n}\nexport default omitEventHandlers;","import clsx from 'clsx';\nimport extractEventHandlers from \"../extractEventHandlers/index.js\";\nimport omitEventHandlers from \"../omitEventHandlers/index.js\";\n/**\n * Merges the slot component internal props (usually coming from a hook)\n * with the externally provided ones.\n *\n * The merge order is (the latter overrides the former):\n * 1. The internal props (specified as a getter function to work with get*Props hook result)\n * 2. Additional props (specified internally on a Base UI component)\n * 3. External props specified on the owner component. These should only be used on a root slot.\n * 4. External props specified in the `slotProps.*` prop.\n * 5. The `className` prop - combined from all the above.\n * @param parameters\n * @returns\n */\nfunction mergeSlotProps(parameters) {\n const {\n getSlotProps,\n additionalProps,\n externalSlotProps,\n externalForwardedProps,\n className\n } = parameters;\n if (!getSlotProps) {\n // The simpler case - getSlotProps is not defined, so no internal event handlers are defined,\n // so we can simply merge all the props without having to worry about extracting event handlers.\n const joinedClasses = clsx(additionalProps?.className, className, externalForwardedProps?.className, externalSlotProps?.className);\n const mergedStyle = {\n ...additionalProps?.style,\n ...externalForwardedProps?.style,\n ...externalSlotProps?.style\n };\n const props = {\n ...additionalProps,\n ...externalForwardedProps,\n ...externalSlotProps\n };\n if (joinedClasses.length > 0) {\n props.className = joinedClasses;\n }\n if (Object.keys(mergedStyle).length > 0) {\n props.style = mergedStyle;\n }\n return {\n props,\n internalRef: undefined\n };\n }\n\n // In this case, getSlotProps is responsible for calling the external event handlers.\n // We don't need to include them in the merged props because of this.\n\n const eventHandlers = extractEventHandlers({\n ...externalForwardedProps,\n ...externalSlotProps\n });\n const componentsPropsWithoutEventHandlers = omitEventHandlers(externalSlotProps);\n const otherPropsWithoutEventHandlers = omitEventHandlers(externalForwardedProps);\n const internalSlotProps = getSlotProps(eventHandlers);\n\n // The order of classes is important here.\n // Emotion (that we use in libraries consuming Base UI) depends on this order\n // to properly override style. It requires the most important classes to be last\n // (see https://github.com/mui/material-ui/pull/33205) for the related discussion.\n const joinedClasses = clsx(internalSlotProps?.className, additionalProps?.className, className, externalForwardedProps?.className, externalSlotProps?.className);\n const mergedStyle = {\n ...internalSlotProps?.style,\n ...additionalProps?.style,\n ...externalForwardedProps?.style,\n ...externalSlotProps?.style\n };\n const props = {\n ...internalSlotProps,\n ...additionalProps,\n ...otherPropsWithoutEventHandlers,\n ...componentsPropsWithoutEventHandlers\n };\n if (joinedClasses.length > 0) {\n props.className = joinedClasses;\n }\n if (Object.keys(mergedStyle).length > 0) {\n props.style = mergedStyle;\n }\n return {\n props,\n internalRef: internalSlotProps.ref\n };\n}\nexport default mergeSlotProps;","/**\n * If `componentProps` is a function, calls it with the provided `ownerState`.\n * Otherwise, just returns `componentProps`.\n */\nfunction resolveComponentProps(componentProps, ownerState, slotState) {\n if (typeof componentProps === 'function') {\n return componentProps(ownerState, slotState);\n }\n return componentProps;\n}\nexport default resolveComponentProps;","'use client';\n\nimport useForkRef from \"../useForkRef/index.js\";\nimport appendOwnerState from \"../appendOwnerState/index.js\";\nimport mergeSlotProps from \"../mergeSlotProps/index.js\";\nimport resolveComponentProps from \"../resolveComponentProps/index.js\";\n/**\n * @ignore - do not document.\n * Builds the props to be passed into the slot of an unstyled component.\n * It merges the internal props of the component with the ones supplied by the user, allowing to customize the behavior.\n * If the slot component is not a host component, it also merges in the `ownerState`.\n *\n * @param parameters.getSlotProps - A function that returns the props to be passed to the slot component.\n */\nfunction useSlotProps(parameters) {\n const {\n elementType,\n externalSlotProps,\n ownerState,\n skipResolvingSlotProps = false,\n ...other\n } = parameters;\n const resolvedComponentsProps = skipResolvingSlotProps ? {} : resolveComponentProps(externalSlotProps, ownerState);\n const {\n props: mergedProps,\n internalRef\n } = mergeSlotProps({\n ...other,\n externalSlotProps: resolvedComponentsProps\n });\n const ref = useForkRef(internalRef, resolvedComponentsProps?.ref, parameters.additionalProps?.ref);\n const props = appendOwnerState(elementType, {\n ...mergedProps,\n ref\n }, ownerState);\n return props;\n}\nexport default useSlotProps;","import * as React from 'react';\n\n/**\n * Returns the ref of a React node handling differences between React 19 and older versions.\n * It will return null if the node is not a valid React element.\n *\n * @param element React.ReactNode\n * @returns React.Ref | null\n */\nexport default function getReactNodeRef(element) {\n if (!element || ! /*#__PURE__*/React.isValidElement(element)) {\n return null;\n }\n\n // 'ref' is passed as prop in React 19, whereas 'ref' is directly attached to children in older versions\n return element.props.propertyIsEnumerable('ref') ? element.props.ref :\n // @ts-expect-error element.ref is not included in the ReactElement type\n // We cannot check for it, but isValidElement is true at this point\n // https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/70189\n element.ref;\n}","import * as React from 'react';\nconst ThemeContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== 'production') {\n ThemeContext.displayName = 'ThemeContext';\n}\nexport default ThemeContext;","import * as React from 'react';\nimport ThemeContext from \"./ThemeContext.js\";\nexport default function useTheme() {\n const theme = React.useContext(ThemeContext);\n if (process.env.NODE_ENV !== 'production') {\n // TODO: uncomment once we enable eslint-plugin-react-compiler eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/rules-of-hooks -- It's not required to run React.useDebugValue in production\n React.useDebugValue(theme);\n }\n return theme;\n}","const hasSymbol = typeof Symbol === 'function' && Symbol.for;\nexport default hasSymbol ? Symbol.for('mui.nested') : '__THEME_NESTED__';","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { exactProp } from '@mui/utils';\nimport ThemeContext from \"../useTheme/ThemeContext.js\";\nimport useTheme from \"../useTheme/index.js\";\nimport nested from \"./nested.js\";\n\n// To support composition of theme.\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction mergeOuterLocalTheme(outerTheme, localTheme) {\n if (typeof localTheme === 'function') {\n const mergedTheme = localTheme(outerTheme);\n if (process.env.NODE_ENV !== 'production') {\n if (!mergedTheme) {\n console.error(['MUI: You should return an object from your theme function, i.e.', ' ({})} />'].join('\\n'));\n }\n }\n return mergedTheme;\n }\n return {\n ...outerTheme,\n ...localTheme\n };\n}\n\n/**\n * This component takes a `theme` prop.\n * It makes the `theme` available down the React tree thanks to React context.\n * This component should preferably be used at **the root of your component tree**.\n */\nfunction ThemeProvider(props) {\n const {\n children,\n theme: localTheme\n } = props;\n const outerTheme = useTheme();\n if (process.env.NODE_ENV !== 'production') {\n if (outerTheme === null && typeof localTheme === 'function') {\n console.error(['MUI: You are providing a theme function prop to the ThemeProvider component:', ' outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\\n'));\n }\n }\n const theme = React.useMemo(() => {\n const output = outerTheme === null ? {\n ...localTheme\n } : mergeOuterLocalTheme(outerTheme, localTheme);\n if (output != null) {\n output[nested] = outerTheme !== null;\n }\n return output;\n }, [localTheme, outerTheme]);\n return /*#__PURE__*/_jsx(ThemeContext.Provider, {\n value: theme,\n children: children\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = {\n /**\n * Your component tree.\n */\n children: PropTypes.node,\n /**\n * A theme object. You can provide a function to extend the outer theme.\n */\n theme: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) : void 0;\n}\nexport default ThemeProvider;","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst RtlContext = /*#__PURE__*/React.createContext();\nfunction RtlProvider({\n value,\n ...props\n}) {\n return /*#__PURE__*/_jsx(RtlContext.Provider, {\n value: value ?? true,\n ...props\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? RtlProvider.propTypes = {\n children: PropTypes.node,\n value: PropTypes.bool\n} : void 0;\nexport const useRtl = () => {\n const value = React.useContext(RtlContext);\n return value ?? false;\n};\nexport default RtlProvider;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport resolveProps from '@mui/utils/resolveProps';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst PropsContext = /*#__PURE__*/React.createContext(undefined);\nfunction DefaultPropsProvider({\n value,\n children\n}) {\n return /*#__PURE__*/_jsx(PropsContext.Provider, {\n value: value,\n children: children\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? DefaultPropsProvider.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n children: PropTypes.node,\n /**\n * @ignore\n */\n value: PropTypes.object\n} : void 0;\nfunction getThemeProps(params) {\n const {\n theme,\n name,\n props\n } = params;\n if (!theme || !theme.components || !theme.components[name]) {\n return props;\n }\n const config = theme.components[name];\n if (config.defaultProps) {\n // compatible with v5 signature\n return resolveProps(config.defaultProps, props);\n }\n if (!config.styleOverrides && !config.variants) {\n // v6 signature, no property 'defaultProps'\n return resolveProps(config, props);\n }\n return props;\n}\nexport function useDefaultProps({\n props,\n name\n}) {\n const ctx = React.useContext(PropsContext);\n return getThemeProps({\n props,\n name,\n theme: {\n components: ctx\n }\n });\n}\nexport default DefaultPropsProvider;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { ThemeProvider as MuiThemeProvider, useTheme as usePrivateTheme } from '@mui/private-theming';\nimport exactProp from '@mui/utils/exactProp';\nimport { ThemeContext as StyledEngineThemeContext } from '@mui/styled-engine';\nimport useThemeWithoutDefault from \"../useThemeWithoutDefault/index.js\";\nimport RtlProvider from \"../RtlProvider/index.js\";\nimport DefaultPropsProvider from \"../DefaultPropsProvider/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst EMPTY_THEME = {};\nfunction useThemeScoping(themeId, upperTheme, localTheme, isPrivate = false) {\n return React.useMemo(() => {\n const resolvedTheme = themeId ? upperTheme[themeId] || upperTheme : upperTheme;\n if (typeof localTheme === 'function') {\n const mergedTheme = localTheme(resolvedTheme);\n const result = themeId ? {\n ...upperTheme,\n [themeId]: mergedTheme\n } : mergedTheme;\n // must return a function for the private theme to NOT merge with the upper theme.\n // see the test case \"use provided theme from a callback\" in ThemeProvider.test.js\n if (isPrivate) {\n return () => result;\n }\n return result;\n }\n return themeId ? {\n ...upperTheme,\n [themeId]: localTheme\n } : {\n ...upperTheme,\n ...localTheme\n };\n }, [themeId, upperTheme, localTheme, isPrivate]);\n}\n\n/**\n * This component makes the `theme` available down the React tree.\n * It should preferably be used at **the root of your component tree**.\n *\n * // existing use case\n * // theme scoping\n */\nfunction ThemeProvider(props) {\n const {\n children,\n theme: localTheme,\n themeId\n } = props;\n const upperTheme = useThemeWithoutDefault(EMPTY_THEME);\n const upperPrivateTheme = usePrivateTheme() || EMPTY_THEME;\n if (process.env.NODE_ENV !== 'production') {\n if (upperTheme === null && typeof localTheme === 'function' || themeId && upperTheme && !upperTheme[themeId] && typeof localTheme === 'function') {\n console.error(['MUI: You are providing a theme function prop to the ThemeProvider component:', ' outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\\n'));\n }\n }\n const engineTheme = useThemeScoping(themeId, upperTheme, localTheme);\n const privateTheme = useThemeScoping(themeId, upperPrivateTheme, localTheme, true);\n const rtlValue = engineTheme.direction === 'rtl';\n return /*#__PURE__*/_jsx(MuiThemeProvider, {\n theme: privateTheme,\n children: /*#__PURE__*/_jsx(StyledEngineThemeContext.Provider, {\n value: engineTheme,\n children: /*#__PURE__*/_jsx(RtlProvider, {\n value: rtlValue,\n children: /*#__PURE__*/_jsx(DefaultPropsProvider, {\n value: engineTheme?.components,\n children: children\n })\n })\n })\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Your component tree.\n */\n children: PropTypes.node,\n /**\n * A theme object. You can provide a function to extend the outer theme.\n */\n theme: PropTypes.oneOfType([PropTypes.func, PropTypes.object]).isRequired,\n /**\n * The design system's unique id for getting the corresponded theme when there are multiple design systems.\n */\n themeId: PropTypes.string\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) : void 0;\n}\nexport default ThemeProvider;","/**\n * Split this component for RSC import\n */\nimport * as React from 'react';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const DEFAULT_MODE_STORAGE_KEY = 'mode';\nexport const DEFAULT_COLOR_SCHEME_STORAGE_KEY = 'color-scheme';\nexport const DEFAULT_ATTRIBUTE = 'data-color-scheme';\nexport default function InitColorSchemeScript(options) {\n const {\n defaultLightColorScheme = 'light',\n defaultDarkColorScheme = 'dark',\n modeStorageKey = DEFAULT_MODE_STORAGE_KEY,\n colorSchemeStorageKey = DEFAULT_COLOR_SCHEME_STORAGE_KEY,\n attribute: initialAttribute = DEFAULT_ATTRIBUTE,\n colorSchemeNode = 'document.documentElement',\n nonce\n } = options || {};\n let setter = '';\n let attribute = initialAttribute;\n if (initialAttribute === 'class') {\n attribute = '.%s';\n }\n if (initialAttribute === 'data') {\n attribute = '[data-%s]';\n }\n if (attribute.startsWith('.')) {\n const selector = attribute.substring(1);\n setter += `${colorSchemeNode}.classList.remove('${selector}'.replace('%s', light), '${selector}'.replace('%s', dark));\n ${colorSchemeNode}.classList.add('${selector}'.replace('%s', colorScheme));`;\n }\n const matches = attribute.match(/\\[([^\\]]+)\\]/); // case [data-color-scheme=%s] or [data-color-scheme]\n if (matches) {\n const [attr, value] = matches[1].split('=');\n if (!value) {\n setter += `${colorSchemeNode}.removeAttribute('${attr}'.replace('%s', light));\n ${colorSchemeNode}.removeAttribute('${attr}'.replace('%s', dark));`;\n }\n setter += `\n ${colorSchemeNode}.setAttribute('${attr}'.replace('%s', colorScheme), ${value ? `${value}.replace('%s', colorScheme)` : '\"\"'});`;\n } else {\n setter += `${colorSchemeNode}.setAttribute('${attribute}', colorScheme);`;\n }\n return /*#__PURE__*/_jsx(\"script\", {\n suppressHydrationWarning: true,\n nonce: typeof window === 'undefined' ? nonce : ''\n // eslint-disable-next-line react/no-danger\n ,\n dangerouslySetInnerHTML: {\n __html: `(function() {\ntry {\n let colorScheme = '';\n const mode = localStorage.getItem('${modeStorageKey}') || 'system';\n const dark = localStorage.getItem('${colorSchemeStorageKey}-dark') || '${defaultDarkColorScheme}';\n const light = localStorage.getItem('${colorSchemeStorageKey}-light') || '${defaultLightColorScheme}';\n if (mode === 'system') {\n // handle system mode\n const mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = dark\n } else {\n colorScheme = light\n }\n }\n if (mode === 'light') {\n colorScheme = light;\n }\n if (mode === 'dark') {\n colorScheme = dark;\n }\n if (colorScheme) {\n ${setter}\n }\n} catch(e){}})();`\n }\n }, \"mui-color-scheme-init\");\n}","'use client';\n\nimport * as React from 'react';\nimport { DEFAULT_MODE_STORAGE_KEY, DEFAULT_COLOR_SCHEME_STORAGE_KEY } from \"../InitColorSchemeScript/InitColorSchemeScript.js\";\nexport function getSystemMode(mode) {\n if (typeof window !== 'undefined' && typeof window.matchMedia === 'function' && mode === 'system') {\n const mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n return 'dark';\n }\n return 'light';\n }\n return undefined;\n}\nfunction processState(state, callback) {\n if (state.mode === 'light' || state.mode === 'system' && state.systemMode === 'light') {\n return callback('light');\n }\n if (state.mode === 'dark' || state.mode === 'system' && state.systemMode === 'dark') {\n return callback('dark');\n }\n return undefined;\n}\nexport function getColorScheme(state) {\n return processState(state, mode => {\n if (mode === 'light') {\n return state.lightColorScheme;\n }\n if (mode === 'dark') {\n return state.darkColorScheme;\n }\n return undefined;\n });\n}\nfunction initializeValue(key, defaultValue) {\n if (typeof window === 'undefined') {\n return undefined;\n }\n let value;\n try {\n value = localStorage.getItem(key) || undefined;\n if (!value) {\n // the first time that user enters the site.\n localStorage.setItem(key, defaultValue);\n }\n } catch (e) {\n // Unsupported\n }\n return value || defaultValue;\n}\nexport default function useCurrentColorScheme(options) {\n const {\n defaultMode = 'light',\n defaultLightColorScheme,\n defaultDarkColorScheme,\n supportedColorSchemes = [],\n modeStorageKey = DEFAULT_MODE_STORAGE_KEY,\n colorSchemeStorageKey = DEFAULT_COLOR_SCHEME_STORAGE_KEY,\n storageWindow = typeof window === 'undefined' ? undefined : window\n } = options;\n const joinedColorSchemes = supportedColorSchemes.join(',');\n const isMultiSchemes = supportedColorSchemes.length > 1;\n const [state, setState] = React.useState(() => {\n const initialMode = initializeValue(modeStorageKey, defaultMode);\n const lightColorScheme = initializeValue(`${colorSchemeStorageKey}-light`, defaultLightColorScheme);\n const darkColorScheme = initializeValue(`${colorSchemeStorageKey}-dark`, defaultDarkColorScheme);\n return {\n mode: initialMode,\n systemMode: getSystemMode(initialMode),\n lightColorScheme,\n darkColorScheme\n };\n });\n // This could be improved with `React.useSyncExternalStore` in the future.\n const [, setHasMounted] = React.useState(false);\n const hasMounted = React.useRef(false);\n React.useEffect(() => {\n if (isMultiSchemes) {\n setHasMounted(true); // to rerender the component after hydration\n }\n hasMounted.current = true;\n }, [isMultiSchemes]);\n const colorScheme = getColorScheme(state);\n const setMode = React.useCallback(mode => {\n setState(currentState => {\n if (mode === currentState.mode) {\n // do nothing if mode does not change\n return currentState;\n }\n const newMode = mode ?? defaultMode;\n try {\n localStorage.setItem(modeStorageKey, newMode);\n } catch (e) {\n // Unsupported\n }\n return {\n ...currentState,\n mode: newMode,\n systemMode: getSystemMode(newMode)\n };\n });\n }, [modeStorageKey, defaultMode]);\n const setColorScheme = React.useCallback(value => {\n if (!value) {\n setState(currentState => {\n try {\n localStorage.setItem(`${colorSchemeStorageKey}-light`, defaultLightColorScheme);\n localStorage.setItem(`${colorSchemeStorageKey}-dark`, defaultDarkColorScheme);\n } catch (e) {\n // Unsupported\n }\n return {\n ...currentState,\n lightColorScheme: defaultLightColorScheme,\n darkColorScheme: defaultDarkColorScheme\n };\n });\n } else if (typeof value === 'string') {\n if (value && !joinedColorSchemes.includes(value)) {\n console.error(`\\`${value}\\` does not exist in \\`theme.colorSchemes\\`.`);\n } else {\n setState(currentState => {\n const newState = {\n ...currentState\n };\n processState(currentState, mode => {\n try {\n localStorage.setItem(`${colorSchemeStorageKey}-${mode}`, value);\n } catch (e) {\n // Unsupported\n }\n if (mode === 'light') {\n newState.lightColorScheme = value;\n }\n if (mode === 'dark') {\n newState.darkColorScheme = value;\n }\n });\n return newState;\n });\n }\n } else {\n setState(currentState => {\n const newState = {\n ...currentState\n };\n const newLightColorScheme = value.light === null ? defaultLightColorScheme : value.light;\n const newDarkColorScheme = value.dark === null ? defaultDarkColorScheme : value.dark;\n if (newLightColorScheme) {\n if (!joinedColorSchemes.includes(newLightColorScheme)) {\n console.error(`\\`${newLightColorScheme}\\` does not exist in \\`theme.colorSchemes\\`.`);\n } else {\n newState.lightColorScheme = newLightColorScheme;\n try {\n localStorage.setItem(`${colorSchemeStorageKey}-light`, newLightColorScheme);\n } catch (error) {\n // Unsupported\n }\n }\n }\n if (newDarkColorScheme) {\n if (!joinedColorSchemes.includes(newDarkColorScheme)) {\n console.error(`\\`${newDarkColorScheme}\\` does not exist in \\`theme.colorSchemes\\`.`);\n } else {\n newState.darkColorScheme = newDarkColorScheme;\n try {\n localStorage.setItem(`${colorSchemeStorageKey}-dark`, newDarkColorScheme);\n } catch (error) {\n // Unsupported\n }\n }\n }\n return newState;\n });\n }\n }, [joinedColorSchemes, colorSchemeStorageKey, defaultLightColorScheme, defaultDarkColorScheme]);\n const handleMediaQuery = React.useCallback(event => {\n if (state.mode === 'system') {\n setState(currentState => {\n const systemMode = event?.matches ? 'dark' : 'light';\n\n // Early exit, nothing changed.\n if (currentState.systemMode === systemMode) {\n return currentState;\n }\n return {\n ...currentState,\n systemMode\n };\n });\n }\n }, [state.mode]);\n\n // Ref hack to avoid adding handleMediaQuery as a dep\n const mediaListener = React.useRef(handleMediaQuery);\n mediaListener.current = handleMediaQuery;\n React.useEffect(() => {\n if (typeof window.matchMedia !== 'function' || !isMultiSchemes) {\n return undefined;\n }\n const handler = (...args) => mediaListener.current(...args);\n\n // Always listen to System preference\n const media = window.matchMedia('(prefers-color-scheme: dark)');\n\n // Intentionally use deprecated listener methods to support iOS & old browsers\n media.addListener(handler);\n handler(media);\n return () => {\n media.removeListener(handler);\n };\n }, [isMultiSchemes]);\n\n // Handle when localStorage has changed\n React.useEffect(() => {\n if (storageWindow && isMultiSchemes) {\n const handleStorage = event => {\n const value = event.newValue;\n if (typeof event.key === 'string' && event.key.startsWith(colorSchemeStorageKey) && (!value || joinedColorSchemes.match(value))) {\n // If the key is deleted, value will be null then reset color scheme to the default one.\n if (event.key.endsWith('light')) {\n setColorScheme({\n light: value\n });\n }\n if (event.key.endsWith('dark')) {\n setColorScheme({\n dark: value\n });\n }\n }\n if (event.key === modeStorageKey && (!value || ['light', 'dark', 'system'].includes(value))) {\n setMode(value || defaultMode);\n }\n };\n // For syncing color-scheme changes between iframes\n storageWindow.addEventListener('storage', handleStorage);\n return () => {\n storageWindow.removeEventListener('storage', handleStorage);\n };\n }\n return undefined;\n }, [setColorScheme, setMode, modeStorageKey, colorSchemeStorageKey, joinedColorSchemes, defaultMode, storageWindow, isMultiSchemes]);\n return {\n ...state,\n mode: hasMounted.current || !isMultiSchemes ? state.mode : undefined,\n systemMode: hasMounted.current || !isMultiSchemes ? state.systemMode : undefined,\n colorScheme: hasMounted.current || !isMultiSchemes ? colorScheme : undefined,\n setMode,\n setColorScheme\n };\n}","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { GlobalStyles } from '@mui/styled-engine';\nimport { useTheme as muiUseTheme } from '@mui/private-theming';\nimport ThemeProvider from \"../ThemeProvider/index.js\";\nimport InitColorSchemeScript, { DEFAULT_COLOR_SCHEME_STORAGE_KEY, DEFAULT_MODE_STORAGE_KEY } from \"../InitColorSchemeScript/InitColorSchemeScript.js\";\nimport useCurrentColorScheme from \"./useCurrentColorScheme.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport const DISABLE_CSS_TRANSITION = '*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}';\nexport default function createCssVarsProvider(options) {\n const {\n themeId,\n /**\n * This `theme` object needs to follow a certain structure to\n * be used correctly by the finel `CssVarsProvider`. It should have a\n * `colorSchemes` key with the light and dark (and any other) palette.\n * It should also ideally have a vars object created using `prepareCssVars`.\n */\n theme: defaultTheme = {},\n modeStorageKey: defaultModeStorageKey = DEFAULT_MODE_STORAGE_KEY,\n colorSchemeStorageKey: defaultColorSchemeStorageKey = DEFAULT_COLOR_SCHEME_STORAGE_KEY,\n disableTransitionOnChange: designSystemTransitionOnChange = false,\n defaultColorScheme,\n resolveTheme\n } = options;\n const defaultContext = {\n allColorSchemes: [],\n colorScheme: undefined,\n darkColorScheme: undefined,\n lightColorScheme: undefined,\n mode: undefined,\n setColorScheme: () => {},\n setMode: () => {},\n systemMode: undefined\n };\n const ColorSchemeContext = /*#__PURE__*/React.createContext(undefined);\n if (process.env.NODE_ENV !== 'production') {\n ColorSchemeContext.displayName = 'ColorSchemeContext';\n }\n const useColorScheme = () => React.useContext(ColorSchemeContext) || defaultContext;\n function CssVarsProvider(props) {\n const {\n children,\n theme: themeProp,\n modeStorageKey = defaultModeStorageKey,\n colorSchemeStorageKey = defaultColorSchemeStorageKey,\n disableTransitionOnChange = designSystemTransitionOnChange,\n storageWindow = typeof window === 'undefined' ? undefined : window,\n documentNode = typeof document === 'undefined' ? undefined : document,\n colorSchemeNode = typeof document === 'undefined' ? undefined : document.documentElement,\n disableNestedContext = false,\n disableStyleSheetGeneration = false\n } = props;\n const hasMounted = React.useRef(false);\n const upperTheme = muiUseTheme();\n const ctx = React.useContext(ColorSchemeContext);\n const nested = !!ctx && !disableNestedContext;\n const initialTheme = React.useMemo(() => {\n if (themeProp) {\n return themeProp;\n }\n return typeof defaultTheme === 'function' ? defaultTheme() : defaultTheme;\n }, [themeProp]);\n const scopedTheme = initialTheme[themeId];\n const {\n colorSchemes = {},\n components = {},\n cssVarPrefix,\n ...restThemeProp\n } = scopedTheme || initialTheme;\n const joinedColorSchemes = Object.keys(colorSchemes).filter(k => !!colorSchemes[k]).join(',');\n const allColorSchemes = React.useMemo(() => joinedColorSchemes.split(','), [joinedColorSchemes]);\n const defaultLightColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.light;\n const defaultDarkColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.dark;\n const defaultMode = colorSchemes[defaultLightColorScheme] && colorSchemes[defaultDarkColorScheme] ? 'system' : colorSchemes[restThemeProp.defaultColorScheme]?.palette?.mode || restThemeProp.palette?.mode;\n\n // 1. Get the data about the `mode`, `colorScheme`, and setter functions.\n const {\n mode: stateMode,\n setMode,\n systemMode,\n lightColorScheme,\n darkColorScheme,\n colorScheme: stateColorScheme,\n setColorScheme\n } = useCurrentColorScheme({\n supportedColorSchemes: allColorSchemes,\n defaultLightColorScheme,\n defaultDarkColorScheme,\n modeStorageKey,\n colorSchemeStorageKey,\n defaultMode,\n storageWindow\n });\n let mode = stateMode;\n let colorScheme = stateColorScheme;\n if (nested) {\n mode = ctx.mode;\n colorScheme = ctx.colorScheme;\n }\n\n // `colorScheme` is undefined on the server and hydration phase\n const calculatedColorScheme = colorScheme || restThemeProp.defaultColorScheme;\n\n // 2. get the `vars` object that refers to the CSS custom properties\n const themeVars = restThemeProp.generateThemeVars?.() || restThemeProp.vars;\n\n // 3. Start composing the theme object\n const theme = {\n ...restThemeProp,\n components,\n colorSchemes,\n cssVarPrefix,\n vars: themeVars\n };\n if (typeof theme.generateSpacing === 'function') {\n theme.spacing = theme.generateSpacing();\n }\n\n // 4. Resolve the color scheme and merge it to the theme\n if (calculatedColorScheme) {\n const scheme = colorSchemes[calculatedColorScheme];\n if (scheme && typeof scheme === 'object') {\n // 4.1 Merge the selected color scheme to the theme\n Object.keys(scheme).forEach(schemeKey => {\n if (scheme[schemeKey] && typeof scheme[schemeKey] === 'object') {\n // shallow merge the 1st level structure of the theme.\n theme[schemeKey] = {\n ...theme[schemeKey],\n ...scheme[schemeKey]\n };\n } else {\n theme[schemeKey] = scheme[schemeKey];\n }\n });\n }\n }\n\n // 5. Declaring effects\n // 5.1 Updates the selector value to use the current color scheme which tells CSS to use the proper stylesheet.\n const colorSchemeSelector = restThemeProp.colorSchemeSelector;\n React.useEffect(() => {\n if (colorScheme && colorSchemeNode && colorSchemeSelector && colorSchemeSelector !== 'media') {\n const selector = colorSchemeSelector;\n let rule = colorSchemeSelector;\n if (selector === 'class') {\n rule = `.%s`;\n }\n if (selector === 'data') {\n rule = `[data-%s]`;\n }\n if (selector?.startsWith('data-') && !selector.includes('%s')) {\n // 'data-mui-color-scheme' -> '[data-mui-color-scheme=\"%s\"]'\n rule = `[${selector}=\"%s\"]`;\n }\n if (rule.startsWith('.')) {\n colorSchemeNode.classList.remove(...allColorSchemes.map(scheme => rule.substring(1).replace('%s', scheme)));\n colorSchemeNode.classList.add(rule.substring(1).replace('%s', colorScheme));\n } else {\n const matches = rule.replace('%s', colorScheme).match(/\\[([^\\]]+)\\]/);\n if (matches) {\n const [attr, value] = matches[1].split('=');\n if (!value) {\n // for attributes like `data-theme-dark`, `data-theme-light`\n // remove all the existing data attributes before setting the new one\n allColorSchemes.forEach(scheme => {\n colorSchemeNode.removeAttribute(attr.replace(colorScheme, scheme));\n });\n }\n colorSchemeNode.setAttribute(attr, value ? value.replace(/\"|'/g, '') : '');\n } else {\n colorSchemeNode.setAttribute(rule, colorScheme);\n }\n }\n }\n }, [colorScheme, colorSchemeSelector, colorSchemeNode, allColorSchemes]);\n\n // 5.2 Remove the CSS transition when color scheme changes to create instant experience.\n // credit: https://github.com/pacocoursey/next-themes/blob/b5c2bad50de2d61ad7b52a9c5cdc801a78507d7a/index.tsx#L313\n React.useEffect(() => {\n let timer;\n if (disableTransitionOnChange && hasMounted.current && documentNode) {\n const css = documentNode.createElement('style');\n css.appendChild(documentNode.createTextNode(DISABLE_CSS_TRANSITION));\n documentNode.head.appendChild(css);\n\n // Force browser repaint\n (() => window.getComputedStyle(documentNode.body))();\n timer = setTimeout(() => {\n documentNode.head.removeChild(css);\n }, 1);\n }\n return () => {\n clearTimeout(timer);\n };\n }, [colorScheme, disableTransitionOnChange, documentNode]);\n React.useEffect(() => {\n hasMounted.current = true;\n return () => {\n hasMounted.current = false;\n };\n }, []);\n const contextValue = React.useMemo(() => ({\n allColorSchemes,\n colorScheme,\n darkColorScheme,\n lightColorScheme,\n mode,\n setColorScheme,\n setMode,\n systemMode\n }), [allColorSchemes, colorScheme, darkColorScheme, lightColorScheme, mode, setColorScheme, setMode, systemMode]);\n let shouldGenerateStyleSheet = true;\n if (disableStyleSheetGeneration || restThemeProp.cssVariables === false || nested && upperTheme?.cssVarPrefix === cssVarPrefix) {\n shouldGenerateStyleSheet = false;\n }\n const element = /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(ThemeProvider, {\n themeId: scopedTheme ? themeId : undefined,\n theme: resolveTheme ? resolveTheme(theme) : theme,\n children: children\n }), shouldGenerateStyleSheet && /*#__PURE__*/_jsx(GlobalStyles, {\n styles: theme.generateStyleSheets?.() || []\n })]\n });\n if (nested) {\n return element;\n }\n return /*#__PURE__*/_jsx(ColorSchemeContext.Provider, {\n value: contextValue,\n children: element\n });\n }\n process.env.NODE_ENV !== \"production\" ? CssVarsProvider.propTypes = {\n /**\n * The component tree.\n */\n children: PropTypes.node,\n /**\n * The node used to attach the color-scheme attribute\n */\n colorSchemeNode: PropTypes.any,\n /**\n * localStorage key used to store `colorScheme`\n */\n colorSchemeStorageKey: PropTypes.string,\n /**\n * If `true`, the provider creates its own context and generate stylesheet as if it is a root `CssVarsProvider`.\n */\n disableNestedContext: PropTypes.bool,\n /**\n * If `true`, the style sheet won't be generated.\n *\n * This is useful for controlling nested CssVarsProvider behavior.\n */\n disableStyleSheetGeneration: PropTypes.bool,\n /**\n * Disable CSS transitions when switching between modes or color schemes.\n */\n disableTransitionOnChange: PropTypes.bool,\n /**\n * The document to attach the attribute to.\n */\n documentNode: PropTypes.any,\n /**\n * The key in the local storage used to store current color scheme.\n */\n modeStorageKey: PropTypes.string,\n /**\n * The window that attaches the 'storage' event listener.\n * @default window\n */\n storageWindow: PropTypes.any,\n /**\n * The calculated theme object that will be passed through context.\n */\n theme: PropTypes.object\n } : void 0;\n const defaultLightColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.light;\n const defaultDarkColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.dark;\n const getInitColorSchemeScript = params => InitColorSchemeScript({\n colorSchemeStorageKey: defaultColorSchemeStorageKey,\n defaultLightColorScheme,\n defaultDarkColorScheme,\n modeStorageKey: defaultModeStorageKey,\n ...params\n });\n return {\n CssVarsProvider,\n useColorScheme,\n getInitColorSchemeScript\n };\n}","/**\n * The benefit of this function is to help developers get CSS var from theme without specifying the whole variable\n * and they does not need to remember the prefix (defined once).\n */\nexport default function createGetCssVar(prefix = '') {\n function appendVar(...vars) {\n if (!vars.length) {\n return '';\n }\n const value = vars[0];\n if (typeof value === 'string' && !value.match(/(#|\\(|\\)|(-?(\\d*\\.)?\\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\\d*\\.)?\\d+)$|(\\d+ \\d+ \\d+)/)) {\n return `, var(--${prefix ? `${prefix}-` : ''}${value}${appendVar(...vars.slice(1))})`;\n }\n return `, ${value}`;\n }\n\n // AdditionalVars makes `getCssVar` less strict, so it can be use like this `getCssVar('non-mui-variable')` without type error.\n const getCssVar = (field, ...fallbacks) => {\n return `var(--${prefix ? `${prefix}-` : ''}${field}${appendVar(...fallbacks)})`;\n };\n return getCssVar;\n}","/**\n * This function create an object from keys, value and then assign to target\n *\n * @param {Object} obj : the target object to be assigned\n * @param {string[]} keys\n * @param {string | number} value\n *\n * @example\n * const source = {}\n * assignNestedKeys(source, ['palette', 'primary'], 'var(--palette-primary)')\n * console.log(source) // { palette: { primary: 'var(--palette-primary)' } }\n *\n * @example\n * const source = { palette: { primary: 'var(--palette-primary)' } }\n * assignNestedKeys(source, ['palette', 'secondary'], 'var(--palette-secondary)')\n * console.log(source) // { palette: { primary: 'var(--palette-primary)', secondary: 'var(--palette-secondary)' } }\n */\nexport const assignNestedKeys = (obj, keys, value, arrayKeys = []) => {\n let temp = obj;\n keys.forEach((k, index) => {\n if (index === keys.length - 1) {\n if (Array.isArray(temp)) {\n temp[Number(k)] = value;\n } else if (temp && typeof temp === 'object') {\n temp[k] = value;\n }\n } else if (temp && typeof temp === 'object') {\n if (!temp[k]) {\n temp[k] = arrayKeys.includes(k) ? [] : {};\n }\n temp = temp[k];\n }\n });\n};\n\n/**\n *\n * @param {Object} obj : source object\n * @param {Function} callback : a function that will be called when\n * - the deepest key in source object is reached\n * - the value of the deepest key is NOT `undefined` | `null`\n *\n * @example\n * walkObjectDeep({ palette: { primary: { main: '#000000' } } }, console.log)\n * // ['palette', 'primary', 'main'] '#000000'\n */\nexport const walkObjectDeep = (obj, callback, shouldSkipPaths) => {\n function recurse(object, parentKeys = [], arrayKeys = []) {\n Object.entries(object).forEach(([key, value]) => {\n if (!shouldSkipPaths || shouldSkipPaths && !shouldSkipPaths([...parentKeys, key])) {\n if (value !== undefined && value !== null) {\n if (typeof value === 'object' && Object.keys(value).length > 0) {\n recurse(value, [...parentKeys, key], Array.isArray(value) ? [...arrayKeys, key] : arrayKeys);\n } else {\n callback([...parentKeys, key], value, arrayKeys);\n }\n }\n }\n });\n }\n recurse(obj);\n};\nconst getCssValue = (keys, value) => {\n if (typeof value === 'number') {\n if (['lineHeight', 'fontWeight', 'opacity', 'zIndex'].some(prop => keys.includes(prop))) {\n // CSS property that are unitless\n return value;\n }\n const lastKey = keys[keys.length - 1];\n if (lastKey.toLowerCase().includes('opacity')) {\n // opacity values are unitless\n return value;\n }\n return `${value}px`;\n }\n return value;\n};\n\n/**\n * a function that parse theme and return { css, vars }\n *\n * @param {Object} theme\n * @param {{\n * prefix?: string,\n * shouldSkipGeneratingVar?: (objectPathKeys: Array, value: string | number) => boolean\n * }} options.\n * `prefix`: The prefix of the generated CSS variables. This function does not change the value.\n *\n * @returns {{ css: Object, vars: Object }} `css` is the stylesheet, `vars` is an object to get css variable (same structure as theme).\n *\n * @example\n * const { css, vars } = parser({\n * fontSize: 12,\n * lineHeight: 1.2,\n * palette: { primary: { 500: 'var(--color)' } }\n * }, { prefix: 'foo' })\n *\n * console.log(css) // { '--foo-fontSize': '12px', '--foo-lineHeight': 1.2, '--foo-palette-primary-500': 'var(--color)' }\n * console.log(vars) // { fontSize: 'var(--foo-fontSize)', lineHeight: 'var(--foo-lineHeight)', palette: { primary: { 500: 'var(--foo-palette-primary-500)' } } }\n */\nexport default function cssVarsParser(theme, options) {\n const {\n prefix,\n shouldSkipGeneratingVar\n } = options || {};\n const css = {};\n const vars = {};\n const varsWithDefaults = {};\n walkObjectDeep(theme, (keys, value, arrayKeys) => {\n if (typeof value === 'string' || typeof value === 'number') {\n if (!shouldSkipGeneratingVar || !shouldSkipGeneratingVar(keys, value)) {\n // only create css & var if `shouldSkipGeneratingVar` return false\n const cssVar = `--${prefix ? `${prefix}-` : ''}${keys.join('-')}`;\n const resolvedValue = getCssValue(keys, value);\n Object.assign(css, {\n [cssVar]: resolvedValue\n });\n assignNestedKeys(vars, keys, `var(${cssVar})`, arrayKeys);\n assignNestedKeys(varsWithDefaults, keys, `var(${cssVar}, ${resolvedValue})`, arrayKeys);\n }\n }\n }, keys => keys[0] === 'vars' // skip 'vars/*' paths\n );\n return {\n css,\n vars,\n varsWithDefaults\n };\n}","import deepmerge from '@mui/utils/deepmerge';\nimport cssVarsParser from \"./cssVarsParser.js\";\nfunction prepareCssVars(theme, parserConfig = {}) {\n const {\n getSelector = defaultGetSelector,\n disableCssColorScheme,\n colorSchemeSelector: selector\n } = parserConfig;\n // @ts-ignore - ignore components do not exist\n const {\n colorSchemes = {},\n components,\n defaultColorScheme = 'light',\n ...otherTheme\n } = theme;\n const {\n vars: rootVars,\n css: rootCss,\n varsWithDefaults: rootVarsWithDefaults\n } = cssVarsParser(otherTheme, parserConfig);\n let themeVars = rootVarsWithDefaults;\n const colorSchemesMap = {};\n const {\n [defaultColorScheme]: defaultScheme,\n ...otherColorSchemes\n } = colorSchemes;\n Object.entries(otherColorSchemes || {}).forEach(([key, scheme]) => {\n const {\n vars,\n css,\n varsWithDefaults\n } = cssVarsParser(scheme, parserConfig);\n themeVars = deepmerge(themeVars, varsWithDefaults);\n colorSchemesMap[key] = {\n css,\n vars\n };\n });\n if (defaultScheme) {\n // default color scheme vars should be merged last to set as default\n const {\n css,\n vars,\n varsWithDefaults\n } = cssVarsParser(defaultScheme, parserConfig);\n themeVars = deepmerge(themeVars, varsWithDefaults);\n colorSchemesMap[defaultColorScheme] = {\n css,\n vars\n };\n }\n function defaultGetSelector(colorScheme, cssObject) {\n let rule = selector;\n if (selector === 'class') {\n rule = '.%s';\n }\n if (selector === 'data') {\n rule = '[data-%s]';\n }\n if (selector?.startsWith('data-') && !selector.includes('%s')) {\n // 'data-joy-color-scheme' -> '[data-joy-color-scheme=\"%s\"]'\n rule = `[${selector}=\"%s\"]`;\n }\n if (colorScheme) {\n if (rule === 'media') {\n if (theme.defaultColorScheme === colorScheme) {\n return ':root';\n }\n const mode = colorSchemes[colorScheme]?.palette?.mode || colorScheme;\n return {\n [`@media (prefers-color-scheme: ${mode})`]: {\n ':root': cssObject\n }\n };\n }\n if (rule) {\n if (theme.defaultColorScheme === colorScheme) {\n return `:root, ${rule.replace('%s', String(colorScheme))}`;\n }\n return rule.replace('%s', String(colorScheme));\n }\n }\n return ':root';\n }\n const generateThemeVars = () => {\n let vars = {\n ...rootVars\n };\n Object.entries(colorSchemesMap).forEach(([, {\n vars: schemeVars\n }]) => {\n vars = deepmerge(vars, schemeVars);\n });\n return vars;\n };\n const generateStyleSheets = () => {\n const stylesheets = [];\n const colorScheme = theme.defaultColorScheme || 'light';\n function insertStyleSheet(key, css) {\n if (Object.keys(css).length) {\n stylesheets.push(typeof key === 'string' ? {\n [key]: {\n ...css\n }\n } : key);\n }\n }\n insertStyleSheet(getSelector(undefined, {\n ...rootCss\n }), rootCss);\n const {\n [colorScheme]: defaultSchemeVal,\n ...other\n } = colorSchemesMap;\n if (defaultSchemeVal) {\n // default color scheme has to come before other color schemes\n const {\n css\n } = defaultSchemeVal;\n const cssColorSheme = colorSchemes[colorScheme]?.palette?.mode;\n const finalCss = !disableCssColorScheme && cssColorSheme ? {\n colorScheme: cssColorSheme,\n ...css\n } : {\n ...css\n };\n insertStyleSheet(getSelector(colorScheme, {\n ...finalCss\n }), finalCss);\n }\n Object.entries(other).forEach(([key, {\n css\n }]) => {\n const cssColorSheme = colorSchemes[key]?.palette?.mode;\n const finalCss = !disableCssColorScheme && cssColorSheme ? {\n colorScheme: cssColorSheme,\n ...css\n } : {\n ...css\n };\n insertStyleSheet(getSelector(key, {\n ...finalCss\n }), finalCss);\n });\n return stylesheets;\n };\n return {\n vars: themeVars,\n generateThemeVars,\n generateStyleSheets\n };\n}\nexport default prepareCssVars;","/* eslint-disable import/prefer-default-export */\nexport function createGetColorSchemeSelector(selector) {\n return function getColorSchemeSelector(colorScheme) {\n if (selector === 'media') {\n if (process.env.NODE_ENV !== 'production') {\n if (colorScheme !== 'light' && colorScheme !== 'dark') {\n console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${colorScheme}'.`);\n }\n }\n return `@media (prefers-color-scheme: ${colorScheme})`;\n }\n if (selector) {\n if (selector.startsWith('data-') && !selector.includes('%s')) {\n return `[${selector}=\"${colorScheme}\"] &`;\n }\n if (selector === 'class') {\n return `.${colorScheme} &`;\n }\n if (selector === 'data') {\n return `[data-${colorScheme}] &`;\n }\n return `${selector.replace('%s', colorScheme)} &`;\n }\n return '&';\n };\n}","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport composeClasses from '@mui/utils/composeClasses';\nimport capitalize from '@mui/utils/capitalize';\nimport useThemePropsSystem from \"../useThemeProps/index.js\";\nimport systemStyled from \"../styled/index.js\";\nimport createTheme from \"../createTheme/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst defaultTheme = createTheme();\nconst defaultCreateStyledComponent = systemStyled('div', {\n name: 'MuiContainer',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[`maxWidth${capitalize(String(ownerState.maxWidth))}`], ownerState.fixed && styles.fixed, ownerState.disableGutters && styles.disableGutters];\n }\n});\nconst useThemePropsDefault = inProps => useThemePropsSystem({\n props: inProps,\n name: 'MuiContainer',\n defaultTheme\n});\nconst useUtilityClasses = (ownerState, componentName) => {\n const getContainerUtilityClass = slot => {\n return generateUtilityClass(componentName, slot);\n };\n const {\n classes,\n fixed,\n disableGutters,\n maxWidth\n } = ownerState;\n const slots = {\n root: ['root', maxWidth && `maxWidth${capitalize(String(maxWidth))}`, fixed && 'fixed', disableGutters && 'disableGutters']\n };\n return composeClasses(slots, getContainerUtilityClass, classes);\n};\nexport default function createContainer(options = {}) {\n const {\n // This will allow adding custom styled fn (for example for custom sx style function)\n createStyledComponent = defaultCreateStyledComponent,\n useThemeProps = useThemePropsDefault,\n componentName = 'MuiContainer'\n } = options;\n const ContainerRoot = createStyledComponent(({\n theme,\n ownerState\n }) => ({\n width: '100%',\n marginLeft: 'auto',\n boxSizing: 'border-box',\n marginRight: 'auto',\n ...(!ownerState.disableGutters && {\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n // @ts-ignore module augmentation fails if custom breakpoints are used\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3)\n }\n })\n }), ({\n theme,\n ownerState\n }) => ownerState.fixed && Object.keys(theme.breakpoints.values).reduce((acc, breakpointValueKey) => {\n const breakpoint = breakpointValueKey;\n const value = theme.breakpoints.values[breakpoint];\n if (value !== 0) {\n // @ts-ignore\n acc[theme.breakpoints.up(breakpoint)] = {\n maxWidth: `${value}${theme.breakpoints.unit}`\n };\n }\n return acc;\n }, {}), ({\n theme,\n ownerState\n }) => ({\n // @ts-ignore module augmentation fails if custom breakpoints are used\n ...(ownerState.maxWidth === 'xs' && {\n // @ts-ignore module augmentation fails if custom breakpoints are used\n [theme.breakpoints.up('xs')]: {\n // @ts-ignore module augmentation fails if custom breakpoints are used\n maxWidth: Math.max(theme.breakpoints.values.xs, 444)\n }\n }),\n ...(ownerState.maxWidth &&\n // @ts-ignore module augmentation fails if custom breakpoints are used\n ownerState.maxWidth !== 'xs' && {\n // @ts-ignore module augmentation fails if custom breakpoints are used\n [theme.breakpoints.up(ownerState.maxWidth)]: {\n // @ts-ignore module augmentation fails if custom breakpoints are used\n maxWidth: `${theme.breakpoints.values[ownerState.maxWidth]}${theme.breakpoints.unit}`\n }\n })\n }));\n const Container = /*#__PURE__*/React.forwardRef(function Container(inProps, ref) {\n const props = useThemeProps(inProps);\n const {\n className,\n component = 'div',\n disableGutters = false,\n fixed = false,\n maxWidth = 'lg',\n classes: classesProp,\n ...other\n } = props;\n const ownerState = {\n ...props,\n component,\n disableGutters,\n fixed,\n maxWidth\n };\n\n // @ts-ignore module augmentation fails if custom breakpoints are used\n const classes = useUtilityClasses(ownerState, componentName);\n return (\n /*#__PURE__*/\n // @ts-ignore theme is injected by the styled util\n _jsx(ContainerRoot, {\n as: component\n // @ts-ignore module augmentation fails if custom breakpoints are used\n ,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref,\n ...other\n })\n );\n });\n process.env.NODE_ENV !== \"production\" ? Container.propTypes /* remove-proptypes */ = {\n children: PropTypes.node,\n classes: PropTypes.object,\n className: PropTypes.string,\n component: PropTypes.elementType,\n disableGutters: PropTypes.bool,\n fixed: PropTypes.bool,\n maxWidth: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl', false]), PropTypes.string]),\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n } : void 0;\n return Container;\n}","export const filterBreakpointKeys = (breakpointsKeys, responsiveKeys) => breakpointsKeys.filter(key => responsiveKeys.includes(key));\nexport const traverseBreakpoints = (breakpoints, responsive, iterator) => {\n const smallestBreakpoint = breakpoints.keys[0]; // the keys is sorted from smallest to largest by `createBreakpoints`.\n\n if (Array.isArray(responsive)) {\n responsive.forEach((breakpointValue, index) => {\n iterator((responsiveStyles, style) => {\n if (index <= breakpoints.keys.length - 1) {\n if (index === 0) {\n Object.assign(responsiveStyles, style);\n } else {\n responsiveStyles[breakpoints.up(breakpoints.keys[index])] = style;\n }\n }\n }, breakpointValue);\n });\n } else if (responsive && typeof responsive === 'object') {\n // prevent null\n // responsive could be a very big object, pick the smallest responsive values\n\n const keys = Object.keys(responsive).length > breakpoints.keys.length ? breakpoints.keys : filterBreakpointKeys(breakpoints.keys, Object.keys(responsive));\n keys.forEach(key => {\n if (breakpoints.keys.includes(key)) {\n // @ts-ignore already checked that responsive is an object\n const breakpointValue = responsive[key];\n if (breakpointValue !== undefined) {\n iterator((responsiveStyles, style) => {\n if (smallestBreakpoint === key) {\n Object.assign(responsiveStyles, style);\n } else {\n responsiveStyles[breakpoints.up(key)] = style;\n }\n }, breakpointValue);\n }\n }\n });\n } else if (typeof responsive === 'number' || typeof responsive === 'string') {\n iterator((responsiveStyles, style) => {\n Object.assign(responsiveStyles, style);\n }, responsive);\n }\n};","import { traverseBreakpoints } from \"./traverseBreakpoints.js\";\nfunction appendLevel(level) {\n if (!level) {\n return '';\n }\n return `Level${level}`;\n}\nfunction isNestedContainer(ownerState) {\n return ownerState.unstable_level > 0 && ownerState.container;\n}\nfunction createGetSelfSpacing(ownerState) {\n return function getSelfSpacing(axis) {\n return `var(--Grid-${axis}Spacing${appendLevel(ownerState.unstable_level)})`;\n };\n}\nfunction createGetParentSpacing(ownerState) {\n return function getParentSpacing(axis) {\n if (ownerState.unstable_level === 0) {\n return `var(--Grid-${axis}Spacing)`;\n }\n return `var(--Grid-${axis}Spacing${appendLevel(ownerState.unstable_level - 1)})`;\n };\n}\nfunction getParentColumns(ownerState) {\n if (ownerState.unstable_level === 0) {\n return `var(--Grid-columns)`;\n }\n return `var(--Grid-columns${appendLevel(ownerState.unstable_level - 1)})`;\n}\nexport const generateGridSizeStyles = ({\n theme,\n ownerState\n}) => {\n const getParentSpacing = createGetParentSpacing(ownerState);\n const styles = {};\n traverseBreakpoints(theme.breakpoints, ownerState.size, (appendStyle, value) => {\n let style = {};\n if (value === 'grow') {\n style = {\n flexBasis: 0,\n flexGrow: 1,\n maxWidth: '100%'\n };\n }\n if (value === 'auto') {\n style = {\n flexBasis: 'auto',\n flexGrow: 0,\n flexShrink: 0,\n maxWidth: 'none',\n width: 'auto'\n };\n }\n if (typeof value === 'number') {\n style = {\n flexGrow: 0,\n flexBasis: 'auto',\n width: `calc(100% * ${value} / ${getParentColumns(ownerState)} - (${getParentColumns(ownerState)} - ${value}) * (${getParentSpacing('column')} / ${getParentColumns(ownerState)}))`\n };\n }\n appendStyle(styles, style);\n });\n return styles;\n};\nexport const generateGridOffsetStyles = ({\n theme,\n ownerState\n}) => {\n const getParentSpacing = createGetParentSpacing(ownerState);\n const styles = {};\n traverseBreakpoints(theme.breakpoints, ownerState.offset, (appendStyle, value) => {\n let style = {};\n if (value === 'auto') {\n style = {\n marginLeft: 'auto'\n };\n }\n if (typeof value === 'number') {\n style = {\n marginLeft: value === 0 ? '0px' : `calc(100% * ${value} / ${getParentColumns(ownerState)} + ${getParentSpacing('column')} * ${value} / ${getParentColumns(ownerState)})`\n };\n }\n appendStyle(styles, style);\n });\n return styles;\n};\nexport const generateGridColumnsStyles = ({\n theme,\n ownerState\n}) => {\n if (!ownerState.container) {\n return {};\n }\n const styles = isNestedContainer(ownerState) ? {\n [`--Grid-columns${appendLevel(ownerState.unstable_level)}`]: getParentColumns(ownerState)\n } : {\n '--Grid-columns': 12\n };\n traverseBreakpoints(theme.breakpoints, ownerState.columns, (appendStyle, value) => {\n appendStyle(styles, {\n [`--Grid-columns${appendLevel(ownerState.unstable_level)}`]: value\n });\n });\n return styles;\n};\nexport const generateGridRowSpacingStyles = ({\n theme,\n ownerState\n}) => {\n if (!ownerState.container) {\n return {};\n }\n const getParentSpacing = createGetParentSpacing(ownerState);\n const styles = isNestedContainer(ownerState) ? {\n // Set the default spacing as its parent spacing.\n // It will be overridden if spacing props are provided\n [`--Grid-rowSpacing${appendLevel(ownerState.unstable_level)}`]: getParentSpacing('row')\n } : {};\n traverseBreakpoints(theme.breakpoints, ownerState.rowSpacing, (appendStyle, value) => {\n appendStyle(styles, {\n [`--Grid-rowSpacing${appendLevel(ownerState.unstable_level)}`]: typeof value === 'string' ? value : theme.spacing?.(value)\n });\n });\n return styles;\n};\nexport const generateGridColumnSpacingStyles = ({\n theme,\n ownerState\n}) => {\n if (!ownerState.container) {\n return {};\n }\n const getParentSpacing = createGetParentSpacing(ownerState);\n const styles = isNestedContainer(ownerState) ? {\n // Set the default spacing as its parent spacing.\n // It will be overridden if spacing props are provided\n [`--Grid-columnSpacing${appendLevel(ownerState.unstable_level)}`]: getParentSpacing('column')\n } : {};\n traverseBreakpoints(theme.breakpoints, ownerState.columnSpacing, (appendStyle, value) => {\n appendStyle(styles, {\n [`--Grid-columnSpacing${appendLevel(ownerState.unstable_level)}`]: typeof value === 'string' ? value : theme.spacing?.(value)\n });\n });\n return styles;\n};\nexport const generateGridDirectionStyles = ({\n theme,\n ownerState\n}) => {\n if (!ownerState.container) {\n return {};\n }\n const styles = {};\n traverseBreakpoints(theme.breakpoints, ownerState.direction, (appendStyle, value) => {\n appendStyle(styles, {\n flexDirection: value\n });\n });\n return styles;\n};\nexport const generateGridStyles = ({\n ownerState\n}) => {\n const getSelfSpacing = createGetSelfSpacing(ownerState);\n return {\n minWidth: 0,\n boxSizing: 'border-box',\n ...(ownerState.container && {\n display: 'flex',\n flexWrap: 'wrap',\n ...(ownerState.wrap && ownerState.wrap !== 'wrap' && {\n flexWrap: ownerState.wrap\n }),\n gap: `${getSelfSpacing('row')} ${getSelfSpacing('column')}`\n })\n };\n};\nexport const generateSizeClassNames = size => {\n const classNames = [];\n Object.entries(size).forEach(([key, value]) => {\n if (value !== false && value !== undefined) {\n classNames.push(`grid-${key}-${String(value)}`);\n }\n });\n return classNames;\n};\nexport const generateSpacingClassNames = (spacing, smallestBreakpoint = 'xs') => {\n function isValidSpacing(val) {\n if (val === undefined) {\n return false;\n }\n return typeof val === 'string' && !Number.isNaN(Number(val)) || typeof val === 'number' && val > 0;\n }\n if (isValidSpacing(spacing)) {\n return [`spacing-${smallestBreakpoint}-${String(spacing)}`];\n }\n if (typeof spacing === 'object' && !Array.isArray(spacing)) {\n const classNames = [];\n Object.entries(spacing).forEach(([key, value]) => {\n if (isValidSpacing(value)) {\n classNames.push(`spacing-${key}-${String(value)}`);\n }\n });\n return classNames;\n }\n return [];\n};\nexport const generateDirectionClasses = direction => {\n if (direction === undefined) {\n return [];\n }\n if (typeof direction === 'object') {\n return Object.entries(direction).map(([key, value]) => `direction-${key}-${value}`);\n }\n return [`direction-xs-${String(direction)}`];\n};","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport isMuiElement from '@mui/utils/isMuiElement';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport composeClasses from '@mui/utils/composeClasses';\nimport systemStyled from \"../styled/index.js\";\nimport useThemePropsSystem from \"../useThemeProps/index.js\";\nimport useTheme from \"../useTheme/index.js\";\nimport { extendSxProp } from \"../styleFunctionSx/index.js\";\nimport createTheme from \"../createTheme/index.js\";\nimport { generateGridStyles, generateGridSizeStyles, generateGridColumnsStyles, generateGridColumnSpacingStyles, generateGridRowSpacingStyles, generateGridDirectionStyles, generateGridOffsetStyles, generateSizeClassNames, generateSpacingClassNames, generateDirectionClasses } from \"./gridGenerator.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst defaultTheme = createTheme();\n\n// widening Theme to any so that the consumer can own the theme structure.\nconst defaultCreateStyledComponent = systemStyled('div', {\n name: 'MuiGrid',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n});\nfunction useThemePropsDefault(props) {\n return useThemePropsSystem({\n props,\n name: 'MuiGrid',\n defaultTheme\n });\n}\nexport default function createGrid(options = {}) {\n const {\n // This will allow adding custom styled fn (for example for custom sx style function)\n createStyledComponent = defaultCreateStyledComponent,\n useThemeProps = useThemePropsDefault,\n componentName = 'MuiGrid'\n } = options;\n const useUtilityClasses = (ownerState, theme) => {\n const {\n container,\n direction,\n spacing,\n wrap,\n size\n } = ownerState;\n const slots = {\n root: ['root', container && 'container', wrap !== 'wrap' && `wrap-xs-${String(wrap)}`, ...generateDirectionClasses(direction), ...generateSizeClassNames(size), ...(container ? generateSpacingClassNames(spacing, theme.breakpoints.keys[0]) : [])]\n };\n return composeClasses(slots, slot => generateUtilityClass(componentName, slot), {});\n };\n function parseResponsiveProp(propValue, breakpoints, shouldUseValue = () => true) {\n const parsedProp = {};\n if (propValue === null) {\n return parsedProp;\n }\n if (Array.isArray(propValue)) {\n propValue.forEach((value, index) => {\n if (value !== null && shouldUseValue(value) && breakpoints.keys[index]) {\n parsedProp[breakpoints.keys[index]] = value;\n }\n });\n } else if (typeof propValue === 'object') {\n Object.keys(propValue).forEach(key => {\n const value = propValue[key];\n if (value !== null && value !== undefined && shouldUseValue(value)) {\n parsedProp[key] = value;\n }\n });\n } else {\n parsedProp[breakpoints.keys[0]] = propValue;\n }\n return parsedProp;\n }\n const GridRoot = createStyledComponent(generateGridColumnsStyles, generateGridColumnSpacingStyles, generateGridRowSpacingStyles, generateGridSizeStyles, generateGridDirectionStyles, generateGridStyles, generateGridOffsetStyles);\n const Grid = /*#__PURE__*/React.forwardRef(function Grid(inProps, ref) {\n const theme = useTheme();\n const themeProps = useThemeProps(inProps);\n const props = extendSxProp(themeProps); // `color` type conflicts with html color attribute.\n const {\n className,\n children,\n columns: columnsProp = 12,\n container = false,\n component = 'div',\n direction = 'row',\n wrap = 'wrap',\n size: sizeProp = {},\n offset: offsetProp = {},\n spacing: spacingProp = 0,\n rowSpacing: rowSpacingProp = spacingProp,\n columnSpacing: columnSpacingProp = spacingProp,\n unstable_level: level = 0,\n ...other\n } = props;\n const size = parseResponsiveProp(sizeProp, theme.breakpoints, val => val !== false);\n const offset = parseResponsiveProp(offsetProp, theme.breakpoints);\n const columns = inProps.columns ?? (level ? undefined : columnsProp);\n const spacing = inProps.spacing ?? (level ? undefined : spacingProp);\n const rowSpacing = inProps.rowSpacing ?? inProps.spacing ?? (level ? undefined : rowSpacingProp);\n const columnSpacing = inProps.columnSpacing ?? inProps.spacing ?? (level ? undefined : columnSpacingProp);\n const ownerState = {\n ...props,\n level,\n columns,\n container,\n direction,\n wrap,\n spacing,\n rowSpacing,\n columnSpacing,\n size,\n offset\n };\n const classes = useUtilityClasses(ownerState, theme);\n return /*#__PURE__*/_jsx(GridRoot, {\n ref: ref,\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ...other,\n children: React.Children.map(children, child => {\n if (/*#__PURE__*/React.isValidElement(child) && isMuiElement(child, ['Grid'])) {\n return /*#__PURE__*/React.cloneElement(child, {\n unstable_level: child.props?.unstable_level ?? level + 1\n });\n }\n return child;\n })\n });\n });\n process.env.NODE_ENV !== \"production\" ? Grid.propTypes /* remove-proptypes */ = {\n children: PropTypes.node,\n className: PropTypes.string,\n columns: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.number, PropTypes.object]),\n columnSpacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n component: PropTypes.elementType,\n container: PropTypes.bool,\n direction: PropTypes.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),\n offset: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])), PropTypes.object]),\n rowSpacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n size: PropTypes.oneOfType([PropTypes.string, PropTypes.bool, PropTypes.number, PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.bool, PropTypes.number])), PropTypes.object]),\n spacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n wrap: PropTypes.oneOf(['nowrap', 'wrap-reverse', 'wrap'])\n } : void 0;\n\n // @ts-ignore internal logic for nested grid\n Grid.muiName = 'Grid';\n return Grid;\n}","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport deepmerge from '@mui/utils/deepmerge';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport composeClasses from '@mui/utils/composeClasses';\nimport systemStyled from \"../styled/index.js\";\nimport useThemePropsSystem from \"../useThemeProps/index.js\";\nimport { extendSxProp } from \"../styleFunctionSx/index.js\";\nimport createTheme from \"../createTheme/index.js\";\nimport { handleBreakpoints, mergeBreakpointsInOrder, resolveBreakpointValues } from \"../breakpoints/index.js\";\nimport { createUnarySpacing, getValue } from \"../spacing/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst defaultTheme = createTheme();\n// widening Theme to any so that the consumer can own the theme structure.\nconst defaultCreateStyledComponent = systemStyled('div', {\n name: 'MuiStack',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n});\nfunction useThemePropsDefault(props) {\n return useThemePropsSystem({\n props,\n name: 'MuiStack',\n defaultTheme\n });\n}\n\n/**\n * Return an array with the separator React element interspersed between\n * each React node of the input children.\n *\n * > joinChildren([1,2,3], 0)\n * [1,0,2,0,3]\n */\nfunction joinChildren(children, separator) {\n const childrenArray = React.Children.toArray(children).filter(Boolean);\n return childrenArray.reduce((output, child, index) => {\n output.push(child);\n if (index < childrenArray.length - 1) {\n output.push(/*#__PURE__*/React.cloneElement(separator, {\n key: `separator-${index}`\n }));\n }\n return output;\n }, []);\n}\nconst getSideFromDirection = direction => {\n return {\n row: 'Left',\n 'row-reverse': 'Right',\n column: 'Top',\n 'column-reverse': 'Bottom'\n }[direction];\n};\nexport const style = ({\n ownerState,\n theme\n}) => {\n let styles = {\n display: 'flex',\n flexDirection: 'column',\n ...handleBreakpoints({\n theme\n }, resolveBreakpointValues({\n values: ownerState.direction,\n breakpoints: theme.breakpoints.values\n }), propValue => ({\n flexDirection: propValue\n }))\n };\n if (ownerState.spacing) {\n const transformer = createUnarySpacing(theme);\n const base = Object.keys(theme.breakpoints.values).reduce((acc, breakpoint) => {\n if (typeof ownerState.spacing === 'object' && ownerState.spacing[breakpoint] != null || typeof ownerState.direction === 'object' && ownerState.direction[breakpoint] != null) {\n acc[breakpoint] = true;\n }\n return acc;\n }, {});\n const directionValues = resolveBreakpointValues({\n values: ownerState.direction,\n base\n });\n const spacingValues = resolveBreakpointValues({\n values: ownerState.spacing,\n base\n });\n if (typeof directionValues === 'object') {\n Object.keys(directionValues).forEach((breakpoint, index, breakpoints) => {\n const directionValue = directionValues[breakpoint];\n if (!directionValue) {\n const previousDirectionValue = index > 0 ? directionValues[breakpoints[index - 1]] : 'column';\n directionValues[breakpoint] = previousDirectionValue;\n }\n });\n }\n const styleFromPropValue = (propValue, breakpoint) => {\n if (ownerState.useFlexGap) {\n return {\n gap: getValue(transformer, propValue)\n };\n }\n return {\n // The useFlexGap={false} implement relies on each child to give up control of the margin.\n // We need to reset the margin to avoid double spacing.\n '& > :not(style):not(style)': {\n margin: 0\n },\n '& > :not(style) ~ :not(style)': {\n [`margin${getSideFromDirection(breakpoint ? directionValues[breakpoint] : ownerState.direction)}`]: getValue(transformer, propValue)\n }\n };\n };\n styles = deepmerge(styles, handleBreakpoints({\n theme\n }, spacingValues, styleFromPropValue));\n }\n styles = mergeBreakpointsInOrder(theme.breakpoints, styles);\n return styles;\n};\nexport default function createStack(options = {}) {\n const {\n // This will allow adding custom styled fn (for example for custom sx style function)\n createStyledComponent = defaultCreateStyledComponent,\n useThemeProps = useThemePropsDefault,\n componentName = 'MuiStack'\n } = options;\n const useUtilityClasses = () => {\n const slots = {\n root: ['root']\n };\n return composeClasses(slots, slot => generateUtilityClass(componentName, slot), {});\n };\n const StackRoot = createStyledComponent(style);\n const Stack = /*#__PURE__*/React.forwardRef(function Grid(inProps, ref) {\n const themeProps = useThemeProps(inProps);\n const props = extendSxProp(themeProps); // `color` type conflicts with html color attribute.\n const {\n component = 'div',\n direction = 'column',\n spacing = 0,\n divider,\n children,\n className,\n useFlexGap = false,\n ...other\n } = props;\n const ownerState = {\n direction,\n spacing,\n useFlexGap\n };\n const classes = useUtilityClasses();\n return /*#__PURE__*/_jsx(StackRoot, {\n as: component,\n ownerState: ownerState,\n ref: ref,\n className: clsx(classes.root, className),\n ...other,\n children: divider ? joinChildren(children, divider) : children\n });\n });\n process.env.NODE_ENV !== \"production\" ? Stack.propTypes /* remove-proptypes */ = {\n children: PropTypes.node,\n direction: PropTypes.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),\n divider: PropTypes.node,\n spacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n } : void 0;\n return Stack;\n}","import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nimport deepmerge from '@mui/utils/deepmerge';\nimport { darken, getContrastRatio, lighten } from '@mui/system/colorManipulator';\nimport common from \"../colors/common.js\";\nimport grey from \"../colors/grey.js\";\nimport purple from \"../colors/purple.js\";\nimport red from \"../colors/red.js\";\nimport orange from \"../colors/orange.js\";\nimport blue from \"../colors/blue.js\";\nimport lightBlue from \"../colors/lightBlue.js\";\nimport green from \"../colors/green.js\";\nexport const light = {\n // The colors used to style the text.\n text: {\n // The most important text.\n primary: 'rgba(0, 0, 0, 0.87)',\n // Secondary text.\n secondary: 'rgba(0, 0, 0, 0.6)',\n // Disabled text have even lower visual prominence.\n disabled: 'rgba(0, 0, 0, 0.38)'\n },\n // The color used to divide different elements.\n divider: 'rgba(0, 0, 0, 0.12)',\n // The background colors used to style the surfaces.\n // Consistency between these values is important.\n background: {\n paper: common.white,\n default: common.white\n },\n // The colors used to style the action elements.\n action: {\n // The color of an active action like an icon button.\n active: 'rgba(0, 0, 0, 0.54)',\n // The color of an hovered action.\n hover: 'rgba(0, 0, 0, 0.04)',\n hoverOpacity: 0.04,\n // The color of a selected action.\n selected: 'rgba(0, 0, 0, 0.08)',\n selectedOpacity: 0.08,\n // The color of a disabled action.\n disabled: 'rgba(0, 0, 0, 0.26)',\n // The background color of a disabled action.\n disabledBackground: 'rgba(0, 0, 0, 0.12)',\n disabledOpacity: 0.38,\n focus: 'rgba(0, 0, 0, 0.12)',\n focusOpacity: 0.12,\n activatedOpacity: 0.12\n }\n};\nexport const dark = {\n text: {\n primary: common.white,\n secondary: 'rgba(255, 255, 255, 0.7)',\n disabled: 'rgba(255, 255, 255, 0.5)',\n icon: 'rgba(255, 255, 255, 0.5)'\n },\n divider: 'rgba(255, 255, 255, 0.12)',\n background: {\n paper: '#121212',\n default: '#121212'\n },\n action: {\n active: common.white,\n hover: 'rgba(255, 255, 255, 0.08)',\n hoverOpacity: 0.08,\n selected: 'rgba(255, 255, 255, 0.16)',\n selectedOpacity: 0.16,\n disabled: 'rgba(255, 255, 255, 0.3)',\n disabledBackground: 'rgba(255, 255, 255, 0.12)',\n disabledOpacity: 0.38,\n focus: 'rgba(255, 255, 255, 0.12)',\n focusOpacity: 0.12,\n activatedOpacity: 0.24\n }\n};\nfunction addLightOrDark(intent, direction, shade, tonalOffset) {\n const tonalOffsetLight = tonalOffset.light || tonalOffset;\n const tonalOffsetDark = tonalOffset.dark || tonalOffset * 1.5;\n if (!intent[direction]) {\n if (intent.hasOwnProperty(shade)) {\n intent[direction] = intent[shade];\n } else if (direction === 'light') {\n intent.light = lighten(intent.main, tonalOffsetLight);\n } else if (direction === 'dark') {\n intent.dark = darken(intent.main, tonalOffsetDark);\n }\n }\n}\nfunction getDefaultPrimary(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: blue[200],\n light: blue[50],\n dark: blue[400]\n };\n }\n return {\n main: blue[700],\n light: blue[400],\n dark: blue[800]\n };\n}\nfunction getDefaultSecondary(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: purple[200],\n light: purple[50],\n dark: purple[400]\n };\n }\n return {\n main: purple[500],\n light: purple[300],\n dark: purple[700]\n };\n}\nfunction getDefaultError(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: red[500],\n light: red[300],\n dark: red[700]\n };\n }\n return {\n main: red[700],\n light: red[400],\n dark: red[800]\n };\n}\nfunction getDefaultInfo(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: lightBlue[400],\n light: lightBlue[300],\n dark: lightBlue[700]\n };\n }\n return {\n main: lightBlue[700],\n light: lightBlue[500],\n dark: lightBlue[900]\n };\n}\nfunction getDefaultSuccess(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: green[400],\n light: green[300],\n dark: green[700]\n };\n }\n return {\n main: green[800],\n light: green[500],\n dark: green[900]\n };\n}\nfunction getDefaultWarning(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: orange[400],\n light: orange[300],\n dark: orange[700]\n };\n }\n return {\n main: '#ed6c02',\n // closest to orange[800] that pass 3:1.\n light: orange[500],\n dark: orange[900]\n };\n}\nexport default function createPalette(palette) {\n const {\n mode = 'light',\n contrastThreshold = 3,\n tonalOffset = 0.2,\n ...other\n } = palette;\n const primary = palette.primary || getDefaultPrimary(mode);\n const secondary = palette.secondary || getDefaultSecondary(mode);\n const error = palette.error || getDefaultError(mode);\n const info = palette.info || getDefaultInfo(mode);\n const success = palette.success || getDefaultSuccess(mode);\n const warning = palette.warning || getDefaultWarning(mode);\n\n // Use the same logic as\n // Bootstrap: https://github.com/twbs/bootstrap/blob/1d6e3710dd447de1a200f29e8fa521f8a0908f70/scss/_functions.scss#L59\n // and material-components-web https://github.com/material-components/material-components-web/blob/ac46b8863c4dab9fc22c4c662dc6bd1b65dd652f/packages/mdc-theme/_functions.scss#L54\n function getContrastText(background) {\n const contrastText = getContrastRatio(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary;\n if (process.env.NODE_ENV !== 'production') {\n const contrast = getContrastRatio(background, contrastText);\n if (contrast < 3) {\n console.error([`MUI: The contrast ratio of ${contrast}:1 for ${contrastText} on ${background}`, 'falls below the WCAG recommended absolute minimum contrast ratio of 3:1.', 'https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast'].join('\\n'));\n }\n }\n return contrastText;\n }\n const augmentColor = ({\n color,\n name,\n mainShade = 500,\n lightShade = 300,\n darkShade = 700\n }) => {\n color = {\n ...color\n };\n if (!color.main && color[mainShade]) {\n color.main = color[mainShade];\n }\n if (!color.hasOwnProperty('main')) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.\nThe color object needs to have a \\`main\\` property or a \\`${mainShade}\\` property.` : _formatMuiErrorMessage(11, name ? ` (${name})` : '', mainShade));\n }\n if (typeof color.main !== 'string') {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.\n\\`color.main\\` should be a string, but \\`${JSON.stringify(color.main)}\\` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from \"@mui/material/colors\";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });` : _formatMuiErrorMessage(12, name ? ` (${name})` : '', JSON.stringify(color.main)));\n }\n addLightOrDark(color, 'light', lightShade, tonalOffset);\n addLightOrDark(color, 'dark', darkShade, tonalOffset);\n if (!color.contrastText) {\n color.contrastText = getContrastText(color.main);\n }\n return color;\n };\n const modes = {\n dark,\n light\n };\n if (process.env.NODE_ENV !== 'production') {\n if (!modes[mode]) {\n console.error(`MUI: The palette mode \\`${mode}\\` is not supported.`);\n }\n }\n const paletteOutput = deepmerge({\n // A collection of common colors.\n common: {\n ...common\n },\n // prevent mutable object.\n // The palette mode, can be light or dark.\n mode,\n // The colors used to represent primary interface elements for a user.\n primary: augmentColor({\n color: primary,\n name: 'primary'\n }),\n // The colors used to represent secondary interface elements for a user.\n secondary: augmentColor({\n color: secondary,\n name: 'secondary',\n mainShade: 'A400',\n lightShade: 'A200',\n darkShade: 'A700'\n }),\n // The colors used to represent interface elements that the user should be made aware of.\n error: augmentColor({\n color: error,\n name: 'error'\n }),\n // The colors used to represent potentially dangerous actions or important messages.\n warning: augmentColor({\n color: warning,\n name: 'warning'\n }),\n // The colors used to present information to the user that is neutral and not necessarily important.\n info: augmentColor({\n color: info,\n name: 'info'\n }),\n // The colors used to indicate the successful completion of an action that user triggered.\n success: augmentColor({\n color: success,\n name: 'success'\n }),\n // The grey colors.\n grey,\n // Used by `getContrastText()` to maximize the contrast between\n // the background and the text.\n contrastThreshold,\n // Takes a background color and returns the text color that maximizes the contrast.\n getContrastText,\n // Generate a rich color object.\n augmentColor,\n // Used by the functions below to shift a color's luminance by approximately\n // two indexes within its tonal palette.\n // E.g., shift from Red 500 to Red 300 or Red 700.\n tonalOffset,\n // The light and dark mode object.\n ...modes[mode]\n }, other);\n return paletteOutput;\n}","export default function prepareTypographyVars(typography) {\n const vars = {};\n const entries = Object.entries(typography);\n entries.forEach(entry => {\n const [key, value] = entry;\n if (typeof value === 'object') {\n vars[key] = `${value.fontStyle ? `${value.fontStyle} ` : ''}${value.fontVariant ? `${value.fontVariant} ` : ''}${value.fontWeight ? `${value.fontWeight} ` : ''}${value.fontStretch ? `${value.fontStretch} ` : ''}${value.fontSize || ''}${value.lineHeight ? `/${value.lineHeight} ` : ''}${value.fontFamily || ''}`;\n }\n });\n return vars;\n}","export default function createMixins(breakpoints, mixins) {\n return {\n toolbar: {\n minHeight: 56,\n [breakpoints.up('xs')]: {\n '@media (orientation: landscape)': {\n minHeight: 48\n }\n },\n [breakpoints.up('sm')]: {\n minHeight: 64\n }\n },\n ...mixins\n };\n}","import deepmerge from '@mui/utils/deepmerge';\nfunction round(value) {\n return Math.round(value * 1e5) / 1e5;\n}\nconst caseAllCaps = {\n textTransform: 'uppercase'\n};\nconst defaultFontFamily = '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif';\n\n/**\n * @see @link{https://m2.material.io/design/typography/the-type-system.html}\n * @see @link{https://m2.material.io/design/typography/understanding-typography.html}\n */\nexport default function createTypography(palette, typography) {\n const {\n fontFamily = defaultFontFamily,\n // The default font size of the Material Specification.\n fontSize = 14,\n // px\n fontWeightLight = 300,\n fontWeightRegular = 400,\n fontWeightMedium = 500,\n fontWeightBold = 700,\n // Tell MUI what's the font-size on the html element.\n // 16px is the default font-size used by browsers.\n htmlFontSize = 16,\n // Apply the CSS properties to all the variants.\n allVariants,\n pxToRem: pxToRem2,\n ...other\n } = typeof typography === 'function' ? typography(palette) : typography;\n if (process.env.NODE_ENV !== 'production') {\n if (typeof fontSize !== 'number') {\n console.error('MUI: `fontSize` is required to be a number.');\n }\n if (typeof htmlFontSize !== 'number') {\n console.error('MUI: `htmlFontSize` is required to be a number.');\n }\n }\n const coef = fontSize / 14;\n const pxToRem = pxToRem2 || (size => `${size / htmlFontSize * coef}rem`);\n const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => ({\n fontFamily,\n fontWeight,\n fontSize: pxToRem(size),\n // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/\n lineHeight,\n // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing\n // across font-families can cause issues with the kerning.\n ...(fontFamily === defaultFontFamily ? {\n letterSpacing: `${round(letterSpacing / size)}em`\n } : {}),\n ...casing,\n ...allVariants\n });\n const variants = {\n h1: buildVariant(fontWeightLight, 96, 1.167, -1.5),\n h2: buildVariant(fontWeightLight, 60, 1.2, -0.5),\n h3: buildVariant(fontWeightRegular, 48, 1.167, 0),\n h4: buildVariant(fontWeightRegular, 34, 1.235, 0.25),\n h5: buildVariant(fontWeightRegular, 24, 1.334, 0),\n h6: buildVariant(fontWeightMedium, 20, 1.6, 0.15),\n subtitle1: buildVariant(fontWeightRegular, 16, 1.75, 0.15),\n subtitle2: buildVariant(fontWeightMedium, 14, 1.57, 0.1),\n body1: buildVariant(fontWeightRegular, 16, 1.5, 0.15),\n body2: buildVariant(fontWeightRegular, 14, 1.43, 0.15),\n button: buildVariant(fontWeightMedium, 14, 1.75, 0.4, caseAllCaps),\n caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),\n overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps),\n // TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.\n inherit: {\n fontFamily: 'inherit',\n fontWeight: 'inherit',\n fontSize: 'inherit',\n lineHeight: 'inherit',\n letterSpacing: 'inherit'\n }\n };\n return deepmerge({\n htmlFontSize,\n pxToRem,\n fontFamily,\n fontSize,\n fontWeightLight,\n fontWeightRegular,\n fontWeightMedium,\n fontWeightBold,\n ...variants\n }, other, {\n clone: false // No need to clone deep\n });\n}","const shadowKeyUmbraOpacity = 0.2;\nconst shadowKeyPenumbraOpacity = 0.14;\nconst shadowAmbientShadowOpacity = 0.12;\nfunction createShadow(...px) {\n return [`${px[0]}px ${px[1]}px ${px[2]}px ${px[3]}px rgba(0,0,0,${shadowKeyUmbraOpacity})`, `${px[4]}px ${px[5]}px ${px[6]}px ${px[7]}px rgba(0,0,0,${shadowKeyPenumbraOpacity})`, `${px[8]}px ${px[9]}px ${px[10]}px ${px[11]}px rgba(0,0,0,${shadowAmbientShadowOpacity})`].join(',');\n}\n\n// Values from https://github.com/material-components/material-components-web/blob/be8747f94574669cb5e7add1a7c54fa41a89cec7/packages/mdc-elevation/_variables.scss\nconst shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];\nexport default shadows;","// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves\n// to learn the context in which each easing should be used.\nexport const easing = {\n // This is the most common easing curve.\n easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)',\n // Objects enter the screen at full velocity from off-screen and\n // slowly decelerate to a resting point.\n easeOut: 'cubic-bezier(0.0, 0, 0.2, 1)',\n // Objects leave the screen at full velocity. They do not decelerate when off-screen.\n easeIn: 'cubic-bezier(0.4, 0, 1, 1)',\n // The sharp curve is used by objects that may return to the screen at any time.\n sharp: 'cubic-bezier(0.4, 0, 0.6, 1)'\n};\n\n// Follow https://m2.material.io/guidelines/motion/duration-easing.html#duration-easing-common-durations\n// to learn when use what timing\nexport const duration = {\n shortest: 150,\n shorter: 200,\n short: 250,\n // most basic recommended timing\n standard: 300,\n // this is to be used in complex animations\n complex: 375,\n // recommended when something is entering screen\n enteringScreen: 225,\n // recommended when something is leaving screen\n leavingScreen: 195\n};\nfunction formatMs(milliseconds) {\n return `${Math.round(milliseconds)}ms`;\n}\nfunction getAutoHeightDuration(height) {\n if (!height) {\n return 0;\n }\n const constant = height / 36;\n\n // https://www.desmos.com/calculator/vbrp3ggqet\n return Math.min(Math.round((4 + 15 * constant ** 0.25 + constant / 5) * 10), 3000);\n}\nexport default function createTransitions(inputTransitions) {\n const mergedEasing = {\n ...easing,\n ...inputTransitions.easing\n };\n const mergedDuration = {\n ...duration,\n ...inputTransitions.duration\n };\n const create = (props = ['all'], options = {}) => {\n const {\n duration: durationOption = mergedDuration.standard,\n easing: easingOption = mergedEasing.easeInOut,\n delay = 0,\n ...other\n } = options;\n if (process.env.NODE_ENV !== 'production') {\n const isString = value => typeof value === 'string';\n const isNumber = value => !Number.isNaN(parseFloat(value));\n if (!isString(props) && !Array.isArray(props)) {\n console.error('MUI: Argument \"props\" must be a string or Array.');\n }\n if (!isNumber(durationOption) && !isString(durationOption)) {\n console.error(`MUI: Argument \"duration\" must be a number or a string but found ${durationOption}.`);\n }\n if (!isString(easingOption)) {\n console.error('MUI: Argument \"easing\" must be a string.');\n }\n if (!isNumber(delay) && !isString(delay)) {\n console.error('MUI: Argument \"delay\" must be a number or a string.');\n }\n if (typeof options !== 'object') {\n console.error(['MUI: Secong argument of transition.create must be an object.', \"Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`\"].join('\\n'));\n }\n if (Object.keys(other).length !== 0) {\n console.error(`MUI: Unrecognized argument(s) [${Object.keys(other).join(',')}].`);\n }\n }\n return (Array.isArray(props) ? props : [props]).map(animatedProp => `${animatedProp} ${typeof durationOption === 'string' ? durationOption : formatMs(durationOption)} ${easingOption} ${typeof delay === 'string' ? delay : formatMs(delay)}`).join(',');\n };\n return {\n getAutoHeightDuration,\n create,\n ...inputTransitions,\n easing: mergedEasing,\n duration: mergedDuration\n };\n}","// We need to centralize the zIndex definitions as they work\n// like global values in the browser.\nconst zIndex = {\n mobileStepper: 1000,\n fab: 1050,\n speedDial: 1050,\n appBar: 1100,\n drawer: 1200,\n modal: 1300,\n snackbar: 1400,\n tooltip: 1500\n};\nexport default zIndex;","import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nimport deepmerge from '@mui/utils/deepmerge';\nimport styleFunctionSx, { unstable_defaultSxConfig as defaultSxConfig } from '@mui/system/styleFunctionSx';\nimport systemCreateTheme from '@mui/system/createTheme';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport createMixins from \"./createMixins.js\";\nimport createPalette from \"./createPalette.js\";\nimport createTypography from \"./createTypography.js\";\nimport shadows from \"./shadows.js\";\nimport createTransitions from \"./createTransitions.js\";\nimport zIndex from \"./zIndex.js\";\nfunction createThemeNoVars(options = {}, ...args) {\n const {\n breakpoints: breakpointsInput,\n mixins: mixinsInput = {},\n spacing: spacingInput,\n palette: paletteInput = {},\n transitions: transitionsInput = {},\n typography: typographyInput = {},\n shape: shapeInput,\n ...other\n } = options;\n if (options.vars) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: \\`vars\\` is a private field used for CSS variables support.\nPlease use another name.` : _formatMuiErrorMessage(20));\n }\n const palette = createPalette(paletteInput);\n const systemTheme = systemCreateTheme(options);\n let muiTheme = deepmerge(systemTheme, {\n mixins: createMixins(systemTheme.breakpoints, mixinsInput),\n palette,\n // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.\n shadows: shadows.slice(),\n typography: createTypography(palette, typographyInput),\n transitions: createTransitions(transitionsInput),\n zIndex: {\n ...zIndex\n }\n });\n muiTheme = deepmerge(muiTheme, other);\n muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);\n if (process.env.NODE_ENV !== 'production') {\n // TODO v6: Refactor to use globalStateClassesMapping from @mui/utils once `readOnly` state class is used in Rating component.\n const stateClasses = ['active', 'checked', 'completed', 'disabled', 'error', 'expanded', 'focused', 'focusVisible', 'required', 'selected'];\n const traverse = (node, component) => {\n let key;\n\n // eslint-disable-next-line guard-for-in\n for (key in node) {\n const child = node[key];\n if (stateClasses.includes(key) && Object.keys(child).length > 0) {\n if (process.env.NODE_ENV !== 'production') {\n const stateClass = generateUtilityClass('', key);\n console.error([`MUI: The \\`${component}\\` component increases ` + `the CSS specificity of the \\`${key}\\` internal state.`, 'You can not override it like this: ', JSON.stringify(node, null, 2), '', `Instead, you need to use the '&.${stateClass}' syntax:`, JSON.stringify({\n root: {\n [`&.${stateClass}`]: child\n }\n }, null, 2), '', 'https://mui.com/r/state-classes-guide'].join('\\n'));\n }\n // Remove the style to prevent global conflicts.\n node[key] = {};\n }\n }\n };\n Object.keys(muiTheme.components).forEach(component => {\n const styleOverrides = muiTheme.components[component].styleOverrides;\n if (styleOverrides && component.startsWith('Mui')) {\n traverse(styleOverrides, component);\n }\n });\n }\n muiTheme.unstable_sxConfig = {\n ...defaultSxConfig,\n ...other?.unstable_sxConfig\n };\n muiTheme.unstable_sx = function sx(props) {\n return styleFunctionSx({\n sx: props,\n theme: this\n });\n };\n return muiTheme;\n}\nlet warnedOnce = false;\nexport function createMuiTheme(...args) {\n if (process.env.NODE_ENV !== 'production') {\n if (!warnedOnce) {\n warnedOnce = true;\n console.error(['MUI: the createMuiTheme function was renamed to createTheme.', '', \"You should use `import { createTheme } from '@mui/material/styles'`\"].join('\\n'));\n }\n }\n return createThemeNoVars(...args);\n}\nexport default createThemeNoVars;","// Inspired by https://github.com/material-components/material-components-ios/blob/bca36107405594d5b7b16265a5b0ed698f85a5ee/components/Elevation/src/UIColor%2BMaterialElevation.m#L61\nexport default function getOverlayAlpha(elevation) {\n let alphaValue;\n if (elevation < 1) {\n alphaValue = 5.11916 * elevation ** 2;\n } else {\n alphaValue = 4.5 * Math.log(elevation + 1) + 2;\n }\n return Math.round(alphaValue * 10) / 1000;\n}","import createPalette from \"./createPalette.js\";\nimport getOverlayAlpha from \"./getOverlayAlpha.js\";\nconst defaultDarkOverlays = [...Array(25)].map((_, index) => {\n if (index === 0) {\n return 'none';\n }\n const overlay = getOverlayAlpha(index);\n return `linear-gradient(rgba(255 255 255 / ${overlay}), rgba(255 255 255 / ${overlay}))`;\n});\nexport function getOpacity(mode) {\n return {\n inputPlaceholder: mode === 'dark' ? 0.5 : 0.42,\n inputUnderline: mode === 'dark' ? 0.7 : 0.42,\n switchTrackDisabled: mode === 'dark' ? 0.2 : 0.12,\n switchTrack: mode === 'dark' ? 0.3 : 0.38\n };\n}\nexport function getOverlays(mode) {\n return mode === 'dark' ? defaultDarkOverlays : [];\n}\nexport default function createColorScheme(options) {\n const {\n palette: paletteInput = {\n mode: 'light'\n },\n // need to cast to avoid module augmentation test\n opacity,\n overlays,\n ...rest\n } = options;\n const palette = createPalette(paletteInput);\n return {\n palette,\n opacity: {\n ...getOpacity(palette.mode),\n ...opacity\n },\n overlays: overlays || getOverlays(palette.mode),\n ...rest\n };\n}","export default function shouldSkipGeneratingVar(keys) {\n return !!keys[0].match(/(cssVarPrefix|colorSchemeSelector|typography|mixins|breakpoints|direction|transitions)/) || !!keys[0].match(/sxConfig$/) ||\n // ends with sxConfig\n keys[0] === 'palette' && !!keys[1]?.match(/(mode|contrastThreshold|tonalOffset)/);\n}","/**\n * @internal These variables should not appear in the :root stylesheet when the `defaultColorScheme=\"dark\"`\n */\nconst excludeVariablesFromRoot = cssVarPrefix => [...[...Array(25)].map((_, index) => `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}overlays-${index}`), `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}palette-AppBar-darkBg`, `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}palette-AppBar-darkColor`];\nexport default excludeVariablesFromRoot;","import excludeVariablesFromRoot from \"./excludeVariablesFromRoot.js\";\nexport default theme => (colorScheme, css) => {\n const selector = theme.colorSchemeSelector;\n let rule = selector;\n if (selector === 'class') {\n rule = '.%s';\n }\n if (selector === 'data') {\n rule = '[data-%s]';\n }\n if (selector?.startsWith('data-') && !selector.includes('%s')) {\n // 'data-mui-color-scheme' -> '[data-mui-color-scheme=\"%s\"]'\n rule = `[${selector}=\"%s\"]`;\n }\n if (theme.defaultColorScheme === colorScheme) {\n if (colorScheme === 'dark') {\n const excludedVariables = {};\n excludeVariablesFromRoot(theme.cssVarPrefix).forEach(cssVar => {\n excludedVariables[cssVar] = css[cssVar];\n delete css[cssVar];\n });\n if (rule === 'media') {\n return {\n ':root': css,\n [`@media (prefers-color-scheme: dark)`]: {\n ':root': excludedVariables\n }\n };\n }\n if (rule) {\n return {\n [rule.replace('%s', colorScheme)]: excludedVariables,\n [`:root, ${rule.replace('%s', colorScheme)}`]: css\n };\n }\n return {\n ':root': {\n ...css,\n ...excludedVariables\n }\n };\n }\n if (rule && rule !== 'media') {\n return `:root, ${rule.replace('%s', String(colorScheme))}`;\n }\n } else if (colorScheme) {\n if (rule === 'media') {\n return {\n [`@media (prefers-color-scheme: ${String(colorScheme)})`]: {\n ':root': css\n }\n };\n }\n if (rule) {\n return rule.replace('%s', String(colorScheme));\n }\n }\n return ':root';\n};","/* eslint-disable import/prefer-default-export */\nimport { isPlainObject } from '@mui/utils/deepmerge';\nfunction isSerializable(val) {\n return isPlainObject(val) || typeof val === 'undefined' || typeof val === 'string' || typeof val === 'boolean' || typeof val === 'number' || Array.isArray(val);\n}\n\n/**\n * `baseTheme` usually comes from `createTheme` or `extendTheme`.\n *\n * This function is intended to be used with zero-runtime CSS-in-JS like Pigment CSS\n * For example, in a Next.js project:\n *\n * ```js\n * // next.config.js\n * const { extendTheme } = require('@mui/material/styles');\n *\n * const theme = extendTheme();\n * // `.toRuntimeSource` is Pigment CSS specific to create a theme that is available at runtime.\n * theme.toRuntimeSource = stringifyTheme;\n *\n * module.exports = withPigment({\n * theme,\n * });\n * ```\n */\nexport function stringifyTheme(baseTheme = {}) {\n const serializableTheme = {\n ...baseTheme\n };\n function serializeTheme(object) {\n const array = Object.entries(object);\n // eslint-disable-next-line no-plusplus\n for (let index = 0; index < array.length; index++) {\n const [key, value] = array[index];\n if (!isSerializable(value) || key.startsWith('unstable_')) {\n delete object[key];\n } else if (isPlainObject(value)) {\n object[key] = {\n ...value\n };\n serializeTheme(object[key]);\n }\n }\n }\n serializeTheme(serializableTheme);\n return `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(serializableTheme, null, 2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`;\n}","import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nimport deepmerge from '@mui/utils/deepmerge';\nimport { unstable_createGetCssVar as systemCreateGetCssVar, createSpacing } from '@mui/system';\nimport { createUnarySpacing } from '@mui/system/spacing';\nimport { prepareCssVars, prepareTypographyVars, createGetColorSchemeSelector } from '@mui/system/cssVars';\nimport styleFunctionSx, { unstable_defaultSxConfig as defaultSxConfig } from '@mui/system/styleFunctionSx';\nimport { private_safeColorChannel as safeColorChannel, private_safeAlpha as safeAlpha, private_safeDarken as safeDarken, private_safeLighten as safeLighten, private_safeEmphasize as safeEmphasize, hslToRgb } from '@mui/system/colorManipulator';\nimport createThemeNoVars from \"./createThemeNoVars.js\";\nimport createColorScheme, { getOpacity, getOverlays } from \"./createColorScheme.js\";\nimport defaultShouldSkipGeneratingVar from \"./shouldSkipGeneratingVar.js\";\nimport defaultGetSelector from \"./createGetSelector.js\";\nimport { stringifyTheme } from \"./stringifyTheme.js\";\nfunction assignNode(obj, keys) {\n keys.forEach(k => {\n if (!obj[k]) {\n obj[k] = {};\n }\n });\n}\nfunction setColor(obj, key, defaultValue) {\n if (!obj[key] && defaultValue) {\n obj[key] = defaultValue;\n }\n}\nfunction toRgb(color) {\n if (!color || !color.startsWith('hsl')) {\n return color;\n }\n return hslToRgb(color);\n}\nfunction setColorChannel(obj, key) {\n if (!(`${key}Channel` in obj)) {\n // custom channel token is not provided, generate one.\n // if channel token can't be generated, show a warning.\n obj[`${key}Channel`] = safeColorChannel(toRgb(obj[key]), `MUI: Can't create \\`palette.${key}Channel\\` because \\`palette.${key}\\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` + '\\n' + `To suppress this warning, you need to explicitly provide the \\`palette.${key}Channel\\` as a string (in rgb format, for example \"12 12 12\") or undefined if you want to remove the channel token.`);\n }\n}\nfunction getSpacingVal(spacingInput) {\n if (typeof spacingInput === 'number') {\n return `${spacingInput}px`;\n }\n if (typeof spacingInput === 'string' || typeof spacingInput === 'function' || Array.isArray(spacingInput)) {\n return spacingInput;\n }\n return '8px';\n}\nconst silent = fn => {\n try {\n return fn();\n } catch (error) {\n // ignore error\n }\n return undefined;\n};\nexport const createGetCssVar = (cssVarPrefix = 'mui') => systemCreateGetCssVar(cssVarPrefix);\nfunction attachColorScheme(colorSchemes, scheme, restTheme, colorScheme) {\n if (!scheme) {\n return undefined;\n }\n scheme = scheme === true ? {} : scheme;\n const mode = colorScheme === 'dark' ? 'dark' : 'light';\n if (!restTheme) {\n colorSchemes[colorScheme] = createColorScheme({\n ...scheme,\n palette: {\n mode,\n ...scheme?.palette\n }\n });\n return undefined;\n }\n const {\n palette,\n ...muiTheme\n } = createThemeNoVars({\n ...restTheme,\n palette: {\n mode,\n ...scheme?.palette\n }\n });\n colorSchemes[colorScheme] = {\n ...scheme,\n palette,\n opacity: {\n ...getOpacity(mode),\n ...scheme?.opacity\n },\n overlays: scheme?.overlays || getOverlays(mode)\n };\n return muiTheme;\n}\n\n/**\n * A default `createThemeWithVars` comes with a single color scheme, either `light` or `dark` based on the `defaultColorScheme`.\n * This is better suited for apps that only need a single color scheme.\n *\n * To enable built-in `light` and `dark` color schemes, either:\n * 1. provide a `colorSchemeSelector` to define how the color schemes will change.\n * 2. provide `colorSchemes.dark` will set `colorSchemeSelector: 'media'` by default.\n */\nexport default function createThemeWithVars(options = {}, ...args) {\n const {\n colorSchemes: colorSchemesInput = {\n light: true\n },\n defaultColorScheme: defaultColorSchemeInput,\n disableCssColorScheme = false,\n cssVarPrefix = 'mui',\n shouldSkipGeneratingVar = defaultShouldSkipGeneratingVar,\n colorSchemeSelector: selector = colorSchemesInput.light && colorSchemesInput.dark ? 'media' : undefined,\n ...input\n } = options;\n const firstColorScheme = Object.keys(colorSchemesInput)[0];\n const defaultColorScheme = defaultColorSchemeInput || (colorSchemesInput.light && firstColorScheme !== 'light' ? 'light' : firstColorScheme);\n const getCssVar = createGetCssVar(cssVarPrefix);\n const {\n [defaultColorScheme]: defaultSchemeInput,\n light: builtInLight,\n dark: builtInDark,\n ...customColorSchemes\n } = colorSchemesInput;\n const colorSchemes = {\n ...customColorSchemes\n };\n let defaultScheme = defaultSchemeInput;\n\n // For built-in light and dark color schemes, ensure that the value is valid if they are the default color scheme.\n if (defaultColorScheme === 'dark' && !('dark' in colorSchemesInput) || defaultColorScheme === 'light' && !('light' in colorSchemesInput)) {\n defaultScheme = true;\n }\n if (!defaultScheme) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: The \\`colorSchemes.${defaultColorScheme}\\` option is either missing or invalid.` : _formatMuiErrorMessage(21, defaultColorScheme));\n }\n\n // Create the palette for the default color scheme, either `light`, `dark`, or custom color scheme.\n const muiTheme = attachColorScheme(colorSchemes, defaultScheme, input, defaultColorScheme);\n if (builtInLight && !colorSchemes.light) {\n attachColorScheme(colorSchemes, builtInLight, undefined, 'light');\n }\n if (builtInDark && !colorSchemes.dark) {\n attachColorScheme(colorSchemes, builtInDark, undefined, 'dark');\n }\n let theme = {\n defaultColorScheme,\n ...muiTheme,\n cssVarPrefix,\n colorSchemeSelector: selector,\n getCssVar,\n colorSchemes,\n font: {\n ...prepareTypographyVars(muiTheme.typography),\n ...muiTheme.font\n },\n spacing: getSpacingVal(input.spacing)\n };\n Object.keys(theme.colorSchemes).forEach(key => {\n const palette = theme.colorSchemes[key].palette;\n const setCssVarColor = cssVar => {\n const tokens = cssVar.split('-');\n const color = tokens[1];\n const colorToken = tokens[2];\n return getCssVar(cssVar, palette[color][colorToken]);\n };\n\n // attach black & white channels to common node\n if (palette.mode === 'light') {\n setColor(palette.common, 'background', '#fff');\n setColor(palette.common, 'onBackground', '#000');\n }\n if (palette.mode === 'dark') {\n setColor(palette.common, 'background', '#000');\n setColor(palette.common, 'onBackground', '#fff');\n }\n\n // assign component variables\n assignNode(palette, ['Alert', 'AppBar', 'Avatar', 'Button', 'Chip', 'FilledInput', 'LinearProgress', 'Skeleton', 'Slider', 'SnackbarContent', 'SpeedDialAction', 'StepConnector', 'StepContent', 'Switch', 'TableCell', 'Tooltip']);\n if (palette.mode === 'light') {\n setColor(palette.Alert, 'errorColor', safeDarken(palette.error.light, 0.6));\n setColor(palette.Alert, 'infoColor', safeDarken(palette.info.light, 0.6));\n setColor(palette.Alert, 'successColor', safeDarken(palette.success.light, 0.6));\n setColor(palette.Alert, 'warningColor', safeDarken(palette.warning.light, 0.6));\n setColor(palette.Alert, 'errorFilledBg', setCssVarColor('palette-error-main'));\n setColor(palette.Alert, 'infoFilledBg', setCssVarColor('palette-info-main'));\n setColor(palette.Alert, 'successFilledBg', setCssVarColor('palette-success-main'));\n setColor(palette.Alert, 'warningFilledBg', setCssVarColor('palette-warning-main'));\n setColor(palette.Alert, 'errorFilledColor', silent(() => palette.getContrastText(palette.error.main)));\n setColor(palette.Alert, 'infoFilledColor', silent(() => palette.getContrastText(palette.info.main)));\n setColor(palette.Alert, 'successFilledColor', silent(() => palette.getContrastText(palette.success.main)));\n setColor(palette.Alert, 'warningFilledColor', silent(() => palette.getContrastText(palette.warning.main)));\n setColor(palette.Alert, 'errorStandardBg', safeLighten(palette.error.light, 0.9));\n setColor(palette.Alert, 'infoStandardBg', safeLighten(palette.info.light, 0.9));\n setColor(palette.Alert, 'successStandardBg', safeLighten(palette.success.light, 0.9));\n setColor(palette.Alert, 'warningStandardBg', safeLighten(palette.warning.light, 0.9));\n setColor(palette.Alert, 'errorIconColor', setCssVarColor('palette-error-main'));\n setColor(palette.Alert, 'infoIconColor', setCssVarColor('palette-info-main'));\n setColor(palette.Alert, 'successIconColor', setCssVarColor('palette-success-main'));\n setColor(palette.Alert, 'warningIconColor', setCssVarColor('palette-warning-main'));\n setColor(palette.AppBar, 'defaultBg', setCssVarColor('palette-grey-100'));\n setColor(palette.Avatar, 'defaultBg', setCssVarColor('palette-grey-400'));\n setColor(palette.Button, 'inheritContainedBg', setCssVarColor('palette-grey-300'));\n setColor(palette.Button, 'inheritContainedHoverBg', setCssVarColor('palette-grey-A100'));\n setColor(palette.Chip, 'defaultBorder', setCssVarColor('palette-grey-400'));\n setColor(palette.Chip, 'defaultAvatarColor', setCssVarColor('palette-grey-700'));\n setColor(palette.Chip, 'defaultIconColor', setCssVarColor('palette-grey-700'));\n setColor(palette.FilledInput, 'bg', 'rgba(0, 0, 0, 0.06)');\n setColor(palette.FilledInput, 'hoverBg', 'rgba(0, 0, 0, 0.09)');\n setColor(palette.FilledInput, 'disabledBg', 'rgba(0, 0, 0, 0.12)');\n setColor(palette.LinearProgress, 'primaryBg', safeLighten(palette.primary.main, 0.62));\n setColor(palette.LinearProgress, 'secondaryBg', safeLighten(palette.secondary.main, 0.62));\n setColor(palette.LinearProgress, 'errorBg', safeLighten(palette.error.main, 0.62));\n setColor(palette.LinearProgress, 'infoBg', safeLighten(palette.info.main, 0.62));\n setColor(palette.LinearProgress, 'successBg', safeLighten(palette.success.main, 0.62));\n setColor(palette.LinearProgress, 'warningBg', safeLighten(palette.warning.main, 0.62));\n setColor(palette.Skeleton, 'bg', `rgba(${setCssVarColor('palette-text-primaryChannel')} / 0.11)`);\n setColor(palette.Slider, 'primaryTrack', safeLighten(palette.primary.main, 0.62));\n setColor(palette.Slider, 'secondaryTrack', safeLighten(palette.secondary.main, 0.62));\n setColor(palette.Slider, 'errorTrack', safeLighten(palette.error.main, 0.62));\n setColor(palette.Slider, 'infoTrack', safeLighten(palette.info.main, 0.62));\n setColor(palette.Slider, 'successTrack', safeLighten(palette.success.main, 0.62));\n setColor(palette.Slider, 'warningTrack', safeLighten(palette.warning.main, 0.62));\n const snackbarContentBackground = safeEmphasize(palette.background.default, 0.8);\n setColor(palette.SnackbarContent, 'bg', snackbarContentBackground);\n setColor(palette.SnackbarContent, 'color', silent(() => palette.getContrastText(snackbarContentBackground)));\n setColor(palette.SpeedDialAction, 'fabHoverBg', safeEmphasize(palette.background.paper, 0.15));\n setColor(palette.StepConnector, 'border', setCssVarColor('palette-grey-400'));\n setColor(palette.StepContent, 'border', setCssVarColor('palette-grey-400'));\n setColor(palette.Switch, 'defaultColor', setCssVarColor('palette-common-white'));\n setColor(palette.Switch, 'defaultDisabledColor', setCssVarColor('palette-grey-100'));\n setColor(palette.Switch, 'primaryDisabledColor', safeLighten(palette.primary.main, 0.62));\n setColor(palette.Switch, 'secondaryDisabledColor', safeLighten(palette.secondary.main, 0.62));\n setColor(palette.Switch, 'errorDisabledColor', safeLighten(palette.error.main, 0.62));\n setColor(palette.Switch, 'infoDisabledColor', safeLighten(palette.info.main, 0.62));\n setColor(palette.Switch, 'successDisabledColor', safeLighten(palette.success.main, 0.62));\n setColor(palette.Switch, 'warningDisabledColor', safeLighten(palette.warning.main, 0.62));\n setColor(palette.TableCell, 'border', safeLighten(safeAlpha(palette.divider, 1), 0.88));\n setColor(palette.Tooltip, 'bg', safeAlpha(palette.grey[700], 0.92));\n }\n if (palette.mode === 'dark') {\n setColor(palette.Alert, 'errorColor', safeLighten(palette.error.light, 0.6));\n setColor(palette.Alert, 'infoColor', safeLighten(palette.info.light, 0.6));\n setColor(palette.Alert, 'successColor', safeLighten(palette.success.light, 0.6));\n setColor(palette.Alert, 'warningColor', safeLighten(palette.warning.light, 0.6));\n setColor(palette.Alert, 'errorFilledBg', setCssVarColor('palette-error-dark'));\n setColor(palette.Alert, 'infoFilledBg', setCssVarColor('palette-info-dark'));\n setColor(palette.Alert, 'successFilledBg', setCssVarColor('palette-success-dark'));\n setColor(palette.Alert, 'warningFilledBg', setCssVarColor('palette-warning-dark'));\n setColor(palette.Alert, 'errorFilledColor', silent(() => palette.getContrastText(palette.error.dark)));\n setColor(palette.Alert, 'infoFilledColor', silent(() => palette.getContrastText(palette.info.dark)));\n setColor(palette.Alert, 'successFilledColor', silent(() => palette.getContrastText(palette.success.dark)));\n setColor(palette.Alert, 'warningFilledColor', silent(() => palette.getContrastText(palette.warning.dark)));\n setColor(palette.Alert, 'errorStandardBg', safeDarken(palette.error.light, 0.9));\n setColor(palette.Alert, 'infoStandardBg', safeDarken(palette.info.light, 0.9));\n setColor(palette.Alert, 'successStandardBg', safeDarken(palette.success.light, 0.9));\n setColor(palette.Alert, 'warningStandardBg', safeDarken(palette.warning.light, 0.9));\n setColor(palette.Alert, 'errorIconColor', setCssVarColor('palette-error-main'));\n setColor(palette.Alert, 'infoIconColor', setCssVarColor('palette-info-main'));\n setColor(palette.Alert, 'successIconColor', setCssVarColor('palette-success-main'));\n setColor(palette.Alert, 'warningIconColor', setCssVarColor('palette-warning-main'));\n setColor(palette.AppBar, 'defaultBg', setCssVarColor('palette-grey-900'));\n setColor(palette.AppBar, 'darkBg', setCssVarColor('palette-background-paper')); // specific for dark mode\n setColor(palette.AppBar, 'darkColor', setCssVarColor('palette-text-primary')); // specific for dark mode\n setColor(palette.Avatar, 'defaultBg', setCssVarColor('palette-grey-600'));\n setColor(palette.Button, 'inheritContainedBg', setCssVarColor('palette-grey-800'));\n setColor(palette.Button, 'inheritContainedHoverBg', setCssVarColor('palette-grey-700'));\n setColor(palette.Chip, 'defaultBorder', setCssVarColor('palette-grey-700'));\n setColor(palette.Chip, 'defaultAvatarColor', setCssVarColor('palette-grey-300'));\n setColor(palette.Chip, 'defaultIconColor', setCssVarColor('palette-grey-300'));\n setColor(palette.FilledInput, 'bg', 'rgba(255, 255, 255, 0.09)');\n setColor(palette.FilledInput, 'hoverBg', 'rgba(255, 255, 255, 0.13)');\n setColor(palette.FilledInput, 'disabledBg', 'rgba(255, 255, 255, 0.12)');\n setColor(palette.LinearProgress, 'primaryBg', safeDarken(palette.primary.main, 0.5));\n setColor(palette.LinearProgress, 'secondaryBg', safeDarken(palette.secondary.main, 0.5));\n setColor(palette.LinearProgress, 'errorBg', safeDarken(palette.error.main, 0.5));\n setColor(palette.LinearProgress, 'infoBg', safeDarken(palette.info.main, 0.5));\n setColor(palette.LinearProgress, 'successBg', safeDarken(palette.success.main, 0.5));\n setColor(palette.LinearProgress, 'warningBg', safeDarken(palette.warning.main, 0.5));\n setColor(palette.Skeleton, 'bg', `rgba(${setCssVarColor('palette-text-primaryChannel')} / 0.13)`);\n setColor(palette.Slider, 'primaryTrack', safeDarken(palette.primary.main, 0.5));\n setColor(palette.Slider, 'secondaryTrack', safeDarken(palette.secondary.main, 0.5));\n setColor(palette.Slider, 'errorTrack', safeDarken(palette.error.main, 0.5));\n setColor(palette.Slider, 'infoTrack', safeDarken(palette.info.main, 0.5));\n setColor(palette.Slider, 'successTrack', safeDarken(palette.success.main, 0.5));\n setColor(palette.Slider, 'warningTrack', safeDarken(palette.warning.main, 0.5));\n const snackbarContentBackground = safeEmphasize(palette.background.default, 0.98);\n setColor(palette.SnackbarContent, 'bg', snackbarContentBackground);\n setColor(palette.SnackbarContent, 'color', silent(() => palette.getContrastText(snackbarContentBackground)));\n setColor(palette.SpeedDialAction, 'fabHoverBg', safeEmphasize(palette.background.paper, 0.15));\n setColor(palette.StepConnector, 'border', setCssVarColor('palette-grey-600'));\n setColor(palette.StepContent, 'border', setCssVarColor('palette-grey-600'));\n setColor(palette.Switch, 'defaultColor', setCssVarColor('palette-grey-300'));\n setColor(palette.Switch, 'defaultDisabledColor', setCssVarColor('palette-grey-600'));\n setColor(palette.Switch, 'primaryDisabledColor', safeDarken(palette.primary.main, 0.55));\n setColor(palette.Switch, 'secondaryDisabledColor', safeDarken(palette.secondary.main, 0.55));\n setColor(palette.Switch, 'errorDisabledColor', safeDarken(palette.error.main, 0.55));\n setColor(palette.Switch, 'infoDisabledColor', safeDarken(palette.info.main, 0.55));\n setColor(palette.Switch, 'successDisabledColor', safeDarken(palette.success.main, 0.55));\n setColor(palette.Switch, 'warningDisabledColor', safeDarken(palette.warning.main, 0.55));\n setColor(palette.TableCell, 'border', safeDarken(safeAlpha(palette.divider, 1), 0.68));\n setColor(palette.Tooltip, 'bg', safeAlpha(palette.grey[700], 0.92));\n }\n\n // MUI X - DataGrid needs this token.\n setColorChannel(palette.background, 'default');\n\n // added for consistency with the `background.default` token\n setColorChannel(palette.background, 'paper');\n setColorChannel(palette.common, 'background');\n setColorChannel(palette.common, 'onBackground');\n setColorChannel(palette, 'divider');\n Object.keys(palette).forEach(color => {\n const colors = palette[color];\n\n // The default palettes (primary, secondary, error, info, success, and warning) errors are handled by the above `createTheme(...)`.\n\n if (colors && typeof colors === 'object') {\n // Silent the error for custom palettes.\n if (colors.main) {\n setColor(palette[color], 'mainChannel', safeColorChannel(toRgb(colors.main)));\n }\n if (colors.light) {\n setColor(palette[color], 'lightChannel', safeColorChannel(toRgb(colors.light)));\n }\n if (colors.dark) {\n setColor(palette[color], 'darkChannel', safeColorChannel(toRgb(colors.dark)));\n }\n if (colors.contrastText) {\n setColor(palette[color], 'contrastTextChannel', safeColorChannel(toRgb(colors.contrastText)));\n }\n if (color === 'text') {\n // Text colors: text.primary, text.secondary\n setColorChannel(palette[color], 'primary');\n setColorChannel(palette[color], 'secondary');\n }\n if (color === 'action') {\n // Action colors: action.active, action.selected\n if (colors.active) {\n setColorChannel(palette[color], 'active');\n }\n if (colors.selected) {\n setColorChannel(palette[color], 'selected');\n }\n }\n }\n });\n });\n theme = args.reduce((acc, argument) => deepmerge(acc, argument), theme);\n const parserConfig = {\n prefix: cssVarPrefix,\n disableCssColorScheme,\n shouldSkipGeneratingVar,\n getSelector: defaultGetSelector(theme)\n };\n const {\n vars,\n generateThemeVars,\n generateStyleSheets\n } = prepareCssVars(theme, parserConfig);\n theme.vars = vars;\n Object.entries(theme.colorSchemes[theme.defaultColorScheme]).forEach(([key, value]) => {\n theme[key] = value;\n });\n theme.generateThemeVars = generateThemeVars;\n theme.generateStyleSheets = generateStyleSheets;\n theme.generateSpacing = function generateSpacing() {\n return createSpacing(input.spacing, createUnarySpacing(this));\n };\n theme.getColorSchemeSelector = createGetColorSchemeSelector(selector);\n theme.spacing = theme.generateSpacing();\n theme.shouldSkipGeneratingVar = shouldSkipGeneratingVar;\n theme.unstable_sxConfig = {\n ...defaultSxConfig,\n ...input?.unstable_sxConfig\n };\n theme.unstable_sx = function sx(props) {\n return styleFunctionSx({\n sx: props,\n theme: this\n });\n };\n theme.toRuntimeSource = stringifyTheme; // for Pigment CSS integration\n\n return theme;\n}","import createPalette from \"./createPalette.js\";\nimport createThemeWithVars from \"./createThemeWithVars.js\";\nimport createThemeNoVars from \"./createThemeNoVars.js\";\nexport { createMuiTheme } from \"./createThemeNoVars.js\";\n// eslint-disable-next-line consistent-return\nfunction attachColorScheme(theme, scheme, colorScheme) {\n if (!theme.colorSchemes) {\n return undefined;\n }\n if (colorScheme) {\n theme.colorSchemes[scheme] = {\n ...(colorScheme !== true && colorScheme),\n palette: createPalette({\n ...(colorScheme === true ? {} : colorScheme.palette),\n mode: scheme\n }) // cast type to skip module augmentation test\n };\n }\n}\n\n/**\n * Generate a theme base on the options received.\n * @param options Takes an incomplete theme object and adds the missing parts.\n * @param args Deep merge the arguments with the about to be returned theme.\n * @returns A complete, ready-to-use theme object.\n */\nexport default function createTheme(options = {},\n// cast type to skip module augmentation test\n...args) {\n const {\n palette,\n cssVariables = false,\n colorSchemes: initialColorSchemes = !palette ? {\n light: true\n } : undefined,\n defaultColorScheme: initialDefaultColorScheme = palette?.mode,\n ...rest\n } = options;\n const defaultColorSchemeInput = initialDefaultColorScheme || 'light';\n const defaultScheme = initialColorSchemes?.[defaultColorSchemeInput];\n const colorSchemesInput = {\n ...initialColorSchemes,\n ...(palette ? {\n [defaultColorSchemeInput]: {\n ...(typeof defaultScheme !== 'boolean' && defaultScheme),\n palette\n }\n } : undefined)\n };\n if (cssVariables === false) {\n if (!('colorSchemes' in options)) {\n // Behaves exactly as v5\n return createThemeNoVars(options, ...args);\n }\n let paletteOptions = palette;\n if (!('palette' in options)) {\n if (colorSchemesInput[defaultColorSchemeInput]) {\n if (colorSchemesInput[defaultColorSchemeInput] !== true) {\n paletteOptions = colorSchemesInput[defaultColorSchemeInput].palette;\n } else if (defaultColorSchemeInput === 'dark') {\n // @ts-ignore to prevent the module augmentation test from failing\n paletteOptions = {\n mode: 'dark'\n };\n }\n }\n }\n const theme = createThemeNoVars({\n ...options,\n palette: paletteOptions\n }, ...args);\n theme.defaultColorScheme = defaultColorSchemeInput;\n theme.colorSchemes = colorSchemesInput;\n if (theme.palette.mode === 'light') {\n theme.colorSchemes.light = {\n ...(colorSchemesInput.light !== true && colorSchemesInput.light),\n palette: theme.palette\n };\n attachColorScheme(theme, 'dark', colorSchemesInput.dark);\n }\n if (theme.palette.mode === 'dark') {\n theme.colorSchemes.dark = {\n ...(colorSchemesInput.dark !== true && colorSchemesInput.dark),\n palette: theme.palette\n };\n attachColorScheme(theme, 'light', colorSchemesInput.light);\n }\n return theme;\n }\n if (!palette && !('light' in colorSchemesInput) && defaultColorSchemeInput === 'light') {\n colorSchemesInput.light = true;\n }\n return createThemeWithVars({\n ...rest,\n colorSchemes: colorSchemesInput,\n defaultColorScheme: defaultColorSchemeInput,\n ...(typeof cssVariables !== 'boolean' && cssVariables)\n }, ...args);\n}","'use client';\n\nimport createTheme from \"./createTheme.js\";\nconst defaultTheme = createTheme();\nexport default defaultTheme;","'use client';\n\nimport * as React from 'react';\nimport { useTheme as useThemeSystem } from '@mui/system';\nimport defaultTheme from \"./defaultTheme.js\";\nimport THEME_ID from \"./identifier.js\";\nexport default function useTheme() {\n const theme = useThemeSystem(defaultTheme);\n if (process.env.NODE_ENV !== 'production') {\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(theme);\n }\n return theme[THEME_ID] || theme;\n}","'use client';\n\nimport systemUseThemeProps from '@mui/system/useThemeProps';\nimport defaultTheme from \"./defaultTheme.js\";\nimport THEME_ID from \"./identifier.js\";\nexport default function useThemeProps({\n props,\n name\n}) {\n return systemUseThemeProps({\n props,\n name,\n defaultTheme,\n themeId: THEME_ID\n });\n}","// copied from @mui/system/createStyled\nfunction slotShouldForwardProp(prop) {\n return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';\n}\nexport default slotShouldForwardProp;","import slotShouldForwardProp from \"./slotShouldForwardProp.js\";\nconst rootShouldForwardProp = prop => slotShouldForwardProp(prop) && prop !== 'classes';\nexport default rootShouldForwardProp;","'use client';\n\nimport createStyled from '@mui/system/createStyled';\nimport defaultTheme from \"./defaultTheme.js\";\nimport THEME_ID from \"./identifier.js\";\nimport rootShouldForwardProp from \"./rootShouldForwardProp.js\";\nexport { default as slotShouldForwardProp } from \"./slotShouldForwardProp.js\";\nexport { default as rootShouldForwardProp } from \"./rootShouldForwardProp.js\";\nconst styled = createStyled({\n themeId: THEME_ID,\n defaultTheme,\n rootShouldForwardProp\n});\nexport default styled;","'use client';\n\nimport * as React from 'react';\nimport { ThemeProvider as SystemThemeProvider } from '@mui/system';\nimport THEME_ID from \"./identifier.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function ThemeProviderNoVars({\n theme: themeInput,\n ...props\n}) {\n const scopedTheme = THEME_ID in themeInput ? themeInput[THEME_ID] : undefined;\n return /*#__PURE__*/_jsx(SystemThemeProvider, {\n ...props,\n themeId: scopedTheme ? THEME_ID : undefined,\n theme: scopedTheme || themeInput\n });\n}","import * as React from 'react';\nimport SystemInitColorSchemeScript from '@mui/system/InitColorSchemeScript';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const defaultConfig = {\n attribute: 'data-mui-color-scheme',\n colorSchemeStorageKey: 'mui-color-scheme',\n defaultLightColorScheme: 'light',\n defaultDarkColorScheme: 'dark',\n modeStorageKey: 'mui-mode'\n};\nexport default (function InitColorSchemeScript(props) {\n return /*#__PURE__*/_jsx(SystemInitColorSchemeScript, {\n ...defaultConfig,\n ...props\n });\n});","'use client';\n\nimport * as React from 'react';\nimport styleFunctionSx from '@mui/system/styleFunctionSx';\nimport { unstable_createCssVarsProvider as createCssVarsProvider } from '@mui/system';\nimport createTheme from \"./createTheme.js\";\nimport createTypography from \"./createTypography.js\";\nimport THEME_ID from \"./identifier.js\";\nimport { defaultConfig } from \"../InitColorSchemeScript/InitColorSchemeScript.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst {\n CssVarsProvider: InternalCssVarsProvider,\n useColorScheme,\n getInitColorSchemeScript: deprecatedGetInitColorSchemeScript\n} = createCssVarsProvider({\n themeId: THEME_ID,\n // @ts-ignore ignore module augmentation tests\n theme: () => createTheme({\n cssVariables: true\n }),\n colorSchemeStorageKey: defaultConfig.colorSchemeStorageKey,\n modeStorageKey: defaultConfig.modeStorageKey,\n defaultColorScheme: {\n light: defaultConfig.defaultLightColorScheme,\n dark: defaultConfig.defaultDarkColorScheme\n },\n resolveTheme: theme => {\n const newTheme = {\n ...theme,\n typography: createTypography(theme.palette, theme.typography)\n };\n newTheme.unstable_sx = function sx(props) {\n return styleFunctionSx({\n sx: props,\n theme: this\n });\n };\n return newTheme;\n }\n});\nlet warnedOnce = false;\n\n// TODO: remove in v7\n// eslint-disable-next-line @typescript-eslint/naming-convention\nfunction Experimental_CssVarsProvider(props) {\n if (process.env.NODE_ENV !== 'production') {\n if (!warnedOnce) {\n console.warn(['MUI: The Experimental_CssVarsProvider component has been ported into ThemeProvider.', '', \"You should use `import { ThemeProvider } from '@mui/material/styles'` instead.\", 'For more details, check out https://mui.com/material-ui/customization/css-theme-variables/usage/'].join('\\n'));\n warnedOnce = true;\n }\n }\n return /*#__PURE__*/_jsx(InternalCssVarsProvider, {\n ...props\n });\n}\nlet warnedInitScriptOnce = false;\n\n// TODO: remove in v7\nconst getInitColorSchemeScript = params => {\n if (!warnedInitScriptOnce) {\n console.warn(['MUI: The getInitColorSchemeScript function has been deprecated.', '', \"You should use `import InitColorSchemeScript from '@mui/material/InitColorSchemeScript'`\", 'and replace the function call with `` instead.'].join('\\n'));\n warnedInitScriptOnce = true;\n }\n return deprecatedGetInitColorSchemeScript(params);\n};\n\n/**\n * TODO: remove this export in v7\n * @deprecated\n * The `CssVarsProvider` component has been deprecated and ported into `ThemeProvider`.\n *\n * You should use `ThemeProvider` and `createTheme` instead:\n *\n * ```diff\n * - import { CssVarsProvider, extendTheme } from '@mui/material/styles';\n * + import { ThemeProvider, createTheme } from '@mui/material/styles';\n *\n * - const theme = extendTheme();\n * + const theme = createTheme({\n * + cssVariables: true,\n * + colorSchemes: { light: true, dark: true },\n * + });\n *\n * - \n * + \n * ```\n *\n * To see the full documentation, check out https://mui.com/material-ui/customization/css-theme-variables/usage/.\n */\nexport const CssVarsProvider = InternalCssVarsProvider;\nexport { useColorScheme, getInitColorSchemeScript, Experimental_CssVarsProvider };","'use client';\n\nimport * as React from 'react';\nimport ThemeProviderNoVars from \"./ThemeProviderNoVars.js\";\nimport { CssVarsProvider } from \"./ThemeProviderWithVars.js\";\nimport THEME_ID from \"./identifier.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function ThemeProvider({\n theme,\n ...props\n}) {\n if (typeof theme === 'function') {\n return /*#__PURE__*/_jsx(ThemeProviderNoVars, {\n theme: theme,\n ...props\n });\n }\n const muiTheme = THEME_ID in theme ? theme[THEME_ID] : theme;\n if (!('colorSchemes' in muiTheme)) {\n return /*#__PURE__*/_jsx(ThemeProviderNoVars, {\n theme: theme,\n ...props\n });\n }\n return /*#__PURE__*/_jsx(CssVarsProvider, {\n theme: theme,\n ...props\n });\n}","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { GlobalStyles as SystemGlobalStyles } from '@mui/system';\nimport defaultTheme from \"../styles/defaultTheme.js\";\nimport THEME_ID from \"../styles/identifier.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction GlobalStyles(props) {\n return /*#__PURE__*/_jsx(SystemGlobalStyles, {\n ...props,\n defaultTheme: defaultTheme,\n themeId: THEME_ID\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? GlobalStyles.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The styles you want to apply globally.\n */\n styles: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.array, PropTypes.func, PropTypes.number, PropTypes.object, PropTypes.string, PropTypes.bool])\n} : void 0;\nexport default GlobalStyles;","import * as React from 'react';\nimport { extendSxProp } from '@mui/system/styleFunctionSx';\nimport useTheme from \"../styles/useTheme.js\";\nimport GlobalStyles from \"../GlobalStyles/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport { css, keyframes } from '@mui/system';\nexport { default as styled } from \"../styles/styled.js\";\nexport function globalCss(styles) {\n return function GlobalStylesWrapper(props) {\n return (\n /*#__PURE__*/\n // Pigment CSS `globalCss` support callback with theme inside an object but `GlobalStyles` support theme as a callback value.\n _jsx(GlobalStyles, {\n styles: typeof styles === 'function' ? theme => styles({\n theme,\n ...props\n }) : styles\n })\n );\n };\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function internal_createExtendSxProp() {\n return extendSxProp;\n}\nexport { useTheme };","// We need to pass an argument as `{ theme }` for PigmentCSS, but we don't want to\n// allocate more objects.\nconst arg = {\n theme: undefined\n};\n\n/**\n * Memoize style function on theme.\n * Intended to be used in styled() calls that only need access to the theme.\n */\nexport default function memoTheme(styleFn) {\n let lastValue;\n let lastTheme;\n return props => {\n let value = lastValue;\n if (value === undefined || props.theme !== lastTheme) {\n arg.theme = props.theme;\n value = styleFn(arg);\n lastValue = value;\n lastTheme = props.theme;\n }\n return value;\n };\n}","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport SystemDefaultPropsProvider, { useDefaultProps as useSystemDefaultProps } from '@mui/system/DefaultPropsProvider';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction DefaultPropsProvider(props) {\n return /*#__PURE__*/_jsx(SystemDefaultPropsProvider, {\n ...props\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? DefaultPropsProvider.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n children: PropTypes.node,\n /**\n * @ignore\n */\n value: PropTypes.object.isRequired\n} : void 0;\nexport default DefaultPropsProvider;\nexport function useDefaultProps(params) {\n return useSystemDefaultProps(params);\n}","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getSvgIconUtilityClass(slot) {\n return generateUtilityClass('MuiSvgIcon', slot);\n}\nconst svgIconClasses = generateUtilityClasses('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);\nexport default svgIconClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport capitalize from \"../utils/capitalize.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { getSvgIconUtilityClass } from \"./svgIconClasses.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n color,\n fontSize,\n classes\n } = ownerState;\n const slots = {\n root: ['root', color !== 'inherit' && `color${capitalize(color)}`, `fontSize${capitalize(fontSize)}`]\n };\n return composeClasses(slots, getSvgIconUtilityClass, classes);\n};\nconst SvgIconRoot = styled('svg', {\n name: 'MuiSvgIcon',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.color !== 'inherit' && styles[`color${capitalize(ownerState.color)}`], styles[`fontSize${capitalize(ownerState.fontSize)}`]];\n }\n})(memoTheme(({\n theme\n}) => ({\n userSelect: 'none',\n width: '1em',\n height: '1em',\n display: 'inline-block',\n flexShrink: 0,\n transition: theme.transitions?.create?.('fill', {\n duration: (theme.vars ?? theme).transitions?.duration?.shorter\n }),\n variants: [{\n props: props => !props.hasSvgAsChild,\n style: {\n // the will define the property that has `currentColor`\n // for example heroicons uses fill=\"none\" and stroke=\"currentColor\"\n fill: 'currentColor'\n }\n }, {\n props: {\n fontSize: 'inherit'\n },\n style: {\n fontSize: 'inherit'\n }\n }, {\n props: {\n fontSize: 'small'\n },\n style: {\n fontSize: theme.typography?.pxToRem?.(20) || '1.25rem'\n }\n }, {\n props: {\n fontSize: 'medium'\n },\n style: {\n fontSize: theme.typography?.pxToRem?.(24) || '1.5rem'\n }\n }, {\n props: {\n fontSize: 'large'\n },\n style: {\n fontSize: theme.typography?.pxToRem?.(35) || '2.1875rem'\n }\n },\n // TODO v5 deprecate color prop, v6 remove for sx\n ...Object.entries((theme.vars ?? theme).palette).filter(([, value]) => value && value.main).map(([color]) => ({\n props: {\n color\n },\n style: {\n color: (theme.vars ?? theme).palette?.[color]?.main\n }\n })), {\n props: {\n color: 'action'\n },\n style: {\n color: (theme.vars ?? theme).palette?.action?.active\n }\n }, {\n props: {\n color: 'disabled'\n },\n style: {\n color: (theme.vars ?? theme).palette?.action?.disabled\n }\n }, {\n props: {\n color: 'inherit'\n },\n style: {\n color: undefined\n }\n }]\n})));\nconst SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiSvgIcon'\n });\n const {\n children,\n className,\n color = 'inherit',\n component = 'svg',\n fontSize = 'medium',\n htmlColor,\n inheritViewBox = false,\n titleAccess,\n viewBox = '0 0 24 24',\n ...other\n } = props;\n const hasSvgAsChild = /*#__PURE__*/React.isValidElement(children) && children.type === 'svg';\n const ownerState = {\n ...props,\n color,\n component,\n fontSize,\n instanceFontSize: inProps.fontSize,\n inheritViewBox,\n viewBox,\n hasSvgAsChild\n };\n const more = {};\n if (!inheritViewBox) {\n more.viewBox = viewBox;\n }\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(SvgIconRoot, {\n as: component,\n className: clsx(classes.root, className),\n focusable: \"false\",\n color: htmlColor,\n \"aria-hidden\": titleAccess ? undefined : true,\n role: titleAccess ? 'img' : undefined,\n ref: ref,\n ...more,\n ...other,\n ...(hasSvgAsChild && children.props),\n ownerState: ownerState,\n children: [hasSvgAsChild ? children.props.children : children, titleAccess ? /*#__PURE__*/_jsx(\"title\", {\n children: titleAccess\n }) : null]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? SvgIcon.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Node passed into the SVG element.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * You can use the `htmlColor` prop to apply a color attribute to the SVG element.\n * @default 'inherit'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'action', 'disabled', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.\n * @default 'medium'\n */\n fontSize: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'large', 'medium', 'small']), PropTypes.string]),\n /**\n * Applies a color attribute to the SVG element.\n */\n htmlColor: PropTypes.string,\n /**\n * If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`\n * prop will be ignored.\n * Useful when you want to reference a custom `component` and have `SvgIcon` pass that\n * `component`'s viewBox to the root node.\n * @default false\n */\n inheritViewBox: PropTypes.bool,\n /**\n * The shape-rendering attribute. The behavior of the different options is described on the\n * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).\n * If you are having issues with blurry icons you should investigate this prop.\n */\n shapeRendering: PropTypes.string,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Provides a human-readable title for the element that contains it.\n * https://www.w3.org/TR/SVG-access/#Equivalent\n */\n titleAccess: PropTypes.string,\n /**\n * Allows you to redefine what the coordinates without units mean inside an SVG element.\n * For example, if the SVG element is 500 (width) by 200 (height),\n * and you pass viewBox=\"0 0 50 20\",\n * this means that the coordinates inside the SVG will go from the top left corner (0,0)\n * to bottom right (50,20) and each unit will be worth 10px.\n * @default '0 0 24 24'\n */\n viewBox: PropTypes.string\n} : void 0;\nif (SvgIcon) {\n SvgIcon.muiName = 'SvgIcon';\n}\nexport default SvgIcon;","'use client';\n\nimport * as React from 'react';\nimport SvgIcon from \"../SvgIcon/index.js\";\n\n/**\n * Private module reserved for @mui packages.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function createSvgIcon(path, displayName) {\n function Component(props, ref) {\n return /*#__PURE__*/_jsx(SvgIcon, {\n \"data-testid\": `${displayName}Icon`,\n ref: ref,\n ...props,\n children: path\n });\n }\n if (process.env.NODE_ENV !== 'production') {\n // Need to set `displayName` on the inner component for React.memo.\n // React prior to 16.14 ignores `displayName` on the wrapper.\n Component.displayName = `${displayName}Icon`;\n }\n Component.muiName = SvgIcon.muiName;\n return /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(Component));\n}","function _objectWithoutPropertiesLoose(r, e) {\n if (null == r) return {};\n var t = {};\n for (var n in r) if ({}.hasOwnProperty.call(r, n)) {\n if (e.includes(n)) continue;\n t[n] = r[n];\n }\n return t;\n}\nexport { _objectWithoutPropertiesLoose as default };","function _setPrototypeOf(t, e) {\n return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {\n return t.__proto__ = e, t;\n }, _setPrototypeOf(t, e);\n}\nexport { _setPrototypeOf as default };","import setPrototypeOf from \"./setPrototypeOf.js\";\nfunction _inheritsLoose(t, o) {\n t.prototype = Object.create(o.prototype), t.prototype.constructor = t, setPrototypeOf(t, o);\n}\nexport { _inheritsLoose as default };","export default {\n disabled: false\n};","import React from 'react';\nexport default React.createContext(null);","export var forceReflow = function forceReflow(node) {\n return node.scrollTop;\n};","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport config from './config';\nimport { timeoutsShape } from './utils/PropTypes';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { forceReflow } from './utils/reflow';\nexport var UNMOUNTED = 'unmounted';\nexport var EXITED = 'exited';\nexport var ENTERING = 'entering';\nexport var ENTERED = 'entered';\nexport var EXITING = 'exiting';\n/**\n * The Transition component lets you describe a transition from one component\n * state to another _over time_ with a simple declarative API. Most commonly\n * it's used to animate the mounting and unmounting of a component, but can also\n * be used to describe in-place transition states as well.\n *\n * ---\n *\n * **Note**: `Transition` is a platform-agnostic base component. If you're using\n * transitions in CSS, you'll probably want to use\n * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)\n * instead. It inherits all the features of `Transition`, but contains\n * additional features necessary to play nice with CSS transitions (hence the\n * name of the component).\n *\n * ---\n *\n * By default the `Transition` component does not alter the behavior of the\n * component it renders, it only tracks \"enter\" and \"exit\" states for the\n * components. It's up to you to give meaning and effect to those states. For\n * example we can add styles to a component when it enters or exits:\n *\n * ```jsx\n * import { Transition } from 'react-transition-group';\n *\n * const duration = 300;\n *\n * const defaultStyle = {\n * transition: `opacity ${duration}ms ease-in-out`,\n * opacity: 0,\n * }\n *\n * const transitionStyles = {\n * entering: { opacity: 1 },\n * entered: { opacity: 1 },\n * exiting: { opacity: 0 },\n * exited: { opacity: 0 },\n * };\n *\n * const Fade = ({ in: inProp }) => (\n * \n * {state => (\n *
\n * I'm a fade Transition!\n *
\n * )}\n * \n * );\n * ```\n *\n * There are 4 main states a Transition can be in:\n * - `'entering'`\n * - `'entered'`\n * - `'exiting'`\n * - `'exited'`\n *\n * Transition state is toggled via the `in` prop. When `true` the component\n * begins the \"Enter\" stage. During this stage, the component will shift from\n * its current transition state, to `'entering'` for the duration of the\n * transition and then to the `'entered'` stage once it's complete. Let's take\n * the following example (we'll use the\n * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n *
\n * \n * {state => (\n * // ...\n * )}\n * \n * \n *
\n * );\n * }\n * ```\n *\n * When the button is clicked the component will shift to the `'entering'` state\n * and stay there for 500ms (the value of `timeout`) before it finally switches\n * to `'entered'`.\n *\n * When `in` is `false` the same thing happens except the state moves from\n * `'exiting'` to `'exited'`.\n */\n\nvar Transition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Transition, _React$Component);\n\n function Transition(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n var parentGroup = context; // In the context of a TransitionGroup all enters are really appears\n\n var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;\n var initialStatus;\n _this.appearStatus = null;\n\n if (props.in) {\n if (appear) {\n initialStatus = EXITED;\n _this.appearStatus = ENTERING;\n } else {\n initialStatus = ENTERED;\n }\n } else {\n if (props.unmountOnExit || props.mountOnEnter) {\n initialStatus = UNMOUNTED;\n } else {\n initialStatus = EXITED;\n }\n }\n\n _this.state = {\n status: initialStatus\n };\n _this.nextCallback = null;\n return _this;\n }\n\n Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {\n var nextIn = _ref.in;\n\n if (nextIn && prevState.status === UNMOUNTED) {\n return {\n status: EXITED\n };\n }\n\n return null;\n } // getSnapshotBeforeUpdate(prevProps) {\n // let nextStatus = null\n // if (prevProps !== this.props) {\n // const { status } = this.state\n // if (this.props.in) {\n // if (status !== ENTERING && status !== ENTERED) {\n // nextStatus = ENTERING\n // }\n // } else {\n // if (status === ENTERING || status === ENTERED) {\n // nextStatus = EXITING\n // }\n // }\n // }\n // return { nextStatus }\n // }\n ;\n\n var _proto = Transition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.updateStatus(true, this.appearStatus);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var nextStatus = null;\n\n if (prevProps !== this.props) {\n var status = this.state.status;\n\n if (this.props.in) {\n if (status !== ENTERING && status !== ENTERED) {\n nextStatus = ENTERING;\n }\n } else {\n if (status === ENTERING || status === ENTERED) {\n nextStatus = EXITING;\n }\n }\n }\n\n this.updateStatus(false, nextStatus);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.cancelNextCallback();\n };\n\n _proto.getTimeouts = function getTimeouts() {\n var timeout = this.props.timeout;\n var exit, enter, appear;\n exit = enter = appear = timeout;\n\n if (timeout != null && typeof timeout !== 'number') {\n exit = timeout.exit;\n enter = timeout.enter; // TODO: remove fallback for next major\n\n appear = timeout.appear !== undefined ? timeout.appear : enter;\n }\n\n return {\n exit: exit,\n enter: enter,\n appear: appear\n };\n };\n\n _proto.updateStatus = function updateStatus(mounting, nextStatus) {\n if (mounting === void 0) {\n mounting = false;\n }\n\n if (nextStatus !== null) {\n // nextStatus will always be ENTERING or EXITING.\n this.cancelNextCallback();\n\n if (nextStatus === ENTERING) {\n if (this.props.unmountOnExit || this.props.mountOnEnter) {\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this); // https://github.com/reactjs/react-transition-group/pull/749\n // With unmountOnExit or mountOnEnter, the enter animation should happen at the transition between `exited` and `entering`.\n // To make the animation happen, we have to separate each rendering and avoid being processed as batched.\n\n if (node) forceReflow(node);\n }\n\n this.performEnter(mounting);\n } else {\n this.performExit();\n }\n } else if (this.props.unmountOnExit && this.state.status === EXITED) {\n this.setState({\n status: UNMOUNTED\n });\n }\n };\n\n _proto.performEnter = function performEnter(mounting) {\n var _this2 = this;\n\n var enter = this.props.enter;\n var appearing = this.context ? this.context.isMounting : mounting;\n\n var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM.findDOMNode(this), appearing],\n maybeNode = _ref2[0],\n maybeAppearing = _ref2[1];\n\n var timeouts = this.getTimeouts();\n var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED\n // if we are mounting and running this it means appear _must_ be set\n\n if (!mounting && !enter || config.disabled) {\n this.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode);\n });\n return;\n }\n\n this.props.onEnter(maybeNode, maybeAppearing);\n this.safeSetState({\n status: ENTERING\n }, function () {\n _this2.props.onEntering(maybeNode, maybeAppearing);\n\n _this2.onTransitionEnd(enterTimeout, function () {\n _this2.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode, maybeAppearing);\n });\n });\n });\n };\n\n _proto.performExit = function performExit() {\n var _this3 = this;\n\n var exit = this.props.exit;\n var timeouts = this.getTimeouts();\n var maybeNode = this.props.nodeRef ? undefined : ReactDOM.findDOMNode(this); // no exit animation skip right to EXITED\n\n if (!exit || config.disabled) {\n this.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n return;\n }\n\n this.props.onExit(maybeNode);\n this.safeSetState({\n status: EXITING\n }, function () {\n _this3.props.onExiting(maybeNode);\n\n _this3.onTransitionEnd(timeouts.exit, function () {\n _this3.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n });\n });\n };\n\n _proto.cancelNextCallback = function cancelNextCallback() {\n if (this.nextCallback !== null) {\n this.nextCallback.cancel();\n this.nextCallback = null;\n }\n };\n\n _proto.safeSetState = function safeSetState(nextState, callback) {\n // This shouldn't be necessary, but there are weird race conditions with\n // setState callbacks and unmounting in testing, so always make sure that\n // we can cancel any pending setState callbacks after we unmount.\n callback = this.setNextCallback(callback);\n this.setState(nextState, callback);\n };\n\n _proto.setNextCallback = function setNextCallback(callback) {\n var _this4 = this;\n\n var active = true;\n\n this.nextCallback = function (event) {\n if (active) {\n active = false;\n _this4.nextCallback = null;\n callback(event);\n }\n };\n\n this.nextCallback.cancel = function () {\n active = false;\n };\n\n return this.nextCallback;\n };\n\n _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {\n this.setNextCallback(handler);\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);\n var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;\n\n if (!node || doesNotHaveTimeoutOrListener) {\n setTimeout(this.nextCallback, 0);\n return;\n }\n\n if (this.props.addEndListener) {\n var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],\n maybeNode = _ref3[0],\n maybeNextCallback = _ref3[1];\n\n this.props.addEndListener(maybeNode, maybeNextCallback);\n }\n\n if (timeout != null) {\n setTimeout(this.nextCallback, timeout);\n }\n };\n\n _proto.render = function render() {\n var status = this.state.status;\n\n if (status === UNMOUNTED) {\n return null;\n }\n\n var _this$props = this.props,\n children = _this$props.children,\n _in = _this$props.in,\n _mountOnEnter = _this$props.mountOnEnter,\n _unmountOnExit = _this$props.unmountOnExit,\n _appear = _this$props.appear,\n _enter = _this$props.enter,\n _exit = _this$props.exit,\n _timeout = _this$props.timeout,\n _addEndListener = _this$props.addEndListener,\n _onEnter = _this$props.onEnter,\n _onEntering = _this$props.onEntering,\n _onEntered = _this$props.onEntered,\n _onExit = _this$props.onExit,\n _onExiting = _this$props.onExiting,\n _onExited = _this$props.onExited,\n _nodeRef = _this$props.nodeRef,\n childProps = _objectWithoutPropertiesLoose(_this$props, [\"children\", \"in\", \"mountOnEnter\", \"unmountOnExit\", \"appear\", \"enter\", \"exit\", \"timeout\", \"addEndListener\", \"onEnter\", \"onEntering\", \"onEntered\", \"onExit\", \"onExiting\", \"onExited\", \"nodeRef\"]);\n\n return (\n /*#__PURE__*/\n // allows for nested Transitions\n React.createElement(TransitionGroupContext.Provider, {\n value: null\n }, typeof children === 'function' ? children(status, childProps) : React.cloneElement(React.Children.only(children), childProps))\n );\n };\n\n return Transition;\n}(React.Component);\n\nTransition.contextType = TransitionGroupContext;\nTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * A React reference to DOM element that need to transition:\n * https://stackoverflow.com/a/51127130/4671932\n *\n * - When `nodeRef` prop is used, `node` is not passed to callback functions\n * (e.g. `onEnter`) because user already has direct access to the node.\n * - When changing `key` prop of `Transition` in a `TransitionGroup` a new\n * `nodeRef` need to be provided to `Transition` with changed `key` prop\n * (see\n * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).\n */\n nodeRef: PropTypes.shape({\n current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {\n var value = propValue[key];\n return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);\n }\n }),\n\n /**\n * A `function` child can be used instead of a React element. This function is\n * called with the current transition status (`'entering'`, `'entered'`,\n * `'exiting'`, `'exited'`), which can be used to apply context\n * specific props to a component.\n *\n * ```jsx\n * \n * {state => (\n * \n * )}\n * \n * ```\n */\n children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,\n\n /**\n * Show the component; triggers the enter or exit states\n */\n in: PropTypes.bool,\n\n /**\n * By default the child component is mounted immediately along with\n * the parent `Transition` component. If you want to \"lazy mount\" the component on the\n * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay\n * mounted, even on \"exited\", unless you also specify `unmountOnExit`.\n */\n mountOnEnter: PropTypes.bool,\n\n /**\n * By default the child component stays mounted after it reaches the `'exited'` state.\n * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.\n */\n unmountOnExit: PropTypes.bool,\n\n /**\n * By default the child component does not perform the enter transition when\n * it first mounts, regardless of the value of `in`. If you want this\n * behavior, set both `appear` and `in` to `true`.\n *\n * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop\n * > only adds an additional enter transition. However, in the\n * > `` component that first enter transition does result in\n * > additional `.appear-*` classes, that way you can choose to style it\n * > differently.\n */\n appear: PropTypes.bool,\n\n /**\n * Enable or disable enter transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * Enable or disable exit transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * The duration of the transition, in milliseconds.\n * Required unless `addEndListener` is provided.\n *\n * You may specify a single timeout for all transitions:\n *\n * ```jsx\n * timeout={500}\n * ```\n *\n * or individually:\n *\n * ```jsx\n * timeout={{\n * appear: 500,\n * enter: 300,\n * exit: 500,\n * }}\n * ```\n *\n * - `appear` defaults to the value of `enter`\n * - `enter` defaults to `0`\n * - `exit` defaults to `0`\n *\n * @type {number | { enter?: number, exit?: number, appear?: number }}\n */\n timeout: function timeout(props) {\n var pt = timeoutsShape;\n if (!props.addEndListener) pt = pt.isRequired;\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return pt.apply(void 0, [props].concat(args));\n },\n\n /**\n * Add a custom transition end trigger. Called with the transitioning\n * DOM node and a `done` callback. Allows for more fine grained transition end\n * logic. Timeouts are still used as a fallback if provided.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * ```jsx\n * addEndListener={(node, done) => {\n * // use the css transitionend event to mark the finish of a transition\n * node.addEventListener('transitionend', done, false);\n * }}\n * ```\n */\n addEndListener: PropTypes.func,\n\n /**\n * Callback fired before the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired after the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired after the \"entered\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired before the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired after the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExiting: PropTypes.func,\n\n /**\n * Callback fired after the \"exited\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExited: PropTypes.func\n} : {}; // Name the function so it is clearer in the documentation\n\nfunction noop() {}\n\nTransition.defaultProps = {\n in: false,\n mountOnEnter: false,\n unmountOnExit: false,\n appear: false,\n enter: true,\n exit: true,\n onEnter: noop,\n onEntering: noop,\n onEntered: noop,\n onExit: noop,\n onExiting: noop,\n onExited: noop\n};\nTransition.UNMOUNTED = UNMOUNTED;\nTransition.EXITED = EXITED;\nTransition.ENTERING = ENTERING;\nTransition.ENTERED = ENTERED;\nTransition.EXITING = EXITING;\nexport default Transition;","function _assertThisInitialized(e) {\n if (void 0 === e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return e;\n}\nexport { _assertThisInitialized as default };","import { Children, cloneElement, isValidElement } from 'react';\n/**\n * Given `this.props.children`, return an object mapping key to child.\n *\n * @param {*} children `this.props.children`\n * @return {object} Mapping of key to child\n */\n\nexport function getChildMapping(children, mapFn) {\n var mapper = function mapper(child) {\n return mapFn && isValidElement(child) ? mapFn(child) : child;\n };\n\n var result = Object.create(null);\n if (children) Children.map(children, function (c) {\n return c;\n }).forEach(function (child) {\n // run the map function here instead so that the key is the computed one\n result[child.key] = mapper(child);\n });\n return result;\n}\n/**\n * When you're adding or removing children some may be added or removed in the\n * same render pass. We want to show *both* since we want to simultaneously\n * animate elements in and out. This function takes a previous set of keys\n * and a new set of keys and merges them with its best guess of the correct\n * ordering. In the future we may expose some of the utilities in\n * ReactMultiChild to make this easy, but for now React itself does not\n * directly have this concept of the union of prevChildren and nextChildren\n * so we implement it here.\n *\n * @param {object} prev prev children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @param {object} next next children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @return {object} a key set that contains all keys in `prev` and all keys\n * in `next` in a reasonable order.\n */\n\nexport function mergeChildMappings(prev, next) {\n prev = prev || {};\n next = next || {};\n\n function getValueForKey(key) {\n return key in next ? next[key] : prev[key];\n } // For each key of `next`, the list of keys to insert before that key in\n // the combined list\n\n\n var nextKeysPending = Object.create(null);\n var pendingKeys = [];\n\n for (var prevKey in prev) {\n if (prevKey in next) {\n if (pendingKeys.length) {\n nextKeysPending[prevKey] = pendingKeys;\n pendingKeys = [];\n }\n } else {\n pendingKeys.push(prevKey);\n }\n }\n\n var i;\n var childMapping = {};\n\n for (var nextKey in next) {\n if (nextKeysPending[nextKey]) {\n for (i = 0; i < nextKeysPending[nextKey].length; i++) {\n var pendingNextKey = nextKeysPending[nextKey][i];\n childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);\n }\n }\n\n childMapping[nextKey] = getValueForKey(nextKey);\n } // Finally, add the keys which didn't appear before any key in `next`\n\n\n for (i = 0; i < pendingKeys.length; i++) {\n childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);\n }\n\n return childMapping;\n}\n\nfunction getProp(child, prop, props) {\n return props[prop] != null ? props[prop] : child.props[prop];\n}\n\nexport function getInitialChildMapping(props, onExited) {\n return getChildMapping(props.children, function (child) {\n return cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n appear: getProp(child, 'appear', props),\n enter: getProp(child, 'enter', props),\n exit: getProp(child, 'exit', props)\n });\n });\n}\nexport function getNextChildMapping(nextProps, prevChildMapping, onExited) {\n var nextChildMapping = getChildMapping(nextProps.children);\n var children = mergeChildMappings(prevChildMapping, nextChildMapping);\n Object.keys(children).forEach(function (key) {\n var child = children[key];\n if (!isValidElement(child)) return;\n var hasPrev = (key in prevChildMapping);\n var hasNext = (key in nextChildMapping);\n var prevChild = prevChildMapping[key];\n var isLeaving = isValidElement(prevChild) && !prevChild.props.in; // item is new (entering)\n\n if (hasNext && (!hasPrev || isLeaving)) {\n // console.log('entering', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n } else if (!hasNext && hasPrev && !isLeaving) {\n // item is old (exiting)\n // console.log('leaving', key)\n children[key] = cloneElement(child, {\n in: false\n });\n } else if (hasNext && hasPrev && isValidElement(prevChild)) {\n // item hasn't changed transition states\n // copy over the last transition props;\n // console.log('unchanged', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: prevChild.props.in,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n }\n });\n return children;\n}","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { getChildMapping, getInitialChildMapping, getNextChildMapping } from './utils/ChildMapping';\n\nvar values = Object.values || function (obj) {\n return Object.keys(obj).map(function (k) {\n return obj[k];\n });\n};\n\nvar defaultProps = {\n component: 'div',\n childFactory: function childFactory(child) {\n return child;\n }\n};\n/**\n * The `` component manages a set of transition components\n * (`` and ``) in a list. Like with the transition\n * components, `` is a state machine for managing the mounting\n * and unmounting of components over time.\n *\n * Consider the example below. As items are removed or added to the TodoList the\n * `in` prop is toggled automatically by the ``.\n *\n * Note that `` does not define any animation behavior!\n * Exactly _how_ a list item animates is up to the individual transition\n * component. This means you can mix and match animations across different list\n * items.\n */\n\nvar TransitionGroup = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(TransitionGroup, _React$Component);\n\n function TransitionGroup(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n\n var handleExited = _this.handleExited.bind(_assertThisInitialized(_this)); // Initial children should all be entering, dependent on appear\n\n\n _this.state = {\n contextValue: {\n isMounting: true\n },\n handleExited: handleExited,\n firstRender: true\n };\n return _this;\n }\n\n var _proto = TransitionGroup.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.mounted = true;\n this.setState({\n contextValue: {\n isMounting: false\n }\n });\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.mounted = false;\n };\n\n TransitionGroup.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {\n var prevChildMapping = _ref.children,\n handleExited = _ref.handleExited,\n firstRender = _ref.firstRender;\n return {\n children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),\n firstRender: false\n };\n } // node is `undefined` when user provided `nodeRef` prop\n ;\n\n _proto.handleExited = function handleExited(child, node) {\n var currentChildMapping = getChildMapping(this.props.children);\n if (child.key in currentChildMapping) return;\n\n if (child.props.onExited) {\n child.props.onExited(node);\n }\n\n if (this.mounted) {\n this.setState(function (state) {\n var children = _extends({}, state.children);\n\n delete children[child.key];\n return {\n children: children\n };\n });\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n Component = _this$props.component,\n childFactory = _this$props.childFactory,\n props = _objectWithoutPropertiesLoose(_this$props, [\"component\", \"childFactory\"]);\n\n var contextValue = this.state.contextValue;\n var children = values(this.state.children).map(childFactory);\n delete props.appear;\n delete props.enter;\n delete props.exit;\n\n if (Component === null) {\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, children);\n }\n\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(Component, props, children));\n };\n\n return TransitionGroup;\n}(React.Component);\n\nTransitionGroup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * `` renders a `
` by default. You can change this\n * behavior by providing a `component` prop.\n * If you use React v16+ and would like to avoid a wrapping `
` element\n * you can pass in `component={null}`. This is useful if the wrapping div\n * borks your css styles.\n */\n component: PropTypes.any,\n\n /**\n * A set of `` components, that are toggled `in` and out as they\n * leave. the `` will inject specific transition props, so\n * remember to spread them through if you are wrapping the `` as\n * with our `` example.\n *\n * While this component is meant for multiple `Transition` or `CSSTransition`\n * children, sometimes you may want to have a single transition child with\n * content that you want to be transitioned out and in when you change it\n * (e.g. routes, images etc.) In that case you can change the `key` prop of\n * the transition child as you change its content, this will cause\n * `TransitionGroup` to transition the child out and back in.\n */\n children: PropTypes.node,\n\n /**\n * A convenience prop that enables or disables appear animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n appear: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables enter animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables exit animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * You may need to apply reactive updates to a child as it is exiting.\n * This is generally done by using `cloneElement` however in the case of an exiting\n * child the element has already been removed and not accessible to the consumer.\n *\n * If you do need to update a child as it leaves you can provide a `childFactory`\n * to wrap every child, even the ones that are leaving.\n *\n * @type Function(child: ReactElement) -> ReactElement\n */\n childFactory: PropTypes.func\n} : {};\nTransitionGroup.defaultProps = defaultProps;\nexport default TransitionGroup;","export const reflow = node => node.scrollTop;\nexport function getTransitionProps(props, options) {\n const {\n timeout,\n easing,\n style = {}\n } = props;\n return {\n duration: style.transitionDuration ?? (typeof timeout === 'number' ? timeout : timeout[options.mode] || 0),\n easing: style.transitionTimingFunction ?? (typeof easing === 'object' ? easing[options.mode] : easing),\n delay: style.transitionDelay\n };\n}","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getCollapseUtilityClass(slot) {\n return generateUtilityClass('MuiCollapse', slot);\n}\nconst collapseClasses = generateUtilityClasses('MuiCollapse', ['root', 'horizontal', 'vertical', 'entered', 'hidden', 'wrapper', 'wrapperInner']);\nexport default collapseClasses;","'use client';\n\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport PropTypes from 'prop-types';\nimport { Transition } from 'react-transition-group';\nimport useTimeout from '@mui/utils/useTimeout';\nimport elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { styled, useTheme } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { duration } from \"../styles/createTransitions.js\";\nimport { getTransitionProps } from \"../transitions/utils.js\";\nimport { useForkRef } from \"../utils/index.js\";\nimport { getCollapseUtilityClass } from \"./collapseClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n orientation,\n classes\n } = ownerState;\n const slots = {\n root: ['root', `${orientation}`],\n entered: ['entered'],\n hidden: ['hidden'],\n wrapper: ['wrapper', `${orientation}`],\n wrapperInner: ['wrapperInner', `${orientation}`]\n };\n return composeClasses(slots, getCollapseUtilityClass, classes);\n};\nconst CollapseRoot = styled('div', {\n name: 'MuiCollapse',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[ownerState.orientation], ownerState.state === 'entered' && styles.entered, ownerState.state === 'exited' && !ownerState.in && ownerState.collapsedSize === '0px' && styles.hidden];\n }\n})(memoTheme(({\n theme\n}) => ({\n height: 0,\n overflow: 'hidden',\n transition: theme.transitions.create('height'),\n variants: [{\n props: {\n orientation: 'horizontal'\n },\n style: {\n height: 'auto',\n width: 0,\n transition: theme.transitions.create('width')\n }\n }, {\n props: {\n state: 'entered'\n },\n style: {\n height: 'auto',\n overflow: 'visible'\n }\n }, {\n props: {\n state: 'entered',\n orientation: 'horizontal'\n },\n style: {\n width: 'auto'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.state === 'exited' && !ownerState.in && ownerState.collapsedSize === '0px',\n style: {\n visibility: 'hidden'\n }\n }]\n})));\nconst CollapseWrapper = styled('div', {\n name: 'MuiCollapse',\n slot: 'Wrapper',\n overridesResolver: (props, styles) => styles.wrapper\n})({\n // Hack to get children with a negative margin to not falsify the height computation.\n display: 'flex',\n width: '100%',\n variants: [{\n props: {\n orientation: 'horizontal'\n },\n style: {\n width: 'auto',\n height: '100%'\n }\n }]\n});\nconst CollapseWrapperInner = styled('div', {\n name: 'MuiCollapse',\n slot: 'WrapperInner',\n overridesResolver: (props, styles) => styles.wrapperInner\n})({\n width: '100%',\n variants: [{\n props: {\n orientation: 'horizontal'\n },\n style: {\n width: 'auto',\n height: '100%'\n }\n }]\n});\n\n/**\n * The Collapse transition is used by the\n * [Vertical Stepper](/material-ui/react-stepper/#vertical-stepper) StepContent component.\n * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.\n */\nconst Collapse = /*#__PURE__*/React.forwardRef(function Collapse(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiCollapse'\n });\n const {\n addEndListener,\n children,\n className,\n collapsedSize: collapsedSizeProp = '0px',\n component,\n easing,\n in: inProp,\n onEnter,\n onEntered,\n onEntering,\n onExit,\n onExited,\n onExiting,\n orientation = 'vertical',\n style,\n timeout = duration.standard,\n // eslint-disable-next-line react/prop-types\n TransitionComponent = Transition,\n ...other\n } = props;\n const ownerState = {\n ...props,\n orientation,\n collapsedSize: collapsedSizeProp\n };\n const classes = useUtilityClasses(ownerState);\n const theme = useTheme();\n const timer = useTimeout();\n const wrapperRef = React.useRef(null);\n const autoTransitionDuration = React.useRef();\n const collapsedSize = typeof collapsedSizeProp === 'number' ? `${collapsedSizeProp}px` : collapsedSizeProp;\n const isHorizontal = orientation === 'horizontal';\n const size = isHorizontal ? 'width' : 'height';\n const nodeRef = React.useRef(null);\n const handleRef = useForkRef(ref, nodeRef);\n const normalizedTransitionCallback = callback => maybeIsAppearing => {\n if (callback) {\n const node = nodeRef.current;\n\n // onEnterXxx and onExitXxx callbacks have a different arguments.length value.\n if (maybeIsAppearing === undefined) {\n callback(node);\n } else {\n callback(node, maybeIsAppearing);\n }\n }\n };\n const getWrapperSize = () => wrapperRef.current ? wrapperRef.current[isHorizontal ? 'clientWidth' : 'clientHeight'] : 0;\n const handleEnter = normalizedTransitionCallback((node, isAppearing) => {\n if (wrapperRef.current && isHorizontal) {\n // Set absolute position to get the size of collapsed content\n wrapperRef.current.style.position = 'absolute';\n }\n node.style[size] = collapsedSize;\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n });\n const handleEntering = normalizedTransitionCallback((node, isAppearing) => {\n const wrapperSize = getWrapperSize();\n if (wrapperRef.current && isHorizontal) {\n // After the size is read reset the position back to default\n wrapperRef.current.style.position = '';\n }\n const {\n duration: transitionDuration,\n easing: transitionTimingFunction\n } = getTransitionProps({\n style,\n timeout,\n easing\n }, {\n mode: 'enter'\n });\n if (timeout === 'auto') {\n const duration2 = theme.transitions.getAutoHeightDuration(wrapperSize);\n node.style.transitionDuration = `${duration2}ms`;\n autoTransitionDuration.current = duration2;\n } else {\n node.style.transitionDuration = typeof transitionDuration === 'string' ? transitionDuration : `${transitionDuration}ms`;\n }\n node.style[size] = `${wrapperSize}px`;\n node.style.transitionTimingFunction = transitionTimingFunction;\n if (onEntering) {\n onEntering(node, isAppearing);\n }\n });\n const handleEntered = normalizedTransitionCallback((node, isAppearing) => {\n node.style[size] = 'auto';\n if (onEntered) {\n onEntered(node, isAppearing);\n }\n });\n const handleExit = normalizedTransitionCallback(node => {\n node.style[size] = `${getWrapperSize()}px`;\n if (onExit) {\n onExit(node);\n }\n });\n const handleExited = normalizedTransitionCallback(onExited);\n const handleExiting = normalizedTransitionCallback(node => {\n const wrapperSize = getWrapperSize();\n const {\n duration: transitionDuration,\n easing: transitionTimingFunction\n } = getTransitionProps({\n style,\n timeout,\n easing\n }, {\n mode: 'exit'\n });\n if (timeout === 'auto') {\n // TODO: rename getAutoHeightDuration to something more generic (width support)\n // Actually it just calculates animation duration based on size\n const duration2 = theme.transitions.getAutoHeightDuration(wrapperSize);\n node.style.transitionDuration = `${duration2}ms`;\n autoTransitionDuration.current = duration2;\n } else {\n node.style.transitionDuration = typeof transitionDuration === 'string' ? transitionDuration : `${transitionDuration}ms`;\n }\n node.style[size] = collapsedSize;\n node.style.transitionTimingFunction = transitionTimingFunction;\n if (onExiting) {\n onExiting(node);\n }\n });\n const handleAddEndListener = next => {\n if (timeout === 'auto') {\n timer.start(autoTransitionDuration.current || 0, next);\n }\n if (addEndListener) {\n // Old call signature before `react-transition-group` implemented `nodeRef`\n addEndListener(nodeRef.current, next);\n }\n };\n return /*#__PURE__*/_jsx(TransitionComponent, {\n in: inProp,\n onEnter: handleEnter,\n onEntered: handleEntered,\n onEntering: handleEntering,\n onExit: handleExit,\n onExited: handleExited,\n onExiting: handleExiting,\n addEndListener: handleAddEndListener,\n nodeRef: nodeRef,\n timeout: timeout === 'auto' ? null : timeout,\n ...other,\n children: (state, childProps) => /*#__PURE__*/_jsx(CollapseRoot, {\n as: component,\n className: clsx(classes.root, className, {\n 'entered': classes.entered,\n 'exited': !inProp && collapsedSize === '0px' && classes.hidden\n }[state]),\n style: {\n [isHorizontal ? 'minWidth' : 'minHeight']: collapsedSize,\n ...style\n },\n ref: handleRef,\n ...childProps,\n // `ownerState` is set after `childProps` to override any existing `ownerState` property in `childProps`\n // that might have been forwarded from the Transition component.\n ownerState: {\n ...ownerState,\n state\n },\n children: /*#__PURE__*/_jsx(CollapseWrapper, {\n ownerState: {\n ...ownerState,\n state\n },\n className: classes.wrapper,\n ref: wrapperRef,\n children: /*#__PURE__*/_jsx(CollapseWrapperInner, {\n ownerState: {\n ...ownerState,\n state\n },\n className: classes.wrapperInner,\n children: children\n })\n })\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Collapse.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Add a custom transition end trigger. Called with the transitioning DOM\n * node and a done callback. Allows for more fine grained transition end\n * logic. Note: Timeouts are still used as a fallback if provided.\n */\n addEndListener: PropTypes.func,\n /**\n * The content node to be collapsed.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The width (horizontal) or height (vertical) of the container when collapsed.\n * @default '0px'\n */\n collapsedSize: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: elementTypeAcceptingRef,\n /**\n * The transition timing function.\n * You may specify a single easing or a object containing enter and exit values.\n */\n easing: PropTypes.oneOfType([PropTypes.shape({\n enter: PropTypes.string,\n exit: PropTypes.string\n }), PropTypes.string]),\n /**\n * If `true`, the component will transition in.\n */\n in: PropTypes.bool,\n /**\n * @ignore\n */\n onEnter: PropTypes.func,\n /**\n * @ignore\n */\n onEntered: PropTypes.func,\n /**\n * @ignore\n */\n onEntering: PropTypes.func,\n /**\n * @ignore\n */\n onExit: PropTypes.func,\n /**\n * @ignore\n */\n onExited: PropTypes.func,\n /**\n * @ignore\n */\n onExiting: PropTypes.func,\n /**\n * The transition orientation.\n * @default 'vertical'\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']),\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n *\n * Set to 'auto' to automatically calculate transition time based on height.\n * @default duration.standard\n */\n timeout: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nif (Collapse) {\n Collapse.muiSupportAuto = true;\n}\nexport default Collapse;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getPaperUtilityClass(slot) {\n return generateUtilityClass('MuiPaper', slot);\n}\nconst paperClasses = generateUtilityClasses('MuiPaper', ['root', 'rounded', 'outlined', 'elevation', 'elevation0', 'elevation1', 'elevation2', 'elevation3', 'elevation4', 'elevation5', 'elevation6', 'elevation7', 'elevation8', 'elevation9', 'elevation10', 'elevation11', 'elevation12', 'elevation13', 'elevation14', 'elevation15', 'elevation16', 'elevation17', 'elevation18', 'elevation19', 'elevation20', 'elevation21', 'elevation22', 'elevation23', 'elevation24']);\nexport default paperClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport integerPropType from '@mui/utils/integerPropType';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport { styled, useTheme } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport getOverlayAlpha from \"../styles/getOverlayAlpha.js\";\nimport { getPaperUtilityClass } from \"./paperClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n square,\n elevation,\n variant,\n classes\n } = ownerState;\n const slots = {\n root: ['root', variant, !square && 'rounded', variant === 'elevation' && `elevation${elevation}`]\n };\n return composeClasses(slots, getPaperUtilityClass, classes);\n};\nconst PaperRoot = styled('div', {\n name: 'MuiPaper',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[ownerState.variant], !ownerState.square && styles.rounded, ownerState.variant === 'elevation' && styles[`elevation${ownerState.elevation}`]];\n }\n})(memoTheme(({\n theme\n}) => ({\n backgroundColor: (theme.vars || theme).palette.background.paper,\n color: (theme.vars || theme).palette.text.primary,\n transition: theme.transitions.create('box-shadow'),\n variants: [{\n props: ({\n ownerState\n }) => !ownerState.square,\n style: {\n borderRadius: theme.shape.borderRadius\n }\n }, {\n props: {\n variant: 'outlined'\n },\n style: {\n border: `1px solid ${(theme.vars || theme).palette.divider}`\n }\n }, {\n props: {\n variant: 'elevation'\n },\n style: {\n boxShadow: 'var(--Paper-shadow)',\n backgroundImage: 'var(--Paper-overlay)'\n }\n }]\n})));\nconst Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiPaper'\n });\n const theme = useTheme();\n const {\n className,\n component = 'div',\n elevation = 1,\n square = false,\n variant = 'elevation',\n ...other\n } = props;\n const ownerState = {\n ...props,\n component,\n elevation,\n square,\n variant\n };\n const classes = useUtilityClasses(ownerState);\n if (process.env.NODE_ENV !== 'production') {\n if (theme.shadows[elevation] === undefined) {\n console.error([`MUI: The elevation provided is not available in the theme.`, `Please make sure that \\`theme.shadows[${elevation}]\\` is defined.`].join('\\n'));\n }\n }\n return /*#__PURE__*/_jsx(PaperRoot, {\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref,\n ...other,\n style: {\n ...(variant === 'elevation' && {\n '--Paper-shadow': (theme.vars || theme).shadows[elevation],\n ...(theme.vars && {\n '--Paper-overlay': theme.vars.overlays?.[elevation]\n }),\n ...(!theme.vars && theme.palette.mode === 'dark' && {\n '--Paper-overlay': `linear-gradient(${alpha('#fff', getOverlayAlpha(elevation))}, ${alpha('#fff', getOverlayAlpha(elevation))})`\n })\n }),\n ...other.style\n }\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Paper.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * Shadow depth, corresponds to `dp` in the spec.\n * It accepts values between 0 and 24 inclusive.\n * @default 1\n */\n elevation: chainPropTypes(integerPropType, props => {\n const {\n elevation,\n variant\n } = props;\n if (elevation > 0 && variant === 'outlined') {\n return new Error(`MUI: Combining \\`elevation={${elevation}}\\` with \\`variant=\"${variant}\"\\` has no effect. Either use \\`elevation={0}\\` or use a different \\`variant\\`.`);\n }\n return null;\n }),\n /**\n * If `true`, rounded corners are disabled.\n * @default false\n */\n square: PropTypes.bool,\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The variant to use.\n * @default 'elevation'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['elevation', 'outlined']), PropTypes.string])\n} : void 0;\nexport default Paper;","'use client';\n\nimport useForkRef from '@mui/utils/useForkRef';\nimport appendOwnerState from '@mui/utils/appendOwnerState';\nimport resolveComponentProps from '@mui/utils/resolveComponentProps';\nimport mergeSlotProps from '@mui/utils/mergeSlotProps';\n/**\n * An internal function to create a Material UI slot.\n *\n * This is an advanced version of Base UI `useSlotProps` because Material UI allows leaf component to be customized via `component` prop\n * while Base UI does not need to support leaf component customization.\n *\n * @param {string} name: name of the slot\n * @param {object} parameters\n * @returns {[Slot, slotProps]} The slot's React component and the slot's props\n *\n * Note: the returned slot's props\n * - will never contain `component` prop.\n * - might contain `as` prop.\n */\nexport default function useSlot(\n/**\n * The slot's name. All Material UI components should have `root` slot.\n *\n * If the name is `root`, the logic behaves differently from other slots,\n * e.g. the `externalForwardedProps` are spread to `root` slot but not other slots.\n */\nname, parameters) {\n const {\n className,\n elementType: initialElementType,\n ownerState,\n externalForwardedProps,\n getSlotOwnerState,\n internalForwardedProps,\n ...useSlotPropsParams\n } = parameters;\n const {\n component: rootComponent,\n slots = {\n [name]: undefined\n },\n slotProps = {\n [name]: undefined\n },\n ...other\n } = externalForwardedProps;\n const elementType = slots[name] || initialElementType;\n\n // `slotProps[name]` can be a callback that receives the component's ownerState.\n // `resolvedComponentsProps` is always a plain object.\n const resolvedComponentsProps = resolveComponentProps(slotProps[name], ownerState);\n const {\n props: {\n component: slotComponent,\n ...mergedProps\n },\n internalRef\n } = mergeSlotProps({\n className,\n ...useSlotPropsParams,\n externalForwardedProps: name === 'root' ? other : undefined,\n externalSlotProps: resolvedComponentsProps\n });\n const ref = useForkRef(internalRef, resolvedComponentsProps?.ref, parameters.ref);\n const slotOwnerState = getSlotOwnerState ? getSlotOwnerState(mergedProps) : {};\n const finalOwnerState = {\n ...ownerState,\n ...slotOwnerState\n };\n const LeafComponent = name === 'root' ? slotComponent || rootComponent : slotComponent;\n const props = appendOwnerState(elementType, {\n ...(name === 'root' && !rootComponent && !slots[name] && internalForwardedProps),\n ...(name !== 'root' && !slots[name] && internalForwardedProps),\n ...mergedProps,\n ...(LeafComponent && {\n as: LeafComponent\n }),\n ref\n }, finalOwnerState);\n Object.keys(slotOwnerState).forEach(propName => {\n delete props[propName];\n });\n return [elementType, props];\n}","'use client';\n\nimport * as React from 'react';\nimport useLazyRef from '@mui/utils/useLazyRef';\n/**\n * Lazy initialization container for the Ripple instance. This improves\n * performance by delaying mounting the ripple until it's needed.\n */\nexport class LazyRipple {\n /** React ref to the ripple instance */\n\n /** If the ripple component should be mounted */\n\n /** Promise that resolves when the ripple component is mounted */\n\n /** If the ripple component has been mounted */\n\n /** React state hook setter */\n\n static create() {\n return new LazyRipple();\n }\n static use() {\n /* eslint-disable */\n const ripple = useLazyRef(LazyRipple.create).current;\n const [shouldMount, setShouldMount] = React.useState(false);\n ripple.shouldMount = shouldMount;\n ripple.setShouldMount = setShouldMount;\n React.useEffect(ripple.mountEffect, [shouldMount]);\n /* eslint-enable */\n\n return ripple;\n }\n constructor() {\n this.ref = {\n current: null\n };\n this.mounted = null;\n this.didMount = false;\n this.shouldMount = false;\n this.setShouldMount = null;\n }\n mount() {\n if (!this.mounted) {\n this.mounted = createControlledPromise();\n this.shouldMount = true;\n this.setShouldMount(this.shouldMount);\n }\n return this.mounted;\n }\n mountEffect = () => {\n if (this.shouldMount && !this.didMount) {\n if (this.ref.current !== null) {\n this.didMount = true;\n this.mounted.resolve();\n }\n }\n };\n\n /* Ripple API */\n\n start(...args) {\n this.mount().then(() => this.ref.current?.start(...args));\n }\n stop(...args) {\n this.mount().then(() => this.ref.current?.stop(...args));\n }\n pulsate(...args) {\n this.mount().then(() => this.ref.current?.pulsate(...args));\n }\n}\nexport default function useLazyRipple() {\n return LazyRipple.use();\n}\nfunction createControlledPromise() {\n let resolve;\n let reject;\n const p = new Promise((resolveFn, rejectFn) => {\n resolve = resolveFn;\n reject = rejectFn;\n });\n p.resolve = resolve;\n p.reject = reject;\n return p;\n}","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction Ripple(props) {\n const {\n className,\n classes,\n pulsate = false,\n rippleX,\n rippleY,\n rippleSize,\n in: inProp,\n onExited,\n timeout\n } = props;\n const [leaving, setLeaving] = React.useState(false);\n const rippleClassName = clsx(className, classes.ripple, classes.rippleVisible, pulsate && classes.ripplePulsate);\n const rippleStyles = {\n width: rippleSize,\n height: rippleSize,\n top: -(rippleSize / 2) + rippleY,\n left: -(rippleSize / 2) + rippleX\n };\n const childClassName = clsx(classes.child, leaving && classes.childLeaving, pulsate && classes.childPulsate);\n if (!inProp && !leaving) {\n setLeaving(true);\n }\n React.useEffect(() => {\n if (!inProp && onExited != null) {\n // react-transition-group#onExited\n const timeoutId = setTimeout(onExited, timeout);\n return () => {\n clearTimeout(timeoutId);\n };\n }\n return undefined;\n }, [onExited, inProp, timeout]);\n return /*#__PURE__*/_jsx(\"span\", {\n className: rippleClassName,\n style: rippleStyles,\n children: /*#__PURE__*/_jsx(\"span\", {\n className: childClassName\n })\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? Ripple.propTypes /* remove-proptypes */ = {\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object.isRequired,\n className: PropTypes.string,\n /**\n * @ignore - injected from TransitionGroup\n */\n in: PropTypes.bool,\n /**\n * @ignore - injected from TransitionGroup\n */\n onExited: PropTypes.func,\n /**\n * If `true`, the ripple pulsates, typically indicating the keyboard focus state of an element.\n */\n pulsate: PropTypes.bool,\n /**\n * Diameter of the ripple.\n */\n rippleSize: PropTypes.number,\n /**\n * Horizontal position of the ripple center.\n */\n rippleX: PropTypes.number,\n /**\n * Vertical position of the ripple center.\n */\n rippleY: PropTypes.number,\n /**\n * exit delay\n */\n timeout: PropTypes.number.isRequired\n} : void 0;\nexport default Ripple;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getTouchRippleUtilityClass(slot) {\n return generateUtilityClass('MuiTouchRipple', slot);\n}\nconst touchRippleClasses = generateUtilityClasses('MuiTouchRipple', ['root', 'ripple', 'rippleVisible', 'ripplePulsate', 'child', 'childLeaving', 'childPulsate']);\nexport default touchRippleClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { TransitionGroup } from 'react-transition-group';\nimport clsx from 'clsx';\nimport useTimeout from '@mui/utils/useTimeout';\nimport { keyframes, styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport Ripple from \"./Ripple.js\";\nimport touchRippleClasses from \"./touchRippleClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst DURATION = 550;\nexport const DELAY_RIPPLE = 80;\nconst enterKeyframe = keyframes`\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n`;\nconst exitKeyframe = keyframes`\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n`;\nconst pulsateKeyframe = keyframes`\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n`;\nexport const TouchRippleRoot = styled('span', {\n name: 'MuiTouchRipple',\n slot: 'Root'\n})({\n overflow: 'hidden',\n pointerEvents: 'none',\n position: 'absolute',\n zIndex: 0,\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n borderRadius: 'inherit'\n});\n\n// This `styled()` function invokes keyframes. `styled-components` only supports keyframes\n// in string templates. Do not convert these styles in JS object as it will break.\nexport const TouchRippleRipple = styled(Ripple, {\n name: 'MuiTouchRipple',\n slot: 'Ripple'\n})`\n opacity: 0;\n position: absolute;\n\n &.${touchRippleClasses.rippleVisible} {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ${enterKeyframe};\n animation-duration: ${DURATION}ms;\n animation-timing-function: ${({\n theme\n}) => theme.transitions.easing.easeInOut};\n }\n\n &.${touchRippleClasses.ripplePulsate} {\n animation-duration: ${({\n theme\n}) => theme.transitions.duration.shorter}ms;\n }\n\n & .${touchRippleClasses.child} {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & .${touchRippleClasses.childLeaving} {\n opacity: 0;\n animation-name: ${exitKeyframe};\n animation-duration: ${DURATION}ms;\n animation-timing-function: ${({\n theme\n}) => theme.transitions.easing.easeInOut};\n }\n\n & .${touchRippleClasses.childPulsate} {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ${pulsateKeyframe};\n animation-duration: 2500ms;\n animation-timing-function: ${({\n theme\n}) => theme.transitions.easing.easeInOut};\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n`;\n\n/**\n * @ignore - internal component.\n *\n * TODO v5: Make private\n */\nconst TouchRipple = /*#__PURE__*/React.forwardRef(function TouchRipple(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiTouchRipple'\n });\n const {\n center: centerProp = false,\n classes = {},\n className,\n ...other\n } = props;\n const [ripples, setRipples] = React.useState([]);\n const nextKey = React.useRef(0);\n const rippleCallback = React.useRef(null);\n React.useEffect(() => {\n if (rippleCallback.current) {\n rippleCallback.current();\n rippleCallback.current = null;\n }\n }, [ripples]);\n\n // Used to filter out mouse emulated events on mobile.\n const ignoringMouseDown = React.useRef(false);\n // We use a timer in order to only show the ripples for touch \"click\" like events.\n // We don't want to display the ripple for touch scroll events.\n const startTimer = useTimeout();\n\n // This is the hook called once the previous timeout is ready.\n const startTimerCommit = React.useRef(null);\n const container = React.useRef(null);\n const startCommit = React.useCallback(params => {\n const {\n pulsate,\n rippleX,\n rippleY,\n rippleSize,\n cb\n } = params;\n setRipples(oldRipples => [...oldRipples, /*#__PURE__*/_jsx(TouchRippleRipple, {\n classes: {\n ripple: clsx(classes.ripple, touchRippleClasses.ripple),\n rippleVisible: clsx(classes.rippleVisible, touchRippleClasses.rippleVisible),\n ripplePulsate: clsx(classes.ripplePulsate, touchRippleClasses.ripplePulsate),\n child: clsx(classes.child, touchRippleClasses.child),\n childLeaving: clsx(classes.childLeaving, touchRippleClasses.childLeaving),\n childPulsate: clsx(classes.childPulsate, touchRippleClasses.childPulsate)\n },\n timeout: DURATION,\n pulsate: pulsate,\n rippleX: rippleX,\n rippleY: rippleY,\n rippleSize: rippleSize\n }, nextKey.current)]);\n nextKey.current += 1;\n rippleCallback.current = cb;\n }, [classes]);\n const start = React.useCallback((event = {}, options = {}, cb = () => {}) => {\n const {\n pulsate = false,\n center = centerProp || options.pulsate,\n fakeElement = false // For test purposes\n } = options;\n if (event?.type === 'mousedown' && ignoringMouseDown.current) {\n ignoringMouseDown.current = false;\n return;\n }\n if (event?.type === 'touchstart') {\n ignoringMouseDown.current = true;\n }\n const element = fakeElement ? null : container.current;\n const rect = element ? element.getBoundingClientRect() : {\n width: 0,\n height: 0,\n left: 0,\n top: 0\n };\n\n // Get the size of the ripple\n let rippleX;\n let rippleY;\n let rippleSize;\n if (center || event === undefined || event.clientX === 0 && event.clientY === 0 || !event.clientX && !event.touches) {\n rippleX = Math.round(rect.width / 2);\n rippleY = Math.round(rect.height / 2);\n } else {\n const {\n clientX,\n clientY\n } = event.touches && event.touches.length > 0 ? event.touches[0] : event;\n rippleX = Math.round(clientX - rect.left);\n rippleY = Math.round(clientY - rect.top);\n }\n if (center) {\n rippleSize = Math.sqrt((2 * rect.width ** 2 + rect.height ** 2) / 3);\n\n // For some reason the animation is broken on Mobile Chrome if the size is even.\n if (rippleSize % 2 === 0) {\n rippleSize += 1;\n }\n } else {\n const sizeX = Math.max(Math.abs((element ? element.clientWidth : 0) - rippleX), rippleX) * 2 + 2;\n const sizeY = Math.max(Math.abs((element ? element.clientHeight : 0) - rippleY), rippleY) * 2 + 2;\n rippleSize = Math.sqrt(sizeX ** 2 + sizeY ** 2);\n }\n\n // Touche devices\n if (event?.touches) {\n // check that this isn't another touchstart due to multitouch\n // otherwise we will only clear a single timer when unmounting while two\n // are running\n if (startTimerCommit.current === null) {\n // Prepare the ripple effect.\n startTimerCommit.current = () => {\n startCommit({\n pulsate,\n rippleX,\n rippleY,\n rippleSize,\n cb\n });\n };\n // Delay the execution of the ripple effect.\n // We have to make a tradeoff with this delay value.\n startTimer.start(DELAY_RIPPLE, () => {\n if (startTimerCommit.current) {\n startTimerCommit.current();\n startTimerCommit.current = null;\n }\n });\n }\n } else {\n startCommit({\n pulsate,\n rippleX,\n rippleY,\n rippleSize,\n cb\n });\n }\n }, [centerProp, startCommit, startTimer]);\n const pulsate = React.useCallback(() => {\n start({}, {\n pulsate: true\n });\n }, [start]);\n const stop = React.useCallback((event, cb) => {\n startTimer.clear();\n\n // The touch interaction occurs too quickly.\n // We still want to show ripple effect.\n if (event?.type === 'touchend' && startTimerCommit.current) {\n startTimerCommit.current();\n startTimerCommit.current = null;\n startTimer.start(0, () => {\n stop(event, cb);\n });\n return;\n }\n startTimerCommit.current = null;\n setRipples(oldRipples => {\n if (oldRipples.length > 0) {\n return oldRipples.slice(1);\n }\n return oldRipples;\n });\n rippleCallback.current = cb;\n }, [startTimer]);\n React.useImperativeHandle(ref, () => ({\n pulsate,\n start,\n stop\n }), [pulsate, start, stop]);\n return /*#__PURE__*/_jsx(TouchRippleRoot, {\n className: clsx(touchRippleClasses.root, classes.root, className),\n ref: container,\n ...other,\n children: /*#__PURE__*/_jsx(TransitionGroup, {\n component: null,\n exit: true,\n children: ripples\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? TouchRipple.propTypes /* remove-proptypes */ = {\n /**\n * If `true`, the ripple starts at the center of the component\n * rather than at the point of interaction.\n */\n center: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string\n} : void 0;\nexport default TouchRipple;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getButtonBaseUtilityClass(slot) {\n return generateUtilityClass('MuiButtonBase', slot);\n}\nconst buttonBaseClasses = generateUtilityClasses('MuiButtonBase', ['root', 'disabled', 'focusVisible']);\nexport default buttonBaseClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport refType from '@mui/utils/refType';\nimport elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';\nimport composeClasses from '@mui/utils/composeClasses';\nimport isFocusVisible from '@mui/utils/isFocusVisible';\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport useEventCallback from \"../utils/useEventCallback.js\";\nimport useLazyRipple from \"../useLazyRipple/index.js\";\nimport TouchRipple from \"./TouchRipple.js\";\nimport buttonBaseClasses, { getButtonBaseUtilityClass } from \"./buttonBaseClasses.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n disabled,\n focusVisible,\n focusVisibleClassName,\n classes\n } = ownerState;\n const slots = {\n root: ['root', disabled && 'disabled', focusVisible && 'focusVisible']\n };\n const composedClasses = composeClasses(slots, getButtonBaseUtilityClass, classes);\n if (focusVisible && focusVisibleClassName) {\n composedClasses.root += ` ${focusVisibleClassName}`;\n }\n return composedClasses;\n};\nexport const ButtonBaseRoot = styled('button', {\n name: 'MuiButtonBase',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n position: 'relative',\n boxSizing: 'border-box',\n WebkitTapHighlightColor: 'transparent',\n backgroundColor: 'transparent',\n // Reset default value\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n border: 0,\n margin: 0,\n // Remove the margin in Safari\n borderRadius: 0,\n padding: 0,\n // Remove the padding in Firefox\n cursor: 'pointer',\n userSelect: 'none',\n verticalAlign: 'middle',\n MozAppearance: 'none',\n // Reset\n WebkitAppearance: 'none',\n // Reset\n textDecoration: 'none',\n // So we take precedent over the style of a native element.\n color: 'inherit',\n '&::-moz-focus-inner': {\n borderStyle: 'none' // Remove Firefox dotted outline.\n },\n [`&.${buttonBaseClasses.disabled}`]: {\n pointerEvents: 'none',\n // Disable link interactions\n cursor: 'default'\n },\n '@media print': {\n colorAdjust: 'exact'\n }\n});\n\n/**\n * `ButtonBase` contains as few styles as possible.\n * It aims to be a simple building block for creating a button.\n * It contains a load of style reset and some focus/ripple logic.\n */\nconst ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiButtonBase'\n });\n const {\n action,\n centerRipple = false,\n children,\n className,\n component = 'button',\n disabled = false,\n disableRipple = false,\n disableTouchRipple = false,\n focusRipple = false,\n focusVisibleClassName,\n LinkComponent = 'a',\n onBlur,\n onClick,\n onContextMenu,\n onDragLeave,\n onFocus,\n onFocusVisible,\n onKeyDown,\n onKeyUp,\n onMouseDown,\n onMouseLeave,\n onMouseUp,\n onTouchEnd,\n onTouchMove,\n onTouchStart,\n tabIndex = 0,\n TouchRippleProps,\n touchRippleRef,\n type,\n ...other\n } = props;\n const buttonRef = React.useRef(null);\n const ripple = useLazyRipple();\n const handleRippleRef = useForkRef(ripple.ref, touchRippleRef);\n const [focusVisible, setFocusVisible] = React.useState(false);\n if (disabled && focusVisible) {\n setFocusVisible(false);\n }\n React.useImperativeHandle(action, () => ({\n focusVisible: () => {\n setFocusVisible(true);\n buttonRef.current.focus();\n }\n }), []);\n const enableTouchRipple = ripple.shouldMount && !disableRipple && !disabled;\n React.useEffect(() => {\n if (focusVisible && focusRipple && !disableRipple) {\n ripple.pulsate();\n }\n }, [disableRipple, focusRipple, focusVisible, ripple]);\n function useRippleHandler(rippleAction, eventCallback, skipRippleAction = disableTouchRipple) {\n return useEventCallback(event => {\n if (eventCallback) {\n eventCallback(event);\n }\n const ignore = skipRippleAction;\n if (!ignore) {\n ripple[rippleAction](event);\n }\n return true;\n });\n }\n const handleMouseDown = useRippleHandler('start', onMouseDown);\n const handleContextMenu = useRippleHandler('stop', onContextMenu);\n const handleDragLeave = useRippleHandler('stop', onDragLeave);\n const handleMouseUp = useRippleHandler('stop', onMouseUp);\n const handleMouseLeave = useRippleHandler('stop', event => {\n if (focusVisible) {\n event.preventDefault();\n }\n if (onMouseLeave) {\n onMouseLeave(event);\n }\n });\n const handleTouchStart = useRippleHandler('start', onTouchStart);\n const handleTouchEnd = useRippleHandler('stop', onTouchEnd);\n const handleTouchMove = useRippleHandler('stop', onTouchMove);\n const handleBlur = useRippleHandler('stop', event => {\n if (!isFocusVisible(event.target)) {\n setFocusVisible(false);\n }\n if (onBlur) {\n onBlur(event);\n }\n }, false);\n const handleFocus = useEventCallback(event => {\n // Fix for https://github.com/facebook/react/issues/7769\n if (!buttonRef.current) {\n buttonRef.current = event.currentTarget;\n }\n if (isFocusVisible(event.target)) {\n setFocusVisible(true);\n if (onFocusVisible) {\n onFocusVisible(event);\n }\n }\n if (onFocus) {\n onFocus(event);\n }\n });\n const isNonNativeButton = () => {\n const button = buttonRef.current;\n return component && component !== 'button' && !(button.tagName === 'A' && button.href);\n };\n const handleKeyDown = useEventCallback(event => {\n // Check if key is already down to avoid repeats being counted as multiple activations\n if (focusRipple && !event.repeat && focusVisible && event.key === ' ') {\n ripple.stop(event, () => {\n ripple.start(event);\n });\n }\n if (event.target === event.currentTarget && isNonNativeButton() && event.key === ' ') {\n event.preventDefault();\n }\n if (onKeyDown) {\n onKeyDown(event);\n }\n\n // Keyboard accessibility for non interactive elements\n if (event.target === event.currentTarget && isNonNativeButton() && event.key === 'Enter' && !disabled) {\n event.preventDefault();\n if (onClick) {\n onClick(event);\n }\n }\n });\n const handleKeyUp = useEventCallback(event => {\n // calling preventDefault in keyUp on a \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\tendAdornment: (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n}\n\nexport default YorkieIntelligenceFeature;\n","import { Button, Modal, ModalProps, Paper, Stack, Typography } from \"@mui/material\";\n\ninterface CloseIntelligenceModalProps extends Omit {\n\tonCloseIntelligence: () => void;\n}\n\nfunction CloseIntelligenceModal(props: CloseIntelligenceModalProps) {\n\tconst { onCloseIntelligence, ...modalProps } = props;\n\n\tconst handleCloseModal = () => {\n\t\tmodalProps?.onClose?.(new Event(\"Close Modal\"), \"escapeKeyDown\");\n\t};\n\n\tconst handleDiscard = () => {\n\t\tonCloseIntelligence();\n\t\thandleCloseModal();\n\t};\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\"yorkie\"\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tDo you want to discard\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\tthe Yorkie response?\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\n\t\t
\n\t);\n}\n\nexport default CloseIntelligenceModal;\n","import { Box, Card, Popover, useTheme } from \"@mui/material\";\nimport YorkieIntelligenceFeatureList from \"./YorkieIntelligenceFeatureList\";\nimport { useEffect, useMemo, useRef, useState } from \"react\";\nimport YorkieIntelligenceFeature from \"./YorkieIntelligenceFeature\";\nimport { useSelector } from \"react-redux\";\nimport { selectEditor } from \"../../store/editorSlice\";\nimport CloseIntelligenceModal from \"../modals/CloseIntelligenceModal\";\n\ninterface YorkieIntelligenceFooterProps {\n\tonClose: () => void;\n}\n\nfunction YorkieIntelligenceFooter(props: YorkieIntelligenceFooterProps) {\n\tconst { onClose } = props;\n\tconst theme = useTheme();\n\tconst editorStore = useSelector(selectEditor);\n\tconst anchorRef = useRef(null);\n\tconst [selectedTitle, setSelectedTitle] = useState(null);\n\tconst [selectedFeature, setSelectedFeature] = useState(null);\n\tconst [anchorEl, setAnchorEl] = useState();\n\tconst [closeModalOpen, setCloseModalOpen] = useState(false);\n\tconst cardRef = useRef(null);\n\n\tconst width = useMemo(\n\t\t() => editorStore.cmView!.contentDOM.getBoundingClientRect().width - 12,\n\t\t[editorStore.cmView]\n\t);\n\n\tuseEffect(() => {\n\t\tif (!anchorRef.current) return;\n\n\t\tsetAnchorEl(anchorRef.current);\n\n\t\treturn () => {\n\t\t\tsetAnchorEl(undefined);\n\t\t};\n\t}, []);\n\n\tconst handleSelectFeature = (feature: string, title: string) => {\n\t\tsetSelectedFeature(feature);\n\t\tsetSelectedTitle(title);\n\t};\n\n\tconst handleCloseModalOpen = () => {\n\t\tsetCloseModalOpen((prev) => !prev);\n\t};\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{selectedFeature && selectedTitle ? (\n\t\t\t\t\t\t\n\t\t\t\t\t) : (\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t);\n}\n\nexport default YorkieIntelligenceFooter;\n","import { Button, Typography } from \"@mui/material\";\nimport { useEffect, useState } from \"react\";\nimport { createPortal } from \"react-dom\";\nimport { INTELLIGENCE_FOOTER_ID } from \"../../constants/intelligence\";\nimport YorkieIntelligenceFooter from \"./YorkieIntelligenceFooter\";\nimport { useSelector } from \"react-redux\";\nimport { selectSetting } from \"../../store/settingSlice\";\n\nfunction YorkieIntelligence() {\n\tconst [footerOpen, setFooterOpen] = useState(false);\n\tconst [intelligenceFooterPivot, setIntelligenceFooterPivot] = useState(null);\n\n\tconst { yorkieIntelligence } = useSelector(selectSetting);\n\n\tuseEffect(() => {\n\t\t// initialize intelligence footer pivot\n\t\tconst intelligenceFooterPivot = document.getElementById(INTELLIGENCE_FOOTER_ID);\n\t\tsetIntelligenceFooterPivot(intelligenceFooterPivot);\n\n\t\tdocument.addEventListener(\"selectionchange\", function () {\n\t\t\t// If changed selection (ex : text formatting), update the intelligence footer pivot\n\t\t\tconst intelligenceFooterPivot = document.getElementById(INTELLIGENCE_FOOTER_ID);\n\t\t\tsetIntelligenceFooterPivot(intelligenceFooterPivot);\n\t\t});\n\t}, []);\n\n\tconst handleFooterOpen = () => {\n\t\tsetFooterOpen((prev) => !prev);\n\t};\n\n\tif (!intelligenceFooterPivot) return;\n\n\treturn (\n\t\t<>\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\tYorkie Intelligence\n\t\t\t\t\n\t\t\t\n\n\t\t\t{footerOpen &&\n\t\t\t\tcreatePortal(\n\t\t\t\t\t,\n\t\t\t\t\tintelligenceFooterPivot\n\t\t\t\t)}\n\t\t\n\t);\n}\n\nexport default YorkieIntelligence;\n","import { Popover, ToggleButtonGroup, Divider, Stack, Fade } from \"@mui/material\";\nimport TooltipToggleButton from \"../common/TooltipToggleButton\";\nimport { ToolBarState, useFormatUtils, FormatType } from \"../../hooks/useFormatUtils\";\nimport YorkieIntelligence from \"./YorkieIntelligence\";\nimport { useDebounce } from \"react-use\";\nimport { useState } from \"react\";\n\ninterface ToolBarProps {\n\ttoolBarState: ToolBarState;\n\tonChangeToolBarState: React.Dispatch>;\n}\n\nfunction ToolBar({\n\ttoolBarState: { show: showToolBar, position: formatBarPosition, selectedFormats },\n\tonChangeToolBarState,\n}: ToolBarProps) {\n\tconst { toggleButtonChangeHandler } = useFormatUtils();\n\tconst [debouncedShowToolBar, setDebouncedShowToolBar] = useState(null);\n\n\tuseDebounce(\n\t\t() => {\n\t\t\tsetDebouncedShowToolBar(showToolBar);\n\t\t},\n\t\t500,\n\t\t[showToolBar]\n\t);\n\n\tif (!debouncedShowToolBar) return;\n\n\treturn (\n\t\t onChangeToolBarState((prev) => ({ ...prev, show: false }))}\n\t\t\tanchorOrigin={{\n\t\t\t\tvertical: \"top\",\n\t\t\t\thorizontal: \"left\",\n\t\t\t}}\n\t\t\ttransformOrigin={{\n\t\t\t\tvertical: \"bottom\",\n\t\t\t\thorizontal: \"left\",\n\t\t\t}}\n\t\t\tdisableAutoFocus\n\t\t\tTransitionComponent={Fade}\n\t\t\tTransitionProps={{ timeout: 300 }}\n\t\t>\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\ti\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tB\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t~\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{\"\"}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n}\n\nexport default ToolBar;\n","import { markdown } from \"@codemirror/lang-markdown\";\nimport { EditorState } from \"@codemirror/state\";\nimport { keymap } from \"@codemirror/view\";\nimport { vim } from \"@replit/codemirror-vim\";\nimport { basicSetup } from \"@uiw/codemirror-extensions-basic-setup\";\nimport { xcodeDark, xcodeLight } from \"@uiw/codemirror-theme-xcode\";\nimport { EditorView } from \"codemirror\";\nimport { useCallback, useEffect, useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ScrollSyncPane } from \"react-scroll-sync\";\nimport { useCreateUploadUrlMutation, useUploadFileMutation } from \"../../hooks/api/file\";\nimport { useCurrentTheme } from \"../../hooks/useCurrentTheme\";\nimport { useFormatUtils } from \"../../hooks/useFormatUtils\";\nimport { useToolBar } from \"../../hooks/useToolBar\";\nimport { CodeKeyType, selectConfig } from \"../../store/configSlice\";\nimport { selectEditor, setCmView } from \"../../store/editorSlice\";\nimport { selectSetting } from \"../../store/settingSlice\";\nimport { selectWorkspace } from \"../../store/workspaceSlice\";\nimport { imageUploader } from \"../../utils/imageUploader\";\nimport { intelligencePivot } from \"../../utils/intelligence/intelligencePivot\";\nimport { urlHyperlinkInserter } from \"../../utils/urlHyperlinkInserter\";\nimport { yorkieCodeMirror } from \"../../utils/yorkie\";\nimport EditorBottomBar, { BOTTOM_BAR_HEIGHT } from \"./EditorBottomBar\";\nimport ToolBar from \"./ToolBar\";\n\ninterface EditorProps {\n\twidth: number | string;\n}\n\nfunction Editor(props: EditorProps) {\n\tconst { width } = props;\n\tconst dispatch = useDispatch();\n\tconst themeMode = useCurrentTheme();\n\tconst [element, setElement] = useState();\n\tconst editorStore = useSelector(selectEditor);\n\tconst configStore = useSelector(selectConfig);\n\tconst settingStore = useSelector(selectSetting);\n\tconst workspaceStore = useSelector(selectWorkspace);\n\tconst { mutateAsync: createUploadUrl } = useCreateUploadUrlMutation();\n\tconst { mutateAsync: uploadFile } = useUploadFileMutation();\n\tconst { applyFormat, setKeymapConfig } = useFormatUtils();\n\tconst { toolBarState, setToolBarState, updateFormatBar } = useToolBar();\n\n\tconst ref = useCallback((node: HTMLElement | null) => {\n\t\tif (!node) return;\n\t\tsetElement(node);\n\t}, []);\n\n\tuseEffect(() => {\n\t\tif (\n\t\t\t!element ||\n\t\t\t!editorStore.doc ||\n\t\t\t!editorStore.client ||\n\t\t\ttypeof settingStore.fileUpload?.enable !== \"boolean\"\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst handleUploadImage = async (file: File) => {\n\t\t\tif (!workspaceStore.data) return \"\";\n\n\t\t\tconst uploadUrlData = await createUploadUrl({\n\t\t\t\tworkspaceId: workspaceStore.data.id,\n\t\t\t\tcontentLength: new Blob([file]).size,\n\t\t\t\tcontentType: file.type,\n\t\t\t});\n\n\t\t\tawait uploadFile({ ...uploadUrlData, file });\n\n\t\t\treturn `${import.meta.env.VITE_API_ADDR}/files/${uploadUrlData.fileKey}`;\n\t\t};\n\n\t\tconst state = EditorState.create({\n\t\t\tdoc: editorStore.doc.getRoot().content?.toString() ?? \"\",\n\t\t\textensions: [\n\t\t\t\tconfigStore.codeKey === CodeKeyType.VIM ? vim() : [],\n\t\t\t\tkeymap.of(setKeymapConfig()),\n\t\t\t\tbasicSetup({ highlightSelectionMatches: false }),\n\t\t\t\tmarkdown(),\n\t\t\t\tthemeMode === \"light\" ? xcodeLight : xcodeDark,\n\t\t\t\tEditorView.theme({ \"&\": { width: \"100%\" } }),\n\t\t\t\tEditorView.lineWrapping,\n\t\t\t\tEditorView.updateListener.of((update) => {\n\t\t\t\t\tif (update.selectionSet) {\n\t\t\t\t\t\tupdateFormatBar(update);\n\t\t\t\t\t}\n\t\t\t\t}),\n\t\t\t\tyorkieCodeMirror(editorStore.doc, editorStore.client),\n\t\t\t\tintelligencePivot,\n\t\t\t\t...(settingStore.fileUpload.enable\n\t\t\t\t\t? [imageUploader(handleUploadImage, editorStore.doc)]\n\t\t\t\t\t: []),\n\t\t\t\turlHyperlinkInserter(editorStore.doc),\n\t\t\t],\n\t\t});\n\n\t\tconst view = new EditorView({ state, parent: element });\n\t\tdispatch(setCmView(view));\n\n\t\treturn () => {\n\t\t\tview?.destroy();\n\t\t};\n\t}, [\n\t\telement,\n\t\teditorStore.client,\n\t\teditorStore.doc,\n\t\tconfigStore.codeKey,\n\t\tthemeMode,\n\t\tworkspaceStore.data,\n\t\tsettingStore.fileUpload?.enable,\n\t\tdispatch,\n\t\tcreateUploadUrl,\n\t\tuploadFile,\n\t\tapplyFormat,\n\t\tupdateFormatBar,\n\t\tsetKeymapConfig,\n\t]);\n\n\treturn (\n\t\t<>\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t{Boolean(toolBarState.show) && (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\t\n\t\t\n\t);\n}\n\nexport default Editor;\n","/* eslint-disable no-bitwise */\n\nconst decodeCache = {}\n\nfunction getDecodeCache (exclude) {\n let cache = decodeCache[exclude]\n if (cache) { return cache }\n\n cache = decodeCache[exclude] = []\n\n for (let i = 0; i < 128; i++) {\n const ch = String.fromCharCode(i)\n cache.push(ch)\n }\n\n for (let i = 0; i < exclude.length; i++) {\n const ch = exclude.charCodeAt(i)\n cache[ch] = '%' + ('0' + ch.toString(16).toUpperCase()).slice(-2)\n }\n\n return cache\n}\n\n// Decode percent-encoded string.\n//\nfunction decode (string, exclude) {\n if (typeof exclude !== 'string') {\n exclude = decode.defaultChars\n }\n\n const cache = getDecodeCache(exclude)\n\n return string.replace(/(%[a-f0-9]{2})+/gi, function (seq) {\n let result = ''\n\n for (let i = 0, l = seq.length; i < l; i += 3) {\n const b1 = parseInt(seq.slice(i + 1, i + 3), 16)\n\n if (b1 < 0x80) {\n result += cache[b1]\n continue\n }\n\n if ((b1 & 0xE0) === 0xC0 && (i + 3 < l)) {\n // 110xxxxx 10xxxxxx\n const b2 = parseInt(seq.slice(i + 4, i + 6), 16)\n\n if ((b2 & 0xC0) === 0x80) {\n const chr = ((b1 << 6) & 0x7C0) | (b2 & 0x3F)\n\n if (chr < 0x80) {\n result += '\\ufffd\\ufffd'\n } else {\n result += String.fromCharCode(chr)\n }\n\n i += 3\n continue\n }\n }\n\n if ((b1 & 0xF0) === 0xE0 && (i + 6 < l)) {\n // 1110xxxx 10xxxxxx 10xxxxxx\n const b2 = parseInt(seq.slice(i + 4, i + 6), 16)\n const b3 = parseInt(seq.slice(i + 7, i + 9), 16)\n\n if ((b2 & 0xC0) === 0x80 && (b3 & 0xC0) === 0x80) {\n const chr = ((b1 << 12) & 0xF000) | ((b2 << 6) & 0xFC0) | (b3 & 0x3F)\n\n if (chr < 0x800 || (chr >= 0xD800 && chr <= 0xDFFF)) {\n result += '\\ufffd\\ufffd\\ufffd'\n } else {\n result += String.fromCharCode(chr)\n }\n\n i += 6\n continue\n }\n }\n\n if ((b1 & 0xF8) === 0xF0 && (i + 9 < l)) {\n // 111110xx 10xxxxxx 10xxxxxx 10xxxxxx\n const b2 = parseInt(seq.slice(i + 4, i + 6), 16)\n const b3 = parseInt(seq.slice(i + 7, i + 9), 16)\n const b4 = parseInt(seq.slice(i + 10, i + 12), 16)\n\n if ((b2 & 0xC0) === 0x80 && (b3 & 0xC0) === 0x80 && (b4 & 0xC0) === 0x80) {\n let chr = ((b1 << 18) & 0x1C0000) | ((b2 << 12) & 0x3F000) | ((b3 << 6) & 0xFC0) | (b4 & 0x3F)\n\n if (chr < 0x10000 || chr > 0x10FFFF) {\n result += '\\ufffd\\ufffd\\ufffd\\ufffd'\n } else {\n chr -= 0x10000\n result += String.fromCharCode(0xD800 + (chr >> 10), 0xDC00 + (chr & 0x3FF))\n }\n\n i += 9\n continue\n }\n }\n\n result += '\\ufffd'\n }\n\n return result\n })\n}\n\ndecode.defaultChars = ';/?:@&=+$,#'\ndecode.componentChars = ''\n\nexport default decode\n","const encodeCache = {}\n\n// Create a lookup array where anything but characters in `chars` string\n// and alphanumeric chars is percent-encoded.\n//\nfunction getEncodeCache (exclude) {\n let cache = encodeCache[exclude]\n if (cache) { return cache }\n\n cache = encodeCache[exclude] = []\n\n for (let i = 0; i < 128; i++) {\n const ch = String.fromCharCode(i)\n\n if (/^[0-9a-z]$/i.test(ch)) {\n // always allow unencoded alphanumeric characters\n cache.push(ch)\n } else {\n cache.push('%' + ('0' + i.toString(16).toUpperCase()).slice(-2))\n }\n }\n\n for (let i = 0; i < exclude.length; i++) {\n cache[exclude.charCodeAt(i)] = exclude[i]\n }\n\n return cache\n}\n\n// Encode unsafe characters with percent-encoding, skipping already\n// encoded sequences.\n//\n// - string - string to encode\n// - exclude - list of characters to ignore (in addition to a-zA-Z0-9)\n// - keepEscaped - don't encode '%' in a correct escape sequence (default: true)\n//\nfunction encode (string, exclude, keepEscaped) {\n if (typeof exclude !== 'string') {\n // encode(string, keepEscaped)\n keepEscaped = exclude\n exclude = encode.defaultChars\n }\n\n if (typeof keepEscaped === 'undefined') {\n keepEscaped = true\n }\n\n const cache = getEncodeCache(exclude)\n let result = ''\n\n for (let i = 0, l = string.length; i < l; i++) {\n const code = string.charCodeAt(i)\n\n if (keepEscaped && code === 0x25 /* % */ && i + 2 < l) {\n if (/^[0-9a-f]{2}$/i.test(string.slice(i + 1, i + 3))) {\n result += string.slice(i, i + 3)\n i += 2\n continue\n }\n }\n\n if (code < 128) {\n result += cache[code]\n continue\n }\n\n if (code >= 0xD800 && code <= 0xDFFF) {\n if (code >= 0xD800 && code <= 0xDBFF && i + 1 < l) {\n const nextCode = string.charCodeAt(i + 1)\n if (nextCode >= 0xDC00 && nextCode <= 0xDFFF) {\n result += encodeURIComponent(string[i] + string[i + 1])\n i++\n continue\n }\n }\n result += '%EF%BF%BD'\n continue\n }\n\n result += encodeURIComponent(string[i])\n }\n\n return result\n}\n\nencode.defaultChars = \";/?:@&=+$,-_.!~*'()#\"\nencode.componentChars = \"-_.!~*'()\"\n\nexport default encode\n","export default function format (url) {\n let result = ''\n\n result += url.protocol || ''\n result += url.slashes ? '//' : ''\n result += url.auth ? url.auth + '@' : ''\n\n if (url.hostname && url.hostname.indexOf(':') !== -1) {\n // ipv6 address\n result += '[' + url.hostname + ']'\n } else {\n result += url.hostname || ''\n }\n\n result += url.port ? ':' + url.port : ''\n result += url.pathname || ''\n result += url.search || ''\n result += url.hash || ''\n\n return result\n};\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n//\n// Changes from joyent/node:\n//\n// 1. No leading slash in paths,\n// e.g. in `url.parse('http://foo?bar')` pathname is ``, not `/`\n//\n// 2. Backslashes are not replaced with slashes,\n// so `http:\\\\example.org\\` is treated like a relative path\n//\n// 3. Trailing colon is treated like a part of the path,\n// i.e. in `http://example.org:foo` pathname is `:foo`\n//\n// 4. Nothing is URL-encoded in the resulting object,\n// (in joyent/node some chars in auth and paths are encoded)\n//\n// 5. `url.parse()` does not have `parseQueryString` argument\n//\n// 6. Removed extraneous result properties: `host`, `path`, `query`, etc.,\n// which can be constructed using other parts of the url.\n//\n\nfunction Url () {\n this.protocol = null\n this.slashes = null\n this.auth = null\n this.port = null\n this.hostname = null\n this.hash = null\n this.search = null\n this.pathname = null\n}\n\n// Reference: RFC 3986, RFC 1808, RFC 2396\n\n// define these here so at least they only have to be\n// compiled once on the first module load.\nconst protocolPattern = /^([a-z0-9.+-]+:)/i\nconst portPattern = /:[0-9]*$/\n\n// Special case for a simple path URL\n/* eslint-disable-next-line no-useless-escape */\nconst simplePathPattern = /^(\\/\\/?(?!\\/)[^\\?\\s]*)(\\?[^\\s]*)?$/\n\n// RFC 2396: characters reserved for delimiting URLs.\n// We actually just auto-escape these.\nconst delims = ['<', '>', '\"', '`', ' ', '\\r', '\\n', '\\t']\n\n// RFC 2396: characters not allowed for various reasons.\nconst unwise = ['{', '}', '|', '\\\\', '^', '`'].concat(delims)\n\n// Allowed by RFCs, but cause of XSS attacks. Always escape these.\nconst autoEscape = ['\\''].concat(unwise)\n// Characters that are never ever allowed in a hostname.\n// Note that any invalid chars are also handled, but these\n// are the ones that are *expected* to be seen, so we fast-path\n// them.\nconst nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape)\nconst hostEndingChars = ['/', '?', '#']\nconst hostnameMaxLen = 255\nconst hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/\nconst hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/\n// protocols that can allow \"unsafe\" and \"unwise\" chars.\n// protocols that never have a hostname.\nconst hostlessProtocol = {\n javascript: true,\n 'javascript:': true\n}\n// protocols that always contain a // bit.\nconst slashedProtocol = {\n http: true,\n https: true,\n ftp: true,\n gopher: true,\n file: true,\n 'http:': true,\n 'https:': true,\n 'ftp:': true,\n 'gopher:': true,\n 'file:': true\n}\n\nfunction urlParse (url, slashesDenoteHost) {\n if (url && url instanceof Url) return url\n\n const u = new Url()\n u.parse(url, slashesDenoteHost)\n return u\n}\n\nUrl.prototype.parse = function (url, slashesDenoteHost) {\n let lowerProto, hec, slashes\n let rest = url\n\n // trim before proceeding.\n // This is to support parse stuff like \" http://foo.com \\n\"\n rest = rest.trim()\n\n if (!slashesDenoteHost && url.split('#').length === 1) {\n // Try fast path regexp\n const simplePath = simplePathPattern.exec(rest)\n if (simplePath) {\n this.pathname = simplePath[1]\n if (simplePath[2]) {\n this.search = simplePath[2]\n }\n return this\n }\n }\n\n let proto = protocolPattern.exec(rest)\n if (proto) {\n proto = proto[0]\n lowerProto = proto.toLowerCase()\n this.protocol = proto\n rest = rest.substr(proto.length)\n }\n\n // figure out if it's got a host\n // user@server is *always* interpreted as a hostname, and url\n // resolution will treat //foo/bar as host=foo,path=bar because that's\n // how the browser resolves relative URLs.\n /* eslint-disable-next-line no-useless-escape */\n if (slashesDenoteHost || proto || rest.match(/^\\/\\/[^@\\/]+@[^@\\/]+/)) {\n slashes = rest.substr(0, 2) === '//'\n if (slashes && !(proto && hostlessProtocol[proto])) {\n rest = rest.substr(2)\n this.slashes = true\n }\n }\n\n if (!hostlessProtocol[proto] &&\n (slashes || (proto && !slashedProtocol[proto]))) {\n // there's a hostname.\n // the first instance of /, ?, ;, or # ends the host.\n //\n // If there is an @ in the hostname, then non-host chars *are* allowed\n // to the left of the last @ sign, unless some host-ending character\n // comes *before* the @-sign.\n // URLs are obnoxious.\n //\n // ex:\n // http://a@b@c/ => user:a@b host:c\n // http://a@b?@c => user:a host:c path:/?@c\n\n // v0.12 TODO(isaacs): This is not quite how Chrome does things.\n // Review our test case against browsers more comprehensively.\n\n // find the first instance of any hostEndingChars\n let hostEnd = -1\n for (let i = 0; i < hostEndingChars.length; i++) {\n hec = rest.indexOf(hostEndingChars[i])\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) {\n hostEnd = hec\n }\n }\n\n // at this point, either we have an explicit point where the\n // auth portion cannot go past, or the last @ char is the decider.\n let auth, atSign\n if (hostEnd === -1) {\n // atSign can be anywhere.\n atSign = rest.lastIndexOf('@')\n } else {\n // atSign must be in auth portion.\n // http://a@b/c@d => host:b auth:a path:/c@d\n atSign = rest.lastIndexOf('@', hostEnd)\n }\n\n // Now we have a portion which is definitely the auth.\n // Pull that off.\n if (atSign !== -1) {\n auth = rest.slice(0, atSign)\n rest = rest.slice(atSign + 1)\n this.auth = auth\n }\n\n // the host is the remaining to the left of the first non-host char\n hostEnd = -1\n for (let i = 0; i < nonHostChars.length; i++) {\n hec = rest.indexOf(nonHostChars[i])\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) {\n hostEnd = hec\n }\n }\n // if we still have not hit it, then the entire thing is a host.\n if (hostEnd === -1) {\n hostEnd = rest.length\n }\n\n if (rest[hostEnd - 1] === ':') { hostEnd-- }\n const host = rest.slice(0, hostEnd)\n rest = rest.slice(hostEnd)\n\n // pull out port.\n this.parseHost(host)\n\n // we've indicated that there is a hostname,\n // so even if it's empty, it has to be present.\n this.hostname = this.hostname || ''\n\n // if hostname begins with [ and ends with ]\n // assume that it's an IPv6 address.\n const ipv6Hostname = this.hostname[0] === '[' &&\n this.hostname[this.hostname.length - 1] === ']'\n\n // validate a little.\n if (!ipv6Hostname) {\n const hostparts = this.hostname.split(/\\./)\n for (let i = 0, l = hostparts.length; i < l; i++) {\n const part = hostparts[i]\n if (!part) { continue }\n if (!part.match(hostnamePartPattern)) {\n let newpart = ''\n for (let j = 0, k = part.length; j < k; j++) {\n if (part.charCodeAt(j) > 127) {\n // we replace non-ASCII char with a temporary placeholder\n // we need this to make sure size of hostname is not\n // broken by replacing non-ASCII by nothing\n newpart += 'x'\n } else {\n newpart += part[j]\n }\n }\n // we test again with ASCII char only\n if (!newpart.match(hostnamePartPattern)) {\n const validParts = hostparts.slice(0, i)\n const notHost = hostparts.slice(i + 1)\n const bit = part.match(hostnamePartStart)\n if (bit) {\n validParts.push(bit[1])\n notHost.unshift(bit[2])\n }\n if (notHost.length) {\n rest = notHost.join('.') + rest\n }\n this.hostname = validParts.join('.')\n break\n }\n }\n }\n }\n\n if (this.hostname.length > hostnameMaxLen) {\n this.hostname = ''\n }\n\n // strip [ and ] from the hostname\n // the host field still retains them, though\n if (ipv6Hostname) {\n this.hostname = this.hostname.substr(1, this.hostname.length - 2)\n }\n }\n\n // chop off from the tail first.\n const hash = rest.indexOf('#')\n if (hash !== -1) {\n // got a fragment string.\n this.hash = rest.substr(hash)\n rest = rest.slice(0, hash)\n }\n const qm = rest.indexOf('?')\n if (qm !== -1) {\n this.search = rest.substr(qm)\n rest = rest.slice(0, qm)\n }\n if (rest) { this.pathname = rest }\n if (slashedProtocol[lowerProto] &&\n this.hostname && !this.pathname) {\n this.pathname = ''\n }\n\n return this\n}\n\nUrl.prototype.parseHost = function (host) {\n let port = portPattern.exec(host)\n if (port) {\n port = port[0]\n if (port !== ':') {\n this.port = port.substr(1)\n }\n host = host.substr(0, host.length - port.length)\n }\n if (host) { this.hostname = host }\n}\n\nexport default urlParse\n","export default /[\\0-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/","export default /[\\0-\\x1F\\x7F-\\x9F]/","export default /[\\xAD\\u0600-\\u0605\\u061C\\u06DD\\u070F\\u0890\\u0891\\u08E2\\u180E\\u200B-\\u200F\\u202A-\\u202E\\u2060-\\u2064\\u2066-\\u206F\\uFEFF\\uFFF9-\\uFFFB]|\\uD804[\\uDCBD\\uDCCD]|\\uD80D[\\uDC30-\\uDC3F]|\\uD82F[\\uDCA0-\\uDCA3]|\\uD834[\\uDD73-\\uDD7A]|\\uDB40[\\uDC01\\uDC20-\\uDC7F]/","export default /[!-#%-\\*,-\\/:;\\?@\\[-\\]_\\{\\}\\xA1\\xA7\\xAB\\xB6\\xB7\\xBB\\xBF\\u037E\\u0387\\u055A-\\u055F\\u0589\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3\\u05F4\\u0609\\u060A\\u060C\\u060D\\u061B\\u061D-\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C77\\u0C84\\u0DF4\\u0E4F\\u0E5A\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166E\\u169B\\u169C\\u16EB-\\u16ED\\u1735\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944\\u1945\\u1A1E\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B5A-\\u1B60\\u1B7D\\u1B7E\\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-\\u2E4F\\u2E52-\\u2E5D\\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[\\uDEAD\\uDF55-\\uDF59\\uDF86-\\uDF89]|\\uD804[\\uDC47-\\uDC4D\\uDCBB\\uDCBC\\uDCBE-\\uDCC1\\uDD40-\\uDD43\\uDD74\\uDD75\\uDDC5-\\uDDC8\\uDDCD\\uDDDB\\uDDDD-\\uDDDF\\uDE38-\\uDE3D\\uDEA9]|\\uD805[\\uDC4B-\\uDC4F\\uDC5A\\uDC5B\\uDC5D\\uDCC6\\uDDC1-\\uDDD7\\uDE41-\\uDE43\\uDE60-\\uDE6C\\uDEB9\\uDF3C-\\uDF3E]|\\uD806[\\uDC3B\\uDD44-\\uDD46\\uDDE2\\uDE3F-\\uDE46\\uDE9A-\\uDE9C\\uDE9E-\\uDEA2\\uDF00-\\uDF09]|\\uD807[\\uDC41-\\uDC45\\uDC70\\uDC71\\uDEF7\\uDEF8\\uDF43-\\uDF4F\\uDFFF]|\\uD809[\\uDC70-\\uDC74]|\\uD80B[\\uDFF1\\uDFF2]|\\uD81A[\\uDE6E\\uDE6F\\uDEF5\\uDF37-\\uDF3B\\uDF44]|\\uD81B[\\uDE97-\\uDE9A\\uDFE2]|\\uD82F\\uDC9F|\\uD836[\\uDE87-\\uDE8B]|\\uD83A[\\uDD5E\\uDD5F]/","export default /[\\$\\+<->\\^`\\|~\\xA2-\\xA6\\xA8\\xA9\\xAC\\xAE-\\xB1\\xB4\\xB8\\xD7\\xF7\\u02C2-\\u02C5\\u02D2-\\u02DF\\u02E5-\\u02EB\\u02ED\\u02EF-\\u02FF\\u0375\\u0384\\u0385\\u03F6\\u0482\\u058D-\\u058F\\u0606-\\u0608\\u060B\\u060E\\u060F\\u06DE\\u06E9\\u06FD\\u06FE\\u07F6\\u07FE\\u07FF\\u0888\\u09F2\\u09F3\\u09FA\\u09FB\\u0AF1\\u0B70\\u0BF3-\\u0BFA\\u0C7F\\u0D4F\\u0D79\\u0E3F\\u0F01-\\u0F03\\u0F13\\u0F15-\\u0F17\\u0F1A-\\u0F1F\\u0F34\\u0F36\\u0F38\\u0FBE-\\u0FC5\\u0FC7-\\u0FCC\\u0FCE\\u0FCF\\u0FD5-\\u0FD8\\u109E\\u109F\\u1390-\\u1399\\u166D\\u17DB\\u1940\\u19DE-\\u19FF\\u1B61-\\u1B6A\\u1B74-\\u1B7C\\u1FBD\\u1FBF-\\u1FC1\\u1FCD-\\u1FCF\\u1FDD-\\u1FDF\\u1FED-\\u1FEF\\u1FFD\\u1FFE\\u2044\\u2052\\u207A-\\u207C\\u208A-\\u208C\\u20A0-\\u20C0\\u2100\\u2101\\u2103-\\u2106\\u2108\\u2109\\u2114\\u2116-\\u2118\\u211E-\\u2123\\u2125\\u2127\\u2129\\u212E\\u213A\\u213B\\u2140-\\u2144\\u214A-\\u214D\\u214F\\u218A\\u218B\\u2190-\\u2307\\u230C-\\u2328\\u232B-\\u2426\\u2440-\\u244A\\u249C-\\u24E9\\u2500-\\u2767\\u2794-\\u27C4\\u27C7-\\u27E5\\u27F0-\\u2982\\u2999-\\u29D7\\u29DC-\\u29FB\\u29FE-\\u2B73\\u2B76-\\u2B95\\u2B97-\\u2BFF\\u2CE5-\\u2CEA\\u2E50\\u2E51\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u2FF0-\\u2FFF\\u3004\\u3012\\u3013\\u3020\\u3036\\u3037\\u303E\\u303F\\u309B\\u309C\\u3190\\u3191\\u3196-\\u319F\\u31C0-\\u31E3\\u31EF\\u3200-\\u321E\\u322A-\\u3247\\u3250\\u3260-\\u327F\\u328A-\\u32B0\\u32C0-\\u33FF\\u4DC0-\\u4DFF\\uA490-\\uA4C6\\uA700-\\uA716\\uA720\\uA721\\uA789\\uA78A\\uA828-\\uA82B\\uA836-\\uA839\\uAA77-\\uAA79\\uAB5B\\uAB6A\\uAB6B\\uFB29\\uFBB2-\\uFBC2\\uFD40-\\uFD4F\\uFDCF\\uFDFC-\\uFDFF\\uFE62\\uFE64-\\uFE66\\uFE69\\uFF04\\uFF0B\\uFF1C-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uDCB1\\uDD00-\\uDE53\\uDE60-\\uDE6D\\uDE70-\\uDE7C\\uDE80-\\uDE88\\uDE90-\\uDEBD\\uDEBF-\\uDEC5\\uDECE-\\uDEDB\\uDEE0-\\uDEE8\\uDEF0-\\uDEF8\\uDF00-\\uDF92\\uDF94-\\uDFCA]/","export default /[ \\xA0\\u1680\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000]/","// Utilities\n//\n\nimport * as mdurl from 'mdurl'\nimport * as ucmicro from 'uc.micro'\nimport { decodeHTML } from 'entities'\n\nfunction _class (obj) { return Object.prototype.toString.call(obj) }\n\nfunction isString (obj) { return _class(obj) === '[object String]' }\n\nconst _hasOwnProperty = Object.prototype.hasOwnProperty\n\nfunction has (object, key) {\n return _hasOwnProperty.call(object, key)\n}\n\n// Merge objects\n//\nfunction assign (obj /* from1, from2, from3, ... */) {\n const sources = Array.prototype.slice.call(arguments, 1)\n\n sources.forEach(function (source) {\n if (!source) { return }\n\n if (typeof source !== 'object') {\n throw new TypeError(source + 'must be object')\n }\n\n Object.keys(source).forEach(function (key) {\n obj[key] = source[key]\n })\n })\n\n return obj\n}\n\n// Remove element from array and put another array at those position.\n// Useful for some operations with tokens\nfunction arrayReplaceAt (src, pos, newElements) {\n return [].concat(src.slice(0, pos), newElements, src.slice(pos + 1))\n}\n\nfunction isValidEntityCode (c) {\n /* eslint no-bitwise:0 */\n // broken sequence\n if (c >= 0xD800 && c <= 0xDFFF) { return false }\n // never used\n if (c >= 0xFDD0 && c <= 0xFDEF) { return false }\n if ((c & 0xFFFF) === 0xFFFF || (c & 0xFFFF) === 0xFFFE) { return false }\n // control codes\n if (c >= 0x00 && c <= 0x08) { return false }\n if (c === 0x0B) { return false }\n if (c >= 0x0E && c <= 0x1F) { return false }\n if (c >= 0x7F && c <= 0x9F) { return false }\n // out of range\n if (c > 0x10FFFF) { return false }\n return true\n}\n\nfunction fromCodePoint (c) {\n /* eslint no-bitwise:0 */\n if (c > 0xffff) {\n c -= 0x10000\n const surrogate1 = 0xd800 + (c >> 10)\n const surrogate2 = 0xdc00 + (c & 0x3ff)\n\n return String.fromCharCode(surrogate1, surrogate2)\n }\n return String.fromCharCode(c)\n}\n\nconst UNESCAPE_MD_RE = /\\\\([!\"#$%&'()*+,\\-./:;<=>?@[\\\\\\]^_`{|}~])/g\nconst ENTITY_RE = /&([a-z#][a-z0-9]{1,31});/gi\nconst UNESCAPE_ALL_RE = new RegExp(UNESCAPE_MD_RE.source + '|' + ENTITY_RE.source, 'gi')\n\nconst DIGITAL_ENTITY_TEST_RE = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i\n\nfunction replaceEntityPattern (match, name) {\n if (name.charCodeAt(0) === 0x23/* # */ && DIGITAL_ENTITY_TEST_RE.test(name)) {\n const code = name[1].toLowerCase() === 'x'\n ? parseInt(name.slice(2), 16)\n : parseInt(name.slice(1), 10)\n\n if (isValidEntityCode(code)) {\n return fromCodePoint(code)\n }\n\n return match\n }\n\n const decoded = decodeHTML(match)\n if (decoded !== match) {\n return decoded\n }\n\n return match\n}\n\n/* function replaceEntities(str) {\n if (str.indexOf('&') < 0) { return str; }\n\n return str.replace(ENTITY_RE, replaceEntityPattern);\n} */\n\nfunction unescapeMd (str) {\n if (str.indexOf('\\\\') < 0) { return str }\n return str.replace(UNESCAPE_MD_RE, '$1')\n}\n\nfunction unescapeAll (str) {\n if (str.indexOf('\\\\') < 0 && str.indexOf('&') < 0) { return str }\n\n return str.replace(UNESCAPE_ALL_RE, function (match, escaped, entity) {\n if (escaped) { return escaped }\n return replaceEntityPattern(match, entity)\n })\n}\n\nconst HTML_ESCAPE_TEST_RE = /[&<>\"]/\nconst HTML_ESCAPE_REPLACE_RE = /[&<>\"]/g\nconst HTML_REPLACEMENTS = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"'\n}\n\nfunction replaceUnsafeChar (ch) {\n return HTML_REPLACEMENTS[ch]\n}\n\nfunction escapeHtml (str) {\n if (HTML_ESCAPE_TEST_RE.test(str)) {\n return str.replace(HTML_ESCAPE_REPLACE_RE, replaceUnsafeChar)\n }\n return str\n}\n\nconst REGEXP_ESCAPE_RE = /[.?*+^$[\\]\\\\(){}|-]/g\n\nfunction escapeRE (str) {\n return str.replace(REGEXP_ESCAPE_RE, '\\\\$&')\n}\n\nfunction isSpace (code) {\n switch (code) {\n case 0x09:\n case 0x20:\n return true\n }\n return false\n}\n\n// Zs (unicode class) || [\\t\\f\\v\\r\\n]\nfunction isWhiteSpace (code) {\n if (code >= 0x2000 && code <= 0x200A) { return true }\n switch (code) {\n case 0x09: // \\t\n case 0x0A: // \\n\n case 0x0B: // \\v\n case 0x0C: // \\f\n case 0x0D: // \\r\n case 0x20:\n case 0xA0:\n case 0x1680:\n case 0x202F:\n case 0x205F:\n case 0x3000:\n return true\n }\n return false\n}\n\n/* eslint-disable max-len */\n\n// Currently without astral characters support.\nfunction isPunctChar (ch) {\n return ucmicro.P.test(ch) || ucmicro.S.test(ch)\n}\n\n// Markdown ASCII punctuation characters.\n//\n// !, \", #, $, %, &, ', (, ), *, +, ,, -, ., /, :, ;, <, =, >, ?, @, [, \\, ], ^, _, `, {, |, }, or ~\n// http://spec.commonmark.org/0.15/#ascii-punctuation-character\n//\n// Don't confuse with unicode punctuation !!! It lacks some chars in ascii range.\n//\nfunction isMdAsciiPunct (ch) {\n switch (ch) {\n case 0x21/* ! */:\n case 0x22/* \" */:\n case 0x23/* # */:\n case 0x24/* $ */:\n case 0x25/* % */:\n case 0x26/* & */:\n case 0x27/* ' */:\n case 0x28/* ( */:\n case 0x29/* ) */:\n case 0x2A/* * */:\n case 0x2B/* + */:\n case 0x2C/* , */:\n case 0x2D/* - */:\n case 0x2E/* . */:\n case 0x2F/* / */:\n case 0x3A/* : */:\n case 0x3B/* ; */:\n case 0x3C/* < */:\n case 0x3D/* = */:\n case 0x3E/* > */:\n case 0x3F/* ? */:\n case 0x40/* @ */:\n case 0x5B/* [ */:\n case 0x5C/* \\ */:\n case 0x5D/* ] */:\n case 0x5E/* ^ */:\n case 0x5F/* _ */:\n case 0x60/* ` */:\n case 0x7B/* { */:\n case 0x7C/* | */:\n case 0x7D/* } */:\n case 0x7E/* ~ */:\n return true\n default:\n return false\n }\n}\n\n// Hepler to unify [reference labels].\n//\nfunction normalizeReference (str) {\n // Trim and collapse whitespace\n //\n str = str.trim().replace(/\\s+/g, ' ')\n\n // In node v10 'ẞ'.toLowerCase() === 'Ṿ', which is presumed to be a bug\n // fixed in v12 (couldn't find any details).\n //\n // So treat this one as a special case\n // (remove this when node v10 is no longer supported).\n //\n if ('ẞ'.toLowerCase() === 'Ṿ') {\n str = str.replace(/ẞ/g, 'ß')\n }\n\n // .toLowerCase().toUpperCase() should get rid of all differences\n // between letter variants.\n //\n // Simple .toLowerCase() doesn't normalize 125 code points correctly,\n // and .toUpperCase doesn't normalize 6 of them (list of exceptions:\n // İ, ϴ, ẞ, Ω, K, Å - those are already uppercased, but have differently\n // uppercased versions).\n //\n // Here's an example showing how it happens. Lets take greek letter omega:\n // uppercase U+0398 (Θ), U+03f4 (ϴ) and lowercase U+03b8 (θ), U+03d1 (ϑ)\n //\n // Unicode entries:\n // 0398;GREEK CAPITAL LETTER THETA;Lu;0;L;;;;;N;;;;03B8;\n // 03B8;GREEK SMALL LETTER THETA;Ll;0;L;;;;;N;;;0398;;0398\n // 03D1;GREEK THETA SYMBOL;Ll;0;L; 03B8;;;;N;GREEK SMALL LETTER SCRIPT THETA;;0398;;0398\n // 03F4;GREEK CAPITAL THETA SYMBOL;Lu;0;L; 0398;;;;N;;;;03B8;\n //\n // Case-insensitive comparison should treat all of them as equivalent.\n //\n // But .toLowerCase() doesn't change ϑ (it's already lowercase),\n // and .toUpperCase() doesn't change ϴ (already uppercase).\n //\n // Applying first lower then upper case normalizes any character:\n // '\\u0398\\u03f4\\u03b8\\u03d1'.toLowerCase().toUpperCase() === '\\u0398\\u0398\\u0398\\u0398'\n //\n // Note: this is equivalent to unicode case folding; unicode normalization\n // is a different step that is not required here.\n //\n // Final result should be uppercased, because it's later stored in an object\n // (this avoid a conflict with Object.prototype members,\n // most notably, `__proto__`)\n //\n return str.toLowerCase().toUpperCase()\n}\n\n// Re-export libraries commonly used in both markdown-it and its plugins,\n// so plugins won't have to depend on them explicitly, which reduces their\n// bundled size (e.g. a browser build).\n//\nconst lib = { mdurl, ucmicro }\n\nexport {\n lib,\n assign,\n isString,\n has,\n unescapeMd,\n unescapeAll,\n isValidEntityCode,\n fromCodePoint,\n escapeHtml,\n arrayReplaceAt,\n isSpace,\n isWhiteSpace,\n isMdAsciiPunct,\n isPunctChar,\n escapeRE,\n normalizeReference\n}\n","// Parse link label\n//\n// this function assumes that first character (\"[\") already matches;\n// returns the end of the label\n//\n\nexport default function parseLinkLabel (state, start, disableNested) {\n let level, found, marker, prevPos\n\n const max = state.posMax\n const oldPos = state.pos\n\n state.pos = start + 1\n level = 1\n\n while (state.pos < max) {\n marker = state.src.charCodeAt(state.pos)\n if (marker === 0x5D /* ] */) {\n level--\n if (level === 0) {\n found = true\n break\n }\n }\n\n prevPos = state.pos\n state.md.inline.skipToken(state)\n if (marker === 0x5B /* [ */) {\n if (prevPos === state.pos - 1) {\n // increase level if we find text `[`, which is not a part of any token\n level++\n } else if (disableNested) {\n state.pos = oldPos\n return -1\n }\n }\n }\n\n let labelEnd = -1\n\n if (found) {\n labelEnd = state.pos\n }\n\n // restore old state\n state.pos = oldPos\n\n return labelEnd\n}\n","// Parse link destination\n//\n\nimport { unescapeAll } from '../common/utils.mjs'\n\nexport default function parseLinkDestination (str, start, max) {\n let code\n let pos = start\n\n const result = {\n ok: false,\n pos: 0,\n str: ''\n }\n\n if (str.charCodeAt(pos) === 0x3C /* < */) {\n pos++\n while (pos < max) {\n code = str.charCodeAt(pos)\n if (code === 0x0A /* \\n */) { return result }\n if (code === 0x3C /* < */) { return result }\n if (code === 0x3E /* > */) {\n result.pos = pos + 1\n result.str = unescapeAll(str.slice(start + 1, pos))\n result.ok = true\n return result\n }\n if (code === 0x5C /* \\ */ && pos + 1 < max) {\n pos += 2\n continue\n }\n\n pos++\n }\n\n // no closing '>'\n return result\n }\n\n // this should be ... } else { ... branch\n\n let level = 0\n while (pos < max) {\n code = str.charCodeAt(pos)\n\n if (code === 0x20) { break }\n\n // ascii control characters\n if (code < 0x20 || code === 0x7F) { break }\n\n if (code === 0x5C /* \\ */ && pos + 1 < max) {\n if (str.charCodeAt(pos + 1) === 0x20) { break }\n pos += 2\n continue\n }\n\n if (code === 0x28 /* ( */) {\n level++\n if (level > 32) { return result }\n }\n\n if (code === 0x29 /* ) */) {\n if (level === 0) { break }\n level--\n }\n\n pos++\n }\n\n if (start === pos) { return result }\n if (level !== 0) { return result }\n\n result.str = unescapeAll(str.slice(start, pos))\n result.pos = pos\n result.ok = true\n return result\n}\n","// Parse link title\n//\n\nimport { unescapeAll } from '../common/utils.mjs'\n\n// Parse link title within `str` in [start, max] range,\n// or continue previous parsing if `prev_state` is defined (equal to result of last execution).\n//\nexport default function parseLinkTitle (str, start, max, prev_state) {\n let code\n let pos = start\n\n const state = {\n // if `true`, this is a valid link title\n ok: false,\n // if `true`, this link can be continued on the next line\n can_continue: false,\n // if `ok`, it's the position of the first character after the closing marker\n pos: 0,\n // if `ok`, it's the unescaped title\n str: '',\n // expected closing marker character code\n marker: 0\n }\n\n if (prev_state) {\n // this is a continuation of a previous parseLinkTitle call on the next line,\n // used in reference links only\n state.str = prev_state.str\n state.marker = prev_state.marker\n } else {\n if (pos >= max) { return state }\n\n let marker = str.charCodeAt(pos)\n if (marker !== 0x22 /* \" */ && marker !== 0x27 /* ' */ && marker !== 0x28 /* ( */) { return state }\n\n start++\n pos++\n\n // if opening marker is \"(\", switch it to closing marker \")\"\n if (marker === 0x28) { marker = 0x29 }\n\n state.marker = marker\n }\n\n while (pos < max) {\n code = str.charCodeAt(pos)\n if (code === state.marker) {\n state.pos = pos + 1\n state.str += unescapeAll(str.slice(start, pos))\n state.ok = true\n return state\n } else if (code === 0x28 /* ( */ && state.marker === 0x29 /* ) */) {\n return state\n } else if (code === 0x5C /* \\ */ && pos + 1 < max) {\n pos++\n }\n\n pos++\n }\n\n // no closing marker found, but this link title may continue on the next line (for references)\n state.can_continue = true\n state.str += unescapeAll(str.slice(start, pos))\n return state\n}\n","/**\n * class Renderer\n *\n * Generates HTML from parsed token stream. Each instance has independent\n * copy of rules. Those can be rewritten with ease. Also, you can add new\n * rules if you create plugin and adds new token types.\n **/\n\nimport { assign, unescapeAll, escapeHtml } from './common/utils.mjs'\n\nconst default_rules = {}\n\ndefault_rules.code_inline = function (tokens, idx, options, env, slf) {\n const token = tokens[idx]\n\n return '' +\n escapeHtml(token.content) +\n ''\n}\n\ndefault_rules.code_block = function (tokens, idx, options, env, slf) {\n const token = tokens[idx]\n\n return '' +\n escapeHtml(tokens[idx].content) +\n '\\n'\n}\n\ndefault_rules.fence = function (tokens, idx, options, env, slf) {\n const token = tokens[idx]\n const info = token.info ? unescapeAll(token.info).trim() : ''\n let langName = ''\n let langAttrs = ''\n\n if (info) {\n const arr = info.split(/(\\s+)/g)\n langName = arr[0]\n langAttrs = arr.slice(2).join('')\n }\n\n let highlighted\n if (options.highlight) {\n highlighted = options.highlight(token.content, langName, langAttrs) || escapeHtml(token.content)\n } else {\n highlighted = escapeHtml(token.content)\n }\n\n if (highlighted.indexOf('${highlighted}\\n`\n }\n\n return `
${highlighted}
\\n`\n}\n\ndefault_rules.image = function (tokens, idx, options, env, slf) {\n const token = tokens[idx]\n\n // \"alt\" attr MUST be set, even if empty. Because it's mandatory and\n // should be placed on proper position for tests.\n //\n // Replace content with actual value\n\n token.attrs[token.attrIndex('alt')][1] =\n slf.renderInlineAsText(token.children, options, env)\n\n return slf.renderToken(tokens, idx, options)\n}\n\ndefault_rules.hardbreak = function (tokens, idx, options /*, env */) {\n return options.xhtmlOut ? '
\\n' : '
\\n'\n}\ndefault_rules.softbreak = function (tokens, idx, options /*, env */) {\n return options.breaks ? (options.xhtmlOut ? '
\\n' : '
\\n') : '\\n'\n}\n\ndefault_rules.text = function (tokens, idx /*, options, env */) {\n return escapeHtml(tokens[idx].content)\n}\n\ndefault_rules.html_block = function (tokens, idx /*, options, env */) {\n return tokens[idx].content\n}\ndefault_rules.html_inline = function (tokens, idx /*, options, env */) {\n return tokens[idx].content\n}\n\n/**\n * new Renderer()\n *\n * Creates new [[Renderer]] instance and fill [[Renderer#rules]] with defaults.\n **/\nfunction Renderer () {\n /**\n * Renderer#rules -> Object\n *\n * Contains render rules for tokens. Can be updated and extended.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.renderer.rules.strong_open = function () { return ''; };\n * md.renderer.rules.strong_close = function () { return ''; };\n *\n * var result = md.renderInline(...);\n * ```\n *\n * Each rule is called as independent static function with fixed signature:\n *\n * ```javascript\n * function my_token_render(tokens, idx, options, env, renderer) {\n * // ...\n * return renderedHTML;\n * }\n * ```\n *\n * See [source code](https://github.com/markdown-it/markdown-it/blob/master/lib/renderer.mjs)\n * for more details and examples.\n **/\n this.rules = assign({}, default_rules)\n}\n\n/**\n * Renderer.renderAttrs(token) -> String\n *\n * Render token attributes to string.\n **/\nRenderer.prototype.renderAttrs = function renderAttrs (token) {\n let i, l, result\n\n if (!token.attrs) { return '' }\n\n result = ''\n\n for (i = 0, l = token.attrs.length; i < l; i++) {\n result += ' ' + escapeHtml(token.attrs[i][0]) + '=\"' + escapeHtml(token.attrs[i][1]) + '\"'\n }\n\n return result\n}\n\n/**\n * Renderer.renderToken(tokens, idx, options) -> String\n * - tokens (Array): list of tokens\n * - idx (Numbed): token index to render\n * - options (Object): params of parser instance\n *\n * Default token renderer. Can be overriden by custom function\n * in [[Renderer#rules]].\n **/\nRenderer.prototype.renderToken = function renderToken (tokens, idx, options) {\n const token = tokens[idx]\n let result = ''\n\n // Tight list paragraphs\n if (token.hidden) {\n return ''\n }\n\n // Insert a newline between hidden paragraph and subsequent opening\n // block-level tag.\n //\n // For example, here we should insert a newline before blockquote:\n // - a\n // >\n //\n if (token.block && token.nesting !== -1 && idx && tokens[idx - 1].hidden) {\n result += '\\n'\n }\n\n // Add token name, e.g. ``.\n //\n needLf = false\n }\n }\n }\n }\n\n result += needLf ? '>\\n' : '>'\n\n return result\n}\n\n/**\n * Renderer.renderInline(tokens, options, env) -> String\n * - tokens (Array): list on block tokens to render\n * - options (Object): params of parser instance\n * - env (Object): additional data from parsed input (references, for example)\n *\n * The same as [[Renderer.render]], but for single token of `inline` type.\n **/\nRenderer.prototype.renderInline = function (tokens, options, env) {\n let result = ''\n const rules = this.rules\n\n for (let i = 0, len = tokens.length; i < len; i++) {\n const type = tokens[i].type\n\n if (typeof rules[type] !== 'undefined') {\n result += rules[type](tokens, i, options, env, this)\n } else {\n result += this.renderToken(tokens, i, options)\n }\n }\n\n return result\n}\n\n/** internal\n * Renderer.renderInlineAsText(tokens, options, env) -> String\n * - tokens (Array): list on block tokens to render\n * - options (Object): params of parser instance\n * - env (Object): additional data from parsed input (references, for example)\n *\n * Special kludge for image `alt` attributes to conform CommonMark spec.\n * Don't try to use it! Spec requires to show `alt` content with stripped markup,\n * instead of simple escaping.\n **/\nRenderer.prototype.renderInlineAsText = function (tokens, options, env) {\n let result = ''\n\n for (let i = 0, len = tokens.length; i < len; i++) {\n switch (tokens[i].type) {\n case 'text':\n result += tokens[i].content\n break\n case 'image':\n result += this.renderInlineAsText(tokens[i].children, options, env)\n break\n case 'html_inline':\n case 'html_block':\n result += tokens[i].content\n break\n case 'softbreak':\n case 'hardbreak':\n result += '\\n'\n break\n default:\n // all other tokens are skipped\n }\n }\n\n return result\n}\n\n/**\n * Renderer.render(tokens, options, env) -> String\n * - tokens (Array): list on block tokens to render\n * - options (Object): params of parser instance\n * - env (Object): additional data from parsed input (references, for example)\n *\n * Takes token stream and generates HTML. Probably, you will never need to call\n * this method directly.\n **/\nRenderer.prototype.render = function (tokens, options, env) {\n let result = ''\n const rules = this.rules\n\n for (let i = 0, len = tokens.length; i < len; i++) {\n const type = tokens[i].type\n\n if (type === 'inline') {\n result += this.renderInline(tokens[i].children, options, env)\n } else if (typeof rules[type] !== 'undefined') {\n result += rules[type](tokens, i, options, env, this)\n } else {\n result += this.renderToken(tokens, i, options, env)\n }\n }\n\n return result\n}\n\nexport default Renderer\n","/**\n * class Ruler\n *\n * Helper class, used by [[MarkdownIt#core]], [[MarkdownIt#block]] and\n * [[MarkdownIt#inline]] to manage sequences of functions (rules):\n *\n * - keep rules in defined order\n * - assign the name to each rule\n * - enable/disable rules\n * - add/replace rules\n * - allow assign rules to additional named chains (in the same)\n * - cacheing lists of active rules\n *\n * You will not need use this class directly until write plugins. For simple\n * rules control use [[MarkdownIt.disable]], [[MarkdownIt.enable]] and\n * [[MarkdownIt.use]].\n **/\n\n/**\n * new Ruler()\n **/\nfunction Ruler () {\n // List of added rules. Each element is:\n //\n // {\n // name: XXX,\n // enabled: Boolean,\n // fn: Function(),\n // alt: [ name2, name3 ]\n // }\n //\n this.__rules__ = []\n\n // Cached rule chains.\n //\n // First level - chain name, '' for default.\n // Second level - diginal anchor for fast filtering by charcodes.\n //\n this.__cache__ = null\n}\n\n// Helper methods, should not be used directly\n\n// Find rule index by name\n//\nRuler.prototype.__find__ = function (name) {\n for (let i = 0; i < this.__rules__.length; i++) {\n if (this.__rules__[i].name === name) {\n return i\n }\n }\n return -1\n}\n\n// Build rules lookup cache\n//\nRuler.prototype.__compile__ = function () {\n const self = this\n const chains = ['']\n\n // collect unique names\n self.__rules__.forEach(function (rule) {\n if (!rule.enabled) { return }\n\n rule.alt.forEach(function (altName) {\n if (chains.indexOf(altName) < 0) {\n chains.push(altName)\n }\n })\n })\n\n self.__cache__ = {}\n\n chains.forEach(function (chain) {\n self.__cache__[chain] = []\n self.__rules__.forEach(function (rule) {\n if (!rule.enabled) { return }\n\n if (chain && rule.alt.indexOf(chain) < 0) { return }\n\n self.__cache__[chain].push(rule.fn)\n })\n })\n}\n\n/**\n * Ruler.at(name, fn [, options])\n * - name (String): rule name to replace.\n * - fn (Function): new rule function.\n * - options (Object): new rule options (not mandatory).\n *\n * Replace rule by name with new function & options. Throws error if name not\n * found.\n *\n * ##### Options:\n *\n * - __alt__ - array with names of \"alternate\" chains.\n *\n * ##### Example\n *\n * Replace existing typographer replacement rule with new one:\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.core.ruler.at('replacements', function replace(state) {\n * //...\n * });\n * ```\n **/\nRuler.prototype.at = function (name, fn, options) {\n const index = this.__find__(name)\n const opt = options || {}\n\n if (index === -1) { throw new Error('Parser rule not found: ' + name) }\n\n this.__rules__[index].fn = fn\n this.__rules__[index].alt = opt.alt || []\n this.__cache__ = null\n}\n\n/**\n * Ruler.before(beforeName, ruleName, fn [, options])\n * - beforeName (String): new rule will be added before this one.\n * - ruleName (String): name of added rule.\n * - fn (Function): rule function.\n * - options (Object): rule options (not mandatory).\n *\n * Add new rule to chain before one with given name. See also\n * [[Ruler.after]], [[Ruler.push]].\n *\n * ##### Options:\n *\n * - __alt__ - array with names of \"alternate\" chains.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.block.ruler.before('paragraph', 'my_rule', function replace(state) {\n * //...\n * });\n * ```\n **/\nRuler.prototype.before = function (beforeName, ruleName, fn, options) {\n const index = this.__find__(beforeName)\n const opt = options || {}\n\n if (index === -1) { throw new Error('Parser rule not found: ' + beforeName) }\n\n this.__rules__.splice(index, 0, {\n name: ruleName,\n enabled: true,\n fn,\n alt: opt.alt || []\n })\n\n this.__cache__ = null\n}\n\n/**\n * Ruler.after(afterName, ruleName, fn [, options])\n * - afterName (String): new rule will be added after this one.\n * - ruleName (String): name of added rule.\n * - fn (Function): rule function.\n * - options (Object): rule options (not mandatory).\n *\n * Add new rule to chain after one with given name. See also\n * [[Ruler.before]], [[Ruler.push]].\n *\n * ##### Options:\n *\n * - __alt__ - array with names of \"alternate\" chains.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.inline.ruler.after('text', 'my_rule', function replace(state) {\n * //...\n * });\n * ```\n **/\nRuler.prototype.after = function (afterName, ruleName, fn, options) {\n const index = this.__find__(afterName)\n const opt = options || {}\n\n if (index === -1) { throw new Error('Parser rule not found: ' + afterName) }\n\n this.__rules__.splice(index + 1, 0, {\n name: ruleName,\n enabled: true,\n fn,\n alt: opt.alt || []\n })\n\n this.__cache__ = null\n}\n\n/**\n * Ruler.push(ruleName, fn [, options])\n * - ruleName (String): name of added rule.\n * - fn (Function): rule function.\n * - options (Object): rule options (not mandatory).\n *\n * Push new rule to the end of chain. See also\n * [[Ruler.before]], [[Ruler.after]].\n *\n * ##### Options:\n *\n * - __alt__ - array with names of \"alternate\" chains.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.core.ruler.push('my_rule', function replace(state) {\n * //...\n * });\n * ```\n **/\nRuler.prototype.push = function (ruleName, fn, options) {\n const opt = options || {}\n\n this.__rules__.push({\n name: ruleName,\n enabled: true,\n fn,\n alt: opt.alt || []\n })\n\n this.__cache__ = null\n}\n\n/**\n * Ruler.enable(list [, ignoreInvalid]) -> Array\n * - list (String|Array): list of rule names to enable.\n * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.\n *\n * Enable rules with given names. If any rule name not found - throw Error.\n * Errors can be disabled by second param.\n *\n * Returns list of found rule names (if no exception happened).\n *\n * See also [[Ruler.disable]], [[Ruler.enableOnly]].\n **/\nRuler.prototype.enable = function (list, ignoreInvalid) {\n if (!Array.isArray(list)) { list = [list] }\n\n const result = []\n\n // Search by name and enable\n list.forEach(function (name) {\n const idx = this.__find__(name)\n\n if (idx < 0) {\n if (ignoreInvalid) { return }\n throw new Error('Rules manager: invalid rule name ' + name)\n }\n this.__rules__[idx].enabled = true\n result.push(name)\n }, this)\n\n this.__cache__ = null\n return result\n}\n\n/**\n * Ruler.enableOnly(list [, ignoreInvalid])\n * - list (String|Array): list of rule names to enable (whitelist).\n * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.\n *\n * Enable rules with given names, and disable everything else. If any rule name\n * not found - throw Error. Errors can be disabled by second param.\n *\n * See also [[Ruler.disable]], [[Ruler.enable]].\n **/\nRuler.prototype.enableOnly = function (list, ignoreInvalid) {\n if (!Array.isArray(list)) { list = [list] }\n\n this.__rules__.forEach(function (rule) { rule.enabled = false })\n\n this.enable(list, ignoreInvalid)\n}\n\n/**\n * Ruler.disable(list [, ignoreInvalid]) -> Array\n * - list (String|Array): list of rule names to disable.\n * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.\n *\n * Disable rules with given names. If any rule name not found - throw Error.\n * Errors can be disabled by second param.\n *\n * Returns list of found rule names (if no exception happened).\n *\n * See also [[Ruler.enable]], [[Ruler.enableOnly]].\n **/\nRuler.prototype.disable = function (list, ignoreInvalid) {\n if (!Array.isArray(list)) { list = [list] }\n\n const result = []\n\n // Search by name and disable\n list.forEach(function (name) {\n const idx = this.__find__(name)\n\n if (idx < 0) {\n if (ignoreInvalid) { return }\n throw new Error('Rules manager: invalid rule name ' + name)\n }\n this.__rules__[idx].enabled = false\n result.push(name)\n }, this)\n\n this.__cache__ = null\n return result\n}\n\n/**\n * Ruler.getRules(chainName) -> Array\n *\n * Return array of active functions (rules) for given chain name. It analyzes\n * rules configuration, compiles caches if not exists and returns result.\n *\n * Default chain name is `''` (empty string). It can't be skipped. That's\n * done intentionally, to keep signature monomorphic for high speed.\n **/\nRuler.prototype.getRules = function (chainName) {\n if (this.__cache__ === null) {\n this.__compile__()\n }\n\n // Chain can be empty, if rules disabled. But we still have to return Array.\n return this.__cache__[chainName] || []\n}\n\nexport default Ruler\n","// Token class\n\n/**\n * class Token\n **/\n\n/**\n * new Token(type, tag, nesting)\n *\n * Create new token and fill passed properties.\n **/\nfunction Token (type, tag, nesting) {\n /**\n * Token#type -> String\n *\n * Type of the token (string, e.g. \"paragraph_open\")\n **/\n this.type = type\n\n /**\n * Token#tag -> String\n *\n * html tag name, e.g. \"p\"\n **/\n this.tag = tag\n\n /**\n * Token#attrs -> Array\n *\n * Html attributes. Format: `[ [ name1, value1 ], [ name2, value2 ] ]`\n **/\n this.attrs = null\n\n /**\n * Token#map -> Array\n *\n * Source map info. Format: `[ line_begin, line_end ]`\n **/\n this.map = null\n\n /**\n * Token#nesting -> Number\n *\n * Level change (number in {-1, 0, 1} set), where:\n *\n * - `1` means the tag is opening\n * - `0` means the tag is self-closing\n * - `-1` means the tag is closing\n **/\n this.nesting = nesting\n\n /**\n * Token#level -> Number\n *\n * nesting level, the same as `state.level`\n **/\n this.level = 0\n\n /**\n * Token#children -> Array\n *\n * An array of child nodes (inline and img tokens)\n **/\n this.children = null\n\n /**\n * Token#content -> String\n *\n * In a case of self-closing tag (code, html, fence, etc.),\n * it has contents of this tag.\n **/\n this.content = ''\n\n /**\n * Token#markup -> String\n *\n * '*' or '_' for emphasis, fence string for fence, etc.\n **/\n this.markup = ''\n\n /**\n * Token#info -> String\n *\n * Additional information:\n *\n * - Info string for \"fence\" tokens\n * - The value \"auto\" for autolink \"link_open\" and \"link_close\" tokens\n * - The string value of the item marker for ordered-list \"list_item_open\" tokens\n **/\n this.info = ''\n\n /**\n * Token#meta -> Object\n *\n * A place for plugins to store an arbitrary data\n **/\n this.meta = null\n\n /**\n * Token#block -> Boolean\n *\n * True for block-level tokens, false for inline tokens.\n * Used in renderer to calculate line breaks\n **/\n this.block = false\n\n /**\n * Token#hidden -> Boolean\n *\n * If it's true, ignore this element when rendering. Used for tight lists\n * to hide paragraphs.\n **/\n this.hidden = false\n}\n\n/**\n * Token.attrIndex(name) -> Number\n *\n * Search attribute index by name.\n **/\nToken.prototype.attrIndex = function attrIndex (name) {\n if (!this.attrs) { return -1 }\n\n const attrs = this.attrs\n\n for (let i = 0, len = attrs.length; i < len; i++) {\n if (attrs[i][0] === name) { return i }\n }\n return -1\n}\n\n/**\n * Token.attrPush(attrData)\n *\n * Add `[ name, value ]` attribute to list. Init attrs if necessary\n **/\nToken.prototype.attrPush = function attrPush (attrData) {\n if (this.attrs) {\n this.attrs.push(attrData)\n } else {\n this.attrs = [attrData]\n }\n}\n\n/**\n * Token.attrSet(name, value)\n *\n * Set `name` attribute to `value`. Override old value if exists.\n **/\nToken.prototype.attrSet = function attrSet (name, value) {\n const idx = this.attrIndex(name)\n const attrData = [name, value]\n\n if (idx < 0) {\n this.attrPush(attrData)\n } else {\n this.attrs[idx] = attrData\n }\n}\n\n/**\n * Token.attrGet(name)\n *\n * Get the value of attribute `name`, or null if it does not exist.\n **/\nToken.prototype.attrGet = function attrGet (name) {\n const idx = this.attrIndex(name)\n let value = null\n if (idx >= 0) {\n value = this.attrs[idx][1]\n }\n return value\n}\n\n/**\n * Token.attrJoin(name, value)\n *\n * Join value to existing attribute via space. Or create new attribute if not\n * exists. Useful to operate with token classes.\n **/\nToken.prototype.attrJoin = function attrJoin (name, value) {\n const idx = this.attrIndex(name)\n\n if (idx < 0) {\n this.attrPush([name, value])\n } else {\n this.attrs[idx][1] = this.attrs[idx][1] + ' ' + value\n }\n}\n\nexport default Token\n","// Core state object\n//\n\nimport Token from '../token.mjs'\n\nfunction StateCore (src, md, env) {\n this.src = src\n this.env = env\n this.tokens = []\n this.inlineMode = false\n this.md = md // link to parser instance\n}\n\n// re-export Token class to use in core rules\nStateCore.prototype.Token = Token\n\nexport default StateCore\n","// Normalize input string\n\n// https://spec.commonmark.org/0.29/#line-ending\nconst NEWLINES_RE = /\\r\\n?|\\n/g\nconst NULL_RE = /\\0/g\n\nexport default function normalize (state) {\n let str\n\n // Normalize newlines\n str = state.src.replace(NEWLINES_RE, '\\n')\n\n // Replace NULL characters\n str = str.replace(NULL_RE, '\\uFFFD')\n\n state.src = str\n}\n","export default function block (state) {\n let token\n\n if (state.inlineMode) {\n token = new state.Token('inline', '', 0)\n token.content = state.src\n token.map = [0, 1]\n token.children = []\n state.tokens.push(token)\n } else {\n state.md.block.parse(state.src, state.md, state.env, state.tokens)\n }\n}\n","export default function inline (state) {\n const tokens = state.tokens\n\n // Parse inlines\n for (let i = 0, l = tokens.length; i < l; i++) {\n const tok = tokens[i]\n if (tok.type === 'inline') {\n state.md.inline.parse(tok.content, state.md, state.env, tok.children)\n }\n }\n}\n","// Replace link-like texts with link nodes.\n//\n// Currently restricted by `md.validateLink()` to http/https/ftp\n//\n\nimport { arrayReplaceAt } from '../common/utils.mjs'\n\nfunction isLinkOpen (str) {\n return /^\\s]/i.test(str)\n}\nfunction isLinkClose (str) {\n return /^<\\/a\\s*>/i.test(str)\n}\n\nexport default function linkify (state) {\n const blockTokens = state.tokens\n\n if (!state.md.options.linkify) { return }\n\n for (let j = 0, l = blockTokens.length; j < l; j++) {\n if (blockTokens[j].type !== 'inline' ||\n !state.md.linkify.pretest(blockTokens[j].content)) {\n continue\n }\n\n let tokens = blockTokens[j].children\n\n let htmlLinkLevel = 0\n\n // We scan from the end, to keep position when new tags added.\n // Use reversed logic in links start/end match\n for (let i = tokens.length - 1; i >= 0; i--) {\n const currentToken = tokens[i]\n\n // Skip content of markdown links\n if (currentToken.type === 'link_close') {\n i--\n while (tokens[i].level !== currentToken.level && tokens[i].type !== 'link_open') {\n i--\n }\n continue\n }\n\n // Skip content of html tag links\n if (currentToken.type === 'html_inline') {\n if (isLinkOpen(currentToken.content) && htmlLinkLevel > 0) {\n htmlLinkLevel--\n }\n if (isLinkClose(currentToken.content)) {\n htmlLinkLevel++\n }\n }\n if (htmlLinkLevel > 0) { continue }\n\n if (currentToken.type === 'text' && state.md.linkify.test(currentToken.content)) {\n const text = currentToken.content\n let links = state.md.linkify.match(text)\n\n // Now split string to nodes\n const nodes = []\n let level = currentToken.level\n let lastPos = 0\n\n // forbid escape sequence at the start of the string,\n // this avoids http\\://example.com/ from being linkified as\n // http://example.com/\n if (links.length > 0 &&\n links[0].index === 0 &&\n i > 0 &&\n tokens[i - 1].type === 'text_special') {\n links = links.slice(1)\n }\n\n for (let ln = 0; ln < links.length; ln++) {\n const url = links[ln].url\n const fullUrl = state.md.normalizeLink(url)\n if (!state.md.validateLink(fullUrl)) { continue }\n\n let urlText = links[ln].text\n\n // Linkifier might send raw hostnames like \"example.com\", where url\n // starts with domain name. So we prepend http:// in those cases,\n // and remove it afterwards.\n //\n if (!links[ln].schema) {\n urlText = state.md.normalizeLinkText('http://' + urlText).replace(/^http:\\/\\//, '')\n } else if (links[ln].schema === 'mailto:' && !/^mailto:/i.test(urlText)) {\n urlText = state.md.normalizeLinkText('mailto:' + urlText).replace(/^mailto:/, '')\n } else {\n urlText = state.md.normalizeLinkText(urlText)\n }\n\n const pos = links[ln].index\n\n if (pos > lastPos) {\n const token = new state.Token('text', '', 0)\n token.content = text.slice(lastPos, pos)\n token.level = level\n nodes.push(token)\n }\n\n const token_o = new state.Token('link_open', 'a', 1)\n token_o.attrs = [['href', fullUrl]]\n token_o.level = level++\n token_o.markup = 'linkify'\n token_o.info = 'auto'\n nodes.push(token_o)\n\n const token_t = new state.Token('text', '', 0)\n token_t.content = urlText\n token_t.level = level\n nodes.push(token_t)\n\n const token_c = new state.Token('link_close', 'a', -1)\n token_c.level = --level\n token_c.markup = 'linkify'\n token_c.info = 'auto'\n nodes.push(token_c)\n\n lastPos = links[ln].lastIndex\n }\n if (lastPos < text.length) {\n const token = new state.Token('text', '', 0)\n token.content = text.slice(lastPos)\n token.level = level\n nodes.push(token)\n }\n\n // replace current node\n blockTokens[j].children = tokens = arrayReplaceAt(tokens, i, nodes)\n }\n }\n }\n}\n","// Simple typographic replacements\n//\n// (c) (C) → ©\n// (tm) (TM) → ™\n// (r) (R) → ®\n// +- → ±\n// ... → … (also ?.... → ?.., !.... → !..)\n// ???????? → ???, !!!!! → !!!, `,,` → `,`\n// -- → –, --- → —\n//\n\n// TODO:\n// - fractionals 1/2, 1/4, 3/4 -> ½, ¼, ¾\n// - multiplications 2 x 4 -> 2 × 4\n\nconst RARE_RE = /\\+-|\\.\\.|\\?\\?\\?\\?|!!!!|,,|--/\n\n// Workaround for phantomjs - need regex without /g flag,\n// or root check will fail every second time\nconst SCOPED_ABBR_TEST_RE = /\\((c|tm|r)\\)/i\n\nconst SCOPED_ABBR_RE = /\\((c|tm|r)\\)/ig\nconst SCOPED_ABBR = {\n c: '©',\n r: '®',\n tm: '™'\n}\n\nfunction replaceFn (match, name) {\n return SCOPED_ABBR[name.toLowerCase()]\n}\n\nfunction replace_scoped (inlineTokens) {\n let inside_autolink = 0\n\n for (let i = inlineTokens.length - 1; i >= 0; i--) {\n const token = inlineTokens[i]\n\n if (token.type === 'text' && !inside_autolink) {\n token.content = token.content.replace(SCOPED_ABBR_RE, replaceFn)\n }\n\n if (token.type === 'link_open' && token.info === 'auto') {\n inside_autolink--\n }\n\n if (token.type === 'link_close' && token.info === 'auto') {\n inside_autolink++\n }\n }\n}\n\nfunction replace_rare (inlineTokens) {\n let inside_autolink = 0\n\n for (let i = inlineTokens.length - 1; i >= 0; i--) {\n const token = inlineTokens[i]\n\n if (token.type === 'text' && !inside_autolink) {\n if (RARE_RE.test(token.content)) {\n token.content = token.content\n .replace(/\\+-/g, '±')\n // .., ..., ....... -> …\n // but ?..... & !..... -> ?.. & !..\n .replace(/\\.{2,}/g, '…').replace(/([?!])…/g, '$1..')\n .replace(/([?!]){4,}/g, '$1$1$1').replace(/,{2,}/g, ',')\n // em-dash\n .replace(/(^|[^-])---(?=[^-]|$)/mg, '$1\\u2014')\n // en-dash\n .replace(/(^|\\s)--(?=\\s|$)/mg, '$1\\u2013')\n .replace(/(^|[^-\\s])--(?=[^-\\s]|$)/mg, '$1\\u2013')\n }\n }\n\n if (token.type === 'link_open' && token.info === 'auto') {\n inside_autolink--\n }\n\n if (token.type === 'link_close' && token.info === 'auto') {\n inside_autolink++\n }\n }\n}\n\nexport default function replace (state) {\n let blkIdx\n\n if (!state.md.options.typographer) { return }\n\n for (blkIdx = state.tokens.length - 1; blkIdx >= 0; blkIdx--) {\n if (state.tokens[blkIdx].type !== 'inline') { continue }\n\n if (SCOPED_ABBR_TEST_RE.test(state.tokens[blkIdx].content)) {\n replace_scoped(state.tokens[blkIdx].children)\n }\n\n if (RARE_RE.test(state.tokens[blkIdx].content)) {\n replace_rare(state.tokens[blkIdx].children)\n }\n }\n}\n","// Convert straight quotation marks to typographic ones\n//\n\nimport { isWhiteSpace, isPunctChar, isMdAsciiPunct } from '../common/utils.mjs'\n\nconst QUOTE_TEST_RE = /['\"]/\nconst QUOTE_RE = /['\"]/g\nconst APOSTROPHE = '\\u2019' /* ’ */\n\nfunction replaceAt (str, index, ch) {\n return str.slice(0, index) + ch + str.slice(index + 1)\n}\n\nfunction process_inlines (tokens, state) {\n let j\n\n const stack = []\n\n for (let i = 0; i < tokens.length; i++) {\n const token = tokens[i]\n\n const thisLevel = tokens[i].level\n\n for (j = stack.length - 1; j >= 0; j--) {\n if (stack[j].level <= thisLevel) { break }\n }\n stack.length = j + 1\n\n if (token.type !== 'text') { continue }\n\n let text = token.content\n let pos = 0\n let max = text.length\n\n /* eslint no-labels:0,block-scoped-var:0 */\n OUTER:\n while (pos < max) {\n QUOTE_RE.lastIndex = pos\n const t = QUOTE_RE.exec(text)\n if (!t) { break }\n\n let canOpen = true\n let canClose = true\n pos = t.index + 1\n const isSingle = (t[0] === \"'\")\n\n // Find previous character,\n // default to space if it's the beginning of the line\n //\n let lastChar = 0x20\n\n if (t.index - 1 >= 0) {\n lastChar = text.charCodeAt(t.index - 1)\n } else {\n for (j = i - 1; j >= 0; j--) {\n if (tokens[j].type === 'softbreak' || tokens[j].type === 'hardbreak') break // lastChar defaults to 0x20\n if (!tokens[j].content) continue // should skip all tokens except 'text', 'html_inline' or 'code_inline'\n\n lastChar = tokens[j].content.charCodeAt(tokens[j].content.length - 1)\n break\n }\n }\n\n // Find next character,\n // default to space if it's the end of the line\n //\n let nextChar = 0x20\n\n if (pos < max) {\n nextChar = text.charCodeAt(pos)\n } else {\n for (j = i + 1; j < tokens.length; j++) {\n if (tokens[j].type === 'softbreak' || tokens[j].type === 'hardbreak') break // nextChar defaults to 0x20\n if (!tokens[j].content) continue // should skip all tokens except 'text', 'html_inline' or 'code_inline'\n\n nextChar = tokens[j].content.charCodeAt(0)\n break\n }\n }\n\n const isLastPunctChar = isMdAsciiPunct(lastChar) || isPunctChar(String.fromCharCode(lastChar))\n const isNextPunctChar = isMdAsciiPunct(nextChar) || isPunctChar(String.fromCharCode(nextChar))\n\n const isLastWhiteSpace = isWhiteSpace(lastChar)\n const isNextWhiteSpace = isWhiteSpace(nextChar)\n\n if (isNextWhiteSpace) {\n canOpen = false\n } else if (isNextPunctChar) {\n if (!(isLastWhiteSpace || isLastPunctChar)) {\n canOpen = false\n }\n }\n\n if (isLastWhiteSpace) {\n canClose = false\n } else if (isLastPunctChar) {\n if (!(isNextWhiteSpace || isNextPunctChar)) {\n canClose = false\n }\n }\n\n if (nextChar === 0x22 /* \" */ && t[0] === '\"') {\n if (lastChar >= 0x30 /* 0 */ && lastChar <= 0x39 /* 9 */) {\n // special case: 1\"\" - count first quote as an inch\n canClose = canOpen = false\n }\n }\n\n if (canOpen && canClose) {\n // Replace quotes in the middle of punctuation sequence, but not\n // in the middle of the words, i.e.:\n //\n // 1. foo \" bar \" baz - not replaced\n // 2. foo-\"-bar-\"-baz - replaced\n // 3. foo\"bar\"baz - not replaced\n //\n canOpen = isLastPunctChar\n canClose = isNextPunctChar\n }\n\n if (!canOpen && !canClose) {\n // middle of word\n if (isSingle) {\n token.content = replaceAt(token.content, t.index, APOSTROPHE)\n }\n continue\n }\n\n if (canClose) {\n // this could be a closing quote, rewind the stack to get a match\n for (j = stack.length - 1; j >= 0; j--) {\n let item = stack[j]\n if (stack[j].level < thisLevel) { break }\n if (item.single === isSingle && stack[j].level === thisLevel) {\n item = stack[j]\n\n let openQuote\n let closeQuote\n if (isSingle) {\n openQuote = state.md.options.quotes[2]\n closeQuote = state.md.options.quotes[3]\n } else {\n openQuote = state.md.options.quotes[0]\n closeQuote = state.md.options.quotes[1]\n }\n\n // replace token.content *before* tokens[item.token].content,\n // because, if they are pointing at the same token, replaceAt\n // could mess up indices when quote length != 1\n token.content = replaceAt(token.content, t.index, closeQuote)\n tokens[item.token].content = replaceAt(\n tokens[item.token].content, item.pos, openQuote)\n\n pos += closeQuote.length - 1\n if (item.token === i) { pos += openQuote.length - 1 }\n\n text = token.content\n max = text.length\n\n stack.length = j\n continue OUTER\n }\n }\n }\n\n if (canOpen) {\n stack.push({\n token: i,\n pos: t.index,\n single: isSingle,\n level: thisLevel\n })\n } else if (canClose && isSingle) {\n token.content = replaceAt(token.content, t.index, APOSTROPHE)\n }\n }\n }\n}\n\nexport default function smartquotes (state) {\n /* eslint max-depth:0 */\n if (!state.md.options.typographer) { return }\n\n for (let blkIdx = state.tokens.length - 1; blkIdx >= 0; blkIdx--) {\n if (state.tokens[blkIdx].type !== 'inline' ||\n !QUOTE_TEST_RE.test(state.tokens[blkIdx].content)) {\n continue\n }\n\n process_inlines(state.tokens[blkIdx].children, state)\n }\n}\n","// Join raw text tokens with the rest of the text\n//\n// This is set as a separate rule to provide an opportunity for plugins\n// to run text replacements after text join, but before escape join.\n//\n// For example, `\\:)` shouldn't be replaced with an emoji.\n//\n\nexport default function text_join (state) {\n let curr, last\n const blockTokens = state.tokens\n const l = blockTokens.length\n\n for (let j = 0; j < l; j++) {\n if (blockTokens[j].type !== 'inline') continue\n\n const tokens = blockTokens[j].children\n const max = tokens.length\n\n for (curr = 0; curr < max; curr++) {\n if (tokens[curr].type === 'text_special') {\n tokens[curr].type = 'text'\n }\n }\n\n for (curr = last = 0; curr < max; curr++) {\n if (tokens[curr].type === 'text' &&\n curr + 1 < max &&\n tokens[curr + 1].type === 'text') {\n // collapse two adjacent text nodes\n tokens[curr + 1].content = tokens[curr].content + tokens[curr + 1].content\n } else {\n if (curr !== last) { tokens[last] = tokens[curr] }\n\n last++\n }\n }\n\n if (curr !== last) {\n tokens.length = last\n }\n }\n}\n","/** internal\n * class Core\n *\n * Top-level rules executor. Glues block/inline parsers and does intermediate\n * transformations.\n **/\n\nimport Ruler from './ruler.mjs'\nimport StateCore from './rules_core/state_core.mjs'\n\nimport r_normalize from './rules_core/normalize.mjs'\nimport r_block from './rules_core/block.mjs'\nimport r_inline from './rules_core/inline.mjs'\nimport r_linkify from './rules_core/linkify.mjs'\nimport r_replacements from './rules_core/replacements.mjs'\nimport r_smartquotes from './rules_core/smartquotes.mjs'\nimport r_text_join from './rules_core/text_join.mjs'\n\nconst _rules = [\n ['normalize', r_normalize],\n ['block', r_block],\n ['inline', r_inline],\n ['linkify', r_linkify],\n ['replacements', r_replacements],\n ['smartquotes', r_smartquotes],\n // `text_join` finds `text_special` tokens (for escape sequences)\n // and joins them with the rest of the text\n ['text_join', r_text_join]\n]\n\n/**\n * new Core()\n **/\nfunction Core () {\n /**\n * Core#ruler -> Ruler\n *\n * [[Ruler]] instance. Keep configuration of core rules.\n **/\n this.ruler = new Ruler()\n\n for (let i = 0; i < _rules.length; i++) {\n this.ruler.push(_rules[i][0], _rules[i][1])\n }\n}\n\n/**\n * Core.process(state)\n *\n * Executes core chain rules.\n **/\nCore.prototype.process = function (state) {\n const rules = this.ruler.getRules('')\n\n for (let i = 0, l = rules.length; i < l; i++) {\n rules[i](state)\n }\n}\n\nCore.prototype.State = StateCore\n\nexport default Core\n","// Parser state class\n\nimport Token from '../token.mjs'\nimport { isSpace } from '../common/utils.mjs'\n\nfunction StateBlock (src, md, env, tokens) {\n this.src = src\n\n // link to parser instance\n this.md = md\n\n this.env = env\n\n //\n // Internal state vartiables\n //\n\n this.tokens = tokens\n\n this.bMarks = [] // line begin offsets for fast jumps\n this.eMarks = [] // line end offsets for fast jumps\n this.tShift = [] // offsets of the first non-space characters (tabs not expanded)\n this.sCount = [] // indents for each line (tabs expanded)\n\n // An amount of virtual spaces (tabs expanded) between beginning\n // of each line (bMarks) and real beginning of that line.\n //\n // It exists only as a hack because blockquotes override bMarks\n // losing information in the process.\n //\n // It's used only when expanding tabs, you can think about it as\n // an initial tab length, e.g. bsCount=21 applied to string `\\t123`\n // means first tab should be expanded to 4-21%4 === 3 spaces.\n //\n this.bsCount = []\n\n // block parser variables\n\n // required block content indent (for example, if we are\n // inside a list, it would be positioned after list marker)\n this.blkIndent = 0\n this.line = 0 // line index in src\n this.lineMax = 0 // lines count\n this.tight = false // loose/tight mode for lists\n this.ddIndent = -1 // indent of the current dd block (-1 if there isn't any)\n this.listIndent = -1 // indent of the current list block (-1 if there isn't any)\n\n // can be 'blockquote', 'list', 'root', 'paragraph' or 'reference'\n // used in lists to determine if they interrupt a paragraph\n this.parentType = 'root'\n\n this.level = 0\n\n // Create caches\n // Generate markers.\n const s = this.src\n\n for (let start = 0, pos = 0, indent = 0, offset = 0, len = s.length, indent_found = false; pos < len; pos++) {\n const ch = s.charCodeAt(pos)\n\n if (!indent_found) {\n if (isSpace(ch)) {\n indent++\n\n if (ch === 0x09) {\n offset += 4 - offset % 4\n } else {\n offset++\n }\n continue\n } else {\n indent_found = true\n }\n }\n\n if (ch === 0x0A || pos === len - 1) {\n if (ch !== 0x0A) { pos++ }\n this.bMarks.push(start)\n this.eMarks.push(pos)\n this.tShift.push(indent)\n this.sCount.push(offset)\n this.bsCount.push(0)\n\n indent_found = false\n indent = 0\n offset = 0\n start = pos + 1\n }\n }\n\n // Push fake entry to simplify cache bounds checks\n this.bMarks.push(s.length)\n this.eMarks.push(s.length)\n this.tShift.push(0)\n this.sCount.push(0)\n this.bsCount.push(0)\n\n this.lineMax = this.bMarks.length - 1 // don't count last fake line\n}\n\n// Push new token to \"stream\".\n//\nStateBlock.prototype.push = function (type, tag, nesting) {\n const token = new Token(type, tag, nesting)\n token.block = true\n\n if (nesting < 0) this.level-- // closing tag\n token.level = this.level\n if (nesting > 0) this.level++ // opening tag\n\n this.tokens.push(token)\n return token\n}\n\nStateBlock.prototype.isEmpty = function isEmpty (line) {\n return this.bMarks[line] + this.tShift[line] >= this.eMarks[line]\n}\n\nStateBlock.prototype.skipEmptyLines = function skipEmptyLines (from) {\n for (let max = this.lineMax; from < max; from++) {\n if (this.bMarks[from] + this.tShift[from] < this.eMarks[from]) {\n break\n }\n }\n return from\n}\n\n// Skip spaces from given position.\nStateBlock.prototype.skipSpaces = function skipSpaces (pos) {\n for (let max = this.src.length; pos < max; pos++) {\n const ch = this.src.charCodeAt(pos)\n if (!isSpace(ch)) { break }\n }\n return pos\n}\n\n// Skip spaces from given position in reverse.\nStateBlock.prototype.skipSpacesBack = function skipSpacesBack (pos, min) {\n if (pos <= min) { return pos }\n\n while (pos > min) {\n if (!isSpace(this.src.charCodeAt(--pos))) { return pos + 1 }\n }\n return pos\n}\n\n// Skip char codes from given position\nStateBlock.prototype.skipChars = function skipChars (pos, code) {\n for (let max = this.src.length; pos < max; pos++) {\n if (this.src.charCodeAt(pos) !== code) { break }\n }\n return pos\n}\n\n// Skip char codes reverse from given position - 1\nStateBlock.prototype.skipCharsBack = function skipCharsBack (pos, code, min) {\n if (pos <= min) { return pos }\n\n while (pos > min) {\n if (code !== this.src.charCodeAt(--pos)) { return pos + 1 }\n }\n return pos\n}\n\n// cut lines range from source.\nStateBlock.prototype.getLines = function getLines (begin, end, indent, keepLastLF) {\n if (begin >= end) {\n return ''\n }\n\n const queue = new Array(end - begin)\n\n for (let i = 0, line = begin; line < end; line++, i++) {\n let lineIndent = 0\n const lineStart = this.bMarks[line]\n let first = lineStart\n let last\n\n if (line + 1 < end || keepLastLF) {\n // No need for bounds check because we have fake entry on tail.\n last = this.eMarks[line] + 1\n } else {\n last = this.eMarks[line]\n }\n\n while (first < last && lineIndent < indent) {\n const ch = this.src.charCodeAt(first)\n\n if (isSpace(ch)) {\n if (ch === 0x09) {\n lineIndent += 4 - (lineIndent + this.bsCount[line]) % 4\n } else {\n lineIndent++\n }\n } else if (first - lineStart < this.tShift[line]) {\n // patched tShift masked characters to look like spaces (blockquotes, list markers)\n lineIndent++\n } else {\n break\n }\n\n first++\n }\n\n if (lineIndent > indent) {\n // partially expanding tabs in code blocks, e.g '\\t\\tfoobar'\n // with indent=2 becomes ' \\tfoobar'\n queue[i] = new Array(lineIndent - indent + 1).join(' ') + this.src.slice(first, last)\n } else {\n queue[i] = this.src.slice(first, last)\n }\n }\n\n return queue.join('')\n}\n\n// re-export Token class to use in block rules\nStateBlock.prototype.Token = Token\n\nexport default StateBlock\n","// GFM table, https://github.github.com/gfm/#tables-extension-\n\nimport { isSpace } from '../common/utils.mjs'\n\n// Limit the amount of empty autocompleted cells in a table,\n// see https://github.com/markdown-it/markdown-it/issues/1000,\n//\n// Both pulldown-cmark and commonmark-hs limit the number of cells this way to ~200k.\n// We set it to 65k, which can expand user input by a factor of x370\n// (256x256 square is 1.8kB expanded into 650kB).\nconst MAX_AUTOCOMPLETED_CELLS = 0x10000\n\nfunction getLine (state, line) {\n const pos = state.bMarks[line] + state.tShift[line]\n const max = state.eMarks[line]\n\n return state.src.slice(pos, max)\n}\n\nfunction escapedSplit (str) {\n const result = []\n const max = str.length\n\n let pos = 0\n let ch = str.charCodeAt(pos)\n let isEscaped = false\n let lastPos = 0\n let current = ''\n\n while (pos < max) {\n if (ch === 0x7c/* | */) {\n if (!isEscaped) {\n // pipe separating cells, '|'\n result.push(current + str.substring(lastPos, pos))\n current = ''\n lastPos = pos + 1\n } else {\n // escaped pipe, '\\|'\n current += str.substring(lastPos, pos - 1)\n lastPos = pos\n }\n }\n\n isEscaped = (ch === 0x5c/* \\ */)\n pos++\n\n ch = str.charCodeAt(pos)\n }\n\n result.push(current + str.substring(lastPos))\n\n return result\n}\n\nexport default function table (state, startLine, endLine, silent) {\n // should have at least two lines\n if (startLine + 2 > endLine) { return false }\n\n let nextLine = startLine + 1\n\n if (state.sCount[nextLine] < state.blkIndent) { return false }\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[nextLine] - state.blkIndent >= 4) { return false }\n\n // first character of the second line should be '|', '-', ':',\n // and no other characters are allowed but spaces;\n // basically, this is the equivalent of /^[-:|][-:|\\s]*$/ regexp\n\n let pos = state.bMarks[nextLine] + state.tShift[nextLine]\n if (pos >= state.eMarks[nextLine]) { return false }\n\n const firstCh = state.src.charCodeAt(pos++)\n if (firstCh !== 0x7C/* | */ && firstCh !== 0x2D/* - */ && firstCh !== 0x3A/* : */) { return false }\n\n if (pos >= state.eMarks[nextLine]) { return false }\n\n const secondCh = state.src.charCodeAt(pos++)\n if (secondCh !== 0x7C/* | */ && secondCh !== 0x2D/* - */ && secondCh !== 0x3A/* : */ && !isSpace(secondCh)) {\n return false\n }\n\n // if first character is '-', then second character must not be a space\n // (due to parsing ambiguity with list)\n if (firstCh === 0x2D/* - */ && isSpace(secondCh)) { return false }\n\n while (pos < state.eMarks[nextLine]) {\n const ch = state.src.charCodeAt(pos)\n\n if (ch !== 0x7C/* | */ && ch !== 0x2D/* - */ && ch !== 0x3A/* : */ && !isSpace(ch)) { return false }\n\n pos++\n }\n\n let lineText = getLine(state, startLine + 1)\n let columns = lineText.split('|')\n const aligns = []\n for (let i = 0; i < columns.length; i++) {\n const t = columns[i].trim()\n if (!t) {\n // allow empty columns before and after table, but not in between columns;\n // e.g. allow ` |---| `, disallow ` ---||--- `\n if (i === 0 || i === columns.length - 1) {\n continue\n } else {\n return false\n }\n }\n\n if (!/^:?-+:?$/.test(t)) { return false }\n if (t.charCodeAt(t.length - 1) === 0x3A/* : */) {\n aligns.push(t.charCodeAt(0) === 0x3A/* : */ ? 'center' : 'right')\n } else if (t.charCodeAt(0) === 0x3A/* : */) {\n aligns.push('left')\n } else {\n aligns.push('')\n }\n }\n\n lineText = getLine(state, startLine).trim()\n if (lineText.indexOf('|') === -1) { return false }\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false }\n columns = escapedSplit(lineText)\n if (columns.length && columns[0] === '') columns.shift()\n if (columns.length && columns[columns.length - 1] === '') columns.pop()\n\n // header row will define an amount of columns in the entire table,\n // and align row should be exactly the same (the rest of the rows can differ)\n const columnCount = columns.length\n if (columnCount === 0 || columnCount !== aligns.length) { return false }\n\n if (silent) { return true }\n\n const oldParentType = state.parentType\n state.parentType = 'table'\n\n // use 'blockquote' lists for termination because it's\n // the most similar to tables\n const terminatorRules = state.md.block.ruler.getRules('blockquote')\n\n const token_to = state.push('table_open', 'table', 1)\n const tableLines = [startLine, 0]\n token_to.map = tableLines\n\n const token_tho = state.push('thead_open', 'thead', 1)\n token_tho.map = [startLine, startLine + 1]\n\n const token_htro = state.push('tr_open', 'tr', 1)\n token_htro.map = [startLine, startLine + 1]\n\n for (let i = 0; i < columns.length; i++) {\n const token_ho = state.push('th_open', 'th', 1)\n if (aligns[i]) {\n token_ho.attrs = [['style', 'text-align:' + aligns[i]]]\n }\n\n const token_il = state.push('inline', '', 0)\n token_il.content = columns[i].trim()\n token_il.children = []\n\n state.push('th_close', 'th', -1)\n }\n\n state.push('tr_close', 'tr', -1)\n state.push('thead_close', 'thead', -1)\n\n let tbodyLines\n let autocompletedCells = 0\n\n for (nextLine = startLine + 2; nextLine < endLine; nextLine++) {\n if (state.sCount[nextLine] < state.blkIndent) { break }\n\n let terminate = false\n for (let i = 0, l = terminatorRules.length; i < l; i++) {\n if (terminatorRules[i](state, nextLine, endLine, true)) {\n terminate = true\n break\n }\n }\n\n if (terminate) { break }\n lineText = getLine(state, nextLine).trim()\n if (!lineText) { break }\n if (state.sCount[nextLine] - state.blkIndent >= 4) { break }\n columns = escapedSplit(lineText)\n if (columns.length && columns[0] === '') columns.shift()\n if (columns.length && columns[columns.length - 1] === '') columns.pop()\n\n // note: autocomplete count can be negative if user specifies more columns than header,\n // but that does not affect intended use (which is limiting expansion)\n autocompletedCells += columnCount - columns.length\n if (autocompletedCells > MAX_AUTOCOMPLETED_CELLS) { break }\n\n if (nextLine === startLine + 2) {\n const token_tbo = state.push('tbody_open', 'tbody', 1)\n token_tbo.map = tbodyLines = [startLine + 2, 0]\n }\n\n const token_tro = state.push('tr_open', 'tr', 1)\n token_tro.map = [nextLine, nextLine + 1]\n\n for (let i = 0; i < columnCount; i++) {\n const token_tdo = state.push('td_open', 'td', 1)\n if (aligns[i]) {\n token_tdo.attrs = [['style', 'text-align:' + aligns[i]]]\n }\n\n const token_il = state.push('inline', '', 0)\n token_il.content = columns[i] ? columns[i].trim() : ''\n token_il.children = []\n\n state.push('td_close', 'td', -1)\n }\n state.push('tr_close', 'tr', -1)\n }\n\n if (tbodyLines) {\n state.push('tbody_close', 'tbody', -1)\n tbodyLines[1] = nextLine\n }\n\n state.push('table_close', 'table', -1)\n tableLines[1] = nextLine\n\n state.parentType = oldParentType\n state.line = nextLine\n return true\n}\n","// Code block (4 spaces padded)\n\nexport default function code (state, startLine, endLine/*, silent */) {\n if (state.sCount[startLine] - state.blkIndent < 4) { return false }\n\n let nextLine = startLine + 1\n let last = nextLine\n\n while (nextLine < endLine) {\n if (state.isEmpty(nextLine)) {\n nextLine++\n continue\n }\n\n if (state.sCount[nextLine] - state.blkIndent >= 4) {\n nextLine++\n last = nextLine\n continue\n }\n break\n }\n\n state.line = last\n\n const token = state.push('code_block', 'code', 0)\n token.content = state.getLines(startLine, last, 4 + state.blkIndent, false) + '\\n'\n token.map = [startLine, state.line]\n\n return true\n}\n","// fences (``` lang, ~~~ lang)\n\nexport default function fence (state, startLine, endLine, silent) {\n let pos = state.bMarks[startLine] + state.tShift[startLine]\n let max = state.eMarks[startLine]\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false }\n\n if (pos + 3 > max) { return false }\n\n const marker = state.src.charCodeAt(pos)\n\n if (marker !== 0x7E/* ~ */ && marker !== 0x60 /* ` */) {\n return false\n }\n\n // scan marker length\n let mem = pos\n pos = state.skipChars(pos, marker)\n\n let len = pos - mem\n\n if (len < 3) { return false }\n\n const markup = state.src.slice(mem, pos)\n const params = state.src.slice(pos, max)\n\n if (marker === 0x60 /* ` */) {\n if (params.indexOf(String.fromCharCode(marker)) >= 0) {\n return false\n }\n }\n\n // Since start is found, we can report success here in validation mode\n if (silent) { return true }\n\n // search end of block\n let nextLine = startLine\n let haveEndMarker = false\n\n for (;;) {\n nextLine++\n if (nextLine >= endLine) {\n // unclosed block should be autoclosed by end of document.\n // also block seems to be autoclosed by end of parent\n break\n }\n\n pos = mem = state.bMarks[nextLine] + state.tShift[nextLine]\n max = state.eMarks[nextLine]\n\n if (pos < max && state.sCount[nextLine] < state.blkIndent) {\n // non-empty line with negative indent should stop the list:\n // - ```\n // test\n break\n }\n\n if (state.src.charCodeAt(pos) !== marker) { continue }\n\n if (state.sCount[nextLine] - state.blkIndent >= 4) {\n // closing fence should be indented less than 4 spaces\n continue\n }\n\n pos = state.skipChars(pos, marker)\n\n // closing code fence must be at least as long as the opening one\n if (pos - mem < len) { continue }\n\n // make sure tail has spaces only\n pos = state.skipSpaces(pos)\n\n if (pos < max) { continue }\n\n haveEndMarker = true\n // found!\n break\n }\n\n // If a fence has heading spaces, they should be removed from its inner block\n len = state.sCount[startLine]\n\n state.line = nextLine + (haveEndMarker ? 1 : 0)\n\n const token = state.push('fence', 'code', 0)\n token.info = params\n token.content = state.getLines(startLine + 1, nextLine, len, true)\n token.markup = markup\n token.map = [startLine, state.line]\n\n return true\n}\n","// Block quotes\n\nimport { isSpace } from '../common/utils.mjs'\n\nexport default function blockquote (state, startLine, endLine, silent) {\n let pos = state.bMarks[startLine] + state.tShift[startLine]\n let max = state.eMarks[startLine]\n\n const oldLineMax = state.lineMax\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false }\n\n // check the block quote marker\n if (state.src.charCodeAt(pos) !== 0x3E/* > */) { return false }\n\n // we know that it's going to be a valid blockquote,\n // so no point trying to find the end of it in silent mode\n if (silent) { return true }\n\n const oldBMarks = []\n const oldBSCount = []\n const oldSCount = []\n const oldTShift = []\n\n const terminatorRules = state.md.block.ruler.getRules('blockquote')\n\n const oldParentType = state.parentType\n state.parentType = 'blockquote'\n let lastLineEmpty = false\n let nextLine\n\n // Search the end of the block\n //\n // Block ends with either:\n // 1. an empty line outside:\n // ```\n // > test\n //\n // ```\n // 2. an empty line inside:\n // ```\n // >\n // test\n // ```\n // 3. another tag:\n // ```\n // > test\n // - - -\n // ```\n for (nextLine = startLine; nextLine < endLine; nextLine++) {\n // check if it's outdented, i.e. it's inside list item and indented\n // less than said list item:\n //\n // ```\n // 1. anything\n // > current blockquote\n // 2. checking this line\n // ```\n const isOutdented = state.sCount[nextLine] < state.blkIndent\n\n pos = state.bMarks[nextLine] + state.tShift[nextLine]\n max = state.eMarks[nextLine]\n\n if (pos >= max) {\n // Case 1: line is not inside the blockquote, and this line is empty.\n break\n }\n\n if (state.src.charCodeAt(pos++) === 0x3E/* > */ && !isOutdented) {\n // This line is inside the blockquote.\n\n // set offset past spaces and \">\"\n let initial = state.sCount[nextLine] + 1\n let spaceAfterMarker\n let adjustTab\n\n // skip one optional space after '>'\n if (state.src.charCodeAt(pos) === 0x20 /* space */) {\n // ' > test '\n // ^ -- position start of line here:\n pos++\n initial++\n adjustTab = false\n spaceAfterMarker = true\n } else if (state.src.charCodeAt(pos) === 0x09 /* tab */) {\n spaceAfterMarker = true\n\n if ((state.bsCount[nextLine] + initial) % 4 === 3) {\n // ' >\\t test '\n // ^ -- position start of line here (tab has width===1)\n pos++\n initial++\n adjustTab = false\n } else {\n // ' >\\t test '\n // ^ -- position start of line here + shift bsCount slightly\n // to make extra space appear\n adjustTab = true\n }\n } else {\n spaceAfterMarker = false\n }\n\n let offset = initial\n oldBMarks.push(state.bMarks[nextLine])\n state.bMarks[nextLine] = pos\n\n while (pos < max) {\n const ch = state.src.charCodeAt(pos)\n\n if (isSpace(ch)) {\n if (ch === 0x09) {\n offset += 4 - (offset + state.bsCount[nextLine] + (adjustTab ? 1 : 0)) % 4\n } else {\n offset++\n }\n } else {\n break\n }\n\n pos++\n }\n\n lastLineEmpty = pos >= max\n\n oldBSCount.push(state.bsCount[nextLine])\n state.bsCount[nextLine] = state.sCount[nextLine] + 1 + (spaceAfterMarker ? 1 : 0)\n\n oldSCount.push(state.sCount[nextLine])\n state.sCount[nextLine] = offset - initial\n\n oldTShift.push(state.tShift[nextLine])\n state.tShift[nextLine] = pos - state.bMarks[nextLine]\n continue\n }\n\n // Case 2: line is not inside the blockquote, and the last line was empty.\n if (lastLineEmpty) { break }\n\n // Case 3: another tag found.\n let terminate = false\n for (let i = 0, l = terminatorRules.length; i < l; i++) {\n if (terminatorRules[i](state, nextLine, endLine, true)) {\n terminate = true\n break\n }\n }\n\n if (terminate) {\n // Quirk to enforce \"hard termination mode\" for paragraphs;\n // normally if you call `tokenize(state, startLine, nextLine)`,\n // paragraphs will look below nextLine for paragraph continuation,\n // but if blockquote is terminated by another tag, they shouldn't\n state.lineMax = nextLine\n\n if (state.blkIndent !== 0) {\n // state.blkIndent was non-zero, we now set it to zero,\n // so we need to re-calculate all offsets to appear as\n // if indent wasn't changed\n oldBMarks.push(state.bMarks[nextLine])\n oldBSCount.push(state.bsCount[nextLine])\n oldTShift.push(state.tShift[nextLine])\n oldSCount.push(state.sCount[nextLine])\n state.sCount[nextLine] -= state.blkIndent\n }\n\n break\n }\n\n oldBMarks.push(state.bMarks[nextLine])\n oldBSCount.push(state.bsCount[nextLine])\n oldTShift.push(state.tShift[nextLine])\n oldSCount.push(state.sCount[nextLine])\n\n // A negative indentation means that this is a paragraph continuation\n //\n state.sCount[nextLine] = -1\n }\n\n const oldIndent = state.blkIndent\n state.blkIndent = 0\n\n const token_o = state.push('blockquote_open', 'blockquote', 1)\n token_o.markup = '>'\n const lines = [startLine, 0]\n token_o.map = lines\n\n state.md.block.tokenize(state, startLine, nextLine)\n\n const token_c = state.push('blockquote_close', 'blockquote', -1)\n token_c.markup = '>'\n\n state.lineMax = oldLineMax\n state.parentType = oldParentType\n lines[1] = state.line\n\n // Restore original tShift; this might not be necessary since the parser\n // has already been here, but just to make sure we can do that.\n for (let i = 0; i < oldTShift.length; i++) {\n state.bMarks[i + startLine] = oldBMarks[i]\n state.tShift[i + startLine] = oldTShift[i]\n state.sCount[i + startLine] = oldSCount[i]\n state.bsCount[i + startLine] = oldBSCount[i]\n }\n state.blkIndent = oldIndent\n\n return true\n}\n","// Horizontal rule\n\nimport { isSpace } from '../common/utils.mjs'\n\nexport default function hr (state, startLine, endLine, silent) {\n const max = state.eMarks[startLine]\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false }\n\n let pos = state.bMarks[startLine] + state.tShift[startLine]\n const marker = state.src.charCodeAt(pos++)\n\n // Check hr marker\n if (marker !== 0x2A/* * */ &&\n marker !== 0x2D/* - */ &&\n marker !== 0x5F/* _ */) {\n return false\n }\n\n // markers can be mixed with spaces, but there should be at least 3 of them\n\n let cnt = 1\n while (pos < max) {\n const ch = state.src.charCodeAt(pos++)\n if (ch !== marker && !isSpace(ch)) { return false }\n if (ch === marker) { cnt++ }\n }\n\n if (cnt < 3) { return false }\n\n if (silent) { return true }\n\n state.line = startLine + 1\n\n const token = state.push('hr', 'hr', 0)\n token.map = [startLine, state.line]\n token.markup = Array(cnt + 1).join(String.fromCharCode(marker))\n\n return true\n}\n","// Lists\n\nimport { isSpace } from '../common/utils.mjs'\n\n// Search `[-+*][\\n ]`, returns next pos after marker on success\n// or -1 on fail.\nfunction skipBulletListMarker (state, startLine) {\n const max = state.eMarks[startLine]\n let pos = state.bMarks[startLine] + state.tShift[startLine]\n\n const marker = state.src.charCodeAt(pos++)\n // Check bullet\n if (marker !== 0x2A/* * */ &&\n marker !== 0x2D/* - */ &&\n marker !== 0x2B/* + */) {\n return -1\n }\n\n if (pos < max) {\n const ch = state.src.charCodeAt(pos)\n\n if (!isSpace(ch)) {\n // \" -test \" - is not a list item\n return -1\n }\n }\n\n return pos\n}\n\n// Search `\\d+[.)][\\n ]`, returns next pos after marker on success\n// or -1 on fail.\nfunction skipOrderedListMarker (state, startLine) {\n const start = state.bMarks[startLine] + state.tShift[startLine]\n const max = state.eMarks[startLine]\n let pos = start\n\n // List marker should have at least 2 chars (digit + dot)\n if (pos + 1 >= max) { return -1 }\n\n let ch = state.src.charCodeAt(pos++)\n\n if (ch < 0x30/* 0 */ || ch > 0x39/* 9 */) { return -1 }\n\n for (;;) {\n // EOL -> fail\n if (pos >= max) { return -1 }\n\n ch = state.src.charCodeAt(pos++)\n\n if (ch >= 0x30/* 0 */ && ch <= 0x39/* 9 */) {\n // List marker should have no more than 9 digits\n // (prevents integer overflow in browsers)\n if (pos - start >= 10) { return -1 }\n\n continue\n }\n\n // found valid marker\n if (ch === 0x29/* ) */ || ch === 0x2e/* . */) {\n break\n }\n\n return -1\n }\n\n if (pos < max) {\n ch = state.src.charCodeAt(pos)\n\n if (!isSpace(ch)) {\n // \" 1.test \" - is not a list item\n return -1\n }\n }\n return pos\n}\n\nfunction markTightParagraphs (state, idx) {\n const level = state.level + 2\n\n for (let i = idx + 2, l = state.tokens.length - 2; i < l; i++) {\n if (state.tokens[i].level === level && state.tokens[i].type === 'paragraph_open') {\n state.tokens[i + 2].hidden = true\n state.tokens[i].hidden = true\n i += 2\n }\n }\n}\n\nexport default function list (state, startLine, endLine, silent) {\n let max, pos, start, token\n let nextLine = startLine\n let tight = true\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[nextLine] - state.blkIndent >= 4) { return false }\n\n // Special case:\n // - item 1\n // - item 2\n // - item 3\n // - item 4\n // - this one is a paragraph continuation\n if (state.listIndent >= 0 &&\n state.sCount[nextLine] - state.listIndent >= 4 &&\n state.sCount[nextLine] < state.blkIndent) {\n return false\n }\n\n let isTerminatingParagraph = false\n\n // limit conditions when list can interrupt\n // a paragraph (validation mode only)\n if (silent && state.parentType === 'paragraph') {\n // Next list item should still terminate previous list item;\n //\n // This code can fail if plugins use blkIndent as well as lists,\n // but I hope the spec gets fixed long before that happens.\n //\n if (state.sCount[nextLine] >= state.blkIndent) {\n isTerminatingParagraph = true\n }\n }\n\n // Detect list type and position after marker\n let isOrdered\n let markerValue\n let posAfterMarker\n if ((posAfterMarker = skipOrderedListMarker(state, nextLine)) >= 0) {\n isOrdered = true\n start = state.bMarks[nextLine] + state.tShift[nextLine]\n markerValue = Number(state.src.slice(start, posAfterMarker - 1))\n\n // If we're starting a new ordered list right after\n // a paragraph, it should start with 1.\n if (isTerminatingParagraph && markerValue !== 1) return false\n } else if ((posAfterMarker = skipBulletListMarker(state, nextLine)) >= 0) {\n isOrdered = false\n } else {\n return false\n }\n\n // If we're starting a new unordered list right after\n // a paragraph, first line should not be empty.\n if (isTerminatingParagraph) {\n if (state.skipSpaces(posAfterMarker) >= state.eMarks[nextLine]) return false\n }\n\n // For validation mode we can terminate immediately\n if (silent) { return true }\n\n // We should terminate list on style change. Remember first one to compare.\n const markerCharCode = state.src.charCodeAt(posAfterMarker - 1)\n\n // Start list\n const listTokIdx = state.tokens.length\n\n if (isOrdered) {\n token = state.push('ordered_list_open', 'ol', 1)\n if (markerValue !== 1) {\n token.attrs = [['start', markerValue]]\n }\n } else {\n token = state.push('bullet_list_open', 'ul', 1)\n }\n\n const listLines = [nextLine, 0]\n token.map = listLines\n token.markup = String.fromCharCode(markerCharCode)\n\n //\n // Iterate list items\n //\n\n let prevEmptyEnd = false\n const terminatorRules = state.md.block.ruler.getRules('list')\n\n const oldParentType = state.parentType\n state.parentType = 'list'\n\n while (nextLine < endLine) {\n pos = posAfterMarker\n max = state.eMarks[nextLine]\n\n const initial = state.sCount[nextLine] + posAfterMarker - (state.bMarks[nextLine] + state.tShift[nextLine])\n let offset = initial\n\n while (pos < max) {\n const ch = state.src.charCodeAt(pos)\n\n if (ch === 0x09) {\n offset += 4 - (offset + state.bsCount[nextLine]) % 4\n } else if (ch === 0x20) {\n offset++\n } else {\n break\n }\n\n pos++\n }\n\n const contentStart = pos\n let indentAfterMarker\n\n if (contentStart >= max) {\n // trimming space in \"- \\n 3\" case, indent is 1 here\n indentAfterMarker = 1\n } else {\n indentAfterMarker = offset - initial\n }\n\n // If we have more than 4 spaces, the indent is 1\n // (the rest is just indented code block)\n if (indentAfterMarker > 4) { indentAfterMarker = 1 }\n\n // \" - test\"\n // ^^^^^ - calculating total length of this thing\n const indent = initial + indentAfterMarker\n\n // Run subparser & write tokens\n token = state.push('list_item_open', 'li', 1)\n token.markup = String.fromCharCode(markerCharCode)\n const itemLines = [nextLine, 0]\n token.map = itemLines\n if (isOrdered) {\n token.info = state.src.slice(start, posAfterMarker - 1)\n }\n\n // change current state, then restore it after parser subcall\n const oldTight = state.tight\n const oldTShift = state.tShift[nextLine]\n const oldSCount = state.sCount[nextLine]\n\n // - example list\n // ^ listIndent position will be here\n // ^ blkIndent position will be here\n //\n const oldListIndent = state.listIndent\n state.listIndent = state.blkIndent\n state.blkIndent = indent\n\n state.tight = true\n state.tShift[nextLine] = contentStart - state.bMarks[nextLine]\n state.sCount[nextLine] = offset\n\n if (contentStart >= max && state.isEmpty(nextLine + 1)) {\n // workaround for this case\n // (list item is empty, list terminates before \"foo\"):\n // ~~~~~~~~\n // -\n //\n // foo\n // ~~~~~~~~\n state.line = Math.min(state.line + 2, endLine)\n } else {\n state.md.block.tokenize(state, nextLine, endLine, true)\n }\n\n // If any of list item is tight, mark list as tight\n if (!state.tight || prevEmptyEnd) {\n tight = false\n }\n // Item become loose if finish with empty line,\n // but we should filter last element, because it means list finish\n prevEmptyEnd = (state.line - nextLine) > 1 && state.isEmpty(state.line - 1)\n\n state.blkIndent = state.listIndent\n state.listIndent = oldListIndent\n state.tShift[nextLine] = oldTShift\n state.sCount[nextLine] = oldSCount\n state.tight = oldTight\n\n token = state.push('list_item_close', 'li', -1)\n token.markup = String.fromCharCode(markerCharCode)\n\n nextLine = state.line\n itemLines[1] = nextLine\n\n if (nextLine >= endLine) { break }\n\n //\n // Try to check if list is terminated or continued.\n //\n if (state.sCount[nextLine] < state.blkIndent) { break }\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[nextLine] - state.blkIndent >= 4) { break }\n\n // fail if terminating block found\n let terminate = false\n for (let i = 0, l = terminatorRules.length; i < l; i++) {\n if (terminatorRules[i](state, nextLine, endLine, true)) {\n terminate = true\n break\n }\n }\n if (terminate) { break }\n\n // fail if list has another type\n if (isOrdered) {\n posAfterMarker = skipOrderedListMarker(state, nextLine)\n if (posAfterMarker < 0) { break }\n start = state.bMarks[nextLine] + state.tShift[nextLine]\n } else {\n posAfterMarker = skipBulletListMarker(state, nextLine)\n if (posAfterMarker < 0) { break }\n }\n\n if (markerCharCode !== state.src.charCodeAt(posAfterMarker - 1)) { break }\n }\n\n // Finalize list\n if (isOrdered) {\n token = state.push('ordered_list_close', 'ol', -1)\n } else {\n token = state.push('bullet_list_close', 'ul', -1)\n }\n token.markup = String.fromCharCode(markerCharCode)\n\n listLines[1] = nextLine\n state.line = nextLine\n\n state.parentType = oldParentType\n\n // mark paragraphs tight if needed\n if (tight) {\n markTightParagraphs(state, listTokIdx)\n }\n\n return true\n}\n","import { isSpace, normalizeReference } from '../common/utils.mjs'\n\nexport default function reference (state, startLine, _endLine, silent) {\n let pos = state.bMarks[startLine] + state.tShift[startLine]\n let max = state.eMarks[startLine]\n let nextLine = startLine + 1\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false }\n\n if (state.src.charCodeAt(pos) !== 0x5B/* [ */) { return false }\n\n function getNextLine (nextLine) {\n const endLine = state.lineMax\n\n if (nextLine >= endLine || state.isEmpty(nextLine)) {\n // empty line or end of input\n return null\n }\n\n let isContinuation = false\n\n // this would be a code block normally, but after paragraph\n // it's considered a lazy continuation regardless of what's there\n if (state.sCount[nextLine] - state.blkIndent > 3) { isContinuation = true }\n\n // quirk for blockquotes, this line should already be checked by that rule\n if (state.sCount[nextLine] < 0) { isContinuation = true }\n\n if (!isContinuation) {\n const terminatorRules = state.md.block.ruler.getRules('reference')\n const oldParentType = state.parentType\n state.parentType = 'reference'\n\n // Some tags can terminate paragraph without empty line.\n let terminate = false\n for (let i = 0, l = terminatorRules.length; i < l; i++) {\n if (terminatorRules[i](state, nextLine, endLine, true)) {\n terminate = true\n break\n }\n }\n\n state.parentType = oldParentType\n if (terminate) {\n // terminated by another block\n return null\n }\n }\n\n const pos = state.bMarks[nextLine] + state.tShift[nextLine]\n const max = state.eMarks[nextLine]\n\n // max + 1 explicitly includes the newline\n return state.src.slice(pos, max + 1)\n }\n\n let str = state.src.slice(pos, max + 1)\n\n max = str.length\n let labelEnd = -1\n\n for (pos = 1; pos < max; pos++) {\n const ch = str.charCodeAt(pos)\n if (ch === 0x5B /* [ */) {\n return false\n } else if (ch === 0x5D /* ] */) {\n labelEnd = pos\n break\n } else if (ch === 0x0A /* \\n */) {\n const lineContent = getNextLine(nextLine)\n if (lineContent !== null) {\n str += lineContent\n max = str.length\n nextLine++\n }\n } else if (ch === 0x5C /* \\ */) {\n pos++\n if (pos < max && str.charCodeAt(pos) === 0x0A) {\n const lineContent = getNextLine(nextLine)\n if (lineContent !== null) {\n str += lineContent\n max = str.length\n nextLine++\n }\n }\n }\n }\n\n if (labelEnd < 0 || str.charCodeAt(labelEnd + 1) !== 0x3A/* : */) { return false }\n\n // [label]: destination 'title'\n // ^^^ skip optional whitespace here\n for (pos = labelEnd + 2; pos < max; pos++) {\n const ch = str.charCodeAt(pos)\n if (ch === 0x0A) {\n const lineContent = getNextLine(nextLine)\n if (lineContent !== null) {\n str += lineContent\n max = str.length\n nextLine++\n }\n } else if (isSpace(ch)) {\n /* eslint no-empty:0 */\n } else {\n break\n }\n }\n\n // [label]: destination 'title'\n // ^^^^^^^^^^^ parse this\n const destRes = state.md.helpers.parseLinkDestination(str, pos, max)\n if (!destRes.ok) { return false }\n\n const href = state.md.normalizeLink(destRes.str)\n if (!state.md.validateLink(href)) { return false }\n\n pos = destRes.pos\n\n // save cursor state, we could require to rollback later\n const destEndPos = pos\n const destEndLineNo = nextLine\n\n // [label]: destination 'title'\n // ^^^ skipping those spaces\n const start = pos\n for (; pos < max; pos++) {\n const ch = str.charCodeAt(pos)\n if (ch === 0x0A) {\n const lineContent = getNextLine(nextLine)\n if (lineContent !== null) {\n str += lineContent\n max = str.length\n nextLine++\n }\n } else if (isSpace(ch)) {\n /* eslint no-empty:0 */\n } else {\n break\n }\n }\n\n // [label]: destination 'title'\n // ^^^^^^^ parse this\n let titleRes = state.md.helpers.parseLinkTitle(str, pos, max)\n while (titleRes.can_continue) {\n const lineContent = getNextLine(nextLine)\n if (lineContent === null) break\n str += lineContent\n pos = max\n max = str.length\n nextLine++\n titleRes = state.md.helpers.parseLinkTitle(str, pos, max, titleRes)\n }\n let title\n\n if (pos < max && start !== pos && titleRes.ok) {\n title = titleRes.str\n pos = titleRes.pos\n } else {\n title = ''\n pos = destEndPos\n nextLine = destEndLineNo\n }\n\n // skip trailing spaces until the rest of the line\n while (pos < max) {\n const ch = str.charCodeAt(pos)\n if (!isSpace(ch)) { break }\n pos++\n }\n\n if (pos < max && str.charCodeAt(pos) !== 0x0A) {\n if (title) {\n // garbage at the end of the line after title,\n // but it could still be a valid reference if we roll back\n title = ''\n pos = destEndPos\n nextLine = destEndLineNo\n while (pos < max) {\n const ch = str.charCodeAt(pos)\n if (!isSpace(ch)) { break }\n pos++\n }\n }\n }\n\n if (pos < max && str.charCodeAt(pos) !== 0x0A) {\n // garbage at the end of the line\n return false\n }\n\n const label = normalizeReference(str.slice(1, labelEnd))\n if (!label) {\n // CommonMark 0.20 disallows empty labels\n return false\n }\n\n // Reference can not terminate anything. This check is for safety only.\n /* istanbul ignore if */\n if (silent) { return true }\n\n if (typeof state.env.references === 'undefined') {\n state.env.references = {}\n }\n if (typeof state.env.references[label] === 'undefined') {\n state.env.references[label] = { title, href }\n }\n\n state.line = nextLine\n return true\n}\n","// List of valid html blocks names, according to commonmark spec\n// https://spec.commonmark.org/0.30/#html-blocks\n\nexport default [\n 'address',\n 'article',\n 'aside',\n 'base',\n 'basefont',\n 'blockquote',\n 'body',\n 'caption',\n 'center',\n 'col',\n 'colgroup',\n 'dd',\n 'details',\n 'dialog',\n 'dir',\n 'div',\n 'dl',\n 'dt',\n 'fieldset',\n 'figcaption',\n 'figure',\n 'footer',\n 'form',\n 'frame',\n 'frameset',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'head',\n 'header',\n 'hr',\n 'html',\n 'iframe',\n 'legend',\n 'li',\n 'link',\n 'main',\n 'menu',\n 'menuitem',\n 'nav',\n 'noframes',\n 'ol',\n 'optgroup',\n 'option',\n 'p',\n 'param',\n 'search',\n 'section',\n 'summary',\n 'table',\n 'tbody',\n 'td',\n 'tfoot',\n 'th',\n 'thead',\n 'title',\n 'tr',\n 'track',\n 'ul'\n]\n","// Regexps to match html elements\n\nconst attr_name = '[a-zA-Z_:][a-zA-Z0-9:._-]*'\n\nconst unquoted = '[^\"\\'=<>`\\\\x00-\\\\x20]+'\nconst single_quoted = \"'[^']*'\"\nconst double_quoted = '\"[^\"]*\"'\n\nconst attr_value = '(?:' + unquoted + '|' + single_quoted + '|' + double_quoted + ')'\n\nconst attribute = '(?:\\\\s+' + attr_name + '(?:\\\\s*=\\\\s*' + attr_value + ')?)'\n\nconst open_tag = '<[A-Za-z][A-Za-z0-9\\\\-]*' + attribute + '*\\\\s*\\\\/?>'\n\nconst close_tag = '<\\\\/[A-Za-z][A-Za-z0-9\\\\-]*\\\\s*>'\nconst comment = ''\nconst processing = '<[?][\\\\s\\\\S]*?[?]>'\nconst declaration = ']*>'\nconst cdata = ''\n\nconst HTML_TAG_RE = new RegExp('^(?:' + open_tag + '|' + close_tag + '|' + comment +\n '|' + processing + '|' + declaration + '|' + cdata + ')')\nconst HTML_OPEN_CLOSE_TAG_RE = new RegExp('^(?:' + open_tag + '|' + close_tag + ')')\n\nexport { HTML_TAG_RE, HTML_OPEN_CLOSE_TAG_RE }\n","// HTML block\n\nimport block_names from '../common/html_blocks.mjs'\nimport { HTML_OPEN_CLOSE_TAG_RE } from '../common/html_re.mjs'\n\n// An array of opening and corresponding closing sequences for html tags,\n// last argument defines whether it can terminate a paragraph or not\n//\nconst HTML_SEQUENCES = [\n [/^<(script|pre|style|textarea)(?=(\\s|>|$))/i, /<\\/(script|pre|style|textarea)>/i, true],\n [/^/, true],\n [/^<\\?/, /\\?>/, true],\n [/^/, true],\n [/^/, true],\n [new RegExp('^|$))', 'i'), /^$/, true],\n [new RegExp(HTML_OPEN_CLOSE_TAG_RE.source + '\\\\s*$'), /^$/, false]\n]\n\nexport default function html_block (state, startLine, endLine, silent) {\n let pos = state.bMarks[startLine] + state.tShift[startLine]\n let max = state.eMarks[startLine]\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false }\n\n if (!state.md.options.html) { return false }\n\n if (state.src.charCodeAt(pos) !== 0x3C/* < */) { return false }\n\n let lineText = state.src.slice(pos, max)\n\n let i = 0\n for (; i < HTML_SEQUENCES.length; i++) {\n if (HTML_SEQUENCES[i][0].test(lineText)) { break }\n }\n if (i === HTML_SEQUENCES.length) { return false }\n\n if (silent) {\n // true if this sequence can be a terminator, false otherwise\n return HTML_SEQUENCES[i][2]\n }\n\n let nextLine = startLine + 1\n\n // If we are here - we detected HTML block.\n // Let's roll down till block end.\n if (!HTML_SEQUENCES[i][1].test(lineText)) {\n for (; nextLine < endLine; nextLine++) {\n if (state.sCount[nextLine] < state.blkIndent) { break }\n\n pos = state.bMarks[nextLine] + state.tShift[nextLine]\n max = state.eMarks[nextLine]\n lineText = state.src.slice(pos, max)\n\n if (HTML_SEQUENCES[i][1].test(lineText)) {\n if (lineText.length !== 0) { nextLine++ }\n break\n }\n }\n }\n\n state.line = nextLine\n\n const token = state.push('html_block', '', 0)\n token.map = [startLine, nextLine]\n token.content = state.getLines(startLine, nextLine, state.blkIndent, true)\n\n return true\n}\n","// heading (#, ##, ...)\n\nimport { isSpace } from '../common/utils.mjs'\n\nexport default function heading (state, startLine, endLine, silent) {\n let pos = state.bMarks[startLine] + state.tShift[startLine]\n let max = state.eMarks[startLine]\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false }\n\n let ch = state.src.charCodeAt(pos)\n\n if (ch !== 0x23/* # */ || pos >= max) { return false }\n\n // count heading level\n let level = 1\n ch = state.src.charCodeAt(++pos)\n while (ch === 0x23/* # */ && pos < max && level <= 6) {\n level++\n ch = state.src.charCodeAt(++pos)\n }\n\n if (level > 6 || (pos < max && !isSpace(ch))) { return false }\n\n if (silent) { return true }\n\n // Let's cut tails like ' ### ' from the end of string\n\n max = state.skipSpacesBack(max, pos)\n const tmp = state.skipCharsBack(max, 0x23, pos) // #\n if (tmp > pos && isSpace(state.src.charCodeAt(tmp - 1))) {\n max = tmp\n }\n\n state.line = startLine + 1\n\n const token_o = state.push('heading_open', 'h' + String(level), 1)\n token_o.markup = '########'.slice(0, level)\n token_o.map = [startLine, state.line]\n\n const token_i = state.push('inline', '', 0)\n token_i.content = state.src.slice(pos, max).trim()\n token_i.map = [startLine, state.line]\n token_i.children = []\n\n const token_c = state.push('heading_close', 'h' + String(level), -1)\n token_c.markup = '########'.slice(0, level)\n\n return true\n}\n","// lheading (---, ===)\n\nexport default function lheading (state, startLine, endLine/*, silent */) {\n const terminatorRules = state.md.block.ruler.getRules('paragraph')\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false }\n\n const oldParentType = state.parentType\n state.parentType = 'paragraph' // use paragraph to match terminatorRules\n\n // jump line-by-line until empty one or EOF\n let level = 0\n let marker\n let nextLine = startLine + 1\n\n for (; nextLine < endLine && !state.isEmpty(nextLine); nextLine++) {\n // this would be a code block normally, but after paragraph\n // it's considered a lazy continuation regardless of what's there\n if (state.sCount[nextLine] - state.blkIndent > 3) { continue }\n\n //\n // Check for underline in setext header\n //\n if (state.sCount[nextLine] >= state.blkIndent) {\n let pos = state.bMarks[nextLine] + state.tShift[nextLine]\n const max = state.eMarks[nextLine]\n\n if (pos < max) {\n marker = state.src.charCodeAt(pos)\n\n if (marker === 0x2D/* - */ || marker === 0x3D/* = */) {\n pos = state.skipChars(pos, marker)\n pos = state.skipSpaces(pos)\n\n if (pos >= max) {\n level = (marker === 0x3D/* = */ ? 1 : 2)\n break\n }\n }\n }\n }\n\n // quirk for blockquotes, this line should already be checked by that rule\n if (state.sCount[nextLine] < 0) { continue }\n\n // Some tags can terminate paragraph without empty line.\n let terminate = false\n for (let i = 0, l = terminatorRules.length; i < l; i++) {\n if (terminatorRules[i](state, nextLine, endLine, true)) {\n terminate = true\n break\n }\n }\n if (terminate) { break }\n }\n\n if (!level) {\n // Didn't find valid underline\n return false\n }\n\n const content = state.getLines(startLine, nextLine, state.blkIndent, false).trim()\n\n state.line = nextLine + 1\n\n const token_o = state.push('heading_open', 'h' + String(level), 1)\n token_o.markup = String.fromCharCode(marker)\n token_o.map = [startLine, state.line]\n\n const token_i = state.push('inline', '', 0)\n token_i.content = content\n token_i.map = [startLine, state.line - 1]\n token_i.children = []\n\n const token_c = state.push('heading_close', 'h' + String(level), -1)\n token_c.markup = String.fromCharCode(marker)\n\n state.parentType = oldParentType\n\n return true\n}\n","// Paragraph\n\nexport default function paragraph (state, startLine, endLine) {\n const terminatorRules = state.md.block.ruler.getRules('paragraph')\n const oldParentType = state.parentType\n let nextLine = startLine + 1\n state.parentType = 'paragraph'\n\n // jump line-by-line until empty one or EOF\n for (; nextLine < endLine && !state.isEmpty(nextLine); nextLine++) {\n // this would be a code block normally, but after paragraph\n // it's considered a lazy continuation regardless of what's there\n if (state.sCount[nextLine] - state.blkIndent > 3) { continue }\n\n // quirk for blockquotes, this line should already be checked by that rule\n if (state.sCount[nextLine] < 0) { continue }\n\n // Some tags can terminate paragraph without empty line.\n let terminate = false\n for (let i = 0, l = terminatorRules.length; i < l; i++) {\n if (terminatorRules[i](state, nextLine, endLine, true)) {\n terminate = true\n break\n }\n }\n if (terminate) { break }\n }\n\n const content = state.getLines(startLine, nextLine, state.blkIndent, false).trim()\n\n state.line = nextLine\n\n const token_o = state.push('paragraph_open', 'p', 1)\n token_o.map = [startLine, state.line]\n\n const token_i = state.push('inline', '', 0)\n token_i.content = content\n token_i.map = [startLine, state.line]\n token_i.children = []\n\n state.push('paragraph_close', 'p', -1)\n\n state.parentType = oldParentType\n\n return true\n}\n","/** internal\n * class ParserBlock\n *\n * Block-level tokenizer.\n **/\n\nimport Ruler from './ruler.mjs'\nimport StateBlock from './rules_block/state_block.mjs'\n\nimport r_table from './rules_block/table.mjs'\nimport r_code from './rules_block/code.mjs'\nimport r_fence from './rules_block/fence.mjs'\nimport r_blockquote from './rules_block/blockquote.mjs'\nimport r_hr from './rules_block/hr.mjs'\nimport r_list from './rules_block/list.mjs'\nimport r_reference from './rules_block/reference.mjs'\nimport r_html_block from './rules_block/html_block.mjs'\nimport r_heading from './rules_block/heading.mjs'\nimport r_lheading from './rules_block/lheading.mjs'\nimport r_paragraph from './rules_block/paragraph.mjs'\n\nconst _rules = [\n // First 2 params - rule name & source. Secondary array - list of rules,\n // which can be terminated by this one.\n ['table', r_table, ['paragraph', 'reference']],\n ['code', r_code],\n ['fence', r_fence, ['paragraph', 'reference', 'blockquote', 'list']],\n ['blockquote', r_blockquote, ['paragraph', 'reference', 'blockquote', 'list']],\n ['hr', r_hr, ['paragraph', 'reference', 'blockquote', 'list']],\n ['list', r_list, ['paragraph', 'reference', 'blockquote']],\n ['reference', r_reference],\n ['html_block', r_html_block, ['paragraph', 'reference', 'blockquote']],\n ['heading', r_heading, ['paragraph', 'reference', 'blockquote']],\n ['lheading', r_lheading],\n ['paragraph', r_paragraph]\n]\n\n/**\n * new ParserBlock()\n **/\nfunction ParserBlock () {\n /**\n * ParserBlock#ruler -> Ruler\n *\n * [[Ruler]] instance. Keep configuration of block rules.\n **/\n this.ruler = new Ruler()\n\n for (let i = 0; i < _rules.length; i++) {\n this.ruler.push(_rules[i][0], _rules[i][1], { alt: (_rules[i][2] || []).slice() })\n }\n}\n\n// Generate tokens for input range\n//\nParserBlock.prototype.tokenize = function (state, startLine, endLine) {\n const rules = this.ruler.getRules('')\n const len = rules.length\n const maxNesting = state.md.options.maxNesting\n let line = startLine\n let hasEmptyLines = false\n\n while (line < endLine) {\n state.line = line = state.skipEmptyLines(line)\n if (line >= endLine) { break }\n\n // Termination condition for nested calls.\n // Nested calls currently used for blockquotes & lists\n if (state.sCount[line] < state.blkIndent) { break }\n\n // If nesting level exceeded - skip tail to the end. That's not ordinary\n // situation and we should not care about content.\n if (state.level >= maxNesting) {\n state.line = endLine\n break\n }\n\n // Try all possible rules.\n // On success, rule should:\n //\n // - update `state.line`\n // - update `state.tokens`\n // - return true\n const prevLine = state.line\n let ok = false\n\n for (let i = 0; i < len; i++) {\n ok = rules[i](state, line, endLine, false)\n if (ok) {\n if (prevLine >= state.line) {\n throw new Error(\"block rule didn't increment state.line\")\n }\n break\n }\n }\n\n // this can only happen if user disables paragraph rule\n if (!ok) throw new Error('none of the block rules matched')\n\n // set state.tight if we had an empty line before current tag\n // i.e. latest empty line should not count\n state.tight = !hasEmptyLines\n\n // paragraph might \"eat\" one newline after it in nested lists\n if (state.isEmpty(state.line - 1)) {\n hasEmptyLines = true\n }\n\n line = state.line\n\n if (line < endLine && state.isEmpty(line)) {\n hasEmptyLines = true\n line++\n state.line = line\n }\n }\n}\n\n/**\n * ParserBlock.parse(str, md, env, outTokens)\n *\n * Process input string and push block tokens into `outTokens`\n **/\nParserBlock.prototype.parse = function (src, md, env, outTokens) {\n if (!src) { return }\n\n const state = new this.State(src, md, env, outTokens)\n\n this.tokenize(state, state.line, state.lineMax)\n}\n\nParserBlock.prototype.State = StateBlock\n\nexport default ParserBlock\n","// Inline parser state\n\nimport Token from '../token.mjs'\nimport { isWhiteSpace, isPunctChar, isMdAsciiPunct } from '../common/utils.mjs'\n\nfunction StateInline (src, md, env, outTokens) {\n this.src = src\n this.env = env\n this.md = md\n this.tokens = outTokens\n this.tokens_meta = Array(outTokens.length)\n\n this.pos = 0\n this.posMax = this.src.length\n this.level = 0\n this.pending = ''\n this.pendingLevel = 0\n\n // Stores { start: end } pairs. Useful for backtrack\n // optimization of pairs parse (emphasis, strikes).\n this.cache = {}\n\n // List of emphasis-like delimiters for current tag\n this.delimiters = []\n\n // Stack of delimiter lists for upper level tags\n this._prev_delimiters = []\n\n // backtick length => last seen position\n this.backticks = {}\n this.backticksScanned = false\n\n // Counter used to disable inline linkify-it execution\n // inside and markdown links\n this.linkLevel = 0\n}\n\n// Flush pending text\n//\nStateInline.prototype.pushPending = function () {\n const token = new Token('text', '', 0)\n token.content = this.pending\n token.level = this.pendingLevel\n this.tokens.push(token)\n this.pending = ''\n return token\n}\n\n// Push new token to \"stream\".\n// If pending text exists - flush it as text token\n//\nStateInline.prototype.push = function (type, tag, nesting) {\n if (this.pending) {\n this.pushPending()\n }\n\n const token = new Token(type, tag, nesting)\n let token_meta = null\n\n if (nesting < 0) {\n // closing tag\n this.level--\n this.delimiters = this._prev_delimiters.pop()\n }\n\n token.level = this.level\n\n if (nesting > 0) {\n // opening tag\n this.level++\n this._prev_delimiters.push(this.delimiters)\n this.delimiters = []\n token_meta = { delimiters: this.delimiters }\n }\n\n this.pendingLevel = this.level\n this.tokens.push(token)\n this.tokens_meta.push(token_meta)\n return token\n}\n\n// Scan a sequence of emphasis-like markers, and determine whether\n// it can start an emphasis sequence or end an emphasis sequence.\n//\n// - start - position to scan from (it should point at a valid marker);\n// - canSplitWord - determine if these markers can be found inside a word\n//\nStateInline.prototype.scanDelims = function (start, canSplitWord) {\n const max = this.posMax\n const marker = this.src.charCodeAt(start)\n\n // treat beginning of the line as a whitespace\n const lastChar = start > 0 ? this.src.charCodeAt(start - 1) : 0x20\n\n let pos = start\n while (pos < max && this.src.charCodeAt(pos) === marker) { pos++ }\n\n const count = pos - start\n\n // treat end of the line as a whitespace\n const nextChar = pos < max ? this.src.charCodeAt(pos) : 0x20\n\n const isLastPunctChar = isMdAsciiPunct(lastChar) || isPunctChar(String.fromCharCode(lastChar))\n const isNextPunctChar = isMdAsciiPunct(nextChar) || isPunctChar(String.fromCharCode(nextChar))\n\n const isLastWhiteSpace = isWhiteSpace(lastChar)\n const isNextWhiteSpace = isWhiteSpace(nextChar)\n\n const left_flanking =\n !isNextWhiteSpace && (!isNextPunctChar || isLastWhiteSpace || isLastPunctChar)\n const right_flanking =\n !isLastWhiteSpace && (!isLastPunctChar || isNextWhiteSpace || isNextPunctChar)\n\n const can_open = left_flanking && (canSplitWord || !right_flanking || isLastPunctChar)\n const can_close = right_flanking && (canSplitWord || !left_flanking || isNextPunctChar)\n\n return { can_open, can_close, length: count }\n}\n\n// re-export Token class to use in block rules\nStateInline.prototype.Token = Token\n\nexport default StateInline\n","// Skip text characters for text token, place those to pending buffer\n// and increment current pos\n\n// Rule to skip pure text\n// '{}$%@~+=:' reserved for extentions\n\n// !, \", #, $, %, &, ', (, ), *, +, ,, -, ., /, :, ;, <, =, >, ?, @, [, \\, ], ^, _, `, {, |, }, or ~\n\n// !!!! Don't confuse with \"Markdown ASCII Punctuation\" chars\n// http://spec.commonmark.org/0.15/#ascii-punctuation-character\nfunction isTerminatorChar (ch) {\n switch (ch) {\n case 0x0A/* \\n */:\n case 0x21/* ! */:\n case 0x23/* # */:\n case 0x24/* $ */:\n case 0x25/* % */:\n case 0x26/* & */:\n case 0x2A/* * */:\n case 0x2B/* + */:\n case 0x2D/* - */:\n case 0x3A/* : */:\n case 0x3C/* < */:\n case 0x3D/* = */:\n case 0x3E/* > */:\n case 0x40/* @ */:\n case 0x5B/* [ */:\n case 0x5C/* \\ */:\n case 0x5D/* ] */:\n case 0x5E/* ^ */:\n case 0x5F/* _ */:\n case 0x60/* ` */:\n case 0x7B/* { */:\n case 0x7D/* } */:\n case 0x7E/* ~ */:\n return true\n default:\n return false\n }\n}\n\nexport default function text (state, silent) {\n let pos = state.pos\n\n while (pos < state.posMax && !isTerminatorChar(state.src.charCodeAt(pos))) {\n pos++\n }\n\n if (pos === state.pos) { return false }\n\n if (!silent) { state.pending += state.src.slice(state.pos, pos) }\n\n state.pos = pos\n\n return true\n}\n\n// Alternative implementation, for memory.\n//\n// It costs 10% of performance, but allows extend terminators list, if place it\n// to `ParserInline` property. Probably, will switch to it sometime, such\n// flexibility required.\n\n/*\nvar TERMINATOR_RE = /[\\n!#$%&*+\\-:<=>@[\\\\\\]^_`{}~]/;\n\nmodule.exports = function text(state, silent) {\n var pos = state.pos,\n idx = state.src.slice(pos).search(TERMINATOR_RE);\n\n // first char is terminator -> empty text\n if (idx === 0) { return false; }\n\n // no terminator -> text till end of string\n if (idx < 0) {\n if (!silent) { state.pending += state.src.slice(pos); }\n state.pos = state.src.length;\n return true;\n }\n\n if (!silent) { state.pending += state.src.slice(pos, pos + idx); }\n\n state.pos += idx;\n\n return true;\n}; */\n","// Process links like https://example.org/\n\n// RFC3986: scheme = ALPHA *( ALPHA / DIGIT / \"+\" / \"-\" / \".\" )\nconst SCHEME_RE = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i\n\nexport default function linkify (state, silent) {\n if (!state.md.options.linkify) return false\n if (state.linkLevel > 0) return false\n\n const pos = state.pos\n const max = state.posMax\n\n if (pos + 3 > max) return false\n if (state.src.charCodeAt(pos) !== 0x3A/* : */) return false\n if (state.src.charCodeAt(pos + 1) !== 0x2F/* / */) return false\n if (state.src.charCodeAt(pos + 2) !== 0x2F/* / */) return false\n\n const match = state.pending.match(SCHEME_RE)\n if (!match) return false\n\n const proto = match[1]\n\n const link = state.md.linkify.matchAtStart(state.src.slice(pos - proto.length))\n if (!link) return false\n\n let url = link.url\n\n // invalid link, but still detected by linkify somehow;\n // need to check to prevent infinite loop below\n if (url.length <= proto.length) return false\n\n // disallow '*' at the end of the link (conflicts with emphasis)\n url = url.replace(/\\*+$/, '')\n\n const fullUrl = state.md.normalizeLink(url)\n if (!state.md.validateLink(fullUrl)) return false\n\n if (!silent) {\n state.pending = state.pending.slice(0, -proto.length)\n\n const token_o = state.push('link_open', 'a', 1)\n token_o.attrs = [['href', fullUrl]]\n token_o.markup = 'linkify'\n token_o.info = 'auto'\n\n const token_t = state.push('text', '', 0)\n token_t.content = state.md.normalizeLinkText(url)\n\n const token_c = state.push('link_close', 'a', -1)\n token_c.markup = 'linkify'\n token_c.info = 'auto'\n }\n\n state.pos += url.length - proto.length\n return true\n}\n","// Proceess '\\n'\n\nimport { isSpace } from '../common/utils.mjs'\n\nexport default function newline (state, silent) {\n let pos = state.pos\n\n if (state.src.charCodeAt(pos) !== 0x0A/* \\n */) { return false }\n\n const pmax = state.pending.length - 1\n const max = state.posMax\n\n // ' \\n' -> hardbreak\n // Lookup in pending chars is bad practice! Don't copy to other rules!\n // Pending string is stored in concat mode, indexed lookups will cause\n // convertion to flat mode.\n if (!silent) {\n if (pmax >= 0 && state.pending.charCodeAt(pmax) === 0x20) {\n if (pmax >= 1 && state.pending.charCodeAt(pmax - 1) === 0x20) {\n // Find whitespaces tail of pending chars.\n let ws = pmax - 1\n while (ws >= 1 && state.pending.charCodeAt(ws - 1) === 0x20) ws--\n\n state.pending = state.pending.slice(0, ws)\n state.push('hardbreak', 'br', 0)\n } else {\n state.pending = state.pending.slice(0, -1)\n state.push('softbreak', 'br', 0)\n }\n } else {\n state.push('softbreak', 'br', 0)\n }\n }\n\n pos++\n\n // skip heading spaces for next line\n while (pos < max && isSpace(state.src.charCodeAt(pos))) { pos++ }\n\n state.pos = pos\n return true\n}\n","// Process escaped chars and hardbreaks\n\nimport { isSpace } from '../common/utils.mjs'\n\nconst ESCAPED = []\n\nfor (let i = 0; i < 256; i++) { ESCAPED.push(0) }\n\n'\\\\!\"#$%&\\'()*+,./:;<=>?@[]^_`{|}~-'\n .split('').forEach(function (ch) { ESCAPED[ch.charCodeAt(0)] = 1 })\n\nexport default function escape (state, silent) {\n let pos = state.pos\n const max = state.posMax\n\n if (state.src.charCodeAt(pos) !== 0x5C/* \\ */) return false\n pos++\n\n // '\\' at the end of the inline block\n if (pos >= max) return false\n\n let ch1 = state.src.charCodeAt(pos)\n\n if (ch1 === 0x0A) {\n if (!silent) {\n state.push('hardbreak', 'br', 0)\n }\n\n pos++\n // skip leading whitespaces from next line\n while (pos < max) {\n ch1 = state.src.charCodeAt(pos)\n if (!isSpace(ch1)) break\n pos++\n }\n\n state.pos = pos\n return true\n }\n\n let escapedStr = state.src[pos]\n\n if (ch1 >= 0xD800 && ch1 <= 0xDBFF && pos + 1 < max) {\n const ch2 = state.src.charCodeAt(pos + 1)\n\n if (ch2 >= 0xDC00 && ch2 <= 0xDFFF) {\n escapedStr += state.src[pos + 1]\n pos++\n }\n }\n\n const origStr = '\\\\' + escapedStr\n\n if (!silent) {\n const token = state.push('text_special', '', 0)\n\n if (ch1 < 256 && ESCAPED[ch1] !== 0) {\n token.content = escapedStr\n } else {\n token.content = origStr\n }\n\n token.markup = origStr\n token.info = 'escape'\n }\n\n state.pos = pos + 1\n return true\n}\n","// Parse backticks\n\nexport default function backtick (state, silent) {\n let pos = state.pos\n const ch = state.src.charCodeAt(pos)\n\n if (ch !== 0x60/* ` */) { return false }\n\n const start = pos\n pos++\n const max = state.posMax\n\n // scan marker length\n while (pos < max && state.src.charCodeAt(pos) === 0x60/* ` */) { pos++ }\n\n const marker = state.src.slice(start, pos)\n const openerLength = marker.length\n\n if (state.backticksScanned && (state.backticks[openerLength] || 0) <= start) {\n if (!silent) state.pending += marker\n state.pos += openerLength\n return true\n }\n\n let matchEnd = pos\n let matchStart\n\n // Nothing found in the cache, scan until the end of the line (or until marker is found)\n while ((matchStart = state.src.indexOf('`', matchEnd)) !== -1) {\n matchEnd = matchStart + 1\n\n // scan marker length\n while (matchEnd < max && state.src.charCodeAt(matchEnd) === 0x60/* ` */) { matchEnd++ }\n\n const closerLength = matchEnd - matchStart\n\n if (closerLength === openerLength) {\n // Found matching closer length.\n if (!silent) {\n const token = state.push('code_inline', 'code', 0)\n token.markup = marker\n token.content = state.src.slice(pos, matchStart)\n .replace(/\\n/g, ' ')\n .replace(/^ (.+) $/, '$1')\n }\n state.pos = matchEnd\n return true\n }\n\n // Some different length found, put it in cache as upper limit of where closer can be found\n state.backticks[closerLength] = matchStart\n }\n\n // Scanned through the end, didn't find anything\n state.backticksScanned = true\n\n if (!silent) state.pending += marker\n state.pos += openerLength\n return true\n}\n","// ~~strike through~~\n//\n\n// Insert each marker as a separate text token, and add it to delimiter list\n//\nfunction strikethrough_tokenize (state, silent) {\n const start = state.pos\n const marker = state.src.charCodeAt(start)\n\n if (silent) { return false }\n\n if (marker !== 0x7E/* ~ */) { return false }\n\n const scanned = state.scanDelims(state.pos, true)\n let len = scanned.length\n const ch = String.fromCharCode(marker)\n\n if (len < 2) { return false }\n\n let token\n\n if (len % 2) {\n token = state.push('text', '', 0)\n token.content = ch\n len--\n }\n\n for (let i = 0; i < len; i += 2) {\n token = state.push('text', '', 0)\n token.content = ch + ch\n\n state.delimiters.push({\n marker,\n length: 0, // disable \"rule of 3\" length checks meant for emphasis\n token: state.tokens.length - 1,\n end: -1,\n open: scanned.can_open,\n close: scanned.can_close\n })\n }\n\n state.pos += scanned.length\n\n return true\n}\n\nfunction postProcess (state, delimiters) {\n let token\n const loneMarkers = []\n const max = delimiters.length\n\n for (let i = 0; i < max; i++) {\n const startDelim = delimiters[i]\n\n if (startDelim.marker !== 0x7E/* ~ */) {\n continue\n }\n\n if (startDelim.end === -1) {\n continue\n }\n\n const endDelim = delimiters[startDelim.end]\n\n token = state.tokens[startDelim.token]\n token.type = 's_open'\n token.tag = 's'\n token.nesting = 1\n token.markup = '~~'\n token.content = ''\n\n token = state.tokens[endDelim.token]\n token.type = 's_close'\n token.tag = 's'\n token.nesting = -1\n token.markup = '~~'\n token.content = ''\n\n if (state.tokens[endDelim.token - 1].type === 'text' &&\n state.tokens[endDelim.token - 1].content === '~') {\n loneMarkers.push(endDelim.token - 1)\n }\n }\n\n // If a marker sequence has an odd number of characters, it's splitted\n // like this: `~~~~~` -> `~` + `~~` + `~~`, leaving one marker at the\n // start of the sequence.\n //\n // So, we have to move all those markers after subsequent s_close tags.\n //\n while (loneMarkers.length) {\n const i = loneMarkers.pop()\n let j = i + 1\n\n while (j < state.tokens.length && state.tokens[j].type === 's_close') {\n j++\n }\n\n j--\n\n if (i !== j) {\n token = state.tokens[j]\n state.tokens[j] = state.tokens[i]\n state.tokens[i] = token\n }\n }\n}\n\n// Walk through delimiter list and replace text tokens with tags\n//\nfunction strikethrough_postProcess (state) {\n const tokens_meta = state.tokens_meta\n const max = state.tokens_meta.length\n\n postProcess(state, state.delimiters)\n\n for (let curr = 0; curr < max; curr++) {\n if (tokens_meta[curr] && tokens_meta[curr].delimiters) {\n postProcess(state, tokens_meta[curr].delimiters)\n }\n }\n}\n\nexport default {\n tokenize: strikethrough_tokenize,\n postProcess: strikethrough_postProcess\n}\n","// Process *this* and _that_\n//\n\n// Insert each marker as a separate text token, and add it to delimiter list\n//\nfunction emphasis_tokenize (state, silent) {\n const start = state.pos\n const marker = state.src.charCodeAt(start)\n\n if (silent) { return false }\n\n if (marker !== 0x5F /* _ */ && marker !== 0x2A /* * */) { return false }\n\n const scanned = state.scanDelims(state.pos, marker === 0x2A)\n\n for (let i = 0; i < scanned.length; i++) {\n const token = state.push('text', '', 0)\n token.content = String.fromCharCode(marker)\n\n state.delimiters.push({\n // Char code of the starting marker (number).\n //\n marker,\n\n // Total length of these series of delimiters.\n //\n length: scanned.length,\n\n // A position of the token this delimiter corresponds to.\n //\n token: state.tokens.length - 1,\n\n // If this delimiter is matched as a valid opener, `end` will be\n // equal to its position, otherwise it's `-1`.\n //\n end: -1,\n\n // Boolean flags that determine if this delimiter could open or close\n // an emphasis.\n //\n open: scanned.can_open,\n close: scanned.can_close\n })\n }\n\n state.pos += scanned.length\n\n return true\n}\n\nfunction postProcess (state, delimiters) {\n const max = delimiters.length\n\n for (let i = max - 1; i >= 0; i--) {\n const startDelim = delimiters[i]\n\n if (startDelim.marker !== 0x5F/* _ */ && startDelim.marker !== 0x2A/* * */) {\n continue\n }\n\n // Process only opening markers\n if (startDelim.end === -1) {\n continue\n }\n\n const endDelim = delimiters[startDelim.end]\n\n // If the previous delimiter has the same marker and is adjacent to this one,\n // merge those into one strong delimiter.\n //\n // `whatever` -> `whatever`\n //\n const isStrong = i > 0 &&\n delimiters[i - 1].end === startDelim.end + 1 &&\n // check that first two markers match and adjacent\n delimiters[i - 1].marker === startDelim.marker &&\n delimiters[i - 1].token === startDelim.token - 1 &&\n // check that last two markers are adjacent (we can safely assume they match)\n delimiters[startDelim.end + 1].token === endDelim.token + 1\n\n const ch = String.fromCharCode(startDelim.marker)\n\n const token_o = state.tokens[startDelim.token]\n token_o.type = isStrong ? 'strong_open' : 'em_open'\n token_o.tag = isStrong ? 'strong' : 'em'\n token_o.nesting = 1\n token_o.markup = isStrong ? ch + ch : ch\n token_o.content = ''\n\n const token_c = state.tokens[endDelim.token]\n token_c.type = isStrong ? 'strong_close' : 'em_close'\n token_c.tag = isStrong ? 'strong' : 'em'\n token_c.nesting = -1\n token_c.markup = isStrong ? ch + ch : ch\n token_c.content = ''\n\n if (isStrong) {\n state.tokens[delimiters[i - 1].token].content = ''\n state.tokens[delimiters[startDelim.end + 1].token].content = ''\n i--\n }\n }\n}\n\n// Walk through delimiter list and replace text tokens with tags\n//\nfunction emphasis_post_process (state) {\n const tokens_meta = state.tokens_meta\n const max = state.tokens_meta.length\n\n postProcess(state, state.delimiters)\n\n for (let curr = 0; curr < max; curr++) {\n if (tokens_meta[curr] && tokens_meta[curr].delimiters) {\n postProcess(state, tokens_meta[curr].delimiters)\n }\n }\n}\n\nexport default {\n tokenize: emphasis_tokenize,\n postProcess: emphasis_post_process\n}\n","// Process [link]( \"stuff\")\n\nimport { normalizeReference, isSpace } from '../common/utils.mjs'\n\nexport default function link (state, silent) {\n let code, label, res, ref\n let href = ''\n let title = ''\n let start = state.pos\n let parseReference = true\n\n if (state.src.charCodeAt(state.pos) !== 0x5B/* [ */) { return false }\n\n const oldPos = state.pos\n const max = state.posMax\n const labelStart = state.pos + 1\n const labelEnd = state.md.helpers.parseLinkLabel(state, state.pos, true)\n\n // parser failed to find ']', so it's not a valid link\n if (labelEnd < 0) { return false }\n\n let pos = labelEnd + 1\n if (pos < max && state.src.charCodeAt(pos) === 0x28/* ( */) {\n //\n // Inline link\n //\n\n // might have found a valid shortcut link, disable reference parsing\n parseReference = false\n\n // [link]( \"title\" )\n // ^^ skipping these spaces\n pos++\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos)\n if (!isSpace(code) && code !== 0x0A) { break }\n }\n if (pos >= max) { return false }\n\n // [link]( \"title\" )\n // ^^^^^^ parsing link destination\n start = pos\n res = state.md.helpers.parseLinkDestination(state.src, pos, state.posMax)\n if (res.ok) {\n href = state.md.normalizeLink(res.str)\n if (state.md.validateLink(href)) {\n pos = res.pos\n } else {\n href = ''\n }\n\n // [link]( \"title\" )\n // ^^ skipping these spaces\n start = pos\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos)\n if (!isSpace(code) && code !== 0x0A) { break }\n }\n\n // [link]( \"title\" )\n // ^^^^^^^ parsing link title\n res = state.md.helpers.parseLinkTitle(state.src, pos, state.posMax)\n if (pos < max && start !== pos && res.ok) {\n title = res.str\n pos = res.pos\n\n // [link]( \"title\" )\n // ^^ skipping these spaces\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos)\n if (!isSpace(code) && code !== 0x0A) { break }\n }\n }\n }\n\n if (pos >= max || state.src.charCodeAt(pos) !== 0x29/* ) */) {\n // parsing a valid shortcut link failed, fallback to reference\n parseReference = true\n }\n pos++\n }\n\n if (parseReference) {\n //\n // Link reference\n //\n if (typeof state.env.references === 'undefined') { return false }\n\n if (pos < max && state.src.charCodeAt(pos) === 0x5B/* [ */) {\n start = pos + 1\n pos = state.md.helpers.parseLinkLabel(state, pos)\n if (pos >= 0) {\n label = state.src.slice(start, pos++)\n } else {\n pos = labelEnd + 1\n }\n } else {\n pos = labelEnd + 1\n }\n\n // covers label === '' and label === undefined\n // (collapsed reference link and shortcut reference link respectively)\n if (!label) { label = state.src.slice(labelStart, labelEnd) }\n\n ref = state.env.references[normalizeReference(label)]\n if (!ref) {\n state.pos = oldPos\n return false\n }\n href = ref.href\n title = ref.title\n }\n\n //\n // We found the end of the link, and know for a fact it's a valid link;\n // so all that's left to do is to call tokenizer.\n //\n if (!silent) {\n state.pos = labelStart\n state.posMax = labelEnd\n\n const token_o = state.push('link_open', 'a', 1)\n const attrs = [['href', href]]\n token_o.attrs = attrs\n if (title) {\n attrs.push(['title', title])\n }\n\n state.linkLevel++\n state.md.inline.tokenize(state)\n state.linkLevel--\n\n state.push('link_close', 'a', -1)\n }\n\n state.pos = pos\n state.posMax = max\n return true\n}\n","// Process ![image]( \"title\")\n\nimport { normalizeReference, isSpace } from '../common/utils.mjs'\n\nexport default function image (state, silent) {\n let code, content, label, pos, ref, res, title, start\n let href = ''\n const oldPos = state.pos\n const max = state.posMax\n\n if (state.src.charCodeAt(state.pos) !== 0x21/* ! */) { return false }\n if (state.src.charCodeAt(state.pos + 1) !== 0x5B/* [ */) { return false }\n\n const labelStart = state.pos + 2\n const labelEnd = state.md.helpers.parseLinkLabel(state, state.pos + 1, false)\n\n // parser failed to find ']', so it's not a valid link\n if (labelEnd < 0) { return false }\n\n pos = labelEnd + 1\n if (pos < max && state.src.charCodeAt(pos) === 0x28/* ( */) {\n //\n // Inline link\n //\n\n // [link]( \"title\" )\n // ^^ skipping these spaces\n pos++\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos)\n if (!isSpace(code) && code !== 0x0A) { break }\n }\n if (pos >= max) { return false }\n\n // [link]( \"title\" )\n // ^^^^^^ parsing link destination\n start = pos\n res = state.md.helpers.parseLinkDestination(state.src, pos, state.posMax)\n if (res.ok) {\n href = state.md.normalizeLink(res.str)\n if (state.md.validateLink(href)) {\n pos = res.pos\n } else {\n href = ''\n }\n }\n\n // [link]( \"title\" )\n // ^^ skipping these spaces\n start = pos\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos)\n if (!isSpace(code) && code !== 0x0A) { break }\n }\n\n // [link]( \"title\" )\n // ^^^^^^^ parsing link title\n res = state.md.helpers.parseLinkTitle(state.src, pos, state.posMax)\n if (pos < max && start !== pos && res.ok) {\n title = res.str\n pos = res.pos\n\n // [link]( \"title\" )\n // ^^ skipping these spaces\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos)\n if (!isSpace(code) && code !== 0x0A) { break }\n }\n } else {\n title = ''\n }\n\n if (pos >= max || state.src.charCodeAt(pos) !== 0x29/* ) */) {\n state.pos = oldPos\n return false\n }\n pos++\n } else {\n //\n // Link reference\n //\n if (typeof state.env.references === 'undefined') { return false }\n\n if (pos < max && state.src.charCodeAt(pos) === 0x5B/* [ */) {\n start = pos + 1\n pos = state.md.helpers.parseLinkLabel(state, pos)\n if (pos >= 0) {\n label = state.src.slice(start, pos++)\n } else {\n pos = labelEnd + 1\n }\n } else {\n pos = labelEnd + 1\n }\n\n // covers label === '' and label === undefined\n // (collapsed reference link and shortcut reference link respectively)\n if (!label) { label = state.src.slice(labelStart, labelEnd) }\n\n ref = state.env.references[normalizeReference(label)]\n if (!ref) {\n state.pos = oldPos\n return false\n }\n href = ref.href\n title = ref.title\n }\n\n //\n // We found the end of the link, and know for a fact it's a valid link;\n // so all that's left to do is to call tokenizer.\n //\n if (!silent) {\n content = state.src.slice(labelStart, labelEnd)\n\n const tokens = []\n state.md.inline.parse(\n content,\n state.md,\n state.env,\n tokens\n )\n\n const token = state.push('image', 'img', 0)\n const attrs = [['src', href], ['alt', '']]\n token.attrs = attrs\n token.children = tokens\n token.content = content\n\n if (title) {\n attrs.push(['title', title])\n }\n }\n\n state.pos = pos\n state.posMax = max\n return true\n}\n","// Process autolinks ''\n\n/* eslint max-len:0 */\nconst EMAIL_RE = /^([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])?)*)$/\n/* eslint-disable-next-line no-control-regex */\nconst AUTOLINK_RE = /^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\\x00-\\x20]*)$/\n\nexport default function autolink (state, silent) {\n let pos = state.pos\n\n if (state.src.charCodeAt(pos) !== 0x3C/* < */) { return false }\n\n const start = state.pos\n const max = state.posMax\n\n for (;;) {\n if (++pos >= max) return false\n\n const ch = state.src.charCodeAt(pos)\n\n if (ch === 0x3C /* < */) return false\n if (ch === 0x3E /* > */) break\n }\n\n const url = state.src.slice(start + 1, pos)\n\n if (AUTOLINK_RE.test(url)) {\n const fullUrl = state.md.normalizeLink(url)\n if (!state.md.validateLink(fullUrl)) { return false }\n\n if (!silent) {\n const token_o = state.push('link_open', 'a', 1)\n token_o.attrs = [['href', fullUrl]]\n token_o.markup = 'autolink'\n token_o.info = 'auto'\n\n const token_t = state.push('text', '', 0)\n token_t.content = state.md.normalizeLinkText(url)\n\n const token_c = state.push('link_close', 'a', -1)\n token_c.markup = 'autolink'\n token_c.info = 'auto'\n }\n\n state.pos += url.length + 2\n return true\n }\n\n if (EMAIL_RE.test(url)) {\n const fullUrl = state.md.normalizeLink('mailto:' + url)\n if (!state.md.validateLink(fullUrl)) { return false }\n\n if (!silent) {\n const token_o = state.push('link_open', 'a', 1)\n token_o.attrs = [['href', fullUrl]]\n token_o.markup = 'autolink'\n token_o.info = 'auto'\n\n const token_t = state.push('text', '', 0)\n token_t.content = state.md.normalizeLinkText(url)\n\n const token_c = state.push('link_close', 'a', -1)\n token_c.markup = 'autolink'\n token_c.info = 'auto'\n }\n\n state.pos += url.length + 2\n return true\n }\n\n return false\n}\n","// Process html tags\n\nimport { HTML_TAG_RE } from '../common/html_re.mjs'\n\nfunction isLinkOpen (str) {\n return /^\\s]/i.test(str)\n}\nfunction isLinkClose (str) {\n return /^<\\/a\\s*>/i.test(str)\n}\n\nfunction isLetter (ch) {\n /* eslint no-bitwise:0 */\n const lc = ch | 0x20 // to lower case\n return (lc >= 0x61/* a */) && (lc <= 0x7a/* z */)\n}\n\nexport default function html_inline (state, silent) {\n if (!state.md.options.html) { return false }\n\n // Check start\n const max = state.posMax\n const pos = state.pos\n if (state.src.charCodeAt(pos) !== 0x3C/* < */ ||\n pos + 2 >= max) {\n return false\n }\n\n // Quick fail on second char\n const ch = state.src.charCodeAt(pos + 1)\n if (ch !== 0x21/* ! */ &&\n ch !== 0x3F/* ? */ &&\n ch !== 0x2F/* / */ &&\n !isLetter(ch)) {\n return false\n }\n\n const match = state.src.slice(pos).match(HTML_TAG_RE)\n if (!match) { return false }\n\n if (!silent) {\n const token = state.push('html_inline', '', 0)\n token.content = match[0]\n\n if (isLinkOpen(token.content)) state.linkLevel++\n if (isLinkClose(token.content)) state.linkLevel--\n }\n state.pos += match[0].length\n return true\n}\n","// Process html entity - {, ¯, ", ...\n\nimport { decodeHTML } from 'entities'\nimport { isValidEntityCode, fromCodePoint } from '../common/utils.mjs'\n\nconst DIGITAL_RE = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i\nconst NAMED_RE = /^&([a-z][a-z0-9]{1,31});/i\n\nexport default function entity (state, silent) {\n const pos = state.pos\n const max = state.posMax\n\n if (state.src.charCodeAt(pos) !== 0x26/* & */) return false\n\n if (pos + 1 >= max) return false\n\n const ch = state.src.charCodeAt(pos + 1)\n\n if (ch === 0x23 /* # */) {\n const match = state.src.slice(pos).match(DIGITAL_RE)\n if (match) {\n if (!silent) {\n const code = match[1][0].toLowerCase() === 'x' ? parseInt(match[1].slice(1), 16) : parseInt(match[1], 10)\n\n const token = state.push('text_special', '', 0)\n token.content = isValidEntityCode(code) ? fromCodePoint(code) : fromCodePoint(0xFFFD)\n token.markup = match[0]\n token.info = 'entity'\n }\n state.pos += match[0].length\n return true\n }\n } else {\n const match = state.src.slice(pos).match(NAMED_RE)\n if (match) {\n const decoded = decodeHTML(match[0])\n if (decoded !== match[0]) {\n if (!silent) {\n const token = state.push('text_special', '', 0)\n token.content = decoded\n token.markup = match[0]\n token.info = 'entity'\n }\n state.pos += match[0].length\n return true\n }\n }\n }\n\n return false\n}\n","// For each opening emphasis-like marker find a matching closing one\n//\n\nfunction processDelimiters (delimiters) {\n const openersBottom = {}\n const max = delimiters.length\n\n if (!max) return\n\n // headerIdx is the first delimiter of the current (where closer is) delimiter run\n let headerIdx = 0\n let lastTokenIdx = -2 // needs any value lower than -1\n const jumps = []\n\n for (let closerIdx = 0; closerIdx < max; closerIdx++) {\n const closer = delimiters[closerIdx]\n\n jumps.push(0)\n\n // markers belong to same delimiter run if:\n // - they have adjacent tokens\n // - AND markers are the same\n //\n if (delimiters[headerIdx].marker !== closer.marker || lastTokenIdx !== closer.token - 1) {\n headerIdx = closerIdx\n }\n\n lastTokenIdx = closer.token\n\n // Length is only used for emphasis-specific \"rule of 3\",\n // if it's not defined (in strikethrough or 3rd party plugins),\n // we can default it to 0 to disable those checks.\n //\n closer.length = closer.length || 0\n\n if (!closer.close) continue\n\n // Previously calculated lower bounds (previous fails)\n // for each marker, each delimiter length modulo 3,\n // and for whether this closer can be an opener;\n // https://github.com/commonmark/cmark/commit/34250e12ccebdc6372b8b49c44fab57c72443460\n /* eslint-disable-next-line no-prototype-builtins */\n if (!openersBottom.hasOwnProperty(closer.marker)) {\n openersBottom[closer.marker] = [-1, -1, -1, -1, -1, -1]\n }\n\n const minOpenerIdx = openersBottom[closer.marker][(closer.open ? 3 : 0) + (closer.length % 3)]\n\n let openerIdx = headerIdx - jumps[headerIdx] - 1\n\n let newMinOpenerIdx = openerIdx\n\n for (; openerIdx > minOpenerIdx; openerIdx -= jumps[openerIdx] + 1) {\n const opener = delimiters[openerIdx]\n\n if (opener.marker !== closer.marker) continue\n\n if (opener.open && opener.end < 0) {\n let isOddMatch = false\n\n // from spec:\n //\n // If one of the delimiters can both open and close emphasis, then the\n // sum of the lengths of the delimiter runs containing the opening and\n // closing delimiters must not be a multiple of 3 unless both lengths\n // are multiples of 3.\n //\n if (opener.close || closer.open) {\n if ((opener.length + closer.length) % 3 === 0) {\n if (opener.length % 3 !== 0 || closer.length % 3 !== 0) {\n isOddMatch = true\n }\n }\n }\n\n if (!isOddMatch) {\n // If previous delimiter cannot be an opener, we can safely skip\n // the entire sequence in future checks. This is required to make\n // sure algorithm has linear complexity (see *_*_*_*_*_... case).\n //\n const lastJump = openerIdx > 0 && !delimiters[openerIdx - 1].open\n ? jumps[openerIdx - 1] + 1\n : 0\n\n jumps[closerIdx] = closerIdx - openerIdx + lastJump\n jumps[openerIdx] = lastJump\n\n closer.open = false\n opener.end = closerIdx\n opener.close = false\n newMinOpenerIdx = -1\n // treat next token as start of run,\n // it optimizes skips in **<...>**a**<...>** pathological case\n lastTokenIdx = -2\n break\n }\n }\n }\n\n if (newMinOpenerIdx !== -1) {\n // If match for this delimiter run failed, we want to set lower bound for\n // future lookups. This is required to make sure algorithm has linear\n // complexity.\n //\n // See details here:\n // https://github.com/commonmark/cmark/issues/178#issuecomment-270417442\n //\n openersBottom[closer.marker][(closer.open ? 3 : 0) + ((closer.length || 0) % 3)] = newMinOpenerIdx\n }\n }\n}\n\nexport default function link_pairs (state) {\n const tokens_meta = state.tokens_meta\n const max = state.tokens_meta.length\n\n processDelimiters(state.delimiters)\n\n for (let curr = 0; curr < max; curr++) {\n if (tokens_meta[curr] && tokens_meta[curr].delimiters) {\n processDelimiters(tokens_meta[curr].delimiters)\n }\n }\n}\n","// Clean up tokens after emphasis and strikethrough postprocessing:\n// merge adjacent text nodes into one and re-calculate all token levels\n//\n// This is necessary because initially emphasis delimiter markers (*, _, ~)\n// are treated as their own separate text tokens. Then emphasis rule either\n// leaves them as text (needed to merge with adjacent text) or turns them\n// into opening/closing tags (which messes up levels inside).\n//\n\nexport default function fragments_join (state) {\n let curr, last\n let level = 0\n const tokens = state.tokens\n const max = state.tokens.length\n\n for (curr = last = 0; curr < max; curr++) {\n // re-calculate levels after emphasis/strikethrough turns some text nodes\n // into opening/closing tags\n if (tokens[curr].nesting < 0) level-- // closing tag\n tokens[curr].level = level\n if (tokens[curr].nesting > 0) level++ // opening tag\n\n if (tokens[curr].type === 'text' &&\n curr + 1 < max &&\n tokens[curr + 1].type === 'text') {\n // collapse two adjacent text nodes\n tokens[curr + 1].content = tokens[curr].content + tokens[curr + 1].content\n } else {\n if (curr !== last) { tokens[last] = tokens[curr] }\n\n last++\n }\n }\n\n if (curr !== last) {\n tokens.length = last\n }\n}\n","/** internal\n * class ParserInline\n *\n * Tokenizes paragraph content.\n **/\n\nimport Ruler from './ruler.mjs'\nimport StateInline from './rules_inline/state_inline.mjs'\n\nimport r_text from './rules_inline/text.mjs'\nimport r_linkify from './rules_inline/linkify.mjs'\nimport r_newline from './rules_inline/newline.mjs'\nimport r_escape from './rules_inline/escape.mjs'\nimport r_backticks from './rules_inline/backticks.mjs'\nimport r_strikethrough from './rules_inline/strikethrough.mjs'\nimport r_emphasis from './rules_inline/emphasis.mjs'\nimport r_link from './rules_inline/link.mjs'\nimport r_image from './rules_inline/image.mjs'\nimport r_autolink from './rules_inline/autolink.mjs'\nimport r_html_inline from './rules_inline/html_inline.mjs'\nimport r_entity from './rules_inline/entity.mjs'\n\nimport r_balance_pairs from './rules_inline/balance_pairs.mjs'\nimport r_fragments_join from './rules_inline/fragments_join.mjs'\n\n// Parser rules\n\nconst _rules = [\n ['text', r_text],\n ['linkify', r_linkify],\n ['newline', r_newline],\n ['escape', r_escape],\n ['backticks', r_backticks],\n ['strikethrough', r_strikethrough.tokenize],\n ['emphasis', r_emphasis.tokenize],\n ['link', r_link],\n ['image', r_image],\n ['autolink', r_autolink],\n ['html_inline', r_html_inline],\n ['entity', r_entity]\n]\n\n// `rule2` ruleset was created specifically for emphasis/strikethrough\n// post-processing and may be changed in the future.\n//\n// Don't use this for anything except pairs (plugins working with `balance_pairs`).\n//\nconst _rules2 = [\n ['balance_pairs', r_balance_pairs],\n ['strikethrough', r_strikethrough.postProcess],\n ['emphasis', r_emphasis.postProcess],\n // rules for pairs separate '**' into its own text tokens, which may be left unused,\n // rule below merges unused segments back with the rest of the text\n ['fragments_join', r_fragments_join]\n]\n\n/**\n * new ParserInline()\n **/\nfunction ParserInline () {\n /**\n * ParserInline#ruler -> Ruler\n *\n * [[Ruler]] instance. Keep configuration of inline rules.\n **/\n this.ruler = new Ruler()\n\n for (let i = 0; i < _rules.length; i++) {\n this.ruler.push(_rules[i][0], _rules[i][1])\n }\n\n /**\n * ParserInline#ruler2 -> Ruler\n *\n * [[Ruler]] instance. Second ruler used for post-processing\n * (e.g. in emphasis-like rules).\n **/\n this.ruler2 = new Ruler()\n\n for (let i = 0; i < _rules2.length; i++) {\n this.ruler2.push(_rules2[i][0], _rules2[i][1])\n }\n}\n\n// Skip single token by running all rules in validation mode;\n// returns `true` if any rule reported success\n//\nParserInline.prototype.skipToken = function (state) {\n const pos = state.pos\n const rules = this.ruler.getRules('')\n const len = rules.length\n const maxNesting = state.md.options.maxNesting\n const cache = state.cache\n\n if (typeof cache[pos] !== 'undefined') {\n state.pos = cache[pos]\n return\n }\n\n let ok = false\n\n if (state.level < maxNesting) {\n for (let i = 0; i < len; i++) {\n // Increment state.level and decrement it later to limit recursion.\n // It's harmless to do here, because no tokens are created. But ideally,\n // we'd need a separate private state variable for this purpose.\n //\n state.level++\n ok = rules[i](state, true)\n state.level--\n\n if (ok) {\n if (pos >= state.pos) { throw new Error(\"inline rule didn't increment state.pos\") }\n break\n }\n }\n } else {\n // Too much nesting, just skip until the end of the paragraph.\n //\n // NOTE: this will cause links to behave incorrectly in the following case,\n // when an amount of `[` is exactly equal to `maxNesting + 1`:\n //\n // [[[[[[[[[[[[[[[[[[[[[foo]()\n //\n // TODO: remove this workaround when CM standard will allow nested links\n // (we can replace it by preventing links from being parsed in\n // validation mode)\n //\n state.pos = state.posMax\n }\n\n if (!ok) { state.pos++ }\n cache[pos] = state.pos\n}\n\n// Generate tokens for input range\n//\nParserInline.prototype.tokenize = function (state) {\n const rules = this.ruler.getRules('')\n const len = rules.length\n const end = state.posMax\n const maxNesting = state.md.options.maxNesting\n\n while (state.pos < end) {\n // Try all possible rules.\n // On success, rule should:\n //\n // - update `state.pos`\n // - update `state.tokens`\n // - return true\n const prevPos = state.pos\n let ok = false\n\n if (state.level < maxNesting) {\n for (let i = 0; i < len; i++) {\n ok = rules[i](state, false)\n if (ok) {\n if (prevPos >= state.pos) { throw new Error(\"inline rule didn't increment state.pos\") }\n break\n }\n }\n }\n\n if (ok) {\n if (state.pos >= end) { break }\n continue\n }\n\n state.pending += state.src[state.pos++]\n }\n\n if (state.pending) {\n state.pushPending()\n }\n}\n\n/**\n * ParserInline.parse(str, md, env, outTokens)\n *\n * Process input string and push inline tokens into `outTokens`\n **/\nParserInline.prototype.parse = function (str, md, env, outTokens) {\n const state = new this.State(str, md, env, outTokens)\n\n this.tokenize(state)\n\n const rules = this.ruler2.getRules('')\n const len = rules.length\n\n for (let i = 0; i < len; i++) {\n rules[i](state)\n }\n}\n\nParserInline.prototype.State = StateInline\n\nexport default ParserInline\n","import { Any, Cc, Z, P } from 'uc.micro'\n\nexport default function (opts) {\n const re = {}\n opts = opts || {}\n\n re.src_Any = Any.source\n re.src_Cc = Cc.source\n re.src_Z = Z.source\n re.src_P = P.source\n\n // \\p{\\Z\\P\\Cc\\CF} (white spaces + control + format + punctuation)\n re.src_ZPCc = [re.src_Z, re.src_P, re.src_Cc].join('|')\n\n // \\p{\\Z\\Cc} (white spaces + control)\n re.src_ZCc = [re.src_Z, re.src_Cc].join('|')\n\n // Experimental. List of chars, completely prohibited in links\n // because can separate it from other part of text\n const text_separators = '[><\\uff5c]'\n\n // All possible word characters (everything without punctuation, spaces & controls)\n // Defined via punctuation & spaces to save space\n // Should be something like \\p{\\L\\N\\S\\M} (\\w but without `_`)\n re.src_pseudo_letter = '(?:(?!' + text_separators + '|' + re.src_ZPCc + ')' + re.src_Any + ')'\n // The same as abothe but without [0-9]\n // var src_pseudo_letter_non_d = '(?:(?![0-9]|' + src_ZPCc + ')' + src_Any + ')';\n\n re.src_ip4 =\n\n '(?:(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\n // Prohibit any of \"@/[]()\" in user/pass to avoid wrong domain fetch.\n re.src_auth = '(?:(?:(?!' + re.src_ZCc + '|[@/\\\\[\\\\]()]).)+@)?'\n\n re.src_port =\n\n '(?::(?:6(?:[0-4]\\\\d{3}|5(?:[0-4]\\\\d{2}|5(?:[0-2]\\\\d|3[0-5])))|[1-5]?\\\\d{1,4}))?'\n\n re.src_host_terminator =\n\n '(?=$|' + text_separators + '|' + re.src_ZPCc + ')' +\n '(?!' + (opts['---'] ? '-(?!--)|' : '-|') + '_|:\\\\d|\\\\.-|\\\\.(?!$|' + re.src_ZPCc + '))'\n\n re.src_path =\n\n '(?:' +\n '[/?#]' +\n '(?:' +\n '(?!' + re.src_ZCc + '|' + text_separators + '|[()[\\\\]{}.,\"\\'?!\\\\-;]).|' +\n '\\\\[(?:(?!' + re.src_ZCc + '|\\\\]).)*\\\\]|' +\n '\\\\((?:(?!' + re.src_ZCc + '|[)]).)*\\\\)|' +\n '\\\\{(?:(?!' + re.src_ZCc + '|[}]).)*\\\\}|' +\n '\\\\\"(?:(?!' + re.src_ZCc + '|[\"]).)+\\\\\"|' +\n \"\\\\'(?:(?!\" + re.src_ZCc + \"|[']).)+\\\\'|\" +\n\n // allow `I'm_king` if no pair found\n \"\\\\'(?=\" + re.src_pseudo_letter + '|[-])|' +\n\n // google has many dots in \"google search\" links (#66, #81).\n // github has ... in commit range links,\n // Restrict to\n // - english\n // - percent-encoded\n // - parts of file path\n // - params separator\n // until more examples found.\n '\\\\.{2,}[a-zA-Z0-9%/&]|' +\n\n '\\\\.(?!' + re.src_ZCc + '|[.]|$)|' +\n (opts['---']\n ? '\\\\-(?!--(?:[^-]|$))(?:-*)|' // `---` => long dash, terminate\n : '\\\\-+|'\n ) +\n // allow `,,,` in paths\n ',(?!' + re.src_ZCc + '|$)|' +\n\n // allow `;` if not followed by space-like char\n ';(?!' + re.src_ZCc + '|$)|' +\n\n // allow `!!!` in paths, but not at the end\n '\\\\!+(?!' + re.src_ZCc + '|[!]|$)|' +\n\n '\\\\?(?!' + re.src_ZCc + '|[?]|$)' +\n ')+' +\n '|\\\\/' +\n ')?'\n\n // Allow anything in markdown spec, forbid quote (\") at the first position\n // because emails enclosed in quotes are far more common\n re.src_email_name =\n\n '[\\\\-;:&=\\\\+\\\\$,\\\\.a-zA-Z0-9_][\\\\-;:&=\\\\+\\\\$,\\\\\"\\\\.a-zA-Z0-9_]*'\n\n re.src_xn =\n\n 'xn--[a-z0-9\\\\-]{1,59}'\n\n // More to read about domain names\n // http://serverfault.com/questions/638260/\n\n re.src_domain_root =\n\n // Allow letters & digits (http://test1)\n '(?:' +\n re.src_xn +\n '|' +\n re.src_pseudo_letter + '{1,63}' +\n ')'\n\n re.src_domain =\n\n '(?:' +\n re.src_xn +\n '|' +\n '(?:' + re.src_pseudo_letter + ')' +\n '|' +\n '(?:' + re.src_pseudo_letter + '(?:-|' + re.src_pseudo_letter + '){0,61}' + re.src_pseudo_letter + ')' +\n ')'\n\n re.src_host =\n\n '(?:' +\n // Don't need IP check, because digits are already allowed in normal domain names\n // src_ip4 +\n // '|' +\n '(?:(?:(?:' + re.src_domain + ')\\\\.)*' + re.src_domain/* _root */ + ')' +\n ')'\n\n re.tpl_host_fuzzy =\n\n '(?:' +\n re.src_ip4 +\n '|' +\n '(?:(?:(?:' + re.src_domain + ')\\\\.)+(?:%TLDS%))' +\n ')'\n\n re.tpl_host_no_ip_fuzzy =\n\n '(?:(?:(?:' + re.src_domain + ')\\\\.)+(?:%TLDS%))'\n\n re.src_host_strict =\n\n re.src_host + re.src_host_terminator\n\n re.tpl_host_fuzzy_strict =\n\n re.tpl_host_fuzzy + re.src_host_terminator\n\n re.src_host_port_strict =\n\n re.src_host + re.src_port + re.src_host_terminator\n\n re.tpl_host_port_fuzzy_strict =\n\n re.tpl_host_fuzzy + re.src_port + re.src_host_terminator\n\n re.tpl_host_port_no_ip_fuzzy_strict =\n\n re.tpl_host_no_ip_fuzzy + re.src_port + re.src_host_terminator\n\n //\n // Main rules\n //\n\n // Rude test fuzzy links by host, for quick deny\n re.tpl_host_fuzzy_test =\n\n 'localhost|www\\\\.|\\\\.\\\\d{1,3}\\\\.|(?:\\\\.(?:%TLDS%)(?:' + re.src_ZPCc + '|>|$))'\n\n re.tpl_email_fuzzy =\n\n '(^|' + text_separators + '|\"|\\\\(|' + re.src_ZCc + ')' +\n '(' + re.src_email_name + '@' + re.tpl_host_fuzzy_strict + ')'\n\n re.tpl_link_fuzzy =\n // Fuzzy link can't be prepended with .:/\\- and non punctuation.\n // but can start with > (markdown blockquote)\n '(^|(?![.:/\\\\-_@])(?:[$+<=>^`|\\uff5c]|' + re.src_ZPCc + '))' +\n '((?![$+<=>^`|\\uff5c])' + re.tpl_host_port_fuzzy_strict + re.src_path + ')'\n\n re.tpl_link_no_ip_fuzzy =\n // Fuzzy link can't be prepended with .:/\\- and non punctuation.\n // but can start with > (markdown blockquote)\n '(^|(?![.:/\\\\-_@])(?:[$+<=>^`|\\uff5c]|' + re.src_ZPCc + '))' +\n '((?![$+<=>^`|\\uff5c])' + re.tpl_host_port_no_ip_fuzzy_strict + re.src_path + ')'\n\n return re\n}\n","import reFactory from './lib/re.mjs'\n\n//\n// Helpers\n//\n\n// Merge objects\n//\nfunction assign (obj /* from1, from2, from3, ... */) {\n const sources = Array.prototype.slice.call(arguments, 1)\n\n sources.forEach(function (source) {\n if (!source) { return }\n\n Object.keys(source).forEach(function (key) {\n obj[key] = source[key]\n })\n })\n\n return obj\n}\n\nfunction _class (obj) { return Object.prototype.toString.call(obj) }\nfunction isString (obj) { return _class(obj) === '[object String]' }\nfunction isObject (obj) { return _class(obj) === '[object Object]' }\nfunction isRegExp (obj) { return _class(obj) === '[object RegExp]' }\nfunction isFunction (obj) { return _class(obj) === '[object Function]' }\n\nfunction escapeRE (str) { return str.replace(/[.?*+^$[\\]\\\\(){}|-]/g, '\\\\$&') }\n\n//\n\nconst defaultOptions = {\n fuzzyLink: true,\n fuzzyEmail: true,\n fuzzyIP: false\n}\n\nfunction isOptionsObj (obj) {\n return Object.keys(obj || {}).reduce(function (acc, k) {\n /* eslint-disable-next-line no-prototype-builtins */\n return acc || defaultOptions.hasOwnProperty(k)\n }, false)\n}\n\nconst defaultSchemas = {\n 'http:': {\n validate: function (text, pos, self) {\n const tail = text.slice(pos)\n\n if (!self.re.http) {\n // compile lazily, because \"host\"-containing variables can change on tlds update.\n self.re.http = new RegExp(\n '^\\\\/\\\\/' + self.re.src_auth + self.re.src_host_port_strict + self.re.src_path, 'i'\n )\n }\n if (self.re.http.test(tail)) {\n return tail.match(self.re.http)[0].length\n }\n return 0\n }\n },\n 'https:': 'http:',\n 'ftp:': 'http:',\n '//': {\n validate: function (text, pos, self) {\n const tail = text.slice(pos)\n\n if (!self.re.no_http) {\n // compile lazily, because \"host\"-containing variables can change on tlds update.\n self.re.no_http = new RegExp(\n '^' +\n self.re.src_auth +\n // Don't allow single-level domains, because of false positives like '//test'\n // with code comments\n '(?:localhost|(?:(?:' + self.re.src_domain + ')\\\\.)+' + self.re.src_domain_root + ')' +\n self.re.src_port +\n self.re.src_host_terminator +\n self.re.src_path,\n\n 'i'\n )\n }\n\n if (self.re.no_http.test(tail)) {\n // should not be `://` & `///`, that protects from errors in protocol name\n if (pos >= 3 && text[pos - 3] === ':') { return 0 }\n if (pos >= 3 && text[pos - 3] === '/') { return 0 }\n return tail.match(self.re.no_http)[0].length\n }\n return 0\n }\n },\n 'mailto:': {\n validate: function (text, pos, self) {\n const tail = text.slice(pos)\n\n if (!self.re.mailto) {\n self.re.mailto = new RegExp(\n '^' + self.re.src_email_name + '@' + self.re.src_host_strict, 'i'\n )\n }\n if (self.re.mailto.test(tail)) {\n return tail.match(self.re.mailto)[0].length\n }\n return 0\n }\n }\n}\n\n// RE pattern for 2-character tlds (autogenerated by ./support/tlds_2char_gen.js)\n/* eslint-disable-next-line max-len */\nconst tlds_2ch_src_re = '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]'\n\n// DON'T try to make PRs with changes. Extend TLDs with LinkifyIt.tlds() instead\nconst tlds_default = 'biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф'.split('|')\n\nfunction resetScanCache (self) {\n self.__index__ = -1\n self.__text_cache__ = ''\n}\n\nfunction createValidator (re) {\n return function (text, pos) {\n const tail = text.slice(pos)\n\n if (re.test(tail)) {\n return tail.match(re)[0].length\n }\n return 0\n }\n}\n\nfunction createNormalizer () {\n return function (match, self) {\n self.normalize(match)\n }\n}\n\n// Schemas compiler. Build regexps.\n//\nfunction compile (self) {\n // Load & clone RE patterns.\n const re = self.re = reFactory(self.__opts__)\n\n // Define dynamic patterns\n const tlds = self.__tlds__.slice()\n\n self.onCompile()\n\n if (!self.__tlds_replaced__) {\n tlds.push(tlds_2ch_src_re)\n }\n tlds.push(re.src_xn)\n\n re.src_tlds = tlds.join('|')\n\n function untpl (tpl) { return tpl.replace('%TLDS%', re.src_tlds) }\n\n re.email_fuzzy = RegExp(untpl(re.tpl_email_fuzzy), 'i')\n re.link_fuzzy = RegExp(untpl(re.tpl_link_fuzzy), 'i')\n re.link_no_ip_fuzzy = RegExp(untpl(re.tpl_link_no_ip_fuzzy), 'i')\n re.host_fuzzy_test = RegExp(untpl(re.tpl_host_fuzzy_test), 'i')\n\n //\n // Compile each schema\n //\n\n const aliases = []\n\n self.__compiled__ = {} // Reset compiled data\n\n function schemaError (name, val) {\n throw new Error('(LinkifyIt) Invalid schema \"' + name + '\": ' + val)\n }\n\n Object.keys(self.__schemas__).forEach(function (name) {\n const val = self.__schemas__[name]\n\n // skip disabled methods\n if (val === null) { return }\n\n const compiled = { validate: null, link: null }\n\n self.__compiled__[name] = compiled\n\n if (isObject(val)) {\n if (isRegExp(val.validate)) {\n compiled.validate = createValidator(val.validate)\n } else if (isFunction(val.validate)) {\n compiled.validate = val.validate\n } else {\n schemaError(name, val)\n }\n\n if (isFunction(val.normalize)) {\n compiled.normalize = val.normalize\n } else if (!val.normalize) {\n compiled.normalize = createNormalizer()\n } else {\n schemaError(name, val)\n }\n\n return\n }\n\n if (isString(val)) {\n aliases.push(name)\n return\n }\n\n schemaError(name, val)\n })\n\n //\n // Compile postponed aliases\n //\n\n aliases.forEach(function (alias) {\n if (!self.__compiled__[self.__schemas__[alias]]) {\n // Silently fail on missed schemas to avoid errons on disable.\n // schemaError(alias, self.__schemas__[alias]);\n return\n }\n\n self.__compiled__[alias].validate =\n self.__compiled__[self.__schemas__[alias]].validate\n self.__compiled__[alias].normalize =\n self.__compiled__[self.__schemas__[alias]].normalize\n })\n\n //\n // Fake record for guessed links\n //\n self.__compiled__[''] = { validate: null, normalize: createNormalizer() }\n\n //\n // Build schema condition\n //\n const slist = Object.keys(self.__compiled__)\n .filter(function (name) {\n // Filter disabled & fake schemas\n return name.length > 0 && self.__compiled__[name]\n })\n .map(escapeRE)\n .join('|')\n // (?!_) cause 1.5x slowdown\n self.re.schema_test = RegExp('(^|(?!_)(?:[><\\uff5c]|' + re.src_ZPCc + '))(' + slist + ')', 'i')\n self.re.schema_search = RegExp('(^|(?!_)(?:[><\\uff5c]|' + re.src_ZPCc + '))(' + slist + ')', 'ig')\n self.re.schema_at_start = RegExp('^' + self.re.schema_search.source, 'i')\n\n self.re.pretest = RegExp(\n '(' + self.re.schema_test.source + ')|(' + self.re.host_fuzzy_test.source + ')|@',\n 'i'\n )\n\n //\n // Cleanup\n //\n\n resetScanCache(self)\n}\n\n/**\n * class Match\n *\n * Match result. Single element of array, returned by [[LinkifyIt#match]]\n **/\nfunction Match (self, shift) {\n const start = self.__index__\n const end = self.__last_index__\n const text = self.__text_cache__.slice(start, end)\n\n /**\n * Match#schema -> String\n *\n * Prefix (protocol) for matched string.\n **/\n this.schema = self.__schema__.toLowerCase()\n /**\n * Match#index -> Number\n *\n * First position of matched string.\n **/\n this.index = start + shift\n /**\n * Match#lastIndex -> Number\n *\n * Next position after matched string.\n **/\n this.lastIndex = end + shift\n /**\n * Match#raw -> String\n *\n * Matched string.\n **/\n this.raw = text\n /**\n * Match#text -> String\n *\n * Notmalized text of matched string.\n **/\n this.text = text\n /**\n * Match#url -> String\n *\n * Normalized url of matched string.\n **/\n this.url = text\n}\n\nfunction createMatch (self, shift) {\n const match = new Match(self, shift)\n\n self.__compiled__[match.schema].normalize(match, self)\n\n return match\n}\n\n/**\n * class LinkifyIt\n **/\n\n/**\n * new LinkifyIt(schemas, options)\n * - schemas (Object): Optional. Additional schemas to validate (prefix/validator)\n * - options (Object): { fuzzyLink|fuzzyEmail|fuzzyIP: true|false }\n *\n * Creates new linkifier instance with optional additional schemas.\n * Can be called without `new` keyword for convenience.\n *\n * By default understands:\n *\n * - `http(s)://...` , `ftp://...`, `mailto:...` & `//...` links\n * - \"fuzzy\" links and emails (example.com, foo@bar.com).\n *\n * `schemas` is an object, where each key/value describes protocol/rule:\n *\n * - __key__ - link prefix (usually, protocol name with `:` at the end, `skype:`\n * for example). `linkify-it` makes shure that prefix is not preceeded with\n * alphanumeric char and symbols. Only whitespaces and punctuation allowed.\n * - __value__ - rule to check tail after link prefix\n * - _String_ - just alias to existing rule\n * - _Object_\n * - _validate_ - validator function (should return matched length on success),\n * or `RegExp`.\n * - _normalize_ - optional function to normalize text & url of matched result\n * (for example, for @twitter mentions).\n *\n * `options`:\n *\n * - __fuzzyLink__ - recognige URL-s without `http(s):` prefix. Default `true`.\n * - __fuzzyIP__ - allow IPs in fuzzy links above. Can conflict with some texts\n * like version numbers. Default `false`.\n * - __fuzzyEmail__ - recognize emails without `mailto:` prefix.\n *\n **/\nfunction LinkifyIt (schemas, options) {\n if (!(this instanceof LinkifyIt)) {\n return new LinkifyIt(schemas, options)\n }\n\n if (!options) {\n if (isOptionsObj(schemas)) {\n options = schemas\n schemas = {}\n }\n }\n\n this.__opts__ = assign({}, defaultOptions, options)\n\n // Cache last tested result. Used to skip repeating steps on next `match` call.\n this.__index__ = -1\n this.__last_index__ = -1 // Next scan position\n this.__schema__ = ''\n this.__text_cache__ = ''\n\n this.__schemas__ = assign({}, defaultSchemas, schemas)\n this.__compiled__ = {}\n\n this.__tlds__ = tlds_default\n this.__tlds_replaced__ = false\n\n this.re = {}\n\n compile(this)\n}\n\n/** chainable\n * LinkifyIt#add(schema, definition)\n * - schema (String): rule name (fixed pattern prefix)\n * - definition (String|RegExp|Object): schema definition\n *\n * Add new rule definition. See constructor description for details.\n **/\nLinkifyIt.prototype.add = function add (schema, definition) {\n this.__schemas__[schema] = definition\n compile(this)\n return this\n}\n\n/** chainable\n * LinkifyIt#set(options)\n * - options (Object): { fuzzyLink|fuzzyEmail|fuzzyIP: true|false }\n *\n * Set recognition options for links without schema.\n **/\nLinkifyIt.prototype.set = function set (options) {\n this.__opts__ = assign(this.__opts__, options)\n return this\n}\n\n/**\n * LinkifyIt#test(text) -> Boolean\n *\n * Searches linkifiable pattern and returns `true` on success or `false` on fail.\n **/\nLinkifyIt.prototype.test = function test (text) {\n // Reset scan cache\n this.__text_cache__ = text\n this.__index__ = -1\n\n if (!text.length) { return false }\n\n let m, ml, me, len, shift, next, re, tld_pos, at_pos\n\n // try to scan for link with schema - that's the most simple rule\n if (this.re.schema_test.test(text)) {\n re = this.re.schema_search\n re.lastIndex = 0\n while ((m = re.exec(text)) !== null) {\n len = this.testSchemaAt(text, m[2], re.lastIndex)\n if (len) {\n this.__schema__ = m[2]\n this.__index__ = m.index + m[1].length\n this.__last_index__ = m.index + m[0].length + len\n break\n }\n }\n }\n\n if (this.__opts__.fuzzyLink && this.__compiled__['http:']) {\n // guess schemaless links\n tld_pos = text.search(this.re.host_fuzzy_test)\n if (tld_pos >= 0) {\n // if tld is located after found link - no need to check fuzzy pattern\n if (this.__index__ < 0 || tld_pos < this.__index__) {\n if ((ml = text.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null) {\n shift = ml.index + ml[1].length\n\n if (this.__index__ < 0 || shift < this.__index__) {\n this.__schema__ = ''\n this.__index__ = shift\n this.__last_index__ = ml.index + ml[0].length\n }\n }\n }\n }\n }\n\n if (this.__opts__.fuzzyEmail && this.__compiled__['mailto:']) {\n // guess schemaless emails\n at_pos = text.indexOf('@')\n if (at_pos >= 0) {\n // We can't skip this check, because this cases are possible:\n // 192.168.1.1@gmail.com, my.in@example.com\n if ((me = text.match(this.re.email_fuzzy)) !== null) {\n shift = me.index + me[1].length\n next = me.index + me[0].length\n\n if (this.__index__ < 0 || shift < this.__index__ ||\n (shift === this.__index__ && next > this.__last_index__)) {\n this.__schema__ = 'mailto:'\n this.__index__ = shift\n this.__last_index__ = next\n }\n }\n }\n }\n\n return this.__index__ >= 0\n}\n\n/**\n * LinkifyIt#pretest(text) -> Boolean\n *\n * Very quick check, that can give false positives. Returns true if link MAY BE\n * can exists. Can be used for speed optimization, when you need to check that\n * link NOT exists.\n **/\nLinkifyIt.prototype.pretest = function pretest (text) {\n return this.re.pretest.test(text)\n}\n\n/**\n * LinkifyIt#testSchemaAt(text, name, position) -> Number\n * - text (String): text to scan\n * - name (String): rule (schema) name\n * - position (Number): text offset to check from\n *\n * Similar to [[LinkifyIt#test]] but checks only specific protocol tail exactly\n * at given position. Returns length of found pattern (0 on fail).\n **/\nLinkifyIt.prototype.testSchemaAt = function testSchemaAt (text, schema, pos) {\n // If not supported schema check requested - terminate\n if (!this.__compiled__[schema.toLowerCase()]) {\n return 0\n }\n return this.__compiled__[schema.toLowerCase()].validate(text, pos, this)\n}\n\n/**\n * LinkifyIt#match(text) -> Array|null\n *\n * Returns array of found link descriptions or `null` on fail. We strongly\n * recommend to use [[LinkifyIt#test]] first, for best speed.\n *\n * ##### Result match description\n *\n * - __schema__ - link schema, can be empty for fuzzy links, or `//` for\n * protocol-neutral links.\n * - __index__ - offset of matched text\n * - __lastIndex__ - index of next char after mathch end\n * - __raw__ - matched text\n * - __text__ - normalized text\n * - __url__ - link, generated from matched text\n **/\nLinkifyIt.prototype.match = function match (text) {\n const result = []\n let shift = 0\n\n // Try to take previous element from cache, if .test() called before\n if (this.__index__ >= 0 && this.__text_cache__ === text) {\n result.push(createMatch(this, shift))\n shift = this.__last_index__\n }\n\n // Cut head if cache was used\n let tail = shift ? text.slice(shift) : text\n\n // Scan string until end reached\n while (this.test(tail)) {\n result.push(createMatch(this, shift))\n\n tail = tail.slice(this.__last_index__)\n shift += this.__last_index__\n }\n\n if (result.length) {\n return result\n }\n\n return null\n}\n\n/**\n * LinkifyIt#matchAtStart(text) -> Match|null\n *\n * Returns fully-formed (not fuzzy) link if it starts at the beginning\n * of the string, and null otherwise.\n **/\nLinkifyIt.prototype.matchAtStart = function matchAtStart (text) {\n // Reset scan cache\n this.__text_cache__ = text\n this.__index__ = -1\n\n if (!text.length) return null\n\n const m = this.re.schema_at_start.exec(text)\n if (!m) return null\n\n const len = this.testSchemaAt(text, m[2], m[0].length)\n if (!len) return null\n\n this.__schema__ = m[2]\n this.__index__ = m.index + m[1].length\n this.__last_index__ = m.index + m[0].length + len\n\n return createMatch(this, 0)\n}\n\n/** chainable\n * LinkifyIt#tlds(list [, keepOld]) -> this\n * - list (Array): list of tlds\n * - keepOld (Boolean): merge with current list if `true` (`false` by default)\n *\n * Load (or merge) new tlds list. Those are user for fuzzy links (without prefix)\n * to avoid false positives. By default this algorythm used:\n *\n * - hostname with any 2-letter root zones are ok.\n * - biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф\n * are ok.\n * - encoded (`xn--...`) root zones are ok.\n *\n * If list is replaced, then exact match for 2-chars root zones will be checked.\n **/\nLinkifyIt.prototype.tlds = function tlds (list, keepOld) {\n list = Array.isArray(list) ? list : [list]\n\n if (!keepOld) {\n this.__tlds__ = list.slice()\n this.__tlds_replaced__ = true\n compile(this)\n return this\n }\n\n this.__tlds__ = this.__tlds__.concat(list)\n .sort()\n .filter(function (el, idx, arr) {\n return el !== arr[idx - 1]\n })\n .reverse()\n\n compile(this)\n return this\n}\n\n/**\n * LinkifyIt#normalize(match)\n *\n * Default normalizer (if schema does not define it's own).\n **/\nLinkifyIt.prototype.normalize = function normalize (match) {\n // Do minimal possible changes by default. Need to collect feedback prior\n // to move forward https://github.com/markdown-it/linkify-it/issues/1\n\n if (!match.schema) { match.url = 'http://' + match.url }\n\n if (match.schema === 'mailto:' && !/^mailto:/i.test(match.url)) {\n match.url = 'mailto:' + match.url\n }\n}\n\n/**\n * LinkifyIt#onCompile()\n *\n * Override to modify basic RegExp-s.\n **/\nLinkifyIt.prototype.onCompile = function onCompile () {\n}\n\nexport default LinkifyIt\n","'use strict';\n\n/** Highest positive signed 32-bit float value */\nconst maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1\n\n/** Bootstring parameters */\nconst base = 36;\nconst tMin = 1;\nconst tMax = 26;\nconst skew = 38;\nconst damp = 700;\nconst initialBias = 72;\nconst initialN = 128; // 0x80\nconst delimiter = '-'; // '\\x2D'\n\n/** Regular expressions */\nconst regexPunycode = /^xn--/;\nconst regexNonASCII = /[^\\0-\\x7F]/; // Note: U+007F DEL is excluded too.\nconst regexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g; // RFC 3490 separators\n\n/** Error messages */\nconst errors = {\n\t'overflow': 'Overflow: input needs wider integers to process',\n\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n\t'invalid-input': 'Invalid input'\n};\n\n/** Convenience shortcuts */\nconst baseMinusTMin = base - tMin;\nconst floor = Math.floor;\nconst stringFromCharCode = String.fromCharCode;\n\n/*--------------------------------------------------------------------------*/\n\n/**\n * A generic error utility function.\n * @private\n * @param {String} type The error type.\n * @returns {Error} Throws a `RangeError` with the applicable error message.\n */\nfunction error(type) {\n\tthrow new RangeError(errors[type]);\n}\n\n/**\n * A generic `Array#map` utility function.\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} callback The function that gets called for every array\n * item.\n * @returns {Array} A new array of values returned by the callback function.\n */\nfunction map(array, callback) {\n\tconst result = [];\n\tlet length = array.length;\n\twhile (length--) {\n\t\tresult[length] = callback(array[length]);\n\t}\n\treturn result;\n}\n\n/**\n * A simple `Array#map`-like wrapper to work with domain name strings or email\n * addresses.\n * @private\n * @param {String} domain The domain name or email address.\n * @param {Function} callback The function that gets called for every\n * character.\n * @returns {String} A new string of characters returned by the callback\n * function.\n */\nfunction mapDomain(domain, callback) {\n\tconst parts = domain.split('@');\n\tlet result = '';\n\tif (parts.length > 1) {\n\t\t// In email addresses, only the domain name should be punycoded. Leave\n\t\t// the local part (i.e. everything up to `@`) intact.\n\t\tresult = parts[0] + '@';\n\t\tdomain = parts[1];\n\t}\n\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\tdomain = domain.replace(regexSeparators, '\\x2E');\n\tconst labels = domain.split('.');\n\tconst encoded = map(labels, callback).join('.');\n\treturn result + encoded;\n}\n\n/**\n * Creates an array containing the numeric code points of each Unicode\n * character in the string. While JavaScript uses UCS-2 internally,\n * this function will convert a pair of surrogate halves (each of which\n * UCS-2 exposes as separate characters) into a single code point,\n * matching UTF-16.\n * @see `punycode.ucs2.encode`\n * @see \n * @memberOf punycode.ucs2\n * @name decode\n * @param {String} string The Unicode input string (UCS-2).\n * @returns {Array} The new array of code points.\n */\nfunction ucs2decode(string) {\n\tconst output = [];\n\tlet counter = 0;\n\tconst length = string.length;\n\twhile (counter < length) {\n\t\tconst value = string.charCodeAt(counter++);\n\t\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n\t\t\t// It's a high surrogate, and there is a next character.\n\t\t\tconst extra = string.charCodeAt(counter++);\n\t\t\tif ((extra & 0xFC00) == 0xDC00) { // Low surrogate.\n\t\t\t\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n\t\t\t} else {\n\t\t\t\t// It's an unmatched surrogate; only append this code unit, in case the\n\t\t\t\t// next code unit is the high surrogate of a surrogate pair.\n\t\t\t\toutput.push(value);\n\t\t\t\tcounter--;\n\t\t\t}\n\t\t} else {\n\t\t\toutput.push(value);\n\t\t}\n\t}\n\treturn output;\n}\n\n/**\n * Creates a string based on an array of numeric code points.\n * @see `punycode.ucs2.decode`\n * @memberOf punycode.ucs2\n * @name encode\n * @param {Array} codePoints The array of numeric code points.\n * @returns {String} The new Unicode string (UCS-2).\n */\nconst ucs2encode = codePoints => String.fromCodePoint(...codePoints);\n\n/**\n * Converts a basic code point into a digit/integer.\n * @see `digitToBasic()`\n * @private\n * @param {Number} codePoint The basic numeric code point value.\n * @returns {Number} The numeric value of a basic code point (for use in\n * representing integers) in the range `0` to `base - 1`, or `base` if\n * the code point does not represent a value.\n */\nconst basicToDigit = function(codePoint) {\n\tif (codePoint >= 0x30 && codePoint < 0x3A) {\n\t\treturn 26 + (codePoint - 0x30);\n\t}\n\tif (codePoint >= 0x41 && codePoint < 0x5B) {\n\t\treturn codePoint - 0x41;\n\t}\n\tif (codePoint >= 0x61 && codePoint < 0x7B) {\n\t\treturn codePoint - 0x61;\n\t}\n\treturn base;\n};\n\n/**\n * Converts a digit/integer into a basic code point.\n * @see `basicToDigit()`\n * @private\n * @param {Number} digit The numeric value of a basic code point.\n * @returns {Number} The basic code point whose value (when used for\n * representing integers) is `digit`, which needs to be in the range\n * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n * used; else, the lowercase form is used. The behavior is undefined\n * if `flag` is non-zero and `digit` has no uppercase form.\n */\nconst digitToBasic = function(digit, flag) {\n\t// 0..25 map to ASCII a..z or A..Z\n\t// 26..35 map to ASCII 0..9\n\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n};\n\n/**\n * Bias adaptation function as per section 3.4 of RFC 3492.\n * https://tools.ietf.org/html/rfc3492#section-3.4\n * @private\n */\nconst adapt = function(delta, numPoints, firstTime) {\n\tlet k = 0;\n\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\n\tdelta += floor(delta / numPoints);\n\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\n\t\tdelta = floor(delta / baseMinusTMin);\n\t}\n\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n};\n\n/**\n * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n * symbols.\n * @memberOf punycode\n * @param {String} input The Punycode string of ASCII-only symbols.\n * @returns {String} The resulting string of Unicode symbols.\n */\nconst decode = function(input) {\n\t// Don't use UCS-2.\n\tconst output = [];\n\tconst inputLength = input.length;\n\tlet i = 0;\n\tlet n = initialN;\n\tlet bias = initialBias;\n\n\t// Handle the basic code points: let `basic` be the number of input code\n\t// points before the last delimiter, or `0` if there is none, then copy\n\t// the first basic code points to the output.\n\n\tlet basic = input.lastIndexOf(delimiter);\n\tif (basic < 0) {\n\t\tbasic = 0;\n\t}\n\n\tfor (let j = 0; j < basic; ++j) {\n\t\t// if it's not a basic code point\n\t\tif (input.charCodeAt(j) >= 0x80) {\n\t\t\terror('not-basic');\n\t\t}\n\t\toutput.push(input.charCodeAt(j));\n\t}\n\n\t// Main decoding loop: start just after the last delimiter if any basic code\n\t// points were copied; start at the beginning otherwise.\n\n\tfor (let index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\n\n\t\t// `index` is the index of the next character to be consumed.\n\t\t// Decode a generalized variable-length integer into `delta`,\n\t\t// which gets added to `i`. The overflow checking is easier\n\t\t// if we increase `i` as we go, then subtract off its starting\n\t\t// value at the end to obtain `delta`.\n\t\tconst oldi = i;\n\t\tfor (let w = 1, k = base; /* no condition */; k += base) {\n\n\t\t\tif (index >= inputLength) {\n\t\t\t\terror('invalid-input');\n\t\t\t}\n\n\t\t\tconst digit = basicToDigit(input.charCodeAt(index++));\n\n\t\t\tif (digit >= base) {\n\t\t\t\terror('invalid-input');\n\t\t\t}\n\t\t\tif (digit > floor((maxInt - i) / w)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\ti += digit * w;\n\t\t\tconst t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\n\t\t\tif (digit < t) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tconst baseMinusT = base - t;\n\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tw *= baseMinusT;\n\n\t\t}\n\n\t\tconst out = output.length + 1;\n\t\tbias = adapt(i - oldi, out, oldi == 0);\n\n\t\t// `i` was supposed to wrap around from `out` to `0`,\n\t\t// incrementing `n` each time, so we'll fix that now:\n\t\tif (floor(i / out) > maxInt - n) {\n\t\t\terror('overflow');\n\t\t}\n\n\t\tn += floor(i / out);\n\t\ti %= out;\n\n\t\t// Insert `n` at position `i` of the output.\n\t\toutput.splice(i++, 0, n);\n\n\t}\n\n\treturn String.fromCodePoint(...output);\n};\n\n/**\n * Converts a string of Unicode symbols (e.g. a domain name label) to a\n * Punycode string of ASCII-only symbols.\n * @memberOf punycode\n * @param {String} input The string of Unicode symbols.\n * @returns {String} The resulting Punycode string of ASCII-only symbols.\n */\nconst encode = function(input) {\n\tconst output = [];\n\n\t// Convert the input in UCS-2 to an array of Unicode code points.\n\tinput = ucs2decode(input);\n\n\t// Cache the length.\n\tconst inputLength = input.length;\n\n\t// Initialize the state.\n\tlet n = initialN;\n\tlet delta = 0;\n\tlet bias = initialBias;\n\n\t// Handle the basic code points.\n\tfor (const currentValue of input) {\n\t\tif (currentValue < 0x80) {\n\t\t\toutput.push(stringFromCharCode(currentValue));\n\t\t}\n\t}\n\n\tconst basicLength = output.length;\n\tlet handledCPCount = basicLength;\n\n\t// `handledCPCount` is the number of code points that have been handled;\n\t// `basicLength` is the number of basic code points.\n\n\t// Finish the basic string with a delimiter unless it's empty.\n\tif (basicLength) {\n\t\toutput.push(delimiter);\n\t}\n\n\t// Main encoding loop:\n\twhile (handledCPCount < inputLength) {\n\n\t\t// All non-basic code points < n have been handled already. Find the next\n\t\t// larger one:\n\t\tlet m = maxInt;\n\t\tfor (const currentValue of input) {\n\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\tm = currentValue;\n\t\t\t}\n\t\t}\n\n\t\t// Increase `delta` enough to advance the decoder's state to ,\n\t\t// but guard against overflow.\n\t\tconst handledCPCountPlusOne = handledCPCount + 1;\n\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\terror('overflow');\n\t\t}\n\n\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\tn = m;\n\n\t\tfor (const currentValue of input) {\n\t\t\tif (currentValue < n && ++delta > maxInt) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\t\t\tif (currentValue === n) {\n\t\t\t\t// Represent delta as a generalized variable-length integer.\n\t\t\t\tlet q = delta;\n\t\t\t\tfor (let k = base; /* no condition */; k += base) {\n\t\t\t\t\tconst t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tconst qMinusT = q - t;\n\t\t\t\t\tconst baseMinusT = base - t;\n\t\t\t\t\toutput.push(\n\t\t\t\t\t\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\n\t\t\t\t\t);\n\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t}\n\n\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength);\n\t\t\t\tdelta = 0;\n\t\t\t\t++handledCPCount;\n\t\t\t}\n\t\t}\n\n\t\t++delta;\n\t\t++n;\n\n\t}\n\treturn output.join('');\n};\n\n/**\n * Converts a Punycode string representing a domain name or an email address\n * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n * it doesn't matter if you call it on a string that has already been\n * converted to Unicode.\n * @memberOf punycode\n * @param {String} input The Punycoded domain name or email address to\n * convert to Unicode.\n * @returns {String} The Unicode representation of the given Punycode\n * string.\n */\nconst toUnicode = function(input) {\n\treturn mapDomain(input, function(string) {\n\t\treturn regexPunycode.test(string)\n\t\t\t? decode(string.slice(4).toLowerCase())\n\t\t\t: string;\n\t});\n};\n\n/**\n * Converts a Unicode string representing a domain name or an email address to\n * Punycode. Only the non-ASCII parts of the domain name will be converted,\n * i.e. it doesn't matter if you call it with a domain that's already in\n * ASCII.\n * @memberOf punycode\n * @param {String} input The domain name or email address to convert, as a\n * Unicode string.\n * @returns {String} The Punycode representation of the given domain name or\n * email address.\n */\nconst toASCII = function(input) {\n\treturn mapDomain(input, function(string) {\n\t\treturn regexNonASCII.test(string)\n\t\t\t? 'xn--' + encode(string)\n\t\t\t: string;\n\t});\n};\n\n/*--------------------------------------------------------------------------*/\n\n/** Define the public API */\nconst punycode = {\n\t/**\n\t * A string representing the current Punycode.js version number.\n\t * @memberOf punycode\n\t * @type String\n\t */\n\t'version': '2.3.1',\n\t/**\n\t * An object of methods to convert from JavaScript's internal character\n\t * representation (UCS-2) to Unicode code points, and back.\n\t * @see \n\t * @memberOf punycode\n\t * @type Object\n\t */\n\t'ucs2': {\n\t\t'decode': ucs2decode,\n\t\t'encode': ucs2encode\n\t},\n\t'decode': decode,\n\t'encode': encode,\n\t'toASCII': toASCII,\n\t'toUnicode': toUnicode\n};\n\nexport { ucs2decode, ucs2encode, decode, encode, toASCII, toUnicode };\nexport default punycode;\n","// markdown-it default options\n\nexport default {\n options: {\n // Enable HTML tags in source\n html: false,\n\n // Use '/' to close single tags (
)\n xhtmlOut: false,\n\n // Convert '\\n' in paragraphs into
\n breaks: false,\n\n // CSS language prefix for fenced blocks\n langPrefix: 'language-',\n\n // autoconvert URL-like texts to links\n linkify: false,\n\n // Enable some language-neutral replacements + quotes beautification\n typographer: false,\n\n // Double + single quotes replacement pairs, when typographer enabled,\n // and smartquotes on. Could be either a String or an Array.\n //\n // For example, you can use '«»„“' for Russian, '„“‚‘' for German,\n // and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp).\n quotes: '\\u201c\\u201d\\u2018\\u2019', /* “”‘’ */\n\n // Highlighter function. Should return escaped HTML,\n // or '' if the source string is not changed and should be escaped externaly.\n // If result starts with )\n xhtmlOut: false,\n\n // Convert '\\n' in paragraphs into
\n breaks: false,\n\n // CSS language prefix for fenced blocks\n langPrefix: 'language-',\n\n // autoconvert URL-like texts to links\n linkify: false,\n\n // Enable some language-neutral replacements + quotes beautification\n typographer: false,\n\n // Double + single quotes replacement pairs, when typographer enabled,\n // and smartquotes on. Could be either a String or an Array.\n //\n // For example, you can use '«»„“' for Russian, '„“‚‘' for German,\n // and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp).\n quotes: '\\u201c\\u201d\\u2018\\u2019', /* “”‘’ */\n\n // Highlighter function. Should return escaped HTML,\n // or '' if the source string is not changed and should be escaped externaly.\n // If result starts with )\n xhtmlOut: true,\n\n // Convert '\\n' in paragraphs into
\n breaks: false,\n\n // CSS language prefix for fenced blocks\n langPrefix: 'language-',\n\n // autoconvert URL-like texts to links\n linkify: false,\n\n // Enable some language-neutral replacements + quotes beautification\n typographer: false,\n\n // Double + single quotes replacement pairs, when typographer enabled,\n // and smartquotes on. Could be either a String or an Array.\n //\n // For example, you can use '«»„“' for Russian, '„“‚‘' for German,\n // and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp).\n quotes: '\\u201c\\u201d\\u2018\\u2019', /* “”‘’ */\n\n // Highlighter function. Should return escaped HTML,\n // or '' if the source string is not changed and should be escaped externaly.\n // If result starts with = 0) {\n try {\n parsed.hostname = punycode.toASCII(parsed.hostname)\n } catch (er) { /**/ }\n }\n }\n\n return mdurl.encode(mdurl.format(parsed))\n}\n\nfunction normalizeLinkText (url) {\n const parsed = mdurl.parse(url, true)\n\n if (parsed.hostname) {\n // Encode hostnames in urls like:\n // `http://host/`, `https://host/`, `mailto:user@host`, `//host/`\n //\n // We don't encode unknown schemas, because it's likely that we encode\n // something we shouldn't (e.g. `skype:name` treated as `skype:host`)\n //\n if (!parsed.protocol || RECODE_HOSTNAME_FOR.indexOf(parsed.protocol) >= 0) {\n try {\n parsed.hostname = punycode.toUnicode(parsed.hostname)\n } catch (er) { /**/ }\n }\n }\n\n // add '%' to exclude list because of https://github.com/markdown-it/markdown-it/issues/720\n return mdurl.decode(mdurl.format(parsed), mdurl.decode.defaultChars + '%')\n}\n\n/**\n * class MarkdownIt\n *\n * Main parser/renderer class.\n *\n * ##### Usage\n *\n * ```javascript\n * // node.js, \"classic\" way:\n * var MarkdownIt = require('markdown-it'),\n * md = new MarkdownIt();\n * var result = md.render('# markdown-it rulezz!');\n *\n * // node.js, the same, but with sugar:\n * var md = require('markdown-it')();\n * var result = md.render('# markdown-it rulezz!');\n *\n * // browser without AMD, added to \"window\" on script load\n * // Note, there are no dash.\n * var md = window.markdownit();\n * var result = md.render('# markdown-it rulezz!');\n * ```\n *\n * Single line rendering, without paragraph wrap:\n *\n * ```javascript\n * var md = require('markdown-it')();\n * var result = md.renderInline('__markdown-it__ rulezz!');\n * ```\n **/\n\n/**\n * new MarkdownIt([presetName, options])\n * - presetName (String): optional, `commonmark` / `zero`\n * - options (Object)\n *\n * Creates parser instanse with given config. Can be called without `new`.\n *\n * ##### presetName\n *\n * MarkdownIt provides named presets as a convenience to quickly\n * enable/disable active syntax rules and options for common use cases.\n *\n * - [\"commonmark\"](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/commonmark.mjs) -\n * configures parser to strict [CommonMark](http://commonmark.org/) mode.\n * - [default](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/default.mjs) -\n * similar to GFM, used when no preset name given. Enables all available rules,\n * but still without html, typographer & autolinker.\n * - [\"zero\"](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/zero.mjs) -\n * all rules disabled. Useful to quickly setup your config via `.enable()`.\n * For example, when you need only `bold` and `italic` markup and nothing else.\n *\n * ##### options:\n *\n * - __html__ - `false`. Set `true` to enable HTML tags in source. Be careful!\n * That's not safe! You may need external sanitizer to protect output from XSS.\n * It's better to extend features via plugins, instead of enabling HTML.\n * - __xhtmlOut__ - `false`. Set `true` to add '/' when closing single tags\n * (`
`). This is needed only for full CommonMark compatibility. In real\n * world you will need HTML output.\n * - __breaks__ - `false`. Set `true` to convert `\\n` in paragraphs into `
`.\n * - __langPrefix__ - `language-`. CSS language class prefix for fenced blocks.\n * Can be useful for external highlighters.\n * - __linkify__ - `false`. Set `true` to autoconvert URL-like text to links.\n * - __typographer__ - `false`. Set `true` to enable [some language-neutral\n * replacement](https://github.com/markdown-it/markdown-it/blob/master/lib/rules_core/replacements.mjs) +\n * quotes beautification (smartquotes).\n * - __quotes__ - `“”‘’`, String or Array. Double + single quotes replacement\n * pairs, when typographer enabled and smartquotes on. For example, you can\n * use `'«»„“'` for Russian, `'„“‚‘'` for German, and\n * `['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›']` for French (including nbsp).\n * - __highlight__ - `null`. Highlighter function for fenced code blocks.\n * Highlighter `function (str, lang)` should return escaped HTML. It can also\n * return empty string if the source was not changed and should be escaped\n * externaly. If result starts with ` or ``):\n *\n * ```javascript\n * var hljs = require('highlight.js') // https://highlightjs.org/\n *\n * // Actual default values\n * var md = require('markdown-it')({\n * highlight: function (str, lang) {\n * if (lang && hljs.getLanguage(lang)) {\n * try {\n * return '
' +\n *                hljs.highlight(str, { language: lang, ignoreIllegals: true }).value +\n *                '
';\n * } catch (__) {}\n * }\n *\n * return '
' + md.utils.escapeHtml(str) + '
';\n * }\n * });\n * ```\n *\n **/\nfunction MarkdownIt (presetName, options) {\n if (!(this instanceof MarkdownIt)) {\n return new MarkdownIt(presetName, options)\n }\n\n if (!options) {\n if (!utils.isString(presetName)) {\n options = presetName || {}\n presetName = 'default'\n }\n }\n\n /**\n * MarkdownIt#inline -> ParserInline\n *\n * Instance of [[ParserInline]]. You may need it to add new rules when\n * writing plugins. For simple rules control use [[MarkdownIt.disable]] and\n * [[MarkdownIt.enable]].\n **/\n this.inline = new ParserInline()\n\n /**\n * MarkdownIt#block -> ParserBlock\n *\n * Instance of [[ParserBlock]]. You may need it to add new rules when\n * writing plugins. For simple rules control use [[MarkdownIt.disable]] and\n * [[MarkdownIt.enable]].\n **/\n this.block = new ParserBlock()\n\n /**\n * MarkdownIt#core -> Core\n *\n * Instance of [[Core]] chain executor. You may need it to add new rules when\n * writing plugins. For simple rules control use [[MarkdownIt.disable]] and\n * [[MarkdownIt.enable]].\n **/\n this.core = new ParserCore()\n\n /**\n * MarkdownIt#renderer -> Renderer\n *\n * Instance of [[Renderer]]. Use it to modify output look. Or to add rendering\n * rules for new token types, generated by plugins.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * function myToken(tokens, idx, options, env, self) {\n * //...\n * return result;\n * };\n *\n * md.renderer.rules['my_token'] = myToken\n * ```\n *\n * See [[Renderer]] docs and [source code](https://github.com/markdown-it/markdown-it/blob/master/lib/renderer.mjs).\n **/\n this.renderer = new Renderer()\n\n /**\n * MarkdownIt#linkify -> LinkifyIt\n *\n * [linkify-it](https://github.com/markdown-it/linkify-it) instance.\n * Used by [linkify](https://github.com/markdown-it/markdown-it/blob/master/lib/rules_core/linkify.mjs)\n * rule.\n **/\n this.linkify = new LinkifyIt()\n\n /**\n * MarkdownIt#validateLink(url) -> Boolean\n *\n * Link validation function. CommonMark allows too much in links. By default\n * we disable `javascript:`, `vbscript:`, `file:` schemas, and almost all `data:...` schemas\n * except some embedded image types.\n *\n * You can change this behaviour:\n *\n * ```javascript\n * var md = require('markdown-it')();\n * // enable everything\n * md.validateLink = function () { return true; }\n * ```\n **/\n this.validateLink = validateLink\n\n /**\n * MarkdownIt#normalizeLink(url) -> String\n *\n * Function used to encode link url to a machine-readable format,\n * which includes url-encoding, punycode, etc.\n **/\n this.normalizeLink = normalizeLink\n\n /**\n * MarkdownIt#normalizeLinkText(url) -> String\n *\n * Function used to decode link url to a human-readable format`\n **/\n this.normalizeLinkText = normalizeLinkText\n\n // Expose utils & helpers for easy acces from plugins\n\n /**\n * MarkdownIt#utils -> utils\n *\n * Assorted utility functions, useful to write plugins. See details\n * [here](https://github.com/markdown-it/markdown-it/blob/master/lib/common/utils.mjs).\n **/\n this.utils = utils\n\n /**\n * MarkdownIt#helpers -> helpers\n *\n * Link components parser functions, useful to write plugins. See details\n * [here](https://github.com/markdown-it/markdown-it/blob/master/lib/helpers).\n **/\n this.helpers = utils.assign({}, helpers)\n\n this.options = {}\n this.configure(presetName)\n\n if (options) { this.set(options) }\n}\n\n/** chainable\n * MarkdownIt.set(options)\n *\n * Set parser options (in the same format as in constructor). Probably, you\n * will never need it, but you can change options after constructor call.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')()\n * .set({ html: true, breaks: true })\n * .set({ typographer, true });\n * ```\n *\n * __Note:__ To achieve the best possible performance, don't modify a\n * `markdown-it` instance options on the fly. If you need multiple configurations\n * it's best to create multiple instances and initialize each with separate\n * config.\n **/\nMarkdownIt.prototype.set = function (options) {\n utils.assign(this.options, options)\n return this\n}\n\n/** chainable, internal\n * MarkdownIt.configure(presets)\n *\n * Batch load of all options and compenent settings. This is internal method,\n * and you probably will not need it. But if you will - see available presets\n * and data structure [here](https://github.com/markdown-it/markdown-it/tree/master/lib/presets)\n *\n * We strongly recommend to use presets instead of direct config loads. That\n * will give better compatibility with next versions.\n **/\nMarkdownIt.prototype.configure = function (presets) {\n const self = this\n\n if (utils.isString(presets)) {\n const presetName = presets\n presets = config[presetName]\n if (!presets) { throw new Error('Wrong `markdown-it` preset \"' + presetName + '\", check name') }\n }\n\n if (!presets) { throw new Error('Wrong `markdown-it` preset, can\\'t be empty') }\n\n if (presets.options) { self.set(presets.options) }\n\n if (presets.components) {\n Object.keys(presets.components).forEach(function (name) {\n if (presets.components[name].rules) {\n self[name].ruler.enableOnly(presets.components[name].rules)\n }\n if (presets.components[name].rules2) {\n self[name].ruler2.enableOnly(presets.components[name].rules2)\n }\n })\n }\n return this\n}\n\n/** chainable\n * MarkdownIt.enable(list, ignoreInvalid)\n * - list (String|Array): rule name or list of rule names to enable\n * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.\n *\n * Enable list or rules. It will automatically find appropriate components,\n * containing rules with given names. If rule not found, and `ignoreInvalid`\n * not set - throws exception.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')()\n * .enable(['sub', 'sup'])\n * .disable('smartquotes');\n * ```\n **/\nMarkdownIt.prototype.enable = function (list, ignoreInvalid) {\n let result = []\n\n if (!Array.isArray(list)) { list = [list] }\n\n ['core', 'block', 'inline'].forEach(function (chain) {\n result = result.concat(this[chain].ruler.enable(list, true))\n }, this)\n\n result = result.concat(this.inline.ruler2.enable(list, true))\n\n const missed = list.filter(function (name) { return result.indexOf(name) < 0 })\n\n if (missed.length && !ignoreInvalid) {\n throw new Error('MarkdownIt. Failed to enable unknown rule(s): ' + missed)\n }\n\n return this\n}\n\n/** chainable\n * MarkdownIt.disable(list, ignoreInvalid)\n * - list (String|Array): rule name or list of rule names to disable.\n * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.\n *\n * The same as [[MarkdownIt.enable]], but turn specified rules off.\n **/\nMarkdownIt.prototype.disable = function (list, ignoreInvalid) {\n let result = []\n\n if (!Array.isArray(list)) { list = [list] }\n\n ['core', 'block', 'inline'].forEach(function (chain) {\n result = result.concat(this[chain].ruler.disable(list, true))\n }, this)\n\n result = result.concat(this.inline.ruler2.disable(list, true))\n\n const missed = list.filter(function (name) { return result.indexOf(name) < 0 })\n\n if (missed.length && !ignoreInvalid) {\n throw new Error('MarkdownIt. Failed to disable unknown rule(s): ' + missed)\n }\n return this\n}\n\n/** chainable\n * MarkdownIt.use(plugin, params)\n *\n * Load specified plugin with given params into current parser instance.\n * It's just a sugar to call `plugin(md, params)` with curring.\n *\n * ##### Example\n *\n * ```javascript\n * var iterator = require('markdown-it-for-inline');\n * var md = require('markdown-it')()\n * .use(iterator, 'foo_replace', 'text', function (tokens, idx) {\n * tokens[idx].content = tokens[idx].content.replace(/foo/g, 'bar');\n * });\n * ```\n **/\nMarkdownIt.prototype.use = function (plugin /*, params, ... */) {\n const args = [this].concat(Array.prototype.slice.call(arguments, 1))\n plugin.apply(plugin, args)\n return this\n}\n\n/** internal\n * MarkdownIt.parse(src, env) -> Array\n * - src (String): source string\n * - env (Object): environment sandbox\n *\n * Parse input string and return list of block tokens (special token type\n * \"inline\" will contain list of inline tokens). You should not call this\n * method directly, until you write custom renderer (for example, to produce\n * AST).\n *\n * `env` is used to pass data between \"distributed\" rules and return additional\n * metadata like reference info, needed for the renderer. It also can be used to\n * inject data in specific cases. Usually, you will be ok to pass `{}`,\n * and then pass updated object to renderer.\n **/\nMarkdownIt.prototype.parse = function (src, env) {\n if (typeof src !== 'string') {\n throw new Error('Input data should be a String')\n }\n\n const state = new this.core.State(src, this, env)\n\n this.core.process(state)\n\n return state.tokens\n}\n\n/**\n * MarkdownIt.render(src [, env]) -> String\n * - src (String): source string\n * - env (Object): environment sandbox\n *\n * Render markdown string into html. It does all magic for you :).\n *\n * `env` can be used to inject additional metadata (`{}` by default).\n * But you will not need it with high probability. See also comment\n * in [[MarkdownIt.parse]].\n **/\nMarkdownIt.prototype.render = function (src, env) {\n env = env || {}\n\n return this.renderer.render(this.parse(src, env), this.options, env)\n}\n\n/** internal\n * MarkdownIt.parseInline(src, env) -> Array\n * - src (String): source string\n * - env (Object): environment sandbox\n *\n * The same as [[MarkdownIt.parse]] but skip all block rules. It returns the\n * block tokens list with the single `inline` element, containing parsed inline\n * tokens in `children` property. Also updates `env` object.\n **/\nMarkdownIt.prototype.parseInline = function (src, env) {\n const state = new this.core.State(src, this, env)\n\n state.inlineMode = true\n this.core.process(state)\n\n return state.tokens\n}\n\n/**\n * MarkdownIt.renderInline(src [, env]) -> String\n * - src (String): source string\n * - env (Object): environment sandbox\n *\n * Similar to [[MarkdownIt.render]] but for single paragraph content. Result\n * will NOT be wrapped into `

` tags.\n **/\nMarkdownIt.prototype.renderInline = function (src, env) {\n env = env || {}\n\n return this.renderer.render(this.parseInline(src, env), this.options, env)\n}\n\nexport default MarkdownIt\n","/**\n * @typedef CoreOptions\n * @property {ReadonlyArray} [subset=[]]\n * Whether to only escape the given subset of characters.\n * @property {boolean} [escapeOnly=false]\n * Whether to only escape possibly dangerous characters.\n * Those characters are `\"`, `&`, `'`, `<`, `>`, and `` ` ``.\n *\n * @typedef FormatOptions\n * @property {(code: number, next: number, options: CoreWithFormatOptions) => string} format\n * Format strategy.\n *\n * @typedef {CoreOptions & FormatOptions & import('./util/format-smart.js').FormatSmartOptions} CoreWithFormatOptions\n */\n\nconst defaultSubsetRegex = /[\"&'<>`]/g\nconst surrogatePairsRegex = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g\nconst controlCharactersRegex =\n // eslint-disable-next-line no-control-regex, unicorn/no-hex-escape\n /[\\x01-\\t\\v\\f\\x0E-\\x1F\\x7F\\x81\\x8D\\x8F\\x90\\x9D\\xA0-\\uFFFF]/g\nconst regexEscapeRegex = /[|\\\\{}()[\\]^$+*?.]/g\n\n/** @type {WeakMap, RegExp>} */\nconst subsetToRegexCache = new WeakMap()\n\n/**\n * Encode certain characters in `value`.\n *\n * @param {string} value\n * @param {CoreWithFormatOptions} options\n * @returns {string}\n */\nexport function core(value, options) {\n value = value.replace(\n options.subset\n ? charactersToExpressionCached(options.subset)\n : defaultSubsetRegex,\n basic\n )\n\n if (options.subset || options.escapeOnly) {\n return value\n }\n\n return (\n value\n // Surrogate pairs.\n .replace(surrogatePairsRegex, surrogate)\n // BMP control characters (C0 except for LF, CR, SP; DEL; and some more\n // non-ASCII ones).\n .replace(controlCharactersRegex, basic)\n )\n\n /**\n * @param {string} pair\n * @param {number} index\n * @param {string} all\n */\n function surrogate(pair, index, all) {\n return options.format(\n (pair.charCodeAt(0) - 0xd800) * 0x400 +\n pair.charCodeAt(1) -\n 0xdc00 +\n 0x10000,\n all.charCodeAt(index + 2),\n options\n )\n }\n\n /**\n * @param {string} character\n * @param {number} index\n * @param {string} all\n */\n function basic(character, index, all) {\n return options.format(\n character.charCodeAt(0),\n all.charCodeAt(index + 1),\n options\n )\n }\n}\n\n/**\n * A wrapper function that caches the result of `charactersToExpression` with a WeakMap.\n * This can improve performance when tooling calls `charactersToExpression` repeatedly\n * with the same subset.\n *\n * @param {ReadonlyArray} subset\n * @returns {RegExp}\n */\nfunction charactersToExpressionCached(subset) {\n let cached = subsetToRegexCache.get(subset)\n\n if (!cached) {\n cached = charactersToExpression(subset)\n subsetToRegexCache.set(subset, cached)\n }\n\n return cached\n}\n\n/**\n * @param {ReadonlyArray} subset\n * @returns {RegExp}\n */\nfunction charactersToExpression(subset) {\n /** @type {Array} */\n const groups = []\n let index = -1\n\n while (++index < subset.length) {\n groups.push(subset[index].replace(regexEscapeRegex, '\\\\$&'))\n }\n\n return new RegExp('(?:' + groups.join('|') + ')', 'g')\n}\n","const hexadecimalRegex = /[\\dA-Fa-f]/\n\n/**\n * Configurable ways to encode characters as hexadecimal references.\n *\n * @param {number} code\n * @param {number} next\n * @param {boolean|undefined} omit\n * @returns {string}\n */\nexport function toHexadecimal(code, next, omit) {\n const value = '&#x' + code.toString(16).toUpperCase()\n return omit && next && !hexadecimalRegex.test(String.fromCharCode(next))\n ? value\n : value + ';'\n}\n","const decimalRegex = /\\d/\n\n/**\n * Configurable ways to encode characters as decimal references.\n *\n * @param {number} code\n * @param {number} next\n * @param {boolean|undefined} omit\n * @returns {string}\n */\nexport function toDecimal(code, next, omit) {\n const value = '&#' + String(code)\n return omit && next && !decimalRegex.test(String.fromCharCode(next))\n ? value\n : value + ';'\n}\n","/**\n * Map of named character references from HTML 4.\n *\n * @type {Record}\n */\nexport const characterEntitiesHtml4 = {\n nbsp: ' ',\n iexcl: '¡',\n cent: '¢',\n pound: '£',\n curren: '¤',\n yen: '¥',\n brvbar: '¦',\n sect: '§',\n uml: '¨',\n copy: '©',\n ordf: 'ª',\n laquo: '«',\n not: '¬',\n shy: '­',\n reg: '®',\n macr: '¯',\n deg: '°',\n plusmn: '±',\n sup2: '²',\n sup3: '³',\n acute: '´',\n micro: 'µ',\n para: '¶',\n middot: '·',\n cedil: '¸',\n sup1: '¹',\n ordm: 'º',\n raquo: '»',\n frac14: '¼',\n frac12: '½',\n frac34: '¾',\n iquest: '¿',\n Agrave: 'À',\n Aacute: 'Á',\n Acirc: 'Â',\n Atilde: 'Ã',\n Auml: 'Ä',\n Aring: 'Å',\n AElig: 'Æ',\n Ccedil: 'Ç',\n Egrave: 'È',\n Eacute: 'É',\n Ecirc: 'Ê',\n Euml: 'Ë',\n Igrave: 'Ì',\n Iacute: 'Í',\n Icirc: 'Î',\n Iuml: 'Ï',\n ETH: 'Ð',\n Ntilde: 'Ñ',\n Ograve: 'Ò',\n Oacute: 'Ó',\n Ocirc: 'Ô',\n Otilde: 'Õ',\n Ouml: 'Ö',\n times: '×',\n Oslash: 'Ø',\n Ugrave: 'Ù',\n Uacute: 'Ú',\n Ucirc: 'Û',\n Uuml: 'Ü',\n Yacute: 'Ý',\n THORN: 'Þ',\n szlig: 'ß',\n agrave: 'à',\n aacute: 'á',\n acirc: 'â',\n atilde: 'ã',\n auml: 'ä',\n aring: 'å',\n aelig: 'æ',\n ccedil: 'ç',\n egrave: 'è',\n eacute: 'é',\n ecirc: 'ê',\n euml: 'ë',\n igrave: 'ì',\n iacute: 'í',\n icirc: 'î',\n iuml: 'ï',\n eth: 'ð',\n ntilde: 'ñ',\n ograve: 'ò',\n oacute: 'ó',\n ocirc: 'ô',\n otilde: 'õ',\n ouml: 'ö',\n divide: '÷',\n oslash: 'ø',\n ugrave: 'ù',\n uacute: 'ú',\n ucirc: 'û',\n uuml: 'ü',\n yacute: 'ý',\n thorn: 'þ',\n yuml: 'ÿ',\n fnof: 'ƒ',\n Alpha: 'Α',\n Beta: 'Β',\n Gamma: 'Γ',\n Delta: 'Δ',\n Epsilon: 'Ε',\n Zeta: 'Ζ',\n Eta: 'Η',\n Theta: 'Θ',\n Iota: 'Ι',\n Kappa: 'Κ',\n Lambda: 'Λ',\n Mu: 'Μ',\n Nu: 'Ν',\n Xi: 'Ξ',\n Omicron: 'Ο',\n Pi: 'Π',\n Rho: 'Ρ',\n Sigma: 'Σ',\n Tau: 'Τ',\n Upsilon: 'Υ',\n Phi: 'Φ',\n Chi: 'Χ',\n Psi: 'Ψ',\n Omega: 'Ω',\n alpha: 'α',\n beta: 'β',\n gamma: 'γ',\n delta: 'δ',\n epsilon: 'ε',\n zeta: 'ζ',\n eta: 'η',\n theta: 'θ',\n iota: 'ι',\n kappa: 'κ',\n lambda: 'λ',\n mu: 'μ',\n nu: 'ν',\n xi: 'ξ',\n omicron: 'ο',\n pi: 'π',\n rho: 'ρ',\n sigmaf: 'ς',\n sigma: 'σ',\n tau: 'τ',\n upsilon: 'υ',\n phi: 'φ',\n chi: 'χ',\n psi: 'ψ',\n omega: 'ω',\n thetasym: 'ϑ',\n upsih: 'ϒ',\n piv: 'ϖ',\n bull: '•',\n hellip: '…',\n prime: '′',\n Prime: '″',\n oline: '‾',\n frasl: '⁄',\n weierp: '℘',\n image: 'ℑ',\n real: 'ℜ',\n trade: '™',\n alefsym: 'ℵ',\n larr: '←',\n uarr: '↑',\n rarr: '→',\n darr: '↓',\n harr: '↔',\n crarr: '↵',\n lArr: '⇐',\n uArr: '⇑',\n rArr: '⇒',\n dArr: '⇓',\n hArr: '⇔',\n forall: '∀',\n part: '∂',\n exist: '∃',\n empty: '∅',\n nabla: '∇',\n isin: '∈',\n notin: '∉',\n ni: '∋',\n prod: '∏',\n sum: '∑',\n minus: '−',\n lowast: '∗',\n radic: '√',\n prop: '∝',\n infin: '∞',\n ang: '∠',\n and: '∧',\n or: '∨',\n cap: '∩',\n cup: '∪',\n int: '∫',\n there4: '∴',\n sim: '∼',\n cong: '≅',\n asymp: '≈',\n ne: '≠',\n equiv: '≡',\n le: '≤',\n ge: '≥',\n sub: '⊂',\n sup: '⊃',\n nsub: '⊄',\n sube: '⊆',\n supe: '⊇',\n oplus: '⊕',\n otimes: '⊗',\n perp: '⊥',\n sdot: '⋅',\n lceil: '⌈',\n rceil: '⌉',\n lfloor: '⌊',\n rfloor: '⌋',\n lang: '〈',\n rang: '〉',\n loz: '◊',\n spades: '♠',\n clubs: '♣',\n hearts: '♥',\n diams: '♦',\n quot: '\"',\n amp: '&',\n lt: '<',\n gt: '>',\n OElig: 'Œ',\n oelig: 'œ',\n Scaron: 'Š',\n scaron: 'š',\n Yuml: 'Ÿ',\n circ: 'ˆ',\n tilde: '˜',\n ensp: ' ',\n emsp: ' ',\n thinsp: ' ',\n zwnj: '‌',\n zwj: '‍',\n lrm: '‎',\n rlm: '‏',\n ndash: '–',\n mdash: '—',\n lsquo: '‘',\n rsquo: '’',\n sbquo: '‚',\n ldquo: '“',\n rdquo: '”',\n bdquo: '„',\n dagger: '†',\n Dagger: '‡',\n permil: '‰',\n lsaquo: '‹',\n rsaquo: '›',\n euro: '€'\n}\n","/**\n * List of legacy (that don’t need a trailing `;`) named references which could,\n * depending on what follows them, turn into a different meaning\n *\n * @type {Array}\n */\nexport const dangerous = [\n 'cent',\n 'copy',\n 'divide',\n 'gt',\n 'lt',\n 'not',\n 'para',\n 'times'\n]\n","import {characterEntitiesLegacy} from 'character-entities-legacy'\nimport {characterEntitiesHtml4} from 'character-entities-html4'\nimport {dangerous} from '../constant/dangerous.js'\n\nconst own = {}.hasOwnProperty\n\n/**\n * `characterEntitiesHtml4` but inverted.\n *\n * @type {Record}\n */\nconst characters = {}\n\n/** @type {string} */\nlet key\n\nfor (key in characterEntitiesHtml4) {\n if (own.call(characterEntitiesHtml4, key)) {\n characters[characterEntitiesHtml4[key]] = key\n }\n}\n\nconst notAlphanumericRegex = /[^\\dA-Za-z]/\n\n/**\n * Configurable ways to encode characters as named references.\n *\n * @param {number} code\n * @param {number} next\n * @param {boolean|undefined} omit\n * @param {boolean|undefined} attribute\n * @returns {string}\n */\nexport function toNamed(code, next, omit, attribute) {\n const character = String.fromCharCode(code)\n\n if (own.call(characters, character)) {\n const name = characters[character]\n const value = '&' + name\n\n if (\n omit &&\n characterEntitiesLegacy.includes(name) &&\n !dangerous.includes(name) &&\n (!attribute ||\n (next &&\n next !== 61 /* `=` */ &&\n notAlphanumericRegex.test(String.fromCharCode(next))))\n ) {\n return value\n }\n\n return value + ';'\n }\n\n return ''\n}\n","/**\n * @typedef FormatSmartOptions\n * @property {boolean} [useNamedReferences=false]\n * Prefer named character references (`&`) where possible.\n * @property {boolean} [useShortestReferences=false]\n * Prefer the shortest possible reference, if that results in less bytes.\n * **Note**: `useNamedReferences` can be omitted when using `useShortestReferences`.\n * @property {boolean} [omitOptionalSemicolons=false]\n * Whether to omit semicolons when possible.\n * **Note**: This creates what HTML calls “parse errors” but is otherwise still valid HTML — don’t use this except when building a minifier.\n * Omitting semicolons is possible for certain named and numeric references in some cases.\n * @property {boolean} [attribute=false]\n * Create character references which don’t fail in attributes.\n * **Note**: `attribute` only applies when operating dangerously with\n * `omitOptionalSemicolons: true`.\n */\n\nimport {toHexadecimal} from './to-hexadecimal.js'\nimport {toDecimal} from './to-decimal.js'\nimport {toNamed} from './to-named.js'\n\n/**\n * Configurable ways to encode a character yielding pretty or small results.\n *\n * @param {number} code\n * @param {number} next\n * @param {FormatSmartOptions} options\n * @returns {string}\n */\nexport function formatSmart(code, next, options) {\n let numeric = toHexadecimal(code, next, options.omitOptionalSemicolons)\n /** @type {string|undefined} */\n let named\n\n if (options.useNamedReferences || options.useShortestReferences) {\n named = toNamed(\n code,\n next,\n options.omitOptionalSemicolons,\n options.attribute\n )\n }\n\n // Use the shortest numeric reference when requested.\n // A simple algorithm would use decimal for all code points under 100, as\n // those are shorter than hexadecimal:\n //\n // * `c` vs `c` (decimal shorter)\n // * `d` vs `d` (equal)\n //\n // However, because we take `next` into consideration when `omit` is used,\n // And it would be possible that decimals are shorter on bigger values as\n // well if `next` is hexadecimal but not decimal, we instead compare both.\n if (\n (options.useShortestReferences || !named) &&\n options.useShortestReferences\n ) {\n const decimal = toDecimal(code, next, options.omitOptionalSemicolons)\n\n if (decimal.length < numeric.length) {\n numeric = decimal\n }\n }\n\n return named &&\n (!options.useShortestReferences || named.length < numeric.length)\n ? named\n : numeric\n}\n","/**\n * @typedef {import('./core.js').CoreOptions & import('./util/format-smart.js').FormatSmartOptions} Options\n * @typedef {import('./core.js').CoreOptions} LightOptions\n */\n\nimport {core} from './core.js'\nimport {formatSmart} from './util/format-smart.js'\nimport {formatBasic} from './util/format-basic.js'\n\n/**\n * Encode special characters in `value`.\n *\n * @param {string} value\n * Value to encode.\n * @param {Options} [options]\n * Configuration.\n * @returns {string}\n * Encoded value.\n */\nexport function stringifyEntities(value, options) {\n return core(value, Object.assign({format: formatSmart}, options))\n}\n\n/**\n * Encode special characters in `value` as hexadecimals.\n *\n * @param {string} value\n * Value to encode.\n * @param {LightOptions} [options]\n * Configuration.\n * @returns {string}\n * Encoded value.\n */\nexport function stringifyEntitiesLight(value, options) {\n return core(value, Object.assign({format: formatBasic}, options))\n}\n","/**\n * @import {Comment, Parents} from 'hast'\n * @import {State} from '../index.js'\n */\n\nimport {stringifyEntities} from 'stringify-entities'\n\nconst htmlCommentRegex = /^>|^->||--!>|']\nconst commentEntitySubset = ['<', '>']\n\n/**\n * Serialize a comment.\n *\n * @param {Comment} node\n * Node to handle.\n * @param {number | undefined} _1\n * Index of `node` in `parent.\n * @param {Parents | undefined} _2\n * Parent of `node`.\n * @param {State} state\n * Info passed around about the current state.\n * @returns {string}\n * Serialized node.\n */\nexport function comment(node, _1, _2, state) {\n // See: \n return state.settings.bogusComments\n ? ''\n : ''\n\n /**\n * @param {string} $0\n */\n function encode($0) {\n return stringifyEntities(\n $0,\n Object.assign({}, state.settings.characterReferences, {\n subset: commentEntitySubset\n })\n )\n }\n}\n","/**\n * @import {Doctype, Parents} from 'hast'\n * @import {State} from '../index.js'\n */\n\n/**\n * Serialize a doctype.\n *\n * @param {Doctype} _1\n * Node to handle.\n * @param {number | undefined} _2\n * Index of `node` in `parent.\n * @param {Parents | undefined} _3\n * Parent of `node`.\n * @param {State} state\n * Info passed around about the current state.\n * @returns {string}\n * Serialized node.\n */\nexport function doctype(_1, _2, _3, state) {\n return (\n ''\n )\n}\n","/**\n * @import {Parents, RootContent} from 'hast'\n */\n\nimport {whitespace} from 'hast-util-whitespace'\n\nexport const siblingAfter = siblings(1)\nexport const siblingBefore = siblings(-1)\n\n/** @type {Array} */\nconst emptyChildren = []\n\n/**\n * Factory to check siblings in a direction.\n *\n * @param {number} increment\n */\nfunction siblings(increment) {\n return sibling\n\n /**\n * Find applicable siblings in a direction.\n *\n * @template {Parents} Parent\n * Parent type.\n * @param {Parent | undefined} parent\n * Parent.\n * @param {number | undefined} index\n * Index of child in `parent`.\n * @param {boolean | undefined} [includeWhitespace=false]\n * Whether to include whitespace (default: `false`).\n * @returns {Parent extends {children: Array} ? Child | undefined : never}\n * Child of parent.\n */\n function sibling(parent, index, includeWhitespace) {\n const siblings = parent ? parent.children : emptyChildren\n let offset = (index || 0) + increment\n let next = siblings[offset]\n\n if (!includeWhitespace) {\n while (next && whitespace(next)) {\n offset += increment\n next = siblings[offset]\n }\n }\n\n // @ts-expect-error: it’s a correct child.\n return next\n }\n}\n","/**\n * @import {Element, Parents} from 'hast'\n */\n\n/**\n * @callback OmitHandle\n * Check if a tag can be omitted.\n * @param {Element} element\n * Element to check.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether to omit a tag.\n *\n */\n\nconst own = {}.hasOwnProperty\n\n/**\n * Factory to check if a given node can have a tag omitted.\n *\n * @param {Record} handlers\n * Omission handlers, where each key is a tag name, and each value is the\n * corresponding handler.\n * @returns {OmitHandle}\n * Whether to omit a tag of an element.\n */\nexport function omission(handlers) {\n return omit\n\n /**\n * Check if a given node can have a tag omitted.\n *\n * @type {OmitHandle}\n */\n function omit(node, index, parent) {\n return (\n own.call(handlers, node.tagName) &&\n handlers[node.tagName](node, index, parent)\n )\n }\n}\n","/**\n * @import {Element, Parents} from 'hast'\n */\n\nimport {whitespace} from 'hast-util-whitespace'\nimport {siblingAfter} from './util/siblings.js'\nimport {omission} from './omission.js'\n\nexport const closing = omission({\n body,\n caption: headOrColgroupOrCaption,\n colgroup: headOrColgroupOrCaption,\n dd,\n dt,\n head: headOrColgroupOrCaption,\n html,\n li,\n optgroup,\n option,\n p,\n rp: rubyElement,\n rt: rubyElement,\n tbody,\n td: cells,\n tfoot,\n th: cells,\n thead,\n tr\n})\n\n/**\n * Macro for ``, ``, and ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction headOrColgroupOrCaption(_, index, parent) {\n const next = siblingAfter(parent, index, true)\n return (\n !next ||\n (next.type !== 'comment' &&\n !(next.type === 'text' && whitespace(next.value.charAt(0))))\n )\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction html(_, index, parent) {\n const next = siblingAfter(parent, index)\n return !next || next.type !== 'comment'\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction body(_, index, parent) {\n const next = siblingAfter(parent, index)\n return !next || next.type !== 'comment'\n}\n\n/**\n * Whether to omit `

`.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction p(_, index, parent) {\n const next = siblingAfter(parent, index)\n return next\n ? next.type === 'element' &&\n (next.tagName === 'address' ||\n next.tagName === 'article' ||\n next.tagName === 'aside' ||\n next.tagName === 'blockquote' ||\n next.tagName === 'details' ||\n next.tagName === 'div' ||\n next.tagName === 'dl' ||\n next.tagName === 'fieldset' ||\n next.tagName === 'figcaption' ||\n next.tagName === 'figure' ||\n next.tagName === 'footer' ||\n next.tagName === 'form' ||\n next.tagName === 'h1' ||\n next.tagName === 'h2' ||\n next.tagName === 'h3' ||\n next.tagName === 'h4' ||\n next.tagName === 'h5' ||\n next.tagName === 'h6' ||\n next.tagName === 'header' ||\n next.tagName === 'hgroup' ||\n next.tagName === 'hr' ||\n next.tagName === 'main' ||\n next.tagName === 'menu' ||\n next.tagName === 'nav' ||\n next.tagName === 'ol' ||\n next.tagName === 'p' ||\n next.tagName === 'pre' ||\n next.tagName === 'section' ||\n next.tagName === 'table' ||\n next.tagName === 'ul')\n : !parent ||\n // Confusing parent.\n !(\n parent.type === 'element' &&\n (parent.tagName === 'a' ||\n parent.tagName === 'audio' ||\n parent.tagName === 'del' ||\n parent.tagName === 'ins' ||\n parent.tagName === 'map' ||\n parent.tagName === 'noscript' ||\n parent.tagName === 'video')\n )\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction li(_, index, parent) {\n const next = siblingAfter(parent, index)\n return !next || (next.type === 'element' && next.tagName === 'li')\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction dt(_, index, parent) {\n const next = siblingAfter(parent, index)\n return Boolean(\n next &&\n next.type === 'element' &&\n (next.tagName === 'dt' || next.tagName === 'dd')\n )\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction dd(_, index, parent) {\n const next = siblingAfter(parent, index)\n return (\n !next ||\n (next.type === 'element' &&\n (next.tagName === 'dt' || next.tagName === 'dd'))\n )\n}\n\n/**\n * Whether to omit `` or ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction rubyElement(_, index, parent) {\n const next = siblingAfter(parent, index)\n return (\n !next ||\n (next.type === 'element' &&\n (next.tagName === 'rp' || next.tagName === 'rt'))\n )\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction optgroup(_, index, parent) {\n const next = siblingAfter(parent, index)\n return !next || (next.type === 'element' && next.tagName === 'optgroup')\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction option(_, index, parent) {\n const next = siblingAfter(parent, index)\n return (\n !next ||\n (next.type === 'element' &&\n (next.tagName === 'option' || next.tagName === 'optgroup'))\n )\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction thead(_, index, parent) {\n const next = siblingAfter(parent, index)\n return Boolean(\n next &&\n next.type === 'element' &&\n (next.tagName === 'tbody' || next.tagName === 'tfoot')\n )\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction tbody(_, index, parent) {\n const next = siblingAfter(parent, index)\n return (\n !next ||\n (next.type === 'element' &&\n (next.tagName === 'tbody' || next.tagName === 'tfoot'))\n )\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction tfoot(_, index, parent) {\n return !siblingAfter(parent, index)\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction tr(_, index, parent) {\n const next = siblingAfter(parent, index)\n return !next || (next.type === 'element' && next.tagName === 'tr')\n}\n\n/**\n * Whether to omit `` or ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction cells(_, index, parent) {\n const next = siblingAfter(parent, index)\n return (\n !next ||\n (next.type === 'element' &&\n (next.tagName === 'td' || next.tagName === 'th'))\n )\n}\n","/**\n * @import {Element, Parents} from 'hast'\n */\n\nimport {whitespace} from 'hast-util-whitespace'\nimport {siblingAfter, siblingBefore} from './util/siblings.js'\nimport {closing} from './closing.js'\nimport {omission} from './omission.js'\n\nexport const opening = omission({\n body,\n colgroup,\n head,\n html,\n tbody\n})\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} node\n * Element.\n * @returns {boolean}\n * Whether the opening tag can be omitted.\n */\nfunction html(node) {\n const head = siblingAfter(node, -1)\n return !head || head.type !== 'comment'\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} node\n * Element.\n * @returns {boolean}\n * Whether the opening tag can be omitted.\n */\nfunction head(node) {\n /** @type {Set} */\n const seen = new Set()\n\n // Whether `srcdoc` or not,\n // make sure the content model at least doesn’t have too many `base`s/`title`s.\n for (const child of node.children) {\n if (\n child.type === 'element' &&\n (child.tagName === 'base' || child.tagName === 'title')\n ) {\n if (seen.has(child.tagName)) return false\n seen.add(child.tagName)\n }\n }\n\n // “May be omitted if the element is empty,\n // or if the first thing inside the head element is an element.”\n const child = node.children[0]\n return !child || child.type === 'element'\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} node\n * Element.\n * @returns {boolean}\n * Whether the opening tag can be omitted.\n */\nfunction body(node) {\n const head = siblingAfter(node, -1, true)\n\n return (\n !head ||\n (head.type !== 'comment' &&\n !(head.type === 'text' && whitespace(head.value.charAt(0))) &&\n !(\n head.type === 'element' &&\n (head.tagName === 'meta' ||\n head.tagName === 'link' ||\n head.tagName === 'script' ||\n head.tagName === 'style' ||\n head.tagName === 'template')\n ))\n )\n}\n\n/**\n * Whether to omit ``.\n * The spec describes some logic for the opening tag, but it’s easier to\n * implement in the closing tag, to the same effect, so we handle it there\n * instead.\n *\n * @param {Element} node\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the opening tag can be omitted.\n */\nfunction colgroup(node, index, parent) {\n const previous = siblingBefore(parent, index)\n const head = siblingAfter(node, -1, true)\n\n // Previous colgroup was already omitted.\n if (\n parent &&\n previous &&\n previous.type === 'element' &&\n previous.tagName === 'colgroup' &&\n closing(previous, parent.children.indexOf(previous), parent)\n ) {\n return false\n }\n\n return Boolean(head && head.type === 'element' && head.tagName === 'col')\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} node\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the opening tag can be omitted.\n */\nfunction tbody(node, index, parent) {\n const previous = siblingBefore(parent, index)\n const head = siblingAfter(node, -1)\n\n // Previous table section was already omitted.\n if (\n parent &&\n previous &&\n previous.type === 'element' &&\n (previous.tagName === 'thead' || previous.tagName === 'tbody') &&\n closing(previous, parent.children.indexOf(previous), parent)\n ) {\n return false\n }\n\n return Boolean(head && head.type === 'element' && head.tagName === 'tr')\n}\n","/**\n * @import {Element, Parents, Properties} from 'hast'\n * @import {State} from '../index.js'\n */\n\nimport {ccount} from 'ccount'\nimport {stringify as commas} from 'comma-separated-tokens'\nimport {find, svg} from 'property-information'\nimport {stringify as spaces} from 'space-separated-tokens'\nimport {stringifyEntities} from 'stringify-entities'\nimport {closing} from '../omission/closing.js'\nimport {opening} from '../omission/opening.js'\n\n/**\n * Maps of subsets.\n *\n * Each value is a matrix of tuples.\n * The value at `0` causes parse errors, the value at `1` is valid.\n * Of both, the value at `0` is unsafe, and the value at `1` is safe.\n *\n * @type {Record<'double' | 'name' | 'single' | 'unquoted', Array<[Array, Array]>>}\n */\nconst constants = {\n // See: .\n name: [\n ['\\t\\n\\f\\r &/=>'.split(''), '\\t\\n\\f\\r \"&\\'/=>`'.split('')],\n ['\\0\\t\\n\\f\\r \"&\\'/<=>'.split(''), '\\0\\t\\n\\f\\r \"&\\'/<=>`'.split('')]\n ],\n // See: .\n unquoted: [\n ['\\t\\n\\f\\r &>'.split(''), '\\0\\t\\n\\f\\r \"&\\'<=>`'.split('')],\n ['\\0\\t\\n\\f\\r \"&\\'<=>`'.split(''), '\\0\\t\\n\\f\\r \"&\\'<=>`'.split('')]\n ],\n // See: .\n single: [\n [\"&'\".split(''), '\"&\\'`'.split('')],\n [\"\\0&'\".split(''), '\\0\"&\\'`'.split('')]\n ],\n // See: .\n double: [\n ['\"&'.split(''), '\"&\\'`'.split('')],\n ['\\0\"&'.split(''), '\\0\"&\\'`'.split('')]\n ]\n}\n\n/**\n * Serialize an element node.\n *\n * @param {Element} node\n * Node to handle.\n * @param {number | undefined} index\n * Index of `node` in `parent.\n * @param {Parents | undefined} parent\n * Parent of `node`.\n * @param {State} state\n * Info passed around about the current state.\n * @returns {string}\n * Serialized node.\n */\nexport function element(node, index, parent, state) {\n const schema = state.schema\n const omit = schema.space === 'svg' ? false : state.settings.omitOptionalTags\n let selfClosing =\n schema.space === 'svg'\n ? state.settings.closeEmptyElements\n : state.settings.voids.includes(node.tagName.toLowerCase())\n /** @type {Array} */\n const parts = []\n /** @type {string} */\n let last\n\n if (schema.space === 'html' && node.tagName === 'svg') {\n state.schema = svg\n }\n\n const attributes = serializeAttributes(state, node.properties)\n\n const content = state.all(\n schema.space === 'html' && node.tagName === 'template' ? node.content : node\n )\n\n state.schema = schema\n\n // If the node is categorised as void, but it has children, remove the\n // categorisation.\n // This enables for example `menuitem`s, which are void in W3C HTML but not\n // void in WHATWG HTML, to be stringified properly.\n // Note: `menuitem` has since been removed from the HTML spec, and so is no\n // longer void.\n if (content) selfClosing = false\n\n if (attributes || !omit || !opening(node, index, parent)) {\n parts.push('<', node.tagName, attributes ? ' ' + attributes : '')\n\n if (\n selfClosing &&\n (schema.space === 'svg' || state.settings.closeSelfClosing)\n ) {\n last = attributes.charAt(attributes.length - 1)\n if (\n !state.settings.tightSelfClosing ||\n last === '/' ||\n (last && last !== '\"' && last !== \"'\")\n ) {\n parts.push(' ')\n }\n\n parts.push('/')\n }\n\n parts.push('>')\n }\n\n parts.push(content)\n\n if (!selfClosing && (!omit || !closing(node, index, parent))) {\n parts.push('')\n }\n\n return parts.join('')\n}\n\n/**\n * @param {State} state\n * @param {Properties | null | undefined} properties\n * @returns {string}\n */\nfunction serializeAttributes(state, properties) {\n /** @type {Array} */\n const values = []\n let index = -1\n /** @type {string} */\n let key\n\n if (properties) {\n for (key in properties) {\n if (properties[key] !== null && properties[key] !== undefined) {\n const value = serializeAttribute(state, key, properties[key])\n if (value) values.push(value)\n }\n }\n }\n\n while (++index < values.length) {\n const last = state.settings.tightAttributes\n ? values[index].charAt(values[index].length - 1)\n : undefined\n\n // In tight mode, don’t add a space after quoted attributes.\n if (index !== values.length - 1 && last !== '\"' && last !== \"'\") {\n values[index] += ' '\n }\n }\n\n return values.join('')\n}\n\n/**\n * @param {State} state\n * @param {string} key\n * @param {Properties[keyof Properties]} value\n * @returns {string}\n */\nfunction serializeAttribute(state, key, value) {\n const info = find(state.schema, key)\n const x =\n state.settings.allowParseErrors && state.schema.space === 'html' ? 0 : 1\n const y = state.settings.allowDangerousCharacters ? 0 : 1\n let quote = state.quote\n /** @type {string | undefined} */\n let result\n\n if (info.overloadedBoolean && (value === info.attribute || value === '')) {\n value = true\n } else if (\n info.boolean ||\n (info.overloadedBoolean && typeof value !== 'string')\n ) {\n value = Boolean(value)\n }\n\n if (\n value === null ||\n value === undefined ||\n value === false ||\n (typeof value === 'number' && Number.isNaN(value))\n ) {\n return ''\n }\n\n const name = stringifyEntities(\n info.attribute,\n Object.assign({}, state.settings.characterReferences, {\n // Always encode without parse errors in non-HTML.\n subset: constants.name[x][y]\n })\n )\n\n // No value.\n // There is currently only one boolean property in SVG: `[download]` on\n // `
`.\n // This property does not seem to work in browsers (Firefox, Safari, Chrome),\n // so I can’t test if dropping the value works.\n // But I assume that it should:\n //\n // ```html\n // \n // \n // \n // \n // \n // \n // ```\n //\n // See: \n if (value === true) return name\n\n // `spaces` doesn’t accept a second argument, but it’s given here just to\n // keep the code cleaner.\n value = Array.isArray(value)\n ? (info.commaSeparated ? commas : spaces)(value, {\n padLeft: !state.settings.tightCommaSeparatedLists\n })\n : String(value)\n\n if (state.settings.collapseEmptyAttributes && !value) return name\n\n // Check unquoted value.\n if (state.settings.preferUnquoted) {\n result = stringifyEntities(\n value,\n Object.assign({}, state.settings.characterReferences, {\n attribute: true,\n subset: constants.unquoted[x][y]\n })\n )\n }\n\n // If we don’t want unquoted, or if `value` contains character references when\n // unquoted…\n if (result !== value) {\n // If the alternative is less common than `quote`, switch.\n if (\n state.settings.quoteSmart &&\n ccount(value, quote) > ccount(value, state.alternative)\n ) {\n quote = state.alternative\n }\n\n result =\n quote +\n stringifyEntities(\n value,\n Object.assign({}, state.settings.characterReferences, {\n // Always encode without parse errors in non-HTML.\n subset: (quote === \"'\" ? constants.single : constants.double)[x][y],\n attribute: true\n })\n ) +\n quote\n }\n\n // Don’t add a `=` for unquoted empties.\n return name + (result ? '=' + result : result)\n}\n","/**\n * @import {Parents, Text} from 'hast'\n * @import {Raw} from 'mdast-util-to-hast'\n * @import {State} from '../index.js'\n */\n\nimport {stringifyEntities} from 'stringify-entities'\n\n// Declare array as variable so it can be cached by `stringifyEntities`\nconst textEntitySubset = ['<', '&']\n\n/**\n * Serialize a text node.\n *\n * @param {Raw | Text} node\n * Node to handle.\n * @param {number | undefined} _\n * Index of `node` in `parent.\n * @param {Parents | undefined} parent\n * Parent of `node`.\n * @param {State} state\n * Info passed around about the current state.\n * @returns {string}\n * Serialized node.\n */\nexport function text(node, _, parent, state) {\n // Check if content of `node` should be escaped.\n return parent &&\n parent.type === 'element' &&\n (parent.tagName === 'script' || parent.tagName === 'style')\n ? node.value\n : stringifyEntities(\n node.value,\n Object.assign({}, state.settings.characterReferences, {\n subset: textEntitySubset\n })\n )\n}\n","/**\n * @import {Parents} from 'hast'\n * @import {Raw} from 'mdast-util-to-hast'\n * @import {State} from '../index.js'\n */\n\nimport {text} from './text.js'\n\n/**\n * Serialize a raw node.\n *\n * @param {Raw} node\n * Node to handle.\n * @param {number | undefined} index\n * Index of `node` in `parent.\n * @param {Parents | undefined} parent\n * Parent of `node`.\n * @param {State} state\n * Info passed around about the current state.\n * @returns {string}\n * Serialized node.\n */\nexport function raw(node, index, parent, state) {\n return state.settings.allowDangerousHtml\n ? node.value\n : text(node, index, parent, state)\n}\n","/**\n * @import {Parents, Root} from 'hast'\n * @import {State} from '../index.js'\n */\n\n/**\n * Serialize a root.\n *\n * @param {Root} node\n * Node to handle.\n * @param {number | undefined} _1\n * Index of `node` in `parent.\n * @param {Parents | undefined} _2\n * Parent of `node`.\n * @param {State} state\n * Info passed around about the current state.\n * @returns {string}\n * Serialized node.\n */\nexport function root(node, _1, _2, state) {\n return state.all(node)\n}\n","/**\n * @import {Nodes, Parents} from 'hast'\n * @import {State} from '../index.js'\n */\n\nimport {zwitch} from 'zwitch'\nimport {comment} from './comment.js'\nimport {doctype} from './doctype.js'\nimport {element} from './element.js'\nimport {raw} from './raw.js'\nimport {root} from './root.js'\nimport {text} from './text.js'\n\n/**\n * @type {(node: Nodes, index: number | undefined, parent: Parents | undefined, state: State) => string}\n */\nexport const handle = zwitch('type', {\n invalid,\n unknown,\n handlers: {comment, doctype, element, raw, root, text}\n})\n\n/**\n * Fail when a non-node is found in the tree.\n *\n * @param {unknown} node\n * Unknown value.\n * @returns {never}\n * Never.\n */\nfunction invalid(node) {\n throw new Error('Expected node, not `' + node + '`')\n}\n\n/**\n * Fail when a node with an unknown type is found in the tree.\n *\n * @param {unknown} node_\n * Unknown node.\n * @returns {never}\n * Never.\n */\nfunction unknown(node_) {\n // `type` is guaranteed by runtime JS.\n const node = /** @type {Nodes} */ (node_)\n throw new Error('Cannot compile unknown node `' + node.type + '`')\n}\n","/**\n * @import {Nodes, Parents, RootContent} from 'hast'\n * @import {Schema} from 'property-information'\n * @import {Options as StringifyEntitiesOptions} from 'stringify-entities'\n */\n\n/**\n * @typedef {Omit} CharacterReferences\n *\n * @typedef Options\n * Configuration.\n * @property {boolean | null | undefined} [allowDangerousCharacters=false]\n * Do not encode some characters which cause XSS vulnerabilities in older\n * browsers (default: `false`).\n *\n * > ⚠️ **Danger**: only set this if you completely trust the content.\n * @property {boolean | null | undefined} [allowDangerousHtml=false]\n * Allow `raw` nodes and insert them as raw HTML (default: `false`).\n *\n * When `false`, `Raw` nodes are encoded.\n *\n * > ⚠️ **Danger**: only set this if you completely trust the content.\n * @property {boolean | null | undefined} [allowParseErrors=false]\n * Do not encode characters which cause parse errors (even though they work),\n * to save bytes (default: `false`).\n *\n * Not used in the SVG space.\n *\n * > 👉 **Note**: intentionally creates parse errors in markup (how parse\n * > errors are handled is well defined, so this works but isn’t pretty).\n * @property {boolean | null | undefined} [bogusComments=false]\n * Use “bogus comments” instead of comments to save byes: ``\n * instead of `` (default: `false`).\n *\n * > 👉 **Note**: intentionally creates parse errors in markup (how parse\n * > errors are handled is well defined, so this works but isn’t pretty).\n * @property {CharacterReferences | null | undefined} [characterReferences]\n * Configure how to serialize character references (optional).\n * @property {boolean | null | undefined} [closeEmptyElements=false]\n * Close SVG elements without any content with slash (`/`) on the opening tag\n * instead of an end tag: `` instead of ``\n * (default: `false`).\n *\n * See `tightSelfClosing` to control whether a space is used before the\n * slash.\n *\n * Not used in the HTML space.\n * @property {boolean | null | undefined} [closeSelfClosing=false]\n * Close self-closing nodes with an extra slash (`/`): `` instead of\n * `` (default: `false`).\n *\n * See `tightSelfClosing` to control whether a space is used before the\n * slash.\n *\n * Not used in the SVG space.\n * @property {boolean | null | undefined} [collapseEmptyAttributes=false]\n * Collapse empty attributes: get `class` instead of `class=\"\"` (default:\n * `false`).\n *\n * Not used in the SVG space.\n *\n * > 👉 **Note**: boolean attributes (such as `hidden`) are always collapsed.\n * @property {boolean | null | undefined} [omitOptionalTags=false]\n * Omit optional opening and closing tags (default: `false`).\n *\n * For example, in `
  1. one
  2. two
`, both `` closing\n * tags can be omitted.\n * The first because it’s followed by another `li`, the last because it’s\n * followed by nothing.\n *\n * Not used in the SVG space.\n * @property {boolean | null | undefined} [preferUnquoted=false]\n * Leave attributes unquoted if that results in less bytes (default: `false`).\n *\n * Not used in the SVG space.\n * @property {boolean | null | undefined} [quoteSmart=false]\n * Use the other quote if that results in less bytes (default: `false`).\n * @property {Quote | null | undefined} [quote='\"']\n * Preferred quote to use (default: `'\"'`).\n * @property {Space | null | undefined} [space='html']\n * When an `` element is found in the HTML space, this package already\n * automatically switches to and from the SVG space when entering and exiting\n * it (default: `'html'`).\n *\n * > 👉 **Note**: hast is not XML.\n * > It supports SVG as embedded in HTML.\n * > It does not support the features available in XML.\n * > Passing SVG might break but fragments of modern SVG should be fine.\n * > Use [`xast`][xast] if you need to support SVG as XML.\n * @property {boolean | null | undefined} [tightAttributes=false]\n * Join attributes together, without whitespace, if possible: get\n * `class=\"a b\"title=\"c d\"` instead of `class=\"a b\" title=\"c d\"` to save\n * bytes (default: `false`).\n *\n * Not used in the SVG space.\n *\n * > 👉 **Note**: intentionally creates parse errors in markup (how parse\n * > errors are handled is well defined, so this works but isn’t pretty).\n * @property {boolean | null | undefined} [tightCommaSeparatedLists=false]\n * Join known comma-separated attribute values with just a comma (`,`),\n * instead of padding them on the right as well (`,␠`, where `␠` represents a\n * space) (default: `false`).\n * @property {boolean | null | undefined} [tightDoctype=false]\n * Drop unneeded spaces in doctypes: `` instead of\n * `` to save bytes (default: `false`).\n *\n * > 👉 **Note**: intentionally creates parse errors in markup (how parse\n * > errors are handled is well defined, so this works but isn’t pretty).\n * @property {boolean | null | undefined} [tightSelfClosing=false]\n * Do not use an extra space when closing self-closing elements: ``\n * instead of `` (default: `false`).\n *\n * > 👉 **Note**: only used if `closeSelfClosing: true` or\n * > `closeEmptyElements: true`.\n * @property {boolean | null | undefined} [upperDoctype=false]\n * Use a ` | null | undefined} [voids]\n * Tag names of elements to serialize without closing tag (default: `html-void-elements`).\n *\n * Not used in the SVG space.\n *\n * > 👉 **Note**: It’s highly unlikely that you want to pass this, because\n * > hast is not for XML, and HTML will not add more void elements.\n *\n * @typedef {'\"' | \"'\"} Quote\n * HTML quotes for attribute values.\n *\n * @typedef {Omit}>, 'space' | 'quote'>} Settings\n *\n * @typedef {'html' | 'svg'} Space\n * Namespace.\n *\n * @typedef State\n * Info passed around about the current state.\n * @property {(node: Parents | undefined) => string} all\n * Serialize the children of a parent node.\n * @property {Quote} alternative\n * Alternative quote.\n * @property {(node: Nodes, index: number | undefined, parent: Parents | undefined) => string} one\n * Serialize one node.\n * @property {Quote} quote\n * Preferred quote.\n * @property {Schema} schema\n * Current schema.\n * @property {Settings} settings\n * User configuration.\n */\n\nimport {htmlVoidElements} from 'html-void-elements'\nimport {html, svg} from 'property-information'\nimport {handle} from './handle/index.js'\n\n/** @type {Options} */\nconst emptyOptions = {}\n\n/** @type {CharacterReferences} */\nconst emptyCharacterReferences = {}\n\n/** @type {Array} */\nconst emptyChildren = []\n\n/**\n * Serialize hast as HTML.\n *\n * @param {Array | Nodes} tree\n * Tree to serialize.\n * @param {Options | null | undefined} [options]\n * Configuration (optional).\n * @returns {string}\n * Serialized HTML.\n */\nexport function toHtml(tree, options) {\n const options_ = options || emptyOptions\n const quote = options_.quote || '\"'\n const alternative = quote === '\"' ? \"'\" : '\"'\n\n if (quote !== '\"' && quote !== \"'\") {\n throw new Error('Invalid quote `' + quote + '`, expected `\\'` or `\"`')\n }\n\n /** @type {State} */\n const state = {\n one,\n all,\n settings: {\n omitOptionalTags: options_.omitOptionalTags || false,\n allowParseErrors: options_.allowParseErrors || false,\n allowDangerousCharacters: options_.allowDangerousCharacters || false,\n quoteSmart: options_.quoteSmart || false,\n preferUnquoted: options_.preferUnquoted || false,\n tightAttributes: options_.tightAttributes || false,\n upperDoctype: options_.upperDoctype || false,\n tightDoctype: options_.tightDoctype || false,\n bogusComments: options_.bogusComments || false,\n tightCommaSeparatedLists: options_.tightCommaSeparatedLists || false,\n tightSelfClosing: options_.tightSelfClosing || false,\n collapseEmptyAttributes: options_.collapseEmptyAttributes || false,\n allowDangerousHtml: options_.allowDangerousHtml || false,\n voids: options_.voids || htmlVoidElements,\n characterReferences:\n options_.characterReferences || emptyCharacterReferences,\n closeSelfClosing: options_.closeSelfClosing || false,\n closeEmptyElements: options_.closeEmptyElements || false\n },\n schema: options_.space === 'svg' ? svg : html,\n quote,\n alternative\n }\n\n return state.one(\n Array.isArray(tree) ? {type: 'root', children: tree} : tree,\n undefined,\n undefined\n )\n}\n\n/**\n * Serialize a node.\n *\n * @this {State}\n * Info passed around about the current state.\n * @param {Nodes} node\n * Node to handle.\n * @param {number | undefined} index\n * Index of `node` in `parent.\n * @param {Parents | undefined} parent\n * Parent of `node`.\n * @returns {string}\n * Serialized node.\n */\nfunction one(node, index, parent) {\n return handle(node, index, parent, this)\n}\n\n/**\n * Serialize all children of `parent`.\n *\n * @this {State}\n * Info passed around about the current state.\n * @param {Parents | undefined} parent\n * Parent whose children to serialize.\n * @returns {string}\n */\nexport function all(parent) {\n /** @type {Array} */\n const results = []\n const children = (parent && parent.children) || emptyChildren\n let index = -1\n\n while (++index < children.length) {\n results[index] = this.one(children[index], index, parent)\n }\n\n return results.join('')\n}\n","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"katex\"] = factory();\n\telse\n\t\troot[\"katex\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn /******/ (function() { // webpackBootstrap\n/******/ \t\"use strict\";\n/******/ \t// The require scope\n/******/ \tvar __webpack_require__ = {};\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t!function() {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = function(exports, definition) {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t}();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t!function() {\n/******/ \t\t__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }\n/******/ \t}();\n/******/ \t\n/************************************************************************/\nvar __webpack_exports__ = {};\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n \"default\": function() { return /* binding */ katex_webpack; }\n});\n\n;// CONCATENATED MODULE: ./src/ParseError.js\n\n\n/**\n * This is the ParseError class, which is the main error thrown by KaTeX\n * functions when something has gone wrong. This is used to distinguish internal\n * errors from errors in the expression that the user provided.\n *\n * If possible, a caller should provide a Token or ParseNode with information\n * about where in the source string the problem occurred.\n */\nclass ParseError {\n // Error start position based on passed-in Token or ParseNode.\n // Length of affected text based on passed-in Token or ParseNode.\n // The underlying error message without any context added.\n constructor(message, // The error message\n token // An object providing position information\n ) {\n this.name = void 0;\n this.position = void 0;\n this.length = void 0;\n this.rawMessage = void 0;\n let error = \"KaTeX parse error: \" + message;\n let start;\n let end;\n const loc = token && token.loc;\n\n if (loc && loc.start <= loc.end) {\n // If we have the input and a position, make the error a bit fancier\n // Get the input\n const input = loc.lexer.input; // Prepend some information\n\n start = loc.start;\n end = loc.end;\n\n if (start === input.length) {\n error += \" at end of input: \";\n } else {\n error += \" at position \" + (start + 1) + \": \";\n } // Underline token in question using combining underscores\n\n\n const underlined = input.slice(start, end).replace(/[^]/g, \"$&\\u0332\"); // Extract some context from the input and add it to the error\n\n let left;\n\n if (start > 15) {\n left = \"…\" + input.slice(start - 15, start);\n } else {\n left = input.slice(0, start);\n }\n\n let right;\n\n if (end + 15 < input.length) {\n right = input.slice(end, end + 15) + \"…\";\n } else {\n right = input.slice(end);\n }\n\n error += left + underlined + right;\n } // Some hackery to make ParseError a prototype of Error\n // See http://stackoverflow.com/a/8460753\n // $FlowFixMe\n\n\n const self = new Error(error);\n self.name = \"ParseError\"; // $FlowFixMe\n\n self.__proto__ = ParseError.prototype;\n self.position = start;\n\n if (start != null && end != null) {\n self.length = end - start;\n }\n\n self.rawMessage = message;\n return self;\n }\n\n} // $FlowFixMe More hackery\n\n\nParseError.prototype.__proto__ = Error.prototype;\n/* harmony default export */ var src_ParseError = (ParseError);\n;// CONCATENATED MODULE: ./src/utils.js\n/**\n * This file contains a list of utility functions which are useful in other\n * files.\n */\n\n/**\n * Return whether an element is contained in a list\n */\nconst contains = function (list, elem) {\n return list.indexOf(elem) !== -1;\n};\n/**\n * Provide a default value if a setting is undefined\n * NOTE: Couldn't use `T` as the output type due to facebook/flow#5022.\n */\n\n\nconst deflt = function (setting, defaultIfUndefined) {\n return setting === undefined ? defaultIfUndefined : setting;\n}; // hyphenate and escape adapted from Facebook's React under Apache 2 license\n\n\nconst uppercase = /([A-Z])/g;\n\nconst hyphenate = function (str) {\n return str.replace(uppercase, \"-$1\").toLowerCase();\n};\n\nconst ESCAPE_LOOKUP = {\n \"&\": \"&\",\n \">\": \">\",\n \"<\": \"<\",\n \"\\\"\": \""\",\n \"'\": \"'\"\n};\nconst ESCAPE_REGEX = /[&><\"']/g;\n/**\n * Escapes text to prevent scripting attacks.\n */\n\nfunction utils_escape(text) {\n return String(text).replace(ESCAPE_REGEX, match => ESCAPE_LOOKUP[match]);\n}\n/**\n * Sometimes we want to pull out the innermost element of a group. In most\n * cases, this will just be the group itself, but when ordgroups and colors have\n * a single element, we want to pull that out.\n */\n\n\nconst getBaseElem = function (group) {\n if (group.type === \"ordgroup\") {\n if (group.body.length === 1) {\n return getBaseElem(group.body[0]);\n } else {\n return group;\n }\n } else if (group.type === \"color\") {\n if (group.body.length === 1) {\n return getBaseElem(group.body[0]);\n } else {\n return group;\n }\n } else if (group.type === \"font\") {\n return getBaseElem(group.body);\n } else {\n return group;\n }\n};\n/**\n * TeXbook algorithms often reference \"character boxes\", which are simply groups\n * with a single character in them. To decide if something is a character box,\n * we find its innermost group, and see if it is a single character.\n */\n\n\nconst isCharacterBox = function (group) {\n const baseElem = getBaseElem(group); // These are all they types of groups which hold single characters\n\n return baseElem.type === \"mathord\" || baseElem.type === \"textord\" || baseElem.type === \"atom\";\n};\n\nconst assert = function (value) {\n if (!value) {\n throw new Error('Expected non-null, but got ' + String(value));\n }\n\n return value;\n};\n/**\n * Return the protocol of a URL, or \"_relative\" if the URL does not specify a\n * protocol (and thus is relative), or `null` if URL has invalid protocol\n * (so should be outright rejected).\n */\n\nconst protocolFromUrl = function (url) {\n // Check for possible leading protocol.\n // https://url.spec.whatwg.org/#url-parsing strips leading whitespace\n // (U+20) or C0 control (U+00-U+1F) characters.\n // eslint-disable-next-line no-control-regex\n const protocol = /^[\\x00-\\x20]*([^\\\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(url);\n\n if (!protocol) {\n return \"_relative\";\n } // Reject weird colons\n\n\n if (protocol[2] !== \":\") {\n return null;\n } // Reject invalid characters in scheme according to\n // https://datatracker.ietf.org/doc/html/rfc3986#section-3.1\n\n\n if (!/^[a-zA-Z][a-zA-Z0-9+\\-.]*$/.test(protocol[1])) {\n return null;\n } // Lowercase the protocol\n\n\n return protocol[1].toLowerCase();\n};\n/* harmony default export */ var utils = ({\n contains,\n deflt,\n escape: utils_escape,\n hyphenate,\n getBaseElem,\n isCharacterBox,\n protocolFromUrl\n});\n;// CONCATENATED MODULE: ./src/Settings.js\n/* eslint no-console:0 */\n\n/**\n * This is a module for storing settings passed into KaTeX. It correctly handles\n * default settings.\n */\n\n\n\n// TODO: automatically generate documentation\n// TODO: check all properties on Settings exist\n// TODO: check the type of a property on Settings matches\nconst SETTINGS_SCHEMA = {\n displayMode: {\n type: \"boolean\",\n description: \"Render math in display mode, which puts the math in \" + \"display style (so \\\\int and \\\\sum are large, for example), and \" + \"centers the math on the page on its own line.\",\n cli: \"-d, --display-mode\"\n },\n output: {\n type: {\n enum: [\"htmlAndMathml\", \"html\", \"mathml\"]\n },\n description: \"Determines the markup language of the output.\",\n cli: \"-F, --format \"\n },\n leqno: {\n type: \"boolean\",\n description: \"Render display math in leqno style (left-justified tags).\"\n },\n fleqn: {\n type: \"boolean\",\n description: \"Render display math flush left.\"\n },\n throwOnError: {\n type: \"boolean\",\n default: true,\n cli: \"-t, --no-throw-on-error\",\n cliDescription: \"Render errors (in the color given by --error-color) ins\" + \"tead of throwing a ParseError exception when encountering an error.\"\n },\n errorColor: {\n type: \"string\",\n default: \"#cc0000\",\n cli: \"-c, --error-color \",\n cliDescription: \"A color string given in the format 'rgb' or 'rrggbb' \" + \"(no #). This option determines the color of errors rendered by the \" + \"-t option.\",\n cliProcessor: color => \"#\" + color\n },\n macros: {\n type: \"object\",\n cli: \"-m, --macro \",\n cliDescription: \"Define custom macro of the form '\\\\foo:expansion' (use \" + \"multiple -m arguments for multiple macros).\",\n cliDefault: [],\n cliProcessor: (def, defs) => {\n defs.push(def);\n return defs;\n }\n },\n minRuleThickness: {\n type: \"number\",\n description: \"Specifies a minimum thickness, in ems, for fraction lines,\" + \" `\\\\sqrt` top lines, `{array}` vertical lines, `\\\\hline`, \" + \"`\\\\hdashline`, `\\\\underline`, `\\\\overline`, and the borders of \" + \"`\\\\fbox`, `\\\\boxed`, and `\\\\fcolorbox`.\",\n processor: t => Math.max(0, t),\n cli: \"--min-rule-thickness \",\n cliProcessor: parseFloat\n },\n colorIsTextColor: {\n type: \"boolean\",\n description: \"Makes \\\\color behave like LaTeX's 2-argument \\\\textcolor, \" + \"instead of LaTeX's one-argument \\\\color mode change.\",\n cli: \"-b, --color-is-text-color\"\n },\n strict: {\n type: [{\n enum: [\"warn\", \"ignore\", \"error\"]\n }, \"boolean\", \"function\"],\n description: \"Turn on strict / LaTeX faithfulness mode, which throws an \" + \"error if the input uses features that are not supported by LaTeX.\",\n cli: \"-S, --strict\",\n cliDefault: false\n },\n trust: {\n type: [\"boolean\", \"function\"],\n description: \"Trust the input, enabling all HTML features such as \\\\url.\",\n cli: \"-T, --trust\"\n },\n maxSize: {\n type: \"number\",\n default: Infinity,\n description: \"If non-zero, all user-specified sizes, e.g. in \" + \"\\\\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, \" + \"elements and spaces can be arbitrarily large\",\n processor: s => Math.max(0, s),\n cli: \"-s, --max-size \",\n cliProcessor: parseInt\n },\n maxExpand: {\n type: \"number\",\n default: 1000,\n description: \"Limit the number of macro expansions to the specified \" + \"number, to prevent e.g. infinite macro loops. If set to Infinity, \" + \"the macro expander will try to fully expand as in LaTeX.\",\n processor: n => Math.max(0, n),\n cli: \"-e, --max-expand \",\n cliProcessor: n => n === \"Infinity\" ? Infinity : parseInt(n)\n },\n globalGroup: {\n type: \"boolean\",\n cli: false\n }\n};\n\nfunction getDefaultValue(schema) {\n if (schema.default) {\n return schema.default;\n }\n\n const type = schema.type;\n const defaultType = Array.isArray(type) ? type[0] : type;\n\n if (typeof defaultType !== 'string') {\n return defaultType.enum[0];\n }\n\n switch (defaultType) {\n case 'boolean':\n return false;\n\n case 'string':\n return '';\n\n case 'number':\n return 0;\n\n case 'object':\n return {};\n }\n}\n/**\n * The main Settings object\n *\n * The current options stored are:\n * - displayMode: Whether the expression should be typeset as inline math\n * (false, the default), meaning that the math starts in\n * \\textstyle and is placed in an inline-block); or as display\n * math (true), meaning that the math starts in \\displaystyle\n * and is placed in a block with vertical margin.\n */\n\n\nclass Settings {\n constructor(options) {\n this.displayMode = void 0;\n this.output = void 0;\n this.leqno = void 0;\n this.fleqn = void 0;\n this.throwOnError = void 0;\n this.errorColor = void 0;\n this.macros = void 0;\n this.minRuleThickness = void 0;\n this.colorIsTextColor = void 0;\n this.strict = void 0;\n this.trust = void 0;\n this.maxSize = void 0;\n this.maxExpand = void 0;\n this.globalGroup = void 0;\n // allow null options\n options = options || {};\n\n for (const prop in SETTINGS_SCHEMA) {\n if (SETTINGS_SCHEMA.hasOwnProperty(prop)) {\n // $FlowFixMe\n const schema = SETTINGS_SCHEMA[prop]; // TODO: validate options\n // $FlowFixMe\n\n this[prop] = options[prop] !== undefined ? schema.processor ? schema.processor(options[prop]) : options[prop] : getDefaultValue(schema);\n }\n }\n }\n /**\n * Report nonstrict (non-LaTeX-compatible) input.\n * Can safely not be called if `this.strict` is false in JavaScript.\n */\n\n\n reportNonstrict(errorCode, errorMsg, token) {\n let strict = this.strict;\n\n if (typeof strict === \"function\") {\n // Allow return value of strict function to be boolean or string\n // (or null/undefined, meaning no further processing).\n strict = strict(errorCode, errorMsg, token);\n }\n\n if (!strict || strict === \"ignore\") {\n return;\n } else if (strict === true || strict === \"error\") {\n throw new src_ParseError(\"LaTeX-incompatible input and strict mode is set to 'error': \" + (errorMsg + \" [\" + errorCode + \"]\"), token);\n } else if (strict === \"warn\") {\n typeof console !== \"undefined\" && console.warn(\"LaTeX-incompatible input and strict mode is set to 'warn': \" + (errorMsg + \" [\" + errorCode + \"]\"));\n } else {\n // won't happen in type-safe code\n typeof console !== \"undefined\" && console.warn(\"LaTeX-incompatible input and strict mode is set to \" + (\"unrecognized '\" + strict + \"': \" + errorMsg + \" [\" + errorCode + \"]\"));\n }\n }\n /**\n * Check whether to apply strict (LaTeX-adhering) behavior for unusual\n * input (like `\\\\`). Unlike `nonstrict`, will not throw an error;\n * instead, \"error\" translates to a return value of `true`, while \"ignore\"\n * translates to a return value of `false`. May still print a warning:\n * \"warn\" prints a warning and returns `false`.\n * This is for the second category of `errorCode`s listed in the README.\n */\n\n\n useStrictBehavior(errorCode, errorMsg, token) {\n let strict = this.strict;\n\n if (typeof strict === \"function\") {\n // Allow return value of strict function to be boolean or string\n // (or null/undefined, meaning no further processing).\n // But catch any exceptions thrown by function, treating them\n // like \"error\".\n try {\n strict = strict(errorCode, errorMsg, token);\n } catch (error) {\n strict = \"error\";\n }\n }\n\n if (!strict || strict === \"ignore\") {\n return false;\n } else if (strict === true || strict === \"error\") {\n return true;\n } else if (strict === \"warn\") {\n typeof console !== \"undefined\" && console.warn(\"LaTeX-incompatible input and strict mode is set to 'warn': \" + (errorMsg + \" [\" + errorCode + \"]\"));\n return false;\n } else {\n // won't happen in type-safe code\n typeof console !== \"undefined\" && console.warn(\"LaTeX-incompatible input and strict mode is set to \" + (\"unrecognized '\" + strict + \"': \" + errorMsg + \" [\" + errorCode + \"]\"));\n return false;\n }\n }\n /**\n * Check whether to test potentially dangerous input, and return\n * `true` (trusted) or `false` (untrusted). The sole argument `context`\n * should be an object with `command` field specifying the relevant LaTeX\n * command (as a string starting with `\\`), and any other arguments, etc.\n * If `context` has a `url` field, a `protocol` field will automatically\n * get added by this function (changing the specified object).\n */\n\n\n isTrusted(context) {\n if (context.url && !context.protocol) {\n const protocol = utils.protocolFromUrl(context.url);\n\n if (protocol == null) {\n return false;\n }\n\n context.protocol = protocol;\n }\n\n const trust = typeof this.trust === \"function\" ? this.trust(context) : this.trust;\n return Boolean(trust);\n }\n\n}\n;// CONCATENATED MODULE: ./src/Style.js\n/**\n * This file contains information and classes for the various kinds of styles\n * used in TeX. It provides a generic `Style` class, which holds information\n * about a specific style. It then provides instances of all the different kinds\n * of styles possible, and provides functions to move between them and get\n * information about them.\n */\n\n/**\n * The main style class. Contains a unique id for the style, a size (which is\n * the same for cramped and uncramped version of a style), and a cramped flag.\n */\nclass Style {\n constructor(id, size, cramped) {\n this.id = void 0;\n this.size = void 0;\n this.cramped = void 0;\n this.id = id;\n this.size = size;\n this.cramped = cramped;\n }\n /**\n * Get the style of a superscript given a base in the current style.\n */\n\n\n sup() {\n return styles[sup[this.id]];\n }\n /**\n * Get the style of a subscript given a base in the current style.\n */\n\n\n sub() {\n return styles[sub[this.id]];\n }\n /**\n * Get the style of a fraction numerator given the fraction in the current\n * style.\n */\n\n\n fracNum() {\n return styles[fracNum[this.id]];\n }\n /**\n * Get the style of a fraction denominator given the fraction in the current\n * style.\n */\n\n\n fracDen() {\n return styles[fracDen[this.id]];\n }\n /**\n * Get the cramped version of a style (in particular, cramping a cramped style\n * doesn't change the style).\n */\n\n\n cramp() {\n return styles[cramp[this.id]];\n }\n /**\n * Get a text or display version of this style.\n */\n\n\n text() {\n return styles[Style_text[this.id]];\n }\n /**\n * Return true if this style is tightly spaced (scriptstyle/scriptscriptstyle)\n */\n\n\n isTight() {\n return this.size >= 2;\n }\n\n} // Export an interface for type checking, but don't expose the implementation.\n// This way, no more styles can be generated.\n\n\n// IDs of the different styles\nconst D = 0;\nconst Dc = 1;\nconst T = 2;\nconst Tc = 3;\nconst S = 4;\nconst Sc = 5;\nconst SS = 6;\nconst SSc = 7; // Instances of the different styles\n\nconst styles = [new Style(D, 0, false), new Style(Dc, 0, true), new Style(T, 1, false), new Style(Tc, 1, true), new Style(S, 2, false), new Style(Sc, 2, true), new Style(SS, 3, false), new Style(SSc, 3, true)]; // Lookup tables for switching from one style to another\n\nconst sup = [S, Sc, S, Sc, SS, SSc, SS, SSc];\nconst sub = [Sc, Sc, Sc, Sc, SSc, SSc, SSc, SSc];\nconst fracNum = [T, Tc, S, Sc, SS, SSc, SS, SSc];\nconst fracDen = [Tc, Tc, Sc, Sc, SSc, SSc, SSc, SSc];\nconst cramp = [Dc, Dc, Tc, Tc, Sc, Sc, SSc, SSc];\nconst Style_text = [D, Dc, T, Tc, T, Tc, T, Tc]; // We only export some of the styles.\n\n/* harmony default export */ var src_Style = ({\n DISPLAY: styles[D],\n TEXT: styles[T],\n SCRIPT: styles[S],\n SCRIPTSCRIPT: styles[SS]\n});\n;// CONCATENATED MODULE: ./src/unicodeScripts.js\n/*\n * This file defines the Unicode scripts and script families that we\n * support. To add new scripts or families, just add a new entry to the\n * scriptData array below. Adding scripts to the scriptData array allows\n * characters from that script to appear in \\text{} environments.\n */\n\n/**\n * Each script or script family has a name and an array of blocks.\n * Each block is an array of two numbers which specify the start and\n * end points (inclusive) of a block of Unicode codepoints.\n */\n\n/**\n * Unicode block data for the families of scripts we support in \\text{}.\n * Scripts only need to appear here if they do not have font metrics.\n */\nconst scriptData = [{\n // Latin characters beyond the Latin-1 characters we have metrics for.\n // Needed for Czech, Hungarian and Turkish text, for example.\n name: 'latin',\n blocks: [[0x0100, 0x024f], // Latin Extended-A and Latin Extended-B\n [0x0300, 0x036f] // Combining Diacritical marks\n ]\n}, {\n // The Cyrillic script used by Russian and related languages.\n // A Cyrillic subset used to be supported as explicitly defined\n // symbols in symbols.js\n name: 'cyrillic',\n blocks: [[0x0400, 0x04ff]]\n}, {\n // Armenian\n name: 'armenian',\n blocks: [[0x0530, 0x058F]]\n}, {\n // The Brahmic scripts of South and Southeast Asia\n // Devanagari (0900–097F)\n // Bengali (0980–09FF)\n // Gurmukhi (0A00–0A7F)\n // Gujarati (0A80–0AFF)\n // Oriya (0B00–0B7F)\n // Tamil (0B80–0BFF)\n // Telugu (0C00–0C7F)\n // Kannada (0C80–0CFF)\n // Malayalam (0D00–0D7F)\n // Sinhala (0D80–0DFF)\n // Thai (0E00–0E7F)\n // Lao (0E80–0EFF)\n // Tibetan (0F00–0FFF)\n // Myanmar (1000–109F)\n name: 'brahmic',\n blocks: [[0x0900, 0x109F]]\n}, {\n name: 'georgian',\n blocks: [[0x10A0, 0x10ff]]\n}, {\n // Chinese and Japanese.\n // The \"k\" in cjk is for Korean, but we've separated Korean out\n name: \"cjk\",\n blocks: [[0x3000, 0x30FF], // CJK symbols and punctuation, Hiragana, Katakana\n [0x4E00, 0x9FAF], // CJK ideograms\n [0xFF00, 0xFF60] // Fullwidth punctuation\n // TODO: add halfwidth Katakana and Romanji glyphs\n ]\n}, {\n // Korean\n name: 'hangul',\n blocks: [[0xAC00, 0xD7AF]]\n}];\n/**\n * Given a codepoint, return the name of the script or script family\n * it is from, or null if it is not part of a known block\n */\n\nfunction scriptFromCodepoint(codepoint) {\n for (let i = 0; i < scriptData.length; i++) {\n const script = scriptData[i];\n\n for (let i = 0; i < script.blocks.length; i++) {\n const block = script.blocks[i];\n\n if (codepoint >= block[0] && codepoint <= block[1]) {\n return script.name;\n }\n }\n }\n\n return null;\n}\n/**\n * A flattened version of all the supported blocks in a single array.\n * This is an optimization to make supportedCodepoint() fast.\n */\n\nconst allBlocks = [];\nscriptData.forEach(s => s.blocks.forEach(b => allBlocks.push(...b)));\n/**\n * Given a codepoint, return true if it falls within one of the\n * scripts or script families defined above and false otherwise.\n *\n * Micro benchmarks shows that this is faster than\n * /[\\u3000-\\u30FF\\u4E00-\\u9FAF\\uFF00-\\uFF60\\uAC00-\\uD7AF\\u0900-\\u109F]/.test()\n * in Firefox, Chrome and Node.\n */\n\nfunction supportedCodepoint(codepoint) {\n for (let i = 0; i < allBlocks.length; i += 2) {\n if (codepoint >= allBlocks[i] && codepoint <= allBlocks[i + 1]) {\n return true;\n }\n }\n\n return false;\n}\n;// CONCATENATED MODULE: ./src/svgGeometry.js\n/**\n * This file provides support to domTree.js and delimiter.js.\n * It's a storehouse of path geometry for SVG images.\n */\n// In all paths below, the viewBox-to-em scale is 1000:1.\nconst hLinePad = 80; // padding above a sqrt vinculum. Prevents image cropping.\n// The vinculum of a \\sqrt can be made thicker by a KaTeX rendering option.\n// Think of variable extraVinculum as two detours in the SVG path.\n// The detour begins at the lower left of the area labeled extraVinculum below.\n// The detour proceeds one extraVinculum distance up and slightly to the right,\n// displacing the radiused corner between surd and vinculum. The radius is\n// traversed as usual, then the detour resumes. It goes right, to the end of\n// the very long vinculum, then down one extraVinculum distance,\n// after which it resumes regular path geometry for the radical.\n\n/* vinculum\n /\n /▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒←extraVinculum\n / █████████████████████←0.04em (40 unit) std vinculum thickness\n / /\n / /\n / /\\\n / / surd\n*/\n\nconst sqrtMain = function (extraVinculum, hLinePad) {\n // sqrtMain path geometry is from glyph U221A in the font KaTeX Main\n return \"M95,\" + (622 + extraVinculum + hLinePad) + \"\\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\\nc69,-144,104.5,-217.7,106.5,-221\\nl\" + extraVinculum / 2.075 + \" -\" + extraVinculum + \"\\nc5.3,-9.3,12,-14,20,-14\\nH400000v\" + (40 + extraVinculum) + \"H845.2724\\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\\nM\" + (834 + extraVinculum) + \" \" + hLinePad + \"h400000v\" + (40 + extraVinculum) + \"h-400000z\";\n};\n\nconst sqrtSize1 = function (extraVinculum, hLinePad) {\n // size1 is from glyph U221A in the font KaTeX_Size1-Regular\n return \"M263,\" + (601 + extraVinculum + hLinePad) + \"c0.7,0,18,39.7,52,119\\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\\nc340,-704.7,510.7,-1060.3,512,-1067\\nl\" + extraVinculum / 2.084 + \" -\" + extraVinculum + \"\\nc4.7,-7.3,11,-11,19,-11\\nH40000v\" + (40 + extraVinculum) + \"H1012.3\\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\\nM\" + (1001 + extraVinculum) + \" \" + hLinePad + \"h400000v\" + (40 + extraVinculum) + \"h-400000z\";\n};\n\nconst sqrtSize2 = function (extraVinculum, hLinePad) {\n // size2 is from glyph U221A in the font KaTeX_Size2-Regular\n return \"M983 \" + (10 + extraVinculum + hLinePad) + \"\\nl\" + extraVinculum / 3.13 + \" -\" + extraVinculum + \"\\nc4,-6.7,10,-10,18,-10 H400000v\" + (40 + extraVinculum) + \"\\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\\nM\" + (1001 + extraVinculum) + \" \" + hLinePad + \"h400000v\" + (40 + extraVinculum) + \"h-400000z\";\n};\n\nconst sqrtSize3 = function (extraVinculum, hLinePad) {\n // size3 is from glyph U221A in the font KaTeX_Size3-Regular\n return \"M424,\" + (2398 + extraVinculum + hLinePad) + \"\\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\\nl\" + extraVinculum / 4.223 + \" -\" + extraVinculum + \"c4,-6.7,10,-10,18,-10 H400000\\nv\" + (40 + extraVinculum) + \"H1014.6\\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\\nc-2,6,-10,9,-24,9\\nc-8,0,-12,-0.7,-12,-2z M\" + (1001 + extraVinculum) + \" \" + hLinePad + \"\\nh400000v\" + (40 + extraVinculum) + \"h-400000z\";\n};\n\nconst sqrtSize4 = function (extraVinculum, hLinePad) {\n // size4 is from glyph U221A in the font KaTeX_Size4-Regular\n return \"M473,\" + (2713 + extraVinculum + hLinePad) + \"\\nc339.3,-1799.3,509.3,-2700,510,-2702 l\" + extraVinculum / 5.298 + \" -\" + extraVinculum + \"\\nc3.3,-7.3,9.3,-11,18,-11 H400000v\" + (40 + extraVinculum) + \"H1017.7\\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\\n606zM\" + (1001 + extraVinculum) + \" \" + hLinePad + \"h400000v\" + (40 + extraVinculum) + \"H1017.7z\";\n};\n\nconst phasePath = function (y) {\n const x = y / 2; // x coordinate at top of angle\n\n return \"M400000 \" + y + \" H0 L\" + x + \" 0 l65 45 L145 \" + (y - 80) + \" H400000z\";\n};\n\nconst sqrtTall = function (extraVinculum, hLinePad, viewBoxHeight) {\n // sqrtTall is from glyph U23B7 in the font KaTeX_Size4-Regular\n // One path edge has a variable length. It runs vertically from the vinculum\n // to a point near (14 units) the bottom of the surd. The vinculum\n // is normally 40 units thick. So the length of the line in question is:\n const vertSegment = viewBoxHeight - 54 - hLinePad - extraVinculum;\n return \"M702 \" + (extraVinculum + hLinePad) + \"H400000\" + (40 + extraVinculum) + \"\\nH742v\" + vertSegment + \"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\\n219 661 l218 661zM702 \" + hLinePad + \"H400000v\" + (40 + extraVinculum) + \"H742z\";\n};\n\nconst sqrtPath = function (size, extraVinculum, viewBoxHeight) {\n extraVinculum = 1000 * extraVinculum; // Convert from document ems to viewBox.\n\n let path = \"\";\n\n switch (size) {\n case \"sqrtMain\":\n path = sqrtMain(extraVinculum, hLinePad);\n break;\n\n case \"sqrtSize1\":\n path = sqrtSize1(extraVinculum, hLinePad);\n break;\n\n case \"sqrtSize2\":\n path = sqrtSize2(extraVinculum, hLinePad);\n break;\n\n case \"sqrtSize3\":\n path = sqrtSize3(extraVinculum, hLinePad);\n break;\n\n case \"sqrtSize4\":\n path = sqrtSize4(extraVinculum, hLinePad);\n break;\n\n case \"sqrtTall\":\n path = sqrtTall(extraVinculum, hLinePad, viewBoxHeight);\n }\n\n return path;\n};\nconst innerPath = function (name, height) {\n // The inner part of stretchy tall delimiters\n switch (name) {\n case \"\\u239c\":\n return \"M291 0 H417 V\" + height + \" H291z M291 0 H417 V\" + height + \" H291z\";\n\n case \"\\u2223\":\n return \"M145 0 H188 V\" + height + \" H145z M145 0 H188 V\" + height + \" H145z\";\n\n case \"\\u2225\":\n return \"M145 0 H188 V\" + height + \" H145z M145 0 H188 V\" + height + \" H145z\" + (\"M367 0 H410 V\" + height + \" H367z M367 0 H410 V\" + height + \" H367z\");\n\n case \"\\u239f\":\n return \"M457 0 H583 V\" + height + \" H457z M457 0 H583 V\" + height + \" H457z\";\n\n case \"\\u23a2\":\n return \"M319 0 H403 V\" + height + \" H319z M319 0 H403 V\" + height + \" H319z\";\n\n case \"\\u23a5\":\n return \"M263 0 H347 V\" + height + \" H263z M263 0 H347 V\" + height + \" H263z\";\n\n case \"\\u23aa\":\n return \"M384 0 H504 V\" + height + \" H384z M384 0 H504 V\" + height + \" H384z\";\n\n case \"\\u23d0\":\n return \"M312 0 H355 V\" + height + \" H312z M312 0 H355 V\" + height + \" H312z\";\n\n case \"\\u2016\":\n return \"M257 0 H300 V\" + height + \" H257z M257 0 H300 V\" + height + \" H257z\" + (\"M478 0 H521 V\" + height + \" H478z M478 0 H521 V\" + height + \" H478z\");\n\n default:\n return \"\";\n }\n};\nconst path = {\n // The doubleleftarrow geometry is from glyph U+21D0 in the font KaTeX Main\n doubleleftarrow: \"M262 157\\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\\nm8 0v40h399730v-40zm0 194v40h399730v-40z\",\n // doublerightarrow is from glyph U+21D2 in font KaTeX Main\n doublerightarrow: \"M399738 392l\\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z\",\n // leftarrow is from glyph U+2190 in font KaTeX Main\n leftarrow: \"M400000 241H110l3-3c68.7-52.7 113.7-120\\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\\n l-3-3h399890zM100 241v40h399900v-40z\",\n // overbrace is from glyphs U+23A9/23A8/23A7 in font KaTeX_Size4-Regular\n leftbrace: \"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z\",\n leftbraceunder: \"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z\",\n // overgroup is from the MnSymbol package (public domain)\n leftgroup: \"M400000 80\\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\\n 435 0h399565z\",\n leftgroupunder: \"M400000 262\\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\\n 435 219h399565z\",\n // Harpoons are from glyph U+21BD in font KaTeX Main\n leftharpoon: \"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z\",\n leftharpoonplus: \"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\\nm0 0v40h400000v-40z\",\n leftharpoondown: \"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z\",\n leftharpoondownplus: \"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z\",\n // hook is from glyph U+21A9 in font KaTeX Main\n lefthook: \"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\\n 71.5 23h399859zM103 281v-40h399897v40z\",\n leftlinesegment: \"M40 281 V428 H0 V94 H40 V241 H400000 v40z\\nM40 281 V428 H0 V94 H40 V241 H400000 v40z\",\n leftmapsto: \"M40 281 V448H0V74H40V241H400000v40z\\nM40 281 V448H0V74H40V241H400000v40z\",\n // tofrom is from glyph U+21C4 in font KaTeX AMS Regular\n leftToFrom: \"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z\",\n longequal: \"M0 50 h400000 v40H0z m0 194h40000v40H0z\\nM0 50 h400000 v40H0z m0 194h40000v40H0z\",\n midbrace: \"M200428 334\\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z\",\n midbraceunder: \"M199572 214\\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z\",\n oiintSize1: \"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z\",\n oiintSize2: \"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\\nc0 110 84 276 504 276s502.4-166 502.4-276z\",\n oiiintSize1: \"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z\",\n oiiintSize2: \"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z\",\n rightarrow: \"M0 241v40h399891c-47.3 35.3-84 78-110 128\\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\\n 151.7 139 205zm0 0v40h399900v-40z\",\n rightbrace: \"M400000 542l\\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z\",\n rightbraceunder: \"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z\",\n rightgroup: \"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\\n 3-1 3-3v-38c-76-158-257-219-435-219H0z\",\n rightgroupunder: \"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z\",\n rightharpoon: \"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\\n 69.2 92 94.5zm0 0v40h399900v-40z\",\n rightharpoonplus: \"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z\",\n rightharpoondown: \"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z\",\n rightharpoondownplus: \"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\\nm0-194v40h400000v-40zm0 0v40h400000v-40z\",\n righthook: \"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z\",\n rightlinesegment: \"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z\",\n rightToFrom: \"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z\",\n // twoheadleftarrow is from glyph U+219E in font KaTeX AMS Regular\n twoheadleftarrow: \"M0 167c68 40\\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z\",\n twoheadrightarrow: \"M400000 167\\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z\",\n // tilde1 is a modified version of a glyph from the MnSymbol package\n tilde1: \"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\\n-68.267.847-113-73.952-191-73.952z\",\n // ditto tilde2, tilde3, & tilde4\n tilde2: \"M344 55.266c-142 0-300.638 81.316-311.5 86.418\\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z\",\n tilde3: \"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\\n -338 0-409-156.573-744-156.573z\",\n tilde4: \"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\\n -175.236-744-175.236z\",\n // vec is from glyph U+20D7 in font KaTeX Main\n vec: \"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\\nc-16-25.333-24-45-24-59z\",\n // widehat1 is a modified version of a glyph from the MnSymbol package\n widehat1: \"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z\",\n // ditto widehat2, widehat3, & widehat4\n widehat2: \"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z\",\n widehat3: \"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z\",\n widehat4: \"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z\",\n // widecheck paths are all inverted versions of widehat\n widecheck1: \"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z\",\n widecheck2: \"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z\",\n widecheck3: \"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z\",\n widecheck4: \"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z\",\n // The next ten paths support reaction arrows from the mhchem package.\n // Arrows for \\ce{<-->} are offset from xAxis by 0.22ex, per mhchem in LaTeX\n // baraboveleftarrow is mostly from glyph U+2190 in font KaTeX Main\n baraboveleftarrow: \"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z\",\n // rightarrowabovebar is mostly from glyph U+2192, KaTeX Main\n rightarrowabovebar: \"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z\",\n // The short left harpoon has 0.5em (i.e. 500 units) kern on the left end.\n // Ref from mhchem.sty: \\rlap{\\raisebox{-.22ex}{$\\kern0.5em\n baraboveshortleftharpoon: \"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z\",\n rightharpoonaboveshortbar: \"M0,241 l0,40c399126,0,399993,0,399993,0\\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z\",\n shortbaraboveleftharpoon: \"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z\",\n shortrightharpoonabovebar: \"M53,241l0,40c398570,0,399437,0,399437,0\\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z\"\n};\nconst tallDelim = function (label, midHeight) {\n switch (label) {\n case \"lbrack\":\n return \"M403 1759 V84 H666 V0 H319 V1759 v\" + midHeight + \" v1759 h347 v-84\\nH403z M403 1759 V0 H319 V1759 v\" + midHeight + \" v1759 h84z\";\n\n case \"rbrack\":\n return \"M347 1759 V0 H0 V84 H263 V1759 v\" + midHeight + \" v1759 H0 v84 H347z\\nM347 1759 V0 H263 V1759 v\" + midHeight + \" v1759 h84z\";\n\n case \"vert\":\n return \"M145 15 v585 v\" + midHeight + \" v585 c2.667,10,9.667,15,21,15\\nc10,0,16.667,-5,20,-15 v-585 v\" + -midHeight + \" v-585 c-2.667,-10,-9.667,-15,-21,-15\\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v\" + midHeight + \" v585 h43z\";\n\n case \"doublevert\":\n return \"M145 15 v585 v\" + midHeight + \" v585 c2.667,10,9.667,15,21,15\\nc10,0,16.667,-5,20,-15 v-585 v\" + -midHeight + \" v-585 c-2.667,-10,-9.667,-15,-21,-15\\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v\" + midHeight + \" v585 h43z\\nM367 15 v585 v\" + midHeight + \" v585 c2.667,10,9.667,15,21,15\\nc10,0,16.667,-5,20,-15 v-585 v\" + -midHeight + \" v-585 c-2.667,-10,-9.667,-15,-21,-15\\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v\" + midHeight + \" v585 h43z\";\n\n case \"lfloor\":\n return \"M319 602 V0 H403 V602 v\" + midHeight + \" v1715 h263 v84 H319z\\nMM319 602 V0 H403 V602 v\" + midHeight + \" v1715 H319z\";\n\n case \"rfloor\":\n return \"M319 602 V0 H403 V602 v\" + midHeight + \" v1799 H0 v-84 H319z\\nMM319 602 V0 H403 V602 v\" + midHeight + \" v1715 H319z\";\n\n case \"lceil\":\n return \"M403 1759 V84 H666 V0 H319 V1759 v\" + midHeight + \" v602 h84z\\nM403 1759 V0 H319 V1759 v\" + midHeight + \" v602 h84z\";\n\n case \"rceil\":\n return \"M347 1759 V0 H0 V84 H263 V1759 v\" + midHeight + \" v602 h84z\\nM347 1759 V0 h-84 V1759 v\" + midHeight + \" v602 h84z\";\n\n case \"lparen\":\n return \"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\\n-36,557 l0,\" + (midHeight + 84) + \"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\\nl0,-\" + (midHeight + 92) + \"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z\";\n\n case \"rparen\":\n return \"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,\" + (midHeight + 9) + \"\\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\\nl0,-\" + (midHeight + 144) + \"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z\";\n\n default:\n // We should not ever get here.\n throw new Error(\"Unknown stretchy delimiter.\");\n }\n};\n;// CONCATENATED MODULE: ./src/tree.js\n\n\n/**\n * This node represents a document fragment, which contains elements, but when\n * placed into the DOM doesn't have any representation itself. It only contains\n * children and doesn't have any DOM node properties.\n */\nclass DocumentFragment {\n // HtmlDomNode\n // Never used; needed for satisfying interface.\n constructor(children) {\n this.children = void 0;\n this.classes = void 0;\n this.height = void 0;\n this.depth = void 0;\n this.maxFontSize = void 0;\n this.style = void 0;\n this.children = children;\n this.classes = [];\n this.height = 0;\n this.depth = 0;\n this.maxFontSize = 0;\n this.style = {};\n }\n\n hasClass(className) {\n return utils.contains(this.classes, className);\n }\n /** Convert the fragment into a node. */\n\n\n toNode() {\n const frag = document.createDocumentFragment();\n\n for (let i = 0; i < this.children.length; i++) {\n frag.appendChild(this.children[i].toNode());\n }\n\n return frag;\n }\n /** Convert the fragment into HTML markup. */\n\n\n toMarkup() {\n let markup = \"\"; // Simply concatenate the markup for the children together.\n\n for (let i = 0; i < this.children.length; i++) {\n markup += this.children[i].toMarkup();\n }\n\n return markup;\n }\n /**\n * Converts the math node into a string, similar to innerText. Applies to\n * MathDomNode's only.\n */\n\n\n toText() {\n // To avoid this, we would subclass documentFragment separately for\n // MathML, but polyfills for subclassing is expensive per PR 1469.\n // $FlowFixMe: Only works for ChildType = MathDomNode.\n const toText = child => child.toText();\n\n return this.children.map(toText).join(\"\");\n }\n\n}\n;// CONCATENATED MODULE: ./src/fontMetricsData.js\n// This file is GENERATED by buildMetrics.sh. DO NOT MODIFY.\n/* harmony default export */ var fontMetricsData = ({\n \"AMS-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"65\": [0, 0.68889, 0, 0, 0.72222],\n \"66\": [0, 0.68889, 0, 0, 0.66667],\n \"67\": [0, 0.68889, 0, 0, 0.72222],\n \"68\": [0, 0.68889, 0, 0, 0.72222],\n \"69\": [0, 0.68889, 0, 0, 0.66667],\n \"70\": [0, 0.68889, 0, 0, 0.61111],\n \"71\": [0, 0.68889, 0, 0, 0.77778],\n \"72\": [0, 0.68889, 0, 0, 0.77778],\n \"73\": [0, 0.68889, 0, 0, 0.38889],\n \"74\": [0.16667, 0.68889, 0, 0, 0.5],\n \"75\": [0, 0.68889, 0, 0, 0.77778],\n \"76\": [0, 0.68889, 0, 0, 0.66667],\n \"77\": [0, 0.68889, 0, 0, 0.94445],\n \"78\": [0, 0.68889, 0, 0, 0.72222],\n \"79\": [0.16667, 0.68889, 0, 0, 0.77778],\n \"80\": [0, 0.68889, 0, 0, 0.61111],\n \"81\": [0.16667, 0.68889, 0, 0, 0.77778],\n \"82\": [0, 0.68889, 0, 0, 0.72222],\n \"83\": [0, 0.68889, 0, 0, 0.55556],\n \"84\": [0, 0.68889, 0, 0, 0.66667],\n \"85\": [0, 0.68889, 0, 0, 0.72222],\n \"86\": [0, 0.68889, 0, 0, 0.72222],\n \"87\": [0, 0.68889, 0, 0, 1.0],\n \"88\": [0, 0.68889, 0, 0, 0.72222],\n \"89\": [0, 0.68889, 0, 0, 0.72222],\n \"90\": [0, 0.68889, 0, 0, 0.66667],\n \"107\": [0, 0.68889, 0, 0, 0.55556],\n \"160\": [0, 0, 0, 0, 0.25],\n \"165\": [0, 0.675, 0.025, 0, 0.75],\n \"174\": [0.15559, 0.69224, 0, 0, 0.94666],\n \"240\": [0, 0.68889, 0, 0, 0.55556],\n \"295\": [0, 0.68889, 0, 0, 0.54028],\n \"710\": [0, 0.825, 0, 0, 2.33334],\n \"732\": [0, 0.9, 0, 0, 2.33334],\n \"770\": [0, 0.825, 0, 0, 2.33334],\n \"771\": [0, 0.9, 0, 0, 2.33334],\n \"989\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"1008\": [0, 0.43056, 0.04028, 0, 0.66667],\n \"8245\": [0, 0.54986, 0, 0, 0.275],\n \"8463\": [0, 0.68889, 0, 0, 0.54028],\n \"8487\": [0, 0.68889, 0, 0, 0.72222],\n \"8498\": [0, 0.68889, 0, 0, 0.55556],\n \"8502\": [0, 0.68889, 0, 0, 0.66667],\n \"8503\": [0, 0.68889, 0, 0, 0.44445],\n \"8504\": [0, 0.68889, 0, 0, 0.66667],\n \"8513\": [0, 0.68889, 0, 0, 0.63889],\n \"8592\": [-0.03598, 0.46402, 0, 0, 0.5],\n \"8594\": [-0.03598, 0.46402, 0, 0, 0.5],\n \"8602\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8603\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8606\": [0.01354, 0.52239, 0, 0, 1.0],\n \"8608\": [0.01354, 0.52239, 0, 0, 1.0],\n \"8610\": [0.01354, 0.52239, 0, 0, 1.11111],\n \"8611\": [0.01354, 0.52239, 0, 0, 1.11111],\n \"8619\": [0, 0.54986, 0, 0, 1.0],\n \"8620\": [0, 0.54986, 0, 0, 1.0],\n \"8621\": [-0.13313, 0.37788, 0, 0, 1.38889],\n \"8622\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8624\": [0, 0.69224, 0, 0, 0.5],\n \"8625\": [0, 0.69224, 0, 0, 0.5],\n \"8630\": [0, 0.43056, 0, 0, 1.0],\n \"8631\": [0, 0.43056, 0, 0, 1.0],\n \"8634\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8635\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8638\": [0.19444, 0.69224, 0, 0, 0.41667],\n \"8639\": [0.19444, 0.69224, 0, 0, 0.41667],\n \"8642\": [0.19444, 0.69224, 0, 0, 0.41667],\n \"8643\": [0.19444, 0.69224, 0, 0, 0.41667],\n \"8644\": [0.1808, 0.675, 0, 0, 1.0],\n \"8646\": [0.1808, 0.675, 0, 0, 1.0],\n \"8647\": [0.1808, 0.675, 0, 0, 1.0],\n \"8648\": [0.19444, 0.69224, 0, 0, 0.83334],\n \"8649\": [0.1808, 0.675, 0, 0, 1.0],\n \"8650\": [0.19444, 0.69224, 0, 0, 0.83334],\n \"8651\": [0.01354, 0.52239, 0, 0, 1.0],\n \"8652\": [0.01354, 0.52239, 0, 0, 1.0],\n \"8653\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8654\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8655\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8666\": [0.13667, 0.63667, 0, 0, 1.0],\n \"8667\": [0.13667, 0.63667, 0, 0, 1.0],\n \"8669\": [-0.13313, 0.37788, 0, 0, 1.0],\n \"8672\": [-0.064, 0.437, 0, 0, 1.334],\n \"8674\": [-0.064, 0.437, 0, 0, 1.334],\n \"8705\": [0, 0.825, 0, 0, 0.5],\n \"8708\": [0, 0.68889, 0, 0, 0.55556],\n \"8709\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"8717\": [0, 0.43056, 0, 0, 0.42917],\n \"8722\": [-0.03598, 0.46402, 0, 0, 0.5],\n \"8724\": [0.08198, 0.69224, 0, 0, 0.77778],\n \"8726\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"8733\": [0, 0.69224, 0, 0, 0.77778],\n \"8736\": [0, 0.69224, 0, 0, 0.72222],\n \"8737\": [0, 0.69224, 0, 0, 0.72222],\n \"8738\": [0.03517, 0.52239, 0, 0, 0.72222],\n \"8739\": [0.08167, 0.58167, 0, 0, 0.22222],\n \"8740\": [0.25142, 0.74111, 0, 0, 0.27778],\n \"8741\": [0.08167, 0.58167, 0, 0, 0.38889],\n \"8742\": [0.25142, 0.74111, 0, 0, 0.5],\n \"8756\": [0, 0.69224, 0, 0, 0.66667],\n \"8757\": [0, 0.69224, 0, 0, 0.66667],\n \"8764\": [-0.13313, 0.36687, 0, 0, 0.77778],\n \"8765\": [-0.13313, 0.37788, 0, 0, 0.77778],\n \"8769\": [-0.13313, 0.36687, 0, 0, 0.77778],\n \"8770\": [-0.03625, 0.46375, 0, 0, 0.77778],\n \"8774\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8776\": [-0.01688, 0.48312, 0, 0, 0.77778],\n \"8778\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"8782\": [0.06062, 0.54986, 0, 0, 0.77778],\n \"8783\": [0.06062, 0.54986, 0, 0, 0.77778],\n \"8785\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8786\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8787\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8790\": [0, 0.69224, 0, 0, 0.77778],\n \"8791\": [0.22958, 0.72958, 0, 0, 0.77778],\n \"8796\": [0.08198, 0.91667, 0, 0, 0.77778],\n \"8806\": [0.25583, 0.75583, 0, 0, 0.77778],\n \"8807\": [0.25583, 0.75583, 0, 0, 0.77778],\n \"8808\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"8809\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"8812\": [0.25583, 0.75583, 0, 0, 0.5],\n \"8814\": [0.20576, 0.70576, 0, 0, 0.77778],\n \"8815\": [0.20576, 0.70576, 0, 0, 0.77778],\n \"8816\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8817\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8818\": [0.22958, 0.72958, 0, 0, 0.77778],\n \"8819\": [0.22958, 0.72958, 0, 0, 0.77778],\n \"8822\": [0.1808, 0.675, 0, 0, 0.77778],\n \"8823\": [0.1808, 0.675, 0, 0, 0.77778],\n \"8828\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"8829\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"8830\": [0.22958, 0.72958, 0, 0, 0.77778],\n \"8831\": [0.22958, 0.72958, 0, 0, 0.77778],\n \"8832\": [0.20576, 0.70576, 0, 0, 0.77778],\n \"8833\": [0.20576, 0.70576, 0, 0, 0.77778],\n \"8840\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8841\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8842\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8843\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8847\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"8848\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"8858\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8859\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8861\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8862\": [0, 0.675, 0, 0, 0.77778],\n \"8863\": [0, 0.675, 0, 0, 0.77778],\n \"8864\": [0, 0.675, 0, 0, 0.77778],\n \"8865\": [0, 0.675, 0, 0, 0.77778],\n \"8872\": [0, 0.69224, 0, 0, 0.61111],\n \"8873\": [0, 0.69224, 0, 0, 0.72222],\n \"8874\": [0, 0.69224, 0, 0, 0.88889],\n \"8876\": [0, 0.68889, 0, 0, 0.61111],\n \"8877\": [0, 0.68889, 0, 0, 0.61111],\n \"8878\": [0, 0.68889, 0, 0, 0.72222],\n \"8879\": [0, 0.68889, 0, 0, 0.72222],\n \"8882\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"8883\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"8884\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"8885\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"8888\": [0, 0.54986, 0, 0, 1.11111],\n \"8890\": [0.19444, 0.43056, 0, 0, 0.55556],\n \"8891\": [0.19444, 0.69224, 0, 0, 0.61111],\n \"8892\": [0.19444, 0.69224, 0, 0, 0.61111],\n \"8901\": [0, 0.54986, 0, 0, 0.27778],\n \"8903\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"8905\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"8906\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"8907\": [0, 0.69224, 0, 0, 0.77778],\n \"8908\": [0, 0.69224, 0, 0, 0.77778],\n \"8909\": [-0.03598, 0.46402, 0, 0, 0.77778],\n \"8910\": [0, 0.54986, 0, 0, 0.76042],\n \"8911\": [0, 0.54986, 0, 0, 0.76042],\n \"8912\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"8913\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"8914\": [0, 0.54986, 0, 0, 0.66667],\n \"8915\": [0, 0.54986, 0, 0, 0.66667],\n \"8916\": [0, 0.69224, 0, 0, 0.66667],\n \"8918\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"8919\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"8920\": [0.03517, 0.54986, 0, 0, 1.33334],\n \"8921\": [0.03517, 0.54986, 0, 0, 1.33334],\n \"8922\": [0.38569, 0.88569, 0, 0, 0.77778],\n \"8923\": [0.38569, 0.88569, 0, 0, 0.77778],\n \"8926\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"8927\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"8928\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8929\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8934\": [0.23222, 0.74111, 0, 0, 0.77778],\n \"8935\": [0.23222, 0.74111, 0, 0, 0.77778],\n \"8936\": [0.23222, 0.74111, 0, 0, 0.77778],\n \"8937\": [0.23222, 0.74111, 0, 0, 0.77778],\n \"8938\": [0.20576, 0.70576, 0, 0, 0.77778],\n \"8939\": [0.20576, 0.70576, 0, 0, 0.77778],\n \"8940\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8941\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8994\": [0.19444, 0.69224, 0, 0, 0.77778],\n \"8995\": [0.19444, 0.69224, 0, 0, 0.77778],\n \"9416\": [0.15559, 0.69224, 0, 0, 0.90222],\n \"9484\": [0, 0.69224, 0, 0, 0.5],\n \"9488\": [0, 0.69224, 0, 0, 0.5],\n \"9492\": [0, 0.37788, 0, 0, 0.5],\n \"9496\": [0, 0.37788, 0, 0, 0.5],\n \"9585\": [0.19444, 0.68889, 0, 0, 0.88889],\n \"9586\": [0.19444, 0.74111, 0, 0, 0.88889],\n \"9632\": [0, 0.675, 0, 0, 0.77778],\n \"9633\": [0, 0.675, 0, 0, 0.77778],\n \"9650\": [0, 0.54986, 0, 0, 0.72222],\n \"9651\": [0, 0.54986, 0, 0, 0.72222],\n \"9654\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"9660\": [0, 0.54986, 0, 0, 0.72222],\n \"9661\": [0, 0.54986, 0, 0, 0.72222],\n \"9664\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"9674\": [0.11111, 0.69224, 0, 0, 0.66667],\n \"9733\": [0.19444, 0.69224, 0, 0, 0.94445],\n \"10003\": [0, 0.69224, 0, 0, 0.83334],\n \"10016\": [0, 0.69224, 0, 0, 0.83334],\n \"10731\": [0.11111, 0.69224, 0, 0, 0.66667],\n \"10846\": [0.19444, 0.75583, 0, 0, 0.61111],\n \"10877\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"10878\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"10885\": [0.25583, 0.75583, 0, 0, 0.77778],\n \"10886\": [0.25583, 0.75583, 0, 0, 0.77778],\n \"10887\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"10888\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"10889\": [0.26167, 0.75726, 0, 0, 0.77778],\n \"10890\": [0.26167, 0.75726, 0, 0, 0.77778],\n \"10891\": [0.48256, 0.98256, 0, 0, 0.77778],\n \"10892\": [0.48256, 0.98256, 0, 0, 0.77778],\n \"10901\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"10902\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"10933\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"10934\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"10935\": [0.26167, 0.75726, 0, 0, 0.77778],\n \"10936\": [0.26167, 0.75726, 0, 0, 0.77778],\n \"10937\": [0.26167, 0.75726, 0, 0, 0.77778],\n \"10938\": [0.26167, 0.75726, 0, 0, 0.77778],\n \"10949\": [0.25583, 0.75583, 0, 0, 0.77778],\n \"10950\": [0.25583, 0.75583, 0, 0, 0.77778],\n \"10955\": [0.28481, 0.79383, 0, 0, 0.77778],\n \"10956\": [0.28481, 0.79383, 0, 0, 0.77778],\n \"57350\": [0.08167, 0.58167, 0, 0, 0.22222],\n \"57351\": [0.08167, 0.58167, 0, 0, 0.38889],\n \"57352\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"57353\": [0, 0.43056, 0.04028, 0, 0.66667],\n \"57356\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"57357\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"57358\": [0.41951, 0.91951, 0, 0, 0.77778],\n \"57359\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"57360\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"57361\": [0.41951, 0.91951, 0, 0, 0.77778],\n \"57366\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"57367\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"57368\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"57369\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"57370\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"57371\": [0.13597, 0.63597, 0, 0, 0.77778]\n },\n \"Caligraphic-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"65\": [0, 0.68333, 0, 0.19445, 0.79847],\n \"66\": [0, 0.68333, 0.03041, 0.13889, 0.65681],\n \"67\": [0, 0.68333, 0.05834, 0.13889, 0.52653],\n \"68\": [0, 0.68333, 0.02778, 0.08334, 0.77139],\n \"69\": [0, 0.68333, 0.08944, 0.11111, 0.52778],\n \"70\": [0, 0.68333, 0.09931, 0.11111, 0.71875],\n \"71\": [0.09722, 0.68333, 0.0593, 0.11111, 0.59487],\n \"72\": [0, 0.68333, 0.00965, 0.11111, 0.84452],\n \"73\": [0, 0.68333, 0.07382, 0, 0.54452],\n \"74\": [0.09722, 0.68333, 0.18472, 0.16667, 0.67778],\n \"75\": [0, 0.68333, 0.01445, 0.05556, 0.76195],\n \"76\": [0, 0.68333, 0, 0.13889, 0.68972],\n \"77\": [0, 0.68333, 0, 0.13889, 1.2009],\n \"78\": [0, 0.68333, 0.14736, 0.08334, 0.82049],\n \"79\": [0, 0.68333, 0.02778, 0.11111, 0.79611],\n \"80\": [0, 0.68333, 0.08222, 0.08334, 0.69556],\n \"81\": [0.09722, 0.68333, 0, 0.11111, 0.81667],\n \"82\": [0, 0.68333, 0, 0.08334, 0.8475],\n \"83\": [0, 0.68333, 0.075, 0.13889, 0.60556],\n \"84\": [0, 0.68333, 0.25417, 0, 0.54464],\n \"85\": [0, 0.68333, 0.09931, 0.08334, 0.62583],\n \"86\": [0, 0.68333, 0.08222, 0, 0.61278],\n \"87\": [0, 0.68333, 0.08222, 0.08334, 0.98778],\n \"88\": [0, 0.68333, 0.14643, 0.13889, 0.7133],\n \"89\": [0.09722, 0.68333, 0.08222, 0.08334, 0.66834],\n \"90\": [0, 0.68333, 0.07944, 0.13889, 0.72473],\n \"160\": [0, 0, 0, 0, 0.25]\n },\n \"Fraktur-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69141, 0, 0, 0.29574],\n \"34\": [0, 0.69141, 0, 0, 0.21471],\n \"38\": [0, 0.69141, 0, 0, 0.73786],\n \"39\": [0, 0.69141, 0, 0, 0.21201],\n \"40\": [0.24982, 0.74947, 0, 0, 0.38865],\n \"41\": [0.24982, 0.74947, 0, 0, 0.38865],\n \"42\": [0, 0.62119, 0, 0, 0.27764],\n \"43\": [0.08319, 0.58283, 0, 0, 0.75623],\n \"44\": [0, 0.10803, 0, 0, 0.27764],\n \"45\": [0.08319, 0.58283, 0, 0, 0.75623],\n \"46\": [0, 0.10803, 0, 0, 0.27764],\n \"47\": [0.24982, 0.74947, 0, 0, 0.50181],\n \"48\": [0, 0.47534, 0, 0, 0.50181],\n \"49\": [0, 0.47534, 0, 0, 0.50181],\n \"50\": [0, 0.47534, 0, 0, 0.50181],\n \"51\": [0.18906, 0.47534, 0, 0, 0.50181],\n \"52\": [0.18906, 0.47534, 0, 0, 0.50181],\n \"53\": [0.18906, 0.47534, 0, 0, 0.50181],\n \"54\": [0, 0.69141, 0, 0, 0.50181],\n \"55\": [0.18906, 0.47534, 0, 0, 0.50181],\n \"56\": [0, 0.69141, 0, 0, 0.50181],\n \"57\": [0.18906, 0.47534, 0, 0, 0.50181],\n \"58\": [0, 0.47534, 0, 0, 0.21606],\n \"59\": [0.12604, 0.47534, 0, 0, 0.21606],\n \"61\": [-0.13099, 0.36866, 0, 0, 0.75623],\n \"63\": [0, 0.69141, 0, 0, 0.36245],\n \"65\": [0, 0.69141, 0, 0, 0.7176],\n \"66\": [0, 0.69141, 0, 0, 0.88397],\n \"67\": [0, 0.69141, 0, 0, 0.61254],\n \"68\": [0, 0.69141, 0, 0, 0.83158],\n \"69\": [0, 0.69141, 0, 0, 0.66278],\n \"70\": [0.12604, 0.69141, 0, 0, 0.61119],\n \"71\": [0, 0.69141, 0, 0, 0.78539],\n \"72\": [0.06302, 0.69141, 0, 0, 0.7203],\n \"73\": [0, 0.69141, 0, 0, 0.55448],\n \"74\": [0.12604, 0.69141, 0, 0, 0.55231],\n \"75\": [0, 0.69141, 0, 0, 0.66845],\n \"76\": [0, 0.69141, 0, 0, 0.66602],\n \"77\": [0, 0.69141, 0, 0, 1.04953],\n \"78\": [0, 0.69141, 0, 0, 0.83212],\n \"79\": [0, 0.69141, 0, 0, 0.82699],\n \"80\": [0.18906, 0.69141, 0, 0, 0.82753],\n \"81\": [0.03781, 0.69141, 0, 0, 0.82699],\n \"82\": [0, 0.69141, 0, 0, 0.82807],\n \"83\": [0, 0.69141, 0, 0, 0.82861],\n \"84\": [0, 0.69141, 0, 0, 0.66899],\n \"85\": [0, 0.69141, 0, 0, 0.64576],\n \"86\": [0, 0.69141, 0, 0, 0.83131],\n \"87\": [0, 0.69141, 0, 0, 1.04602],\n \"88\": [0, 0.69141, 0, 0, 0.71922],\n \"89\": [0.18906, 0.69141, 0, 0, 0.83293],\n \"90\": [0.12604, 0.69141, 0, 0, 0.60201],\n \"91\": [0.24982, 0.74947, 0, 0, 0.27764],\n \"93\": [0.24982, 0.74947, 0, 0, 0.27764],\n \"94\": [0, 0.69141, 0, 0, 0.49965],\n \"97\": [0, 0.47534, 0, 0, 0.50046],\n \"98\": [0, 0.69141, 0, 0, 0.51315],\n \"99\": [0, 0.47534, 0, 0, 0.38946],\n \"100\": [0, 0.62119, 0, 0, 0.49857],\n \"101\": [0, 0.47534, 0, 0, 0.40053],\n \"102\": [0.18906, 0.69141, 0, 0, 0.32626],\n \"103\": [0.18906, 0.47534, 0, 0, 0.5037],\n \"104\": [0.18906, 0.69141, 0, 0, 0.52126],\n \"105\": [0, 0.69141, 0, 0, 0.27899],\n \"106\": [0, 0.69141, 0, 0, 0.28088],\n \"107\": [0, 0.69141, 0, 0, 0.38946],\n \"108\": [0, 0.69141, 0, 0, 0.27953],\n \"109\": [0, 0.47534, 0, 0, 0.76676],\n \"110\": [0, 0.47534, 0, 0, 0.52666],\n \"111\": [0, 0.47534, 0, 0, 0.48885],\n \"112\": [0.18906, 0.52396, 0, 0, 0.50046],\n \"113\": [0.18906, 0.47534, 0, 0, 0.48912],\n \"114\": [0, 0.47534, 0, 0, 0.38919],\n \"115\": [0, 0.47534, 0, 0, 0.44266],\n \"116\": [0, 0.62119, 0, 0, 0.33301],\n \"117\": [0, 0.47534, 0, 0, 0.5172],\n \"118\": [0, 0.52396, 0, 0, 0.5118],\n \"119\": [0, 0.52396, 0, 0, 0.77351],\n \"120\": [0.18906, 0.47534, 0, 0, 0.38865],\n \"121\": [0.18906, 0.47534, 0, 0, 0.49884],\n \"122\": [0.18906, 0.47534, 0, 0, 0.39054],\n \"160\": [0, 0, 0, 0, 0.25],\n \"8216\": [0, 0.69141, 0, 0, 0.21471],\n \"8217\": [0, 0.69141, 0, 0, 0.21471],\n \"58112\": [0, 0.62119, 0, 0, 0.49749],\n \"58113\": [0, 0.62119, 0, 0, 0.4983],\n \"58114\": [0.18906, 0.69141, 0, 0, 0.33328],\n \"58115\": [0.18906, 0.69141, 0, 0, 0.32923],\n \"58116\": [0.18906, 0.47534, 0, 0, 0.50343],\n \"58117\": [0, 0.69141, 0, 0, 0.33301],\n \"58118\": [0, 0.62119, 0, 0, 0.33409],\n \"58119\": [0, 0.47534, 0, 0, 0.50073]\n },\n \"Main-Bold\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69444, 0, 0, 0.35],\n \"34\": [0, 0.69444, 0, 0, 0.60278],\n \"35\": [0.19444, 0.69444, 0, 0, 0.95833],\n \"36\": [0.05556, 0.75, 0, 0, 0.575],\n \"37\": [0.05556, 0.75, 0, 0, 0.95833],\n \"38\": [0, 0.69444, 0, 0, 0.89444],\n \"39\": [0, 0.69444, 0, 0, 0.31944],\n \"40\": [0.25, 0.75, 0, 0, 0.44722],\n \"41\": [0.25, 0.75, 0, 0, 0.44722],\n \"42\": [0, 0.75, 0, 0, 0.575],\n \"43\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"44\": [0.19444, 0.15556, 0, 0, 0.31944],\n \"45\": [0, 0.44444, 0, 0, 0.38333],\n \"46\": [0, 0.15556, 0, 0, 0.31944],\n \"47\": [0.25, 0.75, 0, 0, 0.575],\n \"48\": [0, 0.64444, 0, 0, 0.575],\n \"49\": [0, 0.64444, 0, 0, 0.575],\n \"50\": [0, 0.64444, 0, 0, 0.575],\n \"51\": [0, 0.64444, 0, 0, 0.575],\n \"52\": [0, 0.64444, 0, 0, 0.575],\n \"53\": [0, 0.64444, 0, 0, 0.575],\n \"54\": [0, 0.64444, 0, 0, 0.575],\n \"55\": [0, 0.64444, 0, 0, 0.575],\n \"56\": [0, 0.64444, 0, 0, 0.575],\n \"57\": [0, 0.64444, 0, 0, 0.575],\n \"58\": [0, 0.44444, 0, 0, 0.31944],\n \"59\": [0.19444, 0.44444, 0, 0, 0.31944],\n \"60\": [0.08556, 0.58556, 0, 0, 0.89444],\n \"61\": [-0.10889, 0.39111, 0, 0, 0.89444],\n \"62\": [0.08556, 0.58556, 0, 0, 0.89444],\n \"63\": [0, 0.69444, 0, 0, 0.54305],\n \"64\": [0, 0.69444, 0, 0, 0.89444],\n \"65\": [0, 0.68611, 0, 0, 0.86944],\n \"66\": [0, 0.68611, 0, 0, 0.81805],\n \"67\": [0, 0.68611, 0, 0, 0.83055],\n \"68\": [0, 0.68611, 0, 0, 0.88194],\n \"69\": [0, 0.68611, 0, 0, 0.75555],\n \"70\": [0, 0.68611, 0, 0, 0.72361],\n \"71\": [0, 0.68611, 0, 0, 0.90416],\n \"72\": [0, 0.68611, 0, 0, 0.9],\n \"73\": [0, 0.68611, 0, 0, 0.43611],\n \"74\": [0, 0.68611, 0, 0, 0.59444],\n \"75\": [0, 0.68611, 0, 0, 0.90138],\n \"76\": [0, 0.68611, 0, 0, 0.69166],\n \"77\": [0, 0.68611, 0, 0, 1.09166],\n \"78\": [0, 0.68611, 0, 0, 0.9],\n \"79\": [0, 0.68611, 0, 0, 0.86388],\n \"80\": [0, 0.68611, 0, 0, 0.78611],\n \"81\": [0.19444, 0.68611, 0, 0, 0.86388],\n \"82\": [0, 0.68611, 0, 0, 0.8625],\n \"83\": [0, 0.68611, 0, 0, 0.63889],\n \"84\": [0, 0.68611, 0, 0, 0.8],\n \"85\": [0, 0.68611, 0, 0, 0.88472],\n \"86\": [0, 0.68611, 0.01597, 0, 0.86944],\n \"87\": [0, 0.68611, 0.01597, 0, 1.18888],\n \"88\": [0, 0.68611, 0, 0, 0.86944],\n \"89\": [0, 0.68611, 0.02875, 0, 0.86944],\n \"90\": [0, 0.68611, 0, 0, 0.70277],\n \"91\": [0.25, 0.75, 0, 0, 0.31944],\n \"92\": [0.25, 0.75, 0, 0, 0.575],\n \"93\": [0.25, 0.75, 0, 0, 0.31944],\n \"94\": [0, 0.69444, 0, 0, 0.575],\n \"95\": [0.31, 0.13444, 0.03194, 0, 0.575],\n \"97\": [0, 0.44444, 0, 0, 0.55902],\n \"98\": [0, 0.69444, 0, 0, 0.63889],\n \"99\": [0, 0.44444, 0, 0, 0.51111],\n \"100\": [0, 0.69444, 0, 0, 0.63889],\n \"101\": [0, 0.44444, 0, 0, 0.52708],\n \"102\": [0, 0.69444, 0.10903, 0, 0.35139],\n \"103\": [0.19444, 0.44444, 0.01597, 0, 0.575],\n \"104\": [0, 0.69444, 0, 0, 0.63889],\n \"105\": [0, 0.69444, 0, 0, 0.31944],\n \"106\": [0.19444, 0.69444, 0, 0, 0.35139],\n \"107\": [0, 0.69444, 0, 0, 0.60694],\n \"108\": [0, 0.69444, 0, 0, 0.31944],\n \"109\": [0, 0.44444, 0, 0, 0.95833],\n \"110\": [0, 0.44444, 0, 0, 0.63889],\n \"111\": [0, 0.44444, 0, 0, 0.575],\n \"112\": [0.19444, 0.44444, 0, 0, 0.63889],\n \"113\": [0.19444, 0.44444, 0, 0, 0.60694],\n \"114\": [0, 0.44444, 0, 0, 0.47361],\n \"115\": [0, 0.44444, 0, 0, 0.45361],\n \"116\": [0, 0.63492, 0, 0, 0.44722],\n \"117\": [0, 0.44444, 0, 0, 0.63889],\n \"118\": [0, 0.44444, 0.01597, 0, 0.60694],\n \"119\": [0, 0.44444, 0.01597, 0, 0.83055],\n \"120\": [0, 0.44444, 0, 0, 0.60694],\n \"121\": [0.19444, 0.44444, 0.01597, 0, 0.60694],\n \"122\": [0, 0.44444, 0, 0, 0.51111],\n \"123\": [0.25, 0.75, 0, 0, 0.575],\n \"124\": [0.25, 0.75, 0, 0, 0.31944],\n \"125\": [0.25, 0.75, 0, 0, 0.575],\n \"126\": [0.35, 0.34444, 0, 0, 0.575],\n \"160\": [0, 0, 0, 0, 0.25],\n \"163\": [0, 0.69444, 0, 0, 0.86853],\n \"168\": [0, 0.69444, 0, 0, 0.575],\n \"172\": [0, 0.44444, 0, 0, 0.76666],\n \"176\": [0, 0.69444, 0, 0, 0.86944],\n \"177\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"184\": [0.17014, 0, 0, 0, 0.51111],\n \"198\": [0, 0.68611, 0, 0, 1.04166],\n \"215\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"216\": [0.04861, 0.73472, 0, 0, 0.89444],\n \"223\": [0, 0.69444, 0, 0, 0.59722],\n \"230\": [0, 0.44444, 0, 0, 0.83055],\n \"247\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"248\": [0.09722, 0.54167, 0, 0, 0.575],\n \"305\": [0, 0.44444, 0, 0, 0.31944],\n \"338\": [0, 0.68611, 0, 0, 1.16944],\n \"339\": [0, 0.44444, 0, 0, 0.89444],\n \"567\": [0.19444, 0.44444, 0, 0, 0.35139],\n \"710\": [0, 0.69444, 0, 0, 0.575],\n \"711\": [0, 0.63194, 0, 0, 0.575],\n \"713\": [0, 0.59611, 0, 0, 0.575],\n \"714\": [0, 0.69444, 0, 0, 0.575],\n \"715\": [0, 0.69444, 0, 0, 0.575],\n \"728\": [0, 0.69444, 0, 0, 0.575],\n \"729\": [0, 0.69444, 0, 0, 0.31944],\n \"730\": [0, 0.69444, 0, 0, 0.86944],\n \"732\": [0, 0.69444, 0, 0, 0.575],\n \"733\": [0, 0.69444, 0, 0, 0.575],\n \"915\": [0, 0.68611, 0, 0, 0.69166],\n \"916\": [0, 0.68611, 0, 0, 0.95833],\n \"920\": [0, 0.68611, 0, 0, 0.89444],\n \"923\": [0, 0.68611, 0, 0, 0.80555],\n \"926\": [0, 0.68611, 0, 0, 0.76666],\n \"928\": [0, 0.68611, 0, 0, 0.9],\n \"931\": [0, 0.68611, 0, 0, 0.83055],\n \"933\": [0, 0.68611, 0, 0, 0.89444],\n \"934\": [0, 0.68611, 0, 0, 0.83055],\n \"936\": [0, 0.68611, 0, 0, 0.89444],\n \"937\": [0, 0.68611, 0, 0, 0.83055],\n \"8211\": [0, 0.44444, 0.03194, 0, 0.575],\n \"8212\": [0, 0.44444, 0.03194, 0, 1.14999],\n \"8216\": [0, 0.69444, 0, 0, 0.31944],\n \"8217\": [0, 0.69444, 0, 0, 0.31944],\n \"8220\": [0, 0.69444, 0, 0, 0.60278],\n \"8221\": [0, 0.69444, 0, 0, 0.60278],\n \"8224\": [0.19444, 0.69444, 0, 0, 0.51111],\n \"8225\": [0.19444, 0.69444, 0, 0, 0.51111],\n \"8242\": [0, 0.55556, 0, 0, 0.34444],\n \"8407\": [0, 0.72444, 0.15486, 0, 0.575],\n \"8463\": [0, 0.69444, 0, 0, 0.66759],\n \"8465\": [0, 0.69444, 0, 0, 0.83055],\n \"8467\": [0, 0.69444, 0, 0, 0.47361],\n \"8472\": [0.19444, 0.44444, 0, 0, 0.74027],\n \"8476\": [0, 0.69444, 0, 0, 0.83055],\n \"8501\": [0, 0.69444, 0, 0, 0.70277],\n \"8592\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8593\": [0.19444, 0.69444, 0, 0, 0.575],\n \"8594\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8595\": [0.19444, 0.69444, 0, 0, 0.575],\n \"8596\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8597\": [0.25, 0.75, 0, 0, 0.575],\n \"8598\": [0.19444, 0.69444, 0, 0, 1.14999],\n \"8599\": [0.19444, 0.69444, 0, 0, 1.14999],\n \"8600\": [0.19444, 0.69444, 0, 0, 1.14999],\n \"8601\": [0.19444, 0.69444, 0, 0, 1.14999],\n \"8636\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8637\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8640\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8641\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8656\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8657\": [0.19444, 0.69444, 0, 0, 0.70277],\n \"8658\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8659\": [0.19444, 0.69444, 0, 0, 0.70277],\n \"8660\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8661\": [0.25, 0.75, 0, 0, 0.70277],\n \"8704\": [0, 0.69444, 0, 0, 0.63889],\n \"8706\": [0, 0.69444, 0.06389, 0, 0.62847],\n \"8707\": [0, 0.69444, 0, 0, 0.63889],\n \"8709\": [0.05556, 0.75, 0, 0, 0.575],\n \"8711\": [0, 0.68611, 0, 0, 0.95833],\n \"8712\": [0.08556, 0.58556, 0, 0, 0.76666],\n \"8715\": [0.08556, 0.58556, 0, 0, 0.76666],\n \"8722\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"8723\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"8725\": [0.25, 0.75, 0, 0, 0.575],\n \"8726\": [0.25, 0.75, 0, 0, 0.575],\n \"8727\": [-0.02778, 0.47222, 0, 0, 0.575],\n \"8728\": [-0.02639, 0.47361, 0, 0, 0.575],\n \"8729\": [-0.02639, 0.47361, 0, 0, 0.575],\n \"8730\": [0.18, 0.82, 0, 0, 0.95833],\n \"8733\": [0, 0.44444, 0, 0, 0.89444],\n \"8734\": [0, 0.44444, 0, 0, 1.14999],\n \"8736\": [0, 0.69224, 0, 0, 0.72222],\n \"8739\": [0.25, 0.75, 0, 0, 0.31944],\n \"8741\": [0.25, 0.75, 0, 0, 0.575],\n \"8743\": [0, 0.55556, 0, 0, 0.76666],\n \"8744\": [0, 0.55556, 0, 0, 0.76666],\n \"8745\": [0, 0.55556, 0, 0, 0.76666],\n \"8746\": [0, 0.55556, 0, 0, 0.76666],\n \"8747\": [0.19444, 0.69444, 0.12778, 0, 0.56875],\n \"8764\": [-0.10889, 0.39111, 0, 0, 0.89444],\n \"8768\": [0.19444, 0.69444, 0, 0, 0.31944],\n \"8771\": [0.00222, 0.50222, 0, 0, 0.89444],\n \"8773\": [0.027, 0.638, 0, 0, 0.894],\n \"8776\": [0.02444, 0.52444, 0, 0, 0.89444],\n \"8781\": [0.00222, 0.50222, 0, 0, 0.89444],\n \"8801\": [0.00222, 0.50222, 0, 0, 0.89444],\n \"8804\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"8805\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"8810\": [0.08556, 0.58556, 0, 0, 1.14999],\n \"8811\": [0.08556, 0.58556, 0, 0, 1.14999],\n \"8826\": [0.08556, 0.58556, 0, 0, 0.89444],\n \"8827\": [0.08556, 0.58556, 0, 0, 0.89444],\n \"8834\": [0.08556, 0.58556, 0, 0, 0.89444],\n \"8835\": [0.08556, 0.58556, 0, 0, 0.89444],\n \"8838\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"8839\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"8846\": [0, 0.55556, 0, 0, 0.76666],\n \"8849\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"8850\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"8851\": [0, 0.55556, 0, 0, 0.76666],\n \"8852\": [0, 0.55556, 0, 0, 0.76666],\n \"8853\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"8854\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"8855\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"8856\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"8857\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"8866\": [0, 0.69444, 0, 0, 0.70277],\n \"8867\": [0, 0.69444, 0, 0, 0.70277],\n \"8868\": [0, 0.69444, 0, 0, 0.89444],\n \"8869\": [0, 0.69444, 0, 0, 0.89444],\n \"8900\": [-0.02639, 0.47361, 0, 0, 0.575],\n \"8901\": [-0.02639, 0.47361, 0, 0, 0.31944],\n \"8902\": [-0.02778, 0.47222, 0, 0, 0.575],\n \"8968\": [0.25, 0.75, 0, 0, 0.51111],\n \"8969\": [0.25, 0.75, 0, 0, 0.51111],\n \"8970\": [0.25, 0.75, 0, 0, 0.51111],\n \"8971\": [0.25, 0.75, 0, 0, 0.51111],\n \"8994\": [-0.13889, 0.36111, 0, 0, 1.14999],\n \"8995\": [-0.13889, 0.36111, 0, 0, 1.14999],\n \"9651\": [0.19444, 0.69444, 0, 0, 1.02222],\n \"9657\": [-0.02778, 0.47222, 0, 0, 0.575],\n \"9661\": [0.19444, 0.69444, 0, 0, 1.02222],\n \"9667\": [-0.02778, 0.47222, 0, 0, 0.575],\n \"9711\": [0.19444, 0.69444, 0, 0, 1.14999],\n \"9824\": [0.12963, 0.69444, 0, 0, 0.89444],\n \"9825\": [0.12963, 0.69444, 0, 0, 0.89444],\n \"9826\": [0.12963, 0.69444, 0, 0, 0.89444],\n \"9827\": [0.12963, 0.69444, 0, 0, 0.89444],\n \"9837\": [0, 0.75, 0, 0, 0.44722],\n \"9838\": [0.19444, 0.69444, 0, 0, 0.44722],\n \"9839\": [0.19444, 0.69444, 0, 0, 0.44722],\n \"10216\": [0.25, 0.75, 0, 0, 0.44722],\n \"10217\": [0.25, 0.75, 0, 0, 0.44722],\n \"10815\": [0, 0.68611, 0, 0, 0.9],\n \"10927\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"10928\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"57376\": [0.19444, 0.69444, 0, 0, 0]\n },\n \"Main-BoldItalic\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69444, 0.11417, 0, 0.38611],\n \"34\": [0, 0.69444, 0.07939, 0, 0.62055],\n \"35\": [0.19444, 0.69444, 0.06833, 0, 0.94444],\n \"37\": [0.05556, 0.75, 0.12861, 0, 0.94444],\n \"38\": [0, 0.69444, 0.08528, 0, 0.88555],\n \"39\": [0, 0.69444, 0.12945, 0, 0.35555],\n \"40\": [0.25, 0.75, 0.15806, 0, 0.47333],\n \"41\": [0.25, 0.75, 0.03306, 0, 0.47333],\n \"42\": [0, 0.75, 0.14333, 0, 0.59111],\n \"43\": [0.10333, 0.60333, 0.03306, 0, 0.88555],\n \"44\": [0.19444, 0.14722, 0, 0, 0.35555],\n \"45\": [0, 0.44444, 0.02611, 0, 0.41444],\n \"46\": [0, 0.14722, 0, 0, 0.35555],\n \"47\": [0.25, 0.75, 0.15806, 0, 0.59111],\n \"48\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"49\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"50\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"51\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"52\": [0.19444, 0.64444, 0.13167, 0, 0.59111],\n \"53\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"54\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"55\": [0.19444, 0.64444, 0.13167, 0, 0.59111],\n \"56\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"57\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"58\": [0, 0.44444, 0.06695, 0, 0.35555],\n \"59\": [0.19444, 0.44444, 0.06695, 0, 0.35555],\n \"61\": [-0.10889, 0.39111, 0.06833, 0, 0.88555],\n \"63\": [0, 0.69444, 0.11472, 0, 0.59111],\n \"64\": [0, 0.69444, 0.09208, 0, 0.88555],\n \"65\": [0, 0.68611, 0, 0, 0.86555],\n \"66\": [0, 0.68611, 0.0992, 0, 0.81666],\n \"67\": [0, 0.68611, 0.14208, 0, 0.82666],\n \"68\": [0, 0.68611, 0.09062, 0, 0.87555],\n \"69\": [0, 0.68611, 0.11431, 0, 0.75666],\n \"70\": [0, 0.68611, 0.12903, 0, 0.72722],\n \"71\": [0, 0.68611, 0.07347, 0, 0.89527],\n \"72\": [0, 0.68611, 0.17208, 0, 0.8961],\n \"73\": [0, 0.68611, 0.15681, 0, 0.47166],\n \"74\": [0, 0.68611, 0.145, 0, 0.61055],\n \"75\": [0, 0.68611, 0.14208, 0, 0.89499],\n \"76\": [0, 0.68611, 0, 0, 0.69777],\n \"77\": [0, 0.68611, 0.17208, 0, 1.07277],\n \"78\": [0, 0.68611, 0.17208, 0, 0.8961],\n \"79\": [0, 0.68611, 0.09062, 0, 0.85499],\n \"80\": [0, 0.68611, 0.0992, 0, 0.78721],\n \"81\": [0.19444, 0.68611, 0.09062, 0, 0.85499],\n \"82\": [0, 0.68611, 0.02559, 0, 0.85944],\n \"83\": [0, 0.68611, 0.11264, 0, 0.64999],\n \"84\": [0, 0.68611, 0.12903, 0, 0.7961],\n \"85\": [0, 0.68611, 0.17208, 0, 0.88083],\n \"86\": [0, 0.68611, 0.18625, 0, 0.86555],\n \"87\": [0, 0.68611, 0.18625, 0, 1.15999],\n \"88\": [0, 0.68611, 0.15681, 0, 0.86555],\n \"89\": [0, 0.68611, 0.19803, 0, 0.86555],\n \"90\": [0, 0.68611, 0.14208, 0, 0.70888],\n \"91\": [0.25, 0.75, 0.1875, 0, 0.35611],\n \"93\": [0.25, 0.75, 0.09972, 0, 0.35611],\n \"94\": [0, 0.69444, 0.06709, 0, 0.59111],\n \"95\": [0.31, 0.13444, 0.09811, 0, 0.59111],\n \"97\": [0, 0.44444, 0.09426, 0, 0.59111],\n \"98\": [0, 0.69444, 0.07861, 0, 0.53222],\n \"99\": [0, 0.44444, 0.05222, 0, 0.53222],\n \"100\": [0, 0.69444, 0.10861, 0, 0.59111],\n \"101\": [0, 0.44444, 0.085, 0, 0.53222],\n \"102\": [0.19444, 0.69444, 0.21778, 0, 0.4],\n \"103\": [0.19444, 0.44444, 0.105, 0, 0.53222],\n \"104\": [0, 0.69444, 0.09426, 0, 0.59111],\n \"105\": [0, 0.69326, 0.11387, 0, 0.35555],\n \"106\": [0.19444, 0.69326, 0.1672, 0, 0.35555],\n \"107\": [0, 0.69444, 0.11111, 0, 0.53222],\n \"108\": [0, 0.69444, 0.10861, 0, 0.29666],\n \"109\": [0, 0.44444, 0.09426, 0, 0.94444],\n \"110\": [0, 0.44444, 0.09426, 0, 0.64999],\n \"111\": [0, 0.44444, 0.07861, 0, 0.59111],\n \"112\": [0.19444, 0.44444, 0.07861, 0, 0.59111],\n \"113\": [0.19444, 0.44444, 0.105, 0, 0.53222],\n \"114\": [0, 0.44444, 0.11111, 0, 0.50167],\n \"115\": [0, 0.44444, 0.08167, 0, 0.48694],\n \"116\": [0, 0.63492, 0.09639, 0, 0.385],\n \"117\": [0, 0.44444, 0.09426, 0, 0.62055],\n \"118\": [0, 0.44444, 0.11111, 0, 0.53222],\n \"119\": [0, 0.44444, 0.11111, 0, 0.76777],\n \"120\": [0, 0.44444, 0.12583, 0, 0.56055],\n \"121\": [0.19444, 0.44444, 0.105, 0, 0.56166],\n \"122\": [0, 0.44444, 0.13889, 0, 0.49055],\n \"126\": [0.35, 0.34444, 0.11472, 0, 0.59111],\n \"160\": [0, 0, 0, 0, 0.25],\n \"168\": [0, 0.69444, 0.11473, 0, 0.59111],\n \"176\": [0, 0.69444, 0, 0, 0.94888],\n \"184\": [0.17014, 0, 0, 0, 0.53222],\n \"198\": [0, 0.68611, 0.11431, 0, 1.02277],\n \"216\": [0.04861, 0.73472, 0.09062, 0, 0.88555],\n \"223\": [0.19444, 0.69444, 0.09736, 0, 0.665],\n \"230\": [0, 0.44444, 0.085, 0, 0.82666],\n \"248\": [0.09722, 0.54167, 0.09458, 0, 0.59111],\n \"305\": [0, 0.44444, 0.09426, 0, 0.35555],\n \"338\": [0, 0.68611, 0.11431, 0, 1.14054],\n \"339\": [0, 0.44444, 0.085, 0, 0.82666],\n \"567\": [0.19444, 0.44444, 0.04611, 0, 0.385],\n \"710\": [0, 0.69444, 0.06709, 0, 0.59111],\n \"711\": [0, 0.63194, 0.08271, 0, 0.59111],\n \"713\": [0, 0.59444, 0.10444, 0, 0.59111],\n \"714\": [0, 0.69444, 0.08528, 0, 0.59111],\n \"715\": [0, 0.69444, 0, 0, 0.59111],\n \"728\": [0, 0.69444, 0.10333, 0, 0.59111],\n \"729\": [0, 0.69444, 0.12945, 0, 0.35555],\n \"730\": [0, 0.69444, 0, 0, 0.94888],\n \"732\": [0, 0.69444, 0.11472, 0, 0.59111],\n \"733\": [0, 0.69444, 0.11472, 0, 0.59111],\n \"915\": [0, 0.68611, 0.12903, 0, 0.69777],\n \"916\": [0, 0.68611, 0, 0, 0.94444],\n \"920\": [0, 0.68611, 0.09062, 0, 0.88555],\n \"923\": [0, 0.68611, 0, 0, 0.80666],\n \"926\": [0, 0.68611, 0.15092, 0, 0.76777],\n \"928\": [0, 0.68611, 0.17208, 0, 0.8961],\n \"931\": [0, 0.68611, 0.11431, 0, 0.82666],\n \"933\": [0, 0.68611, 0.10778, 0, 0.88555],\n \"934\": [0, 0.68611, 0.05632, 0, 0.82666],\n \"936\": [0, 0.68611, 0.10778, 0, 0.88555],\n \"937\": [0, 0.68611, 0.0992, 0, 0.82666],\n \"8211\": [0, 0.44444, 0.09811, 0, 0.59111],\n \"8212\": [0, 0.44444, 0.09811, 0, 1.18221],\n \"8216\": [0, 0.69444, 0.12945, 0, 0.35555],\n \"8217\": [0, 0.69444, 0.12945, 0, 0.35555],\n \"8220\": [0, 0.69444, 0.16772, 0, 0.62055],\n \"8221\": [0, 0.69444, 0.07939, 0, 0.62055]\n },\n \"Main-Italic\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69444, 0.12417, 0, 0.30667],\n \"34\": [0, 0.69444, 0.06961, 0, 0.51444],\n \"35\": [0.19444, 0.69444, 0.06616, 0, 0.81777],\n \"37\": [0.05556, 0.75, 0.13639, 0, 0.81777],\n \"38\": [0, 0.69444, 0.09694, 0, 0.76666],\n \"39\": [0, 0.69444, 0.12417, 0, 0.30667],\n \"40\": [0.25, 0.75, 0.16194, 0, 0.40889],\n \"41\": [0.25, 0.75, 0.03694, 0, 0.40889],\n \"42\": [0, 0.75, 0.14917, 0, 0.51111],\n \"43\": [0.05667, 0.56167, 0.03694, 0, 0.76666],\n \"44\": [0.19444, 0.10556, 0, 0, 0.30667],\n \"45\": [0, 0.43056, 0.02826, 0, 0.35778],\n \"46\": [0, 0.10556, 0, 0, 0.30667],\n \"47\": [0.25, 0.75, 0.16194, 0, 0.51111],\n \"48\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"49\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"50\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"51\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"52\": [0.19444, 0.64444, 0.13556, 0, 0.51111],\n \"53\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"54\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"55\": [0.19444, 0.64444, 0.13556, 0, 0.51111],\n \"56\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"57\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"58\": [0, 0.43056, 0.0582, 0, 0.30667],\n \"59\": [0.19444, 0.43056, 0.0582, 0, 0.30667],\n \"61\": [-0.13313, 0.36687, 0.06616, 0, 0.76666],\n \"63\": [0, 0.69444, 0.1225, 0, 0.51111],\n \"64\": [0, 0.69444, 0.09597, 0, 0.76666],\n \"65\": [0, 0.68333, 0, 0, 0.74333],\n \"66\": [0, 0.68333, 0.10257, 0, 0.70389],\n \"67\": [0, 0.68333, 0.14528, 0, 0.71555],\n \"68\": [0, 0.68333, 0.09403, 0, 0.755],\n \"69\": [0, 0.68333, 0.12028, 0, 0.67833],\n \"70\": [0, 0.68333, 0.13305, 0, 0.65277],\n \"71\": [0, 0.68333, 0.08722, 0, 0.77361],\n \"72\": [0, 0.68333, 0.16389, 0, 0.74333],\n \"73\": [0, 0.68333, 0.15806, 0, 0.38555],\n \"74\": [0, 0.68333, 0.14028, 0, 0.525],\n \"75\": [0, 0.68333, 0.14528, 0, 0.76888],\n \"76\": [0, 0.68333, 0, 0, 0.62722],\n \"77\": [0, 0.68333, 0.16389, 0, 0.89666],\n \"78\": [0, 0.68333, 0.16389, 0, 0.74333],\n \"79\": [0, 0.68333, 0.09403, 0, 0.76666],\n \"80\": [0, 0.68333, 0.10257, 0, 0.67833],\n \"81\": [0.19444, 0.68333, 0.09403, 0, 0.76666],\n \"82\": [0, 0.68333, 0.03868, 0, 0.72944],\n \"83\": [0, 0.68333, 0.11972, 0, 0.56222],\n \"84\": [0, 0.68333, 0.13305, 0, 0.71555],\n \"85\": [0, 0.68333, 0.16389, 0, 0.74333],\n \"86\": [0, 0.68333, 0.18361, 0, 0.74333],\n \"87\": [0, 0.68333, 0.18361, 0, 0.99888],\n \"88\": [0, 0.68333, 0.15806, 0, 0.74333],\n \"89\": [0, 0.68333, 0.19383, 0, 0.74333],\n \"90\": [0, 0.68333, 0.14528, 0, 0.61333],\n \"91\": [0.25, 0.75, 0.1875, 0, 0.30667],\n \"93\": [0.25, 0.75, 0.10528, 0, 0.30667],\n \"94\": [0, 0.69444, 0.06646, 0, 0.51111],\n \"95\": [0.31, 0.12056, 0.09208, 0, 0.51111],\n \"97\": [0, 0.43056, 0.07671, 0, 0.51111],\n \"98\": [0, 0.69444, 0.06312, 0, 0.46],\n \"99\": [0, 0.43056, 0.05653, 0, 0.46],\n \"100\": [0, 0.69444, 0.10333, 0, 0.51111],\n \"101\": [0, 0.43056, 0.07514, 0, 0.46],\n \"102\": [0.19444, 0.69444, 0.21194, 0, 0.30667],\n \"103\": [0.19444, 0.43056, 0.08847, 0, 0.46],\n \"104\": [0, 0.69444, 0.07671, 0, 0.51111],\n \"105\": [0, 0.65536, 0.1019, 0, 0.30667],\n \"106\": [0.19444, 0.65536, 0.14467, 0, 0.30667],\n \"107\": [0, 0.69444, 0.10764, 0, 0.46],\n \"108\": [0, 0.69444, 0.10333, 0, 0.25555],\n \"109\": [0, 0.43056, 0.07671, 0, 0.81777],\n \"110\": [0, 0.43056, 0.07671, 0, 0.56222],\n \"111\": [0, 0.43056, 0.06312, 0, 0.51111],\n \"112\": [0.19444, 0.43056, 0.06312, 0, 0.51111],\n \"113\": [0.19444, 0.43056, 0.08847, 0, 0.46],\n \"114\": [0, 0.43056, 0.10764, 0, 0.42166],\n \"115\": [0, 0.43056, 0.08208, 0, 0.40889],\n \"116\": [0, 0.61508, 0.09486, 0, 0.33222],\n \"117\": [0, 0.43056, 0.07671, 0, 0.53666],\n \"118\": [0, 0.43056, 0.10764, 0, 0.46],\n \"119\": [0, 0.43056, 0.10764, 0, 0.66444],\n \"120\": [0, 0.43056, 0.12042, 0, 0.46389],\n \"121\": [0.19444, 0.43056, 0.08847, 0, 0.48555],\n \"122\": [0, 0.43056, 0.12292, 0, 0.40889],\n \"126\": [0.35, 0.31786, 0.11585, 0, 0.51111],\n \"160\": [0, 0, 0, 0, 0.25],\n \"168\": [0, 0.66786, 0.10474, 0, 0.51111],\n \"176\": [0, 0.69444, 0, 0, 0.83129],\n \"184\": [0.17014, 0, 0, 0, 0.46],\n \"198\": [0, 0.68333, 0.12028, 0, 0.88277],\n \"216\": [0.04861, 0.73194, 0.09403, 0, 0.76666],\n \"223\": [0.19444, 0.69444, 0.10514, 0, 0.53666],\n \"230\": [0, 0.43056, 0.07514, 0, 0.71555],\n \"248\": [0.09722, 0.52778, 0.09194, 0, 0.51111],\n \"338\": [0, 0.68333, 0.12028, 0, 0.98499],\n \"339\": [0, 0.43056, 0.07514, 0, 0.71555],\n \"710\": [0, 0.69444, 0.06646, 0, 0.51111],\n \"711\": [0, 0.62847, 0.08295, 0, 0.51111],\n \"713\": [0, 0.56167, 0.10333, 0, 0.51111],\n \"714\": [0, 0.69444, 0.09694, 0, 0.51111],\n \"715\": [0, 0.69444, 0, 0, 0.51111],\n \"728\": [0, 0.69444, 0.10806, 0, 0.51111],\n \"729\": [0, 0.66786, 0.11752, 0, 0.30667],\n \"730\": [0, 0.69444, 0, 0, 0.83129],\n \"732\": [0, 0.66786, 0.11585, 0, 0.51111],\n \"733\": [0, 0.69444, 0.1225, 0, 0.51111],\n \"915\": [0, 0.68333, 0.13305, 0, 0.62722],\n \"916\": [0, 0.68333, 0, 0, 0.81777],\n \"920\": [0, 0.68333, 0.09403, 0, 0.76666],\n \"923\": [0, 0.68333, 0, 0, 0.69222],\n \"926\": [0, 0.68333, 0.15294, 0, 0.66444],\n \"928\": [0, 0.68333, 0.16389, 0, 0.74333],\n \"931\": [0, 0.68333, 0.12028, 0, 0.71555],\n \"933\": [0, 0.68333, 0.11111, 0, 0.76666],\n \"934\": [0, 0.68333, 0.05986, 0, 0.71555],\n \"936\": [0, 0.68333, 0.11111, 0, 0.76666],\n \"937\": [0, 0.68333, 0.10257, 0, 0.71555],\n \"8211\": [0, 0.43056, 0.09208, 0, 0.51111],\n \"8212\": [0, 0.43056, 0.09208, 0, 1.02222],\n \"8216\": [0, 0.69444, 0.12417, 0, 0.30667],\n \"8217\": [0, 0.69444, 0.12417, 0, 0.30667],\n \"8220\": [0, 0.69444, 0.1685, 0, 0.51444],\n \"8221\": [0, 0.69444, 0.06961, 0, 0.51444],\n \"8463\": [0, 0.68889, 0, 0, 0.54028]\n },\n \"Main-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69444, 0, 0, 0.27778],\n \"34\": [0, 0.69444, 0, 0, 0.5],\n \"35\": [0.19444, 0.69444, 0, 0, 0.83334],\n \"36\": [0.05556, 0.75, 0, 0, 0.5],\n \"37\": [0.05556, 0.75, 0, 0, 0.83334],\n \"38\": [0, 0.69444, 0, 0, 0.77778],\n \"39\": [0, 0.69444, 0, 0, 0.27778],\n \"40\": [0.25, 0.75, 0, 0, 0.38889],\n \"41\": [0.25, 0.75, 0, 0, 0.38889],\n \"42\": [0, 0.75, 0, 0, 0.5],\n \"43\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"44\": [0.19444, 0.10556, 0, 0, 0.27778],\n \"45\": [0, 0.43056, 0, 0, 0.33333],\n \"46\": [0, 0.10556, 0, 0, 0.27778],\n \"47\": [0.25, 0.75, 0, 0, 0.5],\n \"48\": [0, 0.64444, 0, 0, 0.5],\n \"49\": [0, 0.64444, 0, 0, 0.5],\n \"50\": [0, 0.64444, 0, 0, 0.5],\n \"51\": [0, 0.64444, 0, 0, 0.5],\n \"52\": [0, 0.64444, 0, 0, 0.5],\n \"53\": [0, 0.64444, 0, 0, 0.5],\n \"54\": [0, 0.64444, 0, 0, 0.5],\n \"55\": [0, 0.64444, 0, 0, 0.5],\n \"56\": [0, 0.64444, 0, 0, 0.5],\n \"57\": [0, 0.64444, 0, 0, 0.5],\n \"58\": [0, 0.43056, 0, 0, 0.27778],\n \"59\": [0.19444, 0.43056, 0, 0, 0.27778],\n \"60\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"61\": [-0.13313, 0.36687, 0, 0, 0.77778],\n \"62\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"63\": [0, 0.69444, 0, 0, 0.47222],\n \"64\": [0, 0.69444, 0, 0, 0.77778],\n \"65\": [0, 0.68333, 0, 0, 0.75],\n \"66\": [0, 0.68333, 0, 0, 0.70834],\n \"67\": [0, 0.68333, 0, 0, 0.72222],\n \"68\": [0, 0.68333, 0, 0, 0.76389],\n \"69\": [0, 0.68333, 0, 0, 0.68056],\n \"70\": [0, 0.68333, 0, 0, 0.65278],\n \"71\": [0, 0.68333, 0, 0, 0.78472],\n \"72\": [0, 0.68333, 0, 0, 0.75],\n \"73\": [0, 0.68333, 0, 0, 0.36111],\n \"74\": [0, 0.68333, 0, 0, 0.51389],\n \"75\": [0, 0.68333, 0, 0, 0.77778],\n \"76\": [0, 0.68333, 0, 0, 0.625],\n \"77\": [0, 0.68333, 0, 0, 0.91667],\n \"78\": [0, 0.68333, 0, 0, 0.75],\n \"79\": [0, 0.68333, 0, 0, 0.77778],\n \"80\": [0, 0.68333, 0, 0, 0.68056],\n \"81\": [0.19444, 0.68333, 0, 0, 0.77778],\n \"82\": [0, 0.68333, 0, 0, 0.73611],\n \"83\": [0, 0.68333, 0, 0, 0.55556],\n \"84\": [0, 0.68333, 0, 0, 0.72222],\n \"85\": [0, 0.68333, 0, 0, 0.75],\n \"86\": [0, 0.68333, 0.01389, 0, 0.75],\n \"87\": [0, 0.68333, 0.01389, 0, 1.02778],\n \"88\": [0, 0.68333, 0, 0, 0.75],\n \"89\": [0, 0.68333, 0.025, 0, 0.75],\n \"90\": [0, 0.68333, 0, 0, 0.61111],\n \"91\": [0.25, 0.75, 0, 0, 0.27778],\n \"92\": [0.25, 0.75, 0, 0, 0.5],\n \"93\": [0.25, 0.75, 0, 0, 0.27778],\n \"94\": [0, 0.69444, 0, 0, 0.5],\n \"95\": [0.31, 0.12056, 0.02778, 0, 0.5],\n \"97\": [0, 0.43056, 0, 0, 0.5],\n \"98\": [0, 0.69444, 0, 0, 0.55556],\n \"99\": [0, 0.43056, 0, 0, 0.44445],\n \"100\": [0, 0.69444, 0, 0, 0.55556],\n \"101\": [0, 0.43056, 0, 0, 0.44445],\n \"102\": [0, 0.69444, 0.07778, 0, 0.30556],\n \"103\": [0.19444, 0.43056, 0.01389, 0, 0.5],\n \"104\": [0, 0.69444, 0, 0, 0.55556],\n \"105\": [0, 0.66786, 0, 0, 0.27778],\n \"106\": [0.19444, 0.66786, 0, 0, 0.30556],\n \"107\": [0, 0.69444, 0, 0, 0.52778],\n \"108\": [0, 0.69444, 0, 0, 0.27778],\n \"109\": [0, 0.43056, 0, 0, 0.83334],\n \"110\": [0, 0.43056, 0, 0, 0.55556],\n \"111\": [0, 0.43056, 0, 0, 0.5],\n \"112\": [0.19444, 0.43056, 0, 0, 0.55556],\n \"113\": [0.19444, 0.43056, 0, 0, 0.52778],\n \"114\": [0, 0.43056, 0, 0, 0.39167],\n \"115\": [0, 0.43056, 0, 0, 0.39445],\n \"116\": [0, 0.61508, 0, 0, 0.38889],\n \"117\": [0, 0.43056, 0, 0, 0.55556],\n \"118\": [0, 0.43056, 0.01389, 0, 0.52778],\n \"119\": [0, 0.43056, 0.01389, 0, 0.72222],\n \"120\": [0, 0.43056, 0, 0, 0.52778],\n \"121\": [0.19444, 0.43056, 0.01389, 0, 0.52778],\n \"122\": [0, 0.43056, 0, 0, 0.44445],\n \"123\": [0.25, 0.75, 0, 0, 0.5],\n \"124\": [0.25, 0.75, 0, 0, 0.27778],\n \"125\": [0.25, 0.75, 0, 0, 0.5],\n \"126\": [0.35, 0.31786, 0, 0, 0.5],\n \"160\": [0, 0, 0, 0, 0.25],\n \"163\": [0, 0.69444, 0, 0, 0.76909],\n \"167\": [0.19444, 0.69444, 0, 0, 0.44445],\n \"168\": [0, 0.66786, 0, 0, 0.5],\n \"172\": [0, 0.43056, 0, 0, 0.66667],\n \"176\": [0, 0.69444, 0, 0, 0.75],\n \"177\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"182\": [0.19444, 0.69444, 0, 0, 0.61111],\n \"184\": [0.17014, 0, 0, 0, 0.44445],\n \"198\": [0, 0.68333, 0, 0, 0.90278],\n \"215\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"216\": [0.04861, 0.73194, 0, 0, 0.77778],\n \"223\": [0, 0.69444, 0, 0, 0.5],\n \"230\": [0, 0.43056, 0, 0, 0.72222],\n \"247\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"248\": [0.09722, 0.52778, 0, 0, 0.5],\n \"305\": [0, 0.43056, 0, 0, 0.27778],\n \"338\": [0, 0.68333, 0, 0, 1.01389],\n \"339\": [0, 0.43056, 0, 0, 0.77778],\n \"567\": [0.19444, 0.43056, 0, 0, 0.30556],\n \"710\": [0, 0.69444, 0, 0, 0.5],\n \"711\": [0, 0.62847, 0, 0, 0.5],\n \"713\": [0, 0.56778, 0, 0, 0.5],\n \"714\": [0, 0.69444, 0, 0, 0.5],\n \"715\": [0, 0.69444, 0, 0, 0.5],\n \"728\": [0, 0.69444, 0, 0, 0.5],\n \"729\": [0, 0.66786, 0, 0, 0.27778],\n \"730\": [0, 0.69444, 0, 0, 0.75],\n \"732\": [0, 0.66786, 0, 0, 0.5],\n \"733\": [0, 0.69444, 0, 0, 0.5],\n \"915\": [0, 0.68333, 0, 0, 0.625],\n \"916\": [0, 0.68333, 0, 0, 0.83334],\n \"920\": [0, 0.68333, 0, 0, 0.77778],\n \"923\": [0, 0.68333, 0, 0, 0.69445],\n \"926\": [0, 0.68333, 0, 0, 0.66667],\n \"928\": [0, 0.68333, 0, 0, 0.75],\n \"931\": [0, 0.68333, 0, 0, 0.72222],\n \"933\": [0, 0.68333, 0, 0, 0.77778],\n \"934\": [0, 0.68333, 0, 0, 0.72222],\n \"936\": [0, 0.68333, 0, 0, 0.77778],\n \"937\": [0, 0.68333, 0, 0, 0.72222],\n \"8211\": [0, 0.43056, 0.02778, 0, 0.5],\n \"8212\": [0, 0.43056, 0.02778, 0, 1.0],\n \"8216\": [0, 0.69444, 0, 0, 0.27778],\n \"8217\": [0, 0.69444, 0, 0, 0.27778],\n \"8220\": [0, 0.69444, 0, 0, 0.5],\n \"8221\": [0, 0.69444, 0, 0, 0.5],\n \"8224\": [0.19444, 0.69444, 0, 0, 0.44445],\n \"8225\": [0.19444, 0.69444, 0, 0, 0.44445],\n \"8230\": [0, 0.123, 0, 0, 1.172],\n \"8242\": [0, 0.55556, 0, 0, 0.275],\n \"8407\": [0, 0.71444, 0.15382, 0, 0.5],\n \"8463\": [0, 0.68889, 0, 0, 0.54028],\n \"8465\": [0, 0.69444, 0, 0, 0.72222],\n \"8467\": [0, 0.69444, 0, 0.11111, 0.41667],\n \"8472\": [0.19444, 0.43056, 0, 0.11111, 0.63646],\n \"8476\": [0, 0.69444, 0, 0, 0.72222],\n \"8501\": [0, 0.69444, 0, 0, 0.61111],\n \"8592\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8593\": [0.19444, 0.69444, 0, 0, 0.5],\n \"8594\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8595\": [0.19444, 0.69444, 0, 0, 0.5],\n \"8596\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8597\": [0.25, 0.75, 0, 0, 0.5],\n \"8598\": [0.19444, 0.69444, 0, 0, 1.0],\n \"8599\": [0.19444, 0.69444, 0, 0, 1.0],\n \"8600\": [0.19444, 0.69444, 0, 0, 1.0],\n \"8601\": [0.19444, 0.69444, 0, 0, 1.0],\n \"8614\": [0.011, 0.511, 0, 0, 1.0],\n \"8617\": [0.011, 0.511, 0, 0, 1.126],\n \"8618\": [0.011, 0.511, 0, 0, 1.126],\n \"8636\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8637\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8640\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8641\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8652\": [0.011, 0.671, 0, 0, 1.0],\n \"8656\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8657\": [0.19444, 0.69444, 0, 0, 0.61111],\n \"8658\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8659\": [0.19444, 0.69444, 0, 0, 0.61111],\n \"8660\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8661\": [0.25, 0.75, 0, 0, 0.61111],\n \"8704\": [0, 0.69444, 0, 0, 0.55556],\n \"8706\": [0, 0.69444, 0.05556, 0.08334, 0.5309],\n \"8707\": [0, 0.69444, 0, 0, 0.55556],\n \"8709\": [0.05556, 0.75, 0, 0, 0.5],\n \"8711\": [0, 0.68333, 0, 0, 0.83334],\n \"8712\": [0.0391, 0.5391, 0, 0, 0.66667],\n \"8715\": [0.0391, 0.5391, 0, 0, 0.66667],\n \"8722\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"8723\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"8725\": [0.25, 0.75, 0, 0, 0.5],\n \"8726\": [0.25, 0.75, 0, 0, 0.5],\n \"8727\": [-0.03472, 0.46528, 0, 0, 0.5],\n \"8728\": [-0.05555, 0.44445, 0, 0, 0.5],\n \"8729\": [-0.05555, 0.44445, 0, 0, 0.5],\n \"8730\": [0.2, 0.8, 0, 0, 0.83334],\n \"8733\": [0, 0.43056, 0, 0, 0.77778],\n \"8734\": [0, 0.43056, 0, 0, 1.0],\n \"8736\": [0, 0.69224, 0, 0, 0.72222],\n \"8739\": [0.25, 0.75, 0, 0, 0.27778],\n \"8741\": [0.25, 0.75, 0, 0, 0.5],\n \"8743\": [0, 0.55556, 0, 0, 0.66667],\n \"8744\": [0, 0.55556, 0, 0, 0.66667],\n \"8745\": [0, 0.55556, 0, 0, 0.66667],\n \"8746\": [0, 0.55556, 0, 0, 0.66667],\n \"8747\": [0.19444, 0.69444, 0.11111, 0, 0.41667],\n \"8764\": [-0.13313, 0.36687, 0, 0, 0.77778],\n \"8768\": [0.19444, 0.69444, 0, 0, 0.27778],\n \"8771\": [-0.03625, 0.46375, 0, 0, 0.77778],\n \"8773\": [-0.022, 0.589, 0, 0, 0.778],\n \"8776\": [-0.01688, 0.48312, 0, 0, 0.77778],\n \"8781\": [-0.03625, 0.46375, 0, 0, 0.77778],\n \"8784\": [-0.133, 0.673, 0, 0, 0.778],\n \"8801\": [-0.03625, 0.46375, 0, 0, 0.77778],\n \"8804\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8805\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8810\": [0.0391, 0.5391, 0, 0, 1.0],\n \"8811\": [0.0391, 0.5391, 0, 0, 1.0],\n \"8826\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"8827\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"8834\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"8835\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"8838\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8839\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8846\": [0, 0.55556, 0, 0, 0.66667],\n \"8849\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8850\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8851\": [0, 0.55556, 0, 0, 0.66667],\n \"8852\": [0, 0.55556, 0, 0, 0.66667],\n \"8853\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"8854\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"8855\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"8856\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"8857\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"8866\": [0, 0.69444, 0, 0, 0.61111],\n \"8867\": [0, 0.69444, 0, 0, 0.61111],\n \"8868\": [0, 0.69444, 0, 0, 0.77778],\n \"8869\": [0, 0.69444, 0, 0, 0.77778],\n \"8872\": [0.249, 0.75, 0, 0, 0.867],\n \"8900\": [-0.05555, 0.44445, 0, 0, 0.5],\n \"8901\": [-0.05555, 0.44445, 0, 0, 0.27778],\n \"8902\": [-0.03472, 0.46528, 0, 0, 0.5],\n \"8904\": [0.005, 0.505, 0, 0, 0.9],\n \"8942\": [0.03, 0.903, 0, 0, 0.278],\n \"8943\": [-0.19, 0.313, 0, 0, 1.172],\n \"8945\": [-0.1, 0.823, 0, 0, 1.282],\n \"8968\": [0.25, 0.75, 0, 0, 0.44445],\n \"8969\": [0.25, 0.75, 0, 0, 0.44445],\n \"8970\": [0.25, 0.75, 0, 0, 0.44445],\n \"8971\": [0.25, 0.75, 0, 0, 0.44445],\n \"8994\": [-0.14236, 0.35764, 0, 0, 1.0],\n \"8995\": [-0.14236, 0.35764, 0, 0, 1.0],\n \"9136\": [0.244, 0.744, 0, 0, 0.412],\n \"9137\": [0.244, 0.745, 0, 0, 0.412],\n \"9651\": [0.19444, 0.69444, 0, 0, 0.88889],\n \"9657\": [-0.03472, 0.46528, 0, 0, 0.5],\n \"9661\": [0.19444, 0.69444, 0, 0, 0.88889],\n \"9667\": [-0.03472, 0.46528, 0, 0, 0.5],\n \"9711\": [0.19444, 0.69444, 0, 0, 1.0],\n \"9824\": [0.12963, 0.69444, 0, 0, 0.77778],\n \"9825\": [0.12963, 0.69444, 0, 0, 0.77778],\n \"9826\": [0.12963, 0.69444, 0, 0, 0.77778],\n \"9827\": [0.12963, 0.69444, 0, 0, 0.77778],\n \"9837\": [0, 0.75, 0, 0, 0.38889],\n \"9838\": [0.19444, 0.69444, 0, 0, 0.38889],\n \"9839\": [0.19444, 0.69444, 0, 0, 0.38889],\n \"10216\": [0.25, 0.75, 0, 0, 0.38889],\n \"10217\": [0.25, 0.75, 0, 0, 0.38889],\n \"10222\": [0.244, 0.744, 0, 0, 0.412],\n \"10223\": [0.244, 0.745, 0, 0, 0.412],\n \"10229\": [0.011, 0.511, 0, 0, 1.609],\n \"10230\": [0.011, 0.511, 0, 0, 1.638],\n \"10231\": [0.011, 0.511, 0, 0, 1.859],\n \"10232\": [0.024, 0.525, 0, 0, 1.609],\n \"10233\": [0.024, 0.525, 0, 0, 1.638],\n \"10234\": [0.024, 0.525, 0, 0, 1.858],\n \"10236\": [0.011, 0.511, 0, 0, 1.638],\n \"10815\": [0, 0.68333, 0, 0, 0.75],\n \"10927\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"10928\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"57376\": [0.19444, 0.69444, 0, 0, 0]\n },\n \"Math-BoldItalic\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"48\": [0, 0.44444, 0, 0, 0.575],\n \"49\": [0, 0.44444, 0, 0, 0.575],\n \"50\": [0, 0.44444, 0, 0, 0.575],\n \"51\": [0.19444, 0.44444, 0, 0, 0.575],\n \"52\": [0.19444, 0.44444, 0, 0, 0.575],\n \"53\": [0.19444, 0.44444, 0, 0, 0.575],\n \"54\": [0, 0.64444, 0, 0, 0.575],\n \"55\": [0.19444, 0.44444, 0, 0, 0.575],\n \"56\": [0, 0.64444, 0, 0, 0.575],\n \"57\": [0.19444, 0.44444, 0, 0, 0.575],\n \"65\": [0, 0.68611, 0, 0, 0.86944],\n \"66\": [0, 0.68611, 0.04835, 0, 0.8664],\n \"67\": [0, 0.68611, 0.06979, 0, 0.81694],\n \"68\": [0, 0.68611, 0.03194, 0, 0.93812],\n \"69\": [0, 0.68611, 0.05451, 0, 0.81007],\n \"70\": [0, 0.68611, 0.15972, 0, 0.68889],\n \"71\": [0, 0.68611, 0, 0, 0.88673],\n \"72\": [0, 0.68611, 0.08229, 0, 0.98229],\n \"73\": [0, 0.68611, 0.07778, 0, 0.51111],\n \"74\": [0, 0.68611, 0.10069, 0, 0.63125],\n \"75\": [0, 0.68611, 0.06979, 0, 0.97118],\n \"76\": [0, 0.68611, 0, 0, 0.75555],\n \"77\": [0, 0.68611, 0.11424, 0, 1.14201],\n \"78\": [0, 0.68611, 0.11424, 0, 0.95034],\n \"79\": [0, 0.68611, 0.03194, 0, 0.83666],\n \"80\": [0, 0.68611, 0.15972, 0, 0.72309],\n \"81\": [0.19444, 0.68611, 0, 0, 0.86861],\n \"82\": [0, 0.68611, 0.00421, 0, 0.87235],\n \"83\": [0, 0.68611, 0.05382, 0, 0.69271],\n \"84\": [0, 0.68611, 0.15972, 0, 0.63663],\n \"85\": [0, 0.68611, 0.11424, 0, 0.80027],\n \"86\": [0, 0.68611, 0.25555, 0, 0.67778],\n \"87\": [0, 0.68611, 0.15972, 0, 1.09305],\n \"88\": [0, 0.68611, 0.07778, 0, 0.94722],\n \"89\": [0, 0.68611, 0.25555, 0, 0.67458],\n \"90\": [0, 0.68611, 0.06979, 0, 0.77257],\n \"97\": [0, 0.44444, 0, 0, 0.63287],\n \"98\": [0, 0.69444, 0, 0, 0.52083],\n \"99\": [0, 0.44444, 0, 0, 0.51342],\n \"100\": [0, 0.69444, 0, 0, 0.60972],\n \"101\": [0, 0.44444, 0, 0, 0.55361],\n \"102\": [0.19444, 0.69444, 0.11042, 0, 0.56806],\n \"103\": [0.19444, 0.44444, 0.03704, 0, 0.5449],\n \"104\": [0, 0.69444, 0, 0, 0.66759],\n \"105\": [0, 0.69326, 0, 0, 0.4048],\n \"106\": [0.19444, 0.69326, 0.0622, 0, 0.47083],\n \"107\": [0, 0.69444, 0.01852, 0, 0.6037],\n \"108\": [0, 0.69444, 0.0088, 0, 0.34815],\n \"109\": [0, 0.44444, 0, 0, 1.0324],\n \"110\": [0, 0.44444, 0, 0, 0.71296],\n \"111\": [0, 0.44444, 0, 0, 0.58472],\n \"112\": [0.19444, 0.44444, 0, 0, 0.60092],\n \"113\": [0.19444, 0.44444, 0.03704, 0, 0.54213],\n \"114\": [0, 0.44444, 0.03194, 0, 0.5287],\n \"115\": [0, 0.44444, 0, 0, 0.53125],\n \"116\": [0, 0.63492, 0, 0, 0.41528],\n \"117\": [0, 0.44444, 0, 0, 0.68102],\n \"118\": [0, 0.44444, 0.03704, 0, 0.56666],\n \"119\": [0, 0.44444, 0.02778, 0, 0.83148],\n \"120\": [0, 0.44444, 0, 0, 0.65903],\n \"121\": [0.19444, 0.44444, 0.03704, 0, 0.59028],\n \"122\": [0, 0.44444, 0.04213, 0, 0.55509],\n \"160\": [0, 0, 0, 0, 0.25],\n \"915\": [0, 0.68611, 0.15972, 0, 0.65694],\n \"916\": [0, 0.68611, 0, 0, 0.95833],\n \"920\": [0, 0.68611, 0.03194, 0, 0.86722],\n \"923\": [0, 0.68611, 0, 0, 0.80555],\n \"926\": [0, 0.68611, 0.07458, 0, 0.84125],\n \"928\": [0, 0.68611, 0.08229, 0, 0.98229],\n \"931\": [0, 0.68611, 0.05451, 0, 0.88507],\n \"933\": [0, 0.68611, 0.15972, 0, 0.67083],\n \"934\": [0, 0.68611, 0, 0, 0.76666],\n \"936\": [0, 0.68611, 0.11653, 0, 0.71402],\n \"937\": [0, 0.68611, 0.04835, 0, 0.8789],\n \"945\": [0, 0.44444, 0, 0, 0.76064],\n \"946\": [0.19444, 0.69444, 0.03403, 0, 0.65972],\n \"947\": [0.19444, 0.44444, 0.06389, 0, 0.59003],\n \"948\": [0, 0.69444, 0.03819, 0, 0.52222],\n \"949\": [0, 0.44444, 0, 0, 0.52882],\n \"950\": [0.19444, 0.69444, 0.06215, 0, 0.50833],\n \"951\": [0.19444, 0.44444, 0.03704, 0, 0.6],\n \"952\": [0, 0.69444, 0.03194, 0, 0.5618],\n \"953\": [0, 0.44444, 0, 0, 0.41204],\n \"954\": [0, 0.44444, 0, 0, 0.66759],\n \"955\": [0, 0.69444, 0, 0, 0.67083],\n \"956\": [0.19444, 0.44444, 0, 0, 0.70787],\n \"957\": [0, 0.44444, 0.06898, 0, 0.57685],\n \"958\": [0.19444, 0.69444, 0.03021, 0, 0.50833],\n \"959\": [0, 0.44444, 0, 0, 0.58472],\n \"960\": [0, 0.44444, 0.03704, 0, 0.68241],\n \"961\": [0.19444, 0.44444, 0, 0, 0.6118],\n \"962\": [0.09722, 0.44444, 0.07917, 0, 0.42361],\n \"963\": [0, 0.44444, 0.03704, 0, 0.68588],\n \"964\": [0, 0.44444, 0.13472, 0, 0.52083],\n \"965\": [0, 0.44444, 0.03704, 0, 0.63055],\n \"966\": [0.19444, 0.44444, 0, 0, 0.74722],\n \"967\": [0.19444, 0.44444, 0, 0, 0.71805],\n \"968\": [0.19444, 0.69444, 0.03704, 0, 0.75833],\n \"969\": [0, 0.44444, 0.03704, 0, 0.71782],\n \"977\": [0, 0.69444, 0, 0, 0.69155],\n \"981\": [0.19444, 0.69444, 0, 0, 0.7125],\n \"982\": [0, 0.44444, 0.03194, 0, 0.975],\n \"1009\": [0.19444, 0.44444, 0, 0, 0.6118],\n \"1013\": [0, 0.44444, 0, 0, 0.48333],\n \"57649\": [0, 0.44444, 0, 0, 0.39352],\n \"57911\": [0.19444, 0.44444, 0, 0, 0.43889]\n },\n \"Math-Italic\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"48\": [0, 0.43056, 0, 0, 0.5],\n \"49\": [0, 0.43056, 0, 0, 0.5],\n \"50\": [0, 0.43056, 0, 0, 0.5],\n \"51\": [0.19444, 0.43056, 0, 0, 0.5],\n \"52\": [0.19444, 0.43056, 0, 0, 0.5],\n \"53\": [0.19444, 0.43056, 0, 0, 0.5],\n \"54\": [0, 0.64444, 0, 0, 0.5],\n \"55\": [0.19444, 0.43056, 0, 0, 0.5],\n \"56\": [0, 0.64444, 0, 0, 0.5],\n \"57\": [0.19444, 0.43056, 0, 0, 0.5],\n \"65\": [0, 0.68333, 0, 0.13889, 0.75],\n \"66\": [0, 0.68333, 0.05017, 0.08334, 0.75851],\n \"67\": [0, 0.68333, 0.07153, 0.08334, 0.71472],\n \"68\": [0, 0.68333, 0.02778, 0.05556, 0.82792],\n \"69\": [0, 0.68333, 0.05764, 0.08334, 0.7382],\n \"70\": [0, 0.68333, 0.13889, 0.08334, 0.64306],\n \"71\": [0, 0.68333, 0, 0.08334, 0.78625],\n \"72\": [0, 0.68333, 0.08125, 0.05556, 0.83125],\n \"73\": [0, 0.68333, 0.07847, 0.11111, 0.43958],\n \"74\": [0, 0.68333, 0.09618, 0.16667, 0.55451],\n \"75\": [0, 0.68333, 0.07153, 0.05556, 0.84931],\n \"76\": [0, 0.68333, 0, 0.02778, 0.68056],\n \"77\": [0, 0.68333, 0.10903, 0.08334, 0.97014],\n \"78\": [0, 0.68333, 0.10903, 0.08334, 0.80347],\n \"79\": [0, 0.68333, 0.02778, 0.08334, 0.76278],\n \"80\": [0, 0.68333, 0.13889, 0.08334, 0.64201],\n \"81\": [0.19444, 0.68333, 0, 0.08334, 0.79056],\n \"82\": [0, 0.68333, 0.00773, 0.08334, 0.75929],\n \"83\": [0, 0.68333, 0.05764, 0.08334, 0.6132],\n \"84\": [0, 0.68333, 0.13889, 0.08334, 0.58438],\n \"85\": [0, 0.68333, 0.10903, 0.02778, 0.68278],\n \"86\": [0, 0.68333, 0.22222, 0, 0.58333],\n \"87\": [0, 0.68333, 0.13889, 0, 0.94445],\n \"88\": [0, 0.68333, 0.07847, 0.08334, 0.82847],\n \"89\": [0, 0.68333, 0.22222, 0, 0.58056],\n \"90\": [0, 0.68333, 0.07153, 0.08334, 0.68264],\n \"97\": [0, 0.43056, 0, 0, 0.52859],\n \"98\": [0, 0.69444, 0, 0, 0.42917],\n \"99\": [0, 0.43056, 0, 0.05556, 0.43276],\n \"100\": [0, 0.69444, 0, 0.16667, 0.52049],\n \"101\": [0, 0.43056, 0, 0.05556, 0.46563],\n \"102\": [0.19444, 0.69444, 0.10764, 0.16667, 0.48959],\n \"103\": [0.19444, 0.43056, 0.03588, 0.02778, 0.47697],\n \"104\": [0, 0.69444, 0, 0, 0.57616],\n \"105\": [0, 0.65952, 0, 0, 0.34451],\n \"106\": [0.19444, 0.65952, 0.05724, 0, 0.41181],\n \"107\": [0, 0.69444, 0.03148, 0, 0.5206],\n \"108\": [0, 0.69444, 0.01968, 0.08334, 0.29838],\n \"109\": [0, 0.43056, 0, 0, 0.87801],\n \"110\": [0, 0.43056, 0, 0, 0.60023],\n \"111\": [0, 0.43056, 0, 0.05556, 0.48472],\n \"112\": [0.19444, 0.43056, 0, 0.08334, 0.50313],\n \"113\": [0.19444, 0.43056, 0.03588, 0.08334, 0.44641],\n \"114\": [0, 0.43056, 0.02778, 0.05556, 0.45116],\n \"115\": [0, 0.43056, 0, 0.05556, 0.46875],\n \"116\": [0, 0.61508, 0, 0.08334, 0.36111],\n \"117\": [0, 0.43056, 0, 0.02778, 0.57246],\n \"118\": [0, 0.43056, 0.03588, 0.02778, 0.48472],\n \"119\": [0, 0.43056, 0.02691, 0.08334, 0.71592],\n \"120\": [0, 0.43056, 0, 0.02778, 0.57153],\n \"121\": [0.19444, 0.43056, 0.03588, 0.05556, 0.49028],\n \"122\": [0, 0.43056, 0.04398, 0.05556, 0.46505],\n \"160\": [0, 0, 0, 0, 0.25],\n \"915\": [0, 0.68333, 0.13889, 0.08334, 0.61528],\n \"916\": [0, 0.68333, 0, 0.16667, 0.83334],\n \"920\": [0, 0.68333, 0.02778, 0.08334, 0.76278],\n \"923\": [0, 0.68333, 0, 0.16667, 0.69445],\n \"926\": [0, 0.68333, 0.07569, 0.08334, 0.74236],\n \"928\": [0, 0.68333, 0.08125, 0.05556, 0.83125],\n \"931\": [0, 0.68333, 0.05764, 0.08334, 0.77986],\n \"933\": [0, 0.68333, 0.13889, 0.05556, 0.58333],\n \"934\": [0, 0.68333, 0, 0.08334, 0.66667],\n \"936\": [0, 0.68333, 0.11, 0.05556, 0.61222],\n \"937\": [0, 0.68333, 0.05017, 0.08334, 0.7724],\n \"945\": [0, 0.43056, 0.0037, 0.02778, 0.6397],\n \"946\": [0.19444, 0.69444, 0.05278, 0.08334, 0.56563],\n \"947\": [0.19444, 0.43056, 0.05556, 0, 0.51773],\n \"948\": [0, 0.69444, 0.03785, 0.05556, 0.44444],\n \"949\": [0, 0.43056, 0, 0.08334, 0.46632],\n \"950\": [0.19444, 0.69444, 0.07378, 0.08334, 0.4375],\n \"951\": [0.19444, 0.43056, 0.03588, 0.05556, 0.49653],\n \"952\": [0, 0.69444, 0.02778, 0.08334, 0.46944],\n \"953\": [0, 0.43056, 0, 0.05556, 0.35394],\n \"954\": [0, 0.43056, 0, 0, 0.57616],\n \"955\": [0, 0.69444, 0, 0, 0.58334],\n \"956\": [0.19444, 0.43056, 0, 0.02778, 0.60255],\n \"957\": [0, 0.43056, 0.06366, 0.02778, 0.49398],\n \"958\": [0.19444, 0.69444, 0.04601, 0.11111, 0.4375],\n \"959\": [0, 0.43056, 0, 0.05556, 0.48472],\n \"960\": [0, 0.43056, 0.03588, 0, 0.57003],\n \"961\": [0.19444, 0.43056, 0, 0.08334, 0.51702],\n \"962\": [0.09722, 0.43056, 0.07986, 0.08334, 0.36285],\n \"963\": [0, 0.43056, 0.03588, 0, 0.57141],\n \"964\": [0, 0.43056, 0.1132, 0.02778, 0.43715],\n \"965\": [0, 0.43056, 0.03588, 0.02778, 0.54028],\n \"966\": [0.19444, 0.43056, 0, 0.08334, 0.65417],\n \"967\": [0.19444, 0.43056, 0, 0.05556, 0.62569],\n \"968\": [0.19444, 0.69444, 0.03588, 0.11111, 0.65139],\n \"969\": [0, 0.43056, 0.03588, 0, 0.62245],\n \"977\": [0, 0.69444, 0, 0.08334, 0.59144],\n \"981\": [0.19444, 0.69444, 0, 0.08334, 0.59583],\n \"982\": [0, 0.43056, 0.02778, 0, 0.82813],\n \"1009\": [0.19444, 0.43056, 0, 0.08334, 0.51702],\n \"1013\": [0, 0.43056, 0, 0.05556, 0.4059],\n \"57649\": [0, 0.43056, 0, 0.02778, 0.32246],\n \"57911\": [0.19444, 0.43056, 0, 0.08334, 0.38403]\n },\n \"SansSerif-Bold\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69444, 0, 0, 0.36667],\n \"34\": [0, 0.69444, 0, 0, 0.55834],\n \"35\": [0.19444, 0.69444, 0, 0, 0.91667],\n \"36\": [0.05556, 0.75, 0, 0, 0.55],\n \"37\": [0.05556, 0.75, 0, 0, 1.02912],\n \"38\": [0, 0.69444, 0, 0, 0.83056],\n \"39\": [0, 0.69444, 0, 0, 0.30556],\n \"40\": [0.25, 0.75, 0, 0, 0.42778],\n \"41\": [0.25, 0.75, 0, 0, 0.42778],\n \"42\": [0, 0.75, 0, 0, 0.55],\n \"43\": [0.11667, 0.61667, 0, 0, 0.85556],\n \"44\": [0.10556, 0.13056, 0, 0, 0.30556],\n \"45\": [0, 0.45833, 0, 0, 0.36667],\n \"46\": [0, 0.13056, 0, 0, 0.30556],\n \"47\": [0.25, 0.75, 0, 0, 0.55],\n \"48\": [0, 0.69444, 0, 0, 0.55],\n \"49\": [0, 0.69444, 0, 0, 0.55],\n \"50\": [0, 0.69444, 0, 0, 0.55],\n \"51\": [0, 0.69444, 0, 0, 0.55],\n \"52\": [0, 0.69444, 0, 0, 0.55],\n \"53\": [0, 0.69444, 0, 0, 0.55],\n \"54\": [0, 0.69444, 0, 0, 0.55],\n \"55\": [0, 0.69444, 0, 0, 0.55],\n \"56\": [0, 0.69444, 0, 0, 0.55],\n \"57\": [0, 0.69444, 0, 0, 0.55],\n \"58\": [0, 0.45833, 0, 0, 0.30556],\n \"59\": [0.10556, 0.45833, 0, 0, 0.30556],\n \"61\": [-0.09375, 0.40625, 0, 0, 0.85556],\n \"63\": [0, 0.69444, 0, 0, 0.51945],\n \"64\": [0, 0.69444, 0, 0, 0.73334],\n \"65\": [0, 0.69444, 0, 0, 0.73334],\n \"66\": [0, 0.69444, 0, 0, 0.73334],\n \"67\": [0, 0.69444, 0, 0, 0.70278],\n \"68\": [0, 0.69444, 0, 0, 0.79445],\n \"69\": [0, 0.69444, 0, 0, 0.64167],\n \"70\": [0, 0.69444, 0, 0, 0.61111],\n \"71\": [0, 0.69444, 0, 0, 0.73334],\n \"72\": [0, 0.69444, 0, 0, 0.79445],\n \"73\": [0, 0.69444, 0, 0, 0.33056],\n \"74\": [0, 0.69444, 0, 0, 0.51945],\n \"75\": [0, 0.69444, 0, 0, 0.76389],\n \"76\": [0, 0.69444, 0, 0, 0.58056],\n \"77\": [0, 0.69444, 0, 0, 0.97778],\n \"78\": [0, 0.69444, 0, 0, 0.79445],\n \"79\": [0, 0.69444, 0, 0, 0.79445],\n \"80\": [0, 0.69444, 0, 0, 0.70278],\n \"81\": [0.10556, 0.69444, 0, 0, 0.79445],\n \"82\": [0, 0.69444, 0, 0, 0.70278],\n \"83\": [0, 0.69444, 0, 0, 0.61111],\n \"84\": [0, 0.69444, 0, 0, 0.73334],\n \"85\": [0, 0.69444, 0, 0, 0.76389],\n \"86\": [0, 0.69444, 0.01528, 0, 0.73334],\n \"87\": [0, 0.69444, 0.01528, 0, 1.03889],\n \"88\": [0, 0.69444, 0, 0, 0.73334],\n \"89\": [0, 0.69444, 0.0275, 0, 0.73334],\n \"90\": [0, 0.69444, 0, 0, 0.67223],\n \"91\": [0.25, 0.75, 0, 0, 0.34306],\n \"93\": [0.25, 0.75, 0, 0, 0.34306],\n \"94\": [0, 0.69444, 0, 0, 0.55],\n \"95\": [0.35, 0.10833, 0.03056, 0, 0.55],\n \"97\": [0, 0.45833, 0, 0, 0.525],\n \"98\": [0, 0.69444, 0, 0, 0.56111],\n \"99\": [0, 0.45833, 0, 0, 0.48889],\n \"100\": [0, 0.69444, 0, 0, 0.56111],\n \"101\": [0, 0.45833, 0, 0, 0.51111],\n \"102\": [0, 0.69444, 0.07639, 0, 0.33611],\n \"103\": [0.19444, 0.45833, 0.01528, 0, 0.55],\n \"104\": [0, 0.69444, 0, 0, 0.56111],\n \"105\": [0, 0.69444, 0, 0, 0.25556],\n \"106\": [0.19444, 0.69444, 0, 0, 0.28611],\n \"107\": [0, 0.69444, 0, 0, 0.53056],\n \"108\": [0, 0.69444, 0, 0, 0.25556],\n \"109\": [0, 0.45833, 0, 0, 0.86667],\n \"110\": [0, 0.45833, 0, 0, 0.56111],\n \"111\": [0, 0.45833, 0, 0, 0.55],\n \"112\": [0.19444, 0.45833, 0, 0, 0.56111],\n \"113\": [0.19444, 0.45833, 0, 0, 0.56111],\n \"114\": [0, 0.45833, 0.01528, 0, 0.37222],\n \"115\": [0, 0.45833, 0, 0, 0.42167],\n \"116\": [0, 0.58929, 0, 0, 0.40417],\n \"117\": [0, 0.45833, 0, 0, 0.56111],\n \"118\": [0, 0.45833, 0.01528, 0, 0.5],\n \"119\": [0, 0.45833, 0.01528, 0, 0.74445],\n \"120\": [0, 0.45833, 0, 0, 0.5],\n \"121\": [0.19444, 0.45833, 0.01528, 0, 0.5],\n \"122\": [0, 0.45833, 0, 0, 0.47639],\n \"126\": [0.35, 0.34444, 0, 0, 0.55],\n \"160\": [0, 0, 0, 0, 0.25],\n \"168\": [0, 0.69444, 0, 0, 0.55],\n \"176\": [0, 0.69444, 0, 0, 0.73334],\n \"180\": [0, 0.69444, 0, 0, 0.55],\n \"184\": [0.17014, 0, 0, 0, 0.48889],\n \"305\": [0, 0.45833, 0, 0, 0.25556],\n \"567\": [0.19444, 0.45833, 0, 0, 0.28611],\n \"710\": [0, 0.69444, 0, 0, 0.55],\n \"711\": [0, 0.63542, 0, 0, 0.55],\n \"713\": [0, 0.63778, 0, 0, 0.55],\n \"728\": [0, 0.69444, 0, 0, 0.55],\n \"729\": [0, 0.69444, 0, 0, 0.30556],\n \"730\": [0, 0.69444, 0, 0, 0.73334],\n \"732\": [0, 0.69444, 0, 0, 0.55],\n \"733\": [0, 0.69444, 0, 0, 0.55],\n \"915\": [0, 0.69444, 0, 0, 0.58056],\n \"916\": [0, 0.69444, 0, 0, 0.91667],\n \"920\": [0, 0.69444, 0, 0, 0.85556],\n \"923\": [0, 0.69444, 0, 0, 0.67223],\n \"926\": [0, 0.69444, 0, 0, 0.73334],\n \"928\": [0, 0.69444, 0, 0, 0.79445],\n \"931\": [0, 0.69444, 0, 0, 0.79445],\n \"933\": [0, 0.69444, 0, 0, 0.85556],\n \"934\": [0, 0.69444, 0, 0, 0.79445],\n \"936\": [0, 0.69444, 0, 0, 0.85556],\n \"937\": [0, 0.69444, 0, 0, 0.79445],\n \"8211\": [0, 0.45833, 0.03056, 0, 0.55],\n \"8212\": [0, 0.45833, 0.03056, 0, 1.10001],\n \"8216\": [0, 0.69444, 0, 0, 0.30556],\n \"8217\": [0, 0.69444, 0, 0, 0.30556],\n \"8220\": [0, 0.69444, 0, 0, 0.55834],\n \"8221\": [0, 0.69444, 0, 0, 0.55834]\n },\n \"SansSerif-Italic\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69444, 0.05733, 0, 0.31945],\n \"34\": [0, 0.69444, 0.00316, 0, 0.5],\n \"35\": [0.19444, 0.69444, 0.05087, 0, 0.83334],\n \"36\": [0.05556, 0.75, 0.11156, 0, 0.5],\n \"37\": [0.05556, 0.75, 0.03126, 0, 0.83334],\n \"38\": [0, 0.69444, 0.03058, 0, 0.75834],\n \"39\": [0, 0.69444, 0.07816, 0, 0.27778],\n \"40\": [0.25, 0.75, 0.13164, 0, 0.38889],\n \"41\": [0.25, 0.75, 0.02536, 0, 0.38889],\n \"42\": [0, 0.75, 0.11775, 0, 0.5],\n \"43\": [0.08333, 0.58333, 0.02536, 0, 0.77778],\n \"44\": [0.125, 0.08333, 0, 0, 0.27778],\n \"45\": [0, 0.44444, 0.01946, 0, 0.33333],\n \"46\": [0, 0.08333, 0, 0, 0.27778],\n \"47\": [0.25, 0.75, 0.13164, 0, 0.5],\n \"48\": [0, 0.65556, 0.11156, 0, 0.5],\n \"49\": [0, 0.65556, 0.11156, 0, 0.5],\n \"50\": [0, 0.65556, 0.11156, 0, 0.5],\n \"51\": [0, 0.65556, 0.11156, 0, 0.5],\n \"52\": [0, 0.65556, 0.11156, 0, 0.5],\n \"53\": [0, 0.65556, 0.11156, 0, 0.5],\n \"54\": [0, 0.65556, 0.11156, 0, 0.5],\n \"55\": [0, 0.65556, 0.11156, 0, 0.5],\n \"56\": [0, 0.65556, 0.11156, 0, 0.5],\n \"57\": [0, 0.65556, 0.11156, 0, 0.5],\n \"58\": [0, 0.44444, 0.02502, 0, 0.27778],\n \"59\": [0.125, 0.44444, 0.02502, 0, 0.27778],\n \"61\": [-0.13, 0.37, 0.05087, 0, 0.77778],\n \"63\": [0, 0.69444, 0.11809, 0, 0.47222],\n \"64\": [0, 0.69444, 0.07555, 0, 0.66667],\n \"65\": [0, 0.69444, 0, 0, 0.66667],\n \"66\": [0, 0.69444, 0.08293, 0, 0.66667],\n \"67\": [0, 0.69444, 0.11983, 0, 0.63889],\n \"68\": [0, 0.69444, 0.07555, 0, 0.72223],\n \"69\": [0, 0.69444, 0.11983, 0, 0.59722],\n \"70\": [0, 0.69444, 0.13372, 0, 0.56945],\n \"71\": [0, 0.69444, 0.11983, 0, 0.66667],\n \"72\": [0, 0.69444, 0.08094, 0, 0.70834],\n \"73\": [0, 0.69444, 0.13372, 0, 0.27778],\n \"74\": [0, 0.69444, 0.08094, 0, 0.47222],\n \"75\": [0, 0.69444, 0.11983, 0, 0.69445],\n \"76\": [0, 0.69444, 0, 0, 0.54167],\n \"77\": [0, 0.69444, 0.08094, 0, 0.875],\n \"78\": [0, 0.69444, 0.08094, 0, 0.70834],\n \"79\": [0, 0.69444, 0.07555, 0, 0.73611],\n \"80\": [0, 0.69444, 0.08293, 0, 0.63889],\n \"81\": [0.125, 0.69444, 0.07555, 0, 0.73611],\n \"82\": [0, 0.69444, 0.08293, 0, 0.64584],\n \"83\": [0, 0.69444, 0.09205, 0, 0.55556],\n \"84\": [0, 0.69444, 0.13372, 0, 0.68056],\n \"85\": [0, 0.69444, 0.08094, 0, 0.6875],\n \"86\": [0, 0.69444, 0.1615, 0, 0.66667],\n \"87\": [0, 0.69444, 0.1615, 0, 0.94445],\n \"88\": [0, 0.69444, 0.13372, 0, 0.66667],\n \"89\": [0, 0.69444, 0.17261, 0, 0.66667],\n \"90\": [0, 0.69444, 0.11983, 0, 0.61111],\n \"91\": [0.25, 0.75, 0.15942, 0, 0.28889],\n \"93\": [0.25, 0.75, 0.08719, 0, 0.28889],\n \"94\": [0, 0.69444, 0.0799, 0, 0.5],\n \"95\": [0.35, 0.09444, 0.08616, 0, 0.5],\n \"97\": [0, 0.44444, 0.00981, 0, 0.48056],\n \"98\": [0, 0.69444, 0.03057, 0, 0.51667],\n \"99\": [0, 0.44444, 0.08336, 0, 0.44445],\n \"100\": [0, 0.69444, 0.09483, 0, 0.51667],\n \"101\": [0, 0.44444, 0.06778, 0, 0.44445],\n \"102\": [0, 0.69444, 0.21705, 0, 0.30556],\n \"103\": [0.19444, 0.44444, 0.10836, 0, 0.5],\n \"104\": [0, 0.69444, 0.01778, 0, 0.51667],\n \"105\": [0, 0.67937, 0.09718, 0, 0.23889],\n \"106\": [0.19444, 0.67937, 0.09162, 0, 0.26667],\n \"107\": [0, 0.69444, 0.08336, 0, 0.48889],\n \"108\": [0, 0.69444, 0.09483, 0, 0.23889],\n \"109\": [0, 0.44444, 0.01778, 0, 0.79445],\n \"110\": [0, 0.44444, 0.01778, 0, 0.51667],\n \"111\": [0, 0.44444, 0.06613, 0, 0.5],\n \"112\": [0.19444, 0.44444, 0.0389, 0, 0.51667],\n \"113\": [0.19444, 0.44444, 0.04169, 0, 0.51667],\n \"114\": [0, 0.44444, 0.10836, 0, 0.34167],\n \"115\": [0, 0.44444, 0.0778, 0, 0.38333],\n \"116\": [0, 0.57143, 0.07225, 0, 0.36111],\n \"117\": [0, 0.44444, 0.04169, 0, 0.51667],\n \"118\": [0, 0.44444, 0.10836, 0, 0.46111],\n \"119\": [0, 0.44444, 0.10836, 0, 0.68334],\n \"120\": [0, 0.44444, 0.09169, 0, 0.46111],\n \"121\": [0.19444, 0.44444, 0.10836, 0, 0.46111],\n \"122\": [0, 0.44444, 0.08752, 0, 0.43472],\n \"126\": [0.35, 0.32659, 0.08826, 0, 0.5],\n \"160\": [0, 0, 0, 0, 0.25],\n \"168\": [0, 0.67937, 0.06385, 0, 0.5],\n \"176\": [0, 0.69444, 0, 0, 0.73752],\n \"184\": [0.17014, 0, 0, 0, 0.44445],\n \"305\": [0, 0.44444, 0.04169, 0, 0.23889],\n \"567\": [0.19444, 0.44444, 0.04169, 0, 0.26667],\n \"710\": [0, 0.69444, 0.0799, 0, 0.5],\n \"711\": [0, 0.63194, 0.08432, 0, 0.5],\n \"713\": [0, 0.60889, 0.08776, 0, 0.5],\n \"714\": [0, 0.69444, 0.09205, 0, 0.5],\n \"715\": [0, 0.69444, 0, 0, 0.5],\n \"728\": [0, 0.69444, 0.09483, 0, 0.5],\n \"729\": [0, 0.67937, 0.07774, 0, 0.27778],\n \"730\": [0, 0.69444, 0, 0, 0.73752],\n \"732\": [0, 0.67659, 0.08826, 0, 0.5],\n \"733\": [0, 0.69444, 0.09205, 0, 0.5],\n \"915\": [0, 0.69444, 0.13372, 0, 0.54167],\n \"916\": [0, 0.69444, 0, 0, 0.83334],\n \"920\": [0, 0.69444, 0.07555, 0, 0.77778],\n \"923\": [0, 0.69444, 0, 0, 0.61111],\n \"926\": [0, 0.69444, 0.12816, 0, 0.66667],\n \"928\": [0, 0.69444, 0.08094, 0, 0.70834],\n \"931\": [0, 0.69444, 0.11983, 0, 0.72222],\n \"933\": [0, 0.69444, 0.09031, 0, 0.77778],\n \"934\": [0, 0.69444, 0.04603, 0, 0.72222],\n \"936\": [0, 0.69444, 0.09031, 0, 0.77778],\n \"937\": [0, 0.69444, 0.08293, 0, 0.72222],\n \"8211\": [0, 0.44444, 0.08616, 0, 0.5],\n \"8212\": [0, 0.44444, 0.08616, 0, 1.0],\n \"8216\": [0, 0.69444, 0.07816, 0, 0.27778],\n \"8217\": [0, 0.69444, 0.07816, 0, 0.27778],\n \"8220\": [0, 0.69444, 0.14205, 0, 0.5],\n \"8221\": [0, 0.69444, 0.00316, 0, 0.5]\n },\n \"SansSerif-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69444, 0, 0, 0.31945],\n \"34\": [0, 0.69444, 0, 0, 0.5],\n \"35\": [0.19444, 0.69444, 0, 0, 0.83334],\n \"36\": [0.05556, 0.75, 0, 0, 0.5],\n \"37\": [0.05556, 0.75, 0, 0, 0.83334],\n \"38\": [0, 0.69444, 0, 0, 0.75834],\n \"39\": [0, 0.69444, 0, 0, 0.27778],\n \"40\": [0.25, 0.75, 0, 0, 0.38889],\n \"41\": [0.25, 0.75, 0, 0, 0.38889],\n \"42\": [0, 0.75, 0, 0, 0.5],\n \"43\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"44\": [0.125, 0.08333, 0, 0, 0.27778],\n \"45\": [0, 0.44444, 0, 0, 0.33333],\n \"46\": [0, 0.08333, 0, 0, 0.27778],\n \"47\": [0.25, 0.75, 0, 0, 0.5],\n \"48\": [0, 0.65556, 0, 0, 0.5],\n \"49\": [0, 0.65556, 0, 0, 0.5],\n \"50\": [0, 0.65556, 0, 0, 0.5],\n \"51\": [0, 0.65556, 0, 0, 0.5],\n \"52\": [0, 0.65556, 0, 0, 0.5],\n \"53\": [0, 0.65556, 0, 0, 0.5],\n \"54\": [0, 0.65556, 0, 0, 0.5],\n \"55\": [0, 0.65556, 0, 0, 0.5],\n \"56\": [0, 0.65556, 0, 0, 0.5],\n \"57\": [0, 0.65556, 0, 0, 0.5],\n \"58\": [0, 0.44444, 0, 0, 0.27778],\n \"59\": [0.125, 0.44444, 0, 0, 0.27778],\n \"61\": [-0.13, 0.37, 0, 0, 0.77778],\n \"63\": [0, 0.69444, 0, 0, 0.47222],\n \"64\": [0, 0.69444, 0, 0, 0.66667],\n \"65\": [0, 0.69444, 0, 0, 0.66667],\n \"66\": [0, 0.69444, 0, 0, 0.66667],\n \"67\": [0, 0.69444, 0, 0, 0.63889],\n \"68\": [0, 0.69444, 0, 0, 0.72223],\n \"69\": [0, 0.69444, 0, 0, 0.59722],\n \"70\": [0, 0.69444, 0, 0, 0.56945],\n \"71\": [0, 0.69444, 0, 0, 0.66667],\n \"72\": [0, 0.69444, 0, 0, 0.70834],\n \"73\": [0, 0.69444, 0, 0, 0.27778],\n \"74\": [0, 0.69444, 0, 0, 0.47222],\n \"75\": [0, 0.69444, 0, 0, 0.69445],\n \"76\": [0, 0.69444, 0, 0, 0.54167],\n \"77\": [0, 0.69444, 0, 0, 0.875],\n \"78\": [0, 0.69444, 0, 0, 0.70834],\n \"79\": [0, 0.69444, 0, 0, 0.73611],\n \"80\": [0, 0.69444, 0, 0, 0.63889],\n \"81\": [0.125, 0.69444, 0, 0, 0.73611],\n \"82\": [0, 0.69444, 0, 0, 0.64584],\n \"83\": [0, 0.69444, 0, 0, 0.55556],\n \"84\": [0, 0.69444, 0, 0, 0.68056],\n \"85\": [0, 0.69444, 0, 0, 0.6875],\n \"86\": [0, 0.69444, 0.01389, 0, 0.66667],\n \"87\": [0, 0.69444, 0.01389, 0, 0.94445],\n \"88\": [0, 0.69444, 0, 0, 0.66667],\n \"89\": [0, 0.69444, 0.025, 0, 0.66667],\n \"90\": [0, 0.69444, 0, 0, 0.61111],\n \"91\": [0.25, 0.75, 0, 0, 0.28889],\n \"93\": [0.25, 0.75, 0, 0, 0.28889],\n \"94\": [0, 0.69444, 0, 0, 0.5],\n \"95\": [0.35, 0.09444, 0.02778, 0, 0.5],\n \"97\": [0, 0.44444, 0, 0, 0.48056],\n \"98\": [0, 0.69444, 0, 0, 0.51667],\n \"99\": [0, 0.44444, 0, 0, 0.44445],\n \"100\": [0, 0.69444, 0, 0, 0.51667],\n \"101\": [0, 0.44444, 0, 0, 0.44445],\n \"102\": [0, 0.69444, 0.06944, 0, 0.30556],\n \"103\": [0.19444, 0.44444, 0.01389, 0, 0.5],\n \"104\": [0, 0.69444, 0, 0, 0.51667],\n \"105\": [0, 0.67937, 0, 0, 0.23889],\n \"106\": [0.19444, 0.67937, 0, 0, 0.26667],\n \"107\": [0, 0.69444, 0, 0, 0.48889],\n \"108\": [0, 0.69444, 0, 0, 0.23889],\n \"109\": [0, 0.44444, 0, 0, 0.79445],\n \"110\": [0, 0.44444, 0, 0, 0.51667],\n \"111\": [0, 0.44444, 0, 0, 0.5],\n \"112\": [0.19444, 0.44444, 0, 0, 0.51667],\n \"113\": [0.19444, 0.44444, 0, 0, 0.51667],\n \"114\": [0, 0.44444, 0.01389, 0, 0.34167],\n \"115\": [0, 0.44444, 0, 0, 0.38333],\n \"116\": [0, 0.57143, 0, 0, 0.36111],\n \"117\": [0, 0.44444, 0, 0, 0.51667],\n \"118\": [0, 0.44444, 0.01389, 0, 0.46111],\n \"119\": [0, 0.44444, 0.01389, 0, 0.68334],\n \"120\": [0, 0.44444, 0, 0, 0.46111],\n \"121\": [0.19444, 0.44444, 0.01389, 0, 0.46111],\n \"122\": [0, 0.44444, 0, 0, 0.43472],\n \"126\": [0.35, 0.32659, 0, 0, 0.5],\n \"160\": [0, 0, 0, 0, 0.25],\n \"168\": [0, 0.67937, 0, 0, 0.5],\n \"176\": [0, 0.69444, 0, 0, 0.66667],\n \"184\": [0.17014, 0, 0, 0, 0.44445],\n \"305\": [0, 0.44444, 0, 0, 0.23889],\n \"567\": [0.19444, 0.44444, 0, 0, 0.26667],\n \"710\": [0, 0.69444, 0, 0, 0.5],\n \"711\": [0, 0.63194, 0, 0, 0.5],\n \"713\": [0, 0.60889, 0, 0, 0.5],\n \"714\": [0, 0.69444, 0, 0, 0.5],\n \"715\": [0, 0.69444, 0, 0, 0.5],\n \"728\": [0, 0.69444, 0, 0, 0.5],\n \"729\": [0, 0.67937, 0, 0, 0.27778],\n \"730\": [0, 0.69444, 0, 0, 0.66667],\n \"732\": [0, 0.67659, 0, 0, 0.5],\n \"733\": [0, 0.69444, 0, 0, 0.5],\n \"915\": [0, 0.69444, 0, 0, 0.54167],\n \"916\": [0, 0.69444, 0, 0, 0.83334],\n \"920\": [0, 0.69444, 0, 0, 0.77778],\n \"923\": [0, 0.69444, 0, 0, 0.61111],\n \"926\": [0, 0.69444, 0, 0, 0.66667],\n \"928\": [0, 0.69444, 0, 0, 0.70834],\n \"931\": [0, 0.69444, 0, 0, 0.72222],\n \"933\": [0, 0.69444, 0, 0, 0.77778],\n \"934\": [0, 0.69444, 0, 0, 0.72222],\n \"936\": [0, 0.69444, 0, 0, 0.77778],\n \"937\": [0, 0.69444, 0, 0, 0.72222],\n \"8211\": [0, 0.44444, 0.02778, 0, 0.5],\n \"8212\": [0, 0.44444, 0.02778, 0, 1.0],\n \"8216\": [0, 0.69444, 0, 0, 0.27778],\n \"8217\": [0, 0.69444, 0, 0, 0.27778],\n \"8220\": [0, 0.69444, 0, 0, 0.5],\n \"8221\": [0, 0.69444, 0, 0, 0.5]\n },\n \"Script-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"65\": [0, 0.7, 0.22925, 0, 0.80253],\n \"66\": [0, 0.7, 0.04087, 0, 0.90757],\n \"67\": [0, 0.7, 0.1689, 0, 0.66619],\n \"68\": [0, 0.7, 0.09371, 0, 0.77443],\n \"69\": [0, 0.7, 0.18583, 0, 0.56162],\n \"70\": [0, 0.7, 0.13634, 0, 0.89544],\n \"71\": [0, 0.7, 0.17322, 0, 0.60961],\n \"72\": [0, 0.7, 0.29694, 0, 0.96919],\n \"73\": [0, 0.7, 0.19189, 0, 0.80907],\n \"74\": [0.27778, 0.7, 0.19189, 0, 1.05159],\n \"75\": [0, 0.7, 0.31259, 0, 0.91364],\n \"76\": [0, 0.7, 0.19189, 0, 0.87373],\n \"77\": [0, 0.7, 0.15981, 0, 1.08031],\n \"78\": [0, 0.7, 0.3525, 0, 0.9015],\n \"79\": [0, 0.7, 0.08078, 0, 0.73787],\n \"80\": [0, 0.7, 0.08078, 0, 1.01262],\n \"81\": [0, 0.7, 0.03305, 0, 0.88282],\n \"82\": [0, 0.7, 0.06259, 0, 0.85],\n \"83\": [0, 0.7, 0.19189, 0, 0.86767],\n \"84\": [0, 0.7, 0.29087, 0, 0.74697],\n \"85\": [0, 0.7, 0.25815, 0, 0.79996],\n \"86\": [0, 0.7, 0.27523, 0, 0.62204],\n \"87\": [0, 0.7, 0.27523, 0, 0.80532],\n \"88\": [0, 0.7, 0.26006, 0, 0.94445],\n \"89\": [0, 0.7, 0.2939, 0, 0.70961],\n \"90\": [0, 0.7, 0.24037, 0, 0.8212],\n \"160\": [0, 0, 0, 0, 0.25]\n },\n \"Size1-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"40\": [0.35001, 0.85, 0, 0, 0.45834],\n \"41\": [0.35001, 0.85, 0, 0, 0.45834],\n \"47\": [0.35001, 0.85, 0, 0, 0.57778],\n \"91\": [0.35001, 0.85, 0, 0, 0.41667],\n \"92\": [0.35001, 0.85, 0, 0, 0.57778],\n \"93\": [0.35001, 0.85, 0, 0, 0.41667],\n \"123\": [0.35001, 0.85, 0, 0, 0.58334],\n \"125\": [0.35001, 0.85, 0, 0, 0.58334],\n \"160\": [0, 0, 0, 0, 0.25],\n \"710\": [0, 0.72222, 0, 0, 0.55556],\n \"732\": [0, 0.72222, 0, 0, 0.55556],\n \"770\": [0, 0.72222, 0, 0, 0.55556],\n \"771\": [0, 0.72222, 0, 0, 0.55556],\n \"8214\": [-0.00099, 0.601, 0, 0, 0.77778],\n \"8593\": [1e-05, 0.6, 0, 0, 0.66667],\n \"8595\": [1e-05, 0.6, 0, 0, 0.66667],\n \"8657\": [1e-05, 0.6, 0, 0, 0.77778],\n \"8659\": [1e-05, 0.6, 0, 0, 0.77778],\n \"8719\": [0.25001, 0.75, 0, 0, 0.94445],\n \"8720\": [0.25001, 0.75, 0, 0, 0.94445],\n \"8721\": [0.25001, 0.75, 0, 0, 1.05556],\n \"8730\": [0.35001, 0.85, 0, 0, 1.0],\n \"8739\": [-0.00599, 0.606, 0, 0, 0.33333],\n \"8741\": [-0.00599, 0.606, 0, 0, 0.55556],\n \"8747\": [0.30612, 0.805, 0.19445, 0, 0.47222],\n \"8748\": [0.306, 0.805, 0.19445, 0, 0.47222],\n \"8749\": [0.306, 0.805, 0.19445, 0, 0.47222],\n \"8750\": [0.30612, 0.805, 0.19445, 0, 0.47222],\n \"8896\": [0.25001, 0.75, 0, 0, 0.83334],\n \"8897\": [0.25001, 0.75, 0, 0, 0.83334],\n \"8898\": [0.25001, 0.75, 0, 0, 0.83334],\n \"8899\": [0.25001, 0.75, 0, 0, 0.83334],\n \"8968\": [0.35001, 0.85, 0, 0, 0.47222],\n \"8969\": [0.35001, 0.85, 0, 0, 0.47222],\n \"8970\": [0.35001, 0.85, 0, 0, 0.47222],\n \"8971\": [0.35001, 0.85, 0, 0, 0.47222],\n \"9168\": [-0.00099, 0.601, 0, 0, 0.66667],\n \"10216\": [0.35001, 0.85, 0, 0, 0.47222],\n \"10217\": [0.35001, 0.85, 0, 0, 0.47222],\n \"10752\": [0.25001, 0.75, 0, 0, 1.11111],\n \"10753\": [0.25001, 0.75, 0, 0, 1.11111],\n \"10754\": [0.25001, 0.75, 0, 0, 1.11111],\n \"10756\": [0.25001, 0.75, 0, 0, 0.83334],\n \"10758\": [0.25001, 0.75, 0, 0, 0.83334]\n },\n \"Size2-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"40\": [0.65002, 1.15, 0, 0, 0.59722],\n \"41\": [0.65002, 1.15, 0, 0, 0.59722],\n \"47\": [0.65002, 1.15, 0, 0, 0.81111],\n \"91\": [0.65002, 1.15, 0, 0, 0.47222],\n \"92\": [0.65002, 1.15, 0, 0, 0.81111],\n \"93\": [0.65002, 1.15, 0, 0, 0.47222],\n \"123\": [0.65002, 1.15, 0, 0, 0.66667],\n \"125\": [0.65002, 1.15, 0, 0, 0.66667],\n \"160\": [0, 0, 0, 0, 0.25],\n \"710\": [0, 0.75, 0, 0, 1.0],\n \"732\": [0, 0.75, 0, 0, 1.0],\n \"770\": [0, 0.75, 0, 0, 1.0],\n \"771\": [0, 0.75, 0, 0, 1.0],\n \"8719\": [0.55001, 1.05, 0, 0, 1.27778],\n \"8720\": [0.55001, 1.05, 0, 0, 1.27778],\n \"8721\": [0.55001, 1.05, 0, 0, 1.44445],\n \"8730\": [0.65002, 1.15, 0, 0, 1.0],\n \"8747\": [0.86225, 1.36, 0.44445, 0, 0.55556],\n \"8748\": [0.862, 1.36, 0.44445, 0, 0.55556],\n \"8749\": [0.862, 1.36, 0.44445, 0, 0.55556],\n \"8750\": [0.86225, 1.36, 0.44445, 0, 0.55556],\n \"8896\": [0.55001, 1.05, 0, 0, 1.11111],\n \"8897\": [0.55001, 1.05, 0, 0, 1.11111],\n \"8898\": [0.55001, 1.05, 0, 0, 1.11111],\n \"8899\": [0.55001, 1.05, 0, 0, 1.11111],\n \"8968\": [0.65002, 1.15, 0, 0, 0.52778],\n \"8969\": [0.65002, 1.15, 0, 0, 0.52778],\n \"8970\": [0.65002, 1.15, 0, 0, 0.52778],\n \"8971\": [0.65002, 1.15, 0, 0, 0.52778],\n \"10216\": [0.65002, 1.15, 0, 0, 0.61111],\n \"10217\": [0.65002, 1.15, 0, 0, 0.61111],\n \"10752\": [0.55001, 1.05, 0, 0, 1.51112],\n \"10753\": [0.55001, 1.05, 0, 0, 1.51112],\n \"10754\": [0.55001, 1.05, 0, 0, 1.51112],\n \"10756\": [0.55001, 1.05, 0, 0, 1.11111],\n \"10758\": [0.55001, 1.05, 0, 0, 1.11111]\n },\n \"Size3-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"40\": [0.95003, 1.45, 0, 0, 0.73611],\n \"41\": [0.95003, 1.45, 0, 0, 0.73611],\n \"47\": [0.95003, 1.45, 0, 0, 1.04445],\n \"91\": [0.95003, 1.45, 0, 0, 0.52778],\n \"92\": [0.95003, 1.45, 0, 0, 1.04445],\n \"93\": [0.95003, 1.45, 0, 0, 0.52778],\n \"123\": [0.95003, 1.45, 0, 0, 0.75],\n \"125\": [0.95003, 1.45, 0, 0, 0.75],\n \"160\": [0, 0, 0, 0, 0.25],\n \"710\": [0, 0.75, 0, 0, 1.44445],\n \"732\": [0, 0.75, 0, 0, 1.44445],\n \"770\": [0, 0.75, 0, 0, 1.44445],\n \"771\": [0, 0.75, 0, 0, 1.44445],\n \"8730\": [0.95003, 1.45, 0, 0, 1.0],\n \"8968\": [0.95003, 1.45, 0, 0, 0.58334],\n \"8969\": [0.95003, 1.45, 0, 0, 0.58334],\n \"8970\": [0.95003, 1.45, 0, 0, 0.58334],\n \"8971\": [0.95003, 1.45, 0, 0, 0.58334],\n \"10216\": [0.95003, 1.45, 0, 0, 0.75],\n \"10217\": [0.95003, 1.45, 0, 0, 0.75]\n },\n \"Size4-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"40\": [1.25003, 1.75, 0, 0, 0.79167],\n \"41\": [1.25003, 1.75, 0, 0, 0.79167],\n \"47\": [1.25003, 1.75, 0, 0, 1.27778],\n \"91\": [1.25003, 1.75, 0, 0, 0.58334],\n \"92\": [1.25003, 1.75, 0, 0, 1.27778],\n \"93\": [1.25003, 1.75, 0, 0, 0.58334],\n \"123\": [1.25003, 1.75, 0, 0, 0.80556],\n \"125\": [1.25003, 1.75, 0, 0, 0.80556],\n \"160\": [0, 0, 0, 0, 0.25],\n \"710\": [0, 0.825, 0, 0, 1.8889],\n \"732\": [0, 0.825, 0, 0, 1.8889],\n \"770\": [0, 0.825, 0, 0, 1.8889],\n \"771\": [0, 0.825, 0, 0, 1.8889],\n \"8730\": [1.25003, 1.75, 0, 0, 1.0],\n \"8968\": [1.25003, 1.75, 0, 0, 0.63889],\n \"8969\": [1.25003, 1.75, 0, 0, 0.63889],\n \"8970\": [1.25003, 1.75, 0, 0, 0.63889],\n \"8971\": [1.25003, 1.75, 0, 0, 0.63889],\n \"9115\": [0.64502, 1.155, 0, 0, 0.875],\n \"9116\": [1e-05, 0.6, 0, 0, 0.875],\n \"9117\": [0.64502, 1.155, 0, 0, 0.875],\n \"9118\": [0.64502, 1.155, 0, 0, 0.875],\n \"9119\": [1e-05, 0.6, 0, 0, 0.875],\n \"9120\": [0.64502, 1.155, 0, 0, 0.875],\n \"9121\": [0.64502, 1.155, 0, 0, 0.66667],\n \"9122\": [-0.00099, 0.601, 0, 0, 0.66667],\n \"9123\": [0.64502, 1.155, 0, 0, 0.66667],\n \"9124\": [0.64502, 1.155, 0, 0, 0.66667],\n \"9125\": [-0.00099, 0.601, 0, 0, 0.66667],\n \"9126\": [0.64502, 1.155, 0, 0, 0.66667],\n \"9127\": [1e-05, 0.9, 0, 0, 0.88889],\n \"9128\": [0.65002, 1.15, 0, 0, 0.88889],\n \"9129\": [0.90001, 0, 0, 0, 0.88889],\n \"9130\": [0, 0.3, 0, 0, 0.88889],\n \"9131\": [1e-05, 0.9, 0, 0, 0.88889],\n \"9132\": [0.65002, 1.15, 0, 0, 0.88889],\n \"9133\": [0.90001, 0, 0, 0, 0.88889],\n \"9143\": [0.88502, 0.915, 0, 0, 1.05556],\n \"10216\": [1.25003, 1.75, 0, 0, 0.80556],\n \"10217\": [1.25003, 1.75, 0, 0, 0.80556],\n \"57344\": [-0.00499, 0.605, 0, 0, 1.05556],\n \"57345\": [-0.00499, 0.605, 0, 0, 1.05556],\n \"57680\": [0, 0.12, 0, 0, 0.45],\n \"57681\": [0, 0.12, 0, 0, 0.45],\n \"57682\": [0, 0.12, 0, 0, 0.45],\n \"57683\": [0, 0.12, 0, 0, 0.45]\n },\n \"Typewriter-Regular\": {\n \"32\": [0, 0, 0, 0, 0.525],\n \"33\": [0, 0.61111, 0, 0, 0.525],\n \"34\": [0, 0.61111, 0, 0, 0.525],\n \"35\": [0, 0.61111, 0, 0, 0.525],\n \"36\": [0.08333, 0.69444, 0, 0, 0.525],\n \"37\": [0.08333, 0.69444, 0, 0, 0.525],\n \"38\": [0, 0.61111, 0, 0, 0.525],\n \"39\": [0, 0.61111, 0, 0, 0.525],\n \"40\": [0.08333, 0.69444, 0, 0, 0.525],\n \"41\": [0.08333, 0.69444, 0, 0, 0.525],\n \"42\": [0, 0.52083, 0, 0, 0.525],\n \"43\": [-0.08056, 0.53055, 0, 0, 0.525],\n \"44\": [0.13889, 0.125, 0, 0, 0.525],\n \"45\": [-0.08056, 0.53055, 0, 0, 0.525],\n \"46\": [0, 0.125, 0, 0, 0.525],\n \"47\": [0.08333, 0.69444, 0, 0, 0.525],\n \"48\": [0, 0.61111, 0, 0, 0.525],\n \"49\": [0, 0.61111, 0, 0, 0.525],\n \"50\": [0, 0.61111, 0, 0, 0.525],\n \"51\": [0, 0.61111, 0, 0, 0.525],\n \"52\": [0, 0.61111, 0, 0, 0.525],\n \"53\": [0, 0.61111, 0, 0, 0.525],\n \"54\": [0, 0.61111, 0, 0, 0.525],\n \"55\": [0, 0.61111, 0, 0, 0.525],\n \"56\": [0, 0.61111, 0, 0, 0.525],\n \"57\": [0, 0.61111, 0, 0, 0.525],\n \"58\": [0, 0.43056, 0, 0, 0.525],\n \"59\": [0.13889, 0.43056, 0, 0, 0.525],\n \"60\": [-0.05556, 0.55556, 0, 0, 0.525],\n \"61\": [-0.19549, 0.41562, 0, 0, 0.525],\n \"62\": [-0.05556, 0.55556, 0, 0, 0.525],\n \"63\": [0, 0.61111, 0, 0, 0.525],\n \"64\": [0, 0.61111, 0, 0, 0.525],\n \"65\": [0, 0.61111, 0, 0, 0.525],\n \"66\": [0, 0.61111, 0, 0, 0.525],\n \"67\": [0, 0.61111, 0, 0, 0.525],\n \"68\": [0, 0.61111, 0, 0, 0.525],\n \"69\": [0, 0.61111, 0, 0, 0.525],\n \"70\": [0, 0.61111, 0, 0, 0.525],\n \"71\": [0, 0.61111, 0, 0, 0.525],\n \"72\": [0, 0.61111, 0, 0, 0.525],\n \"73\": [0, 0.61111, 0, 0, 0.525],\n \"74\": [0, 0.61111, 0, 0, 0.525],\n \"75\": [0, 0.61111, 0, 0, 0.525],\n \"76\": [0, 0.61111, 0, 0, 0.525],\n \"77\": [0, 0.61111, 0, 0, 0.525],\n \"78\": [0, 0.61111, 0, 0, 0.525],\n \"79\": [0, 0.61111, 0, 0, 0.525],\n \"80\": [0, 0.61111, 0, 0, 0.525],\n \"81\": [0.13889, 0.61111, 0, 0, 0.525],\n \"82\": [0, 0.61111, 0, 0, 0.525],\n \"83\": [0, 0.61111, 0, 0, 0.525],\n \"84\": [0, 0.61111, 0, 0, 0.525],\n \"85\": [0, 0.61111, 0, 0, 0.525],\n \"86\": [0, 0.61111, 0, 0, 0.525],\n \"87\": [0, 0.61111, 0, 0, 0.525],\n \"88\": [0, 0.61111, 0, 0, 0.525],\n \"89\": [0, 0.61111, 0, 0, 0.525],\n \"90\": [0, 0.61111, 0, 0, 0.525],\n \"91\": [0.08333, 0.69444, 0, 0, 0.525],\n \"92\": [0.08333, 0.69444, 0, 0, 0.525],\n \"93\": [0.08333, 0.69444, 0, 0, 0.525],\n \"94\": [0, 0.61111, 0, 0, 0.525],\n \"95\": [0.09514, 0, 0, 0, 0.525],\n \"96\": [0, 0.61111, 0, 0, 0.525],\n \"97\": [0, 0.43056, 0, 0, 0.525],\n \"98\": [0, 0.61111, 0, 0, 0.525],\n \"99\": [0, 0.43056, 0, 0, 0.525],\n \"100\": [0, 0.61111, 0, 0, 0.525],\n \"101\": [0, 0.43056, 0, 0, 0.525],\n \"102\": [0, 0.61111, 0, 0, 0.525],\n \"103\": [0.22222, 0.43056, 0, 0, 0.525],\n \"104\": [0, 0.61111, 0, 0, 0.525],\n \"105\": [0, 0.61111, 0, 0, 0.525],\n \"106\": [0.22222, 0.61111, 0, 0, 0.525],\n \"107\": [0, 0.61111, 0, 0, 0.525],\n \"108\": [0, 0.61111, 0, 0, 0.525],\n \"109\": [0, 0.43056, 0, 0, 0.525],\n \"110\": [0, 0.43056, 0, 0, 0.525],\n \"111\": [0, 0.43056, 0, 0, 0.525],\n \"112\": [0.22222, 0.43056, 0, 0, 0.525],\n \"113\": [0.22222, 0.43056, 0, 0, 0.525],\n \"114\": [0, 0.43056, 0, 0, 0.525],\n \"115\": [0, 0.43056, 0, 0, 0.525],\n \"116\": [0, 0.55358, 0, 0, 0.525],\n \"117\": [0, 0.43056, 0, 0, 0.525],\n \"118\": [0, 0.43056, 0, 0, 0.525],\n \"119\": [0, 0.43056, 0, 0, 0.525],\n \"120\": [0, 0.43056, 0, 0, 0.525],\n \"121\": [0.22222, 0.43056, 0, 0, 0.525],\n \"122\": [0, 0.43056, 0, 0, 0.525],\n \"123\": [0.08333, 0.69444, 0, 0, 0.525],\n \"124\": [0.08333, 0.69444, 0, 0, 0.525],\n \"125\": [0.08333, 0.69444, 0, 0, 0.525],\n \"126\": [0, 0.61111, 0, 0, 0.525],\n \"127\": [0, 0.61111, 0, 0, 0.525],\n \"160\": [0, 0, 0, 0, 0.525],\n \"176\": [0, 0.61111, 0, 0, 0.525],\n \"184\": [0.19445, 0, 0, 0, 0.525],\n \"305\": [0, 0.43056, 0, 0, 0.525],\n \"567\": [0.22222, 0.43056, 0, 0, 0.525],\n \"711\": [0, 0.56597, 0, 0, 0.525],\n \"713\": [0, 0.56555, 0, 0, 0.525],\n \"714\": [0, 0.61111, 0, 0, 0.525],\n \"715\": [0, 0.61111, 0, 0, 0.525],\n \"728\": [0, 0.61111, 0, 0, 0.525],\n \"730\": [0, 0.61111, 0, 0, 0.525],\n \"770\": [0, 0.61111, 0, 0, 0.525],\n \"771\": [0, 0.61111, 0, 0, 0.525],\n \"776\": [0, 0.61111, 0, 0, 0.525],\n \"915\": [0, 0.61111, 0, 0, 0.525],\n \"916\": [0, 0.61111, 0, 0, 0.525],\n \"920\": [0, 0.61111, 0, 0, 0.525],\n \"923\": [0, 0.61111, 0, 0, 0.525],\n \"926\": [0, 0.61111, 0, 0, 0.525],\n \"928\": [0, 0.61111, 0, 0, 0.525],\n \"931\": [0, 0.61111, 0, 0, 0.525],\n \"933\": [0, 0.61111, 0, 0, 0.525],\n \"934\": [0, 0.61111, 0, 0, 0.525],\n \"936\": [0, 0.61111, 0, 0, 0.525],\n \"937\": [0, 0.61111, 0, 0, 0.525],\n \"8216\": [0, 0.61111, 0, 0, 0.525],\n \"8217\": [0, 0.61111, 0, 0, 0.525],\n \"8242\": [0, 0.61111, 0, 0, 0.525],\n \"9251\": [0.11111, 0.21944, 0, 0, 0.525]\n }\n});\n;// CONCATENATED MODULE: ./src/fontMetrics.js\n\n\n/**\n * This file contains metrics regarding fonts and individual symbols. The sigma\n * and xi variables, as well as the metricMap map contain data extracted from\n * TeX, TeX font metrics, and the TTF files. These data are then exposed via the\n * `metrics` variable and the getCharacterMetrics function.\n */\n// In TeX, there are actually three sets of dimensions, one for each of\n// textstyle (size index 5 and higher: >=9pt), scriptstyle (size index 3 and 4:\n// 7-8pt), and scriptscriptstyle (size index 1 and 2: 5-6pt). These are\n// provided in the arrays below, in that order.\n//\n// The font metrics are stored in fonts cmsy10, cmsy7, and cmsy5 respectively.\n// This was determined by running the following script:\n//\n// latex -interaction=nonstopmode \\\n// '\\documentclass{article}\\usepackage{amsmath}\\begin{document}' \\\n// '$a$ \\expandafter\\show\\the\\textfont2' \\\n// '\\expandafter\\show\\the\\scriptfont2' \\\n// '\\expandafter\\show\\the\\scriptscriptfont2' \\\n// '\\stop'\n//\n// The metrics themselves were retrieved using the following commands:\n//\n// tftopl cmsy10\n// tftopl cmsy7\n// tftopl cmsy5\n//\n// The output of each of these commands is quite lengthy. The only part we\n// care about is the FONTDIMEN section. Each value is measured in EMs.\nconst sigmasAndXis = {\n slant: [0.250, 0.250, 0.250],\n // sigma1\n space: [0.000, 0.000, 0.000],\n // sigma2\n stretch: [0.000, 0.000, 0.000],\n // sigma3\n shrink: [0.000, 0.000, 0.000],\n // sigma4\n xHeight: [0.431, 0.431, 0.431],\n // sigma5\n quad: [1.000, 1.171, 1.472],\n // sigma6\n extraSpace: [0.000, 0.000, 0.000],\n // sigma7\n num1: [0.677, 0.732, 0.925],\n // sigma8\n num2: [0.394, 0.384, 0.387],\n // sigma9\n num3: [0.444, 0.471, 0.504],\n // sigma10\n denom1: [0.686, 0.752, 1.025],\n // sigma11\n denom2: [0.345, 0.344, 0.532],\n // sigma12\n sup1: [0.413, 0.503, 0.504],\n // sigma13\n sup2: [0.363, 0.431, 0.404],\n // sigma14\n sup3: [0.289, 0.286, 0.294],\n // sigma15\n sub1: [0.150, 0.143, 0.200],\n // sigma16\n sub2: [0.247, 0.286, 0.400],\n // sigma17\n supDrop: [0.386, 0.353, 0.494],\n // sigma18\n subDrop: [0.050, 0.071, 0.100],\n // sigma19\n delim1: [2.390, 1.700, 1.980],\n // sigma20\n delim2: [1.010, 1.157, 1.420],\n // sigma21\n axisHeight: [0.250, 0.250, 0.250],\n // sigma22\n // These font metrics are extracted from TeX by using tftopl on cmex10.tfm;\n // they correspond to the font parameters of the extension fonts (family 3).\n // See the TeXbook, page 441. In AMSTeX, the extension fonts scale; to\n // match cmex7, we'd use cmex7.tfm values for script and scriptscript\n // values.\n defaultRuleThickness: [0.04, 0.049, 0.049],\n // xi8; cmex7: 0.049\n bigOpSpacing1: [0.111, 0.111, 0.111],\n // xi9\n bigOpSpacing2: [0.166, 0.166, 0.166],\n // xi10\n bigOpSpacing3: [0.2, 0.2, 0.2],\n // xi11\n bigOpSpacing4: [0.6, 0.611, 0.611],\n // xi12; cmex7: 0.611\n bigOpSpacing5: [0.1, 0.143, 0.143],\n // xi13; cmex7: 0.143\n // The \\sqrt rule width is taken from the height of the surd character.\n // Since we use the same font at all sizes, this thickness doesn't scale.\n sqrtRuleThickness: [0.04, 0.04, 0.04],\n // This value determines how large a pt is, for metrics which are defined\n // in terms of pts.\n // This value is also used in katex.scss; if you change it make sure the\n // values match.\n ptPerEm: [10.0, 10.0, 10.0],\n // The space between adjacent `|` columns in an array definition. From\n // `\\showthe\\doublerulesep` in LaTeX. Equals 2.0 / ptPerEm.\n doubleRuleSep: [0.2, 0.2, 0.2],\n // The width of separator lines in {array} environments. From\n // `\\showthe\\arrayrulewidth` in LaTeX. Equals 0.4 / ptPerEm.\n arrayRuleWidth: [0.04, 0.04, 0.04],\n // Two values from LaTeX source2e:\n fboxsep: [0.3, 0.3, 0.3],\n // 3 pt / ptPerEm\n fboxrule: [0.04, 0.04, 0.04] // 0.4 pt / ptPerEm\n\n}; // This map contains a mapping from font name and character code to character\n// metrics, including height, depth, italic correction, and skew (kern from the\n// character to the corresponding \\skewchar)\n// This map is generated via `make metrics`. It should not be changed manually.\n\n // These are very rough approximations. We default to Times New Roman which\n// should have Latin-1 and Cyrillic characters, but may not depending on the\n// operating system. The metrics do not account for extra height from the\n// accents. In the case of Cyrillic characters which have both ascenders and\n// descenders we prefer approximations with ascenders, primarily to prevent\n// the fraction bar or root line from intersecting the glyph.\n// TODO(kevinb) allow union of multiple glyph metrics for better accuracy.\n\nconst extraCharacterMap = {\n // Latin-1\n 'Å': 'A',\n 'Ð': 'D',\n 'Þ': 'o',\n 'å': 'a',\n 'ð': 'd',\n 'þ': 'o',\n // Cyrillic\n 'А': 'A',\n 'Б': 'B',\n 'В': 'B',\n 'Г': 'F',\n 'Д': 'A',\n 'Е': 'E',\n 'Ж': 'K',\n 'З': '3',\n 'И': 'N',\n 'Й': 'N',\n 'К': 'K',\n 'Л': 'N',\n 'М': 'M',\n 'Н': 'H',\n 'О': 'O',\n 'П': 'N',\n 'Р': 'P',\n 'С': 'C',\n 'Т': 'T',\n 'У': 'y',\n 'Ф': 'O',\n 'Х': 'X',\n 'Ц': 'U',\n 'Ч': 'h',\n 'Ш': 'W',\n 'Щ': 'W',\n 'Ъ': 'B',\n 'Ы': 'X',\n 'Ь': 'B',\n 'Э': '3',\n 'Ю': 'X',\n 'Я': 'R',\n 'а': 'a',\n 'б': 'b',\n 'в': 'a',\n 'г': 'r',\n 'д': 'y',\n 'е': 'e',\n 'ж': 'm',\n 'з': 'e',\n 'и': 'n',\n 'й': 'n',\n 'к': 'n',\n 'л': 'n',\n 'м': 'm',\n 'н': 'n',\n 'о': 'o',\n 'п': 'n',\n 'р': 'p',\n 'с': 'c',\n 'т': 'o',\n 'у': 'y',\n 'ф': 'b',\n 'х': 'x',\n 'ц': 'n',\n 'ч': 'n',\n 'ш': 'w',\n 'щ': 'w',\n 'ъ': 'a',\n 'ы': 'm',\n 'ь': 'a',\n 'э': 'e',\n 'ю': 'm',\n 'я': 'r'\n};\n\n/**\n * This function adds new font metrics to default metricMap\n * It can also override existing metrics\n */\nfunction setFontMetrics(fontName, metrics) {\n fontMetricsData[fontName] = metrics;\n}\n/**\n * This function is a convenience function for looking up information in the\n * metricMap table. It takes a character as a string, and a font.\n *\n * Note: the `width` property may be undefined if fontMetricsData.js wasn't\n * built using `Make extended_metrics`.\n */\n\nfunction getCharacterMetrics(character, font, mode) {\n if (!fontMetricsData[font]) {\n throw new Error(\"Font metrics not found for font: \" + font + \".\");\n }\n\n let ch = character.charCodeAt(0);\n let metrics = fontMetricsData[font][ch];\n\n if (!metrics && character[0] in extraCharacterMap) {\n ch = extraCharacterMap[character[0]].charCodeAt(0);\n metrics = fontMetricsData[font][ch];\n }\n\n if (!metrics && mode === 'text') {\n // We don't typically have font metrics for Asian scripts.\n // But since we support them in text mode, we need to return\n // some sort of metrics.\n // So if the character is in a script we support but we\n // don't have metrics for it, just use the metrics for\n // the Latin capital letter M. This is close enough because\n // we (currently) only care about the height of the glyph\n // not its width.\n if (supportedCodepoint(ch)) {\n metrics = fontMetricsData[font][77]; // 77 is the charcode for 'M'\n }\n }\n\n if (metrics) {\n return {\n depth: metrics[0],\n height: metrics[1],\n italic: metrics[2],\n skew: metrics[3],\n width: metrics[4]\n };\n }\n}\nconst fontMetricsBySizeIndex = {};\n/**\n * Get the font metrics for a given size.\n */\n\nfunction getGlobalMetrics(size) {\n let sizeIndex;\n\n if (size >= 5) {\n sizeIndex = 0;\n } else if (size >= 3) {\n sizeIndex = 1;\n } else {\n sizeIndex = 2;\n }\n\n if (!fontMetricsBySizeIndex[sizeIndex]) {\n const metrics = fontMetricsBySizeIndex[sizeIndex] = {\n cssEmPerMu: sigmasAndXis.quad[sizeIndex] / 18\n };\n\n for (const key in sigmasAndXis) {\n if (sigmasAndXis.hasOwnProperty(key)) {\n metrics[key] = sigmasAndXis[key][sizeIndex];\n }\n }\n }\n\n return fontMetricsBySizeIndex[sizeIndex];\n}\n;// CONCATENATED MODULE: ./src/Options.js\n/**\n * This file contains information about the options that the Parser carries\n * around with it while parsing. Data is held in an `Options` object, and when\n * recursing, a new `Options` object can be created with the `.with*` and\n * `.reset` functions.\n */\n\nconst sizeStyleMap = [// Each element contains [textsize, scriptsize, scriptscriptsize].\n// The size mappings are taken from TeX with \\normalsize=10pt.\n[1, 1, 1], // size1: [5, 5, 5] \\tiny\n[2, 1, 1], // size2: [6, 5, 5]\n[3, 1, 1], // size3: [7, 5, 5] \\scriptsize\n[4, 2, 1], // size4: [8, 6, 5] \\footnotesize\n[5, 2, 1], // size5: [9, 6, 5] \\small\n[6, 3, 1], // size6: [10, 7, 5] \\normalsize\n[7, 4, 2], // size7: [12, 8, 6] \\large\n[8, 6, 3], // size8: [14.4, 10, 7] \\Large\n[9, 7, 6], // size9: [17.28, 12, 10] \\LARGE\n[10, 8, 7], // size10: [20.74, 14.4, 12] \\huge\n[11, 10, 9] // size11: [24.88, 20.74, 17.28] \\HUGE\n];\nconst sizeMultipliers = [// fontMetrics.js:getGlobalMetrics also uses size indexes, so if\n// you change size indexes, change that function.\n0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.2, 1.44, 1.728, 2.074, 2.488];\n\nconst sizeAtStyle = function (size, style) {\n return style.size < 2 ? size : sizeStyleMap[size - 1][style.size - 1];\n}; // In these types, \"\" (empty string) means \"no change\".\n\n\n/**\n * This is the main options class. It contains the current style, size, color,\n * and font.\n *\n * Options objects should not be modified. To create a new Options with\n * different properties, call a `.having*` method.\n */\nclass Options {\n // A font family applies to a group of fonts (i.e. SansSerif), while a font\n // represents a specific font (i.e. SansSerif Bold).\n // See: https://tex.stackexchange.com/questions/22350/difference-between-textrm-and-mathrm\n\n /**\n * The base size index.\n */\n constructor(data) {\n this.style = void 0;\n this.color = void 0;\n this.size = void 0;\n this.textSize = void 0;\n this.phantom = void 0;\n this.font = void 0;\n this.fontFamily = void 0;\n this.fontWeight = void 0;\n this.fontShape = void 0;\n this.sizeMultiplier = void 0;\n this.maxSize = void 0;\n this.minRuleThickness = void 0;\n this._fontMetrics = void 0;\n this.style = data.style;\n this.color = data.color;\n this.size = data.size || Options.BASESIZE;\n this.textSize = data.textSize || this.size;\n this.phantom = !!data.phantom;\n this.font = data.font || \"\";\n this.fontFamily = data.fontFamily || \"\";\n this.fontWeight = data.fontWeight || '';\n this.fontShape = data.fontShape || '';\n this.sizeMultiplier = sizeMultipliers[this.size - 1];\n this.maxSize = data.maxSize;\n this.minRuleThickness = data.minRuleThickness;\n this._fontMetrics = undefined;\n }\n /**\n * Returns a new options object with the same properties as \"this\". Properties\n * from \"extension\" will be copied to the new options object.\n */\n\n\n extend(extension) {\n const data = {\n style: this.style,\n size: this.size,\n textSize: this.textSize,\n color: this.color,\n phantom: this.phantom,\n font: this.font,\n fontFamily: this.fontFamily,\n fontWeight: this.fontWeight,\n fontShape: this.fontShape,\n maxSize: this.maxSize,\n minRuleThickness: this.minRuleThickness\n };\n\n for (const key in extension) {\n if (extension.hasOwnProperty(key)) {\n data[key] = extension[key];\n }\n }\n\n return new Options(data);\n }\n /**\n * Return an options object with the given style. If `this.style === style`,\n * returns `this`.\n */\n\n\n havingStyle(style) {\n if (this.style === style) {\n return this;\n } else {\n return this.extend({\n style: style,\n size: sizeAtStyle(this.textSize, style)\n });\n }\n }\n /**\n * Return an options object with a cramped version of the current style. If\n * the current style is cramped, returns `this`.\n */\n\n\n havingCrampedStyle() {\n return this.havingStyle(this.style.cramp());\n }\n /**\n * Return an options object with the given size and in at least `\\textstyle`.\n * Returns `this` if appropriate.\n */\n\n\n havingSize(size) {\n if (this.size === size && this.textSize === size) {\n return this;\n } else {\n return this.extend({\n style: this.style.text(),\n size: size,\n textSize: size,\n sizeMultiplier: sizeMultipliers[size - 1]\n });\n }\n }\n /**\n * Like `this.havingSize(BASESIZE).havingStyle(style)`. If `style` is omitted,\n * changes to at least `\\textstyle`.\n */\n\n\n havingBaseStyle(style) {\n style = style || this.style.text();\n const wantSize = sizeAtStyle(Options.BASESIZE, style);\n\n if (this.size === wantSize && this.textSize === Options.BASESIZE && this.style === style) {\n return this;\n } else {\n return this.extend({\n style: style,\n size: wantSize\n });\n }\n }\n /**\n * Remove the effect of sizing changes such as \\Huge.\n * Keep the effect of the current style, such as \\scriptstyle.\n */\n\n\n havingBaseSizing() {\n let size;\n\n switch (this.style.id) {\n case 4:\n case 5:\n size = 3; // normalsize in scriptstyle\n\n break;\n\n case 6:\n case 7:\n size = 1; // normalsize in scriptscriptstyle\n\n break;\n\n default:\n size = 6;\n // normalsize in textstyle or displaystyle\n }\n\n return this.extend({\n style: this.style.text(),\n size: size\n });\n }\n /**\n * Create a new options object with the given color.\n */\n\n\n withColor(color) {\n return this.extend({\n color: color\n });\n }\n /**\n * Create a new options object with \"phantom\" set to true.\n */\n\n\n withPhantom() {\n return this.extend({\n phantom: true\n });\n }\n /**\n * Creates a new options object with the given math font or old text font.\n * @type {[type]}\n */\n\n\n withFont(font) {\n return this.extend({\n font\n });\n }\n /**\n * Create a new options objects with the given fontFamily.\n */\n\n\n withTextFontFamily(fontFamily) {\n return this.extend({\n fontFamily,\n font: \"\"\n });\n }\n /**\n * Creates a new options object with the given font weight\n */\n\n\n withTextFontWeight(fontWeight) {\n return this.extend({\n fontWeight,\n font: \"\"\n });\n }\n /**\n * Creates a new options object with the given font weight\n */\n\n\n withTextFontShape(fontShape) {\n return this.extend({\n fontShape,\n font: \"\"\n });\n }\n /**\n * Return the CSS sizing classes required to switch from enclosing options\n * `oldOptions` to `this`. Returns an array of classes.\n */\n\n\n sizingClasses(oldOptions) {\n if (oldOptions.size !== this.size) {\n return [\"sizing\", \"reset-size\" + oldOptions.size, \"size\" + this.size];\n } else {\n return [];\n }\n }\n /**\n * Return the CSS sizing classes required to switch to the base size. Like\n * `this.havingSize(BASESIZE).sizingClasses(this)`.\n */\n\n\n baseSizingClasses() {\n if (this.size !== Options.BASESIZE) {\n return [\"sizing\", \"reset-size\" + this.size, \"size\" + Options.BASESIZE];\n } else {\n return [];\n }\n }\n /**\n * Return the font metrics for this size.\n */\n\n\n fontMetrics() {\n if (!this._fontMetrics) {\n this._fontMetrics = getGlobalMetrics(this.size);\n }\n\n return this._fontMetrics;\n }\n /**\n * Gets the CSS color of the current options object\n */\n\n\n getColor() {\n if (this.phantom) {\n return \"transparent\";\n } else {\n return this.color;\n }\n }\n\n}\n\nOptions.BASESIZE = 6;\n/* harmony default export */ var src_Options = (Options);\n;// CONCATENATED MODULE: ./src/units.js\n/**\n * This file does conversion between units. In particular, it provides\n * calculateSize to convert other units into ems.\n */\n\n // This table gives the number of TeX pts in one of each *absolute* TeX unit.\n// Thus, multiplying a length by this number converts the length from units\n// into pts. Dividing the result by ptPerEm gives the number of ems\n// *assuming* a font size of ptPerEm (normal size, normal style).\n\nconst ptPerUnit = {\n // https://en.wikibooks.org/wiki/LaTeX/Lengths and\n // https://tex.stackexchange.com/a/8263\n \"pt\": 1,\n // TeX point\n \"mm\": 7227 / 2540,\n // millimeter\n \"cm\": 7227 / 254,\n // centimeter\n \"in\": 72.27,\n // inch\n \"bp\": 803 / 800,\n // big (PostScript) points\n \"pc\": 12,\n // pica\n \"dd\": 1238 / 1157,\n // didot\n \"cc\": 14856 / 1157,\n // cicero (12 didot)\n \"nd\": 685 / 642,\n // new didot\n \"nc\": 1370 / 107,\n // new cicero (12 new didot)\n \"sp\": 1 / 65536,\n // scaled point (TeX's internal smallest unit)\n // https://tex.stackexchange.com/a/41371\n \"px\": 803 / 800 // \\pdfpxdimen defaults to 1 bp in pdfTeX and LuaTeX\n\n}; // Dictionary of relative units, for fast validity testing.\n\nconst relativeUnit = {\n \"ex\": true,\n \"em\": true,\n \"mu\": true\n};\n\n/**\n * Determine whether the specified unit (either a string defining the unit\n * or a \"size\" parse node containing a unit field) is valid.\n */\nconst validUnit = function (unit) {\n if (typeof unit !== \"string\") {\n unit = unit.unit;\n }\n\n return unit in ptPerUnit || unit in relativeUnit || unit === \"ex\";\n};\n/*\n * Convert a \"size\" parse node (with numeric \"number\" and string \"unit\" fields,\n * as parsed by functions.js argType \"size\") into a CSS em value for the\n * current style/scale. `options` gives the current options.\n */\n\nconst calculateSize = function (sizeValue, options) {\n let scale;\n\n if (sizeValue.unit in ptPerUnit) {\n // Absolute units\n scale = ptPerUnit[sizeValue.unit] // Convert unit to pt\n / options.fontMetrics().ptPerEm // Convert pt to CSS em\n / options.sizeMultiplier; // Unscale to make absolute units\n } else if (sizeValue.unit === \"mu\") {\n // `mu` units scale with scriptstyle/scriptscriptstyle.\n scale = options.fontMetrics().cssEmPerMu;\n } else {\n // Other relative units always refer to the *textstyle* font\n // in the current size.\n let unitOptions;\n\n if (options.style.isTight()) {\n // isTight() means current style is script/scriptscript.\n unitOptions = options.havingStyle(options.style.text());\n } else {\n unitOptions = options;\n } // TODO: In TeX these units are relative to the quad of the current\n // *text* font, e.g. cmr10. KaTeX instead uses values from the\n // comparably-sized *Computer Modern symbol* font. At 10pt, these\n // match. At 7pt and 5pt, they differ: cmr7=1.138894, cmsy7=1.170641;\n // cmr5=1.361133, cmsy5=1.472241. Consider $\\scriptsize a\\kern1emb$.\n // TeX \\showlists shows a kern of 1.13889 * fontsize;\n // KaTeX shows a kern of 1.171 * fontsize.\n\n\n if (sizeValue.unit === \"ex\") {\n scale = unitOptions.fontMetrics().xHeight;\n } else if (sizeValue.unit === \"em\") {\n scale = unitOptions.fontMetrics().quad;\n } else {\n throw new src_ParseError(\"Invalid unit: '\" + sizeValue.unit + \"'\");\n }\n\n if (unitOptions !== options) {\n scale *= unitOptions.sizeMultiplier / options.sizeMultiplier;\n }\n }\n\n return Math.min(sizeValue.number * scale, options.maxSize);\n};\n/**\n * Round `n` to 4 decimal places, or to the nearest 1/10,000th em. See\n * https://github.com/KaTeX/KaTeX/pull/2460.\n */\n\nconst makeEm = function (n) {\n return +n.toFixed(4) + \"em\";\n};\n;// CONCATENATED MODULE: ./src/domTree.js\n/**\n * These objects store the data about the DOM nodes we create, as well as some\n * extra data. They can then be transformed into real DOM nodes with the\n * `toNode` function or HTML markup using `toMarkup`. They are useful for both\n * storing extra properties on the nodes, as well as providing a way to easily\n * work with the DOM.\n *\n * Similar functions for working with MathML nodes exist in mathMLTree.js.\n *\n * TODO: refactor `span` and `anchor` into common superclass when\n * target environments support class inheritance\n */\n\n\n\n\n\n\n/**\n * Create an HTML className based on a list of classes. In addition to joining\n * with spaces, we also remove empty classes.\n */\nconst createClass = function (classes) {\n return classes.filter(cls => cls).join(\" \");\n};\n\nconst initNode = function (classes, options, style) {\n this.classes = classes || [];\n this.attributes = {};\n this.height = 0;\n this.depth = 0;\n this.maxFontSize = 0;\n this.style = style || {};\n\n if (options) {\n if (options.style.isTight()) {\n this.classes.push(\"mtight\");\n }\n\n const color = options.getColor();\n\n if (color) {\n this.style.color = color;\n }\n }\n};\n/**\n * Convert into an HTML node\n */\n\n\nconst toNode = function (tagName) {\n const node = document.createElement(tagName); // Apply the class\n\n node.className = createClass(this.classes); // Apply inline styles\n\n for (const style in this.style) {\n if (this.style.hasOwnProperty(style)) {\n // $FlowFixMe Flow doesn't seem to understand span.style's type.\n node.style[style] = this.style[style];\n }\n } // Apply attributes\n\n\n for (const attr in this.attributes) {\n if (this.attributes.hasOwnProperty(attr)) {\n node.setAttribute(attr, this.attributes[attr]);\n }\n } // Append the children, also as HTML nodes\n\n\n for (let i = 0; i < this.children.length; i++) {\n node.appendChild(this.children[i].toNode());\n }\n\n return node;\n};\n/**\n * Convert into an HTML markup string\n */\n\n\nconst toMarkup = function (tagName) {\n let markup = \"<\" + tagName; // Add the class\n\n if (this.classes.length) {\n markup += \" class=\\\"\" + utils.escape(createClass(this.classes)) + \"\\\"\";\n }\n\n let styles = \"\"; // Add the styles, after hyphenation\n\n for (const style in this.style) {\n if (this.style.hasOwnProperty(style)) {\n styles += utils.hyphenate(style) + \":\" + this.style[style] + \";\";\n }\n }\n\n if (styles) {\n markup += \" style=\\\"\" + utils.escape(styles) + \"\\\"\";\n } // Add the attributes\n\n\n for (const attr in this.attributes) {\n if (this.attributes.hasOwnProperty(attr)) {\n markup += \" \" + attr + \"=\\\"\" + utils.escape(this.attributes[attr]) + \"\\\"\";\n }\n }\n\n markup += \">\"; // Add the markup of the children, also as markup\n\n for (let i = 0; i < this.children.length; i++) {\n markup += this.children[i].toMarkup();\n }\n\n markup += \"\";\n return markup;\n}; // Making the type below exact with all optional fields doesn't work due to\n// - https://github.com/facebook/flow/issues/4582\n// - https://github.com/facebook/flow/issues/5688\n// However, since *all* fields are optional, $Shape<> works as suggested in 5688\n// above.\n// This type does not include all CSS properties. Additional properties should\n// be added as needed.\n\n\n/**\n * This node represents a span node, with a className, a list of children, and\n * an inline style. It also contains information about its height, depth, and\n * maxFontSize.\n *\n * Represents two types with different uses: SvgSpan to wrap an SVG and DomSpan\n * otherwise. This typesafety is important when HTML builders access a span's\n * children.\n */\nclass Span {\n constructor(classes, children, options, style) {\n this.children = void 0;\n this.attributes = void 0;\n this.classes = void 0;\n this.height = void 0;\n this.depth = void 0;\n this.width = void 0;\n this.maxFontSize = void 0;\n this.style = void 0;\n initNode.call(this, classes, options, style);\n this.children = children || [];\n }\n /**\n * Sets an arbitrary attribute on the span. Warning: use this wisely. Not\n * all browsers support attributes the same, and having too many custom\n * attributes is probably bad.\n */\n\n\n setAttribute(attribute, value) {\n this.attributes[attribute] = value;\n }\n\n hasClass(className) {\n return utils.contains(this.classes, className);\n }\n\n toNode() {\n return toNode.call(this, \"span\");\n }\n\n toMarkup() {\n return toMarkup.call(this, \"span\");\n }\n\n}\n/**\n * This node represents an anchor (
) element with a hyperlink. See `span`\n * for further details.\n */\n\nclass Anchor {\n constructor(href, classes, children, options) {\n this.children = void 0;\n this.attributes = void 0;\n this.classes = void 0;\n this.height = void 0;\n this.depth = void 0;\n this.maxFontSize = void 0;\n this.style = void 0;\n initNode.call(this, classes, options);\n this.children = children || [];\n this.setAttribute('href', href);\n }\n\n setAttribute(attribute, value) {\n this.attributes[attribute] = value;\n }\n\n hasClass(className) {\n return utils.contains(this.classes, className);\n }\n\n toNode() {\n return toNode.call(this, \"a\");\n }\n\n toMarkup() {\n return toMarkup.call(this, \"a\");\n }\n\n}\n/**\n * This node represents an image embed () element.\n */\n\nclass Img {\n constructor(src, alt, style) {\n this.src = void 0;\n this.alt = void 0;\n this.classes = void 0;\n this.height = void 0;\n this.depth = void 0;\n this.maxFontSize = void 0;\n this.style = void 0;\n this.alt = alt;\n this.src = src;\n this.classes = [\"mord\"];\n this.style = style;\n }\n\n hasClass(className) {\n return utils.contains(this.classes, className);\n }\n\n toNode() {\n const node = document.createElement(\"img\");\n node.src = this.src;\n node.alt = this.alt;\n node.className = \"mord\"; // Apply inline styles\n\n for (const style in this.style) {\n if (this.style.hasOwnProperty(style)) {\n // $FlowFixMe\n node.style[style] = this.style[style];\n }\n }\n\n return node;\n }\n\n toMarkup() {\n let markup = \"\\\"\"\";\n return markup;\n }\n\n}\nconst iCombinations = {\n 'î': '\\u0131\\u0302',\n 'ï': '\\u0131\\u0308',\n 'í': '\\u0131\\u0301',\n // 'ī': '\\u0131\\u0304', // enable when we add Extended Latin\n 'ì': '\\u0131\\u0300'\n};\n/**\n * A symbol node contains information about a single symbol. It either renders\n * to a single text node, or a span with a single text node in it, depending on\n * whether it has CSS classes, styles, or needs italic correction.\n */\n\nclass SymbolNode {\n constructor(text, height, depth, italic, skew, width, classes, style) {\n this.text = void 0;\n this.height = void 0;\n this.depth = void 0;\n this.italic = void 0;\n this.skew = void 0;\n this.width = void 0;\n this.maxFontSize = void 0;\n this.classes = void 0;\n this.style = void 0;\n this.text = text;\n this.height = height || 0;\n this.depth = depth || 0;\n this.italic = italic || 0;\n this.skew = skew || 0;\n this.width = width || 0;\n this.classes = classes || [];\n this.style = style || {};\n this.maxFontSize = 0; // Mark text from non-Latin scripts with specific classes so that we\n // can specify which fonts to use. This allows us to render these\n // characters with a serif font in situations where the browser would\n // either default to a sans serif or render a placeholder character.\n // We use CSS class names like cjk_fallback, hangul_fallback and\n // brahmic_fallback. See ./unicodeScripts.js for the set of possible\n // script names\n\n const script = scriptFromCodepoint(this.text.charCodeAt(0));\n\n if (script) {\n this.classes.push(script + \"_fallback\");\n }\n\n if (/[îïíì]/.test(this.text)) {\n // add ī when we add Extended Latin\n this.text = iCombinations[this.text];\n }\n }\n\n hasClass(className) {\n return utils.contains(this.classes, className);\n }\n /**\n * Creates a text node or span from a symbol node. Note that a span is only\n * created if it is needed.\n */\n\n\n toNode() {\n const node = document.createTextNode(this.text);\n let span = null;\n\n if (this.italic > 0) {\n span = document.createElement(\"span\");\n span.style.marginRight = makeEm(this.italic);\n }\n\n if (this.classes.length > 0) {\n span = span || document.createElement(\"span\");\n span.className = createClass(this.classes);\n }\n\n for (const style in this.style) {\n if (this.style.hasOwnProperty(style)) {\n span = span || document.createElement(\"span\"); // $FlowFixMe Flow doesn't seem to understand span.style's type.\n\n span.style[style] = this.style[style];\n }\n }\n\n if (span) {\n span.appendChild(node);\n return span;\n } else {\n return node;\n }\n }\n /**\n * Creates markup for a symbol node.\n */\n\n\n toMarkup() {\n // TODO(alpert): More duplication than I'd like from\n // span.prototype.toMarkup and symbolNode.prototype.toNode...\n let needsSpan = false;\n let markup = \" 0) {\n styles += \"margin-right:\" + this.italic + \"em;\";\n }\n\n for (const style in this.style) {\n if (this.style.hasOwnProperty(style)) {\n styles += utils.hyphenate(style) + \":\" + this.style[style] + \";\";\n }\n }\n\n if (styles) {\n needsSpan = true;\n markup += \" style=\\\"\" + utils.escape(styles) + \"\\\"\";\n }\n\n const escaped = utils.escape(this.text);\n\n if (needsSpan) {\n markup += \">\";\n markup += escaped;\n markup += \"\";\n return markup;\n } else {\n return escaped;\n }\n }\n\n}\n/**\n * SVG nodes are used to render stretchy wide elements.\n */\n\nclass SvgNode {\n constructor(children, attributes) {\n this.children = void 0;\n this.attributes = void 0;\n this.children = children || [];\n this.attributes = attributes || {};\n }\n\n toNode() {\n const svgNS = \"http://www.w3.org/2000/svg\";\n const node = document.createElementNS(svgNS, \"svg\"); // Apply attributes\n\n for (const attr in this.attributes) {\n if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) {\n node.setAttribute(attr, this.attributes[attr]);\n }\n }\n\n for (let i = 0; i < this.children.length; i++) {\n node.appendChild(this.children[i].toNode());\n }\n\n return node;\n }\n\n toMarkup() {\n let markup = \"\";\n\n for (let i = 0; i < this.children.length; i++) {\n markup += this.children[i].toMarkup();\n }\n\n markup += \"\";\n return markup;\n }\n\n}\nclass PathNode {\n constructor(pathName, alternate) {\n this.pathName = void 0;\n this.alternate = void 0;\n this.pathName = pathName;\n this.alternate = alternate; // Used only for \\sqrt, \\phase, & tall delims\n }\n\n toNode() {\n const svgNS = \"http://www.w3.org/2000/svg\";\n const node = document.createElementNS(svgNS, \"path\");\n\n if (this.alternate) {\n node.setAttribute(\"d\", this.alternate);\n } else {\n node.setAttribute(\"d\", path[this.pathName]);\n }\n\n return node;\n }\n\n toMarkup() {\n if (this.alternate) {\n return \"\";\n } else {\n return \"\";\n }\n }\n\n}\nclass LineNode {\n constructor(attributes) {\n this.attributes = void 0;\n this.attributes = attributes || {};\n }\n\n toNode() {\n const svgNS = \"http://www.w3.org/2000/svg\";\n const node = document.createElementNS(svgNS, \"line\"); // Apply attributes\n\n for (const attr in this.attributes) {\n if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) {\n node.setAttribute(attr, this.attributes[attr]);\n }\n }\n\n return node;\n }\n\n toMarkup() {\n let markup = \"\";\n return markup;\n }\n\n}\nfunction assertSymbolDomNode(group) {\n if (group instanceof SymbolNode) {\n return group;\n } else {\n throw new Error(\"Expected symbolNode but got \" + String(group) + \".\");\n }\n}\nfunction assertSpan(group) {\n if (group instanceof Span) {\n return group;\n } else {\n throw new Error(\"Expected span but got \" + String(group) + \".\");\n }\n}\n;// CONCATENATED MODULE: ./src/symbols.js\n/**\n * This file holds a list of all no-argument functions and single-character\n * symbols (like 'a' or ';').\n *\n * For each of the symbols, there are three properties they can have:\n * - font (required): the font to be used for this symbol. Either \"main\" (the\n normal font), or \"ams\" (the ams fonts).\n * - group (required): the ParseNode group type the symbol should have (i.e.\n \"textord\", \"mathord\", etc).\n See https://github.com/KaTeX/KaTeX/wiki/Examining-TeX#group-types\n * - replace: the character that this symbol or function should be\n * replaced with (i.e. \"\\phi\" has a replace value of \"\\u03d5\", the phi\n * character in the main font).\n *\n * The outermost map in the table indicates what mode the symbols should be\n * accepted in (e.g. \"math\" or \"text\").\n */\n// Some of these have a \"-token\" suffix since these are also used as `ParseNode`\n// types for raw text tokens, and we want to avoid conflicts with higher-level\n// `ParseNode` types. These `ParseNode`s are constructed within `Parser` by\n// looking up the `symbols` map.\nconst ATOMS = {\n \"bin\": 1,\n \"close\": 1,\n \"inner\": 1,\n \"open\": 1,\n \"punct\": 1,\n \"rel\": 1\n};\nconst NON_ATOMS = {\n \"accent-token\": 1,\n \"mathord\": 1,\n \"op-token\": 1,\n \"spacing\": 1,\n \"textord\": 1\n};\nconst symbols = {\n \"math\": {},\n \"text\": {}\n};\n/* harmony default export */ var src_symbols = (symbols);\n/** `acceptUnicodeChar = true` is only applicable if `replace` is set. */\n\nfunction defineSymbol(mode, font, group, replace, name, acceptUnicodeChar) {\n symbols[mode][name] = {\n font,\n group,\n replace\n };\n\n if (acceptUnicodeChar && replace) {\n symbols[mode][replace] = symbols[mode][name];\n }\n} // Some abbreviations for commonly used strings.\n// This helps minify the code, and also spotting typos using jshint.\n// modes:\n\nconst math = \"math\";\nconst symbols_text = \"text\"; // fonts:\n\nconst main = \"main\";\nconst ams = \"ams\"; // groups:\n\nconst accent = \"accent-token\";\nconst bin = \"bin\";\nconst symbols_close = \"close\";\nconst inner = \"inner\";\nconst mathord = \"mathord\";\nconst op = \"op-token\";\nconst symbols_open = \"open\";\nconst punct = \"punct\";\nconst rel = \"rel\";\nconst spacing = \"spacing\";\nconst textord = \"textord\"; // Now comes the symbol table\n// Relation Symbols\n\ndefineSymbol(math, main, rel, \"\\u2261\", \"\\\\equiv\", true);\ndefineSymbol(math, main, rel, \"\\u227a\", \"\\\\prec\", true);\ndefineSymbol(math, main, rel, \"\\u227b\", \"\\\\succ\", true);\ndefineSymbol(math, main, rel, \"\\u223c\", \"\\\\sim\", true);\ndefineSymbol(math, main, rel, \"\\u22a5\", \"\\\\perp\");\ndefineSymbol(math, main, rel, \"\\u2aaf\", \"\\\\preceq\", true);\ndefineSymbol(math, main, rel, \"\\u2ab0\", \"\\\\succeq\", true);\ndefineSymbol(math, main, rel, \"\\u2243\", \"\\\\simeq\", true);\ndefineSymbol(math, main, rel, \"\\u2223\", \"\\\\mid\", true);\ndefineSymbol(math, main, rel, \"\\u226a\", \"\\\\ll\", true);\ndefineSymbol(math, main, rel, \"\\u226b\", \"\\\\gg\", true);\ndefineSymbol(math, main, rel, \"\\u224d\", \"\\\\asymp\", true);\ndefineSymbol(math, main, rel, \"\\u2225\", \"\\\\parallel\");\ndefineSymbol(math, main, rel, \"\\u22c8\", \"\\\\bowtie\", true);\ndefineSymbol(math, main, rel, \"\\u2323\", \"\\\\smile\", true);\ndefineSymbol(math, main, rel, \"\\u2291\", \"\\\\sqsubseteq\", true);\ndefineSymbol(math, main, rel, \"\\u2292\", \"\\\\sqsupseteq\", true);\ndefineSymbol(math, main, rel, \"\\u2250\", \"\\\\doteq\", true);\ndefineSymbol(math, main, rel, \"\\u2322\", \"\\\\frown\", true);\ndefineSymbol(math, main, rel, \"\\u220b\", \"\\\\ni\", true);\ndefineSymbol(math, main, rel, \"\\u221d\", \"\\\\propto\", true);\ndefineSymbol(math, main, rel, \"\\u22a2\", \"\\\\vdash\", true);\ndefineSymbol(math, main, rel, \"\\u22a3\", \"\\\\dashv\", true);\ndefineSymbol(math, main, rel, \"\\u220b\", \"\\\\owns\"); // Punctuation\n\ndefineSymbol(math, main, punct, \"\\u002e\", \"\\\\ldotp\");\ndefineSymbol(math, main, punct, \"\\u22c5\", \"\\\\cdotp\"); // Misc Symbols\n\ndefineSymbol(math, main, textord, \"\\u0023\", \"\\\\#\");\ndefineSymbol(symbols_text, main, textord, \"\\u0023\", \"\\\\#\");\ndefineSymbol(math, main, textord, \"\\u0026\", \"\\\\&\");\ndefineSymbol(symbols_text, main, textord, \"\\u0026\", \"\\\\&\");\ndefineSymbol(math, main, textord, \"\\u2135\", \"\\\\aleph\", true);\ndefineSymbol(math, main, textord, \"\\u2200\", \"\\\\forall\", true);\ndefineSymbol(math, main, textord, \"\\u210f\", \"\\\\hbar\", true);\ndefineSymbol(math, main, textord, \"\\u2203\", \"\\\\exists\", true);\ndefineSymbol(math, main, textord, \"\\u2207\", \"\\\\nabla\", true);\ndefineSymbol(math, main, textord, \"\\u266d\", \"\\\\flat\", true);\ndefineSymbol(math, main, textord, \"\\u2113\", \"\\\\ell\", true);\ndefineSymbol(math, main, textord, \"\\u266e\", \"\\\\natural\", true);\ndefineSymbol(math, main, textord, \"\\u2663\", \"\\\\clubsuit\", true);\ndefineSymbol(math, main, textord, \"\\u2118\", \"\\\\wp\", true);\ndefineSymbol(math, main, textord, \"\\u266f\", \"\\\\sharp\", true);\ndefineSymbol(math, main, textord, \"\\u2662\", \"\\\\diamondsuit\", true);\ndefineSymbol(math, main, textord, \"\\u211c\", \"\\\\Re\", true);\ndefineSymbol(math, main, textord, \"\\u2661\", \"\\\\heartsuit\", true);\ndefineSymbol(math, main, textord, \"\\u2111\", \"\\\\Im\", true);\ndefineSymbol(math, main, textord, \"\\u2660\", \"\\\\spadesuit\", true);\ndefineSymbol(math, main, textord, \"\\u00a7\", \"\\\\S\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00a7\", \"\\\\S\");\ndefineSymbol(math, main, textord, \"\\u00b6\", \"\\\\P\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00b6\", \"\\\\P\"); // Math and Text\n\ndefineSymbol(math, main, textord, \"\\u2020\", \"\\\\dag\");\ndefineSymbol(symbols_text, main, textord, \"\\u2020\", \"\\\\dag\");\ndefineSymbol(symbols_text, main, textord, \"\\u2020\", \"\\\\textdagger\");\ndefineSymbol(math, main, textord, \"\\u2021\", \"\\\\ddag\");\ndefineSymbol(symbols_text, main, textord, \"\\u2021\", \"\\\\ddag\");\ndefineSymbol(symbols_text, main, textord, \"\\u2021\", \"\\\\textdaggerdbl\"); // Large Delimiters\n\ndefineSymbol(math, main, symbols_close, \"\\u23b1\", \"\\\\rmoustache\", true);\ndefineSymbol(math, main, symbols_open, \"\\u23b0\", \"\\\\lmoustache\", true);\ndefineSymbol(math, main, symbols_close, \"\\u27ef\", \"\\\\rgroup\", true);\ndefineSymbol(math, main, symbols_open, \"\\u27ee\", \"\\\\lgroup\", true); // Binary Operators\n\ndefineSymbol(math, main, bin, \"\\u2213\", \"\\\\mp\", true);\ndefineSymbol(math, main, bin, \"\\u2296\", \"\\\\ominus\", true);\ndefineSymbol(math, main, bin, \"\\u228e\", \"\\\\uplus\", true);\ndefineSymbol(math, main, bin, \"\\u2293\", \"\\\\sqcap\", true);\ndefineSymbol(math, main, bin, \"\\u2217\", \"\\\\ast\");\ndefineSymbol(math, main, bin, \"\\u2294\", \"\\\\sqcup\", true);\ndefineSymbol(math, main, bin, \"\\u25ef\", \"\\\\bigcirc\", true);\ndefineSymbol(math, main, bin, \"\\u2219\", \"\\\\bullet\", true);\ndefineSymbol(math, main, bin, \"\\u2021\", \"\\\\ddagger\");\ndefineSymbol(math, main, bin, \"\\u2240\", \"\\\\wr\", true);\ndefineSymbol(math, main, bin, \"\\u2a3f\", \"\\\\amalg\");\ndefineSymbol(math, main, bin, \"\\u0026\", \"\\\\And\"); // from amsmath\n// Arrow Symbols\n\ndefineSymbol(math, main, rel, \"\\u27f5\", \"\\\\longleftarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21d0\", \"\\\\Leftarrow\", true);\ndefineSymbol(math, main, rel, \"\\u27f8\", \"\\\\Longleftarrow\", true);\ndefineSymbol(math, main, rel, \"\\u27f6\", \"\\\\longrightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21d2\", \"\\\\Rightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u27f9\", \"\\\\Longrightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u2194\", \"\\\\leftrightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u27f7\", \"\\\\longleftrightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21d4\", \"\\\\Leftrightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u27fa\", \"\\\\Longleftrightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21a6\", \"\\\\mapsto\", true);\ndefineSymbol(math, main, rel, \"\\u27fc\", \"\\\\longmapsto\", true);\ndefineSymbol(math, main, rel, \"\\u2197\", \"\\\\nearrow\", true);\ndefineSymbol(math, main, rel, \"\\u21a9\", \"\\\\hookleftarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21aa\", \"\\\\hookrightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u2198\", \"\\\\searrow\", true);\ndefineSymbol(math, main, rel, \"\\u21bc\", \"\\\\leftharpoonup\", true);\ndefineSymbol(math, main, rel, \"\\u21c0\", \"\\\\rightharpoonup\", true);\ndefineSymbol(math, main, rel, \"\\u2199\", \"\\\\swarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21bd\", \"\\\\leftharpoondown\", true);\ndefineSymbol(math, main, rel, \"\\u21c1\", \"\\\\rightharpoondown\", true);\ndefineSymbol(math, main, rel, \"\\u2196\", \"\\\\nwarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21cc\", \"\\\\rightleftharpoons\", true); // AMS Negated Binary Relations\n\ndefineSymbol(math, ams, rel, \"\\u226e\", \"\\\\nless\", true); // Symbol names preceded by \"@\" each have a corresponding macro.\n\ndefineSymbol(math, ams, rel, \"\\ue010\", \"\\\\@nleqslant\");\ndefineSymbol(math, ams, rel, \"\\ue011\", \"\\\\@nleqq\");\ndefineSymbol(math, ams, rel, \"\\u2a87\", \"\\\\lneq\", true);\ndefineSymbol(math, ams, rel, \"\\u2268\", \"\\\\lneqq\", true);\ndefineSymbol(math, ams, rel, \"\\ue00c\", \"\\\\@lvertneqq\");\ndefineSymbol(math, ams, rel, \"\\u22e6\", \"\\\\lnsim\", true);\ndefineSymbol(math, ams, rel, \"\\u2a89\", \"\\\\lnapprox\", true);\ndefineSymbol(math, ams, rel, \"\\u2280\", \"\\\\nprec\", true); // unicode-math maps \\u22e0 to \\npreccurlyeq. We'll use the AMS synonym.\n\ndefineSymbol(math, ams, rel, \"\\u22e0\", \"\\\\npreceq\", true);\ndefineSymbol(math, ams, rel, \"\\u22e8\", \"\\\\precnsim\", true);\ndefineSymbol(math, ams, rel, \"\\u2ab9\", \"\\\\precnapprox\", true);\ndefineSymbol(math, ams, rel, \"\\u2241\", \"\\\\nsim\", true);\ndefineSymbol(math, ams, rel, \"\\ue006\", \"\\\\@nshortmid\");\ndefineSymbol(math, ams, rel, \"\\u2224\", \"\\\\nmid\", true);\ndefineSymbol(math, ams, rel, \"\\u22ac\", \"\\\\nvdash\", true);\ndefineSymbol(math, ams, rel, \"\\u22ad\", \"\\\\nvDash\", true);\ndefineSymbol(math, ams, rel, \"\\u22ea\", \"\\\\ntriangleleft\");\ndefineSymbol(math, ams, rel, \"\\u22ec\", \"\\\\ntrianglelefteq\", true);\ndefineSymbol(math, ams, rel, \"\\u228a\", \"\\\\subsetneq\", true);\ndefineSymbol(math, ams, rel, \"\\ue01a\", \"\\\\@varsubsetneq\");\ndefineSymbol(math, ams, rel, \"\\u2acb\", \"\\\\subsetneqq\", true);\ndefineSymbol(math, ams, rel, \"\\ue017\", \"\\\\@varsubsetneqq\");\ndefineSymbol(math, ams, rel, \"\\u226f\", \"\\\\ngtr\", true);\ndefineSymbol(math, ams, rel, \"\\ue00f\", \"\\\\@ngeqslant\");\ndefineSymbol(math, ams, rel, \"\\ue00e\", \"\\\\@ngeqq\");\ndefineSymbol(math, ams, rel, \"\\u2a88\", \"\\\\gneq\", true);\ndefineSymbol(math, ams, rel, \"\\u2269\", \"\\\\gneqq\", true);\ndefineSymbol(math, ams, rel, \"\\ue00d\", \"\\\\@gvertneqq\");\ndefineSymbol(math, ams, rel, \"\\u22e7\", \"\\\\gnsim\", true);\ndefineSymbol(math, ams, rel, \"\\u2a8a\", \"\\\\gnapprox\", true);\ndefineSymbol(math, ams, rel, \"\\u2281\", \"\\\\nsucc\", true); // unicode-math maps \\u22e1 to \\nsucccurlyeq. We'll use the AMS synonym.\n\ndefineSymbol(math, ams, rel, \"\\u22e1\", \"\\\\nsucceq\", true);\ndefineSymbol(math, ams, rel, \"\\u22e9\", \"\\\\succnsim\", true);\ndefineSymbol(math, ams, rel, \"\\u2aba\", \"\\\\succnapprox\", true); // unicode-math maps \\u2246 to \\simneqq. We'll use the AMS synonym.\n\ndefineSymbol(math, ams, rel, \"\\u2246\", \"\\\\ncong\", true);\ndefineSymbol(math, ams, rel, \"\\ue007\", \"\\\\@nshortparallel\");\ndefineSymbol(math, ams, rel, \"\\u2226\", \"\\\\nparallel\", true);\ndefineSymbol(math, ams, rel, \"\\u22af\", \"\\\\nVDash\", true);\ndefineSymbol(math, ams, rel, \"\\u22eb\", \"\\\\ntriangleright\");\ndefineSymbol(math, ams, rel, \"\\u22ed\", \"\\\\ntrianglerighteq\", true);\ndefineSymbol(math, ams, rel, \"\\ue018\", \"\\\\@nsupseteqq\");\ndefineSymbol(math, ams, rel, \"\\u228b\", \"\\\\supsetneq\", true);\ndefineSymbol(math, ams, rel, \"\\ue01b\", \"\\\\@varsupsetneq\");\ndefineSymbol(math, ams, rel, \"\\u2acc\", \"\\\\supsetneqq\", true);\ndefineSymbol(math, ams, rel, \"\\ue019\", \"\\\\@varsupsetneqq\");\ndefineSymbol(math, ams, rel, \"\\u22ae\", \"\\\\nVdash\", true);\ndefineSymbol(math, ams, rel, \"\\u2ab5\", \"\\\\precneqq\", true);\ndefineSymbol(math, ams, rel, \"\\u2ab6\", \"\\\\succneqq\", true);\ndefineSymbol(math, ams, rel, \"\\ue016\", \"\\\\@nsubseteqq\");\ndefineSymbol(math, ams, bin, \"\\u22b4\", \"\\\\unlhd\");\ndefineSymbol(math, ams, bin, \"\\u22b5\", \"\\\\unrhd\"); // AMS Negated Arrows\n\ndefineSymbol(math, ams, rel, \"\\u219a\", \"\\\\nleftarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u219b\", \"\\\\nrightarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21cd\", \"\\\\nLeftarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21cf\", \"\\\\nRightarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21ae\", \"\\\\nleftrightarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21ce\", \"\\\\nLeftrightarrow\", true); // AMS Misc\n\ndefineSymbol(math, ams, rel, \"\\u25b3\", \"\\\\vartriangle\");\ndefineSymbol(math, ams, textord, \"\\u210f\", \"\\\\hslash\");\ndefineSymbol(math, ams, textord, \"\\u25bd\", \"\\\\triangledown\");\ndefineSymbol(math, ams, textord, \"\\u25ca\", \"\\\\lozenge\");\ndefineSymbol(math, ams, textord, \"\\u24c8\", \"\\\\circledS\");\ndefineSymbol(math, ams, textord, \"\\u00ae\", \"\\\\circledR\");\ndefineSymbol(symbols_text, ams, textord, \"\\u00ae\", \"\\\\circledR\");\ndefineSymbol(math, ams, textord, \"\\u2221\", \"\\\\measuredangle\", true);\ndefineSymbol(math, ams, textord, \"\\u2204\", \"\\\\nexists\");\ndefineSymbol(math, ams, textord, \"\\u2127\", \"\\\\mho\");\ndefineSymbol(math, ams, textord, \"\\u2132\", \"\\\\Finv\", true);\ndefineSymbol(math, ams, textord, \"\\u2141\", \"\\\\Game\", true);\ndefineSymbol(math, ams, textord, \"\\u2035\", \"\\\\backprime\");\ndefineSymbol(math, ams, textord, \"\\u25b2\", \"\\\\blacktriangle\");\ndefineSymbol(math, ams, textord, \"\\u25bc\", \"\\\\blacktriangledown\");\ndefineSymbol(math, ams, textord, \"\\u25a0\", \"\\\\blacksquare\");\ndefineSymbol(math, ams, textord, \"\\u29eb\", \"\\\\blacklozenge\");\ndefineSymbol(math, ams, textord, \"\\u2605\", \"\\\\bigstar\");\ndefineSymbol(math, ams, textord, \"\\u2222\", \"\\\\sphericalangle\", true);\ndefineSymbol(math, ams, textord, \"\\u2201\", \"\\\\complement\", true); // unicode-math maps U+F0 to \\matheth. We map to AMS function \\eth\n\ndefineSymbol(math, ams, textord, \"\\u00f0\", \"\\\\eth\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00f0\", \"\\u00f0\");\ndefineSymbol(math, ams, textord, \"\\u2571\", \"\\\\diagup\");\ndefineSymbol(math, ams, textord, \"\\u2572\", \"\\\\diagdown\");\ndefineSymbol(math, ams, textord, \"\\u25a1\", \"\\\\square\");\ndefineSymbol(math, ams, textord, \"\\u25a1\", \"\\\\Box\");\ndefineSymbol(math, ams, textord, \"\\u25ca\", \"\\\\Diamond\"); // unicode-math maps U+A5 to \\mathyen. We map to AMS function \\yen\n\ndefineSymbol(math, ams, textord, \"\\u00a5\", \"\\\\yen\", true);\ndefineSymbol(symbols_text, ams, textord, \"\\u00a5\", \"\\\\yen\", true);\ndefineSymbol(math, ams, textord, \"\\u2713\", \"\\\\checkmark\", true);\ndefineSymbol(symbols_text, ams, textord, \"\\u2713\", \"\\\\checkmark\"); // AMS Hebrew\n\ndefineSymbol(math, ams, textord, \"\\u2136\", \"\\\\beth\", true);\ndefineSymbol(math, ams, textord, \"\\u2138\", \"\\\\daleth\", true);\ndefineSymbol(math, ams, textord, \"\\u2137\", \"\\\\gimel\", true); // AMS Greek\n\ndefineSymbol(math, ams, textord, \"\\u03dd\", \"\\\\digamma\", true);\ndefineSymbol(math, ams, textord, \"\\u03f0\", \"\\\\varkappa\"); // AMS Delimiters\n\ndefineSymbol(math, ams, symbols_open, \"\\u250c\", \"\\\\@ulcorner\", true);\ndefineSymbol(math, ams, symbols_close, \"\\u2510\", \"\\\\@urcorner\", true);\ndefineSymbol(math, ams, symbols_open, \"\\u2514\", \"\\\\@llcorner\", true);\ndefineSymbol(math, ams, symbols_close, \"\\u2518\", \"\\\\@lrcorner\", true); // AMS Binary Relations\n\ndefineSymbol(math, ams, rel, \"\\u2266\", \"\\\\leqq\", true);\ndefineSymbol(math, ams, rel, \"\\u2a7d\", \"\\\\leqslant\", true);\ndefineSymbol(math, ams, rel, \"\\u2a95\", \"\\\\eqslantless\", true);\ndefineSymbol(math, ams, rel, \"\\u2272\", \"\\\\lesssim\", true);\ndefineSymbol(math, ams, rel, \"\\u2a85\", \"\\\\lessapprox\", true);\ndefineSymbol(math, ams, rel, \"\\u224a\", \"\\\\approxeq\", true);\ndefineSymbol(math, ams, bin, \"\\u22d6\", \"\\\\lessdot\");\ndefineSymbol(math, ams, rel, \"\\u22d8\", \"\\\\lll\", true);\ndefineSymbol(math, ams, rel, \"\\u2276\", \"\\\\lessgtr\", true);\ndefineSymbol(math, ams, rel, \"\\u22da\", \"\\\\lesseqgtr\", true);\ndefineSymbol(math, ams, rel, \"\\u2a8b\", \"\\\\lesseqqgtr\", true);\ndefineSymbol(math, ams, rel, \"\\u2251\", \"\\\\doteqdot\");\ndefineSymbol(math, ams, rel, \"\\u2253\", \"\\\\risingdotseq\", true);\ndefineSymbol(math, ams, rel, \"\\u2252\", \"\\\\fallingdotseq\", true);\ndefineSymbol(math, ams, rel, \"\\u223d\", \"\\\\backsim\", true);\ndefineSymbol(math, ams, rel, \"\\u22cd\", \"\\\\backsimeq\", true);\ndefineSymbol(math, ams, rel, \"\\u2ac5\", \"\\\\subseteqq\", true);\ndefineSymbol(math, ams, rel, \"\\u22d0\", \"\\\\Subset\", true);\ndefineSymbol(math, ams, rel, \"\\u228f\", \"\\\\sqsubset\", true);\ndefineSymbol(math, ams, rel, \"\\u227c\", \"\\\\preccurlyeq\", true);\ndefineSymbol(math, ams, rel, \"\\u22de\", \"\\\\curlyeqprec\", true);\ndefineSymbol(math, ams, rel, \"\\u227e\", \"\\\\precsim\", true);\ndefineSymbol(math, ams, rel, \"\\u2ab7\", \"\\\\precapprox\", true);\ndefineSymbol(math, ams, rel, \"\\u22b2\", \"\\\\vartriangleleft\");\ndefineSymbol(math, ams, rel, \"\\u22b4\", \"\\\\trianglelefteq\");\ndefineSymbol(math, ams, rel, \"\\u22a8\", \"\\\\vDash\", true);\ndefineSymbol(math, ams, rel, \"\\u22aa\", \"\\\\Vvdash\", true);\ndefineSymbol(math, ams, rel, \"\\u2323\", \"\\\\smallsmile\");\ndefineSymbol(math, ams, rel, \"\\u2322\", \"\\\\smallfrown\");\ndefineSymbol(math, ams, rel, \"\\u224f\", \"\\\\bumpeq\", true);\ndefineSymbol(math, ams, rel, \"\\u224e\", \"\\\\Bumpeq\", true);\ndefineSymbol(math, ams, rel, \"\\u2267\", \"\\\\geqq\", true);\ndefineSymbol(math, ams, rel, \"\\u2a7e\", \"\\\\geqslant\", true);\ndefineSymbol(math, ams, rel, \"\\u2a96\", \"\\\\eqslantgtr\", true);\ndefineSymbol(math, ams, rel, \"\\u2273\", \"\\\\gtrsim\", true);\ndefineSymbol(math, ams, rel, \"\\u2a86\", \"\\\\gtrapprox\", true);\ndefineSymbol(math, ams, bin, \"\\u22d7\", \"\\\\gtrdot\");\ndefineSymbol(math, ams, rel, \"\\u22d9\", \"\\\\ggg\", true);\ndefineSymbol(math, ams, rel, \"\\u2277\", \"\\\\gtrless\", true);\ndefineSymbol(math, ams, rel, \"\\u22db\", \"\\\\gtreqless\", true);\ndefineSymbol(math, ams, rel, \"\\u2a8c\", \"\\\\gtreqqless\", true);\ndefineSymbol(math, ams, rel, \"\\u2256\", \"\\\\eqcirc\", true);\ndefineSymbol(math, ams, rel, \"\\u2257\", \"\\\\circeq\", true);\ndefineSymbol(math, ams, rel, \"\\u225c\", \"\\\\triangleq\", true);\ndefineSymbol(math, ams, rel, \"\\u223c\", \"\\\\thicksim\");\ndefineSymbol(math, ams, rel, \"\\u2248\", \"\\\\thickapprox\");\ndefineSymbol(math, ams, rel, \"\\u2ac6\", \"\\\\supseteqq\", true);\ndefineSymbol(math, ams, rel, \"\\u22d1\", \"\\\\Supset\", true);\ndefineSymbol(math, ams, rel, \"\\u2290\", \"\\\\sqsupset\", true);\ndefineSymbol(math, ams, rel, \"\\u227d\", \"\\\\succcurlyeq\", true);\ndefineSymbol(math, ams, rel, \"\\u22df\", \"\\\\curlyeqsucc\", true);\ndefineSymbol(math, ams, rel, \"\\u227f\", \"\\\\succsim\", true);\ndefineSymbol(math, ams, rel, \"\\u2ab8\", \"\\\\succapprox\", true);\ndefineSymbol(math, ams, rel, \"\\u22b3\", \"\\\\vartriangleright\");\ndefineSymbol(math, ams, rel, \"\\u22b5\", \"\\\\trianglerighteq\");\ndefineSymbol(math, ams, rel, \"\\u22a9\", \"\\\\Vdash\", true);\ndefineSymbol(math, ams, rel, \"\\u2223\", \"\\\\shortmid\");\ndefineSymbol(math, ams, rel, \"\\u2225\", \"\\\\shortparallel\");\ndefineSymbol(math, ams, rel, \"\\u226c\", \"\\\\between\", true);\ndefineSymbol(math, ams, rel, \"\\u22d4\", \"\\\\pitchfork\", true);\ndefineSymbol(math, ams, rel, \"\\u221d\", \"\\\\varpropto\");\ndefineSymbol(math, ams, rel, \"\\u25c0\", \"\\\\blacktriangleleft\"); // unicode-math says that \\therefore is a mathord atom.\n// We kept the amssymb atom type, which is rel.\n\ndefineSymbol(math, ams, rel, \"\\u2234\", \"\\\\therefore\", true);\ndefineSymbol(math, ams, rel, \"\\u220d\", \"\\\\backepsilon\");\ndefineSymbol(math, ams, rel, \"\\u25b6\", \"\\\\blacktriangleright\"); // unicode-math says that \\because is a mathord atom.\n// We kept the amssymb atom type, which is rel.\n\ndefineSymbol(math, ams, rel, \"\\u2235\", \"\\\\because\", true);\ndefineSymbol(math, ams, rel, \"\\u22d8\", \"\\\\llless\");\ndefineSymbol(math, ams, rel, \"\\u22d9\", \"\\\\gggtr\");\ndefineSymbol(math, ams, bin, \"\\u22b2\", \"\\\\lhd\");\ndefineSymbol(math, ams, bin, \"\\u22b3\", \"\\\\rhd\");\ndefineSymbol(math, ams, rel, \"\\u2242\", \"\\\\eqsim\", true);\ndefineSymbol(math, main, rel, \"\\u22c8\", \"\\\\Join\");\ndefineSymbol(math, ams, rel, \"\\u2251\", \"\\\\Doteq\", true); // AMS Binary Operators\n\ndefineSymbol(math, ams, bin, \"\\u2214\", \"\\\\dotplus\", true);\ndefineSymbol(math, ams, bin, \"\\u2216\", \"\\\\smallsetminus\");\ndefineSymbol(math, ams, bin, \"\\u22d2\", \"\\\\Cap\", true);\ndefineSymbol(math, ams, bin, \"\\u22d3\", \"\\\\Cup\", true);\ndefineSymbol(math, ams, bin, \"\\u2a5e\", \"\\\\doublebarwedge\", true);\ndefineSymbol(math, ams, bin, \"\\u229f\", \"\\\\boxminus\", true);\ndefineSymbol(math, ams, bin, \"\\u229e\", \"\\\\boxplus\", true);\ndefineSymbol(math, ams, bin, \"\\u22c7\", \"\\\\divideontimes\", true);\ndefineSymbol(math, ams, bin, \"\\u22c9\", \"\\\\ltimes\", true);\ndefineSymbol(math, ams, bin, \"\\u22ca\", \"\\\\rtimes\", true);\ndefineSymbol(math, ams, bin, \"\\u22cb\", \"\\\\leftthreetimes\", true);\ndefineSymbol(math, ams, bin, \"\\u22cc\", \"\\\\rightthreetimes\", true);\ndefineSymbol(math, ams, bin, \"\\u22cf\", \"\\\\curlywedge\", true);\ndefineSymbol(math, ams, bin, \"\\u22ce\", \"\\\\curlyvee\", true);\ndefineSymbol(math, ams, bin, \"\\u229d\", \"\\\\circleddash\", true);\ndefineSymbol(math, ams, bin, \"\\u229b\", \"\\\\circledast\", true);\ndefineSymbol(math, ams, bin, \"\\u22c5\", \"\\\\centerdot\");\ndefineSymbol(math, ams, bin, \"\\u22ba\", \"\\\\intercal\", true);\ndefineSymbol(math, ams, bin, \"\\u22d2\", \"\\\\doublecap\");\ndefineSymbol(math, ams, bin, \"\\u22d3\", \"\\\\doublecup\");\ndefineSymbol(math, ams, bin, \"\\u22a0\", \"\\\\boxtimes\", true); // AMS Arrows\n// Note: unicode-math maps \\u21e2 to their own function \\rightdasharrow.\n// We'll map it to AMS function \\dashrightarrow. It produces the same atom.\n\ndefineSymbol(math, ams, rel, \"\\u21e2\", \"\\\\dashrightarrow\", true); // unicode-math maps \\u21e0 to \\leftdasharrow. We'll use the AMS synonym.\n\ndefineSymbol(math, ams, rel, \"\\u21e0\", \"\\\\dashleftarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21c7\", \"\\\\leftleftarrows\", true);\ndefineSymbol(math, ams, rel, \"\\u21c6\", \"\\\\leftrightarrows\", true);\ndefineSymbol(math, ams, rel, \"\\u21da\", \"\\\\Lleftarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u219e\", \"\\\\twoheadleftarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21a2\", \"\\\\leftarrowtail\", true);\ndefineSymbol(math, ams, rel, \"\\u21ab\", \"\\\\looparrowleft\", true);\ndefineSymbol(math, ams, rel, \"\\u21cb\", \"\\\\leftrightharpoons\", true);\ndefineSymbol(math, ams, rel, \"\\u21b6\", \"\\\\curvearrowleft\", true); // unicode-math maps \\u21ba to \\acwopencirclearrow. We'll use the AMS synonym.\n\ndefineSymbol(math, ams, rel, \"\\u21ba\", \"\\\\circlearrowleft\", true);\ndefineSymbol(math, ams, rel, \"\\u21b0\", \"\\\\Lsh\", true);\ndefineSymbol(math, ams, rel, \"\\u21c8\", \"\\\\upuparrows\", true);\ndefineSymbol(math, ams, rel, \"\\u21bf\", \"\\\\upharpoonleft\", true);\ndefineSymbol(math, ams, rel, \"\\u21c3\", \"\\\\downharpoonleft\", true);\ndefineSymbol(math, main, rel, \"\\u22b6\", \"\\\\origof\", true); // not in font\n\ndefineSymbol(math, main, rel, \"\\u22b7\", \"\\\\imageof\", true); // not in font\n\ndefineSymbol(math, ams, rel, \"\\u22b8\", \"\\\\multimap\", true);\ndefineSymbol(math, ams, rel, \"\\u21ad\", \"\\\\leftrightsquigarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21c9\", \"\\\\rightrightarrows\", true);\ndefineSymbol(math, ams, rel, \"\\u21c4\", \"\\\\rightleftarrows\", true);\ndefineSymbol(math, ams, rel, \"\\u21a0\", \"\\\\twoheadrightarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21a3\", \"\\\\rightarrowtail\", true);\ndefineSymbol(math, ams, rel, \"\\u21ac\", \"\\\\looparrowright\", true);\ndefineSymbol(math, ams, rel, \"\\u21b7\", \"\\\\curvearrowright\", true); // unicode-math maps \\u21bb to \\cwopencirclearrow. We'll use the AMS synonym.\n\ndefineSymbol(math, ams, rel, \"\\u21bb\", \"\\\\circlearrowright\", true);\ndefineSymbol(math, ams, rel, \"\\u21b1\", \"\\\\Rsh\", true);\ndefineSymbol(math, ams, rel, \"\\u21ca\", \"\\\\downdownarrows\", true);\ndefineSymbol(math, ams, rel, \"\\u21be\", \"\\\\upharpoonright\", true);\ndefineSymbol(math, ams, rel, \"\\u21c2\", \"\\\\downharpoonright\", true);\ndefineSymbol(math, ams, rel, \"\\u21dd\", \"\\\\rightsquigarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21dd\", \"\\\\leadsto\");\ndefineSymbol(math, ams, rel, \"\\u21db\", \"\\\\Rrightarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21be\", \"\\\\restriction\");\ndefineSymbol(math, main, textord, \"\\u2018\", \"`\");\ndefineSymbol(math, main, textord, \"$\", \"\\\\$\");\ndefineSymbol(symbols_text, main, textord, \"$\", \"\\\\$\");\ndefineSymbol(symbols_text, main, textord, \"$\", \"\\\\textdollar\");\ndefineSymbol(math, main, textord, \"%\", \"\\\\%\");\ndefineSymbol(symbols_text, main, textord, \"%\", \"\\\\%\");\ndefineSymbol(math, main, textord, \"_\", \"\\\\_\");\ndefineSymbol(symbols_text, main, textord, \"_\", \"\\\\_\");\ndefineSymbol(symbols_text, main, textord, \"_\", \"\\\\textunderscore\");\ndefineSymbol(math, main, textord, \"\\u2220\", \"\\\\angle\", true);\ndefineSymbol(math, main, textord, \"\\u221e\", \"\\\\infty\", true);\ndefineSymbol(math, main, textord, \"\\u2032\", \"\\\\prime\");\ndefineSymbol(math, main, textord, \"\\u25b3\", \"\\\\triangle\");\ndefineSymbol(math, main, textord, \"\\u0393\", \"\\\\Gamma\", true);\ndefineSymbol(math, main, textord, \"\\u0394\", \"\\\\Delta\", true);\ndefineSymbol(math, main, textord, \"\\u0398\", \"\\\\Theta\", true);\ndefineSymbol(math, main, textord, \"\\u039b\", \"\\\\Lambda\", true);\ndefineSymbol(math, main, textord, \"\\u039e\", \"\\\\Xi\", true);\ndefineSymbol(math, main, textord, \"\\u03a0\", \"\\\\Pi\", true);\ndefineSymbol(math, main, textord, \"\\u03a3\", \"\\\\Sigma\", true);\ndefineSymbol(math, main, textord, \"\\u03a5\", \"\\\\Upsilon\", true);\ndefineSymbol(math, main, textord, \"\\u03a6\", \"\\\\Phi\", true);\ndefineSymbol(math, main, textord, \"\\u03a8\", \"\\\\Psi\", true);\ndefineSymbol(math, main, textord, \"\\u03a9\", \"\\\\Omega\", true);\ndefineSymbol(math, main, textord, \"A\", \"\\u0391\");\ndefineSymbol(math, main, textord, \"B\", \"\\u0392\");\ndefineSymbol(math, main, textord, \"E\", \"\\u0395\");\ndefineSymbol(math, main, textord, \"Z\", \"\\u0396\");\ndefineSymbol(math, main, textord, \"H\", \"\\u0397\");\ndefineSymbol(math, main, textord, \"I\", \"\\u0399\");\ndefineSymbol(math, main, textord, \"K\", \"\\u039A\");\ndefineSymbol(math, main, textord, \"M\", \"\\u039C\");\ndefineSymbol(math, main, textord, \"N\", \"\\u039D\");\ndefineSymbol(math, main, textord, \"O\", \"\\u039F\");\ndefineSymbol(math, main, textord, \"P\", \"\\u03A1\");\ndefineSymbol(math, main, textord, \"T\", \"\\u03A4\");\ndefineSymbol(math, main, textord, \"X\", \"\\u03A7\");\ndefineSymbol(math, main, textord, \"\\u00ac\", \"\\\\neg\", true);\ndefineSymbol(math, main, textord, \"\\u00ac\", \"\\\\lnot\");\ndefineSymbol(math, main, textord, \"\\u22a4\", \"\\\\top\");\ndefineSymbol(math, main, textord, \"\\u22a5\", \"\\\\bot\");\ndefineSymbol(math, main, textord, \"\\u2205\", \"\\\\emptyset\");\ndefineSymbol(math, ams, textord, \"\\u2205\", \"\\\\varnothing\");\ndefineSymbol(math, main, mathord, \"\\u03b1\", \"\\\\alpha\", true);\ndefineSymbol(math, main, mathord, \"\\u03b2\", \"\\\\beta\", true);\ndefineSymbol(math, main, mathord, \"\\u03b3\", \"\\\\gamma\", true);\ndefineSymbol(math, main, mathord, \"\\u03b4\", \"\\\\delta\", true);\ndefineSymbol(math, main, mathord, \"\\u03f5\", \"\\\\epsilon\", true);\ndefineSymbol(math, main, mathord, \"\\u03b6\", \"\\\\zeta\", true);\ndefineSymbol(math, main, mathord, \"\\u03b7\", \"\\\\eta\", true);\ndefineSymbol(math, main, mathord, \"\\u03b8\", \"\\\\theta\", true);\ndefineSymbol(math, main, mathord, \"\\u03b9\", \"\\\\iota\", true);\ndefineSymbol(math, main, mathord, \"\\u03ba\", \"\\\\kappa\", true);\ndefineSymbol(math, main, mathord, \"\\u03bb\", \"\\\\lambda\", true);\ndefineSymbol(math, main, mathord, \"\\u03bc\", \"\\\\mu\", true);\ndefineSymbol(math, main, mathord, \"\\u03bd\", \"\\\\nu\", true);\ndefineSymbol(math, main, mathord, \"\\u03be\", \"\\\\xi\", true);\ndefineSymbol(math, main, mathord, \"\\u03bf\", \"\\\\omicron\", true);\ndefineSymbol(math, main, mathord, \"\\u03c0\", \"\\\\pi\", true);\ndefineSymbol(math, main, mathord, \"\\u03c1\", \"\\\\rho\", true);\ndefineSymbol(math, main, mathord, \"\\u03c3\", \"\\\\sigma\", true);\ndefineSymbol(math, main, mathord, \"\\u03c4\", \"\\\\tau\", true);\ndefineSymbol(math, main, mathord, \"\\u03c5\", \"\\\\upsilon\", true);\ndefineSymbol(math, main, mathord, \"\\u03d5\", \"\\\\phi\", true);\ndefineSymbol(math, main, mathord, \"\\u03c7\", \"\\\\chi\", true);\ndefineSymbol(math, main, mathord, \"\\u03c8\", \"\\\\psi\", true);\ndefineSymbol(math, main, mathord, \"\\u03c9\", \"\\\\omega\", true);\ndefineSymbol(math, main, mathord, \"\\u03b5\", \"\\\\varepsilon\", true);\ndefineSymbol(math, main, mathord, \"\\u03d1\", \"\\\\vartheta\", true);\ndefineSymbol(math, main, mathord, \"\\u03d6\", \"\\\\varpi\", true);\ndefineSymbol(math, main, mathord, \"\\u03f1\", \"\\\\varrho\", true);\ndefineSymbol(math, main, mathord, \"\\u03c2\", \"\\\\varsigma\", true);\ndefineSymbol(math, main, mathord, \"\\u03c6\", \"\\\\varphi\", true);\ndefineSymbol(math, main, bin, \"\\u2217\", \"*\", true);\ndefineSymbol(math, main, bin, \"+\", \"+\");\ndefineSymbol(math, main, bin, \"\\u2212\", \"-\", true);\ndefineSymbol(math, main, bin, \"\\u22c5\", \"\\\\cdot\", true);\ndefineSymbol(math, main, bin, \"\\u2218\", \"\\\\circ\", true);\ndefineSymbol(math, main, bin, \"\\u00f7\", \"\\\\div\", true);\ndefineSymbol(math, main, bin, \"\\u00b1\", \"\\\\pm\", true);\ndefineSymbol(math, main, bin, \"\\u00d7\", \"\\\\times\", true);\ndefineSymbol(math, main, bin, \"\\u2229\", \"\\\\cap\", true);\ndefineSymbol(math, main, bin, \"\\u222a\", \"\\\\cup\", true);\ndefineSymbol(math, main, bin, \"\\u2216\", \"\\\\setminus\", true);\ndefineSymbol(math, main, bin, \"\\u2227\", \"\\\\land\");\ndefineSymbol(math, main, bin, \"\\u2228\", \"\\\\lor\");\ndefineSymbol(math, main, bin, \"\\u2227\", \"\\\\wedge\", true);\ndefineSymbol(math, main, bin, \"\\u2228\", \"\\\\vee\", true);\ndefineSymbol(math, main, textord, \"\\u221a\", \"\\\\surd\");\ndefineSymbol(math, main, symbols_open, \"\\u27e8\", \"\\\\langle\", true);\ndefineSymbol(math, main, symbols_open, \"\\u2223\", \"\\\\lvert\");\ndefineSymbol(math, main, symbols_open, \"\\u2225\", \"\\\\lVert\");\ndefineSymbol(math, main, symbols_close, \"?\", \"?\");\ndefineSymbol(math, main, symbols_close, \"!\", \"!\");\ndefineSymbol(math, main, symbols_close, \"\\u27e9\", \"\\\\rangle\", true);\ndefineSymbol(math, main, symbols_close, \"\\u2223\", \"\\\\rvert\");\ndefineSymbol(math, main, symbols_close, \"\\u2225\", \"\\\\rVert\");\ndefineSymbol(math, main, rel, \"=\", \"=\");\ndefineSymbol(math, main, rel, \":\", \":\");\ndefineSymbol(math, main, rel, \"\\u2248\", \"\\\\approx\", true);\ndefineSymbol(math, main, rel, \"\\u2245\", \"\\\\cong\", true);\ndefineSymbol(math, main, rel, \"\\u2265\", \"\\\\ge\");\ndefineSymbol(math, main, rel, \"\\u2265\", \"\\\\geq\", true);\ndefineSymbol(math, main, rel, \"\\u2190\", \"\\\\gets\");\ndefineSymbol(math, main, rel, \">\", \"\\\\gt\", true);\ndefineSymbol(math, main, rel, \"\\u2208\", \"\\\\in\", true);\ndefineSymbol(math, main, rel, \"\\ue020\", \"\\\\@not\");\ndefineSymbol(math, main, rel, \"\\u2282\", \"\\\\subset\", true);\ndefineSymbol(math, main, rel, \"\\u2283\", \"\\\\supset\", true);\ndefineSymbol(math, main, rel, \"\\u2286\", \"\\\\subseteq\", true);\ndefineSymbol(math, main, rel, \"\\u2287\", \"\\\\supseteq\", true);\ndefineSymbol(math, ams, rel, \"\\u2288\", \"\\\\nsubseteq\", true);\ndefineSymbol(math, ams, rel, \"\\u2289\", \"\\\\nsupseteq\", true);\ndefineSymbol(math, main, rel, \"\\u22a8\", \"\\\\models\");\ndefineSymbol(math, main, rel, \"\\u2190\", \"\\\\leftarrow\", true);\ndefineSymbol(math, main, rel, \"\\u2264\", \"\\\\le\");\ndefineSymbol(math, main, rel, \"\\u2264\", \"\\\\leq\", true);\ndefineSymbol(math, main, rel, \"<\", \"\\\\lt\", true);\ndefineSymbol(math, main, rel, \"\\u2192\", \"\\\\rightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u2192\", \"\\\\to\");\ndefineSymbol(math, ams, rel, \"\\u2271\", \"\\\\ngeq\", true);\ndefineSymbol(math, ams, rel, \"\\u2270\", \"\\\\nleq\", true);\ndefineSymbol(math, main, spacing, \"\\u00a0\", \"\\\\ \");\ndefineSymbol(math, main, spacing, \"\\u00a0\", \"\\\\space\"); // Ref: LaTeX Source 2e: \\DeclareRobustCommand{\\nobreakspace}{%\n\ndefineSymbol(math, main, spacing, \"\\u00a0\", \"\\\\nobreakspace\");\ndefineSymbol(symbols_text, main, spacing, \"\\u00a0\", \"\\\\ \");\ndefineSymbol(symbols_text, main, spacing, \"\\u00a0\", \" \");\ndefineSymbol(symbols_text, main, spacing, \"\\u00a0\", \"\\\\space\");\ndefineSymbol(symbols_text, main, spacing, \"\\u00a0\", \"\\\\nobreakspace\");\ndefineSymbol(math, main, spacing, null, \"\\\\nobreak\");\ndefineSymbol(math, main, spacing, null, \"\\\\allowbreak\");\ndefineSymbol(math, main, punct, \",\", \",\");\ndefineSymbol(math, main, punct, \";\", \";\");\ndefineSymbol(math, ams, bin, \"\\u22bc\", \"\\\\barwedge\", true);\ndefineSymbol(math, ams, bin, \"\\u22bb\", \"\\\\veebar\", true);\ndefineSymbol(math, main, bin, \"\\u2299\", \"\\\\odot\", true);\ndefineSymbol(math, main, bin, \"\\u2295\", \"\\\\oplus\", true);\ndefineSymbol(math, main, bin, \"\\u2297\", \"\\\\otimes\", true);\ndefineSymbol(math, main, textord, \"\\u2202\", \"\\\\partial\", true);\ndefineSymbol(math, main, bin, \"\\u2298\", \"\\\\oslash\", true);\ndefineSymbol(math, ams, bin, \"\\u229a\", \"\\\\circledcirc\", true);\ndefineSymbol(math, ams, bin, \"\\u22a1\", \"\\\\boxdot\", true);\ndefineSymbol(math, main, bin, \"\\u25b3\", \"\\\\bigtriangleup\");\ndefineSymbol(math, main, bin, \"\\u25bd\", \"\\\\bigtriangledown\");\ndefineSymbol(math, main, bin, \"\\u2020\", \"\\\\dagger\");\ndefineSymbol(math, main, bin, \"\\u22c4\", \"\\\\diamond\");\ndefineSymbol(math, main, bin, \"\\u22c6\", \"\\\\star\");\ndefineSymbol(math, main, bin, \"\\u25c3\", \"\\\\triangleleft\");\ndefineSymbol(math, main, bin, \"\\u25b9\", \"\\\\triangleright\");\ndefineSymbol(math, main, symbols_open, \"{\", \"\\\\{\");\ndefineSymbol(symbols_text, main, textord, \"{\", \"\\\\{\");\ndefineSymbol(symbols_text, main, textord, \"{\", \"\\\\textbraceleft\");\ndefineSymbol(math, main, symbols_close, \"}\", \"\\\\}\");\ndefineSymbol(symbols_text, main, textord, \"}\", \"\\\\}\");\ndefineSymbol(symbols_text, main, textord, \"}\", \"\\\\textbraceright\");\ndefineSymbol(math, main, symbols_open, \"{\", \"\\\\lbrace\");\ndefineSymbol(math, main, symbols_close, \"}\", \"\\\\rbrace\");\ndefineSymbol(math, main, symbols_open, \"[\", \"\\\\lbrack\", true);\ndefineSymbol(symbols_text, main, textord, \"[\", \"\\\\lbrack\", true);\ndefineSymbol(math, main, symbols_close, \"]\", \"\\\\rbrack\", true);\ndefineSymbol(symbols_text, main, textord, \"]\", \"\\\\rbrack\", true);\ndefineSymbol(math, main, symbols_open, \"(\", \"\\\\lparen\", true);\ndefineSymbol(math, main, symbols_close, \")\", \"\\\\rparen\", true);\ndefineSymbol(symbols_text, main, textord, \"<\", \"\\\\textless\", true); // in T1 fontenc\n\ndefineSymbol(symbols_text, main, textord, \">\", \"\\\\textgreater\", true); // in T1 fontenc\n\ndefineSymbol(math, main, symbols_open, \"\\u230a\", \"\\\\lfloor\", true);\ndefineSymbol(math, main, symbols_close, \"\\u230b\", \"\\\\rfloor\", true);\ndefineSymbol(math, main, symbols_open, \"\\u2308\", \"\\\\lceil\", true);\ndefineSymbol(math, main, symbols_close, \"\\u2309\", \"\\\\rceil\", true);\ndefineSymbol(math, main, textord, \"\\\\\", \"\\\\backslash\");\ndefineSymbol(math, main, textord, \"\\u2223\", \"|\");\ndefineSymbol(math, main, textord, \"\\u2223\", \"\\\\vert\");\ndefineSymbol(symbols_text, main, textord, \"|\", \"\\\\textbar\", true); // in T1 fontenc\n\ndefineSymbol(math, main, textord, \"\\u2225\", \"\\\\|\");\ndefineSymbol(math, main, textord, \"\\u2225\", \"\\\\Vert\");\ndefineSymbol(symbols_text, main, textord, \"\\u2225\", \"\\\\textbardbl\");\ndefineSymbol(symbols_text, main, textord, \"~\", \"\\\\textasciitilde\");\ndefineSymbol(symbols_text, main, textord, \"\\\\\", \"\\\\textbackslash\");\ndefineSymbol(symbols_text, main, textord, \"^\", \"\\\\textasciicircum\");\ndefineSymbol(math, main, rel, \"\\u2191\", \"\\\\uparrow\", true);\ndefineSymbol(math, main, rel, \"\\u21d1\", \"\\\\Uparrow\", true);\ndefineSymbol(math, main, rel, \"\\u2193\", \"\\\\downarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21d3\", \"\\\\Downarrow\", true);\ndefineSymbol(math, main, rel, \"\\u2195\", \"\\\\updownarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21d5\", \"\\\\Updownarrow\", true);\ndefineSymbol(math, main, op, \"\\u2210\", \"\\\\coprod\");\ndefineSymbol(math, main, op, \"\\u22c1\", \"\\\\bigvee\");\ndefineSymbol(math, main, op, \"\\u22c0\", \"\\\\bigwedge\");\ndefineSymbol(math, main, op, \"\\u2a04\", \"\\\\biguplus\");\ndefineSymbol(math, main, op, \"\\u22c2\", \"\\\\bigcap\");\ndefineSymbol(math, main, op, \"\\u22c3\", \"\\\\bigcup\");\ndefineSymbol(math, main, op, \"\\u222b\", \"\\\\int\");\ndefineSymbol(math, main, op, \"\\u222b\", \"\\\\intop\");\ndefineSymbol(math, main, op, \"\\u222c\", \"\\\\iint\");\ndefineSymbol(math, main, op, \"\\u222d\", \"\\\\iiint\");\ndefineSymbol(math, main, op, \"\\u220f\", \"\\\\prod\");\ndefineSymbol(math, main, op, \"\\u2211\", \"\\\\sum\");\ndefineSymbol(math, main, op, \"\\u2a02\", \"\\\\bigotimes\");\ndefineSymbol(math, main, op, \"\\u2a01\", \"\\\\bigoplus\");\ndefineSymbol(math, main, op, \"\\u2a00\", \"\\\\bigodot\");\ndefineSymbol(math, main, op, \"\\u222e\", \"\\\\oint\");\ndefineSymbol(math, main, op, \"\\u222f\", \"\\\\oiint\");\ndefineSymbol(math, main, op, \"\\u2230\", \"\\\\oiiint\");\ndefineSymbol(math, main, op, \"\\u2a06\", \"\\\\bigsqcup\");\ndefineSymbol(math, main, op, \"\\u222b\", \"\\\\smallint\");\ndefineSymbol(symbols_text, main, inner, \"\\u2026\", \"\\\\textellipsis\");\ndefineSymbol(math, main, inner, \"\\u2026\", \"\\\\mathellipsis\");\ndefineSymbol(symbols_text, main, inner, \"\\u2026\", \"\\\\ldots\", true);\ndefineSymbol(math, main, inner, \"\\u2026\", \"\\\\ldots\", true);\ndefineSymbol(math, main, inner, \"\\u22ef\", \"\\\\@cdots\", true);\ndefineSymbol(math, main, inner, \"\\u22f1\", \"\\\\ddots\", true);\ndefineSymbol(math, main, textord, \"\\u22ee\", \"\\\\varvdots\"); // \\vdots is a macro\n\ndefineSymbol(math, main, accent, \"\\u02ca\", \"\\\\acute\");\ndefineSymbol(math, main, accent, \"\\u02cb\", \"\\\\grave\");\ndefineSymbol(math, main, accent, \"\\u00a8\", \"\\\\ddot\");\ndefineSymbol(math, main, accent, \"\\u007e\", \"\\\\tilde\");\ndefineSymbol(math, main, accent, \"\\u02c9\", \"\\\\bar\");\ndefineSymbol(math, main, accent, \"\\u02d8\", \"\\\\breve\");\ndefineSymbol(math, main, accent, \"\\u02c7\", \"\\\\check\");\ndefineSymbol(math, main, accent, \"\\u005e\", \"\\\\hat\");\ndefineSymbol(math, main, accent, \"\\u20d7\", \"\\\\vec\");\ndefineSymbol(math, main, accent, \"\\u02d9\", \"\\\\dot\");\ndefineSymbol(math, main, accent, \"\\u02da\", \"\\\\mathring\"); // \\imath and \\jmath should be invariant to \\mathrm, \\mathbf, etc., so use PUA\n\ndefineSymbol(math, main, mathord, \"\\ue131\", \"\\\\@imath\");\ndefineSymbol(math, main, mathord, \"\\ue237\", \"\\\\@jmath\");\ndefineSymbol(math, main, textord, \"\\u0131\", \"\\u0131\");\ndefineSymbol(math, main, textord, \"\\u0237\", \"\\u0237\");\ndefineSymbol(symbols_text, main, textord, \"\\u0131\", \"\\\\i\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u0237\", \"\\\\j\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00df\", \"\\\\ss\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00e6\", \"\\\\ae\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u0153\", \"\\\\oe\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00f8\", \"\\\\o\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00c6\", \"\\\\AE\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u0152\", \"\\\\OE\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00d8\", \"\\\\O\", true);\ndefineSymbol(symbols_text, main, accent, \"\\u02ca\", \"\\\\'\"); // acute\n\ndefineSymbol(symbols_text, main, accent, \"\\u02cb\", \"\\\\`\"); // grave\n\ndefineSymbol(symbols_text, main, accent, \"\\u02c6\", \"\\\\^\"); // circumflex\n\ndefineSymbol(symbols_text, main, accent, \"\\u02dc\", \"\\\\~\"); // tilde\n\ndefineSymbol(symbols_text, main, accent, \"\\u02c9\", \"\\\\=\"); // macron\n\ndefineSymbol(symbols_text, main, accent, \"\\u02d8\", \"\\\\u\"); // breve\n\ndefineSymbol(symbols_text, main, accent, \"\\u02d9\", \"\\\\.\"); // dot above\n\ndefineSymbol(symbols_text, main, accent, \"\\u00b8\", \"\\\\c\"); // cedilla\n\ndefineSymbol(symbols_text, main, accent, \"\\u02da\", \"\\\\r\"); // ring above\n\ndefineSymbol(symbols_text, main, accent, \"\\u02c7\", \"\\\\v\"); // caron\n\ndefineSymbol(symbols_text, main, accent, \"\\u00a8\", '\\\\\"'); // diaresis\n\ndefineSymbol(symbols_text, main, accent, \"\\u02dd\", \"\\\\H\"); // double acute\n\ndefineSymbol(symbols_text, main, accent, \"\\u25ef\", \"\\\\textcircled\"); // \\bigcirc glyph\n// These ligatures are detected and created in Parser.js's `formLigatures`.\n\nconst ligatures = {\n \"--\": true,\n \"---\": true,\n \"``\": true,\n \"''\": true\n};\ndefineSymbol(symbols_text, main, textord, \"\\u2013\", \"--\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u2013\", \"\\\\textendash\");\ndefineSymbol(symbols_text, main, textord, \"\\u2014\", \"---\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u2014\", \"\\\\textemdash\");\ndefineSymbol(symbols_text, main, textord, \"\\u2018\", \"`\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u2018\", \"\\\\textquoteleft\");\ndefineSymbol(symbols_text, main, textord, \"\\u2019\", \"'\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u2019\", \"\\\\textquoteright\");\ndefineSymbol(symbols_text, main, textord, \"\\u201c\", \"``\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u201c\", \"\\\\textquotedblleft\");\ndefineSymbol(symbols_text, main, textord, \"\\u201d\", \"''\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u201d\", \"\\\\textquotedblright\"); // \\degree from gensymb package\n\ndefineSymbol(math, main, textord, \"\\u00b0\", \"\\\\degree\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00b0\", \"\\\\degree\"); // \\textdegree from inputenc package\n\ndefineSymbol(symbols_text, main, textord, \"\\u00b0\", \"\\\\textdegree\", true); // TODO: In LaTeX, \\pounds can generate a different character in text and math\n// mode, but among our fonts, only Main-Regular defines this character \"163\".\n\ndefineSymbol(math, main, textord, \"\\u00a3\", \"\\\\pounds\");\ndefineSymbol(math, main, textord, \"\\u00a3\", \"\\\\mathsterling\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00a3\", \"\\\\pounds\");\ndefineSymbol(symbols_text, main, textord, \"\\u00a3\", \"\\\\textsterling\", true);\ndefineSymbol(math, ams, textord, \"\\u2720\", \"\\\\maltese\");\ndefineSymbol(symbols_text, ams, textord, \"\\u2720\", \"\\\\maltese\"); // There are lots of symbols which are the same, so we add them in afterwards.\n// All of these are textords in math mode\n\nconst mathTextSymbols = \"0123456789/@.\\\"\";\n\nfor (let i = 0; i < mathTextSymbols.length; i++) {\n const ch = mathTextSymbols.charAt(i);\n defineSymbol(math, main, textord, ch, ch);\n} // All of these are textords in text mode\n\n\nconst textSymbols = \"0123456789!@*()-=+\\\";:?/.,\";\n\nfor (let i = 0; i < textSymbols.length; i++) {\n const ch = textSymbols.charAt(i);\n defineSymbol(symbols_text, main, textord, ch, ch);\n} // All of these are textords in text mode, and mathords in math mode\n\n\nconst letters = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\";\n\nfor (let i = 0; i < letters.length; i++) {\n const ch = letters.charAt(i);\n defineSymbol(math, main, mathord, ch, ch);\n defineSymbol(symbols_text, main, textord, ch, ch);\n} // Blackboard bold and script letters in Unicode range\n\n\ndefineSymbol(math, ams, textord, \"C\", \"\\u2102\"); // blackboard bold\n\ndefineSymbol(symbols_text, ams, textord, \"C\", \"\\u2102\");\ndefineSymbol(math, ams, textord, \"H\", \"\\u210D\");\ndefineSymbol(symbols_text, ams, textord, \"H\", \"\\u210D\");\ndefineSymbol(math, ams, textord, \"N\", \"\\u2115\");\ndefineSymbol(symbols_text, ams, textord, \"N\", \"\\u2115\");\ndefineSymbol(math, ams, textord, \"P\", \"\\u2119\");\ndefineSymbol(symbols_text, ams, textord, \"P\", \"\\u2119\");\ndefineSymbol(math, ams, textord, \"Q\", \"\\u211A\");\ndefineSymbol(symbols_text, ams, textord, \"Q\", \"\\u211A\");\ndefineSymbol(math, ams, textord, \"R\", \"\\u211D\");\ndefineSymbol(symbols_text, ams, textord, \"R\", \"\\u211D\");\ndefineSymbol(math, ams, textord, \"Z\", \"\\u2124\");\ndefineSymbol(symbols_text, ams, textord, \"Z\", \"\\u2124\");\ndefineSymbol(math, main, mathord, \"h\", \"\\u210E\"); // italic h, Planck constant\n\ndefineSymbol(symbols_text, main, mathord, \"h\", \"\\u210E\"); // The next loop loads wide (surrogate pair) characters.\n// We support some letters in the Unicode range U+1D400 to U+1D7FF,\n// Mathematical Alphanumeric Symbols.\n// Some editors do not deal well with wide characters. So don't write the\n// string into this file. Instead, create the string from the surrogate pair.\n\nlet wideChar = \"\";\n\nfor (let i = 0; i < letters.length; i++) {\n const ch = letters.charAt(i); // The hex numbers in the next line are a surrogate pair.\n // 0xD835 is the high surrogate for all letters in the range we support.\n // 0xDC00 is the low surrogate for bold A.\n\n wideChar = String.fromCharCode(0xD835, 0xDC00 + i); // A-Z a-z bold\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDC34 + i); // A-Z a-z italic\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDC68 + i); // A-Z a-z bold italic\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDD04 + i); // A-Z a-z Fraktur\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDD6C + i); // A-Z a-z bold Fraktur\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDDA0 + i); // A-Z a-z sans-serif\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDDD4 + i); // A-Z a-z sans bold\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDE08 + i); // A-Z a-z sans italic\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDE70 + i); // A-Z a-z monospace\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n\n if (i < 26) {\n // KaTeX fonts have only capital letters for blackboard bold and script.\n // See exception for k below.\n wideChar = String.fromCharCode(0xD835, 0xDD38 + i); // A-Z double struck\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDC9C + i); // A-Z script\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n } // TODO: Add bold script when it is supported by a KaTeX font.\n\n} // \"k\" is the only double struck lower case letter in the KaTeX fonts.\n\n\nwideChar = String.fromCharCode(0xD835, 0xDD5C); // k double struck\n\ndefineSymbol(math, main, mathord, \"k\", wideChar);\ndefineSymbol(symbols_text, main, textord, \"k\", wideChar); // Next, some wide character numerals\n\nfor (let i = 0; i < 10; i++) {\n const ch = i.toString();\n wideChar = String.fromCharCode(0xD835, 0xDFCE + i); // 0-9 bold\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDFE2 + i); // 0-9 sans serif\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDFEC + i); // 0-9 bold sans\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDFF6 + i); // 0-9 monospace\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n} // We add these Latin-1 letters as symbols for backwards-compatibility,\n// but they are not actually in the font, nor are they supported by the\n// Unicode accent mechanism, so they fall back to Times font and look ugly.\n// TODO(edemaine): Fix this.\n\n\nconst extraLatin = \"\\u00d0\\u00de\\u00fe\";\n\nfor (let i = 0; i < extraLatin.length; i++) {\n const ch = extraLatin.charAt(i);\n defineSymbol(math, main, mathord, ch, ch);\n defineSymbol(symbols_text, main, textord, ch, ch);\n}\n;// CONCATENATED MODULE: ./src/wide-character.js\n/**\n * This file provides support for Unicode range U+1D400 to U+1D7FF,\n * Mathematical Alphanumeric Symbols.\n *\n * Function wideCharacterFont takes a wide character as input and returns\n * the font information necessary to render it properly.\n */\n\n/**\n * Data below is from https://www.unicode.org/charts/PDF/U1D400.pdf\n * That document sorts characters into groups by font type, say bold or italic.\n *\n * In the arrays below, each subarray consists three elements:\n * * The CSS class of that group when in math mode.\n * * The CSS class of that group when in text mode.\n * * The font name, so that KaTeX can get font metrics.\n */\n\nconst wideLatinLetterData = [[\"mathbf\", \"textbf\", \"Main-Bold\"], // A-Z bold upright\n[\"mathbf\", \"textbf\", \"Main-Bold\"], // a-z bold upright\n[\"mathnormal\", \"textit\", \"Math-Italic\"], // A-Z italic\n[\"mathnormal\", \"textit\", \"Math-Italic\"], // a-z italic\n[\"boldsymbol\", \"boldsymbol\", \"Main-BoldItalic\"], // A-Z bold italic\n[\"boldsymbol\", \"boldsymbol\", \"Main-BoldItalic\"], // a-z bold italic\n// Map fancy A-Z letters to script, not calligraphic.\n// This aligns with unicode-math and math fonts (except Cambria Math).\n[\"mathscr\", \"textscr\", \"Script-Regular\"], // A-Z script\n[\"\", \"\", \"\"], // a-z script. No font\n[\"\", \"\", \"\"], // A-Z bold script. No font\n[\"\", \"\", \"\"], // a-z bold script. No font\n[\"mathfrak\", \"textfrak\", \"Fraktur-Regular\"], // A-Z Fraktur\n[\"mathfrak\", \"textfrak\", \"Fraktur-Regular\"], // a-z Fraktur\n[\"mathbb\", \"textbb\", \"AMS-Regular\"], // A-Z double-struck\n[\"mathbb\", \"textbb\", \"AMS-Regular\"], // k double-struck\n// Note that we are using a bold font, but font metrics for regular Fraktur.\n[\"mathboldfrak\", \"textboldfrak\", \"Fraktur-Regular\"], // A-Z bold Fraktur\n[\"mathboldfrak\", \"textboldfrak\", \"Fraktur-Regular\"], // a-z bold Fraktur\n[\"mathsf\", \"textsf\", \"SansSerif-Regular\"], // A-Z sans-serif\n[\"mathsf\", \"textsf\", \"SansSerif-Regular\"], // a-z sans-serif\n[\"mathboldsf\", \"textboldsf\", \"SansSerif-Bold\"], // A-Z bold sans-serif\n[\"mathboldsf\", \"textboldsf\", \"SansSerif-Bold\"], // a-z bold sans-serif\n[\"mathitsf\", \"textitsf\", \"SansSerif-Italic\"], // A-Z italic sans-serif\n[\"mathitsf\", \"textitsf\", \"SansSerif-Italic\"], // a-z italic sans-serif\n[\"\", \"\", \"\"], // A-Z bold italic sans. No font\n[\"\", \"\", \"\"], // a-z bold italic sans. No font\n[\"mathtt\", \"texttt\", \"Typewriter-Regular\"], // A-Z monospace\n[\"mathtt\", \"texttt\", \"Typewriter-Regular\"] // a-z monospace\n];\nconst wideNumeralData = [[\"mathbf\", \"textbf\", \"Main-Bold\"], // 0-9 bold\n[\"\", \"\", \"\"], // 0-9 double-struck. No KaTeX font.\n[\"mathsf\", \"textsf\", \"SansSerif-Regular\"], // 0-9 sans-serif\n[\"mathboldsf\", \"textboldsf\", \"SansSerif-Bold\"], // 0-9 bold sans-serif\n[\"mathtt\", \"texttt\", \"Typewriter-Regular\"] // 0-9 monospace\n];\nconst wideCharacterFont = function (wideChar, mode) {\n // IE doesn't support codePointAt(). So work with the surrogate pair.\n const H = wideChar.charCodeAt(0); // high surrogate\n\n const L = wideChar.charCodeAt(1); // low surrogate\n\n const codePoint = (H - 0xD800) * 0x400 + (L - 0xDC00) + 0x10000;\n const j = mode === \"math\" ? 0 : 1; // column index for CSS class.\n\n if (0x1D400 <= codePoint && codePoint < 0x1D6A4) {\n // wideLatinLetterData contains exactly 26 chars on each row.\n // So we can calculate the relevant row. No traverse necessary.\n const i = Math.floor((codePoint - 0x1D400) / 26);\n return [wideLatinLetterData[i][2], wideLatinLetterData[i][j]];\n } else if (0x1D7CE <= codePoint && codePoint <= 0x1D7FF) {\n // Numerals, ten per row.\n const i = Math.floor((codePoint - 0x1D7CE) / 10);\n return [wideNumeralData[i][2], wideNumeralData[i][j]];\n } else if (codePoint === 0x1D6A5 || codePoint === 0x1D6A6) {\n // dotless i or j\n return [wideLatinLetterData[0][2], wideLatinLetterData[0][j]];\n } else if (0x1D6A6 < codePoint && codePoint < 0x1D7CE) {\n // Greek letters. Not supported, yet.\n return [\"\", \"\"];\n } else {\n // We don't support any wide characters outside 1D400–1D7FF.\n throw new src_ParseError(\"Unsupported character: \" + wideChar);\n }\n};\n;// CONCATENATED MODULE: ./src/buildCommon.js\n/* eslint no-console:0 */\n\n/**\n * This module contains general functions that can be used for building\n * different kinds of domTree nodes in a consistent manner.\n */\n\n\n\n\n\n\n\n/**\n * Looks up the given symbol in fontMetrics, after applying any symbol\n * replacements defined in symbol.js\n */\nconst lookupSymbol = function (value, // TODO(#963): Use a union type for this.\nfontName, mode) {\n // Replace the value with its replaced value from symbol.js\n if (src_symbols[mode][value] && src_symbols[mode][value].replace) {\n value = src_symbols[mode][value].replace;\n }\n\n return {\n value: value,\n metrics: getCharacterMetrics(value, fontName, mode)\n };\n};\n/**\n * Makes a symbolNode after translation via the list of symbols in symbols.js.\n * Correctly pulls out metrics for the character, and optionally takes a list of\n * classes to be attached to the node.\n *\n * TODO: make argument order closer to makeSpan\n * TODO: add a separate argument for math class (e.g. `mop`, `mbin`), which\n * should if present come first in `classes`.\n * TODO(#953): Make `options` mandatory and always pass it in.\n */\n\n\nconst makeSymbol = function (value, fontName, mode, options, classes) {\n const lookup = lookupSymbol(value, fontName, mode);\n const metrics = lookup.metrics;\n value = lookup.value;\n let symbolNode;\n\n if (metrics) {\n let italic = metrics.italic;\n\n if (mode === \"text\" || options && options.font === \"mathit\") {\n italic = 0;\n }\n\n symbolNode = new SymbolNode(value, metrics.height, metrics.depth, italic, metrics.skew, metrics.width, classes);\n } else {\n // TODO(emily): Figure out a good way to only print this in development\n typeof console !== \"undefined\" && console.warn(\"No character metrics \" + (\"for '\" + value + \"' in style '\" + fontName + \"' and mode '\" + mode + \"'\"));\n symbolNode = new SymbolNode(value, 0, 0, 0, 0, 0, classes);\n }\n\n if (options) {\n symbolNode.maxFontSize = options.sizeMultiplier;\n\n if (options.style.isTight()) {\n symbolNode.classes.push(\"mtight\");\n }\n\n const color = options.getColor();\n\n if (color) {\n symbolNode.style.color = color;\n }\n }\n\n return symbolNode;\n};\n/**\n * Makes a symbol in Main-Regular or AMS-Regular.\n * Used for rel, bin, open, close, inner, and punct.\n */\n\n\nconst mathsym = function (value, mode, options, classes) {\n if (classes === void 0) {\n classes = [];\n }\n\n // Decide what font to render the symbol in by its entry in the symbols\n // table.\n // Have a special case for when the value = \\ because the \\ is used as a\n // textord in unsupported command errors but cannot be parsed as a regular\n // text ordinal and is therefore not present as a symbol in the symbols\n // table for text, as well as a special case for boldsymbol because it\n // can be used for bold + and -\n if (options.font === \"boldsymbol\" && lookupSymbol(value, \"Main-Bold\", mode).metrics) {\n return makeSymbol(value, \"Main-Bold\", mode, options, classes.concat([\"mathbf\"]));\n } else if (value === \"\\\\\" || src_symbols[mode][value].font === \"main\") {\n return makeSymbol(value, \"Main-Regular\", mode, options, classes);\n } else {\n return makeSymbol(value, \"AMS-Regular\", mode, options, classes.concat([\"amsrm\"]));\n }\n};\n/**\n * Determines which of the two font names (Main-Bold and Math-BoldItalic) and\n * corresponding style tags (mathbf or boldsymbol) to use for font \"boldsymbol\",\n * depending on the symbol. Use this function instead of fontMap for font\n * \"boldsymbol\".\n */\n\n\nconst boldsymbol = function (value, mode, options, classes, type) {\n if (type !== \"textord\" && lookupSymbol(value, \"Math-BoldItalic\", mode).metrics) {\n return {\n fontName: \"Math-BoldItalic\",\n fontClass: \"boldsymbol\"\n };\n } else {\n // Some glyphs do not exist in Math-BoldItalic so we need to use\n // Main-Bold instead.\n return {\n fontName: \"Main-Bold\",\n fontClass: \"mathbf\"\n };\n }\n};\n/**\n * Makes either a mathord or textord in the correct font and color.\n */\n\n\nconst makeOrd = function (group, options, type) {\n const mode = group.mode;\n const text = group.text;\n const classes = [\"mord\"]; // Math mode or Old font (i.e. \\rm)\n\n const isFont = mode === \"math\" || mode === \"text\" && options.font;\n const fontOrFamily = isFont ? options.font : options.fontFamily;\n let wideFontName = \"\";\n let wideFontClass = \"\";\n\n if (text.charCodeAt(0) === 0xD835) {\n [wideFontName, wideFontClass] = wideCharacterFont(text, mode);\n }\n\n if (wideFontName.length > 0) {\n // surrogate pairs get special treatment\n return makeSymbol(text, wideFontName, mode, options, classes.concat(wideFontClass));\n } else if (fontOrFamily) {\n let fontName;\n let fontClasses;\n\n if (fontOrFamily === \"boldsymbol\") {\n const fontData = boldsymbol(text, mode, options, classes, type);\n fontName = fontData.fontName;\n fontClasses = [fontData.fontClass];\n } else if (isFont) {\n fontName = fontMap[fontOrFamily].fontName;\n fontClasses = [fontOrFamily];\n } else {\n fontName = retrieveTextFontName(fontOrFamily, options.fontWeight, options.fontShape);\n fontClasses = [fontOrFamily, options.fontWeight, options.fontShape];\n }\n\n if (lookupSymbol(text, fontName, mode).metrics) {\n return makeSymbol(text, fontName, mode, options, classes.concat(fontClasses));\n } else if (ligatures.hasOwnProperty(text) && fontName.slice(0, 10) === \"Typewriter\") {\n // Deconstruct ligatures in monospace fonts (\\texttt, \\tt).\n const parts = [];\n\n for (let i = 0; i < text.length; i++) {\n parts.push(makeSymbol(text[i], fontName, mode, options, classes.concat(fontClasses)));\n }\n\n return makeFragment(parts);\n }\n } // Makes a symbol in the default font for mathords and textords.\n\n\n if (type === \"mathord\") {\n return makeSymbol(text, \"Math-Italic\", mode, options, classes.concat([\"mathnormal\"]));\n } else if (type === \"textord\") {\n const font = src_symbols[mode][text] && src_symbols[mode][text].font;\n\n if (font === \"ams\") {\n const fontName = retrieveTextFontName(\"amsrm\", options.fontWeight, options.fontShape);\n return makeSymbol(text, fontName, mode, options, classes.concat(\"amsrm\", options.fontWeight, options.fontShape));\n } else if (font === \"main\" || !font) {\n const fontName = retrieveTextFontName(\"textrm\", options.fontWeight, options.fontShape);\n return makeSymbol(text, fontName, mode, options, classes.concat(options.fontWeight, options.fontShape));\n } else {\n // fonts added by plugins\n const fontName = retrieveTextFontName(font, options.fontWeight, options.fontShape); // We add font name as a css class\n\n return makeSymbol(text, fontName, mode, options, classes.concat(fontName, options.fontWeight, options.fontShape));\n }\n } else {\n throw new Error(\"unexpected type: \" + type + \" in makeOrd\");\n }\n};\n/**\n * Returns true if subsequent symbolNodes have the same classes, skew, maxFont,\n * and styles.\n */\n\n\nconst canCombine = (prev, next) => {\n if (createClass(prev.classes) !== createClass(next.classes) || prev.skew !== next.skew || prev.maxFontSize !== next.maxFontSize) {\n return false;\n } // If prev and next both are just \"mbin\"s or \"mord\"s we don't combine them\n // so that the proper spacing can be preserved.\n\n\n if (prev.classes.length === 1) {\n const cls = prev.classes[0];\n\n if (cls === \"mbin\" || cls === \"mord\") {\n return false;\n }\n }\n\n for (const style in prev.style) {\n if (prev.style.hasOwnProperty(style) && prev.style[style] !== next.style[style]) {\n return false;\n }\n }\n\n for (const style in next.style) {\n if (next.style.hasOwnProperty(style) && prev.style[style] !== next.style[style]) {\n return false;\n }\n }\n\n return true;\n};\n/**\n * Combine consecutive domTree.symbolNodes into a single symbolNode.\n * Note: this function mutates the argument.\n */\n\n\nconst tryCombineChars = chars => {\n for (let i = 0; i < chars.length - 1; i++) {\n const prev = chars[i];\n const next = chars[i + 1];\n\n if (prev instanceof SymbolNode && next instanceof SymbolNode && canCombine(prev, next)) {\n prev.text += next.text;\n prev.height = Math.max(prev.height, next.height);\n prev.depth = Math.max(prev.depth, next.depth); // Use the last character's italic correction since we use\n // it to add padding to the right of the span created from\n // the combined characters.\n\n prev.italic = next.italic;\n chars.splice(i + 1, 1);\n i--;\n }\n }\n\n return chars;\n};\n/**\n * Calculate the height, depth, and maxFontSize of an element based on its\n * children.\n */\n\n\nconst sizeElementFromChildren = function (elem) {\n let height = 0;\n let depth = 0;\n let maxFontSize = 0;\n\n for (let i = 0; i < elem.children.length; i++) {\n const child = elem.children[i];\n\n if (child.height > height) {\n height = child.height;\n }\n\n if (child.depth > depth) {\n depth = child.depth;\n }\n\n if (child.maxFontSize > maxFontSize) {\n maxFontSize = child.maxFontSize;\n }\n }\n\n elem.height = height;\n elem.depth = depth;\n elem.maxFontSize = maxFontSize;\n};\n/**\n * Makes a span with the given list of classes, list of children, and options.\n *\n * TODO(#953): Ensure that `options` is always provided (currently some call\n * sites don't pass it) and make the type below mandatory.\n * TODO: add a separate argument for math class (e.g. `mop`, `mbin`), which\n * should if present come first in `classes`.\n */\n\n\nconst makeSpan = function (classes, children, options, style) {\n const span = new Span(classes, children, options, style);\n sizeElementFromChildren(span);\n return span;\n}; // SVG one is simpler -- doesn't require height, depth, max-font setting.\n// This is also a separate method for typesafety.\n\n\nconst makeSvgSpan = (classes, children, options, style) => new Span(classes, children, options, style);\n\nconst makeLineSpan = function (className, options, thickness) {\n const line = makeSpan([className], [], options);\n line.height = Math.max(thickness || options.fontMetrics().defaultRuleThickness, options.minRuleThickness);\n line.style.borderBottomWidth = makeEm(line.height);\n line.maxFontSize = 1.0;\n return line;\n};\n/**\n * Makes an anchor with the given href, list of classes, list of children,\n * and options.\n */\n\n\nconst makeAnchor = function (href, classes, children, options) {\n const anchor = new Anchor(href, classes, children, options);\n sizeElementFromChildren(anchor);\n return anchor;\n};\n/**\n * Makes a document fragment with the given list of children.\n */\n\n\nconst makeFragment = function (children) {\n const fragment = new DocumentFragment(children);\n sizeElementFromChildren(fragment);\n return fragment;\n};\n/**\n * Wraps group in a span if it's a document fragment, allowing to apply classes\n * and styles\n */\n\n\nconst wrapFragment = function (group, options) {\n if (group instanceof DocumentFragment) {\n return makeSpan([], [group], options);\n }\n\n return group;\n}; // These are exact object types to catch typos in the names of the optional fields.\n\n\n// Computes the updated `children` list and the overall depth.\n//\n// This helper function for makeVList makes it easier to enforce type safety by\n// allowing early exits (returns) in the logic.\nconst getVListChildrenAndDepth = function (params) {\n if (params.positionType === \"individualShift\") {\n const oldChildren = params.children;\n const children = [oldChildren[0]]; // Add in kerns to the list of params.children to get each element to be\n // shifted to the correct specified shift\n\n const depth = -oldChildren[0].shift - oldChildren[0].elem.depth;\n let currPos = depth;\n\n for (let i = 1; i < oldChildren.length; i++) {\n const diff = -oldChildren[i].shift - currPos - oldChildren[i].elem.depth;\n const size = diff - (oldChildren[i - 1].elem.height + oldChildren[i - 1].elem.depth);\n currPos = currPos + diff;\n children.push({\n type: \"kern\",\n size\n });\n children.push(oldChildren[i]);\n }\n\n return {\n children,\n depth\n };\n }\n\n let depth;\n\n if (params.positionType === \"top\") {\n // We always start at the bottom, so calculate the bottom by adding up\n // all the sizes\n let bottom = params.positionData;\n\n for (let i = 0; i < params.children.length; i++) {\n const child = params.children[i];\n bottom -= child.type === \"kern\" ? child.size : child.elem.height + child.elem.depth;\n }\n\n depth = bottom;\n } else if (params.positionType === \"bottom\") {\n depth = -params.positionData;\n } else {\n const firstChild = params.children[0];\n\n if (firstChild.type !== \"elem\") {\n throw new Error('First child must have type \"elem\".');\n }\n\n if (params.positionType === \"shift\") {\n depth = -firstChild.elem.depth - params.positionData;\n } else if (params.positionType === \"firstBaseline\") {\n depth = -firstChild.elem.depth;\n } else {\n throw new Error(\"Invalid positionType \" + params.positionType + \".\");\n }\n }\n\n return {\n children: params.children,\n depth\n };\n};\n/**\n * Makes a vertical list by stacking elements and kerns on top of each other.\n * Allows for many different ways of specifying the positioning method.\n *\n * See VListParam documentation above.\n */\n\n\nconst makeVList = function (params, options) {\n const {\n children,\n depth\n } = getVListChildrenAndDepth(params); // Create a strut that is taller than any list item. The strut is added to\n // each item, where it will determine the item's baseline. Since it has\n // `overflow:hidden`, the strut's top edge will sit on the item's line box's\n // top edge and the strut's bottom edge will sit on the item's baseline,\n // with no additional line-height spacing. This allows the item baseline to\n // be positioned precisely without worrying about font ascent and\n // line-height.\n\n let pstrutSize = 0;\n\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n\n if (child.type === \"elem\") {\n const elem = child.elem;\n pstrutSize = Math.max(pstrutSize, elem.maxFontSize, elem.height);\n }\n }\n\n pstrutSize += 2;\n const pstrut = makeSpan([\"pstrut\"], []);\n pstrut.style.height = makeEm(pstrutSize); // Create a new list of actual children at the correct offsets\n\n const realChildren = [];\n let minPos = depth;\n let maxPos = depth;\n let currPos = depth;\n\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n\n if (child.type === \"kern\") {\n currPos += child.size;\n } else {\n const elem = child.elem;\n const classes = child.wrapperClasses || [];\n const style = child.wrapperStyle || {};\n const childWrap = makeSpan(classes, [pstrut, elem], undefined, style);\n childWrap.style.top = makeEm(-pstrutSize - currPos - elem.depth);\n\n if (child.marginLeft) {\n childWrap.style.marginLeft = child.marginLeft;\n }\n\n if (child.marginRight) {\n childWrap.style.marginRight = child.marginRight;\n }\n\n realChildren.push(childWrap);\n currPos += elem.height + elem.depth;\n }\n\n minPos = Math.min(minPos, currPos);\n maxPos = Math.max(maxPos, currPos);\n } // The vlist contents go in a table-cell with `vertical-align:bottom`.\n // This cell's bottom edge will determine the containing table's baseline\n // without overly expanding the containing line-box.\n\n\n const vlist = makeSpan([\"vlist\"], realChildren);\n vlist.style.height = makeEm(maxPos); // A second row is used if necessary to represent the vlist's depth.\n\n let rows;\n\n if (minPos < 0) {\n // We will define depth in an empty span with display: table-cell.\n // It should render with the height that we define. But Chrome, in\n // contenteditable mode only, treats that span as if it contains some\n // text content. And that min-height over-rides our desired height.\n // So we put another empty span inside the depth strut span.\n const emptySpan = makeSpan([], []);\n const depthStrut = makeSpan([\"vlist\"], [emptySpan]);\n depthStrut.style.height = makeEm(-minPos); // Safari wants the first row to have inline content; otherwise it\n // puts the bottom of the *second* row on the baseline.\n\n const topStrut = makeSpan([\"vlist-s\"], [new SymbolNode(\"\\u200b\")]);\n rows = [makeSpan([\"vlist-r\"], [vlist, topStrut]), makeSpan([\"vlist-r\"], [depthStrut])];\n } else {\n rows = [makeSpan([\"vlist-r\"], [vlist])];\n }\n\n const vtable = makeSpan([\"vlist-t\"], rows);\n\n if (rows.length === 2) {\n vtable.classes.push(\"vlist-t2\");\n }\n\n vtable.height = maxPos;\n vtable.depth = -minPos;\n return vtable;\n}; // Glue is a concept from TeX which is a flexible space between elements in\n// either a vertical or horizontal list. In KaTeX, at least for now, it's\n// static space between elements in a horizontal layout.\n\n\nconst makeGlue = (measurement, options) => {\n // Make an empty span for the space\n const rule = makeSpan([\"mspace\"], [], options);\n const size = calculateSize(measurement, options);\n rule.style.marginRight = makeEm(size);\n return rule;\n}; // Takes font options, and returns the appropriate fontLookup name\n\n\nconst retrieveTextFontName = function (fontFamily, fontWeight, fontShape) {\n let baseFontName = \"\";\n\n switch (fontFamily) {\n case \"amsrm\":\n baseFontName = \"AMS\";\n break;\n\n case \"textrm\":\n baseFontName = \"Main\";\n break;\n\n case \"textsf\":\n baseFontName = \"SansSerif\";\n break;\n\n case \"texttt\":\n baseFontName = \"Typewriter\";\n break;\n\n default:\n baseFontName = fontFamily;\n // use fonts added by a plugin\n }\n\n let fontStylesName;\n\n if (fontWeight === \"textbf\" && fontShape === \"textit\") {\n fontStylesName = \"BoldItalic\";\n } else if (fontWeight === \"textbf\") {\n fontStylesName = \"Bold\";\n } else if (fontWeight === \"textit\") {\n fontStylesName = \"Italic\";\n } else {\n fontStylesName = \"Regular\";\n }\n\n return baseFontName + \"-\" + fontStylesName;\n};\n/**\n * Maps TeX font commands to objects containing:\n * - variant: string used for \"mathvariant\" attribute in buildMathML.js\n * - fontName: the \"style\" parameter to fontMetrics.getCharacterMetrics\n */\n// A map between tex font commands an MathML mathvariant attribute values\n\n\nconst fontMap = {\n // styles\n \"mathbf\": {\n variant: \"bold\",\n fontName: \"Main-Bold\"\n },\n \"mathrm\": {\n variant: \"normal\",\n fontName: \"Main-Regular\"\n },\n \"textit\": {\n variant: \"italic\",\n fontName: \"Main-Italic\"\n },\n \"mathit\": {\n variant: \"italic\",\n fontName: \"Main-Italic\"\n },\n \"mathnormal\": {\n variant: \"italic\",\n fontName: \"Math-Italic\"\n },\n // \"boldsymbol\" is missing because they require the use of multiple fonts:\n // Math-BoldItalic and Main-Bold. This is handled by a special case in\n // makeOrd which ends up calling boldsymbol.\n // families\n \"mathbb\": {\n variant: \"double-struck\",\n fontName: \"AMS-Regular\"\n },\n \"mathcal\": {\n variant: \"script\",\n fontName: \"Caligraphic-Regular\"\n },\n \"mathfrak\": {\n variant: \"fraktur\",\n fontName: \"Fraktur-Regular\"\n },\n \"mathscr\": {\n variant: \"script\",\n fontName: \"Script-Regular\"\n },\n \"mathsf\": {\n variant: \"sans-serif\",\n fontName: \"SansSerif-Regular\"\n },\n \"mathtt\": {\n variant: \"monospace\",\n fontName: \"Typewriter-Regular\"\n }\n};\nconst svgData = {\n // path, width, height\n vec: [\"vec\", 0.471, 0.714],\n // values from the font glyph\n oiintSize1: [\"oiintSize1\", 0.957, 0.499],\n // oval to overlay the integrand\n oiintSize2: [\"oiintSize2\", 1.472, 0.659],\n oiiintSize1: [\"oiiintSize1\", 1.304, 0.499],\n oiiintSize2: [\"oiiintSize2\", 1.98, 0.659]\n};\n\nconst staticSvg = function (value, options) {\n // Create a span with inline SVG for the element.\n const [pathName, width, height] = svgData[value];\n const path = new PathNode(pathName);\n const svgNode = new SvgNode([path], {\n \"width\": makeEm(width),\n \"height\": makeEm(height),\n // Override CSS rule `.katex svg { width: 100% }`\n \"style\": \"width:\" + makeEm(width),\n \"viewBox\": \"0 0 \" + 1000 * width + \" \" + 1000 * height,\n \"preserveAspectRatio\": \"xMinYMin\"\n });\n const span = makeSvgSpan([\"overlay\"], [svgNode], options);\n span.height = height;\n span.style.height = makeEm(height);\n span.style.width = makeEm(width);\n return span;\n};\n\n/* harmony default export */ var buildCommon = ({\n fontMap,\n makeSymbol,\n mathsym,\n makeSpan,\n makeSvgSpan,\n makeLineSpan,\n makeAnchor,\n makeFragment,\n wrapFragment,\n makeVList,\n makeOrd,\n makeGlue,\n staticSvg,\n svgData,\n tryCombineChars\n});\n;// CONCATENATED MODULE: ./src/spacingData.js\n/**\n * Describes spaces between different classes of atoms.\n */\nconst thinspace = {\n number: 3,\n unit: \"mu\"\n};\nconst mediumspace = {\n number: 4,\n unit: \"mu\"\n};\nconst thickspace = {\n number: 5,\n unit: \"mu\"\n}; // Making the type below exact with all optional fields doesn't work due to\n// - https://github.com/facebook/flow/issues/4582\n// - https://github.com/facebook/flow/issues/5688\n// However, since *all* fields are optional, $Shape<> works as suggested in 5688\n// above.\n\n// Spacing relationships for display and text styles\nconst spacings = {\n mord: {\n mop: thinspace,\n mbin: mediumspace,\n mrel: thickspace,\n minner: thinspace\n },\n mop: {\n mord: thinspace,\n mop: thinspace,\n mrel: thickspace,\n minner: thinspace\n },\n mbin: {\n mord: mediumspace,\n mop: mediumspace,\n mopen: mediumspace,\n minner: mediumspace\n },\n mrel: {\n mord: thickspace,\n mop: thickspace,\n mopen: thickspace,\n minner: thickspace\n },\n mopen: {},\n mclose: {\n mop: thinspace,\n mbin: mediumspace,\n mrel: thickspace,\n minner: thinspace\n },\n mpunct: {\n mord: thinspace,\n mop: thinspace,\n mrel: thickspace,\n mopen: thinspace,\n mclose: thinspace,\n mpunct: thinspace,\n minner: thinspace\n },\n minner: {\n mord: thinspace,\n mop: thinspace,\n mbin: mediumspace,\n mrel: thickspace,\n mopen: thinspace,\n mpunct: thinspace,\n minner: thinspace\n }\n}; // Spacing relationships for script and scriptscript styles\n\nconst tightSpacings = {\n mord: {\n mop: thinspace\n },\n mop: {\n mord: thinspace,\n mop: thinspace\n },\n mbin: {},\n mrel: {},\n mopen: {},\n mclose: {\n mop: thinspace\n },\n mpunct: {},\n minner: {\n mop: thinspace\n }\n};\n;// CONCATENATED MODULE: ./src/defineFunction.js\n/** Context provided to function handlers for error messages. */\n// Note: reverse the order of the return type union will cause a flow error.\n// See https://github.com/facebook/flow/issues/3663.\n// More general version of `HtmlBuilder` for nodes (e.g. \\sum, accent types)\n// whose presence impacts super/subscripting. In this case, ParseNode<\"supsub\">\n// delegates its HTML building to the HtmlBuilder corresponding to these nodes.\n\n/**\n * Final function spec for use at parse time.\n * This is almost identical to `FunctionPropSpec`, except it\n * 1. includes the function handler, and\n * 2. requires all arguments except argTypes.\n * It is generated by `defineFunction()` below.\n */\n\n/**\n * All registered functions.\n * `functions.js` just exports this same dictionary again and makes it public.\n * `Parser.js` requires this dictionary.\n */\nconst _functions = {};\n/**\n * All HTML builders. Should be only used in the `define*` and the `build*ML`\n * functions.\n */\n\nconst _htmlGroupBuilders = {};\n/**\n * All MathML builders. Should be only used in the `define*` and the `build*ML`\n * functions.\n */\n\nconst _mathmlGroupBuilders = {};\nfunction defineFunction(_ref) {\n let {\n type,\n names,\n props,\n handler,\n htmlBuilder,\n mathmlBuilder\n } = _ref;\n // Set default values of functions\n const data = {\n type,\n numArgs: props.numArgs,\n argTypes: props.argTypes,\n allowedInArgument: !!props.allowedInArgument,\n allowedInText: !!props.allowedInText,\n allowedInMath: props.allowedInMath === undefined ? true : props.allowedInMath,\n numOptionalArgs: props.numOptionalArgs || 0,\n infix: !!props.infix,\n primitive: !!props.primitive,\n handler: handler\n };\n\n for (let i = 0; i < names.length; ++i) {\n _functions[names[i]] = data;\n }\n\n if (type) {\n if (htmlBuilder) {\n _htmlGroupBuilders[type] = htmlBuilder;\n }\n\n if (mathmlBuilder) {\n _mathmlGroupBuilders[type] = mathmlBuilder;\n }\n }\n}\n/**\n * Use this to register only the HTML and MathML builders for a function (e.g.\n * if the function's ParseNode is generated in Parser.js rather than via a\n * stand-alone handler provided to `defineFunction`).\n */\n\nfunction defineFunctionBuilders(_ref2) {\n let {\n type,\n htmlBuilder,\n mathmlBuilder\n } = _ref2;\n defineFunction({\n type,\n names: [],\n props: {\n numArgs: 0\n },\n\n handler() {\n throw new Error('Should never be called.');\n },\n\n htmlBuilder,\n mathmlBuilder\n });\n}\nconst normalizeArgument = function (arg) {\n return arg.type === \"ordgroup\" && arg.body.length === 1 ? arg.body[0] : arg;\n}; // Since the corresponding buildHTML/buildMathML function expects a\n// list of elements, we normalize for different kinds of arguments\n\nconst ordargument = function (arg) {\n return arg.type === \"ordgroup\" ? arg.body : [arg];\n};\n;// CONCATENATED MODULE: ./src/buildHTML.js\n/**\n * This file does the main work of building a domTree structure from a parse\n * tree. The entry point is the `buildHTML` function, which takes a parse tree.\n * Then, the buildExpression, buildGroup, and various groupBuilders functions\n * are called, to produce a final HTML tree.\n */\n\n\n\n\n\n\n\n\n\nconst buildHTML_makeSpan = buildCommon.makeSpan; // Binary atoms (first class `mbin`) change into ordinary atoms (`mord`)\n// depending on their surroundings. See TeXbook pg. 442-446, Rules 5 and 6,\n// and the text before Rule 19.\n\nconst binLeftCanceller = [\"leftmost\", \"mbin\", \"mopen\", \"mrel\", \"mop\", \"mpunct\"];\nconst binRightCanceller = [\"rightmost\", \"mrel\", \"mclose\", \"mpunct\"];\nconst styleMap = {\n \"display\": src_Style.DISPLAY,\n \"text\": src_Style.TEXT,\n \"script\": src_Style.SCRIPT,\n \"scriptscript\": src_Style.SCRIPTSCRIPT\n};\nconst DomEnum = {\n mord: \"mord\",\n mop: \"mop\",\n mbin: \"mbin\",\n mrel: \"mrel\",\n mopen: \"mopen\",\n mclose: \"mclose\",\n mpunct: \"mpunct\",\n minner: \"minner\"\n};\n\n/**\n * Take a list of nodes, build them in order, and return a list of the built\n * nodes. documentFragments are flattened into their contents, so the\n * returned list contains no fragments. `isRealGroup` is true if `expression`\n * is a real group (no atoms will be added on either side), as opposed to\n * a partial group (e.g. one created by \\color). `surrounding` is an array\n * consisting type of nodes that will be added to the left and right.\n */\nconst buildExpression = function (expression, options, isRealGroup, surrounding) {\n if (surrounding === void 0) {\n surrounding = [null, null];\n }\n\n // Parse expressions into `groups`.\n const groups = [];\n\n for (let i = 0; i < expression.length; i++) {\n const output = buildGroup(expression[i], options);\n\n if (output instanceof DocumentFragment) {\n const children = output.children;\n groups.push(...children);\n } else {\n groups.push(output);\n }\n } // Combine consecutive domTree.symbolNodes into a single symbolNode.\n\n\n buildCommon.tryCombineChars(groups); // If `expression` is a partial group, let the parent handle spacings\n // to avoid processing groups multiple times.\n\n if (!isRealGroup) {\n return groups;\n }\n\n let glueOptions = options;\n\n if (expression.length === 1) {\n const node = expression[0];\n\n if (node.type === \"sizing\") {\n glueOptions = options.havingSize(node.size);\n } else if (node.type === \"styling\") {\n glueOptions = options.havingStyle(styleMap[node.style]);\n }\n } // Dummy spans for determining spacings between surrounding atoms.\n // If `expression` has no atoms on the left or right, class \"leftmost\"\n // or \"rightmost\", respectively, is used to indicate it.\n\n\n const dummyPrev = buildHTML_makeSpan([surrounding[0] || \"leftmost\"], [], options);\n const dummyNext = buildHTML_makeSpan([surrounding[1] || \"rightmost\"], [], options); // TODO: These code assumes that a node's math class is the first element\n // of its `classes` array. A later cleanup should ensure this, for\n // instance by changing the signature of `makeSpan`.\n // Before determining what spaces to insert, perform bin cancellation.\n // Binary operators change to ordinary symbols in some contexts.\n\n const isRoot = isRealGroup === \"root\";\n traverseNonSpaceNodes(groups, (node, prev) => {\n const prevType = prev.classes[0];\n const type = node.classes[0];\n\n if (prevType === \"mbin\" && utils.contains(binRightCanceller, type)) {\n prev.classes[0] = \"mord\";\n } else if (type === \"mbin\" && utils.contains(binLeftCanceller, prevType)) {\n node.classes[0] = \"mord\";\n }\n }, {\n node: dummyPrev\n }, dummyNext, isRoot);\n traverseNonSpaceNodes(groups, (node, prev) => {\n const prevType = getTypeOfDomTree(prev);\n const type = getTypeOfDomTree(node); // 'mtight' indicates that the node is script or scriptscript style.\n\n const space = prevType && type ? node.hasClass(\"mtight\") ? tightSpacings[prevType][type] : spacings[prevType][type] : null;\n\n if (space) {\n // Insert glue (spacing) after the `prev`.\n return buildCommon.makeGlue(space, glueOptions);\n }\n }, {\n node: dummyPrev\n }, dummyNext, isRoot);\n return groups;\n}; // Depth-first traverse non-space `nodes`, calling `callback` with the current and\n// previous node as arguments, optionally returning a node to insert after the\n// previous node. `prev` is an object with the previous node and `insertAfter`\n// function to insert after it. `next` is a node that will be added to the right.\n// Used for bin cancellation and inserting spacings.\n\nconst traverseNonSpaceNodes = function (nodes, callback, prev, next, isRoot) {\n if (next) {\n // temporarily append the right node, if exists\n nodes.push(next);\n }\n\n let i = 0;\n\n for (; i < nodes.length; i++) {\n const node = nodes[i];\n const partialGroup = checkPartialGroup(node);\n\n if (partialGroup) {\n // Recursive DFS\n // $FlowFixMe: make nodes a $ReadOnlyArray by returning a new array\n traverseNonSpaceNodes(partialGroup.children, callback, prev, null, isRoot);\n continue;\n } // Ignore explicit spaces (e.g., \\;, \\,) when determining what implicit\n // spacing should go between atoms of different classes\n\n\n const nonspace = !node.hasClass(\"mspace\");\n\n if (nonspace) {\n const result = callback(node, prev.node);\n\n if (result) {\n if (prev.insertAfter) {\n prev.insertAfter(result);\n } else {\n // insert at front\n nodes.unshift(result);\n i++;\n }\n }\n }\n\n if (nonspace) {\n prev.node = node;\n } else if (isRoot && node.hasClass(\"newline\")) {\n prev.node = buildHTML_makeSpan([\"leftmost\"]); // treat like beginning of line\n }\n\n prev.insertAfter = (index => n => {\n nodes.splice(index + 1, 0, n);\n i++;\n })(i);\n }\n\n if (next) {\n nodes.pop();\n }\n}; // Check if given node is a partial group, i.e., does not affect spacing around.\n\n\nconst checkPartialGroup = function (node) {\n if (node instanceof DocumentFragment || node instanceof Anchor || node instanceof Span && node.hasClass(\"enclosing\")) {\n return node;\n }\n\n return null;\n}; // Return the outermost node of a domTree.\n\n\nconst getOutermostNode = function (node, side) {\n const partialGroup = checkPartialGroup(node);\n\n if (partialGroup) {\n const children = partialGroup.children;\n\n if (children.length) {\n if (side === \"right\") {\n return getOutermostNode(children[children.length - 1], \"right\");\n } else if (side === \"left\") {\n return getOutermostNode(children[0], \"left\");\n }\n }\n }\n\n return node;\n}; // Return math atom class (mclass) of a domTree.\n// If `side` is given, it will get the type of the outermost node at given side.\n\n\nconst getTypeOfDomTree = function (node, side) {\n if (!node) {\n return null;\n }\n\n if (side) {\n node = getOutermostNode(node, side);\n } // This makes a lot of assumptions as to where the type of atom\n // appears. We should do a better job of enforcing this.\n\n\n return DomEnum[node.classes[0]] || null;\n};\nconst makeNullDelimiter = function (options, classes) {\n const moreClasses = [\"nulldelimiter\"].concat(options.baseSizingClasses());\n return buildHTML_makeSpan(classes.concat(moreClasses));\n};\n/**\n * buildGroup is the function that takes a group and calls the correct groupType\n * function for it. It also handles the interaction of size and style changes\n * between parents and children.\n */\n\nconst buildGroup = function (group, options, baseOptions) {\n if (!group) {\n return buildHTML_makeSpan();\n }\n\n if (_htmlGroupBuilders[group.type]) {\n // Call the groupBuilders function\n // $FlowFixMe\n let groupNode = _htmlGroupBuilders[group.type](group, options); // If the size changed between the parent and the current group, account\n // for that size difference.\n\n if (baseOptions && options.size !== baseOptions.size) {\n groupNode = buildHTML_makeSpan(options.sizingClasses(baseOptions), [groupNode], options);\n const multiplier = options.sizeMultiplier / baseOptions.sizeMultiplier;\n groupNode.height *= multiplier;\n groupNode.depth *= multiplier;\n }\n\n return groupNode;\n } else {\n throw new src_ParseError(\"Got group of unknown type: '\" + group.type + \"'\");\n }\n};\n/**\n * Combine an array of HTML DOM nodes (e.g., the output of `buildExpression`)\n * into an unbreakable HTML node of class .base, with proper struts to\n * guarantee correct vertical extent. `buildHTML` calls this repeatedly to\n * make up the entire expression as a sequence of unbreakable units.\n */\n\nfunction buildHTMLUnbreakable(children, options) {\n // Compute height and depth of this chunk.\n const body = buildHTML_makeSpan([\"base\"], children, options); // Add strut, which ensures that the top of the HTML element falls at\n // the height of the expression, and the bottom of the HTML element\n // falls at the depth of the expression.\n\n const strut = buildHTML_makeSpan([\"strut\"]);\n strut.style.height = makeEm(body.height + body.depth);\n\n if (body.depth) {\n strut.style.verticalAlign = makeEm(-body.depth);\n }\n\n body.children.unshift(strut);\n return body;\n}\n/**\n * Take an entire parse tree, and build it into an appropriate set of HTML\n * nodes.\n */\n\n\nfunction buildHTML(tree, options) {\n // Strip off outer tag wrapper for processing below.\n let tag = null;\n\n if (tree.length === 1 && tree[0].type === \"tag\") {\n tag = tree[0].tag;\n tree = tree[0].body;\n } // Build the expression contained in the tree\n\n\n const expression = buildExpression(tree, options, \"root\");\n let eqnNum;\n\n if (expression.length === 2 && expression[1].hasClass(\"tag\")) {\n // An environment with automatic equation numbers, e.g. {gather}.\n eqnNum = expression.pop();\n }\n\n const children = []; // Create one base node for each chunk between potential line breaks.\n // The TeXBook [p.173] says \"A formula will be broken only after a\n // relation symbol like $=$ or $<$ or $\\rightarrow$, or after a binary\n // operation symbol like $+$ or $-$ or $\\times$, where the relation or\n // binary operation is on the ``outer level'' of the formula (i.e., not\n // enclosed in {...} and not part of an \\over construction).\"\n\n let parts = [];\n\n for (let i = 0; i < expression.length; i++) {\n parts.push(expression[i]);\n\n if (expression[i].hasClass(\"mbin\") || expression[i].hasClass(\"mrel\") || expression[i].hasClass(\"allowbreak\")) {\n // Put any post-operator glue on same line as operator.\n // Watch for \\nobreak along the way, and stop at \\newline.\n let nobreak = false;\n\n while (i < expression.length - 1 && expression[i + 1].hasClass(\"mspace\") && !expression[i + 1].hasClass(\"newline\")) {\n i++;\n parts.push(expression[i]);\n\n if (expression[i].hasClass(\"nobreak\")) {\n nobreak = true;\n }\n } // Don't allow break if \\nobreak among the post-operator glue.\n\n\n if (!nobreak) {\n children.push(buildHTMLUnbreakable(parts, options));\n parts = [];\n }\n } else if (expression[i].hasClass(\"newline\")) {\n // Write the line except the newline\n parts.pop();\n\n if (parts.length > 0) {\n children.push(buildHTMLUnbreakable(parts, options));\n parts = [];\n } // Put the newline at the top level\n\n\n children.push(expression[i]);\n }\n }\n\n if (parts.length > 0) {\n children.push(buildHTMLUnbreakable(parts, options));\n } // Now, if there was a tag, build it too and append it as a final child.\n\n\n let tagChild;\n\n if (tag) {\n tagChild = buildHTMLUnbreakable(buildExpression(tag, options, true));\n tagChild.classes = [\"tag\"];\n children.push(tagChild);\n } else if (eqnNum) {\n children.push(eqnNum);\n }\n\n const htmlNode = buildHTML_makeSpan([\"katex-html\"], children);\n htmlNode.setAttribute(\"aria-hidden\", \"true\"); // Adjust the strut of the tag to be the maximum height of all children\n // (the height of the enclosing htmlNode) for proper vertical alignment.\n\n if (tagChild) {\n const strut = tagChild.children[0];\n strut.style.height = makeEm(htmlNode.height + htmlNode.depth);\n\n if (htmlNode.depth) {\n strut.style.verticalAlign = makeEm(-htmlNode.depth);\n }\n }\n\n return htmlNode;\n}\n;// CONCATENATED MODULE: ./src/mathMLTree.js\n/**\n * These objects store data about MathML nodes. This is the MathML equivalent\n * of the types in domTree.js. Since MathML handles its own rendering, and\n * since we're mainly using MathML to improve accessibility, we don't manage\n * any of the styling state that the plain DOM nodes do.\n *\n * The `toNode` and `toMarkup` functions work similarly to how they do in\n * domTree.js, creating namespaced DOM nodes and HTML text markup respectively.\n */\n\n\n\n\nfunction newDocumentFragment(children) {\n return new DocumentFragment(children);\n}\n/**\n * This node represents a general purpose MathML node of any type. The\n * constructor requires the type of node to create (for example, `\"mo\"` or\n * `\"mspace\"`, corresponding to `` and `` tags).\n */\n\nclass MathNode {\n constructor(type, children, classes) {\n this.type = void 0;\n this.attributes = void 0;\n this.children = void 0;\n this.classes = void 0;\n this.type = type;\n this.attributes = {};\n this.children = children || [];\n this.classes = classes || [];\n }\n /**\n * Sets an attribute on a MathML node. MathML depends on attributes to convey a\n * semantic content, so this is used heavily.\n */\n\n\n setAttribute(name, value) {\n this.attributes[name] = value;\n }\n /**\n * Gets an attribute on a MathML node.\n */\n\n\n getAttribute(name) {\n return this.attributes[name];\n }\n /**\n * Converts the math node into a MathML-namespaced DOM element.\n */\n\n\n toNode() {\n const node = document.createElementNS(\"http://www.w3.org/1998/Math/MathML\", this.type);\n\n for (const attr in this.attributes) {\n if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) {\n node.setAttribute(attr, this.attributes[attr]);\n }\n }\n\n if (this.classes.length > 0) {\n node.className = createClass(this.classes);\n }\n\n for (let i = 0; i < this.children.length; i++) {\n node.appendChild(this.children[i].toNode());\n }\n\n return node;\n }\n /**\n * Converts the math node into an HTML markup string.\n */\n\n\n toMarkup() {\n let markup = \"<\" + this.type; // Add the attributes\n\n for (const attr in this.attributes) {\n if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) {\n markup += \" \" + attr + \"=\\\"\";\n markup += utils.escape(this.attributes[attr]);\n markup += \"\\\"\";\n }\n }\n\n if (this.classes.length > 0) {\n markup += \" class =\\\"\" + utils.escape(createClass(this.classes)) + \"\\\"\";\n }\n\n markup += \">\";\n\n for (let i = 0; i < this.children.length; i++) {\n markup += this.children[i].toMarkup();\n }\n\n markup += \"\";\n return markup;\n }\n /**\n * Converts the math node into a string, similar to innerText, but escaped.\n */\n\n\n toText() {\n return this.children.map(child => child.toText()).join(\"\");\n }\n\n}\n/**\n * This node represents a piece of text.\n */\n\nclass TextNode {\n constructor(text) {\n this.text = void 0;\n this.text = text;\n }\n /**\n * Converts the text node into a DOM text node.\n */\n\n\n toNode() {\n return document.createTextNode(this.text);\n }\n /**\n * Converts the text node into escaped HTML markup\n * (representing the text itself).\n */\n\n\n toMarkup() {\n return utils.escape(this.toText());\n }\n /**\n * Converts the text node into a string\n * (representing the text itself).\n */\n\n\n toText() {\n return this.text;\n }\n\n}\n/**\n * This node represents a space, but may render as or as text,\n * depending on the width.\n */\n\nclass SpaceNode {\n /**\n * Create a Space node with width given in CSS ems.\n */\n constructor(width) {\n this.width = void 0;\n this.character = void 0;\n this.width = width; // See https://www.w3.org/TR/2000/WD-MathML2-20000328/chapter6.html\n // for a table of space-like characters. We use Unicode\n // representations instead of &LongNames; as it's not clear how to\n // make the latter via document.createTextNode.\n\n if (width >= 0.05555 && width <= 0.05556) {\n this.character = \"\\u200a\"; //  \n } else if (width >= 0.1666 && width <= 0.1667) {\n this.character = \"\\u2009\"; //  \n } else if (width >= 0.2222 && width <= 0.2223) {\n this.character = \"\\u2005\"; //  \n } else if (width >= 0.2777 && width <= 0.2778) {\n this.character = \"\\u2005\\u200a\"; //   \n } else if (width >= -0.05556 && width <= -0.05555) {\n this.character = \"\\u200a\\u2063\"; // ​\n } else if (width >= -0.1667 && width <= -0.1666) {\n this.character = \"\\u2009\\u2063\"; // ​\n } else if (width >= -0.2223 && width <= -0.2222) {\n this.character = \"\\u205f\\u2063\"; // ​\n } else if (width >= -0.2778 && width <= -0.2777) {\n this.character = \"\\u2005\\u2063\"; // ​\n } else {\n this.character = null;\n }\n }\n /**\n * Converts the math node into a MathML-namespaced DOM element.\n */\n\n\n toNode() {\n if (this.character) {\n return document.createTextNode(this.character);\n } else {\n const node = document.createElementNS(\"http://www.w3.org/1998/Math/MathML\", \"mspace\");\n node.setAttribute(\"width\", makeEm(this.width));\n return node;\n }\n }\n /**\n * Converts the math node into an HTML markup string.\n */\n\n\n toMarkup() {\n if (this.character) {\n return \"\" + this.character + \"\";\n } else {\n return \"\";\n }\n }\n /**\n * Converts the math node into a string, similar to innerText.\n */\n\n\n toText() {\n if (this.character) {\n return this.character;\n } else {\n return \" \";\n }\n }\n\n}\n\n/* harmony default export */ var mathMLTree = ({\n MathNode,\n TextNode,\n SpaceNode,\n newDocumentFragment\n});\n;// CONCATENATED MODULE: ./src/buildMathML.js\n/**\n * This file converts a parse tree into a corresponding MathML tree. The main\n * entry point is the `buildMathML` function, which takes a parse tree from the\n * parser.\n */\n\n\n\n\n\n\n\n\n\n/**\n * Takes a symbol and converts it into a MathML text node after performing\n * optional replacement from symbols.js.\n */\nconst makeText = function (text, mode, options) {\n if (src_symbols[mode][text] && src_symbols[mode][text].replace && text.charCodeAt(0) !== 0xD835 && !(ligatures.hasOwnProperty(text) && options && (options.fontFamily && options.fontFamily.slice(4, 6) === \"tt\" || options.font && options.font.slice(4, 6) === \"tt\"))) {\n text = src_symbols[mode][text].replace;\n }\n\n return new mathMLTree.TextNode(text);\n};\n/**\n * Wrap the given array of nodes in an node if needed, i.e.,\n * unless the array has length 1. Always returns a single node.\n */\n\nconst makeRow = function (body) {\n if (body.length === 1) {\n return body[0];\n } else {\n return new mathMLTree.MathNode(\"mrow\", body);\n }\n};\n/**\n * Returns the math variant as a string or null if none is required.\n */\n\nconst getVariant = function (group, options) {\n // Handle \\text... font specifiers as best we can.\n // MathML has a limited list of allowable mathvariant specifiers; see\n // https://www.w3.org/TR/MathML3/chapter3.html#presm.commatt\n if (options.fontFamily === \"texttt\") {\n return \"monospace\";\n } else if (options.fontFamily === \"textsf\") {\n if (options.fontShape === \"textit\" && options.fontWeight === \"textbf\") {\n return \"sans-serif-bold-italic\";\n } else if (options.fontShape === \"textit\") {\n return \"sans-serif-italic\";\n } else if (options.fontWeight === \"textbf\") {\n return \"bold-sans-serif\";\n } else {\n return \"sans-serif\";\n }\n } else if (options.fontShape === \"textit\" && options.fontWeight === \"textbf\") {\n return \"bold-italic\";\n } else if (options.fontShape === \"textit\") {\n return \"italic\";\n } else if (options.fontWeight === \"textbf\") {\n return \"bold\";\n }\n\n const font = options.font;\n\n if (!font || font === \"mathnormal\") {\n return null;\n }\n\n const mode = group.mode;\n\n if (font === \"mathit\") {\n return \"italic\";\n } else if (font === \"boldsymbol\") {\n return group.type === \"textord\" ? \"bold\" : \"bold-italic\";\n } else if (font === \"mathbf\") {\n return \"bold\";\n } else if (font === \"mathbb\") {\n return \"double-struck\";\n } else if (font === \"mathfrak\") {\n return \"fraktur\";\n } else if (font === \"mathscr\" || font === \"mathcal\") {\n // MathML makes no distinction between script and calligraphic\n return \"script\";\n } else if (font === \"mathsf\") {\n return \"sans-serif\";\n } else if (font === \"mathtt\") {\n return \"monospace\";\n }\n\n let text = group.text;\n\n if (utils.contains([\"\\\\imath\", \"\\\\jmath\"], text)) {\n return null;\n }\n\n if (src_symbols[mode][text] && src_symbols[mode][text].replace) {\n text = src_symbols[mode][text].replace;\n }\n\n const fontName = buildCommon.fontMap[font].fontName;\n\n if (getCharacterMetrics(text, fontName, mode)) {\n return buildCommon.fontMap[font].variant;\n }\n\n return null;\n};\n/**\n * Takes a list of nodes, builds them, and returns a list of the generated\n * MathML nodes. Also combine consecutive outputs into a single\n * tag.\n */\n\nconst buildMathML_buildExpression = function (expression, options, isOrdgroup) {\n if (expression.length === 1) {\n const group = buildMathML_buildGroup(expression[0], options);\n\n if (isOrdgroup && group instanceof MathNode && group.type === \"mo\") {\n // When TeX writers want to suppress spacing on an operator,\n // they often put the operator by itself inside braces.\n group.setAttribute(\"lspace\", \"0em\");\n group.setAttribute(\"rspace\", \"0em\");\n }\n\n return [group];\n }\n\n const groups = [];\n let lastGroup;\n\n for (let i = 0; i < expression.length; i++) {\n const group = buildMathML_buildGroup(expression[i], options);\n\n if (group instanceof MathNode && lastGroup instanceof MathNode) {\n // Concatenate adjacent s\n if (group.type === 'mtext' && lastGroup.type === 'mtext' && group.getAttribute('mathvariant') === lastGroup.getAttribute('mathvariant')) {\n lastGroup.children.push(...group.children);\n continue; // Concatenate adjacent s\n } else if (group.type === 'mn' && lastGroup.type === 'mn') {\n lastGroup.children.push(...group.children);\n continue; // Concatenate ... followed by .\n } else if (group.type === 'mi' && group.children.length === 1 && lastGroup.type === 'mn') {\n const child = group.children[0];\n\n if (child instanceof TextNode && child.text === '.') {\n lastGroup.children.push(...group.children);\n continue;\n }\n } else if (lastGroup.type === 'mi' && lastGroup.children.length === 1) {\n const lastChild = lastGroup.children[0];\n\n if (lastChild instanceof TextNode && lastChild.text === '\\u0338' && (group.type === 'mo' || group.type === 'mi' || group.type === 'mn')) {\n const child = group.children[0];\n\n if (child instanceof TextNode && child.text.length > 0) {\n // Overlay with combining character long solidus\n child.text = child.text.slice(0, 1) + \"\\u0338\" + child.text.slice(1);\n groups.pop();\n }\n }\n }\n }\n\n groups.push(group);\n lastGroup = group;\n }\n\n return groups;\n};\n/**\n * Equivalent to buildExpression, but wraps the elements in an \n * if there's more than one. Returns a single node instead of an array.\n */\n\nconst buildExpressionRow = function (expression, options, isOrdgroup) {\n return makeRow(buildMathML_buildExpression(expression, options, isOrdgroup));\n};\n/**\n * Takes a group from the parser and calls the appropriate groupBuilders function\n * on it to produce a MathML node.\n */\n\nconst buildMathML_buildGroup = function (group, options) {\n if (!group) {\n return new mathMLTree.MathNode(\"mrow\");\n }\n\n if (_mathmlGroupBuilders[group.type]) {\n // Call the groupBuilders function\n // $FlowFixMe\n const result = _mathmlGroupBuilders[group.type](group, options); // $FlowFixMe\n\n return result;\n } else {\n throw new src_ParseError(\"Got group of unknown type: '\" + group.type + \"'\");\n }\n};\n/**\n * Takes a full parse tree and settings and builds a MathML representation of\n * it. In particular, we put the elements from building the parse tree into a\n * tag so we can also include that TeX source as an annotation.\n *\n * Note that we actually return a domTree element with a `` inside it so\n * we can do appropriate styling.\n */\n\nfunction buildMathML(tree, texExpression, options, isDisplayMode, forMathmlOnly) {\n const expression = buildMathML_buildExpression(tree, options); // TODO: Make a pass thru the MathML similar to buildHTML.traverseNonSpaceNodes\n // and add spacing nodes. This is necessary only adjacent to math operators\n // like \\sin or \\lim or to subsup elements that contain math operators.\n // MathML takes care of the other spacing issues.\n // Wrap up the expression in an mrow so it is presented in the semantics\n // tag correctly, unless it's a single or .\n\n let wrapper;\n\n if (expression.length === 1 && expression[0] instanceof MathNode && utils.contains([\"mrow\", \"mtable\"], expression[0].type)) {\n wrapper = expression[0];\n } else {\n wrapper = new mathMLTree.MathNode(\"mrow\", expression);\n } // Build a TeX annotation of the source\n\n\n const annotation = new mathMLTree.MathNode(\"annotation\", [new mathMLTree.TextNode(texExpression)]);\n annotation.setAttribute(\"encoding\", \"application/x-tex\");\n const semantics = new mathMLTree.MathNode(\"semantics\", [wrapper, annotation]);\n const math = new mathMLTree.MathNode(\"math\", [semantics]);\n math.setAttribute(\"xmlns\", \"http://www.w3.org/1998/Math/MathML\");\n\n if (isDisplayMode) {\n math.setAttribute(\"display\", \"block\");\n } // You can't style nodes, so we wrap the node in a span.\n // NOTE: The span class is not typed to have nodes as children, and\n // we don't want to make the children type more generic since the children\n // of span are expected to have more fields in `buildHtml` contexts.\n\n\n const wrapperClass = forMathmlOnly ? \"katex\" : \"katex-mathml\"; // $FlowFixMe\n\n return buildCommon.makeSpan([wrapperClass], [math]);\n}\n;// CONCATENATED MODULE: ./src/buildTree.js\n\n\n\n\n\n\n\nconst optionsFromSettings = function (settings) {\n return new src_Options({\n style: settings.displayMode ? src_Style.DISPLAY : src_Style.TEXT,\n maxSize: settings.maxSize,\n minRuleThickness: settings.minRuleThickness\n });\n};\n\nconst displayWrap = function (node, settings) {\n if (settings.displayMode) {\n const classes = [\"katex-display\"];\n\n if (settings.leqno) {\n classes.push(\"leqno\");\n }\n\n if (settings.fleqn) {\n classes.push(\"fleqn\");\n }\n\n node = buildCommon.makeSpan(classes, [node]);\n }\n\n return node;\n};\n\nconst buildTree = function (tree, expression, settings) {\n const options = optionsFromSettings(settings);\n let katexNode;\n\n if (settings.output === \"mathml\") {\n return buildMathML(tree, expression, options, settings.displayMode, true);\n } else if (settings.output === \"html\") {\n const htmlNode = buildHTML(tree, options);\n katexNode = buildCommon.makeSpan([\"katex\"], [htmlNode]);\n } else {\n const mathMLNode = buildMathML(tree, expression, options, settings.displayMode, false);\n const htmlNode = buildHTML(tree, options);\n katexNode = buildCommon.makeSpan([\"katex\"], [mathMLNode, htmlNode]);\n }\n\n return displayWrap(katexNode, settings);\n};\nconst buildHTMLTree = function (tree, expression, settings) {\n const options = optionsFromSettings(settings);\n const htmlNode = buildHTML(tree, options);\n const katexNode = buildCommon.makeSpan([\"katex\"], [htmlNode]);\n return displayWrap(katexNode, settings);\n};\n/* harmony default export */ var src_buildTree = ((/* unused pure expression or super */ null && (buildTree)));\n;// CONCATENATED MODULE: ./src/stretchy.js\n/**\n * This file provides support to buildMathML.js and buildHTML.js\n * for stretchy wide elements rendered from SVG files\n * and other CSS trickery.\n */\n\n\n\n\n\nconst stretchyCodePoint = {\n widehat: \"^\",\n widecheck: \"ˇ\",\n widetilde: \"~\",\n utilde: \"~\",\n overleftarrow: \"\\u2190\",\n underleftarrow: \"\\u2190\",\n xleftarrow: \"\\u2190\",\n overrightarrow: \"\\u2192\",\n underrightarrow: \"\\u2192\",\n xrightarrow: \"\\u2192\",\n underbrace: \"\\u23df\",\n overbrace: \"\\u23de\",\n overgroup: \"\\u23e0\",\n undergroup: \"\\u23e1\",\n overleftrightarrow: \"\\u2194\",\n underleftrightarrow: \"\\u2194\",\n xleftrightarrow: \"\\u2194\",\n Overrightarrow: \"\\u21d2\",\n xRightarrow: \"\\u21d2\",\n overleftharpoon: \"\\u21bc\",\n xleftharpoonup: \"\\u21bc\",\n overrightharpoon: \"\\u21c0\",\n xrightharpoonup: \"\\u21c0\",\n xLeftarrow: \"\\u21d0\",\n xLeftrightarrow: \"\\u21d4\",\n xhookleftarrow: \"\\u21a9\",\n xhookrightarrow: \"\\u21aa\",\n xmapsto: \"\\u21a6\",\n xrightharpoondown: \"\\u21c1\",\n xleftharpoondown: \"\\u21bd\",\n xrightleftharpoons: \"\\u21cc\",\n xleftrightharpoons: \"\\u21cb\",\n xtwoheadleftarrow: \"\\u219e\",\n xtwoheadrightarrow: \"\\u21a0\",\n xlongequal: \"=\",\n xtofrom: \"\\u21c4\",\n xrightleftarrows: \"\\u21c4\",\n xrightequilibrium: \"\\u21cc\",\n // Not a perfect match.\n xleftequilibrium: \"\\u21cb\",\n // None better available.\n \"\\\\cdrightarrow\": \"\\u2192\",\n \"\\\\cdleftarrow\": \"\\u2190\",\n \"\\\\cdlongequal\": \"=\"\n};\n\nconst mathMLnode = function (label) {\n const node = new mathMLTree.MathNode(\"mo\", [new mathMLTree.TextNode(stretchyCodePoint[label.replace(/^\\\\/, '')])]);\n node.setAttribute(\"stretchy\", \"true\");\n return node;\n}; // Many of the KaTeX SVG images have been adapted from glyphs in KaTeX fonts.\n// Copyright (c) 2009-2010, Design Science, Inc. ()\n// Copyright (c) 2014-2017 Khan Academy ()\n// Licensed under the SIL Open Font License, Version 1.1.\n// See \\nhttp://scripts.sil.org/OFL\n// Very Long SVGs\n// Many of the KaTeX stretchy wide elements use a long SVG image and an\n// overflow: hidden tactic to achieve a stretchy image while avoiding\n// distortion of arrowheads or brace corners.\n// The SVG typically contains a very long (400 em) arrow.\n// The SVG is in a container span that has overflow: hidden, so the span\n// acts like a window that exposes only part of the SVG.\n// The SVG always has a longer, thinner aspect ratio than the container span.\n// After the SVG fills 100% of the height of the container span,\n// there is a long arrow shaft left over. That left-over shaft is not shown.\n// Instead, it is sliced off because the span's CSS has overflow: hidden.\n// Thus, the reader sees an arrow that matches the subject matter width\n// without distortion.\n// Some functions, such as \\cancel, need to vary their aspect ratio. These\n// functions do not get the overflow SVG treatment.\n// Second Brush Stroke\n// Low resolution monitors struggle to display images in fine detail.\n// So browsers apply anti-aliasing. A long straight arrow shaft therefore\n// will sometimes appear as if it has a blurred edge.\n// To mitigate this, these SVG files contain a second \"brush-stroke\" on the\n// arrow shafts. That is, a second long thin rectangular SVG path has been\n// written directly on top of each arrow shaft. This reinforcement causes\n// some of the screen pixels to display as black instead of the anti-aliased\n// gray pixel that a single path would generate. So we get arrow shafts\n// whose edges appear to be sharper.\n// In the katexImagesData object just below, the dimensions all\n// correspond to path geometry inside the relevant SVG.\n// For example, \\overrightarrow uses the same arrowhead as glyph U+2192\n// from the KaTeX Main font. The scaling factor is 1000.\n// That is, inside the font, that arrowhead is 522 units tall, which\n// corresponds to 0.522 em inside the document.\n\n\nconst katexImagesData = {\n // path(s), minWidth, height, align\n overrightarrow: [[\"rightarrow\"], 0.888, 522, \"xMaxYMin\"],\n overleftarrow: [[\"leftarrow\"], 0.888, 522, \"xMinYMin\"],\n underrightarrow: [[\"rightarrow\"], 0.888, 522, \"xMaxYMin\"],\n underleftarrow: [[\"leftarrow\"], 0.888, 522, \"xMinYMin\"],\n xrightarrow: [[\"rightarrow\"], 1.469, 522, \"xMaxYMin\"],\n \"\\\\cdrightarrow\": [[\"rightarrow\"], 3.0, 522, \"xMaxYMin\"],\n // CD minwwidth2.5pc\n xleftarrow: [[\"leftarrow\"], 1.469, 522, \"xMinYMin\"],\n \"\\\\cdleftarrow\": [[\"leftarrow\"], 3.0, 522, \"xMinYMin\"],\n Overrightarrow: [[\"doublerightarrow\"], 0.888, 560, \"xMaxYMin\"],\n xRightarrow: [[\"doublerightarrow\"], 1.526, 560, \"xMaxYMin\"],\n xLeftarrow: [[\"doubleleftarrow\"], 1.526, 560, \"xMinYMin\"],\n overleftharpoon: [[\"leftharpoon\"], 0.888, 522, \"xMinYMin\"],\n xleftharpoonup: [[\"leftharpoon\"], 0.888, 522, \"xMinYMin\"],\n xleftharpoondown: [[\"leftharpoondown\"], 0.888, 522, \"xMinYMin\"],\n overrightharpoon: [[\"rightharpoon\"], 0.888, 522, \"xMaxYMin\"],\n xrightharpoonup: [[\"rightharpoon\"], 0.888, 522, \"xMaxYMin\"],\n xrightharpoondown: [[\"rightharpoondown\"], 0.888, 522, \"xMaxYMin\"],\n xlongequal: [[\"longequal\"], 0.888, 334, \"xMinYMin\"],\n \"\\\\cdlongequal\": [[\"longequal\"], 3.0, 334, \"xMinYMin\"],\n xtwoheadleftarrow: [[\"twoheadleftarrow\"], 0.888, 334, \"xMinYMin\"],\n xtwoheadrightarrow: [[\"twoheadrightarrow\"], 0.888, 334, \"xMaxYMin\"],\n overleftrightarrow: [[\"leftarrow\", \"rightarrow\"], 0.888, 522],\n overbrace: [[\"leftbrace\", \"midbrace\", \"rightbrace\"], 1.6, 548],\n underbrace: [[\"leftbraceunder\", \"midbraceunder\", \"rightbraceunder\"], 1.6, 548],\n underleftrightarrow: [[\"leftarrow\", \"rightarrow\"], 0.888, 522],\n xleftrightarrow: [[\"leftarrow\", \"rightarrow\"], 1.75, 522],\n xLeftrightarrow: [[\"doubleleftarrow\", \"doublerightarrow\"], 1.75, 560],\n xrightleftharpoons: [[\"leftharpoondownplus\", \"rightharpoonplus\"], 1.75, 716],\n xleftrightharpoons: [[\"leftharpoonplus\", \"rightharpoondownplus\"], 1.75, 716],\n xhookleftarrow: [[\"leftarrow\", \"righthook\"], 1.08, 522],\n xhookrightarrow: [[\"lefthook\", \"rightarrow\"], 1.08, 522],\n overlinesegment: [[\"leftlinesegment\", \"rightlinesegment\"], 0.888, 522],\n underlinesegment: [[\"leftlinesegment\", \"rightlinesegment\"], 0.888, 522],\n overgroup: [[\"leftgroup\", \"rightgroup\"], 0.888, 342],\n undergroup: [[\"leftgroupunder\", \"rightgroupunder\"], 0.888, 342],\n xmapsto: [[\"leftmapsto\", \"rightarrow\"], 1.5, 522],\n xtofrom: [[\"leftToFrom\", \"rightToFrom\"], 1.75, 528],\n // The next three arrows are from the mhchem package.\n // In mhchem.sty, min-length is 2.0em. But these arrows might appear in the\n // document as \\xrightarrow or \\xrightleftharpoons. Those have\n // min-length = 1.75em, so we set min-length on these next three to match.\n xrightleftarrows: [[\"baraboveleftarrow\", \"rightarrowabovebar\"], 1.75, 901],\n xrightequilibrium: [[\"baraboveshortleftharpoon\", \"rightharpoonaboveshortbar\"], 1.75, 716],\n xleftequilibrium: [[\"shortbaraboveleftharpoon\", \"shortrightharpoonabovebar\"], 1.75, 716]\n};\n\nconst groupLength = function (arg) {\n if (arg.type === \"ordgroup\") {\n return arg.body.length;\n } else {\n return 1;\n }\n};\n\nconst svgSpan = function (group, options) {\n // Create a span with inline SVG for the element.\n function buildSvgSpan_() {\n let viewBoxWidth = 400000; // default\n\n const label = group.label.slice(1);\n\n if (utils.contains([\"widehat\", \"widecheck\", \"widetilde\", \"utilde\"], label)) {\n // Each type in the `if` statement corresponds to one of the ParseNode\n // types below. This narrowing is required to access `grp.base`.\n // $FlowFixMe\n const grp = group; // There are four SVG images available for each function.\n // Choose a taller image when there are more characters.\n\n const numChars = groupLength(grp.base);\n let viewBoxHeight;\n let pathName;\n let height;\n\n if (numChars > 5) {\n if (label === \"widehat\" || label === \"widecheck\") {\n viewBoxHeight = 420;\n viewBoxWidth = 2364;\n height = 0.42;\n pathName = label + \"4\";\n } else {\n viewBoxHeight = 312;\n viewBoxWidth = 2340;\n height = 0.34;\n pathName = \"tilde4\";\n }\n } else {\n const imgIndex = [1, 1, 2, 2, 3, 3][numChars];\n\n if (label === \"widehat\" || label === \"widecheck\") {\n viewBoxWidth = [0, 1062, 2364, 2364, 2364][imgIndex];\n viewBoxHeight = [0, 239, 300, 360, 420][imgIndex];\n height = [0, 0.24, 0.3, 0.3, 0.36, 0.42][imgIndex];\n pathName = label + imgIndex;\n } else {\n viewBoxWidth = [0, 600, 1033, 2339, 2340][imgIndex];\n viewBoxHeight = [0, 260, 286, 306, 312][imgIndex];\n height = [0, 0.26, 0.286, 0.3, 0.306, 0.34][imgIndex];\n pathName = \"tilde\" + imgIndex;\n }\n }\n\n const path = new PathNode(pathName);\n const svgNode = new SvgNode([path], {\n \"width\": \"100%\",\n \"height\": makeEm(height),\n \"viewBox\": \"0 0 \" + viewBoxWidth + \" \" + viewBoxHeight,\n \"preserveAspectRatio\": \"none\"\n });\n return {\n span: buildCommon.makeSvgSpan([], [svgNode], options),\n minWidth: 0,\n height\n };\n } else {\n const spans = [];\n const data = katexImagesData[label];\n const [paths, minWidth, viewBoxHeight] = data;\n const height = viewBoxHeight / 1000;\n const numSvgChildren = paths.length;\n let widthClasses;\n let aligns;\n\n if (numSvgChildren === 1) {\n // $FlowFixMe: All these cases must be of the 4-tuple type.\n const align1 = data[3];\n widthClasses = [\"hide-tail\"];\n aligns = [align1];\n } else if (numSvgChildren === 2) {\n widthClasses = [\"halfarrow-left\", \"halfarrow-right\"];\n aligns = [\"xMinYMin\", \"xMaxYMin\"];\n } else if (numSvgChildren === 3) {\n widthClasses = [\"brace-left\", \"brace-center\", \"brace-right\"];\n aligns = [\"xMinYMin\", \"xMidYMin\", \"xMaxYMin\"];\n } else {\n throw new Error(\"Correct katexImagesData or update code here to support\\n \" + numSvgChildren + \" children.\");\n }\n\n for (let i = 0; i < numSvgChildren; i++) {\n const path = new PathNode(paths[i]);\n const svgNode = new SvgNode([path], {\n \"width\": \"400em\",\n \"height\": makeEm(height),\n \"viewBox\": \"0 0 \" + viewBoxWidth + \" \" + viewBoxHeight,\n \"preserveAspectRatio\": aligns[i] + \" slice\"\n });\n const span = buildCommon.makeSvgSpan([widthClasses[i]], [svgNode], options);\n\n if (numSvgChildren === 1) {\n return {\n span,\n minWidth,\n height\n };\n } else {\n span.style.height = makeEm(height);\n spans.push(span);\n }\n }\n\n return {\n span: buildCommon.makeSpan([\"stretchy\"], spans, options),\n minWidth,\n height\n };\n }\n } // buildSvgSpan_()\n\n\n const {\n span,\n minWidth,\n height\n } = buildSvgSpan_(); // Note that we are returning span.depth = 0.\n // Any adjustments relative to the baseline must be done in buildHTML.\n\n span.height = height;\n span.style.height = makeEm(height);\n\n if (minWidth > 0) {\n span.style.minWidth = makeEm(minWidth);\n }\n\n return span;\n};\n\nconst encloseSpan = function (inner, label, topPad, bottomPad, options) {\n // Return an image span for \\cancel, \\bcancel, \\xcancel, \\fbox, or \\angl\n let img;\n const totalHeight = inner.height + inner.depth + topPad + bottomPad;\n\n if (/fbox|color|angl/.test(label)) {\n img = buildCommon.makeSpan([\"stretchy\", label], [], options);\n\n if (label === \"fbox\") {\n const color = options.color && options.getColor();\n\n if (color) {\n img.style.borderColor = color;\n }\n }\n } else {\n // \\cancel, \\bcancel, or \\xcancel\n // Since \\cancel's SVG is inline and it omits the viewBox attribute,\n // its stroke-width will not vary with span area.\n const lines = [];\n\n if (/^[bx]cancel$/.test(label)) {\n lines.push(new LineNode({\n \"x1\": \"0\",\n \"y1\": \"0\",\n \"x2\": \"100%\",\n \"y2\": \"100%\",\n \"stroke-width\": \"0.046em\"\n }));\n }\n\n if (/^x?cancel$/.test(label)) {\n lines.push(new LineNode({\n \"x1\": \"0\",\n \"y1\": \"100%\",\n \"x2\": \"100%\",\n \"y2\": \"0\",\n \"stroke-width\": \"0.046em\"\n }));\n }\n\n const svgNode = new SvgNode(lines, {\n \"width\": \"100%\",\n \"height\": makeEm(totalHeight)\n });\n img = buildCommon.makeSvgSpan([], [svgNode], options);\n }\n\n img.height = totalHeight;\n img.style.height = makeEm(totalHeight);\n return img;\n};\n\n/* harmony default export */ var stretchy = ({\n encloseSpan,\n mathMLnode,\n svgSpan\n});\n;// CONCATENATED MODULE: ./src/parseNode.js\n\n\n/**\n * Asserts that the node is of the given type and returns it with stricter\n * typing. Throws if the node's type does not match.\n */\nfunction assertNodeType(node, type) {\n if (!node || node.type !== type) {\n throw new Error(\"Expected node of type \" + type + \", but got \" + (node ? \"node of type \" + node.type : String(node)));\n } // $FlowFixMe, >=0.125\n\n\n return node;\n}\n/**\n * Returns the node more strictly typed iff it is of the given type. Otherwise,\n * returns null.\n */\n\nfunction assertSymbolNodeType(node) {\n const typedNode = checkSymbolNodeType(node);\n\n if (!typedNode) {\n throw new Error(\"Expected node of symbol group type, but got \" + (node ? \"node of type \" + node.type : String(node)));\n }\n\n return typedNode;\n}\n/**\n * Returns the node more strictly typed iff it is of the given type. Otherwise,\n * returns null.\n */\n\nfunction checkSymbolNodeType(node) {\n if (node && (node.type === \"atom\" || NON_ATOMS.hasOwnProperty(node.type))) {\n // $FlowFixMe\n return node;\n }\n\n return null;\n}\n;// CONCATENATED MODULE: ./src/functions/accent.js\n\n\n\n\n\n\n\n\n\n\n// NOTE: Unlike most `htmlBuilder`s, this one handles not only \"accent\", but\n// also \"supsub\" since an accent can affect super/subscripting.\nconst htmlBuilder = (grp, options) => {\n // Accents are handled in the TeXbook pg. 443, rule 12.\n let base;\n let group;\n let supSubGroup;\n\n if (grp && grp.type === \"supsub\") {\n // If our base is a character box, and we have superscripts and\n // subscripts, the supsub will defer to us. In particular, we want\n // to attach the superscripts and subscripts to the inner body (so\n // that the position of the superscripts and subscripts won't be\n // affected by the height of the accent). We accomplish this by\n // sticking the base of the accent into the base of the supsub, and\n // rendering that, while keeping track of where the accent is.\n // The real accent group is the base of the supsub group\n group = assertNodeType(grp.base, \"accent\"); // The character box is the base of the accent group\n\n base = group.base; // Stick the character box into the base of the supsub group\n\n grp.base = base; // Rerender the supsub group with its new base, and store that\n // result.\n\n supSubGroup = assertSpan(buildGroup(grp, options)); // reset original base\n\n grp.base = group;\n } else {\n group = assertNodeType(grp, \"accent\");\n base = group.base;\n } // Build the base group\n\n\n const body = buildGroup(base, options.havingCrampedStyle()); // Does the accent need to shift for the skew of a character?\n\n const mustShift = group.isShifty && utils.isCharacterBox(base); // Calculate the skew of the accent. This is based on the line \"If the\n // nucleus is not a single character, let s = 0; otherwise set s to the\n // kern amount for the nucleus followed by the \\skewchar of its font.\"\n // Note that our skew metrics are just the kern between each character\n // and the skewchar.\n\n let skew = 0;\n\n if (mustShift) {\n // If the base is a character box, then we want the skew of the\n // innermost character. To do that, we find the innermost character:\n const baseChar = utils.getBaseElem(base); // Then, we render its group to get the symbol inside it\n\n const baseGroup = buildGroup(baseChar, options.havingCrampedStyle()); // Finally, we pull the skew off of the symbol.\n\n skew = assertSymbolDomNode(baseGroup).skew; // Note that we now throw away baseGroup, because the layers we\n // removed with getBaseElem might contain things like \\color which\n // we can't get rid of.\n // TODO(emily): Find a better way to get the skew\n }\n\n const accentBelow = group.label === \"\\\\c\"; // calculate the amount of space between the body and the accent\n\n let clearance = accentBelow ? body.height + body.depth : Math.min(body.height, options.fontMetrics().xHeight); // Build the accent\n\n let accentBody;\n\n if (!group.isStretchy) {\n let accent;\n let width;\n\n if (group.label === \"\\\\vec\") {\n // Before version 0.9, \\vec used the combining font glyph U+20D7.\n // But browsers, especially Safari, are not consistent in how they\n // render combining characters when not preceded by a character.\n // So now we use an SVG.\n // If Safari reforms, we should consider reverting to the glyph.\n accent = buildCommon.staticSvg(\"vec\", options);\n width = buildCommon.svgData.vec[1];\n } else {\n accent = buildCommon.makeOrd({\n mode: group.mode,\n text: group.label\n }, options, \"textord\");\n accent = assertSymbolDomNode(accent); // Remove the italic correction of the accent, because it only serves to\n // shift the accent over to a place we don't want.\n\n accent.italic = 0;\n width = accent.width;\n\n if (accentBelow) {\n clearance += accent.depth;\n }\n }\n\n accentBody = buildCommon.makeSpan([\"accent-body\"], [accent]); // \"Full\" accents expand the width of the resulting symbol to be\n // at least the width of the accent, and overlap directly onto the\n // character without any vertical offset.\n\n const accentFull = group.label === \"\\\\textcircled\";\n\n if (accentFull) {\n accentBody.classes.push('accent-full');\n clearance = body.height;\n } // Shift the accent over by the skew.\n\n\n let left = skew; // CSS defines `.katex .accent .accent-body:not(.accent-full) { width: 0 }`\n // so that the accent doesn't contribute to the bounding box.\n // We need to shift the character by its width (effectively half\n // its width) to compensate.\n\n if (!accentFull) {\n left -= width / 2;\n }\n\n accentBody.style.left = makeEm(left); // \\textcircled uses the \\bigcirc glyph, so it needs some\n // vertical adjustment to match LaTeX.\n\n if (group.label === \"\\\\textcircled\") {\n accentBody.style.top = \".2em\";\n }\n\n accentBody = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: body\n }, {\n type: \"kern\",\n size: -clearance\n }, {\n type: \"elem\",\n elem: accentBody\n }]\n }, options);\n } else {\n accentBody = stretchy.svgSpan(group, options);\n accentBody = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: body\n }, {\n type: \"elem\",\n elem: accentBody,\n wrapperClasses: [\"svg-align\"],\n wrapperStyle: skew > 0 ? {\n width: \"calc(100% - \" + makeEm(2 * skew) + \")\",\n marginLeft: makeEm(2 * skew)\n } : undefined\n }]\n }, options);\n }\n\n const accentWrap = buildCommon.makeSpan([\"mord\", \"accent\"], [accentBody], options);\n\n if (supSubGroup) {\n // Here, we replace the \"base\" child of the supsub with our newly\n // generated accent.\n supSubGroup.children[0] = accentWrap; // Since we don't rerun the height calculation after replacing the\n // accent, we manually recalculate height.\n\n supSubGroup.height = Math.max(accentWrap.height, supSubGroup.height); // Accents should always be ords, even when their innards are not.\n\n supSubGroup.classes[0] = \"mord\";\n return supSubGroup;\n } else {\n return accentWrap;\n }\n};\n\nconst mathmlBuilder = (group, options) => {\n const accentNode = group.isStretchy ? stretchy.mathMLnode(group.label) : new mathMLTree.MathNode(\"mo\", [makeText(group.label, group.mode)]);\n const node = new mathMLTree.MathNode(\"mover\", [buildMathML_buildGroup(group.base, options), accentNode]);\n node.setAttribute(\"accent\", \"true\");\n return node;\n};\n\nconst NON_STRETCHY_ACCENT_REGEX = new RegExp([\"\\\\acute\", \"\\\\grave\", \"\\\\ddot\", \"\\\\tilde\", \"\\\\bar\", \"\\\\breve\", \"\\\\check\", \"\\\\hat\", \"\\\\vec\", \"\\\\dot\", \"\\\\mathring\"].map(accent => \"\\\\\" + accent).join(\"|\")); // Accents\n\ndefineFunction({\n type: \"accent\",\n names: [\"\\\\acute\", \"\\\\grave\", \"\\\\ddot\", \"\\\\tilde\", \"\\\\bar\", \"\\\\breve\", \"\\\\check\", \"\\\\hat\", \"\\\\vec\", \"\\\\dot\", \"\\\\mathring\", \"\\\\widecheck\", \"\\\\widehat\", \"\\\\widetilde\", \"\\\\overrightarrow\", \"\\\\overleftarrow\", \"\\\\Overrightarrow\", \"\\\\overleftrightarrow\", \"\\\\overgroup\", \"\\\\overlinesegment\", \"\\\\overleftharpoon\", \"\\\\overrightharpoon\"],\n props: {\n numArgs: 1\n },\n handler: (context, args) => {\n const base = normalizeArgument(args[0]);\n const isStretchy = !NON_STRETCHY_ACCENT_REGEX.test(context.funcName);\n const isShifty = !isStretchy || context.funcName === \"\\\\widehat\" || context.funcName === \"\\\\widetilde\" || context.funcName === \"\\\\widecheck\";\n return {\n type: \"accent\",\n mode: context.parser.mode,\n label: context.funcName,\n isStretchy: isStretchy,\n isShifty: isShifty,\n base: base\n };\n },\n htmlBuilder,\n mathmlBuilder\n}); // Text-mode accents\n\ndefineFunction({\n type: \"accent\",\n names: [\"\\\\'\", \"\\\\`\", \"\\\\^\", \"\\\\~\", \"\\\\=\", \"\\\\u\", \"\\\\.\", '\\\\\"', \"\\\\c\", \"\\\\r\", \"\\\\H\", \"\\\\v\", \"\\\\textcircled\"],\n props: {\n numArgs: 1,\n allowedInText: true,\n allowedInMath: true,\n // unless in strict mode\n argTypes: [\"primitive\"]\n },\n handler: (context, args) => {\n const base = args[0];\n let mode = context.parser.mode;\n\n if (mode === \"math\") {\n context.parser.settings.reportNonstrict(\"mathVsTextAccents\", \"LaTeX's accent \" + context.funcName + \" works only in text mode\");\n mode = \"text\";\n }\n\n return {\n type: \"accent\",\n mode: mode,\n label: context.funcName,\n isStretchy: false,\n isShifty: true,\n base: base\n };\n },\n htmlBuilder,\n mathmlBuilder\n});\n;// CONCATENATED MODULE: ./src/functions/accentunder.js\n// Horizontal overlap functions\n\n\n\n\n\n\ndefineFunction({\n type: \"accentUnder\",\n names: [\"\\\\underleftarrow\", \"\\\\underrightarrow\", \"\\\\underleftrightarrow\", \"\\\\undergroup\", \"\\\\underlinesegment\", \"\\\\utilde\"],\n props: {\n numArgs: 1\n },\n handler: (_ref, args) => {\n let {\n parser,\n funcName\n } = _ref;\n const base = args[0];\n return {\n type: \"accentUnder\",\n mode: parser.mode,\n label: funcName,\n base: base\n };\n },\n htmlBuilder: (group, options) => {\n // Treat under accents much like underlines.\n const innerGroup = buildGroup(group.base, options);\n const accentBody = stretchy.svgSpan(group, options);\n const kern = group.label === \"\\\\utilde\" ? 0.12 : 0; // Generate the vlist, with the appropriate kerns\n\n const vlist = buildCommon.makeVList({\n positionType: \"top\",\n positionData: innerGroup.height,\n children: [{\n type: \"elem\",\n elem: accentBody,\n wrapperClasses: [\"svg-align\"]\n }, {\n type: \"kern\",\n size: kern\n }, {\n type: \"elem\",\n elem: innerGroup\n }]\n }, options);\n return buildCommon.makeSpan([\"mord\", \"accentunder\"], [vlist], options);\n },\n mathmlBuilder: (group, options) => {\n const accentNode = stretchy.mathMLnode(group.label);\n const node = new mathMLTree.MathNode(\"munder\", [buildMathML_buildGroup(group.base, options), accentNode]);\n node.setAttribute(\"accentunder\", \"true\");\n return node;\n }\n});\n;// CONCATENATED MODULE: ./src/functions/arrow.js\n\n\n\n\n\n\n\n// Helper function\nconst paddedNode = group => {\n const node = new mathMLTree.MathNode(\"mpadded\", group ? [group] : []);\n node.setAttribute(\"width\", \"+0.6em\");\n node.setAttribute(\"lspace\", \"0.3em\");\n return node;\n}; // Stretchy arrows with an optional argument\n\n\ndefineFunction({\n type: \"xArrow\",\n names: [\"\\\\xleftarrow\", \"\\\\xrightarrow\", \"\\\\xLeftarrow\", \"\\\\xRightarrow\", \"\\\\xleftrightarrow\", \"\\\\xLeftrightarrow\", \"\\\\xhookleftarrow\", \"\\\\xhookrightarrow\", \"\\\\xmapsto\", \"\\\\xrightharpoondown\", \"\\\\xrightharpoonup\", \"\\\\xleftharpoondown\", \"\\\\xleftharpoonup\", \"\\\\xrightleftharpoons\", \"\\\\xleftrightharpoons\", \"\\\\xlongequal\", \"\\\\xtwoheadrightarrow\", \"\\\\xtwoheadleftarrow\", \"\\\\xtofrom\", // The next 3 functions are here to support the mhchem extension.\n // Direct use of these functions is discouraged and may break someday.\n \"\\\\xrightleftarrows\", \"\\\\xrightequilibrium\", \"\\\\xleftequilibrium\", // The next 3 functions are here only to support the {CD} environment.\n \"\\\\\\\\cdrightarrow\", \"\\\\\\\\cdleftarrow\", \"\\\\\\\\cdlongequal\"],\n props: {\n numArgs: 1,\n numOptionalArgs: 1\n },\n\n handler(_ref, args, optArgs) {\n let {\n parser,\n funcName\n } = _ref;\n return {\n type: \"xArrow\",\n mode: parser.mode,\n label: funcName,\n body: args[0],\n below: optArgs[0]\n };\n },\n\n // Flow is unable to correctly infer the type of `group`, even though it's\n // unambiguously determined from the passed-in `type` above.\n htmlBuilder(group, options) {\n const style = options.style; // Build the argument groups in the appropriate style.\n // Ref: amsmath.dtx: \\hbox{$\\scriptstyle\\mkern#3mu{#6}\\mkern#4mu$}%\n // Some groups can return document fragments. Handle those by wrapping\n // them in a span.\n\n let newOptions = options.havingStyle(style.sup());\n const upperGroup = buildCommon.wrapFragment(buildGroup(group.body, newOptions, options), options);\n const arrowPrefix = group.label.slice(0, 2) === \"\\\\x\" ? \"x\" : \"cd\";\n upperGroup.classes.push(arrowPrefix + \"-arrow-pad\");\n let lowerGroup;\n\n if (group.below) {\n // Build the lower group\n newOptions = options.havingStyle(style.sub());\n lowerGroup = buildCommon.wrapFragment(buildGroup(group.below, newOptions, options), options);\n lowerGroup.classes.push(arrowPrefix + \"-arrow-pad\");\n }\n\n const arrowBody = stretchy.svgSpan(group, options); // Re shift: Note that stretchy.svgSpan returned arrowBody.depth = 0.\n // The point we want on the math axis is at 0.5 * arrowBody.height.\n\n const arrowShift = -options.fontMetrics().axisHeight + 0.5 * arrowBody.height; // 2 mu kern. Ref: amsmath.dtx: #7\\if0#2\\else\\mkern#2mu\\fi\n\n let upperShift = -options.fontMetrics().axisHeight - 0.5 * arrowBody.height - 0.111; // 0.111 em = 2 mu\n\n if (upperGroup.depth > 0.25 || group.label === \"\\\\xleftequilibrium\") {\n upperShift -= upperGroup.depth; // shift up if depth encroaches\n } // Generate the vlist\n\n\n let vlist;\n\n if (lowerGroup) {\n const lowerShift = -options.fontMetrics().axisHeight + lowerGroup.height + 0.5 * arrowBody.height + 0.111;\n vlist = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [{\n type: \"elem\",\n elem: upperGroup,\n shift: upperShift\n }, {\n type: \"elem\",\n elem: arrowBody,\n shift: arrowShift\n }, {\n type: \"elem\",\n elem: lowerGroup,\n shift: lowerShift\n }]\n }, options);\n } else {\n vlist = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [{\n type: \"elem\",\n elem: upperGroup,\n shift: upperShift\n }, {\n type: \"elem\",\n elem: arrowBody,\n shift: arrowShift\n }]\n }, options);\n } // $FlowFixMe: Replace this with passing \"svg-align\" into makeVList.\n\n\n vlist.children[0].children[0].children[1].classes.push(\"svg-align\");\n return buildCommon.makeSpan([\"mrel\", \"x-arrow\"], [vlist], options);\n },\n\n mathmlBuilder(group, options) {\n const arrowNode = stretchy.mathMLnode(group.label);\n arrowNode.setAttribute(\"minsize\", group.label.charAt(0) === \"x\" ? \"1.75em\" : \"3.0em\");\n let node;\n\n if (group.body) {\n const upperNode = paddedNode(buildMathML_buildGroup(group.body, options));\n\n if (group.below) {\n const lowerNode = paddedNode(buildMathML_buildGroup(group.below, options));\n node = new mathMLTree.MathNode(\"munderover\", [arrowNode, lowerNode, upperNode]);\n } else {\n node = new mathMLTree.MathNode(\"mover\", [arrowNode, upperNode]);\n }\n } else if (group.below) {\n const lowerNode = paddedNode(buildMathML_buildGroup(group.below, options));\n node = new mathMLTree.MathNode(\"munder\", [arrowNode, lowerNode]);\n } else {\n // This should never happen.\n // Parser.js throws an error if there is no argument.\n node = paddedNode();\n node = new mathMLTree.MathNode(\"mover\", [arrowNode, node]);\n }\n\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/mclass.js\n\n\n\n\n\n\nconst mclass_makeSpan = buildCommon.makeSpan;\n\nfunction mclass_htmlBuilder(group, options) {\n const elements = buildExpression(group.body, options, true);\n return mclass_makeSpan([group.mclass], elements, options);\n}\n\nfunction mclass_mathmlBuilder(group, options) {\n let node;\n const inner = buildMathML_buildExpression(group.body, options);\n\n if (group.mclass === \"minner\") {\n node = new mathMLTree.MathNode(\"mpadded\", inner);\n } else if (group.mclass === \"mord\") {\n if (group.isCharacterBox) {\n node = inner[0];\n node.type = \"mi\";\n } else {\n node = new mathMLTree.MathNode(\"mi\", inner);\n }\n } else {\n if (group.isCharacterBox) {\n node = inner[0];\n node.type = \"mo\";\n } else {\n node = new mathMLTree.MathNode(\"mo\", inner);\n } // Set spacing based on what is the most likely adjacent atom type.\n // See TeXbook p170.\n\n\n if (group.mclass === \"mbin\") {\n node.attributes.lspace = \"0.22em\"; // medium space\n\n node.attributes.rspace = \"0.22em\";\n } else if (group.mclass === \"mpunct\") {\n node.attributes.lspace = \"0em\";\n node.attributes.rspace = \"0.17em\"; // thinspace\n } else if (group.mclass === \"mopen\" || group.mclass === \"mclose\") {\n node.attributes.lspace = \"0em\";\n node.attributes.rspace = \"0em\";\n } else if (group.mclass === \"minner\") {\n node.attributes.lspace = \"0.0556em\"; // 1 mu is the most likely option\n\n node.attributes.width = \"+0.1111em\";\n } // MathML default space is 5/18 em, so needs no action.\n // Ref: https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mo\n\n }\n\n return node;\n} // Math class commands except \\mathop\n\n\ndefineFunction({\n type: \"mclass\",\n names: [\"\\\\mathord\", \"\\\\mathbin\", \"\\\\mathrel\", \"\\\\mathopen\", \"\\\\mathclose\", \"\\\\mathpunct\", \"\\\\mathinner\"],\n props: {\n numArgs: 1,\n primitive: true\n },\n\n handler(_ref, args) {\n let {\n parser,\n funcName\n } = _ref;\n const body = args[0];\n return {\n type: \"mclass\",\n mode: parser.mode,\n mclass: \"m\" + funcName.slice(5),\n // TODO(kevinb): don't prefix with 'm'\n body: ordargument(body),\n isCharacterBox: utils.isCharacterBox(body)\n };\n },\n\n htmlBuilder: mclass_htmlBuilder,\n mathmlBuilder: mclass_mathmlBuilder\n});\nconst binrelClass = arg => {\n // \\binrel@ spacing varies with (bin|rel|ord) of the atom in the argument.\n // (by rendering separately and with {}s before and after, and measuring\n // the change in spacing). We'll do roughly the same by detecting the\n // atom type directly.\n const atom = arg.type === \"ordgroup\" && arg.body.length ? arg.body[0] : arg;\n\n if (atom.type === \"atom\" && (atom.family === \"bin\" || atom.family === \"rel\")) {\n return \"m\" + atom.family;\n } else {\n return \"mord\";\n }\n}; // \\@binrel{x}{y} renders like y but as mbin/mrel/mord if x is mbin/mrel/mord.\n// This is equivalent to \\binrel@{x}\\binrel@@{y} in AMSTeX.\n\ndefineFunction({\n type: \"mclass\",\n names: [\"\\\\@binrel\"],\n props: {\n numArgs: 2\n },\n\n handler(_ref2, args) {\n let {\n parser\n } = _ref2;\n return {\n type: \"mclass\",\n mode: parser.mode,\n mclass: binrelClass(args[0]),\n body: ordargument(args[1]),\n isCharacterBox: utils.isCharacterBox(args[1])\n };\n }\n\n}); // Build a relation or stacked op by placing one symbol on top of another\n\ndefineFunction({\n type: \"mclass\",\n names: [\"\\\\stackrel\", \"\\\\overset\", \"\\\\underset\"],\n props: {\n numArgs: 2\n },\n\n handler(_ref3, args) {\n let {\n parser,\n funcName\n } = _ref3;\n const baseArg = args[1];\n const shiftedArg = args[0];\n let mclass;\n\n if (funcName !== \"\\\\stackrel\") {\n // LaTeX applies \\binrel spacing to \\overset and \\underset.\n mclass = binrelClass(baseArg);\n } else {\n mclass = \"mrel\"; // for \\stackrel\n }\n\n const baseOp = {\n type: \"op\",\n mode: baseArg.mode,\n limits: true,\n alwaysHandleSupSub: true,\n parentIsSupSub: false,\n symbol: false,\n suppressBaseShift: funcName !== \"\\\\stackrel\",\n body: ordargument(baseArg)\n };\n const supsub = {\n type: \"supsub\",\n mode: shiftedArg.mode,\n base: baseOp,\n sup: funcName === \"\\\\underset\" ? null : shiftedArg,\n sub: funcName === \"\\\\underset\" ? shiftedArg : null\n };\n return {\n type: \"mclass\",\n mode: parser.mode,\n mclass,\n body: [supsub],\n isCharacterBox: utils.isCharacterBox(supsub)\n };\n },\n\n htmlBuilder: mclass_htmlBuilder,\n mathmlBuilder: mclass_mathmlBuilder\n});\n;// CONCATENATED MODULE: ./src/functions/pmb.js\n\n\n\n\n\n\n// \\pmb is a simulation of bold font.\n// The version of \\pmb in ambsy.sty works by typesetting three copies\n// with small offsets. We use CSS text-shadow.\n// It's a hack. Not as good as a real bold font. Better than nothing.\ndefineFunction({\n type: \"pmb\",\n names: [\"\\\\pmb\"],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n return {\n type: \"pmb\",\n mode: parser.mode,\n mclass: binrelClass(args[0]),\n body: ordargument(args[0])\n };\n },\n\n htmlBuilder(group, options) {\n const elements = buildExpression(group.body, options, true);\n const node = buildCommon.makeSpan([group.mclass], elements, options);\n node.style.textShadow = \"0.02em 0.01em 0.04px\";\n return node;\n },\n\n mathmlBuilder(group, style) {\n const inner = buildMathML_buildExpression(group.body, style); // Wrap with an element.\n\n const node = new mathMLTree.MathNode(\"mstyle\", inner);\n node.setAttribute(\"style\", \"text-shadow: 0.02em 0.01em 0.04px\");\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/environments/cd.js\n\n\n\n\n\n\n\n\nconst cdArrowFunctionName = {\n \">\": \"\\\\\\\\cdrightarrow\",\n \"<\": \"\\\\\\\\cdleftarrow\",\n \"=\": \"\\\\\\\\cdlongequal\",\n \"A\": \"\\\\uparrow\",\n \"V\": \"\\\\downarrow\",\n \"|\": \"\\\\Vert\",\n \".\": \"no arrow\"\n};\n\nconst newCell = () => {\n // Create an empty cell, to be filled below with parse nodes.\n // The parseTree from this module must be constructed like the\n // one created by parseArray(), so an empty CD cell must\n // be a ParseNode<\"styling\">. And CD is always displaystyle.\n // So these values are fixed and flow can do implicit typing.\n return {\n type: \"styling\",\n body: [],\n mode: \"math\",\n style: \"display\"\n };\n};\n\nconst isStartOfArrow = node => {\n return node.type === \"textord\" && node.text === \"@\";\n};\n\nconst isLabelEnd = (node, endChar) => {\n return (node.type === \"mathord\" || node.type === \"atom\") && node.text === endChar;\n};\n\nfunction cdArrow(arrowChar, labels, parser) {\n // Return a parse tree of an arrow and its labels.\n // This acts in a way similar to a macro expansion.\n const funcName = cdArrowFunctionName[arrowChar];\n\n switch (funcName) {\n case \"\\\\\\\\cdrightarrow\":\n case \"\\\\\\\\cdleftarrow\":\n return parser.callFunction(funcName, [labels[0]], [labels[1]]);\n\n case \"\\\\uparrow\":\n case \"\\\\downarrow\":\n {\n const leftLabel = parser.callFunction(\"\\\\\\\\cdleft\", [labels[0]], []);\n const bareArrow = {\n type: \"atom\",\n text: funcName,\n mode: \"math\",\n family: \"rel\"\n };\n const sizedArrow = parser.callFunction(\"\\\\Big\", [bareArrow], []);\n const rightLabel = parser.callFunction(\"\\\\\\\\cdright\", [labels[1]], []);\n const arrowGroup = {\n type: \"ordgroup\",\n mode: \"math\",\n body: [leftLabel, sizedArrow, rightLabel]\n };\n return parser.callFunction(\"\\\\\\\\cdparent\", [arrowGroup], []);\n }\n\n case \"\\\\\\\\cdlongequal\":\n return parser.callFunction(\"\\\\\\\\cdlongequal\", [], []);\n\n case \"\\\\Vert\":\n {\n const arrow = {\n type: \"textord\",\n text: \"\\\\Vert\",\n mode: \"math\"\n };\n return parser.callFunction(\"\\\\Big\", [arrow], []);\n }\n\n default:\n return {\n type: \"textord\",\n text: \" \",\n mode: \"math\"\n };\n }\n}\n\nfunction parseCD(parser) {\n // Get the array's parse nodes with \\\\ temporarily mapped to \\cr.\n const parsedRows = [];\n parser.gullet.beginGroup();\n parser.gullet.macros.set(\"\\\\cr\", \"\\\\\\\\\\\\relax\");\n parser.gullet.beginGroup();\n\n while (true) {\n // eslint-disable-line no-constant-condition\n // Get the parse nodes for the next row.\n parsedRows.push(parser.parseExpression(false, \"\\\\\\\\\"));\n parser.gullet.endGroup();\n parser.gullet.beginGroup();\n const next = parser.fetch().text;\n\n if (next === \"&\" || next === \"\\\\\\\\\") {\n parser.consume();\n } else if (next === \"\\\\end\") {\n if (parsedRows[parsedRows.length - 1].length === 0) {\n parsedRows.pop(); // final row ended in \\\\\n }\n\n break;\n } else {\n throw new src_ParseError(\"Expected \\\\\\\\ or \\\\cr or \\\\end\", parser.nextToken);\n }\n }\n\n let row = [];\n const body = [row]; // Loop thru the parse nodes. Collect them into cells and arrows.\n\n for (let i = 0; i < parsedRows.length; i++) {\n // Start a new row.\n const rowNodes = parsedRows[i]; // Create the first cell.\n\n let cell = newCell();\n\n for (let j = 0; j < rowNodes.length; j++) {\n if (!isStartOfArrow(rowNodes[j])) {\n // If a parseNode is not an arrow, it goes into a cell.\n cell.body.push(rowNodes[j]);\n } else {\n // Parse node j is an \"@\", the start of an arrow.\n // Before starting on the arrow, push the cell into `row`.\n row.push(cell); // Now collect parseNodes into an arrow.\n // The character after \"@\" defines the arrow type.\n\n j += 1;\n const arrowChar = assertSymbolNodeType(rowNodes[j]).text; // Create two empty label nodes. We may or may not use them.\n\n const labels = new Array(2);\n labels[0] = {\n type: \"ordgroup\",\n mode: \"math\",\n body: []\n };\n labels[1] = {\n type: \"ordgroup\",\n mode: \"math\",\n body: []\n }; // Process the arrow.\n\n if (\"=|.\".indexOf(arrowChar) > -1) {// Three \"arrows\", ``@=`, `@|`, and `@.`, do not take labels.\n // Do nothing here.\n } else if (\"<>AV\".indexOf(arrowChar) > -1) {\n // Four arrows, `@>>>`, `@<<<`, `@AAA`, and `@VVV`, each take\n // two optional labels. E.g. the right-point arrow syntax is\n // really: @>{optional label}>{optional label}>\n // Collect parseNodes into labels.\n for (let labelNum = 0; labelNum < 2; labelNum++) {\n let inLabel = true;\n\n for (let k = j + 1; k < rowNodes.length; k++) {\n if (isLabelEnd(rowNodes[k], arrowChar)) {\n inLabel = false;\n j = k;\n break;\n }\n\n if (isStartOfArrow(rowNodes[k])) {\n throw new src_ParseError(\"Missing a \" + arrowChar + \" character to complete a CD arrow.\", rowNodes[k]);\n }\n\n labels[labelNum].body.push(rowNodes[k]);\n }\n\n if (inLabel) {\n // isLabelEnd never returned a true.\n throw new src_ParseError(\"Missing a \" + arrowChar + \" character to complete a CD arrow.\", rowNodes[j]);\n }\n }\n } else {\n throw new src_ParseError(\"Expected one of \\\"<>AV=|.\\\" after @\", rowNodes[j]);\n } // Now join the arrow to its labels.\n\n\n const arrow = cdArrow(arrowChar, labels, parser); // Wrap the arrow in ParseNode<\"styling\">.\n // This is done to match parseArray() behavior.\n\n const wrappedArrow = {\n type: \"styling\",\n body: [arrow],\n mode: \"math\",\n style: \"display\" // CD is always displaystyle.\n\n };\n row.push(wrappedArrow); // In CD's syntax, cells are implicit. That is, everything that\n // is not an arrow gets collected into a cell. So create an empty\n // cell now. It will collect upcoming parseNodes.\n\n cell = newCell();\n }\n }\n\n if (i % 2 === 0) {\n // Even-numbered rows consist of: cell, arrow, cell, arrow, ... cell\n // The last cell is not yet pushed into `row`, so:\n row.push(cell);\n } else {\n // Odd-numbered rows consist of: vert arrow, empty cell, ... vert arrow\n // Remove the empty cell that was placed at the beginning of `row`.\n row.shift();\n }\n\n row = [];\n body.push(row);\n } // End row group\n\n\n parser.gullet.endGroup(); // End array group defining \\\\\n\n parser.gullet.endGroup(); // define column separation.\n\n const cols = new Array(body[0].length).fill({\n type: \"align\",\n align: \"c\",\n pregap: 0.25,\n // CD package sets \\enskip between columns.\n postgap: 0.25 // So pre and post each get half an \\enskip, i.e. 0.25em.\n\n });\n return {\n type: \"array\",\n mode: \"math\",\n body,\n arraystretch: 1,\n addJot: true,\n rowGaps: [null],\n cols,\n colSeparationType: \"CD\",\n hLinesBeforeRow: new Array(body.length + 1).fill([])\n };\n} // The functions below are not available for general use.\n// They are here only for internal use by the {CD} environment in placing labels\n// next to vertical arrows.\n// We don't need any such functions for horizontal arrows because we can reuse\n// the functionality that already exists for extensible arrows.\n\ndefineFunction({\n type: \"cdlabel\",\n names: [\"\\\\\\\\cdleft\", \"\\\\\\\\cdright\"],\n props: {\n numArgs: 1\n },\n\n handler(_ref, args) {\n let {\n parser,\n funcName\n } = _ref;\n return {\n type: \"cdlabel\",\n mode: parser.mode,\n side: funcName.slice(4),\n label: args[0]\n };\n },\n\n htmlBuilder(group, options) {\n const newOptions = options.havingStyle(options.style.sup());\n const label = buildCommon.wrapFragment(buildGroup(group.label, newOptions, options), options);\n label.classes.push(\"cd-label-\" + group.side);\n label.style.bottom = makeEm(0.8 - label.depth); // Zero out label height & depth, so vertical align of arrow is set\n // by the arrow height, not by the label.\n\n label.height = 0;\n label.depth = 0;\n return label;\n },\n\n mathmlBuilder(group, options) {\n let label = new mathMLTree.MathNode(\"mrow\", [buildMathML_buildGroup(group.label, options)]);\n label = new mathMLTree.MathNode(\"mpadded\", [label]);\n label.setAttribute(\"width\", \"0\");\n\n if (group.side === \"left\") {\n label.setAttribute(\"lspace\", \"-1width\");\n } // We have to guess at vertical alignment. We know the arrow is 1.8em tall,\n // But we don't know the height or depth of the label.\n\n\n label.setAttribute(\"voffset\", \"0.7em\");\n label = new mathMLTree.MathNode(\"mstyle\", [label]);\n label.setAttribute(\"displaystyle\", \"false\");\n label.setAttribute(\"scriptlevel\", \"1\");\n return label;\n }\n\n});\ndefineFunction({\n type: \"cdlabelparent\",\n names: [\"\\\\\\\\cdparent\"],\n props: {\n numArgs: 1\n },\n\n handler(_ref2, args) {\n let {\n parser\n } = _ref2;\n return {\n type: \"cdlabelparent\",\n mode: parser.mode,\n fragment: args[0]\n };\n },\n\n htmlBuilder(group, options) {\n // Wrap the vertical arrow and its labels.\n // The parent gets position: relative. The child gets position: absolute.\n // So CSS can locate the label correctly.\n const parent = buildCommon.wrapFragment(buildGroup(group.fragment, options), options);\n parent.classes.push(\"cd-vert-arrow\");\n return parent;\n },\n\n mathmlBuilder(group, options) {\n return new mathMLTree.MathNode(\"mrow\", [buildMathML_buildGroup(group.fragment, options)]);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/char.js\n\n\n // \\@char is an internal function that takes a grouped decimal argument like\n// {123} and converts into symbol with code 123. It is used by the *macro*\n// \\char defined in macros.js.\n\ndefineFunction({\n type: \"textord\",\n names: [\"\\\\@char\"],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n const arg = assertNodeType(args[0], \"ordgroup\");\n const group = arg.body;\n let number = \"\";\n\n for (let i = 0; i < group.length; i++) {\n const node = assertNodeType(group[i], \"textord\");\n number += node.text;\n }\n\n let code = parseInt(number);\n let text;\n\n if (isNaN(code)) {\n throw new src_ParseError(\"\\\\@char has non-numeric argument \" + number); // If we drop IE support, the following code could be replaced with\n // text = String.fromCodePoint(code)\n } else if (code < 0 || code >= 0x10ffff) {\n throw new src_ParseError(\"\\\\@char with invalid code point \" + number);\n } else if (code <= 0xffff) {\n text = String.fromCharCode(code);\n } else {\n // Astral code point; split into surrogate halves\n code -= 0x10000;\n text = String.fromCharCode((code >> 10) + 0xd800, (code & 0x3ff) + 0xdc00);\n }\n\n return {\n type: \"textord\",\n mode: parser.mode,\n text: text\n };\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/color.js\n\n\n\n\n\n\n\nconst color_htmlBuilder = (group, options) => {\n const elements = buildExpression(group.body, options.withColor(group.color), false); // \\color isn't supposed to affect the type of the elements it contains.\n // To accomplish this, we wrap the results in a fragment, so the inner\n // elements will be able to directly interact with their neighbors. For\n // example, `\\color{red}{2 +} 3` has the same spacing as `2 + 3`\n\n return buildCommon.makeFragment(elements);\n};\n\nconst color_mathmlBuilder = (group, options) => {\n const inner = buildMathML_buildExpression(group.body, options.withColor(group.color));\n const node = new mathMLTree.MathNode(\"mstyle\", inner);\n node.setAttribute(\"mathcolor\", group.color);\n return node;\n};\n\ndefineFunction({\n type: \"color\",\n names: [\"\\\\textcolor\"],\n props: {\n numArgs: 2,\n allowedInText: true,\n argTypes: [\"color\", \"original\"]\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n const color = assertNodeType(args[0], \"color-token\").color;\n const body = args[1];\n return {\n type: \"color\",\n mode: parser.mode,\n color,\n body: ordargument(body)\n };\n },\n\n htmlBuilder: color_htmlBuilder,\n mathmlBuilder: color_mathmlBuilder\n});\ndefineFunction({\n type: \"color\",\n names: [\"\\\\color\"],\n props: {\n numArgs: 1,\n allowedInText: true,\n argTypes: [\"color\"]\n },\n\n handler(_ref2, args) {\n let {\n parser,\n breakOnTokenText\n } = _ref2;\n const color = assertNodeType(args[0], \"color-token\").color; // Set macro \\current@color in current namespace to store the current\n // color, mimicking the behavior of color.sty.\n // This is currently used just to correctly color a \\right\n // that follows a \\color command.\n\n parser.gullet.macros.set(\"\\\\current@color\", color); // Parse out the implicit body that should be colored.\n\n const body = parser.parseExpression(true, breakOnTokenText);\n return {\n type: \"color\",\n mode: parser.mode,\n color,\n body\n };\n },\n\n htmlBuilder: color_htmlBuilder,\n mathmlBuilder: color_mathmlBuilder\n});\n;// CONCATENATED MODULE: ./src/functions/cr.js\n// Row breaks within tabular environments, and line breaks at top level\n\n\n\n\n // \\DeclareRobustCommand\\\\{...\\@xnewline}\n\ndefineFunction({\n type: \"cr\",\n names: [\"\\\\\\\\\"],\n props: {\n numArgs: 0,\n numOptionalArgs: 0,\n allowedInText: true\n },\n\n handler(_ref, args, optArgs) {\n let {\n parser\n } = _ref;\n const size = parser.gullet.future().text === \"[\" ? parser.parseSizeGroup(true) : null;\n const newLine = !parser.settings.displayMode || !parser.settings.useStrictBehavior(\"newLineInDisplayMode\", \"In LaTeX, \\\\\\\\ or \\\\newline \" + \"does nothing in display mode\");\n return {\n type: \"cr\",\n mode: parser.mode,\n newLine,\n size: size && assertNodeType(size, \"size\").value\n };\n },\n\n // The following builders are called only at the top level,\n // not within tabular/array environments.\n htmlBuilder(group, options) {\n const span = buildCommon.makeSpan([\"mspace\"], [], options);\n\n if (group.newLine) {\n span.classes.push(\"newline\");\n\n if (group.size) {\n span.style.marginTop = makeEm(calculateSize(group.size, options));\n }\n }\n\n return span;\n },\n\n mathmlBuilder(group, options) {\n const node = new mathMLTree.MathNode(\"mspace\");\n\n if (group.newLine) {\n node.setAttribute(\"linebreak\", \"newline\");\n\n if (group.size) {\n node.setAttribute(\"height\", makeEm(calculateSize(group.size, options)));\n }\n }\n\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/def.js\n\n\n\nconst globalMap = {\n \"\\\\global\": \"\\\\global\",\n \"\\\\long\": \"\\\\\\\\globallong\",\n \"\\\\\\\\globallong\": \"\\\\\\\\globallong\",\n \"\\\\def\": \"\\\\gdef\",\n \"\\\\gdef\": \"\\\\gdef\",\n \"\\\\edef\": \"\\\\xdef\",\n \"\\\\xdef\": \"\\\\xdef\",\n \"\\\\let\": \"\\\\\\\\globallet\",\n \"\\\\futurelet\": \"\\\\\\\\globalfuture\"\n};\n\nconst checkControlSequence = tok => {\n const name = tok.text;\n\n if (/^(?:[\\\\{}$&#^_]|EOF)$/.test(name)) {\n throw new src_ParseError(\"Expected a control sequence\", tok);\n }\n\n return name;\n};\n\nconst getRHS = parser => {\n let tok = parser.gullet.popToken();\n\n if (tok.text === \"=\") {\n // consume optional equals\n tok = parser.gullet.popToken();\n\n if (tok.text === \" \") {\n // consume one optional space\n tok = parser.gullet.popToken();\n }\n }\n\n return tok;\n};\n\nconst letCommand = (parser, name, tok, global) => {\n let macro = parser.gullet.macros.get(tok.text);\n\n if (macro == null) {\n // don't expand it later even if a macro with the same name is defined\n // e.g., \\let\\foo=\\frac \\def\\frac{\\relax} \\frac12\n tok.noexpand = true;\n macro = {\n tokens: [tok],\n numArgs: 0,\n // reproduce the same behavior in expansion\n unexpandable: !parser.gullet.isExpandable(tok.text)\n };\n }\n\n parser.gullet.macros.set(name, macro, global);\n}; // -> |\n// -> |\\global\n// -> |\n// -> \\global|\\long|\\outer\n\n\ndefineFunction({\n type: \"internal\",\n names: [\"\\\\global\", \"\\\\long\", \"\\\\\\\\globallong\" // can’t be entered directly\n ],\n props: {\n numArgs: 0,\n allowedInText: true\n },\n\n handler(_ref) {\n let {\n parser,\n funcName\n } = _ref;\n parser.consumeSpaces();\n const token = parser.fetch();\n\n if (globalMap[token.text]) {\n // KaTeX doesn't have \\par, so ignore \\long\n if (funcName === \"\\\\global\" || funcName === \"\\\\\\\\globallong\") {\n token.text = globalMap[token.text];\n }\n\n return assertNodeType(parser.parseFunction(), \"internal\");\n }\n\n throw new src_ParseError(\"Invalid token after macro prefix\", token);\n }\n\n}); // Basic support for macro definitions: \\def, \\gdef, \\edef, \\xdef\n// -> \n// -> \\def|\\gdef|\\edef|\\xdef\n// -> \n\ndefineFunction({\n type: \"internal\",\n names: [\"\\\\def\", \"\\\\gdef\", \"\\\\edef\", \"\\\\xdef\"],\n props: {\n numArgs: 0,\n allowedInText: true,\n primitive: true\n },\n\n handler(_ref2) {\n let {\n parser,\n funcName\n } = _ref2;\n let tok = parser.gullet.popToken();\n const name = tok.text;\n\n if (/^(?:[\\\\{}$&#^_]|EOF)$/.test(name)) {\n throw new src_ParseError(\"Expected a control sequence\", tok);\n }\n\n let numArgs = 0;\n let insert;\n const delimiters = [[]]; // contains no braces\n\n while (parser.gullet.future().text !== \"{\") {\n tok = parser.gullet.popToken();\n\n if (tok.text === \"#\") {\n // If the very last character of the is #, so that\n // this # is immediately followed by {, TeX will behave as if the {\n // had been inserted at the right end of both the parameter text\n // and the replacement text.\n if (parser.gullet.future().text === \"{\") {\n insert = parser.gullet.future();\n delimiters[numArgs].push(\"{\");\n break;\n } // A parameter, the first appearance of # must be followed by 1,\n // the next by 2, and so on; up to nine #’s are allowed\n\n\n tok = parser.gullet.popToken();\n\n if (!/^[1-9]$/.test(tok.text)) {\n throw new src_ParseError(\"Invalid argument number \\\"\" + tok.text + \"\\\"\");\n }\n\n if (parseInt(tok.text) !== numArgs + 1) {\n throw new src_ParseError(\"Argument number \\\"\" + tok.text + \"\\\" out of order\");\n }\n\n numArgs++;\n delimiters.push([]);\n } else if (tok.text === \"EOF\") {\n throw new src_ParseError(\"Expected a macro definition\");\n } else {\n delimiters[numArgs].push(tok.text);\n }\n } // replacement text, enclosed in '{' and '}' and properly nested\n\n\n let {\n tokens\n } = parser.gullet.consumeArg();\n\n if (insert) {\n tokens.unshift(insert);\n }\n\n if (funcName === \"\\\\edef\" || funcName === \"\\\\xdef\") {\n tokens = parser.gullet.expandTokens(tokens);\n tokens.reverse(); // to fit in with stack order\n } // Final arg is the expansion of the macro\n\n\n parser.gullet.macros.set(name, {\n tokens,\n numArgs,\n delimiters\n }, funcName === globalMap[funcName]);\n return {\n type: \"internal\",\n mode: parser.mode\n };\n }\n\n}); // -> \n// -> \\futurelet\n// | \\let\n// -> |=\n\ndefineFunction({\n type: \"internal\",\n names: [\"\\\\let\", \"\\\\\\\\globallet\" // can’t be entered directly\n ],\n props: {\n numArgs: 0,\n allowedInText: true,\n primitive: true\n },\n\n handler(_ref3) {\n let {\n parser,\n funcName\n } = _ref3;\n const name = checkControlSequence(parser.gullet.popToken());\n parser.gullet.consumeSpaces();\n const tok = getRHS(parser);\n letCommand(parser, name, tok, funcName === \"\\\\\\\\globallet\");\n return {\n type: \"internal\",\n mode: parser.mode\n };\n }\n\n}); // ref: https://www.tug.org/TUGboat/tb09-3/tb22bechtolsheim.pdf\n\ndefineFunction({\n type: \"internal\",\n names: [\"\\\\futurelet\", \"\\\\\\\\globalfuture\" // can’t be entered directly\n ],\n props: {\n numArgs: 0,\n allowedInText: true,\n primitive: true\n },\n\n handler(_ref4) {\n let {\n parser,\n funcName\n } = _ref4;\n const name = checkControlSequence(parser.gullet.popToken());\n const middle = parser.gullet.popToken();\n const tok = parser.gullet.popToken();\n letCommand(parser, name, tok, funcName === \"\\\\\\\\globalfuture\");\n parser.gullet.pushToken(tok);\n parser.gullet.pushToken(middle);\n return {\n type: \"internal\",\n mode: parser.mode\n };\n }\n\n});\n;// CONCATENATED MODULE: ./src/delimiter.js\n/**\n * This file deals with creating delimiters of various sizes. The TeXbook\n * discusses these routines on page 441-442, in the \"Another subroutine sets box\n * x to a specified variable delimiter\" paragraph.\n *\n * There are three main routines here. `makeSmallDelim` makes a delimiter in the\n * normal font, but in either text, script, or scriptscript style.\n * `makeLargeDelim` makes a delimiter in textstyle, but in one of the Size1,\n * Size2, Size3, or Size4 fonts. `makeStackedDelim` makes a delimiter out of\n * smaller pieces that are stacked on top of one another.\n *\n * The functions take a parameter `center`, which determines if the delimiter\n * should be centered around the axis.\n *\n * Then, there are three exposed functions. `sizedDelim` makes a delimiter in\n * one of the given sizes. This is used for things like `\\bigl`.\n * `customSizedDelim` makes a delimiter with a given total height+depth. It is\n * called in places like `\\sqrt`. `leftRightDelim` makes an appropriate\n * delimiter which surrounds an expression of a given height an depth. It is\n * used in `\\left` and `\\right`.\n */\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Get the metrics for a given symbol and font, after transformation (i.e.\n * after following replacement from symbols.js)\n */\nconst getMetrics = function (symbol, font, mode) {\n const replace = src_symbols.math[symbol] && src_symbols.math[symbol].replace;\n const metrics = getCharacterMetrics(replace || symbol, font, mode);\n\n if (!metrics) {\n throw new Error(\"Unsupported symbol \" + symbol + \" and font size \" + font + \".\");\n }\n\n return metrics;\n};\n/**\n * Puts a delimiter span in a given style, and adds appropriate height, depth,\n * and maxFontSizes.\n */\n\n\nconst styleWrap = function (delim, toStyle, options, classes) {\n const newOptions = options.havingBaseStyle(toStyle);\n const span = buildCommon.makeSpan(classes.concat(newOptions.sizingClasses(options)), [delim], options);\n const delimSizeMultiplier = newOptions.sizeMultiplier / options.sizeMultiplier;\n span.height *= delimSizeMultiplier;\n span.depth *= delimSizeMultiplier;\n span.maxFontSize = newOptions.sizeMultiplier;\n return span;\n};\n\nconst centerSpan = function (span, options, style) {\n const newOptions = options.havingBaseStyle(style);\n const shift = (1 - options.sizeMultiplier / newOptions.sizeMultiplier) * options.fontMetrics().axisHeight;\n span.classes.push(\"delimcenter\");\n span.style.top = makeEm(shift);\n span.height -= shift;\n span.depth += shift;\n};\n/**\n * Makes a small delimiter. This is a delimiter that comes in the Main-Regular\n * font, but is restyled to either be in textstyle, scriptstyle, or\n * scriptscriptstyle.\n */\n\n\nconst makeSmallDelim = function (delim, style, center, options, mode, classes) {\n const text = buildCommon.makeSymbol(delim, \"Main-Regular\", mode, options);\n const span = styleWrap(text, style, options, classes);\n\n if (center) {\n centerSpan(span, options, style);\n }\n\n return span;\n};\n/**\n * Builds a symbol in the given font size (note size is an integer)\n */\n\n\nconst mathrmSize = function (value, size, mode, options) {\n return buildCommon.makeSymbol(value, \"Size\" + size + \"-Regular\", mode, options);\n};\n/**\n * Makes a large delimiter. This is a delimiter that comes in the Size1, Size2,\n * Size3, or Size4 fonts. It is always rendered in textstyle.\n */\n\n\nconst makeLargeDelim = function (delim, size, center, options, mode, classes) {\n const inner = mathrmSize(delim, size, mode, options);\n const span = styleWrap(buildCommon.makeSpan([\"delimsizing\", \"size\" + size], [inner], options), src_Style.TEXT, options, classes);\n\n if (center) {\n centerSpan(span, options, src_Style.TEXT);\n }\n\n return span;\n};\n/**\n * Make a span from a font glyph with the given offset and in the given font.\n * This is used in makeStackedDelim to make the stacking pieces for the delimiter.\n */\n\n\nconst makeGlyphSpan = function (symbol, font, mode) {\n let sizeClass; // Apply the correct CSS class to choose the right font.\n\n if (font === \"Size1-Regular\") {\n sizeClass = \"delim-size1\";\n } else\n /* if (font === \"Size4-Regular\") */\n {\n sizeClass = \"delim-size4\";\n }\n\n const corner = buildCommon.makeSpan([\"delimsizinginner\", sizeClass], [buildCommon.makeSpan([], [buildCommon.makeSymbol(symbol, font, mode)])]); // Since this will be passed into `makeVList` in the end, wrap the element\n // in the appropriate tag that VList uses.\n\n return {\n type: \"elem\",\n elem: corner\n };\n};\n\nconst makeInner = function (ch, height, options) {\n // Create a span with inline SVG for the inner part of a tall stacked delimiter.\n const width = fontMetricsData[\"Size4-Regular\"][ch.charCodeAt(0)] ? fontMetricsData[\"Size4-Regular\"][ch.charCodeAt(0)][4] : fontMetricsData[\"Size1-Regular\"][ch.charCodeAt(0)][4];\n const path = new PathNode(\"inner\", innerPath(ch, Math.round(1000 * height)));\n const svgNode = new SvgNode([path], {\n \"width\": makeEm(width),\n \"height\": makeEm(height),\n // Override CSS rule `.katex svg { width: 100% }`\n \"style\": \"width:\" + makeEm(width),\n \"viewBox\": \"0 0 \" + 1000 * width + \" \" + Math.round(1000 * height),\n \"preserveAspectRatio\": \"xMinYMin\"\n });\n const span = buildCommon.makeSvgSpan([], [svgNode], options);\n span.height = height;\n span.style.height = makeEm(height);\n span.style.width = makeEm(width);\n return {\n type: \"elem\",\n elem: span\n };\n}; // Helpers for makeStackedDelim\n\n\nconst lapInEms = 0.008;\nconst lap = {\n type: \"kern\",\n size: -1 * lapInEms\n};\nconst verts = [\"|\", \"\\\\lvert\", \"\\\\rvert\", \"\\\\vert\"];\nconst doubleVerts = [\"\\\\|\", \"\\\\lVert\", \"\\\\rVert\", \"\\\\Vert\"];\n/**\n * Make a stacked delimiter out of a given delimiter, with the total height at\n * least `heightTotal`. This routine is mentioned on page 442 of the TeXbook.\n */\n\nconst makeStackedDelim = function (delim, heightTotal, center, options, mode, classes) {\n // There are four parts, the top, an optional middle, a repeated part, and a\n // bottom.\n let top;\n let middle;\n let repeat;\n let bottom;\n let svgLabel = \"\";\n let viewBoxWidth = 0;\n top = repeat = bottom = delim;\n middle = null; // Also keep track of what font the delimiters are in\n\n let font = \"Size1-Regular\"; // We set the parts and font based on the symbol. Note that we use\n // '\\u23d0' instead of '|' and '\\u2016' instead of '\\\\|' for the\n // repeats of the arrows\n\n if (delim === \"\\\\uparrow\") {\n repeat = bottom = \"\\u23d0\";\n } else if (delim === \"\\\\Uparrow\") {\n repeat = bottom = \"\\u2016\";\n } else if (delim === \"\\\\downarrow\") {\n top = repeat = \"\\u23d0\";\n } else if (delim === \"\\\\Downarrow\") {\n top = repeat = \"\\u2016\";\n } else if (delim === \"\\\\updownarrow\") {\n top = \"\\\\uparrow\";\n repeat = \"\\u23d0\";\n bottom = \"\\\\downarrow\";\n } else if (delim === \"\\\\Updownarrow\") {\n top = \"\\\\Uparrow\";\n repeat = \"\\u2016\";\n bottom = \"\\\\Downarrow\";\n } else if (utils.contains(verts, delim)) {\n repeat = \"\\u2223\";\n svgLabel = \"vert\";\n viewBoxWidth = 333;\n } else if (utils.contains(doubleVerts, delim)) {\n repeat = \"\\u2225\";\n svgLabel = \"doublevert\";\n viewBoxWidth = 556;\n } else if (delim === \"[\" || delim === \"\\\\lbrack\") {\n top = \"\\u23a1\";\n repeat = \"\\u23a2\";\n bottom = \"\\u23a3\";\n font = \"Size4-Regular\";\n svgLabel = \"lbrack\";\n viewBoxWidth = 667;\n } else if (delim === \"]\" || delim === \"\\\\rbrack\") {\n top = \"\\u23a4\";\n repeat = \"\\u23a5\";\n bottom = \"\\u23a6\";\n font = \"Size4-Regular\";\n svgLabel = \"rbrack\";\n viewBoxWidth = 667;\n } else if (delim === \"\\\\lfloor\" || delim === \"\\u230a\") {\n repeat = top = \"\\u23a2\";\n bottom = \"\\u23a3\";\n font = \"Size4-Regular\";\n svgLabel = \"lfloor\";\n viewBoxWidth = 667;\n } else if (delim === \"\\\\lceil\" || delim === \"\\u2308\") {\n top = \"\\u23a1\";\n repeat = bottom = \"\\u23a2\";\n font = \"Size4-Regular\";\n svgLabel = \"lceil\";\n viewBoxWidth = 667;\n } else if (delim === \"\\\\rfloor\" || delim === \"\\u230b\") {\n repeat = top = \"\\u23a5\";\n bottom = \"\\u23a6\";\n font = \"Size4-Regular\";\n svgLabel = \"rfloor\";\n viewBoxWidth = 667;\n } else if (delim === \"\\\\rceil\" || delim === \"\\u2309\") {\n top = \"\\u23a4\";\n repeat = bottom = \"\\u23a5\";\n font = \"Size4-Regular\";\n svgLabel = \"rceil\";\n viewBoxWidth = 667;\n } else if (delim === \"(\" || delim === \"\\\\lparen\") {\n top = \"\\u239b\";\n repeat = \"\\u239c\";\n bottom = \"\\u239d\";\n font = \"Size4-Regular\";\n svgLabel = \"lparen\";\n viewBoxWidth = 875;\n } else if (delim === \")\" || delim === \"\\\\rparen\") {\n top = \"\\u239e\";\n repeat = \"\\u239f\";\n bottom = \"\\u23a0\";\n font = \"Size4-Regular\";\n svgLabel = \"rparen\";\n viewBoxWidth = 875;\n } else if (delim === \"\\\\{\" || delim === \"\\\\lbrace\") {\n top = \"\\u23a7\";\n middle = \"\\u23a8\";\n bottom = \"\\u23a9\";\n repeat = \"\\u23aa\";\n font = \"Size4-Regular\";\n } else if (delim === \"\\\\}\" || delim === \"\\\\rbrace\") {\n top = \"\\u23ab\";\n middle = \"\\u23ac\";\n bottom = \"\\u23ad\";\n repeat = \"\\u23aa\";\n font = \"Size4-Regular\";\n } else if (delim === \"\\\\lgroup\" || delim === \"\\u27ee\") {\n top = \"\\u23a7\";\n bottom = \"\\u23a9\";\n repeat = \"\\u23aa\";\n font = \"Size4-Regular\";\n } else if (delim === \"\\\\rgroup\" || delim === \"\\u27ef\") {\n top = \"\\u23ab\";\n bottom = \"\\u23ad\";\n repeat = \"\\u23aa\";\n font = \"Size4-Regular\";\n } else if (delim === \"\\\\lmoustache\" || delim === \"\\u23b0\") {\n top = \"\\u23a7\";\n bottom = \"\\u23ad\";\n repeat = \"\\u23aa\";\n font = \"Size4-Regular\";\n } else if (delim === \"\\\\rmoustache\" || delim === \"\\u23b1\") {\n top = \"\\u23ab\";\n bottom = \"\\u23a9\";\n repeat = \"\\u23aa\";\n font = \"Size4-Regular\";\n } // Get the metrics of the four sections\n\n\n const topMetrics = getMetrics(top, font, mode);\n const topHeightTotal = topMetrics.height + topMetrics.depth;\n const repeatMetrics = getMetrics(repeat, font, mode);\n const repeatHeightTotal = repeatMetrics.height + repeatMetrics.depth;\n const bottomMetrics = getMetrics(bottom, font, mode);\n const bottomHeightTotal = bottomMetrics.height + bottomMetrics.depth;\n let middleHeightTotal = 0;\n let middleFactor = 1;\n\n if (middle !== null) {\n const middleMetrics = getMetrics(middle, font, mode);\n middleHeightTotal = middleMetrics.height + middleMetrics.depth;\n middleFactor = 2; // repeat symmetrically above and below middle\n } // Calculate the minimal height that the delimiter can have.\n // It is at least the size of the top, bottom, and optional middle combined.\n\n\n const minHeight = topHeightTotal + bottomHeightTotal + middleHeightTotal; // Compute the number of copies of the repeat symbol we will need\n\n const repeatCount = Math.max(0, Math.ceil((heightTotal - minHeight) / (middleFactor * repeatHeightTotal))); // Compute the total height of the delimiter including all the symbols\n\n const realHeightTotal = minHeight + repeatCount * middleFactor * repeatHeightTotal; // The center of the delimiter is placed at the center of the axis. Note\n // that in this context, \"center\" means that the delimiter should be\n // centered around the axis in the current style, while normally it is\n // centered around the axis in textstyle.\n\n let axisHeight = options.fontMetrics().axisHeight;\n\n if (center) {\n axisHeight *= options.sizeMultiplier;\n } // Calculate the depth\n\n\n const depth = realHeightTotal / 2 - axisHeight; // Now, we start building the pieces that will go into the vlist\n // Keep a list of the pieces of the stacked delimiter\n\n const stack = [];\n\n if (svgLabel.length > 0) {\n // Instead of stacking glyphs, create a single SVG.\n // This evades browser problems with imprecise positioning of spans.\n const midHeight = realHeightTotal - topHeightTotal - bottomHeightTotal;\n const viewBoxHeight = Math.round(realHeightTotal * 1000);\n const pathStr = tallDelim(svgLabel, Math.round(midHeight * 1000));\n const path = new PathNode(svgLabel, pathStr);\n const width = (viewBoxWidth / 1000).toFixed(3) + \"em\";\n const height = (viewBoxHeight / 1000).toFixed(3) + \"em\";\n const svg = new SvgNode([path], {\n \"width\": width,\n \"height\": height,\n \"viewBox\": \"0 0 \" + viewBoxWidth + \" \" + viewBoxHeight\n });\n const wrapper = buildCommon.makeSvgSpan([], [svg], options);\n wrapper.height = viewBoxHeight / 1000;\n wrapper.style.width = width;\n wrapper.style.height = height;\n stack.push({\n type: \"elem\",\n elem: wrapper\n });\n } else {\n // Stack glyphs\n // Start by adding the bottom symbol\n stack.push(makeGlyphSpan(bottom, font, mode));\n stack.push(lap); // overlap\n\n if (middle === null) {\n // The middle section will be an SVG. Make it an extra 0.016em tall.\n // We'll overlap by 0.008em at top and bottom.\n const innerHeight = realHeightTotal - topHeightTotal - bottomHeightTotal + 2 * lapInEms;\n stack.push(makeInner(repeat, innerHeight, options));\n } else {\n // When there is a middle bit, we need the middle part and two repeated\n // sections\n const innerHeight = (realHeightTotal - topHeightTotal - bottomHeightTotal - middleHeightTotal) / 2 + 2 * lapInEms;\n stack.push(makeInner(repeat, innerHeight, options)); // Now insert the middle of the brace.\n\n stack.push(lap);\n stack.push(makeGlyphSpan(middle, font, mode));\n stack.push(lap);\n stack.push(makeInner(repeat, innerHeight, options));\n } // Add the top symbol\n\n\n stack.push(lap);\n stack.push(makeGlyphSpan(top, font, mode));\n } // Finally, build the vlist\n\n\n const newOptions = options.havingBaseStyle(src_Style.TEXT);\n const inner = buildCommon.makeVList({\n positionType: \"bottom\",\n positionData: depth,\n children: stack\n }, newOptions);\n return styleWrap(buildCommon.makeSpan([\"delimsizing\", \"mult\"], [inner], newOptions), src_Style.TEXT, options, classes);\n}; // All surds have 0.08em padding above the vinculum inside the SVG.\n// That keeps browser span height rounding error from pinching the line.\n\n\nconst vbPad = 80; // padding above the surd, measured inside the viewBox.\n\nconst emPad = 0.08; // padding, in ems, measured in the document.\n\nconst sqrtSvg = function (sqrtName, height, viewBoxHeight, extraVinculum, options) {\n const path = sqrtPath(sqrtName, extraVinculum, viewBoxHeight);\n const pathNode = new PathNode(sqrtName, path);\n const svg = new SvgNode([pathNode], {\n // Note: 1000:1 ratio of viewBox to document em width.\n \"width\": \"400em\",\n \"height\": makeEm(height),\n \"viewBox\": \"0 0 400000 \" + viewBoxHeight,\n \"preserveAspectRatio\": \"xMinYMin slice\"\n });\n return buildCommon.makeSvgSpan([\"hide-tail\"], [svg], options);\n};\n/**\n * Make a sqrt image of the given height,\n */\n\n\nconst makeSqrtImage = function (height, options) {\n // Define a newOptions that removes the effect of size changes such as \\Huge.\n // We don't pick different a height surd for \\Huge. For it, we scale up.\n const newOptions = options.havingBaseSizing(); // Pick the desired surd glyph from a sequence of surds.\n\n const delim = traverseSequence(\"\\\\surd\", height * newOptions.sizeMultiplier, stackLargeDelimiterSequence, newOptions);\n let sizeMultiplier = newOptions.sizeMultiplier; // default\n // The standard sqrt SVGs each have a 0.04em thick vinculum.\n // If Settings.minRuleThickness is larger than that, we add extraVinculum.\n\n const extraVinculum = Math.max(0, options.minRuleThickness - options.fontMetrics().sqrtRuleThickness); // Create a span containing an SVG image of a sqrt symbol.\n\n let span;\n let spanHeight = 0;\n let texHeight = 0;\n let viewBoxHeight = 0;\n let advanceWidth; // We create viewBoxes with 80 units of \"padding\" above each surd.\n // Then browser rounding error on the parent span height will not\n // encroach on the ink of the vinculum. But that padding is not\n // included in the TeX-like `height` used for calculation of\n // vertical alignment. So texHeight = span.height < span.style.height.\n\n if (delim.type === \"small\") {\n // Get an SVG that is derived from glyph U+221A in font KaTeX-Main.\n // 1000 unit normal glyph height.\n viewBoxHeight = 1000 + 1000 * extraVinculum + vbPad;\n\n if (height < 1.0) {\n sizeMultiplier = 1.0; // mimic a \\textfont radical\n } else if (height < 1.4) {\n sizeMultiplier = 0.7; // mimic a \\scriptfont radical\n }\n\n spanHeight = (1.0 + extraVinculum + emPad) / sizeMultiplier;\n texHeight = (1.00 + extraVinculum) / sizeMultiplier;\n span = sqrtSvg(\"sqrtMain\", spanHeight, viewBoxHeight, extraVinculum, options);\n span.style.minWidth = \"0.853em\";\n advanceWidth = 0.833 / sizeMultiplier; // from the font.\n } else if (delim.type === \"large\") {\n // These SVGs come from fonts: KaTeX_Size1, _Size2, etc.\n viewBoxHeight = (1000 + vbPad) * sizeToMaxHeight[delim.size];\n texHeight = (sizeToMaxHeight[delim.size] + extraVinculum) / sizeMultiplier;\n spanHeight = (sizeToMaxHeight[delim.size] + extraVinculum + emPad) / sizeMultiplier;\n span = sqrtSvg(\"sqrtSize\" + delim.size, spanHeight, viewBoxHeight, extraVinculum, options);\n span.style.minWidth = \"1.02em\";\n advanceWidth = 1.0 / sizeMultiplier; // 1.0 from the font.\n } else {\n // Tall sqrt. In TeX, this would be stacked using multiple glyphs.\n // We'll use a single SVG to accomplish the same thing.\n spanHeight = height + extraVinculum + emPad;\n texHeight = height + extraVinculum;\n viewBoxHeight = Math.floor(1000 * height + extraVinculum) + vbPad;\n span = sqrtSvg(\"sqrtTall\", spanHeight, viewBoxHeight, extraVinculum, options);\n span.style.minWidth = \"0.742em\";\n advanceWidth = 1.056;\n }\n\n span.height = texHeight;\n span.style.height = makeEm(spanHeight);\n return {\n span,\n advanceWidth,\n // Calculate the actual line width.\n // This actually should depend on the chosen font -- e.g. \\boldmath\n // should use the thicker surd symbols from e.g. KaTeX_Main-Bold, and\n // have thicker rules.\n ruleWidth: (options.fontMetrics().sqrtRuleThickness + extraVinculum) * sizeMultiplier\n };\n}; // There are three kinds of delimiters, delimiters that stack when they become\n// too large\n\n\nconst stackLargeDelimiters = [\"(\", \"\\\\lparen\", \")\", \"\\\\rparen\", \"[\", \"\\\\lbrack\", \"]\", \"\\\\rbrack\", \"\\\\{\", \"\\\\lbrace\", \"\\\\}\", \"\\\\rbrace\", \"\\\\lfloor\", \"\\\\rfloor\", \"\\u230a\", \"\\u230b\", \"\\\\lceil\", \"\\\\rceil\", \"\\u2308\", \"\\u2309\", \"\\\\surd\"]; // delimiters that always stack\n\nconst stackAlwaysDelimiters = [\"\\\\uparrow\", \"\\\\downarrow\", \"\\\\updownarrow\", \"\\\\Uparrow\", \"\\\\Downarrow\", \"\\\\Updownarrow\", \"|\", \"\\\\|\", \"\\\\vert\", \"\\\\Vert\", \"\\\\lvert\", \"\\\\rvert\", \"\\\\lVert\", \"\\\\rVert\", \"\\\\lgroup\", \"\\\\rgroup\", \"\\u27ee\", \"\\u27ef\", \"\\\\lmoustache\", \"\\\\rmoustache\", \"\\u23b0\", \"\\u23b1\"]; // and delimiters that never stack\n\nconst stackNeverDelimiters = [\"<\", \">\", \"\\\\langle\", \"\\\\rangle\", \"/\", \"\\\\backslash\", \"\\\\lt\", \"\\\\gt\"]; // Metrics of the different sizes. Found by looking at TeX's output of\n// $\\bigl| // \\Bigl| \\biggl| \\Biggl| \\showlists$\n// Used to create stacked delimiters of appropriate sizes in makeSizedDelim.\n\nconst sizeToMaxHeight = [0, 1.2, 1.8, 2.4, 3.0];\n/**\n * Used to create a delimiter of a specific size, where `size` is 1, 2, 3, or 4.\n */\n\nconst makeSizedDelim = function (delim, size, options, mode, classes) {\n // < and > turn into \\langle and \\rangle in delimiters\n if (delim === \"<\" || delim === \"\\\\lt\" || delim === \"\\u27e8\") {\n delim = \"\\\\langle\";\n } else if (delim === \">\" || delim === \"\\\\gt\" || delim === \"\\u27e9\") {\n delim = \"\\\\rangle\";\n } // Sized delimiters are never centered.\n\n\n if (utils.contains(stackLargeDelimiters, delim) || utils.contains(stackNeverDelimiters, delim)) {\n return makeLargeDelim(delim, size, false, options, mode, classes);\n } else if (utils.contains(stackAlwaysDelimiters, delim)) {\n return makeStackedDelim(delim, sizeToMaxHeight[size], false, options, mode, classes);\n } else {\n throw new src_ParseError(\"Illegal delimiter: '\" + delim + \"'\");\n }\n};\n/**\n * There are three different sequences of delimiter sizes that the delimiters\n * follow depending on the kind of delimiter. This is used when creating custom\n * sized delimiters to decide whether to create a small, large, or stacked\n * delimiter.\n *\n * In real TeX, these sequences aren't explicitly defined, but are instead\n * defined inside the font metrics. Since there are only three sequences that\n * are possible for the delimiters that TeX defines, it is easier to just encode\n * them explicitly here.\n */\n\n\n// Delimiters that never stack try small delimiters and large delimiters only\nconst stackNeverDelimiterSequence = [{\n type: \"small\",\n style: src_Style.SCRIPTSCRIPT\n}, {\n type: \"small\",\n style: src_Style.SCRIPT\n}, {\n type: \"small\",\n style: src_Style.TEXT\n}, {\n type: \"large\",\n size: 1\n}, {\n type: \"large\",\n size: 2\n}, {\n type: \"large\",\n size: 3\n}, {\n type: \"large\",\n size: 4\n}]; // Delimiters that always stack try the small delimiters first, then stack\n\nconst stackAlwaysDelimiterSequence = [{\n type: \"small\",\n style: src_Style.SCRIPTSCRIPT\n}, {\n type: \"small\",\n style: src_Style.SCRIPT\n}, {\n type: \"small\",\n style: src_Style.TEXT\n}, {\n type: \"stack\"\n}]; // Delimiters that stack when large try the small and then large delimiters, and\n// stack afterwards\n\nconst stackLargeDelimiterSequence = [{\n type: \"small\",\n style: src_Style.SCRIPTSCRIPT\n}, {\n type: \"small\",\n style: src_Style.SCRIPT\n}, {\n type: \"small\",\n style: src_Style.TEXT\n}, {\n type: \"large\",\n size: 1\n}, {\n type: \"large\",\n size: 2\n}, {\n type: \"large\",\n size: 3\n}, {\n type: \"large\",\n size: 4\n}, {\n type: \"stack\"\n}];\n/**\n * Get the font used in a delimiter based on what kind of delimiter it is.\n * TODO(#963) Use more specific font family return type once that is introduced.\n */\n\nconst delimTypeToFont = function (type) {\n if (type.type === \"small\") {\n return \"Main-Regular\";\n } else if (type.type === \"large\") {\n return \"Size\" + type.size + \"-Regular\";\n } else if (type.type === \"stack\") {\n return \"Size4-Regular\";\n } else {\n throw new Error(\"Add support for delim type '\" + type.type + \"' here.\");\n }\n};\n/**\n * Traverse a sequence of types of delimiters to decide what kind of delimiter\n * should be used to create a delimiter of the given height+depth.\n */\n\n\nconst traverseSequence = function (delim, height, sequence, options) {\n // Here, we choose the index we should start at in the sequences. In smaller\n // sizes (which correspond to larger numbers in style.size) we start earlier\n // in the sequence. Thus, scriptscript starts at index 3-3=0, script starts\n // at index 3-2=1, text starts at 3-1=2, and display starts at min(2,3-0)=2\n const start = Math.min(2, 3 - options.style.size);\n\n for (let i = start; i < sequence.length; i++) {\n if (sequence[i].type === \"stack\") {\n // This is always the last delimiter, so we just break the loop now.\n break;\n }\n\n const metrics = getMetrics(delim, delimTypeToFont(sequence[i]), \"math\");\n let heightDepth = metrics.height + metrics.depth; // Small delimiters are scaled down versions of the same font, so we\n // account for the style change size.\n\n if (sequence[i].type === \"small\") {\n const newOptions = options.havingBaseStyle(sequence[i].style);\n heightDepth *= newOptions.sizeMultiplier;\n } // Check if the delimiter at this size works for the given height.\n\n\n if (heightDepth > height) {\n return sequence[i];\n }\n } // If we reached the end of the sequence, return the last sequence element.\n\n\n return sequence[sequence.length - 1];\n};\n/**\n * Make a delimiter of a given height+depth, with optional centering. Here, we\n * traverse the sequences, and create a delimiter that the sequence tells us to.\n */\n\n\nconst makeCustomSizedDelim = function (delim, height, center, options, mode, classes) {\n if (delim === \"<\" || delim === \"\\\\lt\" || delim === \"\\u27e8\") {\n delim = \"\\\\langle\";\n } else if (delim === \">\" || delim === \"\\\\gt\" || delim === \"\\u27e9\") {\n delim = \"\\\\rangle\";\n } // Decide what sequence to use\n\n\n let sequence;\n\n if (utils.contains(stackNeverDelimiters, delim)) {\n sequence = stackNeverDelimiterSequence;\n } else if (utils.contains(stackLargeDelimiters, delim)) {\n sequence = stackLargeDelimiterSequence;\n } else {\n sequence = stackAlwaysDelimiterSequence;\n } // Look through the sequence\n\n\n const delimType = traverseSequence(delim, height, sequence, options); // Get the delimiter from font glyphs.\n // Depending on the sequence element we decided on, call the\n // appropriate function.\n\n if (delimType.type === \"small\") {\n return makeSmallDelim(delim, delimType.style, center, options, mode, classes);\n } else if (delimType.type === \"large\") {\n return makeLargeDelim(delim, delimType.size, center, options, mode, classes);\n } else\n /* if (delimType.type === \"stack\") */\n {\n return makeStackedDelim(delim, height, center, options, mode, classes);\n }\n};\n/**\n * Make a delimiter for use with `\\left` and `\\right`, given a height and depth\n * of an expression that the delimiters surround.\n */\n\n\nconst makeLeftRightDelim = function (delim, height, depth, options, mode, classes) {\n // We always center \\left/\\right delimiters, so the axis is always shifted\n const axisHeight = options.fontMetrics().axisHeight * options.sizeMultiplier; // Taken from TeX source, tex.web, function make_left_right\n\n const delimiterFactor = 901;\n const delimiterExtend = 5.0 / options.fontMetrics().ptPerEm;\n const maxDistFromAxis = Math.max(height - axisHeight, depth + axisHeight);\n const totalHeight = Math.max( // In real TeX, calculations are done using integral values which are\n // 65536 per pt, or 655360 per em. So, the division here truncates in\n // TeX but doesn't here, producing different results. If we wanted to\n // exactly match TeX's calculation, we could do\n // Math.floor(655360 * maxDistFromAxis / 500) *\n // delimiterFactor / 655360\n // (To see the difference, compare\n // x^{x^{\\left(\\rule{0.1em}{0.68em}\\right)}}\n // in TeX and KaTeX)\n maxDistFromAxis / 500 * delimiterFactor, 2 * maxDistFromAxis - delimiterExtend); // Finally, we defer to `makeCustomSizedDelim` with our calculated total\n // height\n\n return makeCustomSizedDelim(delim, totalHeight, true, options, mode, classes);\n};\n\n/* harmony default export */ var delimiter = ({\n sqrtImage: makeSqrtImage,\n sizedDelim: makeSizedDelim,\n sizeToMaxHeight: sizeToMaxHeight,\n customSizedDelim: makeCustomSizedDelim,\n leftRightDelim: makeLeftRightDelim\n});\n;// CONCATENATED MODULE: ./src/functions/delimsizing.js\n\n\n\n\n\n\n\n\n\n\n// Extra data needed for the delimiter handler down below\nconst delimiterSizes = {\n \"\\\\bigl\": {\n mclass: \"mopen\",\n size: 1\n },\n \"\\\\Bigl\": {\n mclass: \"mopen\",\n size: 2\n },\n \"\\\\biggl\": {\n mclass: \"mopen\",\n size: 3\n },\n \"\\\\Biggl\": {\n mclass: \"mopen\",\n size: 4\n },\n \"\\\\bigr\": {\n mclass: \"mclose\",\n size: 1\n },\n \"\\\\Bigr\": {\n mclass: \"mclose\",\n size: 2\n },\n \"\\\\biggr\": {\n mclass: \"mclose\",\n size: 3\n },\n \"\\\\Biggr\": {\n mclass: \"mclose\",\n size: 4\n },\n \"\\\\bigm\": {\n mclass: \"mrel\",\n size: 1\n },\n \"\\\\Bigm\": {\n mclass: \"mrel\",\n size: 2\n },\n \"\\\\biggm\": {\n mclass: \"mrel\",\n size: 3\n },\n \"\\\\Biggm\": {\n mclass: \"mrel\",\n size: 4\n },\n \"\\\\big\": {\n mclass: \"mord\",\n size: 1\n },\n \"\\\\Big\": {\n mclass: \"mord\",\n size: 2\n },\n \"\\\\bigg\": {\n mclass: \"mord\",\n size: 3\n },\n \"\\\\Bigg\": {\n mclass: \"mord\",\n size: 4\n }\n};\nconst delimiters = [\"(\", \"\\\\lparen\", \")\", \"\\\\rparen\", \"[\", \"\\\\lbrack\", \"]\", \"\\\\rbrack\", \"\\\\{\", \"\\\\lbrace\", \"\\\\}\", \"\\\\rbrace\", \"\\\\lfloor\", \"\\\\rfloor\", \"\\u230a\", \"\\u230b\", \"\\\\lceil\", \"\\\\rceil\", \"\\u2308\", \"\\u2309\", \"<\", \">\", \"\\\\langle\", \"\\u27e8\", \"\\\\rangle\", \"\\u27e9\", \"\\\\lt\", \"\\\\gt\", \"\\\\lvert\", \"\\\\rvert\", \"\\\\lVert\", \"\\\\rVert\", \"\\\\lgroup\", \"\\\\rgroup\", \"\\u27ee\", \"\\u27ef\", \"\\\\lmoustache\", \"\\\\rmoustache\", \"\\u23b0\", \"\\u23b1\", \"/\", \"\\\\backslash\", \"|\", \"\\\\vert\", \"\\\\|\", \"\\\\Vert\", \"\\\\uparrow\", \"\\\\Uparrow\", \"\\\\downarrow\", \"\\\\Downarrow\", \"\\\\updownarrow\", \"\\\\Updownarrow\", \".\"];\n\n// Delimiter functions\nfunction checkDelimiter(delim, context) {\n const symDelim = checkSymbolNodeType(delim);\n\n if (symDelim && utils.contains(delimiters, symDelim.text)) {\n return symDelim;\n } else if (symDelim) {\n throw new src_ParseError(\"Invalid delimiter '\" + symDelim.text + \"' after '\" + context.funcName + \"'\", delim);\n } else {\n throw new src_ParseError(\"Invalid delimiter type '\" + delim.type + \"'\", delim);\n }\n}\n\ndefineFunction({\n type: \"delimsizing\",\n names: [\"\\\\bigl\", \"\\\\Bigl\", \"\\\\biggl\", \"\\\\Biggl\", \"\\\\bigr\", \"\\\\Bigr\", \"\\\\biggr\", \"\\\\Biggr\", \"\\\\bigm\", \"\\\\Bigm\", \"\\\\biggm\", \"\\\\Biggm\", \"\\\\big\", \"\\\\Big\", \"\\\\bigg\", \"\\\\Bigg\"],\n props: {\n numArgs: 1,\n argTypes: [\"primitive\"]\n },\n handler: (context, args) => {\n const delim = checkDelimiter(args[0], context);\n return {\n type: \"delimsizing\",\n mode: context.parser.mode,\n size: delimiterSizes[context.funcName].size,\n mclass: delimiterSizes[context.funcName].mclass,\n delim: delim.text\n };\n },\n htmlBuilder: (group, options) => {\n if (group.delim === \".\") {\n // Empty delimiters still count as elements, even though they don't\n // show anything.\n return buildCommon.makeSpan([group.mclass]);\n } // Use delimiter.sizedDelim to generate the delimiter.\n\n\n return delimiter.sizedDelim(group.delim, group.size, options, group.mode, [group.mclass]);\n },\n mathmlBuilder: group => {\n const children = [];\n\n if (group.delim !== \".\") {\n children.push(makeText(group.delim, group.mode));\n }\n\n const node = new mathMLTree.MathNode(\"mo\", children);\n\n if (group.mclass === \"mopen\" || group.mclass === \"mclose\") {\n // Only some of the delimsizing functions act as fences, and they\n // return \"mopen\" or \"mclose\" mclass.\n node.setAttribute(\"fence\", \"true\");\n } else {\n // Explicitly disable fencing if it's not a fence, to override the\n // defaults.\n node.setAttribute(\"fence\", \"false\");\n }\n\n node.setAttribute(\"stretchy\", \"true\");\n const size = makeEm(delimiter.sizeToMaxHeight[group.size]);\n node.setAttribute(\"minsize\", size);\n node.setAttribute(\"maxsize\", size);\n return node;\n }\n});\n\nfunction assertParsed(group) {\n if (!group.body) {\n throw new Error(\"Bug: The leftright ParseNode wasn't fully parsed.\");\n }\n}\n\ndefineFunction({\n type: \"leftright-right\",\n names: [\"\\\\right\"],\n props: {\n numArgs: 1,\n primitive: true\n },\n handler: (context, args) => {\n // \\left case below triggers parsing of \\right in\n // `const right = parser.parseFunction();`\n // uses this return value.\n const color = context.parser.gullet.macros.get(\"\\\\current@color\");\n\n if (color && typeof color !== \"string\") {\n throw new src_ParseError(\"\\\\current@color set to non-string in \\\\right\");\n }\n\n return {\n type: \"leftright-right\",\n mode: context.parser.mode,\n delim: checkDelimiter(args[0], context).text,\n color // undefined if not set via \\color\n\n };\n }\n});\ndefineFunction({\n type: \"leftright\",\n names: [\"\\\\left\"],\n props: {\n numArgs: 1,\n primitive: true\n },\n handler: (context, args) => {\n const delim = checkDelimiter(args[0], context);\n const parser = context.parser; // Parse out the implicit body\n\n ++parser.leftrightDepth; // parseExpression stops before '\\\\right'\n\n const body = parser.parseExpression(false);\n --parser.leftrightDepth; // Check the next token\n\n parser.expect(\"\\\\right\", false);\n const right = assertNodeType(parser.parseFunction(), \"leftright-right\");\n return {\n type: \"leftright\",\n mode: parser.mode,\n body,\n left: delim.text,\n right: right.delim,\n rightColor: right.color\n };\n },\n htmlBuilder: (group, options) => {\n assertParsed(group); // Build the inner expression\n\n const inner = buildExpression(group.body, options, true, [\"mopen\", \"mclose\"]);\n let innerHeight = 0;\n let innerDepth = 0;\n let hadMiddle = false; // Calculate its height and depth\n\n for (let i = 0; i < inner.length; i++) {\n // Property `isMiddle` not defined on `span`. See comment in\n // \"middle\"'s htmlBuilder.\n // $FlowFixMe\n if (inner[i].isMiddle) {\n hadMiddle = true;\n } else {\n innerHeight = Math.max(inner[i].height, innerHeight);\n innerDepth = Math.max(inner[i].depth, innerDepth);\n }\n } // The size of delimiters is the same, regardless of what style we are\n // in. Thus, to correctly calculate the size of delimiter we need around\n // a group, we scale down the inner size based on the size.\n\n\n innerHeight *= options.sizeMultiplier;\n innerDepth *= options.sizeMultiplier;\n let leftDelim;\n\n if (group.left === \".\") {\n // Empty delimiters in \\left and \\right make null delimiter spaces.\n leftDelim = makeNullDelimiter(options, [\"mopen\"]);\n } else {\n // Otherwise, use leftRightDelim to generate the correct sized\n // delimiter.\n leftDelim = delimiter.leftRightDelim(group.left, innerHeight, innerDepth, options, group.mode, [\"mopen\"]);\n } // Add it to the beginning of the expression\n\n\n inner.unshift(leftDelim); // Handle middle delimiters\n\n if (hadMiddle) {\n for (let i = 1; i < inner.length; i++) {\n const middleDelim = inner[i]; // Property `isMiddle` not defined on `span`. See comment in\n // \"middle\"'s htmlBuilder.\n // $FlowFixMe\n\n const isMiddle = middleDelim.isMiddle;\n\n if (isMiddle) {\n // Apply the options that were active when \\middle was called\n inner[i] = delimiter.leftRightDelim(isMiddle.delim, innerHeight, innerDepth, isMiddle.options, group.mode, []);\n }\n }\n }\n\n let rightDelim; // Same for the right delimiter, but using color specified by \\color\n\n if (group.right === \".\") {\n rightDelim = makeNullDelimiter(options, [\"mclose\"]);\n } else {\n const colorOptions = group.rightColor ? options.withColor(group.rightColor) : options;\n rightDelim = delimiter.leftRightDelim(group.right, innerHeight, innerDepth, colorOptions, group.mode, [\"mclose\"]);\n } // Add it to the end of the expression.\n\n\n inner.push(rightDelim);\n return buildCommon.makeSpan([\"minner\"], inner, options);\n },\n mathmlBuilder: (group, options) => {\n assertParsed(group);\n const inner = buildMathML_buildExpression(group.body, options);\n\n if (group.left !== \".\") {\n const leftNode = new mathMLTree.MathNode(\"mo\", [makeText(group.left, group.mode)]);\n leftNode.setAttribute(\"fence\", \"true\");\n inner.unshift(leftNode);\n }\n\n if (group.right !== \".\") {\n const rightNode = new mathMLTree.MathNode(\"mo\", [makeText(group.right, group.mode)]);\n rightNode.setAttribute(\"fence\", \"true\");\n\n if (group.rightColor) {\n rightNode.setAttribute(\"mathcolor\", group.rightColor);\n }\n\n inner.push(rightNode);\n }\n\n return makeRow(inner);\n }\n});\ndefineFunction({\n type: \"middle\",\n names: [\"\\\\middle\"],\n props: {\n numArgs: 1,\n primitive: true\n },\n handler: (context, args) => {\n const delim = checkDelimiter(args[0], context);\n\n if (!context.parser.leftrightDepth) {\n throw new src_ParseError(\"\\\\middle without preceding \\\\left\", delim);\n }\n\n return {\n type: \"middle\",\n mode: context.parser.mode,\n delim: delim.text\n };\n },\n htmlBuilder: (group, options) => {\n let middleDelim;\n\n if (group.delim === \".\") {\n middleDelim = makeNullDelimiter(options, []);\n } else {\n middleDelim = delimiter.sizedDelim(group.delim, 1, options, group.mode, []);\n const isMiddle = {\n delim: group.delim,\n options\n }; // Property `isMiddle` not defined on `span`. It is only used in\n // this file above.\n // TODO: Fix this violation of the `span` type and possibly rename\n // things since `isMiddle` sounds like a boolean, but is a struct.\n // $FlowFixMe\n\n middleDelim.isMiddle = isMiddle;\n }\n\n return middleDelim;\n },\n mathmlBuilder: (group, options) => {\n // A Firefox \\middle will stretch a character vertically only if it\n // is in the fence part of the operator dictionary at:\n // https://www.w3.org/TR/MathML3/appendixc.html.\n // So we need to avoid U+2223 and use plain \"|\" instead.\n const textNode = group.delim === \"\\\\vert\" || group.delim === \"|\" ? makeText(\"|\", \"text\") : makeText(group.delim, group.mode);\n const middleNode = new mathMLTree.MathNode(\"mo\", [textNode]);\n middleNode.setAttribute(\"fence\", \"true\"); // MathML gives 5/18em spacing to each element.\n // \\middle should get delimiter spacing instead.\n\n middleNode.setAttribute(\"lspace\", \"0.05em\");\n middleNode.setAttribute(\"rspace\", \"0.05em\");\n return middleNode;\n }\n});\n;// CONCATENATED MODULE: ./src/functions/enclose.js\n\n\n\n\n\n\n\n\n\n\n\n\nconst enclose_htmlBuilder = (group, options) => {\n // \\cancel, \\bcancel, \\xcancel, \\sout, \\fbox, \\colorbox, \\fcolorbox, \\phase\n // Some groups can return document fragments. Handle those by wrapping\n // them in a span.\n const inner = buildCommon.wrapFragment(buildGroup(group.body, options), options);\n const label = group.label.slice(1);\n let scale = options.sizeMultiplier;\n let img;\n let imgShift = 0; // In the LaTeX cancel package, line geometry is slightly different\n // depending on whether the subject is wider than it is tall, or vice versa.\n // We don't know the width of a group, so as a proxy, we test if\n // the subject is a single character. This captures most of the\n // subjects that should get the \"tall\" treatment.\n\n const isSingleChar = utils.isCharacterBox(group.body);\n\n if (label === \"sout\") {\n img = buildCommon.makeSpan([\"stretchy\", \"sout\"]);\n img.height = options.fontMetrics().defaultRuleThickness / scale;\n imgShift = -0.5 * options.fontMetrics().xHeight;\n } else if (label === \"phase\") {\n // Set a couple of dimensions from the steinmetz package.\n const lineWeight = calculateSize({\n number: 0.6,\n unit: \"pt\"\n }, options);\n const clearance = calculateSize({\n number: 0.35,\n unit: \"ex\"\n }, options); // Prevent size changes like \\Huge from affecting line thickness\n\n const newOptions = options.havingBaseSizing();\n scale = scale / newOptions.sizeMultiplier;\n const angleHeight = inner.height + inner.depth + lineWeight + clearance; // Reserve a left pad for the angle.\n\n inner.style.paddingLeft = makeEm(angleHeight / 2 + lineWeight); // Create an SVG\n\n const viewBoxHeight = Math.floor(1000 * angleHeight * scale);\n const path = phasePath(viewBoxHeight);\n const svgNode = new SvgNode([new PathNode(\"phase\", path)], {\n \"width\": \"400em\",\n \"height\": makeEm(viewBoxHeight / 1000),\n \"viewBox\": \"0 0 400000 \" + viewBoxHeight,\n \"preserveAspectRatio\": \"xMinYMin slice\"\n }); // Wrap it in a span with overflow: hidden.\n\n img = buildCommon.makeSvgSpan([\"hide-tail\"], [svgNode], options);\n img.style.height = makeEm(angleHeight);\n imgShift = inner.depth + lineWeight + clearance;\n } else {\n // Add horizontal padding\n if (/cancel/.test(label)) {\n if (!isSingleChar) {\n inner.classes.push(\"cancel-pad\");\n }\n } else if (label === \"angl\") {\n inner.classes.push(\"anglpad\");\n } else {\n inner.classes.push(\"boxpad\");\n } // Add vertical padding\n\n\n let topPad = 0;\n let bottomPad = 0;\n let ruleThickness = 0; // ref: cancel package: \\advance\\totalheight2\\p@ % \"+2\"\n\n if (/box/.test(label)) {\n ruleThickness = Math.max(options.fontMetrics().fboxrule, // default\n options.minRuleThickness // User override.\n );\n topPad = options.fontMetrics().fboxsep + (label === \"colorbox\" ? 0 : ruleThickness);\n bottomPad = topPad;\n } else if (label === \"angl\") {\n ruleThickness = Math.max(options.fontMetrics().defaultRuleThickness, options.minRuleThickness);\n topPad = 4 * ruleThickness; // gap = 3 × line, plus the line itself.\n\n bottomPad = Math.max(0, 0.25 - inner.depth);\n } else {\n topPad = isSingleChar ? 0.2 : 0;\n bottomPad = topPad;\n }\n\n img = stretchy.encloseSpan(inner, label, topPad, bottomPad, options);\n\n if (/fbox|boxed|fcolorbox/.test(label)) {\n img.style.borderStyle = \"solid\";\n img.style.borderWidth = makeEm(ruleThickness);\n } else if (label === \"angl\" && ruleThickness !== 0.049) {\n img.style.borderTopWidth = makeEm(ruleThickness);\n img.style.borderRightWidth = makeEm(ruleThickness);\n }\n\n imgShift = inner.depth + bottomPad;\n\n if (group.backgroundColor) {\n img.style.backgroundColor = group.backgroundColor;\n\n if (group.borderColor) {\n img.style.borderColor = group.borderColor;\n }\n }\n }\n\n let vlist;\n\n if (group.backgroundColor) {\n vlist = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [// Put the color background behind inner;\n {\n type: \"elem\",\n elem: img,\n shift: imgShift\n }, {\n type: \"elem\",\n elem: inner,\n shift: 0\n }]\n }, options);\n } else {\n const classes = /cancel|phase/.test(label) ? [\"svg-align\"] : [];\n vlist = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [// Write the \\cancel stroke on top of inner.\n {\n type: \"elem\",\n elem: inner,\n shift: 0\n }, {\n type: \"elem\",\n elem: img,\n shift: imgShift,\n wrapperClasses: classes\n }]\n }, options);\n }\n\n if (/cancel/.test(label)) {\n // The cancel package documentation says that cancel lines add their height\n // to the expression, but tests show that isn't how it actually works.\n vlist.height = inner.height;\n vlist.depth = inner.depth;\n }\n\n if (/cancel/.test(label) && !isSingleChar) {\n // cancel does not create horiz space for its line extension.\n return buildCommon.makeSpan([\"mord\", \"cancel-lap\"], [vlist], options);\n } else {\n return buildCommon.makeSpan([\"mord\"], [vlist], options);\n }\n};\n\nconst enclose_mathmlBuilder = (group, options) => {\n let fboxsep = 0;\n const node = new mathMLTree.MathNode(group.label.indexOf(\"colorbox\") > -1 ? \"mpadded\" : \"menclose\", [buildMathML_buildGroup(group.body, options)]);\n\n switch (group.label) {\n case \"\\\\cancel\":\n node.setAttribute(\"notation\", \"updiagonalstrike\");\n break;\n\n case \"\\\\bcancel\":\n node.setAttribute(\"notation\", \"downdiagonalstrike\");\n break;\n\n case \"\\\\phase\":\n node.setAttribute(\"notation\", \"phasorangle\");\n break;\n\n case \"\\\\sout\":\n node.setAttribute(\"notation\", \"horizontalstrike\");\n break;\n\n case \"\\\\fbox\":\n node.setAttribute(\"notation\", \"box\");\n break;\n\n case \"\\\\angl\":\n node.setAttribute(\"notation\", \"actuarial\");\n break;\n\n case \"\\\\fcolorbox\":\n case \"\\\\colorbox\":\n // doesn't have a good notation option. So use \n // instead. Set some attributes that come included with .\n fboxsep = options.fontMetrics().fboxsep * options.fontMetrics().ptPerEm;\n node.setAttribute(\"width\", \"+\" + 2 * fboxsep + \"pt\");\n node.setAttribute(\"height\", \"+\" + 2 * fboxsep + \"pt\");\n node.setAttribute(\"lspace\", fboxsep + \"pt\"); //\n\n node.setAttribute(\"voffset\", fboxsep + \"pt\");\n\n if (group.label === \"\\\\fcolorbox\") {\n const thk = Math.max(options.fontMetrics().fboxrule, // default\n options.minRuleThickness // user override\n );\n node.setAttribute(\"style\", \"border: \" + thk + \"em solid \" + String(group.borderColor));\n }\n\n break;\n\n case \"\\\\xcancel\":\n node.setAttribute(\"notation\", \"updiagonalstrike downdiagonalstrike\");\n break;\n }\n\n if (group.backgroundColor) {\n node.setAttribute(\"mathbackground\", group.backgroundColor);\n }\n\n return node;\n};\n\ndefineFunction({\n type: \"enclose\",\n names: [\"\\\\colorbox\"],\n props: {\n numArgs: 2,\n allowedInText: true,\n argTypes: [\"color\", \"text\"]\n },\n\n handler(_ref, args, optArgs) {\n let {\n parser,\n funcName\n } = _ref;\n const color = assertNodeType(args[0], \"color-token\").color;\n const body = args[1];\n return {\n type: \"enclose\",\n mode: parser.mode,\n label: funcName,\n backgroundColor: color,\n body\n };\n },\n\n htmlBuilder: enclose_htmlBuilder,\n mathmlBuilder: enclose_mathmlBuilder\n});\ndefineFunction({\n type: \"enclose\",\n names: [\"\\\\fcolorbox\"],\n props: {\n numArgs: 3,\n allowedInText: true,\n argTypes: [\"color\", \"color\", \"text\"]\n },\n\n handler(_ref2, args, optArgs) {\n let {\n parser,\n funcName\n } = _ref2;\n const borderColor = assertNodeType(args[0], \"color-token\").color;\n const backgroundColor = assertNodeType(args[1], \"color-token\").color;\n const body = args[2];\n return {\n type: \"enclose\",\n mode: parser.mode,\n label: funcName,\n backgroundColor,\n borderColor,\n body\n };\n },\n\n htmlBuilder: enclose_htmlBuilder,\n mathmlBuilder: enclose_mathmlBuilder\n});\ndefineFunction({\n type: \"enclose\",\n names: [\"\\\\fbox\"],\n props: {\n numArgs: 1,\n argTypes: [\"hbox\"],\n allowedInText: true\n },\n\n handler(_ref3, args) {\n let {\n parser\n } = _ref3;\n return {\n type: \"enclose\",\n mode: parser.mode,\n label: \"\\\\fbox\",\n body: args[0]\n };\n }\n\n});\ndefineFunction({\n type: \"enclose\",\n names: [\"\\\\cancel\", \"\\\\bcancel\", \"\\\\xcancel\", \"\\\\sout\", \"\\\\phase\"],\n props: {\n numArgs: 1\n },\n\n handler(_ref4, args) {\n let {\n parser,\n funcName\n } = _ref4;\n const body = args[0];\n return {\n type: \"enclose\",\n mode: parser.mode,\n label: funcName,\n body\n };\n },\n\n htmlBuilder: enclose_htmlBuilder,\n mathmlBuilder: enclose_mathmlBuilder\n});\ndefineFunction({\n type: \"enclose\",\n names: [\"\\\\angl\"],\n props: {\n numArgs: 1,\n argTypes: [\"hbox\"],\n allowedInText: false\n },\n\n handler(_ref5, args) {\n let {\n parser\n } = _ref5;\n return {\n type: \"enclose\",\n mode: parser.mode,\n label: \"\\\\angl\",\n body: args[0]\n };\n }\n\n});\n;// CONCATENATED MODULE: ./src/defineEnvironment.js\n\n\n/**\n * All registered environments.\n * `environments.js` exports this same dictionary again and makes it public.\n * `Parser.js` requires this dictionary via `environments.js`.\n */\nconst _environments = {};\nfunction defineEnvironment(_ref) {\n let {\n type,\n names,\n props,\n handler,\n htmlBuilder,\n mathmlBuilder\n } = _ref;\n // Set default values of environments.\n const data = {\n type,\n numArgs: props.numArgs || 0,\n allowedInText: false,\n numOptionalArgs: 0,\n handler\n };\n\n for (let i = 0; i < names.length; ++i) {\n // TODO: The value type of _environments should be a type union of all\n // possible `EnvSpec<>` possibilities instead of `EnvSpec<*>`, which is\n // an existential type.\n _environments[names[i]] = data;\n }\n\n if (htmlBuilder) {\n _htmlGroupBuilders[type] = htmlBuilder;\n }\n\n if (mathmlBuilder) {\n _mathmlGroupBuilders[type] = mathmlBuilder;\n }\n}\n;// CONCATENATED MODULE: ./src/defineMacro.js\n\n\n/**\n * All registered global/built-in macros.\n * `macros.js` exports this same dictionary again and makes it public.\n * `Parser.js` requires this dictionary via `macros.js`.\n */\nconst _macros = {}; // This function might one day accept an additional argument and do more things.\n\nfunction defineMacro(name, body) {\n _macros[name] = body;\n}\n;// CONCATENATED MODULE: ./src/SourceLocation.js\n/**\n * Lexing or parsing positional information for error reporting.\n * This object is immutable.\n */\nclass SourceLocation {\n // The + prefix indicates that these fields aren't writeable\n // Lexer holding the input string.\n // Start offset, zero-based inclusive.\n // End offset, zero-based exclusive.\n constructor(lexer, start, end) {\n this.lexer = void 0;\n this.start = void 0;\n this.end = void 0;\n this.lexer = lexer;\n this.start = start;\n this.end = end;\n }\n /**\n * Merges two `SourceLocation`s from location providers, given they are\n * provided in order of appearance.\n * - Returns the first one's location if only the first is provided.\n * - Returns a merged range of the first and the last if both are provided\n * and their lexers match.\n * - Otherwise, returns null.\n */\n\n\n static range(first, second) {\n if (!second) {\n return first && first.loc;\n } else if (!first || !first.loc || !second.loc || first.loc.lexer !== second.loc.lexer) {\n return null;\n } else {\n return new SourceLocation(first.loc.lexer, first.loc.start, second.loc.end);\n }\n }\n\n}\n;// CONCATENATED MODULE: ./src/Token.js\n\n/**\n * Interface required to break circular dependency between Token, Lexer, and\n * ParseError.\n */\n\n/**\n * The resulting token returned from `lex`.\n *\n * It consists of the token text plus some position information.\n * The position information is essentially a range in an input string,\n * but instead of referencing the bare input string, we refer to the lexer.\n * That way it is possible to attach extra metadata to the input string,\n * like for example a file name or similar.\n *\n * The position information is optional, so it is OK to construct synthetic\n * tokens if appropriate. Not providing available position information may\n * lead to degraded error reporting, though.\n */\nclass Token {\n // don't expand the token\n // used in \\noexpand\n constructor(text, // the text of this token\n loc) {\n this.text = void 0;\n this.loc = void 0;\n this.noexpand = void 0;\n this.treatAsRelax = void 0;\n this.text = text;\n this.loc = loc;\n }\n /**\n * Given a pair of tokens (this and endToken), compute a `Token` encompassing\n * the whole input range enclosed by these two.\n */\n\n\n range(endToken, // last token of the range, inclusive\n text // the text of the newly constructed token\n ) {\n return new Token(text, SourceLocation.range(this, endToken));\n }\n\n}\n;// CONCATENATED MODULE: ./src/environments/array.js\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// Helper functions\nfunction getHLines(parser) {\n // Return an array. The array length = number of hlines.\n // Each element in the array tells if the line is dashed.\n const hlineInfo = [];\n parser.consumeSpaces();\n let nxt = parser.fetch().text;\n\n if (nxt === \"\\\\relax\") {\n // \\relax is an artifact of the \\cr macro below\n parser.consume();\n parser.consumeSpaces();\n nxt = parser.fetch().text;\n }\n\n while (nxt === \"\\\\hline\" || nxt === \"\\\\hdashline\") {\n parser.consume();\n hlineInfo.push(nxt === \"\\\\hdashline\");\n parser.consumeSpaces();\n nxt = parser.fetch().text;\n }\n\n return hlineInfo;\n}\n\nconst validateAmsEnvironmentContext = context => {\n const settings = context.parser.settings;\n\n if (!settings.displayMode) {\n throw new src_ParseError(\"{\" + context.envName + \"} can be used only in\" + \" display mode.\");\n }\n}; // autoTag (an argument to parseArray) can be one of three values:\n// * undefined: Regular (not-top-level) array; no tags on each row\n// * true: Automatic equation numbering, overridable by \\tag\n// * false: Tags allowed on each row, but no automatic numbering\n// This function *doesn't* work with the \"split\" environment name.\n\n\nfunction getAutoTag(name) {\n if (name.indexOf(\"ed\") === -1) {\n return name.indexOf(\"*\") === -1;\n } // return undefined;\n\n}\n/**\n * Parse the body of the environment, with rows delimited by \\\\ and\n * columns delimited by &, and create a nested list in row-major order\n * with one group per cell. If given an optional argument style\n * (\"text\", \"display\", etc.), then each cell is cast into that style.\n */\n\n\nfunction parseArray(parser, _ref, style) {\n let {\n hskipBeforeAndAfter,\n addJot,\n cols,\n arraystretch,\n colSeparationType,\n autoTag,\n singleRow,\n emptySingleRow,\n maxNumCols,\n leqno\n } = _ref;\n parser.gullet.beginGroup();\n\n if (!singleRow) {\n // \\cr is equivalent to \\\\ without the optional size argument (see below)\n // TODO: provide helpful error when \\cr is used outside array environment\n parser.gullet.macros.set(\"\\\\cr\", \"\\\\\\\\\\\\relax\");\n } // Get current arraystretch if it's not set by the environment\n\n\n if (!arraystretch) {\n const stretch = parser.gullet.expandMacroAsText(\"\\\\arraystretch\");\n\n if (stretch == null) {\n // Default \\arraystretch from lttab.dtx\n arraystretch = 1;\n } else {\n arraystretch = parseFloat(stretch);\n\n if (!arraystretch || arraystretch < 0) {\n throw new src_ParseError(\"Invalid \\\\arraystretch: \" + stretch);\n }\n }\n } // Start group for first cell\n\n\n parser.gullet.beginGroup();\n let row = [];\n const body = [row];\n const rowGaps = [];\n const hLinesBeforeRow = [];\n const tags = autoTag != null ? [] : undefined; // amsmath uses \\global\\@eqnswtrue and \\global\\@eqnswfalse to represent\n // whether this row should have an equation number. Simulate this with\n // a \\@eqnsw macro set to 1 or 0.\n\n function beginRow() {\n if (autoTag) {\n parser.gullet.macros.set(\"\\\\@eqnsw\", \"1\", true);\n }\n }\n\n function endRow() {\n if (tags) {\n if (parser.gullet.macros.get(\"\\\\df@tag\")) {\n tags.push(parser.subparse([new Token(\"\\\\df@tag\")]));\n parser.gullet.macros.set(\"\\\\df@tag\", undefined, true);\n } else {\n tags.push(Boolean(autoTag) && parser.gullet.macros.get(\"\\\\@eqnsw\") === \"1\");\n }\n }\n }\n\n beginRow(); // Test for \\hline at the top of the array.\n\n hLinesBeforeRow.push(getHLines(parser));\n\n while (true) {\n // eslint-disable-line no-constant-condition\n // Parse each cell in its own group (namespace)\n let cell = parser.parseExpression(false, singleRow ? \"\\\\end\" : \"\\\\\\\\\");\n parser.gullet.endGroup();\n parser.gullet.beginGroup();\n cell = {\n type: \"ordgroup\",\n mode: parser.mode,\n body: cell\n };\n\n if (style) {\n cell = {\n type: \"styling\",\n mode: parser.mode,\n style,\n body: [cell]\n };\n }\n\n row.push(cell);\n const next = parser.fetch().text;\n\n if (next === \"&\") {\n if (maxNumCols && row.length === maxNumCols) {\n if (singleRow || colSeparationType) {\n // {equation} or {split}\n throw new src_ParseError(\"Too many tab characters: &\", parser.nextToken);\n } else {\n // {array} environment\n parser.settings.reportNonstrict(\"textEnv\", \"Too few columns \" + \"specified in the {array} column argument.\");\n }\n }\n\n parser.consume();\n } else if (next === \"\\\\end\") {\n endRow(); // Arrays terminate newlines with `\\crcr` which consumes a `\\cr` if\n // the last line is empty. However, AMS environments keep the\n // empty row if it's the only one.\n // NOTE: Currently, `cell` is the last item added into `row`.\n\n if (row.length === 1 && cell.type === \"styling\" && cell.body[0].body.length === 0 && (body.length > 1 || !emptySingleRow)) {\n body.pop();\n }\n\n if (hLinesBeforeRow.length < body.length + 1) {\n hLinesBeforeRow.push([]);\n }\n\n break;\n } else if (next === \"\\\\\\\\\") {\n parser.consume();\n let size; // \\def\\Let@{\\let\\\\\\math@cr}\n // \\def\\math@cr{...\\math@cr@}\n // \\def\\math@cr@{\\new@ifnextchar[\\math@cr@@{\\math@cr@@[\\z@]}}\n // \\def\\math@cr@@[#1]{...\\math@cr@@@...}\n // \\def\\math@cr@@@{\\cr}\n\n if (parser.gullet.future().text !== \" \") {\n size = parser.parseSizeGroup(true);\n }\n\n rowGaps.push(size ? size.value : null);\n endRow(); // check for \\hline(s) following the row separator\n\n hLinesBeforeRow.push(getHLines(parser));\n row = [];\n body.push(row);\n beginRow();\n } else {\n throw new src_ParseError(\"Expected & or \\\\\\\\ or \\\\cr or \\\\end\", parser.nextToken);\n }\n } // End cell group\n\n\n parser.gullet.endGroup(); // End array group defining \\cr\n\n parser.gullet.endGroup();\n return {\n type: \"array\",\n mode: parser.mode,\n addJot,\n arraystretch,\n body,\n cols,\n rowGaps,\n hskipBeforeAndAfter,\n hLinesBeforeRow,\n colSeparationType,\n tags,\n leqno\n };\n} // Decides on a style for cells in an array according to whether the given\n// environment name starts with the letter 'd'.\n\n\nfunction dCellStyle(envName) {\n if (envName.slice(0, 1) === \"d\") {\n return \"display\";\n } else {\n return \"text\";\n }\n}\n\nconst array_htmlBuilder = function (group, options) {\n let r;\n let c;\n const nr = group.body.length;\n const hLinesBeforeRow = group.hLinesBeforeRow;\n let nc = 0;\n let body = new Array(nr);\n const hlines = [];\n const ruleThickness = Math.max( // From LaTeX \\showthe\\arrayrulewidth. Equals 0.04 em.\n options.fontMetrics().arrayRuleWidth, options.minRuleThickness // User override.\n ); // Horizontal spacing\n\n const pt = 1 / options.fontMetrics().ptPerEm;\n let arraycolsep = 5 * pt; // default value, i.e. \\arraycolsep in article.cls\n\n if (group.colSeparationType && group.colSeparationType === \"small\") {\n // We're in a {smallmatrix}. Default column space is \\thickspace,\n // i.e. 5/18em = 0.2778em, per amsmath.dtx for {smallmatrix}.\n // But that needs adjustment because LaTeX applies \\scriptstyle to the\n // entire array, including the colspace, but this function applies\n // \\scriptstyle only inside each element.\n const localMultiplier = options.havingStyle(src_Style.SCRIPT).sizeMultiplier;\n arraycolsep = 0.2778 * (localMultiplier / options.sizeMultiplier);\n } // Vertical spacing\n\n\n const baselineskip = group.colSeparationType === \"CD\" ? calculateSize({\n number: 3,\n unit: \"ex\"\n }, options) : 12 * pt; // see size10.clo\n // Default \\jot from ltmath.dtx\n // TODO(edemaine): allow overriding \\jot via \\setlength (#687)\n\n const jot = 3 * pt;\n const arrayskip = group.arraystretch * baselineskip;\n const arstrutHeight = 0.7 * arrayskip; // \\strutbox in ltfsstrc.dtx and\n\n const arstrutDepth = 0.3 * arrayskip; // \\@arstrutbox in lttab.dtx\n\n let totalHeight = 0; // Set a position for \\hline(s) at the top of the array, if any.\n\n function setHLinePos(hlinesInGap) {\n for (let i = 0; i < hlinesInGap.length; ++i) {\n if (i > 0) {\n totalHeight += 0.25;\n }\n\n hlines.push({\n pos: totalHeight,\n isDashed: hlinesInGap[i]\n });\n }\n }\n\n setHLinePos(hLinesBeforeRow[0]);\n\n for (r = 0; r < group.body.length; ++r) {\n const inrow = group.body[r];\n let height = arstrutHeight; // \\@array adds an \\@arstrut\n\n let depth = arstrutDepth; // to each tow (via the template)\n\n if (nc < inrow.length) {\n nc = inrow.length;\n }\n\n const outrow = new Array(inrow.length);\n\n for (c = 0; c < inrow.length; ++c) {\n const elt = buildGroup(inrow[c], options);\n\n if (depth < elt.depth) {\n depth = elt.depth;\n }\n\n if (height < elt.height) {\n height = elt.height;\n }\n\n outrow[c] = elt;\n }\n\n const rowGap = group.rowGaps[r];\n let gap = 0;\n\n if (rowGap) {\n gap = calculateSize(rowGap, options);\n\n if (gap > 0) {\n // \\@argarraycr\n gap += arstrutDepth;\n\n if (depth < gap) {\n depth = gap; // \\@xargarraycr\n }\n\n gap = 0;\n }\n } // In AMS multiline environments such as aligned and gathered, rows\n // correspond to lines that have additional \\jot added to the\n // \\baselineskip via \\openup.\n\n\n if (group.addJot) {\n depth += jot;\n }\n\n outrow.height = height;\n outrow.depth = depth;\n totalHeight += height;\n outrow.pos = totalHeight;\n totalHeight += depth + gap; // \\@yargarraycr\n\n body[r] = outrow; // Set a position for \\hline(s), if any.\n\n setHLinePos(hLinesBeforeRow[r + 1]);\n }\n\n const offset = totalHeight / 2 + options.fontMetrics().axisHeight;\n const colDescriptions = group.cols || [];\n const cols = [];\n let colSep;\n let colDescrNum;\n const tagSpans = [];\n\n if (group.tags && group.tags.some(tag => tag)) {\n // An environment with manual tags and/or automatic equation numbers.\n // Create node(s), the latter of which trigger CSS counter increment.\n for (r = 0; r < nr; ++r) {\n const rw = body[r];\n const shift = rw.pos - offset;\n const tag = group.tags[r];\n let tagSpan;\n\n if (tag === true) {\n // automatic numbering\n tagSpan = buildCommon.makeSpan([\"eqn-num\"], [], options);\n } else if (tag === false) {\n // \\nonumber/\\notag or starred environment\n tagSpan = buildCommon.makeSpan([], [], options);\n } else {\n // manual \\tag\n tagSpan = buildCommon.makeSpan([], buildExpression(tag, options, true), options);\n }\n\n tagSpan.depth = rw.depth;\n tagSpan.height = rw.height;\n tagSpans.push({\n type: \"elem\",\n elem: tagSpan,\n shift\n });\n }\n }\n\n for (c = 0, colDescrNum = 0; // Continue while either there are more columns or more column\n // descriptions, so trailing separators don't get lost.\n c < nc || colDescrNum < colDescriptions.length; ++c, ++colDescrNum) {\n let colDescr = colDescriptions[colDescrNum] || {};\n let firstSeparator = true;\n\n while (colDescr.type === \"separator\") {\n // If there is more than one separator in a row, add a space\n // between them.\n if (!firstSeparator) {\n colSep = buildCommon.makeSpan([\"arraycolsep\"], []);\n colSep.style.width = makeEm(options.fontMetrics().doubleRuleSep);\n cols.push(colSep);\n }\n\n if (colDescr.separator === \"|\" || colDescr.separator === \":\") {\n const lineType = colDescr.separator === \"|\" ? \"solid\" : \"dashed\";\n const separator = buildCommon.makeSpan([\"vertical-separator\"], [], options);\n separator.style.height = makeEm(totalHeight);\n separator.style.borderRightWidth = makeEm(ruleThickness);\n separator.style.borderRightStyle = lineType;\n separator.style.margin = \"0 \" + makeEm(-ruleThickness / 2);\n const shift = totalHeight - offset;\n\n if (shift) {\n separator.style.verticalAlign = makeEm(-shift);\n }\n\n cols.push(separator);\n } else {\n throw new src_ParseError(\"Invalid separator type: \" + colDescr.separator);\n }\n\n colDescrNum++;\n colDescr = colDescriptions[colDescrNum] || {};\n firstSeparator = false;\n }\n\n if (c >= nc) {\n continue;\n }\n\n let sepwidth;\n\n if (c > 0 || group.hskipBeforeAndAfter) {\n sepwidth = utils.deflt(colDescr.pregap, arraycolsep);\n\n if (sepwidth !== 0) {\n colSep = buildCommon.makeSpan([\"arraycolsep\"], []);\n colSep.style.width = makeEm(sepwidth);\n cols.push(colSep);\n }\n }\n\n let col = [];\n\n for (r = 0; r < nr; ++r) {\n const row = body[r];\n const elem = row[c];\n\n if (!elem) {\n continue;\n }\n\n const shift = row.pos - offset;\n elem.depth = row.depth;\n elem.height = row.height;\n col.push({\n type: \"elem\",\n elem: elem,\n shift: shift\n });\n }\n\n col = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: col\n }, options);\n col = buildCommon.makeSpan([\"col-align-\" + (colDescr.align || \"c\")], [col]);\n cols.push(col);\n\n if (c < nc - 1 || group.hskipBeforeAndAfter) {\n sepwidth = utils.deflt(colDescr.postgap, arraycolsep);\n\n if (sepwidth !== 0) {\n colSep = buildCommon.makeSpan([\"arraycolsep\"], []);\n colSep.style.width = makeEm(sepwidth);\n cols.push(colSep);\n }\n }\n }\n\n body = buildCommon.makeSpan([\"mtable\"], cols); // Add \\hline(s), if any.\n\n if (hlines.length > 0) {\n const line = buildCommon.makeLineSpan(\"hline\", options, ruleThickness);\n const dashes = buildCommon.makeLineSpan(\"hdashline\", options, ruleThickness);\n const vListElems = [{\n type: \"elem\",\n elem: body,\n shift: 0\n }];\n\n while (hlines.length > 0) {\n const hline = hlines.pop();\n const lineShift = hline.pos - offset;\n\n if (hline.isDashed) {\n vListElems.push({\n type: \"elem\",\n elem: dashes,\n shift: lineShift\n });\n } else {\n vListElems.push({\n type: \"elem\",\n elem: line,\n shift: lineShift\n });\n }\n }\n\n body = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: vListElems\n }, options);\n }\n\n if (tagSpans.length === 0) {\n return buildCommon.makeSpan([\"mord\"], [body], options);\n } else {\n let eqnNumCol = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: tagSpans\n }, options);\n eqnNumCol = buildCommon.makeSpan([\"tag\"], [eqnNumCol], options);\n return buildCommon.makeFragment([body, eqnNumCol]);\n }\n};\n\nconst alignMap = {\n c: \"center \",\n l: \"left \",\n r: \"right \"\n};\n\nconst array_mathmlBuilder = function (group, options) {\n const tbl = [];\n const glue = new mathMLTree.MathNode(\"mtd\", [], [\"mtr-glue\"]);\n const tag = new mathMLTree.MathNode(\"mtd\", [], [\"mml-eqn-num\"]);\n\n for (let i = 0; i < group.body.length; i++) {\n const rw = group.body[i];\n const row = [];\n\n for (let j = 0; j < rw.length; j++) {\n row.push(new mathMLTree.MathNode(\"mtd\", [buildMathML_buildGroup(rw[j], options)]));\n }\n\n if (group.tags && group.tags[i]) {\n row.unshift(glue);\n row.push(glue);\n\n if (group.leqno) {\n row.unshift(tag);\n } else {\n row.push(tag);\n }\n }\n\n tbl.push(new mathMLTree.MathNode(\"mtr\", row));\n }\n\n let table = new mathMLTree.MathNode(\"mtable\", tbl); // Set column alignment, row spacing, column spacing, and\n // array lines by setting attributes on the table element.\n // Set the row spacing. In MathML, we specify a gap distance.\n // We do not use rowGap[] because MathML automatically increases\n // cell height with the height/depth of the element content.\n // LaTeX \\arraystretch multiplies the row baseline-to-baseline distance.\n // We simulate this by adding (arraystretch - 1)em to the gap. This\n // does a reasonable job of adjusting arrays containing 1 em tall content.\n // The 0.16 and 0.09 values are found empirically. They produce an array\n // similar to LaTeX and in which content does not interfere with \\hlines.\n\n const gap = group.arraystretch === 0.5 ? 0.1 // {smallmatrix}, {subarray}\n : 0.16 + group.arraystretch - 1 + (group.addJot ? 0.09 : 0);\n table.setAttribute(\"rowspacing\", makeEm(gap)); // MathML table lines go only between cells.\n // To place a line on an edge we'll use , if necessary.\n\n let menclose = \"\";\n let align = \"\";\n\n if (group.cols && group.cols.length > 0) {\n // Find column alignment, column spacing, and vertical lines.\n const cols = group.cols;\n let columnLines = \"\";\n let prevTypeWasAlign = false;\n let iStart = 0;\n let iEnd = cols.length;\n\n if (cols[0].type === \"separator\") {\n menclose += \"top \";\n iStart = 1;\n }\n\n if (cols[cols.length - 1].type === \"separator\") {\n menclose += \"bottom \";\n iEnd -= 1;\n }\n\n for (let i = iStart; i < iEnd; i++) {\n if (cols[i].type === \"align\") {\n align += alignMap[cols[i].align];\n\n if (prevTypeWasAlign) {\n columnLines += \"none \";\n }\n\n prevTypeWasAlign = true;\n } else if (cols[i].type === \"separator\") {\n // MathML accepts only single lines between cells.\n // So we read only the first of consecutive separators.\n if (prevTypeWasAlign) {\n columnLines += cols[i].separator === \"|\" ? \"solid \" : \"dashed \";\n prevTypeWasAlign = false;\n }\n }\n }\n\n table.setAttribute(\"columnalign\", align.trim());\n\n if (/[sd]/.test(columnLines)) {\n table.setAttribute(\"columnlines\", columnLines.trim());\n }\n } // Set column spacing.\n\n\n if (group.colSeparationType === \"align\") {\n const cols = group.cols || [];\n let spacing = \"\";\n\n for (let i = 1; i < cols.length; i++) {\n spacing += i % 2 ? \"0em \" : \"1em \";\n }\n\n table.setAttribute(\"columnspacing\", spacing.trim());\n } else if (group.colSeparationType === \"alignat\" || group.colSeparationType === \"gather\") {\n table.setAttribute(\"columnspacing\", \"0em\");\n } else if (group.colSeparationType === \"small\") {\n table.setAttribute(\"columnspacing\", \"0.2778em\");\n } else if (group.colSeparationType === \"CD\") {\n table.setAttribute(\"columnspacing\", \"0.5em\");\n } else {\n table.setAttribute(\"columnspacing\", \"1em\");\n } // Address \\hline and \\hdashline\n\n\n let rowLines = \"\";\n const hlines = group.hLinesBeforeRow;\n menclose += hlines[0].length > 0 ? \"left \" : \"\";\n menclose += hlines[hlines.length - 1].length > 0 ? \"right \" : \"\";\n\n for (let i = 1; i < hlines.length - 1; i++) {\n rowLines += hlines[i].length === 0 ? \"none \" // MathML accepts only a single line between rows. Read one element.\n : hlines[i][0] ? \"dashed \" : \"solid \";\n }\n\n if (/[sd]/.test(rowLines)) {\n table.setAttribute(\"rowlines\", rowLines.trim());\n }\n\n if (menclose !== \"\") {\n table = new mathMLTree.MathNode(\"menclose\", [table]);\n table.setAttribute(\"notation\", menclose.trim());\n }\n\n if (group.arraystretch && group.arraystretch < 1) {\n // A small array. Wrap in scriptstyle so row gap is not too large.\n table = new mathMLTree.MathNode(\"mstyle\", [table]);\n table.setAttribute(\"scriptlevel\", \"1\");\n }\n\n return table;\n}; // Convenience function for align, align*, aligned, alignat, alignat*, alignedat.\n\n\nconst alignedHandler = function (context, args) {\n if (context.envName.indexOf(\"ed\") === -1) {\n validateAmsEnvironmentContext(context);\n }\n\n const cols = [];\n const separationType = context.envName.indexOf(\"at\") > -1 ? \"alignat\" : \"align\";\n const isSplit = context.envName === \"split\";\n const res = parseArray(context.parser, {\n cols,\n addJot: true,\n autoTag: isSplit ? undefined : getAutoTag(context.envName),\n emptySingleRow: true,\n colSeparationType: separationType,\n maxNumCols: isSplit ? 2 : undefined,\n leqno: context.parser.settings.leqno\n }, \"display\"); // Determining number of columns.\n // 1. If the first argument is given, we use it as a number of columns,\n // and makes sure that each row doesn't exceed that number.\n // 2. Otherwise, just count number of columns = maximum number\n // of cells in each row (\"aligned\" mode -- isAligned will be true).\n //\n // At the same time, prepend empty group {} at beginning of every second\n // cell in each row (starting with second cell) so that operators become\n // binary. This behavior is implemented in amsmath's \\start@aligned.\n\n let numMaths;\n let numCols = 0;\n const emptyGroup = {\n type: \"ordgroup\",\n mode: context.mode,\n body: []\n };\n\n if (args[0] && args[0].type === \"ordgroup\") {\n let arg0 = \"\";\n\n for (let i = 0; i < args[0].body.length; i++) {\n const textord = assertNodeType(args[0].body[i], \"textord\");\n arg0 += textord.text;\n }\n\n numMaths = Number(arg0);\n numCols = numMaths * 2;\n }\n\n const isAligned = !numCols;\n res.body.forEach(function (row) {\n for (let i = 1; i < row.length; i += 2) {\n // Modify ordgroup node within styling node\n const styling = assertNodeType(row[i], \"styling\");\n const ordgroup = assertNodeType(styling.body[0], \"ordgroup\");\n ordgroup.body.unshift(emptyGroup);\n }\n\n if (!isAligned) {\n // Case 1\n const curMaths = row.length / 2;\n\n if (numMaths < curMaths) {\n throw new src_ParseError(\"Too many math in a row: \" + (\"expected \" + numMaths + \", but got \" + curMaths), row[0]);\n }\n } else if (numCols < row.length) {\n // Case 2\n numCols = row.length;\n }\n }); // Adjusting alignment.\n // In aligned mode, we add one \\qquad between columns;\n // otherwise we add nothing.\n\n for (let i = 0; i < numCols; ++i) {\n let align = \"r\";\n let pregap = 0;\n\n if (i % 2 === 1) {\n align = \"l\";\n } else if (i > 0 && isAligned) {\n // \"aligned\" mode.\n pregap = 1; // add one \\quad\n }\n\n cols[i] = {\n type: \"align\",\n align: align,\n pregap: pregap,\n postgap: 0\n };\n }\n\n res.colSeparationType = isAligned ? \"align\" : \"alignat\";\n return res;\n}; // Arrays are part of LaTeX, defined in lttab.dtx so its documentation\n// is part of the source2e.pdf file of LaTeX2e source documentation.\n// {darray} is an {array} environment where cells are set in \\displaystyle,\n// as defined in nccmath.sty.\n\n\ndefineEnvironment({\n type: \"array\",\n names: [\"array\", \"darray\"],\n props: {\n numArgs: 1\n },\n\n handler(context, args) {\n // Since no types are specified above, the two possibilities are\n // - The argument is wrapped in {} or [], in which case Parser's\n // parseGroup() returns an \"ordgroup\" wrapping some symbol node.\n // - The argument is a bare symbol node.\n const symNode = checkSymbolNodeType(args[0]);\n const colalign = symNode ? [args[0]] : assertNodeType(args[0], \"ordgroup\").body;\n const cols = colalign.map(function (nde) {\n const node = assertSymbolNodeType(nde);\n const ca = node.text;\n\n if (\"lcr\".indexOf(ca) !== -1) {\n return {\n type: \"align\",\n align: ca\n };\n } else if (ca === \"|\") {\n return {\n type: \"separator\",\n separator: \"|\"\n };\n } else if (ca === \":\") {\n return {\n type: \"separator\",\n separator: \":\"\n };\n }\n\n throw new src_ParseError(\"Unknown column alignment: \" + ca, nde);\n });\n const res = {\n cols,\n hskipBeforeAndAfter: true,\n // \\@preamble in lttab.dtx\n maxNumCols: cols.length\n };\n return parseArray(context.parser, res, dCellStyle(context.envName));\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n}); // The matrix environments of amsmath builds on the array environment\n// of LaTeX, which is discussed above.\n// The mathtools package adds starred versions of the same environments.\n// These have an optional argument to choose left|center|right justification.\n\ndefineEnvironment({\n type: \"array\",\n names: [\"matrix\", \"pmatrix\", \"bmatrix\", \"Bmatrix\", \"vmatrix\", \"Vmatrix\", \"matrix*\", \"pmatrix*\", \"bmatrix*\", \"Bmatrix*\", \"vmatrix*\", \"Vmatrix*\"],\n props: {\n numArgs: 0\n },\n\n handler(context) {\n const delimiters = {\n \"matrix\": null,\n \"pmatrix\": [\"(\", \")\"],\n \"bmatrix\": [\"[\", \"]\"],\n \"Bmatrix\": [\"\\\\{\", \"\\\\}\"],\n \"vmatrix\": [\"|\", \"|\"],\n \"Vmatrix\": [\"\\\\Vert\", \"\\\\Vert\"]\n }[context.envName.replace(\"*\", \"\")]; // \\hskip -\\arraycolsep in amsmath\n\n let colAlign = \"c\";\n const payload = {\n hskipBeforeAndAfter: false,\n cols: [{\n type: \"align\",\n align: colAlign\n }]\n };\n\n if (context.envName.charAt(context.envName.length - 1) === \"*\") {\n // It's one of the mathtools starred functions.\n // Parse the optional alignment argument.\n const parser = context.parser;\n parser.consumeSpaces();\n\n if (parser.fetch().text === \"[\") {\n parser.consume();\n parser.consumeSpaces();\n colAlign = parser.fetch().text;\n\n if (\"lcr\".indexOf(colAlign) === -1) {\n throw new src_ParseError(\"Expected l or c or r\", parser.nextToken);\n }\n\n parser.consume();\n parser.consumeSpaces();\n parser.expect(\"]\");\n parser.consume();\n payload.cols = [{\n type: \"align\",\n align: colAlign\n }];\n }\n }\n\n const res = parseArray(context.parser, payload, dCellStyle(context.envName)); // Populate cols with the correct number of column alignment specs.\n\n const numCols = Math.max(0, ...res.body.map(row => row.length));\n res.cols = new Array(numCols).fill({\n type: \"align\",\n align: colAlign\n });\n return delimiters ? {\n type: \"leftright\",\n mode: context.mode,\n body: [res],\n left: delimiters[0],\n right: delimiters[1],\n rightColor: undefined // \\right uninfluenced by \\color in array\n\n } : res;\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n});\ndefineEnvironment({\n type: \"array\",\n names: [\"smallmatrix\"],\n props: {\n numArgs: 0\n },\n\n handler(context) {\n const payload = {\n arraystretch: 0.5\n };\n const res = parseArray(context.parser, payload, \"script\");\n res.colSeparationType = \"small\";\n return res;\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n});\ndefineEnvironment({\n type: \"array\",\n names: [\"subarray\"],\n props: {\n numArgs: 1\n },\n\n handler(context, args) {\n // Parsing of {subarray} is similar to {array}\n const symNode = checkSymbolNodeType(args[0]);\n const colalign = symNode ? [args[0]] : assertNodeType(args[0], \"ordgroup\").body;\n const cols = colalign.map(function (nde) {\n const node = assertSymbolNodeType(nde);\n const ca = node.text; // {subarray} only recognizes \"l\" & \"c\"\n\n if (\"lc\".indexOf(ca) !== -1) {\n return {\n type: \"align\",\n align: ca\n };\n }\n\n throw new src_ParseError(\"Unknown column alignment: \" + ca, nde);\n });\n\n if (cols.length > 1) {\n throw new src_ParseError(\"{subarray} can contain only one column\");\n }\n\n let res = {\n cols,\n hskipBeforeAndAfter: false,\n arraystretch: 0.5\n };\n res = parseArray(context.parser, res, \"script\");\n\n if (res.body.length > 0 && res.body[0].length > 1) {\n throw new src_ParseError(\"{subarray} can contain only one column\");\n }\n\n return res;\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n}); // A cases environment (in amsmath.sty) is almost equivalent to\n// \\def\\arraystretch{1.2}%\n// \\left\\{\\begin{array}{@{}l@{\\quad}l@{}} … \\end{array}\\right.\n// {dcases} is a {cases} environment where cells are set in \\displaystyle,\n// as defined in mathtools.sty.\n// {rcases} is another mathtools environment. It's brace is on the right side.\n\ndefineEnvironment({\n type: \"array\",\n names: [\"cases\", \"dcases\", \"rcases\", \"drcases\"],\n props: {\n numArgs: 0\n },\n\n handler(context) {\n const payload = {\n arraystretch: 1.2,\n cols: [{\n type: \"align\",\n align: \"l\",\n pregap: 0,\n // TODO(kevinb) get the current style.\n // For now we use the metrics for TEXT style which is what we were\n // doing before. Before attempting to get the current style we\n // should look at TeX's behavior especially for \\over and matrices.\n postgap: 1.0\n /* 1em quad */\n\n }, {\n type: \"align\",\n align: \"l\",\n pregap: 0,\n postgap: 0\n }]\n };\n const res = parseArray(context.parser, payload, dCellStyle(context.envName));\n return {\n type: \"leftright\",\n mode: context.mode,\n body: [res],\n left: context.envName.indexOf(\"r\") > -1 ? \".\" : \"\\\\{\",\n right: context.envName.indexOf(\"r\") > -1 ? \"\\\\}\" : \".\",\n rightColor: undefined\n };\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n}); // In the align environment, one uses ampersands, &, to specify number of\n// columns in each row, and to locate spacing between each column.\n// align gets automatic numbering. align* and aligned do not.\n// The alignedat environment can be used in math mode.\n// Note that we assume \\nomallineskiplimit to be zero,\n// so that \\strut@ is the same as \\strut.\n\ndefineEnvironment({\n type: \"array\",\n names: [\"align\", \"align*\", \"aligned\", \"split\"],\n props: {\n numArgs: 0\n },\n handler: alignedHandler,\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n}); // A gathered environment is like an array environment with one centered\n// column, but where rows are considered lines so get \\jot line spacing\n// and contents are set in \\displaystyle.\n\ndefineEnvironment({\n type: \"array\",\n names: [\"gathered\", \"gather\", \"gather*\"],\n props: {\n numArgs: 0\n },\n\n handler(context) {\n if (utils.contains([\"gather\", \"gather*\"], context.envName)) {\n validateAmsEnvironmentContext(context);\n }\n\n const res = {\n cols: [{\n type: \"align\",\n align: \"c\"\n }],\n addJot: true,\n colSeparationType: \"gather\",\n autoTag: getAutoTag(context.envName),\n emptySingleRow: true,\n leqno: context.parser.settings.leqno\n };\n return parseArray(context.parser, res, \"display\");\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n}); // alignat environment is like an align environment, but one must explicitly\n// specify maximum number of columns in each row, and can adjust spacing between\n// each columns.\n\ndefineEnvironment({\n type: \"array\",\n names: [\"alignat\", \"alignat*\", \"alignedat\"],\n props: {\n numArgs: 1\n },\n handler: alignedHandler,\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n});\ndefineEnvironment({\n type: \"array\",\n names: [\"equation\", \"equation*\"],\n props: {\n numArgs: 0\n },\n\n handler(context) {\n validateAmsEnvironmentContext(context);\n const res = {\n autoTag: getAutoTag(context.envName),\n emptySingleRow: true,\n singleRow: true,\n maxNumCols: 1,\n leqno: context.parser.settings.leqno\n };\n return parseArray(context.parser, res, \"display\");\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n});\ndefineEnvironment({\n type: \"array\",\n names: [\"CD\"],\n props: {\n numArgs: 0\n },\n\n handler(context) {\n validateAmsEnvironmentContext(context);\n return parseCD(context.parser);\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n});\ndefineMacro(\"\\\\nonumber\", \"\\\\gdef\\\\@eqnsw{0}\");\ndefineMacro(\"\\\\notag\", \"\\\\nonumber\"); // Catch \\hline outside array environment\n\ndefineFunction({\n type: \"text\",\n // Doesn't matter what this is.\n names: [\"\\\\hline\", \"\\\\hdashline\"],\n props: {\n numArgs: 0,\n allowedInText: true,\n allowedInMath: true\n },\n\n handler(context, args) {\n throw new src_ParseError(context.funcName + \" valid only within array environment\");\n }\n\n});\n;// CONCATENATED MODULE: ./src/environments.js\n\nconst environments = _environments;\n/* harmony default export */ var src_environments = (environments); // All environment definitions should be imported below\n\n\n;// CONCATENATED MODULE: ./src/functions/environment.js\n\n\n\n // Environment delimiters. HTML/MathML rendering is defined in the corresponding\n// defineEnvironment definitions.\n\ndefineFunction({\n type: \"environment\",\n names: [\"\\\\begin\", \"\\\\end\"],\n props: {\n numArgs: 1,\n argTypes: [\"text\"]\n },\n\n handler(_ref, args) {\n let {\n parser,\n funcName\n } = _ref;\n const nameGroup = args[0];\n\n if (nameGroup.type !== \"ordgroup\") {\n throw new src_ParseError(\"Invalid environment name\", nameGroup);\n }\n\n let envName = \"\";\n\n for (let i = 0; i < nameGroup.body.length; ++i) {\n envName += assertNodeType(nameGroup.body[i], \"textord\").text;\n }\n\n if (funcName === \"\\\\begin\") {\n // begin...end is similar to left...right\n if (!src_environments.hasOwnProperty(envName)) {\n throw new src_ParseError(\"No such environment: \" + envName, nameGroup);\n } // Build the environment object. Arguments and other information will\n // be made available to the begin and end methods using properties.\n\n\n const env = src_environments[envName];\n const {\n args,\n optArgs\n } = parser.parseArguments(\"\\\\begin{\" + envName + \"}\", env);\n const context = {\n mode: parser.mode,\n envName,\n parser\n };\n const result = env.handler(context, args, optArgs);\n parser.expect(\"\\\\end\", false);\n const endNameToken = parser.nextToken;\n const end = assertNodeType(parser.parseFunction(), \"environment\");\n\n if (end.name !== envName) {\n throw new src_ParseError(\"Mismatch: \\\\begin{\" + envName + \"} matched by \\\\end{\" + end.name + \"}\", endNameToken);\n } // $FlowFixMe, \"environment\" handler returns an environment ParseNode\n\n\n return result;\n }\n\n return {\n type: \"environment\",\n mode: parser.mode,\n name: envName,\n nameGroup\n };\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/font.js\n// TODO(kevinb): implement \\\\sl and \\\\sc\n\n\n\n\n\n\nconst font_htmlBuilder = (group, options) => {\n const font = group.font;\n const newOptions = options.withFont(font);\n return buildGroup(group.body, newOptions);\n};\n\nconst font_mathmlBuilder = (group, options) => {\n const font = group.font;\n const newOptions = options.withFont(font);\n return buildMathML_buildGroup(group.body, newOptions);\n};\n\nconst fontAliases = {\n \"\\\\Bbb\": \"\\\\mathbb\",\n \"\\\\bold\": \"\\\\mathbf\",\n \"\\\\frak\": \"\\\\mathfrak\",\n \"\\\\bm\": \"\\\\boldsymbol\"\n};\ndefineFunction({\n type: \"font\",\n names: [// styles, except \\boldsymbol defined below\n \"\\\\mathrm\", \"\\\\mathit\", \"\\\\mathbf\", \"\\\\mathnormal\", // families\n \"\\\\mathbb\", \"\\\\mathcal\", \"\\\\mathfrak\", \"\\\\mathscr\", \"\\\\mathsf\", \"\\\\mathtt\", // aliases, except \\bm defined below\n \"\\\\Bbb\", \"\\\\bold\", \"\\\\frak\"],\n props: {\n numArgs: 1,\n allowedInArgument: true\n },\n handler: (_ref, args) => {\n let {\n parser,\n funcName\n } = _ref;\n const body = normalizeArgument(args[0]);\n let func = funcName;\n\n if (func in fontAliases) {\n func = fontAliases[func];\n }\n\n return {\n type: \"font\",\n mode: parser.mode,\n font: func.slice(1),\n body\n };\n },\n htmlBuilder: font_htmlBuilder,\n mathmlBuilder: font_mathmlBuilder\n});\ndefineFunction({\n type: \"mclass\",\n names: [\"\\\\boldsymbol\", \"\\\\bm\"],\n props: {\n numArgs: 1\n },\n handler: (_ref2, args) => {\n let {\n parser\n } = _ref2;\n const body = args[0];\n const isCharacterBox = utils.isCharacterBox(body); // amsbsy.sty's \\boldsymbol uses \\binrel spacing to inherit the\n // argument's bin|rel|ord status\n\n return {\n type: \"mclass\",\n mode: parser.mode,\n mclass: binrelClass(body),\n body: [{\n type: \"font\",\n mode: parser.mode,\n font: \"boldsymbol\",\n body\n }],\n isCharacterBox: isCharacterBox\n };\n }\n}); // Old font changing functions\n\ndefineFunction({\n type: \"font\",\n names: [\"\\\\rm\", \"\\\\sf\", \"\\\\tt\", \"\\\\bf\", \"\\\\it\", \"\\\\cal\"],\n props: {\n numArgs: 0,\n allowedInText: true\n },\n handler: (_ref3, args) => {\n let {\n parser,\n funcName,\n breakOnTokenText\n } = _ref3;\n const {\n mode\n } = parser;\n const body = parser.parseExpression(true, breakOnTokenText);\n const style = \"math\" + funcName.slice(1);\n return {\n type: \"font\",\n mode: mode,\n font: style,\n body: {\n type: \"ordgroup\",\n mode: parser.mode,\n body\n }\n };\n },\n htmlBuilder: font_htmlBuilder,\n mathmlBuilder: font_mathmlBuilder\n});\n;// CONCATENATED MODULE: ./src/functions/genfrac.js\n\n\n\n\n\n\n\n\n\n\n\nconst adjustStyle = (size, originalStyle) => {\n // Figure out what style this fraction should be in based on the\n // function used\n let style = originalStyle;\n\n if (size === \"display\") {\n // Get display style as a default.\n // If incoming style is sub/sup, use style.text() to get correct size.\n style = style.id >= src_Style.SCRIPT.id ? style.text() : src_Style.DISPLAY;\n } else if (size === \"text\" && style.size === src_Style.DISPLAY.size) {\n // We're in a \\tfrac but incoming style is displaystyle, so:\n style = src_Style.TEXT;\n } else if (size === \"script\") {\n style = src_Style.SCRIPT;\n } else if (size === \"scriptscript\") {\n style = src_Style.SCRIPTSCRIPT;\n }\n\n return style;\n};\n\nconst genfrac_htmlBuilder = (group, options) => {\n // Fractions are handled in the TeXbook on pages 444-445, rules 15(a-e).\n const style = adjustStyle(group.size, options.style);\n const nstyle = style.fracNum();\n const dstyle = style.fracDen();\n let newOptions;\n newOptions = options.havingStyle(nstyle);\n const numerm = buildGroup(group.numer, newOptions, options);\n\n if (group.continued) {\n // \\cfrac inserts a \\strut into the numerator.\n // Get \\strut dimensions from TeXbook page 353.\n const hStrut = 8.5 / options.fontMetrics().ptPerEm;\n const dStrut = 3.5 / options.fontMetrics().ptPerEm;\n numerm.height = numerm.height < hStrut ? hStrut : numerm.height;\n numerm.depth = numerm.depth < dStrut ? dStrut : numerm.depth;\n }\n\n newOptions = options.havingStyle(dstyle);\n const denomm = buildGroup(group.denom, newOptions, options);\n let rule;\n let ruleWidth;\n let ruleSpacing;\n\n if (group.hasBarLine) {\n if (group.barSize) {\n ruleWidth = calculateSize(group.barSize, options);\n rule = buildCommon.makeLineSpan(\"frac-line\", options, ruleWidth);\n } else {\n rule = buildCommon.makeLineSpan(\"frac-line\", options);\n }\n\n ruleWidth = rule.height;\n ruleSpacing = rule.height;\n } else {\n rule = null;\n ruleWidth = 0;\n ruleSpacing = options.fontMetrics().defaultRuleThickness;\n } // Rule 15b\n\n\n let numShift;\n let clearance;\n let denomShift;\n\n if (style.size === src_Style.DISPLAY.size || group.size === \"display\") {\n numShift = options.fontMetrics().num1;\n\n if (ruleWidth > 0) {\n clearance = 3 * ruleSpacing;\n } else {\n clearance = 7 * ruleSpacing;\n }\n\n denomShift = options.fontMetrics().denom1;\n } else {\n if (ruleWidth > 0) {\n numShift = options.fontMetrics().num2;\n clearance = ruleSpacing;\n } else {\n numShift = options.fontMetrics().num3;\n clearance = 3 * ruleSpacing;\n }\n\n denomShift = options.fontMetrics().denom2;\n }\n\n let frac;\n\n if (!rule) {\n // Rule 15c\n const candidateClearance = numShift - numerm.depth - (denomm.height - denomShift);\n\n if (candidateClearance < clearance) {\n numShift += 0.5 * (clearance - candidateClearance);\n denomShift += 0.5 * (clearance - candidateClearance);\n }\n\n frac = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [{\n type: \"elem\",\n elem: denomm,\n shift: denomShift\n }, {\n type: \"elem\",\n elem: numerm,\n shift: -numShift\n }]\n }, options);\n } else {\n // Rule 15d\n const axisHeight = options.fontMetrics().axisHeight;\n\n if (numShift - numerm.depth - (axisHeight + 0.5 * ruleWidth) < clearance) {\n numShift += clearance - (numShift - numerm.depth - (axisHeight + 0.5 * ruleWidth));\n }\n\n if (axisHeight - 0.5 * ruleWidth - (denomm.height - denomShift) < clearance) {\n denomShift += clearance - (axisHeight - 0.5 * ruleWidth - (denomm.height - denomShift));\n }\n\n const midShift = -(axisHeight - 0.5 * ruleWidth);\n frac = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [{\n type: \"elem\",\n elem: denomm,\n shift: denomShift\n }, {\n type: \"elem\",\n elem: rule,\n shift: midShift\n }, {\n type: \"elem\",\n elem: numerm,\n shift: -numShift\n }]\n }, options);\n } // Since we manually change the style sometimes (with \\dfrac or \\tfrac),\n // account for the possible size change here.\n\n\n newOptions = options.havingStyle(style);\n frac.height *= newOptions.sizeMultiplier / options.sizeMultiplier;\n frac.depth *= newOptions.sizeMultiplier / options.sizeMultiplier; // Rule 15e\n\n let delimSize;\n\n if (style.size === src_Style.DISPLAY.size) {\n delimSize = options.fontMetrics().delim1;\n } else if (style.size === src_Style.SCRIPTSCRIPT.size) {\n delimSize = options.havingStyle(src_Style.SCRIPT).fontMetrics().delim2;\n } else {\n delimSize = options.fontMetrics().delim2;\n }\n\n let leftDelim;\n let rightDelim;\n\n if (group.leftDelim == null) {\n leftDelim = makeNullDelimiter(options, [\"mopen\"]);\n } else {\n leftDelim = delimiter.customSizedDelim(group.leftDelim, delimSize, true, options.havingStyle(style), group.mode, [\"mopen\"]);\n }\n\n if (group.continued) {\n rightDelim = buildCommon.makeSpan([]); // zero width for \\cfrac\n } else if (group.rightDelim == null) {\n rightDelim = makeNullDelimiter(options, [\"mclose\"]);\n } else {\n rightDelim = delimiter.customSizedDelim(group.rightDelim, delimSize, true, options.havingStyle(style), group.mode, [\"mclose\"]);\n }\n\n return buildCommon.makeSpan([\"mord\"].concat(newOptions.sizingClasses(options)), [leftDelim, buildCommon.makeSpan([\"mfrac\"], [frac]), rightDelim], options);\n};\n\nconst genfrac_mathmlBuilder = (group, options) => {\n let node = new mathMLTree.MathNode(\"mfrac\", [buildMathML_buildGroup(group.numer, options), buildMathML_buildGroup(group.denom, options)]);\n\n if (!group.hasBarLine) {\n node.setAttribute(\"linethickness\", \"0px\");\n } else if (group.barSize) {\n const ruleWidth = calculateSize(group.barSize, options);\n node.setAttribute(\"linethickness\", makeEm(ruleWidth));\n }\n\n const style = adjustStyle(group.size, options.style);\n\n if (style.size !== options.style.size) {\n node = new mathMLTree.MathNode(\"mstyle\", [node]);\n const isDisplay = style.size === src_Style.DISPLAY.size ? \"true\" : \"false\";\n node.setAttribute(\"displaystyle\", isDisplay);\n node.setAttribute(\"scriptlevel\", \"0\");\n }\n\n if (group.leftDelim != null || group.rightDelim != null) {\n const withDelims = [];\n\n if (group.leftDelim != null) {\n const leftOp = new mathMLTree.MathNode(\"mo\", [new mathMLTree.TextNode(group.leftDelim.replace(\"\\\\\", \"\"))]);\n leftOp.setAttribute(\"fence\", \"true\");\n withDelims.push(leftOp);\n }\n\n withDelims.push(node);\n\n if (group.rightDelim != null) {\n const rightOp = new mathMLTree.MathNode(\"mo\", [new mathMLTree.TextNode(group.rightDelim.replace(\"\\\\\", \"\"))]);\n rightOp.setAttribute(\"fence\", \"true\");\n withDelims.push(rightOp);\n }\n\n return makeRow(withDelims);\n }\n\n return node;\n};\n\ndefineFunction({\n type: \"genfrac\",\n names: [\"\\\\dfrac\", \"\\\\frac\", \"\\\\tfrac\", \"\\\\dbinom\", \"\\\\binom\", \"\\\\tbinom\", \"\\\\\\\\atopfrac\", // can’t be entered directly\n \"\\\\\\\\bracefrac\", \"\\\\\\\\brackfrac\" // ditto\n ],\n props: {\n numArgs: 2,\n allowedInArgument: true\n },\n handler: (_ref, args) => {\n let {\n parser,\n funcName\n } = _ref;\n const numer = args[0];\n const denom = args[1];\n let hasBarLine;\n let leftDelim = null;\n let rightDelim = null;\n let size = \"auto\";\n\n switch (funcName) {\n case \"\\\\dfrac\":\n case \"\\\\frac\":\n case \"\\\\tfrac\":\n hasBarLine = true;\n break;\n\n case \"\\\\\\\\atopfrac\":\n hasBarLine = false;\n break;\n\n case \"\\\\dbinom\":\n case \"\\\\binom\":\n case \"\\\\tbinom\":\n hasBarLine = false;\n leftDelim = \"(\";\n rightDelim = \")\";\n break;\n\n case \"\\\\\\\\bracefrac\":\n hasBarLine = false;\n leftDelim = \"\\\\{\";\n rightDelim = \"\\\\}\";\n break;\n\n case \"\\\\\\\\brackfrac\":\n hasBarLine = false;\n leftDelim = \"[\";\n rightDelim = \"]\";\n break;\n\n default:\n throw new Error(\"Unrecognized genfrac command\");\n }\n\n switch (funcName) {\n case \"\\\\dfrac\":\n case \"\\\\dbinom\":\n size = \"display\";\n break;\n\n case \"\\\\tfrac\":\n case \"\\\\tbinom\":\n size = \"text\";\n break;\n }\n\n return {\n type: \"genfrac\",\n mode: parser.mode,\n continued: false,\n numer,\n denom,\n hasBarLine,\n leftDelim,\n rightDelim,\n size,\n barSize: null\n };\n },\n htmlBuilder: genfrac_htmlBuilder,\n mathmlBuilder: genfrac_mathmlBuilder\n});\ndefineFunction({\n type: \"genfrac\",\n names: [\"\\\\cfrac\"],\n props: {\n numArgs: 2\n },\n handler: (_ref2, args) => {\n let {\n parser,\n funcName\n } = _ref2;\n const numer = args[0];\n const denom = args[1];\n return {\n type: \"genfrac\",\n mode: parser.mode,\n continued: true,\n numer,\n denom,\n hasBarLine: true,\n leftDelim: null,\n rightDelim: null,\n size: \"display\",\n barSize: null\n };\n }\n}); // Infix generalized fractions -- these are not rendered directly, but replaced\n// immediately by one of the variants above.\n\ndefineFunction({\n type: \"infix\",\n names: [\"\\\\over\", \"\\\\choose\", \"\\\\atop\", \"\\\\brace\", \"\\\\brack\"],\n props: {\n numArgs: 0,\n infix: true\n },\n\n handler(_ref3) {\n let {\n parser,\n funcName,\n token\n } = _ref3;\n let replaceWith;\n\n switch (funcName) {\n case \"\\\\over\":\n replaceWith = \"\\\\frac\";\n break;\n\n case \"\\\\choose\":\n replaceWith = \"\\\\binom\";\n break;\n\n case \"\\\\atop\":\n replaceWith = \"\\\\\\\\atopfrac\";\n break;\n\n case \"\\\\brace\":\n replaceWith = \"\\\\\\\\bracefrac\";\n break;\n\n case \"\\\\brack\":\n replaceWith = \"\\\\\\\\brackfrac\";\n break;\n\n default:\n throw new Error(\"Unrecognized infix genfrac command\");\n }\n\n return {\n type: \"infix\",\n mode: parser.mode,\n replaceWith,\n token\n };\n }\n\n});\nconst stylArray = [\"display\", \"text\", \"script\", \"scriptscript\"];\n\nconst delimFromValue = function (delimString) {\n let delim = null;\n\n if (delimString.length > 0) {\n delim = delimString;\n delim = delim === \".\" ? null : delim;\n }\n\n return delim;\n};\n\ndefineFunction({\n type: \"genfrac\",\n names: [\"\\\\genfrac\"],\n props: {\n numArgs: 6,\n allowedInArgument: true,\n argTypes: [\"math\", \"math\", \"size\", \"text\", \"math\", \"math\"]\n },\n\n handler(_ref4, args) {\n let {\n parser\n } = _ref4;\n const numer = args[4];\n const denom = args[5]; // Look into the parse nodes to get the desired delimiters.\n\n const leftNode = normalizeArgument(args[0]);\n const leftDelim = leftNode.type === \"atom\" && leftNode.family === \"open\" ? delimFromValue(leftNode.text) : null;\n const rightNode = normalizeArgument(args[1]);\n const rightDelim = rightNode.type === \"atom\" && rightNode.family === \"close\" ? delimFromValue(rightNode.text) : null;\n const barNode = assertNodeType(args[2], \"size\");\n let hasBarLine;\n let barSize = null;\n\n if (barNode.isBlank) {\n // \\genfrac acts differently than \\above.\n // \\genfrac treats an empty size group as a signal to use a\n // standard bar size. \\above would see size = 0 and omit the bar.\n hasBarLine = true;\n } else {\n barSize = barNode.value;\n hasBarLine = barSize.number > 0;\n } // Find out if we want displaystyle, textstyle, etc.\n\n\n let size = \"auto\";\n let styl = args[3];\n\n if (styl.type === \"ordgroup\") {\n if (styl.body.length > 0) {\n const textOrd = assertNodeType(styl.body[0], \"textord\");\n size = stylArray[Number(textOrd.text)];\n }\n } else {\n styl = assertNodeType(styl, \"textord\");\n size = stylArray[Number(styl.text)];\n }\n\n return {\n type: \"genfrac\",\n mode: parser.mode,\n numer,\n denom,\n continued: false,\n hasBarLine,\n barSize,\n leftDelim,\n rightDelim,\n size\n };\n },\n\n htmlBuilder: genfrac_htmlBuilder,\n mathmlBuilder: genfrac_mathmlBuilder\n}); // \\above is an infix fraction that also defines a fraction bar size.\n\ndefineFunction({\n type: \"infix\",\n names: [\"\\\\above\"],\n props: {\n numArgs: 1,\n argTypes: [\"size\"],\n infix: true\n },\n\n handler(_ref5, args) {\n let {\n parser,\n funcName,\n token\n } = _ref5;\n return {\n type: \"infix\",\n mode: parser.mode,\n replaceWith: \"\\\\\\\\abovefrac\",\n size: assertNodeType(args[0], \"size\").value,\n token\n };\n }\n\n});\ndefineFunction({\n type: \"genfrac\",\n names: [\"\\\\\\\\abovefrac\"],\n props: {\n numArgs: 3,\n argTypes: [\"math\", \"size\", \"math\"]\n },\n handler: (_ref6, args) => {\n let {\n parser,\n funcName\n } = _ref6;\n const numer = args[0];\n const barSize = assert(assertNodeType(args[1], \"infix\").size);\n const denom = args[2];\n const hasBarLine = barSize.number > 0;\n return {\n type: \"genfrac\",\n mode: parser.mode,\n numer,\n denom,\n continued: false,\n hasBarLine,\n barSize,\n leftDelim: null,\n rightDelim: null,\n size: \"auto\"\n };\n },\n htmlBuilder: genfrac_htmlBuilder,\n mathmlBuilder: genfrac_mathmlBuilder\n});\n;// CONCATENATED MODULE: ./src/functions/horizBrace.js\n\n\n\n\n\n\n\n\n// NOTE: Unlike most `htmlBuilder`s, this one handles not only \"horizBrace\", but\n// also \"supsub\" since an over/underbrace can affect super/subscripting.\nconst horizBrace_htmlBuilder = (grp, options) => {\n const style = options.style; // Pull out the `ParseNode<\"horizBrace\">` if `grp` is a \"supsub\" node.\n\n let supSubGroup;\n let group;\n\n if (grp.type === \"supsub\") {\n // Ref: LaTeX source2e: }}}}\\limits}\n // i.e. LaTeX treats the brace similar to an op and passes it\n // with \\limits, so we need to assign supsub style.\n supSubGroup = grp.sup ? buildGroup(grp.sup, options.havingStyle(style.sup()), options) : buildGroup(grp.sub, options.havingStyle(style.sub()), options);\n group = assertNodeType(grp.base, \"horizBrace\");\n } else {\n group = assertNodeType(grp, \"horizBrace\");\n } // Build the base group\n\n\n const body = buildGroup(group.base, options.havingBaseStyle(src_Style.DISPLAY)); // Create the stretchy element\n\n const braceBody = stretchy.svgSpan(group, options); // Generate the vlist, with the appropriate kerns ┏━━━━━━━━┓\n // This first vlist contains the content and the brace: equation\n\n let vlist;\n\n if (group.isOver) {\n vlist = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: body\n }, {\n type: \"kern\",\n size: 0.1\n }, {\n type: \"elem\",\n elem: braceBody\n }]\n }, options); // $FlowFixMe: Replace this with passing \"svg-align\" into makeVList.\n\n vlist.children[0].children[0].children[1].classes.push(\"svg-align\");\n } else {\n vlist = buildCommon.makeVList({\n positionType: \"bottom\",\n positionData: body.depth + 0.1 + braceBody.height,\n children: [{\n type: \"elem\",\n elem: braceBody\n }, {\n type: \"kern\",\n size: 0.1\n }, {\n type: \"elem\",\n elem: body\n }]\n }, options); // $FlowFixMe: Replace this with passing \"svg-align\" into makeVList.\n\n vlist.children[0].children[0].children[0].classes.push(\"svg-align\");\n }\n\n if (supSubGroup) {\n // To write the supsub, wrap the first vlist in another vlist:\n // They can't all go in the same vlist, because the note might be\n // wider than the equation. We want the equation to control the\n // brace width.\n // note long note long note\n // ┏━━━━━━━━┓ or ┏━━━┓ not ┏━━━━━━━━━┓\n // equation eqn eqn\n const vSpan = buildCommon.makeSpan([\"mord\", group.isOver ? \"mover\" : \"munder\"], [vlist], options);\n\n if (group.isOver) {\n vlist = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: vSpan\n }, {\n type: \"kern\",\n size: 0.2\n }, {\n type: \"elem\",\n elem: supSubGroup\n }]\n }, options);\n } else {\n vlist = buildCommon.makeVList({\n positionType: \"bottom\",\n positionData: vSpan.depth + 0.2 + supSubGroup.height + supSubGroup.depth,\n children: [{\n type: \"elem\",\n elem: supSubGroup\n }, {\n type: \"kern\",\n size: 0.2\n }, {\n type: \"elem\",\n elem: vSpan\n }]\n }, options);\n }\n }\n\n return buildCommon.makeSpan([\"mord\", group.isOver ? \"mover\" : \"munder\"], [vlist], options);\n};\n\nconst horizBrace_mathmlBuilder = (group, options) => {\n const accentNode = stretchy.mathMLnode(group.label);\n return new mathMLTree.MathNode(group.isOver ? \"mover\" : \"munder\", [buildMathML_buildGroup(group.base, options), accentNode]);\n}; // Horizontal stretchy braces\n\n\ndefineFunction({\n type: \"horizBrace\",\n names: [\"\\\\overbrace\", \"\\\\underbrace\"],\n props: {\n numArgs: 1\n },\n\n handler(_ref, args) {\n let {\n parser,\n funcName\n } = _ref;\n return {\n type: \"horizBrace\",\n mode: parser.mode,\n label: funcName,\n isOver: /^\\\\over/.test(funcName),\n base: args[0]\n };\n },\n\n htmlBuilder: horizBrace_htmlBuilder,\n mathmlBuilder: horizBrace_mathmlBuilder\n});\n;// CONCATENATED MODULE: ./src/functions/href.js\n\n\n\n\n\n\ndefineFunction({\n type: \"href\",\n names: [\"\\\\href\"],\n props: {\n numArgs: 2,\n argTypes: [\"url\", \"original\"],\n allowedInText: true\n },\n handler: (_ref, args) => {\n let {\n parser\n } = _ref;\n const body = args[1];\n const href = assertNodeType(args[0], \"url\").url;\n\n if (!parser.settings.isTrusted({\n command: \"\\\\href\",\n url: href\n })) {\n return parser.formatUnsupportedCmd(\"\\\\href\");\n }\n\n return {\n type: \"href\",\n mode: parser.mode,\n href,\n body: ordargument(body)\n };\n },\n htmlBuilder: (group, options) => {\n const elements = buildExpression(group.body, options, false);\n return buildCommon.makeAnchor(group.href, [], elements, options);\n },\n mathmlBuilder: (group, options) => {\n let math = buildExpressionRow(group.body, options);\n\n if (!(math instanceof MathNode)) {\n math = new MathNode(\"mrow\", [math]);\n }\n\n math.setAttribute(\"href\", group.href);\n return math;\n }\n});\ndefineFunction({\n type: \"href\",\n names: [\"\\\\url\"],\n props: {\n numArgs: 1,\n argTypes: [\"url\"],\n allowedInText: true\n },\n handler: (_ref2, args) => {\n let {\n parser\n } = _ref2;\n const href = assertNodeType(args[0], \"url\").url;\n\n if (!parser.settings.isTrusted({\n command: \"\\\\url\",\n url: href\n })) {\n return parser.formatUnsupportedCmd(\"\\\\url\");\n }\n\n const chars = [];\n\n for (let i = 0; i < href.length; i++) {\n let c = href[i];\n\n if (c === \"~\") {\n c = \"\\\\textasciitilde\";\n }\n\n chars.push({\n type: \"textord\",\n mode: \"text\",\n text: c\n });\n }\n\n const body = {\n type: \"text\",\n mode: parser.mode,\n font: \"\\\\texttt\",\n body: chars\n };\n return {\n type: \"href\",\n mode: parser.mode,\n href,\n body: ordargument(body)\n };\n }\n});\n;// CONCATENATED MODULE: ./src/functions/hbox.js\n\n\n\n\n // \\hbox is provided for compatibility with LaTeX \\vcenter.\n// In LaTeX, \\vcenter can act only on a box, as in\n// \\vcenter{\\hbox{$\\frac{a+b}{\\dfrac{c}{d}}$}}\n// This function by itself doesn't do anything but prevent a soft line break.\n\ndefineFunction({\n type: \"hbox\",\n names: [\"\\\\hbox\"],\n props: {\n numArgs: 1,\n argTypes: [\"text\"],\n allowedInText: true,\n primitive: true\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n return {\n type: \"hbox\",\n mode: parser.mode,\n body: ordargument(args[0])\n };\n },\n\n htmlBuilder(group, options) {\n const elements = buildExpression(group.body, options, false);\n return buildCommon.makeFragment(elements);\n },\n\n mathmlBuilder(group, options) {\n return new mathMLTree.MathNode(\"mrow\", buildMathML_buildExpression(group.body, options));\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/html.js\n\n\n\n\n\n\ndefineFunction({\n type: \"html\",\n names: [\"\\\\htmlClass\", \"\\\\htmlId\", \"\\\\htmlStyle\", \"\\\\htmlData\"],\n props: {\n numArgs: 2,\n argTypes: [\"raw\", \"original\"],\n allowedInText: true\n },\n handler: (_ref, args) => {\n let {\n parser,\n funcName,\n token\n } = _ref;\n const value = assertNodeType(args[0], \"raw\").string;\n const body = args[1];\n\n if (parser.settings.strict) {\n parser.settings.reportNonstrict(\"htmlExtension\", \"HTML extension is disabled on strict mode\");\n }\n\n let trustContext;\n const attributes = {};\n\n switch (funcName) {\n case \"\\\\htmlClass\":\n attributes.class = value;\n trustContext = {\n command: \"\\\\htmlClass\",\n class: value\n };\n break;\n\n case \"\\\\htmlId\":\n attributes.id = value;\n trustContext = {\n command: \"\\\\htmlId\",\n id: value\n };\n break;\n\n case \"\\\\htmlStyle\":\n attributes.style = value;\n trustContext = {\n command: \"\\\\htmlStyle\",\n style: value\n };\n break;\n\n case \"\\\\htmlData\":\n {\n const data = value.split(\",\");\n\n for (let i = 0; i < data.length; i++) {\n const keyVal = data[i].split(\"=\");\n\n if (keyVal.length !== 2) {\n throw new src_ParseError(\"Error parsing key-value for \\\\htmlData\");\n }\n\n attributes[\"data-\" + keyVal[0].trim()] = keyVal[1].trim();\n }\n\n trustContext = {\n command: \"\\\\htmlData\",\n attributes\n };\n break;\n }\n\n default:\n throw new Error(\"Unrecognized html command\");\n }\n\n if (!parser.settings.isTrusted(trustContext)) {\n return parser.formatUnsupportedCmd(funcName);\n }\n\n return {\n type: \"html\",\n mode: parser.mode,\n attributes,\n body: ordargument(body)\n };\n },\n htmlBuilder: (group, options) => {\n const elements = buildExpression(group.body, options, false);\n const classes = [\"enclosing\"];\n\n if (group.attributes.class) {\n classes.push(...group.attributes.class.trim().split(/\\s+/));\n }\n\n const span = buildCommon.makeSpan(classes, elements, options);\n\n for (const attr in group.attributes) {\n if (attr !== \"class\" && group.attributes.hasOwnProperty(attr)) {\n span.setAttribute(attr, group.attributes[attr]);\n }\n }\n\n return span;\n },\n mathmlBuilder: (group, options) => {\n return buildExpressionRow(group.body, options);\n }\n});\n;// CONCATENATED MODULE: ./src/functions/htmlmathml.js\n\n\n\n\ndefineFunction({\n type: \"htmlmathml\",\n names: [\"\\\\html@mathml\"],\n props: {\n numArgs: 2,\n allowedInText: true\n },\n handler: (_ref, args) => {\n let {\n parser\n } = _ref;\n return {\n type: \"htmlmathml\",\n mode: parser.mode,\n html: ordargument(args[0]),\n mathml: ordargument(args[1])\n };\n },\n htmlBuilder: (group, options) => {\n const elements = buildExpression(group.html, options, false);\n return buildCommon.makeFragment(elements);\n },\n mathmlBuilder: (group, options) => {\n return buildExpressionRow(group.mathml, options);\n }\n});\n;// CONCATENATED MODULE: ./src/functions/includegraphics.js\n\n\n\n\n\n\n\nconst sizeData = function (str) {\n if (/^[-+]? *(\\d+(\\.\\d*)?|\\.\\d+)$/.test(str)) {\n // str is a number with no unit specified.\n // default unit is bp, per graphix package.\n return {\n number: +str,\n unit: \"bp\"\n };\n } else {\n const match = /([-+]?) *(\\d+(?:\\.\\d*)?|\\.\\d+) *([a-z]{2})/.exec(str);\n\n if (!match) {\n throw new src_ParseError(\"Invalid size: '\" + str + \"' in \\\\includegraphics\");\n }\n\n const data = {\n number: +(match[1] + match[2]),\n // sign + magnitude, cast to number\n unit: match[3]\n };\n\n if (!validUnit(data)) {\n throw new src_ParseError(\"Invalid unit: '\" + data.unit + \"' in \\\\includegraphics.\");\n }\n\n return data;\n }\n};\n\ndefineFunction({\n type: \"includegraphics\",\n names: [\"\\\\includegraphics\"],\n props: {\n numArgs: 1,\n numOptionalArgs: 1,\n argTypes: [\"raw\", \"url\"],\n allowedInText: false\n },\n handler: (_ref, args, optArgs) => {\n let {\n parser\n } = _ref;\n let width = {\n number: 0,\n unit: \"em\"\n };\n let height = {\n number: 0.9,\n unit: \"em\"\n }; // sorta character sized.\n\n let totalheight = {\n number: 0,\n unit: \"em\"\n };\n let alt = \"\";\n\n if (optArgs[0]) {\n const attributeStr = assertNodeType(optArgs[0], \"raw\").string; // Parser.js does not parse key/value pairs. We get a string.\n\n const attributes = attributeStr.split(\",\");\n\n for (let i = 0; i < attributes.length; i++) {\n const keyVal = attributes[i].split(\"=\");\n\n if (keyVal.length === 2) {\n const str = keyVal[1].trim();\n\n switch (keyVal[0].trim()) {\n case \"alt\":\n alt = str;\n break;\n\n case \"width\":\n width = sizeData(str);\n break;\n\n case \"height\":\n height = sizeData(str);\n break;\n\n case \"totalheight\":\n totalheight = sizeData(str);\n break;\n\n default:\n throw new src_ParseError(\"Invalid key: '\" + keyVal[0] + \"' in \\\\includegraphics.\");\n }\n }\n }\n }\n\n const src = assertNodeType(args[0], \"url\").url;\n\n if (alt === \"\") {\n // No alt given. Use the file name. Strip away the path.\n alt = src;\n alt = alt.replace(/^.*[\\\\/]/, '');\n alt = alt.substring(0, alt.lastIndexOf('.'));\n }\n\n if (!parser.settings.isTrusted({\n command: \"\\\\includegraphics\",\n url: src\n })) {\n return parser.formatUnsupportedCmd(\"\\\\includegraphics\");\n }\n\n return {\n type: \"includegraphics\",\n mode: parser.mode,\n alt: alt,\n width: width,\n height: height,\n totalheight: totalheight,\n src: src\n };\n },\n htmlBuilder: (group, options) => {\n const height = calculateSize(group.height, options);\n let depth = 0;\n\n if (group.totalheight.number > 0) {\n depth = calculateSize(group.totalheight, options) - height;\n }\n\n let width = 0;\n\n if (group.width.number > 0) {\n width = calculateSize(group.width, options);\n }\n\n const style = {\n height: makeEm(height + depth)\n };\n\n if (width > 0) {\n style.width = makeEm(width);\n }\n\n if (depth > 0) {\n style.verticalAlign = makeEm(-depth);\n }\n\n const node = new Img(group.src, group.alt, style);\n node.height = height;\n node.depth = depth;\n return node;\n },\n mathmlBuilder: (group, options) => {\n const node = new mathMLTree.MathNode(\"mglyph\", []);\n node.setAttribute(\"alt\", group.alt);\n const height = calculateSize(group.height, options);\n let depth = 0;\n\n if (group.totalheight.number > 0) {\n depth = calculateSize(group.totalheight, options) - height;\n node.setAttribute(\"valign\", makeEm(-depth));\n }\n\n node.setAttribute(\"height\", makeEm(height + depth));\n\n if (group.width.number > 0) {\n const width = calculateSize(group.width, options);\n node.setAttribute(\"width\", makeEm(width));\n }\n\n node.setAttribute(\"src\", group.src);\n return node;\n }\n});\n;// CONCATENATED MODULE: ./src/functions/kern.js\n// Horizontal spacing commands\n\n\n\n\n // TODO: \\hskip and \\mskip should support plus and minus in lengths\n\ndefineFunction({\n type: \"kern\",\n names: [\"\\\\kern\", \"\\\\mkern\", \"\\\\hskip\", \"\\\\mskip\"],\n props: {\n numArgs: 1,\n argTypes: [\"size\"],\n primitive: true,\n allowedInText: true\n },\n\n handler(_ref, args) {\n let {\n parser,\n funcName\n } = _ref;\n const size = assertNodeType(args[0], \"size\");\n\n if (parser.settings.strict) {\n const mathFunction = funcName[1] === 'm'; // \\mkern, \\mskip\n\n const muUnit = size.value.unit === 'mu';\n\n if (mathFunction) {\n if (!muUnit) {\n parser.settings.reportNonstrict(\"mathVsTextUnits\", \"LaTeX's \" + funcName + \" supports only mu units, \" + (\"not \" + size.value.unit + \" units\"));\n }\n\n if (parser.mode !== \"math\") {\n parser.settings.reportNonstrict(\"mathVsTextUnits\", \"LaTeX's \" + funcName + \" works only in math mode\");\n }\n } else {\n // !mathFunction\n if (muUnit) {\n parser.settings.reportNonstrict(\"mathVsTextUnits\", \"LaTeX's \" + funcName + \" doesn't support mu units\");\n }\n }\n }\n\n return {\n type: \"kern\",\n mode: parser.mode,\n dimension: size.value\n };\n },\n\n htmlBuilder(group, options) {\n return buildCommon.makeGlue(group.dimension, options);\n },\n\n mathmlBuilder(group, options) {\n const dimension = calculateSize(group.dimension, options);\n return new mathMLTree.SpaceNode(dimension);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/lap.js\n// Horizontal overlap functions\n\n\n\n\n\n\ndefineFunction({\n type: \"lap\",\n names: [\"\\\\mathllap\", \"\\\\mathrlap\", \"\\\\mathclap\"],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n handler: (_ref, args) => {\n let {\n parser,\n funcName\n } = _ref;\n const body = args[0];\n return {\n type: \"lap\",\n mode: parser.mode,\n alignment: funcName.slice(5),\n body\n };\n },\n htmlBuilder: (group, options) => {\n // mathllap, mathrlap, mathclap\n let inner;\n\n if (group.alignment === \"clap\") {\n // ref: https://www.math.lsu.edu/~aperlis/publications/mathclap/\n inner = buildCommon.makeSpan([], [buildGroup(group.body, options)]); // wrap, since CSS will center a .clap > .inner > span\n\n inner = buildCommon.makeSpan([\"inner\"], [inner], options);\n } else {\n inner = buildCommon.makeSpan([\"inner\"], [buildGroup(group.body, options)]);\n }\n\n const fix = buildCommon.makeSpan([\"fix\"], []);\n let node = buildCommon.makeSpan([group.alignment], [inner, fix], options); // At this point, we have correctly set horizontal alignment of the\n // two items involved in the lap.\n // Next, use a strut to set the height of the HTML bounding box.\n // Otherwise, a tall argument may be misplaced.\n // This code resolved issue #1153\n\n const strut = buildCommon.makeSpan([\"strut\"]);\n strut.style.height = makeEm(node.height + node.depth);\n\n if (node.depth) {\n strut.style.verticalAlign = makeEm(-node.depth);\n }\n\n node.children.unshift(strut); // Next, prevent vertical misplacement when next to something tall.\n // This code resolves issue #1234\n\n node = buildCommon.makeSpan([\"thinbox\"], [node], options);\n return buildCommon.makeSpan([\"mord\", \"vbox\"], [node], options);\n },\n mathmlBuilder: (group, options) => {\n // mathllap, mathrlap, mathclap\n const node = new mathMLTree.MathNode(\"mpadded\", [buildMathML_buildGroup(group.body, options)]);\n\n if (group.alignment !== \"rlap\") {\n const offset = group.alignment === \"llap\" ? \"-1\" : \"-0.5\";\n node.setAttribute(\"lspace\", offset + \"width\");\n }\n\n node.setAttribute(\"width\", \"0px\");\n return node;\n }\n});\n;// CONCATENATED MODULE: ./src/functions/math.js\n\n // Switching from text mode back to math mode\n\ndefineFunction({\n type: \"styling\",\n names: [\"\\\\(\", \"$\"],\n props: {\n numArgs: 0,\n allowedInText: true,\n allowedInMath: false\n },\n\n handler(_ref, args) {\n let {\n funcName,\n parser\n } = _ref;\n const outerMode = parser.mode;\n parser.switchMode(\"math\");\n const close = funcName === \"\\\\(\" ? \"\\\\)\" : \"$\";\n const body = parser.parseExpression(false, close);\n parser.expect(close);\n parser.switchMode(outerMode);\n return {\n type: \"styling\",\n mode: parser.mode,\n style: \"text\",\n body\n };\n }\n\n}); // Check for extra closing math delimiters\n\ndefineFunction({\n type: \"text\",\n // Doesn't matter what this is.\n names: [\"\\\\)\", \"\\\\]\"],\n props: {\n numArgs: 0,\n allowedInText: true,\n allowedInMath: false\n },\n\n handler(context, args) {\n throw new src_ParseError(\"Mismatched \" + context.funcName);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/mathchoice.js\n\n\n\n\n\n\nconst chooseMathStyle = (group, options) => {\n switch (options.style.size) {\n case src_Style.DISPLAY.size:\n return group.display;\n\n case src_Style.TEXT.size:\n return group.text;\n\n case src_Style.SCRIPT.size:\n return group.script;\n\n case src_Style.SCRIPTSCRIPT.size:\n return group.scriptscript;\n\n default:\n return group.text;\n }\n};\n\ndefineFunction({\n type: \"mathchoice\",\n names: [\"\\\\mathchoice\"],\n props: {\n numArgs: 4,\n primitive: true\n },\n handler: (_ref, args) => {\n let {\n parser\n } = _ref;\n return {\n type: \"mathchoice\",\n mode: parser.mode,\n display: ordargument(args[0]),\n text: ordargument(args[1]),\n script: ordargument(args[2]),\n scriptscript: ordargument(args[3])\n };\n },\n htmlBuilder: (group, options) => {\n const body = chooseMathStyle(group, options);\n const elements = buildExpression(body, options, false);\n return buildCommon.makeFragment(elements);\n },\n mathmlBuilder: (group, options) => {\n const body = chooseMathStyle(group, options);\n return buildExpressionRow(body, options);\n }\n});\n;// CONCATENATED MODULE: ./src/functions/utils/assembleSupSub.js\n\n\n\n // For an operator with limits, assemble the base, sup, and sub into a span.\n\nconst assembleSupSub = (base, supGroup, subGroup, options, style, slant, baseShift) => {\n base = buildCommon.makeSpan([], [base]);\n const subIsSingleCharacter = subGroup && utils.isCharacterBox(subGroup);\n let sub;\n let sup; // We manually have to handle the superscripts and subscripts. This,\n // aside from the kern calculations, is copied from supsub.\n\n if (supGroup) {\n const elem = buildGroup(supGroup, options.havingStyle(style.sup()), options);\n sup = {\n elem,\n kern: Math.max(options.fontMetrics().bigOpSpacing1, options.fontMetrics().bigOpSpacing3 - elem.depth)\n };\n }\n\n if (subGroup) {\n const elem = buildGroup(subGroup, options.havingStyle(style.sub()), options);\n sub = {\n elem,\n kern: Math.max(options.fontMetrics().bigOpSpacing2, options.fontMetrics().bigOpSpacing4 - elem.height)\n };\n } // Build the final group as a vlist of the possible subscript, base,\n // and possible superscript.\n\n\n let finalGroup;\n\n if (sup && sub) {\n const bottom = options.fontMetrics().bigOpSpacing5 + sub.elem.height + sub.elem.depth + sub.kern + base.depth + baseShift;\n finalGroup = buildCommon.makeVList({\n positionType: \"bottom\",\n positionData: bottom,\n children: [{\n type: \"kern\",\n size: options.fontMetrics().bigOpSpacing5\n }, {\n type: \"elem\",\n elem: sub.elem,\n marginLeft: makeEm(-slant)\n }, {\n type: \"kern\",\n size: sub.kern\n }, {\n type: \"elem\",\n elem: base\n }, {\n type: \"kern\",\n size: sup.kern\n }, {\n type: \"elem\",\n elem: sup.elem,\n marginLeft: makeEm(slant)\n }, {\n type: \"kern\",\n size: options.fontMetrics().bigOpSpacing5\n }]\n }, options);\n } else if (sub) {\n const top = base.height - baseShift; // Shift the limits by the slant of the symbol. Note\n // that we are supposed to shift the limits by 1/2 of the slant,\n // but since we are centering the limits adding a full slant of\n // margin will shift by 1/2 that.\n\n finalGroup = buildCommon.makeVList({\n positionType: \"top\",\n positionData: top,\n children: [{\n type: \"kern\",\n size: options.fontMetrics().bigOpSpacing5\n }, {\n type: \"elem\",\n elem: sub.elem,\n marginLeft: makeEm(-slant)\n }, {\n type: \"kern\",\n size: sub.kern\n }, {\n type: \"elem\",\n elem: base\n }]\n }, options);\n } else if (sup) {\n const bottom = base.depth + baseShift;\n finalGroup = buildCommon.makeVList({\n positionType: \"bottom\",\n positionData: bottom,\n children: [{\n type: \"elem\",\n elem: base\n }, {\n type: \"kern\",\n size: sup.kern\n }, {\n type: \"elem\",\n elem: sup.elem,\n marginLeft: makeEm(slant)\n }, {\n type: \"kern\",\n size: options.fontMetrics().bigOpSpacing5\n }]\n }, options);\n } else {\n // This case probably shouldn't occur (this would mean the\n // supsub was sending us a group with no superscript or\n // subscript) but be safe.\n return base;\n }\n\n const parts = [finalGroup];\n\n if (sub && slant !== 0 && !subIsSingleCharacter) {\n // A negative margin-left was applied to the lower limit.\n // Avoid an overlap by placing a spacer on the left on the group.\n const spacer = buildCommon.makeSpan([\"mspace\"], [], options);\n spacer.style.marginRight = makeEm(slant);\n parts.unshift(spacer);\n }\n\n return buildCommon.makeSpan([\"mop\", \"op-limits\"], parts, options);\n};\n;// CONCATENATED MODULE: ./src/functions/op.js\n// Limits, symbols\n\n\n\n\n\n\n\n\n\n\n\n// Most operators have a large successor symbol, but these don't.\nconst noSuccessor = [\"\\\\smallint\"]; // NOTE: Unlike most `htmlBuilder`s, this one handles not only \"op\", but also\n// \"supsub\" since some of them (like \\int) can affect super/subscripting.\n\nconst op_htmlBuilder = (grp, options) => {\n // Operators are handled in the TeXbook pg. 443-444, rule 13(a).\n let supGroup;\n let subGroup;\n let hasLimits = false;\n let group;\n\n if (grp.type === \"supsub\") {\n // If we have limits, supsub will pass us its group to handle. Pull\n // out the superscript and subscript and set the group to the op in\n // its base.\n supGroup = grp.sup;\n subGroup = grp.sub;\n group = assertNodeType(grp.base, \"op\");\n hasLimits = true;\n } else {\n group = assertNodeType(grp, \"op\");\n }\n\n const style = options.style;\n let large = false;\n\n if (style.size === src_Style.DISPLAY.size && group.symbol && !utils.contains(noSuccessor, group.name)) {\n // Most symbol operators get larger in displaystyle (rule 13)\n large = true;\n }\n\n let base;\n\n if (group.symbol) {\n // If this is a symbol, create the symbol.\n const fontName = large ? \"Size2-Regular\" : \"Size1-Regular\";\n let stash = \"\";\n\n if (group.name === \"\\\\oiint\" || group.name === \"\\\\oiiint\") {\n // No font glyphs yet, so use a glyph w/o the oval.\n // TODO: When font glyphs are available, delete this code.\n stash = group.name.slice(1);\n group.name = stash === \"oiint\" ? \"\\\\iint\" : \"\\\\iiint\";\n }\n\n base = buildCommon.makeSymbol(group.name, fontName, \"math\", options, [\"mop\", \"op-symbol\", large ? \"large-op\" : \"small-op\"]);\n\n if (stash.length > 0) {\n // We're in \\oiint or \\oiiint. Overlay the oval.\n // TODO: When font glyphs are available, delete this code.\n const italic = base.italic;\n const oval = buildCommon.staticSvg(stash + \"Size\" + (large ? \"2\" : \"1\"), options);\n base = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [{\n type: \"elem\",\n elem: base,\n shift: 0\n }, {\n type: \"elem\",\n elem: oval,\n shift: large ? 0.08 : 0\n }]\n }, options);\n group.name = \"\\\\\" + stash;\n base.classes.unshift(\"mop\"); // $FlowFixMe\n\n base.italic = italic;\n }\n } else if (group.body) {\n // If this is a list, compose that list.\n const inner = buildExpression(group.body, options, true);\n\n if (inner.length === 1 && inner[0] instanceof SymbolNode) {\n base = inner[0];\n base.classes[0] = \"mop\"; // replace old mclass\n } else {\n base = buildCommon.makeSpan([\"mop\"], inner, options);\n }\n } else {\n // Otherwise, this is a text operator. Build the text from the\n // operator's name.\n const output = [];\n\n for (let i = 1; i < group.name.length; i++) {\n output.push(buildCommon.mathsym(group.name[i], group.mode, options));\n }\n\n base = buildCommon.makeSpan([\"mop\"], output, options);\n } // If content of op is a single symbol, shift it vertically.\n\n\n let baseShift = 0;\n let slant = 0;\n\n if ((base instanceof SymbolNode || group.name === \"\\\\oiint\" || group.name === \"\\\\oiiint\") && !group.suppressBaseShift) {\n // We suppress the shift of the base of \\overset and \\underset. Otherwise,\n // shift the symbol so its center lies on the axis (rule 13). It\n // appears that our fonts have the centers of the symbols already\n // almost on the axis, so these numbers are very small. Note we\n // don't actually apply this here, but instead it is used either in\n // the vlist creation or separately when there are no limits.\n baseShift = (base.height - base.depth) / 2 - options.fontMetrics().axisHeight; // The slant of the symbol is just its italic correction.\n // $FlowFixMe\n\n slant = base.italic;\n }\n\n if (hasLimits) {\n return assembleSupSub(base, supGroup, subGroup, options, style, slant, baseShift);\n } else {\n if (baseShift) {\n base.style.position = \"relative\";\n base.style.top = makeEm(baseShift);\n }\n\n return base;\n }\n};\n\nconst op_mathmlBuilder = (group, options) => {\n let node;\n\n if (group.symbol) {\n // This is a symbol. Just add the symbol.\n node = new MathNode(\"mo\", [makeText(group.name, group.mode)]);\n\n if (utils.contains(noSuccessor, group.name)) {\n node.setAttribute(\"largeop\", \"false\");\n }\n } else if (group.body) {\n // This is an operator with children. Add them.\n node = new MathNode(\"mo\", buildMathML_buildExpression(group.body, options));\n } else {\n // This is a text operator. Add all of the characters from the\n // operator's name.\n node = new MathNode(\"mi\", [new TextNode(group.name.slice(1))]); // Append an .\n // ref: https://www.w3.org/TR/REC-MathML/chap3_2.html#sec3.2.4\n\n const operator = new MathNode(\"mo\", [makeText(\"\\u2061\", \"text\")]);\n\n if (group.parentIsSupSub) {\n node = new MathNode(\"mrow\", [node, operator]);\n } else {\n node = newDocumentFragment([node, operator]);\n }\n }\n\n return node;\n};\n\nconst singleCharBigOps = {\n \"\\u220F\": \"\\\\prod\",\n \"\\u2210\": \"\\\\coprod\",\n \"\\u2211\": \"\\\\sum\",\n \"\\u22c0\": \"\\\\bigwedge\",\n \"\\u22c1\": \"\\\\bigvee\",\n \"\\u22c2\": \"\\\\bigcap\",\n \"\\u22c3\": \"\\\\bigcup\",\n \"\\u2a00\": \"\\\\bigodot\",\n \"\\u2a01\": \"\\\\bigoplus\",\n \"\\u2a02\": \"\\\\bigotimes\",\n \"\\u2a04\": \"\\\\biguplus\",\n \"\\u2a06\": \"\\\\bigsqcup\"\n};\ndefineFunction({\n type: \"op\",\n names: [\"\\\\coprod\", \"\\\\bigvee\", \"\\\\bigwedge\", \"\\\\biguplus\", \"\\\\bigcap\", \"\\\\bigcup\", \"\\\\intop\", \"\\\\prod\", \"\\\\sum\", \"\\\\bigotimes\", \"\\\\bigoplus\", \"\\\\bigodot\", \"\\\\bigsqcup\", \"\\\\smallint\", \"\\u220F\", \"\\u2210\", \"\\u2211\", \"\\u22c0\", \"\\u22c1\", \"\\u22c2\", \"\\u22c3\", \"\\u2a00\", \"\\u2a01\", \"\\u2a02\", \"\\u2a04\", \"\\u2a06\"],\n props: {\n numArgs: 0\n },\n handler: (_ref, args) => {\n let {\n parser,\n funcName\n } = _ref;\n let fName = funcName;\n\n if (fName.length === 1) {\n fName = singleCharBigOps[fName];\n }\n\n return {\n type: \"op\",\n mode: parser.mode,\n limits: true,\n parentIsSupSub: false,\n symbol: true,\n name: fName\n };\n },\n htmlBuilder: op_htmlBuilder,\n mathmlBuilder: op_mathmlBuilder\n}); // Note: calling defineFunction with a type that's already been defined only\n// works because the same htmlBuilder and mathmlBuilder are being used.\n\ndefineFunction({\n type: \"op\",\n names: [\"\\\\mathop\"],\n props: {\n numArgs: 1,\n primitive: true\n },\n handler: (_ref2, args) => {\n let {\n parser\n } = _ref2;\n const body = args[0];\n return {\n type: \"op\",\n mode: parser.mode,\n limits: false,\n parentIsSupSub: false,\n symbol: false,\n body: ordargument(body)\n };\n },\n htmlBuilder: op_htmlBuilder,\n mathmlBuilder: op_mathmlBuilder\n}); // There are 2 flags for operators; whether they produce limits in\n// displaystyle, and whether they are symbols and should grow in\n// displaystyle. These four groups cover the four possible choices.\n\nconst singleCharIntegrals = {\n \"\\u222b\": \"\\\\int\",\n \"\\u222c\": \"\\\\iint\",\n \"\\u222d\": \"\\\\iiint\",\n \"\\u222e\": \"\\\\oint\",\n \"\\u222f\": \"\\\\oiint\",\n \"\\u2230\": \"\\\\oiiint\"\n}; // No limits, not symbols\n\ndefineFunction({\n type: \"op\",\n names: [\"\\\\arcsin\", \"\\\\arccos\", \"\\\\arctan\", \"\\\\arctg\", \"\\\\arcctg\", \"\\\\arg\", \"\\\\ch\", \"\\\\cos\", \"\\\\cosec\", \"\\\\cosh\", \"\\\\cot\", \"\\\\cotg\", \"\\\\coth\", \"\\\\csc\", \"\\\\ctg\", \"\\\\cth\", \"\\\\deg\", \"\\\\dim\", \"\\\\exp\", \"\\\\hom\", \"\\\\ker\", \"\\\\lg\", \"\\\\ln\", \"\\\\log\", \"\\\\sec\", \"\\\\sin\", \"\\\\sinh\", \"\\\\sh\", \"\\\\tan\", \"\\\\tanh\", \"\\\\tg\", \"\\\\th\"],\n props: {\n numArgs: 0\n },\n\n handler(_ref3) {\n let {\n parser,\n funcName\n } = _ref3;\n return {\n type: \"op\",\n mode: parser.mode,\n limits: false,\n parentIsSupSub: false,\n symbol: false,\n name: funcName\n };\n },\n\n htmlBuilder: op_htmlBuilder,\n mathmlBuilder: op_mathmlBuilder\n}); // Limits, not symbols\n\ndefineFunction({\n type: \"op\",\n names: [\"\\\\det\", \"\\\\gcd\", \"\\\\inf\", \"\\\\lim\", \"\\\\max\", \"\\\\min\", \"\\\\Pr\", \"\\\\sup\"],\n props: {\n numArgs: 0\n },\n\n handler(_ref4) {\n let {\n parser,\n funcName\n } = _ref4;\n return {\n type: \"op\",\n mode: parser.mode,\n limits: true,\n parentIsSupSub: false,\n symbol: false,\n name: funcName\n };\n },\n\n htmlBuilder: op_htmlBuilder,\n mathmlBuilder: op_mathmlBuilder\n}); // No limits, symbols\n\ndefineFunction({\n type: \"op\",\n names: [\"\\\\int\", \"\\\\iint\", \"\\\\iiint\", \"\\\\oint\", \"\\\\oiint\", \"\\\\oiiint\", \"\\u222b\", \"\\u222c\", \"\\u222d\", \"\\u222e\", \"\\u222f\", \"\\u2230\"],\n props: {\n numArgs: 0\n },\n\n handler(_ref5) {\n let {\n parser,\n funcName\n } = _ref5;\n let fName = funcName;\n\n if (fName.length === 1) {\n fName = singleCharIntegrals[fName];\n }\n\n return {\n type: \"op\",\n mode: parser.mode,\n limits: false,\n parentIsSupSub: false,\n symbol: true,\n name: fName\n };\n },\n\n htmlBuilder: op_htmlBuilder,\n mathmlBuilder: op_mathmlBuilder\n});\n;// CONCATENATED MODULE: ./src/functions/operatorname.js\n\n\n\n\n\n\n\n\n\n// NOTE: Unlike most `htmlBuilder`s, this one handles not only\n// \"operatorname\", but also \"supsub\" since \\operatorname* can\n// affect super/subscripting.\nconst operatorname_htmlBuilder = (grp, options) => {\n // Operators are handled in the TeXbook pg. 443-444, rule 13(a).\n let supGroup;\n let subGroup;\n let hasLimits = false;\n let group;\n\n if (grp.type === \"supsub\") {\n // If we have limits, supsub will pass us its group to handle. Pull\n // out the superscript and subscript and set the group to the op in\n // its base.\n supGroup = grp.sup;\n subGroup = grp.sub;\n group = assertNodeType(grp.base, \"operatorname\");\n hasLimits = true;\n } else {\n group = assertNodeType(grp, \"operatorname\");\n }\n\n let base;\n\n if (group.body.length > 0) {\n const body = group.body.map(child => {\n // $FlowFixMe: Check if the node has a string `text` property.\n const childText = child.text;\n\n if (typeof childText === \"string\") {\n return {\n type: \"textord\",\n mode: child.mode,\n text: childText\n };\n } else {\n return child;\n }\n }); // Consolidate function names into symbol characters.\n\n const expression = buildExpression(body, options.withFont(\"mathrm\"), true);\n\n for (let i = 0; i < expression.length; i++) {\n const child = expression[i];\n\n if (child instanceof SymbolNode) {\n // Per amsopn package,\n // change minus to hyphen and \\ast to asterisk\n child.text = child.text.replace(/\\u2212/, \"-\").replace(/\\u2217/, \"*\");\n }\n }\n\n base = buildCommon.makeSpan([\"mop\"], expression, options);\n } else {\n base = buildCommon.makeSpan([\"mop\"], [], options);\n }\n\n if (hasLimits) {\n return assembleSupSub(base, supGroup, subGroup, options, options.style, 0, 0);\n } else {\n return base;\n }\n};\n\nconst operatorname_mathmlBuilder = (group, options) => {\n // The steps taken here are similar to the html version.\n let expression = buildMathML_buildExpression(group.body, options.withFont(\"mathrm\")); // Is expression a string or has it something like a fraction?\n\n let isAllString = true; // default\n\n for (let i = 0; i < expression.length; i++) {\n const node = expression[i];\n\n if (node instanceof mathMLTree.SpaceNode) {// Do nothing\n } else if (node instanceof mathMLTree.MathNode) {\n switch (node.type) {\n case \"mi\":\n case \"mn\":\n case \"ms\":\n case \"mspace\":\n case \"mtext\":\n break;\n // Do nothing yet.\n\n case \"mo\":\n {\n const child = node.children[0];\n\n if (node.children.length === 1 && child instanceof mathMLTree.TextNode) {\n child.text = child.text.replace(/\\u2212/, \"-\").replace(/\\u2217/, \"*\");\n } else {\n isAllString = false;\n }\n\n break;\n }\n\n default:\n isAllString = false;\n }\n } else {\n isAllString = false;\n }\n }\n\n if (isAllString) {\n // Write a single TextNode instead of multiple nested tags.\n const word = expression.map(node => node.toText()).join(\"\");\n expression = [new mathMLTree.TextNode(word)];\n }\n\n const identifier = new mathMLTree.MathNode(\"mi\", expression);\n identifier.setAttribute(\"mathvariant\", \"normal\"); // \\u2061 is the same as ⁡\n // ref: https://www.w3schools.com/charsets/ref_html_entities_a.asp\n\n const operator = new mathMLTree.MathNode(\"mo\", [makeText(\"\\u2061\", \"text\")]);\n\n if (group.parentIsSupSub) {\n return new mathMLTree.MathNode(\"mrow\", [identifier, operator]);\n } else {\n return mathMLTree.newDocumentFragment([identifier, operator]);\n }\n}; // \\operatorname\n// amsopn.dtx: \\mathop{#1\\kern\\z@\\operator@font#3}\\newmcodes@\n\n\ndefineFunction({\n type: \"operatorname\",\n names: [\"\\\\operatorname@\", \"\\\\operatornamewithlimits\"],\n props: {\n numArgs: 1\n },\n handler: (_ref, args) => {\n let {\n parser,\n funcName\n } = _ref;\n const body = args[0];\n return {\n type: \"operatorname\",\n mode: parser.mode,\n body: ordargument(body),\n alwaysHandleSupSub: funcName === \"\\\\operatornamewithlimits\",\n limits: false,\n parentIsSupSub: false\n };\n },\n htmlBuilder: operatorname_htmlBuilder,\n mathmlBuilder: operatorname_mathmlBuilder\n});\ndefineMacro(\"\\\\operatorname\", \"\\\\@ifstar\\\\operatornamewithlimits\\\\operatorname@\");\n;// CONCATENATED MODULE: ./src/functions/ordgroup.js\n\n\n\n\ndefineFunctionBuilders({\n type: \"ordgroup\",\n\n htmlBuilder(group, options) {\n if (group.semisimple) {\n return buildCommon.makeFragment(buildExpression(group.body, options, false));\n }\n\n return buildCommon.makeSpan([\"mord\"], buildExpression(group.body, options, true), options);\n },\n\n mathmlBuilder(group, options) {\n return buildExpressionRow(group.body, options, true);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/overline.js\n\n\n\n\n\ndefineFunction({\n type: \"overline\",\n names: [\"\\\\overline\"],\n props: {\n numArgs: 1\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n const body = args[0];\n return {\n type: \"overline\",\n mode: parser.mode,\n body\n };\n },\n\n htmlBuilder(group, options) {\n // Overlines are handled in the TeXbook pg 443, Rule 9.\n // Build the inner group in the cramped style.\n const innerGroup = buildGroup(group.body, options.havingCrampedStyle()); // Create the line above the body\n\n const line = buildCommon.makeLineSpan(\"overline-line\", options); // Generate the vlist, with the appropriate kerns\n\n const defaultRuleThickness = options.fontMetrics().defaultRuleThickness;\n const vlist = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: innerGroup\n }, {\n type: \"kern\",\n size: 3 * defaultRuleThickness\n }, {\n type: \"elem\",\n elem: line\n }, {\n type: \"kern\",\n size: defaultRuleThickness\n }]\n }, options);\n return buildCommon.makeSpan([\"mord\", \"overline\"], [vlist], options);\n },\n\n mathmlBuilder(group, options) {\n const operator = new mathMLTree.MathNode(\"mo\", [new mathMLTree.TextNode(\"\\u203e\")]);\n operator.setAttribute(\"stretchy\", \"true\");\n const node = new mathMLTree.MathNode(\"mover\", [buildMathML_buildGroup(group.body, options), operator]);\n node.setAttribute(\"accent\", \"true\");\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/phantom.js\n\n\n\n\n\ndefineFunction({\n type: \"phantom\",\n names: [\"\\\\phantom\"],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n handler: (_ref, args) => {\n let {\n parser\n } = _ref;\n const body = args[0];\n return {\n type: \"phantom\",\n mode: parser.mode,\n body: ordargument(body)\n };\n },\n htmlBuilder: (group, options) => {\n const elements = buildExpression(group.body, options.withPhantom(), false); // \\phantom isn't supposed to affect the elements it contains.\n // See \"color\" for more details.\n\n return buildCommon.makeFragment(elements);\n },\n mathmlBuilder: (group, options) => {\n const inner = buildMathML_buildExpression(group.body, options);\n return new mathMLTree.MathNode(\"mphantom\", inner);\n }\n});\ndefineFunction({\n type: \"hphantom\",\n names: [\"\\\\hphantom\"],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n handler: (_ref2, args) => {\n let {\n parser\n } = _ref2;\n const body = args[0];\n return {\n type: \"hphantom\",\n mode: parser.mode,\n body\n };\n },\n htmlBuilder: (group, options) => {\n let node = buildCommon.makeSpan([], [buildGroup(group.body, options.withPhantom())]);\n node.height = 0;\n node.depth = 0;\n\n if (node.children) {\n for (let i = 0; i < node.children.length; i++) {\n node.children[i].height = 0;\n node.children[i].depth = 0;\n }\n } // See smash for comment re: use of makeVList\n\n\n node = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: node\n }]\n }, options); // For spacing, TeX treats \\smash as a math group (same spacing as ord).\n\n return buildCommon.makeSpan([\"mord\"], [node], options);\n },\n mathmlBuilder: (group, options) => {\n const inner = buildMathML_buildExpression(ordargument(group.body), options);\n const phantom = new mathMLTree.MathNode(\"mphantom\", inner);\n const node = new mathMLTree.MathNode(\"mpadded\", [phantom]);\n node.setAttribute(\"height\", \"0px\");\n node.setAttribute(\"depth\", \"0px\");\n return node;\n }\n});\ndefineFunction({\n type: \"vphantom\",\n names: [\"\\\\vphantom\"],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n handler: (_ref3, args) => {\n let {\n parser\n } = _ref3;\n const body = args[0];\n return {\n type: \"vphantom\",\n mode: parser.mode,\n body\n };\n },\n htmlBuilder: (group, options) => {\n const inner = buildCommon.makeSpan([\"inner\"], [buildGroup(group.body, options.withPhantom())]);\n const fix = buildCommon.makeSpan([\"fix\"], []);\n return buildCommon.makeSpan([\"mord\", \"rlap\"], [inner, fix], options);\n },\n mathmlBuilder: (group, options) => {\n const inner = buildMathML_buildExpression(ordargument(group.body), options);\n const phantom = new mathMLTree.MathNode(\"mphantom\", inner);\n const node = new mathMLTree.MathNode(\"mpadded\", [phantom]);\n node.setAttribute(\"width\", \"0px\");\n return node;\n }\n});\n;// CONCATENATED MODULE: ./src/functions/raisebox.js\n\n\n\n\n\n\n // Box manipulation\n\ndefineFunction({\n type: \"raisebox\",\n names: [\"\\\\raisebox\"],\n props: {\n numArgs: 2,\n argTypes: [\"size\", \"hbox\"],\n allowedInText: true\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n const amount = assertNodeType(args[0], \"size\").value;\n const body = args[1];\n return {\n type: \"raisebox\",\n mode: parser.mode,\n dy: amount,\n body\n };\n },\n\n htmlBuilder(group, options) {\n const body = buildGroup(group.body, options);\n const dy = calculateSize(group.dy, options);\n return buildCommon.makeVList({\n positionType: \"shift\",\n positionData: -dy,\n children: [{\n type: \"elem\",\n elem: body\n }]\n }, options);\n },\n\n mathmlBuilder(group, options) {\n const node = new mathMLTree.MathNode(\"mpadded\", [buildMathML_buildGroup(group.body, options)]);\n const dy = group.dy.number + group.dy.unit;\n node.setAttribute(\"voffset\", dy);\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/relax.js\n\ndefineFunction({\n type: \"internal\",\n names: [\"\\\\relax\"],\n props: {\n numArgs: 0,\n allowedInText: true\n },\n\n handler(_ref) {\n let {\n parser\n } = _ref;\n return {\n type: \"internal\",\n mode: parser.mode\n };\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/rule.js\n\n\n\n\n\ndefineFunction({\n type: \"rule\",\n names: [\"\\\\rule\"],\n props: {\n numArgs: 2,\n numOptionalArgs: 1,\n argTypes: [\"size\", \"size\", \"size\"]\n },\n\n handler(_ref, args, optArgs) {\n let {\n parser\n } = _ref;\n const shift = optArgs[0];\n const width = assertNodeType(args[0], \"size\");\n const height = assertNodeType(args[1], \"size\");\n return {\n type: \"rule\",\n mode: parser.mode,\n shift: shift && assertNodeType(shift, \"size\").value,\n width: width.value,\n height: height.value\n };\n },\n\n htmlBuilder(group, options) {\n // Make an empty span for the rule\n const rule = buildCommon.makeSpan([\"mord\", \"rule\"], [], options); // Calculate the shift, width, and height of the rule, and account for units\n\n const width = calculateSize(group.width, options);\n const height = calculateSize(group.height, options);\n const shift = group.shift ? calculateSize(group.shift, options) : 0; // Style the rule to the right size\n\n rule.style.borderRightWidth = makeEm(width);\n rule.style.borderTopWidth = makeEm(height);\n rule.style.bottom = makeEm(shift); // Record the height and width\n\n rule.width = width;\n rule.height = height + shift;\n rule.depth = -shift; // Font size is the number large enough that the browser will\n // reserve at least `absHeight` space above the baseline.\n // The 1.125 factor was empirically determined\n\n rule.maxFontSize = height * 1.125 * options.sizeMultiplier;\n return rule;\n },\n\n mathmlBuilder(group, options) {\n const width = calculateSize(group.width, options);\n const height = calculateSize(group.height, options);\n const shift = group.shift ? calculateSize(group.shift, options) : 0;\n const color = options.color && options.getColor() || \"black\";\n const rule = new mathMLTree.MathNode(\"mspace\");\n rule.setAttribute(\"mathbackground\", color);\n rule.setAttribute(\"width\", makeEm(width));\n rule.setAttribute(\"height\", makeEm(height));\n const wrapper = new mathMLTree.MathNode(\"mpadded\", [rule]);\n\n if (shift >= 0) {\n wrapper.setAttribute(\"height\", makeEm(shift));\n } else {\n wrapper.setAttribute(\"height\", makeEm(shift));\n wrapper.setAttribute(\"depth\", makeEm(-shift));\n }\n\n wrapper.setAttribute(\"voffset\", makeEm(shift));\n return wrapper;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/sizing.js\n\n\n\n\n\n\nfunction sizingGroup(value, options, baseOptions) {\n const inner = buildExpression(value, options, false);\n const multiplier = options.sizeMultiplier / baseOptions.sizeMultiplier; // Add size-resetting classes to the inner list and set maxFontSize\n // manually. Handle nested size changes.\n\n for (let i = 0; i < inner.length; i++) {\n const pos = inner[i].classes.indexOf(\"sizing\");\n\n if (pos < 0) {\n Array.prototype.push.apply(inner[i].classes, options.sizingClasses(baseOptions));\n } else if (inner[i].classes[pos + 1] === \"reset-size\" + options.size) {\n // This is a nested size change: e.g., inner[i] is the \"b\" in\n // `\\Huge a \\small b`. Override the old size (the `reset-` class)\n // but not the new size.\n inner[i].classes[pos + 1] = \"reset-size\" + baseOptions.size;\n }\n\n inner[i].height *= multiplier;\n inner[i].depth *= multiplier;\n }\n\n return buildCommon.makeFragment(inner);\n}\nconst sizeFuncs = [\"\\\\tiny\", \"\\\\sixptsize\", \"\\\\scriptsize\", \"\\\\footnotesize\", \"\\\\small\", \"\\\\normalsize\", \"\\\\large\", \"\\\\Large\", \"\\\\LARGE\", \"\\\\huge\", \"\\\\Huge\"];\nconst sizing_htmlBuilder = (group, options) => {\n // Handle sizing operators like \\Huge. Real TeX doesn't actually allow\n // these functions inside of math expressions, so we do some special\n // handling.\n const newOptions = options.havingSize(group.size);\n return sizingGroup(group.body, newOptions, options);\n};\ndefineFunction({\n type: \"sizing\",\n names: sizeFuncs,\n props: {\n numArgs: 0,\n allowedInText: true\n },\n handler: (_ref, args) => {\n let {\n breakOnTokenText,\n funcName,\n parser\n } = _ref;\n const body = parser.parseExpression(false, breakOnTokenText);\n return {\n type: \"sizing\",\n mode: parser.mode,\n // Figure out what size to use based on the list of functions above\n size: sizeFuncs.indexOf(funcName) + 1,\n body\n };\n },\n htmlBuilder: sizing_htmlBuilder,\n mathmlBuilder: (group, options) => {\n const newOptions = options.havingSize(group.size);\n const inner = buildMathML_buildExpression(group.body, newOptions);\n const node = new mathMLTree.MathNode(\"mstyle\", inner); // TODO(emily): This doesn't produce the correct size for nested size\n // changes, because we don't keep state of what style we're currently\n // in, so we can't reset the size to normal before changing it. Now\n // that we're passing an options parameter we should be able to fix\n // this.\n\n node.setAttribute(\"mathsize\", makeEm(newOptions.sizeMultiplier));\n return node;\n }\n});\n;// CONCATENATED MODULE: ./src/functions/smash.js\n// smash, with optional [tb], as in AMS\n\n\n\n\n\n\ndefineFunction({\n type: \"smash\",\n names: [\"\\\\smash\"],\n props: {\n numArgs: 1,\n numOptionalArgs: 1,\n allowedInText: true\n },\n handler: (_ref, args, optArgs) => {\n let {\n parser\n } = _ref;\n let smashHeight = false;\n let smashDepth = false;\n const tbArg = optArgs[0] && assertNodeType(optArgs[0], \"ordgroup\");\n\n if (tbArg) {\n // Optional [tb] argument is engaged.\n // ref: amsmath: \\renewcommand{\\smash}[1][tb]{%\n // def\\mb@t{\\ht}\\def\\mb@b{\\dp}\\def\\mb@tb{\\ht\\z@\\z@\\dp}%\n let letter = \"\";\n\n for (let i = 0; i < tbArg.body.length; ++i) {\n const node = tbArg.body[i]; // $FlowFixMe: Not every node type has a `text` property.\n\n letter = node.text;\n\n if (letter === \"t\") {\n smashHeight = true;\n } else if (letter === \"b\") {\n smashDepth = true;\n } else {\n smashHeight = false;\n smashDepth = false;\n break;\n }\n }\n } else {\n smashHeight = true;\n smashDepth = true;\n }\n\n const body = args[0];\n return {\n type: \"smash\",\n mode: parser.mode,\n body,\n smashHeight,\n smashDepth\n };\n },\n htmlBuilder: (group, options) => {\n const node = buildCommon.makeSpan([], [buildGroup(group.body, options)]);\n\n if (!group.smashHeight && !group.smashDepth) {\n return node;\n }\n\n if (group.smashHeight) {\n node.height = 0; // In order to influence makeVList, we have to reset the children.\n\n if (node.children) {\n for (let i = 0; i < node.children.length; i++) {\n node.children[i].height = 0;\n }\n }\n }\n\n if (group.smashDepth) {\n node.depth = 0;\n\n if (node.children) {\n for (let i = 0; i < node.children.length; i++) {\n node.children[i].depth = 0;\n }\n }\n } // At this point, we've reset the TeX-like height and depth values.\n // But the span still has an HTML line height.\n // makeVList applies \"display: table-cell\", which prevents the browser\n // from acting on that line height. So we'll call makeVList now.\n\n\n const smashedNode = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: node\n }]\n }, options); // For spacing, TeX treats \\hphantom as a math group (same spacing as ord).\n\n return buildCommon.makeSpan([\"mord\"], [smashedNode], options);\n },\n mathmlBuilder: (group, options) => {\n const node = new mathMLTree.MathNode(\"mpadded\", [buildMathML_buildGroup(group.body, options)]);\n\n if (group.smashHeight) {\n node.setAttribute(\"height\", \"0px\");\n }\n\n if (group.smashDepth) {\n node.setAttribute(\"depth\", \"0px\");\n }\n\n return node;\n }\n});\n;// CONCATENATED MODULE: ./src/functions/sqrt.js\n\n\n\n\n\n\n\n\ndefineFunction({\n type: \"sqrt\",\n names: [\"\\\\sqrt\"],\n props: {\n numArgs: 1,\n numOptionalArgs: 1\n },\n\n handler(_ref, args, optArgs) {\n let {\n parser\n } = _ref;\n const index = optArgs[0];\n const body = args[0];\n return {\n type: \"sqrt\",\n mode: parser.mode,\n body,\n index\n };\n },\n\n htmlBuilder(group, options) {\n // Square roots are handled in the TeXbook pg. 443, Rule 11.\n // First, we do the same steps as in overline to build the inner group\n // and line\n let inner = buildGroup(group.body, options.havingCrampedStyle());\n\n if (inner.height === 0) {\n // Render a small surd.\n inner.height = options.fontMetrics().xHeight;\n } // Some groups can return document fragments. Handle those by wrapping\n // them in a span.\n\n\n inner = buildCommon.wrapFragment(inner, options); // Calculate the minimum size for the \\surd delimiter\n\n const metrics = options.fontMetrics();\n const theta = metrics.defaultRuleThickness;\n let phi = theta;\n\n if (options.style.id < src_Style.TEXT.id) {\n phi = options.fontMetrics().xHeight;\n } // Calculate the clearance between the body and line\n\n\n let lineClearance = theta + phi / 4;\n const minDelimiterHeight = inner.height + inner.depth + lineClearance + theta; // Create a sqrt SVG of the required minimum size\n\n const {\n span: img,\n ruleWidth,\n advanceWidth\n } = delimiter.sqrtImage(minDelimiterHeight, options);\n const delimDepth = img.height - ruleWidth; // Adjust the clearance based on the delimiter size\n\n if (delimDepth > inner.height + inner.depth + lineClearance) {\n lineClearance = (lineClearance + delimDepth - inner.height - inner.depth) / 2;\n } // Shift the sqrt image\n\n\n const imgShift = img.height - inner.height - lineClearance - ruleWidth;\n inner.style.paddingLeft = makeEm(advanceWidth); // Overlay the image and the argument.\n\n const body = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: inner,\n wrapperClasses: [\"svg-align\"]\n }, {\n type: \"kern\",\n size: -(inner.height + imgShift)\n }, {\n type: \"elem\",\n elem: img\n }, {\n type: \"kern\",\n size: ruleWidth\n }]\n }, options);\n\n if (!group.index) {\n return buildCommon.makeSpan([\"mord\", \"sqrt\"], [body], options);\n } else {\n // Handle the optional root index\n // The index is always in scriptscript style\n const newOptions = options.havingStyle(src_Style.SCRIPTSCRIPT);\n const rootm = buildGroup(group.index, newOptions, options); // The amount the index is shifted by. This is taken from the TeX\n // source, in the definition of `\\r@@t`.\n\n const toShift = 0.6 * (body.height - body.depth); // Build a VList with the superscript shifted up correctly\n\n const rootVList = buildCommon.makeVList({\n positionType: \"shift\",\n positionData: -toShift,\n children: [{\n type: \"elem\",\n elem: rootm\n }]\n }, options); // Add a class surrounding it so we can add on the appropriate\n // kerning\n\n const rootVListWrap = buildCommon.makeSpan([\"root\"], [rootVList]);\n return buildCommon.makeSpan([\"mord\", \"sqrt\"], [rootVListWrap, body], options);\n }\n },\n\n mathmlBuilder(group, options) {\n const {\n body,\n index\n } = group;\n return index ? new mathMLTree.MathNode(\"mroot\", [buildMathML_buildGroup(body, options), buildMathML_buildGroup(index, options)]) : new mathMLTree.MathNode(\"msqrt\", [buildMathML_buildGroup(body, options)]);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/styling.js\n\n\n\n\n\nconst styling_styleMap = {\n \"display\": src_Style.DISPLAY,\n \"text\": src_Style.TEXT,\n \"script\": src_Style.SCRIPT,\n \"scriptscript\": src_Style.SCRIPTSCRIPT\n};\ndefineFunction({\n type: \"styling\",\n names: [\"\\\\displaystyle\", \"\\\\textstyle\", \"\\\\scriptstyle\", \"\\\\scriptscriptstyle\"],\n props: {\n numArgs: 0,\n allowedInText: true,\n primitive: true\n },\n\n handler(_ref, args) {\n let {\n breakOnTokenText,\n funcName,\n parser\n } = _ref;\n // parse out the implicit body\n const body = parser.parseExpression(true, breakOnTokenText); // TODO: Refactor to avoid duplicating styleMap in multiple places (e.g.\n // here and in buildHTML and de-dupe the enumeration of all the styles).\n // $FlowFixMe: The names above exactly match the styles.\n\n const style = funcName.slice(1, funcName.length - 5);\n return {\n type: \"styling\",\n mode: parser.mode,\n // Figure out what style to use by pulling out the style from\n // the function name\n style,\n body\n };\n },\n\n htmlBuilder(group, options) {\n // Style changes are handled in the TeXbook on pg. 442, Rule 3.\n const newStyle = styling_styleMap[group.style];\n const newOptions = options.havingStyle(newStyle).withFont('');\n return sizingGroup(group.body, newOptions, options);\n },\n\n mathmlBuilder(group, options) {\n // Figure out what style we're changing to.\n const newStyle = styling_styleMap[group.style];\n const newOptions = options.havingStyle(newStyle);\n const inner = buildMathML_buildExpression(group.body, newOptions);\n const node = new mathMLTree.MathNode(\"mstyle\", inner);\n const styleAttributes = {\n \"display\": [\"0\", \"true\"],\n \"text\": [\"0\", \"false\"],\n \"script\": [\"1\", \"false\"],\n \"scriptscript\": [\"2\", \"false\"]\n };\n const attr = styleAttributes[group.style];\n node.setAttribute(\"scriptlevel\", attr[0]);\n node.setAttribute(\"displaystyle\", attr[1]);\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/supsub.js\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Sometimes, groups perform special rules when they have superscripts or\n * subscripts attached to them. This function lets the `supsub` group know that\n * Sometimes, groups perform special rules when they have superscripts or\n * its inner element should handle the superscripts and subscripts instead of\n * handling them itself.\n */\nconst htmlBuilderDelegate = function (group, options) {\n const base = group.base;\n\n if (!base) {\n return null;\n } else if (base.type === \"op\") {\n // Operators handle supsubs differently when they have limits\n // (e.g. `\\displaystyle\\sum_2^3`)\n const delegate = base.limits && (options.style.size === src_Style.DISPLAY.size || base.alwaysHandleSupSub);\n return delegate ? op_htmlBuilder : null;\n } else if (base.type === \"operatorname\") {\n const delegate = base.alwaysHandleSupSub && (options.style.size === src_Style.DISPLAY.size || base.limits);\n return delegate ? operatorname_htmlBuilder : null;\n } else if (base.type === \"accent\") {\n return utils.isCharacterBox(base.base) ? htmlBuilder : null;\n } else if (base.type === \"horizBrace\") {\n const isSup = !group.sub;\n return isSup === base.isOver ? horizBrace_htmlBuilder : null;\n } else {\n return null;\n }\n}; // Super scripts and subscripts, whose precise placement can depend on other\n// functions that precede them.\n\n\ndefineFunctionBuilders({\n type: \"supsub\",\n\n htmlBuilder(group, options) {\n // Superscript and subscripts are handled in the TeXbook on page\n // 445-446, rules 18(a-f).\n // Here is where we defer to the inner group if it should handle\n // superscripts and subscripts itself.\n const builderDelegate = htmlBuilderDelegate(group, options);\n\n if (builderDelegate) {\n return builderDelegate(group, options);\n }\n\n const {\n base: valueBase,\n sup: valueSup,\n sub: valueSub\n } = group;\n const base = buildGroup(valueBase, options);\n let supm;\n let subm;\n const metrics = options.fontMetrics(); // Rule 18a\n\n let supShift = 0;\n let subShift = 0;\n const isCharacterBox = valueBase && utils.isCharacterBox(valueBase);\n\n if (valueSup) {\n const newOptions = options.havingStyle(options.style.sup());\n supm = buildGroup(valueSup, newOptions, options);\n\n if (!isCharacterBox) {\n supShift = base.height - newOptions.fontMetrics().supDrop * newOptions.sizeMultiplier / options.sizeMultiplier;\n }\n }\n\n if (valueSub) {\n const newOptions = options.havingStyle(options.style.sub());\n subm = buildGroup(valueSub, newOptions, options);\n\n if (!isCharacterBox) {\n subShift = base.depth + newOptions.fontMetrics().subDrop * newOptions.sizeMultiplier / options.sizeMultiplier;\n }\n } // Rule 18c\n\n\n let minSupShift;\n\n if (options.style === src_Style.DISPLAY) {\n minSupShift = metrics.sup1;\n } else if (options.style.cramped) {\n minSupShift = metrics.sup3;\n } else {\n minSupShift = metrics.sup2;\n } // scriptspace is a font-size-independent size, so scale it\n // appropriately for use as the marginRight.\n\n\n const multiplier = options.sizeMultiplier;\n const marginRight = makeEm(0.5 / metrics.ptPerEm / multiplier);\n let marginLeft = null;\n\n if (subm) {\n // Subscripts shouldn't be shifted by the base's italic correction.\n // Account for that by shifting the subscript back the appropriate\n // amount. Note we only do this when the base is a single symbol.\n const isOiint = group.base && group.base.type === \"op\" && group.base.name && (group.base.name === \"\\\\oiint\" || group.base.name === \"\\\\oiiint\");\n\n if (base instanceof SymbolNode || isOiint) {\n // $FlowFixMe\n marginLeft = makeEm(-base.italic);\n }\n }\n\n let supsub;\n\n if (supm && subm) {\n supShift = Math.max(supShift, minSupShift, supm.depth + 0.25 * metrics.xHeight);\n subShift = Math.max(subShift, metrics.sub2);\n const ruleWidth = metrics.defaultRuleThickness; // Rule 18e\n\n const maxWidth = 4 * ruleWidth;\n\n if (supShift - supm.depth - (subm.height - subShift) < maxWidth) {\n subShift = maxWidth - (supShift - supm.depth) + subm.height;\n const psi = 0.8 * metrics.xHeight - (supShift - supm.depth);\n\n if (psi > 0) {\n supShift += psi;\n subShift -= psi;\n }\n }\n\n const vlistElem = [{\n type: \"elem\",\n elem: subm,\n shift: subShift,\n marginRight,\n marginLeft\n }, {\n type: \"elem\",\n elem: supm,\n shift: -supShift,\n marginRight\n }];\n supsub = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: vlistElem\n }, options);\n } else if (subm) {\n // Rule 18b\n subShift = Math.max(subShift, metrics.sub1, subm.height - 0.8 * metrics.xHeight);\n const vlistElem = [{\n type: \"elem\",\n elem: subm,\n marginLeft,\n marginRight\n }];\n supsub = buildCommon.makeVList({\n positionType: \"shift\",\n positionData: subShift,\n children: vlistElem\n }, options);\n } else if (supm) {\n // Rule 18c, d\n supShift = Math.max(supShift, minSupShift, supm.depth + 0.25 * metrics.xHeight);\n supsub = buildCommon.makeVList({\n positionType: \"shift\",\n positionData: -supShift,\n children: [{\n type: \"elem\",\n elem: supm,\n marginRight\n }]\n }, options);\n } else {\n throw new Error(\"supsub must have either sup or sub.\");\n } // Wrap the supsub vlist in a span.msupsub to reset text-align.\n\n\n const mclass = getTypeOfDomTree(base, \"right\") || \"mord\";\n return buildCommon.makeSpan([mclass], [base, buildCommon.makeSpan([\"msupsub\"], [supsub])], options);\n },\n\n mathmlBuilder(group, options) {\n // Is the inner group a relevant horizonal brace?\n let isBrace = false;\n let isOver;\n let isSup;\n\n if (group.base && group.base.type === \"horizBrace\") {\n isSup = !!group.sup;\n\n if (isSup === group.base.isOver) {\n isBrace = true;\n isOver = group.base.isOver;\n }\n }\n\n if (group.base && (group.base.type === \"op\" || group.base.type === \"operatorname\")) {\n group.base.parentIsSupSub = true;\n }\n\n const children = [buildMathML_buildGroup(group.base, options)];\n\n if (group.sub) {\n children.push(buildMathML_buildGroup(group.sub, options));\n }\n\n if (group.sup) {\n children.push(buildMathML_buildGroup(group.sup, options));\n }\n\n let nodeType;\n\n if (isBrace) {\n nodeType = isOver ? \"mover\" : \"munder\";\n } else if (!group.sub) {\n const base = group.base;\n\n if (base && base.type === \"op\" && base.limits && (options.style === src_Style.DISPLAY || base.alwaysHandleSupSub)) {\n nodeType = \"mover\";\n } else if (base && base.type === \"operatorname\" && base.alwaysHandleSupSub && (base.limits || options.style === src_Style.DISPLAY)) {\n nodeType = \"mover\";\n } else {\n nodeType = \"msup\";\n }\n } else if (!group.sup) {\n const base = group.base;\n\n if (base && base.type === \"op\" && base.limits && (options.style === src_Style.DISPLAY || base.alwaysHandleSupSub)) {\n nodeType = \"munder\";\n } else if (base && base.type === \"operatorname\" && base.alwaysHandleSupSub && (base.limits || options.style === src_Style.DISPLAY)) {\n nodeType = \"munder\";\n } else {\n nodeType = \"msub\";\n }\n } else {\n const base = group.base;\n\n if (base && base.type === \"op\" && base.limits && options.style === src_Style.DISPLAY) {\n nodeType = \"munderover\";\n } else if (base && base.type === \"operatorname\" && base.alwaysHandleSupSub && (options.style === src_Style.DISPLAY || base.limits)) {\n nodeType = \"munderover\";\n } else {\n nodeType = \"msubsup\";\n }\n }\n\n return new mathMLTree.MathNode(nodeType, children);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/symbolsOp.js\n\n\n\n // Operator ParseNodes created in Parser.js from symbol Groups in src/symbols.js.\n\ndefineFunctionBuilders({\n type: \"atom\",\n\n htmlBuilder(group, options) {\n return buildCommon.mathsym(group.text, group.mode, options, [\"m\" + group.family]);\n },\n\n mathmlBuilder(group, options) {\n const node = new mathMLTree.MathNode(\"mo\", [makeText(group.text, group.mode)]);\n\n if (group.family === \"bin\") {\n const variant = getVariant(group, options);\n\n if (variant === \"bold-italic\") {\n node.setAttribute(\"mathvariant\", variant);\n }\n } else if (group.family === \"punct\") {\n node.setAttribute(\"separator\", \"true\");\n } else if (group.family === \"open\" || group.family === \"close\") {\n // Delims built here should not stretch vertically.\n // See delimsizing.js for stretchy delims.\n node.setAttribute(\"stretchy\", \"false\");\n }\n\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/symbolsOrd.js\n\n\n\n\n// \"mathord\" and \"textord\" ParseNodes created in Parser.js from symbol Groups in\n// src/symbols.js.\nconst defaultVariant = {\n \"mi\": \"italic\",\n \"mn\": \"normal\",\n \"mtext\": \"normal\"\n};\ndefineFunctionBuilders({\n type: \"mathord\",\n\n htmlBuilder(group, options) {\n return buildCommon.makeOrd(group, options, \"mathord\");\n },\n\n mathmlBuilder(group, options) {\n const node = new mathMLTree.MathNode(\"mi\", [makeText(group.text, group.mode, options)]);\n const variant = getVariant(group, options) || \"italic\";\n\n if (variant !== defaultVariant[node.type]) {\n node.setAttribute(\"mathvariant\", variant);\n }\n\n return node;\n }\n\n});\ndefineFunctionBuilders({\n type: \"textord\",\n\n htmlBuilder(group, options) {\n return buildCommon.makeOrd(group, options, \"textord\");\n },\n\n mathmlBuilder(group, options) {\n const text = makeText(group.text, group.mode, options);\n const variant = getVariant(group, options) || \"normal\";\n let node;\n\n if (group.mode === 'text') {\n node = new mathMLTree.MathNode(\"mtext\", [text]);\n } else if (/[0-9]/.test(group.text)) {\n node = new mathMLTree.MathNode(\"mn\", [text]);\n } else if (group.text === \"\\\\prime\") {\n node = new mathMLTree.MathNode(\"mo\", [text]);\n } else {\n node = new mathMLTree.MathNode(\"mi\", [text]);\n }\n\n if (variant !== defaultVariant[node.type]) {\n node.setAttribute(\"mathvariant\", variant);\n }\n\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/symbolsSpacing.js\n\n\n\n // A map of CSS-based spacing functions to their CSS class.\n\nconst cssSpace = {\n \"\\\\nobreak\": \"nobreak\",\n \"\\\\allowbreak\": \"allowbreak\"\n}; // A lookup table to determine whether a spacing function/symbol should be\n// treated like a regular space character. If a symbol or command is a key\n// in this table, then it should be a regular space character. Furthermore,\n// the associated value may have a `className` specifying an extra CSS class\n// to add to the created `span`.\n\nconst regularSpace = {\n \" \": {},\n \"\\\\ \": {},\n \"~\": {\n className: \"nobreak\"\n },\n \"\\\\space\": {},\n \"\\\\nobreakspace\": {\n className: \"nobreak\"\n }\n}; // ParseNode<\"spacing\"> created in Parser.js from the \"spacing\" symbol Groups in\n// src/symbols.js.\n\ndefineFunctionBuilders({\n type: \"spacing\",\n\n htmlBuilder(group, options) {\n if (regularSpace.hasOwnProperty(group.text)) {\n const className = regularSpace[group.text].className || \"\"; // Spaces are generated by adding an actual space. Each of these\n // things has an entry in the symbols table, so these will be turned\n // into appropriate outputs.\n\n if (group.mode === \"text\") {\n const ord = buildCommon.makeOrd(group, options, \"textord\");\n ord.classes.push(className);\n return ord;\n } else {\n return buildCommon.makeSpan([\"mspace\", className], [buildCommon.mathsym(group.text, group.mode, options)], options);\n }\n } else if (cssSpace.hasOwnProperty(group.text)) {\n // Spaces based on just a CSS class.\n return buildCommon.makeSpan([\"mspace\", cssSpace[group.text]], [], options);\n } else {\n throw new src_ParseError(\"Unknown type of space \\\"\" + group.text + \"\\\"\");\n }\n },\n\n mathmlBuilder(group, options) {\n let node;\n\n if (regularSpace.hasOwnProperty(group.text)) {\n node = new mathMLTree.MathNode(\"mtext\", [new mathMLTree.TextNode(\"\\u00a0\")]);\n } else if (cssSpace.hasOwnProperty(group.text)) {\n // CSS-based MathML spaces (\\nobreak, \\allowbreak) are ignored\n return new mathMLTree.MathNode(\"mspace\");\n } else {\n throw new src_ParseError(\"Unknown type of space \\\"\" + group.text + \"\\\"\");\n }\n\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/tag.js\n\n\n\n\nconst pad = () => {\n const padNode = new mathMLTree.MathNode(\"mtd\", []);\n padNode.setAttribute(\"width\", \"50%\");\n return padNode;\n};\n\ndefineFunctionBuilders({\n type: \"tag\",\n\n mathmlBuilder(group, options) {\n const table = new mathMLTree.MathNode(\"mtable\", [new mathMLTree.MathNode(\"mtr\", [pad(), new mathMLTree.MathNode(\"mtd\", [buildExpressionRow(group.body, options)]), pad(), new mathMLTree.MathNode(\"mtd\", [buildExpressionRow(group.tag, options)])])]);\n table.setAttribute(\"width\", \"100%\");\n return table; // TODO: Left-aligned tags.\n // Currently, the group and options passed here do not contain\n // enough info to set tag alignment. `leqno` is in Settings but it is\n // not passed to Options. On the HTML side, leqno is\n // set by a CSS class applied in buildTree.js. That would have worked\n // in MathML if browsers supported . Since they don't, we\n // need to rewrite the way this function is called.\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/text.js\n\n\n\n // Non-mathy text, possibly in a font\n\nconst textFontFamilies = {\n \"\\\\text\": undefined,\n \"\\\\textrm\": \"textrm\",\n \"\\\\textsf\": \"textsf\",\n \"\\\\texttt\": \"texttt\",\n \"\\\\textnormal\": \"textrm\"\n};\nconst textFontWeights = {\n \"\\\\textbf\": \"textbf\",\n \"\\\\textmd\": \"textmd\"\n};\nconst textFontShapes = {\n \"\\\\textit\": \"textit\",\n \"\\\\textup\": \"textup\"\n};\n\nconst optionsWithFont = (group, options) => {\n const font = group.font; // Checks if the argument is a font family or a font style.\n\n if (!font) {\n return options;\n } else if (textFontFamilies[font]) {\n return options.withTextFontFamily(textFontFamilies[font]);\n } else if (textFontWeights[font]) {\n return options.withTextFontWeight(textFontWeights[font]);\n } else if (font === \"\\\\emph\") {\n return options.fontShape === \"textit\" ? options.withTextFontShape(\"textup\") : options.withTextFontShape(\"textit\");\n }\n\n return options.withTextFontShape(textFontShapes[font]);\n};\n\ndefineFunction({\n type: \"text\",\n names: [// Font families\n \"\\\\text\", \"\\\\textrm\", \"\\\\textsf\", \"\\\\texttt\", \"\\\\textnormal\", // Font weights\n \"\\\\textbf\", \"\\\\textmd\", // Font Shapes\n \"\\\\textit\", \"\\\\textup\", \"\\\\emph\"],\n props: {\n numArgs: 1,\n argTypes: [\"text\"],\n allowedInArgument: true,\n allowedInText: true\n },\n\n handler(_ref, args) {\n let {\n parser,\n funcName\n } = _ref;\n const body = args[0];\n return {\n type: \"text\",\n mode: parser.mode,\n body: ordargument(body),\n font: funcName\n };\n },\n\n htmlBuilder(group, options) {\n const newOptions = optionsWithFont(group, options);\n const inner = buildExpression(group.body, newOptions, true);\n return buildCommon.makeSpan([\"mord\", \"text\"], inner, newOptions);\n },\n\n mathmlBuilder(group, options) {\n const newOptions = optionsWithFont(group, options);\n return buildExpressionRow(group.body, newOptions);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/underline.js\n\n\n\n\n\ndefineFunction({\n type: \"underline\",\n names: [\"\\\\underline\"],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n return {\n type: \"underline\",\n mode: parser.mode,\n body: args[0]\n };\n },\n\n htmlBuilder(group, options) {\n // Underlines are handled in the TeXbook pg 443, Rule 10.\n // Build the inner group.\n const innerGroup = buildGroup(group.body, options); // Create the line to go below the body\n\n const line = buildCommon.makeLineSpan(\"underline-line\", options); // Generate the vlist, with the appropriate kerns\n\n const defaultRuleThickness = options.fontMetrics().defaultRuleThickness;\n const vlist = buildCommon.makeVList({\n positionType: \"top\",\n positionData: innerGroup.height,\n children: [{\n type: \"kern\",\n size: defaultRuleThickness\n }, {\n type: \"elem\",\n elem: line\n }, {\n type: \"kern\",\n size: 3 * defaultRuleThickness\n }, {\n type: \"elem\",\n elem: innerGroup\n }]\n }, options);\n return buildCommon.makeSpan([\"mord\", \"underline\"], [vlist], options);\n },\n\n mathmlBuilder(group, options) {\n const operator = new mathMLTree.MathNode(\"mo\", [new mathMLTree.TextNode(\"\\u203e\")]);\n operator.setAttribute(\"stretchy\", \"true\");\n const node = new mathMLTree.MathNode(\"munder\", [buildMathML_buildGroup(group.body, options), operator]);\n node.setAttribute(\"accentunder\", \"true\");\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/vcenter.js\n\n\n\n\n // \\vcenter: Vertically center the argument group on the math axis.\n\ndefineFunction({\n type: \"vcenter\",\n names: [\"\\\\vcenter\"],\n props: {\n numArgs: 1,\n argTypes: [\"original\"],\n // In LaTeX, \\vcenter can act only on a box.\n allowedInText: false\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n return {\n type: \"vcenter\",\n mode: parser.mode,\n body: args[0]\n };\n },\n\n htmlBuilder(group, options) {\n const body = buildGroup(group.body, options);\n const axisHeight = options.fontMetrics().axisHeight;\n const dy = 0.5 * (body.height - axisHeight - (body.depth + axisHeight));\n return buildCommon.makeVList({\n positionType: \"shift\",\n positionData: dy,\n children: [{\n type: \"elem\",\n elem: body\n }]\n }, options);\n },\n\n mathmlBuilder(group, options) {\n // There is no way to do this in MathML.\n // Write a class as a breadcrumb in case some post-processor wants\n // to perform a vcenter adjustment.\n return new mathMLTree.MathNode(\"mpadded\", [buildMathML_buildGroup(group.body, options)], [\"vcenter\"]);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/verb.js\n\n\n\n\ndefineFunction({\n type: \"verb\",\n names: [\"\\\\verb\"],\n props: {\n numArgs: 0,\n allowedInText: true\n },\n\n handler(context, args, optArgs) {\n // \\verb and \\verb* are dealt with directly in Parser.js.\n // If we end up here, it's because of a failure to match the two delimiters\n // in the regex in Lexer.js. LaTeX raises the following error when \\verb is\n // terminated by end of line (or file).\n throw new src_ParseError(\"\\\\verb ended by end of line instead of matching delimiter\");\n },\n\n htmlBuilder(group, options) {\n const text = makeVerb(group);\n const body = []; // \\verb enters text mode and therefore is sized like \\textstyle\n\n const newOptions = options.havingStyle(options.style.text());\n\n for (let i = 0; i < text.length; i++) {\n let c = text[i];\n\n if (c === '~') {\n c = '\\\\textasciitilde';\n }\n\n body.push(buildCommon.makeSymbol(c, \"Typewriter-Regular\", group.mode, newOptions, [\"mord\", \"texttt\"]));\n }\n\n return buildCommon.makeSpan([\"mord\", \"text\"].concat(newOptions.sizingClasses(options)), buildCommon.tryCombineChars(body), newOptions);\n },\n\n mathmlBuilder(group, options) {\n const text = new mathMLTree.TextNode(makeVerb(group));\n const node = new mathMLTree.MathNode(\"mtext\", [text]);\n node.setAttribute(\"mathvariant\", \"monospace\");\n return node;\n }\n\n});\n/**\n * Converts verb group into body string.\n *\n * \\verb* replaces each space with an open box \\u2423\n * \\verb replaces each space with a no-break space \\xA0\n */\n\nconst makeVerb = group => group.body.replace(/ /g, group.star ? '\\u2423' : '\\xA0');\n;// CONCATENATED MODULE: ./src/functions.js\n/** Include this to ensure that all functions are defined. */\n\nconst functions = _functions;\n/* harmony default export */ var src_functions = (functions); // TODO(kevinb): have functions return an object and call defineFunction with\n// that object in this file instead of relying on side-effects.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n;// CONCATENATED MODULE: ./src/Lexer.js\n/**\n * The Lexer class handles tokenizing the input in various ways. Since our\n * parser expects us to be able to backtrack, the lexer allows lexing from any\n * given starting point.\n *\n * Its main exposed function is the `lex` function, which takes a position to\n * lex from and a type of token to lex. It defers to the appropriate `_innerLex`\n * function.\n *\n * The various `_innerLex` functions perform the actual lexing of different\n * kinds.\n */\n\n\n\n\n/* The following tokenRegex\n * - matches typical whitespace (but not NBSP etc.) using its first group\n * - does not match any control character \\x00-\\x1f except whitespace\n * - does not match a bare backslash\n * - matches any ASCII character except those just mentioned\n * - does not match the BMP private use area \\uE000-\\uF8FF\n * - does not match bare surrogate code units\n * - matches any BMP character except for those just described\n * - matches any valid Unicode surrogate pair\n * - matches a backslash followed by one or more whitespace characters\n * - matches a backslash followed by one or more letters then whitespace\n * - matches a backslash followed by any BMP character\n * Capturing groups:\n * [1] regular whitespace\n * [2] backslash followed by whitespace\n * [3] anything else, which may include:\n * [4] left character of \\verb*\n * [5] left character of \\verb\n * [6] backslash followed by word, excluding any trailing whitespace\n * Just because the Lexer matches something doesn't mean it's valid input:\n * If there is no matching function or symbol definition, the Parser will\n * still reject the input.\n */\nconst spaceRegexString = \"[ \\r\\n\\t]\";\nconst controlWordRegexString = \"\\\\\\\\[a-zA-Z@]+\";\nconst controlSymbolRegexString = \"\\\\\\\\[^\\uD800-\\uDFFF]\";\nconst controlWordWhitespaceRegexString = \"(\" + controlWordRegexString + \")\" + spaceRegexString + \"*\";\nconst controlSpaceRegexString = \"\\\\\\\\(\\n|[ \\r\\t]+\\n?)[ \\r\\t]*\";\nconst combiningDiacriticalMarkString = \"[\\u0300-\\u036f]\";\nconst combiningDiacriticalMarksEndRegex = new RegExp(combiningDiacriticalMarkString + \"+$\");\nconst tokenRegexString = \"(\" + spaceRegexString + \"+)|\" + ( // whitespace\ncontrolSpaceRegexString + \"|\") + // \\whitespace\n\"([!-\\\\[\\\\]-\\u2027\\u202A-\\uD7FF\\uF900-\\uFFFF]\" + ( // single codepoint\ncombiningDiacriticalMarkString + \"*\") + // ...plus accents\n\"|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]\" + ( // surrogate pair\ncombiningDiacriticalMarkString + \"*\") + // ...plus accents\n\"|\\\\\\\\verb\\\\*([^]).*?\\\\4\" + // \\verb*\n\"|\\\\\\\\verb([^*a-zA-Z]).*?\\\\5\" + ( // \\verb unstarred\n\"|\" + controlWordWhitespaceRegexString) + ( // \\macroName + spaces\n\"|\" + controlSymbolRegexString + \")\"); // \\\\, \\', etc.\n\n/** Main Lexer class */\n\nclass Lexer {\n // Category codes. The lexer only supports comment characters (14) for now.\n // MacroExpander additionally distinguishes active (13).\n constructor(input, settings) {\n this.input = void 0;\n this.settings = void 0;\n this.tokenRegex = void 0;\n this.catcodes = void 0;\n // Separate accents from characters\n this.input = input;\n this.settings = settings;\n this.tokenRegex = new RegExp(tokenRegexString, 'g');\n this.catcodes = {\n \"%\": 14,\n // comment character\n \"~\": 13 // active character\n\n };\n }\n\n setCatcode(char, code) {\n this.catcodes[char] = code;\n }\n /**\n * This function lexes a single token.\n */\n\n\n lex() {\n const input = this.input;\n const pos = this.tokenRegex.lastIndex;\n\n if (pos === input.length) {\n return new Token(\"EOF\", new SourceLocation(this, pos, pos));\n }\n\n const match = this.tokenRegex.exec(input);\n\n if (match === null || match.index !== pos) {\n throw new src_ParseError(\"Unexpected character: '\" + input[pos] + \"'\", new Token(input[pos], new SourceLocation(this, pos, pos + 1)));\n }\n\n const text = match[6] || match[3] || (match[2] ? \"\\\\ \" : \" \");\n\n if (this.catcodes[text] === 14) {\n // comment character\n const nlIndex = input.indexOf('\\n', this.tokenRegex.lastIndex);\n\n if (nlIndex === -1) {\n this.tokenRegex.lastIndex = input.length; // EOF\n\n this.settings.reportNonstrict(\"commentAtEnd\", \"% comment has no terminating newline; LaTeX would \" + \"fail because of commenting the end of math mode (e.g. $)\");\n } else {\n this.tokenRegex.lastIndex = nlIndex + 1;\n }\n\n return this.lex();\n }\n\n return new Token(text, new SourceLocation(this, pos, this.tokenRegex.lastIndex));\n }\n\n}\n;// CONCATENATED MODULE: ./src/Namespace.js\n/**\n * A `Namespace` refers to a space of nameable things like macros or lengths,\n * which can be `set` either globally or local to a nested group, using an\n * undo stack similar to how TeX implements this functionality.\n * Performance-wise, `get` and local `set` take constant time, while global\n * `set` takes time proportional to the depth of group nesting.\n */\n\nclass Namespace {\n /**\n * Both arguments are optional. The first argument is an object of\n * built-in mappings which never change. The second argument is an object\n * of initial (global-level) mappings, which will constantly change\n * according to any global/top-level `set`s done.\n */\n constructor(builtins, globalMacros) {\n if (builtins === void 0) {\n builtins = {};\n }\n\n if (globalMacros === void 0) {\n globalMacros = {};\n }\n\n this.current = void 0;\n this.builtins = void 0;\n this.undefStack = void 0;\n this.current = globalMacros;\n this.builtins = builtins;\n this.undefStack = [];\n }\n /**\n * Start a new nested group, affecting future local `set`s.\n */\n\n\n beginGroup() {\n this.undefStack.push({});\n }\n /**\n * End current nested group, restoring values before the group began.\n */\n\n\n endGroup() {\n if (this.undefStack.length === 0) {\n throw new src_ParseError(\"Unbalanced namespace destruction: attempt \" + \"to pop global namespace; please report this as a bug\");\n }\n\n const undefs = this.undefStack.pop();\n\n for (const undef in undefs) {\n if (undefs.hasOwnProperty(undef)) {\n if (undefs[undef] == null) {\n delete this.current[undef];\n } else {\n this.current[undef] = undefs[undef];\n }\n }\n }\n }\n /**\n * Ends all currently nested groups (if any), restoring values before the\n * groups began. Useful in case of an error in the middle of parsing.\n */\n\n\n endGroups() {\n while (this.undefStack.length > 0) {\n this.endGroup();\n }\n }\n /**\n * Detect whether `name` has a definition. Equivalent to\n * `get(name) != null`.\n */\n\n\n has(name) {\n return this.current.hasOwnProperty(name) || this.builtins.hasOwnProperty(name);\n }\n /**\n * Get the current value of a name, or `undefined` if there is no value.\n *\n * Note: Do not use `if (namespace.get(...))` to detect whether a macro\n * is defined, as the definition may be the empty string which evaluates\n * to `false` in JavaScript. Use `if (namespace.get(...) != null)` or\n * `if (namespace.has(...))`.\n */\n\n\n get(name) {\n if (this.current.hasOwnProperty(name)) {\n return this.current[name];\n } else {\n return this.builtins[name];\n }\n }\n /**\n * Set the current value of a name, and optionally set it globally too.\n * Local set() sets the current value and (when appropriate) adds an undo\n * operation to the undo stack. Global set() may change the undo\n * operation at every level, so takes time linear in their number.\n * A value of undefined means to delete existing definitions.\n */\n\n\n set(name, value, global) {\n if (global === void 0) {\n global = false;\n }\n\n if (global) {\n // Global set is equivalent to setting in all groups. Simulate this\n // by destroying any undos currently scheduled for this name,\n // and adding an undo with the *new* value (in case it later gets\n // locally reset within this environment).\n for (let i = 0; i < this.undefStack.length; i++) {\n delete this.undefStack[i][name];\n }\n\n if (this.undefStack.length > 0) {\n this.undefStack[this.undefStack.length - 1][name] = value;\n }\n } else {\n // Undo this set at end of this group (possibly to `undefined`),\n // unless an undo is already in place, in which case that older\n // value is the correct one.\n const top = this.undefStack[this.undefStack.length - 1];\n\n if (top && !top.hasOwnProperty(name)) {\n top[name] = this.current[name];\n }\n }\n\n if (value == null) {\n delete this.current[name];\n } else {\n this.current[name] = value;\n }\n }\n\n}\n;// CONCATENATED MODULE: ./src/macros.js\n/**\n * Predefined macros for KaTeX.\n * This can be used to define some commands in terms of others.\n */\n// Export global macros object from defineMacro\n\nconst macros = _macros;\n/* harmony default export */ var src_macros = (macros);\n\n\n\n\n\n //////////////////////////////////////////////////////////////////////\n// macro tools\n\ndefineMacro(\"\\\\noexpand\", function (context) {\n // The expansion is the token itself; but that token is interpreted\n // as if its meaning were ‘\\relax’ if it is a control sequence that\n // would ordinarily be expanded by TeX’s expansion rules.\n const t = context.popToken();\n\n if (context.isExpandable(t.text)) {\n t.noexpand = true;\n t.treatAsRelax = true;\n }\n\n return {\n tokens: [t],\n numArgs: 0\n };\n});\ndefineMacro(\"\\\\expandafter\", function (context) {\n // TeX first reads the token that comes immediately after \\expandafter,\n // without expanding it; let’s call this token t. Then TeX reads the\n // token that comes after t (and possibly more tokens, if that token\n // has an argument), replacing it by its expansion. Finally TeX puts\n // t back in front of that expansion.\n const t = context.popToken();\n context.expandOnce(true); // expand only an expandable token\n\n return {\n tokens: [t],\n numArgs: 0\n };\n}); // LaTeX's \\@firstoftwo{#1}{#2} expands to #1, skipping #2\n// TeX source: \\long\\def\\@firstoftwo#1#2{#1}\n\ndefineMacro(\"\\\\@firstoftwo\", function (context) {\n const args = context.consumeArgs(2);\n return {\n tokens: args[0],\n numArgs: 0\n };\n}); // LaTeX's \\@secondoftwo{#1}{#2} expands to #2, skipping #1\n// TeX source: \\long\\def\\@secondoftwo#1#2{#2}\n\ndefineMacro(\"\\\\@secondoftwo\", function (context) {\n const args = context.consumeArgs(2);\n return {\n tokens: args[1],\n numArgs: 0\n };\n}); // LaTeX's \\@ifnextchar{#1}{#2}{#3} looks ahead to the next (unexpanded)\n// symbol that isn't a space, consuming any spaces but not consuming the\n// first nonspace character. If that nonspace character matches #1, then\n// the macro expands to #2; otherwise, it expands to #3.\n\ndefineMacro(\"\\\\@ifnextchar\", function (context) {\n const args = context.consumeArgs(3); // symbol, if, else\n\n context.consumeSpaces();\n const nextToken = context.future();\n\n if (args[0].length === 1 && args[0][0].text === nextToken.text) {\n return {\n tokens: args[1],\n numArgs: 0\n };\n } else {\n return {\n tokens: args[2],\n numArgs: 0\n };\n }\n}); // LaTeX's \\@ifstar{#1}{#2} looks ahead to the next (unexpanded) symbol.\n// If it is `*`, then it consumes the symbol, and the macro expands to #1;\n// otherwise, the macro expands to #2 (without consuming the symbol).\n// TeX source: \\def\\@ifstar#1{\\@ifnextchar *{\\@firstoftwo{#1}}}\n\ndefineMacro(\"\\\\@ifstar\", \"\\\\@ifnextchar *{\\\\@firstoftwo{#1}}\"); // LaTeX's \\TextOrMath{#1}{#2} expands to #1 in text mode, #2 in math mode\n\ndefineMacro(\"\\\\TextOrMath\", function (context) {\n const args = context.consumeArgs(2);\n\n if (context.mode === 'text') {\n return {\n tokens: args[0],\n numArgs: 0\n };\n } else {\n return {\n tokens: args[1],\n numArgs: 0\n };\n }\n}); // Lookup table for parsing numbers in base 8 through 16\n\nconst digitToNumber = {\n \"0\": 0,\n \"1\": 1,\n \"2\": 2,\n \"3\": 3,\n \"4\": 4,\n \"5\": 5,\n \"6\": 6,\n \"7\": 7,\n \"8\": 8,\n \"9\": 9,\n \"a\": 10,\n \"A\": 10,\n \"b\": 11,\n \"B\": 11,\n \"c\": 12,\n \"C\": 12,\n \"d\": 13,\n \"D\": 13,\n \"e\": 14,\n \"E\": 14,\n \"f\": 15,\n \"F\": 15\n}; // TeX \\char makes a literal character (catcode 12) using the following forms:\n// (see The TeXBook, p. 43)\n// \\char123 -- decimal\n// \\char'123 -- octal\n// \\char\"123 -- hex\n// \\char`x -- character that can be written (i.e. isn't active)\n// \\char`\\x -- character that cannot be written (e.g. %)\n// These all refer to characters from the font, so we turn them into special\n// calls to a function \\@char dealt with in the Parser.\n\ndefineMacro(\"\\\\char\", function (context) {\n let token = context.popToken();\n let base;\n let number = '';\n\n if (token.text === \"'\") {\n base = 8;\n token = context.popToken();\n } else if (token.text === '\"') {\n base = 16;\n token = context.popToken();\n } else if (token.text === \"`\") {\n token = context.popToken();\n\n if (token.text[0] === \"\\\\\") {\n number = token.text.charCodeAt(1);\n } else if (token.text === \"EOF\") {\n throw new src_ParseError(\"\\\\char` missing argument\");\n } else {\n number = token.text.charCodeAt(0);\n }\n } else {\n base = 10;\n }\n\n if (base) {\n // Parse a number in the given base, starting with first `token`.\n number = digitToNumber[token.text];\n\n if (number == null || number >= base) {\n throw new src_ParseError(\"Invalid base-\" + base + \" digit \" + token.text);\n }\n\n let digit;\n\n while ((digit = digitToNumber[context.future().text]) != null && digit < base) {\n number *= base;\n number += digit;\n context.popToken();\n }\n }\n\n return \"\\\\@char{\" + number + \"}\";\n}); // \\newcommand{\\macro}[args]{definition}\n// \\renewcommand{\\macro}[args]{definition}\n// TODO: Optional arguments: \\newcommand{\\macro}[args][default]{definition}\n\nconst newcommand = (context, existsOK, nonexistsOK) => {\n let arg = context.consumeArg().tokens;\n\n if (arg.length !== 1) {\n throw new src_ParseError(\"\\\\newcommand's first argument must be a macro name\");\n }\n\n const name = arg[0].text;\n const exists = context.isDefined(name);\n\n if (exists && !existsOK) {\n throw new src_ParseError(\"\\\\newcommand{\" + name + \"} attempting to redefine \" + (name + \"; use \\\\renewcommand\"));\n }\n\n if (!exists && !nonexistsOK) {\n throw new src_ParseError(\"\\\\renewcommand{\" + name + \"} when command \" + name + \" \" + \"does not yet exist; use \\\\newcommand\");\n }\n\n let numArgs = 0;\n arg = context.consumeArg().tokens;\n\n if (arg.length === 1 && arg[0].text === \"[\") {\n let argText = '';\n let token = context.expandNextToken();\n\n while (token.text !== \"]\" && token.text !== \"EOF\") {\n // TODO: Should properly expand arg, e.g., ignore {}s\n argText += token.text;\n token = context.expandNextToken();\n }\n\n if (!argText.match(/^\\s*[0-9]+\\s*$/)) {\n throw new src_ParseError(\"Invalid number of arguments: \" + argText);\n }\n\n numArgs = parseInt(argText);\n arg = context.consumeArg().tokens;\n } // Final arg is the expansion of the macro\n\n\n context.macros.set(name, {\n tokens: arg,\n numArgs\n });\n return '';\n};\n\ndefineMacro(\"\\\\newcommand\", context => newcommand(context, false, true));\ndefineMacro(\"\\\\renewcommand\", context => newcommand(context, true, false));\ndefineMacro(\"\\\\providecommand\", context => newcommand(context, true, true)); // terminal (console) tools\n\ndefineMacro(\"\\\\message\", context => {\n const arg = context.consumeArgs(1)[0]; // eslint-disable-next-line no-console\n\n console.log(arg.reverse().map(token => token.text).join(\"\"));\n return '';\n});\ndefineMacro(\"\\\\errmessage\", context => {\n const arg = context.consumeArgs(1)[0]; // eslint-disable-next-line no-console\n\n console.error(arg.reverse().map(token => token.text).join(\"\"));\n return '';\n});\ndefineMacro(\"\\\\show\", context => {\n const tok = context.popToken();\n const name = tok.text; // eslint-disable-next-line no-console\n\n console.log(tok, context.macros.get(name), src_functions[name], src_symbols.math[name], src_symbols.text[name]);\n return '';\n}); //////////////////////////////////////////////////////////////////////\n// Grouping\n// \\let\\bgroup={ \\let\\egroup=}\n\ndefineMacro(\"\\\\bgroup\", \"{\");\ndefineMacro(\"\\\\egroup\", \"}\"); // Symbols from latex.ltx:\n// \\def~{\\nobreakspace{}}\n// \\def\\lq{`}\n// \\def\\rq{'}\n// \\def \\aa {\\r a}\n// \\def \\AA {\\r A}\n\ndefineMacro(\"~\", \"\\\\nobreakspace\");\ndefineMacro(\"\\\\lq\", \"`\");\ndefineMacro(\"\\\\rq\", \"'\");\ndefineMacro(\"\\\\aa\", \"\\\\r a\");\ndefineMacro(\"\\\\AA\", \"\\\\r A\"); // Copyright (C) and registered (R) symbols. Use raw symbol in MathML.\n// \\DeclareTextCommandDefault{\\textcopyright}{\\textcircled{c}}\n// \\DeclareTextCommandDefault{\\textregistered}{\\textcircled{%\n// \\check@mathfonts\\fontsize\\sf@size\\z@\\math@fontsfalse\\selectfont R}}\n// \\DeclareRobustCommand{\\copyright}{%\n// \\ifmmode{\\nfss@text{\\textcopyright}}\\else\\textcopyright\\fi}\n\ndefineMacro(\"\\\\textcopyright\", \"\\\\html@mathml{\\\\textcircled{c}}{\\\\char`©}\");\ndefineMacro(\"\\\\copyright\", \"\\\\TextOrMath{\\\\textcopyright}{\\\\text{\\\\textcopyright}}\");\ndefineMacro(\"\\\\textregistered\", \"\\\\html@mathml{\\\\textcircled{\\\\scriptsize R}}{\\\\char`®}\"); // Characters omitted from Unicode range 1D400–1D7FF\n\ndefineMacro(\"\\u212C\", \"\\\\mathscr{B}\"); // script\n\ndefineMacro(\"\\u2130\", \"\\\\mathscr{E}\");\ndefineMacro(\"\\u2131\", \"\\\\mathscr{F}\");\ndefineMacro(\"\\u210B\", \"\\\\mathscr{H}\");\ndefineMacro(\"\\u2110\", \"\\\\mathscr{I}\");\ndefineMacro(\"\\u2112\", \"\\\\mathscr{L}\");\ndefineMacro(\"\\u2133\", \"\\\\mathscr{M}\");\ndefineMacro(\"\\u211B\", \"\\\\mathscr{R}\");\ndefineMacro(\"\\u212D\", \"\\\\mathfrak{C}\"); // Fraktur\n\ndefineMacro(\"\\u210C\", \"\\\\mathfrak{H}\");\ndefineMacro(\"\\u2128\", \"\\\\mathfrak{Z}\"); // Define \\Bbbk with a macro that works in both HTML and MathML.\n\ndefineMacro(\"\\\\Bbbk\", \"\\\\Bbb{k}\"); // Unicode middle dot\n// The KaTeX fonts do not contain U+00B7. Instead, \\cdotp displays\n// the dot at U+22C5 and gives it punct spacing.\n\ndefineMacro(\"\\u00b7\", \"\\\\cdotp\"); // \\llap and \\rlap render their contents in text mode\n\ndefineMacro(\"\\\\llap\", \"\\\\mathllap{\\\\textrm{#1}}\");\ndefineMacro(\"\\\\rlap\", \"\\\\mathrlap{\\\\textrm{#1}}\");\ndefineMacro(\"\\\\clap\", \"\\\\mathclap{\\\\textrm{#1}}\"); // \\mathstrut from the TeXbook, p 360\n\ndefineMacro(\"\\\\mathstrut\", \"\\\\vphantom{(}\"); // \\underbar from TeXbook p 353\n\ndefineMacro(\"\\\\underbar\", \"\\\\underline{\\\\text{#1}}\"); // \\not is defined by base/fontmath.ltx via\n// \\DeclareMathSymbol{\\not}{\\mathrel}{symbols}{\"36}\n// It's thus treated like a \\mathrel, but defined by a symbol that has zero\n// width but extends to the right. We use \\rlap to get that spacing.\n// For MathML we write U+0338 here. buildMathML.js will then do the overlay.\n\ndefineMacro(\"\\\\not\", '\\\\html@mathml{\\\\mathrel{\\\\mathrlap\\\\@not}}{\\\\char\"338}'); // Negated symbols from base/fontmath.ltx:\n// \\def\\neq{\\not=} \\let\\ne=\\neq\n// \\DeclareRobustCommand\n// \\notin{\\mathrel{\\m@th\\mathpalette\\c@ncel\\in}}\n// \\def\\c@ncel#1#2{\\m@th\\ooalign{$\\hfil#1\\mkern1mu/\\hfil$\\crcr$#1#2$}}\n\ndefineMacro(\"\\\\neq\", \"\\\\html@mathml{\\\\mathrel{\\\\not=}}{\\\\mathrel{\\\\char`≠}}\");\ndefineMacro(\"\\\\ne\", \"\\\\neq\");\ndefineMacro(\"\\u2260\", \"\\\\neq\");\ndefineMacro(\"\\\\notin\", \"\\\\html@mathml{\\\\mathrel{{\\\\in}\\\\mathllap{/\\\\mskip1mu}}}\" + \"{\\\\mathrel{\\\\char`∉}}\");\ndefineMacro(\"\\u2209\", \"\\\\notin\"); // Unicode stacked relations\n\ndefineMacro(\"\\u2258\", \"\\\\html@mathml{\" + \"\\\\mathrel{=\\\\kern{-1em}\\\\raisebox{0.4em}{$\\\\scriptsize\\\\frown$}}\" + \"}{\\\\mathrel{\\\\char`\\u2258}}\");\ndefineMacro(\"\\u2259\", \"\\\\html@mathml{\\\\stackrel{\\\\tiny\\\\wedge}{=}}{\\\\mathrel{\\\\char`\\u2258}}\");\ndefineMacro(\"\\u225A\", \"\\\\html@mathml{\\\\stackrel{\\\\tiny\\\\vee}{=}}{\\\\mathrel{\\\\char`\\u225A}}\");\ndefineMacro(\"\\u225B\", \"\\\\html@mathml{\\\\stackrel{\\\\scriptsize\\\\star}{=}}\" + \"{\\\\mathrel{\\\\char`\\u225B}}\");\ndefineMacro(\"\\u225D\", \"\\\\html@mathml{\\\\stackrel{\\\\tiny\\\\mathrm{def}}{=}}\" + \"{\\\\mathrel{\\\\char`\\u225D}}\");\ndefineMacro(\"\\u225E\", \"\\\\html@mathml{\\\\stackrel{\\\\tiny\\\\mathrm{m}}{=}}\" + \"{\\\\mathrel{\\\\char`\\u225E}}\");\ndefineMacro(\"\\u225F\", \"\\\\html@mathml{\\\\stackrel{\\\\tiny?}{=}}{\\\\mathrel{\\\\char`\\u225F}}\"); // Misc Unicode\n\ndefineMacro(\"\\u27C2\", \"\\\\perp\");\ndefineMacro(\"\\u203C\", \"\\\\mathclose{!\\\\mkern-0.8mu!}\");\ndefineMacro(\"\\u220C\", \"\\\\notni\");\ndefineMacro(\"\\u231C\", \"\\\\ulcorner\");\ndefineMacro(\"\\u231D\", \"\\\\urcorner\");\ndefineMacro(\"\\u231E\", \"\\\\llcorner\");\ndefineMacro(\"\\u231F\", \"\\\\lrcorner\");\ndefineMacro(\"\\u00A9\", \"\\\\copyright\");\ndefineMacro(\"\\u00AE\", \"\\\\textregistered\");\ndefineMacro(\"\\uFE0F\", \"\\\\textregistered\"); // The KaTeX fonts have corners at codepoints that don't match Unicode.\n// For MathML purposes, use the Unicode code point.\n\ndefineMacro(\"\\\\ulcorner\", \"\\\\html@mathml{\\\\@ulcorner}{\\\\mathop{\\\\char\\\"231c}}\");\ndefineMacro(\"\\\\urcorner\", \"\\\\html@mathml{\\\\@urcorner}{\\\\mathop{\\\\char\\\"231d}}\");\ndefineMacro(\"\\\\llcorner\", \"\\\\html@mathml{\\\\@llcorner}{\\\\mathop{\\\\char\\\"231e}}\");\ndefineMacro(\"\\\\lrcorner\", \"\\\\html@mathml{\\\\@lrcorner}{\\\\mathop{\\\\char\\\"231f}}\"); //////////////////////////////////////////////////////////////////////\n// LaTeX_2ε\n// \\vdots{\\vbox{\\baselineskip4\\p@ \\lineskiplimit\\z@\n// \\kern6\\p@\\hbox{.}\\hbox{.}\\hbox{.}}}\n// We'll call \\varvdots, which gets a glyph from symbols.js.\n// The zero-width rule gets us an equivalent to the vertical 6pt kern.\n\ndefineMacro(\"\\\\vdots\", \"\\\\mathord{\\\\varvdots\\\\rule{0pt}{15pt}}\");\ndefineMacro(\"\\u22ee\", \"\\\\vdots\"); //////////////////////////////////////////////////////////////////////\n// amsmath.sty\n// http://mirrors.concertpass.com/tex-archive/macros/latex/required/amsmath/amsmath.pdf\n// Italic Greek capital letters. AMS defines these with \\DeclareMathSymbol,\n// but they are equivalent to \\mathit{\\Letter}.\n\ndefineMacro(\"\\\\varGamma\", \"\\\\mathit{\\\\Gamma}\");\ndefineMacro(\"\\\\varDelta\", \"\\\\mathit{\\\\Delta}\");\ndefineMacro(\"\\\\varTheta\", \"\\\\mathit{\\\\Theta}\");\ndefineMacro(\"\\\\varLambda\", \"\\\\mathit{\\\\Lambda}\");\ndefineMacro(\"\\\\varXi\", \"\\\\mathit{\\\\Xi}\");\ndefineMacro(\"\\\\varPi\", \"\\\\mathit{\\\\Pi}\");\ndefineMacro(\"\\\\varSigma\", \"\\\\mathit{\\\\Sigma}\");\ndefineMacro(\"\\\\varUpsilon\", \"\\\\mathit{\\\\Upsilon}\");\ndefineMacro(\"\\\\varPhi\", \"\\\\mathit{\\\\Phi}\");\ndefineMacro(\"\\\\varPsi\", \"\\\\mathit{\\\\Psi}\");\ndefineMacro(\"\\\\varOmega\", \"\\\\mathit{\\\\Omega}\"); //\\newcommand{\\substack}[1]{\\subarray{c}#1\\endsubarray}\n\ndefineMacro(\"\\\\substack\", \"\\\\begin{subarray}{c}#1\\\\end{subarray}\"); // \\renewcommand{\\colon}{\\nobreak\\mskip2mu\\mathpunct{}\\nonscript\n// \\mkern-\\thinmuskip{:}\\mskip6muplus1mu\\relax}\n\ndefineMacro(\"\\\\colon\", \"\\\\nobreak\\\\mskip2mu\\\\mathpunct{}\" + \"\\\\mathchoice{\\\\mkern-3mu}{\\\\mkern-3mu}{}{}{:}\\\\mskip6mu\\\\relax\"); // \\newcommand{\\boxed}[1]{\\fbox{\\m@th$\\displaystyle#1$}}\n\ndefineMacro(\"\\\\boxed\", \"\\\\fbox{$\\\\displaystyle{#1}$}\"); // \\def\\iff{\\DOTSB\\;\\Longleftrightarrow\\;}\n// \\def\\implies{\\DOTSB\\;\\Longrightarrow\\;}\n// \\def\\impliedby{\\DOTSB\\;\\Longleftarrow\\;}\n\ndefineMacro(\"\\\\iff\", \"\\\\DOTSB\\\\;\\\\Longleftrightarrow\\\\;\");\ndefineMacro(\"\\\\implies\", \"\\\\DOTSB\\\\;\\\\Longrightarrow\\\\;\");\ndefineMacro(\"\\\\impliedby\", \"\\\\DOTSB\\\\;\\\\Longleftarrow\\\\;\"); // AMSMath's automatic \\dots, based on \\mdots@@ macro.\n\nconst dotsByToken = {\n ',': '\\\\dotsc',\n '\\\\not': '\\\\dotsb',\n // \\keybin@ checks for the following:\n '+': '\\\\dotsb',\n '=': '\\\\dotsb',\n '<': '\\\\dotsb',\n '>': '\\\\dotsb',\n '-': '\\\\dotsb',\n '*': '\\\\dotsb',\n ':': '\\\\dotsb',\n // Symbols whose definition starts with \\DOTSB:\n '\\\\DOTSB': '\\\\dotsb',\n '\\\\coprod': '\\\\dotsb',\n '\\\\bigvee': '\\\\dotsb',\n '\\\\bigwedge': '\\\\dotsb',\n '\\\\biguplus': '\\\\dotsb',\n '\\\\bigcap': '\\\\dotsb',\n '\\\\bigcup': '\\\\dotsb',\n '\\\\prod': '\\\\dotsb',\n '\\\\sum': '\\\\dotsb',\n '\\\\bigotimes': '\\\\dotsb',\n '\\\\bigoplus': '\\\\dotsb',\n '\\\\bigodot': '\\\\dotsb',\n '\\\\bigsqcup': '\\\\dotsb',\n '\\\\And': '\\\\dotsb',\n '\\\\longrightarrow': '\\\\dotsb',\n '\\\\Longrightarrow': '\\\\dotsb',\n '\\\\longleftarrow': '\\\\dotsb',\n '\\\\Longleftarrow': '\\\\dotsb',\n '\\\\longleftrightarrow': '\\\\dotsb',\n '\\\\Longleftrightarrow': '\\\\dotsb',\n '\\\\mapsto': '\\\\dotsb',\n '\\\\longmapsto': '\\\\dotsb',\n '\\\\hookrightarrow': '\\\\dotsb',\n '\\\\doteq': '\\\\dotsb',\n // Symbols whose definition starts with \\mathbin:\n '\\\\mathbin': '\\\\dotsb',\n // Symbols whose definition starts with \\mathrel:\n '\\\\mathrel': '\\\\dotsb',\n '\\\\relbar': '\\\\dotsb',\n '\\\\Relbar': '\\\\dotsb',\n '\\\\xrightarrow': '\\\\dotsb',\n '\\\\xleftarrow': '\\\\dotsb',\n // Symbols whose definition starts with \\DOTSI:\n '\\\\DOTSI': '\\\\dotsi',\n '\\\\int': '\\\\dotsi',\n '\\\\oint': '\\\\dotsi',\n '\\\\iint': '\\\\dotsi',\n '\\\\iiint': '\\\\dotsi',\n '\\\\iiiint': '\\\\dotsi',\n '\\\\idotsint': '\\\\dotsi',\n // Symbols whose definition starts with \\DOTSX:\n '\\\\DOTSX': '\\\\dotsx'\n};\ndefineMacro(\"\\\\dots\", function (context) {\n // TODO: If used in text mode, should expand to \\textellipsis.\n // However, in KaTeX, \\textellipsis and \\ldots behave the same\n // (in text mode), and it's unlikely we'd see any of the math commands\n // that affect the behavior of \\dots when in text mode. So fine for now\n // (until we support \\ifmmode ... \\else ... \\fi).\n let thedots = '\\\\dotso';\n const next = context.expandAfterFuture().text;\n\n if (next in dotsByToken) {\n thedots = dotsByToken[next];\n } else if (next.slice(0, 4) === '\\\\not') {\n thedots = '\\\\dotsb';\n } else if (next in src_symbols.math) {\n if (utils.contains(['bin', 'rel'], src_symbols.math[next].group)) {\n thedots = '\\\\dotsb';\n }\n }\n\n return thedots;\n});\nconst spaceAfterDots = {\n // \\rightdelim@ checks for the following:\n ')': true,\n ']': true,\n '\\\\rbrack': true,\n '\\\\}': true,\n '\\\\rbrace': true,\n '\\\\rangle': true,\n '\\\\rceil': true,\n '\\\\rfloor': true,\n '\\\\rgroup': true,\n '\\\\rmoustache': true,\n '\\\\right': true,\n '\\\\bigr': true,\n '\\\\biggr': true,\n '\\\\Bigr': true,\n '\\\\Biggr': true,\n // \\extra@ also tests for the following:\n '$': true,\n // \\extrap@ checks for the following:\n ';': true,\n '.': true,\n ',': true\n};\ndefineMacro(\"\\\\dotso\", function (context) {\n const next = context.future().text;\n\n if (next in spaceAfterDots) {\n return \"\\\\ldots\\\\,\";\n } else {\n return \"\\\\ldots\";\n }\n});\ndefineMacro(\"\\\\dotsc\", function (context) {\n const next = context.future().text; // \\dotsc uses \\extra@ but not \\extrap@, instead specially checking for\n // ';' and '.', but doesn't check for ','.\n\n if (next in spaceAfterDots && next !== ',') {\n return \"\\\\ldots\\\\,\";\n } else {\n return \"\\\\ldots\";\n }\n});\ndefineMacro(\"\\\\cdots\", function (context) {\n const next = context.future().text;\n\n if (next in spaceAfterDots) {\n return \"\\\\@cdots\\\\,\";\n } else {\n return \"\\\\@cdots\";\n }\n});\ndefineMacro(\"\\\\dotsb\", \"\\\\cdots\");\ndefineMacro(\"\\\\dotsm\", \"\\\\cdots\");\ndefineMacro(\"\\\\dotsi\", \"\\\\!\\\\cdots\"); // amsmath doesn't actually define \\dotsx, but \\dots followed by a macro\n// starting with \\DOTSX implies \\dotso, and then \\extra@ detects this case\n// and forces the added `\\,`.\n\ndefineMacro(\"\\\\dotsx\", \"\\\\ldots\\\\,\"); // \\let\\DOTSI\\relax\n// \\let\\DOTSB\\relax\n// \\let\\DOTSX\\relax\n\ndefineMacro(\"\\\\DOTSI\", \"\\\\relax\");\ndefineMacro(\"\\\\DOTSB\", \"\\\\relax\");\ndefineMacro(\"\\\\DOTSX\", \"\\\\relax\"); // Spacing, based on amsmath.sty's override of LaTeX defaults\n// \\DeclareRobustCommand{\\tmspace}[3]{%\n// \\ifmmode\\mskip#1#2\\else\\kern#1#3\\fi\\relax}\n\ndefineMacro(\"\\\\tmspace\", \"\\\\TextOrMath{\\\\kern#1#3}{\\\\mskip#1#2}\\\\relax\"); // \\renewcommand{\\,}{\\tmspace+\\thinmuskip{.1667em}}\n// TODO: math mode should use \\thinmuskip\n\ndefineMacro(\"\\\\,\", \"\\\\tmspace+{3mu}{.1667em}\"); // \\let\\thinspace\\,\n\ndefineMacro(\"\\\\thinspace\", \"\\\\,\"); // \\def\\>{\\mskip\\medmuskip}\n// \\renewcommand{\\:}{\\tmspace+\\medmuskip{.2222em}}\n// TODO: \\> and math mode of \\: should use \\medmuskip = 4mu plus 2mu minus 4mu\n\ndefineMacro(\"\\\\>\", \"\\\\mskip{4mu}\");\ndefineMacro(\"\\\\:\", \"\\\\tmspace+{4mu}{.2222em}\"); // \\let\\medspace\\:\n\ndefineMacro(\"\\\\medspace\", \"\\\\:\"); // \\renewcommand{\\;}{\\tmspace+\\thickmuskip{.2777em}}\n// TODO: math mode should use \\thickmuskip = 5mu plus 5mu\n\ndefineMacro(\"\\\\;\", \"\\\\tmspace+{5mu}{.2777em}\"); // \\let\\thickspace\\;\n\ndefineMacro(\"\\\\thickspace\", \"\\\\;\"); // \\renewcommand{\\!}{\\tmspace-\\thinmuskip{.1667em}}\n// TODO: math mode should use \\thinmuskip\n\ndefineMacro(\"\\\\!\", \"\\\\tmspace-{3mu}{.1667em}\"); // \\let\\negthinspace\\!\n\ndefineMacro(\"\\\\negthinspace\", \"\\\\!\"); // \\newcommand{\\negmedspace}{\\tmspace-\\medmuskip{.2222em}}\n// TODO: math mode should use \\medmuskip\n\ndefineMacro(\"\\\\negmedspace\", \"\\\\tmspace-{4mu}{.2222em}\"); // \\newcommand{\\negthickspace}{\\tmspace-\\thickmuskip{.2777em}}\n// TODO: math mode should use \\thickmuskip\n\ndefineMacro(\"\\\\negthickspace\", \"\\\\tmspace-{5mu}{.277em}\"); // \\def\\enspace{\\kern.5em }\n\ndefineMacro(\"\\\\enspace\", \"\\\\kern.5em \"); // \\def\\enskip{\\hskip.5em\\relax}\n\ndefineMacro(\"\\\\enskip\", \"\\\\hskip.5em\\\\relax\"); // \\def\\quad{\\hskip1em\\relax}\n\ndefineMacro(\"\\\\quad\", \"\\\\hskip1em\\\\relax\"); // \\def\\qquad{\\hskip2em\\relax}\n\ndefineMacro(\"\\\\qquad\", \"\\\\hskip2em\\\\relax\"); // \\tag@in@display form of \\tag\n\ndefineMacro(\"\\\\tag\", \"\\\\@ifstar\\\\tag@literal\\\\tag@paren\");\ndefineMacro(\"\\\\tag@paren\", \"\\\\tag@literal{({#1})}\");\ndefineMacro(\"\\\\tag@literal\", context => {\n if (context.macros.get(\"\\\\df@tag\")) {\n throw new src_ParseError(\"Multiple \\\\tag\");\n }\n\n return \"\\\\gdef\\\\df@tag{\\\\text{#1}}\";\n}); // \\renewcommand{\\bmod}{\\nonscript\\mskip-\\medmuskip\\mkern5mu\\mathbin\n// {\\operator@font mod}\\penalty900\n// \\mkern5mu\\nonscript\\mskip-\\medmuskip}\n// \\newcommand{\\pod}[1]{\\allowbreak\n// \\if@display\\mkern18mu\\else\\mkern8mu\\fi(#1)}\n// \\renewcommand{\\pmod}[1]{\\pod{{\\operator@font mod}\\mkern6mu#1}}\n// \\newcommand{\\mod}[1]{\\allowbreak\\if@display\\mkern18mu\n// \\else\\mkern12mu\\fi{\\operator@font mod}\\,\\,#1}\n// TODO: math mode should use \\medmuskip = 4mu plus 2mu minus 4mu\n\ndefineMacro(\"\\\\bmod\", \"\\\\mathchoice{\\\\mskip1mu}{\\\\mskip1mu}{\\\\mskip5mu}{\\\\mskip5mu}\" + \"\\\\mathbin{\\\\rm mod}\" + \"\\\\mathchoice{\\\\mskip1mu}{\\\\mskip1mu}{\\\\mskip5mu}{\\\\mskip5mu}\");\ndefineMacro(\"\\\\pod\", \"\\\\allowbreak\" + \"\\\\mathchoice{\\\\mkern18mu}{\\\\mkern8mu}{\\\\mkern8mu}{\\\\mkern8mu}(#1)\");\ndefineMacro(\"\\\\pmod\", \"\\\\pod{{\\\\rm mod}\\\\mkern6mu#1}\");\ndefineMacro(\"\\\\mod\", \"\\\\allowbreak\" + \"\\\\mathchoice{\\\\mkern18mu}{\\\\mkern12mu}{\\\\mkern12mu}{\\\\mkern12mu}\" + \"{\\\\rm mod}\\\\,\\\\,#1\"); //////////////////////////////////////////////////////////////////////\n// LaTeX source2e\n// \\expandafter\\let\\expandafter\\@normalcr\n// \\csname\\expandafter\\@gobble\\string\\\\ \\endcsname\n// \\DeclareRobustCommand\\newline{\\@normalcr\\relax}\n\ndefineMacro(\"\\\\newline\", \"\\\\\\\\\\\\relax\"); // \\def\\TeX{T\\kern-.1667em\\lower.5ex\\hbox{E}\\kern-.125emX\\@}\n// TODO: Doesn't normally work in math mode because \\@ fails. KaTeX doesn't\n// support \\@ yet, so that's omitted, and we add \\text so that the result\n// doesn't look funny in math mode.\n\ndefineMacro(\"\\\\TeX\", \"\\\\textrm{\\\\html@mathml{\" + \"T\\\\kern-.1667em\\\\raisebox{-.5ex}{E}\\\\kern-.125emX\" + \"}{TeX}}\"); // \\DeclareRobustCommand{\\LaTeX}{L\\kern-.36em%\n// {\\sbox\\z@ T%\n// \\vbox to\\ht\\z@{\\hbox{\\check@mathfonts\n// \\fontsize\\sf@size\\z@\n// \\math@fontsfalse\\selectfont\n// A}%\n// \\vss}%\n// }%\n// \\kern-.15em%\n// \\TeX}\n// This code aligns the top of the A with the T (from the perspective of TeX's\n// boxes, though visually the A appears to extend above slightly).\n// We compute the corresponding \\raisebox when A is rendered in \\normalsize\n// \\scriptstyle, which has a scale factor of 0.7 (see Options.js).\n\nconst latexRaiseA = makeEm(fontMetricsData[\"Main-Regular\"][\"T\".charCodeAt(0)][1] - 0.7 * fontMetricsData[\"Main-Regular\"][\"A\".charCodeAt(0)][1]);\ndefineMacro(\"\\\\LaTeX\", \"\\\\textrm{\\\\html@mathml{\" + (\"L\\\\kern-.36em\\\\raisebox{\" + latexRaiseA + \"}{\\\\scriptstyle A}\") + \"\\\\kern-.15em\\\\TeX}{LaTeX}}\"); // New KaTeX logo based on tweaking LaTeX logo\n\ndefineMacro(\"\\\\KaTeX\", \"\\\\textrm{\\\\html@mathml{\" + (\"K\\\\kern-.17em\\\\raisebox{\" + latexRaiseA + \"}{\\\\scriptstyle A}\") + \"\\\\kern-.15em\\\\TeX}{KaTeX}}\"); // \\DeclareRobustCommand\\hspace{\\@ifstar\\@hspacer\\@hspace}\n// \\def\\@hspace#1{\\hskip #1\\relax}\n// \\def\\@hspacer#1{\\vrule \\@width\\z@\\nobreak\n// \\hskip #1\\hskip \\z@skip}\n\ndefineMacro(\"\\\\hspace\", \"\\\\@ifstar\\\\@hspacer\\\\@hspace\");\ndefineMacro(\"\\\\@hspace\", \"\\\\hskip #1\\\\relax\");\ndefineMacro(\"\\\\@hspacer\", \"\\\\rule{0pt}{0pt}\\\\hskip #1\\\\relax\"); //////////////////////////////////////////////////////////////////////\n// mathtools.sty\n//\\providecommand\\ordinarycolon{:}\n\ndefineMacro(\"\\\\ordinarycolon\", \":\"); //\\def\\vcentcolon{\\mathrel{\\mathop\\ordinarycolon}}\n//TODO(edemaine): Not yet centered. Fix via \\raisebox or #726\n\ndefineMacro(\"\\\\vcentcolon\", \"\\\\mathrel{\\\\mathop\\\\ordinarycolon}\"); // \\providecommand*\\dblcolon{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}\n\ndefineMacro(\"\\\\dblcolon\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-.9mu}\\\\vcentcolon}}\" + \"{\\\\mathop{\\\\char\\\"2237}}\"); // \\providecommand*\\coloneqq{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}\n\ndefineMacro(\"\\\\coloneqq\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-1.2mu}=}}\" + \"{\\\\mathop{\\\\char\\\"2254}}\"); // ≔\n// \\providecommand*\\Coloneqq{\\dblcolon\\mathrel{\\mkern-1.2mu}=}\n\ndefineMacro(\"\\\\Coloneqq\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\dblcolon\\\\mathrel{\\\\mkern-1.2mu}=}}\" + \"{\\\\mathop{\\\\char\\\"2237\\\\char\\\"3d}}\"); // \\providecommand*\\coloneq{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}\n\ndefineMacro(\"\\\\coloneq\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\mathrel{-}}}\" + \"{\\\\mathop{\\\\char\\\"3a\\\\char\\\"2212}}\"); // \\providecommand*\\Coloneq{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}\n\ndefineMacro(\"\\\\Coloneq\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\dblcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\mathrel{-}}}\" + \"{\\\\mathop{\\\\char\\\"2237\\\\char\\\"2212}}\"); // \\providecommand*\\eqqcolon{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}\n\ndefineMacro(\"\\\\eqqcolon\", \"\\\\html@mathml{\" + \"\\\\mathrel{=\\\\mathrel{\\\\mkern-1.2mu}\\\\vcentcolon}}\" + \"{\\\\mathop{\\\\char\\\"2255}}\"); // ≕\n// \\providecommand*\\Eqqcolon{=\\mathrel{\\mkern-1.2mu}\\dblcolon}\n\ndefineMacro(\"\\\\Eqqcolon\", \"\\\\html@mathml{\" + \"\\\\mathrel{=\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}}\" + \"{\\\\mathop{\\\\char\\\"3d\\\\char\\\"2237}}\"); // \\providecommand*\\eqcolon{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}\n\ndefineMacro(\"\\\\eqcolon\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\mathrel{-}\\\\mathrel{\\\\mkern-1.2mu}\\\\vcentcolon}}\" + \"{\\\\mathop{\\\\char\\\"2239}}\"); // \\providecommand*\\Eqcolon{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}\n\ndefineMacro(\"\\\\Eqcolon\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\mathrel{-}\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}}\" + \"{\\\\mathop{\\\\char\\\"2212\\\\char\\\"2237}}\"); // \\providecommand*\\colonapprox{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}\n\ndefineMacro(\"\\\\colonapprox\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\approx}}\" + \"{\\\\mathop{\\\\char\\\"3a\\\\char\\\"2248}}\"); // \\providecommand*\\Colonapprox{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}\n\ndefineMacro(\"\\\\Colonapprox\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\dblcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\approx}}\" + \"{\\\\mathop{\\\\char\\\"2237\\\\char\\\"2248}}\"); // \\providecommand*\\colonsim{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}\n\ndefineMacro(\"\\\\colonsim\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\sim}}\" + \"{\\\\mathop{\\\\char\\\"3a\\\\char\\\"223c}}\"); // \\providecommand*\\Colonsim{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}\n\ndefineMacro(\"\\\\Colonsim\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\dblcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\sim}}\" + \"{\\\\mathop{\\\\char\\\"2237\\\\char\\\"223c}}\"); // Some Unicode characters are implemented with macros to mathtools functions.\n\ndefineMacro(\"\\u2237\", \"\\\\dblcolon\"); // ::\n\ndefineMacro(\"\\u2239\", \"\\\\eqcolon\"); // -:\n\ndefineMacro(\"\\u2254\", \"\\\\coloneqq\"); // :=\n\ndefineMacro(\"\\u2255\", \"\\\\eqqcolon\"); // =:\n\ndefineMacro(\"\\u2A74\", \"\\\\Coloneqq\"); // ::=\n//////////////////////////////////////////////////////////////////////\n// colonequals.sty\n// Alternate names for mathtools's macros:\n\ndefineMacro(\"\\\\ratio\", \"\\\\vcentcolon\");\ndefineMacro(\"\\\\coloncolon\", \"\\\\dblcolon\");\ndefineMacro(\"\\\\colonequals\", \"\\\\coloneqq\");\ndefineMacro(\"\\\\coloncolonequals\", \"\\\\Coloneqq\");\ndefineMacro(\"\\\\equalscolon\", \"\\\\eqqcolon\");\ndefineMacro(\"\\\\equalscoloncolon\", \"\\\\Eqqcolon\");\ndefineMacro(\"\\\\colonminus\", \"\\\\coloneq\");\ndefineMacro(\"\\\\coloncolonminus\", \"\\\\Coloneq\");\ndefineMacro(\"\\\\minuscolon\", \"\\\\eqcolon\");\ndefineMacro(\"\\\\minuscoloncolon\", \"\\\\Eqcolon\"); // \\colonapprox name is same in mathtools and colonequals.\n\ndefineMacro(\"\\\\coloncolonapprox\", \"\\\\Colonapprox\"); // \\colonsim name is same in mathtools and colonequals.\n\ndefineMacro(\"\\\\coloncolonsim\", \"\\\\Colonsim\"); // Additional macros, implemented by analogy with mathtools definitions:\n\ndefineMacro(\"\\\\simcolon\", \"\\\\mathrel{\\\\sim\\\\mathrel{\\\\mkern-1.2mu}\\\\vcentcolon}\");\ndefineMacro(\"\\\\simcoloncolon\", \"\\\\mathrel{\\\\sim\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}\");\ndefineMacro(\"\\\\approxcolon\", \"\\\\mathrel{\\\\approx\\\\mathrel{\\\\mkern-1.2mu}\\\\vcentcolon}\");\ndefineMacro(\"\\\\approxcoloncolon\", \"\\\\mathrel{\\\\approx\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}\"); // Present in newtxmath, pxfonts and txfonts\n\ndefineMacro(\"\\\\notni\", \"\\\\html@mathml{\\\\not\\\\ni}{\\\\mathrel{\\\\char`\\u220C}}\");\ndefineMacro(\"\\\\limsup\", \"\\\\DOTSB\\\\operatorname*{lim\\\\,sup}\");\ndefineMacro(\"\\\\liminf\", \"\\\\DOTSB\\\\operatorname*{lim\\\\,inf}\"); //////////////////////////////////////////////////////////////////////\n// From amsopn.sty\n\ndefineMacro(\"\\\\injlim\", \"\\\\DOTSB\\\\operatorname*{inj\\\\,lim}\");\ndefineMacro(\"\\\\projlim\", \"\\\\DOTSB\\\\operatorname*{proj\\\\,lim}\");\ndefineMacro(\"\\\\varlimsup\", \"\\\\DOTSB\\\\operatorname*{\\\\overline{lim}}\");\ndefineMacro(\"\\\\varliminf\", \"\\\\DOTSB\\\\operatorname*{\\\\underline{lim}}\");\ndefineMacro(\"\\\\varinjlim\", \"\\\\DOTSB\\\\operatorname*{\\\\underrightarrow{lim}}\");\ndefineMacro(\"\\\\varprojlim\", \"\\\\DOTSB\\\\operatorname*{\\\\underleftarrow{lim}}\"); //////////////////////////////////////////////////////////////////////\n// MathML alternates for KaTeX glyphs in the Unicode private area\n\ndefineMacro(\"\\\\gvertneqq\", \"\\\\html@mathml{\\\\@gvertneqq}{\\u2269}\");\ndefineMacro(\"\\\\lvertneqq\", \"\\\\html@mathml{\\\\@lvertneqq}{\\u2268}\");\ndefineMacro(\"\\\\ngeqq\", \"\\\\html@mathml{\\\\@ngeqq}{\\u2271}\");\ndefineMacro(\"\\\\ngeqslant\", \"\\\\html@mathml{\\\\@ngeqslant}{\\u2271}\");\ndefineMacro(\"\\\\nleqq\", \"\\\\html@mathml{\\\\@nleqq}{\\u2270}\");\ndefineMacro(\"\\\\nleqslant\", \"\\\\html@mathml{\\\\@nleqslant}{\\u2270}\");\ndefineMacro(\"\\\\nshortmid\", \"\\\\html@mathml{\\\\@nshortmid}{∤}\");\ndefineMacro(\"\\\\nshortparallel\", \"\\\\html@mathml{\\\\@nshortparallel}{∦}\");\ndefineMacro(\"\\\\nsubseteqq\", \"\\\\html@mathml{\\\\@nsubseteqq}{\\u2288}\");\ndefineMacro(\"\\\\nsupseteqq\", \"\\\\html@mathml{\\\\@nsupseteqq}{\\u2289}\");\ndefineMacro(\"\\\\varsubsetneq\", \"\\\\html@mathml{\\\\@varsubsetneq}{⊊}\");\ndefineMacro(\"\\\\varsubsetneqq\", \"\\\\html@mathml{\\\\@varsubsetneqq}{⫋}\");\ndefineMacro(\"\\\\varsupsetneq\", \"\\\\html@mathml{\\\\@varsupsetneq}{⊋}\");\ndefineMacro(\"\\\\varsupsetneqq\", \"\\\\html@mathml{\\\\@varsupsetneqq}{⫌}\");\ndefineMacro(\"\\\\imath\", \"\\\\html@mathml{\\\\@imath}{\\u0131}\");\ndefineMacro(\"\\\\jmath\", \"\\\\html@mathml{\\\\@jmath}{\\u0237}\"); //////////////////////////////////////////////////////////////////////\n// stmaryrd and semantic\n// The stmaryrd and semantic packages render the next four items by calling a\n// glyph. Those glyphs do not exist in the KaTeX fonts. Hence the macros.\n\ndefineMacro(\"\\\\llbracket\", \"\\\\html@mathml{\" + \"\\\\mathopen{[\\\\mkern-3.2mu[}}\" + \"{\\\\mathopen{\\\\char`\\u27e6}}\");\ndefineMacro(\"\\\\rrbracket\", \"\\\\html@mathml{\" + \"\\\\mathclose{]\\\\mkern-3.2mu]}}\" + \"{\\\\mathclose{\\\\char`\\u27e7}}\");\ndefineMacro(\"\\u27e6\", \"\\\\llbracket\"); // blackboard bold [\n\ndefineMacro(\"\\u27e7\", \"\\\\rrbracket\"); // blackboard bold ]\n\ndefineMacro(\"\\\\lBrace\", \"\\\\html@mathml{\" + \"\\\\mathopen{\\\\{\\\\mkern-3.2mu[}}\" + \"{\\\\mathopen{\\\\char`\\u2983}}\");\ndefineMacro(\"\\\\rBrace\", \"\\\\html@mathml{\" + \"\\\\mathclose{]\\\\mkern-3.2mu\\\\}}}\" + \"{\\\\mathclose{\\\\char`\\u2984}}\");\ndefineMacro(\"\\u2983\", \"\\\\lBrace\"); // blackboard bold {\n\ndefineMacro(\"\\u2984\", \"\\\\rBrace\"); // blackboard bold }\n// TODO: Create variable sized versions of the last two items. I believe that\n// will require new font glyphs.\n// The stmaryrd function `\\minuso` provides a \"Plimsoll\" symbol that\n// superimposes the characters \\circ and \\mathminus. Used in chemistry.\n\ndefineMacro(\"\\\\minuso\", \"\\\\mathbin{\\\\html@mathml{\" + \"{\\\\mathrlap{\\\\mathchoice{\\\\kern{0.145em}}{\\\\kern{0.145em}}\" + \"{\\\\kern{0.1015em}}{\\\\kern{0.0725em}}\\\\circ}{-}}}\" + \"{\\\\char`⦵}}\");\ndefineMacro(\"⦵\", \"\\\\minuso\"); //////////////////////////////////////////////////////////////////////\n// texvc.sty\n// The texvc package contains macros available in mediawiki pages.\n// We omit the functions deprecated at\n// https://en.wikipedia.org/wiki/Help:Displaying_a_formula#Deprecated_syntax\n// We also omit texvc's \\O, which conflicts with \\text{\\O}\n\ndefineMacro(\"\\\\darr\", \"\\\\downarrow\");\ndefineMacro(\"\\\\dArr\", \"\\\\Downarrow\");\ndefineMacro(\"\\\\Darr\", \"\\\\Downarrow\");\ndefineMacro(\"\\\\lang\", \"\\\\langle\");\ndefineMacro(\"\\\\rang\", \"\\\\rangle\");\ndefineMacro(\"\\\\uarr\", \"\\\\uparrow\");\ndefineMacro(\"\\\\uArr\", \"\\\\Uparrow\");\ndefineMacro(\"\\\\Uarr\", \"\\\\Uparrow\");\ndefineMacro(\"\\\\N\", \"\\\\mathbb{N}\");\ndefineMacro(\"\\\\R\", \"\\\\mathbb{R}\");\ndefineMacro(\"\\\\Z\", \"\\\\mathbb{Z}\");\ndefineMacro(\"\\\\alef\", \"\\\\aleph\");\ndefineMacro(\"\\\\alefsym\", \"\\\\aleph\");\ndefineMacro(\"\\\\Alpha\", \"\\\\mathrm{A}\");\ndefineMacro(\"\\\\Beta\", \"\\\\mathrm{B}\");\ndefineMacro(\"\\\\bull\", \"\\\\bullet\");\ndefineMacro(\"\\\\Chi\", \"\\\\mathrm{X}\");\ndefineMacro(\"\\\\clubs\", \"\\\\clubsuit\");\ndefineMacro(\"\\\\cnums\", \"\\\\mathbb{C}\");\ndefineMacro(\"\\\\Complex\", \"\\\\mathbb{C}\");\ndefineMacro(\"\\\\Dagger\", \"\\\\ddagger\");\ndefineMacro(\"\\\\diamonds\", \"\\\\diamondsuit\");\ndefineMacro(\"\\\\empty\", \"\\\\emptyset\");\ndefineMacro(\"\\\\Epsilon\", \"\\\\mathrm{E}\");\ndefineMacro(\"\\\\Eta\", \"\\\\mathrm{H}\");\ndefineMacro(\"\\\\exist\", \"\\\\exists\");\ndefineMacro(\"\\\\harr\", \"\\\\leftrightarrow\");\ndefineMacro(\"\\\\hArr\", \"\\\\Leftrightarrow\");\ndefineMacro(\"\\\\Harr\", \"\\\\Leftrightarrow\");\ndefineMacro(\"\\\\hearts\", \"\\\\heartsuit\");\ndefineMacro(\"\\\\image\", \"\\\\Im\");\ndefineMacro(\"\\\\infin\", \"\\\\infty\");\ndefineMacro(\"\\\\Iota\", \"\\\\mathrm{I}\");\ndefineMacro(\"\\\\isin\", \"\\\\in\");\ndefineMacro(\"\\\\Kappa\", \"\\\\mathrm{K}\");\ndefineMacro(\"\\\\larr\", \"\\\\leftarrow\");\ndefineMacro(\"\\\\lArr\", \"\\\\Leftarrow\");\ndefineMacro(\"\\\\Larr\", \"\\\\Leftarrow\");\ndefineMacro(\"\\\\lrarr\", \"\\\\leftrightarrow\");\ndefineMacro(\"\\\\lrArr\", \"\\\\Leftrightarrow\");\ndefineMacro(\"\\\\Lrarr\", \"\\\\Leftrightarrow\");\ndefineMacro(\"\\\\Mu\", \"\\\\mathrm{M}\");\ndefineMacro(\"\\\\natnums\", \"\\\\mathbb{N}\");\ndefineMacro(\"\\\\Nu\", \"\\\\mathrm{N}\");\ndefineMacro(\"\\\\Omicron\", \"\\\\mathrm{O}\");\ndefineMacro(\"\\\\plusmn\", \"\\\\pm\");\ndefineMacro(\"\\\\rarr\", \"\\\\rightarrow\");\ndefineMacro(\"\\\\rArr\", \"\\\\Rightarrow\");\ndefineMacro(\"\\\\Rarr\", \"\\\\Rightarrow\");\ndefineMacro(\"\\\\real\", \"\\\\Re\");\ndefineMacro(\"\\\\reals\", \"\\\\mathbb{R}\");\ndefineMacro(\"\\\\Reals\", \"\\\\mathbb{R}\");\ndefineMacro(\"\\\\Rho\", \"\\\\mathrm{P}\");\ndefineMacro(\"\\\\sdot\", \"\\\\cdot\");\ndefineMacro(\"\\\\sect\", \"\\\\S\");\ndefineMacro(\"\\\\spades\", \"\\\\spadesuit\");\ndefineMacro(\"\\\\sub\", \"\\\\subset\");\ndefineMacro(\"\\\\sube\", \"\\\\subseteq\");\ndefineMacro(\"\\\\supe\", \"\\\\supseteq\");\ndefineMacro(\"\\\\Tau\", \"\\\\mathrm{T}\");\ndefineMacro(\"\\\\thetasym\", \"\\\\vartheta\"); // TODO: defineMacro(\"\\\\varcoppa\", \"\\\\\\mbox{\\\\coppa}\");\n\ndefineMacro(\"\\\\weierp\", \"\\\\wp\");\ndefineMacro(\"\\\\Zeta\", \"\\\\mathrm{Z}\"); //////////////////////////////////////////////////////////////////////\n// statmath.sty\n// https://ctan.math.illinois.edu/macros/latex/contrib/statmath/statmath.pdf\n\ndefineMacro(\"\\\\argmin\", \"\\\\DOTSB\\\\operatorname*{arg\\\\,min}\");\ndefineMacro(\"\\\\argmax\", \"\\\\DOTSB\\\\operatorname*{arg\\\\,max}\");\ndefineMacro(\"\\\\plim\", \"\\\\DOTSB\\\\mathop{\\\\operatorname{plim}}\\\\limits\"); //////////////////////////////////////////////////////////////////////\n// braket.sty\n// http://ctan.math.washington.edu/tex-archive/macros/latex/contrib/braket/braket.pdf\n\ndefineMacro(\"\\\\bra\", \"\\\\mathinner{\\\\langle{#1}|}\");\ndefineMacro(\"\\\\ket\", \"\\\\mathinner{|{#1}\\\\rangle}\");\ndefineMacro(\"\\\\braket\", \"\\\\mathinner{\\\\langle{#1}\\\\rangle}\");\ndefineMacro(\"\\\\Bra\", \"\\\\left\\\\langle#1\\\\right|\");\ndefineMacro(\"\\\\Ket\", \"\\\\left|#1\\\\right\\\\rangle\");\n\nconst braketHelper = one => context => {\n const left = context.consumeArg().tokens;\n const middle = context.consumeArg().tokens;\n const middleDouble = context.consumeArg().tokens;\n const right = context.consumeArg().tokens;\n const oldMiddle = context.macros.get(\"|\");\n const oldMiddleDouble = context.macros.get(\"\\\\|\");\n context.macros.beginGroup();\n\n const midMacro = double => context => {\n if (one) {\n // Only modify the first instance of | or \\|\n context.macros.set(\"|\", oldMiddle);\n\n if (middleDouble.length) {\n context.macros.set(\"\\\\|\", oldMiddleDouble);\n }\n }\n\n let doubled = double;\n\n if (!double && middleDouble.length) {\n // Mimic \\@ifnextchar\n const nextToken = context.future();\n\n if (nextToken.text === \"|\") {\n context.popToken();\n doubled = true;\n }\n }\n\n return {\n tokens: doubled ? middleDouble : middle,\n numArgs: 0\n };\n };\n\n context.macros.set(\"|\", midMacro(false));\n\n if (middleDouble.length) {\n context.macros.set(\"\\\\|\", midMacro(true));\n }\n\n const arg = context.consumeArg().tokens;\n const expanded = context.expandTokens([...right, ...arg, ...left // reversed\n ]);\n context.macros.endGroup();\n return {\n tokens: expanded.reverse(),\n numArgs: 0\n };\n};\n\ndefineMacro(\"\\\\bra@ket\", braketHelper(false));\ndefineMacro(\"\\\\bra@set\", braketHelper(true));\ndefineMacro(\"\\\\Braket\", \"\\\\bra@ket{\\\\left\\\\langle}\" + \"{\\\\,\\\\middle\\\\vert\\\\,}{\\\\,\\\\middle\\\\vert\\\\,}{\\\\right\\\\rangle}\");\ndefineMacro(\"\\\\Set\", \"\\\\bra@set{\\\\left\\\\{\\\\:}\" + \"{\\\\;\\\\middle\\\\vert\\\\;}{\\\\;\\\\middle\\\\Vert\\\\;}{\\\\:\\\\right\\\\}}\");\ndefineMacro(\"\\\\set\", \"\\\\bra@set{\\\\{\\\\,}{\\\\mid}{}{\\\\,\\\\}}\"); // has no support for special || or \\|\n//////////////////////////////////////////////////////////////////////\n// actuarialangle.dtx\n\ndefineMacro(\"\\\\angln\", \"{\\\\angl n}\"); // Custom Khan Academy colors, should be moved to an optional package\n\ndefineMacro(\"\\\\blue\", \"\\\\textcolor{##6495ed}{#1}\");\ndefineMacro(\"\\\\orange\", \"\\\\textcolor{##ffa500}{#1}\");\ndefineMacro(\"\\\\pink\", \"\\\\textcolor{##ff00af}{#1}\");\ndefineMacro(\"\\\\red\", \"\\\\textcolor{##df0030}{#1}\");\ndefineMacro(\"\\\\green\", \"\\\\textcolor{##28ae7b}{#1}\");\ndefineMacro(\"\\\\gray\", \"\\\\textcolor{gray}{#1}\");\ndefineMacro(\"\\\\purple\", \"\\\\textcolor{##9d38bd}{#1}\");\ndefineMacro(\"\\\\blueA\", \"\\\\textcolor{##ccfaff}{#1}\");\ndefineMacro(\"\\\\blueB\", \"\\\\textcolor{##80f6ff}{#1}\");\ndefineMacro(\"\\\\blueC\", \"\\\\textcolor{##63d9ea}{#1}\");\ndefineMacro(\"\\\\blueD\", \"\\\\textcolor{##11accd}{#1}\");\ndefineMacro(\"\\\\blueE\", \"\\\\textcolor{##0c7f99}{#1}\");\ndefineMacro(\"\\\\tealA\", \"\\\\textcolor{##94fff5}{#1}\");\ndefineMacro(\"\\\\tealB\", \"\\\\textcolor{##26edd5}{#1}\");\ndefineMacro(\"\\\\tealC\", \"\\\\textcolor{##01d1c1}{#1}\");\ndefineMacro(\"\\\\tealD\", \"\\\\textcolor{##01a995}{#1}\");\ndefineMacro(\"\\\\tealE\", \"\\\\textcolor{##208170}{#1}\");\ndefineMacro(\"\\\\greenA\", \"\\\\textcolor{##b6ffb0}{#1}\");\ndefineMacro(\"\\\\greenB\", \"\\\\textcolor{##8af281}{#1}\");\ndefineMacro(\"\\\\greenC\", \"\\\\textcolor{##74cf70}{#1}\");\ndefineMacro(\"\\\\greenD\", \"\\\\textcolor{##1fab54}{#1}\");\ndefineMacro(\"\\\\greenE\", \"\\\\textcolor{##0d923f}{#1}\");\ndefineMacro(\"\\\\goldA\", \"\\\\textcolor{##ffd0a9}{#1}\");\ndefineMacro(\"\\\\goldB\", \"\\\\textcolor{##ffbb71}{#1}\");\ndefineMacro(\"\\\\goldC\", \"\\\\textcolor{##ff9c39}{#1}\");\ndefineMacro(\"\\\\goldD\", \"\\\\textcolor{##e07d10}{#1}\");\ndefineMacro(\"\\\\goldE\", \"\\\\textcolor{##a75a05}{#1}\");\ndefineMacro(\"\\\\redA\", \"\\\\textcolor{##fca9a9}{#1}\");\ndefineMacro(\"\\\\redB\", \"\\\\textcolor{##ff8482}{#1}\");\ndefineMacro(\"\\\\redC\", \"\\\\textcolor{##f9685d}{#1}\");\ndefineMacro(\"\\\\redD\", \"\\\\textcolor{##e84d39}{#1}\");\ndefineMacro(\"\\\\redE\", \"\\\\textcolor{##bc2612}{#1}\");\ndefineMacro(\"\\\\maroonA\", \"\\\\textcolor{##ffbde0}{#1}\");\ndefineMacro(\"\\\\maroonB\", \"\\\\textcolor{##ff92c6}{#1}\");\ndefineMacro(\"\\\\maroonC\", \"\\\\textcolor{##ed5fa6}{#1}\");\ndefineMacro(\"\\\\maroonD\", \"\\\\textcolor{##ca337c}{#1}\");\ndefineMacro(\"\\\\maroonE\", \"\\\\textcolor{##9e034e}{#1}\");\ndefineMacro(\"\\\\purpleA\", \"\\\\textcolor{##ddd7ff}{#1}\");\ndefineMacro(\"\\\\purpleB\", \"\\\\textcolor{##c6b9fc}{#1}\");\ndefineMacro(\"\\\\purpleC\", \"\\\\textcolor{##aa87ff}{#1}\");\ndefineMacro(\"\\\\purpleD\", \"\\\\textcolor{##7854ab}{#1}\");\ndefineMacro(\"\\\\purpleE\", \"\\\\textcolor{##543b78}{#1}\");\ndefineMacro(\"\\\\mintA\", \"\\\\textcolor{##f5f9e8}{#1}\");\ndefineMacro(\"\\\\mintB\", \"\\\\textcolor{##edf2df}{#1}\");\ndefineMacro(\"\\\\mintC\", \"\\\\textcolor{##e0e5cc}{#1}\");\ndefineMacro(\"\\\\grayA\", \"\\\\textcolor{##f6f7f7}{#1}\");\ndefineMacro(\"\\\\grayB\", \"\\\\textcolor{##f0f1f2}{#1}\");\ndefineMacro(\"\\\\grayC\", \"\\\\textcolor{##e3e5e6}{#1}\");\ndefineMacro(\"\\\\grayD\", \"\\\\textcolor{##d6d8da}{#1}\");\ndefineMacro(\"\\\\grayE\", \"\\\\textcolor{##babec2}{#1}\");\ndefineMacro(\"\\\\grayF\", \"\\\\textcolor{##888d93}{#1}\");\ndefineMacro(\"\\\\grayG\", \"\\\\textcolor{##626569}{#1}\");\ndefineMacro(\"\\\\grayH\", \"\\\\textcolor{##3b3e40}{#1}\");\ndefineMacro(\"\\\\grayI\", \"\\\\textcolor{##21242c}{#1}\");\ndefineMacro(\"\\\\kaBlue\", \"\\\\textcolor{##314453}{#1}\");\ndefineMacro(\"\\\\kaGreen\", \"\\\\textcolor{##71B307}{#1}\");\n;// CONCATENATED MODULE: ./src/MacroExpander.js\n/**\n * This file contains the “gullet” where macros are expanded\n * until only non-macro tokens remain.\n */\n\n\n\n\n\n\n\n// List of commands that act like macros but aren't defined as a macro,\n// function, or symbol. Used in `isDefined`.\nconst implicitCommands = {\n \"^\": true,\n // Parser.js\n \"_\": true,\n // Parser.js\n \"\\\\limits\": true,\n // Parser.js\n \"\\\\nolimits\": true // Parser.js\n\n};\nclass MacroExpander {\n constructor(input, settings, mode) {\n this.settings = void 0;\n this.expansionCount = void 0;\n this.lexer = void 0;\n this.macros = void 0;\n this.stack = void 0;\n this.mode = void 0;\n this.settings = settings;\n this.expansionCount = 0;\n this.feed(input); // Make new global namespace\n\n this.macros = new Namespace(src_macros, settings.macros);\n this.mode = mode;\n this.stack = []; // contains tokens in REVERSE order\n }\n /**\n * Feed a new input string to the same MacroExpander\n * (with existing macros etc.).\n */\n\n\n feed(input) {\n this.lexer = new Lexer(input, this.settings);\n }\n /**\n * Switches between \"text\" and \"math\" modes.\n */\n\n\n switchMode(newMode) {\n this.mode = newMode;\n }\n /**\n * Start a new group nesting within all namespaces.\n */\n\n\n beginGroup() {\n this.macros.beginGroup();\n }\n /**\n * End current group nesting within all namespaces.\n */\n\n\n endGroup() {\n this.macros.endGroup();\n }\n /**\n * Ends all currently nested groups (if any), restoring values before the\n * groups began. Useful in case of an error in the middle of parsing.\n */\n\n\n endGroups() {\n this.macros.endGroups();\n }\n /**\n * Returns the topmost token on the stack, without expanding it.\n * Similar in behavior to TeX's `\\futurelet`.\n */\n\n\n future() {\n if (this.stack.length === 0) {\n this.pushToken(this.lexer.lex());\n }\n\n return this.stack[this.stack.length - 1];\n }\n /**\n * Remove and return the next unexpanded token.\n */\n\n\n popToken() {\n this.future(); // ensure non-empty stack\n\n return this.stack.pop();\n }\n /**\n * Add a given token to the token stack. In particular, this get be used\n * to put back a token returned from one of the other methods.\n */\n\n\n pushToken(token) {\n this.stack.push(token);\n }\n /**\n * Append an array of tokens to the token stack.\n */\n\n\n pushTokens(tokens) {\n this.stack.push(...tokens);\n }\n /**\n * Find an macro argument without expanding tokens and append the array of\n * tokens to the token stack. Uses Token as a container for the result.\n */\n\n\n scanArgument(isOptional) {\n let start;\n let end;\n let tokens;\n\n if (isOptional) {\n this.consumeSpaces(); // \\@ifnextchar gobbles any space following it\n\n if (this.future().text !== \"[\") {\n return null;\n }\n\n start = this.popToken(); // don't include [ in tokens\n\n ({\n tokens,\n end\n } = this.consumeArg([\"]\"]));\n } else {\n ({\n tokens,\n start,\n end\n } = this.consumeArg());\n } // indicate the end of an argument\n\n\n this.pushToken(new Token(\"EOF\", end.loc));\n this.pushTokens(tokens);\n return start.range(end, \"\");\n }\n /**\n * Consume all following space tokens, without expansion.\n */\n\n\n consumeSpaces() {\n for (;;) {\n const token = this.future();\n\n if (token.text === \" \") {\n this.stack.pop();\n } else {\n break;\n }\n }\n }\n /**\n * Consume an argument from the token stream, and return the resulting array\n * of tokens and start/end token.\n */\n\n\n consumeArg(delims) {\n // The argument for a delimited parameter is the shortest (possibly\n // empty) sequence of tokens with properly nested {...} groups that is\n // followed ... by this particular list of non-parameter tokens.\n // The argument for an undelimited parameter is the next nonblank\n // token, unless that token is ‘{’, when the argument will be the\n // entire {...} group that follows.\n const tokens = [];\n const isDelimited = delims && delims.length > 0;\n\n if (!isDelimited) {\n // Ignore spaces between arguments. As the TeXbook says:\n // \"After you have said ‘\\def\\row#1#2{...}’, you are allowed to\n // put spaces between the arguments (e.g., ‘\\row x n’), because\n // TeX doesn’t use single spaces as undelimited arguments.\"\n this.consumeSpaces();\n }\n\n const start = this.future();\n let tok;\n let depth = 0;\n let match = 0;\n\n do {\n tok = this.popToken();\n tokens.push(tok);\n\n if (tok.text === \"{\") {\n ++depth;\n } else if (tok.text === \"}\") {\n --depth;\n\n if (depth === -1) {\n throw new src_ParseError(\"Extra }\", tok);\n }\n } else if (tok.text === \"EOF\") {\n throw new src_ParseError(\"Unexpected end of input in a macro argument\" + \", expected '\" + (delims && isDelimited ? delims[match] : \"}\") + \"'\", tok);\n }\n\n if (delims && isDelimited) {\n if ((depth === 0 || depth === 1 && delims[match] === \"{\") && tok.text === delims[match]) {\n ++match;\n\n if (match === delims.length) {\n // don't include delims in tokens\n tokens.splice(-match, match);\n break;\n }\n } else {\n match = 0;\n }\n }\n } while (depth !== 0 || isDelimited); // If the argument found ... has the form ‘{}’,\n // ... the outermost braces enclosing the argument are removed\n\n\n if (start.text === \"{\" && tokens[tokens.length - 1].text === \"}\") {\n tokens.pop();\n tokens.shift();\n }\n\n tokens.reverse(); // to fit in with stack order\n\n return {\n tokens,\n start,\n end: tok\n };\n }\n /**\n * Consume the specified number of (delimited) arguments from the token\n * stream and return the resulting array of arguments.\n */\n\n\n consumeArgs(numArgs, delimiters) {\n if (delimiters) {\n if (delimiters.length !== numArgs + 1) {\n throw new src_ParseError(\"The length of delimiters doesn't match the number of args!\");\n }\n\n const delims = delimiters[0];\n\n for (let i = 0; i < delims.length; i++) {\n const tok = this.popToken();\n\n if (delims[i] !== tok.text) {\n throw new src_ParseError(\"Use of the macro doesn't match its definition\", tok);\n }\n }\n }\n\n const args = [];\n\n for (let i = 0; i < numArgs; i++) {\n args.push(this.consumeArg(delimiters && delimiters[i + 1]).tokens);\n }\n\n return args;\n }\n /**\n * Increment `expansionCount` by the specified amount.\n * Throw an error if it exceeds `maxExpand`.\n */\n\n\n countExpansion(amount) {\n this.expansionCount += amount;\n\n if (this.expansionCount > this.settings.maxExpand) {\n throw new src_ParseError(\"Too many expansions: infinite loop or \" + \"need to increase maxExpand setting\");\n }\n }\n /**\n * Expand the next token only once if possible.\n *\n * If the token is expanded, the resulting tokens will be pushed onto\n * the stack in reverse order, and the number of such tokens will be\n * returned. This number might be zero or positive.\n *\n * If not, the return value is `false`, and the next token remains at the\n * top of the stack.\n *\n * In either case, the next token will be on the top of the stack,\n * or the stack will be empty (in case of empty expansion\n * and no other tokens).\n *\n * Used to implement `expandAfterFuture` and `expandNextToken`.\n *\n * If expandableOnly, only expandable tokens are expanded and\n * an undefined control sequence results in an error.\n */\n\n\n expandOnce(expandableOnly) {\n const topToken = this.popToken();\n const name = topToken.text;\n const expansion = !topToken.noexpand ? this._getExpansion(name) : null;\n\n if (expansion == null || expandableOnly && expansion.unexpandable) {\n if (expandableOnly && expansion == null && name[0] === \"\\\\\" && !this.isDefined(name)) {\n throw new src_ParseError(\"Undefined control sequence: \" + name);\n }\n\n this.pushToken(topToken);\n return false;\n }\n\n this.countExpansion(1);\n let tokens = expansion.tokens;\n const args = this.consumeArgs(expansion.numArgs, expansion.delimiters);\n\n if (expansion.numArgs) {\n // paste arguments in place of the placeholders\n tokens = tokens.slice(); // make a shallow copy\n\n for (let i = tokens.length - 1; i >= 0; --i) {\n let tok = tokens[i];\n\n if (tok.text === \"#\") {\n if (i === 0) {\n throw new src_ParseError(\"Incomplete placeholder at end of macro body\", tok);\n }\n\n tok = tokens[--i]; // next token on stack\n\n if (tok.text === \"#\") {\n // ## → #\n tokens.splice(i + 1, 1); // drop first #\n } else if (/^[1-9]$/.test(tok.text)) {\n // replace the placeholder with the indicated argument\n tokens.splice(i, 2, ...args[+tok.text - 1]);\n } else {\n throw new src_ParseError(\"Not a valid argument number\", tok);\n }\n }\n }\n } // Concatenate expansion onto top of stack.\n\n\n this.pushTokens(tokens);\n return tokens.length;\n }\n /**\n * Expand the next token only once (if possible), and return the resulting\n * top token on the stack (without removing anything from the stack).\n * Similar in behavior to TeX's `\\expandafter\\futurelet`.\n * Equivalent to expandOnce() followed by future().\n */\n\n\n expandAfterFuture() {\n this.expandOnce();\n return this.future();\n }\n /**\n * Recursively expand first token, then return first non-expandable token.\n */\n\n\n expandNextToken() {\n for (;;) {\n if (this.expandOnce() === false) {\n // fully expanded\n const token = this.stack.pop(); // the token after \\noexpand is interpreted as if its meaning\n // were ‘\\relax’\n\n if (token.treatAsRelax) {\n token.text = \"\\\\relax\";\n }\n\n return token;\n }\n } // Flow unable to figure out that this pathway is impossible.\n // https://github.com/facebook/flow/issues/4808\n\n\n throw new Error(); // eslint-disable-line no-unreachable\n }\n /**\n * Fully expand the given macro name and return the resulting list of\n * tokens, or return `undefined` if no such macro is defined.\n */\n\n\n expandMacro(name) {\n return this.macros.has(name) ? this.expandTokens([new Token(name)]) : undefined;\n }\n /**\n * Fully expand the given token stream and return the resulting list of\n * tokens. Note that the input tokens are in reverse order, but the\n * output tokens are in forward order.\n */\n\n\n expandTokens(tokens) {\n const output = [];\n const oldStackLength = this.stack.length;\n this.pushTokens(tokens);\n\n while (this.stack.length > oldStackLength) {\n // Expand only expandable tokens\n if (this.expandOnce(true) === false) {\n // fully expanded\n const token = this.stack.pop();\n\n if (token.treatAsRelax) {\n // the expansion of \\noexpand is the token itself\n token.noexpand = false;\n token.treatAsRelax = false;\n }\n\n output.push(token);\n }\n } // Count all of these tokens as additional expansions, to prevent\n // exponential blowup from linearly many \\edef's.\n\n\n this.countExpansion(output.length);\n return output;\n }\n /**\n * Fully expand the given macro name and return the result as a string,\n * or return `undefined` if no such macro is defined.\n */\n\n\n expandMacroAsText(name) {\n const tokens = this.expandMacro(name);\n\n if (tokens) {\n return tokens.map(token => token.text).join(\"\");\n } else {\n return tokens;\n }\n }\n /**\n * Returns the expanded macro as a reversed array of tokens and a macro\n * argument count. Or returns `null` if no such macro.\n */\n\n\n _getExpansion(name) {\n const definition = this.macros.get(name);\n\n if (definition == null) {\n // mainly checking for undefined here\n return definition;\n } // If a single character has an associated catcode other than 13\n // (active character), then don't expand it.\n\n\n if (name.length === 1) {\n const catcode = this.lexer.catcodes[name];\n\n if (catcode != null && catcode !== 13) {\n return;\n }\n }\n\n const expansion = typeof definition === \"function\" ? definition(this) : definition;\n\n if (typeof expansion === \"string\") {\n let numArgs = 0;\n\n if (expansion.indexOf(\"#\") !== -1) {\n const stripped = expansion.replace(/##/g, \"\");\n\n while (stripped.indexOf(\"#\" + (numArgs + 1)) !== -1) {\n ++numArgs;\n }\n }\n\n const bodyLexer = new Lexer(expansion, this.settings);\n const tokens = [];\n let tok = bodyLexer.lex();\n\n while (tok.text !== \"EOF\") {\n tokens.push(tok);\n tok = bodyLexer.lex();\n }\n\n tokens.reverse(); // to fit in with stack using push and pop\n\n const expanded = {\n tokens,\n numArgs\n };\n return expanded;\n }\n\n return expansion;\n }\n /**\n * Determine whether a command is currently \"defined\" (has some\n * functionality), meaning that it's a macro (in the current group),\n * a function, a symbol, or one of the special commands listed in\n * `implicitCommands`.\n */\n\n\n isDefined(name) {\n return this.macros.has(name) || src_functions.hasOwnProperty(name) || src_symbols.math.hasOwnProperty(name) || src_symbols.text.hasOwnProperty(name) || implicitCommands.hasOwnProperty(name);\n }\n /**\n * Determine whether a command is expandable.\n */\n\n\n isExpandable(name) {\n const macro = this.macros.get(name);\n return macro != null ? typeof macro === \"string\" || typeof macro === \"function\" || !macro.unexpandable : src_functions.hasOwnProperty(name) && !src_functions[name].primitive;\n }\n\n}\n;// CONCATENATED MODULE: ./src/unicodeSupOrSub.js\n// Helpers for Parser.js handling of Unicode (sub|super)script characters.\nconst unicodeSubRegEx = /^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/;\nconst uSubsAndSups = Object.freeze({\n '₊': '+',\n '₋': '-',\n '₌': '=',\n '₍': '(',\n '₎': ')',\n '₀': '0',\n '₁': '1',\n '₂': '2',\n '₃': '3',\n '₄': '4',\n '₅': '5',\n '₆': '6',\n '₇': '7',\n '₈': '8',\n '₉': '9',\n '\\u2090': 'a',\n '\\u2091': 'e',\n '\\u2095': 'h',\n '\\u1D62': 'i',\n '\\u2C7C': 'j',\n '\\u2096': 'k',\n '\\u2097': 'l',\n '\\u2098': 'm',\n '\\u2099': 'n',\n '\\u2092': 'o',\n '\\u209A': 'p',\n '\\u1D63': 'r',\n '\\u209B': 's',\n '\\u209C': 't',\n '\\u1D64': 'u',\n '\\u1D65': 'v',\n '\\u2093': 'x',\n '\\u1D66': 'β',\n '\\u1D67': 'γ',\n '\\u1D68': 'ρ',\n '\\u1D69': '\\u03d5',\n '\\u1D6A': 'χ',\n '⁺': '+',\n '⁻': '-',\n '⁼': '=',\n '⁽': '(',\n '⁾': ')',\n '⁰': '0',\n '¹': '1',\n '²': '2',\n '³': '3',\n '⁴': '4',\n '⁵': '5',\n '⁶': '6',\n '⁷': '7',\n '⁸': '8',\n '⁹': '9',\n '\\u1D2C': 'A',\n '\\u1D2E': 'B',\n '\\u1D30': 'D',\n '\\u1D31': 'E',\n '\\u1D33': 'G',\n '\\u1D34': 'H',\n '\\u1D35': 'I',\n '\\u1D36': 'J',\n '\\u1D37': 'K',\n '\\u1D38': 'L',\n '\\u1D39': 'M',\n '\\u1D3A': 'N',\n '\\u1D3C': 'O',\n '\\u1D3E': 'P',\n '\\u1D3F': 'R',\n '\\u1D40': 'T',\n '\\u1D41': 'U',\n '\\u2C7D': 'V',\n '\\u1D42': 'W',\n '\\u1D43': 'a',\n '\\u1D47': 'b',\n '\\u1D9C': 'c',\n '\\u1D48': 'd',\n '\\u1D49': 'e',\n '\\u1DA0': 'f',\n '\\u1D4D': 'g',\n '\\u02B0': 'h',\n '\\u2071': 'i',\n '\\u02B2': 'j',\n '\\u1D4F': 'k',\n '\\u02E1': 'l',\n '\\u1D50': 'm',\n '\\u207F': 'n',\n '\\u1D52': 'o',\n '\\u1D56': 'p',\n '\\u02B3': 'r',\n '\\u02E2': 's',\n '\\u1D57': 't',\n '\\u1D58': 'u',\n '\\u1D5B': 'v',\n '\\u02B7': 'w',\n '\\u02E3': 'x',\n '\\u02B8': 'y',\n '\\u1DBB': 'z',\n '\\u1D5D': 'β',\n '\\u1D5E': 'γ',\n '\\u1D5F': 'δ',\n '\\u1D60': '\\u03d5',\n '\\u1D61': 'χ',\n '\\u1DBF': 'θ'\n});\n;// CONCATENATED MODULE: ./src/Parser.js\n/* eslint no-constant-condition:0 */\n\n\n\n\n\n\n\n\n\n\n // Pre-evaluate both modules as unicodeSymbols require String.normalize()\n\nconst unicodeAccents = {\n \"́\": {\n \"text\": \"\\\\'\",\n \"math\": \"\\\\acute\"\n },\n \"̀\": {\n \"text\": \"\\\\`\",\n \"math\": \"\\\\grave\"\n },\n \"̈\": {\n \"text\": \"\\\\\\\"\",\n \"math\": \"\\\\ddot\"\n },\n \"̃\": {\n \"text\": \"\\\\~\",\n \"math\": \"\\\\tilde\"\n },\n \"̄\": {\n \"text\": \"\\\\=\",\n \"math\": \"\\\\bar\"\n },\n \"̆\": {\n \"text\": \"\\\\u\",\n \"math\": \"\\\\breve\"\n },\n \"̌\": {\n \"text\": \"\\\\v\",\n \"math\": \"\\\\check\"\n },\n \"̂\": {\n \"text\": \"\\\\^\",\n \"math\": \"\\\\hat\"\n },\n \"̇\": {\n \"text\": \"\\\\.\",\n \"math\": \"\\\\dot\"\n },\n \"̊\": {\n \"text\": \"\\\\r\",\n \"math\": \"\\\\mathring\"\n },\n \"̋\": {\n \"text\": \"\\\\H\"\n },\n \"̧\": {\n \"text\": \"\\\\c\"\n }\n};\nconst unicodeSymbols = {\n \"á\": \"á\",\n \"à\": \"à\",\n \"ä\": \"ä\",\n \"ǟ\": \"ǟ\",\n \"ã\": \"ã\",\n \"ā\": \"ā\",\n \"ă\": \"ă\",\n \"ắ\": \"ắ\",\n \"ằ\": \"ằ\",\n \"ẵ\": \"ẵ\",\n \"ǎ\": \"ǎ\",\n \"â\": \"â\",\n \"ấ\": \"ấ\",\n \"ầ\": \"ầ\",\n \"ẫ\": \"ẫ\",\n \"ȧ\": \"ȧ\",\n \"ǡ\": \"ǡ\",\n \"å\": \"å\",\n \"ǻ\": \"ǻ\",\n \"ḃ\": \"ḃ\",\n \"ć\": \"ć\",\n \"ḉ\": \"ḉ\",\n \"č\": \"č\",\n \"ĉ\": \"ĉ\",\n \"ċ\": \"ċ\",\n \"ç\": \"ç\",\n \"ď\": \"ď\",\n \"ḋ\": \"ḋ\",\n \"ḑ\": \"ḑ\",\n \"é\": \"é\",\n \"è\": \"è\",\n \"ë\": \"ë\",\n \"ẽ\": \"ẽ\",\n \"ē\": \"ē\",\n \"ḗ\": \"ḗ\",\n \"ḕ\": \"ḕ\",\n \"ĕ\": \"ĕ\",\n \"ḝ\": \"ḝ\",\n \"ě\": \"ě\",\n \"ê\": \"ê\",\n \"ế\": \"ế\",\n \"ề\": \"ề\",\n \"ễ\": \"ễ\",\n \"ė\": \"ė\",\n \"ȩ\": \"ȩ\",\n \"ḟ\": \"ḟ\",\n \"ǵ\": \"ǵ\",\n \"ḡ\": \"ḡ\",\n \"ğ\": \"ğ\",\n \"ǧ\": \"ǧ\",\n \"ĝ\": \"ĝ\",\n \"ġ\": \"ġ\",\n \"ģ\": \"ģ\",\n \"ḧ\": \"ḧ\",\n \"ȟ\": \"ȟ\",\n \"ĥ\": \"ĥ\",\n \"ḣ\": \"ḣ\",\n \"ḩ\": \"ḩ\",\n \"í\": \"í\",\n \"ì\": \"ì\",\n \"ï\": \"ï\",\n \"ḯ\": \"ḯ\",\n \"ĩ\": \"ĩ\",\n \"ī\": \"ī\",\n \"ĭ\": \"ĭ\",\n \"ǐ\": \"ǐ\",\n \"î\": \"î\",\n \"ǰ\": \"ǰ\",\n \"ĵ\": \"ĵ\",\n \"ḱ\": \"ḱ\",\n \"ǩ\": \"ǩ\",\n \"ķ\": \"ķ\",\n \"ĺ\": \"ĺ\",\n \"ľ\": \"ľ\",\n \"ļ\": \"ļ\",\n \"ḿ\": \"ḿ\",\n \"ṁ\": \"ṁ\",\n \"ń\": \"ń\",\n \"ǹ\": \"ǹ\",\n \"ñ\": \"ñ\",\n \"ň\": \"ň\",\n \"ṅ\": \"ṅ\",\n \"ņ\": \"ņ\",\n \"ó\": \"ó\",\n \"ò\": \"ò\",\n \"ö\": \"ö\",\n \"ȫ\": \"ȫ\",\n \"õ\": \"õ\",\n \"ṍ\": \"ṍ\",\n \"ṏ\": \"ṏ\",\n \"ȭ\": \"ȭ\",\n \"ō\": \"ō\",\n \"ṓ\": \"ṓ\",\n \"ṑ\": \"ṑ\",\n \"ŏ\": \"ŏ\",\n \"ǒ\": \"ǒ\",\n \"ô\": \"ô\",\n \"ố\": \"ố\",\n \"ồ\": \"ồ\",\n \"ỗ\": \"ỗ\",\n \"ȯ\": \"ȯ\",\n \"ȱ\": \"ȱ\",\n \"ő\": \"ő\",\n \"ṕ\": \"ṕ\",\n \"ṗ\": \"ṗ\",\n \"ŕ\": \"ŕ\",\n \"ř\": \"ř\",\n \"ṙ\": \"ṙ\",\n \"ŗ\": \"ŗ\",\n \"ś\": \"ś\",\n \"ṥ\": \"ṥ\",\n \"š\": \"š\",\n \"ṧ\": \"ṧ\",\n \"ŝ\": \"ŝ\",\n \"ṡ\": \"ṡ\",\n \"ş\": \"ş\",\n \"ẗ\": \"ẗ\",\n \"ť\": \"ť\",\n \"ṫ\": \"ṫ\",\n \"ţ\": \"ţ\",\n \"ú\": \"ú\",\n \"ù\": \"ù\",\n \"ü\": \"ü\",\n \"ǘ\": \"ǘ\",\n \"ǜ\": \"ǜ\",\n \"ǖ\": \"ǖ\",\n \"ǚ\": \"ǚ\",\n \"ũ\": \"ũ\",\n \"ṹ\": \"ṹ\",\n \"ū\": \"ū\",\n \"ṻ\": \"ṻ\",\n \"ŭ\": \"ŭ\",\n \"ǔ\": \"ǔ\",\n \"û\": \"û\",\n \"ů\": \"ů\",\n \"ű\": \"ű\",\n \"ṽ\": \"ṽ\",\n \"ẃ\": \"ẃ\",\n \"ẁ\": \"ẁ\",\n \"ẅ\": \"ẅ\",\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ẑ\",\n \"Ż\": \"Ż\",\n \"ά\": \"ά\",\n \"ὰ\": \"ὰ\",\n \"ᾱ\": \"ᾱ\",\n \"ᾰ\": \"ᾰ\",\n \"έ\": \"έ\",\n \"ὲ\": \"ὲ\",\n \"ή\": \"ή\",\n \"ὴ\": \"ὴ\",\n \"ί\": \"ί\",\n \"ὶ\": \"ὶ\",\n \"ϊ\": \"ϊ\",\n \"ΐ\": \"ΐ\",\n \"ῒ\": \"ῒ\",\n \"ῑ\": \"ῑ\",\n \"ῐ\": \"ῐ\",\n \"ό\": \"ό\",\n \"ὸ\": \"ὸ\",\n \"ύ\": \"ύ\",\n \"ὺ\": \"ὺ\",\n \"ϋ\": \"ϋ\",\n \"ΰ\": \"ΰ\",\n \"ῢ\": \"ῢ\",\n \"ῡ\": \"ῡ\",\n \"ῠ\": \"ῠ\",\n \"ώ\": \"ώ\",\n \"ὼ\": \"ὼ\",\n \"Ύ\": \"Ύ\",\n \"Ὺ\": \"Ὺ\",\n \"Ϋ\": \"Ϋ\",\n \"Ῡ\": \"Ῡ\",\n \"Ῠ\": \"Ῠ\",\n \"Ώ\": \"Ώ\",\n \"Ὼ\": \"Ὼ\"\n};\n\n/**\n * This file contains the parser used to parse out a TeX expression from the\n * input. Since TeX isn't context-free, standard parsers don't work particularly\n * well.\n *\n * The strategy of this parser is as such:\n *\n * The main functions (the `.parse...` ones) take a position in the current\n * parse string to parse tokens from. The lexer (found in Lexer.js, stored at\n * this.gullet.lexer) also supports pulling out tokens at arbitrary places. When\n * individual tokens are needed at a position, the lexer is called to pull out a\n * token, which is then used.\n *\n * The parser has a property called \"mode\" indicating the mode that\n * the parser is currently in. Currently it has to be one of \"math\" or\n * \"text\", which denotes whether the current environment is a math-y\n * one or a text-y one (e.g. inside \\text). Currently, this serves to\n * limit the functions which can be used in text mode.\n *\n * The main functions then return an object which contains the useful data that\n * was parsed at its given point, and a new position at the end of the parsed\n * data. The main functions can call each other and continue the parsing by\n * using the returned position as a new starting point.\n *\n * There are also extra `.handle...` functions, which pull out some reused\n * functionality into self-contained functions.\n *\n * The functions return ParseNodes.\n */\nclass Parser {\n constructor(input, settings) {\n this.mode = void 0;\n this.gullet = void 0;\n this.settings = void 0;\n this.leftrightDepth = void 0;\n this.nextToken = void 0;\n // Start in math mode\n this.mode = \"math\"; // Create a new macro expander (gullet) and (indirectly via that) also a\n // new lexer (mouth) for this parser (stomach, in the language of TeX)\n\n this.gullet = new MacroExpander(input, settings, this.mode); // Store the settings for use in parsing\n\n this.settings = settings; // Count leftright depth (for \\middle errors)\n\n this.leftrightDepth = 0;\n }\n /**\n * Checks a result to make sure it has the right type, and throws an\n * appropriate error otherwise.\n */\n\n\n expect(text, consume) {\n if (consume === void 0) {\n consume = true;\n }\n\n if (this.fetch().text !== text) {\n throw new src_ParseError(\"Expected '\" + text + \"', got '\" + this.fetch().text + \"'\", this.fetch());\n }\n\n if (consume) {\n this.consume();\n }\n }\n /**\n * Discards the current lookahead token, considering it consumed.\n */\n\n\n consume() {\n this.nextToken = null;\n }\n /**\n * Return the current lookahead token, or if there isn't one (at the\n * beginning, or if the previous lookahead token was consume()d),\n * fetch the next token as the new lookahead token and return it.\n */\n\n\n fetch() {\n if (this.nextToken == null) {\n this.nextToken = this.gullet.expandNextToken();\n }\n\n return this.nextToken;\n }\n /**\n * Switches between \"text\" and \"math\" modes.\n */\n\n\n switchMode(newMode) {\n this.mode = newMode;\n this.gullet.switchMode(newMode);\n }\n /**\n * Main parsing function, which parses an entire input.\n */\n\n\n parse() {\n if (!this.settings.globalGroup) {\n // Create a group namespace for the math expression.\n // (LaTeX creates a new group for every $...$, $$...$$, \\[...\\].)\n this.gullet.beginGroup();\n } // Use old \\color behavior (same as LaTeX's \\textcolor) if requested.\n // We do this within the group for the math expression, so it doesn't\n // pollute settings.macros.\n\n\n if (this.settings.colorIsTextColor) {\n this.gullet.macros.set(\"\\\\color\", \"\\\\textcolor\");\n }\n\n try {\n // Try to parse the input\n const parse = this.parseExpression(false); // If we succeeded, make sure there's an EOF at the end\n\n this.expect(\"EOF\"); // End the group namespace for the expression\n\n if (!this.settings.globalGroup) {\n this.gullet.endGroup();\n }\n\n return parse; // Close any leftover groups in case of a parse error.\n } finally {\n this.gullet.endGroups();\n }\n }\n /**\n * Fully parse a separate sequence of tokens as a separate job.\n * Tokens should be specified in reverse order, as in a MacroDefinition.\n */\n\n\n subparse(tokens) {\n // Save the next token from the current job.\n const oldToken = this.nextToken;\n this.consume(); // Run the new job, terminating it with an excess '}'\n\n this.gullet.pushToken(new Token(\"}\"));\n this.gullet.pushTokens(tokens);\n const parse = this.parseExpression(false);\n this.expect(\"}\"); // Restore the next token from the current job.\n\n this.nextToken = oldToken;\n return parse;\n }\n\n /**\n * Parses an \"expression\", which is a list of atoms.\n *\n * `breakOnInfix`: Should the parsing stop when we hit infix nodes? This\n * happens when functions have higher precedence han infix\n * nodes in implicit parses.\n *\n * `breakOnTokenText`: The text of the token that the expression should end\n * with, or `null` if something else should end the\n * expression.\n */\n parseExpression(breakOnInfix, breakOnTokenText) {\n const body = []; // Keep adding atoms to the body until we can't parse any more atoms (either\n // we reached the end, a }, or a \\right)\n\n while (true) {\n // Ignore spaces in math mode\n if (this.mode === \"math\") {\n this.consumeSpaces();\n }\n\n const lex = this.fetch();\n\n if (Parser.endOfExpression.indexOf(lex.text) !== -1) {\n break;\n }\n\n if (breakOnTokenText && lex.text === breakOnTokenText) {\n break;\n }\n\n if (breakOnInfix && src_functions[lex.text] && src_functions[lex.text].infix) {\n break;\n }\n\n const atom = this.parseAtom(breakOnTokenText);\n\n if (!atom) {\n break;\n } else if (atom.type === \"internal\") {\n continue;\n }\n\n body.push(atom);\n }\n\n if (this.mode === \"text\") {\n this.formLigatures(body);\n }\n\n return this.handleInfixNodes(body);\n }\n /**\n * Rewrites infix operators such as \\over with corresponding commands such\n * as \\frac.\n *\n * There can only be one infix operator per group. If there's more than one\n * then the expression is ambiguous. This can be resolved by adding {}.\n */\n\n\n handleInfixNodes(body) {\n let overIndex = -1;\n let funcName;\n\n for (let i = 0; i < body.length; i++) {\n if (body[i].type === \"infix\") {\n if (overIndex !== -1) {\n throw new src_ParseError(\"only one infix operator per group\", body[i].token);\n }\n\n overIndex = i;\n funcName = body[i].replaceWith;\n }\n }\n\n if (overIndex !== -1 && funcName) {\n let numerNode;\n let denomNode;\n const numerBody = body.slice(0, overIndex);\n const denomBody = body.slice(overIndex + 1);\n\n if (numerBody.length === 1 && numerBody[0].type === \"ordgroup\") {\n numerNode = numerBody[0];\n } else {\n numerNode = {\n type: \"ordgroup\",\n mode: this.mode,\n body: numerBody\n };\n }\n\n if (denomBody.length === 1 && denomBody[0].type === \"ordgroup\") {\n denomNode = denomBody[0];\n } else {\n denomNode = {\n type: \"ordgroup\",\n mode: this.mode,\n body: denomBody\n };\n }\n\n let node;\n\n if (funcName === \"\\\\\\\\abovefrac\") {\n node = this.callFunction(funcName, [numerNode, body[overIndex], denomNode], []);\n } else {\n node = this.callFunction(funcName, [numerNode, denomNode], []);\n }\n\n return [node];\n } else {\n return body;\n }\n }\n /**\n * Handle a subscript or superscript with nice errors.\n */\n\n\n handleSupSubscript(name // For error reporting.\n ) {\n const symbolToken = this.fetch();\n const symbol = symbolToken.text;\n this.consume();\n this.consumeSpaces(); // ignore spaces before sup/subscript argument\n\n const group = this.parseGroup(name);\n\n if (!group) {\n throw new src_ParseError(\"Expected group after '\" + symbol + \"'\", symbolToken);\n }\n\n return group;\n }\n /**\n * Converts the textual input of an unsupported command into a text node\n * contained within a color node whose color is determined by errorColor\n */\n\n\n formatUnsupportedCmd(text) {\n const textordArray = [];\n\n for (let i = 0; i < text.length; i++) {\n textordArray.push({\n type: \"textord\",\n mode: \"text\",\n text: text[i]\n });\n }\n\n const textNode = {\n type: \"text\",\n mode: this.mode,\n body: textordArray\n };\n const colorNode = {\n type: \"color\",\n mode: this.mode,\n color: this.settings.errorColor,\n body: [textNode]\n };\n return colorNode;\n }\n /**\n * Parses a group with optional super/subscripts.\n */\n\n\n parseAtom(breakOnTokenText) {\n // The body of an atom is an implicit group, so that things like\n // \\left(x\\right)^2 work correctly.\n const base = this.parseGroup(\"atom\", breakOnTokenText); // In text mode, we don't have superscripts or subscripts\n\n if (this.mode === \"text\") {\n return base;\n } // Note that base may be empty (i.e. null) at this point.\n\n\n let superscript;\n let subscript;\n\n while (true) {\n // Guaranteed in math mode, so eat any spaces first.\n this.consumeSpaces(); // Lex the first token\n\n const lex = this.fetch();\n\n if (lex.text === \"\\\\limits\" || lex.text === \"\\\\nolimits\") {\n // We got a limit control\n if (base && base.type === \"op\") {\n const limits = lex.text === \"\\\\limits\";\n base.limits = limits;\n base.alwaysHandleSupSub = true;\n } else if (base && base.type === \"operatorname\") {\n if (base.alwaysHandleSupSub) {\n base.limits = lex.text === \"\\\\limits\";\n }\n } else {\n throw new src_ParseError(\"Limit controls must follow a math operator\", lex);\n }\n\n this.consume();\n } else if (lex.text === \"^\") {\n // We got a superscript start\n if (superscript) {\n throw new src_ParseError(\"Double superscript\", lex);\n }\n\n superscript = this.handleSupSubscript(\"superscript\");\n } else if (lex.text === \"_\") {\n // We got a subscript start\n if (subscript) {\n throw new src_ParseError(\"Double subscript\", lex);\n }\n\n subscript = this.handleSupSubscript(\"subscript\");\n } else if (lex.text === \"'\") {\n // We got a prime\n if (superscript) {\n throw new src_ParseError(\"Double superscript\", lex);\n }\n\n const prime = {\n type: \"textord\",\n mode: this.mode,\n text: \"\\\\prime\"\n }; // Many primes can be grouped together, so we handle this here\n\n const primes = [prime];\n this.consume(); // Keep lexing tokens until we get something that's not a prime\n\n while (this.fetch().text === \"'\") {\n // For each one, add another prime to the list\n primes.push(prime);\n this.consume();\n } // If there's a superscript following the primes, combine that\n // superscript in with the primes.\n\n\n if (this.fetch().text === \"^\") {\n primes.push(this.handleSupSubscript(\"superscript\"));\n } // Put everything into an ordgroup as the superscript\n\n\n superscript = {\n type: \"ordgroup\",\n mode: this.mode,\n body: primes\n };\n } else if (uSubsAndSups[lex.text]) {\n // A Unicode subscript or superscript character.\n // We treat these similarly to the unicode-math package.\n // So we render a string of Unicode (sub|super)scripts the\n // same as a (sub|super)script of regular characters.\n const isSub = unicodeSubRegEx.test(lex.text);\n const subsupTokens = [];\n subsupTokens.push(new Token(uSubsAndSups[lex.text]));\n this.consume(); // Continue fetching tokens to fill out the string.\n\n while (true) {\n const token = this.fetch().text;\n\n if (!uSubsAndSups[token]) {\n break;\n }\n\n if (unicodeSubRegEx.test(token) !== isSub) {\n break;\n }\n\n subsupTokens.unshift(new Token(uSubsAndSups[token]));\n this.consume();\n } // Now create a (sub|super)script.\n\n\n const body = this.subparse(subsupTokens);\n\n if (isSub) {\n subscript = {\n type: \"ordgroup\",\n mode: \"math\",\n body\n };\n } else {\n superscript = {\n type: \"ordgroup\",\n mode: \"math\",\n body\n };\n }\n } else {\n // If it wasn't ^, _, or ', stop parsing super/subscripts\n break;\n }\n } // Base must be set if superscript or subscript are set per logic above,\n // but need to check here for type check to pass.\n\n\n if (superscript || subscript) {\n // If we got either a superscript or subscript, create a supsub\n return {\n type: \"supsub\",\n mode: this.mode,\n base: base,\n sup: superscript,\n sub: subscript\n };\n } else {\n // Otherwise return the original body\n return base;\n }\n }\n /**\n * Parses an entire function, including its base and all of its arguments.\n */\n\n\n parseFunction(breakOnTokenText, name // For determining its context\n ) {\n const token = this.fetch();\n const func = token.text;\n const funcData = src_functions[func];\n\n if (!funcData) {\n return null;\n }\n\n this.consume(); // consume command token\n\n if (name && name !== \"atom\" && !funcData.allowedInArgument) {\n throw new src_ParseError(\"Got function '\" + func + \"' with no arguments\" + (name ? \" as \" + name : \"\"), token);\n } else if (this.mode === \"text\" && !funcData.allowedInText) {\n throw new src_ParseError(\"Can't use function '\" + func + \"' in text mode\", token);\n } else if (this.mode === \"math\" && funcData.allowedInMath === false) {\n throw new src_ParseError(\"Can't use function '\" + func + \"' in math mode\", token);\n }\n\n const {\n args,\n optArgs\n } = this.parseArguments(func, funcData);\n return this.callFunction(func, args, optArgs, token, breakOnTokenText);\n }\n /**\n * Call a function handler with a suitable context and arguments.\n */\n\n\n callFunction(name, args, optArgs, token, breakOnTokenText) {\n const context = {\n funcName: name,\n parser: this,\n token,\n breakOnTokenText\n };\n const func = src_functions[name];\n\n if (func && func.handler) {\n return func.handler(context, args, optArgs);\n } else {\n throw new src_ParseError(\"No function handler for \" + name);\n }\n }\n /**\n * Parses the arguments of a function or environment\n */\n\n\n parseArguments(func, // Should look like \"\\name\" or \"\\begin{name}\".\n funcData) {\n const totalArgs = funcData.numArgs + funcData.numOptionalArgs;\n\n if (totalArgs === 0) {\n return {\n args: [],\n optArgs: []\n };\n }\n\n const args = [];\n const optArgs = [];\n\n for (let i = 0; i < totalArgs; i++) {\n let argType = funcData.argTypes && funcData.argTypes[i];\n const isOptional = i < funcData.numOptionalArgs;\n\n if (funcData.primitive && argType == null || // \\sqrt expands into primitive if optional argument doesn't exist\n funcData.type === \"sqrt\" && i === 1 && optArgs[0] == null) {\n argType = \"primitive\";\n }\n\n const arg = this.parseGroupOfType(\"argument to '\" + func + \"'\", argType, isOptional);\n\n if (isOptional) {\n optArgs.push(arg);\n } else if (arg != null) {\n args.push(arg);\n } else {\n // should be unreachable\n throw new src_ParseError(\"Null argument, please report this as a bug\");\n }\n }\n\n return {\n args,\n optArgs\n };\n }\n /**\n * Parses a group when the mode is changing.\n */\n\n\n parseGroupOfType(name, type, optional) {\n switch (type) {\n case \"color\":\n return this.parseColorGroup(optional);\n\n case \"size\":\n return this.parseSizeGroup(optional);\n\n case \"url\":\n return this.parseUrlGroup(optional);\n\n case \"math\":\n case \"text\":\n return this.parseArgumentGroup(optional, type);\n\n case \"hbox\":\n {\n // hbox argument type wraps the argument in the equivalent of\n // \\hbox, which is like \\text but switching to \\textstyle size.\n const group = this.parseArgumentGroup(optional, \"text\");\n return group != null ? {\n type: \"styling\",\n mode: group.mode,\n body: [group],\n style: \"text\" // simulate \\textstyle\n\n } : null;\n }\n\n case \"raw\":\n {\n const token = this.parseStringGroup(\"raw\", optional);\n return token != null ? {\n type: \"raw\",\n mode: \"text\",\n string: token.text\n } : null;\n }\n\n case \"primitive\":\n {\n if (optional) {\n throw new src_ParseError(\"A primitive argument cannot be optional\");\n }\n\n const group = this.parseGroup(name);\n\n if (group == null) {\n throw new src_ParseError(\"Expected group as \" + name, this.fetch());\n }\n\n return group;\n }\n\n case \"original\":\n case null:\n case undefined:\n return this.parseArgumentGroup(optional);\n\n default:\n throw new src_ParseError(\"Unknown group type as \" + name, this.fetch());\n }\n }\n /**\n * Discard any space tokens, fetching the next non-space token.\n */\n\n\n consumeSpaces() {\n while (this.fetch().text === \" \") {\n this.consume();\n }\n }\n /**\n * Parses a group, essentially returning the string formed by the\n * brace-enclosed tokens plus some position information.\n */\n\n\n parseStringGroup(modeName, // Used to describe the mode in error messages.\n optional) {\n const argToken = this.gullet.scanArgument(optional);\n\n if (argToken == null) {\n return null;\n }\n\n let str = \"\";\n let nextToken;\n\n while ((nextToken = this.fetch()).text !== \"EOF\") {\n str += nextToken.text;\n this.consume();\n }\n\n this.consume(); // consume the end of the argument\n\n argToken.text = str;\n return argToken;\n }\n /**\n * Parses a regex-delimited group: the largest sequence of tokens\n * whose concatenated strings match `regex`. Returns the string\n * formed by the tokens plus some position information.\n */\n\n\n parseRegexGroup(regex, modeName // Used to describe the mode in error messages.\n ) {\n const firstToken = this.fetch();\n let lastToken = firstToken;\n let str = \"\";\n let nextToken;\n\n while ((nextToken = this.fetch()).text !== \"EOF\" && regex.test(str + nextToken.text)) {\n lastToken = nextToken;\n str += lastToken.text;\n this.consume();\n }\n\n if (str === \"\") {\n throw new src_ParseError(\"Invalid \" + modeName + \": '\" + firstToken.text + \"'\", firstToken);\n }\n\n return firstToken.range(lastToken, str);\n }\n /**\n * Parses a color description.\n */\n\n\n parseColorGroup(optional) {\n const res = this.parseStringGroup(\"color\", optional);\n\n if (res == null) {\n return null;\n }\n\n const match = /^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(res.text);\n\n if (!match) {\n throw new src_ParseError(\"Invalid color: '\" + res.text + \"'\", res);\n }\n\n let color = match[0];\n\n if (/^[0-9a-f]{6}$/i.test(color)) {\n // We allow a 6-digit HTML color spec without a leading \"#\".\n // This follows the xcolor package's HTML color model.\n // Predefined color names are all missed by this RegEx pattern.\n color = \"#\" + color;\n }\n\n return {\n type: \"color-token\",\n mode: this.mode,\n color\n };\n }\n /**\n * Parses a size specification, consisting of magnitude and unit.\n */\n\n\n parseSizeGroup(optional) {\n let res;\n let isBlank = false; // don't expand before parseStringGroup\n\n this.gullet.consumeSpaces();\n\n if (!optional && this.gullet.future().text !== \"{\") {\n res = this.parseRegexGroup(/^[-+]? *(?:$|\\d+|\\d+\\.\\d*|\\.\\d*) *[a-z]{0,2} *$/, \"size\");\n } else {\n res = this.parseStringGroup(\"size\", optional);\n }\n\n if (!res) {\n return null;\n }\n\n if (!optional && res.text.length === 0) {\n // Because we've tested for what is !optional, this block won't\n // affect \\kern, \\hspace, etc. It will capture the mandatory arguments\n // to \\genfrac and \\above.\n res.text = \"0pt\"; // Enable \\above{}\n\n isBlank = true; // This is here specifically for \\genfrac\n }\n\n const match = /([-+]?) *(\\d+(?:\\.\\d*)?|\\.\\d+) *([a-z]{2})/.exec(res.text);\n\n if (!match) {\n throw new src_ParseError(\"Invalid size: '\" + res.text + \"'\", res);\n }\n\n const data = {\n number: +(match[1] + match[2]),\n // sign + magnitude, cast to number\n unit: match[3]\n };\n\n if (!validUnit(data)) {\n throw new src_ParseError(\"Invalid unit: '\" + data.unit + \"'\", res);\n }\n\n return {\n type: \"size\",\n mode: this.mode,\n value: data,\n isBlank\n };\n }\n /**\n * Parses an URL, checking escaped letters and allowed protocols,\n * and setting the catcode of % as an active character (as in \\hyperref).\n */\n\n\n parseUrlGroup(optional) {\n this.gullet.lexer.setCatcode(\"%\", 13); // active character\n\n this.gullet.lexer.setCatcode(\"~\", 12); // other character\n\n const res = this.parseStringGroup(\"url\", optional);\n this.gullet.lexer.setCatcode(\"%\", 14); // comment character\n\n this.gullet.lexer.setCatcode(\"~\", 13); // active character\n\n if (res == null) {\n return null;\n } // hyperref package allows backslashes alone in href, but doesn't\n // generate valid links in such cases; we interpret this as\n // \"undefined\" behaviour, and keep them as-is. Some browser will\n // replace backslashes with forward slashes.\n\n\n const url = res.text.replace(/\\\\([#$%&~_^{}])/g, '$1');\n return {\n type: \"url\",\n mode: this.mode,\n url\n };\n }\n /**\n * Parses an argument with the mode specified.\n */\n\n\n parseArgumentGroup(optional, mode) {\n const argToken = this.gullet.scanArgument(optional);\n\n if (argToken == null) {\n return null;\n }\n\n const outerMode = this.mode;\n\n if (mode) {\n // Switch to specified mode\n this.switchMode(mode);\n }\n\n this.gullet.beginGroup();\n const expression = this.parseExpression(false, \"EOF\"); // TODO: find an alternative way to denote the end\n\n this.expect(\"EOF\"); // expect the end of the argument\n\n this.gullet.endGroup();\n const result = {\n type: \"ordgroup\",\n mode: this.mode,\n loc: argToken.loc,\n body: expression\n };\n\n if (mode) {\n // Switch mode back\n this.switchMode(outerMode);\n }\n\n return result;\n }\n /**\n * Parses an ordinary group, which is either a single nucleus (like \"x\")\n * or an expression in braces (like \"{x+y}\") or an implicit group, a group\n * that starts at the current position, and ends right before a higher explicit\n * group ends, or at EOF.\n */\n\n\n parseGroup(name, // For error reporting.\n breakOnTokenText) {\n const firstToken = this.fetch();\n const text = firstToken.text;\n let result; // Try to parse an open brace or \\begingroup\n\n if (text === \"{\" || text === \"\\\\begingroup\") {\n this.consume();\n const groupEnd = text === \"{\" ? \"}\" : \"\\\\endgroup\";\n this.gullet.beginGroup(); // If we get a brace, parse an expression\n\n const expression = this.parseExpression(false, groupEnd);\n const lastToken = this.fetch();\n this.expect(groupEnd); // Check that we got a matching closing brace\n\n this.gullet.endGroup();\n result = {\n type: \"ordgroup\",\n mode: this.mode,\n loc: SourceLocation.range(firstToken, lastToken),\n body: expression,\n // A group formed by \\begingroup...\\endgroup is a semi-simple group\n // which doesn't affect spacing in math mode, i.e., is transparent.\n // https://tex.stackexchange.com/questions/1930/when-should-one-\n // use-begingroup-instead-of-bgroup\n semisimple: text === \"\\\\begingroup\" || undefined\n };\n } else {\n // If there exists a function with this name, parse the function.\n // Otherwise, just return a nucleus\n result = this.parseFunction(breakOnTokenText, name) || this.parseSymbol();\n\n if (result == null && text[0] === \"\\\\\" && !implicitCommands.hasOwnProperty(text)) {\n if (this.settings.throwOnError) {\n throw new src_ParseError(\"Undefined control sequence: \" + text, firstToken);\n }\n\n result = this.formatUnsupportedCmd(text);\n this.consume();\n }\n }\n\n return result;\n }\n /**\n * Form ligature-like combinations of characters for text mode.\n * This includes inputs like \"--\", \"---\", \"``\" and \"''\".\n * The result will simply replace multiple textord nodes with a single\n * character in each value by a single textord node having multiple\n * characters in its value. The representation is still ASCII source.\n * The group will be modified in place.\n */\n\n\n formLigatures(group) {\n let n = group.length - 1;\n\n for (let i = 0; i < n; ++i) {\n const a = group[i]; // $FlowFixMe: Not every node type has a `text` property.\n\n const v = a.text;\n\n if (v === \"-\" && group[i + 1].text === \"-\") {\n if (i + 1 < n && group[i + 2].text === \"-\") {\n group.splice(i, 3, {\n type: \"textord\",\n mode: \"text\",\n loc: SourceLocation.range(a, group[i + 2]),\n text: \"---\"\n });\n n -= 2;\n } else {\n group.splice(i, 2, {\n type: \"textord\",\n mode: \"text\",\n loc: SourceLocation.range(a, group[i + 1]),\n text: \"--\"\n });\n n -= 1;\n }\n }\n\n if ((v === \"'\" || v === \"`\") && group[i + 1].text === v) {\n group.splice(i, 2, {\n type: \"textord\",\n mode: \"text\",\n loc: SourceLocation.range(a, group[i + 1]),\n text: v + v\n });\n n -= 1;\n }\n }\n }\n /**\n * Parse a single symbol out of the string. Here, we handle single character\n * symbols and special functions like \\verb.\n */\n\n\n parseSymbol() {\n const nucleus = this.fetch();\n let text = nucleus.text;\n\n if (/^\\\\verb[^a-zA-Z]/.test(text)) {\n this.consume();\n let arg = text.slice(5);\n const star = arg.charAt(0) === \"*\";\n\n if (star) {\n arg = arg.slice(1);\n } // Lexer's tokenRegex is constructed to always have matching\n // first/last characters.\n\n\n if (arg.length < 2 || arg.charAt(0) !== arg.slice(-1)) {\n throw new src_ParseError(\"\\\\verb assertion failed --\\n please report what input caused this bug\");\n }\n\n arg = arg.slice(1, -1); // remove first and last char\n\n return {\n type: \"verb\",\n mode: \"text\",\n body: arg,\n star\n };\n } // At this point, we should have a symbol, possibly with accents.\n // First expand any accented base symbol according to unicodeSymbols.\n\n\n if (unicodeSymbols.hasOwnProperty(text[0]) && !src_symbols[this.mode][text[0]]) {\n // This behavior is not strict (XeTeX-compatible) in math mode.\n if (this.settings.strict && this.mode === \"math\") {\n this.settings.reportNonstrict(\"unicodeTextInMathMode\", \"Accented Unicode text character \\\"\" + text[0] + \"\\\" used in \" + \"math mode\", nucleus);\n }\n\n text = unicodeSymbols[text[0]] + text.slice(1);\n } // Strip off any combining characters\n\n\n const match = combiningDiacriticalMarksEndRegex.exec(text);\n\n if (match) {\n text = text.substring(0, match.index);\n\n if (text === 'i') {\n text = '\\u0131'; // dotless i, in math and text mode\n } else if (text === 'j') {\n text = '\\u0237'; // dotless j, in math and text mode\n }\n } // Recognize base symbol\n\n\n let symbol;\n\n if (src_symbols[this.mode][text]) {\n if (this.settings.strict && this.mode === 'math' && extraLatin.indexOf(text) >= 0) {\n this.settings.reportNonstrict(\"unicodeTextInMathMode\", \"Latin-1/Unicode text character \\\"\" + text[0] + \"\\\" used in \" + \"math mode\", nucleus);\n }\n\n const group = src_symbols[this.mode][text].group;\n const loc = SourceLocation.range(nucleus);\n let s;\n\n if (ATOMS.hasOwnProperty(group)) {\n // $FlowFixMe\n const family = group;\n s = {\n type: \"atom\",\n mode: this.mode,\n family,\n loc,\n text\n };\n } else {\n // $FlowFixMe\n s = {\n type: group,\n mode: this.mode,\n loc,\n text\n };\n } // $FlowFixMe\n\n\n symbol = s;\n } else if (text.charCodeAt(0) >= 0x80) {\n // no symbol for e.g. ^\n if (this.settings.strict) {\n if (!supportedCodepoint(text.charCodeAt(0))) {\n this.settings.reportNonstrict(\"unknownSymbol\", \"Unrecognized Unicode character \\\"\" + text[0] + \"\\\"\" + (\" (\" + text.charCodeAt(0) + \")\"), nucleus);\n } else if (this.mode === \"math\") {\n this.settings.reportNonstrict(\"unicodeTextInMathMode\", \"Unicode text character \\\"\" + text[0] + \"\\\" used in math mode\", nucleus);\n }\n } // All nonmathematical Unicode characters are rendered as if they\n // are in text mode (wrapped in \\text) because that's what it\n // takes to render them in LaTeX. Setting `mode: this.mode` is\n // another natural choice (the user requested math mode), but\n // this makes it more difficult for getCharacterMetrics() to\n // distinguish Unicode characters without metrics and those for\n // which we want to simulate the letter M.\n\n\n symbol = {\n type: \"textord\",\n mode: \"text\",\n loc: SourceLocation.range(nucleus),\n text\n };\n } else {\n return null; // EOF, ^, _, {, }, etc.\n }\n\n this.consume(); // Transform combining characters into accents\n\n if (match) {\n for (let i = 0; i < match[0].length; i++) {\n const accent = match[0][i];\n\n if (!unicodeAccents[accent]) {\n throw new src_ParseError(\"Unknown accent ' \" + accent + \"'\", nucleus);\n }\n\n const command = unicodeAccents[accent][this.mode] || unicodeAccents[accent].text;\n\n if (!command) {\n throw new src_ParseError(\"Accent \" + accent + \" unsupported in \" + this.mode + \" mode\", nucleus);\n }\n\n symbol = {\n type: \"accent\",\n mode: this.mode,\n loc: SourceLocation.range(nucleus),\n label: command,\n isStretchy: false,\n isShifty: true,\n // $FlowFixMe\n base: symbol\n };\n }\n } // $FlowFixMe\n\n\n return symbol;\n }\n\n}\nParser.endOfExpression = [\"}\", \"\\\\endgroup\", \"\\\\end\", \"\\\\right\", \"&\"];\n;// CONCATENATED MODULE: ./src/parseTree.js\n/**\n * Provides a single function for parsing an expression using a Parser\n * TODO(emily): Remove this\n */\n\n\n\n\n/**\n * Parses an expression using a Parser, then returns the parsed result.\n */\nconst parseTree = function (toParse, settings) {\n if (!(typeof toParse === 'string' || toParse instanceof String)) {\n throw new TypeError('KaTeX can only parse string typed expression');\n }\n\n const parser = new Parser(toParse, settings); // Blank out any \\df@tag to avoid spurious \"Duplicate \\tag\" errors\n\n delete parser.gullet.macros.current[\"\\\\df@tag\"];\n let tree = parser.parse(); // Prevent a color definition from persisting between calls to katex.render().\n\n delete parser.gullet.macros.current[\"\\\\current@color\"];\n delete parser.gullet.macros.current[\"\\\\color\"]; // If the input used \\tag, it will set the \\df@tag macro to the tag.\n // In this case, we separately parse the tag and wrap the tree.\n\n if (parser.gullet.macros.get(\"\\\\df@tag\")) {\n if (!settings.displayMode) {\n throw new src_ParseError(\"\\\\tag works only in display equations\");\n }\n\n tree = [{\n type: \"tag\",\n mode: \"text\",\n body: tree,\n tag: parser.subparse([new Token(\"\\\\df@tag\")])\n }];\n }\n\n return tree;\n};\n\n/* harmony default export */ var src_parseTree = (parseTree);\n;// CONCATENATED MODULE: ./katex.js\n/* eslint no-console:0 */\n\n/**\n * This is the main entry point for KaTeX. Here, we expose functions for\n * rendering expressions either to DOM nodes or to markup strings.\n *\n * We also expose the ParseError class to check if errors thrown from KaTeX are\n * errors in the expression, or errors in javascript handling.\n */\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Parse and build an expression, and place that expression in the DOM node\n * given.\n */\nlet render = function (expression, baseNode, options) {\n baseNode.textContent = \"\";\n const node = renderToDomTree(expression, options).toNode();\n baseNode.appendChild(node);\n}; // KaTeX's styles don't work properly in quirks mode. Print out an error, and\n// disable rendering.\n\n\nif (typeof document !== \"undefined\") {\n if (document.compatMode !== \"CSS1Compat\") {\n typeof console !== \"undefined\" && console.warn(\"Warning: KaTeX doesn't work in quirks mode. Make sure your \" + \"website has a suitable doctype.\");\n\n render = function () {\n throw new src_ParseError(\"KaTeX doesn't work in quirks mode.\");\n };\n }\n}\n/**\n * Parse and build an expression, and return the markup for that.\n */\n\n\nconst renderToString = function (expression, options) {\n const markup = renderToDomTree(expression, options).toMarkup();\n return markup;\n};\n/**\n * Parse an expression and return the parse tree.\n */\n\n\nconst generateParseTree = function (expression, options) {\n const settings = new Settings(options);\n return src_parseTree(expression, settings);\n};\n/**\n * If the given error is a KaTeX ParseError and options.throwOnError is false,\n * renders the invalid LaTeX as a span with hover title giving the KaTeX\n * error message. Otherwise, simply throws the error.\n */\n\n\nconst renderError = function (error, expression, options) {\n if (options.throwOnError || !(error instanceof src_ParseError)) {\n throw error;\n }\n\n const node = buildCommon.makeSpan([\"katex-error\"], [new SymbolNode(expression)]);\n node.setAttribute(\"title\", error.toString());\n node.setAttribute(\"style\", \"color:\" + options.errorColor);\n return node;\n};\n/**\n * Generates and returns the katex build tree. This is used for advanced\n * use cases (like rendering to custom output).\n */\n\n\nconst renderToDomTree = function (expression, options) {\n const settings = new Settings(options);\n\n try {\n const tree = src_parseTree(expression, settings);\n return buildTree(tree, expression, settings);\n } catch (error) {\n return renderError(error, expression, settings);\n }\n};\n/**\n * Generates and returns the katex build tree, with just HTML (no MathML).\n * This is used for advanced use cases (like rendering to custom output).\n */\n\n\nconst renderToHTMLTree = function (expression, options) {\n const settings = new Settings(options);\n\n try {\n const tree = src_parseTree(expression, settings);\n return buildHTMLTree(tree, expression, settings);\n } catch (error) {\n return renderError(error, expression, settings);\n }\n};\n\n/* harmony default export */ var katex = ({\n /**\n * Current KaTeX version\n */\n version: \"0.16.11\",\n\n /**\n * Renders the given LaTeX into an HTML+MathML combination, and adds\n * it as a child to the specified DOM node.\n */\n render,\n\n /**\n * Renders the given LaTeX into an HTML+MathML combination string,\n * for sending to the client.\n */\n renderToString,\n\n /**\n * KaTeX error, usually during parsing.\n */\n ParseError: src_ParseError,\n\n /**\n * The shema of Settings\n */\n SETTINGS_SCHEMA: SETTINGS_SCHEMA,\n\n /**\n * Parses the given LaTeX into KaTeX's internal parse tree structure,\n * without rendering to HTML or MathML.\n *\n * NOTE: This method is not currently recommended for public use.\n * The internal tree representation is unstable and is very likely\n * to change. Use at your own risk.\n */\n __parse: generateParseTree,\n\n /**\n * Renders the given LaTeX into an HTML+MathML internal DOM tree\n * representation, without flattening that representation to a string.\n *\n * NOTE: This method is not currently recommended for public use.\n * The internal tree representation is unstable and is very likely\n * to change. Use at your own risk.\n */\n __renderToDomTree: renderToDomTree,\n\n /**\n * Renders the given LaTeX into an HTML internal DOM tree representation,\n * without MathML and without flattening that representation to a string.\n *\n * NOTE: This method is not currently recommended for public use.\n * The internal tree representation is unstable and is very likely\n * to change. Use at your own risk.\n */\n __renderToHTMLTree: renderToHTMLTree,\n\n /**\n * extends internal font metrics object with a new object\n * each key in the new object represents a font name\n */\n __setFontMetrics: setFontMetrics,\n\n /**\n * adds a new symbol to builtin symbols table\n */\n __defineSymbol: defineSymbol,\n\n /**\n * adds a new function to builtin function list,\n * which directly produce parse tree elements\n * and have their own html/mathml builders\n */\n __defineFunction: defineFunction,\n\n /**\n * adds a new macro to builtin macro list\n */\n __defineMacro: defineMacro,\n\n /**\n * Expose the dom tree node types, which can be useful for type checking nodes.\n *\n * NOTE: This method is not currently recommended for public use.\n * The internal tree representation is unstable and is very likely\n * to change. Use at your own risk.\n */\n __domTree: {\n Span: Span,\n Anchor: Anchor,\n SymbolNode: SymbolNode,\n SvgNode: SvgNode,\n PathNode: PathNode,\n LineNode: LineNode\n }\n});\n;// CONCATENATED MODULE: ./katex.webpack.js\n/**\n * This is the webpack entry point for KaTeX. As ECMAScript, flow[1] and jest[2]\n * doesn't support CSS modules natively, a separate entry point is used and\n * it is not flowtyped.\n *\n * [1] https://gist.github.com/lambdahands/d19e0da96285b749f0ef\n * [2] https://facebook.github.io/jest/docs/en/webpack.html\n */\n\n\n/* harmony default export */ var katex_webpack = (katex);\n__webpack_exports__ = __webpack_exports__[\"default\"];\n/******/ \treturn __webpack_exports__;\n/******/ })()\n;\n});","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst katex_1 = __importDefault(require(\"katex\"));\n/**\n * Test if potential opening or closing delimiter\n */\nfunction isValidInlineDelim(state, pos) {\n const prevChar = state.src[pos - 1];\n const char = state.src[pos];\n const nextChar = state.src[pos + 1];\n if (char !== '$') {\n return { can_open: false, can_close: false };\n }\n let canOpen = false;\n let canClose = false;\n if (prevChar !== '$' && prevChar !== '\\\\' && (prevChar === undefined || isWhitespace(prevChar) || !isWordCharacterOrNumber(prevChar))) {\n canOpen = true;\n }\n if (nextChar !== '$' && (nextChar == undefined || isWhitespace(nextChar) || !isWordCharacterOrNumber(nextChar))) {\n canClose = true;\n }\n return { can_open: canOpen, can_close: canClose };\n}\nfunction isWhitespace(char) {\n return /^\\s$/u.test(char);\n}\nfunction isWordCharacterOrNumber(char) {\n return /^[\\w\\d]$/u.test(char);\n}\nfunction isValidBlockDelim(state, pos) {\n const prevChar = state.src[pos - 1];\n const char = state.src[pos];\n const nextChar = state.src[pos + 1];\n const nextCharPlus1 = state.src[pos + 2];\n if (char === '$'\n && prevChar !== '$' && prevChar !== '\\\\'\n && nextChar === '$'\n && nextCharPlus1 !== '$') {\n return { can_open: true, can_close: true };\n }\n return { can_open: false, can_close: false };\n}\nfunction inlineMath(state, silent) {\n if (state.src[state.pos] !== \"$\") {\n return false;\n }\n const lastToken = state.tokens.at(-1);\n if (lastToken?.type === 'html_inline') {\n // We may be inside of inside of inline html\n if (/^<\\w+.+[^/]>$/.test(lastToken.content)) {\n return false;\n }\n }\n let res = isValidInlineDelim(state, state.pos);\n if (!res.can_open) {\n if (!silent) {\n state.pending += \"$\";\n }\n state.pos += 1;\n return true;\n }\n // First check for and bypass all properly escaped delimieters\n // This loop will assume that the first leading backtick can not\n // be the first character in state.src, which is known since\n // we have found an opening delimieter already.\n let start = state.pos + 1;\n let match = start;\n let pos;\n while ((match = state.src.indexOf(\"$\", match)) !== -1) {\n // Found potential $, look for escapes, pos will point to\n // first non escape when complete\n pos = match - 1;\n while (state.src[pos] === \"\\\\\") {\n pos -= 1;\n }\n // Even number of escapes, potential closing delimiter found\n if (((match - pos) % 2) == 1) {\n break;\n }\n match += 1;\n }\n // No closing delimter found. Consume $ and continue.\n if (match === -1) {\n if (!silent) {\n state.pending += \"$\";\n }\n state.pos = start;\n return true;\n }\n // Check if we have empty content, ie: $$. Do not parse.\n if (match - start === 0) {\n if (!silent) {\n state.pending += \"$$\";\n }\n state.pos = start + 1;\n return true;\n }\n // Check for valid closing delimiter\n res = isValidInlineDelim(state, match);\n if (!res.can_close) {\n if (!silent) {\n state.pending += \"$\";\n }\n state.pos = start;\n return true;\n }\n if (!silent) {\n const token = state.push('math_inline', 'math', 0);\n token.markup = \"$\";\n token.content = state.src.slice(start, match);\n }\n state.pos = match + 1;\n return true;\n}\nfunction blockMath(state, start, end, silent) {\n var lastLine, next, lastPos, found = false, token, pos = state.bMarks[start] + state.tShift[start], max = state.eMarks[start];\n if (pos + 2 > max) {\n return false;\n }\n if (state.src.slice(pos, pos + 2) !== '$$') {\n return false;\n }\n pos += 2;\n let firstLine = state.src.slice(pos, max);\n if (silent) {\n return true;\n }\n if (firstLine.trim().slice(-2) === '$$') {\n // Single line expression\n firstLine = firstLine.trim().slice(0, -2);\n found = true;\n }\n for (next = start; !found;) {\n next++;\n if (next >= end) {\n break;\n }\n pos = state.bMarks[next] + state.tShift[next];\n max = state.eMarks[next];\n if (pos < max && state.tShift[next] < state.blkIndent) {\n // non-empty line with negative indent should stop the list:\n break;\n }\n if (state.src.slice(pos, max).trim().slice(-2) === '$$') {\n lastPos = state.src.slice(0, max).lastIndexOf('$$');\n lastLine = state.src.slice(pos, lastPos);\n found = true;\n }\n else if (state.src.slice(pos, max).trim().includes('$$')) {\n lastPos = state.src.slice(0, max).trim().indexOf('$$');\n lastLine = state.src.slice(pos, lastPos);\n found = true;\n }\n }\n state.line = next + 1;\n token = state.push('math_block', 'math', 0);\n token.block = true;\n token.content = (firstLine && firstLine.trim() ? firstLine + '\\n' : '')\n + state.getLines(start + 1, next, state.tShift[start], true)\n + (lastLine && lastLine.trim() ? lastLine : '');\n token.map = [start, state.line];\n token.markup = '$$';\n return true;\n}\nfunction blockBareMath(state, start, end, silent) {\n const startPos = state.bMarks[start] + state.tShift[start];\n const startMax = state.eMarks[start];\n const firstLine = state.src.slice(startPos, startMax);\n const beginMatch = firstLine.match(/^\\s*\\\\begin\\s*\\{([^{}]+)\\}/);\n if (!beginMatch) {\n return false;\n }\n if (start > 0) {\n // Previous line must be blank for bare blocks. There are instead handled by inlineBareBlock\n const previousStart = state.bMarks[start - 1] + state.tShift[start - 1];\n const previousEnd = state.eMarks[start - 1];\n const previousLine = state.src.slice(previousStart, previousEnd);\n if (!/^\\s*$/.test(previousLine)) {\n return false;\n }\n }\n if (silent) {\n return true;\n }\n const beginEndStack = [];\n let next = start;\n let lastLine;\n let found = false;\n outer: for (; !found; next++) {\n if (next >= end) {\n break;\n }\n const pos = state.bMarks[next] + state.tShift[next];\n const max = state.eMarks[next];\n if (pos < max && state.tShift[next] < state.blkIndent) {\n // non-empty line with negative indent should stop the list:\n break;\n }\n const line = state.src.slice(pos, max);\n for (const match of line.matchAll(/(\\\\begin|\\\\end)\\s*\\{([^{}]+)\\}/g)) {\n if (match[1] === '\\\\begin') {\n beginEndStack.push(match[2].trim());\n }\n else if (match[1] === '\\\\end') {\n beginEndStack.pop();\n if (!beginEndStack.length) {\n lastLine = state.src.slice(pos, max);\n found = true;\n break outer;\n }\n }\n }\n }\n state.line = next + 1;\n const token = state.push('math_block', 'math', 0);\n token.block = true;\n token.content = (state.getLines(start, next, state.tShift[start], true) + (lastLine ?? '')).trim();\n token.map = [start, state.line];\n token.markup = '$$';\n return true;\n}\nfunction inlineMathBlock(state, silent) {\n var start, match, token, res, pos;\n if (state.src.slice(state.pos, state.pos + 2) !== \"$$\") {\n return false;\n }\n res = isValidBlockDelim(state, state.pos);\n if (!res.can_open) {\n if (!silent) {\n state.pending += \"$$\";\n }\n state.pos += 2;\n return true;\n }\n // First check for and bypass all properly escaped delimieters\n // This loop will assume that the first leading backtick can not\n // be the first character in state.src, which is known since\n // we have found an opening delimieter already.\n start = state.pos + 2;\n match = start;\n while ((match = state.src.indexOf(\"$$\", match)) !== -1) {\n // Found potential $$, look for escapes, pos will point to\n // first non escape when complete\n pos = match - 1;\n while (state.src[pos] === \"\\\\\") {\n pos -= 1;\n }\n // Even number of escapes, potential closing delimiter found\n if (((match - pos) % 2) == 1) {\n break;\n }\n match += 2;\n }\n // No closing delimter found. Consume $$ and continue.\n if (match === -1) {\n if (!silent) {\n state.pending += \"$$\";\n }\n state.pos = start;\n return true;\n }\n // Check if we have empty content, ie: $$$$. Do not parse.\n if (match - start === 0) {\n if (!silent) {\n state.pending += \"$$$$\";\n }\n state.pos = start + 2;\n return true;\n }\n // Check for valid closing delimiter\n res = isValidBlockDelim(state, match);\n if (!res.can_close) {\n if (!silent) {\n state.pending += \"$$\";\n }\n state.pos = start;\n return true;\n }\n if (!silent) {\n token = state.push('math_block', 'math', 0);\n token.block = true;\n token.markup = \"$$\";\n token.content = state.src.slice(start, match);\n }\n state.pos = match + 2;\n return true;\n}\nfunction inlineBareBlock(state, silent) {\n const text = state.src.slice(state.pos);\n // Make sure this is not a normal bare block\n if (!/^\\n\\\\begin/.test(text)) {\n return false;\n }\n state.pos += 1;\n if (silent) {\n return true;\n }\n const lines = text.split(/\\n/g).slice(1);\n let foundLine;\n const beginEndStack = [];\n outer: for (var i = 0; i < lines.length; ++i) {\n const line = lines[i];\n for (const match of line.matchAll(/(\\\\begin|\\\\end)\\s*\\{([^{}]+)\\}/g)) {\n if (match[1] === '\\\\begin') {\n beginEndStack.push(match[2].trim());\n }\n else if (match[1] === '\\\\end') {\n beginEndStack.pop();\n if (!beginEndStack.length) {\n foundLine = i;\n break outer;\n }\n }\n }\n }\n if (typeof foundLine === 'undefined') {\n return false;\n }\n const endIndex = lines.slice(0, foundLine + 1).reduce((p, c) => p + c.length, 0) + foundLine + 1;\n const token = state.push('math_inline_bare_block', 'math', 0);\n token.block = true;\n token.markup = \"$$\";\n token.content = text.slice(1, endIndex);\n state.pos = state.pos + endIndex;\n return true;\n}\n// For any html block that contains math, replace the html block token with new tokens that separate out\n// the html blocks from the math\nfunction handleMathInHtml(state, mathType, mathMarkup, mathRegex) {\n const tokens = state.tokens;\n for (let index = tokens.length - 1; index >= 0; index--) {\n const currentToken = tokens[index];\n const newTokens = [];\n if (currentToken.type !== \"html_block\") {\n continue;\n }\n const content = currentToken.content;\n // Process for each math referenced within the html block\n for (const match of content.matchAll(mathRegex)) {\n if (!match.groups) {\n continue;\n }\n const html_before_math = match.groups.html_before_math;\n const math = match.groups.math;\n const html_after_math = match.groups.html_after_math;\n if (html_before_math) {\n newTokens.push({ ...currentToken, type: \"html_block\", map: null, content: html_before_math });\n }\n if (math) {\n newTokens.push({\n ...currentToken,\n type: mathType,\n map: null,\n content: math,\n markup: mathMarkup,\n block: true,\n tag: \"math\",\n });\n }\n if (html_after_math) {\n newTokens.push({ ...currentToken, type: \"html_block\", map: null, content: html_after_math });\n }\n }\n // Replace the original html_block token with the newly expanded tokens\n if (newTokens.length > 0) {\n tokens.splice(index, 1, ...newTokens);\n }\n }\n return true;\n}\nfunction escapeHtml(unsafe) {\n return unsafe\n .replace(/&/g, \"&\")\n .replace(//g, \">\")\n .replace(/\"/g, \""\")\n .replace(/'/g, \"'\");\n}\nfunction default_1(md, options) {\n const enableBareBlocks = options?.enableBareBlocks;\n const enableMathBlockInHtml = options?.enableMathBlockInHtml;\n const enableMathInlineInHtml = options?.enableMathInlineInHtml;\n const enableFencedBlocks = options?.enableFencedBlocks;\n // #region Parsing\n md.inline.ruler.after('escape', 'math_inline', inlineMath);\n md.inline.ruler.after('escape', 'math_inline_block', inlineMathBlock);\n if (enableBareBlocks) {\n md.inline.ruler.before('text', 'math_inline_bare_block', inlineBareBlock);\n }\n md.block.ruler.after('blockquote', 'math_block', (state, start, end, silent) => {\n if (enableBareBlocks && blockBareMath(state, start, end, silent)) {\n return true;\n }\n return blockMath(state, start, end, silent);\n }, {\n alt: ['paragraph', 'reference', 'blockquote', 'list']\n });\n // Regex to capture any html prior to math block, the math block (single or multi line), and any html after the math block\n const math_block_within_html_regex = /(?[\\s\\S]*?)\\$\\$(?[\\s\\S]+?)\\$\\$(?(?:(?!\\$\\$[\\s\\S]+?\\$\\$)[\\s\\S])*)/gm;\n // Regex to capture any html prior to math inline, the math inline (single line), and any html after the math inline\n const math_inline_within_html_regex = /(?[\\s\\S]*?)\\$(?.*?)\\$(?(?:(?!\\$.*?\\$)[\\s\\S])*)/gm;\n if (enableMathBlockInHtml) {\n md.core.ruler.push(\"math_block_in_html_block\", (state) => {\n return handleMathInHtml(state, \"math_block\", \"$$\", math_block_within_html_regex);\n });\n }\n if (enableMathInlineInHtml) {\n md.core.ruler.push(\"math_inline_in_html_block\", (state) => {\n return handleMathInHtml(state, \"math_inline\", \"$\", math_inline_within_html_regex);\n });\n }\n // #endregion\n // #region Rendering\n const katexInline = (latex) => {\n const displayMode = /\\\\begin\\{(align|equation|gather|cd|alignat)\\}/ig.test(latex);\n try {\n return katex_1.default.renderToString(latex, { ...options, displayMode });\n }\n catch (error) {\n if (options?.throwOnError) {\n console.log(error);\n }\n return `${escapeHtml(error + '')}`;\n }\n };\n const inlineRenderer = (tokens, idx) => {\n return katexInline(tokens[idx].content);\n };\n const katexBlockRenderer = (latex) => {\n try {\n return `

${katex_1.default.renderToString(latex, { ...options, displayMode: true })}

`;\n }\n catch (error) {\n if (options?.throwOnError) {\n console.log(error);\n }\n return `

${escapeHtml(error + '')}

`;\n }\n };\n const blockRenderer = (tokens, idx) => {\n return katexBlockRenderer(tokens[idx].content) + '\\n';\n };\n md.renderer.rules.math_inline = inlineRenderer;\n md.renderer.rules.math_inline_block = blockRenderer;\n md.renderer.rules.math_inline_bare_block = blockRenderer;\n md.renderer.rules.math_block = blockRenderer;\n if (enableFencedBlocks) {\n const mathLanguageId = 'math';\n const originalFenceRenderer = md.renderer.rules.fence;\n md.renderer.rules.fence = function (tokens, idx, options, env, self) {\n const token = tokens[idx];\n if (token.info.trim().toLowerCase() === mathLanguageId && enableFencedBlocks) {\n return katexBlockRenderer(token.content) + '\\n';\n }\n else {\n return originalFenceRenderer?.call(this, tokens, idx, options, env, self) || '';\n }\n };\n }\n // #endregion\n}\nexports.default = default_1;\n;\n//# sourceMappingURL=index.js.map","var decodeMap = require(\"../maps/decode.json\");\n\nmodule.exports = decodeCodePoint;\n\n// modified version of https://github.com/mathiasbynens/he/blob/master/src/he.js#L94-L119\nfunction decodeCodePoint(codePoint) {\n if ((codePoint >= 0xd800 && codePoint <= 0xdfff) || codePoint > 0x10ffff) {\n return \"\\uFFFD\";\n }\n\n if (codePoint in decodeMap) {\n codePoint = decodeMap[codePoint];\n }\n\n var output = \"\";\n\n if (codePoint > 0xffff) {\n codePoint -= 0x10000;\n output += String.fromCharCode(((codePoint >>> 10) & 0x3ff) | 0xd800);\n codePoint = 0xdc00 | (codePoint & 0x3ff);\n }\n\n output += String.fromCharCode(codePoint);\n return output;\n}\n","module.exports = Tokenizer;\n\nvar decodeCodePoint = require(\"entities/lib/decode_codepoint.js\");\nvar entityMap = require(\"entities/maps/entities.json\");\nvar legacyMap = require(\"entities/maps/legacy.json\");\nvar xmlMap = require(\"entities/maps/xml.json\");\n\nvar i = 0;\n\nvar TEXT = i++;\nvar BEFORE_TAG_NAME = i++; //after <\nvar IN_TAG_NAME = i++;\nvar IN_SELF_CLOSING_TAG = i++;\nvar BEFORE_CLOSING_TAG_NAME = i++;\nvar IN_CLOSING_TAG_NAME = i++;\nvar AFTER_CLOSING_TAG_NAME = i++;\n\n//attributes\nvar BEFORE_ATTRIBUTE_NAME = i++;\nvar IN_ATTRIBUTE_NAME = i++;\nvar AFTER_ATTRIBUTE_NAME = i++;\nvar BEFORE_ATTRIBUTE_VALUE = i++;\nvar IN_ATTRIBUTE_VALUE_DQ = i++; // \"\nvar IN_ATTRIBUTE_VALUE_SQ = i++; // '\nvar IN_ATTRIBUTE_VALUE_NQ = i++;\n\n//declarations\nvar BEFORE_DECLARATION = i++; // !\nvar IN_DECLARATION = i++;\n\n//processing instructions\nvar IN_PROCESSING_INSTRUCTION = i++; // ?\n\n//comments\nvar BEFORE_COMMENT = i++;\nvar IN_COMMENT = i++;\nvar AFTER_COMMENT_1 = i++;\nvar AFTER_COMMENT_2 = i++;\n\n//cdata\nvar BEFORE_CDATA_1 = i++; // [\nvar BEFORE_CDATA_2 = i++; // C\nvar BEFORE_CDATA_3 = i++; // D\nvar BEFORE_CDATA_4 = i++; // A\nvar BEFORE_CDATA_5 = i++; // T\nvar BEFORE_CDATA_6 = i++; // A\nvar IN_CDATA = i++; // [\nvar AFTER_CDATA_1 = i++; // ]\nvar AFTER_CDATA_2 = i++; // ]\n\n//special tags\nvar BEFORE_SPECIAL = i++; //S\nvar BEFORE_SPECIAL_END = i++; //S\n\nvar BEFORE_SCRIPT_1 = i++; //C\nvar BEFORE_SCRIPT_2 = i++; //R\nvar BEFORE_SCRIPT_3 = i++; //I\nvar BEFORE_SCRIPT_4 = i++; //P\nvar BEFORE_SCRIPT_5 = i++; //T\nvar AFTER_SCRIPT_1 = i++; //C\nvar AFTER_SCRIPT_2 = i++; //R\nvar AFTER_SCRIPT_3 = i++; //I\nvar AFTER_SCRIPT_4 = i++; //P\nvar AFTER_SCRIPT_5 = i++; //T\n\nvar BEFORE_STYLE_1 = i++; //T\nvar BEFORE_STYLE_2 = i++; //Y\nvar BEFORE_STYLE_3 = i++; //L\nvar BEFORE_STYLE_4 = i++; //E\nvar AFTER_STYLE_1 = i++; //T\nvar AFTER_STYLE_2 = i++; //Y\nvar AFTER_STYLE_3 = i++; //L\nvar AFTER_STYLE_4 = i++; //E\n\nvar BEFORE_ENTITY = i++; //&\nvar BEFORE_NUMERIC_ENTITY = i++; //#\nvar IN_NAMED_ENTITY = i++;\nvar IN_NUMERIC_ENTITY = i++;\nvar IN_HEX_ENTITY = i++; //X\n\nvar j = 0;\n\nvar SPECIAL_NONE = j++;\nvar SPECIAL_SCRIPT = j++;\nvar SPECIAL_STYLE = j++;\n\nfunction whitespace(c) {\n return c === \" \" || c === \"\\n\" || c === \"\\t\" || c === \"\\f\" || c === \"\\r\";\n}\n\nfunction ifElseState(upper, SUCCESS, FAILURE) {\n var lower = upper.toLowerCase();\n\n if (upper === lower) {\n return function(c) {\n if (c === lower) {\n this._state = SUCCESS;\n } else {\n this._state = FAILURE;\n this._index--;\n }\n };\n } else {\n return function(c) {\n if (c === lower || c === upper) {\n this._state = SUCCESS;\n } else {\n this._state = FAILURE;\n this._index--;\n }\n };\n }\n}\n\nfunction consumeSpecialNameChar(upper, NEXT_STATE) {\n var lower = upper.toLowerCase();\n\n return function(c) {\n if (c === lower || c === upper) {\n this._state = NEXT_STATE;\n } else {\n this._state = IN_TAG_NAME;\n this._index--; //consume the token again\n }\n };\n}\n\nfunction Tokenizer(options, cbs) {\n this._state = TEXT;\n this._buffer = \"\";\n this._sectionStart = 0;\n this._index = 0;\n this._bufferOffset = 0; //chars removed from _buffer\n this._baseState = TEXT;\n this._special = SPECIAL_NONE;\n this._cbs = cbs;\n this._running = true;\n this._ended = false;\n this._xmlMode = !!(options && options.xmlMode);\n this._decodeEntities = !!(options && options.decodeEntities);\n}\n\nTokenizer.prototype._stateText = function(c) {\n if (c === \"<\") {\n if (this._index > this._sectionStart) {\n this._cbs.ontext(this._getSection());\n }\n this._state = BEFORE_TAG_NAME;\n this._sectionStart = this._index;\n } else if (\n this._decodeEntities &&\n this._special === SPECIAL_NONE &&\n c === \"&\"\n ) {\n if (this._index > this._sectionStart) {\n this._cbs.ontext(this._getSection());\n }\n this._baseState = TEXT;\n this._state = BEFORE_ENTITY;\n this._sectionStart = this._index;\n }\n};\n\nTokenizer.prototype._stateBeforeTagName = function(c) {\n if (c === \"/\") {\n this._state = BEFORE_CLOSING_TAG_NAME;\n } else if (c === \"<\") {\n this._cbs.ontext(this._getSection());\n this._sectionStart = this._index;\n } else if (c === \">\" || this._special !== SPECIAL_NONE || whitespace(c)) {\n this._state = TEXT;\n } else if (c === \"!\") {\n this._state = BEFORE_DECLARATION;\n this._sectionStart = this._index + 1;\n } else if (c === \"?\") {\n this._state = IN_PROCESSING_INSTRUCTION;\n this._sectionStart = this._index + 1;\n } else {\n this._state =\n !this._xmlMode && (c === \"s\" || c === \"S\")\n ? BEFORE_SPECIAL\n : IN_TAG_NAME;\n this._sectionStart = this._index;\n }\n};\n\nTokenizer.prototype._stateInTagName = function(c) {\n if (c === \"/\" || c === \">\" || whitespace(c)) {\n this._emitToken(\"onopentagname\");\n this._state = BEFORE_ATTRIBUTE_NAME;\n this._index--;\n }\n};\n\nTokenizer.prototype._stateBeforeCloseingTagName = function(c) {\n if (whitespace(c));\n else if (c === \">\") {\n this._state = TEXT;\n } else if (this._special !== SPECIAL_NONE) {\n if (c === \"s\" || c === \"S\") {\n this._state = BEFORE_SPECIAL_END;\n } else {\n this._state = TEXT;\n this._index--;\n }\n } else {\n this._state = IN_CLOSING_TAG_NAME;\n this._sectionStart = this._index;\n }\n};\n\nTokenizer.prototype._stateInCloseingTagName = function(c) {\n if (c === \">\" || whitespace(c)) {\n this._emitToken(\"onclosetag\");\n this._state = AFTER_CLOSING_TAG_NAME;\n this._index--;\n }\n};\n\nTokenizer.prototype._stateAfterCloseingTagName = function(c) {\n //skip everything until \">\"\n if (c === \">\") {\n this._state = TEXT;\n this._sectionStart = this._index + 1;\n }\n};\n\nTokenizer.prototype._stateBeforeAttributeName = function(c) {\n if (c === \">\") {\n this._cbs.onopentagend();\n this._state = TEXT;\n this._sectionStart = this._index + 1;\n } else if (c === \"/\") {\n this._state = IN_SELF_CLOSING_TAG;\n } else if (!whitespace(c)) {\n this._state = IN_ATTRIBUTE_NAME;\n this._sectionStart = this._index;\n }\n};\n\nTokenizer.prototype._stateInSelfClosingTag = function(c) {\n if (c === \">\") {\n this._cbs.onselfclosingtag();\n this._state = TEXT;\n this._sectionStart = this._index + 1;\n } else if (!whitespace(c)) {\n this._state = BEFORE_ATTRIBUTE_NAME;\n this._index--;\n }\n};\n\nTokenizer.prototype._stateInAttributeName = function(c) {\n if (c === \"=\" || c === \"/\" || c === \">\" || whitespace(c)) {\n this._cbs.onattribname(this._getSection());\n this._sectionStart = -1;\n this._state = AFTER_ATTRIBUTE_NAME;\n this._index--;\n }\n};\n\nTokenizer.prototype._stateAfterAttributeName = function(c) {\n if (c === \"=\") {\n this._state = BEFORE_ATTRIBUTE_VALUE;\n } else if (c === \"/\" || c === \">\") {\n this._cbs.onattribend();\n this._state = BEFORE_ATTRIBUTE_NAME;\n this._index--;\n } else if (!whitespace(c)) {\n this._cbs.onattribend();\n this._state = IN_ATTRIBUTE_NAME;\n this._sectionStart = this._index;\n }\n};\n\nTokenizer.prototype._stateBeforeAttributeValue = function(c) {\n if (c === '\"') {\n this._state = IN_ATTRIBUTE_VALUE_DQ;\n this._sectionStart = this._index + 1;\n } else if (c === \"'\") {\n this._state = IN_ATTRIBUTE_VALUE_SQ;\n this._sectionStart = this._index + 1;\n } else if (!whitespace(c)) {\n this._state = IN_ATTRIBUTE_VALUE_NQ;\n this._sectionStart = this._index;\n this._index--; //reconsume token\n }\n};\n\nTokenizer.prototype._stateInAttributeValueDoubleQuotes = function(c) {\n if (c === '\"') {\n this._emitToken(\"onattribdata\");\n this._cbs.onattribend();\n this._state = BEFORE_ATTRIBUTE_NAME;\n } else if (this._decodeEntities && c === \"&\") {\n this._emitToken(\"onattribdata\");\n this._baseState = this._state;\n this._state = BEFORE_ENTITY;\n this._sectionStart = this._index;\n }\n};\n\nTokenizer.prototype._stateInAttributeValueSingleQuotes = function(c) {\n if (c === \"'\") {\n this._emitToken(\"onattribdata\");\n this._cbs.onattribend();\n this._state = BEFORE_ATTRIBUTE_NAME;\n } else if (this._decodeEntities && c === \"&\") {\n this._emitToken(\"onattribdata\");\n this._baseState = this._state;\n this._state = BEFORE_ENTITY;\n this._sectionStart = this._index;\n }\n};\n\nTokenizer.prototype._stateInAttributeValueNoQuotes = function(c) {\n if (whitespace(c) || c === \">\") {\n this._emitToken(\"onattribdata\");\n this._cbs.onattribend();\n this._state = BEFORE_ATTRIBUTE_NAME;\n this._index--;\n } else if (this._decodeEntities && c === \"&\") {\n this._emitToken(\"onattribdata\");\n this._baseState = this._state;\n this._state = BEFORE_ENTITY;\n this._sectionStart = this._index;\n }\n};\n\nTokenizer.prototype._stateBeforeDeclaration = function(c) {\n this._state =\n c === \"[\"\n ? BEFORE_CDATA_1\n : c === \"-\"\n ? BEFORE_COMMENT\n : IN_DECLARATION;\n};\n\nTokenizer.prototype._stateInDeclaration = function(c) {\n if (c === \">\") {\n this._cbs.ondeclaration(this._getSection());\n this._state = TEXT;\n this._sectionStart = this._index + 1;\n }\n};\n\nTokenizer.prototype._stateInProcessingInstruction = function(c) {\n if (c === \">\") {\n this._cbs.onprocessinginstruction(this._getSection());\n this._state = TEXT;\n this._sectionStart = this._index + 1;\n }\n};\n\nTokenizer.prototype._stateBeforeComment = function(c) {\n if (c === \"-\") {\n this._state = IN_COMMENT;\n this._sectionStart = this._index + 1;\n } else {\n this._state = IN_DECLARATION;\n }\n};\n\nTokenizer.prototype._stateInComment = function(c) {\n if (c === \"-\") this._state = AFTER_COMMENT_1;\n};\n\nTokenizer.prototype._stateAfterComment1 = function(c) {\n if (c === \"-\") {\n this._state = AFTER_COMMENT_2;\n } else {\n this._state = IN_COMMENT;\n }\n};\n\nTokenizer.prototype._stateAfterComment2 = function(c) {\n if (c === \">\") {\n //remove 2 trailing chars\n this._cbs.oncomment(\n this._buffer.substring(this._sectionStart, this._index - 2)\n );\n this._state = TEXT;\n this._sectionStart = this._index + 1;\n } else if (c !== \"-\") {\n this._state = IN_COMMENT;\n }\n // else: stay in AFTER_COMMENT_2 (`--->`)\n};\n\nTokenizer.prototype._stateBeforeCdata1 = ifElseState(\n \"C\",\n BEFORE_CDATA_2,\n IN_DECLARATION\n);\nTokenizer.prototype._stateBeforeCdata2 = ifElseState(\n \"D\",\n BEFORE_CDATA_3,\n IN_DECLARATION\n);\nTokenizer.prototype._stateBeforeCdata3 = ifElseState(\n \"A\",\n BEFORE_CDATA_4,\n IN_DECLARATION\n);\nTokenizer.prototype._stateBeforeCdata4 = ifElseState(\n \"T\",\n BEFORE_CDATA_5,\n IN_DECLARATION\n);\nTokenizer.prototype._stateBeforeCdata5 = ifElseState(\n \"A\",\n BEFORE_CDATA_6,\n IN_DECLARATION\n);\n\nTokenizer.prototype._stateBeforeCdata6 = function(c) {\n if (c === \"[\") {\n this._state = IN_CDATA;\n this._sectionStart = this._index + 1;\n } else {\n this._state = IN_DECLARATION;\n this._index--;\n }\n};\n\nTokenizer.prototype._stateInCdata = function(c) {\n if (c === \"]\") this._state = AFTER_CDATA_1;\n};\n\nTokenizer.prototype._stateAfterCdata1 = function(c) {\n if (c === \"]\") this._state = AFTER_CDATA_2;\n else this._state = IN_CDATA;\n};\n\nTokenizer.prototype._stateAfterCdata2 = function(c) {\n if (c === \">\") {\n //remove 2 trailing chars\n this._cbs.oncdata(\n this._buffer.substring(this._sectionStart, this._index - 2)\n );\n this._state = TEXT;\n this._sectionStart = this._index + 1;\n } else if (c !== \"]\") {\n this._state = IN_CDATA;\n }\n //else: stay in AFTER_CDATA_2 (`]]]>`)\n};\n\nTokenizer.prototype._stateBeforeSpecial = function(c) {\n if (c === \"c\" || c === \"C\") {\n this._state = BEFORE_SCRIPT_1;\n } else if (c === \"t\" || c === \"T\") {\n this._state = BEFORE_STYLE_1;\n } else {\n this._state = IN_TAG_NAME;\n this._index--; //consume the token again\n }\n};\n\nTokenizer.prototype._stateBeforeSpecialEnd = function(c) {\n if (this._special === SPECIAL_SCRIPT && (c === \"c\" || c === \"C\")) {\n this._state = AFTER_SCRIPT_1;\n } else if (this._special === SPECIAL_STYLE && (c === \"t\" || c === \"T\")) {\n this._state = AFTER_STYLE_1;\n } else this._state = TEXT;\n};\n\nTokenizer.prototype._stateBeforeScript1 = consumeSpecialNameChar(\n \"R\",\n BEFORE_SCRIPT_2\n);\nTokenizer.prototype._stateBeforeScript2 = consumeSpecialNameChar(\n \"I\",\n BEFORE_SCRIPT_3\n);\nTokenizer.prototype._stateBeforeScript3 = consumeSpecialNameChar(\n \"P\",\n BEFORE_SCRIPT_4\n);\nTokenizer.prototype._stateBeforeScript4 = consumeSpecialNameChar(\n \"T\",\n BEFORE_SCRIPT_5\n);\n\nTokenizer.prototype._stateBeforeScript5 = function(c) {\n if (c === \"/\" || c === \">\" || whitespace(c)) {\n this._special = SPECIAL_SCRIPT;\n }\n this._state = IN_TAG_NAME;\n this._index--; //consume the token again\n};\n\nTokenizer.prototype._stateAfterScript1 = ifElseState(\"R\", AFTER_SCRIPT_2, TEXT);\nTokenizer.prototype._stateAfterScript2 = ifElseState(\"I\", AFTER_SCRIPT_3, TEXT);\nTokenizer.prototype._stateAfterScript3 = ifElseState(\"P\", AFTER_SCRIPT_4, TEXT);\nTokenizer.prototype._stateAfterScript4 = ifElseState(\"T\", AFTER_SCRIPT_5, TEXT);\n\nTokenizer.prototype._stateAfterScript5 = function(c) {\n if (c === \">\" || whitespace(c)) {\n this._special = SPECIAL_NONE;\n this._state = IN_CLOSING_TAG_NAME;\n this._sectionStart = this._index - 6;\n this._index--; //reconsume the token\n } else this._state = TEXT;\n};\n\nTokenizer.prototype._stateBeforeStyle1 = consumeSpecialNameChar(\n \"Y\",\n BEFORE_STYLE_2\n);\nTokenizer.prototype._stateBeforeStyle2 = consumeSpecialNameChar(\n \"L\",\n BEFORE_STYLE_3\n);\nTokenizer.prototype._stateBeforeStyle3 = consumeSpecialNameChar(\n \"E\",\n BEFORE_STYLE_4\n);\n\nTokenizer.prototype._stateBeforeStyle4 = function(c) {\n if (c === \"/\" || c === \">\" || whitespace(c)) {\n this._special = SPECIAL_STYLE;\n }\n this._state = IN_TAG_NAME;\n this._index--; //consume the token again\n};\n\nTokenizer.prototype._stateAfterStyle1 = ifElseState(\"Y\", AFTER_STYLE_2, TEXT);\nTokenizer.prototype._stateAfterStyle2 = ifElseState(\"L\", AFTER_STYLE_3, TEXT);\nTokenizer.prototype._stateAfterStyle3 = ifElseState(\"E\", AFTER_STYLE_4, TEXT);\n\nTokenizer.prototype._stateAfterStyle4 = function(c) {\n if (c === \">\" || whitespace(c)) {\n this._special = SPECIAL_NONE;\n this._state = IN_CLOSING_TAG_NAME;\n this._sectionStart = this._index - 5;\n this._index--; //reconsume the token\n } else this._state = TEXT;\n};\n\nTokenizer.prototype._stateBeforeEntity = ifElseState(\n \"#\",\n BEFORE_NUMERIC_ENTITY,\n IN_NAMED_ENTITY\n);\nTokenizer.prototype._stateBeforeNumericEntity = ifElseState(\n \"X\",\n IN_HEX_ENTITY,\n IN_NUMERIC_ENTITY\n);\n\n//for entities terminated with a semicolon\nTokenizer.prototype._parseNamedEntityStrict = function() {\n //offset = 1\n if (this._sectionStart + 1 < this._index) {\n var entity = this._buffer.substring(\n this._sectionStart + 1,\n this._index\n ),\n map = this._xmlMode ? xmlMap : entityMap;\n\n if (map.hasOwnProperty(entity)) {\n this._emitPartial(map[entity]);\n this._sectionStart = this._index + 1;\n }\n }\n};\n\n//parses legacy entities (without trailing semicolon)\nTokenizer.prototype._parseLegacyEntity = function() {\n var start = this._sectionStart + 1,\n limit = this._index - start;\n\n if (limit > 6) limit = 6; //the max length of legacy entities is 6\n\n while (limit >= 2) {\n //the min length of legacy entities is 2\n var entity = this._buffer.substr(start, limit);\n\n if (legacyMap.hasOwnProperty(entity)) {\n this._emitPartial(legacyMap[entity]);\n this._sectionStart += limit + 1;\n return;\n } else {\n limit--;\n }\n }\n};\n\nTokenizer.prototype._stateInNamedEntity = function(c) {\n if (c === \";\") {\n this._parseNamedEntityStrict();\n if (this._sectionStart + 1 < this._index && !this._xmlMode) {\n this._parseLegacyEntity();\n }\n this._state = this._baseState;\n } else if (\n (c < \"a\" || c > \"z\") &&\n (c < \"A\" || c > \"Z\") &&\n (c < \"0\" || c > \"9\")\n ) {\n if (this._xmlMode);\n else if (this._sectionStart + 1 === this._index);\n else if (this._baseState !== TEXT) {\n if (c !== \"=\") {\n this._parseNamedEntityStrict();\n }\n } else {\n this._parseLegacyEntity();\n }\n\n this._state = this._baseState;\n this._index--;\n }\n};\n\nTokenizer.prototype._decodeNumericEntity = function(offset, base) {\n var sectionStart = this._sectionStart + offset;\n\n if (sectionStart !== this._index) {\n //parse entity\n var entity = this._buffer.substring(sectionStart, this._index);\n var parsed = parseInt(entity, base);\n\n this._emitPartial(decodeCodePoint(parsed));\n this._sectionStart = this._index;\n } else {\n this._sectionStart--;\n }\n\n this._state = this._baseState;\n};\n\nTokenizer.prototype._stateInNumericEntity = function(c) {\n if (c === \";\") {\n this._decodeNumericEntity(2, 10);\n this._sectionStart++;\n } else if (c < \"0\" || c > \"9\") {\n if (!this._xmlMode) {\n this._decodeNumericEntity(2, 10);\n } else {\n this._state = this._baseState;\n }\n this._index--;\n }\n};\n\nTokenizer.prototype._stateInHexEntity = function(c) {\n if (c === \";\") {\n this._decodeNumericEntity(3, 16);\n this._sectionStart++;\n } else if (\n (c < \"a\" || c > \"f\") &&\n (c < \"A\" || c > \"F\") &&\n (c < \"0\" || c > \"9\")\n ) {\n if (!this._xmlMode) {\n this._decodeNumericEntity(3, 16);\n } else {\n this._state = this._baseState;\n }\n this._index--;\n }\n};\n\nTokenizer.prototype._cleanup = function() {\n if (this._sectionStart < 0) {\n this._buffer = \"\";\n this._bufferOffset += this._index;\n this._index = 0;\n } else if (this._running) {\n if (this._state === TEXT) {\n if (this._sectionStart !== this._index) {\n this._cbs.ontext(this._buffer.substr(this._sectionStart));\n }\n this._buffer = \"\";\n this._bufferOffset += this._index;\n this._index = 0;\n } else if (this._sectionStart === this._index) {\n //the section just started\n this._buffer = \"\";\n this._bufferOffset += this._index;\n this._index = 0;\n } else {\n //remove everything unnecessary\n this._buffer = this._buffer.substr(this._sectionStart);\n this._index -= this._sectionStart;\n this._bufferOffset += this._sectionStart;\n }\n\n this._sectionStart = 0;\n }\n};\n\n//TODO make events conditional\nTokenizer.prototype.write = function(chunk) {\n if (this._ended) this._cbs.onerror(Error(\".write() after done!\"));\n\n this._buffer += chunk;\n this._parse();\n};\n\nTokenizer.prototype._parse = function() {\n while (this._index < this._buffer.length && this._running) {\n var c = this._buffer.charAt(this._index);\n if (this._state === TEXT) {\n this._stateText(c);\n } else if (this._state === BEFORE_TAG_NAME) {\n this._stateBeforeTagName(c);\n } else if (this._state === IN_TAG_NAME) {\n this._stateInTagName(c);\n } else if (this._state === BEFORE_CLOSING_TAG_NAME) {\n this._stateBeforeCloseingTagName(c);\n } else if (this._state === IN_CLOSING_TAG_NAME) {\n this._stateInCloseingTagName(c);\n } else if (this._state === AFTER_CLOSING_TAG_NAME) {\n this._stateAfterCloseingTagName(c);\n } else if (this._state === IN_SELF_CLOSING_TAG) {\n this._stateInSelfClosingTag(c);\n } else if (this._state === BEFORE_ATTRIBUTE_NAME) {\n\n /*\n\t\t*\tattributes\n\t\t*/\n this._stateBeforeAttributeName(c);\n } else if (this._state === IN_ATTRIBUTE_NAME) {\n this._stateInAttributeName(c);\n } else if (this._state === AFTER_ATTRIBUTE_NAME) {\n this._stateAfterAttributeName(c);\n } else if (this._state === BEFORE_ATTRIBUTE_VALUE) {\n this._stateBeforeAttributeValue(c);\n } else if (this._state === IN_ATTRIBUTE_VALUE_DQ) {\n this._stateInAttributeValueDoubleQuotes(c);\n } else if (this._state === IN_ATTRIBUTE_VALUE_SQ) {\n this._stateInAttributeValueSingleQuotes(c);\n } else if (this._state === IN_ATTRIBUTE_VALUE_NQ) {\n this._stateInAttributeValueNoQuotes(c);\n } else if (this._state === BEFORE_DECLARATION) {\n\n /*\n\t\t*\tdeclarations\n\t\t*/\n this._stateBeforeDeclaration(c);\n } else if (this._state === IN_DECLARATION) {\n this._stateInDeclaration(c);\n } else if (this._state === IN_PROCESSING_INSTRUCTION) {\n\n /*\n\t\t*\tprocessing instructions\n\t\t*/\n this._stateInProcessingInstruction(c);\n } else if (this._state === BEFORE_COMMENT) {\n\n /*\n\t\t*\tcomments\n\t\t*/\n this._stateBeforeComment(c);\n } else if (this._state === IN_COMMENT) {\n this._stateInComment(c);\n } else if (this._state === AFTER_COMMENT_1) {\n this._stateAfterComment1(c);\n } else if (this._state === AFTER_COMMENT_2) {\n this._stateAfterComment2(c);\n } else if (this._state === BEFORE_CDATA_1) {\n\n /*\n\t\t*\tcdata\n\t\t*/\n this._stateBeforeCdata1(c);\n } else if (this._state === BEFORE_CDATA_2) {\n this._stateBeforeCdata2(c);\n } else if (this._state === BEFORE_CDATA_3) {\n this._stateBeforeCdata3(c);\n } else if (this._state === BEFORE_CDATA_4) {\n this._stateBeforeCdata4(c);\n } else if (this._state === BEFORE_CDATA_5) {\n this._stateBeforeCdata5(c);\n } else if (this._state === BEFORE_CDATA_6) {\n this._stateBeforeCdata6(c);\n } else if (this._state === IN_CDATA) {\n this._stateInCdata(c);\n } else if (this._state === AFTER_CDATA_1) {\n this._stateAfterCdata1(c);\n } else if (this._state === AFTER_CDATA_2) {\n this._stateAfterCdata2(c);\n } else if (this._state === BEFORE_SPECIAL) {\n\n /*\n\t\t* special tags\n\t\t*/\n this._stateBeforeSpecial(c);\n } else if (this._state === BEFORE_SPECIAL_END) {\n this._stateBeforeSpecialEnd(c);\n } else if (this._state === BEFORE_SCRIPT_1) {\n\n /*\n\t\t* script\n\t\t*/\n this._stateBeforeScript1(c);\n } else if (this._state === BEFORE_SCRIPT_2) {\n this._stateBeforeScript2(c);\n } else if (this._state === BEFORE_SCRIPT_3) {\n this._stateBeforeScript3(c);\n } else if (this._state === BEFORE_SCRIPT_4) {\n this._stateBeforeScript4(c);\n } else if (this._state === BEFORE_SCRIPT_5) {\n this._stateBeforeScript5(c);\n } else if (this._state === AFTER_SCRIPT_1) {\n this._stateAfterScript1(c);\n } else if (this._state === AFTER_SCRIPT_2) {\n this._stateAfterScript2(c);\n } else if (this._state === AFTER_SCRIPT_3) {\n this._stateAfterScript3(c);\n } else if (this._state === AFTER_SCRIPT_4) {\n this._stateAfterScript4(c);\n } else if (this._state === AFTER_SCRIPT_5) {\n this._stateAfterScript5(c);\n } else if (this._state === BEFORE_STYLE_1) {\n\n /*\n\t\t* style\n\t\t*/\n this._stateBeforeStyle1(c);\n } else if (this._state === BEFORE_STYLE_2) {\n this._stateBeforeStyle2(c);\n } else if (this._state === BEFORE_STYLE_3) {\n this._stateBeforeStyle3(c);\n } else if (this._state === BEFORE_STYLE_4) {\n this._stateBeforeStyle4(c);\n } else if (this._state === AFTER_STYLE_1) {\n this._stateAfterStyle1(c);\n } else if (this._state === AFTER_STYLE_2) {\n this._stateAfterStyle2(c);\n } else if (this._state === AFTER_STYLE_3) {\n this._stateAfterStyle3(c);\n } else if (this._state === AFTER_STYLE_4) {\n this._stateAfterStyle4(c);\n } else if (this._state === BEFORE_ENTITY) {\n\n /*\n\t\t* entities\n\t\t*/\n this._stateBeforeEntity(c);\n } else if (this._state === BEFORE_NUMERIC_ENTITY) {\n this._stateBeforeNumericEntity(c);\n } else if (this._state === IN_NAMED_ENTITY) {\n this._stateInNamedEntity(c);\n } else if (this._state === IN_NUMERIC_ENTITY) {\n this._stateInNumericEntity(c);\n } else if (this._state === IN_HEX_ENTITY) {\n this._stateInHexEntity(c);\n } else {\n this._cbs.onerror(Error(\"unknown _state\"), this._state);\n }\n\n this._index++;\n }\n\n this._cleanup();\n};\n\nTokenizer.prototype.pause = function() {\n this._running = false;\n};\nTokenizer.prototype.resume = function() {\n this._running = true;\n\n if (this._index < this._buffer.length) {\n this._parse();\n }\n if (this._ended) {\n this._finish();\n }\n};\n\nTokenizer.prototype.end = function(chunk) {\n if (this._ended) this._cbs.onerror(Error(\".end() after done!\"));\n if (chunk) this.write(chunk);\n\n this._ended = true;\n\n if (this._running) this._finish();\n};\n\nTokenizer.prototype._finish = function() {\n //if there is remaining data, emit it in a reasonable way\n if (this._sectionStart < this._index) {\n this._handleTrailingData();\n }\n\n this._cbs.onend();\n};\n\nTokenizer.prototype._handleTrailingData = function() {\n var data = this._buffer.substr(this._sectionStart);\n\n if (\n this._state === IN_CDATA ||\n this._state === AFTER_CDATA_1 ||\n this._state === AFTER_CDATA_2\n ) {\n this._cbs.oncdata(data);\n } else if (\n this._state === IN_COMMENT ||\n this._state === AFTER_COMMENT_1 ||\n this._state === AFTER_COMMENT_2\n ) {\n this._cbs.oncomment(data);\n } else if (this._state === IN_NAMED_ENTITY && !this._xmlMode) {\n this._parseLegacyEntity();\n if (this._sectionStart < this._index) {\n this._state = this._baseState;\n this._handleTrailingData();\n }\n } else if (this._state === IN_NUMERIC_ENTITY && !this._xmlMode) {\n this._decodeNumericEntity(2, 10);\n if (this._sectionStart < this._index) {\n this._state = this._baseState;\n this._handleTrailingData();\n }\n } else if (this._state === IN_HEX_ENTITY && !this._xmlMode) {\n this._decodeNumericEntity(3, 16);\n if (this._sectionStart < this._index) {\n this._state = this._baseState;\n this._handleTrailingData();\n }\n } else if (\n this._state !== IN_TAG_NAME &&\n this._state !== BEFORE_ATTRIBUTE_NAME &&\n this._state !== BEFORE_ATTRIBUTE_VALUE &&\n this._state !== AFTER_ATTRIBUTE_NAME &&\n this._state !== IN_ATTRIBUTE_NAME &&\n this._state !== IN_ATTRIBUTE_VALUE_SQ &&\n this._state !== IN_ATTRIBUTE_VALUE_DQ &&\n this._state !== IN_ATTRIBUTE_VALUE_NQ &&\n this._state !== IN_CLOSING_TAG_NAME\n ) {\n this._cbs.ontext(data);\n }\n //else, ignore remaining data\n //TODO add a way to remove current tag\n};\n\nTokenizer.prototype.reset = function() {\n Tokenizer.call(\n this,\n { xmlMode: this._xmlMode, decodeEntities: this._decodeEntities },\n this._cbs\n );\n};\n\nTokenizer.prototype.getAbsoluteIndex = function() {\n return this._bufferOffset + this._index;\n};\n\nTokenizer.prototype._getSection = function() {\n return this._buffer.substring(this._sectionStart, this._index);\n};\n\nTokenizer.prototype._emitToken = function(name) {\n this._cbs[name](this._getSection());\n this._sectionStart = -1;\n};\n\nTokenizer.prototype._emitPartial = function(value) {\n if (this._baseState !== TEXT) {\n this._cbs.onattribdata(value); //TODO implement the new event\n } else {\n this._cbs.ontext(value);\n }\n};\n","if (typeof Object.create === 'function') {\n // implementation from standard node.js 'util' module\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n ctor.prototype = Object.create(superCtor.prototype, {\n constructor: {\n value: ctor,\n enumerable: false,\n writable: true,\n configurable: true\n }\n })\n }\n };\n} else {\n // old school shim for old browsers\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n var TempCtor = function () {}\n TempCtor.prototype = superCtor.prototype\n ctor.prototype = new TempCtor()\n ctor.prototype.constructor = ctor\n }\n }\n}\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nvar R = typeof Reflect === 'object' ? Reflect : null\nvar ReflectApply = R && typeof R.apply === 'function'\n ? R.apply\n : function ReflectApply(target, receiver, args) {\n return Function.prototype.apply.call(target, receiver, args);\n }\n\nvar ReflectOwnKeys\nif (R && typeof R.ownKeys === 'function') {\n ReflectOwnKeys = R.ownKeys\n} else if (Object.getOwnPropertySymbols) {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target)\n .concat(Object.getOwnPropertySymbols(target));\n };\n} else {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target);\n };\n}\n\nfunction ProcessEmitWarning(warning) {\n if (console && console.warn) console.warn(warning);\n}\n\nvar NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {\n return value !== value;\n}\n\nfunction EventEmitter() {\n EventEmitter.init.call(this);\n}\nmodule.exports = EventEmitter;\nmodule.exports.once = once;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._eventsCount = 0;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nvar defaultMaxListeners = 10;\n\nfunction checkListener(listener) {\n if (typeof listener !== 'function') {\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n }\n}\n\nObject.defineProperty(EventEmitter, 'defaultMaxListeners', {\n enumerable: true,\n get: function() {\n return defaultMaxListeners;\n },\n set: function(arg) {\n if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {\n throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received ' + arg + '.');\n }\n defaultMaxListeners = arg;\n }\n});\n\nEventEmitter.init = function() {\n\n if (this._events === undefined ||\n this._events === Object.getPrototypeOf(this)._events) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n }\n\n this._maxListeners = this._maxListeners || undefined;\n};\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\n if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {\n throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received ' + n + '.');\n }\n this._maxListeners = n;\n return this;\n};\n\nfunction _getMaxListeners(that) {\n if (that._maxListeners === undefined)\n return EventEmitter.defaultMaxListeners;\n return that._maxListeners;\n}\n\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\n return _getMaxListeners(this);\n};\n\nEventEmitter.prototype.emit = function emit(type) {\n var args = [];\n for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);\n var doError = (type === 'error');\n\n var events = this._events;\n if (events !== undefined)\n doError = (doError && events.error === undefined);\n else if (!doError)\n return false;\n\n // If there is no 'error' event listener then throw.\n if (doError) {\n var er;\n if (args.length > 0)\n er = args[0];\n if (er instanceof Error) {\n // Note: The comments on the `throw` lines are intentional, they show\n // up in Node's output if this results in an unhandled exception.\n throw er; // Unhandled 'error' event\n }\n // At least give some kind of context to the user\n var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));\n err.context = er;\n throw err; // Unhandled 'error' event\n }\n\n var handler = events[type];\n\n if (handler === undefined)\n return false;\n\n if (typeof handler === 'function') {\n ReflectApply(handler, this, args);\n } else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n ReflectApply(listeners[i], this, args);\n }\n\n return true;\n};\n\nfunction _addListener(target, type, listener, prepend) {\n var m;\n var events;\n var existing;\n\n checkListener(listener);\n\n events = target._events;\n if (events === undefined) {\n events = target._events = Object.create(null);\n target._eventsCount = 0;\n } else {\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (events.newListener !== undefined) {\n target.emit('newListener', type,\n listener.listener ? listener.listener : listener);\n\n // Re-assign `events` because a newListener handler could have caused the\n // this._events to be assigned to a new object\n events = target._events;\n }\n existing = events[type];\n }\n\n if (existing === undefined) {\n // Optimize the case of one listener. Don't need the extra array object.\n existing = events[type] = listener;\n ++target._eventsCount;\n } else {\n if (typeof existing === 'function') {\n // Adding the second element, need to change to array.\n existing = events[type] =\n prepend ? [listener, existing] : [existing, listener];\n // If we've already got an array, just append.\n } else if (prepend) {\n existing.unshift(listener);\n } else {\n existing.push(listener);\n }\n\n // Check for listener leak\n m = _getMaxListeners(target);\n if (m > 0 && existing.length > m && !existing.warned) {\n existing.warned = true;\n // No error code for this since it is a Warning\n // eslint-disable-next-line no-restricted-syntax\n var w = new Error('Possible EventEmitter memory leak detected. ' +\n existing.length + ' ' + String(type) + ' listeners ' +\n 'added. Use emitter.setMaxListeners() to ' +\n 'increase limit');\n w.name = 'MaxListenersExceededWarning';\n w.emitter = target;\n w.type = type;\n w.count = existing.length;\n ProcessEmitWarning(w);\n }\n }\n\n return target;\n}\n\nEventEmitter.prototype.addListener = function addListener(type, listener) {\n return _addListener(this, type, listener, false);\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.prependListener =\n function prependListener(type, listener) {\n return _addListener(this, type, listener, true);\n };\n\nfunction onceWrapper() {\n if (!this.fired) {\n this.target.removeListener(this.type, this.wrapFn);\n this.fired = true;\n if (arguments.length === 0)\n return this.listener.call(this.target);\n return this.listener.apply(this.target, arguments);\n }\n}\n\nfunction _onceWrap(target, type, listener) {\n var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };\n var wrapped = onceWrapper.bind(state);\n wrapped.listener = listener;\n state.wrapFn = wrapped;\n return wrapped;\n}\n\nEventEmitter.prototype.once = function once(type, listener) {\n checkListener(listener);\n this.on(type, _onceWrap(this, type, listener));\n return this;\n};\n\nEventEmitter.prototype.prependOnceListener =\n function prependOnceListener(type, listener) {\n checkListener(listener);\n this.prependListener(type, _onceWrap(this, type, listener));\n return this;\n };\n\n// Emits a 'removeListener' event if and only if the listener was removed.\nEventEmitter.prototype.removeListener =\n function removeListener(type, listener) {\n var list, events, position, i, originalListener;\n\n checkListener(listener);\n\n events = this._events;\n if (events === undefined)\n return this;\n\n list = events[type];\n if (list === undefined)\n return this;\n\n if (list === listener || list.listener === listener) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else {\n delete events[type];\n if (events.removeListener)\n this.emit('removeListener', type, list.listener || listener);\n }\n } else if (typeof list !== 'function') {\n position = -1;\n\n for (i = list.length - 1; i >= 0; i--) {\n if (list[i] === listener || list[i].listener === listener) {\n originalListener = list[i].listener;\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (position === 0)\n list.shift();\n else {\n spliceOne(list, position);\n }\n\n if (list.length === 1)\n events[type] = list[0];\n\n if (events.removeListener !== undefined)\n this.emit('removeListener', type, originalListener || listener);\n }\n\n return this;\n };\n\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\n\nEventEmitter.prototype.removeAllListeners =\n function removeAllListeners(type) {\n var listeners, events, i;\n\n events = this._events;\n if (events === undefined)\n return this;\n\n // not listening for removeListener, no need to emit\n if (events.removeListener === undefined) {\n if (arguments.length === 0) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n } else if (events[type] !== undefined) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else\n delete events[type];\n }\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n var keys = Object.keys(events);\n var key;\n for (i = 0; i < keys.length; ++i) {\n key = keys[i];\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = Object.create(null);\n this._eventsCount = 0;\n return this;\n }\n\n listeners = events[type];\n\n if (typeof listeners === 'function') {\n this.removeListener(type, listeners);\n } else if (listeners !== undefined) {\n // LIFO order\n for (i = listeners.length - 1; i >= 0; i--) {\n this.removeListener(type, listeners[i]);\n }\n }\n\n return this;\n };\n\nfunction _listeners(target, type, unwrap) {\n var events = target._events;\n\n if (events === undefined)\n return [];\n\n var evlistener = events[type];\n if (evlistener === undefined)\n return [];\n\n if (typeof evlistener === 'function')\n return unwrap ? [evlistener.listener || evlistener] : [evlistener];\n\n return unwrap ?\n unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);\n}\n\nEventEmitter.prototype.listeners = function listeners(type) {\n return _listeners(this, type, true);\n};\n\nEventEmitter.prototype.rawListeners = function rawListeners(type) {\n return _listeners(this, type, false);\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n if (typeof emitter.listenerCount === 'function') {\n return emitter.listenerCount(type);\n } else {\n return listenerCount.call(emitter, type);\n }\n};\n\nEventEmitter.prototype.listenerCount = listenerCount;\nfunction listenerCount(type) {\n var events = this._events;\n\n if (events !== undefined) {\n var evlistener = events[type];\n\n if (typeof evlistener === 'function') {\n return 1;\n } else if (evlistener !== undefined) {\n return evlistener.length;\n }\n }\n\n return 0;\n}\n\nEventEmitter.prototype.eventNames = function eventNames() {\n return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];\n};\n\nfunction arrayClone(arr, n) {\n var copy = new Array(n);\n for (var i = 0; i < n; ++i)\n copy[i] = arr[i];\n return copy;\n}\n\nfunction spliceOne(list, index) {\n for (; index + 1 < list.length; index++)\n list[index] = list[index + 1];\n list.pop();\n}\n\nfunction unwrapListeners(arr) {\n var ret = new Array(arr.length);\n for (var i = 0; i < ret.length; ++i) {\n ret[i] = arr[i].listener || arr[i];\n }\n return ret;\n}\n\nfunction once(emitter, name) {\n return new Promise(function (resolve, reject) {\n function errorListener(err) {\n emitter.removeListener(name, resolver);\n reject(err);\n }\n\n function resolver() {\n if (typeof emitter.removeListener === 'function') {\n emitter.removeListener('error', errorListener);\n }\n resolve([].slice.call(arguments));\n };\n\n eventTargetAgnosticAddListener(emitter, name, resolver, { once: true });\n if (name !== 'error') {\n addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });\n }\n });\n}\n\nfunction addErrorHandlerIfEventEmitter(emitter, handler, flags) {\n if (typeof emitter.on === 'function') {\n eventTargetAgnosticAddListener(emitter, 'error', handler, flags);\n }\n}\n\nfunction eventTargetAgnosticAddListener(emitter, name, listener, flags) {\n if (typeof emitter.on === 'function') {\n if (flags.once) {\n emitter.once(name, listener);\n } else {\n emitter.on(name, listener);\n }\n } else if (typeof emitter.addEventListener === 'function') {\n // EventTarget does not have `error` event semantics like Node\n // EventEmitters, we do not listen for `error` events here.\n emitter.addEventListener(name, function wrapListener(arg) {\n // IE does not have builtin `{ once: true }` support so we\n // have to do it manually.\n if (flags.once) {\n emitter.removeEventListener(name, wrapListener);\n }\n listener(arg);\n });\n } else {\n throw new TypeError('The \"emitter\" argument must be of type EventEmitter. Received type ' + typeof emitter);\n }\n}\n","var Tokenizer = require(\"./Tokenizer.js\");\n\n/*\n\tOptions:\n\n\txmlMode: Disables the special behavior for script/style tags (false by default)\n\tlowerCaseAttributeNames: call .toLowerCase for each attribute name (true if xmlMode is `false`)\n\tlowerCaseTags: call .toLowerCase for each tag name (true if xmlMode is `false`)\n*/\n\n/*\n\tCallbacks:\n\n\toncdataend,\n\toncdatastart,\n\tonclosetag,\n\toncomment,\n\toncommentend,\n\tonerror,\n\tonopentag,\n\tonprocessinginstruction,\n\tonreset,\n\tontext\n*/\n\nvar formTags = {\n input: true,\n option: true,\n optgroup: true,\n select: true,\n button: true,\n datalist: true,\n textarea: true\n};\n\nvar openImpliesClose = {\n tr: { tr: true, th: true, td: true },\n th: { th: true },\n td: { thead: true, th: true, td: true },\n body: { head: true, link: true, script: true },\n li: { li: true },\n p: { p: true },\n h1: { p: true },\n h2: { p: true },\n h3: { p: true },\n h4: { p: true },\n h5: { p: true },\n h6: { p: true },\n select: formTags,\n input: formTags,\n output: formTags,\n button: formTags,\n datalist: formTags,\n textarea: formTags,\n option: { option: true },\n optgroup: { optgroup: true }\n};\n\nvar voidElements = {\n __proto__: null,\n area: true,\n base: true,\n basefont: true,\n br: true,\n col: true,\n command: true,\n embed: true,\n frame: true,\n hr: true,\n img: true,\n input: true,\n isindex: true,\n keygen: true,\n link: true,\n meta: true,\n param: true,\n source: true,\n track: true,\n wbr: true\n};\n\nvar foreignContextElements = {\n __proto__: null,\n math: true,\n svg: true\n};\nvar htmlIntegrationElements = {\n __proto__: null,\n mi: true,\n mo: true,\n mn: true,\n ms: true,\n mtext: true,\n \"annotation-xml\": true,\n foreignObject: true,\n desc: true,\n title: true\n};\n\nvar re_nameEnd = /\\s|\\//;\n\nfunction Parser(cbs, options) {\n this._options = options || {};\n this._cbs = cbs || {};\n\n this._tagname = \"\";\n this._attribname = \"\";\n this._attribvalue = \"\";\n this._attribs = null;\n this._stack = [];\n this._foreignContext = [];\n\n this.startIndex = 0;\n this.endIndex = null;\n\n this._lowerCaseTagNames =\n \"lowerCaseTags\" in this._options\n ? !!this._options.lowerCaseTags\n : !this._options.xmlMode;\n this._lowerCaseAttributeNames =\n \"lowerCaseAttributeNames\" in this._options\n ? !!this._options.lowerCaseAttributeNames\n : !this._options.xmlMode;\n\n if (this._options.Tokenizer) {\n Tokenizer = this._options.Tokenizer;\n }\n this._tokenizer = new Tokenizer(this._options, this);\n\n if (this._cbs.onparserinit) this._cbs.onparserinit(this);\n}\n\nrequire(\"inherits\")(Parser, require(\"events\").EventEmitter);\n\nParser.prototype._updatePosition = function(initialOffset) {\n if (this.endIndex === null) {\n if (this._tokenizer._sectionStart <= initialOffset) {\n this.startIndex = 0;\n } else {\n this.startIndex = this._tokenizer._sectionStart - initialOffset;\n }\n } else this.startIndex = this.endIndex + 1;\n this.endIndex = this._tokenizer.getAbsoluteIndex();\n};\n\n//Tokenizer event handlers\nParser.prototype.ontext = function(data) {\n this._updatePosition(1);\n this.endIndex--;\n\n if (this._cbs.ontext) this._cbs.ontext(data);\n};\n\nParser.prototype.onopentagname = function(name) {\n if (this._lowerCaseTagNames) {\n name = name.toLowerCase();\n }\n\n this._tagname = name;\n\n if (!this._options.xmlMode && name in openImpliesClose) {\n for (\n var el;\n (el = this._stack[this._stack.length - 1]) in\n openImpliesClose[name];\n this.onclosetag(el)\n );\n }\n\n if (this._options.xmlMode || !(name in voidElements)) {\n this._stack.push(name);\n if (name in foreignContextElements) this._foreignContext.push(true);\n else if (name in htmlIntegrationElements)\n this._foreignContext.push(false);\n }\n\n if (this._cbs.onopentagname) this._cbs.onopentagname(name);\n if (this._cbs.onopentag) this._attribs = {};\n};\n\nParser.prototype.onopentagend = function() {\n this._updatePosition(1);\n\n if (this._attribs) {\n if (this._cbs.onopentag)\n this._cbs.onopentag(this._tagname, this._attribs);\n this._attribs = null;\n }\n\n if (\n !this._options.xmlMode &&\n this._cbs.onclosetag &&\n this._tagname in voidElements\n ) {\n this._cbs.onclosetag(this._tagname);\n }\n\n this._tagname = \"\";\n};\n\nParser.prototype.onclosetag = function(name) {\n this._updatePosition(1);\n\n if (this._lowerCaseTagNames) {\n name = name.toLowerCase();\n }\n \n if (name in foreignContextElements || name in htmlIntegrationElements) {\n this._foreignContext.pop();\n }\n\n if (\n this._stack.length &&\n (!(name in voidElements) || this._options.xmlMode)\n ) {\n var pos = this._stack.lastIndexOf(name);\n if (pos !== -1) {\n if (this._cbs.onclosetag) {\n pos = this._stack.length - pos;\n while (pos--) this._cbs.onclosetag(this._stack.pop());\n } else this._stack.length = pos;\n } else if (name === \"p\" && !this._options.xmlMode) {\n this.onopentagname(name);\n this._closeCurrentTag();\n }\n } else if (!this._options.xmlMode && (name === \"br\" || name === \"p\")) {\n this.onopentagname(name);\n this._closeCurrentTag();\n }\n};\n\nParser.prototype.onselfclosingtag = function() {\n if (\n this._options.xmlMode ||\n this._options.recognizeSelfClosing ||\n this._foreignContext[this._foreignContext.length - 1]\n ) {\n this._closeCurrentTag();\n } else {\n this.onopentagend();\n }\n};\n\nParser.prototype._closeCurrentTag = function() {\n var name = this._tagname;\n\n this.onopentagend();\n\n //self-closing tags will be on the top of the stack\n //(cheaper check than in onclosetag)\n if (this._stack[this._stack.length - 1] === name) {\n if (this._cbs.onclosetag) {\n this._cbs.onclosetag(name);\n }\n this._stack.pop();\n \n }\n};\n\nParser.prototype.onattribname = function(name) {\n if (this._lowerCaseAttributeNames) {\n name = name.toLowerCase();\n }\n this._attribname = name;\n};\n\nParser.prototype.onattribdata = function(value) {\n this._attribvalue += value;\n};\n\nParser.prototype.onattribend = function() {\n if (this._cbs.onattribute)\n this._cbs.onattribute(this._attribname, this._attribvalue);\n if (\n this._attribs &&\n !Object.prototype.hasOwnProperty.call(this._attribs, this._attribname)\n ) {\n this._attribs[this._attribname] = this._attribvalue;\n }\n this._attribname = \"\";\n this._attribvalue = \"\";\n};\n\nParser.prototype._getInstructionName = function(value) {\n var idx = value.search(re_nameEnd),\n name = idx < 0 ? value : value.substr(0, idx);\n\n if (this._lowerCaseTagNames) {\n name = name.toLowerCase();\n }\n\n return name;\n};\n\nParser.prototype.ondeclaration = function(value) {\n if (this._cbs.onprocessinginstruction) {\n var name = this._getInstructionName(value);\n this._cbs.onprocessinginstruction(\"!\" + name, \"!\" + value);\n }\n};\n\nParser.prototype.onprocessinginstruction = function(value) {\n if (this._cbs.onprocessinginstruction) {\n var name = this._getInstructionName(value);\n this._cbs.onprocessinginstruction(\"?\" + name, \"?\" + value);\n }\n};\n\nParser.prototype.oncomment = function(value) {\n this._updatePosition(4);\n\n if (this._cbs.oncomment) this._cbs.oncomment(value);\n if (this._cbs.oncommentend) this._cbs.oncommentend();\n};\n\nParser.prototype.oncdata = function(value) {\n this._updatePosition(1);\n\n if (this._options.xmlMode || this._options.recognizeCDATA) {\n if (this._cbs.oncdatastart) this._cbs.oncdatastart();\n if (this._cbs.ontext) this._cbs.ontext(value);\n if (this._cbs.oncdataend) this._cbs.oncdataend();\n } else {\n this.oncomment(\"[CDATA[\" + value + \"]]\");\n }\n};\n\nParser.prototype.onerror = function(err) {\n if (this._cbs.onerror) this._cbs.onerror(err);\n};\n\nParser.prototype.onend = function() {\n if (this._cbs.onclosetag) {\n for (\n var i = this._stack.length;\n i > 0;\n this._cbs.onclosetag(this._stack[--i])\n );\n }\n if (this._cbs.onend) this._cbs.onend();\n};\n\n//Resets the parser to a blank state, ready to parse a new HTML document\nParser.prototype.reset = function() {\n if (this._cbs.onreset) this._cbs.onreset();\n this._tokenizer.reset();\n\n this._tagname = \"\";\n this._attribname = \"\";\n this._attribs = null;\n this._stack = [];\n\n if (this._cbs.onparserinit) this._cbs.onparserinit(this);\n};\n\n//Parses a complete HTML document and pushes it to the handler\nParser.prototype.parseComplete = function(data) {\n this.reset();\n this.end(data);\n};\n\nParser.prototype.write = function(chunk) {\n this._tokenizer.write(chunk);\n};\n\nParser.prototype.end = function(chunk) {\n this._tokenizer.end(chunk);\n};\n\nParser.prototype.pause = function() {\n this._tokenizer.pause();\n};\n\nParser.prototype.resume = function() {\n this._tokenizer.resume();\n};\n\n//alias for backwards compat\nParser.prototype.parseChunk = Parser.prototype.write;\nParser.prototype.done = Parser.prototype.end;\n\nmodule.exports = Parser;\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = _default;\n\nvar _Parser = _interopRequireDefault(require(\"htmlparser2/lib/Parser\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _default(incrementalDom) {\n const autoClosingStack = [];\n\n const autoClosing = () => {\n const stack = autoClosingStack.shift();\n if (!stack) return;\n stack.reverse().forEach(tag => incrementalDom.elementClose(tag));\n };\n\n const {\n attr,\n elementOpenEnd,\n elementVoid,\n text\n } = incrementalDom;\n\n const elementOpen = (tag, ...args) => {\n if (autoClosingStack.length > 0) autoClosingStack[0].push(tag);\n incrementalDom.elementOpen(tag, ...args);\n };\n\n const elementOpenStart = tag => {\n if (autoClosingStack.length > 0) autoClosingStack[0].push(tag);\n incrementalDom.elementOpenStart(tag);\n };\n\n const elementClose = tag => {\n if (autoClosingStack.length > 0) autoClosingStack[0].pop();\n incrementalDom.elementClose(tag);\n };\n\n const sanitizeName = name => name.replace(/[^-:\\w]/g, '');\n\n const iDOMParser = new _Parser.default({\n onopentag: name => elementOpenEnd(sanitizeName(name)),\n onopentagname: name => elementOpenStart(sanitizeName(name)),\n onattribute: (name, value) => {\n const sanitizedName = sanitizeName(name);\n if (sanitizedName !== '') attr(sanitizedName, value);\n },\n ontext: text,\n onclosetag: name => elementClose(sanitizeName(name))\n }, {\n decodeEntities: true,\n lowerCaseAttributeNames: false,\n lowerCaseTags: false\n });\n\n const wrapIncrementalDOM = html => typeof html === 'function' ? html() : iDOMParser.write(html);\n\n return {\n renderAttrsToArray(token) {\n if (!token.attrs) return [];\n return token.attrs.reduce((v, a) => v.concat(a), []);\n },\n\n renderInline(tokens, options, env) {\n return () => {\n autoClosingStack.unshift([]);\n tokens.forEach((current, i) => {\n const {\n type\n } = current;\n\n if (this.rules[type] !== undefined) {\n wrapIncrementalDOM(this.rules[type](tokens, i, options, env, this));\n } else {\n this.renderToken(tokens, i, options)();\n }\n });\n autoClosing();\n };\n },\n\n renderToken(tokens, idx) {\n return () => {\n const token = tokens[idx];\n if (token.hidden) return;\n\n if (token.nesting === -1) {\n elementClose(token.tag);\n } else {\n const func = token.nesting === 0 ? elementVoid : elementOpen;\n func.apply(this, [token.tag, '', []].concat(this.renderAttrsToArray(token)));\n }\n };\n },\n\n render(tokens, options, env) {\n return () => {\n autoClosingStack.unshift([]);\n tokens.forEach((current, i) => {\n const {\n type\n } = current;\n\n if (type === 'inline') {\n this.renderInline(current.children, options, env)();\n } else if (this.rules[type] !== undefined) {\n wrapIncrementalDOM(this.rules[type](tokens, i, options, env, this));\n } else {\n this.renderToken(tokens, i, options, env)();\n }\n });\n autoClosing();\n iDOMParser.reset();\n };\n }\n\n };\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = _default;\n\nfunction _default(incrementalDom) {\n const {\n elementClose,\n elementOpen,\n elementVoid,\n text\n } = incrementalDom;\n return {\n code_inline(tokens, idx, options, env, slf) {\n return () => {\n elementOpen.apply(this, ['code', '', []].concat(slf.renderAttrsToArray(tokens[idx])));\n text(tokens[idx].content);\n elementClose('code');\n };\n },\n\n code_block(tokens, idx, options, env, slf) {\n return () => {\n elementOpen.apply(this, ['pre', '', []].concat(slf.renderAttrsToArray(tokens[idx])));\n elementOpen('code');\n text(tokens[idx].content);\n elementClose('code');\n elementClose('pre');\n };\n },\n\n hardbreak() {\n return () => elementVoid('br');\n },\n\n softbreak(tokens, idx, options) {\n return () => options.breaks ? elementVoid('br') : text('\\n');\n },\n\n text(tokens, idx) {\n return () => text(tokens[idx].content);\n }\n\n };\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = _default;\n\nvar _renderer = _interopRequireDefault(require(\"./mixins/renderer\"));\n\nvar _rules = _interopRequireDefault(require(\"./mixins/rules\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _default(md, target, opts = {}) {\n const options = _objectSpread({\n incrementalizeDefaultRules: true\n }, opts);\n\n const incrementalDOM = !target && window ? window.IncrementalDOM : target;\n const mixin = (0, _renderer.default)(incrementalDOM);\n Object.defineProperty(md, 'IncrementalDOMRenderer', {\n get() {\n const extended = Object.assign(Object.create(Object.getPrototypeOf(md.renderer)), md.renderer, mixin);\n\n if (options.incrementalizeDefaultRules) {\n extended.rules = _objectSpread({}, extended.rules, (0, _rules.default)(incrementalDOM));\n }\n\n return extended;\n }\n\n });\n\n md.renderToIncrementalDOM = (src, env = {}) => md.IncrementalDOMRenderer.render(md.parse(src, env), md.options, env);\n\n md.renderInlineToIncrementalDOM = (src, env = {}) => md.IncrementalDOMRenderer.render(md.parseInline(src, env), md.options, env);\n}","// Sanitizer\n\n'use strict';\n\nmodule.exports = function sanitizer_plugin(md, options) {\n\n var linkify = md.linkify,\n escapeHtml = md.utils.escapeHtml,\n // \n patternLinkOpen = ']*href=\"[^\"<>]*\"[^<>]*)\\\\s?>',\n regexpLinkOpen = RegExp(patternLinkOpen, 'i'),\n // \"\"(optional)\n patternImage = ']*src=\"[^\"<>]*\"[^<>]*)\\\\s?\\\\/?>',\n regexpImage = RegExp(patternImage, 'i'),\n regexpImageProtocols = /^(?:https?:)?\\/\\//i,\n regexpLinkProtocols = /^(?:https?:\\/\\/|ftp:\\/\\/|\\/\\/|mailto:|xmpp:)/i;\n\n options = options ? options : {};\n var removeUnknown = (typeof options.removeUnknown !== 'undefined') ? options.removeUnknown : false;\n var removeUnbalanced = (typeof options.removeUnbalanced !== 'undefined') ? options.removeUnbalanced : false;\n var imageClass = (typeof options.imageClass !== 'undefined') ? options.imageClass : '';\n var runBalancer = false;\n var j;\n\n\n var allowedTags = [ 'a', 'b', 'blockquote', 'code', 'em', 'h1', 'h2', 'h3', 'h4', 'h5',\n 'h6', 'li', 'ol', 'p', 'pre', 's', 'sub', 'sup', 'strong', 'ul' ];\n var openTagCount = new Array(allowedTags.length);\n var removeTag = new Array(allowedTags.length);\n for (j = 0; j < allowedTags.length; j++) { openTagCount[j] = 0; }\n for (j = 0; j < allowedTags.length; j++) { removeTag[j] = false; }\n\n function getUrl(link) {\n var match = linkify.match(link);\n if (match && match.length === 1 && match[0].index === 0 && match[0].lastIndex === link.length) {\n return match[0].url;\n }\n return null;\n }\n\n /////////////////////////////////////////////////////////////////////////////////////////////////\n // REPLACE UNKNOWN TAGS\n /////////////////////////////////////////////////////////////////////////////////////////////////\n\n function replaceUnknownTags(str) {\n /*\n * it starts with '<' and maybe ends with '>',\n * maybe has a '<' on the right\n * it doesnt have '<' or '>' in between\n * -> it's a tag!\n */\n str = str.replace(/<[^<>]*>?/gi, function (tag) {\n var match, attrs, url, alt, title, tagnameIndex;\n\n // '<->', '<- ' and '<3 ' look nice, they are harmless\n if (/(^<->|^<-\\s|^<3\\s)/.test(tag)) { return tag; }\n\n // images\n match = tag.match(regexpImage);\n if (match) {\n attrs = match[1];\n url = getUrl(attrs.match(/src=\"([^\"<>]*)\"/i)[1]);\n alt = attrs.match(/alt=\"([^\"<>]*)\"/i);\n alt = (alt && typeof alt[1] !== 'undefined') ? alt[1] : '';\n title = attrs.match(/title=\"([^\"<>]*)\"/i);\n title = (title && typeof title[1] !== 'undefined') ? title[1] : '';\n\n // only http and https are allowed for images\n if (url && regexpImageProtocols.test(url)) {\n if (imageClass !== '') {\n return '\"'';\n }\n return '\"'';\n }\n }\n\n // links\n tagnameIndex = allowedTags.indexOf('a');\n match = tag.match(regexpLinkOpen);\n if (match) {\n attrs = match[1];\n url = getUrl(attrs.match(/href=\"([^\"<>]*)\"/i)[1]);\n title = attrs.match(/title=\"([^\"<>]*)\"/i);\n title = (title && typeof title[1] !== 'undefined') ? title[1] : '';\n // only http, https, ftp, mailto and xmpp are allowed for links\n if (url && regexpLinkProtocols.test(url)) {\n runBalancer = true;\n openTagCount[tagnameIndex] += 1;\n return '';\n }\n }\n match = /<\\/a>/i.test(tag);\n if (match) {\n runBalancer = true;\n openTagCount[tagnameIndex] -= 1;\n if (openTagCount[tagnameIndex] < 0) {\n removeTag[tagnameIndex] = true;\n }\n return '';\n }\n\n // standalone tags\n match = tag.match(/<(br|hr)\\s?\\/?>/i);\n if (match) {\n return '<' + match[1].toLowerCase() + '>';\n }\n\n // whitelisted tags\n match = tag.match(/<(\\/?)(b|blockquote|code|em|h[1-6]|li|ol(?: start=\"\\d+\")?|p|pre|s|sub|sup|strong|ul)>/i);\n if (match && !/<\\/ol start=\"\\d+\"/i.test(tag)) {\n runBalancer = true;\n tagnameIndex = allowedTags.indexOf(match[2].toLowerCase().split(' ')[0]);\n if (match[1] === '/') {\n openTagCount[tagnameIndex] -= 1;\n } else {\n openTagCount[tagnameIndex] += 1;\n }\n if (openTagCount[tagnameIndex] < 0) {\n removeTag[tagnameIndex] = true;\n }\n return '<' + match[1] + match[2].toLowerCase() + '>';\n }\n\n // other tags we don't recognize\n if (removeUnknown === true) {\n return '';\n }\n return escapeHtml(tag);\n });\n\n return str;\n }\n\n\n function sanitizeInlineAndBlock(state) {\n var i, blkIdx, inlineTokens;\n // reset counts\n for (j = 0; j < allowedTags.length; j++) { openTagCount[j] = 0; }\n for (j = 0; j < allowedTags.length; j++) { removeTag[j] = false; }\n runBalancer = false;\n\n\n for (blkIdx = 0; blkIdx < state.tokens.length; blkIdx++) {\n if (state.tokens[blkIdx].type === 'html_block') {\n state.tokens[blkIdx].content = replaceUnknownTags(state.tokens[blkIdx].content);\n }\n if (state.tokens[blkIdx].type !== 'inline') {\n continue;\n }\n\n inlineTokens = state.tokens[blkIdx].children;\n for (i = 0; i < inlineTokens.length; i++) {\n if (inlineTokens[i].type === 'html_inline') {\n inlineTokens[i].content = replaceUnknownTags(inlineTokens[i].content);\n }\n }\n }\n }\n\n /////////////////////////////////////////////////////////////////////////////////////////////////\n // REPLACE UNBALANCED TAGS\n /////////////////////////////////////////////////////////////////////////////////////////////////\n\n function balance(state) {\n if (runBalancer === false) { return; }\n var blkIdx, inlineTokens;\n\n function replaceUnbalancedTag(str, tagname) {\n var openingRegexp, closingRegexp;\n if (tagname === 'a') {\n openingRegexp = RegExp(']*\" title=\"[^\"<>]*\" target=\"_blank\">', 'g');\n } else if (tagname === 'ol') {\n openingRegexp = //g;\n } else {\n openingRegexp = RegExp('<' + tagname + '>', 'g');\n }\n closingRegexp = RegExp('', 'g');\n if (removeUnbalanced === true) {\n str = str.replace(openingRegexp, '');\n str = str.replace(closingRegexp, '');\n } else {\n str = str.replace(openingRegexp, function (m) { return escapeHtml(m); });\n str = str.replace(closingRegexp, function (m) { return escapeHtml(m); });\n }\n return str;\n }\n\n function replaceAllUnbalancedTags(str) {\n var i;\n for (i = 0; i < allowedTags.length; i++) {\n if (removeTag[i] === true) {\n str = replaceUnbalancedTag(str, allowedTags[i]);\n }\n }\n return str;\n }\n\n for (j = 0; j < allowedTags.length; j++) {\n if (openTagCount[j] !== 0) {\n removeTag[j] = true;\n }\n }\n\n // replace unbalanced tags\n for (blkIdx = 0; blkIdx < state.tokens.length; blkIdx++) {\n if (state.tokens[blkIdx].type === 'html_block') {\n state.tokens[blkIdx].content = replaceAllUnbalancedTags(state.tokens[blkIdx].content);\n continue;\n }\n if (state.tokens[blkIdx].type !== 'inline') {\n continue;\n }\n inlineTokens = state.tokens[blkIdx].children;\n for (j = 0; j < inlineTokens.length; j++) {\n if (inlineTokens[j].type === 'html_inline') {\n inlineTokens[j].content = replaceAllUnbalancedTags(inlineTokens[j].content);\n }\n }\n }\n }\n\n md.core.ruler.after('linkify', 'sanitize_inline', sanitizeInlineAndBlock);\n md.core.ruler.after('sanitize_inline', 'sanitize_balance', balance);\n};\n","\n/**\n * @preserve\n * Copyright 2015 The Incremental DOM Authors. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0.\n */\n\n'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nconst __assign = Object.assign || function (target) {\r\n for (var source, i = 1; i < arguments.length; i++) {\r\n source = arguments[i];\r\n for (var prop in source) {\r\n if (Object.prototype.hasOwnProperty.call(source, prop)) {\r\n target[prop] = source[prop];\r\n }\r\n }\r\n }\r\n return target;\r\n};\r\n\r\nfunction __extends(d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nfunction __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nfunction __metadata(k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n}\r\n\r\nfunction __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator.throw(value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments)).next());\r\n });\r\n}\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar symbols = {\n default: '__default'\n};\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * A cached reference to the hasOwnProperty function.\n */\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n/**\n * A constructor function that will create blank objects.\n */\nfunction Blank() {}\nBlank.prototype = Object.create(null);\n/**\n * Used to prevent property collisions between our \"map\" and its prototype.\n * @param map The map to check.\n * @param property The property to check.\n * @return Whether map has property.\n */\nfunction has(map, property) {\n return hasOwnProperty.call(map, property);\n}\n/**\n * Creates an map object without a prototype.\n */\n// tslint:disable-next-line:no-any\nfunction createMap() {\n // tslint:disable-next-line:no-any\n return new Blank();\n}\n/**\n * Truncates an array, removing items up until length.\n * @param arr The array to truncate.\n * @param length The new length of the array.\n */\nfunction truncateArray(arr, length) {\n while (arr.length > length) {\n arr.pop();\n }\n}\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * Returns the namespace to use for the attribute.\n */\nfunction getNamespace(name) {\n if (name.lastIndexOf('xml:', 0) === 0) {\n return 'http://www.w3.org/XML/1998/namespace';\n }\n if (name.lastIndexOf('xlink:', 0) === 0) {\n return 'http://www.w3.org/1999/xlink';\n }\n return undefined;\n}\n/**\n * Applies an attribute or property to a given Element. If the value is null\n * or undefined, it is removed from the Element. Otherwise, the value is set\n * as an attribute.\n */\n// tslint:disable-next-line:no-any\nfunction applyAttr(el, name, value) {\n if (value == null) {\n el.removeAttribute(name);\n } else {\n var attrNS = getNamespace(name);\n if (attrNS) {\n el.setAttributeNS(attrNS, name, String(value));\n } else {\n el.setAttribute(name, String(value));\n }\n }\n}\n/**\n * Applies a property to a given Element.\n */\n// tslint:disable-next-line:no-any\nfunction applyProp(el, name, value) {\n // tslint:disable-next-line:no-any\n el[name] = value;\n}\n/**\n * Applies a value to a style declaration. Supports CSS custom properties by\n * setting properties containing a dash using CSSStyleDeclaration.setProperty.\n */\nfunction setStyleValue(style, prop, value) {\n if (prop.indexOf('-') >= 0) {\n style.setProperty(prop, value);\n } else {\n // TODO(tomnguyen) Figure out why this is necessary.\n // tslint:disable-next-line:no-any\n style[prop] = value;\n }\n}\n/**\n * Applies a style to an Element. No vendor prefix expansion is done for\n * property names/values.\n * @param el\n * @param name The attribute's name.\n * @param style The style to set. Either a string of css or an object\n * containing property-value pairs.\n */\nfunction applyStyle(el, name, style) {\n if (typeof style === 'string') {\n el.style.cssText = style;\n } else {\n el.style.cssText = '';\n var elStyle = el.style;\n for (var prop in style) {\n if (has(style, prop)) {\n setStyleValue(elStyle, prop, style[prop]);\n }\n }\n }\n}\n/**\n * Updates a single attribute on an Element.\n * @param el\n * @param name The attribute's name.\n * @param value The attribute's value. If the value is an object or\n * function it is set on the Element, otherwise, it is set as an HTML\n * attribute.\n */\nfunction applyAttributeTyped(el, name, value) {\n var type = typeof value;\n if (type === 'object' || type === 'function') {\n applyProp(el, name, value);\n } else {\n applyAttr(el, name, value);\n }\n}\n/**\n * A publicly mutable object to provide custom mutators for attributes.\n * NB: The result of createMap() has to be recast since closure compiler\n * will just assume attributes is \"any\" otherwise and throws away\n * the type annotation set by tsickle.\n */\nvar attributes = createMap();\n// Special generic mutator that's called for any attribute that does not\n// have a specific mutator.\nattributes[symbols.default] = applyAttributeTyped;\nattributes['style'] = applyStyle;\n/**\n * Calls the appropriate attribute mutator for this attribute.\n */\nfunction updateAttribute(el, name, value) {\n var mutator = attributes[name] || attributes[symbols.default];\n mutator(el, name, value);\n}\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar DEBUG = true;\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * Keeps track whether or not we are in an attributes declaration (after\n * elementOpenStart, but before elementOpenEnd).\n */\nvar inAttributes = false;\n/**\n * Keeps track whether or not we are in an element that should not have its\n * children cleared.\n */\nvar inSkip = false;\n/**\n * Makes sure that there is a current patch context.\n */\nfunction assertInPatch(functionName, context) {\n if (!context) {\n throw new Error('Cannot call ' + functionName + '() unless in patch.');\n }\n}\n/**\n * Makes sure that a patch closes every node that it opened.\n * @param openElement\n * @param root\n */\nfunction assertNoUnclosedTags(openElement, root) {\n if (openElement === root) {\n return;\n }\n var currentElement = openElement;\n var openTags = [];\n while (currentElement && currentElement !== root) {\n openTags.push(currentElement.nodeName.toLowerCase());\n currentElement = currentElement.parentNode;\n }\n throw new Error('One or more tags were not closed:\\n' + openTags.join('\\n'));\n}\n/**\n * Makes sure that node being outer patched has a parent node.\n */\nfunction assertPatchOuterHasParentNode(parent) {\n if (!parent) {\n console.warn('patchOuter requires the node have a parent if there is a key.');\n }\n}\n/**\n * Makes sure that the caller is not where attributes are expected.\n */\nfunction assertNotInAttributes(functionName) {\n if (inAttributes) {\n throw new Error(functionName + '() can not be called between ' + 'elementOpenStart() and elementOpenEnd().');\n }\n}\n/**\n * Makes sure that the caller is not inside an element that has declared skip.\n */\nfunction assertNotInSkip(functionName) {\n if (inSkip) {\n throw new Error(functionName + '() may not be called inside an element ' + 'that has called skip().');\n }\n}\n/**\n * Makes sure that the caller is where attributes are expected.\n */\nfunction assertInAttributes(functionName) {\n if (!inAttributes) {\n throw new Error(functionName + '() can only be called after calling ' + 'elementOpenStart().');\n }\n}\n/**\n * Makes sure the patch closes virtual attributes call\n */\nfunction assertVirtualAttributesClosed() {\n if (inAttributes) {\n throw new Error('elementOpenEnd() must be called after calling ' + 'elementOpenStart().');\n }\n}\n/**\n * Makes sure that tags are correctly nested.\n */\nfunction assertCloseMatchesOpenTag(currentNameOrCtor, nameOrCtor) {\n if (currentNameOrCtor !== nameOrCtor) {\n throw new Error('Received a call to close \"' + nameOrCtor + '\" but \"' + currentNameOrCtor + '\" was open.');\n }\n}\n/**\n * Makes sure that no children elements have been declared yet in the current\n * element.\n */\nfunction assertNoChildrenDeclaredYet(functionName, previousNode) {\n if (previousNode !== null) {\n throw new Error(functionName + '() must come before any child ' + 'declarations inside the current element.');\n }\n}\n/**\n * Checks that a call to patchOuter actually patched the element.\n * @param maybeStartNode The value for the currentNode when the patch\n * started.\n * @param currentNode The currentNode when the patch finished.\n * @param expectedNextNode The Node that is expected to follow the\n * currentNode after the patch;\n * @param expectedPrevNode The Node that is expected to preceed the\n * currentNode after the patch.\n */\nfunction assertPatchElementNoExtras(maybeStartNode, maybeCurrentNode, expectedNextNode, expectedPrevNode) {\n assert(maybeStartNode);\n var startNode = maybeStartNode;\n // tslint:disable-next-line:no-unnecessary-type-assertion\n var currentNode = maybeCurrentNode;\n var wasUpdated = currentNode.nextSibling === expectedNextNode && currentNode.previousSibling === expectedPrevNode;\n var wasChanged = currentNode.nextSibling === startNode.nextSibling && currentNode.previousSibling === expectedPrevNode;\n var wasRemoved = currentNode === startNode;\n if (!wasUpdated && !wasChanged && !wasRemoved) {\n throw new Error('There must be exactly one top level call corresponding ' + 'to the patched element.');\n }\n}\n/**\n * Updates the state of being in an attribute declaration.\n * @return the previous value.\n */\nfunction setInAttributes(value) {\n var previous = inAttributes;\n inAttributes = value;\n return previous;\n}\n/**\n * Updates the state of being in a skip element.\n * @return the previous value.\n */\nfunction setInSkip(value) {\n var previous = inSkip;\n inSkip = value;\n return previous;\n}\n/**\n * Asserts that a value exists and is not null or undefined. goog.asserts\n * is not used in order to avoid dependencies on external code.\n */\nfunction assert(val) {\n if (process.env.NODE_ENV !== 'production' && !val) {\n throw new Error('Expected value to be defined');\n }\n return val;\n}\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar notifications = {\n nodesCreated: null,\n nodesDeleted: null\n};\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * A context object keeps track of the state of a patch.\n */\nvar Context = /** @class */function () {\n function Context() {\n this.created = [];\n this.deleted = [];\n }\n Context.prototype.markCreated = function (node) {\n this.created.push(node);\n };\n Context.prototype.markDeleted = function (node) {\n this.deleted.push(node);\n };\n /**\n * Notifies about nodes that were created during the patch operation.\n */\n Context.prototype.notifyChanges = function () {\n if (notifications.nodesCreated && this.created.length > 0) {\n notifications.nodesCreated(this.created);\n }\n if (notifications.nodesDeleted && this.deleted.length > 0) {\n notifications.nodesDeleted(this.deleted);\n }\n };\n return Context;\n}();\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * Checks if the node is the root of a document. This is either a Document\n * or ShadowRoot. DocumentFragments are included for simplicity of the\n * implementation, though we only want to consider Documents or ShadowRoots.\n * @param node The node to check.\n * @return True if the node the root of a document, false otherwise.\n */\nfunction isDocumentRoot(node) {\n return node.nodeType === 11 || node.nodeType === 9;\n}\n/**\n * Checks if the node is an Element. This is faster than an instanceof check.\n * @param node The node to check.\n * @return Whether or not the node is an Element.\n */\nfunction isElement(node) {\n return node.nodeType === 1;\n}\n/**\n * Checks if the node is a text node. This is faster than an instanceof check.\n * @param node The node to check.\n * @return Whether or not the node is a Text.\n */\nfunction isText(node) {\n return node.nodeType === 3;\n}\n/**\n * @param node The node to start at, inclusive.\n * @param root The root ancestor to get until, exclusive.\n * @return The ancestry of DOM nodes.\n */\nfunction getAncestry(node, root) {\n var ancestry = [];\n var cur = node;\n while (cur !== root) {\n var n = cur;\n ancestry.push(n);\n cur = n.parentNode;\n }\n return ancestry;\n}\n/**\n * return The root node of the DOM tree that contains this node.\n */\nvar getRootNode =\n// tslint:disable-next-line:no-any b/79476176\nNode.prototype.getRootNode || function () {\n // tslint:disable-next-line:no-unnecessary-type-assertion b/77361044\n var cur = this;\n var prev = cur;\n while (cur) {\n prev = cur;\n cur = cur.parentNode;\n }\n return prev;\n};\n/**\n * @param node The node to get the activeElement for.\n * @return The activeElement in the Document or ShadowRoot\n * corresponding to node, if present.\n */\nfunction getActiveElement(node) {\n var root = getRootNode.call(node);\n return isDocumentRoot(root) ? root.activeElement : null;\n}\n/**\n * Gets the path of nodes that contain the focused node in the same document as\n * a reference node, up until the root.\n * @param node The reference node to get the activeElement for.\n * @param root The root to get the focused path until.\n */\nfunction getFocusedPath(node, root) {\n var activeElement = getActiveElement(node);\n if (!activeElement || !node.contains(activeElement)) {\n return [];\n }\n return getAncestry(activeElement, root);\n}\n/**\n * Like insertBefore, but instead instead of moving the desired node, instead\n * moves all the other nodes after.\n * @param parentNode\n * @param node\n * @param referenceNode\n */\nfunction moveBefore(parentNode, node, referenceNode) {\n var insertReferenceNode = node.nextSibling;\n var cur = referenceNode;\n while (cur !== null && cur !== node) {\n var next = cur.nextSibling;\n parentNode.insertBefore(cur, insertReferenceNode);\n cur = next;\n }\n}\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * Keeps track of information needed to perform diffs for a given DOM node.\n */\nvar NodeData = /** @class */function () {\n function NodeData(nameOrCtor, key, text) {\n /**\n * An array of attribute name/value pairs, used for quickly diffing the\n * incomming attributes to see if the DOM node's attributes need to be\n * updated.\n */\n // tslint:disable-next-line:no-any\n this._attrsArr = null;\n /**\n * Whether or not the statics have been applied for the node yet.\n */\n this.staticsApplied = false;\n this.nameOrCtor = nameOrCtor;\n this.key = key;\n this.text = text;\n }\n NodeData.prototype.hasEmptyAttrsArr = function () {\n var attrs = this._attrsArr;\n return !attrs || !attrs.length;\n };\n NodeData.prototype.getAttrsArr = function (length) {\n return this._attrsArr || (this._attrsArr = new Array(length));\n };\n return NodeData;\n}();\n/**\n * Initializes a NodeData object for a Node.\n */\nfunction initData(node, nameOrCtor, key, text) {\n var data = new NodeData(nameOrCtor, key, text);\n node['__incrementalDOMData'] = data;\n return data;\n}\n/**\n * Retrieves the NodeData object for a Node, creating it if necessary.\n */\nfunction getData(node, key) {\n return importSingleNode(node, key);\n}\nfunction isDataInitialized(node) {\n return Boolean(node['__incrementalDOMData']);\n}\nfunction getKey(node) {\n assert(node['__incrementalDOMData']);\n return getData(node).key;\n}\n/**\n * Imports single node and its subtree, initializing caches.\n */\nfunction importSingleNode(node, fallbackKey) {\n if (node['__incrementalDOMData']) {\n return node['__incrementalDOMData'];\n }\n var nodeName = isElement(node) ? node.localName : node.nodeName;\n var key = isElement(node) ? node.getAttribute('key') || fallbackKey : null;\n var text = isText(node) ? node.data : undefined;\n var data = initData(node, nodeName, key, text);\n if (isElement(node)) {\n recordAttributes(node, data);\n }\n return data;\n}\n/**\n * Imports node and its subtree, initializing caches.\n */\nfunction importNode(node) {\n importSingleNode(node);\n for (var child = node.firstChild; child; child = child.nextSibling) {\n importNode(child);\n }\n}\n/**\n * Clears all caches from a node and all of its children.\n */\nfunction clearCache(node) {\n node['__incrementalDOMData'] = null;\n for (var child = node.firstChild; child; child = child.nextSibling) {\n clearCache(child);\n }\n}\n/**\n * Records the element's attributes.\n * @param node The Element that may have attributes\n * @param data The Element's data\n */\nfunction recordAttributes(node, data) {\n var attributes = node.attributes;\n var length = attributes.length;\n if (!length) {\n return;\n }\n var attrsArr = data.getAttrsArr(length);\n // Use a cached length. The attributes array is really a live NamedNodeMap,\n // which exists as a DOM \"Host Object\" (probably as C++ code). This makes the\n // usual constant length iteration very difficult to optimize in JITs.\n for (var i = 0, j = 0; i < length; i += 1, j += 2) {\n var attr = attributes[i];\n var name = attr.name;\n var value = attr.value;\n attrsArr[j] = name;\n attrsArr[j + 1] = value;\n }\n}\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * Gets the namespace to create an element (of a given tag) in.\n */\nfunction getNamespaceForTag(tag, parent) {\n if (tag === 'svg') {\n return 'http://www.w3.org/2000/svg';\n }\n if (tag === 'math') {\n return 'http://www.w3.org/1998/Math/MathML';\n }\n if (parent == null) {\n return null;\n }\n if (getData(parent).nameOrCtor === 'foreignObject') {\n return null;\n }\n return parent.namespaceURI;\n}\n/**\n * Creates an Element.\n * @param doc The document with which to create the Element.\n * @param nameOrCtor The tag or constructor for the Element.\n * @param key A key to identify the Element.\n * @param typeId The type identifier for the Element.\n */\nfunction createElement(doc, parent, nameOrCtor, key) {\n var el;\n if (typeof nameOrCtor === 'function') {\n el = new nameOrCtor();\n } else {\n var namespace = getNamespaceForTag(nameOrCtor, parent);\n if (namespace) {\n el = doc.createElementNS(namespace, nameOrCtor);\n } else {\n el = doc.createElement(nameOrCtor);\n }\n }\n initData(el, nameOrCtor, key);\n return el;\n}\n/**\n * Creates a Text Node.\n * @param doc The document with which to create the Element.\n * @return\n */\nfunction createText(doc) {\n var node = doc.createTextNode('');\n initData(node, '#text', null);\n return node;\n}\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar context = null;\nvar currentNode = null;\nvar currentParent = null;\nvar doc = null;\nvar focusPath = [];\n/**\n * Used to build up call arguments. Each patch call gets a separate copy, so\n * this works with nested calls to patch.\n */\nvar argsBuilder = [];\n/**\n * TODO(sparhami) We should just export argsBuilder directly when Closure\n * Compiler supports ES6 directly.\n */\nfunction getArgsBuilder() {\n return argsBuilder;\n}\n/**\n * Returns a patcher function that sets up and restores a patch context,\n * running the run function with the provided data.\n */\nfunction patchFactory(run) {\n var f = function (node, fn, data) {\n var prevContext = context;\n var prevDoc = doc;\n var prevFocusPath = focusPath;\n var prevArgsBuilder = argsBuilder;\n var prevCurrentNode = currentNode;\n var prevCurrentParent = currentParent;\n var previousInAttributes = false;\n var previousInSkip = false;\n context = new Context();\n doc = node.ownerDocument;\n argsBuilder = [];\n currentParent = node.parentNode;\n focusPath = getFocusedPath(node, currentParent);\n if (process.env.NODE_ENV !== 'production') {\n previousInAttributes = setInAttributes(false);\n previousInSkip = setInSkip(false);\n }\n try {\n var retVal = run(node, fn, data);\n if (process.env.NODE_ENV !== 'production') {\n assertVirtualAttributesClosed();\n }\n return retVal;\n } finally {\n doc = prevDoc;\n argsBuilder = prevArgsBuilder;\n currentNode = prevCurrentNode;\n currentParent = prevCurrentParent;\n focusPath = prevFocusPath;\n context.notifyChanges();\n // Needs to be done after assertions because assertions rely on state\n // from these methods.\n setInAttributes(previousInAttributes);\n setInSkip(previousInSkip);\n context = prevContext;\n }\n };\n return f;\n}\n/**\n * Patches the document starting at node with the provided function. This\n * function may be called during an existing patch operation.\n */\nvar patchInner = patchFactory(function (node, fn, data) {\n currentNode = node;\n enterNode();\n fn(data);\n exitNode();\n if (process.env.NODE_ENV !== 'production') {\n assertNoUnclosedTags(currentNode, node);\n }\n return node;\n});\n/**\n * Patches an Element with the the provided function. Exactly one top level\n * element call should be made corresponding to `node`.\n */\nvar patchOuter = patchFactory(function (node, fn, data) {\n // tslint:disable-next-line:no-any\n var startNode = { nextSibling: node };\n var expectedNextNode = null;\n var expectedPrevNode = null;\n if (process.env.NODE_ENV !== 'production') {\n expectedNextNode = node.nextSibling;\n expectedPrevNode = node.previousSibling;\n }\n currentNode = startNode;\n fn(data);\n if (process.env.NODE_ENV !== 'production') {\n assertPatchOuterHasParentNode(currentParent);\n assertPatchElementNoExtras(startNode, currentNode, expectedNextNode, expectedPrevNode);\n }\n if (currentParent) {\n clearUnvisitedDOM(currentParent, getNextNode(), node.nextSibling);\n }\n return startNode === currentNode ? null : currentNode;\n});\n/**\n * Checks whether or not the current node matches the specified nameOrCtor and\n * key.\n * @param matchNode A node to match the data to.\n * @param nameOrCtor The name or constructor to check for.\n * @param key The key used to identify the Node.\n * @return True if the node matches, false otherwise.\n */\nfunction matches(matchNode, nameOrCtor, key) {\n var data = getData(matchNode, key);\n // Key check is done using double equals as we want to treat a null key the\n // same as undefined. This should be okay as the only values allowed are\n // strings, null and undefined so the == semantics are not too weird.\n // tslint:disable-next-line:triple-equals\n return nameOrCtor == data.nameOrCtor && key == data.key;\n}\n/**\n * Finds the matching node, starting at `node` and looking at the subsequent\n * siblings if a key is used.\n * @param node The node to start looking at.\n * @param nameOrCtor The name or constructor for the Node.\n * @param key The key used to identify the Node.\n */\nfunction getMatchingNode(matchNode, nameOrCtor, key) {\n if (!matchNode) {\n return null;\n }\n if (matches(matchNode, nameOrCtor, key)) {\n return matchNode;\n }\n if (key) {\n while (matchNode = matchNode.nextSibling) {\n if (matches(matchNode, nameOrCtor, key)) {\n return matchNode;\n }\n }\n }\n return null;\n}\n/**\n * Creates a Node and marking it as created.\n * @param nameOrCtor The name or constructor for the Node.\n * @param key The key used to identify the Node.\n * @return The newly created node.\n */\nfunction createNode(nameOrCtor, key) {\n var node;\n if (nameOrCtor === '#text') {\n node = createText(doc);\n } else {\n node = createElement(doc, currentParent, nameOrCtor, key);\n }\n context.markCreated(node);\n return node;\n}\n/**\n * Aligns the virtual Node definition with the actual DOM, moving the\n * corresponding DOM node to the correct location or creating it if necessary.\n * @param nameOrCtor The name or constructor for the Node.\n * @param key The key used to identify the Node.\n */\nfunction alignWithDOM(nameOrCtor, key) {\n var existingNode = getMatchingNode(currentNode, nameOrCtor, key);\n var node = existingNode || createNode(nameOrCtor, key);\n // If we are at the matching node, then we are done.\n if (node === currentNode) {\n return;\n }\n // Re-order the node into the right position, preserving focus if either\n // node or currentNode are focused by making sure that they are not detached\n // from the DOM.\n if (focusPath.indexOf(node) >= 0) {\n // Move everything else before the node.\n moveBefore(currentParent, node, currentNode);\n } else {\n currentParent.insertBefore(node, currentNode);\n }\n currentNode = node;\n}\n/**\n * Clears out any unvisited Nodes in a given range.\n * @param maybeParentNode\n * @param startNode The node to start clearing from, inclusive.\n * @param endNode The node to clear until, exclusive.\n */\nfunction clearUnvisitedDOM(maybeParentNode, startNode, endNode) {\n var parentNode = maybeParentNode;\n var child = startNode;\n while (child !== endNode) {\n var next = child.nextSibling;\n parentNode.removeChild(child);\n context.markDeleted(child);\n child = next;\n }\n}\n/**\n * Changes to the first child of the current node.\n */\nfunction enterNode() {\n currentParent = currentNode;\n currentNode = null;\n}\n/**\n * @return The next Node to be patched.\n */\nfunction getNextNode() {\n if (currentNode) {\n return currentNode.nextSibling;\n } else {\n return currentParent.firstChild;\n }\n}\n/**\n * Changes to the next sibling of the current node.\n */\nfunction nextNode() {\n currentNode = getNextNode();\n}\n/**\n * Changes to the parent of the current node, removing any unvisited children.\n */\nfunction exitNode() {\n clearUnvisitedDOM(currentParent, getNextNode(), null);\n currentNode = currentParent;\n currentParent = currentParent.parentNode;\n}\n/**\n * Makes sure that the current node is an Element with a matching nameOrCtor and\n * key.\n *\n * @param nameOrCtor The tag or constructor for the Element.\n * @param key The key used to identify this element. This can be an\n * empty string, but performance may be better if a unique value is used\n * when iterating over an array of items.\n * @return The corresponding Element.\n */\nfunction open(nameOrCtor, key) {\n nextNode();\n alignWithDOM(nameOrCtor, key);\n enterNode();\n return currentParent;\n}\n/**\n * Closes the currently open Element, removing any unvisited children if\n * necessary.\n */\nfunction close() {\n if (process.env.NODE_ENV !== 'production') {\n setInSkip(false);\n }\n exitNode();\n return currentNode;\n}\n/**\n * Makes sure the current node is a Text node and creates a Text node if it is\n * not.\n */\nfunction text() {\n nextNode();\n alignWithDOM('#text', null);\n return currentNode;\n}\n/**\n * Gets the current Element being patched.\n */\nfunction currentElement() {\n if (process.env.NODE_ENV !== 'production') {\n assertInPatch('currentElement', doc);\n assertNotInAttributes('currentElement');\n }\n return currentParent;\n}\n/**\n * @return The Node that will be evaluated for the next instruction.\n */\nfunction currentPointer() {\n if (process.env.NODE_ENV !== 'production') {\n assertInPatch('currentPointer', doc);\n assertNotInAttributes('currentPointer');\n }\n // TODO(tomnguyen): assert that this is not null\n return getNextNode();\n}\n/**\n * Skips the children in a subtree, allowing an Element to be closed without\n * clearing out the children.\n */\nfunction skip() {\n if (process.env.NODE_ENV !== 'production') {\n assertNoChildrenDeclaredYet('skip', currentNode);\n setInSkip(true);\n }\n currentNode = currentParent.lastChild;\n}\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * The offset in the virtual element declaration where the attributes are\n * specified.\n */\nvar ATTRIBUTES_OFFSET = 3;\n/**\n * Used to keep track of the previous values when a 2-way diff is necessary.\n * This object is reused.\n * TODO(sparhamI) Scope this to a patch so you can call patch from an attribute\n * update.\n */\nvar prevAttrsMap = createMap();\n/**\n * Applies the statics. When importing an Element, any existing attributes that\n * match a static are converted into a static attribute.\n * @param node The Element to apply statics for.\n * @param data The Element's data\n * @param statics The statics array,\n */\nfunction applyStatics(node, data, statics) {\n data.staticsApplied = true;\n if (!statics || !statics.length) {\n return;\n }\n if (data.hasEmptyAttrsArr()) {\n for (var i = 0; i < statics.length; i += 2) {\n updateAttribute(node, statics[i], statics[i + 1]);\n }\n return;\n }\n for (var i = 0; i < statics.length; i += 2) {\n prevAttrsMap[statics[i]] = i + 1;\n }\n var attrsArr = data.getAttrsArr(0);\n var j = 0;\n for (var i = 0; i < attrsArr.length; i += 2) {\n var name = attrsArr[i];\n var value = attrsArr[i + 1];\n var staticsIndex = prevAttrsMap[name];\n if (staticsIndex) {\n // For any attrs that are static and have the same value, make sure we do\n // not set them again.\n if (statics[staticsIndex] === value) {\n delete prevAttrsMap[name];\n }\n continue;\n }\n // For any attrs that are dynamic, move them up to the right place.\n attrsArr[j] = name;\n attrsArr[j + 1] = value;\n j += 2;\n }\n // Anything after `j` was either moved up already or static.\n truncateArray(attrsArr, j);\n for (var name in prevAttrsMap) {\n updateAttribute(node, name, statics[prevAttrsMap[name]]);\n delete prevAttrsMap[name];\n }\n}\n/**\n * @param nameOrCtor The Element's tag or constructor.\n * @param key The key used to identify this element. This can be an\n * empty string, but performance may be better if a unique value is used\n * when iterating over an array of items.\n * @param statics An array of attribute name/value pairs of the static\n * attributes for the Element. Attributes will only be set once when the\n * Element is created.\n * @param varArgs, Attribute name/value pairs of the dynamic attributes\n * for the Element.\n * @return The corresponding Element.\n */\nfunction elementOpen(nameOrCtor, key,\n// Ideally we could tag statics and varArgs as an array where every odd\n// element is a string and every even element is any, but this is hard.\n// tslint:disable-next-line:no-any\nstatics) {\n var varArgs = [];\n for (var _i = 3; _i < arguments.length; _i++) {\n varArgs[_i - 3] = arguments[_i];\n }\n if (process.env.NODE_ENV !== 'production') {\n assertNotInAttributes('elementOpen');\n assertNotInSkip('elementOpen');\n }\n var node = open(nameOrCtor, key);\n var data = getData(node);\n if (!data.staticsApplied) {\n applyStatics(node, data, statics);\n }\n var attrsLength = Math.max(0, arguments.length - ATTRIBUTES_OFFSET);\n var hadNoAttrs = data.hasEmptyAttrsArr();\n if (!attrsLength && hadNoAttrs) {\n return node;\n }\n var attrsArr = data.getAttrsArr(attrsLength);\n /*\n * Checks to see if one or more attributes have changed for a given Element.\n * When no attributes have changed, this is much faster than checking each\n * individual argument. When attributes have changed, the overhead of this is\n * minimal.\n */\n var i = ATTRIBUTES_OFFSET;\n var j = 0;\n for (; i < arguments.length; i += 2, j += 2) {\n var name = arguments[i];\n if (hadNoAttrs) {\n attrsArr[j] = name;\n } else if (attrsArr[j] !== name) {\n break;\n }\n var value = arguments[i + 1];\n if (hadNoAttrs || attrsArr[j + 1] !== value) {\n attrsArr[j + 1] = value;\n updateAttribute(node, name, value);\n }\n }\n /*\n * Items did not line up exactly as before, need to make sure old items are\n * removed. This can happen if using conditional logic when declaring\n * attrs through the elementOpenStart flow or if one element is reused in\n * the place of another.\n */\n if (i < arguments.length || j < attrsArr.length) {\n var attrsStart = j;\n for (; j < attrsArr.length; j += 2) {\n prevAttrsMap[attrsArr[j]] = attrsArr[j + 1];\n }\n for (j = attrsStart; i < arguments.length; i += 2, j += 2) {\n var name = arguments[i];\n var value = arguments[i + 1];\n if (prevAttrsMap[name] !== value) {\n updateAttribute(node, name, value);\n }\n attrsArr[j] = name;\n attrsArr[j + 1] = value;\n delete prevAttrsMap[name];\n }\n truncateArray(attrsArr, j);\n /*\n * At this point, only have attributes that were present before, but have\n * been removed.\n */\n for (var name in prevAttrsMap) {\n updateAttribute(node, name, undefined);\n delete prevAttrsMap[name];\n }\n }\n return node;\n}\n/**\n * Declares a virtual Element at the current location in the document. This\n * corresponds to an opening tag and a elementClose tag is required. This is\n * like elementOpen, but the attributes are defined using the attr function\n * rather than being passed as arguments. Must be folllowed by 0 or more calls\n * to attr, then a call to elementOpenEnd.\n * @param nameOrCtor The Element's tag or constructor.\n * @param key The key used to identify this element. This can be an\n * empty string, but performance may be better if a unique value is used\n * when iterating over an array of items.\n * @param statics An array of attribute name/value pairs of the static\n * attributes for the Element. Attributes will only be set once when the\n * Element is created.\n */\nfunction elementOpenStart(nameOrCtor, key, statics) {\n var argsBuilder = getArgsBuilder();\n if (process.env.NODE_ENV !== 'production') {\n assertNotInAttributes('elementOpenStart');\n setInAttributes(true);\n }\n argsBuilder[0] = nameOrCtor;\n argsBuilder[1] = key;\n argsBuilder[2] = statics;\n}\n/**\n * Allows you to define a key after an elementOpenStart. This is useful in\n * templates that define key after an element has been opened ie\n * `
`.\n */\nfunction key(key) {\n var argsBuilder = getArgsBuilder();\n if (process.env.NODE_ENV !== 'production') {\n assertInAttributes('key');\n assert(argsBuilder);\n }\n argsBuilder[1] = key;\n}\n/***\n * Defines a virtual attribute at this point of the DOM. This is only valid\n * when called between elementOpenStart and elementOpenEnd.\n */\n// tslint:disable-next-line:no-any\nfunction attr(name, value) {\n var argsBuilder = getArgsBuilder();\n if (process.env.NODE_ENV !== 'production') {\n assertInAttributes('attr');\n }\n argsBuilder.push(name);\n argsBuilder.push(value);\n}\n/**\n * Closes an open tag started with elementOpenStart.\n * @return The corresponding Element.\n */\nfunction elementOpenEnd() {\n var argsBuilder = getArgsBuilder();\n if (process.env.NODE_ENV !== 'production') {\n assertInAttributes('elementOpenEnd');\n setInAttributes(false);\n }\n assert(argsBuilder);\n var node = elementOpen.apply(null, argsBuilder);\n truncateArray(argsBuilder, 0);\n return node;\n}\n/**\n * Closes an open virtual Element.\n *\n * @param nameOrCtor The Element's tag or constructor.\n * @return The corresponding Element.\n */\nfunction elementClose(nameOrCtor) {\n if (process.env.NODE_ENV !== 'production') {\n assertNotInAttributes('elementClose');\n }\n var node = close();\n if (process.env.NODE_ENV !== 'production') {\n assertCloseMatchesOpenTag(getData(node).nameOrCtor, nameOrCtor);\n }\n return node;\n}\n/**\n * Declares a virtual Element at the current location in the document that has\n * no children.\n * @param nameOrCtor The Element's tag or constructor.\n * @param key The key used to identify this element. This can be an\n * empty string, but performance may be better if a unique value is used\n * when iterating over an array of items.\n * @param statics An array of attribute name/value pairs of the static\n * attributes for the Element. Attributes will only be set once when the\n * Element is created.\n * @param varArgs Attribute name/value pairs of the dynamic attributes\n * for the Element.\n * @return The corresponding Element.\n */\nfunction elementVoid(nameOrCtor, key,\n// Ideally we could tag statics and varArgs as an array where every odd\n// element is a string and every even element is any, but this is hard.\n// tslint:disable-next-line:no-any\nstatics) {\n var varArgs = [];\n for (var _i = 3; _i < arguments.length; _i++) {\n varArgs[_i - 3] = arguments[_i];\n }\n elementOpen.apply(null, arguments);\n return elementClose(nameOrCtor);\n}\n/**\n * Declares a virtual Text at this point in the document.\n *\n * @param value The value of the Text.\n * @param varArgs\n * Functions to format the value which are called only when the value has\n * changed.\n * @return The corresponding text node.\n */\nfunction text$1(value) {\n var varArgs = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n varArgs[_i - 1] = arguments[_i];\n }\n if (process.env.NODE_ENV !== 'production') {\n assertNotInAttributes('text');\n assertNotInSkip('text');\n }\n var node = text();\n var data = getData(node);\n if (data.text !== value) {\n data.text = value;\n var formatted = value;\n for (var i = 1; i < arguments.length; i += 1) {\n /*\n * Call the formatter function directly to prevent leaking arguments.\n * https://github.com/google/incremental-dom/pull/204#issuecomment-178223574\n */\n var fn = arguments[i];\n formatted = fn(formatted);\n }\n node.data = formatted;\n }\n return node;\n}\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexports.applyAttr = applyAttr;\nexports.applyProp = applyProp;\nexports.attributes = attributes;\nexports.close = close;\nexports.currentElement = currentElement;\nexports.currentPointer = currentPointer;\nexports.open = open;\nexports.patch = patchInner;\nexports.patchInner = patchInner;\nexports.patchOuter = patchOuter;\nexports.skip = skip;\nexports.skipNode = nextNode;\nexports.getKey = getKey;\nexports.clearCache = clearCache;\nexports.importNode = importNode;\nexports.isDataInitialized = isDataInitialized;\nexports.notifications = notifications;\nexports.symbols = symbols;\nexports.attr = attr;\nexports.elementClose = elementClose;\nexports.elementOpen = elementOpen;\nexports.elementOpenEnd = elementOpenEnd;\nexports.elementOpenStart = elementOpenStart;\nexports.elementVoid = elementVoid;\nexports.text = text$1;\nexports.key = key;\n\n//# sourceMappingURL=incremental-dom-cjs.js.map\n","import { CircularProgress, Stack } from \"@mui/material\";\nimport \"katex/dist/katex.min.css\";\nimport { useEffect, useRef, useState } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport { useCurrentTheme } from \"../../hooks/useCurrentTheme\";\nimport { selectEditor } from \"../../store/editorSlice\";\nimport { addSoftLineBreak } from \"../../utils/document\";\nimport MarkdownIt from \"markdown-it\";\nimport { toHtml } from \"hast-util-to-html\";\nimport markdownItKatex from \"@vscode/markdown-it-katex\";\nimport { refractor } from \"refractor\";\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport markdownItIncrementalDOM from \"markdown-it-incremental-dom\";\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport markdownItSanitizer from \"markdown-it-sanitizer\";\nimport * as IncrementalDOM from \"incremental-dom\";\nimport \"./editor.css\";\nimport \"./preview.css\";\n\nconst md = new MarkdownIt({\n\thtml: true,\n\tlinkify: true,\n\tbreaks: true,\n\thighlight: (code: string, lang: string): string => {\n\t\ttry {\n\t\t\treturn `
${toHtml(\n\t\t\t\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\t\t\t\trefractor.highlight(code, lang) as any\n\t\t\t)}
`;\n\t\t} catch (error) {\n\t\t\tconsole.error(`Error highlighting code with language '${lang}':`, error);\n\t\t\treturn `
${md.utils.escapeHtml(code)}
`;\n\t\t}\n\t},\n})\n\t.use(markdownItIncrementalDOM, IncrementalDOM, {\n\t\tincrementalizeDefaultRules: false,\n\t})\n\t.use(markdownItKatex)\n\t.use(markdownItSanitizer);\n\nconst Preview = () => {\n\tconst currentTheme = useCurrentTheme();\n\tconst editorStore = useSelector(selectEditor);\n\tconst [content, setContent] = useState(\"\");\n\tconst containerRef = useRef(null);\n\n\tuseEffect(() => {\n\t\tif (!editorStore.doc) return;\n\n\t\tconst updatePreviewContent = () => {\n\t\t\tconst editorText = editorStore.doc?.getRoot().content?.toString() || \"\";\n\t\t\t// Add soft line break\n\t\t\tsetContent(addSoftLineBreak(editorText));\n\t\t};\n\n\t\tupdatePreviewContent();\n\n\t\tconst unsubscribe = editorStore.doc.subscribe(\"$.content\", () => {\n\t\t\tupdatePreviewContent();\n\t\t});\n\n\t\treturn () => {\n\t\t\tunsubscribe();\n\t\t\tsetContent(\"\");\n\t\t};\n\t}, [editorStore.doc]);\n\n\tuseEffect(() => {\n\t\tif (containerRef.current == null) {\n\t\t\treturn;\n\t\t}\n\n\t\t// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n\t\t// @ts-ignore\n\t\tIncrementalDOM.patch(containerRef.current, md.renderToIncrementalDOM(content));\n\t}, [content]);\n\n\tif (!editorStore?.doc) {\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t);\n\t}\n\n\treturn (\n\t\t\n\t);\n};\n\nexport default Preview;\n","import { Backdrop, Box, CircularProgress, Paper } from \"@mui/material\";\nimport { useWindowWidth } from \"@react-hook/window-size\";\nimport { useSelector } from \"react-redux\";\nimport Resizable from \"react-resizable-layout\";\nimport { ScrollSync, ScrollSyncPane } from \"react-scroll-sync\";\nimport { EditorModeType, selectEditor } from \"../../store/editorSlice\";\nimport Editor from \"./Editor\";\nimport Preview from \"./Preview\";\nimport { selectConfig } from \"../../store/configSlice\";\n\nfunction DocumentView() {\n\tconst editorStore = useSelector(selectEditor);\n\tconst windowWidth = useWindowWidth();\n\tconst configStore = useSelector(selectConfig);\n\n\tif (!editorStore.doc || !editorStore.client)\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t);\n\n\treturn (\n\t\t<>\n\t\t\t{editorStore.mode === EditorModeType.BOTH && (\n\t\t\t\t\n\t\t\t\t\t{({ position: width, separatorProps }) => (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t\n\t\t\t)}\n\n\t\t\t{editorStore.mode === EditorModeType.EDIT && (\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t)}\n\n\t\t\t{editorStore.mode === EditorModeType.READ && (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n}\n\nexport default DocumentView;\n","'use strict'\r\n\r\nmodule.exports = {\r\n\t\"aliceblue\": [240, 248, 255],\r\n\t\"antiquewhite\": [250, 235, 215],\r\n\t\"aqua\": [0, 255, 255],\r\n\t\"aquamarine\": [127, 255, 212],\r\n\t\"azure\": [240, 255, 255],\r\n\t\"beige\": [245, 245, 220],\r\n\t\"bisque\": [255, 228, 196],\r\n\t\"black\": [0, 0, 0],\r\n\t\"blanchedalmond\": [255, 235, 205],\r\n\t\"blue\": [0, 0, 255],\r\n\t\"blueviolet\": [138, 43, 226],\r\n\t\"brown\": [165, 42, 42],\r\n\t\"burlywood\": [222, 184, 135],\r\n\t\"cadetblue\": [95, 158, 160],\r\n\t\"chartreuse\": [127, 255, 0],\r\n\t\"chocolate\": [210, 105, 30],\r\n\t\"coral\": [255, 127, 80],\r\n\t\"cornflowerblue\": [100, 149, 237],\r\n\t\"cornsilk\": [255, 248, 220],\r\n\t\"crimson\": [220, 20, 60],\r\n\t\"cyan\": [0, 255, 255],\r\n\t\"darkblue\": [0, 0, 139],\r\n\t\"darkcyan\": [0, 139, 139],\r\n\t\"darkgoldenrod\": [184, 134, 11],\r\n\t\"darkgray\": [169, 169, 169],\r\n\t\"darkgreen\": [0, 100, 0],\r\n\t\"darkgrey\": [169, 169, 169],\r\n\t\"darkkhaki\": [189, 183, 107],\r\n\t\"darkmagenta\": [139, 0, 139],\r\n\t\"darkolivegreen\": [85, 107, 47],\r\n\t\"darkorange\": [255, 140, 0],\r\n\t\"darkorchid\": [153, 50, 204],\r\n\t\"darkred\": [139, 0, 0],\r\n\t\"darksalmon\": [233, 150, 122],\r\n\t\"darkseagreen\": [143, 188, 143],\r\n\t\"darkslateblue\": [72, 61, 139],\r\n\t\"darkslategray\": [47, 79, 79],\r\n\t\"darkslategrey\": [47, 79, 79],\r\n\t\"darkturquoise\": [0, 206, 209],\r\n\t\"darkviolet\": [148, 0, 211],\r\n\t\"deeppink\": [255, 20, 147],\r\n\t\"deepskyblue\": [0, 191, 255],\r\n\t\"dimgray\": [105, 105, 105],\r\n\t\"dimgrey\": [105, 105, 105],\r\n\t\"dodgerblue\": [30, 144, 255],\r\n\t\"firebrick\": [178, 34, 34],\r\n\t\"floralwhite\": [255, 250, 240],\r\n\t\"forestgreen\": [34, 139, 34],\r\n\t\"fuchsia\": [255, 0, 255],\r\n\t\"gainsboro\": [220, 220, 220],\r\n\t\"ghostwhite\": [248, 248, 255],\r\n\t\"gold\": [255, 215, 0],\r\n\t\"goldenrod\": [218, 165, 32],\r\n\t\"gray\": [128, 128, 128],\r\n\t\"green\": [0, 128, 0],\r\n\t\"greenyellow\": [173, 255, 47],\r\n\t\"grey\": [128, 128, 128],\r\n\t\"honeydew\": [240, 255, 240],\r\n\t\"hotpink\": [255, 105, 180],\r\n\t\"indianred\": [205, 92, 92],\r\n\t\"indigo\": [75, 0, 130],\r\n\t\"ivory\": [255, 255, 240],\r\n\t\"khaki\": [240, 230, 140],\r\n\t\"lavender\": [230, 230, 250],\r\n\t\"lavenderblush\": [255, 240, 245],\r\n\t\"lawngreen\": [124, 252, 0],\r\n\t\"lemonchiffon\": [255, 250, 205],\r\n\t\"lightblue\": [173, 216, 230],\r\n\t\"lightcoral\": [240, 128, 128],\r\n\t\"lightcyan\": [224, 255, 255],\r\n\t\"lightgoldenrodyellow\": [250, 250, 210],\r\n\t\"lightgray\": [211, 211, 211],\r\n\t\"lightgreen\": [144, 238, 144],\r\n\t\"lightgrey\": [211, 211, 211],\r\n\t\"lightpink\": [255, 182, 193],\r\n\t\"lightsalmon\": [255, 160, 122],\r\n\t\"lightseagreen\": [32, 178, 170],\r\n\t\"lightskyblue\": [135, 206, 250],\r\n\t\"lightslategray\": [119, 136, 153],\r\n\t\"lightslategrey\": [119, 136, 153],\r\n\t\"lightsteelblue\": [176, 196, 222],\r\n\t\"lightyellow\": [255, 255, 224],\r\n\t\"lime\": [0, 255, 0],\r\n\t\"limegreen\": [50, 205, 50],\r\n\t\"linen\": [250, 240, 230],\r\n\t\"magenta\": [255, 0, 255],\r\n\t\"maroon\": [128, 0, 0],\r\n\t\"mediumaquamarine\": [102, 205, 170],\r\n\t\"mediumblue\": [0, 0, 205],\r\n\t\"mediumorchid\": [186, 85, 211],\r\n\t\"mediumpurple\": [147, 112, 219],\r\n\t\"mediumseagreen\": [60, 179, 113],\r\n\t\"mediumslateblue\": [123, 104, 238],\r\n\t\"mediumspringgreen\": [0, 250, 154],\r\n\t\"mediumturquoise\": [72, 209, 204],\r\n\t\"mediumvioletred\": [199, 21, 133],\r\n\t\"midnightblue\": [25, 25, 112],\r\n\t\"mintcream\": [245, 255, 250],\r\n\t\"mistyrose\": [255, 228, 225],\r\n\t\"moccasin\": [255, 228, 181],\r\n\t\"navajowhite\": [255, 222, 173],\r\n\t\"navy\": [0, 0, 128],\r\n\t\"oldlace\": [253, 245, 230],\r\n\t\"olive\": [128, 128, 0],\r\n\t\"olivedrab\": [107, 142, 35],\r\n\t\"orange\": [255, 165, 0],\r\n\t\"orangered\": [255, 69, 0],\r\n\t\"orchid\": [218, 112, 214],\r\n\t\"palegoldenrod\": [238, 232, 170],\r\n\t\"palegreen\": [152, 251, 152],\r\n\t\"paleturquoise\": [175, 238, 238],\r\n\t\"palevioletred\": [219, 112, 147],\r\n\t\"papayawhip\": [255, 239, 213],\r\n\t\"peachpuff\": [255, 218, 185],\r\n\t\"peru\": [205, 133, 63],\r\n\t\"pink\": [255, 192, 203],\r\n\t\"plum\": [221, 160, 221],\r\n\t\"powderblue\": [176, 224, 230],\r\n\t\"purple\": [128, 0, 128],\r\n\t\"rebeccapurple\": [102, 51, 153],\r\n\t\"red\": [255, 0, 0],\r\n\t\"rosybrown\": [188, 143, 143],\r\n\t\"royalblue\": [65, 105, 225],\r\n\t\"saddlebrown\": [139, 69, 19],\r\n\t\"salmon\": [250, 128, 114],\r\n\t\"sandybrown\": [244, 164, 96],\r\n\t\"seagreen\": [46, 139, 87],\r\n\t\"seashell\": [255, 245, 238],\r\n\t\"sienna\": [160, 82, 45],\r\n\t\"silver\": [192, 192, 192],\r\n\t\"skyblue\": [135, 206, 235],\r\n\t\"slateblue\": [106, 90, 205],\r\n\t\"slategray\": [112, 128, 144],\r\n\t\"slategrey\": [112, 128, 144],\r\n\t\"snow\": [255, 250, 250],\r\n\t\"springgreen\": [0, 255, 127],\r\n\t\"steelblue\": [70, 130, 180],\r\n\t\"tan\": [210, 180, 140],\r\n\t\"teal\": [0, 128, 128],\r\n\t\"thistle\": [216, 191, 216],\r\n\t\"tomato\": [255, 99, 71],\r\n\t\"turquoise\": [64, 224, 208],\r\n\t\"violet\": [238, 130, 238],\r\n\t\"wheat\": [245, 222, 179],\r\n\t\"white\": [255, 255, 255],\r\n\t\"whitesmoke\": [245, 245, 245],\r\n\t\"yellow\": [255, 255, 0],\r\n\t\"yellowgreen\": [154, 205, 50]\r\n};\r\n","module.exports = function isArrayish(obj) {\n\tif (!obj || typeof obj === 'string') {\n\t\treturn false;\n\t}\n\n\treturn obj instanceof Array || Array.isArray(obj) ||\n\t\t(obj.length >= 0 && (obj.splice instanceof Function ||\n\t\t\t(Object.getOwnPropertyDescriptor(obj, (obj.length - 1)) && obj.constructor.name !== 'String')));\n};\n","'use strict';\n\nvar isArrayish = require('is-arrayish');\n\nvar concat = Array.prototype.concat;\nvar slice = Array.prototype.slice;\n\nvar swizzle = module.exports = function swizzle(args) {\n\tvar results = [];\n\n\tfor (var i = 0, len = args.length; i < len; i++) {\n\t\tvar arg = args[i];\n\n\t\tif (isArrayish(arg)) {\n\t\t\t// http://jsperf.com/javascript-array-concat-vs-push/98\n\t\t\tresults = concat.call(results, slice.call(arg));\n\t\t} else {\n\t\t\tresults.push(arg);\n\t\t}\n\t}\n\n\treturn results;\n};\n\nswizzle.wrap = function (fn) {\n\treturn function () {\n\t\treturn fn(swizzle(arguments));\n\t};\n};\n","/* MIT license */\nvar colorNames = require('color-name');\nvar swizzle = require('simple-swizzle');\nvar hasOwnProperty = Object.hasOwnProperty;\n\nvar reverseNames = Object.create(null);\n\n// create a list of reverse color names\nfor (var name in colorNames) {\n\tif (hasOwnProperty.call(colorNames, name)) {\n\t\treverseNames[colorNames[name]] = name;\n\t}\n}\n\nvar cs = module.exports = {\n\tto: {},\n\tget: {}\n};\n\ncs.get = function (string) {\n\tvar prefix = string.substring(0, 3).toLowerCase();\n\tvar val;\n\tvar model;\n\tswitch (prefix) {\n\t\tcase 'hsl':\n\t\t\tval = cs.get.hsl(string);\n\t\t\tmodel = 'hsl';\n\t\t\tbreak;\n\t\tcase 'hwb':\n\t\t\tval = cs.get.hwb(string);\n\t\t\tmodel = 'hwb';\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tval = cs.get.rgb(string);\n\t\t\tmodel = 'rgb';\n\t\t\tbreak;\n\t}\n\n\tif (!val) {\n\t\treturn null;\n\t}\n\n\treturn {model: model, value: val};\n};\n\ncs.get.rgb = function (string) {\n\tif (!string) {\n\t\treturn null;\n\t}\n\n\tvar abbr = /^#([a-f0-9]{3,4})$/i;\n\tvar hex = /^#([a-f0-9]{6})([a-f0-9]{2})?$/i;\n\tvar rgba = /^rgba?\\(\\s*([+-]?\\d+)(?=[\\s,])\\s*(?:,\\s*)?([+-]?\\d+)(?=[\\s,])\\s*(?:,\\s*)?([+-]?\\d+)\\s*(?:[,|\\/]\\s*([+-]?[\\d\\.]+)(%?)\\s*)?\\)$/;\n\tvar per = /^rgba?\\(\\s*([+-]?[\\d\\.]+)\\%\\s*,?\\s*([+-]?[\\d\\.]+)\\%\\s*,?\\s*([+-]?[\\d\\.]+)\\%\\s*(?:[,|\\/]\\s*([+-]?[\\d\\.]+)(%?)\\s*)?\\)$/;\n\tvar keyword = /^(\\w+)$/;\n\n\tvar rgb = [0, 0, 0, 1];\n\tvar match;\n\tvar i;\n\tvar hexAlpha;\n\n\tif (match = string.match(hex)) {\n\t\thexAlpha = match[2];\n\t\tmatch = match[1];\n\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\t// https://jsperf.com/slice-vs-substr-vs-substring-methods-long-string/19\n\t\t\tvar i2 = i * 2;\n\t\t\trgb[i] = parseInt(match.slice(i2, i2 + 2), 16);\n\t\t}\n\n\t\tif (hexAlpha) {\n\t\t\trgb[3] = parseInt(hexAlpha, 16) / 255;\n\t\t}\n\t} else if (match = string.match(abbr)) {\n\t\tmatch = match[1];\n\t\thexAlpha = match[3];\n\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\trgb[i] = parseInt(match[i] + match[i], 16);\n\t\t}\n\n\t\tif (hexAlpha) {\n\t\t\trgb[3] = parseInt(hexAlpha + hexAlpha, 16) / 255;\n\t\t}\n\t} else if (match = string.match(rgba)) {\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\trgb[i] = parseInt(match[i + 1], 0);\n\t\t}\n\n\t\tif (match[4]) {\n\t\t\tif (match[5]) {\n\t\t\t\trgb[3] = parseFloat(match[4]) * 0.01;\n\t\t\t} else {\n\t\t\t\trgb[3] = parseFloat(match[4]);\n\t\t\t}\n\t\t}\n\t} else if (match = string.match(per)) {\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\trgb[i] = Math.round(parseFloat(match[i + 1]) * 2.55);\n\t\t}\n\n\t\tif (match[4]) {\n\t\t\tif (match[5]) {\n\t\t\t\trgb[3] = parseFloat(match[4]) * 0.01;\n\t\t\t} else {\n\t\t\t\trgb[3] = parseFloat(match[4]);\n\t\t\t}\n\t\t}\n\t} else if (match = string.match(keyword)) {\n\t\tif (match[1] === 'transparent') {\n\t\t\treturn [0, 0, 0, 0];\n\t\t}\n\n\t\tif (!hasOwnProperty.call(colorNames, match[1])) {\n\t\t\treturn null;\n\t\t}\n\n\t\trgb = colorNames[match[1]];\n\t\trgb[3] = 1;\n\n\t\treturn rgb;\n\t} else {\n\t\treturn null;\n\t}\n\n\tfor (i = 0; i < 3; i++) {\n\t\trgb[i] = clamp(rgb[i], 0, 255);\n\t}\n\trgb[3] = clamp(rgb[3], 0, 1);\n\n\treturn rgb;\n};\n\ncs.get.hsl = function (string) {\n\tif (!string) {\n\t\treturn null;\n\t}\n\n\tvar hsl = /^hsla?\\(\\s*([+-]?(?:\\d{0,3}\\.)?\\d+)(?:deg)?\\s*,?\\s*([+-]?[\\d\\.]+)%\\s*,?\\s*([+-]?[\\d\\.]+)%\\s*(?:[,|\\/]\\s*([+-]?(?=\\.\\d|\\d)(?:0|[1-9]\\d*)?(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)\\s*)?\\)$/;\n\tvar match = string.match(hsl);\n\n\tif (match) {\n\t\tvar alpha = parseFloat(match[4]);\n\t\tvar h = ((parseFloat(match[1]) % 360) + 360) % 360;\n\t\tvar s = clamp(parseFloat(match[2]), 0, 100);\n\t\tvar l = clamp(parseFloat(match[3]), 0, 100);\n\t\tvar a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);\n\n\t\treturn [h, s, l, a];\n\t}\n\n\treturn null;\n};\n\ncs.get.hwb = function (string) {\n\tif (!string) {\n\t\treturn null;\n\t}\n\n\tvar hwb = /^hwb\\(\\s*([+-]?\\d{0,3}(?:\\.\\d+)?)(?:deg)?\\s*,\\s*([+-]?[\\d\\.]+)%\\s*,\\s*([+-]?[\\d\\.]+)%\\s*(?:,\\s*([+-]?(?=\\.\\d|\\d)(?:0|[1-9]\\d*)?(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)\\s*)?\\)$/;\n\tvar match = string.match(hwb);\n\n\tif (match) {\n\t\tvar alpha = parseFloat(match[4]);\n\t\tvar h = ((parseFloat(match[1]) % 360) + 360) % 360;\n\t\tvar w = clamp(parseFloat(match[2]), 0, 100);\n\t\tvar b = clamp(parseFloat(match[3]), 0, 100);\n\t\tvar a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);\n\t\treturn [h, w, b, a];\n\t}\n\n\treturn null;\n};\n\ncs.to.hex = function () {\n\tvar rgba = swizzle(arguments);\n\n\treturn (\n\t\t'#' +\n\t\thexDouble(rgba[0]) +\n\t\thexDouble(rgba[1]) +\n\t\thexDouble(rgba[2]) +\n\t\t(rgba[3] < 1\n\t\t\t? (hexDouble(Math.round(rgba[3] * 255)))\n\t\t\t: '')\n\t);\n};\n\ncs.to.rgb = function () {\n\tvar rgba = swizzle(arguments);\n\n\treturn rgba.length < 4 || rgba[3] === 1\n\t\t? 'rgb(' + Math.round(rgba[0]) + ', ' + Math.round(rgba[1]) + ', ' + Math.round(rgba[2]) + ')'\n\t\t: 'rgba(' + Math.round(rgba[0]) + ', ' + Math.round(rgba[1]) + ', ' + Math.round(rgba[2]) + ', ' + rgba[3] + ')';\n};\n\ncs.to.rgb.percent = function () {\n\tvar rgba = swizzle(arguments);\n\n\tvar r = Math.round(rgba[0] / 255 * 100);\n\tvar g = Math.round(rgba[1] / 255 * 100);\n\tvar b = Math.round(rgba[2] / 255 * 100);\n\n\treturn rgba.length < 4 || rgba[3] === 1\n\t\t? 'rgb(' + r + '%, ' + g + '%, ' + b + '%)'\n\t\t: 'rgba(' + r + '%, ' + g + '%, ' + b + '%, ' + rgba[3] + ')';\n};\n\ncs.to.hsl = function () {\n\tvar hsla = swizzle(arguments);\n\treturn hsla.length < 4 || hsla[3] === 1\n\t\t? 'hsl(' + hsla[0] + ', ' + hsla[1] + '%, ' + hsla[2] + '%)'\n\t\t: 'hsla(' + hsla[0] + ', ' + hsla[1] + '%, ' + hsla[2] + '%, ' + hsla[3] + ')';\n};\n\n// hwb is a bit different than rgb(a) & hsl(a) since there is no alpha specific syntax\n// (hwb have alpha optional & 1 is default value)\ncs.to.hwb = function () {\n\tvar hwba = swizzle(arguments);\n\n\tvar a = '';\n\tif (hwba.length >= 4 && hwba[3] !== 1) {\n\t\ta = ', ' + hwba[3];\n\t}\n\n\treturn 'hwb(' + hwba[0] + ', ' + hwba[1] + '%, ' + hwba[2] + '%' + a + ')';\n};\n\ncs.to.keyword = function (rgb) {\n\treturn reverseNames[rgb.slice(0, 3)];\n};\n\n// helpers\nfunction clamp(num, min, max) {\n\treturn Math.min(Math.max(min, num), max);\n}\n\nfunction hexDouble(num) {\n\tvar str = Math.round(num).toString(16).toUpperCase();\n\treturn (str.length < 2) ? '0' + str : str;\n}\n","/* MIT license */\n/* eslint-disable no-mixed-operators */\nconst cssKeywords = require('color-name');\n\n// NOTE: conversions should only return primitive values (i.e. arrays, or\n// values that give correct `typeof` results).\n// do not use box values types (i.e. Number(), String(), etc.)\n\nconst reverseKeywords = {};\nfor (const key of Object.keys(cssKeywords)) {\n\treverseKeywords[cssKeywords[key]] = key;\n}\n\nconst convert = {\n\trgb: {channels: 3, labels: 'rgb'},\n\thsl: {channels: 3, labels: 'hsl'},\n\thsv: {channels: 3, labels: 'hsv'},\n\thwb: {channels: 3, labels: 'hwb'},\n\tcmyk: {channels: 4, labels: 'cmyk'},\n\txyz: {channels: 3, labels: 'xyz'},\n\tlab: {channels: 3, labels: 'lab'},\n\tlch: {channels: 3, labels: 'lch'},\n\thex: {channels: 1, labels: ['hex']},\n\tkeyword: {channels: 1, labels: ['keyword']},\n\tansi16: {channels: 1, labels: ['ansi16']},\n\tansi256: {channels: 1, labels: ['ansi256']},\n\thcg: {channels: 3, labels: ['h', 'c', 'g']},\n\tapple: {channels: 3, labels: ['r16', 'g16', 'b16']},\n\tgray: {channels: 1, labels: ['gray']}\n};\n\nmodule.exports = convert;\n\n// Hide .channels and .labels properties\nfor (const model of Object.keys(convert)) {\n\tif (!('channels' in convert[model])) {\n\t\tthrow new Error('missing channels property: ' + model);\n\t}\n\n\tif (!('labels' in convert[model])) {\n\t\tthrow new Error('missing channel labels property: ' + model);\n\t}\n\n\tif (convert[model].labels.length !== convert[model].channels) {\n\t\tthrow new Error('channel and label counts mismatch: ' + model);\n\t}\n\n\tconst {channels, labels} = convert[model];\n\tdelete convert[model].channels;\n\tdelete convert[model].labels;\n\tObject.defineProperty(convert[model], 'channels', {value: channels});\n\tObject.defineProperty(convert[model], 'labels', {value: labels});\n}\n\nconvert.rgb.hsl = function (rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst min = Math.min(r, g, b);\n\tconst max = Math.max(r, g, b);\n\tconst delta = max - min;\n\tlet h;\n\tlet s;\n\n\tif (max === min) {\n\t\th = 0;\n\t} else if (r === max) {\n\t\th = (g - b) / delta;\n\t} else if (g === max) {\n\t\th = 2 + (b - r) / delta;\n\t} else if (b === max) {\n\t\th = 4 + (r - g) / delta;\n\t}\n\n\th = Math.min(h * 60, 360);\n\n\tif (h < 0) {\n\t\th += 360;\n\t}\n\n\tconst l = (min + max) / 2;\n\n\tif (max === min) {\n\t\ts = 0;\n\t} else if (l <= 0.5) {\n\t\ts = delta / (max + min);\n\t} else {\n\t\ts = delta / (2 - max - min);\n\t}\n\n\treturn [h, s * 100, l * 100];\n};\n\nconvert.rgb.hsv = function (rgb) {\n\tlet rdif;\n\tlet gdif;\n\tlet bdif;\n\tlet h;\n\tlet s;\n\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst v = Math.max(r, g, b);\n\tconst diff = v - Math.min(r, g, b);\n\tconst diffc = function (c) {\n\t\treturn (v - c) / 6 / diff + 1 / 2;\n\t};\n\n\tif (diff === 0) {\n\t\th = 0;\n\t\ts = 0;\n\t} else {\n\t\ts = diff / v;\n\t\trdif = diffc(r);\n\t\tgdif = diffc(g);\n\t\tbdif = diffc(b);\n\n\t\tif (r === v) {\n\t\t\th = bdif - gdif;\n\t\t} else if (g === v) {\n\t\t\th = (1 / 3) + rdif - bdif;\n\t\t} else if (b === v) {\n\t\t\th = (2 / 3) + gdif - rdif;\n\t\t}\n\n\t\tif (h < 0) {\n\t\t\th += 1;\n\t\t} else if (h > 1) {\n\t\t\th -= 1;\n\t\t}\n\t}\n\n\treturn [\n\t\th * 360,\n\t\ts * 100,\n\t\tv * 100\n\t];\n};\n\nconvert.rgb.hwb = function (rgb) {\n\tconst r = rgb[0];\n\tconst g = rgb[1];\n\tlet b = rgb[2];\n\tconst h = convert.rgb.hsl(rgb)[0];\n\tconst w = 1 / 255 * Math.min(r, Math.min(g, b));\n\n\tb = 1 - 1 / 255 * Math.max(r, Math.max(g, b));\n\n\treturn [h, w * 100, b * 100];\n};\n\nconvert.rgb.cmyk = function (rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\n\tconst k = Math.min(1 - r, 1 - g, 1 - b);\n\tconst c = (1 - r - k) / (1 - k) || 0;\n\tconst m = (1 - g - k) / (1 - k) || 0;\n\tconst y = (1 - b - k) / (1 - k) || 0;\n\n\treturn [c * 100, m * 100, y * 100, k * 100];\n};\n\nfunction comparativeDistance(x, y) {\n\t/*\n\t\tSee https://en.m.wikipedia.org/wiki/Euclidean_distance#Squared_Euclidean_distance\n\t*/\n\treturn (\n\t\t((x[0] - y[0]) ** 2) +\n\t\t((x[1] - y[1]) ** 2) +\n\t\t((x[2] - y[2]) ** 2)\n\t);\n}\n\nconvert.rgb.keyword = function (rgb) {\n\tconst reversed = reverseKeywords[rgb];\n\tif (reversed) {\n\t\treturn reversed;\n\t}\n\n\tlet currentClosestDistance = Infinity;\n\tlet currentClosestKeyword;\n\n\tfor (const keyword of Object.keys(cssKeywords)) {\n\t\tconst value = cssKeywords[keyword];\n\n\t\t// Compute comparative distance\n\t\tconst distance = comparativeDistance(rgb, value);\n\n\t\t// Check if its less, if so set as closest\n\t\tif (distance < currentClosestDistance) {\n\t\t\tcurrentClosestDistance = distance;\n\t\t\tcurrentClosestKeyword = keyword;\n\t\t}\n\t}\n\n\treturn currentClosestKeyword;\n};\n\nconvert.keyword.rgb = function (keyword) {\n\treturn cssKeywords[keyword];\n};\n\nconvert.rgb.xyz = function (rgb) {\n\tlet r = rgb[0] / 255;\n\tlet g = rgb[1] / 255;\n\tlet b = rgb[2] / 255;\n\n\t// Assume sRGB\n\tr = r > 0.04045 ? (((r + 0.055) / 1.055) ** 2.4) : (r / 12.92);\n\tg = g > 0.04045 ? (((g + 0.055) / 1.055) ** 2.4) : (g / 12.92);\n\tb = b > 0.04045 ? (((b + 0.055) / 1.055) ** 2.4) : (b / 12.92);\n\n\tconst x = (r * 0.4124) + (g * 0.3576) + (b * 0.1805);\n\tconst y = (r * 0.2126) + (g * 0.7152) + (b * 0.0722);\n\tconst z = (r * 0.0193) + (g * 0.1192) + (b * 0.9505);\n\n\treturn [x * 100, y * 100, z * 100];\n};\n\nconvert.rgb.lab = function (rgb) {\n\tconst xyz = convert.rgb.xyz(rgb);\n\tlet x = xyz[0];\n\tlet y = xyz[1];\n\tlet z = xyz[2];\n\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\n\tx = x > 0.008856 ? (x ** (1 / 3)) : (7.787 * x) + (16 / 116);\n\ty = y > 0.008856 ? (y ** (1 / 3)) : (7.787 * y) + (16 / 116);\n\tz = z > 0.008856 ? (z ** (1 / 3)) : (7.787 * z) + (16 / 116);\n\n\tconst l = (116 * y) - 16;\n\tconst a = 500 * (x - y);\n\tconst b = 200 * (y - z);\n\n\treturn [l, a, b];\n};\n\nconvert.hsl.rgb = function (hsl) {\n\tconst h = hsl[0] / 360;\n\tconst s = hsl[1] / 100;\n\tconst l = hsl[2] / 100;\n\tlet t2;\n\tlet t3;\n\tlet val;\n\n\tif (s === 0) {\n\t\tval = l * 255;\n\t\treturn [val, val, val];\n\t}\n\n\tif (l < 0.5) {\n\t\tt2 = l * (1 + s);\n\t} else {\n\t\tt2 = l + s - l * s;\n\t}\n\n\tconst t1 = 2 * l - t2;\n\n\tconst rgb = [0, 0, 0];\n\tfor (let i = 0; i < 3; i++) {\n\t\tt3 = h + 1 / 3 * -(i - 1);\n\t\tif (t3 < 0) {\n\t\t\tt3++;\n\t\t}\n\n\t\tif (t3 > 1) {\n\t\t\tt3--;\n\t\t}\n\n\t\tif (6 * t3 < 1) {\n\t\t\tval = t1 + (t2 - t1) * 6 * t3;\n\t\t} else if (2 * t3 < 1) {\n\t\t\tval = t2;\n\t\t} else if (3 * t3 < 2) {\n\t\t\tval = t1 + (t2 - t1) * (2 / 3 - t3) * 6;\n\t\t} else {\n\t\t\tval = t1;\n\t\t}\n\n\t\trgb[i] = val * 255;\n\t}\n\n\treturn rgb;\n};\n\nconvert.hsl.hsv = function (hsl) {\n\tconst h = hsl[0];\n\tlet s = hsl[1] / 100;\n\tlet l = hsl[2] / 100;\n\tlet smin = s;\n\tconst lmin = Math.max(l, 0.01);\n\n\tl *= 2;\n\ts *= (l <= 1) ? l : 2 - l;\n\tsmin *= lmin <= 1 ? lmin : 2 - lmin;\n\tconst v = (l + s) / 2;\n\tconst sv = l === 0 ? (2 * smin) / (lmin + smin) : (2 * s) / (l + s);\n\n\treturn [h, sv * 100, v * 100];\n};\n\nconvert.hsv.rgb = function (hsv) {\n\tconst h = hsv[0] / 60;\n\tconst s = hsv[1] / 100;\n\tlet v = hsv[2] / 100;\n\tconst hi = Math.floor(h) % 6;\n\n\tconst f = h - Math.floor(h);\n\tconst p = 255 * v * (1 - s);\n\tconst q = 255 * v * (1 - (s * f));\n\tconst t = 255 * v * (1 - (s * (1 - f)));\n\tv *= 255;\n\n\tswitch (hi) {\n\t\tcase 0:\n\t\t\treturn [v, t, p];\n\t\tcase 1:\n\t\t\treturn [q, v, p];\n\t\tcase 2:\n\t\t\treturn [p, v, t];\n\t\tcase 3:\n\t\t\treturn [p, q, v];\n\t\tcase 4:\n\t\t\treturn [t, p, v];\n\t\tcase 5:\n\t\t\treturn [v, p, q];\n\t}\n};\n\nconvert.hsv.hsl = function (hsv) {\n\tconst h = hsv[0];\n\tconst s = hsv[1] / 100;\n\tconst v = hsv[2] / 100;\n\tconst vmin = Math.max(v, 0.01);\n\tlet sl;\n\tlet l;\n\n\tl = (2 - s) * v;\n\tconst lmin = (2 - s) * vmin;\n\tsl = s * vmin;\n\tsl /= (lmin <= 1) ? lmin : 2 - lmin;\n\tsl = sl || 0;\n\tl /= 2;\n\n\treturn [h, sl * 100, l * 100];\n};\n\n// http://dev.w3.org/csswg/css-color/#hwb-to-rgb\nconvert.hwb.rgb = function (hwb) {\n\tconst h = hwb[0] / 360;\n\tlet wh = hwb[1] / 100;\n\tlet bl = hwb[2] / 100;\n\tconst ratio = wh + bl;\n\tlet f;\n\n\t// Wh + bl cant be > 1\n\tif (ratio > 1) {\n\t\twh /= ratio;\n\t\tbl /= ratio;\n\t}\n\n\tconst i = Math.floor(6 * h);\n\tconst v = 1 - bl;\n\tf = 6 * h - i;\n\n\tif ((i & 0x01) !== 0) {\n\t\tf = 1 - f;\n\t}\n\n\tconst n = wh + f * (v - wh); // Linear interpolation\n\n\tlet r;\n\tlet g;\n\tlet b;\n\t/* eslint-disable max-statements-per-line,no-multi-spaces */\n\tswitch (i) {\n\t\tdefault:\n\t\tcase 6:\n\t\tcase 0: r = v; g = n; b = wh; break;\n\t\tcase 1: r = n; g = v; b = wh; break;\n\t\tcase 2: r = wh; g = v; b = n; break;\n\t\tcase 3: r = wh; g = n; b = v; break;\n\t\tcase 4: r = n; g = wh; b = v; break;\n\t\tcase 5: r = v; g = wh; b = n; break;\n\t}\n\t/* eslint-enable max-statements-per-line,no-multi-spaces */\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.cmyk.rgb = function (cmyk) {\n\tconst c = cmyk[0] / 100;\n\tconst m = cmyk[1] / 100;\n\tconst y = cmyk[2] / 100;\n\tconst k = cmyk[3] / 100;\n\n\tconst r = 1 - Math.min(1, c * (1 - k) + k);\n\tconst g = 1 - Math.min(1, m * (1 - k) + k);\n\tconst b = 1 - Math.min(1, y * (1 - k) + k);\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.xyz.rgb = function (xyz) {\n\tconst x = xyz[0] / 100;\n\tconst y = xyz[1] / 100;\n\tconst z = xyz[2] / 100;\n\tlet r;\n\tlet g;\n\tlet b;\n\n\tr = (x * 3.2406) + (y * -1.5372) + (z * -0.4986);\n\tg = (x * -0.9689) + (y * 1.8758) + (z * 0.0415);\n\tb = (x * 0.0557) + (y * -0.2040) + (z * 1.0570);\n\n\t// Assume sRGB\n\tr = r > 0.0031308\n\t\t? ((1.055 * (r ** (1.0 / 2.4))) - 0.055)\n\t\t: r * 12.92;\n\n\tg = g > 0.0031308\n\t\t? ((1.055 * (g ** (1.0 / 2.4))) - 0.055)\n\t\t: g * 12.92;\n\n\tb = b > 0.0031308\n\t\t? ((1.055 * (b ** (1.0 / 2.4))) - 0.055)\n\t\t: b * 12.92;\n\n\tr = Math.min(Math.max(0, r), 1);\n\tg = Math.min(Math.max(0, g), 1);\n\tb = Math.min(Math.max(0, b), 1);\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.xyz.lab = function (xyz) {\n\tlet x = xyz[0];\n\tlet y = xyz[1];\n\tlet z = xyz[2];\n\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\n\tx = x > 0.008856 ? (x ** (1 / 3)) : (7.787 * x) + (16 / 116);\n\ty = y > 0.008856 ? (y ** (1 / 3)) : (7.787 * y) + (16 / 116);\n\tz = z > 0.008856 ? (z ** (1 / 3)) : (7.787 * z) + (16 / 116);\n\n\tconst l = (116 * y) - 16;\n\tconst a = 500 * (x - y);\n\tconst b = 200 * (y - z);\n\n\treturn [l, a, b];\n};\n\nconvert.lab.xyz = function (lab) {\n\tconst l = lab[0];\n\tconst a = lab[1];\n\tconst b = lab[2];\n\tlet x;\n\tlet y;\n\tlet z;\n\n\ty = (l + 16) / 116;\n\tx = a / 500 + y;\n\tz = y - b / 200;\n\n\tconst y2 = y ** 3;\n\tconst x2 = x ** 3;\n\tconst z2 = z ** 3;\n\ty = y2 > 0.008856 ? y2 : (y - 16 / 116) / 7.787;\n\tx = x2 > 0.008856 ? x2 : (x - 16 / 116) / 7.787;\n\tz = z2 > 0.008856 ? z2 : (z - 16 / 116) / 7.787;\n\n\tx *= 95.047;\n\ty *= 100;\n\tz *= 108.883;\n\n\treturn [x, y, z];\n};\n\nconvert.lab.lch = function (lab) {\n\tconst l = lab[0];\n\tconst a = lab[1];\n\tconst b = lab[2];\n\tlet h;\n\n\tconst hr = Math.atan2(b, a);\n\th = hr * 360 / 2 / Math.PI;\n\n\tif (h < 0) {\n\t\th += 360;\n\t}\n\n\tconst c = Math.sqrt(a * a + b * b);\n\n\treturn [l, c, h];\n};\n\nconvert.lch.lab = function (lch) {\n\tconst l = lch[0];\n\tconst c = lch[1];\n\tconst h = lch[2];\n\n\tconst hr = h / 360 * 2 * Math.PI;\n\tconst a = c * Math.cos(hr);\n\tconst b = c * Math.sin(hr);\n\n\treturn [l, a, b];\n};\n\nconvert.rgb.ansi16 = function (args, saturation = null) {\n\tconst [r, g, b] = args;\n\tlet value = saturation === null ? convert.rgb.hsv(args)[2] : saturation; // Hsv -> ansi16 optimization\n\n\tvalue = Math.round(value / 50);\n\n\tif (value === 0) {\n\t\treturn 30;\n\t}\n\n\tlet ansi = 30\n\t\t+ ((Math.round(b / 255) << 2)\n\t\t| (Math.round(g / 255) << 1)\n\t\t| Math.round(r / 255));\n\n\tif (value === 2) {\n\t\tansi += 60;\n\t}\n\n\treturn ansi;\n};\n\nconvert.hsv.ansi16 = function (args) {\n\t// Optimization here; we already know the value and don't need to get\n\t// it converted for us.\n\treturn convert.rgb.ansi16(convert.hsv.rgb(args), args[2]);\n};\n\nconvert.rgb.ansi256 = function (args) {\n\tconst r = args[0];\n\tconst g = args[1];\n\tconst b = args[2];\n\n\t// We use the extended greyscale palette here, with the exception of\n\t// black and white. normal palette only has 4 greyscale shades.\n\tif (r === g && g === b) {\n\t\tif (r < 8) {\n\t\t\treturn 16;\n\t\t}\n\n\t\tif (r > 248) {\n\t\t\treturn 231;\n\t\t}\n\n\t\treturn Math.round(((r - 8) / 247) * 24) + 232;\n\t}\n\n\tconst ansi = 16\n\t\t+ (36 * Math.round(r / 255 * 5))\n\t\t+ (6 * Math.round(g / 255 * 5))\n\t\t+ Math.round(b / 255 * 5);\n\n\treturn ansi;\n};\n\nconvert.ansi16.rgb = function (args) {\n\tlet color = args % 10;\n\n\t// Handle greyscale\n\tif (color === 0 || color === 7) {\n\t\tif (args > 50) {\n\t\t\tcolor += 3.5;\n\t\t}\n\n\t\tcolor = color / 10.5 * 255;\n\n\t\treturn [color, color, color];\n\t}\n\n\tconst mult = (~~(args > 50) + 1) * 0.5;\n\tconst r = ((color & 1) * mult) * 255;\n\tconst g = (((color >> 1) & 1) * mult) * 255;\n\tconst b = (((color >> 2) & 1) * mult) * 255;\n\n\treturn [r, g, b];\n};\n\nconvert.ansi256.rgb = function (args) {\n\t// Handle greyscale\n\tif (args >= 232) {\n\t\tconst c = (args - 232) * 10 + 8;\n\t\treturn [c, c, c];\n\t}\n\n\targs -= 16;\n\n\tlet rem;\n\tconst r = Math.floor(args / 36) / 5 * 255;\n\tconst g = Math.floor((rem = args % 36) / 6) / 5 * 255;\n\tconst b = (rem % 6) / 5 * 255;\n\n\treturn [r, g, b];\n};\n\nconvert.rgb.hex = function (args) {\n\tconst integer = ((Math.round(args[0]) & 0xFF) << 16)\n\t\t+ ((Math.round(args[1]) & 0xFF) << 8)\n\t\t+ (Math.round(args[2]) & 0xFF);\n\n\tconst string = integer.toString(16).toUpperCase();\n\treturn '000000'.substring(string.length) + string;\n};\n\nconvert.hex.rgb = function (args) {\n\tconst match = args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);\n\tif (!match) {\n\t\treturn [0, 0, 0];\n\t}\n\n\tlet colorString = match[0];\n\n\tif (match[0].length === 3) {\n\t\tcolorString = colorString.split('').map(char => {\n\t\t\treturn char + char;\n\t\t}).join('');\n\t}\n\n\tconst integer = parseInt(colorString, 16);\n\tconst r = (integer >> 16) & 0xFF;\n\tconst g = (integer >> 8) & 0xFF;\n\tconst b = integer & 0xFF;\n\n\treturn [r, g, b];\n};\n\nconvert.rgb.hcg = function (rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst max = Math.max(Math.max(r, g), b);\n\tconst min = Math.min(Math.min(r, g), b);\n\tconst chroma = (max - min);\n\tlet grayscale;\n\tlet hue;\n\n\tif (chroma < 1) {\n\t\tgrayscale = min / (1 - chroma);\n\t} else {\n\t\tgrayscale = 0;\n\t}\n\n\tif (chroma <= 0) {\n\t\thue = 0;\n\t} else\n\tif (max === r) {\n\t\thue = ((g - b) / chroma) % 6;\n\t} else\n\tif (max === g) {\n\t\thue = 2 + (b - r) / chroma;\n\t} else {\n\t\thue = 4 + (r - g) / chroma;\n\t}\n\n\thue /= 6;\n\thue %= 1;\n\n\treturn [hue * 360, chroma * 100, grayscale * 100];\n};\n\nconvert.hsl.hcg = function (hsl) {\n\tconst s = hsl[1] / 100;\n\tconst l = hsl[2] / 100;\n\n\tconst c = l < 0.5 ? (2.0 * s * l) : (2.0 * s * (1.0 - l));\n\n\tlet f = 0;\n\tif (c < 1.0) {\n\t\tf = (l - 0.5 * c) / (1.0 - c);\n\t}\n\n\treturn [hsl[0], c * 100, f * 100];\n};\n\nconvert.hsv.hcg = function (hsv) {\n\tconst s = hsv[1] / 100;\n\tconst v = hsv[2] / 100;\n\n\tconst c = s * v;\n\tlet f = 0;\n\n\tif (c < 1.0) {\n\t\tf = (v - c) / (1 - c);\n\t}\n\n\treturn [hsv[0], c * 100, f * 100];\n};\n\nconvert.hcg.rgb = function (hcg) {\n\tconst h = hcg[0] / 360;\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\n\tif (c === 0.0) {\n\t\treturn [g * 255, g * 255, g * 255];\n\t}\n\n\tconst pure = [0, 0, 0];\n\tconst hi = (h % 1) * 6;\n\tconst v = hi % 1;\n\tconst w = 1 - v;\n\tlet mg = 0;\n\n\t/* eslint-disable max-statements-per-line */\n\tswitch (Math.floor(hi)) {\n\t\tcase 0:\n\t\t\tpure[0] = 1; pure[1] = v; pure[2] = 0; break;\n\t\tcase 1:\n\t\t\tpure[0] = w; pure[1] = 1; pure[2] = 0; break;\n\t\tcase 2:\n\t\t\tpure[0] = 0; pure[1] = 1; pure[2] = v; break;\n\t\tcase 3:\n\t\t\tpure[0] = 0; pure[1] = w; pure[2] = 1; break;\n\t\tcase 4:\n\t\t\tpure[0] = v; pure[1] = 0; pure[2] = 1; break;\n\t\tdefault:\n\t\t\tpure[0] = 1; pure[1] = 0; pure[2] = w;\n\t}\n\t/* eslint-enable max-statements-per-line */\n\n\tmg = (1.0 - c) * g;\n\n\treturn [\n\t\t(c * pure[0] + mg) * 255,\n\t\t(c * pure[1] + mg) * 255,\n\t\t(c * pure[2] + mg) * 255\n\t];\n};\n\nconvert.hcg.hsv = function (hcg) {\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\n\tconst v = c + g * (1.0 - c);\n\tlet f = 0;\n\n\tif (v > 0.0) {\n\t\tf = c / v;\n\t}\n\n\treturn [hcg[0], f * 100, v * 100];\n};\n\nconvert.hcg.hsl = function (hcg) {\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\n\tconst l = g * (1.0 - c) + 0.5 * c;\n\tlet s = 0;\n\n\tif (l > 0.0 && l < 0.5) {\n\t\ts = c / (2 * l);\n\t} else\n\tif (l >= 0.5 && l < 1.0) {\n\t\ts = c / (2 * (1 - l));\n\t}\n\n\treturn [hcg[0], s * 100, l * 100];\n};\n\nconvert.hcg.hwb = function (hcg) {\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\tconst v = c + g * (1.0 - c);\n\treturn [hcg[0], (v - c) * 100, (1 - v) * 100];\n};\n\nconvert.hwb.hcg = function (hwb) {\n\tconst w = hwb[1] / 100;\n\tconst b = hwb[2] / 100;\n\tconst v = 1 - b;\n\tconst c = v - w;\n\tlet g = 0;\n\n\tif (c < 1) {\n\t\tg = (v - c) / (1 - c);\n\t}\n\n\treturn [hwb[0], c * 100, g * 100];\n};\n\nconvert.apple.rgb = function (apple) {\n\treturn [(apple[0] / 65535) * 255, (apple[1] / 65535) * 255, (apple[2] / 65535) * 255];\n};\n\nconvert.rgb.apple = function (rgb) {\n\treturn [(rgb[0] / 255) * 65535, (rgb[1] / 255) * 65535, (rgb[2] / 255) * 65535];\n};\n\nconvert.gray.rgb = function (args) {\n\treturn [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255];\n};\n\nconvert.gray.hsl = function (args) {\n\treturn [0, 0, args[0]];\n};\n\nconvert.gray.hsv = convert.gray.hsl;\n\nconvert.gray.hwb = function (gray) {\n\treturn [0, 100, gray[0]];\n};\n\nconvert.gray.cmyk = function (gray) {\n\treturn [0, 0, 0, gray[0]];\n};\n\nconvert.gray.lab = function (gray) {\n\treturn [gray[0], 0, 0];\n};\n\nconvert.gray.hex = function (gray) {\n\tconst val = Math.round(gray[0] / 100 * 255) & 0xFF;\n\tconst integer = (val << 16) + (val << 8) + val;\n\n\tconst string = integer.toString(16).toUpperCase();\n\treturn '000000'.substring(string.length) + string;\n};\n\nconvert.rgb.gray = function (rgb) {\n\tconst val = (rgb[0] + rgb[1] + rgb[2]) / 3;\n\treturn [val / 255 * 100];\n};\n","const conversions = require('./conversions');\n\n/*\n\tThis function routes a model to all other models.\n\n\tall functions that are routed have a property `.conversion` attached\n\tto the returned synthetic function. This property is an array\n\tof strings, each with the steps in between the 'from' and 'to'\n\tcolor models (inclusive).\n\n\tconversions that are not possible simply are not included.\n*/\n\nfunction buildGraph() {\n\tconst graph = {};\n\t// https://jsperf.com/object-keys-vs-for-in-with-closure/3\n\tconst models = Object.keys(conversions);\n\n\tfor (let len = models.length, i = 0; i < len; i++) {\n\t\tgraph[models[i]] = {\n\t\t\t// http://jsperf.com/1-vs-infinity\n\t\t\t// micro-opt, but this is simple.\n\t\t\tdistance: -1,\n\t\t\tparent: null\n\t\t};\n\t}\n\n\treturn graph;\n}\n\n// https://en.wikipedia.org/wiki/Breadth-first_search\nfunction deriveBFS(fromModel) {\n\tconst graph = buildGraph();\n\tconst queue = [fromModel]; // Unshift -> queue -> pop\n\n\tgraph[fromModel].distance = 0;\n\n\twhile (queue.length) {\n\t\tconst current = queue.pop();\n\t\tconst adjacents = Object.keys(conversions[current]);\n\n\t\tfor (let len = adjacents.length, i = 0; i < len; i++) {\n\t\t\tconst adjacent = adjacents[i];\n\t\t\tconst node = graph[adjacent];\n\n\t\t\tif (node.distance === -1) {\n\t\t\t\tnode.distance = graph[current].distance + 1;\n\t\t\t\tnode.parent = current;\n\t\t\t\tqueue.unshift(adjacent);\n\t\t\t}\n\t\t}\n\t}\n\n\treturn graph;\n}\n\nfunction link(from, to) {\n\treturn function (args) {\n\t\treturn to(from(args));\n\t};\n}\n\nfunction wrapConversion(toModel, graph) {\n\tconst path = [graph[toModel].parent, toModel];\n\tlet fn = conversions[graph[toModel].parent][toModel];\n\n\tlet cur = graph[toModel].parent;\n\twhile (graph[cur].parent) {\n\t\tpath.unshift(graph[cur].parent);\n\t\tfn = link(conversions[graph[cur].parent][cur], fn);\n\t\tcur = graph[cur].parent;\n\t}\n\n\tfn.conversion = path;\n\treturn fn;\n}\n\nmodule.exports = function (fromModel) {\n\tconst graph = deriveBFS(fromModel);\n\tconst conversion = {};\n\n\tconst models = Object.keys(graph);\n\tfor (let len = models.length, i = 0; i < len; i++) {\n\t\tconst toModel = models[i];\n\t\tconst node = graph[toModel];\n\n\t\tif (node.parent === null) {\n\t\t\t// No possible conversion, or this node is the source model.\n\t\t\tcontinue;\n\t\t}\n\n\t\tconversion[toModel] = wrapConversion(toModel, graph);\n\t}\n\n\treturn conversion;\n};\n\n","const conversions = require('./conversions');\nconst route = require('./route');\n\nconst convert = {};\n\nconst models = Object.keys(conversions);\n\nfunction wrapRaw(fn) {\n\tconst wrappedFn = function (...args) {\n\t\tconst arg0 = args[0];\n\t\tif (arg0 === undefined || arg0 === null) {\n\t\t\treturn arg0;\n\t\t}\n\n\t\tif (arg0.length > 1) {\n\t\t\targs = arg0;\n\t\t}\n\n\t\treturn fn(args);\n\t};\n\n\t// Preserve .conversion property if there is one\n\tif ('conversion' in fn) {\n\t\twrappedFn.conversion = fn.conversion;\n\t}\n\n\treturn wrappedFn;\n}\n\nfunction wrapRounded(fn) {\n\tconst wrappedFn = function (...args) {\n\t\tconst arg0 = args[0];\n\n\t\tif (arg0 === undefined || arg0 === null) {\n\t\t\treturn arg0;\n\t\t}\n\n\t\tif (arg0.length > 1) {\n\t\t\targs = arg0;\n\t\t}\n\n\t\tconst result = fn(args);\n\n\t\t// We're assuming the result is an array here.\n\t\t// see notice in conversions.js; don't use box types\n\t\t// in conversion functions.\n\t\tif (typeof result === 'object') {\n\t\t\tfor (let len = result.length, i = 0; i < len; i++) {\n\t\t\t\tresult[i] = Math.round(result[i]);\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t};\n\n\t// Preserve .conversion property if there is one\n\tif ('conversion' in fn) {\n\t\twrappedFn.conversion = fn.conversion;\n\t}\n\n\treturn wrappedFn;\n}\n\nmodels.forEach(fromModel => {\n\tconvert[fromModel] = {};\n\n\tObject.defineProperty(convert[fromModel], 'channels', {value: conversions[fromModel].channels});\n\tObject.defineProperty(convert[fromModel], 'labels', {value: conversions[fromModel].labels});\n\n\tconst routes = route(fromModel);\n\tconst routeModels = Object.keys(routes);\n\n\trouteModels.forEach(toModel => {\n\t\tconst fn = routes[toModel];\n\n\t\tconvert[fromModel][toModel] = wrapRounded(fn);\n\t\tconvert[fromModel][toModel].raw = wrapRaw(fn);\n\t});\n});\n\nmodule.exports = convert;\n","const colorString = require('color-string');\nconst convert = require('color-convert');\n\nconst skippedModels = [\n\t// To be honest, I don't really feel like keyword belongs in color convert, but eh.\n\t'keyword',\n\n\t// Gray conflicts with some method names, and has its own method defined.\n\t'gray',\n\n\t// Shouldn't really be in color-convert either...\n\t'hex',\n];\n\nconst hashedModelKeys = {};\nfor (const model of Object.keys(convert)) {\n\thashedModelKeys[[...convert[model].labels].sort().join('')] = model;\n}\n\nconst limiters = {};\n\nfunction Color(object, model) {\n\tif (!(this instanceof Color)) {\n\t\treturn new Color(object, model);\n\t}\n\n\tif (model && model in skippedModels) {\n\t\tmodel = null;\n\t}\n\n\tif (model && !(model in convert)) {\n\t\tthrow new Error('Unknown model: ' + model);\n\t}\n\n\tlet i;\n\tlet channels;\n\n\tif (object == null) { // eslint-disable-line no-eq-null,eqeqeq\n\t\tthis.model = 'rgb';\n\t\tthis.color = [0, 0, 0];\n\t\tthis.valpha = 1;\n\t} else if (object instanceof Color) {\n\t\tthis.model = object.model;\n\t\tthis.color = [...object.color];\n\t\tthis.valpha = object.valpha;\n\t} else if (typeof object === 'string') {\n\t\tconst result = colorString.get(object);\n\t\tif (result === null) {\n\t\t\tthrow new Error('Unable to parse color from string: ' + object);\n\t\t}\n\n\t\tthis.model = result.model;\n\t\tchannels = convert[this.model].channels;\n\t\tthis.color = result.value.slice(0, channels);\n\t\tthis.valpha = typeof result.value[channels] === 'number' ? result.value[channels] : 1;\n\t} else if (object.length > 0) {\n\t\tthis.model = model || 'rgb';\n\t\tchannels = convert[this.model].channels;\n\t\tconst newArray = Array.prototype.slice.call(object, 0, channels);\n\t\tthis.color = zeroArray(newArray, channels);\n\t\tthis.valpha = typeof object[channels] === 'number' ? object[channels] : 1;\n\t} else if (typeof object === 'number') {\n\t\t// This is always RGB - can be converted later on.\n\t\tthis.model = 'rgb';\n\t\tthis.color = [\n\t\t\t(object >> 16) & 0xFF,\n\t\t\t(object >> 8) & 0xFF,\n\t\t\tobject & 0xFF,\n\t\t];\n\t\tthis.valpha = 1;\n\t} else {\n\t\tthis.valpha = 1;\n\n\t\tconst keys = Object.keys(object);\n\t\tif ('alpha' in object) {\n\t\t\tkeys.splice(keys.indexOf('alpha'), 1);\n\t\t\tthis.valpha = typeof object.alpha === 'number' ? object.alpha : 0;\n\t\t}\n\n\t\tconst hashedKeys = keys.sort().join('');\n\t\tif (!(hashedKeys in hashedModelKeys)) {\n\t\t\tthrow new Error('Unable to parse color from object: ' + JSON.stringify(object));\n\t\t}\n\n\t\tthis.model = hashedModelKeys[hashedKeys];\n\n\t\tconst {labels} = convert[this.model];\n\t\tconst color = [];\n\t\tfor (i = 0; i < labels.length; i++) {\n\t\t\tcolor.push(object[labels[i]]);\n\t\t}\n\n\t\tthis.color = zeroArray(color);\n\t}\n\n\t// Perform limitations (clamping, etc.)\n\tif (limiters[this.model]) {\n\t\tchannels = convert[this.model].channels;\n\t\tfor (i = 0; i < channels; i++) {\n\t\t\tconst limit = limiters[this.model][i];\n\t\t\tif (limit) {\n\t\t\t\tthis.color[i] = limit(this.color[i]);\n\t\t\t}\n\t\t}\n\t}\n\n\tthis.valpha = Math.max(0, Math.min(1, this.valpha));\n\n\tif (Object.freeze) {\n\t\tObject.freeze(this);\n\t}\n}\n\nColor.prototype = {\n\ttoString() {\n\t\treturn this.string();\n\t},\n\n\ttoJSON() {\n\t\treturn this[this.model]();\n\t},\n\n\tstring(places) {\n\t\tlet self = this.model in colorString.to ? this : this.rgb();\n\t\tself = self.round(typeof places === 'number' ? places : 1);\n\t\tconst args = self.valpha === 1 ? self.color : [...self.color, this.valpha];\n\t\treturn colorString.to[self.model](args);\n\t},\n\n\tpercentString(places) {\n\t\tconst self = this.rgb().round(typeof places === 'number' ? places : 1);\n\t\tconst args = self.valpha === 1 ? self.color : [...self.color, this.valpha];\n\t\treturn colorString.to.rgb.percent(args);\n\t},\n\n\tarray() {\n\t\treturn this.valpha === 1 ? [...this.color] : [...this.color, this.valpha];\n\t},\n\n\tobject() {\n\t\tconst result = {};\n\t\tconst {channels} = convert[this.model];\n\t\tconst {labels} = convert[this.model];\n\n\t\tfor (let i = 0; i < channels; i++) {\n\t\t\tresult[labels[i]] = this.color[i];\n\t\t}\n\n\t\tif (this.valpha !== 1) {\n\t\t\tresult.alpha = this.valpha;\n\t\t}\n\n\t\treturn result;\n\t},\n\n\tunitArray() {\n\t\tconst rgb = this.rgb().color;\n\t\trgb[0] /= 255;\n\t\trgb[1] /= 255;\n\t\trgb[2] /= 255;\n\n\t\tif (this.valpha !== 1) {\n\t\t\trgb.push(this.valpha);\n\t\t}\n\n\t\treturn rgb;\n\t},\n\n\tunitObject() {\n\t\tconst rgb = this.rgb().object();\n\t\trgb.r /= 255;\n\t\trgb.g /= 255;\n\t\trgb.b /= 255;\n\n\t\tif (this.valpha !== 1) {\n\t\t\trgb.alpha = this.valpha;\n\t\t}\n\n\t\treturn rgb;\n\t},\n\n\tround(places) {\n\t\tplaces = Math.max(places || 0, 0);\n\t\treturn new Color([...this.color.map(roundToPlace(places)), this.valpha], this.model);\n\t},\n\n\talpha(value) {\n\t\tif (value !== undefined) {\n\t\t\treturn new Color([...this.color, Math.max(0, Math.min(1, value))], this.model);\n\t\t}\n\n\t\treturn this.valpha;\n\t},\n\n\t// Rgb\n\tred: getset('rgb', 0, maxfn(255)),\n\tgreen: getset('rgb', 1, maxfn(255)),\n\tblue: getset('rgb', 2, maxfn(255)),\n\n\thue: getset(['hsl', 'hsv', 'hsl', 'hwb', 'hcg'], 0, value => ((value % 360) + 360) % 360),\n\n\tsaturationl: getset('hsl', 1, maxfn(100)),\n\tlightness: getset('hsl', 2, maxfn(100)),\n\n\tsaturationv: getset('hsv', 1, maxfn(100)),\n\tvalue: getset('hsv', 2, maxfn(100)),\n\n\tchroma: getset('hcg', 1, maxfn(100)),\n\tgray: getset('hcg', 2, maxfn(100)),\n\n\twhite: getset('hwb', 1, maxfn(100)),\n\twblack: getset('hwb', 2, maxfn(100)),\n\n\tcyan: getset('cmyk', 0, maxfn(100)),\n\tmagenta: getset('cmyk', 1, maxfn(100)),\n\tyellow: getset('cmyk', 2, maxfn(100)),\n\tblack: getset('cmyk', 3, maxfn(100)),\n\n\tx: getset('xyz', 0, maxfn(95.047)),\n\ty: getset('xyz', 1, maxfn(100)),\n\tz: getset('xyz', 2, maxfn(108.833)),\n\n\tl: getset('lab', 0, maxfn(100)),\n\ta: getset('lab', 1),\n\tb: getset('lab', 2),\n\n\tkeyword(value) {\n\t\tif (value !== undefined) {\n\t\t\treturn new Color(value);\n\t\t}\n\n\t\treturn convert[this.model].keyword(this.color);\n\t},\n\n\thex(value) {\n\t\tif (value !== undefined) {\n\t\t\treturn new Color(value);\n\t\t}\n\n\t\treturn colorString.to.hex(this.rgb().round().color);\n\t},\n\n\thexa(value) {\n\t\tif (value !== undefined) {\n\t\t\treturn new Color(value);\n\t\t}\n\n\t\tconst rgbArray = this.rgb().round().color;\n\n\t\tlet alphaHex = Math.round(this.valpha * 255).toString(16).toUpperCase();\n\t\tif (alphaHex.length === 1) {\n\t\t\talphaHex = '0' + alphaHex;\n\t\t}\n\n\t\treturn colorString.to.hex(rgbArray) + alphaHex;\n\t},\n\n\trgbNumber() {\n\t\tconst rgb = this.rgb().color;\n\t\treturn ((rgb[0] & 0xFF) << 16) | ((rgb[1] & 0xFF) << 8) | (rgb[2] & 0xFF);\n\t},\n\n\tluminosity() {\n\t\t// http://www.w3.org/TR/WCAG20/#relativeluminancedef\n\t\tconst rgb = this.rgb().color;\n\n\t\tconst lum = [];\n\t\tfor (const [i, element] of rgb.entries()) {\n\t\t\tconst chan = element / 255;\n\t\t\tlum[i] = (chan <= 0.04045) ? chan / 12.92 : ((chan + 0.055) / 1.055) ** 2.4;\n\t\t}\n\n\t\treturn 0.2126 * lum[0] + 0.7152 * lum[1] + 0.0722 * lum[2];\n\t},\n\n\tcontrast(color2) {\n\t\t// http://www.w3.org/TR/WCAG20/#contrast-ratiodef\n\t\tconst lum1 = this.luminosity();\n\t\tconst lum2 = color2.luminosity();\n\n\t\tif (lum1 > lum2) {\n\t\t\treturn (lum1 + 0.05) / (lum2 + 0.05);\n\t\t}\n\n\t\treturn (lum2 + 0.05) / (lum1 + 0.05);\n\t},\n\n\tlevel(color2) {\n\t\t// https://www.w3.org/TR/WCAG/#contrast-enhanced\n\t\tconst contrastRatio = this.contrast(color2);\n\t\tif (contrastRatio >= 7) {\n\t\t\treturn 'AAA';\n\t\t}\n\n\t\treturn (contrastRatio >= 4.5) ? 'AA' : '';\n\t},\n\n\tisDark() {\n\t\t// YIQ equation from http://24ways.org/2010/calculating-color-contrast\n\t\tconst rgb = this.rgb().color;\n\t\tconst yiq = (rgb[0] * 2126 + rgb[1] * 7152 + rgb[2] * 722) / 10000;\n\t\treturn yiq < 128;\n\t},\n\n\tisLight() {\n\t\treturn !this.isDark();\n\t},\n\n\tnegate() {\n\t\tconst rgb = this.rgb();\n\t\tfor (let i = 0; i < 3; i++) {\n\t\t\trgb.color[i] = 255 - rgb.color[i];\n\t\t}\n\n\t\treturn rgb;\n\t},\n\n\tlighten(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[2] += hsl.color[2] * ratio;\n\t\treturn hsl;\n\t},\n\n\tdarken(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[2] -= hsl.color[2] * ratio;\n\t\treturn hsl;\n\t},\n\n\tsaturate(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[1] += hsl.color[1] * ratio;\n\t\treturn hsl;\n\t},\n\n\tdesaturate(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[1] -= hsl.color[1] * ratio;\n\t\treturn hsl;\n\t},\n\n\twhiten(ratio) {\n\t\tconst hwb = this.hwb();\n\t\thwb.color[1] += hwb.color[1] * ratio;\n\t\treturn hwb;\n\t},\n\n\tblacken(ratio) {\n\t\tconst hwb = this.hwb();\n\t\thwb.color[2] += hwb.color[2] * ratio;\n\t\treturn hwb;\n\t},\n\n\tgrayscale() {\n\t\t// http://en.wikipedia.org/wiki/Grayscale#Converting_color_to_grayscale\n\t\tconst rgb = this.rgb().color;\n\t\tconst value = rgb[0] * 0.3 + rgb[1] * 0.59 + rgb[2] * 0.11;\n\t\treturn Color.rgb(value, value, value);\n\t},\n\n\tfade(ratio) {\n\t\treturn this.alpha(this.valpha - (this.valpha * ratio));\n\t},\n\n\topaquer(ratio) {\n\t\treturn this.alpha(this.valpha + (this.valpha * ratio));\n\t},\n\n\trotate(degrees) {\n\t\tconst hsl = this.hsl();\n\t\tlet hue = hsl.color[0];\n\t\thue = (hue + degrees) % 360;\n\t\thue = hue < 0 ? 360 + hue : hue;\n\t\thsl.color[0] = hue;\n\t\treturn hsl;\n\t},\n\n\tmix(mixinColor, weight) {\n\t\t// Ported from sass implementation in C\n\t\t// https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209\n\t\tif (!mixinColor || !mixinColor.rgb) {\n\t\t\tthrow new Error('Argument to \"mix\" was not a Color instance, but rather an instance of ' + typeof mixinColor);\n\t\t}\n\n\t\tconst color1 = mixinColor.rgb();\n\t\tconst color2 = this.rgb();\n\t\tconst p = weight === undefined ? 0.5 : weight;\n\n\t\tconst w = 2 * p - 1;\n\t\tconst a = color1.alpha() - color2.alpha();\n\n\t\tconst w1 = (((w * a === -1) ? w : (w + a) / (1 + w * a)) + 1) / 2;\n\t\tconst w2 = 1 - w1;\n\n\t\treturn Color.rgb(\n\t\t\tw1 * color1.red() + w2 * color2.red(),\n\t\t\tw1 * color1.green() + w2 * color2.green(),\n\t\t\tw1 * color1.blue() + w2 * color2.blue(),\n\t\t\tcolor1.alpha() * p + color2.alpha() * (1 - p));\n\t},\n};\n\n// Model conversion methods and static constructors\nfor (const model of Object.keys(convert)) {\n\tif (skippedModels.includes(model)) {\n\t\tcontinue;\n\t}\n\n\tconst {channels} = convert[model];\n\n\t// Conversion methods\n\tColor.prototype[model] = function (...args) {\n\t\tif (this.model === model) {\n\t\t\treturn new Color(this);\n\t\t}\n\n\t\tif (args.length > 0) {\n\t\t\treturn new Color(args, model);\n\t\t}\n\n\t\treturn new Color([...assertArray(convert[this.model][model].raw(this.color)), this.valpha], model);\n\t};\n\n\t// 'static' construction methods\n\tColor[model] = function (...args) {\n\t\tlet color = args[0];\n\t\tif (typeof color === 'number') {\n\t\t\tcolor = zeroArray(args, channels);\n\t\t}\n\n\t\treturn new Color(color, model);\n\t};\n}\n\nfunction roundTo(number, places) {\n\treturn Number(number.toFixed(places));\n}\n\nfunction roundToPlace(places) {\n\treturn function (number) {\n\t\treturn roundTo(number, places);\n\t};\n}\n\nfunction getset(model, channel, modifier) {\n\tmodel = Array.isArray(model) ? model : [model];\n\n\tfor (const m of model) {\n\t\t(limiters[m] || (limiters[m] = []))[channel] = modifier;\n\t}\n\n\tmodel = model[0];\n\n\treturn function (value) {\n\t\tlet result;\n\n\t\tif (value !== undefined) {\n\t\t\tif (modifier) {\n\t\t\t\tvalue = modifier(value);\n\t\t\t}\n\n\t\t\tresult = this[model]();\n\t\t\tresult.color[channel] = value;\n\t\t\treturn result;\n\t\t}\n\n\t\tresult = this[model]().color[channel];\n\t\tif (modifier) {\n\t\t\tresult = modifier(result);\n\t\t}\n\n\t\treturn result;\n\t};\n}\n\nfunction maxfn(max) {\n\treturn function (v) {\n\t\treturn Math.max(0, Math.min(max, v));\n\t};\n}\n\nfunction assertArray(value) {\n\treturn Array.isArray(value) ? value : [value];\n}\n\nfunction zeroArray(array, length) {\n\tfor (let i = 0; i < length; i++) {\n\t\tif (typeof array[i] !== 'number') {\n\t\t\tarray[i] = 0;\n\t\t}\n\t}\n\n\treturn array;\n}\n\nmodule.exports = Color;\n","// randomColor by David Merfield under the CC0 license\n// https://github.com/davidmerfield/randomColor/\n\n;(function(root, factory) {\n\n // Support CommonJS\n if (typeof exports === 'object') {\n var randomColor = factory();\n\n // Support NodeJS & Component, which allow module.exports to be a function\n if (typeof module === 'object' && module && module.exports) {\n exports = module.exports = randomColor;\n }\n\n // Support CommonJS 1.1.1 spec\n exports.randomColor = randomColor;\n\n // Support AMD\n } else if (typeof define === 'function' && define.amd) {\n define([], factory);\n\n // Support vanilla script loading\n } else {\n root.randomColor = factory();\n }\n\n}(this, function() {\n\n // Seed to get repeatable colors\n var seed = null;\n\n // Shared color dictionary\n var colorDictionary = {};\n\n // Populate the color dictionary\n loadColorBounds();\n\n // check if a range is taken\n var colorRanges = [];\n\n var randomColor = function (options) {\n\n options = options || {};\n\n // Check if there is a seed and ensure it's an\n // integer. Otherwise, reset the seed value.\n if (options.seed !== undefined && options.seed !== null && options.seed === parseInt(options.seed, 10)) {\n seed = options.seed;\n\n // A string was passed as a seed\n } else if (typeof options.seed === 'string') {\n seed = stringToInteger(options.seed);\n\n // Something was passed as a seed but it wasn't an integer or string\n } else if (options.seed !== undefined && options.seed !== null) {\n throw new TypeError('The seed value must be an integer or string');\n\n // No seed, reset the value outside.\n } else {\n seed = null;\n }\n\n var H,S,B;\n\n // Check if we need to generate multiple colors\n if (options.count !== null && options.count !== undefined) {\n\n var totalColors = options.count,\n colors = [];\n // Value false at index i means the range i is not taken yet.\n for (var i = 0; i < options.count; i++) {\n colorRanges.push(false)\n }\n options.count = null;\n\n while (totalColors > colors.length) {\n\n var color = randomColor(options);\n\n if (seed !== null) {\n options.seed = seed;\n }\n\n colors.push(color);\n }\n\n options.count = totalColors;\n\n return colors;\n }\n\n // First we pick a hue (H)\n H = pickHue(options);\n\n // Then use H to determine saturation (S)\n S = pickSaturation(H, options);\n\n // Then use S and H to determine brightness (B).\n B = pickBrightness(H, S, options);\n\n // Then we return the HSB color in the desired format\n return setFormat([H,S,B], options);\n };\n\n function pickHue(options) {\n if (colorRanges.length > 0) {\n var hueRange = getRealHueRange(options.hue)\n\n var hue = randomWithin(hueRange)\n\n //Each of colorRanges.length ranges has a length equal approximatelly one step\n var step = (hueRange[1] - hueRange[0]) / colorRanges.length\n\n var j = parseInt((hue - hueRange[0]) / step)\n\n //Check if the range j is taken\n if (colorRanges[j] === true) {\n j = (j + 2) % colorRanges.length\n }\n else {\n colorRanges[j] = true\n }\n\n var min = (hueRange[0] + j * step) % 359,\n max = (hueRange[0] + (j + 1) * step) % 359;\n\n hueRange = [min, max]\n\n hue = randomWithin(hueRange)\n\n if (hue < 0) {hue = 360 + hue;}\n return hue\n }\n else {\n var hueRange = getHueRange(options.hue)\n\n hue = randomWithin(hueRange);\n // Instead of storing red as two seperate ranges,\n // we group them, using negative numbers\n if (hue < 0) {\n hue = 360 + hue;\n }\n\n return hue;\n }\n }\n\n function pickSaturation (hue, options) {\n\n if (options.hue === 'monochrome') {\n return 0;\n }\n\n if (options.luminosity === 'random') {\n return randomWithin([0,100]);\n }\n\n var saturationRange = getSaturationRange(hue);\n\n var sMin = saturationRange[0],\n sMax = saturationRange[1];\n\n switch (options.luminosity) {\n\n case 'bright':\n sMin = 55;\n break;\n\n case 'dark':\n sMin = sMax - 10;\n break;\n\n case 'light':\n sMax = 55;\n break;\n }\n\n return randomWithin([sMin, sMax]);\n\n }\n\n function pickBrightness (H, S, options) {\n\n var bMin = getMinimumBrightness(H, S),\n bMax = 100;\n\n switch (options.luminosity) {\n\n case 'dark':\n bMax = bMin + 20;\n break;\n\n case 'light':\n bMin = (bMax + bMin)/2;\n break;\n\n case 'random':\n bMin = 0;\n bMax = 100;\n break;\n }\n\n return randomWithin([bMin, bMax]);\n }\n\n function setFormat (hsv, options) {\n\n switch (options.format) {\n\n case 'hsvArray':\n return hsv;\n\n case 'hslArray':\n return HSVtoHSL(hsv);\n\n case 'hsl':\n var hsl = HSVtoHSL(hsv);\n return 'hsl('+hsl[0]+', '+hsl[1]+'%, '+hsl[2]+'%)';\n\n case 'hsla':\n var hslColor = HSVtoHSL(hsv);\n var alpha = options.alpha || Math.random();\n return 'hsla('+hslColor[0]+', '+hslColor[1]+'%, '+hslColor[2]+'%, ' + alpha + ')';\n\n case 'rgbArray':\n return HSVtoRGB(hsv);\n\n case 'rgb':\n var rgb = HSVtoRGB(hsv);\n return 'rgb(' + rgb.join(', ') + ')';\n\n case 'rgba':\n var rgbColor = HSVtoRGB(hsv);\n var alpha = options.alpha || Math.random();\n return 'rgba(' + rgbColor.join(', ') + ', ' + alpha + ')';\n\n default:\n return HSVtoHex(hsv);\n }\n\n }\n\n function getMinimumBrightness(H, S) {\n\n var lowerBounds = getColorInfo(H).lowerBounds;\n\n for (var i = 0; i < lowerBounds.length - 1; i++) {\n\n var s1 = lowerBounds[i][0],\n v1 = lowerBounds[i][1];\n\n var s2 = lowerBounds[i+1][0],\n v2 = lowerBounds[i+1][1];\n\n if (S >= s1 && S <= s2) {\n\n var m = (v2 - v1)/(s2 - s1),\n b = v1 - m*s1;\n\n return m*S + b;\n }\n\n }\n\n return 0;\n }\n\n function getHueRange (colorInput) {\n\n if (typeof parseInt(colorInput) === 'number') {\n\n var number = parseInt(colorInput);\n\n if (number < 360 && number > 0) {\n return [number, number];\n }\n\n }\n\n if (typeof colorInput === 'string') {\n\n if (colorDictionary[colorInput]) {\n var color = colorDictionary[colorInput];\n if (color.hueRange) {return color.hueRange;}\n } else if (colorInput.match(/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i)) {\n var hue = HexToHSB(colorInput)[0];\n return [ hue, hue ];\n }\n }\n\n return [0,360];\n\n }\n\n function getSaturationRange (hue) {\n return getColorInfo(hue).saturationRange;\n }\n\n function getColorInfo (hue) {\n\n // Maps red colors to make picking hue easier\n if (hue >= 334 && hue <= 360) {\n hue-= 360;\n }\n\n for (var colorName in colorDictionary) {\n var color = colorDictionary[colorName];\n if (color.hueRange &&\n hue >= color.hueRange[0] &&\n hue <= color.hueRange[1]) {\n return colorDictionary[colorName];\n }\n } return 'Color not found';\n }\n\n function randomWithin (range) {\n if (seed === null) {\n //generate random evenly destinct number from : https://martin.ankerl.com/2009/12/09/how-to-create-random-colors-programmatically/\n var golden_ratio = 0.618033988749895\n var r=Math.random()\n r += golden_ratio\n r %= 1\n return Math.floor(range[0] + r*(range[1] + 1 - range[0]));\n } else {\n //Seeded random algorithm from http://indiegamr.com/generate-repeatable-random-numbers-in-js/\n var max = range[1] || 1;\n var min = range[0] || 0;\n seed = (seed * 9301 + 49297) % 233280;\n var rnd = seed / 233280.0;\n return Math.floor(min + rnd * (max - min));\n}\n }\n\n function HSVtoHex (hsv){\n\n var rgb = HSVtoRGB(hsv);\n\n function componentToHex(c) {\n var hex = c.toString(16);\n return hex.length == 1 ? '0' + hex : hex;\n }\n\n var hex = '#' + componentToHex(rgb[0]) + componentToHex(rgb[1]) + componentToHex(rgb[2]);\n\n return hex;\n\n }\n\n function defineColor (name, hueRange, lowerBounds) {\n\n var sMin = lowerBounds[0][0],\n sMax = lowerBounds[lowerBounds.length - 1][0],\n\n bMin = lowerBounds[lowerBounds.length - 1][1],\n bMax = lowerBounds[0][1];\n\n colorDictionary[name] = {\n hueRange: hueRange,\n lowerBounds: lowerBounds,\n saturationRange: [sMin, sMax],\n brightnessRange: [bMin, bMax]\n };\n\n }\n\n function loadColorBounds () {\n\n defineColor(\n 'monochrome',\n null,\n [[0,0],[100,0]]\n );\n\n defineColor(\n 'red',\n [-26,18],\n [[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]\n );\n\n defineColor(\n 'orange',\n [18,46],\n [[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]\n );\n\n defineColor(\n 'yellow',\n [46,62],\n [[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]\n );\n\n defineColor(\n 'green',\n [62,178],\n [[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]\n );\n\n defineColor(\n 'blue',\n [178, 257],\n [[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]\n );\n\n defineColor(\n 'purple',\n [257, 282],\n [[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]\n );\n\n defineColor(\n 'pink',\n [282, 334],\n [[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]\n );\n\n }\n\n function HSVtoRGB (hsv) {\n\n // this doesn't work for the values of 0 and 360\n // here's the hacky fix\n var h = hsv[0];\n if (h === 0) {h = 1;}\n if (h === 360) {h = 359;}\n\n // Rebase the h,s,v values\n h = h/360;\n var s = hsv[1]/100,\n v = hsv[2]/100;\n\n var h_i = Math.floor(h*6),\n f = h * 6 - h_i,\n p = v * (1 - s),\n q = v * (1 - f*s),\n t = v * (1 - (1 - f)*s),\n r = 256,\n g = 256,\n b = 256;\n\n switch(h_i) {\n case 0: r = v; g = t; b = p; break;\n case 1: r = q; g = v; b = p; break;\n case 2: r = p; g = v; b = t; break;\n case 3: r = p; g = q; b = v; break;\n case 4: r = t; g = p; b = v; break;\n case 5: r = v; g = p; b = q; break;\n }\n\n var result = [Math.floor(r*255), Math.floor(g*255), Math.floor(b*255)];\n return result;\n }\n\n function HexToHSB (hex) {\n hex = hex.replace(/^#/, '');\n hex = hex.length === 3 ? hex.replace(/(.)/g, '$1$1') : hex;\n\n var red = parseInt(hex.substr(0, 2), 16) / 255,\n green = parseInt(hex.substr(2, 2), 16) / 255,\n blue = parseInt(hex.substr(4, 2), 16) / 255;\n\n var cMax = Math.max(red, green, blue),\n delta = cMax - Math.min(red, green, blue),\n saturation = cMax ? (delta / cMax) : 0;\n\n switch (cMax) {\n case red: return [ 60 * (((green - blue) / delta) % 6) || 0, saturation, cMax ];\n case green: return [ 60 * (((blue - red) / delta) + 2) || 0, saturation, cMax ];\n case blue: return [ 60 * (((red - green) / delta) + 4) || 0, saturation, cMax ];\n }\n }\n\n function HSVtoHSL (hsv) {\n var h = hsv[0],\n s = hsv[1]/100,\n v = hsv[2]/100,\n k = (2-s)*v;\n\n return [\n h,\n Math.round(s*v / (k<1 ? k : 2-k) * 10000) / 100,\n k/2 * 100\n ];\n }\n\n function stringToInteger (string) {\n var total = 0\n for (var i = 0; i !== string.length; i++) {\n if (total >= Number.MAX_SAFE_INTEGER) break;\n total += string.charCodeAt(i)\n }\n return total\n }\n\n // get The range of given hue when options.count!=0\n function getRealHueRange(colorHue)\n { if (!isNaN(colorHue)) {\n var number = parseInt(colorHue);\n\n if (number < 360 && number > 0) {\n return getColorInfo(colorHue).hueRange\n }\n }\n else if (typeof colorHue === 'string') {\n\n if (colorDictionary[colorHue]) {\n var color = colorDictionary[colorHue];\n\n if (color.hueRange) {\n return color.hueRange\n }\n } else if (colorHue.match(/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i)) {\n var hue = HexToHSB(colorHue)[0]\n return getColorInfo(hue).hueRange\n }\n }\n\n return [0,360]\n}\n return randomColor;\n}));\n","import Color from \"color\";\nimport randomColor from \"randomcolor\";\nimport { useCallback, useEffect, useState } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport { useSearchParams } from \"react-router-dom\";\nimport * as yorkie from \"yorkie-js-sdk\";\nimport { selectAuth } from \"../store/authSlice\";\nimport { CodePairDocType } from \"../store/editorSlice\";\nimport { YorkieCodeMirrorDocType, YorkieCodeMirrorPresenceType } from \"../utils/yorkie/yorkieSync\";\n\nconst YORKIE_API_ADDR = import.meta.env.VITE_YORKIE_API_ADDR;\nconst YORKIE_API_KEY = import.meta.env.VITE_YORKIE_API_KEY;\n\nyorkie.setLogLevel(4);\n\nexport const useYorkieDocument = (\n\tyorkieDocumentId?: string | null,\n\tpresenceName?: string | null\n) => {\n\tconst [searchParams] = useSearchParams();\n\tconst authStore = useSelector(selectAuth);\n\tconst [client, setClient] = useState(null);\n\tconst [doc, setDoc] = useState(null);\n\n\tconst getYorkieToken = useCallback(() => {\n\t\tconst shareToken = searchParams.get(\"token\");\n\t\treturn shareToken ? `share:${shareToken}` : `default:${authStore.accessToken}`;\n\t}, [authStore.accessToken, searchParams]);\n\n\tconst createYorkieClient = useCallback(\n\t\tasync (yorkieToken: string) => {\n\t\t\tconst syncLoopDuration = Number(searchParams.get(\"syncLoopDuration\")) || 200;\n\t\t\tconst newClient = new yorkie.Client(YORKIE_API_ADDR, {\n\t\t\t\tapiKey: YORKIE_API_KEY,\n\t\t\t\ttoken: yorkieToken,\n\t\t\t\tsyncLoopDuration,\n\t\t\t});\n\t\t\tawait newClient.activate();\n\t\t\treturn newClient;\n\t\t},\n\t\t[searchParams]\n\t);\n\n\tconst createYorkieDocument = useCallback(\n\t\t(client: yorkie.Client, yorkieDocumentId: string, presenceName: string) => {\n\t\t\tconst newDocument = new yorkie.Document<\n\t\t\t\tYorkieCodeMirrorDocType,\n\t\t\t\tYorkieCodeMirrorPresenceType\n\t\t\t>(yorkieDocumentId, { enableDevtools: false });\n\t\t\treturn client.attach(newDocument, {\n\t\t\t\tinitialPresence: {\n\t\t\t\t\tname: presenceName,\n\t\t\t\t\tcolor: Color(randomColor()).fade(0.15).toString(),\n\t\t\t\t\tselection: null,\n\t\t\t\t\tcursor: null,\n\t\t\t\t},\n\t\t\t});\n\t\t},\n\t\t[]\n\t);\n\n\tconst cleanUpYorkieDocument = useCallback(async () => {\n\t\tif (!client || !doc) return;\n\n\t\ttry {\n\t\t\tawait client.detach(doc);\n\t\t\tawait client.deactivate();\n\t\t} catch (error) {\n\t\t\tconsole.error(\"Error during Yorkie cleanup:\", error);\n\t\t}\n\t}, [client, doc]);\n\n\tuseEffect(() => {\n\t\tlet mounted = true;\n\t\tif (!yorkieDocumentId || !presenceName || doc || client) return;\n\n\t\tconst initializeYorkie = async () => {\n\t\t\ttry {\n\t\t\t\tconst yorkieToken = getYorkieToken();\n\t\t\t\tconst newClient = await createYorkieClient(yorkieToken);\n\t\t\t\tconst newDoc = await createYorkieDocument(\n\t\t\t\t\tnewClient,\n\t\t\t\t\tyorkieDocumentId,\n\t\t\t\t\tpresenceName\n\t\t\t\t);\n\n\t\t\t\t// Clean up if the component is unmounted before the initialization is done\n\t\t\t\tif (!mounted) {\n\t\t\t\t\tawait newClient.detach(newDoc);\n\t\t\t\t\tawait newClient.deactivate();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tsetClient(newClient);\n\t\t\t\tsetDoc(newDoc);\n\t\t\t\t// Expose the document to the window for debugging purposes\n\t\t\t\twindow.doc = newDoc;\n\t\t\t} catch (error) {\n\t\t\t\tconsole.error(\"Error initializing Yorkie: \", error);\n\t\t\t}\n\t\t};\n\n\t\tinitializeYorkie();\n\n\t\treturn () => {\n\t\t\tmounted = false;\n\t\t};\n\t}, [\n\t\tpresenceName,\n\t\tyorkieDocumentId,\n\t\tdoc,\n\t\tclient,\n\t\tgetYorkieToken,\n\t\tcreateYorkieClient,\n\t\tcreateYorkieDocument,\n\t]);\n\n\tuseEffect(() => {\n\t\treturn () => {\n\t\t\tcleanUpYorkieDocument();\n\t\t};\n\t}, [cleanUpYorkieDocument]);\n\n\treturn { client, doc };\n};\n","import { useEffect } from \"react\";\nimport { setClient, setDoc } from \"../../../store/editorSlice\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { Backdrop, Box, CircularProgress } from \"@mui/material\";\nimport { useParams } from \"react-router-dom\";\nimport { selectUser } from \"../../../store/userSlice\";\nimport { useGetDocumentQuery } from \"../../../hooks/api/workspaceDocument\";\nimport { useGetWorkspaceQuery } from \"../../../hooks/api/workspace\";\nimport DocumentView from \"../../../components/editor/DocumentView\";\nimport { useYorkieDocument } from \"../../../hooks/useYorkieDocument\";\n\nfunction DocumentIndex() {\n\tconst dispatch = useDispatch();\n\tconst params = useParams();\n\n\tconst userStore = useSelector(selectUser);\n\tconst { data: workspace, isLoading: isWorkspaceLoading } = useGetWorkspaceQuery(\n\t\tparams.workspaceSlug\n\t);\n\tconst { data: document, isLoading: isDocumentLoading } = useGetDocumentQuery(\n\t\tworkspace?.id,\n\t\tparams.documentId\n\t);\n\tconst { doc, client } = useYorkieDocument(document?.yorkieDocumentId, userStore.data?.nickname);\n\n\tuseEffect(() => {\n\t\tif (!doc || !client) return;\n\n\t\tdispatch(setDoc(doc));\n\t\tdispatch(setClient(client));\n\n\t\treturn () => {\n\t\t\tdispatch(setDoc(null));\n\t\t\tdispatch(setClient(null));\n\t\t};\n\t}, [dispatch, client, doc]);\n\n\tif (isDocumentLoading || isWorkspaceLoading) {\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t);\n\t}\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\n\t);\n}\n\nexport default DocumentIndex;\n","import { useQuery } from \"@tanstack/react-query\";\nimport axios from \"axios\";\nimport { GetDocumentBySharingTokenResponse } from \"./types/document\";\nimport { useDispatch } from \"react-redux\";\nimport { useEffect } from \"react\";\nimport { setDocumentData } from \"../../store/documentSlice\";\n\nexport const generateGetDocumentBySharingTokenQueryKey = (sharingToken: string) => {\n\treturn [\"documents\", \"share\", sharingToken];\n};\n\nexport const useGetDocumentBySharingTokenQuery = (sharingToken?: string | null) => {\n\tconst dispatch = useDispatch();\n\tconst query = useQuery({\n\t\tqueryKey: generateGetDocumentBySharingTokenQueryKey(sharingToken || \"\"),\n\t\tenabled: Boolean(sharingToken),\n\t\tqueryFn: async () => {\n\t\t\tconst res = await axios.get(\"/documents/share\", {\n\t\t\t\tparams: {\n\t\t\t\t\ttoken: sharingToken,\n\t\t\t\t},\n\t\t\t});\n\t\t\treturn res.data;\n\t\t},\n\t\tmeta: {\n\t\t\terrorMessage: \"This is a non-existent or expired document.\",\n\t\t},\n\t});\n\n\tuseEffect(() => {\n\t\tif (query.data) {\n\t\t\tdispatch(setDocumentData(query.data));\n\t\t}\n\n\t\treturn () => {\n\t\t\tdispatch(setDocumentData(null));\n\t\t};\n\t}, [dispatch, query.data]);\n\n\treturn query;\n};\n","import { Box } from \"@mui/material\";\nimport { useEffect, useMemo } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { Navigate, useLocation, useSearchParams } from \"react-router-dom\";\nimport DocumentView from \"../../../../components/editor/DocumentView\";\nimport { useGetDocumentBySharingTokenQuery } from \"../../../../hooks/api/document\";\nimport { useYorkieDocument } from \"../../../../hooks/useYorkieDocument\";\nimport {\n\tEditorModeType,\n\tsetClient,\n\tsetDoc,\n\tsetMode,\n\tsetShareRole,\n} from \"../../../../store/editorSlice\";\nimport { selectUser } from \"../../../../store/userSlice\";\nimport { ShareRole } from \"../../../../utils/share\";\n\nfunction DocumentShareIndex() {\n\tconst dispatch = useDispatch();\n\tconst location = useLocation();\n\tconst [searchParams] = useSearchParams();\n\tconst userStore = useSelector(selectUser);\n\tconst shareToken = useMemo(() => searchParams.get(\"token\"), [searchParams]);\n\tconst { data: sharedDocument } = useGetDocumentBySharingTokenQuery(shareToken);\n\tconst { doc, client } = useYorkieDocument(\n\t\tsharedDocument?.yorkieDocumentId,\n\t\tuserStore.data?.nickname ?? \"Anonymous\"\n\t);\n\n\tuseEffect(() => {\n\t\tif (!sharedDocument?.role) return;\n\n\t\tdispatch(setShareRole(sharedDocument.role));\n\n\t\tif (sharedDocument.role === ShareRole.READ) {\n\t\t\tdispatch(setMode(EditorModeType.READ));\n\t\t}\n\t}, [dispatch, sharedDocument?.role]);\n\n\tuseEffect(() => {\n\t\tif (!doc || !client) return;\n\n\t\tdispatch(setDoc(doc));\n\t\tdispatch(setClient(client));\n\n\t\treturn () => {\n\t\t\tdispatch(setDoc(null));\n\t\t\tdispatch(setClient(null));\n\t\t};\n\t}, [dispatch, client, doc]);\n\n\tif (!shareToken) return ;\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\n\t);\n}\n\nexport default DocumentShareIndex;\n","import { Backdrop, CircularProgress } from \"@mui/material\";\nimport { useNavigate, useParams } from \"react-router\";\nimport { useJoinWorkspaceMutation } from \"../../../hooks/api/workspace\";\nimport { useEffect } from \"react\";\n\nfunction JoinIndex() {\n\tconst params = useParams();\n\tconst navigate = useNavigate();\n\tconst { mutateAsync: joinWorkspace } = useJoinWorkspaceMutation();\n\n\tuseEffect(() => {\n\t\tif (!params.invitationToken) return;\n\n\t\tjoinWorkspace({ invitationToken: params.invitationToken }).then((data) => {\n\t\t\tnavigate(`/${data.slug}`);\n\t\t});\n\t}, [joinWorkspace, navigate, params.invitationToken]);\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\n\t);\n}\n\nexport default JoinIndex;\n","import { useInfiniteQuery } from \"@tanstack/react-query\";\nimport axios from \"axios\";\nimport { GetWorkspaceUserListResponse } from \"./types/workspaceUser\";\n\nexport const generateGetWorkspaceUserListQueryKey = (workspaceId: string) => {\n\treturn [\"workspaces\", workspaceId, \"users\"];\n};\n\nexport const useGetWorkspaceUserListQuery = (workspaceId?: string) => {\n\treturn useInfiniteQuery({\n\t\tqueryKey: generateGetWorkspaceUserListQueryKey(workspaceId || \"\"),\n\t\tqueryFn: async ({ pageParam }) => {\n\t\t\tconst res = await axios.get(\n\t\t\t\t`/workspaces/${workspaceId}/users`,\n\t\t\t\t{\n\t\t\t\t\tparams: {\n\t\t\t\t\t\tcursor: pageParam,\n\t\t\t\t\t},\n\t\t\t\t}\n\t\t\t);\n\t\t\treturn res.data;\n\t\t},\n\t\tenabled: Boolean(workspaceId),\n\t\tinitialPageParam: undefined,\n\t\tgetPreviousPageParam: (firstPage) => firstPage.cursor ?? undefined,\n\t\tgetNextPageParam: (lastPage) => lastPage.cursor ?? undefined,\n\t});\n};\n","import {\n\tBox,\n\tButton,\n\tFormControl,\n\tIconButton,\n\tModal,\n\tPaper,\n\tStack,\n\tTooltip,\n\tTypography,\n} from \"@mui/material\";\nimport CloseIcon from \"@mui/icons-material/Close\";\nimport { useCreateWorkspaceInvitationTokenMutation } from \"../../hooks/api/workspace\";\nimport { useState } from \"react\";\nimport { FormContainer, SelectElement } from \"react-hook-form-mui\";\nimport { invitationExpiredStringList } from \"../../utils/expire\";\nimport moment, { unitOfTime } from \"moment\";\nimport ContentCopyIcon from \"@mui/icons-material/ContentCopy\";\nimport clipboard from \"clipboardy\";\nimport { useSnackbar } from \"notistack\";\nimport { useSelector } from \"react-redux\";\nimport { selectWorkspace } from \"../../store/workspaceSlice\";\n\ninterface MemberModalProps {\n\topen: boolean;\n\tonClose: () => void;\n}\n\nfunction MemberModal(props: MemberModalProps) {\n\tconst { open, onClose } = props;\n\tconst workspaceStore = useSelector(selectWorkspace);\n\tconst { mutateAsync: createWorkspaceInvitationToken } =\n\t\tuseCreateWorkspaceInvitationTokenMutation(workspaceStore.data?.id || \"\");\n\tconst { enqueueSnackbar } = useSnackbar();\n\tconst [invitationUrl, setInvitationUrl] = useState(null);\n\n\tconst handleCreateInviteUrl = async (data: { expiredString: string }) => {\n\t\tlet addedTime: Date | null;\n\n\t\tif (data.expiredString === invitationExpiredStringList[0]) {\n\t\t\taddedTime = null;\n\t\t} else {\n\t\t\tconst [num, unit] = data.expiredString.split(\" \");\n\t\t\taddedTime = moment()\n\t\t\t\t.add(Number(num), unit as unitOfTime.DurationConstructor)\n\t\t\t\t.toDate();\n\t\t}\n\n\t\tconst { invitationToken } = await createWorkspaceInvitationToken({\n\t\t\texpiredAt: addedTime,\n\t\t});\n\n\t\tsetInvitationUrl(`${window.location.origin}/join/${invitationToken}`);\n\t};\n\n\tconst handleCopyInviteUrl = async () => {\n\t\tif (!invitationUrl) return;\n\n\t\tawait clipboard.write(invitationUrl);\n\t\tenqueueSnackbar(\"URL Copied!\", { variant: \"success\" });\n\t};\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tAdd Members\n\t\t\t\t\t\t\n\t\t\t\t\t\tGenerate and share the link.\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t ({\n\t\t\t\t\t\t\t\t\t\t\t\tid: expiredString,\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: expiredString,\n\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\tsize=\"small\"\n\t\t\t\t\t\t\t\t\t\tsx={{\n\t\t\t\t\t\t\t\t\t\t\twidth: 1,\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tInvite Link\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{invitationUrl ? (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{invitationUrl}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\tNo link has been generated.\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n}\n\nexport default MemberModal;\n","import { useParams } from \"react-router-dom\";\nimport { useGetWorkspaceQuery } from \"../../../hooks/api/workspace\";\nimport {\n\tBox,\n\tButton,\n\tCircularProgress,\n\tContainer,\n\tDivider,\n\tStack,\n\tTable,\n\tTableBody,\n\tTableCell,\n\tTableContainer,\n\tTableHead,\n\tTableRow,\n\tTypography,\n} from \"@mui/material\";\nimport InfiniteScroll from \"react-infinite-scroller\";\nimport { useGetWorkspaceUserListQuery } from \"../../../hooks/api/workspaceUser\";\nimport { useMemo, useState } from \"react\";\nimport AddIcon from \"@mui/icons-material/Add\";\nimport { User } from \"../../../hooks/api/types/user\";\nimport MemberModal from \"../../../components/modals/MemberModal\";\n\nfunction MemberIndex() {\n\tconst params = useParams();\n\tconst { data: workspace } = useGetWorkspaceQuery(params.workspaceSlug);\n\tconst {\n\t\tdata: workspaceUserPageList,\n\t\tfetchNextPage,\n\t\thasNextPage,\n\t} = useGetWorkspaceUserListQuery(workspace?.id);\n\tconst [memberModalOpen, setMemberModalOpen] = useState(false);\n\tconst userList = useMemo(() => {\n\t\treturn (\n\t\t\tworkspaceUserPageList?.pages.reduce((prev, page) => {\n\t\t\t\treturn prev.concat(page.workspaceUsers);\n\t\t\t}, [] as Array) ?? []\n\t\t);\n\t}, [workspaceUserPageList?.pages]);\n\n\tconst handleMemberModalOpen = () => {\n\t\tsetMemberModalOpen((prev) => !prev);\n\t};\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{workspace?.title}{\" \"}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{workspaceUserPageList?.pages[0].workspaceUsers.length}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t\tonClick={handleMemberModalOpen}\n\t\t\t\t\t>\n\t\t\t\t\t\tAdd Members\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t fetchNextPage()}\n\t\t\t\t\t\thasMore={hasNextPage}\n\t\t\t\t\t\tloader={\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\tuseWindow={false}\n\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t}}\n\t\t\t\t\t>\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tName\n\t\t\t\t\t\t\t\t\tRole\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{userList.map((row) => (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{row.nickname}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t-\n\t\t\t\t\t\t\t\t\t\t-\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t\t\n\t\t
\n\t);\n}\n\nexport default MemberIndex;\n","import CodePairError from \"./components/common/CodePairError\";\nimport GuestRoute from \"./components/common/GuestRoute\";\nimport PrivateRoute from \"./components/common/PrivateRoute\";\nimport DocumentLayout from \"./components/layouts/DocumentLayout\";\nimport MainLayout from \"./components/layouts/MainLayout\";\nimport SettingLayout from \"./components/layouts/SettingLayout\";\nimport WorkspaceLayout from \"./components/layouts/WorkspaceLayout\";\nimport Index from \"./pages/Index\";\nimport CallbackIndex from \"./pages/auth/callback/Index\";\nimport NotFound from \"./pages/error\";\nimport ProfileIndex from \"./pages/settings/profile/Index\";\nimport WorkspaceIndex from \"./pages/workspace/Index\";\nimport DocumentIndex from \"./pages/workspace/document/Index\";\nimport DocumentShareIndex from \"./pages/workspace/document/share/Index\";\nimport JoinIndex from \"./pages/workspace/join/Index\";\nimport MemberIndex from \"./pages/workspace/member/Index\";\n\ninterface CodePairRoute {\n\tpath: string;\n\taccessType?: AccessType;\n\telement: JSX.Element;\n\terrorElement?: JSX.Element;\n\tchildren?: {\n\t\tpath: string;\n\t\telement: JSX.Element;\n\t\taccessType?: AccessType;\n\t}[];\n}\n\nconst enum AccessType {\n\tPUBLIC, // Everyone can access (Default)\n\tPRIVATE, // Authorized user can access only\n\tGUEST, // Not authorized user can access only\n}\n\nconst codePairRoutes: Array = [\n\t{\n\t\tpath: \"\",\n\t\taccessType: AccessType.GUEST,\n\t\telement: ,\n\t\tchildren: [\n\t\t\t{\n\t\t\t\tpath: \"\",\n\t\t\t\telement: ,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tpath: \":workspaceSlug\",\n\t\taccessType: AccessType.PRIVATE,\n\t\telement: ,\n\t\tchildren: [\n\t\t\t{\n\t\t\t\tpath: \"\",\n\t\t\t\telement: ,\n\t\t\t},\n\t\t\t{\n\t\t\t\tpath: \"member\",\n\t\t\t\telement: ,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tpath: \":workspaceSlug\",\n\t\telement: ,\n\t\tchildren: [\n\t\t\t{\n\t\t\t\tpath: \":documentId\",\n\t\t\t\taccessType: AccessType.PRIVATE,\n\t\t\t\telement: ,\n\t\t\t},\n\t\t\t{\n\t\t\t\tpath: \":documentId/share\",\n\t\t\t\taccessType: AccessType.PUBLIC,\n\t\t\t\telement: ,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tpath: \"auth/callback\",\n\t\taccessType: AccessType.GUEST,\n\t\telement: ,\n\t},\n\t{\n\t\tpath: \"join/:invitationToken\",\n\t\taccessType: AccessType.PRIVATE,\n\t\telement: ,\n\t},\n\t{\n\t\tpath: \"/404\",\n\t\taccessType: AccessType.PUBLIC,\n\t\telement: ,\n\t},\n\t{\n\t\tpath: \"settings/profile\",\n\t\taccessType: AccessType.PRIVATE,\n\t\telement: ,\n\t\tchildren: [\n\t\t\t{\n\t\t\t\tpath: \"\",\n\t\t\t\telement: ,\n\t\t\t},\n\t\t],\n\t},\n];\n\nconst injectProtectedRoute = (routes: Array) => {\n\tconst injectProtectedComp = (route: CodePairRoute) => {\n\t\tif (route.accessType === AccessType.PRIVATE) {\n\t\t\troute.element = {route.element};\n\t\t} else if (route.accessType === AccessType.GUEST) {\n\t\t\troute.element = {route.element};\n\t\t}\n\n\t\treturn route;\n\t};\n\n\treturn routes.map((route) => {\n\t\troute = injectProtectedComp(route);\n\n\t\tif (route?.children) {\n\t\t\troute.children = route.children.map((route) => injectProtectedComp(route));\n\t\t}\n\n\t\troute.errorElement = ;\n\n\t\treturn route;\n\t});\n};\n\nexport const routes = injectProtectedRoute(codePairRoutes);\n","import { AxiosError } from \"axios\";\n\nexport const isAxios404Error = (error: unknown): boolean => {\n\treturn error instanceof AxiosError && error.response?.status === 404;\n};\n\nexport const isAxios500Error = (error: unknown): boolean => {\n\treturn error instanceof AxiosError && error.response?.status === 500;\n};\n","import \"@fontsource/roboto/300.css\";\nimport \"@fontsource/roboto/400.css\";\nimport \"@fontsource/roboto/500.css\";\nimport \"@fontsource/roboto/700.css\";\nimport { Box, CssBaseline, ThemeProvider, createTheme, useMediaQuery } from \"@mui/material\";\nimport * as Sentry from \"@sentry/react\";\nimport { QueryCache, QueryClient, QueryClientProvider } from \"@tanstack/react-query\";\nimport axios from \"axios\";\nimport { useEffect, useMemo } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport {\n\tRouterProvider,\n\tcreateBrowserRouter,\n\tcreateRoutesFromChildren,\n\tmatchRoutes,\n\tuseLocation,\n\tuseNavigationType,\n} from \"react-router-dom\";\nimport \"./App.css\";\nimport { useGetSettingsQuery } from \"./hooks/api/settings\";\nimport { useErrorHandler } from \"./hooks/useErrorHandler\";\nimport AuthProvider from \"./providers/AuthProvider\";\nimport { routes } from \"./routes\";\nimport { selectConfig } from \"./store/configSlice\";\nimport { isAxios404Error, isAxios500Error } from \"./utils/axios.default\";\n\nif (import.meta.env.PROD) {\n\tSentry.init({\n\t\tdsn: `${import.meta.env.VITE_APP_SENTRY_DSN}`,\n\t\trelease: `codepair@${import.meta.env.PACKAGE_VERSION}`,\n\t\tintegrations: [\n\t\t\tnew Sentry.BrowserTracing({\n\t\t\t\troutingInstrumentation: Sentry.reactRouterV6Instrumentation(\n\t\t\t\t\tuseEffect,\n\t\t\t\t\tuseLocation,\n\t\t\t\t\tuseNavigationType,\n\t\t\t\t\tcreateRoutesFromChildren,\n\t\t\t\t\tmatchRoutes\n\t\t\t\t),\n\t\t\t}),\n\t\t],\n\n\t\t// Set tracesSampleRate to 1.0 to capture 100%\n\t\t// of transactions for performance monitoring.\n\t\t// We recommend adjusting this value in production\n\t\ttracesSampleRate: 1.0,\n\t});\n}\n\nconst router = createBrowserRouter(routes);\n\naxios.defaults.baseURL = import.meta.env.VITE_API_ADDR;\n\nfunction SettingLoader() {\n\tuseGetSettingsQuery();\n\treturn null;\n}\n\nfunction App() {\n\tconst config = useSelector(selectConfig);\n\tconst prefersDarkMode = useMediaQuery(\"(prefers-color-scheme: dark)\");\n\tconst theme = useMemo(() => {\n\t\tconst defaultMode = prefersDarkMode ? \"dark\" : \"light\";\n\n\t\treturn createTheme({\n\t\t\ttypography: {\n\t\t\t\tbutton: {\n\t\t\t\t\ttextTransform: \"none\",\n\t\t\t\t},\n\t\t\t},\n\t\t\tpalette: {\n\t\t\t\tmode: config.theme == \"default\" ? defaultMode : config.theme,\n\t\t\t},\n\t\t});\n\t}, [config.theme, prefersDarkMode]);\n\tconst handleError = useErrorHandler();\n\tconst queryClient = useMemo(() => {\n\t\treturn new QueryClient({\n\t\t\tqueryCache: new QueryCache({\n\t\t\t\tonError: (error) => {\n\t\t\t\t\tif (isAxios404Error(error)) {\n\t\t\t\t\t\twindow.location.href = \"/404\";\n\t\t\t\t\t} else if (isAxios500Error(error)) {\n\t\t\t\t\t\twindow.location.href = \"/404\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\thandleError(error);\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t}),\n\t\t\tdefaultOptions: {\n\t\t\t\tqueries: {\n\t\t\t\t\tretry: (failureCount, error) => {\n\t\t\t\t\t\tif (axios.isAxiosError(error) && error.response?.status === 401) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn failureCount < 3;\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tmutations: {\n\t\t\t\t\tonError: handleError,\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t}, [handleError]);\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n}\n\nexport default App;\n","\"use strict\";\n\nexports.__esModule = true;\nexports.default = getStorage;\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction noop() {}\n\nvar noopStorage = {\n getItem: noop,\n setItem: noop,\n removeItem: noop\n};\n\nfunction hasStorage(storageType) {\n if ((typeof self === \"undefined\" ? \"undefined\" : _typeof(self)) !== 'object' || !(storageType in self)) {\n return false;\n }\n\n try {\n var storage = self[storageType];\n var testKey = \"redux-persist \".concat(storageType, \" test\");\n storage.setItem(testKey, 'test');\n storage.getItem(testKey);\n storage.removeItem(testKey);\n } catch (e) {\n if (process.env.NODE_ENV !== 'production') console.warn(\"redux-persist \".concat(storageType, \" test failed, persistence will be disabled.\"));\n return false;\n }\n\n return true;\n}\n\nfunction getStorage(type) {\n var storageType = \"\".concat(type, \"Storage\");\n if (hasStorage(storageType)) return self[storageType];else {\n if (process.env.NODE_ENV !== 'production') {\n console.error(\"redux-persist failed to create sync storage. falling back to noop storage.\");\n }\n\n return noopStorage;\n }\n}","\"use strict\";\n\nexports.__esModule = true;\nexports.default = createWebStorage;\n\nvar _getStorage = _interopRequireDefault(require(\"./getStorage\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction createWebStorage(type) {\n var storage = (0, _getStorage.default)(type);\n return {\n getItem: function getItem(key) {\n return new Promise(function (resolve, reject) {\n resolve(storage.getItem(key));\n });\n },\n setItem: function setItem(key, item) {\n return new Promise(function (resolve, reject) {\n resolve(storage.setItem(key, item));\n });\n },\n removeItem: function removeItem(key) {\n return new Promise(function (resolve, reject) {\n resolve(storage.removeItem(key));\n });\n }\n };\n}","\"use strict\";\n\nexports.__esModule = true;\nexports.default = void 0;\n\nvar _createWebStorage = _interopRequireDefault(require(\"./createWebStorage\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar _default = (0, _createWebStorage.default)('local');\n\nexports.default = _default;","export var KEY_PREFIX = 'persist:';\nexport var FLUSH = 'persist/FLUSH';\nexport var REHYDRATE = 'persist/REHYDRATE';\nexport var PAUSE = 'persist/PAUSE';\nexport var PERSIST = 'persist/PERSIST';\nexport var PURGE = 'persist/PURGE';\nexport var REGISTER = 'persist/REGISTER';\nexport var DEFAULT_VERSION = -1;","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/*\n autoMergeLevel1: \n - merges 1 level of substate\n - skips substate if already modified\n*/\nexport default function autoMergeLevel1(inboundState, originalState, reducedState, _ref) {\n var debug = _ref.debug;\n\n var newState = _objectSpread({}, reducedState); // only rehydrate if inboundState exists and is an object\n\n\n if (inboundState && _typeof(inboundState) === 'object') {\n Object.keys(inboundState).forEach(function (key) {\n // ignore _persist data\n if (key === '_persist') return; // if reducer modifies substate, skip auto rehydration\n\n if (originalState[key] !== reducedState[key]) {\n if (process.env.NODE_ENV !== 'production' && debug) console.log('redux-persist/stateReconciler: sub state for key `%s` modified, skipping.', key);\n return;\n } // otherwise hard set the new value\n\n\n newState[key] = inboundState[key];\n });\n }\n\n if (process.env.NODE_ENV !== 'production' && debug && inboundState && _typeof(inboundState) === 'object') console.log(\"redux-persist/stateReconciler: rehydrated keys '\".concat(Object.keys(inboundState).join(', '), \"'\"));\n return newState;\n}","import { KEY_PREFIX, REHYDRATE } from './constants';\n// @TODO remove once flow < 0.63 support is no longer required.\nexport default function createPersistoid(config) {\n // defaults\n var blacklist = config.blacklist || null;\n var whitelist = config.whitelist || null;\n var transforms = config.transforms || [];\n var throttle = config.throttle || 0;\n var storageKey = \"\".concat(config.keyPrefix !== undefined ? config.keyPrefix : KEY_PREFIX).concat(config.key);\n var storage = config.storage;\n var serialize;\n\n if (config.serialize === false) {\n serialize = function serialize(x) {\n return x;\n };\n } else if (typeof config.serialize === 'function') {\n serialize = config.serialize;\n } else {\n serialize = defaultSerialize;\n }\n\n var writeFailHandler = config.writeFailHandler || null; // initialize stateful values\n\n var lastState = {};\n var stagedState = {};\n var keysToProcess = [];\n var timeIterator = null;\n var writePromise = null;\n\n var update = function update(state) {\n // add any changed keys to the queue\n Object.keys(state).forEach(function (key) {\n if (!passWhitelistBlacklist(key)) return; // is keyspace ignored? noop\n\n if (lastState[key] === state[key]) return; // value unchanged? noop\n\n if (keysToProcess.indexOf(key) !== -1) return; // is key already queued? noop\n\n keysToProcess.push(key); // add key to queue\n }); //if any key is missing in the new state which was present in the lastState,\n //add it for processing too\n\n Object.keys(lastState).forEach(function (key) {\n if (state[key] === undefined && passWhitelistBlacklist(key) && keysToProcess.indexOf(key) === -1 && lastState[key] !== undefined) {\n keysToProcess.push(key);\n }\n }); // start the time iterator if not running (read: throttle)\n\n if (timeIterator === null) {\n timeIterator = setInterval(processNextKey, throttle);\n }\n\n lastState = state;\n };\n\n function processNextKey() {\n if (keysToProcess.length === 0) {\n if (timeIterator) clearInterval(timeIterator);\n timeIterator = null;\n return;\n }\n\n var key = keysToProcess.shift();\n var endState = transforms.reduce(function (subState, transformer) {\n return transformer.in(subState, key, lastState);\n }, lastState[key]);\n\n if (endState !== undefined) {\n try {\n stagedState[key] = serialize(endState);\n } catch (err) {\n console.error('redux-persist/createPersistoid: error serializing state', err);\n }\n } else {\n //if the endState is undefined, no need to persist the existing serialized content\n delete stagedState[key];\n }\n\n if (keysToProcess.length === 0) {\n writeStagedState();\n }\n }\n\n function writeStagedState() {\n // cleanup any removed keys just before write.\n Object.keys(stagedState).forEach(function (key) {\n if (lastState[key] === undefined) {\n delete stagedState[key];\n }\n });\n writePromise = storage.setItem(storageKey, serialize(stagedState)).catch(onWriteFail);\n }\n\n function passWhitelistBlacklist(key) {\n if (whitelist && whitelist.indexOf(key) === -1 && key !== '_persist') return false;\n if (blacklist && blacklist.indexOf(key) !== -1) return false;\n return true;\n }\n\n function onWriteFail(err) {\n // @TODO add fail handlers (typically storage full)\n if (writeFailHandler) writeFailHandler(err);\n\n if (err && process.env.NODE_ENV !== 'production') {\n console.error('Error storing data', err);\n }\n }\n\n var flush = function flush() {\n while (keysToProcess.length !== 0) {\n processNextKey();\n }\n\n return writePromise || Promise.resolve();\n }; // return `persistoid`\n\n\n return {\n update: update,\n flush: flush\n };\n} // @NOTE in the future this may be exposed via config\n\nfunction defaultSerialize(data) {\n return JSON.stringify(data);\n}","import { KEY_PREFIX } from './constants';\nexport default function getStoredState(config) {\n var transforms = config.transforms || [];\n var storageKey = \"\".concat(config.keyPrefix !== undefined ? config.keyPrefix : KEY_PREFIX).concat(config.key);\n var storage = config.storage;\n var debug = config.debug;\n var deserialize;\n\n if (config.deserialize === false) {\n deserialize = function deserialize(x) {\n return x;\n };\n } else if (typeof config.deserialize === 'function') {\n deserialize = config.deserialize;\n } else {\n deserialize = defaultDeserialize;\n }\n\n return storage.getItem(storageKey).then(function (serialized) {\n if (!serialized) return undefined;else {\n try {\n var state = {};\n var rawState = deserialize(serialized);\n Object.keys(rawState).forEach(function (key) {\n state[key] = transforms.reduceRight(function (subState, transformer) {\n return transformer.out(subState, key, rawState);\n }, deserialize(rawState[key]));\n });\n return state;\n } catch (err) {\n if (process.env.NODE_ENV !== 'production' && debug) console.log(\"redux-persist/getStoredState: Error restoring data \".concat(serialized), err);\n throw err;\n }\n }\n });\n}\n\nfunction defaultDeserialize(serial) {\n return JSON.parse(serial);\n}","import { KEY_PREFIX } from './constants';\nexport default function purgeStoredState(config) {\n var storage = config.storage;\n var storageKey = \"\".concat(config.keyPrefix !== undefined ? config.keyPrefix : KEY_PREFIX).concat(config.key);\n return storage.removeItem(storageKey, warnIfRemoveError);\n}\n\nfunction warnIfRemoveError(err) {\n if (err && process.env.NODE_ENV !== 'production') {\n console.error('redux-persist/purgeStoredState: Error purging data stored state', err);\n }\n}","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport { FLUSH, PAUSE, PERSIST, PURGE, REHYDRATE, DEFAULT_VERSION } from './constants';\nimport autoMergeLevel1 from './stateReconciler/autoMergeLevel1';\nimport createPersistoid from './createPersistoid';\nimport defaultGetStoredState from './getStoredState';\nimport purgeStoredState from './purgeStoredState';\nvar DEFAULT_TIMEOUT = 5000;\n/*\n @TODO add validation / handling for:\n - persisting a reducer which has nested _persist\n - handling actions that fire before reydrate is called\n*/\n\nexport default function persistReducer(config, baseReducer) {\n if (process.env.NODE_ENV !== 'production') {\n if (!config) throw new Error('config is required for persistReducer');\n if (!config.key) throw new Error('key is required in persistor config');\n if (!config.storage) throw new Error(\"redux-persist: config.storage is required. Try using one of the provided storage engines `import storage from 'redux-persist/lib/storage'`\");\n }\n\n var version = config.version !== undefined ? config.version : DEFAULT_VERSION;\n var debug = config.debug || false;\n var stateReconciler = config.stateReconciler === undefined ? autoMergeLevel1 : config.stateReconciler;\n var getStoredState = config.getStoredState || defaultGetStoredState;\n var timeout = config.timeout !== undefined ? config.timeout : DEFAULT_TIMEOUT;\n var _persistoid = null;\n var _purge = false;\n var _paused = true;\n\n var conditionalUpdate = function conditionalUpdate(state) {\n // update the persistoid only if we are rehydrated and not paused\n state._persist.rehydrated && _persistoid && !_paused && _persistoid.update(state);\n return state;\n };\n\n return function (state, action) {\n var _ref = state || {},\n _persist = _ref._persist,\n rest = _objectWithoutProperties(_ref, [\"_persist\"]); // $FlowIgnore need to update State type\n\n\n var restState = rest;\n\n if (action.type === PERSIST) {\n var _sealed = false;\n\n var _rehydrate = function _rehydrate(payload, err) {\n // dev warning if we are already sealed\n if (process.env.NODE_ENV !== 'production' && _sealed) console.error(\"redux-persist: rehydrate for \\\"\".concat(config.key, \"\\\" called after timeout.\"), payload, err); // only rehydrate if we are not already sealed\n\n if (!_sealed) {\n action.rehydrate(config.key, payload, err);\n _sealed = true;\n }\n };\n\n timeout && setTimeout(function () {\n !_sealed && _rehydrate(undefined, new Error(\"redux-persist: persist timed out for persist key \\\"\".concat(config.key, \"\\\"\")));\n }, timeout); // @NOTE PERSIST resumes if paused.\n\n _paused = false; // @NOTE only ever create persistoid once, ensure we call it at least once, even if _persist has already been set\n\n if (!_persistoid) _persistoid = createPersistoid(config); // @NOTE PERSIST can be called multiple times, noop after the first\n\n if (_persist) {\n // We still need to call the base reducer because there might be nested\n // uses of persistReducer which need to be aware of the PERSIST action\n return _objectSpread({}, baseReducer(restState, action), {\n _persist: _persist\n });\n }\n\n if (typeof action.rehydrate !== 'function' || typeof action.register !== 'function') throw new Error('redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.');\n action.register(config.key);\n getStoredState(config).then(function (restoredState) {\n var migrate = config.migrate || function (s, v) {\n return Promise.resolve(s);\n };\n\n migrate(restoredState, version).then(function (migratedState) {\n _rehydrate(migratedState);\n }, function (migrateErr) {\n if (process.env.NODE_ENV !== 'production' && migrateErr) console.error('redux-persist: migration error', migrateErr);\n\n _rehydrate(undefined, migrateErr);\n });\n }, function (err) {\n _rehydrate(undefined, err);\n });\n return _objectSpread({}, baseReducer(restState, action), {\n _persist: {\n version: version,\n rehydrated: false\n }\n });\n } else if (action.type === PURGE) {\n _purge = true;\n action.result(purgeStoredState(config));\n return _objectSpread({}, baseReducer(restState, action), {\n _persist: _persist\n });\n } else if (action.type === FLUSH) {\n action.result(_persistoid && _persistoid.flush());\n return _objectSpread({}, baseReducer(restState, action), {\n _persist: _persist\n });\n } else if (action.type === PAUSE) {\n _paused = true;\n } else if (action.type === REHYDRATE) {\n // noop on restState if purging\n if (_purge) return _objectSpread({}, restState, {\n _persist: _objectSpread({}, _persist, {\n rehydrated: true\n }) // @NOTE if key does not match, will continue to default else below\n\n });\n\n if (action.key === config.key) {\n var reducedState = baseReducer(restState, action);\n var inboundState = action.payload; // only reconcile state if stateReconciler and inboundState are both defined\n\n var reconciledRest = stateReconciler !== false && inboundState !== undefined ? stateReconciler(inboundState, state, reducedState, config) : reducedState;\n\n var _newState = _objectSpread({}, reconciledRest, {\n _persist: _objectSpread({}, _persist, {\n rehydrated: true\n })\n });\n\n return conditionalUpdate(_newState);\n }\n } // if we have not already handled PERSIST, straight passthrough\n\n\n if (!_persist) return baseReducer(state, action); // run base reducer:\n // is state modified ? return original : return updated\n\n var newState = baseReducer(restState, action);\n if (newState === restState) return state;\n return conditionalUpdate(_objectSpread({}, newState, {\n _persist: _persist\n }));\n };\n}","function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { createStore } from 'redux';\nimport { FLUSH, PAUSE, PERSIST, PURGE, REGISTER, REHYDRATE } from './constants';\nvar initialState = {\n registry: [],\n bootstrapped: false\n};\n\nvar persistorReducer = function persistorReducer() {\n var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState;\n var action = arguments.length > 1 ? arguments[1] : undefined;\n\n switch (action.type) {\n case REGISTER:\n return _objectSpread({}, state, {\n registry: [].concat(_toConsumableArray(state.registry), [action.key])\n });\n\n case REHYDRATE:\n var firstIndex = state.registry.indexOf(action.key);\n\n var registry = _toConsumableArray(state.registry);\n\n registry.splice(firstIndex, 1);\n return _objectSpread({}, state, {\n registry: registry,\n bootstrapped: registry.length === 0\n });\n\n default:\n return state;\n }\n};\n\nexport default function persistStore(store, options, cb) {\n // help catch incorrect usage of passing PersistConfig in as PersistorOptions\n if (process.env.NODE_ENV !== 'production') {\n var optionsToTest = options || {};\n var bannedKeys = ['blacklist', 'whitelist', 'transforms', 'storage', 'keyPrefix', 'migrate'];\n bannedKeys.forEach(function (k) {\n if (!!optionsToTest[k]) console.error(\"redux-persist: invalid option passed to persistStore: \\\"\".concat(k, \"\\\". You may be incorrectly passing persistConfig into persistStore, whereas it should be passed into persistReducer.\"));\n });\n }\n\n var boostrappedCb = cb || false;\n\n var _pStore = createStore(persistorReducer, initialState, options && options.enhancer ? options.enhancer : undefined);\n\n var register = function register(key) {\n _pStore.dispatch({\n type: REGISTER,\n key: key\n });\n };\n\n var rehydrate = function rehydrate(key, payload, err) {\n var rehydrateAction = {\n type: REHYDRATE,\n payload: payload,\n err: err,\n key: key // dispatch to `store` to rehydrate and `persistor` to track result\n\n };\n store.dispatch(rehydrateAction);\n\n _pStore.dispatch(rehydrateAction);\n\n if (boostrappedCb && persistor.getState().bootstrapped) {\n boostrappedCb();\n boostrappedCb = false;\n }\n };\n\n var persistor = _objectSpread({}, _pStore, {\n purge: function purge() {\n var results = [];\n store.dispatch({\n type: PURGE,\n result: function result(purgeResult) {\n results.push(purgeResult);\n }\n });\n return Promise.all(results);\n },\n flush: function flush() {\n var results = [];\n store.dispatch({\n type: FLUSH,\n result: function result(flushResult) {\n results.push(flushResult);\n }\n });\n return Promise.all(results);\n },\n pause: function pause() {\n store.dispatch({\n type: PAUSE\n });\n },\n persist: function persist() {\n store.dispatch({\n type: PERSIST,\n register: register,\n rehydrate: rehydrate\n });\n }\n });\n\n if (!(options && options.manualPersist)) {\n persistor.persist();\n }\n\n return persistor;\n}","import { combineReducers, configureStore } from \"@reduxjs/toolkit\";\nimport editorSlice from \"./editorSlice\";\nimport configSlice from \"./configSlice\";\nimport storage from \"redux-persist/lib/storage\";\nimport { persistReducer } from \"redux-persist\";\nimport authSlice from \"./authSlice\";\nimport userSlice from \"./userSlice\";\nimport workspaceSlice from \"./workspaceSlice\";\nimport documentSlice from \"./documentSlice\";\nimport settingSlice from \"./settingSlice\";\n\nconst reducers = combineReducers({\n\t// Persistence\n\tauth: authSlice,\n\tconfig: configSlice,\n\t// Volatile\n\tuser: userSlice,\n\teditor: editorSlice,\n\tworkspace: workspaceSlice,\n\tdocument: documentSlice,\n\tsetting: settingSlice,\n});\n\nconst persistConfig = {\n\tkey: \"root\",\n\tstorage, // Local Storage\n\twhitelist: [\"auth\", \"config\"],\n};\n\nconst persistedReducer = persistReducer(persistConfig, reducers);\n\nexport const store = configureStore({\n\treducer: persistedReducer,\n\tmiddleware: (getDefaultMiddleware) =>\n\t\tgetDefaultMiddleware({\n\t\t\tserializableCheck: {\n\t\t\t\tignoredActions: [\n\t\t\t\t\t\"persist/PERSIST\", // redux-persist\n\t\t\t\t\t\"editor/setDoc\",\n\t\t\t\t\t\"editor/setClient\",\n\t\t\t\t\t\"editor/setCmView\",\n\t\t\t\t],\n\t\t\t\tignoredPaths: [\"editor.doc\", \"editor.client\", \"editor.cmView\"],\n\t\t\t},\n\t\t\timmutableCheck: {\n\t\t\t\tignoredPaths: [\"editor.doc\", \"editor.client\", \"editor.cmView\"],\n\t\t\t},\n\t\t}),\n});\n\nexport type RootState = ReturnType;\nexport type AppDispatch = typeof store.dispatch;\n","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport React, { PureComponent } from 'react'; // eslint-disable-line import/no-unresolved\n\nexport var PersistGate =\n/*#__PURE__*/\nfunction (_PureComponent) {\n _inherits(PersistGate, _PureComponent);\n\n function PersistGate() {\n var _getPrototypeOf2;\n\n var _this;\n\n _classCallCheck(this, PersistGate);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(PersistGate)).call.apply(_getPrototypeOf2, [this].concat(args)));\n\n _defineProperty(_assertThisInitialized(_this), \"state\", {\n bootstrapped: false\n });\n\n _defineProperty(_assertThisInitialized(_this), \"_unsubscribe\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"handlePersistorState\", function () {\n var persistor = _this.props.persistor;\n\n var _persistor$getState = persistor.getState(),\n bootstrapped = _persistor$getState.bootstrapped;\n\n if (bootstrapped) {\n if (_this.props.onBeforeLift) {\n Promise.resolve(_this.props.onBeforeLift()).finally(function () {\n return _this.setState({\n bootstrapped: true\n });\n });\n } else {\n _this.setState({\n bootstrapped: true\n });\n }\n\n _this._unsubscribe && _this._unsubscribe();\n }\n });\n\n return _this;\n }\n\n _createClass(PersistGate, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this._unsubscribe = this.props.persistor.subscribe(this.handlePersistorState);\n this.handlePersistorState();\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this._unsubscribe && this._unsubscribe();\n }\n }, {\n key: \"render\",\n value: function render() {\n if (process.env.NODE_ENV !== 'production') {\n if (typeof this.props.children === 'function' && this.props.loading) console.error('redux-persist: PersistGate expects either a function child or loading prop, but not both. The loading prop will be ignored.');\n }\n\n if (typeof this.props.children === 'function') {\n return this.props.children(this.state.bootstrapped);\n }\n\n return this.state.bootstrapped ? this.props.children : this.props.loading;\n }\n }]);\n\n return PersistGate;\n}(PureComponent);\n\n_defineProperty(PersistGate, \"defaultProps\", {\n children: null,\n loading: null\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\nvar gtag = function gtag() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n if (typeof window !== \"undefined\") {\n var _window;\n if (typeof window.gtag === \"undefined\") {\n window.dataLayer = window.dataLayer || [];\n window.gtag = function gtag() {\n window.dataLayer.push(arguments);\n };\n }\n (_window = window).gtag.apply(_window, args);\n }\n};\nvar _default = gtag;\nexports[\"default\"] = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = format;\nvar smallWords = /^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\\.?|via)$/i;\nfunction toTitleCase(string) {\n return string.toString().trim().replace(/[A-Za-z0-9\\u00C0-\\u00FF]+[^\\s-]*/g, function (match, index, title) {\n if (index > 0 && index + match.length !== title.length && match.search(smallWords) > -1 && title.charAt(index - 2) !== \":\" && (title.charAt(index + match.length) !== \"-\" || title.charAt(index - 1) === \"-\") && title.charAt(index - 1).search(/[^\\s-]/) < 0) {\n return match.toLowerCase();\n }\n if (match.substr(1).search(/[A-Z]|\\../) > -1) {\n return match;\n }\n return match.charAt(0).toUpperCase() + match.substr(1);\n });\n}\n\n// See if s could be an email address. We don't want to send personal data like email.\n// https://support.google.com/analytics/answer/2795983?hl=en\nfunction mightBeEmail(s) {\n // There's no point trying to validate rfc822 fully, just look for ...@...\n return typeof s === \"string\" && s.indexOf(\"@\") !== -1;\n}\nvar redacted = \"REDACTED (Potential Email Address)\";\nfunction redactEmail(string) {\n if (mightBeEmail(string)) {\n console.warn(\"This arg looks like an email address, redacting.\");\n return redacted;\n }\n return string;\n}\nfunction format() {\n var s = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"\";\n var titleCase = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n var redactingEmail = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n var _str = s || \"\";\n if (titleCase) {\n _str = toTitleCase(s);\n }\n if (redactingEmail) {\n _str = redactEmail(_str);\n }\n return _str;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = exports.GA4 = void 0;\nvar _gtag = _interopRequireDefault(require(\"./gtag\"));\nvar _format = _interopRequireDefault(require(\"./format\"));\nvar _excluded = [\"eventCategory\", \"eventAction\", \"eventLabel\", \"eventValue\", \"hitType\"],\n _excluded2 = [\"title\", \"location\"],\n _excluded3 = [\"page\", \"hitType\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n/*\nLinks\nhttps://developers.google.com/gtagjs/reference/api\nhttps://developers.google.com/tag-platform/gtagjs/reference\n*/\n/**\n * @typedef GaOptions\n * @type {Object}\n * @property {boolean} [cookieUpdate=true]\n * @property {number} [cookieExpires=63072000] Default two years\n * @property {string} [cookieDomain=\"auto\"]\n * @property {string} [cookieFlags]\n * @property {string} [userId]\n * @property {string} [clientId]\n * @property {boolean} [anonymizeIp]\n * @property {string} [contentGroup1]\n * @property {string} [contentGroup2]\n * @property {string} [contentGroup3]\n * @property {string} [contentGroup4]\n * @property {string} [contentGroup5]\n * @property {boolean} [allowAdFeatures=true]\n * @property {boolean} [allowAdPersonalizationSignals]\n * @property {boolean} [nonInteraction]\n * @property {string} [page]\n */\n/**\n * @typedef UaEventOptions\n * @type {Object}\n * @property {string} action\n * @property {string} category\n * @property {string} [label]\n * @property {number} [value]\n * @property {boolean} [nonInteraction]\n * @property {('beacon'|'xhr'|'image')} [transport]\n */\n/**\n * @typedef InitOptions\n * @type {Object}\n * @property {string} trackingId\n * @property {GaOptions|any} [gaOptions]\n * @property {Object} [gtagOptions] New parameter\n */\nvar GA4 = /*#__PURE__*/function () {\n function GA4() {\n var _this = this;\n _classCallCheck(this, GA4);\n _defineProperty(this, \"reset\", function () {\n _this.isInitialized = false;\n _this._testMode = false;\n _this._currentMeasurementId;\n _this._hasLoadedGA = false;\n _this._isQueuing = false;\n _this._queueGtag = [];\n });\n _defineProperty(this, \"_gtag\", function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n if (!_this._testMode) {\n if (_this._isQueuing) {\n _this._queueGtag.push(args);\n } else {\n _gtag[\"default\"].apply(void 0, args);\n }\n } else {\n _this._queueGtag.push(args);\n }\n });\n _defineProperty(this, \"_loadGA\", function (GA_MEASUREMENT_ID, nonce) {\n var gtagUrl = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : \"https://www.googletagmanager.com/gtag/js\";\n if (typeof window === \"undefined\" || typeof document === \"undefined\") {\n return;\n }\n if (!_this._hasLoadedGA) {\n // Global Site Tag (gtag.js) - Google Analytics\n var script = document.createElement(\"script\");\n script.async = true;\n script.src = \"\".concat(gtagUrl, \"?id=\").concat(GA_MEASUREMENT_ID);\n if (nonce) {\n script.setAttribute(\"nonce\", nonce);\n }\n document.body.appendChild(script);\n window.dataLayer = window.dataLayer || [];\n window.gtag = function gtag() {\n window.dataLayer.push(arguments);\n };\n _this._hasLoadedGA = true;\n }\n });\n _defineProperty(this, \"_toGtagOptions\", function (gaOptions) {\n if (!gaOptions) {\n return;\n }\n var mapFields = {\n // Old https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#cookieUpdate\n // New https://developers.google.com/analytics/devguides/collection/gtagjs/cookies-user-id#cookie_update\n cookieUpdate: \"cookie_update\",\n cookieExpires: \"cookie_expires\",\n cookieDomain: \"cookie_domain\",\n cookieFlags: \"cookie_flags\",\n // must be in set method?\n userId: \"user_id\",\n clientId: \"client_id\",\n anonymizeIp: \"anonymize_ip\",\n // https://support.google.com/analytics/answer/2853546?hl=en#zippy=%2Cin-this-article\n contentGroup1: \"content_group1\",\n contentGroup2: \"content_group2\",\n contentGroup3: \"content_group3\",\n contentGroup4: \"content_group4\",\n contentGroup5: \"content_group5\",\n // https://support.google.com/analytics/answer/9050852?hl=en\n allowAdFeatures: \"allow_google_signals\",\n allowAdPersonalizationSignals: \"allow_ad_personalization_signals\",\n nonInteraction: \"non_interaction\",\n page: \"page_path\",\n hitCallback: \"event_callback\"\n };\n var gtagOptions = Object.entries(gaOptions).reduce(function (prev, _ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n key = _ref2[0],\n value = _ref2[1];\n if (mapFields[key]) {\n prev[mapFields[key]] = value;\n } else {\n prev[key] = value;\n }\n return prev;\n }, {});\n return gtagOptions;\n });\n _defineProperty(this, \"initialize\", function (GA_MEASUREMENT_ID) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n if (!GA_MEASUREMENT_ID) {\n throw new Error(\"Require GA_MEASUREMENT_ID\");\n }\n var initConfigs = typeof GA_MEASUREMENT_ID === \"string\" ? [{\n trackingId: GA_MEASUREMENT_ID\n }] : GA_MEASUREMENT_ID;\n _this._currentMeasurementId = initConfigs[0].trackingId;\n var gaOptions = options.gaOptions,\n gtagOptions = options.gtagOptions,\n nonce = options.nonce,\n _options$testMode = options.testMode,\n testMode = _options$testMode === void 0 ? false : _options$testMode,\n gtagUrl = options.gtagUrl;\n _this._testMode = testMode;\n if (!testMode) {\n _this._loadGA(_this._currentMeasurementId, nonce, gtagUrl);\n }\n if (!_this.isInitialized) {\n _this._gtag(\"js\", new Date());\n initConfigs.forEach(function (config) {\n var mergedGtagOptions = _objectSpread(_objectSpread(_objectSpread({}, _this._toGtagOptions(_objectSpread(_objectSpread({}, gaOptions), config.gaOptions))), gtagOptions), config.gtagOptions);\n if (Object.keys(mergedGtagOptions).length) {\n _this._gtag(\"config\", config.trackingId, mergedGtagOptions);\n } else {\n _this._gtag(\"config\", config.trackingId);\n }\n });\n }\n _this.isInitialized = true;\n if (!testMode) {\n var queues = _toConsumableArray(_this._queueGtag);\n _this._queueGtag = [];\n _this._isQueuing = false;\n while (queues.length) {\n var queue = queues.shift();\n _this._gtag.apply(_this, _toConsumableArray(queue));\n if (queue[0] === \"get\") {\n _this._isQueuing = true;\n }\n }\n }\n });\n _defineProperty(this, \"set\", function (fieldsObject) {\n if (!fieldsObject) {\n console.warn(\"`fieldsObject` is required in .set()\");\n return;\n }\n if (_typeof(fieldsObject) !== \"object\") {\n console.warn(\"Expected `fieldsObject` arg to be an Object\");\n return;\n }\n if (Object.keys(fieldsObject).length === 0) {\n console.warn(\"empty `fieldsObject` given to .set()\");\n }\n _this._gaCommand(\"set\", fieldsObject);\n });\n _defineProperty(this, \"_gaCommandSendEvent\", function (eventCategory, eventAction, eventLabel, eventValue, fieldsObject) {\n _this._gtag(\"event\", eventAction, _objectSpread(_objectSpread({\n event_category: eventCategory,\n event_label: eventLabel,\n value: eventValue\n }, fieldsObject && {\n non_interaction: fieldsObject.nonInteraction\n }), _this._toGtagOptions(fieldsObject)));\n });\n _defineProperty(this, \"_gaCommandSendEventParameters\", function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n if (typeof args[0] === \"string\") {\n _this._gaCommandSendEvent.apply(_this, _toConsumableArray(args.slice(1)));\n } else {\n var _args$ = args[0],\n eventCategory = _args$.eventCategory,\n eventAction = _args$.eventAction,\n eventLabel = _args$.eventLabel,\n eventValue = _args$.eventValue,\n hitType = _args$.hitType,\n rest = _objectWithoutProperties(_args$, _excluded);\n _this._gaCommandSendEvent(eventCategory, eventAction, eventLabel, eventValue, rest);\n }\n });\n _defineProperty(this, \"_gaCommandSendTiming\", function (timingCategory, timingVar, timingValue, timingLabel) {\n _this._gtag(\"event\", \"timing_complete\", {\n name: timingVar,\n value: timingValue,\n event_category: timingCategory,\n event_label: timingLabel\n });\n });\n _defineProperty(this, \"_gaCommandSendPageview\", function (page, fieldsObject) {\n if (fieldsObject && Object.keys(fieldsObject).length) {\n var _this$_toGtagOptions = _this._toGtagOptions(fieldsObject),\n title = _this$_toGtagOptions.title,\n location = _this$_toGtagOptions.location,\n rest = _objectWithoutProperties(_this$_toGtagOptions, _excluded2);\n _this._gtag(\"event\", \"page_view\", _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, page && {\n page_path: page\n }), title && {\n page_title: title\n }), location && {\n page_location: location\n }), rest));\n } else if (page) {\n _this._gtag(\"event\", \"page_view\", {\n page_path: page\n });\n } else {\n _this._gtag(\"event\", \"page_view\");\n }\n });\n _defineProperty(this, \"_gaCommandSendPageviewParameters\", function () {\n for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n if (typeof args[0] === \"string\") {\n _this._gaCommandSendPageview.apply(_this, _toConsumableArray(args.slice(1)));\n } else {\n var _args$2 = args[0],\n page = _args$2.page,\n hitType = _args$2.hitType,\n rest = _objectWithoutProperties(_args$2, _excluded3);\n _this._gaCommandSendPageview(page, rest);\n }\n });\n _defineProperty(this, \"_gaCommandSend\", function () {\n for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n args[_key4] = arguments[_key4];\n }\n var hitType = typeof args[0] === \"string\" ? args[0] : args[0].hitType;\n switch (hitType) {\n case \"event\":\n _this._gaCommandSendEventParameters.apply(_this, args);\n break;\n case \"pageview\":\n _this._gaCommandSendPageviewParameters.apply(_this, args);\n break;\n case \"timing\":\n _this._gaCommandSendTiming.apply(_this, _toConsumableArray(args.slice(1)));\n break;\n case \"screenview\":\n case \"transaction\":\n case \"item\":\n case \"social\":\n case \"exception\":\n console.warn(\"Unsupported send command: \".concat(hitType));\n break;\n default:\n console.warn(\"Send command doesn't exist: \".concat(hitType));\n }\n });\n _defineProperty(this, \"_gaCommandSet\", function () {\n for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {\n args[_key5] = arguments[_key5];\n }\n if (typeof args[0] === \"string\") {\n args[0] = _defineProperty({}, args[0], args[1]);\n }\n _this._gtag(\"set\", _this._toGtagOptions(args[0]));\n });\n _defineProperty(this, \"_gaCommand\", function (command) {\n for (var _len6 = arguments.length, args = new Array(_len6 > 1 ? _len6 - 1 : 0), _key6 = 1; _key6 < _len6; _key6++) {\n args[_key6 - 1] = arguments[_key6];\n }\n switch (command) {\n case \"send\":\n _this._gaCommandSend.apply(_this, args);\n break;\n case \"set\":\n _this._gaCommandSet.apply(_this, args);\n break;\n default:\n console.warn(\"Command doesn't exist: \".concat(command));\n }\n });\n _defineProperty(this, \"ga\", function () {\n for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {\n args[_key7] = arguments[_key7];\n }\n if (typeof args[0] === \"string\") {\n _this._gaCommand.apply(_this, args);\n } else {\n var readyCallback = args[0];\n _this._gtag(\"get\", _this._currentMeasurementId, \"client_id\", function (clientId) {\n _this._isQueuing = false;\n var queues = _this._queueGtag;\n readyCallback({\n get: function get(property) {\n return property === \"clientId\" ? clientId : property === \"trackingId\" ? _this._currentMeasurementId : property === \"apiVersion\" ? \"1\" : undefined;\n }\n });\n while (queues.length) {\n var queue = queues.shift();\n _this._gtag.apply(_this, _toConsumableArray(queue));\n }\n });\n _this._isQueuing = true;\n }\n return _this.ga;\n });\n _defineProperty(this, \"event\", function (optionsOrName, params) {\n if (typeof optionsOrName === \"string\") {\n _this._gtag(\"event\", optionsOrName, _this._toGtagOptions(params));\n } else {\n var action = optionsOrName.action,\n category = optionsOrName.category,\n label = optionsOrName.label,\n value = optionsOrName.value,\n nonInteraction = optionsOrName.nonInteraction,\n transport = optionsOrName.transport;\n if (!category || !action) {\n console.warn(\"args.category AND args.action are required in event()\");\n return;\n }\n\n // Required Fields\n var fieldObject = {\n hitType: \"event\",\n eventCategory: (0, _format[\"default\"])(category),\n eventAction: (0, _format[\"default\"])(action)\n };\n\n // Optional Fields\n if (label) {\n fieldObject.eventLabel = (0, _format[\"default\"])(label);\n }\n if (typeof value !== \"undefined\") {\n if (typeof value !== \"number\") {\n console.warn(\"Expected `args.value` arg to be a Number.\");\n } else {\n fieldObject.eventValue = value;\n }\n }\n if (typeof nonInteraction !== \"undefined\") {\n if (typeof nonInteraction !== \"boolean\") {\n console.warn(\"`args.nonInteraction` must be a boolean.\");\n } else {\n fieldObject.nonInteraction = nonInteraction;\n }\n }\n if (typeof transport !== \"undefined\") {\n if (typeof transport !== \"string\") {\n console.warn(\"`args.transport` must be a string.\");\n } else {\n if ([\"beacon\", \"xhr\", \"image\"].indexOf(transport) === -1) {\n console.warn(\"`args.transport` must be either one of these values: `beacon`, `xhr` or `image`\");\n }\n fieldObject.transport = transport;\n }\n }\n _this._gaCommand(\"send\", fieldObject);\n }\n });\n _defineProperty(this, \"send\", function (fieldObject) {\n _this._gaCommand(\"send\", fieldObject);\n });\n this.reset();\n }\n _createClass(GA4, [{\n key: \"gtag\",\n value: function gtag() {\n this._gtag.apply(this, arguments);\n }\n }]);\n return GA4;\n}();\nexports.GA4 = GA4;\nvar _default = new GA4();\nexports[\"default\"] = _default;","\"use strict\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = exports.ReactGAImplementation = void 0;\nvar _ga = _interopRequireWildcard(require(\"./ga4\"));\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { \"default\": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj[\"default\"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\nvar ReactGAImplementation = _ga.GA4;\nexports.ReactGAImplementation = ReactGAImplementation;\nvar _default = _ga[\"default\"];\nexports[\"default\"] = _default;","import React from \"react\";\nimport ReactDOM from \"react-dom/client\";\nimport \"./index.css\";\nimport App from \"./App\";\nimport { store } from \"./store/store\";\nimport { Provider } from \"react-redux\";\nimport { PersistGate } from \"redux-persist/integration/react\";\nimport { persistStore } from \"redux-persist\";\nimport { SnackbarProvider } from \"notistack\";\nimport ReactGA from \"react-ga4\";\n\nconst trackingCode = `${import.meta.env.VITE_APP_GOOGLE_ANALYTICS}`;\nif (trackingCode) {\n\tReactGA.initialize(trackingCode);\n}\n\nconst persistor = persistStore(store);\n\nReactDOM.createRoot(document.getElementById(\"root\")!).render(\n\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\n);\n"],"names":["l","n","p","q","r","t","u","v","w","x","y","z","A","a","B","C","D","E","b","e","F","G","H","I","J","K","L","M","d","c","k","h","g","f","m","N","O","escape","P","Q","R","S","T","U","V","W","X","react_production_min","reactModule","require$$0","reactJsxRuntime_production_min","jsxRuntimeModule","exports","schedulerModule","aa","ca","require$$1","da","ea","fa","ha","ia","ja","ka","la","ma","oa","pa","qa","ra","sa","ta","ua","va","wa","ya","za","Aa","Ba","Ca","Da","Ea","Fa","Ga","Ha","Ia","Ja","Ka","La","Ma","Na","Oa","Pa","Qa","Ra","Sa","Ta","Ua","Va","Wa","Xa","Ya","Za","ab","bb","cb","db","eb","fb","gb","hb","ib","jb","kb","lb","mb","nb","ob","pb","qb","rb","sb","tb","ub","vb","wb","xb","yb","zb","Ab","Bb","Cb","Db","Eb","Fb","Gb","Hb","Ib","Jb","Kb","Lb","Mb","Nb","Ob","Pb","Qb","Rb","Sb","Tb","Ub","Vb","Wb","Xb","Yb","Zb","$b","ac","bc","cc","dc","ec","fc","gc","hc","ic","jc","kc","lc","mc","oc","nc","pc","qc","rc","sc","tc","uc","vc","wc","xc","yc","zc","Ac","Bc","Cc","Dc","Ec","Fc","Gc","Hc","Ic","Jc","Kc","Lc","Mc","Nc","Oc","Pc","Qc","Rc","Sc","Tc","Uc","Vc","Wc","Xc","Yc","Zc","$c","ad","bd","cd","dd","ed","fd","gd","hd","id","jd","kd","ld","md","nd","od","pd","qd","rd","sd","td","ud","vd","wd","xd","yd","Ad","zd","Bd","Cd","Dd","Ed","Fd","Gd","Hd","Id","Jd","Kd","Ld","Md","Nd","Od","Pd","Qd","Rd","Sd","Td","Ud","Vd","Wd","Xd","Yd","Zd","$d","ae","be","ce","de","ee","fe","ge","he","ie","je","ke","le","me","ne","oe","pe","qe","re","se","te","ue","ve","we","xe","ye","ze","Ae","Be","Ce","De","Ee","Fe","Ge","He","Ie","Je","Ke","Le","Me","Ne","Oe","Pe","Qe","Re","Se","Te","Ue","Ve","We","Xe","Ye","Ze","$e","af","bf","cf","df","ef","ff","gf","hf","jf","kf","lf","mf","nf","of","pf","qf","rf","sf","tf","uf","vf","wf","na","xa","$a","ba","xf","yf","zf","Af","Bf","Cf","Df","Ef","Ff","Gf","Hf","Jf","If","Kf","Lf","Mf","Nf","Of","Pf","Qf","Rf","Sf","Tf","Uf","Vf","Wf","Xf","Yf","Zf","$f","ag","bg","cg","dg","eg","fg","gg","hg","ig","jg","kg","lg","mg","ng","og","pg","qg","rg","sg","tg","ug","vg","wg","xg","yg","zg","Ag","Bg","Cg","Dg","Eg","Fg","Gg","Hg","Ig","Jg","Kg","Lg","Mg","Ng","Og","Pg","Qg","Rg","Sg","Tg","Ug","Vg","Wg","Xg","Yg","Zg","$g","ah","bh","ch","dh","eh","fh","gh","hh","ih","jh","kh","lh","mh","nh","oh","ph","qh","rh","sh","th","uh","vh","wh","xh","yh","zh","Ah","Bh","Ch","Dh","Eh","Fh","Gh","Hh","Ih","Jh","Kh","Lh","Mh","Nh","Oh","Ph","Qh","Rh","Sh","Th","Uh","Vh","Wh","Xh","Yh","Zh","$h","ai","bi","ci","di","ei","fi","gi","hi","ii","ji","ki","li","mi","ni","oi","pi","qi","ri","si","ti","ui","vi","wi","xi","yi","zi","Ai","Bi","Ci","Di","Ei","Fi","Gi","Hi","Ii","Ji","Ki","Li","Mi","Ni","Oi","Pi","Qi","Ri","Si","Ti","Ui","Vi","Wi","Xi","Yi","Zi","$i","aj","bj","cj","dj","ej","fj","gj","hj","ij","jj","kj","lj","mj","nj","oj","pj","qj","rj","sj","tj","uj","vj","wj","xj","yj","zj","Aj","Bj","Cj","Dj","Ej","Fj","Gj","Hj","Ij","Jj","Kj","Lj","Mj","Nj","Oj","Pj","Qj","Rj","Sj","Tj","Uj","Vj","Wj","Xj","Yj","Zj","ak","bk","ck","dk","ek","fk","gk","hk","ik","jk","kk","lk","mk","nk","ok","Y","Z","pk","qk","rk","sk","tk","uk","vk","wk","xk","yk","zk","Ak","Bk","Ck","Dk","Ek","Fk","Gk","Hk","Ik","Jk","Kk","Lk","Mk","Nk","Ok","Pk","Qk","Rk","Sk","Tk","Uk","Vk","Wk","Xk","Yk","Zk","$k","al","bl","cl","dl","el","fl","gl","hl","il","jl","kl","ll","ml","nl","ol","pl","ql","rl","sl","tl","ul","vl","reactDom_production_min","checkDCE","err","reactDomModule","common","red","purple","blue","lightBlue","green","orange","grey","formatMuiErrorMessage","code","url","i","THEME_ID","_extends","memoize","fn","cache","arg","reactPropsRegex","isPropValid","prop","isDevelopment","sheetForTag","tag","createStyleElement","options","StyleSheet","_this","before","_proto","nodes","rule","sheet","_tag$parentNode","MS","MOZ","WEBKIT","COMMENT","RULESET","DECLARATION","IMPORT","KEYFRAMES","LAYER","abs","from","assign","hash","value","length","charat","trim","match","pattern","replace","replacement","indexof","search","index","substr","begin","end","strlen","sizeof","append","array","combine","callback","line","column","position","character","characters","node","root","parent","type","props","children","copy","char","prev","next","peek","caret","slice","token","alloc","dealloc","delimit","delimiter","whitespace","escaping","count","commenter","identifier","compile","parse","rules","rulesets","pseudo","points","declarations","offset","atrule","property","previous","variable","scanning","ampersand","reference","comment","declaration","ruleset","post","size","j","serialize","output","stringify","element","middleware","collection","rulesheet","identifierWithPointTracking","toRules","parsed","getRules","fixedElements","compat","isImplicitRule","parentRules","removeLabel","prefix","prefixer","defaultStylisPlugins","createCache","key","ssrStyles","dataEmotionAttribute","stylisPlugins","inserted","container","nodesToHydrate","attrib","_insert","omnipresentPlugins","currentSheet","finalizingPlugins","serializer","stylis","styles","selector","serialized","shouldCache","reactIs_production_min","reactIsModule","reactIs","FORWARD_REF_STATICS","MEMO_STATICS","TYPE_STATICS","isBrowser","getRegisteredStyles","registered","registeredStyles","classNames","rawClassName","className","registerStyles","isStringTag","insertStyles","current","murmur2","str","len","unitlessKeys","hyphenateRegex","animationRegex","isCustomProperty","isProcessableValue","processStyleName","styleName","processStyleValue","p1","p2","cursor","unitless","noComponentSelectorMessage","handleInterpolation","mergedProps","interpolation","componentSelector","keyframes","serializedStyles","createStringFromObject","previousCursor","result","asString","cached","obj","string","_i","interpolated","labelPattern","serializeStyles","args","stringMode","strings","asTemplateStringsArr","templateStringsArr","identifierName","name","hashString","syncFallback","create","useInsertionEffect","React","useInsertionEffectAlwaysWithSyncFallback","useInsertionEffectWithLayoutFallback","React.useLayoutEffect","EmotionCacheContext","React.createContext","withEmotionCache","func","forwardRef","ref","useContext","ThemeContext","Global","React.useContext","sheetRef","React.useRef","rehydrating","sheetRefCurrent","css","_len","_key","insertable","testOmitPropsOnStringTag","testOmitPropsOnComponent","getDefaultShouldForwardProp","composeShouldForwardProps","isReal","shouldForwardProp","optionsShouldForwardProp","propName","Insertion","_ref","createStyled","baseTag","targetClassName","defaultShouldForwardProp","shouldUseAs","Styled","FinalTag","classInterpolations","finalShouldForwardProp","newProps","React.createElement","React.Fragment","nextTag","nextOptions","tags","newStyled","tagName","ReactPropTypesSecret","ReactPropTypesSecret_1","emptyFunction","emptyFunctionWithReset","factoryWithThrowingShims","shim","componentName","location","propFullName","secret","getShim","ReactPropTypes","propTypesModule","isEmpty","GlobalStyles","defaultTheme","globalStyles","themeInput","styled","emStyled","internal_processStyles","processor","isPlainObject","item","prototype","deepClone","source","deepmerge","target","sortBreakpointsValues","values","breakpointsAsArray","breakpoint1","breakpoint2","acc","createBreakpoints","breakpoints","unit","step","other","sortedValues","keys","up","down","between","start","endIndex","only","not","keyIndex","sortContainerQueries","theme","sorted","regex","_a","_b","isCqShorthand","breakpointKeys","getContainerQuery","shorthand","matches","containerQuery","containerName","cssContainerQueries","toContainerQuery","mediaQuery","attachCq","containerQueries","shape","merge","defaultBreakpoints","defaultContainerQueries","handleBreakpoints","propValue","styleFromPropValue","themeBreakpoints","breakpoint","containerKey","mediaKey","cssKey","createEmptyBreakpointObject","breakpointsInput","breakpointStyleKey","removeUnusedBreakpoints","style","breakpointOutput","mergeBreakpointsInOrder","emptyBreakpoints","mergedOutput","computeBreakpointsBase","breakpointValues","base","breakpointsKeys","resolveBreakpointValues","customBase","capitalize","_formatMuiErrorMessage","getPath","path","checkVars","val","getStyleValue","themeMapping","transform","propValueFinal","userValue","cssProperty","themeKey","properties","directions","aliases","getCssProperties","direction","dir","marginKeys","paddingKeys","createUnaryUnit","defaultValue","themeSpacing","transformed","createUnarySpacing","getValue","transformer","getStyleFromPropValue","cssProperties","resolveCssProperty","margin","padding","createSpacing","spacingInput","spacing","argsInput","argument","compose","handlers","borderTransform","createBorderStyle","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outline","outlineColor","borderRadius","gap","columnGap","rowGap","gridColumn","gridRow","gridAutoFlow","gridAutoColumns","gridAutoRows","gridTemplateColumns","gridTemplateRows","gridTemplateAreas","gridArea","paletteTransform","color","bgcolor","backgroundColor","sizingTransform","width","maxWidth","_c","breakpointsValues","_e","_d","minWidth","height","maxHeight","minHeight","boxSizing","defaultSxConfig","objectsHaveSameKeys","objects","allKeys","object","union","callIfFn","maybeFn","unstable_createStyleFunctionSx","getThemeValue","config","styleFunctionSx","sx","traverse","sxInput","sxObject","styleKey","applyStyles","createTheme","paletteInput","shapeInput","muiTheme","isObjectEmpty","useTheme","contextTheme","systemDefaultTheme","useThemeWithoutDefault","themeId","upperTheme","MuiGlobalStyles","splitProps","extendSxProp","inSx","systemProps","otherProps","finalSx","defaultGenerator","createClassNameGenerator","generate","generator","ClassNameGenerator","o","clsx","createBox","defaultClassName","generateClassName","BoxRoot","React.forwardRef","inProps","component","_jsx","globalStateClasses","generateUtilityClass","slot","globalStatePrefix","globalStateClass","generateUtilityClasses","slots","resolveTheme","PROCESSED_PROPS","attachTheme","processedProps","defaultOverridesResolver","_props","processStyle","resolvedStyle","subStyle","variants","otherStyles","mergedState","variantLoop","variant","input","rootShouldForwardProp","slotShouldForwardProp","systemSx","inputOptions","processStyles","componentSlot","inputSkipVariantsResolver","inputSkipSx","overridesResolver","lowercaseFirstLetter","skipVariantsResolver","skipSx","label","shouldForwardPropOption","defaultStyledResolver","styledEngineStyled","transformStyleArg","muiStyledResolver","expressions","transformedStyle","expressionsWithDefaultTheme","styleOverrides","resolvedStyleOverrides","propsWithTheme","slotKey","themeVariants","numOfCustomFnsApplied","placeholders","Component","_","resolveProps","defaultProps","defaultSlotProps","slotProps","slotPropName","getThemeProps","params","useThemeProps","useEnhancedEffect","React.useEffect","useMediaQueryOld","query","defaultMatches","matchMedia","ssrMatchMedia","noSsr","setMatch","React.useState","queryList","updateMatch","safeReact","maybeReactUseSyncExternalStore","useMediaQueryNew","getDefaultSnapshot","React.useCallback","getServerSnapshot","React.useMemo","getSnapshot","subscribe","mediaQueryList","notify","useMediaQuery","queryInput","supportMatchMedia","clamp","min","max","clampWrapper","hexToRgb","colors","decomposeColor","marker","colorSpace","colorChannel","decomposedColor","idx","private_safeColorChannel","warning","recomposeColor","hslToRgb","s","rgb","getLuminance","getContrastRatio","foreground","background","lumA","lumB","alpha","private_safeAlpha","darken","coefficient","private_safeDarken","lighten","private_safeLighten","emphasize","private_safeEmphasize","createChainedFunction","funcs","debounce","wait","timeout","debounced","later","isMuiElement","muiNames","React.isValidElement","ownerDocument","ownerWindow","setRef","globalId","useGlobalId","idOverride","defaultId","setDefaultId","maybeReactUseId","useId","reactId","useControlled","controlled","defaultProp","state","isControlled","valueState","setValue","setValueIfUncontrolled","newValue","useEventCallback","useForkRef","refs","instance","UNINITIALIZED","useLazyRef","init","initArg","EMPTY","useOnMount","Timeout","__publicField","delay","useTimeout","isFocusVisible","getScrollbarSize","doc","documentWidth","usePreviousProps","getValidReactChildren","React.Children","child","visuallyHidden","composeClasses","getUtilityClass","classes","slotName","buffer","isHostComponent","appendOwnerState","elementType","ownerState","extractEventHandlers","excludeKeys","omitEventHandlers","mergeSlotProps","parameters","getSlotProps","additionalProps","externalSlotProps","externalForwardedProps","joinedClasses","mergedStyle","eventHandlers","componentsPropsWithoutEventHandlers","otherPropsWithoutEventHandlers","internalSlotProps","resolveComponentProps","componentProps","slotState","useSlotProps","skipResolvingSlotProps","resolvedComponentsProps","internalRef","getReactNodeRef","hasSymbol","nested","mergeOuterLocalTheme","outerTheme","localTheme","ThemeProvider","RtlContext","RtlProvider","useRtl","PropsContext","DefaultPropsProvider","useDefaultProps","ctx","EMPTY_THEME","useThemeScoping","isPrivate","resolvedTheme","mergedTheme","upperPrivateTheme","usePrivateTheme","engineTheme","privateTheme","rtlValue","MuiThemeProvider","StyledEngineThemeContext","DEFAULT_MODE_STORAGE_KEY","DEFAULT_COLOR_SCHEME_STORAGE_KEY","DEFAULT_ATTRIBUTE","InitColorSchemeScript","defaultLightColorScheme","defaultDarkColorScheme","modeStorageKey","colorSchemeStorageKey","initialAttribute","colorSchemeNode","nonce","setter","attribute","attr","getSystemMode","mode","processState","getColorScheme","initializeValue","useCurrentColorScheme","defaultMode","supportedColorSchemes","storageWindow","joinedColorSchemes","isMultiSchemes","setState","initialMode","lightColorScheme","darkColorScheme","setHasMounted","hasMounted","colorScheme","setMode","currentState","newMode","setColorScheme","newState","newLightColorScheme","newDarkColorScheme","handleMediaQuery","event","systemMode","mediaListener","handler","media","handleStorage","DISABLE_CSS_TRANSITION","createCssVarsProvider","defaultModeStorageKey","defaultColorSchemeStorageKey","designSystemTransitionOnChange","defaultColorScheme","defaultContext","ColorSchemeContext","useColorScheme","CssVarsProvider","themeProp","disableTransitionOnChange","documentNode","disableNestedContext","disableStyleSheetGeneration","muiUseTheme","initialTheme","scopedTheme","colorSchemes","components","cssVarPrefix","restThemeProp","allColorSchemes","stateMode","stateColorScheme","calculatedColorScheme","themeVars","scheme","schemeKey","colorSchemeSelector","timer","contextValue","shouldGenerateStyleSheet","_jsxs","createGetCssVar","appendVar","vars","field","fallbacks","assignNestedKeys","arrayKeys","temp","walkObjectDeep","shouldSkipPaths","recurse","parentKeys","getCssValue","cssVarsParser","shouldSkipGeneratingVar","varsWithDefaults","cssVar","resolvedValue","prepareCssVars","parserConfig","getSelector","defaultGetSelector","disableCssColorScheme","otherTheme","rootVars","rootCss","rootVarsWithDefaults","colorSchemesMap","defaultScheme","otherColorSchemes","cssObject","schemeVars","stylesheets","insertStyleSheet","defaultSchemeVal","cssColorSheme","finalCss","createGetColorSchemeSelector","defaultCreateStyledComponent","systemStyled","useThemePropsDefault","useThemePropsSystem","useUtilityClasses","getContainerUtilityClass","fixed","disableGutters","createContainer","createStyledComponent","ContainerRoot","breakpointValueKey","classesProp","filterBreakpointKeys","responsiveKeys","traverseBreakpoints","responsive","iterator","smallestBreakpoint","breakpointValue","responsiveStyles","appendLevel","level","isNestedContainer","createGetSelfSpacing","axis","createGetParentSpacing","getParentColumns","generateGridSizeStyles","getParentSpacing","appendStyle","generateGridOffsetStyles","generateGridColumnsStyles","generateGridRowSpacingStyles","generateGridColumnSpacingStyles","generateGridDirectionStyles","generateGridStyles","getSelfSpacing","generateSizeClassNames","generateSpacingClassNames","isValidSpacing","generateDirectionClasses","createGrid","wrap","parseResponsiveProp","shouldUseValue","parsedProp","GridRoot","Grid","themeProps","columnsProp","sizeProp","offsetProp","spacingProp","rowSpacingProp","columnSpacingProp","columns","rowSpacing","columnSpacing","React.cloneElement","joinChildren","separator","childrenArray","getSideFromDirection","directionValues","spacingValues","previousDirectionValue","createStack","StackRoot","divider","useFlexGap","light","dark","addLightOrDark","intent","shade","tonalOffset","tonalOffsetLight","tonalOffsetDark","getDefaultPrimary","getDefaultSecondary","getDefaultError","getDefaultInfo","getDefaultSuccess","getDefaultWarning","createPalette","palette","contrastThreshold","primary","secondary","error","info","success","getContrastText","augmentColor","mainShade","lightShade","darkShade","modes","prepareTypographyVars","typography","entry","createMixins","mixins","round","caseAllCaps","defaultFontFamily","createTypography","fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem2","coef","pxToRem","buildVariant","fontWeight","lineHeight","letterSpacing","casing","shadowKeyUmbraOpacity","shadowKeyPenumbraOpacity","shadowAmbientShadowOpacity","createShadow","px","shadows","easing","duration","formatMs","milliseconds","getAutoHeightDuration","constant","createTransitions","inputTransitions","mergedEasing","mergedDuration","durationOption","easingOption","animatedProp","zIndex","createThemeNoVars","mixinsInput","transitionsInput","typographyInput","systemTheme","systemCreateTheme","getOverlayAlpha","elevation","alphaValue","defaultDarkOverlays","overlay","getOpacity","getOverlays","createColorScheme","opacity","overlays","rest","excludeVariablesFromRoot","excludedVariables","isSerializable","stringifyTheme","baseTheme","serializableTheme","serializeTheme","assignNode","setColor","toRgb","setColorChannel","safeColorChannel","getSpacingVal","silent","systemCreateGetCssVar","attachColorScheme","restTheme","createThemeWithVars","colorSchemesInput","defaultColorSchemeInput","defaultShouldSkipGeneratingVar","firstColorScheme","getCssVar","defaultSchemeInput","builtInLight","builtInDark","customColorSchemes","setCssVarColor","tokens","colorToken","safeDarken","safeLighten","snackbarContentBackground","safeEmphasize","safeAlpha","generateThemeVars","generateStyleSheets","cssVariables","initialColorSchemes","initialDefaultColorScheme","paletteOptions","useThemeSystem","systemUseThemeProps","ThemeProviderNoVars","SystemThemeProvider","defaultConfig","InternalCssVarsProvider","deprecatedGetInitColorSchemeScript","newTheme","SystemGlobalStyles","globalCss","internal_createExtendSxProp","memoTheme","styleFn","lastValue","lastTheme","useSystemDefaultProps","getSvgIconUtilityClass","SvgIconRoot","_f","_h","_g","_j","_l","_k","_n","_m","SvgIcon","htmlColor","inheritViewBox","titleAccess","viewBox","hasSvgAsChild","more","createSvgIcon","displayName","React.memo","_objectWithoutPropertiesLoose","_setPrototypeOf","_inheritsLoose","setPrototypeOf","config$2","TransitionGroupContext","forceReflow","UNMOUNTED","EXITED","ENTERING","ENTERED","EXITING","Transition","_React$Component","context","parentGroup","appear","initialStatus","prevState","nextIn","prevProps","nextStatus","status","exit","enter","mounting","ReactDOM","_this2","appearing","_ref2","maybeNode","maybeAppearing","timeouts","enterTimeout","_this3","nextState","_this4","active","doesNotHaveTimeoutOrListener","_ref3","maybeNextCallback","_this$props","childProps","noop","_assertThisInitialized","getChildMapping","mapFn","mapper","isValidElement","Children","mergeChildMappings","getValueForKey","nextKeysPending","pendingKeys","prevKey","childMapping","nextKey","pendingNextKey","getProp","getInitialChildMapping","onExited","cloneElement","getNextChildMapping","nextProps","prevChildMapping","nextChildMapping","hasPrev","hasNext","prevChild","isLeaving","TransitionGroup","handleExited","firstRender","currentChildMapping","childFactory","reflow","getTransitionProps","getCollapseUtilityClass","orientation","CollapseRoot","CollapseWrapper","CollapseWrapperInner","Collapse","addEndListener","collapsedSizeProp","inProp","onEnter","onEntered","onEntering","onExit","onExiting","TransitionComponent","wrapperRef","autoTransitionDuration","collapsedSize","isHorizontal","nodeRef","handleRef","normalizedTransitionCallback","maybeIsAppearing","getWrapperSize","handleEnter","isAppearing","handleEntering","wrapperSize","transitionDuration","transitionTimingFunction","duration2","handleEntered","handleExit","handleExiting","handleAddEndListener","getPaperUtilityClass","square","PaperRoot","Paper","useSlot","initialElementType","getSlotOwnerState","internalForwardedProps","useSlotPropsParams","rootComponent","slotComponent","slotOwnerState","finalOwnerState","LeafComponent","LazyRipple","ripple","shouldMount","setShouldMount","createControlledPromise","useLazyRipple","resolve","reject","resolveFn","rejectFn","Ripple","pulsate","rippleX","rippleY","rippleSize","leaving","setLeaving","rippleClassName","rippleStyles","childClassName","timeoutId","touchRippleClasses","DURATION","DELAY_RIPPLE","enterKeyframe","exitKeyframe","pulsateKeyframe","TouchRippleRoot","TouchRippleRipple","TouchRipple","centerProp","ripples","setRipples","rippleCallback","ignoringMouseDown","startTimer","startTimerCommit","startCommit","oldRipples","center","fakeElement","rect","clientX","clientY","sizeX","sizeY","stop","React.useImperativeHandle","getButtonBaseUtilityClass","buttonBaseClasses","disabled","focusVisible","focusVisibleClassName","composedClasses","ButtonBaseRoot","ButtonBase","action","centerRipple","disableRipple","disableTouchRipple","focusRipple","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","buttonRef","handleRippleRef","setFocusVisible","enableTouchRipple","useRippleHandler","rippleAction","eventCallback","skipRippleAction","handleMouseDown","handleContextMenu","handleDragLeave","handleMouseUp","handleMouseLeave","handleTouchStart","handleTouchEnd","handleTouchMove","handleBlur","handleFocus","isNonNativeButton","button","handleKeyDown","handleKeyUp","ComponentProp","buttonProps","hasCorrectMainProperty","checkSimplePaletteColorValues","additionalPropertiesToCheck","createSimplePaletteValueFilter","getIconButtonUtilityClass","iconButtonClasses","edge","IconButtonRoot","IconButton","disableFocusRipple","ClearIcon","getTypographyUtilityClass","typographyClasses","v6Colors","align","gutterBottom","noWrap","paragraph","TypographyRoot","defaultVariantMapping","Typography","isSxColor","variantMapping","getAppBarUtilityClass","joinVars","var1","var2","AppBarRoot","AppBar","enableColorOnDark","stripDiacritics","createFilterOptions","ignoreAccents","ignoreCase","limit","matchFrom","inputValue","getOptionLabel","filteredOptions","option","candidate","defaultFilterOptions","pageSize","defaultIsActiveElementInListbox","listboxRef","MULTIPLE_DEFAULT_VALUE","useAutocomplete","unstable_isActiveElementInListbox","unstable_classNamePrefix","autoComplete","autoHighlight","autoSelect","blurOnSelect","clearOnBlur","clearOnEscape","disableClearable","disableCloseOnSelect","disabledProp","disabledItemsFocusable","disableListWrap","filterOptions","filterSelectedOptions","freeSolo","getOptionDisabled","getOptionKey","getOptionLabelProp","groupBy","handleHomeEndKeys","idProp","includeInputInList","inputValueProp","isOptionEqualToValue","multiple","onChange","onClose","onHighlightChange","onInputChange","onOpen","openProp","openOnFocus","readOnly","selectOnFocus","valueProp","optionLabel","ignoreFocus","firstFocus","inputRef","anchorEl","setAnchorEl","focusedTag","setFocusedTag","defaultHighlighted","highlightedIndexRef","setValueState","setInputValueState","focused","setFocused","resetInputValue","reason","newInputValue","open","setOpenState","inputPristine","setInputPristine","inputValueIsSelectedValue","popupOpen","value2","previousProps","valueChange","listboxAvailable","focusTag","tagToFocus","validOptionIndex","nextFocus","nextFocusDisabled","setHighlightedIndex","listboxNode","scrollBottom","elementBottom","changeHighlightedIndex","diff","nextIndex","maxIndex","newIndex","getPreviousHighlightedOptionIndex","isSameValue","value1","label1","label2","previousHighlightedOption","syncHighlightedIndex","previousHighlightedOptionIndex","valueItem","currentOption","itemIndex","optionItem","handleListboxRef","handleOpen","handleClose","handleValue","details","isTouch","selectNewValue","reasonProp","origin","validTagIndex","handleFocusTag","handleClear","handleInputChange","handleOptionMouseMove","handleOptionTouchStart","handleOptionClick","handleTagDelete","handlePopupIndicator","handleClick","handleInputMouseDown","dirty","groupedOptions","group","selected","top","bottom","right","left","auto","basePlacements","clippingParents","viewport","popper","variationPlacements","placement","placements","beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite","modifierPhases","getNodeName","getWindow","isElement","OwnElement","isHTMLElement","isShadowRoot","attributes","effect","initialStyles","styleProperties","applyStyles$1","getBasePlacement","getUAString","uaData","isLayoutViewport","getBoundingClientRect","includeScale","isFixedStrategy","clientRect","scaleX","scaleY","visualViewport","addVisualOffsets","getLayoutRect","contains","rootNode","getComputedStyle","isTableElement","getDocumentElement","getParentNode","getTrueOffsetParent","getContainingBlock","isFirefox","isIE","elementCss","currentNode","getOffsetParent","window","offsetParent","getMainAxisFromPlacement","within","mathMax","mathMin","withinMaxClamp","getFreshSideObject","mergePaddingObject","paddingObject","expandToHashMap","hashMap","toPaddingObject","arrow","_state$modifiersData$","arrowElement","popperOffsets","basePlacement","isVertical","arrowRect","minProp","maxProp","endDiff","startDiff","arrowOffsetParent","clientSize","centerToReference","axisProp","_options$element","arrow$1","getVariation","unsetSides","roundOffsetsByDPR","win","dpr","mapToStyles","_Object$assign2","popperRect","variation","offsets","gpuAcceleration","adaptive","roundOffsets","isFixed","_offsets$x","_offsets$y","hasX","hasY","sideX","sideY","heightProp","widthProp","offsetY","offsetX","commonStyles","_ref4","_Object$assign","computeStyles","_ref5","_options$gpuAccelerat","_options$adaptive","_options$roundOffsets","computeStyles$1","passive","_options$scroll","scroll","_options$resize","resize","scrollParents","scrollParent","eventListeners","getOppositePlacement","matched","getOppositeVariationPlacement","getWindowScroll","scrollLeft","scrollTop","getWindowScrollBarX","getViewportRect","strategy","html","layoutViewport","getDocumentRect","_element$ownerDocumen","winScroll","body","isScrollParent","_getComputedStyle","overflow","overflowX","overflowY","getScrollParent","listScrollParents","list","isBody","updatedList","rectToClientRect","getInnerBoundingClientRect","getClientRectFromMixedType","clippingParent","getClippingParents","canEscapeClipping","clipperElement","getClippingRect","boundary","rootBoundary","mainClippingParents","firstClippingParent","clippingRect","accRect","computeOffsets","commonX","commonY","mainAxis","detectOverflow","_options","_options$placement","_options$strategy","_options$boundary","_options$rootBoundary","_options$elementConte","elementContext","_options$altBoundary","altBoundary","_options$padding","altContext","clippingClientRect","referenceClientRect","popperClientRect","elementClientRect","overflowOffsets","offsetData","multiply","computeAutoPlacement","flipVariations","_options$allowedAutoP","allowedAutoPlacements","allPlacements","allowedPlacements","overflows","getExpandedFallbackPlacements","oppositePlacement","flip","_options$mainAxis","checkMainAxis","_options$altAxis","checkAltAxis","specifiedFallbackPlacements","_options$flipVariatio","preferredPlacement","isBasePlacement","fallbackPlacements","referenceRect","checksMap","makeFallbackChecks","firstFittingPlacement","_basePlacement","isStartVariation","mainVariationSide","altVariationSide","checks","check","numberOfChecks","_loop","fittingPlacement","_ret","flip$1","getSideOffsets","preventedOffsets","isAnySideFullyClipped","side","hide","referenceOverflow","popperAltOverflow","referenceClippingOffsets","popperEscapeOffsets","isReferenceHidden","hasPopperEscaped","hide$1","distanceAndSkiddingToXY","rects","invertDistance","skidding","distance","_options$offset","data","_data$state$placement","offset$2","popperOffsets$1","getAltAxis","preventOverflow","_options$tether","tether","_options$tetherOffset","tetherOffset","altAxis","tetherOffsetValue","normalizedTetherOffsetValue","offsetModifierState","_offsetModifierState$","mainSide","altSide","additive","minLen","maxLen","arrowPaddingObject","arrowPaddingMin","arrowPaddingMax","arrowLen","minOffset","maxOffset","clientOffset","offsetModifierValue","tetherMin","tetherMax","preventedOffset","_offsetModifierState$2","_mainSide","_altSide","_offset","_min","_max","isOriginSide","_offsetModifierValue","_tetherMin","_tetherMax","_preventedOffset","preventOverflow$1","getHTMLElementScroll","getNodeScroll","isElementScaled","getCompositeRect","elementOrVirtualElement","isOffsetParentAnElement","offsetParentIsScaled","documentElement","order","modifiers","map","visited","modifier","sort","requires","dep","depModifier","orderModifiers","orderedModifiers","phase","pending","mergeByName","merged","existing","DEFAULT_OPTIONS","areValidElements","popperGenerator","generatorOptions","_generatorOptions","_generatorOptions$def","defaultModifiers","_generatorOptions$def2","defaultOptions","effectCleanupFns","isDestroyed","setOptionsAction","cleanupModifierEffects","runModifierEffects","_state$elements","_state$orderedModifie","_state$orderedModifie2","_ref$options","cleanupFn","noopFn","createPopper","getContainer","Portal","forwardedRef","disablePortal","mountNode","setMountNode","ReactDOM.createPortal","getPopperUtilityClass","flipPlacement","resolveAnchorEl","defaultPopperOptions","PopperTooltip","initialPlacement","popperOptions","popperRefProp","TransitionProps","ownerStateProp","tooltipRef","ownRef","popperRef","handlePopperRef","handlePopperRefRef","rtlPlacement","setPlacement","resolvedAnchorElement","setResolvedAnchorElement","handlePopperUpdate","popperModifiers","Root","rootProps","Popper","containerProp","keepMounted","transition","exited","setExited","resolvedAnchorEl","display","transitionProps","PopperRoot","BasePopper","isRtl","componentsProps","RootComponent","getListSubheaderUtilityClass","inset","disableSticky","ListSubheaderRoot","ListSubheader","CancelIcon","getChipUtilityClass","chipClasses","iconColor","onDelete","clickable","ChipRoot","textColor","ChipLabel","isDeleteKeyboardEvent","keyboardEvent","Chip","avatarProp","clickableProp","deleteIconProp","iconProp","skipFocusWhenDisabled","chipRef","handleDeleteIconClick","moreProps","deleteIcon","avatar","icon","TextareaAutosize","maxRows","minRows","heightRef","shadowRef","calculateTextareaStyles","computedStyle","inputShallow","innerHeight","singleRowHeight","outerHeight","outerHeightStyle","overflowing","syncHeight","textareaStyles","handleResize","rAF","debounceHandleResize","containerWindow","resizeObserver","handleChange","formControlState","states","muiFormControl","FormControlContext","useFormControl","hasValue","isFilled","SSR","isAdornedStart","getInputBaseUtilityClass","inputBaseClasses","_InputGlobalStyles","rootOverridesResolver","inputOverridesResolver","endAdornment","formControl","fullWidth","hiddenLabel","multiline","startAdornment","InputBaseRoot","InputBaseInput","placeholder","placeholderHidden","placeholderVisible","InputGlobalStyles","InputBase","ariaDescribedby","autoFocus","disableInjectingGlobalStyles","inputComponent","inputPropsProp","inputRefProp","renderSuffix","rows","handleInputRefWarning","handleInputRef","fcs","onFilled","onEmpty","checkDirty","InputComponent","inputProps","handleAutoFill","Input","getInputUtilityClass","inputClasses","getOutlinedInputUtilityClass","outlinedInputClasses","getFilledInputUtilityClass","filledInputClasses","ArrowDropDownIcon","getAutocompleteUtilityClass","autocompleteClasses","_ClearIcon","_ArrowDropDownIcon","expanded","hasClearIcon","hasPopupIcon","inputFocused","AutocompleteRoot","AutocompleteEndAdornment","AutocompleteClearIndicator","AutocompletePopupIndicator","AutocompletePopper","AutocompletePaper","AutocompleteLoading","AutocompleteNoOptions","AutocompleteListbox","AutocompleteGroupLabel","AutocompleteGroupUl","Autocomplete","ChipPropsProp","clearIcon","clearText","closeText","forcePopupIcon","getLimitTagsText","limitTags","ListboxComponentProp","ListboxPropsProp","loading","loadingText","noOptionsText","openText","PaperComponentProp","PopperComponentProp","popupIcon","renderGroupProp","renderInput","renderOptionProp","renderTags","getRootProps","getInputProps","getInputLabelProps","getPopupIndicatorProps","getClearProps","getTagProps","getListboxProps","getOptionProps","otherListboxProps","ListboxSlot","listboxProps","PaperSlot","paperProps","PopperSlot","popperProps","getCustomizedTagProps","customTagProps","renderGroup","renderOption","props2","renderListOption","optionProps","clearIndicatorSlotProps","popupIndicatorSlotProps","renderAutocompletePopperChildren","autocompletePopper","option2","index2","Person","getAvatarUtilityClass","avatarClasses","colorDefault","AvatarRoot","AvatarImg","AvatarFallback","useLoaded","crossOrigin","referrerPolicy","src","srcSet","loaded","setLoaded","image","Avatar","alt","childrenProp","imgProps","sizes","hasImg","hasImgNotFailing","ImgSlot","imgSlotProps","getAvatarGroupUtilityClass","avatarGroupClasses","SPACINGS","AvatarGroupRoot","AvatarGroup","renderSurplus","total","clampedMax","totalAvatars","maxAvatars","extraAvatars","extraAvatarsElement","marginValue","SurplusSlot","surplusProps","Fade","defaultTimeout","getBackdropUtilityClass","removeOwnerState","invisible","BackdropRoot","Backdrop","TransitionComponentProp","backwardCompatibleSlots","backwardCompatibleSlotProps","RootSlot","TransitionSlot","transitionPropsRemoved","boxClasses","Box","getButtonUtilityClass","buttonClasses","ButtonGroupContext","ButtonGroupButtonContext","disableElevation","commonIconStyles","ButtonRoot","inheritContainedBackgroundColor","inheritContainedHoverBackgroundColor","ButtonStartIcon","ButtonEndIcon","Button","contextProps","buttonGroupButtonContextPositionClassName","resolvedProps","endIconProp","startIconProp","startIcon","endIcon","positionClassName","getCardUtilityClass","CardRoot","Card","raised","getCardActionAreaUtilityClass","cardActionAreaClasses","CardActionAreaRoot","CardActionAreaFocusHighlight","CardActionArea","getCardContentUtilityClass","CardContentRoot","CardContent","getSwitchBaseUtilityClass","checked","SwitchBaseRoot","SwitchBaseInput","SwitchBase","checkedProp","checkedIcon","defaultChecked","required","setCheckedState","newChecked","hasLabelFor","CheckBoxOutlineBlankIcon","CheckBoxIcon","IndeterminateCheckBoxIcon","getCheckboxUtilityClass","checkboxClasses","indeterminate","CheckboxRoot","defaultCheckedIcon","defaultIcon","defaultIndeterminateIcon","Checkbox","indeterminateIconProp","indeterminateIcon","getCircularProgressUtilityClass","SIZE","circularRotateKeyframe","circularDashKeyframe","rotateAnimation","dashAnimation","disableShrink","CircularProgressRoot","CircularProgressSVG","CircularProgressCircle","CircularProgress","thickness","circleStyle","rootStyle","circumference","Container","isDynamicSupport","enableColorScheme","colorSchemeStyles","defaultStyles","themeOverrides","SELECTOR","staticStyles","baseStyles","CssBaseline","isOverflowing","ariaHidden","show","getPaddingRight","isAriaHiddenForbiddenOnElement","isForbiddenTagName","isInputHidden","ariaHiddenSiblings","mountElement","currentElement","elementsToExclude","blacklist","isNotExcludedElement","isNotForbiddenElement","findIndexOf","items","handleContainer","containerInfo","restoreStyle","scrollbarSize","scrollContainer","getHiddenSiblings","hiddenSiblings","ModalManager","modal","modalIndex","containerIndex","ariaHiddenState","nextTop","candidatesSelector","getTabIndex","tabindexAttr","isNonTabbableRadio","getRadio","roving","isNodeMatchingSelectorFocusable","defaultGetTabbable","regularTabNodes","orderedTabNodes","nodeTabIndex","defaultIsEnabled","FocusTrap","disableAutoFocus","disableEnforceFocus","disableRestoreFocus","getTabbable","isEnabled","ignoreNextEnforceFocus","sentinelStart","sentinelEnd","nodeToRestore","reactFocusEventTarget","activated","rootRef","lastKeydown","loopFocus","nativeEvent","contain","rootElement","tabbable","isShiftTab","focusNext","focusPrevious","interval","childrenPropsHandler","handleFocusSentinel","getHasTransition","defaultManager","useModal","disableEscapeKeyDown","disableScrollLock","manager","closeAfterTransition","onTransitionEnter","onTransitionExited","mountNodeRef","modalRef","hasTransition","ariaHiddenProp","getDoc","getModal","handleMounted","resolvedContainer","isTopModal","handlePortalRef","createHandleKeyDown","otherHandlers","createHandleBackdropClick","propsEventHandlers","externalEventHandlers","getModalUtilityClass","ModalRoot","ModalBackdrop","Modal","BackdropComponent","BackdropProps","hideBackdrop","onBackdropClick","propsWithDefaults","getBackdropProps","portalRef","BackdropSlot","backdropProps","backdropRef","getDividerUtilityClass","dividerClasses","absolute","flexItem","textAlign","DividerRoot","DividerWrapper","Divider","role","disableUnderline","FilledInputRoot","inputBaseRootOverridesResolver","bottomLineColor","hoverBackground","disabledBackground","FilledInputInput","inputBaseInputOverridesResolver","FilledInput","componentsPropsProp","filledInputComponentsProps","InputSlot","getFormControlUtilityClasses","FormControlRoot","FormControl","visuallyFocused","adornedStart","setAdornedStart","initialAdornedStart","filled","setFilled","initialFilled","focusedState","registerEffect","childContext","getFormControlLabelUtilityClasses","formControlLabelClasses","labelPlacement","FormControlLabelRoot","AsteriskComponent","FormControlLabel","control","disableTypography","labelProp","requiredProp","controlProps","TypographySlot","typographySlotProps","getFormGroupUtilityClass","row","FormGroupRoot","FormGroup","getFormHelperTextUtilityClasses","formHelperTextClasses","_span","contained","FormHelperTextRoot","FormHelperText","getFormLabelUtilityClasses","formLabelClasses","FormLabelRoot","FormLabel","GridContext","getGridUtilityClass","DIRECTIONS","WRAPS","GRID_SIZES","gridClasses","generateGrid","columnsBreakpointValues","columnValue","generateDirection","extractZeroValueBreakpointKeys","nonZeroKey","sortedBreakpointKeysByValue","generateRowGap","rowSpacingValues","zeroValueBreakpointKeys","generateColumnGap","columnSpacingValues","negativeValue","resolveSpacingStyles","spacingStyles","zeroMinWidth","breakpointsStyles","resolveSpacingClasses","spacingClasses","breakpointsClasses","columnsContext","otherFiltered","Grid2","createGrid2","getScale","isWebKit154","Grow","autoTimeout","getIconUtilityClass","IconRoot","Icon","baseClassName","InputRoot","InputInput","inputComponentsProps","getInputAdornmentUtilityClass","inputAdornmentClasses","disablePointerEvents","InputAdornmentRoot","InputAdornment","variantProp","getInputLabelUtilityClasses","shrink","disableAnimation","InputLabelRoot","InputLabel","shrinkProp","ListContext","getListUtilityClass","disablePadding","dense","subheader","ListRoot","List","getListItemUtilityClass","getListItemButtonUtilityClass","listItemButtonClasses","alignItems","ListItemButtonRoot","ListItemButton","listItemRef","getListItemSecondaryActionClassesUtilityClass","ListItemSecondaryActionRoot","ListItemSecondaryAction","hasSecondaryAction","ListItemRoot","ListItemContainer","ListItem","componentProp","ContainerComponent","ContainerClassName","ContainerProps","secondaryAction","getListItemAvatarUtilityClass","ListItemAvatarRoot","ListItemAvatar","getListItemIconUtilityClass","listItemIconClasses","ListItemIconRoot","ListItemIcon","getListItemTextUtilityClass","listItemTextClasses","ListItemTextRoot","ListItemText","primaryProp","primaryTypographyProps","secondaryProp","secondaryTypographyProps","nextItem","previousItem","textCriteriaMatches","textCriteria","text","moveFocus","currentFocus","traversalFunction","wrappedOnce","MenuList","actions","autoFocusItem","listRef","textCriteriaRef","containerElement","noExplicitWidth","criteria","lowerKey","currTime","keepFocusOnCurrent","activeItemIndex","newChildProps","getPopoverUtilityClass","getOffsetTop","vertical","getOffsetLeft","horizontal","getTransformOriginValue","transformOrigin","PopoverRoot","PopoverPaper","PaperBase","Popover","anchorOrigin","anchorPosition","anchorReference","marginThreshold","PaperPropsProp","transitionDurationProp","externalPaperSlotProps","paperRef","getAnchorOffset","anchorRect","getTransformOrigin","elemRect","getPositioningStyle","elemTransformOrigin","anchorOffset","heightThreshold","widthThreshold","isPositioned","setIsPositioned","setPositioningStyles","positioning","rootSlotPropsProp","handlePaperRef","getMenuUtilityClass","RTL_ORIGIN","LTR_ORIGIN","MenuRoot","MenuPaper","MenuMenuList","Menu","disableAutoFocusItem","MenuListProps","PaperProps","PopoverClasses","menuListActionsRef","handleListKeyDown","paperExternalSlotProps","rootSlotProps","paperSlotProps","getMenuItemUtilityClass","menuItemClasses","MenuItemRoot","MenuItem","tabIndexProp","menuItemRef","getNativeSelectUtilityClasses","nativeSelectClasses","StyledSelectSelect","NativeSelectSelect","StyledSelectIcon","NativeSelectIcon","NativeSelectInput","IconComponent","NotchedOutlineRoot","NotchedOutlineLegend","NotchedOutline","notched","withLabel","OutlinedInputRoot","OutlinedInputInput","OutlinedInput","_React$Fragment","RadioButtonUncheckedIcon","RadioButtonCheckedIcon","RadioButtonIconRoot","RadioButtonIconBackground","RadioButtonIconDot","RadioButtonIcon","RadioGroupContext","useRadioGroup","getRadioUtilityClass","radioClasses","RadioRoot","areEqualValues","Radio","nameProp","onChangeProp","radioGroup","getRadioGroupUtilityClass","RadioGroup","getSelectUtilityClasses","selectClasses","SelectSelect","SelectIcon","SelectNativeInput","SelectInput","ariaLabel","autoWidth","defaultOpen","displayEmpty","labelId","MenuProps","renderValue","SelectDisplayProps","openState","displayRef","displayNode","setDisplayNode","isOpenControlled","menuMinWidthState","setMenuMinWidthState","handleDisplayRef","anchorElement","update","childItem","handleItemClick","clonedEvent","displaySingle","displayMultiple","computeDisplay","menuMinWidth","buttonId","listboxId","styledRootConfig","StyledInput","StyledOutlinedInput","StyledFilledInput","Select","native","restOfClasses","inputComponentRef","areArraysEqual","array1","array2","itemComparer","INTENTIONAL_DRAG_COUNT_THRESHOLD","asc","findClosest","currentValue","closestIndex","trackFinger","touchId","touchEvent","touch","valueToPercent","percentToValue","percent","getDecimalPrecision","num","parts","matissaDecimalPart","decimalPart","roundValueToStep","nearest","setValueIndex","focusThumb","sliderRef","activeIndex","setActive","areValuesEqual","oldValue","axisProps","Identity","cachedSupportsTouchActionNone","doesSupportTouchActionNone","useSlider","ariaLabelledby","disableSwap","marksProp","onChangeCommitted","scale","shiftStep","setOpen","dragging","setDragging","moveCount","valueDerived","thumbIndex","range","marks","marksValues","mark","focusedThumbIndex","setFocusedThumbIndex","createHandleHiddenInputFocus","createHandleHiddenInputBlur","changeValue","valueInput","marksIndex","maxMarksValue","previousValue","createHandleHiddenInputKeyDown","createHandleHiddenInputChange","previousIndex","getFingerNewValue","finger","move","slider","stopListening","createHandleMouseDown","trackOffset","trackLeap","externalProps","externalHandlers","ownEventHandlers","mergedEventHandlers","createHandleMouseOver","createHandleMouseLeave","shouldSpreadAdditionalProps","Slot","getSliderUtilityClass","sliderClasses","useValueLabelClasses","SliderValueLabel","SliderRoot","SliderRail","SliderTrack","SliderThumb","BaseSliderValueLabel","SliderMark","markActive","SliderMarkLabel","marked","track","Forward","Slider","ariaValuetext","getAriaLabel","getAriaValueText","valueLabelDisplay","valueLabelFormat","getHiddenInputProps","getThumbProps","getThumbStyle","RailSlot","TrackSlot","ThumbSlot","ValueLabelSlot","MarkSlot","MarkLabelSlot","railSlotProps","trackSlotProps","thumbSlotProps","valueLabelSlotProps","markSlotProps","markLabelSlotProps","inputSlotProps","railProps","trackProps","thumbProps","valueLabelProps","markProps","markLabelProps","inputSliderProps","ValueLabelComponent","getTooltipUtilityClass","tooltipClasses","disableInteractive","TooltipPopper","TooltipTooltip","TooltipArrow","hystersisOpen","hystersisTimer","cursorPosition","composeEventHandler","eventHandler","Tooltip","describeChild","disableFocusListener","disableHoverListener","disableInteractiveProp","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","leaveDelay","leaveTouchDelay","PopperProps","title","childNode","setChildNode","arrowRef","setArrowRef","ignoreNonTouchEvents","closeTimer","enterTimer","leaveTimer","touchTimer","prevUserSelect","stopTouchInteraction","handleMouseOver","setChildIsFocusVisible","detectTouchStart","childrenProps","handleMouseMove","nameOrDescProps","titleIsString","interactiveWrapperListeners","tooltipModifiers","PopperComponent","TooltipComponent","ArrowComponent","tooltipProps","tooltipArrowProps","TransitionPropsInner","Stack","getSwitchUtilityClass","switchClasses","SwitchRoot","SwitchSwitchBase","SwitchTrack","SwitchThumb","Switch","TableContext","getTableUtilityClass","stickyHeader","TableRoot","defaultComponent","Table","table","Tablelvl2Context","getTableBodyUtilityClass","TableBodyRoot","tablelvl2","TableBody","getTableCellUtilityClass","tableCellClasses","TableCellRoot","TableCell","paddingProp","scopeProp","sortDirection","isHeadCell","scope","ariaSort","getTableContainerUtilityClass","TableContainerRoot","TableContainer","getTableHeadUtilityClass","TableHeadRoot","TableHead","getToolbarUtilityClass","ToolbarRoot","Toolbar","getTableRowUtilityClass","tableRowClasses","hover","head","footer","TableRowRoot","TableRow","getTextFieldUtilityClass","variantComponent","TextFieldRoot","TextField","FormHelperTextPropsProp","helperText","InputLabelPropsProp","InputPropsProp","select","SelectPropsProp","helperTextId","inputLabelId","inputAdditionalProps","inputLabelSlotProps","InputLabelSlot","inputLabelProps","HtmlInputSlot","htmlInputProps","FormHelperTextSlot","formHelperTextProps","SelectSlot","selectProps","InputElement","getToggleButtonUtilityClass","toggleButtonClasses","ToggleButtonGroupContext","ToggleButtonGroupButtonContext","isValueSelected","ToggleButtonRoot","ToggleButton","toggleButtonGroupButtonContextPositionClassName","getToggleButtonGroupUtilityClass","toggleButtonGroupClasses","ToggleButtonGroupRoot","ToggleButtonGroup","exclusive","buttonValue","handleExclusiveChange","validChildren","childrenCount","getButtonPositionClassName","isFirstButton","isLastButton","objectToString","isError","wat","isInstanceOf","isBuiltin","isErrorEvent","isDOMError","isDOMException","isString","isParameterizedString","isPrimitive","isEvent","isRegExp","isThenable","isSyntheticEvent","isNaN","isVueViewModel","truncate","safeJoin","isMatchingPattern","requireExactStringMatch","stringMatchesSomePattern","testString","patterns","applyAggregateErrorsToEvent","exceptionFromErrorImplementation","parser","maxValueLimit","hint","originalException","truncateAggregateExceptions","aggregateExceptionsFromError","prevExceptions","exception","exceptionId","newExceptions","applyExceptionGroupFieldsForParentException","newException","newExceptionId","applyExceptionGroupFieldsForChildException","childError","parentId","exceptions","maxValueLength","isGlobalObj","GLOBAL_OBJ","getGlobalObject","getGlobalSingleton","creator","gbl","__SENTRY__","WINDOW","DEFAULT_MAX_STRING_LENGTH","htmlTreeAsString","elem","currentElem","MAX_TRAVERSE_HEIGHT","out","sepLength","nextStr","keyAttrs","maxStringLength","_htmlElementAsString","keyAttrPairs","keyAttr","keyAttrPair","allowedAttrs","getLocationHref","getDomElement","getComponentName","DEBUG_BUILD","PREFIX","CONSOLE_LEVELS","originalConsoleMethods","consoleSandbox","console","wrappedFuncs","wrappedLevels","originalConsoleMethod","makeLogger","enabled","logger","DSN_REGEX","isValidProtocol","protocol","dsnToString","dsn","withPassword","host","pass","port","projectId","publicKey","dsnFromString","lastPath","split","projectMatch","dsnFromComponents","validateDsn","makeDsn","SentryError","message","logLevel","fill","replacementFactory","original","wrapped","markFunctionWrapped","addNonEnumerableProperty","proto","getOriginalFunction","urlEncode","convertToPlainObject","getOwnProperties","newObj","serializeEventTarget","extractedProps","extractExceptionKeysForMessage","maxLength","includedKeys","dropUndefinedKeys","_dropUndefinedKeys","memoizationMap","isPojo","memoVal","returnValue","STACKTRACE_FRAME_LIMIT","WEBPACK_ERROR_REGEXP","STRIP_FRAME_REGEXP","createStackParser","parsers","sortedParsers","stack","skipFirst","frames","lines","cleanedLine","frame","stripSentryFramesAndReverse","stackParserFromStackParserOptions","stackParser","localStack","defaultFunctionName","getFunctionName","instrumented","addHandler","maybeInstrument","instrumentFn","triggerHandlers","typeHandlers","addConsoleInstrumentationHandler","instrumentConsole","log","uuid4","crypto","getRandomByte","typedArray","getFirstException","getEventDescription","eventId","firstException","addExceptionTypeValue","addExceptionMechanism","newMechanism","defaultMechanism","currentMechanism","mergedData","checkOrSetAlreadyCaught","arrayify","maybeArray","DEBOUNCE_DURATION","debounceTimerID","lastCapturedEventType","lastCapturedEventTargetId","addClickKeypressInstrumentationHandler","instrumentDOM","triggerDOMHandler","globalDOMEventHandler","makeDOMEventHandler","originalAddEventListener","listener","handlerForType","originalRemoveEventListener","isSimilarToLastCapturedEvent","shouldSkipDOMEvent","eventType","globalListener","getEventTarget","supportsFetch","isNativeFetch","supportsNativeFetch","sandbox","addFetchInstrumentationHandler","instrumentFetch","originalFetch","method","parseFetchArgs","handlerData","response","finishedHandlerData","erroredHandlerData","hasProp","getUrlFromResource","resource","fetchArgs","_oldOnErrorHandler","addGlobalErrorInstrumentationHandler","instrumentError","msg","_oldOnUnhandledRejectionHandler","addGlobalUnhandledRejectionInstrumentationHandler","instrumentUnhandledRejection","supportsHistory","chromeVar","isChromePackagedApp","hasHistoryApi","lastHref","addHistoryInstrumentationHandler","instrumentHistory","oldOnPopState","to","historyReplacementFunction","originalHistoryFunction","SENTRY_XHR_DATA_KEY","addXhrInstrumentationHandler","instrumentXHR","xhrproto","originalOpen","startTimestamp","parseUrl","onreadystatechangeHandler","xhrInfo","readyStateArgs","setRequestHeaderArgs","header","originalSend","sentryXhrData","getSDKSource","memoBuilder","hasWeakSet","inner","unmemoize","normalize","depth","maxProperties","visit","normalizeToSize","maxSize","normalized","jsonSize","memo","stringified","stringifyValue","remainingDepth","valueWithToJSON","jsonValue","numAdded","visitable","visitKey","visitValue","objName","getConstructorName","utf8Length","States","RESOLVED","REJECTED","resolvedSyncPromise","SyncPromise","rejectedSyncPromise","executor","onfulfilled","onrejected","onfinally","isRejected","cachedHandlers","makePromiseBuffer","isReady","remove","task","add","taskProducer","drain","counter","capturedSetTimeout","fragment","validSeverityLevels","severityLevelFromString","ONE_SECOND_IN_MS","dateTimestampInSeconds","createUnixTimestampInSecondsFunc","performance","approxStartingTimeOrigin","timeOrigin","timestampInSeconds","browserPerformanceTimeOrigin","threshold","performanceNow","dateNow","timeOriginDelta","timeOriginIsReliable","navigationStart","navigationStartDelta","navigationStartIsReliable","BAGGAGE_HEADER_NAME","SENTRY_BAGGAGE_KEY_PREFIX","SENTRY_BAGGAGE_KEY_PREFIX_REGEX","MAX_BAGGAGE_STRING_LENGTH","baggageHeaderToDynamicSamplingContext","baggageHeader","baggageObject","curr","currBaggageObject","baggageHeaderToObject","dynamicSamplingContext","nonPrefixedKey","dynamicSamplingContextToSentryBaggageHeader","sentryPrefixedDSC","dscKey","dscValue","objectToBaggageHeader","baggageEntry","keyOrValue","objectKey","objectValue","currentIndex","newBaggageHeader","TRACEPARENT_REGEXP","extractTraceparentData","traceparent","parentSampled","propagationContextFromHeaders","sentryTrace","baggage","traceparentData","traceId","parentSpanId","generateSentryTraceHeader","spanId","sampled","sampledString","createEnvelope","headers","addItemToEnvelope","envelope","newItem","forEachEnvelopeItem","envelopeItems","envelopeItem","envelopeItemType","encodeUTF8","textEncoder","serializeEnvelope","envHeaders","itemHeaders","payload","stringifiedPayload","concatBuffers","buffers","totalLength","buf","createAttachmentEnvelopeItem","attachment","ITEM_TYPE_TO_DATA_CATEGORY_MAP","envelopeItemTypeToDataCategory","getSdkMetadataForEnvelopeHeader","metadataOrEvent","version","createEventEnvelopeHeaders","sdkInfo","tunnel","createClientReportEnvelope","discarded_events","timestamp","clientReportItem","DEFAULT_RETRY_AFTER","parseRetryAfterHeader","now","headerDelay","headerDate","disabledUntil","limits","dataCategory","isRateLimited","updateRateLimits","statusCode","updatedRateLimits","rateLimitHeader","retryAfterHeader","retryAfter","categories","namespaces","category","DEFAULT_ENVIRONMENT","getGlobalEventProcessors","addGlobalEventProcessor","notifyEventProcessors","processors","final","makeSession","startingTime","session","sessionToJSON","updateSession","closeSession","TRACE_FLAG_NONE","TRACE_FLAG_SAMPLED","spanToTraceContext","span","span_id","trace_id","op","parent_span_id","spanToJSON","spanToTraceHeader","spanIsSampled","spanTimeInputToSeconds","ensureTimestampInSeconds","spanIsSpanClass","traceFlags","prepareEvent","client","isolationScope","normalizeDepth","normalizeMaxBreadth","prepared","integrations","applyClientOptions","applyIntegrationsMetadata","applyDebugIds","finalScope","getFinalScope","clientEventProcessors","getGlobalScope","isolationData","mergeScopeData","finalScopeData","attachments","applyScopeDataToEvent","eventProcessors","evt","applyDebugMeta","normalizeEvent","environment","release","dist","request","debugIdStackParserCache","debugIdMap","debugIdStackFramesCache","cachedDebugIdStackFrameCache","filenameDebugIdMap","debugIdStackTrace","parsedStack","cachedParsedStack","stackFrame","images","filename","integrationNames","maxBreadth","captureContext","Scope","captureException","getCurrentHub","captureEvent","addBreadcrumb","breadcrumb","withScope","hub","getClient","getCurrentScope","startSession","getIsolationScope","currentScope","userAgent","currentSession","endSession","_sendSessionUpdate","captureSession","getRootSpan","getDynamicSamplingContextFromClient","public_key","user_segment","dsc","getDynamicSamplingContextFromSpan","txn","v7FrozenDsc","maybeSampleRate","jsonSpan","fingerprint","breadcrumbs","sdkProcessingMetadata","applyDataToEvent","applySpanToEvent","applyFingerprintToEvent","applyBreadcrumbsToEvent","applySdkMetadataToEvent","mergeData","extra","user","contexts","propagationContext","transactionName","mergeAndOverwriteScopeData","mergeVal","cleanedExtra","cleanedTags","cleanedUser","cleanedContexts","mergedBreadcrumbs","rootSpan","DEFAULT_MAX_BREADCRUMBS","globalScope","generatePropagationContext","newScope","requestSession","extras","scopeToMerge","scopeData","scopeContext","maxBreadcrumbs","maxCrumbs","mergedBreadcrumb","_breadcrumbs","_attachments","_contexts","_tags","_extra","_user","_level","_fingerprint","_eventProcessors","_propagationContext","_sdkProcessingMetadata","_transactionName","additionalEventProcessors","newData","syntheticException","SDK_VERSION","API_VERSION","DEFAULT_BREADCRUMBS","Hub","_version","assignedScope","assignedIsolationScope","maybePromiseResult","res","beforeBreadcrumb","finalBreadcrumb","oldHub","makeMain","integration","customSamplingContext","sentry","getMainCarrier","registry","getHubFromCarrier","setHubOnCarrier","getGlobalHub","hasHubOnCarrier","carrier","getActiveTransaction","maybeHub","errorsInstrumented","registerErrorInstrumentation","errorCallback","activeTransaction","SpanStatus","DeadlineExceeded","Unauthenticated","PermissionDenied","NotFound","ResourceExhausted","InvalidArgument","Unimplemented","Unavailable","InternalError","UnknownError","Cancelled","AlreadyExists","FailedPrecondition","Aborted","OutOfRange","DataLoss","getSpanStatusFromHttpCode","httpStatus","setHttpStatus","spanStatus","hasTracingEnabled","maybeOptions","startInactiveSpan","spanContext","normalizeContext","parentSpan","getActiveSpan","temporaryScope","createChildSpanOrTransaction","forceTransaction","setCapturedScopesOnSpan","SCOPE_ON_START_SPAN_FIELD","ISOLATION_SCOPE_ON_START_SPAN_FIELD","getCapturedScopesOnSpan","SEMANTIC_ATTRIBUTE_SENTRY_SOURCE","SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE","SEMANTIC_ATTRIBUTE_SENTRY_OP","SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN","SEMANTIC_ATTRIBUTE_PROFILE_ID","SpanRecorder","maxlen","Span","description","startTime","endTime","childSpan","opStr","nameStr","idStr","logMessage","endTimestamp","hasData","hasAttributes","transactionContext","incomingDynamicSamplingContext","newName","metadata","newMetadata","timestampInS","transaction","finishedSpans","endTimes","capturedSpanScope","capturedSpanIsolationScope","TRACING_DEFAULTS","FINISH_REASON_TAG","IDLE_TRANSACTION_FINISH_REASONS","IdleTransactionSpanRecorder","_pushActivity","_popActivity","transactionSpanId","originalEnd","IdleTransaction","Transaction","_idleHub","_idleTimeout","_finalTimeout","_heartbeatInterval","_onScope","delayAutoFinishUntilSignal","endTimestampInS","spanStartedBeforeTransactionFinish","timeoutWithMarginOfError","spanEndedBeforeFinalTimeout","stringifiedSpan","pushActivity","popActivity","restartOnChildSpanChange","heartbeatString","sampleTransaction","samplingContext","sampleRate","isValidSampleRate","rate","traceHeaders","_startTransaction","configInstrumenter","transactionInstrumenter","startIdleTransaction","idleTimeout","finalTimeout","onScope","heartbeatInterval","addTracingExtensions","setMeasurement","enhanceEventWithSdkInfo","createSessionEnvelope","envelopeHeaders","createEventEnvelope","SENTRY_API_VERSION","getBaseApiEndpoint","_getIngestEndpoint","_encodedAuth","getEnvelopeEndpointWithUrlEncodedAuth","tunnelOrOptions","installedIntegrations","filterDuplicates","integrationsByName","currentInstance","existingInstance","getIntegrationsToSetup","defaultIntegrations","userIntegrations","finalIntegrations","debugIndex","findIndex","debugInstance","setupIntegrations","integrationIndex","setupIntegration","afterSetupIntegrations","arr","convertIntegrationFnToClass","serializeMetricBuckets","metricBucketItems","tagEntries","maybeTags","createMetricEnvelope","createMetricEnvelopeItem","ALREADY_SEEN_ERROR","BaseClient","eventMessage","promisedEvent","transport","clientFinished","transportFlushed","eventProcessor","forceInitialize","integrationId","integrationName","isAlreadyInstalled","env","promise","sendResponse","eventOrCount","metricsEnvelope","hook","crashed","errored","ex","mechanism","sessionNonTerminal","ticked","tick","finalEvent","sentryError","isTransaction","isTransactionEvent","beforeSendLabel","processBeforeSend","_validateBeforeSendResult","processedEvent","spanCount","spanCountBefore","spanCountAfter","droppedSpanCount","transactionInfo","outcomes","beforeSendResult","invalidValueError","beforeSend","beforeSendTransaction","initAndBind","clientClass","setCurrentClient","initializeClient","DEFAULT_TRANSPORT_BUFFER_SIZE","createTransport","makeRequest","rateLimits","flush","send","filteredEnvelopeItems","getEventForEnvelopeItem","filteredEnvelope","recordEnvelopeLoss","requestTask","createSpanEnvelope","spans","createSpanItem","applySdkMetadata","names","DEFAULT_IGNORE_ERRORS","DEFAULT_IGNORE_TRANSACTIONS","INTEGRATION_NAME","_inboundFiltersIntegration","_hint","clientOptions","mergedOptions","_mergeOptions","_shouldDropEvent","inboundFiltersIntegration","internalOptions","_isSentryError","_isIgnoredError","_isIgnoredTransaction","_isDeniedUrl","_getEventFilterUrl","_isAllowedUrl","ignoreErrors","_getPossibleEventMessages","ignoreTransactions","denyUrls","allowUrls","possibleMessages","lastException","_getLastValidUrl","originalFunctionToString","SETUP_CLIENTS","_functionToStringIntegration","originalFunction","functionToStringIntegration","registerBackgroundTabDetection","statusType","bindReporter","metric","reportAllChanges","prevValue","delta","forceReport","generateUniqueID","getNavigationEntryFromPerformanceTiming","timing","navigationEntry","getNavigationEntry","getActivationStart","navEntry","initMetric","navigationType","observe","opts","po","onHidden","once","onHiddenOrPageHide","onCLS","onReport","report","sessionValue","sessionEntries","handleEntries","entries","firstSessionEntry","lastSessionEntry","firstHiddenTime","initHiddenTime","trackChanges","timeStamp","getVisibilityWatcher","onFID","visibilityWatcher","handleEntry","interactionCountEstimate","minKnownInteractionId","maxKnownInteractionId","updateEstimate","getInteractionCount","initInteractionCountPolyfill","getInteractionCountForNavigation","MAX_INTERACTIONS_TO_CONSIDER","longestInteractionList","longestInteractionMap","processEntry","minLongestInteraction","existingInteraction","interaction","estimateP98LongestInteraction","candidateInteractionIndex","onINP","prevEntry","inp","reportedMetricIDs","onLCP","lastEntry","whenReady","onTTFB","_previousCls","_previousFid","_previousLcp","_previousTtfb","_previousInp","addClsInstrumentationHandler","stopOnCallback","addMetricObserver","instrumentCls","addLcpInstrumentationHandler","instrumentLcp","addTtfbInstrumentationHandler","instrumentTtfb","addFidInstrumentationHandler","instrumentFid","addInpInstrumentationHandler","instrumentInp","addPerformanceInstrumentationHandler","instrumentPerformanceObserver","getCleanupCallback","isMeasurementValue","_startChild","MAX_INT_AS_BYTES","msToSec","time","getBrowserPerformanceAPI","_performanceCursor","_measurements","_lcpEntry","_clsEntry","startTrackingWebVitals","fidCallback","_trackFID","clsCallback","_trackCLS","lcpCallback","_trackLCP","ttfbCallback","_trackTtfb","startTrackingLongTasks","startTrackingInteractions","startTrackingINP","interactionIdtoRouteNameMapping","interactionsSampleRate","inpCallback","_trackINP","INP_ENTRY_MAP","interactionIdToRouteNameMapping","interactionType","routeName","parentContext","replayId","userDisplay","profileId","getSampleRate","addPerformanceEntries","performanceEntries","transactionStartTime","_addNavigationSpans","_addMeasureSpans","firstHidden","shouldRecord","_addResourceSpans","_trackNavigator","_addTtfbRequestTimeToMeasurements","measurementTimestamp","normalizedValue","fidMark","measurementName","_tagMetricInfo","measureStartTimestamp","measureEndTimestamp","_addPerformanceNavigationTiming","_addRequest","eventEnd","resourceUrl","parsedUrl","setResourceEntrySizeData","navigator","connection","dataKey","entryVal","responseStart","requestStart","instrumentFetchRequest","shouldCreateSpan","shouldAttachHeaders","spanOrigin","shouldCreateSpanResult","endSpan","fullUrl","getFullURL","addTracingHeadersToFetchRequest","requestSpan","sentryTraceHeader","sentryBaggageHeader","newHeaders","existingBaggageHeader","newBaggageHeaders","contentLength","contentLengthNum","DEFAULT_TRACE_PROPAGATION_TARGETS","defaultRequestInstrumentationOptions","instrumentOutgoingRequests","traceFetch","traceXHR","tracePropagationTargets","tracingOrigins","shouldCreateSpanForRequest","enableHTTPTimings","shouldAttachHeadersWithTargets","createdSpan","addHTTPTimings","xhrCallback","isPerformanceResourceTiming","cleanup","resourceTimingEntryToSpanData","extractNetworkProtocol","nextHopProtocol","_name","getAbsoluteTime","resourceTiming","timingSpanData","xhr","setHeaderOnXhr","instrumentRoutingWithDefaults","customStartTransaction","startTransactionOnPageLoad","startTransactionOnLocationChange","startingUrl","BROWSER_TRACING_INTEGRATION_ID","DEFAULT_BROWSER_TRACING_OPTIONS","MAX_INTERACTIONS","BrowserTracing","instrumentRouting","markBackgroundTransactions","_experiments","clientOptionsTracePropagationTargets","beforeNavigate","isPageloadTransaction","expandedContext","getMetaContent","modifiedContext","finalContext","idleTransaction","inflightInteractionTransaction","registerInteractionTransaction","currentTransaction","getSource","replay","isPerformanceEventTiming","interactionId","minInteractionId","metaName","metaTag","sourceFromAttributes","sourceFromData","sourceFromMetadata","ignoreOnError","shouldIgnoreOnError","ignoreNextOnError","wrapper","sentryWrapped","wrappedArguments","exceptionFromError","parseStackFrames","extractMessage","eventFromPlainObject","isUnhandledRejection","getNonErrorObjectExceptionValue","eventFromError","stacktrace","popSize","getPopSize","reactMinifiedRegexp","eventFromException","attachStacktrace","eventFromUnknownInput","eventFromMessage","eventFromString","domException","__sentry_template_string__","__sentry_template_values__","captureType","getObjectClassName","createUserFeedbackEnvelope","feedback","createUserFeedbackEnvelopeItem","BrowserClient","sdkSource","cachedFetchImpl","getNativeFetchImplementation","document","fetchImpl","contentWindow","clearCachedFetchImplementation","makeFetchTransport","nativeFetch","pendingBodySize","pendingCount","requestSize","requestOptions","XHR_READYSTATE_DONE","makeXHRTransport","UNKNOWN_FUNCTION","CHROME_PRIORITY","WINJS_PRIORITY","GECKO_PRIORITY","createFrame","lineno","colno","chromeRegex","chromeEvalRegex","chromeStackParserFn","subMatch","extractSafariExtensionDetails","chromeStackLineParser","geckoREgex","geckoEvalRegex","gecko","geckoStackLineParser","winjsRegex","winjs","winjsStackLineParser","defaultStackLineParsers","defaultStackParser","isSafariExtension","isSafariWebExtension","MAX_ALLOWED_STRING_LENGTH","_breadcrumbsIntegration","_getConsoleBreadcrumbHandler","_getDomBreadcrumbHandler","_getXhrBreadcrumbHandler","_getFetchBreadcrumbHandler","_getHistoryBreadcrumbHandler","_getSentryBreadcrumbHandler","breadcrumbsIntegration","dom","_isEvent","status_code","parsedLoc","parsedFrom","parsedTo","_dedupeIntegration","previousEvent","currentEvent","dedupeIntegration","_isSameMessageEvent","_isSameExceptionEvent","currentMessage","previousMessage","_isSameFingerprint","_isSameStacktrace","previousException","_getExceptionFromEvent","currentException","currentFrames","_getFramesFromEvent","previousFrames","frameA","frameB","currentFingerprint","previousFingerprint","_globalHandlersIntegration","_installGlobalOnErrorHandler","globalHandlerLog","_installGlobalOnUnhandledRejectionHandler","globalHandlersIntegration","getOptions","_eventFromIncompleteOnError","_enhanceEventWithInitialFrame","_getUnhandledRejectionError","_eventFromRejectionWithPrimitive","ERROR_TYPES_RE","groups","ev","ev0","ev0s","ev0sf","_httpContextIntegration","referrer","httpContextIntegration","DEFAULT_KEY","DEFAULT_LIMIT","_linkedErrorsIntegration","linkedErrorsIntegration","DEFAULT_EVENT_TARGET","_browserApiErrorsIntegration","_wrapTimeFunction","_wrapRAF","_wrapXHR","eventTargetOption","_wrapEventTarget","browserApiErrorsIntegration","originalCallback","wrapOptions","globalObject","eventName","wrappedEventHandler","originalEventHandler","getDefaultIntegrations","startSessionTracking","init$1","reactRouterV6Instrumentation","useEffect","useLocation","useNavigationType","createRoutesFromChildren","matchRoutes","stripBasename","initPathName","Subscribable","isServer","functionalUpdate","updater","isValidTimeout","timeUntilStale","updatedAt","staleTime","resolveStaleTime","resolveEnabled","matchQuery","filters","exact","fetchStatus","predicate","queryKey","stale","hashQueryKeyByOptions","partialMatchKey","isActive","matchMutation","mutation","mutationKey","hashKey","replaceEqualDeep","isPlainArray","aItems","aSize","bItems","bSize","equalItems","shallowEqualObjects","hasObjectPrototype","ctor","prot","sleep","replaceData","prevData","addToEnd","newItems","addToStart","skipToken","ensureQueryFn","fetchOptions","FocusManager","__privateAdd","_focused","_cleanup","_setup","__privateSet","__privateGet","setup","isFocused","focusManager","OnlineManager","_online","onOnline","onlineListener","offlineListener","online","onlineManager","defaultRetryDelay","failureCount","canFetch","networkMode","CancelledError","isCancelledError","createRetryer","isRetryCancelled","isResolved","continueFn","promiseResolve","promiseReject","outerResolve","outerReject","cancel","cancelOptions","cancelRetry","continueRetry","canContinue","canStart","pause","continueResolve","run","promiseOrValue","initialPromise","retry","retryDelay","shouldRetry","createNotifyManager","queue","transactions","notifyFn","batchNotifyFn","scheduleFn","schedule","originalQueue","notifyManager","Removable","_gcTimeout","newGcTime","Query","_Query_instances","_initialState","_revertState","_cache","_retryer","_defaultOptions","_abortSignalConsumed","getDefaultState","__privateMethod","dispatch_fn","setStateOptions","observer","abortController","addSignalProperty","fetchFn","queryFn","queryFnContext","onError","reducer","fetchState","initialDataUpdatedAt","QueryCache","_queries","queryHash","queryInMap","defaultedFilters","queries","Mutation","_Mutation_instances","_observers","_mutationCache","variables","restored","isPaused","_p","_o","_r","_q","_t","_s","MutationCache","_mutations","_mutationId","__privateWrapper","scopeFor","mutations","firstPendingMutation","foundMutation","pausedMutations","infiniteQueryBehavior","pages","oldPages","oldPageParams","currentPage","cancelled","fetchPage","param","page","maxPages","addTo","pageParamFn","getPreviousPageParam","getNextPageParam","oldData","remainingPages","pageParams","lastIndex","hasNextPage","hasPreviousPage","QueryClient","_queryCache","_queryDefaults","_mutationDefaults","_mountCount","_unsubscribeFocus","_unsubscribeOnline","cachedData","defaultedOptions","queryCache","refetchFilters","defaultedCancelOptions","promises","defaults","queryDefault","QueryObserver","_QueryObserver_instances","_client","_currentQuery","_currentQueryInitialState","_currentResult","_currentResultState","_currentResultOptions","_selectError","_selectFn","_selectResult","_lastQueryWithDefinedData","_staleTimeoutId","_refetchIntervalId","_currentRefetchInterval","_trackedProps","shouldFetchOnMount","executeFetch_fn","updateTimers_fn","shouldFetchOn","clearStaleTimeout_fn","clearRefetchInterval_fn","notifyOptions","prevOptions","prevQuery","updateQuery_fn","mounted","shouldFetchOptionally","updateStaleTimeout_fn","nextRefetchInterval","computeRefetchInterval_fn","updateRefetchInterval_fn","shouldAssignObserverCurrentProperties","onPropTracked","trackedResult","prevResult","prevResultState","prevResultOptions","queryInitialState","isPlaceholderData","fetchOnMount","fetchOptionally","errorUpdatedAt","selectError","placeholderData","isFetching","isPending","isLoading","isStale","nextResult","defaultNotifyOptions","shouldNotifyListeners","notifyOnChangeProps","notifyOnChangePropsValue","includedProps","typedKey","notify_fn","nextInterval","shouldLoadOnMount","optimisticResult","InfiniteQueryObserver","parentResult","isRefetching","isRefetchError","fetchDirection","isFetchNextPageError","isFetchingNextPage","isFetchPreviousPageError","isFetchingPreviousPage","MutationObserver","_MutationObserver_instances","_currentMutation","_mutateOptions","updateResult_fn","QueryClientContext","useQueryClient","queryClient","QueryClientProvider","jsx","IsRestoringContext","useIsRestoring","createValue","isReset","QueryErrorResetBoundaryContext","useQueryErrorResetBoundary","shouldThrowError","throwError","ensurePreventErrorBoundaryRetry","errorResetBoundary","useClearResetErrorBoundary","getHasError","throwOnError","ensureSuspenseTimers","shouldSuspend","fetchOptimistic","useBaseQuery","Observer","isRestoring","React.useSyncExternalStore","onStoreChange","unsubscribe","useQuery","useMutation","mutate","mutateOptions","useInfiniteQuery","bind","thisArg","toString","getPrototypeOf","kindOf","thing","kindOfTest","typeOfTest","isArray","isUndefined","isBuffer","isFunction","isArrayBuffer","isArrayBufferView","isNumber","isObject","isBoolean","isDate","isFile","isBlob","isFileList","isStream","isFormData","kind","isURLSearchParams","isReadableStream","isRequest","isResponse","isHeaders","forEach","allOwnKeys","findKey","_global","isContextDefined","caseless","assignValue","targetKey","extend","stripBOM","content","inherits","constructor","superConstructor","descriptors","toFlatObject","sourceObj","destObj","filter","propFilter","endsWith","searchString","toArray","isTypedArray","TypedArray","forEachEntry","pair","matchAll","regExp","isHTMLForm","toCamelCase","hasOwnProperty","reduceDescriptors","reducedDescriptors","descriptor","ret","freezeMethods","toObjectSet","arrayOrString","define","toFiniteNumber","ALPHA","DIGIT","ALPHABET","generateString","alphabet","isSpecCompliantForm","toJSONObject","reducedValue","isAsyncFn","_setImmediate","setImmediateSupported","postMessageSupported","callbacks","asap","utils$2","AxiosError","utils","customProps","axiosError","httpAdapter","isVisitable","removeBrackets","renderKey","dots","isFlatArray","predicates","toFormData","formData","metaTokens","visitor","defaultVisitor","indexes","useBlob","convertValue","exposedHelpers","build","encode","charMap","AxiosURLSearchParams","encoder","_encode","buildURL","serializeFn","serializedParams","hashmarkIndex","InterceptorManager","fulfilled","rejected","transitionalDefaults","URLSearchParams$1","FormData$1","Blob$1","platform$1","URLSearchParams","FormData","Blob","hasBrowserEnv","_navigator","hasStandardBrowserEnv","hasStandardBrowserWebWorkerEnv","platform","toURLEncodedForm","helpers","parsePropPath","arrayToObject","formDataToJSON","buildPath","isNumericKey","isLast","stringifySafely","rawValue","contentType","hasJSONContentType","isObjectPayload","_FormData","transitional","forcedJSONParsing","JSONRequested","strictJSONParsing","ignoreDuplicateOf","parseHeaders","rawHeaders","$internals","normalizeHeader","normalizeValue","parseTokens","tokensRE","isValidHeaderName","matchHeaderValue","isHeaderNameFilter","formatHeader","buildAccessors","accessorName","methodName","arg1","arg2","arg3","AxiosHeaders$1","valueOrRewrite","rewrite","self","setHeader","_value","_header","_rewrite","lHeader","setHeaders","matcher","deleted","deleteHeader","format","targets","asStrings","first","computed","accessors","defineAccessor","AxiosHeaders","mapped","headerValue","transformData","fns","isCancel","CanceledError","settle","validateStatus","parseProtocol","speedometer","samplesCount","bytes","timestamps","tail","firstSampleTS","chunkLength","startedAt","bytesCount","passed","throttle","freq","lastArgs","invoke","progressEventReducer","isDownloadStream","bytesNotified","_speedometer","progressBytes","inRange","progressEventDecorator","throttled","lengthComputable","asyncDecorator","isURLSameOrigin","msie","urlParsingNode","originURL","resolveURL","href","requestURL","cookies","expires","domain","secure","cookie","isAbsoluteURL","combineURLs","baseURL","relativeURL","buildFullPath","requestedURL","headersToObject","mergeConfig","config1","config2","getMergedValue","mergeDeepProperties","valueFromConfig2","defaultToConfig2","mergeDirectKeys","mergeMap","configValue","resolveConfig$1","newConfig","withXSRFToken","xsrfHeaderName","xsrfCookieName","auth","xsrfValue","isXHRAdapterSupported","xhrAdapter","_config","resolveConfig","requestData","requestHeaders","responseType","onUploadProgress","onDownloadProgress","onCanceled","uploadThrottled","downloadThrottled","flushUpload","flushDownload","done","onloadend","responseHeaders","timeoutErrorMessage","composeSignals","signals","controller","aborted","onabort","signal","streamChunk","chunk","chunkSize","pos","readBytes","iterable","readStream","stream","reader","trackStream","onProgress","onFinish","_onFinish","loadedBytes","isFetchSupported","isReadableStreamSupported","encodeText","test","supportsRequestStream","duplexAccessed","hasContentType","DEFAULT_CHUNK_SIZE","supportsResponseStream","resolvers","getBodyLength","resolveBodyLength","fetchAdapter","cancelToken","withCredentials","composedSignal","requestContentLength","_request","contentTypeHeader","isCredentialsSupported","isStreamResponse","responseContentLength","responseData","knownAdapters","renderReason","isResolvedHandle","adapter","adapters","nameOrAdapter","rejectedReasons","reasons","throwIfCancellationRequested","dispatchRequest","VERSION","validators","deprecatedWarnings","validator","formatMessage","opt","desc","assertOptions","schema","allowUnknown","validator$2","Axios$1","instanceConfig","configOrUrl","dummy","paramsSerializer","contextHeaders","requestInterceptorChain","synchronousRequestInterceptors","interceptor","responseInterceptorChain","chain","onFulfilled","onRejected","fullPath","Axios","generateHTTPMethod","isForm","CancelToken$1","CancelToken","resolvePromise","_resolve","abort","spread","isAxiosError","HttpStatusCode","createInstance","axios","all","Cancel","formToJSON","getAdapter","useSyncExternalStoreWithSelector_production_min","withSelectorModule","ReactOriginal","ReactOriginal[\"default\"]","ContextKey","gT","getContext","contextMap","realContext","ReactReduxContext","notInitialized","createReduxContextHook","useReduxContext","useSyncExternalStoreWithSelector","initializeUseSelector","refEquality","createSelectorHook","useReduxContext2","useSelector2","equalityFnOrOptions","equalityFn","devModeChecks","store","subscription","getServerState","stabilityCheck","identityFunctionCheck","wrappedSelector","selectedState","useSelector","defaultNoopBatch","createListenerCollection","last","listeners","isSubscribed","nullListeners","createSubscription","parentSub","subscriptionsAmount","selfSubscribed","addNestedSub","trySubscribe","cleanupListener","removed","tryUnsubscribe","notifyNestedSubs","handleChangeWrapper","trySubscribeSelf","tryUnsubscribeSelf","canUseDOM","isReactNative","useIsomorphicLayoutEffect","Provider","serverState","previousState","Context","Provider_default","createStoreHook","useStore2","useStore","createDispatchHook","useDispatch2","useDispatch","useSyncExternalStoreWithSelector2","Action","PopStateEventType","createBrowserHistory","createBrowserLocation","globalHistory","pathname","createLocation","createBrowserHref","createPath","getUrlBasedHistory","invariant","cond","createKey","getHistoryState","parsePath","parsedPath","hashIndex","searchIndex","getLocation","createHref","validateLocation","v5Compat","getIndex","handlePop","history","push","historyState","createURL","ResultType","immutableRouteKeys","isIndexRoute","route","convertRoutesToDataRoutes","routes","mapRouteProperties","parentPath","manifest","treePath","indexRoute","pathOrLayoutRoute","locationArg","basename","matchRoutesImpl","allowPartial","branches","flattenRoutes","rankRouteBranches","decoded","decodePath","matchRouteBranch","convertRouteMatchToUiMatch","loaderData","parentsMeta","flattenRoute","relativePath","meta","joinPaths","routesMeta","computeScore","_route$path","exploded","explodeOptionalSegments","segments","isOptional","restExploded","subpath","compareIndexes","paramRe","dynamicSegmentValue","indexRouteValue","emptySegmentValue","staticSegmentValue","splatPenalty","isSplat","initialScore","score","segment","branch","matchedParams","matchedPathname","remainingPathname","matchPath","normalizePathname","compiledParams","compilePath","pathnameBase","captureGroups","paramName","splatValue","caseSensitive","regexpSource","startIndex","nextChar","resolvePath","fromPathname","toPathname","resolvePathname","normalizeSearch","normalizeHash","getInvalidPathError","dest","getPathContributingMatches","getResolveToMatches","v7_relativeSplatPath","pathMatches","resolveTo","toArg","routePathnames","locationPathname","isPathRelative","isEmptyPath","routePathnameIndex","toSegments","hasExplicitTrailingSlash","hasCurrentTrailingSlash","paths","ErrorResponseImpl","statusText","internal","isRouteErrorResponse","validMutationMethodsArr","validMutationMethods","validRequestMethodsArr","validRequestMethods","redirectStatusCodes","redirectPreserveMethodStatusCodes","IDLE_NAVIGATION","IDLE_FETCHER","IDLE_BLOCKER","ABSOLUTE_URL_REGEX","defaultMapRouteProperties","TRANSITIONS_STORAGE_KEY","createRouter","routerWindow","detectErrorBoundary","dataRoutes","inFlightDataRoutes","dataStrategyImpl","defaultDataStrategy","patchRoutesOnNavigationImpl","future","unlistenHistory","subscribers","discoveredRoutesMaxSize","discoveredRoutes","savedScrollPositions","getScrollRestorationKey","getScrollPosition","initialScrollRestored","initialMatches","initialErrors","getInternalRouterError","getShortCircuitMatches","checkFogOfWar","initialized","errors","isRouteInitialized","fogOfWar","router","pendingAction","pendingPreventScrollReset","pendingNavigationController","pendingViewTransitionEnabled","appliedViewTransitions","removePageHideEventListener","isUninterruptedRevalidation","isRevalidationRequired","cancelledDeferredRoutes","cancelledFetcherLoads","fetchControllers","incrementingLoadId","pendingNavigationLoadId","fetchReloadIds","fetchRedirectIds","fetchLoadMatches","activeFetchers","deletedFetchers","activeDeferreds","blockerFunctions","pendingPatchRoutes","unblockBlockerHistoryUpdate","initialize","historyAction","blockerKey","shouldBlockNavigation","nextHistoryUpdatePromise","updateBlocker","blockers","updateState","startNavigation","restoreAppliedTransitions","_saveAppliedTransitions","persistAppliedTransitions","dispose","deleteFetcher","deleteBlocker","completedFetchers","deletedFetchersKeys","fetcher","subscriber","completeNavigation","_temp","_location$state","_location$state2","flushSync","isActionReload","isMutationMethod","actionData","mergeLoaderData","preventScrollReset","viewTransitionOpts","priorPaths","toPaths","getSavedScrollPosition","navigate","normalizedPath","normalizeTo","submission","normalizeNavigateOptions","currentLocation","nextLocation","userReplace","revalidate","interruptActiveLoads","saveScrollPosition","routesToUse","loadingNavigation","notFoundMatches","handleNavigational404","isHashChangeOnly","createClientSideRequest","pendingActionResult","findNearestBoundary","actionResult","handleAction","routeId","isErrorResult","getLoadingNavigation","shortCircuited","updatedMatches","handleLoaders","getActionDataForCommit","isFogOfWar","navigation","getSubmittingNavigation","discoverResult","discoverRoutes","boundaryId","handleDiscoverRouteError","actionMatch","getTargetMatch","callDataStrategy","isRedirectResult","normalizeRedirectLocation","startRedirectNavigation","isDeferredResult","boundaryMatch","overrideNavigation","fetcherSubmission","initialHydration","activeSubmission","getSubmissionFromNavigation","shouldUpdateNavigationState","getUpdatedActionData","matchesToLoad","revalidatingFetchers","getMatchesToLoad","cancelActiveDeferreds","updatedFetchers","markFetchRedirectsDone","updates","getUpdatedRevalidatingFetchers","abortFetcher","abortPendingFetchRevalidations","loaderResults","fetcherResults","callLoadersAndMaybeResolveData","redirect","findRedirect","processLoaderData","deferredData","didAbortFetchLoads","abortStaleFetchLoads","shouldUpdateFetchers","revalidatingFetcher","getLoadingFetcher","fetch","setFetcherError","handleFetcherAction","handleFetcherLoader","requestMatches","detectAndHandle405Error","existingFetcher","updateFetcherState","getSubmittingFetcher","fetchRequest","originatingLoadId","getDoneFetcher","revalidationRequest","loadId","loadFetcher","staleKey","doneFetcher","resolveDeferredData","isNavigation","_temp2","redirectLocation","isDocumentReload","redirectHistoryAction","formMethod","formAction","formEncType","fetcherKey","results","dataResults","callDataStrategyImpl","isRedirectDataStrategyResultResult","normalizeRelativeRoutingRedirectResponse","convertDataStrategyResultToDataResult","fetchersToLoad","currentMatches","loaderResultsPromise","fetcherResultsPromise","resolveNavigationDeferredResults","resolveFetcherDeferredResults","getFetcher","deleteFetcherAndUpdateState","markFetchersDone","doneKeys","landedId","yeetedKeys","getBlocker","blocker","newBlocker","blockerFunction","cancelledRouteIds","dfd","enableScrollRestoration","positions","getPosition","getKey","getScrollKey","partialMatches","isNonHMR","loadLazyRouteChildren","newMatches","addToFifoQueue","newPartialMatches","_internalSetRoutes","newRoutes","patchRoutes","patchRoutesImpl","isSubmissionNavigation","prependBasename","fromRouteId","relative","contextualMatches","activeRouteMatch","hasNakedIndexQuery","normalizeFormMethod","isFetcher","isValidMethod","getInvalidBodyError","rawFormMethod","stripHashFromPath","json","searchParams","convertFormDataToSearchParams","convertSearchParamsToFormData","getLoaderMatchesUntilBoundary","boundaryMatches","isInitialLoad","skipActionErrorRevalidation","currentUrl","nextUrl","actionStatus","shouldSkipRevalidation","navigationMatches","isNewLoader","currentRouteMatch","nextRouteMatch","shouldRevalidateLoader","isNewRouteInstance","fetcherMatches","fetcherMatch","shouldRevalidate","currentLoaderData","currentMatch","isNew","isMissingData","currentPath","loaderMatch","routeChoice","pendingRouteChildren","isPromise","_route$children","dataChildren","loadLazyRouteModule","lazyRoute","routeToUpdate","routeUpdates","lazyRouteProperty","isPropertyStaticallyDefined","_ref6","requestContext","loadRouteDefinitionsPromises","dsMatches","loadRoutePromise","shouldLoad","handlerOverride","callLoaderOrAction","staticContext","onReject","runHandler","abortPromise","actualHandler","handlerPromise","handlerError","dataStrategyResult","isDataWithResponseInit","_result$init2","_result$init","isDeferredData","_result$init3","_result$init4","_result$init5","_result$init6","trimmedMatches","normalizedLocation","isSameBasename","processRouteLoaderData","skipLoaderErrorBubbling","foundError","loaderHeaders","pendingError","newLoaderData","mergedLoaderData","_temp5","errorMessage","deferred","isRevalidatingLoader","unwrap","_window","transitions","sessionPositions","DataRouterContext","DataRouterStateContext","NavigationContext","LocationContext","RouteContext","RouteErrorContext","useInRouterContext","UNSAFE_invariant","useNavigate","isDataRoute","useNavigateStable","useNavigateUnstable","dataRouterContext","routePathnamesJson","UNSAFE_getResolveToMatches","activeRef","OutletContext","useOutlet","outlet","useParams","routeMatch","useRoutesImpl","dataRouterState","parentMatches","parentParams","parentPathnameBase","locationFromContext","parentSegments","_renderMatches","DefaultErrorComponent","useRouteError","preStyles","defaultErrorElement","RenderErrorBoundary","React.Component","errorInfo","RenderedRoute","routeContext","_dataRouterState","_future","renderedMatches","errorIndex","renderFallback","fallbackIndex","needsToRunLoader","shouldRenderHydrateFallback","errorElement","hydrateFallbackElement","getChildren","DataRouterHook","DataRouterStateHook","useDataRouterContext","hookName","useDataRouterState","useRouteContext","useCurrentRouteId","thisRoute","_state$errors","Navigate","isStatic","jsonPath","Outlet","Router","basenameProp","locationProp","staticProp","navigationContext","locationContext","trailingPathname","createSearchParams","getSearchParamsForLocation","locationSearch","defaultSearchParams","REACT_ROUTER_VERSION","createBrowserRouter","parseHydrationData","UNSAFE_mapRouteProperties","deserializeErrors","UNSAFE_ErrorResponseImpl","ErrorConstructor","ViewTransitionContext","FetchersContext","START_TRANSITION","startTransitionImpl","FLUSH_SYNC","flushSyncImpl","startTransitionSafe","flushSyncSafe","Deferred","RouterProvider","fallbackElement","setStateImpl","pendingState","setPendingState","vtContext","setVtContext","renderDfd","setRenderDfd","setTransition","interruption","setInterruption","fetcherData","v7_startTransition","optInStartTransition","isViewTransitionUnavailable","renderPromise","routerFuture","UNSAFE_DataRouterContext","UNSAFE_DataRouterStateContext","MemoizedDataRoutes","DataRoutes","UNSAFE_useRoutesImpl","useSearchParams","defaultInit","defaultSearchParamsRef","hasSetSearchParamsRef","setSearchParams","nextInit","navigateOptions","newSearchParams","formatProdErrorMessage","$$observable","symbol_observable_default","randomString","ActionTypes","actionTypes_default","createStore","preloadedState","enhancer","currentReducer","currentListeners","nextListeners","listenerIdCounter","isDispatching","ensureCanMutateNextListeners","getState","listenerId","dispatch","replaceReducer","nextReducer","observable","outerSubscribe","observeState","observerAsObserver","assertReducerShape","reducers","combineReducers","reducerKeys","finalReducers","finalReducerKeys","shapeAssertionError","hasChanged","previousStateForKey","nextStateForKey","applyMiddleware","middlewares","createStore2","middlewareAPI","isAction","NOTHING","DRAFTABLE","DRAFT_STATE","die","isDraft","isDraftable","isMap","isSet","objectCtorString","Ctor","each","iter","getArchtype","has","set","propOrOldValue","is","latest","shallowCopy","strict","isPlain","freeze","deep","isFrozen","dontMutateFrozenCollections","plugins","getPlugin","pluginKey","plugin","createScope","parent_","immer_","usePatchesInScope","patchListener","revokeScope","leaveScope","revokeDraft","enterScope","immer2","draft","processResult","baseDraft","finalize","maybeFreeze","rootScope","childValue","finalizeProperty","resultEach","isSet2","parentState","targetObject","rootPath","targetIsSet","createProxyProxy","traps","objectTraps","arrayTraps","revoke","proxy","readPropFromProto","prepareCopy","createProxy","getDescriptorFromProto","current2","markChanged","owner","Immer2","recipe","defaultBase","base2","hasError","ip","patches","inversePatches","patch","applyPatchesImpl","currentImpl","immer","produce","createThunkMiddleware","extraArgument","thunk","withExtraArgument","composeWithDevTools","createAction","prepareAction","actionCreator","Tuple","_Tuple","freezeDraftable","createNextState","emplace","buildGetDefaultMiddleware","immutableCheck","serializableCheck","actionCreatorCheck","middlewareArray","thunkMiddleware","SHOULD_AUTOBATCH","createQueueWithTimer","autoBatchEnhancer","notifying","shouldNotifyAtEndOfTick","notificationQueued","queueCallback","notifyListeners","listener2","wrappedListener","buildGetDefaultEnhancers","middlewareEnhancer","autoBatch","enhancerArray","configureStore","getDefaultMiddleware","devTools","enhancers","rootReducer","isPlainObject2","finalMiddleware","finalCompose","compose2","getDefaultEnhancers","storeEnhancers","composedEnhancer","executeReducerBuilderCallback","builderCallback","actionsMap","actionMatchers","defaultCaseReducer","builder","typeOrActionCreator","isStateFunction","createReducer","initialState","mapOrBuilderCallback","finalActionMatchers","finalDefaultCaseReducer","getInitialState","frozenInitialState","caseReducers","reducer2","cr","caseReducer","isDraft2","isDraftable2","createNextState2","asyncThunkSymbol","getType","actionKey","buildCreateSlice","creators","cAT","reducerPath","buildReducerCreators","reducerNames","contextMethods","name2","reducerName","reducerDefinition","reducerDetails","isAsyncThunkSliceReducerDefinition","handleThunkCaseReducerDefinition","handleNormalReducerDefinition","buildReducer","extraReducers","finalCaseReducers","sM","selectSelf","injectedSelectorCache","_reducer","makeSelectorProps","reducerPath2","injected","selectSlice","sliceState","getSelectors","selectState","selectorCache","wrapSelector","injectable","pathOpt","newReducerPath","rootState","createSlice","asyncThunk","payloadCreator","prepare","createNotation","maybeReducerWithPrepare","prepareCallback","isCaseReducerWithPrepareDefinition","settled","settingSlice","setYorkieIntelligence","setFileUpload","selectSetting","settingSlice$1","generateGetSettingsQueryKey","useGetSettingsQuery","settingStore","_defineProperties","_createClass","Constructor","protoProps","staticProps","subClass","superClass","excluded","sourceKeys","noOp","SnackbarContext","capitalise","originKeyExtractor","anchor","isDefined","_this$props$nodeRef","React__default","refA","refB","useMemo","refValue","_props$style","defaultEasing","createTransition","_ref$duration","_ref$easing","_ref$delay","formattedDuration","formattedDelay","getTranslateValue","transformValues","setTranslateValue","Slide","_props$direction","_props$timeout","useRef","handleRefIntermediary","updatePosition","useCallback","createElement","CheckIcon","WarningIcon","ErrorIcon","InfoIcon","defaultIconVariants","getAutoHideDuration","optionsDuration","propsDuration","isNumberOrNull","numberish","getTransitionDuration","types","shouldObjectMerge","makeStyles","_extends2","ComponentClasses","_getTransitionProps","_getTransitionProps2","getSlideDirection","toSnackbarAnchorOrigin","keepSnackbarClassKeys","containerClasses","noOp$1","snackbarId","argums","useLayoutEffect","Snackbar","autoHideDuration","_props$disableWindowB","disableWindowBlurListener","_props$SnackbarProps","SnackbarProps","timerAutoHide","setAutoHideTimer","autoHideDurationParam","handlePause","handleResume","handleMouseEnter","_root","classes$1","SnackbarContent","classes$2","MaterialDesignContent","componentOrFunctionAction","iconVariant","hideIconVariant","MaterialDesignContent$1","SnackbarItem","_useState","useState","collapsed","setCollapsed","handleExitedScreen","col","snack","allClasses","_props$Component","componentOrFunctionContent","otherSnack","cbName","_root$1","_rootDense","_left","_right","_center","indents","collapseWrapper","xsWidthMargin","styles$1","SnackbarContainer","_props$classes","combinedClassname","SnackbarContainer$1","isOptions","messageOrOptions","isMessage","SnackbarProvider","_Component","optsOrUndefined","preventDuplicate","hasSpecifiedKey","merger","compareFunction","inQueue","inView","snacks","popped","ignore","persistentCount","shouldCloseAll","toBeClosed","domRoot","_this$props$dense","_this$props$Component","Components","categ","existingOfCategory","snackbars","nomineeSnack","createPortal","useSnackbar","useErrorHandler","enqueueSnackbar","AuthContext","authSlice","setAccessToken","setRefreshToken","logout","selectAuth","authSlice$1","userSlice","setUserData","selectUser","userSlice$1","generateGetUserQueryKey","accessToken","useGetUserQuery","authStore","axiosInterceptorAdded","setAxiosInterceptorAdded","refreshToken","newAccessToken","useUpdateUserNicknameMutation","isCheckBoxInput","isDateObject","isNullOrUndefined","isObjectType","getEventValue","getNodeParentName","isNameInFieldArray","tempObject","prototypeCopy","isWeb","cloneObject","compact","get","isKey","stringToPath","tempPath","objValue","EVENTS","VALIDATION_MODE","INPUT_VALIDATION_RULES","HookFormContext","useFormContext","FormProvider","getProxyFormState","formState","localProxyFormState","isRoot","isEmptyObject","shouldRenderFormState","formStateData","_proxyFormState","updateFormState","convertToArrayPayload","shouldSubscribeByName","signalName","currentName","useSubscribe","useFormState","methods","_mounted","_localProxyFormState","generateWatchOutput","_names","formValues","isGlobal","fieldName","useWatch","updateValue","useController","shouldUnregister","isArrayField","_registerProps","_shouldUnregisterField","updateMounted","elm","appendErrors","validateAllFieldCriteria","getValidationModes","isWatched","isBlurEvent","watchName","iterateFieldsByAction","fields","fieldsNames","abortEarly","currentField","updateFieldArrayRootError","fieldArrayErrors","isFileInput","isRadioInput","isRegex","defaultResult","validResult","getCheckboxValue","defaultReturn","getRadioValue","getValidateError","getValueAndMessage","validationData","validateField","shouldUseNativeValidation","isFieldArray","minLength","validate","valueAsNumber","mount","setCustomValidity","isRadio","isCheckBox","isRadioOrCheckbox","appendErrorsCurry","getMinMaxMessage","exceedMax","maxLengthMessage","minLengthMessage","maxType","minType","exceedMin","maxOutput","minOutput","valueNumber","valueDate","convertTimeToDate","isTime","isWeek","maxLengthOutput","minLengthOutput","patternValue","validateError","validationResult","baseGet","updatePath","isEmptyArray","unset","childObject","createSubject","deepEqual","object1","object2","keys1","keys2","val1","val2","isMultipleSelect","live","objectHasFunction","markFieldsDirty","isParentNodeArray","getDirtyFieldsFromDefaultValues","dirtyFieldsFromValues","getDirtyFields","defaultValues","getFieldValueAs","valueAsDate","setValueAs","getFieldValue","getResolverOptions","_fields","criteriaMode","getRuleValue","ASYNC_FUNCTION","hasPromiseValidation","fieldReference","validateFunction","hasValidation","schemaErrorLookup","skipValidation","isTouched","isSubmitted","reValidateMode","unsetEmptyArray","createFormControl","_formState","_defaultValues","_formValues","_state","delayErrorCallback","_subjects","validationModeBeforeSubmit","validationModeAfterSubmit","shouldDisplayAllAssociatedErrors","_updateValid","shouldUpdateValid","isValid","_executeSchema","executeBuiltInValidation","_updateIsValidating","isValidating","_updateFieldArray","shouldSetValues","shouldUpdateFieldsAndState","fieldValues","touchedFields","_getDirty","updateErrors","_setErrors","updateValidAndValue","shouldSkipSetValueAs","setFieldValue","updateTouchAndDirty","fieldValue","shouldDirty","shouldRender","shouldUpdateField","isPreviousDirty","disabledField","isCurrentFieldPristine","isPreviousFieldTouched","shouldRenderByError","fieldState","previousFieldError","updatedFormState","executeSchemaAndUpdateState","shouldOnlyCheckValid","isFieldArrayRoot","isPromiseFunction","fieldError","_removeUnmounted","unregister","getValues","_getWatch","_getFieldArray","optionRef","checkboxRef","radioRef","trigger","setValues","fieldKey","cloneValue","isFieldValueUpdated","getCurrentFieldValue","_updateIsFieldValueUpdated","shouldSkipValidation","watched","previousErrorLookupResult","errorLookupResult","_focusInput","fieldNames","getFieldState","clearErrors","inputName","setError","currentError","currentRef","restOfErrorTree","watch","_updateDisabledField","register","disabledIsDefined","fieldRef","radioOrCheckbox","_focusError","_disableForm","handleSubmit","onValid","onInvalid","onValidError","resetField","_reset","keepStateOptions","updatedValues","cloneUpdatedValues","isEmptyResetValues","form","reset","useForm","_formControl","_values","isDirty","VisibilityIcon","eM","$","em","eu","er","es","en","eo","et","eE","eT","eF","eq","ew","eO","ey","eS","eP","eC","eK","eR","eN","eB","eA","eL","eI","eW","eQ","ez","e$","eV","eU","eD","eJ","eY","eX","eG","eZ","e_","eH","e5","e8","e1","e9","e4","e2","e3","ro","e7","rr","rt","ru","rm","rs","rp","rw","rC","rP","rx","ry","rV","rW","rK","rN","rz","rM","rB","generateCheckNameConflictQueryKey","useCheckNameConflictQuery","useTimeoutFn","ms","ready","clear","useDebounce","deps","ChangeNicknameModal","nickname","setNickname","debouncedNickname","setDebouncedNickname","conflictResult","updateUserNickname","handleNicknameChange","handleUpdateUserNickname","jsxs","FormContainer","TextFieldElement","AuthProvider","isSuccess","shouldChangeNickname","CodePairError","GuestRoute","isLoggedIn","userStore","PrivateRoute","ArrowBackIosNewIcon","EditIcon","VerticalSplitIcon","useUserPresence","presenceList","setPresenceList","updatePresences","presence","EditorModeType","editorSlice","setShareRole","setDoc","setClient","setCmView","selectEditor","editorSlice$1","workspaceSlice","setWorkspaceData","selectWorkspace","workspaceSlice$1","ShareRole","AccessTimeIcon","AddIcon","CloseIcon","ContentCopyIcon","DarkModeIcon","KeyboardArrowDownIcon","KeyboardArrowUpIcon","KeyboardDoubleArrowLeftIcon","KeyboardDoubleArrowRightIcon","LightModeIcon","LogoutIcon","ManageAccountsIcon","MoreVertIcon","PeopleIcon","RefreshIcon","SaveAltIcon","SendIcon","ShareIcon","SpaceDashboardIcon","ToggleOffIcon","ToggleOnIcon","documentSlice","setDocumentData","selectDocument","documentSlice$1","useCreateUploadUrlMutation","useUploadFileMutation","useExportFileMutation","exportType","fileName","useFileExport","editorStore","documentStore","exportFileMutation","handleExportFile","markdown","documentName","contentDisposition","fileNameMatch","blob","link","DownloadMenu","handleExportToPDF","handleExportToHTML","handleExportToMarkdown","invitationExpiredStringList","hookCallback","hooks","setHookCallback","hasOwnProp","arrLen","createUTC","locale","createLocalOrUTC","defaultParsingFlags","getParsingFlags","some","fun","flags","parsedParts","isNowValid","createInvalid","momentProperties","updateInProgress","copyConfig","momentPropertiesLen","Moment","isMoment","warn","deprecate","firstTime","argLen","deprecations","deprecateSimple","mergeConfigs","parentConfig","childConfig","Locale","defaultCalendar","calendar","mom","zeroFill","number","targetLength","forceSign","absNumber","zerosToFill","sign","formattingTokens","localFormattingTokens","formatFunctions","formatTokenFunctions","addFormatToken","padded","ordinal","removeFormattingTokens","makeFormatFunction","formatMoment","expandFormat","replaceLongDateFormatTokens","defaultLongDateFormat","longDateFormat","formatUpper","tok","defaultInvalidDate","invalidDate","defaultOrdinal","defaultDayOfMonthOrdinalParse","defaultRelativeTime","relativeTime","withoutSuffix","isFuture","pastFuture","normalizeUnits","units","normalizeObjectUnits","inputObject","normalizedInput","normalizedProp","priorities","getPrioritizedUnits","unitsObj","match1","match2","match3","match4","match6","match1to2","match3to4","match5to6","match1to3","match1to4","match1to6","matchUnsigned","matchSigned","matchOffset","matchShortOffset","matchTimestamp","matchWord","match1to2NoLeadingZero","match1to2HasZero","regexes","addRegexToken","strictRegex","isStrict","localeData","getParseRegexForToken","unescapeFormat","regexEscape","p3","p4","absFloor","toInt","argumentForCoercion","coercedNumber","addParseToken","tokenLen","addWeekParseToken","addTimeToArrayFromToken","isLeapYear","year","YEAR","MONTH","DATE","HOUR","MINUTE","SECOND","MILLISECOND","WEEK","WEEKDAY","daysInYear","getSetYear","makeGetSet","getIsLeapYear","keepTime","set$1","isUTC","month","date","stringGet","stringSet","prioritized","prioritizedLen","mod","indexOf","daysInMonth","modMonth","defaultLocaleMonths","defaultLocaleMonthsShort","MONTHS_IN_FORMAT","defaultMonthsShortRegex","defaultMonthsRegex","localeMonths","localeMonthsShort","handleStrictParse","monthName","llc","localeMonthsParse","setMonth","getSetMonth","getDaysInMonth","monthsShortRegex","computeMonthsParse","monthsRegex","cmpLenRev","shortPieces","longPieces","mixedPieces","shortP","longP","createDate","createUTCDate","firstWeekOffset","dow","doy","fwd","fwdlw","dayOfYearFromWeeks","week","weekday","localWeekday","weekOffset","dayOfYear","resYear","resDayOfYear","weekOfYear","resWeek","weeksInYear","weekOffsetNext","localeWeek","defaultLocaleWeek","localeFirstDayOfWeek","localeFirstDayOfYear","getSetWeek","getSetISOWeek","parseWeekday","parseIsoWeekday","shiftWeekdays","ws","defaultLocaleWeekdays","defaultLocaleWeekdaysShort","defaultLocaleWeekdaysMin","defaultWeekdaysRegex","defaultWeekdaysShortRegex","defaultWeekdaysMinRegex","localeWeekdays","weekdays","localeWeekdaysShort","localeWeekdaysMin","handleStrictParse$1","weekdayName","localeWeekdaysParse","getSetDayOfWeek","day","getSetLocaleDayOfWeek","getSetISODayOfWeek","weekdaysRegex","computeWeekdaysParse","weekdaysShortRegex","weekdaysMinRegex","minPieces","minp","shortp","longp","hFormat","kFormat","meridiem","lowercase","matchMeridiem","kInput","pos1","pos2","localeIsPM","defaultLocaleMeridiemParse","getSetHour","localeMeridiem","hours","minutes","isLower","baseConfig","locales","localeFamilies","globalLocale","commonPrefix","arr1","arr2","minl","normalizeLocale","chooseLocale","loadLocale","isLocaleNameSane","oldLocale","aliasedRequire","module","getSetGlobalLocale","getLocale","defineLocale","updateLocale","tmpLocale","listLocales","checkOverflow","extendedIsoRegex","basicIsoRegex","tzRegex","isoDates","isoTimes","aspNetJsonRegex","rfc2822","obsOffsets","configFromISO","allowTime","dateFormat","timeFormat","tzFormat","isoDatesLen","isoTimesLen","configFromStringAndFormat","extractFromRFC2822Strings","yearStr","monthStr","dayStr","hourStr","minuteStr","secondStr","untruncateYear","preprocessRFC2822","checkWeekday","weekdayStr","parsedInput","weekdayProvided","weekdayActual","calculateOffset","obsOffset","militaryOffset","numOffset","hm","configFromRFC2822","parsedArray","configFromString","currentDateArray","nowValue","configFromArray","currentDate","expectedWeekday","yearToUse","dayOfYearFromWeekInfo","weekYear","weekdayOverflow","curWeek","createLocal","skipped","stringLength","totalParsedInputLength","era","meridiemFixWrap","hour","isPm","configFromStringAndArray","tempConfig","bestMoment","scoreToBeat","currentScore","validFormatFound","bestFormatIsValid","configfLen","configFromObject","dayOrDate","createFromConfig","prepareConfig","configFromInput","prototypeMin","prototypeMax","pickBy","moments","ordering","isDurationValid","unitHasDecimal","orderLen","isValid$1","createInvalid$1","createDuration","Duration","years","quarters","months","weeks","days","seconds","isDuration","absRound","compareArrays","dontConvert","lengthDiff","diffs","offsetFromString","chunkOffset","cloneWithOffset","model","getDateOffset","getSetOffset","keepLocalTime","keepMinutes","localAdjust","addSubtract","getSetZone","setOffsetToUTC","setOffsetToLocal","setOffsetToParsedOffset","tZone","hasAlignedHourOffset","isDaylightSavingTime","isDaylightSavingTimeShifted","isLocal","isUtcOffset","isUtc","aspNetRegex","isoRegex","diffRes","parseIso","momentsDifference","positiveMomentsDifference","createAdder","period","dur","tmp","isAdding","updateOffset","subtract","isMomentInput","isNumberOrStringArray","isMomentInputObject","objectTest","propertyTest","propertyLen","arrayTest","dataTypeTest","isCalendarSpec","getCalendarFormat","myMoment","calendar$1","formats","sod","clone","isAfter","localInput","isBefore","isBetween","inclusivity","localFrom","localTo","isSame","inputMs","isSameOrAfter","isSameOrBefore","asFloat","that","zoneDelta","monthDiff","wholeMonthDiff","anchor2","adjust","toISOString","keepOffset","utc","inspect","zone","datetime","suffix","inputString","fromNow","toNow","newLocaleData","lang","MS_PER_SECOND","MS_PER_MINUTE","MS_PER_HOUR","MS_PER_400_YEARS","mod$1","dividend","divisor","localStartOfDate","utcStartOfDate","startOf","startOfDate","endOf","valueOf","unix","toDate","toObject","toJSON","isValid$2","parsingFlags","invalidAt","creationData","matchEraAbbr","matchEraName","matchEraNarrow","matchEraYearOrdinal","localeEras","eras","localeErasParse","eraName","abbr","narrow","localeErasConvertYear","getEraName","getEraNarrow","getEraAbbr","getEraYear","erasNameRegex","computeErasParse","erasAbbrRegex","erasNarrowRegex","abbrPieces","namePieces","narrowPieces","erasName","erasAbbr","erasNarrow","addWeekYearFormatToken","getter","getSetWeekYear","getSetWeekYearHelper","getSetISOWeekYear","getISOWeeksInYear","getISOWeeksInISOWeekYear","getWeeksInYear","weekInfo","getWeeksInWeekYear","weeksTarget","setWeekAll","dayOfYearData","getSetQuarter","getSetDayOfMonth","getSetDayOfYear","getSetMinute","getSetSecond","getSetMillisecond","parseMs","getZoneAbbr","getZoneName","createUnix","createInZone","preParsePostFormat","proto$1","get$1","listMonthsImpl","listWeekdaysImpl","localeSorted","shift","listMonths","listMonthsShort","listWeekdays","listWeekdaysShort","listWeekdaysMin","mathAbs","addSubtract$1","add$1","subtract$1","absCeil","bubble","monthsFromDays","monthsToDays","daysToMonths","as","makeAs","alias","asMilliseconds","asSeconds","asMinutes","asHours","asDays","asWeeks","asMonths","asQuarters","asYears","valueOf$1","clone$1","get$2","makeGetter","thresholds","substituteTimeAgo","relativeTime$1","posNegDuration","getSetRelativeTimeRounding","roundingFunction","getSetRelativeTimeThreshold","humanize","argWithSuffix","argThresholds","withSuffix","abs$1","toISOString$1","totalSign","ymSign","daysSign","hmsSign","proto$2","generateGetWorkspaceDocumentListQueryKey","workspaceId","generateGetDocumentQueryKey","documentId","useGetWorkspaceDocumentListQuery","pageParam","firstPage","lastPage","useGetDocumentQuery","useCreateDocumentMutation","useCreateWorkspaceSharingTokenMutation","useUpdateDocumentTitleMutation","clipboard","ShareModal","modalProps","shareUrl","setShareUrl","createWorkspaceSharingToken","handleCreateShareUrl","addedTime","moment","sharingToken","handleCopyShareUrl","SelectElement","expiredString","ShareButton","shareModalOpen","setShareModalOpen","handleShareModalOpen","Fragment","Text","clip","TextNode","RawTextCursor","skip","PartialTextCursor","LineCursor","TextLeaf","textLength","isLine","Line","sliceText","joined","appendText","mid","newLen","lineSep","part","endLine","childOpen","updated","totalLines","iA","iB","chA","chB","flat","maxChunk","minChunk","chunked","currentLines","currentLen","currentChunk","offsetValue","lineBreak","Line$1","isExtendingChar","isRegionalIndicator","ZWJ","findClusterBreak","forward","includeExtending","nextClusterBreak","prevClusterBreak","surrogateLow","surrogateHigh","codePointAt","codePointSize","countBefore","found","code0","code1","fromCodePoint","DefaultSplit","MapMode","ChangeDesc","sections","ins","posA","posB","individual","iterChanges","composeSets","mapSet","assoc","endA","ChangeSet","fromA","toA","fromB","_toB","ranges","resultSections","resultInserted","filteredSections","SectionIter","addSection","addInsert","changes","force","process","spec","sub","insert","insText","insLen","forceJoin","endB","setA","setB","mkSet","piece","sectionLen","insB","SelectionRange","change","EditorSelection","includeAssoc","mainIndex","which","bidiLevel","goalColumn","checkSelection","selection","docLength","nextID","Facet","compareInput","compare","enables","sameArray","FacetProvider","dependencies","facet","addresses","multi","depDoc","depSel","depAddrs","tr","ensureAll","newVal","compareArray","oldState","oldAddr","oldVal","getAddr","StateField","addrs","changed","addr","ensureAddr","dynamicFacetSlot","providers","providerAddrs","providerTypes","dynamic","depChanged","oldProviders","initField","createF","updateF","compareF","Prec_","prec","ext","PrecExtension","Prec","Compartment","CompartmentInstance","compartment","Configuration","compartments","dynamicSlots","address","staticValues","facets","newCompartments","flatten","oldFacets","extension","seen","known","languageData","allowMultipleSelections","lineSeparator","changeFilter","transactionFilter","transactionExtender","Annotation","AnnotationType","StateEffectType","StateEffect","mapping","effects","startState","annotations","scrollIntoView","ann","joinRanges","mergeTransaction","sequential","mapForA","mapForB","resolveTransactionInner","docSize","sel","asArray","resolveTransaction","specs","seq","extendTransaction","filterTransaction","back","filtered","extenders","none","CharCategory","nonASCIISingleCaseWordChar","wordChar","hasWordChar","makeCategorizer","wordChars","EditorState","computeSlot","require","conf","startValues","result1","newChanges","newMapped","mapBy","fieldInit","configuration","phrase","provider","at","cat","kA","kB","combineConfig","configs","RangeValue","Range","Range$1","cmpRange","Chunk","maxPoint","startAt","lo","newPos","curFrom","curTo","newFrom","newTo","RangeSet","chunkPos","nextLayer","updateSpec","filterFrom","filterTo","cur","LayerCursor","spill","RangeSetBuilder","chunks","HeapCursor","sets","oldSets","newSets","textDiff","comparator","minPointSize","sharedChunks","findSharedChunks","sideA","SpanCursor","sideB","sameValues","openRanges","openCount","lazySort","layer","newArrays","inA","shared","minPoint","rank","rangeIndex","heap","heapBubble","childIndex","findMinIndex","trackOpen","wasPoint","nextVal","startA","startB","dPos","clipEnd","foundPos","countColumn","tabSize","findColumn","COUNT","SET","StyleModule","finish","splitSelector","render","selectors","isKeyframes","local","isAt","modules","StyleSet","adoptedSet","adopted","mac","keyName","ignoreKey","getSelection","deepActiveElement","elt","hasSelection","clientRectsFor","textRange","isEquivalentPosition","off","targetNode","targetOff","scanFor","domIndex","flattenRect","windowRect","scrollRectIntoView","xMargin","yMargin","ltr","bounding","moveX","moveY","rectHeight","boundingHeight","movedX","movedY","scrollableParent","DOMSelectionState","domSel","anchorNode","focusNode","focusOffset","preventScrollSupported","focusPreventScroll","scratchRange","dispatchKey","getRoot","clearAttributes","atElementStart","isScrolledToBottom","DOMPos","precise","noChildren","ContentView","view","contentView","rm$1","_dom","after","bias","fromI","fromStart","toI","toEnd","prevEnd","andParent","childList","_rec","_event","ChildCursor","hasStart","openStart","openEnd","replaceRange","fromOff","toOff","breakAtStart","breakAtEnd","mergeChildrenInto","dLen","nav","ie_edge","ie_upto10","ie_11up","chrome","webkit","safari","ios","browser","MaxJoinLen","TextView","textDOM","_from","_to","textCoords","MarkView","_hasStart","detachFrom","inlineDOMAtPos","coordsInChildren","WidgetView","widget","custom","fromBack","WidgetBufferView","joinInlineInto","beforePos","afterPos","scan","fallbackRect","combineAttrs","noAttrs","attrsEq","keysA","keysB","updateAttrs","attrs","getAttrs","LineView","deco","cls","hack","totalWidth","textHeight","heightOracle","_other","docView","block","BlockWidgetView","_takeDeco","startSide","endSide","WidgetType","BlockType","Decoration","MarkDecoration","PointDecoration","getInclusive","LineDecoration","isReplace","widgetsEq","addRange","ContentBuilder","disallowBlockEffectsFor","wrapMarks","take","NullWidget","cursorBefore","cursorAfter","decorations","dynamicDecorationMap","Direction","LTR","RTL","dec","LowTypes","ArabicTypes","Brackets","BracketStack","charType","BidiRE","BidiSpan","maybe","isolatesEq","computeCharTypes","rFrom","rTo","isolates","outerType","iI","prevType","prevStrong","processBracketPairs","oppositeType","sI","br","sJ","embed","processNeutrals","beforeL","afterL","jI","fromJ","emitSpans","baseLevel","ourType","iCh","sameDir","isNum","localLevel","iScan","iso","upto","dirSwap","computeSectionOrder","computeOrder","trivialOrder","movedOver","moveVisually","spanI","spanEnd","nextI","nextSpan","autoDirection","clickAddsSelectionRange","dragMovesSelection$1","mouseSelectionStyle","exceptionSink","updateListener","inputHandler","focusChangeEffect","perLineTextDirection","nativeSelectionHidden","ScrollTarget","isSnapshot","logException","editable","nextPluginID","viewPlugin","ViewPlugin","domEventHandlers","domEventObservers","buildExtensions","eventObservers","provide","pluginInst","PluginInstance","editorAttributes","contentAttributes","outerDecorations","atomicRanges","bidiIsolatedRanges","getIsolatedRanges","fromDoc","toDoc","scrollMargins","getScrollMargins","styleModule","ChangedRange","toB","dI","rI","ViewUpdate","changedRanges","DocView","readCompositionAt","touchesComposition","composition","findCompositionRange","prevDeco","decoDiff","findChangedDeco","oldLength","cView","gaps","BlockGapWidget","compLine","fix","mustRead","fromPointer","activeElt","selectionNotFocus","betweenUneditable","inUneditable","rawSel","nextTo","nextToUneditable","nearbyTextNode","lineStart","newRange","domView","best","bestPos","childOff","contentWidth","isWider","widest","childRect","measure","charWidth","vs","allDeco","dynamicOuter","outerDeco","margins","targetRect","offsetWidth","offsetHeight","findCompositionNode","headPos","textNode","inv","parentView","startNode","startOffset","DecorationComparator$1","comp","inside","touched","groupAt","categorize","linePos","getdx","getdy","yOverlap","upTop","upBot","domPosAtCoords","closest","closestRect","closestX","closestY","closestOverlap","above","below","aboveRect","belowRect","dx","dy","domPosInText","clipX","closestOffset","closestDY","generalSide","posAtCoords","coords","docTop","docHeight","yOffset","halfLine","bounced","posAtCoordsImprecise","isSuspiciousSafariCaretResult","isSuspiciousChromeCaretResult","contentRect","into","blockAt","moveToLineBoundary","includeWrap","editorRect","moveByChar","by","byGroup","nextCat","moveVertically","startPos","goal","startY","startCoords","resolvedGoal","curY","charRect","skipAtomicRanges","atoms","moved","skipAtoms","oldPos","InputState","firefoxCopyCutHack","eventBelongsToEditor","computeHandlers","exists","modifierCodes","PendingKeys","EmacsyPendingKeys","mouseSelection","bindHandler","record","observers","dragScrollMargin","dragScrollSpeed","MouseSelection","startEvent","mustSelect","addsSelectionRange","isInPrimarySelection","getClickType","sy","dragMovesSelection","brokenClipboardAPI","capturePaste","doPaste","byLine","lastLinewiseCopy","lastLine","makeStyle","basicMouseSelection","mustFocus","mouseSel","rangeForClick","visual","insideY","findPositionSide","queryPos","BadMouseDetail","lastMouseDown","lastMouseDownCount","lastMouseDownTime","lastTime","startSel","startRange","removeRangeAround","inputState","dropText","direct","dropPos","draggedContent","del","files","finishFile","captureCopy","copiedRange","linewise","isFocusChange","focusChangeTransaction","focus","getEffect","updateForFocusChange","startViewHeight","appliedFirefoxHack","wrappingWhiteSpace","HeightOracle","lineWrapping","whiteSpace","lineHeights","newHeight","lineLength","knownHeights","MeasuredHeights","heights","BlockInfo","_content","QueryType","Epsilon","HeightMap","oracle","oldDoc","NodeBuilder","HeightMapText","brk","HeightMapBranch","HeightMapBlock","_height","_oracle","_type","_force","measured","HeightMapGap","firstLine","perLine","perChar","totalPerLine","guess","lineTop","linesAbove","singleHeight","rightTop","rightOffset","subQuery","rightStart","mergeGaps","rebalance","around","relevantWidgetHeight","breaks","heightRelevantDecoChanges","DecorationComparator","visiblePixelRange","paddingTop","parentRect","fullPixelRange","LineGap","gA","gB","viewState","wrapping","LineGapWidget","ViewState","IdScaler","guessWrapping","viewports","Viewport","BigScaler","scaleBlock","scrollTarget","contentChanges","heightChanges","prevHeight","scrollAnchor","updateLines","refresh","domRect","measureContent","paddingBottom","pixelViewport","dTop","dBottom","vp","viewportChange","marginTop","visibleTop","visibleBottom","viewHeight","topPos","mayMeasure","halfMargin","doubleMargin","addGap","structure","avoid","find","lineStructure","viewFrom","viewTo","marginHeight","bot","targetFrac","findFraction","spaceFrac","findPosition","marginWidth","fraction","stateDeco","ratio","counted","heightMap","vpHeight","domBase","scaler","bTop","bBottom","strs","darkTheme","baseThemeID","baseLightID","baseDarkID","lightDarkIDs","buildTheme","scopes","baseTheme$1","LineBreakPlaceholder","DOMReader","oldLen","nextView","isBlockElement","point","nextBreak","breakSize","fromView","isAtEnd","DOMPoint","DOMChange","typeOver","iHead","iAnchor","selPoints","selectionPoints","selectionFromPoints","offFrom","offTo","applyDOMChange","domChange","newSel","lastKey","preferredPos","preferredSide","findDiff","defaultTr","defaultInsert","applyDefaultInsert","userEvent","mainSel","replaced","compositionRange","rangeChanges","selOff","observeOptions","useCharData","DOMObserver","mut","wasChanged","safariSelectionRangeHack","keyCode","records","readSelection","handled","rec","childBefore","findChild","childAfter","curView","curAnchor","EditorView","trs","redrawn","attrsChanged","focusFlag","dispatchFocus","pendingKey","CachedOrder","hadFocus","prevSpecs","newPlugins","sDOM","scrollAnchorPos","scrollAnchorHeight","measuring","BadMeasure","editorAttrs","attrsFromFacet","contentAttrs","changedContent","changedEditor","div","initial","MaxBidiLine","fresh","lastDir","sources","currentPlatform","normalizeKeyName","ctrl","handleKeyEvents","runHandlers","getKeymap","keymap","Keymaps","bindings","buildKeymap","runScopeHandlers","storedPrefix","PrefixTimeout","bound","isPrefix","checkPrefix","command","preventDefault","stopPropagation","scopeObj","ourObj","full","binding","charCode","isChar","prevented","ran","runFor","cmd","baseName","shiftName","RectangleMarker","getBase","rectanglesForRange","wrappedLine","lineElt","lineStyle","leftSide","rightSide","startBlock","endBlock","visualStart","visualEnd","pieces","drawForLine","drawForWidget","addSpan","fromOpen","toOpen","fromCoords","toCoords","endPos","docLine","spanFrom","spanTo","sameMarker","LayerView","layerOrder","markers","old","oldI","CanHidePrimary","selectionConfig","drawSelection","cursorLayer","selectionLayer","hideNativeSelection","getDrawSelectionConfig","configChanged","cursors","prim","confChange","setBlinkRate","themeSpec","setDropCursorPos","dropCursorPos","drawDropCursor","cursorPos","outer","dropCursor","iterMatches","matchRanges","visible","MatchDecorator","regexp","decoration","decorate","_view","changeFrom","changeTo","updateFrom","updateTo","fromLine","toLine","UnicodeRegexpSupport","Specials","Names","_supportsTabSize","supportsTabSize","specialCharConfig","highlightSpecialChars","specialCharPlugin","_plugin","TabWidget","SpecialCharWidget","DefaultPlaceholder","placeholder$1","highlightActiveLine","activeLineHighlighter","lineDeco","lastLineStart","MaxOff","rectangleFor","startLine","startOff","endOff","startCol","endCol","absoluteColumn","getPos","rectangleSelectionStyle","newStart","newLine","_extend","rectangularSelection","showCrosshair","crosshairCursor","isDown","Outside","TooltipViewManager","createTooltipView","removeTooltipView","tooltips","tooltipViews","newAbove","tip","tooltipView","windowSpace","tooltipConfig","knownHeight","tooltipPlugin","showTooltip","tooltip","shouldMeasure","editor","makeAbsolute","tv","space","others","tView","arrowHeight","noOffset","spaceVert","arrowLeft","showHoverTooltip","HoverTooltipHost","hostedView","given","showHoverTooltipHost","HoverPlugin","setHover","hoverTime","hovered","lastMove","posCoords","bidi","rtl","isInTooltip","isOverRange","tooltipMargin","docBottom","hoverTooltip","hoverState","closeHoverTooltipEffect","getTooltip","panelConfig","topContainer","bottomContainer","getPanel","panel","panelPlugin","showPanel","PanelGroup","panels","curDOM","GutterMarker","gutterLineClass","activeGutters","gutter","gutters","unfixGutters","gutterView","SingleGutterView","vpA","vpB","vpOverlap","detach","lineClasses","classSet","UpdateContext","advanceCursor","cx","collect","newElt","GutterElement","extraMarkers","localMarkers","forLine","prevMarkers","sameMarkers","domPos","iNew","iOld","skipTo","lineNumberMarkers","lineNumberConfig","NumberMarker","formatNumber","lineNumberGutter","maxLineNumber","spacer","lineNumbers","activeLineGutterMarker","activeLineGutterHighlighter","highlightActiveLineGutter","DefaultBufferLength","nextPropID","NodeProp","NodeType","MountedTree","tree","noProps","NodeSet","newTypes","CachedNode","CachedInnerNode","IterMode","Tree","TreeCursor","TreeNode","resolveNode","stackIterator","leave","anon","entered","balanceRange","buildTree","FlatBufferCursor","TreeBuffer","pick","checkSide","startI","endI","BaseNode","matchNodeContext","_tree","_parent","BufferNode","BufferContext","hasChild","rPos","parentStart","iterStack","heads","picked","newHeads","StackIterator","layers","mustLeave","nodeSet","maxBufferLength","reused","minRepeatType","contextHash","lookAhead","takeNode","minPos","inRepeat","lookAheadAtStart","findBufferSize","copyToBuffer","localChildren","localPositions","localInRepeat","lastGroup","lastEnd","makeRepeatLeaf","takeFlatNode","make","makeBalanced","makeTree","nodeCount","stopAt","lastI","lookAheadProp","fork","minStart","nodeSize","localSkipped","nodeStart","bufferStart","nodeSizeCache","balanceType","mkTop","mkTree","maxChild","divide","groupFrom","groupStart","groupSize","nextSize","NodeWeakMap","TreeFragment","fragments","partial","minGap","fI","nextF","cI","nextC","nextPos","cut","fFrom","fTo","Parser$2","StringInput","parseMixed","nest","MixedParse","InnerParse","checkRanges","ActiveOverlay","mounts","stoppedInner","fragmentCursor","FragmentCursor","covered","isCovered","checkCover","materialize","oldMounts","punchRanges","enterFragments","sliceBuf","newStack","innerOffset","stackPos","targetI","StructureCursor","FragmentCursor$2","frag","gapFrom","gapTo","findCoverChanges","inB","nextA","nextB","nextTagID","Tag","modified","nameOrParent","Modifier","nextModifierID","mods","powerSet","styleTags","byName","Rule","ruleNodeProp","tagHighlighter","tagClass","highlightTags","highlighters","highlighter","highlightTree","putStyle","HighlightBuilder","inheritedClass","getStyleTags","tagCls","innerHighlighters","rangeFrom","rangeTo","typeName","propertyName","literal","heading","keyword","operator","punctuation","bracket","languageDataProp","defineLanguageFacet","baseData","sublanguageProp","Language","extraExtensions","syntaxTree","language","topNodeAt","innerNode","sublang","explore","topLang","LRLanguage","ensureSyntaxTree","oldVieport","DocInput","stringStart","currentContext","ParseContext","treeLen","scheduleOn","until","cutFragments","startLen","Parser","frags","LanguageState","newCx","vpTo","parseState","requestIdle","idle","isInputPending","parseWorker","deadline","viewportFirst","languages","LanguageSupport","support","LanguageDescription","extensions","loadFunc","load","descs","fuzzy","indentService","indentUnit","getIndentUnit","indentString","cols","ts","getIndentation","IndentContext","service","syntaxIndentation","simulateBreak","simulateDoubleBreak","override","overriden","indentNodeProp","ast","indentFor","indentStrategy","TreeIndentContext","ignoreClosed","close","closed","delimitedStrategy","topIndent","atBreak","isParent","bracketedAligned","openToken","sim","openLine","lineEnd","delimitedIndent","closing","closedAt","aligned","flatIndent","continuedIndent","except","matchExcept","DontIndentBeyond","indentOnInput","indent","norm","foldService","foldNodeProp","foldInside","syntaxFolding","isUnfinished","foldable","mapRange","foldEffect","unfoldEffect","selectedLines","foldState","folded","foldExists","preparePlaceholder","foldConfig","PreparedFoldWidget","foldWidget","onSelection","findFold","maybeEnable","codeFolding","foldCode","announceFold","unfoldCode","fold","lineFrom","lineTo","foldAll","unfoldAll","foldKeymap","widgetToDOM","onclick","foldGutterDefaults","FoldMarker","foldGutter","fullConfig","canFold","canUnfold","HighlightStyle","modSpec","def","scopeOpt","highlighterFacet","fallbackHighlighter","getHighlighters","syntaxHighlighting","treeHighlighter","themeType","TreeHighlighter","styleChange","decoratedToMapped","defaultHighlightStyle","DefaultScanDist","DefaultBrackets","bracketMatchingConfig","defaultRenderMatch","matchingMark","nonmatchingMark","bracketMatchingState","matchBrackets","bracketMatchingUnique","bracketMatching","bracketMatchingHandle","matchingNodes","brackets","byProp","findHandle","hasHandle","maxScanDistance","handle","matchMarkedBrackets","matchPlainBrackets","_pos","matching","firstToken","endHandle","tokenType","startCh","startToken","basePos","countCol","startValue","StringStream","overrideIndent","consume","caseInsensitive","cased","noTokens","typeArray","warned","byTag","defaultTable","legacyName","createTokenType","warnForPart","tagStr","tags$1","toggleComment","getConfig","toggleLineComment","toggleBlockCommentByLine","changeLineComment","toggleBlockComment","changeBlockComment","selectedLineRanges","SearchMargin","findBlockComment","textBefore","textAfter","spaceBefore","spaceAfter","beforeOff","startText","endText","startSpace","endSpace","comments","prevLine","minIndent","empty","single","changeSet","fromHistory","isolateHistory","invertedEffects","historyConfig","changeEnd","historyField_","HistoryState","fromHist","HistEvent","updateBranch","addSelection","isolate","undo","redo","undoSelection","redoSelection","startSelection","selectionsAfter","invert","selections","newEvent","newBranch","isAdjacent","eqSelectionShape","conc","MaxSelectionsPerEvent","lastEvent","sels","popSelection","addMappingToBranch","mapEvent","extraSelections","mappedChanges","fullMapping","joinableUserEvent","undone","prevTime","prevUserEvent","newGroupDelay","historyKeymap","updateSel","setSel","moveSel","how","rangeEnd","cursorByChar","ltrAtCursor","cursorCharLeft","cursorCharRight","cursorCharBackward","cursorByGroup","cursorGroupLeft","cursorGroupRight","interestingNode","bracketProp","moveBySyntax","cursorSyntaxLeft","cursorSyntaxRight","cursorByLine","cursorLineUp","cursorLineDown","pageHeight","cursorByPage","scrollRect","cursorPageUp","cursorPageDown","moveByLineBoundary","cursorLineBoundaryForward","cursorLineBoundaryBackward","cursorLineBoundaryLeft","cursorLineBoundaryRight","cursorLineStart","cursorLineEnd","toMatchingBracket","cursorMatchingBracket","extendSel","selectByChar","selectCharLeft","selectCharRight","selectByGroup","selectGroupLeft","selectGroupRight","selectSyntaxLeft","selectSyntaxRight","selectByLine","selectLineUp","selectLineDown","selectByPage","selectPageUp","selectPageDown","selectLineBoundaryForward","selectLineBoundaryBackward","selectLineBoundaryLeft","selectLineBoundaryRight","selectLineStart","selectLineEnd","cursorDocStart","cursorDocEnd","selectDocStart","selectDocEnd","selectAll","selectLine","selectedLineBlocks","selectParentSyntax","simplifySelection","deleteBy","towards","skipAtomic","deleteByChar","targetPos","drop","deleteCharBackward","deleteCharForward","deleteByGroup","deleteGroupBackward","deleteGroupForward","deleteToLineEnd","deleteToLineStart","splitLine","transposeChars","blocks","moveLine","nextLine","moveLineUp","moveLineDown","copyLine","copyLineUp","copyLineDown","deleteLine","isBetweenBrackets","closedBy","insertNewlineAndIndent","newlineAndIndent","insertBlankLine","atEof","explode","changeBySelectedLine","atLine","indentSelection","indentMore","indentLess","keep","emacsStyleKeymap","standardKeymap","defaultKeymap","indentWithTab","crelt","basicNormalize","SearchCursor","baseFlags","RegExpCursor","MultilineRegExpCursor","toCharEnd","flattened","FlattenedDoc","cachedFrom","validRegExp","createLineDialog","dialogEffect","go","ln","dialogField","gotoLine","defaultHighlightOptions","highlightConfig","highlightSelectionMatches","matchHighlighter","matchDeco","mainMatchDeco","insideWordBoundaries","insideWord","word","selectWord","findNextOccurrence","fullWord","cycled","selectNextOccurrence","searchedText","searchConfigFacet","SearchPanel","SearchQuery","RegExpQuery","StringQuery","st","regexpCursor","stringCursor","stringWordTest","categorizer","bufPos","charBefore","charAfter","_result","regexpWordTest","setSearchQuery","togglePanel","searchState","SearchState","defaultQuery","createSearchPanel","matchMark","selectedMatchMark","searchHighlighter","searchCommand","openSearchPanel","findNext","announceMatch","selectSearchInput","findPrevious","selectMatches","selectSelectionMatches","replaceNext","replaceAll","announceText","fallback","selText","getSearchInput","searchInput","searchExtensions","closeSearchPanel","searchKeymap","AnnounceMargin","Break","CompletionContext","explicit","expr","ensureAnchor","toSet","chars","words","prefixMatch","completeFromList","validFor","ifNotIn","Option","completion","addStart","addEnd","pickedCompletion","insertCompletionText","SourceCache","asSource","startCompletionEffect","closeCompletionEffect","FuzzyMatcher","upper","any","byWord","firstSize","anyTo","preciseTo","byWordTo","byWordFolded","adjacentTo","adjacentStart","adjacentEnd","hasLower","wordAdjacent","StrictMatcher","completionConfig","defaultPositionInfo","joinClass","spaceLeft","spaceRight","infoWidth","infoHeight","spaceBelow","optionContent","_v","labelElt","detailElt","rangeAroundSelected","CompletionTooltip","stateField","applyCompletion","cState","infoResult","destroy","listRect","infoRect","selRect","curSection","section","completionTooltip","sortOptions","addOption","getMatch","sectionOrder","cmp","CompletionDialog","makeAttrs","selectedValue","createTooltip","CompletionState","ActiveSource","sameResults","setSelectedEffect","baseAttrs","getUpdateType","typing","explicitPos","setActiveEffect","ActiveResult","checkValid","completionState","apply","moveCompletionSelection","acceptCompletion","startCompletion","closeCompletion","RunningQuery","MaxUpdateCount","MinAbortTime","completionPlugin","doesReset","dialog","windows","commitCharacters","commitChars","FieldPos","FieldRange","Snippet","fieldPositions","lineObj","baseIndent","tabs","template","rawName","brace","fieldMarker","fieldRange","ActiveSnippet","moveToField","snippetState","fieldSelection","snippet","addSnippetKeymap","snippetPointerHandler","moveField","clearSnippet","nextSnippetField","prevSnippetField","defaultSnippetKeymap","snippetKeymap","maps","snippetCompletion","closeBracketEffect","closedBracket","bracketState","closeBrackets","definedClosing","android","insertBracket","deleteBracketPair","dont","prevChar","closeBracketsKeymap","handleSame","closedBracketAt","closeBefore","_open","allowTriple","stringPrefixes","canStartStringAt","probablyInString","quoteToken","prefixes","maxPrefix","quotePos","charCat","autocompletion","completionKeymapExt","completionKeymap","SelectedDiagnostic","diagnostic","LintState","diagnostics","markedDiagnostics","diagnosticFilter","lintConfig","DiagnosticWidget","findDiagnostic","hideTooltip","setDiagnosticsEffect","maybeEnableLint","lintState","lintExtensions","movePanelSelection","selPos","LintPanel","activeMark","lintTooltip","stackStart","stackEnd","diagnosticsTooltip","renderDiagnostic","openLintPanel","closeLintPanel","nextDiagnostic","lintKeymap","assignKeys","assigned","inPanel","fired","click","nameElt","PanelItem","onkeydown","needsSync","newSelectedItem","_start","_end","selectedIndex","svg","underline","UserPresenceList","popoverOpen","handleOpenPopover","handleClosePopover","handleScrollToUserLocation","MAX_VISIBLE_AVATARS","hiddenAvatars","renderAvatar","ThemeType","CodeKeyType","configSlice","setTheme","setDrawerOpen","setCodeKeyType","setDisableScrollSync","selectConfig","configSlice$1","useCurrentTheme","prefersDarkMode","DocumentPopover","themeMode","configStore","handleChangeTheme","handleScrollSyncChange","DocumentHeader","editorState","workspaceState","updateDocumentTitle","isEditingDisabled","moreButtonanchorEl","setMoreButtonAnchorEl","handleChangeMode","handleToPrevious","handleUpdateDocumentTitle","errorString","handleMoreButtonClick","handleDocumentMenuClose","DocumentLayout","MainLayout","ProfilePopover","handleLogout","handleMoveProfilePage","CodePairIcon","SettingHeader","profileAnchorEl","setProfileAnchorEl","handleOpenProfilePopover","handleCloseProfilePopover","handleToWorkspace","SettingLayout","generateGetWorkspaceQueryKey","workspaceSlug","generateGetWorkspaceListQueryKey","useGetWorkspaceQuery","useGetWorkspaceListQuery","useCreateWorkspaceMutation","useCreateWorkspaceInvitationTokenMutation","useJoinWorkspaceMutation","InfiniteScroll","parentElement","testOptions","loader","scrollEl","parentNode","renderProps","hasMore","initialLoad","isReverse","loadMore","pageStart","useCapture","useWindow","PropTypes","CreateModal","onSuccess","enableConflictCheck","handleCloseModal","handleCreate","WorkspaceListPopover","popoverProps","workspacePageList","fetchNextPage","createWorkspace","workspaceList","createWorkspaceModalOpen","setCreateWorkspaceModalOpen","moveToWorkspace","slug","handleMoveToSelectedWorkspace","handleCreateWorkspaceModalOpen","handleCreateWorkspace","workspace","DRAWER_WIDTH","COLLAPESED_DRAWER_WIDTH","WorkspaceHeader","workspaceStore","workspaceListAnchorEl","setWorkspaceListAnchorEl","handleOpenWorkspacePopover","handleCloseWorkspacePopover","WorkspaceDrawer","setHovered","menuList","handleDrawerOpen","WorkspaceDrawerHeader","menu","WorkspaceLayout","drawerOpen","socialLoginList","GithubLoginButton","Index","handleLogin","SocailLoginComponent","CallbackIndex","handleGoHome","avatarSize","ProfileIndex","isSubmitDisabled","DocumentCard","handleToDocument","WorkspaceIndex","documentPageList","createDocument","createDocumentModalOpen","setCreateDocumentModalOpen","documentList","handleCreateDocumentModalOpen","useLatest","storedValue","useDebounceCallback","leading","storedCallback","useEvent","storedListener","storedCleanup","targetEl","didUnsubscribe","emptyObj","wv","getSize","useWindowSize","initialWidth","initialHeight","setDebouncedSize","setSize","useWindowWidth","factory","this","__WEBPACK_EXTERNAL_MODULE_4__","installedModules","__webpack_require__","moduleId","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","runClearTimeout","draining","currentQueue","queueIndex","cleanUpNextTick","drainQueue","Item","makeEmptyFunction","validateFormat","condition","argIndex","_react","_react2","_interopRequireDefault","ScrollSyncContext","printWarning","_len2","_key2","REACT_ELEMENT_TYPE","throwOnDirectAccess","defineProperties","_propTypes","_propTypes2","_ScrollSyncContext","_ScrollSyncContext2","_classCallCheck","_possibleConstructorReturn","call","_inherits","ScrollSync","pane","scrolledPane","scrollHeight","clientHeight","scrollWidth","clientWidth","scrollTopOffset","scrollLeftOffset","proportional","paneHeight","paneWidth","ScrollSyncPane","_ScrollSync","_ScrollSyncPane","loggedTypeFailures","checkPropTypes","typeSpecs","getStack","typeSpecName","ITERATOR_SYMBOL","FAUX_ITERATOR_SYMBOL","getIteratorFn","maybeIterable","iteratorFn","ANONYMOUS","createPrimitiveTypeChecker","createAnyTypeChecker","createArrayOfTypeChecker","createElementTypeChecker","createInstanceTypeChecker","createNodeChecker","createObjectOfTypeChecker","createEnumTypeChecker","createUnionTypeChecker","createShapeTypeChecker","PropTypeError","createChainableTypeChecker","manualPropTypeCallCache","manualPropTypeWarningCount","checkType","isRequired","cacheKey","chainedCheckType","expectedType","propType","getPropType","preciseType","getPreciseType","typeChecker","expectedClass","expectedClassName","actualClassName","getClassName","expectedValues","valuesString","arrayOfTypeCheckers","checker","getPostfixForTypeWarning","isNode","shapeTypes","isSymbol","CompositeBlock","parentHash","Type","LeafBlock","skipSpace","skipForList","isOrderedList","isBulletList","isHorizontalRule","DefaultSkipMarkup","_cx","skipSpaceBack","isFencedCode","isBlockquote","breaking","isSetextUnderline","DefaultLeafBlocks","inList","isAtxHeading","EmptyLine","CommentEnd","ProcessingEnd","HTMLBlockStyle","isHTMLBlock","getListIndent","indentAfter","indented","addCodeText","DefaultBlockParsers","pendingMarks","codeStart","fenceEnd","infoFrom","infoTo","textStart","textEnd","newBase","endOfSpace","trailing","nodeType","LinkReferenceParser","leaf","parseLinkLabel","parseURL","parseLinkTitle","titleEnd","SetextHeadingParser","underlineMark","DefaultEndLeaf","scanLineResult","BlockContext","markI","taken","toRelative","textOffset","rangeI","nextFrom","eol","injectMarks","injectGaps","inline","TreeElement","Buffer","dummies","movePastNext","inclusive","reuse","MarkdownParser","blockParsers","leafBlockParsers","blockNames","endLeafBlock","skipContextMarkup","inlineParsers","inlineNames","wrappers","nonEmpty","nodeTypes","composite","findName","InlineContext","wrapA","wrapB","Buffer$1","elts","Element$3","Element","EmphasisUnderscore","EmphasisAsterisk","LinkStart","ImageStart","InlineDelimiter","Escapable","Punctuation","DefaultInline","escaped","curSize","procInst","pBefore","pAfter","sBefore","sAfter","leftFlanking","rightFlanking","canOpen","canClose","finishLink","requireNonWS","emp","closeSize","elements","NotLast","FragmentCursor$1","fragEnd","blockI","prevI","markdownHighlighting","leftOverSpace","parseCode","codeParser","htmlParser","infoNode","StrikethroughDelim","Strikethrough","parseRow","cellStart","cellEnd","esc","parseCell","hasPipe","delimiterLine","TableParser","lineText","firstRow","TaskParser","TaskList","autolinkRE","urlRE","lastTwoDomainWords","emailRE","xmppResourceRE","autolinkURLEnd","autolinkEmailEnd","Autolink","absPos","noBracket","GFM","parseSubSuper","Superscript","Subscript","Emoji","reducePos","bufferBase","curContext","StackContext","lookaheadRecord","dPrec","baseStateID","term","mustSink","mustMove","nextStart","nextEnd","SimulatedStack","nextStates","reduce","backup","rDepth","dialectID","tracker","goto","StackBufferCursor","decodeArray","digit","CachedToken","nullToken","InputStream","resolved","endOffset","nextChunk","TokenGroup","readToken","LocalTokenGroup","precTable","elseToken","ExternalTokenizer","precOffset","groupMask","dialect","accEnd","overrides","low","high","findOffset","tableData","tableOffset","iPrev","verbose","define_process_env_default","stackIDs","cutAt","fr","TokenCache","actionIndex","tokenizers","mask","tokenizer","Parse","stacks","newStacks","stopped","stoppedTokens","finished","findFinished","maxRemaining","strictCx","cxHash","defaultReduce","pushStackDedup","restarted","tokenEnd","forceBase","Dialect","ContextTracker","LRParser","nodeNames","topTerms","nodeProps","setProp","nodeID","propSpec","tokenArray","getSpecializer","loose","groupTag","terminal","flag","deflt","scriptText","StartCloseScriptTag","styleText","StartCloseStyleTag","textareaText","StartCloseTextareaTag","EndTag","SelfClosingEndTag","StartTag","StartScriptTag","StartStyleTag","StartTextareaTag","StartSelfClosingTag","StartCloseTag","NoMatchStartCloseTag","MismatchedStartCloseTag","missingCloseTag","IncompleteCloseTag","commentContent$1","TagName","Attribute","AttributeName","AttributeValue","UnquotedAttributeValue","ScriptText","StyleText","TextareaText","OpenTag","CloseTag","Dialect_noMatch","Dialect_selfClosing","selfClosers","implicitlyClosed","closeOnOpen","nameChar","isSpace","cachedName","cachedInput","cachedPos","tagNameAfter","question","bang","lessThan","greaterThan","slash","dash","ElementContext","startTagTerms","tagStart","commentContent","dashes","inForeignElement","endTag","selfClosing","contentTokenizer","textToken","endToken","lastState","matchedLen","scriptTokens","styleTokens","textareaTokens","htmlHighlighting","openTag","att","findTagName","tagNameNode","maybeNest","configureNesting","script","textarea","nameNode","descendantOp","Unit","callee","VariableName","colon","parenL","underscore","bracketL","backslash","newline","isAlpha","isDigit","identifiers","descendant","unitToken","cssHighlighting","spec_callee","spec_AtKeyword","spec_identifier","_properties","pseudoClasses","atRules","isVarArg","VariablesByNode","declSelector","astTop","variableNames","isVariable","defineCSSCompletionSource","isDash","cssCompletionSource","cssLanguage","noSemi","incdec","incdecPrefix","questionDot","JSXStartTag","insertSemi","spaces","LineComment","BlockComment","Dialect_jsx","braceR","semicolon","star","plus","minus","lt","comma","dot","trackNewline","insertSemicolon","noSemicolon","operatorToken","mayPostfix","identifierChar","jsHighlight","spec_word","spec_LessThan","snippets","typescriptSnippets","ScopeNodes","defID","functionContext","gatherCompletions","getScope","completions","gather","Identifier","dontComplete","localCompletionSource","isWord","javascriptLanguage","isCase","jsxSublanguage","typescriptLanguage","jsxLanguage","tsxLanguage","kwCompletion","keywords","typescriptKeywords","javascript","autoCloseTags","findOpenTag","elementName","closeTags","Targets","Charsets","Methods","Encs","Bool","Tags","GlobalAttrs","eventAttributes","Schema$1","extraTags","extraAttrs","Schema","findParentElement","allowedChildren","parentInfo","openTags","completeTag","completeCloseTag","completeStartTag","completeAttrName","localAttrs","attrName","completeAttrValue","quoteStart","quoteEnd","htmlCompletionFor","htmlCompletionSource","htmlCompletionSourceWith","jsonParser","defaultNesting","defaultAttrs","htmlPlain","endElt","htmlLanguage","insertTransaction","didType","headingProp","commonmark","isHeading","isList","findSectionEnd","headerNode","headerIndent","mkLang","commonmarkLanguage","extended","markdownLanguage","getCodeParser","defaultLanguage","Context$1","itemNumber","renumberList","normalizeIndent","blank","insertNewlineContinueMarkup","emptyLine","second","delTo","blankLine","quoted","continued","nonTightList","isMark","line1","line2","contextNodeForDelete","deleteMarkupBackward","spaceEnd","markdownKeymap","htmlNoMatch","codeLanguages","defaultCodeLanguage","addKeymap","completeHTMLTags","defaultCode","htmlTagCompletion","htmlTagCompletions","_tagCompletions","initVim","CodeMirror","Pos","updateSelectionForSurrogateCharacters","cm","curStart","curEnd","defaultKeymapLength","defaultExCommandMap","langmap","parseLangmap","enterVimMode","onCursorActivity","maybeInitVimState","getOnPasteFn","leaveVimMode","highlightTimeout","vim","offsetCursor","numberRegex","wordCharTest","bigWordCharTest","validMarks","validRegisters","latinCharRegex","upperCaseChars","isLowerCase","isMatchableSymbol","isUpperCase","isWhiteSpaceString","isEndOfSentenceSymbol","inArray","defineOption","setOption","cfg","getOption","createCircularJumpList","pointer","oldCur","newCur","curMark","useNextSlot","trashMark","markPos","cursorEqual","inc","oldPointer","createInsertModeChanges","MacroModeState","macroModeState","vimGlobalState","registerName","resetVimGlobalState","RegisterController","HistoryController","optionName","lastInsertModeKeyTimer","vimApi","InsertModeKey","lhs","rhs","exCommandDispatcher","actualLength","origLength","userKeymap","newMapping","updateLangmap","vimKeyFromEvent","exCommands","multiSelectHandleKey","cm_","handleMacroRecording","clearInputState","logKey","handleEsc","exitVisualMode","exitInsertMode","handleKeyInsertMode","keysAreChars","commandDispatcher","changeQueue","ChangeQueue","cursorMin","cursorMax","here","handleKeyNonInsertMode","keysMatcher","mainKey","doKeyToKey","defineMotion","defineAction","defineOperator","mapCommand","_mapCommand","defineRegister","keyToKeyStack","noremap","virtualPrompt","sendKeyToPrompt","vimToCmKeyMap","prompt","fromKey","noremapBefore","keyRe","wasInsert","sendCmKey","promptOptions","showPrompt","specialKey","ignoredKeys","langmapString","remapCtrl","getEscaped","pairs","repeat","Register","blockwise","registers","historyBuffer","keyMap","commandMatches","bestMatch","lastChar","copyArgs","updateCmSelection","visualMode","operatorMotionArgs","repeatIsExplicit","actionArgs","wholeWordOnly","getSearchState","promptPrefix","originalQuery","originalScrollPos","handleQuery","smartCase","updateSearchQuery","showConfirm","onPromptClose","logSearchQuery","onPromptKeyUp","parsedQuery","clearSearchHighlight","onPromptKeyDown","expandWordUnderCursor","isKeyword","escapeRegex","motion","motionArgs","operatorArgs","origHead","copyCursor","clipCursorToContent","origAnchor","oldHead","oldAnchor","newHead","newAnchor","motionResult","motions","jumpList","cachedCursor","recordJumpPosition","updateMark","cursorIsBefore","lastSel","lineOffset","chOffset","cmSel","newPositions","makeCmSelection","expandSelectionToLine","clipToLine","operatorMoveTo","operators","actionCommand","_head","getUserVisibleLines","findFirstNonWhiteSpaceCharacter","_cm","highlightSearchMatches","prevInputState","findNextFromAndToInclusive","getMarkPos","isWrongDirection","equal","cursorIsBetween","endCh","posV","hasMarkedText","moveToEol","lastCharCoords","goalCoords","resCoords","findParagraph","findSentence","scrollbox","orig","moveToWord","moveToCharacter","increment","recordLastCharacterSearch","findSymbol","moveToColumn","symbol","lineNum","mirroredPairs","selfPaired","selectCompanionObject","findBeginningAndEnd","repeated","expandTagUnderCursor","getSentence","expandSelection","lastSearch","fillArray","times","finalHead","_args","endRow","swapped","toLower","toSwap","cursorCoords","newBottom","charCoords","lineLastCharPos","lineLastCharCoords","executeMacroRegister","insertAt","newPosition","getLastEditPos","onKeyEventTargetKeyDown","selectForInsert","_actionArgs","lastSelection","updateLastSelection","finalCh","nextStartCh","curFinalPos","newlineFn","whitespaceLength","currentLine","chompedText","wasChomped","firstIndent","wspace","newIndent","quotient","curPosFinal","lastSelectionCurEnd","selectedArea","getSelectedAreaRange","selectionStart","selectionEnd","selectedText","emptyStrings","selectBlock","lastCh","extendLineToColumn","repeatFn","markName","replaceWith","replaceTo","replaceWithStr","replaceWithStrings","lineStr","numberStr","baseStr","digits","zeroPadding","lastEditInputState","repeatLastEdit","includeLineBreak","maxCh","offsetLine","offsetCh","commandMatch","pressed","isLastCharacter","isLastRegister","prefixLen","pressedPrefix","mappedPrefix","selectedCharacter","cur1","cur2","cur3","cur1before2","cur2before3","isClipped","curHead","primIndex","wasClipped","baseCh","headCh","newDir","lineHead","atAnchor","atHead","getCurrentSelectedAreaRange","getLastSelectedAreaRange","headOffset","fromCh","toCh","getHead","moveHead","firstNonWS","innerWord","bigWord","noSymbol","startLineNumber","endLineNumber","wordOnNextLine","findWord","wordEnd","startsWithSpace","wordStart","symbolToMode","findSymbolModes","symb","curCh","isComplete","lineLen","emptyLineIsWord","charTests","foundWord","eodCh","shortCircuit","firstWord","lastWord","keepHPos","retval","charIdxInLine","includeChar","isBoundary","lastSentencePos","reverse","curr_index","last_valid","skip_empty_lines","bracketRegexp","openSym","curChar","startBracket","endBracket","firstIndex","stringAfter","stringBefore","isStringStart","reversed","annotate","splitBySlash","argString","splitBySeparator","findUnescapedSlashes","findUnescapedSeparators","slashes","escapeNextChar","translateRegex","specials","unescape","specialComesNext","charUnescapes","translateRegexReplace","unescapes","unescapeRegexReplace","parseQuery","lastSearchRegister","regexPart","forceIgnoreCase","flagsPart","pre","makePrompt","shortText","regexEqual","r1","r2","rawQuery","searchOverlay","matchSol","lastEndPos","isInRange","scrollInfo","occludeToleranceTop","occludeToleranceBottom","bottomY","ExCommandDispatcher","opt_params","commandHistoryRegister","previousCommand","inputStream","commandName","numberMatch","offsetMatch","delim","defaultOnly","mapArgs","setArgs","setCfg","forceGet","forceToggle","optionIsBoolean","setOptionReturn","regArgs","regInfo","registerNames","unique","parseArgs","decimal","hex","octal","radix","numPart","textPart","matchPart","compareFn","amatch","bmatch","anum","bnum","comparePatternFn","textOld","inverted","matchedLines","nextCommand","lineHandle","replacePart","confirm","global","doReplace","sym","startMark","finishMark","searchCursor","lastPos","modifiedLineNumber","newText","unmodifiedLineNumber","findNextValidMatch","lastMatchTo","savedCallback","keepCursor","insertModeChangeRegister","isPlaying","lastChange","logInsertModeChange","keyBuffer","imc","repeatInsertModeChanges","changeObj","selectionCount","insertEnd","handleExternalSelection","repeatForInsert","lastAction","cachedInputState","repeatCommand","repeatInsert","changeObject","visualBlock","cloneVimState","isHandled","wasMultiselect","changeQueueList","indexFromPos","lineNumber","posFromIndex","on","emitter","signalTo","dispatchChange","note","runHistoryCommand","revert","changeStartIndex","cm6","openDialog","openNotification","tmpRanges","replacements","scanForBracket","bm","Marker","cm6Query","lastCM5Result","firstOffset","rCursor","nextMatch","ChunkSize","prevMatchInRange","endAt","startFrom","amount","pixels","scroller","curOp","hardWrap","findMatchingTag","findEnclosingTag","dialogDiv","closeNotification","doneTimer","hideDialog","showDialog","oldDialog","bracketRegex","where","maxScanLen","maxScanLines","lineNo","convertRange","cm6Range","allowMerge","findSpace","indentation","trimmedLine","trimmedNextLine","mergedLine","View.getDrawSelectionConfig","Piece","letter","BlockCursorPlugin","blinkRate","measureCursor","oldCursors","fatCursor","hCoeff","domAtPos","FIREFOX_LINUX","Vim","HighlightMargin","vimStyle","vimPlugin","showVimPanel","getCM","toRemove","textInDoc","forceEndComposition","sibling","savedSelection","vimPanelState","createVimPanel","statusPanel","basicSetup","initCrosshairCursor","keymaps","settings","themeOptions","baseStyle","activeLineGutterStyle","themeExtension","highlightStyle","defaultSettingsXcodeLight","xcodeLightStyle","xcodeLightInit","xcodeLight","defaultSettingsXcodeDark","xcodeDarkStyle","xcodeDarkInit","xcodeDark","FormatType","useFormatUtils","cmView","getFormatMarker","formatType","getFormatMarkerLength","markerSet","applyFormat","markerLength","beforeIdx","afterIdx","extendBefore","extendAfter","setKeymapConfig","toggleButtonChangeHandler","selectedFormats","onChangeToolBarState","newSelectedFormats","checkAndAddFormat","selectedTextStart","selectedTextEnd","useToolBar","toolBarState","setToolBarState","updateFormatBar","convertImageFilesToUrlList","fileList","uploadCallback","file","insertImageToEditor","imageUploader","urlList","Pair","createDocumentFragment","createTextNode","setAttributes","pair.forEach","appendChild","INTELLIGENCE_HEADER_ID","INTELLIGENCE_FOOTER_ID","IntelligencePivotWidget","cmView.WidgetType","selectionRange","dom.element","pair.create","IntelligencePivotPluginValue","cmState.RangeSet","selectedContent","cmView.Decoration","intelligencePivot","cmView.ViewPlugin","assertString","_typeof","invalidType","_assertString","alpha_1","alphanumeric","englishLocales","arabicLocales","_locale","farsiLocales","_locale2","_i2","bengaliLocales","_locale3","_i3","dotDecimal","commaDecimal","_i4","_i5","isFloat_1","isFloat","_alpha","float","toFloat","_isFloat","toBoolean","equals","comparison","_toString","_merge","require$$2","defaulContainsOptions","isByteLength","isFQDN","default_fqdn_options","tld","isIP","IPv4SegmentFormat","IPv4AddressFormat","IPv4AddressRegExp","IPv6SegmentFormat","IPv6AddressRegExp","isEmail","_isByteLength","_isFQDN","_isIP","require$$3","require$$4","default_email_options","splitNameAddress","emailUserPart","gmailUserPart","quotedEmailUser","emailUserUtf8Part","quotedEmailUserUtf8","defaultMaxEmailLength","validateDisplayName","display_name","display_name_without_quotes","contains_illegal","all_start_with_back_slash","display_email","lower_domain","username","_user_parts","noBracketdomain","user_parts","isURL","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","_arrayLikeToArray","default_url_options","wrapped_ipv6","checkHost","hostname","port_str","ipv6","_auth$split","_auth$split2","password","ipv6_match","isMACAddress","macAddress48","macAddress48NoSeparators","macAddress48WithDots","macAddress64","macAddress64NoSeparators","macAddress64WithDots","isIPRange","subnetMaybe","v4Subnet","v6Subnet","isValidIP","expectedSubnet","_createForOfIteratorHelper","allowArrayLike","it","normalCompletion","didErr","_e2","default_date_options","isValidFormat","zip","zippedArr","formatDelimiter","dateDelimiter","dateAndFormat","dateObj","_iterator","_step","_step$value","dateWord","formatWord","fullYear","parsedYear","currentYearLastTwoDigits","default_time_options","strictBooleans","looseBooleans","isLocale","extlang","region","singleton","privateuse","irregular","regular","grandfathered","langtag","languageTagRegex","isAbaRouting","isRoutingReg","checkSumVal","isAlpha_1","_str","isAlphanumeric_1","isAlphanumeric","isNumeric","numericNoSymbols","isPassportNumber","passportRegexByCountryCode","countryCode","normalizedStr","isInt","int","intLeadingZeroes","minCheckPassed","maxCheckPassed","ltCheckPassed","gtCheckPassed","isPort","_isInt","isLowercase","isUppercase","isIMEI","imeiRegexWithoutHypens","imeiRegexWithHypens","imeiRegex","sum","mul","tp","chk","isAscii","ascii","isFullWidth_1","isFullWidth","isHalfWidth_1","isHalfWidth","halfWidth","isVariableWidth","_isFullWidth","_isHalfWidth","isMultibyte","multibyte","multilineRegexp","regexpAsStringLiteral","isSemVer","_multilineRegex","semanticVersioningRegex","isSurrogatePair","surrogatePair","includes","arrVal","isDecimal","_includes","decimalRegExp","default_decimal_options","isHexadecimal","hexadecimal","isOctal","isDivisibleBy","_toFloat","isHexColor","hexcolor","isRgbColor","rgbColor","rgbaColor","rgbColorPercent","rgbaColorPercent","includePercentValues","isHSL","hslComma","hslSpace","strippedStr","isISRC","isrc","isIBAN_1","isIBAN","ibanRegexThroughCountryCode","hasOnlyValidCountryCodes","countryCodeArray","countryCodeArrayFilteredWithObjectIbanCode","hasValidIbanFormat","isoCountryCode","isoCountryCodeInIbanRegexCodeObject","isoCountryCodeInWhiteList","isoCountryCodeInBlackList","hasValidIbanChecksum","rearranged","alphaCapsReplacedWithDigits","remainder","isISO31661Alpha2_1","isISO31661Alpha2","validISO31661Alpha2CountriesCodes","isBIC","_isISO31661Alpha","isBICReg","isMD5","md5","isHash","lengths","algorithm","isBase64","notBase64","urlSafeBase64","defaultBase64Options","firstPaddingChar","isJWT","_isBase","dotSplit","currElem","isJSON","default_json_options","primitives","default_is_empty_options","isLength","presentationSequences","surrogatePairs","isUUID","uuid","isMongoId","_isHexadecimal","_toDate","comparisonDate","isIn","isLuhnNumber","sanitized","tmpNum","shouldDouble","isCreditCard","_isLuhnNumber","cards","allCards","tmpCardsArray","cardProvider","card","isIdentityCard","weightOfDigits","modulo","lastDigit","DNI","charsValue","controlDigits","checkDigits","idAsNumber","checkDigit","invertedArray","lastNumber","k1","k2","old_nic","new_nic","incNum","NIN","provincesAndCities","powers","parityBit","checkAddressCode","addressCode","checkBirthDayCode","birDayCode","yyyy","mm","xdata","getParityBit","idCardNo","id17","power","checkParityBit","check15IdCardNo","check18IdCardNo","checkIdCardNo","regexHKID","regexIsDigit","convertedChar","checkSumConverted","ALPHABET_CODES","isEAN","LENGTH_EAN_8","LENGTH_EAN_14","validEanRegex","getPositionWeightThroughLengthAndIndex","calculateCheckDigit","ean","checksum","partialSum","actualCheckDigit","isISIN","isin","double","_arr","_digit","isISBN","possibleIsbn10","possibleIsbn13","factor","isbn","sanitizedIsbn","isISSN","issn","testIssn","algorithms","iso7064Check","luhnCheck","reverseMultiplyAndSum","verhoeffCheck","checkvalue","product","d_table","p_table","str_copy","isTaxID","_interopRequireWildcard","_isDate","_getRequireWildcardCache","_toConsumableArray","_arrayWithoutHoles","_iterableToArray","_nonIterableSpread","bgBgCheck","tin","century_year","multip_lookup","isCanadianSIN","digitsArray","even","csCzCheck","full_year","checkdigit","deAtCheck","deDeCheck","occurences","trip_locations","recurrent","dkDkCheck","century_digit","weight","elCyCheck","elGrCheck","enIeCheck","enUsCampusPrefix","enUsGetPrefixes","enUsCheck","esArCheck","accum","verif","esEsCheck","lead_replace","lookup","etEeCheck","fiFiCheck","century_symbol","letters_lookup","frBeCheck","checkdigits","frFrCheck","frLuCheck","hrHrCheck","huHuCheck","itItNameCheck","vowelflag","xflag","itItCheck","number_locations","number_replace","_number_locations","month_replace","char_to_int","odd_convert","_i6","_char_to_int","multiplier","lvLvCheck","mtMtCheck","first_part","second_part","nlNlCheck","plPlCheck","_checksum","_i7","ptBrCheck","_sum","_i8","verificators","_i9","_i10","ptPtCheck","roRoCheck","multipliers","skSkCheck","slSiCheck","svSeCheck","tin_copy","current_year","current_century","ukUaCheck","taxIdFormat","taxIdCheck","allsymbols","sanitizeRegexes","strcopy","isMobilePhone_1","isMobilePhone","phones","phone","isEthereumAddress","eth","isCurrency","currencyRegex","decimal_digits","negative","whole_dollar_amount_without_sep","whole_dollar_amount_with_sep","valid_whole_dollar_amounts","whole_dollar_amount","decimal_amount","default_currency_options","isBtcAddress","bech32","base58","isISO6346_1","isISO6346","isISO6346Str","convertedCode","letterCode","checkSumDigit","isISO6391","isISO6391Set","isISO8601","iso8601","iso8601StrictSeparator","isValidDate","ordinalMatch","oYear","oDay","monthString","dayString","isRFC3339","dateFullYear","dateMonth","dateMDay","timeHour","timeMinute","timeSecond","timeSecFrac","timeNumOffset","timeOffset","partialTime","fullDate","fullTime","rfc3339","isISO31661Alpha3","validISO31661Alpha3CountriesCodes","isISO4217_1","isISO4217","validISO4217CurrencyCodes","isBase32","base32","crockfordBase32","defaultBase32Options","isBase58","base58Reg","isDataURI","validMediaType","validAttribute","validData","schemeAndMediaType","mediaType","isMagnetURI","magnetURIComponent","rtrim","strIndex","ltrim","_rtrim","_ltrim","isMailtoURI","_trim","_isEmail","parseMailtoQueryString","queryString","allowedParams","isParseFailed","queryParams","_q$split","_q$split2","_url$replace$split","_url$replace$split2","_url$replace$split2$","email","isMimeType","mimeTypeSimple","mimeTypeText","mimeTypeMultipart","isLatLong","lat","long","latDMS","longDMS","defaultLatLongOptions","isPostalCode_1","isPostalCode","threeDigit","fourDigit","fiveDigit","sixDigit","stripLow","_blacklist","keep_new_lines","whitelist","isWhitelisted","normalizeEmail","default_normalize_email_options","icloud_domains","outlookdotcom_domains","yahoo_domains","yandex_domains","dotsReplacer","raw_parts","isSlug","charsetRegex","isLicensePlate","isStrongPassword","upperCaseRegex","lowerCaseRegex","symbolRegex","countChars","curVal","analyzePassword","analysis","scorePassword","scoringOptions","isVAT_1","isVAT","AU","weights","ABN","CH","hasValidCheckNumber","calculatedCheckNumber","PT","vatMatchers","_toInt","_toBoolean","_equals","_contains","require$$5","_matches","require$$6","require$$7","_isURL","require$$8","_isMACAddress","require$$9","require$$10","_isIPRange","require$$11","require$$12","require$$13","_isTime","require$$14","_isBoolean","require$$15","_isLocale","require$$16","_isAbaRouting","require$$17","_isAlpha","require$$18","_isAlphanumeric","require$$19","_isNumeric","require$$20","_isPassportNumber","require$$21","_isPort","require$$22","_isLowercase","require$$23","_isUppercase","require$$24","_isIMEI","require$$25","_isAscii","require$$26","require$$27","require$$28","_isVariableWidth","require$$29","_isMultibyte","require$$30","_isSemVer","require$$31","_isSurrogatePair","require$$32","require$$33","require$$34","_isDecimal","require$$35","require$$36","_isOctal","require$$37","_isDivisibleBy","require$$38","_isHexColor","require$$39","_isRgbColor","require$$40","_isHSL","require$$41","_isISRC","require$$42","_isIBAN","require$$43","_isBIC","require$$44","_isMD","require$$45","_isHash","require$$46","_isJWT","require$$47","_isJSON","require$$48","_isEmpty","require$$49","_isLength","require$$50","require$$51","_isUUID","require$$52","_isMongoId","require$$53","_isAfter","require$$54","_isBefore","require$$55","_isIn","require$$56","require$$57","_isCreditCard","require$$58","_isIdentityCard","require$$59","_isEAN","require$$60","_isISIN","require$$61","_isISBN","require$$62","_isISSN","require$$63","_isTaxID","require$$64","_isMobilePhone","require$$65","_isEthereumAddress","require$$66","_isCurrency","require$$67","_isBtcAddress","require$$68","_isISO","require$$69","_isISO2","require$$70","_isISO3","require$$71","_isRFC","require$$72","require$$73","_isISO31661Alpha2","require$$74","_isISO4","require$$75","require$$76","_isBase2","require$$77","_isBase3","require$$78","_isDataURI","require$$79","_isMagnetURI","require$$80","_isMailtoURI","require$$81","_isMimeType","require$$82","_isLatLong","require$$83","_isPostalCode","require$$84","require$$85","require$$86","require$$87","_escape","require$$88","_unescape","require$$89","_stripLow","require$$90","_whitelist","require$$91","require$$92","_isWhitelisted","require$$93","_normalizeEmail","require$$94","_isSlug","require$$95","_isLicensePlate","require$$96","_isStrongPassword","require$$97","_isVAT","require$$98","isValidUrl","insertLinkToEditor","urlHyperlinkInserter","exports2","__defProp","__defNormalProp","Code$1","Code2","codeToString","ConnectError","outgoingDetails","cause","createMessage","typeOrRegistry","assert","FLOAT32_MAX","FLOAT32_MIN","UINT32_MAX","INT32_MAX","INT32_MIN","assertInt32","assertUInt32","assertFloat32","enumTypeSymbol","getEnumType","enumObject","setEnumType","makeEnumType","_opt","numbers","normalValues","normalizeEnumValue","no","makeEnum","Message","jsonString","bin","writer","_a2","makeMessageType","runtime","localName","varint64read","lowBits","highBits","middleByte","varint64write","byte","splitBits","hasMoreBits","TWO_PWR_32_DBL$1","int64FromString","add1e6digit","digit1e6","negate","newBits","int64ToString","bits","uInt64ToString","toUnsigned","digitA","digitB","digitC","decimalFrom1e7WithLeadingZeros","digit1e7","varint32write","varint32read","makeInt64Support","dv","MIN","MAX","UMIN","UMAX","assertInt64String","assertUInt64String","protoInt64","ScalarType","ScalarType2","LongType","LongType2","scalarEquals","scalarZeroValue","longType","isScalarZeroValue","WireType","WireType2","BinaryWriter","fieldNo","BinaryReader","textDecoder","wireType","wt","zze","makeExtension","extendee","createExtensionContainer","initExtensionField","filterUnknownFields","unknownFields","encTable","decTable","protoBase64","base64Str","bytePos","groupPos","base64","getExtension","assertExtendee","ufs","setExtension","readOpt","writeOpt","hasExtension","messageType","isFieldSet","clearField","implicitPresence","actualType","wrapField","jsonReadDefaults","jsonWriteDefaults","makeReadOptions$1","makeWriteOptions$1","tokenNull","tokenIgnoredUnknownEnum","makeJsonFormat","debugJsonValue","oneofSeen","jsonKey","readField$1","canEmitFieldDefaultValue","writeField$1","readScalar$1","emitDefaultValues","writeScalar$1","parentType","targetArray","jsonItem","enumValue","readEnum","targetMap","jsonMapKey","jsonMapValue","readMapKey","scalarValue","nullAsZeroValue","int32","uLong","ignoreUnknownFields","jsonObj","entryKey","entryValue","enumType","writeEnum","jsonArr","enumAsInteger","unknownFieldsSymbol","readDefaults","writeDefaults","makeReadOptions","makeWriteOptions","makeBinaryFormat","lengthOrEndTagFieldNo","delimitedMessageEncoding","readField","writeField","scalarType","readScalar","readScalarLTString","readMessageField","mapKey","mapVal","readMapEntry","delimited","writePacked","writeScalar","writeMessageField","writeMapEntry","keyValue","scalarTypeInfo","makeUtilCommon","member","sourceField","toU8Arr","mt","a2","cloneSingularField","makeProtoRuntime","syntax","newFieldList","initFields","InternalFieldList","normalizer","jsonName","localFieldName","protoName","inOneof","protoCamelCase","safeObjectProperty","safeMessageProperty","localOneofName","fieldJsonName","snakeCase","capNext","reservedObjectProperties","reservedMessageProperties","InternalOneofInfo","normalizeFieldInfos","fieldInfos","packedByDefault","_b2","_c2","_d2","_f2","ooname","proto3","MethodKind","MethodKind2","MethodIdempotency","MethodIdempotency2","Timestamp","nanosStr","longSeconds","Any","typeUrl","DoubleValue","FloatValue","Int64Value","UInt64Value","Int32Value","UInt32Value","BoolValue","StringValue","BytesValue","decodeBinaryHeader","makeAnyClient","createMethod","methodInfo","createEnvelopeReadableStream","encodeEnvelope","__asyncValues$1","verb","v2","__await$2","__asyncGenerator$2","_arguments","awaitReturn","resume","fulfill","__asyncDelegator$1","createAsyncIterable","__asyncValues","__await$1","__asyncDelegator","__asyncGenerator$1","createPromiseClient","createUnaryFn","createServerStreamingFn","createClientStreamingFn","createBiDiStreamingFn","handleStreamResponse","e_1","singleMessage","_g2","_h2","e_1_1","createLinkedAbortController","onAbort","getAbortSignalReason","createDeadlineSignal","timeoutMs","createContextValues","trailerFlag","trailerParse","headerContentType","headerTimeout","headerGrpcStatus","headerGrpcMessage","headerStatusDetailsBin","headerXUserAgent","headerXGrpcWeb","contentTypeProto","contentTypeJson","Status","grpcStatusOk","findTrailerError","headerOrTrailer","statusBytes","grpcStatus","createMethodUrl","baseUrl","normalizeIterable","applyInterceptors","interceptors","getJsonOptions","createClientMethodSerializers","useBinaryFormat","jsonOptions","binaryOptions","createBinarySerialization","createJsonSerialization","runUnaryCall","setupSignal","req","runStreamingCall","doneCalled","assertFetchApi","validateTrailer","trailer","requestHeader","userProvidedHeaders","setUserAgent","codeFromHttpStatus","validateResponse","__await","__asyncGenerator","createGrpcWebTransport","contextValues","_a3","_a4","message2","parseResponseBody","foundStatus","trailerTarget","header2","trailerReceived","createRequestBody","input2","fRes","ValueType","ValueType2","DocEventType$1","DocEventType2","_Snapshot","JSONElement","Presence$1","Snapshot","ChangePack$1","Checkpoint$1","Change$1","TimeTicket$1","VersionVector$1","ChangeID$1","Operation$1","PresenceChange","Operation_Set","Operation_Add","Operation_Move","Operation_Remove","Operation_Edit","Operation_Select","Operation_Style","Operation_Increase","Operation_TreeEdit","Operation_TreeStyle","Operation_ArraySet","_Operation_Set","JSONElementSimple","_Operation_Add","_Operation_Move","_Operation_Remove","_Operation_Edit","TextNodePos","_Operation_Select","_Operation_Style","_Operation_Increase","_Operation_TreeEdit","TreePos","TreeNodes","_Operation_TreeStyle","_Operation_ArraySet","_JSONElementSimple","_JSONElement","JSONElement_JSONObject","JSONElement_JSONArray","JSONElement_Primitive","JSONElement_Text","JSONElement_Counter","JSONElement_Tree","_JSONElement_JSONObject","RHTNode$1","_JSONElement_JSONArray","RGANode","_JSONElement_Primitive","_JSONElement_Text","_JSONElement_Counter","_JSONElement_Tree","_RGANode","_NodeAttr","NodeAttr","_TextNode","TextNodeID","_TextNodeID","_TreeNode","TreeNodeID","_TreeNodes","_TreeNodeID","_TreePos","_User","_Project","_UpdatableProjectFields","UpdatableProjectFields_AuthWebhookMethods","_UpdatableProjectFields_AuthWebhookMethods","_DocumentSummary","_PresenceChange","PresenceChange_ChangeType","PresenceChange_ChangeType2","_TextNodePos","_DocEventBody","DocEventBody","_DocEvent","DocEvent","_ActivateClientRequest","ActivateClientRequest","_ActivateClientResponse","ActivateClientResponse","_DeactivateClientRequest","DeactivateClientRequest","_DeactivateClientResponse","DeactivateClientResponse","_AttachDocumentRequest","AttachDocumentRequest","_AttachDocumentResponse","AttachDocumentResponse","_DetachDocumentRequest","DetachDocumentRequest","_DetachDocumentResponse","DetachDocumentResponse","_WatchDocumentRequest","WatchDocumentRequest","_WatchDocumentResponse","WatchDocumentResponse_Initialization","WatchDocumentResponse","_WatchDocumentResponse_Initialization","_RemoveDocumentRequest","RemoveDocumentRequest","_RemoveDocumentResponse","RemoveDocumentResponse","_PushPullChangesRequest","PushPullChangesRequest","_PushPullChangesResponse","PushPullChangesResponse","_BroadcastRequest","BroadcastRequest","_BroadcastResponse","BroadcastResponse","YorkieService","ErrorInfo","QuotaFailure_Violation","PreconditionFailure_Violation","BadRequest_FieldViolation","Help_Link","Code","YorkieError","deepcopy","stringifyObjectValues","parseObjectValues","PresenceChangeType","PresenceChangeType2","Presence","changeContext","InitialActorID","MaxActorID","TimeTicket","lamport","actorID","struct","InitialDelimiter","MaxDelemiter","MaxLamport","InitialTimeTicket","MaxTimeTicket","escapeString","CRDTElement","createdAt","movedAt","removedAt","CRDTContainer","ElementRHTNode","strKey","ElementRHT","executedAt","newNode","nodeByKey","CRDTObject","memberNodes","keySet","OpSource","OpSource2","Operation","parentCreatedAt","SplayNode","SplayTree","leftTree","rightTree","rightmostNode","leftBoundary","rightBoundary","nodesToFreeWeight","metaString","pivot","wasm","Long","unsigned","isLong","ctz32","INT_CACHE","UINT_CACHE","fromInt","cachedObj","fromBits","fromNumber","UZERO","ZERO","TWO_PWR_64_DBL","MAX_UNSIGNED_VALUE","TWO_PWR_63_DBL","MIN_VALUE","MAX_VALUE","TWO_PWR_32_DBL","pow_dbl","fromString","radixToPower","fromValue","TWO_PWR_16_DBL","TWO_PWR_24_DBL","TWO_PWR_24","ONE","UONE","NEG_ONE","LongPrototype","radixLong","rem1","rem","remDiv","intval","bit","thisNeg","otherNeg","addend","a48","a32","a16","a00","b48","b32","b16","b00","c48","c32","c16","c00","subtrahend","approx","halfThis","log2","approxRes","approxRem","numBits","PrimitiveType","PrimitiveType2","Primitive","primitiveType","primitive","intVal","doubleVal","uint8Array","longToBytes","dateVal","dateToBytes","RGATreeListNode","prevNext","RGATreeList","dummyValue","prevCreatedAt","prevNode","rgaNode","editedAt","alreadyRemoved","CRDTArray","RemoveOperation","reverseOp","parentObject","SetOperation","AddOperation","MoveOperation","RHTNode","isRemoved","RHT","gcNodes","node2","rht","CRDTTextValue","indexStart","indexEnd","attrsObj","CRDTText","rgaTreeSplit","maxCreatedAtMapByActor","crdtTextValue","caretPos","maxCreatedAtMap","valueChanges","toRight","fromRight","createdAtMapByActor","toBeStyleds","maxCreatedAt","maxCreatedAt2","fromIdx","toIdx","fromPos","EditOperation","toPos","StyleOperation","ElementPaddingSize","DefaultRootType","DefaultTextType","addSizeOfLeftSiblings","siblings","leftSibling","IndexTreeNode","childSize","ancestorOf","absOffset","leftValue","rightValue","rightNode","referenceNode","issueTimeTicket","leftChildren","rightChildren","ancestor","TokenType","TokenType2","tokensBetween","fromChild","toChild","startContained","endContained","traverseAll","findTreePos","preferText","findLeftmost","findTextPos","pathElement","IndexTree","treePos","sizeOfLeftSiblings","nextSibling","offsetOfNode","DefaultComparator","LLRBNode","isRed","SortedMapIterator","LLRBTree","smallest","CRDTTreePos","parentID","leftSiblingID","leftNode","CRDTTreeNodeID","idA","idB","CRDTTreeNode","childClone","alived","insNext","toTreeNode","treeNode","toXML","toTestTreeNode","CRDTTree","ticket","isLeftMost","realParent","allChildren","fromParent","fromLeft","toParent","toLeft","updatedAttrPairs","affectedAttrs","parentOfNode","previousNode","attributesToRemove","nodesTobeRemoved","rhtNode","contents","splitLevel","fromPath","nodesToBeRemoved","tokensToBeRemoved","toBeMovedToFromParents","ended","splitCount","aliveContents","leftInChildren","insPrevID","insNextID","insPrev","toTreeNodeInfo","leftChildNode","nodeInfo","leftChildNode2","offset2","candidates","rightToken","start2","end2","fromLeftTokenType","toLeftTokenType","lastChild","TreeEditOperation","toPath","VersionVector","vector","maxVector","currentLamport","maxLamport","otherLamport","copied","versionVector","InitialVersionVector","ChangeID","clientSeq","actor","serverSeq","maxVersionVector","newID","InitialChangeID","Change","operations","presenceChange","operation","presences","changeOpInfos","reverseOps","executionResult","opInfos","converter","changeID","ChangePack","checkpoint","snapshot","minSyncedTicket","Checkpoint","InitialCheckpoint","RGATreeSplitNodeID","InitialRGATreeSplitNodeID","RGATreeSplitPos","relativeOffset","RGATreeSplitNode","justRemoved","RGATreeSplit","nodesToDelete","removedNodes","caretID","removedNode","splitNode","preferToLeft","absoluteID","insPrevNode","fromNode","toNode","nodesToKeep","isRemote","leftEdge","rightEdge","boundaries","removeDecimal","CounterType","CounterType2","CRDTCounter","valueType","counterType","checkNumericType","IncreaseOperation","primitiveValue","TreeStyleOperation","toPresence","pbPresence","pbDataMap","toPresenceChange","toCheckpoint","toChangeID","toUint8Array","toVersionVector","toTimeTicket","pbVector","toValueType","toCounterType","toElementSimple","objectToBytes","arrayToBytes","treeToBytes","toTextNodeID","toTextNodePos","toTreePos","toTreeNodeID","treeNodeID","toOperation","pbOperation","setOperation","pbSetOperation","addOperation","pbAddOperation","moveOperation","pbMoveOperation","removeOperation","pbRemoveOperation","editOperation","pbEditOperation","pbCreatedAtMapByActor","pbAttributes","styleOperation","pbStyleOperation","increaseOperation","pbIncreaseOperation","treeEditOperation","pbTreeEditOperation","toTreeNodesWhenEdit","treeStyleOperation","pbTreeStyleOperation","attributesMap","toOperations","pbOperations","toChange","pbChange","toChanges","pbChanges","toRHTNodes","pbRHTNodes","toElement","toRGANodes","rgaTreeList","pbRGANodes","rgaTreeListNode","toTextNodes","pbTextNodes","pbTextNode","pbNodeAttrsMap","pbNodeAttr","pbTreeNodesList","toTreeNodes","toRHT","pbRHT","pbTreeNodes","pbTreeNode","pbElement","toPrimitive","toText","toCounter","toTree","toChangePack","pack","errorCodeOf","infos","fromChangeID","pbChangeID","toHexString","fromVersionVector","pbVersionVector","fromTimeTicket","pbTimeTicket","fromPresence","fromPresenceChange","pbPresenceChange","fromPresences","pbPresences","fromValueType","pbValueType","fromCounterType","fromElementSimple","pbElementSimple","bytesToObject","bytesToArray","bytesToTree","fromTextNodePos","pbTextNodePos","fromTextNodeID","pbTextNodeID","fromTextNode","textValue","fromTreePos","pbTreePos","fromTreeNodeID","pbTreeNodeID","fromTreeNodesWhenEdit","treeNodes","fromTreeNodes","fromTreeNode","depthTable","fromRHT","pbRHTNode","pbAttrs","fromOperation","fromOperations","fromChanges","fromCheckpoint","pbCheckpoint","fromChangePack","pbPack","fromObject","pbObject","fromElement","fromArray","pbArray","pbRGANode","fromPrimitive","pbPrimitive","fromText","pbText","pbNode","fromCounter","pbCounter","fromTree","pbTree","bytesToSnapshot","versionVectorToHex","bytesToHex","hexToVersionVector","hexToBytes","bytesToChangeID","bytesToOperation","LogLevel","LogLevel2","setLogLevel","messages","Attachment","reconnectStreamDelay","docID","syncMode","unsubscribeBroacastEvent","SyncMode","watchStreamCreator","doLoop","Noop","ObserverProxy","nextOrObserver","complete","unsub","createObservable","ChangeContext","reversePresence","CRDTRoot","rootObject","subPaths","createdAt2","subPath","parent2","deregisterElementInternal","minSyncedVersionVector","createJSONObject","objectProxy","ObjectProxy","keyOrMethod","toJSONElement","buildCRDTElement","members","createJSONArray","arrayProxy","ArrayProxy","isNumericString","isReadOnlyArrayMethod","receiver","toWrappedElement","prevID","deleteCount","searchElement","fromIndex","nextCreatedAt","removeds","removedElem","previousID","rangeAfterEdit","Counter","buildDescendants","validateTextNode","stringifiedAttributes","elementNode","createCRDTTreeNode","validateTreeNodes","initialRoot","maxCreationMapByActor","crdtNodes","compVal","crdtNode","indexRange","posRange","createJSON","wrappedElement","MaxUndoRedoStackDepth","History","undoOps","redoOps","EventSourceDevPanel","EventSourceSDK","devtoolsStatus","unsubsByDocKey","transactionEventsByDocKey","sendToPanel","setupDevtools","docEvent","DocEventType","DocumentStatus","DocumentStatus2","StreamConnectionStatus","StreamConnectionStatus2","DocumentSyncStatus","DocumentSyncStatus2","Document","arg4","callback2","targetOps","nodePath","hasSnapshot","snapshotVector","rawChange","resp","clientIDs","onlineClients","clientID","publisher","topic","decoder","pathArr","myClientID","filteredVersionVector","undoOp","redoOp","broadcastEvent","createAuthInterceptor","apiKey","pkg","createMetricInterceptor","validateSerializable","SyncMode2","ClientStatus","ClientStatus2","ClientCondition","ClientCondition2","DefaultClientOptions","DefaultBroadcastOptions","Client","rpcAddr","errorFn","options2","crdtObject","prevSyncMode","pbChangePack","docKey","maxRetries","maxBackoff","retryCount","exponentialBackoff","retryCount2","syncJobs","onDisconnect","reqPack","respPack","remoteSize","yorkie","YorkieSyncConfig","yorkieSyncFacet","cmState.Facet","inputs","YorkieSyncPluginValue","transactionSpec","cmState.Transaction","yorkie.Text","adj","__","insertText","yorkieSync","undefined","LARGE_ARRAY_SIZE","CORE_ERROR_TEXT","FUNC_ERROR_TEXT","INVALID_TEMPL_VAR_ERROR_TEXT","HASH_UNDEFINED","MAX_MEMOIZE_SIZE","PLACEHOLDER","CLONE_DEEP_FLAG","CLONE_FLAT_FLAG","CLONE_SYMBOLS_FLAG","COMPARE_PARTIAL_FLAG","COMPARE_UNORDERED_FLAG","WRAP_BIND_FLAG","WRAP_BIND_KEY_FLAG","WRAP_CURRY_BOUND_FLAG","WRAP_CURRY_FLAG","WRAP_CURRY_RIGHT_FLAG","WRAP_PARTIAL_FLAG","WRAP_PARTIAL_RIGHT_FLAG","WRAP_ARY_FLAG","WRAP_REARG_FLAG","WRAP_FLIP_FLAG","DEFAULT_TRUNC_LENGTH","DEFAULT_TRUNC_OMISSION","HOT_COUNT","HOT_SPAN","LAZY_FILTER_FLAG","LAZY_MAP_FLAG","LAZY_WHILE_FLAG","INFINITY","MAX_SAFE_INTEGER","MAX_INTEGER","NAN","MAX_ARRAY_LENGTH","MAX_ARRAY_INDEX","HALF_MAX_ARRAY_LENGTH","wrapFlags","argsTag","arrayTag","asyncTag","boolTag","dateTag","domExcTag","errorTag","funcTag","genTag","mapTag","numberTag","nullTag","objectTag","promiseTag","proxyTag","regexpTag","setTag","stringTag","symbolTag","undefinedTag","weakMapTag","weakSetTag","arrayBufferTag","dataViewTag","float32Tag","float64Tag","int8Tag","int16Tag","int32Tag","uint8Tag","uint8ClampedTag","uint16Tag","uint32Tag","reEmptyStringLeading","reEmptyStringMiddle","reEmptyStringTrailing","reEscapedHtml","reUnescapedHtml","reHasEscapedHtml","reHasUnescapedHtml","reEscape","reEvaluate","reInterpolate","reIsDeepProp","reIsPlainProp","rePropName","reRegExpChar","reHasRegExpChar","reTrimStart","reWhitespace","reWrapComment","reWrapDetails","reSplitDetails","reAsciiWord","reForbiddenIdentifierChars","reEscapeChar","reEsTemplate","reFlags","reIsBadHex","reIsBinary","reIsHostCtor","reIsOctal","reIsUint","reLatin","reNoMatch","reUnescapedString","rsAstralRange","rsComboMarksRange","reComboHalfMarksRange","rsComboSymbolsRange","rsComboRange","rsDingbatRange","rsLowerRange","rsMathOpRange","rsNonCharRange","rsPunctuationRange","rsSpaceRange","rsUpperRange","rsVarRange","rsBreakRange","rsApos","rsAstral","rsBreak","rsCombo","rsDigits","rsDingbat","rsLower","rsMisc","rsFitz","rsModifier","rsNonAstral","rsRegional","rsSurrPair","rsUpper","rsZWJ","rsMiscLower","rsMiscUpper","rsOptContrLower","rsOptContrUpper","reOptMod","rsOptVar","rsOptJoin","rsOrdLower","rsOrdUpper","rsSeq","rsEmoji","rsSymbol","reApos","reComboMark","reUnicode","reUnicodeWord","reHasUnicode","reHasUnicodeWord","templateCounter","typedArrayTags","cloneableTags","deburredLetters","htmlEscapes","htmlUnescapes","stringEscapes","freeParseFloat","freeParseInt","freeGlobal","freeSelf","freeExports","freeModule","moduleExports","freeProcess","nodeUtil","nodeIsArrayBuffer","nodeIsDate","nodeIsMap","nodeIsRegExp","nodeIsSet","nodeIsTypedArray","arrayAggregator","iteratee","accumulator","arrayEach","arrayEachRight","arrayEvery","arrayFilter","resIndex","arrayIncludes","baseIndexOf","arrayIncludesWith","arrayMap","arrayPush","arrayReduce","initAccum","arrayReduceRight","arraySome","asciiSize","baseProperty","asciiToArray","asciiWords","baseFindKey","eachFunc","baseFindIndex","strictIndexOf","baseIsNaN","baseIndexOfWith","baseMean","baseSum","basePropertyOf","baseReduce","baseSortBy","comparer","baseTimes","baseToPairs","baseTrim","trimmedEndIndex","baseUnary","baseValues","cacheHas","charsStartIndex","strSymbols","chrSymbols","charsEndIndex","countHolders","deburrLetter","escapeHtmlChar","escapeStringChar","chr","hasUnicode","hasUnicodeWord","iteratorToArray","mapToArray","overArg","replaceHolders","setToArray","setToPairs","strictLastIndexOf","stringSize","unicodeSize","stringToArray","unicodeToArray","unescapeHtmlChar","unicodeWords","runInContext","Array","Date","Error","Function","Math","Object","RegExp","String","TypeError","arrayProto","funcProto","objectProto","coreJsData","funcToString","idCounter","maskSrcKey","uid","nativeObjectToString","oldDash","reIsNative","Symbol","Uint8Array","allocUnsafe","getPrototype","objectCreate","propertyIsEnumerable","splice","spreadableSymbol","symIterator","symToStringTag","defineProperty","getNative","ctxClearTimeout","ctxNow","ctxSetTimeout","nativeCeil","nativeFloor","nativeGetSymbols","nativeIsBuffer","nativeIsFinite","nativeJoin","nativeKeys","nativeMax","nativeMin","nativeNow","nativeParseInt","nativeRandom","nativeReverse","DataView","Map","Promise","Set","WeakMap","nativeCreate","metaMap","realNames","dataViewCtorString","toSource","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","symbolProto","symbolValueOf","symbolToString","lodash","isObjectLike","LazyWrapper","LodashWrapper","wrapperClone","baseCreate","baseLodash","chainAll","lazyClone","copyArray","lazyReverse","lazyValue","isArr","isRight","arrLength","getView","iteratees","iterLength","takeCount","baseWrapperValue","iterIndex","Hash","hashClear","hashDelete","hashGet","hashHas","hashSet","ListCache","listCacheClear","listCacheDelete","assocIndexOf","listCacheGet","listCacheHas","listCacheSet","MapCache","mapCacheClear","mapCacheDelete","getMapData","mapCacheGet","mapCacheHas","mapCacheSet","SetCache","setCacheAdd","setCacheHas","stackClear","stackDelete","stackGet","stackHas","stackSet","arrayLikeKeys","inherited","isArg","isArguments","isBuff","isType","skipIndexes","isIndex","arraySample","baseRandom","arraySampleSize","shuffleSelf","baseClamp","arrayShuffle","assignMergeValue","baseAssignValue","baseAggregator","baseEach","baseAssign","copyObject","baseAssignIn","keysIn","baseAt","lower","baseClone","bitmask","customizer","isDeep","isFlat","isFull","initCloneArray","getTag","isFunc","cloneBuffer","initCloneObject","copySymbolsIn","copySymbols","initCloneByTag","stacked","subValue","keysFunc","getAllKeysIn","getAllKeys","baseConforms","baseConformsTo","baseDelay","setTimeout","baseDifference","isCommon","valuesLength","valuesIndex","createBaseEach","baseForOwn","baseEachRight","baseForOwnRight","baseEvery","baseExtremum","baseFill","toInteger","toLength","baseFilter","baseFlatten","isFlattenable","baseFor","createBaseFor","baseForRight","baseFunctions","castPath","toKey","baseGetAllKeys","symbolsFunc","baseGetTag","getRawTag","baseGt","baseHas","baseHasIn","baseInRange","baseIntersection","arrays","othLength","othIndex","caches","baseInverter","baseInvoke","baseIsArguments","baseIsArrayBuffer","baseIsDate","baseIsEqual","baseIsEqualDeep","equalFunc","objIsArr","othIsArr","objTag","othTag","objIsObj","othIsObj","isSameTag","equalArrays","equalByTag","objIsWrapped","othIsWrapped","objUnwrapped","othUnwrapped","equalObjects","baseIsMap","baseIsMatch","matchData","noCustomizer","srcValue","baseIsNative","isMasked","baseIsRegExp","baseIsSet","baseIsTypedArray","baseIteratee","identity","baseMatchesProperty","baseMatches","baseKeys","isPrototype","baseKeysIn","nativeKeysIn","isProto","baseLt","baseMap","isArrayLike","getMatchData","matchesStrictComparable","isStrictComparable","hasIn","baseMerge","srcIndex","baseMergeDeep","safeGet","mergeFunc","isTyped","isArrayLikeObject","cloneTypedArray","toPlainObject","baseNth","baseOrderBy","orders","getIteratee","compareMultiple","basePick","basePickBy","baseSet","basePropertyDeep","basePullAll","basePullAt","baseUnset","baseRange","baseRepeat","baseRest","setToString","overRest","baseSample","baseSampleSize","baseSetData","baseSetToString","baseShuffle","baseSlice","baseSome","baseSortedIndex","retHighest","baseSortedIndexBy","valIsNaN","valIsNull","valIsSymbol","valIsUndefined","othIsDefined","othIsNull","othIsReflexive","othIsSymbol","setLow","baseSortedUniq","baseToNumber","baseToString","baseUniq","createSet","seenIndex","baseUpdate","baseWhile","isDrop","baseXor","baseZipObject","assignFunc","valsLength","castArrayLikeObject","castFunction","castRest","castSlice","clearTimeout","cloneArrayBuffer","arrayBuffer","cloneDataView","dataView","cloneRegExp","cloneSymbol","compareAscending","valIsDefined","valIsReflexive","objCriteria","othCriteria","ordersLength","composeArgs","partials","holders","isCurried","argsIndex","argsLength","holdersLength","leftIndex","leftLength","rangeLength","isUncurried","composeArgsRight","holdersIndex","rightIndex","rightLength","getSymbols","getSymbolsIn","createAggregator","initializer","createAssigner","assigner","guard","isIterateeCall","createBind","isBind","createCtor","createCaseFirst","createCompounder","deburr","thisBinding","createCurry","arity","getHolder","createRecurry","createHybrid","createFind","findIndexFunc","createFlow","flatRest","prereq","getFuncName","funcName","getData","isLaziable","partialsRight","holdersRight","argPos","ary","isAry","isBindKey","isFlip","holdersCount","newHolders","reorder","createInverter","toIteratee","createMathOperation","createOver","arrayFunc","createPadding","charsLength","createPartial","createRange","toFinite","createRelationalOperation","toNumber","wrapFunc","isCurry","newHoldersRight","newPartials","newPartialsRight","setData","setWrapToString","createRound","precision","createToPairs","createWrap","customDefaultsAssignIn","customDefaultsMerge","customOmitClone","isPartial","arrStacked","othStacked","arrValue","othValue","compared","convert","objProps","objLength","othProps","objStacked","skipCtor","objCtor","othCtor","otherFunc","isKeyable","isOwn","unmasked","stubArray","ctorString","transforms","getWrapDetails","hasPath","hasFunc","insertWrapDetails","isMaskable","stubFalse","memoizeCapped","srcBitmask","newBitmask","isCombo","otherArgs","oldArray","shortOut","updateWrapDetails","lastCalled","stamp","remaining","rand","quote","subString","concat","difference","differenceBy","differenceWith","dropRight","dropRightWhile","dropWhile","findLastIndex","flattenDeep","flattenDepth","fromPairs","intersection","intersectionBy","intersectionWith","join","lastIndexOf","nth","pull","pullAll","pullAllBy","pullAllWith","pullAt","sortedIndex","sortedIndexBy","sortedIndexOf","sortedLastIndex","sortedLastIndexBy","sortedLastIndexOf","sortedUniq","sortedUniqBy","takeRight","takeRightWhile","takeWhile","unionBy","unionWith","uniq","uniqBy","uniqWith","unzip","unzipWith","without","xor","xorBy","xorWith","zipObject","zipObjectDeep","zipWith","tap","thru","wrapperAt","wrapperChain","wrapperCommit","wrapperNext","wrapperToIterator","wrapperPlant","wrapperReverse","wrapperValue","countBy","every","findLast","flatMap","flatMapDeep","flatMapDepth","forEachRight","invokeMap","keyBy","orderBy","partition","reduceRight","sample","sampleSize","shuffle","sortBy","bindKey","curry","curryRight","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","maxing","invokeFunc","leadingEdge","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","timeWaiting","shouldInvoke","trailingEdge","isInvoking","defer","resolver","memoized","overArgs","funcsLength","partialRight","rearg","unary","castArray","cloneWith","cloneDeep","cloneDeepWith","conformsTo","gt","gte","isEqual","isEqualWith","isFinite","isInteger","isMatch","isMatchWith","isNative","isNull","isNil","isSafeInteger","isWeakMap","isWeakSet","lte","isBinary","toSafeInteger","assignIn","assignInWith","assignWith","propsIndex","propsLength","defaultsDeep","mergeWith","findLastKey","forIn","forInRight","forOwn","forOwnRight","functions","functionsIn","invertBy","mapKeys","mapValues","omit","omitBy","setWith","toPairs","toPairsIn","isArrLike","updateWith","valuesIn","random","floating","camelCase","upperFirst","escapeRegExp","kebabCase","lowerCase","lowerFirst","pad","strLength","padEnd","padStart","parseInt","startCase","startsWith","imports","importsKeys","importsValues","isEscaping","isEvaluating","interpolate","reDelimiters","sourceURL","escapeValue","interpolateValue","esTemplateValue","evaluateValue","attempt","toUpper","trimEnd","trimStart","omission","substring","newEnd","upperCase","bindAll","methodNames","conforms","defaultTo","flow","flowRight","matchesProperty","methodOf","mixin","noConflict","nthArg","over","overEvery","overSome","propertyOf","rangeRight","stubObject","stubString","stubTrue","uniqueId","augend","ceil","floor","maxBy","mean","meanBy","minBy","multiplicand","minuend","sumBy","isFilter","takeName","dropName","checkIteratee","isTaker","lodashFunc","retUnwrapped","isLazy","useLazy","isHybrid","isUnwrapped","onlyLazy","chainName","yorkieRemoteSelectionsTheme","cmView.EditorView","yorkieRemoteSelectionsAnnotation","cmState.Annotation","YRemoteCaretWidget","dom.text","YorkieRemoteSelectionsPluginValue","linePosTo","yorkieRemoteSelections","yorkieCodeMirror","yorkieSyncConfig","BOTTOM_BAR_HEIGHT","EditorBottomBar","handleChangeCodeKey","newKeyCode","keyType","TooltipToggleButton","characterMap","allAccents","firstAccent","removeAccents","hasAccents","removeAccentsModule","rankings","defaultBaseSortFn","matchSorter","baseSort","sorter","matchedItems","sortRankedValues","reduceItemsToRanked","rankingInfo","getHighestRanking","keyThreshold","stringItem","getMatchRanking","getAllValuesToRank","rankedValue","itemValue","newRank","newRankedValue","minRanking","maxRanking","stringToRank","prepareValueForComparison","getAcronym","getClosenessRanking","acronym","wordInString","splitByHyphenWord","matchingInOrderCharCount","charNumber","findMatchingCharacter","matchChar","getRanking","spreadPercentage","inOrderPercentage","aRank","aKeyIndex","bRank","bKeyIndex","keepDiacritics","getItemValues","getNestedValues","nestedKey","nestedValues","nestedItem","nestedValue","allValues","getKeyAttributes","itemValues","defaultKeyAttributes","YorkieIntelligenceFeatureList","onSelectFeature","featureText","setFeatureText","filteredFeatureInfoList","handleFeatureTextChange","featureInfo","useIntelligenceFeatureStream","feature","documentSotre","memoryKey","setMemoryKey","setIsLoading","setIsComplete","mutateAsync","isFirst","splitted","useIntelligenceStream","castFactory","anyFactory","propsFactory","typeFactory","tests","checkAsRecord","nodeAsRecord","testFunction","looksLikeANode","CONTINUE","EXIT","SKIP","visitParents","parents","subresult","grandparents","toResult","nodeAsParent","testOrVisitor","visitorOrReverse","maybeReverse","overload","one","own","cascadeRaw","cascade","preorder","parsePart","sep","incr","clike","Prism","refractorClike","cpp","refractorC","modName","arduino","refractorCpp","bash","envVars","commandAfterHeredoc","insideString","toBeCopied","csharp","depthLog2","keywordKinds","keywordsToPattern","typeDeclarationKeywords","nonTypeKeywords","nonContextualKeywords","generic","nestedRound","genericName","typeExpressionWithoutTuple","tupleElement","tuple","typeExpression","typeInside","regularString","verbatimString","regularStringOrCharacter","regularStringCharacterOrComment","roundExpression","attrTarget","formatString","mInterpolationRound","mInterpolation","sInterpolationRound","sInterpolation","createInterpolationInside","interpolationRound","markup","includedCdataInside","PREFIXES","ini","java","classNamePrefix","specialEscape","charSet","charSetWithoutDot","rangeChar","groupName","kotlin","interpolationInside","less","refractorCss","lua","makefile","yaml","anchorOrAlias","plainKey","createValuePattern","refractorMarkup","createInline","tableCell","tableRow","tableLine","walkTokens","codeLang","codeBlock","grammar","ele","objectivec","perl","markupTemplating","getPlaceholder","placeholderPattern","replaceFilter","tokenStack","middle","php","refractorMarkupTemplating","string_interpolation","phpPattern","python","ruby","percentExpression","symbolName","rust","multilineComment","sass","scss","sql","swift","typescript","refractorJavascript","basic","vbnet","refractorBasic","normal","definitions","Info","boolean","booleanish","overloadedBoolean","spaceSeparated","commaSeparated","commaOrSpaceSeparated","DefinedInfo","definition","xlink","xml","caseSensitiveTransform","caseInsensitiveTransform","xmlns","aria","valid","cap","camelcase","kebab","$0","hastToReact","htmlBase","svgBase","parseSelector","defaultTagName","subvalue","buttonTypes","core","isProperties","addProperty","addChild","commas","parsePrimitive","finalResult","characterEntitiesLegacy","characterReferenceInvalid","isAlphabetical","isAlphanumerical","decodeNamedCharacterReference","characterReference","fromCharCode","parseEntities","additional","following","characterReferenceCharacters","terminated","namedReference","referenceCode","prohibited","disallowed","plainTextGrammar","redef","newToken","DFS","objId","propertyType","Token","tokenList","LinkedList","addAfter","matchGrammar","matchedStr","matchPattern","lookbehind","lookbehindLength","rematch","patternObj","greedy","removeCount","matchStr","reach","removeFrom","removeRange","nestedRematch","Refractor","refractor","highlight","listLanguages","aliasOrLanguage","abap","abnf","coreRules","actionscript","ada","agda","antlr4","apacheconf","apex","refractorSql","insertClassName","classNameInside","apl","applescript","aql","arff","armasm","arturo","createLanguageString","asciidoc","copyFromAsciiDoc","aspnet","refractorCsharp","asm6502","asmatmel","autohotkey","autoit","avisynth","internals","allinternals","avroIdl","awk","batch","parameter","bbcode","bbj","bicep","birb","bison","bnf","bqn","brainfuck","brightscript","bro","bsl","cfscript","chaiscript","cil","cilkc","cilkcpp","clojure","cmake","cobol","coffeescript","concurnas","csp","cooklang","single_token_suffix","multi_token_infix","multi_token_suffix","multi_token","timer_units","amount_group_impl","coq","commentSource","crystal","refractorRuby","cssExtras","selectorInside","csv","cue","stringEscape","stringTypes","stringLiteral","cypher","dart","packagePrefix","dataweave","dax","dhall","django","dnsZoneFile","docker","spaceAfterBackSlash","stringRule","commentRule","ID","IDInside","withID","ebnf","editorconfig","eiffel","ejs","ejsPattern","elixir","etlua","refractorLua","erb","erbPattern","erlang","excelFormula","fsharp","comment_inside","string_inside","arrToWordsRegExp","builtins","combinators","$false","firestoreSecurityRules","fortran","ftl","FTL_EXPR","gml","gcode","gdscript","gedcom","gettext","gherkin","git","glsl","gn","linkerScript","goModule","gradle","graphql","validTokens","getToken","isTokenType","findClosingBracket","stackHeight","addAlias","inputVariables","definitionEnd","mutationEnd","varToken","groovy","textile","modifierRegex","parenthesesRegex","withModifier","modifierTokens","phraseInside","nestedPatterns","phraseInlineInside","phraseTableInside","haml","filter_pattern","all_filters","handlebars","handlebarsPattern","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","uri","http","headerValueOf","langs","httpLanguages","suffixTypes","getSuffixPattern","suffixPattern","ichigojam","icuMessageFormat","stringPattern","argumentSource","nestedMessage","idris","refractorHaskell","inform7","io","javadoclike","javaDocLike","docCommentSupport","tokenName","addSupport","docLanguage","scala","refractorJava","javadoc","refractorJavadoclike","codeLinePattern","memberReference","javastacktrace","jexl","jolie","jq","stringInterpolation","jsTemplates","templateString","templateLiteralPattern","interpolationObject","interpolationPunctuationObject","interpolationPattern","createTemplate","tokenizeWithHooks","tokenizeInterpolationExpression","expression","tempGrammar","tokenizeEmbedded","_tokens","placeholderCounter","placeholderMap","embeddedCode","interpolationExpression","embeddedTokens","afterTokens","supportedLanguages","findTemplateStrings","embedded","stringContent","jsdoc","refractorTypescript","parameterPrefix","n4js","jsExtras","withId","maybeClassNameTokens","json5","refractorJson","jsonp","jsstacktrace","julia","keepalived","keyman","kumir","nonId","wrapId","kusto","latex","funcPattern","insideEqu","latte","refractorPhp","markupLatte","lattePattern","SortedBNF","lilypond","refractorScheme","schemeExpression","recursivenessLog2","liquid","liquidPattern","insideRaw","tagMatch","lisp","simple_form","par","endpar","nestedPar","forms","arglist","livescript","llvm","lolcode","magma","mata","orgType","matlab","maxscript","mel","mermaid","metafont","mizar","mongodb","builtinFunctions","operatorsSource","monkey","moonscript","n1ql","nand2tetrisHdl","naniscript","expressionDef","getTextContent","isBracketsBalanced","bracketsIndex","nasm","neon","nevod","nginx","nim","nix","nsis","ocaml","odin","escapes","opencl","openqasm","oz","parigp","pascal","pascaligo","braces","psl","pcaxis","peoplecode","phpdoc","phpExtras","plantUml","arrowAttr","arrowDirection","arrowBody","arrowRight","arrowPrefix","arrowSuffix","plsql","powerquery","powershell","processing","prolog","promql","aggregations","vectorMatching","offsetModifier","protobuf","builtinTypes","stylus","twig","pug","puppet","pure","inlineLanguages","inlineLanguageRe","purebasic","purescript","qsharp","qualifiedName","interpolationExpr","qml","jsString","jsComment","jsExpr","qore","racket","cshtml","commentLike","stringLike","curly","angle","inlineCs","tagAttrInlineCs","tagAttrValue","tagAttrs","tagContent","tagRegion","csharpWithHtml","cs","inlineValue","stringifyToken","openedTags","notTagNorBrace","plainText","tsx","refractorJsx","rego","renpy","rescript","rip","roboconf","robotframework","createSection","extendecInside","docTag","testNameLike","testPropertyLike","sas","numericConstant","macroVariable","macroKeyword","altformat","globalStatements","submitStatement","actionSets","casActions","shellSession","refractorBash","smali","smalltalk","smarty","smartyPattern","smartyLiteralStart","smartyLiteralEnd","smartyLiteralMode","sml","solidity","solutionFile","guid","soy","numberPattern","soyPattern","soyLitteralStart","soyLitteralEnd","soyLitteralMode","turtle","sparql","refractorTurtle","splunkSpl","sqf","squirrel","stan","higherOrderFunctions","stata","refractorMata","refractorPython","iecst","supercollider","systemd","quotesSource","t4Templating","createBlock","contentAlias","createT4","insideLang","t4Cs","refractorT4Templating","t4Vb","refractorVbnet","refractorYaml","tcl","tt2","tt2Pattern","toml","insertKey","tremor","typoscript","unrealscript","uorazor","vala","velocity","verilog","vhdl","visualBasic","warpscript","webIdl","wgsl","wiki","wolfram","wren","xeora","xmlDoc","insertDocComment","docComment","slashDocComment","tickDocComment","xojo","xquery","yang","zig","IDENTIFIER","ALIGN","PREFIX_TYPE_OP","SUFFIX_EXPR","TYPE","emptyMulticharIndex","emptyRegularIndex","extendIndex","charIndex","createMulticharIndex","items_1","createRegularIndex","items_2","emptyPseudoSignatures","defaultPseudoSignature","calculatePseudoSignature","setResultType","types_1","inverseCategories","calculatePseudoSignatures","pseudoClassesToArgumentTypes","pseudoClass","argumentTypes","__assign","emptyXmlOptions","defaultXmlOptions","getXmlOptions","withMigration","migration","withNoNegative","withPositive","positive","mergeSection","mergeSchema","replaceValueIfSpecified","concatArray","mergeDefinitions","baseValue","extendSyntaxDefinition","css1SyntaxDefinition","css2SyntaxDefinition","selectors3SyntaxDefinition","selectors4SyntaxDefinition","progressiveSyntaxDefinition","cssSyntaxDefinitions","isIdentStart","isIdent","isHex","whitespaceChars","quoteChars","digitsChars","maxHexLength","errorPrefix","createParser","substitutes","syntaxDefinition","tagNameEnabled","tagNameWildcardEnabled","idEnabled","classNamesEnabled","namespaceEnabled","namespaceWildcardEnabled","substitutesEnabled","combinatorsIndex","attributesEnabled","attributesOperatorsIndex","attributesCaseSensitivityModifiers","attributesAcceptUnknownCaseSensitivityModifiers","attributesCaseSensitivityModifiersEnabled","pseudoClassesEnabled","pseudoClassesDefinitions","pseudoClassesAcceptUnknown","pseudoElementsEnabled","pseudoElementsSingleColonNotationEnabled","pseudoElementsDoubleColonNotationEnabled","pseudoElementsDefinitions","pseudoElementsAcceptUnknown","isTagStart","rewind","readAndNext","fail","assertNonEof","isEof","matchMulticharIndex","matchMulticharIndexPos","subPos","parseHex","skipSingleWhitespace","parseString","parseIdentifier","parsePseudoClassString","skipWhitespace","parseRule","parseAttribute","name_1","name_2","savedPos","name_3","name_4","caseSensitivityModifier","parseNumber","isNumberStart","parseFormula","ident","firstNumber","firstNumberMultiplier","parsePseudoArgument","pseudoName","signature","name_5","parseTagName","name_6","parseTagNameWithNamespace","combinator","idName","isDoubleColon","isPseudoElement","pseudoElement","astMethods","generatorName","checkerName","entity","cssSelectorParse","rtlRange","ltrRange","enterState","currentDirection","editableOrEditingHost","dirInferred","dirProperty","dirBidi","inferDirectionality","propertyValue","spaces.parse","spaces.stringify","emptyClassNames","cast","extendedFilter","hasProperty","NINE","formula","readSign","readNumber","boolbase","absA","bMod","nthCheck","zwitch","fauxEsmNthCheck","anyLink","firstChild","firstOfType","lastOfType","nthChild","nthLastChild","nthLastOfType","nthOfType","onlyChild","onlyOfType","optional","readWrite","invalidPseudo","unknownPseudo","assertDeep","someChildren","_1","_2","_3","getCachedNthCheck","childState","walk","query_","fromSibling","forSibling","applySelectors","nestResult","selectorIndex","counts","currentRules","rootRules","createState","getCodeString","remarkRewrite","getURLParameters","nextChild","codeBlockParames","getCommentObject","propertiesHandle","rehypeAttrs","VOID","PRIMITIVE","ARRAY","OBJECT","REGEXP","MAP","ERROR","BIGINT","deserializer","unpair","deserialize","typeOf","shouldSkip","lossy","structuredClone$1","createH","createAdjustMap","svgCaseSensitiveTagNames","indices","toOffset","toPoint","webNamespaces","fromParse5","quirksMode","loc","startTag","opening","emptyOptions","doctype","toParse5","parentSchema","currentSchema","createProperty","htmlVoidElements","UNDEFINED_CODE_POINTS","REPLACEMENT_CHARACTER","CODE_POINTS","SEQUENCES","isSurrogate","cp","getSurrogatePairCodePoint","cp1","cp2","isControlCodePoint","isUndefinedCodePoint","ERR","DEFAULT_BUFFER_WATERLINE","Preprocessor","nextCp","isLastChunk","getTokenAttr","htmlDecodeTree","xmlDecodeTree","decodeMap","codePoint","replaceCodePoint","CharCodes","TO_LOWER_BIT","BinTrieFlags","isHexadecimalCharacter","isAsciiAlphaNumeric","isEntityInAttributeInvalidEnd","EntityDecoderState","DecodingMode","EntityDecoder","decodeTree","emitCodePoint","decodeMode","digitCount","startIdx","lastCp","expectedLength","valueLength","determineBranch","consumed","getDecoder","nodeIdx","branchCount","jumpOffset","midVal","htmlDecoder","decodeHTML","NS","ATTRS","DOCUMENT_MODE","TAG_NAMES","TAG_ID","TAG_NAME_TO_ID","getTagID","SPECIAL_ELEMENTS","isNumberedHeader","tn","C1_CONTROLS_REFERENCE_REPLACEMENTS","State","TokenizerMode","isAsciiDigit","isAsciiUpper","isAsciiLower","isAsciiLetter","isAsciiUpperHexDigit","isAsciiLowerHexDigit","isAsciiHexDigit","toAsciiLower","isWhitespace","isScriptDataDoubleEscapeSequenceEnd","Tokenizer$2","writeCallback","initialName","attrNameFirstCh","attrLocations","ct","excess","withoutSemicolon","masked","_cp","$$","matchResult","IMPLICIT_END_TAG_REQUIRED","IMPLICIT_END_TAG_REQUIRED_THOROUGHLY","SCOPING_ELEMENT_NS","NAMED_HEADERS","TABLE_ROW_CONTEXT","TABLE_BODY_CONTEXT","TABLE_CONTEXT","TABLE_CELLS","OpenElementStack","treeAdapter","tagID","oldElement","newElement","referenceElement","newElementID","insertionIdx","targetIdx","tagNames","targetNS","namespace","elementIdx","ns","exclusionId","NOAH_ARK_CAPACITY","EntryType","MARKER","FormattingElementList","neAttrs","neAttrsLength","neTagName","neNamespaceURI","elementAttrs","neAttrsMap","neAttr","validCandidates","cAttr","bookmarkIdx","entryIndex","markerIdx","defaultTreeAdapter","namespaceURI","templateElement","contentElement","publicId","systemId","doctypeNode","recipient","recipientAttrsMap","commentNode","endLocation","VALID_DOCTYPE_NAME","VALID_SYSTEM_ID","QUIRKS_MODE_SYSTEM_ID","QUIRKS_MODE_PUBLIC_ID_PREFIXES","QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES","QUIRKS_MODE_PUBLIC_IDS","LIMITED_QUIRKS_PUBLIC_ID_PREFIXES","LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES","hasPrefix","isConforming","getDocumentMode","MIME_TYPES","DEFINITION_URL_ATTR","ADJUSTED_DEFINITION_URL_ATTR","SVG_ATTRS_ADJUSTMENT_MAP","XML_ATTRS_ADJUSTMENT_MAP","SVG_TAG_NAMES_ADJUSTMENT_MAP","EXITS_FOREIGN_CONTENT","causesExit","startTagToken","adjustTokenMathMLAttrs","adjustTokenSVGAttrs","adjustedAttrName","adjustTokenXMLAttrs","adjustedAttrEntry","adjustTokenSVGTagName","adjustedTagName","isMathMLTextIntegrationPoint","isHtmlIntegrationPoint","isIntegrationPoint","foreignNS","HIDDEN_INPUT_TYPE","AA_OUTER_LOOP_ITER","AA_INNER_LOOP_ITER","InsertionMode","BASE_LOC","TABLE_STRUCTURE_TAGS","defaultParserOptions","Parser$1","fragmentContext","scriptHandler","Tokenizer","TN","documentMock","beforeToken","tid","isTop","currentTagId","isHTML","currentToken","nextTokenizerState","docTypeNode","tmpl","beforeElement","textNodeIdx","donor","closingToken","ctLoc","endLoc","foreignContent.isIntegrationPoint","listLength","unopenIdx","selectIdx","openElement","characterInForeignContent","tokenInInitialMode","tokenBeforeHtml","tokenBeforeHead","tokenInHead","tokenInHeadNoScript","tokenAfterHead","characterInBody","characterInTable","characterInTableText","tokenInColumnGroup","tokenAfterBody","tokenAfterAfterBody","nullCharacterInForeignContent","appendComment","tokenInTableText","appendCommentToRootHtmlElement","appendCommentToDocument","doctypeInInitialMode","startTagInForeignContent","startTagBeforeHtml","startTagBeforeHead","startTagInHead","startTagInHeadNoScript","startTagAfterHead","startTagInBody","startTagInTable","startTagInCaption","startTagInColumnGroup","startTagInTableBody","startTagInRow","startTagInCell","startTagInSelect","startTagInSelectInTable","startTagInTemplate","startTagAfterBody","startTagInFrameset","startTagAfterFrameset","startTagAfterAfterBody","startTagAfterAfterFrameset","endTagInForeignContent","endTagBeforeHtml","endTagBeforeHead","endTagInHead","endTagInHeadNoScript","endTagAfterHead","endTagInBody","endTagInText","endTagInTable","endTagInCaption","endTagInColumnGroup","endTagInTableBody","endTagInRow","endTagInCell","endTagInSelect","endTagInSelectInTable","endTagInTemplate","endTagAfterBody","endTagInFrameset","endTagAfterFrameset","eofInBody","eofInText","eofInTemplate","stopParsing","unicode.CODE_POINTS","whitespaceCharacterInBody","whitespaceCharacterInTableText","aaObtainFormattingElementEntry","formattingElementEntry","genericEndTagInBody","aaObtainFurthestBlock","furthestBlock","aaInnerLoop","formattingElement","lastElement","nextElement","elementEntry","counterOverflow","aaRecreateElementFromEntry","aaInsertLastNodeInCommonAncestor","commonAncestor","aaReplaceFormattingElement","callAdoptionAgency","htmlElement","htmlLocation","bodyElement","bodyLocation","doctype.getDocumentMode","doctype.isConforming","templateEndTagInHead","errCode","modeInBody","htmlStartTagInBody","bodyStartTagInBody","framesetStartTagInBody","addressStartTagInBody","numberedHeaderStartTagInBody","preStartTagInBody","formStartTagInBody","inTemplate","listItemStartTagInBody","elementId","plaintextStartTagInBody","buttonStartTagInBody","aStartTagInBody","activeElementEntry","bStartTagInBody","nobrStartTagInBody","appletStartTagInBody","tableStartTagInBody","areaStartTagInBody","isHiddenInput","inputType","inputStartTagInBody","paramStartTagInBody","hrStartTagInBody","imageStartTagInBody","textareaStartTagInBody","xmpStartTagInBody","iframeStartTagInBody","noembedStartTagInBody","selectStartTagInBody","optgroupStartTagInBody","rbStartTagInBody","rtStartTagInBody","mathStartTagInBody","foreignContent.adjustTokenMathMLAttrs","foreignContent.adjustTokenXMLAttrs","svgStartTagInBody","foreignContent.adjustTokenSVGAttrs","genericStartTagInBody","bodyEndTagInBody","htmlEndTagInBody","addressEndTagInBody","formEndTagInBody","formElement","pEndTagInBody","liEndTagInBody","ddEndTagInBody","numberedHeaderEndTagInBody","appletEndTagInBody","brEndTagInBody","tokenInTable","captionStartTagInTable","colgroupStartTagInTable","colStartTagInTable","tbodyStartTagInTable","tdStartTagInTable","tableStartTagInTable","inputStartTagInTable","formStartTagInTable","savedFosterParentingState","TABLE_VOID_ELEMENTS","unicode.REPLACEMENT_CHARACTER","popUntilHtmlOrIntegrationPoint","foreignContent.causesExit","currentNs","foreignContent.adjustTokenSVGTagName","pointEnd","pointStart","knownMdxNames","parseOptions","raw","documentMode","handleRaw","unknown","resetTokenizer","p5","stitch","Token.TokenType","createParse5Location","cloneWithoutChildren","fakeRoot","setPoint","node_","html.getTagID","structuredClone","rehypeRaw","nameRe","nameReJsx","COMMENT_REGEX","NEWLINE_REGEX","WHITESPACE_REGEX","PROPERTY_REGEX","COLON_REGEX","VALUE_REGEX","SEMICOLON_REGEX","TRIM_REGEX","NEWLINE","FORWARD_SLASH","ASTERISK","EMPTY_STRING","TYPE_COMMENT","TYPE_DECLARATION","inlineStyleParser","Position","decls","decl","__importDefault","cjs","_default","StyleToObject","inline_style_parser_1","styleObject","hasIterator","styleToObject","stringifyPosition","VFileMessage","causeOrReason","optionsOrParentOrPlace","legacyCause","emptyMap","dashSomething","tableElements","tableCellElement","docs","toJsxRuntime","filePath","developmentCreate","productionCreate","mdxExpression","mdxJsxElement","mdxEsm","findComponentFromName","createElementProps","createChildren","addNode","addChildren","crashEstree","createJsxElementProps","jsxDEV","isStaticChildren","alignValue","objectExpression","countsByName","parseStyle","transformStylesToCssCasing","replacer","toCamel","allowExpression","isIdentifierName","place","domCasing","cssCasing","transformStyleToCssCasing","toDash","$1","urlAttributes","includeImageAlt","includeHtml","chunkStart","combineExtensions","syntaxExtension","constructs","decodeNumericCharacterReference","normalizeIdentifier","asciiAlpha","regexCheck","asciiAlphanumeric","asciiAtext","asciiControl","asciiDigit","asciiHexDigit","asciiPunctuation","markdownLineEnding","markdownLineEndingOrSpace","markdownSpace","unicodePunctuation","unicodeWhitespace","normalizeUri","factorySpace","initializeContent","contentStart","afterContentStartConstruct","paragraphInitial","initializeDocument","containerConstruct","tokenizeContainer","childFlow","childToken","lineStartOffset","documentContinue","checkNewContainers","closeFlow","indexBeforeExits","indexBeforeFlow","exitContainers","documentContinued","flowStart","thereIsANewContainer","thereIsNoNewContainer","containerContinue","flowContinue","writeToChild","eof","nok","classifyCharacter","resolveAll","events","called","attention","tokenizeAttention","resolveAllAttention","openingSequence","closingSequence","use","nextEvents","movePoint","attentionMarkers","autolink","tokenizeAutolink","schemeOrEmailAtext","emailAtext","schemeInsideOrEmailAtext","urlInside","emailAtSignOrDot","emailLabel","emailValue","tokenizeBlankLine","blockQuote","tokenizeBlockQuoteStart","tokenizeBlockQuoteContinuation","contStart","contBefore","characterEscape","tokenizeCharacterEscape","tokenizeCharacterReference","numeric","nonLazyContinuation","tokenizeNonLazyContinuation","codeFenced","tokenizeCodeFenced","closeStart","tokenizeCloseStart","initialPrefix","sizeOpen","beforeSequenceOpen","sequenceOpen","infoBefore","atNonLazyBreak","metaBefore","contentBefore","beforeContentChunk","contentChunk","startBefore","beforeSequenceClose","sequenceClose","sequenceCloseAfter","codeIndented","tokenizeCodeIndented","furtherStart","tokenizeFurtherStart","afterPrefix","codeText","tokenizeCodeText","resolveCodeText","tailExitIndex","headEnterIndex","SpliceBuffer","chunkedPush","subtokenize","eventsArray","jumps","lineIndex","otherIndex","otherEvent","subevents","subcontent","eventIndex","startPosition","startPositions","childEvents","tokenizeContent","resolveContent","continuationConstruct","tokenizeContinuation","chunkInside","contentEnd","contentContinue","startLookahead","prefixed","factoryDestination","literalType","literalMarkerType","rawType","stringType","balance","enclosedBefore","enclosed","enclosedEscape","rawEscape","factoryLabel","markerType","labelInside","labelEscape","factoryTitle","factoryWhitespace","tokenizeDefinition","titleBefore","tokenizeTitleBefore","labelAfter","markerAfter","destinationBefore","destinationAfter","afterWhitespace","beforeMarker","titleAfter","titleAfterOptionalWhitespace","hardBreakEscape","tokenizeHardBreakEscape","headingAtx","tokenizeHeadingAtx","resolveHeadingAtx","sequenceFurther","htmlBlockNames","htmlRawNames","htmlFlow","tokenizeHtmlFlow","resolveToHtmlFlow","blankLineBefore","tokenizeBlankLineBefore","nonLazyContinuationStart","tokenizeNonLazyContinuationStart","closingTag","markerB","declarationOpen","tagCloseStart","continuationDeclarationInside","commentOpenInside","cdataOpenInside","continuation","basicSelfClosing","completeClosingTagAfter","completeAttributeNameBefore","completeEnd","completeAttributeName","completeAttributeNameAfter","completeAttributeValueBefore","completeAttributeValueQuoted","completeAttributeValueUnquoted","completeAttributeValueQuotedAfter","completeAfter","continuationCommentInside","continuationRawTagOpen","continuationClose","continuationCdataInside","continuationAfter","continuationStart","continuationStartNonLazy","continuationBefore","continuationRawEndTag","htmlText","tokenizeHtmlText","returnState","instruction","tagOpen","commentEnd","commentClose","lineEndingBefore","cdata","cdataClose","cdataEnd","instructionClose","tagClose","tagCloseBetween","tagOpenBetween","tagOpenAttributeName","tagOpenAttributeNameAfter","tagOpenAttributeValueBefore","tagOpenAttributeValueQuoted","tagOpenAttributeValueUnquoted","tagOpenAttributeValueQuotedAfter","lineEndingAfter","lineEndingAfterPrefix","labelEnd","tokenizeLabelEnd","resolveToLabelEnd","resolveAllLabelEnd","resourceConstruct","tokenizeResource","referenceFullConstruct","tokenizeReferenceFull","referenceCollapsedConstruct","tokenizeReferenceCollapsed","labelStart","defined","labelEndNok","labelEndOk","referenceNotFull","resourceStart","resourceBefore","resourceOpen","resourceEnd","resourceDestinationAfter","resourceDestinationMissing","resourceBetween","resourceTitleAfter","referenceFull","referenceFullAfter","referenceFullMissing","referenceCollapsedStart","referenceCollapsedOpen","labelStartImage","tokenizeLabelStartImage","labelStartLink","tokenizeLabelStartLink","lineEnding","tokenizeLineEnding","thematicBreak","tokenizeThematicBreak","sequence","tokenizeListStart","tokenizeListContinuation","tokenizeListEnd","listItemPrefixWhitespaceConstruct","tokenizeListItemPrefixWhitespace","indentConstruct","tokenizeIndent","initialSize","atMarker","onBlank","endOfPrefix","otherPrefix","notBlank","notInCurrentItem","setextUnderline","tokenizeSetextUnderline","resolveToSetextUnderline","initializeFlow","atBlankEnding","afterConstruct","createResolver","initializeFactory","initializeText","resolveAllLineSuffixes","notText","extraResolver","resolveAllText","bufferIndex","createTokenizer","columnStart","resolveAllConstructs","constructFactory","onsuccessfulconstruct","onsuccessfulcheck","sliceStream","sliceSerialize","defineSkip","addResult","expandTabs","serializeChunks","sliceChunks","_index","_bufferIndex","accountForPotentialSkip","chunkIndex","construct","onreturn","bogusState","listOfConstructs","constructIndex","currentConstruct","handleListOfConstructs","handleMapOfConstructs","handleConstruct","startPoint","startPrevious","startCurrentConstruct","startEventsIndex","startStack","restore","startBufferIndex","endBufferIndex","atTab","contentInitial","flowInitial","insideSpan","resolveText","disable","defaultConstructs","postprocess","preprocess","atCarriageReturn","preprocessor","encoding","endPosition","characterEscapeOrReference","decodeString","decode","$2","fromMarkdown","compiler","opener","onenterdata","codeFlow","emphasis","hardBreak","listItem","onenterlistitemvalue","onenterlistordered","onenterreference","strong","closer","onexitatxheadingsequence","onexitautolinkemail","onexitautolinkprotocol","onexitdata","onexitcharacterreferencemarker","onexitcharacterreferencevalue","onexitcharacterreference","onexitcodefenced","onexitcodefencedfence","onexitcodefencedfenceinfo","onexitcodefencedfencemeta","onexitcodeindented","onexitcodetext","onexitdefinitiondestinationstring","onexitdefinitionlabelstring","onexitdefinitiontitlestring","onexithardbreak","onexithtmlflow","onexithtmltext","onexitimage","onexitlabel","onexitlabeltext","onexitlineending","onexitlink","onexitreferencestring","onexitresourcedestinationstring","onexitresourcetitlestring","onexitresource","onexitsetextheading","onexitsetextheadinglinesequence","onexitsetextheadingtext","configure","listStack","prepareList","defaultOnError","containerBalance","listSpread","firstBlankLineIndex","tailIndex","tailEvent","and","errorHandler","onExitError","referenceType","combined","remarkParse","blockquote","strikethrough","footnoteReference","clobberPrefix","safeId","reuseCounter","sup","subtype","imageReference","inlineCode","linkReference","listLoose","listItemLoose","tableContent","cellIndex","cells","cell","tab","trimLines","trimLine","defaultFootnoteBackContent","rereferenceIndex","defaultFootnoteBackLabel","referenceIndex","footnoteBackContent","footnoteBackLabel","footnoteLabel","footnoteLabelTagName","footnoteLabelProperties","listItems","backReferences","tailTail","definitionById","footnoteById","footnoteCounts","defaultHandlers","applyData","shallow","defaultUnknownHandler","trimMarkdownSpaceStart","hName","hChildren","hProperties","toHast","foot","remarkRehype","destination","hastTree","bail","hasOwn","toStr","gOPD","hasOwnConstructor","hasIsPrototypeOf","setProperty","getProperty","copyIsArray","trough","pipeline","middlewareIndex","middelware","fnExpectsCallback","then","minpath","dirname","extname","assertPath","seenNonSlash","firstNonSlashEnd","extnameIndex","unmatchedSlash","startPart","startDot","preDotState","normalizeString","allowAboveRoot","lastSegmentLength","lastSlash","lastSlashIndex","minproc","cwd","isUrl","fileUrlOrPath","urlToPath","getPathFromURLPosix","third","VFile","isUint8Array","assertNonEmpty","assertPart","stem","CallableInstance","Processor","attacher","assertUnfrozen","realFile","vfile","assertParser","assertCompiler","parseTree","realDone","compileTree","compileResult","looksLikeAValue","assertDone","assertNode","transformers","outputTree","resultingTree","attachers","addPlugin","addList","addPreset","currentPrimary","isPlainObj","unified","frozen","asyncName","looksLikeAVFile","changelog","emptyPlugins","emptyRemarkRehypeOptions","safeProtocol","Markdown","allowedElements","allowElement","disallowedElements","rehypePlugins","remarkPlugins","remarkRehypeOptions","skipHtml","unwrapDisallowed","urlTransform","defaultUrlTransform","deprecation","mdastTree","questionMark","numberSign","ccount","escapeStringRegexp","findAndReplace","ignored","pairIndex","grandparent","matchObject","tupleOrList","toExpression","toFunction","inConstruct","notInConstruct","gfmAutolinkLiteralFromMarkdown","transformGfmAutolinkLiterals","enterLiteralAutolink","enterLiteralAutolinkValue","exitLiteralAutolink","exitLiteralAutolinkEmail","exitLiteralAutolinkHttp","exitLiteralAutolinkWww","gfmAutolinkLiteralToMarkdown","findUrl","findEmail","isCorrectDomain","splitUrl","atext","trailExec","trail","closingParenIndex","openingParens","closingParens","footnoteReferencePeek","gfmFootnoteFromMarkdown","enterFootnoteDefinition","enterFootnoteDefinitionLabelString","enterFootnoteCall","enterFootnoteCallString","exitFootnoteDefinition","exitFootnoteDefinitionLabelString","exitFootnoteCall","exitFootnoteCallString","gfmFootnoteToMarkdown","footnoteDefinition","subexit","constructsWithoutStrikethrough","handleDelete","peekDelete","gfmStrikethroughFromMarkdown","enterStrikethrough","exitStrikethrough","gfmStrikethroughToMarkdown","markdownTable","defaultStringLength","alignments","cellMatrix","sizeMatrix","longestCellByColumn","mostCellsPerRow","rowIndex","columnIndex","toAlignment","patternInScope","listInScope","longestStreak","expected","formatCodeAsIndented","checkFence","checkQuote","checkEmphasis","emphasisPeek","formatHeadingAsSetext","literalWithBreak","htmlPeek","imagePeek","imageReferencePeek","inlineCodePeek","formatLinkAsAutolink","linkPeek","linkReferencePeek","checkBullet","checkBulletOther","bullet","bulletOther","checkBulletOrdered","checkRule","bulletCurrent","useDifferentMarker","firstListItem","checkListItemIndent","listItemIndent","phrasing","checkStrong","strongPeek","checkRuleRepetition","repetition","gfmTableFromMarkdown","enterTable","enterCell","enterRow","exitCodeText","exitTable","gfmTableToMarkdown","alignDelimiters","inlineCodeWithTable","handleTable","handleTableCell","handleTableRow","serializeData","handleTableAsData","handleTableRowAsData","matrix","gfmTaskListItemFromMarkdown","exitCheck","exitParagraphWithTaskListItem","gfmTaskListItemToMarkdown","listItemWithTaskListItem","firstParaghraph","checkable","checkbox","gfmFromMarkdown","gfmToMarkdown","wwwPrefix","tokenizeWwwPrefix","tokenizeDomain","tokenizePath","tokenizeTrail","emailDomainDotTrail","tokenizeEmailDomainDotTrail","wwwAutolink","tokenizeWwwAutolink","previousWww","protocolAutolink","tokenizeProtocolAutolink","previousProtocol","emailAutolink","tokenizeEmailAutolink","previousEmail","gfmAutolinkLiteral","gfmAtext","previousUnbalanced","emailDomain","emailDomainAfter","emailDomainDot","wwwStart","wwwAfter","protocolStart","protocolPrefixInside","protocolSlashesInside","afterProtocol","protocolAfter","wwwPrefixInside","wwwPrefixAfter","underscoreInLastSegment","underscoreInLastLastSegment","domainInside","domainAfter","domainAtPunctuation","sizeClose","pathInside","pathAtPunctuation","trailCharacterReferenceStart","trailBracketAfter","trailCharacterReferenceInside","gfmFootnote","tokenizeDefinitionStart","tokenizeDefinitionContinuation","gfmFootnoteDefinitionEnd","tokenizeGfmFootnoteCall","tokenizePotentialGfmFootnoteCall","resolveToPotentialGfmFootnoteCall","callStart","callData","callEscape","labelAtMarker","whitespaceAfter","gfmStrikethrough","tokenizeStrikethrough","resolveAllStrikethrough","EditMap","addImplementation","vecs","editMap","gfmTableAlign","inDelimiterRow","alignIndex","gfmTable","tokenizeTable","resolveTable","sizeB","bodyRowStart","headRowBefore","headRowStart","headRowBreak","headDelimiterStart","headRowData","headRowEscape","headDelimiterBefore","headDelimiterValueBefore","headDelimiterCellBefore","headDelimiterNok","headDelimiterLeftAlignmentAfter","headDelimiterCellAfter","headDelimiterFiller","headDelimiterRightAlignmentAfter","bodyRowBreak","bodyRowData","bodyRowEscape","inFirstCellAwaitingPipe","rowKind","lastCell","afterHeadAwaitingFirstBodyRow","lastTableEnd","currentTable","currentBody","currentCell","flushTableEnd","flushCell","rowEnd","previousCell","valueName","getPoint","relatedStart","relatedEnd","valueToken","tableBody","exits","related","tasklistCheck","tokenizeTasklistCheck","gfmTaskListItem","spaceThenNonSpace","gfm","remarkGfm","micromarkExtensions","fromMarkdownExtensions","toMarkdownExtensions","alertRegex","alertLegacyRegex","remarkAlert","legacyTitle","alertType","isNext","firstNode","reg","itemChild","getAlertIcon","pathD","pathData","copyTextToClipboard","isCopy","getParentElement","useCopied","_container$current","_container$current2","_container$current3","_excluded","MarkdownPreview$1","prefixCls","disableCopy","onScroll","onMouseOver","pluginsFilter","wrapperElement","warpperElement","mdp","useImperativeHandle","wrapperProps","ReactMarkdown","reservedMeta","retrieveMeta","BananaSlug","maintainCase","originalSlug","headingRank","slugs","GithubSlugger","rehypeSlug","convertElement","tagNameFactory","looksLikeAnElement","contentDefaults","rehypeAutolinkHeadings","headingOroperties","behavior","inject","toProperties","toChildren","grouping","rehypeIgnore","openDelimiter","closeDelimiter","octiconLink","copyElement","rehypeRewriteHandle","defaultRehypePlugins","headings","MarkdownPreview","_props$disableCopy","rehypeRewrite","rehypePrism","addSoftLineBreak","YorkieIntelligenceFeature","currentTheme","featureData","isFeatureLoading","isFeatureComplete","mutateIntelligenceFeature","followUpData","isFollowUpLoading","isFollowUpComplete","mutateIntelligence","setContent","intelligenceFooterPivot","markdownPreviewRef","formContext","handleCopyContent","handleRetry","handleRequestSubmit","handleAddContent","selectionFrom","selectionTo","CloseIntelligenceModal","onCloseIntelligence","handleDiscard","YorkieIntelligenceFooter","anchorRef","selectedTitle","setSelectedTitle","selectedFeature","setSelectedFeature","closeModalOpen","setCloseModalOpen","cardRef","handleSelectFeature","handleCloseModalOpen","YorkieIntelligence","footerOpen","setFooterOpen","setIntelligenceFooterPivot","yorkieIntelligence","handleFooterOpen","ToolBar","showToolBar","formatBarPosition","debouncedShowToolBar","setDebouncedShowToolBar","Editor","setElement","createUploadUrl","uploadFile","handleUploadImage","uploadUrlData","decodeCache","getDecodeCache","exclude","b1","b2","b3","b4","encodeCache","getEncodeCache","keepEscaped","nextCode","Url","protocolPattern","portPattern","simplePathPattern","delims","unwise","autoEscape","nonHostChars","hostEndingChars","hostnameMaxLen","hostnamePartPattern","hostnamePartStart","hostlessProtocol","slashedProtocol","urlParse","slashesDenoteHost","lowerProto","hec","simplePath","hostEnd","atSign","ipv6Hostname","hostparts","newpart","validParts","notHost","qm","regex$1","_class","_hasOwnProperty","arrayReplaceAt","newElements","isValidEntityCode","surrogate1","surrogate2","UNESCAPE_MD_RE","ENTITY_RE","UNESCAPE_ALL_RE","DIGITAL_ENTITY_TEST_RE","replaceEntityPattern","unescapeMd","unescapeAll","HTML_ESCAPE_TEST_RE","HTML_ESCAPE_REPLACE_RE","HTML_REPLACEMENTS","replaceUnsafeChar","escapeHtml","REGEXP_ESCAPE_RE","escapeRE","isWhiteSpace","isPunctChar","ucmicro.P","ucmicro.S","isMdAsciiPunct","normalizeReference","lib","mdurl","ucmicro","disableNested","prevPos","parseLinkDestination","prev_state","default_rules","slf","langName","langAttrs","highlighted","tmpAttrs","tmpToken","Renderer","needLf","nextToken","Ruler","chains","altName","beforeName","ruleName","afterName","ignoreInvalid","nesting","attrData","StateCore","NEWLINES_RE","NULL_RE","isLinkOpen","isLinkClose","linkify","blockTokens","htmlLinkLevel","links","urlText","token_o","token_t","token_c","RARE_RE","SCOPED_ABBR_TEST_RE","SCOPED_ABBR_RE","SCOPED_ABBR","replaceFn","replace_scoped","inlineTokens","inside_autolink","replace_rare","blkIdx","QUOTE_TEST_RE","QUOTE_RE","APOSTROPHE","replaceAt","process_inlines","thisLevel","OUTER","isSingle","isLastPunctChar","isNextPunctChar","isLastWhiteSpace","isNextWhiteSpace","openQuote","closeQuote","smartquotes","text_join","_rules","r_normalize","r_block","r_inline","r_linkify","r_replacements","r_smartquotes","r_text_join","Core","StateBlock","indent_found","keepLastLF","lineIndent","MAX_AUTOCOMPLETED_CELLS","getLine","escapedSplit","isEscaped","firstCh","secondCh","aligns","columnCount","oldParentType","terminatorRules","token_to","tableLines","token_tho","token_htro","token_ho","token_il","tbodyLines","autocompletedCells","terminate","token_tbo","token_tro","token_tdo","fence","mem","haveEndMarker","oldLineMax","oldBMarks","oldBSCount","oldSCount","oldTShift","lastLineEmpty","isOutdented","spaceAfterMarker","adjustTab","oldIndent","hr","cnt","skipBulletListMarker","skipOrderedListMarker","markTightParagraphs","tight","isTerminatingParagraph","isOrdered","markerValue","posAfterMarker","markerCharCode","listTokIdx","listLines","prevEmptyEnd","indentAfterMarker","itemLines","oldTight","oldListIndent","_endLine","getNextLine","isContinuation","lineContent","destRes","destEndPos","destEndLineNo","titleRes","block_names","attr_name","unquoted","single_quoted","double_quoted","attr_value","open_tag","close_tag","HTML_TAG_RE","HTML_OPEN_CLOSE_TAG_RE","HTML_SEQUENCES","html_block","token_i","lheading","r_table","r_code","r_fence","r_blockquote","r_hr","r_list","r_reference","r_html_block","r_heading","r_lheading","r_paragraph","ParserBlock","maxNesting","hasEmptyLines","outTokens","StateInline","token_meta","canSplitWord","left_flanking","right_flanking","isTerminatorChar","SCHEME_RE","pmax","ESCAPED","ch1","escapedStr","ch2","origStr","backtick","openerLength","matchEnd","matchStart","closerLength","strikethrough_tokenize","scanned","postProcess","delimiters","loneMarkers","startDelim","endDelim","strikethrough_postProcess","tokens_meta","r_strikethrough","emphasis_tokenize","isStrong","emphasis_post_process","r_emphasis","parseReference","EMAIL_RE","AUTOLINK_RE","isLetter","html_inline","DIGITAL_RE","NAMED_RE","processDelimiters","openersBottom","headerIdx","lastTokenIdx","closerIdx","minOpenerIdx","openerIdx","newMinOpenerIdx","isOddMatch","lastJump","link_pairs","fragments_join","r_text","r_newline","r_escape","r_backticks","r_link","r_image","r_autolink","r_html_inline","r_entity","_rules2","r_balance_pairs","r_fragments_join","ParserInline","reFactory","text_separators","isOptionsObj","defaultSchemas","tlds_2ch_src_re","tlds_default","resetScanCache","createValidator","createNormalizer","tlds","untpl","tpl","schemaError","compiled","slist","Match","createMatch","LinkifyIt","schemas","tld_pos","at_pos","keepOld","maxInt","tMin","tMax","skew","damp","initialBias","initialN","regexPunycode","regexNonASCII","regexSeparators","baseMinusTMin","stringFromCharCode","mapDomain","labels","encoded","ucs2decode","ucs2encode","codePoints","basicToDigit","digitToBasic","adapt","numPoints","inputLength","oldi","baseMinusT","basicLength","handledCPCount","handledCPCountPlusOne","qMinusT","toUnicode","toASCII","punycode","cfg_default","cfg_zero","cfg_commonmark","BAD_PROTO_RE","GOOD_DATA_RE","validateLink","RECODE_HOSTNAME_FOR","normalizeLink","mdurl.parse","mdurl.encode","mdurl.format","normalizeLinkText","mdurl.decode","MarkdownIt","presetName","utils.isString","ParserCore","utils.assign","presets","missed","defaultSubsetRegex","surrogatePairsRegex","controlCharactersRegex","regexEscapeRegex","subsetToRegexCache","charactersToExpressionCached","surrogate","subset","charactersToExpression","hexadecimalRegex","toHexadecimal","decimalRegex","toDecimal","characterEntitiesHtml4","dangerous","notAlphanumericRegex","toNamed","formatSmart","named","stringifyEntities","htmlCommentRegex","bogusCommentEntitySubset","commentEntitySubset","siblingAfter","siblingBefore","emptyChildren","includeWhitespace","headOrColgroupOrCaption","dt","optgroup","rubyElement","tbody","tfoot","thead","colgroup","constants","serializeAttributes","serializeAttribute","textEntitySubset","invalid","emptyCharacterReferences","toHtml","options_","alternative","__webpack_exports__","katex_webpack","ParseError","underlined","src_ParseError","setting","defaultIfUndefined","uppercase","hyphenate","ESCAPE_LOOKUP","ESCAPE_REGEX","utils_escape","getBaseElem","isCharacterBox","baseElem","SETTINGS_SCHEMA","defs","getDefaultValue","defaultType","Settings","errorCode","errorMsg","Style","cramped","fracNum","fracDen","cramp","Style_text","SS","SSc","src_Style","scriptData","scriptFromCodepoint","codepoint","allBlocks","supportedCodepoint","hLinePad","sqrtMain","extraVinculum","sqrtSize1","sqrtSize2","sqrtSize3","sqrtSize4","phasePath","sqrtTall","viewBoxHeight","vertSegment","sqrtPath","innerPath","tallDelim","midHeight","DocumentFragment","fontMetricsData","sigmasAndXis","extraCharacterMap","setFontMetrics","fontName","metrics","getCharacterMetrics","font","fontMetricsBySizeIndex","getGlobalMetrics","sizeIndex","sizeStyleMap","sizeMultipliers","sizeAtStyle","Options","wantSize","fontShape","oldOptions","src_Options","ptPerUnit","relativeUnit","validUnit","calculateSize","sizeValue","unitOptions","makeEm","createClass","initNode","toMarkup","Anchor","Img","iCombinations","SymbolNode","italic","needsSpan","SvgNode","PathNode","pathName","alternate","LineNode","assertSymbolDomNode","assertSpan","ATOMS","NON_ATOMS","symbols","src_symbols","defineSymbol","acceptUnicodeChar","math","symbols_text","ams","accent","symbols_close","mathord","symbols_open","punct","rel","textord","ligatures","mathTextSymbols","textSymbols","letters","wideChar","extraLatin","wideLatinLetterData","wideNumeralData","wideCharacterFont","lookupSymbol","makeSymbol","symbolNode","mathsym","boldsymbol","makeOrd","isFont","fontOrFamily","wideFontName","wideFontClass","fontClasses","fontData","fontMap","retrieveTextFontName","makeFragment","canCombine","tryCombineChars","sizeElementFromChildren","maxFontSize","makeSpan","makeSvgSpan","makeLineSpan","makeAnchor","wrapFragment","getVListChildrenAndDepth","oldChildren","currPos","makeVList","pstrutSize","pstrut","realChildren","maxPos","childWrap","vlist","emptySpan","depthStrut","topStrut","vtable","makeGlue","measurement","baseFontName","fontStylesName","svgData","buildCommon","svgNode","thinspace","mediumspace","thickspace","spacings","tightSpacings","_functions","_htmlGroupBuilders","_mathmlGroupBuilders","defineFunction","htmlBuilder","mathmlBuilder","defineFunctionBuilders","normalizeArgument","ordargument","buildHTML_makeSpan","binLeftCanceller","binRightCanceller","styleMap","DomEnum","buildExpression","isRealGroup","surrounding","buildGroup","glueOptions","dummyPrev","dummyNext","traverseNonSpaceNodes","getTypeOfDomTree","partialGroup","checkPartialGroup","nonspace","getOutermostNode","makeNullDelimiter","moreClasses","baseOptions","groupNode","buildHTMLUnbreakable","strut","buildHTML","eqnNum","nobreak","tagChild","htmlNode","newDocumentFragment","MathNode","SpaceNode","mathMLTree","makeText","makeRow","getVariant","buildMathML_buildExpression","isOrdgroup","buildMathML_buildGroup","buildExpressionRow","buildMathML","texExpression","isDisplayMode","forMathmlOnly","annotation","semantics","wrapperClass","optionsFromSettings","displayWrap","katexNode","mathMLNode","buildHTMLTree","stretchyCodePoint","mathMLnode","katexImagesData","groupLength","stretchy","topPad","bottomPad","img","totalHeight","buildSvgSpan_","viewBoxWidth","numChars","imgIndex","numSvgChildren","widthClasses","align1","assertNodeType","assertSymbolNodeType","typedNode","checkSymbolNodeType","grp","supSubGroup","mustShift","baseChar","baseGroup","accentBelow","clearance","accentBody","accentFull","accentWrap","accentNode","NON_STRETCHY_ACCENT_REGEX","isStretchy","isShifty","innerGroup","kern","paddedNode","optArgs","newOptions","upperGroup","lowerGroup","arrowShift","upperShift","lowerShift","arrowNode","upperNode","lowerNode","mclass_makeSpan","mclass_htmlBuilder","mclass_mathmlBuilder","binrelClass","atom","baseArg","shiftedArg","mclass","baseOp","supsub","cdArrowFunctionName","newCell","isStartOfArrow","isLabelEnd","endChar","cdArrow","arrowChar","leftLabel","bareArrow","sizedArrow","rightLabel","arrowGroup","parseCD","parsedRows","rowNodes","labelNum","inLabel","wrappedArrow","color_htmlBuilder","color_mathmlBuilder","breakOnTokenText","globalMap","checkControlSequence","getRHS","letCommand","macro","numArgs","getMetrics","styleWrap","toStyle","delimSizeMultiplier","centerSpan","makeSmallDelim","mathrmSize","makeLargeDelim","makeGlyphSpan","sizeClass","makeInner","lapInEms","lap","verts","doubleVerts","makeStackedDelim","heightTotal","svgLabel","topMetrics","topHeightTotal","repeatMetrics","repeatHeightTotal","bottomMetrics","bottomHeightTotal","middleHeightTotal","middleFactor","middleMetrics","repeatCount","realHeightTotal","axisHeight","pathStr","vbPad","emPad","sqrtSvg","sqrtName","pathNode","makeSqrtImage","traverseSequence","stackLargeDelimiterSequence","sizeMultiplier","spanHeight","texHeight","advanceWidth","sizeToMaxHeight","stackLargeDelimiters","stackAlwaysDelimiters","stackNeverDelimiters","makeSizedDelim","stackNeverDelimiterSequence","stackAlwaysDelimiterSequence","delimTypeToFont","heightDepth","makeCustomSizedDelim","delimType","delimiterFactor","delimiterExtend","maxDistFromAxis","delimiterSizes","checkDelimiter","symDelim","assertParsed","innerDepth","hadMiddle","leftDelim","isMiddle","rightDelim","colorOptions","middleDelim","middleNode","enclose_htmlBuilder","imgShift","isSingleChar","lineWeight","angleHeight","ruleThickness","enclose_mathmlBuilder","fboxsep","thk","_environments","defineEnvironment","_macros","defineMacro","SourceLocation","lexer","getHLines","hlineInfo","nxt","validateAmsEnvironmentContext","getAutoTag","parseArray","hskipBeforeAndAfter","addJot","arraystretch","colSeparationType","autoTag","singleRow","emptySingleRow","maxNumCols","leqno","stretch","rowGaps","hLinesBeforeRow","beginRow","dCellStyle","envName","array_htmlBuilder","nr","hlines","pt","arraycolsep","baselineskip","jot","arrayskip","arstrutHeight","arstrutDepth","setHLinePos","hlinesInGap","inrow","outrow","colDescriptions","colSep","colDescrNum","tagSpans","tagSpan","colDescr","firstSeparator","lineType","sepwidth","vListElems","hline","lineShift","eqnNumCol","alignMap","array_mathmlBuilder","tbl","glue","menclose","columnLines","prevTypeWasAlign","iStart","iEnd","rowLines","alignedHandler","separationType","isSplit","numMaths","numCols","emptyGroup","arg0","isAligned","styling","curMaths","pregap","nde","colAlign","src_environments","nameGroup","endNameToken","font_htmlBuilder","font_mathmlBuilder","fontAliases","adjustStyle","originalStyle","genfrac_htmlBuilder","nstyle","dstyle","numerm","hStrut","dStrut","denomm","ruleWidth","ruleSpacing","numShift","denomShift","frac","midShift","candidateClearance","delimSize","genfrac_mathmlBuilder","isDisplay","withDelims","leftOp","rightOp","numer","denom","hasBarLine","stylArray","delimFromValue","delimString","barNode","barSize","styl","textOrd","horizBrace_htmlBuilder","braceBody","vSpan","trustContext","keyVal","sizeData","totalheight","mathFunction","muUnit","dimension","outerMode","chooseMathStyle","assembleSupSub","supGroup","subGroup","slant","baseShift","subIsSingleCharacter","finalGroup","noSuccessor","op_htmlBuilder","hasLimits","large","stash","oval","op_mathmlBuilder","singleCharBigOps","fName","singleCharIntegrals","operatorname_htmlBuilder","childText","isAllString","defaultRuleThickness","phantom","sizingGroup","sizeFuncs","smashHeight","smashDepth","tbArg","smashedNode","theta","phi","lineClearance","minDelimiterHeight","delimDepth","rootm","toShift","rootVList","rootVListWrap","styling_styleMap","newStyle","htmlBuilderDelegate","builderDelegate","valueBase","valueSup","valueSub","supm","subm","supShift","subShift","minSupShift","marginRight","marginLeft","isOiint","psi","vlistElem","isBrace","isOver","isSup","defaultVariant","cssSpace","regularSpace","ord","padNode","textFontFamilies","textFontWeights","textFontShapes","optionsWithFont","makeVerb","src_functions","spaceRegexString","controlWordRegexString","controlSymbolRegexString","controlWordWhitespaceRegexString","controlSpaceRegexString","combiningDiacriticalMarkString","combiningDiacriticalMarksEndRegex","tokenRegexString","Lexer","nlIndex","Namespace","globalMacros","undefs","undef","src_macros","digitToNumber","newcommand","existsOK","nonexistsOK","argText","dotsByToken","thedots","spaceAfterDots","latexRaiseA","braketHelper","middleDouble","oldMiddle","oldMiddleDouble","midMacro","doubled","implicitCommands","MacroExpander","isDelimited","expandableOnly","topToken","expansion","oldStackLength","catcode","stripped","bodyLexer","unicodeSubRegEx","uSubsAndSups","unicodeAccents","unicodeSymbols","oldToken","breakOnInfix","lex","overIndex","numerNode","denomNode","numerBody","denomBody","symbolToken","textordArray","superscript","subscript","prime","primes","isSub","subsupTokens","funcData","totalArgs","argType","modeName","argToken","lastToken","isBlank","groupEnd","nucleus","family","src_parseTree","toParse","baseNode","renderToDomTree","renderToString","generateParseTree","renderError","katex","katex_1","isValidInlineDelim","isWordCharacterOrNumber","isValidBlockDelim","nextCharPlus1","inlineMath","blockMath","blockBareMath","startMax","previousStart","previousEnd","previousLine","beginEndStack","inlineMathBlock","inlineBareBlock","foundLine","handleMathInHtml","mathType","mathMarkup","mathRegex","newTokens","html_before_math","html_after_math","unsafe","default_1","enableBareBlocks","enableMathBlockInHtml","enableMathInlineInHtml","enableFencedBlocks","math_block_within_html_regex","math_inline_within_html_regex","katexInline","displayMode","inlineRenderer","katexBlockRenderer","blockRenderer","mathLanguageId","originalFenceRenderer","decode_codepoint","decodeCodePoint","Tokenizer_1","entityMap","legacyMap","xmlMap","TEXT","BEFORE_TAG_NAME","IN_TAG_NAME","IN_SELF_CLOSING_TAG","BEFORE_CLOSING_TAG_NAME","IN_CLOSING_TAG_NAME","AFTER_CLOSING_TAG_NAME","BEFORE_ATTRIBUTE_NAME","IN_ATTRIBUTE_NAME","AFTER_ATTRIBUTE_NAME","BEFORE_ATTRIBUTE_VALUE","IN_ATTRIBUTE_VALUE_DQ","IN_ATTRIBUTE_VALUE_SQ","IN_ATTRIBUTE_VALUE_NQ","BEFORE_DECLARATION","IN_DECLARATION","IN_PROCESSING_INSTRUCTION","BEFORE_COMMENT","IN_COMMENT","AFTER_COMMENT_1","AFTER_COMMENT_2","BEFORE_CDATA_1","BEFORE_CDATA_2","BEFORE_CDATA_3","BEFORE_CDATA_4","BEFORE_CDATA_5","BEFORE_CDATA_6","IN_CDATA","AFTER_CDATA_1","AFTER_CDATA_2","BEFORE_SPECIAL","BEFORE_SPECIAL_END","BEFORE_SCRIPT_1","BEFORE_SCRIPT_2","BEFORE_SCRIPT_3","BEFORE_SCRIPT_4","BEFORE_SCRIPT_5","AFTER_SCRIPT_1","AFTER_SCRIPT_2","AFTER_SCRIPT_3","AFTER_SCRIPT_4","AFTER_SCRIPT_5","BEFORE_STYLE_1","BEFORE_STYLE_2","BEFORE_STYLE_3","BEFORE_STYLE_4","AFTER_STYLE_1","AFTER_STYLE_2","AFTER_STYLE_3","AFTER_STYLE_4","BEFORE_ENTITY","BEFORE_NUMERIC_ENTITY","IN_NAMED_ENTITY","IN_NUMERIC_ENTITY","IN_HEX_ENTITY","SPECIAL_NONE","SPECIAL_SCRIPT","SPECIAL_STYLE","ifElseState","SUCCESS","FAILURE","consumeSpecialNameChar","NEXT_STATE","cbs","sectionStart","inherits_browserModule","superCtor","TempCtor","ReflectApply","ReflectOwnKeys","ProcessEmitWarning","NumberIsNaN","EventEmitter","eventsModule","defaultMaxListeners","checkListener","_getMaxListeners","doError","arrayClone","_addListener","prepend","onceWrapper","_onceWrap","originalListener","spliceOne","_listeners","evlistener","unwrapListeners","listenerCount","errorListener","eventTargetAgnosticAddListener","addErrorHandlerIfEventEmitter","wrapListener","formTags","openImpliesClose","voidElements","foreignContextElements","htmlIntegrationElements","re_nameEnd","initialOffset","Parser_1","renderer","_Parser","incrementalDom","autoClosingStack","autoClosing","elementOpenEnd","elementVoid","elementOpen","elementOpenStart","elementClose","sanitizeName","iDOMParser","sanitizedName","wrapIncrementalDOM","markdownItIncrementalDom","_renderer","_objectSpread","ownKeys","_defineProperty","incrementalDOM","markdownItSanitizer","patternLinkOpen","regexpLinkOpen","patternImage","regexpImage","regexpImageProtocols","regexpLinkProtocols","removeUnknown","removeUnbalanced","imageClass","runBalancer","allowedTags","openTagCount","removeTag","getUrl","replaceUnknownTags","tagnameIndex","sanitizeInlineAndBlock","replaceUnbalancedTag","tagname","openingRegexp","closingRegexp","replaceAllUnbalancedTags","incrementalDomCjs","Blank","createMap","truncateArray","getNamespace","applyAttr","attrNS","applyProp","setStyleValue","applyStyle","elStyle","applyAttributeTyped","updateAttribute","mutator","inAttributes","setInAttributes","notifications","isDocumentRoot","isText","getAncestry","ancestry","getRootNode","getActiveElement","getFocusedPath","activeElement","moveBefore","insertReferenceNode","NodeData","nameOrCtor","initData","importSingleNode","isDataInitialized","fallbackKey","nodeName","recordAttributes","importNode","clearCache","attrsArr","getNamespaceForTag","createText","currentParent","focusPath","argsBuilder","getArgsBuilder","patchFactory","prevContext","prevDoc","prevFocusPath","prevArgsBuilder","prevCurrentNode","prevCurrentParent","previousInAttributes","retVal","patchInner","enterNode","exitNode","patchOuter","expectedNextNode","expectedPrevNode","clearUnvisitedDOM","getNextNode","matchNode","getMatchingNode","createNode","alignWithDOM","existingNode","maybeParentNode","endNode","nextNode","currentPointer","ATTRIBUTES_OFFSET","prevAttrsMap","applyStatics","statics","staticsIndex","attrsLength","hadNoAttrs","attrsStart","text$1","formatted","applyAttr_1","applyProp_1","attributes_1","close_1","currentElement_1","currentPointer_1","open_1","patchInner_1","patchOuter_1","skip_1","skipNode","getKey_1","clearCache_1","importNode_1","isDataInitialized_1","notifications_1","symbols_1","attr_1","elementClose_1","elementOpen_1","elementOpenEnd_1","elementOpenStart_1","elementVoid_1","text_1","key_1","markdownItIncrementalDOM","IncrementalDOM","markdownItKatex","Preview","containerRef","updatePreviewContent","editorText","IncrementalDOM.patch","DocumentView","windowWidth","Resizable","separatorProps","colorName","isArrayish","swizzle","simpleSwizzleModule","colorNames","reverseNames","colorStringModule","rgba","per","hexAlpha","i2","hsl","hwb","hexDouble","hsla","hwba","cssKeywords","reverseKeywords","conversions","channels","rdif","gdif","bdif","diffc","comparativeDistance","currentClosestDistance","currentClosestKeyword","xyz","t2","t3","t1","smin","lmin","sv","hsv","vmin","cmyk","lab","y2","x2","z2","lch","saturation","ansi","mult","colorString","integer","chroma","grayscale","hue","hcg","apple","gray","buildGraph","graph","models","deriveBFS","fromModel","adjacents","adjacent","wrapConversion","toModel","conversion","wrapRaw","wrappedFn","wrapRounded","colorConvert","skippedModels","hashedModelKeys","limiters","Color","newArray","zeroArray","hashedKeys","places","roundToPlace","getset","maxfn","rgbArray","alphaHex","lum","chan","color2","lum1","lum2","contrastRatio","degrees","mixinColor","color1","w1","w2","assertArray","roundTo","channel","randomColor","seed","colorDictionary","loadColorBounds","colorRanges","stringToInteger","totalColors","pickHue","pickSaturation","pickBrightness","setFormat","hueRange","getRealHueRange","randomWithin","getHueRange","saturationRange","getSaturationRange","sMin","sMax","bMin","getMinimumBrightness","bMax","HSVtoHSL","hslColor","HSVtoRGB","HSVtoHex","lowerBounds","getColorInfo","s1","v1","s2","colorInput","HexToHSB","golden_ratio","rnd","componentToHex","defineColor","h_i","cMax","colorHue","YORKIE_API_ADDR","YORKIE_API_KEY","yorkie.setLogLevel","useYorkieDocument","yorkieDocumentId","presenceName","getYorkieToken","shareToken","createYorkieClient","yorkieToken","syncLoopDuration","newClient","yorkie.Client","createYorkieDocument","newDocument","yorkie.Document","cleanUpYorkieDocument","newDoc","DocumentIndex","isWorkspaceLoading","isDocumentLoading","generateGetDocumentBySharingTokenQueryKey","useGetDocumentBySharingTokenQuery","DocumentShareIndex","sharedDocument","JoinIndex","joinWorkspace","generateGetWorkspaceUserListQueryKey","useGetWorkspaceUserListQuery","MemberModal","createWorkspaceInvitationToken","invitationUrl","setInvitationUrl","handleCreateInviteUrl","invitationToken","handleCopyInviteUrl","MemberIndex","workspaceUserPageList","memberModalOpen","setMemberModalOpen","userList","handleMemberModalOpen","codePairRoutes","injectProtectedRoute","injectProtectedComp","isAxios404Error","isAxios500Error","Sentry.init","Sentry.BrowserTracing","Sentry.reactRouterV6Instrumentation","SettingLoader","App","handleError","getStorage_1","getStorage","noopStorage","hasStorage","storageType","storage","testKey","createWebStorage_1","createWebStorage","_getStorage","_createWebStorage","KEY_PREFIX","FLUSH","REHYDRATE","PAUSE","PERSIST","PURGE","REGISTER","DEFAULT_VERSION","enumerableOnly","autoMergeLevel1","inboundState","originalState","reducedState","createPersistoid","storageKey","defaultSerialize","writeFailHandler","stagedState","keysToProcess","timeIterator","writePromise","passWhitelistBlacklist","processNextKey","endState","subState","writeStagedState","onWriteFail","getStoredState","defaultDeserialize","rawState","serial","purgeStoredState","warnIfRemoveError","_objectWithoutProperties","sourceSymbolKeys","DEFAULT_TIMEOUT","persistReducer","baseReducer","stateReconciler","defaultGetStoredState","_persistoid","_purge","_paused","conditionalUpdate","_persist","restState","_sealed","_rehydrate","restoredState","migrate","migratedState","migrateErr","reconciledRest","_newState","persistorReducer","persistStore","_pStore","rehydrate","rehydrateAction","persistor","purgeResult","flushResult","persistConfig","persistedReducer","_getPrototypeOf","PersistGate","_PureComponent","_getPrototypeOf2","_persistor$getState","bootstrapped","PureComponent","gtag","smallWords","toTitleCase","mightBeEmail","redacted","redactEmail","titleCase","redactingEmail","_gtag","_format","_excluded2","_excluded3","_x","_toPropertyKey","_toPrimitive","GA4","GA_MEASUREMENT_ID","gtagUrl","gaOptions","mapFields","gtagOptions","initConfigs","_options$testMode","testMode","mergedGtagOptions","queues","fieldsObject","eventCategory","eventAction","eventLabel","eventValue","_args$","timingCategory","timingVar","timingValue","timingLabel","_this$_toGtagOptions","_len3","_key3","_args$2","_len4","_key4","hitType","_len5","_key5","_len6","_key6","_len7","_key7","readyCallback","clientId","optionsOrName","nonInteraction","fieldObject","_ga","nodeInterop","cacheBabelInterop","cacheNodeInterop","hasPropertyDescriptor","ReactGAImplementation","trackingCode","ReactGA"],"mappings":";;;;;;;;GASa,IAAIA,GAAE,OAAO,IAAI,eAAe,EAAEC,IAAE,OAAO,IAAI,cAAc,EAAEC,IAAE,OAAO,IAAI,gBAAgB,EAAEC,IAAE,OAAO,IAAI,mBAAmB,EAAEC,IAAE,OAAO,IAAI,gBAAgB,EAAEC,IAAE,OAAO,IAAI,gBAAgB,EAAEC,IAAE,OAAO,IAAI,eAAe,EAAEC,IAAE,OAAO,IAAI,mBAAmB,EAAEC,IAAE,OAAO,IAAI,gBAAgB,EAAEC,IAAE,OAAO,IAAI,YAAY,EAAEC,IAAE,OAAO,IAAI,YAAY,EAAEC,GAAE,OAAO,SAAS,SAASC,IAAEC,EAAE,CAAC,OAAUA,IAAP,MAAqB,OAAOA,GAAlB,SAA2B,MAAKA,EAAEF,IAAGE,EAAEF,EAAC,GAAGE,EAAE,YAAY,EAAqB,OAAOA,GAApB,WAAsBA,EAAE,KAAI,CAC1e,IAAIC,IAAE,CAAC,UAAU,UAAU,CAAC,MAAM,EAAE,EAAE,mBAAmB,UAAU,CAAA,EAAG,oBAAoB,UAAU,CAAA,EAAG,gB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ciD,GAAQkC,IAAOC,GAAUK,IAAUC,IAAQC,IAAWC,IAAWC,GAAS,ECzDzF,MAAMC,GAAkB,CAEtB,OAAQ,CACN,SAAU,UACV,UAAW3C,EACZ,EACD,UAAW,CACT,SAAU,UACV,UAAWA,EACZ,EACD,YAAa,CACX,SAAU,UACV,UAAWA,EACZ,EACD,aAAc,CACZ,SAAU,UACV,UAAWA,EACZ,EACD,WAAY,CACV,SAAU,UACV,UAAWA,EACZ,EACD,YAAa,CACX,SAAU,SACX,EACD,eAAgB,CACd,SAAU,SACX,EACD,iBAAkB,CAChB,SAAU,SACX,EACD,kBAAmB,CACjB,SAAU,SACX,EACD,gBAAiB,CACf,SAAU,SACX,EACD,QAAS,CACP,SAAU,UACV,UAAWA,EACZ,EACD,aAAc,CACZ,SAAU,SACX,EACD,aAAc,CACZ,SAAU,qBACV,MAAOc,EACR,EAED,MAAO,CACL,SAAU,UACV,UAAWa,EACZ,EACD,QAAS,CACP,SAAU,UACV,YAAa,kBACb,UAAWA,EACZ,EACD,gBAAiB,CACf,SAAU,UACV,UAAWA,EACZ,EAED,EAAG,CACD,MAAOnC,EACR,EACD,GAAI,CACF,MAAOA,EACR,EACD,GAAI,CACF,MAAOA,EACR,EACD,GAAI,CACF,MAAOA,EACR,EACD,GAAI,CACF,MAAOA,EACR,EACD,GAAI,CACF,MAAOA,EACR,EACD,GAAI,CACF,MAAOA,EACR,EACD,QAAS,CACP,MAAOA,EACR,EACD,WAAY,CACV,MAAOA,EACR,EACD,aAAc,CACZ,MAAOA,EACR,EACD,cAAe,CACb,MAAOA,EACR,EACD,YAAa,CACX,MAAOA,EACR,EACD,SAAU,CACR,MAAOA,EACR,EACD,SAAU,CACR,MAAOA,EACR,EACD,cAAe,CACb,MAAOA,EACR,EACD,mBAAoB,CAClB,MAAOA,EACR,EACD,iBAAkB,CAChB,MAAOA,EACR,EACD,aAAc,CACZ,MAAOA,EACR,EACD,kBAAmB,CACjB,MAAOA,EACR,EACD,gBAAiB,CACf,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AAK,YACRA,EAAK,UAAA,EAAY,QAAA,IAAcA,EAEjC,EACT,CACA,aAAaA,EAAM,CACb,OAAAA,GAAQA,EAAK,YACRA,EAAK,UAAA,EAAY,SAAA,IAAeA,EAElC,EACT,CACF,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAoBA,IAAIi3V,GAAO,KACP,GAAA,CACFA,GAAO,IAAI,YAAY,SAAS,IAAI,YAAY,OAAO,IAAI,WAAW,CACpE,EACA,GACA,IACA,IACA,EACA,EACA,EACA,EACA,EACA,GACA,EACA,GACA,EACA,EACA,IACA,GACA,EACA,IACA,IACA,IACA,IACA,EACA,IACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,IACA,EACA,GACA,EACA,GACA,EACA,GACA,EACA,EACA,IACA,IACA,IACA,EACA,EACA,EACA,IACA,IACA,IACA,GACA,IACA,EACA,EACA,EACA,IACA,IACA,IACA,GACA,IACA,EACA,EACA,EACA,IACA,IACA,IACA,GACA,IACA,EACA,EACA,EACA,IACA,IACA,IACA,GACA,IACA,EACA,EACA,EACA,IACA,IACA,IACA,GACA,IACA,IACA,IACA,IACA,EACA,EACA,GACA,IACA,EACA,EACA,EACA,EACA,GACA,EACA,GACA,GACA,EACA,EACA,IACA,GACA,EACA,IACA,GACA,EACA,IACA,GACA,GACA,IACA,IACA,GACA,EACA,IACA,GACA,EACA,IACA,GACA,GACA,IACA,IACA,IACA,GACA,EACA,GACA,GACA,IACA,IACA,GACA,EACA,GACA,EACA,IACA,GACA,GACA,EACA,EACA,IACA,GACA,EACA,IACA,GACA,EACA,IACA,GACA,GACA,IACA,IACA,GACA,EACA,IACA,GACA,EACA,IACA,GACA,GACA,IACA,IACA,IACA,GACA,EACA,GACA,GACA,IACA,IACA,GACA,EACA,GACA,EACA,IACA,GACA,GACA,EACA,EACA,IACA,GACA,EACA,IACA,GACA,EACA,IACA,GACA,GACA,IACA,IACA,GACA,EACA,IACA,GACA,EACA,IACA,GACA,GACA,IACA,IACA,IACA,GACA,EACA,GACA,GACA,IACA,IACA,GACA,EACA,GACA,EACA,IACA,GACA,GACA,EACA,EACA,IACA,GACA,EACA,IACA,GACA,EACA,IACA,GACA,GACA,IACA,IACA,GACA,EACA,IACA,GACA,EACA,IACA,GACA,GACA,IACA,IACA,IACA,GACA,EACA,GACA,GACA,IACA,IACA,GACA,EACA,GACA,EACA,IACA,GACA,GACA,EACA,EACA,IACA,GACA,EACA,IACA,GACA,EACA,IACA,GACA,GACA,IACA,IACA,GACA,EACA,IACA,GACA,EACA,IACA,GACA,GACA,IACA,IACA,IACA,GACA,EACA,GACA,GACA,IACA,IACA,GACA,EACA,GACA,EACA,IACA,EAAA,CACD,CAAC,EAAG,EAAE,EAAE,aACC,CACZ,CACS,SAAAC,GAAKhmE,EAAKC,EAAMgmE,EAAU,CACjC,KAAK,IAAMjmE,EAAM,EACjB,KAAK,KAAOC,EAAO,EACd,KAAA,SAAW,CAAC,CAACgmE,CACpB,CACAD,GAAK,UAAU,WACf,OAAO,eAAeA,GAAK,UAAW,aAAc,CAAE,MAAO,GAAM,EACnE,SAASE,GAAOtvV,EAAK,CACX,OAAAA,GAAOA,EAAI,cAAmB,EACxC,CACA,SAASuvV,GAAM94V,EAAO,CACpB,IAAIzqB,EAAI,KAAK,MAAMyqB,EAAQ,CAACA,CAAK,EAC1B,OAAAA,EAAQ,GAAKzqB,EAAIA,CAC1B,CACAojX,GAAK,OAASE,GACd,IAAIE,GAAY,CAAA,EACZC,GAAa,CAAA,EACR,SAAAC,GAAQj5V,EAAO44V,EAAU,CAChC,IAAIrvV,EAAK2vV,EAAWj7V,EACpB,OAAI26V,GACS54V,KAAA,GACP/B,EAAQ,GAAK+B,GAASA,EAAQ,OAChCk5V,EAAYF,GAAWh5V,CAAK,EACxBk5V,GACKA,GAEL3vV,EAAA4vV,GAASn5V,EAAO,E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K,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,KACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,KACL,EAAK,KACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,KACL,EAAK,KACL,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,KACL,EAAK,KACL,EAAK,IACL,EAAK,IACL,EAAK,KACL,EAAK,KACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,GAAM,I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C,SAAUhF,EAAO,CACjB,IAAIz4Y,EAAU,oCACVi2B,EAAW,CACb,CACE,QAAS,sBACT,MAAO,SACR,EACD,CACE,QAAS,iCACT,OAAQ,GACR,WAAY,EACb,EACD,CACE,QAAS,+CACT,OAAQ,GACR,WAAY,EACb,EACD,gBACA,+BACD,EACG6iK,EACF,6IACEmzD,EACF,wFACEC,EAAc,gBAClBusJ,EAAM,UAAU,IAAM,CACpB,UAAW,CACT,QAAS,6BACT,MAAO,WACR,EACD,QAASz4Y,EACT,SAAU,sBACV,QAAS,CACP,QACE,oEACF,WAAY,GACZ,OAAQ,CACN,YAAa,IACd,CACF,EACD,wBAAyB,CACvB,QAAS,4DACT,WAAY,GACZ,MAAO,YACR,EACD,sBAAuB,CACrB,QAAS,qCACT,WAAY,GACZ,MAAO,UACR,EACD,QAAS,CACP,CACE,QACE,8EACF,MAAO,eACP,OAAQ,GACR,WAAY,EACb,EACD,CACE,QACE,sIACF,MAAO,YACP,OAAQ,GACR,WAAY,EACb,EACD,CACE,QACE,mJACF,MAAO,cACP,OAAQ,GACR,WAAY,EACb,EACD,CACE,QACE,2EACF,MAAO,mBACP,OAAQ,EACT,EACD,CACE,QAAS,qDACT,MAAO,mBACP,OAAQ,GACR,WAAY,EACb,EACD,CACE,QAAS,qCACT,MAAO,iBACP,OAAQ,EACT,EACD,CAEE,QAAS,sBACT,WAAY,EACb,EAED,aACA,CAKE,QACE,6iBACF,WAAY,EACb,CACF,EACD,gBAAiB,CACf,QAAS,qCACT,WAAY,EACb,EACD,aAAc,CACZ,CACE,QACE,qGACF,OAAQ,GACR,WAAY,EACb,EACD,CACE,QAAS,8BACT,OAAQ,GACR,WAAY,EACb,EACD,CACE,QAAS,gCACT,OAAQ,EACT,EACD,CACE,QAAS,gCACT,MAAO,6BACP,OAAQ,GACR,WAAY,GACZ,OAAQ,CACN,YAAa,IACd,CACF,EACD,CACE,QAAS,kCACT,MAAO,6BACP,OAAQ,GACR,OAAQ,CACN,YAAa,IACd,CAC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,OACA,MACA,QACA,SACA,QACA,SACA,OACA,SACA,SACA,QACA,QACA,QACA,SACA,MACA,QACA,SACA,OACA,SACA,SACA,QACA,OACA,OACA,SACA,MACA,SACA,SACA,QACA,SACA,MACA,OACA,SACA,SACA,SACA,KACA,SACA,QACA,QACA,SACA,SACA,OACA,QACA,KACA,OACA,QACA,SACA,OACA,MACA,SACA,SACA,QACA,SACA,OACA,OACA,SACA,SACA,OACA,OACA,SACA,QACA,OACA,QACA,MACA,OACA,MACA,OACA,OACA,OACA,QACA,QACA,QACA,SACA,QACA,SACA,MACA,OACA,SACA,MACA,MACF,EC3GaC,IAA4B,CACvC,EAAG,IACH,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,GACP,EC3BO,SAAS5uF,IAAU50T,EAAW,CACnC,MAAM7D,EACJ,OAAO6D,GAAc,SAAWA,EAAU,WAAW,CAAC,EAAIA,EAE5D,OAAO7D,GAAQ,IAAMA,GAAQ,EAC/B,CCLO,SAAS64T,IAAch1T,EAAW,CACvC,MAAM7D,EACJ,OAAO6D,GAAc,SAAWA,EAAU,WAAW,CAAC,EAAIA,EAE5D,OACG7D,GAAQ,IAAcA,GAAQ,KAC9BA,GAAQ,IAAcA,GAAQ,IAC9BA,GAAQ,IAAcA,GAAQ,EAEnC,CCTO,SAASsnZ,IAAezjZ,EAAW,CACxC,MAAM7D,EACJ,OAAO6D,GAAc,SAAWA,EAAU,WAAW,CAAC,EAAIA,EAE5D,OACG7D,GAAQ,IAAMA,GAAQ,KACtBA,GAAQ,IAAMA,GAAQ,EAE3B,CCLO,SAASunZ,IA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S,6DACT,WAAY,GACZ,OAAQ,GACR,MAAO,UACR,EACD,wBAAyB,CACvB,QAAS,uBACT,WAAY,GACZ,MAAO,UACR,EAED,gCAAiC,CAC/B,CAEE,QAAS,wBACT,WAAY,GACZ,MAAO,UACR,EACD,CAEE,QAAS,iBACT,WAAY,GACZ,MAAO,UACR,CACF,EAED,sBAAuB,CACrB,CAEE,QAAS,iBACT,WAAY,GACZ,MAAO,UACR,EACD,CAEE,QAAS,iBACT,WAAY,GACZ,MAAO,UACR,CACF,EACD,cAAe,CACb,QAAS,0BACT,WAAY,EACb,EAgBD,OAAQ,CACN,QAAS,qBACT,OAAQ,GACR,OAAQA,CACT,CACF,EACGn4a,EAAS,SAAU8xB,EAAK,CAC1B,OAAQA,EAAM,IAAI,QAAQ,4BAA6B,MAAM,CAC9D,EACGsmZ,EAAmB,SAAU/0S,EAAK,CACpC,OAAO,IAAI,OAAO,aAAeA,EAAI,IAAIrjI,CAAM,EAAE,KAAK,GAAG,EAAI,YAAY,CAC1E,EACGq4a,EAAW,CACb,iBAAkB,CAChB,KACA,QACA,QACA,OACA,UACA,MACA,WACA,kBACA,MACA,OACA,YACA,aACA,OACA,WACA,OACA,OACA,QACA,WACA,OACA,QACA,OACA,MACA,IACA,IACA,QACA,QACA,QACA,OACA,kBACA,MACA,SACA,MACA,QACA,OACA,QACA,SACA,OACA,UACA,UACA,OACA,UACA,MACA,gBACA,WACA,QACA,QACA,QACA,OACA,OACA,OACA,OACA,MACA,OACA,OACA,QACA,UACA,YACA,OACA,QACA,OACA,SACA,gBACA,SACA,QACA,YACA,WACA,oBACA,kBACA,OACA,YACA,MACA,QACA,MACA,QACA,MACA,iBACA,SACD,EACD,uBAAwB,CAEtB,UACA,YACA,YACA,KACA,SACA,MACA,IACA,WACA,KACA,SACA,QACA,SACA,YACA,aACA,WACA,SACA,UACA,gBACA,oBACA,YACA,UACA,mBACA,KACA,WAEA,IACA,KACA,IACD,EACD,oBAAqB,CACnB,aACA,WACA,SACA,mBACA,SACA,aACA,aACA,YACA,mBACA,kBACA,WACA,aACA,OACA,WACA,UACA,aACA,YACA,WACA,OACA,OACA,MACA,WACA,UACA,SACA,UACA,aACA,aACA,SACA,QACA,UACA,oBACA,aACA,cACA,OACA,SACA,gBACA,oBACA,gCACA,iCACA,YACA,UACA,WACA,SACA,aACA,aACA,UACA,SACA,OACA,eACA,eACA,QACA,OACA,SACA,YACA,UACA,QACA,WACA,cACA,WACA,QACA,YACA,aACA,aACA,qBACA,SACA,SACA,WACA,eACA,UACA,aACA,OACA,UACA,QACA,SACA,SACA,OACA,aACA,WACA,YACA,MACA,aACA,UACA,aACA,SACA,cACA,YACA,OACA,YACA,SACA,YACA,iBACA,UACA,eACA,UACA,gBACA,eACA,YACA,mBACA,UACA,SACA,WACA,OACA,aACA,oBACA,YACA,UACA,UACA,YACA,WACA,WACA,aACA,OACA,cACA,iBACA,QACA,UACA,YACA,gBACA,cACA,oBACA,MACA,UACA,OACA,SACA,OACA,sBACA,aACA,aACA,mBACA,UACA,cACA,SACA,aACA,WACA,kBACA,OACA,OACA,QACA,QACA,QACA,YACA,SACA,eACA,eACA,WACA,WACA,MACA,aACA,YACA,WACA,QACA,oBACA,eACA,OACA,cACA,QACA,UACA,UACA,OACA,cACA,SACA,OACA,gBACA,YACA,aACD,EACD,eAAgB,CACd,UACA,kBACA,MACA,cACA,iBACA,aACA,UACA,eACA,UACA,WACA,cACA,MACA,IACA,IACA,cACA,IACA,MACA,IACA,KACA,SACA,cACA,wBACA,OACA,IACA,OACA,IACA,WACA,SACA,cACA,KACA,QACA,aACA,SACA,QACA,SACA,QACA,QACA,QACA,UACA,SACA,UACA,WACA,KACA,iBACA,KACA,MACA,UACA,aACA,KACA,KACA,MACA,QACA,WACA,SACA,KACA,UACA,UACA,MACA,SACA,KACA,SACA,QACA,OACA,WACA,aACA,UACA,WACA,OACA,YACA,cACA,QACA,MACA,iBACA,YACA,yBACA,aACA,QACA,aACA,QACA,UACA,MACA,SACA,wBACA,MACA,OACA,KACA,OACA,WACA,QACA,YACA,WACD,CAEF,EAED,OAAO,KAAKA,CAAQ,EAAE,QAAQ,SAAU54a,EAAG,CACzCypV,EAAOzpV,CAAC,EAAE,QAAU24a,EAAiBC,EAAS54a,CAAC,CAAC,CACtD,CAAK,EACD,IAAI64a,EAAc,CAEhB,MACA,QACA,OACA,MACA,OACA,QACA,QACA,OACA,QACA,UACA,MACA,MACA,OACA,QACA,QACA,UACA,SACA,OACA,OACA,QACA,QACA,MACA,SACA,KACA,UACA,YACA,MACA,OACA,YACA,QACA,OACA,QACA,OACA,QACA,UACA,KACA,QACA,OACA,SACA,aACA,aACA,WACA,QACA,UACA,OACA,KACA,OACA,SACA,QACA,OACA,SACA,MACA,OACA,SACA,MACA,WACA,YAEA,iBACA,kBACA,SACA,YACA,QACA,YACA,YACA,WACA,cACA,UACA,YACA,gBACA,mBACA,SACA,MACA,UACA,cACA,aACA,SACA,cACA,OACA,eACA,YACA,UACA,eACA,eACA,aACA,kBACA,QACA,aACA,SACA,eACA,YACA,eACA,WACA,SACA,WACA,aACA,OACA,YACA,gBACA,eACA,OACA,UACA,UACA,YACA,gBACA,iBACA,kBACA,gBACA,UACA,OACA,YACA,cACA,UACA,cACA,aACA,OACA,aACA,iBACA,aACA,OACA,eACA,cACA,WACA,gBACA,YACA,UACA,QACA,aACA,QACA,OACA,aACA,UACA,aACA,aACA,QACA,OACA,YACA,iBACA,YAEA,UACA,eACA,cACA,iBACA,YACA,oBACA,kBACA,QACA,iBACA,eACA,gBAEA,kBACA,cACA,gBACA,gBACA,kBACA,cAEA,OACA,UACA,YACA,YACA,UACA,eACA,iBACA,aACA,OACA,SACA,cACA,qBACA,SACA,mBAEA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MAEA,gBACA,cACA,iBACA,cACA,eACA,aACA,cACA,WACA,iBACA,oBACA,cACA,qBACA,WACA,eACA,mBACA,oBACA,iBACA,UACA,iBACA,iBACA,cACA,SACA,gBACA,eACA,eACA,aAC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WAAY,CACV,QACE,gGACF,MAAO,WACR,EACD,QAAS,CAEP,CACE,QACE,yOACF,WAAY,GACZ,OAAQ,EACT,EACD,CACE,QACE,2KACF,WAAY,GACZ,OAAQ,EACT,CACF,EACD,OAAQ,cACR,SAAU,CACR,QAAS,gCACT,WAAY,EACb,EACD,YAAa,SACd,CACH,CCrHA4b,GAAS,YAAc,WACvBA,GAAS,QAAU,CAAE,EAGN,SAASA,GAAS5b,EAAO,CACtCA,EAAM,UAAU,SAAW,CAEzB,QAAS,CACP,QAAS,MACT,OAAQ,EACT,EACD,OAAQ,CACN,QAAS,cACT,OAAQ,EACT,EACD,OAAQ,YACR,QAAS,qBACT,YAAa,CACX,SACA,CACE,QAAS,6BACT,WAAY,EACb,EACD,CACE,QAAS,mBACT,WAAY,EACb,EACD,CACE,QAAS,oBACT,WAAY,EACb,CACF,EACD,SAAU,CACR,CACE,QAAS,0BACT,WAAY,EACb,EACD,CACE,QAAS,mCACT,WAAY,EACb,EACD,mPACD,EACD,SAAU,CACR,QACE,8hBACF,MAAO,SACR,EACD,QAAS,CACP,QACE,mTACF,MAAO,SACR,EACD,SAAU,CACR,CACE,QACE,2GACF,WAAY,EACb,EACD,CACE,QAAS,4CACT,WAAY,EACb,EACD,CACE,QAAS,sCACT,WAAY,EACb,EACD,CACE,QAAS,4BACT,WAAY,EACb,EACD,CACE,QAAS,yBACT,WAAY,EACb,EACD,oBACD,EACD,MAAO,CACL,QACE,2xCACF,MAAO,UACR,EACD,QACE,kVACF,QACE,sbACF,KAAM,CACJ,QACE,6GACF,MAAO,UACR,EACD,SAAU,CACR,QACE,+MACF,WAAY,EACb,CACF,CACH,CCjGA6b,GAAM,YAAc,QACpBA,GAAM,QAAU,CAAE,EAGH,SAASA,GAAM7b,EAAO,CACnCA,EAAM,UAAU,MAAQ,CACtB,QAAS,OACT,QACE,s0BACF,UAAW,CACT,QAAS,cACT,MAAO,UACR,EACD,SAAU,aACV,OAAQ,gBACR,SAAU,mBACV,YAAa,uBACd,CACH,CCjBA8b,GAAQ,YAAc,UACtBA,GAAQ,QAAU,CAAE,EAGL,SAASA,GAAQ9b,EAAO,CACrCA,EAAM,SAAS8F,EAAmB,EAChC,SAAU9F,EAAO,CACjB,IAAIptG,EAAY,CAEd,MACA,MACA,OACA,MACA,MACA,OACA,MACA,OACA,OACA,OACA,OACA,MACA,UACA,QACA,QACA,cACA,OACA,SACA,QACA,SACA,iBACA,aACA,QACA,cACA,OACA,aACA,QACA,gBACA,cACA,gBACA,cACA,WACA,aACA,QACA,SAEA,eACA,OACA,OACA,OACA,OACA,UACA,OACA,eACA,SACA,YACA,OACA,QACA,QACA,WACA,QACA,YACA,SACA,QACA,OAEA,aACA,UACA,cACA,aACA,SACA,aACA,SACA,WACA,eACA,SACA,cACA,SACA,qBACA,gBACA,UACA,SACA,SACA,OACA,kBACA,WACA,UACA,eACA,eACA,UACA,OACA,QACA,QACA,eACA,aACA,SACA,UACA,mBAEA,OACA,eACA,QACA,SACA,OACA,YACA,mBACA,OACA,kBACA,eACA,iBACA,QACA,SACA,QACA,SACA,SACA,OACA,cACA,YACA,QACA,OACA,UACA,gBACA,QACA,WACA,OACA,iBACA,eACA,kBACA,gBACA,cACA,aACA,aACA,oBACA,UACA,MACA,OACA,UACA,SACA,SACA,YACA,MACA,OACA,QACA,UACA,MACA,gBACA,gBACA,aACA,WACA,YACA,gBACA,WACA,eACA,QACA,QACA,OACA,WACA,MACA,OACA,SACA,MACA,OACA,SACA,OACA,OACA,gBACA,QACA,OACA,eACA,UACA,OACA,SACA,YACA,MACA,OACA,iBACA,MACA,OACA,QACA,oBACA,SACA,UACA,aACA,gBACA,cACA,cACA,cACA,gBACA,SACA,SACA,UACA,iBACA,aACA,mBACA,eACA,YACA,QACA,OACA,SACA,SACA,QACA,aACA,cACA,cACA,eACA,YACA,UACA,eACA,YACA,YACA,OACA,UACA,OACA,UACA,UACA,aACA,YACA,SACA,UACA,cACA,YACA,WACA,WACA,QACA,SACA,QACA,QACA,QACA,OAC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AAS,MACT,OAAQ,EACT,EACD,SAAU,CACR,QACE,0HACF,WAAY,GACZ,MAAO,QACR,EACD,IAAK,CACH,QAAS,6DACT,WAAY,GACZ,MAAO,UACR,EACD,OAAQ,CACN,QACE,mHACF,WAAY,EACb,EACD,QAAS,CACP,QAAS,wDACT,WAAY,EACb,EACD,KAAM,CACJ,QAAS,2CACT,WAAY,GACZ,MAAO,SACR,EACD,OAAQ,CACN,QACE,qHACF,WAAY,GACZ,OAAQ,EACT,EACD,QAAS,CACP,QACE,sHACF,WAAY,GACZ,MAAO,QACR,EACD,YAAa,eACd,CACH,CCjDA4c,GAAM,YAAc,QACpBA,GAAM,QAAU,CAAE,EAGH,SAASA,GAAM5c,EAAO,CACnCA,EAAM,UAAU,MAAQ,CACtB,QAAS,oCACT,OAAQ,CACN,QAAS,mDACT,OAAQ,GACR,OAAQ,CACN,eAAgB,aACjB,CACF,EACD,UAAW,CACT,QAAS,0CACT,WAAY,EACb,EACD,QAAS,CACP,QACE,qHACF,WAAY,GACZ,OAAQ,CACN,eAAgB,CACd,QAAS,qBACT,MAAO,YACR,EACD,OAAQ,CACN,QAAS,SACT,OAAQ,CACN,aAAc,CACZ,QAAS,kBACT,MAAO,UACR,EACD,YAAa,QACb,SAAU,CACR,QAAS,IACT,MAAO,mBACR,CACF,CACF,CACF,CACF,EACD,OAAQ,CACN,QAAS,iDACT,MAAO,WACP,WAAY,EACb,EACD,QACE,sEACF,mBAAoB,CAClB,QACE,kIACF,OAAQ,CACN,wBAAyB,CACvB,QAAS,mBACT,MAAO,SACR,EACD,WAAY,CACV,QAAS,mCACT,MAAO,QACR,EACD,wBAAyB,CACvB,QAAS,kBACT,MAAO,SACR,EACD,YAAa,OACd,CACF,EACD,WAAY,CACV,QAAS,mCACT,MAAO,QACR,EACD,SAAU,CACR,CACE,QAAS,IACT,MAAO,aACR,EACD,CACE,QAAS,IACT,MAAO,aACR,EACD,CACE,QAAS,IACT,MAAO,WACR,EACD,CACE,QAAS,KACT,MAA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ACT,OAAQ,EACT,EACD,CACE,QAAS,8BACT,OAAQ,EACT,CACF,EACD,OAAQ,CAEN,uCAEA,oEAEA,mDACD,EACD,UAAW,CACT,QAAS,SACT,MAAO,UACR,EACD,MAAO,CACL,QAAS,SACT,MAAO,UACR,EACD,gBAAiB,CACf,QAAS,SACT,MAAO,UACR,EACD,QAAS,CACP,QAAS,OACT,MAAO,QACR,EAGD,QACE,gSACF,QAAS,qBACT,4BAA6B,CAC3B,QAAS,yBACT,MAAO,aACR,EAED,SACE,wGACF,YAAa,6BACd,CACH,CChEAkd,GAAK,YAAc,OACnBA,GAAK,QAAU,CAAE,EAGF,SAASA,GAAKld,EAAO,EAChC,SAAUA,EAAO,CACjB,IAAImd,EACF,8EACFnd,EAAM,UAAU,KAAO,CAOrB,QAAS,CACP,CACE,QACE,8EACF,OAAQ,EACT,EACD,CACE,QAAS,aACT,OAAQ,EACT,EACD,CACE,QAAS,eACT,OAAQ,EACT,CACF,EAID,KAAM,CACJ,QAAS,kDACT,OAAQ,GACR,OAAQ,CACN,OAAQmd,CACT,CACF,EACD,OAAQ,CACN,CACE,QAAS,UACT,OAAQ,EACT,EACD,CACE,QAAS,wBACT,OAAQ,GACR,OAAQ,CACN,OAAQA,CACT,CACF,CACF,EACD,UAAW,CACT,QAAS,OACT,MAAO,UACR,EACD,OACE,qLACF,QAAS,CACP,QAAS,QACT,MAAO,SACR,EACD,uBAAwB,CACtB,QAAS,mCACT,MAAO,UACR,EACD,QACE,wPAIF,iBAAkB,CAChB,QAAS,oBACT,MAAO,UACR,EACD,QAAS,yBACT,0BAA2B,CACzB,QAAS,KACT,MAAO,WACR,EACD,UAAW,CACT,QAAS,MACT,MAAO,UACR,EACD,MAAO,CACL,QAAS,KACT,MAAO,aACR,EACD,SAAU,yDACV,YAAa,iBACd,CACF,GAAEnd,CAAK,CACV,CC5FAod,GAAO,YAAc,SACrBA,GAAO,QAAU,CAAE,EAGJ,SAASA,GAAOpd,EAAO,CACpCA,EAAM,SAASG,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AAa,GACd,CACF,EACD,WAAY,CACV,QACE,+FACF,WAAY,GACZ,OAAQ,CACN,IAAK,CACH,QAAS,OACP,oKAAoK,OAAO,QACzK,SACA,UAAY,CACV,OAAO0V,CACR,CACF,EACD,IACD,EACD,MAAO,eACP,OAAQ1V,EAAM,UAAU,GACzB,EACD,oBAAqBwiB,EACrB,iBAAkB,CAChB,QACE,mFACF,WAAY,GACZ,MAAO,SACR,EACD,OAAQniO,EACR,mBAAoB+hO,EACpB,YAAa3uK,EACb,OAAQzmP,CACT,CACF,EACD,cAAe,CACb,QACE,0FACF,WAAY,GACZ,OAAQ,CACN,QAASzF,EACT,OAAQ,CACN,QAAS,OACP,iFAAiF,OAAO,QACtF,SACA,UAAY,CACV,OAAOmuZ,CACR,CACF,EACD,IACD,EACD,WAAY,GACZ,MAAO,kBACP,OAAQ1V,EAAM,UAAU,MACzB,EACD,QAASv9G,EACT,mBAAoBggI,EACpB,oBAAqBD,EACrB,OAAQniO,EACR,mBAAoB+hO,EACpB,YAAa3uK,EACb,OAAQzmP,CACT,CACF,EACD,WAAY,CACV,QACE,uFACF,WAAY,GACZ,OAAQ,CACN,QAASzF,EACT,IAAK,CACH,QAAS,OACP,iFAAiF,OAAO,QACtF,SACA,UAAY,CACV,OAAOmuZ,CACR,CACF,EACD,IACD,EACD,WAAY,GACZ,MAAO,eACP,OAAQ1V,EAAM,UAAU,GACzB,EACD,QAASv9G,EACT,mBAAoBggI,EACpB,oBAAqBD,EACrB,OAAQniO,EACR,mBAAoB+hO,EACpB,YAAa3uK,EACb,OAAQzmP,CACT,CACF,EACD,WAAY,CACV,QACE,mFACF,WAAY,GACZ,OAAQ,CACN,QAASzF,EACT,gBAAiB,CACf,QAAS,kCACT,WAAY,GACZ,OAAQ,CACN,UAAW,CACT,QAAS,qBACT,OAAQ,CACN,QAAS,kBACV,CACF,EACD,KAAM8F,CACP,CACF,EACD,cAAes1Z,EACf,UAAW,CACT,QACE,6DACF,WAAY,GACZ,OAAQt1Z,CAC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kBAAmB,CACjB,QACE,4LACF,MAAO,YACR,CACF,CACF,EACD,WAAY,CACV,QACE,kHACF,WAAY,GACZ,MAAO,WACR,EACD,UAAW,CACT,QAAS,gCACT,WAAY,GACZ,MAAO,UACR,EACD,QACE,iMACF,QACE,g/CACF,iBAAkB,CAChB,QAAS,qBACT,MAAO,UACR,EACD,aAAc,4BACd,eAAgB,CACd,QAAS,qBACT,MAAO,SACR,EACD,kBAAmB,CACjB,QAAS,sCACT,MAAO,QACR,EACD,oBAAqB,CACnB,QAAS,+DACT,MAAO,QACR,EACD,wBAAyB,CACvB,CACE,QAAS,qCACT,MAAO,QACR,EACD,CACE,QAAS,qCACT,MAAO,QACR,EACD,CACE,QAAS,2BACT,MAAO,QACR,EACD,CACE,QAAS,cACT,MAAO,QACR,CACF,EACD,cAAe,CACb,QAAS,eACT,MAAO,QACR,EACD,SAAU,CACR,CACE,QAAS,wCACV,EACD,CACE,QAAS,WACV,EACD,CACE,QAAS,0CACV,EACD,CACE,QAAS,uBACT,WAAY,EACb,EACD,CACE,QAAS,kCACT,WAAY,EACb,EACD,CACE,QAAS,wDACV,EACD,CACE,QAAS,IACV,CACF,EACD,YAAa,kBACd,CACH,CC1GAymB,GAAK,YAAc,OACnBA,GAAK,QAAU,CAAE,EAGF,SAASA,GAAKzmB,EAAO,CAClCA,EAAM,SAAS6D,EAAe,EAC9B7D,EAAM,UAAU,KAAOA,EAAM,UAAU,OAAO,SAAU,CACtD,gBAAiB,CACf,QAAS,4BACT,WAAY,GACZ,MAAO,SACR,EACD,QAAS,CACP,QAAS,sBACT,OAAQ,CACN,YAAa,UACb,UAAW,IACZ,CACF,EACD,SAAU,CAER,QAAS,gBACT,OAAQ,CACN,cAAe,CACb,QAAS,mBACT,WAAY,GACZ,MAAO,CAAC,OAAQ,QAAQ,CACzB,EACD,KAAM,CACJ,QAAS,8BACT,WAAY,EACb,EACD,OAAQ,CACN,QAAS,6BACT,WAAY,EACb,EACD,YAAa,WACd,CACF,EACD,GAA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ACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,IAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,GACZ,CAAC,EAeKC,GAAiB,CACrB,IAAK,CACH,KAAQ,MACR,KAAQ,SACT,EACD,IAAK,CACH,KAAQ,MACR,KAAQ,SACT,EACD,IAAK,CACH,KAAQ,MACR,KAAQ,QACT,EACD,IAAK,CACH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AAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,K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,QAAa4zc,2BCFf8lF,IAAe,eACjBA,KACHC,IAAQ,WAAWD,GAAY,EAGhC,MAAMxE,IAAYJ,IAAahqX,GAAK,EAEpC3/G,GAAS,WAAW,SAAS,eAAe,MAAM,CAAE,EAAE,OACpDulG,EAAAA,IAAAh9H,GAAM,WAAN,CACA,SAACg9H,EAAAA,IAAAkc,IAAS,CAAA,MAAA9B,IACT,SAACpa,EAAAA,IAAA8kY,IAAY,CAAA,QAAS,KAAM,UAAAN,IAC3B,SAACxkY,EAAAA,IAAAs2C,KAAiB,SAAU,EAC3B,eAAC0pV,IAAI,CAAA,CAAA,CAAA,CACN,CACD,CAAA,CAAA,CACD,EACD,CACD","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533,534,535,536,537,538,539,540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602,603,604,605,606,607,610,611,612,618,619,620,621,622,623,625,626,632,633,634,639,640,641,642,643,644,645,646,647,648,649,650,651,652,653,654,655,656,657,658,659,660,666,668,671,672,673,674,675,676,677,678,679,680,681,682,695,702,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,731,732,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,754,755,756,757,758,759,760,761,762,763,764,765,766,767,768,769,770,771,772,773,774,775,776,777,778,779,780,781,782,783,784,785,786,787,788,789,790,791,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829,830,831,832,833,834,835,836,837,838,839,840,841,843,845,850,851,854,855,856,857,858,859,860,861,862,863,864,865,866,867,868,869,870,871,872,873,874,875,876,877,878,879,880,881,882,883,884,885,886,887,888,889,890,891,892,893,894,895,896,897,898,899,900,901,902,903,904,905,906,907,908,909,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,930,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,975,976,977,978,979,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,996,997,998,999,1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1120,1121,1122,1123,1124,1125,1126,1127,1128,1129,1130,1131,1132,1133,1134,1135,1136,1137,1138,1139,1140,1141,1142,1143,1144,1145,1146,1147,1148,1149,1150,1151,1152,1153,1154,1155,1156,1157,1158,1159,1160,1161,1162,1163,1164,1165,1166,1167,1168,1169,1170,1171,1172,1173,1174,1175,1176,1177,1178,1179,1180,1181,1182,1183,1184,1185,1186,1187,1188,1189,1190,1191,1192,1193,1194,1195,1196,1197,1198,1199,1200,1201,1202,1203,1204,1205,1206,1207,1208,1209,1210,1211,1212,1213,1214,1215,1216,1217,1218,1219,1220,1221,1222,1223,1224,1225,1226,1227,1228,1229,1230,1231,1232,1233,1234,1235,1236,1237,1238,1239,1240,1241,1242,1243,1244,1245,1246,1247,1248,1249,1250,1251,1252,1253,1254,1255,1256,1257,1258,1259,1260,1261,1262,1263,1264,1265,1266,1267,1268,1269,1270,1271,1272,1273,1274,1275,1276,1277,1278,1279,1280,1281,1282,1283,1284,1285,1286,1287,1288,1289,1290,1291,1292,1293,1294,1295,1296,1297,1298,1299,1300,1301,1302,1303,1304,1305,1306,1307,1308,1309,1310,1311,1312,1313,1314,1315,1316,1317,1318,1319,1320,1321,1322,1323,1324,1325,1326,1327,1328,1329,1330,1331,1332,1333,1334,1335,1336,1337,1338,1339,1340,1341,1342,1343,1344,1345,1346,1347,1348,1349,1350,1351,1352,1353,1354,1355,1356,1357,1358,1359,1360,1361,1362,1363,1364,1365,1366,1367,1368,1369,1370,1371,1372,1373,1374,1375,1376,1377,1378,1379,1380,1381,1382,1383,1384,1385,1386,1387,1388,1389,1390,1391,1392,1393,1394,1395,1396,1397,1398,1399,1400,1401,1402,1403,1404,1405,1406,1407,1408,1409,1410,1411,1412,1413,1414,1415,1416,1417,1418,1419,1420,1421,1422,1423,1424,1425,1426,1434,1435,1436,1437,1438,1439,1440,1441,1442,1443,1444,1445,1446,1447,1448,1449,1450,1451,1452,1453,1454,1455,1456,1457,1458,1459,1460,1461,1462,1463,1464,1465,1466,1467,1468,1469,1470,1471,1472,1473,1474,1475,1476,1477,1478,1479,1480,1481,1482,1483,1484,1485,1486,1487,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511,1512,1513,1514,1515,1516,1517,1518,1519,1520,1521,1522,1523,1524,1525,1526,1527,1528,1529,1532,1533,1534,1535,1536,1537,1538,1539,1540,1552,1553,1554,1555,1556,1557,1558,1559,1560,1561,1563,1564,1565,1566,1567]} \ No newline at end of file +{"version":3,"file":"index-BO3GN4T_.js","sources":["../../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react.production.min.js","../../../node_modules/.pnpm/react@18.3.1/node_modules/react/index.js","../../../node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js","../../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js","../../../node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/cjs/scheduler.production.min.js","../../../node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/index.js","../../../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/cjs/react-dom.production.min.js","../../../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/index.js","../../../node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/client.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/colors/common.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/colors/red.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/colors/purple.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/colors/blue.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/colors/lightBlue.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/colors/green.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/colors/orange.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/colors/grey.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/identifier.js","../../../node_modules/.pnpm/@babel+runtime@7.25.6/node_modules/@babel/runtime/helpers/esm/extends.js","../../../node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","../../../node_modules/.pnpm/@emotion+is-prop-valid@1.3.1/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js","../../../node_modules/.pnpm/@emotion+sheet@1.4.0/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js","../../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Enum.js","../../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js","../../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Tokenizer.js","../../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Parser.js","../../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Serializer.js","../../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Middleware.js","../../../node_modules/.pnpm/@emotion+cache@11.13.1/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js","../../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js","../../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js","../../../node_modules/.pnpm/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","../../../node_modules/.pnpm/@emotion+utils@1.4.1/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js","../../../node_modules/.pnpm/@emotion+hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.js","../../../node_modules/.pnpm/@emotion+unitless@0.10.0/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js","../../../node_modules/.pnpm/@emotion+serialize@1.3.2/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js","../../../node_modules/.pnpm/@emotion+use-insertion-effect-with-fallbacks@1.1.0_react@18.3.1/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js","../../../node_modules/.pnpm/@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1/node_modules/@emotion/react/dist/emotion-element-5486c51c.browser.esm.js","../../../node_modules/.pnpm/@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1/node_modules/@emotion/react/dist/emotion-react.browser.esm.js","../../../node_modules/.pnpm/@emotion+styled@11.13.0_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@types+react@18.3.8_react@18.3.1/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js","../../../node_modules/.pnpm/@emotion+styled@11.13.0_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@types+react@18.3.8_react@18.3.1/node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js","../../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js","../../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js","../../../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js","../../../node_modules/.pnpm/@mui+styled-engine@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+st_bdle43m4tf24d3ghtd3jzyd5ou/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js","../../../node_modules/.pnpm/@mui+styled-engine@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+st_bdle43m4tf24d3ghtd3jzyd5ou/node_modules/@mui/styled-engine/index.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/deepmerge/deepmerge.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/createBreakpoints/createBreakpoints.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/cssContainerQueries/cssContainerQueries.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/createTheme/shape.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/merge/merge.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/breakpoints/breakpoints.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/capitalize/capitalize.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/style/style.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/memoize/memoize.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/spacing/spacing.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/createTheme/createSpacing.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/compose/compose.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/borders/borders.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/cssGrid/cssGrid.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/palette/palette.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/sizing/sizing.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/styleFunctionSx/defaultSxConfig.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/styleFunctionSx/styleFunctionSx.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/createTheme/applyStyles.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/createTheme/createTheme.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/useThemeWithoutDefault/useThemeWithoutDefault.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/useTheme/useTheme.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/GlobalStyles/GlobalStyles.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/styleFunctionSx/extendSxProp.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js","../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/createBox/createBox.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js","../../../node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/cjs/react-is.production.min.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/createStyled/createStyled.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/styled/styled.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/resolveProps/resolveProps.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/useThemeProps/getThemeProps.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/useThemeProps/useThemeProps.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/useMediaQuery/useMediaQuery.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/clamp/clamp.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/colorManipulator/colorManipulator.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/createChainedFunction/createChainedFunction.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/debounce/debounce.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/isMuiElement/isMuiElement.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/ownerWindow/ownerWindow.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/setRef/setRef.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/useId/useId.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/useControlled/useControlled.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/useForkRef/useForkRef.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/useLazyRef/useLazyRef.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/useOnMount/useOnMount.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/useTimeout/useTimeout.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/getScrollbarSize/getScrollbarSize.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/usePreviousProps/usePreviousProps.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/getValidReactChildren/getValidReactChildren.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/visuallyHidden/visuallyHidden.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/composeClasses/composeClasses.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/omitEventHandlers/omitEventHandlers.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/resolveComponentProps/resolveComponentProps.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js","../../../node_modules/.pnpm/@mui+utils@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/utils/esm/getReactNodeRef/getReactNodeRef.js","../../../node_modules/.pnpm/@mui+private-theming@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/private-theming/useTheme/ThemeContext.js","../../../node_modules/.pnpm/@mui+private-theming@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/private-theming/useTheme/useTheme.js","../../../node_modules/.pnpm/@mui+private-theming@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/private-theming/ThemeProvider/nested.js","../../../node_modules/.pnpm/@mui+private-theming@6.1.1_@types+react@18.3.8_react@18.3.1/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/RtlProvider/index.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/DefaultPropsProvider/DefaultPropsProvider.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/ThemeProvider/ThemeProvider.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/InitColorSchemeScript/InitColorSchemeScript.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/cssVars/useCurrentColorScheme.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/cssVars/createCssVarsProvider.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/cssVars/createGetCssVar.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/cssVars/cssVarsParser.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/cssVars/prepareCssVars.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/cssVars/getColorSchemeSelector.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/Container/createContainer.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/Grid/traverseBreakpoints.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/Grid/gridGenerator.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/Grid/createGrid.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/Stack/createStack.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/createPalette.js","../../../node_modules/.pnpm/@mui+system@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@11_slezaknd3aqzz3k7zk66cekx6i/node_modules/@mui/system/cssVars/prepareTypographyVars.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/createMixins.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/createTypography.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/shadows.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/createTransitions.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/zIndex.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/createThemeNoVars.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/getOverlayAlpha.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/createColorScheme.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/shouldSkipGeneratingVar.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/excludeVariablesFromRoot.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/createGetSelector.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/stringifyTheme.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/createThemeWithVars.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/createTheme.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/defaultTheme.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/useTheme.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/useThemeProps.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/slotShouldForwardProp.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/rootShouldForwardProp.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/styled.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/ThemeProviderNoVars.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/InitColorSchemeScript/InitColorSchemeScript.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/ThemeProviderWithVars.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/styles/ThemeProvider.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/GlobalStyles/GlobalStyles.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/zero-styled/index.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/utils/memoTheme.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/SvgIcon/svgIconClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/SvgIcon/SvgIcon.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/utils/createSvgIcon.js","../../../node_modules/.pnpm/@babel+runtime@7.25.6/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../../../node_modules/.pnpm/@babel+runtime@7.25.6/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","../../../node_modules/.pnpm/@babel+runtime@7.25.6/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","../../../node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/config.js","../../../node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/TransitionGroupContext.js","../../../node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/utils/reflow.js","../../../node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/Transition.js","../../../node_modules/.pnpm/@babel+runtime@7.25.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","../../../node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/utils/ChildMapping.js","../../../node_modules/.pnpm/react-transition-group@4.4.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-transition-group/esm/TransitionGroup.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/transitions/utils.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Collapse/collapseClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Collapse/Collapse.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Paper/paperClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Paper/Paper.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/utils/useSlot.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/useLazyRipple/useLazyRipple.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ButtonBase/Ripple.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ButtonBase/touchRippleClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ButtonBase/TouchRipple.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ButtonBase/buttonBaseClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ButtonBase/ButtonBase.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/utils/createSimplePaletteValueFilter.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/IconButton/iconButtonClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/IconButton/IconButton.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/internal/svg-icons/Close.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Typography/typographyClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Typography/Typography.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/AppBar/appBarClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/AppBar/AppBar.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/useAutocomplete/useAutocomplete.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/enums.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindow.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/applyStyles.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getBasePlacement.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/math.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/userAgent.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/contains.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/within.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/expandToHashMap.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/arrow.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getVariation.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/computeStyles.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/eventListeners.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/rectToClientRect.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/computeOffsets.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/detectOverflow.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/flip.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/hide.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/offset.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/getAltAxis.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/orderModifiers.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/debounce.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/utils/mergeByName.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/createPopper.js","../../../node_modules/.pnpm/@popperjs+core@2.11.8/node_modules/@popperjs/core/lib/popper.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Portal/Portal.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Popper/popperClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Popper/BasePopper.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Popper/Popper.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ListSubheader/listSubheaderClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ListSubheader/ListSubheader.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/internal/svg-icons/Cancel.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Chip/chipClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Chip/Chip.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/utils/isHostComponent.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/FormControl/formControlState.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/FormControl/FormControlContext.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/FormControl/useFormControl.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/InputBase/utils.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/InputBase/inputBaseClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/InputBase/InputBase.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Input/inputClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/OutlinedInput/outlinedInputClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/FilledInput/filledInputClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/internal/svg-icons/ArrowDropDown.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Autocomplete/autocompleteClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Autocomplete/Autocomplete.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/internal/svg-icons/Person.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Avatar/avatarClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Avatar/Avatar.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/AvatarGroup/avatarGroupClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/AvatarGroup/AvatarGroup.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Fade/Fade.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Backdrop/backdropClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Backdrop/Backdrop.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Box/boxClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Box/Box.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Button/buttonClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ButtonGroup/ButtonGroupContext.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Button/Button.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Card/cardClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Card/Card.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/CardActionArea/cardActionAreaClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/CardActionArea/CardActionArea.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/CardContent/cardContentClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/CardContent/CardContent.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/internal/switchBaseClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/internal/SwitchBase.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/internal/svg-icons/CheckBoxOutlineBlank.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/internal/svg-icons/CheckBox.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/internal/svg-icons/IndeterminateCheckBox.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Checkbox/checkboxClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Checkbox/Checkbox.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/CircularProgress/circularProgressClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/CircularProgress/CircularProgress.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Container/Container.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/CssBaseline/CssBaseline.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Modal/ModalManager.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Modal/useModal.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Modal/modalClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Modal/Modal.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Divider/dividerClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Divider/Divider.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/FilledInput/FilledInput.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/FormControl/formControlClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/FormControl/FormControl.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/FormControlLabel/formControlLabelClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/FormControlLabel/FormControlLabel.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/FormGroup/formGroupClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/FormGroup/FormGroup.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/FormHelperText/formHelperTextClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/FormHelperText/FormHelperText.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/FormLabel/formLabelClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/FormLabel/FormLabel.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Grid/GridContext.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Grid/gridClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Grid/Grid.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Grid2/Grid2.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Grow/Grow.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Icon/iconClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Icon/Icon.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Input/Input.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/InputAdornment/inputAdornmentClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/InputAdornment/InputAdornment.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/InputLabel/inputLabelClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/InputLabel/InputLabel.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/List/ListContext.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/List/listClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/List/List.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ListItem/listItemClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ListItemButton/listItemButtonClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ListItemButton/ListItemButton.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ListItemSecondaryAction/listItemSecondaryActionClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ListItem/ListItem.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ListItemAvatar/listItemAvatarClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ListItemAvatar/ListItemAvatar.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ListItemIcon/listItemIconClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ListItemIcon/ListItemIcon.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ListItemText/listItemTextClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ListItemText/ListItemText.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/MenuList/MenuList.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Popover/popoverClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Popover/Popover.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Menu/menuClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Menu/Menu.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/MenuItem/menuItemClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/MenuItem/MenuItem.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/NativeSelect/nativeSelectClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/NativeSelect/NativeSelectInput.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/OutlinedInput/NotchedOutline.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/OutlinedInput/OutlinedInput.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/internal/svg-icons/RadioButtonUnchecked.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/internal/svg-icons/RadioButtonChecked.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Radio/RadioButtonIcon.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/RadioGroup/RadioGroupContext.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/RadioGroup/useRadioGroup.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Radio/radioClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Radio/Radio.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/RadioGroup/radioGroupClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/RadioGroup/RadioGroup.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Select/selectClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Select/SelectInput.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Select/Select.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/utils/areArraysEqual.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Slider/useSlider.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/utils/shouldSpreadAdditionalProps.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Slider/sliderClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Slider/SliderValueLabel.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Slider/Slider.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Tooltip/tooltipClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Tooltip/Tooltip.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Stack/Stack.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Switch/switchClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Switch/Switch.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Table/TableContext.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Table/tableClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Table/Table.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Table/Tablelvl2Context.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/TableBody/tableBodyClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/TableBody/TableBody.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/TableCell/tableCellClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/TableCell/TableCell.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/TableContainer/tableContainerClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/TableContainer/TableContainer.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/TableHead/tableHeadClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/TableHead/TableHead.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Toolbar/toolbarClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/Toolbar/Toolbar.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/TableRow/tableRowClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/TableRow/TableRow.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/TextField/textFieldClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/TextField/TextField.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ToggleButton/toggleButtonClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupButtonContext.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ToggleButtonGroup/isValueSelected.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ToggleButton/ToggleButton.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ToggleButtonGroup/toggleButtonGroupClasses.js","../../../node_modules/.pnpm/@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_react@18.3.1__@emotion+styled@_p4n6632gxs7pt7g4sjvrovbh4y/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/is.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/string.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/aggregate-errors.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/worldwide.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/browser.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/debug-build.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/logger.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/dsn.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/error.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/object.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/stacktrace.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/instrument/_handlers.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/instrument/console.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/misc.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/instrument/dom.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/supports.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/instrument/fetch.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/instrument/globalError.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/instrument/globalUnhandledRejection.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/vendor/supportsHistory.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/instrument/history.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/instrument/xhr.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/env.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/memo.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/normalize.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/syncpromise.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/promisebuffer.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/url.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/severity.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/time.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/baggage.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/tracing.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/envelope.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/clientreport.js","../../../node_modules/.pnpm/@sentry+utils@7.119.0/node_modules/@sentry/utils/esm/ratelimit.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/debug-build.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/constants.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/eventProcessors.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/session.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/utils/spanUtils.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/utils/prepareEvent.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/exports.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/utils/getRootSpan.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/tracing/dynamicSamplingContext.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/utils/applyScopeDataToEvent.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/scope.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/version.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/hub.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/tracing/utils.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/tracing/errors.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/tracing/spanstatus.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/utils/hasTracingEnabled.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/tracing/trace.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/semanticAttributes.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/tracing/span.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/tracing/transaction.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/tracing/idletransaction.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/tracing/sampling.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/tracing/hubextensions.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/tracing/measurement.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/envelope.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/api.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/integration.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/metrics/utils.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/metrics/envelope.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/baseclient.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/sdk.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/transports/base.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/span.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/utils/sdkMetadata.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/integrations/inboundfilters.js","../../../node_modules/.pnpm/@sentry+core@7.119.0/node_modules/@sentry/core/esm/integrations/functiontostring.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/common/debug-build.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/browser/types.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/browser/backgroundtab.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/bindReporter.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/generateUniqueID.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/getNavigationEntry.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/getActivationStart.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/initMetric.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/observe.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/onHidden.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/browser/web-vitals/getCLS.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/getVisibilityWatcher.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/browser/web-vitals/getFID.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/polyfills/interactionCountPolyfill.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/browser/web-vitals/getINP.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/browser/web-vitals/getLCP.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/browser/web-vitals/onTTFB.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/browser/instrument.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/browser/metrics/utils.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/browser/metrics/index.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/common/fetch.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/browser/request.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/browser/router.js","../../../node_modules/.pnpm/@sentry-internal+tracing@7.119.0/node_modules/@sentry-internal/tracing/esm/browser/browsertracing.js","../../../node_modules/.pnpm/@sentry+browser@7.119.0/node_modules/@sentry/browser/esm/helpers.js","../../../node_modules/.pnpm/@sentry+browser@7.119.0/node_modules/@sentry/browser/esm/debug-build.js","../../../node_modules/.pnpm/@sentry+browser@7.119.0/node_modules/@sentry/browser/esm/eventbuilder.js","../../../node_modules/.pnpm/@sentry+browser@7.119.0/node_modules/@sentry/browser/esm/userfeedback.js","../../../node_modules/.pnpm/@sentry+browser@7.119.0/node_modules/@sentry/browser/esm/client.js","../../../node_modules/.pnpm/@sentry+browser@7.119.0/node_modules/@sentry/browser/esm/transports/utils.js","../../../node_modules/.pnpm/@sentry+browser@7.119.0/node_modules/@sentry/browser/esm/transports/fetch.js","../../../node_modules/.pnpm/@sentry+browser@7.119.0/node_modules/@sentry/browser/esm/transports/xhr.js","../../../node_modules/.pnpm/@sentry+browser@7.119.0/node_modules/@sentry/browser/esm/stack-parsers.js","../../../node_modules/.pnpm/@sentry+browser@7.119.0/node_modules/@sentry/browser/esm/integrations/breadcrumbs.js","../../../node_modules/.pnpm/@sentry+browser@7.119.0/node_modules/@sentry/browser/esm/integrations/dedupe.js","../../../node_modules/.pnpm/@sentry+browser@7.119.0/node_modules/@sentry/browser/esm/integrations/globalhandlers.js","../../../node_modules/.pnpm/@sentry+browser@7.119.0/node_modules/@sentry/browser/esm/integrations/httpcontext.js","../../../node_modules/.pnpm/@sentry+browser@7.119.0/node_modules/@sentry/browser/esm/integrations/linkederrors.js","../../../node_modules/.pnpm/@sentry+browser@7.119.0/node_modules/@sentry/browser/esm/integrations/trycatch.js","../../../node_modules/.pnpm/@sentry+browser@7.119.0/node_modules/@sentry/browser/esm/sdk.js","../../../node_modules/.pnpm/@sentry+react@7.119.0_react@18.3.1/node_modules/@sentry/react/esm/sdk.js","../../../node_modules/.pnpm/@sentry+react@7.119.0_react@18.3.1/node_modules/@sentry/react/esm/reactrouterv6.js","../../../node_modules/.pnpm/@tanstack+query-core@5.56.2/node_modules/@tanstack/query-core/build/modern/subscribable.js","../../../node_modules/.pnpm/@tanstack+query-core@5.56.2/node_modules/@tanstack/query-core/build/modern/utils.js","../../../node_modules/.pnpm/@tanstack+query-core@5.56.2/node_modules/@tanstack/query-core/build/modern/focusManager.js","../../../node_modules/.pnpm/@tanstack+query-core@5.56.2/node_modules/@tanstack/query-core/build/modern/onlineManager.js","../../../node_modules/.pnpm/@tanstack+query-core@5.56.2/node_modules/@tanstack/query-core/build/modern/retryer.js","../../../node_modules/.pnpm/@tanstack+query-core@5.56.2/node_modules/@tanstack/query-core/build/modern/notifyManager.js","../../../node_modules/.pnpm/@tanstack+query-core@5.56.2/node_modules/@tanstack/query-core/build/modern/removable.js","../../../node_modules/.pnpm/@tanstack+query-core@5.56.2/node_modules/@tanstack/query-core/build/modern/query.js","../../../node_modules/.pnpm/@tanstack+query-core@5.56.2/node_modules/@tanstack/query-core/build/modern/queryCache.js","../../../node_modules/.pnpm/@tanstack+query-core@5.56.2/node_modules/@tanstack/query-core/build/modern/mutation.js","../../../node_modules/.pnpm/@tanstack+query-core@5.56.2/node_modules/@tanstack/query-core/build/modern/mutationCache.js","../../../node_modules/.pnpm/@tanstack+query-core@5.56.2/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js","../../../node_modules/.pnpm/@tanstack+query-core@5.56.2/node_modules/@tanstack/query-core/build/modern/queryClient.js","../../../node_modules/.pnpm/@tanstack+query-core@5.56.2/node_modules/@tanstack/query-core/build/modern/queryObserver.js","../../../node_modules/.pnpm/@tanstack+query-core@5.56.2/node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.js","../../../node_modules/.pnpm/@tanstack+query-core@5.56.2/node_modules/@tanstack/query-core/build/modern/mutationObserver.js","../../../node_modules/.pnpm/@tanstack+react-query@5.56.2_react@18.3.1/node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js","../../../node_modules/.pnpm/@tanstack+react-query@5.56.2_react@18.3.1/node_modules/@tanstack/react-query/build/modern/isRestoring.js","../../../node_modules/.pnpm/@tanstack+react-query@5.56.2_react@18.3.1/node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js","../../../node_modules/.pnpm/@tanstack+react-query@5.56.2_react@18.3.1/node_modules/@tanstack/react-query/build/modern/utils.js","../../../node_modules/.pnpm/@tanstack+react-query@5.56.2_react@18.3.1/node_modules/@tanstack/react-query/build/modern/errorBoundaryUtils.js","../../../node_modules/.pnpm/@tanstack+react-query@5.56.2_react@18.3.1/node_modules/@tanstack/react-query/build/modern/suspense.js","../../../node_modules/.pnpm/@tanstack+react-query@5.56.2_react@18.3.1/node_modules/@tanstack/react-query/build/modern/useBaseQuery.js","../../../node_modules/.pnpm/@tanstack+react-query@5.56.2_react@18.3.1/node_modules/@tanstack/react-query/build/modern/useQuery.js","../../../node_modules/.pnpm/@tanstack+react-query@5.56.2_react@18.3.1/node_modules/@tanstack/react-query/build/modern/useMutation.js","../../../node_modules/.pnpm/@tanstack+react-query@5.56.2_react@18.3.1/node_modules/@tanstack/react-query/build/modern/useInfiniteQuery.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/bind.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosError.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/null.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toFormData.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/buildURL.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/InterceptorManager.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/transitional.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/FormData.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/classes/Blob.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/browser/index.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/common/utils.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/platform/index.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/toURLEncodedForm.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/formDataToJSON.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/defaults/index.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseHeaders.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/AxiosHeaders.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/transformData.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/isCancel.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CanceledError.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/settle.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/parseProtocol.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/speedometer.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/throttle.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/progressEventReducer.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isURLSameOrigin.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/cookies.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAbsoluteURL.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/combineURLs.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/buildFullPath.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/mergeConfig.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/resolveConfig.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/xhr.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/composeSignals.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/trackStream.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/fetch.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/adapters/adapters.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/dispatchRequest.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/env/data.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/validator.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/core/Axios.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/cancel/CancelToken.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/spread.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/isAxiosError.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/helpers/HttpStatusCode.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/axios.js","../../../node_modules/.pnpm/axios@1.7.7/node_modules/axios/index.js","../../../node_modules/.pnpm/use-sync-external-store@1.2.2_react@18.3.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.min.js","../../../node_modules/.pnpm/use-sync-external-store@1.2.2_react@18.3.1/node_modules/use-sync-external-store/with-selector.js","../../../node_modules/.pnpm/react-redux@9.1.2_@types+react@18.3.8_react@18.3.1_redux@5.0.1/node_modules/react-redux/dist/react-redux.mjs","../../../node_modules/.pnpm/@remix-run+router@1.19.2/node_modules/@remix-run/router/dist/router.js","../../../node_modules/.pnpm/react-router@6.26.2_react@18.3.1/node_modules/react-router/dist/index.js","../../../node_modules/.pnpm/react-router-dom@6.26.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-router-dom/dist/index.js","../../../node_modules/.pnpm/redux@5.0.1/node_modules/redux/dist/redux.mjs","../../../node_modules/.pnpm/immer@10.1.1/node_modules/immer/dist/immer.mjs","../../../node_modules/.pnpm/redux-thunk@3.1.0_redux@5.0.1/node_modules/redux-thunk/dist/redux-thunk.mjs","../../../node_modules/.pnpm/@reduxjs+toolkit@2.2.7_react-redux@9.1.2_@types+react@18.3.8_react@18.3.1_redux@5.0.1__react@18.3.1/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.mjs","../../src/store/settingSlice.ts","../../src/hooks/api/settings.ts","../../../node_modules/.pnpm/clsx@1.2.1/node_modules/clsx/dist/clsx.m.js","../../../node_modules/.pnpm/goober@2.1.14_csstype@3.1.3/node_modules/goober/dist/goober.modern.js","../../../node_modules/.pnpm/notistack@3.0.1_csstype@3.1.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/notistack/notistack.esm.js","../../src/hooks/useErrorHandler.ts","../../src/contexts/AuthContext.ts","../../src/store/authSlice.ts","../../src/store/userSlice.ts","../../src/hooks/api/user.ts","../../../node_modules/.pnpm/react-hook-form-mui@7.2.0_3abwip7oig7kxwgmwpajdmiqbi/node_modules/react-hook-form-mui/dist/esm/chunk-XYKDOMRN.js","../../../node_modules/.pnpm/react-hook-form@7.53.0_react@18.3.1/node_modules/react-hook-form/dist/index.esm.mjs","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/Cancel.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/Visibility.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/VisibilityOff.js","../../../node_modules/.pnpm/react-hook-form-mui@7.2.0_3abwip7oig7kxwgmwpajdmiqbi/node_modules/react-hook-form-mui/dist/esm/index.js","../../src/hooks/api/check.ts","../../../node_modules/.pnpm/react-use@17.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-use/esm/useTimeoutFn.js","../../../node_modules/.pnpm/react-use@17.5.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-use/esm/useDebounce.js","../../src/components/modals/ChangeNicknameModal.tsx","../../src/providers/AuthProvider.tsx","../../src/components/common/CodePairError.tsx","../../src/components/common/GuestRoute.tsx","../../src/components/common/PrivateRoute.tsx","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/ArrowBackIosNew.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/Edit.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/VerticalSplit.js","../../src/hooks/useUserPresence.ts","../../src/store/editorSlice.ts","../../src/store/workspaceSlice.ts","../../src/utils/share.ts","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/AccessTime.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/Add.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/Check.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/Close.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/ContentCopy.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/DarkMode.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/KeyboardArrowDown.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/KeyboardArrowUp.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/KeyboardDoubleArrowLeft.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/KeyboardDoubleArrowRight.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/LightMode.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/Logout.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/ManageAccounts.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/MoreVert.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/People.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/Refresh.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/SaveAlt.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/Send.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/Share.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/SpaceDashboard.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/ToggleOff.js","../../../node_modules/.pnpm/@mui+icons-material@6.1.1_@mui+material@6.1.1_@emotion+react@11.13.3_@types+react@18.3.8_reac_uwfkdbvruow3sohlycga4jnvfa/node_modules/@mui/icons-material/esm/ToggleOn.js","../../src/store/documentSlice.ts","../../src/hooks/api/file.ts","../../src/hooks/useFileExport.ts","../../src/components/common/DownloadMenu.tsx","../../src/utils/expire.ts","../../../node_modules/.pnpm/moment@2.30.1/node_modules/moment/dist/moment.js","../../src/hooks/api/workspaceDocument.ts","../../../node_modules/.pnpm/clipboardy@4.0.0/node_modules/clipboardy/browser.js","../../src/components/modals/ShareModal.tsx","../../src/components/common/ShareButton.tsx","../../../node_modules/.pnpm/@codemirror+state@6.4.1/node_modules/@codemirror/state/dist/index.js","../../../node_modules/.pnpm/style-mod@4.1.2/node_modules/style-mod/src/style-mod.js","../../../node_modules/.pnpm/w3c-keyname@2.2.8/node_modules/w3c-keyname/index.js","../../../node_modules/.pnpm/@codemirror+view@6.23.1/node_modules/@codemirror/view/dist/index.js","../../../node_modules/.pnpm/@lezer+common@1.2.1/node_modules/@lezer/common/dist/index.js","../../../node_modules/.pnpm/@lezer+highlight@1.2.1/node_modules/@lezer/highlight/dist/index.js","../../../node_modules/.pnpm/@codemirror+language@6.10.3/node_modules/@codemirror/language/dist/index.js","../../../node_modules/.pnpm/@codemirror+commands@6.1.2/node_modules/@codemirror/commands/dist/index.js","../../../node_modules/.pnpm/crelt@1.0.6/node_modules/crelt/index.js","../../../node_modules/.pnpm/@codemirror+search@6.5.6/node_modules/@codemirror/search/dist/index.js","../../../node_modules/.pnpm/@codemirror+autocomplete@6.18.1_@codemirror+language@6.10.3_@codemirror+state@6.4.1_@codemirr_bjzj46h4wu72xzzxjyoav73paa/node_modules/@codemirror/autocomplete/dist/index.js","../../../node_modules/.pnpm/@codemirror+lint@6.8.1/node_modules/@codemirror/lint/dist/index.js","../../src/components/headers/UserPresenceList.tsx","../../src/store/configSlice.ts","../../src/hooks/useCurrentTheme.ts","../../src/components/popovers/DocumentPopover.tsx","../../src/components/headers/DocumentHeader.tsx","../../src/components/layouts/DocumentLayout.tsx","../../src/components/layouts/MainLayout.tsx","../../src/components/popovers/ProfilePopover.tsx","../../src/components/icons/CodePairIcon.tsx","../../src/components/headers/SettingHeader.tsx","../../src/components/layouts/SettingLayout.tsx","../../src/hooks/api/workspace.ts","../../../node_modules/.pnpm/react-infinite-scroller@1.2.6_react@18.3.1/node_modules/react-infinite-scroller/src/InfiniteScroll.js","../../src/components/modals/CreateModal.tsx","../../src/components/popovers/WorkspaceListPopover.tsx","../../src/constants/layout.ts","../../src/components/headers/WorkspaceHeader.tsx","../../src/components/drawers/WorkspaceDrawer.tsx","../../src/components/layouts/WorkspaceLayout.tsx","../../../node_modules/.pnpm/react-social-login-buttons@3.9.1_react@18.3.1/node_modules/react-social-login-buttons/dist/index.js","../../src/pages/Index.tsx","../../src/pages/auth/callback/Index.tsx","../../src/pages/error/index.tsx","../../src/pages/settings/profile/Index.tsx","../../src/components/cards/DocumentCard.tsx","../../src/pages/workspace/Index.tsx","../../../node_modules/.pnpm/@react-hook+latest@1.0.3_react@18.3.1/node_modules/@react-hook/latest/dist/module/index.js","../../../node_modules/.pnpm/@react-hook+debounce@3.0.0_react@18.3.1/node_modules/@react-hook/debounce/dist/module/index.js","../../../node_modules/.pnpm/@react-hook+event@1.2.6_react@18.3.1/node_modules/@react-hook/event/dist/module/index.js","../../../node_modules/.pnpm/@react-hook+window-size@3.1.1_react@18.3.1/node_modules/@react-hook/window-size/dist/module/index.js","../../../node_modules/.pnpm/react-resizable-layout@0.7.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-resizable-layout/lib/index.module.js","../../../node_modules/.pnpm/react-scroll-sync@0.11.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-scroll-sync/dist/index.js","../../../node_modules/.pnpm/@lezer+markdown@1.3.1/node_modules/@lezer/markdown/dist/index.js","../../../node_modules/.pnpm/@lezer+lr@1.4.2/node_modules/@lezer/lr/dist/index.js","../../../node_modules/.pnpm/@lezer+html@1.3.10/node_modules/@lezer/html/dist/index.js","../../../node_modules/.pnpm/@lezer+css@1.1.9/node_modules/@lezer/css/dist/index.js","../../../node_modules/.pnpm/@codemirror+lang-css@6.3.0_@codemirror+view@6.23.1/node_modules/@codemirror/lang-css/dist/index.js","../../../node_modules/.pnpm/@lezer+javascript@1.4.18/node_modules/@lezer/javascript/dist/index.js","../../../node_modules/.pnpm/@codemirror+lang-javascript@6.2.2/node_modules/@codemirror/lang-javascript/dist/index.js","../../../node_modules/.pnpm/@codemirror+lang-html@6.4.9/node_modules/@codemirror/lang-html/dist/index.js","../../../node_modules/.pnpm/@codemirror+lang-markdown@6.2.5/node_modules/@codemirror/lang-markdown/dist/index.js","../../../node_modules/.pnpm/@replit+codemirror-vim@6.2.1_@codemirror+commands@6.1.2_@codemirror+language@6.10.3_@codemirr_sgitmttherfffrhn4d7cefxr4e/node_modules/@replit/codemirror-vim/dist/index.js","../../../node_modules/.pnpm/@uiw+codemirror-extensions-basic-setup@4.23.3_@codemirror+autocomplete@6.18.1_@codemirror+lan_v5nckgqsvmugb3runq7s7ipniu/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.js","../../../node_modules/.pnpm/@uiw+codemirror-themes@4.23.3_@codemirror+language@6.10.3_@codemirror+state@6.4.1_@codemirror+view@6.23.1/node_modules/@uiw/codemirror-themes/esm/index.js","../../../node_modules/.pnpm/@uiw+codemirror-theme-xcode@4.23.3_@codemirror+language@6.10.3_@codemirror+state@6.4.1_@codemirror+view@6.23.1/node_modules/@uiw/codemirror-theme-xcode/esm/index.js","../../src/hooks/useFormatUtils.ts","../../src/hooks/useToolBar.ts","../../src/utils/imageUploader.ts","../../../node_modules/.pnpm/lib0@0.2.97/node_modules/lib0/pair.js","../../../node_modules/.pnpm/lib0@0.2.97/node_modules/lib0/dom.js","../../src/constants/intelligence.ts","../../src/utils/intelligence/intelligencePivot.ts","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/util/assertString.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/toDate.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/alpha.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isFloat.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/toFloat.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/toInt.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/toBoolean.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/equals.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/util/toString.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/util/merge.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/contains.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/matches.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isByteLength.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isFQDN.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isIP.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isEmail.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isURL.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isMACAddress.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isIPRange.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isDate.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isTime.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isBoolean.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isLocale.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isAbaRouting.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isAlpha.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isAlphanumeric.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isNumeric.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isPassportNumber.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isInt.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isPort.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isLowercase.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isUppercase.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isIMEI.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isAscii.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isFullWidth.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isHalfWidth.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isVariableWidth.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isMultibyte.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/util/multilineRegex.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isSemVer.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isSurrogatePair.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/util/includes.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isDecimal.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isHexadecimal.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isOctal.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isDivisibleBy.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isHexColor.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isRgbColor.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isHSL.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isISRC.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isIBAN.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isISO31661Alpha2.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isBIC.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isMD5.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isHash.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isBase64.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isJWT.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isJSON.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isEmpty.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isLength.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isUUID.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isMongoId.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isAfter.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isBefore.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isIn.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isLuhnNumber.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isCreditCard.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isIdentityCard.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isEAN.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isISIN.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isISBN.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isISSN.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/util/algorithms.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isTaxID.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isMobilePhone.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isEthereumAddress.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isCurrency.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isBtcAddress.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isISO6346.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isISO6391.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isISO8601.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isRFC3339.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isISO31661Alpha3.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isISO4217.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isBase32.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isBase58.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isDataURI.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isMagnetURI.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/rtrim.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/ltrim.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/trim.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isMailtoURI.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isMimeType.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isLatLong.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isPostalCode.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/escape.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/unescape.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/blacklist.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/stripLow.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/whitelist.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isWhitelisted.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/normalizeEmail.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isSlug.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isLicensePlate.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isStrongPassword.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isVAT.js","../../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/index.js","../../src/utils/urlHyperlinkInserter.ts","../../../node_modules/.pnpm/yorkie-js-sdk@0.5.4/node_modules/yorkie-js-sdk/dist/yorkie-js-sdk.js","../../src/utils/yorkie/yorkieSync.ts","../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js","../../src/utils/yorkie/remoteSelection.ts","../../src/utils/yorkie/index.ts","../../src/components/editor/EditorBottomBar.tsx","../../src/components/common/TooltipToggleButton.tsx","../../../node_modules/.pnpm/remove-accents@0.5.0/node_modules/remove-accents/index.js","../../../node_modules/.pnpm/match-sorter@6.3.4/node_modules/match-sorter/dist/match-sorter.esm.js","../../src/components/editor/YorkieIntelligenceFeatureList.tsx","../../src/hooks/api/intelligence.ts","../../../node_modules/.pnpm/unist-util-is@6.0.0/node_modules/unist-util-is/lib/index.js","../../../node_modules/.pnpm/unist-util-visit-parents@6.0.1/node_modules/unist-util-visit-parents/lib/index.js","../../../node_modules/.pnpm/unist-util-visit@5.0.0/node_modules/unist-util-visit/lib/index.js","../../../node_modules/.pnpm/hast-util-to-string@3.0.0/node_modules/hast-util-to-string/lib/index.js","../../../node_modules/.pnpm/unist-util-filter@5.0.1/node_modules/unist-util-filter/lib/index.js","../../../node_modules/.pnpm/parse-numeric-range@1.3.0/node_modules/parse-numeric-range/index.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/clike.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/c.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/cpp.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/arduino.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/bash.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/csharp.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/markup.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/css.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/diff.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/go.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/ini.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/java.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/regex.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/javascript.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/json.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/kotlin.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/less.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/lua.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/makefile.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/yaml.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/markdown.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/objectivec.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/perl.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/markup-templating.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/php.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/python.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/r.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/ruby.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/rust.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/sass.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/scss.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/sql.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/swift.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/typescript.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/basic.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/vbnet.js","../../../node_modules/.pnpm/property-information@6.5.0/node_modules/property-information/lib/util/schema.js","../../../node_modules/.pnpm/property-information@6.5.0/node_modules/property-information/lib/util/merge.js","../../../node_modules/.pnpm/property-information@6.5.0/node_modules/property-information/lib/normalize.js","../../../node_modules/.pnpm/property-information@6.5.0/node_modules/property-information/lib/util/info.js","../../../node_modules/.pnpm/property-information@6.5.0/node_modules/property-information/lib/util/types.js","../../../node_modules/.pnpm/property-information@6.5.0/node_modules/property-information/lib/util/defined-info.js","../../../node_modules/.pnpm/property-information@6.5.0/node_modules/property-information/lib/util/create.js","../../../node_modules/.pnpm/property-information@6.5.0/node_modules/property-information/lib/xlink.js","../../../node_modules/.pnpm/property-information@6.5.0/node_modules/property-information/lib/xml.js","../../../node_modules/.pnpm/property-information@6.5.0/node_modules/property-information/lib/util/case-sensitive-transform.js","../../../node_modules/.pnpm/property-information@6.5.0/node_modules/property-information/lib/util/case-insensitive-transform.js","../../../node_modules/.pnpm/property-information@6.5.0/node_modules/property-information/lib/xmlns.js","../../../node_modules/.pnpm/property-information@6.5.0/node_modules/property-information/lib/aria.js","../../../node_modules/.pnpm/property-information@6.5.0/node_modules/property-information/lib/html.js","../../../node_modules/.pnpm/property-information@6.5.0/node_modules/property-information/lib/svg.js","../../../node_modules/.pnpm/property-information@6.5.0/node_modules/property-information/lib/find.js","../../../node_modules/.pnpm/property-information@6.5.0/node_modules/property-information/lib/hast-to-react.js","../../../node_modules/.pnpm/property-information@6.5.0/node_modules/property-information/index.js","../../../node_modules/.pnpm/hast-util-parse-selector@3.1.1/node_modules/hast-util-parse-selector/lib/index.js","../../../node_modules/.pnpm/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.js","../../../node_modules/.pnpm/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens/index.js","../../../node_modules/.pnpm/hastscript@7.2.0/node_modules/hastscript/lib/core.js","../../../node_modules/.pnpm/hastscript@7.2.0/node_modules/hastscript/lib/html.js","../../../node_modules/.pnpm/character-entities-legacy@3.0.0/node_modules/character-entities-legacy/index.js","../../../node_modules/.pnpm/character-reference-invalid@2.0.1/node_modules/character-reference-invalid/index.js","../../../node_modules/.pnpm/is-decimal@2.0.1/node_modules/is-decimal/index.js","../../../node_modules/.pnpm/is-hexadecimal@2.0.1/node_modules/is-hexadecimal/index.js","../../../node_modules/.pnpm/is-alphabetical@2.0.1/node_modules/is-alphabetical/index.js","../../../node_modules/.pnpm/is-alphanumerical@2.0.1/node_modules/is-alphanumerical/index.js","../../../node_modules/.pnpm/decode-named-character-reference@1.0.2/node_modules/decode-named-character-reference/index.dom.js","../../../node_modules/.pnpm/parse-entities@4.0.1/node_modules/parse-entities/lib/index.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lib/prism-core.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lib/core.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lib/common.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/abap.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/abnf.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/actionscript.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/ada.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/agda.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/al.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/antlr4.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/apacheconf.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/apex.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/apl.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/applescript.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/aql.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/arff.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/armasm.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/arturo.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/asciidoc.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/aspnet.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/asm6502.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/asmatmel.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/autohotkey.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/autoit.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/avisynth.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/avro-idl.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/awk.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/batch.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/bbcode.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/bbj.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/bicep.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/birb.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/bison.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/bnf.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/bqn.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/brainfuck.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/brightscript.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/bro.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/bsl.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/cfscript.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/chaiscript.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/cil.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/cilkc.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/cilkcpp.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/clojure.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/cmake.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/cobol.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/coffeescript.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/concurnas.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/csp.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/cooklang.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/coq.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/crystal.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/css-extras.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/csv.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/cue.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/cypher.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/d.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/dart.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/dataweave.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/dax.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/dhall.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/django.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/dns-zone-file.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/docker.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/dot.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/ebnf.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/editorconfig.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/eiffel.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/ejs.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/elixir.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/elm.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/etlua.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/erb.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/erlang.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/excel-formula.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/fsharp.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/factor.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/false.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/firestore-security-rules.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/flow.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/fortran.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/ftl.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/gml.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/gap.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/gcode.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/gdscript.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/gedcom.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/gettext.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/gherkin.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/git.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/glsl.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/gn.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/linker-script.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/go-module.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/gradle.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/graphql.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/groovy.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/textile.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/haml.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/handlebars.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/haskell.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/haxe.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/hcl.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/hlsl.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/hoon.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/hpkp.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/hsts.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/uri.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/http.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/ichigojam.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/icon.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/icu-message-format.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/idris.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/ignore.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/inform7.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/io.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/j.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/javadoclike.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/scala.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/javadoc.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/javastacktrace.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/jexl.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/jolie.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/jq.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/js-templates.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/jsdoc.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/n4js.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/js-extras.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/json5.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/jsonp.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/jsstacktrace.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/julia.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/keepalived.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/keyman.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/kumir.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/kusto.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/latex.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/latte.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/scheme.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/lilypond.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/liquid.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/lisp.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/livescript.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/llvm.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/log.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/lolcode.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/magma.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/mata.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/matlab.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/maxscript.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/mel.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/mermaid.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/metafont.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/mizar.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/mongodb.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/monkey.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/moonscript.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/n1ql.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/nand2tetris-hdl.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/naniscript.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/nasm.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/neon.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/nevod.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/nginx.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/nim.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/nix.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/nsis.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/ocaml.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/odin.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/opencl.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/openqasm.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/oz.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/parigp.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/parser.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/pascal.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/pascaligo.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/psl.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/pcaxis.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/peoplecode.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/phpdoc.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/php-extras.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/plant-uml.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/plsql.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/powerquery.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/powershell.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/processing.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/prolog.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/promql.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/properties.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/protobuf.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/stylus.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/twig.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/pug.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/puppet.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/pure.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/purebasic.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/purescript.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/qsharp.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/q.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/qml.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/qore.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/racket.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/cshtml.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/jsx.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/tsx.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/reason.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/rego.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/renpy.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/rescript.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/rest.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/rip.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/roboconf.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/robotframework.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/sas.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/shell-session.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/smali.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/smalltalk.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/smarty.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/sml.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/solidity.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/solution-file.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/soy.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/turtle.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/sparql.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/splunk-spl.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/sqf.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/squirrel.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/stan.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/stata.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/iecst.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/supercollider.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/systemd.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/t4-templating.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/t4-cs.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/t4-vb.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/tap.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/tcl.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/tt2.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/toml.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/tremor.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/typoscript.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/unrealscript.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/uorazor.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/v.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/vala.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/velocity.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/verilog.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/vhdl.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/vim.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/visual-basic.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/warpscript.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/wasm.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/web-idl.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/wgsl.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/wiki.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/wolfram.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/wren.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/xeora.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/xml-doc.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/xojo.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/xquery.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/yang.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lang/zig.js","../../../node_modules/.pnpm/refractor@4.8.1/node_modules/refractor/lib/all.js","../../../node_modules/.pnpm/rehype-prism-plus@2.0.0/node_modules/rehype-prism-plus/dist/index.es.js","../../../node_modules/.pnpm/css-selector-parser@3.0.5/node_modules/css-selector-parser/dist/mjs/indexes.js","../../../node_modules/.pnpm/css-selector-parser@3.0.5/node_modules/css-selector-parser/dist/mjs/pseudo-signatures.js","../../../node_modules/.pnpm/css-selector-parser@3.0.5/node_modules/css-selector-parser/dist/mjs/syntax-definitions.js","../../../node_modules/.pnpm/css-selector-parser@3.0.5/node_modules/css-selector-parser/dist/mjs/utils.js","../../../node_modules/.pnpm/css-selector-parser@3.0.5/node_modules/css-selector-parser/dist/mjs/parser.js","../../../node_modules/.pnpm/css-selector-parser@3.0.5/node_modules/css-selector-parser/dist/mjs/ast.js","../../../node_modules/.pnpm/hast-util-select@6.0.2/node_modules/hast-util-select/lib/parse.js","../../../node_modules/.pnpm/direction@2.0.1/node_modules/direction/index.js","../../../node_modules/.pnpm/hast-util-select@6.0.2/node_modules/hast-util-select/lib/enter-state.js","../../../node_modules/.pnpm/hast-util-select@6.0.2/node_modules/hast-util-select/lib/attribute.js","../../../node_modules/.pnpm/hast-util-select@6.0.2/node_modules/hast-util-select/lib/class-name.js","../../../node_modules/.pnpm/hast-util-select@6.0.2/node_modules/hast-util-select/lib/id.js","../../../node_modules/.pnpm/hast-util-select@6.0.2/node_modules/hast-util-select/lib/name.js","../../../node_modules/.pnpm/bcp-47-match@2.0.3/node_modules/bcp-47-match/index.js","../../../node_modules/.pnpm/hast-util-has-property@3.0.0/node_modules/hast-util-has-property/lib/index.js","../../../node_modules/.pnpm/hast-util-whitespace@3.0.0/node_modules/hast-util-whitespace/lib/index.js","../../../node_modules/.pnpm/nth-check@2.1.1/node_modules/nth-check/lib/esm/parse.js","../../../node_modules/.pnpm/boolbase@1.0.0/node_modules/boolbase/index.js","../../../node_modules/.pnpm/nth-check@2.1.1/node_modules/nth-check/lib/esm/compile.js","../../../node_modules/.pnpm/nth-check@2.1.1/node_modules/nth-check/lib/esm/index.js","../../../node_modules/.pnpm/zwitch@2.0.4/node_modules/zwitch/index.js","../../../node_modules/.pnpm/hast-util-select@6.0.2/node_modules/hast-util-select/lib/pseudo.js","../../../node_modules/.pnpm/hast-util-select@6.0.2/node_modules/hast-util-select/lib/test.js","../../../node_modules/.pnpm/hast-util-select@6.0.2/node_modules/hast-util-select/lib/walk.js","../../../node_modules/.pnpm/hast-util-select@6.0.2/node_modules/hast-util-select/lib/index.js","../../../node_modules/.pnpm/rehype-rewrite@4.0.2/node_modules/rehype-rewrite/lib/index.js","../../../node_modules/.pnpm/rehype-attr@3.0.3/node_modules/rehype-attr/lib/utils.js","../../../node_modules/.pnpm/rehype-attr@3.0.3/node_modules/rehype-attr/lib/index.js","../../../node_modules/.pnpm/@ungap+structured-clone@1.2.0/node_modules/@ungap/structured-clone/esm/types.js","../../../node_modules/.pnpm/@ungap+structured-clone@1.2.0/node_modules/@ungap/structured-clone/esm/deserialize.js","../../../node_modules/.pnpm/@ungap+structured-clone@1.2.0/node_modules/@ungap/structured-clone/esm/serialize.js","../../../node_modules/.pnpm/@ungap+structured-clone@1.2.0/node_modules/@ungap/structured-clone/esm/index.js","../../../node_modules/.pnpm/hast-util-parse-selector@4.0.0/node_modules/hast-util-parse-selector/lib/index.js","../../../node_modules/.pnpm/hastscript@8.0.0/node_modules/hastscript/lib/create-h.js","../../../node_modules/.pnpm/hastscript@8.0.0/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js","../../../node_modules/.pnpm/hastscript@8.0.0/node_modules/hastscript/lib/index.js","../../../node_modules/.pnpm/vfile-location@5.0.3/node_modules/vfile-location/lib/index.js","../../../node_modules/.pnpm/web-namespaces@2.0.1/node_modules/web-namespaces/index.js","../../../node_modules/.pnpm/hast-util-from-parse5@8.0.1/node_modules/hast-util-from-parse5/lib/index.js","../../../node_modules/.pnpm/hast-util-to-parse5@8.0.0/node_modules/hast-util-to-parse5/lib/index.js","../../../node_modules/.pnpm/html-void-elements@3.0.0/node_modules/html-void-elements/index.js","../../../node_modules/.pnpm/parse5@7.1.2/node_modules/parse5/dist/common/unicode.js","../../../node_modules/.pnpm/parse5@7.1.2/node_modules/parse5/dist/common/error-codes.js","../../../node_modules/.pnpm/parse5@7.1.2/node_modules/parse5/dist/tokenizer/preprocessor.js","../../../node_modules/.pnpm/parse5@7.1.2/node_modules/parse5/dist/common/token.js","../../../node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.js","../../../node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.js","../../../node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.js","../../../node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.js","../../../node_modules/.pnpm/parse5@7.1.2/node_modules/parse5/dist/common/html.js","../../../node_modules/.pnpm/parse5@7.1.2/node_modules/parse5/dist/tokenizer/index.js","../../../node_modules/.pnpm/parse5@7.1.2/node_modules/parse5/dist/parser/open-element-stack.js","../../../node_modules/.pnpm/parse5@7.1.2/node_modules/parse5/dist/parser/formatting-element-list.js","../../../node_modules/.pnpm/parse5@7.1.2/node_modules/parse5/dist/tree-adapters/default.js","../../../node_modules/.pnpm/parse5@7.1.2/node_modules/parse5/dist/common/doctype.js","../../../node_modules/.pnpm/parse5@7.1.2/node_modules/parse5/dist/common/foreign-content.js","../../../node_modules/.pnpm/parse5@7.1.2/node_modules/parse5/dist/parser/index.js","../../../node_modules/.pnpm/parse5@7.1.2/node_modules/parse5/dist/serializer/index.js","../../../node_modules/.pnpm/unist-util-position@5.0.0/node_modules/unist-util-position/lib/index.js","../../../node_modules/.pnpm/hast-util-raw@9.0.4/node_modules/hast-util-raw/lib/index.js","../../../node_modules/.pnpm/rehype-raw@7.0.0/node_modules/rehype-raw/lib/index.js","../../../node_modules/.pnpm/estree-util-is-identifier-name@3.0.0/node_modules/estree-util-is-identifier-name/lib/index.js","../../../node_modules/.pnpm/inline-style-parser@0.2.4/node_modules/inline-style-parser/index.js","../../../node_modules/.pnpm/style-to-object@1.0.8/node_modules/style-to-object/cjs/index.js","../../../node_modules/.pnpm/style-to-object@1.0.8/node_modules/style-to-object/esm/index.mjs","../../../node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/lib/index.js","../../../node_modules/.pnpm/vfile-message@4.0.2/node_modules/vfile-message/lib/index.js","../../../node_modules/.pnpm/hast-util-to-jsx-runtime@2.3.0/node_modules/hast-util-to-jsx-runtime/lib/index.js","../../../node_modules/.pnpm/html-url-attributes@3.0.0/node_modules/html-url-attributes/lib/index.js","../../../node_modules/.pnpm/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string/lib/index.js","../../../node_modules/.pnpm/micromark-util-chunked@2.0.0/node_modules/micromark-util-chunked/index.js","../../../node_modules/.pnpm/micromark-util-combine-extensions@2.0.0/node_modules/micromark-util-combine-extensions/index.js","../../../node_modules/.pnpm/micromark-util-decode-numeric-character-reference@2.0.1/node_modules/micromark-util-decode-numeric-character-reference/index.js","../../../node_modules/.pnpm/micromark-util-normalize-identifier@2.0.0/node_modules/micromark-util-normalize-identifier/index.js","../../../node_modules/.pnpm/micromark-util-character@2.1.0/node_modules/micromark-util-character/index.js","../../../node_modules/.pnpm/micromark-util-sanitize-uri@2.0.0/node_modules/micromark-util-sanitize-uri/index.js","../../../node_modules/.pnpm/micromark-factory-space@2.0.0/node_modules/micromark-factory-space/index.js","../../../node_modules/.pnpm/micromark@4.0.0/node_modules/micromark/lib/initialize/content.js","../../../node_modules/.pnpm/micromark@4.0.0/node_modules/micromark/lib/initialize/document.js","../../../node_modules/.pnpm/micromark-util-classify-character@2.0.0/node_modules/micromark-util-classify-character/index.js","../../../node_modules/.pnpm/micromark-util-resolve-all@2.0.0/node_modules/micromark-util-resolve-all/index.js","../../../node_modules/.pnpm/micromark-core-commonmark@2.0.1/node_modules/micromark-core-commonmark/lib/attention.js","../../../node_modules/.pnpm/micromark-core-commonmark@2.0.1/node_modules/micromark-core-commonmark/lib/autolink.js","../../../node_modules/.pnpm/micromark-core-commonmark@2.0.1/node_modules/micromark-core-commonmark/lib/blank-line.js","../../../node_modules/.pnpm/micromark-core-commonmark@2.0.1/node_modules/micromark-core-commonmark/lib/block-quote.js","../../../node_modules/.pnpm/micromark-core-commonmark@2.0.1/node_modules/micromark-core-commonmark/lib/character-escape.js","../../../node_modules/.pnpm/micromark-core-commonmark@2.0.1/node_modules/micromark-core-commonmark/lib/character-reference.js","../../../node_modules/.pnpm/micromark-core-commonmark@2.0.1/node_modules/micromark-core-commonmark/lib/code-fenced.js","../../../node_modules/.pnpm/micromark-core-commonmark@2.0.1/node_modules/micromark-core-commonmark/lib/code-indented.js","../../../node_modules/.pnpm/micromark-core-commonmark@2.0.1/node_modules/micromark-core-commonmark/lib/code-text.js","../../../node_modules/.pnpm/micromark-util-subtokenize@2.0.1/node_modules/micromark-util-subtokenize/lib/splice-buffer.js","../../../node_modules/.pnpm/micromark-util-subtokenize@2.0.1/node_modules/micromark-util-subtokenize/index.js","../../../node_modules/.pnpm/micromark-core-commonmark@2.0.1/node_modules/micromark-core-commonmark/lib/content.js","../../../node_modules/.pnpm/micromark-factory-destination@2.0.0/node_modules/micromark-factory-destination/index.js","../../../node_modules/.pnpm/micromark-factory-label@2.0.0/node_modules/micromark-factory-label/index.js","../../../node_modules/.pnpm/micromark-factory-title@2.0.0/node_modules/micromark-factory-title/index.js","../../../node_modules/.pnpm/micromark-factory-whitespace@2.0.0/node_modules/micromark-factory-whitespace/index.js","../../../node_modules/.pnpm/micromark-core-commonmark@2.0.1/node_modules/micromark-core-commonmark/lib/definition.js","../../../node_modules/.pnpm/micromark-core-commonmark@2.0.1/node_modules/micromark-core-commonmark/lib/hard-break-escape.js","../../../node_modules/.pnpm/micromark-core-commonmark@2.0.1/node_modules/micromark-core-commonmark/lib/heading-atx.js","../../../node_modules/.pnpm/micromark-util-html-tag-name@2.0.0/node_modules/micromark-util-html-tag-name/index.js","../../../node_modules/.pnpm/micromark-core-commonmark@2.0.1/node_modules/micromark-core-commonmark/lib/html-flow.js","../../../node_modules/.pnpm/micromark-core-commonmark@2.0.1/node_modules/micromark-core-commonmark/lib/html-text.js","../../../node_modules/.pnpm/micromark-core-commonmark@2.0.1/node_modules/micromark-core-commonmark/lib/label-end.js","../../../node_modules/.pnpm/micromark-core-commonmark@2.0.1/node_modules/micromark-core-commonmark/lib/label-start-image.js","../../../node_modules/.pnpm/micromark-core-commonmark@2.0.1/node_modules/micromark-core-commonmark/lib/label-start-link.js","../../../node_modules/.pnpm/micromark-core-commonmark@2.0.1/node_modules/micromark-core-commonmark/lib/line-ending.js","../../../node_modules/.pnpm/micromark-core-commonmark@2.0.1/node_modules/micromark-core-commonmark/lib/thematic-break.js","../../../node_modules/.pnpm/micromark-core-commonmark@2.0.1/node_modules/micromark-core-commonmark/lib/list.js","../../../node_modules/.pnpm/micromark-core-commonmark@2.0.1/node_modules/micromark-core-commonmark/lib/setext-underline.js","../../../node_modules/.pnpm/micromark@4.0.0/node_modules/micromark/lib/initialize/flow.js","../../../node_modules/.pnpm/micromark@4.0.0/node_modules/micromark/lib/initialize/text.js","../../../node_modules/.pnpm/micromark@4.0.0/node_modules/micromark/lib/create-tokenizer.js","../../../node_modules/.pnpm/micromark@4.0.0/node_modules/micromark/lib/constructs.js","../../../node_modules/.pnpm/micromark@4.0.0/node_modules/micromark/lib/parse.js","../../../node_modules/.pnpm/micromark@4.0.0/node_modules/micromark/lib/postprocess.js","../../../node_modules/.pnpm/micromark@4.0.0/node_modules/micromark/lib/preprocess.js","../../../node_modules/.pnpm/micromark-util-decode-string@2.0.0/node_modules/micromark-util-decode-string/index.js","../../../node_modules/.pnpm/mdast-util-from-markdown@2.0.1/node_modules/mdast-util-from-markdown/lib/index.js","../../../node_modules/.pnpm/remark-parse@11.0.0/node_modules/remark-parse/lib/index.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/break.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/code.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/delete.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/heading.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/html.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/revert.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/image.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/link.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/list-item.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/list.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/root.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/strong.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/table.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/table-row.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js","../../../node_modules/.pnpm/trim-lines@3.0.1/node_modules/trim-lines/index.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/text.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/index.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/footer.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/state.js","../../../node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/index.js","../../../node_modules/.pnpm/remark-rehype@11.1.1/node_modules/remark-rehype/lib/index.js","../../../node_modules/.pnpm/bail@2.0.2/node_modules/bail/index.js","../../../node_modules/.pnpm/extend@3.0.2/node_modules/extend/index.js","../../../node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.js","../../../node_modules/.pnpm/trough@2.2.0/node_modules/trough/lib/index.js","../../../node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minpath.browser.js","../../../node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minproc.browser.js","../../../node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minurl.shared.js","../../../node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minurl.browser.js","../../../node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/index.js","../../../node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/callable-instance.js","../../../node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/index.js","../../../node_modules/.pnpm/react-markdown@9.0.1_@types+react@18.3.8_react@18.3.1/node_modules/react-markdown/lib/index.js","../../../node_modules/.pnpm/ccount@2.0.1/node_modules/ccount/index.js","../../../node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js","../../../node_modules/.pnpm/mdast-util-find-and-replace@3.0.1/node_modules/mdast-util-find-and-replace/lib/index.js","../../../node_modules/.pnpm/mdast-util-gfm-autolink-literal@2.0.1/node_modules/mdast-util-gfm-autolink-literal/lib/index.js","../../../node_modules/.pnpm/mdast-util-gfm-footnote@2.0.0/node_modules/mdast-util-gfm-footnote/lib/index.js","../../../node_modules/.pnpm/mdast-util-gfm-strikethrough@2.0.0/node_modules/mdast-util-gfm-strikethrough/lib/index.js","../../../node_modules/.pnpm/markdown-table@3.0.3/node_modules/markdown-table/index.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/handle/break.js","../../../node_modules/.pnpm/longest-streak@3.1.0/node_modules/longest-streak/index.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/util/check-fence.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/handle/code.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/util/check-quote.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/handle/definition.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/handle/heading.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/handle/html.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/handle/image.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/handle/link.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/util/check-rule.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/handle/list.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/handle/list-item.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js","../../../node_modules/.pnpm/mdast-util-phrasing@4.1.0/node_modules/mdast-util-phrasing/lib/index.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/handle/root.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/util/check-strong.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/handle/strong.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/handle/text.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js","../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.0/node_modules/mdast-util-to-markdown/lib/handle/index.js","../../../node_modules/.pnpm/mdast-util-gfm-table@2.0.0/node_modules/mdast-util-gfm-table/lib/index.js","../../../node_modules/.pnpm/mdast-util-gfm-task-list-item@2.0.0/node_modules/mdast-util-gfm-task-list-item/lib/index.js","../../../node_modules/.pnpm/mdast-util-gfm@3.0.0/node_modules/mdast-util-gfm/lib/index.js","../../../node_modules/.pnpm/micromark-extension-gfm-autolink-literal@2.1.0/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js","../../../node_modules/.pnpm/micromark-extension-gfm-footnote@2.1.0/node_modules/micromark-extension-gfm-footnote/lib/syntax.js","../../../node_modules/.pnpm/micromark-extension-gfm-strikethrough@2.1.0/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js","../../../node_modules/.pnpm/micromark-extension-gfm-table@2.1.0/node_modules/micromark-extension-gfm-table/lib/edit-map.js","../../../node_modules/.pnpm/micromark-extension-gfm-table@2.1.0/node_modules/micromark-extension-gfm-table/lib/infer.js","../../../node_modules/.pnpm/micromark-extension-gfm-table@2.1.0/node_modules/micromark-extension-gfm-table/lib/syntax.js","../../../node_modules/.pnpm/micromark-extension-gfm-task-list-item@2.1.0/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js","../../../node_modules/.pnpm/micromark-extension-gfm@3.0.0/node_modules/micromark-extension-gfm/index.js","../../../node_modules/.pnpm/remark-gfm@4.0.0/node_modules/remark-gfm/lib/index.js","../../../node_modules/.pnpm/remark-github-blockquote-alert@1.2.1/node_modules/remark-github-blockquote-alert/lib/index.js","../../../node_modules/.pnpm/@uiw+copy-to-clipboard@1.0.17/node_modules/@uiw/copy-to-clipboard/dist/copy-to-clipboard.esm.js","../../../node_modules/.pnpm/@uiw+react-markdown-preview@5.1.3_@types+react@18.3.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@uiw/react-markdown-preview/esm/plugins/useCopied.js","../../../node_modules/.pnpm/@uiw+react-markdown-preview@5.1.3_@types+react@18.3.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@uiw/react-markdown-preview/esm/preview.js","../../../node_modules/.pnpm/@uiw+react-markdown-preview@5.1.3_@types+react@18.3.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@uiw/react-markdown-preview/esm/plugins/reservedMeta.js","../../../node_modules/.pnpm/@uiw+react-markdown-preview@5.1.3_@types+react@18.3.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@uiw/react-markdown-preview/esm/plugins/retrieveMeta.js","../../../node_modules/.pnpm/github-slugger@2.0.0/node_modules/github-slugger/regex.js","../../../node_modules/.pnpm/github-slugger@2.0.0/node_modules/github-slugger/index.js","../../../node_modules/.pnpm/hast-util-heading-rank@3.0.0/node_modules/hast-util-heading-rank/lib/index.js","../../../node_modules/.pnpm/rehype-slug@6.0.0/node_modules/rehype-slug/lib/index.js","../../../node_modules/.pnpm/hast-util-is-element@3.0.0/node_modules/hast-util-is-element/lib/index.js","../../../node_modules/.pnpm/rehype-autolink-headings@7.1.0/node_modules/rehype-autolink-headings/lib/index.js","../../../node_modules/.pnpm/rehype-ignore@2.0.2/node_modules/rehype-ignore/lib/index.js","../../../node_modules/.pnpm/@uiw+react-markdown-preview@5.1.3_@types+react@18.3.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@uiw/react-markdown-preview/esm/nodes/octiconLink.js","../../../node_modules/.pnpm/@uiw+react-markdown-preview@5.1.3_@types+react@18.3.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@uiw/react-markdown-preview/esm/nodes/copy.js","../../../node_modules/.pnpm/@uiw+react-markdown-preview@5.1.3_@types+react@18.3.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@uiw/react-markdown-preview/esm/rehypePlugins.js","../../../node_modules/.pnpm/@uiw+react-markdown-preview@5.1.3_@types+react@18.3.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@uiw/react-markdown-preview/esm/index.js","../../src/utils/document.ts","../../src/components/editor/YorkieIntelligenceFeature.tsx","../../src/components/modals/CloseIntelligenceModal.tsx","../../src/components/editor/YorkieIntelligenceFooter.tsx","../../src/components/editor/YorkieIntelligence.tsx","../../src/components/editor/ToolBar.tsx","../../src/components/editor/Editor.tsx","../../../node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs","../../../node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs","../../../node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs","../../../node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs","../../../node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs","../../../node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs","../../../node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs","../../../node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs","../../../node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs","../../../node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/utils.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_label.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_title.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/renderer.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/ruler.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/token.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/state_core.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/normalize.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/block.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/inline.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/linkify.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/replacements.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/smartquotes.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/text_join.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_core.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/state_block.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/table.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/code.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/fence.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/blockquote.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/hr.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/list.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/reference.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_blocks.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_re.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/html_block.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/heading.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/lheading.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/paragraph.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_block.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/state_inline.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/text.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/linkify.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/newline.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/escape.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/backticks.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/emphasis.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/link.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/image.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/autolink.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/html_inline.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/entity.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_inline.mjs","../../../node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs","../../../node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs","../../../node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/default.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/zero.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/commonmark.mjs","../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/index.mjs","../../../node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/core.js","../../../node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-hexadecimal.js","../../../node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-decimal.js","../../../node_modules/.pnpm/character-entities-html4@2.1.0/node_modules/character-entities-html4/index.js","../../../node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/constant/dangerous.js","../../../node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-named.js","../../../node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/format-smart.js","../../../node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/index.js","../../../node_modules/.pnpm/hast-util-to-html@9.0.3/node_modules/hast-util-to-html/lib/handle/comment.js","../../../node_modules/.pnpm/hast-util-to-html@9.0.3/node_modules/hast-util-to-html/lib/handle/doctype.js","../../../node_modules/.pnpm/hast-util-to-html@9.0.3/node_modules/hast-util-to-html/lib/omission/util/siblings.js","../../../node_modules/.pnpm/hast-util-to-html@9.0.3/node_modules/hast-util-to-html/lib/omission/omission.js","../../../node_modules/.pnpm/hast-util-to-html@9.0.3/node_modules/hast-util-to-html/lib/omission/closing.js","../../../node_modules/.pnpm/hast-util-to-html@9.0.3/node_modules/hast-util-to-html/lib/omission/opening.js","../../../node_modules/.pnpm/hast-util-to-html@9.0.3/node_modules/hast-util-to-html/lib/handle/element.js","../../../node_modules/.pnpm/hast-util-to-html@9.0.3/node_modules/hast-util-to-html/lib/handle/text.js","../../../node_modules/.pnpm/hast-util-to-html@9.0.3/node_modules/hast-util-to-html/lib/handle/raw.js","../../../node_modules/.pnpm/hast-util-to-html@9.0.3/node_modules/hast-util-to-html/lib/handle/root.js","../../../node_modules/.pnpm/hast-util-to-html@9.0.3/node_modules/hast-util-to-html/lib/handle/index.js","../../../node_modules/.pnpm/hast-util-to-html@9.0.3/node_modules/hast-util-to-html/lib/index.js","../../../node_modules/.pnpm/katex@0.16.11/node_modules/katex/dist/katex.js","../../../node_modules/.pnpm/@vscode+markdown-it-katex@1.1.0/node_modules/@vscode/markdown-it-katex/dist/index.js","../../../node_modules/.pnpm/entities@1.1.2/node_modules/entities/lib/decode_codepoint.js","../../../node_modules/.pnpm/htmlparser2@3.10.1/node_modules/htmlparser2/lib/Tokenizer.js","../../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js","../../../node_modules/.pnpm/events@3.3.0/node_modules/events/events.js","../../../node_modules/.pnpm/htmlparser2@3.10.1/node_modules/htmlparser2/lib/Parser.js","../../../node_modules/.pnpm/markdown-it-incremental-dom@2.1.0_incremental-dom@0.6.0_markdown-it@14.1.0/node_modules/markdown-it-incremental-dom/lib/mixins/renderer.js","../../../node_modules/.pnpm/markdown-it-incremental-dom@2.1.0_incremental-dom@0.6.0_markdown-it@14.1.0/node_modules/markdown-it-incremental-dom/lib/mixins/rules.js","../../../node_modules/.pnpm/markdown-it-incremental-dom@2.1.0_incremental-dom@0.6.0_markdown-it@14.1.0/node_modules/markdown-it-incremental-dom/lib/markdown-it-incremental-dom.js","../../../node_modules/.pnpm/markdown-it-sanitizer@0.4.3/node_modules/markdown-it-sanitizer/index.js","../../../node_modules/.pnpm/markdown-it-task-checkbox@1.0.6/node_modules/markdown-it-task-checkbox/index.js","../../../node_modules/.pnpm/incremental-dom@0.6.0/node_modules/incremental-dom/dist/incremental-dom-cjs.js","../../src/components/editor/Preview.tsx","../../src/components/editor/DocumentView.tsx","../../../node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js","../../../node_modules/.pnpm/is-arrayish@0.3.2/node_modules/is-arrayish/index.js","../../../node_modules/.pnpm/simple-swizzle@0.2.2/node_modules/simple-swizzle/index.js","../../../node_modules/.pnpm/color-string@1.9.1/node_modules/color-string/index.js","../../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/conversions.js","../../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/route.js","../../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/index.js","../../../node_modules/.pnpm/color@4.2.3/node_modules/color/index.js","../../../node_modules/.pnpm/randomcolor@0.6.2/node_modules/randomcolor/randomColor.js","../../src/hooks/useYorkieDocument.ts","../../src/pages/workspace/document/Index.tsx","../../src/hooks/api/document.ts","../../src/pages/workspace/document/share/Index.tsx","../../src/pages/workspace/join/Index.tsx","../../src/hooks/api/workspaceUser.ts","../../src/components/modals/MemberModal.tsx","../../src/pages/workspace/member/Index.tsx","../../src/routes.tsx","../../src/utils/axios.default.ts","../../src/App.tsx","../../../node_modules/.pnpm/redux-persist@6.0.0_react@18.3.1_redux@5.0.1/node_modules/redux-persist/lib/storage/getStorage.js","../../../node_modules/.pnpm/redux-persist@6.0.0_react@18.3.1_redux@5.0.1/node_modules/redux-persist/lib/storage/createWebStorage.js","../../../node_modules/.pnpm/redux-persist@6.0.0_react@18.3.1_redux@5.0.1/node_modules/redux-persist/lib/storage/index.js","../../../node_modules/.pnpm/redux-persist@6.0.0_react@18.3.1_redux@5.0.1/node_modules/redux-persist/es/constants.js","../../../node_modules/.pnpm/redux-persist@6.0.0_react@18.3.1_redux@5.0.1/node_modules/redux-persist/es/stateReconciler/autoMergeLevel1.js","../../../node_modules/.pnpm/redux-persist@6.0.0_react@18.3.1_redux@5.0.1/node_modules/redux-persist/es/createPersistoid.js","../../../node_modules/.pnpm/redux-persist@6.0.0_react@18.3.1_redux@5.0.1/node_modules/redux-persist/es/getStoredState.js","../../../node_modules/.pnpm/redux-persist@6.0.0_react@18.3.1_redux@5.0.1/node_modules/redux-persist/es/purgeStoredState.js","../../../node_modules/.pnpm/redux-persist@6.0.0_react@18.3.1_redux@5.0.1/node_modules/redux-persist/es/persistReducer.js","../../../node_modules/.pnpm/redux-persist@6.0.0_react@18.3.1_redux@5.0.1/node_modules/redux-persist/es/persistStore.js","../../src/store/store.ts","../../../node_modules/.pnpm/redux-persist@6.0.0_react@18.3.1_redux@5.0.1/node_modules/redux-persist/es/integration/react.js","../../../node_modules/.pnpm/react-ga4@2.1.0/node_modules/react-ga4/dist/gtag.js","../../../node_modules/.pnpm/react-ga4@2.1.0/node_modules/react-ga4/dist/format.js","../../../node_modules/.pnpm/react-ga4@2.1.0/node_modules/react-ga4/dist/ga4.js","../../../node_modules/.pnpm/react-ga4@2.1.0/node_modules/react-ga4/dist/index.js","../../src/main.tsx"],"sourcesContent":["/**\n * @license React\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var l=Symbol.for(\"react.element\"),n=Symbol.for(\"react.portal\"),p=Symbol.for(\"react.fragment\"),q=Symbol.for(\"react.strict_mode\"),r=Symbol.for(\"react.profiler\"),t=Symbol.for(\"react.provider\"),u=Symbol.for(\"react.context\"),v=Symbol.for(\"react.forward_ref\"),w=Symbol.for(\"react.suspense\"),x=Symbol.for(\"react.memo\"),y=Symbol.for(\"react.lazy\"),z=Symbol.iterator;function A(a){if(null===a||\"object\"!==typeof a)return null;a=z&&a[z]||a[\"@@iterator\"];return\"function\"===typeof a?a:null}\nvar B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,D={};function E(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B}E.prototype.isReactComponent={};\nE.prototype.setState=function(a,b){if(\"object\"!==typeof a&&\"function\"!==typeof a&&null!=a)throw Error(\"setState(...): takes an object of state variables to update or a function which returns an object of state variables.\");this.updater.enqueueSetState(this,a,b,\"setState\")};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,\"forceUpdate\")};function F(){}F.prototype=E.prototype;function G(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B}var H=G.prototype=new F;\nH.constructor=G;C(H,E.prototype);H.isPureReactComponent=!0;var I=Array.isArray,J=Object.prototype.hasOwnProperty,K={current:null},L={key:!0,ref:!0,__self:!0,__source:!0};\nfunction M(a,b,e){var d,c={},k=null,h=null;if(null!=b)for(d in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=\"\"+b.key),b)J.call(b,d)&&!L.hasOwnProperty(d)&&(c[d]=b[d]);var g=arguments.length-2;if(1===g)c.children=e;else if(1>>1,e=a[d];if(0>>1;dg(C,c))ng(x,C)?(a[d]=x,a[n]=c,d=n):(a[d]=C,a[m]=c,d=m);else if(ng(x,c))a[d]=x,a[n]=c,d=n;else break a}}return b}\nfunction g(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}if(\"object\"===typeof performance&&\"function\"===typeof performance.now){var l=performance;exports.unstable_now=function(){return l.now()}}else{var p=Date,q=p.now();exports.unstable_now=function(){return p.now()-q}}var r=[],t=[],u=1,v=null,y=3,z=!1,A=!1,B=!1,D=\"function\"===typeof setTimeout?setTimeout:null,E=\"function\"===typeof clearTimeout?clearTimeout:null,F=\"undefined\"!==typeof setImmediate?setImmediate:null;\n\"undefined\"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function G(a){for(var b=h(t);null!==b;){if(null===b.callback)k(t);else if(b.startTime<=a)k(t),b.sortIndex=b.expirationTime,f(r,b);else break;b=h(t)}}function H(a){B=!1;G(a);if(!A)if(null!==h(r))A=!0,I(J);else{var b=h(t);null!==b&&K(H,b.startTime-a)}}\nfunction J(a,b){A=!1;B&&(B=!1,E(L),L=-1);z=!0;var c=y;try{G(b);for(v=h(r);null!==v&&(!(v.expirationTime>b)||a&&!M());){var d=v.callback;if(\"function\"===typeof d){v.callback=null;y=v.priorityLevel;var e=d(v.expirationTime<=b);b=exports.unstable_now();\"function\"===typeof e?v.callback=e:v===h(r)&&k(r);G(b)}else k(r);v=h(r)}if(null!==v)var w=!0;else{var m=h(t);null!==m&&K(H,m.startTime-b);w=!1}return w}finally{v=null,y=c,z=!1}}var N=!1,O=null,L=-1,P=5,Q=-1;\nfunction M(){return exports.unstable_now()-Qa||125d?(a.sortIndex=c,f(t,a),null===h(r)&&a===h(t)&&(B?(E(L),L=-1):B=!0,K(H,c-d))):(a.sortIndex=e,f(r,a),A||z||(A=!0,I(J)));return a};\nexports.unstable_shouldYield=M;exports.unstable_wrapCallback=function(a){var b=y;return function(){var c=y;y=b;try{return a.apply(this,arguments)}finally{y=c}}};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n","/**\n * @license React\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/*\n Modernizr 3.0.0pre (Custom Build) | MIT\n*/\n'use strict';var aa=require(\"react\"),ca=require(\"scheduler\");function p(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;cb}return!1}function v(a,b,c,d,e,f,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f;this.removeEmptyString=g}var z={};\n\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(a){z[a]=new v(a,0,!1,a,null,!1,!1)});[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(a){var b=a[0];z[b]=new v(b,1,!1,a[1],null,!1,!1)});[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(a){z[a]=new v(a,2,!1,a.toLowerCase(),null,!1,!1)});\n[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(a){z[a]=new v(a,2,!1,a,null,!1,!1)});\"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\".split(\" \").forEach(function(a){z[a]=new v(a,3,!1,a.toLowerCase(),null,!1,!1)});\n[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(a){z[a]=new v(a,3,!0,a,null,!1,!1)});[\"capture\",\"download\"].forEach(function(a){z[a]=new v(a,4,!1,a,null,!1,!1)});[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(a){z[a]=new v(a,6,!1,a,null,!1,!1)});[\"rowSpan\",\"start\"].forEach(function(a){z[a]=new v(a,5,!1,a.toLowerCase(),null,!1,!1)});var ra=/[\\-:]([a-z])/g;function sa(a){return a[1].toUpperCase()}\n\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach(function(a){var b=a.replace(ra,\nsa);z[b]=new v(b,1,!1,a,null,!1,!1)});\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,!1,a,\"http://www.w3.org/1999/xlink\",!1,!1)});[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,!1,a,\"http://www.w3.org/XML/1998/namespace\",!1,!1)});[\"tabIndex\",\"crossOrigin\"].forEach(function(a){z[a]=new v(a,1,!1,a.toLowerCase(),null,!1,!1)});\nz.xlinkHref=new v(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0,!1);[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(a){z[a]=new v(a,1,!1,a.toLowerCase(),null,!0,!0)});\nfunction ta(a,b,c,d){var e=z.hasOwnProperty(b)?z[b]:null;if(null!==e?0!==e.type:d||!(2h||e[g]!==f[h]){var k=\"\\n\"+e[g].replace(\" at new \",\" at \");a.displayName&&k.includes(\"\")&&(k=k.replace(\"\",a.displayName));return k}while(1<=g&&0<=h)}break}}}finally{Na=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:\"\")?Ma(a):\"\"}\nfunction Pa(a){switch(a.tag){case 5:return Ma(a.type);case 16:return Ma(\"Lazy\");case 13:return Ma(\"Suspense\");case 19:return Ma(\"SuspenseList\");case 0:case 2:case 15:return a=Oa(a.type,!1),a;case 11:return a=Oa(a.type.render,!1),a;case 1:return a=Oa(a.type,!0),a;default:return\"\"}}\nfunction Qa(a){if(null==a)return null;if(\"function\"===typeof a)return a.displayName||a.name||null;if(\"string\"===typeof a)return a;switch(a){case ya:return\"Fragment\";case wa:return\"Portal\";case Aa:return\"Profiler\";case za:return\"StrictMode\";case Ea:return\"Suspense\";case Fa:return\"SuspenseList\"}if(\"object\"===typeof a)switch(a.$$typeof){case Ca:return(a.displayName||\"Context\")+\".Consumer\";case Ba:return(a._context.displayName||\"Context\")+\".Provider\";case Da:var b=a.render;a=a.displayName;a||(a=b.displayName||\nb.name||\"\",a=\"\"!==a?\"ForwardRef(\"+a+\")\":\"ForwardRef\");return a;case Ga:return b=a.displayName||null,null!==b?b:Qa(a.type)||\"Memo\";case Ha:b=a._payload;a=a._init;try{return Qa(a(b))}catch(c){}}return null}\nfunction Ra(a){var b=a.type;switch(a.tag){case 24:return\"Cache\";case 9:return(b.displayName||\"Context\")+\".Consumer\";case 10:return(b._context.displayName||\"Context\")+\".Provider\";case 18:return\"DehydratedFragment\";case 11:return a=b.render,a=a.displayName||a.name||\"\",b.displayName||(\"\"!==a?\"ForwardRef(\"+a+\")\":\"ForwardRef\");case 7:return\"Fragment\";case 5:return b;case 4:return\"Portal\";case 3:return\"Root\";case 6:return\"Text\";case 16:return Qa(b);case 8:return b===za?\"StrictMode\":\"Mode\";case 22:return\"Offscreen\";\ncase 12:return\"Profiler\";case 21:return\"Scope\";case 13:return\"Suspense\";case 19:return\"SuspenseList\";case 25:return\"TracingMarker\";case 1:case 0:case 17:case 2:case 14:case 15:if(\"function\"===typeof b)return b.displayName||b.name||null;if(\"string\"===typeof b)return b}return null}function Sa(a){switch(typeof a){case \"boolean\":case \"number\":case \"string\":case \"undefined\":return a;case \"object\":return a;default:return\"\"}}\nfunction Ta(a){var b=a.type;return(a=a.nodeName)&&\"input\"===a.toLowerCase()&&(\"checkbox\"===b||\"radio\"===b)}\nfunction Ua(a){var b=Ta(a)?\"checked\":\"value\",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=\"\"+a[b];if(!a.hasOwnProperty(b)&&\"undefined\"!==typeof c&&\"function\"===typeof c.get&&\"function\"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=\"\"+a;f.call(this,a)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=\"\"+a},stopTracking:function(){a._valueTracker=\nnull;delete a[b]}}}}function Va(a){a._valueTracker||(a._valueTracker=Ua(a))}function Wa(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d=\"\";a&&(d=Ta(a)?a.checked?\"true\":\"false\":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Xa(a){a=a||(\"undefined\"!==typeof document?document:void 0);if(\"undefined\"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}\nfunction Ya(a,b){var c=b.checked;return A({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}function Za(a,b){var c=null==b.defaultValue?\"\":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=Sa(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:\"checkbox\"===b.type||\"radio\"===b.type?null!=b.checked:null!=b.value}}function ab(a,b){b=b.checked;null!=b&&ta(a,\"checked\",b,!1)}\nfunction bb(a,b){ab(a,b);var c=Sa(b.value),d=b.type;if(null!=c)if(\"number\"===d){if(0===c&&\"\"===a.value||a.value!=c)a.value=\"\"+c}else a.value!==\"\"+c&&(a.value=\"\"+c);else if(\"submit\"===d||\"reset\"===d){a.removeAttribute(\"value\");return}b.hasOwnProperty(\"value\")?cb(a,b.type,c):b.hasOwnProperty(\"defaultValue\")&&cb(a,b.type,Sa(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}\nfunction db(a,b,c){if(b.hasOwnProperty(\"value\")||b.hasOwnProperty(\"defaultValue\")){var d=b.type;if(!(\"submit\"!==d&&\"reset\"!==d||void 0!==b.value&&null!==b.value))return;b=\"\"+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b}c=a.name;\"\"!==c&&(a.name=\"\");a.defaultChecked=!!a._wrapperState.initialChecked;\"\"!==c&&(a.name=c)}\nfunction cb(a,b,c){if(\"number\"!==b||Xa(a.ownerDocument)!==a)null==c?a.defaultValue=\"\"+a._wrapperState.initialValue:a.defaultValue!==\"\"+c&&(a.defaultValue=\"\"+c)}var eb=Array.isArray;\nfunction fb(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e\"+b.valueOf().toString()+\"\";for(b=mb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}});\nfunction ob(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}\nvar pb={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,\nzoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qb=[\"Webkit\",\"ms\",\"Moz\",\"O\"];Object.keys(pb).forEach(function(a){qb.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);pb[b]=pb[a]})});function rb(a,b,c){return null==b||\"boolean\"===typeof b||\"\"===b?\"\":c||\"number\"!==typeof b||0===b||pb.hasOwnProperty(a)&&pb[a]?(\"\"+b).trim():b+\"px\"}\nfunction sb(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf(\"--\"),e=rb(c,b[c],d);\"float\"===c&&(c=\"cssFloat\");d?a.setProperty(c,e):a[c]=e}}var tb=A({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});\nfunction ub(a,b){if(b){if(tb[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML))throw Error(p(137,a));if(null!=b.dangerouslySetInnerHTML){if(null!=b.children)throw Error(p(60));if(\"object\"!==typeof b.dangerouslySetInnerHTML||!(\"__html\"in b.dangerouslySetInnerHTML))throw Error(p(61));}if(null!=b.style&&\"object\"!==typeof b.style)throw Error(p(62));}}\nfunction vb(a,b){if(-1===a.indexOf(\"-\"))return\"string\"===typeof b.is;switch(a){case \"annotation-xml\":case \"color-profile\":case \"font-face\":case \"font-face-src\":case \"font-face-uri\":case \"font-face-format\":case \"font-face-name\":case \"missing-glyph\":return!1;default:return!0}}var wb=null;function xb(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var yb=null,zb=null,Ab=null;\nfunction Bb(a){if(a=Cb(a)){if(\"function\"!==typeof yb)throw Error(p(280));var b=a.stateNode;b&&(b=Db(b),yb(a.stateNode,a.type,b))}}function Eb(a){zb?Ab?Ab.push(a):Ab=[a]:zb=a}function Fb(){if(zb){var a=zb,b=Ab;Ab=zb=null;Bb(a);if(b)for(a=0;a>>=0;return 0===a?32:31-(pc(a)/qc|0)|0}var rc=64,sc=4194304;\nfunction tc(a){switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return a&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;\ndefault:return a}}function uc(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes,f=a.pingedLanes,g=c&268435455;if(0!==g){var h=g&~e;0!==h?d=tc(h):(f&=g,0!==f&&(d=tc(f)))}else g=c&~e,0!==g?d=tc(g):0!==f&&(d=tc(f));if(0===d)return 0;if(0!==b&&b!==d&&0===(b&e)&&(e=d&-d,f=b&-b,e>=f||16===e&&0!==(f&4194240)))return b;0!==(d&4)&&(d|=c&16);b=a.entangledLanes;if(0!==b)for(a=a.entanglements,b&=d;0c;c++)b.push(a);return b}\nfunction Ac(a,b,c){a.pendingLanes|=b;536870912!==b&&(a.suspendedLanes=0,a.pingedLanes=0);a=a.eventTimes;b=31-oc(b);a[b]=c}function Bc(a,b){var c=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.mutableReadLanes&=b;a.entangledLanes&=b;b=a.entanglements;var d=a.eventTimes;for(a=a.expirationTimes;0=be),ee=String.fromCharCode(32),fe=!1;\nfunction ge(a,b){switch(a){case \"keyup\":return-1!==$d.indexOf(b.keyCode);case \"keydown\":return 229!==b.keyCode;case \"keypress\":case \"mousedown\":case \"focusout\":return!0;default:return!1}}function he(a){a=a.detail;return\"object\"===typeof a&&\"data\"in a?a.data:null}var ie=!1;function je(a,b){switch(a){case \"compositionend\":return he(b);case \"keypress\":if(32!==b.which)return null;fe=!0;return ee;case \"textInput\":return a=b.data,a===ee&&fe?null:a;default:return null}}\nfunction ke(a,b){if(ie)return\"compositionend\"===a||!ae&&ge(a,b)?(a=nd(),md=ld=kd=null,ie=!1,a):null;switch(a){case \"paste\":return null;case \"keypress\":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Je(c)}}function Le(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?Le(a,b.parentNode):\"contains\"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}\nfunction Me(){for(var a=window,b=Xa();b instanceof a.HTMLIFrameElement;){try{var c=\"string\"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=Xa(a.document)}return b}function Ne(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&(\"input\"===b&&(\"text\"===a.type||\"search\"===a.type||\"tel\"===a.type||\"url\"===a.type||\"password\"===a.type)||\"textarea\"===b||\"true\"===a.contentEditable)}\nfunction Oe(a){var b=Me(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&Le(c.ownerDocument.documentElement,c)){if(null!==d&&Ne(c))if(b=d.start,a=d.end,void 0===a&&(a=b),\"selectionStart\"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=Ke(c,f);var g=Ke(c,\nd);e&&g&&(1!==a.rangeCount||a.anchorNode!==e.node||a.anchorOffset!==e.offset||a.focusNode!==g.node||a.focusOffset!==g.offset)&&(b=b.createRange(),b.setStart(e.node,e.offset),a.removeAllRanges(),f>d?(a.addRange(b),a.extend(g.node,g.offset)):(b.setEnd(g.node,g.offset),a.addRange(b)))}b=[];for(a=c;a=a.parentNode;)1===a.nodeType&&b.push({element:a,left:a.scrollLeft,top:a.scrollTop});\"function\"===typeof c.focus&&c.focus();for(c=0;c=document.documentMode,Qe=null,Re=null,Se=null,Te=!1;\nfunction Ue(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;Te||null==Qe||Qe!==Xa(d)||(d=Qe,\"selectionStart\"in d&&Ne(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Se&&Ie(Se,d)||(Se=d,d=oe(Re,\"onSelect\"),0Tf||(a.current=Sf[Tf],Sf[Tf]=null,Tf--)}function G(a,b){Tf++;Sf[Tf]=a.current;a.current=b}var Vf={},H=Uf(Vf),Wf=Uf(!1),Xf=Vf;function Yf(a,b){var c=a.type.contextTypes;if(!c)return Vf;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}\nfunction Zf(a){a=a.childContextTypes;return null!==a&&void 0!==a}function $f(){E(Wf);E(H)}function ag(a,b,c){if(H.current!==Vf)throw Error(p(168));G(H,b);G(Wf,c)}function bg(a,b,c){var d=a.stateNode;b=b.childContextTypes;if(\"function\"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw Error(p(108,Ra(a)||\"Unknown\",e));return A({},c,d)}\nfunction cg(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Vf;Xf=H.current;G(H,a);G(Wf,Wf.current);return!0}function dg(a,b,c){var d=a.stateNode;if(!d)throw Error(p(169));c?(a=bg(a,b,Xf),d.__reactInternalMemoizedMergedChildContext=a,E(Wf),E(H),G(H,a)):E(Wf);G(Wf,c)}var eg=null,fg=!1,gg=!1;function hg(a){null===eg?eg=[a]:eg.push(a)}function ig(a){fg=!0;hg(a)}\nfunction jg(){if(!gg&&null!==eg){gg=!0;var a=0,b=C;try{var c=eg;for(C=1;a>=g;e-=g;rg=1<<32-oc(b)+e|c<w?(x=u,u=null):x=u.sibling;var n=r(e,u,h[w],k);if(null===n){null===u&&(u=x);break}a&&u&&null===n.alternate&&b(e,u);g=f(n,g,w);null===m?l=n:m.sibling=n;m=n;u=x}if(w===h.length)return c(e,u),I&&tg(e,w),l;if(null===u){for(;ww?(x=m,m=null):x=m.sibling;var t=r(e,m,n.value,k);if(null===t){null===m&&(m=x);break}a&&m&&null===t.alternate&&b(e,m);g=f(t,g,w);null===u?l=t:u.sibling=t;u=t;m=x}if(n.done)return c(e,\nm),I&&tg(e,w),l;if(null===m){for(;!n.done;w++,n=h.next())n=q(e,n.value,k),null!==n&&(g=f(n,g,w),null===u?l=n:u.sibling=n,u=n);I&&tg(e,w);return l}for(m=d(e,m);!n.done;w++,n=h.next())n=y(m,e,w,n.value,k),null!==n&&(a&&null!==n.alternate&&m.delete(null===n.key?w:n.key),g=f(n,g,w),null===u?l=n:u.sibling=n,u=n);a&&m.forEach(function(a){return b(e,a)});I&&tg(e,w);return l}function J(a,d,f,h){\"object\"===typeof f&&null!==f&&f.type===ya&&null===f.key&&(f=f.props.children);if(\"object\"===typeof f&&null!==f){switch(f.$$typeof){case va:a:{for(var k=\nf.key,l=d;null!==l;){if(l.key===k){k=f.type;if(k===ya){if(7===l.tag){c(a,l.sibling);d=e(l,f.props.children);d.return=a;a=d;break a}}else if(l.elementType===k||\"object\"===typeof k&&null!==k&&k.$$typeof===Ha&&Ng(k)===l.type){c(a,l.sibling);d=e(l,f.props);d.ref=Lg(a,l,f);d.return=a;a=d;break a}c(a,l);break}else b(a,l);l=l.sibling}f.type===ya?(d=Tg(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=Rg(f.type,f.key,f.props,null,a.mode,h),h.ref=Lg(a,d,f),h.return=a,a=h)}return g(a);case wa:a:{for(l=f.key;null!==\nd;){if(d.key===l)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=Sg(f,a.mode,h);d.return=a;a=d}return g(a);case Ha:return l=f._init,J(a,d,l(f._payload),h)}if(eb(f))return n(a,d,f,h);if(Ka(f))return t(a,d,f,h);Mg(a,f)}return\"string\"===typeof f&&\"\"!==f||\"number\"===typeof f?(f=\"\"+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):\n(c(a,d),d=Qg(f,a.mode,h),d.return=a,a=d),g(a)):c(a,d)}return J}var Ug=Og(!0),Vg=Og(!1),Wg=Uf(null),Xg=null,Yg=null,Zg=null;function $g(){Zg=Yg=Xg=null}function ah(a){var b=Wg.current;E(Wg);a._currentValue=b}function bh(a,b,c){for(;null!==a;){var d=a.alternate;(a.childLanes&b)!==b?(a.childLanes|=b,null!==d&&(d.childLanes|=b)):null!==d&&(d.childLanes&b)!==b&&(d.childLanes|=b);if(a===c)break;a=a.return}}\nfunction ch(a,b){Xg=a;Zg=Yg=null;a=a.dependencies;null!==a&&null!==a.firstContext&&(0!==(a.lanes&b)&&(dh=!0),a.firstContext=null)}function eh(a){var b=a._currentValue;if(Zg!==a)if(a={context:a,memoizedValue:b,next:null},null===Yg){if(null===Xg)throw Error(p(308));Yg=a;Xg.dependencies={lanes:0,firstContext:a}}else Yg=Yg.next=a;return b}var fh=null;function gh(a){null===fh?fh=[a]:fh.push(a)}\nfunction hh(a,b,c,d){var e=b.interleaved;null===e?(c.next=c,gh(b)):(c.next=e.next,e.next=c);b.interleaved=c;return ih(a,d)}function ih(a,b){a.lanes|=b;var c=a.alternate;null!==c&&(c.lanes|=b);c=a;for(a=a.return;null!==a;)a.childLanes|=b,c=a.alternate,null!==c&&(c.childLanes|=b),c=a,a=a.return;return 3===c.tag?c.stateNode:null}var jh=!1;function kh(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}\nfunction lh(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects})}function mh(a,b){return{eventTime:a,lane:b,tag:0,payload:null,callback:null,next:null}}\nfunction nh(a,b,c){var d=a.updateQueue;if(null===d)return null;d=d.shared;if(0!==(K&2)){var e=d.pending;null===e?b.next=b:(b.next=e.next,e.next=b);d.pending=b;return ih(a,c)}e=d.interleaved;null===e?(b.next=b,gh(d)):(b.next=e.next,e.next=b);d.interleaved=b;return ih(a,c)}function oh(a,b,c){b=b.updateQueue;if(null!==b&&(b=b.shared,0!==(c&4194240))){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Cc(a,c)}}\nfunction ph(a,b){var c=a.updateQueue,d=a.alternate;if(null!==d&&(d=d.updateQueue,c===d)){var e=null,f=null;c=c.firstBaseUpdate;if(null!==c){do{var g={eventTime:c.eventTime,lane:c.lane,tag:c.tag,payload:c.payload,callback:c.callback,next:null};null===f?e=f=g:f=f.next=g;c=c.next}while(null!==c);null===f?e=f=b:f=f.next=b}else e=f=b;c={baseState:d.baseState,firstBaseUpdate:e,lastBaseUpdate:f,shared:d.shared,effects:d.effects};a.updateQueue=c;return}a=c.lastBaseUpdate;null===a?c.firstBaseUpdate=b:a.next=\nb;c.lastBaseUpdate=b}\nfunction qh(a,b,c,d){var e=a.updateQueue;jh=!1;var f=e.firstBaseUpdate,g=e.lastBaseUpdate,h=e.shared.pending;if(null!==h){e.shared.pending=null;var k=h,l=k.next;k.next=null;null===g?f=l:g.next=l;g=k;var m=a.alternate;null!==m&&(m=m.updateQueue,h=m.lastBaseUpdate,h!==g&&(null===h?m.firstBaseUpdate=l:h.next=l,m.lastBaseUpdate=k))}if(null!==f){var q=e.baseState;g=0;m=l=k=null;h=f;do{var r=h.lane,y=h.eventTime;if((d&r)===r){null!==m&&(m=m.next={eventTime:y,lane:0,tag:h.tag,payload:h.payload,callback:h.callback,\nnext:null});a:{var n=a,t=h;r=b;y=c;switch(t.tag){case 1:n=t.payload;if(\"function\"===typeof n){q=n.call(y,q,r);break a}q=n;break a;case 3:n.flags=n.flags&-65537|128;case 0:n=t.payload;r=\"function\"===typeof n?n.call(y,q,r):n;if(null===r||void 0===r)break a;q=A({},q,r);break a;case 2:jh=!0}}null!==h.callback&&0!==h.lane&&(a.flags|=64,r=e.effects,null===r?e.effects=[h]:r.push(h))}else y={eventTime:y,lane:r,tag:h.tag,payload:h.payload,callback:h.callback,next:null},null===m?(l=m=y,k=q):m=m.next=y,g|=r;\nh=h.next;if(null===h)if(h=e.shared.pending,null===h)break;else r=h,h=r.next,r.next=null,e.lastBaseUpdate=r,e.shared.pending=null}while(1);null===m&&(k=q);e.baseState=k;e.firstBaseUpdate=l;e.lastBaseUpdate=m;b=e.shared.interleaved;if(null!==b){e=b;do g|=e.lane,e=e.next;while(e!==b)}else null===f&&(e.shared.lanes=0);rh|=g;a.lanes=g;a.memoizedState=q}}\nfunction sh(a,b,c){a=b.effects;b.effects=null;if(null!==a)for(b=0;bc?c:4;a(!0);var d=Gh.transition;Gh.transition={};try{a(!1),b()}finally{C=c,Gh.transition=d}}function wi(){return Uh().memoizedState}\nfunction xi(a,b,c){var d=yi(a);c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(zi(a))Ai(b,c);else if(c=hh(a,b,c,d),null!==c){var e=R();gi(c,a,d,e);Bi(c,b,d)}}\nfunction ii(a,b,c){var d=yi(a),e={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(zi(a))Ai(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(He(h,g)){var k=b.interleaved;null===k?(e.next=e,gh(b)):(e.next=k.next,k.next=e);b.interleaved=e;return}}catch(l){}finally{}c=hh(a,b,e,d);null!==c&&(e=R(),gi(c,a,d,e),Bi(c,b,d))}}\nfunction zi(a){var b=a.alternate;return a===M||null!==b&&b===M}function Ai(a,b){Jh=Ih=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function Bi(a,b,c){if(0!==(c&4194240)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Cc(a,c)}}\nvar Rh={readContext:eh,useCallback:P,useContext:P,useEffect:P,useImperativeHandle:P,useInsertionEffect:P,useLayoutEffect:P,useMemo:P,useReducer:P,useRef:P,useState:P,useDebugValue:P,useDeferredValue:P,useTransition:P,useMutableSource:P,useSyncExternalStore:P,useId:P,unstable_isNewReconciler:!1},Oh={readContext:eh,useCallback:function(a,b){Th().memoizedState=[a,void 0===b?null:b];return a},useContext:eh,useEffect:mi,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return ki(4194308,\n4,pi.bind(null,b,a),c)},useLayoutEffect:function(a,b){return ki(4194308,4,a,b)},useInsertionEffect:function(a,b){return ki(4,2,a,b)},useMemo:function(a,b){var c=Th();b=void 0===b?null:b;a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=Th();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=xi.bind(null,M,a);return[d.memoizedState,a]},useRef:function(a){var b=\nTh();a={current:a};return b.memoizedState=a},useState:hi,useDebugValue:ri,useDeferredValue:function(a){return Th().memoizedState=a},useTransition:function(){var a=hi(!1),b=a[0];a=vi.bind(null,a[1]);Th().memoizedState=a;return[b,a]},useMutableSource:function(){},useSyncExternalStore:function(a,b,c){var d=M,e=Th();if(I){if(void 0===c)throw Error(p(407));c=c()}else{c=b();if(null===Q)throw Error(p(349));0!==(Hh&30)||di(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;mi(ai.bind(null,d,\nf,a),[a]);d.flags|=2048;bi(9,ci.bind(null,d,f,c,b),void 0,null);return c},useId:function(){var a=Th(),b=Q.identifierPrefix;if(I){var c=sg;var d=rg;c=(d&~(1<<32-oc(d)-1)).toString(32)+c;b=\":\"+b+\"R\"+c;c=Kh++;0\\x3c/script>\",a=a.removeChild(a.firstChild)):\n\"string\"===typeof d.is?a=g.createElement(c,{is:d.is}):(a=g.createElement(c),\"select\"===c&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,c);a[Of]=b;a[Pf]=d;zj(a,b,!1,!1);b.stateNode=a;a:{g=vb(c,d);switch(c){case \"dialog\":D(\"cancel\",a);D(\"close\",a);e=d;break;case \"iframe\":case \"object\":case \"embed\":D(\"load\",a);e=d;break;case \"video\":case \"audio\":for(e=0;eGj&&(b.flags|=128,d=!0,Dj(f,!1),b.lanes=4194304)}else{if(!d)if(a=Ch(g),null!==a){if(b.flags|=128,d=!0,c=a.updateQueue,null!==c&&(b.updateQueue=c,b.flags|=4),Dj(f,!0),null===f.tail&&\"hidden\"===f.tailMode&&!g.alternate&&!I)return S(b),null}else 2*B()-f.renderingStartTime>Gj&&1073741824!==c&&(b.flags|=128,d=!0,Dj(f,!1),b.lanes=4194304);f.isBackwards?(g.sibling=b.child,b.child=g):(c=f.last,null!==c?c.sibling=g:b.child=g,f.last=g)}if(null!==f.tail)return b=f.tail,f.rendering=\nb,f.tail=b.sibling,f.renderingStartTime=B(),b.sibling=null,c=L.current,G(L,d?c&1|2:c&1),b;S(b);return null;case 22:case 23:return Hj(),d=null!==b.memoizedState,null!==a&&null!==a.memoizedState!==d&&(b.flags|=8192),d&&0!==(b.mode&1)?0!==(fj&1073741824)&&(S(b),b.subtreeFlags&6&&(b.flags|=8192)):S(b),null;case 24:return null;case 25:return null}throw Error(p(156,b.tag));}\nfunction Ij(a,b){wg(b);switch(b.tag){case 1:return Zf(b.type)&&$f(),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 3:return zh(),E(Wf),E(H),Eh(),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 5:return Bh(b),null;case 13:E(L);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(p(340));Ig()}a=b.flags;return a&65536?(b.flags=a&-65537|128,b):null;case 19:return E(L),null;case 4:return zh(),null;case 10:return ah(b.type._context),null;case 22:case 23:return Hj(),\nnull;case 24:return null;default:return null}}var Jj=!1,U=!1,Kj=\"function\"===typeof WeakSet?WeakSet:Set,V=null;function Lj(a,b){var c=a.ref;if(null!==c)if(\"function\"===typeof c)try{c(null)}catch(d){W(a,b,d)}else c.current=null}function Mj(a,b,c){try{c()}catch(d){W(a,b,d)}}var Nj=!1;\nfunction Oj(a,b){Cf=dd;a=Me();if(Ne(a)){if(\"selectionStart\"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(F){c=null;break a}var g=0,h=-1,k=-1,l=0,m=0,q=a,r=null;b:for(;;){for(var y;;){q!==c||0!==e&&3!==q.nodeType||(h=g+e);q!==f||0!==d&&3!==q.nodeType||(k=g+d);3===q.nodeType&&(g+=\nq.nodeValue.length);if(null===(y=q.firstChild))break;r=q;q=y}for(;;){if(q===a)break b;r===c&&++l===e&&(h=g);r===f&&++m===d&&(k=g);if(null!==(y=q.nextSibling))break;q=r;r=q.parentNode}q=y}c=-1===h||-1===k?null:{start:h,end:k}}else c=null}c=c||{start:0,end:0}}else c=null;Df={focusedElem:a,selectionRange:c};dd=!1;for(V=b;null!==V;)if(b=V,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,V=a;else for(;null!==V;){b=V;try{var n=b.alternate;if(0!==(b.flags&1024))switch(b.tag){case 0:case 11:case 15:break;\ncase 1:if(null!==n){var t=n.memoizedProps,J=n.memoizedState,x=b.stateNode,w=x.getSnapshotBeforeUpdate(b.elementType===b.type?t:Ci(b.type,t),J);x.__reactInternalSnapshotBeforeUpdate=w}break;case 3:var u=b.stateNode.containerInfo;1===u.nodeType?u.textContent=\"\":9===u.nodeType&&u.documentElement&&u.removeChild(u.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(p(163));}}catch(F){W(b,b.return,F)}a=b.sibling;if(null!==a){a.return=b.return;V=a;break}V=b.return}n=Nj;Nj=!1;return n}\nfunction Pj(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.destroy;e.destroy=void 0;void 0!==f&&Mj(b,c,f)}e=e.next}while(e!==d)}}function Qj(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create;c.destroy=d()}c=c.next}while(c!==b)}}function Rj(a){var b=a.ref;if(null!==b){var c=a.stateNode;switch(a.tag){case 5:a=c;break;default:a=c}\"function\"===typeof b?b(a):b.current=a}}\nfunction Sj(a){var b=a.alternate;null!==b&&(a.alternate=null,Sj(b));a.child=null;a.deletions=null;a.sibling=null;5===a.tag&&(b=a.stateNode,null!==b&&(delete b[Of],delete b[Pf],delete b[of],delete b[Qf],delete b[Rf]));a.stateNode=null;a.return=null;a.dependencies=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.stateNode=null;a.updateQueue=null}function Tj(a){return 5===a.tag||3===a.tag||4===a.tag}\nfunction Uj(a){a:for(;;){for(;null===a.sibling;){if(null===a.return||Tj(a.return))return null;a=a.return}a.sibling.return=a.return;for(a=a.sibling;5!==a.tag&&6!==a.tag&&18!==a.tag;){if(a.flags&2)continue a;if(null===a.child||4===a.tag)continue a;else a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}\nfunction Vj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=Bf));else if(4!==d&&(a=a.child,null!==a))for(Vj(a,b,c),a=a.sibling;null!==a;)Vj(a,b,c),a=a.sibling}\nfunction Wj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&(a=a.child,null!==a))for(Wj(a,b,c),a=a.sibling;null!==a;)Wj(a,b,c),a=a.sibling}var X=null,Xj=!1;function Yj(a,b,c){for(c=c.child;null!==c;)Zj(a,b,c),c=c.sibling}\nfunction Zj(a,b,c){if(lc&&\"function\"===typeof lc.onCommitFiberUnmount)try{lc.onCommitFiberUnmount(kc,c)}catch(h){}switch(c.tag){case 5:U||Lj(c,b);case 6:var d=X,e=Xj;X=null;Yj(a,b,c);X=d;Xj=e;null!==X&&(Xj?(a=X,c=c.stateNode,8===a.nodeType?a.parentNode.removeChild(c):a.removeChild(c)):X.removeChild(c.stateNode));break;case 18:null!==X&&(Xj?(a=X,c=c.stateNode,8===a.nodeType?Kf(a.parentNode,c):1===a.nodeType&&Kf(a,c),bd(a)):Kf(X,c.stateNode));break;case 4:d=X;e=Xj;X=c.stateNode.containerInfo;Xj=!0;\nYj(a,b,c);X=d;Xj=e;break;case 0:case 11:case 14:case 15:if(!U&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e,g=f.destroy;f=f.tag;void 0!==g&&(0!==(f&2)?Mj(c,b,g):0!==(f&4)&&Mj(c,b,g));e=e.next}while(e!==d)}Yj(a,b,c);break;case 1:if(!U&&(Lj(c,b),d=c.stateNode,\"function\"===typeof d.componentWillUnmount))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(h){W(c,b,h)}Yj(a,b,c);break;case 21:Yj(a,b,c);break;case 22:c.mode&1?(U=(d=U)||null!==\nc.memoizedState,Yj(a,b,c),U=d):Yj(a,b,c);break;default:Yj(a,b,c)}}function ak(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=new Kj);b.forEach(function(b){var d=bk.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d))})}}\nfunction ck(a,b){var c=b.deletions;if(null!==c)for(var d=0;de&&(e=g);d&=~f}d=e;d=B()-d;d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3E3>d?3E3:4320>d?4320:1960*lk(d/1960))-d;if(10a?16:a;if(null===wk)var d=!1;else{a=wk;wk=null;xk=0;if(0!==(K&6))throw Error(p(331));var e=K;K|=4;for(V=a.current;null!==V;){var f=V,g=f.child;if(0!==(V.flags&16)){var h=f.deletions;if(null!==h){for(var k=0;kB()-fk?Kk(a,0):rk|=c);Dk(a,b)}function Yk(a,b){0===b&&(0===(a.mode&1)?b=1:(b=sc,sc<<=1,0===(sc&130023424)&&(sc=4194304)));var c=R();a=ih(a,b);null!==a&&(Ac(a,b,c),Dk(a,c))}function uj(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);Yk(a,c)}\nfunction bk(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;default:throw Error(p(314));}null!==d&&d.delete(b);Yk(a,c)}var Vk;\nVk=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Wf.current)dh=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return dh=!1,yj(a,b,c);dh=0!==(a.flags&131072)?!0:!1}else dh=!1,I&&0!==(b.flags&1048576)&&ug(b,ng,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;ij(a,b);a=b.pendingProps;var e=Yf(b,H.current);ch(b,c);e=Nh(null,b,d,a,e,c);var f=Sh();b.flags|=1;\"object\"===typeof e&&null!==e&&\"function\"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue=\nnull,Zf(d)?(f=!0,cg(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,kh(b),e.updater=Ei,b.stateNode=e,e._reactInternals=b,Ii(b,d,a,c),b=jj(null,b,d,!0,f,c)):(b.tag=0,I&&f&&vg(b),Xi(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{ij(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=Zk(d);a=Ci(d,a);switch(e){case 0:b=cj(null,b,d,a,c);break a;case 1:b=hj(null,b,d,a,c);break a;case 11:b=Yi(null,b,d,a,c);break a;case 14:b=$i(null,b,d,Ci(d.type,a),c);break a}throw Error(p(306,\nd,\"\"));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),cj(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),hj(a,b,d,e,c);case 3:a:{kj(b);if(null===a)throw Error(p(387));d=b.pendingProps;f=b.memoizedState;e=f.element;lh(a,b);qh(b,d,null,c);var g=b.memoizedState;d=g.element;if(f.isDehydrated)if(f={element:d,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},b.updateQueue.baseState=\nf,b.memoizedState=f,b.flags&256){e=Ji(Error(p(423)),b);b=lj(a,b,d,c,e);break a}else if(d!==e){e=Ji(Error(p(424)),b);b=lj(a,b,d,c,e);break a}else for(yg=Lf(b.stateNode.containerInfo.firstChild),xg=b,I=!0,zg=null,c=Vg(b,null,d,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Ig();if(d===e){b=Zi(a,b,c);break a}Xi(a,b,d,c)}b=b.child}return b;case 5:return Ah(b),null===a&&Eg(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,Ef(d,e)?g=null:null!==f&&Ef(d,f)&&(b.flags|=32),\ngj(a,b),Xi(a,b,g,c),b.child;case 6:return null===a&&Eg(b),null;case 13:return oj(a,b,c);case 4:return yh(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Ug(b,null,d,c):Xi(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),Yi(a,b,d,e,c);case 7:return Xi(a,b,b.pendingProps,c),b.child;case 8:return Xi(a,b,b.pendingProps.children,c),b.child;case 12:return Xi(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;\ng=e.value;G(Wg,d._currentValue);d._currentValue=g;if(null!==f)if(He(f.value,g)){if(f.children===e.children&&!Wf.current){b=Zi(a,b,c);break a}}else for(f=b.child,null!==f&&(f.return=b);null!==f;){var h=f.dependencies;if(null!==h){g=f.child;for(var k=h.firstContext;null!==k;){if(k.context===d){if(1===f.tag){k=mh(-1,c&-c);k.tag=2;var l=f.updateQueue;if(null!==l){l=l.shared;var m=l.pending;null===m?k.next=k:(k.next=m.next,m.next=k);l.pending=k}}f.lanes|=c;k=f.alternate;null!==k&&(k.lanes|=c);bh(f.return,\nc,b);h.lanes|=c;break}k=k.next}}else if(10===f.tag)g=f.type===b.type?null:f.child;else if(18===f.tag){g=f.return;if(null===g)throw Error(p(341));g.lanes|=c;h=g.alternate;null!==h&&(h.lanes|=c);bh(g,c,b);g=f.sibling}else g=f.child;if(null!==g)g.return=f;else for(g=f;null!==g;){if(g===b){g=null;break}f=g.sibling;if(null!==f){f.return=g.return;g=f;break}g=g.return}f=g}Xi(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d=b.pendingProps.children,ch(b,c),e=eh(e),d=d(e),b.flags|=1,Xi(a,b,d,c),\nb.child;case 14:return d=b.type,e=Ci(d,b.pendingProps),e=Ci(d.type,e),$i(a,b,d,e,c);case 15:return bj(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Ci(d,e),ij(a,b),b.tag=1,Zf(d)?(a=!0,cg(b)):a=!1,ch(b,c),Gi(b,d,e),Ii(b,d,e,c),jj(null,b,d,!0,a,c);case 19:return xj(a,b,c);case 22:return dj(a,b,c)}throw Error(p(156,b.tag));};function Fk(a,b){return ac(a,b)}\nfunction $k(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null}function Bg(a,b,c,d){return new $k(a,b,c,d)}function aj(a){a=a.prototype;return!(!a||!a.isReactComponent)}\nfunction Zk(a){if(\"function\"===typeof a)return aj(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===Da)return 11;if(a===Ga)return 14}return 2}\nfunction Pg(a,b){var c=a.alternate;null===c?(c=Bg(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null);c.flags=a.flags&14680064;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext};\nc.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}\nfunction Rg(a,b,c,d,e,f){var g=2;d=a;if(\"function\"===typeof a)aj(a)&&(g=1);else if(\"string\"===typeof a)g=5;else a:switch(a){case ya:return Tg(c.children,e,f,b);case za:g=8;e|=8;break;case Aa:return a=Bg(12,c,b,e|2),a.elementType=Aa,a.lanes=f,a;case Ea:return a=Bg(13,c,b,e),a.elementType=Ea,a.lanes=f,a;case Fa:return a=Bg(19,c,b,e),a.elementType=Fa,a.lanes=f,a;case Ia:return pj(c,e,f,b);default:if(\"object\"===typeof a&&null!==a)switch(a.$$typeof){case Ba:g=10;break a;case Ca:g=9;break a;case Da:g=11;\nbreak a;case Ga:g=14;break a;case Ha:g=16;d=null;break a}throw Error(p(130,null==a?a:typeof a,\"\"));}b=Bg(g,c,b,e);b.elementType=a;b.type=d;b.lanes=f;return b}function Tg(a,b,c,d){a=Bg(7,a,d,b);a.lanes=c;return a}function pj(a,b,c,d){a=Bg(22,a,d,b);a.elementType=Ia;a.lanes=c;a.stateNode={isHidden:!1};return a}function Qg(a,b,c){a=Bg(6,a,null,b);a.lanes=c;return a}\nfunction Sg(a,b,c){b=Bg(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}\nfunction al(a,b,c,d,e){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.pendingContext=this.context=null;this.callbackPriority=0;this.eventTimes=zc(0);this.expirationTimes=zc(-1);this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=zc(0);this.identifierPrefix=d;this.onRecoverableError=e;this.mutableSourceEagerHydrationData=\nnull}function bl(a,b,c,d,e,f,g,h,k){a=new al(a,b,c,h,k);1===b?(b=1,!0===f&&(b|=8)):b=0;f=Bg(3,null,null,b);a.current=f;f.stateNode=a;f.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null};kh(f);return a}function cl(a,b,c){var d=3 0 ? charat(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function next () {\n\tcharacter = position < length ? charat(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function peek () {\n\treturn charat(characters, position)\n}\n\n/**\n * @return {number}\n */\nexport function caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function slice (begin, end) {\n\treturn substr(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nexport function alloc (value) {\n\treturn line = column = 1, length = strlen(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nexport function dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function delimit (type) {\n\treturn trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nexport function tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nexport function tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: append(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: append(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: append(from(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nexport function escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\tif (type !== 34 && type !== 39)\n\t\t\t\t\tdelimiter(character)\n\t\t\t\tbreak\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nexport function commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nexport function identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n","import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, charat, trim, from, sizeof, strlen, substr, append, replace, indexof} from './Utility.js'\nimport {node, char, prev, next, peek, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && charat(characters, length - 1) == 58) {\n\t\t\t\t\tif (indexof(characters += replace(delimit(character), '&', '&\\f'), '&\\f') != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset: if (ampersand == -1) characters = replace(characters, /\\f/g, '')\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tswitch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {\n\t\t\t\t\t\t\t\t\t// d l m s\n\t\t\t\t\t\t\t\t\tcase 100: case 108: case 109: case 115:\n\t\t\t\t\t\t\t\t\t\tparse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\tparse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @return {object}\n */\nexport function comment (value, root, parent) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @return {object}\n */\nexport function declaration (value, root, parent, length) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length)\n}\n","import {IMPORT, LAYER, COMMENT, RULESET, DECLARATION, KEYFRAMES} from './Enum.js'\nimport {strlen, sizeof} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\tvar length = sizeof(children)\n\n\tfor (var i = 0; i < length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase LAYER: if (element.children.length) break\n\t\tcase IMPORT: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: element.value = element.props.join(',')\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import {MS, MOZ, WEBKIT, RULESET, KEYFRAMES, DECLARATION} from './Enum.js'\nimport {match, charat, substr, strlen, sizeof, replace, combine} from './Utility.js'\nimport {copy, tokenize} from './Tokenizer.js'\nimport {serialize} from './Serializer.js'\nimport {prefix} from './Prefixer.js'\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nexport function middleware (collection) {\n\tvar length = sizeof(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nexport function rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nexport function prefixer (element, index, children, callback) {\n\tif (element.length > -1)\n\t\tif (!element.return)\n\t\t\tswitch (element.type) {\n\t\t\t\tcase DECLARATION: element.return = prefix(element.value, element.length, children)\n\t\t\t\t\treturn\n\t\t\t\tcase KEYFRAMES:\n\t\t\t\t\treturn serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)\n\t\t\t\tcase RULESET:\n\t\t\t\t\tif (element.length)\n\t\t\t\t\t\treturn combine(element.props, function (value) {\n\t\t\t\t\t\t\tswitch (match(value, /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\t\treturn serialize([copy(element, {props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]})], callback)\n\t\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\t\treturn serialize([\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]}),\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]}),\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]})\n\t\t\t\t\t\t\t\t\t], callback)\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn ''\n\t\t\t\t\t\t})\n\t\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nexport function namespace (element) {\n\tswitch (element.type) {\n\t\tcase RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn combine(tokenize(value), function (value, index, children) {\n\t\t\t\t\tswitch (charat(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn substr(value, 1, strlen(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + substr(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn sizeof(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = sizeof(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n","import { StyleSheet } from '@emotion/sheet';\nimport { dealloc, alloc, next, token, from, peek, delimit, slice, position, RULESET, combine, match, serialize, copy, replace, WEBKIT, MOZ, MS, KEYFRAMES, DECLARATION, hash, charat, strlen, indexof, stringify, rulesheet, middleware, compile } from 'stylis';\nimport '@emotion/weak-memoize';\nimport '@emotion/memoize';\n\nvar identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {\n var previous = 0;\n var character = 0;\n\n while (true) {\n previous = character;\n character = peek(); // &\\f\n\n if (previous === 38 && character === 12) {\n points[index] = 1;\n }\n\n if (token(character)) {\n break;\n }\n\n next();\n }\n\n return slice(begin, position);\n};\n\nvar toRules = function toRules(parsed, points) {\n // pretend we've started with a comma\n var index = -1;\n var character = 44;\n\n do {\n switch (token(character)) {\n case 0:\n // &\\f\n if (character === 38 && peek() === 12) {\n // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings\n // stylis inserts \\f after & to know when & where it should replace this sequence with the context selector\n // and when it should just concatenate the outer and inner selectors\n // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here\n points[index] = 1;\n }\n\n parsed[index] += identifierWithPointTracking(position - 1, points, index);\n break;\n\n case 2:\n parsed[index] += delimit(character);\n break;\n\n case 4:\n // comma\n if (character === 44) {\n // colon\n parsed[++index] = peek() === 58 ? '&\\f' : '';\n points[index] = parsed[index].length;\n break;\n }\n\n // fallthrough\n\n default:\n parsed[index] += from(character);\n }\n } while (character = next());\n\n return parsed;\n};\n\nvar getRules = function getRules(value, points) {\n return dealloc(toRules(alloc(value), points));\n}; // WeakSet would be more appropriate, but only WeakMap is supported in IE11\n\n\nvar fixedElements = /* #__PURE__ */new WeakMap();\nvar compat = function compat(element) {\n if (element.type !== 'rule' || !element.parent || // positive .length indicates that this rule contains pseudo\n // negative .length indicates that this rule has been already prefixed\n element.length < 1) {\n return;\n }\n\n var value = element.value,\n parent = element.parent;\n var isImplicitRule = element.column === parent.column && element.line === parent.line;\n\n while (parent.type !== 'rule') {\n parent = parent.parent;\n if (!parent) return;\n } // short-circuit for the simplest case\n\n\n if (element.props.length === 1 && value.charCodeAt(0) !== 58\n /* colon */\n && !fixedElements.get(parent)) {\n return;\n } // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level)\n // then the props has already been manipulated beforehand as they that array is shared between it and its \"rule parent\"\n\n\n if (isImplicitRule) {\n return;\n }\n\n fixedElements.set(element, true);\n var points = [];\n var rules = getRules(value, points);\n var parentRules = parent.props;\n\n for (var i = 0, k = 0; i < rules.length; i++) {\n for (var j = 0; j < parentRules.length; j++, k++) {\n element.props[k] = points[i] ? rules[i].replace(/&\\f/g, parentRules[j]) : parentRules[j] + \" \" + rules[i];\n }\n }\n};\nvar removeLabel = function removeLabel(element) {\n if (element.type === 'decl') {\n var value = element.value;\n\n if ( // charcode for l\n value.charCodeAt(0) === 108 && // charcode for b\n value.charCodeAt(2) === 98) {\n // this ignores label\n element[\"return\"] = '';\n element.value = '';\n }\n }\n};\n\n/* eslint-disable no-fallthrough */\n\nfunction prefix(value, length) {\n switch (hash(value, length)) {\n // color-adjust\n case 5103:\n return WEBKIT + 'print-' + value + value;\n // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\n case 5737:\n case 4201:\n case 3177:\n case 3433:\n case 1641:\n case 4457:\n case 2921: // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\n case 5572:\n case 6356:\n case 5844:\n case 3191:\n case 6645:\n case 3005: // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\n case 6391:\n case 5879:\n case 5623:\n case 6135:\n case 4599:\n case 4855: // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\n case 4215:\n case 6389:\n case 5109:\n case 5365:\n case 5621:\n case 3829:\n return WEBKIT + value + value;\n // appearance, user-select, transform, hyphens, text-size-adjust\n\n case 5349:\n case 4246:\n case 4810:\n case 6968:\n case 2756:\n return WEBKIT + value + MOZ + value + MS + value + value;\n // flex, flex-direction\n\n case 6828:\n case 4268:\n return WEBKIT + value + MS + value + value;\n // order\n\n case 6165:\n return WEBKIT + value + MS + 'flex-' + value + value;\n // align-items\n\n case 5187:\n return WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;\n // align-self\n\n case 5443:\n return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/, '') + value;\n // align-content\n\n case 4675:\n return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/, '') + value;\n // flex-shrink\n\n case 5548:\n return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;\n // flex-basis\n\n case 5292:\n return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;\n // flex-grow\n\n case 6060:\n return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;\n // transition\n\n case 4554:\n return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;\n // cursor\n\n case 6187:\n return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;\n // background, background-image\n\n case 5495:\n case 3959:\n return replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1');\n // justify-content\n\n case 4968:\n return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;\n // (margin|padding)-inline-(start|end)\n\n case 4095:\n case 3583:\n case 4068:\n case 2532:\n return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;\n // (min|max)?(width|height|inline-size|block-size)\n\n case 8116:\n case 7059:\n case 5753:\n case 5535:\n case 5445:\n case 5701:\n case 4933:\n case 4677:\n case 5533:\n case 5789:\n case 5021:\n case 4765:\n // stretch, max-content, min-content, fill-available\n if (strlen(value) - 1 - length > 6) switch (charat(value, length + 1)) {\n // (m)ax-content, (m)in-content\n case 109:\n // -\n if (charat(value, length + 4) !== 45) break;\n // (f)ill-available, (f)it-content\n\n case 102:\n return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;\n // (s)tretch\n\n case 115:\n return ~indexof(value, 'stretch') ? prefix(replace(value, 'stretch', 'fill-available'), length) + value : value;\n }\n break;\n // position: sticky\n\n case 4949:\n // (s)ticky?\n if (charat(value, length + 1) !== 115) break;\n // display: (flex|inline-flex)\n\n case 6444:\n switch (charat(value, strlen(value) - 3 - (~indexof(value, '!important') && 10))) {\n // stic(k)y\n case 107:\n return replace(value, ':', ':' + WEBKIT) + value;\n // (inline-)?fl(e)x\n\n case 101:\n return replace(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;\n }\n\n break;\n // writing-mode\n\n case 5936:\n switch (charat(value, length + 11)) {\n // vertical-l(r)\n case 114:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value;\n // vertical-r(l)\n\n case 108:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value;\n // horizontal(-)tb\n\n case 45:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value;\n }\n\n return WEBKIT + value + MS + value + value;\n }\n\n return value;\n}\n\nvar prefixer = function prefixer(element, index, children, callback) {\n if (element.length > -1) if (!element[\"return\"]) switch (element.type) {\n case DECLARATION:\n element[\"return\"] = prefix(element.value, element.length);\n break;\n\n case KEYFRAMES:\n return serialize([copy(element, {\n value: replace(element.value, '@', '@' + WEBKIT)\n })], callback);\n\n case RULESET:\n if (element.length) return combine(element.props, function (value) {\n switch (match(value, /(::plac\\w+|:read-\\w+)/)) {\n // :read-(only|write)\n case ':read-only':\n case ':read-write':\n return serialize([copy(element, {\n props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]\n })], callback);\n // :placeholder\n\n case '::placeholder':\n return serialize([copy(element, {\n props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]\n }), copy(element, {\n props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]\n }), copy(element, {\n props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]\n })], callback);\n }\n\n return '';\n });\n }\n};\n\nvar defaultStylisPlugins = [prefixer];\n\nvar createCache = function\n /*: EmotionCache */\ncreateCache(options\n/*: Options */\n) {\n var key = options.key;\n\n if (key === 'css') {\n var ssrStyles = document.querySelectorAll(\"style[data-emotion]:not([data-s])\"); // get SSRed styles out of the way of React's hydration\n // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)\n // note this very very intentionally targets all style elements regardless of the key to ensure\n // that creating a cache works inside of render of a React component\n\n Array.prototype.forEach.call(ssrStyles, function (node\n /*: HTMLStyleElement */\n ) {\n // we want to only move elements which have a space in the data-emotion attribute value\n // because that indicates that it is an Emotion 11 server-side rendered style elements\n // while we will already ignore Emotion 11 client-side inserted styles because of the :not([data-s]) part in the selector\n // Emotion 10 client-side inserted styles did not have data-s (but importantly did not have a space in their data-emotion attributes)\n // so checking for the space ensures that loading Emotion 11 after Emotion 10 has inserted some styles\n // will not result in the Emotion 10 styles being destroyed\n var dataEmotionAttribute = node.getAttribute('data-emotion');\n\n if (dataEmotionAttribute.indexOf(' ') === -1) {\n return;\n }\n\n document.head.appendChild(node);\n node.setAttribute('data-s', '');\n });\n }\n\n var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;\n\n var inserted = {};\n var container;\n /* : Node */\n\n var nodesToHydrate = [];\n\n {\n container = options.container || document.head;\n Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which\n // means that the style elements we're looking at are only Emotion 11 server-rendered style elements\n document.querySelectorAll(\"style[data-emotion^=\\\"\" + key + \" \\\"]\"), function (node\n /*: HTMLStyleElement */\n ) {\n var attrib = node.getAttribute(\"data-emotion\").split(' ');\n\n for (var i = 1; i < attrib.length; i++) {\n inserted[attrib[i]] = true;\n }\n\n nodesToHydrate.push(node);\n });\n }\n\n var _insert;\n /*: (\n selector: string,\n serialized: SerializedStyles,\n sheet: StyleSheet,\n shouldCache: boolean\n ) => string | void */\n\n\n var omnipresentPlugins = [compat, removeLabel];\n\n {\n var currentSheet;\n var finalizingPlugins = [stringify, rulesheet(function (rule) {\n currentSheet.insert(rule);\n })];\n var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));\n\n var stylis = function stylis(styles) {\n return serialize(compile(styles), serializer);\n };\n\n _insert = function\n /*: void */\n insert(selector\n /*: string */\n , serialized\n /*: SerializedStyles */\n , sheet\n /*: StyleSheet */\n , shouldCache\n /*: boolean */\n ) {\n currentSheet = sheet;\n\n stylis(selector ? selector + \"{\" + serialized.styles + \"}\" : serialized.styles);\n\n if (shouldCache) {\n cache.inserted[serialized.name] = true;\n }\n };\n }\n\n var cache\n /*: EmotionCache */\n = {\n key: key,\n sheet: new StyleSheet({\n key: key,\n container: container,\n nonce: options.nonce,\n speedy: options.speedy,\n prepend: options.prepend,\n insertionPoint: options.insertionPoint\n }),\n nonce: options.nonce,\n inserted: inserted,\n registered: {},\n insert: _insert\n };\n cache.sheet.hydrate(nodesToHydrate);\n return cache;\n};\n\nexport { createCache as default };\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","var isBrowser = true;\n\nfunction getRegisteredStyles(registered, registeredStyles, classNames) {\n var rawClassName = '';\n classNames.split(' ').forEach(function (className) {\n if (registered[className] !== undefined) {\n registeredStyles.push(registered[className] + \";\");\n } else if (className) {\n rawClassName += className + \" \";\n }\n });\n return rawClassName;\n}\nvar registerStyles = function registerStyles(cache, serialized, isStringTag) {\n var className = cache.key + \"-\" + serialized.name;\n\n if ( // we only need to add the styles to the registered cache if the\n // class name could be used further down\n // the tree but if it's a string tag, we know it won't\n // so we don't have to add it to registered cache.\n // this improves memory usage since we can avoid storing the whole style string\n (isStringTag === false || // we need to always store it if we're in compat mode and\n // in node since emotion-server relies on whether a style is in\n // the registered cache to know whether a style is global or not\n // also, note that this check will be dead code eliminated in the browser\n isBrowser === false ) && cache.registered[className] === undefined) {\n cache.registered[className] = serialized.styles;\n }\n};\nvar insertStyles = function insertStyles(cache, serialized, isStringTag) {\n registerStyles(cache, serialized, isStringTag);\n var className = cache.key + \"-\" + serialized.name;\n\n if (cache.inserted[serialized.name] === undefined) {\n var current = serialized;\n\n do {\n cache.insert(serialized === current ? \".\" + className : '', current, cache.sheet, true);\n\n current = current.next;\n } while (current !== undefined);\n }\n};\n\nexport { getRegisteredStyles, insertStyles, registerStyles };\n","/* eslint-disable */\n// Inspired by https://github.com/garycourt/murmurhash-js\n// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86\nfunction murmur2(str) {\n // 'm' and 'r' are mixing constants generated offline.\n // They're not really 'magic', they just happen to work well.\n // const m = 0x5bd1e995;\n // const r = 24;\n // Initialize the hash\n var h = 0; // Mix 4 bytes at a time into the hash\n\n var k,\n i = 0,\n len = str.length;\n\n for (; len >= 4; ++i, len -= 4) {\n k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;\n k =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);\n k ^=\n /* k >>> r: */\n k >>> 24;\n h =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Handle the last few bytes of the input array\n\n\n switch (len) {\n case 3:\n h ^= (str.charCodeAt(i + 2) & 0xff) << 16;\n\n case 2:\n h ^= (str.charCodeAt(i + 1) & 0xff) << 8;\n\n case 1:\n h ^= str.charCodeAt(i) & 0xff;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Do a few final mixes of the hash to ensure the last few\n // bytes are well-incorporated.\n\n\n h ^= h >>> 13;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n return ((h ^ h >>> 15) >>> 0).toString(36);\n}\n\nexport { murmur2 as default };\n","var unitlessKeys = {\n animationIterationCount: 1,\n aspectRatio: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n scale: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n};\n\nexport { unitlessKeys as default };\n","import hashString from '@emotion/hash';\nimport unitless from '@emotion/unitless';\nimport memoize from '@emotion/memoize';\n\nvar isDevelopment = false;\n\nvar hyphenateRegex = /[A-Z]|^ms/g;\nvar animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;\n\nvar isCustomProperty = function isCustomProperty(property) {\n return property.charCodeAt(1) === 45;\n};\n\nvar isProcessableValue = function isProcessableValue(value) {\n return value != null && typeof value !== 'boolean';\n};\n\nvar processStyleName = /* #__PURE__ */memoize(function (styleName) {\n return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();\n});\n\nvar processStyleValue = function processStyleValue(key, value) {\n switch (key) {\n case 'animation':\n case 'animationName':\n {\n if (typeof value === 'string') {\n return value.replace(animationRegex, function (match, p1, p2) {\n cursor = {\n name: p1,\n styles: p2,\n next: cursor\n };\n return p1;\n });\n }\n }\n }\n\n if (unitless[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {\n return value + 'px';\n }\n\n return value;\n};\n\nvar noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';\n\nfunction handleInterpolation(mergedProps, registered, interpolation) {\n if (interpolation == null) {\n return '';\n }\n\n var componentSelector = interpolation;\n\n if (componentSelector.__emotion_styles !== undefined) {\n\n return componentSelector;\n }\n\n switch (typeof interpolation) {\n case 'boolean':\n {\n return '';\n }\n\n case 'object':\n {\n var keyframes = interpolation;\n\n if (keyframes.anim === 1) {\n cursor = {\n name: keyframes.name,\n styles: keyframes.styles,\n next: cursor\n };\n return keyframes.name;\n }\n\n var serializedStyles = interpolation;\n\n if (serializedStyles.styles !== undefined) {\n var next = serializedStyles.next;\n\n if (next !== undefined) {\n // not the most efficient thing ever but this is a pretty rare case\n // and there will be very few iterations of this generally\n while (next !== undefined) {\n cursor = {\n name: next.name,\n styles: next.styles,\n next: cursor\n };\n next = next.next;\n }\n }\n\n var styles = serializedStyles.styles + \";\";\n\n return styles;\n }\n\n return createStringFromObject(mergedProps, registered, interpolation);\n }\n\n case 'function':\n {\n if (mergedProps !== undefined) {\n var previousCursor = cursor;\n var result = interpolation(mergedProps);\n cursor = previousCursor;\n return handleInterpolation(mergedProps, registered, result);\n }\n\n break;\n }\n } // finalize string values (regular strings and functions interpolated into css calls)\n\n\n var asString = interpolation;\n\n if (registered == null) {\n return asString;\n }\n\n var cached = registered[asString];\n return cached !== undefined ? cached : asString;\n}\n\nfunction createStringFromObject(mergedProps, registered, obj) {\n var string = '';\n\n if (Array.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n string += handleInterpolation(mergedProps, registered, obj[i]) + \";\";\n }\n } else {\n for (var key in obj) {\n var value = obj[key];\n\n if (typeof value !== 'object') {\n var asString = value;\n\n if (registered != null && registered[asString] !== undefined) {\n string += key + \"{\" + registered[asString] + \"}\";\n } else if (isProcessableValue(asString)) {\n string += processStyleName(key) + \":\" + processStyleValue(key, asString) + \";\";\n }\n } else {\n if (key === 'NO_COMPONENT_SELECTOR' && isDevelopment) {\n throw new Error(noComponentSelectorMessage);\n }\n\n if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {\n for (var _i = 0; _i < value.length; _i++) {\n if (isProcessableValue(value[_i])) {\n string += processStyleName(key) + \":\" + processStyleValue(key, value[_i]) + \";\";\n }\n }\n } else {\n var interpolated = handleInterpolation(mergedProps, registered, value);\n\n switch (key) {\n case 'animation':\n case 'animationName':\n {\n string += processStyleName(key) + \":\" + interpolated + \";\";\n break;\n }\n\n default:\n {\n\n string += key + \"{\" + interpolated + \"}\";\n }\n }\n }\n }\n }\n }\n\n return string;\n}\n\nvar labelPattern = /label:\\s*([^\\s;{]+)\\s*(;|$)/g;\n// keyframes are stored on the SerializedStyles object as a linked list\n\n\nvar cursor;\nfunction serializeStyles(args, registered, mergedProps) {\n if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {\n return args[0];\n }\n\n var stringMode = true;\n var styles = '';\n cursor = undefined;\n var strings = args[0];\n\n if (strings == null || strings.raw === undefined) {\n stringMode = false;\n styles += handleInterpolation(mergedProps, registered, strings);\n } else {\n var asTemplateStringsArr = strings;\n\n styles += asTemplateStringsArr[0];\n } // we start at 1 since we've already handled the first arg\n\n\n for (var i = 1; i < args.length; i++) {\n styles += handleInterpolation(mergedProps, registered, args[i]);\n\n if (stringMode) {\n var templateStringsArr = strings;\n\n styles += templateStringsArr[i];\n }\n }\n\n\n labelPattern.lastIndex = 0;\n var identifierName = '';\n var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5\n\n while ((match = labelPattern.exec(styles)) !== null) {\n identifierName += '-' + match[1];\n }\n\n var name = hashString(styles) + identifierName;\n\n return {\n name: name,\n styles: styles,\n next: cursor\n };\n}\n\nexport { serializeStyles };\n","import * as React from 'react';\n\nvar syncFallback = function syncFallback(create) {\n return create();\n};\n\nvar useInsertionEffect = React['useInsertion' + 'Effect'] ? React['useInsertion' + 'Effect'] : false;\nvar useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;\nvar useInsertionEffectWithLayoutFallback = useInsertionEffect || React.useLayoutEffect;\n\nexport { useInsertionEffectAlwaysWithSyncFallback, useInsertionEffectWithLayoutFallback };\n","import * as React from 'react';\nimport { useContext, forwardRef } from 'react';\nimport createCache from '@emotion/cache';\nimport _extends from '@babel/runtime/helpers/esm/extends';\nimport weakMemoize from '@emotion/weak-memoize';\nimport hoistNonReactStatics from '../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js';\nimport { getRegisteredStyles, registerStyles, insertStyles } from '@emotion/utils';\nimport { serializeStyles } from '@emotion/serialize';\nimport { useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\n\nvar isDevelopment = false;\n\n/* import { type EmotionCache } from '@emotion/utils' */\nvar EmotionCacheContext\n/*: React.Context */\n= /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case\n// because this module is primarily intended for the browser and node\n// but it's also required in react native and similar environments sometimes\n// and we could have a special build just for that\n// but this is much easier and the native packages\n// might use a different theme context in the future anyway\ntypeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({\n key: 'css'\n}) : null);\n\nvar CacheProvider = EmotionCacheContext.Provider;\nvar __unsafe_useEmotionCache = function useEmotionCache()\n/*: EmotionCache | null*/\n{\n return useContext(EmotionCacheContext);\n};\n\nvar withEmotionCache = function withEmotionCache\n/* > */\n(func\n/*: (props: Props, cache: EmotionCache, ref: Ref) => React.Node */\n)\n/*: React.AbstractComponent */\n{\n return /*#__PURE__*/forwardRef(function (props\n /*: Props */\n , ref\n /*: Ref */\n ) {\n // the cache will never be null in the browser\n var cache = useContext(EmotionCacheContext);\n return func(props, cache, ref);\n });\n};\n\nvar ThemeContext = /* #__PURE__ */React.createContext({});\n\nvar useTheme = function useTheme() {\n return React.useContext(ThemeContext);\n};\n\nvar getTheme = function getTheme(outerTheme\n/*: Object */\n, theme\n/*: Object | (Object => Object) */\n) {\n if (typeof theme === 'function') {\n var mergedTheme = theme(outerTheme);\n\n return mergedTheme;\n }\n\n return _extends({}, outerTheme, theme);\n};\n\nvar createCacheWithTheme = /* #__PURE__ */weakMemoize(function (outerTheme) {\n return weakMemoize(function (theme) {\n return getTheme(outerTheme, theme);\n });\n});\n/*\ntype ThemeProviderProps = {\n theme: Object | (Object => Object),\n children: React.Node\n}\n*/\n\nvar ThemeProvider = function ThemeProvider(props\n/*: ThemeProviderProps */\n) {\n var theme = React.useContext(ThemeContext);\n\n if (props.theme !== theme) {\n theme = createCacheWithTheme(theme)(props.theme);\n }\n\n return /*#__PURE__*/React.createElement(ThemeContext.Provider, {\n value: theme\n }, props.children);\n};\nfunction withTheme\n/* */\n(Component\n/*: React.AbstractComponent */\n)\n/*: React.AbstractComponent<$Diff> */\n{\n var componentName = Component.displayName || Component.name || 'Component';\n\n var render = function render(props, ref) {\n var theme = React.useContext(ThemeContext);\n return /*#__PURE__*/React.createElement(Component, _extends({\n theme: theme,\n ref: ref\n }, props));\n };\n\n var WithTheme = /*#__PURE__*/React.forwardRef(render);\n WithTheme.displayName = \"WithTheme(\" + componentName + \")\";\n return hoistNonReactStatics(WithTheme, Component);\n}\n\nvar hasOwn = {}.hasOwnProperty;\n\nvar typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';\nvar createEmotionProps = function createEmotionProps(type\n/*: React.ElementType */\n, props\n/*: Object */\n) {\n\n var newProps\n /*: any */\n = {};\n\n for (var key in props) {\n if (hasOwn.call(props, key)) {\n newProps[key] = props[key];\n }\n }\n\n newProps[typePropName] = type; // Runtime labeling is an opt-in feature because:\n\n return newProps;\n};\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serialized = _ref.serialized,\n isStringTag = _ref.isStringTag;\n registerStyles(cache, serialized, isStringTag);\n useInsertionEffectAlwaysWithSyncFallback(function () {\n return insertStyles(cache, serialized, isStringTag);\n });\n\n return null;\n};\n\nvar Emotion = /* #__PURE__ */withEmotionCache(\n/* */\nfunction (props, cache, ref) {\n var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works\n // not passing the registered cache to serializeStyles because it would\n // make certain babel optimisations not possible\n\n if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {\n cssProp = cache.registered[cssProp];\n }\n\n var WrappedComponent = props[typePropName];\n var registeredStyles = [cssProp];\n var className = '';\n\n if (typeof props.className === 'string') {\n className = getRegisteredStyles(cache.registered, registeredStyles, props.className);\n } else if (props.className != null) {\n className = props.className + \" \";\n }\n\n var serialized = serializeStyles(registeredStyles, undefined, React.useContext(ThemeContext));\n\n className += cache.key + \"-\" + serialized.name;\n var newProps = {};\n\n for (var key in props) {\n if (hasOwn.call(props, key) && key !== 'css' && key !== typePropName && (!isDevelopment )) {\n newProps[key] = props[key];\n }\n }\n\n newProps.className = className;\n\n if (ref) {\n newProps.ref = ref;\n }\n\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {\n cache: cache,\n serialized: serialized,\n isStringTag: typeof WrappedComponent === 'string'\n }), /*#__PURE__*/React.createElement(WrappedComponent, newProps));\n});\n\nvar Emotion$1 = Emotion;\n\nexport { CacheProvider as C, Emotion$1 as E, ThemeContext as T, __unsafe_useEmotionCache as _, ThemeProvider as a, withTheme as b, createEmotionProps as c, hasOwn as h, isDevelopment as i, useTheme as u, withEmotionCache as w };\n","import { h as hasOwn, E as Emotion, c as createEmotionProps, w as withEmotionCache, T as ThemeContext, i as isDevelopment } from './emotion-element-5486c51c.browser.esm.js';\nexport { C as CacheProvider, T as ThemeContext, a as ThemeProvider, _ as __unsafe_useEmotionCache, u as useTheme, w as withEmotionCache, b as withTheme } from './emotion-element-5486c51c.browser.esm.js';\nimport * as React from 'react';\nimport { insertStyles, registerStyles, getRegisteredStyles } from '@emotion/utils';\nimport { useInsertionEffectWithLayoutFallback, useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\nimport { serializeStyles } from '@emotion/serialize';\nimport '@emotion/cache';\nimport '@babel/runtime/helpers/extends';\nimport '@emotion/weak-memoize';\nimport '../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js';\nimport 'hoist-non-react-statics';\n\nvar jsx\n/*: typeof React.createElement */\n= function jsx\n/*: typeof React.createElement */\n(type\n/*: React.ElementType */\n, props\n/*: Object */\n) {\n var args = arguments;\n\n if (props == null || !hasOwn.call(props, 'css')) {\n return React.createElement.apply(undefined, args);\n }\n\n var argsLength = args.length;\n var createElementArgArray = new Array(argsLength);\n createElementArgArray[0] = Emotion;\n createElementArgArray[1] = createEmotionProps(type, props);\n\n for (var i = 2; i < argsLength; i++) {\n createElementArgArray[i] = args[i];\n }\n\n return React.createElement.apply(null, createElementArgArray);\n};\n\n// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild\n// initial client-side render from SSR, use place of hydrating tag\n\nvar Global\n/*: React.AbstractComponent<\nGlobalProps\n> */\n= /* #__PURE__ */withEmotionCache(function (props\n/*: GlobalProps */\n, cache) {\n\n var styles = props.styles;\n var serialized = serializeStyles([styles], undefined, React.useContext(ThemeContext));\n // but it is based on a constant that will never change at runtime\n // it's effectively like having two implementations and switching them out\n // so it's not actually breaking anything\n\n\n var sheetRef = React.useRef();\n useInsertionEffectWithLayoutFallback(function () {\n var key = cache.key + \"-global\"; // use case of https://github.com/emotion-js/emotion/issues/2675\n\n var sheet = new cache.sheet.constructor({\n key: key,\n nonce: cache.sheet.nonce,\n container: cache.sheet.container,\n speedy: cache.sheet.isSpeedy\n });\n var rehydrating = false;\n var node\n /*: HTMLStyleElement | null*/\n = document.querySelector(\"style[data-emotion=\\\"\" + key + \" \" + serialized.name + \"\\\"]\");\n\n if (cache.sheet.tags.length) {\n sheet.before = cache.sheet.tags[0];\n }\n\n if (node !== null) {\n rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other s\n\n node.setAttribute('data-emotion', key);\n sheet.hydrate([node]);\n }\n\n sheetRef.current = [sheet, rehydrating];\n return function () {\n sheet.flush();\n };\n }, [cache]);\n useInsertionEffectWithLayoutFallback(function () {\n var sheetRefCurrent = sheetRef.current;\n var sheet = sheetRefCurrent[0],\n rehydrating = sheetRefCurrent[1];\n\n if (rehydrating) {\n sheetRefCurrent[1] = false;\n return;\n }\n\n if (serialized.next !== undefined) {\n // insert keyframes\n insertStyles(cache, serialized.next, true);\n }\n\n if (sheet.tags.length) {\n // if this doesn't exist then it will be null so the style element will be appended\n var element = sheet.tags[sheet.tags.length - 1].nextElementSibling;\n sheet.before = element;\n sheet.flush();\n }\n\n cache.insert(\"\", serialized, sheet, false);\n }, [cache, serialized.name]);\n return null;\n});\n\n/* import type { Interpolation, SerializedStyles } from '@emotion/utils' */\n\nfunction css()\n/*: SerializedStyles */\n{\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return serializeStyles(args);\n}\n\n/*\ntype Keyframes = {|\n name: string,\n styles: string,\n anim: 1,\n toString: () => string\n|} & string\n*/\n\nvar keyframes = function\n /*: Keyframes */\nkeyframes() {\n var insertable = css.apply(void 0, arguments);\n var name = \"animation-\" + insertable.name;\n return {\n name: name,\n styles: \"@keyframes \" + name + \"{\" + insertable.styles + \"}\",\n anim: 1,\n toString: function toString() {\n return \"_EMO_\" + this.name + \"_\" + this.styles + \"_EMO_\";\n }\n };\n};\n\n/*\ntype ClassNameArg =\n | string\n | boolean\n | { [key: string]: boolean }\n | Array\n | null\n | void\n*/\n\nvar classnames = function\n /*: string */\nclassnames(args\n/*: Array */\n) {\n var len = args.length;\n var i = 0;\n var cls = '';\n\n for (; i < len; i++) {\n var arg = args[i];\n if (arg == null) continue;\n var toAdd = void 0;\n\n switch (typeof arg) {\n case 'boolean':\n break;\n\n case 'object':\n {\n if (Array.isArray(arg)) {\n toAdd = classnames(arg);\n } else {\n\n toAdd = '';\n\n for (var k in arg) {\n if (arg[k] && k) {\n toAdd && (toAdd += ' ');\n toAdd += k;\n }\n }\n }\n\n break;\n }\n\n default:\n {\n toAdd = arg;\n }\n }\n\n if (toAdd) {\n cls && (cls += ' ');\n cls += toAdd;\n }\n }\n\n return cls;\n};\n\nfunction merge(registered\n/*: Object */\n, css\n/*: (...args: Array) => string */\n, className\n/*: string */\n) {\n var registeredStyles = [];\n var rawClassName = getRegisteredStyles(registered, registeredStyles, className);\n\n if (registeredStyles.length < 2) {\n return className;\n }\n\n return rawClassName + css(registeredStyles);\n}\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serializedArr = _ref.serializedArr;\n useInsertionEffectAlwaysWithSyncFallback(function () {\n\n for (var i = 0; i < serializedArr.length; i++) {\n insertStyles(cache, serializedArr[i], false);\n }\n });\n\n return null;\n};\n/*\ntype Props = {\n children: ({\n css: (...args: any) => string,\n cx: (...args: Array) => string,\n theme: Object\n }) => React.Node\n} */\n\n\nvar ClassNames\n/*: React.AbstractComponent*/\n= /* #__PURE__ */withEmotionCache(function (props, cache) {\n var hasRendered = false;\n var serializedArr = [];\n\n var css = function css() {\n if (hasRendered && isDevelopment) {\n throw new Error('css can only be used during render');\n }\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var serialized = serializeStyles(args, cache.registered);\n serializedArr.push(serialized); // registration has to happen here as the result of this might get consumed by `cx`\n\n registerStyles(cache, serialized, false);\n return cache.key + \"-\" + serialized.name;\n };\n\n var cx = function cx() {\n if (hasRendered && isDevelopment) {\n throw new Error('cx can only be used during render');\n }\n\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return merge(cache.registered, css, classnames(args));\n };\n\n var content = {\n css: css,\n cx: cx,\n theme: React.useContext(ThemeContext)\n };\n var ele = props.children(content);\n hasRendered = true;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {\n cache: cache,\n serializedArr: serializedArr\n }), ele);\n});\n\nexport { ClassNames, Global, jsx as createElement, css, jsx, keyframes };\n","import _extends from '@babel/runtime/helpers/esm/extends';\nimport * as React from 'react';\nimport isPropValid from '@emotion/is-prop-valid';\nimport { withEmotionCache, ThemeContext } from '@emotion/react';\nimport { getRegisteredStyles, registerStyles, insertStyles } from '@emotion/utils';\nimport { serializeStyles } from '@emotion/serialize';\nimport { useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\n\n/* import type {\n ElementType,\n StatelessFunctionalComponent,\n AbstractComponent\n} from 'react' */\n/*\nexport type Interpolations = Array\n\nexport type StyledElementType =\n | string\n | AbstractComponent<{ ...Props, className: string }, mixed>\n\nexport type StyledOptions = {\n label?: string,\n shouldForwardProp?: string => boolean,\n target?: string\n}\n\nexport type StyledComponent = StatelessFunctionalComponent & {\n defaultProps: any,\n toString: () => string,\n withComponent: (\n nextTag: StyledElementType,\n nextOptions?: StyledOptions\n ) => StyledComponent\n}\n\nexport type PrivateStyledComponent = StyledComponent & {\n __emotion_real: StyledComponent,\n __emotion_base: any,\n __emotion_styles: any,\n __emotion_forwardProp: any\n}\n*/\n\nvar testOmitPropsOnStringTag = isPropValid;\n\nvar testOmitPropsOnComponent = function testOmitPropsOnComponent(key\n/*: string */\n) {\n return key !== 'theme';\n};\n\nvar getDefaultShouldForwardProp = function getDefaultShouldForwardProp(tag\n/*: ElementType */\n) {\n return typeof tag === 'string' && // 96 is one less than the char code\n // for \"a\" so this is checking that\n // it's a lowercase character\n tag.charCodeAt(0) > 96 ? testOmitPropsOnStringTag : testOmitPropsOnComponent;\n};\nvar composeShouldForwardProps = function composeShouldForwardProps(tag\n/*: PrivateStyledComponent */\n, options\n/*: StyledOptions | void */\n, isReal\n/*: boolean */\n) {\n var shouldForwardProp;\n\n if (options) {\n var optionsShouldForwardProp = options.shouldForwardProp;\n shouldForwardProp = tag.__emotion_forwardProp && optionsShouldForwardProp ? function (propName\n /*: string */\n ) {\n return tag.__emotion_forwardProp(propName) && optionsShouldForwardProp(propName);\n } : optionsShouldForwardProp;\n }\n\n if (typeof shouldForwardProp !== 'function' && isReal) {\n shouldForwardProp = tag.__emotion_forwardProp;\n }\n\n return shouldForwardProp;\n};\n/*\nexport type CreateStyledComponent = (\n ...args: Interpolations\n) => StyledComponent\n\nexport type CreateStyled = {\n (\n tag: StyledElementType,\n options?: StyledOptions\n ): (...args: Interpolations) => StyledComponent,\n [key: string]: CreateStyledComponent,\n bind: () => CreateStyled\n}\n*/\n\nvar isDevelopment = false;\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serialized = _ref.serialized,\n isStringTag = _ref.isStringTag;\n registerStyles(cache, serialized, isStringTag);\n useInsertionEffectAlwaysWithSyncFallback(function () {\n return insertStyles(cache, serialized, isStringTag);\n });\n\n return null;\n};\n\nvar createStyled\n/*: CreateStyled */\n= function createStyled\n/*: CreateStyled */\n(tag\n/*: any */\n, options\n/* ?: StyledOptions */\n) {\n\n var isReal = tag.__emotion_real === tag;\n var baseTag = isReal && tag.__emotion_base || tag;\n var identifierName;\n var targetClassName;\n\n if (options !== undefined) {\n identifierName = options.label;\n targetClassName = options.target;\n }\n\n var shouldForwardProp = composeShouldForwardProps(tag, options, isReal);\n var defaultShouldForwardProp = shouldForwardProp || getDefaultShouldForwardProp(baseTag);\n var shouldUseAs = !defaultShouldForwardProp('as');\n /* return function(): PrivateStyledComponent { */\n\n return function () {\n var args = arguments;\n var styles = isReal && tag.__emotion_styles !== undefined ? tag.__emotion_styles.slice(0) : [];\n\n if (identifierName !== undefined) {\n styles.push(\"label:\" + identifierName + \";\");\n }\n\n if (args[0] == null || args[0].raw === undefined) {\n styles.push.apply(styles, args);\n } else {\n\n styles.push(args[0][0]);\n var len = args.length;\n var i = 1;\n\n for (; i < len; i++) {\n\n styles.push(args[i], args[0][i]);\n }\n }\n\n var Styled\n /*: PrivateStyledComponent */\n = withEmotionCache(function (props, cache, ref) {\n var FinalTag = shouldUseAs && props.as || baseTag;\n var className = '';\n var classInterpolations = [];\n var mergedProps = props;\n\n if (props.theme == null) {\n mergedProps = {};\n\n for (var key in props) {\n mergedProps[key] = props[key];\n }\n\n mergedProps.theme = React.useContext(ThemeContext);\n }\n\n if (typeof props.className === 'string') {\n className = getRegisteredStyles(cache.registered, classInterpolations, props.className);\n } else if (props.className != null) {\n className = props.className + \" \";\n }\n\n var serialized = serializeStyles(styles.concat(classInterpolations), cache.registered, mergedProps);\n className += cache.key + \"-\" + serialized.name;\n\n if (targetClassName !== undefined) {\n className += \" \" + targetClassName;\n }\n\n var finalShouldForwardProp = shouldUseAs && shouldForwardProp === undefined ? getDefaultShouldForwardProp(FinalTag) : defaultShouldForwardProp;\n var newProps = {};\n\n for (var _key in props) {\n if (shouldUseAs && _key === 'as') continue;\n\n if (finalShouldForwardProp(_key)) {\n newProps[_key] = props[_key];\n }\n }\n\n newProps.className = className;\n\n if (ref) {\n newProps.ref = ref;\n }\n\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {\n cache: cache,\n serialized: serialized,\n isStringTag: typeof FinalTag === 'string'\n }), /*#__PURE__*/React.createElement(FinalTag, newProps));\n });\n Styled.displayName = identifierName !== undefined ? identifierName : \"Styled(\" + (typeof baseTag === 'string' ? baseTag : baseTag.displayName || baseTag.name || 'Component') + \")\";\n Styled.defaultProps = tag.defaultProps;\n Styled.__emotion_real = Styled;\n Styled.__emotion_base = baseTag;\n Styled.__emotion_styles = styles;\n Styled.__emotion_forwardProp = shouldForwardProp;\n Object.defineProperty(Styled, 'toString', {\n value: function value() {\n if (targetClassName === undefined && isDevelopment) {\n return 'NO_COMPONENT_SELECTOR';\n }\n\n return \".\" + targetClassName;\n }\n });\n\n Styled.withComponent = function (nextTag\n /*: StyledElementType */\n , nextOptions\n /* ?: StyledOptions */\n ) {\n return createStyled(nextTag, _extends({}, options, nextOptions, {\n shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)\n })).apply(void 0, styles);\n };\n\n return Styled;\n };\n};\n\nexport { createStyled as default };\n","import createStyled from '../base/dist/emotion-styled-base.browser.esm.js';\nimport '@babel/runtime/helpers/extends';\nimport 'react';\nimport '@emotion/is-prop-valid';\nimport '@emotion/react';\nimport '@emotion/utils';\nimport '@emotion/serialize';\nimport '@emotion/use-insertion-effect-with-fallbacks';\n\nvar tags = ['a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b', 'base', 'bdi', 'bdo', 'big', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'keygen', 'label', 'legend', 'li', 'link', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meta', 'meter', 'nav', 'noscript', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'script', 'section', 'select', 'small', 'source', 'span', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul', 'var', 'video', 'wbr', // SVG\n'circle', 'clipPath', 'defs', 'ellipse', 'foreignObject', 'g', 'image', 'line', 'linearGradient', 'mask', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'stop', 'svg', 'text', 'tspan'];\n\nvar newStyled = createStyled.bind();\ntags.forEach(function (tagName) {\n newStyled[tagName] = newStyled(tagName);\n});\n\nexport { newStyled as default };\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { Global } from '@emotion/react';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction isEmpty(obj) {\n return obj === undefined || obj === null || Object.keys(obj).length === 0;\n}\nexport default function GlobalStyles(props) {\n const {\n styles,\n defaultTheme = {}\n } = props;\n const globalStyles = typeof styles === 'function' ? themeInput => styles(isEmpty(themeInput) ? defaultTheme : themeInput) : styles;\n return /*#__PURE__*/_jsx(Global, {\n styles: globalStyles\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? GlobalStyles.propTypes = {\n defaultTheme: PropTypes.object,\n styles: PropTypes.oneOfType([PropTypes.array, PropTypes.string, PropTypes.object, PropTypes.func])\n} : void 0;","/**\n * @mui/styled-engine v6.1.1\n *\n * @license MIT\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/* eslint-disable no-underscore-dangle */\nimport emStyled from '@emotion/styled';\nexport default function styled(tag, options) {\n const stylesFactory = emStyled(tag, options);\n if (process.env.NODE_ENV !== 'production') {\n return (...styles) => {\n const component = typeof tag === 'string' ? `\"${tag}\"` : 'component';\n if (styles.length === 0) {\n console.error([`MUI: Seems like you called \\`styled(${component})()\\` without a \\`style\\` argument.`, 'You must provide a `styles` argument: `styled(\"div\")(styleYouForgotToPass)`.'].join('\\n'));\n } else if (styles.some(style => style === undefined)) {\n console.error(`MUI: the styled(${component})(...args) API requires all its args to be defined.`);\n }\n return stylesFactory(...styles);\n };\n }\n return stylesFactory;\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const internal_processStyles = (tag, processor) => {\n // Emotion attaches all the styles as `__emotion_styles`.\n // Ref: https://github.com/emotion-js/emotion/blob/16d971d0da229596d6bcc39d282ba9753c9ee7cf/packages/styled/src/base.js#L186\n if (Array.isArray(tag.__emotion_styles)) {\n tag.__emotion_styles = processor(tag.__emotion_styles);\n }\n};\nexport { ThemeContext, keyframes, css } from '@emotion/react';\nexport { default as StyledEngineProvider } from \"./StyledEngineProvider/index.js\";\nexport { default as GlobalStyles } from \"./GlobalStyles/index.js\";","// https://github.com/sindresorhus/is-plain-obj/blob/main/index.js\nexport function isPlainObject(item) {\n if (typeof item !== 'object' || item === null) {\n return false;\n }\n const prototype = Object.getPrototypeOf(item);\n return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);\n}\nfunction deepClone(source) {\n if (!isPlainObject(source)) {\n return source;\n }\n const output = {};\n Object.keys(source).forEach(key => {\n output[key] = deepClone(source[key]);\n });\n return output;\n}\nexport default function deepmerge(target, source, options = {\n clone: true\n}) {\n const output = options.clone ? {\n ...target\n } : target;\n if (isPlainObject(target) && isPlainObject(source)) {\n Object.keys(source).forEach(key => {\n if (isPlainObject(source[key]) &&\n // Avoid prototype pollution\n Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) {\n // Since `output` is a clone of `target` and we have narrowed `target` in this block we can cast to the same type.\n output[key] = deepmerge(target[key], source[key], options);\n } else if (options.clone) {\n output[key] = isPlainObject(source[key]) ? deepClone(source[key]) : source[key];\n } else {\n output[key] = source[key];\n }\n });\n }\n return output;\n}","// Sorted ASC by size. That's important.\n// It can't be configured as it's used statically for propTypes.\nexport const breakpointKeys = ['xs', 'sm', 'md', 'lg', 'xl'];\nconst sortBreakpointsValues = values => {\n const breakpointsAsArray = Object.keys(values).map(key => ({\n key,\n val: values[key]\n })) || [];\n // Sort in ascending order\n breakpointsAsArray.sort((breakpoint1, breakpoint2) => breakpoint1.val - breakpoint2.val);\n return breakpointsAsArray.reduce((acc, obj) => {\n return {\n ...acc,\n [obj.key]: obj.val\n };\n }, {});\n};\n\n// Keep in mind that @media is inclusive by the CSS specification.\nexport default function createBreakpoints(breakpoints) {\n const {\n // The breakpoint **start** at this value.\n // For instance with the first breakpoint xs: [xs, sm).\n values = {\n xs: 0,\n // phone\n sm: 600,\n // tablet\n md: 900,\n // small laptop\n lg: 1200,\n // desktop\n xl: 1536 // large screen\n },\n unit = 'px',\n step = 5,\n ...other\n } = breakpoints;\n const sortedValues = sortBreakpointsValues(values);\n const keys = Object.keys(sortedValues);\n function up(key) {\n const value = typeof values[key] === 'number' ? values[key] : key;\n return `@media (min-width:${value}${unit})`;\n }\n function down(key) {\n const value = typeof values[key] === 'number' ? values[key] : key;\n return `@media (max-width:${value - step / 100}${unit})`;\n }\n function between(start, end) {\n const endIndex = keys.indexOf(end);\n return `@media (min-width:${typeof values[start] === 'number' ? values[start] : start}${unit}) and ` + `(max-width:${(endIndex !== -1 && typeof values[keys[endIndex]] === 'number' ? values[keys[endIndex]] : end) - step / 100}${unit})`;\n }\n function only(key) {\n if (keys.indexOf(key) + 1 < keys.length) {\n return between(key, keys[keys.indexOf(key) + 1]);\n }\n return up(key);\n }\n function not(key) {\n // handle first and last key separately, for better readability\n const keyIndex = keys.indexOf(key);\n if (keyIndex === 0) {\n return up(keys[1]);\n }\n if (keyIndex === keys.length - 1) {\n return down(keys[keyIndex]);\n }\n return between(key, keys[keys.indexOf(key) + 1]).replace('@media', '@media not all and');\n }\n return {\n keys,\n values: sortedValues,\n up,\n down,\n between,\n only,\n not,\n unit,\n ...other\n };\n}","import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\n/**\n * For using in `sx` prop to sort the breakpoint from low to high.\n * Note: this function does not work and will not support multiple units.\n * e.g. input: { '@container (min-width:300px)': '1rem', '@container (min-width:40rem)': '2rem' }\n * output: { '@container (min-width:40rem)': '2rem', '@container (min-width:300px)': '1rem' } // since 40 < 300 eventhough 40rem > 300px\n */\nexport function sortContainerQueries(theme, css) {\n if (!theme.containerQueries) {\n return css;\n }\n const sorted = Object.keys(css).filter(key => key.startsWith('@container')).sort((a, b) => {\n const regex = /min-width:\\s*([0-9.]+)/;\n return +(a.match(regex)?.[1] || 0) - +(b.match(regex)?.[1] || 0);\n });\n if (!sorted.length) {\n return css;\n }\n return sorted.reduce((acc, key) => {\n const value = css[key];\n delete acc[key];\n acc[key] = value;\n return acc;\n }, {\n ...css\n });\n}\nexport function isCqShorthand(breakpointKeys, value) {\n return value === '@' || value.startsWith('@') && (breakpointKeys.some(key => value.startsWith(`@${key}`)) || !!value.match(/^@\\d/));\n}\nexport function getContainerQuery(theme, shorthand) {\n const matches = shorthand.match(/^@([^/]+)?\\/?(.+)?$/);\n if (!matches) {\n if (process.env.NODE_ENV !== 'production') {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: The provided shorthand ${`(${shorthand})`} is invalid. The format should be \\`@\\` or \\`@/\\`.\nFor example, \\`@sm\\` or \\`@600\\` or \\`@40rem/sidebar\\`.` : _formatMuiErrorMessage(18, `(${shorthand})`));\n }\n return null;\n }\n const [, containerQuery, containerName] = matches;\n const value = Number.isNaN(+containerQuery) ? containerQuery || 0 : +containerQuery;\n return theme.containerQueries(containerName).up(value);\n}\nexport default function cssContainerQueries(themeInput) {\n const toContainerQuery = (mediaQuery, name) => mediaQuery.replace('@media', name ? `@container ${name}` : '@container');\n function attachCq(node, name) {\n node.up = (...args) => toContainerQuery(themeInput.breakpoints.up(...args), name);\n node.down = (...args) => toContainerQuery(themeInput.breakpoints.down(...args), name);\n node.between = (...args) => toContainerQuery(themeInput.breakpoints.between(...args), name);\n node.only = (...args) => toContainerQuery(themeInput.breakpoints.only(...args), name);\n node.not = (...args) => {\n const result = toContainerQuery(themeInput.breakpoints.not(...args), name);\n if (result.includes('not all and')) {\n // `@container` does not work with `not all and`, so need to invert the logic\n return result.replace('not all and ', '').replace('min-width:', 'width<').replace('max-width:', 'width>').replace('and', 'or');\n }\n return result;\n };\n }\n const node = {};\n const containerQueries = name => {\n attachCq(node, name);\n return node;\n };\n attachCq(containerQueries);\n return {\n ...themeInput,\n containerQueries\n };\n}","const shape = {\n borderRadius: 4\n};\nexport default shape;","import deepmerge from '@mui/utils/deepmerge';\nfunction merge(acc, item) {\n if (!item) {\n return acc;\n }\n return deepmerge(acc, item, {\n clone: false // No need to clone deep, it's way faster.\n });\n}\nexport default merge;","import PropTypes from 'prop-types';\nimport deepmerge from '@mui/utils/deepmerge';\nimport merge from \"../merge/index.js\";\nimport { isCqShorthand, getContainerQuery } from \"../cssContainerQueries/index.js\";\n\n// The breakpoint **start** at this value.\n// For instance with the first breakpoint xs: [xs, sm[.\nexport const values = {\n xs: 0,\n // phone\n sm: 600,\n // tablet\n md: 900,\n // small laptop\n lg: 1200,\n // desktop\n xl: 1536 // large screen\n};\nconst defaultBreakpoints = {\n // Sorted ASC by size. That's important.\n // It can't be configured as it's used statically for propTypes.\n keys: ['xs', 'sm', 'md', 'lg', 'xl'],\n up: key => `@media (min-width:${values[key]}px)`\n};\nconst defaultContainerQueries = {\n containerQueries: containerName => ({\n up: key => {\n let result = typeof key === 'number' ? key : values[key] || key;\n if (typeof result === 'number') {\n result = `${result}px`;\n }\n return containerName ? `@container ${containerName} (min-width:${result})` : `@container (min-width:${result})`;\n }\n })\n};\nexport function handleBreakpoints(props, propValue, styleFromPropValue) {\n const theme = props.theme || {};\n if (Array.isArray(propValue)) {\n const themeBreakpoints = theme.breakpoints || defaultBreakpoints;\n return propValue.reduce((acc, item, index) => {\n acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]);\n return acc;\n }, {});\n }\n if (typeof propValue === 'object') {\n const themeBreakpoints = theme.breakpoints || defaultBreakpoints;\n return Object.keys(propValue).reduce((acc, breakpoint) => {\n if (isCqShorthand(themeBreakpoints.keys, breakpoint)) {\n const containerKey = getContainerQuery(theme.containerQueries ? theme : defaultContainerQueries, breakpoint);\n if (containerKey) {\n acc[containerKey] = styleFromPropValue(propValue[breakpoint], breakpoint);\n }\n }\n // key is breakpoint\n else if (Object.keys(themeBreakpoints.values || values).includes(breakpoint)) {\n const mediaKey = themeBreakpoints.up(breakpoint);\n acc[mediaKey] = styleFromPropValue(propValue[breakpoint], breakpoint);\n } else {\n const cssKey = breakpoint;\n acc[cssKey] = propValue[cssKey];\n }\n return acc;\n }, {});\n }\n const output = styleFromPropValue(propValue);\n return output;\n}\nfunction breakpoints(styleFunction) {\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const newStyleFunction = props => {\n const theme = props.theme || {};\n const base = styleFunction(props);\n const themeBreakpoints = theme.breakpoints || defaultBreakpoints;\n const extended = themeBreakpoints.keys.reduce((acc, key) => {\n if (props[key]) {\n acc = acc || {};\n acc[themeBreakpoints.up(key)] = styleFunction({\n theme,\n ...props[key]\n });\n }\n return acc;\n }, null);\n return merge(base, extended);\n };\n newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? {\n ...styleFunction.propTypes,\n xs: PropTypes.object,\n sm: PropTypes.object,\n md: PropTypes.object,\n lg: PropTypes.object,\n xl: PropTypes.object\n } : {};\n newStyleFunction.filterProps = ['xs', 'sm', 'md', 'lg', 'xl', ...styleFunction.filterProps];\n return newStyleFunction;\n}\nexport function createEmptyBreakpointObject(breakpointsInput = {}) {\n const breakpointsInOrder = breakpointsInput.keys?.reduce((acc, key) => {\n const breakpointStyleKey = breakpointsInput.up(key);\n acc[breakpointStyleKey] = {};\n return acc;\n }, {});\n return breakpointsInOrder || {};\n}\nexport function removeUnusedBreakpoints(breakpointKeys, style) {\n return breakpointKeys.reduce((acc, key) => {\n const breakpointOutput = acc[key];\n const isBreakpointUnused = !breakpointOutput || Object.keys(breakpointOutput).length === 0;\n if (isBreakpointUnused) {\n delete acc[key];\n }\n return acc;\n }, style);\n}\nexport function mergeBreakpointsInOrder(breakpointsInput, ...styles) {\n const emptyBreakpoints = createEmptyBreakpointObject(breakpointsInput);\n const mergedOutput = [emptyBreakpoints, ...styles].reduce((prev, next) => deepmerge(prev, next), {});\n return removeUnusedBreakpoints(Object.keys(emptyBreakpoints), mergedOutput);\n}\n\n// compute base for responsive values; e.g.,\n// [1,2,3] => {xs: true, sm: true, md: true}\n// {xs: 1, sm: 2, md: 3} => {xs: true, sm: true, md: true}\nexport function computeBreakpointsBase(breakpointValues, themeBreakpoints) {\n // fixed value\n if (typeof breakpointValues !== 'object') {\n return {};\n }\n const base = {};\n const breakpointsKeys = Object.keys(themeBreakpoints);\n if (Array.isArray(breakpointValues)) {\n breakpointsKeys.forEach((breakpoint, i) => {\n if (i < breakpointValues.length) {\n base[breakpoint] = true;\n }\n });\n } else {\n breakpointsKeys.forEach(breakpoint => {\n if (breakpointValues[breakpoint] != null) {\n base[breakpoint] = true;\n }\n });\n }\n return base;\n}\nexport function resolveBreakpointValues({\n values: breakpointValues,\n breakpoints: themeBreakpoints,\n base: customBase\n}) {\n const base = customBase || computeBreakpointsBase(breakpointValues, themeBreakpoints);\n const keys = Object.keys(base);\n if (keys.length === 0) {\n return breakpointValues;\n }\n let previous;\n return keys.reduce((acc, breakpoint, i) => {\n if (Array.isArray(breakpointValues)) {\n acc[breakpoint] = breakpointValues[i] != null ? breakpointValues[i] : breakpointValues[previous];\n previous = i;\n } else if (typeof breakpointValues === 'object') {\n acc[breakpoint] = breakpointValues[breakpoint] != null ? breakpointValues[breakpoint] : breakpointValues[previous];\n previous = breakpoint;\n } else {\n acc[breakpoint] = breakpointValues;\n }\n return acc;\n }, {});\n}\nexport default breakpoints;","import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\n// It should to be noted that this function isn't equivalent to `text-transform: capitalize`.\n//\n// A strict capitalization should uppercase the first letter of each word in the sentence.\n// We only handle the first word.\nexport default function capitalize(string) {\n if (typeof string !== 'string') {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: \\`capitalize(string)\\` expects a string argument.` : _formatMuiErrorMessage(7));\n }\n return string.charAt(0).toUpperCase() + string.slice(1);\n}","import capitalize from '@mui/utils/capitalize';\nimport responsivePropType from \"../responsivePropType/index.js\";\nimport { handleBreakpoints } from \"../breakpoints/index.js\";\nexport function getPath(obj, path, checkVars = true) {\n if (!path || typeof path !== 'string') {\n return null;\n }\n\n // Check if CSS variables are used\n if (obj && obj.vars && checkVars) {\n const val = `vars.${path}`.split('.').reduce((acc, item) => acc && acc[item] ? acc[item] : null, obj);\n if (val != null) {\n return val;\n }\n }\n return path.split('.').reduce((acc, item) => {\n if (acc && acc[item] != null) {\n return acc[item];\n }\n return null;\n }, obj);\n}\nexport function getStyleValue(themeMapping, transform, propValueFinal, userValue = propValueFinal) {\n let value;\n if (typeof themeMapping === 'function') {\n value = themeMapping(propValueFinal);\n } else if (Array.isArray(themeMapping)) {\n value = themeMapping[propValueFinal] || userValue;\n } else {\n value = getPath(themeMapping, propValueFinal) || userValue;\n }\n if (transform) {\n value = transform(value, userValue, themeMapping);\n }\n return value;\n}\nfunction style(options) {\n const {\n prop,\n cssProperty = options.prop,\n themeKey,\n transform\n } = options;\n\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const fn = props => {\n if (props[prop] == null) {\n return null;\n }\n const propValue = props[prop];\n const theme = props.theme;\n const themeMapping = getPath(theme, themeKey) || {};\n const styleFromPropValue = propValueFinal => {\n let value = getStyleValue(themeMapping, transform, propValueFinal);\n if (propValueFinal === value && typeof propValueFinal === 'string') {\n // Haven't found value\n value = getStyleValue(themeMapping, transform, `${prop}${propValueFinal === 'default' ? '' : capitalize(propValueFinal)}`, propValueFinal);\n }\n if (cssProperty === false) {\n return value;\n }\n return {\n [cssProperty]: value\n };\n };\n return handleBreakpoints(props, propValue, styleFromPropValue);\n };\n fn.propTypes = process.env.NODE_ENV !== 'production' ? {\n [prop]: responsivePropType\n } : {};\n fn.filterProps = [prop];\n return fn;\n}\nexport default style;","export default function memoize(fn) {\n const cache = {};\n return arg => {\n if (cache[arg] === undefined) {\n cache[arg] = fn(arg);\n }\n return cache[arg];\n };\n}","import responsivePropType from \"../responsivePropType/index.js\";\nimport { handleBreakpoints } from \"../breakpoints/index.js\";\nimport { getPath } from \"../style/index.js\";\nimport merge from \"../merge/index.js\";\nimport memoize from \"../memoize/index.js\";\nconst properties = {\n m: 'margin',\n p: 'padding'\n};\nconst directions = {\n t: 'Top',\n r: 'Right',\n b: 'Bottom',\n l: 'Left',\n x: ['Left', 'Right'],\n y: ['Top', 'Bottom']\n};\nconst aliases = {\n marginX: 'mx',\n marginY: 'my',\n paddingX: 'px',\n paddingY: 'py'\n};\n\n// memoize() impact:\n// From 300,000 ops/sec\n// To 350,000 ops/sec\nconst getCssProperties = memoize(prop => {\n // It's not a shorthand notation.\n if (prop.length > 2) {\n if (aliases[prop]) {\n prop = aliases[prop];\n } else {\n return [prop];\n }\n }\n const [a, b] = prop.split('');\n const property = properties[a];\n const direction = directions[b] || '';\n return Array.isArray(direction) ? direction.map(dir => property + dir) : [property + direction];\n});\nexport const marginKeys = ['m', 'mt', 'mr', 'mb', 'ml', 'mx', 'my', 'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'marginInline', 'marginInlineStart', 'marginInlineEnd', 'marginBlock', 'marginBlockStart', 'marginBlockEnd'];\nexport const paddingKeys = ['p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', 'padding', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'paddingX', 'paddingY', 'paddingInline', 'paddingInlineStart', 'paddingInlineEnd', 'paddingBlock', 'paddingBlockStart', 'paddingBlockEnd'];\nconst spacingKeys = [...marginKeys, ...paddingKeys];\nexport function createUnaryUnit(theme, themeKey, defaultValue, propName) {\n const themeSpacing = getPath(theme, themeKey, true) ?? defaultValue;\n if (typeof themeSpacing === 'number' || typeof themeSpacing === 'string') {\n return val => {\n if (typeof val === 'string') {\n return val;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (typeof val !== 'number') {\n console.error(`MUI: Expected ${propName} argument to be a number or a string, got ${val}.`);\n }\n }\n if (typeof themeSpacing === 'string') {\n return `calc(${val} * ${themeSpacing})`;\n }\n return themeSpacing * val;\n };\n }\n if (Array.isArray(themeSpacing)) {\n return val => {\n if (typeof val === 'string') {\n return val;\n }\n const abs = Math.abs(val);\n if (process.env.NODE_ENV !== 'production') {\n if (!Number.isInteger(abs)) {\n console.error([`MUI: The \\`theme.${themeKey}\\` array type cannot be combined with non integer values.` + `You should either use an integer value that can be used as index, or define the \\`theme.${themeKey}\\` as a number.`].join('\\n'));\n } else if (abs > themeSpacing.length - 1) {\n console.error([`MUI: The value provided (${abs}) overflows.`, `The supported values are: ${JSON.stringify(themeSpacing)}.`, `${abs} > ${themeSpacing.length - 1}, you need to add the missing values.`].join('\\n'));\n }\n }\n const transformed = themeSpacing[abs];\n if (val >= 0) {\n return transformed;\n }\n if (typeof transformed === 'number') {\n return -transformed;\n }\n return `-${transformed}`;\n };\n }\n if (typeof themeSpacing === 'function') {\n return themeSpacing;\n }\n if (process.env.NODE_ENV !== 'production') {\n console.error([`MUI: The \\`theme.${themeKey}\\` value (${themeSpacing}) is invalid.`, 'It should be a number, an array or a function.'].join('\\n'));\n }\n return () => undefined;\n}\nexport function createUnarySpacing(theme) {\n return createUnaryUnit(theme, 'spacing', 8, 'spacing');\n}\nexport function getValue(transformer, propValue) {\n if (typeof propValue === 'string' || propValue == null) {\n return propValue;\n }\n return transformer(propValue);\n}\nexport function getStyleFromPropValue(cssProperties, transformer) {\n return propValue => cssProperties.reduce((acc, cssProperty) => {\n acc[cssProperty] = getValue(transformer, propValue);\n return acc;\n }, {});\n}\nfunction resolveCssProperty(props, keys, prop, transformer) {\n // Using a hash computation over an array iteration could be faster, but with only 28 items,\n // it's doesn't worth the bundle size.\n if (!keys.includes(prop)) {\n return null;\n }\n const cssProperties = getCssProperties(prop);\n const styleFromPropValue = getStyleFromPropValue(cssProperties, transformer);\n const propValue = props[prop];\n return handleBreakpoints(props, propValue, styleFromPropValue);\n}\nfunction style(props, keys) {\n const transformer = createUnarySpacing(props.theme);\n return Object.keys(props).map(prop => resolveCssProperty(props, keys, prop, transformer)).reduce(merge, {});\n}\nexport function margin(props) {\n return style(props, marginKeys);\n}\nmargin.propTypes = process.env.NODE_ENV !== 'production' ? marginKeys.reduce((obj, key) => {\n obj[key] = responsivePropType;\n return obj;\n}, {}) : {};\nmargin.filterProps = marginKeys;\nexport function padding(props) {\n return style(props, paddingKeys);\n}\npadding.propTypes = process.env.NODE_ENV !== 'production' ? paddingKeys.reduce((obj, key) => {\n obj[key] = responsivePropType;\n return obj;\n}, {}) : {};\npadding.filterProps = paddingKeys;\nfunction spacing(props) {\n return style(props, spacingKeys);\n}\nspacing.propTypes = process.env.NODE_ENV !== 'production' ? spacingKeys.reduce((obj, key) => {\n obj[key] = responsivePropType;\n return obj;\n}, {}) : {};\nspacing.filterProps = spacingKeys;\nexport default spacing;","import { createUnarySpacing } from \"../spacing/index.js\";\n\n// The different signatures imply different meaning for their arguments that can't be expressed structurally.\n// We express the difference with variable names.\n\nexport default function createSpacing(spacingInput = 8,\n// Material Design layouts are visually balanced. Most measurements align to an 8dp grid, which aligns both spacing and the overall layout.\n// Smaller components, such as icons, can align to a 4dp grid.\n// https://m2.material.io/design/layout/understanding-layout.html\ntransform = createUnarySpacing({\n spacing: spacingInput\n})) {\n // Already transformed.\n if (spacingInput.mui) {\n return spacingInput;\n }\n const spacing = (...argsInput) => {\n if (process.env.NODE_ENV !== 'production') {\n if (!(argsInput.length <= 4)) {\n console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${argsInput.length}`);\n }\n }\n const args = argsInput.length === 0 ? [1] : argsInput;\n return args.map(argument => {\n const output = transform(argument);\n return typeof output === 'number' ? `${output}px` : output;\n }).join(' ');\n };\n spacing.mui = true;\n return spacing;\n}","import merge from \"../merge/index.js\";\nfunction compose(...styles) {\n const handlers = styles.reduce((acc, style) => {\n style.filterProps.forEach(prop => {\n acc[prop] = style;\n });\n return acc;\n }, {});\n\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const fn = props => {\n return Object.keys(props).reduce((acc, prop) => {\n if (handlers[prop]) {\n return merge(acc, handlers[prop](props));\n }\n return acc;\n }, {});\n };\n fn.propTypes = process.env.NODE_ENV !== 'production' ? styles.reduce((acc, style) => Object.assign(acc, style.propTypes), {}) : {};\n fn.filterProps = styles.reduce((acc, style) => acc.concat(style.filterProps), []);\n return fn;\n}\nexport default compose;","import responsivePropType from \"../responsivePropType/index.js\";\nimport style from \"../style/index.js\";\nimport compose from \"../compose/index.js\";\nimport { createUnaryUnit, getValue } from \"../spacing/index.js\";\nimport { handleBreakpoints } from \"../breakpoints/index.js\";\nexport function borderTransform(value) {\n if (typeof value !== 'number') {\n return value;\n }\n return `${value}px solid`;\n}\nfunction createBorderStyle(prop, transform) {\n return style({\n prop,\n themeKey: 'borders',\n transform\n });\n}\nexport const border = createBorderStyle('border', borderTransform);\nexport const borderTop = createBorderStyle('borderTop', borderTransform);\nexport const borderRight = createBorderStyle('borderRight', borderTransform);\nexport const borderBottom = createBorderStyle('borderBottom', borderTransform);\nexport const borderLeft = createBorderStyle('borderLeft', borderTransform);\nexport const borderColor = createBorderStyle('borderColor');\nexport const borderTopColor = createBorderStyle('borderTopColor');\nexport const borderRightColor = createBorderStyle('borderRightColor');\nexport const borderBottomColor = createBorderStyle('borderBottomColor');\nexport const borderLeftColor = createBorderStyle('borderLeftColor');\nexport const outline = createBorderStyle('outline', borderTransform);\nexport const outlineColor = createBorderStyle('outlineColor');\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const borderRadius = props => {\n if (props.borderRadius !== undefined && props.borderRadius !== null) {\n const transformer = createUnaryUnit(props.theme, 'shape.borderRadius', 4, 'borderRadius');\n const styleFromPropValue = propValue => ({\n borderRadius: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.borderRadius, styleFromPropValue);\n }\n return null;\n};\nborderRadius.propTypes = process.env.NODE_ENV !== 'production' ? {\n borderRadius: responsivePropType\n} : {};\nborderRadius.filterProps = ['borderRadius'];\nconst borders = compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderTopColor, borderRightColor, borderBottomColor, borderLeftColor, borderRadius, outline, outlineColor);\nexport default borders;","import style from \"../style/index.js\";\nimport compose from \"../compose/index.js\";\nimport { createUnaryUnit, getValue } from \"../spacing/index.js\";\nimport { handleBreakpoints } from \"../breakpoints/index.js\";\nimport responsivePropType from \"../responsivePropType/index.js\";\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const gap = props => {\n if (props.gap !== undefined && props.gap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'gap');\n const styleFromPropValue = propValue => ({\n gap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.gap, styleFromPropValue);\n }\n return null;\n};\ngap.propTypes = process.env.NODE_ENV !== 'production' ? {\n gap: responsivePropType\n} : {};\ngap.filterProps = ['gap'];\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const columnGap = props => {\n if (props.columnGap !== undefined && props.columnGap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'columnGap');\n const styleFromPropValue = propValue => ({\n columnGap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.columnGap, styleFromPropValue);\n }\n return null;\n};\ncolumnGap.propTypes = process.env.NODE_ENV !== 'production' ? {\n columnGap: responsivePropType\n} : {};\ncolumnGap.filterProps = ['columnGap'];\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const rowGap = props => {\n if (props.rowGap !== undefined && props.rowGap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'rowGap');\n const styleFromPropValue = propValue => ({\n rowGap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.rowGap, styleFromPropValue);\n }\n return null;\n};\nrowGap.propTypes = process.env.NODE_ENV !== 'production' ? {\n rowGap: responsivePropType\n} : {};\nrowGap.filterProps = ['rowGap'];\nexport const gridColumn = style({\n prop: 'gridColumn'\n});\nexport const gridRow = style({\n prop: 'gridRow'\n});\nexport const gridAutoFlow = style({\n prop: 'gridAutoFlow'\n});\nexport const gridAutoColumns = style({\n prop: 'gridAutoColumns'\n});\nexport const gridAutoRows = style({\n prop: 'gridAutoRows'\n});\nexport const gridTemplateColumns = style({\n prop: 'gridTemplateColumns'\n});\nexport const gridTemplateRows = style({\n prop: 'gridTemplateRows'\n});\nexport const gridTemplateAreas = style({\n prop: 'gridTemplateAreas'\n});\nexport const gridArea = style({\n prop: 'gridArea'\n});\nconst grid = compose(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);\nexport default grid;","import style from \"../style/index.js\";\nimport compose from \"../compose/index.js\";\nexport function paletteTransform(value, userValue) {\n if (userValue === 'grey') {\n return userValue;\n }\n return value;\n}\nexport const color = style({\n prop: 'color',\n themeKey: 'palette',\n transform: paletteTransform\n});\nexport const bgcolor = style({\n prop: 'bgcolor',\n cssProperty: 'backgroundColor',\n themeKey: 'palette',\n transform: paletteTransform\n});\nexport const backgroundColor = style({\n prop: 'backgroundColor',\n themeKey: 'palette',\n transform: paletteTransform\n});\nconst palette = compose(color, bgcolor, backgroundColor);\nexport default palette;","import style from \"../style/index.js\";\nimport compose from \"../compose/index.js\";\nimport { handleBreakpoints, values as breakpointsValues } from \"../breakpoints/index.js\";\nexport function sizingTransform(value) {\n return value <= 1 && value !== 0 ? `${value * 100}%` : value;\n}\nexport const width = style({\n prop: 'width',\n transform: sizingTransform\n});\nexport const maxWidth = props => {\n if (props.maxWidth !== undefined && props.maxWidth !== null) {\n const styleFromPropValue = propValue => {\n const breakpoint = props.theme?.breakpoints?.values?.[propValue] || breakpointsValues[propValue];\n if (!breakpoint) {\n return {\n maxWidth: sizingTransform(propValue)\n };\n }\n if (props.theme?.breakpoints?.unit !== 'px') {\n return {\n maxWidth: `${breakpoint}${props.theme.breakpoints.unit}`\n };\n }\n return {\n maxWidth: breakpoint\n };\n };\n return handleBreakpoints(props, props.maxWidth, styleFromPropValue);\n }\n return null;\n};\nmaxWidth.filterProps = ['maxWidth'];\nexport const minWidth = style({\n prop: 'minWidth',\n transform: sizingTransform\n});\nexport const height = style({\n prop: 'height',\n transform: sizingTransform\n});\nexport const maxHeight = style({\n prop: 'maxHeight',\n transform: sizingTransform\n});\nexport const minHeight = style({\n prop: 'minHeight',\n transform: sizingTransform\n});\nexport const sizeWidth = style({\n prop: 'size',\n cssProperty: 'width',\n transform: sizingTransform\n});\nexport const sizeHeight = style({\n prop: 'size',\n cssProperty: 'height',\n transform: sizingTransform\n});\nexport const boxSizing = style({\n prop: 'boxSizing'\n});\nconst sizing = compose(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);\nexport default sizing;","import { padding, margin } from \"../spacing/index.js\";\nimport { borderRadius, borderTransform } from \"../borders/index.js\";\nimport { gap, rowGap, columnGap } from \"../cssGrid/index.js\";\nimport { paletteTransform } from \"../palette/index.js\";\nimport { maxWidth, sizingTransform } from \"../sizing/index.js\";\nconst defaultSxConfig = {\n // borders\n border: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderTop: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderRight: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderBottom: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderLeft: {\n themeKey: 'borders',\n transform: borderTransform\n },\n borderColor: {\n themeKey: 'palette'\n },\n borderTopColor: {\n themeKey: 'palette'\n },\n borderRightColor: {\n themeKey: 'palette'\n },\n borderBottomColor: {\n themeKey: 'palette'\n },\n borderLeftColor: {\n themeKey: 'palette'\n },\n outline: {\n themeKey: 'borders',\n transform: borderTransform\n },\n outlineColor: {\n themeKey: 'palette'\n },\n borderRadius: {\n themeKey: 'shape.borderRadius',\n style: borderRadius\n },\n // palette\n color: {\n themeKey: 'palette',\n transform: paletteTransform\n },\n bgcolor: {\n themeKey: 'palette',\n cssProperty: 'backgroundColor',\n transform: paletteTransform\n },\n backgroundColor: {\n themeKey: 'palette',\n transform: paletteTransform\n },\n // spacing\n p: {\n style: padding\n },\n pt: {\n style: padding\n },\n pr: {\n style: padding\n },\n pb: {\n style: padding\n },\n pl: {\n style: padding\n },\n px: {\n style: padding\n },\n py: {\n style: padding\n },\n padding: {\n style: padding\n },\n paddingTop: {\n style: padding\n },\n paddingRight: {\n style: padding\n },\n paddingBottom: {\n style: padding\n },\n paddingLeft: {\n style: padding\n },\n paddingX: {\n style: padding\n },\n paddingY: {\n style: padding\n },\n paddingInline: {\n style: padding\n },\n paddingInlineStart: {\n style: padding\n },\n paddingInlineEnd: {\n style: padding\n },\n paddingBlock: {\n style: padding\n },\n paddingBlockStart: {\n style: padding\n },\n paddingBlockEnd: {\n style: padding\n },\n m: {\n style: margin\n },\n mt: {\n style: margin\n },\n mr: {\n style: margin\n },\n mb: {\n style: margin\n },\n ml: {\n style: margin\n },\n mx: {\n style: margin\n },\n my: {\n style: margin\n },\n margin: {\n style: margin\n },\n marginTop: {\n style: margin\n },\n marginRight: {\n style: margin\n },\n marginBottom: {\n style: margin\n },\n marginLeft: {\n style: margin\n },\n marginX: {\n style: margin\n },\n marginY: {\n style: margin\n },\n marginInline: {\n style: margin\n },\n marginInlineStart: {\n style: margin\n },\n marginInlineEnd: {\n style: margin\n },\n marginBlock: {\n style: margin\n },\n marginBlockStart: {\n style: margin\n },\n marginBlockEnd: {\n style: margin\n },\n // display\n displayPrint: {\n cssProperty: false,\n transform: value => ({\n '@media print': {\n display: value\n }\n })\n },\n display: {},\n overflow: {},\n textOverflow: {},\n visibility: {},\n whiteSpace: {},\n // flexbox\n flexBasis: {},\n flexDirection: {},\n flexWrap: {},\n justifyContent: {},\n alignItems: {},\n alignContent: {},\n order: {},\n flex: {},\n flexGrow: {},\n flexShrink: {},\n alignSelf: {},\n justifyItems: {},\n justifySelf: {},\n // grid\n gap: {\n style: gap\n },\n rowGap: {\n style: rowGap\n },\n columnGap: {\n style: columnGap\n },\n gridColumn: {},\n gridRow: {},\n gridAutoFlow: {},\n gridAutoColumns: {},\n gridAutoRows: {},\n gridTemplateColumns: {},\n gridTemplateRows: {},\n gridTemplateAreas: {},\n gridArea: {},\n // positions\n position: {},\n zIndex: {\n themeKey: 'zIndex'\n },\n top: {},\n right: {},\n bottom: {},\n left: {},\n // shadows\n boxShadow: {\n themeKey: 'shadows'\n },\n // sizing\n width: {\n transform: sizingTransform\n },\n maxWidth: {\n style: maxWidth\n },\n minWidth: {\n transform: sizingTransform\n },\n height: {\n transform: sizingTransform\n },\n maxHeight: {\n transform: sizingTransform\n },\n minHeight: {\n transform: sizingTransform\n },\n boxSizing: {},\n // typography\n font: {\n themeKey: 'font'\n },\n fontFamily: {\n themeKey: 'typography'\n },\n fontSize: {\n themeKey: 'typography'\n },\n fontStyle: {\n themeKey: 'typography'\n },\n fontWeight: {\n themeKey: 'typography'\n },\n letterSpacing: {},\n textTransform: {},\n lineHeight: {},\n textAlign: {},\n typography: {\n cssProperty: false,\n themeKey: 'typography'\n }\n};\nexport default defaultSxConfig;","import capitalize from '@mui/utils/capitalize';\nimport merge from \"../merge/index.js\";\nimport { getPath, getStyleValue as getValue } from \"../style/index.js\";\nimport { handleBreakpoints, createEmptyBreakpointObject, removeUnusedBreakpoints } from \"../breakpoints/index.js\";\nimport { sortContainerQueries } from \"../cssContainerQueries/index.js\";\nimport defaultSxConfig from \"./defaultSxConfig.js\";\nfunction objectsHaveSameKeys(...objects) {\n const allKeys = objects.reduce((keys, object) => keys.concat(Object.keys(object)), []);\n const union = new Set(allKeys);\n return objects.every(object => union.size === Object.keys(object).length);\n}\nfunction callIfFn(maybeFn, arg) {\n return typeof maybeFn === 'function' ? maybeFn(arg) : maybeFn;\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function unstable_createStyleFunctionSx() {\n function getThemeValue(prop, val, theme, config) {\n const props = {\n [prop]: val,\n theme\n };\n const options = config[prop];\n if (!options) {\n return {\n [prop]: val\n };\n }\n const {\n cssProperty = prop,\n themeKey,\n transform,\n style\n } = options;\n if (val == null) {\n return null;\n }\n\n // TODO v6: remove, see https://github.com/mui/material-ui/pull/38123\n if (themeKey === 'typography' && val === 'inherit') {\n return {\n [prop]: val\n };\n }\n const themeMapping = getPath(theme, themeKey) || {};\n if (style) {\n return style(props);\n }\n const styleFromPropValue = propValueFinal => {\n let value = getValue(themeMapping, transform, propValueFinal);\n if (propValueFinal === value && typeof propValueFinal === 'string') {\n // Haven't found value\n value = getValue(themeMapping, transform, `${prop}${propValueFinal === 'default' ? '' : capitalize(propValueFinal)}`, propValueFinal);\n }\n if (cssProperty === false) {\n return value;\n }\n return {\n [cssProperty]: value\n };\n };\n return handleBreakpoints(props, val, styleFromPropValue);\n }\n function styleFunctionSx(props) {\n const {\n sx,\n theme = {}\n } = props || {};\n if (!sx) {\n return null; // Emotion & styled-components will neglect null\n }\n const config = theme.unstable_sxConfig ?? defaultSxConfig;\n\n /*\n * Receive `sxInput` as object or callback\n * and then recursively check keys & values to create media query object styles.\n * (the result will be used in `styled`)\n */\n function traverse(sxInput) {\n let sxObject = sxInput;\n if (typeof sxInput === 'function') {\n sxObject = sxInput(theme);\n } else if (typeof sxInput !== 'object') {\n // value\n return sxInput;\n }\n if (!sxObject) {\n return null;\n }\n const emptyBreakpoints = createEmptyBreakpointObject(theme.breakpoints);\n const breakpointsKeys = Object.keys(emptyBreakpoints);\n let css = emptyBreakpoints;\n Object.keys(sxObject).forEach(styleKey => {\n const value = callIfFn(sxObject[styleKey], theme);\n if (value !== null && value !== undefined) {\n if (typeof value === 'object') {\n if (config[styleKey]) {\n css = merge(css, getThemeValue(styleKey, value, theme, config));\n } else {\n const breakpointsValues = handleBreakpoints({\n theme\n }, value, x => ({\n [styleKey]: x\n }));\n if (objectsHaveSameKeys(breakpointsValues, value)) {\n css[styleKey] = styleFunctionSx({\n sx: value,\n theme\n });\n } else {\n css = merge(css, breakpointsValues);\n }\n }\n } else {\n css = merge(css, getThemeValue(styleKey, value, theme, config));\n }\n }\n });\n return sortContainerQueries(theme, removeUnusedBreakpoints(breakpointsKeys, css));\n }\n return Array.isArray(sx) ? sx.map(traverse) : traverse(sx);\n }\n return styleFunctionSx;\n}\nconst styleFunctionSx = unstable_createStyleFunctionSx();\nstyleFunctionSx.filterProps = ['sx'];\nexport default styleFunctionSx;","/**\n * A universal utility to style components with multiple color modes. Always use it from the theme object.\n * It works with:\n * - [Basic theme](https://mui.com/material-ui/customization/dark-mode/)\n * - [CSS theme variables](https://mui.com/material-ui/customization/css-theme-variables/overview/)\n * - Zero-runtime engine\n *\n * Tips: Use an array over object spread and place `theme.applyStyles()` last.\n *\n * ✅ [{ background: '#e5e5e5' }, theme.applyStyles('dark', { background: '#1c1c1c' })]\n *\n * 🚫 { background: '#e5e5e5', ...theme.applyStyles('dark', { background: '#1c1c1c' })}\n *\n * @example\n * 1. using with `styled`:\n * ```jsx\n * const Component = styled('div')(({ theme }) => [\n * { background: '#e5e5e5' },\n * theme.applyStyles('dark', {\n * background: '#1c1c1c',\n * color: '#fff',\n * }),\n * ]);\n * ```\n *\n * @example\n * 2. using with `sx` prop:\n * ```jsx\n * [\n * { background: '#e5e5e5' },\n * theme.applyStyles('dark', {\n * background: '#1c1c1c',\n * color: '#fff',\n * }),\n * ]}\n * />\n * ```\n *\n * @example\n * 3. theming a component:\n * ```jsx\n * extendTheme({\n * components: {\n * MuiButton: {\n * styleOverrides: {\n * root: ({ theme }) => [\n * { background: '#e5e5e5' },\n * theme.applyStyles('dark', {\n * background: '#1c1c1c',\n * color: '#fff',\n * }),\n * ],\n * },\n * }\n * }\n * })\n *```\n */\nexport default function applyStyles(key, styles) {\n // @ts-expect-error this is 'any' type\n const theme = this;\n if (theme.vars) {\n if (!theme.colorSchemes?.[key] || typeof theme.getColorSchemeSelector !== 'function') {\n return {};\n }\n // If CssVarsProvider is used as a provider, returns '*:where({selector}) &'\n let selector = theme.getColorSchemeSelector(key);\n if (selector === '&') {\n return styles;\n }\n if (selector.includes('data-') || selector.includes('.')) {\n // '*' is required as a workaround for Emotion issue (https://github.com/emotion-js/emotion/issues/2836)\n selector = `*:where(${selector.replace(/\\s*&$/, '')}) &`;\n }\n return {\n [selector]: styles\n };\n }\n if (theme.palette.mode === key) {\n return styles;\n }\n return {};\n}","import deepmerge from '@mui/utils/deepmerge';\nimport createBreakpoints from \"../createBreakpoints/createBreakpoints.js\";\nimport cssContainerQueries from \"../cssContainerQueries/index.js\";\nimport shape from \"./shape.js\";\nimport createSpacing from \"./createSpacing.js\";\nimport styleFunctionSx from \"../styleFunctionSx/styleFunctionSx.js\";\nimport defaultSxConfig from \"../styleFunctionSx/defaultSxConfig.js\";\nimport applyStyles from \"./applyStyles.js\";\nfunction createTheme(options = {}, ...args) {\n const {\n breakpoints: breakpointsInput = {},\n palette: paletteInput = {},\n spacing: spacingInput,\n shape: shapeInput = {},\n ...other\n } = options;\n const breakpoints = createBreakpoints(breakpointsInput);\n const spacing = createSpacing(spacingInput);\n let muiTheme = deepmerge({\n breakpoints,\n direction: 'ltr',\n components: {},\n // Inject component definitions.\n palette: {\n mode: 'light',\n ...paletteInput\n },\n spacing,\n shape: {\n ...shape,\n ...shapeInput\n }\n }, other);\n muiTheme = cssContainerQueries(muiTheme);\n muiTheme.applyStyles = applyStyles;\n muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);\n muiTheme.unstable_sxConfig = {\n ...defaultSxConfig,\n ...other?.unstable_sxConfig\n };\n muiTheme.unstable_sx = function sx(props) {\n return styleFunctionSx({\n sx: props,\n theme: this\n });\n };\n return muiTheme;\n}\nexport default createTheme;","'use client';\n\nimport * as React from 'react';\nimport { ThemeContext } from '@mui/styled-engine';\nfunction isObjectEmpty(obj) {\n return Object.keys(obj).length === 0;\n}\nfunction useTheme(defaultTheme = null) {\n const contextTheme = React.useContext(ThemeContext);\n return !contextTheme || isObjectEmpty(contextTheme) ? defaultTheme : contextTheme;\n}\nexport default useTheme;","'use client';\n\nimport createTheme from \"../createTheme/index.js\";\nimport useThemeWithoutDefault from \"../useThemeWithoutDefault/index.js\";\nexport const systemDefaultTheme = createTheme();\nfunction useTheme(defaultTheme = systemDefaultTheme) {\n return useThemeWithoutDefault(defaultTheme);\n}\nexport default useTheme;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { GlobalStyles as MuiGlobalStyles } from '@mui/styled-engine';\nimport useTheme from \"../useTheme/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction GlobalStyles({\n styles,\n themeId,\n defaultTheme = {}\n}) {\n const upperTheme = useTheme(defaultTheme);\n const globalStyles = typeof styles === 'function' ? styles(themeId ? upperTheme[themeId] || upperTheme : upperTheme) : styles;\n return /*#__PURE__*/_jsx(MuiGlobalStyles, {\n styles: globalStyles\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? GlobalStyles.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n defaultTheme: PropTypes.object,\n /**\n * @ignore\n */\n styles: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.array, PropTypes.func, PropTypes.number, PropTypes.object, PropTypes.string, PropTypes.bool]),\n /**\n * @ignore\n */\n themeId: PropTypes.string\n} : void 0;\nexport default GlobalStyles;","import { isPlainObject } from '@mui/utils/deepmerge';\nimport defaultSxConfig from \"./defaultSxConfig.js\";\nconst splitProps = props => {\n const result = {\n systemProps: {},\n otherProps: {}\n };\n const config = props?.theme?.unstable_sxConfig ?? defaultSxConfig;\n Object.keys(props).forEach(prop => {\n if (config[prop]) {\n result.systemProps[prop] = props[prop];\n } else {\n result.otherProps[prop] = props[prop];\n }\n });\n return result;\n};\nexport default function extendSxProp(props) {\n const {\n sx: inSx,\n ...other\n } = props;\n const {\n systemProps,\n otherProps\n } = splitProps(other);\n let finalSx;\n if (Array.isArray(inSx)) {\n finalSx = [systemProps, ...inSx];\n } else if (typeof inSx === 'function') {\n finalSx = (...args) => {\n const result = inSx(...args);\n if (!isPlainObject(result)) {\n return systemProps;\n }\n return {\n ...systemProps,\n ...result\n };\n };\n } else {\n finalSx = {\n ...systemProps,\n ...inSx\n };\n }\n return {\n ...otherProps,\n sx: finalSx\n };\n}","const defaultGenerator = componentName => componentName;\nconst createClassNameGenerator = () => {\n let generate = defaultGenerator;\n return {\n configure(generator) {\n generate = generator;\n },\n generate(componentName) {\n return generate(componentName);\n },\n reset() {\n generate = defaultGenerator;\n }\n };\n};\nconst ClassNameGenerator = createClassNameGenerator();\nexport default ClassNameGenerator;","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t prop !== 'theme' && prop !== 'sx' && prop !== 'as'\n })(styleFunctionSx);\n const Box = /*#__PURE__*/React.forwardRef(function Box(inProps, ref) {\n const theme = useTheme(defaultTheme);\n const {\n className,\n component = 'div',\n ...other\n } = extendSxProp(inProps);\n return /*#__PURE__*/_jsx(BoxRoot, {\n as: component,\n ref: ref,\n className: clsx(className, generateClassName ? generateClassName(defaultClassName) : defaultClassName),\n theme: themeId ? theme[themeId] || theme : theme,\n ...other\n });\n });\n return Box;\n}","import ClassNameGenerator from \"../ClassNameGenerator/index.js\";\nexport const globalStateClasses = {\n active: 'active',\n checked: 'checked',\n completed: 'completed',\n disabled: 'disabled',\n error: 'error',\n expanded: 'expanded',\n focused: 'focused',\n focusVisible: 'focusVisible',\n open: 'open',\n readOnly: 'readOnly',\n required: 'required',\n selected: 'selected'\n};\nexport default function generateUtilityClass(componentName, slot, globalStatePrefix = 'Mui') {\n const globalStateClass = globalStateClasses[slot];\n return globalStateClass ? `${globalStatePrefix}-${globalStateClass}` : `${ClassNameGenerator.generate(componentName)}-${slot}`;\n}\nexport function isGlobalState(slot) {\n return globalStateClasses[slot] !== undefined;\n}","import generateUtilityClass from \"../generateUtilityClass/index.js\";\nexport default function generateUtilityClasses(componentName, slots, globalStatePrefix = 'Mui') {\n const result = {};\n slots.forEach(slot => {\n result[slot] = generateUtilityClass(componentName, slot, globalStatePrefix);\n });\n return result;\n}","/**\n * @license React\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var b=Symbol.for(\"react.element\"),c=Symbol.for(\"react.portal\"),d=Symbol.for(\"react.fragment\"),e=Symbol.for(\"react.strict_mode\"),f=Symbol.for(\"react.profiler\"),g=Symbol.for(\"react.provider\"),h=Symbol.for(\"react.context\"),k=Symbol.for(\"react.server_context\"),l=Symbol.for(\"react.forward_ref\"),m=Symbol.for(\"react.suspense\"),n=Symbol.for(\"react.suspense_list\"),p=Symbol.for(\"react.memo\"),q=Symbol.for(\"react.lazy\"),t=Symbol.for(\"react.offscreen\"),u;u=Symbol.for(\"react.module.reference\");\nfunction v(a){if(\"object\"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type,a){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof,a){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}exports.ContextConsumer=h;exports.ContextProvider=g;exports.Element=b;exports.ForwardRef=l;exports.Fragment=d;exports.Lazy=q;exports.Memo=p;exports.Portal=c;exports.Profiler=f;exports.StrictMode=e;exports.Suspense=m;\nexports.SuspenseList=n;exports.isAsyncMode=function(){return!1};exports.isConcurrentMode=function(){return!1};exports.isContextConsumer=function(a){return v(a)===h};exports.isContextProvider=function(a){return v(a)===g};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===b};exports.isForwardRef=function(a){return v(a)===l};exports.isFragment=function(a){return v(a)===d};exports.isLazy=function(a){return v(a)===q};exports.isMemo=function(a){return v(a)===p};\nexports.isPortal=function(a){return v(a)===c};exports.isProfiler=function(a){return v(a)===f};exports.isStrictMode=function(a){return v(a)===e};exports.isSuspense=function(a){return v(a)===m};exports.isSuspenseList=function(a){return v(a)===n};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===d||a===f||a===e||a===m||a===n||a===t||\"object\"===typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||void 0!==a.getModuleId)?!0:!1};exports.typeOf=v;\n","/* eslint-disable no-underscore-dangle */\nimport styledEngineStyled, { internal_processStyles as processStyles } from '@mui/styled-engine';\nimport { isPlainObject } from '@mui/utils/deepmerge';\nimport capitalize from '@mui/utils/capitalize';\nimport getDisplayName from '@mui/utils/getDisplayName';\nimport createTheme from \"../createTheme/index.js\";\nimport styleFunctionSx from \"../styleFunctionSx/index.js\";\nexport const systemDefaultTheme = createTheme();\n\n// Update /system/styled/#api in case if this changes\nexport function shouldForwardProp(prop) {\n return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';\n}\nfunction resolveTheme(themeId, theme, defaultTheme) {\n return isObjectEmpty(theme) ? defaultTheme : theme[themeId] || theme;\n}\nconst PROCESSED_PROPS = Symbol('mui.processed_props');\nfunction attachTheme(props, themeId, defaultTheme) {\n if (PROCESSED_PROPS in props) {\n return props[PROCESSED_PROPS];\n }\n const processedProps = {\n ...props,\n theme: resolveTheme(themeId, props.theme, defaultTheme)\n };\n props[PROCESSED_PROPS] = processedProps;\n processedProps[PROCESSED_PROPS] = processedProps;\n return processedProps;\n}\nfunction defaultOverridesResolver(slot) {\n if (!slot) {\n return null;\n }\n return (_props, styles) => styles[slot];\n}\nfunction processStyle(style, props) {\n const resolvedStyle = typeof style === 'function' ? style(props) : style;\n if (Array.isArray(resolvedStyle)) {\n return resolvedStyle.flatMap(subStyle => processStyle(subStyle, props));\n }\n if (Array.isArray(resolvedStyle?.variants)) {\n const {\n variants,\n ...otherStyles\n } = resolvedStyle;\n let result = otherStyles;\n let mergedState; // We might not need it, initalized lazily\n\n /* eslint-disable no-labels */\n variantLoop: for (let i = 0; i < variants.length; i += 1) {\n const variant = variants[i];\n if (typeof variant.props === 'function') {\n mergedState ??= {\n ...props,\n ...props.ownerState,\n ownerState: props.ownerState\n };\n if (!variant.props(mergedState)) {\n continue;\n }\n } else {\n for (const key in variant.props) {\n if (props[key] !== variant.props[key] && props.ownerState?.[key] !== variant.props[key]) {\n continue variantLoop;\n }\n }\n }\n if (!Array.isArray(result)) {\n result = [result];\n }\n if (typeof variant.style === 'function') {\n mergedState ??= {\n ...props,\n ...props.ownerState,\n ownerState: props.ownerState\n };\n result.push(variant.style(mergedState));\n } else {\n result.push(variant.style);\n }\n }\n /* eslint-enable no-labels */\n\n return result;\n }\n return resolvedStyle;\n}\nexport default function createStyled(input = {}) {\n const {\n themeId,\n defaultTheme = systemDefaultTheme,\n rootShouldForwardProp = shouldForwardProp,\n slotShouldForwardProp = shouldForwardProp\n } = input;\n const systemSx = props => {\n return styleFunctionSx(attachTheme(props, themeId, defaultTheme));\n };\n systemSx.__mui_systemSx = true;\n const styled = (tag, inputOptions = {}) => {\n // Filter out the `sx` style function from the previous styled component to prevent unnecessary styles generated by the composite components.\n processStyles(tag, styles => styles.filter(style => !style?.__mui_systemSx));\n const {\n name: componentName,\n slot: componentSlot,\n skipVariantsResolver: inputSkipVariantsResolver,\n skipSx: inputSkipSx,\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot)),\n ...options\n } = inputOptions;\n\n // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.\n const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver :\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n componentSlot && componentSlot !== 'Root' && componentSlot !== 'root' || false;\n const skipSx = inputSkipSx || false;\n let label;\n if (process.env.NODE_ENV !== 'production') {\n if (componentName) {\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n label = `${componentName}-${lowercaseFirstLetter(componentSlot || 'Root')}`;\n }\n }\n let shouldForwardPropOption = shouldForwardProp;\n\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n if (componentSlot === 'Root' || componentSlot === 'root') {\n shouldForwardPropOption = rootShouldForwardProp;\n } else if (componentSlot) {\n // any other slot specified\n shouldForwardPropOption = slotShouldForwardProp;\n } else if (isStringTag(tag)) {\n // for string (html) tag, preserve the behavior in emotion & styled-components.\n shouldForwardPropOption = undefined;\n }\n const defaultStyledResolver = styledEngineStyled(tag, {\n shouldForwardProp: shouldForwardPropOption,\n label,\n ...options\n });\n const transformStyleArg = style => {\n // On the server Emotion doesn't use React.forwardRef for creating components, so the created\n // component stays as a function. This condition makes sure that we do not interpolate functions\n // which are basically components used as a selectors.\n if (typeof style === 'function' && style.__emotion_real !== style || isPlainObject(style)) {\n return props => processStyle(style, attachTheme(props, themeId, defaultTheme));\n }\n return style;\n };\n const muiStyledResolver = (style, ...expressions) => {\n let transformedStyle = transformStyleArg(style);\n const expressionsWithDefaultTheme = expressions ? expressions.map(transformStyleArg) : [];\n if (componentName && overridesResolver) {\n expressionsWithDefaultTheme.push(props => {\n const theme = resolveTheme(themeId, props.theme, defaultTheme);\n if (!theme.components || !theme.components[componentName] || !theme.components[componentName].styleOverrides) {\n return null;\n }\n const styleOverrides = theme.components[componentName].styleOverrides;\n const resolvedStyleOverrides = {};\n const propsWithTheme = attachTheme(props, themeId, defaultTheme);\n\n // TODO: v7 remove iteration and use `resolveStyleArg(styleOverrides[slot])` directly\n // eslint-disable-next-line guard-for-in\n for (const slotKey in styleOverrides) {\n resolvedStyleOverrides[slotKey] = processStyle(styleOverrides[slotKey], propsWithTheme);\n }\n return overridesResolver(props, resolvedStyleOverrides);\n });\n }\n if (componentName && !skipVariantsResolver) {\n expressionsWithDefaultTheme.push(props => {\n const theme = resolveTheme(themeId, props.theme, defaultTheme);\n const themeVariants = theme?.components?.[componentName]?.variants;\n if (!themeVariants) {\n return null;\n }\n return processStyle({\n variants: themeVariants\n }, attachTheme(props, themeId, defaultTheme));\n });\n }\n if (!skipSx) {\n expressionsWithDefaultTheme.push(systemSx);\n }\n const numOfCustomFnsApplied = expressionsWithDefaultTheme.length - expressions.length;\n if (Array.isArray(style) && numOfCustomFnsApplied > 0) {\n const placeholders = new Array(numOfCustomFnsApplied).fill('');\n // If the type is array, than we need to add placeholders in the template for the overrides, variants and the sx styles.\n transformedStyle = [...style, ...placeholders];\n transformedStyle.raw = [...style.raw, ...placeholders];\n }\n const Component = defaultStyledResolver(transformedStyle, ...expressionsWithDefaultTheme);\n if (process.env.NODE_ENV !== 'production') {\n let displayName;\n if (componentName) {\n displayName = `${componentName}${capitalize(componentSlot || '')}`;\n }\n if (displayName === undefined) {\n displayName = `Styled(${getDisplayName(tag)})`;\n }\n Component.displayName = displayName;\n }\n if (tag.muiName) {\n Component.muiName = tag.muiName;\n }\n return Component;\n };\n if (defaultStyledResolver.withConfig) {\n muiStyledResolver.withConfig = defaultStyledResolver.withConfig;\n }\n return muiStyledResolver;\n };\n return styled;\n}\nfunction isObjectEmpty(object) {\n // eslint-disable-next-line\n for (const _ in object) {\n return false;\n }\n return true;\n}\n\n// https://github.com/emotion-js/emotion/blob/26ded6109fcd8ca9875cc2ce4564fee678a3f3c5/packages/styled/src/utils.js#L40\nfunction isStringTag(tag) {\n return typeof tag === 'string' &&\n // 96 is one less than the char code\n // for \"a\" so this is checking that\n // it's a lowercase character\n tag.charCodeAt(0) > 96;\n}\nfunction lowercaseFirstLetter(string) {\n if (!string) {\n return string;\n }\n return string.charAt(0).toLowerCase() + string.slice(1);\n}","import createStyled from \"../createStyled/index.js\";\nconst styled = createStyled();\nexport default styled;","/**\n * Add keys, values of `defaultProps` that does not exist in `props`\n * @param defaultProps\n * @param props\n * @returns resolved props\n */\nexport default function resolveProps(defaultProps, props) {\n const output = {\n ...props\n };\n for (const key in defaultProps) {\n if (Object.prototype.hasOwnProperty.call(defaultProps, key)) {\n const propName = key;\n if (propName === 'components' || propName === 'slots') {\n output[propName] = {\n ...defaultProps[propName],\n ...output[propName]\n };\n } else if (propName === 'componentsProps' || propName === 'slotProps') {\n const defaultSlotProps = defaultProps[propName];\n const slotProps = props[propName];\n if (!slotProps) {\n output[propName] = defaultSlotProps || {};\n } else if (!defaultSlotProps) {\n output[propName] = slotProps;\n } else {\n output[propName] = {\n ...slotProps\n };\n for (const slotKey in defaultSlotProps) {\n if (Object.prototype.hasOwnProperty.call(defaultSlotProps, slotKey)) {\n const slotPropName = slotKey;\n output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName]);\n }\n }\n }\n } else if (output[propName] === undefined) {\n output[propName] = defaultProps[propName];\n }\n }\n }\n return output;\n}","import resolveProps from '@mui/utils/resolveProps';\nexport default function getThemeProps(params) {\n const {\n theme,\n name,\n props\n } = params;\n if (!theme || !theme.components || !theme.components[name] || !theme.components[name].defaultProps) {\n return props;\n }\n return resolveProps(theme.components[name].defaultProps, props);\n}","'use client';\n\nimport getThemeProps from \"./getThemeProps.js\";\nimport useTheme from \"../useTheme/index.js\";\nexport default function useThemeProps({\n props,\n name,\n defaultTheme,\n themeId\n}) {\n let theme = useTheme(defaultTheme);\n if (themeId) {\n theme = theme[themeId] || theme;\n }\n return getThemeProps({\n theme,\n name,\n props\n });\n}","'use client';\n\nimport * as React from 'react';\n\n/**\n * A version of `React.useLayoutEffect` that does not show a warning when server-side rendering.\n * This is useful for effects that are only needed for client-side rendering but not for SSR.\n *\n * Before you use this hook, make sure to read https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85\n * and confirm it doesn't apply to your use-case.\n */\nconst useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\nexport default useEnhancedEffect;","'use client';\n\nimport * as React from 'react';\nimport useEnhancedEffect from '@mui/utils/useEnhancedEffect';\nimport { getThemeProps } from \"../useThemeProps/index.js\";\nimport useTheme from \"../useThemeWithoutDefault/index.js\";\n// TODO React 17: Remove `useMediaQueryOld` once React 17 support is removed\nfunction useMediaQueryOld(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr) {\n const [match, setMatch] = React.useState(() => {\n if (noSsr && matchMedia) {\n return matchMedia(query).matches;\n }\n if (ssrMatchMedia) {\n return ssrMatchMedia(query).matches;\n }\n\n // Once the component is mounted, we rely on the\n // event listeners to return the correct matches value.\n return defaultMatches;\n });\n useEnhancedEffect(() => {\n if (!matchMedia) {\n return undefined;\n }\n const queryList = matchMedia(query);\n const updateMatch = () => {\n setMatch(queryList.matches);\n };\n updateMatch();\n queryList.addEventListener('change', updateMatch);\n return () => {\n queryList.removeEventListener('change', updateMatch);\n };\n }, [query, matchMedia]);\n return match;\n}\n\n// See https://github.com/mui/material-ui/issues/41190#issuecomment-2040873379 for why\nconst safeReact = {\n ...React\n};\nconst maybeReactUseSyncExternalStore = safeReact.useSyncExternalStore;\nfunction useMediaQueryNew(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr) {\n const getDefaultSnapshot = React.useCallback(() => defaultMatches, [defaultMatches]);\n const getServerSnapshot = React.useMemo(() => {\n if (noSsr && matchMedia) {\n return () => matchMedia(query).matches;\n }\n if (ssrMatchMedia !== null) {\n const {\n matches\n } = ssrMatchMedia(query);\n return () => matches;\n }\n return getDefaultSnapshot;\n }, [getDefaultSnapshot, query, ssrMatchMedia, noSsr, matchMedia]);\n const [getSnapshot, subscribe] = React.useMemo(() => {\n if (matchMedia === null) {\n return [getDefaultSnapshot, () => () => {}];\n }\n const mediaQueryList = matchMedia(query);\n return [() => mediaQueryList.matches, notify => {\n mediaQueryList.addEventListener('change', notify);\n return () => {\n mediaQueryList.removeEventListener('change', notify);\n };\n }];\n }, [getDefaultSnapshot, matchMedia, query]);\n const match = maybeReactUseSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);\n return match;\n}\nexport default function useMediaQuery(queryInput, options = {}) {\n const theme = useTheme();\n // Wait for jsdom to support the match media feature.\n // All the browsers MUI support have this built-in.\n // This defensive check is here for simplicity.\n // Most of the time, the match media logic isn't central to people tests.\n const supportMatchMedia = typeof window !== 'undefined' && typeof window.matchMedia !== 'undefined';\n const {\n defaultMatches = false,\n matchMedia = supportMatchMedia ? window.matchMedia : null,\n ssrMatchMedia = null,\n noSsr = false\n } = getThemeProps({\n name: 'MuiUseMediaQuery',\n props: options,\n theme\n });\n if (process.env.NODE_ENV !== 'production') {\n if (typeof queryInput === 'function' && theme === null) {\n console.error(['MUI: The `query` argument provided is invalid.', 'You are providing a function without a theme in the context.', 'One of the parent elements needs to use a ThemeProvider.'].join('\\n'));\n }\n }\n let query = typeof queryInput === 'function' ? queryInput(theme) : queryInput;\n query = query.replace(/^@media( ?)/m, '');\n const useMediaQueryImplementation = maybeReactUseSyncExternalStore !== undefined ? useMediaQueryNew : useMediaQueryOld;\n const match = useMediaQueryImplementation(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr);\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue({\n query,\n match\n });\n }\n return match;\n}","function clamp(val, min = Number.MIN_SAFE_INTEGER, max = Number.MAX_SAFE_INTEGER) {\n return Math.max(min, Math.min(val, max));\n}\nexport default clamp;","import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\n/* eslint-disable @typescript-eslint/naming-convention */\nimport clamp from '@mui/utils/clamp';\n/**\n * Returns a number whose value is limited to the given range.\n * @param {number} value The value to be clamped\n * @param {number} min The lower boundary of the output range\n * @param {number} max The upper boundary of the output range\n * @returns {number} A number in the range [min, max]\n */\nfunction clampWrapper(value, min = 0, max = 1) {\n if (process.env.NODE_ENV !== 'production') {\n if (value < min || value > max) {\n console.error(`MUI: The value provided ${value} is out of range [${min}, ${max}].`);\n }\n }\n return clamp(value, min, max);\n}\n\n/**\n * Converts a color from CSS hex format to CSS rgb format.\n * @param {string} color - Hex color, i.e. #nnn or #nnnnnn\n * @returns {string} A CSS rgb color string\n */\nexport function hexToRgb(color) {\n color = color.slice(1);\n const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, 'g');\n let colors = color.match(re);\n if (colors && colors[0].length === 1) {\n colors = colors.map(n => n + n);\n }\n return colors ? `rgb${colors.length === 4 ? 'a' : ''}(${colors.map((n, index) => {\n return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;\n }).join(', ')})` : '';\n}\nfunction intToHex(int) {\n const hex = int.toString(16);\n return hex.length === 1 ? `0${hex}` : hex;\n}\n\n/**\n * Returns an object with the type and values of a color.\n *\n * Note: Does not support rgb % values.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {object} - A MUI color object: {type: string, values: number[]}\n */\nexport function decomposeColor(color) {\n // Idempotent\n if (color.type) {\n return color;\n }\n if (color.charAt(0) === '#') {\n return decomposeColor(hexToRgb(color));\n }\n const marker = color.indexOf('(');\n const type = color.substring(0, marker);\n if (!['rgb', 'rgba', 'hsl', 'hsla', 'color'].includes(type)) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: Unsupported \\`${color}\\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : _formatMuiErrorMessage(9, color));\n }\n let values = color.substring(marker + 1, color.length - 1);\n let colorSpace;\n if (type === 'color') {\n values = values.split(' ');\n colorSpace = values.shift();\n if (values.length === 4 && values[3].charAt(0) === '/') {\n values[3] = values[3].slice(1);\n }\n if (!['srgb', 'display-p3', 'a98-rgb', 'prophoto-rgb', 'rec-2020'].includes(colorSpace)) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: unsupported \\`${colorSpace}\\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : _formatMuiErrorMessage(10, colorSpace));\n }\n } else {\n values = values.split(',');\n }\n values = values.map(value => parseFloat(value));\n return {\n type,\n values,\n colorSpace\n };\n}\n\n/**\n * Returns a channel created from the input color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {string} - The channel for the color, that can be used in rgba or hsla colors\n */\nexport const colorChannel = color => {\n const decomposedColor = decomposeColor(color);\n return decomposedColor.values.slice(0, 3).map((val, idx) => decomposedColor.type.includes('hsl') && idx !== 0 ? `${val}%` : val).join(' ');\n};\nexport const private_safeColorChannel = (color, warning) => {\n try {\n return colorChannel(color);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n};\n\n/**\n * Converts a color object with type and values to a string.\n * @param {object} color - Decomposed color\n * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla', 'color'\n * @param {array} color.values - [n,n,n] or [n,n,n,n]\n * @returns {string} A CSS color string\n */\nexport function recomposeColor(color) {\n const {\n type,\n colorSpace\n } = color;\n let {\n values\n } = color;\n if (type.includes('rgb')) {\n // Only convert the first 3 values to int (i.e. not alpha)\n values = values.map((n, i) => i < 3 ? parseInt(n, 10) : n);\n } else if (type.includes('hsl')) {\n values[1] = `${values[1]}%`;\n values[2] = `${values[2]}%`;\n }\n if (type.includes('color')) {\n values = `${colorSpace} ${values.join(' ')}`;\n } else {\n values = `${values.join(', ')}`;\n }\n return `${type}(${values})`;\n}\n\n/**\n * Converts a color from CSS rgb format to CSS hex format.\n * @param {string} color - RGB color, i.e. rgb(n, n, n)\n * @returns {string} A CSS rgb color string, i.e. #nnnnnn\n */\nexport function rgbToHex(color) {\n // Idempotent\n if (color.startsWith('#')) {\n return color;\n }\n const {\n values\n } = decomposeColor(color);\n return `#${values.map((n, i) => intToHex(i === 3 ? Math.round(255 * n) : n)).join('')}`;\n}\n\n/**\n * Converts a color from hsl format to rgb format.\n * @param {string} color - HSL color values\n * @returns {string} rgb color values\n */\nexport function hslToRgb(color) {\n color = decomposeColor(color);\n const {\n values\n } = color;\n const h = values[0];\n const s = values[1] / 100;\n const l = values[2] / 100;\n const a = s * Math.min(l, 1 - l);\n const f = (n, k = (n + h / 30) % 12) => l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n let type = 'rgb';\n const rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];\n if (color.type === 'hsla') {\n type += 'a';\n rgb.push(values[3]);\n }\n return recomposeColor({\n type,\n values: rgb\n });\n}\n/**\n * The relative brightness of any point in a color space,\n * normalized to 0 for darkest black and 1 for lightest white.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {number} The relative brightness of the color in the range 0 - 1\n */\nexport function getLuminance(color) {\n color = decomposeColor(color);\n let rgb = color.type === 'hsl' || color.type === 'hsla' ? decomposeColor(hslToRgb(color)).values : color.values;\n rgb = rgb.map(val => {\n if (color.type !== 'color') {\n val /= 255; // normalized\n }\n return val <= 0.03928 ? val / 12.92 : ((val + 0.055) / 1.055) ** 2.4;\n });\n\n // Truncate at 3 digits\n return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));\n}\n\n/**\n * Calculates the contrast ratio between two colors.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} A contrast ratio value in the range 0 - 21.\n */\nexport function getContrastRatio(foreground, background) {\n const lumA = getLuminance(foreground);\n const lumB = getLuminance(background);\n return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);\n}\n\n/**\n * Sets the absolute transparency of a color.\n * Any existing alpha values are overwritten.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} value - value to set the alpha channel to in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function alpha(color, value) {\n color = decomposeColor(color);\n value = clampWrapper(value);\n if (color.type === 'rgb' || color.type === 'hsl') {\n color.type += 'a';\n }\n if (color.type === 'color') {\n color.values[3] = `/${value}`;\n } else {\n color.values[3] = value;\n }\n return recomposeColor(color);\n}\nexport function private_safeAlpha(color, value, warning) {\n try {\n return alpha(color, value);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darkens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function darken(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.includes('hsl')) {\n color.values[2] *= 1 - coefficient;\n } else if (color.type.includes('rgb') || color.type.includes('color')) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] *= 1 - coefficient;\n }\n }\n return recomposeColor(color);\n}\nexport function private_safeDarken(color, coefficient, warning) {\n try {\n return darken(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Lightens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function lighten(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.includes('hsl')) {\n color.values[2] += (100 - color.values[2]) * coefficient;\n } else if (color.type.includes('rgb')) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (255 - color.values[i]) * coefficient;\n }\n } else if (color.type.includes('color')) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (1 - color.values[i]) * coefficient;\n }\n }\n return recomposeColor(color);\n}\nexport function private_safeLighten(color, coefficient, warning) {\n try {\n return lighten(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darken or lighten a color, depending on its luminance.\n * Light colors are darkened, dark colors are lightened.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient=0.15 - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function emphasize(color, coefficient = 0.15) {\n return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);\n}\nexport function private_safeEmphasize(color, coefficient, warning) {\n try {\n return emphasize(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Blend a transparent overlay color with a background color, resulting in a single\n * RGB color.\n * @param {string} background - CSS color\n * @param {string} overlay - CSS color\n * @param {number} opacity - Opacity multiplier in the range 0 - 1\n * @param {number} [gamma=1.0] - Gamma correction factor. For gamma-correct blending, 2.2 is usual.\n */\nexport function blend(background, overlay, opacity, gamma = 1.0) {\n const blendChannel = (b, o) => Math.round((b ** (1 / gamma) * (1 - opacity) + o ** (1 / gamma) * opacity) ** gamma);\n const backgroundColor = decomposeColor(background);\n const overlayColor = decomposeColor(overlay);\n const rgb = [blendChannel(backgroundColor.values[0], overlayColor.values[0]), blendChannel(backgroundColor.values[1], overlayColor.values[1]), blendChannel(backgroundColor.values[2], overlayColor.values[2])];\n return recomposeColor({\n type: 'rgb',\n values: rgb\n });\n}","/**\n * Safe chained function.\n *\n * Will only create a new function if needed,\n * otherwise will pass back existing functions or null.\n */\nexport default function createChainedFunction(...funcs) {\n return funcs.reduce((acc, func) => {\n if (func == null) {\n return acc;\n }\n return function chainedFunction(...args) {\n acc.apply(this, args);\n func.apply(this, args);\n };\n }, () => {});\n}","// Corresponds to 10 frames at 60 Hz.\n// A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B.\nexport default function debounce(func, wait = 166) {\n let timeout;\n function debounced(...args) {\n const later = () => {\n // @ts-ignore\n func.apply(this, args);\n };\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n }\n debounced.clear = () => {\n clearTimeout(timeout);\n };\n return debounced;\n}","import * as React from 'react';\nexport default function isMuiElement(element, muiNames) {\n return /*#__PURE__*/React.isValidElement(element) && muiNames.indexOf(\n // For server components `muiName` is avaialble in element.type._payload.value.muiName\n // relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45\n // eslint-disable-next-line no-underscore-dangle\n element.type.muiName ?? element.type?._payload?.value?.muiName) !== -1;\n}","export default function ownerDocument(node) {\n return node && node.ownerDocument || document;\n}","import ownerDocument from \"../ownerDocument/index.js\";\nexport default function ownerWindow(node) {\n const doc = ownerDocument(node);\n return doc.defaultView || window;\n}","/**\n * TODO v5: consider making it private\n *\n * passes {value} to {ref}\n *\n * WARNING: Be sure to only call this inside a callback that is passed as a ref.\n * Otherwise, make sure to cleanup the previous {ref} if it changes. See\n * https://github.com/mui/material-ui/issues/13539\n *\n * Useful if you want to expose the ref of an inner component to the public API\n * while still using it inside the component.\n * @param ref A ref callback or ref object. If anything falsy, this is a no-op.\n */\nexport default function setRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref) {\n ref.current = value;\n }\n}","'use client';\n\nimport * as React from 'react';\nlet globalId = 0;\n\n// TODO React 17: Remove `useGlobalId` once React 17 support is removed\nfunction useGlobalId(idOverride) {\n const [defaultId, setDefaultId] = React.useState(idOverride);\n const id = idOverride || defaultId;\n React.useEffect(() => {\n if (defaultId == null) {\n // Fallback to this default id when possible.\n // Use the incrementing value for client-side rendering only.\n // We can't use it server-side.\n // If you want to use random values please consider the Birthday Problem: https://en.wikipedia.org/wiki/Birthday_problem\n globalId += 1;\n setDefaultId(`mui-${globalId}`);\n }\n }, [defaultId]);\n return id;\n}\n\n// See https://github.com/mui/material-ui/issues/41190#issuecomment-2040873379 for why\nconst safeReact = {\n ...React\n};\nconst maybeReactUseId = safeReact.useId;\n\n/**\n *\n * @example
\n * @param idOverride\n * @returns {string}\n */\nexport default function useId(idOverride) {\n // React.useId() is only available from React 17.0.0.\n if (maybeReactUseId !== undefined) {\n const reactId = maybeReactUseId();\n return idOverride ?? reactId;\n }\n\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/rules-of-hooks -- `React.useId` is invariant at runtime.\n return useGlobalId(idOverride);\n}","'use client';\n\n// TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- process.env never changes, dependency arrays are intentionally ignored\n/* eslint-disable react-hooks/rules-of-hooks, react-hooks/exhaustive-deps */\nimport * as React from 'react';\nexport default function useControlled({\n controlled,\n default: defaultProp,\n name,\n state = 'value'\n}) {\n // isControlled is ignored in the hook dependency lists as it should never change.\n const {\n current: isControlled\n } = React.useRef(controlled !== undefined);\n const [valueState, setValue] = React.useState(defaultProp);\n const value = isControlled ? controlled : valueState;\n if (process.env.NODE_ENV !== 'production') {\n React.useEffect(() => {\n if (isControlled !== (controlled !== undefined)) {\n console.error([`MUI: A component is changing the ${isControlled ? '' : 'un'}controlled ${state} state of ${name} to be ${isControlled ? 'un' : ''}controlled.`, 'Elements should not switch from uncontrolled to controlled (or vice versa).', `Decide between using a controlled or uncontrolled ${name} ` + 'element for the lifetime of the component.', \"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.\", 'More info: https://fb.me/react-controlled-components'].join('\\n'));\n }\n }, [state, name, controlled]);\n const {\n current: defaultValue\n } = React.useRef(defaultProp);\n React.useEffect(() => {\n // Object.is() is not equivalent to the === operator.\n // See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is for more details.\n if (!isControlled && !Object.is(defaultValue, defaultProp)) {\n console.error([`MUI: A component is changing the default ${state} state of an uncontrolled ${name} after being initialized. ` + `To suppress this warning opt to use a controlled ${name}.`].join('\\n'));\n }\n }, [JSON.stringify(defaultProp)]);\n }\n const setValueIfUncontrolled = React.useCallback(newValue => {\n if (!isControlled) {\n setValue(newValue);\n }\n }, []);\n return [value, setValueIfUncontrolled];\n}","'use client';\n\nimport * as React from 'react';\nimport useEnhancedEffect from \"../useEnhancedEffect/index.js\";\n\n/**\n * Inspired by https://github.com/facebook/react/issues/14099#issuecomment-440013892\n * See RFC in https://github.com/reactjs/rfcs/pull/220\n */\n\nfunction useEventCallback(fn) {\n const ref = React.useRef(fn);\n useEnhancedEffect(() => {\n ref.current = fn;\n });\n return React.useRef((...args) =>\n // @ts-expect-error hide `this`\n (0, ref.current)(...args)).current;\n}\nexport default useEventCallback;","'use client';\n\nimport * as React from 'react';\nimport setRef from \"../setRef/index.js\";\nexport default function useForkRef(...refs) {\n /**\n * This will create a new function if the refs passed to this hook change and are all defined.\n * This means react will call the old forkRef with `null` and the new forkRef\n * with the ref. Cleanup naturally emerges from this behavior.\n */\n return React.useMemo(() => {\n if (refs.every(ref => ref == null)) {\n return null;\n }\n return instance => {\n refs.forEach(ref => {\n setRef(ref, instance);\n });\n };\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- intentionally ignoring that the dependency array must be an array literal\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, refs);\n}","'use client';\n\nimport * as React from 'react';\nconst UNINITIALIZED = {};\n\n/**\n * A React.useRef() that is initialized lazily with a function. Note that it accepts an optional\n * initialization argument, so the initialization function doesn't need to be an inline closure.\n *\n * @usage\n * const ref = useLazyRef(sortColumns, columns)\n */\nexport default function useLazyRef(init, initArg) {\n const ref = React.useRef(UNINITIALIZED);\n if (ref.current === UNINITIALIZED) {\n ref.current = init(initArg);\n }\n return ref;\n}","'use client';\n\nimport * as React from 'react';\nconst EMPTY = [];\n\n/**\n * A React.useEffect equivalent that runs once, when the component is mounted.\n */\nexport default function useOnMount(fn) {\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- no need to put `fn` in the dependency array\n /* eslint-disable react-hooks/exhaustive-deps */\n React.useEffect(fn, EMPTY);\n /* eslint-enable react-hooks/exhaustive-deps */\n}","'use client';\n\nimport useLazyRef from \"../useLazyRef/useLazyRef.js\";\nimport useOnMount from \"../useOnMount/useOnMount.js\";\nexport class Timeout {\n static create() {\n return new Timeout();\n }\n currentId = null;\n\n /**\n * Executes `fn` after `delay`, clearing any previously scheduled call.\n */\n start(delay, fn) {\n this.clear();\n this.currentId = setTimeout(() => {\n this.currentId = null;\n fn();\n }, delay);\n }\n clear = () => {\n if (this.currentId !== null) {\n clearTimeout(this.currentId);\n this.currentId = null;\n }\n };\n disposeEffect = () => {\n return this.clear;\n };\n}\nexport default function useTimeout() {\n const timeout = useLazyRef(Timeout.create).current;\n useOnMount(timeout.disposeEffect);\n return timeout;\n}","/**\n * Returns a boolean indicating if the event's target has :focus-visible\n */\nexport default function isFocusVisible(element) {\n try {\n return element.matches(':focus-visible');\n } catch (error) {\n // Do not warn on jsdom tests, otherwise all tests that rely on focus have to be skipped\n // Tests that rely on `:focus-visible` will still have to be skipped in jsdom\n if (process.env.NODE_ENV !== 'production' && !/jsdom/.test(window.navigator.userAgent)) {\n console.warn(['MUI: The `:focus-visible` pseudo class is not supported in this browser.', 'Some components rely on this feature to work properly.'].join('\\n'));\n }\n }\n return false;\n}","// A change of the browser zoom change the scrollbar size.\n// Credit https://github.com/twbs/bootstrap/blob/488fd8afc535ca3a6ad4dc581f5e89217b6a36ac/js/src/util/scrollbar.js#L14-L18\nexport default function getScrollbarSize(doc) {\n // https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth#usage_notes\n const documentWidth = doc.documentElement.clientWidth;\n return Math.abs(window.innerWidth - documentWidth);\n}","'use client';\n\nimport * as React from 'react';\nconst usePreviousProps = value => {\n const ref = React.useRef({});\n React.useEffect(() => {\n ref.current = value;\n });\n return ref.current;\n};\nexport default usePreviousProps;","import * as React from 'react';\n\n/**\n * Gets only the valid children of a component,\n * and ignores any nullish or falsy child.\n *\n * @param children the children\n */\nexport default function getValidReactChildren(children) {\n return React.Children.toArray(children).filter(child => /*#__PURE__*/React.isValidElement(child));\n}","const visuallyHidden = {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: '1px',\n margin: '-1px',\n overflow: 'hidden',\n padding: 0,\n position: 'absolute',\n whiteSpace: 'nowrap',\n width: '1px'\n};\nexport default visuallyHidden;","/* eslint no-restricted-syntax: 0, prefer-template: 0, guard-for-in: 0\n ---\n These rules are preventing the performance optimizations below.\n */\n\nexport default function composeClasses(slots, getUtilityClass, classes = undefined) {\n const output = {};\n for (const slotName in slots) {\n const slot = slots[slotName];\n let buffer = '';\n let start = true;\n for (let i = 0; i < slot.length; i += 1) {\n const value = slot[i];\n if (value) {\n buffer += (start === true ? '' : ' ') + getUtilityClass(value);\n start = false;\n if (classes && classes[value]) {\n buffer += ' ' + classes[value];\n }\n }\n }\n output[slotName] = buffer;\n }\n return output;\n}","/**\n * Determines if a given element is a DOM element name (i.e. not a React component).\n */\nfunction isHostComponent(element) {\n return typeof element === 'string';\n}\nexport default isHostComponent;","import isHostComponent from \"../isHostComponent/index.js\";\n\n/**\n * Type of the ownerState based on the type of an element it applies to.\n * This resolves to the provided OwnerState for React components and `undefined` for host components.\n * Falls back to `OwnerState | undefined` when the exact type can't be determined in development time.\n */\n\n/**\n * Appends the ownerState object to the props, merging with the existing one if necessary.\n *\n * @param elementType Type of the element that owns the `existingProps`. If the element is a DOM node or undefined, `ownerState` is not applied.\n * @param otherProps Props of the element.\n * @param ownerState\n */\nfunction appendOwnerState(elementType, otherProps, ownerState) {\n if (elementType === undefined || isHostComponent(elementType)) {\n return otherProps;\n }\n return {\n ...otherProps,\n ownerState: {\n ...otherProps.ownerState,\n ...ownerState\n }\n };\n}\nexport default appendOwnerState;","/**\n * Extracts event handlers from a given object.\n * A prop is considered an event handler if it is a function and its name starts with `on`.\n *\n * @param object An object to extract event handlers from.\n * @param excludeKeys An array of keys to exclude from the returned object.\n */\nfunction extractEventHandlers(object, excludeKeys = []) {\n if (object === undefined) {\n return {};\n }\n const result = {};\n Object.keys(object).filter(prop => prop.match(/^on[A-Z]/) && typeof object[prop] === 'function' && !excludeKeys.includes(prop)).forEach(prop => {\n result[prop] = object[prop];\n });\n return result;\n}\nexport default extractEventHandlers;","/**\n * Removes event handlers from the given object.\n * A field is considered an event handler if it is a function with a name beginning with `on`.\n *\n * @param object Object to remove event handlers from.\n * @returns Object with event handlers removed.\n */\nfunction omitEventHandlers(object) {\n if (object === undefined) {\n return {};\n }\n const result = {};\n Object.keys(object).filter(prop => !(prop.match(/^on[A-Z]/) && typeof object[prop] === 'function')).forEach(prop => {\n result[prop] = object[prop];\n });\n return result;\n}\nexport default omitEventHandlers;","import clsx from 'clsx';\nimport extractEventHandlers from \"../extractEventHandlers/index.js\";\nimport omitEventHandlers from \"../omitEventHandlers/index.js\";\n/**\n * Merges the slot component internal props (usually coming from a hook)\n * with the externally provided ones.\n *\n * The merge order is (the latter overrides the former):\n * 1. The internal props (specified as a getter function to work with get*Props hook result)\n * 2. Additional props (specified internally on a Base UI component)\n * 3. External props specified on the owner component. These should only be used on a root slot.\n * 4. External props specified in the `slotProps.*` prop.\n * 5. The `className` prop - combined from all the above.\n * @param parameters\n * @returns\n */\nfunction mergeSlotProps(parameters) {\n const {\n getSlotProps,\n additionalProps,\n externalSlotProps,\n externalForwardedProps,\n className\n } = parameters;\n if (!getSlotProps) {\n // The simpler case - getSlotProps is not defined, so no internal event handlers are defined,\n // so we can simply merge all the props without having to worry about extracting event handlers.\n const joinedClasses = clsx(additionalProps?.className, className, externalForwardedProps?.className, externalSlotProps?.className);\n const mergedStyle = {\n ...additionalProps?.style,\n ...externalForwardedProps?.style,\n ...externalSlotProps?.style\n };\n const props = {\n ...additionalProps,\n ...externalForwardedProps,\n ...externalSlotProps\n };\n if (joinedClasses.length > 0) {\n props.className = joinedClasses;\n }\n if (Object.keys(mergedStyle).length > 0) {\n props.style = mergedStyle;\n }\n return {\n props,\n internalRef: undefined\n };\n }\n\n // In this case, getSlotProps is responsible for calling the external event handlers.\n // We don't need to include them in the merged props because of this.\n\n const eventHandlers = extractEventHandlers({\n ...externalForwardedProps,\n ...externalSlotProps\n });\n const componentsPropsWithoutEventHandlers = omitEventHandlers(externalSlotProps);\n const otherPropsWithoutEventHandlers = omitEventHandlers(externalForwardedProps);\n const internalSlotProps = getSlotProps(eventHandlers);\n\n // The order of classes is important here.\n // Emotion (that we use in libraries consuming Base UI) depends on this order\n // to properly override style. It requires the most important classes to be last\n // (see https://github.com/mui/material-ui/pull/33205) for the related discussion.\n const joinedClasses = clsx(internalSlotProps?.className, additionalProps?.className, className, externalForwardedProps?.className, externalSlotProps?.className);\n const mergedStyle = {\n ...internalSlotProps?.style,\n ...additionalProps?.style,\n ...externalForwardedProps?.style,\n ...externalSlotProps?.style\n };\n const props = {\n ...internalSlotProps,\n ...additionalProps,\n ...otherPropsWithoutEventHandlers,\n ...componentsPropsWithoutEventHandlers\n };\n if (joinedClasses.length > 0) {\n props.className = joinedClasses;\n }\n if (Object.keys(mergedStyle).length > 0) {\n props.style = mergedStyle;\n }\n return {\n props,\n internalRef: internalSlotProps.ref\n };\n}\nexport default mergeSlotProps;","/**\n * If `componentProps` is a function, calls it with the provided `ownerState`.\n * Otherwise, just returns `componentProps`.\n */\nfunction resolveComponentProps(componentProps, ownerState, slotState) {\n if (typeof componentProps === 'function') {\n return componentProps(ownerState, slotState);\n }\n return componentProps;\n}\nexport default resolveComponentProps;","'use client';\n\nimport useForkRef from \"../useForkRef/index.js\";\nimport appendOwnerState from \"../appendOwnerState/index.js\";\nimport mergeSlotProps from \"../mergeSlotProps/index.js\";\nimport resolveComponentProps from \"../resolveComponentProps/index.js\";\n/**\n * @ignore - do not document.\n * Builds the props to be passed into the slot of an unstyled component.\n * It merges the internal props of the component with the ones supplied by the user, allowing to customize the behavior.\n * If the slot component is not a host component, it also merges in the `ownerState`.\n *\n * @param parameters.getSlotProps - A function that returns the props to be passed to the slot component.\n */\nfunction useSlotProps(parameters) {\n const {\n elementType,\n externalSlotProps,\n ownerState,\n skipResolvingSlotProps = false,\n ...other\n } = parameters;\n const resolvedComponentsProps = skipResolvingSlotProps ? {} : resolveComponentProps(externalSlotProps, ownerState);\n const {\n props: mergedProps,\n internalRef\n } = mergeSlotProps({\n ...other,\n externalSlotProps: resolvedComponentsProps\n });\n const ref = useForkRef(internalRef, resolvedComponentsProps?.ref, parameters.additionalProps?.ref);\n const props = appendOwnerState(elementType, {\n ...mergedProps,\n ref\n }, ownerState);\n return props;\n}\nexport default useSlotProps;","import * as React from 'react';\n\n/**\n * Returns the ref of a React node handling differences between React 19 and older versions.\n * It will return null if the node is not a valid React element.\n *\n * @param element React.ReactNode\n * @returns React.Ref | null\n */\nexport default function getReactNodeRef(element) {\n if (!element || ! /*#__PURE__*/React.isValidElement(element)) {\n return null;\n }\n\n // 'ref' is passed as prop in React 19, whereas 'ref' is directly attached to children in older versions\n return element.props.propertyIsEnumerable('ref') ? element.props.ref :\n // @ts-expect-error element.ref is not included in the ReactElement type\n // We cannot check for it, but isValidElement is true at this point\n // https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/70189\n element.ref;\n}","import * as React from 'react';\nconst ThemeContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== 'production') {\n ThemeContext.displayName = 'ThemeContext';\n}\nexport default ThemeContext;","import * as React from 'react';\nimport ThemeContext from \"./ThemeContext.js\";\nexport default function useTheme() {\n const theme = React.useContext(ThemeContext);\n if (process.env.NODE_ENV !== 'production') {\n // TODO: uncomment once we enable eslint-plugin-react-compiler eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/rules-of-hooks -- It's not required to run React.useDebugValue in production\n React.useDebugValue(theme);\n }\n return theme;\n}","const hasSymbol = typeof Symbol === 'function' && Symbol.for;\nexport default hasSymbol ? Symbol.for('mui.nested') : '__THEME_NESTED__';","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { exactProp } from '@mui/utils';\nimport ThemeContext from \"../useTheme/ThemeContext.js\";\nimport useTheme from \"../useTheme/index.js\";\nimport nested from \"./nested.js\";\n\n// To support composition of theme.\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction mergeOuterLocalTheme(outerTheme, localTheme) {\n if (typeof localTheme === 'function') {\n const mergedTheme = localTheme(outerTheme);\n if (process.env.NODE_ENV !== 'production') {\n if (!mergedTheme) {\n console.error(['MUI: You should return an object from your theme function, i.e.', ' ({})} />'].join('\\n'));\n }\n }\n return mergedTheme;\n }\n return {\n ...outerTheme,\n ...localTheme\n };\n}\n\n/**\n * This component takes a `theme` prop.\n * It makes the `theme` available down the React tree thanks to React context.\n * This component should preferably be used at **the root of your component tree**.\n */\nfunction ThemeProvider(props) {\n const {\n children,\n theme: localTheme\n } = props;\n const outerTheme = useTheme();\n if (process.env.NODE_ENV !== 'production') {\n if (outerTheme === null && typeof localTheme === 'function') {\n console.error(['MUI: You are providing a theme function prop to the ThemeProvider component:', ' outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\\n'));\n }\n }\n const theme = React.useMemo(() => {\n const output = outerTheme === null ? {\n ...localTheme\n } : mergeOuterLocalTheme(outerTheme, localTheme);\n if (output != null) {\n output[nested] = outerTheme !== null;\n }\n return output;\n }, [localTheme, outerTheme]);\n return /*#__PURE__*/_jsx(ThemeContext.Provider, {\n value: theme,\n children: children\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = {\n /**\n * Your component tree.\n */\n children: PropTypes.node,\n /**\n * A theme object. You can provide a function to extend the outer theme.\n */\n theme: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) : void 0;\n}\nexport default ThemeProvider;","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst RtlContext = /*#__PURE__*/React.createContext();\nfunction RtlProvider({\n value,\n ...props\n}) {\n return /*#__PURE__*/_jsx(RtlContext.Provider, {\n value: value ?? true,\n ...props\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? RtlProvider.propTypes = {\n children: PropTypes.node,\n value: PropTypes.bool\n} : void 0;\nexport const useRtl = () => {\n const value = React.useContext(RtlContext);\n return value ?? false;\n};\nexport default RtlProvider;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport resolveProps from '@mui/utils/resolveProps';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst PropsContext = /*#__PURE__*/React.createContext(undefined);\nfunction DefaultPropsProvider({\n value,\n children\n}) {\n return /*#__PURE__*/_jsx(PropsContext.Provider, {\n value: value,\n children: children\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? DefaultPropsProvider.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n children: PropTypes.node,\n /**\n * @ignore\n */\n value: PropTypes.object\n} : void 0;\nfunction getThemeProps(params) {\n const {\n theme,\n name,\n props\n } = params;\n if (!theme || !theme.components || !theme.components[name]) {\n return props;\n }\n const config = theme.components[name];\n if (config.defaultProps) {\n // compatible with v5 signature\n return resolveProps(config.defaultProps, props);\n }\n if (!config.styleOverrides && !config.variants) {\n // v6 signature, no property 'defaultProps'\n return resolveProps(config, props);\n }\n return props;\n}\nexport function useDefaultProps({\n props,\n name\n}) {\n const ctx = React.useContext(PropsContext);\n return getThemeProps({\n props,\n name,\n theme: {\n components: ctx\n }\n });\n}\nexport default DefaultPropsProvider;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { ThemeProvider as MuiThemeProvider, useTheme as usePrivateTheme } from '@mui/private-theming';\nimport exactProp from '@mui/utils/exactProp';\nimport { ThemeContext as StyledEngineThemeContext } from '@mui/styled-engine';\nimport useThemeWithoutDefault from \"../useThemeWithoutDefault/index.js\";\nimport RtlProvider from \"../RtlProvider/index.js\";\nimport DefaultPropsProvider from \"../DefaultPropsProvider/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst EMPTY_THEME = {};\nfunction useThemeScoping(themeId, upperTheme, localTheme, isPrivate = false) {\n return React.useMemo(() => {\n const resolvedTheme = themeId ? upperTheme[themeId] || upperTheme : upperTheme;\n if (typeof localTheme === 'function') {\n const mergedTheme = localTheme(resolvedTheme);\n const result = themeId ? {\n ...upperTheme,\n [themeId]: mergedTheme\n } : mergedTheme;\n // must return a function for the private theme to NOT merge with the upper theme.\n // see the test case \"use provided theme from a callback\" in ThemeProvider.test.js\n if (isPrivate) {\n return () => result;\n }\n return result;\n }\n return themeId ? {\n ...upperTheme,\n [themeId]: localTheme\n } : {\n ...upperTheme,\n ...localTheme\n };\n }, [themeId, upperTheme, localTheme, isPrivate]);\n}\n\n/**\n * This component makes the `theme` available down the React tree.\n * It should preferably be used at **the root of your component tree**.\n *\n * // existing use case\n * // theme scoping\n */\nfunction ThemeProvider(props) {\n const {\n children,\n theme: localTheme,\n themeId\n } = props;\n const upperTheme = useThemeWithoutDefault(EMPTY_THEME);\n const upperPrivateTheme = usePrivateTheme() || EMPTY_THEME;\n if (process.env.NODE_ENV !== 'production') {\n if (upperTheme === null && typeof localTheme === 'function' || themeId && upperTheme && !upperTheme[themeId] && typeof localTheme === 'function') {\n console.error(['MUI: You are providing a theme function prop to the ThemeProvider component:', ' outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\\n'));\n }\n }\n const engineTheme = useThemeScoping(themeId, upperTheme, localTheme);\n const privateTheme = useThemeScoping(themeId, upperPrivateTheme, localTheme, true);\n const rtlValue = engineTheme.direction === 'rtl';\n return /*#__PURE__*/_jsx(MuiThemeProvider, {\n theme: privateTheme,\n children: /*#__PURE__*/_jsx(StyledEngineThemeContext.Provider, {\n value: engineTheme,\n children: /*#__PURE__*/_jsx(RtlProvider, {\n value: rtlValue,\n children: /*#__PURE__*/_jsx(DefaultPropsProvider, {\n value: engineTheme?.components,\n children: children\n })\n })\n })\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Your component tree.\n */\n children: PropTypes.node,\n /**\n * A theme object. You can provide a function to extend the outer theme.\n */\n theme: PropTypes.oneOfType([PropTypes.func, PropTypes.object]).isRequired,\n /**\n * The design system's unique id for getting the corresponded theme when there are multiple design systems.\n */\n themeId: PropTypes.string\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) : void 0;\n}\nexport default ThemeProvider;","/**\n * Split this component for RSC import\n */\nimport * as React from 'react';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const DEFAULT_MODE_STORAGE_KEY = 'mode';\nexport const DEFAULT_COLOR_SCHEME_STORAGE_KEY = 'color-scheme';\nexport const DEFAULT_ATTRIBUTE = 'data-color-scheme';\nexport default function InitColorSchemeScript(options) {\n const {\n defaultLightColorScheme = 'light',\n defaultDarkColorScheme = 'dark',\n modeStorageKey = DEFAULT_MODE_STORAGE_KEY,\n colorSchemeStorageKey = DEFAULT_COLOR_SCHEME_STORAGE_KEY,\n attribute: initialAttribute = DEFAULT_ATTRIBUTE,\n colorSchemeNode = 'document.documentElement',\n nonce\n } = options || {};\n let setter = '';\n let attribute = initialAttribute;\n if (initialAttribute === 'class') {\n attribute = '.%s';\n }\n if (initialAttribute === 'data') {\n attribute = '[data-%s]';\n }\n if (attribute.startsWith('.')) {\n const selector = attribute.substring(1);\n setter += `${colorSchemeNode}.classList.remove('${selector}'.replace('%s', light), '${selector}'.replace('%s', dark));\n ${colorSchemeNode}.classList.add('${selector}'.replace('%s', colorScheme));`;\n }\n const matches = attribute.match(/\\[([^\\]]+)\\]/); // case [data-color-scheme=%s] or [data-color-scheme]\n if (matches) {\n const [attr, value] = matches[1].split('=');\n if (!value) {\n setter += `${colorSchemeNode}.removeAttribute('${attr}'.replace('%s', light));\n ${colorSchemeNode}.removeAttribute('${attr}'.replace('%s', dark));`;\n }\n setter += `\n ${colorSchemeNode}.setAttribute('${attr}'.replace('%s', colorScheme), ${value ? `${value}.replace('%s', colorScheme)` : '\"\"'});`;\n } else {\n setter += `${colorSchemeNode}.setAttribute('${attribute}', colorScheme);`;\n }\n return /*#__PURE__*/_jsx(\"script\", {\n suppressHydrationWarning: true,\n nonce: typeof window === 'undefined' ? nonce : ''\n // eslint-disable-next-line react/no-danger\n ,\n dangerouslySetInnerHTML: {\n __html: `(function() {\ntry {\n let colorScheme = '';\n const mode = localStorage.getItem('${modeStorageKey}') || 'system';\n const dark = localStorage.getItem('${colorSchemeStorageKey}-dark') || '${defaultDarkColorScheme}';\n const light = localStorage.getItem('${colorSchemeStorageKey}-light') || '${defaultLightColorScheme}';\n if (mode === 'system') {\n // handle system mode\n const mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = dark\n } else {\n colorScheme = light\n }\n }\n if (mode === 'light') {\n colorScheme = light;\n }\n if (mode === 'dark') {\n colorScheme = dark;\n }\n if (colorScheme) {\n ${setter}\n }\n} catch(e){}})();`\n }\n }, \"mui-color-scheme-init\");\n}","'use client';\n\nimport * as React from 'react';\nimport { DEFAULT_MODE_STORAGE_KEY, DEFAULT_COLOR_SCHEME_STORAGE_KEY } from \"../InitColorSchemeScript/InitColorSchemeScript.js\";\nexport function getSystemMode(mode) {\n if (typeof window !== 'undefined' && typeof window.matchMedia === 'function' && mode === 'system') {\n const mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n return 'dark';\n }\n return 'light';\n }\n return undefined;\n}\nfunction processState(state, callback) {\n if (state.mode === 'light' || state.mode === 'system' && state.systemMode === 'light') {\n return callback('light');\n }\n if (state.mode === 'dark' || state.mode === 'system' && state.systemMode === 'dark') {\n return callback('dark');\n }\n return undefined;\n}\nexport function getColorScheme(state) {\n return processState(state, mode => {\n if (mode === 'light') {\n return state.lightColorScheme;\n }\n if (mode === 'dark') {\n return state.darkColorScheme;\n }\n return undefined;\n });\n}\nfunction initializeValue(key, defaultValue) {\n if (typeof window === 'undefined') {\n return undefined;\n }\n let value;\n try {\n value = localStorage.getItem(key) || undefined;\n if (!value) {\n // the first time that user enters the site.\n localStorage.setItem(key, defaultValue);\n }\n } catch (e) {\n // Unsupported\n }\n return value || defaultValue;\n}\nexport default function useCurrentColorScheme(options) {\n const {\n defaultMode = 'light',\n defaultLightColorScheme,\n defaultDarkColorScheme,\n supportedColorSchemes = [],\n modeStorageKey = DEFAULT_MODE_STORAGE_KEY,\n colorSchemeStorageKey = DEFAULT_COLOR_SCHEME_STORAGE_KEY,\n storageWindow = typeof window === 'undefined' ? undefined : window\n } = options;\n const joinedColorSchemes = supportedColorSchemes.join(',');\n const isMultiSchemes = supportedColorSchemes.length > 1;\n const [state, setState] = React.useState(() => {\n const initialMode = initializeValue(modeStorageKey, defaultMode);\n const lightColorScheme = initializeValue(`${colorSchemeStorageKey}-light`, defaultLightColorScheme);\n const darkColorScheme = initializeValue(`${colorSchemeStorageKey}-dark`, defaultDarkColorScheme);\n return {\n mode: initialMode,\n systemMode: getSystemMode(initialMode),\n lightColorScheme,\n darkColorScheme\n };\n });\n // This could be improved with `React.useSyncExternalStore` in the future.\n const [, setHasMounted] = React.useState(false);\n const hasMounted = React.useRef(false);\n React.useEffect(() => {\n if (isMultiSchemes) {\n setHasMounted(true); // to rerender the component after hydration\n }\n hasMounted.current = true;\n }, [isMultiSchemes]);\n const colorScheme = getColorScheme(state);\n const setMode = React.useCallback(mode => {\n setState(currentState => {\n if (mode === currentState.mode) {\n // do nothing if mode does not change\n return currentState;\n }\n const newMode = mode ?? defaultMode;\n try {\n localStorage.setItem(modeStorageKey, newMode);\n } catch (e) {\n // Unsupported\n }\n return {\n ...currentState,\n mode: newMode,\n systemMode: getSystemMode(newMode)\n };\n });\n }, [modeStorageKey, defaultMode]);\n const setColorScheme = React.useCallback(value => {\n if (!value) {\n setState(currentState => {\n try {\n localStorage.setItem(`${colorSchemeStorageKey}-light`, defaultLightColorScheme);\n localStorage.setItem(`${colorSchemeStorageKey}-dark`, defaultDarkColorScheme);\n } catch (e) {\n // Unsupported\n }\n return {\n ...currentState,\n lightColorScheme: defaultLightColorScheme,\n darkColorScheme: defaultDarkColorScheme\n };\n });\n } else if (typeof value === 'string') {\n if (value && !joinedColorSchemes.includes(value)) {\n console.error(`\\`${value}\\` does not exist in \\`theme.colorSchemes\\`.`);\n } else {\n setState(currentState => {\n const newState = {\n ...currentState\n };\n processState(currentState, mode => {\n try {\n localStorage.setItem(`${colorSchemeStorageKey}-${mode}`, value);\n } catch (e) {\n // Unsupported\n }\n if (mode === 'light') {\n newState.lightColorScheme = value;\n }\n if (mode === 'dark') {\n newState.darkColorScheme = value;\n }\n });\n return newState;\n });\n }\n } else {\n setState(currentState => {\n const newState = {\n ...currentState\n };\n const newLightColorScheme = value.light === null ? defaultLightColorScheme : value.light;\n const newDarkColorScheme = value.dark === null ? defaultDarkColorScheme : value.dark;\n if (newLightColorScheme) {\n if (!joinedColorSchemes.includes(newLightColorScheme)) {\n console.error(`\\`${newLightColorScheme}\\` does not exist in \\`theme.colorSchemes\\`.`);\n } else {\n newState.lightColorScheme = newLightColorScheme;\n try {\n localStorage.setItem(`${colorSchemeStorageKey}-light`, newLightColorScheme);\n } catch (error) {\n // Unsupported\n }\n }\n }\n if (newDarkColorScheme) {\n if (!joinedColorSchemes.includes(newDarkColorScheme)) {\n console.error(`\\`${newDarkColorScheme}\\` does not exist in \\`theme.colorSchemes\\`.`);\n } else {\n newState.darkColorScheme = newDarkColorScheme;\n try {\n localStorage.setItem(`${colorSchemeStorageKey}-dark`, newDarkColorScheme);\n } catch (error) {\n // Unsupported\n }\n }\n }\n return newState;\n });\n }\n }, [joinedColorSchemes, colorSchemeStorageKey, defaultLightColorScheme, defaultDarkColorScheme]);\n const handleMediaQuery = React.useCallback(event => {\n if (state.mode === 'system') {\n setState(currentState => {\n const systemMode = event?.matches ? 'dark' : 'light';\n\n // Early exit, nothing changed.\n if (currentState.systemMode === systemMode) {\n return currentState;\n }\n return {\n ...currentState,\n systemMode\n };\n });\n }\n }, [state.mode]);\n\n // Ref hack to avoid adding handleMediaQuery as a dep\n const mediaListener = React.useRef(handleMediaQuery);\n mediaListener.current = handleMediaQuery;\n React.useEffect(() => {\n if (typeof window.matchMedia !== 'function' || !isMultiSchemes) {\n return undefined;\n }\n const handler = (...args) => mediaListener.current(...args);\n\n // Always listen to System preference\n const media = window.matchMedia('(prefers-color-scheme: dark)');\n\n // Intentionally use deprecated listener methods to support iOS & old browsers\n media.addListener(handler);\n handler(media);\n return () => {\n media.removeListener(handler);\n };\n }, [isMultiSchemes]);\n\n // Handle when localStorage has changed\n React.useEffect(() => {\n if (storageWindow && isMultiSchemes) {\n const handleStorage = event => {\n const value = event.newValue;\n if (typeof event.key === 'string' && event.key.startsWith(colorSchemeStorageKey) && (!value || joinedColorSchemes.match(value))) {\n // If the key is deleted, value will be null then reset color scheme to the default one.\n if (event.key.endsWith('light')) {\n setColorScheme({\n light: value\n });\n }\n if (event.key.endsWith('dark')) {\n setColorScheme({\n dark: value\n });\n }\n }\n if (event.key === modeStorageKey && (!value || ['light', 'dark', 'system'].includes(value))) {\n setMode(value || defaultMode);\n }\n };\n // For syncing color-scheme changes between iframes\n storageWindow.addEventListener('storage', handleStorage);\n return () => {\n storageWindow.removeEventListener('storage', handleStorage);\n };\n }\n return undefined;\n }, [setColorScheme, setMode, modeStorageKey, colorSchemeStorageKey, joinedColorSchemes, defaultMode, storageWindow, isMultiSchemes]);\n return {\n ...state,\n mode: hasMounted.current || !isMultiSchemes ? state.mode : undefined,\n systemMode: hasMounted.current || !isMultiSchemes ? state.systemMode : undefined,\n colorScheme: hasMounted.current || !isMultiSchemes ? colorScheme : undefined,\n setMode,\n setColorScheme\n };\n}","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { GlobalStyles } from '@mui/styled-engine';\nimport { useTheme as muiUseTheme } from '@mui/private-theming';\nimport ThemeProvider from \"../ThemeProvider/index.js\";\nimport InitColorSchemeScript, { DEFAULT_COLOR_SCHEME_STORAGE_KEY, DEFAULT_MODE_STORAGE_KEY } from \"../InitColorSchemeScript/InitColorSchemeScript.js\";\nimport useCurrentColorScheme from \"./useCurrentColorScheme.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport const DISABLE_CSS_TRANSITION = '*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}';\nexport default function createCssVarsProvider(options) {\n const {\n themeId,\n /**\n * This `theme` object needs to follow a certain structure to\n * be used correctly by the finel `CssVarsProvider`. It should have a\n * `colorSchemes` key with the light and dark (and any other) palette.\n * It should also ideally have a vars object created using `prepareCssVars`.\n */\n theme: defaultTheme = {},\n modeStorageKey: defaultModeStorageKey = DEFAULT_MODE_STORAGE_KEY,\n colorSchemeStorageKey: defaultColorSchemeStorageKey = DEFAULT_COLOR_SCHEME_STORAGE_KEY,\n disableTransitionOnChange: designSystemTransitionOnChange = false,\n defaultColorScheme,\n resolveTheme\n } = options;\n const defaultContext = {\n allColorSchemes: [],\n colorScheme: undefined,\n darkColorScheme: undefined,\n lightColorScheme: undefined,\n mode: undefined,\n setColorScheme: () => {},\n setMode: () => {},\n systemMode: undefined\n };\n const ColorSchemeContext = /*#__PURE__*/React.createContext(undefined);\n if (process.env.NODE_ENV !== 'production') {\n ColorSchemeContext.displayName = 'ColorSchemeContext';\n }\n const useColorScheme = () => React.useContext(ColorSchemeContext) || defaultContext;\n function CssVarsProvider(props) {\n const {\n children,\n theme: themeProp,\n modeStorageKey = defaultModeStorageKey,\n colorSchemeStorageKey = defaultColorSchemeStorageKey,\n disableTransitionOnChange = designSystemTransitionOnChange,\n storageWindow = typeof window === 'undefined' ? undefined : window,\n documentNode = typeof document === 'undefined' ? undefined : document,\n colorSchemeNode = typeof document === 'undefined' ? undefined : document.documentElement,\n disableNestedContext = false,\n disableStyleSheetGeneration = false\n } = props;\n const hasMounted = React.useRef(false);\n const upperTheme = muiUseTheme();\n const ctx = React.useContext(ColorSchemeContext);\n const nested = !!ctx && !disableNestedContext;\n const initialTheme = React.useMemo(() => {\n if (themeProp) {\n return themeProp;\n }\n return typeof defaultTheme === 'function' ? defaultTheme() : defaultTheme;\n }, [themeProp]);\n const scopedTheme = initialTheme[themeId];\n const {\n colorSchemes = {},\n components = {},\n cssVarPrefix,\n ...restThemeProp\n } = scopedTheme || initialTheme;\n const joinedColorSchemes = Object.keys(colorSchemes).filter(k => !!colorSchemes[k]).join(',');\n const allColorSchemes = React.useMemo(() => joinedColorSchemes.split(','), [joinedColorSchemes]);\n const defaultLightColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.light;\n const defaultDarkColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.dark;\n const defaultMode = colorSchemes[defaultLightColorScheme] && colorSchemes[defaultDarkColorScheme] ? 'system' : colorSchemes[restThemeProp.defaultColorScheme]?.palette?.mode || restThemeProp.palette?.mode;\n\n // 1. Get the data about the `mode`, `colorScheme`, and setter functions.\n const {\n mode: stateMode,\n setMode,\n systemMode,\n lightColorScheme,\n darkColorScheme,\n colorScheme: stateColorScheme,\n setColorScheme\n } = useCurrentColorScheme({\n supportedColorSchemes: allColorSchemes,\n defaultLightColorScheme,\n defaultDarkColorScheme,\n modeStorageKey,\n colorSchemeStorageKey,\n defaultMode,\n storageWindow\n });\n let mode = stateMode;\n let colorScheme = stateColorScheme;\n if (nested) {\n mode = ctx.mode;\n colorScheme = ctx.colorScheme;\n }\n\n // `colorScheme` is undefined on the server and hydration phase\n const calculatedColorScheme = colorScheme || restThemeProp.defaultColorScheme;\n\n // 2. get the `vars` object that refers to the CSS custom properties\n const themeVars = restThemeProp.generateThemeVars?.() || restThemeProp.vars;\n\n // 3. Start composing the theme object\n const theme = {\n ...restThemeProp,\n components,\n colorSchemes,\n cssVarPrefix,\n vars: themeVars\n };\n if (typeof theme.generateSpacing === 'function') {\n theme.spacing = theme.generateSpacing();\n }\n\n // 4. Resolve the color scheme and merge it to the theme\n if (calculatedColorScheme) {\n const scheme = colorSchemes[calculatedColorScheme];\n if (scheme && typeof scheme === 'object') {\n // 4.1 Merge the selected color scheme to the theme\n Object.keys(scheme).forEach(schemeKey => {\n if (scheme[schemeKey] && typeof scheme[schemeKey] === 'object') {\n // shallow merge the 1st level structure of the theme.\n theme[schemeKey] = {\n ...theme[schemeKey],\n ...scheme[schemeKey]\n };\n } else {\n theme[schemeKey] = scheme[schemeKey];\n }\n });\n }\n }\n\n // 5. Declaring effects\n // 5.1 Updates the selector value to use the current color scheme which tells CSS to use the proper stylesheet.\n const colorSchemeSelector = restThemeProp.colorSchemeSelector;\n React.useEffect(() => {\n if (colorScheme && colorSchemeNode && colorSchemeSelector && colorSchemeSelector !== 'media') {\n const selector = colorSchemeSelector;\n let rule = colorSchemeSelector;\n if (selector === 'class') {\n rule = `.%s`;\n }\n if (selector === 'data') {\n rule = `[data-%s]`;\n }\n if (selector?.startsWith('data-') && !selector.includes('%s')) {\n // 'data-mui-color-scheme' -> '[data-mui-color-scheme=\"%s\"]'\n rule = `[${selector}=\"%s\"]`;\n }\n if (rule.startsWith('.')) {\n colorSchemeNode.classList.remove(...allColorSchemes.map(scheme => rule.substring(1).replace('%s', scheme)));\n colorSchemeNode.classList.add(rule.substring(1).replace('%s', colorScheme));\n } else {\n const matches = rule.replace('%s', colorScheme).match(/\\[([^\\]]+)\\]/);\n if (matches) {\n const [attr, value] = matches[1].split('=');\n if (!value) {\n // for attributes like `data-theme-dark`, `data-theme-light`\n // remove all the existing data attributes before setting the new one\n allColorSchemes.forEach(scheme => {\n colorSchemeNode.removeAttribute(attr.replace(colorScheme, scheme));\n });\n }\n colorSchemeNode.setAttribute(attr, value ? value.replace(/\"|'/g, '') : '');\n } else {\n colorSchemeNode.setAttribute(rule, colorScheme);\n }\n }\n }\n }, [colorScheme, colorSchemeSelector, colorSchemeNode, allColorSchemes]);\n\n // 5.2 Remove the CSS transition when color scheme changes to create instant experience.\n // credit: https://github.com/pacocoursey/next-themes/blob/b5c2bad50de2d61ad7b52a9c5cdc801a78507d7a/index.tsx#L313\n React.useEffect(() => {\n let timer;\n if (disableTransitionOnChange && hasMounted.current && documentNode) {\n const css = documentNode.createElement('style');\n css.appendChild(documentNode.createTextNode(DISABLE_CSS_TRANSITION));\n documentNode.head.appendChild(css);\n\n // Force browser repaint\n (() => window.getComputedStyle(documentNode.body))();\n timer = setTimeout(() => {\n documentNode.head.removeChild(css);\n }, 1);\n }\n return () => {\n clearTimeout(timer);\n };\n }, [colorScheme, disableTransitionOnChange, documentNode]);\n React.useEffect(() => {\n hasMounted.current = true;\n return () => {\n hasMounted.current = false;\n };\n }, []);\n const contextValue = React.useMemo(() => ({\n allColorSchemes,\n colorScheme,\n darkColorScheme,\n lightColorScheme,\n mode,\n setColorScheme,\n setMode,\n systemMode\n }), [allColorSchemes, colorScheme, darkColorScheme, lightColorScheme, mode, setColorScheme, setMode, systemMode]);\n let shouldGenerateStyleSheet = true;\n if (disableStyleSheetGeneration || restThemeProp.cssVariables === false || nested && upperTheme?.cssVarPrefix === cssVarPrefix) {\n shouldGenerateStyleSheet = false;\n }\n const element = /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(ThemeProvider, {\n themeId: scopedTheme ? themeId : undefined,\n theme: resolveTheme ? resolveTheme(theme) : theme,\n children: children\n }), shouldGenerateStyleSheet && /*#__PURE__*/_jsx(GlobalStyles, {\n styles: theme.generateStyleSheets?.() || []\n })]\n });\n if (nested) {\n return element;\n }\n return /*#__PURE__*/_jsx(ColorSchemeContext.Provider, {\n value: contextValue,\n children: element\n });\n }\n process.env.NODE_ENV !== \"production\" ? CssVarsProvider.propTypes = {\n /**\n * The component tree.\n */\n children: PropTypes.node,\n /**\n * The node used to attach the color-scheme attribute\n */\n colorSchemeNode: PropTypes.any,\n /**\n * localStorage key used to store `colorScheme`\n */\n colorSchemeStorageKey: PropTypes.string,\n /**\n * If `true`, the provider creates its own context and generate stylesheet as if it is a root `CssVarsProvider`.\n */\n disableNestedContext: PropTypes.bool,\n /**\n * If `true`, the style sheet won't be generated.\n *\n * This is useful for controlling nested CssVarsProvider behavior.\n */\n disableStyleSheetGeneration: PropTypes.bool,\n /**\n * Disable CSS transitions when switching between modes or color schemes.\n */\n disableTransitionOnChange: PropTypes.bool,\n /**\n * The document to attach the attribute to.\n */\n documentNode: PropTypes.any,\n /**\n * The key in the local storage used to store current color scheme.\n */\n modeStorageKey: PropTypes.string,\n /**\n * The window that attaches the 'storage' event listener.\n * @default window\n */\n storageWindow: PropTypes.any,\n /**\n * The calculated theme object that will be passed through context.\n */\n theme: PropTypes.object\n } : void 0;\n const defaultLightColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.light;\n const defaultDarkColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.dark;\n const getInitColorSchemeScript = params => InitColorSchemeScript({\n colorSchemeStorageKey: defaultColorSchemeStorageKey,\n defaultLightColorScheme,\n defaultDarkColorScheme,\n modeStorageKey: defaultModeStorageKey,\n ...params\n });\n return {\n CssVarsProvider,\n useColorScheme,\n getInitColorSchemeScript\n };\n}","/**\n * The benefit of this function is to help developers get CSS var from theme without specifying the whole variable\n * and they does not need to remember the prefix (defined once).\n */\nexport default function createGetCssVar(prefix = '') {\n function appendVar(...vars) {\n if (!vars.length) {\n return '';\n }\n const value = vars[0];\n if (typeof value === 'string' && !value.match(/(#|\\(|\\)|(-?(\\d*\\.)?\\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\\d*\\.)?\\d+)$|(\\d+ \\d+ \\d+)/)) {\n return `, var(--${prefix ? `${prefix}-` : ''}${value}${appendVar(...vars.slice(1))})`;\n }\n return `, ${value}`;\n }\n\n // AdditionalVars makes `getCssVar` less strict, so it can be use like this `getCssVar('non-mui-variable')` without type error.\n const getCssVar = (field, ...fallbacks) => {\n return `var(--${prefix ? `${prefix}-` : ''}${field}${appendVar(...fallbacks)})`;\n };\n return getCssVar;\n}","/**\n * This function create an object from keys, value and then assign to target\n *\n * @param {Object} obj : the target object to be assigned\n * @param {string[]} keys\n * @param {string | number} value\n *\n * @example\n * const source = {}\n * assignNestedKeys(source, ['palette', 'primary'], 'var(--palette-primary)')\n * console.log(source) // { palette: { primary: 'var(--palette-primary)' } }\n *\n * @example\n * const source = { palette: { primary: 'var(--palette-primary)' } }\n * assignNestedKeys(source, ['palette', 'secondary'], 'var(--palette-secondary)')\n * console.log(source) // { palette: { primary: 'var(--palette-primary)', secondary: 'var(--palette-secondary)' } }\n */\nexport const assignNestedKeys = (obj, keys, value, arrayKeys = []) => {\n let temp = obj;\n keys.forEach((k, index) => {\n if (index === keys.length - 1) {\n if (Array.isArray(temp)) {\n temp[Number(k)] = value;\n } else if (temp && typeof temp === 'object') {\n temp[k] = value;\n }\n } else if (temp && typeof temp === 'object') {\n if (!temp[k]) {\n temp[k] = arrayKeys.includes(k) ? [] : {};\n }\n temp = temp[k];\n }\n });\n};\n\n/**\n *\n * @param {Object} obj : source object\n * @param {Function} callback : a function that will be called when\n * - the deepest key in source object is reached\n * - the value of the deepest key is NOT `undefined` | `null`\n *\n * @example\n * walkObjectDeep({ palette: { primary: { main: '#000000' } } }, console.log)\n * // ['palette', 'primary', 'main'] '#000000'\n */\nexport const walkObjectDeep = (obj, callback, shouldSkipPaths) => {\n function recurse(object, parentKeys = [], arrayKeys = []) {\n Object.entries(object).forEach(([key, value]) => {\n if (!shouldSkipPaths || shouldSkipPaths && !shouldSkipPaths([...parentKeys, key])) {\n if (value !== undefined && value !== null) {\n if (typeof value === 'object' && Object.keys(value).length > 0) {\n recurse(value, [...parentKeys, key], Array.isArray(value) ? [...arrayKeys, key] : arrayKeys);\n } else {\n callback([...parentKeys, key], value, arrayKeys);\n }\n }\n }\n });\n }\n recurse(obj);\n};\nconst getCssValue = (keys, value) => {\n if (typeof value === 'number') {\n if (['lineHeight', 'fontWeight', 'opacity', 'zIndex'].some(prop => keys.includes(prop))) {\n // CSS property that are unitless\n return value;\n }\n const lastKey = keys[keys.length - 1];\n if (lastKey.toLowerCase().includes('opacity')) {\n // opacity values are unitless\n return value;\n }\n return `${value}px`;\n }\n return value;\n};\n\n/**\n * a function that parse theme and return { css, vars }\n *\n * @param {Object} theme\n * @param {{\n * prefix?: string,\n * shouldSkipGeneratingVar?: (objectPathKeys: Array, value: string | number) => boolean\n * }} options.\n * `prefix`: The prefix of the generated CSS variables. This function does not change the value.\n *\n * @returns {{ css: Object, vars: Object }} `css` is the stylesheet, `vars` is an object to get css variable (same structure as theme).\n *\n * @example\n * const { css, vars } = parser({\n * fontSize: 12,\n * lineHeight: 1.2,\n * palette: { primary: { 500: 'var(--color)' } }\n * }, { prefix: 'foo' })\n *\n * console.log(css) // { '--foo-fontSize': '12px', '--foo-lineHeight': 1.2, '--foo-palette-primary-500': 'var(--color)' }\n * console.log(vars) // { fontSize: 'var(--foo-fontSize)', lineHeight: 'var(--foo-lineHeight)', palette: { primary: { 500: 'var(--foo-palette-primary-500)' } } }\n */\nexport default function cssVarsParser(theme, options) {\n const {\n prefix,\n shouldSkipGeneratingVar\n } = options || {};\n const css = {};\n const vars = {};\n const varsWithDefaults = {};\n walkObjectDeep(theme, (keys, value, arrayKeys) => {\n if (typeof value === 'string' || typeof value === 'number') {\n if (!shouldSkipGeneratingVar || !shouldSkipGeneratingVar(keys, value)) {\n // only create css & var if `shouldSkipGeneratingVar` return false\n const cssVar = `--${prefix ? `${prefix}-` : ''}${keys.join('-')}`;\n const resolvedValue = getCssValue(keys, value);\n Object.assign(css, {\n [cssVar]: resolvedValue\n });\n assignNestedKeys(vars, keys, `var(${cssVar})`, arrayKeys);\n assignNestedKeys(varsWithDefaults, keys, `var(${cssVar}, ${resolvedValue})`, arrayKeys);\n }\n }\n }, keys => keys[0] === 'vars' // skip 'vars/*' paths\n );\n return {\n css,\n vars,\n varsWithDefaults\n };\n}","import deepmerge from '@mui/utils/deepmerge';\nimport cssVarsParser from \"./cssVarsParser.js\";\nfunction prepareCssVars(theme, parserConfig = {}) {\n const {\n getSelector = defaultGetSelector,\n disableCssColorScheme,\n colorSchemeSelector: selector\n } = parserConfig;\n // @ts-ignore - ignore components do not exist\n const {\n colorSchemes = {},\n components,\n defaultColorScheme = 'light',\n ...otherTheme\n } = theme;\n const {\n vars: rootVars,\n css: rootCss,\n varsWithDefaults: rootVarsWithDefaults\n } = cssVarsParser(otherTheme, parserConfig);\n let themeVars = rootVarsWithDefaults;\n const colorSchemesMap = {};\n const {\n [defaultColorScheme]: defaultScheme,\n ...otherColorSchemes\n } = colorSchemes;\n Object.entries(otherColorSchemes || {}).forEach(([key, scheme]) => {\n const {\n vars,\n css,\n varsWithDefaults\n } = cssVarsParser(scheme, parserConfig);\n themeVars = deepmerge(themeVars, varsWithDefaults);\n colorSchemesMap[key] = {\n css,\n vars\n };\n });\n if (defaultScheme) {\n // default color scheme vars should be merged last to set as default\n const {\n css,\n vars,\n varsWithDefaults\n } = cssVarsParser(defaultScheme, parserConfig);\n themeVars = deepmerge(themeVars, varsWithDefaults);\n colorSchemesMap[defaultColorScheme] = {\n css,\n vars\n };\n }\n function defaultGetSelector(colorScheme, cssObject) {\n let rule = selector;\n if (selector === 'class') {\n rule = '.%s';\n }\n if (selector === 'data') {\n rule = '[data-%s]';\n }\n if (selector?.startsWith('data-') && !selector.includes('%s')) {\n // 'data-joy-color-scheme' -> '[data-joy-color-scheme=\"%s\"]'\n rule = `[${selector}=\"%s\"]`;\n }\n if (colorScheme) {\n if (rule === 'media') {\n if (theme.defaultColorScheme === colorScheme) {\n return ':root';\n }\n const mode = colorSchemes[colorScheme]?.palette?.mode || colorScheme;\n return {\n [`@media (prefers-color-scheme: ${mode})`]: {\n ':root': cssObject\n }\n };\n }\n if (rule) {\n if (theme.defaultColorScheme === colorScheme) {\n return `:root, ${rule.replace('%s', String(colorScheme))}`;\n }\n return rule.replace('%s', String(colorScheme));\n }\n }\n return ':root';\n }\n const generateThemeVars = () => {\n let vars = {\n ...rootVars\n };\n Object.entries(colorSchemesMap).forEach(([, {\n vars: schemeVars\n }]) => {\n vars = deepmerge(vars, schemeVars);\n });\n return vars;\n };\n const generateStyleSheets = () => {\n const stylesheets = [];\n const colorScheme = theme.defaultColorScheme || 'light';\n function insertStyleSheet(key, css) {\n if (Object.keys(css).length) {\n stylesheets.push(typeof key === 'string' ? {\n [key]: {\n ...css\n }\n } : key);\n }\n }\n insertStyleSheet(getSelector(undefined, {\n ...rootCss\n }), rootCss);\n const {\n [colorScheme]: defaultSchemeVal,\n ...other\n } = colorSchemesMap;\n if (defaultSchemeVal) {\n // default color scheme has to come before other color schemes\n const {\n css\n } = defaultSchemeVal;\n const cssColorSheme = colorSchemes[colorScheme]?.palette?.mode;\n const finalCss = !disableCssColorScheme && cssColorSheme ? {\n colorScheme: cssColorSheme,\n ...css\n } : {\n ...css\n };\n insertStyleSheet(getSelector(colorScheme, {\n ...finalCss\n }), finalCss);\n }\n Object.entries(other).forEach(([key, {\n css\n }]) => {\n const cssColorSheme = colorSchemes[key]?.palette?.mode;\n const finalCss = !disableCssColorScheme && cssColorSheme ? {\n colorScheme: cssColorSheme,\n ...css\n } : {\n ...css\n };\n insertStyleSheet(getSelector(key, {\n ...finalCss\n }), finalCss);\n });\n return stylesheets;\n };\n return {\n vars: themeVars,\n generateThemeVars,\n generateStyleSheets\n };\n}\nexport default prepareCssVars;","/* eslint-disable import/prefer-default-export */\nexport function createGetColorSchemeSelector(selector) {\n return function getColorSchemeSelector(colorScheme) {\n if (selector === 'media') {\n if (process.env.NODE_ENV !== 'production') {\n if (colorScheme !== 'light' && colorScheme !== 'dark') {\n console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${colorScheme}'.`);\n }\n }\n return `@media (prefers-color-scheme: ${colorScheme})`;\n }\n if (selector) {\n if (selector.startsWith('data-') && !selector.includes('%s')) {\n return `[${selector}=\"${colorScheme}\"] &`;\n }\n if (selector === 'class') {\n return `.${colorScheme} &`;\n }\n if (selector === 'data') {\n return `[data-${colorScheme}] &`;\n }\n return `${selector.replace('%s', colorScheme)} &`;\n }\n return '&';\n };\n}","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport composeClasses from '@mui/utils/composeClasses';\nimport capitalize from '@mui/utils/capitalize';\nimport useThemePropsSystem from \"../useThemeProps/index.js\";\nimport systemStyled from \"../styled/index.js\";\nimport createTheme from \"../createTheme/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst defaultTheme = createTheme();\nconst defaultCreateStyledComponent = systemStyled('div', {\n name: 'MuiContainer',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[`maxWidth${capitalize(String(ownerState.maxWidth))}`], ownerState.fixed && styles.fixed, ownerState.disableGutters && styles.disableGutters];\n }\n});\nconst useThemePropsDefault = inProps => useThemePropsSystem({\n props: inProps,\n name: 'MuiContainer',\n defaultTheme\n});\nconst useUtilityClasses = (ownerState, componentName) => {\n const getContainerUtilityClass = slot => {\n return generateUtilityClass(componentName, slot);\n };\n const {\n classes,\n fixed,\n disableGutters,\n maxWidth\n } = ownerState;\n const slots = {\n root: ['root', maxWidth && `maxWidth${capitalize(String(maxWidth))}`, fixed && 'fixed', disableGutters && 'disableGutters']\n };\n return composeClasses(slots, getContainerUtilityClass, classes);\n};\nexport default function createContainer(options = {}) {\n const {\n // This will allow adding custom styled fn (for example for custom sx style function)\n createStyledComponent = defaultCreateStyledComponent,\n useThemeProps = useThemePropsDefault,\n componentName = 'MuiContainer'\n } = options;\n const ContainerRoot = createStyledComponent(({\n theme,\n ownerState\n }) => ({\n width: '100%',\n marginLeft: 'auto',\n boxSizing: 'border-box',\n marginRight: 'auto',\n ...(!ownerState.disableGutters && {\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n // @ts-ignore module augmentation fails if custom breakpoints are used\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3)\n }\n })\n }), ({\n theme,\n ownerState\n }) => ownerState.fixed && Object.keys(theme.breakpoints.values).reduce((acc, breakpointValueKey) => {\n const breakpoint = breakpointValueKey;\n const value = theme.breakpoints.values[breakpoint];\n if (value !== 0) {\n // @ts-ignore\n acc[theme.breakpoints.up(breakpoint)] = {\n maxWidth: `${value}${theme.breakpoints.unit}`\n };\n }\n return acc;\n }, {}), ({\n theme,\n ownerState\n }) => ({\n // @ts-ignore module augmentation fails if custom breakpoints are used\n ...(ownerState.maxWidth === 'xs' && {\n // @ts-ignore module augmentation fails if custom breakpoints are used\n [theme.breakpoints.up('xs')]: {\n // @ts-ignore module augmentation fails if custom breakpoints are used\n maxWidth: Math.max(theme.breakpoints.values.xs, 444)\n }\n }),\n ...(ownerState.maxWidth &&\n // @ts-ignore module augmentation fails if custom breakpoints are used\n ownerState.maxWidth !== 'xs' && {\n // @ts-ignore module augmentation fails if custom breakpoints are used\n [theme.breakpoints.up(ownerState.maxWidth)]: {\n // @ts-ignore module augmentation fails if custom breakpoints are used\n maxWidth: `${theme.breakpoints.values[ownerState.maxWidth]}${theme.breakpoints.unit}`\n }\n })\n }));\n const Container = /*#__PURE__*/React.forwardRef(function Container(inProps, ref) {\n const props = useThemeProps(inProps);\n const {\n className,\n component = 'div',\n disableGutters = false,\n fixed = false,\n maxWidth = 'lg',\n classes: classesProp,\n ...other\n } = props;\n const ownerState = {\n ...props,\n component,\n disableGutters,\n fixed,\n maxWidth\n };\n\n // @ts-ignore module augmentation fails if custom breakpoints are used\n const classes = useUtilityClasses(ownerState, componentName);\n return (\n /*#__PURE__*/\n // @ts-ignore theme is injected by the styled util\n _jsx(ContainerRoot, {\n as: component\n // @ts-ignore module augmentation fails if custom breakpoints are used\n ,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref,\n ...other\n })\n );\n });\n process.env.NODE_ENV !== \"production\" ? Container.propTypes /* remove-proptypes */ = {\n children: PropTypes.node,\n classes: PropTypes.object,\n className: PropTypes.string,\n component: PropTypes.elementType,\n disableGutters: PropTypes.bool,\n fixed: PropTypes.bool,\n maxWidth: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl', false]), PropTypes.string]),\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n } : void 0;\n return Container;\n}","export const filterBreakpointKeys = (breakpointsKeys, responsiveKeys) => breakpointsKeys.filter(key => responsiveKeys.includes(key));\nexport const traverseBreakpoints = (breakpoints, responsive, iterator) => {\n const smallestBreakpoint = breakpoints.keys[0]; // the keys is sorted from smallest to largest by `createBreakpoints`.\n\n if (Array.isArray(responsive)) {\n responsive.forEach((breakpointValue, index) => {\n iterator((responsiveStyles, style) => {\n if (index <= breakpoints.keys.length - 1) {\n if (index === 0) {\n Object.assign(responsiveStyles, style);\n } else {\n responsiveStyles[breakpoints.up(breakpoints.keys[index])] = style;\n }\n }\n }, breakpointValue);\n });\n } else if (responsive && typeof responsive === 'object') {\n // prevent null\n // responsive could be a very big object, pick the smallest responsive values\n\n const keys = Object.keys(responsive).length > breakpoints.keys.length ? breakpoints.keys : filterBreakpointKeys(breakpoints.keys, Object.keys(responsive));\n keys.forEach(key => {\n if (breakpoints.keys.includes(key)) {\n // @ts-ignore already checked that responsive is an object\n const breakpointValue = responsive[key];\n if (breakpointValue !== undefined) {\n iterator((responsiveStyles, style) => {\n if (smallestBreakpoint === key) {\n Object.assign(responsiveStyles, style);\n } else {\n responsiveStyles[breakpoints.up(key)] = style;\n }\n }, breakpointValue);\n }\n }\n });\n } else if (typeof responsive === 'number' || typeof responsive === 'string') {\n iterator((responsiveStyles, style) => {\n Object.assign(responsiveStyles, style);\n }, responsive);\n }\n};","import { traverseBreakpoints } from \"./traverseBreakpoints.js\";\nfunction appendLevel(level) {\n if (!level) {\n return '';\n }\n return `Level${level}`;\n}\nfunction isNestedContainer(ownerState) {\n return ownerState.unstable_level > 0 && ownerState.container;\n}\nfunction createGetSelfSpacing(ownerState) {\n return function getSelfSpacing(axis) {\n return `var(--Grid-${axis}Spacing${appendLevel(ownerState.unstable_level)})`;\n };\n}\nfunction createGetParentSpacing(ownerState) {\n return function getParentSpacing(axis) {\n if (ownerState.unstable_level === 0) {\n return `var(--Grid-${axis}Spacing)`;\n }\n return `var(--Grid-${axis}Spacing${appendLevel(ownerState.unstable_level - 1)})`;\n };\n}\nfunction getParentColumns(ownerState) {\n if (ownerState.unstable_level === 0) {\n return `var(--Grid-columns)`;\n }\n return `var(--Grid-columns${appendLevel(ownerState.unstable_level - 1)})`;\n}\nexport const generateGridSizeStyles = ({\n theme,\n ownerState\n}) => {\n const getParentSpacing = createGetParentSpacing(ownerState);\n const styles = {};\n traverseBreakpoints(theme.breakpoints, ownerState.size, (appendStyle, value) => {\n let style = {};\n if (value === 'grow') {\n style = {\n flexBasis: 0,\n flexGrow: 1,\n maxWidth: '100%'\n };\n }\n if (value === 'auto') {\n style = {\n flexBasis: 'auto',\n flexGrow: 0,\n flexShrink: 0,\n maxWidth: 'none',\n width: 'auto'\n };\n }\n if (typeof value === 'number') {\n style = {\n flexGrow: 0,\n flexBasis: 'auto',\n width: `calc(100% * ${value} / ${getParentColumns(ownerState)} - (${getParentColumns(ownerState)} - ${value}) * (${getParentSpacing('column')} / ${getParentColumns(ownerState)}))`\n };\n }\n appendStyle(styles, style);\n });\n return styles;\n};\nexport const generateGridOffsetStyles = ({\n theme,\n ownerState\n}) => {\n const getParentSpacing = createGetParentSpacing(ownerState);\n const styles = {};\n traverseBreakpoints(theme.breakpoints, ownerState.offset, (appendStyle, value) => {\n let style = {};\n if (value === 'auto') {\n style = {\n marginLeft: 'auto'\n };\n }\n if (typeof value === 'number') {\n style = {\n marginLeft: value === 0 ? '0px' : `calc(100% * ${value} / ${getParentColumns(ownerState)} + ${getParentSpacing('column')} * ${value} / ${getParentColumns(ownerState)})`\n };\n }\n appendStyle(styles, style);\n });\n return styles;\n};\nexport const generateGridColumnsStyles = ({\n theme,\n ownerState\n}) => {\n if (!ownerState.container) {\n return {};\n }\n const styles = isNestedContainer(ownerState) ? {\n [`--Grid-columns${appendLevel(ownerState.unstable_level)}`]: getParentColumns(ownerState)\n } : {\n '--Grid-columns': 12\n };\n traverseBreakpoints(theme.breakpoints, ownerState.columns, (appendStyle, value) => {\n appendStyle(styles, {\n [`--Grid-columns${appendLevel(ownerState.unstable_level)}`]: value\n });\n });\n return styles;\n};\nexport const generateGridRowSpacingStyles = ({\n theme,\n ownerState\n}) => {\n if (!ownerState.container) {\n return {};\n }\n const getParentSpacing = createGetParentSpacing(ownerState);\n const styles = isNestedContainer(ownerState) ? {\n // Set the default spacing as its parent spacing.\n // It will be overridden if spacing props are provided\n [`--Grid-rowSpacing${appendLevel(ownerState.unstable_level)}`]: getParentSpacing('row')\n } : {};\n traverseBreakpoints(theme.breakpoints, ownerState.rowSpacing, (appendStyle, value) => {\n appendStyle(styles, {\n [`--Grid-rowSpacing${appendLevel(ownerState.unstable_level)}`]: typeof value === 'string' ? value : theme.spacing?.(value)\n });\n });\n return styles;\n};\nexport const generateGridColumnSpacingStyles = ({\n theme,\n ownerState\n}) => {\n if (!ownerState.container) {\n return {};\n }\n const getParentSpacing = createGetParentSpacing(ownerState);\n const styles = isNestedContainer(ownerState) ? {\n // Set the default spacing as its parent spacing.\n // It will be overridden if spacing props are provided\n [`--Grid-columnSpacing${appendLevel(ownerState.unstable_level)}`]: getParentSpacing('column')\n } : {};\n traverseBreakpoints(theme.breakpoints, ownerState.columnSpacing, (appendStyle, value) => {\n appendStyle(styles, {\n [`--Grid-columnSpacing${appendLevel(ownerState.unstable_level)}`]: typeof value === 'string' ? value : theme.spacing?.(value)\n });\n });\n return styles;\n};\nexport const generateGridDirectionStyles = ({\n theme,\n ownerState\n}) => {\n if (!ownerState.container) {\n return {};\n }\n const styles = {};\n traverseBreakpoints(theme.breakpoints, ownerState.direction, (appendStyle, value) => {\n appendStyle(styles, {\n flexDirection: value\n });\n });\n return styles;\n};\nexport const generateGridStyles = ({\n ownerState\n}) => {\n const getSelfSpacing = createGetSelfSpacing(ownerState);\n return {\n minWidth: 0,\n boxSizing: 'border-box',\n ...(ownerState.container && {\n display: 'flex',\n flexWrap: 'wrap',\n ...(ownerState.wrap && ownerState.wrap !== 'wrap' && {\n flexWrap: ownerState.wrap\n }),\n gap: `${getSelfSpacing('row')} ${getSelfSpacing('column')}`\n })\n };\n};\nexport const generateSizeClassNames = size => {\n const classNames = [];\n Object.entries(size).forEach(([key, value]) => {\n if (value !== false && value !== undefined) {\n classNames.push(`grid-${key}-${String(value)}`);\n }\n });\n return classNames;\n};\nexport const generateSpacingClassNames = (spacing, smallestBreakpoint = 'xs') => {\n function isValidSpacing(val) {\n if (val === undefined) {\n return false;\n }\n return typeof val === 'string' && !Number.isNaN(Number(val)) || typeof val === 'number' && val > 0;\n }\n if (isValidSpacing(spacing)) {\n return [`spacing-${smallestBreakpoint}-${String(spacing)}`];\n }\n if (typeof spacing === 'object' && !Array.isArray(spacing)) {\n const classNames = [];\n Object.entries(spacing).forEach(([key, value]) => {\n if (isValidSpacing(value)) {\n classNames.push(`spacing-${key}-${String(value)}`);\n }\n });\n return classNames;\n }\n return [];\n};\nexport const generateDirectionClasses = direction => {\n if (direction === undefined) {\n return [];\n }\n if (typeof direction === 'object') {\n return Object.entries(direction).map(([key, value]) => `direction-${key}-${value}`);\n }\n return [`direction-xs-${String(direction)}`];\n};","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport isMuiElement from '@mui/utils/isMuiElement';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport composeClasses from '@mui/utils/composeClasses';\nimport systemStyled from \"../styled/index.js\";\nimport useThemePropsSystem from \"../useThemeProps/index.js\";\nimport useTheme from \"../useTheme/index.js\";\nimport { extendSxProp } from \"../styleFunctionSx/index.js\";\nimport createTheme from \"../createTheme/index.js\";\nimport { generateGridStyles, generateGridSizeStyles, generateGridColumnsStyles, generateGridColumnSpacingStyles, generateGridRowSpacingStyles, generateGridDirectionStyles, generateGridOffsetStyles, generateSizeClassNames, generateSpacingClassNames, generateDirectionClasses } from \"./gridGenerator.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst defaultTheme = createTheme();\n\n// widening Theme to any so that the consumer can own the theme structure.\nconst defaultCreateStyledComponent = systemStyled('div', {\n name: 'MuiGrid',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n});\nfunction useThemePropsDefault(props) {\n return useThemePropsSystem({\n props,\n name: 'MuiGrid',\n defaultTheme\n });\n}\nexport default function createGrid(options = {}) {\n const {\n // This will allow adding custom styled fn (for example for custom sx style function)\n createStyledComponent = defaultCreateStyledComponent,\n useThemeProps = useThemePropsDefault,\n componentName = 'MuiGrid'\n } = options;\n const useUtilityClasses = (ownerState, theme) => {\n const {\n container,\n direction,\n spacing,\n wrap,\n size\n } = ownerState;\n const slots = {\n root: ['root', container && 'container', wrap !== 'wrap' && `wrap-xs-${String(wrap)}`, ...generateDirectionClasses(direction), ...generateSizeClassNames(size), ...(container ? generateSpacingClassNames(spacing, theme.breakpoints.keys[0]) : [])]\n };\n return composeClasses(slots, slot => generateUtilityClass(componentName, slot), {});\n };\n function parseResponsiveProp(propValue, breakpoints, shouldUseValue = () => true) {\n const parsedProp = {};\n if (propValue === null) {\n return parsedProp;\n }\n if (Array.isArray(propValue)) {\n propValue.forEach((value, index) => {\n if (value !== null && shouldUseValue(value) && breakpoints.keys[index]) {\n parsedProp[breakpoints.keys[index]] = value;\n }\n });\n } else if (typeof propValue === 'object') {\n Object.keys(propValue).forEach(key => {\n const value = propValue[key];\n if (value !== null && value !== undefined && shouldUseValue(value)) {\n parsedProp[key] = value;\n }\n });\n } else {\n parsedProp[breakpoints.keys[0]] = propValue;\n }\n return parsedProp;\n }\n const GridRoot = createStyledComponent(generateGridColumnsStyles, generateGridColumnSpacingStyles, generateGridRowSpacingStyles, generateGridSizeStyles, generateGridDirectionStyles, generateGridStyles, generateGridOffsetStyles);\n const Grid = /*#__PURE__*/React.forwardRef(function Grid(inProps, ref) {\n const theme = useTheme();\n const themeProps = useThemeProps(inProps);\n const props = extendSxProp(themeProps); // `color` type conflicts with html color attribute.\n const {\n className,\n children,\n columns: columnsProp = 12,\n container = false,\n component = 'div',\n direction = 'row',\n wrap = 'wrap',\n size: sizeProp = {},\n offset: offsetProp = {},\n spacing: spacingProp = 0,\n rowSpacing: rowSpacingProp = spacingProp,\n columnSpacing: columnSpacingProp = spacingProp,\n unstable_level: level = 0,\n ...other\n } = props;\n const size = parseResponsiveProp(sizeProp, theme.breakpoints, val => val !== false);\n const offset = parseResponsiveProp(offsetProp, theme.breakpoints);\n const columns = inProps.columns ?? (level ? undefined : columnsProp);\n const spacing = inProps.spacing ?? (level ? undefined : spacingProp);\n const rowSpacing = inProps.rowSpacing ?? inProps.spacing ?? (level ? undefined : rowSpacingProp);\n const columnSpacing = inProps.columnSpacing ?? inProps.spacing ?? (level ? undefined : columnSpacingProp);\n const ownerState = {\n ...props,\n level,\n columns,\n container,\n direction,\n wrap,\n spacing,\n rowSpacing,\n columnSpacing,\n size,\n offset\n };\n const classes = useUtilityClasses(ownerState, theme);\n return /*#__PURE__*/_jsx(GridRoot, {\n ref: ref,\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ...other,\n children: React.Children.map(children, child => {\n if (/*#__PURE__*/React.isValidElement(child) && isMuiElement(child, ['Grid'])) {\n return /*#__PURE__*/React.cloneElement(child, {\n unstable_level: child.props?.unstable_level ?? level + 1\n });\n }\n return child;\n })\n });\n });\n process.env.NODE_ENV !== \"production\" ? Grid.propTypes /* remove-proptypes */ = {\n children: PropTypes.node,\n className: PropTypes.string,\n columns: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.number, PropTypes.object]),\n columnSpacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n component: PropTypes.elementType,\n container: PropTypes.bool,\n direction: PropTypes.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),\n offset: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])), PropTypes.object]),\n rowSpacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n size: PropTypes.oneOfType([PropTypes.string, PropTypes.bool, PropTypes.number, PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.bool, PropTypes.number])), PropTypes.object]),\n spacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n wrap: PropTypes.oneOf(['nowrap', 'wrap-reverse', 'wrap'])\n } : void 0;\n\n // @ts-ignore internal logic for nested grid\n Grid.muiName = 'Grid';\n return Grid;\n}","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport deepmerge from '@mui/utils/deepmerge';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport composeClasses from '@mui/utils/composeClasses';\nimport systemStyled from \"../styled/index.js\";\nimport useThemePropsSystem from \"../useThemeProps/index.js\";\nimport { extendSxProp } from \"../styleFunctionSx/index.js\";\nimport createTheme from \"../createTheme/index.js\";\nimport { handleBreakpoints, mergeBreakpointsInOrder, resolveBreakpointValues } from \"../breakpoints/index.js\";\nimport { createUnarySpacing, getValue } from \"../spacing/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst defaultTheme = createTheme();\n// widening Theme to any so that the consumer can own the theme structure.\nconst defaultCreateStyledComponent = systemStyled('div', {\n name: 'MuiStack',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n});\nfunction useThemePropsDefault(props) {\n return useThemePropsSystem({\n props,\n name: 'MuiStack',\n defaultTheme\n });\n}\n\n/**\n * Return an array with the separator React element interspersed between\n * each React node of the input children.\n *\n * > joinChildren([1,2,3], 0)\n * [1,0,2,0,3]\n */\nfunction joinChildren(children, separator) {\n const childrenArray = React.Children.toArray(children).filter(Boolean);\n return childrenArray.reduce((output, child, index) => {\n output.push(child);\n if (index < childrenArray.length - 1) {\n output.push(/*#__PURE__*/React.cloneElement(separator, {\n key: `separator-${index}`\n }));\n }\n return output;\n }, []);\n}\nconst getSideFromDirection = direction => {\n return {\n row: 'Left',\n 'row-reverse': 'Right',\n column: 'Top',\n 'column-reverse': 'Bottom'\n }[direction];\n};\nexport const style = ({\n ownerState,\n theme\n}) => {\n let styles = {\n display: 'flex',\n flexDirection: 'column',\n ...handleBreakpoints({\n theme\n }, resolveBreakpointValues({\n values: ownerState.direction,\n breakpoints: theme.breakpoints.values\n }), propValue => ({\n flexDirection: propValue\n }))\n };\n if (ownerState.spacing) {\n const transformer = createUnarySpacing(theme);\n const base = Object.keys(theme.breakpoints.values).reduce((acc, breakpoint) => {\n if (typeof ownerState.spacing === 'object' && ownerState.spacing[breakpoint] != null || typeof ownerState.direction === 'object' && ownerState.direction[breakpoint] != null) {\n acc[breakpoint] = true;\n }\n return acc;\n }, {});\n const directionValues = resolveBreakpointValues({\n values: ownerState.direction,\n base\n });\n const spacingValues = resolveBreakpointValues({\n values: ownerState.spacing,\n base\n });\n if (typeof directionValues === 'object') {\n Object.keys(directionValues).forEach((breakpoint, index, breakpoints) => {\n const directionValue = directionValues[breakpoint];\n if (!directionValue) {\n const previousDirectionValue = index > 0 ? directionValues[breakpoints[index - 1]] : 'column';\n directionValues[breakpoint] = previousDirectionValue;\n }\n });\n }\n const styleFromPropValue = (propValue, breakpoint) => {\n if (ownerState.useFlexGap) {\n return {\n gap: getValue(transformer, propValue)\n };\n }\n return {\n // The useFlexGap={false} implement relies on each child to give up control of the margin.\n // We need to reset the margin to avoid double spacing.\n '& > :not(style):not(style)': {\n margin: 0\n },\n '& > :not(style) ~ :not(style)': {\n [`margin${getSideFromDirection(breakpoint ? directionValues[breakpoint] : ownerState.direction)}`]: getValue(transformer, propValue)\n }\n };\n };\n styles = deepmerge(styles, handleBreakpoints({\n theme\n }, spacingValues, styleFromPropValue));\n }\n styles = mergeBreakpointsInOrder(theme.breakpoints, styles);\n return styles;\n};\nexport default function createStack(options = {}) {\n const {\n // This will allow adding custom styled fn (for example for custom sx style function)\n createStyledComponent = defaultCreateStyledComponent,\n useThemeProps = useThemePropsDefault,\n componentName = 'MuiStack'\n } = options;\n const useUtilityClasses = () => {\n const slots = {\n root: ['root']\n };\n return composeClasses(slots, slot => generateUtilityClass(componentName, slot), {});\n };\n const StackRoot = createStyledComponent(style);\n const Stack = /*#__PURE__*/React.forwardRef(function Grid(inProps, ref) {\n const themeProps = useThemeProps(inProps);\n const props = extendSxProp(themeProps); // `color` type conflicts with html color attribute.\n const {\n component = 'div',\n direction = 'column',\n spacing = 0,\n divider,\n children,\n className,\n useFlexGap = false,\n ...other\n } = props;\n const ownerState = {\n direction,\n spacing,\n useFlexGap\n };\n const classes = useUtilityClasses();\n return /*#__PURE__*/_jsx(StackRoot, {\n as: component,\n ownerState: ownerState,\n ref: ref,\n className: clsx(classes.root, className),\n ...other,\n children: divider ? joinChildren(children, divider) : children\n });\n });\n process.env.NODE_ENV !== \"production\" ? Stack.propTypes /* remove-proptypes */ = {\n children: PropTypes.node,\n direction: PropTypes.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),\n divider: PropTypes.node,\n spacing: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n } : void 0;\n return Stack;\n}","import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nimport deepmerge from '@mui/utils/deepmerge';\nimport { darken, getContrastRatio, lighten } from '@mui/system/colorManipulator';\nimport common from \"../colors/common.js\";\nimport grey from \"../colors/grey.js\";\nimport purple from \"../colors/purple.js\";\nimport red from \"../colors/red.js\";\nimport orange from \"../colors/orange.js\";\nimport blue from \"../colors/blue.js\";\nimport lightBlue from \"../colors/lightBlue.js\";\nimport green from \"../colors/green.js\";\nexport const light = {\n // The colors used to style the text.\n text: {\n // The most important text.\n primary: 'rgba(0, 0, 0, 0.87)',\n // Secondary text.\n secondary: 'rgba(0, 0, 0, 0.6)',\n // Disabled text have even lower visual prominence.\n disabled: 'rgba(0, 0, 0, 0.38)'\n },\n // The color used to divide different elements.\n divider: 'rgba(0, 0, 0, 0.12)',\n // The background colors used to style the surfaces.\n // Consistency between these values is important.\n background: {\n paper: common.white,\n default: common.white\n },\n // The colors used to style the action elements.\n action: {\n // The color of an active action like an icon button.\n active: 'rgba(0, 0, 0, 0.54)',\n // The color of an hovered action.\n hover: 'rgba(0, 0, 0, 0.04)',\n hoverOpacity: 0.04,\n // The color of a selected action.\n selected: 'rgba(0, 0, 0, 0.08)',\n selectedOpacity: 0.08,\n // The color of a disabled action.\n disabled: 'rgba(0, 0, 0, 0.26)',\n // The background color of a disabled action.\n disabledBackground: 'rgba(0, 0, 0, 0.12)',\n disabledOpacity: 0.38,\n focus: 'rgba(0, 0, 0, 0.12)',\n focusOpacity: 0.12,\n activatedOpacity: 0.12\n }\n};\nexport const dark = {\n text: {\n primary: common.white,\n secondary: 'rgba(255, 255, 255, 0.7)',\n disabled: 'rgba(255, 255, 255, 0.5)',\n icon: 'rgba(255, 255, 255, 0.5)'\n },\n divider: 'rgba(255, 255, 255, 0.12)',\n background: {\n paper: '#121212',\n default: '#121212'\n },\n action: {\n active: common.white,\n hover: 'rgba(255, 255, 255, 0.08)',\n hoverOpacity: 0.08,\n selected: 'rgba(255, 255, 255, 0.16)',\n selectedOpacity: 0.16,\n disabled: 'rgba(255, 255, 255, 0.3)',\n disabledBackground: 'rgba(255, 255, 255, 0.12)',\n disabledOpacity: 0.38,\n focus: 'rgba(255, 255, 255, 0.12)',\n focusOpacity: 0.12,\n activatedOpacity: 0.24\n }\n};\nfunction addLightOrDark(intent, direction, shade, tonalOffset) {\n const tonalOffsetLight = tonalOffset.light || tonalOffset;\n const tonalOffsetDark = tonalOffset.dark || tonalOffset * 1.5;\n if (!intent[direction]) {\n if (intent.hasOwnProperty(shade)) {\n intent[direction] = intent[shade];\n } else if (direction === 'light') {\n intent.light = lighten(intent.main, tonalOffsetLight);\n } else if (direction === 'dark') {\n intent.dark = darken(intent.main, tonalOffsetDark);\n }\n }\n}\nfunction getDefaultPrimary(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: blue[200],\n light: blue[50],\n dark: blue[400]\n };\n }\n return {\n main: blue[700],\n light: blue[400],\n dark: blue[800]\n };\n}\nfunction getDefaultSecondary(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: purple[200],\n light: purple[50],\n dark: purple[400]\n };\n }\n return {\n main: purple[500],\n light: purple[300],\n dark: purple[700]\n };\n}\nfunction getDefaultError(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: red[500],\n light: red[300],\n dark: red[700]\n };\n }\n return {\n main: red[700],\n light: red[400],\n dark: red[800]\n };\n}\nfunction getDefaultInfo(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: lightBlue[400],\n light: lightBlue[300],\n dark: lightBlue[700]\n };\n }\n return {\n main: lightBlue[700],\n light: lightBlue[500],\n dark: lightBlue[900]\n };\n}\nfunction getDefaultSuccess(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: green[400],\n light: green[300],\n dark: green[700]\n };\n }\n return {\n main: green[800],\n light: green[500],\n dark: green[900]\n };\n}\nfunction getDefaultWarning(mode = 'light') {\n if (mode === 'dark') {\n return {\n main: orange[400],\n light: orange[300],\n dark: orange[700]\n };\n }\n return {\n main: '#ed6c02',\n // closest to orange[800] that pass 3:1.\n light: orange[500],\n dark: orange[900]\n };\n}\nexport default function createPalette(palette) {\n const {\n mode = 'light',\n contrastThreshold = 3,\n tonalOffset = 0.2,\n ...other\n } = palette;\n const primary = palette.primary || getDefaultPrimary(mode);\n const secondary = palette.secondary || getDefaultSecondary(mode);\n const error = palette.error || getDefaultError(mode);\n const info = palette.info || getDefaultInfo(mode);\n const success = palette.success || getDefaultSuccess(mode);\n const warning = palette.warning || getDefaultWarning(mode);\n\n // Use the same logic as\n // Bootstrap: https://github.com/twbs/bootstrap/blob/1d6e3710dd447de1a200f29e8fa521f8a0908f70/scss/_functions.scss#L59\n // and material-components-web https://github.com/material-components/material-components-web/blob/ac46b8863c4dab9fc22c4c662dc6bd1b65dd652f/packages/mdc-theme/_functions.scss#L54\n function getContrastText(background) {\n const contrastText = getContrastRatio(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary;\n if (process.env.NODE_ENV !== 'production') {\n const contrast = getContrastRatio(background, contrastText);\n if (contrast < 3) {\n console.error([`MUI: The contrast ratio of ${contrast}:1 for ${contrastText} on ${background}`, 'falls below the WCAG recommended absolute minimum contrast ratio of 3:1.', 'https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast'].join('\\n'));\n }\n }\n return contrastText;\n }\n const augmentColor = ({\n color,\n name,\n mainShade = 500,\n lightShade = 300,\n darkShade = 700\n }) => {\n color = {\n ...color\n };\n if (!color.main && color[mainShade]) {\n color.main = color[mainShade];\n }\n if (!color.hasOwnProperty('main')) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.\nThe color object needs to have a \\`main\\` property or a \\`${mainShade}\\` property.` : _formatMuiErrorMessage(11, name ? ` (${name})` : '', mainShade));\n }\n if (typeof color.main !== 'string') {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.\n\\`color.main\\` should be a string, but \\`${JSON.stringify(color.main)}\\` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from \"@mui/material/colors\";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });` : _formatMuiErrorMessage(12, name ? ` (${name})` : '', JSON.stringify(color.main)));\n }\n addLightOrDark(color, 'light', lightShade, tonalOffset);\n addLightOrDark(color, 'dark', darkShade, tonalOffset);\n if (!color.contrastText) {\n color.contrastText = getContrastText(color.main);\n }\n return color;\n };\n const modes = {\n dark,\n light\n };\n if (process.env.NODE_ENV !== 'production') {\n if (!modes[mode]) {\n console.error(`MUI: The palette mode \\`${mode}\\` is not supported.`);\n }\n }\n const paletteOutput = deepmerge({\n // A collection of common colors.\n common: {\n ...common\n },\n // prevent mutable object.\n // The palette mode, can be light or dark.\n mode,\n // The colors used to represent primary interface elements for a user.\n primary: augmentColor({\n color: primary,\n name: 'primary'\n }),\n // The colors used to represent secondary interface elements for a user.\n secondary: augmentColor({\n color: secondary,\n name: 'secondary',\n mainShade: 'A400',\n lightShade: 'A200',\n darkShade: 'A700'\n }),\n // The colors used to represent interface elements that the user should be made aware of.\n error: augmentColor({\n color: error,\n name: 'error'\n }),\n // The colors used to represent potentially dangerous actions or important messages.\n warning: augmentColor({\n color: warning,\n name: 'warning'\n }),\n // The colors used to present information to the user that is neutral and not necessarily important.\n info: augmentColor({\n color: info,\n name: 'info'\n }),\n // The colors used to indicate the successful completion of an action that user triggered.\n success: augmentColor({\n color: success,\n name: 'success'\n }),\n // The grey colors.\n grey,\n // Used by `getContrastText()` to maximize the contrast between\n // the background and the text.\n contrastThreshold,\n // Takes a background color and returns the text color that maximizes the contrast.\n getContrastText,\n // Generate a rich color object.\n augmentColor,\n // Used by the functions below to shift a color's luminance by approximately\n // two indexes within its tonal palette.\n // E.g., shift from Red 500 to Red 300 or Red 700.\n tonalOffset,\n // The light and dark mode object.\n ...modes[mode]\n }, other);\n return paletteOutput;\n}","export default function prepareTypographyVars(typography) {\n const vars = {};\n const entries = Object.entries(typography);\n entries.forEach(entry => {\n const [key, value] = entry;\n if (typeof value === 'object') {\n vars[key] = `${value.fontStyle ? `${value.fontStyle} ` : ''}${value.fontVariant ? `${value.fontVariant} ` : ''}${value.fontWeight ? `${value.fontWeight} ` : ''}${value.fontStretch ? `${value.fontStretch} ` : ''}${value.fontSize || ''}${value.lineHeight ? `/${value.lineHeight} ` : ''}${value.fontFamily || ''}`;\n }\n });\n return vars;\n}","export default function createMixins(breakpoints, mixins) {\n return {\n toolbar: {\n minHeight: 56,\n [breakpoints.up('xs')]: {\n '@media (orientation: landscape)': {\n minHeight: 48\n }\n },\n [breakpoints.up('sm')]: {\n minHeight: 64\n }\n },\n ...mixins\n };\n}","import deepmerge from '@mui/utils/deepmerge';\nfunction round(value) {\n return Math.round(value * 1e5) / 1e5;\n}\nconst caseAllCaps = {\n textTransform: 'uppercase'\n};\nconst defaultFontFamily = '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif';\n\n/**\n * @see @link{https://m2.material.io/design/typography/the-type-system.html}\n * @see @link{https://m2.material.io/design/typography/understanding-typography.html}\n */\nexport default function createTypography(palette, typography) {\n const {\n fontFamily = defaultFontFamily,\n // The default font size of the Material Specification.\n fontSize = 14,\n // px\n fontWeightLight = 300,\n fontWeightRegular = 400,\n fontWeightMedium = 500,\n fontWeightBold = 700,\n // Tell MUI what's the font-size on the html element.\n // 16px is the default font-size used by browsers.\n htmlFontSize = 16,\n // Apply the CSS properties to all the variants.\n allVariants,\n pxToRem: pxToRem2,\n ...other\n } = typeof typography === 'function' ? typography(palette) : typography;\n if (process.env.NODE_ENV !== 'production') {\n if (typeof fontSize !== 'number') {\n console.error('MUI: `fontSize` is required to be a number.');\n }\n if (typeof htmlFontSize !== 'number') {\n console.error('MUI: `htmlFontSize` is required to be a number.');\n }\n }\n const coef = fontSize / 14;\n const pxToRem = pxToRem2 || (size => `${size / htmlFontSize * coef}rem`);\n const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => ({\n fontFamily,\n fontWeight,\n fontSize: pxToRem(size),\n // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/\n lineHeight,\n // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing\n // across font-families can cause issues with the kerning.\n ...(fontFamily === defaultFontFamily ? {\n letterSpacing: `${round(letterSpacing / size)}em`\n } : {}),\n ...casing,\n ...allVariants\n });\n const variants = {\n h1: buildVariant(fontWeightLight, 96, 1.167, -1.5),\n h2: buildVariant(fontWeightLight, 60, 1.2, -0.5),\n h3: buildVariant(fontWeightRegular, 48, 1.167, 0),\n h4: buildVariant(fontWeightRegular, 34, 1.235, 0.25),\n h5: buildVariant(fontWeightRegular, 24, 1.334, 0),\n h6: buildVariant(fontWeightMedium, 20, 1.6, 0.15),\n subtitle1: buildVariant(fontWeightRegular, 16, 1.75, 0.15),\n subtitle2: buildVariant(fontWeightMedium, 14, 1.57, 0.1),\n body1: buildVariant(fontWeightRegular, 16, 1.5, 0.15),\n body2: buildVariant(fontWeightRegular, 14, 1.43, 0.15),\n button: buildVariant(fontWeightMedium, 14, 1.75, 0.4, caseAllCaps),\n caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),\n overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps),\n // TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.\n inherit: {\n fontFamily: 'inherit',\n fontWeight: 'inherit',\n fontSize: 'inherit',\n lineHeight: 'inherit',\n letterSpacing: 'inherit'\n }\n };\n return deepmerge({\n htmlFontSize,\n pxToRem,\n fontFamily,\n fontSize,\n fontWeightLight,\n fontWeightRegular,\n fontWeightMedium,\n fontWeightBold,\n ...variants\n }, other, {\n clone: false // No need to clone deep\n });\n}","const shadowKeyUmbraOpacity = 0.2;\nconst shadowKeyPenumbraOpacity = 0.14;\nconst shadowAmbientShadowOpacity = 0.12;\nfunction createShadow(...px) {\n return [`${px[0]}px ${px[1]}px ${px[2]}px ${px[3]}px rgba(0,0,0,${shadowKeyUmbraOpacity})`, `${px[4]}px ${px[5]}px ${px[6]}px ${px[7]}px rgba(0,0,0,${shadowKeyPenumbraOpacity})`, `${px[8]}px ${px[9]}px ${px[10]}px ${px[11]}px rgba(0,0,0,${shadowAmbientShadowOpacity})`].join(',');\n}\n\n// Values from https://github.com/material-components/material-components-web/blob/be8747f94574669cb5e7add1a7c54fa41a89cec7/packages/mdc-elevation/_variables.scss\nconst shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];\nexport default shadows;","// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves\n// to learn the context in which each easing should be used.\nexport const easing = {\n // This is the most common easing curve.\n easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)',\n // Objects enter the screen at full velocity from off-screen and\n // slowly decelerate to a resting point.\n easeOut: 'cubic-bezier(0.0, 0, 0.2, 1)',\n // Objects leave the screen at full velocity. They do not decelerate when off-screen.\n easeIn: 'cubic-bezier(0.4, 0, 1, 1)',\n // The sharp curve is used by objects that may return to the screen at any time.\n sharp: 'cubic-bezier(0.4, 0, 0.6, 1)'\n};\n\n// Follow https://m2.material.io/guidelines/motion/duration-easing.html#duration-easing-common-durations\n// to learn when use what timing\nexport const duration = {\n shortest: 150,\n shorter: 200,\n short: 250,\n // most basic recommended timing\n standard: 300,\n // this is to be used in complex animations\n complex: 375,\n // recommended when something is entering screen\n enteringScreen: 225,\n // recommended when something is leaving screen\n leavingScreen: 195\n};\nfunction formatMs(milliseconds) {\n return `${Math.round(milliseconds)}ms`;\n}\nfunction getAutoHeightDuration(height) {\n if (!height) {\n return 0;\n }\n const constant = height / 36;\n\n // https://www.desmos.com/calculator/vbrp3ggqet\n return Math.min(Math.round((4 + 15 * constant ** 0.25 + constant / 5) * 10), 3000);\n}\nexport default function createTransitions(inputTransitions) {\n const mergedEasing = {\n ...easing,\n ...inputTransitions.easing\n };\n const mergedDuration = {\n ...duration,\n ...inputTransitions.duration\n };\n const create = (props = ['all'], options = {}) => {\n const {\n duration: durationOption = mergedDuration.standard,\n easing: easingOption = mergedEasing.easeInOut,\n delay = 0,\n ...other\n } = options;\n if (process.env.NODE_ENV !== 'production') {\n const isString = value => typeof value === 'string';\n const isNumber = value => !Number.isNaN(parseFloat(value));\n if (!isString(props) && !Array.isArray(props)) {\n console.error('MUI: Argument \"props\" must be a string or Array.');\n }\n if (!isNumber(durationOption) && !isString(durationOption)) {\n console.error(`MUI: Argument \"duration\" must be a number or a string but found ${durationOption}.`);\n }\n if (!isString(easingOption)) {\n console.error('MUI: Argument \"easing\" must be a string.');\n }\n if (!isNumber(delay) && !isString(delay)) {\n console.error('MUI: Argument \"delay\" must be a number or a string.');\n }\n if (typeof options !== 'object') {\n console.error(['MUI: Secong argument of transition.create must be an object.', \"Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`\"].join('\\n'));\n }\n if (Object.keys(other).length !== 0) {\n console.error(`MUI: Unrecognized argument(s) [${Object.keys(other).join(',')}].`);\n }\n }\n return (Array.isArray(props) ? props : [props]).map(animatedProp => `${animatedProp} ${typeof durationOption === 'string' ? durationOption : formatMs(durationOption)} ${easingOption} ${typeof delay === 'string' ? delay : formatMs(delay)}`).join(',');\n };\n return {\n getAutoHeightDuration,\n create,\n ...inputTransitions,\n easing: mergedEasing,\n duration: mergedDuration\n };\n}","// We need to centralize the zIndex definitions as they work\n// like global values in the browser.\nconst zIndex = {\n mobileStepper: 1000,\n fab: 1050,\n speedDial: 1050,\n appBar: 1100,\n drawer: 1200,\n modal: 1300,\n snackbar: 1400,\n tooltip: 1500\n};\nexport default zIndex;","import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nimport deepmerge from '@mui/utils/deepmerge';\nimport styleFunctionSx, { unstable_defaultSxConfig as defaultSxConfig } from '@mui/system/styleFunctionSx';\nimport systemCreateTheme from '@mui/system/createTheme';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport createMixins from \"./createMixins.js\";\nimport createPalette from \"./createPalette.js\";\nimport createTypography from \"./createTypography.js\";\nimport shadows from \"./shadows.js\";\nimport createTransitions from \"./createTransitions.js\";\nimport zIndex from \"./zIndex.js\";\nfunction createThemeNoVars(options = {}, ...args) {\n const {\n breakpoints: breakpointsInput,\n mixins: mixinsInput = {},\n spacing: spacingInput,\n palette: paletteInput = {},\n transitions: transitionsInput = {},\n typography: typographyInput = {},\n shape: shapeInput,\n ...other\n } = options;\n if (options.vars) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: \\`vars\\` is a private field used for CSS variables support.\nPlease use another name.` : _formatMuiErrorMessage(20));\n }\n const palette = createPalette(paletteInput);\n const systemTheme = systemCreateTheme(options);\n let muiTheme = deepmerge(systemTheme, {\n mixins: createMixins(systemTheme.breakpoints, mixinsInput),\n palette,\n // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.\n shadows: shadows.slice(),\n typography: createTypography(palette, typographyInput),\n transitions: createTransitions(transitionsInput),\n zIndex: {\n ...zIndex\n }\n });\n muiTheme = deepmerge(muiTheme, other);\n muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);\n if (process.env.NODE_ENV !== 'production') {\n // TODO v6: Refactor to use globalStateClassesMapping from @mui/utils once `readOnly` state class is used in Rating component.\n const stateClasses = ['active', 'checked', 'completed', 'disabled', 'error', 'expanded', 'focused', 'focusVisible', 'required', 'selected'];\n const traverse = (node, component) => {\n let key;\n\n // eslint-disable-next-line guard-for-in\n for (key in node) {\n const child = node[key];\n if (stateClasses.includes(key) && Object.keys(child).length > 0) {\n if (process.env.NODE_ENV !== 'production') {\n const stateClass = generateUtilityClass('', key);\n console.error([`MUI: The \\`${component}\\` component increases ` + `the CSS specificity of the \\`${key}\\` internal state.`, 'You can not override it like this: ', JSON.stringify(node, null, 2), '', `Instead, you need to use the '&.${stateClass}' syntax:`, JSON.stringify({\n root: {\n [`&.${stateClass}`]: child\n }\n }, null, 2), '', 'https://mui.com/r/state-classes-guide'].join('\\n'));\n }\n // Remove the style to prevent global conflicts.\n node[key] = {};\n }\n }\n };\n Object.keys(muiTheme.components).forEach(component => {\n const styleOverrides = muiTheme.components[component].styleOverrides;\n if (styleOverrides && component.startsWith('Mui')) {\n traverse(styleOverrides, component);\n }\n });\n }\n muiTheme.unstable_sxConfig = {\n ...defaultSxConfig,\n ...other?.unstable_sxConfig\n };\n muiTheme.unstable_sx = function sx(props) {\n return styleFunctionSx({\n sx: props,\n theme: this\n });\n };\n return muiTheme;\n}\nlet warnedOnce = false;\nexport function createMuiTheme(...args) {\n if (process.env.NODE_ENV !== 'production') {\n if (!warnedOnce) {\n warnedOnce = true;\n console.error(['MUI: the createMuiTheme function was renamed to createTheme.', '', \"You should use `import { createTheme } from '@mui/material/styles'`\"].join('\\n'));\n }\n }\n return createThemeNoVars(...args);\n}\nexport default createThemeNoVars;","// Inspired by https://github.com/material-components/material-components-ios/blob/bca36107405594d5b7b16265a5b0ed698f85a5ee/components/Elevation/src/UIColor%2BMaterialElevation.m#L61\nexport default function getOverlayAlpha(elevation) {\n let alphaValue;\n if (elevation < 1) {\n alphaValue = 5.11916 * elevation ** 2;\n } else {\n alphaValue = 4.5 * Math.log(elevation + 1) + 2;\n }\n return Math.round(alphaValue * 10) / 1000;\n}","import createPalette from \"./createPalette.js\";\nimport getOverlayAlpha from \"./getOverlayAlpha.js\";\nconst defaultDarkOverlays = [...Array(25)].map((_, index) => {\n if (index === 0) {\n return 'none';\n }\n const overlay = getOverlayAlpha(index);\n return `linear-gradient(rgba(255 255 255 / ${overlay}), rgba(255 255 255 / ${overlay}))`;\n});\nexport function getOpacity(mode) {\n return {\n inputPlaceholder: mode === 'dark' ? 0.5 : 0.42,\n inputUnderline: mode === 'dark' ? 0.7 : 0.42,\n switchTrackDisabled: mode === 'dark' ? 0.2 : 0.12,\n switchTrack: mode === 'dark' ? 0.3 : 0.38\n };\n}\nexport function getOverlays(mode) {\n return mode === 'dark' ? defaultDarkOverlays : [];\n}\nexport default function createColorScheme(options) {\n const {\n palette: paletteInput = {\n mode: 'light'\n },\n // need to cast to avoid module augmentation test\n opacity,\n overlays,\n ...rest\n } = options;\n const palette = createPalette(paletteInput);\n return {\n palette,\n opacity: {\n ...getOpacity(palette.mode),\n ...opacity\n },\n overlays: overlays || getOverlays(palette.mode),\n ...rest\n };\n}","export default function shouldSkipGeneratingVar(keys) {\n return !!keys[0].match(/(cssVarPrefix|colorSchemeSelector|typography|mixins|breakpoints|direction|transitions)/) || !!keys[0].match(/sxConfig$/) ||\n // ends with sxConfig\n keys[0] === 'palette' && !!keys[1]?.match(/(mode|contrastThreshold|tonalOffset)/);\n}","/**\n * @internal These variables should not appear in the :root stylesheet when the `defaultColorScheme=\"dark\"`\n */\nconst excludeVariablesFromRoot = cssVarPrefix => [...[...Array(25)].map((_, index) => `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}overlays-${index}`), `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}palette-AppBar-darkBg`, `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}palette-AppBar-darkColor`];\nexport default excludeVariablesFromRoot;","import excludeVariablesFromRoot from \"./excludeVariablesFromRoot.js\";\nexport default theme => (colorScheme, css) => {\n const selector = theme.colorSchemeSelector;\n let rule = selector;\n if (selector === 'class') {\n rule = '.%s';\n }\n if (selector === 'data') {\n rule = '[data-%s]';\n }\n if (selector?.startsWith('data-') && !selector.includes('%s')) {\n // 'data-mui-color-scheme' -> '[data-mui-color-scheme=\"%s\"]'\n rule = `[${selector}=\"%s\"]`;\n }\n if (theme.defaultColorScheme === colorScheme) {\n if (colorScheme === 'dark') {\n const excludedVariables = {};\n excludeVariablesFromRoot(theme.cssVarPrefix).forEach(cssVar => {\n excludedVariables[cssVar] = css[cssVar];\n delete css[cssVar];\n });\n if (rule === 'media') {\n return {\n ':root': css,\n [`@media (prefers-color-scheme: dark)`]: {\n ':root': excludedVariables\n }\n };\n }\n if (rule) {\n return {\n [rule.replace('%s', colorScheme)]: excludedVariables,\n [`:root, ${rule.replace('%s', colorScheme)}`]: css\n };\n }\n return {\n ':root': {\n ...css,\n ...excludedVariables\n }\n };\n }\n if (rule && rule !== 'media') {\n return `:root, ${rule.replace('%s', String(colorScheme))}`;\n }\n } else if (colorScheme) {\n if (rule === 'media') {\n return {\n [`@media (prefers-color-scheme: ${String(colorScheme)})`]: {\n ':root': css\n }\n };\n }\n if (rule) {\n return rule.replace('%s', String(colorScheme));\n }\n }\n return ':root';\n};","/* eslint-disable import/prefer-default-export */\nimport { isPlainObject } from '@mui/utils/deepmerge';\nfunction isSerializable(val) {\n return isPlainObject(val) || typeof val === 'undefined' || typeof val === 'string' || typeof val === 'boolean' || typeof val === 'number' || Array.isArray(val);\n}\n\n/**\n * `baseTheme` usually comes from `createTheme` or `extendTheme`.\n *\n * This function is intended to be used with zero-runtime CSS-in-JS like Pigment CSS\n * For example, in a Next.js project:\n *\n * ```js\n * // next.config.js\n * const { extendTheme } = require('@mui/material/styles');\n *\n * const theme = extendTheme();\n * // `.toRuntimeSource` is Pigment CSS specific to create a theme that is available at runtime.\n * theme.toRuntimeSource = stringifyTheme;\n *\n * module.exports = withPigment({\n * theme,\n * });\n * ```\n */\nexport function stringifyTheme(baseTheme = {}) {\n const serializableTheme = {\n ...baseTheme\n };\n function serializeTheme(object) {\n const array = Object.entries(object);\n // eslint-disable-next-line no-plusplus\n for (let index = 0; index < array.length; index++) {\n const [key, value] = array[index];\n if (!isSerializable(value) || key.startsWith('unstable_')) {\n delete object[key];\n } else if (isPlainObject(value)) {\n object[key] = {\n ...value\n };\n serializeTheme(object[key]);\n }\n }\n }\n serializeTheme(serializableTheme);\n return `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(serializableTheme, null, 2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`;\n}","import _formatMuiErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nimport deepmerge from '@mui/utils/deepmerge';\nimport { unstable_createGetCssVar as systemCreateGetCssVar, createSpacing } from '@mui/system';\nimport { createUnarySpacing } from '@mui/system/spacing';\nimport { prepareCssVars, prepareTypographyVars, createGetColorSchemeSelector } from '@mui/system/cssVars';\nimport styleFunctionSx, { unstable_defaultSxConfig as defaultSxConfig } from '@mui/system/styleFunctionSx';\nimport { private_safeColorChannel as safeColorChannel, private_safeAlpha as safeAlpha, private_safeDarken as safeDarken, private_safeLighten as safeLighten, private_safeEmphasize as safeEmphasize, hslToRgb } from '@mui/system/colorManipulator';\nimport createThemeNoVars from \"./createThemeNoVars.js\";\nimport createColorScheme, { getOpacity, getOverlays } from \"./createColorScheme.js\";\nimport defaultShouldSkipGeneratingVar from \"./shouldSkipGeneratingVar.js\";\nimport defaultGetSelector from \"./createGetSelector.js\";\nimport { stringifyTheme } from \"./stringifyTheme.js\";\nfunction assignNode(obj, keys) {\n keys.forEach(k => {\n if (!obj[k]) {\n obj[k] = {};\n }\n });\n}\nfunction setColor(obj, key, defaultValue) {\n if (!obj[key] && defaultValue) {\n obj[key] = defaultValue;\n }\n}\nfunction toRgb(color) {\n if (!color || !color.startsWith('hsl')) {\n return color;\n }\n return hslToRgb(color);\n}\nfunction setColorChannel(obj, key) {\n if (!(`${key}Channel` in obj)) {\n // custom channel token is not provided, generate one.\n // if channel token can't be generated, show a warning.\n obj[`${key}Channel`] = safeColorChannel(toRgb(obj[key]), `MUI: Can't create \\`palette.${key}Channel\\` because \\`palette.${key}\\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` + '\\n' + `To suppress this warning, you need to explicitly provide the \\`palette.${key}Channel\\` as a string (in rgb format, for example \"12 12 12\") or undefined if you want to remove the channel token.`);\n }\n}\nfunction getSpacingVal(spacingInput) {\n if (typeof spacingInput === 'number') {\n return `${spacingInput}px`;\n }\n if (typeof spacingInput === 'string' || typeof spacingInput === 'function' || Array.isArray(spacingInput)) {\n return spacingInput;\n }\n return '8px';\n}\nconst silent = fn => {\n try {\n return fn();\n } catch (error) {\n // ignore error\n }\n return undefined;\n};\nexport const createGetCssVar = (cssVarPrefix = 'mui') => systemCreateGetCssVar(cssVarPrefix);\nfunction attachColorScheme(colorSchemes, scheme, restTheme, colorScheme) {\n if (!scheme) {\n return undefined;\n }\n scheme = scheme === true ? {} : scheme;\n const mode = colorScheme === 'dark' ? 'dark' : 'light';\n if (!restTheme) {\n colorSchemes[colorScheme] = createColorScheme({\n ...scheme,\n palette: {\n mode,\n ...scheme?.palette\n }\n });\n return undefined;\n }\n const {\n palette,\n ...muiTheme\n } = createThemeNoVars({\n ...restTheme,\n palette: {\n mode,\n ...scheme?.palette\n }\n });\n colorSchemes[colorScheme] = {\n ...scheme,\n palette,\n opacity: {\n ...getOpacity(mode),\n ...scheme?.opacity\n },\n overlays: scheme?.overlays || getOverlays(mode)\n };\n return muiTheme;\n}\n\n/**\n * A default `createThemeWithVars` comes with a single color scheme, either `light` or `dark` based on the `defaultColorScheme`.\n * This is better suited for apps that only need a single color scheme.\n *\n * To enable built-in `light` and `dark` color schemes, either:\n * 1. provide a `colorSchemeSelector` to define how the color schemes will change.\n * 2. provide `colorSchemes.dark` will set `colorSchemeSelector: 'media'` by default.\n */\nexport default function createThemeWithVars(options = {}, ...args) {\n const {\n colorSchemes: colorSchemesInput = {\n light: true\n },\n defaultColorScheme: defaultColorSchemeInput,\n disableCssColorScheme = false,\n cssVarPrefix = 'mui',\n shouldSkipGeneratingVar = defaultShouldSkipGeneratingVar,\n colorSchemeSelector: selector = colorSchemesInput.light && colorSchemesInput.dark ? 'media' : undefined,\n ...input\n } = options;\n const firstColorScheme = Object.keys(colorSchemesInput)[0];\n const defaultColorScheme = defaultColorSchemeInput || (colorSchemesInput.light && firstColorScheme !== 'light' ? 'light' : firstColorScheme);\n const getCssVar = createGetCssVar(cssVarPrefix);\n const {\n [defaultColorScheme]: defaultSchemeInput,\n light: builtInLight,\n dark: builtInDark,\n ...customColorSchemes\n } = colorSchemesInput;\n const colorSchemes = {\n ...customColorSchemes\n };\n let defaultScheme = defaultSchemeInput;\n\n // For built-in light and dark color schemes, ensure that the value is valid if they are the default color scheme.\n if (defaultColorScheme === 'dark' && !('dark' in colorSchemesInput) || defaultColorScheme === 'light' && !('light' in colorSchemesInput)) {\n defaultScheme = true;\n }\n if (!defaultScheme) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: The \\`colorSchemes.${defaultColorScheme}\\` option is either missing or invalid.` : _formatMuiErrorMessage(21, defaultColorScheme));\n }\n\n // Create the palette for the default color scheme, either `light`, `dark`, or custom color scheme.\n const muiTheme = attachColorScheme(colorSchemes, defaultScheme, input, defaultColorScheme);\n if (builtInLight && !colorSchemes.light) {\n attachColorScheme(colorSchemes, builtInLight, undefined, 'light');\n }\n if (builtInDark && !colorSchemes.dark) {\n attachColorScheme(colorSchemes, builtInDark, undefined, 'dark');\n }\n let theme = {\n defaultColorScheme,\n ...muiTheme,\n cssVarPrefix,\n colorSchemeSelector: selector,\n getCssVar,\n colorSchemes,\n font: {\n ...prepareTypographyVars(muiTheme.typography),\n ...muiTheme.font\n },\n spacing: getSpacingVal(input.spacing)\n };\n Object.keys(theme.colorSchemes).forEach(key => {\n const palette = theme.colorSchemes[key].palette;\n const setCssVarColor = cssVar => {\n const tokens = cssVar.split('-');\n const color = tokens[1];\n const colorToken = tokens[2];\n return getCssVar(cssVar, palette[color][colorToken]);\n };\n\n // attach black & white channels to common node\n if (palette.mode === 'light') {\n setColor(palette.common, 'background', '#fff');\n setColor(palette.common, 'onBackground', '#000');\n }\n if (palette.mode === 'dark') {\n setColor(palette.common, 'background', '#000');\n setColor(palette.common, 'onBackground', '#fff');\n }\n\n // assign component variables\n assignNode(palette, ['Alert', 'AppBar', 'Avatar', 'Button', 'Chip', 'FilledInput', 'LinearProgress', 'Skeleton', 'Slider', 'SnackbarContent', 'SpeedDialAction', 'StepConnector', 'StepContent', 'Switch', 'TableCell', 'Tooltip']);\n if (palette.mode === 'light') {\n setColor(palette.Alert, 'errorColor', safeDarken(palette.error.light, 0.6));\n setColor(palette.Alert, 'infoColor', safeDarken(palette.info.light, 0.6));\n setColor(palette.Alert, 'successColor', safeDarken(palette.success.light, 0.6));\n setColor(palette.Alert, 'warningColor', safeDarken(palette.warning.light, 0.6));\n setColor(palette.Alert, 'errorFilledBg', setCssVarColor('palette-error-main'));\n setColor(palette.Alert, 'infoFilledBg', setCssVarColor('palette-info-main'));\n setColor(palette.Alert, 'successFilledBg', setCssVarColor('palette-success-main'));\n setColor(palette.Alert, 'warningFilledBg', setCssVarColor('palette-warning-main'));\n setColor(palette.Alert, 'errorFilledColor', silent(() => palette.getContrastText(palette.error.main)));\n setColor(palette.Alert, 'infoFilledColor', silent(() => palette.getContrastText(palette.info.main)));\n setColor(palette.Alert, 'successFilledColor', silent(() => palette.getContrastText(palette.success.main)));\n setColor(palette.Alert, 'warningFilledColor', silent(() => palette.getContrastText(palette.warning.main)));\n setColor(palette.Alert, 'errorStandardBg', safeLighten(palette.error.light, 0.9));\n setColor(palette.Alert, 'infoStandardBg', safeLighten(palette.info.light, 0.9));\n setColor(palette.Alert, 'successStandardBg', safeLighten(palette.success.light, 0.9));\n setColor(palette.Alert, 'warningStandardBg', safeLighten(palette.warning.light, 0.9));\n setColor(palette.Alert, 'errorIconColor', setCssVarColor('palette-error-main'));\n setColor(palette.Alert, 'infoIconColor', setCssVarColor('palette-info-main'));\n setColor(palette.Alert, 'successIconColor', setCssVarColor('palette-success-main'));\n setColor(palette.Alert, 'warningIconColor', setCssVarColor('palette-warning-main'));\n setColor(palette.AppBar, 'defaultBg', setCssVarColor('palette-grey-100'));\n setColor(palette.Avatar, 'defaultBg', setCssVarColor('palette-grey-400'));\n setColor(palette.Button, 'inheritContainedBg', setCssVarColor('palette-grey-300'));\n setColor(palette.Button, 'inheritContainedHoverBg', setCssVarColor('palette-grey-A100'));\n setColor(palette.Chip, 'defaultBorder', setCssVarColor('palette-grey-400'));\n setColor(palette.Chip, 'defaultAvatarColor', setCssVarColor('palette-grey-700'));\n setColor(palette.Chip, 'defaultIconColor', setCssVarColor('palette-grey-700'));\n setColor(palette.FilledInput, 'bg', 'rgba(0, 0, 0, 0.06)');\n setColor(palette.FilledInput, 'hoverBg', 'rgba(0, 0, 0, 0.09)');\n setColor(palette.FilledInput, 'disabledBg', 'rgba(0, 0, 0, 0.12)');\n setColor(palette.LinearProgress, 'primaryBg', safeLighten(palette.primary.main, 0.62));\n setColor(palette.LinearProgress, 'secondaryBg', safeLighten(palette.secondary.main, 0.62));\n setColor(palette.LinearProgress, 'errorBg', safeLighten(palette.error.main, 0.62));\n setColor(palette.LinearProgress, 'infoBg', safeLighten(palette.info.main, 0.62));\n setColor(palette.LinearProgress, 'successBg', safeLighten(palette.success.main, 0.62));\n setColor(palette.LinearProgress, 'warningBg', safeLighten(palette.warning.main, 0.62));\n setColor(palette.Skeleton, 'bg', `rgba(${setCssVarColor('palette-text-primaryChannel')} / 0.11)`);\n setColor(palette.Slider, 'primaryTrack', safeLighten(palette.primary.main, 0.62));\n setColor(palette.Slider, 'secondaryTrack', safeLighten(palette.secondary.main, 0.62));\n setColor(palette.Slider, 'errorTrack', safeLighten(palette.error.main, 0.62));\n setColor(palette.Slider, 'infoTrack', safeLighten(palette.info.main, 0.62));\n setColor(palette.Slider, 'successTrack', safeLighten(palette.success.main, 0.62));\n setColor(palette.Slider, 'warningTrack', safeLighten(palette.warning.main, 0.62));\n const snackbarContentBackground = safeEmphasize(palette.background.default, 0.8);\n setColor(palette.SnackbarContent, 'bg', snackbarContentBackground);\n setColor(palette.SnackbarContent, 'color', silent(() => palette.getContrastText(snackbarContentBackground)));\n setColor(palette.SpeedDialAction, 'fabHoverBg', safeEmphasize(palette.background.paper, 0.15));\n setColor(palette.StepConnector, 'border', setCssVarColor('palette-grey-400'));\n setColor(palette.StepContent, 'border', setCssVarColor('palette-grey-400'));\n setColor(palette.Switch, 'defaultColor', setCssVarColor('palette-common-white'));\n setColor(palette.Switch, 'defaultDisabledColor', setCssVarColor('palette-grey-100'));\n setColor(palette.Switch, 'primaryDisabledColor', safeLighten(palette.primary.main, 0.62));\n setColor(palette.Switch, 'secondaryDisabledColor', safeLighten(palette.secondary.main, 0.62));\n setColor(palette.Switch, 'errorDisabledColor', safeLighten(palette.error.main, 0.62));\n setColor(palette.Switch, 'infoDisabledColor', safeLighten(palette.info.main, 0.62));\n setColor(palette.Switch, 'successDisabledColor', safeLighten(palette.success.main, 0.62));\n setColor(palette.Switch, 'warningDisabledColor', safeLighten(palette.warning.main, 0.62));\n setColor(palette.TableCell, 'border', safeLighten(safeAlpha(palette.divider, 1), 0.88));\n setColor(palette.Tooltip, 'bg', safeAlpha(palette.grey[700], 0.92));\n }\n if (palette.mode === 'dark') {\n setColor(palette.Alert, 'errorColor', safeLighten(palette.error.light, 0.6));\n setColor(palette.Alert, 'infoColor', safeLighten(palette.info.light, 0.6));\n setColor(palette.Alert, 'successColor', safeLighten(palette.success.light, 0.6));\n setColor(palette.Alert, 'warningColor', safeLighten(palette.warning.light, 0.6));\n setColor(palette.Alert, 'errorFilledBg', setCssVarColor('palette-error-dark'));\n setColor(palette.Alert, 'infoFilledBg', setCssVarColor('palette-info-dark'));\n setColor(palette.Alert, 'successFilledBg', setCssVarColor('palette-success-dark'));\n setColor(palette.Alert, 'warningFilledBg', setCssVarColor('palette-warning-dark'));\n setColor(palette.Alert, 'errorFilledColor', silent(() => palette.getContrastText(palette.error.dark)));\n setColor(palette.Alert, 'infoFilledColor', silent(() => palette.getContrastText(palette.info.dark)));\n setColor(palette.Alert, 'successFilledColor', silent(() => palette.getContrastText(palette.success.dark)));\n setColor(palette.Alert, 'warningFilledColor', silent(() => palette.getContrastText(palette.warning.dark)));\n setColor(palette.Alert, 'errorStandardBg', safeDarken(palette.error.light, 0.9));\n setColor(palette.Alert, 'infoStandardBg', safeDarken(palette.info.light, 0.9));\n setColor(palette.Alert, 'successStandardBg', safeDarken(palette.success.light, 0.9));\n setColor(palette.Alert, 'warningStandardBg', safeDarken(palette.warning.light, 0.9));\n setColor(palette.Alert, 'errorIconColor', setCssVarColor('palette-error-main'));\n setColor(palette.Alert, 'infoIconColor', setCssVarColor('palette-info-main'));\n setColor(palette.Alert, 'successIconColor', setCssVarColor('palette-success-main'));\n setColor(palette.Alert, 'warningIconColor', setCssVarColor('palette-warning-main'));\n setColor(palette.AppBar, 'defaultBg', setCssVarColor('palette-grey-900'));\n setColor(palette.AppBar, 'darkBg', setCssVarColor('palette-background-paper')); // specific for dark mode\n setColor(palette.AppBar, 'darkColor', setCssVarColor('palette-text-primary')); // specific for dark mode\n setColor(palette.Avatar, 'defaultBg', setCssVarColor('palette-grey-600'));\n setColor(palette.Button, 'inheritContainedBg', setCssVarColor('palette-grey-800'));\n setColor(palette.Button, 'inheritContainedHoverBg', setCssVarColor('palette-grey-700'));\n setColor(palette.Chip, 'defaultBorder', setCssVarColor('palette-grey-700'));\n setColor(palette.Chip, 'defaultAvatarColor', setCssVarColor('palette-grey-300'));\n setColor(palette.Chip, 'defaultIconColor', setCssVarColor('palette-grey-300'));\n setColor(palette.FilledInput, 'bg', 'rgba(255, 255, 255, 0.09)');\n setColor(palette.FilledInput, 'hoverBg', 'rgba(255, 255, 255, 0.13)');\n setColor(palette.FilledInput, 'disabledBg', 'rgba(255, 255, 255, 0.12)');\n setColor(palette.LinearProgress, 'primaryBg', safeDarken(palette.primary.main, 0.5));\n setColor(palette.LinearProgress, 'secondaryBg', safeDarken(palette.secondary.main, 0.5));\n setColor(palette.LinearProgress, 'errorBg', safeDarken(palette.error.main, 0.5));\n setColor(palette.LinearProgress, 'infoBg', safeDarken(palette.info.main, 0.5));\n setColor(palette.LinearProgress, 'successBg', safeDarken(palette.success.main, 0.5));\n setColor(palette.LinearProgress, 'warningBg', safeDarken(palette.warning.main, 0.5));\n setColor(palette.Skeleton, 'bg', `rgba(${setCssVarColor('palette-text-primaryChannel')} / 0.13)`);\n setColor(palette.Slider, 'primaryTrack', safeDarken(palette.primary.main, 0.5));\n setColor(palette.Slider, 'secondaryTrack', safeDarken(palette.secondary.main, 0.5));\n setColor(palette.Slider, 'errorTrack', safeDarken(palette.error.main, 0.5));\n setColor(palette.Slider, 'infoTrack', safeDarken(palette.info.main, 0.5));\n setColor(palette.Slider, 'successTrack', safeDarken(palette.success.main, 0.5));\n setColor(palette.Slider, 'warningTrack', safeDarken(palette.warning.main, 0.5));\n const snackbarContentBackground = safeEmphasize(palette.background.default, 0.98);\n setColor(palette.SnackbarContent, 'bg', snackbarContentBackground);\n setColor(palette.SnackbarContent, 'color', silent(() => palette.getContrastText(snackbarContentBackground)));\n setColor(palette.SpeedDialAction, 'fabHoverBg', safeEmphasize(palette.background.paper, 0.15));\n setColor(palette.StepConnector, 'border', setCssVarColor('palette-grey-600'));\n setColor(palette.StepContent, 'border', setCssVarColor('palette-grey-600'));\n setColor(palette.Switch, 'defaultColor', setCssVarColor('palette-grey-300'));\n setColor(palette.Switch, 'defaultDisabledColor', setCssVarColor('palette-grey-600'));\n setColor(palette.Switch, 'primaryDisabledColor', safeDarken(palette.primary.main, 0.55));\n setColor(palette.Switch, 'secondaryDisabledColor', safeDarken(palette.secondary.main, 0.55));\n setColor(palette.Switch, 'errorDisabledColor', safeDarken(palette.error.main, 0.55));\n setColor(palette.Switch, 'infoDisabledColor', safeDarken(palette.info.main, 0.55));\n setColor(palette.Switch, 'successDisabledColor', safeDarken(palette.success.main, 0.55));\n setColor(palette.Switch, 'warningDisabledColor', safeDarken(palette.warning.main, 0.55));\n setColor(palette.TableCell, 'border', safeDarken(safeAlpha(palette.divider, 1), 0.68));\n setColor(palette.Tooltip, 'bg', safeAlpha(palette.grey[700], 0.92));\n }\n\n // MUI X - DataGrid needs this token.\n setColorChannel(palette.background, 'default');\n\n // added for consistency with the `background.default` token\n setColorChannel(palette.background, 'paper');\n setColorChannel(palette.common, 'background');\n setColorChannel(palette.common, 'onBackground');\n setColorChannel(palette, 'divider');\n Object.keys(palette).forEach(color => {\n const colors = palette[color];\n\n // The default palettes (primary, secondary, error, info, success, and warning) errors are handled by the above `createTheme(...)`.\n\n if (colors && typeof colors === 'object') {\n // Silent the error for custom palettes.\n if (colors.main) {\n setColor(palette[color], 'mainChannel', safeColorChannel(toRgb(colors.main)));\n }\n if (colors.light) {\n setColor(palette[color], 'lightChannel', safeColorChannel(toRgb(colors.light)));\n }\n if (colors.dark) {\n setColor(palette[color], 'darkChannel', safeColorChannel(toRgb(colors.dark)));\n }\n if (colors.contrastText) {\n setColor(palette[color], 'contrastTextChannel', safeColorChannel(toRgb(colors.contrastText)));\n }\n if (color === 'text') {\n // Text colors: text.primary, text.secondary\n setColorChannel(palette[color], 'primary');\n setColorChannel(palette[color], 'secondary');\n }\n if (color === 'action') {\n // Action colors: action.active, action.selected\n if (colors.active) {\n setColorChannel(palette[color], 'active');\n }\n if (colors.selected) {\n setColorChannel(palette[color], 'selected');\n }\n }\n }\n });\n });\n theme = args.reduce((acc, argument) => deepmerge(acc, argument), theme);\n const parserConfig = {\n prefix: cssVarPrefix,\n disableCssColorScheme,\n shouldSkipGeneratingVar,\n getSelector: defaultGetSelector(theme)\n };\n const {\n vars,\n generateThemeVars,\n generateStyleSheets\n } = prepareCssVars(theme, parserConfig);\n theme.vars = vars;\n Object.entries(theme.colorSchemes[theme.defaultColorScheme]).forEach(([key, value]) => {\n theme[key] = value;\n });\n theme.generateThemeVars = generateThemeVars;\n theme.generateStyleSheets = generateStyleSheets;\n theme.generateSpacing = function generateSpacing() {\n return createSpacing(input.spacing, createUnarySpacing(this));\n };\n theme.getColorSchemeSelector = createGetColorSchemeSelector(selector);\n theme.spacing = theme.generateSpacing();\n theme.shouldSkipGeneratingVar = shouldSkipGeneratingVar;\n theme.unstable_sxConfig = {\n ...defaultSxConfig,\n ...input?.unstable_sxConfig\n };\n theme.unstable_sx = function sx(props) {\n return styleFunctionSx({\n sx: props,\n theme: this\n });\n };\n theme.toRuntimeSource = stringifyTheme; // for Pigment CSS integration\n\n return theme;\n}","import createPalette from \"./createPalette.js\";\nimport createThemeWithVars from \"./createThemeWithVars.js\";\nimport createThemeNoVars from \"./createThemeNoVars.js\";\nexport { createMuiTheme } from \"./createThemeNoVars.js\";\n// eslint-disable-next-line consistent-return\nfunction attachColorScheme(theme, scheme, colorScheme) {\n if (!theme.colorSchemes) {\n return undefined;\n }\n if (colorScheme) {\n theme.colorSchemes[scheme] = {\n ...(colorScheme !== true && colorScheme),\n palette: createPalette({\n ...(colorScheme === true ? {} : colorScheme.palette),\n mode: scheme\n }) // cast type to skip module augmentation test\n };\n }\n}\n\n/**\n * Generate a theme base on the options received.\n * @param options Takes an incomplete theme object and adds the missing parts.\n * @param args Deep merge the arguments with the about to be returned theme.\n * @returns A complete, ready-to-use theme object.\n */\nexport default function createTheme(options = {},\n// cast type to skip module augmentation test\n...args) {\n const {\n palette,\n cssVariables = false,\n colorSchemes: initialColorSchemes = !palette ? {\n light: true\n } : undefined,\n defaultColorScheme: initialDefaultColorScheme = palette?.mode,\n ...rest\n } = options;\n const defaultColorSchemeInput = initialDefaultColorScheme || 'light';\n const defaultScheme = initialColorSchemes?.[defaultColorSchemeInput];\n const colorSchemesInput = {\n ...initialColorSchemes,\n ...(palette ? {\n [defaultColorSchemeInput]: {\n ...(typeof defaultScheme !== 'boolean' && defaultScheme),\n palette\n }\n } : undefined)\n };\n if (cssVariables === false) {\n if (!('colorSchemes' in options)) {\n // Behaves exactly as v5\n return createThemeNoVars(options, ...args);\n }\n let paletteOptions = palette;\n if (!('palette' in options)) {\n if (colorSchemesInput[defaultColorSchemeInput]) {\n if (colorSchemesInput[defaultColorSchemeInput] !== true) {\n paletteOptions = colorSchemesInput[defaultColorSchemeInput].palette;\n } else if (defaultColorSchemeInput === 'dark') {\n // @ts-ignore to prevent the module augmentation test from failing\n paletteOptions = {\n mode: 'dark'\n };\n }\n }\n }\n const theme = createThemeNoVars({\n ...options,\n palette: paletteOptions\n }, ...args);\n theme.defaultColorScheme = defaultColorSchemeInput;\n theme.colorSchemes = colorSchemesInput;\n if (theme.palette.mode === 'light') {\n theme.colorSchemes.light = {\n ...(colorSchemesInput.light !== true && colorSchemesInput.light),\n palette: theme.palette\n };\n attachColorScheme(theme, 'dark', colorSchemesInput.dark);\n }\n if (theme.palette.mode === 'dark') {\n theme.colorSchemes.dark = {\n ...(colorSchemesInput.dark !== true && colorSchemesInput.dark),\n palette: theme.palette\n };\n attachColorScheme(theme, 'light', colorSchemesInput.light);\n }\n return theme;\n }\n if (!palette && !('light' in colorSchemesInput) && defaultColorSchemeInput === 'light') {\n colorSchemesInput.light = true;\n }\n return createThemeWithVars({\n ...rest,\n colorSchemes: colorSchemesInput,\n defaultColorScheme: defaultColorSchemeInput,\n ...(typeof cssVariables !== 'boolean' && cssVariables)\n }, ...args);\n}","'use client';\n\nimport createTheme from \"./createTheme.js\";\nconst defaultTheme = createTheme();\nexport default defaultTheme;","'use client';\n\nimport * as React from 'react';\nimport { useTheme as useThemeSystem } from '@mui/system';\nimport defaultTheme from \"./defaultTheme.js\";\nimport THEME_ID from \"./identifier.js\";\nexport default function useTheme() {\n const theme = useThemeSystem(defaultTheme);\n if (process.env.NODE_ENV !== 'production') {\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(theme);\n }\n return theme[THEME_ID] || theme;\n}","'use client';\n\nimport systemUseThemeProps from '@mui/system/useThemeProps';\nimport defaultTheme from \"./defaultTheme.js\";\nimport THEME_ID from \"./identifier.js\";\nexport default function useThemeProps({\n props,\n name\n}) {\n return systemUseThemeProps({\n props,\n name,\n defaultTheme,\n themeId: THEME_ID\n });\n}","// copied from @mui/system/createStyled\nfunction slotShouldForwardProp(prop) {\n return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';\n}\nexport default slotShouldForwardProp;","import slotShouldForwardProp from \"./slotShouldForwardProp.js\";\nconst rootShouldForwardProp = prop => slotShouldForwardProp(prop) && prop !== 'classes';\nexport default rootShouldForwardProp;","'use client';\n\nimport createStyled from '@mui/system/createStyled';\nimport defaultTheme from \"./defaultTheme.js\";\nimport THEME_ID from \"./identifier.js\";\nimport rootShouldForwardProp from \"./rootShouldForwardProp.js\";\nexport { default as slotShouldForwardProp } from \"./slotShouldForwardProp.js\";\nexport { default as rootShouldForwardProp } from \"./rootShouldForwardProp.js\";\nconst styled = createStyled({\n themeId: THEME_ID,\n defaultTheme,\n rootShouldForwardProp\n});\nexport default styled;","'use client';\n\nimport * as React from 'react';\nimport { ThemeProvider as SystemThemeProvider } from '@mui/system';\nimport THEME_ID from \"./identifier.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function ThemeProviderNoVars({\n theme: themeInput,\n ...props\n}) {\n const scopedTheme = THEME_ID in themeInput ? themeInput[THEME_ID] : undefined;\n return /*#__PURE__*/_jsx(SystemThemeProvider, {\n ...props,\n themeId: scopedTheme ? THEME_ID : undefined,\n theme: scopedTheme || themeInput\n });\n}","import * as React from 'react';\nimport SystemInitColorSchemeScript from '@mui/system/InitColorSchemeScript';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const defaultConfig = {\n attribute: 'data-mui-color-scheme',\n colorSchemeStorageKey: 'mui-color-scheme',\n defaultLightColorScheme: 'light',\n defaultDarkColorScheme: 'dark',\n modeStorageKey: 'mui-mode'\n};\nexport default (function InitColorSchemeScript(props) {\n return /*#__PURE__*/_jsx(SystemInitColorSchemeScript, {\n ...defaultConfig,\n ...props\n });\n});","'use client';\n\nimport * as React from 'react';\nimport styleFunctionSx from '@mui/system/styleFunctionSx';\nimport { unstable_createCssVarsProvider as createCssVarsProvider } from '@mui/system';\nimport createTheme from \"./createTheme.js\";\nimport createTypography from \"./createTypography.js\";\nimport THEME_ID from \"./identifier.js\";\nimport { defaultConfig } from \"../InitColorSchemeScript/InitColorSchemeScript.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst {\n CssVarsProvider: InternalCssVarsProvider,\n useColorScheme,\n getInitColorSchemeScript: deprecatedGetInitColorSchemeScript\n} = createCssVarsProvider({\n themeId: THEME_ID,\n // @ts-ignore ignore module augmentation tests\n theme: () => createTheme({\n cssVariables: true\n }),\n colorSchemeStorageKey: defaultConfig.colorSchemeStorageKey,\n modeStorageKey: defaultConfig.modeStorageKey,\n defaultColorScheme: {\n light: defaultConfig.defaultLightColorScheme,\n dark: defaultConfig.defaultDarkColorScheme\n },\n resolveTheme: theme => {\n const newTheme = {\n ...theme,\n typography: createTypography(theme.palette, theme.typography)\n };\n newTheme.unstable_sx = function sx(props) {\n return styleFunctionSx({\n sx: props,\n theme: this\n });\n };\n return newTheme;\n }\n});\nlet warnedOnce = false;\n\n// TODO: remove in v7\n// eslint-disable-next-line @typescript-eslint/naming-convention\nfunction Experimental_CssVarsProvider(props) {\n if (process.env.NODE_ENV !== 'production') {\n if (!warnedOnce) {\n console.warn(['MUI: The Experimental_CssVarsProvider component has been ported into ThemeProvider.', '', \"You should use `import { ThemeProvider } from '@mui/material/styles'` instead.\", 'For more details, check out https://mui.com/material-ui/customization/css-theme-variables/usage/'].join('\\n'));\n warnedOnce = true;\n }\n }\n return /*#__PURE__*/_jsx(InternalCssVarsProvider, {\n ...props\n });\n}\nlet warnedInitScriptOnce = false;\n\n// TODO: remove in v7\nconst getInitColorSchemeScript = params => {\n if (!warnedInitScriptOnce) {\n console.warn(['MUI: The getInitColorSchemeScript function has been deprecated.', '', \"You should use `import InitColorSchemeScript from '@mui/material/InitColorSchemeScript'`\", 'and replace the function call with `` instead.'].join('\\n'));\n warnedInitScriptOnce = true;\n }\n return deprecatedGetInitColorSchemeScript(params);\n};\n\n/**\n * TODO: remove this export in v7\n * @deprecated\n * The `CssVarsProvider` component has been deprecated and ported into `ThemeProvider`.\n *\n * You should use `ThemeProvider` and `createTheme` instead:\n *\n * ```diff\n * - import { CssVarsProvider, extendTheme } from '@mui/material/styles';\n * + import { ThemeProvider, createTheme } from '@mui/material/styles';\n *\n * - const theme = extendTheme();\n * + const theme = createTheme({\n * + cssVariables: true,\n * + colorSchemes: { light: true, dark: true },\n * + });\n *\n * - \n * + \n * ```\n *\n * To see the full documentation, check out https://mui.com/material-ui/customization/css-theme-variables/usage/.\n */\nexport const CssVarsProvider = InternalCssVarsProvider;\nexport { useColorScheme, getInitColorSchemeScript, Experimental_CssVarsProvider };","'use client';\n\nimport * as React from 'react';\nimport ThemeProviderNoVars from \"./ThemeProviderNoVars.js\";\nimport { CssVarsProvider } from \"./ThemeProviderWithVars.js\";\nimport THEME_ID from \"./identifier.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function ThemeProvider({\n theme,\n ...props\n}) {\n if (typeof theme === 'function') {\n return /*#__PURE__*/_jsx(ThemeProviderNoVars, {\n theme: theme,\n ...props\n });\n }\n const muiTheme = THEME_ID in theme ? theme[THEME_ID] : theme;\n if (!('colorSchemes' in muiTheme)) {\n return /*#__PURE__*/_jsx(ThemeProviderNoVars, {\n theme: theme,\n ...props\n });\n }\n return /*#__PURE__*/_jsx(CssVarsProvider, {\n theme: theme,\n ...props\n });\n}","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { GlobalStyles as SystemGlobalStyles } from '@mui/system';\nimport defaultTheme from \"../styles/defaultTheme.js\";\nimport THEME_ID from \"../styles/identifier.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction GlobalStyles(props) {\n return /*#__PURE__*/_jsx(SystemGlobalStyles, {\n ...props,\n defaultTheme: defaultTheme,\n themeId: THEME_ID\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? GlobalStyles.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The styles you want to apply globally.\n */\n styles: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.array, PropTypes.func, PropTypes.number, PropTypes.object, PropTypes.string, PropTypes.bool])\n} : void 0;\nexport default GlobalStyles;","import * as React from 'react';\nimport { extendSxProp } from '@mui/system/styleFunctionSx';\nimport useTheme from \"../styles/useTheme.js\";\nimport GlobalStyles from \"../GlobalStyles/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport { css, keyframes } from '@mui/system';\nexport { default as styled } from \"../styles/styled.js\";\nexport function globalCss(styles) {\n return function GlobalStylesWrapper(props) {\n return (\n /*#__PURE__*/\n // Pigment CSS `globalCss` support callback with theme inside an object but `GlobalStyles` support theme as a callback value.\n _jsx(GlobalStyles, {\n styles: typeof styles === 'function' ? theme => styles({\n theme,\n ...props\n }) : styles\n })\n );\n };\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function internal_createExtendSxProp() {\n return extendSxProp;\n}\nexport { useTheme };","// We need to pass an argument as `{ theme }` for PigmentCSS, but we don't want to\n// allocate more objects.\nconst arg = {\n theme: undefined\n};\n\n/**\n * Memoize style function on theme.\n * Intended to be used in styled() calls that only need access to the theme.\n */\nexport default function memoTheme(styleFn) {\n let lastValue;\n let lastTheme;\n return props => {\n let value = lastValue;\n if (value === undefined || props.theme !== lastTheme) {\n arg.theme = props.theme;\n value = styleFn(arg);\n lastValue = value;\n lastTheme = props.theme;\n }\n return value;\n };\n}","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport SystemDefaultPropsProvider, { useDefaultProps as useSystemDefaultProps } from '@mui/system/DefaultPropsProvider';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction DefaultPropsProvider(props) {\n return /*#__PURE__*/_jsx(SystemDefaultPropsProvider, {\n ...props\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? DefaultPropsProvider.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n children: PropTypes.node,\n /**\n * @ignore\n */\n value: PropTypes.object.isRequired\n} : void 0;\nexport default DefaultPropsProvider;\nexport function useDefaultProps(params) {\n return useSystemDefaultProps(params);\n}","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getSvgIconUtilityClass(slot) {\n return generateUtilityClass('MuiSvgIcon', slot);\n}\nconst svgIconClasses = generateUtilityClasses('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);\nexport default svgIconClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport capitalize from \"../utils/capitalize.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { getSvgIconUtilityClass } from \"./svgIconClasses.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n color,\n fontSize,\n classes\n } = ownerState;\n const slots = {\n root: ['root', color !== 'inherit' && `color${capitalize(color)}`, `fontSize${capitalize(fontSize)}`]\n };\n return composeClasses(slots, getSvgIconUtilityClass, classes);\n};\nconst SvgIconRoot = styled('svg', {\n name: 'MuiSvgIcon',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.color !== 'inherit' && styles[`color${capitalize(ownerState.color)}`], styles[`fontSize${capitalize(ownerState.fontSize)}`]];\n }\n})(memoTheme(({\n theme\n}) => ({\n userSelect: 'none',\n width: '1em',\n height: '1em',\n display: 'inline-block',\n flexShrink: 0,\n transition: theme.transitions?.create?.('fill', {\n duration: (theme.vars ?? theme).transitions?.duration?.shorter\n }),\n variants: [{\n props: props => !props.hasSvgAsChild,\n style: {\n // the will define the property that has `currentColor`\n // for example heroicons uses fill=\"none\" and stroke=\"currentColor\"\n fill: 'currentColor'\n }\n }, {\n props: {\n fontSize: 'inherit'\n },\n style: {\n fontSize: 'inherit'\n }\n }, {\n props: {\n fontSize: 'small'\n },\n style: {\n fontSize: theme.typography?.pxToRem?.(20) || '1.25rem'\n }\n }, {\n props: {\n fontSize: 'medium'\n },\n style: {\n fontSize: theme.typography?.pxToRem?.(24) || '1.5rem'\n }\n }, {\n props: {\n fontSize: 'large'\n },\n style: {\n fontSize: theme.typography?.pxToRem?.(35) || '2.1875rem'\n }\n },\n // TODO v5 deprecate color prop, v6 remove for sx\n ...Object.entries((theme.vars ?? theme).palette).filter(([, value]) => value && value.main).map(([color]) => ({\n props: {\n color\n },\n style: {\n color: (theme.vars ?? theme).palette?.[color]?.main\n }\n })), {\n props: {\n color: 'action'\n },\n style: {\n color: (theme.vars ?? theme).palette?.action?.active\n }\n }, {\n props: {\n color: 'disabled'\n },\n style: {\n color: (theme.vars ?? theme).palette?.action?.disabled\n }\n }, {\n props: {\n color: 'inherit'\n },\n style: {\n color: undefined\n }\n }]\n})));\nconst SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiSvgIcon'\n });\n const {\n children,\n className,\n color = 'inherit',\n component = 'svg',\n fontSize = 'medium',\n htmlColor,\n inheritViewBox = false,\n titleAccess,\n viewBox = '0 0 24 24',\n ...other\n } = props;\n const hasSvgAsChild = /*#__PURE__*/React.isValidElement(children) && children.type === 'svg';\n const ownerState = {\n ...props,\n color,\n component,\n fontSize,\n instanceFontSize: inProps.fontSize,\n inheritViewBox,\n viewBox,\n hasSvgAsChild\n };\n const more = {};\n if (!inheritViewBox) {\n more.viewBox = viewBox;\n }\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(SvgIconRoot, {\n as: component,\n className: clsx(classes.root, className),\n focusable: \"false\",\n color: htmlColor,\n \"aria-hidden\": titleAccess ? undefined : true,\n role: titleAccess ? 'img' : undefined,\n ref: ref,\n ...more,\n ...other,\n ...(hasSvgAsChild && children.props),\n ownerState: ownerState,\n children: [hasSvgAsChild ? children.props.children : children, titleAccess ? /*#__PURE__*/_jsx(\"title\", {\n children: titleAccess\n }) : null]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? SvgIcon.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Node passed into the SVG element.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * You can use the `htmlColor` prop to apply a color attribute to the SVG element.\n * @default 'inherit'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'action', 'disabled', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.\n * @default 'medium'\n */\n fontSize: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'large', 'medium', 'small']), PropTypes.string]),\n /**\n * Applies a color attribute to the SVG element.\n */\n htmlColor: PropTypes.string,\n /**\n * If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`\n * prop will be ignored.\n * Useful when you want to reference a custom `component` and have `SvgIcon` pass that\n * `component`'s viewBox to the root node.\n * @default false\n */\n inheritViewBox: PropTypes.bool,\n /**\n * The shape-rendering attribute. The behavior of the different options is described on the\n * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).\n * If you are having issues with blurry icons you should investigate this prop.\n */\n shapeRendering: PropTypes.string,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Provides a human-readable title for the element that contains it.\n * https://www.w3.org/TR/SVG-access/#Equivalent\n */\n titleAccess: PropTypes.string,\n /**\n * Allows you to redefine what the coordinates without units mean inside an SVG element.\n * For example, if the SVG element is 500 (width) by 200 (height),\n * and you pass viewBox=\"0 0 50 20\",\n * this means that the coordinates inside the SVG will go from the top left corner (0,0)\n * to bottom right (50,20) and each unit will be worth 10px.\n * @default '0 0 24 24'\n */\n viewBox: PropTypes.string\n} : void 0;\nif (SvgIcon) {\n SvgIcon.muiName = 'SvgIcon';\n}\nexport default SvgIcon;","'use client';\n\nimport * as React from 'react';\nimport SvgIcon from \"../SvgIcon/index.js\";\n\n/**\n * Private module reserved for @mui packages.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function createSvgIcon(path, displayName) {\n function Component(props, ref) {\n return /*#__PURE__*/_jsx(SvgIcon, {\n \"data-testid\": `${displayName}Icon`,\n ref: ref,\n ...props,\n children: path\n });\n }\n if (process.env.NODE_ENV !== 'production') {\n // Need to set `displayName` on the inner component for React.memo.\n // React prior to 16.14 ignores `displayName` on the wrapper.\n Component.displayName = `${displayName}Icon`;\n }\n Component.muiName = SvgIcon.muiName;\n return /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(Component));\n}","function _objectWithoutPropertiesLoose(r, e) {\n if (null == r) return {};\n var t = {};\n for (var n in r) if ({}.hasOwnProperty.call(r, n)) {\n if (e.includes(n)) continue;\n t[n] = r[n];\n }\n return t;\n}\nexport { _objectWithoutPropertiesLoose as default };","function _setPrototypeOf(t, e) {\n return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {\n return t.__proto__ = e, t;\n }, _setPrototypeOf(t, e);\n}\nexport { _setPrototypeOf as default };","import setPrototypeOf from \"./setPrototypeOf.js\";\nfunction _inheritsLoose(t, o) {\n t.prototype = Object.create(o.prototype), t.prototype.constructor = t, setPrototypeOf(t, o);\n}\nexport { _inheritsLoose as default };","export default {\n disabled: false\n};","import React from 'react';\nexport default React.createContext(null);","export var forceReflow = function forceReflow(node) {\n return node.scrollTop;\n};","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport config from './config';\nimport { timeoutsShape } from './utils/PropTypes';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { forceReflow } from './utils/reflow';\nexport var UNMOUNTED = 'unmounted';\nexport var EXITED = 'exited';\nexport var ENTERING = 'entering';\nexport var ENTERED = 'entered';\nexport var EXITING = 'exiting';\n/**\n * The Transition component lets you describe a transition from one component\n * state to another _over time_ with a simple declarative API. Most commonly\n * it's used to animate the mounting and unmounting of a component, but can also\n * be used to describe in-place transition states as well.\n *\n * ---\n *\n * **Note**: `Transition` is a platform-agnostic base component. If you're using\n * transitions in CSS, you'll probably want to use\n * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)\n * instead. It inherits all the features of `Transition`, but contains\n * additional features necessary to play nice with CSS transitions (hence the\n * name of the component).\n *\n * ---\n *\n * By default the `Transition` component does not alter the behavior of the\n * component it renders, it only tracks \"enter\" and \"exit\" states for the\n * components. It's up to you to give meaning and effect to those states. For\n * example we can add styles to a component when it enters or exits:\n *\n * ```jsx\n * import { Transition } from 'react-transition-group';\n *\n * const duration = 300;\n *\n * const defaultStyle = {\n * transition: `opacity ${duration}ms ease-in-out`,\n * opacity: 0,\n * }\n *\n * const transitionStyles = {\n * entering: { opacity: 1 },\n * entered: { opacity: 1 },\n * exiting: { opacity: 0 },\n * exited: { opacity: 0 },\n * };\n *\n * const Fade = ({ in: inProp }) => (\n * \n * {state => (\n *
\n * I'm a fade Transition!\n *
\n * )}\n * \n * );\n * ```\n *\n * There are 4 main states a Transition can be in:\n * - `'entering'`\n * - `'entered'`\n * - `'exiting'`\n * - `'exited'`\n *\n * Transition state is toggled via the `in` prop. When `true` the component\n * begins the \"Enter\" stage. During this stage, the component will shift from\n * its current transition state, to `'entering'` for the duration of the\n * transition and then to the `'entered'` stage once it's complete. Let's take\n * the following example (we'll use the\n * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n *
\n * \n * {state => (\n * // ...\n * )}\n * \n * \n *
\n * );\n * }\n * ```\n *\n * When the button is clicked the component will shift to the `'entering'` state\n * and stay there for 500ms (the value of `timeout`) before it finally switches\n * to `'entered'`.\n *\n * When `in` is `false` the same thing happens except the state moves from\n * `'exiting'` to `'exited'`.\n */\n\nvar Transition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Transition, _React$Component);\n\n function Transition(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n var parentGroup = context; // In the context of a TransitionGroup all enters are really appears\n\n var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;\n var initialStatus;\n _this.appearStatus = null;\n\n if (props.in) {\n if (appear) {\n initialStatus = EXITED;\n _this.appearStatus = ENTERING;\n } else {\n initialStatus = ENTERED;\n }\n } else {\n if (props.unmountOnExit || props.mountOnEnter) {\n initialStatus = UNMOUNTED;\n } else {\n initialStatus = EXITED;\n }\n }\n\n _this.state = {\n status: initialStatus\n };\n _this.nextCallback = null;\n return _this;\n }\n\n Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {\n var nextIn = _ref.in;\n\n if (nextIn && prevState.status === UNMOUNTED) {\n return {\n status: EXITED\n };\n }\n\n return null;\n } // getSnapshotBeforeUpdate(prevProps) {\n // let nextStatus = null\n // if (prevProps !== this.props) {\n // const { status } = this.state\n // if (this.props.in) {\n // if (status !== ENTERING && status !== ENTERED) {\n // nextStatus = ENTERING\n // }\n // } else {\n // if (status === ENTERING || status === ENTERED) {\n // nextStatus = EXITING\n // }\n // }\n // }\n // return { nextStatus }\n // }\n ;\n\n var _proto = Transition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.updateStatus(true, this.appearStatus);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var nextStatus = null;\n\n if (prevProps !== this.props) {\n var status = this.state.status;\n\n if (this.props.in) {\n if (status !== ENTERING && status !== ENTERED) {\n nextStatus = ENTERING;\n }\n } else {\n if (status === ENTERING || status === ENTERED) {\n nextStatus = EXITING;\n }\n }\n }\n\n this.updateStatus(false, nextStatus);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.cancelNextCallback();\n };\n\n _proto.getTimeouts = function getTimeouts() {\n var timeout = this.props.timeout;\n var exit, enter, appear;\n exit = enter = appear = timeout;\n\n if (timeout != null && typeof timeout !== 'number') {\n exit = timeout.exit;\n enter = timeout.enter; // TODO: remove fallback for next major\n\n appear = timeout.appear !== undefined ? timeout.appear : enter;\n }\n\n return {\n exit: exit,\n enter: enter,\n appear: appear\n };\n };\n\n _proto.updateStatus = function updateStatus(mounting, nextStatus) {\n if (mounting === void 0) {\n mounting = false;\n }\n\n if (nextStatus !== null) {\n // nextStatus will always be ENTERING or EXITING.\n this.cancelNextCallback();\n\n if (nextStatus === ENTERING) {\n if (this.props.unmountOnExit || this.props.mountOnEnter) {\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this); // https://github.com/reactjs/react-transition-group/pull/749\n // With unmountOnExit or mountOnEnter, the enter animation should happen at the transition between `exited` and `entering`.\n // To make the animation happen, we have to separate each rendering and avoid being processed as batched.\n\n if (node) forceReflow(node);\n }\n\n this.performEnter(mounting);\n } else {\n this.performExit();\n }\n } else if (this.props.unmountOnExit && this.state.status === EXITED) {\n this.setState({\n status: UNMOUNTED\n });\n }\n };\n\n _proto.performEnter = function performEnter(mounting) {\n var _this2 = this;\n\n var enter = this.props.enter;\n var appearing = this.context ? this.context.isMounting : mounting;\n\n var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM.findDOMNode(this), appearing],\n maybeNode = _ref2[0],\n maybeAppearing = _ref2[1];\n\n var timeouts = this.getTimeouts();\n var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED\n // if we are mounting and running this it means appear _must_ be set\n\n if (!mounting && !enter || config.disabled) {\n this.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode);\n });\n return;\n }\n\n this.props.onEnter(maybeNode, maybeAppearing);\n this.safeSetState({\n status: ENTERING\n }, function () {\n _this2.props.onEntering(maybeNode, maybeAppearing);\n\n _this2.onTransitionEnd(enterTimeout, function () {\n _this2.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode, maybeAppearing);\n });\n });\n });\n };\n\n _proto.performExit = function performExit() {\n var _this3 = this;\n\n var exit = this.props.exit;\n var timeouts = this.getTimeouts();\n var maybeNode = this.props.nodeRef ? undefined : ReactDOM.findDOMNode(this); // no exit animation skip right to EXITED\n\n if (!exit || config.disabled) {\n this.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n return;\n }\n\n this.props.onExit(maybeNode);\n this.safeSetState({\n status: EXITING\n }, function () {\n _this3.props.onExiting(maybeNode);\n\n _this3.onTransitionEnd(timeouts.exit, function () {\n _this3.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n });\n });\n };\n\n _proto.cancelNextCallback = function cancelNextCallback() {\n if (this.nextCallback !== null) {\n this.nextCallback.cancel();\n this.nextCallback = null;\n }\n };\n\n _proto.safeSetState = function safeSetState(nextState, callback) {\n // This shouldn't be necessary, but there are weird race conditions with\n // setState callbacks and unmounting in testing, so always make sure that\n // we can cancel any pending setState callbacks after we unmount.\n callback = this.setNextCallback(callback);\n this.setState(nextState, callback);\n };\n\n _proto.setNextCallback = function setNextCallback(callback) {\n var _this4 = this;\n\n var active = true;\n\n this.nextCallback = function (event) {\n if (active) {\n active = false;\n _this4.nextCallback = null;\n callback(event);\n }\n };\n\n this.nextCallback.cancel = function () {\n active = false;\n };\n\n return this.nextCallback;\n };\n\n _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {\n this.setNextCallback(handler);\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);\n var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;\n\n if (!node || doesNotHaveTimeoutOrListener) {\n setTimeout(this.nextCallback, 0);\n return;\n }\n\n if (this.props.addEndListener) {\n var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],\n maybeNode = _ref3[0],\n maybeNextCallback = _ref3[1];\n\n this.props.addEndListener(maybeNode, maybeNextCallback);\n }\n\n if (timeout != null) {\n setTimeout(this.nextCallback, timeout);\n }\n };\n\n _proto.render = function render() {\n var status = this.state.status;\n\n if (status === UNMOUNTED) {\n return null;\n }\n\n var _this$props = this.props,\n children = _this$props.children,\n _in = _this$props.in,\n _mountOnEnter = _this$props.mountOnEnter,\n _unmountOnExit = _this$props.unmountOnExit,\n _appear = _this$props.appear,\n _enter = _this$props.enter,\n _exit = _this$props.exit,\n _timeout = _this$props.timeout,\n _addEndListener = _this$props.addEndListener,\n _onEnter = _this$props.onEnter,\n _onEntering = _this$props.onEntering,\n _onEntered = _this$props.onEntered,\n _onExit = _this$props.onExit,\n _onExiting = _this$props.onExiting,\n _onExited = _this$props.onExited,\n _nodeRef = _this$props.nodeRef,\n childProps = _objectWithoutPropertiesLoose(_this$props, [\"children\", \"in\", \"mountOnEnter\", \"unmountOnExit\", \"appear\", \"enter\", \"exit\", \"timeout\", \"addEndListener\", \"onEnter\", \"onEntering\", \"onEntered\", \"onExit\", \"onExiting\", \"onExited\", \"nodeRef\"]);\n\n return (\n /*#__PURE__*/\n // allows for nested Transitions\n React.createElement(TransitionGroupContext.Provider, {\n value: null\n }, typeof children === 'function' ? children(status, childProps) : React.cloneElement(React.Children.only(children), childProps))\n );\n };\n\n return Transition;\n}(React.Component);\n\nTransition.contextType = TransitionGroupContext;\nTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * A React reference to DOM element that need to transition:\n * https://stackoverflow.com/a/51127130/4671932\n *\n * - When `nodeRef` prop is used, `node` is not passed to callback functions\n * (e.g. `onEnter`) because user already has direct access to the node.\n * - When changing `key` prop of `Transition` in a `TransitionGroup` a new\n * `nodeRef` need to be provided to `Transition` with changed `key` prop\n * (see\n * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).\n */\n nodeRef: PropTypes.shape({\n current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {\n var value = propValue[key];\n return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);\n }\n }),\n\n /**\n * A `function` child can be used instead of a React element. This function is\n * called with the current transition status (`'entering'`, `'entered'`,\n * `'exiting'`, `'exited'`), which can be used to apply context\n * specific props to a component.\n *\n * ```jsx\n * \n * {state => (\n * \n * )}\n * \n * ```\n */\n children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,\n\n /**\n * Show the component; triggers the enter or exit states\n */\n in: PropTypes.bool,\n\n /**\n * By default the child component is mounted immediately along with\n * the parent `Transition` component. If you want to \"lazy mount\" the component on the\n * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay\n * mounted, even on \"exited\", unless you also specify `unmountOnExit`.\n */\n mountOnEnter: PropTypes.bool,\n\n /**\n * By default the child component stays mounted after it reaches the `'exited'` state.\n * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.\n */\n unmountOnExit: PropTypes.bool,\n\n /**\n * By default the child component does not perform the enter transition when\n * it first mounts, regardless of the value of `in`. If you want this\n * behavior, set both `appear` and `in` to `true`.\n *\n * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop\n * > only adds an additional enter transition. However, in the\n * > `` component that first enter transition does result in\n * > additional `.appear-*` classes, that way you can choose to style it\n * > differently.\n */\n appear: PropTypes.bool,\n\n /**\n * Enable or disable enter transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * Enable or disable exit transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * The duration of the transition, in milliseconds.\n * Required unless `addEndListener` is provided.\n *\n * You may specify a single timeout for all transitions:\n *\n * ```jsx\n * timeout={500}\n * ```\n *\n * or individually:\n *\n * ```jsx\n * timeout={{\n * appear: 500,\n * enter: 300,\n * exit: 500,\n * }}\n * ```\n *\n * - `appear` defaults to the value of `enter`\n * - `enter` defaults to `0`\n * - `exit` defaults to `0`\n *\n * @type {number | { enter?: number, exit?: number, appear?: number }}\n */\n timeout: function timeout(props) {\n var pt = timeoutsShape;\n if (!props.addEndListener) pt = pt.isRequired;\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return pt.apply(void 0, [props].concat(args));\n },\n\n /**\n * Add a custom transition end trigger. Called with the transitioning\n * DOM node and a `done` callback. Allows for more fine grained transition end\n * logic. Timeouts are still used as a fallback if provided.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * ```jsx\n * addEndListener={(node, done) => {\n * // use the css transitionend event to mark the finish of a transition\n * node.addEventListener('transitionend', done, false);\n * }}\n * ```\n */\n addEndListener: PropTypes.func,\n\n /**\n * Callback fired before the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired after the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired after the \"entered\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired before the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired after the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExiting: PropTypes.func,\n\n /**\n * Callback fired after the \"exited\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExited: PropTypes.func\n} : {}; // Name the function so it is clearer in the documentation\n\nfunction noop() {}\n\nTransition.defaultProps = {\n in: false,\n mountOnEnter: false,\n unmountOnExit: false,\n appear: false,\n enter: true,\n exit: true,\n onEnter: noop,\n onEntering: noop,\n onEntered: noop,\n onExit: noop,\n onExiting: noop,\n onExited: noop\n};\nTransition.UNMOUNTED = UNMOUNTED;\nTransition.EXITED = EXITED;\nTransition.ENTERING = ENTERING;\nTransition.ENTERED = ENTERED;\nTransition.EXITING = EXITING;\nexport default Transition;","function _assertThisInitialized(e) {\n if (void 0 === e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return e;\n}\nexport { _assertThisInitialized as default };","import { Children, cloneElement, isValidElement } from 'react';\n/**\n * Given `this.props.children`, return an object mapping key to child.\n *\n * @param {*} children `this.props.children`\n * @return {object} Mapping of key to child\n */\n\nexport function getChildMapping(children, mapFn) {\n var mapper = function mapper(child) {\n return mapFn && isValidElement(child) ? mapFn(child) : child;\n };\n\n var result = Object.create(null);\n if (children) Children.map(children, function (c) {\n return c;\n }).forEach(function (child) {\n // run the map function here instead so that the key is the computed one\n result[child.key] = mapper(child);\n });\n return result;\n}\n/**\n * When you're adding or removing children some may be added or removed in the\n * same render pass. We want to show *both* since we want to simultaneously\n * animate elements in and out. This function takes a previous set of keys\n * and a new set of keys and merges them with its best guess of the correct\n * ordering. In the future we may expose some of the utilities in\n * ReactMultiChild to make this easy, but for now React itself does not\n * directly have this concept of the union of prevChildren and nextChildren\n * so we implement it here.\n *\n * @param {object} prev prev children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @param {object} next next children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @return {object} a key set that contains all keys in `prev` and all keys\n * in `next` in a reasonable order.\n */\n\nexport function mergeChildMappings(prev, next) {\n prev = prev || {};\n next = next || {};\n\n function getValueForKey(key) {\n return key in next ? next[key] : prev[key];\n } // For each key of `next`, the list of keys to insert before that key in\n // the combined list\n\n\n var nextKeysPending = Object.create(null);\n var pendingKeys = [];\n\n for (var prevKey in prev) {\n if (prevKey in next) {\n if (pendingKeys.length) {\n nextKeysPending[prevKey] = pendingKeys;\n pendingKeys = [];\n }\n } else {\n pendingKeys.push(prevKey);\n }\n }\n\n var i;\n var childMapping = {};\n\n for (var nextKey in next) {\n if (nextKeysPending[nextKey]) {\n for (i = 0; i < nextKeysPending[nextKey].length; i++) {\n var pendingNextKey = nextKeysPending[nextKey][i];\n childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);\n }\n }\n\n childMapping[nextKey] = getValueForKey(nextKey);\n } // Finally, add the keys which didn't appear before any key in `next`\n\n\n for (i = 0; i < pendingKeys.length; i++) {\n childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);\n }\n\n return childMapping;\n}\n\nfunction getProp(child, prop, props) {\n return props[prop] != null ? props[prop] : child.props[prop];\n}\n\nexport function getInitialChildMapping(props, onExited) {\n return getChildMapping(props.children, function (child) {\n return cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n appear: getProp(child, 'appear', props),\n enter: getProp(child, 'enter', props),\n exit: getProp(child, 'exit', props)\n });\n });\n}\nexport function getNextChildMapping(nextProps, prevChildMapping, onExited) {\n var nextChildMapping = getChildMapping(nextProps.children);\n var children = mergeChildMappings(prevChildMapping, nextChildMapping);\n Object.keys(children).forEach(function (key) {\n var child = children[key];\n if (!isValidElement(child)) return;\n var hasPrev = (key in prevChildMapping);\n var hasNext = (key in nextChildMapping);\n var prevChild = prevChildMapping[key];\n var isLeaving = isValidElement(prevChild) && !prevChild.props.in; // item is new (entering)\n\n if (hasNext && (!hasPrev || isLeaving)) {\n // console.log('entering', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n } else if (!hasNext && hasPrev && !isLeaving) {\n // item is old (exiting)\n // console.log('leaving', key)\n children[key] = cloneElement(child, {\n in: false\n });\n } else if (hasNext && hasPrev && isValidElement(prevChild)) {\n // item hasn't changed transition states\n // copy over the last transition props;\n // console.log('unchanged', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: prevChild.props.in,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n }\n });\n return children;\n}","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { getChildMapping, getInitialChildMapping, getNextChildMapping } from './utils/ChildMapping';\n\nvar values = Object.values || function (obj) {\n return Object.keys(obj).map(function (k) {\n return obj[k];\n });\n};\n\nvar defaultProps = {\n component: 'div',\n childFactory: function childFactory(child) {\n return child;\n }\n};\n/**\n * The `` component manages a set of transition components\n * (`` and ``) in a list. Like with the transition\n * components, `` is a state machine for managing the mounting\n * and unmounting of components over time.\n *\n * Consider the example below. As items are removed or added to the TodoList the\n * `in` prop is toggled automatically by the ``.\n *\n * Note that `` does not define any animation behavior!\n * Exactly _how_ a list item animates is up to the individual transition\n * component. This means you can mix and match animations across different list\n * items.\n */\n\nvar TransitionGroup = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(TransitionGroup, _React$Component);\n\n function TransitionGroup(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n\n var handleExited = _this.handleExited.bind(_assertThisInitialized(_this)); // Initial children should all be entering, dependent on appear\n\n\n _this.state = {\n contextValue: {\n isMounting: true\n },\n handleExited: handleExited,\n firstRender: true\n };\n return _this;\n }\n\n var _proto = TransitionGroup.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.mounted = true;\n this.setState({\n contextValue: {\n isMounting: false\n }\n });\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.mounted = false;\n };\n\n TransitionGroup.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {\n var prevChildMapping = _ref.children,\n handleExited = _ref.handleExited,\n firstRender = _ref.firstRender;\n return {\n children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),\n firstRender: false\n };\n } // node is `undefined` when user provided `nodeRef` prop\n ;\n\n _proto.handleExited = function handleExited(child, node) {\n var currentChildMapping = getChildMapping(this.props.children);\n if (child.key in currentChildMapping) return;\n\n if (child.props.onExited) {\n child.props.onExited(node);\n }\n\n if (this.mounted) {\n this.setState(function (state) {\n var children = _extends({}, state.children);\n\n delete children[child.key];\n return {\n children: children\n };\n });\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n Component = _this$props.component,\n childFactory = _this$props.childFactory,\n props = _objectWithoutPropertiesLoose(_this$props, [\"component\", \"childFactory\"]);\n\n var contextValue = this.state.contextValue;\n var children = values(this.state.children).map(childFactory);\n delete props.appear;\n delete props.enter;\n delete props.exit;\n\n if (Component === null) {\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, children);\n }\n\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(Component, props, children));\n };\n\n return TransitionGroup;\n}(React.Component);\n\nTransitionGroup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * `` renders a `
` by default. You can change this\n * behavior by providing a `component` prop.\n * If you use React v16+ and would like to avoid a wrapping `
` element\n * you can pass in `component={null}`. This is useful if the wrapping div\n * borks your css styles.\n */\n component: PropTypes.any,\n\n /**\n * A set of `` components, that are toggled `in` and out as they\n * leave. the `` will inject specific transition props, so\n * remember to spread them through if you are wrapping the `` as\n * with our `` example.\n *\n * While this component is meant for multiple `Transition` or `CSSTransition`\n * children, sometimes you may want to have a single transition child with\n * content that you want to be transitioned out and in when you change it\n * (e.g. routes, images etc.) In that case you can change the `key` prop of\n * the transition child as you change its content, this will cause\n * `TransitionGroup` to transition the child out and back in.\n */\n children: PropTypes.node,\n\n /**\n * A convenience prop that enables or disables appear animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n appear: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables enter animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables exit animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * You may need to apply reactive updates to a child as it is exiting.\n * This is generally done by using `cloneElement` however in the case of an exiting\n * child the element has already been removed and not accessible to the consumer.\n *\n * If you do need to update a child as it leaves you can provide a `childFactory`\n * to wrap every child, even the ones that are leaving.\n *\n * @type Function(child: ReactElement) -> ReactElement\n */\n childFactory: PropTypes.func\n} : {};\nTransitionGroup.defaultProps = defaultProps;\nexport default TransitionGroup;","export const reflow = node => node.scrollTop;\nexport function getTransitionProps(props, options) {\n const {\n timeout,\n easing,\n style = {}\n } = props;\n return {\n duration: style.transitionDuration ?? (typeof timeout === 'number' ? timeout : timeout[options.mode] || 0),\n easing: style.transitionTimingFunction ?? (typeof easing === 'object' ? easing[options.mode] : easing),\n delay: style.transitionDelay\n };\n}","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getCollapseUtilityClass(slot) {\n return generateUtilityClass('MuiCollapse', slot);\n}\nconst collapseClasses = generateUtilityClasses('MuiCollapse', ['root', 'horizontal', 'vertical', 'entered', 'hidden', 'wrapper', 'wrapperInner']);\nexport default collapseClasses;","'use client';\n\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport PropTypes from 'prop-types';\nimport { Transition } from 'react-transition-group';\nimport useTimeout from '@mui/utils/useTimeout';\nimport elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { styled, useTheme } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { duration } from \"../styles/createTransitions.js\";\nimport { getTransitionProps } from \"../transitions/utils.js\";\nimport { useForkRef } from \"../utils/index.js\";\nimport { getCollapseUtilityClass } from \"./collapseClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n orientation,\n classes\n } = ownerState;\n const slots = {\n root: ['root', `${orientation}`],\n entered: ['entered'],\n hidden: ['hidden'],\n wrapper: ['wrapper', `${orientation}`],\n wrapperInner: ['wrapperInner', `${orientation}`]\n };\n return composeClasses(slots, getCollapseUtilityClass, classes);\n};\nconst CollapseRoot = styled('div', {\n name: 'MuiCollapse',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[ownerState.orientation], ownerState.state === 'entered' && styles.entered, ownerState.state === 'exited' && !ownerState.in && ownerState.collapsedSize === '0px' && styles.hidden];\n }\n})(memoTheme(({\n theme\n}) => ({\n height: 0,\n overflow: 'hidden',\n transition: theme.transitions.create('height'),\n variants: [{\n props: {\n orientation: 'horizontal'\n },\n style: {\n height: 'auto',\n width: 0,\n transition: theme.transitions.create('width')\n }\n }, {\n props: {\n state: 'entered'\n },\n style: {\n height: 'auto',\n overflow: 'visible'\n }\n }, {\n props: {\n state: 'entered',\n orientation: 'horizontal'\n },\n style: {\n width: 'auto'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.state === 'exited' && !ownerState.in && ownerState.collapsedSize === '0px',\n style: {\n visibility: 'hidden'\n }\n }]\n})));\nconst CollapseWrapper = styled('div', {\n name: 'MuiCollapse',\n slot: 'Wrapper',\n overridesResolver: (props, styles) => styles.wrapper\n})({\n // Hack to get children with a negative margin to not falsify the height computation.\n display: 'flex',\n width: '100%',\n variants: [{\n props: {\n orientation: 'horizontal'\n },\n style: {\n width: 'auto',\n height: '100%'\n }\n }]\n});\nconst CollapseWrapperInner = styled('div', {\n name: 'MuiCollapse',\n slot: 'WrapperInner',\n overridesResolver: (props, styles) => styles.wrapperInner\n})({\n width: '100%',\n variants: [{\n props: {\n orientation: 'horizontal'\n },\n style: {\n width: 'auto',\n height: '100%'\n }\n }]\n});\n\n/**\n * The Collapse transition is used by the\n * [Vertical Stepper](/material-ui/react-stepper/#vertical-stepper) StepContent component.\n * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.\n */\nconst Collapse = /*#__PURE__*/React.forwardRef(function Collapse(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiCollapse'\n });\n const {\n addEndListener,\n children,\n className,\n collapsedSize: collapsedSizeProp = '0px',\n component,\n easing,\n in: inProp,\n onEnter,\n onEntered,\n onEntering,\n onExit,\n onExited,\n onExiting,\n orientation = 'vertical',\n style,\n timeout = duration.standard,\n // eslint-disable-next-line react/prop-types\n TransitionComponent = Transition,\n ...other\n } = props;\n const ownerState = {\n ...props,\n orientation,\n collapsedSize: collapsedSizeProp\n };\n const classes = useUtilityClasses(ownerState);\n const theme = useTheme();\n const timer = useTimeout();\n const wrapperRef = React.useRef(null);\n const autoTransitionDuration = React.useRef();\n const collapsedSize = typeof collapsedSizeProp === 'number' ? `${collapsedSizeProp}px` : collapsedSizeProp;\n const isHorizontal = orientation === 'horizontal';\n const size = isHorizontal ? 'width' : 'height';\n const nodeRef = React.useRef(null);\n const handleRef = useForkRef(ref, nodeRef);\n const normalizedTransitionCallback = callback => maybeIsAppearing => {\n if (callback) {\n const node = nodeRef.current;\n\n // onEnterXxx and onExitXxx callbacks have a different arguments.length value.\n if (maybeIsAppearing === undefined) {\n callback(node);\n } else {\n callback(node, maybeIsAppearing);\n }\n }\n };\n const getWrapperSize = () => wrapperRef.current ? wrapperRef.current[isHorizontal ? 'clientWidth' : 'clientHeight'] : 0;\n const handleEnter = normalizedTransitionCallback((node, isAppearing) => {\n if (wrapperRef.current && isHorizontal) {\n // Set absolute position to get the size of collapsed content\n wrapperRef.current.style.position = 'absolute';\n }\n node.style[size] = collapsedSize;\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n });\n const handleEntering = normalizedTransitionCallback((node, isAppearing) => {\n const wrapperSize = getWrapperSize();\n if (wrapperRef.current && isHorizontal) {\n // After the size is read reset the position back to default\n wrapperRef.current.style.position = '';\n }\n const {\n duration: transitionDuration,\n easing: transitionTimingFunction\n } = getTransitionProps({\n style,\n timeout,\n easing\n }, {\n mode: 'enter'\n });\n if (timeout === 'auto') {\n const duration2 = theme.transitions.getAutoHeightDuration(wrapperSize);\n node.style.transitionDuration = `${duration2}ms`;\n autoTransitionDuration.current = duration2;\n } else {\n node.style.transitionDuration = typeof transitionDuration === 'string' ? transitionDuration : `${transitionDuration}ms`;\n }\n node.style[size] = `${wrapperSize}px`;\n node.style.transitionTimingFunction = transitionTimingFunction;\n if (onEntering) {\n onEntering(node, isAppearing);\n }\n });\n const handleEntered = normalizedTransitionCallback((node, isAppearing) => {\n node.style[size] = 'auto';\n if (onEntered) {\n onEntered(node, isAppearing);\n }\n });\n const handleExit = normalizedTransitionCallback(node => {\n node.style[size] = `${getWrapperSize()}px`;\n if (onExit) {\n onExit(node);\n }\n });\n const handleExited = normalizedTransitionCallback(onExited);\n const handleExiting = normalizedTransitionCallback(node => {\n const wrapperSize = getWrapperSize();\n const {\n duration: transitionDuration,\n easing: transitionTimingFunction\n } = getTransitionProps({\n style,\n timeout,\n easing\n }, {\n mode: 'exit'\n });\n if (timeout === 'auto') {\n // TODO: rename getAutoHeightDuration to something more generic (width support)\n // Actually it just calculates animation duration based on size\n const duration2 = theme.transitions.getAutoHeightDuration(wrapperSize);\n node.style.transitionDuration = `${duration2}ms`;\n autoTransitionDuration.current = duration2;\n } else {\n node.style.transitionDuration = typeof transitionDuration === 'string' ? transitionDuration : `${transitionDuration}ms`;\n }\n node.style[size] = collapsedSize;\n node.style.transitionTimingFunction = transitionTimingFunction;\n if (onExiting) {\n onExiting(node);\n }\n });\n const handleAddEndListener = next => {\n if (timeout === 'auto') {\n timer.start(autoTransitionDuration.current || 0, next);\n }\n if (addEndListener) {\n // Old call signature before `react-transition-group` implemented `nodeRef`\n addEndListener(nodeRef.current, next);\n }\n };\n return /*#__PURE__*/_jsx(TransitionComponent, {\n in: inProp,\n onEnter: handleEnter,\n onEntered: handleEntered,\n onEntering: handleEntering,\n onExit: handleExit,\n onExited: handleExited,\n onExiting: handleExiting,\n addEndListener: handleAddEndListener,\n nodeRef: nodeRef,\n timeout: timeout === 'auto' ? null : timeout,\n ...other,\n children: (state, childProps) => /*#__PURE__*/_jsx(CollapseRoot, {\n as: component,\n className: clsx(classes.root, className, {\n 'entered': classes.entered,\n 'exited': !inProp && collapsedSize === '0px' && classes.hidden\n }[state]),\n style: {\n [isHorizontal ? 'minWidth' : 'minHeight']: collapsedSize,\n ...style\n },\n ref: handleRef,\n ...childProps,\n // `ownerState` is set after `childProps` to override any existing `ownerState` property in `childProps`\n // that might have been forwarded from the Transition component.\n ownerState: {\n ...ownerState,\n state\n },\n children: /*#__PURE__*/_jsx(CollapseWrapper, {\n ownerState: {\n ...ownerState,\n state\n },\n className: classes.wrapper,\n ref: wrapperRef,\n children: /*#__PURE__*/_jsx(CollapseWrapperInner, {\n ownerState: {\n ...ownerState,\n state\n },\n className: classes.wrapperInner,\n children: children\n })\n })\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Collapse.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Add a custom transition end trigger. Called with the transitioning DOM\n * node and a done callback. Allows for more fine grained transition end\n * logic. Note: Timeouts are still used as a fallback if provided.\n */\n addEndListener: PropTypes.func,\n /**\n * The content node to be collapsed.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The width (horizontal) or height (vertical) of the container when collapsed.\n * @default '0px'\n */\n collapsedSize: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: elementTypeAcceptingRef,\n /**\n * The transition timing function.\n * You may specify a single easing or a object containing enter and exit values.\n */\n easing: PropTypes.oneOfType([PropTypes.shape({\n enter: PropTypes.string,\n exit: PropTypes.string\n }), PropTypes.string]),\n /**\n * If `true`, the component will transition in.\n */\n in: PropTypes.bool,\n /**\n * @ignore\n */\n onEnter: PropTypes.func,\n /**\n * @ignore\n */\n onEntered: PropTypes.func,\n /**\n * @ignore\n */\n onEntering: PropTypes.func,\n /**\n * @ignore\n */\n onExit: PropTypes.func,\n /**\n * @ignore\n */\n onExited: PropTypes.func,\n /**\n * @ignore\n */\n onExiting: PropTypes.func,\n /**\n * The transition orientation.\n * @default 'vertical'\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']),\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n *\n * Set to 'auto' to automatically calculate transition time based on height.\n * @default duration.standard\n */\n timeout: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nif (Collapse) {\n Collapse.muiSupportAuto = true;\n}\nexport default Collapse;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getPaperUtilityClass(slot) {\n return generateUtilityClass('MuiPaper', slot);\n}\nconst paperClasses = generateUtilityClasses('MuiPaper', ['root', 'rounded', 'outlined', 'elevation', 'elevation0', 'elevation1', 'elevation2', 'elevation3', 'elevation4', 'elevation5', 'elevation6', 'elevation7', 'elevation8', 'elevation9', 'elevation10', 'elevation11', 'elevation12', 'elevation13', 'elevation14', 'elevation15', 'elevation16', 'elevation17', 'elevation18', 'elevation19', 'elevation20', 'elevation21', 'elevation22', 'elevation23', 'elevation24']);\nexport default paperClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport integerPropType from '@mui/utils/integerPropType';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport { styled, useTheme } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport getOverlayAlpha from \"../styles/getOverlayAlpha.js\";\nimport { getPaperUtilityClass } from \"./paperClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n square,\n elevation,\n variant,\n classes\n } = ownerState;\n const slots = {\n root: ['root', variant, !square && 'rounded', variant === 'elevation' && `elevation${elevation}`]\n };\n return composeClasses(slots, getPaperUtilityClass, classes);\n};\nconst PaperRoot = styled('div', {\n name: 'MuiPaper',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[ownerState.variant], !ownerState.square && styles.rounded, ownerState.variant === 'elevation' && styles[`elevation${ownerState.elevation}`]];\n }\n})(memoTheme(({\n theme\n}) => ({\n backgroundColor: (theme.vars || theme).palette.background.paper,\n color: (theme.vars || theme).palette.text.primary,\n transition: theme.transitions.create('box-shadow'),\n variants: [{\n props: ({\n ownerState\n }) => !ownerState.square,\n style: {\n borderRadius: theme.shape.borderRadius\n }\n }, {\n props: {\n variant: 'outlined'\n },\n style: {\n border: `1px solid ${(theme.vars || theme).palette.divider}`\n }\n }, {\n props: {\n variant: 'elevation'\n },\n style: {\n boxShadow: 'var(--Paper-shadow)',\n backgroundImage: 'var(--Paper-overlay)'\n }\n }]\n})));\nconst Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiPaper'\n });\n const theme = useTheme();\n const {\n className,\n component = 'div',\n elevation = 1,\n square = false,\n variant = 'elevation',\n ...other\n } = props;\n const ownerState = {\n ...props,\n component,\n elevation,\n square,\n variant\n };\n const classes = useUtilityClasses(ownerState);\n if (process.env.NODE_ENV !== 'production') {\n if (theme.shadows[elevation] === undefined) {\n console.error([`MUI: The elevation provided is not available in the theme.`, `Please make sure that \\`theme.shadows[${elevation}]\\` is defined.`].join('\\n'));\n }\n }\n return /*#__PURE__*/_jsx(PaperRoot, {\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref,\n ...other,\n style: {\n ...(variant === 'elevation' && {\n '--Paper-shadow': (theme.vars || theme).shadows[elevation],\n ...(theme.vars && {\n '--Paper-overlay': theme.vars.overlays?.[elevation]\n }),\n ...(!theme.vars && theme.palette.mode === 'dark' && {\n '--Paper-overlay': `linear-gradient(${alpha('#fff', getOverlayAlpha(elevation))}, ${alpha('#fff', getOverlayAlpha(elevation))})`\n })\n }),\n ...other.style\n }\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Paper.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * Shadow depth, corresponds to `dp` in the spec.\n * It accepts values between 0 and 24 inclusive.\n * @default 1\n */\n elevation: chainPropTypes(integerPropType, props => {\n const {\n elevation,\n variant\n } = props;\n if (elevation > 0 && variant === 'outlined') {\n return new Error(`MUI: Combining \\`elevation={${elevation}}\\` with \\`variant=\"${variant}\"\\` has no effect. Either use \\`elevation={0}\\` or use a different \\`variant\\`.`);\n }\n return null;\n }),\n /**\n * If `true`, rounded corners are disabled.\n * @default false\n */\n square: PropTypes.bool,\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The variant to use.\n * @default 'elevation'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['elevation', 'outlined']), PropTypes.string])\n} : void 0;\nexport default Paper;","'use client';\n\nimport useForkRef from '@mui/utils/useForkRef';\nimport appendOwnerState from '@mui/utils/appendOwnerState';\nimport resolveComponentProps from '@mui/utils/resolveComponentProps';\nimport mergeSlotProps from '@mui/utils/mergeSlotProps';\n/**\n * An internal function to create a Material UI slot.\n *\n * This is an advanced version of Base UI `useSlotProps` because Material UI allows leaf component to be customized via `component` prop\n * while Base UI does not need to support leaf component customization.\n *\n * @param {string} name: name of the slot\n * @param {object} parameters\n * @returns {[Slot, slotProps]} The slot's React component and the slot's props\n *\n * Note: the returned slot's props\n * - will never contain `component` prop.\n * - might contain `as` prop.\n */\nexport default function useSlot(\n/**\n * The slot's name. All Material UI components should have `root` slot.\n *\n * If the name is `root`, the logic behaves differently from other slots,\n * e.g. the `externalForwardedProps` are spread to `root` slot but not other slots.\n */\nname, parameters) {\n const {\n className,\n elementType: initialElementType,\n ownerState,\n externalForwardedProps,\n getSlotOwnerState,\n internalForwardedProps,\n ...useSlotPropsParams\n } = parameters;\n const {\n component: rootComponent,\n slots = {\n [name]: undefined\n },\n slotProps = {\n [name]: undefined\n },\n ...other\n } = externalForwardedProps;\n const elementType = slots[name] || initialElementType;\n\n // `slotProps[name]` can be a callback that receives the component's ownerState.\n // `resolvedComponentsProps` is always a plain object.\n const resolvedComponentsProps = resolveComponentProps(slotProps[name], ownerState);\n const {\n props: {\n component: slotComponent,\n ...mergedProps\n },\n internalRef\n } = mergeSlotProps({\n className,\n ...useSlotPropsParams,\n externalForwardedProps: name === 'root' ? other : undefined,\n externalSlotProps: resolvedComponentsProps\n });\n const ref = useForkRef(internalRef, resolvedComponentsProps?.ref, parameters.ref);\n const slotOwnerState = getSlotOwnerState ? getSlotOwnerState(mergedProps) : {};\n const finalOwnerState = {\n ...ownerState,\n ...slotOwnerState\n };\n const LeafComponent = name === 'root' ? slotComponent || rootComponent : slotComponent;\n const props = appendOwnerState(elementType, {\n ...(name === 'root' && !rootComponent && !slots[name] && internalForwardedProps),\n ...(name !== 'root' && !slots[name] && internalForwardedProps),\n ...mergedProps,\n ...(LeafComponent && {\n as: LeafComponent\n }),\n ref\n }, finalOwnerState);\n Object.keys(slotOwnerState).forEach(propName => {\n delete props[propName];\n });\n return [elementType, props];\n}","'use client';\n\nimport * as React from 'react';\nimport useLazyRef from '@mui/utils/useLazyRef';\n/**\n * Lazy initialization container for the Ripple instance. This improves\n * performance by delaying mounting the ripple until it's needed.\n */\nexport class LazyRipple {\n /** React ref to the ripple instance */\n\n /** If the ripple component should be mounted */\n\n /** Promise that resolves when the ripple component is mounted */\n\n /** If the ripple component has been mounted */\n\n /** React state hook setter */\n\n static create() {\n return new LazyRipple();\n }\n static use() {\n /* eslint-disable */\n const ripple = useLazyRef(LazyRipple.create).current;\n const [shouldMount, setShouldMount] = React.useState(false);\n ripple.shouldMount = shouldMount;\n ripple.setShouldMount = setShouldMount;\n React.useEffect(ripple.mountEffect, [shouldMount]);\n /* eslint-enable */\n\n return ripple;\n }\n constructor() {\n this.ref = {\n current: null\n };\n this.mounted = null;\n this.didMount = false;\n this.shouldMount = false;\n this.setShouldMount = null;\n }\n mount() {\n if (!this.mounted) {\n this.mounted = createControlledPromise();\n this.shouldMount = true;\n this.setShouldMount(this.shouldMount);\n }\n return this.mounted;\n }\n mountEffect = () => {\n if (this.shouldMount && !this.didMount) {\n if (this.ref.current !== null) {\n this.didMount = true;\n this.mounted.resolve();\n }\n }\n };\n\n /* Ripple API */\n\n start(...args) {\n this.mount().then(() => this.ref.current?.start(...args));\n }\n stop(...args) {\n this.mount().then(() => this.ref.current?.stop(...args));\n }\n pulsate(...args) {\n this.mount().then(() => this.ref.current?.pulsate(...args));\n }\n}\nexport default function useLazyRipple() {\n return LazyRipple.use();\n}\nfunction createControlledPromise() {\n let resolve;\n let reject;\n const p = new Promise((resolveFn, rejectFn) => {\n resolve = resolveFn;\n reject = rejectFn;\n });\n p.resolve = resolve;\n p.reject = reject;\n return p;\n}","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction Ripple(props) {\n const {\n className,\n classes,\n pulsate = false,\n rippleX,\n rippleY,\n rippleSize,\n in: inProp,\n onExited,\n timeout\n } = props;\n const [leaving, setLeaving] = React.useState(false);\n const rippleClassName = clsx(className, classes.ripple, classes.rippleVisible, pulsate && classes.ripplePulsate);\n const rippleStyles = {\n width: rippleSize,\n height: rippleSize,\n top: -(rippleSize / 2) + rippleY,\n left: -(rippleSize / 2) + rippleX\n };\n const childClassName = clsx(classes.child, leaving && classes.childLeaving, pulsate && classes.childPulsate);\n if (!inProp && !leaving) {\n setLeaving(true);\n }\n React.useEffect(() => {\n if (!inProp && onExited != null) {\n // react-transition-group#onExited\n const timeoutId = setTimeout(onExited, timeout);\n return () => {\n clearTimeout(timeoutId);\n };\n }\n return undefined;\n }, [onExited, inProp, timeout]);\n return /*#__PURE__*/_jsx(\"span\", {\n className: rippleClassName,\n style: rippleStyles,\n children: /*#__PURE__*/_jsx(\"span\", {\n className: childClassName\n })\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? Ripple.propTypes /* remove-proptypes */ = {\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object.isRequired,\n className: PropTypes.string,\n /**\n * @ignore - injected from TransitionGroup\n */\n in: PropTypes.bool,\n /**\n * @ignore - injected from TransitionGroup\n */\n onExited: PropTypes.func,\n /**\n * If `true`, the ripple pulsates, typically indicating the keyboard focus state of an element.\n */\n pulsate: PropTypes.bool,\n /**\n * Diameter of the ripple.\n */\n rippleSize: PropTypes.number,\n /**\n * Horizontal position of the ripple center.\n */\n rippleX: PropTypes.number,\n /**\n * Vertical position of the ripple center.\n */\n rippleY: PropTypes.number,\n /**\n * exit delay\n */\n timeout: PropTypes.number.isRequired\n} : void 0;\nexport default Ripple;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getTouchRippleUtilityClass(slot) {\n return generateUtilityClass('MuiTouchRipple', slot);\n}\nconst touchRippleClasses = generateUtilityClasses('MuiTouchRipple', ['root', 'ripple', 'rippleVisible', 'ripplePulsate', 'child', 'childLeaving', 'childPulsate']);\nexport default touchRippleClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { TransitionGroup } from 'react-transition-group';\nimport clsx from 'clsx';\nimport useTimeout from '@mui/utils/useTimeout';\nimport { keyframes, styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport Ripple from \"./Ripple.js\";\nimport touchRippleClasses from \"./touchRippleClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst DURATION = 550;\nexport const DELAY_RIPPLE = 80;\nconst enterKeyframe = keyframes`\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n`;\nconst exitKeyframe = keyframes`\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n`;\nconst pulsateKeyframe = keyframes`\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n`;\nexport const TouchRippleRoot = styled('span', {\n name: 'MuiTouchRipple',\n slot: 'Root'\n})({\n overflow: 'hidden',\n pointerEvents: 'none',\n position: 'absolute',\n zIndex: 0,\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n borderRadius: 'inherit'\n});\n\n// This `styled()` function invokes keyframes. `styled-components` only supports keyframes\n// in string templates. Do not convert these styles in JS object as it will break.\nexport const TouchRippleRipple = styled(Ripple, {\n name: 'MuiTouchRipple',\n slot: 'Ripple'\n})`\n opacity: 0;\n position: absolute;\n\n &.${touchRippleClasses.rippleVisible} {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ${enterKeyframe};\n animation-duration: ${DURATION}ms;\n animation-timing-function: ${({\n theme\n}) => theme.transitions.easing.easeInOut};\n }\n\n &.${touchRippleClasses.ripplePulsate} {\n animation-duration: ${({\n theme\n}) => theme.transitions.duration.shorter}ms;\n }\n\n & .${touchRippleClasses.child} {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & .${touchRippleClasses.childLeaving} {\n opacity: 0;\n animation-name: ${exitKeyframe};\n animation-duration: ${DURATION}ms;\n animation-timing-function: ${({\n theme\n}) => theme.transitions.easing.easeInOut};\n }\n\n & .${touchRippleClasses.childPulsate} {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ${pulsateKeyframe};\n animation-duration: 2500ms;\n animation-timing-function: ${({\n theme\n}) => theme.transitions.easing.easeInOut};\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n`;\n\n/**\n * @ignore - internal component.\n *\n * TODO v5: Make private\n */\nconst TouchRipple = /*#__PURE__*/React.forwardRef(function TouchRipple(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiTouchRipple'\n });\n const {\n center: centerProp = false,\n classes = {},\n className,\n ...other\n } = props;\n const [ripples, setRipples] = React.useState([]);\n const nextKey = React.useRef(0);\n const rippleCallback = React.useRef(null);\n React.useEffect(() => {\n if (rippleCallback.current) {\n rippleCallback.current();\n rippleCallback.current = null;\n }\n }, [ripples]);\n\n // Used to filter out mouse emulated events on mobile.\n const ignoringMouseDown = React.useRef(false);\n // We use a timer in order to only show the ripples for touch \"click\" like events.\n // We don't want to display the ripple for touch scroll events.\n const startTimer = useTimeout();\n\n // This is the hook called once the previous timeout is ready.\n const startTimerCommit = React.useRef(null);\n const container = React.useRef(null);\n const startCommit = React.useCallback(params => {\n const {\n pulsate,\n rippleX,\n rippleY,\n rippleSize,\n cb\n } = params;\n setRipples(oldRipples => [...oldRipples, /*#__PURE__*/_jsx(TouchRippleRipple, {\n classes: {\n ripple: clsx(classes.ripple, touchRippleClasses.ripple),\n rippleVisible: clsx(classes.rippleVisible, touchRippleClasses.rippleVisible),\n ripplePulsate: clsx(classes.ripplePulsate, touchRippleClasses.ripplePulsate),\n child: clsx(classes.child, touchRippleClasses.child),\n childLeaving: clsx(classes.childLeaving, touchRippleClasses.childLeaving),\n childPulsate: clsx(classes.childPulsate, touchRippleClasses.childPulsate)\n },\n timeout: DURATION,\n pulsate: pulsate,\n rippleX: rippleX,\n rippleY: rippleY,\n rippleSize: rippleSize\n }, nextKey.current)]);\n nextKey.current += 1;\n rippleCallback.current = cb;\n }, [classes]);\n const start = React.useCallback((event = {}, options = {}, cb = () => {}) => {\n const {\n pulsate = false,\n center = centerProp || options.pulsate,\n fakeElement = false // For test purposes\n } = options;\n if (event?.type === 'mousedown' && ignoringMouseDown.current) {\n ignoringMouseDown.current = false;\n return;\n }\n if (event?.type === 'touchstart') {\n ignoringMouseDown.current = true;\n }\n const element = fakeElement ? null : container.current;\n const rect = element ? element.getBoundingClientRect() : {\n width: 0,\n height: 0,\n left: 0,\n top: 0\n };\n\n // Get the size of the ripple\n let rippleX;\n let rippleY;\n let rippleSize;\n if (center || event === undefined || event.clientX === 0 && event.clientY === 0 || !event.clientX && !event.touches) {\n rippleX = Math.round(rect.width / 2);\n rippleY = Math.round(rect.height / 2);\n } else {\n const {\n clientX,\n clientY\n } = event.touches && event.touches.length > 0 ? event.touches[0] : event;\n rippleX = Math.round(clientX - rect.left);\n rippleY = Math.round(clientY - rect.top);\n }\n if (center) {\n rippleSize = Math.sqrt((2 * rect.width ** 2 + rect.height ** 2) / 3);\n\n // For some reason the animation is broken on Mobile Chrome if the size is even.\n if (rippleSize % 2 === 0) {\n rippleSize += 1;\n }\n } else {\n const sizeX = Math.max(Math.abs((element ? element.clientWidth : 0) - rippleX), rippleX) * 2 + 2;\n const sizeY = Math.max(Math.abs((element ? element.clientHeight : 0) - rippleY), rippleY) * 2 + 2;\n rippleSize = Math.sqrt(sizeX ** 2 + sizeY ** 2);\n }\n\n // Touche devices\n if (event?.touches) {\n // check that this isn't another touchstart due to multitouch\n // otherwise we will only clear a single timer when unmounting while two\n // are running\n if (startTimerCommit.current === null) {\n // Prepare the ripple effect.\n startTimerCommit.current = () => {\n startCommit({\n pulsate,\n rippleX,\n rippleY,\n rippleSize,\n cb\n });\n };\n // Delay the execution of the ripple effect.\n // We have to make a tradeoff with this delay value.\n startTimer.start(DELAY_RIPPLE, () => {\n if (startTimerCommit.current) {\n startTimerCommit.current();\n startTimerCommit.current = null;\n }\n });\n }\n } else {\n startCommit({\n pulsate,\n rippleX,\n rippleY,\n rippleSize,\n cb\n });\n }\n }, [centerProp, startCommit, startTimer]);\n const pulsate = React.useCallback(() => {\n start({}, {\n pulsate: true\n });\n }, [start]);\n const stop = React.useCallback((event, cb) => {\n startTimer.clear();\n\n // The touch interaction occurs too quickly.\n // We still want to show ripple effect.\n if (event?.type === 'touchend' && startTimerCommit.current) {\n startTimerCommit.current();\n startTimerCommit.current = null;\n startTimer.start(0, () => {\n stop(event, cb);\n });\n return;\n }\n startTimerCommit.current = null;\n setRipples(oldRipples => {\n if (oldRipples.length > 0) {\n return oldRipples.slice(1);\n }\n return oldRipples;\n });\n rippleCallback.current = cb;\n }, [startTimer]);\n React.useImperativeHandle(ref, () => ({\n pulsate,\n start,\n stop\n }), [pulsate, start, stop]);\n return /*#__PURE__*/_jsx(TouchRippleRoot, {\n className: clsx(touchRippleClasses.root, classes.root, className),\n ref: container,\n ...other,\n children: /*#__PURE__*/_jsx(TransitionGroup, {\n component: null,\n exit: true,\n children: ripples\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? TouchRipple.propTypes /* remove-proptypes */ = {\n /**\n * If `true`, the ripple starts at the center of the component\n * rather than at the point of interaction.\n */\n center: PropTypes.bool,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string\n} : void 0;\nexport default TouchRipple;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getButtonBaseUtilityClass(slot) {\n return generateUtilityClass('MuiButtonBase', slot);\n}\nconst buttonBaseClasses = generateUtilityClasses('MuiButtonBase', ['root', 'disabled', 'focusVisible']);\nexport default buttonBaseClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport refType from '@mui/utils/refType';\nimport elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';\nimport composeClasses from '@mui/utils/composeClasses';\nimport isFocusVisible from '@mui/utils/isFocusVisible';\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport useEventCallback from \"../utils/useEventCallback.js\";\nimport useLazyRipple from \"../useLazyRipple/index.js\";\nimport TouchRipple from \"./TouchRipple.js\";\nimport buttonBaseClasses, { getButtonBaseUtilityClass } from \"./buttonBaseClasses.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n disabled,\n focusVisible,\n focusVisibleClassName,\n classes\n } = ownerState;\n const slots = {\n root: ['root', disabled && 'disabled', focusVisible && 'focusVisible']\n };\n const composedClasses = composeClasses(slots, getButtonBaseUtilityClass, classes);\n if (focusVisible && focusVisibleClassName) {\n composedClasses.root += ` ${focusVisibleClassName}`;\n }\n return composedClasses;\n};\nexport const ButtonBaseRoot = styled('button', {\n name: 'MuiButtonBase',\n slot: 'Root',\n overridesResolver: (props, styles) => styles.root\n})({\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n position: 'relative',\n boxSizing: 'border-box',\n WebkitTapHighlightColor: 'transparent',\n backgroundColor: 'transparent',\n // Reset default value\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n border: 0,\n margin: 0,\n // Remove the margin in Safari\n borderRadius: 0,\n padding: 0,\n // Remove the padding in Firefox\n cursor: 'pointer',\n userSelect: 'none',\n verticalAlign: 'middle',\n MozAppearance: 'none',\n // Reset\n WebkitAppearance: 'none',\n // Reset\n textDecoration: 'none',\n // So we take precedent over the style of a native element.\n color: 'inherit',\n '&::-moz-focus-inner': {\n borderStyle: 'none' // Remove Firefox dotted outline.\n },\n [`&.${buttonBaseClasses.disabled}`]: {\n pointerEvents: 'none',\n // Disable link interactions\n cursor: 'default'\n },\n '@media print': {\n colorAdjust: 'exact'\n }\n});\n\n/**\n * `ButtonBase` contains as few styles as possible.\n * It aims to be a simple building block for creating a button.\n * It contains a load of style reset and some focus/ripple logic.\n */\nconst ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiButtonBase'\n });\n const {\n action,\n centerRipple = false,\n children,\n className,\n component = 'button',\n disabled = false,\n disableRipple = false,\n disableTouchRipple = false,\n focusRipple = false,\n focusVisibleClassName,\n LinkComponent = 'a',\n onBlur,\n onClick,\n onContextMenu,\n onDragLeave,\n onFocus,\n onFocusVisible,\n onKeyDown,\n onKeyUp,\n onMouseDown,\n onMouseLeave,\n onMouseUp,\n onTouchEnd,\n onTouchMove,\n onTouchStart,\n tabIndex = 0,\n TouchRippleProps,\n touchRippleRef,\n type,\n ...other\n } = props;\n const buttonRef = React.useRef(null);\n const ripple = useLazyRipple();\n const handleRippleRef = useForkRef(ripple.ref, touchRippleRef);\n const [focusVisible, setFocusVisible] = React.useState(false);\n if (disabled && focusVisible) {\n setFocusVisible(false);\n }\n React.useImperativeHandle(action, () => ({\n focusVisible: () => {\n setFocusVisible(true);\n buttonRef.current.focus();\n }\n }), []);\n const enableTouchRipple = ripple.shouldMount && !disableRipple && !disabled;\n React.useEffect(() => {\n if (focusVisible && focusRipple && !disableRipple) {\n ripple.pulsate();\n }\n }, [disableRipple, focusRipple, focusVisible, ripple]);\n function useRippleHandler(rippleAction, eventCallback, skipRippleAction = disableTouchRipple) {\n return useEventCallback(event => {\n if (eventCallback) {\n eventCallback(event);\n }\n const ignore = skipRippleAction;\n if (!ignore) {\n ripple[rippleAction](event);\n }\n return true;\n });\n }\n const handleMouseDown = useRippleHandler('start', onMouseDown);\n const handleContextMenu = useRippleHandler('stop', onContextMenu);\n const handleDragLeave = useRippleHandler('stop', onDragLeave);\n const handleMouseUp = useRippleHandler('stop', onMouseUp);\n const handleMouseLeave = useRippleHandler('stop', event => {\n if (focusVisible) {\n event.preventDefault();\n }\n if (onMouseLeave) {\n onMouseLeave(event);\n }\n });\n const handleTouchStart = useRippleHandler('start', onTouchStart);\n const handleTouchEnd = useRippleHandler('stop', onTouchEnd);\n const handleTouchMove = useRippleHandler('stop', onTouchMove);\n const handleBlur = useRippleHandler('stop', event => {\n if (!isFocusVisible(event.target)) {\n setFocusVisible(false);\n }\n if (onBlur) {\n onBlur(event);\n }\n }, false);\n const handleFocus = useEventCallback(event => {\n // Fix for https://github.com/facebook/react/issues/7769\n if (!buttonRef.current) {\n buttonRef.current = event.currentTarget;\n }\n if (isFocusVisible(event.target)) {\n setFocusVisible(true);\n if (onFocusVisible) {\n onFocusVisible(event);\n }\n }\n if (onFocus) {\n onFocus(event);\n }\n });\n const isNonNativeButton = () => {\n const button = buttonRef.current;\n return component && component !== 'button' && !(button.tagName === 'A' && button.href);\n };\n const handleKeyDown = useEventCallback(event => {\n // Check if key is already down to avoid repeats being counted as multiple activations\n if (focusRipple && !event.repeat && focusVisible && event.key === ' ') {\n ripple.stop(event, () => {\n ripple.start(event);\n });\n }\n if (event.target === event.currentTarget && isNonNativeButton() && event.key === ' ') {\n event.preventDefault();\n }\n if (onKeyDown) {\n onKeyDown(event);\n }\n\n // Keyboard accessibility for non interactive elements\n if (event.target === event.currentTarget && isNonNativeButton() && event.key === 'Enter' && !disabled) {\n event.preventDefault();\n if (onClick) {\n onClick(event);\n }\n }\n });\n const handleKeyUp = useEventCallback(event => {\n // calling preventDefault in keyUp on a \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\tendAdornment: (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n}\n\nexport default YorkieIntelligenceFeature;\n","import { Button, Modal, ModalProps, Paper, Stack, Typography } from \"@mui/material\";\n\ninterface CloseIntelligenceModalProps extends Omit {\n\tonCloseIntelligence: () => void;\n}\n\nfunction CloseIntelligenceModal(props: CloseIntelligenceModalProps) {\n\tconst { onCloseIntelligence, ...modalProps } = props;\n\n\tconst handleCloseModal = () => {\n\t\tmodalProps?.onClose?.(new Event(\"Close Modal\"), \"escapeKeyDown\");\n\t};\n\n\tconst handleDiscard = () => {\n\t\tonCloseIntelligence();\n\t\thandleCloseModal();\n\t};\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\"yorkie\"\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tDo you want to discard\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\tthe Yorkie response?\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\n\t\t
\n\t);\n}\n\nexport default CloseIntelligenceModal;\n","import { Box, Card, Popover, useTheme } from \"@mui/material\";\nimport YorkieIntelligenceFeatureList from \"./YorkieIntelligenceFeatureList\";\nimport { useEffect, useMemo, useRef, useState } from \"react\";\nimport YorkieIntelligenceFeature from \"./YorkieIntelligenceFeature\";\nimport { useSelector } from \"react-redux\";\nimport { selectEditor } from \"../../store/editorSlice\";\nimport CloseIntelligenceModal from \"../modals/CloseIntelligenceModal\";\n\ninterface YorkieIntelligenceFooterProps {\n\tonClose: () => void;\n}\n\nfunction YorkieIntelligenceFooter(props: YorkieIntelligenceFooterProps) {\n\tconst { onClose } = props;\n\tconst theme = useTheme();\n\tconst editorStore = useSelector(selectEditor);\n\tconst anchorRef = useRef(null);\n\tconst [selectedTitle, setSelectedTitle] = useState(null);\n\tconst [selectedFeature, setSelectedFeature] = useState(null);\n\tconst [anchorEl, setAnchorEl] = useState();\n\tconst [closeModalOpen, setCloseModalOpen] = useState(false);\n\tconst cardRef = useRef(null);\n\n\tconst width = useMemo(\n\t\t() => editorStore.cmView!.contentDOM.getBoundingClientRect().width - 12,\n\t\t[editorStore.cmView]\n\t);\n\n\tuseEffect(() => {\n\t\tif (!anchorRef.current) return;\n\n\t\tsetAnchorEl(anchorRef.current);\n\n\t\treturn () => {\n\t\t\tsetAnchorEl(undefined);\n\t\t};\n\t}, []);\n\n\tconst handleSelectFeature = (feature: string, title: string) => {\n\t\tsetSelectedFeature(feature);\n\t\tsetSelectedTitle(title);\n\t};\n\n\tconst handleCloseModalOpen = () => {\n\t\tsetCloseModalOpen((prev) => !prev);\n\t};\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{selectedFeature && selectedTitle ? (\n\t\t\t\t\t\t\n\t\t\t\t\t) : (\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t);\n}\n\nexport default YorkieIntelligenceFooter;\n","import { Button, Typography } from \"@mui/material\";\nimport { useEffect, useState } from \"react\";\nimport { createPortal } from \"react-dom\";\nimport { INTELLIGENCE_FOOTER_ID } from \"../../constants/intelligence\";\nimport YorkieIntelligenceFooter from \"./YorkieIntelligenceFooter\";\nimport { useSelector } from \"react-redux\";\nimport { selectSetting } from \"../../store/settingSlice\";\n\nfunction YorkieIntelligence() {\n\tconst [footerOpen, setFooterOpen] = useState(false);\n\tconst [intelligenceFooterPivot, setIntelligenceFooterPivot] = useState(null);\n\n\tconst { yorkieIntelligence } = useSelector(selectSetting);\n\n\tuseEffect(() => {\n\t\t// initialize intelligence footer pivot\n\t\tconst intelligenceFooterPivot = document.getElementById(INTELLIGENCE_FOOTER_ID);\n\t\tsetIntelligenceFooterPivot(intelligenceFooterPivot);\n\n\t\tdocument.addEventListener(\"selectionchange\", function () {\n\t\t\t// If changed selection (ex : text formatting), update the intelligence footer pivot\n\t\t\tconst intelligenceFooterPivot = document.getElementById(INTELLIGENCE_FOOTER_ID);\n\t\t\tsetIntelligenceFooterPivot(intelligenceFooterPivot);\n\t\t});\n\t}, []);\n\n\tconst handleFooterOpen = () => {\n\t\tsetFooterOpen((prev) => !prev);\n\t};\n\n\tif (!intelligenceFooterPivot) return;\n\n\treturn (\n\t\t<>\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\tYorkie Intelligence\n\t\t\t\t\n\t\t\t\n\n\t\t\t{footerOpen &&\n\t\t\t\tcreatePortal(\n\t\t\t\t\t,\n\t\t\t\t\tintelligenceFooterPivot\n\t\t\t\t)}\n\t\t\n\t);\n}\n\nexport default YorkieIntelligence;\n","import { Popover, ToggleButtonGroup, Divider, Stack, Fade } from \"@mui/material\";\nimport TooltipToggleButton from \"../common/TooltipToggleButton\";\nimport { ToolBarState, useFormatUtils, FormatType } from \"../../hooks/useFormatUtils\";\nimport YorkieIntelligence from \"./YorkieIntelligence\";\nimport { useDebounce } from \"react-use\";\nimport { useState } from \"react\";\n\ninterface ToolBarProps {\n\ttoolBarState: ToolBarState;\n\tonChangeToolBarState: React.Dispatch>;\n}\n\nfunction ToolBar({\n\ttoolBarState: { show: showToolBar, position: formatBarPosition, selectedFormats },\n\tonChangeToolBarState,\n}: ToolBarProps) {\n\tconst { toggleButtonChangeHandler } = useFormatUtils();\n\tconst [debouncedShowToolBar, setDebouncedShowToolBar] = useState(null);\n\n\tuseDebounce(\n\t\t() => {\n\t\t\tsetDebouncedShowToolBar(showToolBar);\n\t\t},\n\t\t500,\n\t\t[showToolBar]\n\t);\n\n\tif (!debouncedShowToolBar) return;\n\n\treturn (\n\t\t onChangeToolBarState((prev) => ({ ...prev, show: false }))}\n\t\t\tanchorOrigin={{\n\t\t\t\tvertical: \"top\",\n\t\t\t\thorizontal: \"left\",\n\t\t\t}}\n\t\t\ttransformOrigin={{\n\t\t\t\tvertical: \"bottom\",\n\t\t\t\thorizontal: \"left\",\n\t\t\t}}\n\t\t\tdisableAutoFocus\n\t\t\tTransitionComponent={Fade}\n\t\t\tTransitionProps={{ timeout: 300 }}\n\t\t>\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\ti\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tB\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t~\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{\"\"}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n}\n\nexport default ToolBar;\n","import { markdown } from \"@codemirror/lang-markdown\";\nimport { EditorState } from \"@codemirror/state\";\nimport { keymap } from \"@codemirror/view\";\nimport { vim } from \"@replit/codemirror-vim\";\nimport { basicSetup } from \"@uiw/codemirror-extensions-basic-setup\";\nimport { xcodeDark, xcodeLight } from \"@uiw/codemirror-theme-xcode\";\nimport { EditorView } from \"codemirror\";\nimport { useCallback, useEffect, useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { ScrollSyncPane } from \"react-scroll-sync\";\nimport { useCreateUploadUrlMutation, useUploadFileMutation } from \"../../hooks/api/file\";\nimport { useCurrentTheme } from \"../../hooks/useCurrentTheme\";\nimport { useFormatUtils } from \"../../hooks/useFormatUtils\";\nimport { useToolBar } from \"../../hooks/useToolBar\";\nimport { CodeKeyType, selectConfig } from \"../../store/configSlice\";\nimport { selectEditor, setCmView } from \"../../store/editorSlice\";\nimport { selectSetting } from \"../../store/settingSlice\";\nimport { selectWorkspace } from \"../../store/workspaceSlice\";\nimport { imageUploader } from \"../../utils/imageUploader\";\nimport { intelligencePivot } from \"../../utils/intelligence/intelligencePivot\";\nimport { urlHyperlinkInserter } from \"../../utils/urlHyperlinkInserter\";\nimport { yorkieCodeMirror } from \"../../utils/yorkie\";\nimport EditorBottomBar, { BOTTOM_BAR_HEIGHT } from \"./EditorBottomBar\";\nimport ToolBar from \"./ToolBar\";\n\ninterface EditorProps {\n\twidth: number | string;\n}\n\nfunction Editor(props: EditorProps) {\n\tconst { width } = props;\n\tconst dispatch = useDispatch();\n\tconst themeMode = useCurrentTheme();\n\tconst [element, setElement] = useState();\n\tconst editorStore = useSelector(selectEditor);\n\tconst configStore = useSelector(selectConfig);\n\tconst settingStore = useSelector(selectSetting);\n\tconst workspaceStore = useSelector(selectWorkspace);\n\tconst { mutateAsync: createUploadUrl } = useCreateUploadUrlMutation();\n\tconst { mutateAsync: uploadFile } = useUploadFileMutation();\n\tconst { applyFormat, setKeymapConfig } = useFormatUtils();\n\tconst { toolBarState, setToolBarState, updateFormatBar } = useToolBar();\n\n\tconst ref = useCallback((node: HTMLElement | null) => {\n\t\tif (!node) return;\n\t\tsetElement(node);\n\t}, []);\n\n\tuseEffect(() => {\n\t\tif (\n\t\t\t!element ||\n\t\t\t!editorStore.doc ||\n\t\t\t!editorStore.client ||\n\t\t\ttypeof settingStore.fileUpload?.enable !== \"boolean\"\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst handleUploadImage = async (file: File) => {\n\t\t\tif (!workspaceStore.data) return \"\";\n\n\t\t\tconst uploadUrlData = await createUploadUrl({\n\t\t\t\tworkspaceId: workspaceStore.data.id,\n\t\t\t\tcontentLength: new Blob([file]).size,\n\t\t\t\tcontentType: file.type,\n\t\t\t});\n\n\t\t\tawait uploadFile({ ...uploadUrlData, file });\n\n\t\t\treturn `${import.meta.env.VITE_API_ADDR}/files/${uploadUrlData.fileKey}`;\n\t\t};\n\n\t\tconst state = EditorState.create({\n\t\t\tdoc: editorStore.doc.getRoot().content?.toString() ?? \"\",\n\t\t\textensions: [\n\t\t\t\tconfigStore.codeKey === CodeKeyType.VIM ? vim() : [],\n\t\t\t\tkeymap.of(setKeymapConfig()),\n\t\t\t\tbasicSetup({ highlightSelectionMatches: false }),\n\t\t\t\tmarkdown(),\n\t\t\t\tthemeMode === \"light\" ? xcodeLight : xcodeDark,\n\t\t\t\tEditorView.theme({ \"&\": { width: \"100%\" } }),\n\t\t\t\tEditorView.lineWrapping,\n\t\t\t\tEditorView.updateListener.of((update) => {\n\t\t\t\t\tif (update.selectionSet) {\n\t\t\t\t\t\tupdateFormatBar(update);\n\t\t\t\t\t}\n\t\t\t\t}),\n\t\t\t\tyorkieCodeMirror(editorStore.doc, editorStore.client),\n\t\t\t\tintelligencePivot,\n\t\t\t\t...(settingStore.fileUpload.enable\n\t\t\t\t\t? [imageUploader(handleUploadImage, editorStore.doc)]\n\t\t\t\t\t: []),\n\t\t\t\turlHyperlinkInserter(editorStore.doc),\n\t\t\t],\n\t\t});\n\n\t\tconst view = new EditorView({ state, parent: element });\n\t\tdispatch(setCmView(view));\n\n\t\treturn () => {\n\t\t\tview?.destroy();\n\t\t};\n\t}, [\n\t\telement,\n\t\teditorStore.client,\n\t\teditorStore.doc,\n\t\tconfigStore.codeKey,\n\t\tthemeMode,\n\t\tworkspaceStore.data,\n\t\tsettingStore.fileUpload?.enable,\n\t\tdispatch,\n\t\tcreateUploadUrl,\n\t\tuploadFile,\n\t\tapplyFormat,\n\t\tupdateFormatBar,\n\t\tsetKeymapConfig,\n\t]);\n\n\treturn (\n\t\t<>\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t{Boolean(toolBarState.show) && (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\t\n\t\t\n\t);\n}\n\nexport default Editor;\n","/* eslint-disable no-bitwise */\n\nconst decodeCache = {}\n\nfunction getDecodeCache (exclude) {\n let cache = decodeCache[exclude]\n if (cache) { return cache }\n\n cache = decodeCache[exclude] = []\n\n for (let i = 0; i < 128; i++) {\n const ch = String.fromCharCode(i)\n cache.push(ch)\n }\n\n for (let i = 0; i < exclude.length; i++) {\n const ch = exclude.charCodeAt(i)\n cache[ch] = '%' + ('0' + ch.toString(16).toUpperCase()).slice(-2)\n }\n\n return cache\n}\n\n// Decode percent-encoded string.\n//\nfunction decode (string, exclude) {\n if (typeof exclude !== 'string') {\n exclude = decode.defaultChars\n }\n\n const cache = getDecodeCache(exclude)\n\n return string.replace(/(%[a-f0-9]{2})+/gi, function (seq) {\n let result = ''\n\n for (let i = 0, l = seq.length; i < l; i += 3) {\n const b1 = parseInt(seq.slice(i + 1, i + 3), 16)\n\n if (b1 < 0x80) {\n result += cache[b1]\n continue\n }\n\n if ((b1 & 0xE0) === 0xC0 && (i + 3 < l)) {\n // 110xxxxx 10xxxxxx\n const b2 = parseInt(seq.slice(i + 4, i + 6), 16)\n\n if ((b2 & 0xC0) === 0x80) {\n const chr = ((b1 << 6) & 0x7C0) | (b2 & 0x3F)\n\n if (chr < 0x80) {\n result += '\\ufffd\\ufffd'\n } else {\n result += String.fromCharCode(chr)\n }\n\n i += 3\n continue\n }\n }\n\n if ((b1 & 0xF0) === 0xE0 && (i + 6 < l)) {\n // 1110xxxx 10xxxxxx 10xxxxxx\n const b2 = parseInt(seq.slice(i + 4, i + 6), 16)\n const b3 = parseInt(seq.slice(i + 7, i + 9), 16)\n\n if ((b2 & 0xC0) === 0x80 && (b3 & 0xC0) === 0x80) {\n const chr = ((b1 << 12) & 0xF000) | ((b2 << 6) & 0xFC0) | (b3 & 0x3F)\n\n if (chr < 0x800 || (chr >= 0xD800 && chr <= 0xDFFF)) {\n result += '\\ufffd\\ufffd\\ufffd'\n } else {\n result += String.fromCharCode(chr)\n }\n\n i += 6\n continue\n }\n }\n\n if ((b1 & 0xF8) === 0xF0 && (i + 9 < l)) {\n // 111110xx 10xxxxxx 10xxxxxx 10xxxxxx\n const b2 = parseInt(seq.slice(i + 4, i + 6), 16)\n const b3 = parseInt(seq.slice(i + 7, i + 9), 16)\n const b4 = parseInt(seq.slice(i + 10, i + 12), 16)\n\n if ((b2 & 0xC0) === 0x80 && (b3 & 0xC0) === 0x80 && (b4 & 0xC0) === 0x80) {\n let chr = ((b1 << 18) & 0x1C0000) | ((b2 << 12) & 0x3F000) | ((b3 << 6) & 0xFC0) | (b4 & 0x3F)\n\n if (chr < 0x10000 || chr > 0x10FFFF) {\n result += '\\ufffd\\ufffd\\ufffd\\ufffd'\n } else {\n chr -= 0x10000\n result += String.fromCharCode(0xD800 + (chr >> 10), 0xDC00 + (chr & 0x3FF))\n }\n\n i += 9\n continue\n }\n }\n\n result += '\\ufffd'\n }\n\n return result\n })\n}\n\ndecode.defaultChars = ';/?:@&=+$,#'\ndecode.componentChars = ''\n\nexport default decode\n","const encodeCache = {}\n\n// Create a lookup array where anything but characters in `chars` string\n// and alphanumeric chars is percent-encoded.\n//\nfunction getEncodeCache (exclude) {\n let cache = encodeCache[exclude]\n if (cache) { return cache }\n\n cache = encodeCache[exclude] = []\n\n for (let i = 0; i < 128; i++) {\n const ch = String.fromCharCode(i)\n\n if (/^[0-9a-z]$/i.test(ch)) {\n // always allow unencoded alphanumeric characters\n cache.push(ch)\n } else {\n cache.push('%' + ('0' + i.toString(16).toUpperCase()).slice(-2))\n }\n }\n\n for (let i = 0; i < exclude.length; i++) {\n cache[exclude.charCodeAt(i)] = exclude[i]\n }\n\n return cache\n}\n\n// Encode unsafe characters with percent-encoding, skipping already\n// encoded sequences.\n//\n// - string - string to encode\n// - exclude - list of characters to ignore (in addition to a-zA-Z0-9)\n// - keepEscaped - don't encode '%' in a correct escape sequence (default: true)\n//\nfunction encode (string, exclude, keepEscaped) {\n if (typeof exclude !== 'string') {\n // encode(string, keepEscaped)\n keepEscaped = exclude\n exclude = encode.defaultChars\n }\n\n if (typeof keepEscaped === 'undefined') {\n keepEscaped = true\n }\n\n const cache = getEncodeCache(exclude)\n let result = ''\n\n for (let i = 0, l = string.length; i < l; i++) {\n const code = string.charCodeAt(i)\n\n if (keepEscaped && code === 0x25 /* % */ && i + 2 < l) {\n if (/^[0-9a-f]{2}$/i.test(string.slice(i + 1, i + 3))) {\n result += string.slice(i, i + 3)\n i += 2\n continue\n }\n }\n\n if (code < 128) {\n result += cache[code]\n continue\n }\n\n if (code >= 0xD800 && code <= 0xDFFF) {\n if (code >= 0xD800 && code <= 0xDBFF && i + 1 < l) {\n const nextCode = string.charCodeAt(i + 1)\n if (nextCode >= 0xDC00 && nextCode <= 0xDFFF) {\n result += encodeURIComponent(string[i] + string[i + 1])\n i++\n continue\n }\n }\n result += '%EF%BF%BD'\n continue\n }\n\n result += encodeURIComponent(string[i])\n }\n\n return result\n}\n\nencode.defaultChars = \";/?:@&=+$,-_.!~*'()#\"\nencode.componentChars = \"-_.!~*'()\"\n\nexport default encode\n","export default function format (url) {\n let result = ''\n\n result += url.protocol || ''\n result += url.slashes ? '//' : ''\n result += url.auth ? url.auth + '@' : ''\n\n if (url.hostname && url.hostname.indexOf(':') !== -1) {\n // ipv6 address\n result += '[' + url.hostname + ']'\n } else {\n result += url.hostname || ''\n }\n\n result += url.port ? ':' + url.port : ''\n result += url.pathname || ''\n result += url.search || ''\n result += url.hash || ''\n\n return result\n};\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n//\n// Changes from joyent/node:\n//\n// 1. No leading slash in paths,\n// e.g. in `url.parse('http://foo?bar')` pathname is ``, not `/`\n//\n// 2. Backslashes are not replaced with slashes,\n// so `http:\\\\example.org\\` is treated like a relative path\n//\n// 3. Trailing colon is treated like a part of the path,\n// i.e. in `http://example.org:foo` pathname is `:foo`\n//\n// 4. Nothing is URL-encoded in the resulting object,\n// (in joyent/node some chars in auth and paths are encoded)\n//\n// 5. `url.parse()` does not have `parseQueryString` argument\n//\n// 6. Removed extraneous result properties: `host`, `path`, `query`, etc.,\n// which can be constructed using other parts of the url.\n//\n\nfunction Url () {\n this.protocol = null\n this.slashes = null\n this.auth = null\n this.port = null\n this.hostname = null\n this.hash = null\n this.search = null\n this.pathname = null\n}\n\n// Reference: RFC 3986, RFC 1808, RFC 2396\n\n// define these here so at least they only have to be\n// compiled once on the first module load.\nconst protocolPattern = /^([a-z0-9.+-]+:)/i\nconst portPattern = /:[0-9]*$/\n\n// Special case for a simple path URL\n/* eslint-disable-next-line no-useless-escape */\nconst simplePathPattern = /^(\\/\\/?(?!\\/)[^\\?\\s]*)(\\?[^\\s]*)?$/\n\n// RFC 2396: characters reserved for delimiting URLs.\n// We actually just auto-escape these.\nconst delims = ['<', '>', '\"', '`', ' ', '\\r', '\\n', '\\t']\n\n// RFC 2396: characters not allowed for various reasons.\nconst unwise = ['{', '}', '|', '\\\\', '^', '`'].concat(delims)\n\n// Allowed by RFCs, but cause of XSS attacks. Always escape these.\nconst autoEscape = ['\\''].concat(unwise)\n// Characters that are never ever allowed in a hostname.\n// Note that any invalid chars are also handled, but these\n// are the ones that are *expected* to be seen, so we fast-path\n// them.\nconst nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape)\nconst hostEndingChars = ['/', '?', '#']\nconst hostnameMaxLen = 255\nconst hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/\nconst hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/\n// protocols that can allow \"unsafe\" and \"unwise\" chars.\n// protocols that never have a hostname.\nconst hostlessProtocol = {\n javascript: true,\n 'javascript:': true\n}\n// protocols that always contain a // bit.\nconst slashedProtocol = {\n http: true,\n https: true,\n ftp: true,\n gopher: true,\n file: true,\n 'http:': true,\n 'https:': true,\n 'ftp:': true,\n 'gopher:': true,\n 'file:': true\n}\n\nfunction urlParse (url, slashesDenoteHost) {\n if (url && url instanceof Url) return url\n\n const u = new Url()\n u.parse(url, slashesDenoteHost)\n return u\n}\n\nUrl.prototype.parse = function (url, slashesDenoteHost) {\n let lowerProto, hec, slashes\n let rest = url\n\n // trim before proceeding.\n // This is to support parse stuff like \" http://foo.com \\n\"\n rest = rest.trim()\n\n if (!slashesDenoteHost && url.split('#').length === 1) {\n // Try fast path regexp\n const simplePath = simplePathPattern.exec(rest)\n if (simplePath) {\n this.pathname = simplePath[1]\n if (simplePath[2]) {\n this.search = simplePath[2]\n }\n return this\n }\n }\n\n let proto = protocolPattern.exec(rest)\n if (proto) {\n proto = proto[0]\n lowerProto = proto.toLowerCase()\n this.protocol = proto\n rest = rest.substr(proto.length)\n }\n\n // figure out if it's got a host\n // user@server is *always* interpreted as a hostname, and url\n // resolution will treat //foo/bar as host=foo,path=bar because that's\n // how the browser resolves relative URLs.\n /* eslint-disable-next-line no-useless-escape */\n if (slashesDenoteHost || proto || rest.match(/^\\/\\/[^@\\/]+@[^@\\/]+/)) {\n slashes = rest.substr(0, 2) === '//'\n if (slashes && !(proto && hostlessProtocol[proto])) {\n rest = rest.substr(2)\n this.slashes = true\n }\n }\n\n if (!hostlessProtocol[proto] &&\n (slashes || (proto && !slashedProtocol[proto]))) {\n // there's a hostname.\n // the first instance of /, ?, ;, or # ends the host.\n //\n // If there is an @ in the hostname, then non-host chars *are* allowed\n // to the left of the last @ sign, unless some host-ending character\n // comes *before* the @-sign.\n // URLs are obnoxious.\n //\n // ex:\n // http://a@b@c/ => user:a@b host:c\n // http://a@b?@c => user:a host:c path:/?@c\n\n // v0.12 TODO(isaacs): This is not quite how Chrome does things.\n // Review our test case against browsers more comprehensively.\n\n // find the first instance of any hostEndingChars\n let hostEnd = -1\n for (let i = 0; i < hostEndingChars.length; i++) {\n hec = rest.indexOf(hostEndingChars[i])\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) {\n hostEnd = hec\n }\n }\n\n // at this point, either we have an explicit point where the\n // auth portion cannot go past, or the last @ char is the decider.\n let auth, atSign\n if (hostEnd === -1) {\n // atSign can be anywhere.\n atSign = rest.lastIndexOf('@')\n } else {\n // atSign must be in auth portion.\n // http://a@b/c@d => host:b auth:a path:/c@d\n atSign = rest.lastIndexOf('@', hostEnd)\n }\n\n // Now we have a portion which is definitely the auth.\n // Pull that off.\n if (atSign !== -1) {\n auth = rest.slice(0, atSign)\n rest = rest.slice(atSign + 1)\n this.auth = auth\n }\n\n // the host is the remaining to the left of the first non-host char\n hostEnd = -1\n for (let i = 0; i < nonHostChars.length; i++) {\n hec = rest.indexOf(nonHostChars[i])\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) {\n hostEnd = hec\n }\n }\n // if we still have not hit it, then the entire thing is a host.\n if (hostEnd === -1) {\n hostEnd = rest.length\n }\n\n if (rest[hostEnd - 1] === ':') { hostEnd-- }\n const host = rest.slice(0, hostEnd)\n rest = rest.slice(hostEnd)\n\n // pull out port.\n this.parseHost(host)\n\n // we've indicated that there is a hostname,\n // so even if it's empty, it has to be present.\n this.hostname = this.hostname || ''\n\n // if hostname begins with [ and ends with ]\n // assume that it's an IPv6 address.\n const ipv6Hostname = this.hostname[0] === '[' &&\n this.hostname[this.hostname.length - 1] === ']'\n\n // validate a little.\n if (!ipv6Hostname) {\n const hostparts = this.hostname.split(/\\./)\n for (let i = 0, l = hostparts.length; i < l; i++) {\n const part = hostparts[i]\n if (!part) { continue }\n if (!part.match(hostnamePartPattern)) {\n let newpart = ''\n for (let j = 0, k = part.length; j < k; j++) {\n if (part.charCodeAt(j) > 127) {\n // we replace non-ASCII char with a temporary placeholder\n // we need this to make sure size of hostname is not\n // broken by replacing non-ASCII by nothing\n newpart += 'x'\n } else {\n newpart += part[j]\n }\n }\n // we test again with ASCII char only\n if (!newpart.match(hostnamePartPattern)) {\n const validParts = hostparts.slice(0, i)\n const notHost = hostparts.slice(i + 1)\n const bit = part.match(hostnamePartStart)\n if (bit) {\n validParts.push(bit[1])\n notHost.unshift(bit[2])\n }\n if (notHost.length) {\n rest = notHost.join('.') + rest\n }\n this.hostname = validParts.join('.')\n break\n }\n }\n }\n }\n\n if (this.hostname.length > hostnameMaxLen) {\n this.hostname = ''\n }\n\n // strip [ and ] from the hostname\n // the host field still retains them, though\n if (ipv6Hostname) {\n this.hostname = this.hostname.substr(1, this.hostname.length - 2)\n }\n }\n\n // chop off from the tail first.\n const hash = rest.indexOf('#')\n if (hash !== -1) {\n // got a fragment string.\n this.hash = rest.substr(hash)\n rest = rest.slice(0, hash)\n }\n const qm = rest.indexOf('?')\n if (qm !== -1) {\n this.search = rest.substr(qm)\n rest = rest.slice(0, qm)\n }\n if (rest) { this.pathname = rest }\n if (slashedProtocol[lowerProto] &&\n this.hostname && !this.pathname) {\n this.pathname = ''\n }\n\n return this\n}\n\nUrl.prototype.parseHost = function (host) {\n let port = portPattern.exec(host)\n if (port) {\n port = port[0]\n if (port !== ':') {\n this.port = port.substr(1)\n }\n host = host.substr(0, host.length - port.length)\n }\n if (host) { this.hostname = host }\n}\n\nexport default urlParse\n","export default /[\\0-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/","export default /[\\0-\\x1F\\x7F-\\x9F]/","export default /[\\xAD\\u0600-\\u0605\\u061C\\u06DD\\u070F\\u0890\\u0891\\u08E2\\u180E\\u200B-\\u200F\\u202A-\\u202E\\u2060-\\u2064\\u2066-\\u206F\\uFEFF\\uFFF9-\\uFFFB]|\\uD804[\\uDCBD\\uDCCD]|\\uD80D[\\uDC30-\\uDC3F]|\\uD82F[\\uDCA0-\\uDCA3]|\\uD834[\\uDD73-\\uDD7A]|\\uDB40[\\uDC01\\uDC20-\\uDC7F]/","export default /[!-#%-\\*,-\\/:;\\?@\\[-\\]_\\{\\}\\xA1\\xA7\\xAB\\xB6\\xB7\\xBB\\xBF\\u037E\\u0387\\u055A-\\u055F\\u0589\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3\\u05F4\\u0609\\u060A\\u060C\\u060D\\u061B\\u061D-\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C77\\u0C84\\u0DF4\\u0E4F\\u0E5A\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166E\\u169B\\u169C\\u16EB-\\u16ED\\u1735\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944\\u1945\\u1A1E\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B5A-\\u1B60\\u1B7D\\u1B7E\\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-\\u2E4F\\u2E52-\\u2E5D\\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[\\uDEAD\\uDF55-\\uDF59\\uDF86-\\uDF89]|\\uD804[\\uDC47-\\uDC4D\\uDCBB\\uDCBC\\uDCBE-\\uDCC1\\uDD40-\\uDD43\\uDD74\\uDD75\\uDDC5-\\uDDC8\\uDDCD\\uDDDB\\uDDDD-\\uDDDF\\uDE38-\\uDE3D\\uDEA9]|\\uD805[\\uDC4B-\\uDC4F\\uDC5A\\uDC5B\\uDC5D\\uDCC6\\uDDC1-\\uDDD7\\uDE41-\\uDE43\\uDE60-\\uDE6C\\uDEB9\\uDF3C-\\uDF3E]|\\uD806[\\uDC3B\\uDD44-\\uDD46\\uDDE2\\uDE3F-\\uDE46\\uDE9A-\\uDE9C\\uDE9E-\\uDEA2\\uDF00-\\uDF09]|\\uD807[\\uDC41-\\uDC45\\uDC70\\uDC71\\uDEF7\\uDEF8\\uDF43-\\uDF4F\\uDFFF]|\\uD809[\\uDC70-\\uDC74]|\\uD80B[\\uDFF1\\uDFF2]|\\uD81A[\\uDE6E\\uDE6F\\uDEF5\\uDF37-\\uDF3B\\uDF44]|\\uD81B[\\uDE97-\\uDE9A\\uDFE2]|\\uD82F\\uDC9F|\\uD836[\\uDE87-\\uDE8B]|\\uD83A[\\uDD5E\\uDD5F]/","export default /[\\$\\+<->\\^`\\|~\\xA2-\\xA6\\xA8\\xA9\\xAC\\xAE-\\xB1\\xB4\\xB8\\xD7\\xF7\\u02C2-\\u02C5\\u02D2-\\u02DF\\u02E5-\\u02EB\\u02ED\\u02EF-\\u02FF\\u0375\\u0384\\u0385\\u03F6\\u0482\\u058D-\\u058F\\u0606-\\u0608\\u060B\\u060E\\u060F\\u06DE\\u06E9\\u06FD\\u06FE\\u07F6\\u07FE\\u07FF\\u0888\\u09F2\\u09F3\\u09FA\\u09FB\\u0AF1\\u0B70\\u0BF3-\\u0BFA\\u0C7F\\u0D4F\\u0D79\\u0E3F\\u0F01-\\u0F03\\u0F13\\u0F15-\\u0F17\\u0F1A-\\u0F1F\\u0F34\\u0F36\\u0F38\\u0FBE-\\u0FC5\\u0FC7-\\u0FCC\\u0FCE\\u0FCF\\u0FD5-\\u0FD8\\u109E\\u109F\\u1390-\\u1399\\u166D\\u17DB\\u1940\\u19DE-\\u19FF\\u1B61-\\u1B6A\\u1B74-\\u1B7C\\u1FBD\\u1FBF-\\u1FC1\\u1FCD-\\u1FCF\\u1FDD-\\u1FDF\\u1FED-\\u1FEF\\u1FFD\\u1FFE\\u2044\\u2052\\u207A-\\u207C\\u208A-\\u208C\\u20A0-\\u20C0\\u2100\\u2101\\u2103-\\u2106\\u2108\\u2109\\u2114\\u2116-\\u2118\\u211E-\\u2123\\u2125\\u2127\\u2129\\u212E\\u213A\\u213B\\u2140-\\u2144\\u214A-\\u214D\\u214F\\u218A\\u218B\\u2190-\\u2307\\u230C-\\u2328\\u232B-\\u2426\\u2440-\\u244A\\u249C-\\u24E9\\u2500-\\u2767\\u2794-\\u27C4\\u27C7-\\u27E5\\u27F0-\\u2982\\u2999-\\u29D7\\u29DC-\\u29FB\\u29FE-\\u2B73\\u2B76-\\u2B95\\u2B97-\\u2BFF\\u2CE5-\\u2CEA\\u2E50\\u2E51\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u2FF0-\\u2FFF\\u3004\\u3012\\u3013\\u3020\\u3036\\u3037\\u303E\\u303F\\u309B\\u309C\\u3190\\u3191\\u3196-\\u319F\\u31C0-\\u31E3\\u31EF\\u3200-\\u321E\\u322A-\\u3247\\u3250\\u3260-\\u327F\\u328A-\\u32B0\\u32C0-\\u33FF\\u4DC0-\\u4DFF\\uA490-\\uA4C6\\uA700-\\uA716\\uA720\\uA721\\uA789\\uA78A\\uA828-\\uA82B\\uA836-\\uA839\\uAA77-\\uAA79\\uAB5B\\uAB6A\\uAB6B\\uFB29\\uFBB2-\\uFBC2\\uFD40-\\uFD4F\\uFDCF\\uFDFC-\\uFDFF\\uFE62\\uFE64-\\uFE66\\uFE69\\uFF04\\uFF0B\\uFF1C-\\uFF1E\\uFF3E\\uFF40\\uFF5C\\uFF5E\\uFFE0-\\uFFE6\\uF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\\uDE88\\uDE90-\\uDEBD\\uDEBF-\\uDEC5\\uDECE-\\uDEDB\\uDEE0-\\uDEE8\\uDEF0-\\uDEF8\\uDF00-\\uDF92\\uDF94-\\uDFCA]/","export default /[ \\xA0\\u1680\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000]/","// Utilities\n//\n\nimport * as mdurl from 'mdurl'\nimport * as ucmicro from 'uc.micro'\nimport { decodeHTML } from 'entities'\n\nfunction _class (obj) { return Object.prototype.toString.call(obj) }\n\nfunction isString (obj) { return _class(obj) === '[object String]' }\n\nconst _hasOwnProperty = Object.prototype.hasOwnProperty\n\nfunction has (object, key) {\n return _hasOwnProperty.call(object, key)\n}\n\n// Merge objects\n//\nfunction assign (obj /* from1, from2, from3, ... */) {\n const sources = Array.prototype.slice.call(arguments, 1)\n\n sources.forEach(function (source) {\n if (!source) { return }\n\n if (typeof source !== 'object') {\n throw new TypeError(source + 'must be object')\n }\n\n Object.keys(source).forEach(function (key) {\n obj[key] = source[key]\n })\n })\n\n return obj\n}\n\n// Remove element from array and put another array at those position.\n// Useful for some operations with tokens\nfunction arrayReplaceAt (src, pos, newElements) {\n return [].concat(src.slice(0, pos), newElements, src.slice(pos + 1))\n}\n\nfunction isValidEntityCode (c) {\n /* eslint no-bitwise:0 */\n // broken sequence\n if (c >= 0xD800 && c <= 0xDFFF) { return false }\n // never used\n if (c >= 0xFDD0 && c <= 0xFDEF) { return false }\n if ((c & 0xFFFF) === 0xFFFF || (c & 0xFFFF) === 0xFFFE) { return false }\n // control codes\n if (c >= 0x00 && c <= 0x08) { return false }\n if (c === 0x0B) { return false }\n if (c >= 0x0E && c <= 0x1F) { return false }\n if (c >= 0x7F && c <= 0x9F) { return false }\n // out of range\n if (c > 0x10FFFF) { return false }\n return true\n}\n\nfunction fromCodePoint (c) {\n /* eslint no-bitwise:0 */\n if (c > 0xffff) {\n c -= 0x10000\n const surrogate1 = 0xd800 + (c >> 10)\n const surrogate2 = 0xdc00 + (c & 0x3ff)\n\n return String.fromCharCode(surrogate1, surrogate2)\n }\n return String.fromCharCode(c)\n}\n\nconst UNESCAPE_MD_RE = /\\\\([!\"#$%&'()*+,\\-./:;<=>?@[\\\\\\]^_`{|}~])/g\nconst ENTITY_RE = /&([a-z#][a-z0-9]{1,31});/gi\nconst UNESCAPE_ALL_RE = new RegExp(UNESCAPE_MD_RE.source + '|' + ENTITY_RE.source, 'gi')\n\nconst DIGITAL_ENTITY_TEST_RE = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i\n\nfunction replaceEntityPattern (match, name) {\n if (name.charCodeAt(0) === 0x23/* # */ && DIGITAL_ENTITY_TEST_RE.test(name)) {\n const code = name[1].toLowerCase() === 'x'\n ? parseInt(name.slice(2), 16)\n : parseInt(name.slice(1), 10)\n\n if (isValidEntityCode(code)) {\n return fromCodePoint(code)\n }\n\n return match\n }\n\n const decoded = decodeHTML(match)\n if (decoded !== match) {\n return decoded\n }\n\n return match\n}\n\n/* function replaceEntities(str) {\n if (str.indexOf('&') < 0) { return str; }\n\n return str.replace(ENTITY_RE, replaceEntityPattern);\n} */\n\nfunction unescapeMd (str) {\n if (str.indexOf('\\\\') < 0) { return str }\n return str.replace(UNESCAPE_MD_RE, '$1')\n}\n\nfunction unescapeAll (str) {\n if (str.indexOf('\\\\') < 0 && str.indexOf('&') < 0) { return str }\n\n return str.replace(UNESCAPE_ALL_RE, function (match, escaped, entity) {\n if (escaped) { return escaped }\n return replaceEntityPattern(match, entity)\n })\n}\n\nconst HTML_ESCAPE_TEST_RE = /[&<>\"]/\nconst HTML_ESCAPE_REPLACE_RE = /[&<>\"]/g\nconst HTML_REPLACEMENTS = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"'\n}\n\nfunction replaceUnsafeChar (ch) {\n return HTML_REPLACEMENTS[ch]\n}\n\nfunction escapeHtml (str) {\n if (HTML_ESCAPE_TEST_RE.test(str)) {\n return str.replace(HTML_ESCAPE_REPLACE_RE, replaceUnsafeChar)\n }\n return str\n}\n\nconst REGEXP_ESCAPE_RE = /[.?*+^$[\\]\\\\(){}|-]/g\n\nfunction escapeRE (str) {\n return str.replace(REGEXP_ESCAPE_RE, '\\\\$&')\n}\n\nfunction isSpace (code) {\n switch (code) {\n case 0x09:\n case 0x20:\n return true\n }\n return false\n}\n\n// Zs (unicode class) || [\\t\\f\\v\\r\\n]\nfunction isWhiteSpace (code) {\n if (code >= 0x2000 && code <= 0x200A) { return true }\n switch (code) {\n case 0x09: // \\t\n case 0x0A: // \\n\n case 0x0B: // \\v\n case 0x0C: // \\f\n case 0x0D: // \\r\n case 0x20:\n case 0xA0:\n case 0x1680:\n case 0x202F:\n case 0x205F:\n case 0x3000:\n return true\n }\n return false\n}\n\n/* eslint-disable max-len */\n\n// Currently without astral characters support.\nfunction isPunctChar (ch) {\n return ucmicro.P.test(ch) || ucmicro.S.test(ch)\n}\n\n// Markdown ASCII punctuation characters.\n//\n// !, \", #, $, %, &, ', (, ), *, +, ,, -, ., /, :, ;, <, =, >, ?, @, [, \\, ], ^, _, `, {, |, }, or ~\n// http://spec.commonmark.org/0.15/#ascii-punctuation-character\n//\n// Don't confuse with unicode punctuation !!! It lacks some chars in ascii range.\n//\nfunction isMdAsciiPunct (ch) {\n switch (ch) {\n case 0x21/* ! */:\n case 0x22/* \" */:\n case 0x23/* # */:\n case 0x24/* $ */:\n case 0x25/* % */:\n case 0x26/* & */:\n case 0x27/* ' */:\n case 0x28/* ( */:\n case 0x29/* ) */:\n case 0x2A/* * */:\n case 0x2B/* + */:\n case 0x2C/* , */:\n case 0x2D/* - */:\n case 0x2E/* . */:\n case 0x2F/* / */:\n case 0x3A/* : */:\n case 0x3B/* ; */:\n case 0x3C/* < */:\n case 0x3D/* = */:\n case 0x3E/* > */:\n case 0x3F/* ? */:\n case 0x40/* @ */:\n case 0x5B/* [ */:\n case 0x5C/* \\ */:\n case 0x5D/* ] */:\n case 0x5E/* ^ */:\n case 0x5F/* _ */:\n case 0x60/* ` */:\n case 0x7B/* { */:\n case 0x7C/* | */:\n case 0x7D/* } */:\n case 0x7E/* ~ */:\n return true\n default:\n return false\n }\n}\n\n// Hepler to unify [reference labels].\n//\nfunction normalizeReference (str) {\n // Trim and collapse whitespace\n //\n str = str.trim().replace(/\\s+/g, ' ')\n\n // In node v10 'ẞ'.toLowerCase() === 'Ṿ', which is presumed to be a bug\n // fixed in v12 (couldn't find any details).\n //\n // So treat this one as a special case\n // (remove this when node v10 is no longer supported).\n //\n if ('ẞ'.toLowerCase() === 'Ṿ') {\n str = str.replace(/ẞ/g, 'ß')\n }\n\n // .toLowerCase().toUpperCase() should get rid of all differences\n // between letter variants.\n //\n // Simple .toLowerCase() doesn't normalize 125 code points correctly,\n // and .toUpperCase doesn't normalize 6 of them (list of exceptions:\n // İ, ϴ, ẞ, Ω, K, Å - those are already uppercased, but have differently\n // uppercased versions).\n //\n // Here's an example showing how it happens. Lets take greek letter omega:\n // uppercase U+0398 (Θ), U+03f4 (ϴ) and lowercase U+03b8 (θ), U+03d1 (ϑ)\n //\n // Unicode entries:\n // 0398;GREEK CAPITAL LETTER THETA;Lu;0;L;;;;;N;;;;03B8;\n // 03B8;GREEK SMALL LETTER THETA;Ll;0;L;;;;;N;;;0398;;0398\n // 03D1;GREEK THETA SYMBOL;Ll;0;L; 03B8;;;;N;GREEK SMALL LETTER SCRIPT THETA;;0398;;0398\n // 03F4;GREEK CAPITAL THETA SYMBOL;Lu;0;L; 0398;;;;N;;;;03B8;\n //\n // Case-insensitive comparison should treat all of them as equivalent.\n //\n // But .toLowerCase() doesn't change ϑ (it's already lowercase),\n // and .toUpperCase() doesn't change ϴ (already uppercase).\n //\n // Applying first lower then upper case normalizes any character:\n // '\\u0398\\u03f4\\u03b8\\u03d1'.toLowerCase().toUpperCase() === '\\u0398\\u0398\\u0398\\u0398'\n //\n // Note: this is equivalent to unicode case folding; unicode normalization\n // is a different step that is not required here.\n //\n // Final result should be uppercased, because it's later stored in an object\n // (this avoid a conflict with Object.prototype members,\n // most notably, `__proto__`)\n //\n return str.toLowerCase().toUpperCase()\n}\n\n// Re-export libraries commonly used in both markdown-it and its plugins,\n// so plugins won't have to depend on them explicitly, which reduces their\n// bundled size (e.g. a browser build).\n//\nconst lib = { mdurl, ucmicro }\n\nexport {\n lib,\n assign,\n isString,\n has,\n unescapeMd,\n unescapeAll,\n isValidEntityCode,\n fromCodePoint,\n escapeHtml,\n arrayReplaceAt,\n isSpace,\n isWhiteSpace,\n isMdAsciiPunct,\n isPunctChar,\n escapeRE,\n normalizeReference\n}\n","// Parse link label\n//\n// this function assumes that first character (\"[\") already matches;\n// returns the end of the label\n//\n\nexport default function parseLinkLabel (state, start, disableNested) {\n let level, found, marker, prevPos\n\n const max = state.posMax\n const oldPos = state.pos\n\n state.pos = start + 1\n level = 1\n\n while (state.pos < max) {\n marker = state.src.charCodeAt(state.pos)\n if (marker === 0x5D /* ] */) {\n level--\n if (level === 0) {\n found = true\n break\n }\n }\n\n prevPos = state.pos\n state.md.inline.skipToken(state)\n if (marker === 0x5B /* [ */) {\n if (prevPos === state.pos - 1) {\n // increase level if we find text `[`, which is not a part of any token\n level++\n } else if (disableNested) {\n state.pos = oldPos\n return -1\n }\n }\n }\n\n let labelEnd = -1\n\n if (found) {\n labelEnd = state.pos\n }\n\n // restore old state\n state.pos = oldPos\n\n return labelEnd\n}\n","// Parse link destination\n//\n\nimport { unescapeAll } from '../common/utils.mjs'\n\nexport default function parseLinkDestination (str, start, max) {\n let code\n let pos = start\n\n const result = {\n ok: false,\n pos: 0,\n str: ''\n }\n\n if (str.charCodeAt(pos) === 0x3C /* < */) {\n pos++\n while (pos < max) {\n code = str.charCodeAt(pos)\n if (code === 0x0A /* \\n */) { return result }\n if (code === 0x3C /* < */) { return result }\n if (code === 0x3E /* > */) {\n result.pos = pos + 1\n result.str = unescapeAll(str.slice(start + 1, pos))\n result.ok = true\n return result\n }\n if (code === 0x5C /* \\ */ && pos + 1 < max) {\n pos += 2\n continue\n }\n\n pos++\n }\n\n // no closing '>'\n return result\n }\n\n // this should be ... } else { ... branch\n\n let level = 0\n while (pos < max) {\n code = str.charCodeAt(pos)\n\n if (code === 0x20) { break }\n\n // ascii control characters\n if (code < 0x20 || code === 0x7F) { break }\n\n if (code === 0x5C /* \\ */ && pos + 1 < max) {\n if (str.charCodeAt(pos + 1) === 0x20) { break }\n pos += 2\n continue\n }\n\n if (code === 0x28 /* ( */) {\n level++\n if (level > 32) { return result }\n }\n\n if (code === 0x29 /* ) */) {\n if (level === 0) { break }\n level--\n }\n\n pos++\n }\n\n if (start === pos) { return result }\n if (level !== 0) { return result }\n\n result.str = unescapeAll(str.slice(start, pos))\n result.pos = pos\n result.ok = true\n return result\n}\n","// Parse link title\n//\n\nimport { unescapeAll } from '../common/utils.mjs'\n\n// Parse link title within `str` in [start, max] range,\n// or continue previous parsing if `prev_state` is defined (equal to result of last execution).\n//\nexport default function parseLinkTitle (str, start, max, prev_state) {\n let code\n let pos = start\n\n const state = {\n // if `true`, this is a valid link title\n ok: false,\n // if `true`, this link can be continued on the next line\n can_continue: false,\n // if `ok`, it's the position of the first character after the closing marker\n pos: 0,\n // if `ok`, it's the unescaped title\n str: '',\n // expected closing marker character code\n marker: 0\n }\n\n if (prev_state) {\n // this is a continuation of a previous parseLinkTitle call on the next line,\n // used in reference links only\n state.str = prev_state.str\n state.marker = prev_state.marker\n } else {\n if (pos >= max) { return state }\n\n let marker = str.charCodeAt(pos)\n if (marker !== 0x22 /* \" */ && marker !== 0x27 /* ' */ && marker !== 0x28 /* ( */) { return state }\n\n start++\n pos++\n\n // if opening marker is \"(\", switch it to closing marker \")\"\n if (marker === 0x28) { marker = 0x29 }\n\n state.marker = marker\n }\n\n while (pos < max) {\n code = str.charCodeAt(pos)\n if (code === state.marker) {\n state.pos = pos + 1\n state.str += unescapeAll(str.slice(start, pos))\n state.ok = true\n return state\n } else if (code === 0x28 /* ( */ && state.marker === 0x29 /* ) */) {\n return state\n } else if (code === 0x5C /* \\ */ && pos + 1 < max) {\n pos++\n }\n\n pos++\n }\n\n // no closing marker found, but this link title may continue on the next line (for references)\n state.can_continue = true\n state.str += unescapeAll(str.slice(start, pos))\n return state\n}\n","/**\n * class Renderer\n *\n * Generates HTML from parsed token stream. Each instance has independent\n * copy of rules. Those can be rewritten with ease. Also, you can add new\n * rules if you create plugin and adds new token types.\n **/\n\nimport { assign, unescapeAll, escapeHtml } from './common/utils.mjs'\n\nconst default_rules = {}\n\ndefault_rules.code_inline = function (tokens, idx, options, env, slf) {\n const token = tokens[idx]\n\n return '' +\n escapeHtml(token.content) +\n ''\n}\n\ndefault_rules.code_block = function (tokens, idx, options, env, slf) {\n const token = tokens[idx]\n\n return '' +\n escapeHtml(tokens[idx].content) +\n '\\n'\n}\n\ndefault_rules.fence = function (tokens, idx, options, env, slf) {\n const token = tokens[idx]\n const info = token.info ? unescapeAll(token.info).trim() : ''\n let langName = ''\n let langAttrs = ''\n\n if (info) {\n const arr = info.split(/(\\s+)/g)\n langName = arr[0]\n langAttrs = arr.slice(2).join('')\n }\n\n let highlighted\n if (options.highlight) {\n highlighted = options.highlight(token.content, langName, langAttrs) || escapeHtml(token.content)\n } else {\n highlighted = escapeHtml(token.content)\n }\n\n if (highlighted.indexOf('${highlighted}\\n`\n }\n\n return `
${highlighted}
\\n`\n}\n\ndefault_rules.image = function (tokens, idx, options, env, slf) {\n const token = tokens[idx]\n\n // \"alt\" attr MUST be set, even if empty. Because it's mandatory and\n // should be placed on proper position for tests.\n //\n // Replace content with actual value\n\n token.attrs[token.attrIndex('alt')][1] =\n slf.renderInlineAsText(token.children, options, env)\n\n return slf.renderToken(tokens, idx, options)\n}\n\ndefault_rules.hardbreak = function (tokens, idx, options /*, env */) {\n return options.xhtmlOut ? '
\\n' : '
\\n'\n}\ndefault_rules.softbreak = function (tokens, idx, options /*, env */) {\n return options.breaks ? (options.xhtmlOut ? '
\\n' : '
\\n') : '\\n'\n}\n\ndefault_rules.text = function (tokens, idx /*, options, env */) {\n return escapeHtml(tokens[idx].content)\n}\n\ndefault_rules.html_block = function (tokens, idx /*, options, env */) {\n return tokens[idx].content\n}\ndefault_rules.html_inline = function (tokens, idx /*, options, env */) {\n return tokens[idx].content\n}\n\n/**\n * new Renderer()\n *\n * Creates new [[Renderer]] instance and fill [[Renderer#rules]] with defaults.\n **/\nfunction Renderer () {\n /**\n * Renderer#rules -> Object\n *\n * Contains render rules for tokens. Can be updated and extended.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.renderer.rules.strong_open = function () { return ''; };\n * md.renderer.rules.strong_close = function () { return ''; };\n *\n * var result = md.renderInline(...);\n * ```\n *\n * Each rule is called as independent static function with fixed signature:\n *\n * ```javascript\n * function my_token_render(tokens, idx, options, env, renderer) {\n * // ...\n * return renderedHTML;\n * }\n * ```\n *\n * See [source code](https://github.com/markdown-it/markdown-it/blob/master/lib/renderer.mjs)\n * for more details and examples.\n **/\n this.rules = assign({}, default_rules)\n}\n\n/**\n * Renderer.renderAttrs(token) -> String\n *\n * Render token attributes to string.\n **/\nRenderer.prototype.renderAttrs = function renderAttrs (token) {\n let i, l, result\n\n if (!token.attrs) { return '' }\n\n result = ''\n\n for (i = 0, l = token.attrs.length; i < l; i++) {\n result += ' ' + escapeHtml(token.attrs[i][0]) + '=\"' + escapeHtml(token.attrs[i][1]) + '\"'\n }\n\n return result\n}\n\n/**\n * Renderer.renderToken(tokens, idx, options) -> String\n * - tokens (Array): list of tokens\n * - idx (Numbed): token index to render\n * - options (Object): params of parser instance\n *\n * Default token renderer. Can be overriden by custom function\n * in [[Renderer#rules]].\n **/\nRenderer.prototype.renderToken = function renderToken (tokens, idx, options) {\n const token = tokens[idx]\n let result = ''\n\n // Tight list paragraphs\n if (token.hidden) {\n return ''\n }\n\n // Insert a newline between hidden paragraph and subsequent opening\n // block-level tag.\n //\n // For example, here we should insert a newline before blockquote:\n // - a\n // >\n //\n if (token.block && token.nesting !== -1 && idx && tokens[idx - 1].hidden) {\n result += '\\n'\n }\n\n // Add token name, e.g. ``.\n //\n needLf = false\n }\n }\n }\n }\n\n result += needLf ? '>\\n' : '>'\n\n return result\n}\n\n/**\n * Renderer.renderInline(tokens, options, env) -> String\n * - tokens (Array): list on block tokens to render\n * - options (Object): params of parser instance\n * - env (Object): additional data from parsed input (references, for example)\n *\n * The same as [[Renderer.render]], but for single token of `inline` type.\n **/\nRenderer.prototype.renderInline = function (tokens, options, env) {\n let result = ''\n const rules = this.rules\n\n for (let i = 0, len = tokens.length; i < len; i++) {\n const type = tokens[i].type\n\n if (typeof rules[type] !== 'undefined') {\n result += rules[type](tokens, i, options, env, this)\n } else {\n result += this.renderToken(tokens, i, options)\n }\n }\n\n return result\n}\n\n/** internal\n * Renderer.renderInlineAsText(tokens, options, env) -> String\n * - tokens (Array): list on block tokens to render\n * - options (Object): params of parser instance\n * - env (Object): additional data from parsed input (references, for example)\n *\n * Special kludge for image `alt` attributes to conform CommonMark spec.\n * Don't try to use it! Spec requires to show `alt` content with stripped markup,\n * instead of simple escaping.\n **/\nRenderer.prototype.renderInlineAsText = function (tokens, options, env) {\n let result = ''\n\n for (let i = 0, len = tokens.length; i < len; i++) {\n switch (tokens[i].type) {\n case 'text':\n result += tokens[i].content\n break\n case 'image':\n result += this.renderInlineAsText(tokens[i].children, options, env)\n break\n case 'html_inline':\n case 'html_block':\n result += tokens[i].content\n break\n case 'softbreak':\n case 'hardbreak':\n result += '\\n'\n break\n default:\n // all other tokens are skipped\n }\n }\n\n return result\n}\n\n/**\n * Renderer.render(tokens, options, env) -> String\n * - tokens (Array): list on block tokens to render\n * - options (Object): params of parser instance\n * - env (Object): additional data from parsed input (references, for example)\n *\n * Takes token stream and generates HTML. Probably, you will never need to call\n * this method directly.\n **/\nRenderer.prototype.render = function (tokens, options, env) {\n let result = ''\n const rules = this.rules\n\n for (let i = 0, len = tokens.length; i < len; i++) {\n const type = tokens[i].type\n\n if (type === 'inline') {\n result += this.renderInline(tokens[i].children, options, env)\n } else if (typeof rules[type] !== 'undefined') {\n result += rules[type](tokens, i, options, env, this)\n } else {\n result += this.renderToken(tokens, i, options, env)\n }\n }\n\n return result\n}\n\nexport default Renderer\n","/**\n * class Ruler\n *\n * Helper class, used by [[MarkdownIt#core]], [[MarkdownIt#block]] and\n * [[MarkdownIt#inline]] to manage sequences of functions (rules):\n *\n * - keep rules in defined order\n * - assign the name to each rule\n * - enable/disable rules\n * - add/replace rules\n * - allow assign rules to additional named chains (in the same)\n * - cacheing lists of active rules\n *\n * You will not need use this class directly until write plugins. For simple\n * rules control use [[MarkdownIt.disable]], [[MarkdownIt.enable]] and\n * [[MarkdownIt.use]].\n **/\n\n/**\n * new Ruler()\n **/\nfunction Ruler () {\n // List of added rules. Each element is:\n //\n // {\n // name: XXX,\n // enabled: Boolean,\n // fn: Function(),\n // alt: [ name2, name3 ]\n // }\n //\n this.__rules__ = []\n\n // Cached rule chains.\n //\n // First level - chain name, '' for default.\n // Second level - diginal anchor for fast filtering by charcodes.\n //\n this.__cache__ = null\n}\n\n// Helper methods, should not be used directly\n\n// Find rule index by name\n//\nRuler.prototype.__find__ = function (name) {\n for (let i = 0; i < this.__rules__.length; i++) {\n if (this.__rules__[i].name === name) {\n return i\n }\n }\n return -1\n}\n\n// Build rules lookup cache\n//\nRuler.prototype.__compile__ = function () {\n const self = this\n const chains = ['']\n\n // collect unique names\n self.__rules__.forEach(function (rule) {\n if (!rule.enabled) { return }\n\n rule.alt.forEach(function (altName) {\n if (chains.indexOf(altName) < 0) {\n chains.push(altName)\n }\n })\n })\n\n self.__cache__ = {}\n\n chains.forEach(function (chain) {\n self.__cache__[chain] = []\n self.__rules__.forEach(function (rule) {\n if (!rule.enabled) { return }\n\n if (chain && rule.alt.indexOf(chain) < 0) { return }\n\n self.__cache__[chain].push(rule.fn)\n })\n })\n}\n\n/**\n * Ruler.at(name, fn [, options])\n * - name (String): rule name to replace.\n * - fn (Function): new rule function.\n * - options (Object): new rule options (not mandatory).\n *\n * Replace rule by name with new function & options. Throws error if name not\n * found.\n *\n * ##### Options:\n *\n * - __alt__ - array with names of \"alternate\" chains.\n *\n * ##### Example\n *\n * Replace existing typographer replacement rule with new one:\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.core.ruler.at('replacements', function replace(state) {\n * //...\n * });\n * ```\n **/\nRuler.prototype.at = function (name, fn, options) {\n const index = this.__find__(name)\n const opt = options || {}\n\n if (index === -1) { throw new Error('Parser rule not found: ' + name) }\n\n this.__rules__[index].fn = fn\n this.__rules__[index].alt = opt.alt || []\n this.__cache__ = null\n}\n\n/**\n * Ruler.before(beforeName, ruleName, fn [, options])\n * - beforeName (String): new rule will be added before this one.\n * - ruleName (String): name of added rule.\n * - fn (Function): rule function.\n * - options (Object): rule options (not mandatory).\n *\n * Add new rule to chain before one with given name. See also\n * [[Ruler.after]], [[Ruler.push]].\n *\n * ##### Options:\n *\n * - __alt__ - array with names of \"alternate\" chains.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.block.ruler.before('paragraph', 'my_rule', function replace(state) {\n * //...\n * });\n * ```\n **/\nRuler.prototype.before = function (beforeName, ruleName, fn, options) {\n const index = this.__find__(beforeName)\n const opt = options || {}\n\n if (index === -1) { throw new Error('Parser rule not found: ' + beforeName) }\n\n this.__rules__.splice(index, 0, {\n name: ruleName,\n enabled: true,\n fn,\n alt: opt.alt || []\n })\n\n this.__cache__ = null\n}\n\n/**\n * Ruler.after(afterName, ruleName, fn [, options])\n * - afterName (String): new rule will be added after this one.\n * - ruleName (String): name of added rule.\n * - fn (Function): rule function.\n * - options (Object): rule options (not mandatory).\n *\n * Add new rule to chain after one with given name. See also\n * [[Ruler.before]], [[Ruler.push]].\n *\n * ##### Options:\n *\n * - __alt__ - array with names of \"alternate\" chains.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.inline.ruler.after('text', 'my_rule', function replace(state) {\n * //...\n * });\n * ```\n **/\nRuler.prototype.after = function (afterName, ruleName, fn, options) {\n const index = this.__find__(afterName)\n const opt = options || {}\n\n if (index === -1) { throw new Error('Parser rule not found: ' + afterName) }\n\n this.__rules__.splice(index + 1, 0, {\n name: ruleName,\n enabled: true,\n fn,\n alt: opt.alt || []\n })\n\n this.__cache__ = null\n}\n\n/**\n * Ruler.push(ruleName, fn [, options])\n * - ruleName (String): name of added rule.\n * - fn (Function): rule function.\n * - options (Object): rule options (not mandatory).\n *\n * Push new rule to the end of chain. See also\n * [[Ruler.before]], [[Ruler.after]].\n *\n * ##### Options:\n *\n * - __alt__ - array with names of \"alternate\" chains.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * md.core.ruler.push('my_rule', function replace(state) {\n * //...\n * });\n * ```\n **/\nRuler.prototype.push = function (ruleName, fn, options) {\n const opt = options || {}\n\n this.__rules__.push({\n name: ruleName,\n enabled: true,\n fn,\n alt: opt.alt || []\n })\n\n this.__cache__ = null\n}\n\n/**\n * Ruler.enable(list [, ignoreInvalid]) -> Array\n * - list (String|Array): list of rule names to enable.\n * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.\n *\n * Enable rules with given names. If any rule name not found - throw Error.\n * Errors can be disabled by second param.\n *\n * Returns list of found rule names (if no exception happened).\n *\n * See also [[Ruler.disable]], [[Ruler.enableOnly]].\n **/\nRuler.prototype.enable = function (list, ignoreInvalid) {\n if (!Array.isArray(list)) { list = [list] }\n\n const result = []\n\n // Search by name and enable\n list.forEach(function (name) {\n const idx = this.__find__(name)\n\n if (idx < 0) {\n if (ignoreInvalid) { return }\n throw new Error('Rules manager: invalid rule name ' + name)\n }\n this.__rules__[idx].enabled = true\n result.push(name)\n }, this)\n\n this.__cache__ = null\n return result\n}\n\n/**\n * Ruler.enableOnly(list [, ignoreInvalid])\n * - list (String|Array): list of rule names to enable (whitelist).\n * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.\n *\n * Enable rules with given names, and disable everything else. If any rule name\n * not found - throw Error. Errors can be disabled by second param.\n *\n * See also [[Ruler.disable]], [[Ruler.enable]].\n **/\nRuler.prototype.enableOnly = function (list, ignoreInvalid) {\n if (!Array.isArray(list)) { list = [list] }\n\n this.__rules__.forEach(function (rule) { rule.enabled = false })\n\n this.enable(list, ignoreInvalid)\n}\n\n/**\n * Ruler.disable(list [, ignoreInvalid]) -> Array\n * - list (String|Array): list of rule names to disable.\n * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.\n *\n * Disable rules with given names. If any rule name not found - throw Error.\n * Errors can be disabled by second param.\n *\n * Returns list of found rule names (if no exception happened).\n *\n * See also [[Ruler.enable]], [[Ruler.enableOnly]].\n **/\nRuler.prototype.disable = function (list, ignoreInvalid) {\n if (!Array.isArray(list)) { list = [list] }\n\n const result = []\n\n // Search by name and disable\n list.forEach(function (name) {\n const idx = this.__find__(name)\n\n if (idx < 0) {\n if (ignoreInvalid) { return }\n throw new Error('Rules manager: invalid rule name ' + name)\n }\n this.__rules__[idx].enabled = false\n result.push(name)\n }, this)\n\n this.__cache__ = null\n return result\n}\n\n/**\n * Ruler.getRules(chainName) -> Array\n *\n * Return array of active functions (rules) for given chain name. It analyzes\n * rules configuration, compiles caches if not exists and returns result.\n *\n * Default chain name is `''` (empty string). It can't be skipped. That's\n * done intentionally, to keep signature monomorphic for high speed.\n **/\nRuler.prototype.getRules = function (chainName) {\n if (this.__cache__ === null) {\n this.__compile__()\n }\n\n // Chain can be empty, if rules disabled. But we still have to return Array.\n return this.__cache__[chainName] || []\n}\n\nexport default Ruler\n","// Token class\n\n/**\n * class Token\n **/\n\n/**\n * new Token(type, tag, nesting)\n *\n * Create new token and fill passed properties.\n **/\nfunction Token (type, tag, nesting) {\n /**\n * Token#type -> String\n *\n * Type of the token (string, e.g. \"paragraph_open\")\n **/\n this.type = type\n\n /**\n * Token#tag -> String\n *\n * html tag name, e.g. \"p\"\n **/\n this.tag = tag\n\n /**\n * Token#attrs -> Array\n *\n * Html attributes. Format: `[ [ name1, value1 ], [ name2, value2 ] ]`\n **/\n this.attrs = null\n\n /**\n * Token#map -> Array\n *\n * Source map info. Format: `[ line_begin, line_end ]`\n **/\n this.map = null\n\n /**\n * Token#nesting -> Number\n *\n * Level change (number in {-1, 0, 1} set), where:\n *\n * - `1` means the tag is opening\n * - `0` means the tag is self-closing\n * - `-1` means the tag is closing\n **/\n this.nesting = nesting\n\n /**\n * Token#level -> Number\n *\n * nesting level, the same as `state.level`\n **/\n this.level = 0\n\n /**\n * Token#children -> Array\n *\n * An array of child nodes (inline and img tokens)\n **/\n this.children = null\n\n /**\n * Token#content -> String\n *\n * In a case of self-closing tag (code, html, fence, etc.),\n * it has contents of this tag.\n **/\n this.content = ''\n\n /**\n * Token#markup -> String\n *\n * '*' or '_' for emphasis, fence string for fence, etc.\n **/\n this.markup = ''\n\n /**\n * Token#info -> String\n *\n * Additional information:\n *\n * - Info string for \"fence\" tokens\n * - The value \"auto\" for autolink \"link_open\" and \"link_close\" tokens\n * - The string value of the item marker for ordered-list \"list_item_open\" tokens\n **/\n this.info = ''\n\n /**\n * Token#meta -> Object\n *\n * A place for plugins to store an arbitrary data\n **/\n this.meta = null\n\n /**\n * Token#block -> Boolean\n *\n * True for block-level tokens, false for inline tokens.\n * Used in renderer to calculate line breaks\n **/\n this.block = false\n\n /**\n * Token#hidden -> Boolean\n *\n * If it's true, ignore this element when rendering. Used for tight lists\n * to hide paragraphs.\n **/\n this.hidden = false\n}\n\n/**\n * Token.attrIndex(name) -> Number\n *\n * Search attribute index by name.\n **/\nToken.prototype.attrIndex = function attrIndex (name) {\n if (!this.attrs) { return -1 }\n\n const attrs = this.attrs\n\n for (let i = 0, len = attrs.length; i < len; i++) {\n if (attrs[i][0] === name) { return i }\n }\n return -1\n}\n\n/**\n * Token.attrPush(attrData)\n *\n * Add `[ name, value ]` attribute to list. Init attrs if necessary\n **/\nToken.prototype.attrPush = function attrPush (attrData) {\n if (this.attrs) {\n this.attrs.push(attrData)\n } else {\n this.attrs = [attrData]\n }\n}\n\n/**\n * Token.attrSet(name, value)\n *\n * Set `name` attribute to `value`. Override old value if exists.\n **/\nToken.prototype.attrSet = function attrSet (name, value) {\n const idx = this.attrIndex(name)\n const attrData = [name, value]\n\n if (idx < 0) {\n this.attrPush(attrData)\n } else {\n this.attrs[idx] = attrData\n }\n}\n\n/**\n * Token.attrGet(name)\n *\n * Get the value of attribute `name`, or null if it does not exist.\n **/\nToken.prototype.attrGet = function attrGet (name) {\n const idx = this.attrIndex(name)\n let value = null\n if (idx >= 0) {\n value = this.attrs[idx][1]\n }\n return value\n}\n\n/**\n * Token.attrJoin(name, value)\n *\n * Join value to existing attribute via space. Or create new attribute if not\n * exists. Useful to operate with token classes.\n **/\nToken.prototype.attrJoin = function attrJoin (name, value) {\n const idx = this.attrIndex(name)\n\n if (idx < 0) {\n this.attrPush([name, value])\n } else {\n this.attrs[idx][1] = this.attrs[idx][1] + ' ' + value\n }\n}\n\nexport default Token\n","// Core state object\n//\n\nimport Token from '../token.mjs'\n\nfunction StateCore (src, md, env) {\n this.src = src\n this.env = env\n this.tokens = []\n this.inlineMode = false\n this.md = md // link to parser instance\n}\n\n// re-export Token class to use in core rules\nStateCore.prototype.Token = Token\n\nexport default StateCore\n","// Normalize input string\n\n// https://spec.commonmark.org/0.29/#line-ending\nconst NEWLINES_RE = /\\r\\n?|\\n/g\nconst NULL_RE = /\\0/g\n\nexport default function normalize (state) {\n let str\n\n // Normalize newlines\n str = state.src.replace(NEWLINES_RE, '\\n')\n\n // Replace NULL characters\n str = str.replace(NULL_RE, '\\uFFFD')\n\n state.src = str\n}\n","export default function block (state) {\n let token\n\n if (state.inlineMode) {\n token = new state.Token('inline', '', 0)\n token.content = state.src\n token.map = [0, 1]\n token.children = []\n state.tokens.push(token)\n } else {\n state.md.block.parse(state.src, state.md, state.env, state.tokens)\n }\n}\n","export default function inline (state) {\n const tokens = state.tokens\n\n // Parse inlines\n for (let i = 0, l = tokens.length; i < l; i++) {\n const tok = tokens[i]\n if (tok.type === 'inline') {\n state.md.inline.parse(tok.content, state.md, state.env, tok.children)\n }\n }\n}\n","// Replace link-like texts with link nodes.\n//\n// Currently restricted by `md.validateLink()` to http/https/ftp\n//\n\nimport { arrayReplaceAt } from '../common/utils.mjs'\n\nfunction isLinkOpen (str) {\n return /^\\s]/i.test(str)\n}\nfunction isLinkClose (str) {\n return /^<\\/a\\s*>/i.test(str)\n}\n\nexport default function linkify (state) {\n const blockTokens = state.tokens\n\n if (!state.md.options.linkify) { return }\n\n for (let j = 0, l = blockTokens.length; j < l; j++) {\n if (blockTokens[j].type !== 'inline' ||\n !state.md.linkify.pretest(blockTokens[j].content)) {\n continue\n }\n\n let tokens = blockTokens[j].children\n\n let htmlLinkLevel = 0\n\n // We scan from the end, to keep position when new tags added.\n // Use reversed logic in links start/end match\n for (let i = tokens.length - 1; i >= 0; i--) {\n const currentToken = tokens[i]\n\n // Skip content of markdown links\n if (currentToken.type === 'link_close') {\n i--\n while (tokens[i].level !== currentToken.level && tokens[i].type !== 'link_open') {\n i--\n }\n continue\n }\n\n // Skip content of html tag links\n if (currentToken.type === 'html_inline') {\n if (isLinkOpen(currentToken.content) && htmlLinkLevel > 0) {\n htmlLinkLevel--\n }\n if (isLinkClose(currentToken.content)) {\n htmlLinkLevel++\n }\n }\n if (htmlLinkLevel > 0) { continue }\n\n if (currentToken.type === 'text' && state.md.linkify.test(currentToken.content)) {\n const text = currentToken.content\n let links = state.md.linkify.match(text)\n\n // Now split string to nodes\n const nodes = []\n let level = currentToken.level\n let lastPos = 0\n\n // forbid escape sequence at the start of the string,\n // this avoids http\\://example.com/ from being linkified as\n // http://example.com/\n if (links.length > 0 &&\n links[0].index === 0 &&\n i > 0 &&\n tokens[i - 1].type === 'text_special') {\n links = links.slice(1)\n }\n\n for (let ln = 0; ln < links.length; ln++) {\n const url = links[ln].url\n const fullUrl = state.md.normalizeLink(url)\n if (!state.md.validateLink(fullUrl)) { continue }\n\n let urlText = links[ln].text\n\n // Linkifier might send raw hostnames like \"example.com\", where url\n // starts with domain name. So we prepend http:// in those cases,\n // and remove it afterwards.\n //\n if (!links[ln].schema) {\n urlText = state.md.normalizeLinkText('http://' + urlText).replace(/^http:\\/\\//, '')\n } else if (links[ln].schema === 'mailto:' && !/^mailto:/i.test(urlText)) {\n urlText = state.md.normalizeLinkText('mailto:' + urlText).replace(/^mailto:/, '')\n } else {\n urlText = state.md.normalizeLinkText(urlText)\n }\n\n const pos = links[ln].index\n\n if (pos > lastPos) {\n const token = new state.Token('text', '', 0)\n token.content = text.slice(lastPos, pos)\n token.level = level\n nodes.push(token)\n }\n\n const token_o = new state.Token('link_open', 'a', 1)\n token_o.attrs = [['href', fullUrl]]\n token_o.level = level++\n token_o.markup = 'linkify'\n token_o.info = 'auto'\n nodes.push(token_o)\n\n const token_t = new state.Token('text', '', 0)\n token_t.content = urlText\n token_t.level = level\n nodes.push(token_t)\n\n const token_c = new state.Token('link_close', 'a', -1)\n token_c.level = --level\n token_c.markup = 'linkify'\n token_c.info = 'auto'\n nodes.push(token_c)\n\n lastPos = links[ln].lastIndex\n }\n if (lastPos < text.length) {\n const token = new state.Token('text', '', 0)\n token.content = text.slice(lastPos)\n token.level = level\n nodes.push(token)\n }\n\n // replace current node\n blockTokens[j].children = tokens = arrayReplaceAt(tokens, i, nodes)\n }\n }\n }\n}\n","// Simple typographic replacements\n//\n// (c) (C) → ©\n// (tm) (TM) → ™\n// (r) (R) → ®\n// +- → ±\n// ... → … (also ?.... → ?.., !.... → !..)\n// ???????? → ???, !!!!! → !!!, `,,` → `,`\n// -- → –, --- → —\n//\n\n// TODO:\n// - fractionals 1/2, 1/4, 3/4 -> ½, ¼, ¾\n// - multiplications 2 x 4 -> 2 × 4\n\nconst RARE_RE = /\\+-|\\.\\.|\\?\\?\\?\\?|!!!!|,,|--/\n\n// Workaround for phantomjs - need regex without /g flag,\n// or root check will fail every second time\nconst SCOPED_ABBR_TEST_RE = /\\((c|tm|r)\\)/i\n\nconst SCOPED_ABBR_RE = /\\((c|tm|r)\\)/ig\nconst SCOPED_ABBR = {\n c: '©',\n r: '®',\n tm: '™'\n}\n\nfunction replaceFn (match, name) {\n return SCOPED_ABBR[name.toLowerCase()]\n}\n\nfunction replace_scoped (inlineTokens) {\n let inside_autolink = 0\n\n for (let i = inlineTokens.length - 1; i >= 0; i--) {\n const token = inlineTokens[i]\n\n if (token.type === 'text' && !inside_autolink) {\n token.content = token.content.replace(SCOPED_ABBR_RE, replaceFn)\n }\n\n if (token.type === 'link_open' && token.info === 'auto') {\n inside_autolink--\n }\n\n if (token.type === 'link_close' && token.info === 'auto') {\n inside_autolink++\n }\n }\n}\n\nfunction replace_rare (inlineTokens) {\n let inside_autolink = 0\n\n for (let i = inlineTokens.length - 1; i >= 0; i--) {\n const token = inlineTokens[i]\n\n if (token.type === 'text' && !inside_autolink) {\n if (RARE_RE.test(token.content)) {\n token.content = token.content\n .replace(/\\+-/g, '±')\n // .., ..., ....... -> …\n // but ?..... & !..... -> ?.. & !..\n .replace(/\\.{2,}/g, '…').replace(/([?!])…/g, '$1..')\n .replace(/([?!]){4,}/g, '$1$1$1').replace(/,{2,}/g, ',')\n // em-dash\n .replace(/(^|[^-])---(?=[^-]|$)/mg, '$1\\u2014')\n // en-dash\n .replace(/(^|\\s)--(?=\\s|$)/mg, '$1\\u2013')\n .replace(/(^|[^-\\s])--(?=[^-\\s]|$)/mg, '$1\\u2013')\n }\n }\n\n if (token.type === 'link_open' && token.info === 'auto') {\n inside_autolink--\n }\n\n if (token.type === 'link_close' && token.info === 'auto') {\n inside_autolink++\n }\n }\n}\n\nexport default function replace (state) {\n let blkIdx\n\n if (!state.md.options.typographer) { return }\n\n for (blkIdx = state.tokens.length - 1; blkIdx >= 0; blkIdx--) {\n if (state.tokens[blkIdx].type !== 'inline') { continue }\n\n if (SCOPED_ABBR_TEST_RE.test(state.tokens[blkIdx].content)) {\n replace_scoped(state.tokens[blkIdx].children)\n }\n\n if (RARE_RE.test(state.tokens[blkIdx].content)) {\n replace_rare(state.tokens[blkIdx].children)\n }\n }\n}\n","// Convert straight quotation marks to typographic ones\n//\n\nimport { isWhiteSpace, isPunctChar, isMdAsciiPunct } from '../common/utils.mjs'\n\nconst QUOTE_TEST_RE = /['\"]/\nconst QUOTE_RE = /['\"]/g\nconst APOSTROPHE = '\\u2019' /* ’ */\n\nfunction replaceAt (str, index, ch) {\n return str.slice(0, index) + ch + str.slice(index + 1)\n}\n\nfunction process_inlines (tokens, state) {\n let j\n\n const stack = []\n\n for (let i = 0; i < tokens.length; i++) {\n const token = tokens[i]\n\n const thisLevel = tokens[i].level\n\n for (j = stack.length - 1; j >= 0; j--) {\n if (stack[j].level <= thisLevel) { break }\n }\n stack.length = j + 1\n\n if (token.type !== 'text') { continue }\n\n let text = token.content\n let pos = 0\n let max = text.length\n\n /* eslint no-labels:0,block-scoped-var:0 */\n OUTER:\n while (pos < max) {\n QUOTE_RE.lastIndex = pos\n const t = QUOTE_RE.exec(text)\n if (!t) { break }\n\n let canOpen = true\n let canClose = true\n pos = t.index + 1\n const isSingle = (t[0] === \"'\")\n\n // Find previous character,\n // default to space if it's the beginning of the line\n //\n let lastChar = 0x20\n\n if (t.index - 1 >= 0) {\n lastChar = text.charCodeAt(t.index - 1)\n } else {\n for (j = i - 1; j >= 0; j--) {\n if (tokens[j].type === 'softbreak' || tokens[j].type === 'hardbreak') break // lastChar defaults to 0x20\n if (!tokens[j].content) continue // should skip all tokens except 'text', 'html_inline' or 'code_inline'\n\n lastChar = tokens[j].content.charCodeAt(tokens[j].content.length - 1)\n break\n }\n }\n\n // Find next character,\n // default to space if it's the end of the line\n //\n let nextChar = 0x20\n\n if (pos < max) {\n nextChar = text.charCodeAt(pos)\n } else {\n for (j = i + 1; j < tokens.length; j++) {\n if (tokens[j].type === 'softbreak' || tokens[j].type === 'hardbreak') break // nextChar defaults to 0x20\n if (!tokens[j].content) continue // should skip all tokens except 'text', 'html_inline' or 'code_inline'\n\n nextChar = tokens[j].content.charCodeAt(0)\n break\n }\n }\n\n const isLastPunctChar = isMdAsciiPunct(lastChar) || isPunctChar(String.fromCharCode(lastChar))\n const isNextPunctChar = isMdAsciiPunct(nextChar) || isPunctChar(String.fromCharCode(nextChar))\n\n const isLastWhiteSpace = isWhiteSpace(lastChar)\n const isNextWhiteSpace = isWhiteSpace(nextChar)\n\n if (isNextWhiteSpace) {\n canOpen = false\n } else if (isNextPunctChar) {\n if (!(isLastWhiteSpace || isLastPunctChar)) {\n canOpen = false\n }\n }\n\n if (isLastWhiteSpace) {\n canClose = false\n } else if (isLastPunctChar) {\n if (!(isNextWhiteSpace || isNextPunctChar)) {\n canClose = false\n }\n }\n\n if (nextChar === 0x22 /* \" */ && t[0] === '\"') {\n if (lastChar >= 0x30 /* 0 */ && lastChar <= 0x39 /* 9 */) {\n // special case: 1\"\" - count first quote as an inch\n canClose = canOpen = false\n }\n }\n\n if (canOpen && canClose) {\n // Replace quotes in the middle of punctuation sequence, but not\n // in the middle of the words, i.e.:\n //\n // 1. foo \" bar \" baz - not replaced\n // 2. foo-\"-bar-\"-baz - replaced\n // 3. foo\"bar\"baz - not replaced\n //\n canOpen = isLastPunctChar\n canClose = isNextPunctChar\n }\n\n if (!canOpen && !canClose) {\n // middle of word\n if (isSingle) {\n token.content = replaceAt(token.content, t.index, APOSTROPHE)\n }\n continue\n }\n\n if (canClose) {\n // this could be a closing quote, rewind the stack to get a match\n for (j = stack.length - 1; j >= 0; j--) {\n let item = stack[j]\n if (stack[j].level < thisLevel) { break }\n if (item.single === isSingle && stack[j].level === thisLevel) {\n item = stack[j]\n\n let openQuote\n let closeQuote\n if (isSingle) {\n openQuote = state.md.options.quotes[2]\n closeQuote = state.md.options.quotes[3]\n } else {\n openQuote = state.md.options.quotes[0]\n closeQuote = state.md.options.quotes[1]\n }\n\n // replace token.content *before* tokens[item.token].content,\n // because, if they are pointing at the same token, replaceAt\n // could mess up indices when quote length != 1\n token.content = replaceAt(token.content, t.index, closeQuote)\n tokens[item.token].content = replaceAt(\n tokens[item.token].content, item.pos, openQuote)\n\n pos += closeQuote.length - 1\n if (item.token === i) { pos += openQuote.length - 1 }\n\n text = token.content\n max = text.length\n\n stack.length = j\n continue OUTER\n }\n }\n }\n\n if (canOpen) {\n stack.push({\n token: i,\n pos: t.index,\n single: isSingle,\n level: thisLevel\n })\n } else if (canClose && isSingle) {\n token.content = replaceAt(token.content, t.index, APOSTROPHE)\n }\n }\n }\n}\n\nexport default function smartquotes (state) {\n /* eslint max-depth:0 */\n if (!state.md.options.typographer) { return }\n\n for (let blkIdx = state.tokens.length - 1; blkIdx >= 0; blkIdx--) {\n if (state.tokens[blkIdx].type !== 'inline' ||\n !QUOTE_TEST_RE.test(state.tokens[blkIdx].content)) {\n continue\n }\n\n process_inlines(state.tokens[blkIdx].children, state)\n }\n}\n","// Join raw text tokens with the rest of the text\n//\n// This is set as a separate rule to provide an opportunity for plugins\n// to run text replacements after text join, but before escape join.\n//\n// For example, `\\:)` shouldn't be replaced with an emoji.\n//\n\nexport default function text_join (state) {\n let curr, last\n const blockTokens = state.tokens\n const l = blockTokens.length\n\n for (let j = 0; j < l; j++) {\n if (blockTokens[j].type !== 'inline') continue\n\n const tokens = blockTokens[j].children\n const max = tokens.length\n\n for (curr = 0; curr < max; curr++) {\n if (tokens[curr].type === 'text_special') {\n tokens[curr].type = 'text'\n }\n }\n\n for (curr = last = 0; curr < max; curr++) {\n if (tokens[curr].type === 'text' &&\n curr + 1 < max &&\n tokens[curr + 1].type === 'text') {\n // collapse two adjacent text nodes\n tokens[curr + 1].content = tokens[curr].content + tokens[curr + 1].content\n } else {\n if (curr !== last) { tokens[last] = tokens[curr] }\n\n last++\n }\n }\n\n if (curr !== last) {\n tokens.length = last\n }\n }\n}\n","/** internal\n * class Core\n *\n * Top-level rules executor. Glues block/inline parsers and does intermediate\n * transformations.\n **/\n\nimport Ruler from './ruler.mjs'\nimport StateCore from './rules_core/state_core.mjs'\n\nimport r_normalize from './rules_core/normalize.mjs'\nimport r_block from './rules_core/block.mjs'\nimport r_inline from './rules_core/inline.mjs'\nimport r_linkify from './rules_core/linkify.mjs'\nimport r_replacements from './rules_core/replacements.mjs'\nimport r_smartquotes from './rules_core/smartquotes.mjs'\nimport r_text_join from './rules_core/text_join.mjs'\n\nconst _rules = [\n ['normalize', r_normalize],\n ['block', r_block],\n ['inline', r_inline],\n ['linkify', r_linkify],\n ['replacements', r_replacements],\n ['smartquotes', r_smartquotes],\n // `text_join` finds `text_special` tokens (for escape sequences)\n // and joins them with the rest of the text\n ['text_join', r_text_join]\n]\n\n/**\n * new Core()\n **/\nfunction Core () {\n /**\n * Core#ruler -> Ruler\n *\n * [[Ruler]] instance. Keep configuration of core rules.\n **/\n this.ruler = new Ruler()\n\n for (let i = 0; i < _rules.length; i++) {\n this.ruler.push(_rules[i][0], _rules[i][1])\n }\n}\n\n/**\n * Core.process(state)\n *\n * Executes core chain rules.\n **/\nCore.prototype.process = function (state) {\n const rules = this.ruler.getRules('')\n\n for (let i = 0, l = rules.length; i < l; i++) {\n rules[i](state)\n }\n}\n\nCore.prototype.State = StateCore\n\nexport default Core\n","// Parser state class\n\nimport Token from '../token.mjs'\nimport { isSpace } from '../common/utils.mjs'\n\nfunction StateBlock (src, md, env, tokens) {\n this.src = src\n\n // link to parser instance\n this.md = md\n\n this.env = env\n\n //\n // Internal state vartiables\n //\n\n this.tokens = tokens\n\n this.bMarks = [] // line begin offsets for fast jumps\n this.eMarks = [] // line end offsets for fast jumps\n this.tShift = [] // offsets of the first non-space characters (tabs not expanded)\n this.sCount = [] // indents for each line (tabs expanded)\n\n // An amount of virtual spaces (tabs expanded) between beginning\n // of each line (bMarks) and real beginning of that line.\n //\n // It exists only as a hack because blockquotes override bMarks\n // losing information in the process.\n //\n // It's used only when expanding tabs, you can think about it as\n // an initial tab length, e.g. bsCount=21 applied to string `\\t123`\n // means first tab should be expanded to 4-21%4 === 3 spaces.\n //\n this.bsCount = []\n\n // block parser variables\n\n // required block content indent (for example, if we are\n // inside a list, it would be positioned after list marker)\n this.blkIndent = 0\n this.line = 0 // line index in src\n this.lineMax = 0 // lines count\n this.tight = false // loose/tight mode for lists\n this.ddIndent = -1 // indent of the current dd block (-1 if there isn't any)\n this.listIndent = -1 // indent of the current list block (-1 if there isn't any)\n\n // can be 'blockquote', 'list', 'root', 'paragraph' or 'reference'\n // used in lists to determine if they interrupt a paragraph\n this.parentType = 'root'\n\n this.level = 0\n\n // Create caches\n // Generate markers.\n const s = this.src\n\n for (let start = 0, pos = 0, indent = 0, offset = 0, len = s.length, indent_found = false; pos < len; pos++) {\n const ch = s.charCodeAt(pos)\n\n if (!indent_found) {\n if (isSpace(ch)) {\n indent++\n\n if (ch === 0x09) {\n offset += 4 - offset % 4\n } else {\n offset++\n }\n continue\n } else {\n indent_found = true\n }\n }\n\n if (ch === 0x0A || pos === len - 1) {\n if (ch !== 0x0A) { pos++ }\n this.bMarks.push(start)\n this.eMarks.push(pos)\n this.tShift.push(indent)\n this.sCount.push(offset)\n this.bsCount.push(0)\n\n indent_found = false\n indent = 0\n offset = 0\n start = pos + 1\n }\n }\n\n // Push fake entry to simplify cache bounds checks\n this.bMarks.push(s.length)\n this.eMarks.push(s.length)\n this.tShift.push(0)\n this.sCount.push(0)\n this.bsCount.push(0)\n\n this.lineMax = this.bMarks.length - 1 // don't count last fake line\n}\n\n// Push new token to \"stream\".\n//\nStateBlock.prototype.push = function (type, tag, nesting) {\n const token = new Token(type, tag, nesting)\n token.block = true\n\n if (nesting < 0) this.level-- // closing tag\n token.level = this.level\n if (nesting > 0) this.level++ // opening tag\n\n this.tokens.push(token)\n return token\n}\n\nStateBlock.prototype.isEmpty = function isEmpty (line) {\n return this.bMarks[line] + this.tShift[line] >= this.eMarks[line]\n}\n\nStateBlock.prototype.skipEmptyLines = function skipEmptyLines (from) {\n for (let max = this.lineMax; from < max; from++) {\n if (this.bMarks[from] + this.tShift[from] < this.eMarks[from]) {\n break\n }\n }\n return from\n}\n\n// Skip spaces from given position.\nStateBlock.prototype.skipSpaces = function skipSpaces (pos) {\n for (let max = this.src.length; pos < max; pos++) {\n const ch = this.src.charCodeAt(pos)\n if (!isSpace(ch)) { break }\n }\n return pos\n}\n\n// Skip spaces from given position in reverse.\nStateBlock.prototype.skipSpacesBack = function skipSpacesBack (pos, min) {\n if (pos <= min) { return pos }\n\n while (pos > min) {\n if (!isSpace(this.src.charCodeAt(--pos))) { return pos + 1 }\n }\n return pos\n}\n\n// Skip char codes from given position\nStateBlock.prototype.skipChars = function skipChars (pos, code) {\n for (let max = this.src.length; pos < max; pos++) {\n if (this.src.charCodeAt(pos) !== code) { break }\n }\n return pos\n}\n\n// Skip char codes reverse from given position - 1\nStateBlock.prototype.skipCharsBack = function skipCharsBack (pos, code, min) {\n if (pos <= min) { return pos }\n\n while (pos > min) {\n if (code !== this.src.charCodeAt(--pos)) { return pos + 1 }\n }\n return pos\n}\n\n// cut lines range from source.\nStateBlock.prototype.getLines = function getLines (begin, end, indent, keepLastLF) {\n if (begin >= end) {\n return ''\n }\n\n const queue = new Array(end - begin)\n\n for (let i = 0, line = begin; line < end; line++, i++) {\n let lineIndent = 0\n const lineStart = this.bMarks[line]\n let first = lineStart\n let last\n\n if (line + 1 < end || keepLastLF) {\n // No need for bounds check because we have fake entry on tail.\n last = this.eMarks[line] + 1\n } else {\n last = this.eMarks[line]\n }\n\n while (first < last && lineIndent < indent) {\n const ch = this.src.charCodeAt(first)\n\n if (isSpace(ch)) {\n if (ch === 0x09) {\n lineIndent += 4 - (lineIndent + this.bsCount[line]) % 4\n } else {\n lineIndent++\n }\n } else if (first - lineStart < this.tShift[line]) {\n // patched tShift masked characters to look like spaces (blockquotes, list markers)\n lineIndent++\n } else {\n break\n }\n\n first++\n }\n\n if (lineIndent > indent) {\n // partially expanding tabs in code blocks, e.g '\\t\\tfoobar'\n // with indent=2 becomes ' \\tfoobar'\n queue[i] = new Array(lineIndent - indent + 1).join(' ') + this.src.slice(first, last)\n } else {\n queue[i] = this.src.slice(first, last)\n }\n }\n\n return queue.join('')\n}\n\n// re-export Token class to use in block rules\nStateBlock.prototype.Token = Token\n\nexport default StateBlock\n","// GFM table, https://github.github.com/gfm/#tables-extension-\n\nimport { isSpace } from '../common/utils.mjs'\n\n// Limit the amount of empty autocompleted cells in a table,\n// see https://github.com/markdown-it/markdown-it/issues/1000,\n//\n// Both pulldown-cmark and commonmark-hs limit the number of cells this way to ~200k.\n// We set it to 65k, which can expand user input by a factor of x370\n// (256x256 square is 1.8kB expanded into 650kB).\nconst MAX_AUTOCOMPLETED_CELLS = 0x10000\n\nfunction getLine (state, line) {\n const pos = state.bMarks[line] + state.tShift[line]\n const max = state.eMarks[line]\n\n return state.src.slice(pos, max)\n}\n\nfunction escapedSplit (str) {\n const result = []\n const max = str.length\n\n let pos = 0\n let ch = str.charCodeAt(pos)\n let isEscaped = false\n let lastPos = 0\n let current = ''\n\n while (pos < max) {\n if (ch === 0x7c/* | */) {\n if (!isEscaped) {\n // pipe separating cells, '|'\n result.push(current + str.substring(lastPos, pos))\n current = ''\n lastPos = pos + 1\n } else {\n // escaped pipe, '\\|'\n current += str.substring(lastPos, pos - 1)\n lastPos = pos\n }\n }\n\n isEscaped = (ch === 0x5c/* \\ */)\n pos++\n\n ch = str.charCodeAt(pos)\n }\n\n result.push(current + str.substring(lastPos))\n\n return result\n}\n\nexport default function table (state, startLine, endLine, silent) {\n // should have at least two lines\n if (startLine + 2 > endLine) { return false }\n\n let nextLine = startLine + 1\n\n if (state.sCount[nextLine] < state.blkIndent) { return false }\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[nextLine] - state.blkIndent >= 4) { return false }\n\n // first character of the second line should be '|', '-', ':',\n // and no other characters are allowed but spaces;\n // basically, this is the equivalent of /^[-:|][-:|\\s]*$/ regexp\n\n let pos = state.bMarks[nextLine] + state.tShift[nextLine]\n if (pos >= state.eMarks[nextLine]) { return false }\n\n const firstCh = state.src.charCodeAt(pos++)\n if (firstCh !== 0x7C/* | */ && firstCh !== 0x2D/* - */ && firstCh !== 0x3A/* : */) { return false }\n\n if (pos >= state.eMarks[nextLine]) { return false }\n\n const secondCh = state.src.charCodeAt(pos++)\n if (secondCh !== 0x7C/* | */ && secondCh !== 0x2D/* - */ && secondCh !== 0x3A/* : */ && !isSpace(secondCh)) {\n return false\n }\n\n // if first character is '-', then second character must not be a space\n // (due to parsing ambiguity with list)\n if (firstCh === 0x2D/* - */ && isSpace(secondCh)) { return false }\n\n while (pos < state.eMarks[nextLine]) {\n const ch = state.src.charCodeAt(pos)\n\n if (ch !== 0x7C/* | */ && ch !== 0x2D/* - */ && ch !== 0x3A/* : */ && !isSpace(ch)) { return false }\n\n pos++\n }\n\n let lineText = getLine(state, startLine + 1)\n let columns = lineText.split('|')\n const aligns = []\n for (let i = 0; i < columns.length; i++) {\n const t = columns[i].trim()\n if (!t) {\n // allow empty columns before and after table, but not in between columns;\n // e.g. allow ` |---| `, disallow ` ---||--- `\n if (i === 0 || i === columns.length - 1) {\n continue\n } else {\n return false\n }\n }\n\n if (!/^:?-+:?$/.test(t)) { return false }\n if (t.charCodeAt(t.length - 1) === 0x3A/* : */) {\n aligns.push(t.charCodeAt(0) === 0x3A/* : */ ? 'center' : 'right')\n } else if (t.charCodeAt(0) === 0x3A/* : */) {\n aligns.push('left')\n } else {\n aligns.push('')\n }\n }\n\n lineText = getLine(state, startLine).trim()\n if (lineText.indexOf('|') === -1) { return false }\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false }\n columns = escapedSplit(lineText)\n if (columns.length && columns[0] === '') columns.shift()\n if (columns.length && columns[columns.length - 1] === '') columns.pop()\n\n // header row will define an amount of columns in the entire table,\n // and align row should be exactly the same (the rest of the rows can differ)\n const columnCount = columns.length\n if (columnCount === 0 || columnCount !== aligns.length) { return false }\n\n if (silent) { return true }\n\n const oldParentType = state.parentType\n state.parentType = 'table'\n\n // use 'blockquote' lists for termination because it's\n // the most similar to tables\n const terminatorRules = state.md.block.ruler.getRules('blockquote')\n\n const token_to = state.push('table_open', 'table', 1)\n const tableLines = [startLine, 0]\n token_to.map = tableLines\n\n const token_tho = state.push('thead_open', 'thead', 1)\n token_tho.map = [startLine, startLine + 1]\n\n const token_htro = state.push('tr_open', 'tr', 1)\n token_htro.map = [startLine, startLine + 1]\n\n for (let i = 0; i < columns.length; i++) {\n const token_ho = state.push('th_open', 'th', 1)\n if (aligns[i]) {\n token_ho.attrs = [['style', 'text-align:' + aligns[i]]]\n }\n\n const token_il = state.push('inline', '', 0)\n token_il.content = columns[i].trim()\n token_il.children = []\n\n state.push('th_close', 'th', -1)\n }\n\n state.push('tr_close', 'tr', -1)\n state.push('thead_close', 'thead', -1)\n\n let tbodyLines\n let autocompletedCells = 0\n\n for (nextLine = startLine + 2; nextLine < endLine; nextLine++) {\n if (state.sCount[nextLine] < state.blkIndent) { break }\n\n let terminate = false\n for (let i = 0, l = terminatorRules.length; i < l; i++) {\n if (terminatorRules[i](state, nextLine, endLine, true)) {\n terminate = true\n break\n }\n }\n\n if (terminate) { break }\n lineText = getLine(state, nextLine).trim()\n if (!lineText) { break }\n if (state.sCount[nextLine] - state.blkIndent >= 4) { break }\n columns = escapedSplit(lineText)\n if (columns.length && columns[0] === '') columns.shift()\n if (columns.length && columns[columns.length - 1] === '') columns.pop()\n\n // note: autocomplete count can be negative if user specifies more columns than header,\n // but that does not affect intended use (which is limiting expansion)\n autocompletedCells += columnCount - columns.length\n if (autocompletedCells > MAX_AUTOCOMPLETED_CELLS) { break }\n\n if (nextLine === startLine + 2) {\n const token_tbo = state.push('tbody_open', 'tbody', 1)\n token_tbo.map = tbodyLines = [startLine + 2, 0]\n }\n\n const token_tro = state.push('tr_open', 'tr', 1)\n token_tro.map = [nextLine, nextLine + 1]\n\n for (let i = 0; i < columnCount; i++) {\n const token_tdo = state.push('td_open', 'td', 1)\n if (aligns[i]) {\n token_tdo.attrs = [['style', 'text-align:' + aligns[i]]]\n }\n\n const token_il = state.push('inline', '', 0)\n token_il.content = columns[i] ? columns[i].trim() : ''\n token_il.children = []\n\n state.push('td_close', 'td', -1)\n }\n state.push('tr_close', 'tr', -1)\n }\n\n if (tbodyLines) {\n state.push('tbody_close', 'tbody', -1)\n tbodyLines[1] = nextLine\n }\n\n state.push('table_close', 'table', -1)\n tableLines[1] = nextLine\n\n state.parentType = oldParentType\n state.line = nextLine\n return true\n}\n","// Code block (4 spaces padded)\n\nexport default function code (state, startLine, endLine/*, silent */) {\n if (state.sCount[startLine] - state.blkIndent < 4) { return false }\n\n let nextLine = startLine + 1\n let last = nextLine\n\n while (nextLine < endLine) {\n if (state.isEmpty(nextLine)) {\n nextLine++\n continue\n }\n\n if (state.sCount[nextLine] - state.blkIndent >= 4) {\n nextLine++\n last = nextLine\n continue\n }\n break\n }\n\n state.line = last\n\n const token = state.push('code_block', 'code', 0)\n token.content = state.getLines(startLine, last, 4 + state.blkIndent, false) + '\\n'\n token.map = [startLine, state.line]\n\n return true\n}\n","// fences (``` lang, ~~~ lang)\n\nexport default function fence (state, startLine, endLine, silent) {\n let pos = state.bMarks[startLine] + state.tShift[startLine]\n let max = state.eMarks[startLine]\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false }\n\n if (pos + 3 > max) { return false }\n\n const marker = state.src.charCodeAt(pos)\n\n if (marker !== 0x7E/* ~ */ && marker !== 0x60 /* ` */) {\n return false\n }\n\n // scan marker length\n let mem = pos\n pos = state.skipChars(pos, marker)\n\n let len = pos - mem\n\n if (len < 3) { return false }\n\n const markup = state.src.slice(mem, pos)\n const params = state.src.slice(pos, max)\n\n if (marker === 0x60 /* ` */) {\n if (params.indexOf(String.fromCharCode(marker)) >= 0) {\n return false\n }\n }\n\n // Since start is found, we can report success here in validation mode\n if (silent) { return true }\n\n // search end of block\n let nextLine = startLine\n let haveEndMarker = false\n\n for (;;) {\n nextLine++\n if (nextLine >= endLine) {\n // unclosed block should be autoclosed by end of document.\n // also block seems to be autoclosed by end of parent\n break\n }\n\n pos = mem = state.bMarks[nextLine] + state.tShift[nextLine]\n max = state.eMarks[nextLine]\n\n if (pos < max && state.sCount[nextLine] < state.blkIndent) {\n // non-empty line with negative indent should stop the list:\n // - ```\n // test\n break\n }\n\n if (state.src.charCodeAt(pos) !== marker) { continue }\n\n if (state.sCount[nextLine] - state.blkIndent >= 4) {\n // closing fence should be indented less than 4 spaces\n continue\n }\n\n pos = state.skipChars(pos, marker)\n\n // closing code fence must be at least as long as the opening one\n if (pos - mem < len) { continue }\n\n // make sure tail has spaces only\n pos = state.skipSpaces(pos)\n\n if (pos < max) { continue }\n\n haveEndMarker = true\n // found!\n break\n }\n\n // If a fence has heading spaces, they should be removed from its inner block\n len = state.sCount[startLine]\n\n state.line = nextLine + (haveEndMarker ? 1 : 0)\n\n const token = state.push('fence', 'code', 0)\n token.info = params\n token.content = state.getLines(startLine + 1, nextLine, len, true)\n token.markup = markup\n token.map = [startLine, state.line]\n\n return true\n}\n","// Block quotes\n\nimport { isSpace } from '../common/utils.mjs'\n\nexport default function blockquote (state, startLine, endLine, silent) {\n let pos = state.bMarks[startLine] + state.tShift[startLine]\n let max = state.eMarks[startLine]\n\n const oldLineMax = state.lineMax\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false }\n\n // check the block quote marker\n if (state.src.charCodeAt(pos) !== 0x3E/* > */) { return false }\n\n // we know that it's going to be a valid blockquote,\n // so no point trying to find the end of it in silent mode\n if (silent) { return true }\n\n const oldBMarks = []\n const oldBSCount = []\n const oldSCount = []\n const oldTShift = []\n\n const terminatorRules = state.md.block.ruler.getRules('blockquote')\n\n const oldParentType = state.parentType\n state.parentType = 'blockquote'\n let lastLineEmpty = false\n let nextLine\n\n // Search the end of the block\n //\n // Block ends with either:\n // 1. an empty line outside:\n // ```\n // > test\n //\n // ```\n // 2. an empty line inside:\n // ```\n // >\n // test\n // ```\n // 3. another tag:\n // ```\n // > test\n // - - -\n // ```\n for (nextLine = startLine; nextLine < endLine; nextLine++) {\n // check if it's outdented, i.e. it's inside list item and indented\n // less than said list item:\n //\n // ```\n // 1. anything\n // > current blockquote\n // 2. checking this line\n // ```\n const isOutdented = state.sCount[nextLine] < state.blkIndent\n\n pos = state.bMarks[nextLine] + state.tShift[nextLine]\n max = state.eMarks[nextLine]\n\n if (pos >= max) {\n // Case 1: line is not inside the blockquote, and this line is empty.\n break\n }\n\n if (state.src.charCodeAt(pos++) === 0x3E/* > */ && !isOutdented) {\n // This line is inside the blockquote.\n\n // set offset past spaces and \">\"\n let initial = state.sCount[nextLine] + 1\n let spaceAfterMarker\n let adjustTab\n\n // skip one optional space after '>'\n if (state.src.charCodeAt(pos) === 0x20 /* space */) {\n // ' > test '\n // ^ -- position start of line here:\n pos++\n initial++\n adjustTab = false\n spaceAfterMarker = true\n } else if (state.src.charCodeAt(pos) === 0x09 /* tab */) {\n spaceAfterMarker = true\n\n if ((state.bsCount[nextLine] + initial) % 4 === 3) {\n // ' >\\t test '\n // ^ -- position start of line here (tab has width===1)\n pos++\n initial++\n adjustTab = false\n } else {\n // ' >\\t test '\n // ^ -- position start of line here + shift bsCount slightly\n // to make extra space appear\n adjustTab = true\n }\n } else {\n spaceAfterMarker = false\n }\n\n let offset = initial\n oldBMarks.push(state.bMarks[nextLine])\n state.bMarks[nextLine] = pos\n\n while (pos < max) {\n const ch = state.src.charCodeAt(pos)\n\n if (isSpace(ch)) {\n if (ch === 0x09) {\n offset += 4 - (offset + state.bsCount[nextLine] + (adjustTab ? 1 : 0)) % 4\n } else {\n offset++\n }\n } else {\n break\n }\n\n pos++\n }\n\n lastLineEmpty = pos >= max\n\n oldBSCount.push(state.bsCount[nextLine])\n state.bsCount[nextLine] = state.sCount[nextLine] + 1 + (spaceAfterMarker ? 1 : 0)\n\n oldSCount.push(state.sCount[nextLine])\n state.sCount[nextLine] = offset - initial\n\n oldTShift.push(state.tShift[nextLine])\n state.tShift[nextLine] = pos - state.bMarks[nextLine]\n continue\n }\n\n // Case 2: line is not inside the blockquote, and the last line was empty.\n if (lastLineEmpty) { break }\n\n // Case 3: another tag found.\n let terminate = false\n for (let i = 0, l = terminatorRules.length; i < l; i++) {\n if (terminatorRules[i](state, nextLine, endLine, true)) {\n terminate = true\n break\n }\n }\n\n if (terminate) {\n // Quirk to enforce \"hard termination mode\" for paragraphs;\n // normally if you call `tokenize(state, startLine, nextLine)`,\n // paragraphs will look below nextLine for paragraph continuation,\n // but if blockquote is terminated by another tag, they shouldn't\n state.lineMax = nextLine\n\n if (state.blkIndent !== 0) {\n // state.blkIndent was non-zero, we now set it to zero,\n // so we need to re-calculate all offsets to appear as\n // if indent wasn't changed\n oldBMarks.push(state.bMarks[nextLine])\n oldBSCount.push(state.bsCount[nextLine])\n oldTShift.push(state.tShift[nextLine])\n oldSCount.push(state.sCount[nextLine])\n state.sCount[nextLine] -= state.blkIndent\n }\n\n break\n }\n\n oldBMarks.push(state.bMarks[nextLine])\n oldBSCount.push(state.bsCount[nextLine])\n oldTShift.push(state.tShift[nextLine])\n oldSCount.push(state.sCount[nextLine])\n\n // A negative indentation means that this is a paragraph continuation\n //\n state.sCount[nextLine] = -1\n }\n\n const oldIndent = state.blkIndent\n state.blkIndent = 0\n\n const token_o = state.push('blockquote_open', 'blockquote', 1)\n token_o.markup = '>'\n const lines = [startLine, 0]\n token_o.map = lines\n\n state.md.block.tokenize(state, startLine, nextLine)\n\n const token_c = state.push('blockquote_close', 'blockquote', -1)\n token_c.markup = '>'\n\n state.lineMax = oldLineMax\n state.parentType = oldParentType\n lines[1] = state.line\n\n // Restore original tShift; this might not be necessary since the parser\n // has already been here, but just to make sure we can do that.\n for (let i = 0; i < oldTShift.length; i++) {\n state.bMarks[i + startLine] = oldBMarks[i]\n state.tShift[i + startLine] = oldTShift[i]\n state.sCount[i + startLine] = oldSCount[i]\n state.bsCount[i + startLine] = oldBSCount[i]\n }\n state.blkIndent = oldIndent\n\n return true\n}\n","// Horizontal rule\n\nimport { isSpace } from '../common/utils.mjs'\n\nexport default function hr (state, startLine, endLine, silent) {\n const max = state.eMarks[startLine]\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false }\n\n let pos = state.bMarks[startLine] + state.tShift[startLine]\n const marker = state.src.charCodeAt(pos++)\n\n // Check hr marker\n if (marker !== 0x2A/* * */ &&\n marker !== 0x2D/* - */ &&\n marker !== 0x5F/* _ */) {\n return false\n }\n\n // markers can be mixed with spaces, but there should be at least 3 of them\n\n let cnt = 1\n while (pos < max) {\n const ch = state.src.charCodeAt(pos++)\n if (ch !== marker && !isSpace(ch)) { return false }\n if (ch === marker) { cnt++ }\n }\n\n if (cnt < 3) { return false }\n\n if (silent) { return true }\n\n state.line = startLine + 1\n\n const token = state.push('hr', 'hr', 0)\n token.map = [startLine, state.line]\n token.markup = Array(cnt + 1).join(String.fromCharCode(marker))\n\n return true\n}\n","// Lists\n\nimport { isSpace } from '../common/utils.mjs'\n\n// Search `[-+*][\\n ]`, returns next pos after marker on success\n// or -1 on fail.\nfunction skipBulletListMarker (state, startLine) {\n const max = state.eMarks[startLine]\n let pos = state.bMarks[startLine] + state.tShift[startLine]\n\n const marker = state.src.charCodeAt(pos++)\n // Check bullet\n if (marker !== 0x2A/* * */ &&\n marker !== 0x2D/* - */ &&\n marker !== 0x2B/* + */) {\n return -1\n }\n\n if (pos < max) {\n const ch = state.src.charCodeAt(pos)\n\n if (!isSpace(ch)) {\n // \" -test \" - is not a list item\n return -1\n }\n }\n\n return pos\n}\n\n// Search `\\d+[.)][\\n ]`, returns next pos after marker on success\n// or -1 on fail.\nfunction skipOrderedListMarker (state, startLine) {\n const start = state.bMarks[startLine] + state.tShift[startLine]\n const max = state.eMarks[startLine]\n let pos = start\n\n // List marker should have at least 2 chars (digit + dot)\n if (pos + 1 >= max) { return -1 }\n\n let ch = state.src.charCodeAt(pos++)\n\n if (ch < 0x30/* 0 */ || ch > 0x39/* 9 */) { return -1 }\n\n for (;;) {\n // EOL -> fail\n if (pos >= max) { return -1 }\n\n ch = state.src.charCodeAt(pos++)\n\n if (ch >= 0x30/* 0 */ && ch <= 0x39/* 9 */) {\n // List marker should have no more than 9 digits\n // (prevents integer overflow in browsers)\n if (pos - start >= 10) { return -1 }\n\n continue\n }\n\n // found valid marker\n if (ch === 0x29/* ) */ || ch === 0x2e/* . */) {\n break\n }\n\n return -1\n }\n\n if (pos < max) {\n ch = state.src.charCodeAt(pos)\n\n if (!isSpace(ch)) {\n // \" 1.test \" - is not a list item\n return -1\n }\n }\n return pos\n}\n\nfunction markTightParagraphs (state, idx) {\n const level = state.level + 2\n\n for (let i = idx + 2, l = state.tokens.length - 2; i < l; i++) {\n if (state.tokens[i].level === level && state.tokens[i].type === 'paragraph_open') {\n state.tokens[i + 2].hidden = true\n state.tokens[i].hidden = true\n i += 2\n }\n }\n}\n\nexport default function list (state, startLine, endLine, silent) {\n let max, pos, start, token\n let nextLine = startLine\n let tight = true\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[nextLine] - state.blkIndent >= 4) { return false }\n\n // Special case:\n // - item 1\n // - item 2\n // - item 3\n // - item 4\n // - this one is a paragraph continuation\n if (state.listIndent >= 0 &&\n state.sCount[nextLine] - state.listIndent >= 4 &&\n state.sCount[nextLine] < state.blkIndent) {\n return false\n }\n\n let isTerminatingParagraph = false\n\n // limit conditions when list can interrupt\n // a paragraph (validation mode only)\n if (silent && state.parentType === 'paragraph') {\n // Next list item should still terminate previous list item;\n //\n // This code can fail if plugins use blkIndent as well as lists,\n // but I hope the spec gets fixed long before that happens.\n //\n if (state.sCount[nextLine] >= state.blkIndent) {\n isTerminatingParagraph = true\n }\n }\n\n // Detect list type and position after marker\n let isOrdered\n let markerValue\n let posAfterMarker\n if ((posAfterMarker = skipOrderedListMarker(state, nextLine)) >= 0) {\n isOrdered = true\n start = state.bMarks[nextLine] + state.tShift[nextLine]\n markerValue = Number(state.src.slice(start, posAfterMarker - 1))\n\n // If we're starting a new ordered list right after\n // a paragraph, it should start with 1.\n if (isTerminatingParagraph && markerValue !== 1) return false\n } else if ((posAfterMarker = skipBulletListMarker(state, nextLine)) >= 0) {\n isOrdered = false\n } else {\n return false\n }\n\n // If we're starting a new unordered list right after\n // a paragraph, first line should not be empty.\n if (isTerminatingParagraph) {\n if (state.skipSpaces(posAfterMarker) >= state.eMarks[nextLine]) return false\n }\n\n // For validation mode we can terminate immediately\n if (silent) { return true }\n\n // We should terminate list on style change. Remember first one to compare.\n const markerCharCode = state.src.charCodeAt(posAfterMarker - 1)\n\n // Start list\n const listTokIdx = state.tokens.length\n\n if (isOrdered) {\n token = state.push('ordered_list_open', 'ol', 1)\n if (markerValue !== 1) {\n token.attrs = [['start', markerValue]]\n }\n } else {\n token = state.push('bullet_list_open', 'ul', 1)\n }\n\n const listLines = [nextLine, 0]\n token.map = listLines\n token.markup = String.fromCharCode(markerCharCode)\n\n //\n // Iterate list items\n //\n\n let prevEmptyEnd = false\n const terminatorRules = state.md.block.ruler.getRules('list')\n\n const oldParentType = state.parentType\n state.parentType = 'list'\n\n while (nextLine < endLine) {\n pos = posAfterMarker\n max = state.eMarks[nextLine]\n\n const initial = state.sCount[nextLine] + posAfterMarker - (state.bMarks[nextLine] + state.tShift[nextLine])\n let offset = initial\n\n while (pos < max) {\n const ch = state.src.charCodeAt(pos)\n\n if (ch === 0x09) {\n offset += 4 - (offset + state.bsCount[nextLine]) % 4\n } else if (ch === 0x20) {\n offset++\n } else {\n break\n }\n\n pos++\n }\n\n const contentStart = pos\n let indentAfterMarker\n\n if (contentStart >= max) {\n // trimming space in \"- \\n 3\" case, indent is 1 here\n indentAfterMarker = 1\n } else {\n indentAfterMarker = offset - initial\n }\n\n // If we have more than 4 spaces, the indent is 1\n // (the rest is just indented code block)\n if (indentAfterMarker > 4) { indentAfterMarker = 1 }\n\n // \" - test\"\n // ^^^^^ - calculating total length of this thing\n const indent = initial + indentAfterMarker\n\n // Run subparser & write tokens\n token = state.push('list_item_open', 'li', 1)\n token.markup = String.fromCharCode(markerCharCode)\n const itemLines = [nextLine, 0]\n token.map = itemLines\n if (isOrdered) {\n token.info = state.src.slice(start, posAfterMarker - 1)\n }\n\n // change current state, then restore it after parser subcall\n const oldTight = state.tight\n const oldTShift = state.tShift[nextLine]\n const oldSCount = state.sCount[nextLine]\n\n // - example list\n // ^ listIndent position will be here\n // ^ blkIndent position will be here\n //\n const oldListIndent = state.listIndent\n state.listIndent = state.blkIndent\n state.blkIndent = indent\n\n state.tight = true\n state.tShift[nextLine] = contentStart - state.bMarks[nextLine]\n state.sCount[nextLine] = offset\n\n if (contentStart >= max && state.isEmpty(nextLine + 1)) {\n // workaround for this case\n // (list item is empty, list terminates before \"foo\"):\n // ~~~~~~~~\n // -\n //\n // foo\n // ~~~~~~~~\n state.line = Math.min(state.line + 2, endLine)\n } else {\n state.md.block.tokenize(state, nextLine, endLine, true)\n }\n\n // If any of list item is tight, mark list as tight\n if (!state.tight || prevEmptyEnd) {\n tight = false\n }\n // Item become loose if finish with empty line,\n // but we should filter last element, because it means list finish\n prevEmptyEnd = (state.line - nextLine) > 1 && state.isEmpty(state.line - 1)\n\n state.blkIndent = state.listIndent\n state.listIndent = oldListIndent\n state.tShift[nextLine] = oldTShift\n state.sCount[nextLine] = oldSCount\n state.tight = oldTight\n\n token = state.push('list_item_close', 'li', -1)\n token.markup = String.fromCharCode(markerCharCode)\n\n nextLine = state.line\n itemLines[1] = nextLine\n\n if (nextLine >= endLine) { break }\n\n //\n // Try to check if list is terminated or continued.\n //\n if (state.sCount[nextLine] < state.blkIndent) { break }\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[nextLine] - state.blkIndent >= 4) { break }\n\n // fail if terminating block found\n let terminate = false\n for (let i = 0, l = terminatorRules.length; i < l; i++) {\n if (terminatorRules[i](state, nextLine, endLine, true)) {\n terminate = true\n break\n }\n }\n if (terminate) { break }\n\n // fail if list has another type\n if (isOrdered) {\n posAfterMarker = skipOrderedListMarker(state, nextLine)\n if (posAfterMarker < 0) { break }\n start = state.bMarks[nextLine] + state.tShift[nextLine]\n } else {\n posAfterMarker = skipBulletListMarker(state, nextLine)\n if (posAfterMarker < 0) { break }\n }\n\n if (markerCharCode !== state.src.charCodeAt(posAfterMarker - 1)) { break }\n }\n\n // Finalize list\n if (isOrdered) {\n token = state.push('ordered_list_close', 'ol', -1)\n } else {\n token = state.push('bullet_list_close', 'ul', -1)\n }\n token.markup = String.fromCharCode(markerCharCode)\n\n listLines[1] = nextLine\n state.line = nextLine\n\n state.parentType = oldParentType\n\n // mark paragraphs tight if needed\n if (tight) {\n markTightParagraphs(state, listTokIdx)\n }\n\n return true\n}\n","import { isSpace, normalizeReference } from '../common/utils.mjs'\n\nexport default function reference (state, startLine, _endLine, silent) {\n let pos = state.bMarks[startLine] + state.tShift[startLine]\n let max = state.eMarks[startLine]\n let nextLine = startLine + 1\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false }\n\n if (state.src.charCodeAt(pos) !== 0x5B/* [ */) { return false }\n\n function getNextLine (nextLine) {\n const endLine = state.lineMax\n\n if (nextLine >= endLine || state.isEmpty(nextLine)) {\n // empty line or end of input\n return null\n }\n\n let isContinuation = false\n\n // this would be a code block normally, but after paragraph\n // it's considered a lazy continuation regardless of what's there\n if (state.sCount[nextLine] - state.blkIndent > 3) { isContinuation = true }\n\n // quirk for blockquotes, this line should already be checked by that rule\n if (state.sCount[nextLine] < 0) { isContinuation = true }\n\n if (!isContinuation) {\n const terminatorRules = state.md.block.ruler.getRules('reference')\n const oldParentType = state.parentType\n state.parentType = 'reference'\n\n // Some tags can terminate paragraph without empty line.\n let terminate = false\n for (let i = 0, l = terminatorRules.length; i < l; i++) {\n if (terminatorRules[i](state, nextLine, endLine, true)) {\n terminate = true\n break\n }\n }\n\n state.parentType = oldParentType\n if (terminate) {\n // terminated by another block\n return null\n }\n }\n\n const pos = state.bMarks[nextLine] + state.tShift[nextLine]\n const max = state.eMarks[nextLine]\n\n // max + 1 explicitly includes the newline\n return state.src.slice(pos, max + 1)\n }\n\n let str = state.src.slice(pos, max + 1)\n\n max = str.length\n let labelEnd = -1\n\n for (pos = 1; pos < max; pos++) {\n const ch = str.charCodeAt(pos)\n if (ch === 0x5B /* [ */) {\n return false\n } else if (ch === 0x5D /* ] */) {\n labelEnd = pos\n break\n } else if (ch === 0x0A /* \\n */) {\n const lineContent = getNextLine(nextLine)\n if (lineContent !== null) {\n str += lineContent\n max = str.length\n nextLine++\n }\n } else if (ch === 0x5C /* \\ */) {\n pos++\n if (pos < max && str.charCodeAt(pos) === 0x0A) {\n const lineContent = getNextLine(nextLine)\n if (lineContent !== null) {\n str += lineContent\n max = str.length\n nextLine++\n }\n }\n }\n }\n\n if (labelEnd < 0 || str.charCodeAt(labelEnd + 1) !== 0x3A/* : */) { return false }\n\n // [label]: destination 'title'\n // ^^^ skip optional whitespace here\n for (pos = labelEnd + 2; pos < max; pos++) {\n const ch = str.charCodeAt(pos)\n if (ch === 0x0A) {\n const lineContent = getNextLine(nextLine)\n if (lineContent !== null) {\n str += lineContent\n max = str.length\n nextLine++\n }\n } else if (isSpace(ch)) {\n /* eslint no-empty:0 */\n } else {\n break\n }\n }\n\n // [label]: destination 'title'\n // ^^^^^^^^^^^ parse this\n const destRes = state.md.helpers.parseLinkDestination(str, pos, max)\n if (!destRes.ok) { return false }\n\n const href = state.md.normalizeLink(destRes.str)\n if (!state.md.validateLink(href)) { return false }\n\n pos = destRes.pos\n\n // save cursor state, we could require to rollback later\n const destEndPos = pos\n const destEndLineNo = nextLine\n\n // [label]: destination 'title'\n // ^^^ skipping those spaces\n const start = pos\n for (; pos < max; pos++) {\n const ch = str.charCodeAt(pos)\n if (ch === 0x0A) {\n const lineContent = getNextLine(nextLine)\n if (lineContent !== null) {\n str += lineContent\n max = str.length\n nextLine++\n }\n } else if (isSpace(ch)) {\n /* eslint no-empty:0 */\n } else {\n break\n }\n }\n\n // [label]: destination 'title'\n // ^^^^^^^ parse this\n let titleRes = state.md.helpers.parseLinkTitle(str, pos, max)\n while (titleRes.can_continue) {\n const lineContent = getNextLine(nextLine)\n if (lineContent === null) break\n str += lineContent\n pos = max\n max = str.length\n nextLine++\n titleRes = state.md.helpers.parseLinkTitle(str, pos, max, titleRes)\n }\n let title\n\n if (pos < max && start !== pos && titleRes.ok) {\n title = titleRes.str\n pos = titleRes.pos\n } else {\n title = ''\n pos = destEndPos\n nextLine = destEndLineNo\n }\n\n // skip trailing spaces until the rest of the line\n while (pos < max) {\n const ch = str.charCodeAt(pos)\n if (!isSpace(ch)) { break }\n pos++\n }\n\n if (pos < max && str.charCodeAt(pos) !== 0x0A) {\n if (title) {\n // garbage at the end of the line after title,\n // but it could still be a valid reference if we roll back\n title = ''\n pos = destEndPos\n nextLine = destEndLineNo\n while (pos < max) {\n const ch = str.charCodeAt(pos)\n if (!isSpace(ch)) { break }\n pos++\n }\n }\n }\n\n if (pos < max && str.charCodeAt(pos) !== 0x0A) {\n // garbage at the end of the line\n return false\n }\n\n const label = normalizeReference(str.slice(1, labelEnd))\n if (!label) {\n // CommonMark 0.20 disallows empty labels\n return false\n }\n\n // Reference can not terminate anything. This check is for safety only.\n /* istanbul ignore if */\n if (silent) { return true }\n\n if (typeof state.env.references === 'undefined') {\n state.env.references = {}\n }\n if (typeof state.env.references[label] === 'undefined') {\n state.env.references[label] = { title, href }\n }\n\n state.line = nextLine\n return true\n}\n","// List of valid html blocks names, according to commonmark spec\n// https://spec.commonmark.org/0.30/#html-blocks\n\nexport default [\n 'address',\n 'article',\n 'aside',\n 'base',\n 'basefont',\n 'blockquote',\n 'body',\n 'caption',\n 'center',\n 'col',\n 'colgroup',\n 'dd',\n 'details',\n 'dialog',\n 'dir',\n 'div',\n 'dl',\n 'dt',\n 'fieldset',\n 'figcaption',\n 'figure',\n 'footer',\n 'form',\n 'frame',\n 'frameset',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'head',\n 'header',\n 'hr',\n 'html',\n 'iframe',\n 'legend',\n 'li',\n 'link',\n 'main',\n 'menu',\n 'menuitem',\n 'nav',\n 'noframes',\n 'ol',\n 'optgroup',\n 'option',\n 'p',\n 'param',\n 'search',\n 'section',\n 'summary',\n 'table',\n 'tbody',\n 'td',\n 'tfoot',\n 'th',\n 'thead',\n 'title',\n 'tr',\n 'track',\n 'ul'\n]\n","// Regexps to match html elements\n\nconst attr_name = '[a-zA-Z_:][a-zA-Z0-9:._-]*'\n\nconst unquoted = '[^\"\\'=<>`\\\\x00-\\\\x20]+'\nconst single_quoted = \"'[^']*'\"\nconst double_quoted = '\"[^\"]*\"'\n\nconst attr_value = '(?:' + unquoted + '|' + single_quoted + '|' + double_quoted + ')'\n\nconst attribute = '(?:\\\\s+' + attr_name + '(?:\\\\s*=\\\\s*' + attr_value + ')?)'\n\nconst open_tag = '<[A-Za-z][A-Za-z0-9\\\\-]*' + attribute + '*\\\\s*\\\\/?>'\n\nconst close_tag = '<\\\\/[A-Za-z][A-Za-z0-9\\\\-]*\\\\s*>'\nconst comment = ''\nconst processing = '<[?][\\\\s\\\\S]*?[?]>'\nconst declaration = ']*>'\nconst cdata = ''\n\nconst HTML_TAG_RE = new RegExp('^(?:' + open_tag + '|' + close_tag + '|' + comment +\n '|' + processing + '|' + declaration + '|' + cdata + ')')\nconst HTML_OPEN_CLOSE_TAG_RE = new RegExp('^(?:' + open_tag + '|' + close_tag + ')')\n\nexport { HTML_TAG_RE, HTML_OPEN_CLOSE_TAG_RE }\n","// HTML block\n\nimport block_names from '../common/html_blocks.mjs'\nimport { HTML_OPEN_CLOSE_TAG_RE } from '../common/html_re.mjs'\n\n// An array of opening and corresponding closing sequences for html tags,\n// last argument defines whether it can terminate a paragraph or not\n//\nconst HTML_SEQUENCES = [\n [/^<(script|pre|style|textarea)(?=(\\s|>|$))/i, /<\\/(script|pre|style|textarea)>/i, true],\n [/^/, true],\n [/^<\\?/, /\\?>/, true],\n [/^/, true],\n [/^/, true],\n [new RegExp('^|$))', 'i'), /^$/, true],\n [new RegExp(HTML_OPEN_CLOSE_TAG_RE.source + '\\\\s*$'), /^$/, false]\n]\n\nexport default function html_block (state, startLine, endLine, silent) {\n let pos = state.bMarks[startLine] + state.tShift[startLine]\n let max = state.eMarks[startLine]\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false }\n\n if (!state.md.options.html) { return false }\n\n if (state.src.charCodeAt(pos) !== 0x3C/* < */) { return false }\n\n let lineText = state.src.slice(pos, max)\n\n let i = 0\n for (; i < HTML_SEQUENCES.length; i++) {\n if (HTML_SEQUENCES[i][0].test(lineText)) { break }\n }\n if (i === HTML_SEQUENCES.length) { return false }\n\n if (silent) {\n // true if this sequence can be a terminator, false otherwise\n return HTML_SEQUENCES[i][2]\n }\n\n let nextLine = startLine + 1\n\n // If we are here - we detected HTML block.\n // Let's roll down till block end.\n if (!HTML_SEQUENCES[i][1].test(lineText)) {\n for (; nextLine < endLine; nextLine++) {\n if (state.sCount[nextLine] < state.blkIndent) { break }\n\n pos = state.bMarks[nextLine] + state.tShift[nextLine]\n max = state.eMarks[nextLine]\n lineText = state.src.slice(pos, max)\n\n if (HTML_SEQUENCES[i][1].test(lineText)) {\n if (lineText.length !== 0) { nextLine++ }\n break\n }\n }\n }\n\n state.line = nextLine\n\n const token = state.push('html_block', '', 0)\n token.map = [startLine, nextLine]\n token.content = state.getLines(startLine, nextLine, state.blkIndent, true)\n\n return true\n}\n","// heading (#, ##, ...)\n\nimport { isSpace } from '../common/utils.mjs'\n\nexport default function heading (state, startLine, endLine, silent) {\n let pos = state.bMarks[startLine] + state.tShift[startLine]\n let max = state.eMarks[startLine]\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false }\n\n let ch = state.src.charCodeAt(pos)\n\n if (ch !== 0x23/* # */ || pos >= max) { return false }\n\n // count heading level\n let level = 1\n ch = state.src.charCodeAt(++pos)\n while (ch === 0x23/* # */ && pos < max && level <= 6) {\n level++\n ch = state.src.charCodeAt(++pos)\n }\n\n if (level > 6 || (pos < max && !isSpace(ch))) { return false }\n\n if (silent) { return true }\n\n // Let's cut tails like ' ### ' from the end of string\n\n max = state.skipSpacesBack(max, pos)\n const tmp = state.skipCharsBack(max, 0x23, pos) // #\n if (tmp > pos && isSpace(state.src.charCodeAt(tmp - 1))) {\n max = tmp\n }\n\n state.line = startLine + 1\n\n const token_o = state.push('heading_open', 'h' + String(level), 1)\n token_o.markup = '########'.slice(0, level)\n token_o.map = [startLine, state.line]\n\n const token_i = state.push('inline', '', 0)\n token_i.content = state.src.slice(pos, max).trim()\n token_i.map = [startLine, state.line]\n token_i.children = []\n\n const token_c = state.push('heading_close', 'h' + String(level), -1)\n token_c.markup = '########'.slice(0, level)\n\n return true\n}\n","// lheading (---, ===)\n\nexport default function lheading (state, startLine, endLine/*, silent */) {\n const terminatorRules = state.md.block.ruler.getRules('paragraph')\n\n // if it's indented more than 3 spaces, it should be a code block\n if (state.sCount[startLine] - state.blkIndent >= 4) { return false }\n\n const oldParentType = state.parentType\n state.parentType = 'paragraph' // use paragraph to match terminatorRules\n\n // jump line-by-line until empty one or EOF\n let level = 0\n let marker\n let nextLine = startLine + 1\n\n for (; nextLine < endLine && !state.isEmpty(nextLine); nextLine++) {\n // this would be a code block normally, but after paragraph\n // it's considered a lazy continuation regardless of what's there\n if (state.sCount[nextLine] - state.blkIndent > 3) { continue }\n\n //\n // Check for underline in setext header\n //\n if (state.sCount[nextLine] >= state.blkIndent) {\n let pos = state.bMarks[nextLine] + state.tShift[nextLine]\n const max = state.eMarks[nextLine]\n\n if (pos < max) {\n marker = state.src.charCodeAt(pos)\n\n if (marker === 0x2D/* - */ || marker === 0x3D/* = */) {\n pos = state.skipChars(pos, marker)\n pos = state.skipSpaces(pos)\n\n if (pos >= max) {\n level = (marker === 0x3D/* = */ ? 1 : 2)\n break\n }\n }\n }\n }\n\n // quirk for blockquotes, this line should already be checked by that rule\n if (state.sCount[nextLine] < 0) { continue }\n\n // Some tags can terminate paragraph without empty line.\n let terminate = false\n for (let i = 0, l = terminatorRules.length; i < l; i++) {\n if (terminatorRules[i](state, nextLine, endLine, true)) {\n terminate = true\n break\n }\n }\n if (terminate) { break }\n }\n\n if (!level) {\n // Didn't find valid underline\n return false\n }\n\n const content = state.getLines(startLine, nextLine, state.blkIndent, false).trim()\n\n state.line = nextLine + 1\n\n const token_o = state.push('heading_open', 'h' + String(level), 1)\n token_o.markup = String.fromCharCode(marker)\n token_o.map = [startLine, state.line]\n\n const token_i = state.push('inline', '', 0)\n token_i.content = content\n token_i.map = [startLine, state.line - 1]\n token_i.children = []\n\n const token_c = state.push('heading_close', 'h' + String(level), -1)\n token_c.markup = String.fromCharCode(marker)\n\n state.parentType = oldParentType\n\n return true\n}\n","// Paragraph\n\nexport default function paragraph (state, startLine, endLine) {\n const terminatorRules = state.md.block.ruler.getRules('paragraph')\n const oldParentType = state.parentType\n let nextLine = startLine + 1\n state.parentType = 'paragraph'\n\n // jump line-by-line until empty one or EOF\n for (; nextLine < endLine && !state.isEmpty(nextLine); nextLine++) {\n // this would be a code block normally, but after paragraph\n // it's considered a lazy continuation regardless of what's there\n if (state.sCount[nextLine] - state.blkIndent > 3) { continue }\n\n // quirk for blockquotes, this line should already be checked by that rule\n if (state.sCount[nextLine] < 0) { continue }\n\n // Some tags can terminate paragraph without empty line.\n let terminate = false\n for (let i = 0, l = terminatorRules.length; i < l; i++) {\n if (terminatorRules[i](state, nextLine, endLine, true)) {\n terminate = true\n break\n }\n }\n if (terminate) { break }\n }\n\n const content = state.getLines(startLine, nextLine, state.blkIndent, false).trim()\n\n state.line = nextLine\n\n const token_o = state.push('paragraph_open', 'p', 1)\n token_o.map = [startLine, state.line]\n\n const token_i = state.push('inline', '', 0)\n token_i.content = content\n token_i.map = [startLine, state.line]\n token_i.children = []\n\n state.push('paragraph_close', 'p', -1)\n\n state.parentType = oldParentType\n\n return true\n}\n","/** internal\n * class ParserBlock\n *\n * Block-level tokenizer.\n **/\n\nimport Ruler from './ruler.mjs'\nimport StateBlock from './rules_block/state_block.mjs'\n\nimport r_table from './rules_block/table.mjs'\nimport r_code from './rules_block/code.mjs'\nimport r_fence from './rules_block/fence.mjs'\nimport r_blockquote from './rules_block/blockquote.mjs'\nimport r_hr from './rules_block/hr.mjs'\nimport r_list from './rules_block/list.mjs'\nimport r_reference from './rules_block/reference.mjs'\nimport r_html_block from './rules_block/html_block.mjs'\nimport r_heading from './rules_block/heading.mjs'\nimport r_lheading from './rules_block/lheading.mjs'\nimport r_paragraph from './rules_block/paragraph.mjs'\n\nconst _rules = [\n // First 2 params - rule name & source. Secondary array - list of rules,\n // which can be terminated by this one.\n ['table', r_table, ['paragraph', 'reference']],\n ['code', r_code],\n ['fence', r_fence, ['paragraph', 'reference', 'blockquote', 'list']],\n ['blockquote', r_blockquote, ['paragraph', 'reference', 'blockquote', 'list']],\n ['hr', r_hr, ['paragraph', 'reference', 'blockquote', 'list']],\n ['list', r_list, ['paragraph', 'reference', 'blockquote']],\n ['reference', r_reference],\n ['html_block', r_html_block, ['paragraph', 'reference', 'blockquote']],\n ['heading', r_heading, ['paragraph', 'reference', 'blockquote']],\n ['lheading', r_lheading],\n ['paragraph', r_paragraph]\n]\n\n/**\n * new ParserBlock()\n **/\nfunction ParserBlock () {\n /**\n * ParserBlock#ruler -> Ruler\n *\n * [[Ruler]] instance. Keep configuration of block rules.\n **/\n this.ruler = new Ruler()\n\n for (let i = 0; i < _rules.length; i++) {\n this.ruler.push(_rules[i][0], _rules[i][1], { alt: (_rules[i][2] || []).slice() })\n }\n}\n\n// Generate tokens for input range\n//\nParserBlock.prototype.tokenize = function (state, startLine, endLine) {\n const rules = this.ruler.getRules('')\n const len = rules.length\n const maxNesting = state.md.options.maxNesting\n let line = startLine\n let hasEmptyLines = false\n\n while (line < endLine) {\n state.line = line = state.skipEmptyLines(line)\n if (line >= endLine) { break }\n\n // Termination condition for nested calls.\n // Nested calls currently used for blockquotes & lists\n if (state.sCount[line] < state.blkIndent) { break }\n\n // If nesting level exceeded - skip tail to the end. That's not ordinary\n // situation and we should not care about content.\n if (state.level >= maxNesting) {\n state.line = endLine\n break\n }\n\n // Try all possible rules.\n // On success, rule should:\n //\n // - update `state.line`\n // - update `state.tokens`\n // - return true\n const prevLine = state.line\n let ok = false\n\n for (let i = 0; i < len; i++) {\n ok = rules[i](state, line, endLine, false)\n if (ok) {\n if (prevLine >= state.line) {\n throw new Error(\"block rule didn't increment state.line\")\n }\n break\n }\n }\n\n // this can only happen if user disables paragraph rule\n if (!ok) throw new Error('none of the block rules matched')\n\n // set state.tight if we had an empty line before current tag\n // i.e. latest empty line should not count\n state.tight = !hasEmptyLines\n\n // paragraph might \"eat\" one newline after it in nested lists\n if (state.isEmpty(state.line - 1)) {\n hasEmptyLines = true\n }\n\n line = state.line\n\n if (line < endLine && state.isEmpty(line)) {\n hasEmptyLines = true\n line++\n state.line = line\n }\n }\n}\n\n/**\n * ParserBlock.parse(str, md, env, outTokens)\n *\n * Process input string and push block tokens into `outTokens`\n **/\nParserBlock.prototype.parse = function (src, md, env, outTokens) {\n if (!src) { return }\n\n const state = new this.State(src, md, env, outTokens)\n\n this.tokenize(state, state.line, state.lineMax)\n}\n\nParserBlock.prototype.State = StateBlock\n\nexport default ParserBlock\n","// Inline parser state\n\nimport Token from '../token.mjs'\nimport { isWhiteSpace, isPunctChar, isMdAsciiPunct } from '../common/utils.mjs'\n\nfunction StateInline (src, md, env, outTokens) {\n this.src = src\n this.env = env\n this.md = md\n this.tokens = outTokens\n this.tokens_meta = Array(outTokens.length)\n\n this.pos = 0\n this.posMax = this.src.length\n this.level = 0\n this.pending = ''\n this.pendingLevel = 0\n\n // Stores { start: end } pairs. Useful for backtrack\n // optimization of pairs parse (emphasis, strikes).\n this.cache = {}\n\n // List of emphasis-like delimiters for current tag\n this.delimiters = []\n\n // Stack of delimiter lists for upper level tags\n this._prev_delimiters = []\n\n // backtick length => last seen position\n this.backticks = {}\n this.backticksScanned = false\n\n // Counter used to disable inline linkify-it execution\n // inside and markdown links\n this.linkLevel = 0\n}\n\n// Flush pending text\n//\nStateInline.prototype.pushPending = function () {\n const token = new Token('text', '', 0)\n token.content = this.pending\n token.level = this.pendingLevel\n this.tokens.push(token)\n this.pending = ''\n return token\n}\n\n// Push new token to \"stream\".\n// If pending text exists - flush it as text token\n//\nStateInline.prototype.push = function (type, tag, nesting) {\n if (this.pending) {\n this.pushPending()\n }\n\n const token = new Token(type, tag, nesting)\n let token_meta = null\n\n if (nesting < 0) {\n // closing tag\n this.level--\n this.delimiters = this._prev_delimiters.pop()\n }\n\n token.level = this.level\n\n if (nesting > 0) {\n // opening tag\n this.level++\n this._prev_delimiters.push(this.delimiters)\n this.delimiters = []\n token_meta = { delimiters: this.delimiters }\n }\n\n this.pendingLevel = this.level\n this.tokens.push(token)\n this.tokens_meta.push(token_meta)\n return token\n}\n\n// Scan a sequence of emphasis-like markers, and determine whether\n// it can start an emphasis sequence or end an emphasis sequence.\n//\n// - start - position to scan from (it should point at a valid marker);\n// - canSplitWord - determine if these markers can be found inside a word\n//\nStateInline.prototype.scanDelims = function (start, canSplitWord) {\n const max = this.posMax\n const marker = this.src.charCodeAt(start)\n\n // treat beginning of the line as a whitespace\n const lastChar = start > 0 ? this.src.charCodeAt(start - 1) : 0x20\n\n let pos = start\n while (pos < max && this.src.charCodeAt(pos) === marker) { pos++ }\n\n const count = pos - start\n\n // treat end of the line as a whitespace\n const nextChar = pos < max ? this.src.charCodeAt(pos) : 0x20\n\n const isLastPunctChar = isMdAsciiPunct(lastChar) || isPunctChar(String.fromCharCode(lastChar))\n const isNextPunctChar = isMdAsciiPunct(nextChar) || isPunctChar(String.fromCharCode(nextChar))\n\n const isLastWhiteSpace = isWhiteSpace(lastChar)\n const isNextWhiteSpace = isWhiteSpace(nextChar)\n\n const left_flanking =\n !isNextWhiteSpace && (!isNextPunctChar || isLastWhiteSpace || isLastPunctChar)\n const right_flanking =\n !isLastWhiteSpace && (!isLastPunctChar || isNextWhiteSpace || isNextPunctChar)\n\n const can_open = left_flanking && (canSplitWord || !right_flanking || isLastPunctChar)\n const can_close = right_flanking && (canSplitWord || !left_flanking || isNextPunctChar)\n\n return { can_open, can_close, length: count }\n}\n\n// re-export Token class to use in block rules\nStateInline.prototype.Token = Token\n\nexport default StateInline\n","// Skip text characters for text token, place those to pending buffer\n// and increment current pos\n\n// Rule to skip pure text\n// '{}$%@~+=:' reserved for extentions\n\n// !, \", #, $, %, &, ', (, ), *, +, ,, -, ., /, :, ;, <, =, >, ?, @, [, \\, ], ^, _, `, {, |, }, or ~\n\n// !!!! Don't confuse with \"Markdown ASCII Punctuation\" chars\n// http://spec.commonmark.org/0.15/#ascii-punctuation-character\nfunction isTerminatorChar (ch) {\n switch (ch) {\n case 0x0A/* \\n */:\n case 0x21/* ! */:\n case 0x23/* # */:\n case 0x24/* $ */:\n case 0x25/* % */:\n case 0x26/* & */:\n case 0x2A/* * */:\n case 0x2B/* + */:\n case 0x2D/* - */:\n case 0x3A/* : */:\n case 0x3C/* < */:\n case 0x3D/* = */:\n case 0x3E/* > */:\n case 0x40/* @ */:\n case 0x5B/* [ */:\n case 0x5C/* \\ */:\n case 0x5D/* ] */:\n case 0x5E/* ^ */:\n case 0x5F/* _ */:\n case 0x60/* ` */:\n case 0x7B/* { */:\n case 0x7D/* } */:\n case 0x7E/* ~ */:\n return true\n default:\n return false\n }\n}\n\nexport default function text (state, silent) {\n let pos = state.pos\n\n while (pos < state.posMax && !isTerminatorChar(state.src.charCodeAt(pos))) {\n pos++\n }\n\n if (pos === state.pos) { return false }\n\n if (!silent) { state.pending += state.src.slice(state.pos, pos) }\n\n state.pos = pos\n\n return true\n}\n\n// Alternative implementation, for memory.\n//\n// It costs 10% of performance, but allows extend terminators list, if place it\n// to `ParserInline` property. Probably, will switch to it sometime, such\n// flexibility required.\n\n/*\nvar TERMINATOR_RE = /[\\n!#$%&*+\\-:<=>@[\\\\\\]^_`{}~]/;\n\nmodule.exports = function text(state, silent) {\n var pos = state.pos,\n idx = state.src.slice(pos).search(TERMINATOR_RE);\n\n // first char is terminator -> empty text\n if (idx === 0) { return false; }\n\n // no terminator -> text till end of string\n if (idx < 0) {\n if (!silent) { state.pending += state.src.slice(pos); }\n state.pos = state.src.length;\n return true;\n }\n\n if (!silent) { state.pending += state.src.slice(pos, pos + idx); }\n\n state.pos += idx;\n\n return true;\n}; */\n","// Process links like https://example.org/\n\n// RFC3986: scheme = ALPHA *( ALPHA / DIGIT / \"+\" / \"-\" / \".\" )\nconst SCHEME_RE = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i\n\nexport default function linkify (state, silent) {\n if (!state.md.options.linkify) return false\n if (state.linkLevel > 0) return false\n\n const pos = state.pos\n const max = state.posMax\n\n if (pos + 3 > max) return false\n if (state.src.charCodeAt(pos) !== 0x3A/* : */) return false\n if (state.src.charCodeAt(pos + 1) !== 0x2F/* / */) return false\n if (state.src.charCodeAt(pos + 2) !== 0x2F/* / */) return false\n\n const match = state.pending.match(SCHEME_RE)\n if (!match) return false\n\n const proto = match[1]\n\n const link = state.md.linkify.matchAtStart(state.src.slice(pos - proto.length))\n if (!link) return false\n\n let url = link.url\n\n // invalid link, but still detected by linkify somehow;\n // need to check to prevent infinite loop below\n if (url.length <= proto.length) return false\n\n // disallow '*' at the end of the link (conflicts with emphasis)\n url = url.replace(/\\*+$/, '')\n\n const fullUrl = state.md.normalizeLink(url)\n if (!state.md.validateLink(fullUrl)) return false\n\n if (!silent) {\n state.pending = state.pending.slice(0, -proto.length)\n\n const token_o = state.push('link_open', 'a', 1)\n token_o.attrs = [['href', fullUrl]]\n token_o.markup = 'linkify'\n token_o.info = 'auto'\n\n const token_t = state.push('text', '', 0)\n token_t.content = state.md.normalizeLinkText(url)\n\n const token_c = state.push('link_close', 'a', -1)\n token_c.markup = 'linkify'\n token_c.info = 'auto'\n }\n\n state.pos += url.length - proto.length\n return true\n}\n","// Proceess '\\n'\n\nimport { isSpace } from '../common/utils.mjs'\n\nexport default function newline (state, silent) {\n let pos = state.pos\n\n if (state.src.charCodeAt(pos) !== 0x0A/* \\n */) { return false }\n\n const pmax = state.pending.length - 1\n const max = state.posMax\n\n // ' \\n' -> hardbreak\n // Lookup in pending chars is bad practice! Don't copy to other rules!\n // Pending string is stored in concat mode, indexed lookups will cause\n // convertion to flat mode.\n if (!silent) {\n if (pmax >= 0 && state.pending.charCodeAt(pmax) === 0x20) {\n if (pmax >= 1 && state.pending.charCodeAt(pmax - 1) === 0x20) {\n // Find whitespaces tail of pending chars.\n let ws = pmax - 1\n while (ws >= 1 && state.pending.charCodeAt(ws - 1) === 0x20) ws--\n\n state.pending = state.pending.slice(0, ws)\n state.push('hardbreak', 'br', 0)\n } else {\n state.pending = state.pending.slice(0, -1)\n state.push('softbreak', 'br', 0)\n }\n } else {\n state.push('softbreak', 'br', 0)\n }\n }\n\n pos++\n\n // skip heading spaces for next line\n while (pos < max && isSpace(state.src.charCodeAt(pos))) { pos++ }\n\n state.pos = pos\n return true\n}\n","// Process escaped chars and hardbreaks\n\nimport { isSpace } from '../common/utils.mjs'\n\nconst ESCAPED = []\n\nfor (let i = 0; i < 256; i++) { ESCAPED.push(0) }\n\n'\\\\!\"#$%&\\'()*+,./:;<=>?@[]^_`{|}~-'\n .split('').forEach(function (ch) { ESCAPED[ch.charCodeAt(0)] = 1 })\n\nexport default function escape (state, silent) {\n let pos = state.pos\n const max = state.posMax\n\n if (state.src.charCodeAt(pos) !== 0x5C/* \\ */) return false\n pos++\n\n // '\\' at the end of the inline block\n if (pos >= max) return false\n\n let ch1 = state.src.charCodeAt(pos)\n\n if (ch1 === 0x0A) {\n if (!silent) {\n state.push('hardbreak', 'br', 0)\n }\n\n pos++\n // skip leading whitespaces from next line\n while (pos < max) {\n ch1 = state.src.charCodeAt(pos)\n if (!isSpace(ch1)) break\n pos++\n }\n\n state.pos = pos\n return true\n }\n\n let escapedStr = state.src[pos]\n\n if (ch1 >= 0xD800 && ch1 <= 0xDBFF && pos + 1 < max) {\n const ch2 = state.src.charCodeAt(pos + 1)\n\n if (ch2 >= 0xDC00 && ch2 <= 0xDFFF) {\n escapedStr += state.src[pos + 1]\n pos++\n }\n }\n\n const origStr = '\\\\' + escapedStr\n\n if (!silent) {\n const token = state.push('text_special', '', 0)\n\n if (ch1 < 256 && ESCAPED[ch1] !== 0) {\n token.content = escapedStr\n } else {\n token.content = origStr\n }\n\n token.markup = origStr\n token.info = 'escape'\n }\n\n state.pos = pos + 1\n return true\n}\n","// Parse backticks\n\nexport default function backtick (state, silent) {\n let pos = state.pos\n const ch = state.src.charCodeAt(pos)\n\n if (ch !== 0x60/* ` */) { return false }\n\n const start = pos\n pos++\n const max = state.posMax\n\n // scan marker length\n while (pos < max && state.src.charCodeAt(pos) === 0x60/* ` */) { pos++ }\n\n const marker = state.src.slice(start, pos)\n const openerLength = marker.length\n\n if (state.backticksScanned && (state.backticks[openerLength] || 0) <= start) {\n if (!silent) state.pending += marker\n state.pos += openerLength\n return true\n }\n\n let matchEnd = pos\n let matchStart\n\n // Nothing found in the cache, scan until the end of the line (or until marker is found)\n while ((matchStart = state.src.indexOf('`', matchEnd)) !== -1) {\n matchEnd = matchStart + 1\n\n // scan marker length\n while (matchEnd < max && state.src.charCodeAt(matchEnd) === 0x60/* ` */) { matchEnd++ }\n\n const closerLength = matchEnd - matchStart\n\n if (closerLength === openerLength) {\n // Found matching closer length.\n if (!silent) {\n const token = state.push('code_inline', 'code', 0)\n token.markup = marker\n token.content = state.src.slice(pos, matchStart)\n .replace(/\\n/g, ' ')\n .replace(/^ (.+) $/, '$1')\n }\n state.pos = matchEnd\n return true\n }\n\n // Some different length found, put it in cache as upper limit of where closer can be found\n state.backticks[closerLength] = matchStart\n }\n\n // Scanned through the end, didn't find anything\n state.backticksScanned = true\n\n if (!silent) state.pending += marker\n state.pos += openerLength\n return true\n}\n","// ~~strike through~~\n//\n\n// Insert each marker as a separate text token, and add it to delimiter list\n//\nfunction strikethrough_tokenize (state, silent) {\n const start = state.pos\n const marker = state.src.charCodeAt(start)\n\n if (silent) { return false }\n\n if (marker !== 0x7E/* ~ */) { return false }\n\n const scanned = state.scanDelims(state.pos, true)\n let len = scanned.length\n const ch = String.fromCharCode(marker)\n\n if (len < 2) { return false }\n\n let token\n\n if (len % 2) {\n token = state.push('text', '', 0)\n token.content = ch\n len--\n }\n\n for (let i = 0; i < len; i += 2) {\n token = state.push('text', '', 0)\n token.content = ch + ch\n\n state.delimiters.push({\n marker,\n length: 0, // disable \"rule of 3\" length checks meant for emphasis\n token: state.tokens.length - 1,\n end: -1,\n open: scanned.can_open,\n close: scanned.can_close\n })\n }\n\n state.pos += scanned.length\n\n return true\n}\n\nfunction postProcess (state, delimiters) {\n let token\n const loneMarkers = []\n const max = delimiters.length\n\n for (let i = 0; i < max; i++) {\n const startDelim = delimiters[i]\n\n if (startDelim.marker !== 0x7E/* ~ */) {\n continue\n }\n\n if (startDelim.end === -1) {\n continue\n }\n\n const endDelim = delimiters[startDelim.end]\n\n token = state.tokens[startDelim.token]\n token.type = 's_open'\n token.tag = 's'\n token.nesting = 1\n token.markup = '~~'\n token.content = ''\n\n token = state.tokens[endDelim.token]\n token.type = 's_close'\n token.tag = 's'\n token.nesting = -1\n token.markup = '~~'\n token.content = ''\n\n if (state.tokens[endDelim.token - 1].type === 'text' &&\n state.tokens[endDelim.token - 1].content === '~') {\n loneMarkers.push(endDelim.token - 1)\n }\n }\n\n // If a marker sequence has an odd number of characters, it's splitted\n // like this: `~~~~~` -> `~` + `~~` + `~~`, leaving one marker at the\n // start of the sequence.\n //\n // So, we have to move all those markers after subsequent s_close tags.\n //\n while (loneMarkers.length) {\n const i = loneMarkers.pop()\n let j = i + 1\n\n while (j < state.tokens.length && state.tokens[j].type === 's_close') {\n j++\n }\n\n j--\n\n if (i !== j) {\n token = state.tokens[j]\n state.tokens[j] = state.tokens[i]\n state.tokens[i] = token\n }\n }\n}\n\n// Walk through delimiter list and replace text tokens with tags\n//\nfunction strikethrough_postProcess (state) {\n const tokens_meta = state.tokens_meta\n const max = state.tokens_meta.length\n\n postProcess(state, state.delimiters)\n\n for (let curr = 0; curr < max; curr++) {\n if (tokens_meta[curr] && tokens_meta[curr].delimiters) {\n postProcess(state, tokens_meta[curr].delimiters)\n }\n }\n}\n\nexport default {\n tokenize: strikethrough_tokenize,\n postProcess: strikethrough_postProcess\n}\n","// Process *this* and _that_\n//\n\n// Insert each marker as a separate text token, and add it to delimiter list\n//\nfunction emphasis_tokenize (state, silent) {\n const start = state.pos\n const marker = state.src.charCodeAt(start)\n\n if (silent) { return false }\n\n if (marker !== 0x5F /* _ */ && marker !== 0x2A /* * */) { return false }\n\n const scanned = state.scanDelims(state.pos, marker === 0x2A)\n\n for (let i = 0; i < scanned.length; i++) {\n const token = state.push('text', '', 0)\n token.content = String.fromCharCode(marker)\n\n state.delimiters.push({\n // Char code of the starting marker (number).\n //\n marker,\n\n // Total length of these series of delimiters.\n //\n length: scanned.length,\n\n // A position of the token this delimiter corresponds to.\n //\n token: state.tokens.length - 1,\n\n // If this delimiter is matched as a valid opener, `end` will be\n // equal to its position, otherwise it's `-1`.\n //\n end: -1,\n\n // Boolean flags that determine if this delimiter could open or close\n // an emphasis.\n //\n open: scanned.can_open,\n close: scanned.can_close\n })\n }\n\n state.pos += scanned.length\n\n return true\n}\n\nfunction postProcess (state, delimiters) {\n const max = delimiters.length\n\n for (let i = max - 1; i >= 0; i--) {\n const startDelim = delimiters[i]\n\n if (startDelim.marker !== 0x5F/* _ */ && startDelim.marker !== 0x2A/* * */) {\n continue\n }\n\n // Process only opening markers\n if (startDelim.end === -1) {\n continue\n }\n\n const endDelim = delimiters[startDelim.end]\n\n // If the previous delimiter has the same marker and is adjacent to this one,\n // merge those into one strong delimiter.\n //\n // `whatever` -> `whatever`\n //\n const isStrong = i > 0 &&\n delimiters[i - 1].end === startDelim.end + 1 &&\n // check that first two markers match and adjacent\n delimiters[i - 1].marker === startDelim.marker &&\n delimiters[i - 1].token === startDelim.token - 1 &&\n // check that last two markers are adjacent (we can safely assume they match)\n delimiters[startDelim.end + 1].token === endDelim.token + 1\n\n const ch = String.fromCharCode(startDelim.marker)\n\n const token_o = state.tokens[startDelim.token]\n token_o.type = isStrong ? 'strong_open' : 'em_open'\n token_o.tag = isStrong ? 'strong' : 'em'\n token_o.nesting = 1\n token_o.markup = isStrong ? ch + ch : ch\n token_o.content = ''\n\n const token_c = state.tokens[endDelim.token]\n token_c.type = isStrong ? 'strong_close' : 'em_close'\n token_c.tag = isStrong ? 'strong' : 'em'\n token_c.nesting = -1\n token_c.markup = isStrong ? ch + ch : ch\n token_c.content = ''\n\n if (isStrong) {\n state.tokens[delimiters[i - 1].token].content = ''\n state.tokens[delimiters[startDelim.end + 1].token].content = ''\n i--\n }\n }\n}\n\n// Walk through delimiter list and replace text tokens with tags\n//\nfunction emphasis_post_process (state) {\n const tokens_meta = state.tokens_meta\n const max = state.tokens_meta.length\n\n postProcess(state, state.delimiters)\n\n for (let curr = 0; curr < max; curr++) {\n if (tokens_meta[curr] && tokens_meta[curr].delimiters) {\n postProcess(state, tokens_meta[curr].delimiters)\n }\n }\n}\n\nexport default {\n tokenize: emphasis_tokenize,\n postProcess: emphasis_post_process\n}\n","// Process [link]( \"stuff\")\n\nimport { normalizeReference, isSpace } from '../common/utils.mjs'\n\nexport default function link (state, silent) {\n let code, label, res, ref\n let href = ''\n let title = ''\n let start = state.pos\n let parseReference = true\n\n if (state.src.charCodeAt(state.pos) !== 0x5B/* [ */) { return false }\n\n const oldPos = state.pos\n const max = state.posMax\n const labelStart = state.pos + 1\n const labelEnd = state.md.helpers.parseLinkLabel(state, state.pos, true)\n\n // parser failed to find ']', so it's not a valid link\n if (labelEnd < 0) { return false }\n\n let pos = labelEnd + 1\n if (pos < max && state.src.charCodeAt(pos) === 0x28/* ( */) {\n //\n // Inline link\n //\n\n // might have found a valid shortcut link, disable reference parsing\n parseReference = false\n\n // [link]( \"title\" )\n // ^^ skipping these spaces\n pos++\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos)\n if (!isSpace(code) && code !== 0x0A) { break }\n }\n if (pos >= max) { return false }\n\n // [link]( \"title\" )\n // ^^^^^^ parsing link destination\n start = pos\n res = state.md.helpers.parseLinkDestination(state.src, pos, state.posMax)\n if (res.ok) {\n href = state.md.normalizeLink(res.str)\n if (state.md.validateLink(href)) {\n pos = res.pos\n } else {\n href = ''\n }\n\n // [link]( \"title\" )\n // ^^ skipping these spaces\n start = pos\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos)\n if (!isSpace(code) && code !== 0x0A) { break }\n }\n\n // [link]( \"title\" )\n // ^^^^^^^ parsing link title\n res = state.md.helpers.parseLinkTitle(state.src, pos, state.posMax)\n if (pos < max && start !== pos && res.ok) {\n title = res.str\n pos = res.pos\n\n // [link]( \"title\" )\n // ^^ skipping these spaces\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos)\n if (!isSpace(code) && code !== 0x0A) { break }\n }\n }\n }\n\n if (pos >= max || state.src.charCodeAt(pos) !== 0x29/* ) */) {\n // parsing a valid shortcut link failed, fallback to reference\n parseReference = true\n }\n pos++\n }\n\n if (parseReference) {\n //\n // Link reference\n //\n if (typeof state.env.references === 'undefined') { return false }\n\n if (pos < max && state.src.charCodeAt(pos) === 0x5B/* [ */) {\n start = pos + 1\n pos = state.md.helpers.parseLinkLabel(state, pos)\n if (pos >= 0) {\n label = state.src.slice(start, pos++)\n } else {\n pos = labelEnd + 1\n }\n } else {\n pos = labelEnd + 1\n }\n\n // covers label === '' and label === undefined\n // (collapsed reference link and shortcut reference link respectively)\n if (!label) { label = state.src.slice(labelStart, labelEnd) }\n\n ref = state.env.references[normalizeReference(label)]\n if (!ref) {\n state.pos = oldPos\n return false\n }\n href = ref.href\n title = ref.title\n }\n\n //\n // We found the end of the link, and know for a fact it's a valid link;\n // so all that's left to do is to call tokenizer.\n //\n if (!silent) {\n state.pos = labelStart\n state.posMax = labelEnd\n\n const token_o = state.push('link_open', 'a', 1)\n const attrs = [['href', href]]\n token_o.attrs = attrs\n if (title) {\n attrs.push(['title', title])\n }\n\n state.linkLevel++\n state.md.inline.tokenize(state)\n state.linkLevel--\n\n state.push('link_close', 'a', -1)\n }\n\n state.pos = pos\n state.posMax = max\n return true\n}\n","// Process ![image]( \"title\")\n\nimport { normalizeReference, isSpace } from '../common/utils.mjs'\n\nexport default function image (state, silent) {\n let code, content, label, pos, ref, res, title, start\n let href = ''\n const oldPos = state.pos\n const max = state.posMax\n\n if (state.src.charCodeAt(state.pos) !== 0x21/* ! */) { return false }\n if (state.src.charCodeAt(state.pos + 1) !== 0x5B/* [ */) { return false }\n\n const labelStart = state.pos + 2\n const labelEnd = state.md.helpers.parseLinkLabel(state, state.pos + 1, false)\n\n // parser failed to find ']', so it's not a valid link\n if (labelEnd < 0) { return false }\n\n pos = labelEnd + 1\n if (pos < max && state.src.charCodeAt(pos) === 0x28/* ( */) {\n //\n // Inline link\n //\n\n // [link]( \"title\" )\n // ^^ skipping these spaces\n pos++\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos)\n if (!isSpace(code) && code !== 0x0A) { break }\n }\n if (pos >= max) { return false }\n\n // [link]( \"title\" )\n // ^^^^^^ parsing link destination\n start = pos\n res = state.md.helpers.parseLinkDestination(state.src, pos, state.posMax)\n if (res.ok) {\n href = state.md.normalizeLink(res.str)\n if (state.md.validateLink(href)) {\n pos = res.pos\n } else {\n href = ''\n }\n }\n\n // [link]( \"title\" )\n // ^^ skipping these spaces\n start = pos\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos)\n if (!isSpace(code) && code !== 0x0A) { break }\n }\n\n // [link]( \"title\" )\n // ^^^^^^^ parsing link title\n res = state.md.helpers.parseLinkTitle(state.src, pos, state.posMax)\n if (pos < max && start !== pos && res.ok) {\n title = res.str\n pos = res.pos\n\n // [link]( \"title\" )\n // ^^ skipping these spaces\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos)\n if (!isSpace(code) && code !== 0x0A) { break }\n }\n } else {\n title = ''\n }\n\n if (pos >= max || state.src.charCodeAt(pos) !== 0x29/* ) */) {\n state.pos = oldPos\n return false\n }\n pos++\n } else {\n //\n // Link reference\n //\n if (typeof state.env.references === 'undefined') { return false }\n\n if (pos < max && state.src.charCodeAt(pos) === 0x5B/* [ */) {\n start = pos + 1\n pos = state.md.helpers.parseLinkLabel(state, pos)\n if (pos >= 0) {\n label = state.src.slice(start, pos++)\n } else {\n pos = labelEnd + 1\n }\n } else {\n pos = labelEnd + 1\n }\n\n // covers label === '' and label === undefined\n // (collapsed reference link and shortcut reference link respectively)\n if (!label) { label = state.src.slice(labelStart, labelEnd) }\n\n ref = state.env.references[normalizeReference(label)]\n if (!ref) {\n state.pos = oldPos\n return false\n }\n href = ref.href\n title = ref.title\n }\n\n //\n // We found the end of the link, and know for a fact it's a valid link;\n // so all that's left to do is to call tokenizer.\n //\n if (!silent) {\n content = state.src.slice(labelStart, labelEnd)\n\n const tokens = []\n state.md.inline.parse(\n content,\n state.md,\n state.env,\n tokens\n )\n\n const token = state.push('image', 'img', 0)\n const attrs = [['src', href], ['alt', '']]\n token.attrs = attrs\n token.children = tokens\n token.content = content\n\n if (title) {\n attrs.push(['title', title])\n }\n }\n\n state.pos = pos\n state.posMax = max\n return true\n}\n","// Process autolinks ''\n\n/* eslint max-len:0 */\nconst EMAIL_RE = /^([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])?)*)$/\n/* eslint-disable-next-line no-control-regex */\nconst AUTOLINK_RE = /^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\\x00-\\x20]*)$/\n\nexport default function autolink (state, silent) {\n let pos = state.pos\n\n if (state.src.charCodeAt(pos) !== 0x3C/* < */) { return false }\n\n const start = state.pos\n const max = state.posMax\n\n for (;;) {\n if (++pos >= max) return false\n\n const ch = state.src.charCodeAt(pos)\n\n if (ch === 0x3C /* < */) return false\n if (ch === 0x3E /* > */) break\n }\n\n const url = state.src.slice(start + 1, pos)\n\n if (AUTOLINK_RE.test(url)) {\n const fullUrl = state.md.normalizeLink(url)\n if (!state.md.validateLink(fullUrl)) { return false }\n\n if (!silent) {\n const token_o = state.push('link_open', 'a', 1)\n token_o.attrs = [['href', fullUrl]]\n token_o.markup = 'autolink'\n token_o.info = 'auto'\n\n const token_t = state.push('text', '', 0)\n token_t.content = state.md.normalizeLinkText(url)\n\n const token_c = state.push('link_close', 'a', -1)\n token_c.markup = 'autolink'\n token_c.info = 'auto'\n }\n\n state.pos += url.length + 2\n return true\n }\n\n if (EMAIL_RE.test(url)) {\n const fullUrl = state.md.normalizeLink('mailto:' + url)\n if (!state.md.validateLink(fullUrl)) { return false }\n\n if (!silent) {\n const token_o = state.push('link_open', 'a', 1)\n token_o.attrs = [['href', fullUrl]]\n token_o.markup = 'autolink'\n token_o.info = 'auto'\n\n const token_t = state.push('text', '', 0)\n token_t.content = state.md.normalizeLinkText(url)\n\n const token_c = state.push('link_close', 'a', -1)\n token_c.markup = 'autolink'\n token_c.info = 'auto'\n }\n\n state.pos += url.length + 2\n return true\n }\n\n return false\n}\n","// Process html tags\n\nimport { HTML_TAG_RE } from '../common/html_re.mjs'\n\nfunction isLinkOpen (str) {\n return /^\\s]/i.test(str)\n}\nfunction isLinkClose (str) {\n return /^<\\/a\\s*>/i.test(str)\n}\n\nfunction isLetter (ch) {\n /* eslint no-bitwise:0 */\n const lc = ch | 0x20 // to lower case\n return (lc >= 0x61/* a */) && (lc <= 0x7a/* z */)\n}\n\nexport default function html_inline (state, silent) {\n if (!state.md.options.html) { return false }\n\n // Check start\n const max = state.posMax\n const pos = state.pos\n if (state.src.charCodeAt(pos) !== 0x3C/* < */ ||\n pos + 2 >= max) {\n return false\n }\n\n // Quick fail on second char\n const ch = state.src.charCodeAt(pos + 1)\n if (ch !== 0x21/* ! */ &&\n ch !== 0x3F/* ? */ &&\n ch !== 0x2F/* / */ &&\n !isLetter(ch)) {\n return false\n }\n\n const match = state.src.slice(pos).match(HTML_TAG_RE)\n if (!match) { return false }\n\n if (!silent) {\n const token = state.push('html_inline', '', 0)\n token.content = match[0]\n\n if (isLinkOpen(token.content)) state.linkLevel++\n if (isLinkClose(token.content)) state.linkLevel--\n }\n state.pos += match[0].length\n return true\n}\n","// Process html entity - {, ¯, ", ...\n\nimport { decodeHTML } from 'entities'\nimport { isValidEntityCode, fromCodePoint } from '../common/utils.mjs'\n\nconst DIGITAL_RE = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i\nconst NAMED_RE = /^&([a-z][a-z0-9]{1,31});/i\n\nexport default function entity (state, silent) {\n const pos = state.pos\n const max = state.posMax\n\n if (state.src.charCodeAt(pos) !== 0x26/* & */) return false\n\n if (pos + 1 >= max) return false\n\n const ch = state.src.charCodeAt(pos + 1)\n\n if (ch === 0x23 /* # */) {\n const match = state.src.slice(pos).match(DIGITAL_RE)\n if (match) {\n if (!silent) {\n const code = match[1][0].toLowerCase() === 'x' ? parseInt(match[1].slice(1), 16) : parseInt(match[1], 10)\n\n const token = state.push('text_special', '', 0)\n token.content = isValidEntityCode(code) ? fromCodePoint(code) : fromCodePoint(0xFFFD)\n token.markup = match[0]\n token.info = 'entity'\n }\n state.pos += match[0].length\n return true\n }\n } else {\n const match = state.src.slice(pos).match(NAMED_RE)\n if (match) {\n const decoded = decodeHTML(match[0])\n if (decoded !== match[0]) {\n if (!silent) {\n const token = state.push('text_special', '', 0)\n token.content = decoded\n token.markup = match[0]\n token.info = 'entity'\n }\n state.pos += match[0].length\n return true\n }\n }\n }\n\n return false\n}\n","// For each opening emphasis-like marker find a matching closing one\n//\n\nfunction processDelimiters (delimiters) {\n const openersBottom = {}\n const max = delimiters.length\n\n if (!max) return\n\n // headerIdx is the first delimiter of the current (where closer is) delimiter run\n let headerIdx = 0\n let lastTokenIdx = -2 // needs any value lower than -1\n const jumps = []\n\n for (let closerIdx = 0; closerIdx < max; closerIdx++) {\n const closer = delimiters[closerIdx]\n\n jumps.push(0)\n\n // markers belong to same delimiter run if:\n // - they have adjacent tokens\n // - AND markers are the same\n //\n if (delimiters[headerIdx].marker !== closer.marker || lastTokenIdx !== closer.token - 1) {\n headerIdx = closerIdx\n }\n\n lastTokenIdx = closer.token\n\n // Length is only used for emphasis-specific \"rule of 3\",\n // if it's not defined (in strikethrough or 3rd party plugins),\n // we can default it to 0 to disable those checks.\n //\n closer.length = closer.length || 0\n\n if (!closer.close) continue\n\n // Previously calculated lower bounds (previous fails)\n // for each marker, each delimiter length modulo 3,\n // and for whether this closer can be an opener;\n // https://github.com/commonmark/cmark/commit/34250e12ccebdc6372b8b49c44fab57c72443460\n /* eslint-disable-next-line no-prototype-builtins */\n if (!openersBottom.hasOwnProperty(closer.marker)) {\n openersBottom[closer.marker] = [-1, -1, -1, -1, -1, -1]\n }\n\n const minOpenerIdx = openersBottom[closer.marker][(closer.open ? 3 : 0) + (closer.length % 3)]\n\n let openerIdx = headerIdx - jumps[headerIdx] - 1\n\n let newMinOpenerIdx = openerIdx\n\n for (; openerIdx > minOpenerIdx; openerIdx -= jumps[openerIdx] + 1) {\n const opener = delimiters[openerIdx]\n\n if (opener.marker !== closer.marker) continue\n\n if (opener.open && opener.end < 0) {\n let isOddMatch = false\n\n // from spec:\n //\n // If one of the delimiters can both open and close emphasis, then the\n // sum of the lengths of the delimiter runs containing the opening and\n // closing delimiters must not be a multiple of 3 unless both lengths\n // are multiples of 3.\n //\n if (opener.close || closer.open) {\n if ((opener.length + closer.length) % 3 === 0) {\n if (opener.length % 3 !== 0 || closer.length % 3 !== 0) {\n isOddMatch = true\n }\n }\n }\n\n if (!isOddMatch) {\n // If previous delimiter cannot be an opener, we can safely skip\n // the entire sequence in future checks. This is required to make\n // sure algorithm has linear complexity (see *_*_*_*_*_... case).\n //\n const lastJump = openerIdx > 0 && !delimiters[openerIdx - 1].open\n ? jumps[openerIdx - 1] + 1\n : 0\n\n jumps[closerIdx] = closerIdx - openerIdx + lastJump\n jumps[openerIdx] = lastJump\n\n closer.open = false\n opener.end = closerIdx\n opener.close = false\n newMinOpenerIdx = -1\n // treat next token as start of run,\n // it optimizes skips in **<...>**a**<...>** pathological case\n lastTokenIdx = -2\n break\n }\n }\n }\n\n if (newMinOpenerIdx !== -1) {\n // If match for this delimiter run failed, we want to set lower bound for\n // future lookups. This is required to make sure algorithm has linear\n // complexity.\n //\n // See details here:\n // https://github.com/commonmark/cmark/issues/178#issuecomment-270417442\n //\n openersBottom[closer.marker][(closer.open ? 3 : 0) + ((closer.length || 0) % 3)] = newMinOpenerIdx\n }\n }\n}\n\nexport default function link_pairs (state) {\n const tokens_meta = state.tokens_meta\n const max = state.tokens_meta.length\n\n processDelimiters(state.delimiters)\n\n for (let curr = 0; curr < max; curr++) {\n if (tokens_meta[curr] && tokens_meta[curr].delimiters) {\n processDelimiters(tokens_meta[curr].delimiters)\n }\n }\n}\n","// Clean up tokens after emphasis and strikethrough postprocessing:\n// merge adjacent text nodes into one and re-calculate all token levels\n//\n// This is necessary because initially emphasis delimiter markers (*, _, ~)\n// are treated as their own separate text tokens. Then emphasis rule either\n// leaves them as text (needed to merge with adjacent text) or turns them\n// into opening/closing tags (which messes up levels inside).\n//\n\nexport default function fragments_join (state) {\n let curr, last\n let level = 0\n const tokens = state.tokens\n const max = state.tokens.length\n\n for (curr = last = 0; curr < max; curr++) {\n // re-calculate levels after emphasis/strikethrough turns some text nodes\n // into opening/closing tags\n if (tokens[curr].nesting < 0) level-- // closing tag\n tokens[curr].level = level\n if (tokens[curr].nesting > 0) level++ // opening tag\n\n if (tokens[curr].type === 'text' &&\n curr + 1 < max &&\n tokens[curr + 1].type === 'text') {\n // collapse two adjacent text nodes\n tokens[curr + 1].content = tokens[curr].content + tokens[curr + 1].content\n } else {\n if (curr !== last) { tokens[last] = tokens[curr] }\n\n last++\n }\n }\n\n if (curr !== last) {\n tokens.length = last\n }\n}\n","/** internal\n * class ParserInline\n *\n * Tokenizes paragraph content.\n **/\n\nimport Ruler from './ruler.mjs'\nimport StateInline from './rules_inline/state_inline.mjs'\n\nimport r_text from './rules_inline/text.mjs'\nimport r_linkify from './rules_inline/linkify.mjs'\nimport r_newline from './rules_inline/newline.mjs'\nimport r_escape from './rules_inline/escape.mjs'\nimport r_backticks from './rules_inline/backticks.mjs'\nimport r_strikethrough from './rules_inline/strikethrough.mjs'\nimport r_emphasis from './rules_inline/emphasis.mjs'\nimport r_link from './rules_inline/link.mjs'\nimport r_image from './rules_inline/image.mjs'\nimport r_autolink from './rules_inline/autolink.mjs'\nimport r_html_inline from './rules_inline/html_inline.mjs'\nimport r_entity from './rules_inline/entity.mjs'\n\nimport r_balance_pairs from './rules_inline/balance_pairs.mjs'\nimport r_fragments_join from './rules_inline/fragments_join.mjs'\n\n// Parser rules\n\nconst _rules = [\n ['text', r_text],\n ['linkify', r_linkify],\n ['newline', r_newline],\n ['escape', r_escape],\n ['backticks', r_backticks],\n ['strikethrough', r_strikethrough.tokenize],\n ['emphasis', r_emphasis.tokenize],\n ['link', r_link],\n ['image', r_image],\n ['autolink', r_autolink],\n ['html_inline', r_html_inline],\n ['entity', r_entity]\n]\n\n// `rule2` ruleset was created specifically for emphasis/strikethrough\n// post-processing and may be changed in the future.\n//\n// Don't use this for anything except pairs (plugins working with `balance_pairs`).\n//\nconst _rules2 = [\n ['balance_pairs', r_balance_pairs],\n ['strikethrough', r_strikethrough.postProcess],\n ['emphasis', r_emphasis.postProcess],\n // rules for pairs separate '**' into its own text tokens, which may be left unused,\n // rule below merges unused segments back with the rest of the text\n ['fragments_join', r_fragments_join]\n]\n\n/**\n * new ParserInline()\n **/\nfunction ParserInline () {\n /**\n * ParserInline#ruler -> Ruler\n *\n * [[Ruler]] instance. Keep configuration of inline rules.\n **/\n this.ruler = new Ruler()\n\n for (let i = 0; i < _rules.length; i++) {\n this.ruler.push(_rules[i][0], _rules[i][1])\n }\n\n /**\n * ParserInline#ruler2 -> Ruler\n *\n * [[Ruler]] instance. Second ruler used for post-processing\n * (e.g. in emphasis-like rules).\n **/\n this.ruler2 = new Ruler()\n\n for (let i = 0; i < _rules2.length; i++) {\n this.ruler2.push(_rules2[i][0], _rules2[i][1])\n }\n}\n\n// Skip single token by running all rules in validation mode;\n// returns `true` if any rule reported success\n//\nParserInline.prototype.skipToken = function (state) {\n const pos = state.pos\n const rules = this.ruler.getRules('')\n const len = rules.length\n const maxNesting = state.md.options.maxNesting\n const cache = state.cache\n\n if (typeof cache[pos] !== 'undefined') {\n state.pos = cache[pos]\n return\n }\n\n let ok = false\n\n if (state.level < maxNesting) {\n for (let i = 0; i < len; i++) {\n // Increment state.level and decrement it later to limit recursion.\n // It's harmless to do here, because no tokens are created. But ideally,\n // we'd need a separate private state variable for this purpose.\n //\n state.level++\n ok = rules[i](state, true)\n state.level--\n\n if (ok) {\n if (pos >= state.pos) { throw new Error(\"inline rule didn't increment state.pos\") }\n break\n }\n }\n } else {\n // Too much nesting, just skip until the end of the paragraph.\n //\n // NOTE: this will cause links to behave incorrectly in the following case,\n // when an amount of `[` is exactly equal to `maxNesting + 1`:\n //\n // [[[[[[[[[[[[[[[[[[[[[foo]()\n //\n // TODO: remove this workaround when CM standard will allow nested links\n // (we can replace it by preventing links from being parsed in\n // validation mode)\n //\n state.pos = state.posMax\n }\n\n if (!ok) { state.pos++ }\n cache[pos] = state.pos\n}\n\n// Generate tokens for input range\n//\nParserInline.prototype.tokenize = function (state) {\n const rules = this.ruler.getRules('')\n const len = rules.length\n const end = state.posMax\n const maxNesting = state.md.options.maxNesting\n\n while (state.pos < end) {\n // Try all possible rules.\n // On success, rule should:\n //\n // - update `state.pos`\n // - update `state.tokens`\n // - return true\n const prevPos = state.pos\n let ok = false\n\n if (state.level < maxNesting) {\n for (let i = 0; i < len; i++) {\n ok = rules[i](state, false)\n if (ok) {\n if (prevPos >= state.pos) { throw new Error(\"inline rule didn't increment state.pos\") }\n break\n }\n }\n }\n\n if (ok) {\n if (state.pos >= end) { break }\n continue\n }\n\n state.pending += state.src[state.pos++]\n }\n\n if (state.pending) {\n state.pushPending()\n }\n}\n\n/**\n * ParserInline.parse(str, md, env, outTokens)\n *\n * Process input string and push inline tokens into `outTokens`\n **/\nParserInline.prototype.parse = function (str, md, env, outTokens) {\n const state = new this.State(str, md, env, outTokens)\n\n this.tokenize(state)\n\n const rules = this.ruler2.getRules('')\n const len = rules.length\n\n for (let i = 0; i < len; i++) {\n rules[i](state)\n }\n}\n\nParserInline.prototype.State = StateInline\n\nexport default ParserInline\n","import { Any, Cc, Z, P } from 'uc.micro'\n\nexport default function (opts) {\n const re = {}\n opts = opts || {}\n\n re.src_Any = Any.source\n re.src_Cc = Cc.source\n re.src_Z = Z.source\n re.src_P = P.source\n\n // \\p{\\Z\\P\\Cc\\CF} (white spaces + control + format + punctuation)\n re.src_ZPCc = [re.src_Z, re.src_P, re.src_Cc].join('|')\n\n // \\p{\\Z\\Cc} (white spaces + control)\n re.src_ZCc = [re.src_Z, re.src_Cc].join('|')\n\n // Experimental. List of chars, completely prohibited in links\n // because can separate it from other part of text\n const text_separators = '[><\\uff5c]'\n\n // All possible word characters (everything without punctuation, spaces & controls)\n // Defined via punctuation & spaces to save space\n // Should be something like \\p{\\L\\N\\S\\M} (\\w but without `_`)\n re.src_pseudo_letter = '(?:(?!' + text_separators + '|' + re.src_ZPCc + ')' + re.src_Any + ')'\n // The same as abothe but without [0-9]\n // var src_pseudo_letter_non_d = '(?:(?![0-9]|' + src_ZPCc + ')' + src_Any + ')';\n\n re.src_ip4 =\n\n '(?:(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\n // Prohibit any of \"@/[]()\" in user/pass to avoid wrong domain fetch.\n re.src_auth = '(?:(?:(?!' + re.src_ZCc + '|[@/\\\\[\\\\]()]).)+@)?'\n\n re.src_port =\n\n '(?::(?:6(?:[0-4]\\\\d{3}|5(?:[0-4]\\\\d{2}|5(?:[0-2]\\\\d|3[0-5])))|[1-5]?\\\\d{1,4}))?'\n\n re.src_host_terminator =\n\n '(?=$|' + text_separators + '|' + re.src_ZPCc + ')' +\n '(?!' + (opts['---'] ? '-(?!--)|' : '-|') + '_|:\\\\d|\\\\.-|\\\\.(?!$|' + re.src_ZPCc + '))'\n\n re.src_path =\n\n '(?:' +\n '[/?#]' +\n '(?:' +\n '(?!' + re.src_ZCc + '|' + text_separators + '|[()[\\\\]{}.,\"\\'?!\\\\-;]).|' +\n '\\\\[(?:(?!' + re.src_ZCc + '|\\\\]).)*\\\\]|' +\n '\\\\((?:(?!' + re.src_ZCc + '|[)]).)*\\\\)|' +\n '\\\\{(?:(?!' + re.src_ZCc + '|[}]).)*\\\\}|' +\n '\\\\\"(?:(?!' + re.src_ZCc + '|[\"]).)+\\\\\"|' +\n \"\\\\'(?:(?!\" + re.src_ZCc + \"|[']).)+\\\\'|\" +\n\n // allow `I'm_king` if no pair found\n \"\\\\'(?=\" + re.src_pseudo_letter + '|[-])|' +\n\n // google has many dots in \"google search\" links (#66, #81).\n // github has ... in commit range links,\n // Restrict to\n // - english\n // - percent-encoded\n // - parts of file path\n // - params separator\n // until more examples found.\n '\\\\.{2,}[a-zA-Z0-9%/&]|' +\n\n '\\\\.(?!' + re.src_ZCc + '|[.]|$)|' +\n (opts['---']\n ? '\\\\-(?!--(?:[^-]|$))(?:-*)|' // `---` => long dash, terminate\n : '\\\\-+|'\n ) +\n // allow `,,,` in paths\n ',(?!' + re.src_ZCc + '|$)|' +\n\n // allow `;` if not followed by space-like char\n ';(?!' + re.src_ZCc + '|$)|' +\n\n // allow `!!!` in paths, but not at the end\n '\\\\!+(?!' + re.src_ZCc + '|[!]|$)|' +\n\n '\\\\?(?!' + re.src_ZCc + '|[?]|$)' +\n ')+' +\n '|\\\\/' +\n ')?'\n\n // Allow anything in markdown spec, forbid quote (\") at the first position\n // because emails enclosed in quotes are far more common\n re.src_email_name =\n\n '[\\\\-;:&=\\\\+\\\\$,\\\\.a-zA-Z0-9_][\\\\-;:&=\\\\+\\\\$,\\\\\"\\\\.a-zA-Z0-9_]*'\n\n re.src_xn =\n\n 'xn--[a-z0-9\\\\-]{1,59}'\n\n // More to read about domain names\n // http://serverfault.com/questions/638260/\n\n re.src_domain_root =\n\n // Allow letters & digits (http://test1)\n '(?:' +\n re.src_xn +\n '|' +\n re.src_pseudo_letter + '{1,63}' +\n ')'\n\n re.src_domain =\n\n '(?:' +\n re.src_xn +\n '|' +\n '(?:' + re.src_pseudo_letter + ')' +\n '|' +\n '(?:' + re.src_pseudo_letter + '(?:-|' + re.src_pseudo_letter + '){0,61}' + re.src_pseudo_letter + ')' +\n ')'\n\n re.src_host =\n\n '(?:' +\n // Don't need IP check, because digits are already allowed in normal domain names\n // src_ip4 +\n // '|' +\n '(?:(?:(?:' + re.src_domain + ')\\\\.)*' + re.src_domain/* _root */ + ')' +\n ')'\n\n re.tpl_host_fuzzy =\n\n '(?:' +\n re.src_ip4 +\n '|' +\n '(?:(?:(?:' + re.src_domain + ')\\\\.)+(?:%TLDS%))' +\n ')'\n\n re.tpl_host_no_ip_fuzzy =\n\n '(?:(?:(?:' + re.src_domain + ')\\\\.)+(?:%TLDS%))'\n\n re.src_host_strict =\n\n re.src_host + re.src_host_terminator\n\n re.tpl_host_fuzzy_strict =\n\n re.tpl_host_fuzzy + re.src_host_terminator\n\n re.src_host_port_strict =\n\n re.src_host + re.src_port + re.src_host_terminator\n\n re.tpl_host_port_fuzzy_strict =\n\n re.tpl_host_fuzzy + re.src_port + re.src_host_terminator\n\n re.tpl_host_port_no_ip_fuzzy_strict =\n\n re.tpl_host_no_ip_fuzzy + re.src_port + re.src_host_terminator\n\n //\n // Main rules\n //\n\n // Rude test fuzzy links by host, for quick deny\n re.tpl_host_fuzzy_test =\n\n 'localhost|www\\\\.|\\\\.\\\\d{1,3}\\\\.|(?:\\\\.(?:%TLDS%)(?:' + re.src_ZPCc + '|>|$))'\n\n re.tpl_email_fuzzy =\n\n '(^|' + text_separators + '|\"|\\\\(|' + re.src_ZCc + ')' +\n '(' + re.src_email_name + '@' + re.tpl_host_fuzzy_strict + ')'\n\n re.tpl_link_fuzzy =\n // Fuzzy link can't be prepended with .:/\\- and non punctuation.\n // but can start with > (markdown blockquote)\n '(^|(?![.:/\\\\-_@])(?:[$+<=>^`|\\uff5c]|' + re.src_ZPCc + '))' +\n '((?![$+<=>^`|\\uff5c])' + re.tpl_host_port_fuzzy_strict + re.src_path + ')'\n\n re.tpl_link_no_ip_fuzzy =\n // Fuzzy link can't be prepended with .:/\\- and non punctuation.\n // but can start with > (markdown blockquote)\n '(^|(?![.:/\\\\-_@])(?:[$+<=>^`|\\uff5c]|' + re.src_ZPCc + '))' +\n '((?![$+<=>^`|\\uff5c])' + re.tpl_host_port_no_ip_fuzzy_strict + re.src_path + ')'\n\n return re\n}\n","import reFactory from './lib/re.mjs'\n\n//\n// Helpers\n//\n\n// Merge objects\n//\nfunction assign (obj /* from1, from2, from3, ... */) {\n const sources = Array.prototype.slice.call(arguments, 1)\n\n sources.forEach(function (source) {\n if (!source) { return }\n\n Object.keys(source).forEach(function (key) {\n obj[key] = source[key]\n })\n })\n\n return obj\n}\n\nfunction _class (obj) { return Object.prototype.toString.call(obj) }\nfunction isString (obj) { return _class(obj) === '[object String]' }\nfunction isObject (obj) { return _class(obj) === '[object Object]' }\nfunction isRegExp (obj) { return _class(obj) === '[object RegExp]' }\nfunction isFunction (obj) { return _class(obj) === '[object Function]' }\n\nfunction escapeRE (str) { return str.replace(/[.?*+^$[\\]\\\\(){}|-]/g, '\\\\$&') }\n\n//\n\nconst defaultOptions = {\n fuzzyLink: true,\n fuzzyEmail: true,\n fuzzyIP: false\n}\n\nfunction isOptionsObj (obj) {\n return Object.keys(obj || {}).reduce(function (acc, k) {\n /* eslint-disable-next-line no-prototype-builtins */\n return acc || defaultOptions.hasOwnProperty(k)\n }, false)\n}\n\nconst defaultSchemas = {\n 'http:': {\n validate: function (text, pos, self) {\n const tail = text.slice(pos)\n\n if (!self.re.http) {\n // compile lazily, because \"host\"-containing variables can change on tlds update.\n self.re.http = new RegExp(\n '^\\\\/\\\\/' + self.re.src_auth + self.re.src_host_port_strict + self.re.src_path, 'i'\n )\n }\n if (self.re.http.test(tail)) {\n return tail.match(self.re.http)[0].length\n }\n return 0\n }\n },\n 'https:': 'http:',\n 'ftp:': 'http:',\n '//': {\n validate: function (text, pos, self) {\n const tail = text.slice(pos)\n\n if (!self.re.no_http) {\n // compile lazily, because \"host\"-containing variables can change on tlds update.\n self.re.no_http = new RegExp(\n '^' +\n self.re.src_auth +\n // Don't allow single-level domains, because of false positives like '//test'\n // with code comments\n '(?:localhost|(?:(?:' + self.re.src_domain + ')\\\\.)+' + self.re.src_domain_root + ')' +\n self.re.src_port +\n self.re.src_host_terminator +\n self.re.src_path,\n\n 'i'\n )\n }\n\n if (self.re.no_http.test(tail)) {\n // should not be `://` & `///`, that protects from errors in protocol name\n if (pos >= 3 && text[pos - 3] === ':') { return 0 }\n if (pos >= 3 && text[pos - 3] === '/') { return 0 }\n return tail.match(self.re.no_http)[0].length\n }\n return 0\n }\n },\n 'mailto:': {\n validate: function (text, pos, self) {\n const tail = text.slice(pos)\n\n if (!self.re.mailto) {\n self.re.mailto = new RegExp(\n '^' + self.re.src_email_name + '@' + self.re.src_host_strict, 'i'\n )\n }\n if (self.re.mailto.test(tail)) {\n return tail.match(self.re.mailto)[0].length\n }\n return 0\n }\n }\n}\n\n// RE pattern for 2-character tlds (autogenerated by ./support/tlds_2char_gen.js)\n/* eslint-disable-next-line max-len */\nconst tlds_2ch_src_re = '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]'\n\n// DON'T try to make PRs with changes. Extend TLDs with LinkifyIt.tlds() instead\nconst tlds_default = 'biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф'.split('|')\n\nfunction resetScanCache (self) {\n self.__index__ = -1\n self.__text_cache__ = ''\n}\n\nfunction createValidator (re) {\n return function (text, pos) {\n const tail = text.slice(pos)\n\n if (re.test(tail)) {\n return tail.match(re)[0].length\n }\n return 0\n }\n}\n\nfunction createNormalizer () {\n return function (match, self) {\n self.normalize(match)\n }\n}\n\n// Schemas compiler. Build regexps.\n//\nfunction compile (self) {\n // Load & clone RE patterns.\n const re = self.re = reFactory(self.__opts__)\n\n // Define dynamic patterns\n const tlds = self.__tlds__.slice()\n\n self.onCompile()\n\n if (!self.__tlds_replaced__) {\n tlds.push(tlds_2ch_src_re)\n }\n tlds.push(re.src_xn)\n\n re.src_tlds = tlds.join('|')\n\n function untpl (tpl) { return tpl.replace('%TLDS%', re.src_tlds) }\n\n re.email_fuzzy = RegExp(untpl(re.tpl_email_fuzzy), 'i')\n re.link_fuzzy = RegExp(untpl(re.tpl_link_fuzzy), 'i')\n re.link_no_ip_fuzzy = RegExp(untpl(re.tpl_link_no_ip_fuzzy), 'i')\n re.host_fuzzy_test = RegExp(untpl(re.tpl_host_fuzzy_test), 'i')\n\n //\n // Compile each schema\n //\n\n const aliases = []\n\n self.__compiled__ = {} // Reset compiled data\n\n function schemaError (name, val) {\n throw new Error('(LinkifyIt) Invalid schema \"' + name + '\": ' + val)\n }\n\n Object.keys(self.__schemas__).forEach(function (name) {\n const val = self.__schemas__[name]\n\n // skip disabled methods\n if (val === null) { return }\n\n const compiled = { validate: null, link: null }\n\n self.__compiled__[name] = compiled\n\n if (isObject(val)) {\n if (isRegExp(val.validate)) {\n compiled.validate = createValidator(val.validate)\n } else if (isFunction(val.validate)) {\n compiled.validate = val.validate\n } else {\n schemaError(name, val)\n }\n\n if (isFunction(val.normalize)) {\n compiled.normalize = val.normalize\n } else if (!val.normalize) {\n compiled.normalize = createNormalizer()\n } else {\n schemaError(name, val)\n }\n\n return\n }\n\n if (isString(val)) {\n aliases.push(name)\n return\n }\n\n schemaError(name, val)\n })\n\n //\n // Compile postponed aliases\n //\n\n aliases.forEach(function (alias) {\n if (!self.__compiled__[self.__schemas__[alias]]) {\n // Silently fail on missed schemas to avoid errons on disable.\n // schemaError(alias, self.__schemas__[alias]);\n return\n }\n\n self.__compiled__[alias].validate =\n self.__compiled__[self.__schemas__[alias]].validate\n self.__compiled__[alias].normalize =\n self.__compiled__[self.__schemas__[alias]].normalize\n })\n\n //\n // Fake record for guessed links\n //\n self.__compiled__[''] = { validate: null, normalize: createNormalizer() }\n\n //\n // Build schema condition\n //\n const slist = Object.keys(self.__compiled__)\n .filter(function (name) {\n // Filter disabled & fake schemas\n return name.length > 0 && self.__compiled__[name]\n })\n .map(escapeRE)\n .join('|')\n // (?!_) cause 1.5x slowdown\n self.re.schema_test = RegExp('(^|(?!_)(?:[><\\uff5c]|' + re.src_ZPCc + '))(' + slist + ')', 'i')\n self.re.schema_search = RegExp('(^|(?!_)(?:[><\\uff5c]|' + re.src_ZPCc + '))(' + slist + ')', 'ig')\n self.re.schema_at_start = RegExp('^' + self.re.schema_search.source, 'i')\n\n self.re.pretest = RegExp(\n '(' + self.re.schema_test.source + ')|(' + self.re.host_fuzzy_test.source + ')|@',\n 'i'\n )\n\n //\n // Cleanup\n //\n\n resetScanCache(self)\n}\n\n/**\n * class Match\n *\n * Match result. Single element of array, returned by [[LinkifyIt#match]]\n **/\nfunction Match (self, shift) {\n const start = self.__index__\n const end = self.__last_index__\n const text = self.__text_cache__.slice(start, end)\n\n /**\n * Match#schema -> String\n *\n * Prefix (protocol) for matched string.\n **/\n this.schema = self.__schema__.toLowerCase()\n /**\n * Match#index -> Number\n *\n * First position of matched string.\n **/\n this.index = start + shift\n /**\n * Match#lastIndex -> Number\n *\n * Next position after matched string.\n **/\n this.lastIndex = end + shift\n /**\n * Match#raw -> String\n *\n * Matched string.\n **/\n this.raw = text\n /**\n * Match#text -> String\n *\n * Notmalized text of matched string.\n **/\n this.text = text\n /**\n * Match#url -> String\n *\n * Normalized url of matched string.\n **/\n this.url = text\n}\n\nfunction createMatch (self, shift) {\n const match = new Match(self, shift)\n\n self.__compiled__[match.schema].normalize(match, self)\n\n return match\n}\n\n/**\n * class LinkifyIt\n **/\n\n/**\n * new LinkifyIt(schemas, options)\n * - schemas (Object): Optional. Additional schemas to validate (prefix/validator)\n * - options (Object): { fuzzyLink|fuzzyEmail|fuzzyIP: true|false }\n *\n * Creates new linkifier instance with optional additional schemas.\n * Can be called without `new` keyword for convenience.\n *\n * By default understands:\n *\n * - `http(s)://...` , `ftp://...`, `mailto:...` & `//...` links\n * - \"fuzzy\" links and emails (example.com, foo@bar.com).\n *\n * `schemas` is an object, where each key/value describes protocol/rule:\n *\n * - __key__ - link prefix (usually, protocol name with `:` at the end, `skype:`\n * for example). `linkify-it` makes shure that prefix is not preceeded with\n * alphanumeric char and symbols. Only whitespaces and punctuation allowed.\n * - __value__ - rule to check tail after link prefix\n * - _String_ - just alias to existing rule\n * - _Object_\n * - _validate_ - validator function (should return matched length on success),\n * or `RegExp`.\n * - _normalize_ - optional function to normalize text & url of matched result\n * (for example, for @twitter mentions).\n *\n * `options`:\n *\n * - __fuzzyLink__ - recognige URL-s without `http(s):` prefix. Default `true`.\n * - __fuzzyIP__ - allow IPs in fuzzy links above. Can conflict with some texts\n * like version numbers. Default `false`.\n * - __fuzzyEmail__ - recognize emails without `mailto:` prefix.\n *\n **/\nfunction LinkifyIt (schemas, options) {\n if (!(this instanceof LinkifyIt)) {\n return new LinkifyIt(schemas, options)\n }\n\n if (!options) {\n if (isOptionsObj(schemas)) {\n options = schemas\n schemas = {}\n }\n }\n\n this.__opts__ = assign({}, defaultOptions, options)\n\n // Cache last tested result. Used to skip repeating steps on next `match` call.\n this.__index__ = -1\n this.__last_index__ = -1 // Next scan position\n this.__schema__ = ''\n this.__text_cache__ = ''\n\n this.__schemas__ = assign({}, defaultSchemas, schemas)\n this.__compiled__ = {}\n\n this.__tlds__ = tlds_default\n this.__tlds_replaced__ = false\n\n this.re = {}\n\n compile(this)\n}\n\n/** chainable\n * LinkifyIt#add(schema, definition)\n * - schema (String): rule name (fixed pattern prefix)\n * - definition (String|RegExp|Object): schema definition\n *\n * Add new rule definition. See constructor description for details.\n **/\nLinkifyIt.prototype.add = function add (schema, definition) {\n this.__schemas__[schema] = definition\n compile(this)\n return this\n}\n\n/** chainable\n * LinkifyIt#set(options)\n * - options (Object): { fuzzyLink|fuzzyEmail|fuzzyIP: true|false }\n *\n * Set recognition options for links without schema.\n **/\nLinkifyIt.prototype.set = function set (options) {\n this.__opts__ = assign(this.__opts__, options)\n return this\n}\n\n/**\n * LinkifyIt#test(text) -> Boolean\n *\n * Searches linkifiable pattern and returns `true` on success or `false` on fail.\n **/\nLinkifyIt.prototype.test = function test (text) {\n // Reset scan cache\n this.__text_cache__ = text\n this.__index__ = -1\n\n if (!text.length) { return false }\n\n let m, ml, me, len, shift, next, re, tld_pos, at_pos\n\n // try to scan for link with schema - that's the most simple rule\n if (this.re.schema_test.test(text)) {\n re = this.re.schema_search\n re.lastIndex = 0\n while ((m = re.exec(text)) !== null) {\n len = this.testSchemaAt(text, m[2], re.lastIndex)\n if (len) {\n this.__schema__ = m[2]\n this.__index__ = m.index + m[1].length\n this.__last_index__ = m.index + m[0].length + len\n break\n }\n }\n }\n\n if (this.__opts__.fuzzyLink && this.__compiled__['http:']) {\n // guess schemaless links\n tld_pos = text.search(this.re.host_fuzzy_test)\n if (tld_pos >= 0) {\n // if tld is located after found link - no need to check fuzzy pattern\n if (this.__index__ < 0 || tld_pos < this.__index__) {\n if ((ml = text.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null) {\n shift = ml.index + ml[1].length\n\n if (this.__index__ < 0 || shift < this.__index__) {\n this.__schema__ = ''\n this.__index__ = shift\n this.__last_index__ = ml.index + ml[0].length\n }\n }\n }\n }\n }\n\n if (this.__opts__.fuzzyEmail && this.__compiled__['mailto:']) {\n // guess schemaless emails\n at_pos = text.indexOf('@')\n if (at_pos >= 0) {\n // We can't skip this check, because this cases are possible:\n // 192.168.1.1@gmail.com, my.in@example.com\n if ((me = text.match(this.re.email_fuzzy)) !== null) {\n shift = me.index + me[1].length\n next = me.index + me[0].length\n\n if (this.__index__ < 0 || shift < this.__index__ ||\n (shift === this.__index__ && next > this.__last_index__)) {\n this.__schema__ = 'mailto:'\n this.__index__ = shift\n this.__last_index__ = next\n }\n }\n }\n }\n\n return this.__index__ >= 0\n}\n\n/**\n * LinkifyIt#pretest(text) -> Boolean\n *\n * Very quick check, that can give false positives. Returns true if link MAY BE\n * can exists. Can be used for speed optimization, when you need to check that\n * link NOT exists.\n **/\nLinkifyIt.prototype.pretest = function pretest (text) {\n return this.re.pretest.test(text)\n}\n\n/**\n * LinkifyIt#testSchemaAt(text, name, position) -> Number\n * - text (String): text to scan\n * - name (String): rule (schema) name\n * - position (Number): text offset to check from\n *\n * Similar to [[LinkifyIt#test]] but checks only specific protocol tail exactly\n * at given position. Returns length of found pattern (0 on fail).\n **/\nLinkifyIt.prototype.testSchemaAt = function testSchemaAt (text, schema, pos) {\n // If not supported schema check requested - terminate\n if (!this.__compiled__[schema.toLowerCase()]) {\n return 0\n }\n return this.__compiled__[schema.toLowerCase()].validate(text, pos, this)\n}\n\n/**\n * LinkifyIt#match(text) -> Array|null\n *\n * Returns array of found link descriptions or `null` on fail. We strongly\n * recommend to use [[LinkifyIt#test]] first, for best speed.\n *\n * ##### Result match description\n *\n * - __schema__ - link schema, can be empty for fuzzy links, or `//` for\n * protocol-neutral links.\n * - __index__ - offset of matched text\n * - __lastIndex__ - index of next char after mathch end\n * - __raw__ - matched text\n * - __text__ - normalized text\n * - __url__ - link, generated from matched text\n **/\nLinkifyIt.prototype.match = function match (text) {\n const result = []\n let shift = 0\n\n // Try to take previous element from cache, if .test() called before\n if (this.__index__ >= 0 && this.__text_cache__ === text) {\n result.push(createMatch(this, shift))\n shift = this.__last_index__\n }\n\n // Cut head if cache was used\n let tail = shift ? text.slice(shift) : text\n\n // Scan string until end reached\n while (this.test(tail)) {\n result.push(createMatch(this, shift))\n\n tail = tail.slice(this.__last_index__)\n shift += this.__last_index__\n }\n\n if (result.length) {\n return result\n }\n\n return null\n}\n\n/**\n * LinkifyIt#matchAtStart(text) -> Match|null\n *\n * Returns fully-formed (not fuzzy) link if it starts at the beginning\n * of the string, and null otherwise.\n **/\nLinkifyIt.prototype.matchAtStart = function matchAtStart (text) {\n // Reset scan cache\n this.__text_cache__ = text\n this.__index__ = -1\n\n if (!text.length) return null\n\n const m = this.re.schema_at_start.exec(text)\n if (!m) return null\n\n const len = this.testSchemaAt(text, m[2], m[0].length)\n if (!len) return null\n\n this.__schema__ = m[2]\n this.__index__ = m.index + m[1].length\n this.__last_index__ = m.index + m[0].length + len\n\n return createMatch(this, 0)\n}\n\n/** chainable\n * LinkifyIt#tlds(list [, keepOld]) -> this\n * - list (Array): list of tlds\n * - keepOld (Boolean): merge with current list if `true` (`false` by default)\n *\n * Load (or merge) new tlds list. Those are user for fuzzy links (without prefix)\n * to avoid false positives. By default this algorythm used:\n *\n * - hostname with any 2-letter root zones are ok.\n * - biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф\n * are ok.\n * - encoded (`xn--...`) root zones are ok.\n *\n * If list is replaced, then exact match for 2-chars root zones will be checked.\n **/\nLinkifyIt.prototype.tlds = function tlds (list, keepOld) {\n list = Array.isArray(list) ? list : [list]\n\n if (!keepOld) {\n this.__tlds__ = list.slice()\n this.__tlds_replaced__ = true\n compile(this)\n return this\n }\n\n this.__tlds__ = this.__tlds__.concat(list)\n .sort()\n .filter(function (el, idx, arr) {\n return el !== arr[idx - 1]\n })\n .reverse()\n\n compile(this)\n return this\n}\n\n/**\n * LinkifyIt#normalize(match)\n *\n * Default normalizer (if schema does not define it's own).\n **/\nLinkifyIt.prototype.normalize = function normalize (match) {\n // Do minimal possible changes by default. Need to collect feedback prior\n // to move forward https://github.com/markdown-it/linkify-it/issues/1\n\n if (!match.schema) { match.url = 'http://' + match.url }\n\n if (match.schema === 'mailto:' && !/^mailto:/i.test(match.url)) {\n match.url = 'mailto:' + match.url\n }\n}\n\n/**\n * LinkifyIt#onCompile()\n *\n * Override to modify basic RegExp-s.\n **/\nLinkifyIt.prototype.onCompile = function onCompile () {\n}\n\nexport default LinkifyIt\n","'use strict';\n\n/** Highest positive signed 32-bit float value */\nconst maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1\n\n/** Bootstring parameters */\nconst base = 36;\nconst tMin = 1;\nconst tMax = 26;\nconst skew = 38;\nconst damp = 700;\nconst initialBias = 72;\nconst initialN = 128; // 0x80\nconst delimiter = '-'; // '\\x2D'\n\n/** Regular expressions */\nconst regexPunycode = /^xn--/;\nconst regexNonASCII = /[^\\0-\\x7F]/; // Note: U+007F DEL is excluded too.\nconst regexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g; // RFC 3490 separators\n\n/** Error messages */\nconst errors = {\n\t'overflow': 'Overflow: input needs wider integers to process',\n\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n\t'invalid-input': 'Invalid input'\n};\n\n/** Convenience shortcuts */\nconst baseMinusTMin = base - tMin;\nconst floor = Math.floor;\nconst stringFromCharCode = String.fromCharCode;\n\n/*--------------------------------------------------------------------------*/\n\n/**\n * A generic error utility function.\n * @private\n * @param {String} type The error type.\n * @returns {Error} Throws a `RangeError` with the applicable error message.\n */\nfunction error(type) {\n\tthrow new RangeError(errors[type]);\n}\n\n/**\n * A generic `Array#map` utility function.\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} callback The function that gets called for every array\n * item.\n * @returns {Array} A new array of values returned by the callback function.\n */\nfunction map(array, callback) {\n\tconst result = [];\n\tlet length = array.length;\n\twhile (length--) {\n\t\tresult[length] = callback(array[length]);\n\t}\n\treturn result;\n}\n\n/**\n * A simple `Array#map`-like wrapper to work with domain name strings or email\n * addresses.\n * @private\n * @param {String} domain The domain name or email address.\n * @param {Function} callback The function that gets called for every\n * character.\n * @returns {String} A new string of characters returned by the callback\n * function.\n */\nfunction mapDomain(domain, callback) {\n\tconst parts = domain.split('@');\n\tlet result = '';\n\tif (parts.length > 1) {\n\t\t// In email addresses, only the domain name should be punycoded. Leave\n\t\t// the local part (i.e. everything up to `@`) intact.\n\t\tresult = parts[0] + '@';\n\t\tdomain = parts[1];\n\t}\n\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\tdomain = domain.replace(regexSeparators, '\\x2E');\n\tconst labels = domain.split('.');\n\tconst encoded = map(labels, callback).join('.');\n\treturn result + encoded;\n}\n\n/**\n * Creates an array containing the numeric code points of each Unicode\n * character in the string. While JavaScript uses UCS-2 internally,\n * this function will convert a pair of surrogate halves (each of which\n * UCS-2 exposes as separate characters) into a single code point,\n * matching UTF-16.\n * @see `punycode.ucs2.encode`\n * @see \n * @memberOf punycode.ucs2\n * @name decode\n * @param {String} string The Unicode input string (UCS-2).\n * @returns {Array} The new array of code points.\n */\nfunction ucs2decode(string) {\n\tconst output = [];\n\tlet counter = 0;\n\tconst length = string.length;\n\twhile (counter < length) {\n\t\tconst value = string.charCodeAt(counter++);\n\t\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n\t\t\t// It's a high surrogate, and there is a next character.\n\t\t\tconst extra = string.charCodeAt(counter++);\n\t\t\tif ((extra & 0xFC00) == 0xDC00) { // Low surrogate.\n\t\t\t\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n\t\t\t} else {\n\t\t\t\t// It's an unmatched surrogate; only append this code unit, in case the\n\t\t\t\t// next code unit is the high surrogate of a surrogate pair.\n\t\t\t\toutput.push(value);\n\t\t\t\tcounter--;\n\t\t\t}\n\t\t} else {\n\t\t\toutput.push(value);\n\t\t}\n\t}\n\treturn output;\n}\n\n/**\n * Creates a string based on an array of numeric code points.\n * @see `punycode.ucs2.decode`\n * @memberOf punycode.ucs2\n * @name encode\n * @param {Array} codePoints The array of numeric code points.\n * @returns {String} The new Unicode string (UCS-2).\n */\nconst ucs2encode = codePoints => String.fromCodePoint(...codePoints);\n\n/**\n * Converts a basic code point into a digit/integer.\n * @see `digitToBasic()`\n * @private\n * @param {Number} codePoint The basic numeric code point value.\n * @returns {Number} The numeric value of a basic code point (for use in\n * representing integers) in the range `0` to `base - 1`, or `base` if\n * the code point does not represent a value.\n */\nconst basicToDigit = function(codePoint) {\n\tif (codePoint >= 0x30 && codePoint < 0x3A) {\n\t\treturn 26 + (codePoint - 0x30);\n\t}\n\tif (codePoint >= 0x41 && codePoint < 0x5B) {\n\t\treturn codePoint - 0x41;\n\t}\n\tif (codePoint >= 0x61 && codePoint < 0x7B) {\n\t\treturn codePoint - 0x61;\n\t}\n\treturn base;\n};\n\n/**\n * Converts a digit/integer into a basic code point.\n * @see `basicToDigit()`\n * @private\n * @param {Number} digit The numeric value of a basic code point.\n * @returns {Number} The basic code point whose value (when used for\n * representing integers) is `digit`, which needs to be in the range\n * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n * used; else, the lowercase form is used. The behavior is undefined\n * if `flag` is non-zero and `digit` has no uppercase form.\n */\nconst digitToBasic = function(digit, flag) {\n\t// 0..25 map to ASCII a..z or A..Z\n\t// 26..35 map to ASCII 0..9\n\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n};\n\n/**\n * Bias adaptation function as per section 3.4 of RFC 3492.\n * https://tools.ietf.org/html/rfc3492#section-3.4\n * @private\n */\nconst adapt = function(delta, numPoints, firstTime) {\n\tlet k = 0;\n\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\n\tdelta += floor(delta / numPoints);\n\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\n\t\tdelta = floor(delta / baseMinusTMin);\n\t}\n\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n};\n\n/**\n * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n * symbols.\n * @memberOf punycode\n * @param {String} input The Punycode string of ASCII-only symbols.\n * @returns {String} The resulting string of Unicode symbols.\n */\nconst decode = function(input) {\n\t// Don't use UCS-2.\n\tconst output = [];\n\tconst inputLength = input.length;\n\tlet i = 0;\n\tlet n = initialN;\n\tlet bias = initialBias;\n\n\t// Handle the basic code points: let `basic` be the number of input code\n\t// points before the last delimiter, or `0` if there is none, then copy\n\t// the first basic code points to the output.\n\n\tlet basic = input.lastIndexOf(delimiter);\n\tif (basic < 0) {\n\t\tbasic = 0;\n\t}\n\n\tfor (let j = 0; j < basic; ++j) {\n\t\t// if it's not a basic code point\n\t\tif (input.charCodeAt(j) >= 0x80) {\n\t\t\terror('not-basic');\n\t\t}\n\t\toutput.push(input.charCodeAt(j));\n\t}\n\n\t// Main decoding loop: start just after the last delimiter if any basic code\n\t// points were copied; start at the beginning otherwise.\n\n\tfor (let index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\n\n\t\t// `index` is the index of the next character to be consumed.\n\t\t// Decode a generalized variable-length integer into `delta`,\n\t\t// which gets added to `i`. The overflow checking is easier\n\t\t// if we increase `i` as we go, then subtract off its starting\n\t\t// value at the end to obtain `delta`.\n\t\tconst oldi = i;\n\t\tfor (let w = 1, k = base; /* no condition */; k += base) {\n\n\t\t\tif (index >= inputLength) {\n\t\t\t\terror('invalid-input');\n\t\t\t}\n\n\t\t\tconst digit = basicToDigit(input.charCodeAt(index++));\n\n\t\t\tif (digit >= base) {\n\t\t\t\terror('invalid-input');\n\t\t\t}\n\t\t\tif (digit > floor((maxInt - i) / w)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\ti += digit * w;\n\t\t\tconst t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\n\t\t\tif (digit < t) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tconst baseMinusT = base - t;\n\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tw *= baseMinusT;\n\n\t\t}\n\n\t\tconst out = output.length + 1;\n\t\tbias = adapt(i - oldi, out, oldi == 0);\n\n\t\t// `i` was supposed to wrap around from `out` to `0`,\n\t\t// incrementing `n` each time, so we'll fix that now:\n\t\tif (floor(i / out) > maxInt - n) {\n\t\t\terror('overflow');\n\t\t}\n\n\t\tn += floor(i / out);\n\t\ti %= out;\n\n\t\t// Insert `n` at position `i` of the output.\n\t\toutput.splice(i++, 0, n);\n\n\t}\n\n\treturn String.fromCodePoint(...output);\n};\n\n/**\n * Converts a string of Unicode symbols (e.g. a domain name label) to a\n * Punycode string of ASCII-only symbols.\n * @memberOf punycode\n * @param {String} input The string of Unicode symbols.\n * @returns {String} The resulting Punycode string of ASCII-only symbols.\n */\nconst encode = function(input) {\n\tconst output = [];\n\n\t// Convert the input in UCS-2 to an array of Unicode code points.\n\tinput = ucs2decode(input);\n\n\t// Cache the length.\n\tconst inputLength = input.length;\n\n\t// Initialize the state.\n\tlet n = initialN;\n\tlet delta = 0;\n\tlet bias = initialBias;\n\n\t// Handle the basic code points.\n\tfor (const currentValue of input) {\n\t\tif (currentValue < 0x80) {\n\t\t\toutput.push(stringFromCharCode(currentValue));\n\t\t}\n\t}\n\n\tconst basicLength = output.length;\n\tlet handledCPCount = basicLength;\n\n\t// `handledCPCount` is the number of code points that have been handled;\n\t// `basicLength` is the number of basic code points.\n\n\t// Finish the basic string with a delimiter unless it's empty.\n\tif (basicLength) {\n\t\toutput.push(delimiter);\n\t}\n\n\t// Main encoding loop:\n\twhile (handledCPCount < inputLength) {\n\n\t\t// All non-basic code points < n have been handled already. Find the next\n\t\t// larger one:\n\t\tlet m = maxInt;\n\t\tfor (const currentValue of input) {\n\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\tm = currentValue;\n\t\t\t}\n\t\t}\n\n\t\t// Increase `delta` enough to advance the decoder's state to ,\n\t\t// but guard against overflow.\n\t\tconst handledCPCountPlusOne = handledCPCount + 1;\n\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\terror('overflow');\n\t\t}\n\n\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\tn = m;\n\n\t\tfor (const currentValue of input) {\n\t\t\tif (currentValue < n && ++delta > maxInt) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\t\t\tif (currentValue === n) {\n\t\t\t\t// Represent delta as a generalized variable-length integer.\n\t\t\t\tlet q = delta;\n\t\t\t\tfor (let k = base; /* no condition */; k += base) {\n\t\t\t\t\tconst t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tconst qMinusT = q - t;\n\t\t\t\t\tconst baseMinusT = base - t;\n\t\t\t\t\toutput.push(\n\t\t\t\t\t\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\n\t\t\t\t\t);\n\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t}\n\n\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength);\n\t\t\t\tdelta = 0;\n\t\t\t\t++handledCPCount;\n\t\t\t}\n\t\t}\n\n\t\t++delta;\n\t\t++n;\n\n\t}\n\treturn output.join('');\n};\n\n/**\n * Converts a Punycode string representing a domain name or an email address\n * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n * it doesn't matter if you call it on a string that has already been\n * converted to Unicode.\n * @memberOf punycode\n * @param {String} input The Punycoded domain name or email address to\n * convert to Unicode.\n * @returns {String} The Unicode representation of the given Punycode\n * string.\n */\nconst toUnicode = function(input) {\n\treturn mapDomain(input, function(string) {\n\t\treturn regexPunycode.test(string)\n\t\t\t? decode(string.slice(4).toLowerCase())\n\t\t\t: string;\n\t});\n};\n\n/**\n * Converts a Unicode string representing a domain name or an email address to\n * Punycode. Only the non-ASCII parts of the domain name will be converted,\n * i.e. it doesn't matter if you call it with a domain that's already in\n * ASCII.\n * @memberOf punycode\n * @param {String} input The domain name or email address to convert, as a\n * Unicode string.\n * @returns {String} The Punycode representation of the given domain name or\n * email address.\n */\nconst toASCII = function(input) {\n\treturn mapDomain(input, function(string) {\n\t\treturn regexNonASCII.test(string)\n\t\t\t? 'xn--' + encode(string)\n\t\t\t: string;\n\t});\n};\n\n/*--------------------------------------------------------------------------*/\n\n/** Define the public API */\nconst punycode = {\n\t/**\n\t * A string representing the current Punycode.js version number.\n\t * @memberOf punycode\n\t * @type String\n\t */\n\t'version': '2.3.1',\n\t/**\n\t * An object of methods to convert from JavaScript's internal character\n\t * representation (UCS-2) to Unicode code points, and back.\n\t * @see \n\t * @memberOf punycode\n\t * @type Object\n\t */\n\t'ucs2': {\n\t\t'decode': ucs2decode,\n\t\t'encode': ucs2encode\n\t},\n\t'decode': decode,\n\t'encode': encode,\n\t'toASCII': toASCII,\n\t'toUnicode': toUnicode\n};\n\nexport { ucs2decode, ucs2encode, decode, encode, toASCII, toUnicode };\nexport default punycode;\n","// markdown-it default options\n\nexport default {\n options: {\n // Enable HTML tags in source\n html: false,\n\n // Use '/' to close single tags (
)\n xhtmlOut: false,\n\n // Convert '\\n' in paragraphs into
\n breaks: false,\n\n // CSS language prefix for fenced blocks\n langPrefix: 'language-',\n\n // autoconvert URL-like texts to links\n linkify: false,\n\n // Enable some language-neutral replacements + quotes beautification\n typographer: false,\n\n // Double + single quotes replacement pairs, when typographer enabled,\n // and smartquotes on. Could be either a String or an Array.\n //\n // For example, you can use '«»„“' for Russian, '„“‚‘' for German,\n // and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp).\n quotes: '\\u201c\\u201d\\u2018\\u2019', /* “”‘’ */\n\n // Highlighter function. Should return escaped HTML,\n // or '' if the source string is not changed and should be escaped externaly.\n // If result starts with )\n xhtmlOut: false,\n\n // Convert '\\n' in paragraphs into
\n breaks: false,\n\n // CSS language prefix for fenced blocks\n langPrefix: 'language-',\n\n // autoconvert URL-like texts to links\n linkify: false,\n\n // Enable some language-neutral replacements + quotes beautification\n typographer: false,\n\n // Double + single quotes replacement pairs, when typographer enabled,\n // and smartquotes on. Could be either a String or an Array.\n //\n // For example, you can use '«»„“' for Russian, '„“‚‘' for German,\n // and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp).\n quotes: '\\u201c\\u201d\\u2018\\u2019', /* “”‘’ */\n\n // Highlighter function. Should return escaped HTML,\n // or '' if the source string is not changed and should be escaped externaly.\n // If result starts with )\n xhtmlOut: true,\n\n // Convert '\\n' in paragraphs into
\n breaks: false,\n\n // CSS language prefix for fenced blocks\n langPrefix: 'language-',\n\n // autoconvert URL-like texts to links\n linkify: false,\n\n // Enable some language-neutral replacements + quotes beautification\n typographer: false,\n\n // Double + single quotes replacement pairs, when typographer enabled,\n // and smartquotes on. Could be either a String or an Array.\n //\n // For example, you can use '«»„“' for Russian, '„“‚‘' for German,\n // and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp).\n quotes: '\\u201c\\u201d\\u2018\\u2019', /* “”‘’ */\n\n // Highlighter function. Should return escaped HTML,\n // or '' if the source string is not changed and should be escaped externaly.\n // If result starts with = 0) {\n try {\n parsed.hostname = punycode.toASCII(parsed.hostname)\n } catch (er) { /**/ }\n }\n }\n\n return mdurl.encode(mdurl.format(parsed))\n}\n\nfunction normalizeLinkText (url) {\n const parsed = mdurl.parse(url, true)\n\n if (parsed.hostname) {\n // Encode hostnames in urls like:\n // `http://host/`, `https://host/`, `mailto:user@host`, `//host/`\n //\n // We don't encode unknown schemas, because it's likely that we encode\n // something we shouldn't (e.g. `skype:name` treated as `skype:host`)\n //\n if (!parsed.protocol || RECODE_HOSTNAME_FOR.indexOf(parsed.protocol) >= 0) {\n try {\n parsed.hostname = punycode.toUnicode(parsed.hostname)\n } catch (er) { /**/ }\n }\n }\n\n // add '%' to exclude list because of https://github.com/markdown-it/markdown-it/issues/720\n return mdurl.decode(mdurl.format(parsed), mdurl.decode.defaultChars + '%')\n}\n\n/**\n * class MarkdownIt\n *\n * Main parser/renderer class.\n *\n * ##### Usage\n *\n * ```javascript\n * // node.js, \"classic\" way:\n * var MarkdownIt = require('markdown-it'),\n * md = new MarkdownIt();\n * var result = md.render('# markdown-it rulezz!');\n *\n * // node.js, the same, but with sugar:\n * var md = require('markdown-it')();\n * var result = md.render('# markdown-it rulezz!');\n *\n * // browser without AMD, added to \"window\" on script load\n * // Note, there are no dash.\n * var md = window.markdownit();\n * var result = md.render('# markdown-it rulezz!');\n * ```\n *\n * Single line rendering, without paragraph wrap:\n *\n * ```javascript\n * var md = require('markdown-it')();\n * var result = md.renderInline('__markdown-it__ rulezz!');\n * ```\n **/\n\n/**\n * new MarkdownIt([presetName, options])\n * - presetName (String): optional, `commonmark` / `zero`\n * - options (Object)\n *\n * Creates parser instanse with given config. Can be called without `new`.\n *\n * ##### presetName\n *\n * MarkdownIt provides named presets as a convenience to quickly\n * enable/disable active syntax rules and options for common use cases.\n *\n * - [\"commonmark\"](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/commonmark.mjs) -\n * configures parser to strict [CommonMark](http://commonmark.org/) mode.\n * - [default](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/default.mjs) -\n * similar to GFM, used when no preset name given. Enables all available rules,\n * but still without html, typographer & autolinker.\n * - [\"zero\"](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/zero.mjs) -\n * all rules disabled. Useful to quickly setup your config via `.enable()`.\n * For example, when you need only `bold` and `italic` markup and nothing else.\n *\n * ##### options:\n *\n * - __html__ - `false`. Set `true` to enable HTML tags in source. Be careful!\n * That's not safe! You may need external sanitizer to protect output from XSS.\n * It's better to extend features via plugins, instead of enabling HTML.\n * - __xhtmlOut__ - `false`. Set `true` to add '/' when closing single tags\n * (`
`). This is needed only for full CommonMark compatibility. In real\n * world you will need HTML output.\n * - __breaks__ - `false`. Set `true` to convert `\\n` in paragraphs into `
`.\n * - __langPrefix__ - `language-`. CSS language class prefix for fenced blocks.\n * Can be useful for external highlighters.\n * - __linkify__ - `false`. Set `true` to autoconvert URL-like text to links.\n * - __typographer__ - `false`. Set `true` to enable [some language-neutral\n * replacement](https://github.com/markdown-it/markdown-it/blob/master/lib/rules_core/replacements.mjs) +\n * quotes beautification (smartquotes).\n * - __quotes__ - `“”‘’`, String or Array. Double + single quotes replacement\n * pairs, when typographer enabled and smartquotes on. For example, you can\n * use `'«»„“'` for Russian, `'„“‚‘'` for German, and\n * `['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›']` for French (including nbsp).\n * - __highlight__ - `null`. Highlighter function for fenced code blocks.\n * Highlighter `function (str, lang)` should return escaped HTML. It can also\n * return empty string if the source was not changed and should be escaped\n * externaly. If result starts with ` or ``):\n *\n * ```javascript\n * var hljs = require('highlight.js') // https://highlightjs.org/\n *\n * // Actual default values\n * var md = require('markdown-it')({\n * highlight: function (str, lang) {\n * if (lang && hljs.getLanguage(lang)) {\n * try {\n * return '
' +\n *                hljs.highlight(str, { language: lang, ignoreIllegals: true }).value +\n *                '
';\n * } catch (__) {}\n * }\n *\n * return '
' + md.utils.escapeHtml(str) + '
';\n * }\n * });\n * ```\n *\n **/\nfunction MarkdownIt (presetName, options) {\n if (!(this instanceof MarkdownIt)) {\n return new MarkdownIt(presetName, options)\n }\n\n if (!options) {\n if (!utils.isString(presetName)) {\n options = presetName || {}\n presetName = 'default'\n }\n }\n\n /**\n * MarkdownIt#inline -> ParserInline\n *\n * Instance of [[ParserInline]]. You may need it to add new rules when\n * writing plugins. For simple rules control use [[MarkdownIt.disable]] and\n * [[MarkdownIt.enable]].\n **/\n this.inline = new ParserInline()\n\n /**\n * MarkdownIt#block -> ParserBlock\n *\n * Instance of [[ParserBlock]]. You may need it to add new rules when\n * writing plugins. For simple rules control use [[MarkdownIt.disable]] and\n * [[MarkdownIt.enable]].\n **/\n this.block = new ParserBlock()\n\n /**\n * MarkdownIt#core -> Core\n *\n * Instance of [[Core]] chain executor. You may need it to add new rules when\n * writing plugins. For simple rules control use [[MarkdownIt.disable]] and\n * [[MarkdownIt.enable]].\n **/\n this.core = new ParserCore()\n\n /**\n * MarkdownIt#renderer -> Renderer\n *\n * Instance of [[Renderer]]. Use it to modify output look. Or to add rendering\n * rules for new token types, generated by plugins.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * function myToken(tokens, idx, options, env, self) {\n * //...\n * return result;\n * };\n *\n * md.renderer.rules['my_token'] = myToken\n * ```\n *\n * See [[Renderer]] docs and [source code](https://github.com/markdown-it/markdown-it/blob/master/lib/renderer.mjs).\n **/\n this.renderer = new Renderer()\n\n /**\n * MarkdownIt#linkify -> LinkifyIt\n *\n * [linkify-it](https://github.com/markdown-it/linkify-it) instance.\n * Used by [linkify](https://github.com/markdown-it/markdown-it/blob/master/lib/rules_core/linkify.mjs)\n * rule.\n **/\n this.linkify = new LinkifyIt()\n\n /**\n * MarkdownIt#validateLink(url) -> Boolean\n *\n * Link validation function. CommonMark allows too much in links. By default\n * we disable `javascript:`, `vbscript:`, `file:` schemas, and almost all `data:...` schemas\n * except some embedded image types.\n *\n * You can change this behaviour:\n *\n * ```javascript\n * var md = require('markdown-it')();\n * // enable everything\n * md.validateLink = function () { return true; }\n * ```\n **/\n this.validateLink = validateLink\n\n /**\n * MarkdownIt#normalizeLink(url) -> String\n *\n * Function used to encode link url to a machine-readable format,\n * which includes url-encoding, punycode, etc.\n **/\n this.normalizeLink = normalizeLink\n\n /**\n * MarkdownIt#normalizeLinkText(url) -> String\n *\n * Function used to decode link url to a human-readable format`\n **/\n this.normalizeLinkText = normalizeLinkText\n\n // Expose utils & helpers for easy acces from plugins\n\n /**\n * MarkdownIt#utils -> utils\n *\n * Assorted utility functions, useful to write plugins. See details\n * [here](https://github.com/markdown-it/markdown-it/blob/master/lib/common/utils.mjs).\n **/\n this.utils = utils\n\n /**\n * MarkdownIt#helpers -> helpers\n *\n * Link components parser functions, useful to write plugins. See details\n * [here](https://github.com/markdown-it/markdown-it/blob/master/lib/helpers).\n **/\n this.helpers = utils.assign({}, helpers)\n\n this.options = {}\n this.configure(presetName)\n\n if (options) { this.set(options) }\n}\n\n/** chainable\n * MarkdownIt.set(options)\n *\n * Set parser options (in the same format as in constructor). Probably, you\n * will never need it, but you can change options after constructor call.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')()\n * .set({ html: true, breaks: true })\n * .set({ typographer, true });\n * ```\n *\n * __Note:__ To achieve the best possible performance, don't modify a\n * `markdown-it` instance options on the fly. If you need multiple configurations\n * it's best to create multiple instances and initialize each with separate\n * config.\n **/\nMarkdownIt.prototype.set = function (options) {\n utils.assign(this.options, options)\n return this\n}\n\n/** chainable, internal\n * MarkdownIt.configure(presets)\n *\n * Batch load of all options and compenent settings. This is internal method,\n * and you probably will not need it. But if you will - see available presets\n * and data structure [here](https://github.com/markdown-it/markdown-it/tree/master/lib/presets)\n *\n * We strongly recommend to use presets instead of direct config loads. That\n * will give better compatibility with next versions.\n **/\nMarkdownIt.prototype.configure = function (presets) {\n const self = this\n\n if (utils.isString(presets)) {\n const presetName = presets\n presets = config[presetName]\n if (!presets) { throw new Error('Wrong `markdown-it` preset \"' + presetName + '\", check name') }\n }\n\n if (!presets) { throw new Error('Wrong `markdown-it` preset, can\\'t be empty') }\n\n if (presets.options) { self.set(presets.options) }\n\n if (presets.components) {\n Object.keys(presets.components).forEach(function (name) {\n if (presets.components[name].rules) {\n self[name].ruler.enableOnly(presets.components[name].rules)\n }\n if (presets.components[name].rules2) {\n self[name].ruler2.enableOnly(presets.components[name].rules2)\n }\n })\n }\n return this\n}\n\n/** chainable\n * MarkdownIt.enable(list, ignoreInvalid)\n * - list (String|Array): rule name or list of rule names to enable\n * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.\n *\n * Enable list or rules. It will automatically find appropriate components,\n * containing rules with given names. If rule not found, and `ignoreInvalid`\n * not set - throws exception.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')()\n * .enable(['sub', 'sup'])\n * .disable('smartquotes');\n * ```\n **/\nMarkdownIt.prototype.enable = function (list, ignoreInvalid) {\n let result = []\n\n if (!Array.isArray(list)) { list = [list] }\n\n ['core', 'block', 'inline'].forEach(function (chain) {\n result = result.concat(this[chain].ruler.enable(list, true))\n }, this)\n\n result = result.concat(this.inline.ruler2.enable(list, true))\n\n const missed = list.filter(function (name) { return result.indexOf(name) < 0 })\n\n if (missed.length && !ignoreInvalid) {\n throw new Error('MarkdownIt. Failed to enable unknown rule(s): ' + missed)\n }\n\n return this\n}\n\n/** chainable\n * MarkdownIt.disable(list, ignoreInvalid)\n * - list (String|Array): rule name or list of rule names to disable.\n * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.\n *\n * The same as [[MarkdownIt.enable]], but turn specified rules off.\n **/\nMarkdownIt.prototype.disable = function (list, ignoreInvalid) {\n let result = []\n\n if (!Array.isArray(list)) { list = [list] }\n\n ['core', 'block', 'inline'].forEach(function (chain) {\n result = result.concat(this[chain].ruler.disable(list, true))\n }, this)\n\n result = result.concat(this.inline.ruler2.disable(list, true))\n\n const missed = list.filter(function (name) { return result.indexOf(name) < 0 })\n\n if (missed.length && !ignoreInvalid) {\n throw new Error('MarkdownIt. Failed to disable unknown rule(s): ' + missed)\n }\n return this\n}\n\n/** chainable\n * MarkdownIt.use(plugin, params)\n *\n * Load specified plugin with given params into current parser instance.\n * It's just a sugar to call `plugin(md, params)` with curring.\n *\n * ##### Example\n *\n * ```javascript\n * var iterator = require('markdown-it-for-inline');\n * var md = require('markdown-it')()\n * .use(iterator, 'foo_replace', 'text', function (tokens, idx) {\n * tokens[idx].content = tokens[idx].content.replace(/foo/g, 'bar');\n * });\n * ```\n **/\nMarkdownIt.prototype.use = function (plugin /*, params, ... */) {\n const args = [this].concat(Array.prototype.slice.call(arguments, 1))\n plugin.apply(plugin, args)\n return this\n}\n\n/** internal\n * MarkdownIt.parse(src, env) -> Array\n * - src (String): source string\n * - env (Object): environment sandbox\n *\n * Parse input string and return list of block tokens (special token type\n * \"inline\" will contain list of inline tokens). You should not call this\n * method directly, until you write custom renderer (for example, to produce\n * AST).\n *\n * `env` is used to pass data between \"distributed\" rules and return additional\n * metadata like reference info, needed for the renderer. It also can be used to\n * inject data in specific cases. Usually, you will be ok to pass `{}`,\n * and then pass updated object to renderer.\n **/\nMarkdownIt.prototype.parse = function (src, env) {\n if (typeof src !== 'string') {\n throw new Error('Input data should be a String')\n }\n\n const state = new this.core.State(src, this, env)\n\n this.core.process(state)\n\n return state.tokens\n}\n\n/**\n * MarkdownIt.render(src [, env]) -> String\n * - src (String): source string\n * - env (Object): environment sandbox\n *\n * Render markdown string into html. It does all magic for you :).\n *\n * `env` can be used to inject additional metadata (`{}` by default).\n * But you will not need it with high probability. See also comment\n * in [[MarkdownIt.parse]].\n **/\nMarkdownIt.prototype.render = function (src, env) {\n env = env || {}\n\n return this.renderer.render(this.parse(src, env), this.options, env)\n}\n\n/** internal\n * MarkdownIt.parseInline(src, env) -> Array\n * - src (String): source string\n * - env (Object): environment sandbox\n *\n * The same as [[MarkdownIt.parse]] but skip all block rules. It returns the\n * block tokens list with the single `inline` element, containing parsed inline\n * tokens in `children` property. Also updates `env` object.\n **/\nMarkdownIt.prototype.parseInline = function (src, env) {\n const state = new this.core.State(src, this, env)\n\n state.inlineMode = true\n this.core.process(state)\n\n return state.tokens\n}\n\n/**\n * MarkdownIt.renderInline(src [, env]) -> String\n * - src (String): source string\n * - env (Object): environment sandbox\n *\n * Similar to [[MarkdownIt.render]] but for single paragraph content. Result\n * will NOT be wrapped into `

` tags.\n **/\nMarkdownIt.prototype.renderInline = function (src, env) {\n env = env || {}\n\n return this.renderer.render(this.parseInline(src, env), this.options, env)\n}\n\nexport default MarkdownIt\n","/**\n * @typedef CoreOptions\n * @property {ReadonlyArray} [subset=[]]\n * Whether to only escape the given subset of characters.\n * @property {boolean} [escapeOnly=false]\n * Whether to only escape possibly dangerous characters.\n * Those characters are `\"`, `&`, `'`, `<`, `>`, and `` ` ``.\n *\n * @typedef FormatOptions\n * @property {(code: number, next: number, options: CoreWithFormatOptions) => string} format\n * Format strategy.\n *\n * @typedef {CoreOptions & FormatOptions & import('./util/format-smart.js').FormatSmartOptions} CoreWithFormatOptions\n */\n\nconst defaultSubsetRegex = /[\"&'<>`]/g\nconst surrogatePairsRegex = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g\nconst controlCharactersRegex =\n // eslint-disable-next-line no-control-regex, unicorn/no-hex-escape\n /[\\x01-\\t\\v\\f\\x0E-\\x1F\\x7F\\x81\\x8D\\x8F\\x90\\x9D\\xA0-\\uFFFF]/g\nconst regexEscapeRegex = /[|\\\\{}()[\\]^$+*?.]/g\n\n/** @type {WeakMap, RegExp>} */\nconst subsetToRegexCache = new WeakMap()\n\n/**\n * Encode certain characters in `value`.\n *\n * @param {string} value\n * @param {CoreWithFormatOptions} options\n * @returns {string}\n */\nexport function core(value, options) {\n value = value.replace(\n options.subset\n ? charactersToExpressionCached(options.subset)\n : defaultSubsetRegex,\n basic\n )\n\n if (options.subset || options.escapeOnly) {\n return value\n }\n\n return (\n value\n // Surrogate pairs.\n .replace(surrogatePairsRegex, surrogate)\n // BMP control characters (C0 except for LF, CR, SP; DEL; and some more\n // non-ASCII ones).\n .replace(controlCharactersRegex, basic)\n )\n\n /**\n * @param {string} pair\n * @param {number} index\n * @param {string} all\n */\n function surrogate(pair, index, all) {\n return options.format(\n (pair.charCodeAt(0) - 0xd800) * 0x400 +\n pair.charCodeAt(1) -\n 0xdc00 +\n 0x10000,\n all.charCodeAt(index + 2),\n options\n )\n }\n\n /**\n * @param {string} character\n * @param {number} index\n * @param {string} all\n */\n function basic(character, index, all) {\n return options.format(\n character.charCodeAt(0),\n all.charCodeAt(index + 1),\n options\n )\n }\n}\n\n/**\n * A wrapper function that caches the result of `charactersToExpression` with a WeakMap.\n * This can improve performance when tooling calls `charactersToExpression` repeatedly\n * with the same subset.\n *\n * @param {ReadonlyArray} subset\n * @returns {RegExp}\n */\nfunction charactersToExpressionCached(subset) {\n let cached = subsetToRegexCache.get(subset)\n\n if (!cached) {\n cached = charactersToExpression(subset)\n subsetToRegexCache.set(subset, cached)\n }\n\n return cached\n}\n\n/**\n * @param {ReadonlyArray} subset\n * @returns {RegExp}\n */\nfunction charactersToExpression(subset) {\n /** @type {Array} */\n const groups = []\n let index = -1\n\n while (++index < subset.length) {\n groups.push(subset[index].replace(regexEscapeRegex, '\\\\$&'))\n }\n\n return new RegExp('(?:' + groups.join('|') + ')', 'g')\n}\n","const hexadecimalRegex = /[\\dA-Fa-f]/\n\n/**\n * Configurable ways to encode characters as hexadecimal references.\n *\n * @param {number} code\n * @param {number} next\n * @param {boolean|undefined} omit\n * @returns {string}\n */\nexport function toHexadecimal(code, next, omit) {\n const value = '&#x' + code.toString(16).toUpperCase()\n return omit && next && !hexadecimalRegex.test(String.fromCharCode(next))\n ? value\n : value + ';'\n}\n","const decimalRegex = /\\d/\n\n/**\n * Configurable ways to encode characters as decimal references.\n *\n * @param {number} code\n * @param {number} next\n * @param {boolean|undefined} omit\n * @returns {string}\n */\nexport function toDecimal(code, next, omit) {\n const value = '&#' + String(code)\n return omit && next && !decimalRegex.test(String.fromCharCode(next))\n ? value\n : value + ';'\n}\n","/**\n * Map of named character references from HTML 4.\n *\n * @type {Record}\n */\nexport const characterEntitiesHtml4 = {\n nbsp: ' ',\n iexcl: '¡',\n cent: '¢',\n pound: '£',\n curren: '¤',\n yen: '¥',\n brvbar: '¦',\n sect: '§',\n uml: '¨',\n copy: '©',\n ordf: 'ª',\n laquo: '«',\n not: '¬',\n shy: '­',\n reg: '®',\n macr: '¯',\n deg: '°',\n plusmn: '±',\n sup2: '²',\n sup3: '³',\n acute: '´',\n micro: 'µ',\n para: '¶',\n middot: '·',\n cedil: '¸',\n sup1: '¹',\n ordm: 'º',\n raquo: '»',\n frac14: '¼',\n frac12: '½',\n frac34: '¾',\n iquest: '¿',\n Agrave: 'À',\n Aacute: 'Á',\n Acirc: 'Â',\n Atilde: 'Ã',\n Auml: 'Ä',\n Aring: 'Å',\n AElig: 'Æ',\n Ccedil: 'Ç',\n Egrave: 'È',\n Eacute: 'É',\n Ecirc: 'Ê',\n Euml: 'Ë',\n Igrave: 'Ì',\n Iacute: 'Í',\n Icirc: 'Î',\n Iuml: 'Ï',\n ETH: 'Ð',\n Ntilde: 'Ñ',\n Ograve: 'Ò',\n Oacute: 'Ó',\n Ocirc: 'Ô',\n Otilde: 'Õ',\n Ouml: 'Ö',\n times: '×',\n Oslash: 'Ø',\n Ugrave: 'Ù',\n Uacute: 'Ú',\n Ucirc: 'Û',\n Uuml: 'Ü',\n Yacute: 'Ý',\n THORN: 'Þ',\n szlig: 'ß',\n agrave: 'à',\n aacute: 'á',\n acirc: 'â',\n atilde: 'ã',\n auml: 'ä',\n aring: 'å',\n aelig: 'æ',\n ccedil: 'ç',\n egrave: 'è',\n eacute: 'é',\n ecirc: 'ê',\n euml: 'ë',\n igrave: 'ì',\n iacute: 'í',\n icirc: 'î',\n iuml: 'ï',\n eth: 'ð',\n ntilde: 'ñ',\n ograve: 'ò',\n oacute: 'ó',\n ocirc: 'ô',\n otilde: 'õ',\n ouml: 'ö',\n divide: '÷',\n oslash: 'ø',\n ugrave: 'ù',\n uacute: 'ú',\n ucirc: 'û',\n uuml: 'ü',\n yacute: 'ý',\n thorn: 'þ',\n yuml: 'ÿ',\n fnof: 'ƒ',\n Alpha: 'Α',\n Beta: 'Β',\n Gamma: 'Γ',\n Delta: 'Δ',\n Epsilon: 'Ε',\n Zeta: 'Ζ',\n Eta: 'Η',\n Theta: 'Θ',\n Iota: 'Ι',\n Kappa: 'Κ',\n Lambda: 'Λ',\n Mu: 'Μ',\n Nu: 'Ν',\n Xi: 'Ξ',\n Omicron: 'Ο',\n Pi: 'Π',\n Rho: 'Ρ',\n Sigma: 'Σ',\n Tau: 'Τ',\n Upsilon: 'Υ',\n Phi: 'Φ',\n Chi: 'Χ',\n Psi: 'Ψ',\n Omega: 'Ω',\n alpha: 'α',\n beta: 'β',\n gamma: 'γ',\n delta: 'δ',\n epsilon: 'ε',\n zeta: 'ζ',\n eta: 'η',\n theta: 'θ',\n iota: 'ι',\n kappa: 'κ',\n lambda: 'λ',\n mu: 'μ',\n nu: 'ν',\n xi: 'ξ',\n omicron: 'ο',\n pi: 'π',\n rho: 'ρ',\n sigmaf: 'ς',\n sigma: 'σ',\n tau: 'τ',\n upsilon: 'υ',\n phi: 'φ',\n chi: 'χ',\n psi: 'ψ',\n omega: 'ω',\n thetasym: 'ϑ',\n upsih: 'ϒ',\n piv: 'ϖ',\n bull: '•',\n hellip: '…',\n prime: '′',\n Prime: '″',\n oline: '‾',\n frasl: '⁄',\n weierp: '℘',\n image: 'ℑ',\n real: 'ℜ',\n trade: '™',\n alefsym: 'ℵ',\n larr: '←',\n uarr: '↑',\n rarr: '→',\n darr: '↓',\n harr: '↔',\n crarr: '↵',\n lArr: '⇐',\n uArr: '⇑',\n rArr: '⇒',\n dArr: '⇓',\n hArr: '⇔',\n forall: '∀',\n part: '∂',\n exist: '∃',\n empty: '∅',\n nabla: '∇',\n isin: '∈',\n notin: '∉',\n ni: '∋',\n prod: '∏',\n sum: '∑',\n minus: '−',\n lowast: '∗',\n radic: '√',\n prop: '∝',\n infin: '∞',\n ang: '∠',\n and: '∧',\n or: '∨',\n cap: '∩',\n cup: '∪',\n int: '∫',\n there4: '∴',\n sim: '∼',\n cong: '≅',\n asymp: '≈',\n ne: '≠',\n equiv: '≡',\n le: '≤',\n ge: '≥',\n sub: '⊂',\n sup: '⊃',\n nsub: '⊄',\n sube: '⊆',\n supe: '⊇',\n oplus: '⊕',\n otimes: '⊗',\n perp: '⊥',\n sdot: '⋅',\n lceil: '⌈',\n rceil: '⌉',\n lfloor: '⌊',\n rfloor: '⌋',\n lang: '〈',\n rang: '〉',\n loz: '◊',\n spades: '♠',\n clubs: '♣',\n hearts: '♥',\n diams: '♦',\n quot: '\"',\n amp: '&',\n lt: '<',\n gt: '>',\n OElig: 'Œ',\n oelig: 'œ',\n Scaron: 'Š',\n scaron: 'š',\n Yuml: 'Ÿ',\n circ: 'ˆ',\n tilde: '˜',\n ensp: ' ',\n emsp: ' ',\n thinsp: ' ',\n zwnj: '‌',\n zwj: '‍',\n lrm: '‎',\n rlm: '‏',\n ndash: '–',\n mdash: '—',\n lsquo: '‘',\n rsquo: '’',\n sbquo: '‚',\n ldquo: '“',\n rdquo: '”',\n bdquo: '„',\n dagger: '†',\n Dagger: '‡',\n permil: '‰',\n lsaquo: '‹',\n rsaquo: '›',\n euro: '€'\n}\n","/**\n * List of legacy (that don’t need a trailing `;`) named references which could,\n * depending on what follows them, turn into a different meaning\n *\n * @type {Array}\n */\nexport const dangerous = [\n 'cent',\n 'copy',\n 'divide',\n 'gt',\n 'lt',\n 'not',\n 'para',\n 'times'\n]\n","import {characterEntitiesLegacy} from 'character-entities-legacy'\nimport {characterEntitiesHtml4} from 'character-entities-html4'\nimport {dangerous} from '../constant/dangerous.js'\n\nconst own = {}.hasOwnProperty\n\n/**\n * `characterEntitiesHtml4` but inverted.\n *\n * @type {Record}\n */\nconst characters = {}\n\n/** @type {string} */\nlet key\n\nfor (key in characterEntitiesHtml4) {\n if (own.call(characterEntitiesHtml4, key)) {\n characters[characterEntitiesHtml4[key]] = key\n }\n}\n\nconst notAlphanumericRegex = /[^\\dA-Za-z]/\n\n/**\n * Configurable ways to encode characters as named references.\n *\n * @param {number} code\n * @param {number} next\n * @param {boolean|undefined} omit\n * @param {boolean|undefined} attribute\n * @returns {string}\n */\nexport function toNamed(code, next, omit, attribute) {\n const character = String.fromCharCode(code)\n\n if (own.call(characters, character)) {\n const name = characters[character]\n const value = '&' + name\n\n if (\n omit &&\n characterEntitiesLegacy.includes(name) &&\n !dangerous.includes(name) &&\n (!attribute ||\n (next &&\n next !== 61 /* `=` */ &&\n notAlphanumericRegex.test(String.fromCharCode(next))))\n ) {\n return value\n }\n\n return value + ';'\n }\n\n return ''\n}\n","/**\n * @typedef FormatSmartOptions\n * @property {boolean} [useNamedReferences=false]\n * Prefer named character references (`&`) where possible.\n * @property {boolean} [useShortestReferences=false]\n * Prefer the shortest possible reference, if that results in less bytes.\n * **Note**: `useNamedReferences` can be omitted when using `useShortestReferences`.\n * @property {boolean} [omitOptionalSemicolons=false]\n * Whether to omit semicolons when possible.\n * **Note**: This creates what HTML calls “parse errors” but is otherwise still valid HTML — don’t use this except when building a minifier.\n * Omitting semicolons is possible for certain named and numeric references in some cases.\n * @property {boolean} [attribute=false]\n * Create character references which don’t fail in attributes.\n * **Note**: `attribute` only applies when operating dangerously with\n * `omitOptionalSemicolons: true`.\n */\n\nimport {toHexadecimal} from './to-hexadecimal.js'\nimport {toDecimal} from './to-decimal.js'\nimport {toNamed} from './to-named.js'\n\n/**\n * Configurable ways to encode a character yielding pretty or small results.\n *\n * @param {number} code\n * @param {number} next\n * @param {FormatSmartOptions} options\n * @returns {string}\n */\nexport function formatSmart(code, next, options) {\n let numeric = toHexadecimal(code, next, options.omitOptionalSemicolons)\n /** @type {string|undefined} */\n let named\n\n if (options.useNamedReferences || options.useShortestReferences) {\n named = toNamed(\n code,\n next,\n options.omitOptionalSemicolons,\n options.attribute\n )\n }\n\n // Use the shortest numeric reference when requested.\n // A simple algorithm would use decimal for all code points under 100, as\n // those are shorter than hexadecimal:\n //\n // * `c` vs `c` (decimal shorter)\n // * `d` vs `d` (equal)\n //\n // However, because we take `next` into consideration when `omit` is used,\n // And it would be possible that decimals are shorter on bigger values as\n // well if `next` is hexadecimal but not decimal, we instead compare both.\n if (\n (options.useShortestReferences || !named) &&\n options.useShortestReferences\n ) {\n const decimal = toDecimal(code, next, options.omitOptionalSemicolons)\n\n if (decimal.length < numeric.length) {\n numeric = decimal\n }\n }\n\n return named &&\n (!options.useShortestReferences || named.length < numeric.length)\n ? named\n : numeric\n}\n","/**\n * @typedef {import('./core.js').CoreOptions & import('./util/format-smart.js').FormatSmartOptions} Options\n * @typedef {import('./core.js').CoreOptions} LightOptions\n */\n\nimport {core} from './core.js'\nimport {formatSmart} from './util/format-smart.js'\nimport {formatBasic} from './util/format-basic.js'\n\n/**\n * Encode special characters in `value`.\n *\n * @param {string} value\n * Value to encode.\n * @param {Options} [options]\n * Configuration.\n * @returns {string}\n * Encoded value.\n */\nexport function stringifyEntities(value, options) {\n return core(value, Object.assign({format: formatSmart}, options))\n}\n\n/**\n * Encode special characters in `value` as hexadecimals.\n *\n * @param {string} value\n * Value to encode.\n * @param {LightOptions} [options]\n * Configuration.\n * @returns {string}\n * Encoded value.\n */\nexport function stringifyEntitiesLight(value, options) {\n return core(value, Object.assign({format: formatBasic}, options))\n}\n","/**\n * @import {Comment, Parents} from 'hast'\n * @import {State} from '../index.js'\n */\n\nimport {stringifyEntities} from 'stringify-entities'\n\nconst htmlCommentRegex = /^>|^->||--!>|']\nconst commentEntitySubset = ['<', '>']\n\n/**\n * Serialize a comment.\n *\n * @param {Comment} node\n * Node to handle.\n * @param {number | undefined} _1\n * Index of `node` in `parent.\n * @param {Parents | undefined} _2\n * Parent of `node`.\n * @param {State} state\n * Info passed around about the current state.\n * @returns {string}\n * Serialized node.\n */\nexport function comment(node, _1, _2, state) {\n // See: \n return state.settings.bogusComments\n ? ''\n : ''\n\n /**\n * @param {string} $0\n */\n function encode($0) {\n return stringifyEntities(\n $0,\n Object.assign({}, state.settings.characterReferences, {\n subset: commentEntitySubset\n })\n )\n }\n}\n","/**\n * @import {Doctype, Parents} from 'hast'\n * @import {State} from '../index.js'\n */\n\n/**\n * Serialize a doctype.\n *\n * @param {Doctype} _1\n * Node to handle.\n * @param {number | undefined} _2\n * Index of `node` in `parent.\n * @param {Parents | undefined} _3\n * Parent of `node`.\n * @param {State} state\n * Info passed around about the current state.\n * @returns {string}\n * Serialized node.\n */\nexport function doctype(_1, _2, _3, state) {\n return (\n ''\n )\n}\n","/**\n * @import {Parents, RootContent} from 'hast'\n */\n\nimport {whitespace} from 'hast-util-whitespace'\n\nexport const siblingAfter = siblings(1)\nexport const siblingBefore = siblings(-1)\n\n/** @type {Array} */\nconst emptyChildren = []\n\n/**\n * Factory to check siblings in a direction.\n *\n * @param {number} increment\n */\nfunction siblings(increment) {\n return sibling\n\n /**\n * Find applicable siblings in a direction.\n *\n * @template {Parents} Parent\n * Parent type.\n * @param {Parent | undefined} parent\n * Parent.\n * @param {number | undefined} index\n * Index of child in `parent`.\n * @param {boolean | undefined} [includeWhitespace=false]\n * Whether to include whitespace (default: `false`).\n * @returns {Parent extends {children: Array} ? Child | undefined : never}\n * Child of parent.\n */\n function sibling(parent, index, includeWhitespace) {\n const siblings = parent ? parent.children : emptyChildren\n let offset = (index || 0) + increment\n let next = siblings[offset]\n\n if (!includeWhitespace) {\n while (next && whitespace(next)) {\n offset += increment\n next = siblings[offset]\n }\n }\n\n // @ts-expect-error: it’s a correct child.\n return next\n }\n}\n","/**\n * @import {Element, Parents} from 'hast'\n */\n\n/**\n * @callback OmitHandle\n * Check if a tag can be omitted.\n * @param {Element} element\n * Element to check.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether to omit a tag.\n *\n */\n\nconst own = {}.hasOwnProperty\n\n/**\n * Factory to check if a given node can have a tag omitted.\n *\n * @param {Record} handlers\n * Omission handlers, where each key is a tag name, and each value is the\n * corresponding handler.\n * @returns {OmitHandle}\n * Whether to omit a tag of an element.\n */\nexport function omission(handlers) {\n return omit\n\n /**\n * Check if a given node can have a tag omitted.\n *\n * @type {OmitHandle}\n */\n function omit(node, index, parent) {\n return (\n own.call(handlers, node.tagName) &&\n handlers[node.tagName](node, index, parent)\n )\n }\n}\n","/**\n * @import {Element, Parents} from 'hast'\n */\n\nimport {whitespace} from 'hast-util-whitespace'\nimport {siblingAfter} from './util/siblings.js'\nimport {omission} from './omission.js'\n\nexport const closing = omission({\n body,\n caption: headOrColgroupOrCaption,\n colgroup: headOrColgroupOrCaption,\n dd,\n dt,\n head: headOrColgroupOrCaption,\n html,\n li,\n optgroup,\n option,\n p,\n rp: rubyElement,\n rt: rubyElement,\n tbody,\n td: cells,\n tfoot,\n th: cells,\n thead,\n tr\n})\n\n/**\n * Macro for ``, ``, and ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction headOrColgroupOrCaption(_, index, parent) {\n const next = siblingAfter(parent, index, true)\n return (\n !next ||\n (next.type !== 'comment' &&\n !(next.type === 'text' && whitespace(next.value.charAt(0))))\n )\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction html(_, index, parent) {\n const next = siblingAfter(parent, index)\n return !next || next.type !== 'comment'\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction body(_, index, parent) {\n const next = siblingAfter(parent, index)\n return !next || next.type !== 'comment'\n}\n\n/**\n * Whether to omit `

`.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction p(_, index, parent) {\n const next = siblingAfter(parent, index)\n return next\n ? next.type === 'element' &&\n (next.tagName === 'address' ||\n next.tagName === 'article' ||\n next.tagName === 'aside' ||\n next.tagName === 'blockquote' ||\n next.tagName === 'details' ||\n next.tagName === 'div' ||\n next.tagName === 'dl' ||\n next.tagName === 'fieldset' ||\n next.tagName === 'figcaption' ||\n next.tagName === 'figure' ||\n next.tagName === 'footer' ||\n next.tagName === 'form' ||\n next.tagName === 'h1' ||\n next.tagName === 'h2' ||\n next.tagName === 'h3' ||\n next.tagName === 'h4' ||\n next.tagName === 'h5' ||\n next.tagName === 'h6' ||\n next.tagName === 'header' ||\n next.tagName === 'hgroup' ||\n next.tagName === 'hr' ||\n next.tagName === 'main' ||\n next.tagName === 'menu' ||\n next.tagName === 'nav' ||\n next.tagName === 'ol' ||\n next.tagName === 'p' ||\n next.tagName === 'pre' ||\n next.tagName === 'section' ||\n next.tagName === 'table' ||\n next.tagName === 'ul')\n : !parent ||\n // Confusing parent.\n !(\n parent.type === 'element' &&\n (parent.tagName === 'a' ||\n parent.tagName === 'audio' ||\n parent.tagName === 'del' ||\n parent.tagName === 'ins' ||\n parent.tagName === 'map' ||\n parent.tagName === 'noscript' ||\n parent.tagName === 'video')\n )\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction li(_, index, parent) {\n const next = siblingAfter(parent, index)\n return !next || (next.type === 'element' && next.tagName === 'li')\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction dt(_, index, parent) {\n const next = siblingAfter(parent, index)\n return Boolean(\n next &&\n next.type === 'element' &&\n (next.tagName === 'dt' || next.tagName === 'dd')\n )\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction dd(_, index, parent) {\n const next = siblingAfter(parent, index)\n return (\n !next ||\n (next.type === 'element' &&\n (next.tagName === 'dt' || next.tagName === 'dd'))\n )\n}\n\n/**\n * Whether to omit `` or ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction rubyElement(_, index, parent) {\n const next = siblingAfter(parent, index)\n return (\n !next ||\n (next.type === 'element' &&\n (next.tagName === 'rp' || next.tagName === 'rt'))\n )\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction optgroup(_, index, parent) {\n const next = siblingAfter(parent, index)\n return !next || (next.type === 'element' && next.tagName === 'optgroup')\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction option(_, index, parent) {\n const next = siblingAfter(parent, index)\n return (\n !next ||\n (next.type === 'element' &&\n (next.tagName === 'option' || next.tagName === 'optgroup'))\n )\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction thead(_, index, parent) {\n const next = siblingAfter(parent, index)\n return Boolean(\n next &&\n next.type === 'element' &&\n (next.tagName === 'tbody' || next.tagName === 'tfoot')\n )\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction tbody(_, index, parent) {\n const next = siblingAfter(parent, index)\n return (\n !next ||\n (next.type === 'element' &&\n (next.tagName === 'tbody' || next.tagName === 'tfoot'))\n )\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction tfoot(_, index, parent) {\n return !siblingAfter(parent, index)\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction tr(_, index, parent) {\n const next = siblingAfter(parent, index)\n return !next || (next.type === 'element' && next.tagName === 'tr')\n}\n\n/**\n * Whether to omit `` or ``.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction cells(_, index, parent) {\n const next = siblingAfter(parent, index)\n return (\n !next ||\n (next.type === 'element' &&\n (next.tagName === 'td' || next.tagName === 'th'))\n )\n}\n","/**\n * @import {Element, Parents} from 'hast'\n */\n\nimport {whitespace} from 'hast-util-whitespace'\nimport {siblingAfter, siblingBefore} from './util/siblings.js'\nimport {closing} from './closing.js'\nimport {omission} from './omission.js'\n\nexport const opening = omission({\n body,\n colgroup,\n head,\n html,\n tbody\n})\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} node\n * Element.\n * @returns {boolean}\n * Whether the opening tag can be omitted.\n */\nfunction html(node) {\n const head = siblingAfter(node, -1)\n return !head || head.type !== 'comment'\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} node\n * Element.\n * @returns {boolean}\n * Whether the opening tag can be omitted.\n */\nfunction head(node) {\n /** @type {Set} */\n const seen = new Set()\n\n // Whether `srcdoc` or not,\n // make sure the content model at least doesn’t have too many `base`s/`title`s.\n for (const child of node.children) {\n if (\n child.type === 'element' &&\n (child.tagName === 'base' || child.tagName === 'title')\n ) {\n if (seen.has(child.tagName)) return false\n seen.add(child.tagName)\n }\n }\n\n // “May be omitted if the element is empty,\n // or if the first thing inside the head element is an element.”\n const child = node.children[0]\n return !child || child.type === 'element'\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} node\n * Element.\n * @returns {boolean}\n * Whether the opening tag can be omitted.\n */\nfunction body(node) {\n const head = siblingAfter(node, -1, true)\n\n return (\n !head ||\n (head.type !== 'comment' &&\n !(head.type === 'text' && whitespace(head.value.charAt(0))) &&\n !(\n head.type === 'element' &&\n (head.tagName === 'meta' ||\n head.tagName === 'link' ||\n head.tagName === 'script' ||\n head.tagName === 'style' ||\n head.tagName === 'template')\n ))\n )\n}\n\n/**\n * Whether to omit ``.\n * The spec describes some logic for the opening tag, but it’s easier to\n * implement in the closing tag, to the same effect, so we handle it there\n * instead.\n *\n * @param {Element} node\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the opening tag can be omitted.\n */\nfunction colgroup(node, index, parent) {\n const previous = siblingBefore(parent, index)\n const head = siblingAfter(node, -1, true)\n\n // Previous colgroup was already omitted.\n if (\n parent &&\n previous &&\n previous.type === 'element' &&\n previous.tagName === 'colgroup' &&\n closing(previous, parent.children.indexOf(previous), parent)\n ) {\n return false\n }\n\n return Boolean(head && head.type === 'element' && head.tagName === 'col')\n}\n\n/**\n * Whether to omit ``.\n *\n * @param {Element} node\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the opening tag can be omitted.\n */\nfunction tbody(node, index, parent) {\n const previous = siblingBefore(parent, index)\n const head = siblingAfter(node, -1)\n\n // Previous table section was already omitted.\n if (\n parent &&\n previous &&\n previous.type === 'element' &&\n (previous.tagName === 'thead' || previous.tagName === 'tbody') &&\n closing(previous, parent.children.indexOf(previous), parent)\n ) {\n return false\n }\n\n return Boolean(head && head.type === 'element' && head.tagName === 'tr')\n}\n","/**\n * @import {Element, Parents, Properties} from 'hast'\n * @import {State} from '../index.js'\n */\n\nimport {ccount} from 'ccount'\nimport {stringify as commas} from 'comma-separated-tokens'\nimport {find, svg} from 'property-information'\nimport {stringify as spaces} from 'space-separated-tokens'\nimport {stringifyEntities} from 'stringify-entities'\nimport {closing} from '../omission/closing.js'\nimport {opening} from '../omission/opening.js'\n\n/**\n * Maps of subsets.\n *\n * Each value is a matrix of tuples.\n * The value at `0` causes parse errors, the value at `1` is valid.\n * Of both, the value at `0` is unsafe, and the value at `1` is safe.\n *\n * @type {Record<'double' | 'name' | 'single' | 'unquoted', Array<[Array, Array]>>}\n */\nconst constants = {\n // See: .\n name: [\n ['\\t\\n\\f\\r &/=>'.split(''), '\\t\\n\\f\\r \"&\\'/=>`'.split('')],\n ['\\0\\t\\n\\f\\r \"&\\'/<=>'.split(''), '\\0\\t\\n\\f\\r \"&\\'/<=>`'.split('')]\n ],\n // See: .\n unquoted: [\n ['\\t\\n\\f\\r &>'.split(''), '\\0\\t\\n\\f\\r \"&\\'<=>`'.split('')],\n ['\\0\\t\\n\\f\\r \"&\\'<=>`'.split(''), '\\0\\t\\n\\f\\r \"&\\'<=>`'.split('')]\n ],\n // See: .\n single: [\n [\"&'\".split(''), '\"&\\'`'.split('')],\n [\"\\0&'\".split(''), '\\0\"&\\'`'.split('')]\n ],\n // See: .\n double: [\n ['\"&'.split(''), '\"&\\'`'.split('')],\n ['\\0\"&'.split(''), '\\0\"&\\'`'.split('')]\n ]\n}\n\n/**\n * Serialize an element node.\n *\n * @param {Element} node\n * Node to handle.\n * @param {number | undefined} index\n * Index of `node` in `parent.\n * @param {Parents | undefined} parent\n * Parent of `node`.\n * @param {State} state\n * Info passed around about the current state.\n * @returns {string}\n * Serialized node.\n */\nexport function element(node, index, parent, state) {\n const schema = state.schema\n const omit = schema.space === 'svg' ? false : state.settings.omitOptionalTags\n let selfClosing =\n schema.space === 'svg'\n ? state.settings.closeEmptyElements\n : state.settings.voids.includes(node.tagName.toLowerCase())\n /** @type {Array} */\n const parts = []\n /** @type {string} */\n let last\n\n if (schema.space === 'html' && node.tagName === 'svg') {\n state.schema = svg\n }\n\n const attributes = serializeAttributes(state, node.properties)\n\n const content = state.all(\n schema.space === 'html' && node.tagName === 'template' ? node.content : node\n )\n\n state.schema = schema\n\n // If the node is categorised as void, but it has children, remove the\n // categorisation.\n // This enables for example `menuitem`s, which are void in W3C HTML but not\n // void in WHATWG HTML, to be stringified properly.\n // Note: `menuitem` has since been removed from the HTML spec, and so is no\n // longer void.\n if (content) selfClosing = false\n\n if (attributes || !omit || !opening(node, index, parent)) {\n parts.push('<', node.tagName, attributes ? ' ' + attributes : '')\n\n if (\n selfClosing &&\n (schema.space === 'svg' || state.settings.closeSelfClosing)\n ) {\n last = attributes.charAt(attributes.length - 1)\n if (\n !state.settings.tightSelfClosing ||\n last === '/' ||\n (last && last !== '\"' && last !== \"'\")\n ) {\n parts.push(' ')\n }\n\n parts.push('/')\n }\n\n parts.push('>')\n }\n\n parts.push(content)\n\n if (!selfClosing && (!omit || !closing(node, index, parent))) {\n parts.push('')\n }\n\n return parts.join('')\n}\n\n/**\n * @param {State} state\n * @param {Properties | null | undefined} properties\n * @returns {string}\n */\nfunction serializeAttributes(state, properties) {\n /** @type {Array} */\n const values = []\n let index = -1\n /** @type {string} */\n let key\n\n if (properties) {\n for (key in properties) {\n if (properties[key] !== null && properties[key] !== undefined) {\n const value = serializeAttribute(state, key, properties[key])\n if (value) values.push(value)\n }\n }\n }\n\n while (++index < values.length) {\n const last = state.settings.tightAttributes\n ? values[index].charAt(values[index].length - 1)\n : undefined\n\n // In tight mode, don’t add a space after quoted attributes.\n if (index !== values.length - 1 && last !== '\"' && last !== \"'\") {\n values[index] += ' '\n }\n }\n\n return values.join('')\n}\n\n/**\n * @param {State} state\n * @param {string} key\n * @param {Properties[keyof Properties]} value\n * @returns {string}\n */\nfunction serializeAttribute(state, key, value) {\n const info = find(state.schema, key)\n const x =\n state.settings.allowParseErrors && state.schema.space === 'html' ? 0 : 1\n const y = state.settings.allowDangerousCharacters ? 0 : 1\n let quote = state.quote\n /** @type {string | undefined} */\n let result\n\n if (info.overloadedBoolean && (value === info.attribute || value === '')) {\n value = true\n } else if (\n info.boolean ||\n (info.overloadedBoolean && typeof value !== 'string')\n ) {\n value = Boolean(value)\n }\n\n if (\n value === null ||\n value === undefined ||\n value === false ||\n (typeof value === 'number' && Number.isNaN(value))\n ) {\n return ''\n }\n\n const name = stringifyEntities(\n info.attribute,\n Object.assign({}, state.settings.characterReferences, {\n // Always encode without parse errors in non-HTML.\n subset: constants.name[x][y]\n })\n )\n\n // No value.\n // There is currently only one boolean property in SVG: `[download]` on\n // `
`.\n // This property does not seem to work in browsers (Firefox, Safari, Chrome),\n // so I can’t test if dropping the value works.\n // But I assume that it should:\n //\n // ```html\n // \n // \n // \n // \n // \n // \n // ```\n //\n // See: \n if (value === true) return name\n\n // `spaces` doesn’t accept a second argument, but it’s given here just to\n // keep the code cleaner.\n value = Array.isArray(value)\n ? (info.commaSeparated ? commas : spaces)(value, {\n padLeft: !state.settings.tightCommaSeparatedLists\n })\n : String(value)\n\n if (state.settings.collapseEmptyAttributes && !value) return name\n\n // Check unquoted value.\n if (state.settings.preferUnquoted) {\n result = stringifyEntities(\n value,\n Object.assign({}, state.settings.characterReferences, {\n attribute: true,\n subset: constants.unquoted[x][y]\n })\n )\n }\n\n // If we don’t want unquoted, or if `value` contains character references when\n // unquoted…\n if (result !== value) {\n // If the alternative is less common than `quote`, switch.\n if (\n state.settings.quoteSmart &&\n ccount(value, quote) > ccount(value, state.alternative)\n ) {\n quote = state.alternative\n }\n\n result =\n quote +\n stringifyEntities(\n value,\n Object.assign({}, state.settings.characterReferences, {\n // Always encode without parse errors in non-HTML.\n subset: (quote === \"'\" ? constants.single : constants.double)[x][y],\n attribute: true\n })\n ) +\n quote\n }\n\n // Don’t add a `=` for unquoted empties.\n return name + (result ? '=' + result : result)\n}\n","/**\n * @import {Parents, Text} from 'hast'\n * @import {Raw} from 'mdast-util-to-hast'\n * @import {State} from '../index.js'\n */\n\nimport {stringifyEntities} from 'stringify-entities'\n\n// Declare array as variable so it can be cached by `stringifyEntities`\nconst textEntitySubset = ['<', '&']\n\n/**\n * Serialize a text node.\n *\n * @param {Raw | Text} node\n * Node to handle.\n * @param {number | undefined} _\n * Index of `node` in `parent.\n * @param {Parents | undefined} parent\n * Parent of `node`.\n * @param {State} state\n * Info passed around about the current state.\n * @returns {string}\n * Serialized node.\n */\nexport function text(node, _, parent, state) {\n // Check if content of `node` should be escaped.\n return parent &&\n parent.type === 'element' &&\n (parent.tagName === 'script' || parent.tagName === 'style')\n ? node.value\n : stringifyEntities(\n node.value,\n Object.assign({}, state.settings.characterReferences, {\n subset: textEntitySubset\n })\n )\n}\n","/**\n * @import {Parents} from 'hast'\n * @import {Raw} from 'mdast-util-to-hast'\n * @import {State} from '../index.js'\n */\n\nimport {text} from './text.js'\n\n/**\n * Serialize a raw node.\n *\n * @param {Raw} node\n * Node to handle.\n * @param {number | undefined} index\n * Index of `node` in `parent.\n * @param {Parents | undefined} parent\n * Parent of `node`.\n * @param {State} state\n * Info passed around about the current state.\n * @returns {string}\n * Serialized node.\n */\nexport function raw(node, index, parent, state) {\n return state.settings.allowDangerousHtml\n ? node.value\n : text(node, index, parent, state)\n}\n","/**\n * @import {Parents, Root} from 'hast'\n * @import {State} from '../index.js'\n */\n\n/**\n * Serialize a root.\n *\n * @param {Root} node\n * Node to handle.\n * @param {number | undefined} _1\n * Index of `node` in `parent.\n * @param {Parents | undefined} _2\n * Parent of `node`.\n * @param {State} state\n * Info passed around about the current state.\n * @returns {string}\n * Serialized node.\n */\nexport function root(node, _1, _2, state) {\n return state.all(node)\n}\n","/**\n * @import {Nodes, Parents} from 'hast'\n * @import {State} from '../index.js'\n */\n\nimport {zwitch} from 'zwitch'\nimport {comment} from './comment.js'\nimport {doctype} from './doctype.js'\nimport {element} from './element.js'\nimport {raw} from './raw.js'\nimport {root} from './root.js'\nimport {text} from './text.js'\n\n/**\n * @type {(node: Nodes, index: number | undefined, parent: Parents | undefined, state: State) => string}\n */\nexport const handle = zwitch('type', {\n invalid,\n unknown,\n handlers: {comment, doctype, element, raw, root, text}\n})\n\n/**\n * Fail when a non-node is found in the tree.\n *\n * @param {unknown} node\n * Unknown value.\n * @returns {never}\n * Never.\n */\nfunction invalid(node) {\n throw new Error('Expected node, not `' + node + '`')\n}\n\n/**\n * Fail when a node with an unknown type is found in the tree.\n *\n * @param {unknown} node_\n * Unknown node.\n * @returns {never}\n * Never.\n */\nfunction unknown(node_) {\n // `type` is guaranteed by runtime JS.\n const node = /** @type {Nodes} */ (node_)\n throw new Error('Cannot compile unknown node `' + node.type + '`')\n}\n","/**\n * @import {Nodes, Parents, RootContent} from 'hast'\n * @import {Schema} from 'property-information'\n * @import {Options as StringifyEntitiesOptions} from 'stringify-entities'\n */\n\n/**\n * @typedef {Omit} CharacterReferences\n *\n * @typedef Options\n * Configuration.\n * @property {boolean | null | undefined} [allowDangerousCharacters=false]\n * Do not encode some characters which cause XSS vulnerabilities in older\n * browsers (default: `false`).\n *\n * > ⚠️ **Danger**: only set this if you completely trust the content.\n * @property {boolean | null | undefined} [allowDangerousHtml=false]\n * Allow `raw` nodes and insert them as raw HTML (default: `false`).\n *\n * When `false`, `Raw` nodes are encoded.\n *\n * > ⚠️ **Danger**: only set this if you completely trust the content.\n * @property {boolean | null | undefined} [allowParseErrors=false]\n * Do not encode characters which cause parse errors (even though they work),\n * to save bytes (default: `false`).\n *\n * Not used in the SVG space.\n *\n * > 👉 **Note**: intentionally creates parse errors in markup (how parse\n * > errors are handled is well defined, so this works but isn’t pretty).\n * @property {boolean | null | undefined} [bogusComments=false]\n * Use “bogus comments” instead of comments to save byes: ``\n * instead of `` (default: `false`).\n *\n * > 👉 **Note**: intentionally creates parse errors in markup (how parse\n * > errors are handled is well defined, so this works but isn’t pretty).\n * @property {CharacterReferences | null | undefined} [characterReferences]\n * Configure how to serialize character references (optional).\n * @property {boolean | null | undefined} [closeEmptyElements=false]\n * Close SVG elements without any content with slash (`/`) on the opening tag\n * instead of an end tag: `` instead of ``\n * (default: `false`).\n *\n * See `tightSelfClosing` to control whether a space is used before the\n * slash.\n *\n * Not used in the HTML space.\n * @property {boolean | null | undefined} [closeSelfClosing=false]\n * Close self-closing nodes with an extra slash (`/`): `` instead of\n * `` (default: `false`).\n *\n * See `tightSelfClosing` to control whether a space is used before the\n * slash.\n *\n * Not used in the SVG space.\n * @property {boolean | null | undefined} [collapseEmptyAttributes=false]\n * Collapse empty attributes: get `class` instead of `class=\"\"` (default:\n * `false`).\n *\n * Not used in the SVG space.\n *\n * > 👉 **Note**: boolean attributes (such as `hidden`) are always collapsed.\n * @property {boolean | null | undefined} [omitOptionalTags=false]\n * Omit optional opening and closing tags (default: `false`).\n *\n * For example, in `
  1. one
  2. two
`, both `` closing\n * tags can be omitted.\n * The first because it’s followed by another `li`, the last because it’s\n * followed by nothing.\n *\n * Not used in the SVG space.\n * @property {boolean | null | undefined} [preferUnquoted=false]\n * Leave attributes unquoted if that results in less bytes (default: `false`).\n *\n * Not used in the SVG space.\n * @property {boolean | null | undefined} [quoteSmart=false]\n * Use the other quote if that results in less bytes (default: `false`).\n * @property {Quote | null | undefined} [quote='\"']\n * Preferred quote to use (default: `'\"'`).\n * @property {Space | null | undefined} [space='html']\n * When an `` element is found in the HTML space, this package already\n * automatically switches to and from the SVG space when entering and exiting\n * it (default: `'html'`).\n *\n * > 👉 **Note**: hast is not XML.\n * > It supports SVG as embedded in HTML.\n * > It does not support the features available in XML.\n * > Passing SVG might break but fragments of modern SVG should be fine.\n * > Use [`xast`][xast] if you need to support SVG as XML.\n * @property {boolean | null | undefined} [tightAttributes=false]\n * Join attributes together, without whitespace, if possible: get\n * `class=\"a b\"title=\"c d\"` instead of `class=\"a b\" title=\"c d\"` to save\n * bytes (default: `false`).\n *\n * Not used in the SVG space.\n *\n * > 👉 **Note**: intentionally creates parse errors in markup (how parse\n * > errors are handled is well defined, so this works but isn’t pretty).\n * @property {boolean | null | undefined} [tightCommaSeparatedLists=false]\n * Join known comma-separated attribute values with just a comma (`,`),\n * instead of padding them on the right as well (`,␠`, where `␠` represents a\n * space) (default: `false`).\n * @property {boolean | null | undefined} [tightDoctype=false]\n * Drop unneeded spaces in doctypes: `` instead of\n * `` to save bytes (default: `false`).\n *\n * > 👉 **Note**: intentionally creates parse errors in markup (how parse\n * > errors are handled is well defined, so this works but isn’t pretty).\n * @property {boolean | null | undefined} [tightSelfClosing=false]\n * Do not use an extra space when closing self-closing elements: ``\n * instead of `` (default: `false`).\n *\n * > 👉 **Note**: only used if `closeSelfClosing: true` or\n * > `closeEmptyElements: true`.\n * @property {boolean | null | undefined} [upperDoctype=false]\n * Use a ` | null | undefined} [voids]\n * Tag names of elements to serialize without closing tag (default: `html-void-elements`).\n *\n * Not used in the SVG space.\n *\n * > 👉 **Note**: It’s highly unlikely that you want to pass this, because\n * > hast is not for XML, and HTML will not add more void elements.\n *\n * @typedef {'\"' | \"'\"} Quote\n * HTML quotes for attribute values.\n *\n * @typedef {Omit}>, 'space' | 'quote'>} Settings\n *\n * @typedef {'html' | 'svg'} Space\n * Namespace.\n *\n * @typedef State\n * Info passed around about the current state.\n * @property {(node: Parents | undefined) => string} all\n * Serialize the children of a parent node.\n * @property {Quote} alternative\n * Alternative quote.\n * @property {(node: Nodes, index: number | undefined, parent: Parents | undefined) => string} one\n * Serialize one node.\n * @property {Quote} quote\n * Preferred quote.\n * @property {Schema} schema\n * Current schema.\n * @property {Settings} settings\n * User configuration.\n */\n\nimport {htmlVoidElements} from 'html-void-elements'\nimport {html, svg} from 'property-information'\nimport {handle} from './handle/index.js'\n\n/** @type {Options} */\nconst emptyOptions = {}\n\n/** @type {CharacterReferences} */\nconst emptyCharacterReferences = {}\n\n/** @type {Array} */\nconst emptyChildren = []\n\n/**\n * Serialize hast as HTML.\n *\n * @param {Array | Nodes} tree\n * Tree to serialize.\n * @param {Options | null | undefined} [options]\n * Configuration (optional).\n * @returns {string}\n * Serialized HTML.\n */\nexport function toHtml(tree, options) {\n const options_ = options || emptyOptions\n const quote = options_.quote || '\"'\n const alternative = quote === '\"' ? \"'\" : '\"'\n\n if (quote !== '\"' && quote !== \"'\") {\n throw new Error('Invalid quote `' + quote + '`, expected `\\'` or `\"`')\n }\n\n /** @type {State} */\n const state = {\n one,\n all,\n settings: {\n omitOptionalTags: options_.omitOptionalTags || false,\n allowParseErrors: options_.allowParseErrors || false,\n allowDangerousCharacters: options_.allowDangerousCharacters || false,\n quoteSmart: options_.quoteSmart || false,\n preferUnquoted: options_.preferUnquoted || false,\n tightAttributes: options_.tightAttributes || false,\n upperDoctype: options_.upperDoctype || false,\n tightDoctype: options_.tightDoctype || false,\n bogusComments: options_.bogusComments || false,\n tightCommaSeparatedLists: options_.tightCommaSeparatedLists || false,\n tightSelfClosing: options_.tightSelfClosing || false,\n collapseEmptyAttributes: options_.collapseEmptyAttributes || false,\n allowDangerousHtml: options_.allowDangerousHtml || false,\n voids: options_.voids || htmlVoidElements,\n characterReferences:\n options_.characterReferences || emptyCharacterReferences,\n closeSelfClosing: options_.closeSelfClosing || false,\n closeEmptyElements: options_.closeEmptyElements || false\n },\n schema: options_.space === 'svg' ? svg : html,\n quote,\n alternative\n }\n\n return state.one(\n Array.isArray(tree) ? {type: 'root', children: tree} : tree,\n undefined,\n undefined\n )\n}\n\n/**\n * Serialize a node.\n *\n * @this {State}\n * Info passed around about the current state.\n * @param {Nodes} node\n * Node to handle.\n * @param {number | undefined} index\n * Index of `node` in `parent.\n * @param {Parents | undefined} parent\n * Parent of `node`.\n * @returns {string}\n * Serialized node.\n */\nfunction one(node, index, parent) {\n return handle(node, index, parent, this)\n}\n\n/**\n * Serialize all children of `parent`.\n *\n * @this {State}\n * Info passed around about the current state.\n * @param {Parents | undefined} parent\n * Parent whose children to serialize.\n * @returns {string}\n */\nexport function all(parent) {\n /** @type {Array} */\n const results = []\n const children = (parent && parent.children) || emptyChildren\n let index = -1\n\n while (++index < children.length) {\n results[index] = this.one(children[index], index, parent)\n }\n\n return results.join('')\n}\n","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"katex\"] = factory();\n\telse\n\t\troot[\"katex\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn /******/ (function() { // webpackBootstrap\n/******/ \t\"use strict\";\n/******/ \t// The require scope\n/******/ \tvar __webpack_require__ = {};\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t!function() {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = function(exports, definition) {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t}();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t!function() {\n/******/ \t\t__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }\n/******/ \t}();\n/******/ \t\n/************************************************************************/\nvar __webpack_exports__ = {};\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n \"default\": function() { return /* binding */ katex_webpack; }\n});\n\n;// CONCATENATED MODULE: ./src/ParseError.js\n\n\n/**\n * This is the ParseError class, which is the main error thrown by KaTeX\n * functions when something has gone wrong. This is used to distinguish internal\n * errors from errors in the expression that the user provided.\n *\n * If possible, a caller should provide a Token or ParseNode with information\n * about where in the source string the problem occurred.\n */\nclass ParseError {\n // Error start position based on passed-in Token or ParseNode.\n // Length of affected text based on passed-in Token or ParseNode.\n // The underlying error message without any context added.\n constructor(message, // The error message\n token // An object providing position information\n ) {\n this.name = void 0;\n this.position = void 0;\n this.length = void 0;\n this.rawMessage = void 0;\n let error = \"KaTeX parse error: \" + message;\n let start;\n let end;\n const loc = token && token.loc;\n\n if (loc && loc.start <= loc.end) {\n // If we have the input and a position, make the error a bit fancier\n // Get the input\n const input = loc.lexer.input; // Prepend some information\n\n start = loc.start;\n end = loc.end;\n\n if (start === input.length) {\n error += \" at end of input: \";\n } else {\n error += \" at position \" + (start + 1) + \": \";\n } // Underline token in question using combining underscores\n\n\n const underlined = input.slice(start, end).replace(/[^]/g, \"$&\\u0332\"); // Extract some context from the input and add it to the error\n\n let left;\n\n if (start > 15) {\n left = \"…\" + input.slice(start - 15, start);\n } else {\n left = input.slice(0, start);\n }\n\n let right;\n\n if (end + 15 < input.length) {\n right = input.slice(end, end + 15) + \"…\";\n } else {\n right = input.slice(end);\n }\n\n error += left + underlined + right;\n } // Some hackery to make ParseError a prototype of Error\n // See http://stackoverflow.com/a/8460753\n // $FlowFixMe\n\n\n const self = new Error(error);\n self.name = \"ParseError\"; // $FlowFixMe\n\n self.__proto__ = ParseError.prototype;\n self.position = start;\n\n if (start != null && end != null) {\n self.length = end - start;\n }\n\n self.rawMessage = message;\n return self;\n }\n\n} // $FlowFixMe More hackery\n\n\nParseError.prototype.__proto__ = Error.prototype;\n/* harmony default export */ var src_ParseError = (ParseError);\n;// CONCATENATED MODULE: ./src/utils.js\n/**\n * This file contains a list of utility functions which are useful in other\n * files.\n */\n\n/**\n * Return whether an element is contained in a list\n */\nconst contains = function (list, elem) {\n return list.indexOf(elem) !== -1;\n};\n/**\n * Provide a default value if a setting is undefined\n * NOTE: Couldn't use `T` as the output type due to facebook/flow#5022.\n */\n\n\nconst deflt = function (setting, defaultIfUndefined) {\n return setting === undefined ? defaultIfUndefined : setting;\n}; // hyphenate and escape adapted from Facebook's React under Apache 2 license\n\n\nconst uppercase = /([A-Z])/g;\n\nconst hyphenate = function (str) {\n return str.replace(uppercase, \"-$1\").toLowerCase();\n};\n\nconst ESCAPE_LOOKUP = {\n \"&\": \"&\",\n \">\": \">\",\n \"<\": \"<\",\n \"\\\"\": \""\",\n \"'\": \"'\"\n};\nconst ESCAPE_REGEX = /[&><\"']/g;\n/**\n * Escapes text to prevent scripting attacks.\n */\n\nfunction utils_escape(text) {\n return String(text).replace(ESCAPE_REGEX, match => ESCAPE_LOOKUP[match]);\n}\n/**\n * Sometimes we want to pull out the innermost element of a group. In most\n * cases, this will just be the group itself, but when ordgroups and colors have\n * a single element, we want to pull that out.\n */\n\n\nconst getBaseElem = function (group) {\n if (group.type === \"ordgroup\") {\n if (group.body.length === 1) {\n return getBaseElem(group.body[0]);\n } else {\n return group;\n }\n } else if (group.type === \"color\") {\n if (group.body.length === 1) {\n return getBaseElem(group.body[0]);\n } else {\n return group;\n }\n } else if (group.type === \"font\") {\n return getBaseElem(group.body);\n } else {\n return group;\n }\n};\n/**\n * TeXbook algorithms often reference \"character boxes\", which are simply groups\n * with a single character in them. To decide if something is a character box,\n * we find its innermost group, and see if it is a single character.\n */\n\n\nconst isCharacterBox = function (group) {\n const baseElem = getBaseElem(group); // These are all they types of groups which hold single characters\n\n return baseElem.type === \"mathord\" || baseElem.type === \"textord\" || baseElem.type === \"atom\";\n};\n\nconst assert = function (value) {\n if (!value) {\n throw new Error('Expected non-null, but got ' + String(value));\n }\n\n return value;\n};\n/**\n * Return the protocol of a URL, or \"_relative\" if the URL does not specify a\n * protocol (and thus is relative), or `null` if URL has invalid protocol\n * (so should be outright rejected).\n */\n\nconst protocolFromUrl = function (url) {\n // Check for possible leading protocol.\n // https://url.spec.whatwg.org/#url-parsing strips leading whitespace\n // (U+20) or C0 control (U+00-U+1F) characters.\n // eslint-disable-next-line no-control-regex\n const protocol = /^[\\x00-\\x20]*([^\\\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(url);\n\n if (!protocol) {\n return \"_relative\";\n } // Reject weird colons\n\n\n if (protocol[2] !== \":\") {\n return null;\n } // Reject invalid characters in scheme according to\n // https://datatracker.ietf.org/doc/html/rfc3986#section-3.1\n\n\n if (!/^[a-zA-Z][a-zA-Z0-9+\\-.]*$/.test(protocol[1])) {\n return null;\n } // Lowercase the protocol\n\n\n return protocol[1].toLowerCase();\n};\n/* harmony default export */ var utils = ({\n contains,\n deflt,\n escape: utils_escape,\n hyphenate,\n getBaseElem,\n isCharacterBox,\n protocolFromUrl\n});\n;// CONCATENATED MODULE: ./src/Settings.js\n/* eslint no-console:0 */\n\n/**\n * This is a module for storing settings passed into KaTeX. It correctly handles\n * default settings.\n */\n\n\n\n// TODO: automatically generate documentation\n// TODO: check all properties on Settings exist\n// TODO: check the type of a property on Settings matches\nconst SETTINGS_SCHEMA = {\n displayMode: {\n type: \"boolean\",\n description: \"Render math in display mode, which puts the math in \" + \"display style (so \\\\int and \\\\sum are large, for example), and \" + \"centers the math on the page on its own line.\",\n cli: \"-d, --display-mode\"\n },\n output: {\n type: {\n enum: [\"htmlAndMathml\", \"html\", \"mathml\"]\n },\n description: \"Determines the markup language of the output.\",\n cli: \"-F, --format \"\n },\n leqno: {\n type: \"boolean\",\n description: \"Render display math in leqno style (left-justified tags).\"\n },\n fleqn: {\n type: \"boolean\",\n description: \"Render display math flush left.\"\n },\n throwOnError: {\n type: \"boolean\",\n default: true,\n cli: \"-t, --no-throw-on-error\",\n cliDescription: \"Render errors (in the color given by --error-color) ins\" + \"tead of throwing a ParseError exception when encountering an error.\"\n },\n errorColor: {\n type: \"string\",\n default: \"#cc0000\",\n cli: \"-c, --error-color \",\n cliDescription: \"A color string given in the format 'rgb' or 'rrggbb' \" + \"(no #). This option determines the color of errors rendered by the \" + \"-t option.\",\n cliProcessor: color => \"#\" + color\n },\n macros: {\n type: \"object\",\n cli: \"-m, --macro \",\n cliDescription: \"Define custom macro of the form '\\\\foo:expansion' (use \" + \"multiple -m arguments for multiple macros).\",\n cliDefault: [],\n cliProcessor: (def, defs) => {\n defs.push(def);\n return defs;\n }\n },\n minRuleThickness: {\n type: \"number\",\n description: \"Specifies a minimum thickness, in ems, for fraction lines,\" + \" `\\\\sqrt` top lines, `{array}` vertical lines, `\\\\hline`, \" + \"`\\\\hdashline`, `\\\\underline`, `\\\\overline`, and the borders of \" + \"`\\\\fbox`, `\\\\boxed`, and `\\\\fcolorbox`.\",\n processor: t => Math.max(0, t),\n cli: \"--min-rule-thickness \",\n cliProcessor: parseFloat\n },\n colorIsTextColor: {\n type: \"boolean\",\n description: \"Makes \\\\color behave like LaTeX's 2-argument \\\\textcolor, \" + \"instead of LaTeX's one-argument \\\\color mode change.\",\n cli: \"-b, --color-is-text-color\"\n },\n strict: {\n type: [{\n enum: [\"warn\", \"ignore\", \"error\"]\n }, \"boolean\", \"function\"],\n description: \"Turn on strict / LaTeX faithfulness mode, which throws an \" + \"error if the input uses features that are not supported by LaTeX.\",\n cli: \"-S, --strict\",\n cliDefault: false\n },\n trust: {\n type: [\"boolean\", \"function\"],\n description: \"Trust the input, enabling all HTML features such as \\\\url.\",\n cli: \"-T, --trust\"\n },\n maxSize: {\n type: \"number\",\n default: Infinity,\n description: \"If non-zero, all user-specified sizes, e.g. in \" + \"\\\\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, \" + \"elements and spaces can be arbitrarily large\",\n processor: s => Math.max(0, s),\n cli: \"-s, --max-size \",\n cliProcessor: parseInt\n },\n maxExpand: {\n type: \"number\",\n default: 1000,\n description: \"Limit the number of macro expansions to the specified \" + \"number, to prevent e.g. infinite macro loops. If set to Infinity, \" + \"the macro expander will try to fully expand as in LaTeX.\",\n processor: n => Math.max(0, n),\n cli: \"-e, --max-expand \",\n cliProcessor: n => n === \"Infinity\" ? Infinity : parseInt(n)\n },\n globalGroup: {\n type: \"boolean\",\n cli: false\n }\n};\n\nfunction getDefaultValue(schema) {\n if (schema.default) {\n return schema.default;\n }\n\n const type = schema.type;\n const defaultType = Array.isArray(type) ? type[0] : type;\n\n if (typeof defaultType !== 'string') {\n return defaultType.enum[0];\n }\n\n switch (defaultType) {\n case 'boolean':\n return false;\n\n case 'string':\n return '';\n\n case 'number':\n return 0;\n\n case 'object':\n return {};\n }\n}\n/**\n * The main Settings object\n *\n * The current options stored are:\n * - displayMode: Whether the expression should be typeset as inline math\n * (false, the default), meaning that the math starts in\n * \\textstyle and is placed in an inline-block); or as display\n * math (true), meaning that the math starts in \\displaystyle\n * and is placed in a block with vertical margin.\n */\n\n\nclass Settings {\n constructor(options) {\n this.displayMode = void 0;\n this.output = void 0;\n this.leqno = void 0;\n this.fleqn = void 0;\n this.throwOnError = void 0;\n this.errorColor = void 0;\n this.macros = void 0;\n this.minRuleThickness = void 0;\n this.colorIsTextColor = void 0;\n this.strict = void 0;\n this.trust = void 0;\n this.maxSize = void 0;\n this.maxExpand = void 0;\n this.globalGroup = void 0;\n // allow null options\n options = options || {};\n\n for (const prop in SETTINGS_SCHEMA) {\n if (SETTINGS_SCHEMA.hasOwnProperty(prop)) {\n // $FlowFixMe\n const schema = SETTINGS_SCHEMA[prop]; // TODO: validate options\n // $FlowFixMe\n\n this[prop] = options[prop] !== undefined ? schema.processor ? schema.processor(options[prop]) : options[prop] : getDefaultValue(schema);\n }\n }\n }\n /**\n * Report nonstrict (non-LaTeX-compatible) input.\n * Can safely not be called if `this.strict` is false in JavaScript.\n */\n\n\n reportNonstrict(errorCode, errorMsg, token) {\n let strict = this.strict;\n\n if (typeof strict === \"function\") {\n // Allow return value of strict function to be boolean or string\n // (or null/undefined, meaning no further processing).\n strict = strict(errorCode, errorMsg, token);\n }\n\n if (!strict || strict === \"ignore\") {\n return;\n } else if (strict === true || strict === \"error\") {\n throw new src_ParseError(\"LaTeX-incompatible input and strict mode is set to 'error': \" + (errorMsg + \" [\" + errorCode + \"]\"), token);\n } else if (strict === \"warn\") {\n typeof console !== \"undefined\" && console.warn(\"LaTeX-incompatible input and strict mode is set to 'warn': \" + (errorMsg + \" [\" + errorCode + \"]\"));\n } else {\n // won't happen in type-safe code\n typeof console !== \"undefined\" && console.warn(\"LaTeX-incompatible input and strict mode is set to \" + (\"unrecognized '\" + strict + \"': \" + errorMsg + \" [\" + errorCode + \"]\"));\n }\n }\n /**\n * Check whether to apply strict (LaTeX-adhering) behavior for unusual\n * input (like `\\\\`). Unlike `nonstrict`, will not throw an error;\n * instead, \"error\" translates to a return value of `true`, while \"ignore\"\n * translates to a return value of `false`. May still print a warning:\n * \"warn\" prints a warning and returns `false`.\n * This is for the second category of `errorCode`s listed in the README.\n */\n\n\n useStrictBehavior(errorCode, errorMsg, token) {\n let strict = this.strict;\n\n if (typeof strict === \"function\") {\n // Allow return value of strict function to be boolean or string\n // (or null/undefined, meaning no further processing).\n // But catch any exceptions thrown by function, treating them\n // like \"error\".\n try {\n strict = strict(errorCode, errorMsg, token);\n } catch (error) {\n strict = \"error\";\n }\n }\n\n if (!strict || strict === \"ignore\") {\n return false;\n } else if (strict === true || strict === \"error\") {\n return true;\n } else if (strict === \"warn\") {\n typeof console !== \"undefined\" && console.warn(\"LaTeX-incompatible input and strict mode is set to 'warn': \" + (errorMsg + \" [\" + errorCode + \"]\"));\n return false;\n } else {\n // won't happen in type-safe code\n typeof console !== \"undefined\" && console.warn(\"LaTeX-incompatible input and strict mode is set to \" + (\"unrecognized '\" + strict + \"': \" + errorMsg + \" [\" + errorCode + \"]\"));\n return false;\n }\n }\n /**\n * Check whether to test potentially dangerous input, and return\n * `true` (trusted) or `false` (untrusted). The sole argument `context`\n * should be an object with `command` field specifying the relevant LaTeX\n * command (as a string starting with `\\`), and any other arguments, etc.\n * If `context` has a `url` field, a `protocol` field will automatically\n * get added by this function (changing the specified object).\n */\n\n\n isTrusted(context) {\n if (context.url && !context.protocol) {\n const protocol = utils.protocolFromUrl(context.url);\n\n if (protocol == null) {\n return false;\n }\n\n context.protocol = protocol;\n }\n\n const trust = typeof this.trust === \"function\" ? this.trust(context) : this.trust;\n return Boolean(trust);\n }\n\n}\n;// CONCATENATED MODULE: ./src/Style.js\n/**\n * This file contains information and classes for the various kinds of styles\n * used in TeX. It provides a generic `Style` class, which holds information\n * about a specific style. It then provides instances of all the different kinds\n * of styles possible, and provides functions to move between them and get\n * information about them.\n */\n\n/**\n * The main style class. Contains a unique id for the style, a size (which is\n * the same for cramped and uncramped version of a style), and a cramped flag.\n */\nclass Style {\n constructor(id, size, cramped) {\n this.id = void 0;\n this.size = void 0;\n this.cramped = void 0;\n this.id = id;\n this.size = size;\n this.cramped = cramped;\n }\n /**\n * Get the style of a superscript given a base in the current style.\n */\n\n\n sup() {\n return styles[sup[this.id]];\n }\n /**\n * Get the style of a subscript given a base in the current style.\n */\n\n\n sub() {\n return styles[sub[this.id]];\n }\n /**\n * Get the style of a fraction numerator given the fraction in the current\n * style.\n */\n\n\n fracNum() {\n return styles[fracNum[this.id]];\n }\n /**\n * Get the style of a fraction denominator given the fraction in the current\n * style.\n */\n\n\n fracDen() {\n return styles[fracDen[this.id]];\n }\n /**\n * Get the cramped version of a style (in particular, cramping a cramped style\n * doesn't change the style).\n */\n\n\n cramp() {\n return styles[cramp[this.id]];\n }\n /**\n * Get a text or display version of this style.\n */\n\n\n text() {\n return styles[Style_text[this.id]];\n }\n /**\n * Return true if this style is tightly spaced (scriptstyle/scriptscriptstyle)\n */\n\n\n isTight() {\n return this.size >= 2;\n }\n\n} // Export an interface for type checking, but don't expose the implementation.\n// This way, no more styles can be generated.\n\n\n// IDs of the different styles\nconst D = 0;\nconst Dc = 1;\nconst T = 2;\nconst Tc = 3;\nconst S = 4;\nconst Sc = 5;\nconst SS = 6;\nconst SSc = 7; // Instances of the different styles\n\nconst styles = [new Style(D, 0, false), new Style(Dc, 0, true), new Style(T, 1, false), new Style(Tc, 1, true), new Style(S, 2, false), new Style(Sc, 2, true), new Style(SS, 3, false), new Style(SSc, 3, true)]; // Lookup tables for switching from one style to another\n\nconst sup = [S, Sc, S, Sc, SS, SSc, SS, SSc];\nconst sub = [Sc, Sc, Sc, Sc, SSc, SSc, SSc, SSc];\nconst fracNum = [T, Tc, S, Sc, SS, SSc, SS, SSc];\nconst fracDen = [Tc, Tc, Sc, Sc, SSc, SSc, SSc, SSc];\nconst cramp = [Dc, Dc, Tc, Tc, Sc, Sc, SSc, SSc];\nconst Style_text = [D, Dc, T, Tc, T, Tc, T, Tc]; // We only export some of the styles.\n\n/* harmony default export */ var src_Style = ({\n DISPLAY: styles[D],\n TEXT: styles[T],\n SCRIPT: styles[S],\n SCRIPTSCRIPT: styles[SS]\n});\n;// CONCATENATED MODULE: ./src/unicodeScripts.js\n/*\n * This file defines the Unicode scripts and script families that we\n * support. To add new scripts or families, just add a new entry to the\n * scriptData array below. Adding scripts to the scriptData array allows\n * characters from that script to appear in \\text{} environments.\n */\n\n/**\n * Each script or script family has a name and an array of blocks.\n * Each block is an array of two numbers which specify the start and\n * end points (inclusive) of a block of Unicode codepoints.\n */\n\n/**\n * Unicode block data for the families of scripts we support in \\text{}.\n * Scripts only need to appear here if they do not have font metrics.\n */\nconst scriptData = [{\n // Latin characters beyond the Latin-1 characters we have metrics for.\n // Needed for Czech, Hungarian and Turkish text, for example.\n name: 'latin',\n blocks: [[0x0100, 0x024f], // Latin Extended-A and Latin Extended-B\n [0x0300, 0x036f] // Combining Diacritical marks\n ]\n}, {\n // The Cyrillic script used by Russian and related languages.\n // A Cyrillic subset used to be supported as explicitly defined\n // symbols in symbols.js\n name: 'cyrillic',\n blocks: [[0x0400, 0x04ff]]\n}, {\n // Armenian\n name: 'armenian',\n blocks: [[0x0530, 0x058F]]\n}, {\n // The Brahmic scripts of South and Southeast Asia\n // Devanagari (0900–097F)\n // Bengali (0980–09FF)\n // Gurmukhi (0A00–0A7F)\n // Gujarati (0A80–0AFF)\n // Oriya (0B00–0B7F)\n // Tamil (0B80–0BFF)\n // Telugu (0C00–0C7F)\n // Kannada (0C80–0CFF)\n // Malayalam (0D00–0D7F)\n // Sinhala (0D80–0DFF)\n // Thai (0E00–0E7F)\n // Lao (0E80–0EFF)\n // Tibetan (0F00–0FFF)\n // Myanmar (1000–109F)\n name: 'brahmic',\n blocks: [[0x0900, 0x109F]]\n}, {\n name: 'georgian',\n blocks: [[0x10A0, 0x10ff]]\n}, {\n // Chinese and Japanese.\n // The \"k\" in cjk is for Korean, but we've separated Korean out\n name: \"cjk\",\n blocks: [[0x3000, 0x30FF], // CJK symbols and punctuation, Hiragana, Katakana\n [0x4E00, 0x9FAF], // CJK ideograms\n [0xFF00, 0xFF60] // Fullwidth punctuation\n // TODO: add halfwidth Katakana and Romanji glyphs\n ]\n}, {\n // Korean\n name: 'hangul',\n blocks: [[0xAC00, 0xD7AF]]\n}];\n/**\n * Given a codepoint, return the name of the script or script family\n * it is from, or null if it is not part of a known block\n */\n\nfunction scriptFromCodepoint(codepoint) {\n for (let i = 0; i < scriptData.length; i++) {\n const script = scriptData[i];\n\n for (let i = 0; i < script.blocks.length; i++) {\n const block = script.blocks[i];\n\n if (codepoint >= block[0] && codepoint <= block[1]) {\n return script.name;\n }\n }\n }\n\n return null;\n}\n/**\n * A flattened version of all the supported blocks in a single array.\n * This is an optimization to make supportedCodepoint() fast.\n */\n\nconst allBlocks = [];\nscriptData.forEach(s => s.blocks.forEach(b => allBlocks.push(...b)));\n/**\n * Given a codepoint, return true if it falls within one of the\n * scripts or script families defined above and false otherwise.\n *\n * Micro benchmarks shows that this is faster than\n * /[\\u3000-\\u30FF\\u4E00-\\u9FAF\\uFF00-\\uFF60\\uAC00-\\uD7AF\\u0900-\\u109F]/.test()\n * in Firefox, Chrome and Node.\n */\n\nfunction supportedCodepoint(codepoint) {\n for (let i = 0; i < allBlocks.length; i += 2) {\n if (codepoint >= allBlocks[i] && codepoint <= allBlocks[i + 1]) {\n return true;\n }\n }\n\n return false;\n}\n;// CONCATENATED MODULE: ./src/svgGeometry.js\n/**\n * This file provides support to domTree.js and delimiter.js.\n * It's a storehouse of path geometry for SVG images.\n */\n// In all paths below, the viewBox-to-em scale is 1000:1.\nconst hLinePad = 80; // padding above a sqrt vinculum. Prevents image cropping.\n// The vinculum of a \\sqrt can be made thicker by a KaTeX rendering option.\n// Think of variable extraVinculum as two detours in the SVG path.\n// The detour begins at the lower left of the area labeled extraVinculum below.\n// The detour proceeds one extraVinculum distance up and slightly to the right,\n// displacing the radiused corner between surd and vinculum. The radius is\n// traversed as usual, then the detour resumes. It goes right, to the end of\n// the very long vinculum, then down one extraVinculum distance,\n// after which it resumes regular path geometry for the radical.\n\n/* vinculum\n /\n /▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒←extraVinculum\n / █████████████████████←0.04em (40 unit) std vinculum thickness\n / /\n / /\n / /\\\n / / surd\n*/\n\nconst sqrtMain = function (extraVinculum, hLinePad) {\n // sqrtMain path geometry is from glyph U221A in the font KaTeX Main\n return \"M95,\" + (622 + extraVinculum + hLinePad) + \"\\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\\nc69,-144,104.5,-217.7,106.5,-221\\nl\" + extraVinculum / 2.075 + \" -\" + extraVinculum + \"\\nc5.3,-9.3,12,-14,20,-14\\nH400000v\" + (40 + extraVinculum) + \"H845.2724\\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\\nM\" + (834 + extraVinculum) + \" \" + hLinePad + \"h400000v\" + (40 + extraVinculum) + \"h-400000z\";\n};\n\nconst sqrtSize1 = function (extraVinculum, hLinePad) {\n // size1 is from glyph U221A in the font KaTeX_Size1-Regular\n return \"M263,\" + (601 + extraVinculum + hLinePad) + \"c0.7,0,18,39.7,52,119\\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\\nc340,-704.7,510.7,-1060.3,512,-1067\\nl\" + extraVinculum / 2.084 + \" -\" + extraVinculum + \"\\nc4.7,-7.3,11,-11,19,-11\\nH40000v\" + (40 + extraVinculum) + \"H1012.3\\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\\nM\" + (1001 + extraVinculum) + \" \" + hLinePad + \"h400000v\" + (40 + extraVinculum) + \"h-400000z\";\n};\n\nconst sqrtSize2 = function (extraVinculum, hLinePad) {\n // size2 is from glyph U221A in the font KaTeX_Size2-Regular\n return \"M983 \" + (10 + extraVinculum + hLinePad) + \"\\nl\" + extraVinculum / 3.13 + \" -\" + extraVinculum + \"\\nc4,-6.7,10,-10,18,-10 H400000v\" + (40 + extraVinculum) + \"\\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\\nM\" + (1001 + extraVinculum) + \" \" + hLinePad + \"h400000v\" + (40 + extraVinculum) + \"h-400000z\";\n};\n\nconst sqrtSize3 = function (extraVinculum, hLinePad) {\n // size3 is from glyph U221A in the font KaTeX_Size3-Regular\n return \"M424,\" + (2398 + extraVinculum + hLinePad) + \"\\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\\nl\" + extraVinculum / 4.223 + \" -\" + extraVinculum + \"c4,-6.7,10,-10,18,-10 H400000\\nv\" + (40 + extraVinculum) + \"H1014.6\\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\\nc-2,6,-10,9,-24,9\\nc-8,0,-12,-0.7,-12,-2z M\" + (1001 + extraVinculum) + \" \" + hLinePad + \"\\nh400000v\" + (40 + extraVinculum) + \"h-400000z\";\n};\n\nconst sqrtSize4 = function (extraVinculum, hLinePad) {\n // size4 is from glyph U221A in the font KaTeX_Size4-Regular\n return \"M473,\" + (2713 + extraVinculum + hLinePad) + \"\\nc339.3,-1799.3,509.3,-2700,510,-2702 l\" + extraVinculum / 5.298 + \" -\" + extraVinculum + \"\\nc3.3,-7.3,9.3,-11,18,-11 H400000v\" + (40 + extraVinculum) + \"H1017.7\\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\\n606zM\" + (1001 + extraVinculum) + \" \" + hLinePad + \"h400000v\" + (40 + extraVinculum) + \"H1017.7z\";\n};\n\nconst phasePath = function (y) {\n const x = y / 2; // x coordinate at top of angle\n\n return \"M400000 \" + y + \" H0 L\" + x + \" 0 l65 45 L145 \" + (y - 80) + \" H400000z\";\n};\n\nconst sqrtTall = function (extraVinculum, hLinePad, viewBoxHeight) {\n // sqrtTall is from glyph U23B7 in the font KaTeX_Size4-Regular\n // One path edge has a variable length. It runs vertically from the vinculum\n // to a point near (14 units) the bottom of the surd. The vinculum\n // is normally 40 units thick. So the length of the line in question is:\n const vertSegment = viewBoxHeight - 54 - hLinePad - extraVinculum;\n return \"M702 \" + (extraVinculum + hLinePad) + \"H400000\" + (40 + extraVinculum) + \"\\nH742v\" + vertSegment + \"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\\n219 661 l218 661zM702 \" + hLinePad + \"H400000v\" + (40 + extraVinculum) + \"H742z\";\n};\n\nconst sqrtPath = function (size, extraVinculum, viewBoxHeight) {\n extraVinculum = 1000 * extraVinculum; // Convert from document ems to viewBox.\n\n let path = \"\";\n\n switch (size) {\n case \"sqrtMain\":\n path = sqrtMain(extraVinculum, hLinePad);\n break;\n\n case \"sqrtSize1\":\n path = sqrtSize1(extraVinculum, hLinePad);\n break;\n\n case \"sqrtSize2\":\n path = sqrtSize2(extraVinculum, hLinePad);\n break;\n\n case \"sqrtSize3\":\n path = sqrtSize3(extraVinculum, hLinePad);\n break;\n\n case \"sqrtSize4\":\n path = sqrtSize4(extraVinculum, hLinePad);\n break;\n\n case \"sqrtTall\":\n path = sqrtTall(extraVinculum, hLinePad, viewBoxHeight);\n }\n\n return path;\n};\nconst innerPath = function (name, height) {\n // The inner part of stretchy tall delimiters\n switch (name) {\n case \"\\u239c\":\n return \"M291 0 H417 V\" + height + \" H291z M291 0 H417 V\" + height + \" H291z\";\n\n case \"\\u2223\":\n return \"M145 0 H188 V\" + height + \" H145z M145 0 H188 V\" + height + \" H145z\";\n\n case \"\\u2225\":\n return \"M145 0 H188 V\" + height + \" H145z M145 0 H188 V\" + height + \" H145z\" + (\"M367 0 H410 V\" + height + \" H367z M367 0 H410 V\" + height + \" H367z\");\n\n case \"\\u239f\":\n return \"M457 0 H583 V\" + height + \" H457z M457 0 H583 V\" + height + \" H457z\";\n\n case \"\\u23a2\":\n return \"M319 0 H403 V\" + height + \" H319z M319 0 H403 V\" + height + \" H319z\";\n\n case \"\\u23a5\":\n return \"M263 0 H347 V\" + height + \" H263z M263 0 H347 V\" + height + \" H263z\";\n\n case \"\\u23aa\":\n return \"M384 0 H504 V\" + height + \" H384z M384 0 H504 V\" + height + \" H384z\";\n\n case \"\\u23d0\":\n return \"M312 0 H355 V\" + height + \" H312z M312 0 H355 V\" + height + \" H312z\";\n\n case \"\\u2016\":\n return \"M257 0 H300 V\" + height + \" H257z M257 0 H300 V\" + height + \" H257z\" + (\"M478 0 H521 V\" + height + \" H478z M478 0 H521 V\" + height + \" H478z\");\n\n default:\n return \"\";\n }\n};\nconst path = {\n // The doubleleftarrow geometry is from glyph U+21D0 in the font KaTeX Main\n doubleleftarrow: \"M262 157\\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\\nm8 0v40h399730v-40zm0 194v40h399730v-40z\",\n // doublerightarrow is from glyph U+21D2 in font KaTeX Main\n doublerightarrow: \"M399738 392l\\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z\",\n // leftarrow is from glyph U+2190 in font KaTeX Main\n leftarrow: \"M400000 241H110l3-3c68.7-52.7 113.7-120\\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\\n l-3-3h399890zM100 241v40h399900v-40z\",\n // overbrace is from glyphs U+23A9/23A8/23A7 in font KaTeX_Size4-Regular\n leftbrace: \"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z\",\n leftbraceunder: \"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z\",\n // overgroup is from the MnSymbol package (public domain)\n leftgroup: \"M400000 80\\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\\n 435 0h399565z\",\n leftgroupunder: \"M400000 262\\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\\n 435 219h399565z\",\n // Harpoons are from glyph U+21BD in font KaTeX Main\n leftharpoon: \"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z\",\n leftharpoonplus: \"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\\nm0 0v40h400000v-40z\",\n leftharpoondown: \"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z\",\n leftharpoondownplus: \"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z\",\n // hook is from glyph U+21A9 in font KaTeX Main\n lefthook: \"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\\n 71.5 23h399859zM103 281v-40h399897v40z\",\n leftlinesegment: \"M40 281 V428 H0 V94 H40 V241 H400000 v40z\\nM40 281 V428 H0 V94 H40 V241 H400000 v40z\",\n leftmapsto: \"M40 281 V448H0V74H40V241H400000v40z\\nM40 281 V448H0V74H40V241H400000v40z\",\n // tofrom is from glyph U+21C4 in font KaTeX AMS Regular\n leftToFrom: \"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z\",\n longequal: \"M0 50 h400000 v40H0z m0 194h40000v40H0z\\nM0 50 h400000 v40H0z m0 194h40000v40H0z\",\n midbrace: \"M200428 334\\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z\",\n midbraceunder: \"M199572 214\\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z\",\n oiintSize1: \"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z\",\n oiintSize2: \"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\\nc0 110 84 276 504 276s502.4-166 502.4-276z\",\n oiiintSize1: \"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z\",\n oiiintSize2: \"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z\",\n rightarrow: \"M0 241v40h399891c-47.3 35.3-84 78-110 128\\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\\n 151.7 139 205zm0 0v40h399900v-40z\",\n rightbrace: \"M400000 542l\\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z\",\n rightbraceunder: \"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z\",\n rightgroup: \"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\\n 3-1 3-3v-38c-76-158-257-219-435-219H0z\",\n rightgroupunder: \"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z\",\n rightharpoon: \"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\\n 69.2 92 94.5zm0 0v40h399900v-40z\",\n rightharpoonplus: \"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z\",\n rightharpoondown: \"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z\",\n rightharpoondownplus: \"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\\nm0-194v40h400000v-40zm0 0v40h400000v-40z\",\n righthook: \"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z\",\n rightlinesegment: \"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z\",\n rightToFrom: \"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z\",\n // twoheadleftarrow is from glyph U+219E in font KaTeX AMS Regular\n twoheadleftarrow: \"M0 167c68 40\\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z\",\n twoheadrightarrow: \"M400000 167\\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z\",\n // tilde1 is a modified version of a glyph from the MnSymbol package\n tilde1: \"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\\n-68.267.847-113-73.952-191-73.952z\",\n // ditto tilde2, tilde3, & tilde4\n tilde2: \"M344 55.266c-142 0-300.638 81.316-311.5 86.418\\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z\",\n tilde3: \"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\\n -338 0-409-156.573-744-156.573z\",\n tilde4: \"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\\n -175.236-744-175.236z\",\n // vec is from glyph U+20D7 in font KaTeX Main\n vec: \"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\\nc-16-25.333-24-45-24-59z\",\n // widehat1 is a modified version of a glyph from the MnSymbol package\n widehat1: \"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z\",\n // ditto widehat2, widehat3, & widehat4\n widehat2: \"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z\",\n widehat3: \"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z\",\n widehat4: \"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z\",\n // widecheck paths are all inverted versions of widehat\n widecheck1: \"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z\",\n widecheck2: \"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z\",\n widecheck3: \"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z\",\n widecheck4: \"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z\",\n // The next ten paths support reaction arrows from the mhchem package.\n // Arrows for \\ce{<-->} are offset from xAxis by 0.22ex, per mhchem in LaTeX\n // baraboveleftarrow is mostly from glyph U+2190 in font KaTeX Main\n baraboveleftarrow: \"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z\",\n // rightarrowabovebar is mostly from glyph U+2192, KaTeX Main\n rightarrowabovebar: \"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z\",\n // The short left harpoon has 0.5em (i.e. 500 units) kern on the left end.\n // Ref from mhchem.sty: \\rlap{\\raisebox{-.22ex}{$\\kern0.5em\n baraboveshortleftharpoon: \"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z\",\n rightharpoonaboveshortbar: \"M0,241 l0,40c399126,0,399993,0,399993,0\\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z\",\n shortbaraboveleftharpoon: \"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z\",\n shortrightharpoonabovebar: \"M53,241l0,40c398570,0,399437,0,399437,0\\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z\"\n};\nconst tallDelim = function (label, midHeight) {\n switch (label) {\n case \"lbrack\":\n return \"M403 1759 V84 H666 V0 H319 V1759 v\" + midHeight + \" v1759 h347 v-84\\nH403z M403 1759 V0 H319 V1759 v\" + midHeight + \" v1759 h84z\";\n\n case \"rbrack\":\n return \"M347 1759 V0 H0 V84 H263 V1759 v\" + midHeight + \" v1759 H0 v84 H347z\\nM347 1759 V0 H263 V1759 v\" + midHeight + \" v1759 h84z\";\n\n case \"vert\":\n return \"M145 15 v585 v\" + midHeight + \" v585 c2.667,10,9.667,15,21,15\\nc10,0,16.667,-5,20,-15 v-585 v\" + -midHeight + \" v-585 c-2.667,-10,-9.667,-15,-21,-15\\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v\" + midHeight + \" v585 h43z\";\n\n case \"doublevert\":\n return \"M145 15 v585 v\" + midHeight + \" v585 c2.667,10,9.667,15,21,15\\nc10,0,16.667,-5,20,-15 v-585 v\" + -midHeight + \" v-585 c-2.667,-10,-9.667,-15,-21,-15\\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v\" + midHeight + \" v585 h43z\\nM367 15 v585 v\" + midHeight + \" v585 c2.667,10,9.667,15,21,15\\nc10,0,16.667,-5,20,-15 v-585 v\" + -midHeight + \" v-585 c-2.667,-10,-9.667,-15,-21,-15\\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v\" + midHeight + \" v585 h43z\";\n\n case \"lfloor\":\n return \"M319 602 V0 H403 V602 v\" + midHeight + \" v1715 h263 v84 H319z\\nMM319 602 V0 H403 V602 v\" + midHeight + \" v1715 H319z\";\n\n case \"rfloor\":\n return \"M319 602 V0 H403 V602 v\" + midHeight + \" v1799 H0 v-84 H319z\\nMM319 602 V0 H403 V602 v\" + midHeight + \" v1715 H319z\";\n\n case \"lceil\":\n return \"M403 1759 V84 H666 V0 H319 V1759 v\" + midHeight + \" v602 h84z\\nM403 1759 V0 H319 V1759 v\" + midHeight + \" v602 h84z\";\n\n case \"rceil\":\n return \"M347 1759 V0 H0 V84 H263 V1759 v\" + midHeight + \" v602 h84z\\nM347 1759 V0 h-84 V1759 v\" + midHeight + \" v602 h84z\";\n\n case \"lparen\":\n return \"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\\n-36,557 l0,\" + (midHeight + 84) + \"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\\nl0,-\" + (midHeight + 92) + \"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z\";\n\n case \"rparen\":\n return \"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,\" + (midHeight + 9) + \"\\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\\nl0,-\" + (midHeight + 144) + \"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z\";\n\n default:\n // We should not ever get here.\n throw new Error(\"Unknown stretchy delimiter.\");\n }\n};\n;// CONCATENATED MODULE: ./src/tree.js\n\n\n/**\n * This node represents a document fragment, which contains elements, but when\n * placed into the DOM doesn't have any representation itself. It only contains\n * children and doesn't have any DOM node properties.\n */\nclass DocumentFragment {\n // HtmlDomNode\n // Never used; needed for satisfying interface.\n constructor(children) {\n this.children = void 0;\n this.classes = void 0;\n this.height = void 0;\n this.depth = void 0;\n this.maxFontSize = void 0;\n this.style = void 0;\n this.children = children;\n this.classes = [];\n this.height = 0;\n this.depth = 0;\n this.maxFontSize = 0;\n this.style = {};\n }\n\n hasClass(className) {\n return utils.contains(this.classes, className);\n }\n /** Convert the fragment into a node. */\n\n\n toNode() {\n const frag = document.createDocumentFragment();\n\n for (let i = 0; i < this.children.length; i++) {\n frag.appendChild(this.children[i].toNode());\n }\n\n return frag;\n }\n /** Convert the fragment into HTML markup. */\n\n\n toMarkup() {\n let markup = \"\"; // Simply concatenate the markup for the children together.\n\n for (let i = 0; i < this.children.length; i++) {\n markup += this.children[i].toMarkup();\n }\n\n return markup;\n }\n /**\n * Converts the math node into a string, similar to innerText. Applies to\n * MathDomNode's only.\n */\n\n\n toText() {\n // To avoid this, we would subclass documentFragment separately for\n // MathML, but polyfills for subclassing is expensive per PR 1469.\n // $FlowFixMe: Only works for ChildType = MathDomNode.\n const toText = child => child.toText();\n\n return this.children.map(toText).join(\"\");\n }\n\n}\n;// CONCATENATED MODULE: ./src/fontMetricsData.js\n// This file is GENERATED by buildMetrics.sh. DO NOT MODIFY.\n/* harmony default export */ var fontMetricsData = ({\n \"AMS-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"65\": [0, 0.68889, 0, 0, 0.72222],\n \"66\": [0, 0.68889, 0, 0, 0.66667],\n \"67\": [0, 0.68889, 0, 0, 0.72222],\n \"68\": [0, 0.68889, 0, 0, 0.72222],\n \"69\": [0, 0.68889, 0, 0, 0.66667],\n \"70\": [0, 0.68889, 0, 0, 0.61111],\n \"71\": [0, 0.68889, 0, 0, 0.77778],\n \"72\": [0, 0.68889, 0, 0, 0.77778],\n \"73\": [0, 0.68889, 0, 0, 0.38889],\n \"74\": [0.16667, 0.68889, 0, 0, 0.5],\n \"75\": [0, 0.68889, 0, 0, 0.77778],\n \"76\": [0, 0.68889, 0, 0, 0.66667],\n \"77\": [0, 0.68889, 0, 0, 0.94445],\n \"78\": [0, 0.68889, 0, 0, 0.72222],\n \"79\": [0.16667, 0.68889, 0, 0, 0.77778],\n \"80\": [0, 0.68889, 0, 0, 0.61111],\n \"81\": [0.16667, 0.68889, 0, 0, 0.77778],\n \"82\": [0, 0.68889, 0, 0, 0.72222],\n \"83\": [0, 0.68889, 0, 0, 0.55556],\n \"84\": [0, 0.68889, 0, 0, 0.66667],\n \"85\": [0, 0.68889, 0, 0, 0.72222],\n \"86\": [0, 0.68889, 0, 0, 0.72222],\n \"87\": [0, 0.68889, 0, 0, 1.0],\n \"88\": [0, 0.68889, 0, 0, 0.72222],\n \"89\": [0, 0.68889, 0, 0, 0.72222],\n \"90\": [0, 0.68889, 0, 0, 0.66667],\n \"107\": [0, 0.68889, 0, 0, 0.55556],\n \"160\": [0, 0, 0, 0, 0.25],\n \"165\": [0, 0.675, 0.025, 0, 0.75],\n \"174\": [0.15559, 0.69224, 0, 0, 0.94666],\n \"240\": [0, 0.68889, 0, 0, 0.55556],\n \"295\": [0, 0.68889, 0, 0, 0.54028],\n \"710\": [0, 0.825, 0, 0, 2.33334],\n \"732\": [0, 0.9, 0, 0, 2.33334],\n \"770\": [0, 0.825, 0, 0, 2.33334],\n \"771\": [0, 0.9, 0, 0, 2.33334],\n \"989\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"1008\": [0, 0.43056, 0.04028, 0, 0.66667],\n \"8245\": [0, 0.54986, 0, 0, 0.275],\n \"8463\": [0, 0.68889, 0, 0, 0.54028],\n \"8487\": [0, 0.68889, 0, 0, 0.72222],\n \"8498\": [0, 0.68889, 0, 0, 0.55556],\n \"8502\": [0, 0.68889, 0, 0, 0.66667],\n \"8503\": [0, 0.68889, 0, 0, 0.44445],\n \"8504\": [0, 0.68889, 0, 0, 0.66667],\n \"8513\": [0, 0.68889, 0, 0, 0.63889],\n \"8592\": [-0.03598, 0.46402, 0, 0, 0.5],\n \"8594\": [-0.03598, 0.46402, 0, 0, 0.5],\n \"8602\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8603\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8606\": [0.01354, 0.52239, 0, 0, 1.0],\n \"8608\": [0.01354, 0.52239, 0, 0, 1.0],\n \"8610\": [0.01354, 0.52239, 0, 0, 1.11111],\n \"8611\": [0.01354, 0.52239, 0, 0, 1.11111],\n \"8619\": [0, 0.54986, 0, 0, 1.0],\n \"8620\": [0, 0.54986, 0, 0, 1.0],\n \"8621\": [-0.13313, 0.37788, 0, 0, 1.38889],\n \"8622\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8624\": [0, 0.69224, 0, 0, 0.5],\n \"8625\": [0, 0.69224, 0, 0, 0.5],\n \"8630\": [0, 0.43056, 0, 0, 1.0],\n \"8631\": [0, 0.43056, 0, 0, 1.0],\n \"8634\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8635\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8638\": [0.19444, 0.69224, 0, 0, 0.41667],\n \"8639\": [0.19444, 0.69224, 0, 0, 0.41667],\n \"8642\": [0.19444, 0.69224, 0, 0, 0.41667],\n \"8643\": [0.19444, 0.69224, 0, 0, 0.41667],\n \"8644\": [0.1808, 0.675, 0, 0, 1.0],\n \"8646\": [0.1808, 0.675, 0, 0, 1.0],\n \"8647\": [0.1808, 0.675, 0, 0, 1.0],\n \"8648\": [0.19444, 0.69224, 0, 0, 0.83334],\n \"8649\": [0.1808, 0.675, 0, 0, 1.0],\n \"8650\": [0.19444, 0.69224, 0, 0, 0.83334],\n \"8651\": [0.01354, 0.52239, 0, 0, 1.0],\n \"8652\": [0.01354, 0.52239, 0, 0, 1.0],\n \"8653\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8654\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8655\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8666\": [0.13667, 0.63667, 0, 0, 1.0],\n \"8667\": [0.13667, 0.63667, 0, 0, 1.0],\n \"8669\": [-0.13313, 0.37788, 0, 0, 1.0],\n \"8672\": [-0.064, 0.437, 0, 0, 1.334],\n \"8674\": [-0.064, 0.437, 0, 0, 1.334],\n \"8705\": [0, 0.825, 0, 0, 0.5],\n \"8708\": [0, 0.68889, 0, 0, 0.55556],\n \"8709\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"8717\": [0, 0.43056, 0, 0, 0.42917],\n \"8722\": [-0.03598, 0.46402, 0, 0, 0.5],\n \"8724\": [0.08198, 0.69224, 0, 0, 0.77778],\n \"8726\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"8733\": [0, 0.69224, 0, 0, 0.77778],\n \"8736\": [0, 0.69224, 0, 0, 0.72222],\n \"8737\": [0, 0.69224, 0, 0, 0.72222],\n \"8738\": [0.03517, 0.52239, 0, 0, 0.72222],\n \"8739\": [0.08167, 0.58167, 0, 0, 0.22222],\n \"8740\": [0.25142, 0.74111, 0, 0, 0.27778],\n \"8741\": [0.08167, 0.58167, 0, 0, 0.38889],\n \"8742\": [0.25142, 0.74111, 0, 0, 0.5],\n \"8756\": [0, 0.69224, 0, 0, 0.66667],\n \"8757\": [0, 0.69224, 0, 0, 0.66667],\n \"8764\": [-0.13313, 0.36687, 0, 0, 0.77778],\n \"8765\": [-0.13313, 0.37788, 0, 0, 0.77778],\n \"8769\": [-0.13313, 0.36687, 0, 0, 0.77778],\n \"8770\": [-0.03625, 0.46375, 0, 0, 0.77778],\n \"8774\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8776\": [-0.01688, 0.48312, 0, 0, 0.77778],\n \"8778\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"8782\": [0.06062, 0.54986, 0, 0, 0.77778],\n \"8783\": [0.06062, 0.54986, 0, 0, 0.77778],\n \"8785\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8786\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8787\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8790\": [0, 0.69224, 0, 0, 0.77778],\n \"8791\": [0.22958, 0.72958, 0, 0, 0.77778],\n \"8796\": [0.08198, 0.91667, 0, 0, 0.77778],\n \"8806\": [0.25583, 0.75583, 0, 0, 0.77778],\n \"8807\": [0.25583, 0.75583, 0, 0, 0.77778],\n \"8808\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"8809\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"8812\": [0.25583, 0.75583, 0, 0, 0.5],\n \"8814\": [0.20576, 0.70576, 0, 0, 0.77778],\n \"8815\": [0.20576, 0.70576, 0, 0, 0.77778],\n \"8816\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8817\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8818\": [0.22958, 0.72958, 0, 0, 0.77778],\n \"8819\": [0.22958, 0.72958, 0, 0, 0.77778],\n \"8822\": [0.1808, 0.675, 0, 0, 0.77778],\n \"8823\": [0.1808, 0.675, 0, 0, 0.77778],\n \"8828\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"8829\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"8830\": [0.22958, 0.72958, 0, 0, 0.77778],\n \"8831\": [0.22958, 0.72958, 0, 0, 0.77778],\n \"8832\": [0.20576, 0.70576, 0, 0, 0.77778],\n \"8833\": [0.20576, 0.70576, 0, 0, 0.77778],\n \"8840\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8841\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8842\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8843\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8847\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"8848\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"8858\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8859\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8861\": [0.08198, 0.58198, 0, 0, 0.77778],\n \"8862\": [0, 0.675, 0, 0, 0.77778],\n \"8863\": [0, 0.675, 0, 0, 0.77778],\n \"8864\": [0, 0.675, 0, 0, 0.77778],\n \"8865\": [0, 0.675, 0, 0, 0.77778],\n \"8872\": [0, 0.69224, 0, 0, 0.61111],\n \"8873\": [0, 0.69224, 0, 0, 0.72222],\n \"8874\": [0, 0.69224, 0, 0, 0.88889],\n \"8876\": [0, 0.68889, 0, 0, 0.61111],\n \"8877\": [0, 0.68889, 0, 0, 0.61111],\n \"8878\": [0, 0.68889, 0, 0, 0.72222],\n \"8879\": [0, 0.68889, 0, 0, 0.72222],\n \"8882\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"8883\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"8884\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"8885\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"8888\": [0, 0.54986, 0, 0, 1.11111],\n \"8890\": [0.19444, 0.43056, 0, 0, 0.55556],\n \"8891\": [0.19444, 0.69224, 0, 0, 0.61111],\n \"8892\": [0.19444, 0.69224, 0, 0, 0.61111],\n \"8901\": [0, 0.54986, 0, 0, 0.27778],\n \"8903\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"8905\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"8906\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"8907\": [0, 0.69224, 0, 0, 0.77778],\n \"8908\": [0, 0.69224, 0, 0, 0.77778],\n \"8909\": [-0.03598, 0.46402, 0, 0, 0.77778],\n \"8910\": [0, 0.54986, 0, 0, 0.76042],\n \"8911\": [0, 0.54986, 0, 0, 0.76042],\n \"8912\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"8913\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"8914\": [0, 0.54986, 0, 0, 0.66667],\n \"8915\": [0, 0.54986, 0, 0, 0.66667],\n \"8916\": [0, 0.69224, 0, 0, 0.66667],\n \"8918\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"8919\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"8920\": [0.03517, 0.54986, 0, 0, 1.33334],\n \"8921\": [0.03517, 0.54986, 0, 0, 1.33334],\n \"8922\": [0.38569, 0.88569, 0, 0, 0.77778],\n \"8923\": [0.38569, 0.88569, 0, 0, 0.77778],\n \"8926\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"8927\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"8928\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8929\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8934\": [0.23222, 0.74111, 0, 0, 0.77778],\n \"8935\": [0.23222, 0.74111, 0, 0, 0.77778],\n \"8936\": [0.23222, 0.74111, 0, 0, 0.77778],\n \"8937\": [0.23222, 0.74111, 0, 0, 0.77778],\n \"8938\": [0.20576, 0.70576, 0, 0, 0.77778],\n \"8939\": [0.20576, 0.70576, 0, 0, 0.77778],\n \"8940\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8941\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"8994\": [0.19444, 0.69224, 0, 0, 0.77778],\n \"8995\": [0.19444, 0.69224, 0, 0, 0.77778],\n \"9416\": [0.15559, 0.69224, 0, 0, 0.90222],\n \"9484\": [0, 0.69224, 0, 0, 0.5],\n \"9488\": [0, 0.69224, 0, 0, 0.5],\n \"9492\": [0, 0.37788, 0, 0, 0.5],\n \"9496\": [0, 0.37788, 0, 0, 0.5],\n \"9585\": [0.19444, 0.68889, 0, 0, 0.88889],\n \"9586\": [0.19444, 0.74111, 0, 0, 0.88889],\n \"9632\": [0, 0.675, 0, 0, 0.77778],\n \"9633\": [0, 0.675, 0, 0, 0.77778],\n \"9650\": [0, 0.54986, 0, 0, 0.72222],\n \"9651\": [0, 0.54986, 0, 0, 0.72222],\n \"9654\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"9660\": [0, 0.54986, 0, 0, 0.72222],\n \"9661\": [0, 0.54986, 0, 0, 0.72222],\n \"9664\": [0.03517, 0.54986, 0, 0, 0.77778],\n \"9674\": [0.11111, 0.69224, 0, 0, 0.66667],\n \"9733\": [0.19444, 0.69224, 0, 0, 0.94445],\n \"10003\": [0, 0.69224, 0, 0, 0.83334],\n \"10016\": [0, 0.69224, 0, 0, 0.83334],\n \"10731\": [0.11111, 0.69224, 0, 0, 0.66667],\n \"10846\": [0.19444, 0.75583, 0, 0, 0.61111],\n \"10877\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"10878\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"10885\": [0.25583, 0.75583, 0, 0, 0.77778],\n \"10886\": [0.25583, 0.75583, 0, 0, 0.77778],\n \"10887\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"10888\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"10889\": [0.26167, 0.75726, 0, 0, 0.77778],\n \"10890\": [0.26167, 0.75726, 0, 0, 0.77778],\n \"10891\": [0.48256, 0.98256, 0, 0, 0.77778],\n \"10892\": [0.48256, 0.98256, 0, 0, 0.77778],\n \"10901\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"10902\": [0.13667, 0.63667, 0, 0, 0.77778],\n \"10933\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"10934\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"10935\": [0.26167, 0.75726, 0, 0, 0.77778],\n \"10936\": [0.26167, 0.75726, 0, 0, 0.77778],\n \"10937\": [0.26167, 0.75726, 0, 0, 0.77778],\n \"10938\": [0.26167, 0.75726, 0, 0, 0.77778],\n \"10949\": [0.25583, 0.75583, 0, 0, 0.77778],\n \"10950\": [0.25583, 0.75583, 0, 0, 0.77778],\n \"10955\": [0.28481, 0.79383, 0, 0, 0.77778],\n \"10956\": [0.28481, 0.79383, 0, 0, 0.77778],\n \"57350\": [0.08167, 0.58167, 0, 0, 0.22222],\n \"57351\": [0.08167, 0.58167, 0, 0, 0.38889],\n \"57352\": [0.08167, 0.58167, 0, 0, 0.77778],\n \"57353\": [0, 0.43056, 0.04028, 0, 0.66667],\n \"57356\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"57357\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"57358\": [0.41951, 0.91951, 0, 0, 0.77778],\n \"57359\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"57360\": [0.30274, 0.79383, 0, 0, 0.77778],\n \"57361\": [0.41951, 0.91951, 0, 0, 0.77778],\n \"57366\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"57367\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"57368\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"57369\": [0.25142, 0.75726, 0, 0, 0.77778],\n \"57370\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"57371\": [0.13597, 0.63597, 0, 0, 0.77778]\n },\n \"Caligraphic-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"65\": [0, 0.68333, 0, 0.19445, 0.79847],\n \"66\": [0, 0.68333, 0.03041, 0.13889, 0.65681],\n \"67\": [0, 0.68333, 0.05834, 0.13889, 0.52653],\n \"68\": [0, 0.68333, 0.02778, 0.08334, 0.77139],\n \"69\": [0, 0.68333, 0.08944, 0.11111, 0.52778],\n \"70\": [0, 0.68333, 0.09931, 0.11111, 0.71875],\n \"71\": [0.09722, 0.68333, 0.0593, 0.11111, 0.59487],\n \"72\": [0, 0.68333, 0.00965, 0.11111, 0.84452],\n \"73\": [0, 0.68333, 0.07382, 0, 0.54452],\n \"74\": [0.09722, 0.68333, 0.18472, 0.16667, 0.67778],\n \"75\": [0, 0.68333, 0.01445, 0.05556, 0.76195],\n \"76\": [0, 0.68333, 0, 0.13889, 0.68972],\n \"77\": [0, 0.68333, 0, 0.13889, 1.2009],\n \"78\": [0, 0.68333, 0.14736, 0.08334, 0.82049],\n \"79\": [0, 0.68333, 0.02778, 0.11111, 0.79611],\n \"80\": [0, 0.68333, 0.08222, 0.08334, 0.69556],\n \"81\": [0.09722, 0.68333, 0, 0.11111, 0.81667],\n \"82\": [0, 0.68333, 0, 0.08334, 0.8475],\n \"83\": [0, 0.68333, 0.075, 0.13889, 0.60556],\n \"84\": [0, 0.68333, 0.25417, 0, 0.54464],\n \"85\": [0, 0.68333, 0.09931, 0.08334, 0.62583],\n \"86\": [0, 0.68333, 0.08222, 0, 0.61278],\n \"87\": [0, 0.68333, 0.08222, 0.08334, 0.98778],\n \"88\": [0, 0.68333, 0.14643, 0.13889, 0.7133],\n \"89\": [0.09722, 0.68333, 0.08222, 0.08334, 0.66834],\n \"90\": [0, 0.68333, 0.07944, 0.13889, 0.72473],\n \"160\": [0, 0, 0, 0, 0.25]\n },\n \"Fraktur-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69141, 0, 0, 0.29574],\n \"34\": [0, 0.69141, 0, 0, 0.21471],\n \"38\": [0, 0.69141, 0, 0, 0.73786],\n \"39\": [0, 0.69141, 0, 0, 0.21201],\n \"40\": [0.24982, 0.74947, 0, 0, 0.38865],\n \"41\": [0.24982, 0.74947, 0, 0, 0.38865],\n \"42\": [0, 0.62119, 0, 0, 0.27764],\n \"43\": [0.08319, 0.58283, 0, 0, 0.75623],\n \"44\": [0, 0.10803, 0, 0, 0.27764],\n \"45\": [0.08319, 0.58283, 0, 0, 0.75623],\n \"46\": [0, 0.10803, 0, 0, 0.27764],\n \"47\": [0.24982, 0.74947, 0, 0, 0.50181],\n \"48\": [0, 0.47534, 0, 0, 0.50181],\n \"49\": [0, 0.47534, 0, 0, 0.50181],\n \"50\": [0, 0.47534, 0, 0, 0.50181],\n \"51\": [0.18906, 0.47534, 0, 0, 0.50181],\n \"52\": [0.18906, 0.47534, 0, 0, 0.50181],\n \"53\": [0.18906, 0.47534, 0, 0, 0.50181],\n \"54\": [0, 0.69141, 0, 0, 0.50181],\n \"55\": [0.18906, 0.47534, 0, 0, 0.50181],\n \"56\": [0, 0.69141, 0, 0, 0.50181],\n \"57\": [0.18906, 0.47534, 0, 0, 0.50181],\n \"58\": [0, 0.47534, 0, 0, 0.21606],\n \"59\": [0.12604, 0.47534, 0, 0, 0.21606],\n \"61\": [-0.13099, 0.36866, 0, 0, 0.75623],\n \"63\": [0, 0.69141, 0, 0, 0.36245],\n \"65\": [0, 0.69141, 0, 0, 0.7176],\n \"66\": [0, 0.69141, 0, 0, 0.88397],\n \"67\": [0, 0.69141, 0, 0, 0.61254],\n \"68\": [0, 0.69141, 0, 0, 0.83158],\n \"69\": [0, 0.69141, 0, 0, 0.66278],\n \"70\": [0.12604, 0.69141, 0, 0, 0.61119],\n \"71\": [0, 0.69141, 0, 0, 0.78539],\n \"72\": [0.06302, 0.69141, 0, 0, 0.7203],\n \"73\": [0, 0.69141, 0, 0, 0.55448],\n \"74\": [0.12604, 0.69141, 0, 0, 0.55231],\n \"75\": [0, 0.69141, 0, 0, 0.66845],\n \"76\": [0, 0.69141, 0, 0, 0.66602],\n \"77\": [0, 0.69141, 0, 0, 1.04953],\n \"78\": [0, 0.69141, 0, 0, 0.83212],\n \"79\": [0, 0.69141, 0, 0, 0.82699],\n \"80\": [0.18906, 0.69141, 0, 0, 0.82753],\n \"81\": [0.03781, 0.69141, 0, 0, 0.82699],\n \"82\": [0, 0.69141, 0, 0, 0.82807],\n \"83\": [0, 0.69141, 0, 0, 0.82861],\n \"84\": [0, 0.69141, 0, 0, 0.66899],\n \"85\": [0, 0.69141, 0, 0, 0.64576],\n \"86\": [0, 0.69141, 0, 0, 0.83131],\n \"87\": [0, 0.69141, 0, 0, 1.04602],\n \"88\": [0, 0.69141, 0, 0, 0.71922],\n \"89\": [0.18906, 0.69141, 0, 0, 0.83293],\n \"90\": [0.12604, 0.69141, 0, 0, 0.60201],\n \"91\": [0.24982, 0.74947, 0, 0, 0.27764],\n \"93\": [0.24982, 0.74947, 0, 0, 0.27764],\n \"94\": [0, 0.69141, 0, 0, 0.49965],\n \"97\": [0, 0.47534, 0, 0, 0.50046],\n \"98\": [0, 0.69141, 0, 0, 0.51315],\n \"99\": [0, 0.47534, 0, 0, 0.38946],\n \"100\": [0, 0.62119, 0, 0, 0.49857],\n \"101\": [0, 0.47534, 0, 0, 0.40053],\n \"102\": [0.18906, 0.69141, 0, 0, 0.32626],\n \"103\": [0.18906, 0.47534, 0, 0, 0.5037],\n \"104\": [0.18906, 0.69141, 0, 0, 0.52126],\n \"105\": [0, 0.69141, 0, 0, 0.27899],\n \"106\": [0, 0.69141, 0, 0, 0.28088],\n \"107\": [0, 0.69141, 0, 0, 0.38946],\n \"108\": [0, 0.69141, 0, 0, 0.27953],\n \"109\": [0, 0.47534, 0, 0, 0.76676],\n \"110\": [0, 0.47534, 0, 0, 0.52666],\n \"111\": [0, 0.47534, 0, 0, 0.48885],\n \"112\": [0.18906, 0.52396, 0, 0, 0.50046],\n \"113\": [0.18906, 0.47534, 0, 0, 0.48912],\n \"114\": [0, 0.47534, 0, 0, 0.38919],\n \"115\": [0, 0.47534, 0, 0, 0.44266],\n \"116\": [0, 0.62119, 0, 0, 0.33301],\n \"117\": [0, 0.47534, 0, 0, 0.5172],\n \"118\": [0, 0.52396, 0, 0, 0.5118],\n \"119\": [0, 0.52396, 0, 0, 0.77351],\n \"120\": [0.18906, 0.47534, 0, 0, 0.38865],\n \"121\": [0.18906, 0.47534, 0, 0, 0.49884],\n \"122\": [0.18906, 0.47534, 0, 0, 0.39054],\n \"160\": [0, 0, 0, 0, 0.25],\n \"8216\": [0, 0.69141, 0, 0, 0.21471],\n \"8217\": [0, 0.69141, 0, 0, 0.21471],\n \"58112\": [0, 0.62119, 0, 0, 0.49749],\n \"58113\": [0, 0.62119, 0, 0, 0.4983],\n \"58114\": [0.18906, 0.69141, 0, 0, 0.33328],\n \"58115\": [0.18906, 0.69141, 0, 0, 0.32923],\n \"58116\": [0.18906, 0.47534, 0, 0, 0.50343],\n \"58117\": [0, 0.69141, 0, 0, 0.33301],\n \"58118\": [0, 0.62119, 0, 0, 0.33409],\n \"58119\": [0, 0.47534, 0, 0, 0.50073]\n },\n \"Main-Bold\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69444, 0, 0, 0.35],\n \"34\": [0, 0.69444, 0, 0, 0.60278],\n \"35\": [0.19444, 0.69444, 0, 0, 0.95833],\n \"36\": [0.05556, 0.75, 0, 0, 0.575],\n \"37\": [0.05556, 0.75, 0, 0, 0.95833],\n \"38\": [0, 0.69444, 0, 0, 0.89444],\n \"39\": [0, 0.69444, 0, 0, 0.31944],\n \"40\": [0.25, 0.75, 0, 0, 0.44722],\n \"41\": [0.25, 0.75, 0, 0, 0.44722],\n \"42\": [0, 0.75, 0, 0, 0.575],\n \"43\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"44\": [0.19444, 0.15556, 0, 0, 0.31944],\n \"45\": [0, 0.44444, 0, 0, 0.38333],\n \"46\": [0, 0.15556, 0, 0, 0.31944],\n \"47\": [0.25, 0.75, 0, 0, 0.575],\n \"48\": [0, 0.64444, 0, 0, 0.575],\n \"49\": [0, 0.64444, 0, 0, 0.575],\n \"50\": [0, 0.64444, 0, 0, 0.575],\n \"51\": [0, 0.64444, 0, 0, 0.575],\n \"52\": [0, 0.64444, 0, 0, 0.575],\n \"53\": [0, 0.64444, 0, 0, 0.575],\n \"54\": [0, 0.64444, 0, 0, 0.575],\n \"55\": [0, 0.64444, 0, 0, 0.575],\n \"56\": [0, 0.64444, 0, 0, 0.575],\n \"57\": [0, 0.64444, 0, 0, 0.575],\n \"58\": [0, 0.44444, 0, 0, 0.31944],\n \"59\": [0.19444, 0.44444, 0, 0, 0.31944],\n \"60\": [0.08556, 0.58556, 0, 0, 0.89444],\n \"61\": [-0.10889, 0.39111, 0, 0, 0.89444],\n \"62\": [0.08556, 0.58556, 0, 0, 0.89444],\n \"63\": [0, 0.69444, 0, 0, 0.54305],\n \"64\": [0, 0.69444, 0, 0, 0.89444],\n \"65\": [0, 0.68611, 0, 0, 0.86944],\n \"66\": [0, 0.68611, 0, 0, 0.81805],\n \"67\": [0, 0.68611, 0, 0, 0.83055],\n \"68\": [0, 0.68611, 0, 0, 0.88194],\n \"69\": [0, 0.68611, 0, 0, 0.75555],\n \"70\": [0, 0.68611, 0, 0, 0.72361],\n \"71\": [0, 0.68611, 0, 0, 0.90416],\n \"72\": [0, 0.68611, 0, 0, 0.9],\n \"73\": [0, 0.68611, 0, 0, 0.43611],\n \"74\": [0, 0.68611, 0, 0, 0.59444],\n \"75\": [0, 0.68611, 0, 0, 0.90138],\n \"76\": [0, 0.68611, 0, 0, 0.69166],\n \"77\": [0, 0.68611, 0, 0, 1.09166],\n \"78\": [0, 0.68611, 0, 0, 0.9],\n \"79\": [0, 0.68611, 0, 0, 0.86388],\n \"80\": [0, 0.68611, 0, 0, 0.78611],\n \"81\": [0.19444, 0.68611, 0, 0, 0.86388],\n \"82\": [0, 0.68611, 0, 0, 0.8625],\n \"83\": [0, 0.68611, 0, 0, 0.63889],\n \"84\": [0, 0.68611, 0, 0, 0.8],\n \"85\": [0, 0.68611, 0, 0, 0.88472],\n \"86\": [0, 0.68611, 0.01597, 0, 0.86944],\n \"87\": [0, 0.68611, 0.01597, 0, 1.18888],\n \"88\": [0, 0.68611, 0, 0, 0.86944],\n \"89\": [0, 0.68611, 0.02875, 0, 0.86944],\n \"90\": [0, 0.68611, 0, 0, 0.70277],\n \"91\": [0.25, 0.75, 0, 0, 0.31944],\n \"92\": [0.25, 0.75, 0, 0, 0.575],\n \"93\": [0.25, 0.75, 0, 0, 0.31944],\n \"94\": [0, 0.69444, 0, 0, 0.575],\n \"95\": [0.31, 0.13444, 0.03194, 0, 0.575],\n \"97\": [0, 0.44444, 0, 0, 0.55902],\n \"98\": [0, 0.69444, 0, 0, 0.63889],\n \"99\": [0, 0.44444, 0, 0, 0.51111],\n \"100\": [0, 0.69444, 0, 0, 0.63889],\n \"101\": [0, 0.44444, 0, 0, 0.52708],\n \"102\": [0, 0.69444, 0.10903, 0, 0.35139],\n \"103\": [0.19444, 0.44444, 0.01597, 0, 0.575],\n \"104\": [0, 0.69444, 0, 0, 0.63889],\n \"105\": [0, 0.69444, 0, 0, 0.31944],\n \"106\": [0.19444, 0.69444, 0, 0, 0.35139],\n \"107\": [0, 0.69444, 0, 0, 0.60694],\n \"108\": [0, 0.69444, 0, 0, 0.31944],\n \"109\": [0, 0.44444, 0, 0, 0.95833],\n \"110\": [0, 0.44444, 0, 0, 0.63889],\n \"111\": [0, 0.44444, 0, 0, 0.575],\n \"112\": [0.19444, 0.44444, 0, 0, 0.63889],\n \"113\": [0.19444, 0.44444, 0, 0, 0.60694],\n \"114\": [0, 0.44444, 0, 0, 0.47361],\n \"115\": [0, 0.44444, 0, 0, 0.45361],\n \"116\": [0, 0.63492, 0, 0, 0.44722],\n \"117\": [0, 0.44444, 0, 0, 0.63889],\n \"118\": [0, 0.44444, 0.01597, 0, 0.60694],\n \"119\": [0, 0.44444, 0.01597, 0, 0.83055],\n \"120\": [0, 0.44444, 0, 0, 0.60694],\n \"121\": [0.19444, 0.44444, 0.01597, 0, 0.60694],\n \"122\": [0, 0.44444, 0, 0, 0.51111],\n \"123\": [0.25, 0.75, 0, 0, 0.575],\n \"124\": [0.25, 0.75, 0, 0, 0.31944],\n \"125\": [0.25, 0.75, 0, 0, 0.575],\n \"126\": [0.35, 0.34444, 0, 0, 0.575],\n \"160\": [0, 0, 0, 0, 0.25],\n \"163\": [0, 0.69444, 0, 0, 0.86853],\n \"168\": [0, 0.69444, 0, 0, 0.575],\n \"172\": [0, 0.44444, 0, 0, 0.76666],\n \"176\": [0, 0.69444, 0, 0, 0.86944],\n \"177\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"184\": [0.17014, 0, 0, 0, 0.51111],\n \"198\": [0, 0.68611, 0, 0, 1.04166],\n \"215\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"216\": [0.04861, 0.73472, 0, 0, 0.89444],\n \"223\": [0, 0.69444, 0, 0, 0.59722],\n \"230\": [0, 0.44444, 0, 0, 0.83055],\n \"247\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"248\": [0.09722, 0.54167, 0, 0, 0.575],\n \"305\": [0, 0.44444, 0, 0, 0.31944],\n \"338\": [0, 0.68611, 0, 0, 1.16944],\n \"339\": [0, 0.44444, 0, 0, 0.89444],\n \"567\": [0.19444, 0.44444, 0, 0, 0.35139],\n \"710\": [0, 0.69444, 0, 0, 0.575],\n \"711\": [0, 0.63194, 0, 0, 0.575],\n \"713\": [0, 0.59611, 0, 0, 0.575],\n \"714\": [0, 0.69444, 0, 0, 0.575],\n \"715\": [0, 0.69444, 0, 0, 0.575],\n \"728\": [0, 0.69444, 0, 0, 0.575],\n \"729\": [0, 0.69444, 0, 0, 0.31944],\n \"730\": [0, 0.69444, 0, 0, 0.86944],\n \"732\": [0, 0.69444, 0, 0, 0.575],\n \"733\": [0, 0.69444, 0, 0, 0.575],\n \"915\": [0, 0.68611, 0, 0, 0.69166],\n \"916\": [0, 0.68611, 0, 0, 0.95833],\n \"920\": [0, 0.68611, 0, 0, 0.89444],\n \"923\": [0, 0.68611, 0, 0, 0.80555],\n \"926\": [0, 0.68611, 0, 0, 0.76666],\n \"928\": [0, 0.68611, 0, 0, 0.9],\n \"931\": [0, 0.68611, 0, 0, 0.83055],\n \"933\": [0, 0.68611, 0, 0, 0.89444],\n \"934\": [0, 0.68611, 0, 0, 0.83055],\n \"936\": [0, 0.68611, 0, 0, 0.89444],\n \"937\": [0, 0.68611, 0, 0, 0.83055],\n \"8211\": [0, 0.44444, 0.03194, 0, 0.575],\n \"8212\": [0, 0.44444, 0.03194, 0, 1.14999],\n \"8216\": [0, 0.69444, 0, 0, 0.31944],\n \"8217\": [0, 0.69444, 0, 0, 0.31944],\n \"8220\": [0, 0.69444, 0, 0, 0.60278],\n \"8221\": [0, 0.69444, 0, 0, 0.60278],\n \"8224\": [0.19444, 0.69444, 0, 0, 0.51111],\n \"8225\": [0.19444, 0.69444, 0, 0, 0.51111],\n \"8242\": [0, 0.55556, 0, 0, 0.34444],\n \"8407\": [0, 0.72444, 0.15486, 0, 0.575],\n \"8463\": [0, 0.69444, 0, 0, 0.66759],\n \"8465\": [0, 0.69444, 0, 0, 0.83055],\n \"8467\": [0, 0.69444, 0, 0, 0.47361],\n \"8472\": [0.19444, 0.44444, 0, 0, 0.74027],\n \"8476\": [0, 0.69444, 0, 0, 0.83055],\n \"8501\": [0, 0.69444, 0, 0, 0.70277],\n \"8592\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8593\": [0.19444, 0.69444, 0, 0, 0.575],\n \"8594\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8595\": [0.19444, 0.69444, 0, 0, 0.575],\n \"8596\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8597\": [0.25, 0.75, 0, 0, 0.575],\n \"8598\": [0.19444, 0.69444, 0, 0, 1.14999],\n \"8599\": [0.19444, 0.69444, 0, 0, 1.14999],\n \"8600\": [0.19444, 0.69444, 0, 0, 1.14999],\n \"8601\": [0.19444, 0.69444, 0, 0, 1.14999],\n \"8636\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8637\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8640\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8641\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8656\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8657\": [0.19444, 0.69444, 0, 0, 0.70277],\n \"8658\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8659\": [0.19444, 0.69444, 0, 0, 0.70277],\n \"8660\": [-0.10889, 0.39111, 0, 0, 1.14999],\n \"8661\": [0.25, 0.75, 0, 0, 0.70277],\n \"8704\": [0, 0.69444, 0, 0, 0.63889],\n \"8706\": [0, 0.69444, 0.06389, 0, 0.62847],\n \"8707\": [0, 0.69444, 0, 0, 0.63889],\n \"8709\": [0.05556, 0.75, 0, 0, 0.575],\n \"8711\": [0, 0.68611, 0, 0, 0.95833],\n \"8712\": [0.08556, 0.58556, 0, 0, 0.76666],\n \"8715\": [0.08556, 0.58556, 0, 0, 0.76666],\n \"8722\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"8723\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"8725\": [0.25, 0.75, 0, 0, 0.575],\n \"8726\": [0.25, 0.75, 0, 0, 0.575],\n \"8727\": [-0.02778, 0.47222, 0, 0, 0.575],\n \"8728\": [-0.02639, 0.47361, 0, 0, 0.575],\n \"8729\": [-0.02639, 0.47361, 0, 0, 0.575],\n \"8730\": [0.18, 0.82, 0, 0, 0.95833],\n \"8733\": [0, 0.44444, 0, 0, 0.89444],\n \"8734\": [0, 0.44444, 0, 0, 1.14999],\n \"8736\": [0, 0.69224, 0, 0, 0.72222],\n \"8739\": [0.25, 0.75, 0, 0, 0.31944],\n \"8741\": [0.25, 0.75, 0, 0, 0.575],\n \"8743\": [0, 0.55556, 0, 0, 0.76666],\n \"8744\": [0, 0.55556, 0, 0, 0.76666],\n \"8745\": [0, 0.55556, 0, 0, 0.76666],\n \"8746\": [0, 0.55556, 0, 0, 0.76666],\n \"8747\": [0.19444, 0.69444, 0.12778, 0, 0.56875],\n \"8764\": [-0.10889, 0.39111, 0, 0, 0.89444],\n \"8768\": [0.19444, 0.69444, 0, 0, 0.31944],\n \"8771\": [0.00222, 0.50222, 0, 0, 0.89444],\n \"8773\": [0.027, 0.638, 0, 0, 0.894],\n \"8776\": [0.02444, 0.52444, 0, 0, 0.89444],\n \"8781\": [0.00222, 0.50222, 0, 0, 0.89444],\n \"8801\": [0.00222, 0.50222, 0, 0, 0.89444],\n \"8804\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"8805\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"8810\": [0.08556, 0.58556, 0, 0, 1.14999],\n \"8811\": [0.08556, 0.58556, 0, 0, 1.14999],\n \"8826\": [0.08556, 0.58556, 0, 0, 0.89444],\n \"8827\": [0.08556, 0.58556, 0, 0, 0.89444],\n \"8834\": [0.08556, 0.58556, 0, 0, 0.89444],\n \"8835\": [0.08556, 0.58556, 0, 0, 0.89444],\n \"8838\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"8839\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"8846\": [0, 0.55556, 0, 0, 0.76666],\n \"8849\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"8850\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"8851\": [0, 0.55556, 0, 0, 0.76666],\n \"8852\": [0, 0.55556, 0, 0, 0.76666],\n \"8853\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"8854\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"8855\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"8856\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"8857\": [0.13333, 0.63333, 0, 0, 0.89444],\n \"8866\": [0, 0.69444, 0, 0, 0.70277],\n \"8867\": [0, 0.69444, 0, 0, 0.70277],\n \"8868\": [0, 0.69444, 0, 0, 0.89444],\n \"8869\": [0, 0.69444, 0, 0, 0.89444],\n \"8900\": [-0.02639, 0.47361, 0, 0, 0.575],\n \"8901\": [-0.02639, 0.47361, 0, 0, 0.31944],\n \"8902\": [-0.02778, 0.47222, 0, 0, 0.575],\n \"8968\": [0.25, 0.75, 0, 0, 0.51111],\n \"8969\": [0.25, 0.75, 0, 0, 0.51111],\n \"8970\": [0.25, 0.75, 0, 0, 0.51111],\n \"8971\": [0.25, 0.75, 0, 0, 0.51111],\n \"8994\": [-0.13889, 0.36111, 0, 0, 1.14999],\n \"8995\": [-0.13889, 0.36111, 0, 0, 1.14999],\n \"9651\": [0.19444, 0.69444, 0, 0, 1.02222],\n \"9657\": [-0.02778, 0.47222, 0, 0, 0.575],\n \"9661\": [0.19444, 0.69444, 0, 0, 1.02222],\n \"9667\": [-0.02778, 0.47222, 0, 0, 0.575],\n \"9711\": [0.19444, 0.69444, 0, 0, 1.14999],\n \"9824\": [0.12963, 0.69444, 0, 0, 0.89444],\n \"9825\": [0.12963, 0.69444, 0, 0, 0.89444],\n \"9826\": [0.12963, 0.69444, 0, 0, 0.89444],\n \"9827\": [0.12963, 0.69444, 0, 0, 0.89444],\n \"9837\": [0, 0.75, 0, 0, 0.44722],\n \"9838\": [0.19444, 0.69444, 0, 0, 0.44722],\n \"9839\": [0.19444, 0.69444, 0, 0, 0.44722],\n \"10216\": [0.25, 0.75, 0, 0, 0.44722],\n \"10217\": [0.25, 0.75, 0, 0, 0.44722],\n \"10815\": [0, 0.68611, 0, 0, 0.9],\n \"10927\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"10928\": [0.19667, 0.69667, 0, 0, 0.89444],\n \"57376\": [0.19444, 0.69444, 0, 0, 0]\n },\n \"Main-BoldItalic\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69444, 0.11417, 0, 0.38611],\n \"34\": [0, 0.69444, 0.07939, 0, 0.62055],\n \"35\": [0.19444, 0.69444, 0.06833, 0, 0.94444],\n \"37\": [0.05556, 0.75, 0.12861, 0, 0.94444],\n \"38\": [0, 0.69444, 0.08528, 0, 0.88555],\n \"39\": [0, 0.69444, 0.12945, 0, 0.35555],\n \"40\": [0.25, 0.75, 0.15806, 0, 0.47333],\n \"41\": [0.25, 0.75, 0.03306, 0, 0.47333],\n \"42\": [0, 0.75, 0.14333, 0, 0.59111],\n \"43\": [0.10333, 0.60333, 0.03306, 0, 0.88555],\n \"44\": [0.19444, 0.14722, 0, 0, 0.35555],\n \"45\": [0, 0.44444, 0.02611, 0, 0.41444],\n \"46\": [0, 0.14722, 0, 0, 0.35555],\n \"47\": [0.25, 0.75, 0.15806, 0, 0.59111],\n \"48\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"49\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"50\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"51\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"52\": [0.19444, 0.64444, 0.13167, 0, 0.59111],\n \"53\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"54\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"55\": [0.19444, 0.64444, 0.13167, 0, 0.59111],\n \"56\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"57\": [0, 0.64444, 0.13167, 0, 0.59111],\n \"58\": [0, 0.44444, 0.06695, 0, 0.35555],\n \"59\": [0.19444, 0.44444, 0.06695, 0, 0.35555],\n \"61\": [-0.10889, 0.39111, 0.06833, 0, 0.88555],\n \"63\": [0, 0.69444, 0.11472, 0, 0.59111],\n \"64\": [0, 0.69444, 0.09208, 0, 0.88555],\n \"65\": [0, 0.68611, 0, 0, 0.86555],\n \"66\": [0, 0.68611, 0.0992, 0, 0.81666],\n \"67\": [0, 0.68611, 0.14208, 0, 0.82666],\n \"68\": [0, 0.68611, 0.09062, 0, 0.87555],\n \"69\": [0, 0.68611, 0.11431, 0, 0.75666],\n \"70\": [0, 0.68611, 0.12903, 0, 0.72722],\n \"71\": [0, 0.68611, 0.07347, 0, 0.89527],\n \"72\": [0, 0.68611, 0.17208, 0, 0.8961],\n \"73\": [0, 0.68611, 0.15681, 0, 0.47166],\n \"74\": [0, 0.68611, 0.145, 0, 0.61055],\n \"75\": [0, 0.68611, 0.14208, 0, 0.89499],\n \"76\": [0, 0.68611, 0, 0, 0.69777],\n \"77\": [0, 0.68611, 0.17208, 0, 1.07277],\n \"78\": [0, 0.68611, 0.17208, 0, 0.8961],\n \"79\": [0, 0.68611, 0.09062, 0, 0.85499],\n \"80\": [0, 0.68611, 0.0992, 0, 0.78721],\n \"81\": [0.19444, 0.68611, 0.09062, 0, 0.85499],\n \"82\": [0, 0.68611, 0.02559, 0, 0.85944],\n \"83\": [0, 0.68611, 0.11264, 0, 0.64999],\n \"84\": [0, 0.68611, 0.12903, 0, 0.7961],\n \"85\": [0, 0.68611, 0.17208, 0, 0.88083],\n \"86\": [0, 0.68611, 0.18625, 0, 0.86555],\n \"87\": [0, 0.68611, 0.18625, 0, 1.15999],\n \"88\": [0, 0.68611, 0.15681, 0, 0.86555],\n \"89\": [0, 0.68611, 0.19803, 0, 0.86555],\n \"90\": [0, 0.68611, 0.14208, 0, 0.70888],\n \"91\": [0.25, 0.75, 0.1875, 0, 0.35611],\n \"93\": [0.25, 0.75, 0.09972, 0, 0.35611],\n \"94\": [0, 0.69444, 0.06709, 0, 0.59111],\n \"95\": [0.31, 0.13444, 0.09811, 0, 0.59111],\n \"97\": [0, 0.44444, 0.09426, 0, 0.59111],\n \"98\": [0, 0.69444, 0.07861, 0, 0.53222],\n \"99\": [0, 0.44444, 0.05222, 0, 0.53222],\n \"100\": [0, 0.69444, 0.10861, 0, 0.59111],\n \"101\": [0, 0.44444, 0.085, 0, 0.53222],\n \"102\": [0.19444, 0.69444, 0.21778, 0, 0.4],\n \"103\": [0.19444, 0.44444, 0.105, 0, 0.53222],\n \"104\": [0, 0.69444, 0.09426, 0, 0.59111],\n \"105\": [0, 0.69326, 0.11387, 0, 0.35555],\n \"106\": [0.19444, 0.69326, 0.1672, 0, 0.35555],\n \"107\": [0, 0.69444, 0.11111, 0, 0.53222],\n \"108\": [0, 0.69444, 0.10861, 0, 0.29666],\n \"109\": [0, 0.44444, 0.09426, 0, 0.94444],\n \"110\": [0, 0.44444, 0.09426, 0, 0.64999],\n \"111\": [0, 0.44444, 0.07861, 0, 0.59111],\n \"112\": [0.19444, 0.44444, 0.07861, 0, 0.59111],\n \"113\": [0.19444, 0.44444, 0.105, 0, 0.53222],\n \"114\": [0, 0.44444, 0.11111, 0, 0.50167],\n \"115\": [0, 0.44444, 0.08167, 0, 0.48694],\n \"116\": [0, 0.63492, 0.09639, 0, 0.385],\n \"117\": [0, 0.44444, 0.09426, 0, 0.62055],\n \"118\": [0, 0.44444, 0.11111, 0, 0.53222],\n \"119\": [0, 0.44444, 0.11111, 0, 0.76777],\n \"120\": [0, 0.44444, 0.12583, 0, 0.56055],\n \"121\": [0.19444, 0.44444, 0.105, 0, 0.56166],\n \"122\": [0, 0.44444, 0.13889, 0, 0.49055],\n \"126\": [0.35, 0.34444, 0.11472, 0, 0.59111],\n \"160\": [0, 0, 0, 0, 0.25],\n \"168\": [0, 0.69444, 0.11473, 0, 0.59111],\n \"176\": [0, 0.69444, 0, 0, 0.94888],\n \"184\": [0.17014, 0, 0, 0, 0.53222],\n \"198\": [0, 0.68611, 0.11431, 0, 1.02277],\n \"216\": [0.04861, 0.73472, 0.09062, 0, 0.88555],\n \"223\": [0.19444, 0.69444, 0.09736, 0, 0.665],\n \"230\": [0, 0.44444, 0.085, 0, 0.82666],\n \"248\": [0.09722, 0.54167, 0.09458, 0, 0.59111],\n \"305\": [0, 0.44444, 0.09426, 0, 0.35555],\n \"338\": [0, 0.68611, 0.11431, 0, 1.14054],\n \"339\": [0, 0.44444, 0.085, 0, 0.82666],\n \"567\": [0.19444, 0.44444, 0.04611, 0, 0.385],\n \"710\": [0, 0.69444, 0.06709, 0, 0.59111],\n \"711\": [0, 0.63194, 0.08271, 0, 0.59111],\n \"713\": [0, 0.59444, 0.10444, 0, 0.59111],\n \"714\": [0, 0.69444, 0.08528, 0, 0.59111],\n \"715\": [0, 0.69444, 0, 0, 0.59111],\n \"728\": [0, 0.69444, 0.10333, 0, 0.59111],\n \"729\": [0, 0.69444, 0.12945, 0, 0.35555],\n \"730\": [0, 0.69444, 0, 0, 0.94888],\n \"732\": [0, 0.69444, 0.11472, 0, 0.59111],\n \"733\": [0, 0.69444, 0.11472, 0, 0.59111],\n \"915\": [0, 0.68611, 0.12903, 0, 0.69777],\n \"916\": [0, 0.68611, 0, 0, 0.94444],\n \"920\": [0, 0.68611, 0.09062, 0, 0.88555],\n \"923\": [0, 0.68611, 0, 0, 0.80666],\n \"926\": [0, 0.68611, 0.15092, 0, 0.76777],\n \"928\": [0, 0.68611, 0.17208, 0, 0.8961],\n \"931\": [0, 0.68611, 0.11431, 0, 0.82666],\n \"933\": [0, 0.68611, 0.10778, 0, 0.88555],\n \"934\": [0, 0.68611, 0.05632, 0, 0.82666],\n \"936\": [0, 0.68611, 0.10778, 0, 0.88555],\n \"937\": [0, 0.68611, 0.0992, 0, 0.82666],\n \"8211\": [0, 0.44444, 0.09811, 0, 0.59111],\n \"8212\": [0, 0.44444, 0.09811, 0, 1.18221],\n \"8216\": [0, 0.69444, 0.12945, 0, 0.35555],\n \"8217\": [0, 0.69444, 0.12945, 0, 0.35555],\n \"8220\": [0, 0.69444, 0.16772, 0, 0.62055],\n \"8221\": [0, 0.69444, 0.07939, 0, 0.62055]\n },\n \"Main-Italic\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69444, 0.12417, 0, 0.30667],\n \"34\": [0, 0.69444, 0.06961, 0, 0.51444],\n \"35\": [0.19444, 0.69444, 0.06616, 0, 0.81777],\n \"37\": [0.05556, 0.75, 0.13639, 0, 0.81777],\n \"38\": [0, 0.69444, 0.09694, 0, 0.76666],\n \"39\": [0, 0.69444, 0.12417, 0, 0.30667],\n \"40\": [0.25, 0.75, 0.16194, 0, 0.40889],\n \"41\": [0.25, 0.75, 0.03694, 0, 0.40889],\n \"42\": [0, 0.75, 0.14917, 0, 0.51111],\n \"43\": [0.05667, 0.56167, 0.03694, 0, 0.76666],\n \"44\": [0.19444, 0.10556, 0, 0, 0.30667],\n \"45\": [0, 0.43056, 0.02826, 0, 0.35778],\n \"46\": [0, 0.10556, 0, 0, 0.30667],\n \"47\": [0.25, 0.75, 0.16194, 0, 0.51111],\n \"48\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"49\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"50\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"51\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"52\": [0.19444, 0.64444, 0.13556, 0, 0.51111],\n \"53\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"54\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"55\": [0.19444, 0.64444, 0.13556, 0, 0.51111],\n \"56\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"57\": [0, 0.64444, 0.13556, 0, 0.51111],\n \"58\": [0, 0.43056, 0.0582, 0, 0.30667],\n \"59\": [0.19444, 0.43056, 0.0582, 0, 0.30667],\n \"61\": [-0.13313, 0.36687, 0.06616, 0, 0.76666],\n \"63\": [0, 0.69444, 0.1225, 0, 0.51111],\n \"64\": [0, 0.69444, 0.09597, 0, 0.76666],\n \"65\": [0, 0.68333, 0, 0, 0.74333],\n \"66\": [0, 0.68333, 0.10257, 0, 0.70389],\n \"67\": [0, 0.68333, 0.14528, 0, 0.71555],\n \"68\": [0, 0.68333, 0.09403, 0, 0.755],\n \"69\": [0, 0.68333, 0.12028, 0, 0.67833],\n \"70\": [0, 0.68333, 0.13305, 0, 0.65277],\n \"71\": [0, 0.68333, 0.08722, 0, 0.77361],\n \"72\": [0, 0.68333, 0.16389, 0, 0.74333],\n \"73\": [0, 0.68333, 0.15806, 0, 0.38555],\n \"74\": [0, 0.68333, 0.14028, 0, 0.525],\n \"75\": [0, 0.68333, 0.14528, 0, 0.76888],\n \"76\": [0, 0.68333, 0, 0, 0.62722],\n \"77\": [0, 0.68333, 0.16389, 0, 0.89666],\n \"78\": [0, 0.68333, 0.16389, 0, 0.74333],\n \"79\": [0, 0.68333, 0.09403, 0, 0.76666],\n \"80\": [0, 0.68333, 0.10257, 0, 0.67833],\n \"81\": [0.19444, 0.68333, 0.09403, 0, 0.76666],\n \"82\": [0, 0.68333, 0.03868, 0, 0.72944],\n \"83\": [0, 0.68333, 0.11972, 0, 0.56222],\n \"84\": [0, 0.68333, 0.13305, 0, 0.71555],\n \"85\": [0, 0.68333, 0.16389, 0, 0.74333],\n \"86\": [0, 0.68333, 0.18361, 0, 0.74333],\n \"87\": [0, 0.68333, 0.18361, 0, 0.99888],\n \"88\": [0, 0.68333, 0.15806, 0, 0.74333],\n \"89\": [0, 0.68333, 0.19383, 0, 0.74333],\n \"90\": [0, 0.68333, 0.14528, 0, 0.61333],\n \"91\": [0.25, 0.75, 0.1875, 0, 0.30667],\n \"93\": [0.25, 0.75, 0.10528, 0, 0.30667],\n \"94\": [0, 0.69444, 0.06646, 0, 0.51111],\n \"95\": [0.31, 0.12056, 0.09208, 0, 0.51111],\n \"97\": [0, 0.43056, 0.07671, 0, 0.51111],\n \"98\": [0, 0.69444, 0.06312, 0, 0.46],\n \"99\": [0, 0.43056, 0.05653, 0, 0.46],\n \"100\": [0, 0.69444, 0.10333, 0, 0.51111],\n \"101\": [0, 0.43056, 0.07514, 0, 0.46],\n \"102\": [0.19444, 0.69444, 0.21194, 0, 0.30667],\n \"103\": [0.19444, 0.43056, 0.08847, 0, 0.46],\n \"104\": [0, 0.69444, 0.07671, 0, 0.51111],\n \"105\": [0, 0.65536, 0.1019, 0, 0.30667],\n \"106\": [0.19444, 0.65536, 0.14467, 0, 0.30667],\n \"107\": [0, 0.69444, 0.10764, 0, 0.46],\n \"108\": [0, 0.69444, 0.10333, 0, 0.25555],\n \"109\": [0, 0.43056, 0.07671, 0, 0.81777],\n \"110\": [0, 0.43056, 0.07671, 0, 0.56222],\n \"111\": [0, 0.43056, 0.06312, 0, 0.51111],\n \"112\": [0.19444, 0.43056, 0.06312, 0, 0.51111],\n \"113\": [0.19444, 0.43056, 0.08847, 0, 0.46],\n \"114\": [0, 0.43056, 0.10764, 0, 0.42166],\n \"115\": [0, 0.43056, 0.08208, 0, 0.40889],\n \"116\": [0, 0.61508, 0.09486, 0, 0.33222],\n \"117\": [0, 0.43056, 0.07671, 0, 0.53666],\n \"118\": [0, 0.43056, 0.10764, 0, 0.46],\n \"119\": [0, 0.43056, 0.10764, 0, 0.66444],\n \"120\": [0, 0.43056, 0.12042, 0, 0.46389],\n \"121\": [0.19444, 0.43056, 0.08847, 0, 0.48555],\n \"122\": [0, 0.43056, 0.12292, 0, 0.40889],\n \"126\": [0.35, 0.31786, 0.11585, 0, 0.51111],\n \"160\": [0, 0, 0, 0, 0.25],\n \"168\": [0, 0.66786, 0.10474, 0, 0.51111],\n \"176\": [0, 0.69444, 0, 0, 0.83129],\n \"184\": [0.17014, 0, 0, 0, 0.46],\n \"198\": [0, 0.68333, 0.12028, 0, 0.88277],\n \"216\": [0.04861, 0.73194, 0.09403, 0, 0.76666],\n \"223\": [0.19444, 0.69444, 0.10514, 0, 0.53666],\n \"230\": [0, 0.43056, 0.07514, 0, 0.71555],\n \"248\": [0.09722, 0.52778, 0.09194, 0, 0.51111],\n \"338\": [0, 0.68333, 0.12028, 0, 0.98499],\n \"339\": [0, 0.43056, 0.07514, 0, 0.71555],\n \"710\": [0, 0.69444, 0.06646, 0, 0.51111],\n \"711\": [0, 0.62847, 0.08295, 0, 0.51111],\n \"713\": [0, 0.56167, 0.10333, 0, 0.51111],\n \"714\": [0, 0.69444, 0.09694, 0, 0.51111],\n \"715\": [0, 0.69444, 0, 0, 0.51111],\n \"728\": [0, 0.69444, 0.10806, 0, 0.51111],\n \"729\": [0, 0.66786, 0.11752, 0, 0.30667],\n \"730\": [0, 0.69444, 0, 0, 0.83129],\n \"732\": [0, 0.66786, 0.11585, 0, 0.51111],\n \"733\": [0, 0.69444, 0.1225, 0, 0.51111],\n \"915\": [0, 0.68333, 0.13305, 0, 0.62722],\n \"916\": [0, 0.68333, 0, 0, 0.81777],\n \"920\": [0, 0.68333, 0.09403, 0, 0.76666],\n \"923\": [0, 0.68333, 0, 0, 0.69222],\n \"926\": [0, 0.68333, 0.15294, 0, 0.66444],\n \"928\": [0, 0.68333, 0.16389, 0, 0.74333],\n \"931\": [0, 0.68333, 0.12028, 0, 0.71555],\n \"933\": [0, 0.68333, 0.11111, 0, 0.76666],\n \"934\": [0, 0.68333, 0.05986, 0, 0.71555],\n \"936\": [0, 0.68333, 0.11111, 0, 0.76666],\n \"937\": [0, 0.68333, 0.10257, 0, 0.71555],\n \"8211\": [0, 0.43056, 0.09208, 0, 0.51111],\n \"8212\": [0, 0.43056, 0.09208, 0, 1.02222],\n \"8216\": [0, 0.69444, 0.12417, 0, 0.30667],\n \"8217\": [0, 0.69444, 0.12417, 0, 0.30667],\n \"8220\": [0, 0.69444, 0.1685, 0, 0.51444],\n \"8221\": [0, 0.69444, 0.06961, 0, 0.51444],\n \"8463\": [0, 0.68889, 0, 0, 0.54028]\n },\n \"Main-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69444, 0, 0, 0.27778],\n \"34\": [0, 0.69444, 0, 0, 0.5],\n \"35\": [0.19444, 0.69444, 0, 0, 0.83334],\n \"36\": [0.05556, 0.75, 0, 0, 0.5],\n \"37\": [0.05556, 0.75, 0, 0, 0.83334],\n \"38\": [0, 0.69444, 0, 0, 0.77778],\n \"39\": [0, 0.69444, 0, 0, 0.27778],\n \"40\": [0.25, 0.75, 0, 0, 0.38889],\n \"41\": [0.25, 0.75, 0, 0, 0.38889],\n \"42\": [0, 0.75, 0, 0, 0.5],\n \"43\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"44\": [0.19444, 0.10556, 0, 0, 0.27778],\n \"45\": [0, 0.43056, 0, 0, 0.33333],\n \"46\": [0, 0.10556, 0, 0, 0.27778],\n \"47\": [0.25, 0.75, 0, 0, 0.5],\n \"48\": [0, 0.64444, 0, 0, 0.5],\n \"49\": [0, 0.64444, 0, 0, 0.5],\n \"50\": [0, 0.64444, 0, 0, 0.5],\n \"51\": [0, 0.64444, 0, 0, 0.5],\n \"52\": [0, 0.64444, 0, 0, 0.5],\n \"53\": [0, 0.64444, 0, 0, 0.5],\n \"54\": [0, 0.64444, 0, 0, 0.5],\n \"55\": [0, 0.64444, 0, 0, 0.5],\n \"56\": [0, 0.64444, 0, 0, 0.5],\n \"57\": [0, 0.64444, 0, 0, 0.5],\n \"58\": [0, 0.43056, 0, 0, 0.27778],\n \"59\": [0.19444, 0.43056, 0, 0, 0.27778],\n \"60\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"61\": [-0.13313, 0.36687, 0, 0, 0.77778],\n \"62\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"63\": [0, 0.69444, 0, 0, 0.47222],\n \"64\": [0, 0.69444, 0, 0, 0.77778],\n \"65\": [0, 0.68333, 0, 0, 0.75],\n \"66\": [0, 0.68333, 0, 0, 0.70834],\n \"67\": [0, 0.68333, 0, 0, 0.72222],\n \"68\": [0, 0.68333, 0, 0, 0.76389],\n \"69\": [0, 0.68333, 0, 0, 0.68056],\n \"70\": [0, 0.68333, 0, 0, 0.65278],\n \"71\": [0, 0.68333, 0, 0, 0.78472],\n \"72\": [0, 0.68333, 0, 0, 0.75],\n \"73\": [0, 0.68333, 0, 0, 0.36111],\n \"74\": [0, 0.68333, 0, 0, 0.51389],\n \"75\": [0, 0.68333, 0, 0, 0.77778],\n \"76\": [0, 0.68333, 0, 0, 0.625],\n \"77\": [0, 0.68333, 0, 0, 0.91667],\n \"78\": [0, 0.68333, 0, 0, 0.75],\n \"79\": [0, 0.68333, 0, 0, 0.77778],\n \"80\": [0, 0.68333, 0, 0, 0.68056],\n \"81\": [0.19444, 0.68333, 0, 0, 0.77778],\n \"82\": [0, 0.68333, 0, 0, 0.73611],\n \"83\": [0, 0.68333, 0, 0, 0.55556],\n \"84\": [0, 0.68333, 0, 0, 0.72222],\n \"85\": [0, 0.68333, 0, 0, 0.75],\n \"86\": [0, 0.68333, 0.01389, 0, 0.75],\n \"87\": [0, 0.68333, 0.01389, 0, 1.02778],\n \"88\": [0, 0.68333, 0, 0, 0.75],\n \"89\": [0, 0.68333, 0.025, 0, 0.75],\n \"90\": [0, 0.68333, 0, 0, 0.61111],\n \"91\": [0.25, 0.75, 0, 0, 0.27778],\n \"92\": [0.25, 0.75, 0, 0, 0.5],\n \"93\": [0.25, 0.75, 0, 0, 0.27778],\n \"94\": [0, 0.69444, 0, 0, 0.5],\n \"95\": [0.31, 0.12056, 0.02778, 0, 0.5],\n \"97\": [0, 0.43056, 0, 0, 0.5],\n \"98\": [0, 0.69444, 0, 0, 0.55556],\n \"99\": [0, 0.43056, 0, 0, 0.44445],\n \"100\": [0, 0.69444, 0, 0, 0.55556],\n \"101\": [0, 0.43056, 0, 0, 0.44445],\n \"102\": [0, 0.69444, 0.07778, 0, 0.30556],\n \"103\": [0.19444, 0.43056, 0.01389, 0, 0.5],\n \"104\": [0, 0.69444, 0, 0, 0.55556],\n \"105\": [0, 0.66786, 0, 0, 0.27778],\n \"106\": [0.19444, 0.66786, 0, 0, 0.30556],\n \"107\": [0, 0.69444, 0, 0, 0.52778],\n \"108\": [0, 0.69444, 0, 0, 0.27778],\n \"109\": [0, 0.43056, 0, 0, 0.83334],\n \"110\": [0, 0.43056, 0, 0, 0.55556],\n \"111\": [0, 0.43056, 0, 0, 0.5],\n \"112\": [0.19444, 0.43056, 0, 0, 0.55556],\n \"113\": [0.19444, 0.43056, 0, 0, 0.52778],\n \"114\": [0, 0.43056, 0, 0, 0.39167],\n \"115\": [0, 0.43056, 0, 0, 0.39445],\n \"116\": [0, 0.61508, 0, 0, 0.38889],\n \"117\": [0, 0.43056, 0, 0, 0.55556],\n \"118\": [0, 0.43056, 0.01389, 0, 0.52778],\n \"119\": [0, 0.43056, 0.01389, 0, 0.72222],\n \"120\": [0, 0.43056, 0, 0, 0.52778],\n \"121\": [0.19444, 0.43056, 0.01389, 0, 0.52778],\n \"122\": [0, 0.43056, 0, 0, 0.44445],\n \"123\": [0.25, 0.75, 0, 0, 0.5],\n \"124\": [0.25, 0.75, 0, 0, 0.27778],\n \"125\": [0.25, 0.75, 0, 0, 0.5],\n \"126\": [0.35, 0.31786, 0, 0, 0.5],\n \"160\": [0, 0, 0, 0, 0.25],\n \"163\": [0, 0.69444, 0, 0, 0.76909],\n \"167\": [0.19444, 0.69444, 0, 0, 0.44445],\n \"168\": [0, 0.66786, 0, 0, 0.5],\n \"172\": [0, 0.43056, 0, 0, 0.66667],\n \"176\": [0, 0.69444, 0, 0, 0.75],\n \"177\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"182\": [0.19444, 0.69444, 0, 0, 0.61111],\n \"184\": [0.17014, 0, 0, 0, 0.44445],\n \"198\": [0, 0.68333, 0, 0, 0.90278],\n \"215\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"216\": [0.04861, 0.73194, 0, 0, 0.77778],\n \"223\": [0, 0.69444, 0, 0, 0.5],\n \"230\": [0, 0.43056, 0, 0, 0.72222],\n \"247\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"248\": [0.09722, 0.52778, 0, 0, 0.5],\n \"305\": [0, 0.43056, 0, 0, 0.27778],\n \"338\": [0, 0.68333, 0, 0, 1.01389],\n \"339\": [0, 0.43056, 0, 0, 0.77778],\n \"567\": [0.19444, 0.43056, 0, 0, 0.30556],\n \"710\": [0, 0.69444, 0, 0, 0.5],\n \"711\": [0, 0.62847, 0, 0, 0.5],\n \"713\": [0, 0.56778, 0, 0, 0.5],\n \"714\": [0, 0.69444, 0, 0, 0.5],\n \"715\": [0, 0.69444, 0, 0, 0.5],\n \"728\": [0, 0.69444, 0, 0, 0.5],\n \"729\": [0, 0.66786, 0, 0, 0.27778],\n \"730\": [0, 0.69444, 0, 0, 0.75],\n \"732\": [0, 0.66786, 0, 0, 0.5],\n \"733\": [0, 0.69444, 0, 0, 0.5],\n \"915\": [0, 0.68333, 0, 0, 0.625],\n \"916\": [0, 0.68333, 0, 0, 0.83334],\n \"920\": [0, 0.68333, 0, 0, 0.77778],\n \"923\": [0, 0.68333, 0, 0, 0.69445],\n \"926\": [0, 0.68333, 0, 0, 0.66667],\n \"928\": [0, 0.68333, 0, 0, 0.75],\n \"931\": [0, 0.68333, 0, 0, 0.72222],\n \"933\": [0, 0.68333, 0, 0, 0.77778],\n \"934\": [0, 0.68333, 0, 0, 0.72222],\n \"936\": [0, 0.68333, 0, 0, 0.77778],\n \"937\": [0, 0.68333, 0, 0, 0.72222],\n \"8211\": [0, 0.43056, 0.02778, 0, 0.5],\n \"8212\": [0, 0.43056, 0.02778, 0, 1.0],\n \"8216\": [0, 0.69444, 0, 0, 0.27778],\n \"8217\": [0, 0.69444, 0, 0, 0.27778],\n \"8220\": [0, 0.69444, 0, 0, 0.5],\n \"8221\": [0, 0.69444, 0, 0, 0.5],\n \"8224\": [0.19444, 0.69444, 0, 0, 0.44445],\n \"8225\": [0.19444, 0.69444, 0, 0, 0.44445],\n \"8230\": [0, 0.123, 0, 0, 1.172],\n \"8242\": [0, 0.55556, 0, 0, 0.275],\n \"8407\": [0, 0.71444, 0.15382, 0, 0.5],\n \"8463\": [0, 0.68889, 0, 0, 0.54028],\n \"8465\": [0, 0.69444, 0, 0, 0.72222],\n \"8467\": [0, 0.69444, 0, 0.11111, 0.41667],\n \"8472\": [0.19444, 0.43056, 0, 0.11111, 0.63646],\n \"8476\": [0, 0.69444, 0, 0, 0.72222],\n \"8501\": [0, 0.69444, 0, 0, 0.61111],\n \"8592\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8593\": [0.19444, 0.69444, 0, 0, 0.5],\n \"8594\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8595\": [0.19444, 0.69444, 0, 0, 0.5],\n \"8596\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8597\": [0.25, 0.75, 0, 0, 0.5],\n \"8598\": [0.19444, 0.69444, 0, 0, 1.0],\n \"8599\": [0.19444, 0.69444, 0, 0, 1.0],\n \"8600\": [0.19444, 0.69444, 0, 0, 1.0],\n \"8601\": [0.19444, 0.69444, 0, 0, 1.0],\n \"8614\": [0.011, 0.511, 0, 0, 1.0],\n \"8617\": [0.011, 0.511, 0, 0, 1.126],\n \"8618\": [0.011, 0.511, 0, 0, 1.126],\n \"8636\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8637\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8640\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8641\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8652\": [0.011, 0.671, 0, 0, 1.0],\n \"8656\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8657\": [0.19444, 0.69444, 0, 0, 0.61111],\n \"8658\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8659\": [0.19444, 0.69444, 0, 0, 0.61111],\n \"8660\": [-0.13313, 0.36687, 0, 0, 1.0],\n \"8661\": [0.25, 0.75, 0, 0, 0.61111],\n \"8704\": [0, 0.69444, 0, 0, 0.55556],\n \"8706\": [0, 0.69444, 0.05556, 0.08334, 0.5309],\n \"8707\": [0, 0.69444, 0, 0, 0.55556],\n \"8709\": [0.05556, 0.75, 0, 0, 0.5],\n \"8711\": [0, 0.68333, 0, 0, 0.83334],\n \"8712\": [0.0391, 0.5391, 0, 0, 0.66667],\n \"8715\": [0.0391, 0.5391, 0, 0, 0.66667],\n \"8722\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"8723\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"8725\": [0.25, 0.75, 0, 0, 0.5],\n \"8726\": [0.25, 0.75, 0, 0, 0.5],\n \"8727\": [-0.03472, 0.46528, 0, 0, 0.5],\n \"8728\": [-0.05555, 0.44445, 0, 0, 0.5],\n \"8729\": [-0.05555, 0.44445, 0, 0, 0.5],\n \"8730\": [0.2, 0.8, 0, 0, 0.83334],\n \"8733\": [0, 0.43056, 0, 0, 0.77778],\n \"8734\": [0, 0.43056, 0, 0, 1.0],\n \"8736\": [0, 0.69224, 0, 0, 0.72222],\n \"8739\": [0.25, 0.75, 0, 0, 0.27778],\n \"8741\": [0.25, 0.75, 0, 0, 0.5],\n \"8743\": [0, 0.55556, 0, 0, 0.66667],\n \"8744\": [0, 0.55556, 0, 0, 0.66667],\n \"8745\": [0, 0.55556, 0, 0, 0.66667],\n \"8746\": [0, 0.55556, 0, 0, 0.66667],\n \"8747\": [0.19444, 0.69444, 0.11111, 0, 0.41667],\n \"8764\": [-0.13313, 0.36687, 0, 0, 0.77778],\n \"8768\": [0.19444, 0.69444, 0, 0, 0.27778],\n \"8771\": [-0.03625, 0.46375, 0, 0, 0.77778],\n \"8773\": [-0.022, 0.589, 0, 0, 0.778],\n \"8776\": [-0.01688, 0.48312, 0, 0, 0.77778],\n \"8781\": [-0.03625, 0.46375, 0, 0, 0.77778],\n \"8784\": [-0.133, 0.673, 0, 0, 0.778],\n \"8801\": [-0.03625, 0.46375, 0, 0, 0.77778],\n \"8804\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8805\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8810\": [0.0391, 0.5391, 0, 0, 1.0],\n \"8811\": [0.0391, 0.5391, 0, 0, 1.0],\n \"8826\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"8827\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"8834\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"8835\": [0.0391, 0.5391, 0, 0, 0.77778],\n \"8838\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8839\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8846\": [0, 0.55556, 0, 0, 0.66667],\n \"8849\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8850\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"8851\": [0, 0.55556, 0, 0, 0.66667],\n \"8852\": [0, 0.55556, 0, 0, 0.66667],\n \"8853\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"8854\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"8855\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"8856\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"8857\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"8866\": [0, 0.69444, 0, 0, 0.61111],\n \"8867\": [0, 0.69444, 0, 0, 0.61111],\n \"8868\": [0, 0.69444, 0, 0, 0.77778],\n \"8869\": [0, 0.69444, 0, 0, 0.77778],\n \"8872\": [0.249, 0.75, 0, 0, 0.867],\n \"8900\": [-0.05555, 0.44445, 0, 0, 0.5],\n \"8901\": [-0.05555, 0.44445, 0, 0, 0.27778],\n \"8902\": [-0.03472, 0.46528, 0, 0, 0.5],\n \"8904\": [0.005, 0.505, 0, 0, 0.9],\n \"8942\": [0.03, 0.903, 0, 0, 0.278],\n \"8943\": [-0.19, 0.313, 0, 0, 1.172],\n \"8945\": [-0.1, 0.823, 0, 0, 1.282],\n \"8968\": [0.25, 0.75, 0, 0, 0.44445],\n \"8969\": [0.25, 0.75, 0, 0, 0.44445],\n \"8970\": [0.25, 0.75, 0, 0, 0.44445],\n \"8971\": [0.25, 0.75, 0, 0, 0.44445],\n \"8994\": [-0.14236, 0.35764, 0, 0, 1.0],\n \"8995\": [-0.14236, 0.35764, 0, 0, 1.0],\n \"9136\": [0.244, 0.744, 0, 0, 0.412],\n \"9137\": [0.244, 0.745, 0, 0, 0.412],\n \"9651\": [0.19444, 0.69444, 0, 0, 0.88889],\n \"9657\": [-0.03472, 0.46528, 0, 0, 0.5],\n \"9661\": [0.19444, 0.69444, 0, 0, 0.88889],\n \"9667\": [-0.03472, 0.46528, 0, 0, 0.5],\n \"9711\": [0.19444, 0.69444, 0, 0, 1.0],\n \"9824\": [0.12963, 0.69444, 0, 0, 0.77778],\n \"9825\": [0.12963, 0.69444, 0, 0, 0.77778],\n \"9826\": [0.12963, 0.69444, 0, 0, 0.77778],\n \"9827\": [0.12963, 0.69444, 0, 0, 0.77778],\n \"9837\": [0, 0.75, 0, 0, 0.38889],\n \"9838\": [0.19444, 0.69444, 0, 0, 0.38889],\n \"9839\": [0.19444, 0.69444, 0, 0, 0.38889],\n \"10216\": [0.25, 0.75, 0, 0, 0.38889],\n \"10217\": [0.25, 0.75, 0, 0, 0.38889],\n \"10222\": [0.244, 0.744, 0, 0, 0.412],\n \"10223\": [0.244, 0.745, 0, 0, 0.412],\n \"10229\": [0.011, 0.511, 0, 0, 1.609],\n \"10230\": [0.011, 0.511, 0, 0, 1.638],\n \"10231\": [0.011, 0.511, 0, 0, 1.859],\n \"10232\": [0.024, 0.525, 0, 0, 1.609],\n \"10233\": [0.024, 0.525, 0, 0, 1.638],\n \"10234\": [0.024, 0.525, 0, 0, 1.858],\n \"10236\": [0.011, 0.511, 0, 0, 1.638],\n \"10815\": [0, 0.68333, 0, 0, 0.75],\n \"10927\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"10928\": [0.13597, 0.63597, 0, 0, 0.77778],\n \"57376\": [0.19444, 0.69444, 0, 0, 0]\n },\n \"Math-BoldItalic\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"48\": [0, 0.44444, 0, 0, 0.575],\n \"49\": [0, 0.44444, 0, 0, 0.575],\n \"50\": [0, 0.44444, 0, 0, 0.575],\n \"51\": [0.19444, 0.44444, 0, 0, 0.575],\n \"52\": [0.19444, 0.44444, 0, 0, 0.575],\n \"53\": [0.19444, 0.44444, 0, 0, 0.575],\n \"54\": [0, 0.64444, 0, 0, 0.575],\n \"55\": [0.19444, 0.44444, 0, 0, 0.575],\n \"56\": [0, 0.64444, 0, 0, 0.575],\n \"57\": [0.19444, 0.44444, 0, 0, 0.575],\n \"65\": [0, 0.68611, 0, 0, 0.86944],\n \"66\": [0, 0.68611, 0.04835, 0, 0.8664],\n \"67\": [0, 0.68611, 0.06979, 0, 0.81694],\n \"68\": [0, 0.68611, 0.03194, 0, 0.93812],\n \"69\": [0, 0.68611, 0.05451, 0, 0.81007],\n \"70\": [0, 0.68611, 0.15972, 0, 0.68889],\n \"71\": [0, 0.68611, 0, 0, 0.88673],\n \"72\": [0, 0.68611, 0.08229, 0, 0.98229],\n \"73\": [0, 0.68611, 0.07778, 0, 0.51111],\n \"74\": [0, 0.68611, 0.10069, 0, 0.63125],\n \"75\": [0, 0.68611, 0.06979, 0, 0.97118],\n \"76\": [0, 0.68611, 0, 0, 0.75555],\n \"77\": [0, 0.68611, 0.11424, 0, 1.14201],\n \"78\": [0, 0.68611, 0.11424, 0, 0.95034],\n \"79\": [0, 0.68611, 0.03194, 0, 0.83666],\n \"80\": [0, 0.68611, 0.15972, 0, 0.72309],\n \"81\": [0.19444, 0.68611, 0, 0, 0.86861],\n \"82\": [0, 0.68611, 0.00421, 0, 0.87235],\n \"83\": [0, 0.68611, 0.05382, 0, 0.69271],\n \"84\": [0, 0.68611, 0.15972, 0, 0.63663],\n \"85\": [0, 0.68611, 0.11424, 0, 0.80027],\n \"86\": [0, 0.68611, 0.25555, 0, 0.67778],\n \"87\": [0, 0.68611, 0.15972, 0, 1.09305],\n \"88\": [0, 0.68611, 0.07778, 0, 0.94722],\n \"89\": [0, 0.68611, 0.25555, 0, 0.67458],\n \"90\": [0, 0.68611, 0.06979, 0, 0.77257],\n \"97\": [0, 0.44444, 0, 0, 0.63287],\n \"98\": [0, 0.69444, 0, 0, 0.52083],\n \"99\": [0, 0.44444, 0, 0, 0.51342],\n \"100\": [0, 0.69444, 0, 0, 0.60972],\n \"101\": [0, 0.44444, 0, 0, 0.55361],\n \"102\": [0.19444, 0.69444, 0.11042, 0, 0.56806],\n \"103\": [0.19444, 0.44444, 0.03704, 0, 0.5449],\n \"104\": [0, 0.69444, 0, 0, 0.66759],\n \"105\": [0, 0.69326, 0, 0, 0.4048],\n \"106\": [0.19444, 0.69326, 0.0622, 0, 0.47083],\n \"107\": [0, 0.69444, 0.01852, 0, 0.6037],\n \"108\": [0, 0.69444, 0.0088, 0, 0.34815],\n \"109\": [0, 0.44444, 0, 0, 1.0324],\n \"110\": [0, 0.44444, 0, 0, 0.71296],\n \"111\": [0, 0.44444, 0, 0, 0.58472],\n \"112\": [0.19444, 0.44444, 0, 0, 0.60092],\n \"113\": [0.19444, 0.44444, 0.03704, 0, 0.54213],\n \"114\": [0, 0.44444, 0.03194, 0, 0.5287],\n \"115\": [0, 0.44444, 0, 0, 0.53125],\n \"116\": [0, 0.63492, 0, 0, 0.41528],\n \"117\": [0, 0.44444, 0, 0, 0.68102],\n \"118\": [0, 0.44444, 0.03704, 0, 0.56666],\n \"119\": [0, 0.44444, 0.02778, 0, 0.83148],\n \"120\": [0, 0.44444, 0, 0, 0.65903],\n \"121\": [0.19444, 0.44444, 0.03704, 0, 0.59028],\n \"122\": [0, 0.44444, 0.04213, 0, 0.55509],\n \"160\": [0, 0, 0, 0, 0.25],\n \"915\": [0, 0.68611, 0.15972, 0, 0.65694],\n \"916\": [0, 0.68611, 0, 0, 0.95833],\n \"920\": [0, 0.68611, 0.03194, 0, 0.86722],\n \"923\": [0, 0.68611, 0, 0, 0.80555],\n \"926\": [0, 0.68611, 0.07458, 0, 0.84125],\n \"928\": [0, 0.68611, 0.08229, 0, 0.98229],\n \"931\": [0, 0.68611, 0.05451, 0, 0.88507],\n \"933\": [0, 0.68611, 0.15972, 0, 0.67083],\n \"934\": [0, 0.68611, 0, 0, 0.76666],\n \"936\": [0, 0.68611, 0.11653, 0, 0.71402],\n \"937\": [0, 0.68611, 0.04835, 0, 0.8789],\n \"945\": [0, 0.44444, 0, 0, 0.76064],\n \"946\": [0.19444, 0.69444, 0.03403, 0, 0.65972],\n \"947\": [0.19444, 0.44444, 0.06389, 0, 0.59003],\n \"948\": [0, 0.69444, 0.03819, 0, 0.52222],\n \"949\": [0, 0.44444, 0, 0, 0.52882],\n \"950\": [0.19444, 0.69444, 0.06215, 0, 0.50833],\n \"951\": [0.19444, 0.44444, 0.03704, 0, 0.6],\n \"952\": [0, 0.69444, 0.03194, 0, 0.5618],\n \"953\": [0, 0.44444, 0, 0, 0.41204],\n \"954\": [0, 0.44444, 0, 0, 0.66759],\n \"955\": [0, 0.69444, 0, 0, 0.67083],\n \"956\": [0.19444, 0.44444, 0, 0, 0.70787],\n \"957\": [0, 0.44444, 0.06898, 0, 0.57685],\n \"958\": [0.19444, 0.69444, 0.03021, 0, 0.50833],\n \"959\": [0, 0.44444, 0, 0, 0.58472],\n \"960\": [0, 0.44444, 0.03704, 0, 0.68241],\n \"961\": [0.19444, 0.44444, 0, 0, 0.6118],\n \"962\": [0.09722, 0.44444, 0.07917, 0, 0.42361],\n \"963\": [0, 0.44444, 0.03704, 0, 0.68588],\n \"964\": [0, 0.44444, 0.13472, 0, 0.52083],\n \"965\": [0, 0.44444, 0.03704, 0, 0.63055],\n \"966\": [0.19444, 0.44444, 0, 0, 0.74722],\n \"967\": [0.19444, 0.44444, 0, 0, 0.71805],\n \"968\": [0.19444, 0.69444, 0.03704, 0, 0.75833],\n \"969\": [0, 0.44444, 0.03704, 0, 0.71782],\n \"977\": [0, 0.69444, 0, 0, 0.69155],\n \"981\": [0.19444, 0.69444, 0, 0, 0.7125],\n \"982\": [0, 0.44444, 0.03194, 0, 0.975],\n \"1009\": [0.19444, 0.44444, 0, 0, 0.6118],\n \"1013\": [0, 0.44444, 0, 0, 0.48333],\n \"57649\": [0, 0.44444, 0, 0, 0.39352],\n \"57911\": [0.19444, 0.44444, 0, 0, 0.43889]\n },\n \"Math-Italic\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"48\": [0, 0.43056, 0, 0, 0.5],\n \"49\": [0, 0.43056, 0, 0, 0.5],\n \"50\": [0, 0.43056, 0, 0, 0.5],\n \"51\": [0.19444, 0.43056, 0, 0, 0.5],\n \"52\": [0.19444, 0.43056, 0, 0, 0.5],\n \"53\": [0.19444, 0.43056, 0, 0, 0.5],\n \"54\": [0, 0.64444, 0, 0, 0.5],\n \"55\": [0.19444, 0.43056, 0, 0, 0.5],\n \"56\": [0, 0.64444, 0, 0, 0.5],\n \"57\": [0.19444, 0.43056, 0, 0, 0.5],\n \"65\": [0, 0.68333, 0, 0.13889, 0.75],\n \"66\": [0, 0.68333, 0.05017, 0.08334, 0.75851],\n \"67\": [0, 0.68333, 0.07153, 0.08334, 0.71472],\n \"68\": [0, 0.68333, 0.02778, 0.05556, 0.82792],\n \"69\": [0, 0.68333, 0.05764, 0.08334, 0.7382],\n \"70\": [0, 0.68333, 0.13889, 0.08334, 0.64306],\n \"71\": [0, 0.68333, 0, 0.08334, 0.78625],\n \"72\": [0, 0.68333, 0.08125, 0.05556, 0.83125],\n \"73\": [0, 0.68333, 0.07847, 0.11111, 0.43958],\n \"74\": [0, 0.68333, 0.09618, 0.16667, 0.55451],\n \"75\": [0, 0.68333, 0.07153, 0.05556, 0.84931],\n \"76\": [0, 0.68333, 0, 0.02778, 0.68056],\n \"77\": [0, 0.68333, 0.10903, 0.08334, 0.97014],\n \"78\": [0, 0.68333, 0.10903, 0.08334, 0.80347],\n \"79\": [0, 0.68333, 0.02778, 0.08334, 0.76278],\n \"80\": [0, 0.68333, 0.13889, 0.08334, 0.64201],\n \"81\": [0.19444, 0.68333, 0, 0.08334, 0.79056],\n \"82\": [0, 0.68333, 0.00773, 0.08334, 0.75929],\n \"83\": [0, 0.68333, 0.05764, 0.08334, 0.6132],\n \"84\": [0, 0.68333, 0.13889, 0.08334, 0.58438],\n \"85\": [0, 0.68333, 0.10903, 0.02778, 0.68278],\n \"86\": [0, 0.68333, 0.22222, 0, 0.58333],\n \"87\": [0, 0.68333, 0.13889, 0, 0.94445],\n \"88\": [0, 0.68333, 0.07847, 0.08334, 0.82847],\n \"89\": [0, 0.68333, 0.22222, 0, 0.58056],\n \"90\": [0, 0.68333, 0.07153, 0.08334, 0.68264],\n \"97\": [0, 0.43056, 0, 0, 0.52859],\n \"98\": [0, 0.69444, 0, 0, 0.42917],\n \"99\": [0, 0.43056, 0, 0.05556, 0.43276],\n \"100\": [0, 0.69444, 0, 0.16667, 0.52049],\n \"101\": [0, 0.43056, 0, 0.05556, 0.46563],\n \"102\": [0.19444, 0.69444, 0.10764, 0.16667, 0.48959],\n \"103\": [0.19444, 0.43056, 0.03588, 0.02778, 0.47697],\n \"104\": [0, 0.69444, 0, 0, 0.57616],\n \"105\": [0, 0.65952, 0, 0, 0.34451],\n \"106\": [0.19444, 0.65952, 0.05724, 0, 0.41181],\n \"107\": [0, 0.69444, 0.03148, 0, 0.5206],\n \"108\": [0, 0.69444, 0.01968, 0.08334, 0.29838],\n \"109\": [0, 0.43056, 0, 0, 0.87801],\n \"110\": [0, 0.43056, 0, 0, 0.60023],\n \"111\": [0, 0.43056, 0, 0.05556, 0.48472],\n \"112\": [0.19444, 0.43056, 0, 0.08334, 0.50313],\n \"113\": [0.19444, 0.43056, 0.03588, 0.08334, 0.44641],\n \"114\": [0, 0.43056, 0.02778, 0.05556, 0.45116],\n \"115\": [0, 0.43056, 0, 0.05556, 0.46875],\n \"116\": [0, 0.61508, 0, 0.08334, 0.36111],\n \"117\": [0, 0.43056, 0, 0.02778, 0.57246],\n \"118\": [0, 0.43056, 0.03588, 0.02778, 0.48472],\n \"119\": [0, 0.43056, 0.02691, 0.08334, 0.71592],\n \"120\": [0, 0.43056, 0, 0.02778, 0.57153],\n \"121\": [0.19444, 0.43056, 0.03588, 0.05556, 0.49028],\n \"122\": [0, 0.43056, 0.04398, 0.05556, 0.46505],\n \"160\": [0, 0, 0, 0, 0.25],\n \"915\": [0, 0.68333, 0.13889, 0.08334, 0.61528],\n \"916\": [0, 0.68333, 0, 0.16667, 0.83334],\n \"920\": [0, 0.68333, 0.02778, 0.08334, 0.76278],\n \"923\": [0, 0.68333, 0, 0.16667, 0.69445],\n \"926\": [0, 0.68333, 0.07569, 0.08334, 0.74236],\n \"928\": [0, 0.68333, 0.08125, 0.05556, 0.83125],\n \"931\": [0, 0.68333, 0.05764, 0.08334, 0.77986],\n \"933\": [0, 0.68333, 0.13889, 0.05556, 0.58333],\n \"934\": [0, 0.68333, 0, 0.08334, 0.66667],\n \"936\": [0, 0.68333, 0.11, 0.05556, 0.61222],\n \"937\": [0, 0.68333, 0.05017, 0.08334, 0.7724],\n \"945\": [0, 0.43056, 0.0037, 0.02778, 0.6397],\n \"946\": [0.19444, 0.69444, 0.05278, 0.08334, 0.56563],\n \"947\": [0.19444, 0.43056, 0.05556, 0, 0.51773],\n \"948\": [0, 0.69444, 0.03785, 0.05556, 0.44444],\n \"949\": [0, 0.43056, 0, 0.08334, 0.46632],\n \"950\": [0.19444, 0.69444, 0.07378, 0.08334, 0.4375],\n \"951\": [0.19444, 0.43056, 0.03588, 0.05556, 0.49653],\n \"952\": [0, 0.69444, 0.02778, 0.08334, 0.46944],\n \"953\": [0, 0.43056, 0, 0.05556, 0.35394],\n \"954\": [0, 0.43056, 0, 0, 0.57616],\n \"955\": [0, 0.69444, 0, 0, 0.58334],\n \"956\": [0.19444, 0.43056, 0, 0.02778, 0.60255],\n \"957\": [0, 0.43056, 0.06366, 0.02778, 0.49398],\n \"958\": [0.19444, 0.69444, 0.04601, 0.11111, 0.4375],\n \"959\": [0, 0.43056, 0, 0.05556, 0.48472],\n \"960\": [0, 0.43056, 0.03588, 0, 0.57003],\n \"961\": [0.19444, 0.43056, 0, 0.08334, 0.51702],\n \"962\": [0.09722, 0.43056, 0.07986, 0.08334, 0.36285],\n \"963\": [0, 0.43056, 0.03588, 0, 0.57141],\n \"964\": [0, 0.43056, 0.1132, 0.02778, 0.43715],\n \"965\": [0, 0.43056, 0.03588, 0.02778, 0.54028],\n \"966\": [0.19444, 0.43056, 0, 0.08334, 0.65417],\n \"967\": [0.19444, 0.43056, 0, 0.05556, 0.62569],\n \"968\": [0.19444, 0.69444, 0.03588, 0.11111, 0.65139],\n \"969\": [0, 0.43056, 0.03588, 0, 0.62245],\n \"977\": [0, 0.69444, 0, 0.08334, 0.59144],\n \"981\": [0.19444, 0.69444, 0, 0.08334, 0.59583],\n \"982\": [0, 0.43056, 0.02778, 0, 0.82813],\n \"1009\": [0.19444, 0.43056, 0, 0.08334, 0.51702],\n \"1013\": [0, 0.43056, 0, 0.05556, 0.4059],\n \"57649\": [0, 0.43056, 0, 0.02778, 0.32246],\n \"57911\": [0.19444, 0.43056, 0, 0.08334, 0.38403]\n },\n \"SansSerif-Bold\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69444, 0, 0, 0.36667],\n \"34\": [0, 0.69444, 0, 0, 0.55834],\n \"35\": [0.19444, 0.69444, 0, 0, 0.91667],\n \"36\": [0.05556, 0.75, 0, 0, 0.55],\n \"37\": [0.05556, 0.75, 0, 0, 1.02912],\n \"38\": [0, 0.69444, 0, 0, 0.83056],\n \"39\": [0, 0.69444, 0, 0, 0.30556],\n \"40\": [0.25, 0.75, 0, 0, 0.42778],\n \"41\": [0.25, 0.75, 0, 0, 0.42778],\n \"42\": [0, 0.75, 0, 0, 0.55],\n \"43\": [0.11667, 0.61667, 0, 0, 0.85556],\n \"44\": [0.10556, 0.13056, 0, 0, 0.30556],\n \"45\": [0, 0.45833, 0, 0, 0.36667],\n \"46\": [0, 0.13056, 0, 0, 0.30556],\n \"47\": [0.25, 0.75, 0, 0, 0.55],\n \"48\": [0, 0.69444, 0, 0, 0.55],\n \"49\": [0, 0.69444, 0, 0, 0.55],\n \"50\": [0, 0.69444, 0, 0, 0.55],\n \"51\": [0, 0.69444, 0, 0, 0.55],\n \"52\": [0, 0.69444, 0, 0, 0.55],\n \"53\": [0, 0.69444, 0, 0, 0.55],\n \"54\": [0, 0.69444, 0, 0, 0.55],\n \"55\": [0, 0.69444, 0, 0, 0.55],\n \"56\": [0, 0.69444, 0, 0, 0.55],\n \"57\": [0, 0.69444, 0, 0, 0.55],\n \"58\": [0, 0.45833, 0, 0, 0.30556],\n \"59\": [0.10556, 0.45833, 0, 0, 0.30556],\n \"61\": [-0.09375, 0.40625, 0, 0, 0.85556],\n \"63\": [0, 0.69444, 0, 0, 0.51945],\n \"64\": [0, 0.69444, 0, 0, 0.73334],\n \"65\": [0, 0.69444, 0, 0, 0.73334],\n \"66\": [0, 0.69444, 0, 0, 0.73334],\n \"67\": [0, 0.69444, 0, 0, 0.70278],\n \"68\": [0, 0.69444, 0, 0, 0.79445],\n \"69\": [0, 0.69444, 0, 0, 0.64167],\n \"70\": [0, 0.69444, 0, 0, 0.61111],\n \"71\": [0, 0.69444, 0, 0, 0.73334],\n \"72\": [0, 0.69444, 0, 0, 0.79445],\n \"73\": [0, 0.69444, 0, 0, 0.33056],\n \"74\": [0, 0.69444, 0, 0, 0.51945],\n \"75\": [0, 0.69444, 0, 0, 0.76389],\n \"76\": [0, 0.69444, 0, 0, 0.58056],\n \"77\": [0, 0.69444, 0, 0, 0.97778],\n \"78\": [0, 0.69444, 0, 0, 0.79445],\n \"79\": [0, 0.69444, 0, 0, 0.79445],\n \"80\": [0, 0.69444, 0, 0, 0.70278],\n \"81\": [0.10556, 0.69444, 0, 0, 0.79445],\n \"82\": [0, 0.69444, 0, 0, 0.70278],\n \"83\": [0, 0.69444, 0, 0, 0.61111],\n \"84\": [0, 0.69444, 0, 0, 0.73334],\n \"85\": [0, 0.69444, 0, 0, 0.76389],\n \"86\": [0, 0.69444, 0.01528, 0, 0.73334],\n \"87\": [0, 0.69444, 0.01528, 0, 1.03889],\n \"88\": [0, 0.69444, 0, 0, 0.73334],\n \"89\": [0, 0.69444, 0.0275, 0, 0.73334],\n \"90\": [0, 0.69444, 0, 0, 0.67223],\n \"91\": [0.25, 0.75, 0, 0, 0.34306],\n \"93\": [0.25, 0.75, 0, 0, 0.34306],\n \"94\": [0, 0.69444, 0, 0, 0.55],\n \"95\": [0.35, 0.10833, 0.03056, 0, 0.55],\n \"97\": [0, 0.45833, 0, 0, 0.525],\n \"98\": [0, 0.69444, 0, 0, 0.56111],\n \"99\": [0, 0.45833, 0, 0, 0.48889],\n \"100\": [0, 0.69444, 0, 0, 0.56111],\n \"101\": [0, 0.45833, 0, 0, 0.51111],\n \"102\": [0, 0.69444, 0.07639, 0, 0.33611],\n \"103\": [0.19444, 0.45833, 0.01528, 0, 0.55],\n \"104\": [0, 0.69444, 0, 0, 0.56111],\n \"105\": [0, 0.69444, 0, 0, 0.25556],\n \"106\": [0.19444, 0.69444, 0, 0, 0.28611],\n \"107\": [0, 0.69444, 0, 0, 0.53056],\n \"108\": [0, 0.69444, 0, 0, 0.25556],\n \"109\": [0, 0.45833, 0, 0, 0.86667],\n \"110\": [0, 0.45833, 0, 0, 0.56111],\n \"111\": [0, 0.45833, 0, 0, 0.55],\n \"112\": [0.19444, 0.45833, 0, 0, 0.56111],\n \"113\": [0.19444, 0.45833, 0, 0, 0.56111],\n \"114\": [0, 0.45833, 0.01528, 0, 0.37222],\n \"115\": [0, 0.45833, 0, 0, 0.42167],\n \"116\": [0, 0.58929, 0, 0, 0.40417],\n \"117\": [0, 0.45833, 0, 0, 0.56111],\n \"118\": [0, 0.45833, 0.01528, 0, 0.5],\n \"119\": [0, 0.45833, 0.01528, 0, 0.74445],\n \"120\": [0, 0.45833, 0, 0, 0.5],\n \"121\": [0.19444, 0.45833, 0.01528, 0, 0.5],\n \"122\": [0, 0.45833, 0, 0, 0.47639],\n \"126\": [0.35, 0.34444, 0, 0, 0.55],\n \"160\": [0, 0, 0, 0, 0.25],\n \"168\": [0, 0.69444, 0, 0, 0.55],\n \"176\": [0, 0.69444, 0, 0, 0.73334],\n \"180\": [0, 0.69444, 0, 0, 0.55],\n \"184\": [0.17014, 0, 0, 0, 0.48889],\n \"305\": [0, 0.45833, 0, 0, 0.25556],\n \"567\": [0.19444, 0.45833, 0, 0, 0.28611],\n \"710\": [0, 0.69444, 0, 0, 0.55],\n \"711\": [0, 0.63542, 0, 0, 0.55],\n \"713\": [0, 0.63778, 0, 0, 0.55],\n \"728\": [0, 0.69444, 0, 0, 0.55],\n \"729\": [0, 0.69444, 0, 0, 0.30556],\n \"730\": [0, 0.69444, 0, 0, 0.73334],\n \"732\": [0, 0.69444, 0, 0, 0.55],\n \"733\": [0, 0.69444, 0, 0, 0.55],\n \"915\": [0, 0.69444, 0, 0, 0.58056],\n \"916\": [0, 0.69444, 0, 0, 0.91667],\n \"920\": [0, 0.69444, 0, 0, 0.85556],\n \"923\": [0, 0.69444, 0, 0, 0.67223],\n \"926\": [0, 0.69444, 0, 0, 0.73334],\n \"928\": [0, 0.69444, 0, 0, 0.79445],\n \"931\": [0, 0.69444, 0, 0, 0.79445],\n \"933\": [0, 0.69444, 0, 0, 0.85556],\n \"934\": [0, 0.69444, 0, 0, 0.79445],\n \"936\": [0, 0.69444, 0, 0, 0.85556],\n \"937\": [0, 0.69444, 0, 0, 0.79445],\n \"8211\": [0, 0.45833, 0.03056, 0, 0.55],\n \"8212\": [0, 0.45833, 0.03056, 0, 1.10001],\n \"8216\": [0, 0.69444, 0, 0, 0.30556],\n \"8217\": [0, 0.69444, 0, 0, 0.30556],\n \"8220\": [0, 0.69444, 0, 0, 0.55834],\n \"8221\": [0, 0.69444, 0, 0, 0.55834]\n },\n \"SansSerif-Italic\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69444, 0.05733, 0, 0.31945],\n \"34\": [0, 0.69444, 0.00316, 0, 0.5],\n \"35\": [0.19444, 0.69444, 0.05087, 0, 0.83334],\n \"36\": [0.05556, 0.75, 0.11156, 0, 0.5],\n \"37\": [0.05556, 0.75, 0.03126, 0, 0.83334],\n \"38\": [0, 0.69444, 0.03058, 0, 0.75834],\n \"39\": [0, 0.69444, 0.07816, 0, 0.27778],\n \"40\": [0.25, 0.75, 0.13164, 0, 0.38889],\n \"41\": [0.25, 0.75, 0.02536, 0, 0.38889],\n \"42\": [0, 0.75, 0.11775, 0, 0.5],\n \"43\": [0.08333, 0.58333, 0.02536, 0, 0.77778],\n \"44\": [0.125, 0.08333, 0, 0, 0.27778],\n \"45\": [0, 0.44444, 0.01946, 0, 0.33333],\n \"46\": [0, 0.08333, 0, 0, 0.27778],\n \"47\": [0.25, 0.75, 0.13164, 0, 0.5],\n \"48\": [0, 0.65556, 0.11156, 0, 0.5],\n \"49\": [0, 0.65556, 0.11156, 0, 0.5],\n \"50\": [0, 0.65556, 0.11156, 0, 0.5],\n \"51\": [0, 0.65556, 0.11156, 0, 0.5],\n \"52\": [0, 0.65556, 0.11156, 0, 0.5],\n \"53\": [0, 0.65556, 0.11156, 0, 0.5],\n \"54\": [0, 0.65556, 0.11156, 0, 0.5],\n \"55\": [0, 0.65556, 0.11156, 0, 0.5],\n \"56\": [0, 0.65556, 0.11156, 0, 0.5],\n \"57\": [0, 0.65556, 0.11156, 0, 0.5],\n \"58\": [0, 0.44444, 0.02502, 0, 0.27778],\n \"59\": [0.125, 0.44444, 0.02502, 0, 0.27778],\n \"61\": [-0.13, 0.37, 0.05087, 0, 0.77778],\n \"63\": [0, 0.69444, 0.11809, 0, 0.47222],\n \"64\": [0, 0.69444, 0.07555, 0, 0.66667],\n \"65\": [0, 0.69444, 0, 0, 0.66667],\n \"66\": [0, 0.69444, 0.08293, 0, 0.66667],\n \"67\": [0, 0.69444, 0.11983, 0, 0.63889],\n \"68\": [0, 0.69444, 0.07555, 0, 0.72223],\n \"69\": [0, 0.69444, 0.11983, 0, 0.59722],\n \"70\": [0, 0.69444, 0.13372, 0, 0.56945],\n \"71\": [0, 0.69444, 0.11983, 0, 0.66667],\n \"72\": [0, 0.69444, 0.08094, 0, 0.70834],\n \"73\": [0, 0.69444, 0.13372, 0, 0.27778],\n \"74\": [0, 0.69444, 0.08094, 0, 0.47222],\n \"75\": [0, 0.69444, 0.11983, 0, 0.69445],\n \"76\": [0, 0.69444, 0, 0, 0.54167],\n \"77\": [0, 0.69444, 0.08094, 0, 0.875],\n \"78\": [0, 0.69444, 0.08094, 0, 0.70834],\n \"79\": [0, 0.69444, 0.07555, 0, 0.73611],\n \"80\": [0, 0.69444, 0.08293, 0, 0.63889],\n \"81\": [0.125, 0.69444, 0.07555, 0, 0.73611],\n \"82\": [0, 0.69444, 0.08293, 0, 0.64584],\n \"83\": [0, 0.69444, 0.09205, 0, 0.55556],\n \"84\": [0, 0.69444, 0.13372, 0, 0.68056],\n \"85\": [0, 0.69444, 0.08094, 0, 0.6875],\n \"86\": [0, 0.69444, 0.1615, 0, 0.66667],\n \"87\": [0, 0.69444, 0.1615, 0, 0.94445],\n \"88\": [0, 0.69444, 0.13372, 0, 0.66667],\n \"89\": [0, 0.69444, 0.17261, 0, 0.66667],\n \"90\": [0, 0.69444, 0.11983, 0, 0.61111],\n \"91\": [0.25, 0.75, 0.15942, 0, 0.28889],\n \"93\": [0.25, 0.75, 0.08719, 0, 0.28889],\n \"94\": [0, 0.69444, 0.0799, 0, 0.5],\n \"95\": [0.35, 0.09444, 0.08616, 0, 0.5],\n \"97\": [0, 0.44444, 0.00981, 0, 0.48056],\n \"98\": [0, 0.69444, 0.03057, 0, 0.51667],\n \"99\": [0, 0.44444, 0.08336, 0, 0.44445],\n \"100\": [0, 0.69444, 0.09483, 0, 0.51667],\n \"101\": [0, 0.44444, 0.06778, 0, 0.44445],\n \"102\": [0, 0.69444, 0.21705, 0, 0.30556],\n \"103\": [0.19444, 0.44444, 0.10836, 0, 0.5],\n \"104\": [0, 0.69444, 0.01778, 0, 0.51667],\n \"105\": [0, 0.67937, 0.09718, 0, 0.23889],\n \"106\": [0.19444, 0.67937, 0.09162, 0, 0.26667],\n \"107\": [0, 0.69444, 0.08336, 0, 0.48889],\n \"108\": [0, 0.69444, 0.09483, 0, 0.23889],\n \"109\": [0, 0.44444, 0.01778, 0, 0.79445],\n \"110\": [0, 0.44444, 0.01778, 0, 0.51667],\n \"111\": [0, 0.44444, 0.06613, 0, 0.5],\n \"112\": [0.19444, 0.44444, 0.0389, 0, 0.51667],\n \"113\": [0.19444, 0.44444, 0.04169, 0, 0.51667],\n \"114\": [0, 0.44444, 0.10836, 0, 0.34167],\n \"115\": [0, 0.44444, 0.0778, 0, 0.38333],\n \"116\": [0, 0.57143, 0.07225, 0, 0.36111],\n \"117\": [0, 0.44444, 0.04169, 0, 0.51667],\n \"118\": [0, 0.44444, 0.10836, 0, 0.46111],\n \"119\": [0, 0.44444, 0.10836, 0, 0.68334],\n \"120\": [0, 0.44444, 0.09169, 0, 0.46111],\n \"121\": [0.19444, 0.44444, 0.10836, 0, 0.46111],\n \"122\": [0, 0.44444, 0.08752, 0, 0.43472],\n \"126\": [0.35, 0.32659, 0.08826, 0, 0.5],\n \"160\": [0, 0, 0, 0, 0.25],\n \"168\": [0, 0.67937, 0.06385, 0, 0.5],\n \"176\": [0, 0.69444, 0, 0, 0.73752],\n \"184\": [0.17014, 0, 0, 0, 0.44445],\n \"305\": [0, 0.44444, 0.04169, 0, 0.23889],\n \"567\": [0.19444, 0.44444, 0.04169, 0, 0.26667],\n \"710\": [0, 0.69444, 0.0799, 0, 0.5],\n \"711\": [0, 0.63194, 0.08432, 0, 0.5],\n \"713\": [0, 0.60889, 0.08776, 0, 0.5],\n \"714\": [0, 0.69444, 0.09205, 0, 0.5],\n \"715\": [0, 0.69444, 0, 0, 0.5],\n \"728\": [0, 0.69444, 0.09483, 0, 0.5],\n \"729\": [0, 0.67937, 0.07774, 0, 0.27778],\n \"730\": [0, 0.69444, 0, 0, 0.73752],\n \"732\": [0, 0.67659, 0.08826, 0, 0.5],\n \"733\": [0, 0.69444, 0.09205, 0, 0.5],\n \"915\": [0, 0.69444, 0.13372, 0, 0.54167],\n \"916\": [0, 0.69444, 0, 0, 0.83334],\n \"920\": [0, 0.69444, 0.07555, 0, 0.77778],\n \"923\": [0, 0.69444, 0, 0, 0.61111],\n \"926\": [0, 0.69444, 0.12816, 0, 0.66667],\n \"928\": [0, 0.69444, 0.08094, 0, 0.70834],\n \"931\": [0, 0.69444, 0.11983, 0, 0.72222],\n \"933\": [0, 0.69444, 0.09031, 0, 0.77778],\n \"934\": [0, 0.69444, 0.04603, 0, 0.72222],\n \"936\": [0, 0.69444, 0.09031, 0, 0.77778],\n \"937\": [0, 0.69444, 0.08293, 0, 0.72222],\n \"8211\": [0, 0.44444, 0.08616, 0, 0.5],\n \"8212\": [0, 0.44444, 0.08616, 0, 1.0],\n \"8216\": [0, 0.69444, 0.07816, 0, 0.27778],\n \"8217\": [0, 0.69444, 0.07816, 0, 0.27778],\n \"8220\": [0, 0.69444, 0.14205, 0, 0.5],\n \"8221\": [0, 0.69444, 0.00316, 0, 0.5]\n },\n \"SansSerif-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"33\": [0, 0.69444, 0, 0, 0.31945],\n \"34\": [0, 0.69444, 0, 0, 0.5],\n \"35\": [0.19444, 0.69444, 0, 0, 0.83334],\n \"36\": [0.05556, 0.75, 0, 0, 0.5],\n \"37\": [0.05556, 0.75, 0, 0, 0.83334],\n \"38\": [0, 0.69444, 0, 0, 0.75834],\n \"39\": [0, 0.69444, 0, 0, 0.27778],\n \"40\": [0.25, 0.75, 0, 0, 0.38889],\n \"41\": [0.25, 0.75, 0, 0, 0.38889],\n \"42\": [0, 0.75, 0, 0, 0.5],\n \"43\": [0.08333, 0.58333, 0, 0, 0.77778],\n \"44\": [0.125, 0.08333, 0, 0, 0.27778],\n \"45\": [0, 0.44444, 0, 0, 0.33333],\n \"46\": [0, 0.08333, 0, 0, 0.27778],\n \"47\": [0.25, 0.75, 0, 0, 0.5],\n \"48\": [0, 0.65556, 0, 0, 0.5],\n \"49\": [0, 0.65556, 0, 0, 0.5],\n \"50\": [0, 0.65556, 0, 0, 0.5],\n \"51\": [0, 0.65556, 0, 0, 0.5],\n \"52\": [0, 0.65556, 0, 0, 0.5],\n \"53\": [0, 0.65556, 0, 0, 0.5],\n \"54\": [0, 0.65556, 0, 0, 0.5],\n \"55\": [0, 0.65556, 0, 0, 0.5],\n \"56\": [0, 0.65556, 0, 0, 0.5],\n \"57\": [0, 0.65556, 0, 0, 0.5],\n \"58\": [0, 0.44444, 0, 0, 0.27778],\n \"59\": [0.125, 0.44444, 0, 0, 0.27778],\n \"61\": [-0.13, 0.37, 0, 0, 0.77778],\n \"63\": [0, 0.69444, 0, 0, 0.47222],\n \"64\": [0, 0.69444, 0, 0, 0.66667],\n \"65\": [0, 0.69444, 0, 0, 0.66667],\n \"66\": [0, 0.69444, 0, 0, 0.66667],\n \"67\": [0, 0.69444, 0, 0, 0.63889],\n \"68\": [0, 0.69444, 0, 0, 0.72223],\n \"69\": [0, 0.69444, 0, 0, 0.59722],\n \"70\": [0, 0.69444, 0, 0, 0.56945],\n \"71\": [0, 0.69444, 0, 0, 0.66667],\n \"72\": [0, 0.69444, 0, 0, 0.70834],\n \"73\": [0, 0.69444, 0, 0, 0.27778],\n \"74\": [0, 0.69444, 0, 0, 0.47222],\n \"75\": [0, 0.69444, 0, 0, 0.69445],\n \"76\": [0, 0.69444, 0, 0, 0.54167],\n \"77\": [0, 0.69444, 0, 0, 0.875],\n \"78\": [0, 0.69444, 0, 0, 0.70834],\n \"79\": [0, 0.69444, 0, 0, 0.73611],\n \"80\": [0, 0.69444, 0, 0, 0.63889],\n \"81\": [0.125, 0.69444, 0, 0, 0.73611],\n \"82\": [0, 0.69444, 0, 0, 0.64584],\n \"83\": [0, 0.69444, 0, 0, 0.55556],\n \"84\": [0, 0.69444, 0, 0, 0.68056],\n \"85\": [0, 0.69444, 0, 0, 0.6875],\n \"86\": [0, 0.69444, 0.01389, 0, 0.66667],\n \"87\": [0, 0.69444, 0.01389, 0, 0.94445],\n \"88\": [0, 0.69444, 0, 0, 0.66667],\n \"89\": [0, 0.69444, 0.025, 0, 0.66667],\n \"90\": [0, 0.69444, 0, 0, 0.61111],\n \"91\": [0.25, 0.75, 0, 0, 0.28889],\n \"93\": [0.25, 0.75, 0, 0, 0.28889],\n \"94\": [0, 0.69444, 0, 0, 0.5],\n \"95\": [0.35, 0.09444, 0.02778, 0, 0.5],\n \"97\": [0, 0.44444, 0, 0, 0.48056],\n \"98\": [0, 0.69444, 0, 0, 0.51667],\n \"99\": [0, 0.44444, 0, 0, 0.44445],\n \"100\": [0, 0.69444, 0, 0, 0.51667],\n \"101\": [0, 0.44444, 0, 0, 0.44445],\n \"102\": [0, 0.69444, 0.06944, 0, 0.30556],\n \"103\": [0.19444, 0.44444, 0.01389, 0, 0.5],\n \"104\": [0, 0.69444, 0, 0, 0.51667],\n \"105\": [0, 0.67937, 0, 0, 0.23889],\n \"106\": [0.19444, 0.67937, 0, 0, 0.26667],\n \"107\": [0, 0.69444, 0, 0, 0.48889],\n \"108\": [0, 0.69444, 0, 0, 0.23889],\n \"109\": [0, 0.44444, 0, 0, 0.79445],\n \"110\": [0, 0.44444, 0, 0, 0.51667],\n \"111\": [0, 0.44444, 0, 0, 0.5],\n \"112\": [0.19444, 0.44444, 0, 0, 0.51667],\n \"113\": [0.19444, 0.44444, 0, 0, 0.51667],\n \"114\": [0, 0.44444, 0.01389, 0, 0.34167],\n \"115\": [0, 0.44444, 0, 0, 0.38333],\n \"116\": [0, 0.57143, 0, 0, 0.36111],\n \"117\": [0, 0.44444, 0, 0, 0.51667],\n \"118\": [0, 0.44444, 0.01389, 0, 0.46111],\n \"119\": [0, 0.44444, 0.01389, 0, 0.68334],\n \"120\": [0, 0.44444, 0, 0, 0.46111],\n \"121\": [0.19444, 0.44444, 0.01389, 0, 0.46111],\n \"122\": [0, 0.44444, 0, 0, 0.43472],\n \"126\": [0.35, 0.32659, 0, 0, 0.5],\n \"160\": [0, 0, 0, 0, 0.25],\n \"168\": [0, 0.67937, 0, 0, 0.5],\n \"176\": [0, 0.69444, 0, 0, 0.66667],\n \"184\": [0.17014, 0, 0, 0, 0.44445],\n \"305\": [0, 0.44444, 0, 0, 0.23889],\n \"567\": [0.19444, 0.44444, 0, 0, 0.26667],\n \"710\": [0, 0.69444, 0, 0, 0.5],\n \"711\": [0, 0.63194, 0, 0, 0.5],\n \"713\": [0, 0.60889, 0, 0, 0.5],\n \"714\": [0, 0.69444, 0, 0, 0.5],\n \"715\": [0, 0.69444, 0, 0, 0.5],\n \"728\": [0, 0.69444, 0, 0, 0.5],\n \"729\": [0, 0.67937, 0, 0, 0.27778],\n \"730\": [0, 0.69444, 0, 0, 0.66667],\n \"732\": [0, 0.67659, 0, 0, 0.5],\n \"733\": [0, 0.69444, 0, 0, 0.5],\n \"915\": [0, 0.69444, 0, 0, 0.54167],\n \"916\": [0, 0.69444, 0, 0, 0.83334],\n \"920\": [0, 0.69444, 0, 0, 0.77778],\n \"923\": [0, 0.69444, 0, 0, 0.61111],\n \"926\": [0, 0.69444, 0, 0, 0.66667],\n \"928\": [0, 0.69444, 0, 0, 0.70834],\n \"931\": [0, 0.69444, 0, 0, 0.72222],\n \"933\": [0, 0.69444, 0, 0, 0.77778],\n \"934\": [0, 0.69444, 0, 0, 0.72222],\n \"936\": [0, 0.69444, 0, 0, 0.77778],\n \"937\": [0, 0.69444, 0, 0, 0.72222],\n \"8211\": [0, 0.44444, 0.02778, 0, 0.5],\n \"8212\": [0, 0.44444, 0.02778, 0, 1.0],\n \"8216\": [0, 0.69444, 0, 0, 0.27778],\n \"8217\": [0, 0.69444, 0, 0, 0.27778],\n \"8220\": [0, 0.69444, 0, 0, 0.5],\n \"8221\": [0, 0.69444, 0, 0, 0.5]\n },\n \"Script-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"65\": [0, 0.7, 0.22925, 0, 0.80253],\n \"66\": [0, 0.7, 0.04087, 0, 0.90757],\n \"67\": [0, 0.7, 0.1689, 0, 0.66619],\n \"68\": [0, 0.7, 0.09371, 0, 0.77443],\n \"69\": [0, 0.7, 0.18583, 0, 0.56162],\n \"70\": [0, 0.7, 0.13634, 0, 0.89544],\n \"71\": [0, 0.7, 0.17322, 0, 0.60961],\n \"72\": [0, 0.7, 0.29694, 0, 0.96919],\n \"73\": [0, 0.7, 0.19189, 0, 0.80907],\n \"74\": [0.27778, 0.7, 0.19189, 0, 1.05159],\n \"75\": [0, 0.7, 0.31259, 0, 0.91364],\n \"76\": [0, 0.7, 0.19189, 0, 0.87373],\n \"77\": [0, 0.7, 0.15981, 0, 1.08031],\n \"78\": [0, 0.7, 0.3525, 0, 0.9015],\n \"79\": [0, 0.7, 0.08078, 0, 0.73787],\n \"80\": [0, 0.7, 0.08078, 0, 1.01262],\n \"81\": [0, 0.7, 0.03305, 0, 0.88282],\n \"82\": [0, 0.7, 0.06259, 0, 0.85],\n \"83\": [0, 0.7, 0.19189, 0, 0.86767],\n \"84\": [0, 0.7, 0.29087, 0, 0.74697],\n \"85\": [0, 0.7, 0.25815, 0, 0.79996],\n \"86\": [0, 0.7, 0.27523, 0, 0.62204],\n \"87\": [0, 0.7, 0.27523, 0, 0.80532],\n \"88\": [0, 0.7, 0.26006, 0, 0.94445],\n \"89\": [0, 0.7, 0.2939, 0, 0.70961],\n \"90\": [0, 0.7, 0.24037, 0, 0.8212],\n \"160\": [0, 0, 0, 0, 0.25]\n },\n \"Size1-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"40\": [0.35001, 0.85, 0, 0, 0.45834],\n \"41\": [0.35001, 0.85, 0, 0, 0.45834],\n \"47\": [0.35001, 0.85, 0, 0, 0.57778],\n \"91\": [0.35001, 0.85, 0, 0, 0.41667],\n \"92\": [0.35001, 0.85, 0, 0, 0.57778],\n \"93\": [0.35001, 0.85, 0, 0, 0.41667],\n \"123\": [0.35001, 0.85, 0, 0, 0.58334],\n \"125\": [0.35001, 0.85, 0, 0, 0.58334],\n \"160\": [0, 0, 0, 0, 0.25],\n \"710\": [0, 0.72222, 0, 0, 0.55556],\n \"732\": [0, 0.72222, 0, 0, 0.55556],\n \"770\": [0, 0.72222, 0, 0, 0.55556],\n \"771\": [0, 0.72222, 0, 0, 0.55556],\n \"8214\": [-0.00099, 0.601, 0, 0, 0.77778],\n \"8593\": [1e-05, 0.6, 0, 0, 0.66667],\n \"8595\": [1e-05, 0.6, 0, 0, 0.66667],\n \"8657\": [1e-05, 0.6, 0, 0, 0.77778],\n \"8659\": [1e-05, 0.6, 0, 0, 0.77778],\n \"8719\": [0.25001, 0.75, 0, 0, 0.94445],\n \"8720\": [0.25001, 0.75, 0, 0, 0.94445],\n \"8721\": [0.25001, 0.75, 0, 0, 1.05556],\n \"8730\": [0.35001, 0.85, 0, 0, 1.0],\n \"8739\": [-0.00599, 0.606, 0, 0, 0.33333],\n \"8741\": [-0.00599, 0.606, 0, 0, 0.55556],\n \"8747\": [0.30612, 0.805, 0.19445, 0, 0.47222],\n \"8748\": [0.306, 0.805, 0.19445, 0, 0.47222],\n \"8749\": [0.306, 0.805, 0.19445, 0, 0.47222],\n \"8750\": [0.30612, 0.805, 0.19445, 0, 0.47222],\n \"8896\": [0.25001, 0.75, 0, 0, 0.83334],\n \"8897\": [0.25001, 0.75, 0, 0, 0.83334],\n \"8898\": [0.25001, 0.75, 0, 0, 0.83334],\n \"8899\": [0.25001, 0.75, 0, 0, 0.83334],\n \"8968\": [0.35001, 0.85, 0, 0, 0.47222],\n \"8969\": [0.35001, 0.85, 0, 0, 0.47222],\n \"8970\": [0.35001, 0.85, 0, 0, 0.47222],\n \"8971\": [0.35001, 0.85, 0, 0, 0.47222],\n \"9168\": [-0.00099, 0.601, 0, 0, 0.66667],\n \"10216\": [0.35001, 0.85, 0, 0, 0.47222],\n \"10217\": [0.35001, 0.85, 0, 0, 0.47222],\n \"10752\": [0.25001, 0.75, 0, 0, 1.11111],\n \"10753\": [0.25001, 0.75, 0, 0, 1.11111],\n \"10754\": [0.25001, 0.75, 0, 0, 1.11111],\n \"10756\": [0.25001, 0.75, 0, 0, 0.83334],\n \"10758\": [0.25001, 0.75, 0, 0, 0.83334]\n },\n \"Size2-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"40\": [0.65002, 1.15, 0, 0, 0.59722],\n \"41\": [0.65002, 1.15, 0, 0, 0.59722],\n \"47\": [0.65002, 1.15, 0, 0, 0.81111],\n \"91\": [0.65002, 1.15, 0, 0, 0.47222],\n \"92\": [0.65002, 1.15, 0, 0, 0.81111],\n \"93\": [0.65002, 1.15, 0, 0, 0.47222],\n \"123\": [0.65002, 1.15, 0, 0, 0.66667],\n \"125\": [0.65002, 1.15, 0, 0, 0.66667],\n \"160\": [0, 0, 0, 0, 0.25],\n \"710\": [0, 0.75, 0, 0, 1.0],\n \"732\": [0, 0.75, 0, 0, 1.0],\n \"770\": [0, 0.75, 0, 0, 1.0],\n \"771\": [0, 0.75, 0, 0, 1.0],\n \"8719\": [0.55001, 1.05, 0, 0, 1.27778],\n \"8720\": [0.55001, 1.05, 0, 0, 1.27778],\n \"8721\": [0.55001, 1.05, 0, 0, 1.44445],\n \"8730\": [0.65002, 1.15, 0, 0, 1.0],\n \"8747\": [0.86225, 1.36, 0.44445, 0, 0.55556],\n \"8748\": [0.862, 1.36, 0.44445, 0, 0.55556],\n \"8749\": [0.862, 1.36, 0.44445, 0, 0.55556],\n \"8750\": [0.86225, 1.36, 0.44445, 0, 0.55556],\n \"8896\": [0.55001, 1.05, 0, 0, 1.11111],\n \"8897\": [0.55001, 1.05, 0, 0, 1.11111],\n \"8898\": [0.55001, 1.05, 0, 0, 1.11111],\n \"8899\": [0.55001, 1.05, 0, 0, 1.11111],\n \"8968\": [0.65002, 1.15, 0, 0, 0.52778],\n \"8969\": [0.65002, 1.15, 0, 0, 0.52778],\n \"8970\": [0.65002, 1.15, 0, 0, 0.52778],\n \"8971\": [0.65002, 1.15, 0, 0, 0.52778],\n \"10216\": [0.65002, 1.15, 0, 0, 0.61111],\n \"10217\": [0.65002, 1.15, 0, 0, 0.61111],\n \"10752\": [0.55001, 1.05, 0, 0, 1.51112],\n \"10753\": [0.55001, 1.05, 0, 0, 1.51112],\n \"10754\": [0.55001, 1.05, 0, 0, 1.51112],\n \"10756\": [0.55001, 1.05, 0, 0, 1.11111],\n \"10758\": [0.55001, 1.05, 0, 0, 1.11111]\n },\n \"Size3-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"40\": [0.95003, 1.45, 0, 0, 0.73611],\n \"41\": [0.95003, 1.45, 0, 0, 0.73611],\n \"47\": [0.95003, 1.45, 0, 0, 1.04445],\n \"91\": [0.95003, 1.45, 0, 0, 0.52778],\n \"92\": [0.95003, 1.45, 0, 0, 1.04445],\n \"93\": [0.95003, 1.45, 0, 0, 0.52778],\n \"123\": [0.95003, 1.45, 0, 0, 0.75],\n \"125\": [0.95003, 1.45, 0, 0, 0.75],\n \"160\": [0, 0, 0, 0, 0.25],\n \"710\": [0, 0.75, 0, 0, 1.44445],\n \"732\": [0, 0.75, 0, 0, 1.44445],\n \"770\": [0, 0.75, 0, 0, 1.44445],\n \"771\": [0, 0.75, 0, 0, 1.44445],\n \"8730\": [0.95003, 1.45, 0, 0, 1.0],\n \"8968\": [0.95003, 1.45, 0, 0, 0.58334],\n \"8969\": [0.95003, 1.45, 0, 0, 0.58334],\n \"8970\": [0.95003, 1.45, 0, 0, 0.58334],\n \"8971\": [0.95003, 1.45, 0, 0, 0.58334],\n \"10216\": [0.95003, 1.45, 0, 0, 0.75],\n \"10217\": [0.95003, 1.45, 0, 0, 0.75]\n },\n \"Size4-Regular\": {\n \"32\": [0, 0, 0, 0, 0.25],\n \"40\": [1.25003, 1.75, 0, 0, 0.79167],\n \"41\": [1.25003, 1.75, 0, 0, 0.79167],\n \"47\": [1.25003, 1.75, 0, 0, 1.27778],\n \"91\": [1.25003, 1.75, 0, 0, 0.58334],\n \"92\": [1.25003, 1.75, 0, 0, 1.27778],\n \"93\": [1.25003, 1.75, 0, 0, 0.58334],\n \"123\": [1.25003, 1.75, 0, 0, 0.80556],\n \"125\": [1.25003, 1.75, 0, 0, 0.80556],\n \"160\": [0, 0, 0, 0, 0.25],\n \"710\": [0, 0.825, 0, 0, 1.8889],\n \"732\": [0, 0.825, 0, 0, 1.8889],\n \"770\": [0, 0.825, 0, 0, 1.8889],\n \"771\": [0, 0.825, 0, 0, 1.8889],\n \"8730\": [1.25003, 1.75, 0, 0, 1.0],\n \"8968\": [1.25003, 1.75, 0, 0, 0.63889],\n \"8969\": [1.25003, 1.75, 0, 0, 0.63889],\n \"8970\": [1.25003, 1.75, 0, 0, 0.63889],\n \"8971\": [1.25003, 1.75, 0, 0, 0.63889],\n \"9115\": [0.64502, 1.155, 0, 0, 0.875],\n \"9116\": [1e-05, 0.6, 0, 0, 0.875],\n \"9117\": [0.64502, 1.155, 0, 0, 0.875],\n \"9118\": [0.64502, 1.155, 0, 0, 0.875],\n \"9119\": [1e-05, 0.6, 0, 0, 0.875],\n \"9120\": [0.64502, 1.155, 0, 0, 0.875],\n \"9121\": [0.64502, 1.155, 0, 0, 0.66667],\n \"9122\": [-0.00099, 0.601, 0, 0, 0.66667],\n \"9123\": [0.64502, 1.155, 0, 0, 0.66667],\n \"9124\": [0.64502, 1.155, 0, 0, 0.66667],\n \"9125\": [-0.00099, 0.601, 0, 0, 0.66667],\n \"9126\": [0.64502, 1.155, 0, 0, 0.66667],\n \"9127\": [1e-05, 0.9, 0, 0, 0.88889],\n \"9128\": [0.65002, 1.15, 0, 0, 0.88889],\n \"9129\": [0.90001, 0, 0, 0, 0.88889],\n \"9130\": [0, 0.3, 0, 0, 0.88889],\n \"9131\": [1e-05, 0.9, 0, 0, 0.88889],\n \"9132\": [0.65002, 1.15, 0, 0, 0.88889],\n \"9133\": [0.90001, 0, 0, 0, 0.88889],\n \"9143\": [0.88502, 0.915, 0, 0, 1.05556],\n \"10216\": [1.25003, 1.75, 0, 0, 0.80556],\n \"10217\": [1.25003, 1.75, 0, 0, 0.80556],\n \"57344\": [-0.00499, 0.605, 0, 0, 1.05556],\n \"57345\": [-0.00499, 0.605, 0, 0, 1.05556],\n \"57680\": [0, 0.12, 0, 0, 0.45],\n \"57681\": [0, 0.12, 0, 0, 0.45],\n \"57682\": [0, 0.12, 0, 0, 0.45],\n \"57683\": [0, 0.12, 0, 0, 0.45]\n },\n \"Typewriter-Regular\": {\n \"32\": [0, 0, 0, 0, 0.525],\n \"33\": [0, 0.61111, 0, 0, 0.525],\n \"34\": [0, 0.61111, 0, 0, 0.525],\n \"35\": [0, 0.61111, 0, 0, 0.525],\n \"36\": [0.08333, 0.69444, 0, 0, 0.525],\n \"37\": [0.08333, 0.69444, 0, 0, 0.525],\n \"38\": [0, 0.61111, 0, 0, 0.525],\n \"39\": [0, 0.61111, 0, 0, 0.525],\n \"40\": [0.08333, 0.69444, 0, 0, 0.525],\n \"41\": [0.08333, 0.69444, 0, 0, 0.525],\n \"42\": [0, 0.52083, 0, 0, 0.525],\n \"43\": [-0.08056, 0.53055, 0, 0, 0.525],\n \"44\": [0.13889, 0.125, 0, 0, 0.525],\n \"45\": [-0.08056, 0.53055, 0, 0, 0.525],\n \"46\": [0, 0.125, 0, 0, 0.525],\n \"47\": [0.08333, 0.69444, 0, 0, 0.525],\n \"48\": [0, 0.61111, 0, 0, 0.525],\n \"49\": [0, 0.61111, 0, 0, 0.525],\n \"50\": [0, 0.61111, 0, 0, 0.525],\n \"51\": [0, 0.61111, 0, 0, 0.525],\n \"52\": [0, 0.61111, 0, 0, 0.525],\n \"53\": [0, 0.61111, 0, 0, 0.525],\n \"54\": [0, 0.61111, 0, 0, 0.525],\n \"55\": [0, 0.61111, 0, 0, 0.525],\n \"56\": [0, 0.61111, 0, 0, 0.525],\n \"57\": [0, 0.61111, 0, 0, 0.525],\n \"58\": [0, 0.43056, 0, 0, 0.525],\n \"59\": [0.13889, 0.43056, 0, 0, 0.525],\n \"60\": [-0.05556, 0.55556, 0, 0, 0.525],\n \"61\": [-0.19549, 0.41562, 0, 0, 0.525],\n \"62\": [-0.05556, 0.55556, 0, 0, 0.525],\n \"63\": [0, 0.61111, 0, 0, 0.525],\n \"64\": [0, 0.61111, 0, 0, 0.525],\n \"65\": [0, 0.61111, 0, 0, 0.525],\n \"66\": [0, 0.61111, 0, 0, 0.525],\n \"67\": [0, 0.61111, 0, 0, 0.525],\n \"68\": [0, 0.61111, 0, 0, 0.525],\n \"69\": [0, 0.61111, 0, 0, 0.525],\n \"70\": [0, 0.61111, 0, 0, 0.525],\n \"71\": [0, 0.61111, 0, 0, 0.525],\n \"72\": [0, 0.61111, 0, 0, 0.525],\n \"73\": [0, 0.61111, 0, 0, 0.525],\n \"74\": [0, 0.61111, 0, 0, 0.525],\n \"75\": [0, 0.61111, 0, 0, 0.525],\n \"76\": [0, 0.61111, 0, 0, 0.525],\n \"77\": [0, 0.61111, 0, 0, 0.525],\n \"78\": [0, 0.61111, 0, 0, 0.525],\n \"79\": [0, 0.61111, 0, 0, 0.525],\n \"80\": [0, 0.61111, 0, 0, 0.525],\n \"81\": [0.13889, 0.61111, 0, 0, 0.525],\n \"82\": [0, 0.61111, 0, 0, 0.525],\n \"83\": [0, 0.61111, 0, 0, 0.525],\n \"84\": [0, 0.61111, 0, 0, 0.525],\n \"85\": [0, 0.61111, 0, 0, 0.525],\n \"86\": [0, 0.61111, 0, 0, 0.525],\n \"87\": [0, 0.61111, 0, 0, 0.525],\n \"88\": [0, 0.61111, 0, 0, 0.525],\n \"89\": [0, 0.61111, 0, 0, 0.525],\n \"90\": [0, 0.61111, 0, 0, 0.525],\n \"91\": [0.08333, 0.69444, 0, 0, 0.525],\n \"92\": [0.08333, 0.69444, 0, 0, 0.525],\n \"93\": [0.08333, 0.69444, 0, 0, 0.525],\n \"94\": [0, 0.61111, 0, 0, 0.525],\n \"95\": [0.09514, 0, 0, 0, 0.525],\n \"96\": [0, 0.61111, 0, 0, 0.525],\n \"97\": [0, 0.43056, 0, 0, 0.525],\n \"98\": [0, 0.61111, 0, 0, 0.525],\n \"99\": [0, 0.43056, 0, 0, 0.525],\n \"100\": [0, 0.61111, 0, 0, 0.525],\n \"101\": [0, 0.43056, 0, 0, 0.525],\n \"102\": [0, 0.61111, 0, 0, 0.525],\n \"103\": [0.22222, 0.43056, 0, 0, 0.525],\n \"104\": [0, 0.61111, 0, 0, 0.525],\n \"105\": [0, 0.61111, 0, 0, 0.525],\n \"106\": [0.22222, 0.61111, 0, 0, 0.525],\n \"107\": [0, 0.61111, 0, 0, 0.525],\n \"108\": [0, 0.61111, 0, 0, 0.525],\n \"109\": [0, 0.43056, 0, 0, 0.525],\n \"110\": [0, 0.43056, 0, 0, 0.525],\n \"111\": [0, 0.43056, 0, 0, 0.525],\n \"112\": [0.22222, 0.43056, 0, 0, 0.525],\n \"113\": [0.22222, 0.43056, 0, 0, 0.525],\n \"114\": [0, 0.43056, 0, 0, 0.525],\n \"115\": [0, 0.43056, 0, 0, 0.525],\n \"116\": [0, 0.55358, 0, 0, 0.525],\n \"117\": [0, 0.43056, 0, 0, 0.525],\n \"118\": [0, 0.43056, 0, 0, 0.525],\n \"119\": [0, 0.43056, 0, 0, 0.525],\n \"120\": [0, 0.43056, 0, 0, 0.525],\n \"121\": [0.22222, 0.43056, 0, 0, 0.525],\n \"122\": [0, 0.43056, 0, 0, 0.525],\n \"123\": [0.08333, 0.69444, 0, 0, 0.525],\n \"124\": [0.08333, 0.69444, 0, 0, 0.525],\n \"125\": [0.08333, 0.69444, 0, 0, 0.525],\n \"126\": [0, 0.61111, 0, 0, 0.525],\n \"127\": [0, 0.61111, 0, 0, 0.525],\n \"160\": [0, 0, 0, 0, 0.525],\n \"176\": [0, 0.61111, 0, 0, 0.525],\n \"184\": [0.19445, 0, 0, 0, 0.525],\n \"305\": [0, 0.43056, 0, 0, 0.525],\n \"567\": [0.22222, 0.43056, 0, 0, 0.525],\n \"711\": [0, 0.56597, 0, 0, 0.525],\n \"713\": [0, 0.56555, 0, 0, 0.525],\n \"714\": [0, 0.61111, 0, 0, 0.525],\n \"715\": [0, 0.61111, 0, 0, 0.525],\n \"728\": [0, 0.61111, 0, 0, 0.525],\n \"730\": [0, 0.61111, 0, 0, 0.525],\n \"770\": [0, 0.61111, 0, 0, 0.525],\n \"771\": [0, 0.61111, 0, 0, 0.525],\n \"776\": [0, 0.61111, 0, 0, 0.525],\n \"915\": [0, 0.61111, 0, 0, 0.525],\n \"916\": [0, 0.61111, 0, 0, 0.525],\n \"920\": [0, 0.61111, 0, 0, 0.525],\n \"923\": [0, 0.61111, 0, 0, 0.525],\n \"926\": [0, 0.61111, 0, 0, 0.525],\n \"928\": [0, 0.61111, 0, 0, 0.525],\n \"931\": [0, 0.61111, 0, 0, 0.525],\n \"933\": [0, 0.61111, 0, 0, 0.525],\n \"934\": [0, 0.61111, 0, 0, 0.525],\n \"936\": [0, 0.61111, 0, 0, 0.525],\n \"937\": [0, 0.61111, 0, 0, 0.525],\n \"8216\": [0, 0.61111, 0, 0, 0.525],\n \"8217\": [0, 0.61111, 0, 0, 0.525],\n \"8242\": [0, 0.61111, 0, 0, 0.525],\n \"9251\": [0.11111, 0.21944, 0, 0, 0.525]\n }\n});\n;// CONCATENATED MODULE: ./src/fontMetrics.js\n\n\n/**\n * This file contains metrics regarding fonts and individual symbols. The sigma\n * and xi variables, as well as the metricMap map contain data extracted from\n * TeX, TeX font metrics, and the TTF files. These data are then exposed via the\n * `metrics` variable and the getCharacterMetrics function.\n */\n// In TeX, there are actually three sets of dimensions, one for each of\n// textstyle (size index 5 and higher: >=9pt), scriptstyle (size index 3 and 4:\n// 7-8pt), and scriptscriptstyle (size index 1 and 2: 5-6pt). These are\n// provided in the arrays below, in that order.\n//\n// The font metrics are stored in fonts cmsy10, cmsy7, and cmsy5 respectively.\n// This was determined by running the following script:\n//\n// latex -interaction=nonstopmode \\\n// '\\documentclass{article}\\usepackage{amsmath}\\begin{document}' \\\n// '$a$ \\expandafter\\show\\the\\textfont2' \\\n// '\\expandafter\\show\\the\\scriptfont2' \\\n// '\\expandafter\\show\\the\\scriptscriptfont2' \\\n// '\\stop'\n//\n// The metrics themselves were retrieved using the following commands:\n//\n// tftopl cmsy10\n// tftopl cmsy7\n// tftopl cmsy5\n//\n// The output of each of these commands is quite lengthy. The only part we\n// care about is the FONTDIMEN section. Each value is measured in EMs.\nconst sigmasAndXis = {\n slant: [0.250, 0.250, 0.250],\n // sigma1\n space: [0.000, 0.000, 0.000],\n // sigma2\n stretch: [0.000, 0.000, 0.000],\n // sigma3\n shrink: [0.000, 0.000, 0.000],\n // sigma4\n xHeight: [0.431, 0.431, 0.431],\n // sigma5\n quad: [1.000, 1.171, 1.472],\n // sigma6\n extraSpace: [0.000, 0.000, 0.000],\n // sigma7\n num1: [0.677, 0.732, 0.925],\n // sigma8\n num2: [0.394, 0.384, 0.387],\n // sigma9\n num3: [0.444, 0.471, 0.504],\n // sigma10\n denom1: [0.686, 0.752, 1.025],\n // sigma11\n denom2: [0.345, 0.344, 0.532],\n // sigma12\n sup1: [0.413, 0.503, 0.504],\n // sigma13\n sup2: [0.363, 0.431, 0.404],\n // sigma14\n sup3: [0.289, 0.286, 0.294],\n // sigma15\n sub1: [0.150, 0.143, 0.200],\n // sigma16\n sub2: [0.247, 0.286, 0.400],\n // sigma17\n supDrop: [0.386, 0.353, 0.494],\n // sigma18\n subDrop: [0.050, 0.071, 0.100],\n // sigma19\n delim1: [2.390, 1.700, 1.980],\n // sigma20\n delim2: [1.010, 1.157, 1.420],\n // sigma21\n axisHeight: [0.250, 0.250, 0.250],\n // sigma22\n // These font metrics are extracted from TeX by using tftopl on cmex10.tfm;\n // they correspond to the font parameters of the extension fonts (family 3).\n // See the TeXbook, page 441. In AMSTeX, the extension fonts scale; to\n // match cmex7, we'd use cmex7.tfm values for script and scriptscript\n // values.\n defaultRuleThickness: [0.04, 0.049, 0.049],\n // xi8; cmex7: 0.049\n bigOpSpacing1: [0.111, 0.111, 0.111],\n // xi9\n bigOpSpacing2: [0.166, 0.166, 0.166],\n // xi10\n bigOpSpacing3: [0.2, 0.2, 0.2],\n // xi11\n bigOpSpacing4: [0.6, 0.611, 0.611],\n // xi12; cmex7: 0.611\n bigOpSpacing5: [0.1, 0.143, 0.143],\n // xi13; cmex7: 0.143\n // The \\sqrt rule width is taken from the height of the surd character.\n // Since we use the same font at all sizes, this thickness doesn't scale.\n sqrtRuleThickness: [0.04, 0.04, 0.04],\n // This value determines how large a pt is, for metrics which are defined\n // in terms of pts.\n // This value is also used in katex.scss; if you change it make sure the\n // values match.\n ptPerEm: [10.0, 10.0, 10.0],\n // The space between adjacent `|` columns in an array definition. From\n // `\\showthe\\doublerulesep` in LaTeX. Equals 2.0 / ptPerEm.\n doubleRuleSep: [0.2, 0.2, 0.2],\n // The width of separator lines in {array} environments. From\n // `\\showthe\\arrayrulewidth` in LaTeX. Equals 0.4 / ptPerEm.\n arrayRuleWidth: [0.04, 0.04, 0.04],\n // Two values from LaTeX source2e:\n fboxsep: [0.3, 0.3, 0.3],\n // 3 pt / ptPerEm\n fboxrule: [0.04, 0.04, 0.04] // 0.4 pt / ptPerEm\n\n}; // This map contains a mapping from font name and character code to character\n// metrics, including height, depth, italic correction, and skew (kern from the\n// character to the corresponding \\skewchar)\n// This map is generated via `make metrics`. It should not be changed manually.\n\n // These are very rough approximations. We default to Times New Roman which\n// should have Latin-1 and Cyrillic characters, but may not depending on the\n// operating system. The metrics do not account for extra height from the\n// accents. In the case of Cyrillic characters which have both ascenders and\n// descenders we prefer approximations with ascenders, primarily to prevent\n// the fraction bar or root line from intersecting the glyph.\n// TODO(kevinb) allow union of multiple glyph metrics for better accuracy.\n\nconst extraCharacterMap = {\n // Latin-1\n 'Å': 'A',\n 'Ð': 'D',\n 'Þ': 'o',\n 'å': 'a',\n 'ð': 'd',\n 'þ': 'o',\n // Cyrillic\n 'А': 'A',\n 'Б': 'B',\n 'В': 'B',\n 'Г': 'F',\n 'Д': 'A',\n 'Е': 'E',\n 'Ж': 'K',\n 'З': '3',\n 'И': 'N',\n 'Й': 'N',\n 'К': 'K',\n 'Л': 'N',\n 'М': 'M',\n 'Н': 'H',\n 'О': 'O',\n 'П': 'N',\n 'Р': 'P',\n 'С': 'C',\n 'Т': 'T',\n 'У': 'y',\n 'Ф': 'O',\n 'Х': 'X',\n 'Ц': 'U',\n 'Ч': 'h',\n 'Ш': 'W',\n 'Щ': 'W',\n 'Ъ': 'B',\n 'Ы': 'X',\n 'Ь': 'B',\n 'Э': '3',\n 'Ю': 'X',\n 'Я': 'R',\n 'а': 'a',\n 'б': 'b',\n 'в': 'a',\n 'г': 'r',\n 'д': 'y',\n 'е': 'e',\n 'ж': 'm',\n 'з': 'e',\n 'и': 'n',\n 'й': 'n',\n 'к': 'n',\n 'л': 'n',\n 'м': 'm',\n 'н': 'n',\n 'о': 'o',\n 'п': 'n',\n 'р': 'p',\n 'с': 'c',\n 'т': 'o',\n 'у': 'y',\n 'ф': 'b',\n 'х': 'x',\n 'ц': 'n',\n 'ч': 'n',\n 'ш': 'w',\n 'щ': 'w',\n 'ъ': 'a',\n 'ы': 'm',\n 'ь': 'a',\n 'э': 'e',\n 'ю': 'm',\n 'я': 'r'\n};\n\n/**\n * This function adds new font metrics to default metricMap\n * It can also override existing metrics\n */\nfunction setFontMetrics(fontName, metrics) {\n fontMetricsData[fontName] = metrics;\n}\n/**\n * This function is a convenience function for looking up information in the\n * metricMap table. It takes a character as a string, and a font.\n *\n * Note: the `width` property may be undefined if fontMetricsData.js wasn't\n * built using `Make extended_metrics`.\n */\n\nfunction getCharacterMetrics(character, font, mode) {\n if (!fontMetricsData[font]) {\n throw new Error(\"Font metrics not found for font: \" + font + \".\");\n }\n\n let ch = character.charCodeAt(0);\n let metrics = fontMetricsData[font][ch];\n\n if (!metrics && character[0] in extraCharacterMap) {\n ch = extraCharacterMap[character[0]].charCodeAt(0);\n metrics = fontMetricsData[font][ch];\n }\n\n if (!metrics && mode === 'text') {\n // We don't typically have font metrics for Asian scripts.\n // But since we support them in text mode, we need to return\n // some sort of metrics.\n // So if the character is in a script we support but we\n // don't have metrics for it, just use the metrics for\n // the Latin capital letter M. This is close enough because\n // we (currently) only care about the height of the glyph\n // not its width.\n if (supportedCodepoint(ch)) {\n metrics = fontMetricsData[font][77]; // 77 is the charcode for 'M'\n }\n }\n\n if (metrics) {\n return {\n depth: metrics[0],\n height: metrics[1],\n italic: metrics[2],\n skew: metrics[3],\n width: metrics[4]\n };\n }\n}\nconst fontMetricsBySizeIndex = {};\n/**\n * Get the font metrics for a given size.\n */\n\nfunction getGlobalMetrics(size) {\n let sizeIndex;\n\n if (size >= 5) {\n sizeIndex = 0;\n } else if (size >= 3) {\n sizeIndex = 1;\n } else {\n sizeIndex = 2;\n }\n\n if (!fontMetricsBySizeIndex[sizeIndex]) {\n const metrics = fontMetricsBySizeIndex[sizeIndex] = {\n cssEmPerMu: sigmasAndXis.quad[sizeIndex] / 18\n };\n\n for (const key in sigmasAndXis) {\n if (sigmasAndXis.hasOwnProperty(key)) {\n metrics[key] = sigmasAndXis[key][sizeIndex];\n }\n }\n }\n\n return fontMetricsBySizeIndex[sizeIndex];\n}\n;// CONCATENATED MODULE: ./src/Options.js\n/**\n * This file contains information about the options that the Parser carries\n * around with it while parsing. Data is held in an `Options` object, and when\n * recursing, a new `Options` object can be created with the `.with*` and\n * `.reset` functions.\n */\n\nconst sizeStyleMap = [// Each element contains [textsize, scriptsize, scriptscriptsize].\n// The size mappings are taken from TeX with \\normalsize=10pt.\n[1, 1, 1], // size1: [5, 5, 5] \\tiny\n[2, 1, 1], // size2: [6, 5, 5]\n[3, 1, 1], // size3: [7, 5, 5] \\scriptsize\n[4, 2, 1], // size4: [8, 6, 5] \\footnotesize\n[5, 2, 1], // size5: [9, 6, 5] \\small\n[6, 3, 1], // size6: [10, 7, 5] \\normalsize\n[7, 4, 2], // size7: [12, 8, 6] \\large\n[8, 6, 3], // size8: [14.4, 10, 7] \\Large\n[9, 7, 6], // size9: [17.28, 12, 10] \\LARGE\n[10, 8, 7], // size10: [20.74, 14.4, 12] \\huge\n[11, 10, 9] // size11: [24.88, 20.74, 17.28] \\HUGE\n];\nconst sizeMultipliers = [// fontMetrics.js:getGlobalMetrics also uses size indexes, so if\n// you change size indexes, change that function.\n0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.2, 1.44, 1.728, 2.074, 2.488];\n\nconst sizeAtStyle = function (size, style) {\n return style.size < 2 ? size : sizeStyleMap[size - 1][style.size - 1];\n}; // In these types, \"\" (empty string) means \"no change\".\n\n\n/**\n * This is the main options class. It contains the current style, size, color,\n * and font.\n *\n * Options objects should not be modified. To create a new Options with\n * different properties, call a `.having*` method.\n */\nclass Options {\n // A font family applies to a group of fonts (i.e. SansSerif), while a font\n // represents a specific font (i.e. SansSerif Bold).\n // See: https://tex.stackexchange.com/questions/22350/difference-between-textrm-and-mathrm\n\n /**\n * The base size index.\n */\n constructor(data) {\n this.style = void 0;\n this.color = void 0;\n this.size = void 0;\n this.textSize = void 0;\n this.phantom = void 0;\n this.font = void 0;\n this.fontFamily = void 0;\n this.fontWeight = void 0;\n this.fontShape = void 0;\n this.sizeMultiplier = void 0;\n this.maxSize = void 0;\n this.minRuleThickness = void 0;\n this._fontMetrics = void 0;\n this.style = data.style;\n this.color = data.color;\n this.size = data.size || Options.BASESIZE;\n this.textSize = data.textSize || this.size;\n this.phantom = !!data.phantom;\n this.font = data.font || \"\";\n this.fontFamily = data.fontFamily || \"\";\n this.fontWeight = data.fontWeight || '';\n this.fontShape = data.fontShape || '';\n this.sizeMultiplier = sizeMultipliers[this.size - 1];\n this.maxSize = data.maxSize;\n this.minRuleThickness = data.minRuleThickness;\n this._fontMetrics = undefined;\n }\n /**\n * Returns a new options object with the same properties as \"this\". Properties\n * from \"extension\" will be copied to the new options object.\n */\n\n\n extend(extension) {\n const data = {\n style: this.style,\n size: this.size,\n textSize: this.textSize,\n color: this.color,\n phantom: this.phantom,\n font: this.font,\n fontFamily: this.fontFamily,\n fontWeight: this.fontWeight,\n fontShape: this.fontShape,\n maxSize: this.maxSize,\n minRuleThickness: this.minRuleThickness\n };\n\n for (const key in extension) {\n if (extension.hasOwnProperty(key)) {\n data[key] = extension[key];\n }\n }\n\n return new Options(data);\n }\n /**\n * Return an options object with the given style. If `this.style === style`,\n * returns `this`.\n */\n\n\n havingStyle(style) {\n if (this.style === style) {\n return this;\n } else {\n return this.extend({\n style: style,\n size: sizeAtStyle(this.textSize, style)\n });\n }\n }\n /**\n * Return an options object with a cramped version of the current style. If\n * the current style is cramped, returns `this`.\n */\n\n\n havingCrampedStyle() {\n return this.havingStyle(this.style.cramp());\n }\n /**\n * Return an options object with the given size and in at least `\\textstyle`.\n * Returns `this` if appropriate.\n */\n\n\n havingSize(size) {\n if (this.size === size && this.textSize === size) {\n return this;\n } else {\n return this.extend({\n style: this.style.text(),\n size: size,\n textSize: size,\n sizeMultiplier: sizeMultipliers[size - 1]\n });\n }\n }\n /**\n * Like `this.havingSize(BASESIZE).havingStyle(style)`. If `style` is omitted,\n * changes to at least `\\textstyle`.\n */\n\n\n havingBaseStyle(style) {\n style = style || this.style.text();\n const wantSize = sizeAtStyle(Options.BASESIZE, style);\n\n if (this.size === wantSize && this.textSize === Options.BASESIZE && this.style === style) {\n return this;\n } else {\n return this.extend({\n style: style,\n size: wantSize\n });\n }\n }\n /**\n * Remove the effect of sizing changes such as \\Huge.\n * Keep the effect of the current style, such as \\scriptstyle.\n */\n\n\n havingBaseSizing() {\n let size;\n\n switch (this.style.id) {\n case 4:\n case 5:\n size = 3; // normalsize in scriptstyle\n\n break;\n\n case 6:\n case 7:\n size = 1; // normalsize in scriptscriptstyle\n\n break;\n\n default:\n size = 6;\n // normalsize in textstyle or displaystyle\n }\n\n return this.extend({\n style: this.style.text(),\n size: size\n });\n }\n /**\n * Create a new options object with the given color.\n */\n\n\n withColor(color) {\n return this.extend({\n color: color\n });\n }\n /**\n * Create a new options object with \"phantom\" set to true.\n */\n\n\n withPhantom() {\n return this.extend({\n phantom: true\n });\n }\n /**\n * Creates a new options object with the given math font or old text font.\n * @type {[type]}\n */\n\n\n withFont(font) {\n return this.extend({\n font\n });\n }\n /**\n * Create a new options objects with the given fontFamily.\n */\n\n\n withTextFontFamily(fontFamily) {\n return this.extend({\n fontFamily,\n font: \"\"\n });\n }\n /**\n * Creates a new options object with the given font weight\n */\n\n\n withTextFontWeight(fontWeight) {\n return this.extend({\n fontWeight,\n font: \"\"\n });\n }\n /**\n * Creates a new options object with the given font weight\n */\n\n\n withTextFontShape(fontShape) {\n return this.extend({\n fontShape,\n font: \"\"\n });\n }\n /**\n * Return the CSS sizing classes required to switch from enclosing options\n * `oldOptions` to `this`. Returns an array of classes.\n */\n\n\n sizingClasses(oldOptions) {\n if (oldOptions.size !== this.size) {\n return [\"sizing\", \"reset-size\" + oldOptions.size, \"size\" + this.size];\n } else {\n return [];\n }\n }\n /**\n * Return the CSS sizing classes required to switch to the base size. Like\n * `this.havingSize(BASESIZE).sizingClasses(this)`.\n */\n\n\n baseSizingClasses() {\n if (this.size !== Options.BASESIZE) {\n return [\"sizing\", \"reset-size\" + this.size, \"size\" + Options.BASESIZE];\n } else {\n return [];\n }\n }\n /**\n * Return the font metrics for this size.\n */\n\n\n fontMetrics() {\n if (!this._fontMetrics) {\n this._fontMetrics = getGlobalMetrics(this.size);\n }\n\n return this._fontMetrics;\n }\n /**\n * Gets the CSS color of the current options object\n */\n\n\n getColor() {\n if (this.phantom) {\n return \"transparent\";\n } else {\n return this.color;\n }\n }\n\n}\n\nOptions.BASESIZE = 6;\n/* harmony default export */ var src_Options = (Options);\n;// CONCATENATED MODULE: ./src/units.js\n/**\n * This file does conversion between units. In particular, it provides\n * calculateSize to convert other units into ems.\n */\n\n // This table gives the number of TeX pts in one of each *absolute* TeX unit.\n// Thus, multiplying a length by this number converts the length from units\n// into pts. Dividing the result by ptPerEm gives the number of ems\n// *assuming* a font size of ptPerEm (normal size, normal style).\n\nconst ptPerUnit = {\n // https://en.wikibooks.org/wiki/LaTeX/Lengths and\n // https://tex.stackexchange.com/a/8263\n \"pt\": 1,\n // TeX point\n \"mm\": 7227 / 2540,\n // millimeter\n \"cm\": 7227 / 254,\n // centimeter\n \"in\": 72.27,\n // inch\n \"bp\": 803 / 800,\n // big (PostScript) points\n \"pc\": 12,\n // pica\n \"dd\": 1238 / 1157,\n // didot\n \"cc\": 14856 / 1157,\n // cicero (12 didot)\n \"nd\": 685 / 642,\n // new didot\n \"nc\": 1370 / 107,\n // new cicero (12 new didot)\n \"sp\": 1 / 65536,\n // scaled point (TeX's internal smallest unit)\n // https://tex.stackexchange.com/a/41371\n \"px\": 803 / 800 // \\pdfpxdimen defaults to 1 bp in pdfTeX and LuaTeX\n\n}; // Dictionary of relative units, for fast validity testing.\n\nconst relativeUnit = {\n \"ex\": true,\n \"em\": true,\n \"mu\": true\n};\n\n/**\n * Determine whether the specified unit (either a string defining the unit\n * or a \"size\" parse node containing a unit field) is valid.\n */\nconst validUnit = function (unit) {\n if (typeof unit !== \"string\") {\n unit = unit.unit;\n }\n\n return unit in ptPerUnit || unit in relativeUnit || unit === \"ex\";\n};\n/*\n * Convert a \"size\" parse node (with numeric \"number\" and string \"unit\" fields,\n * as parsed by functions.js argType \"size\") into a CSS em value for the\n * current style/scale. `options` gives the current options.\n */\n\nconst calculateSize = function (sizeValue, options) {\n let scale;\n\n if (sizeValue.unit in ptPerUnit) {\n // Absolute units\n scale = ptPerUnit[sizeValue.unit] // Convert unit to pt\n / options.fontMetrics().ptPerEm // Convert pt to CSS em\n / options.sizeMultiplier; // Unscale to make absolute units\n } else if (sizeValue.unit === \"mu\") {\n // `mu` units scale with scriptstyle/scriptscriptstyle.\n scale = options.fontMetrics().cssEmPerMu;\n } else {\n // Other relative units always refer to the *textstyle* font\n // in the current size.\n let unitOptions;\n\n if (options.style.isTight()) {\n // isTight() means current style is script/scriptscript.\n unitOptions = options.havingStyle(options.style.text());\n } else {\n unitOptions = options;\n } // TODO: In TeX these units are relative to the quad of the current\n // *text* font, e.g. cmr10. KaTeX instead uses values from the\n // comparably-sized *Computer Modern symbol* font. At 10pt, these\n // match. At 7pt and 5pt, they differ: cmr7=1.138894, cmsy7=1.170641;\n // cmr5=1.361133, cmsy5=1.472241. Consider $\\scriptsize a\\kern1emb$.\n // TeX \\showlists shows a kern of 1.13889 * fontsize;\n // KaTeX shows a kern of 1.171 * fontsize.\n\n\n if (sizeValue.unit === \"ex\") {\n scale = unitOptions.fontMetrics().xHeight;\n } else if (sizeValue.unit === \"em\") {\n scale = unitOptions.fontMetrics().quad;\n } else {\n throw new src_ParseError(\"Invalid unit: '\" + sizeValue.unit + \"'\");\n }\n\n if (unitOptions !== options) {\n scale *= unitOptions.sizeMultiplier / options.sizeMultiplier;\n }\n }\n\n return Math.min(sizeValue.number * scale, options.maxSize);\n};\n/**\n * Round `n` to 4 decimal places, or to the nearest 1/10,000th em. See\n * https://github.com/KaTeX/KaTeX/pull/2460.\n */\n\nconst makeEm = function (n) {\n return +n.toFixed(4) + \"em\";\n};\n;// CONCATENATED MODULE: ./src/domTree.js\n/**\n * These objects store the data about the DOM nodes we create, as well as some\n * extra data. They can then be transformed into real DOM nodes with the\n * `toNode` function or HTML markup using `toMarkup`. They are useful for both\n * storing extra properties on the nodes, as well as providing a way to easily\n * work with the DOM.\n *\n * Similar functions for working with MathML nodes exist in mathMLTree.js.\n *\n * TODO: refactor `span` and `anchor` into common superclass when\n * target environments support class inheritance\n */\n\n\n\n\n\n\n/**\n * Create an HTML className based on a list of classes. In addition to joining\n * with spaces, we also remove empty classes.\n */\nconst createClass = function (classes) {\n return classes.filter(cls => cls).join(\" \");\n};\n\nconst initNode = function (classes, options, style) {\n this.classes = classes || [];\n this.attributes = {};\n this.height = 0;\n this.depth = 0;\n this.maxFontSize = 0;\n this.style = style || {};\n\n if (options) {\n if (options.style.isTight()) {\n this.classes.push(\"mtight\");\n }\n\n const color = options.getColor();\n\n if (color) {\n this.style.color = color;\n }\n }\n};\n/**\n * Convert into an HTML node\n */\n\n\nconst toNode = function (tagName) {\n const node = document.createElement(tagName); // Apply the class\n\n node.className = createClass(this.classes); // Apply inline styles\n\n for (const style in this.style) {\n if (this.style.hasOwnProperty(style)) {\n // $FlowFixMe Flow doesn't seem to understand span.style's type.\n node.style[style] = this.style[style];\n }\n } // Apply attributes\n\n\n for (const attr in this.attributes) {\n if (this.attributes.hasOwnProperty(attr)) {\n node.setAttribute(attr, this.attributes[attr]);\n }\n } // Append the children, also as HTML nodes\n\n\n for (let i = 0; i < this.children.length; i++) {\n node.appendChild(this.children[i].toNode());\n }\n\n return node;\n};\n/**\n * Convert into an HTML markup string\n */\n\n\nconst toMarkup = function (tagName) {\n let markup = \"<\" + tagName; // Add the class\n\n if (this.classes.length) {\n markup += \" class=\\\"\" + utils.escape(createClass(this.classes)) + \"\\\"\";\n }\n\n let styles = \"\"; // Add the styles, after hyphenation\n\n for (const style in this.style) {\n if (this.style.hasOwnProperty(style)) {\n styles += utils.hyphenate(style) + \":\" + this.style[style] + \";\";\n }\n }\n\n if (styles) {\n markup += \" style=\\\"\" + utils.escape(styles) + \"\\\"\";\n } // Add the attributes\n\n\n for (const attr in this.attributes) {\n if (this.attributes.hasOwnProperty(attr)) {\n markup += \" \" + attr + \"=\\\"\" + utils.escape(this.attributes[attr]) + \"\\\"\";\n }\n }\n\n markup += \">\"; // Add the markup of the children, also as markup\n\n for (let i = 0; i < this.children.length; i++) {\n markup += this.children[i].toMarkup();\n }\n\n markup += \"\";\n return markup;\n}; // Making the type below exact with all optional fields doesn't work due to\n// - https://github.com/facebook/flow/issues/4582\n// - https://github.com/facebook/flow/issues/5688\n// However, since *all* fields are optional, $Shape<> works as suggested in 5688\n// above.\n// This type does not include all CSS properties. Additional properties should\n// be added as needed.\n\n\n/**\n * This node represents a span node, with a className, a list of children, and\n * an inline style. It also contains information about its height, depth, and\n * maxFontSize.\n *\n * Represents two types with different uses: SvgSpan to wrap an SVG and DomSpan\n * otherwise. This typesafety is important when HTML builders access a span's\n * children.\n */\nclass Span {\n constructor(classes, children, options, style) {\n this.children = void 0;\n this.attributes = void 0;\n this.classes = void 0;\n this.height = void 0;\n this.depth = void 0;\n this.width = void 0;\n this.maxFontSize = void 0;\n this.style = void 0;\n initNode.call(this, classes, options, style);\n this.children = children || [];\n }\n /**\n * Sets an arbitrary attribute on the span. Warning: use this wisely. Not\n * all browsers support attributes the same, and having too many custom\n * attributes is probably bad.\n */\n\n\n setAttribute(attribute, value) {\n this.attributes[attribute] = value;\n }\n\n hasClass(className) {\n return utils.contains(this.classes, className);\n }\n\n toNode() {\n return toNode.call(this, \"span\");\n }\n\n toMarkup() {\n return toMarkup.call(this, \"span\");\n }\n\n}\n/**\n * This node represents an anchor (
) element with a hyperlink. See `span`\n * for further details.\n */\n\nclass Anchor {\n constructor(href, classes, children, options) {\n this.children = void 0;\n this.attributes = void 0;\n this.classes = void 0;\n this.height = void 0;\n this.depth = void 0;\n this.maxFontSize = void 0;\n this.style = void 0;\n initNode.call(this, classes, options);\n this.children = children || [];\n this.setAttribute('href', href);\n }\n\n setAttribute(attribute, value) {\n this.attributes[attribute] = value;\n }\n\n hasClass(className) {\n return utils.contains(this.classes, className);\n }\n\n toNode() {\n return toNode.call(this, \"a\");\n }\n\n toMarkup() {\n return toMarkup.call(this, \"a\");\n }\n\n}\n/**\n * This node represents an image embed () element.\n */\n\nclass Img {\n constructor(src, alt, style) {\n this.src = void 0;\n this.alt = void 0;\n this.classes = void 0;\n this.height = void 0;\n this.depth = void 0;\n this.maxFontSize = void 0;\n this.style = void 0;\n this.alt = alt;\n this.src = src;\n this.classes = [\"mord\"];\n this.style = style;\n }\n\n hasClass(className) {\n return utils.contains(this.classes, className);\n }\n\n toNode() {\n const node = document.createElement(\"img\");\n node.src = this.src;\n node.alt = this.alt;\n node.className = \"mord\"; // Apply inline styles\n\n for (const style in this.style) {\n if (this.style.hasOwnProperty(style)) {\n // $FlowFixMe\n node.style[style] = this.style[style];\n }\n }\n\n return node;\n }\n\n toMarkup() {\n let markup = \"\\\"\"\";\n return markup;\n }\n\n}\nconst iCombinations = {\n 'î': '\\u0131\\u0302',\n 'ï': '\\u0131\\u0308',\n 'í': '\\u0131\\u0301',\n // 'ī': '\\u0131\\u0304', // enable when we add Extended Latin\n 'ì': '\\u0131\\u0300'\n};\n/**\n * A symbol node contains information about a single symbol. It either renders\n * to a single text node, or a span with a single text node in it, depending on\n * whether it has CSS classes, styles, or needs italic correction.\n */\n\nclass SymbolNode {\n constructor(text, height, depth, italic, skew, width, classes, style) {\n this.text = void 0;\n this.height = void 0;\n this.depth = void 0;\n this.italic = void 0;\n this.skew = void 0;\n this.width = void 0;\n this.maxFontSize = void 0;\n this.classes = void 0;\n this.style = void 0;\n this.text = text;\n this.height = height || 0;\n this.depth = depth || 0;\n this.italic = italic || 0;\n this.skew = skew || 0;\n this.width = width || 0;\n this.classes = classes || [];\n this.style = style || {};\n this.maxFontSize = 0; // Mark text from non-Latin scripts with specific classes so that we\n // can specify which fonts to use. This allows us to render these\n // characters with a serif font in situations where the browser would\n // either default to a sans serif or render a placeholder character.\n // We use CSS class names like cjk_fallback, hangul_fallback and\n // brahmic_fallback. See ./unicodeScripts.js for the set of possible\n // script names\n\n const script = scriptFromCodepoint(this.text.charCodeAt(0));\n\n if (script) {\n this.classes.push(script + \"_fallback\");\n }\n\n if (/[îïíì]/.test(this.text)) {\n // add ī when we add Extended Latin\n this.text = iCombinations[this.text];\n }\n }\n\n hasClass(className) {\n return utils.contains(this.classes, className);\n }\n /**\n * Creates a text node or span from a symbol node. Note that a span is only\n * created if it is needed.\n */\n\n\n toNode() {\n const node = document.createTextNode(this.text);\n let span = null;\n\n if (this.italic > 0) {\n span = document.createElement(\"span\");\n span.style.marginRight = makeEm(this.italic);\n }\n\n if (this.classes.length > 0) {\n span = span || document.createElement(\"span\");\n span.className = createClass(this.classes);\n }\n\n for (const style in this.style) {\n if (this.style.hasOwnProperty(style)) {\n span = span || document.createElement(\"span\"); // $FlowFixMe Flow doesn't seem to understand span.style's type.\n\n span.style[style] = this.style[style];\n }\n }\n\n if (span) {\n span.appendChild(node);\n return span;\n } else {\n return node;\n }\n }\n /**\n * Creates markup for a symbol node.\n */\n\n\n toMarkup() {\n // TODO(alpert): More duplication than I'd like from\n // span.prototype.toMarkup and symbolNode.prototype.toNode...\n let needsSpan = false;\n let markup = \" 0) {\n styles += \"margin-right:\" + this.italic + \"em;\";\n }\n\n for (const style in this.style) {\n if (this.style.hasOwnProperty(style)) {\n styles += utils.hyphenate(style) + \":\" + this.style[style] + \";\";\n }\n }\n\n if (styles) {\n needsSpan = true;\n markup += \" style=\\\"\" + utils.escape(styles) + \"\\\"\";\n }\n\n const escaped = utils.escape(this.text);\n\n if (needsSpan) {\n markup += \">\";\n markup += escaped;\n markup += \"\";\n return markup;\n } else {\n return escaped;\n }\n }\n\n}\n/**\n * SVG nodes are used to render stretchy wide elements.\n */\n\nclass SvgNode {\n constructor(children, attributes) {\n this.children = void 0;\n this.attributes = void 0;\n this.children = children || [];\n this.attributes = attributes || {};\n }\n\n toNode() {\n const svgNS = \"http://www.w3.org/2000/svg\";\n const node = document.createElementNS(svgNS, \"svg\"); // Apply attributes\n\n for (const attr in this.attributes) {\n if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) {\n node.setAttribute(attr, this.attributes[attr]);\n }\n }\n\n for (let i = 0; i < this.children.length; i++) {\n node.appendChild(this.children[i].toNode());\n }\n\n return node;\n }\n\n toMarkup() {\n let markup = \"\";\n\n for (let i = 0; i < this.children.length; i++) {\n markup += this.children[i].toMarkup();\n }\n\n markup += \"\";\n return markup;\n }\n\n}\nclass PathNode {\n constructor(pathName, alternate) {\n this.pathName = void 0;\n this.alternate = void 0;\n this.pathName = pathName;\n this.alternate = alternate; // Used only for \\sqrt, \\phase, & tall delims\n }\n\n toNode() {\n const svgNS = \"http://www.w3.org/2000/svg\";\n const node = document.createElementNS(svgNS, \"path\");\n\n if (this.alternate) {\n node.setAttribute(\"d\", this.alternate);\n } else {\n node.setAttribute(\"d\", path[this.pathName]);\n }\n\n return node;\n }\n\n toMarkup() {\n if (this.alternate) {\n return \"\";\n } else {\n return \"\";\n }\n }\n\n}\nclass LineNode {\n constructor(attributes) {\n this.attributes = void 0;\n this.attributes = attributes || {};\n }\n\n toNode() {\n const svgNS = \"http://www.w3.org/2000/svg\";\n const node = document.createElementNS(svgNS, \"line\"); // Apply attributes\n\n for (const attr in this.attributes) {\n if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) {\n node.setAttribute(attr, this.attributes[attr]);\n }\n }\n\n return node;\n }\n\n toMarkup() {\n let markup = \"\";\n return markup;\n }\n\n}\nfunction assertSymbolDomNode(group) {\n if (group instanceof SymbolNode) {\n return group;\n } else {\n throw new Error(\"Expected symbolNode but got \" + String(group) + \".\");\n }\n}\nfunction assertSpan(group) {\n if (group instanceof Span) {\n return group;\n } else {\n throw new Error(\"Expected span but got \" + String(group) + \".\");\n }\n}\n;// CONCATENATED MODULE: ./src/symbols.js\n/**\n * This file holds a list of all no-argument functions and single-character\n * symbols (like 'a' or ';').\n *\n * For each of the symbols, there are three properties they can have:\n * - font (required): the font to be used for this symbol. Either \"main\" (the\n normal font), or \"ams\" (the ams fonts).\n * - group (required): the ParseNode group type the symbol should have (i.e.\n \"textord\", \"mathord\", etc).\n See https://github.com/KaTeX/KaTeX/wiki/Examining-TeX#group-types\n * - replace: the character that this symbol or function should be\n * replaced with (i.e. \"\\phi\" has a replace value of \"\\u03d5\", the phi\n * character in the main font).\n *\n * The outermost map in the table indicates what mode the symbols should be\n * accepted in (e.g. \"math\" or \"text\").\n */\n// Some of these have a \"-token\" suffix since these are also used as `ParseNode`\n// types for raw text tokens, and we want to avoid conflicts with higher-level\n// `ParseNode` types. These `ParseNode`s are constructed within `Parser` by\n// looking up the `symbols` map.\nconst ATOMS = {\n \"bin\": 1,\n \"close\": 1,\n \"inner\": 1,\n \"open\": 1,\n \"punct\": 1,\n \"rel\": 1\n};\nconst NON_ATOMS = {\n \"accent-token\": 1,\n \"mathord\": 1,\n \"op-token\": 1,\n \"spacing\": 1,\n \"textord\": 1\n};\nconst symbols = {\n \"math\": {},\n \"text\": {}\n};\n/* harmony default export */ var src_symbols = (symbols);\n/** `acceptUnicodeChar = true` is only applicable if `replace` is set. */\n\nfunction defineSymbol(mode, font, group, replace, name, acceptUnicodeChar) {\n symbols[mode][name] = {\n font,\n group,\n replace\n };\n\n if (acceptUnicodeChar && replace) {\n symbols[mode][replace] = symbols[mode][name];\n }\n} // Some abbreviations for commonly used strings.\n// This helps minify the code, and also spotting typos using jshint.\n// modes:\n\nconst math = \"math\";\nconst symbols_text = \"text\"; // fonts:\n\nconst main = \"main\";\nconst ams = \"ams\"; // groups:\n\nconst accent = \"accent-token\";\nconst bin = \"bin\";\nconst symbols_close = \"close\";\nconst inner = \"inner\";\nconst mathord = \"mathord\";\nconst op = \"op-token\";\nconst symbols_open = \"open\";\nconst punct = \"punct\";\nconst rel = \"rel\";\nconst spacing = \"spacing\";\nconst textord = \"textord\"; // Now comes the symbol table\n// Relation Symbols\n\ndefineSymbol(math, main, rel, \"\\u2261\", \"\\\\equiv\", true);\ndefineSymbol(math, main, rel, \"\\u227a\", \"\\\\prec\", true);\ndefineSymbol(math, main, rel, \"\\u227b\", \"\\\\succ\", true);\ndefineSymbol(math, main, rel, \"\\u223c\", \"\\\\sim\", true);\ndefineSymbol(math, main, rel, \"\\u22a5\", \"\\\\perp\");\ndefineSymbol(math, main, rel, \"\\u2aaf\", \"\\\\preceq\", true);\ndefineSymbol(math, main, rel, \"\\u2ab0\", \"\\\\succeq\", true);\ndefineSymbol(math, main, rel, \"\\u2243\", \"\\\\simeq\", true);\ndefineSymbol(math, main, rel, \"\\u2223\", \"\\\\mid\", true);\ndefineSymbol(math, main, rel, \"\\u226a\", \"\\\\ll\", true);\ndefineSymbol(math, main, rel, \"\\u226b\", \"\\\\gg\", true);\ndefineSymbol(math, main, rel, \"\\u224d\", \"\\\\asymp\", true);\ndefineSymbol(math, main, rel, \"\\u2225\", \"\\\\parallel\");\ndefineSymbol(math, main, rel, \"\\u22c8\", \"\\\\bowtie\", true);\ndefineSymbol(math, main, rel, \"\\u2323\", \"\\\\smile\", true);\ndefineSymbol(math, main, rel, \"\\u2291\", \"\\\\sqsubseteq\", true);\ndefineSymbol(math, main, rel, \"\\u2292\", \"\\\\sqsupseteq\", true);\ndefineSymbol(math, main, rel, \"\\u2250\", \"\\\\doteq\", true);\ndefineSymbol(math, main, rel, \"\\u2322\", \"\\\\frown\", true);\ndefineSymbol(math, main, rel, \"\\u220b\", \"\\\\ni\", true);\ndefineSymbol(math, main, rel, \"\\u221d\", \"\\\\propto\", true);\ndefineSymbol(math, main, rel, \"\\u22a2\", \"\\\\vdash\", true);\ndefineSymbol(math, main, rel, \"\\u22a3\", \"\\\\dashv\", true);\ndefineSymbol(math, main, rel, \"\\u220b\", \"\\\\owns\"); // Punctuation\n\ndefineSymbol(math, main, punct, \"\\u002e\", \"\\\\ldotp\");\ndefineSymbol(math, main, punct, \"\\u22c5\", \"\\\\cdotp\"); // Misc Symbols\n\ndefineSymbol(math, main, textord, \"\\u0023\", \"\\\\#\");\ndefineSymbol(symbols_text, main, textord, \"\\u0023\", \"\\\\#\");\ndefineSymbol(math, main, textord, \"\\u0026\", \"\\\\&\");\ndefineSymbol(symbols_text, main, textord, \"\\u0026\", \"\\\\&\");\ndefineSymbol(math, main, textord, \"\\u2135\", \"\\\\aleph\", true);\ndefineSymbol(math, main, textord, \"\\u2200\", \"\\\\forall\", true);\ndefineSymbol(math, main, textord, \"\\u210f\", \"\\\\hbar\", true);\ndefineSymbol(math, main, textord, \"\\u2203\", \"\\\\exists\", true);\ndefineSymbol(math, main, textord, \"\\u2207\", \"\\\\nabla\", true);\ndefineSymbol(math, main, textord, \"\\u266d\", \"\\\\flat\", true);\ndefineSymbol(math, main, textord, \"\\u2113\", \"\\\\ell\", true);\ndefineSymbol(math, main, textord, \"\\u266e\", \"\\\\natural\", true);\ndefineSymbol(math, main, textord, \"\\u2663\", \"\\\\clubsuit\", true);\ndefineSymbol(math, main, textord, \"\\u2118\", \"\\\\wp\", true);\ndefineSymbol(math, main, textord, \"\\u266f\", \"\\\\sharp\", true);\ndefineSymbol(math, main, textord, \"\\u2662\", \"\\\\diamondsuit\", true);\ndefineSymbol(math, main, textord, \"\\u211c\", \"\\\\Re\", true);\ndefineSymbol(math, main, textord, \"\\u2661\", \"\\\\heartsuit\", true);\ndefineSymbol(math, main, textord, \"\\u2111\", \"\\\\Im\", true);\ndefineSymbol(math, main, textord, \"\\u2660\", \"\\\\spadesuit\", true);\ndefineSymbol(math, main, textord, \"\\u00a7\", \"\\\\S\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00a7\", \"\\\\S\");\ndefineSymbol(math, main, textord, \"\\u00b6\", \"\\\\P\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00b6\", \"\\\\P\"); // Math and Text\n\ndefineSymbol(math, main, textord, \"\\u2020\", \"\\\\dag\");\ndefineSymbol(symbols_text, main, textord, \"\\u2020\", \"\\\\dag\");\ndefineSymbol(symbols_text, main, textord, \"\\u2020\", \"\\\\textdagger\");\ndefineSymbol(math, main, textord, \"\\u2021\", \"\\\\ddag\");\ndefineSymbol(symbols_text, main, textord, \"\\u2021\", \"\\\\ddag\");\ndefineSymbol(symbols_text, main, textord, \"\\u2021\", \"\\\\textdaggerdbl\"); // Large Delimiters\n\ndefineSymbol(math, main, symbols_close, \"\\u23b1\", \"\\\\rmoustache\", true);\ndefineSymbol(math, main, symbols_open, \"\\u23b0\", \"\\\\lmoustache\", true);\ndefineSymbol(math, main, symbols_close, \"\\u27ef\", \"\\\\rgroup\", true);\ndefineSymbol(math, main, symbols_open, \"\\u27ee\", \"\\\\lgroup\", true); // Binary Operators\n\ndefineSymbol(math, main, bin, \"\\u2213\", \"\\\\mp\", true);\ndefineSymbol(math, main, bin, \"\\u2296\", \"\\\\ominus\", true);\ndefineSymbol(math, main, bin, \"\\u228e\", \"\\\\uplus\", true);\ndefineSymbol(math, main, bin, \"\\u2293\", \"\\\\sqcap\", true);\ndefineSymbol(math, main, bin, \"\\u2217\", \"\\\\ast\");\ndefineSymbol(math, main, bin, \"\\u2294\", \"\\\\sqcup\", true);\ndefineSymbol(math, main, bin, \"\\u25ef\", \"\\\\bigcirc\", true);\ndefineSymbol(math, main, bin, \"\\u2219\", \"\\\\bullet\", true);\ndefineSymbol(math, main, bin, \"\\u2021\", \"\\\\ddagger\");\ndefineSymbol(math, main, bin, \"\\u2240\", \"\\\\wr\", true);\ndefineSymbol(math, main, bin, \"\\u2a3f\", \"\\\\amalg\");\ndefineSymbol(math, main, bin, \"\\u0026\", \"\\\\And\"); // from amsmath\n// Arrow Symbols\n\ndefineSymbol(math, main, rel, \"\\u27f5\", \"\\\\longleftarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21d0\", \"\\\\Leftarrow\", true);\ndefineSymbol(math, main, rel, \"\\u27f8\", \"\\\\Longleftarrow\", true);\ndefineSymbol(math, main, rel, \"\\u27f6\", \"\\\\longrightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21d2\", \"\\\\Rightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u27f9\", \"\\\\Longrightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u2194\", \"\\\\leftrightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u27f7\", \"\\\\longleftrightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21d4\", \"\\\\Leftrightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u27fa\", \"\\\\Longleftrightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21a6\", \"\\\\mapsto\", true);\ndefineSymbol(math, main, rel, \"\\u27fc\", \"\\\\longmapsto\", true);\ndefineSymbol(math, main, rel, \"\\u2197\", \"\\\\nearrow\", true);\ndefineSymbol(math, main, rel, \"\\u21a9\", \"\\\\hookleftarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21aa\", \"\\\\hookrightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u2198\", \"\\\\searrow\", true);\ndefineSymbol(math, main, rel, \"\\u21bc\", \"\\\\leftharpoonup\", true);\ndefineSymbol(math, main, rel, \"\\u21c0\", \"\\\\rightharpoonup\", true);\ndefineSymbol(math, main, rel, \"\\u2199\", \"\\\\swarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21bd\", \"\\\\leftharpoondown\", true);\ndefineSymbol(math, main, rel, \"\\u21c1\", \"\\\\rightharpoondown\", true);\ndefineSymbol(math, main, rel, \"\\u2196\", \"\\\\nwarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21cc\", \"\\\\rightleftharpoons\", true); // AMS Negated Binary Relations\n\ndefineSymbol(math, ams, rel, \"\\u226e\", \"\\\\nless\", true); // Symbol names preceded by \"@\" each have a corresponding macro.\n\ndefineSymbol(math, ams, rel, \"\\ue010\", \"\\\\@nleqslant\");\ndefineSymbol(math, ams, rel, \"\\ue011\", \"\\\\@nleqq\");\ndefineSymbol(math, ams, rel, \"\\u2a87\", \"\\\\lneq\", true);\ndefineSymbol(math, ams, rel, \"\\u2268\", \"\\\\lneqq\", true);\ndefineSymbol(math, ams, rel, \"\\ue00c\", \"\\\\@lvertneqq\");\ndefineSymbol(math, ams, rel, \"\\u22e6\", \"\\\\lnsim\", true);\ndefineSymbol(math, ams, rel, \"\\u2a89\", \"\\\\lnapprox\", true);\ndefineSymbol(math, ams, rel, \"\\u2280\", \"\\\\nprec\", true); // unicode-math maps \\u22e0 to \\npreccurlyeq. We'll use the AMS synonym.\n\ndefineSymbol(math, ams, rel, \"\\u22e0\", \"\\\\npreceq\", true);\ndefineSymbol(math, ams, rel, \"\\u22e8\", \"\\\\precnsim\", true);\ndefineSymbol(math, ams, rel, \"\\u2ab9\", \"\\\\precnapprox\", true);\ndefineSymbol(math, ams, rel, \"\\u2241\", \"\\\\nsim\", true);\ndefineSymbol(math, ams, rel, \"\\ue006\", \"\\\\@nshortmid\");\ndefineSymbol(math, ams, rel, \"\\u2224\", \"\\\\nmid\", true);\ndefineSymbol(math, ams, rel, \"\\u22ac\", \"\\\\nvdash\", true);\ndefineSymbol(math, ams, rel, \"\\u22ad\", \"\\\\nvDash\", true);\ndefineSymbol(math, ams, rel, \"\\u22ea\", \"\\\\ntriangleleft\");\ndefineSymbol(math, ams, rel, \"\\u22ec\", \"\\\\ntrianglelefteq\", true);\ndefineSymbol(math, ams, rel, \"\\u228a\", \"\\\\subsetneq\", true);\ndefineSymbol(math, ams, rel, \"\\ue01a\", \"\\\\@varsubsetneq\");\ndefineSymbol(math, ams, rel, \"\\u2acb\", \"\\\\subsetneqq\", true);\ndefineSymbol(math, ams, rel, \"\\ue017\", \"\\\\@varsubsetneqq\");\ndefineSymbol(math, ams, rel, \"\\u226f\", \"\\\\ngtr\", true);\ndefineSymbol(math, ams, rel, \"\\ue00f\", \"\\\\@ngeqslant\");\ndefineSymbol(math, ams, rel, \"\\ue00e\", \"\\\\@ngeqq\");\ndefineSymbol(math, ams, rel, \"\\u2a88\", \"\\\\gneq\", true);\ndefineSymbol(math, ams, rel, \"\\u2269\", \"\\\\gneqq\", true);\ndefineSymbol(math, ams, rel, \"\\ue00d\", \"\\\\@gvertneqq\");\ndefineSymbol(math, ams, rel, \"\\u22e7\", \"\\\\gnsim\", true);\ndefineSymbol(math, ams, rel, \"\\u2a8a\", \"\\\\gnapprox\", true);\ndefineSymbol(math, ams, rel, \"\\u2281\", \"\\\\nsucc\", true); // unicode-math maps \\u22e1 to \\nsucccurlyeq. We'll use the AMS synonym.\n\ndefineSymbol(math, ams, rel, \"\\u22e1\", \"\\\\nsucceq\", true);\ndefineSymbol(math, ams, rel, \"\\u22e9\", \"\\\\succnsim\", true);\ndefineSymbol(math, ams, rel, \"\\u2aba\", \"\\\\succnapprox\", true); // unicode-math maps \\u2246 to \\simneqq. We'll use the AMS synonym.\n\ndefineSymbol(math, ams, rel, \"\\u2246\", \"\\\\ncong\", true);\ndefineSymbol(math, ams, rel, \"\\ue007\", \"\\\\@nshortparallel\");\ndefineSymbol(math, ams, rel, \"\\u2226\", \"\\\\nparallel\", true);\ndefineSymbol(math, ams, rel, \"\\u22af\", \"\\\\nVDash\", true);\ndefineSymbol(math, ams, rel, \"\\u22eb\", \"\\\\ntriangleright\");\ndefineSymbol(math, ams, rel, \"\\u22ed\", \"\\\\ntrianglerighteq\", true);\ndefineSymbol(math, ams, rel, \"\\ue018\", \"\\\\@nsupseteqq\");\ndefineSymbol(math, ams, rel, \"\\u228b\", \"\\\\supsetneq\", true);\ndefineSymbol(math, ams, rel, \"\\ue01b\", \"\\\\@varsupsetneq\");\ndefineSymbol(math, ams, rel, \"\\u2acc\", \"\\\\supsetneqq\", true);\ndefineSymbol(math, ams, rel, \"\\ue019\", \"\\\\@varsupsetneqq\");\ndefineSymbol(math, ams, rel, \"\\u22ae\", \"\\\\nVdash\", true);\ndefineSymbol(math, ams, rel, \"\\u2ab5\", \"\\\\precneqq\", true);\ndefineSymbol(math, ams, rel, \"\\u2ab6\", \"\\\\succneqq\", true);\ndefineSymbol(math, ams, rel, \"\\ue016\", \"\\\\@nsubseteqq\");\ndefineSymbol(math, ams, bin, \"\\u22b4\", \"\\\\unlhd\");\ndefineSymbol(math, ams, bin, \"\\u22b5\", \"\\\\unrhd\"); // AMS Negated Arrows\n\ndefineSymbol(math, ams, rel, \"\\u219a\", \"\\\\nleftarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u219b\", \"\\\\nrightarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21cd\", \"\\\\nLeftarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21cf\", \"\\\\nRightarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21ae\", \"\\\\nleftrightarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21ce\", \"\\\\nLeftrightarrow\", true); // AMS Misc\n\ndefineSymbol(math, ams, rel, \"\\u25b3\", \"\\\\vartriangle\");\ndefineSymbol(math, ams, textord, \"\\u210f\", \"\\\\hslash\");\ndefineSymbol(math, ams, textord, \"\\u25bd\", \"\\\\triangledown\");\ndefineSymbol(math, ams, textord, \"\\u25ca\", \"\\\\lozenge\");\ndefineSymbol(math, ams, textord, \"\\u24c8\", \"\\\\circledS\");\ndefineSymbol(math, ams, textord, \"\\u00ae\", \"\\\\circledR\");\ndefineSymbol(symbols_text, ams, textord, \"\\u00ae\", \"\\\\circledR\");\ndefineSymbol(math, ams, textord, \"\\u2221\", \"\\\\measuredangle\", true);\ndefineSymbol(math, ams, textord, \"\\u2204\", \"\\\\nexists\");\ndefineSymbol(math, ams, textord, \"\\u2127\", \"\\\\mho\");\ndefineSymbol(math, ams, textord, \"\\u2132\", \"\\\\Finv\", true);\ndefineSymbol(math, ams, textord, \"\\u2141\", \"\\\\Game\", true);\ndefineSymbol(math, ams, textord, \"\\u2035\", \"\\\\backprime\");\ndefineSymbol(math, ams, textord, \"\\u25b2\", \"\\\\blacktriangle\");\ndefineSymbol(math, ams, textord, \"\\u25bc\", \"\\\\blacktriangledown\");\ndefineSymbol(math, ams, textord, \"\\u25a0\", \"\\\\blacksquare\");\ndefineSymbol(math, ams, textord, \"\\u29eb\", \"\\\\blacklozenge\");\ndefineSymbol(math, ams, textord, \"\\u2605\", \"\\\\bigstar\");\ndefineSymbol(math, ams, textord, \"\\u2222\", \"\\\\sphericalangle\", true);\ndefineSymbol(math, ams, textord, \"\\u2201\", \"\\\\complement\", true); // unicode-math maps U+F0 to \\matheth. We map to AMS function \\eth\n\ndefineSymbol(math, ams, textord, \"\\u00f0\", \"\\\\eth\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00f0\", \"\\u00f0\");\ndefineSymbol(math, ams, textord, \"\\u2571\", \"\\\\diagup\");\ndefineSymbol(math, ams, textord, \"\\u2572\", \"\\\\diagdown\");\ndefineSymbol(math, ams, textord, \"\\u25a1\", \"\\\\square\");\ndefineSymbol(math, ams, textord, \"\\u25a1\", \"\\\\Box\");\ndefineSymbol(math, ams, textord, \"\\u25ca\", \"\\\\Diamond\"); // unicode-math maps U+A5 to \\mathyen. We map to AMS function \\yen\n\ndefineSymbol(math, ams, textord, \"\\u00a5\", \"\\\\yen\", true);\ndefineSymbol(symbols_text, ams, textord, \"\\u00a5\", \"\\\\yen\", true);\ndefineSymbol(math, ams, textord, \"\\u2713\", \"\\\\checkmark\", true);\ndefineSymbol(symbols_text, ams, textord, \"\\u2713\", \"\\\\checkmark\"); // AMS Hebrew\n\ndefineSymbol(math, ams, textord, \"\\u2136\", \"\\\\beth\", true);\ndefineSymbol(math, ams, textord, \"\\u2138\", \"\\\\daleth\", true);\ndefineSymbol(math, ams, textord, \"\\u2137\", \"\\\\gimel\", true); // AMS Greek\n\ndefineSymbol(math, ams, textord, \"\\u03dd\", \"\\\\digamma\", true);\ndefineSymbol(math, ams, textord, \"\\u03f0\", \"\\\\varkappa\"); // AMS Delimiters\n\ndefineSymbol(math, ams, symbols_open, \"\\u250c\", \"\\\\@ulcorner\", true);\ndefineSymbol(math, ams, symbols_close, \"\\u2510\", \"\\\\@urcorner\", true);\ndefineSymbol(math, ams, symbols_open, \"\\u2514\", \"\\\\@llcorner\", true);\ndefineSymbol(math, ams, symbols_close, \"\\u2518\", \"\\\\@lrcorner\", true); // AMS Binary Relations\n\ndefineSymbol(math, ams, rel, \"\\u2266\", \"\\\\leqq\", true);\ndefineSymbol(math, ams, rel, \"\\u2a7d\", \"\\\\leqslant\", true);\ndefineSymbol(math, ams, rel, \"\\u2a95\", \"\\\\eqslantless\", true);\ndefineSymbol(math, ams, rel, \"\\u2272\", \"\\\\lesssim\", true);\ndefineSymbol(math, ams, rel, \"\\u2a85\", \"\\\\lessapprox\", true);\ndefineSymbol(math, ams, rel, \"\\u224a\", \"\\\\approxeq\", true);\ndefineSymbol(math, ams, bin, \"\\u22d6\", \"\\\\lessdot\");\ndefineSymbol(math, ams, rel, \"\\u22d8\", \"\\\\lll\", true);\ndefineSymbol(math, ams, rel, \"\\u2276\", \"\\\\lessgtr\", true);\ndefineSymbol(math, ams, rel, \"\\u22da\", \"\\\\lesseqgtr\", true);\ndefineSymbol(math, ams, rel, \"\\u2a8b\", \"\\\\lesseqqgtr\", true);\ndefineSymbol(math, ams, rel, \"\\u2251\", \"\\\\doteqdot\");\ndefineSymbol(math, ams, rel, \"\\u2253\", \"\\\\risingdotseq\", true);\ndefineSymbol(math, ams, rel, \"\\u2252\", \"\\\\fallingdotseq\", true);\ndefineSymbol(math, ams, rel, \"\\u223d\", \"\\\\backsim\", true);\ndefineSymbol(math, ams, rel, \"\\u22cd\", \"\\\\backsimeq\", true);\ndefineSymbol(math, ams, rel, \"\\u2ac5\", \"\\\\subseteqq\", true);\ndefineSymbol(math, ams, rel, \"\\u22d0\", \"\\\\Subset\", true);\ndefineSymbol(math, ams, rel, \"\\u228f\", \"\\\\sqsubset\", true);\ndefineSymbol(math, ams, rel, \"\\u227c\", \"\\\\preccurlyeq\", true);\ndefineSymbol(math, ams, rel, \"\\u22de\", \"\\\\curlyeqprec\", true);\ndefineSymbol(math, ams, rel, \"\\u227e\", \"\\\\precsim\", true);\ndefineSymbol(math, ams, rel, \"\\u2ab7\", \"\\\\precapprox\", true);\ndefineSymbol(math, ams, rel, \"\\u22b2\", \"\\\\vartriangleleft\");\ndefineSymbol(math, ams, rel, \"\\u22b4\", \"\\\\trianglelefteq\");\ndefineSymbol(math, ams, rel, \"\\u22a8\", \"\\\\vDash\", true);\ndefineSymbol(math, ams, rel, \"\\u22aa\", \"\\\\Vvdash\", true);\ndefineSymbol(math, ams, rel, \"\\u2323\", \"\\\\smallsmile\");\ndefineSymbol(math, ams, rel, \"\\u2322\", \"\\\\smallfrown\");\ndefineSymbol(math, ams, rel, \"\\u224f\", \"\\\\bumpeq\", true);\ndefineSymbol(math, ams, rel, \"\\u224e\", \"\\\\Bumpeq\", true);\ndefineSymbol(math, ams, rel, \"\\u2267\", \"\\\\geqq\", true);\ndefineSymbol(math, ams, rel, \"\\u2a7e\", \"\\\\geqslant\", true);\ndefineSymbol(math, ams, rel, \"\\u2a96\", \"\\\\eqslantgtr\", true);\ndefineSymbol(math, ams, rel, \"\\u2273\", \"\\\\gtrsim\", true);\ndefineSymbol(math, ams, rel, \"\\u2a86\", \"\\\\gtrapprox\", true);\ndefineSymbol(math, ams, bin, \"\\u22d7\", \"\\\\gtrdot\");\ndefineSymbol(math, ams, rel, \"\\u22d9\", \"\\\\ggg\", true);\ndefineSymbol(math, ams, rel, \"\\u2277\", \"\\\\gtrless\", true);\ndefineSymbol(math, ams, rel, \"\\u22db\", \"\\\\gtreqless\", true);\ndefineSymbol(math, ams, rel, \"\\u2a8c\", \"\\\\gtreqqless\", true);\ndefineSymbol(math, ams, rel, \"\\u2256\", \"\\\\eqcirc\", true);\ndefineSymbol(math, ams, rel, \"\\u2257\", \"\\\\circeq\", true);\ndefineSymbol(math, ams, rel, \"\\u225c\", \"\\\\triangleq\", true);\ndefineSymbol(math, ams, rel, \"\\u223c\", \"\\\\thicksim\");\ndefineSymbol(math, ams, rel, \"\\u2248\", \"\\\\thickapprox\");\ndefineSymbol(math, ams, rel, \"\\u2ac6\", \"\\\\supseteqq\", true);\ndefineSymbol(math, ams, rel, \"\\u22d1\", \"\\\\Supset\", true);\ndefineSymbol(math, ams, rel, \"\\u2290\", \"\\\\sqsupset\", true);\ndefineSymbol(math, ams, rel, \"\\u227d\", \"\\\\succcurlyeq\", true);\ndefineSymbol(math, ams, rel, \"\\u22df\", \"\\\\curlyeqsucc\", true);\ndefineSymbol(math, ams, rel, \"\\u227f\", \"\\\\succsim\", true);\ndefineSymbol(math, ams, rel, \"\\u2ab8\", \"\\\\succapprox\", true);\ndefineSymbol(math, ams, rel, \"\\u22b3\", \"\\\\vartriangleright\");\ndefineSymbol(math, ams, rel, \"\\u22b5\", \"\\\\trianglerighteq\");\ndefineSymbol(math, ams, rel, \"\\u22a9\", \"\\\\Vdash\", true);\ndefineSymbol(math, ams, rel, \"\\u2223\", \"\\\\shortmid\");\ndefineSymbol(math, ams, rel, \"\\u2225\", \"\\\\shortparallel\");\ndefineSymbol(math, ams, rel, \"\\u226c\", \"\\\\between\", true);\ndefineSymbol(math, ams, rel, \"\\u22d4\", \"\\\\pitchfork\", true);\ndefineSymbol(math, ams, rel, \"\\u221d\", \"\\\\varpropto\");\ndefineSymbol(math, ams, rel, \"\\u25c0\", \"\\\\blacktriangleleft\"); // unicode-math says that \\therefore is a mathord atom.\n// We kept the amssymb atom type, which is rel.\n\ndefineSymbol(math, ams, rel, \"\\u2234\", \"\\\\therefore\", true);\ndefineSymbol(math, ams, rel, \"\\u220d\", \"\\\\backepsilon\");\ndefineSymbol(math, ams, rel, \"\\u25b6\", \"\\\\blacktriangleright\"); // unicode-math says that \\because is a mathord atom.\n// We kept the amssymb atom type, which is rel.\n\ndefineSymbol(math, ams, rel, \"\\u2235\", \"\\\\because\", true);\ndefineSymbol(math, ams, rel, \"\\u22d8\", \"\\\\llless\");\ndefineSymbol(math, ams, rel, \"\\u22d9\", \"\\\\gggtr\");\ndefineSymbol(math, ams, bin, \"\\u22b2\", \"\\\\lhd\");\ndefineSymbol(math, ams, bin, \"\\u22b3\", \"\\\\rhd\");\ndefineSymbol(math, ams, rel, \"\\u2242\", \"\\\\eqsim\", true);\ndefineSymbol(math, main, rel, \"\\u22c8\", \"\\\\Join\");\ndefineSymbol(math, ams, rel, \"\\u2251\", \"\\\\Doteq\", true); // AMS Binary Operators\n\ndefineSymbol(math, ams, bin, \"\\u2214\", \"\\\\dotplus\", true);\ndefineSymbol(math, ams, bin, \"\\u2216\", \"\\\\smallsetminus\");\ndefineSymbol(math, ams, bin, \"\\u22d2\", \"\\\\Cap\", true);\ndefineSymbol(math, ams, bin, \"\\u22d3\", \"\\\\Cup\", true);\ndefineSymbol(math, ams, bin, \"\\u2a5e\", \"\\\\doublebarwedge\", true);\ndefineSymbol(math, ams, bin, \"\\u229f\", \"\\\\boxminus\", true);\ndefineSymbol(math, ams, bin, \"\\u229e\", \"\\\\boxplus\", true);\ndefineSymbol(math, ams, bin, \"\\u22c7\", \"\\\\divideontimes\", true);\ndefineSymbol(math, ams, bin, \"\\u22c9\", \"\\\\ltimes\", true);\ndefineSymbol(math, ams, bin, \"\\u22ca\", \"\\\\rtimes\", true);\ndefineSymbol(math, ams, bin, \"\\u22cb\", \"\\\\leftthreetimes\", true);\ndefineSymbol(math, ams, bin, \"\\u22cc\", \"\\\\rightthreetimes\", true);\ndefineSymbol(math, ams, bin, \"\\u22cf\", \"\\\\curlywedge\", true);\ndefineSymbol(math, ams, bin, \"\\u22ce\", \"\\\\curlyvee\", true);\ndefineSymbol(math, ams, bin, \"\\u229d\", \"\\\\circleddash\", true);\ndefineSymbol(math, ams, bin, \"\\u229b\", \"\\\\circledast\", true);\ndefineSymbol(math, ams, bin, \"\\u22c5\", \"\\\\centerdot\");\ndefineSymbol(math, ams, bin, \"\\u22ba\", \"\\\\intercal\", true);\ndefineSymbol(math, ams, bin, \"\\u22d2\", \"\\\\doublecap\");\ndefineSymbol(math, ams, bin, \"\\u22d3\", \"\\\\doublecup\");\ndefineSymbol(math, ams, bin, \"\\u22a0\", \"\\\\boxtimes\", true); // AMS Arrows\n// Note: unicode-math maps \\u21e2 to their own function \\rightdasharrow.\n// We'll map it to AMS function \\dashrightarrow. It produces the same atom.\n\ndefineSymbol(math, ams, rel, \"\\u21e2\", \"\\\\dashrightarrow\", true); // unicode-math maps \\u21e0 to \\leftdasharrow. We'll use the AMS synonym.\n\ndefineSymbol(math, ams, rel, \"\\u21e0\", \"\\\\dashleftarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21c7\", \"\\\\leftleftarrows\", true);\ndefineSymbol(math, ams, rel, \"\\u21c6\", \"\\\\leftrightarrows\", true);\ndefineSymbol(math, ams, rel, \"\\u21da\", \"\\\\Lleftarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u219e\", \"\\\\twoheadleftarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21a2\", \"\\\\leftarrowtail\", true);\ndefineSymbol(math, ams, rel, \"\\u21ab\", \"\\\\looparrowleft\", true);\ndefineSymbol(math, ams, rel, \"\\u21cb\", \"\\\\leftrightharpoons\", true);\ndefineSymbol(math, ams, rel, \"\\u21b6\", \"\\\\curvearrowleft\", true); // unicode-math maps \\u21ba to \\acwopencirclearrow. We'll use the AMS synonym.\n\ndefineSymbol(math, ams, rel, \"\\u21ba\", \"\\\\circlearrowleft\", true);\ndefineSymbol(math, ams, rel, \"\\u21b0\", \"\\\\Lsh\", true);\ndefineSymbol(math, ams, rel, \"\\u21c8\", \"\\\\upuparrows\", true);\ndefineSymbol(math, ams, rel, \"\\u21bf\", \"\\\\upharpoonleft\", true);\ndefineSymbol(math, ams, rel, \"\\u21c3\", \"\\\\downharpoonleft\", true);\ndefineSymbol(math, main, rel, \"\\u22b6\", \"\\\\origof\", true); // not in font\n\ndefineSymbol(math, main, rel, \"\\u22b7\", \"\\\\imageof\", true); // not in font\n\ndefineSymbol(math, ams, rel, \"\\u22b8\", \"\\\\multimap\", true);\ndefineSymbol(math, ams, rel, \"\\u21ad\", \"\\\\leftrightsquigarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21c9\", \"\\\\rightrightarrows\", true);\ndefineSymbol(math, ams, rel, \"\\u21c4\", \"\\\\rightleftarrows\", true);\ndefineSymbol(math, ams, rel, \"\\u21a0\", \"\\\\twoheadrightarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21a3\", \"\\\\rightarrowtail\", true);\ndefineSymbol(math, ams, rel, \"\\u21ac\", \"\\\\looparrowright\", true);\ndefineSymbol(math, ams, rel, \"\\u21b7\", \"\\\\curvearrowright\", true); // unicode-math maps \\u21bb to \\cwopencirclearrow. We'll use the AMS synonym.\n\ndefineSymbol(math, ams, rel, \"\\u21bb\", \"\\\\circlearrowright\", true);\ndefineSymbol(math, ams, rel, \"\\u21b1\", \"\\\\Rsh\", true);\ndefineSymbol(math, ams, rel, \"\\u21ca\", \"\\\\downdownarrows\", true);\ndefineSymbol(math, ams, rel, \"\\u21be\", \"\\\\upharpoonright\", true);\ndefineSymbol(math, ams, rel, \"\\u21c2\", \"\\\\downharpoonright\", true);\ndefineSymbol(math, ams, rel, \"\\u21dd\", \"\\\\rightsquigarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21dd\", \"\\\\leadsto\");\ndefineSymbol(math, ams, rel, \"\\u21db\", \"\\\\Rrightarrow\", true);\ndefineSymbol(math, ams, rel, \"\\u21be\", \"\\\\restriction\");\ndefineSymbol(math, main, textord, \"\\u2018\", \"`\");\ndefineSymbol(math, main, textord, \"$\", \"\\\\$\");\ndefineSymbol(symbols_text, main, textord, \"$\", \"\\\\$\");\ndefineSymbol(symbols_text, main, textord, \"$\", \"\\\\textdollar\");\ndefineSymbol(math, main, textord, \"%\", \"\\\\%\");\ndefineSymbol(symbols_text, main, textord, \"%\", \"\\\\%\");\ndefineSymbol(math, main, textord, \"_\", \"\\\\_\");\ndefineSymbol(symbols_text, main, textord, \"_\", \"\\\\_\");\ndefineSymbol(symbols_text, main, textord, \"_\", \"\\\\textunderscore\");\ndefineSymbol(math, main, textord, \"\\u2220\", \"\\\\angle\", true);\ndefineSymbol(math, main, textord, \"\\u221e\", \"\\\\infty\", true);\ndefineSymbol(math, main, textord, \"\\u2032\", \"\\\\prime\");\ndefineSymbol(math, main, textord, \"\\u25b3\", \"\\\\triangle\");\ndefineSymbol(math, main, textord, \"\\u0393\", \"\\\\Gamma\", true);\ndefineSymbol(math, main, textord, \"\\u0394\", \"\\\\Delta\", true);\ndefineSymbol(math, main, textord, \"\\u0398\", \"\\\\Theta\", true);\ndefineSymbol(math, main, textord, \"\\u039b\", \"\\\\Lambda\", true);\ndefineSymbol(math, main, textord, \"\\u039e\", \"\\\\Xi\", true);\ndefineSymbol(math, main, textord, \"\\u03a0\", \"\\\\Pi\", true);\ndefineSymbol(math, main, textord, \"\\u03a3\", \"\\\\Sigma\", true);\ndefineSymbol(math, main, textord, \"\\u03a5\", \"\\\\Upsilon\", true);\ndefineSymbol(math, main, textord, \"\\u03a6\", \"\\\\Phi\", true);\ndefineSymbol(math, main, textord, \"\\u03a8\", \"\\\\Psi\", true);\ndefineSymbol(math, main, textord, \"\\u03a9\", \"\\\\Omega\", true);\ndefineSymbol(math, main, textord, \"A\", \"\\u0391\");\ndefineSymbol(math, main, textord, \"B\", \"\\u0392\");\ndefineSymbol(math, main, textord, \"E\", \"\\u0395\");\ndefineSymbol(math, main, textord, \"Z\", \"\\u0396\");\ndefineSymbol(math, main, textord, \"H\", \"\\u0397\");\ndefineSymbol(math, main, textord, \"I\", \"\\u0399\");\ndefineSymbol(math, main, textord, \"K\", \"\\u039A\");\ndefineSymbol(math, main, textord, \"M\", \"\\u039C\");\ndefineSymbol(math, main, textord, \"N\", \"\\u039D\");\ndefineSymbol(math, main, textord, \"O\", \"\\u039F\");\ndefineSymbol(math, main, textord, \"P\", \"\\u03A1\");\ndefineSymbol(math, main, textord, \"T\", \"\\u03A4\");\ndefineSymbol(math, main, textord, \"X\", \"\\u03A7\");\ndefineSymbol(math, main, textord, \"\\u00ac\", \"\\\\neg\", true);\ndefineSymbol(math, main, textord, \"\\u00ac\", \"\\\\lnot\");\ndefineSymbol(math, main, textord, \"\\u22a4\", \"\\\\top\");\ndefineSymbol(math, main, textord, \"\\u22a5\", \"\\\\bot\");\ndefineSymbol(math, main, textord, \"\\u2205\", \"\\\\emptyset\");\ndefineSymbol(math, ams, textord, \"\\u2205\", \"\\\\varnothing\");\ndefineSymbol(math, main, mathord, \"\\u03b1\", \"\\\\alpha\", true);\ndefineSymbol(math, main, mathord, \"\\u03b2\", \"\\\\beta\", true);\ndefineSymbol(math, main, mathord, \"\\u03b3\", \"\\\\gamma\", true);\ndefineSymbol(math, main, mathord, \"\\u03b4\", \"\\\\delta\", true);\ndefineSymbol(math, main, mathord, \"\\u03f5\", \"\\\\epsilon\", true);\ndefineSymbol(math, main, mathord, \"\\u03b6\", \"\\\\zeta\", true);\ndefineSymbol(math, main, mathord, \"\\u03b7\", \"\\\\eta\", true);\ndefineSymbol(math, main, mathord, \"\\u03b8\", \"\\\\theta\", true);\ndefineSymbol(math, main, mathord, \"\\u03b9\", \"\\\\iota\", true);\ndefineSymbol(math, main, mathord, \"\\u03ba\", \"\\\\kappa\", true);\ndefineSymbol(math, main, mathord, \"\\u03bb\", \"\\\\lambda\", true);\ndefineSymbol(math, main, mathord, \"\\u03bc\", \"\\\\mu\", true);\ndefineSymbol(math, main, mathord, \"\\u03bd\", \"\\\\nu\", true);\ndefineSymbol(math, main, mathord, \"\\u03be\", \"\\\\xi\", true);\ndefineSymbol(math, main, mathord, \"\\u03bf\", \"\\\\omicron\", true);\ndefineSymbol(math, main, mathord, \"\\u03c0\", \"\\\\pi\", true);\ndefineSymbol(math, main, mathord, \"\\u03c1\", \"\\\\rho\", true);\ndefineSymbol(math, main, mathord, \"\\u03c3\", \"\\\\sigma\", true);\ndefineSymbol(math, main, mathord, \"\\u03c4\", \"\\\\tau\", true);\ndefineSymbol(math, main, mathord, \"\\u03c5\", \"\\\\upsilon\", true);\ndefineSymbol(math, main, mathord, \"\\u03d5\", \"\\\\phi\", true);\ndefineSymbol(math, main, mathord, \"\\u03c7\", \"\\\\chi\", true);\ndefineSymbol(math, main, mathord, \"\\u03c8\", \"\\\\psi\", true);\ndefineSymbol(math, main, mathord, \"\\u03c9\", \"\\\\omega\", true);\ndefineSymbol(math, main, mathord, \"\\u03b5\", \"\\\\varepsilon\", true);\ndefineSymbol(math, main, mathord, \"\\u03d1\", \"\\\\vartheta\", true);\ndefineSymbol(math, main, mathord, \"\\u03d6\", \"\\\\varpi\", true);\ndefineSymbol(math, main, mathord, \"\\u03f1\", \"\\\\varrho\", true);\ndefineSymbol(math, main, mathord, \"\\u03c2\", \"\\\\varsigma\", true);\ndefineSymbol(math, main, mathord, \"\\u03c6\", \"\\\\varphi\", true);\ndefineSymbol(math, main, bin, \"\\u2217\", \"*\", true);\ndefineSymbol(math, main, bin, \"+\", \"+\");\ndefineSymbol(math, main, bin, \"\\u2212\", \"-\", true);\ndefineSymbol(math, main, bin, \"\\u22c5\", \"\\\\cdot\", true);\ndefineSymbol(math, main, bin, \"\\u2218\", \"\\\\circ\", true);\ndefineSymbol(math, main, bin, \"\\u00f7\", \"\\\\div\", true);\ndefineSymbol(math, main, bin, \"\\u00b1\", \"\\\\pm\", true);\ndefineSymbol(math, main, bin, \"\\u00d7\", \"\\\\times\", true);\ndefineSymbol(math, main, bin, \"\\u2229\", \"\\\\cap\", true);\ndefineSymbol(math, main, bin, \"\\u222a\", \"\\\\cup\", true);\ndefineSymbol(math, main, bin, \"\\u2216\", \"\\\\setminus\", true);\ndefineSymbol(math, main, bin, \"\\u2227\", \"\\\\land\");\ndefineSymbol(math, main, bin, \"\\u2228\", \"\\\\lor\");\ndefineSymbol(math, main, bin, \"\\u2227\", \"\\\\wedge\", true);\ndefineSymbol(math, main, bin, \"\\u2228\", \"\\\\vee\", true);\ndefineSymbol(math, main, textord, \"\\u221a\", \"\\\\surd\");\ndefineSymbol(math, main, symbols_open, \"\\u27e8\", \"\\\\langle\", true);\ndefineSymbol(math, main, symbols_open, \"\\u2223\", \"\\\\lvert\");\ndefineSymbol(math, main, symbols_open, \"\\u2225\", \"\\\\lVert\");\ndefineSymbol(math, main, symbols_close, \"?\", \"?\");\ndefineSymbol(math, main, symbols_close, \"!\", \"!\");\ndefineSymbol(math, main, symbols_close, \"\\u27e9\", \"\\\\rangle\", true);\ndefineSymbol(math, main, symbols_close, \"\\u2223\", \"\\\\rvert\");\ndefineSymbol(math, main, symbols_close, \"\\u2225\", \"\\\\rVert\");\ndefineSymbol(math, main, rel, \"=\", \"=\");\ndefineSymbol(math, main, rel, \":\", \":\");\ndefineSymbol(math, main, rel, \"\\u2248\", \"\\\\approx\", true);\ndefineSymbol(math, main, rel, \"\\u2245\", \"\\\\cong\", true);\ndefineSymbol(math, main, rel, \"\\u2265\", \"\\\\ge\");\ndefineSymbol(math, main, rel, \"\\u2265\", \"\\\\geq\", true);\ndefineSymbol(math, main, rel, \"\\u2190\", \"\\\\gets\");\ndefineSymbol(math, main, rel, \">\", \"\\\\gt\", true);\ndefineSymbol(math, main, rel, \"\\u2208\", \"\\\\in\", true);\ndefineSymbol(math, main, rel, \"\\ue020\", \"\\\\@not\");\ndefineSymbol(math, main, rel, \"\\u2282\", \"\\\\subset\", true);\ndefineSymbol(math, main, rel, \"\\u2283\", \"\\\\supset\", true);\ndefineSymbol(math, main, rel, \"\\u2286\", \"\\\\subseteq\", true);\ndefineSymbol(math, main, rel, \"\\u2287\", \"\\\\supseteq\", true);\ndefineSymbol(math, ams, rel, \"\\u2288\", \"\\\\nsubseteq\", true);\ndefineSymbol(math, ams, rel, \"\\u2289\", \"\\\\nsupseteq\", true);\ndefineSymbol(math, main, rel, \"\\u22a8\", \"\\\\models\");\ndefineSymbol(math, main, rel, \"\\u2190\", \"\\\\leftarrow\", true);\ndefineSymbol(math, main, rel, \"\\u2264\", \"\\\\le\");\ndefineSymbol(math, main, rel, \"\\u2264\", \"\\\\leq\", true);\ndefineSymbol(math, main, rel, \"<\", \"\\\\lt\", true);\ndefineSymbol(math, main, rel, \"\\u2192\", \"\\\\rightarrow\", true);\ndefineSymbol(math, main, rel, \"\\u2192\", \"\\\\to\");\ndefineSymbol(math, ams, rel, \"\\u2271\", \"\\\\ngeq\", true);\ndefineSymbol(math, ams, rel, \"\\u2270\", \"\\\\nleq\", true);\ndefineSymbol(math, main, spacing, \"\\u00a0\", \"\\\\ \");\ndefineSymbol(math, main, spacing, \"\\u00a0\", \"\\\\space\"); // Ref: LaTeX Source 2e: \\DeclareRobustCommand{\\nobreakspace}{%\n\ndefineSymbol(math, main, spacing, \"\\u00a0\", \"\\\\nobreakspace\");\ndefineSymbol(symbols_text, main, spacing, \"\\u00a0\", \"\\\\ \");\ndefineSymbol(symbols_text, main, spacing, \"\\u00a0\", \" \");\ndefineSymbol(symbols_text, main, spacing, \"\\u00a0\", \"\\\\space\");\ndefineSymbol(symbols_text, main, spacing, \"\\u00a0\", \"\\\\nobreakspace\");\ndefineSymbol(math, main, spacing, null, \"\\\\nobreak\");\ndefineSymbol(math, main, spacing, null, \"\\\\allowbreak\");\ndefineSymbol(math, main, punct, \",\", \",\");\ndefineSymbol(math, main, punct, \";\", \";\");\ndefineSymbol(math, ams, bin, \"\\u22bc\", \"\\\\barwedge\", true);\ndefineSymbol(math, ams, bin, \"\\u22bb\", \"\\\\veebar\", true);\ndefineSymbol(math, main, bin, \"\\u2299\", \"\\\\odot\", true);\ndefineSymbol(math, main, bin, \"\\u2295\", \"\\\\oplus\", true);\ndefineSymbol(math, main, bin, \"\\u2297\", \"\\\\otimes\", true);\ndefineSymbol(math, main, textord, \"\\u2202\", \"\\\\partial\", true);\ndefineSymbol(math, main, bin, \"\\u2298\", \"\\\\oslash\", true);\ndefineSymbol(math, ams, bin, \"\\u229a\", \"\\\\circledcirc\", true);\ndefineSymbol(math, ams, bin, \"\\u22a1\", \"\\\\boxdot\", true);\ndefineSymbol(math, main, bin, \"\\u25b3\", \"\\\\bigtriangleup\");\ndefineSymbol(math, main, bin, \"\\u25bd\", \"\\\\bigtriangledown\");\ndefineSymbol(math, main, bin, \"\\u2020\", \"\\\\dagger\");\ndefineSymbol(math, main, bin, \"\\u22c4\", \"\\\\diamond\");\ndefineSymbol(math, main, bin, \"\\u22c6\", \"\\\\star\");\ndefineSymbol(math, main, bin, \"\\u25c3\", \"\\\\triangleleft\");\ndefineSymbol(math, main, bin, \"\\u25b9\", \"\\\\triangleright\");\ndefineSymbol(math, main, symbols_open, \"{\", \"\\\\{\");\ndefineSymbol(symbols_text, main, textord, \"{\", \"\\\\{\");\ndefineSymbol(symbols_text, main, textord, \"{\", \"\\\\textbraceleft\");\ndefineSymbol(math, main, symbols_close, \"}\", \"\\\\}\");\ndefineSymbol(symbols_text, main, textord, \"}\", \"\\\\}\");\ndefineSymbol(symbols_text, main, textord, \"}\", \"\\\\textbraceright\");\ndefineSymbol(math, main, symbols_open, \"{\", \"\\\\lbrace\");\ndefineSymbol(math, main, symbols_close, \"}\", \"\\\\rbrace\");\ndefineSymbol(math, main, symbols_open, \"[\", \"\\\\lbrack\", true);\ndefineSymbol(symbols_text, main, textord, \"[\", \"\\\\lbrack\", true);\ndefineSymbol(math, main, symbols_close, \"]\", \"\\\\rbrack\", true);\ndefineSymbol(symbols_text, main, textord, \"]\", \"\\\\rbrack\", true);\ndefineSymbol(math, main, symbols_open, \"(\", \"\\\\lparen\", true);\ndefineSymbol(math, main, symbols_close, \")\", \"\\\\rparen\", true);\ndefineSymbol(symbols_text, main, textord, \"<\", \"\\\\textless\", true); // in T1 fontenc\n\ndefineSymbol(symbols_text, main, textord, \">\", \"\\\\textgreater\", true); // in T1 fontenc\n\ndefineSymbol(math, main, symbols_open, \"\\u230a\", \"\\\\lfloor\", true);\ndefineSymbol(math, main, symbols_close, \"\\u230b\", \"\\\\rfloor\", true);\ndefineSymbol(math, main, symbols_open, \"\\u2308\", \"\\\\lceil\", true);\ndefineSymbol(math, main, symbols_close, \"\\u2309\", \"\\\\rceil\", true);\ndefineSymbol(math, main, textord, \"\\\\\", \"\\\\backslash\");\ndefineSymbol(math, main, textord, \"\\u2223\", \"|\");\ndefineSymbol(math, main, textord, \"\\u2223\", \"\\\\vert\");\ndefineSymbol(symbols_text, main, textord, \"|\", \"\\\\textbar\", true); // in T1 fontenc\n\ndefineSymbol(math, main, textord, \"\\u2225\", \"\\\\|\");\ndefineSymbol(math, main, textord, \"\\u2225\", \"\\\\Vert\");\ndefineSymbol(symbols_text, main, textord, \"\\u2225\", \"\\\\textbardbl\");\ndefineSymbol(symbols_text, main, textord, \"~\", \"\\\\textasciitilde\");\ndefineSymbol(symbols_text, main, textord, \"\\\\\", \"\\\\textbackslash\");\ndefineSymbol(symbols_text, main, textord, \"^\", \"\\\\textasciicircum\");\ndefineSymbol(math, main, rel, \"\\u2191\", \"\\\\uparrow\", true);\ndefineSymbol(math, main, rel, \"\\u21d1\", \"\\\\Uparrow\", true);\ndefineSymbol(math, main, rel, \"\\u2193\", \"\\\\downarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21d3\", \"\\\\Downarrow\", true);\ndefineSymbol(math, main, rel, \"\\u2195\", \"\\\\updownarrow\", true);\ndefineSymbol(math, main, rel, \"\\u21d5\", \"\\\\Updownarrow\", true);\ndefineSymbol(math, main, op, \"\\u2210\", \"\\\\coprod\");\ndefineSymbol(math, main, op, \"\\u22c1\", \"\\\\bigvee\");\ndefineSymbol(math, main, op, \"\\u22c0\", \"\\\\bigwedge\");\ndefineSymbol(math, main, op, \"\\u2a04\", \"\\\\biguplus\");\ndefineSymbol(math, main, op, \"\\u22c2\", \"\\\\bigcap\");\ndefineSymbol(math, main, op, \"\\u22c3\", \"\\\\bigcup\");\ndefineSymbol(math, main, op, \"\\u222b\", \"\\\\int\");\ndefineSymbol(math, main, op, \"\\u222b\", \"\\\\intop\");\ndefineSymbol(math, main, op, \"\\u222c\", \"\\\\iint\");\ndefineSymbol(math, main, op, \"\\u222d\", \"\\\\iiint\");\ndefineSymbol(math, main, op, \"\\u220f\", \"\\\\prod\");\ndefineSymbol(math, main, op, \"\\u2211\", \"\\\\sum\");\ndefineSymbol(math, main, op, \"\\u2a02\", \"\\\\bigotimes\");\ndefineSymbol(math, main, op, \"\\u2a01\", \"\\\\bigoplus\");\ndefineSymbol(math, main, op, \"\\u2a00\", \"\\\\bigodot\");\ndefineSymbol(math, main, op, \"\\u222e\", \"\\\\oint\");\ndefineSymbol(math, main, op, \"\\u222f\", \"\\\\oiint\");\ndefineSymbol(math, main, op, \"\\u2230\", \"\\\\oiiint\");\ndefineSymbol(math, main, op, \"\\u2a06\", \"\\\\bigsqcup\");\ndefineSymbol(math, main, op, \"\\u222b\", \"\\\\smallint\");\ndefineSymbol(symbols_text, main, inner, \"\\u2026\", \"\\\\textellipsis\");\ndefineSymbol(math, main, inner, \"\\u2026\", \"\\\\mathellipsis\");\ndefineSymbol(symbols_text, main, inner, \"\\u2026\", \"\\\\ldots\", true);\ndefineSymbol(math, main, inner, \"\\u2026\", \"\\\\ldots\", true);\ndefineSymbol(math, main, inner, \"\\u22ef\", \"\\\\@cdots\", true);\ndefineSymbol(math, main, inner, \"\\u22f1\", \"\\\\ddots\", true);\ndefineSymbol(math, main, textord, \"\\u22ee\", \"\\\\varvdots\"); // \\vdots is a macro\n\ndefineSymbol(math, main, accent, \"\\u02ca\", \"\\\\acute\");\ndefineSymbol(math, main, accent, \"\\u02cb\", \"\\\\grave\");\ndefineSymbol(math, main, accent, \"\\u00a8\", \"\\\\ddot\");\ndefineSymbol(math, main, accent, \"\\u007e\", \"\\\\tilde\");\ndefineSymbol(math, main, accent, \"\\u02c9\", \"\\\\bar\");\ndefineSymbol(math, main, accent, \"\\u02d8\", \"\\\\breve\");\ndefineSymbol(math, main, accent, \"\\u02c7\", \"\\\\check\");\ndefineSymbol(math, main, accent, \"\\u005e\", \"\\\\hat\");\ndefineSymbol(math, main, accent, \"\\u20d7\", \"\\\\vec\");\ndefineSymbol(math, main, accent, \"\\u02d9\", \"\\\\dot\");\ndefineSymbol(math, main, accent, \"\\u02da\", \"\\\\mathring\"); // \\imath and \\jmath should be invariant to \\mathrm, \\mathbf, etc., so use PUA\n\ndefineSymbol(math, main, mathord, \"\\ue131\", \"\\\\@imath\");\ndefineSymbol(math, main, mathord, \"\\ue237\", \"\\\\@jmath\");\ndefineSymbol(math, main, textord, \"\\u0131\", \"\\u0131\");\ndefineSymbol(math, main, textord, \"\\u0237\", \"\\u0237\");\ndefineSymbol(symbols_text, main, textord, \"\\u0131\", \"\\\\i\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u0237\", \"\\\\j\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00df\", \"\\\\ss\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00e6\", \"\\\\ae\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u0153\", \"\\\\oe\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00f8\", \"\\\\o\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00c6\", \"\\\\AE\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u0152\", \"\\\\OE\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00d8\", \"\\\\O\", true);\ndefineSymbol(symbols_text, main, accent, \"\\u02ca\", \"\\\\'\"); // acute\n\ndefineSymbol(symbols_text, main, accent, \"\\u02cb\", \"\\\\`\"); // grave\n\ndefineSymbol(symbols_text, main, accent, \"\\u02c6\", \"\\\\^\"); // circumflex\n\ndefineSymbol(symbols_text, main, accent, \"\\u02dc\", \"\\\\~\"); // tilde\n\ndefineSymbol(symbols_text, main, accent, \"\\u02c9\", \"\\\\=\"); // macron\n\ndefineSymbol(symbols_text, main, accent, \"\\u02d8\", \"\\\\u\"); // breve\n\ndefineSymbol(symbols_text, main, accent, \"\\u02d9\", \"\\\\.\"); // dot above\n\ndefineSymbol(symbols_text, main, accent, \"\\u00b8\", \"\\\\c\"); // cedilla\n\ndefineSymbol(symbols_text, main, accent, \"\\u02da\", \"\\\\r\"); // ring above\n\ndefineSymbol(symbols_text, main, accent, \"\\u02c7\", \"\\\\v\"); // caron\n\ndefineSymbol(symbols_text, main, accent, \"\\u00a8\", '\\\\\"'); // diaresis\n\ndefineSymbol(symbols_text, main, accent, \"\\u02dd\", \"\\\\H\"); // double acute\n\ndefineSymbol(symbols_text, main, accent, \"\\u25ef\", \"\\\\textcircled\"); // \\bigcirc glyph\n// These ligatures are detected and created in Parser.js's `formLigatures`.\n\nconst ligatures = {\n \"--\": true,\n \"---\": true,\n \"``\": true,\n \"''\": true\n};\ndefineSymbol(symbols_text, main, textord, \"\\u2013\", \"--\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u2013\", \"\\\\textendash\");\ndefineSymbol(symbols_text, main, textord, \"\\u2014\", \"---\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u2014\", \"\\\\textemdash\");\ndefineSymbol(symbols_text, main, textord, \"\\u2018\", \"`\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u2018\", \"\\\\textquoteleft\");\ndefineSymbol(symbols_text, main, textord, \"\\u2019\", \"'\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u2019\", \"\\\\textquoteright\");\ndefineSymbol(symbols_text, main, textord, \"\\u201c\", \"``\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u201c\", \"\\\\textquotedblleft\");\ndefineSymbol(symbols_text, main, textord, \"\\u201d\", \"''\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u201d\", \"\\\\textquotedblright\"); // \\degree from gensymb package\n\ndefineSymbol(math, main, textord, \"\\u00b0\", \"\\\\degree\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00b0\", \"\\\\degree\"); // \\textdegree from inputenc package\n\ndefineSymbol(symbols_text, main, textord, \"\\u00b0\", \"\\\\textdegree\", true); // TODO: In LaTeX, \\pounds can generate a different character in text and math\n// mode, but among our fonts, only Main-Regular defines this character \"163\".\n\ndefineSymbol(math, main, textord, \"\\u00a3\", \"\\\\pounds\");\ndefineSymbol(math, main, textord, \"\\u00a3\", \"\\\\mathsterling\", true);\ndefineSymbol(symbols_text, main, textord, \"\\u00a3\", \"\\\\pounds\");\ndefineSymbol(symbols_text, main, textord, \"\\u00a3\", \"\\\\textsterling\", true);\ndefineSymbol(math, ams, textord, \"\\u2720\", \"\\\\maltese\");\ndefineSymbol(symbols_text, ams, textord, \"\\u2720\", \"\\\\maltese\"); // There are lots of symbols which are the same, so we add them in afterwards.\n// All of these are textords in math mode\n\nconst mathTextSymbols = \"0123456789/@.\\\"\";\n\nfor (let i = 0; i < mathTextSymbols.length; i++) {\n const ch = mathTextSymbols.charAt(i);\n defineSymbol(math, main, textord, ch, ch);\n} // All of these are textords in text mode\n\n\nconst textSymbols = \"0123456789!@*()-=+\\\";:?/.,\";\n\nfor (let i = 0; i < textSymbols.length; i++) {\n const ch = textSymbols.charAt(i);\n defineSymbol(symbols_text, main, textord, ch, ch);\n} // All of these are textords in text mode, and mathords in math mode\n\n\nconst letters = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\";\n\nfor (let i = 0; i < letters.length; i++) {\n const ch = letters.charAt(i);\n defineSymbol(math, main, mathord, ch, ch);\n defineSymbol(symbols_text, main, textord, ch, ch);\n} // Blackboard bold and script letters in Unicode range\n\n\ndefineSymbol(math, ams, textord, \"C\", \"\\u2102\"); // blackboard bold\n\ndefineSymbol(symbols_text, ams, textord, \"C\", \"\\u2102\");\ndefineSymbol(math, ams, textord, \"H\", \"\\u210D\");\ndefineSymbol(symbols_text, ams, textord, \"H\", \"\\u210D\");\ndefineSymbol(math, ams, textord, \"N\", \"\\u2115\");\ndefineSymbol(symbols_text, ams, textord, \"N\", \"\\u2115\");\ndefineSymbol(math, ams, textord, \"P\", \"\\u2119\");\ndefineSymbol(symbols_text, ams, textord, \"P\", \"\\u2119\");\ndefineSymbol(math, ams, textord, \"Q\", \"\\u211A\");\ndefineSymbol(symbols_text, ams, textord, \"Q\", \"\\u211A\");\ndefineSymbol(math, ams, textord, \"R\", \"\\u211D\");\ndefineSymbol(symbols_text, ams, textord, \"R\", \"\\u211D\");\ndefineSymbol(math, ams, textord, \"Z\", \"\\u2124\");\ndefineSymbol(symbols_text, ams, textord, \"Z\", \"\\u2124\");\ndefineSymbol(math, main, mathord, \"h\", \"\\u210E\"); // italic h, Planck constant\n\ndefineSymbol(symbols_text, main, mathord, \"h\", \"\\u210E\"); // The next loop loads wide (surrogate pair) characters.\n// We support some letters in the Unicode range U+1D400 to U+1D7FF,\n// Mathematical Alphanumeric Symbols.\n// Some editors do not deal well with wide characters. So don't write the\n// string into this file. Instead, create the string from the surrogate pair.\n\nlet wideChar = \"\";\n\nfor (let i = 0; i < letters.length; i++) {\n const ch = letters.charAt(i); // The hex numbers in the next line are a surrogate pair.\n // 0xD835 is the high surrogate for all letters in the range we support.\n // 0xDC00 is the low surrogate for bold A.\n\n wideChar = String.fromCharCode(0xD835, 0xDC00 + i); // A-Z a-z bold\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDC34 + i); // A-Z a-z italic\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDC68 + i); // A-Z a-z bold italic\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDD04 + i); // A-Z a-z Fraktur\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDD6C + i); // A-Z a-z bold Fraktur\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDDA0 + i); // A-Z a-z sans-serif\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDDD4 + i); // A-Z a-z sans bold\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDE08 + i); // A-Z a-z sans italic\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDE70 + i); // A-Z a-z monospace\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n\n if (i < 26) {\n // KaTeX fonts have only capital letters for blackboard bold and script.\n // See exception for k below.\n wideChar = String.fromCharCode(0xD835, 0xDD38 + i); // A-Z double struck\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDC9C + i); // A-Z script\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n } // TODO: Add bold script when it is supported by a KaTeX font.\n\n} // \"k\" is the only double struck lower case letter in the KaTeX fonts.\n\n\nwideChar = String.fromCharCode(0xD835, 0xDD5C); // k double struck\n\ndefineSymbol(math, main, mathord, \"k\", wideChar);\ndefineSymbol(symbols_text, main, textord, \"k\", wideChar); // Next, some wide character numerals\n\nfor (let i = 0; i < 10; i++) {\n const ch = i.toString();\n wideChar = String.fromCharCode(0xD835, 0xDFCE + i); // 0-9 bold\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDFE2 + i); // 0-9 sans serif\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDFEC + i); // 0-9 bold sans\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n wideChar = String.fromCharCode(0xD835, 0xDFF6 + i); // 0-9 monospace\n\n defineSymbol(math, main, mathord, ch, wideChar);\n defineSymbol(symbols_text, main, textord, ch, wideChar);\n} // We add these Latin-1 letters as symbols for backwards-compatibility,\n// but they are not actually in the font, nor are they supported by the\n// Unicode accent mechanism, so they fall back to Times font and look ugly.\n// TODO(edemaine): Fix this.\n\n\nconst extraLatin = \"\\u00d0\\u00de\\u00fe\";\n\nfor (let i = 0; i < extraLatin.length; i++) {\n const ch = extraLatin.charAt(i);\n defineSymbol(math, main, mathord, ch, ch);\n defineSymbol(symbols_text, main, textord, ch, ch);\n}\n;// CONCATENATED MODULE: ./src/wide-character.js\n/**\n * This file provides support for Unicode range U+1D400 to U+1D7FF,\n * Mathematical Alphanumeric Symbols.\n *\n * Function wideCharacterFont takes a wide character as input and returns\n * the font information necessary to render it properly.\n */\n\n/**\n * Data below is from https://www.unicode.org/charts/PDF/U1D400.pdf\n * That document sorts characters into groups by font type, say bold or italic.\n *\n * In the arrays below, each subarray consists three elements:\n * * The CSS class of that group when in math mode.\n * * The CSS class of that group when in text mode.\n * * The font name, so that KaTeX can get font metrics.\n */\n\nconst wideLatinLetterData = [[\"mathbf\", \"textbf\", \"Main-Bold\"], // A-Z bold upright\n[\"mathbf\", \"textbf\", \"Main-Bold\"], // a-z bold upright\n[\"mathnormal\", \"textit\", \"Math-Italic\"], // A-Z italic\n[\"mathnormal\", \"textit\", \"Math-Italic\"], // a-z italic\n[\"boldsymbol\", \"boldsymbol\", \"Main-BoldItalic\"], // A-Z bold italic\n[\"boldsymbol\", \"boldsymbol\", \"Main-BoldItalic\"], // a-z bold italic\n// Map fancy A-Z letters to script, not calligraphic.\n// This aligns with unicode-math and math fonts (except Cambria Math).\n[\"mathscr\", \"textscr\", \"Script-Regular\"], // A-Z script\n[\"\", \"\", \"\"], // a-z script. No font\n[\"\", \"\", \"\"], // A-Z bold script. No font\n[\"\", \"\", \"\"], // a-z bold script. No font\n[\"mathfrak\", \"textfrak\", \"Fraktur-Regular\"], // A-Z Fraktur\n[\"mathfrak\", \"textfrak\", \"Fraktur-Regular\"], // a-z Fraktur\n[\"mathbb\", \"textbb\", \"AMS-Regular\"], // A-Z double-struck\n[\"mathbb\", \"textbb\", \"AMS-Regular\"], // k double-struck\n// Note that we are using a bold font, but font metrics for regular Fraktur.\n[\"mathboldfrak\", \"textboldfrak\", \"Fraktur-Regular\"], // A-Z bold Fraktur\n[\"mathboldfrak\", \"textboldfrak\", \"Fraktur-Regular\"], // a-z bold Fraktur\n[\"mathsf\", \"textsf\", \"SansSerif-Regular\"], // A-Z sans-serif\n[\"mathsf\", \"textsf\", \"SansSerif-Regular\"], // a-z sans-serif\n[\"mathboldsf\", \"textboldsf\", \"SansSerif-Bold\"], // A-Z bold sans-serif\n[\"mathboldsf\", \"textboldsf\", \"SansSerif-Bold\"], // a-z bold sans-serif\n[\"mathitsf\", \"textitsf\", \"SansSerif-Italic\"], // A-Z italic sans-serif\n[\"mathitsf\", \"textitsf\", \"SansSerif-Italic\"], // a-z italic sans-serif\n[\"\", \"\", \"\"], // A-Z bold italic sans. No font\n[\"\", \"\", \"\"], // a-z bold italic sans. No font\n[\"mathtt\", \"texttt\", \"Typewriter-Regular\"], // A-Z monospace\n[\"mathtt\", \"texttt\", \"Typewriter-Regular\"] // a-z monospace\n];\nconst wideNumeralData = [[\"mathbf\", \"textbf\", \"Main-Bold\"], // 0-9 bold\n[\"\", \"\", \"\"], // 0-9 double-struck. No KaTeX font.\n[\"mathsf\", \"textsf\", \"SansSerif-Regular\"], // 0-9 sans-serif\n[\"mathboldsf\", \"textboldsf\", \"SansSerif-Bold\"], // 0-9 bold sans-serif\n[\"mathtt\", \"texttt\", \"Typewriter-Regular\"] // 0-9 monospace\n];\nconst wideCharacterFont = function (wideChar, mode) {\n // IE doesn't support codePointAt(). So work with the surrogate pair.\n const H = wideChar.charCodeAt(0); // high surrogate\n\n const L = wideChar.charCodeAt(1); // low surrogate\n\n const codePoint = (H - 0xD800) * 0x400 + (L - 0xDC00) + 0x10000;\n const j = mode === \"math\" ? 0 : 1; // column index for CSS class.\n\n if (0x1D400 <= codePoint && codePoint < 0x1D6A4) {\n // wideLatinLetterData contains exactly 26 chars on each row.\n // So we can calculate the relevant row. No traverse necessary.\n const i = Math.floor((codePoint - 0x1D400) / 26);\n return [wideLatinLetterData[i][2], wideLatinLetterData[i][j]];\n } else if (0x1D7CE <= codePoint && codePoint <= 0x1D7FF) {\n // Numerals, ten per row.\n const i = Math.floor((codePoint - 0x1D7CE) / 10);\n return [wideNumeralData[i][2], wideNumeralData[i][j]];\n } else if (codePoint === 0x1D6A5 || codePoint === 0x1D6A6) {\n // dotless i or j\n return [wideLatinLetterData[0][2], wideLatinLetterData[0][j]];\n } else if (0x1D6A6 < codePoint && codePoint < 0x1D7CE) {\n // Greek letters. Not supported, yet.\n return [\"\", \"\"];\n } else {\n // We don't support any wide characters outside 1D400–1D7FF.\n throw new src_ParseError(\"Unsupported character: \" + wideChar);\n }\n};\n;// CONCATENATED MODULE: ./src/buildCommon.js\n/* eslint no-console:0 */\n\n/**\n * This module contains general functions that can be used for building\n * different kinds of domTree nodes in a consistent manner.\n */\n\n\n\n\n\n\n\n/**\n * Looks up the given symbol in fontMetrics, after applying any symbol\n * replacements defined in symbol.js\n */\nconst lookupSymbol = function (value, // TODO(#963): Use a union type for this.\nfontName, mode) {\n // Replace the value with its replaced value from symbol.js\n if (src_symbols[mode][value] && src_symbols[mode][value].replace) {\n value = src_symbols[mode][value].replace;\n }\n\n return {\n value: value,\n metrics: getCharacterMetrics(value, fontName, mode)\n };\n};\n/**\n * Makes a symbolNode after translation via the list of symbols in symbols.js.\n * Correctly pulls out metrics for the character, and optionally takes a list of\n * classes to be attached to the node.\n *\n * TODO: make argument order closer to makeSpan\n * TODO: add a separate argument for math class (e.g. `mop`, `mbin`), which\n * should if present come first in `classes`.\n * TODO(#953): Make `options` mandatory and always pass it in.\n */\n\n\nconst makeSymbol = function (value, fontName, mode, options, classes) {\n const lookup = lookupSymbol(value, fontName, mode);\n const metrics = lookup.metrics;\n value = lookup.value;\n let symbolNode;\n\n if (metrics) {\n let italic = metrics.italic;\n\n if (mode === \"text\" || options && options.font === \"mathit\") {\n italic = 0;\n }\n\n symbolNode = new SymbolNode(value, metrics.height, metrics.depth, italic, metrics.skew, metrics.width, classes);\n } else {\n // TODO(emily): Figure out a good way to only print this in development\n typeof console !== \"undefined\" && console.warn(\"No character metrics \" + (\"for '\" + value + \"' in style '\" + fontName + \"' and mode '\" + mode + \"'\"));\n symbolNode = new SymbolNode(value, 0, 0, 0, 0, 0, classes);\n }\n\n if (options) {\n symbolNode.maxFontSize = options.sizeMultiplier;\n\n if (options.style.isTight()) {\n symbolNode.classes.push(\"mtight\");\n }\n\n const color = options.getColor();\n\n if (color) {\n symbolNode.style.color = color;\n }\n }\n\n return symbolNode;\n};\n/**\n * Makes a symbol in Main-Regular or AMS-Regular.\n * Used for rel, bin, open, close, inner, and punct.\n */\n\n\nconst mathsym = function (value, mode, options, classes) {\n if (classes === void 0) {\n classes = [];\n }\n\n // Decide what font to render the symbol in by its entry in the symbols\n // table.\n // Have a special case for when the value = \\ because the \\ is used as a\n // textord in unsupported command errors but cannot be parsed as a regular\n // text ordinal and is therefore not present as a symbol in the symbols\n // table for text, as well as a special case for boldsymbol because it\n // can be used for bold + and -\n if (options.font === \"boldsymbol\" && lookupSymbol(value, \"Main-Bold\", mode).metrics) {\n return makeSymbol(value, \"Main-Bold\", mode, options, classes.concat([\"mathbf\"]));\n } else if (value === \"\\\\\" || src_symbols[mode][value].font === \"main\") {\n return makeSymbol(value, \"Main-Regular\", mode, options, classes);\n } else {\n return makeSymbol(value, \"AMS-Regular\", mode, options, classes.concat([\"amsrm\"]));\n }\n};\n/**\n * Determines which of the two font names (Main-Bold and Math-BoldItalic) and\n * corresponding style tags (mathbf or boldsymbol) to use for font \"boldsymbol\",\n * depending on the symbol. Use this function instead of fontMap for font\n * \"boldsymbol\".\n */\n\n\nconst boldsymbol = function (value, mode, options, classes, type) {\n if (type !== \"textord\" && lookupSymbol(value, \"Math-BoldItalic\", mode).metrics) {\n return {\n fontName: \"Math-BoldItalic\",\n fontClass: \"boldsymbol\"\n };\n } else {\n // Some glyphs do not exist in Math-BoldItalic so we need to use\n // Main-Bold instead.\n return {\n fontName: \"Main-Bold\",\n fontClass: \"mathbf\"\n };\n }\n};\n/**\n * Makes either a mathord or textord in the correct font and color.\n */\n\n\nconst makeOrd = function (group, options, type) {\n const mode = group.mode;\n const text = group.text;\n const classes = [\"mord\"]; // Math mode or Old font (i.e. \\rm)\n\n const isFont = mode === \"math\" || mode === \"text\" && options.font;\n const fontOrFamily = isFont ? options.font : options.fontFamily;\n let wideFontName = \"\";\n let wideFontClass = \"\";\n\n if (text.charCodeAt(0) === 0xD835) {\n [wideFontName, wideFontClass] = wideCharacterFont(text, mode);\n }\n\n if (wideFontName.length > 0) {\n // surrogate pairs get special treatment\n return makeSymbol(text, wideFontName, mode, options, classes.concat(wideFontClass));\n } else if (fontOrFamily) {\n let fontName;\n let fontClasses;\n\n if (fontOrFamily === \"boldsymbol\") {\n const fontData = boldsymbol(text, mode, options, classes, type);\n fontName = fontData.fontName;\n fontClasses = [fontData.fontClass];\n } else if (isFont) {\n fontName = fontMap[fontOrFamily].fontName;\n fontClasses = [fontOrFamily];\n } else {\n fontName = retrieveTextFontName(fontOrFamily, options.fontWeight, options.fontShape);\n fontClasses = [fontOrFamily, options.fontWeight, options.fontShape];\n }\n\n if (lookupSymbol(text, fontName, mode).metrics) {\n return makeSymbol(text, fontName, mode, options, classes.concat(fontClasses));\n } else if (ligatures.hasOwnProperty(text) && fontName.slice(0, 10) === \"Typewriter\") {\n // Deconstruct ligatures in monospace fonts (\\texttt, \\tt).\n const parts = [];\n\n for (let i = 0; i < text.length; i++) {\n parts.push(makeSymbol(text[i], fontName, mode, options, classes.concat(fontClasses)));\n }\n\n return makeFragment(parts);\n }\n } // Makes a symbol in the default font for mathords and textords.\n\n\n if (type === \"mathord\") {\n return makeSymbol(text, \"Math-Italic\", mode, options, classes.concat([\"mathnormal\"]));\n } else if (type === \"textord\") {\n const font = src_symbols[mode][text] && src_symbols[mode][text].font;\n\n if (font === \"ams\") {\n const fontName = retrieveTextFontName(\"amsrm\", options.fontWeight, options.fontShape);\n return makeSymbol(text, fontName, mode, options, classes.concat(\"amsrm\", options.fontWeight, options.fontShape));\n } else if (font === \"main\" || !font) {\n const fontName = retrieveTextFontName(\"textrm\", options.fontWeight, options.fontShape);\n return makeSymbol(text, fontName, mode, options, classes.concat(options.fontWeight, options.fontShape));\n } else {\n // fonts added by plugins\n const fontName = retrieveTextFontName(font, options.fontWeight, options.fontShape); // We add font name as a css class\n\n return makeSymbol(text, fontName, mode, options, classes.concat(fontName, options.fontWeight, options.fontShape));\n }\n } else {\n throw new Error(\"unexpected type: \" + type + \" in makeOrd\");\n }\n};\n/**\n * Returns true if subsequent symbolNodes have the same classes, skew, maxFont,\n * and styles.\n */\n\n\nconst canCombine = (prev, next) => {\n if (createClass(prev.classes) !== createClass(next.classes) || prev.skew !== next.skew || prev.maxFontSize !== next.maxFontSize) {\n return false;\n } // If prev and next both are just \"mbin\"s or \"mord\"s we don't combine them\n // so that the proper spacing can be preserved.\n\n\n if (prev.classes.length === 1) {\n const cls = prev.classes[0];\n\n if (cls === \"mbin\" || cls === \"mord\") {\n return false;\n }\n }\n\n for (const style in prev.style) {\n if (prev.style.hasOwnProperty(style) && prev.style[style] !== next.style[style]) {\n return false;\n }\n }\n\n for (const style in next.style) {\n if (next.style.hasOwnProperty(style) && prev.style[style] !== next.style[style]) {\n return false;\n }\n }\n\n return true;\n};\n/**\n * Combine consecutive domTree.symbolNodes into a single symbolNode.\n * Note: this function mutates the argument.\n */\n\n\nconst tryCombineChars = chars => {\n for (let i = 0; i < chars.length - 1; i++) {\n const prev = chars[i];\n const next = chars[i + 1];\n\n if (prev instanceof SymbolNode && next instanceof SymbolNode && canCombine(prev, next)) {\n prev.text += next.text;\n prev.height = Math.max(prev.height, next.height);\n prev.depth = Math.max(prev.depth, next.depth); // Use the last character's italic correction since we use\n // it to add padding to the right of the span created from\n // the combined characters.\n\n prev.italic = next.italic;\n chars.splice(i + 1, 1);\n i--;\n }\n }\n\n return chars;\n};\n/**\n * Calculate the height, depth, and maxFontSize of an element based on its\n * children.\n */\n\n\nconst sizeElementFromChildren = function (elem) {\n let height = 0;\n let depth = 0;\n let maxFontSize = 0;\n\n for (let i = 0; i < elem.children.length; i++) {\n const child = elem.children[i];\n\n if (child.height > height) {\n height = child.height;\n }\n\n if (child.depth > depth) {\n depth = child.depth;\n }\n\n if (child.maxFontSize > maxFontSize) {\n maxFontSize = child.maxFontSize;\n }\n }\n\n elem.height = height;\n elem.depth = depth;\n elem.maxFontSize = maxFontSize;\n};\n/**\n * Makes a span with the given list of classes, list of children, and options.\n *\n * TODO(#953): Ensure that `options` is always provided (currently some call\n * sites don't pass it) and make the type below mandatory.\n * TODO: add a separate argument for math class (e.g. `mop`, `mbin`), which\n * should if present come first in `classes`.\n */\n\n\nconst makeSpan = function (classes, children, options, style) {\n const span = new Span(classes, children, options, style);\n sizeElementFromChildren(span);\n return span;\n}; // SVG one is simpler -- doesn't require height, depth, max-font setting.\n// This is also a separate method for typesafety.\n\n\nconst makeSvgSpan = (classes, children, options, style) => new Span(classes, children, options, style);\n\nconst makeLineSpan = function (className, options, thickness) {\n const line = makeSpan([className], [], options);\n line.height = Math.max(thickness || options.fontMetrics().defaultRuleThickness, options.minRuleThickness);\n line.style.borderBottomWidth = makeEm(line.height);\n line.maxFontSize = 1.0;\n return line;\n};\n/**\n * Makes an anchor with the given href, list of classes, list of children,\n * and options.\n */\n\n\nconst makeAnchor = function (href, classes, children, options) {\n const anchor = new Anchor(href, classes, children, options);\n sizeElementFromChildren(anchor);\n return anchor;\n};\n/**\n * Makes a document fragment with the given list of children.\n */\n\n\nconst makeFragment = function (children) {\n const fragment = new DocumentFragment(children);\n sizeElementFromChildren(fragment);\n return fragment;\n};\n/**\n * Wraps group in a span if it's a document fragment, allowing to apply classes\n * and styles\n */\n\n\nconst wrapFragment = function (group, options) {\n if (group instanceof DocumentFragment) {\n return makeSpan([], [group], options);\n }\n\n return group;\n}; // These are exact object types to catch typos in the names of the optional fields.\n\n\n// Computes the updated `children` list and the overall depth.\n//\n// This helper function for makeVList makes it easier to enforce type safety by\n// allowing early exits (returns) in the logic.\nconst getVListChildrenAndDepth = function (params) {\n if (params.positionType === \"individualShift\") {\n const oldChildren = params.children;\n const children = [oldChildren[0]]; // Add in kerns to the list of params.children to get each element to be\n // shifted to the correct specified shift\n\n const depth = -oldChildren[0].shift - oldChildren[0].elem.depth;\n let currPos = depth;\n\n for (let i = 1; i < oldChildren.length; i++) {\n const diff = -oldChildren[i].shift - currPos - oldChildren[i].elem.depth;\n const size = diff - (oldChildren[i - 1].elem.height + oldChildren[i - 1].elem.depth);\n currPos = currPos + diff;\n children.push({\n type: \"kern\",\n size\n });\n children.push(oldChildren[i]);\n }\n\n return {\n children,\n depth\n };\n }\n\n let depth;\n\n if (params.positionType === \"top\") {\n // We always start at the bottom, so calculate the bottom by adding up\n // all the sizes\n let bottom = params.positionData;\n\n for (let i = 0; i < params.children.length; i++) {\n const child = params.children[i];\n bottom -= child.type === \"kern\" ? child.size : child.elem.height + child.elem.depth;\n }\n\n depth = bottom;\n } else if (params.positionType === \"bottom\") {\n depth = -params.positionData;\n } else {\n const firstChild = params.children[0];\n\n if (firstChild.type !== \"elem\") {\n throw new Error('First child must have type \"elem\".');\n }\n\n if (params.positionType === \"shift\") {\n depth = -firstChild.elem.depth - params.positionData;\n } else if (params.positionType === \"firstBaseline\") {\n depth = -firstChild.elem.depth;\n } else {\n throw new Error(\"Invalid positionType \" + params.positionType + \".\");\n }\n }\n\n return {\n children: params.children,\n depth\n };\n};\n/**\n * Makes a vertical list by stacking elements and kerns on top of each other.\n * Allows for many different ways of specifying the positioning method.\n *\n * See VListParam documentation above.\n */\n\n\nconst makeVList = function (params, options) {\n const {\n children,\n depth\n } = getVListChildrenAndDepth(params); // Create a strut that is taller than any list item. The strut is added to\n // each item, where it will determine the item's baseline. Since it has\n // `overflow:hidden`, the strut's top edge will sit on the item's line box's\n // top edge and the strut's bottom edge will sit on the item's baseline,\n // with no additional line-height spacing. This allows the item baseline to\n // be positioned precisely without worrying about font ascent and\n // line-height.\n\n let pstrutSize = 0;\n\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n\n if (child.type === \"elem\") {\n const elem = child.elem;\n pstrutSize = Math.max(pstrutSize, elem.maxFontSize, elem.height);\n }\n }\n\n pstrutSize += 2;\n const pstrut = makeSpan([\"pstrut\"], []);\n pstrut.style.height = makeEm(pstrutSize); // Create a new list of actual children at the correct offsets\n\n const realChildren = [];\n let minPos = depth;\n let maxPos = depth;\n let currPos = depth;\n\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n\n if (child.type === \"kern\") {\n currPos += child.size;\n } else {\n const elem = child.elem;\n const classes = child.wrapperClasses || [];\n const style = child.wrapperStyle || {};\n const childWrap = makeSpan(classes, [pstrut, elem], undefined, style);\n childWrap.style.top = makeEm(-pstrutSize - currPos - elem.depth);\n\n if (child.marginLeft) {\n childWrap.style.marginLeft = child.marginLeft;\n }\n\n if (child.marginRight) {\n childWrap.style.marginRight = child.marginRight;\n }\n\n realChildren.push(childWrap);\n currPos += elem.height + elem.depth;\n }\n\n minPos = Math.min(minPos, currPos);\n maxPos = Math.max(maxPos, currPos);\n } // The vlist contents go in a table-cell with `vertical-align:bottom`.\n // This cell's bottom edge will determine the containing table's baseline\n // without overly expanding the containing line-box.\n\n\n const vlist = makeSpan([\"vlist\"], realChildren);\n vlist.style.height = makeEm(maxPos); // A second row is used if necessary to represent the vlist's depth.\n\n let rows;\n\n if (minPos < 0) {\n // We will define depth in an empty span with display: table-cell.\n // It should render with the height that we define. But Chrome, in\n // contenteditable mode only, treats that span as if it contains some\n // text content. And that min-height over-rides our desired height.\n // So we put another empty span inside the depth strut span.\n const emptySpan = makeSpan([], []);\n const depthStrut = makeSpan([\"vlist\"], [emptySpan]);\n depthStrut.style.height = makeEm(-minPos); // Safari wants the first row to have inline content; otherwise it\n // puts the bottom of the *second* row on the baseline.\n\n const topStrut = makeSpan([\"vlist-s\"], [new SymbolNode(\"\\u200b\")]);\n rows = [makeSpan([\"vlist-r\"], [vlist, topStrut]), makeSpan([\"vlist-r\"], [depthStrut])];\n } else {\n rows = [makeSpan([\"vlist-r\"], [vlist])];\n }\n\n const vtable = makeSpan([\"vlist-t\"], rows);\n\n if (rows.length === 2) {\n vtable.classes.push(\"vlist-t2\");\n }\n\n vtable.height = maxPos;\n vtable.depth = -minPos;\n return vtable;\n}; // Glue is a concept from TeX which is a flexible space between elements in\n// either a vertical or horizontal list. In KaTeX, at least for now, it's\n// static space between elements in a horizontal layout.\n\n\nconst makeGlue = (measurement, options) => {\n // Make an empty span for the space\n const rule = makeSpan([\"mspace\"], [], options);\n const size = calculateSize(measurement, options);\n rule.style.marginRight = makeEm(size);\n return rule;\n}; // Takes font options, and returns the appropriate fontLookup name\n\n\nconst retrieveTextFontName = function (fontFamily, fontWeight, fontShape) {\n let baseFontName = \"\";\n\n switch (fontFamily) {\n case \"amsrm\":\n baseFontName = \"AMS\";\n break;\n\n case \"textrm\":\n baseFontName = \"Main\";\n break;\n\n case \"textsf\":\n baseFontName = \"SansSerif\";\n break;\n\n case \"texttt\":\n baseFontName = \"Typewriter\";\n break;\n\n default:\n baseFontName = fontFamily;\n // use fonts added by a plugin\n }\n\n let fontStylesName;\n\n if (fontWeight === \"textbf\" && fontShape === \"textit\") {\n fontStylesName = \"BoldItalic\";\n } else if (fontWeight === \"textbf\") {\n fontStylesName = \"Bold\";\n } else if (fontWeight === \"textit\") {\n fontStylesName = \"Italic\";\n } else {\n fontStylesName = \"Regular\";\n }\n\n return baseFontName + \"-\" + fontStylesName;\n};\n/**\n * Maps TeX font commands to objects containing:\n * - variant: string used for \"mathvariant\" attribute in buildMathML.js\n * - fontName: the \"style\" parameter to fontMetrics.getCharacterMetrics\n */\n// A map between tex font commands an MathML mathvariant attribute values\n\n\nconst fontMap = {\n // styles\n \"mathbf\": {\n variant: \"bold\",\n fontName: \"Main-Bold\"\n },\n \"mathrm\": {\n variant: \"normal\",\n fontName: \"Main-Regular\"\n },\n \"textit\": {\n variant: \"italic\",\n fontName: \"Main-Italic\"\n },\n \"mathit\": {\n variant: \"italic\",\n fontName: \"Main-Italic\"\n },\n \"mathnormal\": {\n variant: \"italic\",\n fontName: \"Math-Italic\"\n },\n // \"boldsymbol\" is missing because they require the use of multiple fonts:\n // Math-BoldItalic and Main-Bold. This is handled by a special case in\n // makeOrd which ends up calling boldsymbol.\n // families\n \"mathbb\": {\n variant: \"double-struck\",\n fontName: \"AMS-Regular\"\n },\n \"mathcal\": {\n variant: \"script\",\n fontName: \"Caligraphic-Regular\"\n },\n \"mathfrak\": {\n variant: \"fraktur\",\n fontName: \"Fraktur-Regular\"\n },\n \"mathscr\": {\n variant: \"script\",\n fontName: \"Script-Regular\"\n },\n \"mathsf\": {\n variant: \"sans-serif\",\n fontName: \"SansSerif-Regular\"\n },\n \"mathtt\": {\n variant: \"monospace\",\n fontName: \"Typewriter-Regular\"\n }\n};\nconst svgData = {\n // path, width, height\n vec: [\"vec\", 0.471, 0.714],\n // values from the font glyph\n oiintSize1: [\"oiintSize1\", 0.957, 0.499],\n // oval to overlay the integrand\n oiintSize2: [\"oiintSize2\", 1.472, 0.659],\n oiiintSize1: [\"oiiintSize1\", 1.304, 0.499],\n oiiintSize2: [\"oiiintSize2\", 1.98, 0.659]\n};\n\nconst staticSvg = function (value, options) {\n // Create a span with inline SVG for the element.\n const [pathName, width, height] = svgData[value];\n const path = new PathNode(pathName);\n const svgNode = new SvgNode([path], {\n \"width\": makeEm(width),\n \"height\": makeEm(height),\n // Override CSS rule `.katex svg { width: 100% }`\n \"style\": \"width:\" + makeEm(width),\n \"viewBox\": \"0 0 \" + 1000 * width + \" \" + 1000 * height,\n \"preserveAspectRatio\": \"xMinYMin\"\n });\n const span = makeSvgSpan([\"overlay\"], [svgNode], options);\n span.height = height;\n span.style.height = makeEm(height);\n span.style.width = makeEm(width);\n return span;\n};\n\n/* harmony default export */ var buildCommon = ({\n fontMap,\n makeSymbol,\n mathsym,\n makeSpan,\n makeSvgSpan,\n makeLineSpan,\n makeAnchor,\n makeFragment,\n wrapFragment,\n makeVList,\n makeOrd,\n makeGlue,\n staticSvg,\n svgData,\n tryCombineChars\n});\n;// CONCATENATED MODULE: ./src/spacingData.js\n/**\n * Describes spaces between different classes of atoms.\n */\nconst thinspace = {\n number: 3,\n unit: \"mu\"\n};\nconst mediumspace = {\n number: 4,\n unit: \"mu\"\n};\nconst thickspace = {\n number: 5,\n unit: \"mu\"\n}; // Making the type below exact with all optional fields doesn't work due to\n// - https://github.com/facebook/flow/issues/4582\n// - https://github.com/facebook/flow/issues/5688\n// However, since *all* fields are optional, $Shape<> works as suggested in 5688\n// above.\n\n// Spacing relationships for display and text styles\nconst spacings = {\n mord: {\n mop: thinspace,\n mbin: mediumspace,\n mrel: thickspace,\n minner: thinspace\n },\n mop: {\n mord: thinspace,\n mop: thinspace,\n mrel: thickspace,\n minner: thinspace\n },\n mbin: {\n mord: mediumspace,\n mop: mediumspace,\n mopen: mediumspace,\n minner: mediumspace\n },\n mrel: {\n mord: thickspace,\n mop: thickspace,\n mopen: thickspace,\n minner: thickspace\n },\n mopen: {},\n mclose: {\n mop: thinspace,\n mbin: mediumspace,\n mrel: thickspace,\n minner: thinspace\n },\n mpunct: {\n mord: thinspace,\n mop: thinspace,\n mrel: thickspace,\n mopen: thinspace,\n mclose: thinspace,\n mpunct: thinspace,\n minner: thinspace\n },\n minner: {\n mord: thinspace,\n mop: thinspace,\n mbin: mediumspace,\n mrel: thickspace,\n mopen: thinspace,\n mpunct: thinspace,\n minner: thinspace\n }\n}; // Spacing relationships for script and scriptscript styles\n\nconst tightSpacings = {\n mord: {\n mop: thinspace\n },\n mop: {\n mord: thinspace,\n mop: thinspace\n },\n mbin: {},\n mrel: {},\n mopen: {},\n mclose: {\n mop: thinspace\n },\n mpunct: {},\n minner: {\n mop: thinspace\n }\n};\n;// CONCATENATED MODULE: ./src/defineFunction.js\n/** Context provided to function handlers for error messages. */\n// Note: reverse the order of the return type union will cause a flow error.\n// See https://github.com/facebook/flow/issues/3663.\n// More general version of `HtmlBuilder` for nodes (e.g. \\sum, accent types)\n// whose presence impacts super/subscripting. In this case, ParseNode<\"supsub\">\n// delegates its HTML building to the HtmlBuilder corresponding to these nodes.\n\n/**\n * Final function spec for use at parse time.\n * This is almost identical to `FunctionPropSpec`, except it\n * 1. includes the function handler, and\n * 2. requires all arguments except argTypes.\n * It is generated by `defineFunction()` below.\n */\n\n/**\n * All registered functions.\n * `functions.js` just exports this same dictionary again and makes it public.\n * `Parser.js` requires this dictionary.\n */\nconst _functions = {};\n/**\n * All HTML builders. Should be only used in the `define*` and the `build*ML`\n * functions.\n */\n\nconst _htmlGroupBuilders = {};\n/**\n * All MathML builders. Should be only used in the `define*` and the `build*ML`\n * functions.\n */\n\nconst _mathmlGroupBuilders = {};\nfunction defineFunction(_ref) {\n let {\n type,\n names,\n props,\n handler,\n htmlBuilder,\n mathmlBuilder\n } = _ref;\n // Set default values of functions\n const data = {\n type,\n numArgs: props.numArgs,\n argTypes: props.argTypes,\n allowedInArgument: !!props.allowedInArgument,\n allowedInText: !!props.allowedInText,\n allowedInMath: props.allowedInMath === undefined ? true : props.allowedInMath,\n numOptionalArgs: props.numOptionalArgs || 0,\n infix: !!props.infix,\n primitive: !!props.primitive,\n handler: handler\n };\n\n for (let i = 0; i < names.length; ++i) {\n _functions[names[i]] = data;\n }\n\n if (type) {\n if (htmlBuilder) {\n _htmlGroupBuilders[type] = htmlBuilder;\n }\n\n if (mathmlBuilder) {\n _mathmlGroupBuilders[type] = mathmlBuilder;\n }\n }\n}\n/**\n * Use this to register only the HTML and MathML builders for a function (e.g.\n * if the function's ParseNode is generated in Parser.js rather than via a\n * stand-alone handler provided to `defineFunction`).\n */\n\nfunction defineFunctionBuilders(_ref2) {\n let {\n type,\n htmlBuilder,\n mathmlBuilder\n } = _ref2;\n defineFunction({\n type,\n names: [],\n props: {\n numArgs: 0\n },\n\n handler() {\n throw new Error('Should never be called.');\n },\n\n htmlBuilder,\n mathmlBuilder\n });\n}\nconst normalizeArgument = function (arg) {\n return arg.type === \"ordgroup\" && arg.body.length === 1 ? arg.body[0] : arg;\n}; // Since the corresponding buildHTML/buildMathML function expects a\n// list of elements, we normalize for different kinds of arguments\n\nconst ordargument = function (arg) {\n return arg.type === \"ordgroup\" ? arg.body : [arg];\n};\n;// CONCATENATED MODULE: ./src/buildHTML.js\n/**\n * This file does the main work of building a domTree structure from a parse\n * tree. The entry point is the `buildHTML` function, which takes a parse tree.\n * Then, the buildExpression, buildGroup, and various groupBuilders functions\n * are called, to produce a final HTML tree.\n */\n\n\n\n\n\n\n\n\n\nconst buildHTML_makeSpan = buildCommon.makeSpan; // Binary atoms (first class `mbin`) change into ordinary atoms (`mord`)\n// depending on their surroundings. See TeXbook pg. 442-446, Rules 5 and 6,\n// and the text before Rule 19.\n\nconst binLeftCanceller = [\"leftmost\", \"mbin\", \"mopen\", \"mrel\", \"mop\", \"mpunct\"];\nconst binRightCanceller = [\"rightmost\", \"mrel\", \"mclose\", \"mpunct\"];\nconst styleMap = {\n \"display\": src_Style.DISPLAY,\n \"text\": src_Style.TEXT,\n \"script\": src_Style.SCRIPT,\n \"scriptscript\": src_Style.SCRIPTSCRIPT\n};\nconst DomEnum = {\n mord: \"mord\",\n mop: \"mop\",\n mbin: \"mbin\",\n mrel: \"mrel\",\n mopen: \"mopen\",\n mclose: \"mclose\",\n mpunct: \"mpunct\",\n minner: \"minner\"\n};\n\n/**\n * Take a list of nodes, build them in order, and return a list of the built\n * nodes. documentFragments are flattened into their contents, so the\n * returned list contains no fragments. `isRealGroup` is true if `expression`\n * is a real group (no atoms will be added on either side), as opposed to\n * a partial group (e.g. one created by \\color). `surrounding` is an array\n * consisting type of nodes that will be added to the left and right.\n */\nconst buildExpression = function (expression, options, isRealGroup, surrounding) {\n if (surrounding === void 0) {\n surrounding = [null, null];\n }\n\n // Parse expressions into `groups`.\n const groups = [];\n\n for (let i = 0; i < expression.length; i++) {\n const output = buildGroup(expression[i], options);\n\n if (output instanceof DocumentFragment) {\n const children = output.children;\n groups.push(...children);\n } else {\n groups.push(output);\n }\n } // Combine consecutive domTree.symbolNodes into a single symbolNode.\n\n\n buildCommon.tryCombineChars(groups); // If `expression` is a partial group, let the parent handle spacings\n // to avoid processing groups multiple times.\n\n if (!isRealGroup) {\n return groups;\n }\n\n let glueOptions = options;\n\n if (expression.length === 1) {\n const node = expression[0];\n\n if (node.type === \"sizing\") {\n glueOptions = options.havingSize(node.size);\n } else if (node.type === \"styling\") {\n glueOptions = options.havingStyle(styleMap[node.style]);\n }\n } // Dummy spans for determining spacings between surrounding atoms.\n // If `expression` has no atoms on the left or right, class \"leftmost\"\n // or \"rightmost\", respectively, is used to indicate it.\n\n\n const dummyPrev = buildHTML_makeSpan([surrounding[0] || \"leftmost\"], [], options);\n const dummyNext = buildHTML_makeSpan([surrounding[1] || \"rightmost\"], [], options); // TODO: These code assumes that a node's math class is the first element\n // of its `classes` array. A later cleanup should ensure this, for\n // instance by changing the signature of `makeSpan`.\n // Before determining what spaces to insert, perform bin cancellation.\n // Binary operators change to ordinary symbols in some contexts.\n\n const isRoot = isRealGroup === \"root\";\n traverseNonSpaceNodes(groups, (node, prev) => {\n const prevType = prev.classes[0];\n const type = node.classes[0];\n\n if (prevType === \"mbin\" && utils.contains(binRightCanceller, type)) {\n prev.classes[0] = \"mord\";\n } else if (type === \"mbin\" && utils.contains(binLeftCanceller, prevType)) {\n node.classes[0] = \"mord\";\n }\n }, {\n node: dummyPrev\n }, dummyNext, isRoot);\n traverseNonSpaceNodes(groups, (node, prev) => {\n const prevType = getTypeOfDomTree(prev);\n const type = getTypeOfDomTree(node); // 'mtight' indicates that the node is script or scriptscript style.\n\n const space = prevType && type ? node.hasClass(\"mtight\") ? tightSpacings[prevType][type] : spacings[prevType][type] : null;\n\n if (space) {\n // Insert glue (spacing) after the `prev`.\n return buildCommon.makeGlue(space, glueOptions);\n }\n }, {\n node: dummyPrev\n }, dummyNext, isRoot);\n return groups;\n}; // Depth-first traverse non-space `nodes`, calling `callback` with the current and\n// previous node as arguments, optionally returning a node to insert after the\n// previous node. `prev` is an object with the previous node and `insertAfter`\n// function to insert after it. `next` is a node that will be added to the right.\n// Used for bin cancellation and inserting spacings.\n\nconst traverseNonSpaceNodes = function (nodes, callback, prev, next, isRoot) {\n if (next) {\n // temporarily append the right node, if exists\n nodes.push(next);\n }\n\n let i = 0;\n\n for (; i < nodes.length; i++) {\n const node = nodes[i];\n const partialGroup = checkPartialGroup(node);\n\n if (partialGroup) {\n // Recursive DFS\n // $FlowFixMe: make nodes a $ReadOnlyArray by returning a new array\n traverseNonSpaceNodes(partialGroup.children, callback, prev, null, isRoot);\n continue;\n } // Ignore explicit spaces (e.g., \\;, \\,) when determining what implicit\n // spacing should go between atoms of different classes\n\n\n const nonspace = !node.hasClass(\"mspace\");\n\n if (nonspace) {\n const result = callback(node, prev.node);\n\n if (result) {\n if (prev.insertAfter) {\n prev.insertAfter(result);\n } else {\n // insert at front\n nodes.unshift(result);\n i++;\n }\n }\n }\n\n if (nonspace) {\n prev.node = node;\n } else if (isRoot && node.hasClass(\"newline\")) {\n prev.node = buildHTML_makeSpan([\"leftmost\"]); // treat like beginning of line\n }\n\n prev.insertAfter = (index => n => {\n nodes.splice(index + 1, 0, n);\n i++;\n })(i);\n }\n\n if (next) {\n nodes.pop();\n }\n}; // Check if given node is a partial group, i.e., does not affect spacing around.\n\n\nconst checkPartialGroup = function (node) {\n if (node instanceof DocumentFragment || node instanceof Anchor || node instanceof Span && node.hasClass(\"enclosing\")) {\n return node;\n }\n\n return null;\n}; // Return the outermost node of a domTree.\n\n\nconst getOutermostNode = function (node, side) {\n const partialGroup = checkPartialGroup(node);\n\n if (partialGroup) {\n const children = partialGroup.children;\n\n if (children.length) {\n if (side === \"right\") {\n return getOutermostNode(children[children.length - 1], \"right\");\n } else if (side === \"left\") {\n return getOutermostNode(children[0], \"left\");\n }\n }\n }\n\n return node;\n}; // Return math atom class (mclass) of a domTree.\n// If `side` is given, it will get the type of the outermost node at given side.\n\n\nconst getTypeOfDomTree = function (node, side) {\n if (!node) {\n return null;\n }\n\n if (side) {\n node = getOutermostNode(node, side);\n } // This makes a lot of assumptions as to where the type of atom\n // appears. We should do a better job of enforcing this.\n\n\n return DomEnum[node.classes[0]] || null;\n};\nconst makeNullDelimiter = function (options, classes) {\n const moreClasses = [\"nulldelimiter\"].concat(options.baseSizingClasses());\n return buildHTML_makeSpan(classes.concat(moreClasses));\n};\n/**\n * buildGroup is the function that takes a group and calls the correct groupType\n * function for it. It also handles the interaction of size and style changes\n * between parents and children.\n */\n\nconst buildGroup = function (group, options, baseOptions) {\n if (!group) {\n return buildHTML_makeSpan();\n }\n\n if (_htmlGroupBuilders[group.type]) {\n // Call the groupBuilders function\n // $FlowFixMe\n let groupNode = _htmlGroupBuilders[group.type](group, options); // If the size changed between the parent and the current group, account\n // for that size difference.\n\n if (baseOptions && options.size !== baseOptions.size) {\n groupNode = buildHTML_makeSpan(options.sizingClasses(baseOptions), [groupNode], options);\n const multiplier = options.sizeMultiplier / baseOptions.sizeMultiplier;\n groupNode.height *= multiplier;\n groupNode.depth *= multiplier;\n }\n\n return groupNode;\n } else {\n throw new src_ParseError(\"Got group of unknown type: '\" + group.type + \"'\");\n }\n};\n/**\n * Combine an array of HTML DOM nodes (e.g., the output of `buildExpression`)\n * into an unbreakable HTML node of class .base, with proper struts to\n * guarantee correct vertical extent. `buildHTML` calls this repeatedly to\n * make up the entire expression as a sequence of unbreakable units.\n */\n\nfunction buildHTMLUnbreakable(children, options) {\n // Compute height and depth of this chunk.\n const body = buildHTML_makeSpan([\"base\"], children, options); // Add strut, which ensures that the top of the HTML element falls at\n // the height of the expression, and the bottom of the HTML element\n // falls at the depth of the expression.\n\n const strut = buildHTML_makeSpan([\"strut\"]);\n strut.style.height = makeEm(body.height + body.depth);\n\n if (body.depth) {\n strut.style.verticalAlign = makeEm(-body.depth);\n }\n\n body.children.unshift(strut);\n return body;\n}\n/**\n * Take an entire parse tree, and build it into an appropriate set of HTML\n * nodes.\n */\n\n\nfunction buildHTML(tree, options) {\n // Strip off outer tag wrapper for processing below.\n let tag = null;\n\n if (tree.length === 1 && tree[0].type === \"tag\") {\n tag = tree[0].tag;\n tree = tree[0].body;\n } // Build the expression contained in the tree\n\n\n const expression = buildExpression(tree, options, \"root\");\n let eqnNum;\n\n if (expression.length === 2 && expression[1].hasClass(\"tag\")) {\n // An environment with automatic equation numbers, e.g. {gather}.\n eqnNum = expression.pop();\n }\n\n const children = []; // Create one base node for each chunk between potential line breaks.\n // The TeXBook [p.173] says \"A formula will be broken only after a\n // relation symbol like $=$ or $<$ or $\\rightarrow$, or after a binary\n // operation symbol like $+$ or $-$ or $\\times$, where the relation or\n // binary operation is on the ``outer level'' of the formula (i.e., not\n // enclosed in {...} and not part of an \\over construction).\"\n\n let parts = [];\n\n for (let i = 0; i < expression.length; i++) {\n parts.push(expression[i]);\n\n if (expression[i].hasClass(\"mbin\") || expression[i].hasClass(\"mrel\") || expression[i].hasClass(\"allowbreak\")) {\n // Put any post-operator glue on same line as operator.\n // Watch for \\nobreak along the way, and stop at \\newline.\n let nobreak = false;\n\n while (i < expression.length - 1 && expression[i + 1].hasClass(\"mspace\") && !expression[i + 1].hasClass(\"newline\")) {\n i++;\n parts.push(expression[i]);\n\n if (expression[i].hasClass(\"nobreak\")) {\n nobreak = true;\n }\n } // Don't allow break if \\nobreak among the post-operator glue.\n\n\n if (!nobreak) {\n children.push(buildHTMLUnbreakable(parts, options));\n parts = [];\n }\n } else if (expression[i].hasClass(\"newline\")) {\n // Write the line except the newline\n parts.pop();\n\n if (parts.length > 0) {\n children.push(buildHTMLUnbreakable(parts, options));\n parts = [];\n } // Put the newline at the top level\n\n\n children.push(expression[i]);\n }\n }\n\n if (parts.length > 0) {\n children.push(buildHTMLUnbreakable(parts, options));\n } // Now, if there was a tag, build it too and append it as a final child.\n\n\n let tagChild;\n\n if (tag) {\n tagChild = buildHTMLUnbreakable(buildExpression(tag, options, true));\n tagChild.classes = [\"tag\"];\n children.push(tagChild);\n } else if (eqnNum) {\n children.push(eqnNum);\n }\n\n const htmlNode = buildHTML_makeSpan([\"katex-html\"], children);\n htmlNode.setAttribute(\"aria-hidden\", \"true\"); // Adjust the strut of the tag to be the maximum height of all children\n // (the height of the enclosing htmlNode) for proper vertical alignment.\n\n if (tagChild) {\n const strut = tagChild.children[0];\n strut.style.height = makeEm(htmlNode.height + htmlNode.depth);\n\n if (htmlNode.depth) {\n strut.style.verticalAlign = makeEm(-htmlNode.depth);\n }\n }\n\n return htmlNode;\n}\n;// CONCATENATED MODULE: ./src/mathMLTree.js\n/**\n * These objects store data about MathML nodes. This is the MathML equivalent\n * of the types in domTree.js. Since MathML handles its own rendering, and\n * since we're mainly using MathML to improve accessibility, we don't manage\n * any of the styling state that the plain DOM nodes do.\n *\n * The `toNode` and `toMarkup` functions work similarly to how they do in\n * domTree.js, creating namespaced DOM nodes and HTML text markup respectively.\n */\n\n\n\n\nfunction newDocumentFragment(children) {\n return new DocumentFragment(children);\n}\n/**\n * This node represents a general purpose MathML node of any type. The\n * constructor requires the type of node to create (for example, `\"mo\"` or\n * `\"mspace\"`, corresponding to `` and `` tags).\n */\n\nclass MathNode {\n constructor(type, children, classes) {\n this.type = void 0;\n this.attributes = void 0;\n this.children = void 0;\n this.classes = void 0;\n this.type = type;\n this.attributes = {};\n this.children = children || [];\n this.classes = classes || [];\n }\n /**\n * Sets an attribute on a MathML node. MathML depends on attributes to convey a\n * semantic content, so this is used heavily.\n */\n\n\n setAttribute(name, value) {\n this.attributes[name] = value;\n }\n /**\n * Gets an attribute on a MathML node.\n */\n\n\n getAttribute(name) {\n return this.attributes[name];\n }\n /**\n * Converts the math node into a MathML-namespaced DOM element.\n */\n\n\n toNode() {\n const node = document.createElementNS(\"http://www.w3.org/1998/Math/MathML\", this.type);\n\n for (const attr in this.attributes) {\n if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) {\n node.setAttribute(attr, this.attributes[attr]);\n }\n }\n\n if (this.classes.length > 0) {\n node.className = createClass(this.classes);\n }\n\n for (let i = 0; i < this.children.length; i++) {\n node.appendChild(this.children[i].toNode());\n }\n\n return node;\n }\n /**\n * Converts the math node into an HTML markup string.\n */\n\n\n toMarkup() {\n let markup = \"<\" + this.type; // Add the attributes\n\n for (const attr in this.attributes) {\n if (Object.prototype.hasOwnProperty.call(this.attributes, attr)) {\n markup += \" \" + attr + \"=\\\"\";\n markup += utils.escape(this.attributes[attr]);\n markup += \"\\\"\";\n }\n }\n\n if (this.classes.length > 0) {\n markup += \" class =\\\"\" + utils.escape(createClass(this.classes)) + \"\\\"\";\n }\n\n markup += \">\";\n\n for (let i = 0; i < this.children.length; i++) {\n markup += this.children[i].toMarkup();\n }\n\n markup += \"\";\n return markup;\n }\n /**\n * Converts the math node into a string, similar to innerText, but escaped.\n */\n\n\n toText() {\n return this.children.map(child => child.toText()).join(\"\");\n }\n\n}\n/**\n * This node represents a piece of text.\n */\n\nclass TextNode {\n constructor(text) {\n this.text = void 0;\n this.text = text;\n }\n /**\n * Converts the text node into a DOM text node.\n */\n\n\n toNode() {\n return document.createTextNode(this.text);\n }\n /**\n * Converts the text node into escaped HTML markup\n * (representing the text itself).\n */\n\n\n toMarkup() {\n return utils.escape(this.toText());\n }\n /**\n * Converts the text node into a string\n * (representing the text itself).\n */\n\n\n toText() {\n return this.text;\n }\n\n}\n/**\n * This node represents a space, but may render as or as text,\n * depending on the width.\n */\n\nclass SpaceNode {\n /**\n * Create a Space node with width given in CSS ems.\n */\n constructor(width) {\n this.width = void 0;\n this.character = void 0;\n this.width = width; // See https://www.w3.org/TR/2000/WD-MathML2-20000328/chapter6.html\n // for a table of space-like characters. We use Unicode\n // representations instead of &LongNames; as it's not clear how to\n // make the latter via document.createTextNode.\n\n if (width >= 0.05555 && width <= 0.05556) {\n this.character = \"\\u200a\"; //  \n } else if (width >= 0.1666 && width <= 0.1667) {\n this.character = \"\\u2009\"; //  \n } else if (width >= 0.2222 && width <= 0.2223) {\n this.character = \"\\u2005\"; //  \n } else if (width >= 0.2777 && width <= 0.2778) {\n this.character = \"\\u2005\\u200a\"; //   \n } else if (width >= -0.05556 && width <= -0.05555) {\n this.character = \"\\u200a\\u2063\"; // ​\n } else if (width >= -0.1667 && width <= -0.1666) {\n this.character = \"\\u2009\\u2063\"; // ​\n } else if (width >= -0.2223 && width <= -0.2222) {\n this.character = \"\\u205f\\u2063\"; // ​\n } else if (width >= -0.2778 && width <= -0.2777) {\n this.character = \"\\u2005\\u2063\"; // ​\n } else {\n this.character = null;\n }\n }\n /**\n * Converts the math node into a MathML-namespaced DOM element.\n */\n\n\n toNode() {\n if (this.character) {\n return document.createTextNode(this.character);\n } else {\n const node = document.createElementNS(\"http://www.w3.org/1998/Math/MathML\", \"mspace\");\n node.setAttribute(\"width\", makeEm(this.width));\n return node;\n }\n }\n /**\n * Converts the math node into an HTML markup string.\n */\n\n\n toMarkup() {\n if (this.character) {\n return \"\" + this.character + \"\";\n } else {\n return \"\";\n }\n }\n /**\n * Converts the math node into a string, similar to innerText.\n */\n\n\n toText() {\n if (this.character) {\n return this.character;\n } else {\n return \" \";\n }\n }\n\n}\n\n/* harmony default export */ var mathMLTree = ({\n MathNode,\n TextNode,\n SpaceNode,\n newDocumentFragment\n});\n;// CONCATENATED MODULE: ./src/buildMathML.js\n/**\n * This file converts a parse tree into a corresponding MathML tree. The main\n * entry point is the `buildMathML` function, which takes a parse tree from the\n * parser.\n */\n\n\n\n\n\n\n\n\n\n/**\n * Takes a symbol and converts it into a MathML text node after performing\n * optional replacement from symbols.js.\n */\nconst makeText = function (text, mode, options) {\n if (src_symbols[mode][text] && src_symbols[mode][text].replace && text.charCodeAt(0) !== 0xD835 && !(ligatures.hasOwnProperty(text) && options && (options.fontFamily && options.fontFamily.slice(4, 6) === \"tt\" || options.font && options.font.slice(4, 6) === \"tt\"))) {\n text = src_symbols[mode][text].replace;\n }\n\n return new mathMLTree.TextNode(text);\n};\n/**\n * Wrap the given array of nodes in an node if needed, i.e.,\n * unless the array has length 1. Always returns a single node.\n */\n\nconst makeRow = function (body) {\n if (body.length === 1) {\n return body[0];\n } else {\n return new mathMLTree.MathNode(\"mrow\", body);\n }\n};\n/**\n * Returns the math variant as a string or null if none is required.\n */\n\nconst getVariant = function (group, options) {\n // Handle \\text... font specifiers as best we can.\n // MathML has a limited list of allowable mathvariant specifiers; see\n // https://www.w3.org/TR/MathML3/chapter3.html#presm.commatt\n if (options.fontFamily === \"texttt\") {\n return \"monospace\";\n } else if (options.fontFamily === \"textsf\") {\n if (options.fontShape === \"textit\" && options.fontWeight === \"textbf\") {\n return \"sans-serif-bold-italic\";\n } else if (options.fontShape === \"textit\") {\n return \"sans-serif-italic\";\n } else if (options.fontWeight === \"textbf\") {\n return \"bold-sans-serif\";\n } else {\n return \"sans-serif\";\n }\n } else if (options.fontShape === \"textit\" && options.fontWeight === \"textbf\") {\n return \"bold-italic\";\n } else if (options.fontShape === \"textit\") {\n return \"italic\";\n } else if (options.fontWeight === \"textbf\") {\n return \"bold\";\n }\n\n const font = options.font;\n\n if (!font || font === \"mathnormal\") {\n return null;\n }\n\n const mode = group.mode;\n\n if (font === \"mathit\") {\n return \"italic\";\n } else if (font === \"boldsymbol\") {\n return group.type === \"textord\" ? \"bold\" : \"bold-italic\";\n } else if (font === \"mathbf\") {\n return \"bold\";\n } else if (font === \"mathbb\") {\n return \"double-struck\";\n } else if (font === \"mathfrak\") {\n return \"fraktur\";\n } else if (font === \"mathscr\" || font === \"mathcal\") {\n // MathML makes no distinction between script and calligraphic\n return \"script\";\n } else if (font === \"mathsf\") {\n return \"sans-serif\";\n } else if (font === \"mathtt\") {\n return \"monospace\";\n }\n\n let text = group.text;\n\n if (utils.contains([\"\\\\imath\", \"\\\\jmath\"], text)) {\n return null;\n }\n\n if (src_symbols[mode][text] && src_symbols[mode][text].replace) {\n text = src_symbols[mode][text].replace;\n }\n\n const fontName = buildCommon.fontMap[font].fontName;\n\n if (getCharacterMetrics(text, fontName, mode)) {\n return buildCommon.fontMap[font].variant;\n }\n\n return null;\n};\n/**\n * Takes a list of nodes, builds them, and returns a list of the generated\n * MathML nodes. Also combine consecutive outputs into a single\n * tag.\n */\n\nconst buildMathML_buildExpression = function (expression, options, isOrdgroup) {\n if (expression.length === 1) {\n const group = buildMathML_buildGroup(expression[0], options);\n\n if (isOrdgroup && group instanceof MathNode && group.type === \"mo\") {\n // When TeX writers want to suppress spacing on an operator,\n // they often put the operator by itself inside braces.\n group.setAttribute(\"lspace\", \"0em\");\n group.setAttribute(\"rspace\", \"0em\");\n }\n\n return [group];\n }\n\n const groups = [];\n let lastGroup;\n\n for (let i = 0; i < expression.length; i++) {\n const group = buildMathML_buildGroup(expression[i], options);\n\n if (group instanceof MathNode && lastGroup instanceof MathNode) {\n // Concatenate adjacent s\n if (group.type === 'mtext' && lastGroup.type === 'mtext' && group.getAttribute('mathvariant') === lastGroup.getAttribute('mathvariant')) {\n lastGroup.children.push(...group.children);\n continue; // Concatenate adjacent s\n } else if (group.type === 'mn' && lastGroup.type === 'mn') {\n lastGroup.children.push(...group.children);\n continue; // Concatenate ... followed by .\n } else if (group.type === 'mi' && group.children.length === 1 && lastGroup.type === 'mn') {\n const child = group.children[0];\n\n if (child instanceof TextNode && child.text === '.') {\n lastGroup.children.push(...group.children);\n continue;\n }\n } else if (lastGroup.type === 'mi' && lastGroup.children.length === 1) {\n const lastChild = lastGroup.children[0];\n\n if (lastChild instanceof TextNode && lastChild.text === '\\u0338' && (group.type === 'mo' || group.type === 'mi' || group.type === 'mn')) {\n const child = group.children[0];\n\n if (child instanceof TextNode && child.text.length > 0) {\n // Overlay with combining character long solidus\n child.text = child.text.slice(0, 1) + \"\\u0338\" + child.text.slice(1);\n groups.pop();\n }\n }\n }\n }\n\n groups.push(group);\n lastGroup = group;\n }\n\n return groups;\n};\n/**\n * Equivalent to buildExpression, but wraps the elements in an \n * if there's more than one. Returns a single node instead of an array.\n */\n\nconst buildExpressionRow = function (expression, options, isOrdgroup) {\n return makeRow(buildMathML_buildExpression(expression, options, isOrdgroup));\n};\n/**\n * Takes a group from the parser and calls the appropriate groupBuilders function\n * on it to produce a MathML node.\n */\n\nconst buildMathML_buildGroup = function (group, options) {\n if (!group) {\n return new mathMLTree.MathNode(\"mrow\");\n }\n\n if (_mathmlGroupBuilders[group.type]) {\n // Call the groupBuilders function\n // $FlowFixMe\n const result = _mathmlGroupBuilders[group.type](group, options); // $FlowFixMe\n\n return result;\n } else {\n throw new src_ParseError(\"Got group of unknown type: '\" + group.type + \"'\");\n }\n};\n/**\n * Takes a full parse tree and settings and builds a MathML representation of\n * it. In particular, we put the elements from building the parse tree into a\n * tag so we can also include that TeX source as an annotation.\n *\n * Note that we actually return a domTree element with a `` inside it so\n * we can do appropriate styling.\n */\n\nfunction buildMathML(tree, texExpression, options, isDisplayMode, forMathmlOnly) {\n const expression = buildMathML_buildExpression(tree, options); // TODO: Make a pass thru the MathML similar to buildHTML.traverseNonSpaceNodes\n // and add spacing nodes. This is necessary only adjacent to math operators\n // like \\sin or \\lim or to subsup elements that contain math operators.\n // MathML takes care of the other spacing issues.\n // Wrap up the expression in an mrow so it is presented in the semantics\n // tag correctly, unless it's a single or .\n\n let wrapper;\n\n if (expression.length === 1 && expression[0] instanceof MathNode && utils.contains([\"mrow\", \"mtable\"], expression[0].type)) {\n wrapper = expression[0];\n } else {\n wrapper = new mathMLTree.MathNode(\"mrow\", expression);\n } // Build a TeX annotation of the source\n\n\n const annotation = new mathMLTree.MathNode(\"annotation\", [new mathMLTree.TextNode(texExpression)]);\n annotation.setAttribute(\"encoding\", \"application/x-tex\");\n const semantics = new mathMLTree.MathNode(\"semantics\", [wrapper, annotation]);\n const math = new mathMLTree.MathNode(\"math\", [semantics]);\n math.setAttribute(\"xmlns\", \"http://www.w3.org/1998/Math/MathML\");\n\n if (isDisplayMode) {\n math.setAttribute(\"display\", \"block\");\n } // You can't style nodes, so we wrap the node in a span.\n // NOTE: The span class is not typed to have nodes as children, and\n // we don't want to make the children type more generic since the children\n // of span are expected to have more fields in `buildHtml` contexts.\n\n\n const wrapperClass = forMathmlOnly ? \"katex\" : \"katex-mathml\"; // $FlowFixMe\n\n return buildCommon.makeSpan([wrapperClass], [math]);\n}\n;// CONCATENATED MODULE: ./src/buildTree.js\n\n\n\n\n\n\n\nconst optionsFromSettings = function (settings) {\n return new src_Options({\n style: settings.displayMode ? src_Style.DISPLAY : src_Style.TEXT,\n maxSize: settings.maxSize,\n minRuleThickness: settings.minRuleThickness\n });\n};\n\nconst displayWrap = function (node, settings) {\n if (settings.displayMode) {\n const classes = [\"katex-display\"];\n\n if (settings.leqno) {\n classes.push(\"leqno\");\n }\n\n if (settings.fleqn) {\n classes.push(\"fleqn\");\n }\n\n node = buildCommon.makeSpan(classes, [node]);\n }\n\n return node;\n};\n\nconst buildTree = function (tree, expression, settings) {\n const options = optionsFromSettings(settings);\n let katexNode;\n\n if (settings.output === \"mathml\") {\n return buildMathML(tree, expression, options, settings.displayMode, true);\n } else if (settings.output === \"html\") {\n const htmlNode = buildHTML(tree, options);\n katexNode = buildCommon.makeSpan([\"katex\"], [htmlNode]);\n } else {\n const mathMLNode = buildMathML(tree, expression, options, settings.displayMode, false);\n const htmlNode = buildHTML(tree, options);\n katexNode = buildCommon.makeSpan([\"katex\"], [mathMLNode, htmlNode]);\n }\n\n return displayWrap(katexNode, settings);\n};\nconst buildHTMLTree = function (tree, expression, settings) {\n const options = optionsFromSettings(settings);\n const htmlNode = buildHTML(tree, options);\n const katexNode = buildCommon.makeSpan([\"katex\"], [htmlNode]);\n return displayWrap(katexNode, settings);\n};\n/* harmony default export */ var src_buildTree = ((/* unused pure expression or super */ null && (buildTree)));\n;// CONCATENATED MODULE: ./src/stretchy.js\n/**\n * This file provides support to buildMathML.js and buildHTML.js\n * for stretchy wide elements rendered from SVG files\n * and other CSS trickery.\n */\n\n\n\n\n\nconst stretchyCodePoint = {\n widehat: \"^\",\n widecheck: \"ˇ\",\n widetilde: \"~\",\n utilde: \"~\",\n overleftarrow: \"\\u2190\",\n underleftarrow: \"\\u2190\",\n xleftarrow: \"\\u2190\",\n overrightarrow: \"\\u2192\",\n underrightarrow: \"\\u2192\",\n xrightarrow: \"\\u2192\",\n underbrace: \"\\u23df\",\n overbrace: \"\\u23de\",\n overgroup: \"\\u23e0\",\n undergroup: \"\\u23e1\",\n overleftrightarrow: \"\\u2194\",\n underleftrightarrow: \"\\u2194\",\n xleftrightarrow: \"\\u2194\",\n Overrightarrow: \"\\u21d2\",\n xRightarrow: \"\\u21d2\",\n overleftharpoon: \"\\u21bc\",\n xleftharpoonup: \"\\u21bc\",\n overrightharpoon: \"\\u21c0\",\n xrightharpoonup: \"\\u21c0\",\n xLeftarrow: \"\\u21d0\",\n xLeftrightarrow: \"\\u21d4\",\n xhookleftarrow: \"\\u21a9\",\n xhookrightarrow: \"\\u21aa\",\n xmapsto: \"\\u21a6\",\n xrightharpoondown: \"\\u21c1\",\n xleftharpoondown: \"\\u21bd\",\n xrightleftharpoons: \"\\u21cc\",\n xleftrightharpoons: \"\\u21cb\",\n xtwoheadleftarrow: \"\\u219e\",\n xtwoheadrightarrow: \"\\u21a0\",\n xlongequal: \"=\",\n xtofrom: \"\\u21c4\",\n xrightleftarrows: \"\\u21c4\",\n xrightequilibrium: \"\\u21cc\",\n // Not a perfect match.\n xleftequilibrium: \"\\u21cb\",\n // None better available.\n \"\\\\cdrightarrow\": \"\\u2192\",\n \"\\\\cdleftarrow\": \"\\u2190\",\n \"\\\\cdlongequal\": \"=\"\n};\n\nconst mathMLnode = function (label) {\n const node = new mathMLTree.MathNode(\"mo\", [new mathMLTree.TextNode(stretchyCodePoint[label.replace(/^\\\\/, '')])]);\n node.setAttribute(\"stretchy\", \"true\");\n return node;\n}; // Many of the KaTeX SVG images have been adapted from glyphs in KaTeX fonts.\n// Copyright (c) 2009-2010, Design Science, Inc. ()\n// Copyright (c) 2014-2017 Khan Academy ()\n// Licensed under the SIL Open Font License, Version 1.1.\n// See \\nhttp://scripts.sil.org/OFL\n// Very Long SVGs\n// Many of the KaTeX stretchy wide elements use a long SVG image and an\n// overflow: hidden tactic to achieve a stretchy image while avoiding\n// distortion of arrowheads or brace corners.\n// The SVG typically contains a very long (400 em) arrow.\n// The SVG is in a container span that has overflow: hidden, so the span\n// acts like a window that exposes only part of the SVG.\n// The SVG always has a longer, thinner aspect ratio than the container span.\n// After the SVG fills 100% of the height of the container span,\n// there is a long arrow shaft left over. That left-over shaft is not shown.\n// Instead, it is sliced off because the span's CSS has overflow: hidden.\n// Thus, the reader sees an arrow that matches the subject matter width\n// without distortion.\n// Some functions, such as \\cancel, need to vary their aspect ratio. These\n// functions do not get the overflow SVG treatment.\n// Second Brush Stroke\n// Low resolution monitors struggle to display images in fine detail.\n// So browsers apply anti-aliasing. A long straight arrow shaft therefore\n// will sometimes appear as if it has a blurred edge.\n// To mitigate this, these SVG files contain a second \"brush-stroke\" on the\n// arrow shafts. That is, a second long thin rectangular SVG path has been\n// written directly on top of each arrow shaft. This reinforcement causes\n// some of the screen pixels to display as black instead of the anti-aliased\n// gray pixel that a single path would generate. So we get arrow shafts\n// whose edges appear to be sharper.\n// In the katexImagesData object just below, the dimensions all\n// correspond to path geometry inside the relevant SVG.\n// For example, \\overrightarrow uses the same arrowhead as glyph U+2192\n// from the KaTeX Main font. The scaling factor is 1000.\n// That is, inside the font, that arrowhead is 522 units tall, which\n// corresponds to 0.522 em inside the document.\n\n\nconst katexImagesData = {\n // path(s), minWidth, height, align\n overrightarrow: [[\"rightarrow\"], 0.888, 522, \"xMaxYMin\"],\n overleftarrow: [[\"leftarrow\"], 0.888, 522, \"xMinYMin\"],\n underrightarrow: [[\"rightarrow\"], 0.888, 522, \"xMaxYMin\"],\n underleftarrow: [[\"leftarrow\"], 0.888, 522, \"xMinYMin\"],\n xrightarrow: [[\"rightarrow\"], 1.469, 522, \"xMaxYMin\"],\n \"\\\\cdrightarrow\": [[\"rightarrow\"], 3.0, 522, \"xMaxYMin\"],\n // CD minwwidth2.5pc\n xleftarrow: [[\"leftarrow\"], 1.469, 522, \"xMinYMin\"],\n \"\\\\cdleftarrow\": [[\"leftarrow\"], 3.0, 522, \"xMinYMin\"],\n Overrightarrow: [[\"doublerightarrow\"], 0.888, 560, \"xMaxYMin\"],\n xRightarrow: [[\"doublerightarrow\"], 1.526, 560, \"xMaxYMin\"],\n xLeftarrow: [[\"doubleleftarrow\"], 1.526, 560, \"xMinYMin\"],\n overleftharpoon: [[\"leftharpoon\"], 0.888, 522, \"xMinYMin\"],\n xleftharpoonup: [[\"leftharpoon\"], 0.888, 522, \"xMinYMin\"],\n xleftharpoondown: [[\"leftharpoondown\"], 0.888, 522, \"xMinYMin\"],\n overrightharpoon: [[\"rightharpoon\"], 0.888, 522, \"xMaxYMin\"],\n xrightharpoonup: [[\"rightharpoon\"], 0.888, 522, \"xMaxYMin\"],\n xrightharpoondown: [[\"rightharpoondown\"], 0.888, 522, \"xMaxYMin\"],\n xlongequal: [[\"longequal\"], 0.888, 334, \"xMinYMin\"],\n \"\\\\cdlongequal\": [[\"longequal\"], 3.0, 334, \"xMinYMin\"],\n xtwoheadleftarrow: [[\"twoheadleftarrow\"], 0.888, 334, \"xMinYMin\"],\n xtwoheadrightarrow: [[\"twoheadrightarrow\"], 0.888, 334, \"xMaxYMin\"],\n overleftrightarrow: [[\"leftarrow\", \"rightarrow\"], 0.888, 522],\n overbrace: [[\"leftbrace\", \"midbrace\", \"rightbrace\"], 1.6, 548],\n underbrace: [[\"leftbraceunder\", \"midbraceunder\", \"rightbraceunder\"], 1.6, 548],\n underleftrightarrow: [[\"leftarrow\", \"rightarrow\"], 0.888, 522],\n xleftrightarrow: [[\"leftarrow\", \"rightarrow\"], 1.75, 522],\n xLeftrightarrow: [[\"doubleleftarrow\", \"doublerightarrow\"], 1.75, 560],\n xrightleftharpoons: [[\"leftharpoondownplus\", \"rightharpoonplus\"], 1.75, 716],\n xleftrightharpoons: [[\"leftharpoonplus\", \"rightharpoondownplus\"], 1.75, 716],\n xhookleftarrow: [[\"leftarrow\", \"righthook\"], 1.08, 522],\n xhookrightarrow: [[\"lefthook\", \"rightarrow\"], 1.08, 522],\n overlinesegment: [[\"leftlinesegment\", \"rightlinesegment\"], 0.888, 522],\n underlinesegment: [[\"leftlinesegment\", \"rightlinesegment\"], 0.888, 522],\n overgroup: [[\"leftgroup\", \"rightgroup\"], 0.888, 342],\n undergroup: [[\"leftgroupunder\", \"rightgroupunder\"], 0.888, 342],\n xmapsto: [[\"leftmapsto\", \"rightarrow\"], 1.5, 522],\n xtofrom: [[\"leftToFrom\", \"rightToFrom\"], 1.75, 528],\n // The next three arrows are from the mhchem package.\n // In mhchem.sty, min-length is 2.0em. But these arrows might appear in the\n // document as \\xrightarrow or \\xrightleftharpoons. Those have\n // min-length = 1.75em, so we set min-length on these next three to match.\n xrightleftarrows: [[\"baraboveleftarrow\", \"rightarrowabovebar\"], 1.75, 901],\n xrightequilibrium: [[\"baraboveshortleftharpoon\", \"rightharpoonaboveshortbar\"], 1.75, 716],\n xleftequilibrium: [[\"shortbaraboveleftharpoon\", \"shortrightharpoonabovebar\"], 1.75, 716]\n};\n\nconst groupLength = function (arg) {\n if (arg.type === \"ordgroup\") {\n return arg.body.length;\n } else {\n return 1;\n }\n};\n\nconst svgSpan = function (group, options) {\n // Create a span with inline SVG for the element.\n function buildSvgSpan_() {\n let viewBoxWidth = 400000; // default\n\n const label = group.label.slice(1);\n\n if (utils.contains([\"widehat\", \"widecheck\", \"widetilde\", \"utilde\"], label)) {\n // Each type in the `if` statement corresponds to one of the ParseNode\n // types below. This narrowing is required to access `grp.base`.\n // $FlowFixMe\n const grp = group; // There are four SVG images available for each function.\n // Choose a taller image when there are more characters.\n\n const numChars = groupLength(grp.base);\n let viewBoxHeight;\n let pathName;\n let height;\n\n if (numChars > 5) {\n if (label === \"widehat\" || label === \"widecheck\") {\n viewBoxHeight = 420;\n viewBoxWidth = 2364;\n height = 0.42;\n pathName = label + \"4\";\n } else {\n viewBoxHeight = 312;\n viewBoxWidth = 2340;\n height = 0.34;\n pathName = \"tilde4\";\n }\n } else {\n const imgIndex = [1, 1, 2, 2, 3, 3][numChars];\n\n if (label === \"widehat\" || label === \"widecheck\") {\n viewBoxWidth = [0, 1062, 2364, 2364, 2364][imgIndex];\n viewBoxHeight = [0, 239, 300, 360, 420][imgIndex];\n height = [0, 0.24, 0.3, 0.3, 0.36, 0.42][imgIndex];\n pathName = label + imgIndex;\n } else {\n viewBoxWidth = [0, 600, 1033, 2339, 2340][imgIndex];\n viewBoxHeight = [0, 260, 286, 306, 312][imgIndex];\n height = [0, 0.26, 0.286, 0.3, 0.306, 0.34][imgIndex];\n pathName = \"tilde\" + imgIndex;\n }\n }\n\n const path = new PathNode(pathName);\n const svgNode = new SvgNode([path], {\n \"width\": \"100%\",\n \"height\": makeEm(height),\n \"viewBox\": \"0 0 \" + viewBoxWidth + \" \" + viewBoxHeight,\n \"preserveAspectRatio\": \"none\"\n });\n return {\n span: buildCommon.makeSvgSpan([], [svgNode], options),\n minWidth: 0,\n height\n };\n } else {\n const spans = [];\n const data = katexImagesData[label];\n const [paths, minWidth, viewBoxHeight] = data;\n const height = viewBoxHeight / 1000;\n const numSvgChildren = paths.length;\n let widthClasses;\n let aligns;\n\n if (numSvgChildren === 1) {\n // $FlowFixMe: All these cases must be of the 4-tuple type.\n const align1 = data[3];\n widthClasses = [\"hide-tail\"];\n aligns = [align1];\n } else if (numSvgChildren === 2) {\n widthClasses = [\"halfarrow-left\", \"halfarrow-right\"];\n aligns = [\"xMinYMin\", \"xMaxYMin\"];\n } else if (numSvgChildren === 3) {\n widthClasses = [\"brace-left\", \"brace-center\", \"brace-right\"];\n aligns = [\"xMinYMin\", \"xMidYMin\", \"xMaxYMin\"];\n } else {\n throw new Error(\"Correct katexImagesData or update code here to support\\n \" + numSvgChildren + \" children.\");\n }\n\n for (let i = 0; i < numSvgChildren; i++) {\n const path = new PathNode(paths[i]);\n const svgNode = new SvgNode([path], {\n \"width\": \"400em\",\n \"height\": makeEm(height),\n \"viewBox\": \"0 0 \" + viewBoxWidth + \" \" + viewBoxHeight,\n \"preserveAspectRatio\": aligns[i] + \" slice\"\n });\n const span = buildCommon.makeSvgSpan([widthClasses[i]], [svgNode], options);\n\n if (numSvgChildren === 1) {\n return {\n span,\n minWidth,\n height\n };\n } else {\n span.style.height = makeEm(height);\n spans.push(span);\n }\n }\n\n return {\n span: buildCommon.makeSpan([\"stretchy\"], spans, options),\n minWidth,\n height\n };\n }\n } // buildSvgSpan_()\n\n\n const {\n span,\n minWidth,\n height\n } = buildSvgSpan_(); // Note that we are returning span.depth = 0.\n // Any adjustments relative to the baseline must be done in buildHTML.\n\n span.height = height;\n span.style.height = makeEm(height);\n\n if (minWidth > 0) {\n span.style.minWidth = makeEm(minWidth);\n }\n\n return span;\n};\n\nconst encloseSpan = function (inner, label, topPad, bottomPad, options) {\n // Return an image span for \\cancel, \\bcancel, \\xcancel, \\fbox, or \\angl\n let img;\n const totalHeight = inner.height + inner.depth + topPad + bottomPad;\n\n if (/fbox|color|angl/.test(label)) {\n img = buildCommon.makeSpan([\"stretchy\", label], [], options);\n\n if (label === \"fbox\") {\n const color = options.color && options.getColor();\n\n if (color) {\n img.style.borderColor = color;\n }\n }\n } else {\n // \\cancel, \\bcancel, or \\xcancel\n // Since \\cancel's SVG is inline and it omits the viewBox attribute,\n // its stroke-width will not vary with span area.\n const lines = [];\n\n if (/^[bx]cancel$/.test(label)) {\n lines.push(new LineNode({\n \"x1\": \"0\",\n \"y1\": \"0\",\n \"x2\": \"100%\",\n \"y2\": \"100%\",\n \"stroke-width\": \"0.046em\"\n }));\n }\n\n if (/^x?cancel$/.test(label)) {\n lines.push(new LineNode({\n \"x1\": \"0\",\n \"y1\": \"100%\",\n \"x2\": \"100%\",\n \"y2\": \"0\",\n \"stroke-width\": \"0.046em\"\n }));\n }\n\n const svgNode = new SvgNode(lines, {\n \"width\": \"100%\",\n \"height\": makeEm(totalHeight)\n });\n img = buildCommon.makeSvgSpan([], [svgNode], options);\n }\n\n img.height = totalHeight;\n img.style.height = makeEm(totalHeight);\n return img;\n};\n\n/* harmony default export */ var stretchy = ({\n encloseSpan,\n mathMLnode,\n svgSpan\n});\n;// CONCATENATED MODULE: ./src/parseNode.js\n\n\n/**\n * Asserts that the node is of the given type and returns it with stricter\n * typing. Throws if the node's type does not match.\n */\nfunction assertNodeType(node, type) {\n if (!node || node.type !== type) {\n throw new Error(\"Expected node of type \" + type + \", but got \" + (node ? \"node of type \" + node.type : String(node)));\n } // $FlowFixMe, >=0.125\n\n\n return node;\n}\n/**\n * Returns the node more strictly typed iff it is of the given type. Otherwise,\n * returns null.\n */\n\nfunction assertSymbolNodeType(node) {\n const typedNode = checkSymbolNodeType(node);\n\n if (!typedNode) {\n throw new Error(\"Expected node of symbol group type, but got \" + (node ? \"node of type \" + node.type : String(node)));\n }\n\n return typedNode;\n}\n/**\n * Returns the node more strictly typed iff it is of the given type. Otherwise,\n * returns null.\n */\n\nfunction checkSymbolNodeType(node) {\n if (node && (node.type === \"atom\" || NON_ATOMS.hasOwnProperty(node.type))) {\n // $FlowFixMe\n return node;\n }\n\n return null;\n}\n;// CONCATENATED MODULE: ./src/functions/accent.js\n\n\n\n\n\n\n\n\n\n\n// NOTE: Unlike most `htmlBuilder`s, this one handles not only \"accent\", but\n// also \"supsub\" since an accent can affect super/subscripting.\nconst htmlBuilder = (grp, options) => {\n // Accents are handled in the TeXbook pg. 443, rule 12.\n let base;\n let group;\n let supSubGroup;\n\n if (grp && grp.type === \"supsub\") {\n // If our base is a character box, and we have superscripts and\n // subscripts, the supsub will defer to us. In particular, we want\n // to attach the superscripts and subscripts to the inner body (so\n // that the position of the superscripts and subscripts won't be\n // affected by the height of the accent). We accomplish this by\n // sticking the base of the accent into the base of the supsub, and\n // rendering that, while keeping track of where the accent is.\n // The real accent group is the base of the supsub group\n group = assertNodeType(grp.base, \"accent\"); // The character box is the base of the accent group\n\n base = group.base; // Stick the character box into the base of the supsub group\n\n grp.base = base; // Rerender the supsub group with its new base, and store that\n // result.\n\n supSubGroup = assertSpan(buildGroup(grp, options)); // reset original base\n\n grp.base = group;\n } else {\n group = assertNodeType(grp, \"accent\");\n base = group.base;\n } // Build the base group\n\n\n const body = buildGroup(base, options.havingCrampedStyle()); // Does the accent need to shift for the skew of a character?\n\n const mustShift = group.isShifty && utils.isCharacterBox(base); // Calculate the skew of the accent. This is based on the line \"If the\n // nucleus is not a single character, let s = 0; otherwise set s to the\n // kern amount for the nucleus followed by the \\skewchar of its font.\"\n // Note that our skew metrics are just the kern between each character\n // and the skewchar.\n\n let skew = 0;\n\n if (mustShift) {\n // If the base is a character box, then we want the skew of the\n // innermost character. To do that, we find the innermost character:\n const baseChar = utils.getBaseElem(base); // Then, we render its group to get the symbol inside it\n\n const baseGroup = buildGroup(baseChar, options.havingCrampedStyle()); // Finally, we pull the skew off of the symbol.\n\n skew = assertSymbolDomNode(baseGroup).skew; // Note that we now throw away baseGroup, because the layers we\n // removed with getBaseElem might contain things like \\color which\n // we can't get rid of.\n // TODO(emily): Find a better way to get the skew\n }\n\n const accentBelow = group.label === \"\\\\c\"; // calculate the amount of space between the body and the accent\n\n let clearance = accentBelow ? body.height + body.depth : Math.min(body.height, options.fontMetrics().xHeight); // Build the accent\n\n let accentBody;\n\n if (!group.isStretchy) {\n let accent;\n let width;\n\n if (group.label === \"\\\\vec\") {\n // Before version 0.9, \\vec used the combining font glyph U+20D7.\n // But browsers, especially Safari, are not consistent in how they\n // render combining characters when not preceded by a character.\n // So now we use an SVG.\n // If Safari reforms, we should consider reverting to the glyph.\n accent = buildCommon.staticSvg(\"vec\", options);\n width = buildCommon.svgData.vec[1];\n } else {\n accent = buildCommon.makeOrd({\n mode: group.mode,\n text: group.label\n }, options, \"textord\");\n accent = assertSymbolDomNode(accent); // Remove the italic correction of the accent, because it only serves to\n // shift the accent over to a place we don't want.\n\n accent.italic = 0;\n width = accent.width;\n\n if (accentBelow) {\n clearance += accent.depth;\n }\n }\n\n accentBody = buildCommon.makeSpan([\"accent-body\"], [accent]); // \"Full\" accents expand the width of the resulting symbol to be\n // at least the width of the accent, and overlap directly onto the\n // character without any vertical offset.\n\n const accentFull = group.label === \"\\\\textcircled\";\n\n if (accentFull) {\n accentBody.classes.push('accent-full');\n clearance = body.height;\n } // Shift the accent over by the skew.\n\n\n let left = skew; // CSS defines `.katex .accent .accent-body:not(.accent-full) { width: 0 }`\n // so that the accent doesn't contribute to the bounding box.\n // We need to shift the character by its width (effectively half\n // its width) to compensate.\n\n if (!accentFull) {\n left -= width / 2;\n }\n\n accentBody.style.left = makeEm(left); // \\textcircled uses the \\bigcirc glyph, so it needs some\n // vertical adjustment to match LaTeX.\n\n if (group.label === \"\\\\textcircled\") {\n accentBody.style.top = \".2em\";\n }\n\n accentBody = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: body\n }, {\n type: \"kern\",\n size: -clearance\n }, {\n type: \"elem\",\n elem: accentBody\n }]\n }, options);\n } else {\n accentBody = stretchy.svgSpan(group, options);\n accentBody = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: body\n }, {\n type: \"elem\",\n elem: accentBody,\n wrapperClasses: [\"svg-align\"],\n wrapperStyle: skew > 0 ? {\n width: \"calc(100% - \" + makeEm(2 * skew) + \")\",\n marginLeft: makeEm(2 * skew)\n } : undefined\n }]\n }, options);\n }\n\n const accentWrap = buildCommon.makeSpan([\"mord\", \"accent\"], [accentBody], options);\n\n if (supSubGroup) {\n // Here, we replace the \"base\" child of the supsub with our newly\n // generated accent.\n supSubGroup.children[0] = accentWrap; // Since we don't rerun the height calculation after replacing the\n // accent, we manually recalculate height.\n\n supSubGroup.height = Math.max(accentWrap.height, supSubGroup.height); // Accents should always be ords, even when their innards are not.\n\n supSubGroup.classes[0] = \"mord\";\n return supSubGroup;\n } else {\n return accentWrap;\n }\n};\n\nconst mathmlBuilder = (group, options) => {\n const accentNode = group.isStretchy ? stretchy.mathMLnode(group.label) : new mathMLTree.MathNode(\"mo\", [makeText(group.label, group.mode)]);\n const node = new mathMLTree.MathNode(\"mover\", [buildMathML_buildGroup(group.base, options), accentNode]);\n node.setAttribute(\"accent\", \"true\");\n return node;\n};\n\nconst NON_STRETCHY_ACCENT_REGEX = new RegExp([\"\\\\acute\", \"\\\\grave\", \"\\\\ddot\", \"\\\\tilde\", \"\\\\bar\", \"\\\\breve\", \"\\\\check\", \"\\\\hat\", \"\\\\vec\", \"\\\\dot\", \"\\\\mathring\"].map(accent => \"\\\\\" + accent).join(\"|\")); // Accents\n\ndefineFunction({\n type: \"accent\",\n names: [\"\\\\acute\", \"\\\\grave\", \"\\\\ddot\", \"\\\\tilde\", \"\\\\bar\", \"\\\\breve\", \"\\\\check\", \"\\\\hat\", \"\\\\vec\", \"\\\\dot\", \"\\\\mathring\", \"\\\\widecheck\", \"\\\\widehat\", \"\\\\widetilde\", \"\\\\overrightarrow\", \"\\\\overleftarrow\", \"\\\\Overrightarrow\", \"\\\\overleftrightarrow\", \"\\\\overgroup\", \"\\\\overlinesegment\", \"\\\\overleftharpoon\", \"\\\\overrightharpoon\"],\n props: {\n numArgs: 1\n },\n handler: (context, args) => {\n const base = normalizeArgument(args[0]);\n const isStretchy = !NON_STRETCHY_ACCENT_REGEX.test(context.funcName);\n const isShifty = !isStretchy || context.funcName === \"\\\\widehat\" || context.funcName === \"\\\\widetilde\" || context.funcName === \"\\\\widecheck\";\n return {\n type: \"accent\",\n mode: context.parser.mode,\n label: context.funcName,\n isStretchy: isStretchy,\n isShifty: isShifty,\n base: base\n };\n },\n htmlBuilder,\n mathmlBuilder\n}); // Text-mode accents\n\ndefineFunction({\n type: \"accent\",\n names: [\"\\\\'\", \"\\\\`\", \"\\\\^\", \"\\\\~\", \"\\\\=\", \"\\\\u\", \"\\\\.\", '\\\\\"', \"\\\\c\", \"\\\\r\", \"\\\\H\", \"\\\\v\", \"\\\\textcircled\"],\n props: {\n numArgs: 1,\n allowedInText: true,\n allowedInMath: true,\n // unless in strict mode\n argTypes: [\"primitive\"]\n },\n handler: (context, args) => {\n const base = args[0];\n let mode = context.parser.mode;\n\n if (mode === \"math\") {\n context.parser.settings.reportNonstrict(\"mathVsTextAccents\", \"LaTeX's accent \" + context.funcName + \" works only in text mode\");\n mode = \"text\";\n }\n\n return {\n type: \"accent\",\n mode: mode,\n label: context.funcName,\n isStretchy: false,\n isShifty: true,\n base: base\n };\n },\n htmlBuilder,\n mathmlBuilder\n});\n;// CONCATENATED MODULE: ./src/functions/accentunder.js\n// Horizontal overlap functions\n\n\n\n\n\n\ndefineFunction({\n type: \"accentUnder\",\n names: [\"\\\\underleftarrow\", \"\\\\underrightarrow\", \"\\\\underleftrightarrow\", \"\\\\undergroup\", \"\\\\underlinesegment\", \"\\\\utilde\"],\n props: {\n numArgs: 1\n },\n handler: (_ref, args) => {\n let {\n parser,\n funcName\n } = _ref;\n const base = args[0];\n return {\n type: \"accentUnder\",\n mode: parser.mode,\n label: funcName,\n base: base\n };\n },\n htmlBuilder: (group, options) => {\n // Treat under accents much like underlines.\n const innerGroup = buildGroup(group.base, options);\n const accentBody = stretchy.svgSpan(group, options);\n const kern = group.label === \"\\\\utilde\" ? 0.12 : 0; // Generate the vlist, with the appropriate kerns\n\n const vlist = buildCommon.makeVList({\n positionType: \"top\",\n positionData: innerGroup.height,\n children: [{\n type: \"elem\",\n elem: accentBody,\n wrapperClasses: [\"svg-align\"]\n }, {\n type: \"kern\",\n size: kern\n }, {\n type: \"elem\",\n elem: innerGroup\n }]\n }, options);\n return buildCommon.makeSpan([\"mord\", \"accentunder\"], [vlist], options);\n },\n mathmlBuilder: (group, options) => {\n const accentNode = stretchy.mathMLnode(group.label);\n const node = new mathMLTree.MathNode(\"munder\", [buildMathML_buildGroup(group.base, options), accentNode]);\n node.setAttribute(\"accentunder\", \"true\");\n return node;\n }\n});\n;// CONCATENATED MODULE: ./src/functions/arrow.js\n\n\n\n\n\n\n\n// Helper function\nconst paddedNode = group => {\n const node = new mathMLTree.MathNode(\"mpadded\", group ? [group] : []);\n node.setAttribute(\"width\", \"+0.6em\");\n node.setAttribute(\"lspace\", \"0.3em\");\n return node;\n}; // Stretchy arrows with an optional argument\n\n\ndefineFunction({\n type: \"xArrow\",\n names: [\"\\\\xleftarrow\", \"\\\\xrightarrow\", \"\\\\xLeftarrow\", \"\\\\xRightarrow\", \"\\\\xleftrightarrow\", \"\\\\xLeftrightarrow\", \"\\\\xhookleftarrow\", \"\\\\xhookrightarrow\", \"\\\\xmapsto\", \"\\\\xrightharpoondown\", \"\\\\xrightharpoonup\", \"\\\\xleftharpoondown\", \"\\\\xleftharpoonup\", \"\\\\xrightleftharpoons\", \"\\\\xleftrightharpoons\", \"\\\\xlongequal\", \"\\\\xtwoheadrightarrow\", \"\\\\xtwoheadleftarrow\", \"\\\\xtofrom\", // The next 3 functions are here to support the mhchem extension.\n // Direct use of these functions is discouraged and may break someday.\n \"\\\\xrightleftarrows\", \"\\\\xrightequilibrium\", \"\\\\xleftequilibrium\", // The next 3 functions are here only to support the {CD} environment.\n \"\\\\\\\\cdrightarrow\", \"\\\\\\\\cdleftarrow\", \"\\\\\\\\cdlongequal\"],\n props: {\n numArgs: 1,\n numOptionalArgs: 1\n },\n\n handler(_ref, args, optArgs) {\n let {\n parser,\n funcName\n } = _ref;\n return {\n type: \"xArrow\",\n mode: parser.mode,\n label: funcName,\n body: args[0],\n below: optArgs[0]\n };\n },\n\n // Flow is unable to correctly infer the type of `group`, even though it's\n // unambiguously determined from the passed-in `type` above.\n htmlBuilder(group, options) {\n const style = options.style; // Build the argument groups in the appropriate style.\n // Ref: amsmath.dtx: \\hbox{$\\scriptstyle\\mkern#3mu{#6}\\mkern#4mu$}%\n // Some groups can return document fragments. Handle those by wrapping\n // them in a span.\n\n let newOptions = options.havingStyle(style.sup());\n const upperGroup = buildCommon.wrapFragment(buildGroup(group.body, newOptions, options), options);\n const arrowPrefix = group.label.slice(0, 2) === \"\\\\x\" ? \"x\" : \"cd\";\n upperGroup.classes.push(arrowPrefix + \"-arrow-pad\");\n let lowerGroup;\n\n if (group.below) {\n // Build the lower group\n newOptions = options.havingStyle(style.sub());\n lowerGroup = buildCommon.wrapFragment(buildGroup(group.below, newOptions, options), options);\n lowerGroup.classes.push(arrowPrefix + \"-arrow-pad\");\n }\n\n const arrowBody = stretchy.svgSpan(group, options); // Re shift: Note that stretchy.svgSpan returned arrowBody.depth = 0.\n // The point we want on the math axis is at 0.5 * arrowBody.height.\n\n const arrowShift = -options.fontMetrics().axisHeight + 0.5 * arrowBody.height; // 2 mu kern. Ref: amsmath.dtx: #7\\if0#2\\else\\mkern#2mu\\fi\n\n let upperShift = -options.fontMetrics().axisHeight - 0.5 * arrowBody.height - 0.111; // 0.111 em = 2 mu\n\n if (upperGroup.depth > 0.25 || group.label === \"\\\\xleftequilibrium\") {\n upperShift -= upperGroup.depth; // shift up if depth encroaches\n } // Generate the vlist\n\n\n let vlist;\n\n if (lowerGroup) {\n const lowerShift = -options.fontMetrics().axisHeight + lowerGroup.height + 0.5 * arrowBody.height + 0.111;\n vlist = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [{\n type: \"elem\",\n elem: upperGroup,\n shift: upperShift\n }, {\n type: \"elem\",\n elem: arrowBody,\n shift: arrowShift\n }, {\n type: \"elem\",\n elem: lowerGroup,\n shift: lowerShift\n }]\n }, options);\n } else {\n vlist = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [{\n type: \"elem\",\n elem: upperGroup,\n shift: upperShift\n }, {\n type: \"elem\",\n elem: arrowBody,\n shift: arrowShift\n }]\n }, options);\n } // $FlowFixMe: Replace this with passing \"svg-align\" into makeVList.\n\n\n vlist.children[0].children[0].children[1].classes.push(\"svg-align\");\n return buildCommon.makeSpan([\"mrel\", \"x-arrow\"], [vlist], options);\n },\n\n mathmlBuilder(group, options) {\n const arrowNode = stretchy.mathMLnode(group.label);\n arrowNode.setAttribute(\"minsize\", group.label.charAt(0) === \"x\" ? \"1.75em\" : \"3.0em\");\n let node;\n\n if (group.body) {\n const upperNode = paddedNode(buildMathML_buildGroup(group.body, options));\n\n if (group.below) {\n const lowerNode = paddedNode(buildMathML_buildGroup(group.below, options));\n node = new mathMLTree.MathNode(\"munderover\", [arrowNode, lowerNode, upperNode]);\n } else {\n node = new mathMLTree.MathNode(\"mover\", [arrowNode, upperNode]);\n }\n } else if (group.below) {\n const lowerNode = paddedNode(buildMathML_buildGroup(group.below, options));\n node = new mathMLTree.MathNode(\"munder\", [arrowNode, lowerNode]);\n } else {\n // This should never happen.\n // Parser.js throws an error if there is no argument.\n node = paddedNode();\n node = new mathMLTree.MathNode(\"mover\", [arrowNode, node]);\n }\n\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/mclass.js\n\n\n\n\n\n\nconst mclass_makeSpan = buildCommon.makeSpan;\n\nfunction mclass_htmlBuilder(group, options) {\n const elements = buildExpression(group.body, options, true);\n return mclass_makeSpan([group.mclass], elements, options);\n}\n\nfunction mclass_mathmlBuilder(group, options) {\n let node;\n const inner = buildMathML_buildExpression(group.body, options);\n\n if (group.mclass === \"minner\") {\n node = new mathMLTree.MathNode(\"mpadded\", inner);\n } else if (group.mclass === \"mord\") {\n if (group.isCharacterBox) {\n node = inner[0];\n node.type = \"mi\";\n } else {\n node = new mathMLTree.MathNode(\"mi\", inner);\n }\n } else {\n if (group.isCharacterBox) {\n node = inner[0];\n node.type = \"mo\";\n } else {\n node = new mathMLTree.MathNode(\"mo\", inner);\n } // Set spacing based on what is the most likely adjacent atom type.\n // See TeXbook p170.\n\n\n if (group.mclass === \"mbin\") {\n node.attributes.lspace = \"0.22em\"; // medium space\n\n node.attributes.rspace = \"0.22em\";\n } else if (group.mclass === \"mpunct\") {\n node.attributes.lspace = \"0em\";\n node.attributes.rspace = \"0.17em\"; // thinspace\n } else if (group.mclass === \"mopen\" || group.mclass === \"mclose\") {\n node.attributes.lspace = \"0em\";\n node.attributes.rspace = \"0em\";\n } else if (group.mclass === \"minner\") {\n node.attributes.lspace = \"0.0556em\"; // 1 mu is the most likely option\n\n node.attributes.width = \"+0.1111em\";\n } // MathML default space is 5/18 em, so needs no action.\n // Ref: https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mo\n\n }\n\n return node;\n} // Math class commands except \\mathop\n\n\ndefineFunction({\n type: \"mclass\",\n names: [\"\\\\mathord\", \"\\\\mathbin\", \"\\\\mathrel\", \"\\\\mathopen\", \"\\\\mathclose\", \"\\\\mathpunct\", \"\\\\mathinner\"],\n props: {\n numArgs: 1,\n primitive: true\n },\n\n handler(_ref, args) {\n let {\n parser,\n funcName\n } = _ref;\n const body = args[0];\n return {\n type: \"mclass\",\n mode: parser.mode,\n mclass: \"m\" + funcName.slice(5),\n // TODO(kevinb): don't prefix with 'm'\n body: ordargument(body),\n isCharacterBox: utils.isCharacterBox(body)\n };\n },\n\n htmlBuilder: mclass_htmlBuilder,\n mathmlBuilder: mclass_mathmlBuilder\n});\nconst binrelClass = arg => {\n // \\binrel@ spacing varies with (bin|rel|ord) of the atom in the argument.\n // (by rendering separately and with {}s before and after, and measuring\n // the change in spacing). We'll do roughly the same by detecting the\n // atom type directly.\n const atom = arg.type === \"ordgroup\" && arg.body.length ? arg.body[0] : arg;\n\n if (atom.type === \"atom\" && (atom.family === \"bin\" || atom.family === \"rel\")) {\n return \"m\" + atom.family;\n } else {\n return \"mord\";\n }\n}; // \\@binrel{x}{y} renders like y but as mbin/mrel/mord if x is mbin/mrel/mord.\n// This is equivalent to \\binrel@{x}\\binrel@@{y} in AMSTeX.\n\ndefineFunction({\n type: \"mclass\",\n names: [\"\\\\@binrel\"],\n props: {\n numArgs: 2\n },\n\n handler(_ref2, args) {\n let {\n parser\n } = _ref2;\n return {\n type: \"mclass\",\n mode: parser.mode,\n mclass: binrelClass(args[0]),\n body: ordargument(args[1]),\n isCharacterBox: utils.isCharacterBox(args[1])\n };\n }\n\n}); // Build a relation or stacked op by placing one symbol on top of another\n\ndefineFunction({\n type: \"mclass\",\n names: [\"\\\\stackrel\", \"\\\\overset\", \"\\\\underset\"],\n props: {\n numArgs: 2\n },\n\n handler(_ref3, args) {\n let {\n parser,\n funcName\n } = _ref3;\n const baseArg = args[1];\n const shiftedArg = args[0];\n let mclass;\n\n if (funcName !== \"\\\\stackrel\") {\n // LaTeX applies \\binrel spacing to \\overset and \\underset.\n mclass = binrelClass(baseArg);\n } else {\n mclass = \"mrel\"; // for \\stackrel\n }\n\n const baseOp = {\n type: \"op\",\n mode: baseArg.mode,\n limits: true,\n alwaysHandleSupSub: true,\n parentIsSupSub: false,\n symbol: false,\n suppressBaseShift: funcName !== \"\\\\stackrel\",\n body: ordargument(baseArg)\n };\n const supsub = {\n type: \"supsub\",\n mode: shiftedArg.mode,\n base: baseOp,\n sup: funcName === \"\\\\underset\" ? null : shiftedArg,\n sub: funcName === \"\\\\underset\" ? shiftedArg : null\n };\n return {\n type: \"mclass\",\n mode: parser.mode,\n mclass,\n body: [supsub],\n isCharacterBox: utils.isCharacterBox(supsub)\n };\n },\n\n htmlBuilder: mclass_htmlBuilder,\n mathmlBuilder: mclass_mathmlBuilder\n});\n;// CONCATENATED MODULE: ./src/functions/pmb.js\n\n\n\n\n\n\n// \\pmb is a simulation of bold font.\n// The version of \\pmb in ambsy.sty works by typesetting three copies\n// with small offsets. We use CSS text-shadow.\n// It's a hack. Not as good as a real bold font. Better than nothing.\ndefineFunction({\n type: \"pmb\",\n names: [\"\\\\pmb\"],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n return {\n type: \"pmb\",\n mode: parser.mode,\n mclass: binrelClass(args[0]),\n body: ordargument(args[0])\n };\n },\n\n htmlBuilder(group, options) {\n const elements = buildExpression(group.body, options, true);\n const node = buildCommon.makeSpan([group.mclass], elements, options);\n node.style.textShadow = \"0.02em 0.01em 0.04px\";\n return node;\n },\n\n mathmlBuilder(group, style) {\n const inner = buildMathML_buildExpression(group.body, style); // Wrap with an element.\n\n const node = new mathMLTree.MathNode(\"mstyle\", inner);\n node.setAttribute(\"style\", \"text-shadow: 0.02em 0.01em 0.04px\");\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/environments/cd.js\n\n\n\n\n\n\n\n\nconst cdArrowFunctionName = {\n \">\": \"\\\\\\\\cdrightarrow\",\n \"<\": \"\\\\\\\\cdleftarrow\",\n \"=\": \"\\\\\\\\cdlongequal\",\n \"A\": \"\\\\uparrow\",\n \"V\": \"\\\\downarrow\",\n \"|\": \"\\\\Vert\",\n \".\": \"no arrow\"\n};\n\nconst newCell = () => {\n // Create an empty cell, to be filled below with parse nodes.\n // The parseTree from this module must be constructed like the\n // one created by parseArray(), so an empty CD cell must\n // be a ParseNode<\"styling\">. And CD is always displaystyle.\n // So these values are fixed and flow can do implicit typing.\n return {\n type: \"styling\",\n body: [],\n mode: \"math\",\n style: \"display\"\n };\n};\n\nconst isStartOfArrow = node => {\n return node.type === \"textord\" && node.text === \"@\";\n};\n\nconst isLabelEnd = (node, endChar) => {\n return (node.type === \"mathord\" || node.type === \"atom\") && node.text === endChar;\n};\n\nfunction cdArrow(arrowChar, labels, parser) {\n // Return a parse tree of an arrow and its labels.\n // This acts in a way similar to a macro expansion.\n const funcName = cdArrowFunctionName[arrowChar];\n\n switch (funcName) {\n case \"\\\\\\\\cdrightarrow\":\n case \"\\\\\\\\cdleftarrow\":\n return parser.callFunction(funcName, [labels[0]], [labels[1]]);\n\n case \"\\\\uparrow\":\n case \"\\\\downarrow\":\n {\n const leftLabel = parser.callFunction(\"\\\\\\\\cdleft\", [labels[0]], []);\n const bareArrow = {\n type: \"atom\",\n text: funcName,\n mode: \"math\",\n family: \"rel\"\n };\n const sizedArrow = parser.callFunction(\"\\\\Big\", [bareArrow], []);\n const rightLabel = parser.callFunction(\"\\\\\\\\cdright\", [labels[1]], []);\n const arrowGroup = {\n type: \"ordgroup\",\n mode: \"math\",\n body: [leftLabel, sizedArrow, rightLabel]\n };\n return parser.callFunction(\"\\\\\\\\cdparent\", [arrowGroup], []);\n }\n\n case \"\\\\\\\\cdlongequal\":\n return parser.callFunction(\"\\\\\\\\cdlongequal\", [], []);\n\n case \"\\\\Vert\":\n {\n const arrow = {\n type: \"textord\",\n text: \"\\\\Vert\",\n mode: \"math\"\n };\n return parser.callFunction(\"\\\\Big\", [arrow], []);\n }\n\n default:\n return {\n type: \"textord\",\n text: \" \",\n mode: \"math\"\n };\n }\n}\n\nfunction parseCD(parser) {\n // Get the array's parse nodes with \\\\ temporarily mapped to \\cr.\n const parsedRows = [];\n parser.gullet.beginGroup();\n parser.gullet.macros.set(\"\\\\cr\", \"\\\\\\\\\\\\relax\");\n parser.gullet.beginGroup();\n\n while (true) {\n // eslint-disable-line no-constant-condition\n // Get the parse nodes for the next row.\n parsedRows.push(parser.parseExpression(false, \"\\\\\\\\\"));\n parser.gullet.endGroup();\n parser.gullet.beginGroup();\n const next = parser.fetch().text;\n\n if (next === \"&\" || next === \"\\\\\\\\\") {\n parser.consume();\n } else if (next === \"\\\\end\") {\n if (parsedRows[parsedRows.length - 1].length === 0) {\n parsedRows.pop(); // final row ended in \\\\\n }\n\n break;\n } else {\n throw new src_ParseError(\"Expected \\\\\\\\ or \\\\cr or \\\\end\", parser.nextToken);\n }\n }\n\n let row = [];\n const body = [row]; // Loop thru the parse nodes. Collect them into cells and arrows.\n\n for (let i = 0; i < parsedRows.length; i++) {\n // Start a new row.\n const rowNodes = parsedRows[i]; // Create the first cell.\n\n let cell = newCell();\n\n for (let j = 0; j < rowNodes.length; j++) {\n if (!isStartOfArrow(rowNodes[j])) {\n // If a parseNode is not an arrow, it goes into a cell.\n cell.body.push(rowNodes[j]);\n } else {\n // Parse node j is an \"@\", the start of an arrow.\n // Before starting on the arrow, push the cell into `row`.\n row.push(cell); // Now collect parseNodes into an arrow.\n // The character after \"@\" defines the arrow type.\n\n j += 1;\n const arrowChar = assertSymbolNodeType(rowNodes[j]).text; // Create two empty label nodes. We may or may not use them.\n\n const labels = new Array(2);\n labels[0] = {\n type: \"ordgroup\",\n mode: \"math\",\n body: []\n };\n labels[1] = {\n type: \"ordgroup\",\n mode: \"math\",\n body: []\n }; // Process the arrow.\n\n if (\"=|.\".indexOf(arrowChar) > -1) {// Three \"arrows\", ``@=`, `@|`, and `@.`, do not take labels.\n // Do nothing here.\n } else if (\"<>AV\".indexOf(arrowChar) > -1) {\n // Four arrows, `@>>>`, `@<<<`, `@AAA`, and `@VVV`, each take\n // two optional labels. E.g. the right-point arrow syntax is\n // really: @>{optional label}>{optional label}>\n // Collect parseNodes into labels.\n for (let labelNum = 0; labelNum < 2; labelNum++) {\n let inLabel = true;\n\n for (let k = j + 1; k < rowNodes.length; k++) {\n if (isLabelEnd(rowNodes[k], arrowChar)) {\n inLabel = false;\n j = k;\n break;\n }\n\n if (isStartOfArrow(rowNodes[k])) {\n throw new src_ParseError(\"Missing a \" + arrowChar + \" character to complete a CD arrow.\", rowNodes[k]);\n }\n\n labels[labelNum].body.push(rowNodes[k]);\n }\n\n if (inLabel) {\n // isLabelEnd never returned a true.\n throw new src_ParseError(\"Missing a \" + arrowChar + \" character to complete a CD arrow.\", rowNodes[j]);\n }\n }\n } else {\n throw new src_ParseError(\"Expected one of \\\"<>AV=|.\\\" after @\", rowNodes[j]);\n } // Now join the arrow to its labels.\n\n\n const arrow = cdArrow(arrowChar, labels, parser); // Wrap the arrow in ParseNode<\"styling\">.\n // This is done to match parseArray() behavior.\n\n const wrappedArrow = {\n type: \"styling\",\n body: [arrow],\n mode: \"math\",\n style: \"display\" // CD is always displaystyle.\n\n };\n row.push(wrappedArrow); // In CD's syntax, cells are implicit. That is, everything that\n // is not an arrow gets collected into a cell. So create an empty\n // cell now. It will collect upcoming parseNodes.\n\n cell = newCell();\n }\n }\n\n if (i % 2 === 0) {\n // Even-numbered rows consist of: cell, arrow, cell, arrow, ... cell\n // The last cell is not yet pushed into `row`, so:\n row.push(cell);\n } else {\n // Odd-numbered rows consist of: vert arrow, empty cell, ... vert arrow\n // Remove the empty cell that was placed at the beginning of `row`.\n row.shift();\n }\n\n row = [];\n body.push(row);\n } // End row group\n\n\n parser.gullet.endGroup(); // End array group defining \\\\\n\n parser.gullet.endGroup(); // define column separation.\n\n const cols = new Array(body[0].length).fill({\n type: \"align\",\n align: \"c\",\n pregap: 0.25,\n // CD package sets \\enskip between columns.\n postgap: 0.25 // So pre and post each get half an \\enskip, i.e. 0.25em.\n\n });\n return {\n type: \"array\",\n mode: \"math\",\n body,\n arraystretch: 1,\n addJot: true,\n rowGaps: [null],\n cols,\n colSeparationType: \"CD\",\n hLinesBeforeRow: new Array(body.length + 1).fill([])\n };\n} // The functions below are not available for general use.\n// They are here only for internal use by the {CD} environment in placing labels\n// next to vertical arrows.\n// We don't need any such functions for horizontal arrows because we can reuse\n// the functionality that already exists for extensible arrows.\n\ndefineFunction({\n type: \"cdlabel\",\n names: [\"\\\\\\\\cdleft\", \"\\\\\\\\cdright\"],\n props: {\n numArgs: 1\n },\n\n handler(_ref, args) {\n let {\n parser,\n funcName\n } = _ref;\n return {\n type: \"cdlabel\",\n mode: parser.mode,\n side: funcName.slice(4),\n label: args[0]\n };\n },\n\n htmlBuilder(group, options) {\n const newOptions = options.havingStyle(options.style.sup());\n const label = buildCommon.wrapFragment(buildGroup(group.label, newOptions, options), options);\n label.classes.push(\"cd-label-\" + group.side);\n label.style.bottom = makeEm(0.8 - label.depth); // Zero out label height & depth, so vertical align of arrow is set\n // by the arrow height, not by the label.\n\n label.height = 0;\n label.depth = 0;\n return label;\n },\n\n mathmlBuilder(group, options) {\n let label = new mathMLTree.MathNode(\"mrow\", [buildMathML_buildGroup(group.label, options)]);\n label = new mathMLTree.MathNode(\"mpadded\", [label]);\n label.setAttribute(\"width\", \"0\");\n\n if (group.side === \"left\") {\n label.setAttribute(\"lspace\", \"-1width\");\n } // We have to guess at vertical alignment. We know the arrow is 1.8em tall,\n // But we don't know the height or depth of the label.\n\n\n label.setAttribute(\"voffset\", \"0.7em\");\n label = new mathMLTree.MathNode(\"mstyle\", [label]);\n label.setAttribute(\"displaystyle\", \"false\");\n label.setAttribute(\"scriptlevel\", \"1\");\n return label;\n }\n\n});\ndefineFunction({\n type: \"cdlabelparent\",\n names: [\"\\\\\\\\cdparent\"],\n props: {\n numArgs: 1\n },\n\n handler(_ref2, args) {\n let {\n parser\n } = _ref2;\n return {\n type: \"cdlabelparent\",\n mode: parser.mode,\n fragment: args[0]\n };\n },\n\n htmlBuilder(group, options) {\n // Wrap the vertical arrow and its labels.\n // The parent gets position: relative. The child gets position: absolute.\n // So CSS can locate the label correctly.\n const parent = buildCommon.wrapFragment(buildGroup(group.fragment, options), options);\n parent.classes.push(\"cd-vert-arrow\");\n return parent;\n },\n\n mathmlBuilder(group, options) {\n return new mathMLTree.MathNode(\"mrow\", [buildMathML_buildGroup(group.fragment, options)]);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/char.js\n\n\n // \\@char is an internal function that takes a grouped decimal argument like\n// {123} and converts into symbol with code 123. It is used by the *macro*\n// \\char defined in macros.js.\n\ndefineFunction({\n type: \"textord\",\n names: [\"\\\\@char\"],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n const arg = assertNodeType(args[0], \"ordgroup\");\n const group = arg.body;\n let number = \"\";\n\n for (let i = 0; i < group.length; i++) {\n const node = assertNodeType(group[i], \"textord\");\n number += node.text;\n }\n\n let code = parseInt(number);\n let text;\n\n if (isNaN(code)) {\n throw new src_ParseError(\"\\\\@char has non-numeric argument \" + number); // If we drop IE support, the following code could be replaced with\n // text = String.fromCodePoint(code)\n } else if (code < 0 || code >= 0x10ffff) {\n throw new src_ParseError(\"\\\\@char with invalid code point \" + number);\n } else if (code <= 0xffff) {\n text = String.fromCharCode(code);\n } else {\n // Astral code point; split into surrogate halves\n code -= 0x10000;\n text = String.fromCharCode((code >> 10) + 0xd800, (code & 0x3ff) + 0xdc00);\n }\n\n return {\n type: \"textord\",\n mode: parser.mode,\n text: text\n };\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/color.js\n\n\n\n\n\n\n\nconst color_htmlBuilder = (group, options) => {\n const elements = buildExpression(group.body, options.withColor(group.color), false); // \\color isn't supposed to affect the type of the elements it contains.\n // To accomplish this, we wrap the results in a fragment, so the inner\n // elements will be able to directly interact with their neighbors. For\n // example, `\\color{red}{2 +} 3` has the same spacing as `2 + 3`\n\n return buildCommon.makeFragment(elements);\n};\n\nconst color_mathmlBuilder = (group, options) => {\n const inner = buildMathML_buildExpression(group.body, options.withColor(group.color));\n const node = new mathMLTree.MathNode(\"mstyle\", inner);\n node.setAttribute(\"mathcolor\", group.color);\n return node;\n};\n\ndefineFunction({\n type: \"color\",\n names: [\"\\\\textcolor\"],\n props: {\n numArgs: 2,\n allowedInText: true,\n argTypes: [\"color\", \"original\"]\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n const color = assertNodeType(args[0], \"color-token\").color;\n const body = args[1];\n return {\n type: \"color\",\n mode: parser.mode,\n color,\n body: ordargument(body)\n };\n },\n\n htmlBuilder: color_htmlBuilder,\n mathmlBuilder: color_mathmlBuilder\n});\ndefineFunction({\n type: \"color\",\n names: [\"\\\\color\"],\n props: {\n numArgs: 1,\n allowedInText: true,\n argTypes: [\"color\"]\n },\n\n handler(_ref2, args) {\n let {\n parser,\n breakOnTokenText\n } = _ref2;\n const color = assertNodeType(args[0], \"color-token\").color; // Set macro \\current@color in current namespace to store the current\n // color, mimicking the behavior of color.sty.\n // This is currently used just to correctly color a \\right\n // that follows a \\color command.\n\n parser.gullet.macros.set(\"\\\\current@color\", color); // Parse out the implicit body that should be colored.\n\n const body = parser.parseExpression(true, breakOnTokenText);\n return {\n type: \"color\",\n mode: parser.mode,\n color,\n body\n };\n },\n\n htmlBuilder: color_htmlBuilder,\n mathmlBuilder: color_mathmlBuilder\n});\n;// CONCATENATED MODULE: ./src/functions/cr.js\n// Row breaks within tabular environments, and line breaks at top level\n\n\n\n\n // \\DeclareRobustCommand\\\\{...\\@xnewline}\n\ndefineFunction({\n type: \"cr\",\n names: [\"\\\\\\\\\"],\n props: {\n numArgs: 0,\n numOptionalArgs: 0,\n allowedInText: true\n },\n\n handler(_ref, args, optArgs) {\n let {\n parser\n } = _ref;\n const size = parser.gullet.future().text === \"[\" ? parser.parseSizeGroup(true) : null;\n const newLine = !parser.settings.displayMode || !parser.settings.useStrictBehavior(\"newLineInDisplayMode\", \"In LaTeX, \\\\\\\\ or \\\\newline \" + \"does nothing in display mode\");\n return {\n type: \"cr\",\n mode: parser.mode,\n newLine,\n size: size && assertNodeType(size, \"size\").value\n };\n },\n\n // The following builders are called only at the top level,\n // not within tabular/array environments.\n htmlBuilder(group, options) {\n const span = buildCommon.makeSpan([\"mspace\"], [], options);\n\n if (group.newLine) {\n span.classes.push(\"newline\");\n\n if (group.size) {\n span.style.marginTop = makeEm(calculateSize(group.size, options));\n }\n }\n\n return span;\n },\n\n mathmlBuilder(group, options) {\n const node = new mathMLTree.MathNode(\"mspace\");\n\n if (group.newLine) {\n node.setAttribute(\"linebreak\", \"newline\");\n\n if (group.size) {\n node.setAttribute(\"height\", makeEm(calculateSize(group.size, options)));\n }\n }\n\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/def.js\n\n\n\nconst globalMap = {\n \"\\\\global\": \"\\\\global\",\n \"\\\\long\": \"\\\\\\\\globallong\",\n \"\\\\\\\\globallong\": \"\\\\\\\\globallong\",\n \"\\\\def\": \"\\\\gdef\",\n \"\\\\gdef\": \"\\\\gdef\",\n \"\\\\edef\": \"\\\\xdef\",\n \"\\\\xdef\": \"\\\\xdef\",\n \"\\\\let\": \"\\\\\\\\globallet\",\n \"\\\\futurelet\": \"\\\\\\\\globalfuture\"\n};\n\nconst checkControlSequence = tok => {\n const name = tok.text;\n\n if (/^(?:[\\\\{}$&#^_]|EOF)$/.test(name)) {\n throw new src_ParseError(\"Expected a control sequence\", tok);\n }\n\n return name;\n};\n\nconst getRHS = parser => {\n let tok = parser.gullet.popToken();\n\n if (tok.text === \"=\") {\n // consume optional equals\n tok = parser.gullet.popToken();\n\n if (tok.text === \" \") {\n // consume one optional space\n tok = parser.gullet.popToken();\n }\n }\n\n return tok;\n};\n\nconst letCommand = (parser, name, tok, global) => {\n let macro = parser.gullet.macros.get(tok.text);\n\n if (macro == null) {\n // don't expand it later even if a macro with the same name is defined\n // e.g., \\let\\foo=\\frac \\def\\frac{\\relax} \\frac12\n tok.noexpand = true;\n macro = {\n tokens: [tok],\n numArgs: 0,\n // reproduce the same behavior in expansion\n unexpandable: !parser.gullet.isExpandable(tok.text)\n };\n }\n\n parser.gullet.macros.set(name, macro, global);\n}; // -> |\n// -> |\\global\n// -> |\n// -> \\global|\\long|\\outer\n\n\ndefineFunction({\n type: \"internal\",\n names: [\"\\\\global\", \"\\\\long\", \"\\\\\\\\globallong\" // can’t be entered directly\n ],\n props: {\n numArgs: 0,\n allowedInText: true\n },\n\n handler(_ref) {\n let {\n parser,\n funcName\n } = _ref;\n parser.consumeSpaces();\n const token = parser.fetch();\n\n if (globalMap[token.text]) {\n // KaTeX doesn't have \\par, so ignore \\long\n if (funcName === \"\\\\global\" || funcName === \"\\\\\\\\globallong\") {\n token.text = globalMap[token.text];\n }\n\n return assertNodeType(parser.parseFunction(), \"internal\");\n }\n\n throw new src_ParseError(\"Invalid token after macro prefix\", token);\n }\n\n}); // Basic support for macro definitions: \\def, \\gdef, \\edef, \\xdef\n// -> \n// -> \\def|\\gdef|\\edef|\\xdef\n// -> \n\ndefineFunction({\n type: \"internal\",\n names: [\"\\\\def\", \"\\\\gdef\", \"\\\\edef\", \"\\\\xdef\"],\n props: {\n numArgs: 0,\n allowedInText: true,\n primitive: true\n },\n\n handler(_ref2) {\n let {\n parser,\n funcName\n } = _ref2;\n let tok = parser.gullet.popToken();\n const name = tok.text;\n\n if (/^(?:[\\\\{}$&#^_]|EOF)$/.test(name)) {\n throw new src_ParseError(\"Expected a control sequence\", tok);\n }\n\n let numArgs = 0;\n let insert;\n const delimiters = [[]]; // contains no braces\n\n while (parser.gullet.future().text !== \"{\") {\n tok = parser.gullet.popToken();\n\n if (tok.text === \"#\") {\n // If the very last character of the is #, so that\n // this # is immediately followed by {, TeX will behave as if the {\n // had been inserted at the right end of both the parameter text\n // and the replacement text.\n if (parser.gullet.future().text === \"{\") {\n insert = parser.gullet.future();\n delimiters[numArgs].push(\"{\");\n break;\n } // A parameter, the first appearance of # must be followed by 1,\n // the next by 2, and so on; up to nine #’s are allowed\n\n\n tok = parser.gullet.popToken();\n\n if (!/^[1-9]$/.test(tok.text)) {\n throw new src_ParseError(\"Invalid argument number \\\"\" + tok.text + \"\\\"\");\n }\n\n if (parseInt(tok.text) !== numArgs + 1) {\n throw new src_ParseError(\"Argument number \\\"\" + tok.text + \"\\\" out of order\");\n }\n\n numArgs++;\n delimiters.push([]);\n } else if (tok.text === \"EOF\") {\n throw new src_ParseError(\"Expected a macro definition\");\n } else {\n delimiters[numArgs].push(tok.text);\n }\n } // replacement text, enclosed in '{' and '}' and properly nested\n\n\n let {\n tokens\n } = parser.gullet.consumeArg();\n\n if (insert) {\n tokens.unshift(insert);\n }\n\n if (funcName === \"\\\\edef\" || funcName === \"\\\\xdef\") {\n tokens = parser.gullet.expandTokens(tokens);\n tokens.reverse(); // to fit in with stack order\n } // Final arg is the expansion of the macro\n\n\n parser.gullet.macros.set(name, {\n tokens,\n numArgs,\n delimiters\n }, funcName === globalMap[funcName]);\n return {\n type: \"internal\",\n mode: parser.mode\n };\n }\n\n}); // -> \n// -> \\futurelet\n// | \\let\n// -> |=\n\ndefineFunction({\n type: \"internal\",\n names: [\"\\\\let\", \"\\\\\\\\globallet\" // can’t be entered directly\n ],\n props: {\n numArgs: 0,\n allowedInText: true,\n primitive: true\n },\n\n handler(_ref3) {\n let {\n parser,\n funcName\n } = _ref3;\n const name = checkControlSequence(parser.gullet.popToken());\n parser.gullet.consumeSpaces();\n const tok = getRHS(parser);\n letCommand(parser, name, tok, funcName === \"\\\\\\\\globallet\");\n return {\n type: \"internal\",\n mode: parser.mode\n };\n }\n\n}); // ref: https://www.tug.org/TUGboat/tb09-3/tb22bechtolsheim.pdf\n\ndefineFunction({\n type: \"internal\",\n names: [\"\\\\futurelet\", \"\\\\\\\\globalfuture\" // can’t be entered directly\n ],\n props: {\n numArgs: 0,\n allowedInText: true,\n primitive: true\n },\n\n handler(_ref4) {\n let {\n parser,\n funcName\n } = _ref4;\n const name = checkControlSequence(parser.gullet.popToken());\n const middle = parser.gullet.popToken();\n const tok = parser.gullet.popToken();\n letCommand(parser, name, tok, funcName === \"\\\\\\\\globalfuture\");\n parser.gullet.pushToken(tok);\n parser.gullet.pushToken(middle);\n return {\n type: \"internal\",\n mode: parser.mode\n };\n }\n\n});\n;// CONCATENATED MODULE: ./src/delimiter.js\n/**\n * This file deals with creating delimiters of various sizes. The TeXbook\n * discusses these routines on page 441-442, in the \"Another subroutine sets box\n * x to a specified variable delimiter\" paragraph.\n *\n * There are three main routines here. `makeSmallDelim` makes a delimiter in the\n * normal font, but in either text, script, or scriptscript style.\n * `makeLargeDelim` makes a delimiter in textstyle, but in one of the Size1,\n * Size2, Size3, or Size4 fonts. `makeStackedDelim` makes a delimiter out of\n * smaller pieces that are stacked on top of one another.\n *\n * The functions take a parameter `center`, which determines if the delimiter\n * should be centered around the axis.\n *\n * Then, there are three exposed functions. `sizedDelim` makes a delimiter in\n * one of the given sizes. This is used for things like `\\bigl`.\n * `customSizedDelim` makes a delimiter with a given total height+depth. It is\n * called in places like `\\sqrt`. `leftRightDelim` makes an appropriate\n * delimiter which surrounds an expression of a given height an depth. It is\n * used in `\\left` and `\\right`.\n */\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Get the metrics for a given symbol and font, after transformation (i.e.\n * after following replacement from symbols.js)\n */\nconst getMetrics = function (symbol, font, mode) {\n const replace = src_symbols.math[symbol] && src_symbols.math[symbol].replace;\n const metrics = getCharacterMetrics(replace || symbol, font, mode);\n\n if (!metrics) {\n throw new Error(\"Unsupported symbol \" + symbol + \" and font size \" + font + \".\");\n }\n\n return metrics;\n};\n/**\n * Puts a delimiter span in a given style, and adds appropriate height, depth,\n * and maxFontSizes.\n */\n\n\nconst styleWrap = function (delim, toStyle, options, classes) {\n const newOptions = options.havingBaseStyle(toStyle);\n const span = buildCommon.makeSpan(classes.concat(newOptions.sizingClasses(options)), [delim], options);\n const delimSizeMultiplier = newOptions.sizeMultiplier / options.sizeMultiplier;\n span.height *= delimSizeMultiplier;\n span.depth *= delimSizeMultiplier;\n span.maxFontSize = newOptions.sizeMultiplier;\n return span;\n};\n\nconst centerSpan = function (span, options, style) {\n const newOptions = options.havingBaseStyle(style);\n const shift = (1 - options.sizeMultiplier / newOptions.sizeMultiplier) * options.fontMetrics().axisHeight;\n span.classes.push(\"delimcenter\");\n span.style.top = makeEm(shift);\n span.height -= shift;\n span.depth += shift;\n};\n/**\n * Makes a small delimiter. This is a delimiter that comes in the Main-Regular\n * font, but is restyled to either be in textstyle, scriptstyle, or\n * scriptscriptstyle.\n */\n\n\nconst makeSmallDelim = function (delim, style, center, options, mode, classes) {\n const text = buildCommon.makeSymbol(delim, \"Main-Regular\", mode, options);\n const span = styleWrap(text, style, options, classes);\n\n if (center) {\n centerSpan(span, options, style);\n }\n\n return span;\n};\n/**\n * Builds a symbol in the given font size (note size is an integer)\n */\n\n\nconst mathrmSize = function (value, size, mode, options) {\n return buildCommon.makeSymbol(value, \"Size\" + size + \"-Regular\", mode, options);\n};\n/**\n * Makes a large delimiter. This is a delimiter that comes in the Size1, Size2,\n * Size3, or Size4 fonts. It is always rendered in textstyle.\n */\n\n\nconst makeLargeDelim = function (delim, size, center, options, mode, classes) {\n const inner = mathrmSize(delim, size, mode, options);\n const span = styleWrap(buildCommon.makeSpan([\"delimsizing\", \"size\" + size], [inner], options), src_Style.TEXT, options, classes);\n\n if (center) {\n centerSpan(span, options, src_Style.TEXT);\n }\n\n return span;\n};\n/**\n * Make a span from a font glyph with the given offset and in the given font.\n * This is used in makeStackedDelim to make the stacking pieces for the delimiter.\n */\n\n\nconst makeGlyphSpan = function (symbol, font, mode) {\n let sizeClass; // Apply the correct CSS class to choose the right font.\n\n if (font === \"Size1-Regular\") {\n sizeClass = \"delim-size1\";\n } else\n /* if (font === \"Size4-Regular\") */\n {\n sizeClass = \"delim-size4\";\n }\n\n const corner = buildCommon.makeSpan([\"delimsizinginner\", sizeClass], [buildCommon.makeSpan([], [buildCommon.makeSymbol(symbol, font, mode)])]); // Since this will be passed into `makeVList` in the end, wrap the element\n // in the appropriate tag that VList uses.\n\n return {\n type: \"elem\",\n elem: corner\n };\n};\n\nconst makeInner = function (ch, height, options) {\n // Create a span with inline SVG for the inner part of a tall stacked delimiter.\n const width = fontMetricsData[\"Size4-Regular\"][ch.charCodeAt(0)] ? fontMetricsData[\"Size4-Regular\"][ch.charCodeAt(0)][4] : fontMetricsData[\"Size1-Regular\"][ch.charCodeAt(0)][4];\n const path = new PathNode(\"inner\", innerPath(ch, Math.round(1000 * height)));\n const svgNode = new SvgNode([path], {\n \"width\": makeEm(width),\n \"height\": makeEm(height),\n // Override CSS rule `.katex svg { width: 100% }`\n \"style\": \"width:\" + makeEm(width),\n \"viewBox\": \"0 0 \" + 1000 * width + \" \" + Math.round(1000 * height),\n \"preserveAspectRatio\": \"xMinYMin\"\n });\n const span = buildCommon.makeSvgSpan([], [svgNode], options);\n span.height = height;\n span.style.height = makeEm(height);\n span.style.width = makeEm(width);\n return {\n type: \"elem\",\n elem: span\n };\n}; // Helpers for makeStackedDelim\n\n\nconst lapInEms = 0.008;\nconst lap = {\n type: \"kern\",\n size: -1 * lapInEms\n};\nconst verts = [\"|\", \"\\\\lvert\", \"\\\\rvert\", \"\\\\vert\"];\nconst doubleVerts = [\"\\\\|\", \"\\\\lVert\", \"\\\\rVert\", \"\\\\Vert\"];\n/**\n * Make a stacked delimiter out of a given delimiter, with the total height at\n * least `heightTotal`. This routine is mentioned on page 442 of the TeXbook.\n */\n\nconst makeStackedDelim = function (delim, heightTotal, center, options, mode, classes) {\n // There are four parts, the top, an optional middle, a repeated part, and a\n // bottom.\n let top;\n let middle;\n let repeat;\n let bottom;\n let svgLabel = \"\";\n let viewBoxWidth = 0;\n top = repeat = bottom = delim;\n middle = null; // Also keep track of what font the delimiters are in\n\n let font = \"Size1-Regular\"; // We set the parts and font based on the symbol. Note that we use\n // '\\u23d0' instead of '|' and '\\u2016' instead of '\\\\|' for the\n // repeats of the arrows\n\n if (delim === \"\\\\uparrow\") {\n repeat = bottom = \"\\u23d0\";\n } else if (delim === \"\\\\Uparrow\") {\n repeat = bottom = \"\\u2016\";\n } else if (delim === \"\\\\downarrow\") {\n top = repeat = \"\\u23d0\";\n } else if (delim === \"\\\\Downarrow\") {\n top = repeat = \"\\u2016\";\n } else if (delim === \"\\\\updownarrow\") {\n top = \"\\\\uparrow\";\n repeat = \"\\u23d0\";\n bottom = \"\\\\downarrow\";\n } else if (delim === \"\\\\Updownarrow\") {\n top = \"\\\\Uparrow\";\n repeat = \"\\u2016\";\n bottom = \"\\\\Downarrow\";\n } else if (utils.contains(verts, delim)) {\n repeat = \"\\u2223\";\n svgLabel = \"vert\";\n viewBoxWidth = 333;\n } else if (utils.contains(doubleVerts, delim)) {\n repeat = \"\\u2225\";\n svgLabel = \"doublevert\";\n viewBoxWidth = 556;\n } else if (delim === \"[\" || delim === \"\\\\lbrack\") {\n top = \"\\u23a1\";\n repeat = \"\\u23a2\";\n bottom = \"\\u23a3\";\n font = \"Size4-Regular\";\n svgLabel = \"lbrack\";\n viewBoxWidth = 667;\n } else if (delim === \"]\" || delim === \"\\\\rbrack\") {\n top = \"\\u23a4\";\n repeat = \"\\u23a5\";\n bottom = \"\\u23a6\";\n font = \"Size4-Regular\";\n svgLabel = \"rbrack\";\n viewBoxWidth = 667;\n } else if (delim === \"\\\\lfloor\" || delim === \"\\u230a\") {\n repeat = top = \"\\u23a2\";\n bottom = \"\\u23a3\";\n font = \"Size4-Regular\";\n svgLabel = \"lfloor\";\n viewBoxWidth = 667;\n } else if (delim === \"\\\\lceil\" || delim === \"\\u2308\") {\n top = \"\\u23a1\";\n repeat = bottom = \"\\u23a2\";\n font = \"Size4-Regular\";\n svgLabel = \"lceil\";\n viewBoxWidth = 667;\n } else if (delim === \"\\\\rfloor\" || delim === \"\\u230b\") {\n repeat = top = \"\\u23a5\";\n bottom = \"\\u23a6\";\n font = \"Size4-Regular\";\n svgLabel = \"rfloor\";\n viewBoxWidth = 667;\n } else if (delim === \"\\\\rceil\" || delim === \"\\u2309\") {\n top = \"\\u23a4\";\n repeat = bottom = \"\\u23a5\";\n font = \"Size4-Regular\";\n svgLabel = \"rceil\";\n viewBoxWidth = 667;\n } else if (delim === \"(\" || delim === \"\\\\lparen\") {\n top = \"\\u239b\";\n repeat = \"\\u239c\";\n bottom = \"\\u239d\";\n font = \"Size4-Regular\";\n svgLabel = \"lparen\";\n viewBoxWidth = 875;\n } else if (delim === \")\" || delim === \"\\\\rparen\") {\n top = \"\\u239e\";\n repeat = \"\\u239f\";\n bottom = \"\\u23a0\";\n font = \"Size4-Regular\";\n svgLabel = \"rparen\";\n viewBoxWidth = 875;\n } else if (delim === \"\\\\{\" || delim === \"\\\\lbrace\") {\n top = \"\\u23a7\";\n middle = \"\\u23a8\";\n bottom = \"\\u23a9\";\n repeat = \"\\u23aa\";\n font = \"Size4-Regular\";\n } else if (delim === \"\\\\}\" || delim === \"\\\\rbrace\") {\n top = \"\\u23ab\";\n middle = \"\\u23ac\";\n bottom = \"\\u23ad\";\n repeat = \"\\u23aa\";\n font = \"Size4-Regular\";\n } else if (delim === \"\\\\lgroup\" || delim === \"\\u27ee\") {\n top = \"\\u23a7\";\n bottom = \"\\u23a9\";\n repeat = \"\\u23aa\";\n font = \"Size4-Regular\";\n } else if (delim === \"\\\\rgroup\" || delim === \"\\u27ef\") {\n top = \"\\u23ab\";\n bottom = \"\\u23ad\";\n repeat = \"\\u23aa\";\n font = \"Size4-Regular\";\n } else if (delim === \"\\\\lmoustache\" || delim === \"\\u23b0\") {\n top = \"\\u23a7\";\n bottom = \"\\u23ad\";\n repeat = \"\\u23aa\";\n font = \"Size4-Regular\";\n } else if (delim === \"\\\\rmoustache\" || delim === \"\\u23b1\") {\n top = \"\\u23ab\";\n bottom = \"\\u23a9\";\n repeat = \"\\u23aa\";\n font = \"Size4-Regular\";\n } // Get the metrics of the four sections\n\n\n const topMetrics = getMetrics(top, font, mode);\n const topHeightTotal = topMetrics.height + topMetrics.depth;\n const repeatMetrics = getMetrics(repeat, font, mode);\n const repeatHeightTotal = repeatMetrics.height + repeatMetrics.depth;\n const bottomMetrics = getMetrics(bottom, font, mode);\n const bottomHeightTotal = bottomMetrics.height + bottomMetrics.depth;\n let middleHeightTotal = 0;\n let middleFactor = 1;\n\n if (middle !== null) {\n const middleMetrics = getMetrics(middle, font, mode);\n middleHeightTotal = middleMetrics.height + middleMetrics.depth;\n middleFactor = 2; // repeat symmetrically above and below middle\n } // Calculate the minimal height that the delimiter can have.\n // It is at least the size of the top, bottom, and optional middle combined.\n\n\n const minHeight = topHeightTotal + bottomHeightTotal + middleHeightTotal; // Compute the number of copies of the repeat symbol we will need\n\n const repeatCount = Math.max(0, Math.ceil((heightTotal - minHeight) / (middleFactor * repeatHeightTotal))); // Compute the total height of the delimiter including all the symbols\n\n const realHeightTotal = minHeight + repeatCount * middleFactor * repeatHeightTotal; // The center of the delimiter is placed at the center of the axis. Note\n // that in this context, \"center\" means that the delimiter should be\n // centered around the axis in the current style, while normally it is\n // centered around the axis in textstyle.\n\n let axisHeight = options.fontMetrics().axisHeight;\n\n if (center) {\n axisHeight *= options.sizeMultiplier;\n } // Calculate the depth\n\n\n const depth = realHeightTotal / 2 - axisHeight; // Now, we start building the pieces that will go into the vlist\n // Keep a list of the pieces of the stacked delimiter\n\n const stack = [];\n\n if (svgLabel.length > 0) {\n // Instead of stacking glyphs, create a single SVG.\n // This evades browser problems with imprecise positioning of spans.\n const midHeight = realHeightTotal - topHeightTotal - bottomHeightTotal;\n const viewBoxHeight = Math.round(realHeightTotal * 1000);\n const pathStr = tallDelim(svgLabel, Math.round(midHeight * 1000));\n const path = new PathNode(svgLabel, pathStr);\n const width = (viewBoxWidth / 1000).toFixed(3) + \"em\";\n const height = (viewBoxHeight / 1000).toFixed(3) + \"em\";\n const svg = new SvgNode([path], {\n \"width\": width,\n \"height\": height,\n \"viewBox\": \"0 0 \" + viewBoxWidth + \" \" + viewBoxHeight\n });\n const wrapper = buildCommon.makeSvgSpan([], [svg], options);\n wrapper.height = viewBoxHeight / 1000;\n wrapper.style.width = width;\n wrapper.style.height = height;\n stack.push({\n type: \"elem\",\n elem: wrapper\n });\n } else {\n // Stack glyphs\n // Start by adding the bottom symbol\n stack.push(makeGlyphSpan(bottom, font, mode));\n stack.push(lap); // overlap\n\n if (middle === null) {\n // The middle section will be an SVG. Make it an extra 0.016em tall.\n // We'll overlap by 0.008em at top and bottom.\n const innerHeight = realHeightTotal - topHeightTotal - bottomHeightTotal + 2 * lapInEms;\n stack.push(makeInner(repeat, innerHeight, options));\n } else {\n // When there is a middle bit, we need the middle part and two repeated\n // sections\n const innerHeight = (realHeightTotal - topHeightTotal - bottomHeightTotal - middleHeightTotal) / 2 + 2 * lapInEms;\n stack.push(makeInner(repeat, innerHeight, options)); // Now insert the middle of the brace.\n\n stack.push(lap);\n stack.push(makeGlyphSpan(middle, font, mode));\n stack.push(lap);\n stack.push(makeInner(repeat, innerHeight, options));\n } // Add the top symbol\n\n\n stack.push(lap);\n stack.push(makeGlyphSpan(top, font, mode));\n } // Finally, build the vlist\n\n\n const newOptions = options.havingBaseStyle(src_Style.TEXT);\n const inner = buildCommon.makeVList({\n positionType: \"bottom\",\n positionData: depth,\n children: stack\n }, newOptions);\n return styleWrap(buildCommon.makeSpan([\"delimsizing\", \"mult\"], [inner], newOptions), src_Style.TEXT, options, classes);\n}; // All surds have 0.08em padding above the vinculum inside the SVG.\n// That keeps browser span height rounding error from pinching the line.\n\n\nconst vbPad = 80; // padding above the surd, measured inside the viewBox.\n\nconst emPad = 0.08; // padding, in ems, measured in the document.\n\nconst sqrtSvg = function (sqrtName, height, viewBoxHeight, extraVinculum, options) {\n const path = sqrtPath(sqrtName, extraVinculum, viewBoxHeight);\n const pathNode = new PathNode(sqrtName, path);\n const svg = new SvgNode([pathNode], {\n // Note: 1000:1 ratio of viewBox to document em width.\n \"width\": \"400em\",\n \"height\": makeEm(height),\n \"viewBox\": \"0 0 400000 \" + viewBoxHeight,\n \"preserveAspectRatio\": \"xMinYMin slice\"\n });\n return buildCommon.makeSvgSpan([\"hide-tail\"], [svg], options);\n};\n/**\n * Make a sqrt image of the given height,\n */\n\n\nconst makeSqrtImage = function (height, options) {\n // Define a newOptions that removes the effect of size changes such as \\Huge.\n // We don't pick different a height surd for \\Huge. For it, we scale up.\n const newOptions = options.havingBaseSizing(); // Pick the desired surd glyph from a sequence of surds.\n\n const delim = traverseSequence(\"\\\\surd\", height * newOptions.sizeMultiplier, stackLargeDelimiterSequence, newOptions);\n let sizeMultiplier = newOptions.sizeMultiplier; // default\n // The standard sqrt SVGs each have a 0.04em thick vinculum.\n // If Settings.minRuleThickness is larger than that, we add extraVinculum.\n\n const extraVinculum = Math.max(0, options.minRuleThickness - options.fontMetrics().sqrtRuleThickness); // Create a span containing an SVG image of a sqrt symbol.\n\n let span;\n let spanHeight = 0;\n let texHeight = 0;\n let viewBoxHeight = 0;\n let advanceWidth; // We create viewBoxes with 80 units of \"padding\" above each surd.\n // Then browser rounding error on the parent span height will not\n // encroach on the ink of the vinculum. But that padding is not\n // included in the TeX-like `height` used for calculation of\n // vertical alignment. So texHeight = span.height < span.style.height.\n\n if (delim.type === \"small\") {\n // Get an SVG that is derived from glyph U+221A in font KaTeX-Main.\n // 1000 unit normal glyph height.\n viewBoxHeight = 1000 + 1000 * extraVinculum + vbPad;\n\n if (height < 1.0) {\n sizeMultiplier = 1.0; // mimic a \\textfont radical\n } else if (height < 1.4) {\n sizeMultiplier = 0.7; // mimic a \\scriptfont radical\n }\n\n spanHeight = (1.0 + extraVinculum + emPad) / sizeMultiplier;\n texHeight = (1.00 + extraVinculum) / sizeMultiplier;\n span = sqrtSvg(\"sqrtMain\", spanHeight, viewBoxHeight, extraVinculum, options);\n span.style.minWidth = \"0.853em\";\n advanceWidth = 0.833 / sizeMultiplier; // from the font.\n } else if (delim.type === \"large\") {\n // These SVGs come from fonts: KaTeX_Size1, _Size2, etc.\n viewBoxHeight = (1000 + vbPad) * sizeToMaxHeight[delim.size];\n texHeight = (sizeToMaxHeight[delim.size] + extraVinculum) / sizeMultiplier;\n spanHeight = (sizeToMaxHeight[delim.size] + extraVinculum + emPad) / sizeMultiplier;\n span = sqrtSvg(\"sqrtSize\" + delim.size, spanHeight, viewBoxHeight, extraVinculum, options);\n span.style.minWidth = \"1.02em\";\n advanceWidth = 1.0 / sizeMultiplier; // 1.0 from the font.\n } else {\n // Tall sqrt. In TeX, this would be stacked using multiple glyphs.\n // We'll use a single SVG to accomplish the same thing.\n spanHeight = height + extraVinculum + emPad;\n texHeight = height + extraVinculum;\n viewBoxHeight = Math.floor(1000 * height + extraVinculum) + vbPad;\n span = sqrtSvg(\"sqrtTall\", spanHeight, viewBoxHeight, extraVinculum, options);\n span.style.minWidth = \"0.742em\";\n advanceWidth = 1.056;\n }\n\n span.height = texHeight;\n span.style.height = makeEm(spanHeight);\n return {\n span,\n advanceWidth,\n // Calculate the actual line width.\n // This actually should depend on the chosen font -- e.g. \\boldmath\n // should use the thicker surd symbols from e.g. KaTeX_Main-Bold, and\n // have thicker rules.\n ruleWidth: (options.fontMetrics().sqrtRuleThickness + extraVinculum) * sizeMultiplier\n };\n}; // There are three kinds of delimiters, delimiters that stack when they become\n// too large\n\n\nconst stackLargeDelimiters = [\"(\", \"\\\\lparen\", \")\", \"\\\\rparen\", \"[\", \"\\\\lbrack\", \"]\", \"\\\\rbrack\", \"\\\\{\", \"\\\\lbrace\", \"\\\\}\", \"\\\\rbrace\", \"\\\\lfloor\", \"\\\\rfloor\", \"\\u230a\", \"\\u230b\", \"\\\\lceil\", \"\\\\rceil\", \"\\u2308\", \"\\u2309\", \"\\\\surd\"]; // delimiters that always stack\n\nconst stackAlwaysDelimiters = [\"\\\\uparrow\", \"\\\\downarrow\", \"\\\\updownarrow\", \"\\\\Uparrow\", \"\\\\Downarrow\", \"\\\\Updownarrow\", \"|\", \"\\\\|\", \"\\\\vert\", \"\\\\Vert\", \"\\\\lvert\", \"\\\\rvert\", \"\\\\lVert\", \"\\\\rVert\", \"\\\\lgroup\", \"\\\\rgroup\", \"\\u27ee\", \"\\u27ef\", \"\\\\lmoustache\", \"\\\\rmoustache\", \"\\u23b0\", \"\\u23b1\"]; // and delimiters that never stack\n\nconst stackNeverDelimiters = [\"<\", \">\", \"\\\\langle\", \"\\\\rangle\", \"/\", \"\\\\backslash\", \"\\\\lt\", \"\\\\gt\"]; // Metrics of the different sizes. Found by looking at TeX's output of\n// $\\bigl| // \\Bigl| \\biggl| \\Biggl| \\showlists$\n// Used to create stacked delimiters of appropriate sizes in makeSizedDelim.\n\nconst sizeToMaxHeight = [0, 1.2, 1.8, 2.4, 3.0];\n/**\n * Used to create a delimiter of a specific size, where `size` is 1, 2, 3, or 4.\n */\n\nconst makeSizedDelim = function (delim, size, options, mode, classes) {\n // < and > turn into \\langle and \\rangle in delimiters\n if (delim === \"<\" || delim === \"\\\\lt\" || delim === \"\\u27e8\") {\n delim = \"\\\\langle\";\n } else if (delim === \">\" || delim === \"\\\\gt\" || delim === \"\\u27e9\") {\n delim = \"\\\\rangle\";\n } // Sized delimiters are never centered.\n\n\n if (utils.contains(stackLargeDelimiters, delim) || utils.contains(stackNeverDelimiters, delim)) {\n return makeLargeDelim(delim, size, false, options, mode, classes);\n } else if (utils.contains(stackAlwaysDelimiters, delim)) {\n return makeStackedDelim(delim, sizeToMaxHeight[size], false, options, mode, classes);\n } else {\n throw new src_ParseError(\"Illegal delimiter: '\" + delim + \"'\");\n }\n};\n/**\n * There are three different sequences of delimiter sizes that the delimiters\n * follow depending on the kind of delimiter. This is used when creating custom\n * sized delimiters to decide whether to create a small, large, or stacked\n * delimiter.\n *\n * In real TeX, these sequences aren't explicitly defined, but are instead\n * defined inside the font metrics. Since there are only three sequences that\n * are possible for the delimiters that TeX defines, it is easier to just encode\n * them explicitly here.\n */\n\n\n// Delimiters that never stack try small delimiters and large delimiters only\nconst stackNeverDelimiterSequence = [{\n type: \"small\",\n style: src_Style.SCRIPTSCRIPT\n}, {\n type: \"small\",\n style: src_Style.SCRIPT\n}, {\n type: \"small\",\n style: src_Style.TEXT\n}, {\n type: \"large\",\n size: 1\n}, {\n type: \"large\",\n size: 2\n}, {\n type: \"large\",\n size: 3\n}, {\n type: \"large\",\n size: 4\n}]; // Delimiters that always stack try the small delimiters first, then stack\n\nconst stackAlwaysDelimiterSequence = [{\n type: \"small\",\n style: src_Style.SCRIPTSCRIPT\n}, {\n type: \"small\",\n style: src_Style.SCRIPT\n}, {\n type: \"small\",\n style: src_Style.TEXT\n}, {\n type: \"stack\"\n}]; // Delimiters that stack when large try the small and then large delimiters, and\n// stack afterwards\n\nconst stackLargeDelimiterSequence = [{\n type: \"small\",\n style: src_Style.SCRIPTSCRIPT\n}, {\n type: \"small\",\n style: src_Style.SCRIPT\n}, {\n type: \"small\",\n style: src_Style.TEXT\n}, {\n type: \"large\",\n size: 1\n}, {\n type: \"large\",\n size: 2\n}, {\n type: \"large\",\n size: 3\n}, {\n type: \"large\",\n size: 4\n}, {\n type: \"stack\"\n}];\n/**\n * Get the font used in a delimiter based on what kind of delimiter it is.\n * TODO(#963) Use more specific font family return type once that is introduced.\n */\n\nconst delimTypeToFont = function (type) {\n if (type.type === \"small\") {\n return \"Main-Regular\";\n } else if (type.type === \"large\") {\n return \"Size\" + type.size + \"-Regular\";\n } else if (type.type === \"stack\") {\n return \"Size4-Regular\";\n } else {\n throw new Error(\"Add support for delim type '\" + type.type + \"' here.\");\n }\n};\n/**\n * Traverse a sequence of types of delimiters to decide what kind of delimiter\n * should be used to create a delimiter of the given height+depth.\n */\n\n\nconst traverseSequence = function (delim, height, sequence, options) {\n // Here, we choose the index we should start at in the sequences. In smaller\n // sizes (which correspond to larger numbers in style.size) we start earlier\n // in the sequence. Thus, scriptscript starts at index 3-3=0, script starts\n // at index 3-2=1, text starts at 3-1=2, and display starts at min(2,3-0)=2\n const start = Math.min(2, 3 - options.style.size);\n\n for (let i = start; i < sequence.length; i++) {\n if (sequence[i].type === \"stack\") {\n // This is always the last delimiter, so we just break the loop now.\n break;\n }\n\n const metrics = getMetrics(delim, delimTypeToFont(sequence[i]), \"math\");\n let heightDepth = metrics.height + metrics.depth; // Small delimiters are scaled down versions of the same font, so we\n // account for the style change size.\n\n if (sequence[i].type === \"small\") {\n const newOptions = options.havingBaseStyle(sequence[i].style);\n heightDepth *= newOptions.sizeMultiplier;\n } // Check if the delimiter at this size works for the given height.\n\n\n if (heightDepth > height) {\n return sequence[i];\n }\n } // If we reached the end of the sequence, return the last sequence element.\n\n\n return sequence[sequence.length - 1];\n};\n/**\n * Make a delimiter of a given height+depth, with optional centering. Here, we\n * traverse the sequences, and create a delimiter that the sequence tells us to.\n */\n\n\nconst makeCustomSizedDelim = function (delim, height, center, options, mode, classes) {\n if (delim === \"<\" || delim === \"\\\\lt\" || delim === \"\\u27e8\") {\n delim = \"\\\\langle\";\n } else if (delim === \">\" || delim === \"\\\\gt\" || delim === \"\\u27e9\") {\n delim = \"\\\\rangle\";\n } // Decide what sequence to use\n\n\n let sequence;\n\n if (utils.contains(stackNeverDelimiters, delim)) {\n sequence = stackNeverDelimiterSequence;\n } else if (utils.contains(stackLargeDelimiters, delim)) {\n sequence = stackLargeDelimiterSequence;\n } else {\n sequence = stackAlwaysDelimiterSequence;\n } // Look through the sequence\n\n\n const delimType = traverseSequence(delim, height, sequence, options); // Get the delimiter from font glyphs.\n // Depending on the sequence element we decided on, call the\n // appropriate function.\n\n if (delimType.type === \"small\") {\n return makeSmallDelim(delim, delimType.style, center, options, mode, classes);\n } else if (delimType.type === \"large\") {\n return makeLargeDelim(delim, delimType.size, center, options, mode, classes);\n } else\n /* if (delimType.type === \"stack\") */\n {\n return makeStackedDelim(delim, height, center, options, mode, classes);\n }\n};\n/**\n * Make a delimiter for use with `\\left` and `\\right`, given a height and depth\n * of an expression that the delimiters surround.\n */\n\n\nconst makeLeftRightDelim = function (delim, height, depth, options, mode, classes) {\n // We always center \\left/\\right delimiters, so the axis is always shifted\n const axisHeight = options.fontMetrics().axisHeight * options.sizeMultiplier; // Taken from TeX source, tex.web, function make_left_right\n\n const delimiterFactor = 901;\n const delimiterExtend = 5.0 / options.fontMetrics().ptPerEm;\n const maxDistFromAxis = Math.max(height - axisHeight, depth + axisHeight);\n const totalHeight = Math.max( // In real TeX, calculations are done using integral values which are\n // 65536 per pt, or 655360 per em. So, the division here truncates in\n // TeX but doesn't here, producing different results. If we wanted to\n // exactly match TeX's calculation, we could do\n // Math.floor(655360 * maxDistFromAxis / 500) *\n // delimiterFactor / 655360\n // (To see the difference, compare\n // x^{x^{\\left(\\rule{0.1em}{0.68em}\\right)}}\n // in TeX and KaTeX)\n maxDistFromAxis / 500 * delimiterFactor, 2 * maxDistFromAxis - delimiterExtend); // Finally, we defer to `makeCustomSizedDelim` with our calculated total\n // height\n\n return makeCustomSizedDelim(delim, totalHeight, true, options, mode, classes);\n};\n\n/* harmony default export */ var delimiter = ({\n sqrtImage: makeSqrtImage,\n sizedDelim: makeSizedDelim,\n sizeToMaxHeight: sizeToMaxHeight,\n customSizedDelim: makeCustomSizedDelim,\n leftRightDelim: makeLeftRightDelim\n});\n;// CONCATENATED MODULE: ./src/functions/delimsizing.js\n\n\n\n\n\n\n\n\n\n\n// Extra data needed for the delimiter handler down below\nconst delimiterSizes = {\n \"\\\\bigl\": {\n mclass: \"mopen\",\n size: 1\n },\n \"\\\\Bigl\": {\n mclass: \"mopen\",\n size: 2\n },\n \"\\\\biggl\": {\n mclass: \"mopen\",\n size: 3\n },\n \"\\\\Biggl\": {\n mclass: \"mopen\",\n size: 4\n },\n \"\\\\bigr\": {\n mclass: \"mclose\",\n size: 1\n },\n \"\\\\Bigr\": {\n mclass: \"mclose\",\n size: 2\n },\n \"\\\\biggr\": {\n mclass: \"mclose\",\n size: 3\n },\n \"\\\\Biggr\": {\n mclass: \"mclose\",\n size: 4\n },\n \"\\\\bigm\": {\n mclass: \"mrel\",\n size: 1\n },\n \"\\\\Bigm\": {\n mclass: \"mrel\",\n size: 2\n },\n \"\\\\biggm\": {\n mclass: \"mrel\",\n size: 3\n },\n \"\\\\Biggm\": {\n mclass: \"mrel\",\n size: 4\n },\n \"\\\\big\": {\n mclass: \"mord\",\n size: 1\n },\n \"\\\\Big\": {\n mclass: \"mord\",\n size: 2\n },\n \"\\\\bigg\": {\n mclass: \"mord\",\n size: 3\n },\n \"\\\\Bigg\": {\n mclass: \"mord\",\n size: 4\n }\n};\nconst delimiters = [\"(\", \"\\\\lparen\", \")\", \"\\\\rparen\", \"[\", \"\\\\lbrack\", \"]\", \"\\\\rbrack\", \"\\\\{\", \"\\\\lbrace\", \"\\\\}\", \"\\\\rbrace\", \"\\\\lfloor\", \"\\\\rfloor\", \"\\u230a\", \"\\u230b\", \"\\\\lceil\", \"\\\\rceil\", \"\\u2308\", \"\\u2309\", \"<\", \">\", \"\\\\langle\", \"\\u27e8\", \"\\\\rangle\", \"\\u27e9\", \"\\\\lt\", \"\\\\gt\", \"\\\\lvert\", \"\\\\rvert\", \"\\\\lVert\", \"\\\\rVert\", \"\\\\lgroup\", \"\\\\rgroup\", \"\\u27ee\", \"\\u27ef\", \"\\\\lmoustache\", \"\\\\rmoustache\", \"\\u23b0\", \"\\u23b1\", \"/\", \"\\\\backslash\", \"|\", \"\\\\vert\", \"\\\\|\", \"\\\\Vert\", \"\\\\uparrow\", \"\\\\Uparrow\", \"\\\\downarrow\", \"\\\\Downarrow\", \"\\\\updownarrow\", \"\\\\Updownarrow\", \".\"];\n\n// Delimiter functions\nfunction checkDelimiter(delim, context) {\n const symDelim = checkSymbolNodeType(delim);\n\n if (symDelim && utils.contains(delimiters, symDelim.text)) {\n return symDelim;\n } else if (symDelim) {\n throw new src_ParseError(\"Invalid delimiter '\" + symDelim.text + \"' after '\" + context.funcName + \"'\", delim);\n } else {\n throw new src_ParseError(\"Invalid delimiter type '\" + delim.type + \"'\", delim);\n }\n}\n\ndefineFunction({\n type: \"delimsizing\",\n names: [\"\\\\bigl\", \"\\\\Bigl\", \"\\\\biggl\", \"\\\\Biggl\", \"\\\\bigr\", \"\\\\Bigr\", \"\\\\biggr\", \"\\\\Biggr\", \"\\\\bigm\", \"\\\\Bigm\", \"\\\\biggm\", \"\\\\Biggm\", \"\\\\big\", \"\\\\Big\", \"\\\\bigg\", \"\\\\Bigg\"],\n props: {\n numArgs: 1,\n argTypes: [\"primitive\"]\n },\n handler: (context, args) => {\n const delim = checkDelimiter(args[0], context);\n return {\n type: \"delimsizing\",\n mode: context.parser.mode,\n size: delimiterSizes[context.funcName].size,\n mclass: delimiterSizes[context.funcName].mclass,\n delim: delim.text\n };\n },\n htmlBuilder: (group, options) => {\n if (group.delim === \".\") {\n // Empty delimiters still count as elements, even though they don't\n // show anything.\n return buildCommon.makeSpan([group.mclass]);\n } // Use delimiter.sizedDelim to generate the delimiter.\n\n\n return delimiter.sizedDelim(group.delim, group.size, options, group.mode, [group.mclass]);\n },\n mathmlBuilder: group => {\n const children = [];\n\n if (group.delim !== \".\") {\n children.push(makeText(group.delim, group.mode));\n }\n\n const node = new mathMLTree.MathNode(\"mo\", children);\n\n if (group.mclass === \"mopen\" || group.mclass === \"mclose\") {\n // Only some of the delimsizing functions act as fences, and they\n // return \"mopen\" or \"mclose\" mclass.\n node.setAttribute(\"fence\", \"true\");\n } else {\n // Explicitly disable fencing if it's not a fence, to override the\n // defaults.\n node.setAttribute(\"fence\", \"false\");\n }\n\n node.setAttribute(\"stretchy\", \"true\");\n const size = makeEm(delimiter.sizeToMaxHeight[group.size]);\n node.setAttribute(\"minsize\", size);\n node.setAttribute(\"maxsize\", size);\n return node;\n }\n});\n\nfunction assertParsed(group) {\n if (!group.body) {\n throw new Error(\"Bug: The leftright ParseNode wasn't fully parsed.\");\n }\n}\n\ndefineFunction({\n type: \"leftright-right\",\n names: [\"\\\\right\"],\n props: {\n numArgs: 1,\n primitive: true\n },\n handler: (context, args) => {\n // \\left case below triggers parsing of \\right in\n // `const right = parser.parseFunction();`\n // uses this return value.\n const color = context.parser.gullet.macros.get(\"\\\\current@color\");\n\n if (color && typeof color !== \"string\") {\n throw new src_ParseError(\"\\\\current@color set to non-string in \\\\right\");\n }\n\n return {\n type: \"leftright-right\",\n mode: context.parser.mode,\n delim: checkDelimiter(args[0], context).text,\n color // undefined if not set via \\color\n\n };\n }\n});\ndefineFunction({\n type: \"leftright\",\n names: [\"\\\\left\"],\n props: {\n numArgs: 1,\n primitive: true\n },\n handler: (context, args) => {\n const delim = checkDelimiter(args[0], context);\n const parser = context.parser; // Parse out the implicit body\n\n ++parser.leftrightDepth; // parseExpression stops before '\\\\right'\n\n const body = parser.parseExpression(false);\n --parser.leftrightDepth; // Check the next token\n\n parser.expect(\"\\\\right\", false);\n const right = assertNodeType(parser.parseFunction(), \"leftright-right\");\n return {\n type: \"leftright\",\n mode: parser.mode,\n body,\n left: delim.text,\n right: right.delim,\n rightColor: right.color\n };\n },\n htmlBuilder: (group, options) => {\n assertParsed(group); // Build the inner expression\n\n const inner = buildExpression(group.body, options, true, [\"mopen\", \"mclose\"]);\n let innerHeight = 0;\n let innerDepth = 0;\n let hadMiddle = false; // Calculate its height and depth\n\n for (let i = 0; i < inner.length; i++) {\n // Property `isMiddle` not defined on `span`. See comment in\n // \"middle\"'s htmlBuilder.\n // $FlowFixMe\n if (inner[i].isMiddle) {\n hadMiddle = true;\n } else {\n innerHeight = Math.max(inner[i].height, innerHeight);\n innerDepth = Math.max(inner[i].depth, innerDepth);\n }\n } // The size of delimiters is the same, regardless of what style we are\n // in. Thus, to correctly calculate the size of delimiter we need around\n // a group, we scale down the inner size based on the size.\n\n\n innerHeight *= options.sizeMultiplier;\n innerDepth *= options.sizeMultiplier;\n let leftDelim;\n\n if (group.left === \".\") {\n // Empty delimiters in \\left and \\right make null delimiter spaces.\n leftDelim = makeNullDelimiter(options, [\"mopen\"]);\n } else {\n // Otherwise, use leftRightDelim to generate the correct sized\n // delimiter.\n leftDelim = delimiter.leftRightDelim(group.left, innerHeight, innerDepth, options, group.mode, [\"mopen\"]);\n } // Add it to the beginning of the expression\n\n\n inner.unshift(leftDelim); // Handle middle delimiters\n\n if (hadMiddle) {\n for (let i = 1; i < inner.length; i++) {\n const middleDelim = inner[i]; // Property `isMiddle` not defined on `span`. See comment in\n // \"middle\"'s htmlBuilder.\n // $FlowFixMe\n\n const isMiddle = middleDelim.isMiddle;\n\n if (isMiddle) {\n // Apply the options that were active when \\middle was called\n inner[i] = delimiter.leftRightDelim(isMiddle.delim, innerHeight, innerDepth, isMiddle.options, group.mode, []);\n }\n }\n }\n\n let rightDelim; // Same for the right delimiter, but using color specified by \\color\n\n if (group.right === \".\") {\n rightDelim = makeNullDelimiter(options, [\"mclose\"]);\n } else {\n const colorOptions = group.rightColor ? options.withColor(group.rightColor) : options;\n rightDelim = delimiter.leftRightDelim(group.right, innerHeight, innerDepth, colorOptions, group.mode, [\"mclose\"]);\n } // Add it to the end of the expression.\n\n\n inner.push(rightDelim);\n return buildCommon.makeSpan([\"minner\"], inner, options);\n },\n mathmlBuilder: (group, options) => {\n assertParsed(group);\n const inner = buildMathML_buildExpression(group.body, options);\n\n if (group.left !== \".\") {\n const leftNode = new mathMLTree.MathNode(\"mo\", [makeText(group.left, group.mode)]);\n leftNode.setAttribute(\"fence\", \"true\");\n inner.unshift(leftNode);\n }\n\n if (group.right !== \".\") {\n const rightNode = new mathMLTree.MathNode(\"mo\", [makeText(group.right, group.mode)]);\n rightNode.setAttribute(\"fence\", \"true\");\n\n if (group.rightColor) {\n rightNode.setAttribute(\"mathcolor\", group.rightColor);\n }\n\n inner.push(rightNode);\n }\n\n return makeRow(inner);\n }\n});\ndefineFunction({\n type: \"middle\",\n names: [\"\\\\middle\"],\n props: {\n numArgs: 1,\n primitive: true\n },\n handler: (context, args) => {\n const delim = checkDelimiter(args[0], context);\n\n if (!context.parser.leftrightDepth) {\n throw new src_ParseError(\"\\\\middle without preceding \\\\left\", delim);\n }\n\n return {\n type: \"middle\",\n mode: context.parser.mode,\n delim: delim.text\n };\n },\n htmlBuilder: (group, options) => {\n let middleDelim;\n\n if (group.delim === \".\") {\n middleDelim = makeNullDelimiter(options, []);\n } else {\n middleDelim = delimiter.sizedDelim(group.delim, 1, options, group.mode, []);\n const isMiddle = {\n delim: group.delim,\n options\n }; // Property `isMiddle` not defined on `span`. It is only used in\n // this file above.\n // TODO: Fix this violation of the `span` type and possibly rename\n // things since `isMiddle` sounds like a boolean, but is a struct.\n // $FlowFixMe\n\n middleDelim.isMiddle = isMiddle;\n }\n\n return middleDelim;\n },\n mathmlBuilder: (group, options) => {\n // A Firefox \\middle will stretch a character vertically only if it\n // is in the fence part of the operator dictionary at:\n // https://www.w3.org/TR/MathML3/appendixc.html.\n // So we need to avoid U+2223 and use plain \"|\" instead.\n const textNode = group.delim === \"\\\\vert\" || group.delim === \"|\" ? makeText(\"|\", \"text\") : makeText(group.delim, group.mode);\n const middleNode = new mathMLTree.MathNode(\"mo\", [textNode]);\n middleNode.setAttribute(\"fence\", \"true\"); // MathML gives 5/18em spacing to each element.\n // \\middle should get delimiter spacing instead.\n\n middleNode.setAttribute(\"lspace\", \"0.05em\");\n middleNode.setAttribute(\"rspace\", \"0.05em\");\n return middleNode;\n }\n});\n;// CONCATENATED MODULE: ./src/functions/enclose.js\n\n\n\n\n\n\n\n\n\n\n\n\nconst enclose_htmlBuilder = (group, options) => {\n // \\cancel, \\bcancel, \\xcancel, \\sout, \\fbox, \\colorbox, \\fcolorbox, \\phase\n // Some groups can return document fragments. Handle those by wrapping\n // them in a span.\n const inner = buildCommon.wrapFragment(buildGroup(group.body, options), options);\n const label = group.label.slice(1);\n let scale = options.sizeMultiplier;\n let img;\n let imgShift = 0; // In the LaTeX cancel package, line geometry is slightly different\n // depending on whether the subject is wider than it is tall, or vice versa.\n // We don't know the width of a group, so as a proxy, we test if\n // the subject is a single character. This captures most of the\n // subjects that should get the \"tall\" treatment.\n\n const isSingleChar = utils.isCharacterBox(group.body);\n\n if (label === \"sout\") {\n img = buildCommon.makeSpan([\"stretchy\", \"sout\"]);\n img.height = options.fontMetrics().defaultRuleThickness / scale;\n imgShift = -0.5 * options.fontMetrics().xHeight;\n } else if (label === \"phase\") {\n // Set a couple of dimensions from the steinmetz package.\n const lineWeight = calculateSize({\n number: 0.6,\n unit: \"pt\"\n }, options);\n const clearance = calculateSize({\n number: 0.35,\n unit: \"ex\"\n }, options); // Prevent size changes like \\Huge from affecting line thickness\n\n const newOptions = options.havingBaseSizing();\n scale = scale / newOptions.sizeMultiplier;\n const angleHeight = inner.height + inner.depth + lineWeight + clearance; // Reserve a left pad for the angle.\n\n inner.style.paddingLeft = makeEm(angleHeight / 2 + lineWeight); // Create an SVG\n\n const viewBoxHeight = Math.floor(1000 * angleHeight * scale);\n const path = phasePath(viewBoxHeight);\n const svgNode = new SvgNode([new PathNode(\"phase\", path)], {\n \"width\": \"400em\",\n \"height\": makeEm(viewBoxHeight / 1000),\n \"viewBox\": \"0 0 400000 \" + viewBoxHeight,\n \"preserveAspectRatio\": \"xMinYMin slice\"\n }); // Wrap it in a span with overflow: hidden.\n\n img = buildCommon.makeSvgSpan([\"hide-tail\"], [svgNode], options);\n img.style.height = makeEm(angleHeight);\n imgShift = inner.depth + lineWeight + clearance;\n } else {\n // Add horizontal padding\n if (/cancel/.test(label)) {\n if (!isSingleChar) {\n inner.classes.push(\"cancel-pad\");\n }\n } else if (label === \"angl\") {\n inner.classes.push(\"anglpad\");\n } else {\n inner.classes.push(\"boxpad\");\n } // Add vertical padding\n\n\n let topPad = 0;\n let bottomPad = 0;\n let ruleThickness = 0; // ref: cancel package: \\advance\\totalheight2\\p@ % \"+2\"\n\n if (/box/.test(label)) {\n ruleThickness = Math.max(options.fontMetrics().fboxrule, // default\n options.minRuleThickness // User override.\n );\n topPad = options.fontMetrics().fboxsep + (label === \"colorbox\" ? 0 : ruleThickness);\n bottomPad = topPad;\n } else if (label === \"angl\") {\n ruleThickness = Math.max(options.fontMetrics().defaultRuleThickness, options.minRuleThickness);\n topPad = 4 * ruleThickness; // gap = 3 × line, plus the line itself.\n\n bottomPad = Math.max(0, 0.25 - inner.depth);\n } else {\n topPad = isSingleChar ? 0.2 : 0;\n bottomPad = topPad;\n }\n\n img = stretchy.encloseSpan(inner, label, topPad, bottomPad, options);\n\n if (/fbox|boxed|fcolorbox/.test(label)) {\n img.style.borderStyle = \"solid\";\n img.style.borderWidth = makeEm(ruleThickness);\n } else if (label === \"angl\" && ruleThickness !== 0.049) {\n img.style.borderTopWidth = makeEm(ruleThickness);\n img.style.borderRightWidth = makeEm(ruleThickness);\n }\n\n imgShift = inner.depth + bottomPad;\n\n if (group.backgroundColor) {\n img.style.backgroundColor = group.backgroundColor;\n\n if (group.borderColor) {\n img.style.borderColor = group.borderColor;\n }\n }\n }\n\n let vlist;\n\n if (group.backgroundColor) {\n vlist = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [// Put the color background behind inner;\n {\n type: \"elem\",\n elem: img,\n shift: imgShift\n }, {\n type: \"elem\",\n elem: inner,\n shift: 0\n }]\n }, options);\n } else {\n const classes = /cancel|phase/.test(label) ? [\"svg-align\"] : [];\n vlist = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [// Write the \\cancel stroke on top of inner.\n {\n type: \"elem\",\n elem: inner,\n shift: 0\n }, {\n type: \"elem\",\n elem: img,\n shift: imgShift,\n wrapperClasses: classes\n }]\n }, options);\n }\n\n if (/cancel/.test(label)) {\n // The cancel package documentation says that cancel lines add their height\n // to the expression, but tests show that isn't how it actually works.\n vlist.height = inner.height;\n vlist.depth = inner.depth;\n }\n\n if (/cancel/.test(label) && !isSingleChar) {\n // cancel does not create horiz space for its line extension.\n return buildCommon.makeSpan([\"mord\", \"cancel-lap\"], [vlist], options);\n } else {\n return buildCommon.makeSpan([\"mord\"], [vlist], options);\n }\n};\n\nconst enclose_mathmlBuilder = (group, options) => {\n let fboxsep = 0;\n const node = new mathMLTree.MathNode(group.label.indexOf(\"colorbox\") > -1 ? \"mpadded\" : \"menclose\", [buildMathML_buildGroup(group.body, options)]);\n\n switch (group.label) {\n case \"\\\\cancel\":\n node.setAttribute(\"notation\", \"updiagonalstrike\");\n break;\n\n case \"\\\\bcancel\":\n node.setAttribute(\"notation\", \"downdiagonalstrike\");\n break;\n\n case \"\\\\phase\":\n node.setAttribute(\"notation\", \"phasorangle\");\n break;\n\n case \"\\\\sout\":\n node.setAttribute(\"notation\", \"horizontalstrike\");\n break;\n\n case \"\\\\fbox\":\n node.setAttribute(\"notation\", \"box\");\n break;\n\n case \"\\\\angl\":\n node.setAttribute(\"notation\", \"actuarial\");\n break;\n\n case \"\\\\fcolorbox\":\n case \"\\\\colorbox\":\n // doesn't have a good notation option. So use \n // instead. Set some attributes that come included with .\n fboxsep = options.fontMetrics().fboxsep * options.fontMetrics().ptPerEm;\n node.setAttribute(\"width\", \"+\" + 2 * fboxsep + \"pt\");\n node.setAttribute(\"height\", \"+\" + 2 * fboxsep + \"pt\");\n node.setAttribute(\"lspace\", fboxsep + \"pt\"); //\n\n node.setAttribute(\"voffset\", fboxsep + \"pt\");\n\n if (group.label === \"\\\\fcolorbox\") {\n const thk = Math.max(options.fontMetrics().fboxrule, // default\n options.minRuleThickness // user override\n );\n node.setAttribute(\"style\", \"border: \" + thk + \"em solid \" + String(group.borderColor));\n }\n\n break;\n\n case \"\\\\xcancel\":\n node.setAttribute(\"notation\", \"updiagonalstrike downdiagonalstrike\");\n break;\n }\n\n if (group.backgroundColor) {\n node.setAttribute(\"mathbackground\", group.backgroundColor);\n }\n\n return node;\n};\n\ndefineFunction({\n type: \"enclose\",\n names: [\"\\\\colorbox\"],\n props: {\n numArgs: 2,\n allowedInText: true,\n argTypes: [\"color\", \"text\"]\n },\n\n handler(_ref, args, optArgs) {\n let {\n parser,\n funcName\n } = _ref;\n const color = assertNodeType(args[0], \"color-token\").color;\n const body = args[1];\n return {\n type: \"enclose\",\n mode: parser.mode,\n label: funcName,\n backgroundColor: color,\n body\n };\n },\n\n htmlBuilder: enclose_htmlBuilder,\n mathmlBuilder: enclose_mathmlBuilder\n});\ndefineFunction({\n type: \"enclose\",\n names: [\"\\\\fcolorbox\"],\n props: {\n numArgs: 3,\n allowedInText: true,\n argTypes: [\"color\", \"color\", \"text\"]\n },\n\n handler(_ref2, args, optArgs) {\n let {\n parser,\n funcName\n } = _ref2;\n const borderColor = assertNodeType(args[0], \"color-token\").color;\n const backgroundColor = assertNodeType(args[1], \"color-token\").color;\n const body = args[2];\n return {\n type: \"enclose\",\n mode: parser.mode,\n label: funcName,\n backgroundColor,\n borderColor,\n body\n };\n },\n\n htmlBuilder: enclose_htmlBuilder,\n mathmlBuilder: enclose_mathmlBuilder\n});\ndefineFunction({\n type: \"enclose\",\n names: [\"\\\\fbox\"],\n props: {\n numArgs: 1,\n argTypes: [\"hbox\"],\n allowedInText: true\n },\n\n handler(_ref3, args) {\n let {\n parser\n } = _ref3;\n return {\n type: \"enclose\",\n mode: parser.mode,\n label: \"\\\\fbox\",\n body: args[0]\n };\n }\n\n});\ndefineFunction({\n type: \"enclose\",\n names: [\"\\\\cancel\", \"\\\\bcancel\", \"\\\\xcancel\", \"\\\\sout\", \"\\\\phase\"],\n props: {\n numArgs: 1\n },\n\n handler(_ref4, args) {\n let {\n parser,\n funcName\n } = _ref4;\n const body = args[0];\n return {\n type: \"enclose\",\n mode: parser.mode,\n label: funcName,\n body\n };\n },\n\n htmlBuilder: enclose_htmlBuilder,\n mathmlBuilder: enclose_mathmlBuilder\n});\ndefineFunction({\n type: \"enclose\",\n names: [\"\\\\angl\"],\n props: {\n numArgs: 1,\n argTypes: [\"hbox\"],\n allowedInText: false\n },\n\n handler(_ref5, args) {\n let {\n parser\n } = _ref5;\n return {\n type: \"enclose\",\n mode: parser.mode,\n label: \"\\\\angl\",\n body: args[0]\n };\n }\n\n});\n;// CONCATENATED MODULE: ./src/defineEnvironment.js\n\n\n/**\n * All registered environments.\n * `environments.js` exports this same dictionary again and makes it public.\n * `Parser.js` requires this dictionary via `environments.js`.\n */\nconst _environments = {};\nfunction defineEnvironment(_ref) {\n let {\n type,\n names,\n props,\n handler,\n htmlBuilder,\n mathmlBuilder\n } = _ref;\n // Set default values of environments.\n const data = {\n type,\n numArgs: props.numArgs || 0,\n allowedInText: false,\n numOptionalArgs: 0,\n handler\n };\n\n for (let i = 0; i < names.length; ++i) {\n // TODO: The value type of _environments should be a type union of all\n // possible `EnvSpec<>` possibilities instead of `EnvSpec<*>`, which is\n // an existential type.\n _environments[names[i]] = data;\n }\n\n if (htmlBuilder) {\n _htmlGroupBuilders[type] = htmlBuilder;\n }\n\n if (mathmlBuilder) {\n _mathmlGroupBuilders[type] = mathmlBuilder;\n }\n}\n;// CONCATENATED MODULE: ./src/defineMacro.js\n\n\n/**\n * All registered global/built-in macros.\n * `macros.js` exports this same dictionary again and makes it public.\n * `Parser.js` requires this dictionary via `macros.js`.\n */\nconst _macros = {}; // This function might one day accept an additional argument and do more things.\n\nfunction defineMacro(name, body) {\n _macros[name] = body;\n}\n;// CONCATENATED MODULE: ./src/SourceLocation.js\n/**\n * Lexing or parsing positional information for error reporting.\n * This object is immutable.\n */\nclass SourceLocation {\n // The + prefix indicates that these fields aren't writeable\n // Lexer holding the input string.\n // Start offset, zero-based inclusive.\n // End offset, zero-based exclusive.\n constructor(lexer, start, end) {\n this.lexer = void 0;\n this.start = void 0;\n this.end = void 0;\n this.lexer = lexer;\n this.start = start;\n this.end = end;\n }\n /**\n * Merges two `SourceLocation`s from location providers, given they are\n * provided in order of appearance.\n * - Returns the first one's location if only the first is provided.\n * - Returns a merged range of the first and the last if both are provided\n * and their lexers match.\n * - Otherwise, returns null.\n */\n\n\n static range(first, second) {\n if (!second) {\n return first && first.loc;\n } else if (!first || !first.loc || !second.loc || first.loc.lexer !== second.loc.lexer) {\n return null;\n } else {\n return new SourceLocation(first.loc.lexer, first.loc.start, second.loc.end);\n }\n }\n\n}\n;// CONCATENATED MODULE: ./src/Token.js\n\n/**\n * Interface required to break circular dependency between Token, Lexer, and\n * ParseError.\n */\n\n/**\n * The resulting token returned from `lex`.\n *\n * It consists of the token text plus some position information.\n * The position information is essentially a range in an input string,\n * but instead of referencing the bare input string, we refer to the lexer.\n * That way it is possible to attach extra metadata to the input string,\n * like for example a file name or similar.\n *\n * The position information is optional, so it is OK to construct synthetic\n * tokens if appropriate. Not providing available position information may\n * lead to degraded error reporting, though.\n */\nclass Token {\n // don't expand the token\n // used in \\noexpand\n constructor(text, // the text of this token\n loc) {\n this.text = void 0;\n this.loc = void 0;\n this.noexpand = void 0;\n this.treatAsRelax = void 0;\n this.text = text;\n this.loc = loc;\n }\n /**\n * Given a pair of tokens (this and endToken), compute a `Token` encompassing\n * the whole input range enclosed by these two.\n */\n\n\n range(endToken, // last token of the range, inclusive\n text // the text of the newly constructed token\n ) {\n return new Token(text, SourceLocation.range(this, endToken));\n }\n\n}\n;// CONCATENATED MODULE: ./src/environments/array.js\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// Helper functions\nfunction getHLines(parser) {\n // Return an array. The array length = number of hlines.\n // Each element in the array tells if the line is dashed.\n const hlineInfo = [];\n parser.consumeSpaces();\n let nxt = parser.fetch().text;\n\n if (nxt === \"\\\\relax\") {\n // \\relax is an artifact of the \\cr macro below\n parser.consume();\n parser.consumeSpaces();\n nxt = parser.fetch().text;\n }\n\n while (nxt === \"\\\\hline\" || nxt === \"\\\\hdashline\") {\n parser.consume();\n hlineInfo.push(nxt === \"\\\\hdashline\");\n parser.consumeSpaces();\n nxt = parser.fetch().text;\n }\n\n return hlineInfo;\n}\n\nconst validateAmsEnvironmentContext = context => {\n const settings = context.parser.settings;\n\n if (!settings.displayMode) {\n throw new src_ParseError(\"{\" + context.envName + \"} can be used only in\" + \" display mode.\");\n }\n}; // autoTag (an argument to parseArray) can be one of three values:\n// * undefined: Regular (not-top-level) array; no tags on each row\n// * true: Automatic equation numbering, overridable by \\tag\n// * false: Tags allowed on each row, but no automatic numbering\n// This function *doesn't* work with the \"split\" environment name.\n\n\nfunction getAutoTag(name) {\n if (name.indexOf(\"ed\") === -1) {\n return name.indexOf(\"*\") === -1;\n } // return undefined;\n\n}\n/**\n * Parse the body of the environment, with rows delimited by \\\\ and\n * columns delimited by &, and create a nested list in row-major order\n * with one group per cell. If given an optional argument style\n * (\"text\", \"display\", etc.), then each cell is cast into that style.\n */\n\n\nfunction parseArray(parser, _ref, style) {\n let {\n hskipBeforeAndAfter,\n addJot,\n cols,\n arraystretch,\n colSeparationType,\n autoTag,\n singleRow,\n emptySingleRow,\n maxNumCols,\n leqno\n } = _ref;\n parser.gullet.beginGroup();\n\n if (!singleRow) {\n // \\cr is equivalent to \\\\ without the optional size argument (see below)\n // TODO: provide helpful error when \\cr is used outside array environment\n parser.gullet.macros.set(\"\\\\cr\", \"\\\\\\\\\\\\relax\");\n } // Get current arraystretch if it's not set by the environment\n\n\n if (!arraystretch) {\n const stretch = parser.gullet.expandMacroAsText(\"\\\\arraystretch\");\n\n if (stretch == null) {\n // Default \\arraystretch from lttab.dtx\n arraystretch = 1;\n } else {\n arraystretch = parseFloat(stretch);\n\n if (!arraystretch || arraystretch < 0) {\n throw new src_ParseError(\"Invalid \\\\arraystretch: \" + stretch);\n }\n }\n } // Start group for first cell\n\n\n parser.gullet.beginGroup();\n let row = [];\n const body = [row];\n const rowGaps = [];\n const hLinesBeforeRow = [];\n const tags = autoTag != null ? [] : undefined; // amsmath uses \\global\\@eqnswtrue and \\global\\@eqnswfalse to represent\n // whether this row should have an equation number. Simulate this with\n // a \\@eqnsw macro set to 1 or 0.\n\n function beginRow() {\n if (autoTag) {\n parser.gullet.macros.set(\"\\\\@eqnsw\", \"1\", true);\n }\n }\n\n function endRow() {\n if (tags) {\n if (parser.gullet.macros.get(\"\\\\df@tag\")) {\n tags.push(parser.subparse([new Token(\"\\\\df@tag\")]));\n parser.gullet.macros.set(\"\\\\df@tag\", undefined, true);\n } else {\n tags.push(Boolean(autoTag) && parser.gullet.macros.get(\"\\\\@eqnsw\") === \"1\");\n }\n }\n }\n\n beginRow(); // Test for \\hline at the top of the array.\n\n hLinesBeforeRow.push(getHLines(parser));\n\n while (true) {\n // eslint-disable-line no-constant-condition\n // Parse each cell in its own group (namespace)\n let cell = parser.parseExpression(false, singleRow ? \"\\\\end\" : \"\\\\\\\\\");\n parser.gullet.endGroup();\n parser.gullet.beginGroup();\n cell = {\n type: \"ordgroup\",\n mode: parser.mode,\n body: cell\n };\n\n if (style) {\n cell = {\n type: \"styling\",\n mode: parser.mode,\n style,\n body: [cell]\n };\n }\n\n row.push(cell);\n const next = parser.fetch().text;\n\n if (next === \"&\") {\n if (maxNumCols && row.length === maxNumCols) {\n if (singleRow || colSeparationType) {\n // {equation} or {split}\n throw new src_ParseError(\"Too many tab characters: &\", parser.nextToken);\n } else {\n // {array} environment\n parser.settings.reportNonstrict(\"textEnv\", \"Too few columns \" + \"specified in the {array} column argument.\");\n }\n }\n\n parser.consume();\n } else if (next === \"\\\\end\") {\n endRow(); // Arrays terminate newlines with `\\crcr` which consumes a `\\cr` if\n // the last line is empty. However, AMS environments keep the\n // empty row if it's the only one.\n // NOTE: Currently, `cell` is the last item added into `row`.\n\n if (row.length === 1 && cell.type === \"styling\" && cell.body[0].body.length === 0 && (body.length > 1 || !emptySingleRow)) {\n body.pop();\n }\n\n if (hLinesBeforeRow.length < body.length + 1) {\n hLinesBeforeRow.push([]);\n }\n\n break;\n } else if (next === \"\\\\\\\\\") {\n parser.consume();\n let size; // \\def\\Let@{\\let\\\\\\math@cr}\n // \\def\\math@cr{...\\math@cr@}\n // \\def\\math@cr@{\\new@ifnextchar[\\math@cr@@{\\math@cr@@[\\z@]}}\n // \\def\\math@cr@@[#1]{...\\math@cr@@@...}\n // \\def\\math@cr@@@{\\cr}\n\n if (parser.gullet.future().text !== \" \") {\n size = parser.parseSizeGroup(true);\n }\n\n rowGaps.push(size ? size.value : null);\n endRow(); // check for \\hline(s) following the row separator\n\n hLinesBeforeRow.push(getHLines(parser));\n row = [];\n body.push(row);\n beginRow();\n } else {\n throw new src_ParseError(\"Expected & or \\\\\\\\ or \\\\cr or \\\\end\", parser.nextToken);\n }\n } // End cell group\n\n\n parser.gullet.endGroup(); // End array group defining \\cr\n\n parser.gullet.endGroup();\n return {\n type: \"array\",\n mode: parser.mode,\n addJot,\n arraystretch,\n body,\n cols,\n rowGaps,\n hskipBeforeAndAfter,\n hLinesBeforeRow,\n colSeparationType,\n tags,\n leqno\n };\n} // Decides on a style for cells in an array according to whether the given\n// environment name starts with the letter 'd'.\n\n\nfunction dCellStyle(envName) {\n if (envName.slice(0, 1) === \"d\") {\n return \"display\";\n } else {\n return \"text\";\n }\n}\n\nconst array_htmlBuilder = function (group, options) {\n let r;\n let c;\n const nr = group.body.length;\n const hLinesBeforeRow = group.hLinesBeforeRow;\n let nc = 0;\n let body = new Array(nr);\n const hlines = [];\n const ruleThickness = Math.max( // From LaTeX \\showthe\\arrayrulewidth. Equals 0.04 em.\n options.fontMetrics().arrayRuleWidth, options.minRuleThickness // User override.\n ); // Horizontal spacing\n\n const pt = 1 / options.fontMetrics().ptPerEm;\n let arraycolsep = 5 * pt; // default value, i.e. \\arraycolsep in article.cls\n\n if (group.colSeparationType && group.colSeparationType === \"small\") {\n // We're in a {smallmatrix}. Default column space is \\thickspace,\n // i.e. 5/18em = 0.2778em, per amsmath.dtx for {smallmatrix}.\n // But that needs adjustment because LaTeX applies \\scriptstyle to the\n // entire array, including the colspace, but this function applies\n // \\scriptstyle only inside each element.\n const localMultiplier = options.havingStyle(src_Style.SCRIPT).sizeMultiplier;\n arraycolsep = 0.2778 * (localMultiplier / options.sizeMultiplier);\n } // Vertical spacing\n\n\n const baselineskip = group.colSeparationType === \"CD\" ? calculateSize({\n number: 3,\n unit: \"ex\"\n }, options) : 12 * pt; // see size10.clo\n // Default \\jot from ltmath.dtx\n // TODO(edemaine): allow overriding \\jot via \\setlength (#687)\n\n const jot = 3 * pt;\n const arrayskip = group.arraystretch * baselineskip;\n const arstrutHeight = 0.7 * arrayskip; // \\strutbox in ltfsstrc.dtx and\n\n const arstrutDepth = 0.3 * arrayskip; // \\@arstrutbox in lttab.dtx\n\n let totalHeight = 0; // Set a position for \\hline(s) at the top of the array, if any.\n\n function setHLinePos(hlinesInGap) {\n for (let i = 0; i < hlinesInGap.length; ++i) {\n if (i > 0) {\n totalHeight += 0.25;\n }\n\n hlines.push({\n pos: totalHeight,\n isDashed: hlinesInGap[i]\n });\n }\n }\n\n setHLinePos(hLinesBeforeRow[0]);\n\n for (r = 0; r < group.body.length; ++r) {\n const inrow = group.body[r];\n let height = arstrutHeight; // \\@array adds an \\@arstrut\n\n let depth = arstrutDepth; // to each tow (via the template)\n\n if (nc < inrow.length) {\n nc = inrow.length;\n }\n\n const outrow = new Array(inrow.length);\n\n for (c = 0; c < inrow.length; ++c) {\n const elt = buildGroup(inrow[c], options);\n\n if (depth < elt.depth) {\n depth = elt.depth;\n }\n\n if (height < elt.height) {\n height = elt.height;\n }\n\n outrow[c] = elt;\n }\n\n const rowGap = group.rowGaps[r];\n let gap = 0;\n\n if (rowGap) {\n gap = calculateSize(rowGap, options);\n\n if (gap > 0) {\n // \\@argarraycr\n gap += arstrutDepth;\n\n if (depth < gap) {\n depth = gap; // \\@xargarraycr\n }\n\n gap = 0;\n }\n } // In AMS multiline environments such as aligned and gathered, rows\n // correspond to lines that have additional \\jot added to the\n // \\baselineskip via \\openup.\n\n\n if (group.addJot) {\n depth += jot;\n }\n\n outrow.height = height;\n outrow.depth = depth;\n totalHeight += height;\n outrow.pos = totalHeight;\n totalHeight += depth + gap; // \\@yargarraycr\n\n body[r] = outrow; // Set a position for \\hline(s), if any.\n\n setHLinePos(hLinesBeforeRow[r + 1]);\n }\n\n const offset = totalHeight / 2 + options.fontMetrics().axisHeight;\n const colDescriptions = group.cols || [];\n const cols = [];\n let colSep;\n let colDescrNum;\n const tagSpans = [];\n\n if (group.tags && group.tags.some(tag => tag)) {\n // An environment with manual tags and/or automatic equation numbers.\n // Create node(s), the latter of which trigger CSS counter increment.\n for (r = 0; r < nr; ++r) {\n const rw = body[r];\n const shift = rw.pos - offset;\n const tag = group.tags[r];\n let tagSpan;\n\n if (tag === true) {\n // automatic numbering\n tagSpan = buildCommon.makeSpan([\"eqn-num\"], [], options);\n } else if (tag === false) {\n // \\nonumber/\\notag or starred environment\n tagSpan = buildCommon.makeSpan([], [], options);\n } else {\n // manual \\tag\n tagSpan = buildCommon.makeSpan([], buildExpression(tag, options, true), options);\n }\n\n tagSpan.depth = rw.depth;\n tagSpan.height = rw.height;\n tagSpans.push({\n type: \"elem\",\n elem: tagSpan,\n shift\n });\n }\n }\n\n for (c = 0, colDescrNum = 0; // Continue while either there are more columns or more column\n // descriptions, so trailing separators don't get lost.\n c < nc || colDescrNum < colDescriptions.length; ++c, ++colDescrNum) {\n let colDescr = colDescriptions[colDescrNum] || {};\n let firstSeparator = true;\n\n while (colDescr.type === \"separator\") {\n // If there is more than one separator in a row, add a space\n // between them.\n if (!firstSeparator) {\n colSep = buildCommon.makeSpan([\"arraycolsep\"], []);\n colSep.style.width = makeEm(options.fontMetrics().doubleRuleSep);\n cols.push(colSep);\n }\n\n if (colDescr.separator === \"|\" || colDescr.separator === \":\") {\n const lineType = colDescr.separator === \"|\" ? \"solid\" : \"dashed\";\n const separator = buildCommon.makeSpan([\"vertical-separator\"], [], options);\n separator.style.height = makeEm(totalHeight);\n separator.style.borderRightWidth = makeEm(ruleThickness);\n separator.style.borderRightStyle = lineType;\n separator.style.margin = \"0 \" + makeEm(-ruleThickness / 2);\n const shift = totalHeight - offset;\n\n if (shift) {\n separator.style.verticalAlign = makeEm(-shift);\n }\n\n cols.push(separator);\n } else {\n throw new src_ParseError(\"Invalid separator type: \" + colDescr.separator);\n }\n\n colDescrNum++;\n colDescr = colDescriptions[colDescrNum] || {};\n firstSeparator = false;\n }\n\n if (c >= nc) {\n continue;\n }\n\n let sepwidth;\n\n if (c > 0 || group.hskipBeforeAndAfter) {\n sepwidth = utils.deflt(colDescr.pregap, arraycolsep);\n\n if (sepwidth !== 0) {\n colSep = buildCommon.makeSpan([\"arraycolsep\"], []);\n colSep.style.width = makeEm(sepwidth);\n cols.push(colSep);\n }\n }\n\n let col = [];\n\n for (r = 0; r < nr; ++r) {\n const row = body[r];\n const elem = row[c];\n\n if (!elem) {\n continue;\n }\n\n const shift = row.pos - offset;\n elem.depth = row.depth;\n elem.height = row.height;\n col.push({\n type: \"elem\",\n elem: elem,\n shift: shift\n });\n }\n\n col = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: col\n }, options);\n col = buildCommon.makeSpan([\"col-align-\" + (colDescr.align || \"c\")], [col]);\n cols.push(col);\n\n if (c < nc - 1 || group.hskipBeforeAndAfter) {\n sepwidth = utils.deflt(colDescr.postgap, arraycolsep);\n\n if (sepwidth !== 0) {\n colSep = buildCommon.makeSpan([\"arraycolsep\"], []);\n colSep.style.width = makeEm(sepwidth);\n cols.push(colSep);\n }\n }\n }\n\n body = buildCommon.makeSpan([\"mtable\"], cols); // Add \\hline(s), if any.\n\n if (hlines.length > 0) {\n const line = buildCommon.makeLineSpan(\"hline\", options, ruleThickness);\n const dashes = buildCommon.makeLineSpan(\"hdashline\", options, ruleThickness);\n const vListElems = [{\n type: \"elem\",\n elem: body,\n shift: 0\n }];\n\n while (hlines.length > 0) {\n const hline = hlines.pop();\n const lineShift = hline.pos - offset;\n\n if (hline.isDashed) {\n vListElems.push({\n type: \"elem\",\n elem: dashes,\n shift: lineShift\n });\n } else {\n vListElems.push({\n type: \"elem\",\n elem: line,\n shift: lineShift\n });\n }\n }\n\n body = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: vListElems\n }, options);\n }\n\n if (tagSpans.length === 0) {\n return buildCommon.makeSpan([\"mord\"], [body], options);\n } else {\n let eqnNumCol = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: tagSpans\n }, options);\n eqnNumCol = buildCommon.makeSpan([\"tag\"], [eqnNumCol], options);\n return buildCommon.makeFragment([body, eqnNumCol]);\n }\n};\n\nconst alignMap = {\n c: \"center \",\n l: \"left \",\n r: \"right \"\n};\n\nconst array_mathmlBuilder = function (group, options) {\n const tbl = [];\n const glue = new mathMLTree.MathNode(\"mtd\", [], [\"mtr-glue\"]);\n const tag = new mathMLTree.MathNode(\"mtd\", [], [\"mml-eqn-num\"]);\n\n for (let i = 0; i < group.body.length; i++) {\n const rw = group.body[i];\n const row = [];\n\n for (let j = 0; j < rw.length; j++) {\n row.push(new mathMLTree.MathNode(\"mtd\", [buildMathML_buildGroup(rw[j], options)]));\n }\n\n if (group.tags && group.tags[i]) {\n row.unshift(glue);\n row.push(glue);\n\n if (group.leqno) {\n row.unshift(tag);\n } else {\n row.push(tag);\n }\n }\n\n tbl.push(new mathMLTree.MathNode(\"mtr\", row));\n }\n\n let table = new mathMLTree.MathNode(\"mtable\", tbl); // Set column alignment, row spacing, column spacing, and\n // array lines by setting attributes on the table element.\n // Set the row spacing. In MathML, we specify a gap distance.\n // We do not use rowGap[] because MathML automatically increases\n // cell height with the height/depth of the element content.\n // LaTeX \\arraystretch multiplies the row baseline-to-baseline distance.\n // We simulate this by adding (arraystretch - 1)em to the gap. This\n // does a reasonable job of adjusting arrays containing 1 em tall content.\n // The 0.16 and 0.09 values are found empirically. They produce an array\n // similar to LaTeX and in which content does not interfere with \\hlines.\n\n const gap = group.arraystretch === 0.5 ? 0.1 // {smallmatrix}, {subarray}\n : 0.16 + group.arraystretch - 1 + (group.addJot ? 0.09 : 0);\n table.setAttribute(\"rowspacing\", makeEm(gap)); // MathML table lines go only between cells.\n // To place a line on an edge we'll use , if necessary.\n\n let menclose = \"\";\n let align = \"\";\n\n if (group.cols && group.cols.length > 0) {\n // Find column alignment, column spacing, and vertical lines.\n const cols = group.cols;\n let columnLines = \"\";\n let prevTypeWasAlign = false;\n let iStart = 0;\n let iEnd = cols.length;\n\n if (cols[0].type === \"separator\") {\n menclose += \"top \";\n iStart = 1;\n }\n\n if (cols[cols.length - 1].type === \"separator\") {\n menclose += \"bottom \";\n iEnd -= 1;\n }\n\n for (let i = iStart; i < iEnd; i++) {\n if (cols[i].type === \"align\") {\n align += alignMap[cols[i].align];\n\n if (prevTypeWasAlign) {\n columnLines += \"none \";\n }\n\n prevTypeWasAlign = true;\n } else if (cols[i].type === \"separator\") {\n // MathML accepts only single lines between cells.\n // So we read only the first of consecutive separators.\n if (prevTypeWasAlign) {\n columnLines += cols[i].separator === \"|\" ? \"solid \" : \"dashed \";\n prevTypeWasAlign = false;\n }\n }\n }\n\n table.setAttribute(\"columnalign\", align.trim());\n\n if (/[sd]/.test(columnLines)) {\n table.setAttribute(\"columnlines\", columnLines.trim());\n }\n } // Set column spacing.\n\n\n if (group.colSeparationType === \"align\") {\n const cols = group.cols || [];\n let spacing = \"\";\n\n for (let i = 1; i < cols.length; i++) {\n spacing += i % 2 ? \"0em \" : \"1em \";\n }\n\n table.setAttribute(\"columnspacing\", spacing.trim());\n } else if (group.colSeparationType === \"alignat\" || group.colSeparationType === \"gather\") {\n table.setAttribute(\"columnspacing\", \"0em\");\n } else if (group.colSeparationType === \"small\") {\n table.setAttribute(\"columnspacing\", \"0.2778em\");\n } else if (group.colSeparationType === \"CD\") {\n table.setAttribute(\"columnspacing\", \"0.5em\");\n } else {\n table.setAttribute(\"columnspacing\", \"1em\");\n } // Address \\hline and \\hdashline\n\n\n let rowLines = \"\";\n const hlines = group.hLinesBeforeRow;\n menclose += hlines[0].length > 0 ? \"left \" : \"\";\n menclose += hlines[hlines.length - 1].length > 0 ? \"right \" : \"\";\n\n for (let i = 1; i < hlines.length - 1; i++) {\n rowLines += hlines[i].length === 0 ? \"none \" // MathML accepts only a single line between rows. Read one element.\n : hlines[i][0] ? \"dashed \" : \"solid \";\n }\n\n if (/[sd]/.test(rowLines)) {\n table.setAttribute(\"rowlines\", rowLines.trim());\n }\n\n if (menclose !== \"\") {\n table = new mathMLTree.MathNode(\"menclose\", [table]);\n table.setAttribute(\"notation\", menclose.trim());\n }\n\n if (group.arraystretch && group.arraystretch < 1) {\n // A small array. Wrap in scriptstyle so row gap is not too large.\n table = new mathMLTree.MathNode(\"mstyle\", [table]);\n table.setAttribute(\"scriptlevel\", \"1\");\n }\n\n return table;\n}; // Convenience function for align, align*, aligned, alignat, alignat*, alignedat.\n\n\nconst alignedHandler = function (context, args) {\n if (context.envName.indexOf(\"ed\") === -1) {\n validateAmsEnvironmentContext(context);\n }\n\n const cols = [];\n const separationType = context.envName.indexOf(\"at\") > -1 ? \"alignat\" : \"align\";\n const isSplit = context.envName === \"split\";\n const res = parseArray(context.parser, {\n cols,\n addJot: true,\n autoTag: isSplit ? undefined : getAutoTag(context.envName),\n emptySingleRow: true,\n colSeparationType: separationType,\n maxNumCols: isSplit ? 2 : undefined,\n leqno: context.parser.settings.leqno\n }, \"display\"); // Determining number of columns.\n // 1. If the first argument is given, we use it as a number of columns,\n // and makes sure that each row doesn't exceed that number.\n // 2. Otherwise, just count number of columns = maximum number\n // of cells in each row (\"aligned\" mode -- isAligned will be true).\n //\n // At the same time, prepend empty group {} at beginning of every second\n // cell in each row (starting with second cell) so that operators become\n // binary. This behavior is implemented in amsmath's \\start@aligned.\n\n let numMaths;\n let numCols = 0;\n const emptyGroup = {\n type: \"ordgroup\",\n mode: context.mode,\n body: []\n };\n\n if (args[0] && args[0].type === \"ordgroup\") {\n let arg0 = \"\";\n\n for (let i = 0; i < args[0].body.length; i++) {\n const textord = assertNodeType(args[0].body[i], \"textord\");\n arg0 += textord.text;\n }\n\n numMaths = Number(arg0);\n numCols = numMaths * 2;\n }\n\n const isAligned = !numCols;\n res.body.forEach(function (row) {\n for (let i = 1; i < row.length; i += 2) {\n // Modify ordgroup node within styling node\n const styling = assertNodeType(row[i], \"styling\");\n const ordgroup = assertNodeType(styling.body[0], \"ordgroup\");\n ordgroup.body.unshift(emptyGroup);\n }\n\n if (!isAligned) {\n // Case 1\n const curMaths = row.length / 2;\n\n if (numMaths < curMaths) {\n throw new src_ParseError(\"Too many math in a row: \" + (\"expected \" + numMaths + \", but got \" + curMaths), row[0]);\n }\n } else if (numCols < row.length) {\n // Case 2\n numCols = row.length;\n }\n }); // Adjusting alignment.\n // In aligned mode, we add one \\qquad between columns;\n // otherwise we add nothing.\n\n for (let i = 0; i < numCols; ++i) {\n let align = \"r\";\n let pregap = 0;\n\n if (i % 2 === 1) {\n align = \"l\";\n } else if (i > 0 && isAligned) {\n // \"aligned\" mode.\n pregap = 1; // add one \\quad\n }\n\n cols[i] = {\n type: \"align\",\n align: align,\n pregap: pregap,\n postgap: 0\n };\n }\n\n res.colSeparationType = isAligned ? \"align\" : \"alignat\";\n return res;\n}; // Arrays are part of LaTeX, defined in lttab.dtx so its documentation\n// is part of the source2e.pdf file of LaTeX2e source documentation.\n// {darray} is an {array} environment where cells are set in \\displaystyle,\n// as defined in nccmath.sty.\n\n\ndefineEnvironment({\n type: \"array\",\n names: [\"array\", \"darray\"],\n props: {\n numArgs: 1\n },\n\n handler(context, args) {\n // Since no types are specified above, the two possibilities are\n // - The argument is wrapped in {} or [], in which case Parser's\n // parseGroup() returns an \"ordgroup\" wrapping some symbol node.\n // - The argument is a bare symbol node.\n const symNode = checkSymbolNodeType(args[0]);\n const colalign = symNode ? [args[0]] : assertNodeType(args[0], \"ordgroup\").body;\n const cols = colalign.map(function (nde) {\n const node = assertSymbolNodeType(nde);\n const ca = node.text;\n\n if (\"lcr\".indexOf(ca) !== -1) {\n return {\n type: \"align\",\n align: ca\n };\n } else if (ca === \"|\") {\n return {\n type: \"separator\",\n separator: \"|\"\n };\n } else if (ca === \":\") {\n return {\n type: \"separator\",\n separator: \":\"\n };\n }\n\n throw new src_ParseError(\"Unknown column alignment: \" + ca, nde);\n });\n const res = {\n cols,\n hskipBeforeAndAfter: true,\n // \\@preamble in lttab.dtx\n maxNumCols: cols.length\n };\n return parseArray(context.parser, res, dCellStyle(context.envName));\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n}); // The matrix environments of amsmath builds on the array environment\n// of LaTeX, which is discussed above.\n// The mathtools package adds starred versions of the same environments.\n// These have an optional argument to choose left|center|right justification.\n\ndefineEnvironment({\n type: \"array\",\n names: [\"matrix\", \"pmatrix\", \"bmatrix\", \"Bmatrix\", \"vmatrix\", \"Vmatrix\", \"matrix*\", \"pmatrix*\", \"bmatrix*\", \"Bmatrix*\", \"vmatrix*\", \"Vmatrix*\"],\n props: {\n numArgs: 0\n },\n\n handler(context) {\n const delimiters = {\n \"matrix\": null,\n \"pmatrix\": [\"(\", \")\"],\n \"bmatrix\": [\"[\", \"]\"],\n \"Bmatrix\": [\"\\\\{\", \"\\\\}\"],\n \"vmatrix\": [\"|\", \"|\"],\n \"Vmatrix\": [\"\\\\Vert\", \"\\\\Vert\"]\n }[context.envName.replace(\"*\", \"\")]; // \\hskip -\\arraycolsep in amsmath\n\n let colAlign = \"c\";\n const payload = {\n hskipBeforeAndAfter: false,\n cols: [{\n type: \"align\",\n align: colAlign\n }]\n };\n\n if (context.envName.charAt(context.envName.length - 1) === \"*\") {\n // It's one of the mathtools starred functions.\n // Parse the optional alignment argument.\n const parser = context.parser;\n parser.consumeSpaces();\n\n if (parser.fetch().text === \"[\") {\n parser.consume();\n parser.consumeSpaces();\n colAlign = parser.fetch().text;\n\n if (\"lcr\".indexOf(colAlign) === -1) {\n throw new src_ParseError(\"Expected l or c or r\", parser.nextToken);\n }\n\n parser.consume();\n parser.consumeSpaces();\n parser.expect(\"]\");\n parser.consume();\n payload.cols = [{\n type: \"align\",\n align: colAlign\n }];\n }\n }\n\n const res = parseArray(context.parser, payload, dCellStyle(context.envName)); // Populate cols with the correct number of column alignment specs.\n\n const numCols = Math.max(0, ...res.body.map(row => row.length));\n res.cols = new Array(numCols).fill({\n type: \"align\",\n align: colAlign\n });\n return delimiters ? {\n type: \"leftright\",\n mode: context.mode,\n body: [res],\n left: delimiters[0],\n right: delimiters[1],\n rightColor: undefined // \\right uninfluenced by \\color in array\n\n } : res;\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n});\ndefineEnvironment({\n type: \"array\",\n names: [\"smallmatrix\"],\n props: {\n numArgs: 0\n },\n\n handler(context) {\n const payload = {\n arraystretch: 0.5\n };\n const res = parseArray(context.parser, payload, \"script\");\n res.colSeparationType = \"small\";\n return res;\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n});\ndefineEnvironment({\n type: \"array\",\n names: [\"subarray\"],\n props: {\n numArgs: 1\n },\n\n handler(context, args) {\n // Parsing of {subarray} is similar to {array}\n const symNode = checkSymbolNodeType(args[0]);\n const colalign = symNode ? [args[0]] : assertNodeType(args[0], \"ordgroup\").body;\n const cols = colalign.map(function (nde) {\n const node = assertSymbolNodeType(nde);\n const ca = node.text; // {subarray} only recognizes \"l\" & \"c\"\n\n if (\"lc\".indexOf(ca) !== -1) {\n return {\n type: \"align\",\n align: ca\n };\n }\n\n throw new src_ParseError(\"Unknown column alignment: \" + ca, nde);\n });\n\n if (cols.length > 1) {\n throw new src_ParseError(\"{subarray} can contain only one column\");\n }\n\n let res = {\n cols,\n hskipBeforeAndAfter: false,\n arraystretch: 0.5\n };\n res = parseArray(context.parser, res, \"script\");\n\n if (res.body.length > 0 && res.body[0].length > 1) {\n throw new src_ParseError(\"{subarray} can contain only one column\");\n }\n\n return res;\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n}); // A cases environment (in amsmath.sty) is almost equivalent to\n// \\def\\arraystretch{1.2}%\n// \\left\\{\\begin{array}{@{}l@{\\quad}l@{}} … \\end{array}\\right.\n// {dcases} is a {cases} environment where cells are set in \\displaystyle,\n// as defined in mathtools.sty.\n// {rcases} is another mathtools environment. It's brace is on the right side.\n\ndefineEnvironment({\n type: \"array\",\n names: [\"cases\", \"dcases\", \"rcases\", \"drcases\"],\n props: {\n numArgs: 0\n },\n\n handler(context) {\n const payload = {\n arraystretch: 1.2,\n cols: [{\n type: \"align\",\n align: \"l\",\n pregap: 0,\n // TODO(kevinb) get the current style.\n // For now we use the metrics for TEXT style which is what we were\n // doing before. Before attempting to get the current style we\n // should look at TeX's behavior especially for \\over and matrices.\n postgap: 1.0\n /* 1em quad */\n\n }, {\n type: \"align\",\n align: \"l\",\n pregap: 0,\n postgap: 0\n }]\n };\n const res = parseArray(context.parser, payload, dCellStyle(context.envName));\n return {\n type: \"leftright\",\n mode: context.mode,\n body: [res],\n left: context.envName.indexOf(\"r\") > -1 ? \".\" : \"\\\\{\",\n right: context.envName.indexOf(\"r\") > -1 ? \"\\\\}\" : \".\",\n rightColor: undefined\n };\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n}); // In the align environment, one uses ampersands, &, to specify number of\n// columns in each row, and to locate spacing between each column.\n// align gets automatic numbering. align* and aligned do not.\n// The alignedat environment can be used in math mode.\n// Note that we assume \\nomallineskiplimit to be zero,\n// so that \\strut@ is the same as \\strut.\n\ndefineEnvironment({\n type: \"array\",\n names: [\"align\", \"align*\", \"aligned\", \"split\"],\n props: {\n numArgs: 0\n },\n handler: alignedHandler,\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n}); // A gathered environment is like an array environment with one centered\n// column, but where rows are considered lines so get \\jot line spacing\n// and contents are set in \\displaystyle.\n\ndefineEnvironment({\n type: \"array\",\n names: [\"gathered\", \"gather\", \"gather*\"],\n props: {\n numArgs: 0\n },\n\n handler(context) {\n if (utils.contains([\"gather\", \"gather*\"], context.envName)) {\n validateAmsEnvironmentContext(context);\n }\n\n const res = {\n cols: [{\n type: \"align\",\n align: \"c\"\n }],\n addJot: true,\n colSeparationType: \"gather\",\n autoTag: getAutoTag(context.envName),\n emptySingleRow: true,\n leqno: context.parser.settings.leqno\n };\n return parseArray(context.parser, res, \"display\");\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n}); // alignat environment is like an align environment, but one must explicitly\n// specify maximum number of columns in each row, and can adjust spacing between\n// each columns.\n\ndefineEnvironment({\n type: \"array\",\n names: [\"alignat\", \"alignat*\", \"alignedat\"],\n props: {\n numArgs: 1\n },\n handler: alignedHandler,\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n});\ndefineEnvironment({\n type: \"array\",\n names: [\"equation\", \"equation*\"],\n props: {\n numArgs: 0\n },\n\n handler(context) {\n validateAmsEnvironmentContext(context);\n const res = {\n autoTag: getAutoTag(context.envName),\n emptySingleRow: true,\n singleRow: true,\n maxNumCols: 1,\n leqno: context.parser.settings.leqno\n };\n return parseArray(context.parser, res, \"display\");\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n});\ndefineEnvironment({\n type: \"array\",\n names: [\"CD\"],\n props: {\n numArgs: 0\n },\n\n handler(context) {\n validateAmsEnvironmentContext(context);\n return parseCD(context.parser);\n },\n\n htmlBuilder: array_htmlBuilder,\n mathmlBuilder: array_mathmlBuilder\n});\ndefineMacro(\"\\\\nonumber\", \"\\\\gdef\\\\@eqnsw{0}\");\ndefineMacro(\"\\\\notag\", \"\\\\nonumber\"); // Catch \\hline outside array environment\n\ndefineFunction({\n type: \"text\",\n // Doesn't matter what this is.\n names: [\"\\\\hline\", \"\\\\hdashline\"],\n props: {\n numArgs: 0,\n allowedInText: true,\n allowedInMath: true\n },\n\n handler(context, args) {\n throw new src_ParseError(context.funcName + \" valid only within array environment\");\n }\n\n});\n;// CONCATENATED MODULE: ./src/environments.js\n\nconst environments = _environments;\n/* harmony default export */ var src_environments = (environments); // All environment definitions should be imported below\n\n\n;// CONCATENATED MODULE: ./src/functions/environment.js\n\n\n\n // Environment delimiters. HTML/MathML rendering is defined in the corresponding\n// defineEnvironment definitions.\n\ndefineFunction({\n type: \"environment\",\n names: [\"\\\\begin\", \"\\\\end\"],\n props: {\n numArgs: 1,\n argTypes: [\"text\"]\n },\n\n handler(_ref, args) {\n let {\n parser,\n funcName\n } = _ref;\n const nameGroup = args[0];\n\n if (nameGroup.type !== \"ordgroup\") {\n throw new src_ParseError(\"Invalid environment name\", nameGroup);\n }\n\n let envName = \"\";\n\n for (let i = 0; i < nameGroup.body.length; ++i) {\n envName += assertNodeType(nameGroup.body[i], \"textord\").text;\n }\n\n if (funcName === \"\\\\begin\") {\n // begin...end is similar to left...right\n if (!src_environments.hasOwnProperty(envName)) {\n throw new src_ParseError(\"No such environment: \" + envName, nameGroup);\n } // Build the environment object. Arguments and other information will\n // be made available to the begin and end methods using properties.\n\n\n const env = src_environments[envName];\n const {\n args,\n optArgs\n } = parser.parseArguments(\"\\\\begin{\" + envName + \"}\", env);\n const context = {\n mode: parser.mode,\n envName,\n parser\n };\n const result = env.handler(context, args, optArgs);\n parser.expect(\"\\\\end\", false);\n const endNameToken = parser.nextToken;\n const end = assertNodeType(parser.parseFunction(), \"environment\");\n\n if (end.name !== envName) {\n throw new src_ParseError(\"Mismatch: \\\\begin{\" + envName + \"} matched by \\\\end{\" + end.name + \"}\", endNameToken);\n } // $FlowFixMe, \"environment\" handler returns an environment ParseNode\n\n\n return result;\n }\n\n return {\n type: \"environment\",\n mode: parser.mode,\n name: envName,\n nameGroup\n };\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/font.js\n// TODO(kevinb): implement \\\\sl and \\\\sc\n\n\n\n\n\n\nconst font_htmlBuilder = (group, options) => {\n const font = group.font;\n const newOptions = options.withFont(font);\n return buildGroup(group.body, newOptions);\n};\n\nconst font_mathmlBuilder = (group, options) => {\n const font = group.font;\n const newOptions = options.withFont(font);\n return buildMathML_buildGroup(group.body, newOptions);\n};\n\nconst fontAliases = {\n \"\\\\Bbb\": \"\\\\mathbb\",\n \"\\\\bold\": \"\\\\mathbf\",\n \"\\\\frak\": \"\\\\mathfrak\",\n \"\\\\bm\": \"\\\\boldsymbol\"\n};\ndefineFunction({\n type: \"font\",\n names: [// styles, except \\boldsymbol defined below\n \"\\\\mathrm\", \"\\\\mathit\", \"\\\\mathbf\", \"\\\\mathnormal\", // families\n \"\\\\mathbb\", \"\\\\mathcal\", \"\\\\mathfrak\", \"\\\\mathscr\", \"\\\\mathsf\", \"\\\\mathtt\", // aliases, except \\bm defined below\n \"\\\\Bbb\", \"\\\\bold\", \"\\\\frak\"],\n props: {\n numArgs: 1,\n allowedInArgument: true\n },\n handler: (_ref, args) => {\n let {\n parser,\n funcName\n } = _ref;\n const body = normalizeArgument(args[0]);\n let func = funcName;\n\n if (func in fontAliases) {\n func = fontAliases[func];\n }\n\n return {\n type: \"font\",\n mode: parser.mode,\n font: func.slice(1),\n body\n };\n },\n htmlBuilder: font_htmlBuilder,\n mathmlBuilder: font_mathmlBuilder\n});\ndefineFunction({\n type: \"mclass\",\n names: [\"\\\\boldsymbol\", \"\\\\bm\"],\n props: {\n numArgs: 1\n },\n handler: (_ref2, args) => {\n let {\n parser\n } = _ref2;\n const body = args[0];\n const isCharacterBox = utils.isCharacterBox(body); // amsbsy.sty's \\boldsymbol uses \\binrel spacing to inherit the\n // argument's bin|rel|ord status\n\n return {\n type: \"mclass\",\n mode: parser.mode,\n mclass: binrelClass(body),\n body: [{\n type: \"font\",\n mode: parser.mode,\n font: \"boldsymbol\",\n body\n }],\n isCharacterBox: isCharacterBox\n };\n }\n}); // Old font changing functions\n\ndefineFunction({\n type: \"font\",\n names: [\"\\\\rm\", \"\\\\sf\", \"\\\\tt\", \"\\\\bf\", \"\\\\it\", \"\\\\cal\"],\n props: {\n numArgs: 0,\n allowedInText: true\n },\n handler: (_ref3, args) => {\n let {\n parser,\n funcName,\n breakOnTokenText\n } = _ref3;\n const {\n mode\n } = parser;\n const body = parser.parseExpression(true, breakOnTokenText);\n const style = \"math\" + funcName.slice(1);\n return {\n type: \"font\",\n mode: mode,\n font: style,\n body: {\n type: \"ordgroup\",\n mode: parser.mode,\n body\n }\n };\n },\n htmlBuilder: font_htmlBuilder,\n mathmlBuilder: font_mathmlBuilder\n});\n;// CONCATENATED MODULE: ./src/functions/genfrac.js\n\n\n\n\n\n\n\n\n\n\n\nconst adjustStyle = (size, originalStyle) => {\n // Figure out what style this fraction should be in based on the\n // function used\n let style = originalStyle;\n\n if (size === \"display\") {\n // Get display style as a default.\n // If incoming style is sub/sup, use style.text() to get correct size.\n style = style.id >= src_Style.SCRIPT.id ? style.text() : src_Style.DISPLAY;\n } else if (size === \"text\" && style.size === src_Style.DISPLAY.size) {\n // We're in a \\tfrac but incoming style is displaystyle, so:\n style = src_Style.TEXT;\n } else if (size === \"script\") {\n style = src_Style.SCRIPT;\n } else if (size === \"scriptscript\") {\n style = src_Style.SCRIPTSCRIPT;\n }\n\n return style;\n};\n\nconst genfrac_htmlBuilder = (group, options) => {\n // Fractions are handled in the TeXbook on pages 444-445, rules 15(a-e).\n const style = adjustStyle(group.size, options.style);\n const nstyle = style.fracNum();\n const dstyle = style.fracDen();\n let newOptions;\n newOptions = options.havingStyle(nstyle);\n const numerm = buildGroup(group.numer, newOptions, options);\n\n if (group.continued) {\n // \\cfrac inserts a \\strut into the numerator.\n // Get \\strut dimensions from TeXbook page 353.\n const hStrut = 8.5 / options.fontMetrics().ptPerEm;\n const dStrut = 3.5 / options.fontMetrics().ptPerEm;\n numerm.height = numerm.height < hStrut ? hStrut : numerm.height;\n numerm.depth = numerm.depth < dStrut ? dStrut : numerm.depth;\n }\n\n newOptions = options.havingStyle(dstyle);\n const denomm = buildGroup(group.denom, newOptions, options);\n let rule;\n let ruleWidth;\n let ruleSpacing;\n\n if (group.hasBarLine) {\n if (group.barSize) {\n ruleWidth = calculateSize(group.barSize, options);\n rule = buildCommon.makeLineSpan(\"frac-line\", options, ruleWidth);\n } else {\n rule = buildCommon.makeLineSpan(\"frac-line\", options);\n }\n\n ruleWidth = rule.height;\n ruleSpacing = rule.height;\n } else {\n rule = null;\n ruleWidth = 0;\n ruleSpacing = options.fontMetrics().defaultRuleThickness;\n } // Rule 15b\n\n\n let numShift;\n let clearance;\n let denomShift;\n\n if (style.size === src_Style.DISPLAY.size || group.size === \"display\") {\n numShift = options.fontMetrics().num1;\n\n if (ruleWidth > 0) {\n clearance = 3 * ruleSpacing;\n } else {\n clearance = 7 * ruleSpacing;\n }\n\n denomShift = options.fontMetrics().denom1;\n } else {\n if (ruleWidth > 0) {\n numShift = options.fontMetrics().num2;\n clearance = ruleSpacing;\n } else {\n numShift = options.fontMetrics().num3;\n clearance = 3 * ruleSpacing;\n }\n\n denomShift = options.fontMetrics().denom2;\n }\n\n let frac;\n\n if (!rule) {\n // Rule 15c\n const candidateClearance = numShift - numerm.depth - (denomm.height - denomShift);\n\n if (candidateClearance < clearance) {\n numShift += 0.5 * (clearance - candidateClearance);\n denomShift += 0.5 * (clearance - candidateClearance);\n }\n\n frac = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [{\n type: \"elem\",\n elem: denomm,\n shift: denomShift\n }, {\n type: \"elem\",\n elem: numerm,\n shift: -numShift\n }]\n }, options);\n } else {\n // Rule 15d\n const axisHeight = options.fontMetrics().axisHeight;\n\n if (numShift - numerm.depth - (axisHeight + 0.5 * ruleWidth) < clearance) {\n numShift += clearance - (numShift - numerm.depth - (axisHeight + 0.5 * ruleWidth));\n }\n\n if (axisHeight - 0.5 * ruleWidth - (denomm.height - denomShift) < clearance) {\n denomShift += clearance - (axisHeight - 0.5 * ruleWidth - (denomm.height - denomShift));\n }\n\n const midShift = -(axisHeight - 0.5 * ruleWidth);\n frac = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [{\n type: \"elem\",\n elem: denomm,\n shift: denomShift\n }, {\n type: \"elem\",\n elem: rule,\n shift: midShift\n }, {\n type: \"elem\",\n elem: numerm,\n shift: -numShift\n }]\n }, options);\n } // Since we manually change the style sometimes (with \\dfrac or \\tfrac),\n // account for the possible size change here.\n\n\n newOptions = options.havingStyle(style);\n frac.height *= newOptions.sizeMultiplier / options.sizeMultiplier;\n frac.depth *= newOptions.sizeMultiplier / options.sizeMultiplier; // Rule 15e\n\n let delimSize;\n\n if (style.size === src_Style.DISPLAY.size) {\n delimSize = options.fontMetrics().delim1;\n } else if (style.size === src_Style.SCRIPTSCRIPT.size) {\n delimSize = options.havingStyle(src_Style.SCRIPT).fontMetrics().delim2;\n } else {\n delimSize = options.fontMetrics().delim2;\n }\n\n let leftDelim;\n let rightDelim;\n\n if (group.leftDelim == null) {\n leftDelim = makeNullDelimiter(options, [\"mopen\"]);\n } else {\n leftDelim = delimiter.customSizedDelim(group.leftDelim, delimSize, true, options.havingStyle(style), group.mode, [\"mopen\"]);\n }\n\n if (group.continued) {\n rightDelim = buildCommon.makeSpan([]); // zero width for \\cfrac\n } else if (group.rightDelim == null) {\n rightDelim = makeNullDelimiter(options, [\"mclose\"]);\n } else {\n rightDelim = delimiter.customSizedDelim(group.rightDelim, delimSize, true, options.havingStyle(style), group.mode, [\"mclose\"]);\n }\n\n return buildCommon.makeSpan([\"mord\"].concat(newOptions.sizingClasses(options)), [leftDelim, buildCommon.makeSpan([\"mfrac\"], [frac]), rightDelim], options);\n};\n\nconst genfrac_mathmlBuilder = (group, options) => {\n let node = new mathMLTree.MathNode(\"mfrac\", [buildMathML_buildGroup(group.numer, options), buildMathML_buildGroup(group.denom, options)]);\n\n if (!group.hasBarLine) {\n node.setAttribute(\"linethickness\", \"0px\");\n } else if (group.barSize) {\n const ruleWidth = calculateSize(group.barSize, options);\n node.setAttribute(\"linethickness\", makeEm(ruleWidth));\n }\n\n const style = adjustStyle(group.size, options.style);\n\n if (style.size !== options.style.size) {\n node = new mathMLTree.MathNode(\"mstyle\", [node]);\n const isDisplay = style.size === src_Style.DISPLAY.size ? \"true\" : \"false\";\n node.setAttribute(\"displaystyle\", isDisplay);\n node.setAttribute(\"scriptlevel\", \"0\");\n }\n\n if (group.leftDelim != null || group.rightDelim != null) {\n const withDelims = [];\n\n if (group.leftDelim != null) {\n const leftOp = new mathMLTree.MathNode(\"mo\", [new mathMLTree.TextNode(group.leftDelim.replace(\"\\\\\", \"\"))]);\n leftOp.setAttribute(\"fence\", \"true\");\n withDelims.push(leftOp);\n }\n\n withDelims.push(node);\n\n if (group.rightDelim != null) {\n const rightOp = new mathMLTree.MathNode(\"mo\", [new mathMLTree.TextNode(group.rightDelim.replace(\"\\\\\", \"\"))]);\n rightOp.setAttribute(\"fence\", \"true\");\n withDelims.push(rightOp);\n }\n\n return makeRow(withDelims);\n }\n\n return node;\n};\n\ndefineFunction({\n type: \"genfrac\",\n names: [\"\\\\dfrac\", \"\\\\frac\", \"\\\\tfrac\", \"\\\\dbinom\", \"\\\\binom\", \"\\\\tbinom\", \"\\\\\\\\atopfrac\", // can’t be entered directly\n \"\\\\\\\\bracefrac\", \"\\\\\\\\brackfrac\" // ditto\n ],\n props: {\n numArgs: 2,\n allowedInArgument: true\n },\n handler: (_ref, args) => {\n let {\n parser,\n funcName\n } = _ref;\n const numer = args[0];\n const denom = args[1];\n let hasBarLine;\n let leftDelim = null;\n let rightDelim = null;\n let size = \"auto\";\n\n switch (funcName) {\n case \"\\\\dfrac\":\n case \"\\\\frac\":\n case \"\\\\tfrac\":\n hasBarLine = true;\n break;\n\n case \"\\\\\\\\atopfrac\":\n hasBarLine = false;\n break;\n\n case \"\\\\dbinom\":\n case \"\\\\binom\":\n case \"\\\\tbinom\":\n hasBarLine = false;\n leftDelim = \"(\";\n rightDelim = \")\";\n break;\n\n case \"\\\\\\\\bracefrac\":\n hasBarLine = false;\n leftDelim = \"\\\\{\";\n rightDelim = \"\\\\}\";\n break;\n\n case \"\\\\\\\\brackfrac\":\n hasBarLine = false;\n leftDelim = \"[\";\n rightDelim = \"]\";\n break;\n\n default:\n throw new Error(\"Unrecognized genfrac command\");\n }\n\n switch (funcName) {\n case \"\\\\dfrac\":\n case \"\\\\dbinom\":\n size = \"display\";\n break;\n\n case \"\\\\tfrac\":\n case \"\\\\tbinom\":\n size = \"text\";\n break;\n }\n\n return {\n type: \"genfrac\",\n mode: parser.mode,\n continued: false,\n numer,\n denom,\n hasBarLine,\n leftDelim,\n rightDelim,\n size,\n barSize: null\n };\n },\n htmlBuilder: genfrac_htmlBuilder,\n mathmlBuilder: genfrac_mathmlBuilder\n});\ndefineFunction({\n type: \"genfrac\",\n names: [\"\\\\cfrac\"],\n props: {\n numArgs: 2\n },\n handler: (_ref2, args) => {\n let {\n parser,\n funcName\n } = _ref2;\n const numer = args[0];\n const denom = args[1];\n return {\n type: \"genfrac\",\n mode: parser.mode,\n continued: true,\n numer,\n denom,\n hasBarLine: true,\n leftDelim: null,\n rightDelim: null,\n size: \"display\",\n barSize: null\n };\n }\n}); // Infix generalized fractions -- these are not rendered directly, but replaced\n// immediately by one of the variants above.\n\ndefineFunction({\n type: \"infix\",\n names: [\"\\\\over\", \"\\\\choose\", \"\\\\atop\", \"\\\\brace\", \"\\\\brack\"],\n props: {\n numArgs: 0,\n infix: true\n },\n\n handler(_ref3) {\n let {\n parser,\n funcName,\n token\n } = _ref3;\n let replaceWith;\n\n switch (funcName) {\n case \"\\\\over\":\n replaceWith = \"\\\\frac\";\n break;\n\n case \"\\\\choose\":\n replaceWith = \"\\\\binom\";\n break;\n\n case \"\\\\atop\":\n replaceWith = \"\\\\\\\\atopfrac\";\n break;\n\n case \"\\\\brace\":\n replaceWith = \"\\\\\\\\bracefrac\";\n break;\n\n case \"\\\\brack\":\n replaceWith = \"\\\\\\\\brackfrac\";\n break;\n\n default:\n throw new Error(\"Unrecognized infix genfrac command\");\n }\n\n return {\n type: \"infix\",\n mode: parser.mode,\n replaceWith,\n token\n };\n }\n\n});\nconst stylArray = [\"display\", \"text\", \"script\", \"scriptscript\"];\n\nconst delimFromValue = function (delimString) {\n let delim = null;\n\n if (delimString.length > 0) {\n delim = delimString;\n delim = delim === \".\" ? null : delim;\n }\n\n return delim;\n};\n\ndefineFunction({\n type: \"genfrac\",\n names: [\"\\\\genfrac\"],\n props: {\n numArgs: 6,\n allowedInArgument: true,\n argTypes: [\"math\", \"math\", \"size\", \"text\", \"math\", \"math\"]\n },\n\n handler(_ref4, args) {\n let {\n parser\n } = _ref4;\n const numer = args[4];\n const denom = args[5]; // Look into the parse nodes to get the desired delimiters.\n\n const leftNode = normalizeArgument(args[0]);\n const leftDelim = leftNode.type === \"atom\" && leftNode.family === \"open\" ? delimFromValue(leftNode.text) : null;\n const rightNode = normalizeArgument(args[1]);\n const rightDelim = rightNode.type === \"atom\" && rightNode.family === \"close\" ? delimFromValue(rightNode.text) : null;\n const barNode = assertNodeType(args[2], \"size\");\n let hasBarLine;\n let barSize = null;\n\n if (barNode.isBlank) {\n // \\genfrac acts differently than \\above.\n // \\genfrac treats an empty size group as a signal to use a\n // standard bar size. \\above would see size = 0 and omit the bar.\n hasBarLine = true;\n } else {\n barSize = barNode.value;\n hasBarLine = barSize.number > 0;\n } // Find out if we want displaystyle, textstyle, etc.\n\n\n let size = \"auto\";\n let styl = args[3];\n\n if (styl.type === \"ordgroup\") {\n if (styl.body.length > 0) {\n const textOrd = assertNodeType(styl.body[0], \"textord\");\n size = stylArray[Number(textOrd.text)];\n }\n } else {\n styl = assertNodeType(styl, \"textord\");\n size = stylArray[Number(styl.text)];\n }\n\n return {\n type: \"genfrac\",\n mode: parser.mode,\n numer,\n denom,\n continued: false,\n hasBarLine,\n barSize,\n leftDelim,\n rightDelim,\n size\n };\n },\n\n htmlBuilder: genfrac_htmlBuilder,\n mathmlBuilder: genfrac_mathmlBuilder\n}); // \\above is an infix fraction that also defines a fraction bar size.\n\ndefineFunction({\n type: \"infix\",\n names: [\"\\\\above\"],\n props: {\n numArgs: 1,\n argTypes: [\"size\"],\n infix: true\n },\n\n handler(_ref5, args) {\n let {\n parser,\n funcName,\n token\n } = _ref5;\n return {\n type: \"infix\",\n mode: parser.mode,\n replaceWith: \"\\\\\\\\abovefrac\",\n size: assertNodeType(args[0], \"size\").value,\n token\n };\n }\n\n});\ndefineFunction({\n type: \"genfrac\",\n names: [\"\\\\\\\\abovefrac\"],\n props: {\n numArgs: 3,\n argTypes: [\"math\", \"size\", \"math\"]\n },\n handler: (_ref6, args) => {\n let {\n parser,\n funcName\n } = _ref6;\n const numer = args[0];\n const barSize = assert(assertNodeType(args[1], \"infix\").size);\n const denom = args[2];\n const hasBarLine = barSize.number > 0;\n return {\n type: \"genfrac\",\n mode: parser.mode,\n numer,\n denom,\n continued: false,\n hasBarLine,\n barSize,\n leftDelim: null,\n rightDelim: null,\n size: \"auto\"\n };\n },\n htmlBuilder: genfrac_htmlBuilder,\n mathmlBuilder: genfrac_mathmlBuilder\n});\n;// CONCATENATED MODULE: ./src/functions/horizBrace.js\n\n\n\n\n\n\n\n\n// NOTE: Unlike most `htmlBuilder`s, this one handles not only \"horizBrace\", but\n// also \"supsub\" since an over/underbrace can affect super/subscripting.\nconst horizBrace_htmlBuilder = (grp, options) => {\n const style = options.style; // Pull out the `ParseNode<\"horizBrace\">` if `grp` is a \"supsub\" node.\n\n let supSubGroup;\n let group;\n\n if (grp.type === \"supsub\") {\n // Ref: LaTeX source2e: }}}}\\limits}\n // i.e. LaTeX treats the brace similar to an op and passes it\n // with \\limits, so we need to assign supsub style.\n supSubGroup = grp.sup ? buildGroup(grp.sup, options.havingStyle(style.sup()), options) : buildGroup(grp.sub, options.havingStyle(style.sub()), options);\n group = assertNodeType(grp.base, \"horizBrace\");\n } else {\n group = assertNodeType(grp, \"horizBrace\");\n } // Build the base group\n\n\n const body = buildGroup(group.base, options.havingBaseStyle(src_Style.DISPLAY)); // Create the stretchy element\n\n const braceBody = stretchy.svgSpan(group, options); // Generate the vlist, with the appropriate kerns ┏━━━━━━━━┓\n // This first vlist contains the content and the brace: equation\n\n let vlist;\n\n if (group.isOver) {\n vlist = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: body\n }, {\n type: \"kern\",\n size: 0.1\n }, {\n type: \"elem\",\n elem: braceBody\n }]\n }, options); // $FlowFixMe: Replace this with passing \"svg-align\" into makeVList.\n\n vlist.children[0].children[0].children[1].classes.push(\"svg-align\");\n } else {\n vlist = buildCommon.makeVList({\n positionType: \"bottom\",\n positionData: body.depth + 0.1 + braceBody.height,\n children: [{\n type: \"elem\",\n elem: braceBody\n }, {\n type: \"kern\",\n size: 0.1\n }, {\n type: \"elem\",\n elem: body\n }]\n }, options); // $FlowFixMe: Replace this with passing \"svg-align\" into makeVList.\n\n vlist.children[0].children[0].children[0].classes.push(\"svg-align\");\n }\n\n if (supSubGroup) {\n // To write the supsub, wrap the first vlist in another vlist:\n // They can't all go in the same vlist, because the note might be\n // wider than the equation. We want the equation to control the\n // brace width.\n // note long note long note\n // ┏━━━━━━━━┓ or ┏━━━┓ not ┏━━━━━━━━━┓\n // equation eqn eqn\n const vSpan = buildCommon.makeSpan([\"mord\", group.isOver ? \"mover\" : \"munder\"], [vlist], options);\n\n if (group.isOver) {\n vlist = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: vSpan\n }, {\n type: \"kern\",\n size: 0.2\n }, {\n type: \"elem\",\n elem: supSubGroup\n }]\n }, options);\n } else {\n vlist = buildCommon.makeVList({\n positionType: \"bottom\",\n positionData: vSpan.depth + 0.2 + supSubGroup.height + supSubGroup.depth,\n children: [{\n type: \"elem\",\n elem: supSubGroup\n }, {\n type: \"kern\",\n size: 0.2\n }, {\n type: \"elem\",\n elem: vSpan\n }]\n }, options);\n }\n }\n\n return buildCommon.makeSpan([\"mord\", group.isOver ? \"mover\" : \"munder\"], [vlist], options);\n};\n\nconst horizBrace_mathmlBuilder = (group, options) => {\n const accentNode = stretchy.mathMLnode(group.label);\n return new mathMLTree.MathNode(group.isOver ? \"mover\" : \"munder\", [buildMathML_buildGroup(group.base, options), accentNode]);\n}; // Horizontal stretchy braces\n\n\ndefineFunction({\n type: \"horizBrace\",\n names: [\"\\\\overbrace\", \"\\\\underbrace\"],\n props: {\n numArgs: 1\n },\n\n handler(_ref, args) {\n let {\n parser,\n funcName\n } = _ref;\n return {\n type: \"horizBrace\",\n mode: parser.mode,\n label: funcName,\n isOver: /^\\\\over/.test(funcName),\n base: args[0]\n };\n },\n\n htmlBuilder: horizBrace_htmlBuilder,\n mathmlBuilder: horizBrace_mathmlBuilder\n});\n;// CONCATENATED MODULE: ./src/functions/href.js\n\n\n\n\n\n\ndefineFunction({\n type: \"href\",\n names: [\"\\\\href\"],\n props: {\n numArgs: 2,\n argTypes: [\"url\", \"original\"],\n allowedInText: true\n },\n handler: (_ref, args) => {\n let {\n parser\n } = _ref;\n const body = args[1];\n const href = assertNodeType(args[0], \"url\").url;\n\n if (!parser.settings.isTrusted({\n command: \"\\\\href\",\n url: href\n })) {\n return parser.formatUnsupportedCmd(\"\\\\href\");\n }\n\n return {\n type: \"href\",\n mode: parser.mode,\n href,\n body: ordargument(body)\n };\n },\n htmlBuilder: (group, options) => {\n const elements = buildExpression(group.body, options, false);\n return buildCommon.makeAnchor(group.href, [], elements, options);\n },\n mathmlBuilder: (group, options) => {\n let math = buildExpressionRow(group.body, options);\n\n if (!(math instanceof MathNode)) {\n math = new MathNode(\"mrow\", [math]);\n }\n\n math.setAttribute(\"href\", group.href);\n return math;\n }\n});\ndefineFunction({\n type: \"href\",\n names: [\"\\\\url\"],\n props: {\n numArgs: 1,\n argTypes: [\"url\"],\n allowedInText: true\n },\n handler: (_ref2, args) => {\n let {\n parser\n } = _ref2;\n const href = assertNodeType(args[0], \"url\").url;\n\n if (!parser.settings.isTrusted({\n command: \"\\\\url\",\n url: href\n })) {\n return parser.formatUnsupportedCmd(\"\\\\url\");\n }\n\n const chars = [];\n\n for (let i = 0; i < href.length; i++) {\n let c = href[i];\n\n if (c === \"~\") {\n c = \"\\\\textasciitilde\";\n }\n\n chars.push({\n type: \"textord\",\n mode: \"text\",\n text: c\n });\n }\n\n const body = {\n type: \"text\",\n mode: parser.mode,\n font: \"\\\\texttt\",\n body: chars\n };\n return {\n type: \"href\",\n mode: parser.mode,\n href,\n body: ordargument(body)\n };\n }\n});\n;// CONCATENATED MODULE: ./src/functions/hbox.js\n\n\n\n\n // \\hbox is provided for compatibility with LaTeX \\vcenter.\n// In LaTeX, \\vcenter can act only on a box, as in\n// \\vcenter{\\hbox{$\\frac{a+b}{\\dfrac{c}{d}}$}}\n// This function by itself doesn't do anything but prevent a soft line break.\n\ndefineFunction({\n type: \"hbox\",\n names: [\"\\\\hbox\"],\n props: {\n numArgs: 1,\n argTypes: [\"text\"],\n allowedInText: true,\n primitive: true\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n return {\n type: \"hbox\",\n mode: parser.mode,\n body: ordargument(args[0])\n };\n },\n\n htmlBuilder(group, options) {\n const elements = buildExpression(group.body, options, false);\n return buildCommon.makeFragment(elements);\n },\n\n mathmlBuilder(group, options) {\n return new mathMLTree.MathNode(\"mrow\", buildMathML_buildExpression(group.body, options));\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/html.js\n\n\n\n\n\n\ndefineFunction({\n type: \"html\",\n names: [\"\\\\htmlClass\", \"\\\\htmlId\", \"\\\\htmlStyle\", \"\\\\htmlData\"],\n props: {\n numArgs: 2,\n argTypes: [\"raw\", \"original\"],\n allowedInText: true\n },\n handler: (_ref, args) => {\n let {\n parser,\n funcName,\n token\n } = _ref;\n const value = assertNodeType(args[0], \"raw\").string;\n const body = args[1];\n\n if (parser.settings.strict) {\n parser.settings.reportNonstrict(\"htmlExtension\", \"HTML extension is disabled on strict mode\");\n }\n\n let trustContext;\n const attributes = {};\n\n switch (funcName) {\n case \"\\\\htmlClass\":\n attributes.class = value;\n trustContext = {\n command: \"\\\\htmlClass\",\n class: value\n };\n break;\n\n case \"\\\\htmlId\":\n attributes.id = value;\n trustContext = {\n command: \"\\\\htmlId\",\n id: value\n };\n break;\n\n case \"\\\\htmlStyle\":\n attributes.style = value;\n trustContext = {\n command: \"\\\\htmlStyle\",\n style: value\n };\n break;\n\n case \"\\\\htmlData\":\n {\n const data = value.split(\",\");\n\n for (let i = 0; i < data.length; i++) {\n const keyVal = data[i].split(\"=\");\n\n if (keyVal.length !== 2) {\n throw new src_ParseError(\"Error parsing key-value for \\\\htmlData\");\n }\n\n attributes[\"data-\" + keyVal[0].trim()] = keyVal[1].trim();\n }\n\n trustContext = {\n command: \"\\\\htmlData\",\n attributes\n };\n break;\n }\n\n default:\n throw new Error(\"Unrecognized html command\");\n }\n\n if (!parser.settings.isTrusted(trustContext)) {\n return parser.formatUnsupportedCmd(funcName);\n }\n\n return {\n type: \"html\",\n mode: parser.mode,\n attributes,\n body: ordargument(body)\n };\n },\n htmlBuilder: (group, options) => {\n const elements = buildExpression(group.body, options, false);\n const classes = [\"enclosing\"];\n\n if (group.attributes.class) {\n classes.push(...group.attributes.class.trim().split(/\\s+/));\n }\n\n const span = buildCommon.makeSpan(classes, elements, options);\n\n for (const attr in group.attributes) {\n if (attr !== \"class\" && group.attributes.hasOwnProperty(attr)) {\n span.setAttribute(attr, group.attributes[attr]);\n }\n }\n\n return span;\n },\n mathmlBuilder: (group, options) => {\n return buildExpressionRow(group.body, options);\n }\n});\n;// CONCATENATED MODULE: ./src/functions/htmlmathml.js\n\n\n\n\ndefineFunction({\n type: \"htmlmathml\",\n names: [\"\\\\html@mathml\"],\n props: {\n numArgs: 2,\n allowedInText: true\n },\n handler: (_ref, args) => {\n let {\n parser\n } = _ref;\n return {\n type: \"htmlmathml\",\n mode: parser.mode,\n html: ordargument(args[0]),\n mathml: ordargument(args[1])\n };\n },\n htmlBuilder: (group, options) => {\n const elements = buildExpression(group.html, options, false);\n return buildCommon.makeFragment(elements);\n },\n mathmlBuilder: (group, options) => {\n return buildExpressionRow(group.mathml, options);\n }\n});\n;// CONCATENATED MODULE: ./src/functions/includegraphics.js\n\n\n\n\n\n\n\nconst sizeData = function (str) {\n if (/^[-+]? *(\\d+(\\.\\d*)?|\\.\\d+)$/.test(str)) {\n // str is a number with no unit specified.\n // default unit is bp, per graphix package.\n return {\n number: +str,\n unit: \"bp\"\n };\n } else {\n const match = /([-+]?) *(\\d+(?:\\.\\d*)?|\\.\\d+) *([a-z]{2})/.exec(str);\n\n if (!match) {\n throw new src_ParseError(\"Invalid size: '\" + str + \"' in \\\\includegraphics\");\n }\n\n const data = {\n number: +(match[1] + match[2]),\n // sign + magnitude, cast to number\n unit: match[3]\n };\n\n if (!validUnit(data)) {\n throw new src_ParseError(\"Invalid unit: '\" + data.unit + \"' in \\\\includegraphics.\");\n }\n\n return data;\n }\n};\n\ndefineFunction({\n type: \"includegraphics\",\n names: [\"\\\\includegraphics\"],\n props: {\n numArgs: 1,\n numOptionalArgs: 1,\n argTypes: [\"raw\", \"url\"],\n allowedInText: false\n },\n handler: (_ref, args, optArgs) => {\n let {\n parser\n } = _ref;\n let width = {\n number: 0,\n unit: \"em\"\n };\n let height = {\n number: 0.9,\n unit: \"em\"\n }; // sorta character sized.\n\n let totalheight = {\n number: 0,\n unit: \"em\"\n };\n let alt = \"\";\n\n if (optArgs[0]) {\n const attributeStr = assertNodeType(optArgs[0], \"raw\").string; // Parser.js does not parse key/value pairs. We get a string.\n\n const attributes = attributeStr.split(\",\");\n\n for (let i = 0; i < attributes.length; i++) {\n const keyVal = attributes[i].split(\"=\");\n\n if (keyVal.length === 2) {\n const str = keyVal[1].trim();\n\n switch (keyVal[0].trim()) {\n case \"alt\":\n alt = str;\n break;\n\n case \"width\":\n width = sizeData(str);\n break;\n\n case \"height\":\n height = sizeData(str);\n break;\n\n case \"totalheight\":\n totalheight = sizeData(str);\n break;\n\n default:\n throw new src_ParseError(\"Invalid key: '\" + keyVal[0] + \"' in \\\\includegraphics.\");\n }\n }\n }\n }\n\n const src = assertNodeType(args[0], \"url\").url;\n\n if (alt === \"\") {\n // No alt given. Use the file name. Strip away the path.\n alt = src;\n alt = alt.replace(/^.*[\\\\/]/, '');\n alt = alt.substring(0, alt.lastIndexOf('.'));\n }\n\n if (!parser.settings.isTrusted({\n command: \"\\\\includegraphics\",\n url: src\n })) {\n return parser.formatUnsupportedCmd(\"\\\\includegraphics\");\n }\n\n return {\n type: \"includegraphics\",\n mode: parser.mode,\n alt: alt,\n width: width,\n height: height,\n totalheight: totalheight,\n src: src\n };\n },\n htmlBuilder: (group, options) => {\n const height = calculateSize(group.height, options);\n let depth = 0;\n\n if (group.totalheight.number > 0) {\n depth = calculateSize(group.totalheight, options) - height;\n }\n\n let width = 0;\n\n if (group.width.number > 0) {\n width = calculateSize(group.width, options);\n }\n\n const style = {\n height: makeEm(height + depth)\n };\n\n if (width > 0) {\n style.width = makeEm(width);\n }\n\n if (depth > 0) {\n style.verticalAlign = makeEm(-depth);\n }\n\n const node = new Img(group.src, group.alt, style);\n node.height = height;\n node.depth = depth;\n return node;\n },\n mathmlBuilder: (group, options) => {\n const node = new mathMLTree.MathNode(\"mglyph\", []);\n node.setAttribute(\"alt\", group.alt);\n const height = calculateSize(group.height, options);\n let depth = 0;\n\n if (group.totalheight.number > 0) {\n depth = calculateSize(group.totalheight, options) - height;\n node.setAttribute(\"valign\", makeEm(-depth));\n }\n\n node.setAttribute(\"height\", makeEm(height + depth));\n\n if (group.width.number > 0) {\n const width = calculateSize(group.width, options);\n node.setAttribute(\"width\", makeEm(width));\n }\n\n node.setAttribute(\"src\", group.src);\n return node;\n }\n});\n;// CONCATENATED MODULE: ./src/functions/kern.js\n// Horizontal spacing commands\n\n\n\n\n // TODO: \\hskip and \\mskip should support plus and minus in lengths\n\ndefineFunction({\n type: \"kern\",\n names: [\"\\\\kern\", \"\\\\mkern\", \"\\\\hskip\", \"\\\\mskip\"],\n props: {\n numArgs: 1,\n argTypes: [\"size\"],\n primitive: true,\n allowedInText: true\n },\n\n handler(_ref, args) {\n let {\n parser,\n funcName\n } = _ref;\n const size = assertNodeType(args[0], \"size\");\n\n if (parser.settings.strict) {\n const mathFunction = funcName[1] === 'm'; // \\mkern, \\mskip\n\n const muUnit = size.value.unit === 'mu';\n\n if (mathFunction) {\n if (!muUnit) {\n parser.settings.reportNonstrict(\"mathVsTextUnits\", \"LaTeX's \" + funcName + \" supports only mu units, \" + (\"not \" + size.value.unit + \" units\"));\n }\n\n if (parser.mode !== \"math\") {\n parser.settings.reportNonstrict(\"mathVsTextUnits\", \"LaTeX's \" + funcName + \" works only in math mode\");\n }\n } else {\n // !mathFunction\n if (muUnit) {\n parser.settings.reportNonstrict(\"mathVsTextUnits\", \"LaTeX's \" + funcName + \" doesn't support mu units\");\n }\n }\n }\n\n return {\n type: \"kern\",\n mode: parser.mode,\n dimension: size.value\n };\n },\n\n htmlBuilder(group, options) {\n return buildCommon.makeGlue(group.dimension, options);\n },\n\n mathmlBuilder(group, options) {\n const dimension = calculateSize(group.dimension, options);\n return new mathMLTree.SpaceNode(dimension);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/lap.js\n// Horizontal overlap functions\n\n\n\n\n\n\ndefineFunction({\n type: \"lap\",\n names: [\"\\\\mathllap\", \"\\\\mathrlap\", \"\\\\mathclap\"],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n handler: (_ref, args) => {\n let {\n parser,\n funcName\n } = _ref;\n const body = args[0];\n return {\n type: \"lap\",\n mode: parser.mode,\n alignment: funcName.slice(5),\n body\n };\n },\n htmlBuilder: (group, options) => {\n // mathllap, mathrlap, mathclap\n let inner;\n\n if (group.alignment === \"clap\") {\n // ref: https://www.math.lsu.edu/~aperlis/publications/mathclap/\n inner = buildCommon.makeSpan([], [buildGroup(group.body, options)]); // wrap, since CSS will center a .clap > .inner > span\n\n inner = buildCommon.makeSpan([\"inner\"], [inner], options);\n } else {\n inner = buildCommon.makeSpan([\"inner\"], [buildGroup(group.body, options)]);\n }\n\n const fix = buildCommon.makeSpan([\"fix\"], []);\n let node = buildCommon.makeSpan([group.alignment], [inner, fix], options); // At this point, we have correctly set horizontal alignment of the\n // two items involved in the lap.\n // Next, use a strut to set the height of the HTML bounding box.\n // Otherwise, a tall argument may be misplaced.\n // This code resolved issue #1153\n\n const strut = buildCommon.makeSpan([\"strut\"]);\n strut.style.height = makeEm(node.height + node.depth);\n\n if (node.depth) {\n strut.style.verticalAlign = makeEm(-node.depth);\n }\n\n node.children.unshift(strut); // Next, prevent vertical misplacement when next to something tall.\n // This code resolves issue #1234\n\n node = buildCommon.makeSpan([\"thinbox\"], [node], options);\n return buildCommon.makeSpan([\"mord\", \"vbox\"], [node], options);\n },\n mathmlBuilder: (group, options) => {\n // mathllap, mathrlap, mathclap\n const node = new mathMLTree.MathNode(\"mpadded\", [buildMathML_buildGroup(group.body, options)]);\n\n if (group.alignment !== \"rlap\") {\n const offset = group.alignment === \"llap\" ? \"-1\" : \"-0.5\";\n node.setAttribute(\"lspace\", offset + \"width\");\n }\n\n node.setAttribute(\"width\", \"0px\");\n return node;\n }\n});\n;// CONCATENATED MODULE: ./src/functions/math.js\n\n // Switching from text mode back to math mode\n\ndefineFunction({\n type: \"styling\",\n names: [\"\\\\(\", \"$\"],\n props: {\n numArgs: 0,\n allowedInText: true,\n allowedInMath: false\n },\n\n handler(_ref, args) {\n let {\n funcName,\n parser\n } = _ref;\n const outerMode = parser.mode;\n parser.switchMode(\"math\");\n const close = funcName === \"\\\\(\" ? \"\\\\)\" : \"$\";\n const body = parser.parseExpression(false, close);\n parser.expect(close);\n parser.switchMode(outerMode);\n return {\n type: \"styling\",\n mode: parser.mode,\n style: \"text\",\n body\n };\n }\n\n}); // Check for extra closing math delimiters\n\ndefineFunction({\n type: \"text\",\n // Doesn't matter what this is.\n names: [\"\\\\)\", \"\\\\]\"],\n props: {\n numArgs: 0,\n allowedInText: true,\n allowedInMath: false\n },\n\n handler(context, args) {\n throw new src_ParseError(\"Mismatched \" + context.funcName);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/mathchoice.js\n\n\n\n\n\n\nconst chooseMathStyle = (group, options) => {\n switch (options.style.size) {\n case src_Style.DISPLAY.size:\n return group.display;\n\n case src_Style.TEXT.size:\n return group.text;\n\n case src_Style.SCRIPT.size:\n return group.script;\n\n case src_Style.SCRIPTSCRIPT.size:\n return group.scriptscript;\n\n default:\n return group.text;\n }\n};\n\ndefineFunction({\n type: \"mathchoice\",\n names: [\"\\\\mathchoice\"],\n props: {\n numArgs: 4,\n primitive: true\n },\n handler: (_ref, args) => {\n let {\n parser\n } = _ref;\n return {\n type: \"mathchoice\",\n mode: parser.mode,\n display: ordargument(args[0]),\n text: ordargument(args[1]),\n script: ordargument(args[2]),\n scriptscript: ordargument(args[3])\n };\n },\n htmlBuilder: (group, options) => {\n const body = chooseMathStyle(group, options);\n const elements = buildExpression(body, options, false);\n return buildCommon.makeFragment(elements);\n },\n mathmlBuilder: (group, options) => {\n const body = chooseMathStyle(group, options);\n return buildExpressionRow(body, options);\n }\n});\n;// CONCATENATED MODULE: ./src/functions/utils/assembleSupSub.js\n\n\n\n // For an operator with limits, assemble the base, sup, and sub into a span.\n\nconst assembleSupSub = (base, supGroup, subGroup, options, style, slant, baseShift) => {\n base = buildCommon.makeSpan([], [base]);\n const subIsSingleCharacter = subGroup && utils.isCharacterBox(subGroup);\n let sub;\n let sup; // We manually have to handle the superscripts and subscripts. This,\n // aside from the kern calculations, is copied from supsub.\n\n if (supGroup) {\n const elem = buildGroup(supGroup, options.havingStyle(style.sup()), options);\n sup = {\n elem,\n kern: Math.max(options.fontMetrics().bigOpSpacing1, options.fontMetrics().bigOpSpacing3 - elem.depth)\n };\n }\n\n if (subGroup) {\n const elem = buildGroup(subGroup, options.havingStyle(style.sub()), options);\n sub = {\n elem,\n kern: Math.max(options.fontMetrics().bigOpSpacing2, options.fontMetrics().bigOpSpacing4 - elem.height)\n };\n } // Build the final group as a vlist of the possible subscript, base,\n // and possible superscript.\n\n\n let finalGroup;\n\n if (sup && sub) {\n const bottom = options.fontMetrics().bigOpSpacing5 + sub.elem.height + sub.elem.depth + sub.kern + base.depth + baseShift;\n finalGroup = buildCommon.makeVList({\n positionType: \"bottom\",\n positionData: bottom,\n children: [{\n type: \"kern\",\n size: options.fontMetrics().bigOpSpacing5\n }, {\n type: \"elem\",\n elem: sub.elem,\n marginLeft: makeEm(-slant)\n }, {\n type: \"kern\",\n size: sub.kern\n }, {\n type: \"elem\",\n elem: base\n }, {\n type: \"kern\",\n size: sup.kern\n }, {\n type: \"elem\",\n elem: sup.elem,\n marginLeft: makeEm(slant)\n }, {\n type: \"kern\",\n size: options.fontMetrics().bigOpSpacing5\n }]\n }, options);\n } else if (sub) {\n const top = base.height - baseShift; // Shift the limits by the slant of the symbol. Note\n // that we are supposed to shift the limits by 1/2 of the slant,\n // but since we are centering the limits adding a full slant of\n // margin will shift by 1/2 that.\n\n finalGroup = buildCommon.makeVList({\n positionType: \"top\",\n positionData: top,\n children: [{\n type: \"kern\",\n size: options.fontMetrics().bigOpSpacing5\n }, {\n type: \"elem\",\n elem: sub.elem,\n marginLeft: makeEm(-slant)\n }, {\n type: \"kern\",\n size: sub.kern\n }, {\n type: \"elem\",\n elem: base\n }]\n }, options);\n } else if (sup) {\n const bottom = base.depth + baseShift;\n finalGroup = buildCommon.makeVList({\n positionType: \"bottom\",\n positionData: bottom,\n children: [{\n type: \"elem\",\n elem: base\n }, {\n type: \"kern\",\n size: sup.kern\n }, {\n type: \"elem\",\n elem: sup.elem,\n marginLeft: makeEm(slant)\n }, {\n type: \"kern\",\n size: options.fontMetrics().bigOpSpacing5\n }]\n }, options);\n } else {\n // This case probably shouldn't occur (this would mean the\n // supsub was sending us a group with no superscript or\n // subscript) but be safe.\n return base;\n }\n\n const parts = [finalGroup];\n\n if (sub && slant !== 0 && !subIsSingleCharacter) {\n // A negative margin-left was applied to the lower limit.\n // Avoid an overlap by placing a spacer on the left on the group.\n const spacer = buildCommon.makeSpan([\"mspace\"], [], options);\n spacer.style.marginRight = makeEm(slant);\n parts.unshift(spacer);\n }\n\n return buildCommon.makeSpan([\"mop\", \"op-limits\"], parts, options);\n};\n;// CONCATENATED MODULE: ./src/functions/op.js\n// Limits, symbols\n\n\n\n\n\n\n\n\n\n\n\n// Most operators have a large successor symbol, but these don't.\nconst noSuccessor = [\"\\\\smallint\"]; // NOTE: Unlike most `htmlBuilder`s, this one handles not only \"op\", but also\n// \"supsub\" since some of them (like \\int) can affect super/subscripting.\n\nconst op_htmlBuilder = (grp, options) => {\n // Operators are handled in the TeXbook pg. 443-444, rule 13(a).\n let supGroup;\n let subGroup;\n let hasLimits = false;\n let group;\n\n if (grp.type === \"supsub\") {\n // If we have limits, supsub will pass us its group to handle. Pull\n // out the superscript and subscript and set the group to the op in\n // its base.\n supGroup = grp.sup;\n subGroup = grp.sub;\n group = assertNodeType(grp.base, \"op\");\n hasLimits = true;\n } else {\n group = assertNodeType(grp, \"op\");\n }\n\n const style = options.style;\n let large = false;\n\n if (style.size === src_Style.DISPLAY.size && group.symbol && !utils.contains(noSuccessor, group.name)) {\n // Most symbol operators get larger in displaystyle (rule 13)\n large = true;\n }\n\n let base;\n\n if (group.symbol) {\n // If this is a symbol, create the symbol.\n const fontName = large ? \"Size2-Regular\" : \"Size1-Regular\";\n let stash = \"\";\n\n if (group.name === \"\\\\oiint\" || group.name === \"\\\\oiiint\") {\n // No font glyphs yet, so use a glyph w/o the oval.\n // TODO: When font glyphs are available, delete this code.\n stash = group.name.slice(1);\n group.name = stash === \"oiint\" ? \"\\\\iint\" : \"\\\\iiint\";\n }\n\n base = buildCommon.makeSymbol(group.name, fontName, \"math\", options, [\"mop\", \"op-symbol\", large ? \"large-op\" : \"small-op\"]);\n\n if (stash.length > 0) {\n // We're in \\oiint or \\oiiint. Overlay the oval.\n // TODO: When font glyphs are available, delete this code.\n const italic = base.italic;\n const oval = buildCommon.staticSvg(stash + \"Size\" + (large ? \"2\" : \"1\"), options);\n base = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: [{\n type: \"elem\",\n elem: base,\n shift: 0\n }, {\n type: \"elem\",\n elem: oval,\n shift: large ? 0.08 : 0\n }]\n }, options);\n group.name = \"\\\\\" + stash;\n base.classes.unshift(\"mop\"); // $FlowFixMe\n\n base.italic = italic;\n }\n } else if (group.body) {\n // If this is a list, compose that list.\n const inner = buildExpression(group.body, options, true);\n\n if (inner.length === 1 && inner[0] instanceof SymbolNode) {\n base = inner[0];\n base.classes[0] = \"mop\"; // replace old mclass\n } else {\n base = buildCommon.makeSpan([\"mop\"], inner, options);\n }\n } else {\n // Otherwise, this is a text operator. Build the text from the\n // operator's name.\n const output = [];\n\n for (let i = 1; i < group.name.length; i++) {\n output.push(buildCommon.mathsym(group.name[i], group.mode, options));\n }\n\n base = buildCommon.makeSpan([\"mop\"], output, options);\n } // If content of op is a single symbol, shift it vertically.\n\n\n let baseShift = 0;\n let slant = 0;\n\n if ((base instanceof SymbolNode || group.name === \"\\\\oiint\" || group.name === \"\\\\oiiint\") && !group.suppressBaseShift) {\n // We suppress the shift of the base of \\overset and \\underset. Otherwise,\n // shift the symbol so its center lies on the axis (rule 13). It\n // appears that our fonts have the centers of the symbols already\n // almost on the axis, so these numbers are very small. Note we\n // don't actually apply this here, but instead it is used either in\n // the vlist creation or separately when there are no limits.\n baseShift = (base.height - base.depth) / 2 - options.fontMetrics().axisHeight; // The slant of the symbol is just its italic correction.\n // $FlowFixMe\n\n slant = base.italic;\n }\n\n if (hasLimits) {\n return assembleSupSub(base, supGroup, subGroup, options, style, slant, baseShift);\n } else {\n if (baseShift) {\n base.style.position = \"relative\";\n base.style.top = makeEm(baseShift);\n }\n\n return base;\n }\n};\n\nconst op_mathmlBuilder = (group, options) => {\n let node;\n\n if (group.symbol) {\n // This is a symbol. Just add the symbol.\n node = new MathNode(\"mo\", [makeText(group.name, group.mode)]);\n\n if (utils.contains(noSuccessor, group.name)) {\n node.setAttribute(\"largeop\", \"false\");\n }\n } else if (group.body) {\n // This is an operator with children. Add them.\n node = new MathNode(\"mo\", buildMathML_buildExpression(group.body, options));\n } else {\n // This is a text operator. Add all of the characters from the\n // operator's name.\n node = new MathNode(\"mi\", [new TextNode(group.name.slice(1))]); // Append an .\n // ref: https://www.w3.org/TR/REC-MathML/chap3_2.html#sec3.2.4\n\n const operator = new MathNode(\"mo\", [makeText(\"\\u2061\", \"text\")]);\n\n if (group.parentIsSupSub) {\n node = new MathNode(\"mrow\", [node, operator]);\n } else {\n node = newDocumentFragment([node, operator]);\n }\n }\n\n return node;\n};\n\nconst singleCharBigOps = {\n \"\\u220F\": \"\\\\prod\",\n \"\\u2210\": \"\\\\coprod\",\n \"\\u2211\": \"\\\\sum\",\n \"\\u22c0\": \"\\\\bigwedge\",\n \"\\u22c1\": \"\\\\bigvee\",\n \"\\u22c2\": \"\\\\bigcap\",\n \"\\u22c3\": \"\\\\bigcup\",\n \"\\u2a00\": \"\\\\bigodot\",\n \"\\u2a01\": \"\\\\bigoplus\",\n \"\\u2a02\": \"\\\\bigotimes\",\n \"\\u2a04\": \"\\\\biguplus\",\n \"\\u2a06\": \"\\\\bigsqcup\"\n};\ndefineFunction({\n type: \"op\",\n names: [\"\\\\coprod\", \"\\\\bigvee\", \"\\\\bigwedge\", \"\\\\biguplus\", \"\\\\bigcap\", \"\\\\bigcup\", \"\\\\intop\", \"\\\\prod\", \"\\\\sum\", \"\\\\bigotimes\", \"\\\\bigoplus\", \"\\\\bigodot\", \"\\\\bigsqcup\", \"\\\\smallint\", \"\\u220F\", \"\\u2210\", \"\\u2211\", \"\\u22c0\", \"\\u22c1\", \"\\u22c2\", \"\\u22c3\", \"\\u2a00\", \"\\u2a01\", \"\\u2a02\", \"\\u2a04\", \"\\u2a06\"],\n props: {\n numArgs: 0\n },\n handler: (_ref, args) => {\n let {\n parser,\n funcName\n } = _ref;\n let fName = funcName;\n\n if (fName.length === 1) {\n fName = singleCharBigOps[fName];\n }\n\n return {\n type: \"op\",\n mode: parser.mode,\n limits: true,\n parentIsSupSub: false,\n symbol: true,\n name: fName\n };\n },\n htmlBuilder: op_htmlBuilder,\n mathmlBuilder: op_mathmlBuilder\n}); // Note: calling defineFunction with a type that's already been defined only\n// works because the same htmlBuilder and mathmlBuilder are being used.\n\ndefineFunction({\n type: \"op\",\n names: [\"\\\\mathop\"],\n props: {\n numArgs: 1,\n primitive: true\n },\n handler: (_ref2, args) => {\n let {\n parser\n } = _ref2;\n const body = args[0];\n return {\n type: \"op\",\n mode: parser.mode,\n limits: false,\n parentIsSupSub: false,\n symbol: false,\n body: ordargument(body)\n };\n },\n htmlBuilder: op_htmlBuilder,\n mathmlBuilder: op_mathmlBuilder\n}); // There are 2 flags for operators; whether they produce limits in\n// displaystyle, and whether they are symbols and should grow in\n// displaystyle. These four groups cover the four possible choices.\n\nconst singleCharIntegrals = {\n \"\\u222b\": \"\\\\int\",\n \"\\u222c\": \"\\\\iint\",\n \"\\u222d\": \"\\\\iiint\",\n \"\\u222e\": \"\\\\oint\",\n \"\\u222f\": \"\\\\oiint\",\n \"\\u2230\": \"\\\\oiiint\"\n}; // No limits, not symbols\n\ndefineFunction({\n type: \"op\",\n names: [\"\\\\arcsin\", \"\\\\arccos\", \"\\\\arctan\", \"\\\\arctg\", \"\\\\arcctg\", \"\\\\arg\", \"\\\\ch\", \"\\\\cos\", \"\\\\cosec\", \"\\\\cosh\", \"\\\\cot\", \"\\\\cotg\", \"\\\\coth\", \"\\\\csc\", \"\\\\ctg\", \"\\\\cth\", \"\\\\deg\", \"\\\\dim\", \"\\\\exp\", \"\\\\hom\", \"\\\\ker\", \"\\\\lg\", \"\\\\ln\", \"\\\\log\", \"\\\\sec\", \"\\\\sin\", \"\\\\sinh\", \"\\\\sh\", \"\\\\tan\", \"\\\\tanh\", \"\\\\tg\", \"\\\\th\"],\n props: {\n numArgs: 0\n },\n\n handler(_ref3) {\n let {\n parser,\n funcName\n } = _ref3;\n return {\n type: \"op\",\n mode: parser.mode,\n limits: false,\n parentIsSupSub: false,\n symbol: false,\n name: funcName\n };\n },\n\n htmlBuilder: op_htmlBuilder,\n mathmlBuilder: op_mathmlBuilder\n}); // Limits, not symbols\n\ndefineFunction({\n type: \"op\",\n names: [\"\\\\det\", \"\\\\gcd\", \"\\\\inf\", \"\\\\lim\", \"\\\\max\", \"\\\\min\", \"\\\\Pr\", \"\\\\sup\"],\n props: {\n numArgs: 0\n },\n\n handler(_ref4) {\n let {\n parser,\n funcName\n } = _ref4;\n return {\n type: \"op\",\n mode: parser.mode,\n limits: true,\n parentIsSupSub: false,\n symbol: false,\n name: funcName\n };\n },\n\n htmlBuilder: op_htmlBuilder,\n mathmlBuilder: op_mathmlBuilder\n}); // No limits, symbols\n\ndefineFunction({\n type: \"op\",\n names: [\"\\\\int\", \"\\\\iint\", \"\\\\iiint\", \"\\\\oint\", \"\\\\oiint\", \"\\\\oiiint\", \"\\u222b\", \"\\u222c\", \"\\u222d\", \"\\u222e\", \"\\u222f\", \"\\u2230\"],\n props: {\n numArgs: 0\n },\n\n handler(_ref5) {\n let {\n parser,\n funcName\n } = _ref5;\n let fName = funcName;\n\n if (fName.length === 1) {\n fName = singleCharIntegrals[fName];\n }\n\n return {\n type: \"op\",\n mode: parser.mode,\n limits: false,\n parentIsSupSub: false,\n symbol: true,\n name: fName\n };\n },\n\n htmlBuilder: op_htmlBuilder,\n mathmlBuilder: op_mathmlBuilder\n});\n;// CONCATENATED MODULE: ./src/functions/operatorname.js\n\n\n\n\n\n\n\n\n\n// NOTE: Unlike most `htmlBuilder`s, this one handles not only\n// \"operatorname\", but also \"supsub\" since \\operatorname* can\n// affect super/subscripting.\nconst operatorname_htmlBuilder = (grp, options) => {\n // Operators are handled in the TeXbook pg. 443-444, rule 13(a).\n let supGroup;\n let subGroup;\n let hasLimits = false;\n let group;\n\n if (grp.type === \"supsub\") {\n // If we have limits, supsub will pass us its group to handle. Pull\n // out the superscript and subscript and set the group to the op in\n // its base.\n supGroup = grp.sup;\n subGroup = grp.sub;\n group = assertNodeType(grp.base, \"operatorname\");\n hasLimits = true;\n } else {\n group = assertNodeType(grp, \"operatorname\");\n }\n\n let base;\n\n if (group.body.length > 0) {\n const body = group.body.map(child => {\n // $FlowFixMe: Check if the node has a string `text` property.\n const childText = child.text;\n\n if (typeof childText === \"string\") {\n return {\n type: \"textord\",\n mode: child.mode,\n text: childText\n };\n } else {\n return child;\n }\n }); // Consolidate function names into symbol characters.\n\n const expression = buildExpression(body, options.withFont(\"mathrm\"), true);\n\n for (let i = 0; i < expression.length; i++) {\n const child = expression[i];\n\n if (child instanceof SymbolNode) {\n // Per amsopn package,\n // change minus to hyphen and \\ast to asterisk\n child.text = child.text.replace(/\\u2212/, \"-\").replace(/\\u2217/, \"*\");\n }\n }\n\n base = buildCommon.makeSpan([\"mop\"], expression, options);\n } else {\n base = buildCommon.makeSpan([\"mop\"], [], options);\n }\n\n if (hasLimits) {\n return assembleSupSub(base, supGroup, subGroup, options, options.style, 0, 0);\n } else {\n return base;\n }\n};\n\nconst operatorname_mathmlBuilder = (group, options) => {\n // The steps taken here are similar to the html version.\n let expression = buildMathML_buildExpression(group.body, options.withFont(\"mathrm\")); // Is expression a string or has it something like a fraction?\n\n let isAllString = true; // default\n\n for (let i = 0; i < expression.length; i++) {\n const node = expression[i];\n\n if (node instanceof mathMLTree.SpaceNode) {// Do nothing\n } else if (node instanceof mathMLTree.MathNode) {\n switch (node.type) {\n case \"mi\":\n case \"mn\":\n case \"ms\":\n case \"mspace\":\n case \"mtext\":\n break;\n // Do nothing yet.\n\n case \"mo\":\n {\n const child = node.children[0];\n\n if (node.children.length === 1 && child instanceof mathMLTree.TextNode) {\n child.text = child.text.replace(/\\u2212/, \"-\").replace(/\\u2217/, \"*\");\n } else {\n isAllString = false;\n }\n\n break;\n }\n\n default:\n isAllString = false;\n }\n } else {\n isAllString = false;\n }\n }\n\n if (isAllString) {\n // Write a single TextNode instead of multiple nested tags.\n const word = expression.map(node => node.toText()).join(\"\");\n expression = [new mathMLTree.TextNode(word)];\n }\n\n const identifier = new mathMLTree.MathNode(\"mi\", expression);\n identifier.setAttribute(\"mathvariant\", \"normal\"); // \\u2061 is the same as ⁡\n // ref: https://www.w3schools.com/charsets/ref_html_entities_a.asp\n\n const operator = new mathMLTree.MathNode(\"mo\", [makeText(\"\\u2061\", \"text\")]);\n\n if (group.parentIsSupSub) {\n return new mathMLTree.MathNode(\"mrow\", [identifier, operator]);\n } else {\n return mathMLTree.newDocumentFragment([identifier, operator]);\n }\n}; // \\operatorname\n// amsopn.dtx: \\mathop{#1\\kern\\z@\\operator@font#3}\\newmcodes@\n\n\ndefineFunction({\n type: \"operatorname\",\n names: [\"\\\\operatorname@\", \"\\\\operatornamewithlimits\"],\n props: {\n numArgs: 1\n },\n handler: (_ref, args) => {\n let {\n parser,\n funcName\n } = _ref;\n const body = args[0];\n return {\n type: \"operatorname\",\n mode: parser.mode,\n body: ordargument(body),\n alwaysHandleSupSub: funcName === \"\\\\operatornamewithlimits\",\n limits: false,\n parentIsSupSub: false\n };\n },\n htmlBuilder: operatorname_htmlBuilder,\n mathmlBuilder: operatorname_mathmlBuilder\n});\ndefineMacro(\"\\\\operatorname\", \"\\\\@ifstar\\\\operatornamewithlimits\\\\operatorname@\");\n;// CONCATENATED MODULE: ./src/functions/ordgroup.js\n\n\n\n\ndefineFunctionBuilders({\n type: \"ordgroup\",\n\n htmlBuilder(group, options) {\n if (group.semisimple) {\n return buildCommon.makeFragment(buildExpression(group.body, options, false));\n }\n\n return buildCommon.makeSpan([\"mord\"], buildExpression(group.body, options, true), options);\n },\n\n mathmlBuilder(group, options) {\n return buildExpressionRow(group.body, options, true);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/overline.js\n\n\n\n\n\ndefineFunction({\n type: \"overline\",\n names: [\"\\\\overline\"],\n props: {\n numArgs: 1\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n const body = args[0];\n return {\n type: \"overline\",\n mode: parser.mode,\n body\n };\n },\n\n htmlBuilder(group, options) {\n // Overlines are handled in the TeXbook pg 443, Rule 9.\n // Build the inner group in the cramped style.\n const innerGroup = buildGroup(group.body, options.havingCrampedStyle()); // Create the line above the body\n\n const line = buildCommon.makeLineSpan(\"overline-line\", options); // Generate the vlist, with the appropriate kerns\n\n const defaultRuleThickness = options.fontMetrics().defaultRuleThickness;\n const vlist = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: innerGroup\n }, {\n type: \"kern\",\n size: 3 * defaultRuleThickness\n }, {\n type: \"elem\",\n elem: line\n }, {\n type: \"kern\",\n size: defaultRuleThickness\n }]\n }, options);\n return buildCommon.makeSpan([\"mord\", \"overline\"], [vlist], options);\n },\n\n mathmlBuilder(group, options) {\n const operator = new mathMLTree.MathNode(\"mo\", [new mathMLTree.TextNode(\"\\u203e\")]);\n operator.setAttribute(\"stretchy\", \"true\");\n const node = new mathMLTree.MathNode(\"mover\", [buildMathML_buildGroup(group.body, options), operator]);\n node.setAttribute(\"accent\", \"true\");\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/phantom.js\n\n\n\n\n\ndefineFunction({\n type: \"phantom\",\n names: [\"\\\\phantom\"],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n handler: (_ref, args) => {\n let {\n parser\n } = _ref;\n const body = args[0];\n return {\n type: \"phantom\",\n mode: parser.mode,\n body: ordargument(body)\n };\n },\n htmlBuilder: (group, options) => {\n const elements = buildExpression(group.body, options.withPhantom(), false); // \\phantom isn't supposed to affect the elements it contains.\n // See \"color\" for more details.\n\n return buildCommon.makeFragment(elements);\n },\n mathmlBuilder: (group, options) => {\n const inner = buildMathML_buildExpression(group.body, options);\n return new mathMLTree.MathNode(\"mphantom\", inner);\n }\n});\ndefineFunction({\n type: \"hphantom\",\n names: [\"\\\\hphantom\"],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n handler: (_ref2, args) => {\n let {\n parser\n } = _ref2;\n const body = args[0];\n return {\n type: \"hphantom\",\n mode: parser.mode,\n body\n };\n },\n htmlBuilder: (group, options) => {\n let node = buildCommon.makeSpan([], [buildGroup(group.body, options.withPhantom())]);\n node.height = 0;\n node.depth = 0;\n\n if (node.children) {\n for (let i = 0; i < node.children.length; i++) {\n node.children[i].height = 0;\n node.children[i].depth = 0;\n }\n } // See smash for comment re: use of makeVList\n\n\n node = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: node\n }]\n }, options); // For spacing, TeX treats \\smash as a math group (same spacing as ord).\n\n return buildCommon.makeSpan([\"mord\"], [node], options);\n },\n mathmlBuilder: (group, options) => {\n const inner = buildMathML_buildExpression(ordargument(group.body), options);\n const phantom = new mathMLTree.MathNode(\"mphantom\", inner);\n const node = new mathMLTree.MathNode(\"mpadded\", [phantom]);\n node.setAttribute(\"height\", \"0px\");\n node.setAttribute(\"depth\", \"0px\");\n return node;\n }\n});\ndefineFunction({\n type: \"vphantom\",\n names: [\"\\\\vphantom\"],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n handler: (_ref3, args) => {\n let {\n parser\n } = _ref3;\n const body = args[0];\n return {\n type: \"vphantom\",\n mode: parser.mode,\n body\n };\n },\n htmlBuilder: (group, options) => {\n const inner = buildCommon.makeSpan([\"inner\"], [buildGroup(group.body, options.withPhantom())]);\n const fix = buildCommon.makeSpan([\"fix\"], []);\n return buildCommon.makeSpan([\"mord\", \"rlap\"], [inner, fix], options);\n },\n mathmlBuilder: (group, options) => {\n const inner = buildMathML_buildExpression(ordargument(group.body), options);\n const phantom = new mathMLTree.MathNode(\"mphantom\", inner);\n const node = new mathMLTree.MathNode(\"mpadded\", [phantom]);\n node.setAttribute(\"width\", \"0px\");\n return node;\n }\n});\n;// CONCATENATED MODULE: ./src/functions/raisebox.js\n\n\n\n\n\n\n // Box manipulation\n\ndefineFunction({\n type: \"raisebox\",\n names: [\"\\\\raisebox\"],\n props: {\n numArgs: 2,\n argTypes: [\"size\", \"hbox\"],\n allowedInText: true\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n const amount = assertNodeType(args[0], \"size\").value;\n const body = args[1];\n return {\n type: \"raisebox\",\n mode: parser.mode,\n dy: amount,\n body\n };\n },\n\n htmlBuilder(group, options) {\n const body = buildGroup(group.body, options);\n const dy = calculateSize(group.dy, options);\n return buildCommon.makeVList({\n positionType: \"shift\",\n positionData: -dy,\n children: [{\n type: \"elem\",\n elem: body\n }]\n }, options);\n },\n\n mathmlBuilder(group, options) {\n const node = new mathMLTree.MathNode(\"mpadded\", [buildMathML_buildGroup(group.body, options)]);\n const dy = group.dy.number + group.dy.unit;\n node.setAttribute(\"voffset\", dy);\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/relax.js\n\ndefineFunction({\n type: \"internal\",\n names: [\"\\\\relax\"],\n props: {\n numArgs: 0,\n allowedInText: true\n },\n\n handler(_ref) {\n let {\n parser\n } = _ref;\n return {\n type: \"internal\",\n mode: parser.mode\n };\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/rule.js\n\n\n\n\n\ndefineFunction({\n type: \"rule\",\n names: [\"\\\\rule\"],\n props: {\n numArgs: 2,\n numOptionalArgs: 1,\n argTypes: [\"size\", \"size\", \"size\"]\n },\n\n handler(_ref, args, optArgs) {\n let {\n parser\n } = _ref;\n const shift = optArgs[0];\n const width = assertNodeType(args[0], \"size\");\n const height = assertNodeType(args[1], \"size\");\n return {\n type: \"rule\",\n mode: parser.mode,\n shift: shift && assertNodeType(shift, \"size\").value,\n width: width.value,\n height: height.value\n };\n },\n\n htmlBuilder(group, options) {\n // Make an empty span for the rule\n const rule = buildCommon.makeSpan([\"mord\", \"rule\"], [], options); // Calculate the shift, width, and height of the rule, and account for units\n\n const width = calculateSize(group.width, options);\n const height = calculateSize(group.height, options);\n const shift = group.shift ? calculateSize(group.shift, options) : 0; // Style the rule to the right size\n\n rule.style.borderRightWidth = makeEm(width);\n rule.style.borderTopWidth = makeEm(height);\n rule.style.bottom = makeEm(shift); // Record the height and width\n\n rule.width = width;\n rule.height = height + shift;\n rule.depth = -shift; // Font size is the number large enough that the browser will\n // reserve at least `absHeight` space above the baseline.\n // The 1.125 factor was empirically determined\n\n rule.maxFontSize = height * 1.125 * options.sizeMultiplier;\n return rule;\n },\n\n mathmlBuilder(group, options) {\n const width = calculateSize(group.width, options);\n const height = calculateSize(group.height, options);\n const shift = group.shift ? calculateSize(group.shift, options) : 0;\n const color = options.color && options.getColor() || \"black\";\n const rule = new mathMLTree.MathNode(\"mspace\");\n rule.setAttribute(\"mathbackground\", color);\n rule.setAttribute(\"width\", makeEm(width));\n rule.setAttribute(\"height\", makeEm(height));\n const wrapper = new mathMLTree.MathNode(\"mpadded\", [rule]);\n\n if (shift >= 0) {\n wrapper.setAttribute(\"height\", makeEm(shift));\n } else {\n wrapper.setAttribute(\"height\", makeEm(shift));\n wrapper.setAttribute(\"depth\", makeEm(-shift));\n }\n\n wrapper.setAttribute(\"voffset\", makeEm(shift));\n return wrapper;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/sizing.js\n\n\n\n\n\n\nfunction sizingGroup(value, options, baseOptions) {\n const inner = buildExpression(value, options, false);\n const multiplier = options.sizeMultiplier / baseOptions.sizeMultiplier; // Add size-resetting classes to the inner list and set maxFontSize\n // manually. Handle nested size changes.\n\n for (let i = 0; i < inner.length; i++) {\n const pos = inner[i].classes.indexOf(\"sizing\");\n\n if (pos < 0) {\n Array.prototype.push.apply(inner[i].classes, options.sizingClasses(baseOptions));\n } else if (inner[i].classes[pos + 1] === \"reset-size\" + options.size) {\n // This is a nested size change: e.g., inner[i] is the \"b\" in\n // `\\Huge a \\small b`. Override the old size (the `reset-` class)\n // but not the new size.\n inner[i].classes[pos + 1] = \"reset-size\" + baseOptions.size;\n }\n\n inner[i].height *= multiplier;\n inner[i].depth *= multiplier;\n }\n\n return buildCommon.makeFragment(inner);\n}\nconst sizeFuncs = [\"\\\\tiny\", \"\\\\sixptsize\", \"\\\\scriptsize\", \"\\\\footnotesize\", \"\\\\small\", \"\\\\normalsize\", \"\\\\large\", \"\\\\Large\", \"\\\\LARGE\", \"\\\\huge\", \"\\\\Huge\"];\nconst sizing_htmlBuilder = (group, options) => {\n // Handle sizing operators like \\Huge. Real TeX doesn't actually allow\n // these functions inside of math expressions, so we do some special\n // handling.\n const newOptions = options.havingSize(group.size);\n return sizingGroup(group.body, newOptions, options);\n};\ndefineFunction({\n type: \"sizing\",\n names: sizeFuncs,\n props: {\n numArgs: 0,\n allowedInText: true\n },\n handler: (_ref, args) => {\n let {\n breakOnTokenText,\n funcName,\n parser\n } = _ref;\n const body = parser.parseExpression(false, breakOnTokenText);\n return {\n type: \"sizing\",\n mode: parser.mode,\n // Figure out what size to use based on the list of functions above\n size: sizeFuncs.indexOf(funcName) + 1,\n body\n };\n },\n htmlBuilder: sizing_htmlBuilder,\n mathmlBuilder: (group, options) => {\n const newOptions = options.havingSize(group.size);\n const inner = buildMathML_buildExpression(group.body, newOptions);\n const node = new mathMLTree.MathNode(\"mstyle\", inner); // TODO(emily): This doesn't produce the correct size for nested size\n // changes, because we don't keep state of what style we're currently\n // in, so we can't reset the size to normal before changing it. Now\n // that we're passing an options parameter we should be able to fix\n // this.\n\n node.setAttribute(\"mathsize\", makeEm(newOptions.sizeMultiplier));\n return node;\n }\n});\n;// CONCATENATED MODULE: ./src/functions/smash.js\n// smash, with optional [tb], as in AMS\n\n\n\n\n\n\ndefineFunction({\n type: \"smash\",\n names: [\"\\\\smash\"],\n props: {\n numArgs: 1,\n numOptionalArgs: 1,\n allowedInText: true\n },\n handler: (_ref, args, optArgs) => {\n let {\n parser\n } = _ref;\n let smashHeight = false;\n let smashDepth = false;\n const tbArg = optArgs[0] && assertNodeType(optArgs[0], \"ordgroup\");\n\n if (tbArg) {\n // Optional [tb] argument is engaged.\n // ref: amsmath: \\renewcommand{\\smash}[1][tb]{%\n // def\\mb@t{\\ht}\\def\\mb@b{\\dp}\\def\\mb@tb{\\ht\\z@\\z@\\dp}%\n let letter = \"\";\n\n for (let i = 0; i < tbArg.body.length; ++i) {\n const node = tbArg.body[i]; // $FlowFixMe: Not every node type has a `text` property.\n\n letter = node.text;\n\n if (letter === \"t\") {\n smashHeight = true;\n } else if (letter === \"b\") {\n smashDepth = true;\n } else {\n smashHeight = false;\n smashDepth = false;\n break;\n }\n }\n } else {\n smashHeight = true;\n smashDepth = true;\n }\n\n const body = args[0];\n return {\n type: \"smash\",\n mode: parser.mode,\n body,\n smashHeight,\n smashDepth\n };\n },\n htmlBuilder: (group, options) => {\n const node = buildCommon.makeSpan([], [buildGroup(group.body, options)]);\n\n if (!group.smashHeight && !group.smashDepth) {\n return node;\n }\n\n if (group.smashHeight) {\n node.height = 0; // In order to influence makeVList, we have to reset the children.\n\n if (node.children) {\n for (let i = 0; i < node.children.length; i++) {\n node.children[i].height = 0;\n }\n }\n }\n\n if (group.smashDepth) {\n node.depth = 0;\n\n if (node.children) {\n for (let i = 0; i < node.children.length; i++) {\n node.children[i].depth = 0;\n }\n }\n } // At this point, we've reset the TeX-like height and depth values.\n // But the span still has an HTML line height.\n // makeVList applies \"display: table-cell\", which prevents the browser\n // from acting on that line height. So we'll call makeVList now.\n\n\n const smashedNode = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: node\n }]\n }, options); // For spacing, TeX treats \\hphantom as a math group (same spacing as ord).\n\n return buildCommon.makeSpan([\"mord\"], [smashedNode], options);\n },\n mathmlBuilder: (group, options) => {\n const node = new mathMLTree.MathNode(\"mpadded\", [buildMathML_buildGroup(group.body, options)]);\n\n if (group.smashHeight) {\n node.setAttribute(\"height\", \"0px\");\n }\n\n if (group.smashDepth) {\n node.setAttribute(\"depth\", \"0px\");\n }\n\n return node;\n }\n});\n;// CONCATENATED MODULE: ./src/functions/sqrt.js\n\n\n\n\n\n\n\n\ndefineFunction({\n type: \"sqrt\",\n names: [\"\\\\sqrt\"],\n props: {\n numArgs: 1,\n numOptionalArgs: 1\n },\n\n handler(_ref, args, optArgs) {\n let {\n parser\n } = _ref;\n const index = optArgs[0];\n const body = args[0];\n return {\n type: \"sqrt\",\n mode: parser.mode,\n body,\n index\n };\n },\n\n htmlBuilder(group, options) {\n // Square roots are handled in the TeXbook pg. 443, Rule 11.\n // First, we do the same steps as in overline to build the inner group\n // and line\n let inner = buildGroup(group.body, options.havingCrampedStyle());\n\n if (inner.height === 0) {\n // Render a small surd.\n inner.height = options.fontMetrics().xHeight;\n } // Some groups can return document fragments. Handle those by wrapping\n // them in a span.\n\n\n inner = buildCommon.wrapFragment(inner, options); // Calculate the minimum size for the \\surd delimiter\n\n const metrics = options.fontMetrics();\n const theta = metrics.defaultRuleThickness;\n let phi = theta;\n\n if (options.style.id < src_Style.TEXT.id) {\n phi = options.fontMetrics().xHeight;\n } // Calculate the clearance between the body and line\n\n\n let lineClearance = theta + phi / 4;\n const minDelimiterHeight = inner.height + inner.depth + lineClearance + theta; // Create a sqrt SVG of the required minimum size\n\n const {\n span: img,\n ruleWidth,\n advanceWidth\n } = delimiter.sqrtImage(minDelimiterHeight, options);\n const delimDepth = img.height - ruleWidth; // Adjust the clearance based on the delimiter size\n\n if (delimDepth > inner.height + inner.depth + lineClearance) {\n lineClearance = (lineClearance + delimDepth - inner.height - inner.depth) / 2;\n } // Shift the sqrt image\n\n\n const imgShift = img.height - inner.height - lineClearance - ruleWidth;\n inner.style.paddingLeft = makeEm(advanceWidth); // Overlay the image and the argument.\n\n const body = buildCommon.makeVList({\n positionType: \"firstBaseline\",\n children: [{\n type: \"elem\",\n elem: inner,\n wrapperClasses: [\"svg-align\"]\n }, {\n type: \"kern\",\n size: -(inner.height + imgShift)\n }, {\n type: \"elem\",\n elem: img\n }, {\n type: \"kern\",\n size: ruleWidth\n }]\n }, options);\n\n if (!group.index) {\n return buildCommon.makeSpan([\"mord\", \"sqrt\"], [body], options);\n } else {\n // Handle the optional root index\n // The index is always in scriptscript style\n const newOptions = options.havingStyle(src_Style.SCRIPTSCRIPT);\n const rootm = buildGroup(group.index, newOptions, options); // The amount the index is shifted by. This is taken from the TeX\n // source, in the definition of `\\r@@t`.\n\n const toShift = 0.6 * (body.height - body.depth); // Build a VList with the superscript shifted up correctly\n\n const rootVList = buildCommon.makeVList({\n positionType: \"shift\",\n positionData: -toShift,\n children: [{\n type: \"elem\",\n elem: rootm\n }]\n }, options); // Add a class surrounding it so we can add on the appropriate\n // kerning\n\n const rootVListWrap = buildCommon.makeSpan([\"root\"], [rootVList]);\n return buildCommon.makeSpan([\"mord\", \"sqrt\"], [rootVListWrap, body], options);\n }\n },\n\n mathmlBuilder(group, options) {\n const {\n body,\n index\n } = group;\n return index ? new mathMLTree.MathNode(\"mroot\", [buildMathML_buildGroup(body, options), buildMathML_buildGroup(index, options)]) : new mathMLTree.MathNode(\"msqrt\", [buildMathML_buildGroup(body, options)]);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/styling.js\n\n\n\n\n\nconst styling_styleMap = {\n \"display\": src_Style.DISPLAY,\n \"text\": src_Style.TEXT,\n \"script\": src_Style.SCRIPT,\n \"scriptscript\": src_Style.SCRIPTSCRIPT\n};\ndefineFunction({\n type: \"styling\",\n names: [\"\\\\displaystyle\", \"\\\\textstyle\", \"\\\\scriptstyle\", \"\\\\scriptscriptstyle\"],\n props: {\n numArgs: 0,\n allowedInText: true,\n primitive: true\n },\n\n handler(_ref, args) {\n let {\n breakOnTokenText,\n funcName,\n parser\n } = _ref;\n // parse out the implicit body\n const body = parser.parseExpression(true, breakOnTokenText); // TODO: Refactor to avoid duplicating styleMap in multiple places (e.g.\n // here and in buildHTML and de-dupe the enumeration of all the styles).\n // $FlowFixMe: The names above exactly match the styles.\n\n const style = funcName.slice(1, funcName.length - 5);\n return {\n type: \"styling\",\n mode: parser.mode,\n // Figure out what style to use by pulling out the style from\n // the function name\n style,\n body\n };\n },\n\n htmlBuilder(group, options) {\n // Style changes are handled in the TeXbook on pg. 442, Rule 3.\n const newStyle = styling_styleMap[group.style];\n const newOptions = options.havingStyle(newStyle).withFont('');\n return sizingGroup(group.body, newOptions, options);\n },\n\n mathmlBuilder(group, options) {\n // Figure out what style we're changing to.\n const newStyle = styling_styleMap[group.style];\n const newOptions = options.havingStyle(newStyle);\n const inner = buildMathML_buildExpression(group.body, newOptions);\n const node = new mathMLTree.MathNode(\"mstyle\", inner);\n const styleAttributes = {\n \"display\": [\"0\", \"true\"],\n \"text\": [\"0\", \"false\"],\n \"script\": [\"1\", \"false\"],\n \"scriptscript\": [\"2\", \"false\"]\n };\n const attr = styleAttributes[group.style];\n node.setAttribute(\"scriptlevel\", attr[0]);\n node.setAttribute(\"displaystyle\", attr[1]);\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/supsub.js\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Sometimes, groups perform special rules when they have superscripts or\n * subscripts attached to them. This function lets the `supsub` group know that\n * Sometimes, groups perform special rules when they have superscripts or\n * its inner element should handle the superscripts and subscripts instead of\n * handling them itself.\n */\nconst htmlBuilderDelegate = function (group, options) {\n const base = group.base;\n\n if (!base) {\n return null;\n } else if (base.type === \"op\") {\n // Operators handle supsubs differently when they have limits\n // (e.g. `\\displaystyle\\sum_2^3`)\n const delegate = base.limits && (options.style.size === src_Style.DISPLAY.size || base.alwaysHandleSupSub);\n return delegate ? op_htmlBuilder : null;\n } else if (base.type === \"operatorname\") {\n const delegate = base.alwaysHandleSupSub && (options.style.size === src_Style.DISPLAY.size || base.limits);\n return delegate ? operatorname_htmlBuilder : null;\n } else if (base.type === \"accent\") {\n return utils.isCharacterBox(base.base) ? htmlBuilder : null;\n } else if (base.type === \"horizBrace\") {\n const isSup = !group.sub;\n return isSup === base.isOver ? horizBrace_htmlBuilder : null;\n } else {\n return null;\n }\n}; // Super scripts and subscripts, whose precise placement can depend on other\n// functions that precede them.\n\n\ndefineFunctionBuilders({\n type: \"supsub\",\n\n htmlBuilder(group, options) {\n // Superscript and subscripts are handled in the TeXbook on page\n // 445-446, rules 18(a-f).\n // Here is where we defer to the inner group if it should handle\n // superscripts and subscripts itself.\n const builderDelegate = htmlBuilderDelegate(group, options);\n\n if (builderDelegate) {\n return builderDelegate(group, options);\n }\n\n const {\n base: valueBase,\n sup: valueSup,\n sub: valueSub\n } = group;\n const base = buildGroup(valueBase, options);\n let supm;\n let subm;\n const metrics = options.fontMetrics(); // Rule 18a\n\n let supShift = 0;\n let subShift = 0;\n const isCharacterBox = valueBase && utils.isCharacterBox(valueBase);\n\n if (valueSup) {\n const newOptions = options.havingStyle(options.style.sup());\n supm = buildGroup(valueSup, newOptions, options);\n\n if (!isCharacterBox) {\n supShift = base.height - newOptions.fontMetrics().supDrop * newOptions.sizeMultiplier / options.sizeMultiplier;\n }\n }\n\n if (valueSub) {\n const newOptions = options.havingStyle(options.style.sub());\n subm = buildGroup(valueSub, newOptions, options);\n\n if (!isCharacterBox) {\n subShift = base.depth + newOptions.fontMetrics().subDrop * newOptions.sizeMultiplier / options.sizeMultiplier;\n }\n } // Rule 18c\n\n\n let minSupShift;\n\n if (options.style === src_Style.DISPLAY) {\n minSupShift = metrics.sup1;\n } else if (options.style.cramped) {\n minSupShift = metrics.sup3;\n } else {\n minSupShift = metrics.sup2;\n } // scriptspace is a font-size-independent size, so scale it\n // appropriately for use as the marginRight.\n\n\n const multiplier = options.sizeMultiplier;\n const marginRight = makeEm(0.5 / metrics.ptPerEm / multiplier);\n let marginLeft = null;\n\n if (subm) {\n // Subscripts shouldn't be shifted by the base's italic correction.\n // Account for that by shifting the subscript back the appropriate\n // amount. Note we only do this when the base is a single symbol.\n const isOiint = group.base && group.base.type === \"op\" && group.base.name && (group.base.name === \"\\\\oiint\" || group.base.name === \"\\\\oiiint\");\n\n if (base instanceof SymbolNode || isOiint) {\n // $FlowFixMe\n marginLeft = makeEm(-base.italic);\n }\n }\n\n let supsub;\n\n if (supm && subm) {\n supShift = Math.max(supShift, minSupShift, supm.depth + 0.25 * metrics.xHeight);\n subShift = Math.max(subShift, metrics.sub2);\n const ruleWidth = metrics.defaultRuleThickness; // Rule 18e\n\n const maxWidth = 4 * ruleWidth;\n\n if (supShift - supm.depth - (subm.height - subShift) < maxWidth) {\n subShift = maxWidth - (supShift - supm.depth) + subm.height;\n const psi = 0.8 * metrics.xHeight - (supShift - supm.depth);\n\n if (psi > 0) {\n supShift += psi;\n subShift -= psi;\n }\n }\n\n const vlistElem = [{\n type: \"elem\",\n elem: subm,\n shift: subShift,\n marginRight,\n marginLeft\n }, {\n type: \"elem\",\n elem: supm,\n shift: -supShift,\n marginRight\n }];\n supsub = buildCommon.makeVList({\n positionType: \"individualShift\",\n children: vlistElem\n }, options);\n } else if (subm) {\n // Rule 18b\n subShift = Math.max(subShift, metrics.sub1, subm.height - 0.8 * metrics.xHeight);\n const vlistElem = [{\n type: \"elem\",\n elem: subm,\n marginLeft,\n marginRight\n }];\n supsub = buildCommon.makeVList({\n positionType: \"shift\",\n positionData: subShift,\n children: vlistElem\n }, options);\n } else if (supm) {\n // Rule 18c, d\n supShift = Math.max(supShift, minSupShift, supm.depth + 0.25 * metrics.xHeight);\n supsub = buildCommon.makeVList({\n positionType: \"shift\",\n positionData: -supShift,\n children: [{\n type: \"elem\",\n elem: supm,\n marginRight\n }]\n }, options);\n } else {\n throw new Error(\"supsub must have either sup or sub.\");\n } // Wrap the supsub vlist in a span.msupsub to reset text-align.\n\n\n const mclass = getTypeOfDomTree(base, \"right\") || \"mord\";\n return buildCommon.makeSpan([mclass], [base, buildCommon.makeSpan([\"msupsub\"], [supsub])], options);\n },\n\n mathmlBuilder(group, options) {\n // Is the inner group a relevant horizonal brace?\n let isBrace = false;\n let isOver;\n let isSup;\n\n if (group.base && group.base.type === \"horizBrace\") {\n isSup = !!group.sup;\n\n if (isSup === group.base.isOver) {\n isBrace = true;\n isOver = group.base.isOver;\n }\n }\n\n if (group.base && (group.base.type === \"op\" || group.base.type === \"operatorname\")) {\n group.base.parentIsSupSub = true;\n }\n\n const children = [buildMathML_buildGroup(group.base, options)];\n\n if (group.sub) {\n children.push(buildMathML_buildGroup(group.sub, options));\n }\n\n if (group.sup) {\n children.push(buildMathML_buildGroup(group.sup, options));\n }\n\n let nodeType;\n\n if (isBrace) {\n nodeType = isOver ? \"mover\" : \"munder\";\n } else if (!group.sub) {\n const base = group.base;\n\n if (base && base.type === \"op\" && base.limits && (options.style === src_Style.DISPLAY || base.alwaysHandleSupSub)) {\n nodeType = \"mover\";\n } else if (base && base.type === \"operatorname\" && base.alwaysHandleSupSub && (base.limits || options.style === src_Style.DISPLAY)) {\n nodeType = \"mover\";\n } else {\n nodeType = \"msup\";\n }\n } else if (!group.sup) {\n const base = group.base;\n\n if (base && base.type === \"op\" && base.limits && (options.style === src_Style.DISPLAY || base.alwaysHandleSupSub)) {\n nodeType = \"munder\";\n } else if (base && base.type === \"operatorname\" && base.alwaysHandleSupSub && (base.limits || options.style === src_Style.DISPLAY)) {\n nodeType = \"munder\";\n } else {\n nodeType = \"msub\";\n }\n } else {\n const base = group.base;\n\n if (base && base.type === \"op\" && base.limits && options.style === src_Style.DISPLAY) {\n nodeType = \"munderover\";\n } else if (base && base.type === \"operatorname\" && base.alwaysHandleSupSub && (options.style === src_Style.DISPLAY || base.limits)) {\n nodeType = \"munderover\";\n } else {\n nodeType = \"msubsup\";\n }\n }\n\n return new mathMLTree.MathNode(nodeType, children);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/symbolsOp.js\n\n\n\n // Operator ParseNodes created in Parser.js from symbol Groups in src/symbols.js.\n\ndefineFunctionBuilders({\n type: \"atom\",\n\n htmlBuilder(group, options) {\n return buildCommon.mathsym(group.text, group.mode, options, [\"m\" + group.family]);\n },\n\n mathmlBuilder(group, options) {\n const node = new mathMLTree.MathNode(\"mo\", [makeText(group.text, group.mode)]);\n\n if (group.family === \"bin\") {\n const variant = getVariant(group, options);\n\n if (variant === \"bold-italic\") {\n node.setAttribute(\"mathvariant\", variant);\n }\n } else if (group.family === \"punct\") {\n node.setAttribute(\"separator\", \"true\");\n } else if (group.family === \"open\" || group.family === \"close\") {\n // Delims built here should not stretch vertically.\n // See delimsizing.js for stretchy delims.\n node.setAttribute(\"stretchy\", \"false\");\n }\n\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/symbolsOrd.js\n\n\n\n\n// \"mathord\" and \"textord\" ParseNodes created in Parser.js from symbol Groups in\n// src/symbols.js.\nconst defaultVariant = {\n \"mi\": \"italic\",\n \"mn\": \"normal\",\n \"mtext\": \"normal\"\n};\ndefineFunctionBuilders({\n type: \"mathord\",\n\n htmlBuilder(group, options) {\n return buildCommon.makeOrd(group, options, \"mathord\");\n },\n\n mathmlBuilder(group, options) {\n const node = new mathMLTree.MathNode(\"mi\", [makeText(group.text, group.mode, options)]);\n const variant = getVariant(group, options) || \"italic\";\n\n if (variant !== defaultVariant[node.type]) {\n node.setAttribute(\"mathvariant\", variant);\n }\n\n return node;\n }\n\n});\ndefineFunctionBuilders({\n type: \"textord\",\n\n htmlBuilder(group, options) {\n return buildCommon.makeOrd(group, options, \"textord\");\n },\n\n mathmlBuilder(group, options) {\n const text = makeText(group.text, group.mode, options);\n const variant = getVariant(group, options) || \"normal\";\n let node;\n\n if (group.mode === 'text') {\n node = new mathMLTree.MathNode(\"mtext\", [text]);\n } else if (/[0-9]/.test(group.text)) {\n node = new mathMLTree.MathNode(\"mn\", [text]);\n } else if (group.text === \"\\\\prime\") {\n node = new mathMLTree.MathNode(\"mo\", [text]);\n } else {\n node = new mathMLTree.MathNode(\"mi\", [text]);\n }\n\n if (variant !== defaultVariant[node.type]) {\n node.setAttribute(\"mathvariant\", variant);\n }\n\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/symbolsSpacing.js\n\n\n\n // A map of CSS-based spacing functions to their CSS class.\n\nconst cssSpace = {\n \"\\\\nobreak\": \"nobreak\",\n \"\\\\allowbreak\": \"allowbreak\"\n}; // A lookup table to determine whether a spacing function/symbol should be\n// treated like a regular space character. If a symbol or command is a key\n// in this table, then it should be a regular space character. Furthermore,\n// the associated value may have a `className` specifying an extra CSS class\n// to add to the created `span`.\n\nconst regularSpace = {\n \" \": {},\n \"\\\\ \": {},\n \"~\": {\n className: \"nobreak\"\n },\n \"\\\\space\": {},\n \"\\\\nobreakspace\": {\n className: \"nobreak\"\n }\n}; // ParseNode<\"spacing\"> created in Parser.js from the \"spacing\" symbol Groups in\n// src/symbols.js.\n\ndefineFunctionBuilders({\n type: \"spacing\",\n\n htmlBuilder(group, options) {\n if (regularSpace.hasOwnProperty(group.text)) {\n const className = regularSpace[group.text].className || \"\"; // Spaces are generated by adding an actual space. Each of these\n // things has an entry in the symbols table, so these will be turned\n // into appropriate outputs.\n\n if (group.mode === \"text\") {\n const ord = buildCommon.makeOrd(group, options, \"textord\");\n ord.classes.push(className);\n return ord;\n } else {\n return buildCommon.makeSpan([\"mspace\", className], [buildCommon.mathsym(group.text, group.mode, options)], options);\n }\n } else if (cssSpace.hasOwnProperty(group.text)) {\n // Spaces based on just a CSS class.\n return buildCommon.makeSpan([\"mspace\", cssSpace[group.text]], [], options);\n } else {\n throw new src_ParseError(\"Unknown type of space \\\"\" + group.text + \"\\\"\");\n }\n },\n\n mathmlBuilder(group, options) {\n let node;\n\n if (regularSpace.hasOwnProperty(group.text)) {\n node = new mathMLTree.MathNode(\"mtext\", [new mathMLTree.TextNode(\"\\u00a0\")]);\n } else if (cssSpace.hasOwnProperty(group.text)) {\n // CSS-based MathML spaces (\\nobreak, \\allowbreak) are ignored\n return new mathMLTree.MathNode(\"mspace\");\n } else {\n throw new src_ParseError(\"Unknown type of space \\\"\" + group.text + \"\\\"\");\n }\n\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/tag.js\n\n\n\n\nconst pad = () => {\n const padNode = new mathMLTree.MathNode(\"mtd\", []);\n padNode.setAttribute(\"width\", \"50%\");\n return padNode;\n};\n\ndefineFunctionBuilders({\n type: \"tag\",\n\n mathmlBuilder(group, options) {\n const table = new mathMLTree.MathNode(\"mtable\", [new mathMLTree.MathNode(\"mtr\", [pad(), new mathMLTree.MathNode(\"mtd\", [buildExpressionRow(group.body, options)]), pad(), new mathMLTree.MathNode(\"mtd\", [buildExpressionRow(group.tag, options)])])]);\n table.setAttribute(\"width\", \"100%\");\n return table; // TODO: Left-aligned tags.\n // Currently, the group and options passed here do not contain\n // enough info to set tag alignment. `leqno` is in Settings but it is\n // not passed to Options. On the HTML side, leqno is\n // set by a CSS class applied in buildTree.js. That would have worked\n // in MathML if browsers supported . Since they don't, we\n // need to rewrite the way this function is called.\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/text.js\n\n\n\n // Non-mathy text, possibly in a font\n\nconst textFontFamilies = {\n \"\\\\text\": undefined,\n \"\\\\textrm\": \"textrm\",\n \"\\\\textsf\": \"textsf\",\n \"\\\\texttt\": \"texttt\",\n \"\\\\textnormal\": \"textrm\"\n};\nconst textFontWeights = {\n \"\\\\textbf\": \"textbf\",\n \"\\\\textmd\": \"textmd\"\n};\nconst textFontShapes = {\n \"\\\\textit\": \"textit\",\n \"\\\\textup\": \"textup\"\n};\n\nconst optionsWithFont = (group, options) => {\n const font = group.font; // Checks if the argument is a font family or a font style.\n\n if (!font) {\n return options;\n } else if (textFontFamilies[font]) {\n return options.withTextFontFamily(textFontFamilies[font]);\n } else if (textFontWeights[font]) {\n return options.withTextFontWeight(textFontWeights[font]);\n } else if (font === \"\\\\emph\") {\n return options.fontShape === \"textit\" ? options.withTextFontShape(\"textup\") : options.withTextFontShape(\"textit\");\n }\n\n return options.withTextFontShape(textFontShapes[font]);\n};\n\ndefineFunction({\n type: \"text\",\n names: [// Font families\n \"\\\\text\", \"\\\\textrm\", \"\\\\textsf\", \"\\\\texttt\", \"\\\\textnormal\", // Font weights\n \"\\\\textbf\", \"\\\\textmd\", // Font Shapes\n \"\\\\textit\", \"\\\\textup\", \"\\\\emph\"],\n props: {\n numArgs: 1,\n argTypes: [\"text\"],\n allowedInArgument: true,\n allowedInText: true\n },\n\n handler(_ref, args) {\n let {\n parser,\n funcName\n } = _ref;\n const body = args[0];\n return {\n type: \"text\",\n mode: parser.mode,\n body: ordargument(body),\n font: funcName\n };\n },\n\n htmlBuilder(group, options) {\n const newOptions = optionsWithFont(group, options);\n const inner = buildExpression(group.body, newOptions, true);\n return buildCommon.makeSpan([\"mord\", \"text\"], inner, newOptions);\n },\n\n mathmlBuilder(group, options) {\n const newOptions = optionsWithFont(group, options);\n return buildExpressionRow(group.body, newOptions);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/underline.js\n\n\n\n\n\ndefineFunction({\n type: \"underline\",\n names: [\"\\\\underline\"],\n props: {\n numArgs: 1,\n allowedInText: true\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n return {\n type: \"underline\",\n mode: parser.mode,\n body: args[0]\n };\n },\n\n htmlBuilder(group, options) {\n // Underlines are handled in the TeXbook pg 443, Rule 10.\n // Build the inner group.\n const innerGroup = buildGroup(group.body, options); // Create the line to go below the body\n\n const line = buildCommon.makeLineSpan(\"underline-line\", options); // Generate the vlist, with the appropriate kerns\n\n const defaultRuleThickness = options.fontMetrics().defaultRuleThickness;\n const vlist = buildCommon.makeVList({\n positionType: \"top\",\n positionData: innerGroup.height,\n children: [{\n type: \"kern\",\n size: defaultRuleThickness\n }, {\n type: \"elem\",\n elem: line\n }, {\n type: \"kern\",\n size: 3 * defaultRuleThickness\n }, {\n type: \"elem\",\n elem: innerGroup\n }]\n }, options);\n return buildCommon.makeSpan([\"mord\", \"underline\"], [vlist], options);\n },\n\n mathmlBuilder(group, options) {\n const operator = new mathMLTree.MathNode(\"mo\", [new mathMLTree.TextNode(\"\\u203e\")]);\n operator.setAttribute(\"stretchy\", \"true\");\n const node = new mathMLTree.MathNode(\"munder\", [buildMathML_buildGroup(group.body, options), operator]);\n node.setAttribute(\"accentunder\", \"true\");\n return node;\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/vcenter.js\n\n\n\n\n // \\vcenter: Vertically center the argument group on the math axis.\n\ndefineFunction({\n type: \"vcenter\",\n names: [\"\\\\vcenter\"],\n props: {\n numArgs: 1,\n argTypes: [\"original\"],\n // In LaTeX, \\vcenter can act only on a box.\n allowedInText: false\n },\n\n handler(_ref, args) {\n let {\n parser\n } = _ref;\n return {\n type: \"vcenter\",\n mode: parser.mode,\n body: args[0]\n };\n },\n\n htmlBuilder(group, options) {\n const body = buildGroup(group.body, options);\n const axisHeight = options.fontMetrics().axisHeight;\n const dy = 0.5 * (body.height - axisHeight - (body.depth + axisHeight));\n return buildCommon.makeVList({\n positionType: \"shift\",\n positionData: dy,\n children: [{\n type: \"elem\",\n elem: body\n }]\n }, options);\n },\n\n mathmlBuilder(group, options) {\n // There is no way to do this in MathML.\n // Write a class as a breadcrumb in case some post-processor wants\n // to perform a vcenter adjustment.\n return new mathMLTree.MathNode(\"mpadded\", [buildMathML_buildGroup(group.body, options)], [\"vcenter\"]);\n }\n\n});\n;// CONCATENATED MODULE: ./src/functions/verb.js\n\n\n\n\ndefineFunction({\n type: \"verb\",\n names: [\"\\\\verb\"],\n props: {\n numArgs: 0,\n allowedInText: true\n },\n\n handler(context, args, optArgs) {\n // \\verb and \\verb* are dealt with directly in Parser.js.\n // If we end up here, it's because of a failure to match the two delimiters\n // in the regex in Lexer.js. LaTeX raises the following error when \\verb is\n // terminated by end of line (or file).\n throw new src_ParseError(\"\\\\verb ended by end of line instead of matching delimiter\");\n },\n\n htmlBuilder(group, options) {\n const text = makeVerb(group);\n const body = []; // \\verb enters text mode and therefore is sized like \\textstyle\n\n const newOptions = options.havingStyle(options.style.text());\n\n for (let i = 0; i < text.length; i++) {\n let c = text[i];\n\n if (c === '~') {\n c = '\\\\textasciitilde';\n }\n\n body.push(buildCommon.makeSymbol(c, \"Typewriter-Regular\", group.mode, newOptions, [\"mord\", \"texttt\"]));\n }\n\n return buildCommon.makeSpan([\"mord\", \"text\"].concat(newOptions.sizingClasses(options)), buildCommon.tryCombineChars(body), newOptions);\n },\n\n mathmlBuilder(group, options) {\n const text = new mathMLTree.TextNode(makeVerb(group));\n const node = new mathMLTree.MathNode(\"mtext\", [text]);\n node.setAttribute(\"mathvariant\", \"monospace\");\n return node;\n }\n\n});\n/**\n * Converts verb group into body string.\n *\n * \\verb* replaces each space with an open box \\u2423\n * \\verb replaces each space with a no-break space \\xA0\n */\n\nconst makeVerb = group => group.body.replace(/ /g, group.star ? '\\u2423' : '\\xA0');\n;// CONCATENATED MODULE: ./src/functions.js\n/** Include this to ensure that all functions are defined. */\n\nconst functions = _functions;\n/* harmony default export */ var src_functions = (functions); // TODO(kevinb): have functions return an object and call defineFunction with\n// that object in this file instead of relying on side-effects.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n;// CONCATENATED MODULE: ./src/Lexer.js\n/**\n * The Lexer class handles tokenizing the input in various ways. Since our\n * parser expects us to be able to backtrack, the lexer allows lexing from any\n * given starting point.\n *\n * Its main exposed function is the `lex` function, which takes a position to\n * lex from and a type of token to lex. It defers to the appropriate `_innerLex`\n * function.\n *\n * The various `_innerLex` functions perform the actual lexing of different\n * kinds.\n */\n\n\n\n\n/* The following tokenRegex\n * - matches typical whitespace (but not NBSP etc.) using its first group\n * - does not match any control character \\x00-\\x1f except whitespace\n * - does not match a bare backslash\n * - matches any ASCII character except those just mentioned\n * - does not match the BMP private use area \\uE000-\\uF8FF\n * - does not match bare surrogate code units\n * - matches any BMP character except for those just described\n * - matches any valid Unicode surrogate pair\n * - matches a backslash followed by one or more whitespace characters\n * - matches a backslash followed by one or more letters then whitespace\n * - matches a backslash followed by any BMP character\n * Capturing groups:\n * [1] regular whitespace\n * [2] backslash followed by whitespace\n * [3] anything else, which may include:\n * [4] left character of \\verb*\n * [5] left character of \\verb\n * [6] backslash followed by word, excluding any trailing whitespace\n * Just because the Lexer matches something doesn't mean it's valid input:\n * If there is no matching function or symbol definition, the Parser will\n * still reject the input.\n */\nconst spaceRegexString = \"[ \\r\\n\\t]\";\nconst controlWordRegexString = \"\\\\\\\\[a-zA-Z@]+\";\nconst controlSymbolRegexString = \"\\\\\\\\[^\\uD800-\\uDFFF]\";\nconst controlWordWhitespaceRegexString = \"(\" + controlWordRegexString + \")\" + spaceRegexString + \"*\";\nconst controlSpaceRegexString = \"\\\\\\\\(\\n|[ \\r\\t]+\\n?)[ \\r\\t]*\";\nconst combiningDiacriticalMarkString = \"[\\u0300-\\u036f]\";\nconst combiningDiacriticalMarksEndRegex = new RegExp(combiningDiacriticalMarkString + \"+$\");\nconst tokenRegexString = \"(\" + spaceRegexString + \"+)|\" + ( // whitespace\ncontrolSpaceRegexString + \"|\") + // \\whitespace\n\"([!-\\\\[\\\\]-\\u2027\\u202A-\\uD7FF\\uF900-\\uFFFF]\" + ( // single codepoint\ncombiningDiacriticalMarkString + \"*\") + // ...plus accents\n\"|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]\" + ( // surrogate pair\ncombiningDiacriticalMarkString + \"*\") + // ...plus accents\n\"|\\\\\\\\verb\\\\*([^]).*?\\\\4\" + // \\verb*\n\"|\\\\\\\\verb([^*a-zA-Z]).*?\\\\5\" + ( // \\verb unstarred\n\"|\" + controlWordWhitespaceRegexString) + ( // \\macroName + spaces\n\"|\" + controlSymbolRegexString + \")\"); // \\\\, \\', etc.\n\n/** Main Lexer class */\n\nclass Lexer {\n // Category codes. The lexer only supports comment characters (14) for now.\n // MacroExpander additionally distinguishes active (13).\n constructor(input, settings) {\n this.input = void 0;\n this.settings = void 0;\n this.tokenRegex = void 0;\n this.catcodes = void 0;\n // Separate accents from characters\n this.input = input;\n this.settings = settings;\n this.tokenRegex = new RegExp(tokenRegexString, 'g');\n this.catcodes = {\n \"%\": 14,\n // comment character\n \"~\": 13 // active character\n\n };\n }\n\n setCatcode(char, code) {\n this.catcodes[char] = code;\n }\n /**\n * This function lexes a single token.\n */\n\n\n lex() {\n const input = this.input;\n const pos = this.tokenRegex.lastIndex;\n\n if (pos === input.length) {\n return new Token(\"EOF\", new SourceLocation(this, pos, pos));\n }\n\n const match = this.tokenRegex.exec(input);\n\n if (match === null || match.index !== pos) {\n throw new src_ParseError(\"Unexpected character: '\" + input[pos] + \"'\", new Token(input[pos], new SourceLocation(this, pos, pos + 1)));\n }\n\n const text = match[6] || match[3] || (match[2] ? \"\\\\ \" : \" \");\n\n if (this.catcodes[text] === 14) {\n // comment character\n const nlIndex = input.indexOf('\\n', this.tokenRegex.lastIndex);\n\n if (nlIndex === -1) {\n this.tokenRegex.lastIndex = input.length; // EOF\n\n this.settings.reportNonstrict(\"commentAtEnd\", \"% comment has no terminating newline; LaTeX would \" + \"fail because of commenting the end of math mode (e.g. $)\");\n } else {\n this.tokenRegex.lastIndex = nlIndex + 1;\n }\n\n return this.lex();\n }\n\n return new Token(text, new SourceLocation(this, pos, this.tokenRegex.lastIndex));\n }\n\n}\n;// CONCATENATED MODULE: ./src/Namespace.js\n/**\n * A `Namespace` refers to a space of nameable things like macros or lengths,\n * which can be `set` either globally or local to a nested group, using an\n * undo stack similar to how TeX implements this functionality.\n * Performance-wise, `get` and local `set` take constant time, while global\n * `set` takes time proportional to the depth of group nesting.\n */\n\nclass Namespace {\n /**\n * Both arguments are optional. The first argument is an object of\n * built-in mappings which never change. The second argument is an object\n * of initial (global-level) mappings, which will constantly change\n * according to any global/top-level `set`s done.\n */\n constructor(builtins, globalMacros) {\n if (builtins === void 0) {\n builtins = {};\n }\n\n if (globalMacros === void 0) {\n globalMacros = {};\n }\n\n this.current = void 0;\n this.builtins = void 0;\n this.undefStack = void 0;\n this.current = globalMacros;\n this.builtins = builtins;\n this.undefStack = [];\n }\n /**\n * Start a new nested group, affecting future local `set`s.\n */\n\n\n beginGroup() {\n this.undefStack.push({});\n }\n /**\n * End current nested group, restoring values before the group began.\n */\n\n\n endGroup() {\n if (this.undefStack.length === 0) {\n throw new src_ParseError(\"Unbalanced namespace destruction: attempt \" + \"to pop global namespace; please report this as a bug\");\n }\n\n const undefs = this.undefStack.pop();\n\n for (const undef in undefs) {\n if (undefs.hasOwnProperty(undef)) {\n if (undefs[undef] == null) {\n delete this.current[undef];\n } else {\n this.current[undef] = undefs[undef];\n }\n }\n }\n }\n /**\n * Ends all currently nested groups (if any), restoring values before the\n * groups began. Useful in case of an error in the middle of parsing.\n */\n\n\n endGroups() {\n while (this.undefStack.length > 0) {\n this.endGroup();\n }\n }\n /**\n * Detect whether `name` has a definition. Equivalent to\n * `get(name) != null`.\n */\n\n\n has(name) {\n return this.current.hasOwnProperty(name) || this.builtins.hasOwnProperty(name);\n }\n /**\n * Get the current value of a name, or `undefined` if there is no value.\n *\n * Note: Do not use `if (namespace.get(...))` to detect whether a macro\n * is defined, as the definition may be the empty string which evaluates\n * to `false` in JavaScript. Use `if (namespace.get(...) != null)` or\n * `if (namespace.has(...))`.\n */\n\n\n get(name) {\n if (this.current.hasOwnProperty(name)) {\n return this.current[name];\n } else {\n return this.builtins[name];\n }\n }\n /**\n * Set the current value of a name, and optionally set it globally too.\n * Local set() sets the current value and (when appropriate) adds an undo\n * operation to the undo stack. Global set() may change the undo\n * operation at every level, so takes time linear in their number.\n * A value of undefined means to delete existing definitions.\n */\n\n\n set(name, value, global) {\n if (global === void 0) {\n global = false;\n }\n\n if (global) {\n // Global set is equivalent to setting in all groups. Simulate this\n // by destroying any undos currently scheduled for this name,\n // and adding an undo with the *new* value (in case it later gets\n // locally reset within this environment).\n for (let i = 0; i < this.undefStack.length; i++) {\n delete this.undefStack[i][name];\n }\n\n if (this.undefStack.length > 0) {\n this.undefStack[this.undefStack.length - 1][name] = value;\n }\n } else {\n // Undo this set at end of this group (possibly to `undefined`),\n // unless an undo is already in place, in which case that older\n // value is the correct one.\n const top = this.undefStack[this.undefStack.length - 1];\n\n if (top && !top.hasOwnProperty(name)) {\n top[name] = this.current[name];\n }\n }\n\n if (value == null) {\n delete this.current[name];\n } else {\n this.current[name] = value;\n }\n }\n\n}\n;// CONCATENATED MODULE: ./src/macros.js\n/**\n * Predefined macros for KaTeX.\n * This can be used to define some commands in terms of others.\n */\n// Export global macros object from defineMacro\n\nconst macros = _macros;\n/* harmony default export */ var src_macros = (macros);\n\n\n\n\n\n //////////////////////////////////////////////////////////////////////\n// macro tools\n\ndefineMacro(\"\\\\noexpand\", function (context) {\n // The expansion is the token itself; but that token is interpreted\n // as if its meaning were ‘\\relax’ if it is a control sequence that\n // would ordinarily be expanded by TeX’s expansion rules.\n const t = context.popToken();\n\n if (context.isExpandable(t.text)) {\n t.noexpand = true;\n t.treatAsRelax = true;\n }\n\n return {\n tokens: [t],\n numArgs: 0\n };\n});\ndefineMacro(\"\\\\expandafter\", function (context) {\n // TeX first reads the token that comes immediately after \\expandafter,\n // without expanding it; let’s call this token t. Then TeX reads the\n // token that comes after t (and possibly more tokens, if that token\n // has an argument), replacing it by its expansion. Finally TeX puts\n // t back in front of that expansion.\n const t = context.popToken();\n context.expandOnce(true); // expand only an expandable token\n\n return {\n tokens: [t],\n numArgs: 0\n };\n}); // LaTeX's \\@firstoftwo{#1}{#2} expands to #1, skipping #2\n// TeX source: \\long\\def\\@firstoftwo#1#2{#1}\n\ndefineMacro(\"\\\\@firstoftwo\", function (context) {\n const args = context.consumeArgs(2);\n return {\n tokens: args[0],\n numArgs: 0\n };\n}); // LaTeX's \\@secondoftwo{#1}{#2} expands to #2, skipping #1\n// TeX source: \\long\\def\\@secondoftwo#1#2{#2}\n\ndefineMacro(\"\\\\@secondoftwo\", function (context) {\n const args = context.consumeArgs(2);\n return {\n tokens: args[1],\n numArgs: 0\n };\n}); // LaTeX's \\@ifnextchar{#1}{#2}{#3} looks ahead to the next (unexpanded)\n// symbol that isn't a space, consuming any spaces but not consuming the\n// first nonspace character. If that nonspace character matches #1, then\n// the macro expands to #2; otherwise, it expands to #3.\n\ndefineMacro(\"\\\\@ifnextchar\", function (context) {\n const args = context.consumeArgs(3); // symbol, if, else\n\n context.consumeSpaces();\n const nextToken = context.future();\n\n if (args[0].length === 1 && args[0][0].text === nextToken.text) {\n return {\n tokens: args[1],\n numArgs: 0\n };\n } else {\n return {\n tokens: args[2],\n numArgs: 0\n };\n }\n}); // LaTeX's \\@ifstar{#1}{#2} looks ahead to the next (unexpanded) symbol.\n// If it is `*`, then it consumes the symbol, and the macro expands to #1;\n// otherwise, the macro expands to #2 (without consuming the symbol).\n// TeX source: \\def\\@ifstar#1{\\@ifnextchar *{\\@firstoftwo{#1}}}\n\ndefineMacro(\"\\\\@ifstar\", \"\\\\@ifnextchar *{\\\\@firstoftwo{#1}}\"); // LaTeX's \\TextOrMath{#1}{#2} expands to #1 in text mode, #2 in math mode\n\ndefineMacro(\"\\\\TextOrMath\", function (context) {\n const args = context.consumeArgs(2);\n\n if (context.mode === 'text') {\n return {\n tokens: args[0],\n numArgs: 0\n };\n } else {\n return {\n tokens: args[1],\n numArgs: 0\n };\n }\n}); // Lookup table for parsing numbers in base 8 through 16\n\nconst digitToNumber = {\n \"0\": 0,\n \"1\": 1,\n \"2\": 2,\n \"3\": 3,\n \"4\": 4,\n \"5\": 5,\n \"6\": 6,\n \"7\": 7,\n \"8\": 8,\n \"9\": 9,\n \"a\": 10,\n \"A\": 10,\n \"b\": 11,\n \"B\": 11,\n \"c\": 12,\n \"C\": 12,\n \"d\": 13,\n \"D\": 13,\n \"e\": 14,\n \"E\": 14,\n \"f\": 15,\n \"F\": 15\n}; // TeX \\char makes a literal character (catcode 12) using the following forms:\n// (see The TeXBook, p. 43)\n// \\char123 -- decimal\n// \\char'123 -- octal\n// \\char\"123 -- hex\n// \\char`x -- character that can be written (i.e. isn't active)\n// \\char`\\x -- character that cannot be written (e.g. %)\n// These all refer to characters from the font, so we turn them into special\n// calls to a function \\@char dealt with in the Parser.\n\ndefineMacro(\"\\\\char\", function (context) {\n let token = context.popToken();\n let base;\n let number = '';\n\n if (token.text === \"'\") {\n base = 8;\n token = context.popToken();\n } else if (token.text === '\"') {\n base = 16;\n token = context.popToken();\n } else if (token.text === \"`\") {\n token = context.popToken();\n\n if (token.text[0] === \"\\\\\") {\n number = token.text.charCodeAt(1);\n } else if (token.text === \"EOF\") {\n throw new src_ParseError(\"\\\\char` missing argument\");\n } else {\n number = token.text.charCodeAt(0);\n }\n } else {\n base = 10;\n }\n\n if (base) {\n // Parse a number in the given base, starting with first `token`.\n number = digitToNumber[token.text];\n\n if (number == null || number >= base) {\n throw new src_ParseError(\"Invalid base-\" + base + \" digit \" + token.text);\n }\n\n let digit;\n\n while ((digit = digitToNumber[context.future().text]) != null && digit < base) {\n number *= base;\n number += digit;\n context.popToken();\n }\n }\n\n return \"\\\\@char{\" + number + \"}\";\n}); // \\newcommand{\\macro}[args]{definition}\n// \\renewcommand{\\macro}[args]{definition}\n// TODO: Optional arguments: \\newcommand{\\macro}[args][default]{definition}\n\nconst newcommand = (context, existsOK, nonexistsOK) => {\n let arg = context.consumeArg().tokens;\n\n if (arg.length !== 1) {\n throw new src_ParseError(\"\\\\newcommand's first argument must be a macro name\");\n }\n\n const name = arg[0].text;\n const exists = context.isDefined(name);\n\n if (exists && !existsOK) {\n throw new src_ParseError(\"\\\\newcommand{\" + name + \"} attempting to redefine \" + (name + \"; use \\\\renewcommand\"));\n }\n\n if (!exists && !nonexistsOK) {\n throw new src_ParseError(\"\\\\renewcommand{\" + name + \"} when command \" + name + \" \" + \"does not yet exist; use \\\\newcommand\");\n }\n\n let numArgs = 0;\n arg = context.consumeArg().tokens;\n\n if (arg.length === 1 && arg[0].text === \"[\") {\n let argText = '';\n let token = context.expandNextToken();\n\n while (token.text !== \"]\" && token.text !== \"EOF\") {\n // TODO: Should properly expand arg, e.g., ignore {}s\n argText += token.text;\n token = context.expandNextToken();\n }\n\n if (!argText.match(/^\\s*[0-9]+\\s*$/)) {\n throw new src_ParseError(\"Invalid number of arguments: \" + argText);\n }\n\n numArgs = parseInt(argText);\n arg = context.consumeArg().tokens;\n } // Final arg is the expansion of the macro\n\n\n context.macros.set(name, {\n tokens: arg,\n numArgs\n });\n return '';\n};\n\ndefineMacro(\"\\\\newcommand\", context => newcommand(context, false, true));\ndefineMacro(\"\\\\renewcommand\", context => newcommand(context, true, false));\ndefineMacro(\"\\\\providecommand\", context => newcommand(context, true, true)); // terminal (console) tools\n\ndefineMacro(\"\\\\message\", context => {\n const arg = context.consumeArgs(1)[0]; // eslint-disable-next-line no-console\n\n console.log(arg.reverse().map(token => token.text).join(\"\"));\n return '';\n});\ndefineMacro(\"\\\\errmessage\", context => {\n const arg = context.consumeArgs(1)[0]; // eslint-disable-next-line no-console\n\n console.error(arg.reverse().map(token => token.text).join(\"\"));\n return '';\n});\ndefineMacro(\"\\\\show\", context => {\n const tok = context.popToken();\n const name = tok.text; // eslint-disable-next-line no-console\n\n console.log(tok, context.macros.get(name), src_functions[name], src_symbols.math[name], src_symbols.text[name]);\n return '';\n}); //////////////////////////////////////////////////////////////////////\n// Grouping\n// \\let\\bgroup={ \\let\\egroup=}\n\ndefineMacro(\"\\\\bgroup\", \"{\");\ndefineMacro(\"\\\\egroup\", \"}\"); // Symbols from latex.ltx:\n// \\def~{\\nobreakspace{}}\n// \\def\\lq{`}\n// \\def\\rq{'}\n// \\def \\aa {\\r a}\n// \\def \\AA {\\r A}\n\ndefineMacro(\"~\", \"\\\\nobreakspace\");\ndefineMacro(\"\\\\lq\", \"`\");\ndefineMacro(\"\\\\rq\", \"'\");\ndefineMacro(\"\\\\aa\", \"\\\\r a\");\ndefineMacro(\"\\\\AA\", \"\\\\r A\"); // Copyright (C) and registered (R) symbols. Use raw symbol in MathML.\n// \\DeclareTextCommandDefault{\\textcopyright}{\\textcircled{c}}\n// \\DeclareTextCommandDefault{\\textregistered}{\\textcircled{%\n// \\check@mathfonts\\fontsize\\sf@size\\z@\\math@fontsfalse\\selectfont R}}\n// \\DeclareRobustCommand{\\copyright}{%\n// \\ifmmode{\\nfss@text{\\textcopyright}}\\else\\textcopyright\\fi}\n\ndefineMacro(\"\\\\textcopyright\", \"\\\\html@mathml{\\\\textcircled{c}}{\\\\char`©}\");\ndefineMacro(\"\\\\copyright\", \"\\\\TextOrMath{\\\\textcopyright}{\\\\text{\\\\textcopyright}}\");\ndefineMacro(\"\\\\textregistered\", \"\\\\html@mathml{\\\\textcircled{\\\\scriptsize R}}{\\\\char`®}\"); // Characters omitted from Unicode range 1D400–1D7FF\n\ndefineMacro(\"\\u212C\", \"\\\\mathscr{B}\"); // script\n\ndefineMacro(\"\\u2130\", \"\\\\mathscr{E}\");\ndefineMacro(\"\\u2131\", \"\\\\mathscr{F}\");\ndefineMacro(\"\\u210B\", \"\\\\mathscr{H}\");\ndefineMacro(\"\\u2110\", \"\\\\mathscr{I}\");\ndefineMacro(\"\\u2112\", \"\\\\mathscr{L}\");\ndefineMacro(\"\\u2133\", \"\\\\mathscr{M}\");\ndefineMacro(\"\\u211B\", \"\\\\mathscr{R}\");\ndefineMacro(\"\\u212D\", \"\\\\mathfrak{C}\"); // Fraktur\n\ndefineMacro(\"\\u210C\", \"\\\\mathfrak{H}\");\ndefineMacro(\"\\u2128\", \"\\\\mathfrak{Z}\"); // Define \\Bbbk with a macro that works in both HTML and MathML.\n\ndefineMacro(\"\\\\Bbbk\", \"\\\\Bbb{k}\"); // Unicode middle dot\n// The KaTeX fonts do not contain U+00B7. Instead, \\cdotp displays\n// the dot at U+22C5 and gives it punct spacing.\n\ndefineMacro(\"\\u00b7\", \"\\\\cdotp\"); // \\llap and \\rlap render their contents in text mode\n\ndefineMacro(\"\\\\llap\", \"\\\\mathllap{\\\\textrm{#1}}\");\ndefineMacro(\"\\\\rlap\", \"\\\\mathrlap{\\\\textrm{#1}}\");\ndefineMacro(\"\\\\clap\", \"\\\\mathclap{\\\\textrm{#1}}\"); // \\mathstrut from the TeXbook, p 360\n\ndefineMacro(\"\\\\mathstrut\", \"\\\\vphantom{(}\"); // \\underbar from TeXbook p 353\n\ndefineMacro(\"\\\\underbar\", \"\\\\underline{\\\\text{#1}}\"); // \\not is defined by base/fontmath.ltx via\n// \\DeclareMathSymbol{\\not}{\\mathrel}{symbols}{\"36}\n// It's thus treated like a \\mathrel, but defined by a symbol that has zero\n// width but extends to the right. We use \\rlap to get that spacing.\n// For MathML we write U+0338 here. buildMathML.js will then do the overlay.\n\ndefineMacro(\"\\\\not\", '\\\\html@mathml{\\\\mathrel{\\\\mathrlap\\\\@not}}{\\\\char\"338}'); // Negated symbols from base/fontmath.ltx:\n// \\def\\neq{\\not=} \\let\\ne=\\neq\n// \\DeclareRobustCommand\n// \\notin{\\mathrel{\\m@th\\mathpalette\\c@ncel\\in}}\n// \\def\\c@ncel#1#2{\\m@th\\ooalign{$\\hfil#1\\mkern1mu/\\hfil$\\crcr$#1#2$}}\n\ndefineMacro(\"\\\\neq\", \"\\\\html@mathml{\\\\mathrel{\\\\not=}}{\\\\mathrel{\\\\char`≠}}\");\ndefineMacro(\"\\\\ne\", \"\\\\neq\");\ndefineMacro(\"\\u2260\", \"\\\\neq\");\ndefineMacro(\"\\\\notin\", \"\\\\html@mathml{\\\\mathrel{{\\\\in}\\\\mathllap{/\\\\mskip1mu}}}\" + \"{\\\\mathrel{\\\\char`∉}}\");\ndefineMacro(\"\\u2209\", \"\\\\notin\"); // Unicode stacked relations\n\ndefineMacro(\"\\u2258\", \"\\\\html@mathml{\" + \"\\\\mathrel{=\\\\kern{-1em}\\\\raisebox{0.4em}{$\\\\scriptsize\\\\frown$}}\" + \"}{\\\\mathrel{\\\\char`\\u2258}}\");\ndefineMacro(\"\\u2259\", \"\\\\html@mathml{\\\\stackrel{\\\\tiny\\\\wedge}{=}}{\\\\mathrel{\\\\char`\\u2258}}\");\ndefineMacro(\"\\u225A\", \"\\\\html@mathml{\\\\stackrel{\\\\tiny\\\\vee}{=}}{\\\\mathrel{\\\\char`\\u225A}}\");\ndefineMacro(\"\\u225B\", \"\\\\html@mathml{\\\\stackrel{\\\\scriptsize\\\\star}{=}}\" + \"{\\\\mathrel{\\\\char`\\u225B}}\");\ndefineMacro(\"\\u225D\", \"\\\\html@mathml{\\\\stackrel{\\\\tiny\\\\mathrm{def}}{=}}\" + \"{\\\\mathrel{\\\\char`\\u225D}}\");\ndefineMacro(\"\\u225E\", \"\\\\html@mathml{\\\\stackrel{\\\\tiny\\\\mathrm{m}}{=}}\" + \"{\\\\mathrel{\\\\char`\\u225E}}\");\ndefineMacro(\"\\u225F\", \"\\\\html@mathml{\\\\stackrel{\\\\tiny?}{=}}{\\\\mathrel{\\\\char`\\u225F}}\"); // Misc Unicode\n\ndefineMacro(\"\\u27C2\", \"\\\\perp\");\ndefineMacro(\"\\u203C\", \"\\\\mathclose{!\\\\mkern-0.8mu!}\");\ndefineMacro(\"\\u220C\", \"\\\\notni\");\ndefineMacro(\"\\u231C\", \"\\\\ulcorner\");\ndefineMacro(\"\\u231D\", \"\\\\urcorner\");\ndefineMacro(\"\\u231E\", \"\\\\llcorner\");\ndefineMacro(\"\\u231F\", \"\\\\lrcorner\");\ndefineMacro(\"\\u00A9\", \"\\\\copyright\");\ndefineMacro(\"\\u00AE\", \"\\\\textregistered\");\ndefineMacro(\"\\uFE0F\", \"\\\\textregistered\"); // The KaTeX fonts have corners at codepoints that don't match Unicode.\n// For MathML purposes, use the Unicode code point.\n\ndefineMacro(\"\\\\ulcorner\", \"\\\\html@mathml{\\\\@ulcorner}{\\\\mathop{\\\\char\\\"231c}}\");\ndefineMacro(\"\\\\urcorner\", \"\\\\html@mathml{\\\\@urcorner}{\\\\mathop{\\\\char\\\"231d}}\");\ndefineMacro(\"\\\\llcorner\", \"\\\\html@mathml{\\\\@llcorner}{\\\\mathop{\\\\char\\\"231e}}\");\ndefineMacro(\"\\\\lrcorner\", \"\\\\html@mathml{\\\\@lrcorner}{\\\\mathop{\\\\char\\\"231f}}\"); //////////////////////////////////////////////////////////////////////\n// LaTeX_2ε\n// \\vdots{\\vbox{\\baselineskip4\\p@ \\lineskiplimit\\z@\n// \\kern6\\p@\\hbox{.}\\hbox{.}\\hbox{.}}}\n// We'll call \\varvdots, which gets a glyph from symbols.js.\n// The zero-width rule gets us an equivalent to the vertical 6pt kern.\n\ndefineMacro(\"\\\\vdots\", \"\\\\mathord{\\\\varvdots\\\\rule{0pt}{15pt}}\");\ndefineMacro(\"\\u22ee\", \"\\\\vdots\"); //////////////////////////////////////////////////////////////////////\n// amsmath.sty\n// http://mirrors.concertpass.com/tex-archive/macros/latex/required/amsmath/amsmath.pdf\n// Italic Greek capital letters. AMS defines these with \\DeclareMathSymbol,\n// but they are equivalent to \\mathit{\\Letter}.\n\ndefineMacro(\"\\\\varGamma\", \"\\\\mathit{\\\\Gamma}\");\ndefineMacro(\"\\\\varDelta\", \"\\\\mathit{\\\\Delta}\");\ndefineMacro(\"\\\\varTheta\", \"\\\\mathit{\\\\Theta}\");\ndefineMacro(\"\\\\varLambda\", \"\\\\mathit{\\\\Lambda}\");\ndefineMacro(\"\\\\varXi\", \"\\\\mathit{\\\\Xi}\");\ndefineMacro(\"\\\\varPi\", \"\\\\mathit{\\\\Pi}\");\ndefineMacro(\"\\\\varSigma\", \"\\\\mathit{\\\\Sigma}\");\ndefineMacro(\"\\\\varUpsilon\", \"\\\\mathit{\\\\Upsilon}\");\ndefineMacro(\"\\\\varPhi\", \"\\\\mathit{\\\\Phi}\");\ndefineMacro(\"\\\\varPsi\", \"\\\\mathit{\\\\Psi}\");\ndefineMacro(\"\\\\varOmega\", \"\\\\mathit{\\\\Omega}\"); //\\newcommand{\\substack}[1]{\\subarray{c}#1\\endsubarray}\n\ndefineMacro(\"\\\\substack\", \"\\\\begin{subarray}{c}#1\\\\end{subarray}\"); // \\renewcommand{\\colon}{\\nobreak\\mskip2mu\\mathpunct{}\\nonscript\n// \\mkern-\\thinmuskip{:}\\mskip6muplus1mu\\relax}\n\ndefineMacro(\"\\\\colon\", \"\\\\nobreak\\\\mskip2mu\\\\mathpunct{}\" + \"\\\\mathchoice{\\\\mkern-3mu}{\\\\mkern-3mu}{}{}{:}\\\\mskip6mu\\\\relax\"); // \\newcommand{\\boxed}[1]{\\fbox{\\m@th$\\displaystyle#1$}}\n\ndefineMacro(\"\\\\boxed\", \"\\\\fbox{$\\\\displaystyle{#1}$}\"); // \\def\\iff{\\DOTSB\\;\\Longleftrightarrow\\;}\n// \\def\\implies{\\DOTSB\\;\\Longrightarrow\\;}\n// \\def\\impliedby{\\DOTSB\\;\\Longleftarrow\\;}\n\ndefineMacro(\"\\\\iff\", \"\\\\DOTSB\\\\;\\\\Longleftrightarrow\\\\;\");\ndefineMacro(\"\\\\implies\", \"\\\\DOTSB\\\\;\\\\Longrightarrow\\\\;\");\ndefineMacro(\"\\\\impliedby\", \"\\\\DOTSB\\\\;\\\\Longleftarrow\\\\;\"); // AMSMath's automatic \\dots, based on \\mdots@@ macro.\n\nconst dotsByToken = {\n ',': '\\\\dotsc',\n '\\\\not': '\\\\dotsb',\n // \\keybin@ checks for the following:\n '+': '\\\\dotsb',\n '=': '\\\\dotsb',\n '<': '\\\\dotsb',\n '>': '\\\\dotsb',\n '-': '\\\\dotsb',\n '*': '\\\\dotsb',\n ':': '\\\\dotsb',\n // Symbols whose definition starts with \\DOTSB:\n '\\\\DOTSB': '\\\\dotsb',\n '\\\\coprod': '\\\\dotsb',\n '\\\\bigvee': '\\\\dotsb',\n '\\\\bigwedge': '\\\\dotsb',\n '\\\\biguplus': '\\\\dotsb',\n '\\\\bigcap': '\\\\dotsb',\n '\\\\bigcup': '\\\\dotsb',\n '\\\\prod': '\\\\dotsb',\n '\\\\sum': '\\\\dotsb',\n '\\\\bigotimes': '\\\\dotsb',\n '\\\\bigoplus': '\\\\dotsb',\n '\\\\bigodot': '\\\\dotsb',\n '\\\\bigsqcup': '\\\\dotsb',\n '\\\\And': '\\\\dotsb',\n '\\\\longrightarrow': '\\\\dotsb',\n '\\\\Longrightarrow': '\\\\dotsb',\n '\\\\longleftarrow': '\\\\dotsb',\n '\\\\Longleftarrow': '\\\\dotsb',\n '\\\\longleftrightarrow': '\\\\dotsb',\n '\\\\Longleftrightarrow': '\\\\dotsb',\n '\\\\mapsto': '\\\\dotsb',\n '\\\\longmapsto': '\\\\dotsb',\n '\\\\hookrightarrow': '\\\\dotsb',\n '\\\\doteq': '\\\\dotsb',\n // Symbols whose definition starts with \\mathbin:\n '\\\\mathbin': '\\\\dotsb',\n // Symbols whose definition starts with \\mathrel:\n '\\\\mathrel': '\\\\dotsb',\n '\\\\relbar': '\\\\dotsb',\n '\\\\Relbar': '\\\\dotsb',\n '\\\\xrightarrow': '\\\\dotsb',\n '\\\\xleftarrow': '\\\\dotsb',\n // Symbols whose definition starts with \\DOTSI:\n '\\\\DOTSI': '\\\\dotsi',\n '\\\\int': '\\\\dotsi',\n '\\\\oint': '\\\\dotsi',\n '\\\\iint': '\\\\dotsi',\n '\\\\iiint': '\\\\dotsi',\n '\\\\iiiint': '\\\\dotsi',\n '\\\\idotsint': '\\\\dotsi',\n // Symbols whose definition starts with \\DOTSX:\n '\\\\DOTSX': '\\\\dotsx'\n};\ndefineMacro(\"\\\\dots\", function (context) {\n // TODO: If used in text mode, should expand to \\textellipsis.\n // However, in KaTeX, \\textellipsis and \\ldots behave the same\n // (in text mode), and it's unlikely we'd see any of the math commands\n // that affect the behavior of \\dots when in text mode. So fine for now\n // (until we support \\ifmmode ... \\else ... \\fi).\n let thedots = '\\\\dotso';\n const next = context.expandAfterFuture().text;\n\n if (next in dotsByToken) {\n thedots = dotsByToken[next];\n } else if (next.slice(0, 4) === '\\\\not') {\n thedots = '\\\\dotsb';\n } else if (next in src_symbols.math) {\n if (utils.contains(['bin', 'rel'], src_symbols.math[next].group)) {\n thedots = '\\\\dotsb';\n }\n }\n\n return thedots;\n});\nconst spaceAfterDots = {\n // \\rightdelim@ checks for the following:\n ')': true,\n ']': true,\n '\\\\rbrack': true,\n '\\\\}': true,\n '\\\\rbrace': true,\n '\\\\rangle': true,\n '\\\\rceil': true,\n '\\\\rfloor': true,\n '\\\\rgroup': true,\n '\\\\rmoustache': true,\n '\\\\right': true,\n '\\\\bigr': true,\n '\\\\biggr': true,\n '\\\\Bigr': true,\n '\\\\Biggr': true,\n // \\extra@ also tests for the following:\n '$': true,\n // \\extrap@ checks for the following:\n ';': true,\n '.': true,\n ',': true\n};\ndefineMacro(\"\\\\dotso\", function (context) {\n const next = context.future().text;\n\n if (next in spaceAfterDots) {\n return \"\\\\ldots\\\\,\";\n } else {\n return \"\\\\ldots\";\n }\n});\ndefineMacro(\"\\\\dotsc\", function (context) {\n const next = context.future().text; // \\dotsc uses \\extra@ but not \\extrap@, instead specially checking for\n // ';' and '.', but doesn't check for ','.\n\n if (next in spaceAfterDots && next !== ',') {\n return \"\\\\ldots\\\\,\";\n } else {\n return \"\\\\ldots\";\n }\n});\ndefineMacro(\"\\\\cdots\", function (context) {\n const next = context.future().text;\n\n if (next in spaceAfterDots) {\n return \"\\\\@cdots\\\\,\";\n } else {\n return \"\\\\@cdots\";\n }\n});\ndefineMacro(\"\\\\dotsb\", \"\\\\cdots\");\ndefineMacro(\"\\\\dotsm\", \"\\\\cdots\");\ndefineMacro(\"\\\\dotsi\", \"\\\\!\\\\cdots\"); // amsmath doesn't actually define \\dotsx, but \\dots followed by a macro\n// starting with \\DOTSX implies \\dotso, and then \\extra@ detects this case\n// and forces the added `\\,`.\n\ndefineMacro(\"\\\\dotsx\", \"\\\\ldots\\\\,\"); // \\let\\DOTSI\\relax\n// \\let\\DOTSB\\relax\n// \\let\\DOTSX\\relax\n\ndefineMacro(\"\\\\DOTSI\", \"\\\\relax\");\ndefineMacro(\"\\\\DOTSB\", \"\\\\relax\");\ndefineMacro(\"\\\\DOTSX\", \"\\\\relax\"); // Spacing, based on amsmath.sty's override of LaTeX defaults\n// \\DeclareRobustCommand{\\tmspace}[3]{%\n// \\ifmmode\\mskip#1#2\\else\\kern#1#3\\fi\\relax}\n\ndefineMacro(\"\\\\tmspace\", \"\\\\TextOrMath{\\\\kern#1#3}{\\\\mskip#1#2}\\\\relax\"); // \\renewcommand{\\,}{\\tmspace+\\thinmuskip{.1667em}}\n// TODO: math mode should use \\thinmuskip\n\ndefineMacro(\"\\\\,\", \"\\\\tmspace+{3mu}{.1667em}\"); // \\let\\thinspace\\,\n\ndefineMacro(\"\\\\thinspace\", \"\\\\,\"); // \\def\\>{\\mskip\\medmuskip}\n// \\renewcommand{\\:}{\\tmspace+\\medmuskip{.2222em}}\n// TODO: \\> and math mode of \\: should use \\medmuskip = 4mu plus 2mu minus 4mu\n\ndefineMacro(\"\\\\>\", \"\\\\mskip{4mu}\");\ndefineMacro(\"\\\\:\", \"\\\\tmspace+{4mu}{.2222em}\"); // \\let\\medspace\\:\n\ndefineMacro(\"\\\\medspace\", \"\\\\:\"); // \\renewcommand{\\;}{\\tmspace+\\thickmuskip{.2777em}}\n// TODO: math mode should use \\thickmuskip = 5mu plus 5mu\n\ndefineMacro(\"\\\\;\", \"\\\\tmspace+{5mu}{.2777em}\"); // \\let\\thickspace\\;\n\ndefineMacro(\"\\\\thickspace\", \"\\\\;\"); // \\renewcommand{\\!}{\\tmspace-\\thinmuskip{.1667em}}\n// TODO: math mode should use \\thinmuskip\n\ndefineMacro(\"\\\\!\", \"\\\\tmspace-{3mu}{.1667em}\"); // \\let\\negthinspace\\!\n\ndefineMacro(\"\\\\negthinspace\", \"\\\\!\"); // \\newcommand{\\negmedspace}{\\tmspace-\\medmuskip{.2222em}}\n// TODO: math mode should use \\medmuskip\n\ndefineMacro(\"\\\\negmedspace\", \"\\\\tmspace-{4mu}{.2222em}\"); // \\newcommand{\\negthickspace}{\\tmspace-\\thickmuskip{.2777em}}\n// TODO: math mode should use \\thickmuskip\n\ndefineMacro(\"\\\\negthickspace\", \"\\\\tmspace-{5mu}{.277em}\"); // \\def\\enspace{\\kern.5em }\n\ndefineMacro(\"\\\\enspace\", \"\\\\kern.5em \"); // \\def\\enskip{\\hskip.5em\\relax}\n\ndefineMacro(\"\\\\enskip\", \"\\\\hskip.5em\\\\relax\"); // \\def\\quad{\\hskip1em\\relax}\n\ndefineMacro(\"\\\\quad\", \"\\\\hskip1em\\\\relax\"); // \\def\\qquad{\\hskip2em\\relax}\n\ndefineMacro(\"\\\\qquad\", \"\\\\hskip2em\\\\relax\"); // \\tag@in@display form of \\tag\n\ndefineMacro(\"\\\\tag\", \"\\\\@ifstar\\\\tag@literal\\\\tag@paren\");\ndefineMacro(\"\\\\tag@paren\", \"\\\\tag@literal{({#1})}\");\ndefineMacro(\"\\\\tag@literal\", context => {\n if (context.macros.get(\"\\\\df@tag\")) {\n throw new src_ParseError(\"Multiple \\\\tag\");\n }\n\n return \"\\\\gdef\\\\df@tag{\\\\text{#1}}\";\n}); // \\renewcommand{\\bmod}{\\nonscript\\mskip-\\medmuskip\\mkern5mu\\mathbin\n// {\\operator@font mod}\\penalty900\n// \\mkern5mu\\nonscript\\mskip-\\medmuskip}\n// \\newcommand{\\pod}[1]{\\allowbreak\n// \\if@display\\mkern18mu\\else\\mkern8mu\\fi(#1)}\n// \\renewcommand{\\pmod}[1]{\\pod{{\\operator@font mod}\\mkern6mu#1}}\n// \\newcommand{\\mod}[1]{\\allowbreak\\if@display\\mkern18mu\n// \\else\\mkern12mu\\fi{\\operator@font mod}\\,\\,#1}\n// TODO: math mode should use \\medmuskip = 4mu plus 2mu minus 4mu\n\ndefineMacro(\"\\\\bmod\", \"\\\\mathchoice{\\\\mskip1mu}{\\\\mskip1mu}{\\\\mskip5mu}{\\\\mskip5mu}\" + \"\\\\mathbin{\\\\rm mod}\" + \"\\\\mathchoice{\\\\mskip1mu}{\\\\mskip1mu}{\\\\mskip5mu}{\\\\mskip5mu}\");\ndefineMacro(\"\\\\pod\", \"\\\\allowbreak\" + \"\\\\mathchoice{\\\\mkern18mu}{\\\\mkern8mu}{\\\\mkern8mu}{\\\\mkern8mu}(#1)\");\ndefineMacro(\"\\\\pmod\", \"\\\\pod{{\\\\rm mod}\\\\mkern6mu#1}\");\ndefineMacro(\"\\\\mod\", \"\\\\allowbreak\" + \"\\\\mathchoice{\\\\mkern18mu}{\\\\mkern12mu}{\\\\mkern12mu}{\\\\mkern12mu}\" + \"{\\\\rm mod}\\\\,\\\\,#1\"); //////////////////////////////////////////////////////////////////////\n// LaTeX source2e\n// \\expandafter\\let\\expandafter\\@normalcr\n// \\csname\\expandafter\\@gobble\\string\\\\ \\endcsname\n// \\DeclareRobustCommand\\newline{\\@normalcr\\relax}\n\ndefineMacro(\"\\\\newline\", \"\\\\\\\\\\\\relax\"); // \\def\\TeX{T\\kern-.1667em\\lower.5ex\\hbox{E}\\kern-.125emX\\@}\n// TODO: Doesn't normally work in math mode because \\@ fails. KaTeX doesn't\n// support \\@ yet, so that's omitted, and we add \\text so that the result\n// doesn't look funny in math mode.\n\ndefineMacro(\"\\\\TeX\", \"\\\\textrm{\\\\html@mathml{\" + \"T\\\\kern-.1667em\\\\raisebox{-.5ex}{E}\\\\kern-.125emX\" + \"}{TeX}}\"); // \\DeclareRobustCommand{\\LaTeX}{L\\kern-.36em%\n// {\\sbox\\z@ T%\n// \\vbox to\\ht\\z@{\\hbox{\\check@mathfonts\n// \\fontsize\\sf@size\\z@\n// \\math@fontsfalse\\selectfont\n// A}%\n// \\vss}%\n// }%\n// \\kern-.15em%\n// \\TeX}\n// This code aligns the top of the A with the T (from the perspective of TeX's\n// boxes, though visually the A appears to extend above slightly).\n// We compute the corresponding \\raisebox when A is rendered in \\normalsize\n// \\scriptstyle, which has a scale factor of 0.7 (see Options.js).\n\nconst latexRaiseA = makeEm(fontMetricsData[\"Main-Regular\"][\"T\".charCodeAt(0)][1] - 0.7 * fontMetricsData[\"Main-Regular\"][\"A\".charCodeAt(0)][1]);\ndefineMacro(\"\\\\LaTeX\", \"\\\\textrm{\\\\html@mathml{\" + (\"L\\\\kern-.36em\\\\raisebox{\" + latexRaiseA + \"}{\\\\scriptstyle A}\") + \"\\\\kern-.15em\\\\TeX}{LaTeX}}\"); // New KaTeX logo based on tweaking LaTeX logo\n\ndefineMacro(\"\\\\KaTeX\", \"\\\\textrm{\\\\html@mathml{\" + (\"K\\\\kern-.17em\\\\raisebox{\" + latexRaiseA + \"}{\\\\scriptstyle A}\") + \"\\\\kern-.15em\\\\TeX}{KaTeX}}\"); // \\DeclareRobustCommand\\hspace{\\@ifstar\\@hspacer\\@hspace}\n// \\def\\@hspace#1{\\hskip #1\\relax}\n// \\def\\@hspacer#1{\\vrule \\@width\\z@\\nobreak\n// \\hskip #1\\hskip \\z@skip}\n\ndefineMacro(\"\\\\hspace\", \"\\\\@ifstar\\\\@hspacer\\\\@hspace\");\ndefineMacro(\"\\\\@hspace\", \"\\\\hskip #1\\\\relax\");\ndefineMacro(\"\\\\@hspacer\", \"\\\\rule{0pt}{0pt}\\\\hskip #1\\\\relax\"); //////////////////////////////////////////////////////////////////////\n// mathtools.sty\n//\\providecommand\\ordinarycolon{:}\n\ndefineMacro(\"\\\\ordinarycolon\", \":\"); //\\def\\vcentcolon{\\mathrel{\\mathop\\ordinarycolon}}\n//TODO(edemaine): Not yet centered. Fix via \\raisebox or #726\n\ndefineMacro(\"\\\\vcentcolon\", \"\\\\mathrel{\\\\mathop\\\\ordinarycolon}\"); // \\providecommand*\\dblcolon{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}\n\ndefineMacro(\"\\\\dblcolon\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-.9mu}\\\\vcentcolon}}\" + \"{\\\\mathop{\\\\char\\\"2237}}\"); // \\providecommand*\\coloneqq{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}\n\ndefineMacro(\"\\\\coloneqq\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-1.2mu}=}}\" + \"{\\\\mathop{\\\\char\\\"2254}}\"); // ≔\n// \\providecommand*\\Coloneqq{\\dblcolon\\mathrel{\\mkern-1.2mu}=}\n\ndefineMacro(\"\\\\Coloneqq\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\dblcolon\\\\mathrel{\\\\mkern-1.2mu}=}}\" + \"{\\\\mathop{\\\\char\\\"2237\\\\char\\\"3d}}\"); // \\providecommand*\\coloneq{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}\n\ndefineMacro(\"\\\\coloneq\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\mathrel{-}}}\" + \"{\\\\mathop{\\\\char\\\"3a\\\\char\\\"2212}}\"); // \\providecommand*\\Coloneq{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}\n\ndefineMacro(\"\\\\Coloneq\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\dblcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\mathrel{-}}}\" + \"{\\\\mathop{\\\\char\\\"2237\\\\char\\\"2212}}\"); // \\providecommand*\\eqqcolon{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}\n\ndefineMacro(\"\\\\eqqcolon\", \"\\\\html@mathml{\" + \"\\\\mathrel{=\\\\mathrel{\\\\mkern-1.2mu}\\\\vcentcolon}}\" + \"{\\\\mathop{\\\\char\\\"2255}}\"); // ≕\n// \\providecommand*\\Eqqcolon{=\\mathrel{\\mkern-1.2mu}\\dblcolon}\n\ndefineMacro(\"\\\\Eqqcolon\", \"\\\\html@mathml{\" + \"\\\\mathrel{=\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}}\" + \"{\\\\mathop{\\\\char\\\"3d\\\\char\\\"2237}}\"); // \\providecommand*\\eqcolon{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}\n\ndefineMacro(\"\\\\eqcolon\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\mathrel{-}\\\\mathrel{\\\\mkern-1.2mu}\\\\vcentcolon}}\" + \"{\\\\mathop{\\\\char\\\"2239}}\"); // \\providecommand*\\Eqcolon{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}\n\ndefineMacro(\"\\\\Eqcolon\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\mathrel{-}\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}}\" + \"{\\\\mathop{\\\\char\\\"2212\\\\char\\\"2237}}\"); // \\providecommand*\\colonapprox{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}\n\ndefineMacro(\"\\\\colonapprox\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\approx}}\" + \"{\\\\mathop{\\\\char\\\"3a\\\\char\\\"2248}}\"); // \\providecommand*\\Colonapprox{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}\n\ndefineMacro(\"\\\\Colonapprox\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\dblcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\approx}}\" + \"{\\\\mathop{\\\\char\\\"2237\\\\char\\\"2248}}\"); // \\providecommand*\\colonsim{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}\n\ndefineMacro(\"\\\\colonsim\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\sim}}\" + \"{\\\\mathop{\\\\char\\\"3a\\\\char\\\"223c}}\"); // \\providecommand*\\Colonsim{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}\n\ndefineMacro(\"\\\\Colonsim\", \"\\\\html@mathml{\" + \"\\\\mathrel{\\\\dblcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\sim}}\" + \"{\\\\mathop{\\\\char\\\"2237\\\\char\\\"223c}}\"); // Some Unicode characters are implemented with macros to mathtools functions.\n\ndefineMacro(\"\\u2237\", \"\\\\dblcolon\"); // ::\n\ndefineMacro(\"\\u2239\", \"\\\\eqcolon\"); // -:\n\ndefineMacro(\"\\u2254\", \"\\\\coloneqq\"); // :=\n\ndefineMacro(\"\\u2255\", \"\\\\eqqcolon\"); // =:\n\ndefineMacro(\"\\u2A74\", \"\\\\Coloneqq\"); // ::=\n//////////////////////////////////////////////////////////////////////\n// colonequals.sty\n// Alternate names for mathtools's macros:\n\ndefineMacro(\"\\\\ratio\", \"\\\\vcentcolon\");\ndefineMacro(\"\\\\coloncolon\", \"\\\\dblcolon\");\ndefineMacro(\"\\\\colonequals\", \"\\\\coloneqq\");\ndefineMacro(\"\\\\coloncolonequals\", \"\\\\Coloneqq\");\ndefineMacro(\"\\\\equalscolon\", \"\\\\eqqcolon\");\ndefineMacro(\"\\\\equalscoloncolon\", \"\\\\Eqqcolon\");\ndefineMacro(\"\\\\colonminus\", \"\\\\coloneq\");\ndefineMacro(\"\\\\coloncolonminus\", \"\\\\Coloneq\");\ndefineMacro(\"\\\\minuscolon\", \"\\\\eqcolon\");\ndefineMacro(\"\\\\minuscoloncolon\", \"\\\\Eqcolon\"); // \\colonapprox name is same in mathtools and colonequals.\n\ndefineMacro(\"\\\\coloncolonapprox\", \"\\\\Colonapprox\"); // \\colonsim name is same in mathtools and colonequals.\n\ndefineMacro(\"\\\\coloncolonsim\", \"\\\\Colonsim\"); // Additional macros, implemented by analogy with mathtools definitions:\n\ndefineMacro(\"\\\\simcolon\", \"\\\\mathrel{\\\\sim\\\\mathrel{\\\\mkern-1.2mu}\\\\vcentcolon}\");\ndefineMacro(\"\\\\simcoloncolon\", \"\\\\mathrel{\\\\sim\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}\");\ndefineMacro(\"\\\\approxcolon\", \"\\\\mathrel{\\\\approx\\\\mathrel{\\\\mkern-1.2mu}\\\\vcentcolon}\");\ndefineMacro(\"\\\\approxcoloncolon\", \"\\\\mathrel{\\\\approx\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}\"); // Present in newtxmath, pxfonts and txfonts\n\ndefineMacro(\"\\\\notni\", \"\\\\html@mathml{\\\\not\\\\ni}{\\\\mathrel{\\\\char`\\u220C}}\");\ndefineMacro(\"\\\\limsup\", \"\\\\DOTSB\\\\operatorname*{lim\\\\,sup}\");\ndefineMacro(\"\\\\liminf\", \"\\\\DOTSB\\\\operatorname*{lim\\\\,inf}\"); //////////////////////////////////////////////////////////////////////\n// From amsopn.sty\n\ndefineMacro(\"\\\\injlim\", \"\\\\DOTSB\\\\operatorname*{inj\\\\,lim}\");\ndefineMacro(\"\\\\projlim\", \"\\\\DOTSB\\\\operatorname*{proj\\\\,lim}\");\ndefineMacro(\"\\\\varlimsup\", \"\\\\DOTSB\\\\operatorname*{\\\\overline{lim}}\");\ndefineMacro(\"\\\\varliminf\", \"\\\\DOTSB\\\\operatorname*{\\\\underline{lim}}\");\ndefineMacro(\"\\\\varinjlim\", \"\\\\DOTSB\\\\operatorname*{\\\\underrightarrow{lim}}\");\ndefineMacro(\"\\\\varprojlim\", \"\\\\DOTSB\\\\operatorname*{\\\\underleftarrow{lim}}\"); //////////////////////////////////////////////////////////////////////\n// MathML alternates for KaTeX glyphs in the Unicode private area\n\ndefineMacro(\"\\\\gvertneqq\", \"\\\\html@mathml{\\\\@gvertneqq}{\\u2269}\");\ndefineMacro(\"\\\\lvertneqq\", \"\\\\html@mathml{\\\\@lvertneqq}{\\u2268}\");\ndefineMacro(\"\\\\ngeqq\", \"\\\\html@mathml{\\\\@ngeqq}{\\u2271}\");\ndefineMacro(\"\\\\ngeqslant\", \"\\\\html@mathml{\\\\@ngeqslant}{\\u2271}\");\ndefineMacro(\"\\\\nleqq\", \"\\\\html@mathml{\\\\@nleqq}{\\u2270}\");\ndefineMacro(\"\\\\nleqslant\", \"\\\\html@mathml{\\\\@nleqslant}{\\u2270}\");\ndefineMacro(\"\\\\nshortmid\", \"\\\\html@mathml{\\\\@nshortmid}{∤}\");\ndefineMacro(\"\\\\nshortparallel\", \"\\\\html@mathml{\\\\@nshortparallel}{∦}\");\ndefineMacro(\"\\\\nsubseteqq\", \"\\\\html@mathml{\\\\@nsubseteqq}{\\u2288}\");\ndefineMacro(\"\\\\nsupseteqq\", \"\\\\html@mathml{\\\\@nsupseteqq}{\\u2289}\");\ndefineMacro(\"\\\\varsubsetneq\", \"\\\\html@mathml{\\\\@varsubsetneq}{⊊}\");\ndefineMacro(\"\\\\varsubsetneqq\", \"\\\\html@mathml{\\\\@varsubsetneqq}{⫋}\");\ndefineMacro(\"\\\\varsupsetneq\", \"\\\\html@mathml{\\\\@varsupsetneq}{⊋}\");\ndefineMacro(\"\\\\varsupsetneqq\", \"\\\\html@mathml{\\\\@varsupsetneqq}{⫌}\");\ndefineMacro(\"\\\\imath\", \"\\\\html@mathml{\\\\@imath}{\\u0131}\");\ndefineMacro(\"\\\\jmath\", \"\\\\html@mathml{\\\\@jmath}{\\u0237}\"); //////////////////////////////////////////////////////////////////////\n// stmaryrd and semantic\n// The stmaryrd and semantic packages render the next four items by calling a\n// glyph. Those glyphs do not exist in the KaTeX fonts. Hence the macros.\n\ndefineMacro(\"\\\\llbracket\", \"\\\\html@mathml{\" + \"\\\\mathopen{[\\\\mkern-3.2mu[}}\" + \"{\\\\mathopen{\\\\char`\\u27e6}}\");\ndefineMacro(\"\\\\rrbracket\", \"\\\\html@mathml{\" + \"\\\\mathclose{]\\\\mkern-3.2mu]}}\" + \"{\\\\mathclose{\\\\char`\\u27e7}}\");\ndefineMacro(\"\\u27e6\", \"\\\\llbracket\"); // blackboard bold [\n\ndefineMacro(\"\\u27e7\", \"\\\\rrbracket\"); // blackboard bold ]\n\ndefineMacro(\"\\\\lBrace\", \"\\\\html@mathml{\" + \"\\\\mathopen{\\\\{\\\\mkern-3.2mu[}}\" + \"{\\\\mathopen{\\\\char`\\u2983}}\");\ndefineMacro(\"\\\\rBrace\", \"\\\\html@mathml{\" + \"\\\\mathclose{]\\\\mkern-3.2mu\\\\}}}\" + \"{\\\\mathclose{\\\\char`\\u2984}}\");\ndefineMacro(\"\\u2983\", \"\\\\lBrace\"); // blackboard bold {\n\ndefineMacro(\"\\u2984\", \"\\\\rBrace\"); // blackboard bold }\n// TODO: Create variable sized versions of the last two items. I believe that\n// will require new font glyphs.\n// The stmaryrd function `\\minuso` provides a \"Plimsoll\" symbol that\n// superimposes the characters \\circ and \\mathminus. Used in chemistry.\n\ndefineMacro(\"\\\\minuso\", \"\\\\mathbin{\\\\html@mathml{\" + \"{\\\\mathrlap{\\\\mathchoice{\\\\kern{0.145em}}{\\\\kern{0.145em}}\" + \"{\\\\kern{0.1015em}}{\\\\kern{0.0725em}}\\\\circ}{-}}}\" + \"{\\\\char`⦵}}\");\ndefineMacro(\"⦵\", \"\\\\minuso\"); //////////////////////////////////////////////////////////////////////\n// texvc.sty\n// The texvc package contains macros available in mediawiki pages.\n// We omit the functions deprecated at\n// https://en.wikipedia.org/wiki/Help:Displaying_a_formula#Deprecated_syntax\n// We also omit texvc's \\O, which conflicts with \\text{\\O}\n\ndefineMacro(\"\\\\darr\", \"\\\\downarrow\");\ndefineMacro(\"\\\\dArr\", \"\\\\Downarrow\");\ndefineMacro(\"\\\\Darr\", \"\\\\Downarrow\");\ndefineMacro(\"\\\\lang\", \"\\\\langle\");\ndefineMacro(\"\\\\rang\", \"\\\\rangle\");\ndefineMacro(\"\\\\uarr\", \"\\\\uparrow\");\ndefineMacro(\"\\\\uArr\", \"\\\\Uparrow\");\ndefineMacro(\"\\\\Uarr\", \"\\\\Uparrow\");\ndefineMacro(\"\\\\N\", \"\\\\mathbb{N}\");\ndefineMacro(\"\\\\R\", \"\\\\mathbb{R}\");\ndefineMacro(\"\\\\Z\", \"\\\\mathbb{Z}\");\ndefineMacro(\"\\\\alef\", \"\\\\aleph\");\ndefineMacro(\"\\\\alefsym\", \"\\\\aleph\");\ndefineMacro(\"\\\\Alpha\", \"\\\\mathrm{A}\");\ndefineMacro(\"\\\\Beta\", \"\\\\mathrm{B}\");\ndefineMacro(\"\\\\bull\", \"\\\\bullet\");\ndefineMacro(\"\\\\Chi\", \"\\\\mathrm{X}\");\ndefineMacro(\"\\\\clubs\", \"\\\\clubsuit\");\ndefineMacro(\"\\\\cnums\", \"\\\\mathbb{C}\");\ndefineMacro(\"\\\\Complex\", \"\\\\mathbb{C}\");\ndefineMacro(\"\\\\Dagger\", \"\\\\ddagger\");\ndefineMacro(\"\\\\diamonds\", \"\\\\diamondsuit\");\ndefineMacro(\"\\\\empty\", \"\\\\emptyset\");\ndefineMacro(\"\\\\Epsilon\", \"\\\\mathrm{E}\");\ndefineMacro(\"\\\\Eta\", \"\\\\mathrm{H}\");\ndefineMacro(\"\\\\exist\", \"\\\\exists\");\ndefineMacro(\"\\\\harr\", \"\\\\leftrightarrow\");\ndefineMacro(\"\\\\hArr\", \"\\\\Leftrightarrow\");\ndefineMacro(\"\\\\Harr\", \"\\\\Leftrightarrow\");\ndefineMacro(\"\\\\hearts\", \"\\\\heartsuit\");\ndefineMacro(\"\\\\image\", \"\\\\Im\");\ndefineMacro(\"\\\\infin\", \"\\\\infty\");\ndefineMacro(\"\\\\Iota\", \"\\\\mathrm{I}\");\ndefineMacro(\"\\\\isin\", \"\\\\in\");\ndefineMacro(\"\\\\Kappa\", \"\\\\mathrm{K}\");\ndefineMacro(\"\\\\larr\", \"\\\\leftarrow\");\ndefineMacro(\"\\\\lArr\", \"\\\\Leftarrow\");\ndefineMacro(\"\\\\Larr\", \"\\\\Leftarrow\");\ndefineMacro(\"\\\\lrarr\", \"\\\\leftrightarrow\");\ndefineMacro(\"\\\\lrArr\", \"\\\\Leftrightarrow\");\ndefineMacro(\"\\\\Lrarr\", \"\\\\Leftrightarrow\");\ndefineMacro(\"\\\\Mu\", \"\\\\mathrm{M}\");\ndefineMacro(\"\\\\natnums\", \"\\\\mathbb{N}\");\ndefineMacro(\"\\\\Nu\", \"\\\\mathrm{N}\");\ndefineMacro(\"\\\\Omicron\", \"\\\\mathrm{O}\");\ndefineMacro(\"\\\\plusmn\", \"\\\\pm\");\ndefineMacro(\"\\\\rarr\", \"\\\\rightarrow\");\ndefineMacro(\"\\\\rArr\", \"\\\\Rightarrow\");\ndefineMacro(\"\\\\Rarr\", \"\\\\Rightarrow\");\ndefineMacro(\"\\\\real\", \"\\\\Re\");\ndefineMacro(\"\\\\reals\", \"\\\\mathbb{R}\");\ndefineMacro(\"\\\\Reals\", \"\\\\mathbb{R}\");\ndefineMacro(\"\\\\Rho\", \"\\\\mathrm{P}\");\ndefineMacro(\"\\\\sdot\", \"\\\\cdot\");\ndefineMacro(\"\\\\sect\", \"\\\\S\");\ndefineMacro(\"\\\\spades\", \"\\\\spadesuit\");\ndefineMacro(\"\\\\sub\", \"\\\\subset\");\ndefineMacro(\"\\\\sube\", \"\\\\subseteq\");\ndefineMacro(\"\\\\supe\", \"\\\\supseteq\");\ndefineMacro(\"\\\\Tau\", \"\\\\mathrm{T}\");\ndefineMacro(\"\\\\thetasym\", \"\\\\vartheta\"); // TODO: defineMacro(\"\\\\varcoppa\", \"\\\\\\mbox{\\\\coppa}\");\n\ndefineMacro(\"\\\\weierp\", \"\\\\wp\");\ndefineMacro(\"\\\\Zeta\", \"\\\\mathrm{Z}\"); //////////////////////////////////////////////////////////////////////\n// statmath.sty\n// https://ctan.math.illinois.edu/macros/latex/contrib/statmath/statmath.pdf\n\ndefineMacro(\"\\\\argmin\", \"\\\\DOTSB\\\\operatorname*{arg\\\\,min}\");\ndefineMacro(\"\\\\argmax\", \"\\\\DOTSB\\\\operatorname*{arg\\\\,max}\");\ndefineMacro(\"\\\\plim\", \"\\\\DOTSB\\\\mathop{\\\\operatorname{plim}}\\\\limits\"); //////////////////////////////////////////////////////////////////////\n// braket.sty\n// http://ctan.math.washington.edu/tex-archive/macros/latex/contrib/braket/braket.pdf\n\ndefineMacro(\"\\\\bra\", \"\\\\mathinner{\\\\langle{#1}|}\");\ndefineMacro(\"\\\\ket\", \"\\\\mathinner{|{#1}\\\\rangle}\");\ndefineMacro(\"\\\\braket\", \"\\\\mathinner{\\\\langle{#1}\\\\rangle}\");\ndefineMacro(\"\\\\Bra\", \"\\\\left\\\\langle#1\\\\right|\");\ndefineMacro(\"\\\\Ket\", \"\\\\left|#1\\\\right\\\\rangle\");\n\nconst braketHelper = one => context => {\n const left = context.consumeArg().tokens;\n const middle = context.consumeArg().tokens;\n const middleDouble = context.consumeArg().tokens;\n const right = context.consumeArg().tokens;\n const oldMiddle = context.macros.get(\"|\");\n const oldMiddleDouble = context.macros.get(\"\\\\|\");\n context.macros.beginGroup();\n\n const midMacro = double => context => {\n if (one) {\n // Only modify the first instance of | or \\|\n context.macros.set(\"|\", oldMiddle);\n\n if (middleDouble.length) {\n context.macros.set(\"\\\\|\", oldMiddleDouble);\n }\n }\n\n let doubled = double;\n\n if (!double && middleDouble.length) {\n // Mimic \\@ifnextchar\n const nextToken = context.future();\n\n if (nextToken.text === \"|\") {\n context.popToken();\n doubled = true;\n }\n }\n\n return {\n tokens: doubled ? middleDouble : middle,\n numArgs: 0\n };\n };\n\n context.macros.set(\"|\", midMacro(false));\n\n if (middleDouble.length) {\n context.macros.set(\"\\\\|\", midMacro(true));\n }\n\n const arg = context.consumeArg().tokens;\n const expanded = context.expandTokens([...right, ...arg, ...left // reversed\n ]);\n context.macros.endGroup();\n return {\n tokens: expanded.reverse(),\n numArgs: 0\n };\n};\n\ndefineMacro(\"\\\\bra@ket\", braketHelper(false));\ndefineMacro(\"\\\\bra@set\", braketHelper(true));\ndefineMacro(\"\\\\Braket\", \"\\\\bra@ket{\\\\left\\\\langle}\" + \"{\\\\,\\\\middle\\\\vert\\\\,}{\\\\,\\\\middle\\\\vert\\\\,}{\\\\right\\\\rangle}\");\ndefineMacro(\"\\\\Set\", \"\\\\bra@set{\\\\left\\\\{\\\\:}\" + \"{\\\\;\\\\middle\\\\vert\\\\;}{\\\\;\\\\middle\\\\Vert\\\\;}{\\\\:\\\\right\\\\}}\");\ndefineMacro(\"\\\\set\", \"\\\\bra@set{\\\\{\\\\,}{\\\\mid}{}{\\\\,\\\\}}\"); // has no support for special || or \\|\n//////////////////////////////////////////////////////////////////////\n// actuarialangle.dtx\n\ndefineMacro(\"\\\\angln\", \"{\\\\angl n}\"); // Custom Khan Academy colors, should be moved to an optional package\n\ndefineMacro(\"\\\\blue\", \"\\\\textcolor{##6495ed}{#1}\");\ndefineMacro(\"\\\\orange\", \"\\\\textcolor{##ffa500}{#1}\");\ndefineMacro(\"\\\\pink\", \"\\\\textcolor{##ff00af}{#1}\");\ndefineMacro(\"\\\\red\", \"\\\\textcolor{##df0030}{#1}\");\ndefineMacro(\"\\\\green\", \"\\\\textcolor{##28ae7b}{#1}\");\ndefineMacro(\"\\\\gray\", \"\\\\textcolor{gray}{#1}\");\ndefineMacro(\"\\\\purple\", \"\\\\textcolor{##9d38bd}{#1}\");\ndefineMacro(\"\\\\blueA\", \"\\\\textcolor{##ccfaff}{#1}\");\ndefineMacro(\"\\\\blueB\", \"\\\\textcolor{##80f6ff}{#1}\");\ndefineMacro(\"\\\\blueC\", \"\\\\textcolor{##63d9ea}{#1}\");\ndefineMacro(\"\\\\blueD\", \"\\\\textcolor{##11accd}{#1}\");\ndefineMacro(\"\\\\blueE\", \"\\\\textcolor{##0c7f99}{#1}\");\ndefineMacro(\"\\\\tealA\", \"\\\\textcolor{##94fff5}{#1}\");\ndefineMacro(\"\\\\tealB\", \"\\\\textcolor{##26edd5}{#1}\");\ndefineMacro(\"\\\\tealC\", \"\\\\textcolor{##01d1c1}{#1}\");\ndefineMacro(\"\\\\tealD\", \"\\\\textcolor{##01a995}{#1}\");\ndefineMacro(\"\\\\tealE\", \"\\\\textcolor{##208170}{#1}\");\ndefineMacro(\"\\\\greenA\", \"\\\\textcolor{##b6ffb0}{#1}\");\ndefineMacro(\"\\\\greenB\", \"\\\\textcolor{##8af281}{#1}\");\ndefineMacro(\"\\\\greenC\", \"\\\\textcolor{##74cf70}{#1}\");\ndefineMacro(\"\\\\greenD\", \"\\\\textcolor{##1fab54}{#1}\");\ndefineMacro(\"\\\\greenE\", \"\\\\textcolor{##0d923f}{#1}\");\ndefineMacro(\"\\\\goldA\", \"\\\\textcolor{##ffd0a9}{#1}\");\ndefineMacro(\"\\\\goldB\", \"\\\\textcolor{##ffbb71}{#1}\");\ndefineMacro(\"\\\\goldC\", \"\\\\textcolor{##ff9c39}{#1}\");\ndefineMacro(\"\\\\goldD\", \"\\\\textcolor{##e07d10}{#1}\");\ndefineMacro(\"\\\\goldE\", \"\\\\textcolor{##a75a05}{#1}\");\ndefineMacro(\"\\\\redA\", \"\\\\textcolor{##fca9a9}{#1}\");\ndefineMacro(\"\\\\redB\", \"\\\\textcolor{##ff8482}{#1}\");\ndefineMacro(\"\\\\redC\", \"\\\\textcolor{##f9685d}{#1}\");\ndefineMacro(\"\\\\redD\", \"\\\\textcolor{##e84d39}{#1}\");\ndefineMacro(\"\\\\redE\", \"\\\\textcolor{##bc2612}{#1}\");\ndefineMacro(\"\\\\maroonA\", \"\\\\textcolor{##ffbde0}{#1}\");\ndefineMacro(\"\\\\maroonB\", \"\\\\textcolor{##ff92c6}{#1}\");\ndefineMacro(\"\\\\maroonC\", \"\\\\textcolor{##ed5fa6}{#1}\");\ndefineMacro(\"\\\\maroonD\", \"\\\\textcolor{##ca337c}{#1}\");\ndefineMacro(\"\\\\maroonE\", \"\\\\textcolor{##9e034e}{#1}\");\ndefineMacro(\"\\\\purpleA\", \"\\\\textcolor{##ddd7ff}{#1}\");\ndefineMacro(\"\\\\purpleB\", \"\\\\textcolor{##c6b9fc}{#1}\");\ndefineMacro(\"\\\\purpleC\", \"\\\\textcolor{##aa87ff}{#1}\");\ndefineMacro(\"\\\\purpleD\", \"\\\\textcolor{##7854ab}{#1}\");\ndefineMacro(\"\\\\purpleE\", \"\\\\textcolor{##543b78}{#1}\");\ndefineMacro(\"\\\\mintA\", \"\\\\textcolor{##f5f9e8}{#1}\");\ndefineMacro(\"\\\\mintB\", \"\\\\textcolor{##edf2df}{#1}\");\ndefineMacro(\"\\\\mintC\", \"\\\\textcolor{##e0e5cc}{#1}\");\ndefineMacro(\"\\\\grayA\", \"\\\\textcolor{##f6f7f7}{#1}\");\ndefineMacro(\"\\\\grayB\", \"\\\\textcolor{##f0f1f2}{#1}\");\ndefineMacro(\"\\\\grayC\", \"\\\\textcolor{##e3e5e6}{#1}\");\ndefineMacro(\"\\\\grayD\", \"\\\\textcolor{##d6d8da}{#1}\");\ndefineMacro(\"\\\\grayE\", \"\\\\textcolor{##babec2}{#1}\");\ndefineMacro(\"\\\\grayF\", \"\\\\textcolor{##888d93}{#1}\");\ndefineMacro(\"\\\\grayG\", \"\\\\textcolor{##626569}{#1}\");\ndefineMacro(\"\\\\grayH\", \"\\\\textcolor{##3b3e40}{#1}\");\ndefineMacro(\"\\\\grayI\", \"\\\\textcolor{##21242c}{#1}\");\ndefineMacro(\"\\\\kaBlue\", \"\\\\textcolor{##314453}{#1}\");\ndefineMacro(\"\\\\kaGreen\", \"\\\\textcolor{##71B307}{#1}\");\n;// CONCATENATED MODULE: ./src/MacroExpander.js\n/**\n * This file contains the “gullet” where macros are expanded\n * until only non-macro tokens remain.\n */\n\n\n\n\n\n\n\n// List of commands that act like macros but aren't defined as a macro,\n// function, or symbol. Used in `isDefined`.\nconst implicitCommands = {\n \"^\": true,\n // Parser.js\n \"_\": true,\n // Parser.js\n \"\\\\limits\": true,\n // Parser.js\n \"\\\\nolimits\": true // Parser.js\n\n};\nclass MacroExpander {\n constructor(input, settings, mode) {\n this.settings = void 0;\n this.expansionCount = void 0;\n this.lexer = void 0;\n this.macros = void 0;\n this.stack = void 0;\n this.mode = void 0;\n this.settings = settings;\n this.expansionCount = 0;\n this.feed(input); // Make new global namespace\n\n this.macros = new Namespace(src_macros, settings.macros);\n this.mode = mode;\n this.stack = []; // contains tokens in REVERSE order\n }\n /**\n * Feed a new input string to the same MacroExpander\n * (with existing macros etc.).\n */\n\n\n feed(input) {\n this.lexer = new Lexer(input, this.settings);\n }\n /**\n * Switches between \"text\" and \"math\" modes.\n */\n\n\n switchMode(newMode) {\n this.mode = newMode;\n }\n /**\n * Start a new group nesting within all namespaces.\n */\n\n\n beginGroup() {\n this.macros.beginGroup();\n }\n /**\n * End current group nesting within all namespaces.\n */\n\n\n endGroup() {\n this.macros.endGroup();\n }\n /**\n * Ends all currently nested groups (if any), restoring values before the\n * groups began. Useful in case of an error in the middle of parsing.\n */\n\n\n endGroups() {\n this.macros.endGroups();\n }\n /**\n * Returns the topmost token on the stack, without expanding it.\n * Similar in behavior to TeX's `\\futurelet`.\n */\n\n\n future() {\n if (this.stack.length === 0) {\n this.pushToken(this.lexer.lex());\n }\n\n return this.stack[this.stack.length - 1];\n }\n /**\n * Remove and return the next unexpanded token.\n */\n\n\n popToken() {\n this.future(); // ensure non-empty stack\n\n return this.stack.pop();\n }\n /**\n * Add a given token to the token stack. In particular, this get be used\n * to put back a token returned from one of the other methods.\n */\n\n\n pushToken(token) {\n this.stack.push(token);\n }\n /**\n * Append an array of tokens to the token stack.\n */\n\n\n pushTokens(tokens) {\n this.stack.push(...tokens);\n }\n /**\n * Find an macro argument without expanding tokens and append the array of\n * tokens to the token stack. Uses Token as a container for the result.\n */\n\n\n scanArgument(isOptional) {\n let start;\n let end;\n let tokens;\n\n if (isOptional) {\n this.consumeSpaces(); // \\@ifnextchar gobbles any space following it\n\n if (this.future().text !== \"[\") {\n return null;\n }\n\n start = this.popToken(); // don't include [ in tokens\n\n ({\n tokens,\n end\n } = this.consumeArg([\"]\"]));\n } else {\n ({\n tokens,\n start,\n end\n } = this.consumeArg());\n } // indicate the end of an argument\n\n\n this.pushToken(new Token(\"EOF\", end.loc));\n this.pushTokens(tokens);\n return start.range(end, \"\");\n }\n /**\n * Consume all following space tokens, without expansion.\n */\n\n\n consumeSpaces() {\n for (;;) {\n const token = this.future();\n\n if (token.text === \" \") {\n this.stack.pop();\n } else {\n break;\n }\n }\n }\n /**\n * Consume an argument from the token stream, and return the resulting array\n * of tokens and start/end token.\n */\n\n\n consumeArg(delims) {\n // The argument for a delimited parameter is the shortest (possibly\n // empty) sequence of tokens with properly nested {...} groups that is\n // followed ... by this particular list of non-parameter tokens.\n // The argument for an undelimited parameter is the next nonblank\n // token, unless that token is ‘{’, when the argument will be the\n // entire {...} group that follows.\n const tokens = [];\n const isDelimited = delims && delims.length > 0;\n\n if (!isDelimited) {\n // Ignore spaces between arguments. As the TeXbook says:\n // \"After you have said ‘\\def\\row#1#2{...}’, you are allowed to\n // put spaces between the arguments (e.g., ‘\\row x n’), because\n // TeX doesn’t use single spaces as undelimited arguments.\"\n this.consumeSpaces();\n }\n\n const start = this.future();\n let tok;\n let depth = 0;\n let match = 0;\n\n do {\n tok = this.popToken();\n tokens.push(tok);\n\n if (tok.text === \"{\") {\n ++depth;\n } else if (tok.text === \"}\") {\n --depth;\n\n if (depth === -1) {\n throw new src_ParseError(\"Extra }\", tok);\n }\n } else if (tok.text === \"EOF\") {\n throw new src_ParseError(\"Unexpected end of input in a macro argument\" + \", expected '\" + (delims && isDelimited ? delims[match] : \"}\") + \"'\", tok);\n }\n\n if (delims && isDelimited) {\n if ((depth === 0 || depth === 1 && delims[match] === \"{\") && tok.text === delims[match]) {\n ++match;\n\n if (match === delims.length) {\n // don't include delims in tokens\n tokens.splice(-match, match);\n break;\n }\n } else {\n match = 0;\n }\n }\n } while (depth !== 0 || isDelimited); // If the argument found ... has the form ‘{}’,\n // ... the outermost braces enclosing the argument are removed\n\n\n if (start.text === \"{\" && tokens[tokens.length - 1].text === \"}\") {\n tokens.pop();\n tokens.shift();\n }\n\n tokens.reverse(); // to fit in with stack order\n\n return {\n tokens,\n start,\n end: tok\n };\n }\n /**\n * Consume the specified number of (delimited) arguments from the token\n * stream and return the resulting array of arguments.\n */\n\n\n consumeArgs(numArgs, delimiters) {\n if (delimiters) {\n if (delimiters.length !== numArgs + 1) {\n throw new src_ParseError(\"The length of delimiters doesn't match the number of args!\");\n }\n\n const delims = delimiters[0];\n\n for (let i = 0; i < delims.length; i++) {\n const tok = this.popToken();\n\n if (delims[i] !== tok.text) {\n throw new src_ParseError(\"Use of the macro doesn't match its definition\", tok);\n }\n }\n }\n\n const args = [];\n\n for (let i = 0; i < numArgs; i++) {\n args.push(this.consumeArg(delimiters && delimiters[i + 1]).tokens);\n }\n\n return args;\n }\n /**\n * Increment `expansionCount` by the specified amount.\n * Throw an error if it exceeds `maxExpand`.\n */\n\n\n countExpansion(amount) {\n this.expansionCount += amount;\n\n if (this.expansionCount > this.settings.maxExpand) {\n throw new src_ParseError(\"Too many expansions: infinite loop or \" + \"need to increase maxExpand setting\");\n }\n }\n /**\n * Expand the next token only once if possible.\n *\n * If the token is expanded, the resulting tokens will be pushed onto\n * the stack in reverse order, and the number of such tokens will be\n * returned. This number might be zero or positive.\n *\n * If not, the return value is `false`, and the next token remains at the\n * top of the stack.\n *\n * In either case, the next token will be on the top of the stack,\n * or the stack will be empty (in case of empty expansion\n * and no other tokens).\n *\n * Used to implement `expandAfterFuture` and `expandNextToken`.\n *\n * If expandableOnly, only expandable tokens are expanded and\n * an undefined control sequence results in an error.\n */\n\n\n expandOnce(expandableOnly) {\n const topToken = this.popToken();\n const name = topToken.text;\n const expansion = !topToken.noexpand ? this._getExpansion(name) : null;\n\n if (expansion == null || expandableOnly && expansion.unexpandable) {\n if (expandableOnly && expansion == null && name[0] === \"\\\\\" && !this.isDefined(name)) {\n throw new src_ParseError(\"Undefined control sequence: \" + name);\n }\n\n this.pushToken(topToken);\n return false;\n }\n\n this.countExpansion(1);\n let tokens = expansion.tokens;\n const args = this.consumeArgs(expansion.numArgs, expansion.delimiters);\n\n if (expansion.numArgs) {\n // paste arguments in place of the placeholders\n tokens = tokens.slice(); // make a shallow copy\n\n for (let i = tokens.length - 1; i >= 0; --i) {\n let tok = tokens[i];\n\n if (tok.text === \"#\") {\n if (i === 0) {\n throw new src_ParseError(\"Incomplete placeholder at end of macro body\", tok);\n }\n\n tok = tokens[--i]; // next token on stack\n\n if (tok.text === \"#\") {\n // ## → #\n tokens.splice(i + 1, 1); // drop first #\n } else if (/^[1-9]$/.test(tok.text)) {\n // replace the placeholder with the indicated argument\n tokens.splice(i, 2, ...args[+tok.text - 1]);\n } else {\n throw new src_ParseError(\"Not a valid argument number\", tok);\n }\n }\n }\n } // Concatenate expansion onto top of stack.\n\n\n this.pushTokens(tokens);\n return tokens.length;\n }\n /**\n * Expand the next token only once (if possible), and return the resulting\n * top token on the stack (without removing anything from the stack).\n * Similar in behavior to TeX's `\\expandafter\\futurelet`.\n * Equivalent to expandOnce() followed by future().\n */\n\n\n expandAfterFuture() {\n this.expandOnce();\n return this.future();\n }\n /**\n * Recursively expand first token, then return first non-expandable token.\n */\n\n\n expandNextToken() {\n for (;;) {\n if (this.expandOnce() === false) {\n // fully expanded\n const token = this.stack.pop(); // the token after \\noexpand is interpreted as if its meaning\n // were ‘\\relax’\n\n if (token.treatAsRelax) {\n token.text = \"\\\\relax\";\n }\n\n return token;\n }\n } // Flow unable to figure out that this pathway is impossible.\n // https://github.com/facebook/flow/issues/4808\n\n\n throw new Error(); // eslint-disable-line no-unreachable\n }\n /**\n * Fully expand the given macro name and return the resulting list of\n * tokens, or return `undefined` if no such macro is defined.\n */\n\n\n expandMacro(name) {\n return this.macros.has(name) ? this.expandTokens([new Token(name)]) : undefined;\n }\n /**\n * Fully expand the given token stream and return the resulting list of\n * tokens. Note that the input tokens are in reverse order, but the\n * output tokens are in forward order.\n */\n\n\n expandTokens(tokens) {\n const output = [];\n const oldStackLength = this.stack.length;\n this.pushTokens(tokens);\n\n while (this.stack.length > oldStackLength) {\n // Expand only expandable tokens\n if (this.expandOnce(true) === false) {\n // fully expanded\n const token = this.stack.pop();\n\n if (token.treatAsRelax) {\n // the expansion of \\noexpand is the token itself\n token.noexpand = false;\n token.treatAsRelax = false;\n }\n\n output.push(token);\n }\n } // Count all of these tokens as additional expansions, to prevent\n // exponential blowup from linearly many \\edef's.\n\n\n this.countExpansion(output.length);\n return output;\n }\n /**\n * Fully expand the given macro name and return the result as a string,\n * or return `undefined` if no such macro is defined.\n */\n\n\n expandMacroAsText(name) {\n const tokens = this.expandMacro(name);\n\n if (tokens) {\n return tokens.map(token => token.text).join(\"\");\n } else {\n return tokens;\n }\n }\n /**\n * Returns the expanded macro as a reversed array of tokens and a macro\n * argument count. Or returns `null` if no such macro.\n */\n\n\n _getExpansion(name) {\n const definition = this.macros.get(name);\n\n if (definition == null) {\n // mainly checking for undefined here\n return definition;\n } // If a single character has an associated catcode other than 13\n // (active character), then don't expand it.\n\n\n if (name.length === 1) {\n const catcode = this.lexer.catcodes[name];\n\n if (catcode != null && catcode !== 13) {\n return;\n }\n }\n\n const expansion = typeof definition === \"function\" ? definition(this) : definition;\n\n if (typeof expansion === \"string\") {\n let numArgs = 0;\n\n if (expansion.indexOf(\"#\") !== -1) {\n const stripped = expansion.replace(/##/g, \"\");\n\n while (stripped.indexOf(\"#\" + (numArgs + 1)) !== -1) {\n ++numArgs;\n }\n }\n\n const bodyLexer = new Lexer(expansion, this.settings);\n const tokens = [];\n let tok = bodyLexer.lex();\n\n while (tok.text !== \"EOF\") {\n tokens.push(tok);\n tok = bodyLexer.lex();\n }\n\n tokens.reverse(); // to fit in with stack using push and pop\n\n const expanded = {\n tokens,\n numArgs\n };\n return expanded;\n }\n\n return expansion;\n }\n /**\n * Determine whether a command is currently \"defined\" (has some\n * functionality), meaning that it's a macro (in the current group),\n * a function, a symbol, or one of the special commands listed in\n * `implicitCommands`.\n */\n\n\n isDefined(name) {\n return this.macros.has(name) || src_functions.hasOwnProperty(name) || src_symbols.math.hasOwnProperty(name) || src_symbols.text.hasOwnProperty(name) || implicitCommands.hasOwnProperty(name);\n }\n /**\n * Determine whether a command is expandable.\n */\n\n\n isExpandable(name) {\n const macro = this.macros.get(name);\n return macro != null ? typeof macro === \"string\" || typeof macro === \"function\" || !macro.unexpandable : src_functions.hasOwnProperty(name) && !src_functions[name].primitive;\n }\n\n}\n;// CONCATENATED MODULE: ./src/unicodeSupOrSub.js\n// Helpers for Parser.js handling of Unicode (sub|super)script characters.\nconst unicodeSubRegEx = /^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/;\nconst uSubsAndSups = Object.freeze({\n '₊': '+',\n '₋': '-',\n '₌': '=',\n '₍': '(',\n '₎': ')',\n '₀': '0',\n '₁': '1',\n '₂': '2',\n '₃': '3',\n '₄': '4',\n '₅': '5',\n '₆': '6',\n '₇': '7',\n '₈': '8',\n '₉': '9',\n '\\u2090': 'a',\n '\\u2091': 'e',\n '\\u2095': 'h',\n '\\u1D62': 'i',\n '\\u2C7C': 'j',\n '\\u2096': 'k',\n '\\u2097': 'l',\n '\\u2098': 'm',\n '\\u2099': 'n',\n '\\u2092': 'o',\n '\\u209A': 'p',\n '\\u1D63': 'r',\n '\\u209B': 's',\n '\\u209C': 't',\n '\\u1D64': 'u',\n '\\u1D65': 'v',\n '\\u2093': 'x',\n '\\u1D66': 'β',\n '\\u1D67': 'γ',\n '\\u1D68': 'ρ',\n '\\u1D69': '\\u03d5',\n '\\u1D6A': 'χ',\n '⁺': '+',\n '⁻': '-',\n '⁼': '=',\n '⁽': '(',\n '⁾': ')',\n '⁰': '0',\n '¹': '1',\n '²': '2',\n '³': '3',\n '⁴': '4',\n '⁵': '5',\n '⁶': '6',\n '⁷': '7',\n '⁸': '8',\n '⁹': '9',\n '\\u1D2C': 'A',\n '\\u1D2E': 'B',\n '\\u1D30': 'D',\n '\\u1D31': 'E',\n '\\u1D33': 'G',\n '\\u1D34': 'H',\n '\\u1D35': 'I',\n '\\u1D36': 'J',\n '\\u1D37': 'K',\n '\\u1D38': 'L',\n '\\u1D39': 'M',\n '\\u1D3A': 'N',\n '\\u1D3C': 'O',\n '\\u1D3E': 'P',\n '\\u1D3F': 'R',\n '\\u1D40': 'T',\n '\\u1D41': 'U',\n '\\u2C7D': 'V',\n '\\u1D42': 'W',\n '\\u1D43': 'a',\n '\\u1D47': 'b',\n '\\u1D9C': 'c',\n '\\u1D48': 'd',\n '\\u1D49': 'e',\n '\\u1DA0': 'f',\n '\\u1D4D': 'g',\n '\\u02B0': 'h',\n '\\u2071': 'i',\n '\\u02B2': 'j',\n '\\u1D4F': 'k',\n '\\u02E1': 'l',\n '\\u1D50': 'm',\n '\\u207F': 'n',\n '\\u1D52': 'o',\n '\\u1D56': 'p',\n '\\u02B3': 'r',\n '\\u02E2': 's',\n '\\u1D57': 't',\n '\\u1D58': 'u',\n '\\u1D5B': 'v',\n '\\u02B7': 'w',\n '\\u02E3': 'x',\n '\\u02B8': 'y',\n '\\u1DBB': 'z',\n '\\u1D5D': 'β',\n '\\u1D5E': 'γ',\n '\\u1D5F': 'δ',\n '\\u1D60': '\\u03d5',\n '\\u1D61': 'χ',\n '\\u1DBF': 'θ'\n});\n;// CONCATENATED MODULE: ./src/Parser.js\n/* eslint no-constant-condition:0 */\n\n\n\n\n\n\n\n\n\n\n // Pre-evaluate both modules as unicodeSymbols require String.normalize()\n\nconst unicodeAccents = {\n \"́\": {\n \"text\": \"\\\\'\",\n \"math\": \"\\\\acute\"\n },\n \"̀\": {\n \"text\": \"\\\\`\",\n \"math\": \"\\\\grave\"\n },\n \"̈\": {\n \"text\": \"\\\\\\\"\",\n \"math\": \"\\\\ddot\"\n },\n \"̃\": {\n \"text\": \"\\\\~\",\n \"math\": \"\\\\tilde\"\n },\n \"̄\": {\n \"text\": \"\\\\=\",\n \"math\": \"\\\\bar\"\n },\n \"̆\": {\n \"text\": \"\\\\u\",\n \"math\": \"\\\\breve\"\n },\n \"̌\": {\n \"text\": \"\\\\v\",\n \"math\": \"\\\\check\"\n },\n \"̂\": {\n \"text\": \"\\\\^\",\n \"math\": \"\\\\hat\"\n },\n \"̇\": {\n \"text\": \"\\\\.\",\n \"math\": \"\\\\dot\"\n },\n \"̊\": {\n \"text\": \"\\\\r\",\n \"math\": \"\\\\mathring\"\n },\n \"̋\": {\n \"text\": \"\\\\H\"\n },\n \"̧\": {\n \"text\": \"\\\\c\"\n }\n};\nconst unicodeSymbols = {\n \"á\": \"á\",\n \"à\": \"à\",\n \"ä\": \"ä\",\n \"ǟ\": \"ǟ\",\n \"ã\": \"ã\",\n \"ā\": \"ā\",\n \"ă\": \"ă\",\n \"ắ\": \"ắ\",\n \"ằ\": \"ằ\",\n \"ẵ\": \"ẵ\",\n \"ǎ\": \"ǎ\",\n \"â\": \"â\",\n \"ấ\": \"ấ\",\n \"ầ\": \"ầ\",\n \"ẫ\": \"ẫ\",\n \"ȧ\": \"ȧ\",\n \"ǡ\": \"ǡ\",\n \"å\": \"å\",\n \"ǻ\": \"ǻ\",\n \"ḃ\": \"ḃ\",\n \"ć\": \"ć\",\n \"ḉ\": \"ḉ\",\n \"č\": \"č\",\n \"ĉ\": \"ĉ\",\n \"ċ\": \"ċ\",\n \"ç\": \"ç\",\n \"ď\": \"ď\",\n \"ḋ\": \"ḋ\",\n \"ḑ\": \"ḑ\",\n \"é\": \"é\",\n \"è\": \"è\",\n \"ë\": \"ë\",\n \"ẽ\": \"ẽ\",\n \"ē\": \"ē\",\n \"ḗ\": \"ḗ\",\n \"ḕ\": \"ḕ\",\n \"ĕ\": \"ĕ\",\n \"ḝ\": \"ḝ\",\n \"ě\": \"ě\",\n \"ê\": \"ê\",\n \"ế\": \"ế\",\n \"ề\": \"ề\",\n \"ễ\": \"ễ\",\n \"ė\": \"ė\",\n \"ȩ\": \"ȩ\",\n \"ḟ\": \"ḟ\",\n \"ǵ\": \"ǵ\",\n \"ḡ\": \"ḡ\",\n \"ğ\": \"ğ\",\n \"ǧ\": \"ǧ\",\n \"ĝ\": \"ĝ\",\n \"ġ\": \"ġ\",\n \"ģ\": \"ģ\",\n \"ḧ\": \"ḧ\",\n \"ȟ\": \"ȟ\",\n \"ĥ\": \"ĥ\",\n \"ḣ\": \"ḣ\",\n \"ḩ\": \"ḩ\",\n \"í\": \"í\",\n \"ì\": \"ì\",\n \"ï\": \"ï\",\n \"ḯ\": \"ḯ\",\n \"ĩ\": \"ĩ\",\n \"ī\": \"ī\",\n \"ĭ\": \"ĭ\",\n \"ǐ\": \"ǐ\",\n \"î\": \"î\",\n \"ǰ\": \"ǰ\",\n \"ĵ\": \"ĵ\",\n \"ḱ\": \"ḱ\",\n \"ǩ\": \"ǩ\",\n \"ķ\": \"ķ\",\n \"ĺ\": \"ĺ\",\n \"ľ\": \"ľ\",\n \"ļ\": \"ļ\",\n \"ḿ\": \"ḿ\",\n \"ṁ\": \"ṁ\",\n \"ń\": \"ń\",\n \"ǹ\": \"ǹ\",\n \"ñ\": \"ñ\",\n \"ň\": \"ň\",\n \"ṅ\": \"ṅ\",\n \"ņ\": \"ņ\",\n \"ó\": \"ó\",\n \"ò\": \"ò\",\n \"ö\": \"ö\",\n \"ȫ\": \"ȫ\",\n \"õ\": \"õ\",\n \"ṍ\": \"ṍ\",\n \"ṏ\": \"ṏ\",\n \"ȭ\": \"ȭ\",\n \"ō\": \"ō\",\n \"ṓ\": \"ṓ\",\n \"ṑ\": \"ṑ\",\n \"ŏ\": \"ŏ\",\n \"ǒ\": \"ǒ\",\n \"ô\": \"ô\",\n \"ố\": \"ố\",\n \"ồ\": \"ồ\",\n \"ỗ\": \"ỗ\",\n \"ȯ\": \"ȯ\",\n \"ȱ\": \"ȱ\",\n \"ő\": \"ő\",\n \"ṕ\": \"ṕ\",\n \"ṗ\": \"ṗ\",\n \"ŕ\": \"ŕ\",\n \"ř\": \"ř\",\n \"ṙ\": \"ṙ\",\n \"ŗ\": \"ŗ\",\n \"ś\": \"ś\",\n \"ṥ\": \"ṥ\",\n \"š\": \"š\",\n \"ṧ\": \"ṧ\",\n \"ŝ\": \"ŝ\",\n \"ṡ\": \"ṡ\",\n \"ş\": \"ş\",\n \"ẗ\": \"ẗ\",\n \"ť\": \"ť\",\n \"ṫ\": \"ṫ\",\n \"ţ\": \"ţ\",\n \"ú\": \"ú\",\n \"ù\": \"ù\",\n \"ü\": \"ü\",\n \"ǘ\": \"ǘ\",\n \"ǜ\": \"ǜ\",\n \"ǖ\": \"ǖ\",\n \"ǚ\": \"ǚ\",\n \"ũ\": \"ũ\",\n \"ṹ\": \"ṹ\",\n \"ū\": \"ū\",\n \"ṻ\": \"ṻ\",\n \"ŭ\": \"ŭ\",\n \"ǔ\": \"ǔ\",\n \"û\": \"û\",\n \"ů\": \"ů\",\n \"ű\": \"ű\",\n \"ṽ\": \"ṽ\",\n \"ẃ\": \"ẃ\",\n \"ẁ\": \"ẁ\",\n \"ẅ\": \"ẅ\",\n \"ŵ\": \"ŵ\",\n \"ẇ\": \"ẇ\",\n \"ẘ\": \"ẘ\",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\n \"ᾱ\": \"ᾱ\",\n \"ᾰ\": \"ᾰ\",\n \"έ\": \"έ\",\n \"ὲ\": \"ὲ\",\n \"ή\": \"ή\",\n \"ὴ\": \"ὴ\",\n \"ί\": \"ί\",\n \"ὶ\": \"ὶ\",\n \"ϊ\": \"ϊ\",\n \"ΐ\": \"ΐ\",\n \"ῒ\": \"ῒ\",\n \"ῑ\": \"ῑ\",\n \"ῐ\": \"ῐ\",\n \"ό\": \"ό\",\n \"ὸ\": \"ὸ\",\n \"ύ\": \"ύ\",\n \"ὺ\": \"ὺ\",\n \"ϋ\": \"ϋ\",\n \"ΰ\": \"ΰ\",\n \"ῢ\": \"ῢ\",\n \"ῡ\": \"ῡ\",\n \"ῠ\": \"ῠ\",\n \"ώ\": \"ώ\",\n \"ὼ\": \"ὼ\",\n \"Ύ\": \"Ύ\",\n \"Ὺ\": \"Ὺ\",\n \"Ϋ\": \"Ϋ\",\n \"Ῡ\": \"Ῡ\",\n \"Ῠ\": \"Ῠ\",\n \"Ώ\": \"Ώ\",\n \"Ὼ\": \"Ὼ\"\n};\n\n/**\n * This file contains the parser used to parse out a TeX expression from the\n * input. Since TeX isn't context-free, standard parsers don't work particularly\n * well.\n *\n * The strategy of this parser is as such:\n *\n * The main functions (the `.parse...` ones) take a position in the current\n * parse string to parse tokens from. The lexer (found in Lexer.js, stored at\n * this.gullet.lexer) also supports pulling out tokens at arbitrary places. When\n * individual tokens are needed at a position, the lexer is called to pull out a\n * token, which is then used.\n *\n * The parser has a property called \"mode\" indicating the mode that\n * the parser is currently in. Currently it has to be one of \"math\" or\n * \"text\", which denotes whether the current environment is a math-y\n * one or a text-y one (e.g. inside \\text). Currently, this serves to\n * limit the functions which can be used in text mode.\n *\n * The main functions then return an object which contains the useful data that\n * was parsed at its given point, and a new position at the end of the parsed\n * data. The main functions can call each other and continue the parsing by\n * using the returned position as a new starting point.\n *\n * There are also extra `.handle...` functions, which pull out some reused\n * functionality into self-contained functions.\n *\n * The functions return ParseNodes.\n */\nclass Parser {\n constructor(input, settings) {\n this.mode = void 0;\n this.gullet = void 0;\n this.settings = void 0;\n this.leftrightDepth = void 0;\n this.nextToken = void 0;\n // Start in math mode\n this.mode = \"math\"; // Create a new macro expander (gullet) and (indirectly via that) also a\n // new lexer (mouth) for this parser (stomach, in the language of TeX)\n\n this.gullet = new MacroExpander(input, settings, this.mode); // Store the settings for use in parsing\n\n this.settings = settings; // Count leftright depth (for \\middle errors)\n\n this.leftrightDepth = 0;\n }\n /**\n * Checks a result to make sure it has the right type, and throws an\n * appropriate error otherwise.\n */\n\n\n expect(text, consume) {\n if (consume === void 0) {\n consume = true;\n }\n\n if (this.fetch().text !== text) {\n throw new src_ParseError(\"Expected '\" + text + \"', got '\" + this.fetch().text + \"'\", this.fetch());\n }\n\n if (consume) {\n this.consume();\n }\n }\n /**\n * Discards the current lookahead token, considering it consumed.\n */\n\n\n consume() {\n this.nextToken = null;\n }\n /**\n * Return the current lookahead token, or if there isn't one (at the\n * beginning, or if the previous lookahead token was consume()d),\n * fetch the next token as the new lookahead token and return it.\n */\n\n\n fetch() {\n if (this.nextToken == null) {\n this.nextToken = this.gullet.expandNextToken();\n }\n\n return this.nextToken;\n }\n /**\n * Switches between \"text\" and \"math\" modes.\n */\n\n\n switchMode(newMode) {\n this.mode = newMode;\n this.gullet.switchMode(newMode);\n }\n /**\n * Main parsing function, which parses an entire input.\n */\n\n\n parse() {\n if (!this.settings.globalGroup) {\n // Create a group namespace for the math expression.\n // (LaTeX creates a new group for every $...$, $$...$$, \\[...\\].)\n this.gullet.beginGroup();\n } // Use old \\color behavior (same as LaTeX's \\textcolor) if requested.\n // We do this within the group for the math expression, so it doesn't\n // pollute settings.macros.\n\n\n if (this.settings.colorIsTextColor) {\n this.gullet.macros.set(\"\\\\color\", \"\\\\textcolor\");\n }\n\n try {\n // Try to parse the input\n const parse = this.parseExpression(false); // If we succeeded, make sure there's an EOF at the end\n\n this.expect(\"EOF\"); // End the group namespace for the expression\n\n if (!this.settings.globalGroup) {\n this.gullet.endGroup();\n }\n\n return parse; // Close any leftover groups in case of a parse error.\n } finally {\n this.gullet.endGroups();\n }\n }\n /**\n * Fully parse a separate sequence of tokens as a separate job.\n * Tokens should be specified in reverse order, as in a MacroDefinition.\n */\n\n\n subparse(tokens) {\n // Save the next token from the current job.\n const oldToken = this.nextToken;\n this.consume(); // Run the new job, terminating it with an excess '}'\n\n this.gullet.pushToken(new Token(\"}\"));\n this.gullet.pushTokens(tokens);\n const parse = this.parseExpression(false);\n this.expect(\"}\"); // Restore the next token from the current job.\n\n this.nextToken = oldToken;\n return parse;\n }\n\n /**\n * Parses an \"expression\", which is a list of atoms.\n *\n * `breakOnInfix`: Should the parsing stop when we hit infix nodes? This\n * happens when functions have higher precedence han infix\n * nodes in implicit parses.\n *\n * `breakOnTokenText`: The text of the token that the expression should end\n * with, or `null` if something else should end the\n * expression.\n */\n parseExpression(breakOnInfix, breakOnTokenText) {\n const body = []; // Keep adding atoms to the body until we can't parse any more atoms (either\n // we reached the end, a }, or a \\right)\n\n while (true) {\n // Ignore spaces in math mode\n if (this.mode === \"math\") {\n this.consumeSpaces();\n }\n\n const lex = this.fetch();\n\n if (Parser.endOfExpression.indexOf(lex.text) !== -1) {\n break;\n }\n\n if (breakOnTokenText && lex.text === breakOnTokenText) {\n break;\n }\n\n if (breakOnInfix && src_functions[lex.text] && src_functions[lex.text].infix) {\n break;\n }\n\n const atom = this.parseAtom(breakOnTokenText);\n\n if (!atom) {\n break;\n } else if (atom.type === \"internal\") {\n continue;\n }\n\n body.push(atom);\n }\n\n if (this.mode === \"text\") {\n this.formLigatures(body);\n }\n\n return this.handleInfixNodes(body);\n }\n /**\n * Rewrites infix operators such as \\over with corresponding commands such\n * as \\frac.\n *\n * There can only be one infix operator per group. If there's more than one\n * then the expression is ambiguous. This can be resolved by adding {}.\n */\n\n\n handleInfixNodes(body) {\n let overIndex = -1;\n let funcName;\n\n for (let i = 0; i < body.length; i++) {\n if (body[i].type === \"infix\") {\n if (overIndex !== -1) {\n throw new src_ParseError(\"only one infix operator per group\", body[i].token);\n }\n\n overIndex = i;\n funcName = body[i].replaceWith;\n }\n }\n\n if (overIndex !== -1 && funcName) {\n let numerNode;\n let denomNode;\n const numerBody = body.slice(0, overIndex);\n const denomBody = body.slice(overIndex + 1);\n\n if (numerBody.length === 1 && numerBody[0].type === \"ordgroup\") {\n numerNode = numerBody[0];\n } else {\n numerNode = {\n type: \"ordgroup\",\n mode: this.mode,\n body: numerBody\n };\n }\n\n if (denomBody.length === 1 && denomBody[0].type === \"ordgroup\") {\n denomNode = denomBody[0];\n } else {\n denomNode = {\n type: \"ordgroup\",\n mode: this.mode,\n body: denomBody\n };\n }\n\n let node;\n\n if (funcName === \"\\\\\\\\abovefrac\") {\n node = this.callFunction(funcName, [numerNode, body[overIndex], denomNode], []);\n } else {\n node = this.callFunction(funcName, [numerNode, denomNode], []);\n }\n\n return [node];\n } else {\n return body;\n }\n }\n /**\n * Handle a subscript or superscript with nice errors.\n */\n\n\n handleSupSubscript(name // For error reporting.\n ) {\n const symbolToken = this.fetch();\n const symbol = symbolToken.text;\n this.consume();\n this.consumeSpaces(); // ignore spaces before sup/subscript argument\n\n const group = this.parseGroup(name);\n\n if (!group) {\n throw new src_ParseError(\"Expected group after '\" + symbol + \"'\", symbolToken);\n }\n\n return group;\n }\n /**\n * Converts the textual input of an unsupported command into a text node\n * contained within a color node whose color is determined by errorColor\n */\n\n\n formatUnsupportedCmd(text) {\n const textordArray = [];\n\n for (let i = 0; i < text.length; i++) {\n textordArray.push({\n type: \"textord\",\n mode: \"text\",\n text: text[i]\n });\n }\n\n const textNode = {\n type: \"text\",\n mode: this.mode,\n body: textordArray\n };\n const colorNode = {\n type: \"color\",\n mode: this.mode,\n color: this.settings.errorColor,\n body: [textNode]\n };\n return colorNode;\n }\n /**\n * Parses a group with optional super/subscripts.\n */\n\n\n parseAtom(breakOnTokenText) {\n // The body of an atom is an implicit group, so that things like\n // \\left(x\\right)^2 work correctly.\n const base = this.parseGroup(\"atom\", breakOnTokenText); // In text mode, we don't have superscripts or subscripts\n\n if (this.mode === \"text\") {\n return base;\n } // Note that base may be empty (i.e. null) at this point.\n\n\n let superscript;\n let subscript;\n\n while (true) {\n // Guaranteed in math mode, so eat any spaces first.\n this.consumeSpaces(); // Lex the first token\n\n const lex = this.fetch();\n\n if (lex.text === \"\\\\limits\" || lex.text === \"\\\\nolimits\") {\n // We got a limit control\n if (base && base.type === \"op\") {\n const limits = lex.text === \"\\\\limits\";\n base.limits = limits;\n base.alwaysHandleSupSub = true;\n } else if (base && base.type === \"operatorname\") {\n if (base.alwaysHandleSupSub) {\n base.limits = lex.text === \"\\\\limits\";\n }\n } else {\n throw new src_ParseError(\"Limit controls must follow a math operator\", lex);\n }\n\n this.consume();\n } else if (lex.text === \"^\") {\n // We got a superscript start\n if (superscript) {\n throw new src_ParseError(\"Double superscript\", lex);\n }\n\n superscript = this.handleSupSubscript(\"superscript\");\n } else if (lex.text === \"_\") {\n // We got a subscript start\n if (subscript) {\n throw new src_ParseError(\"Double subscript\", lex);\n }\n\n subscript = this.handleSupSubscript(\"subscript\");\n } else if (lex.text === \"'\") {\n // We got a prime\n if (superscript) {\n throw new src_ParseError(\"Double superscript\", lex);\n }\n\n const prime = {\n type: \"textord\",\n mode: this.mode,\n text: \"\\\\prime\"\n }; // Many primes can be grouped together, so we handle this here\n\n const primes = [prime];\n this.consume(); // Keep lexing tokens until we get something that's not a prime\n\n while (this.fetch().text === \"'\") {\n // For each one, add another prime to the list\n primes.push(prime);\n this.consume();\n } // If there's a superscript following the primes, combine that\n // superscript in with the primes.\n\n\n if (this.fetch().text === \"^\") {\n primes.push(this.handleSupSubscript(\"superscript\"));\n } // Put everything into an ordgroup as the superscript\n\n\n superscript = {\n type: \"ordgroup\",\n mode: this.mode,\n body: primes\n };\n } else if (uSubsAndSups[lex.text]) {\n // A Unicode subscript or superscript character.\n // We treat these similarly to the unicode-math package.\n // So we render a string of Unicode (sub|super)scripts the\n // same as a (sub|super)script of regular characters.\n const isSub = unicodeSubRegEx.test(lex.text);\n const subsupTokens = [];\n subsupTokens.push(new Token(uSubsAndSups[lex.text]));\n this.consume(); // Continue fetching tokens to fill out the string.\n\n while (true) {\n const token = this.fetch().text;\n\n if (!uSubsAndSups[token]) {\n break;\n }\n\n if (unicodeSubRegEx.test(token) !== isSub) {\n break;\n }\n\n subsupTokens.unshift(new Token(uSubsAndSups[token]));\n this.consume();\n } // Now create a (sub|super)script.\n\n\n const body = this.subparse(subsupTokens);\n\n if (isSub) {\n subscript = {\n type: \"ordgroup\",\n mode: \"math\",\n body\n };\n } else {\n superscript = {\n type: \"ordgroup\",\n mode: \"math\",\n body\n };\n }\n } else {\n // If it wasn't ^, _, or ', stop parsing super/subscripts\n break;\n }\n } // Base must be set if superscript or subscript are set per logic above,\n // but need to check here for type check to pass.\n\n\n if (superscript || subscript) {\n // If we got either a superscript or subscript, create a supsub\n return {\n type: \"supsub\",\n mode: this.mode,\n base: base,\n sup: superscript,\n sub: subscript\n };\n } else {\n // Otherwise return the original body\n return base;\n }\n }\n /**\n * Parses an entire function, including its base and all of its arguments.\n */\n\n\n parseFunction(breakOnTokenText, name // For determining its context\n ) {\n const token = this.fetch();\n const func = token.text;\n const funcData = src_functions[func];\n\n if (!funcData) {\n return null;\n }\n\n this.consume(); // consume command token\n\n if (name && name !== \"atom\" && !funcData.allowedInArgument) {\n throw new src_ParseError(\"Got function '\" + func + \"' with no arguments\" + (name ? \" as \" + name : \"\"), token);\n } else if (this.mode === \"text\" && !funcData.allowedInText) {\n throw new src_ParseError(\"Can't use function '\" + func + \"' in text mode\", token);\n } else if (this.mode === \"math\" && funcData.allowedInMath === false) {\n throw new src_ParseError(\"Can't use function '\" + func + \"' in math mode\", token);\n }\n\n const {\n args,\n optArgs\n } = this.parseArguments(func, funcData);\n return this.callFunction(func, args, optArgs, token, breakOnTokenText);\n }\n /**\n * Call a function handler with a suitable context and arguments.\n */\n\n\n callFunction(name, args, optArgs, token, breakOnTokenText) {\n const context = {\n funcName: name,\n parser: this,\n token,\n breakOnTokenText\n };\n const func = src_functions[name];\n\n if (func && func.handler) {\n return func.handler(context, args, optArgs);\n } else {\n throw new src_ParseError(\"No function handler for \" + name);\n }\n }\n /**\n * Parses the arguments of a function or environment\n */\n\n\n parseArguments(func, // Should look like \"\\name\" or \"\\begin{name}\".\n funcData) {\n const totalArgs = funcData.numArgs + funcData.numOptionalArgs;\n\n if (totalArgs === 0) {\n return {\n args: [],\n optArgs: []\n };\n }\n\n const args = [];\n const optArgs = [];\n\n for (let i = 0; i < totalArgs; i++) {\n let argType = funcData.argTypes && funcData.argTypes[i];\n const isOptional = i < funcData.numOptionalArgs;\n\n if (funcData.primitive && argType == null || // \\sqrt expands into primitive if optional argument doesn't exist\n funcData.type === \"sqrt\" && i === 1 && optArgs[0] == null) {\n argType = \"primitive\";\n }\n\n const arg = this.parseGroupOfType(\"argument to '\" + func + \"'\", argType, isOptional);\n\n if (isOptional) {\n optArgs.push(arg);\n } else if (arg != null) {\n args.push(arg);\n } else {\n // should be unreachable\n throw new src_ParseError(\"Null argument, please report this as a bug\");\n }\n }\n\n return {\n args,\n optArgs\n };\n }\n /**\n * Parses a group when the mode is changing.\n */\n\n\n parseGroupOfType(name, type, optional) {\n switch (type) {\n case \"color\":\n return this.parseColorGroup(optional);\n\n case \"size\":\n return this.parseSizeGroup(optional);\n\n case \"url\":\n return this.parseUrlGroup(optional);\n\n case \"math\":\n case \"text\":\n return this.parseArgumentGroup(optional, type);\n\n case \"hbox\":\n {\n // hbox argument type wraps the argument in the equivalent of\n // \\hbox, which is like \\text but switching to \\textstyle size.\n const group = this.parseArgumentGroup(optional, \"text\");\n return group != null ? {\n type: \"styling\",\n mode: group.mode,\n body: [group],\n style: \"text\" // simulate \\textstyle\n\n } : null;\n }\n\n case \"raw\":\n {\n const token = this.parseStringGroup(\"raw\", optional);\n return token != null ? {\n type: \"raw\",\n mode: \"text\",\n string: token.text\n } : null;\n }\n\n case \"primitive\":\n {\n if (optional) {\n throw new src_ParseError(\"A primitive argument cannot be optional\");\n }\n\n const group = this.parseGroup(name);\n\n if (group == null) {\n throw new src_ParseError(\"Expected group as \" + name, this.fetch());\n }\n\n return group;\n }\n\n case \"original\":\n case null:\n case undefined:\n return this.parseArgumentGroup(optional);\n\n default:\n throw new src_ParseError(\"Unknown group type as \" + name, this.fetch());\n }\n }\n /**\n * Discard any space tokens, fetching the next non-space token.\n */\n\n\n consumeSpaces() {\n while (this.fetch().text === \" \") {\n this.consume();\n }\n }\n /**\n * Parses a group, essentially returning the string formed by the\n * brace-enclosed tokens plus some position information.\n */\n\n\n parseStringGroup(modeName, // Used to describe the mode in error messages.\n optional) {\n const argToken = this.gullet.scanArgument(optional);\n\n if (argToken == null) {\n return null;\n }\n\n let str = \"\";\n let nextToken;\n\n while ((nextToken = this.fetch()).text !== \"EOF\") {\n str += nextToken.text;\n this.consume();\n }\n\n this.consume(); // consume the end of the argument\n\n argToken.text = str;\n return argToken;\n }\n /**\n * Parses a regex-delimited group: the largest sequence of tokens\n * whose concatenated strings match `regex`. Returns the string\n * formed by the tokens plus some position information.\n */\n\n\n parseRegexGroup(regex, modeName // Used to describe the mode in error messages.\n ) {\n const firstToken = this.fetch();\n let lastToken = firstToken;\n let str = \"\";\n let nextToken;\n\n while ((nextToken = this.fetch()).text !== \"EOF\" && regex.test(str + nextToken.text)) {\n lastToken = nextToken;\n str += lastToken.text;\n this.consume();\n }\n\n if (str === \"\") {\n throw new src_ParseError(\"Invalid \" + modeName + \": '\" + firstToken.text + \"'\", firstToken);\n }\n\n return firstToken.range(lastToken, str);\n }\n /**\n * Parses a color description.\n */\n\n\n parseColorGroup(optional) {\n const res = this.parseStringGroup(\"color\", optional);\n\n if (res == null) {\n return null;\n }\n\n const match = /^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(res.text);\n\n if (!match) {\n throw new src_ParseError(\"Invalid color: '\" + res.text + \"'\", res);\n }\n\n let color = match[0];\n\n if (/^[0-9a-f]{6}$/i.test(color)) {\n // We allow a 6-digit HTML color spec without a leading \"#\".\n // This follows the xcolor package's HTML color model.\n // Predefined color names are all missed by this RegEx pattern.\n color = \"#\" + color;\n }\n\n return {\n type: \"color-token\",\n mode: this.mode,\n color\n };\n }\n /**\n * Parses a size specification, consisting of magnitude and unit.\n */\n\n\n parseSizeGroup(optional) {\n let res;\n let isBlank = false; // don't expand before parseStringGroup\n\n this.gullet.consumeSpaces();\n\n if (!optional && this.gullet.future().text !== \"{\") {\n res = this.parseRegexGroup(/^[-+]? *(?:$|\\d+|\\d+\\.\\d*|\\.\\d*) *[a-z]{0,2} *$/, \"size\");\n } else {\n res = this.parseStringGroup(\"size\", optional);\n }\n\n if (!res) {\n return null;\n }\n\n if (!optional && res.text.length === 0) {\n // Because we've tested for what is !optional, this block won't\n // affect \\kern, \\hspace, etc. It will capture the mandatory arguments\n // to \\genfrac and \\above.\n res.text = \"0pt\"; // Enable \\above{}\n\n isBlank = true; // This is here specifically for \\genfrac\n }\n\n const match = /([-+]?) *(\\d+(?:\\.\\d*)?|\\.\\d+) *([a-z]{2})/.exec(res.text);\n\n if (!match) {\n throw new src_ParseError(\"Invalid size: '\" + res.text + \"'\", res);\n }\n\n const data = {\n number: +(match[1] + match[2]),\n // sign + magnitude, cast to number\n unit: match[3]\n };\n\n if (!validUnit(data)) {\n throw new src_ParseError(\"Invalid unit: '\" + data.unit + \"'\", res);\n }\n\n return {\n type: \"size\",\n mode: this.mode,\n value: data,\n isBlank\n };\n }\n /**\n * Parses an URL, checking escaped letters and allowed protocols,\n * and setting the catcode of % as an active character (as in \\hyperref).\n */\n\n\n parseUrlGroup(optional) {\n this.gullet.lexer.setCatcode(\"%\", 13); // active character\n\n this.gullet.lexer.setCatcode(\"~\", 12); // other character\n\n const res = this.parseStringGroup(\"url\", optional);\n this.gullet.lexer.setCatcode(\"%\", 14); // comment character\n\n this.gullet.lexer.setCatcode(\"~\", 13); // active character\n\n if (res == null) {\n return null;\n } // hyperref package allows backslashes alone in href, but doesn't\n // generate valid links in such cases; we interpret this as\n // \"undefined\" behaviour, and keep them as-is. Some browser will\n // replace backslashes with forward slashes.\n\n\n const url = res.text.replace(/\\\\([#$%&~_^{}])/g, '$1');\n return {\n type: \"url\",\n mode: this.mode,\n url\n };\n }\n /**\n * Parses an argument with the mode specified.\n */\n\n\n parseArgumentGroup(optional, mode) {\n const argToken = this.gullet.scanArgument(optional);\n\n if (argToken == null) {\n return null;\n }\n\n const outerMode = this.mode;\n\n if (mode) {\n // Switch to specified mode\n this.switchMode(mode);\n }\n\n this.gullet.beginGroup();\n const expression = this.parseExpression(false, \"EOF\"); // TODO: find an alternative way to denote the end\n\n this.expect(\"EOF\"); // expect the end of the argument\n\n this.gullet.endGroup();\n const result = {\n type: \"ordgroup\",\n mode: this.mode,\n loc: argToken.loc,\n body: expression\n };\n\n if (mode) {\n // Switch mode back\n this.switchMode(outerMode);\n }\n\n return result;\n }\n /**\n * Parses an ordinary group, which is either a single nucleus (like \"x\")\n * or an expression in braces (like \"{x+y}\") or an implicit group, a group\n * that starts at the current position, and ends right before a higher explicit\n * group ends, or at EOF.\n */\n\n\n parseGroup(name, // For error reporting.\n breakOnTokenText) {\n const firstToken = this.fetch();\n const text = firstToken.text;\n let result; // Try to parse an open brace or \\begingroup\n\n if (text === \"{\" || text === \"\\\\begingroup\") {\n this.consume();\n const groupEnd = text === \"{\" ? \"}\" : \"\\\\endgroup\";\n this.gullet.beginGroup(); // If we get a brace, parse an expression\n\n const expression = this.parseExpression(false, groupEnd);\n const lastToken = this.fetch();\n this.expect(groupEnd); // Check that we got a matching closing brace\n\n this.gullet.endGroup();\n result = {\n type: \"ordgroup\",\n mode: this.mode,\n loc: SourceLocation.range(firstToken, lastToken),\n body: expression,\n // A group formed by \\begingroup...\\endgroup is a semi-simple group\n // which doesn't affect spacing in math mode, i.e., is transparent.\n // https://tex.stackexchange.com/questions/1930/when-should-one-\n // use-begingroup-instead-of-bgroup\n semisimple: text === \"\\\\begingroup\" || undefined\n };\n } else {\n // If there exists a function with this name, parse the function.\n // Otherwise, just return a nucleus\n result = this.parseFunction(breakOnTokenText, name) || this.parseSymbol();\n\n if (result == null && text[0] === \"\\\\\" && !implicitCommands.hasOwnProperty(text)) {\n if (this.settings.throwOnError) {\n throw new src_ParseError(\"Undefined control sequence: \" + text, firstToken);\n }\n\n result = this.formatUnsupportedCmd(text);\n this.consume();\n }\n }\n\n return result;\n }\n /**\n * Form ligature-like combinations of characters for text mode.\n * This includes inputs like \"--\", \"---\", \"``\" and \"''\".\n * The result will simply replace multiple textord nodes with a single\n * character in each value by a single textord node having multiple\n * characters in its value. The representation is still ASCII source.\n * The group will be modified in place.\n */\n\n\n formLigatures(group) {\n let n = group.length - 1;\n\n for (let i = 0; i < n; ++i) {\n const a = group[i]; // $FlowFixMe: Not every node type has a `text` property.\n\n const v = a.text;\n\n if (v === \"-\" && group[i + 1].text === \"-\") {\n if (i + 1 < n && group[i + 2].text === \"-\") {\n group.splice(i, 3, {\n type: \"textord\",\n mode: \"text\",\n loc: SourceLocation.range(a, group[i + 2]),\n text: \"---\"\n });\n n -= 2;\n } else {\n group.splice(i, 2, {\n type: \"textord\",\n mode: \"text\",\n loc: SourceLocation.range(a, group[i + 1]),\n text: \"--\"\n });\n n -= 1;\n }\n }\n\n if ((v === \"'\" || v === \"`\") && group[i + 1].text === v) {\n group.splice(i, 2, {\n type: \"textord\",\n mode: \"text\",\n loc: SourceLocation.range(a, group[i + 1]),\n text: v + v\n });\n n -= 1;\n }\n }\n }\n /**\n * Parse a single symbol out of the string. Here, we handle single character\n * symbols and special functions like \\verb.\n */\n\n\n parseSymbol() {\n const nucleus = this.fetch();\n let text = nucleus.text;\n\n if (/^\\\\verb[^a-zA-Z]/.test(text)) {\n this.consume();\n let arg = text.slice(5);\n const star = arg.charAt(0) === \"*\";\n\n if (star) {\n arg = arg.slice(1);\n } // Lexer's tokenRegex is constructed to always have matching\n // first/last characters.\n\n\n if (arg.length < 2 || arg.charAt(0) !== arg.slice(-1)) {\n throw new src_ParseError(\"\\\\verb assertion failed --\\n please report what input caused this bug\");\n }\n\n arg = arg.slice(1, -1); // remove first and last char\n\n return {\n type: \"verb\",\n mode: \"text\",\n body: arg,\n star\n };\n } // At this point, we should have a symbol, possibly with accents.\n // First expand any accented base symbol according to unicodeSymbols.\n\n\n if (unicodeSymbols.hasOwnProperty(text[0]) && !src_symbols[this.mode][text[0]]) {\n // This behavior is not strict (XeTeX-compatible) in math mode.\n if (this.settings.strict && this.mode === \"math\") {\n this.settings.reportNonstrict(\"unicodeTextInMathMode\", \"Accented Unicode text character \\\"\" + text[0] + \"\\\" used in \" + \"math mode\", nucleus);\n }\n\n text = unicodeSymbols[text[0]] + text.slice(1);\n } // Strip off any combining characters\n\n\n const match = combiningDiacriticalMarksEndRegex.exec(text);\n\n if (match) {\n text = text.substring(0, match.index);\n\n if (text === 'i') {\n text = '\\u0131'; // dotless i, in math and text mode\n } else if (text === 'j') {\n text = '\\u0237'; // dotless j, in math and text mode\n }\n } // Recognize base symbol\n\n\n let symbol;\n\n if (src_symbols[this.mode][text]) {\n if (this.settings.strict && this.mode === 'math' && extraLatin.indexOf(text) >= 0) {\n this.settings.reportNonstrict(\"unicodeTextInMathMode\", \"Latin-1/Unicode text character \\\"\" + text[0] + \"\\\" used in \" + \"math mode\", nucleus);\n }\n\n const group = src_symbols[this.mode][text].group;\n const loc = SourceLocation.range(nucleus);\n let s;\n\n if (ATOMS.hasOwnProperty(group)) {\n // $FlowFixMe\n const family = group;\n s = {\n type: \"atom\",\n mode: this.mode,\n family,\n loc,\n text\n };\n } else {\n // $FlowFixMe\n s = {\n type: group,\n mode: this.mode,\n loc,\n text\n };\n } // $FlowFixMe\n\n\n symbol = s;\n } else if (text.charCodeAt(0) >= 0x80) {\n // no symbol for e.g. ^\n if (this.settings.strict) {\n if (!supportedCodepoint(text.charCodeAt(0))) {\n this.settings.reportNonstrict(\"unknownSymbol\", \"Unrecognized Unicode character \\\"\" + text[0] + \"\\\"\" + (\" (\" + text.charCodeAt(0) + \")\"), nucleus);\n } else if (this.mode === \"math\") {\n this.settings.reportNonstrict(\"unicodeTextInMathMode\", \"Unicode text character \\\"\" + text[0] + \"\\\" used in math mode\", nucleus);\n }\n } // All nonmathematical Unicode characters are rendered as if they\n // are in text mode (wrapped in \\text) because that's what it\n // takes to render them in LaTeX. Setting `mode: this.mode` is\n // another natural choice (the user requested math mode), but\n // this makes it more difficult for getCharacterMetrics() to\n // distinguish Unicode characters without metrics and those for\n // which we want to simulate the letter M.\n\n\n symbol = {\n type: \"textord\",\n mode: \"text\",\n loc: SourceLocation.range(nucleus),\n text\n };\n } else {\n return null; // EOF, ^, _, {, }, etc.\n }\n\n this.consume(); // Transform combining characters into accents\n\n if (match) {\n for (let i = 0; i < match[0].length; i++) {\n const accent = match[0][i];\n\n if (!unicodeAccents[accent]) {\n throw new src_ParseError(\"Unknown accent ' \" + accent + \"'\", nucleus);\n }\n\n const command = unicodeAccents[accent][this.mode] || unicodeAccents[accent].text;\n\n if (!command) {\n throw new src_ParseError(\"Accent \" + accent + \" unsupported in \" + this.mode + \" mode\", nucleus);\n }\n\n symbol = {\n type: \"accent\",\n mode: this.mode,\n loc: SourceLocation.range(nucleus),\n label: command,\n isStretchy: false,\n isShifty: true,\n // $FlowFixMe\n base: symbol\n };\n }\n } // $FlowFixMe\n\n\n return symbol;\n }\n\n}\nParser.endOfExpression = [\"}\", \"\\\\endgroup\", \"\\\\end\", \"\\\\right\", \"&\"];\n;// CONCATENATED MODULE: ./src/parseTree.js\n/**\n * Provides a single function for parsing an expression using a Parser\n * TODO(emily): Remove this\n */\n\n\n\n\n/**\n * Parses an expression using a Parser, then returns the parsed result.\n */\nconst parseTree = function (toParse, settings) {\n if (!(typeof toParse === 'string' || toParse instanceof String)) {\n throw new TypeError('KaTeX can only parse string typed expression');\n }\n\n const parser = new Parser(toParse, settings); // Blank out any \\df@tag to avoid spurious \"Duplicate \\tag\" errors\n\n delete parser.gullet.macros.current[\"\\\\df@tag\"];\n let tree = parser.parse(); // Prevent a color definition from persisting between calls to katex.render().\n\n delete parser.gullet.macros.current[\"\\\\current@color\"];\n delete parser.gullet.macros.current[\"\\\\color\"]; // If the input used \\tag, it will set the \\df@tag macro to the tag.\n // In this case, we separately parse the tag and wrap the tree.\n\n if (parser.gullet.macros.get(\"\\\\df@tag\")) {\n if (!settings.displayMode) {\n throw new src_ParseError(\"\\\\tag works only in display equations\");\n }\n\n tree = [{\n type: \"tag\",\n mode: \"text\",\n body: tree,\n tag: parser.subparse([new Token(\"\\\\df@tag\")])\n }];\n }\n\n return tree;\n};\n\n/* harmony default export */ var src_parseTree = (parseTree);\n;// CONCATENATED MODULE: ./katex.js\n/* eslint no-console:0 */\n\n/**\n * This is the main entry point for KaTeX. Here, we expose functions for\n * rendering expressions either to DOM nodes or to markup strings.\n *\n * We also expose the ParseError class to check if errors thrown from KaTeX are\n * errors in the expression, or errors in javascript handling.\n */\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Parse and build an expression, and place that expression in the DOM node\n * given.\n */\nlet render = function (expression, baseNode, options) {\n baseNode.textContent = \"\";\n const node = renderToDomTree(expression, options).toNode();\n baseNode.appendChild(node);\n}; // KaTeX's styles don't work properly in quirks mode. Print out an error, and\n// disable rendering.\n\n\nif (typeof document !== \"undefined\") {\n if (document.compatMode !== \"CSS1Compat\") {\n typeof console !== \"undefined\" && console.warn(\"Warning: KaTeX doesn't work in quirks mode. Make sure your \" + \"website has a suitable doctype.\");\n\n render = function () {\n throw new src_ParseError(\"KaTeX doesn't work in quirks mode.\");\n };\n }\n}\n/**\n * Parse and build an expression, and return the markup for that.\n */\n\n\nconst renderToString = function (expression, options) {\n const markup = renderToDomTree(expression, options).toMarkup();\n return markup;\n};\n/**\n * Parse an expression and return the parse tree.\n */\n\n\nconst generateParseTree = function (expression, options) {\n const settings = new Settings(options);\n return src_parseTree(expression, settings);\n};\n/**\n * If the given error is a KaTeX ParseError and options.throwOnError is false,\n * renders the invalid LaTeX as a span with hover title giving the KaTeX\n * error message. Otherwise, simply throws the error.\n */\n\n\nconst renderError = function (error, expression, options) {\n if (options.throwOnError || !(error instanceof src_ParseError)) {\n throw error;\n }\n\n const node = buildCommon.makeSpan([\"katex-error\"], [new SymbolNode(expression)]);\n node.setAttribute(\"title\", error.toString());\n node.setAttribute(\"style\", \"color:\" + options.errorColor);\n return node;\n};\n/**\n * Generates and returns the katex build tree. This is used for advanced\n * use cases (like rendering to custom output).\n */\n\n\nconst renderToDomTree = function (expression, options) {\n const settings = new Settings(options);\n\n try {\n const tree = src_parseTree(expression, settings);\n return buildTree(tree, expression, settings);\n } catch (error) {\n return renderError(error, expression, settings);\n }\n};\n/**\n * Generates and returns the katex build tree, with just HTML (no MathML).\n * This is used for advanced use cases (like rendering to custom output).\n */\n\n\nconst renderToHTMLTree = function (expression, options) {\n const settings = new Settings(options);\n\n try {\n const tree = src_parseTree(expression, settings);\n return buildHTMLTree(tree, expression, settings);\n } catch (error) {\n return renderError(error, expression, settings);\n }\n};\n\n/* harmony default export */ var katex = ({\n /**\n * Current KaTeX version\n */\n version: \"0.16.11\",\n\n /**\n * Renders the given LaTeX into an HTML+MathML combination, and adds\n * it as a child to the specified DOM node.\n */\n render,\n\n /**\n * Renders the given LaTeX into an HTML+MathML combination string,\n * for sending to the client.\n */\n renderToString,\n\n /**\n * KaTeX error, usually during parsing.\n */\n ParseError: src_ParseError,\n\n /**\n * The shema of Settings\n */\n SETTINGS_SCHEMA: SETTINGS_SCHEMA,\n\n /**\n * Parses the given LaTeX into KaTeX's internal parse tree structure,\n * without rendering to HTML or MathML.\n *\n * NOTE: This method is not currently recommended for public use.\n * The internal tree representation is unstable and is very likely\n * to change. Use at your own risk.\n */\n __parse: generateParseTree,\n\n /**\n * Renders the given LaTeX into an HTML+MathML internal DOM tree\n * representation, without flattening that representation to a string.\n *\n * NOTE: This method is not currently recommended for public use.\n * The internal tree representation is unstable and is very likely\n * to change. Use at your own risk.\n */\n __renderToDomTree: renderToDomTree,\n\n /**\n * Renders the given LaTeX into an HTML internal DOM tree representation,\n * without MathML and without flattening that representation to a string.\n *\n * NOTE: This method is not currently recommended for public use.\n * The internal tree representation is unstable and is very likely\n * to change. Use at your own risk.\n */\n __renderToHTMLTree: renderToHTMLTree,\n\n /**\n * extends internal font metrics object with a new object\n * each key in the new object represents a font name\n */\n __setFontMetrics: setFontMetrics,\n\n /**\n * adds a new symbol to builtin symbols table\n */\n __defineSymbol: defineSymbol,\n\n /**\n * adds a new function to builtin function list,\n * which directly produce parse tree elements\n * and have their own html/mathml builders\n */\n __defineFunction: defineFunction,\n\n /**\n * adds a new macro to builtin macro list\n */\n __defineMacro: defineMacro,\n\n /**\n * Expose the dom tree node types, which can be useful for type checking nodes.\n *\n * NOTE: This method is not currently recommended for public use.\n * The internal tree representation is unstable and is very likely\n * to change. Use at your own risk.\n */\n __domTree: {\n Span: Span,\n Anchor: Anchor,\n SymbolNode: SymbolNode,\n SvgNode: SvgNode,\n PathNode: PathNode,\n LineNode: LineNode\n }\n});\n;// CONCATENATED MODULE: ./katex.webpack.js\n/**\n * This is the webpack entry point for KaTeX. As ECMAScript, flow[1] and jest[2]\n * doesn't support CSS modules natively, a separate entry point is used and\n * it is not flowtyped.\n *\n * [1] https://gist.github.com/lambdahands/d19e0da96285b749f0ef\n * [2] https://facebook.github.io/jest/docs/en/webpack.html\n */\n\n\n/* harmony default export */ var katex_webpack = (katex);\n__webpack_exports__ = __webpack_exports__[\"default\"];\n/******/ \treturn __webpack_exports__;\n/******/ })()\n;\n});","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst katex_1 = __importDefault(require(\"katex\"));\n/**\n * Test if potential opening or closing delimiter\n */\nfunction isValidInlineDelim(state, pos) {\n const prevChar = state.src[pos - 1];\n const char = state.src[pos];\n const nextChar = state.src[pos + 1];\n if (char !== '$') {\n return { can_open: false, can_close: false };\n }\n let canOpen = false;\n let canClose = false;\n if (prevChar !== '$' && prevChar !== '\\\\' && (prevChar === undefined || isWhitespace(prevChar) || !isWordCharacterOrNumber(prevChar))) {\n canOpen = true;\n }\n if (nextChar !== '$' && (nextChar == undefined || isWhitespace(nextChar) || !isWordCharacterOrNumber(nextChar))) {\n canClose = true;\n }\n return { can_open: canOpen, can_close: canClose };\n}\nfunction isWhitespace(char) {\n return /^\\s$/u.test(char);\n}\nfunction isWordCharacterOrNumber(char) {\n return /^[\\w\\d]$/u.test(char);\n}\nfunction isValidBlockDelim(state, pos) {\n const prevChar = state.src[pos - 1];\n const char = state.src[pos];\n const nextChar = state.src[pos + 1];\n const nextCharPlus1 = state.src[pos + 2];\n if (char === '$'\n && prevChar !== '$' && prevChar !== '\\\\'\n && nextChar === '$'\n && nextCharPlus1 !== '$') {\n return { can_open: true, can_close: true };\n }\n return { can_open: false, can_close: false };\n}\nfunction inlineMath(state, silent) {\n if (state.src[state.pos] !== \"$\") {\n return false;\n }\n const lastToken = state.tokens.at(-1);\n if (lastToken?.type === 'html_inline') {\n // We may be inside of inside of inline html\n if (/^<\\w+.+[^/]>$/.test(lastToken.content)) {\n return false;\n }\n }\n let res = isValidInlineDelim(state, state.pos);\n if (!res.can_open) {\n if (!silent) {\n state.pending += \"$\";\n }\n state.pos += 1;\n return true;\n }\n // First check for and bypass all properly escaped delimieters\n // This loop will assume that the first leading backtick can not\n // be the first character in state.src, which is known since\n // we have found an opening delimieter already.\n let start = state.pos + 1;\n let match = start;\n let pos;\n while ((match = state.src.indexOf(\"$\", match)) !== -1) {\n // Found potential $, look for escapes, pos will point to\n // first non escape when complete\n pos = match - 1;\n while (state.src[pos] === \"\\\\\") {\n pos -= 1;\n }\n // Even number of escapes, potential closing delimiter found\n if (((match - pos) % 2) == 1) {\n break;\n }\n match += 1;\n }\n // No closing delimter found. Consume $ and continue.\n if (match === -1) {\n if (!silent) {\n state.pending += \"$\";\n }\n state.pos = start;\n return true;\n }\n // Check if we have empty content, ie: $$. Do not parse.\n if (match - start === 0) {\n if (!silent) {\n state.pending += \"$$\";\n }\n state.pos = start + 1;\n return true;\n }\n // Check for valid closing delimiter\n res = isValidInlineDelim(state, match);\n if (!res.can_close) {\n if (!silent) {\n state.pending += \"$\";\n }\n state.pos = start;\n return true;\n }\n if (!silent) {\n const token = state.push('math_inline', 'math', 0);\n token.markup = \"$\";\n token.content = state.src.slice(start, match);\n }\n state.pos = match + 1;\n return true;\n}\nfunction blockMath(state, start, end, silent) {\n var lastLine, next, lastPos, found = false, token, pos = state.bMarks[start] + state.tShift[start], max = state.eMarks[start];\n if (pos + 2 > max) {\n return false;\n }\n if (state.src.slice(pos, pos + 2) !== '$$') {\n return false;\n }\n pos += 2;\n let firstLine = state.src.slice(pos, max);\n if (silent) {\n return true;\n }\n if (firstLine.trim().slice(-2) === '$$') {\n // Single line expression\n firstLine = firstLine.trim().slice(0, -2);\n found = true;\n }\n for (next = start; !found;) {\n next++;\n if (next >= end) {\n break;\n }\n pos = state.bMarks[next] + state.tShift[next];\n max = state.eMarks[next];\n if (pos < max && state.tShift[next] < state.blkIndent) {\n // non-empty line with negative indent should stop the list:\n break;\n }\n if (state.src.slice(pos, max).trim().slice(-2) === '$$') {\n lastPos = state.src.slice(0, max).lastIndexOf('$$');\n lastLine = state.src.slice(pos, lastPos);\n found = true;\n }\n else if (state.src.slice(pos, max).trim().includes('$$')) {\n lastPos = state.src.slice(0, max).trim().indexOf('$$');\n lastLine = state.src.slice(pos, lastPos);\n found = true;\n }\n }\n state.line = next + 1;\n token = state.push('math_block', 'math', 0);\n token.block = true;\n token.content = (firstLine && firstLine.trim() ? firstLine + '\\n' : '')\n + state.getLines(start + 1, next, state.tShift[start], true)\n + (lastLine && lastLine.trim() ? lastLine : '');\n token.map = [start, state.line];\n token.markup = '$$';\n return true;\n}\nfunction blockBareMath(state, start, end, silent) {\n const startPos = state.bMarks[start] + state.tShift[start];\n const startMax = state.eMarks[start];\n const firstLine = state.src.slice(startPos, startMax);\n const beginMatch = firstLine.match(/^\\s*\\\\begin\\s*\\{([^{}]+)\\}/);\n if (!beginMatch) {\n return false;\n }\n if (start > 0) {\n // Previous line must be blank for bare blocks. There are instead handled by inlineBareBlock\n const previousStart = state.bMarks[start - 1] + state.tShift[start - 1];\n const previousEnd = state.eMarks[start - 1];\n const previousLine = state.src.slice(previousStart, previousEnd);\n if (!/^\\s*$/.test(previousLine)) {\n return false;\n }\n }\n if (silent) {\n return true;\n }\n const beginEndStack = [];\n let next = start;\n let lastLine;\n let found = false;\n outer: for (; !found; next++) {\n if (next >= end) {\n break;\n }\n const pos = state.bMarks[next] + state.tShift[next];\n const max = state.eMarks[next];\n if (pos < max && state.tShift[next] < state.blkIndent) {\n // non-empty line with negative indent should stop the list:\n break;\n }\n const line = state.src.slice(pos, max);\n for (const match of line.matchAll(/(\\\\begin|\\\\end)\\s*\\{([^{}]+)\\}/g)) {\n if (match[1] === '\\\\begin') {\n beginEndStack.push(match[2].trim());\n }\n else if (match[1] === '\\\\end') {\n beginEndStack.pop();\n if (!beginEndStack.length) {\n lastLine = state.src.slice(pos, max);\n found = true;\n break outer;\n }\n }\n }\n }\n state.line = next + 1;\n const token = state.push('math_block', 'math', 0);\n token.block = true;\n token.content = (state.getLines(start, next, state.tShift[start], true) + (lastLine ?? '')).trim();\n token.map = [start, state.line];\n token.markup = '$$';\n return true;\n}\nfunction inlineMathBlock(state, silent) {\n var start, match, token, res, pos;\n if (state.src.slice(state.pos, state.pos + 2) !== \"$$\") {\n return false;\n }\n res = isValidBlockDelim(state, state.pos);\n if (!res.can_open) {\n if (!silent) {\n state.pending += \"$$\";\n }\n state.pos += 2;\n return true;\n }\n // First check for and bypass all properly escaped delimieters\n // This loop will assume that the first leading backtick can not\n // be the first character in state.src, which is known since\n // we have found an opening delimieter already.\n start = state.pos + 2;\n match = start;\n while ((match = state.src.indexOf(\"$$\", match)) !== -1) {\n // Found potential $$, look for escapes, pos will point to\n // first non escape when complete\n pos = match - 1;\n while (state.src[pos] === \"\\\\\") {\n pos -= 1;\n }\n // Even number of escapes, potential closing delimiter found\n if (((match - pos) % 2) == 1) {\n break;\n }\n match += 2;\n }\n // No closing delimter found. Consume $$ and continue.\n if (match === -1) {\n if (!silent) {\n state.pending += \"$$\";\n }\n state.pos = start;\n return true;\n }\n // Check if we have empty content, ie: $$$$. Do not parse.\n if (match - start === 0) {\n if (!silent) {\n state.pending += \"$$$$\";\n }\n state.pos = start + 2;\n return true;\n }\n // Check for valid closing delimiter\n res = isValidBlockDelim(state, match);\n if (!res.can_close) {\n if (!silent) {\n state.pending += \"$$\";\n }\n state.pos = start;\n return true;\n }\n if (!silent) {\n token = state.push('math_block', 'math', 0);\n token.block = true;\n token.markup = \"$$\";\n token.content = state.src.slice(start, match);\n }\n state.pos = match + 2;\n return true;\n}\nfunction inlineBareBlock(state, silent) {\n const text = state.src.slice(state.pos);\n // Make sure this is not a normal bare block\n if (!/^\\n\\\\begin/.test(text)) {\n return false;\n }\n state.pos += 1;\n if (silent) {\n return true;\n }\n const lines = text.split(/\\n/g).slice(1);\n let foundLine;\n const beginEndStack = [];\n outer: for (var i = 0; i < lines.length; ++i) {\n const line = lines[i];\n for (const match of line.matchAll(/(\\\\begin|\\\\end)\\s*\\{([^{}]+)\\}/g)) {\n if (match[1] === '\\\\begin') {\n beginEndStack.push(match[2].trim());\n }\n else if (match[1] === '\\\\end') {\n beginEndStack.pop();\n if (!beginEndStack.length) {\n foundLine = i;\n break outer;\n }\n }\n }\n }\n if (typeof foundLine === 'undefined') {\n return false;\n }\n const endIndex = lines.slice(0, foundLine + 1).reduce((p, c) => p + c.length, 0) + foundLine + 1;\n const token = state.push('math_inline_bare_block', 'math', 0);\n token.block = true;\n token.markup = \"$$\";\n token.content = text.slice(1, endIndex);\n state.pos = state.pos + endIndex;\n return true;\n}\n// For any html block that contains math, replace the html block token with new tokens that separate out\n// the html blocks from the math\nfunction handleMathInHtml(state, mathType, mathMarkup, mathRegex) {\n const tokens = state.tokens;\n for (let index = tokens.length - 1; index >= 0; index--) {\n const currentToken = tokens[index];\n const newTokens = [];\n if (currentToken.type !== \"html_block\") {\n continue;\n }\n const content = currentToken.content;\n // Process for each math referenced within the html block\n for (const match of content.matchAll(mathRegex)) {\n if (!match.groups) {\n continue;\n }\n const html_before_math = match.groups.html_before_math;\n const math = match.groups.math;\n const html_after_math = match.groups.html_after_math;\n if (html_before_math) {\n newTokens.push({ ...currentToken, type: \"html_block\", map: null, content: html_before_math });\n }\n if (math) {\n newTokens.push({\n ...currentToken,\n type: mathType,\n map: null,\n content: math,\n markup: mathMarkup,\n block: true,\n tag: \"math\",\n });\n }\n if (html_after_math) {\n newTokens.push({ ...currentToken, type: \"html_block\", map: null, content: html_after_math });\n }\n }\n // Replace the original html_block token with the newly expanded tokens\n if (newTokens.length > 0) {\n tokens.splice(index, 1, ...newTokens);\n }\n }\n return true;\n}\nfunction escapeHtml(unsafe) {\n return unsafe\n .replace(/&/g, \"&\")\n .replace(//g, \">\")\n .replace(/\"/g, \""\")\n .replace(/'/g, \"'\");\n}\nfunction default_1(md, options) {\n const enableBareBlocks = options?.enableBareBlocks;\n const enableMathBlockInHtml = options?.enableMathBlockInHtml;\n const enableMathInlineInHtml = options?.enableMathInlineInHtml;\n const enableFencedBlocks = options?.enableFencedBlocks;\n // #region Parsing\n md.inline.ruler.after('escape', 'math_inline', inlineMath);\n md.inline.ruler.after('escape', 'math_inline_block', inlineMathBlock);\n if (enableBareBlocks) {\n md.inline.ruler.before('text', 'math_inline_bare_block', inlineBareBlock);\n }\n md.block.ruler.after('blockquote', 'math_block', (state, start, end, silent) => {\n if (enableBareBlocks && blockBareMath(state, start, end, silent)) {\n return true;\n }\n return blockMath(state, start, end, silent);\n }, {\n alt: ['paragraph', 'reference', 'blockquote', 'list']\n });\n // Regex to capture any html prior to math block, the math block (single or multi line), and any html after the math block\n const math_block_within_html_regex = /(?[\\s\\S]*?)\\$\\$(?[\\s\\S]+?)\\$\\$(?(?:(?!\\$\\$[\\s\\S]+?\\$\\$)[\\s\\S])*)/gm;\n // Regex to capture any html prior to math inline, the math inline (single line), and any html after the math inline\n const math_inline_within_html_regex = /(?[\\s\\S]*?)\\$(?.*?)\\$(?(?:(?!\\$.*?\\$)[\\s\\S])*)/gm;\n if (enableMathBlockInHtml) {\n md.core.ruler.push(\"math_block_in_html_block\", (state) => {\n return handleMathInHtml(state, \"math_block\", \"$$\", math_block_within_html_regex);\n });\n }\n if (enableMathInlineInHtml) {\n md.core.ruler.push(\"math_inline_in_html_block\", (state) => {\n return handleMathInHtml(state, \"math_inline\", \"$\", math_inline_within_html_regex);\n });\n }\n // #endregion\n // #region Rendering\n const katexInline = (latex) => {\n const displayMode = /\\\\begin\\{(align|equation|gather|cd|alignat)\\}/ig.test(latex);\n try {\n return katex_1.default.renderToString(latex, { ...options, displayMode });\n }\n catch (error) {\n if (options?.throwOnError) {\n console.log(error);\n }\n return `${escapeHtml(error + '')}`;\n }\n };\n const inlineRenderer = (tokens, idx) => {\n return katexInline(tokens[idx].content);\n };\n const katexBlockRenderer = (latex) => {\n try {\n return `

${katex_1.default.renderToString(latex, { ...options, displayMode: true })}

`;\n }\n catch (error) {\n if (options?.throwOnError) {\n console.log(error);\n }\n return `

${escapeHtml(error + '')}

`;\n }\n };\n const blockRenderer = (tokens, idx) => {\n return katexBlockRenderer(tokens[idx].content) + '\\n';\n };\n md.renderer.rules.math_inline = inlineRenderer;\n md.renderer.rules.math_inline_block = blockRenderer;\n md.renderer.rules.math_inline_bare_block = blockRenderer;\n md.renderer.rules.math_block = blockRenderer;\n if (enableFencedBlocks) {\n const mathLanguageId = 'math';\n const originalFenceRenderer = md.renderer.rules.fence;\n md.renderer.rules.fence = function (tokens, idx, options, env, self) {\n const token = tokens[idx];\n if (token.info.trim().toLowerCase() === mathLanguageId && enableFencedBlocks) {\n return katexBlockRenderer(token.content) + '\\n';\n }\n else {\n return originalFenceRenderer?.call(this, tokens, idx, options, env, self) || '';\n }\n };\n }\n // #endregion\n}\nexports.default = default_1;\n;\n//# sourceMappingURL=index.js.map","var decodeMap = require(\"../maps/decode.json\");\n\nmodule.exports = decodeCodePoint;\n\n// modified version of https://github.com/mathiasbynens/he/blob/master/src/he.js#L94-L119\nfunction decodeCodePoint(codePoint) {\n if ((codePoint >= 0xd800 && codePoint <= 0xdfff) || codePoint > 0x10ffff) {\n return \"\\uFFFD\";\n }\n\n if (codePoint in decodeMap) {\n codePoint = decodeMap[codePoint];\n }\n\n var output = \"\";\n\n if (codePoint > 0xffff) {\n codePoint -= 0x10000;\n output += String.fromCharCode(((codePoint >>> 10) & 0x3ff) | 0xd800);\n codePoint = 0xdc00 | (codePoint & 0x3ff);\n }\n\n output += String.fromCharCode(codePoint);\n return output;\n}\n","module.exports = Tokenizer;\n\nvar decodeCodePoint = require(\"entities/lib/decode_codepoint.js\");\nvar entityMap = require(\"entities/maps/entities.json\");\nvar legacyMap = require(\"entities/maps/legacy.json\");\nvar xmlMap = require(\"entities/maps/xml.json\");\n\nvar i = 0;\n\nvar TEXT = i++;\nvar BEFORE_TAG_NAME = i++; //after <\nvar IN_TAG_NAME = i++;\nvar IN_SELF_CLOSING_TAG = i++;\nvar BEFORE_CLOSING_TAG_NAME = i++;\nvar IN_CLOSING_TAG_NAME = i++;\nvar AFTER_CLOSING_TAG_NAME = i++;\n\n//attributes\nvar BEFORE_ATTRIBUTE_NAME = i++;\nvar IN_ATTRIBUTE_NAME = i++;\nvar AFTER_ATTRIBUTE_NAME = i++;\nvar BEFORE_ATTRIBUTE_VALUE = i++;\nvar IN_ATTRIBUTE_VALUE_DQ = i++; // \"\nvar IN_ATTRIBUTE_VALUE_SQ = i++; // '\nvar IN_ATTRIBUTE_VALUE_NQ = i++;\n\n//declarations\nvar BEFORE_DECLARATION = i++; // !\nvar IN_DECLARATION = i++;\n\n//processing instructions\nvar IN_PROCESSING_INSTRUCTION = i++; // ?\n\n//comments\nvar BEFORE_COMMENT = i++;\nvar IN_COMMENT = i++;\nvar AFTER_COMMENT_1 = i++;\nvar AFTER_COMMENT_2 = i++;\n\n//cdata\nvar BEFORE_CDATA_1 = i++; // [\nvar BEFORE_CDATA_2 = i++; // C\nvar BEFORE_CDATA_3 = i++; // D\nvar BEFORE_CDATA_4 = i++; // A\nvar BEFORE_CDATA_5 = i++; // T\nvar BEFORE_CDATA_6 = i++; // A\nvar IN_CDATA = i++; // [\nvar AFTER_CDATA_1 = i++; // ]\nvar AFTER_CDATA_2 = i++; // ]\n\n//special tags\nvar BEFORE_SPECIAL = i++; //S\nvar BEFORE_SPECIAL_END = i++; //S\n\nvar BEFORE_SCRIPT_1 = i++; //C\nvar BEFORE_SCRIPT_2 = i++; //R\nvar BEFORE_SCRIPT_3 = i++; //I\nvar BEFORE_SCRIPT_4 = i++; //P\nvar BEFORE_SCRIPT_5 = i++; //T\nvar AFTER_SCRIPT_1 = i++; //C\nvar AFTER_SCRIPT_2 = i++; //R\nvar AFTER_SCRIPT_3 = i++; //I\nvar AFTER_SCRIPT_4 = i++; //P\nvar AFTER_SCRIPT_5 = i++; //T\n\nvar BEFORE_STYLE_1 = i++; //T\nvar BEFORE_STYLE_2 = i++; //Y\nvar BEFORE_STYLE_3 = i++; //L\nvar BEFORE_STYLE_4 = i++; //E\nvar AFTER_STYLE_1 = i++; //T\nvar AFTER_STYLE_2 = i++; //Y\nvar AFTER_STYLE_3 = i++; //L\nvar AFTER_STYLE_4 = i++; //E\n\nvar BEFORE_ENTITY = i++; //&\nvar BEFORE_NUMERIC_ENTITY = i++; //#\nvar IN_NAMED_ENTITY = i++;\nvar IN_NUMERIC_ENTITY = i++;\nvar IN_HEX_ENTITY = i++; //X\n\nvar j = 0;\n\nvar SPECIAL_NONE = j++;\nvar SPECIAL_SCRIPT = j++;\nvar SPECIAL_STYLE = j++;\n\nfunction whitespace(c) {\n return c === \" \" || c === \"\\n\" || c === \"\\t\" || c === \"\\f\" || c === \"\\r\";\n}\n\nfunction ifElseState(upper, SUCCESS, FAILURE) {\n var lower = upper.toLowerCase();\n\n if (upper === lower) {\n return function(c) {\n if (c === lower) {\n this._state = SUCCESS;\n } else {\n this._state = FAILURE;\n this._index--;\n }\n };\n } else {\n return function(c) {\n if (c === lower || c === upper) {\n this._state = SUCCESS;\n } else {\n this._state = FAILURE;\n this._index--;\n }\n };\n }\n}\n\nfunction consumeSpecialNameChar(upper, NEXT_STATE) {\n var lower = upper.toLowerCase();\n\n return function(c) {\n if (c === lower || c === upper) {\n this._state = NEXT_STATE;\n } else {\n this._state = IN_TAG_NAME;\n this._index--; //consume the token again\n }\n };\n}\n\nfunction Tokenizer(options, cbs) {\n this._state = TEXT;\n this._buffer = \"\";\n this._sectionStart = 0;\n this._index = 0;\n this._bufferOffset = 0; //chars removed from _buffer\n this._baseState = TEXT;\n this._special = SPECIAL_NONE;\n this._cbs = cbs;\n this._running = true;\n this._ended = false;\n this._xmlMode = !!(options && options.xmlMode);\n this._decodeEntities = !!(options && options.decodeEntities);\n}\n\nTokenizer.prototype._stateText = function(c) {\n if (c === \"<\") {\n if (this._index > this._sectionStart) {\n this._cbs.ontext(this._getSection());\n }\n this._state = BEFORE_TAG_NAME;\n this._sectionStart = this._index;\n } else if (\n this._decodeEntities &&\n this._special === SPECIAL_NONE &&\n c === \"&\"\n ) {\n if (this._index > this._sectionStart) {\n this._cbs.ontext(this._getSection());\n }\n this._baseState = TEXT;\n this._state = BEFORE_ENTITY;\n this._sectionStart = this._index;\n }\n};\n\nTokenizer.prototype._stateBeforeTagName = function(c) {\n if (c === \"/\") {\n this._state = BEFORE_CLOSING_TAG_NAME;\n } else if (c === \"<\") {\n this._cbs.ontext(this._getSection());\n this._sectionStart = this._index;\n } else if (c === \">\" || this._special !== SPECIAL_NONE || whitespace(c)) {\n this._state = TEXT;\n } else if (c === \"!\") {\n this._state = BEFORE_DECLARATION;\n this._sectionStart = this._index + 1;\n } else if (c === \"?\") {\n this._state = IN_PROCESSING_INSTRUCTION;\n this._sectionStart = this._index + 1;\n } else {\n this._state =\n !this._xmlMode && (c === \"s\" || c === \"S\")\n ? BEFORE_SPECIAL\n : IN_TAG_NAME;\n this._sectionStart = this._index;\n }\n};\n\nTokenizer.prototype._stateInTagName = function(c) {\n if (c === \"/\" || c === \">\" || whitespace(c)) {\n this._emitToken(\"onopentagname\");\n this._state = BEFORE_ATTRIBUTE_NAME;\n this._index--;\n }\n};\n\nTokenizer.prototype._stateBeforeCloseingTagName = function(c) {\n if (whitespace(c));\n else if (c === \">\") {\n this._state = TEXT;\n } else if (this._special !== SPECIAL_NONE) {\n if (c === \"s\" || c === \"S\") {\n this._state = BEFORE_SPECIAL_END;\n } else {\n this._state = TEXT;\n this._index--;\n }\n } else {\n this._state = IN_CLOSING_TAG_NAME;\n this._sectionStart = this._index;\n }\n};\n\nTokenizer.prototype._stateInCloseingTagName = function(c) {\n if (c === \">\" || whitespace(c)) {\n this._emitToken(\"onclosetag\");\n this._state = AFTER_CLOSING_TAG_NAME;\n this._index--;\n }\n};\n\nTokenizer.prototype._stateAfterCloseingTagName = function(c) {\n //skip everything until \">\"\n if (c === \">\") {\n this._state = TEXT;\n this._sectionStart = this._index + 1;\n }\n};\n\nTokenizer.prototype._stateBeforeAttributeName = function(c) {\n if (c === \">\") {\n this._cbs.onopentagend();\n this._state = TEXT;\n this._sectionStart = this._index + 1;\n } else if (c === \"/\") {\n this._state = IN_SELF_CLOSING_TAG;\n } else if (!whitespace(c)) {\n this._state = IN_ATTRIBUTE_NAME;\n this._sectionStart = this._index;\n }\n};\n\nTokenizer.prototype._stateInSelfClosingTag = function(c) {\n if (c === \">\") {\n this._cbs.onselfclosingtag();\n this._state = TEXT;\n this._sectionStart = this._index + 1;\n } else if (!whitespace(c)) {\n this._state = BEFORE_ATTRIBUTE_NAME;\n this._index--;\n }\n};\n\nTokenizer.prototype._stateInAttributeName = function(c) {\n if (c === \"=\" || c === \"/\" || c === \">\" || whitespace(c)) {\n this._cbs.onattribname(this._getSection());\n this._sectionStart = -1;\n this._state = AFTER_ATTRIBUTE_NAME;\n this._index--;\n }\n};\n\nTokenizer.prototype._stateAfterAttributeName = function(c) {\n if (c === \"=\") {\n this._state = BEFORE_ATTRIBUTE_VALUE;\n } else if (c === \"/\" || c === \">\") {\n this._cbs.onattribend();\n this._state = BEFORE_ATTRIBUTE_NAME;\n this._index--;\n } else if (!whitespace(c)) {\n this._cbs.onattribend();\n this._state = IN_ATTRIBUTE_NAME;\n this._sectionStart = this._index;\n }\n};\n\nTokenizer.prototype._stateBeforeAttributeValue = function(c) {\n if (c === '\"') {\n this._state = IN_ATTRIBUTE_VALUE_DQ;\n this._sectionStart = this._index + 1;\n } else if (c === \"'\") {\n this._state = IN_ATTRIBUTE_VALUE_SQ;\n this._sectionStart = this._index + 1;\n } else if (!whitespace(c)) {\n this._state = IN_ATTRIBUTE_VALUE_NQ;\n this._sectionStart = this._index;\n this._index--; //reconsume token\n }\n};\n\nTokenizer.prototype._stateInAttributeValueDoubleQuotes = function(c) {\n if (c === '\"') {\n this._emitToken(\"onattribdata\");\n this._cbs.onattribend();\n this._state = BEFORE_ATTRIBUTE_NAME;\n } else if (this._decodeEntities && c === \"&\") {\n this._emitToken(\"onattribdata\");\n this._baseState = this._state;\n this._state = BEFORE_ENTITY;\n this._sectionStart = this._index;\n }\n};\n\nTokenizer.prototype._stateInAttributeValueSingleQuotes = function(c) {\n if (c === \"'\") {\n this._emitToken(\"onattribdata\");\n this._cbs.onattribend();\n this._state = BEFORE_ATTRIBUTE_NAME;\n } else if (this._decodeEntities && c === \"&\") {\n this._emitToken(\"onattribdata\");\n this._baseState = this._state;\n this._state = BEFORE_ENTITY;\n this._sectionStart = this._index;\n }\n};\n\nTokenizer.prototype._stateInAttributeValueNoQuotes = function(c) {\n if (whitespace(c) || c === \">\") {\n this._emitToken(\"onattribdata\");\n this._cbs.onattribend();\n this._state = BEFORE_ATTRIBUTE_NAME;\n this._index--;\n } else if (this._decodeEntities && c === \"&\") {\n this._emitToken(\"onattribdata\");\n this._baseState = this._state;\n this._state = BEFORE_ENTITY;\n this._sectionStart = this._index;\n }\n};\n\nTokenizer.prototype._stateBeforeDeclaration = function(c) {\n this._state =\n c === \"[\"\n ? BEFORE_CDATA_1\n : c === \"-\"\n ? BEFORE_COMMENT\n : IN_DECLARATION;\n};\n\nTokenizer.prototype._stateInDeclaration = function(c) {\n if (c === \">\") {\n this._cbs.ondeclaration(this._getSection());\n this._state = TEXT;\n this._sectionStart = this._index + 1;\n }\n};\n\nTokenizer.prototype._stateInProcessingInstruction = function(c) {\n if (c === \">\") {\n this._cbs.onprocessinginstruction(this._getSection());\n this._state = TEXT;\n this._sectionStart = this._index + 1;\n }\n};\n\nTokenizer.prototype._stateBeforeComment = function(c) {\n if (c === \"-\") {\n this._state = IN_COMMENT;\n this._sectionStart = this._index + 1;\n } else {\n this._state = IN_DECLARATION;\n }\n};\n\nTokenizer.prototype._stateInComment = function(c) {\n if (c === \"-\") this._state = AFTER_COMMENT_1;\n};\n\nTokenizer.prototype._stateAfterComment1 = function(c) {\n if (c === \"-\") {\n this._state = AFTER_COMMENT_2;\n } else {\n this._state = IN_COMMENT;\n }\n};\n\nTokenizer.prototype._stateAfterComment2 = function(c) {\n if (c === \">\") {\n //remove 2 trailing chars\n this._cbs.oncomment(\n this._buffer.substring(this._sectionStart, this._index - 2)\n );\n this._state = TEXT;\n this._sectionStart = this._index + 1;\n } else if (c !== \"-\") {\n this._state = IN_COMMENT;\n }\n // else: stay in AFTER_COMMENT_2 (`--->`)\n};\n\nTokenizer.prototype._stateBeforeCdata1 = ifElseState(\n \"C\",\n BEFORE_CDATA_2,\n IN_DECLARATION\n);\nTokenizer.prototype._stateBeforeCdata2 = ifElseState(\n \"D\",\n BEFORE_CDATA_3,\n IN_DECLARATION\n);\nTokenizer.prototype._stateBeforeCdata3 = ifElseState(\n \"A\",\n BEFORE_CDATA_4,\n IN_DECLARATION\n);\nTokenizer.prototype._stateBeforeCdata4 = ifElseState(\n \"T\",\n BEFORE_CDATA_5,\n IN_DECLARATION\n);\nTokenizer.prototype._stateBeforeCdata5 = ifElseState(\n \"A\",\n BEFORE_CDATA_6,\n IN_DECLARATION\n);\n\nTokenizer.prototype._stateBeforeCdata6 = function(c) {\n if (c === \"[\") {\n this._state = IN_CDATA;\n this._sectionStart = this._index + 1;\n } else {\n this._state = IN_DECLARATION;\n this._index--;\n }\n};\n\nTokenizer.prototype._stateInCdata = function(c) {\n if (c === \"]\") this._state = AFTER_CDATA_1;\n};\n\nTokenizer.prototype._stateAfterCdata1 = function(c) {\n if (c === \"]\") this._state = AFTER_CDATA_2;\n else this._state = IN_CDATA;\n};\n\nTokenizer.prototype._stateAfterCdata2 = function(c) {\n if (c === \">\") {\n //remove 2 trailing chars\n this._cbs.oncdata(\n this._buffer.substring(this._sectionStart, this._index - 2)\n );\n this._state = TEXT;\n this._sectionStart = this._index + 1;\n } else if (c !== \"]\") {\n this._state = IN_CDATA;\n }\n //else: stay in AFTER_CDATA_2 (`]]]>`)\n};\n\nTokenizer.prototype._stateBeforeSpecial = function(c) {\n if (c === \"c\" || c === \"C\") {\n this._state = BEFORE_SCRIPT_1;\n } else if (c === \"t\" || c === \"T\") {\n this._state = BEFORE_STYLE_1;\n } else {\n this._state = IN_TAG_NAME;\n this._index--; //consume the token again\n }\n};\n\nTokenizer.prototype._stateBeforeSpecialEnd = function(c) {\n if (this._special === SPECIAL_SCRIPT && (c === \"c\" || c === \"C\")) {\n this._state = AFTER_SCRIPT_1;\n } else if (this._special === SPECIAL_STYLE && (c === \"t\" || c === \"T\")) {\n this._state = AFTER_STYLE_1;\n } else this._state = TEXT;\n};\n\nTokenizer.prototype._stateBeforeScript1 = consumeSpecialNameChar(\n \"R\",\n BEFORE_SCRIPT_2\n);\nTokenizer.prototype._stateBeforeScript2 = consumeSpecialNameChar(\n \"I\",\n BEFORE_SCRIPT_3\n);\nTokenizer.prototype._stateBeforeScript3 = consumeSpecialNameChar(\n \"P\",\n BEFORE_SCRIPT_4\n);\nTokenizer.prototype._stateBeforeScript4 = consumeSpecialNameChar(\n \"T\",\n BEFORE_SCRIPT_5\n);\n\nTokenizer.prototype._stateBeforeScript5 = function(c) {\n if (c === \"/\" || c === \">\" || whitespace(c)) {\n this._special = SPECIAL_SCRIPT;\n }\n this._state = IN_TAG_NAME;\n this._index--; //consume the token again\n};\n\nTokenizer.prototype._stateAfterScript1 = ifElseState(\"R\", AFTER_SCRIPT_2, TEXT);\nTokenizer.prototype._stateAfterScript2 = ifElseState(\"I\", AFTER_SCRIPT_3, TEXT);\nTokenizer.prototype._stateAfterScript3 = ifElseState(\"P\", AFTER_SCRIPT_4, TEXT);\nTokenizer.prototype._stateAfterScript4 = ifElseState(\"T\", AFTER_SCRIPT_5, TEXT);\n\nTokenizer.prototype._stateAfterScript5 = function(c) {\n if (c === \">\" || whitespace(c)) {\n this._special = SPECIAL_NONE;\n this._state = IN_CLOSING_TAG_NAME;\n this._sectionStart = this._index - 6;\n this._index--; //reconsume the token\n } else this._state = TEXT;\n};\n\nTokenizer.prototype._stateBeforeStyle1 = consumeSpecialNameChar(\n \"Y\",\n BEFORE_STYLE_2\n);\nTokenizer.prototype._stateBeforeStyle2 = consumeSpecialNameChar(\n \"L\",\n BEFORE_STYLE_3\n);\nTokenizer.prototype._stateBeforeStyle3 = consumeSpecialNameChar(\n \"E\",\n BEFORE_STYLE_4\n);\n\nTokenizer.prototype._stateBeforeStyle4 = function(c) {\n if (c === \"/\" || c === \">\" || whitespace(c)) {\n this._special = SPECIAL_STYLE;\n }\n this._state = IN_TAG_NAME;\n this._index--; //consume the token again\n};\n\nTokenizer.prototype._stateAfterStyle1 = ifElseState(\"Y\", AFTER_STYLE_2, TEXT);\nTokenizer.prototype._stateAfterStyle2 = ifElseState(\"L\", AFTER_STYLE_3, TEXT);\nTokenizer.prototype._stateAfterStyle3 = ifElseState(\"E\", AFTER_STYLE_4, TEXT);\n\nTokenizer.prototype._stateAfterStyle4 = function(c) {\n if (c === \">\" || whitespace(c)) {\n this._special = SPECIAL_NONE;\n this._state = IN_CLOSING_TAG_NAME;\n this._sectionStart = this._index - 5;\n this._index--; //reconsume the token\n } else this._state = TEXT;\n};\n\nTokenizer.prototype._stateBeforeEntity = ifElseState(\n \"#\",\n BEFORE_NUMERIC_ENTITY,\n IN_NAMED_ENTITY\n);\nTokenizer.prototype._stateBeforeNumericEntity = ifElseState(\n \"X\",\n IN_HEX_ENTITY,\n IN_NUMERIC_ENTITY\n);\n\n//for entities terminated with a semicolon\nTokenizer.prototype._parseNamedEntityStrict = function() {\n //offset = 1\n if (this._sectionStart + 1 < this._index) {\n var entity = this._buffer.substring(\n this._sectionStart + 1,\n this._index\n ),\n map = this._xmlMode ? xmlMap : entityMap;\n\n if (map.hasOwnProperty(entity)) {\n this._emitPartial(map[entity]);\n this._sectionStart = this._index + 1;\n }\n }\n};\n\n//parses legacy entities (without trailing semicolon)\nTokenizer.prototype._parseLegacyEntity = function() {\n var start = this._sectionStart + 1,\n limit = this._index - start;\n\n if (limit > 6) limit = 6; //the max length of legacy entities is 6\n\n while (limit >= 2) {\n //the min length of legacy entities is 2\n var entity = this._buffer.substr(start, limit);\n\n if (legacyMap.hasOwnProperty(entity)) {\n this._emitPartial(legacyMap[entity]);\n this._sectionStart += limit + 1;\n return;\n } else {\n limit--;\n }\n }\n};\n\nTokenizer.prototype._stateInNamedEntity = function(c) {\n if (c === \";\") {\n this._parseNamedEntityStrict();\n if (this._sectionStart + 1 < this._index && !this._xmlMode) {\n this._parseLegacyEntity();\n }\n this._state = this._baseState;\n } else if (\n (c < \"a\" || c > \"z\") &&\n (c < \"A\" || c > \"Z\") &&\n (c < \"0\" || c > \"9\")\n ) {\n if (this._xmlMode);\n else if (this._sectionStart + 1 === this._index);\n else if (this._baseState !== TEXT) {\n if (c !== \"=\") {\n this._parseNamedEntityStrict();\n }\n } else {\n this._parseLegacyEntity();\n }\n\n this._state = this._baseState;\n this._index--;\n }\n};\n\nTokenizer.prototype._decodeNumericEntity = function(offset, base) {\n var sectionStart = this._sectionStart + offset;\n\n if (sectionStart !== this._index) {\n //parse entity\n var entity = this._buffer.substring(sectionStart, this._index);\n var parsed = parseInt(entity, base);\n\n this._emitPartial(decodeCodePoint(parsed));\n this._sectionStart = this._index;\n } else {\n this._sectionStart--;\n }\n\n this._state = this._baseState;\n};\n\nTokenizer.prototype._stateInNumericEntity = function(c) {\n if (c === \";\") {\n this._decodeNumericEntity(2, 10);\n this._sectionStart++;\n } else if (c < \"0\" || c > \"9\") {\n if (!this._xmlMode) {\n this._decodeNumericEntity(2, 10);\n } else {\n this._state = this._baseState;\n }\n this._index--;\n }\n};\n\nTokenizer.prototype._stateInHexEntity = function(c) {\n if (c === \";\") {\n this._decodeNumericEntity(3, 16);\n this._sectionStart++;\n } else if (\n (c < \"a\" || c > \"f\") &&\n (c < \"A\" || c > \"F\") &&\n (c < \"0\" || c > \"9\")\n ) {\n if (!this._xmlMode) {\n this._decodeNumericEntity(3, 16);\n } else {\n this._state = this._baseState;\n }\n this._index--;\n }\n};\n\nTokenizer.prototype._cleanup = function() {\n if (this._sectionStart < 0) {\n this._buffer = \"\";\n this._bufferOffset += this._index;\n this._index = 0;\n } else if (this._running) {\n if (this._state === TEXT) {\n if (this._sectionStart !== this._index) {\n this._cbs.ontext(this._buffer.substr(this._sectionStart));\n }\n this._buffer = \"\";\n this._bufferOffset += this._index;\n this._index = 0;\n } else if (this._sectionStart === this._index) {\n //the section just started\n this._buffer = \"\";\n this._bufferOffset += this._index;\n this._index = 0;\n } else {\n //remove everything unnecessary\n this._buffer = this._buffer.substr(this._sectionStart);\n this._index -= this._sectionStart;\n this._bufferOffset += this._sectionStart;\n }\n\n this._sectionStart = 0;\n }\n};\n\n//TODO make events conditional\nTokenizer.prototype.write = function(chunk) {\n if (this._ended) this._cbs.onerror(Error(\".write() after done!\"));\n\n this._buffer += chunk;\n this._parse();\n};\n\nTokenizer.prototype._parse = function() {\n while (this._index < this._buffer.length && this._running) {\n var c = this._buffer.charAt(this._index);\n if (this._state === TEXT) {\n this._stateText(c);\n } else if (this._state === BEFORE_TAG_NAME) {\n this._stateBeforeTagName(c);\n } else if (this._state === IN_TAG_NAME) {\n this._stateInTagName(c);\n } else if (this._state === BEFORE_CLOSING_TAG_NAME) {\n this._stateBeforeCloseingTagName(c);\n } else if (this._state === IN_CLOSING_TAG_NAME) {\n this._stateInCloseingTagName(c);\n } else if (this._state === AFTER_CLOSING_TAG_NAME) {\n this._stateAfterCloseingTagName(c);\n } else if (this._state === IN_SELF_CLOSING_TAG) {\n this._stateInSelfClosingTag(c);\n } else if (this._state === BEFORE_ATTRIBUTE_NAME) {\n\n /*\n\t\t*\tattributes\n\t\t*/\n this._stateBeforeAttributeName(c);\n } else if (this._state === IN_ATTRIBUTE_NAME) {\n this._stateInAttributeName(c);\n } else if (this._state === AFTER_ATTRIBUTE_NAME) {\n this._stateAfterAttributeName(c);\n } else if (this._state === BEFORE_ATTRIBUTE_VALUE) {\n this._stateBeforeAttributeValue(c);\n } else if (this._state === IN_ATTRIBUTE_VALUE_DQ) {\n this._stateInAttributeValueDoubleQuotes(c);\n } else if (this._state === IN_ATTRIBUTE_VALUE_SQ) {\n this._stateInAttributeValueSingleQuotes(c);\n } else if (this._state === IN_ATTRIBUTE_VALUE_NQ) {\n this._stateInAttributeValueNoQuotes(c);\n } else if (this._state === BEFORE_DECLARATION) {\n\n /*\n\t\t*\tdeclarations\n\t\t*/\n this._stateBeforeDeclaration(c);\n } else if (this._state === IN_DECLARATION) {\n this._stateInDeclaration(c);\n } else if (this._state === IN_PROCESSING_INSTRUCTION) {\n\n /*\n\t\t*\tprocessing instructions\n\t\t*/\n this._stateInProcessingInstruction(c);\n } else if (this._state === BEFORE_COMMENT) {\n\n /*\n\t\t*\tcomments\n\t\t*/\n this._stateBeforeComment(c);\n } else if (this._state === IN_COMMENT) {\n this._stateInComment(c);\n } else if (this._state === AFTER_COMMENT_1) {\n this._stateAfterComment1(c);\n } else if (this._state === AFTER_COMMENT_2) {\n this._stateAfterComment2(c);\n } else if (this._state === BEFORE_CDATA_1) {\n\n /*\n\t\t*\tcdata\n\t\t*/\n this._stateBeforeCdata1(c);\n } else if (this._state === BEFORE_CDATA_2) {\n this._stateBeforeCdata2(c);\n } else if (this._state === BEFORE_CDATA_3) {\n this._stateBeforeCdata3(c);\n } else if (this._state === BEFORE_CDATA_4) {\n this._stateBeforeCdata4(c);\n } else if (this._state === BEFORE_CDATA_5) {\n this._stateBeforeCdata5(c);\n } else if (this._state === BEFORE_CDATA_6) {\n this._stateBeforeCdata6(c);\n } else if (this._state === IN_CDATA) {\n this._stateInCdata(c);\n } else if (this._state === AFTER_CDATA_1) {\n this._stateAfterCdata1(c);\n } else if (this._state === AFTER_CDATA_2) {\n this._stateAfterCdata2(c);\n } else if (this._state === BEFORE_SPECIAL) {\n\n /*\n\t\t* special tags\n\t\t*/\n this._stateBeforeSpecial(c);\n } else if (this._state === BEFORE_SPECIAL_END) {\n this._stateBeforeSpecialEnd(c);\n } else if (this._state === BEFORE_SCRIPT_1) {\n\n /*\n\t\t* script\n\t\t*/\n this._stateBeforeScript1(c);\n } else if (this._state === BEFORE_SCRIPT_2) {\n this._stateBeforeScript2(c);\n } else if (this._state === BEFORE_SCRIPT_3) {\n this._stateBeforeScript3(c);\n } else if (this._state === BEFORE_SCRIPT_4) {\n this._stateBeforeScript4(c);\n } else if (this._state === BEFORE_SCRIPT_5) {\n this._stateBeforeScript5(c);\n } else if (this._state === AFTER_SCRIPT_1) {\n this._stateAfterScript1(c);\n } else if (this._state === AFTER_SCRIPT_2) {\n this._stateAfterScript2(c);\n } else if (this._state === AFTER_SCRIPT_3) {\n this._stateAfterScript3(c);\n } else if (this._state === AFTER_SCRIPT_4) {\n this._stateAfterScript4(c);\n } else if (this._state === AFTER_SCRIPT_5) {\n this._stateAfterScript5(c);\n } else if (this._state === BEFORE_STYLE_1) {\n\n /*\n\t\t* style\n\t\t*/\n this._stateBeforeStyle1(c);\n } else if (this._state === BEFORE_STYLE_2) {\n this._stateBeforeStyle2(c);\n } else if (this._state === BEFORE_STYLE_3) {\n this._stateBeforeStyle3(c);\n } else if (this._state === BEFORE_STYLE_4) {\n this._stateBeforeStyle4(c);\n } else if (this._state === AFTER_STYLE_1) {\n this._stateAfterStyle1(c);\n } else if (this._state === AFTER_STYLE_2) {\n this._stateAfterStyle2(c);\n } else if (this._state === AFTER_STYLE_3) {\n this._stateAfterStyle3(c);\n } else if (this._state === AFTER_STYLE_4) {\n this._stateAfterStyle4(c);\n } else if (this._state === BEFORE_ENTITY) {\n\n /*\n\t\t* entities\n\t\t*/\n this._stateBeforeEntity(c);\n } else if (this._state === BEFORE_NUMERIC_ENTITY) {\n this._stateBeforeNumericEntity(c);\n } else if (this._state === IN_NAMED_ENTITY) {\n this._stateInNamedEntity(c);\n } else if (this._state === IN_NUMERIC_ENTITY) {\n this._stateInNumericEntity(c);\n } else if (this._state === IN_HEX_ENTITY) {\n this._stateInHexEntity(c);\n } else {\n this._cbs.onerror(Error(\"unknown _state\"), this._state);\n }\n\n this._index++;\n }\n\n this._cleanup();\n};\n\nTokenizer.prototype.pause = function() {\n this._running = false;\n};\nTokenizer.prototype.resume = function() {\n this._running = true;\n\n if (this._index < this._buffer.length) {\n this._parse();\n }\n if (this._ended) {\n this._finish();\n }\n};\n\nTokenizer.prototype.end = function(chunk) {\n if (this._ended) this._cbs.onerror(Error(\".end() after done!\"));\n if (chunk) this.write(chunk);\n\n this._ended = true;\n\n if (this._running) this._finish();\n};\n\nTokenizer.prototype._finish = function() {\n //if there is remaining data, emit it in a reasonable way\n if (this._sectionStart < this._index) {\n this._handleTrailingData();\n }\n\n this._cbs.onend();\n};\n\nTokenizer.prototype._handleTrailingData = function() {\n var data = this._buffer.substr(this._sectionStart);\n\n if (\n this._state === IN_CDATA ||\n this._state === AFTER_CDATA_1 ||\n this._state === AFTER_CDATA_2\n ) {\n this._cbs.oncdata(data);\n } else if (\n this._state === IN_COMMENT ||\n this._state === AFTER_COMMENT_1 ||\n this._state === AFTER_COMMENT_2\n ) {\n this._cbs.oncomment(data);\n } else if (this._state === IN_NAMED_ENTITY && !this._xmlMode) {\n this._parseLegacyEntity();\n if (this._sectionStart < this._index) {\n this._state = this._baseState;\n this._handleTrailingData();\n }\n } else if (this._state === IN_NUMERIC_ENTITY && !this._xmlMode) {\n this._decodeNumericEntity(2, 10);\n if (this._sectionStart < this._index) {\n this._state = this._baseState;\n this._handleTrailingData();\n }\n } else if (this._state === IN_HEX_ENTITY && !this._xmlMode) {\n this._decodeNumericEntity(3, 16);\n if (this._sectionStart < this._index) {\n this._state = this._baseState;\n this._handleTrailingData();\n }\n } else if (\n this._state !== IN_TAG_NAME &&\n this._state !== BEFORE_ATTRIBUTE_NAME &&\n this._state !== BEFORE_ATTRIBUTE_VALUE &&\n this._state !== AFTER_ATTRIBUTE_NAME &&\n this._state !== IN_ATTRIBUTE_NAME &&\n this._state !== IN_ATTRIBUTE_VALUE_SQ &&\n this._state !== IN_ATTRIBUTE_VALUE_DQ &&\n this._state !== IN_ATTRIBUTE_VALUE_NQ &&\n this._state !== IN_CLOSING_TAG_NAME\n ) {\n this._cbs.ontext(data);\n }\n //else, ignore remaining data\n //TODO add a way to remove current tag\n};\n\nTokenizer.prototype.reset = function() {\n Tokenizer.call(\n this,\n { xmlMode: this._xmlMode, decodeEntities: this._decodeEntities },\n this._cbs\n );\n};\n\nTokenizer.prototype.getAbsoluteIndex = function() {\n return this._bufferOffset + this._index;\n};\n\nTokenizer.prototype._getSection = function() {\n return this._buffer.substring(this._sectionStart, this._index);\n};\n\nTokenizer.prototype._emitToken = function(name) {\n this._cbs[name](this._getSection());\n this._sectionStart = -1;\n};\n\nTokenizer.prototype._emitPartial = function(value) {\n if (this._baseState !== TEXT) {\n this._cbs.onattribdata(value); //TODO implement the new event\n } else {\n this._cbs.ontext(value);\n }\n};\n","if (typeof Object.create === 'function') {\n // implementation from standard node.js 'util' module\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n ctor.prototype = Object.create(superCtor.prototype, {\n constructor: {\n value: ctor,\n enumerable: false,\n writable: true,\n configurable: true\n }\n })\n }\n };\n} else {\n // old school shim for old browsers\n module.exports = function inherits(ctor, superCtor) {\n if (superCtor) {\n ctor.super_ = superCtor\n var TempCtor = function () {}\n TempCtor.prototype = superCtor.prototype\n ctor.prototype = new TempCtor()\n ctor.prototype.constructor = ctor\n }\n }\n}\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nvar R = typeof Reflect === 'object' ? Reflect : null\nvar ReflectApply = R && typeof R.apply === 'function'\n ? R.apply\n : function ReflectApply(target, receiver, args) {\n return Function.prototype.apply.call(target, receiver, args);\n }\n\nvar ReflectOwnKeys\nif (R && typeof R.ownKeys === 'function') {\n ReflectOwnKeys = R.ownKeys\n} else if (Object.getOwnPropertySymbols) {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target)\n .concat(Object.getOwnPropertySymbols(target));\n };\n} else {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target);\n };\n}\n\nfunction ProcessEmitWarning(warning) {\n if (console && console.warn) console.warn(warning);\n}\n\nvar NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {\n return value !== value;\n}\n\nfunction EventEmitter() {\n EventEmitter.init.call(this);\n}\nmodule.exports = EventEmitter;\nmodule.exports.once = once;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._eventsCount = 0;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nvar defaultMaxListeners = 10;\n\nfunction checkListener(listener) {\n if (typeof listener !== 'function') {\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n }\n}\n\nObject.defineProperty(EventEmitter, 'defaultMaxListeners', {\n enumerable: true,\n get: function() {\n return defaultMaxListeners;\n },\n set: function(arg) {\n if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {\n throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received ' + arg + '.');\n }\n defaultMaxListeners = arg;\n }\n});\n\nEventEmitter.init = function() {\n\n if (this._events === undefined ||\n this._events === Object.getPrototypeOf(this)._events) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n }\n\n this._maxListeners = this._maxListeners || undefined;\n};\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\n if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {\n throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received ' + n + '.');\n }\n this._maxListeners = n;\n return this;\n};\n\nfunction _getMaxListeners(that) {\n if (that._maxListeners === undefined)\n return EventEmitter.defaultMaxListeners;\n return that._maxListeners;\n}\n\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\n return _getMaxListeners(this);\n};\n\nEventEmitter.prototype.emit = function emit(type) {\n var args = [];\n for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);\n var doError = (type === 'error');\n\n var events = this._events;\n if (events !== undefined)\n doError = (doError && events.error === undefined);\n else if (!doError)\n return false;\n\n // If there is no 'error' event listener then throw.\n if (doError) {\n var er;\n if (args.length > 0)\n er = args[0];\n if (er instanceof Error) {\n // Note: The comments on the `throw` lines are intentional, they show\n // up in Node's output if this results in an unhandled exception.\n throw er; // Unhandled 'error' event\n }\n // At least give some kind of context to the user\n var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));\n err.context = er;\n throw err; // Unhandled 'error' event\n }\n\n var handler = events[type];\n\n if (handler === undefined)\n return false;\n\n if (typeof handler === 'function') {\n ReflectApply(handler, this, args);\n } else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n ReflectApply(listeners[i], this, args);\n }\n\n return true;\n};\n\nfunction _addListener(target, type, listener, prepend) {\n var m;\n var events;\n var existing;\n\n checkListener(listener);\n\n events = target._events;\n if (events === undefined) {\n events = target._events = Object.create(null);\n target._eventsCount = 0;\n } else {\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (events.newListener !== undefined) {\n target.emit('newListener', type,\n listener.listener ? listener.listener : listener);\n\n // Re-assign `events` because a newListener handler could have caused the\n // this._events to be assigned to a new object\n events = target._events;\n }\n existing = events[type];\n }\n\n if (existing === undefined) {\n // Optimize the case of one listener. Don't need the extra array object.\n existing = events[type] = listener;\n ++target._eventsCount;\n } else {\n if (typeof existing === 'function') {\n // Adding the second element, need to change to array.\n existing = events[type] =\n prepend ? [listener, existing] : [existing, listener];\n // If we've already got an array, just append.\n } else if (prepend) {\n existing.unshift(listener);\n } else {\n existing.push(listener);\n }\n\n // Check for listener leak\n m = _getMaxListeners(target);\n if (m > 0 && existing.length > m && !existing.warned) {\n existing.warned = true;\n // No error code for this since it is a Warning\n // eslint-disable-next-line no-restricted-syntax\n var w = new Error('Possible EventEmitter memory leak detected. ' +\n existing.length + ' ' + String(type) + ' listeners ' +\n 'added. Use emitter.setMaxListeners() to ' +\n 'increase limit');\n w.name = 'MaxListenersExceededWarning';\n w.emitter = target;\n w.type = type;\n w.count = existing.length;\n ProcessEmitWarning(w);\n }\n }\n\n return target;\n}\n\nEventEmitter.prototype.addListener = function addListener(type, listener) {\n return _addListener(this, type, listener, false);\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.prependListener =\n function prependListener(type, listener) {\n return _addListener(this, type, listener, true);\n };\n\nfunction onceWrapper() {\n if (!this.fired) {\n this.target.removeListener(this.type, this.wrapFn);\n this.fired = true;\n if (arguments.length === 0)\n return this.listener.call(this.target);\n return this.listener.apply(this.target, arguments);\n }\n}\n\nfunction _onceWrap(target, type, listener) {\n var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };\n var wrapped = onceWrapper.bind(state);\n wrapped.listener = listener;\n state.wrapFn = wrapped;\n return wrapped;\n}\n\nEventEmitter.prototype.once = function once(type, listener) {\n checkListener(listener);\n this.on(type, _onceWrap(this, type, listener));\n return this;\n};\n\nEventEmitter.prototype.prependOnceListener =\n function prependOnceListener(type, listener) {\n checkListener(listener);\n this.prependListener(type, _onceWrap(this, type, listener));\n return this;\n };\n\n// Emits a 'removeListener' event if and only if the listener was removed.\nEventEmitter.prototype.removeListener =\n function removeListener(type, listener) {\n var list, events, position, i, originalListener;\n\n checkListener(listener);\n\n events = this._events;\n if (events === undefined)\n return this;\n\n list = events[type];\n if (list === undefined)\n return this;\n\n if (list === listener || list.listener === listener) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else {\n delete events[type];\n if (events.removeListener)\n this.emit('removeListener', type, list.listener || listener);\n }\n } else if (typeof list !== 'function') {\n position = -1;\n\n for (i = list.length - 1; i >= 0; i--) {\n if (list[i] === listener || list[i].listener === listener) {\n originalListener = list[i].listener;\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (position === 0)\n list.shift();\n else {\n spliceOne(list, position);\n }\n\n if (list.length === 1)\n events[type] = list[0];\n\n if (events.removeListener !== undefined)\n this.emit('removeListener', type, originalListener || listener);\n }\n\n return this;\n };\n\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\n\nEventEmitter.prototype.removeAllListeners =\n function removeAllListeners(type) {\n var listeners, events, i;\n\n events = this._events;\n if (events === undefined)\n return this;\n\n // not listening for removeListener, no need to emit\n if (events.removeListener === undefined) {\n if (arguments.length === 0) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n } else if (events[type] !== undefined) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else\n delete events[type];\n }\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n var keys = Object.keys(events);\n var key;\n for (i = 0; i < keys.length; ++i) {\n key = keys[i];\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = Object.create(null);\n this._eventsCount = 0;\n return this;\n }\n\n listeners = events[type];\n\n if (typeof listeners === 'function') {\n this.removeListener(type, listeners);\n } else if (listeners !== undefined) {\n // LIFO order\n for (i = listeners.length - 1; i >= 0; i--) {\n this.removeListener(type, listeners[i]);\n }\n }\n\n return this;\n };\n\nfunction _listeners(target, type, unwrap) {\n var events = target._events;\n\n if (events === undefined)\n return [];\n\n var evlistener = events[type];\n if (evlistener === undefined)\n return [];\n\n if (typeof evlistener === 'function')\n return unwrap ? [evlistener.listener || evlistener] : [evlistener];\n\n return unwrap ?\n unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);\n}\n\nEventEmitter.prototype.listeners = function listeners(type) {\n return _listeners(this, type, true);\n};\n\nEventEmitter.prototype.rawListeners = function rawListeners(type) {\n return _listeners(this, type, false);\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n if (typeof emitter.listenerCount === 'function') {\n return emitter.listenerCount(type);\n } else {\n return listenerCount.call(emitter, type);\n }\n};\n\nEventEmitter.prototype.listenerCount = listenerCount;\nfunction listenerCount(type) {\n var events = this._events;\n\n if (events !== undefined) {\n var evlistener = events[type];\n\n if (typeof evlistener === 'function') {\n return 1;\n } else if (evlistener !== undefined) {\n return evlistener.length;\n }\n }\n\n return 0;\n}\n\nEventEmitter.prototype.eventNames = function eventNames() {\n return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];\n};\n\nfunction arrayClone(arr, n) {\n var copy = new Array(n);\n for (var i = 0; i < n; ++i)\n copy[i] = arr[i];\n return copy;\n}\n\nfunction spliceOne(list, index) {\n for (; index + 1 < list.length; index++)\n list[index] = list[index + 1];\n list.pop();\n}\n\nfunction unwrapListeners(arr) {\n var ret = new Array(arr.length);\n for (var i = 0; i < ret.length; ++i) {\n ret[i] = arr[i].listener || arr[i];\n }\n return ret;\n}\n\nfunction once(emitter, name) {\n return new Promise(function (resolve, reject) {\n function errorListener(err) {\n emitter.removeListener(name, resolver);\n reject(err);\n }\n\n function resolver() {\n if (typeof emitter.removeListener === 'function') {\n emitter.removeListener('error', errorListener);\n }\n resolve([].slice.call(arguments));\n };\n\n eventTargetAgnosticAddListener(emitter, name, resolver, { once: true });\n if (name !== 'error') {\n addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });\n }\n });\n}\n\nfunction addErrorHandlerIfEventEmitter(emitter, handler, flags) {\n if (typeof emitter.on === 'function') {\n eventTargetAgnosticAddListener(emitter, 'error', handler, flags);\n }\n}\n\nfunction eventTargetAgnosticAddListener(emitter, name, listener, flags) {\n if (typeof emitter.on === 'function') {\n if (flags.once) {\n emitter.once(name, listener);\n } else {\n emitter.on(name, listener);\n }\n } else if (typeof emitter.addEventListener === 'function') {\n // EventTarget does not have `error` event semantics like Node\n // EventEmitters, we do not listen for `error` events here.\n emitter.addEventListener(name, function wrapListener(arg) {\n // IE does not have builtin `{ once: true }` support so we\n // have to do it manually.\n if (flags.once) {\n emitter.removeEventListener(name, wrapListener);\n }\n listener(arg);\n });\n } else {\n throw new TypeError('The \"emitter\" argument must be of type EventEmitter. Received type ' + typeof emitter);\n }\n}\n","var Tokenizer = require(\"./Tokenizer.js\");\n\n/*\n\tOptions:\n\n\txmlMode: Disables the special behavior for script/style tags (false by default)\n\tlowerCaseAttributeNames: call .toLowerCase for each attribute name (true if xmlMode is `false`)\n\tlowerCaseTags: call .toLowerCase for each tag name (true if xmlMode is `false`)\n*/\n\n/*\n\tCallbacks:\n\n\toncdataend,\n\toncdatastart,\n\tonclosetag,\n\toncomment,\n\toncommentend,\n\tonerror,\n\tonopentag,\n\tonprocessinginstruction,\n\tonreset,\n\tontext\n*/\n\nvar formTags = {\n input: true,\n option: true,\n optgroup: true,\n select: true,\n button: true,\n datalist: true,\n textarea: true\n};\n\nvar openImpliesClose = {\n tr: { tr: true, th: true, td: true },\n th: { th: true },\n td: { thead: true, th: true, td: true },\n body: { head: true, link: true, script: true },\n li: { li: true },\n p: { p: true },\n h1: { p: true },\n h2: { p: true },\n h3: { p: true },\n h4: { p: true },\n h5: { p: true },\n h6: { p: true },\n select: formTags,\n input: formTags,\n output: formTags,\n button: formTags,\n datalist: formTags,\n textarea: formTags,\n option: { option: true },\n optgroup: { optgroup: true }\n};\n\nvar voidElements = {\n __proto__: null,\n area: true,\n base: true,\n basefont: true,\n br: true,\n col: true,\n command: true,\n embed: true,\n frame: true,\n hr: true,\n img: true,\n input: true,\n isindex: true,\n keygen: true,\n link: true,\n meta: true,\n param: true,\n source: true,\n track: true,\n wbr: true\n};\n\nvar foreignContextElements = {\n __proto__: null,\n math: true,\n svg: true\n};\nvar htmlIntegrationElements = {\n __proto__: null,\n mi: true,\n mo: true,\n mn: true,\n ms: true,\n mtext: true,\n \"annotation-xml\": true,\n foreignObject: true,\n desc: true,\n title: true\n};\n\nvar re_nameEnd = /\\s|\\//;\n\nfunction Parser(cbs, options) {\n this._options = options || {};\n this._cbs = cbs || {};\n\n this._tagname = \"\";\n this._attribname = \"\";\n this._attribvalue = \"\";\n this._attribs = null;\n this._stack = [];\n this._foreignContext = [];\n\n this.startIndex = 0;\n this.endIndex = null;\n\n this._lowerCaseTagNames =\n \"lowerCaseTags\" in this._options\n ? !!this._options.lowerCaseTags\n : !this._options.xmlMode;\n this._lowerCaseAttributeNames =\n \"lowerCaseAttributeNames\" in this._options\n ? !!this._options.lowerCaseAttributeNames\n : !this._options.xmlMode;\n\n if (this._options.Tokenizer) {\n Tokenizer = this._options.Tokenizer;\n }\n this._tokenizer = new Tokenizer(this._options, this);\n\n if (this._cbs.onparserinit) this._cbs.onparserinit(this);\n}\n\nrequire(\"inherits\")(Parser, require(\"events\").EventEmitter);\n\nParser.prototype._updatePosition = function(initialOffset) {\n if (this.endIndex === null) {\n if (this._tokenizer._sectionStart <= initialOffset) {\n this.startIndex = 0;\n } else {\n this.startIndex = this._tokenizer._sectionStart - initialOffset;\n }\n } else this.startIndex = this.endIndex + 1;\n this.endIndex = this._tokenizer.getAbsoluteIndex();\n};\n\n//Tokenizer event handlers\nParser.prototype.ontext = function(data) {\n this._updatePosition(1);\n this.endIndex--;\n\n if (this._cbs.ontext) this._cbs.ontext(data);\n};\n\nParser.prototype.onopentagname = function(name) {\n if (this._lowerCaseTagNames) {\n name = name.toLowerCase();\n }\n\n this._tagname = name;\n\n if (!this._options.xmlMode && name in openImpliesClose) {\n for (\n var el;\n (el = this._stack[this._stack.length - 1]) in\n openImpliesClose[name];\n this.onclosetag(el)\n );\n }\n\n if (this._options.xmlMode || !(name in voidElements)) {\n this._stack.push(name);\n if (name in foreignContextElements) this._foreignContext.push(true);\n else if (name in htmlIntegrationElements)\n this._foreignContext.push(false);\n }\n\n if (this._cbs.onopentagname) this._cbs.onopentagname(name);\n if (this._cbs.onopentag) this._attribs = {};\n};\n\nParser.prototype.onopentagend = function() {\n this._updatePosition(1);\n\n if (this._attribs) {\n if (this._cbs.onopentag)\n this._cbs.onopentag(this._tagname, this._attribs);\n this._attribs = null;\n }\n\n if (\n !this._options.xmlMode &&\n this._cbs.onclosetag &&\n this._tagname in voidElements\n ) {\n this._cbs.onclosetag(this._tagname);\n }\n\n this._tagname = \"\";\n};\n\nParser.prototype.onclosetag = function(name) {\n this._updatePosition(1);\n\n if (this._lowerCaseTagNames) {\n name = name.toLowerCase();\n }\n \n if (name in foreignContextElements || name in htmlIntegrationElements) {\n this._foreignContext.pop();\n }\n\n if (\n this._stack.length &&\n (!(name in voidElements) || this._options.xmlMode)\n ) {\n var pos = this._stack.lastIndexOf(name);\n if (pos !== -1) {\n if (this._cbs.onclosetag) {\n pos = this._stack.length - pos;\n while (pos--) this._cbs.onclosetag(this._stack.pop());\n } else this._stack.length = pos;\n } else if (name === \"p\" && !this._options.xmlMode) {\n this.onopentagname(name);\n this._closeCurrentTag();\n }\n } else if (!this._options.xmlMode && (name === \"br\" || name === \"p\")) {\n this.onopentagname(name);\n this._closeCurrentTag();\n }\n};\n\nParser.prototype.onselfclosingtag = function() {\n if (\n this._options.xmlMode ||\n this._options.recognizeSelfClosing ||\n this._foreignContext[this._foreignContext.length - 1]\n ) {\n this._closeCurrentTag();\n } else {\n this.onopentagend();\n }\n};\n\nParser.prototype._closeCurrentTag = function() {\n var name = this._tagname;\n\n this.onopentagend();\n\n //self-closing tags will be on the top of the stack\n //(cheaper check than in onclosetag)\n if (this._stack[this._stack.length - 1] === name) {\n if (this._cbs.onclosetag) {\n this._cbs.onclosetag(name);\n }\n this._stack.pop();\n \n }\n};\n\nParser.prototype.onattribname = function(name) {\n if (this._lowerCaseAttributeNames) {\n name = name.toLowerCase();\n }\n this._attribname = name;\n};\n\nParser.prototype.onattribdata = function(value) {\n this._attribvalue += value;\n};\n\nParser.prototype.onattribend = function() {\n if (this._cbs.onattribute)\n this._cbs.onattribute(this._attribname, this._attribvalue);\n if (\n this._attribs &&\n !Object.prototype.hasOwnProperty.call(this._attribs, this._attribname)\n ) {\n this._attribs[this._attribname] = this._attribvalue;\n }\n this._attribname = \"\";\n this._attribvalue = \"\";\n};\n\nParser.prototype._getInstructionName = function(value) {\n var idx = value.search(re_nameEnd),\n name = idx < 0 ? value : value.substr(0, idx);\n\n if (this._lowerCaseTagNames) {\n name = name.toLowerCase();\n }\n\n return name;\n};\n\nParser.prototype.ondeclaration = function(value) {\n if (this._cbs.onprocessinginstruction) {\n var name = this._getInstructionName(value);\n this._cbs.onprocessinginstruction(\"!\" + name, \"!\" + value);\n }\n};\n\nParser.prototype.onprocessinginstruction = function(value) {\n if (this._cbs.onprocessinginstruction) {\n var name = this._getInstructionName(value);\n this._cbs.onprocessinginstruction(\"?\" + name, \"?\" + value);\n }\n};\n\nParser.prototype.oncomment = function(value) {\n this._updatePosition(4);\n\n if (this._cbs.oncomment) this._cbs.oncomment(value);\n if (this._cbs.oncommentend) this._cbs.oncommentend();\n};\n\nParser.prototype.oncdata = function(value) {\n this._updatePosition(1);\n\n if (this._options.xmlMode || this._options.recognizeCDATA) {\n if (this._cbs.oncdatastart) this._cbs.oncdatastart();\n if (this._cbs.ontext) this._cbs.ontext(value);\n if (this._cbs.oncdataend) this._cbs.oncdataend();\n } else {\n this.oncomment(\"[CDATA[\" + value + \"]]\");\n }\n};\n\nParser.prototype.onerror = function(err) {\n if (this._cbs.onerror) this._cbs.onerror(err);\n};\n\nParser.prototype.onend = function() {\n if (this._cbs.onclosetag) {\n for (\n var i = this._stack.length;\n i > 0;\n this._cbs.onclosetag(this._stack[--i])\n );\n }\n if (this._cbs.onend) this._cbs.onend();\n};\n\n//Resets the parser to a blank state, ready to parse a new HTML document\nParser.prototype.reset = function() {\n if (this._cbs.onreset) this._cbs.onreset();\n this._tokenizer.reset();\n\n this._tagname = \"\";\n this._attribname = \"\";\n this._attribs = null;\n this._stack = [];\n\n if (this._cbs.onparserinit) this._cbs.onparserinit(this);\n};\n\n//Parses a complete HTML document and pushes it to the handler\nParser.prototype.parseComplete = function(data) {\n this.reset();\n this.end(data);\n};\n\nParser.prototype.write = function(chunk) {\n this._tokenizer.write(chunk);\n};\n\nParser.prototype.end = function(chunk) {\n this._tokenizer.end(chunk);\n};\n\nParser.prototype.pause = function() {\n this._tokenizer.pause();\n};\n\nParser.prototype.resume = function() {\n this._tokenizer.resume();\n};\n\n//alias for backwards compat\nParser.prototype.parseChunk = Parser.prototype.write;\nParser.prototype.done = Parser.prototype.end;\n\nmodule.exports = Parser;\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = _default;\n\nvar _Parser = _interopRequireDefault(require(\"htmlparser2/lib/Parser\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _default(incrementalDom) {\n const autoClosingStack = [];\n\n const autoClosing = () => {\n const stack = autoClosingStack.shift();\n if (!stack) return;\n stack.reverse().forEach(tag => incrementalDom.elementClose(tag));\n };\n\n const {\n attr,\n elementOpenEnd,\n elementVoid,\n text\n } = incrementalDom;\n\n const elementOpen = (tag, ...args) => {\n if (autoClosingStack.length > 0) autoClosingStack[0].push(tag);\n incrementalDom.elementOpen(tag, ...args);\n };\n\n const elementOpenStart = tag => {\n if (autoClosingStack.length > 0) autoClosingStack[0].push(tag);\n incrementalDom.elementOpenStart(tag);\n };\n\n const elementClose = tag => {\n if (autoClosingStack.length > 0) autoClosingStack[0].pop();\n incrementalDom.elementClose(tag);\n };\n\n const sanitizeName = name => name.replace(/[^-:\\w]/g, '');\n\n const iDOMParser = new _Parser.default({\n onopentag: name => elementOpenEnd(sanitizeName(name)),\n onopentagname: name => elementOpenStart(sanitizeName(name)),\n onattribute: (name, value) => {\n const sanitizedName = sanitizeName(name);\n if (sanitizedName !== '') attr(sanitizedName, value);\n },\n ontext: text,\n onclosetag: name => elementClose(sanitizeName(name))\n }, {\n decodeEntities: true,\n lowerCaseAttributeNames: false,\n lowerCaseTags: false\n });\n\n const wrapIncrementalDOM = html => typeof html === 'function' ? html() : iDOMParser.write(html);\n\n return {\n renderAttrsToArray(token) {\n if (!token.attrs) return [];\n return token.attrs.reduce((v, a) => v.concat(a), []);\n },\n\n renderInline(tokens, options, env) {\n return () => {\n autoClosingStack.unshift([]);\n tokens.forEach((current, i) => {\n const {\n type\n } = current;\n\n if (this.rules[type] !== undefined) {\n wrapIncrementalDOM(this.rules[type](tokens, i, options, env, this));\n } else {\n this.renderToken(tokens, i, options)();\n }\n });\n autoClosing();\n };\n },\n\n renderToken(tokens, idx) {\n return () => {\n const token = tokens[idx];\n if (token.hidden) return;\n\n if (token.nesting === -1) {\n elementClose(token.tag);\n } else {\n const func = token.nesting === 0 ? elementVoid : elementOpen;\n func.apply(this, [token.tag, '', []].concat(this.renderAttrsToArray(token)));\n }\n };\n },\n\n render(tokens, options, env) {\n return () => {\n autoClosingStack.unshift([]);\n tokens.forEach((current, i) => {\n const {\n type\n } = current;\n\n if (type === 'inline') {\n this.renderInline(current.children, options, env)();\n } else if (this.rules[type] !== undefined) {\n wrapIncrementalDOM(this.rules[type](tokens, i, options, env, this));\n } else {\n this.renderToken(tokens, i, options, env)();\n }\n });\n autoClosing();\n iDOMParser.reset();\n };\n }\n\n };\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = _default;\n\nfunction _default(incrementalDom) {\n const {\n elementClose,\n elementOpen,\n elementVoid,\n text\n } = incrementalDom;\n return {\n code_inline(tokens, idx, options, env, slf) {\n return () => {\n elementOpen.apply(this, ['code', '', []].concat(slf.renderAttrsToArray(tokens[idx])));\n text(tokens[idx].content);\n elementClose('code');\n };\n },\n\n code_block(tokens, idx, options, env, slf) {\n return () => {\n elementOpen.apply(this, ['pre', '', []].concat(slf.renderAttrsToArray(tokens[idx])));\n elementOpen('code');\n text(tokens[idx].content);\n elementClose('code');\n elementClose('pre');\n };\n },\n\n hardbreak() {\n return () => elementVoid('br');\n },\n\n softbreak(tokens, idx, options) {\n return () => options.breaks ? elementVoid('br') : text('\\n');\n },\n\n text(tokens, idx) {\n return () => text(tokens[idx].content);\n }\n\n };\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = _default;\n\nvar _renderer = _interopRequireDefault(require(\"./mixins/renderer\"));\n\nvar _rules = _interopRequireDefault(require(\"./mixins/rules\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _default(md, target, opts = {}) {\n const options = _objectSpread({\n incrementalizeDefaultRules: true\n }, opts);\n\n const incrementalDOM = !target && window ? window.IncrementalDOM : target;\n const mixin = (0, _renderer.default)(incrementalDOM);\n Object.defineProperty(md, 'IncrementalDOMRenderer', {\n get() {\n const extended = Object.assign(Object.create(Object.getPrototypeOf(md.renderer)), md.renderer, mixin);\n\n if (options.incrementalizeDefaultRules) {\n extended.rules = _objectSpread({}, extended.rules, (0, _rules.default)(incrementalDOM));\n }\n\n return extended;\n }\n\n });\n\n md.renderToIncrementalDOM = (src, env = {}) => md.IncrementalDOMRenderer.render(md.parse(src, env), md.options, env);\n\n md.renderInlineToIncrementalDOM = (src, env = {}) => md.IncrementalDOMRenderer.render(md.parseInline(src, env), md.options, env);\n}","// Sanitizer\n\n'use strict';\n\nmodule.exports = function sanitizer_plugin(md, options) {\n\n var linkify = md.linkify,\n escapeHtml = md.utils.escapeHtml,\n // \n patternLinkOpen = ']*href=\"[^\"<>]*\"[^<>]*)\\\\s?>',\n regexpLinkOpen = RegExp(patternLinkOpen, 'i'),\n // \"\"(optional)\n patternImage = ']*src=\"[^\"<>]*\"[^<>]*)\\\\s?\\\\/?>',\n regexpImage = RegExp(patternImage, 'i'),\n regexpImageProtocols = /^(?:https?:)?\\/\\//i,\n regexpLinkProtocols = /^(?:https?:\\/\\/|ftp:\\/\\/|\\/\\/|mailto:|xmpp:)/i;\n\n options = options ? options : {};\n var removeUnknown = (typeof options.removeUnknown !== 'undefined') ? options.removeUnknown : false;\n var removeUnbalanced = (typeof options.removeUnbalanced !== 'undefined') ? options.removeUnbalanced : false;\n var imageClass = (typeof options.imageClass !== 'undefined') ? options.imageClass : '';\n var runBalancer = false;\n var j;\n\n\n var allowedTags = [ 'a', 'b', 'blockquote', 'code', 'em', 'h1', 'h2', 'h3', 'h4', 'h5',\n 'h6', 'li', 'ol', 'p', 'pre', 's', 'sub', 'sup', 'strong', 'ul' ];\n var openTagCount = new Array(allowedTags.length);\n var removeTag = new Array(allowedTags.length);\n for (j = 0; j < allowedTags.length; j++) { openTagCount[j] = 0; }\n for (j = 0; j < allowedTags.length; j++) { removeTag[j] = false; }\n\n function getUrl(link) {\n var match = linkify.match(link);\n if (match && match.length === 1 && match[0].index === 0 && match[0].lastIndex === link.length) {\n return match[0].url;\n }\n return null;\n }\n\n /////////////////////////////////////////////////////////////////////////////////////////////////\n // REPLACE UNKNOWN TAGS\n /////////////////////////////////////////////////////////////////////////////////////////////////\n\n function replaceUnknownTags(str) {\n /*\n * it starts with '<' and maybe ends with '>',\n * maybe has a '<' on the right\n * it doesnt have '<' or '>' in between\n * -> it's a tag!\n */\n str = str.replace(/<[^<>]*>?/gi, function (tag) {\n var match, attrs, url, alt, title, tagnameIndex;\n\n // '<->', '<- ' and '<3 ' look nice, they are harmless\n if (/(^<->|^<-\\s|^<3\\s)/.test(tag)) { return tag; }\n\n // images\n match = tag.match(regexpImage);\n if (match) {\n attrs = match[1];\n url = getUrl(attrs.match(/src=\"([^\"<>]*)\"/i)[1]);\n alt = attrs.match(/alt=\"([^\"<>]*)\"/i);\n alt = (alt && typeof alt[1] !== 'undefined') ? alt[1] : '';\n title = attrs.match(/title=\"([^\"<>]*)\"/i);\n title = (title && typeof title[1] !== 'undefined') ? title[1] : '';\n\n // only http and https are allowed for images\n if (url && regexpImageProtocols.test(url)) {\n if (imageClass !== '') {\n return '\"'';\n }\n return '\"'';\n }\n }\n\n // links\n tagnameIndex = allowedTags.indexOf('a');\n match = tag.match(regexpLinkOpen);\n if (match) {\n attrs = match[1];\n url = getUrl(attrs.match(/href=\"([^\"<>]*)\"/i)[1]);\n title = attrs.match(/title=\"([^\"<>]*)\"/i);\n title = (title && typeof title[1] !== 'undefined') ? title[1] : '';\n // only http, https, ftp, mailto and xmpp are allowed for links\n if (url && regexpLinkProtocols.test(url)) {\n runBalancer = true;\n openTagCount[tagnameIndex] += 1;\n return '';\n }\n }\n match = /<\\/a>/i.test(tag);\n if (match) {\n runBalancer = true;\n openTagCount[tagnameIndex] -= 1;\n if (openTagCount[tagnameIndex] < 0) {\n removeTag[tagnameIndex] = true;\n }\n return '';\n }\n\n // standalone tags\n match = tag.match(/<(br|hr)\\s?\\/?>/i);\n if (match) {\n return '<' + match[1].toLowerCase() + '>';\n }\n\n // whitelisted tags\n match = tag.match(/<(\\/?)(b|blockquote|code|em|h[1-6]|li|ol(?: start=\"\\d+\")?|p|pre|s|sub|sup|strong|ul)>/i);\n if (match && !/<\\/ol start=\"\\d+\"/i.test(tag)) {\n runBalancer = true;\n tagnameIndex = allowedTags.indexOf(match[2].toLowerCase().split(' ')[0]);\n if (match[1] === '/') {\n openTagCount[tagnameIndex] -= 1;\n } else {\n openTagCount[tagnameIndex] += 1;\n }\n if (openTagCount[tagnameIndex] < 0) {\n removeTag[tagnameIndex] = true;\n }\n return '<' + match[1] + match[2].toLowerCase() + '>';\n }\n\n // other tags we don't recognize\n if (removeUnknown === true) {\n return '';\n }\n return escapeHtml(tag);\n });\n\n return str;\n }\n\n\n function sanitizeInlineAndBlock(state) {\n var i, blkIdx, inlineTokens;\n // reset counts\n for (j = 0; j < allowedTags.length; j++) { openTagCount[j] = 0; }\n for (j = 0; j < allowedTags.length; j++) { removeTag[j] = false; }\n runBalancer = false;\n\n\n for (blkIdx = 0; blkIdx < state.tokens.length; blkIdx++) {\n if (state.tokens[blkIdx].type === 'html_block') {\n state.tokens[blkIdx].content = replaceUnknownTags(state.tokens[blkIdx].content);\n }\n if (state.tokens[blkIdx].type !== 'inline') {\n continue;\n }\n\n inlineTokens = state.tokens[blkIdx].children;\n for (i = 0; i < inlineTokens.length; i++) {\n if (inlineTokens[i].type === 'html_inline') {\n inlineTokens[i].content = replaceUnknownTags(inlineTokens[i].content);\n }\n }\n }\n }\n\n /////////////////////////////////////////////////////////////////////////////////////////////////\n // REPLACE UNBALANCED TAGS\n /////////////////////////////////////////////////////////////////////////////////////////////////\n\n function balance(state) {\n if (runBalancer === false) { return; }\n var blkIdx, inlineTokens;\n\n function replaceUnbalancedTag(str, tagname) {\n var openingRegexp, closingRegexp;\n if (tagname === 'a') {\n openingRegexp = RegExp(']*\" title=\"[^\"<>]*\" target=\"_blank\">', 'g');\n } else if (tagname === 'ol') {\n openingRegexp = //g;\n } else {\n openingRegexp = RegExp('<' + tagname + '>', 'g');\n }\n closingRegexp = RegExp('', 'g');\n if (removeUnbalanced === true) {\n str = str.replace(openingRegexp, '');\n str = str.replace(closingRegexp, '');\n } else {\n str = str.replace(openingRegexp, function (m) { return escapeHtml(m); });\n str = str.replace(closingRegexp, function (m) { return escapeHtml(m); });\n }\n return str;\n }\n\n function replaceAllUnbalancedTags(str) {\n var i;\n for (i = 0; i < allowedTags.length; i++) {\n if (removeTag[i] === true) {\n str = replaceUnbalancedTag(str, allowedTags[i]);\n }\n }\n return str;\n }\n\n for (j = 0; j < allowedTags.length; j++) {\n if (openTagCount[j] !== 0) {\n removeTag[j] = true;\n }\n }\n\n // replace unbalanced tags\n for (blkIdx = 0; blkIdx < state.tokens.length; blkIdx++) {\n if (state.tokens[blkIdx].type === 'html_block') {\n state.tokens[blkIdx].content = replaceAllUnbalancedTags(state.tokens[blkIdx].content);\n continue;\n }\n if (state.tokens[blkIdx].type !== 'inline') {\n continue;\n }\n inlineTokens = state.tokens[blkIdx].children;\n for (j = 0; j < inlineTokens.length; j++) {\n if (inlineTokens[j].type === 'html_inline') {\n inlineTokens[j].content = replaceAllUnbalancedTags(inlineTokens[j].content);\n }\n }\n }\n }\n\n md.core.ruler.after('linkify', 'sanitize_inline', sanitizeInlineAndBlock);\n md.core.ruler.after('sanitize_inline', 'sanitize_balance', balance);\n};\n","// Markdown-it plugin to render GitHub-style task lists; see\n//\n// https://github.com/blog/1375-task-lists-in-gfm-issues-pulls-comments\n// https://github.com/blog/1825-task-lists-in-all-markdown-documents\n\nmodule.exports = function(md, options) {\n\tvar defaults;\n\tdefaults = {\n\t disabled: true,\n\t divWrap: false,\n\t divClass: 'checkbox',\n\t idPrefix: 'cbx_',\n\t ulClass: 'task-list',\n\t liClass: 'task-list-item'\n\t};\n\toptions = Object.assign({}, defaults, options);\n\tmd.core.ruler.after('inline', 'github-task-lists', function(state) {\n\t\tvar tokens = state.tokens;\n\t\tvar lastId = 0;\n\t\tfor (var i = 2; i < tokens.length; i++) {\n\n\t\t\tif (isTodoItem(tokens, i)) {\n\t\t\t\ttodoify(tokens[i], lastId, options, state.Token);\n\t\t\t\tlastId += 1;\n\t\t\t\tattrSet(tokens[i-2], 'class', options.liClass);\n\t\t\t\tattrSet(tokens[parentToken(tokens, i-2)], 'class', options.ulClass);\n\t\t\t}\n\t\t}\n\t});\n};\n\nfunction attrSet(token, name, value) {\n\tvar index = token.attrIndex(name);\n\tvar attr = [name, value];\n\n\tif (index < 0) {\n\t\ttoken.attrPush(attr);\n\t} else {\n\t\ttoken.attrs[index] = attr;\n\t}\n}\n\nfunction parentToken(tokens, index) {\n\tvar targetLevel = tokens[index].level - 1;\n\tfor (var i = index - 1; i >= 0; i--) {\n\t\tif (tokens[i].level === targetLevel) {\n\t\t\treturn i;\n\t\t}\n\t}\n\treturn -1;\n}\n\nfunction isTodoItem(tokens, index) {\n\treturn isInline(tokens[index]) &&\n\t isParagraph(tokens[index - 1]) &&\n\t isListItem(tokens[index - 2]) &&\n\t startsWithTodoMarkdown(tokens[index]);\n}\n\nfunction todoify(token, lastId, options, TokenConstructor) {\n\tvar id;\n\tid = options.idPrefix + lastId\n\ttoken.children[0].content = token.children[0].content.slice(3);\n\t// label\n\ttoken.children.unshift(beginLabel(id, TokenConstructor));\n\ttoken.children.push(endLabel(TokenConstructor));\n\t// checkbox\n\ttoken.children.unshift(makeCheckbox(token, id, options, TokenConstructor));\n\tif (options.divWrap) {\n\t\ttoken.children.unshift(beginWrap(options, TokenConstructor));\n\t\ttoken.children.push(endWrap(TokenConstructor));\n\t}\n}\n\nfunction makeCheckbox(token, id, options, TokenConstructor) {\n\tvar checkbox = new TokenConstructor('checkbox_input', 'input', 0);\n\tcheckbox.attrs = [[\"type\", \"checkbox\"], [\"id\", id]];\n\tvar checked = /^\\[[xX]\\][ \\u00A0]/.test(token.content); // if token.content starts with '[x] ' or '[X] '\n\tif (checked === true) {\n\t checkbox.attrs.push([\"checked\", \"true\"]);\n\t}\n\tif (options.disabled === true) {\n\t checkbox.attrs.push([\"disabled\", \"true\"]);\n\t}\n\t\n\treturn checkbox;\n}\n\nfunction beginLabel(id, TokenConstructor) {\n\tvar label = new TokenConstructor('label_open', 'label', 1);\n\tlabel.attrs = [[\"for\", id]];\n\treturn label;\n}\n\nfunction endLabel(TokenConstructor) {\n\treturn new TokenConstructor(\"label_close\", \"label\", -1);\n}\n\n// these next two functions are kind of hacky; probably should really be a\n// true block-level token with .tag=='label'\nfunction beginWrap(options, TokenConstructor) {\n\tvar token = new TokenConstructor('checkbox_open', 'div', 0);\n\ttoken.attrs = [[\"class\", options.divClass]];\n\treturn token;\n}\n\nfunction endWrap(TokenConstructor) {\n\tvar token = new TokenConstructor('checkbox_close', 'div', -1);\n\t// token.content = '';\n\treturn token;\n}\n\nfunction isInline(token) { return token.type === 'inline'; }\nfunction isParagraph(token) { return token.type === 'paragraph_open'; }\nfunction isListItem(token) { return token.type === 'list_item_open'; }\n\nfunction startsWithTodoMarkdown(token) {\n\t// The leading whitespace in a list item (token.content) is already trimmed off by markdown-it.\n\t// The regex below checks for '[ ] ' or '[x] ' or '[X] ' at the start of the string token.content,\n\t// where the space is either a normal space or a non-breaking space (character 160 = \\u00A0).\n\treturn /^\\[[xX \\u00A0]\\][ \\u00A0]/.test(token.content);\n}\n","\n/**\n * @preserve\n * Copyright 2015 The Incremental DOM Authors. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0.\n */\n\n'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nconst __assign = Object.assign || function (target) {\r\n for (var source, i = 1; i < arguments.length; i++) {\r\n source = arguments[i];\r\n for (var prop in source) {\r\n if (Object.prototype.hasOwnProperty.call(source, prop)) {\r\n target[prop] = source[prop];\r\n }\r\n }\r\n }\r\n return target;\r\n};\r\n\r\nfunction __extends(d, b) {\r\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nfunction __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nfunction __metadata(k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n}\r\n\r\nfunction __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator.throw(value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments)).next());\r\n });\r\n}\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar symbols = {\n default: '__default'\n};\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * A cached reference to the hasOwnProperty function.\n */\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n/**\n * A constructor function that will create blank objects.\n */\nfunction Blank() {}\nBlank.prototype = Object.create(null);\n/**\n * Used to prevent property collisions between our \"map\" and its prototype.\n * @param map The map to check.\n * @param property The property to check.\n * @return Whether map has property.\n */\nfunction has(map, property) {\n return hasOwnProperty.call(map, property);\n}\n/**\n * Creates an map object without a prototype.\n */\n// tslint:disable-next-line:no-any\nfunction createMap() {\n // tslint:disable-next-line:no-any\n return new Blank();\n}\n/**\n * Truncates an array, removing items up until length.\n * @param arr The array to truncate.\n * @param length The new length of the array.\n */\nfunction truncateArray(arr, length) {\n while (arr.length > length) {\n arr.pop();\n }\n}\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * Returns the namespace to use for the attribute.\n */\nfunction getNamespace(name) {\n if (name.lastIndexOf('xml:', 0) === 0) {\n return 'http://www.w3.org/XML/1998/namespace';\n }\n if (name.lastIndexOf('xlink:', 0) === 0) {\n return 'http://www.w3.org/1999/xlink';\n }\n return undefined;\n}\n/**\n * Applies an attribute or property to a given Element. If the value is null\n * or undefined, it is removed from the Element. Otherwise, the value is set\n * as an attribute.\n */\n// tslint:disable-next-line:no-any\nfunction applyAttr(el, name, value) {\n if (value == null) {\n el.removeAttribute(name);\n } else {\n var attrNS = getNamespace(name);\n if (attrNS) {\n el.setAttributeNS(attrNS, name, String(value));\n } else {\n el.setAttribute(name, String(value));\n }\n }\n}\n/**\n * Applies a property to a given Element.\n */\n// tslint:disable-next-line:no-any\nfunction applyProp(el, name, value) {\n // tslint:disable-next-line:no-any\n el[name] = value;\n}\n/**\n * Applies a value to a style declaration. Supports CSS custom properties by\n * setting properties containing a dash using CSSStyleDeclaration.setProperty.\n */\nfunction setStyleValue(style, prop, value) {\n if (prop.indexOf('-') >= 0) {\n style.setProperty(prop, value);\n } else {\n // TODO(tomnguyen) Figure out why this is necessary.\n // tslint:disable-next-line:no-any\n style[prop] = value;\n }\n}\n/**\n * Applies a style to an Element. No vendor prefix expansion is done for\n * property names/values.\n * @param el\n * @param name The attribute's name.\n * @param style The style to set. Either a string of css or an object\n * containing property-value pairs.\n */\nfunction applyStyle(el, name, style) {\n if (typeof style === 'string') {\n el.style.cssText = style;\n } else {\n el.style.cssText = '';\n var elStyle = el.style;\n for (var prop in style) {\n if (has(style, prop)) {\n setStyleValue(elStyle, prop, style[prop]);\n }\n }\n }\n}\n/**\n * Updates a single attribute on an Element.\n * @param el\n * @param name The attribute's name.\n * @param value The attribute's value. If the value is an object or\n * function it is set on the Element, otherwise, it is set as an HTML\n * attribute.\n */\nfunction applyAttributeTyped(el, name, value) {\n var type = typeof value;\n if (type === 'object' || type === 'function') {\n applyProp(el, name, value);\n } else {\n applyAttr(el, name, value);\n }\n}\n/**\n * A publicly mutable object to provide custom mutators for attributes.\n * NB: The result of createMap() has to be recast since closure compiler\n * will just assume attributes is \"any\" otherwise and throws away\n * the type annotation set by tsickle.\n */\nvar attributes = createMap();\n// Special generic mutator that's called for any attribute that does not\n// have a specific mutator.\nattributes[symbols.default] = applyAttributeTyped;\nattributes['style'] = applyStyle;\n/**\n * Calls the appropriate attribute mutator for this attribute.\n */\nfunction updateAttribute(el, name, value) {\n var mutator = attributes[name] || attributes[symbols.default];\n mutator(el, name, value);\n}\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar DEBUG = true;\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * Keeps track whether or not we are in an attributes declaration (after\n * elementOpenStart, but before elementOpenEnd).\n */\nvar inAttributes = false;\n/**\n * Keeps track whether or not we are in an element that should not have its\n * children cleared.\n */\nvar inSkip = false;\n/**\n * Makes sure that there is a current patch context.\n */\nfunction assertInPatch(functionName, context) {\n if (!context) {\n throw new Error('Cannot call ' + functionName + '() unless in patch.');\n }\n}\n/**\n * Makes sure that a patch closes every node that it opened.\n * @param openElement\n * @param root\n */\nfunction assertNoUnclosedTags(openElement, root) {\n if (openElement === root) {\n return;\n }\n var currentElement = openElement;\n var openTags = [];\n while (currentElement && currentElement !== root) {\n openTags.push(currentElement.nodeName.toLowerCase());\n currentElement = currentElement.parentNode;\n }\n throw new Error('One or more tags were not closed:\\n' + openTags.join('\\n'));\n}\n/**\n * Makes sure that node being outer patched has a parent node.\n */\nfunction assertPatchOuterHasParentNode(parent) {\n if (!parent) {\n console.warn('patchOuter requires the node have a parent if there is a key.');\n }\n}\n/**\n * Makes sure that the caller is not where attributes are expected.\n */\nfunction assertNotInAttributes(functionName) {\n if (inAttributes) {\n throw new Error(functionName + '() can not be called between ' + 'elementOpenStart() and elementOpenEnd().');\n }\n}\n/**\n * Makes sure that the caller is not inside an element that has declared skip.\n */\nfunction assertNotInSkip(functionName) {\n if (inSkip) {\n throw new Error(functionName + '() may not be called inside an element ' + 'that has called skip().');\n }\n}\n/**\n * Makes sure that the caller is where attributes are expected.\n */\nfunction assertInAttributes(functionName) {\n if (!inAttributes) {\n throw new Error(functionName + '() can only be called after calling ' + 'elementOpenStart().');\n }\n}\n/**\n * Makes sure the patch closes virtual attributes call\n */\nfunction assertVirtualAttributesClosed() {\n if (inAttributes) {\n throw new Error('elementOpenEnd() must be called after calling ' + 'elementOpenStart().');\n }\n}\n/**\n * Makes sure that tags are correctly nested.\n */\nfunction assertCloseMatchesOpenTag(currentNameOrCtor, nameOrCtor) {\n if (currentNameOrCtor !== nameOrCtor) {\n throw new Error('Received a call to close \"' + nameOrCtor + '\" but \"' + currentNameOrCtor + '\" was open.');\n }\n}\n/**\n * Makes sure that no children elements have been declared yet in the current\n * element.\n */\nfunction assertNoChildrenDeclaredYet(functionName, previousNode) {\n if (previousNode !== null) {\n throw new Error(functionName + '() must come before any child ' + 'declarations inside the current element.');\n }\n}\n/**\n * Checks that a call to patchOuter actually patched the element.\n * @param maybeStartNode The value for the currentNode when the patch\n * started.\n * @param currentNode The currentNode when the patch finished.\n * @param expectedNextNode The Node that is expected to follow the\n * currentNode after the patch;\n * @param expectedPrevNode The Node that is expected to preceed the\n * currentNode after the patch.\n */\nfunction assertPatchElementNoExtras(maybeStartNode, maybeCurrentNode, expectedNextNode, expectedPrevNode) {\n assert(maybeStartNode);\n var startNode = maybeStartNode;\n // tslint:disable-next-line:no-unnecessary-type-assertion\n var currentNode = maybeCurrentNode;\n var wasUpdated = currentNode.nextSibling === expectedNextNode && currentNode.previousSibling === expectedPrevNode;\n var wasChanged = currentNode.nextSibling === startNode.nextSibling && currentNode.previousSibling === expectedPrevNode;\n var wasRemoved = currentNode === startNode;\n if (!wasUpdated && !wasChanged && !wasRemoved) {\n throw new Error('There must be exactly one top level call corresponding ' + 'to the patched element.');\n }\n}\n/**\n * Updates the state of being in an attribute declaration.\n * @return the previous value.\n */\nfunction setInAttributes(value) {\n var previous = inAttributes;\n inAttributes = value;\n return previous;\n}\n/**\n * Updates the state of being in a skip element.\n * @return the previous value.\n */\nfunction setInSkip(value) {\n var previous = inSkip;\n inSkip = value;\n return previous;\n}\n/**\n * Asserts that a value exists and is not null or undefined. goog.asserts\n * is not used in order to avoid dependencies on external code.\n */\nfunction assert(val) {\n if (process.env.NODE_ENV !== 'production' && !val) {\n throw new Error('Expected value to be defined');\n }\n return val;\n}\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar notifications = {\n nodesCreated: null,\n nodesDeleted: null\n};\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * A context object keeps track of the state of a patch.\n */\nvar Context = /** @class */function () {\n function Context() {\n this.created = [];\n this.deleted = [];\n }\n Context.prototype.markCreated = function (node) {\n this.created.push(node);\n };\n Context.prototype.markDeleted = function (node) {\n this.deleted.push(node);\n };\n /**\n * Notifies about nodes that were created during the patch operation.\n */\n Context.prototype.notifyChanges = function () {\n if (notifications.nodesCreated && this.created.length > 0) {\n notifications.nodesCreated(this.created);\n }\n if (notifications.nodesDeleted && this.deleted.length > 0) {\n notifications.nodesDeleted(this.deleted);\n }\n };\n return Context;\n}();\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * Checks if the node is the root of a document. This is either a Document\n * or ShadowRoot. DocumentFragments are included for simplicity of the\n * implementation, though we only want to consider Documents or ShadowRoots.\n * @param node The node to check.\n * @return True if the node the root of a document, false otherwise.\n */\nfunction isDocumentRoot(node) {\n return node.nodeType === 11 || node.nodeType === 9;\n}\n/**\n * Checks if the node is an Element. This is faster than an instanceof check.\n * @param node The node to check.\n * @return Whether or not the node is an Element.\n */\nfunction isElement(node) {\n return node.nodeType === 1;\n}\n/**\n * Checks if the node is a text node. This is faster than an instanceof check.\n * @param node The node to check.\n * @return Whether or not the node is a Text.\n */\nfunction isText(node) {\n return node.nodeType === 3;\n}\n/**\n * @param node The node to start at, inclusive.\n * @param root The root ancestor to get until, exclusive.\n * @return The ancestry of DOM nodes.\n */\nfunction getAncestry(node, root) {\n var ancestry = [];\n var cur = node;\n while (cur !== root) {\n var n = cur;\n ancestry.push(n);\n cur = n.parentNode;\n }\n return ancestry;\n}\n/**\n * return The root node of the DOM tree that contains this node.\n */\nvar getRootNode =\n// tslint:disable-next-line:no-any b/79476176\nNode.prototype.getRootNode || function () {\n // tslint:disable-next-line:no-unnecessary-type-assertion b/77361044\n var cur = this;\n var prev = cur;\n while (cur) {\n prev = cur;\n cur = cur.parentNode;\n }\n return prev;\n};\n/**\n * @param node The node to get the activeElement for.\n * @return The activeElement in the Document or ShadowRoot\n * corresponding to node, if present.\n */\nfunction getActiveElement(node) {\n var root = getRootNode.call(node);\n return isDocumentRoot(root) ? root.activeElement : null;\n}\n/**\n * Gets the path of nodes that contain the focused node in the same document as\n * a reference node, up until the root.\n * @param node The reference node to get the activeElement for.\n * @param root The root to get the focused path until.\n */\nfunction getFocusedPath(node, root) {\n var activeElement = getActiveElement(node);\n if (!activeElement || !node.contains(activeElement)) {\n return [];\n }\n return getAncestry(activeElement, root);\n}\n/**\n * Like insertBefore, but instead instead of moving the desired node, instead\n * moves all the other nodes after.\n * @param parentNode\n * @param node\n * @param referenceNode\n */\nfunction moveBefore(parentNode, node, referenceNode) {\n var insertReferenceNode = node.nextSibling;\n var cur = referenceNode;\n while (cur !== null && cur !== node) {\n var next = cur.nextSibling;\n parentNode.insertBefore(cur, insertReferenceNode);\n cur = next;\n }\n}\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * Keeps track of information needed to perform diffs for a given DOM node.\n */\nvar NodeData = /** @class */function () {\n function NodeData(nameOrCtor, key, text) {\n /**\n * An array of attribute name/value pairs, used for quickly diffing the\n * incomming attributes to see if the DOM node's attributes need to be\n * updated.\n */\n // tslint:disable-next-line:no-any\n this._attrsArr = null;\n /**\n * Whether or not the statics have been applied for the node yet.\n */\n this.staticsApplied = false;\n this.nameOrCtor = nameOrCtor;\n this.key = key;\n this.text = text;\n }\n NodeData.prototype.hasEmptyAttrsArr = function () {\n var attrs = this._attrsArr;\n return !attrs || !attrs.length;\n };\n NodeData.prototype.getAttrsArr = function (length) {\n return this._attrsArr || (this._attrsArr = new Array(length));\n };\n return NodeData;\n}();\n/**\n * Initializes a NodeData object for a Node.\n */\nfunction initData(node, nameOrCtor, key, text) {\n var data = new NodeData(nameOrCtor, key, text);\n node['__incrementalDOMData'] = data;\n return data;\n}\n/**\n * Retrieves the NodeData object for a Node, creating it if necessary.\n */\nfunction getData(node, key) {\n return importSingleNode(node, key);\n}\nfunction isDataInitialized(node) {\n return Boolean(node['__incrementalDOMData']);\n}\nfunction getKey(node) {\n assert(node['__incrementalDOMData']);\n return getData(node).key;\n}\n/**\n * Imports single node and its subtree, initializing caches.\n */\nfunction importSingleNode(node, fallbackKey) {\n if (node['__incrementalDOMData']) {\n return node['__incrementalDOMData'];\n }\n var nodeName = isElement(node) ? node.localName : node.nodeName;\n var key = isElement(node) ? node.getAttribute('key') || fallbackKey : null;\n var text = isText(node) ? node.data : undefined;\n var data = initData(node, nodeName, key, text);\n if (isElement(node)) {\n recordAttributes(node, data);\n }\n return data;\n}\n/**\n * Imports node and its subtree, initializing caches.\n */\nfunction importNode(node) {\n importSingleNode(node);\n for (var child = node.firstChild; child; child = child.nextSibling) {\n importNode(child);\n }\n}\n/**\n * Clears all caches from a node and all of its children.\n */\nfunction clearCache(node) {\n node['__incrementalDOMData'] = null;\n for (var child = node.firstChild; child; child = child.nextSibling) {\n clearCache(child);\n }\n}\n/**\n * Records the element's attributes.\n * @param node The Element that may have attributes\n * @param data The Element's data\n */\nfunction recordAttributes(node, data) {\n var attributes = node.attributes;\n var length = attributes.length;\n if (!length) {\n return;\n }\n var attrsArr = data.getAttrsArr(length);\n // Use a cached length. The attributes array is really a live NamedNodeMap,\n // which exists as a DOM \"Host Object\" (probably as C++ code). This makes the\n // usual constant length iteration very difficult to optimize in JITs.\n for (var i = 0, j = 0; i < length; i += 1, j += 2) {\n var attr = attributes[i];\n var name = attr.name;\n var value = attr.value;\n attrsArr[j] = name;\n attrsArr[j + 1] = value;\n }\n}\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * Gets the namespace to create an element (of a given tag) in.\n */\nfunction getNamespaceForTag(tag, parent) {\n if (tag === 'svg') {\n return 'http://www.w3.org/2000/svg';\n }\n if (tag === 'math') {\n return 'http://www.w3.org/1998/Math/MathML';\n }\n if (parent == null) {\n return null;\n }\n if (getData(parent).nameOrCtor === 'foreignObject') {\n return null;\n }\n return parent.namespaceURI;\n}\n/**\n * Creates an Element.\n * @param doc The document with which to create the Element.\n * @param nameOrCtor The tag or constructor for the Element.\n * @param key A key to identify the Element.\n * @param typeId The type identifier for the Element.\n */\nfunction createElement(doc, parent, nameOrCtor, key) {\n var el;\n if (typeof nameOrCtor === 'function') {\n el = new nameOrCtor();\n } else {\n var namespace = getNamespaceForTag(nameOrCtor, parent);\n if (namespace) {\n el = doc.createElementNS(namespace, nameOrCtor);\n } else {\n el = doc.createElement(nameOrCtor);\n }\n }\n initData(el, nameOrCtor, key);\n return el;\n}\n/**\n * Creates a Text Node.\n * @param doc The document with which to create the Element.\n * @return\n */\nfunction createText(doc) {\n var node = doc.createTextNode('');\n initData(node, '#text', null);\n return node;\n}\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar context = null;\nvar currentNode = null;\nvar currentParent = null;\nvar doc = null;\nvar focusPath = [];\n/**\n * Used to build up call arguments. Each patch call gets a separate copy, so\n * this works with nested calls to patch.\n */\nvar argsBuilder = [];\n/**\n * TODO(sparhami) We should just export argsBuilder directly when Closure\n * Compiler supports ES6 directly.\n */\nfunction getArgsBuilder() {\n return argsBuilder;\n}\n/**\n * Returns a patcher function that sets up and restores a patch context,\n * running the run function with the provided data.\n */\nfunction patchFactory(run) {\n var f = function (node, fn, data) {\n var prevContext = context;\n var prevDoc = doc;\n var prevFocusPath = focusPath;\n var prevArgsBuilder = argsBuilder;\n var prevCurrentNode = currentNode;\n var prevCurrentParent = currentParent;\n var previousInAttributes = false;\n var previousInSkip = false;\n context = new Context();\n doc = node.ownerDocument;\n argsBuilder = [];\n currentParent = node.parentNode;\n focusPath = getFocusedPath(node, currentParent);\n if (process.env.NODE_ENV !== 'production') {\n previousInAttributes = setInAttributes(false);\n previousInSkip = setInSkip(false);\n }\n try {\n var retVal = run(node, fn, data);\n if (process.env.NODE_ENV !== 'production') {\n assertVirtualAttributesClosed();\n }\n return retVal;\n } finally {\n doc = prevDoc;\n argsBuilder = prevArgsBuilder;\n currentNode = prevCurrentNode;\n currentParent = prevCurrentParent;\n focusPath = prevFocusPath;\n context.notifyChanges();\n // Needs to be done after assertions because assertions rely on state\n // from these methods.\n setInAttributes(previousInAttributes);\n setInSkip(previousInSkip);\n context = prevContext;\n }\n };\n return f;\n}\n/**\n * Patches the document starting at node with the provided function. This\n * function may be called during an existing patch operation.\n */\nvar patchInner = patchFactory(function (node, fn, data) {\n currentNode = node;\n enterNode();\n fn(data);\n exitNode();\n if (process.env.NODE_ENV !== 'production') {\n assertNoUnclosedTags(currentNode, node);\n }\n return node;\n});\n/**\n * Patches an Element with the the provided function. Exactly one top level\n * element call should be made corresponding to `node`.\n */\nvar patchOuter = patchFactory(function (node, fn, data) {\n // tslint:disable-next-line:no-any\n var startNode = { nextSibling: node };\n var expectedNextNode = null;\n var expectedPrevNode = null;\n if (process.env.NODE_ENV !== 'production') {\n expectedNextNode = node.nextSibling;\n expectedPrevNode = node.previousSibling;\n }\n currentNode = startNode;\n fn(data);\n if (process.env.NODE_ENV !== 'production') {\n assertPatchOuterHasParentNode(currentParent);\n assertPatchElementNoExtras(startNode, currentNode, expectedNextNode, expectedPrevNode);\n }\n if (currentParent) {\n clearUnvisitedDOM(currentParent, getNextNode(), node.nextSibling);\n }\n return startNode === currentNode ? null : currentNode;\n});\n/**\n * Checks whether or not the current node matches the specified nameOrCtor and\n * key.\n * @param matchNode A node to match the data to.\n * @param nameOrCtor The name or constructor to check for.\n * @param key The key used to identify the Node.\n * @return True if the node matches, false otherwise.\n */\nfunction matches(matchNode, nameOrCtor, key) {\n var data = getData(matchNode, key);\n // Key check is done using double equals as we want to treat a null key the\n // same as undefined. This should be okay as the only values allowed are\n // strings, null and undefined so the == semantics are not too weird.\n // tslint:disable-next-line:triple-equals\n return nameOrCtor == data.nameOrCtor && key == data.key;\n}\n/**\n * Finds the matching node, starting at `node` and looking at the subsequent\n * siblings if a key is used.\n * @param node The node to start looking at.\n * @param nameOrCtor The name or constructor for the Node.\n * @param key The key used to identify the Node.\n */\nfunction getMatchingNode(matchNode, nameOrCtor, key) {\n if (!matchNode) {\n return null;\n }\n if (matches(matchNode, nameOrCtor, key)) {\n return matchNode;\n }\n if (key) {\n while (matchNode = matchNode.nextSibling) {\n if (matches(matchNode, nameOrCtor, key)) {\n return matchNode;\n }\n }\n }\n return null;\n}\n/**\n * Creates a Node and marking it as created.\n * @param nameOrCtor The name or constructor for the Node.\n * @param key The key used to identify the Node.\n * @return The newly created node.\n */\nfunction createNode(nameOrCtor, key) {\n var node;\n if (nameOrCtor === '#text') {\n node = createText(doc);\n } else {\n node = createElement(doc, currentParent, nameOrCtor, key);\n }\n context.markCreated(node);\n return node;\n}\n/**\n * Aligns the virtual Node definition with the actual DOM, moving the\n * corresponding DOM node to the correct location or creating it if necessary.\n * @param nameOrCtor The name or constructor for the Node.\n * @param key The key used to identify the Node.\n */\nfunction alignWithDOM(nameOrCtor, key) {\n var existingNode = getMatchingNode(currentNode, nameOrCtor, key);\n var node = existingNode || createNode(nameOrCtor, key);\n // If we are at the matching node, then we are done.\n if (node === currentNode) {\n return;\n }\n // Re-order the node into the right position, preserving focus if either\n // node or currentNode are focused by making sure that they are not detached\n // from the DOM.\n if (focusPath.indexOf(node) >= 0) {\n // Move everything else before the node.\n moveBefore(currentParent, node, currentNode);\n } else {\n currentParent.insertBefore(node, currentNode);\n }\n currentNode = node;\n}\n/**\n * Clears out any unvisited Nodes in a given range.\n * @param maybeParentNode\n * @param startNode The node to start clearing from, inclusive.\n * @param endNode The node to clear until, exclusive.\n */\nfunction clearUnvisitedDOM(maybeParentNode, startNode, endNode) {\n var parentNode = maybeParentNode;\n var child = startNode;\n while (child !== endNode) {\n var next = child.nextSibling;\n parentNode.removeChild(child);\n context.markDeleted(child);\n child = next;\n }\n}\n/**\n * Changes to the first child of the current node.\n */\nfunction enterNode() {\n currentParent = currentNode;\n currentNode = null;\n}\n/**\n * @return The next Node to be patched.\n */\nfunction getNextNode() {\n if (currentNode) {\n return currentNode.nextSibling;\n } else {\n return currentParent.firstChild;\n }\n}\n/**\n * Changes to the next sibling of the current node.\n */\nfunction nextNode() {\n currentNode = getNextNode();\n}\n/**\n * Changes to the parent of the current node, removing any unvisited children.\n */\nfunction exitNode() {\n clearUnvisitedDOM(currentParent, getNextNode(), null);\n currentNode = currentParent;\n currentParent = currentParent.parentNode;\n}\n/**\n * Makes sure that the current node is an Element with a matching nameOrCtor and\n * key.\n *\n * @param nameOrCtor The tag or constructor for the Element.\n * @param key The key used to identify this element. This can be an\n * empty string, but performance may be better if a unique value is used\n * when iterating over an array of items.\n * @return The corresponding Element.\n */\nfunction open(nameOrCtor, key) {\n nextNode();\n alignWithDOM(nameOrCtor, key);\n enterNode();\n return currentParent;\n}\n/**\n * Closes the currently open Element, removing any unvisited children if\n * necessary.\n */\nfunction close() {\n if (process.env.NODE_ENV !== 'production') {\n setInSkip(false);\n }\n exitNode();\n return currentNode;\n}\n/**\n * Makes sure the current node is a Text node and creates a Text node if it is\n * not.\n */\nfunction text() {\n nextNode();\n alignWithDOM('#text', null);\n return currentNode;\n}\n/**\n * Gets the current Element being patched.\n */\nfunction currentElement() {\n if (process.env.NODE_ENV !== 'production') {\n assertInPatch('currentElement', doc);\n assertNotInAttributes('currentElement');\n }\n return currentParent;\n}\n/**\n * @return The Node that will be evaluated for the next instruction.\n */\nfunction currentPointer() {\n if (process.env.NODE_ENV !== 'production') {\n assertInPatch('currentPointer', doc);\n assertNotInAttributes('currentPointer');\n }\n // TODO(tomnguyen): assert that this is not null\n return getNextNode();\n}\n/**\n * Skips the children in a subtree, allowing an Element to be closed without\n * clearing out the children.\n */\nfunction skip() {\n if (process.env.NODE_ENV !== 'production') {\n assertNoChildrenDeclaredYet('skip', currentNode);\n setInSkip(true);\n }\n currentNode = currentParent.lastChild;\n}\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * The offset in the virtual element declaration where the attributes are\n * specified.\n */\nvar ATTRIBUTES_OFFSET = 3;\n/**\n * Used to keep track of the previous values when a 2-way diff is necessary.\n * This object is reused.\n * TODO(sparhamI) Scope this to a patch so you can call patch from an attribute\n * update.\n */\nvar prevAttrsMap = createMap();\n/**\n * Applies the statics. When importing an Element, any existing attributes that\n * match a static are converted into a static attribute.\n * @param node The Element to apply statics for.\n * @param data The Element's data\n * @param statics The statics array,\n */\nfunction applyStatics(node, data, statics) {\n data.staticsApplied = true;\n if (!statics || !statics.length) {\n return;\n }\n if (data.hasEmptyAttrsArr()) {\n for (var i = 0; i < statics.length; i += 2) {\n updateAttribute(node, statics[i], statics[i + 1]);\n }\n return;\n }\n for (var i = 0; i < statics.length; i += 2) {\n prevAttrsMap[statics[i]] = i + 1;\n }\n var attrsArr = data.getAttrsArr(0);\n var j = 0;\n for (var i = 0; i < attrsArr.length; i += 2) {\n var name = attrsArr[i];\n var value = attrsArr[i + 1];\n var staticsIndex = prevAttrsMap[name];\n if (staticsIndex) {\n // For any attrs that are static and have the same value, make sure we do\n // not set them again.\n if (statics[staticsIndex] === value) {\n delete prevAttrsMap[name];\n }\n continue;\n }\n // For any attrs that are dynamic, move them up to the right place.\n attrsArr[j] = name;\n attrsArr[j + 1] = value;\n j += 2;\n }\n // Anything after `j` was either moved up already or static.\n truncateArray(attrsArr, j);\n for (var name in prevAttrsMap) {\n updateAttribute(node, name, statics[prevAttrsMap[name]]);\n delete prevAttrsMap[name];\n }\n}\n/**\n * @param nameOrCtor The Element's tag or constructor.\n * @param key The key used to identify this element. This can be an\n * empty string, but performance may be better if a unique value is used\n * when iterating over an array of items.\n * @param statics An array of attribute name/value pairs of the static\n * attributes for the Element. Attributes will only be set once when the\n * Element is created.\n * @param varArgs, Attribute name/value pairs of the dynamic attributes\n * for the Element.\n * @return The corresponding Element.\n */\nfunction elementOpen(nameOrCtor, key,\n// Ideally we could tag statics and varArgs as an array where every odd\n// element is a string and every even element is any, but this is hard.\n// tslint:disable-next-line:no-any\nstatics) {\n var varArgs = [];\n for (var _i = 3; _i < arguments.length; _i++) {\n varArgs[_i - 3] = arguments[_i];\n }\n if (process.env.NODE_ENV !== 'production') {\n assertNotInAttributes('elementOpen');\n assertNotInSkip('elementOpen');\n }\n var node = open(nameOrCtor, key);\n var data = getData(node);\n if (!data.staticsApplied) {\n applyStatics(node, data, statics);\n }\n var attrsLength = Math.max(0, arguments.length - ATTRIBUTES_OFFSET);\n var hadNoAttrs = data.hasEmptyAttrsArr();\n if (!attrsLength && hadNoAttrs) {\n return node;\n }\n var attrsArr = data.getAttrsArr(attrsLength);\n /*\n * Checks to see if one or more attributes have changed for a given Element.\n * When no attributes have changed, this is much faster than checking each\n * individual argument. When attributes have changed, the overhead of this is\n * minimal.\n */\n var i = ATTRIBUTES_OFFSET;\n var j = 0;\n for (; i < arguments.length; i += 2, j += 2) {\n var name = arguments[i];\n if (hadNoAttrs) {\n attrsArr[j] = name;\n } else if (attrsArr[j] !== name) {\n break;\n }\n var value = arguments[i + 1];\n if (hadNoAttrs || attrsArr[j + 1] !== value) {\n attrsArr[j + 1] = value;\n updateAttribute(node, name, value);\n }\n }\n /*\n * Items did not line up exactly as before, need to make sure old items are\n * removed. This can happen if using conditional logic when declaring\n * attrs through the elementOpenStart flow or if one element is reused in\n * the place of another.\n */\n if (i < arguments.length || j < attrsArr.length) {\n var attrsStart = j;\n for (; j < attrsArr.length; j += 2) {\n prevAttrsMap[attrsArr[j]] = attrsArr[j + 1];\n }\n for (j = attrsStart; i < arguments.length; i += 2, j += 2) {\n var name = arguments[i];\n var value = arguments[i + 1];\n if (prevAttrsMap[name] !== value) {\n updateAttribute(node, name, value);\n }\n attrsArr[j] = name;\n attrsArr[j + 1] = value;\n delete prevAttrsMap[name];\n }\n truncateArray(attrsArr, j);\n /*\n * At this point, only have attributes that were present before, but have\n * been removed.\n */\n for (var name in prevAttrsMap) {\n updateAttribute(node, name, undefined);\n delete prevAttrsMap[name];\n }\n }\n return node;\n}\n/**\n * Declares a virtual Element at the current location in the document. This\n * corresponds to an opening tag and a elementClose tag is required. This is\n * like elementOpen, but the attributes are defined using the attr function\n * rather than being passed as arguments. Must be folllowed by 0 or more calls\n * to attr, then a call to elementOpenEnd.\n * @param nameOrCtor The Element's tag or constructor.\n * @param key The key used to identify this element. This can be an\n * empty string, but performance may be better if a unique value is used\n * when iterating over an array of items.\n * @param statics An array of attribute name/value pairs of the static\n * attributes for the Element. Attributes will only be set once when the\n * Element is created.\n */\nfunction elementOpenStart(nameOrCtor, key, statics) {\n var argsBuilder = getArgsBuilder();\n if (process.env.NODE_ENV !== 'production') {\n assertNotInAttributes('elementOpenStart');\n setInAttributes(true);\n }\n argsBuilder[0] = nameOrCtor;\n argsBuilder[1] = key;\n argsBuilder[2] = statics;\n}\n/**\n * Allows you to define a key after an elementOpenStart. This is useful in\n * templates that define key after an element has been opened ie\n * `
`.\n */\nfunction key(key) {\n var argsBuilder = getArgsBuilder();\n if (process.env.NODE_ENV !== 'production') {\n assertInAttributes('key');\n assert(argsBuilder);\n }\n argsBuilder[1] = key;\n}\n/***\n * Defines a virtual attribute at this point of the DOM. This is only valid\n * when called between elementOpenStart and elementOpenEnd.\n */\n// tslint:disable-next-line:no-any\nfunction attr(name, value) {\n var argsBuilder = getArgsBuilder();\n if (process.env.NODE_ENV !== 'production') {\n assertInAttributes('attr');\n }\n argsBuilder.push(name);\n argsBuilder.push(value);\n}\n/**\n * Closes an open tag started with elementOpenStart.\n * @return The corresponding Element.\n */\nfunction elementOpenEnd() {\n var argsBuilder = getArgsBuilder();\n if (process.env.NODE_ENV !== 'production') {\n assertInAttributes('elementOpenEnd');\n setInAttributes(false);\n }\n assert(argsBuilder);\n var node = elementOpen.apply(null, argsBuilder);\n truncateArray(argsBuilder, 0);\n return node;\n}\n/**\n * Closes an open virtual Element.\n *\n * @param nameOrCtor The Element's tag or constructor.\n * @return The corresponding Element.\n */\nfunction elementClose(nameOrCtor) {\n if (process.env.NODE_ENV !== 'production') {\n assertNotInAttributes('elementClose');\n }\n var node = close();\n if (process.env.NODE_ENV !== 'production') {\n assertCloseMatchesOpenTag(getData(node).nameOrCtor, nameOrCtor);\n }\n return node;\n}\n/**\n * Declares a virtual Element at the current location in the document that has\n * no children.\n * @param nameOrCtor The Element's tag or constructor.\n * @param key The key used to identify this element. This can be an\n * empty string, but performance may be better if a unique value is used\n * when iterating over an array of items.\n * @param statics An array of attribute name/value pairs of the static\n * attributes for the Element. Attributes will only be set once when the\n * Element is created.\n * @param varArgs Attribute name/value pairs of the dynamic attributes\n * for the Element.\n * @return The corresponding Element.\n */\nfunction elementVoid(nameOrCtor, key,\n// Ideally we could tag statics and varArgs as an array where every odd\n// element is a string and every even element is any, but this is hard.\n// tslint:disable-next-line:no-any\nstatics) {\n var varArgs = [];\n for (var _i = 3; _i < arguments.length; _i++) {\n varArgs[_i - 3] = arguments[_i];\n }\n elementOpen.apply(null, arguments);\n return elementClose(nameOrCtor);\n}\n/**\n * Declares a virtual Text at this point in the document.\n *\n * @param value The value of the Text.\n * @param varArgs\n * Functions to format the value which are called only when the value has\n * changed.\n * @return The corresponding text node.\n */\nfunction text$1(value) {\n var varArgs = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n varArgs[_i - 1] = arguments[_i];\n }\n if (process.env.NODE_ENV !== 'production') {\n assertNotInAttributes('text');\n assertNotInSkip('text');\n }\n var node = text();\n var data = getData(node);\n if (data.text !== value) {\n data.text = value;\n var formatted = value;\n for (var i = 1; i < arguments.length; i += 1) {\n /*\n * Call the formatter function directly to prevent leaking arguments.\n * https://github.com/google/incremental-dom/pull/204#issuecomment-178223574\n */\n var fn = arguments[i];\n formatted = fn(formatted);\n }\n node.data = formatted;\n }\n return node;\n}\n\n/**\n * @license\n * Copyright 2018 The Incremental DOM Authors. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS-IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexports.applyAttr = applyAttr;\nexports.applyProp = applyProp;\nexports.attributes = attributes;\nexports.close = close;\nexports.currentElement = currentElement;\nexports.currentPointer = currentPointer;\nexports.open = open;\nexports.patch = patchInner;\nexports.patchInner = patchInner;\nexports.patchOuter = patchOuter;\nexports.skip = skip;\nexports.skipNode = nextNode;\nexports.getKey = getKey;\nexports.clearCache = clearCache;\nexports.importNode = importNode;\nexports.isDataInitialized = isDataInitialized;\nexports.notifications = notifications;\nexports.symbols = symbols;\nexports.attr = attr;\nexports.elementClose = elementClose;\nexports.elementOpen = elementOpen;\nexports.elementOpenEnd = elementOpenEnd;\nexports.elementOpenStart = elementOpenStart;\nexports.elementVoid = elementVoid;\nexports.text = text$1;\nexports.key = key;\n\n//# sourceMappingURL=incremental-dom-cjs.js.map\n","import { CircularProgress, Stack } from \"@mui/material\";\nimport \"katex/dist/katex.min.css\";\nimport { useEffect, useRef, useState } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport { useCurrentTheme } from \"../../hooks/useCurrentTheme\";\nimport { selectEditor } from \"../../store/editorSlice\";\nimport { addSoftLineBreak } from \"../../utils/document\";\nimport MarkdownIt from \"markdown-it\";\nimport { toHtml } from \"hast-util-to-html\";\nimport markdownItKatex from \"@vscode/markdown-it-katex\";\nimport { refractor } from \"refractor\";\nimport markdownItIncrementalDOM from \"markdown-it-incremental-dom\";\nimport markdownItSanitizer from \"markdown-it-sanitizer\";\nimport markdownItTaskCheckbox from \"markdown-it-task-checkbox\";\nimport * as IncrementalDOM from \"incremental-dom\";\nimport \"./editor.css\";\nimport \"./preview.css\";\n\nconst md = new MarkdownIt({\n\thtml: true,\n\tlinkify: true,\n\tbreaks: true,\n\thighlight: (code: string, lang: string): string => {\n\t\ttry {\n\t\t\treturn `
${toHtml(\n\t\t\t\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\t\t\t\trefractor.highlight(code, lang) as any\n\t\t\t)}
`;\n\t\t} catch (error) {\n\t\t\tconsole.error(`Error highlighting code with language '${lang}':`, error);\n\t\t\treturn `
${md.utils.escapeHtml(code)}
`;\n\t\t}\n\t},\n})\n\t.use(markdownItTaskCheckbox)\n\t.use(markdownItIncrementalDOM, IncrementalDOM, {\n\t\tincrementalizeDefaultRules: false,\n\t})\n\t.use(markdownItKatex)\n\t.use(markdownItSanitizer);\n\nconst Preview = () => {\n\tconst currentTheme = useCurrentTheme();\n\tconst editorStore = useSelector(selectEditor);\n\tconst [content, setContent] = useState(\"\");\n\tconst containerRef = useRef(null);\n\n\tuseEffect(() => {\n\t\tif (!editorStore.doc) return;\n\n\t\tconst updatePreviewContent = () => {\n\t\t\tconst editorText = editorStore.doc?.getRoot().content?.toString() || \"\";\n\t\t\t// Add soft line break\n\t\t\tsetContent(addSoftLineBreak(editorText));\n\t\t};\n\n\t\tupdatePreviewContent();\n\n\t\tconst unsubscribe = editorStore.doc.subscribe(\"$.content\", () => {\n\t\t\tupdatePreviewContent();\n\t\t});\n\n\t\treturn () => {\n\t\t\tunsubscribe();\n\t\t\tsetContent(\"\");\n\t\t};\n\t}, [editorStore.doc]);\n\n\tuseEffect(() => {\n\t\tif (containerRef.current == null) {\n\t\t\treturn;\n\t\t}\n\n\t\t// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n\t\t// @ts-ignore\n\t\tIncrementalDOM.patch(containerRef.current, md.renderToIncrementalDOM(content));\n\t}, [content]);\n\n\tif (!editorStore?.doc) {\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t);\n\t}\n\n\treturn (\n\t\t\n\t);\n};\n\nexport default Preview;\n","import { Backdrop, Box, CircularProgress, Paper } from \"@mui/material\";\nimport { useWindowWidth } from \"@react-hook/window-size\";\nimport { useSelector } from \"react-redux\";\nimport Resizable from \"react-resizable-layout\";\nimport { ScrollSync, ScrollSyncPane } from \"react-scroll-sync\";\nimport { EditorModeType, selectEditor } from \"../../store/editorSlice\";\nimport Editor from \"./Editor\";\nimport Preview from \"./Preview\";\nimport { selectConfig } from \"../../store/configSlice\";\n\nfunction DocumentView() {\n\tconst editorStore = useSelector(selectEditor);\n\tconst windowWidth = useWindowWidth();\n\tconst configStore = useSelector(selectConfig);\n\n\tif (!editorStore.doc || !editorStore.client)\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t);\n\n\treturn (\n\t\t<>\n\t\t\t{editorStore.mode === EditorModeType.BOTH && (\n\t\t\t\t\n\t\t\t\t\t{({ position: width, separatorProps }) => (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t\n\t\t\t)}\n\n\t\t\t{editorStore.mode === EditorModeType.EDIT && (\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t)}\n\n\t\t\t{editorStore.mode === EditorModeType.READ && (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n}\n\nexport default DocumentView;\n","'use strict'\r\n\r\nmodule.exports = {\r\n\t\"aliceblue\": [240, 248, 255],\r\n\t\"antiquewhite\": [250, 235, 215],\r\n\t\"aqua\": [0, 255, 255],\r\n\t\"aquamarine\": [127, 255, 212],\r\n\t\"azure\": [240, 255, 255],\r\n\t\"beige\": [245, 245, 220],\r\n\t\"bisque\": [255, 228, 196],\r\n\t\"black\": [0, 0, 0],\r\n\t\"blanchedalmond\": [255, 235, 205],\r\n\t\"blue\": [0, 0, 255],\r\n\t\"blueviolet\": [138, 43, 226],\r\n\t\"brown\": [165, 42, 42],\r\n\t\"burlywood\": [222, 184, 135],\r\n\t\"cadetblue\": [95, 158, 160],\r\n\t\"chartreuse\": [127, 255, 0],\r\n\t\"chocolate\": [210, 105, 30],\r\n\t\"coral\": [255, 127, 80],\r\n\t\"cornflowerblue\": [100, 149, 237],\r\n\t\"cornsilk\": [255, 248, 220],\r\n\t\"crimson\": [220, 20, 60],\r\n\t\"cyan\": [0, 255, 255],\r\n\t\"darkblue\": [0, 0, 139],\r\n\t\"darkcyan\": [0, 139, 139],\r\n\t\"darkgoldenrod\": [184, 134, 11],\r\n\t\"darkgray\": [169, 169, 169],\r\n\t\"darkgreen\": [0, 100, 0],\r\n\t\"darkgrey\": [169, 169, 169],\r\n\t\"darkkhaki\": [189, 183, 107],\r\n\t\"darkmagenta\": [139, 0, 139],\r\n\t\"darkolivegreen\": [85, 107, 47],\r\n\t\"darkorange\": [255, 140, 0],\r\n\t\"darkorchid\": [153, 50, 204],\r\n\t\"darkred\": [139, 0, 0],\r\n\t\"darksalmon\": [233, 150, 122],\r\n\t\"darkseagreen\": [143, 188, 143],\r\n\t\"darkslateblue\": [72, 61, 139],\r\n\t\"darkslategray\": [47, 79, 79],\r\n\t\"darkslategrey\": [47, 79, 79],\r\n\t\"darkturquoise\": [0, 206, 209],\r\n\t\"darkviolet\": [148, 0, 211],\r\n\t\"deeppink\": [255, 20, 147],\r\n\t\"deepskyblue\": [0, 191, 255],\r\n\t\"dimgray\": [105, 105, 105],\r\n\t\"dimgrey\": [105, 105, 105],\r\n\t\"dodgerblue\": [30, 144, 255],\r\n\t\"firebrick\": [178, 34, 34],\r\n\t\"floralwhite\": [255, 250, 240],\r\n\t\"forestgreen\": [34, 139, 34],\r\n\t\"fuchsia\": [255, 0, 255],\r\n\t\"gainsboro\": [220, 220, 220],\r\n\t\"ghostwhite\": [248, 248, 255],\r\n\t\"gold\": [255, 215, 0],\r\n\t\"goldenrod\": [218, 165, 32],\r\n\t\"gray\": [128, 128, 128],\r\n\t\"green\": [0, 128, 0],\r\n\t\"greenyellow\": [173, 255, 47],\r\n\t\"grey\": [128, 128, 128],\r\n\t\"honeydew\": [240, 255, 240],\r\n\t\"hotpink\": [255, 105, 180],\r\n\t\"indianred\": [205, 92, 92],\r\n\t\"indigo\": [75, 0, 130],\r\n\t\"ivory\": [255, 255, 240],\r\n\t\"khaki\": [240, 230, 140],\r\n\t\"lavender\": [230, 230, 250],\r\n\t\"lavenderblush\": [255, 240, 245],\r\n\t\"lawngreen\": [124, 252, 0],\r\n\t\"lemonchiffon\": [255, 250, 205],\r\n\t\"lightblue\": [173, 216, 230],\r\n\t\"lightcoral\": [240, 128, 128],\r\n\t\"lightcyan\": [224, 255, 255],\r\n\t\"lightgoldenrodyellow\": [250, 250, 210],\r\n\t\"lightgray\": [211, 211, 211],\r\n\t\"lightgreen\": [144, 238, 144],\r\n\t\"lightgrey\": [211, 211, 211],\r\n\t\"lightpink\": [255, 182, 193],\r\n\t\"lightsalmon\": [255, 160, 122],\r\n\t\"lightseagreen\": [32, 178, 170],\r\n\t\"lightskyblue\": [135, 206, 250],\r\n\t\"lightslategray\": [119, 136, 153],\r\n\t\"lightslategrey\": [119, 136, 153],\r\n\t\"lightsteelblue\": [176, 196, 222],\r\n\t\"lightyellow\": [255, 255, 224],\r\n\t\"lime\": [0, 255, 0],\r\n\t\"limegreen\": [50, 205, 50],\r\n\t\"linen\": [250, 240, 230],\r\n\t\"magenta\": [255, 0, 255],\r\n\t\"maroon\": [128, 0, 0],\r\n\t\"mediumaquamarine\": [102, 205, 170],\r\n\t\"mediumblue\": [0, 0, 205],\r\n\t\"mediumorchid\": [186, 85, 211],\r\n\t\"mediumpurple\": [147, 112, 219],\r\n\t\"mediumseagreen\": [60, 179, 113],\r\n\t\"mediumslateblue\": [123, 104, 238],\r\n\t\"mediumspringgreen\": [0, 250, 154],\r\n\t\"mediumturquoise\": [72, 209, 204],\r\n\t\"mediumvioletred\": [199, 21, 133],\r\n\t\"midnightblue\": [25, 25, 112],\r\n\t\"mintcream\": [245, 255, 250],\r\n\t\"mistyrose\": [255, 228, 225],\r\n\t\"moccasin\": [255, 228, 181],\r\n\t\"navajowhite\": [255, 222, 173],\r\n\t\"navy\": [0, 0, 128],\r\n\t\"oldlace\": [253, 245, 230],\r\n\t\"olive\": [128, 128, 0],\r\n\t\"olivedrab\": [107, 142, 35],\r\n\t\"orange\": [255, 165, 0],\r\n\t\"orangered\": [255, 69, 0],\r\n\t\"orchid\": [218, 112, 214],\r\n\t\"palegoldenrod\": [238, 232, 170],\r\n\t\"palegreen\": [152, 251, 152],\r\n\t\"paleturquoise\": [175, 238, 238],\r\n\t\"palevioletred\": [219, 112, 147],\r\n\t\"papayawhip\": [255, 239, 213],\r\n\t\"peachpuff\": [255, 218, 185],\r\n\t\"peru\": [205, 133, 63],\r\n\t\"pink\": [255, 192, 203],\r\n\t\"plum\": [221, 160, 221],\r\n\t\"powderblue\": [176, 224, 230],\r\n\t\"purple\": [128, 0, 128],\r\n\t\"rebeccapurple\": [102, 51, 153],\r\n\t\"red\": [255, 0, 0],\r\n\t\"rosybrown\": [188, 143, 143],\r\n\t\"royalblue\": [65, 105, 225],\r\n\t\"saddlebrown\": [139, 69, 19],\r\n\t\"salmon\": [250, 128, 114],\r\n\t\"sandybrown\": [244, 164, 96],\r\n\t\"seagreen\": [46, 139, 87],\r\n\t\"seashell\": [255, 245, 238],\r\n\t\"sienna\": [160, 82, 45],\r\n\t\"silver\": [192, 192, 192],\r\n\t\"skyblue\": [135, 206, 235],\r\n\t\"slateblue\": [106, 90, 205],\r\n\t\"slategray\": [112, 128, 144],\r\n\t\"slategrey\": [112, 128, 144],\r\n\t\"snow\": [255, 250, 250],\r\n\t\"springgreen\": [0, 255, 127],\r\n\t\"steelblue\": [70, 130, 180],\r\n\t\"tan\": [210, 180, 140],\r\n\t\"teal\": [0, 128, 128],\r\n\t\"thistle\": [216, 191, 216],\r\n\t\"tomato\": [255, 99, 71],\r\n\t\"turquoise\": [64, 224, 208],\r\n\t\"violet\": [238, 130, 238],\r\n\t\"wheat\": [245, 222, 179],\r\n\t\"white\": [255, 255, 255],\r\n\t\"whitesmoke\": [245, 245, 245],\r\n\t\"yellow\": [255, 255, 0],\r\n\t\"yellowgreen\": [154, 205, 50]\r\n};\r\n","module.exports = function isArrayish(obj) {\n\tif (!obj || typeof obj === 'string') {\n\t\treturn false;\n\t}\n\n\treturn obj instanceof Array || Array.isArray(obj) ||\n\t\t(obj.length >= 0 && (obj.splice instanceof Function ||\n\t\t\t(Object.getOwnPropertyDescriptor(obj, (obj.length - 1)) && obj.constructor.name !== 'String')));\n};\n","'use strict';\n\nvar isArrayish = require('is-arrayish');\n\nvar concat = Array.prototype.concat;\nvar slice = Array.prototype.slice;\n\nvar swizzle = module.exports = function swizzle(args) {\n\tvar results = [];\n\n\tfor (var i = 0, len = args.length; i < len; i++) {\n\t\tvar arg = args[i];\n\n\t\tif (isArrayish(arg)) {\n\t\t\t// http://jsperf.com/javascript-array-concat-vs-push/98\n\t\t\tresults = concat.call(results, slice.call(arg));\n\t\t} else {\n\t\t\tresults.push(arg);\n\t\t}\n\t}\n\n\treturn results;\n};\n\nswizzle.wrap = function (fn) {\n\treturn function () {\n\t\treturn fn(swizzle(arguments));\n\t};\n};\n","/* MIT license */\nvar colorNames = require('color-name');\nvar swizzle = require('simple-swizzle');\nvar hasOwnProperty = Object.hasOwnProperty;\n\nvar reverseNames = Object.create(null);\n\n// create a list of reverse color names\nfor (var name in colorNames) {\n\tif (hasOwnProperty.call(colorNames, name)) {\n\t\treverseNames[colorNames[name]] = name;\n\t}\n}\n\nvar cs = module.exports = {\n\tto: {},\n\tget: {}\n};\n\ncs.get = function (string) {\n\tvar prefix = string.substring(0, 3).toLowerCase();\n\tvar val;\n\tvar model;\n\tswitch (prefix) {\n\t\tcase 'hsl':\n\t\t\tval = cs.get.hsl(string);\n\t\t\tmodel = 'hsl';\n\t\t\tbreak;\n\t\tcase 'hwb':\n\t\t\tval = cs.get.hwb(string);\n\t\t\tmodel = 'hwb';\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tval = cs.get.rgb(string);\n\t\t\tmodel = 'rgb';\n\t\t\tbreak;\n\t}\n\n\tif (!val) {\n\t\treturn null;\n\t}\n\n\treturn {model: model, value: val};\n};\n\ncs.get.rgb = function (string) {\n\tif (!string) {\n\t\treturn null;\n\t}\n\n\tvar abbr = /^#([a-f0-9]{3,4})$/i;\n\tvar hex = /^#([a-f0-9]{6})([a-f0-9]{2})?$/i;\n\tvar rgba = /^rgba?\\(\\s*([+-]?\\d+)(?=[\\s,])\\s*(?:,\\s*)?([+-]?\\d+)(?=[\\s,])\\s*(?:,\\s*)?([+-]?\\d+)\\s*(?:[,|\\/]\\s*([+-]?[\\d\\.]+)(%?)\\s*)?\\)$/;\n\tvar per = /^rgba?\\(\\s*([+-]?[\\d\\.]+)\\%\\s*,?\\s*([+-]?[\\d\\.]+)\\%\\s*,?\\s*([+-]?[\\d\\.]+)\\%\\s*(?:[,|\\/]\\s*([+-]?[\\d\\.]+)(%?)\\s*)?\\)$/;\n\tvar keyword = /^(\\w+)$/;\n\n\tvar rgb = [0, 0, 0, 1];\n\tvar match;\n\tvar i;\n\tvar hexAlpha;\n\n\tif (match = string.match(hex)) {\n\t\thexAlpha = match[2];\n\t\tmatch = match[1];\n\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\t// https://jsperf.com/slice-vs-substr-vs-substring-methods-long-string/19\n\t\t\tvar i2 = i * 2;\n\t\t\trgb[i] = parseInt(match.slice(i2, i2 + 2), 16);\n\t\t}\n\n\t\tif (hexAlpha) {\n\t\t\trgb[3] = parseInt(hexAlpha, 16) / 255;\n\t\t}\n\t} else if (match = string.match(abbr)) {\n\t\tmatch = match[1];\n\t\thexAlpha = match[3];\n\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\trgb[i] = parseInt(match[i] + match[i], 16);\n\t\t}\n\n\t\tif (hexAlpha) {\n\t\t\trgb[3] = parseInt(hexAlpha + hexAlpha, 16) / 255;\n\t\t}\n\t} else if (match = string.match(rgba)) {\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\trgb[i] = parseInt(match[i + 1], 0);\n\t\t}\n\n\t\tif (match[4]) {\n\t\t\tif (match[5]) {\n\t\t\t\trgb[3] = parseFloat(match[4]) * 0.01;\n\t\t\t} else {\n\t\t\t\trgb[3] = parseFloat(match[4]);\n\t\t\t}\n\t\t}\n\t} else if (match = string.match(per)) {\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\trgb[i] = Math.round(parseFloat(match[i + 1]) * 2.55);\n\t\t}\n\n\t\tif (match[4]) {\n\t\t\tif (match[5]) {\n\t\t\t\trgb[3] = parseFloat(match[4]) * 0.01;\n\t\t\t} else {\n\t\t\t\trgb[3] = parseFloat(match[4]);\n\t\t\t}\n\t\t}\n\t} else if (match = string.match(keyword)) {\n\t\tif (match[1] === 'transparent') {\n\t\t\treturn [0, 0, 0, 0];\n\t\t}\n\n\t\tif (!hasOwnProperty.call(colorNames, match[1])) {\n\t\t\treturn null;\n\t\t}\n\n\t\trgb = colorNames[match[1]];\n\t\trgb[3] = 1;\n\n\t\treturn rgb;\n\t} else {\n\t\treturn null;\n\t}\n\n\tfor (i = 0; i < 3; i++) {\n\t\trgb[i] = clamp(rgb[i], 0, 255);\n\t}\n\trgb[3] = clamp(rgb[3], 0, 1);\n\n\treturn rgb;\n};\n\ncs.get.hsl = function (string) {\n\tif (!string) {\n\t\treturn null;\n\t}\n\n\tvar hsl = /^hsla?\\(\\s*([+-]?(?:\\d{0,3}\\.)?\\d+)(?:deg)?\\s*,?\\s*([+-]?[\\d\\.]+)%\\s*,?\\s*([+-]?[\\d\\.]+)%\\s*(?:[,|\\/]\\s*([+-]?(?=\\.\\d|\\d)(?:0|[1-9]\\d*)?(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)\\s*)?\\)$/;\n\tvar match = string.match(hsl);\n\n\tif (match) {\n\t\tvar alpha = parseFloat(match[4]);\n\t\tvar h = ((parseFloat(match[1]) % 360) + 360) % 360;\n\t\tvar s = clamp(parseFloat(match[2]), 0, 100);\n\t\tvar l = clamp(parseFloat(match[3]), 0, 100);\n\t\tvar a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);\n\n\t\treturn [h, s, l, a];\n\t}\n\n\treturn null;\n};\n\ncs.get.hwb = function (string) {\n\tif (!string) {\n\t\treturn null;\n\t}\n\n\tvar hwb = /^hwb\\(\\s*([+-]?\\d{0,3}(?:\\.\\d+)?)(?:deg)?\\s*,\\s*([+-]?[\\d\\.]+)%\\s*,\\s*([+-]?[\\d\\.]+)%\\s*(?:,\\s*([+-]?(?=\\.\\d|\\d)(?:0|[1-9]\\d*)?(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)\\s*)?\\)$/;\n\tvar match = string.match(hwb);\n\n\tif (match) {\n\t\tvar alpha = parseFloat(match[4]);\n\t\tvar h = ((parseFloat(match[1]) % 360) + 360) % 360;\n\t\tvar w = clamp(parseFloat(match[2]), 0, 100);\n\t\tvar b = clamp(parseFloat(match[3]), 0, 100);\n\t\tvar a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);\n\t\treturn [h, w, b, a];\n\t}\n\n\treturn null;\n};\n\ncs.to.hex = function () {\n\tvar rgba = swizzle(arguments);\n\n\treturn (\n\t\t'#' +\n\t\thexDouble(rgba[0]) +\n\t\thexDouble(rgba[1]) +\n\t\thexDouble(rgba[2]) +\n\t\t(rgba[3] < 1\n\t\t\t? (hexDouble(Math.round(rgba[3] * 255)))\n\t\t\t: '')\n\t);\n};\n\ncs.to.rgb = function () {\n\tvar rgba = swizzle(arguments);\n\n\treturn rgba.length < 4 || rgba[3] === 1\n\t\t? 'rgb(' + Math.round(rgba[0]) + ', ' + Math.round(rgba[1]) + ', ' + Math.round(rgba[2]) + ')'\n\t\t: 'rgba(' + Math.round(rgba[0]) + ', ' + Math.round(rgba[1]) + ', ' + Math.round(rgba[2]) + ', ' + rgba[3] + ')';\n};\n\ncs.to.rgb.percent = function () {\n\tvar rgba = swizzle(arguments);\n\n\tvar r = Math.round(rgba[0] / 255 * 100);\n\tvar g = Math.round(rgba[1] / 255 * 100);\n\tvar b = Math.round(rgba[2] / 255 * 100);\n\n\treturn rgba.length < 4 || rgba[3] === 1\n\t\t? 'rgb(' + r + '%, ' + g + '%, ' + b + '%)'\n\t\t: 'rgba(' + r + '%, ' + g + '%, ' + b + '%, ' + rgba[3] + ')';\n};\n\ncs.to.hsl = function () {\n\tvar hsla = swizzle(arguments);\n\treturn hsla.length < 4 || hsla[3] === 1\n\t\t? 'hsl(' + hsla[0] + ', ' + hsla[1] + '%, ' + hsla[2] + '%)'\n\t\t: 'hsla(' + hsla[0] + ', ' + hsla[1] + '%, ' + hsla[2] + '%, ' + hsla[3] + ')';\n};\n\n// hwb is a bit different than rgb(a) & hsl(a) since there is no alpha specific syntax\n// (hwb have alpha optional & 1 is default value)\ncs.to.hwb = function () {\n\tvar hwba = swizzle(arguments);\n\n\tvar a = '';\n\tif (hwba.length >= 4 && hwba[3] !== 1) {\n\t\ta = ', ' + hwba[3];\n\t}\n\n\treturn 'hwb(' + hwba[0] + ', ' + hwba[1] + '%, ' + hwba[2] + '%' + a + ')';\n};\n\ncs.to.keyword = function (rgb) {\n\treturn reverseNames[rgb.slice(0, 3)];\n};\n\n// helpers\nfunction clamp(num, min, max) {\n\treturn Math.min(Math.max(min, num), max);\n}\n\nfunction hexDouble(num) {\n\tvar str = Math.round(num).toString(16).toUpperCase();\n\treturn (str.length < 2) ? '0' + str : str;\n}\n","/* MIT license */\n/* eslint-disable no-mixed-operators */\nconst cssKeywords = require('color-name');\n\n// NOTE: conversions should only return primitive values (i.e. arrays, or\n// values that give correct `typeof` results).\n// do not use box values types (i.e. Number(), String(), etc.)\n\nconst reverseKeywords = {};\nfor (const key of Object.keys(cssKeywords)) {\n\treverseKeywords[cssKeywords[key]] = key;\n}\n\nconst convert = {\n\trgb: {channels: 3, labels: 'rgb'},\n\thsl: {channels: 3, labels: 'hsl'},\n\thsv: {channels: 3, labels: 'hsv'},\n\thwb: {channels: 3, labels: 'hwb'},\n\tcmyk: {channels: 4, labels: 'cmyk'},\n\txyz: {channels: 3, labels: 'xyz'},\n\tlab: {channels: 3, labels: 'lab'},\n\tlch: {channels: 3, labels: 'lch'},\n\thex: {channels: 1, labels: ['hex']},\n\tkeyword: {channels: 1, labels: ['keyword']},\n\tansi16: {channels: 1, labels: ['ansi16']},\n\tansi256: {channels: 1, labels: ['ansi256']},\n\thcg: {channels: 3, labels: ['h', 'c', 'g']},\n\tapple: {channels: 3, labels: ['r16', 'g16', 'b16']},\n\tgray: {channels: 1, labels: ['gray']}\n};\n\nmodule.exports = convert;\n\n// Hide .channels and .labels properties\nfor (const model of Object.keys(convert)) {\n\tif (!('channels' in convert[model])) {\n\t\tthrow new Error('missing channels property: ' + model);\n\t}\n\n\tif (!('labels' in convert[model])) {\n\t\tthrow new Error('missing channel labels property: ' + model);\n\t}\n\n\tif (convert[model].labels.length !== convert[model].channels) {\n\t\tthrow new Error('channel and label counts mismatch: ' + model);\n\t}\n\n\tconst {channels, labels} = convert[model];\n\tdelete convert[model].channels;\n\tdelete convert[model].labels;\n\tObject.defineProperty(convert[model], 'channels', {value: channels});\n\tObject.defineProperty(convert[model], 'labels', {value: labels});\n}\n\nconvert.rgb.hsl = function (rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst min = Math.min(r, g, b);\n\tconst max = Math.max(r, g, b);\n\tconst delta = max - min;\n\tlet h;\n\tlet s;\n\n\tif (max === min) {\n\t\th = 0;\n\t} else if (r === max) {\n\t\th = (g - b) / delta;\n\t} else if (g === max) {\n\t\th = 2 + (b - r) / delta;\n\t} else if (b === max) {\n\t\th = 4 + (r - g) / delta;\n\t}\n\n\th = Math.min(h * 60, 360);\n\n\tif (h < 0) {\n\t\th += 360;\n\t}\n\n\tconst l = (min + max) / 2;\n\n\tif (max === min) {\n\t\ts = 0;\n\t} else if (l <= 0.5) {\n\t\ts = delta / (max + min);\n\t} else {\n\t\ts = delta / (2 - max - min);\n\t}\n\n\treturn [h, s * 100, l * 100];\n};\n\nconvert.rgb.hsv = function (rgb) {\n\tlet rdif;\n\tlet gdif;\n\tlet bdif;\n\tlet h;\n\tlet s;\n\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst v = Math.max(r, g, b);\n\tconst diff = v - Math.min(r, g, b);\n\tconst diffc = function (c) {\n\t\treturn (v - c) / 6 / diff + 1 / 2;\n\t};\n\n\tif (diff === 0) {\n\t\th = 0;\n\t\ts = 0;\n\t} else {\n\t\ts = diff / v;\n\t\trdif = diffc(r);\n\t\tgdif = diffc(g);\n\t\tbdif = diffc(b);\n\n\t\tif (r === v) {\n\t\t\th = bdif - gdif;\n\t\t} else if (g === v) {\n\t\t\th = (1 / 3) + rdif - bdif;\n\t\t} else if (b === v) {\n\t\t\th = (2 / 3) + gdif - rdif;\n\t\t}\n\n\t\tif (h < 0) {\n\t\t\th += 1;\n\t\t} else if (h > 1) {\n\t\t\th -= 1;\n\t\t}\n\t}\n\n\treturn [\n\t\th * 360,\n\t\ts * 100,\n\t\tv * 100\n\t];\n};\n\nconvert.rgb.hwb = function (rgb) {\n\tconst r = rgb[0];\n\tconst g = rgb[1];\n\tlet b = rgb[2];\n\tconst h = convert.rgb.hsl(rgb)[0];\n\tconst w = 1 / 255 * Math.min(r, Math.min(g, b));\n\n\tb = 1 - 1 / 255 * Math.max(r, Math.max(g, b));\n\n\treturn [h, w * 100, b * 100];\n};\n\nconvert.rgb.cmyk = function (rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\n\tconst k = Math.min(1 - r, 1 - g, 1 - b);\n\tconst c = (1 - r - k) / (1 - k) || 0;\n\tconst m = (1 - g - k) / (1 - k) || 0;\n\tconst y = (1 - b - k) / (1 - k) || 0;\n\n\treturn [c * 100, m * 100, y * 100, k * 100];\n};\n\nfunction comparativeDistance(x, y) {\n\t/*\n\t\tSee https://en.m.wikipedia.org/wiki/Euclidean_distance#Squared_Euclidean_distance\n\t*/\n\treturn (\n\t\t((x[0] - y[0]) ** 2) +\n\t\t((x[1] - y[1]) ** 2) +\n\t\t((x[2] - y[2]) ** 2)\n\t);\n}\n\nconvert.rgb.keyword = function (rgb) {\n\tconst reversed = reverseKeywords[rgb];\n\tif (reversed) {\n\t\treturn reversed;\n\t}\n\n\tlet currentClosestDistance = Infinity;\n\tlet currentClosestKeyword;\n\n\tfor (const keyword of Object.keys(cssKeywords)) {\n\t\tconst value = cssKeywords[keyword];\n\n\t\t// Compute comparative distance\n\t\tconst distance = comparativeDistance(rgb, value);\n\n\t\t// Check if its less, if so set as closest\n\t\tif (distance < currentClosestDistance) {\n\t\t\tcurrentClosestDistance = distance;\n\t\t\tcurrentClosestKeyword = keyword;\n\t\t}\n\t}\n\n\treturn currentClosestKeyword;\n};\n\nconvert.keyword.rgb = function (keyword) {\n\treturn cssKeywords[keyword];\n};\n\nconvert.rgb.xyz = function (rgb) {\n\tlet r = rgb[0] / 255;\n\tlet g = rgb[1] / 255;\n\tlet b = rgb[2] / 255;\n\n\t// Assume sRGB\n\tr = r > 0.04045 ? (((r + 0.055) / 1.055) ** 2.4) : (r / 12.92);\n\tg = g > 0.04045 ? (((g + 0.055) / 1.055) ** 2.4) : (g / 12.92);\n\tb = b > 0.04045 ? (((b + 0.055) / 1.055) ** 2.4) : (b / 12.92);\n\n\tconst x = (r * 0.4124) + (g * 0.3576) + (b * 0.1805);\n\tconst y = (r * 0.2126) + (g * 0.7152) + (b * 0.0722);\n\tconst z = (r * 0.0193) + (g * 0.1192) + (b * 0.9505);\n\n\treturn [x * 100, y * 100, z * 100];\n};\n\nconvert.rgb.lab = function (rgb) {\n\tconst xyz = convert.rgb.xyz(rgb);\n\tlet x = xyz[0];\n\tlet y = xyz[1];\n\tlet z = xyz[2];\n\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\n\tx = x > 0.008856 ? (x ** (1 / 3)) : (7.787 * x) + (16 / 116);\n\ty = y > 0.008856 ? (y ** (1 / 3)) : (7.787 * y) + (16 / 116);\n\tz = z > 0.008856 ? (z ** (1 / 3)) : (7.787 * z) + (16 / 116);\n\n\tconst l = (116 * y) - 16;\n\tconst a = 500 * (x - y);\n\tconst b = 200 * (y - z);\n\n\treturn [l, a, b];\n};\n\nconvert.hsl.rgb = function (hsl) {\n\tconst h = hsl[0] / 360;\n\tconst s = hsl[1] / 100;\n\tconst l = hsl[2] / 100;\n\tlet t2;\n\tlet t3;\n\tlet val;\n\n\tif (s === 0) {\n\t\tval = l * 255;\n\t\treturn [val, val, val];\n\t}\n\n\tif (l < 0.5) {\n\t\tt2 = l * (1 + s);\n\t} else {\n\t\tt2 = l + s - l * s;\n\t}\n\n\tconst t1 = 2 * l - t2;\n\n\tconst rgb = [0, 0, 0];\n\tfor (let i = 0; i < 3; i++) {\n\t\tt3 = h + 1 / 3 * -(i - 1);\n\t\tif (t3 < 0) {\n\t\t\tt3++;\n\t\t}\n\n\t\tif (t3 > 1) {\n\t\t\tt3--;\n\t\t}\n\n\t\tif (6 * t3 < 1) {\n\t\t\tval = t1 + (t2 - t1) * 6 * t3;\n\t\t} else if (2 * t3 < 1) {\n\t\t\tval = t2;\n\t\t} else if (3 * t3 < 2) {\n\t\t\tval = t1 + (t2 - t1) * (2 / 3 - t3) * 6;\n\t\t} else {\n\t\t\tval = t1;\n\t\t}\n\n\t\trgb[i] = val * 255;\n\t}\n\n\treturn rgb;\n};\n\nconvert.hsl.hsv = function (hsl) {\n\tconst h = hsl[0];\n\tlet s = hsl[1] / 100;\n\tlet l = hsl[2] / 100;\n\tlet smin = s;\n\tconst lmin = Math.max(l, 0.01);\n\n\tl *= 2;\n\ts *= (l <= 1) ? l : 2 - l;\n\tsmin *= lmin <= 1 ? lmin : 2 - lmin;\n\tconst v = (l + s) / 2;\n\tconst sv = l === 0 ? (2 * smin) / (lmin + smin) : (2 * s) / (l + s);\n\n\treturn [h, sv * 100, v * 100];\n};\n\nconvert.hsv.rgb = function (hsv) {\n\tconst h = hsv[0] / 60;\n\tconst s = hsv[1] / 100;\n\tlet v = hsv[2] / 100;\n\tconst hi = Math.floor(h) % 6;\n\n\tconst f = h - Math.floor(h);\n\tconst p = 255 * v * (1 - s);\n\tconst q = 255 * v * (1 - (s * f));\n\tconst t = 255 * v * (1 - (s * (1 - f)));\n\tv *= 255;\n\n\tswitch (hi) {\n\t\tcase 0:\n\t\t\treturn [v, t, p];\n\t\tcase 1:\n\t\t\treturn [q, v, p];\n\t\tcase 2:\n\t\t\treturn [p, v, t];\n\t\tcase 3:\n\t\t\treturn [p, q, v];\n\t\tcase 4:\n\t\t\treturn [t, p, v];\n\t\tcase 5:\n\t\t\treturn [v, p, q];\n\t}\n};\n\nconvert.hsv.hsl = function (hsv) {\n\tconst h = hsv[0];\n\tconst s = hsv[1] / 100;\n\tconst v = hsv[2] / 100;\n\tconst vmin = Math.max(v, 0.01);\n\tlet sl;\n\tlet l;\n\n\tl = (2 - s) * v;\n\tconst lmin = (2 - s) * vmin;\n\tsl = s * vmin;\n\tsl /= (lmin <= 1) ? lmin : 2 - lmin;\n\tsl = sl || 0;\n\tl /= 2;\n\n\treturn [h, sl * 100, l * 100];\n};\n\n// http://dev.w3.org/csswg/css-color/#hwb-to-rgb\nconvert.hwb.rgb = function (hwb) {\n\tconst h = hwb[0] / 360;\n\tlet wh = hwb[1] / 100;\n\tlet bl = hwb[2] / 100;\n\tconst ratio = wh + bl;\n\tlet f;\n\n\t// Wh + bl cant be > 1\n\tif (ratio > 1) {\n\t\twh /= ratio;\n\t\tbl /= ratio;\n\t}\n\n\tconst i = Math.floor(6 * h);\n\tconst v = 1 - bl;\n\tf = 6 * h - i;\n\n\tif ((i & 0x01) !== 0) {\n\t\tf = 1 - f;\n\t}\n\n\tconst n = wh + f * (v - wh); // Linear interpolation\n\n\tlet r;\n\tlet g;\n\tlet b;\n\t/* eslint-disable max-statements-per-line,no-multi-spaces */\n\tswitch (i) {\n\t\tdefault:\n\t\tcase 6:\n\t\tcase 0: r = v; g = n; b = wh; break;\n\t\tcase 1: r = n; g = v; b = wh; break;\n\t\tcase 2: r = wh; g = v; b = n; break;\n\t\tcase 3: r = wh; g = n; b = v; break;\n\t\tcase 4: r = n; g = wh; b = v; break;\n\t\tcase 5: r = v; g = wh; b = n; break;\n\t}\n\t/* eslint-enable max-statements-per-line,no-multi-spaces */\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.cmyk.rgb = function (cmyk) {\n\tconst c = cmyk[0] / 100;\n\tconst m = cmyk[1] / 100;\n\tconst y = cmyk[2] / 100;\n\tconst k = cmyk[3] / 100;\n\n\tconst r = 1 - Math.min(1, c * (1 - k) + k);\n\tconst g = 1 - Math.min(1, m * (1 - k) + k);\n\tconst b = 1 - Math.min(1, y * (1 - k) + k);\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.xyz.rgb = function (xyz) {\n\tconst x = xyz[0] / 100;\n\tconst y = xyz[1] / 100;\n\tconst z = xyz[2] / 100;\n\tlet r;\n\tlet g;\n\tlet b;\n\n\tr = (x * 3.2406) + (y * -1.5372) + (z * -0.4986);\n\tg = (x * -0.9689) + (y * 1.8758) + (z * 0.0415);\n\tb = (x * 0.0557) + (y * -0.2040) + (z * 1.0570);\n\n\t// Assume sRGB\n\tr = r > 0.0031308\n\t\t? ((1.055 * (r ** (1.0 / 2.4))) - 0.055)\n\t\t: r * 12.92;\n\n\tg = g > 0.0031308\n\t\t? ((1.055 * (g ** (1.0 / 2.4))) - 0.055)\n\t\t: g * 12.92;\n\n\tb = b > 0.0031308\n\t\t? ((1.055 * (b ** (1.0 / 2.4))) - 0.055)\n\t\t: b * 12.92;\n\n\tr = Math.min(Math.max(0, r), 1);\n\tg = Math.min(Math.max(0, g), 1);\n\tb = Math.min(Math.max(0, b), 1);\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.xyz.lab = function (xyz) {\n\tlet x = xyz[0];\n\tlet y = xyz[1];\n\tlet z = xyz[2];\n\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\n\tx = x > 0.008856 ? (x ** (1 / 3)) : (7.787 * x) + (16 / 116);\n\ty = y > 0.008856 ? (y ** (1 / 3)) : (7.787 * y) + (16 / 116);\n\tz = z > 0.008856 ? (z ** (1 / 3)) : (7.787 * z) + (16 / 116);\n\n\tconst l = (116 * y) - 16;\n\tconst a = 500 * (x - y);\n\tconst b = 200 * (y - z);\n\n\treturn [l, a, b];\n};\n\nconvert.lab.xyz = function (lab) {\n\tconst l = lab[0];\n\tconst a = lab[1];\n\tconst b = lab[2];\n\tlet x;\n\tlet y;\n\tlet z;\n\n\ty = (l + 16) / 116;\n\tx = a / 500 + y;\n\tz = y - b / 200;\n\n\tconst y2 = y ** 3;\n\tconst x2 = x ** 3;\n\tconst z2 = z ** 3;\n\ty = y2 > 0.008856 ? y2 : (y - 16 / 116) / 7.787;\n\tx = x2 > 0.008856 ? x2 : (x - 16 / 116) / 7.787;\n\tz = z2 > 0.008856 ? z2 : (z - 16 / 116) / 7.787;\n\n\tx *= 95.047;\n\ty *= 100;\n\tz *= 108.883;\n\n\treturn [x, y, z];\n};\n\nconvert.lab.lch = function (lab) {\n\tconst l = lab[0];\n\tconst a = lab[1];\n\tconst b = lab[2];\n\tlet h;\n\n\tconst hr = Math.atan2(b, a);\n\th = hr * 360 / 2 / Math.PI;\n\n\tif (h < 0) {\n\t\th += 360;\n\t}\n\n\tconst c = Math.sqrt(a * a + b * b);\n\n\treturn [l, c, h];\n};\n\nconvert.lch.lab = function (lch) {\n\tconst l = lch[0];\n\tconst c = lch[1];\n\tconst h = lch[2];\n\n\tconst hr = h / 360 * 2 * Math.PI;\n\tconst a = c * Math.cos(hr);\n\tconst b = c * Math.sin(hr);\n\n\treturn [l, a, b];\n};\n\nconvert.rgb.ansi16 = function (args, saturation = null) {\n\tconst [r, g, b] = args;\n\tlet value = saturation === null ? convert.rgb.hsv(args)[2] : saturation; // Hsv -> ansi16 optimization\n\n\tvalue = Math.round(value / 50);\n\n\tif (value === 0) {\n\t\treturn 30;\n\t}\n\n\tlet ansi = 30\n\t\t+ ((Math.round(b / 255) << 2)\n\t\t| (Math.round(g / 255) << 1)\n\t\t| Math.round(r / 255));\n\n\tif (value === 2) {\n\t\tansi += 60;\n\t}\n\n\treturn ansi;\n};\n\nconvert.hsv.ansi16 = function (args) {\n\t// Optimization here; we already know the value and don't need to get\n\t// it converted for us.\n\treturn convert.rgb.ansi16(convert.hsv.rgb(args), args[2]);\n};\n\nconvert.rgb.ansi256 = function (args) {\n\tconst r = args[0];\n\tconst g = args[1];\n\tconst b = args[2];\n\n\t// We use the extended greyscale palette here, with the exception of\n\t// black and white. normal palette only has 4 greyscale shades.\n\tif (r === g && g === b) {\n\t\tif (r < 8) {\n\t\t\treturn 16;\n\t\t}\n\n\t\tif (r > 248) {\n\t\t\treturn 231;\n\t\t}\n\n\t\treturn Math.round(((r - 8) / 247) * 24) + 232;\n\t}\n\n\tconst ansi = 16\n\t\t+ (36 * Math.round(r / 255 * 5))\n\t\t+ (6 * Math.round(g / 255 * 5))\n\t\t+ Math.round(b / 255 * 5);\n\n\treturn ansi;\n};\n\nconvert.ansi16.rgb = function (args) {\n\tlet color = args % 10;\n\n\t// Handle greyscale\n\tif (color === 0 || color === 7) {\n\t\tif (args > 50) {\n\t\t\tcolor += 3.5;\n\t\t}\n\n\t\tcolor = color / 10.5 * 255;\n\n\t\treturn [color, color, color];\n\t}\n\n\tconst mult = (~~(args > 50) + 1) * 0.5;\n\tconst r = ((color & 1) * mult) * 255;\n\tconst g = (((color >> 1) & 1) * mult) * 255;\n\tconst b = (((color >> 2) & 1) * mult) * 255;\n\n\treturn [r, g, b];\n};\n\nconvert.ansi256.rgb = function (args) {\n\t// Handle greyscale\n\tif (args >= 232) {\n\t\tconst c = (args - 232) * 10 + 8;\n\t\treturn [c, c, c];\n\t}\n\n\targs -= 16;\n\n\tlet rem;\n\tconst r = Math.floor(args / 36) / 5 * 255;\n\tconst g = Math.floor((rem = args % 36) / 6) / 5 * 255;\n\tconst b = (rem % 6) / 5 * 255;\n\n\treturn [r, g, b];\n};\n\nconvert.rgb.hex = function (args) {\n\tconst integer = ((Math.round(args[0]) & 0xFF) << 16)\n\t\t+ ((Math.round(args[1]) & 0xFF) << 8)\n\t\t+ (Math.round(args[2]) & 0xFF);\n\n\tconst string = integer.toString(16).toUpperCase();\n\treturn '000000'.substring(string.length) + string;\n};\n\nconvert.hex.rgb = function (args) {\n\tconst match = args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);\n\tif (!match) {\n\t\treturn [0, 0, 0];\n\t}\n\n\tlet colorString = match[0];\n\n\tif (match[0].length === 3) {\n\t\tcolorString = colorString.split('').map(char => {\n\t\t\treturn char + char;\n\t\t}).join('');\n\t}\n\n\tconst integer = parseInt(colorString, 16);\n\tconst r = (integer >> 16) & 0xFF;\n\tconst g = (integer >> 8) & 0xFF;\n\tconst b = integer & 0xFF;\n\n\treturn [r, g, b];\n};\n\nconvert.rgb.hcg = function (rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst max = Math.max(Math.max(r, g), b);\n\tconst min = Math.min(Math.min(r, g), b);\n\tconst chroma = (max - min);\n\tlet grayscale;\n\tlet hue;\n\n\tif (chroma < 1) {\n\t\tgrayscale = min / (1 - chroma);\n\t} else {\n\t\tgrayscale = 0;\n\t}\n\n\tif (chroma <= 0) {\n\t\thue = 0;\n\t} else\n\tif (max === r) {\n\t\thue = ((g - b) / chroma) % 6;\n\t} else\n\tif (max === g) {\n\t\thue = 2 + (b - r) / chroma;\n\t} else {\n\t\thue = 4 + (r - g) / chroma;\n\t}\n\n\thue /= 6;\n\thue %= 1;\n\n\treturn [hue * 360, chroma * 100, grayscale * 100];\n};\n\nconvert.hsl.hcg = function (hsl) {\n\tconst s = hsl[1] / 100;\n\tconst l = hsl[2] / 100;\n\n\tconst c = l < 0.5 ? (2.0 * s * l) : (2.0 * s * (1.0 - l));\n\n\tlet f = 0;\n\tif (c < 1.0) {\n\t\tf = (l - 0.5 * c) / (1.0 - c);\n\t}\n\n\treturn [hsl[0], c * 100, f * 100];\n};\n\nconvert.hsv.hcg = function (hsv) {\n\tconst s = hsv[1] / 100;\n\tconst v = hsv[2] / 100;\n\n\tconst c = s * v;\n\tlet f = 0;\n\n\tif (c < 1.0) {\n\t\tf = (v - c) / (1 - c);\n\t}\n\n\treturn [hsv[0], c * 100, f * 100];\n};\n\nconvert.hcg.rgb = function (hcg) {\n\tconst h = hcg[0] / 360;\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\n\tif (c === 0.0) {\n\t\treturn [g * 255, g * 255, g * 255];\n\t}\n\n\tconst pure = [0, 0, 0];\n\tconst hi = (h % 1) * 6;\n\tconst v = hi % 1;\n\tconst w = 1 - v;\n\tlet mg = 0;\n\n\t/* eslint-disable max-statements-per-line */\n\tswitch (Math.floor(hi)) {\n\t\tcase 0:\n\t\t\tpure[0] = 1; pure[1] = v; pure[2] = 0; break;\n\t\tcase 1:\n\t\t\tpure[0] = w; pure[1] = 1; pure[2] = 0; break;\n\t\tcase 2:\n\t\t\tpure[0] = 0; pure[1] = 1; pure[2] = v; break;\n\t\tcase 3:\n\t\t\tpure[0] = 0; pure[1] = w; pure[2] = 1; break;\n\t\tcase 4:\n\t\t\tpure[0] = v; pure[1] = 0; pure[2] = 1; break;\n\t\tdefault:\n\t\t\tpure[0] = 1; pure[1] = 0; pure[2] = w;\n\t}\n\t/* eslint-enable max-statements-per-line */\n\n\tmg = (1.0 - c) * g;\n\n\treturn [\n\t\t(c * pure[0] + mg) * 255,\n\t\t(c * pure[1] + mg) * 255,\n\t\t(c * pure[2] + mg) * 255\n\t];\n};\n\nconvert.hcg.hsv = function (hcg) {\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\n\tconst v = c + g * (1.0 - c);\n\tlet f = 0;\n\n\tif (v > 0.0) {\n\t\tf = c / v;\n\t}\n\n\treturn [hcg[0], f * 100, v * 100];\n};\n\nconvert.hcg.hsl = function (hcg) {\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\n\tconst l = g * (1.0 - c) + 0.5 * c;\n\tlet s = 0;\n\n\tif (l > 0.0 && l < 0.5) {\n\t\ts = c / (2 * l);\n\t} else\n\tif (l >= 0.5 && l < 1.0) {\n\t\ts = c / (2 * (1 - l));\n\t}\n\n\treturn [hcg[0], s * 100, l * 100];\n};\n\nconvert.hcg.hwb = function (hcg) {\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\tconst v = c + g * (1.0 - c);\n\treturn [hcg[0], (v - c) * 100, (1 - v) * 100];\n};\n\nconvert.hwb.hcg = function (hwb) {\n\tconst w = hwb[1] / 100;\n\tconst b = hwb[2] / 100;\n\tconst v = 1 - b;\n\tconst c = v - w;\n\tlet g = 0;\n\n\tif (c < 1) {\n\t\tg = (v - c) / (1 - c);\n\t}\n\n\treturn [hwb[0], c * 100, g * 100];\n};\n\nconvert.apple.rgb = function (apple) {\n\treturn [(apple[0] / 65535) * 255, (apple[1] / 65535) * 255, (apple[2] / 65535) * 255];\n};\n\nconvert.rgb.apple = function (rgb) {\n\treturn [(rgb[0] / 255) * 65535, (rgb[1] / 255) * 65535, (rgb[2] / 255) * 65535];\n};\n\nconvert.gray.rgb = function (args) {\n\treturn [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255];\n};\n\nconvert.gray.hsl = function (args) {\n\treturn [0, 0, args[0]];\n};\n\nconvert.gray.hsv = convert.gray.hsl;\n\nconvert.gray.hwb = function (gray) {\n\treturn [0, 100, gray[0]];\n};\n\nconvert.gray.cmyk = function (gray) {\n\treturn [0, 0, 0, gray[0]];\n};\n\nconvert.gray.lab = function (gray) {\n\treturn [gray[0], 0, 0];\n};\n\nconvert.gray.hex = function (gray) {\n\tconst val = Math.round(gray[0] / 100 * 255) & 0xFF;\n\tconst integer = (val << 16) + (val << 8) + val;\n\n\tconst string = integer.toString(16).toUpperCase();\n\treturn '000000'.substring(string.length) + string;\n};\n\nconvert.rgb.gray = function (rgb) {\n\tconst val = (rgb[0] + rgb[1] + rgb[2]) / 3;\n\treturn [val / 255 * 100];\n};\n","const conversions = require('./conversions');\n\n/*\n\tThis function routes a model to all other models.\n\n\tall functions that are routed have a property `.conversion` attached\n\tto the returned synthetic function. This property is an array\n\tof strings, each with the steps in between the 'from' and 'to'\n\tcolor models (inclusive).\n\n\tconversions that are not possible simply are not included.\n*/\n\nfunction buildGraph() {\n\tconst graph = {};\n\t// https://jsperf.com/object-keys-vs-for-in-with-closure/3\n\tconst models = Object.keys(conversions);\n\n\tfor (let len = models.length, i = 0; i < len; i++) {\n\t\tgraph[models[i]] = {\n\t\t\t// http://jsperf.com/1-vs-infinity\n\t\t\t// micro-opt, but this is simple.\n\t\t\tdistance: -1,\n\t\t\tparent: null\n\t\t};\n\t}\n\n\treturn graph;\n}\n\n// https://en.wikipedia.org/wiki/Breadth-first_search\nfunction deriveBFS(fromModel) {\n\tconst graph = buildGraph();\n\tconst queue = [fromModel]; // Unshift -> queue -> pop\n\n\tgraph[fromModel].distance = 0;\n\n\twhile (queue.length) {\n\t\tconst current = queue.pop();\n\t\tconst adjacents = Object.keys(conversions[current]);\n\n\t\tfor (let len = adjacents.length, i = 0; i < len; i++) {\n\t\t\tconst adjacent = adjacents[i];\n\t\t\tconst node = graph[adjacent];\n\n\t\t\tif (node.distance === -1) {\n\t\t\t\tnode.distance = graph[current].distance + 1;\n\t\t\t\tnode.parent = current;\n\t\t\t\tqueue.unshift(adjacent);\n\t\t\t}\n\t\t}\n\t}\n\n\treturn graph;\n}\n\nfunction link(from, to) {\n\treturn function (args) {\n\t\treturn to(from(args));\n\t};\n}\n\nfunction wrapConversion(toModel, graph) {\n\tconst path = [graph[toModel].parent, toModel];\n\tlet fn = conversions[graph[toModel].parent][toModel];\n\n\tlet cur = graph[toModel].parent;\n\twhile (graph[cur].parent) {\n\t\tpath.unshift(graph[cur].parent);\n\t\tfn = link(conversions[graph[cur].parent][cur], fn);\n\t\tcur = graph[cur].parent;\n\t}\n\n\tfn.conversion = path;\n\treturn fn;\n}\n\nmodule.exports = function (fromModel) {\n\tconst graph = deriveBFS(fromModel);\n\tconst conversion = {};\n\n\tconst models = Object.keys(graph);\n\tfor (let len = models.length, i = 0; i < len; i++) {\n\t\tconst toModel = models[i];\n\t\tconst node = graph[toModel];\n\n\t\tif (node.parent === null) {\n\t\t\t// No possible conversion, or this node is the source model.\n\t\t\tcontinue;\n\t\t}\n\n\t\tconversion[toModel] = wrapConversion(toModel, graph);\n\t}\n\n\treturn conversion;\n};\n\n","const conversions = require('./conversions');\nconst route = require('./route');\n\nconst convert = {};\n\nconst models = Object.keys(conversions);\n\nfunction wrapRaw(fn) {\n\tconst wrappedFn = function (...args) {\n\t\tconst arg0 = args[0];\n\t\tif (arg0 === undefined || arg0 === null) {\n\t\t\treturn arg0;\n\t\t}\n\n\t\tif (arg0.length > 1) {\n\t\t\targs = arg0;\n\t\t}\n\n\t\treturn fn(args);\n\t};\n\n\t// Preserve .conversion property if there is one\n\tif ('conversion' in fn) {\n\t\twrappedFn.conversion = fn.conversion;\n\t}\n\n\treturn wrappedFn;\n}\n\nfunction wrapRounded(fn) {\n\tconst wrappedFn = function (...args) {\n\t\tconst arg0 = args[0];\n\n\t\tif (arg0 === undefined || arg0 === null) {\n\t\t\treturn arg0;\n\t\t}\n\n\t\tif (arg0.length > 1) {\n\t\t\targs = arg0;\n\t\t}\n\n\t\tconst result = fn(args);\n\n\t\t// We're assuming the result is an array here.\n\t\t// see notice in conversions.js; don't use box types\n\t\t// in conversion functions.\n\t\tif (typeof result === 'object') {\n\t\t\tfor (let len = result.length, i = 0; i < len; i++) {\n\t\t\t\tresult[i] = Math.round(result[i]);\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t};\n\n\t// Preserve .conversion property if there is one\n\tif ('conversion' in fn) {\n\t\twrappedFn.conversion = fn.conversion;\n\t}\n\n\treturn wrappedFn;\n}\n\nmodels.forEach(fromModel => {\n\tconvert[fromModel] = {};\n\n\tObject.defineProperty(convert[fromModel], 'channels', {value: conversions[fromModel].channels});\n\tObject.defineProperty(convert[fromModel], 'labels', {value: conversions[fromModel].labels});\n\n\tconst routes = route(fromModel);\n\tconst routeModels = Object.keys(routes);\n\n\trouteModels.forEach(toModel => {\n\t\tconst fn = routes[toModel];\n\n\t\tconvert[fromModel][toModel] = wrapRounded(fn);\n\t\tconvert[fromModel][toModel].raw = wrapRaw(fn);\n\t});\n});\n\nmodule.exports = convert;\n","const colorString = require('color-string');\nconst convert = require('color-convert');\n\nconst skippedModels = [\n\t// To be honest, I don't really feel like keyword belongs in color convert, but eh.\n\t'keyword',\n\n\t// Gray conflicts with some method names, and has its own method defined.\n\t'gray',\n\n\t// Shouldn't really be in color-convert either...\n\t'hex',\n];\n\nconst hashedModelKeys = {};\nfor (const model of Object.keys(convert)) {\n\thashedModelKeys[[...convert[model].labels].sort().join('')] = model;\n}\n\nconst limiters = {};\n\nfunction Color(object, model) {\n\tif (!(this instanceof Color)) {\n\t\treturn new Color(object, model);\n\t}\n\n\tif (model && model in skippedModels) {\n\t\tmodel = null;\n\t}\n\n\tif (model && !(model in convert)) {\n\t\tthrow new Error('Unknown model: ' + model);\n\t}\n\n\tlet i;\n\tlet channels;\n\n\tif (object == null) { // eslint-disable-line no-eq-null,eqeqeq\n\t\tthis.model = 'rgb';\n\t\tthis.color = [0, 0, 0];\n\t\tthis.valpha = 1;\n\t} else if (object instanceof Color) {\n\t\tthis.model = object.model;\n\t\tthis.color = [...object.color];\n\t\tthis.valpha = object.valpha;\n\t} else if (typeof object === 'string') {\n\t\tconst result = colorString.get(object);\n\t\tif (result === null) {\n\t\t\tthrow new Error('Unable to parse color from string: ' + object);\n\t\t}\n\n\t\tthis.model = result.model;\n\t\tchannels = convert[this.model].channels;\n\t\tthis.color = result.value.slice(0, channels);\n\t\tthis.valpha = typeof result.value[channels] === 'number' ? result.value[channels] : 1;\n\t} else if (object.length > 0) {\n\t\tthis.model = model || 'rgb';\n\t\tchannels = convert[this.model].channels;\n\t\tconst newArray = Array.prototype.slice.call(object, 0, channels);\n\t\tthis.color = zeroArray(newArray, channels);\n\t\tthis.valpha = typeof object[channels] === 'number' ? object[channels] : 1;\n\t} else if (typeof object === 'number') {\n\t\t// This is always RGB - can be converted later on.\n\t\tthis.model = 'rgb';\n\t\tthis.color = [\n\t\t\t(object >> 16) & 0xFF,\n\t\t\t(object >> 8) & 0xFF,\n\t\t\tobject & 0xFF,\n\t\t];\n\t\tthis.valpha = 1;\n\t} else {\n\t\tthis.valpha = 1;\n\n\t\tconst keys = Object.keys(object);\n\t\tif ('alpha' in object) {\n\t\t\tkeys.splice(keys.indexOf('alpha'), 1);\n\t\t\tthis.valpha = typeof object.alpha === 'number' ? object.alpha : 0;\n\t\t}\n\n\t\tconst hashedKeys = keys.sort().join('');\n\t\tif (!(hashedKeys in hashedModelKeys)) {\n\t\t\tthrow new Error('Unable to parse color from object: ' + JSON.stringify(object));\n\t\t}\n\n\t\tthis.model = hashedModelKeys[hashedKeys];\n\n\t\tconst {labels} = convert[this.model];\n\t\tconst color = [];\n\t\tfor (i = 0; i < labels.length; i++) {\n\t\t\tcolor.push(object[labels[i]]);\n\t\t}\n\n\t\tthis.color = zeroArray(color);\n\t}\n\n\t// Perform limitations (clamping, etc.)\n\tif (limiters[this.model]) {\n\t\tchannels = convert[this.model].channels;\n\t\tfor (i = 0; i < channels; i++) {\n\t\t\tconst limit = limiters[this.model][i];\n\t\t\tif (limit) {\n\t\t\t\tthis.color[i] = limit(this.color[i]);\n\t\t\t}\n\t\t}\n\t}\n\n\tthis.valpha = Math.max(0, Math.min(1, this.valpha));\n\n\tif (Object.freeze) {\n\t\tObject.freeze(this);\n\t}\n}\n\nColor.prototype = {\n\ttoString() {\n\t\treturn this.string();\n\t},\n\n\ttoJSON() {\n\t\treturn this[this.model]();\n\t},\n\n\tstring(places) {\n\t\tlet self = this.model in colorString.to ? this : this.rgb();\n\t\tself = self.round(typeof places === 'number' ? places : 1);\n\t\tconst args = self.valpha === 1 ? self.color : [...self.color, this.valpha];\n\t\treturn colorString.to[self.model](args);\n\t},\n\n\tpercentString(places) {\n\t\tconst self = this.rgb().round(typeof places === 'number' ? places : 1);\n\t\tconst args = self.valpha === 1 ? self.color : [...self.color, this.valpha];\n\t\treturn colorString.to.rgb.percent(args);\n\t},\n\n\tarray() {\n\t\treturn this.valpha === 1 ? [...this.color] : [...this.color, this.valpha];\n\t},\n\n\tobject() {\n\t\tconst result = {};\n\t\tconst {channels} = convert[this.model];\n\t\tconst {labels} = convert[this.model];\n\n\t\tfor (let i = 0; i < channels; i++) {\n\t\t\tresult[labels[i]] = this.color[i];\n\t\t}\n\n\t\tif (this.valpha !== 1) {\n\t\t\tresult.alpha = this.valpha;\n\t\t}\n\n\t\treturn result;\n\t},\n\n\tunitArray() {\n\t\tconst rgb = this.rgb().color;\n\t\trgb[0] /= 255;\n\t\trgb[1] /= 255;\n\t\trgb[2] /= 255;\n\n\t\tif (this.valpha !== 1) {\n\t\t\trgb.push(this.valpha);\n\t\t}\n\n\t\treturn rgb;\n\t},\n\n\tunitObject() {\n\t\tconst rgb = this.rgb().object();\n\t\trgb.r /= 255;\n\t\trgb.g /= 255;\n\t\trgb.b /= 255;\n\n\t\tif (this.valpha !== 1) {\n\t\t\trgb.alpha = this.valpha;\n\t\t}\n\n\t\treturn rgb;\n\t},\n\n\tround(places) {\n\t\tplaces = Math.max(places || 0, 0);\n\t\treturn new Color([...this.color.map(roundToPlace(places)), this.valpha], this.model);\n\t},\n\n\talpha(value) {\n\t\tif (value !== undefined) {\n\t\t\treturn new Color([...this.color, Math.max(0, Math.min(1, value))], this.model);\n\t\t}\n\n\t\treturn this.valpha;\n\t},\n\n\t// Rgb\n\tred: getset('rgb', 0, maxfn(255)),\n\tgreen: getset('rgb', 1, maxfn(255)),\n\tblue: getset('rgb', 2, maxfn(255)),\n\n\thue: getset(['hsl', 'hsv', 'hsl', 'hwb', 'hcg'], 0, value => ((value % 360) + 360) % 360),\n\n\tsaturationl: getset('hsl', 1, maxfn(100)),\n\tlightness: getset('hsl', 2, maxfn(100)),\n\n\tsaturationv: getset('hsv', 1, maxfn(100)),\n\tvalue: getset('hsv', 2, maxfn(100)),\n\n\tchroma: getset('hcg', 1, maxfn(100)),\n\tgray: getset('hcg', 2, maxfn(100)),\n\n\twhite: getset('hwb', 1, maxfn(100)),\n\twblack: getset('hwb', 2, maxfn(100)),\n\n\tcyan: getset('cmyk', 0, maxfn(100)),\n\tmagenta: getset('cmyk', 1, maxfn(100)),\n\tyellow: getset('cmyk', 2, maxfn(100)),\n\tblack: getset('cmyk', 3, maxfn(100)),\n\n\tx: getset('xyz', 0, maxfn(95.047)),\n\ty: getset('xyz', 1, maxfn(100)),\n\tz: getset('xyz', 2, maxfn(108.833)),\n\n\tl: getset('lab', 0, maxfn(100)),\n\ta: getset('lab', 1),\n\tb: getset('lab', 2),\n\n\tkeyword(value) {\n\t\tif (value !== undefined) {\n\t\t\treturn new Color(value);\n\t\t}\n\n\t\treturn convert[this.model].keyword(this.color);\n\t},\n\n\thex(value) {\n\t\tif (value !== undefined) {\n\t\t\treturn new Color(value);\n\t\t}\n\n\t\treturn colorString.to.hex(this.rgb().round().color);\n\t},\n\n\thexa(value) {\n\t\tif (value !== undefined) {\n\t\t\treturn new Color(value);\n\t\t}\n\n\t\tconst rgbArray = this.rgb().round().color;\n\n\t\tlet alphaHex = Math.round(this.valpha * 255).toString(16).toUpperCase();\n\t\tif (alphaHex.length === 1) {\n\t\t\talphaHex = '0' + alphaHex;\n\t\t}\n\n\t\treturn colorString.to.hex(rgbArray) + alphaHex;\n\t},\n\n\trgbNumber() {\n\t\tconst rgb = this.rgb().color;\n\t\treturn ((rgb[0] & 0xFF) << 16) | ((rgb[1] & 0xFF) << 8) | (rgb[2] & 0xFF);\n\t},\n\n\tluminosity() {\n\t\t// http://www.w3.org/TR/WCAG20/#relativeluminancedef\n\t\tconst rgb = this.rgb().color;\n\n\t\tconst lum = [];\n\t\tfor (const [i, element] of rgb.entries()) {\n\t\t\tconst chan = element / 255;\n\t\t\tlum[i] = (chan <= 0.04045) ? chan / 12.92 : ((chan + 0.055) / 1.055) ** 2.4;\n\t\t}\n\n\t\treturn 0.2126 * lum[0] + 0.7152 * lum[1] + 0.0722 * lum[2];\n\t},\n\n\tcontrast(color2) {\n\t\t// http://www.w3.org/TR/WCAG20/#contrast-ratiodef\n\t\tconst lum1 = this.luminosity();\n\t\tconst lum2 = color2.luminosity();\n\n\t\tif (lum1 > lum2) {\n\t\t\treturn (lum1 + 0.05) / (lum2 + 0.05);\n\t\t}\n\n\t\treturn (lum2 + 0.05) / (lum1 + 0.05);\n\t},\n\n\tlevel(color2) {\n\t\t// https://www.w3.org/TR/WCAG/#contrast-enhanced\n\t\tconst contrastRatio = this.contrast(color2);\n\t\tif (contrastRatio >= 7) {\n\t\t\treturn 'AAA';\n\t\t}\n\n\t\treturn (contrastRatio >= 4.5) ? 'AA' : '';\n\t},\n\n\tisDark() {\n\t\t// YIQ equation from http://24ways.org/2010/calculating-color-contrast\n\t\tconst rgb = this.rgb().color;\n\t\tconst yiq = (rgb[0] * 2126 + rgb[1] * 7152 + rgb[2] * 722) / 10000;\n\t\treturn yiq < 128;\n\t},\n\n\tisLight() {\n\t\treturn !this.isDark();\n\t},\n\n\tnegate() {\n\t\tconst rgb = this.rgb();\n\t\tfor (let i = 0; i < 3; i++) {\n\t\t\trgb.color[i] = 255 - rgb.color[i];\n\t\t}\n\n\t\treturn rgb;\n\t},\n\n\tlighten(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[2] += hsl.color[2] * ratio;\n\t\treturn hsl;\n\t},\n\n\tdarken(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[2] -= hsl.color[2] * ratio;\n\t\treturn hsl;\n\t},\n\n\tsaturate(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[1] += hsl.color[1] * ratio;\n\t\treturn hsl;\n\t},\n\n\tdesaturate(ratio) {\n\t\tconst hsl = this.hsl();\n\t\thsl.color[1] -= hsl.color[1] * ratio;\n\t\treturn hsl;\n\t},\n\n\twhiten(ratio) {\n\t\tconst hwb = this.hwb();\n\t\thwb.color[1] += hwb.color[1] * ratio;\n\t\treturn hwb;\n\t},\n\n\tblacken(ratio) {\n\t\tconst hwb = this.hwb();\n\t\thwb.color[2] += hwb.color[2] * ratio;\n\t\treturn hwb;\n\t},\n\n\tgrayscale() {\n\t\t// http://en.wikipedia.org/wiki/Grayscale#Converting_color_to_grayscale\n\t\tconst rgb = this.rgb().color;\n\t\tconst value = rgb[0] * 0.3 + rgb[1] * 0.59 + rgb[2] * 0.11;\n\t\treturn Color.rgb(value, value, value);\n\t},\n\n\tfade(ratio) {\n\t\treturn this.alpha(this.valpha - (this.valpha * ratio));\n\t},\n\n\topaquer(ratio) {\n\t\treturn this.alpha(this.valpha + (this.valpha * ratio));\n\t},\n\n\trotate(degrees) {\n\t\tconst hsl = this.hsl();\n\t\tlet hue = hsl.color[0];\n\t\thue = (hue + degrees) % 360;\n\t\thue = hue < 0 ? 360 + hue : hue;\n\t\thsl.color[0] = hue;\n\t\treturn hsl;\n\t},\n\n\tmix(mixinColor, weight) {\n\t\t// Ported from sass implementation in C\n\t\t// https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209\n\t\tif (!mixinColor || !mixinColor.rgb) {\n\t\t\tthrow new Error('Argument to \"mix\" was not a Color instance, but rather an instance of ' + typeof mixinColor);\n\t\t}\n\n\t\tconst color1 = mixinColor.rgb();\n\t\tconst color2 = this.rgb();\n\t\tconst p = weight === undefined ? 0.5 : weight;\n\n\t\tconst w = 2 * p - 1;\n\t\tconst a = color1.alpha() - color2.alpha();\n\n\t\tconst w1 = (((w * a === -1) ? w : (w + a) / (1 + w * a)) + 1) / 2;\n\t\tconst w2 = 1 - w1;\n\n\t\treturn Color.rgb(\n\t\t\tw1 * color1.red() + w2 * color2.red(),\n\t\t\tw1 * color1.green() + w2 * color2.green(),\n\t\t\tw1 * color1.blue() + w2 * color2.blue(),\n\t\t\tcolor1.alpha() * p + color2.alpha() * (1 - p));\n\t},\n};\n\n// Model conversion methods and static constructors\nfor (const model of Object.keys(convert)) {\n\tif (skippedModels.includes(model)) {\n\t\tcontinue;\n\t}\n\n\tconst {channels} = convert[model];\n\n\t// Conversion methods\n\tColor.prototype[model] = function (...args) {\n\t\tif (this.model === model) {\n\t\t\treturn new Color(this);\n\t\t}\n\n\t\tif (args.length > 0) {\n\t\t\treturn new Color(args, model);\n\t\t}\n\n\t\treturn new Color([...assertArray(convert[this.model][model].raw(this.color)), this.valpha], model);\n\t};\n\n\t// 'static' construction methods\n\tColor[model] = function (...args) {\n\t\tlet color = args[0];\n\t\tif (typeof color === 'number') {\n\t\t\tcolor = zeroArray(args, channels);\n\t\t}\n\n\t\treturn new Color(color, model);\n\t};\n}\n\nfunction roundTo(number, places) {\n\treturn Number(number.toFixed(places));\n}\n\nfunction roundToPlace(places) {\n\treturn function (number) {\n\t\treturn roundTo(number, places);\n\t};\n}\n\nfunction getset(model, channel, modifier) {\n\tmodel = Array.isArray(model) ? model : [model];\n\n\tfor (const m of model) {\n\t\t(limiters[m] || (limiters[m] = []))[channel] = modifier;\n\t}\n\n\tmodel = model[0];\n\n\treturn function (value) {\n\t\tlet result;\n\n\t\tif (value !== undefined) {\n\t\t\tif (modifier) {\n\t\t\t\tvalue = modifier(value);\n\t\t\t}\n\n\t\t\tresult = this[model]();\n\t\t\tresult.color[channel] = value;\n\t\t\treturn result;\n\t\t}\n\n\t\tresult = this[model]().color[channel];\n\t\tif (modifier) {\n\t\t\tresult = modifier(result);\n\t\t}\n\n\t\treturn result;\n\t};\n}\n\nfunction maxfn(max) {\n\treturn function (v) {\n\t\treturn Math.max(0, Math.min(max, v));\n\t};\n}\n\nfunction assertArray(value) {\n\treturn Array.isArray(value) ? value : [value];\n}\n\nfunction zeroArray(array, length) {\n\tfor (let i = 0; i < length; i++) {\n\t\tif (typeof array[i] !== 'number') {\n\t\t\tarray[i] = 0;\n\t\t}\n\t}\n\n\treturn array;\n}\n\nmodule.exports = Color;\n","// randomColor by David Merfield under the CC0 license\n// https://github.com/davidmerfield/randomColor/\n\n;(function(root, factory) {\n\n // Support CommonJS\n if (typeof exports === 'object') {\n var randomColor = factory();\n\n // Support NodeJS & Component, which allow module.exports to be a function\n if (typeof module === 'object' && module && module.exports) {\n exports = module.exports = randomColor;\n }\n\n // Support CommonJS 1.1.1 spec\n exports.randomColor = randomColor;\n\n // Support AMD\n } else if (typeof define === 'function' && define.amd) {\n define([], factory);\n\n // Support vanilla script loading\n } else {\n root.randomColor = factory();\n }\n\n}(this, function() {\n\n // Seed to get repeatable colors\n var seed = null;\n\n // Shared color dictionary\n var colorDictionary = {};\n\n // Populate the color dictionary\n loadColorBounds();\n\n // check if a range is taken\n var colorRanges = [];\n\n var randomColor = function (options) {\n\n options = options || {};\n\n // Check if there is a seed and ensure it's an\n // integer. Otherwise, reset the seed value.\n if (options.seed !== undefined && options.seed !== null && options.seed === parseInt(options.seed, 10)) {\n seed = options.seed;\n\n // A string was passed as a seed\n } else if (typeof options.seed === 'string') {\n seed = stringToInteger(options.seed);\n\n // Something was passed as a seed but it wasn't an integer or string\n } else if (options.seed !== undefined && options.seed !== null) {\n throw new TypeError('The seed value must be an integer or string');\n\n // No seed, reset the value outside.\n } else {\n seed = null;\n }\n\n var H,S,B;\n\n // Check if we need to generate multiple colors\n if (options.count !== null && options.count !== undefined) {\n\n var totalColors = options.count,\n colors = [];\n // Value false at index i means the range i is not taken yet.\n for (var i = 0; i < options.count; i++) {\n colorRanges.push(false)\n }\n options.count = null;\n\n while (totalColors > colors.length) {\n\n var color = randomColor(options);\n\n if (seed !== null) {\n options.seed = seed;\n }\n\n colors.push(color);\n }\n\n options.count = totalColors;\n\n return colors;\n }\n\n // First we pick a hue (H)\n H = pickHue(options);\n\n // Then use H to determine saturation (S)\n S = pickSaturation(H, options);\n\n // Then use S and H to determine brightness (B).\n B = pickBrightness(H, S, options);\n\n // Then we return the HSB color in the desired format\n return setFormat([H,S,B], options);\n };\n\n function pickHue(options) {\n if (colorRanges.length > 0) {\n var hueRange = getRealHueRange(options.hue)\n\n var hue = randomWithin(hueRange)\n\n //Each of colorRanges.length ranges has a length equal approximatelly one step\n var step = (hueRange[1] - hueRange[0]) / colorRanges.length\n\n var j = parseInt((hue - hueRange[0]) / step)\n\n //Check if the range j is taken\n if (colorRanges[j] === true) {\n j = (j + 2) % colorRanges.length\n }\n else {\n colorRanges[j] = true\n }\n\n var min = (hueRange[0] + j * step) % 359,\n max = (hueRange[0] + (j + 1) * step) % 359;\n\n hueRange = [min, max]\n\n hue = randomWithin(hueRange)\n\n if (hue < 0) {hue = 360 + hue;}\n return hue\n }\n else {\n var hueRange = getHueRange(options.hue)\n\n hue = randomWithin(hueRange);\n // Instead of storing red as two seperate ranges,\n // we group them, using negative numbers\n if (hue < 0) {\n hue = 360 + hue;\n }\n\n return hue;\n }\n }\n\n function pickSaturation (hue, options) {\n\n if (options.hue === 'monochrome') {\n return 0;\n }\n\n if (options.luminosity === 'random') {\n return randomWithin([0,100]);\n }\n\n var saturationRange = getSaturationRange(hue);\n\n var sMin = saturationRange[0],\n sMax = saturationRange[1];\n\n switch (options.luminosity) {\n\n case 'bright':\n sMin = 55;\n break;\n\n case 'dark':\n sMin = sMax - 10;\n break;\n\n case 'light':\n sMax = 55;\n break;\n }\n\n return randomWithin([sMin, sMax]);\n\n }\n\n function pickBrightness (H, S, options) {\n\n var bMin = getMinimumBrightness(H, S),\n bMax = 100;\n\n switch (options.luminosity) {\n\n case 'dark':\n bMax = bMin + 20;\n break;\n\n case 'light':\n bMin = (bMax + bMin)/2;\n break;\n\n case 'random':\n bMin = 0;\n bMax = 100;\n break;\n }\n\n return randomWithin([bMin, bMax]);\n }\n\n function setFormat (hsv, options) {\n\n switch (options.format) {\n\n case 'hsvArray':\n return hsv;\n\n case 'hslArray':\n return HSVtoHSL(hsv);\n\n case 'hsl':\n var hsl = HSVtoHSL(hsv);\n return 'hsl('+hsl[0]+', '+hsl[1]+'%, '+hsl[2]+'%)';\n\n case 'hsla':\n var hslColor = HSVtoHSL(hsv);\n var alpha = options.alpha || Math.random();\n return 'hsla('+hslColor[0]+', '+hslColor[1]+'%, '+hslColor[2]+'%, ' + alpha + ')';\n\n case 'rgbArray':\n return HSVtoRGB(hsv);\n\n case 'rgb':\n var rgb = HSVtoRGB(hsv);\n return 'rgb(' + rgb.join(', ') + ')';\n\n case 'rgba':\n var rgbColor = HSVtoRGB(hsv);\n var alpha = options.alpha || Math.random();\n return 'rgba(' + rgbColor.join(', ') + ', ' + alpha + ')';\n\n default:\n return HSVtoHex(hsv);\n }\n\n }\n\n function getMinimumBrightness(H, S) {\n\n var lowerBounds = getColorInfo(H).lowerBounds;\n\n for (var i = 0; i < lowerBounds.length - 1; i++) {\n\n var s1 = lowerBounds[i][0],\n v1 = lowerBounds[i][1];\n\n var s2 = lowerBounds[i+1][0],\n v2 = lowerBounds[i+1][1];\n\n if (S >= s1 && S <= s2) {\n\n var m = (v2 - v1)/(s2 - s1),\n b = v1 - m*s1;\n\n return m*S + b;\n }\n\n }\n\n return 0;\n }\n\n function getHueRange (colorInput) {\n\n if (typeof parseInt(colorInput) === 'number') {\n\n var number = parseInt(colorInput);\n\n if (number < 360 && number > 0) {\n return [number, number];\n }\n\n }\n\n if (typeof colorInput === 'string') {\n\n if (colorDictionary[colorInput]) {\n var color = colorDictionary[colorInput];\n if (color.hueRange) {return color.hueRange;}\n } else if (colorInput.match(/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i)) {\n var hue = HexToHSB(colorInput)[0];\n return [ hue, hue ];\n }\n }\n\n return [0,360];\n\n }\n\n function getSaturationRange (hue) {\n return getColorInfo(hue).saturationRange;\n }\n\n function getColorInfo (hue) {\n\n // Maps red colors to make picking hue easier\n if (hue >= 334 && hue <= 360) {\n hue-= 360;\n }\n\n for (var colorName in colorDictionary) {\n var color = colorDictionary[colorName];\n if (color.hueRange &&\n hue >= color.hueRange[0] &&\n hue <= color.hueRange[1]) {\n return colorDictionary[colorName];\n }\n } return 'Color not found';\n }\n\n function randomWithin (range) {\n if (seed === null) {\n //generate random evenly destinct number from : https://martin.ankerl.com/2009/12/09/how-to-create-random-colors-programmatically/\n var golden_ratio = 0.618033988749895\n var r=Math.random()\n r += golden_ratio\n r %= 1\n return Math.floor(range[0] + r*(range[1] + 1 - range[0]));\n } else {\n //Seeded random algorithm from http://indiegamr.com/generate-repeatable-random-numbers-in-js/\n var max = range[1] || 1;\n var min = range[0] || 0;\n seed = (seed * 9301 + 49297) % 233280;\n var rnd = seed / 233280.0;\n return Math.floor(min + rnd * (max - min));\n}\n }\n\n function HSVtoHex (hsv){\n\n var rgb = HSVtoRGB(hsv);\n\n function componentToHex(c) {\n var hex = c.toString(16);\n return hex.length == 1 ? '0' + hex : hex;\n }\n\n var hex = '#' + componentToHex(rgb[0]) + componentToHex(rgb[1]) + componentToHex(rgb[2]);\n\n return hex;\n\n }\n\n function defineColor (name, hueRange, lowerBounds) {\n\n var sMin = lowerBounds[0][0],\n sMax = lowerBounds[lowerBounds.length - 1][0],\n\n bMin = lowerBounds[lowerBounds.length - 1][1],\n bMax = lowerBounds[0][1];\n\n colorDictionary[name] = {\n hueRange: hueRange,\n lowerBounds: lowerBounds,\n saturationRange: [sMin, sMax],\n brightnessRange: [bMin, bMax]\n };\n\n }\n\n function loadColorBounds () {\n\n defineColor(\n 'monochrome',\n null,\n [[0,0],[100,0]]\n );\n\n defineColor(\n 'red',\n [-26,18],\n [[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]\n );\n\n defineColor(\n 'orange',\n [18,46],\n [[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]\n );\n\n defineColor(\n 'yellow',\n [46,62],\n [[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]\n );\n\n defineColor(\n 'green',\n [62,178],\n [[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]\n );\n\n defineColor(\n 'blue',\n [178, 257],\n [[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]\n );\n\n defineColor(\n 'purple',\n [257, 282],\n [[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]\n );\n\n defineColor(\n 'pink',\n [282, 334],\n [[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]\n );\n\n }\n\n function HSVtoRGB (hsv) {\n\n // this doesn't work for the values of 0 and 360\n // here's the hacky fix\n var h = hsv[0];\n if (h === 0) {h = 1;}\n if (h === 360) {h = 359;}\n\n // Rebase the h,s,v values\n h = h/360;\n var s = hsv[1]/100,\n v = hsv[2]/100;\n\n var h_i = Math.floor(h*6),\n f = h * 6 - h_i,\n p = v * (1 - s),\n q = v * (1 - f*s),\n t = v * (1 - (1 - f)*s),\n r = 256,\n g = 256,\n b = 256;\n\n switch(h_i) {\n case 0: r = v; g = t; b = p; break;\n case 1: r = q; g = v; b = p; break;\n case 2: r = p; g = v; b = t; break;\n case 3: r = p; g = q; b = v; break;\n case 4: r = t; g = p; b = v; break;\n case 5: r = v; g = p; b = q; break;\n }\n\n var result = [Math.floor(r*255), Math.floor(g*255), Math.floor(b*255)];\n return result;\n }\n\n function HexToHSB (hex) {\n hex = hex.replace(/^#/, '');\n hex = hex.length === 3 ? hex.replace(/(.)/g, '$1$1') : hex;\n\n var red = parseInt(hex.substr(0, 2), 16) / 255,\n green = parseInt(hex.substr(2, 2), 16) / 255,\n blue = parseInt(hex.substr(4, 2), 16) / 255;\n\n var cMax = Math.max(red, green, blue),\n delta = cMax - Math.min(red, green, blue),\n saturation = cMax ? (delta / cMax) : 0;\n\n switch (cMax) {\n case red: return [ 60 * (((green - blue) / delta) % 6) || 0, saturation, cMax ];\n case green: return [ 60 * (((blue - red) / delta) + 2) || 0, saturation, cMax ];\n case blue: return [ 60 * (((red - green) / delta) + 4) || 0, saturation, cMax ];\n }\n }\n\n function HSVtoHSL (hsv) {\n var h = hsv[0],\n s = hsv[1]/100,\n v = hsv[2]/100,\n k = (2-s)*v;\n\n return [\n h,\n Math.round(s*v / (k<1 ? k : 2-k) * 10000) / 100,\n k/2 * 100\n ];\n }\n\n function stringToInteger (string) {\n var total = 0\n for (var i = 0; i !== string.length; i++) {\n if (total >= Number.MAX_SAFE_INTEGER) break;\n total += string.charCodeAt(i)\n }\n return total\n }\n\n // get The range of given hue when options.count!=0\n function getRealHueRange(colorHue)\n { if (!isNaN(colorHue)) {\n var number = parseInt(colorHue);\n\n if (number < 360 && number > 0) {\n return getColorInfo(colorHue).hueRange\n }\n }\n else if (typeof colorHue === 'string') {\n\n if (colorDictionary[colorHue]) {\n var color = colorDictionary[colorHue];\n\n if (color.hueRange) {\n return color.hueRange\n }\n } else if (colorHue.match(/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i)) {\n var hue = HexToHSB(colorHue)[0]\n return getColorInfo(hue).hueRange\n }\n }\n\n return [0,360]\n}\n return randomColor;\n}));\n","import Color from \"color\";\nimport randomColor from \"randomcolor\";\nimport { useCallback, useEffect, useState } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport { useSearchParams } from \"react-router-dom\";\nimport * as yorkie from \"yorkie-js-sdk\";\nimport { selectAuth } from \"../store/authSlice\";\nimport { CodePairDocType } from \"../store/editorSlice\";\nimport { YorkieCodeMirrorDocType, YorkieCodeMirrorPresenceType } from \"../utils/yorkie/yorkieSync\";\n\nconst YORKIE_API_ADDR = import.meta.env.VITE_YORKIE_API_ADDR;\nconst YORKIE_API_KEY = import.meta.env.VITE_YORKIE_API_KEY;\n\nyorkie.setLogLevel(4);\n\nexport const useYorkieDocument = (\n\tyorkieDocumentId?: string | null,\n\tpresenceName?: string | null\n) => {\n\tconst [searchParams] = useSearchParams();\n\tconst authStore = useSelector(selectAuth);\n\tconst [client, setClient] = useState(null);\n\tconst [doc, setDoc] = useState(null);\n\n\tconst getYorkieToken = useCallback(() => {\n\t\tconst shareToken = searchParams.get(\"token\");\n\t\treturn shareToken ? `share:${shareToken}` : `default:${authStore.accessToken}`;\n\t}, [authStore.accessToken, searchParams]);\n\n\tconst createYorkieClient = useCallback(\n\t\tasync (yorkieToken: string) => {\n\t\t\tconst syncLoopDuration = Number(searchParams.get(\"syncLoopDuration\")) || 200;\n\t\t\tconst newClient = new yorkie.Client(YORKIE_API_ADDR, {\n\t\t\t\tapiKey: YORKIE_API_KEY,\n\t\t\t\ttoken: yorkieToken,\n\t\t\t\tsyncLoopDuration,\n\t\t\t});\n\t\t\tawait newClient.activate();\n\t\t\treturn newClient;\n\t\t},\n\t\t[searchParams]\n\t);\n\n\tconst createYorkieDocument = useCallback(\n\t\t(client: yorkie.Client, yorkieDocumentId: string, presenceName: string) => {\n\t\t\tconst newDocument = new yorkie.Document<\n\t\t\t\tYorkieCodeMirrorDocType,\n\t\t\t\tYorkieCodeMirrorPresenceType\n\t\t\t>(yorkieDocumentId, { enableDevtools: false });\n\t\t\treturn client.attach(newDocument, {\n\t\t\t\tinitialPresence: {\n\t\t\t\t\tname: presenceName,\n\t\t\t\t\tcolor: Color(randomColor()).fade(0.15).toString(),\n\t\t\t\t\tselection: null,\n\t\t\t\t\tcursor: null,\n\t\t\t\t},\n\t\t\t});\n\t\t},\n\t\t[]\n\t);\n\n\tconst cleanUpYorkieDocument = useCallback(async () => {\n\t\tif (!client || !doc) return;\n\n\t\ttry {\n\t\t\tawait client.detach(doc);\n\t\t\tawait client.deactivate();\n\t\t} catch (error) {\n\t\t\tconsole.error(\"Error during Yorkie cleanup:\", error);\n\t\t}\n\t}, [client, doc]);\n\n\tuseEffect(() => {\n\t\tlet mounted = true;\n\t\tif (!yorkieDocumentId || !presenceName || doc || client) return;\n\n\t\tconst initializeYorkie = async () => {\n\t\t\ttry {\n\t\t\t\tconst yorkieToken = getYorkieToken();\n\t\t\t\tconst newClient = await createYorkieClient(yorkieToken);\n\t\t\t\tconst newDoc = await createYorkieDocument(\n\t\t\t\t\tnewClient,\n\t\t\t\t\tyorkieDocumentId,\n\t\t\t\t\tpresenceName\n\t\t\t\t);\n\n\t\t\t\t// Clean up if the component is unmounted before the initialization is done\n\t\t\t\tif (!mounted) {\n\t\t\t\t\tawait newClient.detach(newDoc);\n\t\t\t\t\tawait newClient.deactivate();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tsetClient(newClient);\n\t\t\t\tsetDoc(newDoc);\n\t\t\t\t// Expose the document to the window for debugging purposes\n\t\t\t\twindow.doc = newDoc;\n\t\t\t} catch (error) {\n\t\t\t\tconsole.error(\"Error initializing Yorkie: \", error);\n\t\t\t}\n\t\t};\n\n\t\tinitializeYorkie();\n\n\t\treturn () => {\n\t\t\tmounted = false;\n\t\t};\n\t}, [\n\t\tpresenceName,\n\t\tyorkieDocumentId,\n\t\tdoc,\n\t\tclient,\n\t\tgetYorkieToken,\n\t\tcreateYorkieClient,\n\t\tcreateYorkieDocument,\n\t]);\n\n\tuseEffect(() => {\n\t\treturn () => {\n\t\t\tcleanUpYorkieDocument();\n\t\t};\n\t}, [cleanUpYorkieDocument]);\n\n\treturn { client, doc };\n};\n","import { useEffect } from \"react\";\nimport { setClient, setDoc } from \"../../../store/editorSlice\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { Backdrop, Box, CircularProgress } from \"@mui/material\";\nimport { useParams } from \"react-router-dom\";\nimport { selectUser } from \"../../../store/userSlice\";\nimport { useGetDocumentQuery } from \"../../../hooks/api/workspaceDocument\";\nimport { useGetWorkspaceQuery } from \"../../../hooks/api/workspace\";\nimport DocumentView from \"../../../components/editor/DocumentView\";\nimport { useYorkieDocument } from \"../../../hooks/useYorkieDocument\";\n\nfunction DocumentIndex() {\n\tconst dispatch = useDispatch();\n\tconst params = useParams();\n\n\tconst userStore = useSelector(selectUser);\n\tconst { data: workspace, isLoading: isWorkspaceLoading } = useGetWorkspaceQuery(\n\t\tparams.workspaceSlug\n\t);\n\tconst { data: document, isLoading: isDocumentLoading } = useGetDocumentQuery(\n\t\tworkspace?.id,\n\t\tparams.documentId\n\t);\n\tconst { doc, client } = useYorkieDocument(document?.yorkieDocumentId, userStore.data?.nickname);\n\n\tuseEffect(() => {\n\t\tif (!doc || !client) return;\n\n\t\tdispatch(setDoc(doc));\n\t\tdispatch(setClient(client));\n\n\t\treturn () => {\n\t\t\tdispatch(setDoc(null));\n\t\t\tdispatch(setClient(null));\n\t\t};\n\t}, [dispatch, client, doc]);\n\n\tif (isDocumentLoading || isWorkspaceLoading) {\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t);\n\t}\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\n\t);\n}\n\nexport default DocumentIndex;\n","import { useQuery } from \"@tanstack/react-query\";\nimport axios from \"axios\";\nimport { GetDocumentBySharingTokenResponse } from \"./types/document\";\nimport { useDispatch } from \"react-redux\";\nimport { useEffect } from \"react\";\nimport { setDocumentData } from \"../../store/documentSlice\";\n\nexport const generateGetDocumentBySharingTokenQueryKey = (sharingToken: string) => {\n\treturn [\"documents\", \"share\", sharingToken];\n};\n\nexport const useGetDocumentBySharingTokenQuery = (sharingToken?: string | null) => {\n\tconst dispatch = useDispatch();\n\tconst query = useQuery({\n\t\tqueryKey: generateGetDocumentBySharingTokenQueryKey(sharingToken || \"\"),\n\t\tenabled: Boolean(sharingToken),\n\t\tqueryFn: async () => {\n\t\t\tconst res = await axios.get(\"/documents/share\", {\n\t\t\t\tparams: {\n\t\t\t\t\ttoken: sharingToken,\n\t\t\t\t},\n\t\t\t});\n\t\t\treturn res.data;\n\t\t},\n\t\tmeta: {\n\t\t\terrorMessage: \"This is a non-existent or expired document.\",\n\t\t},\n\t});\n\n\tuseEffect(() => {\n\t\tif (query.data) {\n\t\t\tdispatch(setDocumentData(query.data));\n\t\t}\n\n\t\treturn () => {\n\t\t\tdispatch(setDocumentData(null));\n\t\t};\n\t}, [dispatch, query.data]);\n\n\treturn query;\n};\n","import { Box } from \"@mui/material\";\nimport { useEffect, useMemo } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { Navigate, useLocation, useSearchParams } from \"react-router-dom\";\nimport DocumentView from \"../../../../components/editor/DocumentView\";\nimport { useGetDocumentBySharingTokenQuery } from \"../../../../hooks/api/document\";\nimport { useYorkieDocument } from \"../../../../hooks/useYorkieDocument\";\nimport {\n\tEditorModeType,\n\tsetClient,\n\tsetDoc,\n\tsetMode,\n\tsetShareRole,\n} from \"../../../../store/editorSlice\";\nimport { selectUser } from \"../../../../store/userSlice\";\nimport { ShareRole } from \"../../../../utils/share\";\n\nfunction DocumentShareIndex() {\n\tconst dispatch = useDispatch();\n\tconst location = useLocation();\n\tconst [searchParams] = useSearchParams();\n\tconst userStore = useSelector(selectUser);\n\tconst shareToken = useMemo(() => searchParams.get(\"token\"), [searchParams]);\n\tconst { data: sharedDocument } = useGetDocumentBySharingTokenQuery(shareToken);\n\tconst { doc, client } = useYorkieDocument(\n\t\tsharedDocument?.yorkieDocumentId,\n\t\tuserStore.data?.nickname ?? \"Anonymous\"\n\t);\n\n\tuseEffect(() => {\n\t\tif (!sharedDocument?.role) return;\n\n\t\tdispatch(setShareRole(sharedDocument.role));\n\n\t\tif (sharedDocument.role === ShareRole.READ) {\n\t\t\tdispatch(setMode(EditorModeType.READ));\n\t\t}\n\t}, [dispatch, sharedDocument?.role]);\n\n\tuseEffect(() => {\n\t\tif (!doc || !client) return;\n\n\t\tdispatch(setDoc(doc));\n\t\tdispatch(setClient(client));\n\n\t\treturn () => {\n\t\t\tdispatch(setDoc(null));\n\t\t\tdispatch(setClient(null));\n\t\t};\n\t}, [dispatch, client, doc]);\n\n\tif (!shareToken) return ;\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\n\t);\n}\n\nexport default DocumentShareIndex;\n","import { Backdrop, CircularProgress } from \"@mui/material\";\nimport { useNavigate, useParams } from \"react-router\";\nimport { useJoinWorkspaceMutation } from \"../../../hooks/api/workspace\";\nimport { useEffect } from \"react\";\n\nfunction JoinIndex() {\n\tconst params = useParams();\n\tconst navigate = useNavigate();\n\tconst { mutateAsync: joinWorkspace } = useJoinWorkspaceMutation();\n\n\tuseEffect(() => {\n\t\tif (!params.invitationToken) return;\n\n\t\tjoinWorkspace({ invitationToken: params.invitationToken }).then((data) => {\n\t\t\tnavigate(`/${data.slug}`);\n\t\t});\n\t}, [joinWorkspace, navigate, params.invitationToken]);\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\n\t);\n}\n\nexport default JoinIndex;\n","import { useInfiniteQuery } from \"@tanstack/react-query\";\nimport axios from \"axios\";\nimport { GetWorkspaceUserListResponse } from \"./types/workspaceUser\";\n\nexport const generateGetWorkspaceUserListQueryKey = (workspaceId: string) => {\n\treturn [\"workspaces\", workspaceId, \"users\"];\n};\n\nexport const useGetWorkspaceUserListQuery = (workspaceId?: string) => {\n\treturn useInfiniteQuery({\n\t\tqueryKey: generateGetWorkspaceUserListQueryKey(workspaceId || \"\"),\n\t\tqueryFn: async ({ pageParam }) => {\n\t\t\tconst res = await axios.get(\n\t\t\t\t`/workspaces/${workspaceId}/users`,\n\t\t\t\t{\n\t\t\t\t\tparams: {\n\t\t\t\t\t\tcursor: pageParam,\n\t\t\t\t\t},\n\t\t\t\t}\n\t\t\t);\n\t\t\treturn res.data;\n\t\t},\n\t\tenabled: Boolean(workspaceId),\n\t\tinitialPageParam: undefined,\n\t\tgetPreviousPageParam: (firstPage) => firstPage.cursor ?? undefined,\n\t\tgetNextPageParam: (lastPage) => lastPage.cursor ?? undefined,\n\t});\n};\n","import {\n\tBox,\n\tButton,\n\tFormControl,\n\tIconButton,\n\tModal,\n\tPaper,\n\tStack,\n\tTooltip,\n\tTypography,\n} from \"@mui/material\";\nimport CloseIcon from \"@mui/icons-material/Close\";\nimport { useCreateWorkspaceInvitationTokenMutation } from \"../../hooks/api/workspace\";\nimport { useState } from \"react\";\nimport { FormContainer, SelectElement } from \"react-hook-form-mui\";\nimport { invitationExpiredStringList } from \"../../utils/expire\";\nimport moment, { unitOfTime } from \"moment\";\nimport ContentCopyIcon from \"@mui/icons-material/ContentCopy\";\nimport clipboard from \"clipboardy\";\nimport { useSnackbar } from \"notistack\";\nimport { useSelector } from \"react-redux\";\nimport { selectWorkspace } from \"../../store/workspaceSlice\";\n\ninterface MemberModalProps {\n\topen: boolean;\n\tonClose: () => void;\n}\n\nfunction MemberModal(props: MemberModalProps) {\n\tconst { open, onClose } = props;\n\tconst workspaceStore = useSelector(selectWorkspace);\n\tconst { mutateAsync: createWorkspaceInvitationToken } =\n\t\tuseCreateWorkspaceInvitationTokenMutation(workspaceStore.data?.id || \"\");\n\tconst { enqueueSnackbar } = useSnackbar();\n\tconst [invitationUrl, setInvitationUrl] = useState(null);\n\n\tconst handleCreateInviteUrl = async (data: { expiredString: string }) => {\n\t\tlet addedTime: Date | null;\n\n\t\tif (data.expiredString === invitationExpiredStringList[0]) {\n\t\t\taddedTime = null;\n\t\t} else {\n\t\t\tconst [num, unit] = data.expiredString.split(\" \");\n\t\t\taddedTime = moment()\n\t\t\t\t.add(Number(num), unit as unitOfTime.DurationConstructor)\n\t\t\t\t.toDate();\n\t\t}\n\n\t\tconst { invitationToken } = await createWorkspaceInvitationToken({\n\t\t\texpiredAt: addedTime,\n\t\t});\n\n\t\tsetInvitationUrl(`${window.location.origin}/join/${invitationToken}`);\n\t};\n\n\tconst handleCopyInviteUrl = async () => {\n\t\tif (!invitationUrl) return;\n\n\t\tawait clipboard.write(invitationUrl);\n\t\tenqueueSnackbar(\"URL Copied!\", { variant: \"success\" });\n\t};\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tAdd Members\n\t\t\t\t\t\t\n\t\t\t\t\t\tGenerate and share the link.\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t ({\n\t\t\t\t\t\t\t\t\t\t\t\tid: expiredString,\n\t\t\t\t\t\t\t\t\t\t\t\tlabel: expiredString,\n\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\tsize=\"small\"\n\t\t\t\t\t\t\t\t\t\tsx={{\n\t\t\t\t\t\t\t\t\t\t\twidth: 1,\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tInvite Link\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{invitationUrl ? (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{invitationUrl}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\tNo link has been generated.\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n}\n\nexport default MemberModal;\n","import { useParams } from \"react-router-dom\";\nimport { useGetWorkspaceQuery } from \"../../../hooks/api/workspace\";\nimport {\n\tBox,\n\tButton,\n\tCircularProgress,\n\tContainer,\n\tDivider,\n\tStack,\n\tTable,\n\tTableBody,\n\tTableCell,\n\tTableContainer,\n\tTableHead,\n\tTableRow,\n\tTypography,\n} from \"@mui/material\";\nimport InfiniteScroll from \"react-infinite-scroller\";\nimport { useGetWorkspaceUserListQuery } from \"../../../hooks/api/workspaceUser\";\nimport { useMemo, useState } from \"react\";\nimport AddIcon from \"@mui/icons-material/Add\";\nimport { User } from \"../../../hooks/api/types/user\";\nimport MemberModal from \"../../../components/modals/MemberModal\";\n\nfunction MemberIndex() {\n\tconst params = useParams();\n\tconst { data: workspace } = useGetWorkspaceQuery(params.workspaceSlug);\n\tconst {\n\t\tdata: workspaceUserPageList,\n\t\tfetchNextPage,\n\t\thasNextPage,\n\t} = useGetWorkspaceUserListQuery(workspace?.id);\n\tconst [memberModalOpen, setMemberModalOpen] = useState(false);\n\tconst userList = useMemo(() => {\n\t\treturn (\n\t\t\tworkspaceUserPageList?.pages.reduce((prev, page) => {\n\t\t\t\treturn prev.concat(page.workspaceUsers);\n\t\t\t}, [] as Array) ?? []\n\t\t);\n\t}, [workspaceUserPageList?.pages]);\n\n\tconst handleMemberModalOpen = () => {\n\t\tsetMemberModalOpen((prev) => !prev);\n\t};\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{workspace?.title}{\" \"}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{workspaceUserPageList?.pages[0].workspaceUsers.length}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t\tonClick={handleMemberModalOpen}\n\t\t\t\t\t>\n\t\t\t\t\t\tAdd Members\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t fetchNextPage()}\n\t\t\t\t\t\thasMore={hasNextPage}\n\t\t\t\t\t\tloader={\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\tuseWindow={false}\n\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\twidth: \"100%\",\n\t\t\t\t\t\t}}\n\t\t\t\t\t>\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tName\n\t\t\t\t\t\t\t\t\tRole\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{userList.map((row) => (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{row.nickname}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t-\n\t\t\t\t\t\t\t\t\t\t-\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t\t\n\t\t
\n\t);\n}\n\nexport default MemberIndex;\n","import CodePairError from \"./components/common/CodePairError\";\nimport GuestRoute from \"./components/common/GuestRoute\";\nimport PrivateRoute from \"./components/common/PrivateRoute\";\nimport DocumentLayout from \"./components/layouts/DocumentLayout\";\nimport MainLayout from \"./components/layouts/MainLayout\";\nimport SettingLayout from \"./components/layouts/SettingLayout\";\nimport WorkspaceLayout from \"./components/layouts/WorkspaceLayout\";\nimport Index from \"./pages/Index\";\nimport CallbackIndex from \"./pages/auth/callback/Index\";\nimport NotFound from \"./pages/error\";\nimport ProfileIndex from \"./pages/settings/profile/Index\";\nimport WorkspaceIndex from \"./pages/workspace/Index\";\nimport DocumentIndex from \"./pages/workspace/document/Index\";\nimport DocumentShareIndex from \"./pages/workspace/document/share/Index\";\nimport JoinIndex from \"./pages/workspace/join/Index\";\nimport MemberIndex from \"./pages/workspace/member/Index\";\n\ninterface CodePairRoute {\n\tpath: string;\n\taccessType?: AccessType;\n\telement: JSX.Element;\n\terrorElement?: JSX.Element;\n\tchildren?: {\n\t\tpath: string;\n\t\telement: JSX.Element;\n\t\taccessType?: AccessType;\n\t}[];\n}\n\nconst enum AccessType {\n\tPUBLIC, // Everyone can access (Default)\n\tPRIVATE, // Authorized user can access only\n\tGUEST, // Not authorized user can access only\n}\n\nconst codePairRoutes: Array = [\n\t{\n\t\tpath: \"\",\n\t\taccessType: AccessType.GUEST,\n\t\telement: ,\n\t\tchildren: [\n\t\t\t{\n\t\t\t\tpath: \"\",\n\t\t\t\telement: ,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tpath: \":workspaceSlug\",\n\t\taccessType: AccessType.PRIVATE,\n\t\telement: ,\n\t\tchildren: [\n\t\t\t{\n\t\t\t\tpath: \"\",\n\t\t\t\telement: ,\n\t\t\t},\n\t\t\t{\n\t\t\t\tpath: \"member\",\n\t\t\t\telement: ,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tpath: \":workspaceSlug\",\n\t\telement: ,\n\t\tchildren: [\n\t\t\t{\n\t\t\t\tpath: \":documentId\",\n\t\t\t\taccessType: AccessType.PRIVATE,\n\t\t\t\telement: ,\n\t\t\t},\n\t\t\t{\n\t\t\t\tpath: \":documentId/share\",\n\t\t\t\taccessType: AccessType.PUBLIC,\n\t\t\t\telement: ,\n\t\t\t},\n\t\t],\n\t},\n\t{\n\t\tpath: \"auth/callback\",\n\t\taccessType: AccessType.GUEST,\n\t\telement: ,\n\t},\n\t{\n\t\tpath: \"join/:invitationToken\",\n\t\taccessType: AccessType.PRIVATE,\n\t\telement: ,\n\t},\n\t{\n\t\tpath: \"/404\",\n\t\taccessType: AccessType.PUBLIC,\n\t\telement: ,\n\t},\n\t{\n\t\tpath: \"settings/profile\",\n\t\taccessType: AccessType.PRIVATE,\n\t\telement: ,\n\t\tchildren: [\n\t\t\t{\n\t\t\t\tpath: \"\",\n\t\t\t\telement: ,\n\t\t\t},\n\t\t],\n\t},\n];\n\nconst injectProtectedRoute = (routes: Array) => {\n\tconst injectProtectedComp = (route: CodePairRoute) => {\n\t\tif (route.accessType === AccessType.PRIVATE) {\n\t\t\troute.element = {route.element};\n\t\t} else if (route.accessType === AccessType.GUEST) {\n\t\t\troute.element = {route.element};\n\t\t}\n\n\t\treturn route;\n\t};\n\n\treturn routes.map((route) => {\n\t\troute = injectProtectedComp(route);\n\n\t\tif (route?.children) {\n\t\t\troute.children = route.children.map((route) => injectProtectedComp(route));\n\t\t}\n\n\t\troute.errorElement = ;\n\n\t\treturn route;\n\t});\n};\n\nexport const routes = injectProtectedRoute(codePairRoutes);\n","import { AxiosError } from \"axios\";\n\nexport const isAxios404Error = (error: unknown): boolean => {\n\treturn error instanceof AxiosError && error.response?.status === 404;\n};\n\nexport const isAxios500Error = (error: unknown): boolean => {\n\treturn error instanceof AxiosError && error.response?.status === 500;\n};\n","import \"@fontsource/roboto/300.css\";\nimport \"@fontsource/roboto/400.css\";\nimport \"@fontsource/roboto/500.css\";\nimport \"@fontsource/roboto/700.css\";\nimport { Box, CssBaseline, ThemeProvider, createTheme, useMediaQuery } from \"@mui/material\";\nimport * as Sentry from \"@sentry/react\";\nimport { QueryCache, QueryClient, QueryClientProvider } from \"@tanstack/react-query\";\nimport axios from \"axios\";\nimport { useEffect, useMemo } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport {\n\tRouterProvider,\n\tcreateBrowserRouter,\n\tcreateRoutesFromChildren,\n\tmatchRoutes,\n\tuseLocation,\n\tuseNavigationType,\n} from \"react-router-dom\";\nimport \"./App.css\";\nimport { useGetSettingsQuery } from \"./hooks/api/settings\";\nimport { useErrorHandler } from \"./hooks/useErrorHandler\";\nimport AuthProvider from \"./providers/AuthProvider\";\nimport { routes } from \"./routes\";\nimport { selectConfig } from \"./store/configSlice\";\nimport { isAxios404Error, isAxios500Error } from \"./utils/axios.default\";\n\nif (import.meta.env.PROD) {\n\tSentry.init({\n\t\tdsn: `${import.meta.env.VITE_APP_SENTRY_DSN}`,\n\t\trelease: `codepair@${import.meta.env.PACKAGE_VERSION}`,\n\t\tintegrations: [\n\t\t\tnew Sentry.BrowserTracing({\n\t\t\t\troutingInstrumentation: Sentry.reactRouterV6Instrumentation(\n\t\t\t\t\tuseEffect,\n\t\t\t\t\tuseLocation,\n\t\t\t\t\tuseNavigationType,\n\t\t\t\t\tcreateRoutesFromChildren,\n\t\t\t\t\tmatchRoutes\n\t\t\t\t),\n\t\t\t}),\n\t\t],\n\n\t\t// Set tracesSampleRate to 1.0 to capture 100%\n\t\t// of transactions for performance monitoring.\n\t\t// We recommend adjusting this value in production\n\t\ttracesSampleRate: 1.0,\n\t});\n}\n\nconst router = createBrowserRouter(routes);\n\naxios.defaults.baseURL = import.meta.env.VITE_API_ADDR;\n\nfunction SettingLoader() {\n\tuseGetSettingsQuery();\n\treturn null;\n}\n\nfunction App() {\n\tconst config = useSelector(selectConfig);\n\tconst prefersDarkMode = useMediaQuery(\"(prefers-color-scheme: dark)\");\n\tconst theme = useMemo(() => {\n\t\tconst defaultMode = prefersDarkMode ? \"dark\" : \"light\";\n\n\t\treturn createTheme({\n\t\t\ttypography: {\n\t\t\t\tbutton: {\n\t\t\t\t\ttextTransform: \"none\",\n\t\t\t\t},\n\t\t\t},\n\t\t\tpalette: {\n\t\t\t\tmode: config.theme == \"default\" ? defaultMode : config.theme,\n\t\t\t},\n\t\t});\n\t}, [config.theme, prefersDarkMode]);\n\tconst handleError = useErrorHandler();\n\tconst queryClient = useMemo(() => {\n\t\treturn new QueryClient({\n\t\t\tqueryCache: new QueryCache({\n\t\t\t\tonError: (error) => {\n\t\t\t\t\tif (isAxios404Error(error)) {\n\t\t\t\t\t\twindow.location.href = \"/404\";\n\t\t\t\t\t} else if (isAxios500Error(error)) {\n\t\t\t\t\t\twindow.location.href = \"/404\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\thandleError(error);\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t}),\n\t\t\tdefaultOptions: {\n\t\t\t\tqueries: {\n\t\t\t\t\tretry: (failureCount, error) => {\n\t\t\t\t\t\tif (axios.isAxiosError(error) && error.response?.status === 401) {\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn failureCount < 3;\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tmutations: {\n\t\t\t\t\tonError: handleError,\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t}, [handleError]);\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n}\n\nexport default App;\n","\"use strict\";\n\nexports.__esModule = true;\nexports.default = getStorage;\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction noop() {}\n\nvar noopStorage = {\n getItem: noop,\n setItem: noop,\n removeItem: noop\n};\n\nfunction hasStorage(storageType) {\n if ((typeof self === \"undefined\" ? \"undefined\" : _typeof(self)) !== 'object' || !(storageType in self)) {\n return false;\n }\n\n try {\n var storage = self[storageType];\n var testKey = \"redux-persist \".concat(storageType, \" test\");\n storage.setItem(testKey, 'test');\n storage.getItem(testKey);\n storage.removeItem(testKey);\n } catch (e) {\n if (process.env.NODE_ENV !== 'production') console.warn(\"redux-persist \".concat(storageType, \" test failed, persistence will be disabled.\"));\n return false;\n }\n\n return true;\n}\n\nfunction getStorage(type) {\n var storageType = \"\".concat(type, \"Storage\");\n if (hasStorage(storageType)) return self[storageType];else {\n if (process.env.NODE_ENV !== 'production') {\n console.error(\"redux-persist failed to create sync storage. falling back to noop storage.\");\n }\n\n return noopStorage;\n }\n}","\"use strict\";\n\nexports.__esModule = true;\nexports.default = createWebStorage;\n\nvar _getStorage = _interopRequireDefault(require(\"./getStorage\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction createWebStorage(type) {\n var storage = (0, _getStorage.default)(type);\n return {\n getItem: function getItem(key) {\n return new Promise(function (resolve, reject) {\n resolve(storage.getItem(key));\n });\n },\n setItem: function setItem(key, item) {\n return new Promise(function (resolve, reject) {\n resolve(storage.setItem(key, item));\n });\n },\n removeItem: function removeItem(key) {\n return new Promise(function (resolve, reject) {\n resolve(storage.removeItem(key));\n });\n }\n };\n}","\"use strict\";\n\nexports.__esModule = true;\nexports.default = void 0;\n\nvar _createWebStorage = _interopRequireDefault(require(\"./createWebStorage\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar _default = (0, _createWebStorage.default)('local');\n\nexports.default = _default;","export var KEY_PREFIX = 'persist:';\nexport var FLUSH = 'persist/FLUSH';\nexport var REHYDRATE = 'persist/REHYDRATE';\nexport var PAUSE = 'persist/PAUSE';\nexport var PERSIST = 'persist/PERSIST';\nexport var PURGE = 'persist/PURGE';\nexport var REGISTER = 'persist/REGISTER';\nexport var DEFAULT_VERSION = -1;","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/*\n autoMergeLevel1: \n - merges 1 level of substate\n - skips substate if already modified\n*/\nexport default function autoMergeLevel1(inboundState, originalState, reducedState, _ref) {\n var debug = _ref.debug;\n\n var newState = _objectSpread({}, reducedState); // only rehydrate if inboundState exists and is an object\n\n\n if (inboundState && _typeof(inboundState) === 'object') {\n Object.keys(inboundState).forEach(function (key) {\n // ignore _persist data\n if (key === '_persist') return; // if reducer modifies substate, skip auto rehydration\n\n if (originalState[key] !== reducedState[key]) {\n if (process.env.NODE_ENV !== 'production' && debug) console.log('redux-persist/stateReconciler: sub state for key `%s` modified, skipping.', key);\n return;\n } // otherwise hard set the new value\n\n\n newState[key] = inboundState[key];\n });\n }\n\n if (process.env.NODE_ENV !== 'production' && debug && inboundState && _typeof(inboundState) === 'object') console.log(\"redux-persist/stateReconciler: rehydrated keys '\".concat(Object.keys(inboundState).join(', '), \"'\"));\n return newState;\n}","import { KEY_PREFIX, REHYDRATE } from './constants';\n// @TODO remove once flow < 0.63 support is no longer required.\nexport default function createPersistoid(config) {\n // defaults\n var blacklist = config.blacklist || null;\n var whitelist = config.whitelist || null;\n var transforms = config.transforms || [];\n var throttle = config.throttle || 0;\n var storageKey = \"\".concat(config.keyPrefix !== undefined ? config.keyPrefix : KEY_PREFIX).concat(config.key);\n var storage = config.storage;\n var serialize;\n\n if (config.serialize === false) {\n serialize = function serialize(x) {\n return x;\n };\n } else if (typeof config.serialize === 'function') {\n serialize = config.serialize;\n } else {\n serialize = defaultSerialize;\n }\n\n var writeFailHandler = config.writeFailHandler || null; // initialize stateful values\n\n var lastState = {};\n var stagedState = {};\n var keysToProcess = [];\n var timeIterator = null;\n var writePromise = null;\n\n var update = function update(state) {\n // add any changed keys to the queue\n Object.keys(state).forEach(function (key) {\n if (!passWhitelistBlacklist(key)) return; // is keyspace ignored? noop\n\n if (lastState[key] === state[key]) return; // value unchanged? noop\n\n if (keysToProcess.indexOf(key) !== -1) return; // is key already queued? noop\n\n keysToProcess.push(key); // add key to queue\n }); //if any key is missing in the new state which was present in the lastState,\n //add it for processing too\n\n Object.keys(lastState).forEach(function (key) {\n if (state[key] === undefined && passWhitelistBlacklist(key) && keysToProcess.indexOf(key) === -1 && lastState[key] !== undefined) {\n keysToProcess.push(key);\n }\n }); // start the time iterator if not running (read: throttle)\n\n if (timeIterator === null) {\n timeIterator = setInterval(processNextKey, throttle);\n }\n\n lastState = state;\n };\n\n function processNextKey() {\n if (keysToProcess.length === 0) {\n if (timeIterator) clearInterval(timeIterator);\n timeIterator = null;\n return;\n }\n\n var key = keysToProcess.shift();\n var endState = transforms.reduce(function (subState, transformer) {\n return transformer.in(subState, key, lastState);\n }, lastState[key]);\n\n if (endState !== undefined) {\n try {\n stagedState[key] = serialize(endState);\n } catch (err) {\n console.error('redux-persist/createPersistoid: error serializing state', err);\n }\n } else {\n //if the endState is undefined, no need to persist the existing serialized content\n delete stagedState[key];\n }\n\n if (keysToProcess.length === 0) {\n writeStagedState();\n }\n }\n\n function writeStagedState() {\n // cleanup any removed keys just before write.\n Object.keys(stagedState).forEach(function (key) {\n if (lastState[key] === undefined) {\n delete stagedState[key];\n }\n });\n writePromise = storage.setItem(storageKey, serialize(stagedState)).catch(onWriteFail);\n }\n\n function passWhitelistBlacklist(key) {\n if (whitelist && whitelist.indexOf(key) === -1 && key !== '_persist') return false;\n if (blacklist && blacklist.indexOf(key) !== -1) return false;\n return true;\n }\n\n function onWriteFail(err) {\n // @TODO add fail handlers (typically storage full)\n if (writeFailHandler) writeFailHandler(err);\n\n if (err && process.env.NODE_ENV !== 'production') {\n console.error('Error storing data', err);\n }\n }\n\n var flush = function flush() {\n while (keysToProcess.length !== 0) {\n processNextKey();\n }\n\n return writePromise || Promise.resolve();\n }; // return `persistoid`\n\n\n return {\n update: update,\n flush: flush\n };\n} // @NOTE in the future this may be exposed via config\n\nfunction defaultSerialize(data) {\n return JSON.stringify(data);\n}","import { KEY_PREFIX } from './constants';\nexport default function getStoredState(config) {\n var transforms = config.transforms || [];\n var storageKey = \"\".concat(config.keyPrefix !== undefined ? config.keyPrefix : KEY_PREFIX).concat(config.key);\n var storage = config.storage;\n var debug = config.debug;\n var deserialize;\n\n if (config.deserialize === false) {\n deserialize = function deserialize(x) {\n return x;\n };\n } else if (typeof config.deserialize === 'function') {\n deserialize = config.deserialize;\n } else {\n deserialize = defaultDeserialize;\n }\n\n return storage.getItem(storageKey).then(function (serialized) {\n if (!serialized) return undefined;else {\n try {\n var state = {};\n var rawState = deserialize(serialized);\n Object.keys(rawState).forEach(function (key) {\n state[key] = transforms.reduceRight(function (subState, transformer) {\n return transformer.out(subState, key, rawState);\n }, deserialize(rawState[key]));\n });\n return state;\n } catch (err) {\n if (process.env.NODE_ENV !== 'production' && debug) console.log(\"redux-persist/getStoredState: Error restoring data \".concat(serialized), err);\n throw err;\n }\n }\n });\n}\n\nfunction defaultDeserialize(serial) {\n return JSON.parse(serial);\n}","import { KEY_PREFIX } from './constants';\nexport default function purgeStoredState(config) {\n var storage = config.storage;\n var storageKey = \"\".concat(config.keyPrefix !== undefined ? config.keyPrefix : KEY_PREFIX).concat(config.key);\n return storage.removeItem(storageKey, warnIfRemoveError);\n}\n\nfunction warnIfRemoveError(err) {\n if (err && process.env.NODE_ENV !== 'production') {\n console.error('redux-persist/purgeStoredState: Error purging data stored state', err);\n }\n}","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport { FLUSH, PAUSE, PERSIST, PURGE, REHYDRATE, DEFAULT_VERSION } from './constants';\nimport autoMergeLevel1 from './stateReconciler/autoMergeLevel1';\nimport createPersistoid from './createPersistoid';\nimport defaultGetStoredState from './getStoredState';\nimport purgeStoredState from './purgeStoredState';\nvar DEFAULT_TIMEOUT = 5000;\n/*\n @TODO add validation / handling for:\n - persisting a reducer which has nested _persist\n - handling actions that fire before reydrate is called\n*/\n\nexport default function persistReducer(config, baseReducer) {\n if (process.env.NODE_ENV !== 'production') {\n if (!config) throw new Error('config is required for persistReducer');\n if (!config.key) throw new Error('key is required in persistor config');\n if (!config.storage) throw new Error(\"redux-persist: config.storage is required. Try using one of the provided storage engines `import storage from 'redux-persist/lib/storage'`\");\n }\n\n var version = config.version !== undefined ? config.version : DEFAULT_VERSION;\n var debug = config.debug || false;\n var stateReconciler = config.stateReconciler === undefined ? autoMergeLevel1 : config.stateReconciler;\n var getStoredState = config.getStoredState || defaultGetStoredState;\n var timeout = config.timeout !== undefined ? config.timeout : DEFAULT_TIMEOUT;\n var _persistoid = null;\n var _purge = false;\n var _paused = true;\n\n var conditionalUpdate = function conditionalUpdate(state) {\n // update the persistoid only if we are rehydrated and not paused\n state._persist.rehydrated && _persistoid && !_paused && _persistoid.update(state);\n return state;\n };\n\n return function (state, action) {\n var _ref = state || {},\n _persist = _ref._persist,\n rest = _objectWithoutProperties(_ref, [\"_persist\"]); // $FlowIgnore need to update State type\n\n\n var restState = rest;\n\n if (action.type === PERSIST) {\n var _sealed = false;\n\n var _rehydrate = function _rehydrate(payload, err) {\n // dev warning if we are already sealed\n if (process.env.NODE_ENV !== 'production' && _sealed) console.error(\"redux-persist: rehydrate for \\\"\".concat(config.key, \"\\\" called after timeout.\"), payload, err); // only rehydrate if we are not already sealed\n\n if (!_sealed) {\n action.rehydrate(config.key, payload, err);\n _sealed = true;\n }\n };\n\n timeout && setTimeout(function () {\n !_sealed && _rehydrate(undefined, new Error(\"redux-persist: persist timed out for persist key \\\"\".concat(config.key, \"\\\"\")));\n }, timeout); // @NOTE PERSIST resumes if paused.\n\n _paused = false; // @NOTE only ever create persistoid once, ensure we call it at least once, even if _persist has already been set\n\n if (!_persistoid) _persistoid = createPersistoid(config); // @NOTE PERSIST can be called multiple times, noop after the first\n\n if (_persist) {\n // We still need to call the base reducer because there might be nested\n // uses of persistReducer which need to be aware of the PERSIST action\n return _objectSpread({}, baseReducer(restState, action), {\n _persist: _persist\n });\n }\n\n if (typeof action.rehydrate !== 'function' || typeof action.register !== 'function') throw new Error('redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.');\n action.register(config.key);\n getStoredState(config).then(function (restoredState) {\n var migrate = config.migrate || function (s, v) {\n return Promise.resolve(s);\n };\n\n migrate(restoredState, version).then(function (migratedState) {\n _rehydrate(migratedState);\n }, function (migrateErr) {\n if (process.env.NODE_ENV !== 'production' && migrateErr) console.error('redux-persist: migration error', migrateErr);\n\n _rehydrate(undefined, migrateErr);\n });\n }, function (err) {\n _rehydrate(undefined, err);\n });\n return _objectSpread({}, baseReducer(restState, action), {\n _persist: {\n version: version,\n rehydrated: false\n }\n });\n } else if (action.type === PURGE) {\n _purge = true;\n action.result(purgeStoredState(config));\n return _objectSpread({}, baseReducer(restState, action), {\n _persist: _persist\n });\n } else if (action.type === FLUSH) {\n action.result(_persistoid && _persistoid.flush());\n return _objectSpread({}, baseReducer(restState, action), {\n _persist: _persist\n });\n } else if (action.type === PAUSE) {\n _paused = true;\n } else if (action.type === REHYDRATE) {\n // noop on restState if purging\n if (_purge) return _objectSpread({}, restState, {\n _persist: _objectSpread({}, _persist, {\n rehydrated: true\n }) // @NOTE if key does not match, will continue to default else below\n\n });\n\n if (action.key === config.key) {\n var reducedState = baseReducer(restState, action);\n var inboundState = action.payload; // only reconcile state if stateReconciler and inboundState are both defined\n\n var reconciledRest = stateReconciler !== false && inboundState !== undefined ? stateReconciler(inboundState, state, reducedState, config) : reducedState;\n\n var _newState = _objectSpread({}, reconciledRest, {\n _persist: _objectSpread({}, _persist, {\n rehydrated: true\n })\n });\n\n return conditionalUpdate(_newState);\n }\n } // if we have not already handled PERSIST, straight passthrough\n\n\n if (!_persist) return baseReducer(state, action); // run base reducer:\n // is state modified ? return original : return updated\n\n var newState = baseReducer(restState, action);\n if (newState === restState) return state;\n return conditionalUpdate(_objectSpread({}, newState, {\n _persist: _persist\n }));\n };\n}","function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { createStore } from 'redux';\nimport { FLUSH, PAUSE, PERSIST, PURGE, REGISTER, REHYDRATE } from './constants';\nvar initialState = {\n registry: [],\n bootstrapped: false\n};\n\nvar persistorReducer = function persistorReducer() {\n var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState;\n var action = arguments.length > 1 ? arguments[1] : undefined;\n\n switch (action.type) {\n case REGISTER:\n return _objectSpread({}, state, {\n registry: [].concat(_toConsumableArray(state.registry), [action.key])\n });\n\n case REHYDRATE:\n var firstIndex = state.registry.indexOf(action.key);\n\n var registry = _toConsumableArray(state.registry);\n\n registry.splice(firstIndex, 1);\n return _objectSpread({}, state, {\n registry: registry,\n bootstrapped: registry.length === 0\n });\n\n default:\n return state;\n }\n};\n\nexport default function persistStore(store, options, cb) {\n // help catch incorrect usage of passing PersistConfig in as PersistorOptions\n if (process.env.NODE_ENV !== 'production') {\n var optionsToTest = options || {};\n var bannedKeys = ['blacklist', 'whitelist', 'transforms', 'storage', 'keyPrefix', 'migrate'];\n bannedKeys.forEach(function (k) {\n if (!!optionsToTest[k]) console.error(\"redux-persist: invalid option passed to persistStore: \\\"\".concat(k, \"\\\". You may be incorrectly passing persistConfig into persistStore, whereas it should be passed into persistReducer.\"));\n });\n }\n\n var boostrappedCb = cb || false;\n\n var _pStore = createStore(persistorReducer, initialState, options && options.enhancer ? options.enhancer : undefined);\n\n var register = function register(key) {\n _pStore.dispatch({\n type: REGISTER,\n key: key\n });\n };\n\n var rehydrate = function rehydrate(key, payload, err) {\n var rehydrateAction = {\n type: REHYDRATE,\n payload: payload,\n err: err,\n key: key // dispatch to `store` to rehydrate and `persistor` to track result\n\n };\n store.dispatch(rehydrateAction);\n\n _pStore.dispatch(rehydrateAction);\n\n if (boostrappedCb && persistor.getState().bootstrapped) {\n boostrappedCb();\n boostrappedCb = false;\n }\n };\n\n var persistor = _objectSpread({}, _pStore, {\n purge: function purge() {\n var results = [];\n store.dispatch({\n type: PURGE,\n result: function result(purgeResult) {\n results.push(purgeResult);\n }\n });\n return Promise.all(results);\n },\n flush: function flush() {\n var results = [];\n store.dispatch({\n type: FLUSH,\n result: function result(flushResult) {\n results.push(flushResult);\n }\n });\n return Promise.all(results);\n },\n pause: function pause() {\n store.dispatch({\n type: PAUSE\n });\n },\n persist: function persist() {\n store.dispatch({\n type: PERSIST,\n register: register,\n rehydrate: rehydrate\n });\n }\n });\n\n if (!(options && options.manualPersist)) {\n persistor.persist();\n }\n\n return persistor;\n}","import { combineReducers, configureStore } from \"@reduxjs/toolkit\";\nimport editorSlice from \"./editorSlice\";\nimport configSlice from \"./configSlice\";\nimport storage from \"redux-persist/lib/storage\";\nimport { persistReducer } from \"redux-persist\";\nimport authSlice from \"./authSlice\";\nimport userSlice from \"./userSlice\";\nimport workspaceSlice from \"./workspaceSlice\";\nimport documentSlice from \"./documentSlice\";\nimport settingSlice from \"./settingSlice\";\n\nconst reducers = combineReducers({\n\t// Persistence\n\tauth: authSlice,\n\tconfig: configSlice,\n\t// Volatile\n\tuser: userSlice,\n\teditor: editorSlice,\n\tworkspace: workspaceSlice,\n\tdocument: documentSlice,\n\tsetting: settingSlice,\n});\n\nconst persistConfig = {\n\tkey: \"root\",\n\tstorage, // Local Storage\n\twhitelist: [\"auth\", \"config\"],\n};\n\nconst persistedReducer = persistReducer(persistConfig, reducers);\n\nexport const store = configureStore({\n\treducer: persistedReducer,\n\tmiddleware: (getDefaultMiddleware) =>\n\t\tgetDefaultMiddleware({\n\t\t\tserializableCheck: {\n\t\t\t\tignoredActions: [\n\t\t\t\t\t\"persist/PERSIST\", // redux-persist\n\t\t\t\t\t\"editor/setDoc\",\n\t\t\t\t\t\"editor/setClient\",\n\t\t\t\t\t\"editor/setCmView\",\n\t\t\t\t],\n\t\t\t\tignoredPaths: [\"editor.doc\", \"editor.client\", \"editor.cmView\"],\n\t\t\t},\n\t\t\timmutableCheck: {\n\t\t\t\tignoredPaths: [\"editor.doc\", \"editor.client\", \"editor.cmView\"],\n\t\t\t},\n\t\t}),\n});\n\nexport type RootState = ReturnType;\nexport type AppDispatch = typeof store.dispatch;\n","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport React, { PureComponent } from 'react'; // eslint-disable-line import/no-unresolved\n\nexport var PersistGate =\n/*#__PURE__*/\nfunction (_PureComponent) {\n _inherits(PersistGate, _PureComponent);\n\n function PersistGate() {\n var _getPrototypeOf2;\n\n var _this;\n\n _classCallCheck(this, PersistGate);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(PersistGate)).call.apply(_getPrototypeOf2, [this].concat(args)));\n\n _defineProperty(_assertThisInitialized(_this), \"state\", {\n bootstrapped: false\n });\n\n _defineProperty(_assertThisInitialized(_this), \"_unsubscribe\", void 0);\n\n _defineProperty(_assertThisInitialized(_this), \"handlePersistorState\", function () {\n var persistor = _this.props.persistor;\n\n var _persistor$getState = persistor.getState(),\n bootstrapped = _persistor$getState.bootstrapped;\n\n if (bootstrapped) {\n if (_this.props.onBeforeLift) {\n Promise.resolve(_this.props.onBeforeLift()).finally(function () {\n return _this.setState({\n bootstrapped: true\n });\n });\n } else {\n _this.setState({\n bootstrapped: true\n });\n }\n\n _this._unsubscribe && _this._unsubscribe();\n }\n });\n\n return _this;\n }\n\n _createClass(PersistGate, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this._unsubscribe = this.props.persistor.subscribe(this.handlePersistorState);\n this.handlePersistorState();\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this._unsubscribe && this._unsubscribe();\n }\n }, {\n key: \"render\",\n value: function render() {\n if (process.env.NODE_ENV !== 'production') {\n if (typeof this.props.children === 'function' && this.props.loading) console.error('redux-persist: PersistGate expects either a function child or loading prop, but not both. The loading prop will be ignored.');\n }\n\n if (typeof this.props.children === 'function') {\n return this.props.children(this.state.bootstrapped);\n }\n\n return this.state.bootstrapped ? this.props.children : this.props.loading;\n }\n }]);\n\n return PersistGate;\n}(PureComponent);\n\n_defineProperty(PersistGate, \"defaultProps\", {\n children: null,\n loading: null\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\nvar gtag = function gtag() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n if (typeof window !== \"undefined\") {\n var _window;\n if (typeof window.gtag === \"undefined\") {\n window.dataLayer = window.dataLayer || [];\n window.gtag = function gtag() {\n window.dataLayer.push(arguments);\n };\n }\n (_window = window).gtag.apply(_window, args);\n }\n};\nvar _default = gtag;\nexports[\"default\"] = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = format;\nvar smallWords = /^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\\.?|via)$/i;\nfunction toTitleCase(string) {\n return string.toString().trim().replace(/[A-Za-z0-9\\u00C0-\\u00FF]+[^\\s-]*/g, function (match, index, title) {\n if (index > 0 && index + match.length !== title.length && match.search(smallWords) > -1 && title.charAt(index - 2) !== \":\" && (title.charAt(index + match.length) !== \"-\" || title.charAt(index - 1) === \"-\") && title.charAt(index - 1).search(/[^\\s-]/) < 0) {\n return match.toLowerCase();\n }\n if (match.substr(1).search(/[A-Z]|\\../) > -1) {\n return match;\n }\n return match.charAt(0).toUpperCase() + match.substr(1);\n });\n}\n\n// See if s could be an email address. We don't want to send personal data like email.\n// https://support.google.com/analytics/answer/2795983?hl=en\nfunction mightBeEmail(s) {\n // There's no point trying to validate rfc822 fully, just look for ...@...\n return typeof s === \"string\" && s.indexOf(\"@\") !== -1;\n}\nvar redacted = \"REDACTED (Potential Email Address)\";\nfunction redactEmail(string) {\n if (mightBeEmail(string)) {\n console.warn(\"This arg looks like an email address, redacting.\");\n return redacted;\n }\n return string;\n}\nfunction format() {\n var s = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"\";\n var titleCase = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n var redactingEmail = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n var _str = s || \"\";\n if (titleCase) {\n _str = toTitleCase(s);\n }\n if (redactingEmail) {\n _str = redactEmail(_str);\n }\n return _str;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = exports.GA4 = void 0;\nvar _gtag = _interopRequireDefault(require(\"./gtag\"));\nvar _format = _interopRequireDefault(require(\"./format\"));\nvar _excluded = [\"eventCategory\", \"eventAction\", \"eventLabel\", \"eventValue\", \"hitType\"],\n _excluded2 = [\"title\", \"location\"],\n _excluded3 = [\"page\", \"hitType\"];\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n/*\nLinks\nhttps://developers.google.com/gtagjs/reference/api\nhttps://developers.google.com/tag-platform/gtagjs/reference\n*/\n/**\n * @typedef GaOptions\n * @type {Object}\n * @property {boolean} [cookieUpdate=true]\n * @property {number} [cookieExpires=63072000] Default two years\n * @property {string} [cookieDomain=\"auto\"]\n * @property {string} [cookieFlags]\n * @property {string} [userId]\n * @property {string} [clientId]\n * @property {boolean} [anonymizeIp]\n * @property {string} [contentGroup1]\n * @property {string} [contentGroup2]\n * @property {string} [contentGroup3]\n * @property {string} [contentGroup4]\n * @property {string} [contentGroup5]\n * @property {boolean} [allowAdFeatures=true]\n * @property {boolean} [allowAdPersonalizationSignals]\n * @property {boolean} [nonInteraction]\n * @property {string} [page]\n */\n/**\n * @typedef UaEventOptions\n * @type {Object}\n * @property {string} action\n * @property {string} category\n * @property {string} [label]\n * @property {number} [value]\n * @property {boolean} [nonInteraction]\n * @property {('beacon'|'xhr'|'image')} [transport]\n */\n/**\n * @typedef InitOptions\n * @type {Object}\n * @property {string} trackingId\n * @property {GaOptions|any} [gaOptions]\n * @property {Object} [gtagOptions] New parameter\n */\nvar GA4 = /*#__PURE__*/function () {\n function GA4() {\n var _this = this;\n _classCallCheck(this, GA4);\n _defineProperty(this, \"reset\", function () {\n _this.isInitialized = false;\n _this._testMode = false;\n _this._currentMeasurementId;\n _this._hasLoadedGA = false;\n _this._isQueuing = false;\n _this._queueGtag = [];\n });\n _defineProperty(this, \"_gtag\", function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n if (!_this._testMode) {\n if (_this._isQueuing) {\n _this._queueGtag.push(args);\n } else {\n _gtag[\"default\"].apply(void 0, args);\n }\n } else {\n _this._queueGtag.push(args);\n }\n });\n _defineProperty(this, \"_loadGA\", function (GA_MEASUREMENT_ID, nonce) {\n var gtagUrl = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : \"https://www.googletagmanager.com/gtag/js\";\n if (typeof window === \"undefined\" || typeof document === \"undefined\") {\n return;\n }\n if (!_this._hasLoadedGA) {\n // Global Site Tag (gtag.js) - Google Analytics\n var script = document.createElement(\"script\");\n script.async = true;\n script.src = \"\".concat(gtagUrl, \"?id=\").concat(GA_MEASUREMENT_ID);\n if (nonce) {\n script.setAttribute(\"nonce\", nonce);\n }\n document.body.appendChild(script);\n window.dataLayer = window.dataLayer || [];\n window.gtag = function gtag() {\n window.dataLayer.push(arguments);\n };\n _this._hasLoadedGA = true;\n }\n });\n _defineProperty(this, \"_toGtagOptions\", function (gaOptions) {\n if (!gaOptions) {\n return;\n }\n var mapFields = {\n // Old https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#cookieUpdate\n // New https://developers.google.com/analytics/devguides/collection/gtagjs/cookies-user-id#cookie_update\n cookieUpdate: \"cookie_update\",\n cookieExpires: \"cookie_expires\",\n cookieDomain: \"cookie_domain\",\n cookieFlags: \"cookie_flags\",\n // must be in set method?\n userId: \"user_id\",\n clientId: \"client_id\",\n anonymizeIp: \"anonymize_ip\",\n // https://support.google.com/analytics/answer/2853546?hl=en#zippy=%2Cin-this-article\n contentGroup1: \"content_group1\",\n contentGroup2: \"content_group2\",\n contentGroup3: \"content_group3\",\n contentGroup4: \"content_group4\",\n contentGroup5: \"content_group5\",\n // https://support.google.com/analytics/answer/9050852?hl=en\n allowAdFeatures: \"allow_google_signals\",\n allowAdPersonalizationSignals: \"allow_ad_personalization_signals\",\n nonInteraction: \"non_interaction\",\n page: \"page_path\",\n hitCallback: \"event_callback\"\n };\n var gtagOptions = Object.entries(gaOptions).reduce(function (prev, _ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n key = _ref2[0],\n value = _ref2[1];\n if (mapFields[key]) {\n prev[mapFields[key]] = value;\n } else {\n prev[key] = value;\n }\n return prev;\n }, {});\n return gtagOptions;\n });\n _defineProperty(this, \"initialize\", function (GA_MEASUREMENT_ID) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n if (!GA_MEASUREMENT_ID) {\n throw new Error(\"Require GA_MEASUREMENT_ID\");\n }\n var initConfigs = typeof GA_MEASUREMENT_ID === \"string\" ? [{\n trackingId: GA_MEASUREMENT_ID\n }] : GA_MEASUREMENT_ID;\n _this._currentMeasurementId = initConfigs[0].trackingId;\n var gaOptions = options.gaOptions,\n gtagOptions = options.gtagOptions,\n nonce = options.nonce,\n _options$testMode = options.testMode,\n testMode = _options$testMode === void 0 ? false : _options$testMode,\n gtagUrl = options.gtagUrl;\n _this._testMode = testMode;\n if (!testMode) {\n _this._loadGA(_this._currentMeasurementId, nonce, gtagUrl);\n }\n if (!_this.isInitialized) {\n _this._gtag(\"js\", new Date());\n initConfigs.forEach(function (config) {\n var mergedGtagOptions = _objectSpread(_objectSpread(_objectSpread({}, _this._toGtagOptions(_objectSpread(_objectSpread({}, gaOptions), config.gaOptions))), gtagOptions), config.gtagOptions);\n if (Object.keys(mergedGtagOptions).length) {\n _this._gtag(\"config\", config.trackingId, mergedGtagOptions);\n } else {\n _this._gtag(\"config\", config.trackingId);\n }\n });\n }\n _this.isInitialized = true;\n if (!testMode) {\n var queues = _toConsumableArray(_this._queueGtag);\n _this._queueGtag = [];\n _this._isQueuing = false;\n while (queues.length) {\n var queue = queues.shift();\n _this._gtag.apply(_this, _toConsumableArray(queue));\n if (queue[0] === \"get\") {\n _this._isQueuing = true;\n }\n }\n }\n });\n _defineProperty(this, \"set\", function (fieldsObject) {\n if (!fieldsObject) {\n console.warn(\"`fieldsObject` is required in .set()\");\n return;\n }\n if (_typeof(fieldsObject) !== \"object\") {\n console.warn(\"Expected `fieldsObject` arg to be an Object\");\n return;\n }\n if (Object.keys(fieldsObject).length === 0) {\n console.warn(\"empty `fieldsObject` given to .set()\");\n }\n _this._gaCommand(\"set\", fieldsObject);\n });\n _defineProperty(this, \"_gaCommandSendEvent\", function (eventCategory, eventAction, eventLabel, eventValue, fieldsObject) {\n _this._gtag(\"event\", eventAction, _objectSpread(_objectSpread({\n event_category: eventCategory,\n event_label: eventLabel,\n value: eventValue\n }, fieldsObject && {\n non_interaction: fieldsObject.nonInteraction\n }), _this._toGtagOptions(fieldsObject)));\n });\n _defineProperty(this, \"_gaCommandSendEventParameters\", function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n if (typeof args[0] === \"string\") {\n _this._gaCommandSendEvent.apply(_this, _toConsumableArray(args.slice(1)));\n } else {\n var _args$ = args[0],\n eventCategory = _args$.eventCategory,\n eventAction = _args$.eventAction,\n eventLabel = _args$.eventLabel,\n eventValue = _args$.eventValue,\n hitType = _args$.hitType,\n rest = _objectWithoutProperties(_args$, _excluded);\n _this._gaCommandSendEvent(eventCategory, eventAction, eventLabel, eventValue, rest);\n }\n });\n _defineProperty(this, \"_gaCommandSendTiming\", function (timingCategory, timingVar, timingValue, timingLabel) {\n _this._gtag(\"event\", \"timing_complete\", {\n name: timingVar,\n value: timingValue,\n event_category: timingCategory,\n event_label: timingLabel\n });\n });\n _defineProperty(this, \"_gaCommandSendPageview\", function (page, fieldsObject) {\n if (fieldsObject && Object.keys(fieldsObject).length) {\n var _this$_toGtagOptions = _this._toGtagOptions(fieldsObject),\n title = _this$_toGtagOptions.title,\n location = _this$_toGtagOptions.location,\n rest = _objectWithoutProperties(_this$_toGtagOptions, _excluded2);\n _this._gtag(\"event\", \"page_view\", _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, page && {\n page_path: page\n }), title && {\n page_title: title\n }), location && {\n page_location: location\n }), rest));\n } else if (page) {\n _this._gtag(\"event\", \"page_view\", {\n page_path: page\n });\n } else {\n _this._gtag(\"event\", \"page_view\");\n }\n });\n _defineProperty(this, \"_gaCommandSendPageviewParameters\", function () {\n for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n if (typeof args[0] === \"string\") {\n _this._gaCommandSendPageview.apply(_this, _toConsumableArray(args.slice(1)));\n } else {\n var _args$2 = args[0],\n page = _args$2.page,\n hitType = _args$2.hitType,\n rest = _objectWithoutProperties(_args$2, _excluded3);\n _this._gaCommandSendPageview(page, rest);\n }\n });\n _defineProperty(this, \"_gaCommandSend\", function () {\n for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n args[_key4] = arguments[_key4];\n }\n var hitType = typeof args[0] === \"string\" ? args[0] : args[0].hitType;\n switch (hitType) {\n case \"event\":\n _this._gaCommandSendEventParameters.apply(_this, args);\n break;\n case \"pageview\":\n _this._gaCommandSendPageviewParameters.apply(_this, args);\n break;\n case \"timing\":\n _this._gaCommandSendTiming.apply(_this, _toConsumableArray(args.slice(1)));\n break;\n case \"screenview\":\n case \"transaction\":\n case \"item\":\n case \"social\":\n case \"exception\":\n console.warn(\"Unsupported send command: \".concat(hitType));\n break;\n default:\n console.warn(\"Send command doesn't exist: \".concat(hitType));\n }\n });\n _defineProperty(this, \"_gaCommandSet\", function () {\n for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {\n args[_key5] = arguments[_key5];\n }\n if (typeof args[0] === \"string\") {\n args[0] = _defineProperty({}, args[0], args[1]);\n }\n _this._gtag(\"set\", _this._toGtagOptions(args[0]));\n });\n _defineProperty(this, \"_gaCommand\", function (command) {\n for (var _len6 = arguments.length, args = new Array(_len6 > 1 ? _len6 - 1 : 0), _key6 = 1; _key6 < _len6; _key6++) {\n args[_key6 - 1] = arguments[_key6];\n }\n switch (command) {\n case \"send\":\n _this._gaCommandSend.apply(_this, args);\n break;\n case \"set\":\n _this._gaCommandSet.apply(_this, args);\n break;\n default:\n console.warn(\"Command doesn't exist: \".concat(command));\n }\n });\n _defineProperty(this, \"ga\", function () {\n for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {\n args[_key7] = arguments[_key7];\n }\n if (typeof args[0] === \"string\") {\n _this._gaCommand.apply(_this, args);\n } else {\n var readyCallback = args[0];\n _this._gtag(\"get\", _this._currentMeasurementId, \"client_id\", function (clientId) {\n _this._isQueuing = false;\n var queues = _this._queueGtag;\n readyCallback({\n get: function get(property) {\n return property === \"clientId\" ? clientId : property === \"trackingId\" ? _this._currentMeasurementId : property === \"apiVersion\" ? \"1\" : undefined;\n }\n });\n while (queues.length) {\n var queue = queues.shift();\n _this._gtag.apply(_this, _toConsumableArray(queue));\n }\n });\n _this._isQueuing = true;\n }\n return _this.ga;\n });\n _defineProperty(this, \"event\", function (optionsOrName, params) {\n if (typeof optionsOrName === \"string\") {\n _this._gtag(\"event\", optionsOrName, _this._toGtagOptions(params));\n } else {\n var action = optionsOrName.action,\n category = optionsOrName.category,\n label = optionsOrName.label,\n value = optionsOrName.value,\n nonInteraction = optionsOrName.nonInteraction,\n transport = optionsOrName.transport;\n if (!category || !action) {\n console.warn(\"args.category AND args.action are required in event()\");\n return;\n }\n\n // Required Fields\n var fieldObject = {\n hitType: \"event\",\n eventCategory: (0, _format[\"default\"])(category),\n eventAction: (0, _format[\"default\"])(action)\n };\n\n // Optional Fields\n if (label) {\n fieldObject.eventLabel = (0, _format[\"default\"])(label);\n }\n if (typeof value !== \"undefined\") {\n if (typeof value !== \"number\") {\n console.warn(\"Expected `args.value` arg to be a Number.\");\n } else {\n fieldObject.eventValue = value;\n }\n }\n if (typeof nonInteraction !== \"undefined\") {\n if (typeof nonInteraction !== \"boolean\") {\n console.warn(\"`args.nonInteraction` must be a boolean.\");\n } else {\n fieldObject.nonInteraction = nonInteraction;\n }\n }\n if (typeof transport !== \"undefined\") {\n if (typeof transport !== \"string\") {\n console.warn(\"`args.transport` must be a string.\");\n } else {\n if ([\"beacon\", \"xhr\", \"image\"].indexOf(transport) === -1) {\n console.warn(\"`args.transport` must be either one of these values: `beacon`, `xhr` or `image`\");\n }\n fieldObject.transport = transport;\n }\n }\n _this._gaCommand(\"send\", fieldObject);\n }\n });\n _defineProperty(this, \"send\", function (fieldObject) {\n _this._gaCommand(\"send\", fieldObject);\n });\n this.reset();\n }\n _createClass(GA4, [{\n key: \"gtag\",\n value: function gtag() {\n this._gtag.apply(this, arguments);\n }\n }]);\n return GA4;\n}();\nexports.GA4 = GA4;\nvar _default = new GA4();\nexports[\"default\"] = _default;","\"use strict\";\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = exports.ReactGAImplementation = void 0;\nvar _ga = _interopRequireWildcard(require(\"./ga4\"));\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { \"default\": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj[\"default\"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\nvar ReactGAImplementation = _ga.GA4;\nexports.ReactGAImplementation = ReactGAImplementation;\nvar _default = _ga[\"default\"];\nexports[\"default\"] = _default;","import React from \"react\";\nimport ReactDOM from \"react-dom/client\";\nimport \"./index.css\";\nimport App from \"./App\";\nimport { store } from \"./store/store\";\nimport { Provider } from \"react-redux\";\nimport { PersistGate } from \"redux-persist/integration/react\";\nimport { persistStore } from \"redux-persist\";\nimport { SnackbarProvider } from \"notistack\";\nimport ReactGA from \"react-ga4\";\n\nconst trackingCode = `${import.meta.env.VITE_APP_GOOGLE_ANALYTICS}`;\nif (trackingCode) {\n\tReactGA.initialize(trackingCode);\n}\n\nconst persistor = persistStore(store);\n\nReactDOM.createRoot(document.getElementById(\"root\")!).render(\n\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\n);\n"],"names":["l","n","p","q","r","t","u","v","w","x","y","z","A","a","B","C","D","E","b","e","F","G","H","I","J","K","L","M","d","c","k","h","g","f","m","N","O","escape","P","Q","R","S","T","U","V","W","X","react_production_min","reactModule","require$$0","reactJsxRuntime_production_min","jsxRuntimeModule","exports","schedulerModule","aa","ca","require$$1","da","ea","fa","ha","ia","ja","ka","la","ma","oa","pa","qa","ra","sa","ta","ua","va","wa","ya","za","Aa","Ba","Ca","Da","Ea","Fa","Ga","Ha","Ia","Ja","Ka","La","Ma","Na","Oa","Pa","Qa","Ra","Sa","Ta","Ua","Va","Wa","Xa","Ya","Za","ab","bb","cb","db","eb","fb","gb","hb","ib","jb","kb","lb","mb","nb","ob","pb","qb","rb","sb","tb","ub","vb","wb","xb","yb","zb","Ab","Bb","Cb","Db","Eb","Fb","Gb","Hb","Ib","Jb","Kb","Lb","Mb","Nb","Ob","Pb","Qb","Rb","Sb","Tb","Ub","Vb","Wb","Xb","Yb","Zb","$b","ac","bc","cc","dc","ec","fc","gc","hc","ic","jc","kc","lc","mc","oc","nc","pc","qc","rc","sc","tc","uc","vc","wc","xc","yc","zc","Ac","Bc","Cc","Dc","Ec","Fc","Gc","Hc","Ic","Jc","Kc","Lc","Mc","Nc","Oc","Pc","Qc","Rc","Sc","Tc","Uc","Vc","Wc","Xc","Yc","Zc","$c","ad","bd","cd","dd","ed","fd","gd","hd","id","jd","kd","ld","md","nd","od","pd","qd","rd","sd","td","ud","vd","wd","xd","yd","Ad","zd","Bd","Cd","Dd","Ed","Fd","Gd","Hd","Id","Jd","Kd","Ld","Md","Nd","Od","Pd","Qd","Rd","Sd","Td","Ud","Vd","Wd","Xd","Yd","Zd","$d","ae","be","ce","de","ee","fe","ge","he","ie","je","ke","le","me","ne","oe","pe","qe","re","se","te","ue","ve","we","xe","ye","ze","Ae","Be","Ce","De","Ee","Fe","Ge","He","Ie","Je","Ke","Le","Me","Ne","Oe","Pe","Qe","Re","Se","Te","Ue","Ve","We","Xe","Ye","Ze","$e","af","bf","cf","df","ef","ff","gf","hf","jf","kf","lf","mf","nf","of","pf","qf","rf","sf","tf","uf","vf","wf","na","xa","$a","ba","xf","yf","zf","Af","Bf","Cf","Df","Ef","Ff","Gf","Hf","Jf","If","Kf","Lf","Mf","Nf","Of","Pf","Qf","Rf","Sf","Tf","Uf","Vf","Wf","Xf","Yf","Zf","$f","ag","bg","cg","dg","eg","fg","gg","hg","ig","jg","kg","lg","mg","ng","og","pg","qg","rg","sg","tg","ug","vg","wg","xg","yg","zg","Ag","Bg","Cg","Dg","Eg","Fg","Gg","Hg","Ig","Jg","Kg","Lg","Mg","Ng","Og","Pg","Qg","Rg","Sg","Tg","Ug","Vg","Wg","Xg","Yg","Zg","$g","ah","bh","ch","dh","eh","fh","gh","hh","ih","jh","kh","lh","mh","nh","oh","ph","qh","rh","sh","th","uh","vh","wh","xh","yh","zh","Ah","Bh","Ch","Dh","Eh","Fh","Gh","Hh","Ih","Jh","Kh","Lh","Mh","Nh","Oh","Ph","Qh","Rh","Sh","Th","Uh","Vh","Wh","Xh","Yh","Zh","$h","ai","bi","ci","di","ei","fi","gi","hi","ii","ji","ki","li","mi","ni","oi","pi","qi","ri","si","ti","ui","vi","wi","xi","yi","zi","Ai","Bi","Ci","Di","Ei","Fi","Gi","Hi","Ii","Ji","Ki","Li","Mi","Ni","Oi","Pi","Qi","Ri","Si","Ti","Ui","Vi","Wi","Xi","Yi","Zi","$i","aj","bj","cj","dj","ej","fj","gj","hj","ij","jj","kj","lj","mj","nj","oj","pj","qj","rj","sj","tj","uj","vj","wj","xj","yj","zj","Aj","Bj","Cj","Dj","Ej","Fj","Gj","Hj","Ij","Jj","Kj","Lj","Mj","Nj","Oj","Pj","Qj","Rj","Sj","Tj","Uj","Vj","Wj","Xj","Yj","Zj","ak","bk","ck","dk","ek","fk","gk","hk","ik","jk","kk","lk","mk","nk","ok","Y","Z","pk","qk","rk","sk","tk","uk","vk","wk","xk","yk","zk","Ak","Bk","Ck","Dk","Ek","Fk","Gk","Hk","Ik","Jk","Kk","Lk","Mk","Nk","Ok","Pk","Qk","Rk","Sk","Tk","Uk","Vk","Wk","Xk","Yk","Zk","$k","al","bl","cl","dl","el","fl","gl","hl","il","jl","kl","ll","ml","nl","ol","pl","ql","rl","sl","tl","ul","vl","reactDom_production_min","checkDCE","err","reactDomModule","common","red","purple","blue","lightBlue","green","orange","grey","formatMuiErrorMessage","code","url","i","THEME_ID","_extends","memoize","fn","cache","arg","reactPropsRegex","isPropValid","prop","isDevelopment","sheetForTag","tag","createStyleElement","options","StyleSheet","_this","before","_proto","nodes","rule","sheet","_tag$parentNode","MS","MOZ","WEBKIT","COMMENT","RULESET","DECLARATION","IMPORT","KEYFRAMES","LAYER","abs","from","assign","hash","value","length","charat","trim","match","pattern","replace","replacement","indexof","search","index","substr","begin","end","strlen","sizeof","append","array","combine","callback","line","column","position","character","characters","node","root","parent","type","props","children","copy","char","prev","next","peek","caret","slice","token","alloc","dealloc","delimit","delimiter","whitespace","escaping","count","commenter","identifier","compile","parse","rules","rulesets","pseudo","points","declarations","offset","atrule","property","previous","variable","scanning","ampersand","reference","comment","declaration","ruleset","post","size","j","serialize","output","stringify","element","middleware","collection","rulesheet","identifierWithPointTracking","toRules","parsed","getRules","fixedElements","compat","isImplicitRule","parentRules","removeLabel","prefix","prefixer","defaultStylisPlugins","createCache","key","ssrStyles","dataEmotionAttribute","stylisPlugins","inserted","container","nodesToHydrate","attrib","_insert","omnipresentPlugins","currentSheet","finalizingPlugins","serializer","stylis","styles","selector","serialized","shouldCache","reactIs_production_min","reactIsModule","reactIs","FORWARD_REF_STATICS","MEMO_STATICS","TYPE_STATICS","isBrowser","getRegisteredStyles","registered","registeredStyles","classNames","rawClassName","className","registerStyles","isStringTag","insertStyles","current","murmur2","str","len","unitlessKeys","hyphenateRegex","animationRegex","isCustomProperty","isProcessableValue","processStyleName","styleName","processStyleValue","p1","p2","cursor","unitless","noComponentSelectorMessage","handleInterpolation","mergedProps","interpolation","componentSelector","keyframes","serializedStyles","createStringFromObject","previousCursor","result","asString","cached","obj","string","_i","interpolated","labelPattern","serializeStyles","args","stringMode","strings","asTemplateStringsArr","templateStringsArr","identifierName","name","hashString","syncFallback","create","useInsertionEffect","React","useInsertionEffectAlwaysWithSyncFallback","useInsertionEffectWithLayoutFallback","React.useLayoutEffect","EmotionCacheContext","React.createContext","withEmotionCache","func","forwardRef","ref","useContext","ThemeContext","Global","React.useContext","sheetRef","React.useRef","rehydrating","sheetRefCurrent","css","_len","_key","insertable","testOmitPropsOnStringTag","testOmitPropsOnComponent","getDefaultShouldForwardProp","composeShouldForwardProps","isReal","shouldForwardProp","optionsShouldForwardProp","propName","Insertion","_ref","createStyled","baseTag","targetClassName","defaultShouldForwardProp","shouldUseAs","Styled","FinalTag","classInterpolations","finalShouldForwardProp","newProps","React.createElement","React.Fragment","nextTag","nextOptions","tags","newStyled","tagName","ReactPropTypesSecret","ReactPropTypesSecret_1","emptyFunction","emptyFunctionWithReset","factoryWithThrowingShims","shim","componentName","location","propFullName","secret","getShim","ReactPropTypes","propTypesModule","isEmpty","GlobalStyles","defaultTheme","globalStyles","themeInput","styled","emStyled","internal_processStyles","processor","isPlainObject","item","prototype","deepClone","source","deepmerge","target","sortBreakpointsValues","values","breakpointsAsArray","breakpoint1","breakpoint2","acc","createBreakpoints","breakpoints","unit","step","other","sortedValues","keys","up","down","between","start","endIndex","only","not","keyIndex","sortContainerQueries","theme","sorted","regex","_a","_b","isCqShorthand","breakpointKeys","getContainerQuery","shorthand","matches","containerQuery","containerName","cssContainerQueries","toContainerQuery","mediaQuery","attachCq","containerQueries","shape","merge","defaultBreakpoints","defaultContainerQueries","handleBreakpoints","propValue","styleFromPropValue","themeBreakpoints","breakpoint","containerKey","mediaKey","cssKey","createEmptyBreakpointObject","breakpointsInput","breakpointStyleKey","removeUnusedBreakpoints","style","breakpointOutput","mergeBreakpointsInOrder","emptyBreakpoints","mergedOutput","computeBreakpointsBase","breakpointValues","base","breakpointsKeys","resolveBreakpointValues","customBase","capitalize","_formatMuiErrorMessage","getPath","path","checkVars","val","getStyleValue","themeMapping","transform","propValueFinal","userValue","cssProperty","themeKey","properties","directions","aliases","getCssProperties","direction","dir","marginKeys","paddingKeys","createUnaryUnit","defaultValue","themeSpacing","transformed","createUnarySpacing","getValue","transformer","getStyleFromPropValue","cssProperties","resolveCssProperty","margin","padding","createSpacing","spacingInput","spacing","argsInput","argument","compose","handlers","borderTransform","createBorderStyle","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outline","outlineColor","borderRadius","gap","columnGap","rowGap","gridColumn","gridRow","gridAutoFlow","gridAutoColumns","gridAutoRows","gridTemplateColumns","gridTemplateRows","gridTemplateAreas","gridArea","paletteTransform","color","bgcolor","backgroundColor","sizingTransform","width","maxWidth","_c","breakpointsValues","_e","_d","minWidth","height","maxHeight","minHeight","boxSizing","defaultSxConfig","objectsHaveSameKeys","objects","allKeys","object","union","callIfFn","maybeFn","unstable_createStyleFunctionSx","getThemeValue","config","styleFunctionSx","sx","traverse","sxInput","sxObject","styleKey","applyStyles","createTheme","paletteInput","shapeInput","muiTheme","isObjectEmpty","useTheme","contextTheme","systemDefaultTheme","useThemeWithoutDefault","themeId","upperTheme","MuiGlobalStyles","splitProps","extendSxProp","inSx","systemProps","otherProps","finalSx","defaultGenerator","createClassNameGenerator","generate","generator","ClassNameGenerator","o","clsx","createBox","defaultClassName","generateClassName","BoxRoot","React.forwardRef","inProps","component","_jsx","globalStateClasses","generateUtilityClass","slot","globalStatePrefix","globalStateClass","generateUtilityClasses","slots","resolveTheme","PROCESSED_PROPS","attachTheme","processedProps","defaultOverridesResolver","_props","processStyle","resolvedStyle","subStyle","variants","otherStyles","mergedState","variantLoop","variant","input","rootShouldForwardProp","slotShouldForwardProp","systemSx","inputOptions","processStyles","componentSlot","inputSkipVariantsResolver","inputSkipSx","overridesResolver","lowercaseFirstLetter","skipVariantsResolver","skipSx","label","shouldForwardPropOption","defaultStyledResolver","styledEngineStyled","transformStyleArg","muiStyledResolver","expressions","transformedStyle","expressionsWithDefaultTheme","styleOverrides","resolvedStyleOverrides","propsWithTheme","slotKey","themeVariants","numOfCustomFnsApplied","placeholders","Component","_","resolveProps","defaultProps","defaultSlotProps","slotProps","slotPropName","getThemeProps","params","useThemeProps","useEnhancedEffect","React.useEffect","useMediaQueryOld","query","defaultMatches","matchMedia","ssrMatchMedia","noSsr","setMatch","React.useState","queryList","updateMatch","safeReact","maybeReactUseSyncExternalStore","useMediaQueryNew","getDefaultSnapshot","React.useCallback","getServerSnapshot","React.useMemo","getSnapshot","subscribe","mediaQueryList","notify","useMediaQuery","queryInput","supportMatchMedia","clamp","min","max","clampWrapper","hexToRgb","colors","decomposeColor","marker","colorSpace","colorChannel","decomposedColor","idx","private_safeColorChannel","warning","recomposeColor","hslToRgb","s","rgb","getLuminance","getContrastRatio","foreground","background","lumA","lumB","alpha","private_safeAlpha","darken","coefficient","private_safeDarken","lighten","private_safeLighten","emphasize","private_safeEmphasize","createChainedFunction","funcs","debounce","wait","timeout","debounced","later","isMuiElement","muiNames","React.isValidElement","ownerDocument","ownerWindow","setRef","globalId","useGlobalId","idOverride","defaultId","setDefaultId","maybeReactUseId","useId","reactId","useControlled","controlled","defaultProp","state","isControlled","valueState","setValue","setValueIfUncontrolled","newValue","useEventCallback","useForkRef","refs","instance","UNINITIALIZED","useLazyRef","init","initArg","EMPTY","useOnMount","Timeout","__publicField","delay","useTimeout","isFocusVisible","getScrollbarSize","doc","documentWidth","usePreviousProps","getValidReactChildren","React.Children","child","visuallyHidden","composeClasses","getUtilityClass","classes","slotName","buffer","isHostComponent","appendOwnerState","elementType","ownerState","extractEventHandlers","excludeKeys","omitEventHandlers","mergeSlotProps","parameters","getSlotProps","additionalProps","externalSlotProps","externalForwardedProps","joinedClasses","mergedStyle","eventHandlers","componentsPropsWithoutEventHandlers","otherPropsWithoutEventHandlers","internalSlotProps","resolveComponentProps","componentProps","slotState","useSlotProps","skipResolvingSlotProps","resolvedComponentsProps","internalRef","getReactNodeRef","hasSymbol","nested","mergeOuterLocalTheme","outerTheme","localTheme","ThemeProvider","RtlContext","RtlProvider","useRtl","PropsContext","DefaultPropsProvider","useDefaultProps","ctx","EMPTY_THEME","useThemeScoping","isPrivate","resolvedTheme","mergedTheme","upperPrivateTheme","usePrivateTheme","engineTheme","privateTheme","rtlValue","MuiThemeProvider","StyledEngineThemeContext","DEFAULT_MODE_STORAGE_KEY","DEFAULT_COLOR_SCHEME_STORAGE_KEY","DEFAULT_ATTRIBUTE","InitColorSchemeScript","defaultLightColorScheme","defaultDarkColorScheme","modeStorageKey","colorSchemeStorageKey","initialAttribute","colorSchemeNode","nonce","setter","attribute","attr","getSystemMode","mode","processState","getColorScheme","initializeValue","useCurrentColorScheme","defaultMode","supportedColorSchemes","storageWindow","joinedColorSchemes","isMultiSchemes","setState","initialMode","lightColorScheme","darkColorScheme","setHasMounted","hasMounted","colorScheme","setMode","currentState","newMode","setColorScheme","newState","newLightColorScheme","newDarkColorScheme","handleMediaQuery","event","systemMode","mediaListener","handler","media","handleStorage","DISABLE_CSS_TRANSITION","createCssVarsProvider","defaultModeStorageKey","defaultColorSchemeStorageKey","designSystemTransitionOnChange","defaultColorScheme","defaultContext","ColorSchemeContext","useColorScheme","CssVarsProvider","themeProp","disableTransitionOnChange","documentNode","disableNestedContext","disableStyleSheetGeneration","muiUseTheme","initialTheme","scopedTheme","colorSchemes","components","cssVarPrefix","restThemeProp","allColorSchemes","stateMode","stateColorScheme","calculatedColorScheme","themeVars","scheme","schemeKey","colorSchemeSelector","timer","contextValue","shouldGenerateStyleSheet","_jsxs","createGetCssVar","appendVar","vars","field","fallbacks","assignNestedKeys","arrayKeys","temp","walkObjectDeep","shouldSkipPaths","recurse","parentKeys","getCssValue","cssVarsParser","shouldSkipGeneratingVar","varsWithDefaults","cssVar","resolvedValue","prepareCssVars","parserConfig","getSelector","defaultGetSelector","disableCssColorScheme","otherTheme","rootVars","rootCss","rootVarsWithDefaults","colorSchemesMap","defaultScheme","otherColorSchemes","cssObject","schemeVars","stylesheets","insertStyleSheet","defaultSchemeVal","cssColorSheme","finalCss","createGetColorSchemeSelector","defaultCreateStyledComponent","systemStyled","useThemePropsDefault","useThemePropsSystem","useUtilityClasses","getContainerUtilityClass","fixed","disableGutters","createContainer","createStyledComponent","ContainerRoot","breakpointValueKey","classesProp","filterBreakpointKeys","responsiveKeys","traverseBreakpoints","responsive","iterator","smallestBreakpoint","breakpointValue","responsiveStyles","appendLevel","level","isNestedContainer","createGetSelfSpacing","axis","createGetParentSpacing","getParentColumns","generateGridSizeStyles","getParentSpacing","appendStyle","generateGridOffsetStyles","generateGridColumnsStyles","generateGridRowSpacingStyles","generateGridColumnSpacingStyles","generateGridDirectionStyles","generateGridStyles","getSelfSpacing","generateSizeClassNames","generateSpacingClassNames","isValidSpacing","generateDirectionClasses","createGrid","wrap","parseResponsiveProp","shouldUseValue","parsedProp","GridRoot","Grid","themeProps","columnsProp","sizeProp","offsetProp","spacingProp","rowSpacingProp","columnSpacingProp","columns","rowSpacing","columnSpacing","React.cloneElement","joinChildren","separator","childrenArray","getSideFromDirection","directionValues","spacingValues","previousDirectionValue","createStack","StackRoot","divider","useFlexGap","light","dark","addLightOrDark","intent","shade","tonalOffset","tonalOffsetLight","tonalOffsetDark","getDefaultPrimary","getDefaultSecondary","getDefaultError","getDefaultInfo","getDefaultSuccess","getDefaultWarning","createPalette","palette","contrastThreshold","primary","secondary","error","info","success","getContrastText","augmentColor","mainShade","lightShade","darkShade","modes","prepareTypographyVars","typography","entry","createMixins","mixins","round","caseAllCaps","defaultFontFamily","createTypography","fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem2","coef","pxToRem","buildVariant","fontWeight","lineHeight","letterSpacing","casing","shadowKeyUmbraOpacity","shadowKeyPenumbraOpacity","shadowAmbientShadowOpacity","createShadow","px","shadows","easing","duration","formatMs","milliseconds","getAutoHeightDuration","constant","createTransitions","inputTransitions","mergedEasing","mergedDuration","durationOption","easingOption","animatedProp","zIndex","createThemeNoVars","mixinsInput","transitionsInput","typographyInput","systemTheme","systemCreateTheme","getOverlayAlpha","elevation","alphaValue","defaultDarkOverlays","overlay","getOpacity","getOverlays","createColorScheme","opacity","overlays","rest","excludeVariablesFromRoot","excludedVariables","isSerializable","stringifyTheme","baseTheme","serializableTheme","serializeTheme","assignNode","setColor","toRgb","setColorChannel","safeColorChannel","getSpacingVal","silent","systemCreateGetCssVar","attachColorScheme","restTheme","createThemeWithVars","colorSchemesInput","defaultColorSchemeInput","defaultShouldSkipGeneratingVar","firstColorScheme","getCssVar","defaultSchemeInput","builtInLight","builtInDark","customColorSchemes","setCssVarColor","tokens","colorToken","safeDarken","safeLighten","snackbarContentBackground","safeEmphasize","safeAlpha","generateThemeVars","generateStyleSheets","cssVariables","initialColorSchemes","initialDefaultColorScheme","paletteOptions","useThemeSystem","systemUseThemeProps","ThemeProviderNoVars","SystemThemeProvider","defaultConfig","InternalCssVarsProvider","deprecatedGetInitColorSchemeScript","newTheme","SystemGlobalStyles","globalCss","internal_createExtendSxProp","memoTheme","styleFn","lastValue","lastTheme","useSystemDefaultProps","getSvgIconUtilityClass","SvgIconRoot","_f","_h","_g","_j","_l","_k","_n","_m","SvgIcon","htmlColor","inheritViewBox","titleAccess","viewBox","hasSvgAsChild","more","createSvgIcon","displayName","React.memo","_objectWithoutPropertiesLoose","_setPrototypeOf","_inheritsLoose","setPrototypeOf","config$2","TransitionGroupContext","forceReflow","UNMOUNTED","EXITED","ENTERING","ENTERED","EXITING","Transition","_React$Component","context","parentGroup","appear","initialStatus","prevState","nextIn","prevProps","nextStatus","status","exit","enter","mounting","ReactDOM","_this2","appearing","_ref2","maybeNode","maybeAppearing","timeouts","enterTimeout","_this3","nextState","_this4","active","doesNotHaveTimeoutOrListener","_ref3","maybeNextCallback","_this$props","childProps","noop","_assertThisInitialized","getChildMapping","mapFn","mapper","isValidElement","Children","mergeChildMappings","getValueForKey","nextKeysPending","pendingKeys","prevKey","childMapping","nextKey","pendingNextKey","getProp","getInitialChildMapping","onExited","cloneElement","getNextChildMapping","nextProps","prevChildMapping","nextChildMapping","hasPrev","hasNext","prevChild","isLeaving","TransitionGroup","handleExited","firstRender","currentChildMapping","childFactory","reflow","getTransitionProps","getCollapseUtilityClass","orientation","CollapseRoot","CollapseWrapper","CollapseWrapperInner","Collapse","addEndListener","collapsedSizeProp","inProp","onEnter","onEntered","onEntering","onExit","onExiting","TransitionComponent","wrapperRef","autoTransitionDuration","collapsedSize","isHorizontal","nodeRef","handleRef","normalizedTransitionCallback","maybeIsAppearing","getWrapperSize","handleEnter","isAppearing","handleEntering","wrapperSize","transitionDuration","transitionTimingFunction","duration2","handleEntered","handleExit","handleExiting","handleAddEndListener","getPaperUtilityClass","square","PaperRoot","Paper","useSlot","initialElementType","getSlotOwnerState","internalForwardedProps","useSlotPropsParams","rootComponent","slotComponent","slotOwnerState","finalOwnerState","LeafComponent","LazyRipple","ripple","shouldMount","setShouldMount","createControlledPromise","useLazyRipple","resolve","reject","resolveFn","rejectFn","Ripple","pulsate","rippleX","rippleY","rippleSize","leaving","setLeaving","rippleClassName","rippleStyles","childClassName","timeoutId","touchRippleClasses","DURATION","DELAY_RIPPLE","enterKeyframe","exitKeyframe","pulsateKeyframe","TouchRippleRoot","TouchRippleRipple","TouchRipple","centerProp","ripples","setRipples","rippleCallback","ignoringMouseDown","startTimer","startTimerCommit","startCommit","oldRipples","center","fakeElement","rect","clientX","clientY","sizeX","sizeY","stop","React.useImperativeHandle","getButtonBaseUtilityClass","buttonBaseClasses","disabled","focusVisible","focusVisibleClassName","composedClasses","ButtonBaseRoot","ButtonBase","action","centerRipple","disableRipple","disableTouchRipple","focusRipple","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","buttonRef","handleRippleRef","setFocusVisible","enableTouchRipple","useRippleHandler","rippleAction","eventCallback","skipRippleAction","handleMouseDown","handleContextMenu","handleDragLeave","handleMouseUp","handleMouseLeave","handleTouchStart","handleTouchEnd","handleTouchMove","handleBlur","handleFocus","isNonNativeButton","button","handleKeyDown","handleKeyUp","ComponentProp","buttonProps","hasCorrectMainProperty","checkSimplePaletteColorValues","additionalPropertiesToCheck","createSimplePaletteValueFilter","getIconButtonUtilityClass","iconButtonClasses","edge","IconButtonRoot","IconButton","disableFocusRipple","ClearIcon","getTypographyUtilityClass","typographyClasses","v6Colors","align","gutterBottom","noWrap","paragraph","TypographyRoot","defaultVariantMapping","Typography","isSxColor","variantMapping","getAppBarUtilityClass","joinVars","var1","var2","AppBarRoot","AppBar","enableColorOnDark","stripDiacritics","createFilterOptions","ignoreAccents","ignoreCase","limit","matchFrom","inputValue","getOptionLabel","filteredOptions","option","candidate","defaultFilterOptions","pageSize","defaultIsActiveElementInListbox","listboxRef","MULTIPLE_DEFAULT_VALUE","useAutocomplete","unstable_isActiveElementInListbox","unstable_classNamePrefix","autoComplete","autoHighlight","autoSelect","blurOnSelect","clearOnBlur","clearOnEscape","disableClearable","disableCloseOnSelect","disabledProp","disabledItemsFocusable","disableListWrap","filterOptions","filterSelectedOptions","freeSolo","getOptionDisabled","getOptionKey","getOptionLabelProp","groupBy","handleHomeEndKeys","idProp","includeInputInList","inputValueProp","isOptionEqualToValue","multiple","onChange","onClose","onHighlightChange","onInputChange","onOpen","openProp","openOnFocus","readOnly","selectOnFocus","valueProp","optionLabel","ignoreFocus","firstFocus","inputRef","anchorEl","setAnchorEl","focusedTag","setFocusedTag","defaultHighlighted","highlightedIndexRef","setValueState","setInputValueState","focused","setFocused","resetInputValue","reason","newInputValue","open","setOpenState","inputPristine","setInputPristine","inputValueIsSelectedValue","popupOpen","value2","previousProps","valueChange","listboxAvailable","focusTag","tagToFocus","validOptionIndex","nextFocus","nextFocusDisabled","setHighlightedIndex","listboxNode","scrollBottom","elementBottom","changeHighlightedIndex","diff","nextIndex","maxIndex","newIndex","getPreviousHighlightedOptionIndex","isSameValue","value1","label1","label2","previousHighlightedOption","syncHighlightedIndex","previousHighlightedOptionIndex","valueItem","currentOption","itemIndex","optionItem","handleListboxRef","handleOpen","handleClose","handleValue","details","isTouch","selectNewValue","reasonProp","origin","validTagIndex","handleFocusTag","handleClear","handleInputChange","handleOptionMouseMove","handleOptionTouchStart","handleOptionClick","handleTagDelete","handlePopupIndicator","handleClick","handleInputMouseDown","dirty","groupedOptions","group","selected","top","bottom","right","left","auto","basePlacements","clippingParents","viewport","popper","variationPlacements","placement","placements","beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite","modifierPhases","getNodeName","getWindow","isElement","OwnElement","isHTMLElement","isShadowRoot","attributes","effect","initialStyles","styleProperties","applyStyles$1","getBasePlacement","getUAString","uaData","isLayoutViewport","getBoundingClientRect","includeScale","isFixedStrategy","clientRect","scaleX","scaleY","visualViewport","addVisualOffsets","getLayoutRect","contains","rootNode","getComputedStyle","isTableElement","getDocumentElement","getParentNode","getTrueOffsetParent","getContainingBlock","isFirefox","isIE","elementCss","currentNode","getOffsetParent","window","offsetParent","getMainAxisFromPlacement","within","mathMax","mathMin","withinMaxClamp","getFreshSideObject","mergePaddingObject","paddingObject","expandToHashMap","hashMap","toPaddingObject","arrow","_state$modifiersData$","arrowElement","popperOffsets","basePlacement","isVertical","arrowRect","minProp","maxProp","endDiff","startDiff","arrowOffsetParent","clientSize","centerToReference","axisProp","_options$element","arrow$1","getVariation","unsetSides","roundOffsetsByDPR","win","dpr","mapToStyles","_Object$assign2","popperRect","variation","offsets","gpuAcceleration","adaptive","roundOffsets","isFixed","_offsets$x","_offsets$y","hasX","hasY","sideX","sideY","heightProp","widthProp","offsetY","offsetX","commonStyles","_ref4","_Object$assign","computeStyles","_ref5","_options$gpuAccelerat","_options$adaptive","_options$roundOffsets","computeStyles$1","passive","_options$scroll","scroll","_options$resize","resize","scrollParents","scrollParent","eventListeners","getOppositePlacement","matched","getOppositeVariationPlacement","getWindowScroll","scrollLeft","scrollTop","getWindowScrollBarX","getViewportRect","strategy","html","layoutViewport","getDocumentRect","_element$ownerDocumen","winScroll","body","isScrollParent","_getComputedStyle","overflow","overflowX","overflowY","getScrollParent","listScrollParents","list","isBody","updatedList","rectToClientRect","getInnerBoundingClientRect","getClientRectFromMixedType","clippingParent","getClippingParents","canEscapeClipping","clipperElement","getClippingRect","boundary","rootBoundary","mainClippingParents","firstClippingParent","clippingRect","accRect","computeOffsets","commonX","commonY","mainAxis","detectOverflow","_options","_options$placement","_options$strategy","_options$boundary","_options$rootBoundary","_options$elementConte","elementContext","_options$altBoundary","altBoundary","_options$padding","altContext","clippingClientRect","referenceClientRect","popperClientRect","elementClientRect","overflowOffsets","offsetData","multiply","computeAutoPlacement","flipVariations","_options$allowedAutoP","allowedAutoPlacements","allPlacements","allowedPlacements","overflows","getExpandedFallbackPlacements","oppositePlacement","flip","_options$mainAxis","checkMainAxis","_options$altAxis","checkAltAxis","specifiedFallbackPlacements","_options$flipVariatio","preferredPlacement","isBasePlacement","fallbackPlacements","referenceRect","checksMap","makeFallbackChecks","firstFittingPlacement","_basePlacement","isStartVariation","mainVariationSide","altVariationSide","checks","check","numberOfChecks","_loop","fittingPlacement","_ret","flip$1","getSideOffsets","preventedOffsets","isAnySideFullyClipped","side","hide","referenceOverflow","popperAltOverflow","referenceClippingOffsets","popperEscapeOffsets","isReferenceHidden","hasPopperEscaped","hide$1","distanceAndSkiddingToXY","rects","invertDistance","skidding","distance","_options$offset","data","_data$state$placement","offset$2","popperOffsets$1","getAltAxis","preventOverflow","_options$tether","tether","_options$tetherOffset","tetherOffset","altAxis","tetherOffsetValue","normalizedTetherOffsetValue","offsetModifierState","_offsetModifierState$","mainSide","altSide","additive","minLen","maxLen","arrowPaddingObject","arrowPaddingMin","arrowPaddingMax","arrowLen","minOffset","maxOffset","clientOffset","offsetModifierValue","tetherMin","tetherMax","preventedOffset","_offsetModifierState$2","_mainSide","_altSide","_offset","_min","_max","isOriginSide","_offsetModifierValue","_tetherMin","_tetherMax","_preventedOffset","preventOverflow$1","getHTMLElementScroll","getNodeScroll","isElementScaled","getCompositeRect","elementOrVirtualElement","isOffsetParentAnElement","offsetParentIsScaled","documentElement","order","modifiers","map","visited","modifier","sort","requires","dep","depModifier","orderModifiers","orderedModifiers","phase","pending","mergeByName","merged","existing","DEFAULT_OPTIONS","areValidElements","popperGenerator","generatorOptions","_generatorOptions","_generatorOptions$def","defaultModifiers","_generatorOptions$def2","defaultOptions","effectCleanupFns","isDestroyed","setOptionsAction","cleanupModifierEffects","runModifierEffects","_state$elements","_state$orderedModifie","_state$orderedModifie2","_ref$options","cleanupFn","noopFn","createPopper","getContainer","Portal","forwardedRef","disablePortal","mountNode","setMountNode","ReactDOM.createPortal","getPopperUtilityClass","flipPlacement","resolveAnchorEl","defaultPopperOptions","PopperTooltip","initialPlacement","popperOptions","popperRefProp","TransitionProps","ownerStateProp","tooltipRef","ownRef","popperRef","handlePopperRef","handlePopperRefRef","rtlPlacement","setPlacement","resolvedAnchorElement","setResolvedAnchorElement","handlePopperUpdate","popperModifiers","Root","rootProps","Popper","containerProp","keepMounted","transition","exited","setExited","resolvedAnchorEl","display","transitionProps","PopperRoot","BasePopper","isRtl","componentsProps","RootComponent","getListSubheaderUtilityClass","inset","disableSticky","ListSubheaderRoot","ListSubheader","CancelIcon","getChipUtilityClass","chipClasses","iconColor","onDelete","clickable","ChipRoot","textColor","ChipLabel","isDeleteKeyboardEvent","keyboardEvent","Chip","avatarProp","clickableProp","deleteIconProp","iconProp","skipFocusWhenDisabled","chipRef","handleDeleteIconClick","moreProps","deleteIcon","avatar","icon","TextareaAutosize","maxRows","minRows","heightRef","shadowRef","calculateTextareaStyles","computedStyle","inputShallow","innerHeight","singleRowHeight","outerHeight","outerHeightStyle","overflowing","syncHeight","textareaStyles","handleResize","rAF","debounceHandleResize","containerWindow","resizeObserver","handleChange","formControlState","states","muiFormControl","FormControlContext","useFormControl","hasValue","isFilled","SSR","isAdornedStart","getInputBaseUtilityClass","inputBaseClasses","_InputGlobalStyles","rootOverridesResolver","inputOverridesResolver","endAdornment","formControl","fullWidth","hiddenLabel","multiline","startAdornment","InputBaseRoot","InputBaseInput","placeholder","placeholderHidden","placeholderVisible","InputGlobalStyles","InputBase","ariaDescribedby","autoFocus","disableInjectingGlobalStyles","inputComponent","inputPropsProp","inputRefProp","renderSuffix","rows","handleInputRefWarning","handleInputRef","fcs","onFilled","onEmpty","checkDirty","InputComponent","inputProps","handleAutoFill","Input","getInputUtilityClass","inputClasses","getOutlinedInputUtilityClass","outlinedInputClasses","getFilledInputUtilityClass","filledInputClasses","ArrowDropDownIcon","getAutocompleteUtilityClass","autocompleteClasses","_ClearIcon","_ArrowDropDownIcon","expanded","hasClearIcon","hasPopupIcon","inputFocused","AutocompleteRoot","AutocompleteEndAdornment","AutocompleteClearIndicator","AutocompletePopupIndicator","AutocompletePopper","AutocompletePaper","AutocompleteLoading","AutocompleteNoOptions","AutocompleteListbox","AutocompleteGroupLabel","AutocompleteGroupUl","Autocomplete","ChipPropsProp","clearIcon","clearText","closeText","forcePopupIcon","getLimitTagsText","limitTags","ListboxComponentProp","ListboxPropsProp","loading","loadingText","noOptionsText","openText","PaperComponentProp","PopperComponentProp","popupIcon","renderGroupProp","renderInput","renderOptionProp","renderTags","getRootProps","getInputProps","getInputLabelProps","getPopupIndicatorProps","getClearProps","getTagProps","getListboxProps","getOptionProps","otherListboxProps","ListboxSlot","listboxProps","PaperSlot","paperProps","PopperSlot","popperProps","getCustomizedTagProps","customTagProps","renderGroup","renderOption","props2","renderListOption","optionProps","clearIndicatorSlotProps","popupIndicatorSlotProps","renderAutocompletePopperChildren","autocompletePopper","option2","index2","Person","getAvatarUtilityClass","avatarClasses","colorDefault","AvatarRoot","AvatarImg","AvatarFallback","useLoaded","crossOrigin","referrerPolicy","src","srcSet","loaded","setLoaded","image","Avatar","alt","childrenProp","imgProps","sizes","hasImg","hasImgNotFailing","ImgSlot","imgSlotProps","getAvatarGroupUtilityClass","avatarGroupClasses","SPACINGS","AvatarGroupRoot","AvatarGroup","renderSurplus","total","clampedMax","totalAvatars","maxAvatars","extraAvatars","extraAvatarsElement","marginValue","SurplusSlot","surplusProps","Fade","defaultTimeout","getBackdropUtilityClass","removeOwnerState","invisible","BackdropRoot","Backdrop","TransitionComponentProp","backwardCompatibleSlots","backwardCompatibleSlotProps","RootSlot","TransitionSlot","transitionPropsRemoved","boxClasses","Box","getButtonUtilityClass","buttonClasses","ButtonGroupContext","ButtonGroupButtonContext","disableElevation","commonIconStyles","ButtonRoot","inheritContainedBackgroundColor","inheritContainedHoverBackgroundColor","ButtonStartIcon","ButtonEndIcon","Button","contextProps","buttonGroupButtonContextPositionClassName","resolvedProps","endIconProp","startIconProp","startIcon","endIcon","positionClassName","getCardUtilityClass","CardRoot","Card","raised","getCardActionAreaUtilityClass","cardActionAreaClasses","CardActionAreaRoot","CardActionAreaFocusHighlight","CardActionArea","getCardContentUtilityClass","CardContentRoot","CardContent","getSwitchBaseUtilityClass","checked","SwitchBaseRoot","SwitchBaseInput","SwitchBase","checkedProp","checkedIcon","defaultChecked","required","setCheckedState","newChecked","hasLabelFor","CheckBoxOutlineBlankIcon","CheckBoxIcon","IndeterminateCheckBoxIcon","getCheckboxUtilityClass","checkboxClasses","indeterminate","CheckboxRoot","defaultCheckedIcon","defaultIcon","defaultIndeterminateIcon","Checkbox","indeterminateIconProp","indeterminateIcon","getCircularProgressUtilityClass","SIZE","circularRotateKeyframe","circularDashKeyframe","rotateAnimation","dashAnimation","disableShrink","CircularProgressRoot","CircularProgressSVG","CircularProgressCircle","CircularProgress","thickness","circleStyle","rootStyle","circumference","Container","isDynamicSupport","enableColorScheme","colorSchemeStyles","defaultStyles","themeOverrides","SELECTOR","staticStyles","baseStyles","CssBaseline","isOverflowing","ariaHidden","show","getPaddingRight","isAriaHiddenForbiddenOnElement","isForbiddenTagName","isInputHidden","ariaHiddenSiblings","mountElement","currentElement","elementsToExclude","blacklist","isNotExcludedElement","isNotForbiddenElement","findIndexOf","items","handleContainer","containerInfo","restoreStyle","scrollbarSize","scrollContainer","getHiddenSiblings","hiddenSiblings","ModalManager","modal","modalIndex","containerIndex","ariaHiddenState","nextTop","candidatesSelector","getTabIndex","tabindexAttr","isNonTabbableRadio","getRadio","roving","isNodeMatchingSelectorFocusable","defaultGetTabbable","regularTabNodes","orderedTabNodes","nodeTabIndex","defaultIsEnabled","FocusTrap","disableAutoFocus","disableEnforceFocus","disableRestoreFocus","getTabbable","isEnabled","ignoreNextEnforceFocus","sentinelStart","sentinelEnd","nodeToRestore","reactFocusEventTarget","activated","rootRef","lastKeydown","loopFocus","nativeEvent","contain","rootElement","tabbable","isShiftTab","focusNext","focusPrevious","interval","childrenPropsHandler","handleFocusSentinel","getHasTransition","defaultManager","useModal","disableEscapeKeyDown","disableScrollLock","manager","closeAfterTransition","onTransitionEnter","onTransitionExited","mountNodeRef","modalRef","hasTransition","ariaHiddenProp","getDoc","getModal","handleMounted","resolvedContainer","isTopModal","handlePortalRef","createHandleKeyDown","otherHandlers","createHandleBackdropClick","propsEventHandlers","externalEventHandlers","getModalUtilityClass","ModalRoot","ModalBackdrop","Modal","BackdropComponent","BackdropProps","hideBackdrop","onBackdropClick","propsWithDefaults","getBackdropProps","portalRef","BackdropSlot","backdropProps","backdropRef","getDividerUtilityClass","dividerClasses","absolute","flexItem","textAlign","DividerRoot","DividerWrapper","Divider","role","disableUnderline","FilledInputRoot","inputBaseRootOverridesResolver","bottomLineColor","hoverBackground","disabledBackground","FilledInputInput","inputBaseInputOverridesResolver","FilledInput","componentsPropsProp","filledInputComponentsProps","InputSlot","getFormControlUtilityClasses","FormControlRoot","FormControl","visuallyFocused","adornedStart","setAdornedStart","initialAdornedStart","filled","setFilled","initialFilled","focusedState","registerEffect","childContext","getFormControlLabelUtilityClasses","formControlLabelClasses","labelPlacement","FormControlLabelRoot","AsteriskComponent","FormControlLabel","control","disableTypography","labelProp","requiredProp","controlProps","TypographySlot","typographySlotProps","getFormGroupUtilityClass","row","FormGroupRoot","FormGroup","getFormHelperTextUtilityClasses","formHelperTextClasses","_span","contained","FormHelperTextRoot","FormHelperText","getFormLabelUtilityClasses","formLabelClasses","FormLabelRoot","FormLabel","GridContext","getGridUtilityClass","DIRECTIONS","WRAPS","GRID_SIZES","gridClasses","generateGrid","columnsBreakpointValues","columnValue","generateDirection","extractZeroValueBreakpointKeys","nonZeroKey","sortedBreakpointKeysByValue","generateRowGap","rowSpacingValues","zeroValueBreakpointKeys","generateColumnGap","columnSpacingValues","negativeValue","resolveSpacingStyles","spacingStyles","zeroMinWidth","breakpointsStyles","resolveSpacingClasses","spacingClasses","breakpointsClasses","columnsContext","otherFiltered","Grid2","createGrid2","getScale","isWebKit154","Grow","autoTimeout","getIconUtilityClass","IconRoot","Icon","baseClassName","InputRoot","InputInput","inputComponentsProps","getInputAdornmentUtilityClass","inputAdornmentClasses","disablePointerEvents","InputAdornmentRoot","InputAdornment","variantProp","getInputLabelUtilityClasses","shrink","disableAnimation","InputLabelRoot","InputLabel","shrinkProp","ListContext","getListUtilityClass","disablePadding","dense","subheader","ListRoot","List","getListItemUtilityClass","getListItemButtonUtilityClass","listItemButtonClasses","alignItems","ListItemButtonRoot","ListItemButton","listItemRef","getListItemSecondaryActionClassesUtilityClass","ListItemSecondaryActionRoot","ListItemSecondaryAction","hasSecondaryAction","ListItemRoot","ListItemContainer","ListItem","componentProp","ContainerComponent","ContainerClassName","ContainerProps","secondaryAction","getListItemAvatarUtilityClass","ListItemAvatarRoot","ListItemAvatar","getListItemIconUtilityClass","listItemIconClasses","ListItemIconRoot","ListItemIcon","getListItemTextUtilityClass","listItemTextClasses","ListItemTextRoot","ListItemText","primaryProp","primaryTypographyProps","secondaryProp","secondaryTypographyProps","nextItem","previousItem","textCriteriaMatches","textCriteria","text","moveFocus","currentFocus","traversalFunction","wrappedOnce","MenuList","actions","autoFocusItem","listRef","textCriteriaRef","containerElement","noExplicitWidth","criteria","lowerKey","currTime","keepFocusOnCurrent","activeItemIndex","newChildProps","getPopoverUtilityClass","getOffsetTop","vertical","getOffsetLeft","horizontal","getTransformOriginValue","transformOrigin","PopoverRoot","PopoverPaper","PaperBase","Popover","anchorOrigin","anchorPosition","anchorReference","marginThreshold","PaperPropsProp","transitionDurationProp","externalPaperSlotProps","paperRef","getAnchorOffset","anchorRect","getTransformOrigin","elemRect","getPositioningStyle","elemTransformOrigin","anchorOffset","heightThreshold","widthThreshold","isPositioned","setIsPositioned","setPositioningStyles","positioning","rootSlotPropsProp","handlePaperRef","getMenuUtilityClass","RTL_ORIGIN","LTR_ORIGIN","MenuRoot","MenuPaper","MenuMenuList","Menu","disableAutoFocusItem","MenuListProps","PaperProps","PopoverClasses","menuListActionsRef","handleListKeyDown","paperExternalSlotProps","rootSlotProps","paperSlotProps","getMenuItemUtilityClass","menuItemClasses","MenuItemRoot","MenuItem","tabIndexProp","menuItemRef","getNativeSelectUtilityClasses","nativeSelectClasses","StyledSelectSelect","NativeSelectSelect","StyledSelectIcon","NativeSelectIcon","NativeSelectInput","IconComponent","NotchedOutlineRoot","NotchedOutlineLegend","NotchedOutline","notched","withLabel","OutlinedInputRoot","OutlinedInputInput","OutlinedInput","_React$Fragment","RadioButtonUncheckedIcon","RadioButtonCheckedIcon","RadioButtonIconRoot","RadioButtonIconBackground","RadioButtonIconDot","RadioButtonIcon","RadioGroupContext","useRadioGroup","getRadioUtilityClass","radioClasses","RadioRoot","areEqualValues","Radio","nameProp","onChangeProp","radioGroup","getRadioGroupUtilityClass","RadioGroup","getSelectUtilityClasses","selectClasses","SelectSelect","SelectIcon","SelectNativeInput","SelectInput","ariaLabel","autoWidth","defaultOpen","displayEmpty","labelId","MenuProps","renderValue","SelectDisplayProps","openState","displayRef","displayNode","setDisplayNode","isOpenControlled","menuMinWidthState","setMenuMinWidthState","handleDisplayRef","anchorElement","update","childItem","handleItemClick","clonedEvent","displaySingle","displayMultiple","computeDisplay","menuMinWidth","buttonId","listboxId","styledRootConfig","StyledInput","StyledOutlinedInput","StyledFilledInput","Select","native","restOfClasses","inputComponentRef","areArraysEqual","array1","array2","itemComparer","INTENTIONAL_DRAG_COUNT_THRESHOLD","asc","findClosest","currentValue","closestIndex","trackFinger","touchId","touchEvent","touch","valueToPercent","percentToValue","percent","getDecimalPrecision","num","parts","matissaDecimalPart","decimalPart","roundValueToStep","nearest","setValueIndex","focusThumb","sliderRef","activeIndex","setActive","areValuesEqual","oldValue","axisProps","Identity","cachedSupportsTouchActionNone","doesSupportTouchActionNone","useSlider","ariaLabelledby","disableSwap","marksProp","onChangeCommitted","scale","shiftStep","setOpen","dragging","setDragging","moveCount","valueDerived","thumbIndex","range","marks","marksValues","mark","focusedThumbIndex","setFocusedThumbIndex","createHandleHiddenInputFocus","createHandleHiddenInputBlur","changeValue","valueInput","marksIndex","maxMarksValue","previousValue","createHandleHiddenInputKeyDown","createHandleHiddenInputChange","previousIndex","getFingerNewValue","finger","move","slider","stopListening","createHandleMouseDown","trackOffset","trackLeap","externalProps","externalHandlers","ownEventHandlers","mergedEventHandlers","createHandleMouseOver","createHandleMouseLeave","shouldSpreadAdditionalProps","Slot","getSliderUtilityClass","sliderClasses","useValueLabelClasses","SliderValueLabel","SliderRoot","SliderRail","SliderTrack","SliderThumb","BaseSliderValueLabel","SliderMark","markActive","SliderMarkLabel","marked","track","Forward","Slider","ariaValuetext","getAriaLabel","getAriaValueText","valueLabelDisplay","valueLabelFormat","getHiddenInputProps","getThumbProps","getThumbStyle","RailSlot","TrackSlot","ThumbSlot","ValueLabelSlot","MarkSlot","MarkLabelSlot","railSlotProps","trackSlotProps","thumbSlotProps","valueLabelSlotProps","markSlotProps","markLabelSlotProps","inputSlotProps","railProps","trackProps","thumbProps","valueLabelProps","markProps","markLabelProps","inputSliderProps","ValueLabelComponent","getTooltipUtilityClass","tooltipClasses","disableInteractive","TooltipPopper","TooltipTooltip","TooltipArrow","hystersisOpen","hystersisTimer","cursorPosition","composeEventHandler","eventHandler","Tooltip","describeChild","disableFocusListener","disableHoverListener","disableInteractiveProp","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","leaveDelay","leaveTouchDelay","PopperProps","title","childNode","setChildNode","arrowRef","setArrowRef","ignoreNonTouchEvents","closeTimer","enterTimer","leaveTimer","touchTimer","prevUserSelect","stopTouchInteraction","handleMouseOver","setChildIsFocusVisible","detectTouchStart","childrenProps","handleMouseMove","nameOrDescProps","titleIsString","interactiveWrapperListeners","tooltipModifiers","PopperComponent","TooltipComponent","ArrowComponent","tooltipProps","tooltipArrowProps","TransitionPropsInner","Stack","getSwitchUtilityClass","switchClasses","SwitchRoot","SwitchSwitchBase","SwitchTrack","SwitchThumb","Switch","TableContext","getTableUtilityClass","stickyHeader","TableRoot","defaultComponent","Table","table","Tablelvl2Context","getTableBodyUtilityClass","TableBodyRoot","tablelvl2","TableBody","getTableCellUtilityClass","tableCellClasses","TableCellRoot","TableCell","paddingProp","scopeProp","sortDirection","isHeadCell","scope","ariaSort","getTableContainerUtilityClass","TableContainerRoot","TableContainer","getTableHeadUtilityClass","TableHeadRoot","TableHead","getToolbarUtilityClass","ToolbarRoot","Toolbar","getTableRowUtilityClass","tableRowClasses","hover","head","footer","TableRowRoot","TableRow","getTextFieldUtilityClass","variantComponent","TextFieldRoot","TextField","FormHelperTextPropsProp","helperText","InputLabelPropsProp","InputPropsProp","select","SelectPropsProp","helperTextId","inputLabelId","inputAdditionalProps","inputLabelSlotProps","InputLabelSlot","inputLabelProps","HtmlInputSlot","htmlInputProps","FormHelperTextSlot","formHelperTextProps","SelectSlot","selectProps","InputElement","getToggleButtonUtilityClass","toggleButtonClasses","ToggleButtonGroupContext","ToggleButtonGroupButtonContext","isValueSelected","ToggleButtonRoot","ToggleButton","toggleButtonGroupButtonContextPositionClassName","getToggleButtonGroupUtilityClass","toggleButtonGroupClasses","ToggleButtonGroupRoot","ToggleButtonGroup","exclusive","buttonValue","handleExclusiveChange","validChildren","childrenCount","getButtonPositionClassName","isFirstButton","isLastButton","objectToString","isError","wat","isInstanceOf","isBuiltin","isErrorEvent","isDOMError","isDOMException","isString","isParameterizedString","isPrimitive","isEvent","isRegExp","isThenable","isSyntheticEvent","isNaN","isVueViewModel","truncate","safeJoin","isMatchingPattern","requireExactStringMatch","stringMatchesSomePattern","testString","patterns","applyAggregateErrorsToEvent","exceptionFromErrorImplementation","parser","maxValueLimit","hint","originalException","truncateAggregateExceptions","aggregateExceptionsFromError","prevExceptions","exception","exceptionId","newExceptions","applyExceptionGroupFieldsForParentException","newException","newExceptionId","applyExceptionGroupFieldsForChildException","childError","parentId","exceptions","maxValueLength","isGlobalObj","GLOBAL_OBJ","getGlobalObject","getGlobalSingleton","creator","gbl","__SENTRY__","WINDOW","DEFAULT_MAX_STRING_LENGTH","htmlTreeAsString","elem","currentElem","MAX_TRAVERSE_HEIGHT","out","sepLength","nextStr","keyAttrs","maxStringLength","_htmlElementAsString","keyAttrPairs","keyAttr","keyAttrPair","allowedAttrs","getLocationHref","getDomElement","getComponentName","DEBUG_BUILD","PREFIX","CONSOLE_LEVELS","originalConsoleMethods","consoleSandbox","console","wrappedFuncs","wrappedLevels","originalConsoleMethod","makeLogger","enabled","logger","DSN_REGEX","isValidProtocol","protocol","dsnToString","dsn","withPassword","host","pass","port","projectId","publicKey","dsnFromString","lastPath","split","projectMatch","dsnFromComponents","validateDsn","makeDsn","SentryError","message","logLevel","fill","replacementFactory","original","wrapped","markFunctionWrapped","addNonEnumerableProperty","proto","getOriginalFunction","urlEncode","convertToPlainObject","getOwnProperties","newObj","serializeEventTarget","extractedProps","extractExceptionKeysForMessage","maxLength","includedKeys","dropUndefinedKeys","_dropUndefinedKeys","memoizationMap","isPojo","memoVal","returnValue","STACKTRACE_FRAME_LIMIT","WEBPACK_ERROR_REGEXP","STRIP_FRAME_REGEXP","createStackParser","parsers","sortedParsers","stack","skipFirst","frames","lines","cleanedLine","frame","stripSentryFramesAndReverse","stackParserFromStackParserOptions","stackParser","localStack","defaultFunctionName","getFunctionName","instrumented","addHandler","maybeInstrument","instrumentFn","triggerHandlers","typeHandlers","addConsoleInstrumentationHandler","instrumentConsole","log","uuid4","crypto","getRandomByte","typedArray","getFirstException","getEventDescription","eventId","firstException","addExceptionTypeValue","addExceptionMechanism","newMechanism","defaultMechanism","currentMechanism","mergedData","checkOrSetAlreadyCaught","arrayify","maybeArray","DEBOUNCE_DURATION","debounceTimerID","lastCapturedEventType","lastCapturedEventTargetId","addClickKeypressInstrumentationHandler","instrumentDOM","triggerDOMHandler","globalDOMEventHandler","makeDOMEventHandler","originalAddEventListener","listener","handlerForType","originalRemoveEventListener","isSimilarToLastCapturedEvent","shouldSkipDOMEvent","eventType","globalListener","getEventTarget","supportsFetch","isNativeFetch","supportsNativeFetch","sandbox","addFetchInstrumentationHandler","instrumentFetch","originalFetch","method","parseFetchArgs","handlerData","response","finishedHandlerData","erroredHandlerData","hasProp","getUrlFromResource","resource","fetchArgs","_oldOnErrorHandler","addGlobalErrorInstrumentationHandler","instrumentError","msg","_oldOnUnhandledRejectionHandler","addGlobalUnhandledRejectionInstrumentationHandler","instrumentUnhandledRejection","supportsHistory","chromeVar","isChromePackagedApp","hasHistoryApi","lastHref","addHistoryInstrumentationHandler","instrumentHistory","oldOnPopState","to","historyReplacementFunction","originalHistoryFunction","SENTRY_XHR_DATA_KEY","addXhrInstrumentationHandler","instrumentXHR","xhrproto","originalOpen","startTimestamp","parseUrl","onreadystatechangeHandler","xhrInfo","readyStateArgs","setRequestHeaderArgs","header","originalSend","sentryXhrData","getSDKSource","memoBuilder","hasWeakSet","inner","unmemoize","normalize","depth","maxProperties","visit","normalizeToSize","maxSize","normalized","jsonSize","memo","stringified","stringifyValue","remainingDepth","valueWithToJSON","jsonValue","numAdded","visitable","visitKey","visitValue","objName","getConstructorName","utf8Length","States","RESOLVED","REJECTED","resolvedSyncPromise","SyncPromise","rejectedSyncPromise","executor","onfulfilled","onrejected","onfinally","isRejected","cachedHandlers","makePromiseBuffer","isReady","remove","task","add","taskProducer","drain","counter","capturedSetTimeout","fragment","validSeverityLevels","severityLevelFromString","ONE_SECOND_IN_MS","dateTimestampInSeconds","createUnixTimestampInSecondsFunc","performance","approxStartingTimeOrigin","timeOrigin","timestampInSeconds","browserPerformanceTimeOrigin","threshold","performanceNow","dateNow","timeOriginDelta","timeOriginIsReliable","navigationStart","navigationStartDelta","navigationStartIsReliable","BAGGAGE_HEADER_NAME","SENTRY_BAGGAGE_KEY_PREFIX","SENTRY_BAGGAGE_KEY_PREFIX_REGEX","MAX_BAGGAGE_STRING_LENGTH","baggageHeaderToDynamicSamplingContext","baggageHeader","baggageObject","curr","currBaggageObject","baggageHeaderToObject","dynamicSamplingContext","nonPrefixedKey","dynamicSamplingContextToSentryBaggageHeader","sentryPrefixedDSC","dscKey","dscValue","objectToBaggageHeader","baggageEntry","keyOrValue","objectKey","objectValue","currentIndex","newBaggageHeader","TRACEPARENT_REGEXP","extractTraceparentData","traceparent","parentSampled","propagationContextFromHeaders","sentryTrace","baggage","traceparentData","traceId","parentSpanId","generateSentryTraceHeader","spanId","sampled","sampledString","createEnvelope","headers","addItemToEnvelope","envelope","newItem","forEachEnvelopeItem","envelopeItems","envelopeItem","envelopeItemType","encodeUTF8","textEncoder","serializeEnvelope","envHeaders","itemHeaders","payload","stringifiedPayload","concatBuffers","buffers","totalLength","buf","createAttachmentEnvelopeItem","attachment","ITEM_TYPE_TO_DATA_CATEGORY_MAP","envelopeItemTypeToDataCategory","getSdkMetadataForEnvelopeHeader","metadataOrEvent","version","createEventEnvelopeHeaders","sdkInfo","tunnel","createClientReportEnvelope","discarded_events","timestamp","clientReportItem","DEFAULT_RETRY_AFTER","parseRetryAfterHeader","now","headerDelay","headerDate","disabledUntil","limits","dataCategory","isRateLimited","updateRateLimits","statusCode","updatedRateLimits","rateLimitHeader","retryAfterHeader","retryAfter","categories","namespaces","category","DEFAULT_ENVIRONMENT","getGlobalEventProcessors","addGlobalEventProcessor","notifyEventProcessors","processors","final","makeSession","startingTime","session","sessionToJSON","updateSession","closeSession","TRACE_FLAG_NONE","TRACE_FLAG_SAMPLED","spanToTraceContext","span","span_id","trace_id","op","parent_span_id","spanToJSON","spanToTraceHeader","spanIsSampled","spanTimeInputToSeconds","ensureTimestampInSeconds","spanIsSpanClass","traceFlags","prepareEvent","client","isolationScope","normalizeDepth","normalizeMaxBreadth","prepared","integrations","applyClientOptions","applyIntegrationsMetadata","applyDebugIds","finalScope","getFinalScope","clientEventProcessors","getGlobalScope","isolationData","mergeScopeData","finalScopeData","attachments","applyScopeDataToEvent","eventProcessors","evt","applyDebugMeta","normalizeEvent","environment","release","dist","request","debugIdStackParserCache","debugIdMap","debugIdStackFramesCache","cachedDebugIdStackFrameCache","filenameDebugIdMap","debugIdStackTrace","parsedStack","cachedParsedStack","stackFrame","images","filename","integrationNames","maxBreadth","captureContext","Scope","captureException","getCurrentHub","captureEvent","addBreadcrumb","breadcrumb","withScope","hub","getClient","getCurrentScope","startSession","getIsolationScope","currentScope","userAgent","currentSession","endSession","_sendSessionUpdate","captureSession","getRootSpan","getDynamicSamplingContextFromClient","public_key","user_segment","dsc","getDynamicSamplingContextFromSpan","txn","v7FrozenDsc","maybeSampleRate","jsonSpan","fingerprint","breadcrumbs","sdkProcessingMetadata","applyDataToEvent","applySpanToEvent","applyFingerprintToEvent","applyBreadcrumbsToEvent","applySdkMetadataToEvent","mergeData","extra","user","contexts","propagationContext","transactionName","mergeAndOverwriteScopeData","mergeVal","cleanedExtra","cleanedTags","cleanedUser","cleanedContexts","mergedBreadcrumbs","rootSpan","DEFAULT_MAX_BREADCRUMBS","globalScope","generatePropagationContext","newScope","requestSession","extras","scopeToMerge","scopeData","scopeContext","maxBreadcrumbs","maxCrumbs","mergedBreadcrumb","_breadcrumbs","_attachments","_contexts","_tags","_extra","_user","_level","_fingerprint","_eventProcessors","_propagationContext","_sdkProcessingMetadata","_transactionName","additionalEventProcessors","newData","syntheticException","SDK_VERSION","API_VERSION","DEFAULT_BREADCRUMBS","Hub","_version","assignedScope","assignedIsolationScope","maybePromiseResult","res","beforeBreadcrumb","finalBreadcrumb","oldHub","makeMain","integration","customSamplingContext","sentry","getMainCarrier","registry","getHubFromCarrier","setHubOnCarrier","getGlobalHub","hasHubOnCarrier","carrier","getActiveTransaction","maybeHub","errorsInstrumented","registerErrorInstrumentation","errorCallback","activeTransaction","SpanStatus","DeadlineExceeded","Unauthenticated","PermissionDenied","NotFound","ResourceExhausted","InvalidArgument","Unimplemented","Unavailable","InternalError","UnknownError","Cancelled","AlreadyExists","FailedPrecondition","Aborted","OutOfRange","DataLoss","getSpanStatusFromHttpCode","httpStatus","setHttpStatus","spanStatus","hasTracingEnabled","maybeOptions","startInactiveSpan","spanContext","normalizeContext","parentSpan","getActiveSpan","temporaryScope","createChildSpanOrTransaction","forceTransaction","setCapturedScopesOnSpan","SCOPE_ON_START_SPAN_FIELD","ISOLATION_SCOPE_ON_START_SPAN_FIELD","getCapturedScopesOnSpan","SEMANTIC_ATTRIBUTE_SENTRY_SOURCE","SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE","SEMANTIC_ATTRIBUTE_SENTRY_OP","SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN","SEMANTIC_ATTRIBUTE_PROFILE_ID","SpanRecorder","maxlen","Span","description","startTime","endTime","childSpan","opStr","nameStr","idStr","logMessage","endTimestamp","hasData","hasAttributes","transactionContext","incomingDynamicSamplingContext","newName","metadata","newMetadata","timestampInS","transaction","finishedSpans","endTimes","capturedSpanScope","capturedSpanIsolationScope","TRACING_DEFAULTS","FINISH_REASON_TAG","IDLE_TRANSACTION_FINISH_REASONS","IdleTransactionSpanRecorder","_pushActivity","_popActivity","transactionSpanId","originalEnd","IdleTransaction","Transaction","_idleHub","_idleTimeout","_finalTimeout","_heartbeatInterval","_onScope","delayAutoFinishUntilSignal","endTimestampInS","spanStartedBeforeTransactionFinish","timeoutWithMarginOfError","spanEndedBeforeFinalTimeout","stringifiedSpan","pushActivity","popActivity","restartOnChildSpanChange","heartbeatString","sampleTransaction","samplingContext","sampleRate","isValidSampleRate","rate","traceHeaders","_startTransaction","configInstrumenter","transactionInstrumenter","startIdleTransaction","idleTimeout","finalTimeout","onScope","heartbeatInterval","addTracingExtensions","setMeasurement","enhanceEventWithSdkInfo","createSessionEnvelope","envelopeHeaders","createEventEnvelope","SENTRY_API_VERSION","getBaseApiEndpoint","_getIngestEndpoint","_encodedAuth","getEnvelopeEndpointWithUrlEncodedAuth","tunnelOrOptions","installedIntegrations","filterDuplicates","integrationsByName","currentInstance","existingInstance","getIntegrationsToSetup","defaultIntegrations","userIntegrations","finalIntegrations","debugIndex","findIndex","debugInstance","setupIntegrations","integrationIndex","setupIntegration","afterSetupIntegrations","arr","convertIntegrationFnToClass","serializeMetricBuckets","metricBucketItems","tagEntries","maybeTags","createMetricEnvelope","createMetricEnvelopeItem","ALREADY_SEEN_ERROR","BaseClient","eventMessage","promisedEvent","transport","clientFinished","transportFlushed","eventProcessor","forceInitialize","integrationId","integrationName","isAlreadyInstalled","env","promise","sendResponse","eventOrCount","metricsEnvelope","hook","crashed","errored","ex","mechanism","sessionNonTerminal","ticked","tick","finalEvent","sentryError","isTransaction","isTransactionEvent","beforeSendLabel","processBeforeSend","_validateBeforeSendResult","processedEvent","spanCount","spanCountBefore","spanCountAfter","droppedSpanCount","transactionInfo","outcomes","beforeSendResult","invalidValueError","beforeSend","beforeSendTransaction","initAndBind","clientClass","setCurrentClient","initializeClient","DEFAULT_TRANSPORT_BUFFER_SIZE","createTransport","makeRequest","rateLimits","flush","send","filteredEnvelopeItems","getEventForEnvelopeItem","filteredEnvelope","recordEnvelopeLoss","requestTask","createSpanEnvelope","spans","createSpanItem","applySdkMetadata","names","DEFAULT_IGNORE_ERRORS","DEFAULT_IGNORE_TRANSACTIONS","INTEGRATION_NAME","_inboundFiltersIntegration","_hint","clientOptions","mergedOptions","_mergeOptions","_shouldDropEvent","inboundFiltersIntegration","internalOptions","_isSentryError","_isIgnoredError","_isIgnoredTransaction","_isDeniedUrl","_getEventFilterUrl","_isAllowedUrl","ignoreErrors","_getPossibleEventMessages","ignoreTransactions","denyUrls","allowUrls","possibleMessages","lastException","_getLastValidUrl","originalFunctionToString","SETUP_CLIENTS","_functionToStringIntegration","originalFunction","functionToStringIntegration","registerBackgroundTabDetection","statusType","bindReporter","metric","reportAllChanges","prevValue","delta","forceReport","generateUniqueID","getNavigationEntryFromPerformanceTiming","timing","navigationEntry","getNavigationEntry","getActivationStart","navEntry","initMetric","navigationType","observe","opts","po","onHidden","once","onHiddenOrPageHide","onCLS","onReport","report","sessionValue","sessionEntries","handleEntries","entries","firstSessionEntry","lastSessionEntry","firstHiddenTime","initHiddenTime","trackChanges","timeStamp","getVisibilityWatcher","onFID","visibilityWatcher","handleEntry","interactionCountEstimate","minKnownInteractionId","maxKnownInteractionId","updateEstimate","getInteractionCount","initInteractionCountPolyfill","getInteractionCountForNavigation","MAX_INTERACTIONS_TO_CONSIDER","longestInteractionList","longestInteractionMap","processEntry","minLongestInteraction","existingInteraction","interaction","estimateP98LongestInteraction","candidateInteractionIndex","onINP","prevEntry","inp","reportedMetricIDs","onLCP","lastEntry","whenReady","onTTFB","_previousCls","_previousFid","_previousLcp","_previousTtfb","_previousInp","addClsInstrumentationHandler","stopOnCallback","addMetricObserver","instrumentCls","addLcpInstrumentationHandler","instrumentLcp","addTtfbInstrumentationHandler","instrumentTtfb","addFidInstrumentationHandler","instrumentFid","addInpInstrumentationHandler","instrumentInp","addPerformanceInstrumentationHandler","instrumentPerformanceObserver","getCleanupCallback","isMeasurementValue","_startChild","MAX_INT_AS_BYTES","msToSec","time","getBrowserPerformanceAPI","_performanceCursor","_measurements","_lcpEntry","_clsEntry","startTrackingWebVitals","fidCallback","_trackFID","clsCallback","_trackCLS","lcpCallback","_trackLCP","ttfbCallback","_trackTtfb","startTrackingLongTasks","startTrackingInteractions","startTrackingINP","interactionIdtoRouteNameMapping","interactionsSampleRate","inpCallback","_trackINP","INP_ENTRY_MAP","interactionIdToRouteNameMapping","interactionType","routeName","parentContext","replayId","userDisplay","profileId","getSampleRate","addPerformanceEntries","performanceEntries","transactionStartTime","_addNavigationSpans","_addMeasureSpans","firstHidden","shouldRecord","_addResourceSpans","_trackNavigator","_addTtfbRequestTimeToMeasurements","measurementTimestamp","normalizedValue","fidMark","measurementName","_tagMetricInfo","measureStartTimestamp","measureEndTimestamp","_addPerformanceNavigationTiming","_addRequest","eventEnd","resourceUrl","parsedUrl","setResourceEntrySizeData","navigator","connection","dataKey","entryVal","responseStart","requestStart","instrumentFetchRequest","shouldCreateSpan","shouldAttachHeaders","spanOrigin","shouldCreateSpanResult","endSpan","fullUrl","getFullURL","addTracingHeadersToFetchRequest","requestSpan","sentryTraceHeader","sentryBaggageHeader","newHeaders","existingBaggageHeader","newBaggageHeaders","contentLength","contentLengthNum","DEFAULT_TRACE_PROPAGATION_TARGETS","defaultRequestInstrumentationOptions","instrumentOutgoingRequests","traceFetch","traceXHR","tracePropagationTargets","tracingOrigins","shouldCreateSpanForRequest","enableHTTPTimings","shouldAttachHeadersWithTargets","createdSpan","addHTTPTimings","xhrCallback","isPerformanceResourceTiming","cleanup","resourceTimingEntryToSpanData","extractNetworkProtocol","nextHopProtocol","_name","getAbsoluteTime","resourceTiming","timingSpanData","xhr","setHeaderOnXhr","instrumentRoutingWithDefaults","customStartTransaction","startTransactionOnPageLoad","startTransactionOnLocationChange","startingUrl","BROWSER_TRACING_INTEGRATION_ID","DEFAULT_BROWSER_TRACING_OPTIONS","MAX_INTERACTIONS","BrowserTracing","instrumentRouting","markBackgroundTransactions","_experiments","clientOptionsTracePropagationTargets","beforeNavigate","isPageloadTransaction","expandedContext","getMetaContent","modifiedContext","finalContext","idleTransaction","inflightInteractionTransaction","registerInteractionTransaction","currentTransaction","getSource","replay","isPerformanceEventTiming","interactionId","minInteractionId","metaName","metaTag","sourceFromAttributes","sourceFromData","sourceFromMetadata","ignoreOnError","shouldIgnoreOnError","ignoreNextOnError","wrapper","sentryWrapped","wrappedArguments","exceptionFromError","parseStackFrames","extractMessage","eventFromPlainObject","isUnhandledRejection","getNonErrorObjectExceptionValue","eventFromError","stacktrace","popSize","getPopSize","reactMinifiedRegexp","eventFromException","attachStacktrace","eventFromUnknownInput","eventFromMessage","eventFromString","domException","__sentry_template_string__","__sentry_template_values__","captureType","getObjectClassName","createUserFeedbackEnvelope","feedback","createUserFeedbackEnvelopeItem","BrowserClient","sdkSource","cachedFetchImpl","getNativeFetchImplementation","document","fetchImpl","contentWindow","clearCachedFetchImplementation","makeFetchTransport","nativeFetch","pendingBodySize","pendingCount","requestSize","requestOptions","XHR_READYSTATE_DONE","makeXHRTransport","UNKNOWN_FUNCTION","CHROME_PRIORITY","WINJS_PRIORITY","GECKO_PRIORITY","createFrame","lineno","colno","chromeRegex","chromeEvalRegex","chromeStackParserFn","subMatch","extractSafariExtensionDetails","chromeStackLineParser","geckoREgex","geckoEvalRegex","gecko","geckoStackLineParser","winjsRegex","winjs","winjsStackLineParser","defaultStackLineParsers","defaultStackParser","isSafariExtension","isSafariWebExtension","MAX_ALLOWED_STRING_LENGTH","_breadcrumbsIntegration","_getConsoleBreadcrumbHandler","_getDomBreadcrumbHandler","_getXhrBreadcrumbHandler","_getFetchBreadcrumbHandler","_getHistoryBreadcrumbHandler","_getSentryBreadcrumbHandler","breadcrumbsIntegration","dom","_isEvent","status_code","parsedLoc","parsedFrom","parsedTo","_dedupeIntegration","previousEvent","currentEvent","dedupeIntegration","_isSameMessageEvent","_isSameExceptionEvent","currentMessage","previousMessage","_isSameFingerprint","_isSameStacktrace","previousException","_getExceptionFromEvent","currentException","currentFrames","_getFramesFromEvent","previousFrames","frameA","frameB","currentFingerprint","previousFingerprint","_globalHandlersIntegration","_installGlobalOnErrorHandler","globalHandlerLog","_installGlobalOnUnhandledRejectionHandler","globalHandlersIntegration","getOptions","_eventFromIncompleteOnError","_enhanceEventWithInitialFrame","_getUnhandledRejectionError","_eventFromRejectionWithPrimitive","ERROR_TYPES_RE","groups","ev","ev0","ev0s","ev0sf","_httpContextIntegration","referrer","httpContextIntegration","DEFAULT_KEY","DEFAULT_LIMIT","_linkedErrorsIntegration","linkedErrorsIntegration","DEFAULT_EVENT_TARGET","_browserApiErrorsIntegration","_wrapTimeFunction","_wrapRAF","_wrapXHR","eventTargetOption","_wrapEventTarget","browserApiErrorsIntegration","originalCallback","wrapOptions","globalObject","eventName","wrappedEventHandler","originalEventHandler","getDefaultIntegrations","startSessionTracking","init$1","reactRouterV6Instrumentation","useEffect","useLocation","useNavigationType","createRoutesFromChildren","matchRoutes","stripBasename","initPathName","Subscribable","isServer","functionalUpdate","updater","isValidTimeout","timeUntilStale","updatedAt","staleTime","resolveStaleTime","resolveEnabled","matchQuery","filters","exact","fetchStatus","predicate","queryKey","stale","hashQueryKeyByOptions","partialMatchKey","isActive","matchMutation","mutation","mutationKey","hashKey","replaceEqualDeep","isPlainArray","aItems","aSize","bItems","bSize","equalItems","shallowEqualObjects","hasObjectPrototype","ctor","prot","sleep","replaceData","prevData","addToEnd","newItems","addToStart","skipToken","ensureQueryFn","fetchOptions","FocusManager","__privateAdd","_focused","_cleanup","_setup","__privateSet","__privateGet","setup","isFocused","focusManager","OnlineManager","_online","onOnline","onlineListener","offlineListener","online","onlineManager","defaultRetryDelay","failureCount","canFetch","networkMode","CancelledError","isCancelledError","createRetryer","isRetryCancelled","isResolved","continueFn","promiseResolve","promiseReject","outerResolve","outerReject","cancel","cancelOptions","cancelRetry","continueRetry","canContinue","canStart","pause","continueResolve","run","promiseOrValue","initialPromise","retry","retryDelay","shouldRetry","createNotifyManager","queue","transactions","notifyFn","batchNotifyFn","scheduleFn","schedule","originalQueue","notifyManager","Removable","_gcTimeout","newGcTime","Query","_Query_instances","_initialState","_revertState","_cache","_retryer","_defaultOptions","_abortSignalConsumed","getDefaultState","__privateMethod","dispatch_fn","setStateOptions","observer","abortController","addSignalProperty","fetchFn","queryFn","queryFnContext","onError","reducer","fetchState","initialDataUpdatedAt","QueryCache","_queries","queryHash","queryInMap","defaultedFilters","queries","Mutation","_Mutation_instances","_observers","_mutationCache","variables","restored","isPaused","_p","_o","_r","_q","_t","_s","MutationCache","_mutations","_mutationId","__privateWrapper","scopeFor","mutations","firstPendingMutation","foundMutation","pausedMutations","infiniteQueryBehavior","pages","oldPages","oldPageParams","currentPage","cancelled","fetchPage","param","page","maxPages","addTo","pageParamFn","getPreviousPageParam","getNextPageParam","oldData","remainingPages","pageParams","lastIndex","hasNextPage","hasPreviousPage","QueryClient","_queryCache","_queryDefaults","_mutationDefaults","_mountCount","_unsubscribeFocus","_unsubscribeOnline","cachedData","defaultedOptions","queryCache","refetchFilters","defaultedCancelOptions","promises","defaults","queryDefault","QueryObserver","_QueryObserver_instances","_client","_currentQuery","_currentQueryInitialState","_currentResult","_currentResultState","_currentResultOptions","_selectError","_selectFn","_selectResult","_lastQueryWithDefinedData","_staleTimeoutId","_refetchIntervalId","_currentRefetchInterval","_trackedProps","shouldFetchOnMount","executeFetch_fn","updateTimers_fn","shouldFetchOn","clearStaleTimeout_fn","clearRefetchInterval_fn","notifyOptions","prevOptions","prevQuery","updateQuery_fn","mounted","shouldFetchOptionally","updateStaleTimeout_fn","nextRefetchInterval","computeRefetchInterval_fn","updateRefetchInterval_fn","shouldAssignObserverCurrentProperties","onPropTracked","trackedResult","prevResult","prevResultState","prevResultOptions","queryInitialState","isPlaceholderData","fetchOnMount","fetchOptionally","errorUpdatedAt","selectError","placeholderData","isFetching","isPending","isLoading","isStale","nextResult","defaultNotifyOptions","shouldNotifyListeners","notifyOnChangeProps","notifyOnChangePropsValue","includedProps","typedKey","notify_fn","nextInterval","shouldLoadOnMount","optimisticResult","InfiniteQueryObserver","parentResult","isRefetching","isRefetchError","fetchDirection","isFetchNextPageError","isFetchingNextPage","isFetchPreviousPageError","isFetchingPreviousPage","MutationObserver","_MutationObserver_instances","_currentMutation","_mutateOptions","updateResult_fn","QueryClientContext","useQueryClient","queryClient","QueryClientProvider","jsx","IsRestoringContext","useIsRestoring","createValue","isReset","QueryErrorResetBoundaryContext","useQueryErrorResetBoundary","shouldThrowError","throwError","ensurePreventErrorBoundaryRetry","errorResetBoundary","useClearResetErrorBoundary","getHasError","throwOnError","ensureSuspenseTimers","shouldSuspend","fetchOptimistic","useBaseQuery","Observer","isRestoring","React.useSyncExternalStore","onStoreChange","unsubscribe","useQuery","useMutation","mutate","mutateOptions","useInfiniteQuery","bind","thisArg","toString","getPrototypeOf","kindOf","thing","kindOfTest","typeOfTest","isArray","isUndefined","isBuffer","isFunction","isArrayBuffer","isArrayBufferView","isNumber","isObject","isBoolean","isDate","isFile","isBlob","isFileList","isStream","isFormData","kind","isURLSearchParams","isReadableStream","isRequest","isResponse","isHeaders","forEach","allOwnKeys","findKey","_global","isContextDefined","caseless","assignValue","targetKey","extend","stripBOM","content","inherits","constructor","superConstructor","descriptors","toFlatObject","sourceObj","destObj","filter","propFilter","endsWith","searchString","toArray","isTypedArray","TypedArray","forEachEntry","pair","matchAll","regExp","isHTMLForm","toCamelCase","hasOwnProperty","reduceDescriptors","reducedDescriptors","descriptor","ret","freezeMethods","toObjectSet","arrayOrString","define","toFiniteNumber","ALPHA","DIGIT","ALPHABET","generateString","alphabet","isSpecCompliantForm","toJSONObject","reducedValue","isAsyncFn","_setImmediate","setImmediateSupported","postMessageSupported","callbacks","asap","utils$2","AxiosError","utils","customProps","axiosError","httpAdapter","isVisitable","removeBrackets","renderKey","dots","isFlatArray","predicates","toFormData","formData","metaTokens","visitor","defaultVisitor","indexes","useBlob","convertValue","exposedHelpers","build","encode","charMap","AxiosURLSearchParams","encoder","_encode","buildURL","serializeFn","serializedParams","hashmarkIndex","InterceptorManager","fulfilled","rejected","transitionalDefaults","URLSearchParams$1","FormData$1","Blob$1","platform$1","URLSearchParams","FormData","Blob","hasBrowserEnv","_navigator","hasStandardBrowserEnv","hasStandardBrowserWebWorkerEnv","platform","toURLEncodedForm","helpers","parsePropPath","arrayToObject","formDataToJSON","buildPath","isNumericKey","isLast","stringifySafely","rawValue","contentType","hasJSONContentType","isObjectPayload","_FormData","transitional","forcedJSONParsing","JSONRequested","strictJSONParsing","ignoreDuplicateOf","parseHeaders","rawHeaders","$internals","normalizeHeader","normalizeValue","parseTokens","tokensRE","isValidHeaderName","matchHeaderValue","isHeaderNameFilter","formatHeader","buildAccessors","accessorName","methodName","arg1","arg2","arg3","AxiosHeaders$1","valueOrRewrite","rewrite","self","setHeader","_value","_header","_rewrite","lHeader","setHeaders","matcher","deleted","deleteHeader","format","targets","asStrings","first","computed","accessors","defineAccessor","AxiosHeaders","mapped","headerValue","transformData","fns","isCancel","CanceledError","settle","validateStatus","parseProtocol","speedometer","samplesCount","bytes","timestamps","tail","firstSampleTS","chunkLength","startedAt","bytesCount","passed","throttle","freq","lastArgs","invoke","progressEventReducer","isDownloadStream","bytesNotified","_speedometer","progressBytes","inRange","progressEventDecorator","throttled","lengthComputable","asyncDecorator","isURLSameOrigin","msie","urlParsingNode","originURL","resolveURL","href","requestURL","cookies","expires","domain","secure","cookie","isAbsoluteURL","combineURLs","baseURL","relativeURL","buildFullPath","requestedURL","headersToObject","mergeConfig","config1","config2","getMergedValue","mergeDeepProperties","valueFromConfig2","defaultToConfig2","mergeDirectKeys","mergeMap","configValue","resolveConfig$1","newConfig","withXSRFToken","xsrfHeaderName","xsrfCookieName","auth","xsrfValue","isXHRAdapterSupported","xhrAdapter","_config","resolveConfig","requestData","requestHeaders","responseType","onUploadProgress","onDownloadProgress","onCanceled","uploadThrottled","downloadThrottled","flushUpload","flushDownload","done","onloadend","responseHeaders","timeoutErrorMessage","composeSignals","signals","controller","aborted","onabort","signal","streamChunk","chunk","chunkSize","pos","readBytes","iterable","readStream","stream","reader","trackStream","onProgress","onFinish","_onFinish","loadedBytes","isFetchSupported","isReadableStreamSupported","encodeText","test","supportsRequestStream","duplexAccessed","hasContentType","DEFAULT_CHUNK_SIZE","supportsResponseStream","resolvers","getBodyLength","resolveBodyLength","fetchAdapter","cancelToken","withCredentials","composedSignal","requestContentLength","_request","contentTypeHeader","isCredentialsSupported","isStreamResponse","responseContentLength","responseData","knownAdapters","renderReason","isResolvedHandle","adapter","adapters","nameOrAdapter","rejectedReasons","reasons","throwIfCancellationRequested","dispatchRequest","VERSION","validators","deprecatedWarnings","validator","formatMessage","opt","desc","assertOptions","schema","allowUnknown","validator$2","Axios$1","instanceConfig","configOrUrl","dummy","paramsSerializer","contextHeaders","requestInterceptorChain","synchronousRequestInterceptors","interceptor","responseInterceptorChain","chain","onFulfilled","onRejected","fullPath","Axios","generateHTTPMethod","isForm","CancelToken$1","CancelToken","resolvePromise","_resolve","abort","spread","isAxiosError","HttpStatusCode","createInstance","axios","all","Cancel","formToJSON","getAdapter","useSyncExternalStoreWithSelector_production_min","withSelectorModule","ReactOriginal","ReactOriginal[\"default\"]","ContextKey","gT","getContext","contextMap","realContext","ReactReduxContext","notInitialized","createReduxContextHook","useReduxContext","useSyncExternalStoreWithSelector","initializeUseSelector","refEquality","createSelectorHook","useReduxContext2","useSelector2","equalityFnOrOptions","equalityFn","devModeChecks","store","subscription","getServerState","stabilityCheck","identityFunctionCheck","wrappedSelector","selectedState","useSelector","defaultNoopBatch","createListenerCollection","last","listeners","isSubscribed","nullListeners","createSubscription","parentSub","subscriptionsAmount","selfSubscribed","addNestedSub","trySubscribe","cleanupListener","removed","tryUnsubscribe","notifyNestedSubs","handleChangeWrapper","trySubscribeSelf","tryUnsubscribeSelf","canUseDOM","isReactNative","useIsomorphicLayoutEffect","Provider","serverState","previousState","Context","Provider_default","createStoreHook","useStore2","useStore","createDispatchHook","useDispatch2","useDispatch","useSyncExternalStoreWithSelector2","Action","PopStateEventType","createBrowserHistory","createBrowserLocation","globalHistory","pathname","createLocation","createBrowserHref","createPath","getUrlBasedHistory","invariant","cond","createKey","getHistoryState","parsePath","parsedPath","hashIndex","searchIndex","getLocation","createHref","validateLocation","v5Compat","getIndex","handlePop","history","push","historyState","createURL","ResultType","immutableRouteKeys","isIndexRoute","route","convertRoutesToDataRoutes","routes","mapRouteProperties","parentPath","manifest","treePath","indexRoute","pathOrLayoutRoute","locationArg","basename","matchRoutesImpl","allowPartial","branches","flattenRoutes","rankRouteBranches","decoded","decodePath","matchRouteBranch","convertRouteMatchToUiMatch","loaderData","parentsMeta","flattenRoute","relativePath","meta","joinPaths","routesMeta","computeScore","_route$path","exploded","explodeOptionalSegments","segments","isOptional","restExploded","subpath","compareIndexes","paramRe","dynamicSegmentValue","indexRouteValue","emptySegmentValue","staticSegmentValue","splatPenalty","isSplat","initialScore","score","segment","branch","matchedParams","matchedPathname","remainingPathname","matchPath","normalizePathname","compiledParams","compilePath","pathnameBase","captureGroups","paramName","splatValue","caseSensitive","regexpSource","startIndex","nextChar","resolvePath","fromPathname","toPathname","resolvePathname","normalizeSearch","normalizeHash","getInvalidPathError","dest","getPathContributingMatches","getResolveToMatches","v7_relativeSplatPath","pathMatches","resolveTo","toArg","routePathnames","locationPathname","isPathRelative","isEmptyPath","routePathnameIndex","toSegments","hasExplicitTrailingSlash","hasCurrentTrailingSlash","paths","ErrorResponseImpl","statusText","internal","isRouteErrorResponse","validMutationMethodsArr","validMutationMethods","validRequestMethodsArr","validRequestMethods","redirectStatusCodes","redirectPreserveMethodStatusCodes","IDLE_NAVIGATION","IDLE_FETCHER","IDLE_BLOCKER","ABSOLUTE_URL_REGEX","defaultMapRouteProperties","TRANSITIONS_STORAGE_KEY","createRouter","routerWindow","detectErrorBoundary","dataRoutes","inFlightDataRoutes","dataStrategyImpl","defaultDataStrategy","patchRoutesOnNavigationImpl","future","unlistenHistory","subscribers","discoveredRoutesMaxSize","discoveredRoutes","savedScrollPositions","getScrollRestorationKey","getScrollPosition","initialScrollRestored","initialMatches","initialErrors","getInternalRouterError","getShortCircuitMatches","checkFogOfWar","initialized","errors","isRouteInitialized","fogOfWar","router","pendingAction","pendingPreventScrollReset","pendingNavigationController","pendingViewTransitionEnabled","appliedViewTransitions","removePageHideEventListener","isUninterruptedRevalidation","isRevalidationRequired","cancelledDeferredRoutes","cancelledFetcherLoads","fetchControllers","incrementingLoadId","pendingNavigationLoadId","fetchReloadIds","fetchRedirectIds","fetchLoadMatches","activeFetchers","deletedFetchers","activeDeferreds","blockerFunctions","pendingPatchRoutes","unblockBlockerHistoryUpdate","initialize","historyAction","blockerKey","shouldBlockNavigation","nextHistoryUpdatePromise","updateBlocker","blockers","updateState","startNavigation","restoreAppliedTransitions","_saveAppliedTransitions","persistAppliedTransitions","dispose","deleteFetcher","deleteBlocker","completedFetchers","deletedFetchersKeys","fetcher","subscriber","completeNavigation","_temp","_location$state","_location$state2","flushSync","isActionReload","isMutationMethod","actionData","mergeLoaderData","preventScrollReset","viewTransitionOpts","priorPaths","toPaths","getSavedScrollPosition","navigate","normalizedPath","normalizeTo","submission","normalizeNavigateOptions","currentLocation","nextLocation","userReplace","revalidate","interruptActiveLoads","saveScrollPosition","routesToUse","loadingNavigation","notFoundMatches","handleNavigational404","isHashChangeOnly","createClientSideRequest","pendingActionResult","findNearestBoundary","actionResult","handleAction","routeId","isErrorResult","getLoadingNavigation","shortCircuited","updatedMatches","handleLoaders","getActionDataForCommit","isFogOfWar","navigation","getSubmittingNavigation","discoverResult","discoverRoutes","boundaryId","handleDiscoverRouteError","actionMatch","getTargetMatch","callDataStrategy","isRedirectResult","normalizeRedirectLocation","startRedirectNavigation","isDeferredResult","boundaryMatch","overrideNavigation","fetcherSubmission","initialHydration","activeSubmission","getSubmissionFromNavigation","shouldUpdateNavigationState","getUpdatedActionData","matchesToLoad","revalidatingFetchers","getMatchesToLoad","cancelActiveDeferreds","updatedFetchers","markFetchRedirectsDone","updates","getUpdatedRevalidatingFetchers","abortFetcher","abortPendingFetchRevalidations","loaderResults","fetcherResults","callLoadersAndMaybeResolveData","redirect","findRedirect","processLoaderData","deferredData","didAbortFetchLoads","abortStaleFetchLoads","shouldUpdateFetchers","revalidatingFetcher","getLoadingFetcher","fetch","setFetcherError","handleFetcherAction","handleFetcherLoader","requestMatches","detectAndHandle405Error","existingFetcher","updateFetcherState","getSubmittingFetcher","fetchRequest","originatingLoadId","getDoneFetcher","revalidationRequest","loadId","loadFetcher","staleKey","doneFetcher","resolveDeferredData","isNavigation","_temp2","redirectLocation","isDocumentReload","redirectHistoryAction","formMethod","formAction","formEncType","fetcherKey","results","dataResults","callDataStrategyImpl","isRedirectDataStrategyResultResult","normalizeRelativeRoutingRedirectResponse","convertDataStrategyResultToDataResult","fetchersToLoad","currentMatches","loaderResultsPromise","fetcherResultsPromise","resolveNavigationDeferredResults","resolveFetcherDeferredResults","getFetcher","deleteFetcherAndUpdateState","markFetchersDone","doneKeys","landedId","yeetedKeys","getBlocker","blocker","newBlocker","blockerFunction","cancelledRouteIds","dfd","enableScrollRestoration","positions","getPosition","getKey","getScrollKey","partialMatches","isNonHMR","loadLazyRouteChildren","newMatches","addToFifoQueue","newPartialMatches","_internalSetRoutes","newRoutes","patchRoutes","patchRoutesImpl","isSubmissionNavigation","prependBasename","fromRouteId","relative","contextualMatches","activeRouteMatch","hasNakedIndexQuery","normalizeFormMethod","isFetcher","isValidMethod","getInvalidBodyError","rawFormMethod","stripHashFromPath","json","searchParams","convertFormDataToSearchParams","convertSearchParamsToFormData","getLoaderMatchesUntilBoundary","boundaryMatches","isInitialLoad","skipActionErrorRevalidation","currentUrl","nextUrl","actionStatus","shouldSkipRevalidation","navigationMatches","isNewLoader","currentRouteMatch","nextRouteMatch","shouldRevalidateLoader","isNewRouteInstance","fetcherMatches","fetcherMatch","shouldRevalidate","currentLoaderData","currentMatch","isNew","isMissingData","currentPath","loaderMatch","routeChoice","pendingRouteChildren","isPromise","_route$children","dataChildren","loadLazyRouteModule","lazyRoute","routeToUpdate","routeUpdates","lazyRouteProperty","isPropertyStaticallyDefined","_ref6","requestContext","loadRouteDefinitionsPromises","dsMatches","loadRoutePromise","shouldLoad","handlerOverride","callLoaderOrAction","staticContext","onReject","runHandler","abortPromise","actualHandler","handlerPromise","handlerError","dataStrategyResult","isDataWithResponseInit","_result$init2","_result$init","isDeferredData","_result$init3","_result$init4","_result$init5","_result$init6","trimmedMatches","normalizedLocation","isSameBasename","processRouteLoaderData","skipLoaderErrorBubbling","foundError","loaderHeaders","pendingError","newLoaderData","mergedLoaderData","_temp5","errorMessage","deferred","isRevalidatingLoader","unwrap","_window","transitions","sessionPositions","DataRouterContext","DataRouterStateContext","NavigationContext","LocationContext","RouteContext","RouteErrorContext","useInRouterContext","UNSAFE_invariant","useNavigate","isDataRoute","useNavigateStable","useNavigateUnstable","dataRouterContext","routePathnamesJson","UNSAFE_getResolveToMatches","activeRef","OutletContext","useOutlet","outlet","useParams","routeMatch","useRoutesImpl","dataRouterState","parentMatches","parentParams","parentPathnameBase","locationFromContext","parentSegments","_renderMatches","DefaultErrorComponent","useRouteError","preStyles","defaultErrorElement","RenderErrorBoundary","React.Component","errorInfo","RenderedRoute","routeContext","_dataRouterState","_future","renderedMatches","errorIndex","renderFallback","fallbackIndex","needsToRunLoader","shouldRenderHydrateFallback","errorElement","hydrateFallbackElement","getChildren","DataRouterHook","DataRouterStateHook","useDataRouterContext","hookName","useDataRouterState","useRouteContext","useCurrentRouteId","thisRoute","_state$errors","Navigate","isStatic","jsonPath","Outlet","Router","basenameProp","locationProp","staticProp","navigationContext","locationContext","trailingPathname","createSearchParams","getSearchParamsForLocation","locationSearch","defaultSearchParams","REACT_ROUTER_VERSION","createBrowserRouter","parseHydrationData","UNSAFE_mapRouteProperties","deserializeErrors","UNSAFE_ErrorResponseImpl","ErrorConstructor","ViewTransitionContext","FetchersContext","START_TRANSITION","startTransitionImpl","FLUSH_SYNC","flushSyncImpl","startTransitionSafe","flushSyncSafe","Deferred","RouterProvider","fallbackElement","setStateImpl","pendingState","setPendingState","vtContext","setVtContext","renderDfd","setRenderDfd","setTransition","interruption","setInterruption","fetcherData","v7_startTransition","optInStartTransition","isViewTransitionUnavailable","renderPromise","routerFuture","UNSAFE_DataRouterContext","UNSAFE_DataRouterStateContext","MemoizedDataRoutes","DataRoutes","UNSAFE_useRoutesImpl","useSearchParams","defaultInit","defaultSearchParamsRef","hasSetSearchParamsRef","setSearchParams","nextInit","navigateOptions","newSearchParams","formatProdErrorMessage","$$observable","symbol_observable_default","randomString","ActionTypes","actionTypes_default","createStore","preloadedState","enhancer","currentReducer","currentListeners","nextListeners","listenerIdCounter","isDispatching","ensureCanMutateNextListeners","getState","listenerId","dispatch","replaceReducer","nextReducer","observable","outerSubscribe","observeState","observerAsObserver","assertReducerShape","reducers","combineReducers","reducerKeys","finalReducers","finalReducerKeys","shapeAssertionError","hasChanged","previousStateForKey","nextStateForKey","applyMiddleware","middlewares","createStore2","middlewareAPI","isAction","NOTHING","DRAFTABLE","DRAFT_STATE","die","isDraft","isDraftable","isMap","isSet","objectCtorString","Ctor","each","iter","getArchtype","has","set","propOrOldValue","is","latest","shallowCopy","strict","isPlain","freeze","deep","isFrozen","dontMutateFrozenCollections","plugins","getPlugin","pluginKey","plugin","createScope","parent_","immer_","usePatchesInScope","patchListener","revokeScope","leaveScope","revokeDraft","enterScope","immer2","draft","processResult","baseDraft","finalize","maybeFreeze","rootScope","childValue","finalizeProperty","resultEach","isSet2","parentState","targetObject","rootPath","targetIsSet","createProxyProxy","traps","objectTraps","arrayTraps","revoke","proxy","readPropFromProto","prepareCopy","createProxy","getDescriptorFromProto","current2","markChanged","owner","Immer2","recipe","defaultBase","base2","hasError","ip","patches","inversePatches","patch","applyPatchesImpl","currentImpl","immer","produce","createThunkMiddleware","extraArgument","thunk","withExtraArgument","composeWithDevTools","createAction","prepareAction","actionCreator","Tuple","_Tuple","freezeDraftable","createNextState","emplace","buildGetDefaultMiddleware","immutableCheck","serializableCheck","actionCreatorCheck","middlewareArray","thunkMiddleware","SHOULD_AUTOBATCH","createQueueWithTimer","autoBatchEnhancer","notifying","shouldNotifyAtEndOfTick","notificationQueued","queueCallback","notifyListeners","listener2","wrappedListener","buildGetDefaultEnhancers","middlewareEnhancer","autoBatch","enhancerArray","configureStore","getDefaultMiddleware","devTools","enhancers","rootReducer","isPlainObject2","finalMiddleware","finalCompose","compose2","getDefaultEnhancers","storeEnhancers","composedEnhancer","executeReducerBuilderCallback","builderCallback","actionsMap","actionMatchers","defaultCaseReducer","builder","typeOrActionCreator","isStateFunction","createReducer","initialState","mapOrBuilderCallback","finalActionMatchers","finalDefaultCaseReducer","getInitialState","frozenInitialState","caseReducers","reducer2","cr","caseReducer","isDraft2","isDraftable2","createNextState2","asyncThunkSymbol","getType","actionKey","buildCreateSlice","creators","cAT","reducerPath","buildReducerCreators","reducerNames","contextMethods","name2","reducerName","reducerDefinition","reducerDetails","isAsyncThunkSliceReducerDefinition","handleThunkCaseReducerDefinition","handleNormalReducerDefinition","buildReducer","extraReducers","finalCaseReducers","sM","selectSelf","injectedSelectorCache","_reducer","makeSelectorProps","reducerPath2","injected","selectSlice","sliceState","getSelectors","selectState","selectorCache","wrapSelector","injectable","pathOpt","newReducerPath","rootState","createSlice","asyncThunk","payloadCreator","prepare","createNotation","maybeReducerWithPrepare","prepareCallback","isCaseReducerWithPrepareDefinition","settled","settingSlice","setYorkieIntelligence","setFileUpload","selectSetting","settingSlice$1","generateGetSettingsQueryKey","useGetSettingsQuery","settingStore","_defineProperties","_createClass","Constructor","protoProps","staticProps","subClass","superClass","excluded","sourceKeys","noOp","SnackbarContext","capitalise","originKeyExtractor","anchor","isDefined","_this$props$nodeRef","React__default","refA","refB","useMemo","refValue","_props$style","defaultEasing","createTransition","_ref$duration","_ref$easing","_ref$delay","formattedDuration","formattedDelay","getTranslateValue","transformValues","setTranslateValue","Slide","_props$direction","_props$timeout","useRef","handleRefIntermediary","updatePosition","useCallback","createElement","CheckIcon","WarningIcon","ErrorIcon","InfoIcon","defaultIconVariants","getAutoHideDuration","optionsDuration","propsDuration","isNumberOrNull","numberish","getTransitionDuration","types","shouldObjectMerge","makeStyles","_extends2","ComponentClasses","_getTransitionProps","_getTransitionProps2","getSlideDirection","toSnackbarAnchorOrigin","keepSnackbarClassKeys","containerClasses","noOp$1","snackbarId","argums","useLayoutEffect","Snackbar","autoHideDuration","_props$disableWindowB","disableWindowBlurListener","_props$SnackbarProps","SnackbarProps","timerAutoHide","setAutoHideTimer","autoHideDurationParam","handlePause","handleResume","handleMouseEnter","_root","classes$1","SnackbarContent","classes$2","MaterialDesignContent","componentOrFunctionAction","iconVariant","hideIconVariant","MaterialDesignContent$1","SnackbarItem","_useState","useState","collapsed","setCollapsed","handleExitedScreen","col","snack","allClasses","_props$Component","componentOrFunctionContent","otherSnack","cbName","_root$1","_rootDense","_left","_right","_center","indents","collapseWrapper","xsWidthMargin","styles$1","SnackbarContainer","_props$classes","combinedClassname","SnackbarContainer$1","isOptions","messageOrOptions","isMessage","SnackbarProvider","_Component","optsOrUndefined","preventDuplicate","hasSpecifiedKey","merger","compareFunction","inQueue","inView","snacks","popped","ignore","persistentCount","shouldCloseAll","toBeClosed","domRoot","_this$props$dense","_this$props$Component","Components","categ","existingOfCategory","snackbars","nomineeSnack","createPortal","useSnackbar","useErrorHandler","enqueueSnackbar","AuthContext","authSlice","setAccessToken","setRefreshToken","logout","selectAuth","authSlice$1","userSlice","setUserData","selectUser","userSlice$1","generateGetUserQueryKey","accessToken","useGetUserQuery","authStore","axiosInterceptorAdded","setAxiosInterceptorAdded","refreshToken","newAccessToken","useUpdateUserNicknameMutation","isCheckBoxInput","isDateObject","isNullOrUndefined","isObjectType","getEventValue","getNodeParentName","isNameInFieldArray","tempObject","prototypeCopy","isWeb","cloneObject","compact","get","isKey","stringToPath","tempPath","objValue","EVENTS","VALIDATION_MODE","INPUT_VALIDATION_RULES","HookFormContext","useFormContext","FormProvider","getProxyFormState","formState","localProxyFormState","isRoot","isEmptyObject","shouldRenderFormState","formStateData","_proxyFormState","updateFormState","convertToArrayPayload","shouldSubscribeByName","signalName","currentName","useSubscribe","useFormState","methods","_mounted","_localProxyFormState","generateWatchOutput","_names","formValues","isGlobal","fieldName","useWatch","updateValue","useController","shouldUnregister","isArrayField","_registerProps","_shouldUnregisterField","updateMounted","elm","appendErrors","validateAllFieldCriteria","getValidationModes","isWatched","isBlurEvent","watchName","iterateFieldsByAction","fields","fieldsNames","abortEarly","currentField","updateFieldArrayRootError","fieldArrayErrors","isFileInput","isRadioInput","isRegex","defaultResult","validResult","getCheckboxValue","defaultReturn","getRadioValue","getValidateError","getValueAndMessage","validationData","validateField","shouldUseNativeValidation","isFieldArray","minLength","validate","valueAsNumber","mount","setCustomValidity","isRadio","isCheckBox","isRadioOrCheckbox","appendErrorsCurry","getMinMaxMessage","exceedMax","maxLengthMessage","minLengthMessage","maxType","minType","exceedMin","maxOutput","minOutput","valueNumber","valueDate","convertTimeToDate","isTime","isWeek","maxLengthOutput","minLengthOutput","patternValue","validateError","validationResult","baseGet","updatePath","isEmptyArray","unset","childObject","createSubject","deepEqual","object1","object2","keys1","keys2","val1","val2","isMultipleSelect","live","objectHasFunction","markFieldsDirty","isParentNodeArray","getDirtyFieldsFromDefaultValues","dirtyFieldsFromValues","getDirtyFields","defaultValues","getFieldValueAs","valueAsDate","setValueAs","getFieldValue","getResolverOptions","_fields","criteriaMode","getRuleValue","ASYNC_FUNCTION","hasPromiseValidation","fieldReference","validateFunction","hasValidation","schemaErrorLookup","skipValidation","isTouched","isSubmitted","reValidateMode","unsetEmptyArray","createFormControl","_formState","_defaultValues","_formValues","_state","delayErrorCallback","_subjects","validationModeBeforeSubmit","validationModeAfterSubmit","shouldDisplayAllAssociatedErrors","_updateValid","shouldUpdateValid","isValid","_executeSchema","executeBuiltInValidation","_updateIsValidating","isValidating","_updateFieldArray","shouldSetValues","shouldUpdateFieldsAndState","fieldValues","touchedFields","_getDirty","updateErrors","_setErrors","updateValidAndValue","shouldSkipSetValueAs","setFieldValue","updateTouchAndDirty","fieldValue","shouldDirty","shouldRender","shouldUpdateField","isPreviousDirty","disabledField","isCurrentFieldPristine","isPreviousFieldTouched","shouldRenderByError","fieldState","previousFieldError","updatedFormState","executeSchemaAndUpdateState","shouldOnlyCheckValid","isFieldArrayRoot","isPromiseFunction","fieldError","_removeUnmounted","unregister","getValues","_getWatch","_getFieldArray","optionRef","checkboxRef","radioRef","trigger","setValues","fieldKey","cloneValue","isFieldValueUpdated","getCurrentFieldValue","_updateIsFieldValueUpdated","shouldSkipValidation","watched","previousErrorLookupResult","errorLookupResult","_focusInput","fieldNames","getFieldState","clearErrors","inputName","setError","currentError","currentRef","restOfErrorTree","watch","_updateDisabledField","register","disabledIsDefined","fieldRef","radioOrCheckbox","_focusError","_disableForm","handleSubmit","onValid","onInvalid","onValidError","resetField","_reset","keepStateOptions","updatedValues","cloneUpdatedValues","isEmptyResetValues","form","reset","useForm","_formControl","_values","isDirty","VisibilityIcon","eM","$","em","eu","er","es","en","eo","et","eE","eT","eF","eq","ew","eO","ey","eS","eP","eC","eK","eR","eN","eB","eA","eL","eI","eW","eQ","ez","e$","eV","eU","eD","eJ","eY","eX","eG","eZ","e_","eH","e5","e8","e1","e9","e4","e2","e3","ro","e7","rr","rt","ru","rm","rs","rp","rw","rC","rP","rx","ry","rV","rW","rK","rN","rz","rM","rB","generateCheckNameConflictQueryKey","useCheckNameConflictQuery","useTimeoutFn","ms","ready","clear","useDebounce","deps","ChangeNicknameModal","nickname","setNickname","debouncedNickname","setDebouncedNickname","conflictResult","updateUserNickname","handleNicknameChange","handleUpdateUserNickname","jsxs","FormContainer","TextFieldElement","AuthProvider","isSuccess","shouldChangeNickname","CodePairError","GuestRoute","isLoggedIn","userStore","PrivateRoute","ArrowBackIosNewIcon","EditIcon","VerticalSplitIcon","useUserPresence","presenceList","setPresenceList","updatePresences","presence","EditorModeType","editorSlice","setShareRole","setDoc","setClient","setCmView","selectEditor","editorSlice$1","workspaceSlice","setWorkspaceData","selectWorkspace","workspaceSlice$1","ShareRole","AccessTimeIcon","AddIcon","CloseIcon","ContentCopyIcon","DarkModeIcon","KeyboardArrowDownIcon","KeyboardArrowUpIcon","KeyboardDoubleArrowLeftIcon","KeyboardDoubleArrowRightIcon","LightModeIcon","LogoutIcon","ManageAccountsIcon","MoreVertIcon","PeopleIcon","RefreshIcon","SaveAltIcon","SendIcon","ShareIcon","SpaceDashboardIcon","ToggleOffIcon","ToggleOnIcon","documentSlice","setDocumentData","selectDocument","documentSlice$1","useCreateUploadUrlMutation","useUploadFileMutation","useExportFileMutation","exportType","fileName","useFileExport","editorStore","documentStore","exportFileMutation","handleExportFile","markdown","documentName","contentDisposition","fileNameMatch","blob","link","DownloadMenu","handleExportToPDF","handleExportToHTML","handleExportToMarkdown","invitationExpiredStringList","hookCallback","hooks","setHookCallback","hasOwnProp","arrLen","createUTC","locale","createLocalOrUTC","defaultParsingFlags","getParsingFlags","some","fun","flags","parsedParts","isNowValid","createInvalid","momentProperties","updateInProgress","copyConfig","momentPropertiesLen","Moment","isMoment","warn","deprecate","firstTime","argLen","deprecations","deprecateSimple","mergeConfigs","parentConfig","childConfig","Locale","defaultCalendar","calendar","mom","zeroFill","number","targetLength","forceSign","absNumber","zerosToFill","sign","formattingTokens","localFormattingTokens","formatFunctions","formatTokenFunctions","addFormatToken","padded","ordinal","removeFormattingTokens","makeFormatFunction","formatMoment","expandFormat","replaceLongDateFormatTokens","defaultLongDateFormat","longDateFormat","formatUpper","tok","defaultInvalidDate","invalidDate","defaultOrdinal","defaultDayOfMonthOrdinalParse","defaultRelativeTime","relativeTime","withoutSuffix","isFuture","pastFuture","normalizeUnits","units","normalizeObjectUnits","inputObject","normalizedInput","normalizedProp","priorities","getPrioritizedUnits","unitsObj","match1","match2","match3","match4","match6","match1to2","match3to4","match5to6","match1to3","match1to4","match1to6","matchUnsigned","matchSigned","matchOffset","matchShortOffset","matchTimestamp","matchWord","match1to2NoLeadingZero","match1to2HasZero","regexes","addRegexToken","strictRegex","isStrict","localeData","getParseRegexForToken","unescapeFormat","regexEscape","p3","p4","absFloor","toInt","argumentForCoercion","coercedNumber","addParseToken","tokenLen","addWeekParseToken","addTimeToArrayFromToken","isLeapYear","year","YEAR","MONTH","DATE","HOUR","MINUTE","SECOND","MILLISECOND","WEEK","WEEKDAY","daysInYear","getSetYear","makeGetSet","getIsLeapYear","keepTime","set$1","isUTC","month","date","stringGet","stringSet","prioritized","prioritizedLen","mod","indexOf","daysInMonth","modMonth","defaultLocaleMonths","defaultLocaleMonthsShort","MONTHS_IN_FORMAT","defaultMonthsShortRegex","defaultMonthsRegex","localeMonths","localeMonthsShort","handleStrictParse","monthName","llc","localeMonthsParse","setMonth","getSetMonth","getDaysInMonth","monthsShortRegex","computeMonthsParse","monthsRegex","cmpLenRev","shortPieces","longPieces","mixedPieces","shortP","longP","createDate","createUTCDate","firstWeekOffset","dow","doy","fwd","fwdlw","dayOfYearFromWeeks","week","weekday","localWeekday","weekOffset","dayOfYear","resYear","resDayOfYear","weekOfYear","resWeek","weeksInYear","weekOffsetNext","localeWeek","defaultLocaleWeek","localeFirstDayOfWeek","localeFirstDayOfYear","getSetWeek","getSetISOWeek","parseWeekday","parseIsoWeekday","shiftWeekdays","ws","defaultLocaleWeekdays","defaultLocaleWeekdaysShort","defaultLocaleWeekdaysMin","defaultWeekdaysRegex","defaultWeekdaysShortRegex","defaultWeekdaysMinRegex","localeWeekdays","weekdays","localeWeekdaysShort","localeWeekdaysMin","handleStrictParse$1","weekdayName","localeWeekdaysParse","getSetDayOfWeek","day","getSetLocaleDayOfWeek","getSetISODayOfWeek","weekdaysRegex","computeWeekdaysParse","weekdaysShortRegex","weekdaysMinRegex","minPieces","minp","shortp","longp","hFormat","kFormat","meridiem","lowercase","matchMeridiem","kInput","pos1","pos2","localeIsPM","defaultLocaleMeridiemParse","getSetHour","localeMeridiem","hours","minutes","isLower","baseConfig","locales","localeFamilies","globalLocale","commonPrefix","arr1","arr2","minl","normalizeLocale","chooseLocale","loadLocale","isLocaleNameSane","oldLocale","aliasedRequire","module","getSetGlobalLocale","getLocale","defineLocale","updateLocale","tmpLocale","listLocales","checkOverflow","extendedIsoRegex","basicIsoRegex","tzRegex","isoDates","isoTimes","aspNetJsonRegex","rfc2822","obsOffsets","configFromISO","allowTime","dateFormat","timeFormat","tzFormat","isoDatesLen","isoTimesLen","configFromStringAndFormat","extractFromRFC2822Strings","yearStr","monthStr","dayStr","hourStr","minuteStr","secondStr","untruncateYear","preprocessRFC2822","checkWeekday","weekdayStr","parsedInput","weekdayProvided","weekdayActual","calculateOffset","obsOffset","militaryOffset","numOffset","hm","configFromRFC2822","parsedArray","configFromString","currentDateArray","nowValue","configFromArray","currentDate","expectedWeekday","yearToUse","dayOfYearFromWeekInfo","weekYear","weekdayOverflow","curWeek","createLocal","skipped","stringLength","totalParsedInputLength","era","meridiemFixWrap","hour","isPm","configFromStringAndArray","tempConfig","bestMoment","scoreToBeat","currentScore","validFormatFound","bestFormatIsValid","configfLen","configFromObject","dayOrDate","createFromConfig","prepareConfig","configFromInput","prototypeMin","prototypeMax","pickBy","moments","ordering","isDurationValid","unitHasDecimal","orderLen","isValid$1","createInvalid$1","createDuration","Duration","years","quarters","months","weeks","days","seconds","isDuration","absRound","compareArrays","dontConvert","lengthDiff","diffs","offsetFromString","chunkOffset","cloneWithOffset","model","getDateOffset","getSetOffset","keepLocalTime","keepMinutes","localAdjust","addSubtract","getSetZone","setOffsetToUTC","setOffsetToLocal","setOffsetToParsedOffset","tZone","hasAlignedHourOffset","isDaylightSavingTime","isDaylightSavingTimeShifted","isLocal","isUtcOffset","isUtc","aspNetRegex","isoRegex","diffRes","parseIso","momentsDifference","positiveMomentsDifference","createAdder","period","dur","tmp","isAdding","updateOffset","subtract","isMomentInput","isNumberOrStringArray","isMomentInputObject","objectTest","propertyTest","propertyLen","arrayTest","dataTypeTest","isCalendarSpec","getCalendarFormat","myMoment","calendar$1","formats","sod","clone","isAfter","localInput","isBefore","isBetween","inclusivity","localFrom","localTo","isSame","inputMs","isSameOrAfter","isSameOrBefore","asFloat","that","zoneDelta","monthDiff","wholeMonthDiff","anchor2","adjust","toISOString","keepOffset","utc","inspect","zone","datetime","suffix","inputString","fromNow","toNow","newLocaleData","lang","MS_PER_SECOND","MS_PER_MINUTE","MS_PER_HOUR","MS_PER_400_YEARS","mod$1","dividend","divisor","localStartOfDate","utcStartOfDate","startOf","startOfDate","endOf","valueOf","unix","toDate","toObject","toJSON","isValid$2","parsingFlags","invalidAt","creationData","matchEraAbbr","matchEraName","matchEraNarrow","matchEraYearOrdinal","localeEras","eras","localeErasParse","eraName","abbr","narrow","localeErasConvertYear","getEraName","getEraNarrow","getEraAbbr","getEraYear","erasNameRegex","computeErasParse","erasAbbrRegex","erasNarrowRegex","abbrPieces","namePieces","narrowPieces","erasName","erasAbbr","erasNarrow","addWeekYearFormatToken","getter","getSetWeekYear","getSetWeekYearHelper","getSetISOWeekYear","getISOWeeksInYear","getISOWeeksInISOWeekYear","getWeeksInYear","weekInfo","getWeeksInWeekYear","weeksTarget","setWeekAll","dayOfYearData","getSetQuarter","getSetDayOfMonth","getSetDayOfYear","getSetMinute","getSetSecond","getSetMillisecond","parseMs","getZoneAbbr","getZoneName","createUnix","createInZone","preParsePostFormat","proto$1","get$1","listMonthsImpl","listWeekdaysImpl","localeSorted","shift","listMonths","listMonthsShort","listWeekdays","listWeekdaysShort","listWeekdaysMin","mathAbs","addSubtract$1","add$1","subtract$1","absCeil","bubble","monthsFromDays","monthsToDays","daysToMonths","as","makeAs","alias","asMilliseconds","asSeconds","asMinutes","asHours","asDays","asWeeks","asMonths","asQuarters","asYears","valueOf$1","clone$1","get$2","makeGetter","thresholds","substituteTimeAgo","relativeTime$1","posNegDuration","getSetRelativeTimeRounding","roundingFunction","getSetRelativeTimeThreshold","humanize","argWithSuffix","argThresholds","withSuffix","abs$1","toISOString$1","totalSign","ymSign","daysSign","hmsSign","proto$2","generateGetWorkspaceDocumentListQueryKey","workspaceId","generateGetDocumentQueryKey","documentId","useGetWorkspaceDocumentListQuery","pageParam","firstPage","lastPage","useGetDocumentQuery","useCreateDocumentMutation","useCreateWorkspaceSharingTokenMutation","useUpdateDocumentTitleMutation","clipboard","ShareModal","modalProps","shareUrl","setShareUrl","createWorkspaceSharingToken","handleCreateShareUrl","addedTime","moment","sharingToken","handleCopyShareUrl","SelectElement","expiredString","ShareButton","shareModalOpen","setShareModalOpen","handleShareModalOpen","Fragment","Text","clip","TextNode","RawTextCursor","skip","PartialTextCursor","LineCursor","TextLeaf","textLength","isLine","Line","sliceText","joined","appendText","mid","newLen","lineSep","part","endLine","childOpen","updated","totalLines","iA","iB","chA","chB","flat","maxChunk","minChunk","chunked","currentLines","currentLen","currentChunk","offsetValue","lineBreak","Line$1","isExtendingChar","isRegionalIndicator","ZWJ","findClusterBreak","forward","includeExtending","nextClusterBreak","prevClusterBreak","surrogateLow","surrogateHigh","codePointAt","codePointSize","countBefore","found","code0","code1","fromCodePoint","DefaultSplit","MapMode","ChangeDesc","sections","ins","posA","posB","individual","iterChanges","composeSets","mapSet","assoc","endA","ChangeSet","fromA","toA","fromB","_toB","ranges","resultSections","resultInserted","filteredSections","SectionIter","addSection","addInsert","changes","force","process","spec","sub","insert","insText","insLen","forceJoin","endB","setA","setB","mkSet","piece","sectionLen","insB","SelectionRange","change","EditorSelection","includeAssoc","mainIndex","which","bidiLevel","goalColumn","checkSelection","selection","docLength","nextID","Facet","compareInput","compare","enables","sameArray","FacetProvider","dependencies","facet","addresses","multi","depDoc","depSel","depAddrs","tr","ensureAll","newVal","compareArray","oldState","oldAddr","oldVal","getAddr","StateField","addrs","changed","addr","ensureAddr","dynamicFacetSlot","providers","providerAddrs","providerTypes","dynamic","depChanged","oldProviders","initField","createF","updateF","compareF","Prec_","prec","ext","PrecExtension","Prec","Compartment","CompartmentInstance","compartment","Configuration","compartments","dynamicSlots","address","staticValues","facets","newCompartments","flatten","oldFacets","extension","seen","known","languageData","allowMultipleSelections","lineSeparator","changeFilter","transactionFilter","transactionExtender","Annotation","AnnotationType","StateEffectType","StateEffect","mapping","effects","startState","annotations","scrollIntoView","ann","joinRanges","mergeTransaction","sequential","mapForA","mapForB","resolveTransactionInner","docSize","sel","asArray","resolveTransaction","specs","seq","extendTransaction","filterTransaction","back","filtered","extenders","none","CharCategory","nonASCIISingleCaseWordChar","wordChar","hasWordChar","makeCategorizer","wordChars","EditorState","computeSlot","require","conf","startValues","result1","newChanges","newMapped","mapBy","fieldInit","configuration","phrase","provider","at","cat","kA","kB","combineConfig","configs","RangeValue","Range","Range$1","cmpRange","Chunk","maxPoint","startAt","lo","newPos","curFrom","curTo","newFrom","newTo","RangeSet","chunkPos","nextLayer","updateSpec","filterFrom","filterTo","cur","LayerCursor","spill","RangeSetBuilder","chunks","HeapCursor","sets","oldSets","newSets","textDiff","comparator","minPointSize","sharedChunks","findSharedChunks","sideA","SpanCursor","sideB","sameValues","openRanges","openCount","lazySort","layer","newArrays","inA","shared","minPoint","rank","rangeIndex","heap","heapBubble","childIndex","findMinIndex","trackOpen","wasPoint","nextVal","startA","startB","dPos","clipEnd","foundPos","countColumn","tabSize","findColumn","COUNT","SET","StyleModule","finish","splitSelector","render","selectors","isKeyframes","local","isAt","modules","StyleSet","adoptedSet","adopted","mac","keyName","ignoreKey","getSelection","deepActiveElement","elt","hasSelection","clientRectsFor","textRange","isEquivalentPosition","off","targetNode","targetOff","scanFor","domIndex","flattenRect","windowRect","scrollRectIntoView","xMargin","yMargin","ltr","bounding","moveX","moveY","rectHeight","boundingHeight","movedX","movedY","scrollableParent","DOMSelectionState","domSel","anchorNode","focusNode","focusOffset","preventScrollSupported","focusPreventScroll","scratchRange","dispatchKey","getRoot","clearAttributes","atElementStart","isScrolledToBottom","DOMPos","precise","noChildren","ContentView","view","contentView","rm$1","_dom","after","bias","fromI","fromStart","toI","toEnd","prevEnd","andParent","childList","_rec","_event","ChildCursor","hasStart","openStart","openEnd","replaceRange","fromOff","toOff","breakAtStart","breakAtEnd","mergeChildrenInto","dLen","nav","ie_edge","ie_upto10","ie_11up","chrome","webkit","safari","ios","browser","MaxJoinLen","TextView","textDOM","_from","_to","textCoords","MarkView","_hasStart","detachFrom","inlineDOMAtPos","coordsInChildren","WidgetView","widget","custom","fromBack","WidgetBufferView","joinInlineInto","beforePos","afterPos","scan","fallbackRect","combineAttrs","noAttrs","attrsEq","keysA","keysB","updateAttrs","attrs","getAttrs","LineView","deco","cls","hack","totalWidth","textHeight","heightOracle","_other","docView","block","BlockWidgetView","_takeDeco","startSide","endSide","WidgetType","BlockType","Decoration","MarkDecoration","PointDecoration","getInclusive","LineDecoration","isReplace","widgetsEq","addRange","ContentBuilder","disallowBlockEffectsFor","wrapMarks","take","NullWidget","cursorBefore","cursorAfter","decorations","dynamicDecorationMap","Direction","LTR","RTL","dec","LowTypes","ArabicTypes","Brackets","BracketStack","charType","BidiRE","BidiSpan","maybe","isolatesEq","computeCharTypes","rFrom","rTo","isolates","outerType","iI","prevType","prevStrong","processBracketPairs","oppositeType","sI","br","sJ","embed","processNeutrals","beforeL","afterL","jI","fromJ","emitSpans","baseLevel","ourType","iCh","sameDir","isNum","localLevel","iScan","iso","upto","dirSwap","computeSectionOrder","computeOrder","trivialOrder","movedOver","moveVisually","spanI","spanEnd","nextI","nextSpan","autoDirection","clickAddsSelectionRange","dragMovesSelection$1","mouseSelectionStyle","exceptionSink","updateListener","inputHandler","focusChangeEffect","perLineTextDirection","nativeSelectionHidden","ScrollTarget","isSnapshot","logException","editable","nextPluginID","viewPlugin","ViewPlugin","domEventHandlers","domEventObservers","buildExtensions","eventObservers","provide","pluginInst","PluginInstance","editorAttributes","contentAttributes","outerDecorations","atomicRanges","bidiIsolatedRanges","getIsolatedRanges","fromDoc","toDoc","scrollMargins","getScrollMargins","styleModule","ChangedRange","toB","dI","rI","ViewUpdate","changedRanges","DocView","readCompositionAt","touchesComposition","composition","findCompositionRange","prevDeco","decoDiff","findChangedDeco","oldLength","cView","gaps","BlockGapWidget","compLine","fix","mustRead","fromPointer","activeElt","selectionNotFocus","betweenUneditable","inUneditable","rawSel","nextTo","nextToUneditable","nearbyTextNode","lineStart","newRange","domView","best","bestPos","childOff","contentWidth","isWider","widest","childRect","measure","charWidth","vs","allDeco","dynamicOuter","outerDeco","margins","targetRect","offsetWidth","offsetHeight","findCompositionNode","headPos","textNode","inv","parentView","startNode","startOffset","DecorationComparator$1","comp","inside","touched","groupAt","categorize","linePos","getdx","getdy","yOverlap","upTop","upBot","domPosAtCoords","closest","closestRect","closestX","closestY","closestOverlap","above","below","aboveRect","belowRect","dx","dy","domPosInText","clipX","closestOffset","closestDY","generalSide","posAtCoords","coords","docTop","docHeight","yOffset","halfLine","bounced","posAtCoordsImprecise","isSuspiciousSafariCaretResult","isSuspiciousChromeCaretResult","contentRect","into","blockAt","moveToLineBoundary","includeWrap","editorRect","moveByChar","by","byGroup","nextCat","moveVertically","startPos","goal","startY","startCoords","resolvedGoal","curY","charRect","skipAtomicRanges","atoms","moved","skipAtoms","oldPos","InputState","firefoxCopyCutHack","eventBelongsToEditor","computeHandlers","exists","modifierCodes","PendingKeys","EmacsyPendingKeys","mouseSelection","bindHandler","record","observers","dragScrollMargin","dragScrollSpeed","MouseSelection","startEvent","mustSelect","addsSelectionRange","isInPrimarySelection","getClickType","sy","dragMovesSelection","brokenClipboardAPI","capturePaste","doPaste","byLine","lastLinewiseCopy","lastLine","makeStyle","basicMouseSelection","mustFocus","mouseSel","rangeForClick","visual","insideY","findPositionSide","queryPos","BadMouseDetail","lastMouseDown","lastMouseDownCount","lastMouseDownTime","lastTime","startSel","startRange","removeRangeAround","inputState","dropText","direct","dropPos","draggedContent","del","files","finishFile","captureCopy","copiedRange","linewise","isFocusChange","focusChangeTransaction","focus","getEffect","updateForFocusChange","startViewHeight","appliedFirefoxHack","wrappingWhiteSpace","HeightOracle","lineWrapping","whiteSpace","lineHeights","newHeight","lineLength","knownHeights","MeasuredHeights","heights","BlockInfo","_content","QueryType","Epsilon","HeightMap","oracle","oldDoc","NodeBuilder","HeightMapText","brk","HeightMapBranch","HeightMapBlock","_height","_oracle","_type","_force","measured","HeightMapGap","firstLine","perLine","perChar","totalPerLine","guess","lineTop","linesAbove","singleHeight","rightTop","rightOffset","subQuery","rightStart","mergeGaps","rebalance","around","relevantWidgetHeight","breaks","heightRelevantDecoChanges","DecorationComparator","visiblePixelRange","paddingTop","parentRect","fullPixelRange","LineGap","gA","gB","viewState","wrapping","LineGapWidget","ViewState","IdScaler","guessWrapping","viewports","Viewport","BigScaler","scaleBlock","scrollTarget","contentChanges","heightChanges","prevHeight","scrollAnchor","updateLines","refresh","domRect","measureContent","paddingBottom","pixelViewport","dTop","dBottom","vp","viewportChange","marginTop","visibleTop","visibleBottom","viewHeight","topPos","mayMeasure","halfMargin","doubleMargin","addGap","structure","avoid","find","lineStructure","viewFrom","viewTo","marginHeight","bot","targetFrac","findFraction","spaceFrac","findPosition","marginWidth","fraction","stateDeco","ratio","counted","heightMap","vpHeight","domBase","scaler","bTop","bBottom","strs","darkTheme","baseThemeID","baseLightID","baseDarkID","lightDarkIDs","buildTheme","scopes","baseTheme$1","LineBreakPlaceholder","DOMReader","oldLen","nextView","isBlockElement","point","nextBreak","breakSize","fromView","isAtEnd","DOMPoint","DOMChange","typeOver","iHead","iAnchor","selPoints","selectionPoints","selectionFromPoints","offFrom","offTo","applyDOMChange","domChange","newSel","lastKey","preferredPos","preferredSide","findDiff","defaultTr","defaultInsert","applyDefaultInsert","userEvent","mainSel","replaced","compositionRange","rangeChanges","selOff","observeOptions","useCharData","DOMObserver","mut","wasChanged","safariSelectionRangeHack","keyCode","records","readSelection","handled","rec","childBefore","findChild","childAfter","curView","curAnchor","EditorView","trs","redrawn","attrsChanged","focusFlag","dispatchFocus","pendingKey","CachedOrder","hadFocus","prevSpecs","newPlugins","sDOM","scrollAnchorPos","scrollAnchorHeight","measuring","BadMeasure","editorAttrs","attrsFromFacet","contentAttrs","changedContent","changedEditor","div","initial","MaxBidiLine","fresh","lastDir","sources","currentPlatform","normalizeKeyName","ctrl","handleKeyEvents","runHandlers","getKeymap","keymap","Keymaps","bindings","buildKeymap","runScopeHandlers","storedPrefix","PrefixTimeout","bound","isPrefix","checkPrefix","command","preventDefault","stopPropagation","scopeObj","ourObj","full","binding","charCode","isChar","prevented","ran","runFor","cmd","baseName","shiftName","RectangleMarker","getBase","rectanglesForRange","wrappedLine","lineElt","lineStyle","leftSide","rightSide","startBlock","endBlock","visualStart","visualEnd","pieces","drawForLine","drawForWidget","addSpan","fromOpen","toOpen","fromCoords","toCoords","endPos","docLine","spanFrom","spanTo","sameMarker","LayerView","layerOrder","markers","old","oldI","CanHidePrimary","selectionConfig","drawSelection","cursorLayer","selectionLayer","hideNativeSelection","getDrawSelectionConfig","configChanged","cursors","prim","confChange","setBlinkRate","themeSpec","setDropCursorPos","dropCursorPos","drawDropCursor","cursorPos","outer","dropCursor","iterMatches","matchRanges","visible","MatchDecorator","regexp","decoration","decorate","_view","changeFrom","changeTo","updateFrom","updateTo","fromLine","toLine","UnicodeRegexpSupport","Specials","Names","_supportsTabSize","supportsTabSize","specialCharConfig","highlightSpecialChars","specialCharPlugin","_plugin","TabWidget","SpecialCharWidget","DefaultPlaceholder","placeholder$1","highlightActiveLine","activeLineHighlighter","lineDeco","lastLineStart","MaxOff","rectangleFor","startLine","startOff","endOff","startCol","endCol","absoluteColumn","getPos","rectangleSelectionStyle","newStart","newLine","_extend","rectangularSelection","showCrosshair","crosshairCursor","isDown","Outside","TooltipViewManager","createTooltipView","removeTooltipView","tooltips","tooltipViews","newAbove","tip","tooltipView","windowSpace","tooltipConfig","knownHeight","tooltipPlugin","showTooltip","tooltip","shouldMeasure","editor","makeAbsolute","tv","space","others","tView","arrowHeight","noOffset","spaceVert","arrowLeft","showHoverTooltip","HoverTooltipHost","hostedView","given","showHoverTooltipHost","HoverPlugin","setHover","hoverTime","hovered","lastMove","posCoords","bidi","rtl","isInTooltip","isOverRange","tooltipMargin","docBottom","hoverTooltip","hoverState","closeHoverTooltipEffect","getTooltip","panelConfig","topContainer","bottomContainer","getPanel","panel","panelPlugin","showPanel","PanelGroup","panels","curDOM","GutterMarker","gutterLineClass","activeGutters","gutter","gutters","unfixGutters","gutterView","SingleGutterView","vpA","vpB","vpOverlap","detach","lineClasses","classSet","UpdateContext","advanceCursor","cx","collect","newElt","GutterElement","extraMarkers","localMarkers","forLine","prevMarkers","sameMarkers","domPos","iNew","iOld","skipTo","lineNumberMarkers","lineNumberConfig","NumberMarker","formatNumber","lineNumberGutter","maxLineNumber","spacer","lineNumbers","activeLineGutterMarker","activeLineGutterHighlighter","highlightActiveLineGutter","DefaultBufferLength","nextPropID","NodeProp","NodeType","MountedTree","tree","noProps","NodeSet","newTypes","CachedNode","CachedInnerNode","IterMode","Tree","TreeCursor","TreeNode","resolveNode","stackIterator","leave","anon","entered","balanceRange","buildTree","FlatBufferCursor","TreeBuffer","pick","checkSide","startI","endI","BaseNode","matchNodeContext","_tree","_parent","BufferNode","BufferContext","hasChild","rPos","parentStart","iterStack","heads","picked","newHeads","StackIterator","layers","mustLeave","nodeSet","maxBufferLength","reused","minRepeatType","contextHash","lookAhead","takeNode","minPos","inRepeat","lookAheadAtStart","findBufferSize","copyToBuffer","localChildren","localPositions","localInRepeat","lastGroup","lastEnd","makeRepeatLeaf","takeFlatNode","make","makeBalanced","makeTree","nodeCount","stopAt","lastI","lookAheadProp","fork","minStart","nodeSize","localSkipped","nodeStart","bufferStart","nodeSizeCache","balanceType","mkTop","mkTree","maxChild","divide","groupFrom","groupStart","groupSize","nextSize","NodeWeakMap","TreeFragment","fragments","partial","minGap","fI","nextF","cI","nextC","nextPos","cut","fFrom","fTo","Parser$2","StringInput","parseMixed","nest","MixedParse","InnerParse","checkRanges","ActiveOverlay","mounts","stoppedInner","fragmentCursor","FragmentCursor","covered","isCovered","checkCover","materialize","oldMounts","punchRanges","enterFragments","sliceBuf","newStack","innerOffset","stackPos","targetI","StructureCursor","FragmentCursor$2","frag","gapFrom","gapTo","findCoverChanges","inB","nextA","nextB","nextTagID","Tag","modified","nameOrParent","Modifier","nextModifierID","mods","powerSet","styleTags","byName","Rule","ruleNodeProp","tagHighlighter","tagClass","highlightTags","highlighters","highlighter","highlightTree","putStyle","HighlightBuilder","inheritedClass","getStyleTags","tagCls","innerHighlighters","rangeFrom","rangeTo","typeName","propertyName","literal","heading","keyword","operator","punctuation","bracket","languageDataProp","defineLanguageFacet","baseData","sublanguageProp","Language","extraExtensions","syntaxTree","language","topNodeAt","innerNode","sublang","explore","topLang","LRLanguage","ensureSyntaxTree","oldVieport","DocInput","stringStart","currentContext","ParseContext","treeLen","scheduleOn","until","cutFragments","startLen","Parser","frags","LanguageState","newCx","vpTo","parseState","requestIdle","idle","isInputPending","parseWorker","deadline","viewportFirst","languages","LanguageSupport","support","LanguageDescription","extensions","loadFunc","load","descs","fuzzy","indentService","indentUnit","getIndentUnit","indentString","cols","ts","getIndentation","IndentContext","service","syntaxIndentation","simulateBreak","simulateDoubleBreak","override","overriden","indentNodeProp","ast","indentFor","indentStrategy","TreeIndentContext","ignoreClosed","close","closed","delimitedStrategy","topIndent","atBreak","isParent","bracketedAligned","openToken","sim","openLine","lineEnd","delimitedIndent","closing","closedAt","aligned","flatIndent","continuedIndent","except","matchExcept","DontIndentBeyond","indentOnInput","indent","norm","foldService","foldNodeProp","foldInside","syntaxFolding","isUnfinished","foldable","mapRange","foldEffect","unfoldEffect","selectedLines","foldState","folded","foldExists","preparePlaceholder","foldConfig","PreparedFoldWidget","foldWidget","onSelection","findFold","maybeEnable","codeFolding","foldCode","announceFold","unfoldCode","fold","lineFrom","lineTo","foldAll","unfoldAll","foldKeymap","widgetToDOM","onclick","foldGutterDefaults","FoldMarker","foldGutter","fullConfig","canFold","canUnfold","HighlightStyle","modSpec","def","scopeOpt","highlighterFacet","fallbackHighlighter","getHighlighters","syntaxHighlighting","treeHighlighter","themeType","TreeHighlighter","styleChange","decoratedToMapped","defaultHighlightStyle","DefaultScanDist","DefaultBrackets","bracketMatchingConfig","defaultRenderMatch","matchingMark","nonmatchingMark","bracketMatchingState","matchBrackets","bracketMatchingUnique","bracketMatching","bracketMatchingHandle","matchingNodes","brackets","byProp","findHandle","hasHandle","maxScanDistance","handle","matchMarkedBrackets","matchPlainBrackets","_pos","matching","firstToken","endHandle","tokenType","startCh","startToken","basePos","countCol","startValue","StringStream","overrideIndent","consume","caseInsensitive","cased","noTokens","typeArray","warned","byTag","defaultTable","legacyName","createTokenType","warnForPart","tagStr","tags$1","toggleComment","getConfig","toggleLineComment","toggleBlockCommentByLine","changeLineComment","toggleBlockComment","changeBlockComment","selectedLineRanges","SearchMargin","findBlockComment","textBefore","textAfter","spaceBefore","spaceAfter","beforeOff","startText","endText","startSpace","endSpace","comments","prevLine","minIndent","empty","single","changeSet","fromHistory","isolateHistory","invertedEffects","historyConfig","changeEnd","historyField_","HistoryState","fromHist","HistEvent","updateBranch","addSelection","isolate","undo","redo","undoSelection","redoSelection","startSelection","selectionsAfter","invert","selections","newEvent","newBranch","isAdjacent","eqSelectionShape","conc","MaxSelectionsPerEvent","lastEvent","sels","popSelection","addMappingToBranch","mapEvent","extraSelections","mappedChanges","fullMapping","joinableUserEvent","undone","prevTime","prevUserEvent","newGroupDelay","historyKeymap","updateSel","setSel","moveSel","how","rangeEnd","cursorByChar","ltrAtCursor","cursorCharLeft","cursorCharRight","cursorCharBackward","cursorByGroup","cursorGroupLeft","cursorGroupRight","interestingNode","bracketProp","moveBySyntax","cursorSyntaxLeft","cursorSyntaxRight","cursorByLine","cursorLineUp","cursorLineDown","pageHeight","cursorByPage","scrollRect","cursorPageUp","cursorPageDown","moveByLineBoundary","cursorLineBoundaryForward","cursorLineBoundaryBackward","cursorLineBoundaryLeft","cursorLineBoundaryRight","cursorLineStart","cursorLineEnd","toMatchingBracket","cursorMatchingBracket","extendSel","selectByChar","selectCharLeft","selectCharRight","selectByGroup","selectGroupLeft","selectGroupRight","selectSyntaxLeft","selectSyntaxRight","selectByLine","selectLineUp","selectLineDown","selectByPage","selectPageUp","selectPageDown","selectLineBoundaryForward","selectLineBoundaryBackward","selectLineBoundaryLeft","selectLineBoundaryRight","selectLineStart","selectLineEnd","cursorDocStart","cursorDocEnd","selectDocStart","selectDocEnd","selectAll","selectLine","selectedLineBlocks","selectParentSyntax","simplifySelection","deleteBy","towards","skipAtomic","deleteByChar","targetPos","drop","deleteCharBackward","deleteCharForward","deleteByGroup","deleteGroupBackward","deleteGroupForward","deleteToLineEnd","deleteToLineStart","splitLine","transposeChars","blocks","moveLine","nextLine","moveLineUp","moveLineDown","copyLine","copyLineUp","copyLineDown","deleteLine","isBetweenBrackets","closedBy","insertNewlineAndIndent","newlineAndIndent","insertBlankLine","atEof","explode","changeBySelectedLine","atLine","indentSelection","indentMore","indentLess","keep","emacsStyleKeymap","standardKeymap","defaultKeymap","indentWithTab","crelt","basicNormalize","SearchCursor","baseFlags","RegExpCursor","MultilineRegExpCursor","toCharEnd","flattened","FlattenedDoc","cachedFrom","validRegExp","createLineDialog","dialogEffect","go","ln","dialogField","gotoLine","defaultHighlightOptions","highlightConfig","highlightSelectionMatches","matchHighlighter","matchDeco","mainMatchDeco","insideWordBoundaries","insideWord","word","selectWord","findNextOccurrence","fullWord","cycled","selectNextOccurrence","searchedText","searchConfigFacet","SearchPanel","SearchQuery","RegExpQuery","StringQuery","st","regexpCursor","stringCursor","stringWordTest","categorizer","bufPos","charBefore","charAfter","_result","regexpWordTest","setSearchQuery","togglePanel","searchState","SearchState","defaultQuery","createSearchPanel","matchMark","selectedMatchMark","searchHighlighter","searchCommand","openSearchPanel","findNext","announceMatch","selectSearchInput","findPrevious","selectMatches","selectSelectionMatches","replaceNext","replaceAll","announceText","fallback","selText","getSearchInput","searchInput","searchExtensions","closeSearchPanel","searchKeymap","AnnounceMargin","Break","CompletionContext","explicit","expr","ensureAnchor","toSet","chars","words","prefixMatch","completeFromList","validFor","ifNotIn","Option","completion","addStart","addEnd","pickedCompletion","insertCompletionText","SourceCache","asSource","startCompletionEffect","closeCompletionEffect","FuzzyMatcher","upper","any","byWord","firstSize","anyTo","preciseTo","byWordTo","byWordFolded","adjacentTo","adjacentStart","adjacentEnd","hasLower","wordAdjacent","StrictMatcher","completionConfig","defaultPositionInfo","joinClass","spaceLeft","spaceRight","infoWidth","infoHeight","spaceBelow","optionContent","_v","labelElt","detailElt","rangeAroundSelected","CompletionTooltip","stateField","applyCompletion","cState","infoResult","destroy","listRect","infoRect","selRect","curSection","section","completionTooltip","sortOptions","addOption","getMatch","sectionOrder","cmp","CompletionDialog","makeAttrs","selectedValue","createTooltip","CompletionState","ActiveSource","sameResults","setSelectedEffect","baseAttrs","getUpdateType","typing","explicitPos","setActiveEffect","ActiveResult","checkValid","completionState","apply","moveCompletionSelection","acceptCompletion","startCompletion","closeCompletion","RunningQuery","MaxUpdateCount","MinAbortTime","completionPlugin","doesReset","dialog","windows","commitCharacters","commitChars","FieldPos","FieldRange","Snippet","fieldPositions","lineObj","baseIndent","tabs","template","rawName","brace","fieldMarker","fieldRange","ActiveSnippet","moveToField","snippetState","fieldSelection","snippet","addSnippetKeymap","snippetPointerHandler","moveField","clearSnippet","nextSnippetField","prevSnippetField","defaultSnippetKeymap","snippetKeymap","maps","snippetCompletion","closeBracketEffect","closedBracket","bracketState","closeBrackets","definedClosing","android","insertBracket","deleteBracketPair","dont","prevChar","closeBracketsKeymap","handleSame","closedBracketAt","closeBefore","_open","allowTriple","stringPrefixes","canStartStringAt","probablyInString","quoteToken","prefixes","maxPrefix","quotePos","charCat","autocompletion","completionKeymapExt","completionKeymap","SelectedDiagnostic","diagnostic","LintState","diagnostics","markedDiagnostics","diagnosticFilter","lintConfig","DiagnosticWidget","findDiagnostic","hideTooltip","setDiagnosticsEffect","maybeEnableLint","lintState","lintExtensions","movePanelSelection","selPos","LintPanel","activeMark","lintTooltip","stackStart","stackEnd","diagnosticsTooltip","renderDiagnostic","openLintPanel","closeLintPanel","nextDiagnostic","lintKeymap","assignKeys","assigned","inPanel","fired","click","nameElt","PanelItem","onkeydown","needsSync","newSelectedItem","_start","_end","selectedIndex","svg","underline","UserPresenceList","popoverOpen","handleOpenPopover","handleClosePopover","handleScrollToUserLocation","MAX_VISIBLE_AVATARS","hiddenAvatars","renderAvatar","ThemeType","CodeKeyType","configSlice","setTheme","setDrawerOpen","setCodeKeyType","setDisableScrollSync","selectConfig","configSlice$1","useCurrentTheme","prefersDarkMode","DocumentPopover","themeMode","configStore","handleChangeTheme","handleScrollSyncChange","DocumentHeader","editorState","workspaceState","updateDocumentTitle","isEditingDisabled","moreButtonanchorEl","setMoreButtonAnchorEl","handleChangeMode","handleToPrevious","handleUpdateDocumentTitle","errorString","handleMoreButtonClick","handleDocumentMenuClose","DocumentLayout","MainLayout","ProfilePopover","handleLogout","handleMoveProfilePage","CodePairIcon","SettingHeader","profileAnchorEl","setProfileAnchorEl","handleOpenProfilePopover","handleCloseProfilePopover","handleToWorkspace","SettingLayout","generateGetWorkspaceQueryKey","workspaceSlug","generateGetWorkspaceListQueryKey","useGetWorkspaceQuery","useGetWorkspaceListQuery","useCreateWorkspaceMutation","useCreateWorkspaceInvitationTokenMutation","useJoinWorkspaceMutation","InfiniteScroll","parentElement","testOptions","loader","scrollEl","parentNode","renderProps","hasMore","initialLoad","isReverse","loadMore","pageStart","useCapture","useWindow","PropTypes","CreateModal","onSuccess","enableConflictCheck","handleCloseModal","handleCreate","WorkspaceListPopover","popoverProps","workspacePageList","fetchNextPage","createWorkspace","workspaceList","createWorkspaceModalOpen","setCreateWorkspaceModalOpen","moveToWorkspace","slug","handleMoveToSelectedWorkspace","handleCreateWorkspaceModalOpen","handleCreateWorkspace","workspace","DRAWER_WIDTH","COLLAPESED_DRAWER_WIDTH","WorkspaceHeader","workspaceStore","workspaceListAnchorEl","setWorkspaceListAnchorEl","handleOpenWorkspacePopover","handleCloseWorkspacePopover","WorkspaceDrawer","setHovered","menuList","handleDrawerOpen","WorkspaceDrawerHeader","menu","WorkspaceLayout","drawerOpen","socialLoginList","GithubLoginButton","Index","handleLogin","SocailLoginComponent","CallbackIndex","handleGoHome","avatarSize","ProfileIndex","isSubmitDisabled","DocumentCard","handleToDocument","WorkspaceIndex","documentPageList","createDocument","createDocumentModalOpen","setCreateDocumentModalOpen","documentList","handleCreateDocumentModalOpen","useLatest","storedValue","useDebounceCallback","leading","storedCallback","useEvent","storedListener","storedCleanup","targetEl","didUnsubscribe","emptyObj","wv","getSize","useWindowSize","initialWidth","initialHeight","setDebouncedSize","setSize","useWindowWidth","factory","this","__WEBPACK_EXTERNAL_MODULE_4__","installedModules","__webpack_require__","moduleId","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","runClearTimeout","draining","currentQueue","queueIndex","cleanUpNextTick","drainQueue","Item","makeEmptyFunction","validateFormat","condition","argIndex","_react","_react2","_interopRequireDefault","ScrollSyncContext","printWarning","_len2","_key2","REACT_ELEMENT_TYPE","throwOnDirectAccess","defineProperties","_propTypes","_propTypes2","_ScrollSyncContext","_ScrollSyncContext2","_classCallCheck","_possibleConstructorReturn","call","_inherits","ScrollSync","pane","scrolledPane","scrollHeight","clientHeight","scrollWidth","clientWidth","scrollTopOffset","scrollLeftOffset","proportional","paneHeight","paneWidth","ScrollSyncPane","_ScrollSync","_ScrollSyncPane","loggedTypeFailures","checkPropTypes","typeSpecs","getStack","typeSpecName","ITERATOR_SYMBOL","FAUX_ITERATOR_SYMBOL","getIteratorFn","maybeIterable","iteratorFn","ANONYMOUS","createPrimitiveTypeChecker","createAnyTypeChecker","createArrayOfTypeChecker","createElementTypeChecker","createInstanceTypeChecker","createNodeChecker","createObjectOfTypeChecker","createEnumTypeChecker","createUnionTypeChecker","createShapeTypeChecker","PropTypeError","createChainableTypeChecker","manualPropTypeCallCache","manualPropTypeWarningCount","checkType","isRequired","cacheKey","chainedCheckType","expectedType","propType","getPropType","preciseType","getPreciseType","typeChecker","expectedClass","expectedClassName","actualClassName","getClassName","expectedValues","valuesString","arrayOfTypeCheckers","checker","getPostfixForTypeWarning","isNode","shapeTypes","isSymbol","CompositeBlock","parentHash","Type","LeafBlock","skipSpace","skipForList","isOrderedList","isBulletList","isHorizontalRule","DefaultSkipMarkup","_cx","skipSpaceBack","isFencedCode","isBlockquote","breaking","isSetextUnderline","DefaultLeafBlocks","inList","isAtxHeading","EmptyLine","CommentEnd","ProcessingEnd","HTMLBlockStyle","isHTMLBlock","getListIndent","indentAfter","indented","addCodeText","DefaultBlockParsers","pendingMarks","codeStart","fenceEnd","infoFrom","infoTo","textStart","textEnd","newBase","endOfSpace","trailing","nodeType","LinkReferenceParser","leaf","parseLinkLabel","parseURL","parseLinkTitle","titleEnd","SetextHeadingParser","underlineMark","DefaultEndLeaf","scanLineResult","BlockContext","markI","taken","toRelative","textOffset","rangeI","nextFrom","eol","injectMarks","injectGaps","inline","TreeElement","Buffer","dummies","movePastNext","inclusive","reuse","MarkdownParser","blockParsers","leafBlockParsers","blockNames","endLeafBlock","skipContextMarkup","inlineParsers","inlineNames","wrappers","nonEmpty","nodeTypes","composite","findName","InlineContext","wrapA","wrapB","Buffer$1","elts","Element$3","Element","EmphasisUnderscore","EmphasisAsterisk","LinkStart","ImageStart","InlineDelimiter","Escapable","Punctuation","DefaultInline","escaped","curSize","procInst","pBefore","pAfter","sBefore","sAfter","leftFlanking","rightFlanking","canOpen","canClose","finishLink","requireNonWS","emp","closeSize","elements","NotLast","FragmentCursor$1","fragEnd","blockI","prevI","markdownHighlighting","leftOverSpace","parseCode","codeParser","htmlParser","infoNode","StrikethroughDelim","Strikethrough","parseRow","cellStart","cellEnd","esc","parseCell","hasPipe","delimiterLine","TableParser","lineText","firstRow","TaskParser","TaskList","autolinkRE","urlRE","lastTwoDomainWords","emailRE","xmppResourceRE","autolinkURLEnd","autolinkEmailEnd","Autolink","absPos","noBracket","GFM","parseSubSuper","Superscript","Subscript","Emoji","reducePos","bufferBase","curContext","StackContext","lookaheadRecord","dPrec","baseStateID","term","mustSink","mustMove","nextStart","nextEnd","SimulatedStack","nextStates","reduce","backup","rDepth","dialectID","tracker","goto","StackBufferCursor","decodeArray","digit","CachedToken","nullToken","InputStream","resolved","endOffset","nextChunk","TokenGroup","readToken","LocalTokenGroup","precTable","elseToken","ExternalTokenizer","precOffset","groupMask","dialect","accEnd","overrides","low","high","findOffset","tableData","tableOffset","iPrev","verbose","define_process_env_default","stackIDs","cutAt","fr","TokenCache","actionIndex","tokenizers","mask","tokenizer","Parse","stacks","newStacks","stopped","stoppedTokens","finished","findFinished","maxRemaining","strictCx","cxHash","defaultReduce","pushStackDedup","restarted","tokenEnd","forceBase","Dialect","ContextTracker","LRParser","nodeNames","topTerms","nodeProps","setProp","nodeID","propSpec","tokenArray","getSpecializer","loose","groupTag","terminal","flag","deflt","scriptText","StartCloseScriptTag","styleText","StartCloseStyleTag","textareaText","StartCloseTextareaTag","EndTag","SelfClosingEndTag","StartTag","StartScriptTag","StartStyleTag","StartTextareaTag","StartSelfClosingTag","StartCloseTag","NoMatchStartCloseTag","MismatchedStartCloseTag","missingCloseTag","IncompleteCloseTag","commentContent$1","TagName","Attribute","AttributeName","AttributeValue","UnquotedAttributeValue","ScriptText","StyleText","TextareaText","OpenTag","CloseTag","Dialect_noMatch","Dialect_selfClosing","selfClosers","implicitlyClosed","closeOnOpen","nameChar","isSpace","cachedName","cachedInput","cachedPos","tagNameAfter","question","bang","lessThan","greaterThan","slash","dash","ElementContext","startTagTerms","tagStart","commentContent","dashes","inForeignElement","endTag","selfClosing","contentTokenizer","textToken","endToken","lastState","matchedLen","scriptTokens","styleTokens","textareaTokens","htmlHighlighting","openTag","att","findTagName","tagNameNode","maybeNest","configureNesting","script","textarea","nameNode","descendantOp","Unit","callee","VariableName","colon","parenL","underscore","bracketL","backslash","newline","isAlpha","isDigit","identifiers","descendant","unitToken","cssHighlighting","spec_callee","spec_AtKeyword","spec_identifier","_properties","pseudoClasses","atRules","isVarArg","VariablesByNode","declSelector","astTop","variableNames","isVariable","defineCSSCompletionSource","isDash","cssCompletionSource","cssLanguage","noSemi","incdec","incdecPrefix","questionDot","JSXStartTag","insertSemi","spaces","LineComment","BlockComment","Dialect_jsx","braceR","semicolon","star","plus","minus","lt","comma","dot","trackNewline","insertSemicolon","noSemicolon","operatorToken","mayPostfix","identifierChar","jsHighlight","spec_word","spec_LessThan","snippets","typescriptSnippets","ScopeNodes","defID","functionContext","gatherCompletions","getScope","completions","gather","Identifier","dontComplete","localCompletionSource","isWord","javascriptLanguage","isCase","jsxSublanguage","typescriptLanguage","jsxLanguage","tsxLanguage","kwCompletion","keywords","typescriptKeywords","javascript","autoCloseTags","findOpenTag","elementName","closeTags","Targets","Charsets","Methods","Encs","Bool","Tags","GlobalAttrs","eventAttributes","Schema$1","extraTags","extraAttrs","Schema","findParentElement","allowedChildren","parentInfo","openTags","completeTag","completeCloseTag","completeStartTag","completeAttrName","localAttrs","attrName","completeAttrValue","quoteStart","quoteEnd","htmlCompletionFor","htmlCompletionSource","htmlCompletionSourceWith","jsonParser","defaultNesting","defaultAttrs","htmlPlain","endElt","htmlLanguage","insertTransaction","didType","headingProp","commonmark","isHeading","isList","findSectionEnd","headerNode","headerIndent","mkLang","commonmarkLanguage","extended","markdownLanguage","getCodeParser","defaultLanguage","Context$1","itemNumber","renumberList","normalizeIndent","blank","insertNewlineContinueMarkup","emptyLine","second","delTo","blankLine","quoted","continued","nonTightList","isMark","line1","line2","contextNodeForDelete","deleteMarkupBackward","spaceEnd","markdownKeymap","htmlNoMatch","codeLanguages","defaultCodeLanguage","addKeymap","completeHTMLTags","defaultCode","htmlTagCompletion","htmlTagCompletions","_tagCompletions","initVim","CodeMirror","Pos","updateSelectionForSurrogateCharacters","cm","curStart","curEnd","defaultKeymapLength","defaultExCommandMap","langmap","parseLangmap","enterVimMode","onCursorActivity","maybeInitVimState","getOnPasteFn","leaveVimMode","highlightTimeout","vim","offsetCursor","numberRegex","wordCharTest","bigWordCharTest","validMarks","validRegisters","latinCharRegex","upperCaseChars","isLowerCase","isMatchableSymbol","isUpperCase","isWhiteSpaceString","isEndOfSentenceSymbol","inArray","defineOption","setOption","cfg","getOption","createCircularJumpList","pointer","oldCur","newCur","curMark","useNextSlot","trashMark","markPos","cursorEqual","inc","oldPointer","createInsertModeChanges","MacroModeState","macroModeState","vimGlobalState","registerName","resetVimGlobalState","RegisterController","HistoryController","optionName","lastInsertModeKeyTimer","vimApi","InsertModeKey","lhs","rhs","exCommandDispatcher","actualLength","origLength","userKeymap","newMapping","updateLangmap","vimKeyFromEvent","exCommands","multiSelectHandleKey","cm_","handleMacroRecording","clearInputState","logKey","handleEsc","exitVisualMode","exitInsertMode","handleKeyInsertMode","keysAreChars","commandDispatcher","changeQueue","ChangeQueue","cursorMin","cursorMax","here","handleKeyNonInsertMode","keysMatcher","mainKey","doKeyToKey","defineMotion","defineAction","defineOperator","mapCommand","_mapCommand","defineRegister","keyToKeyStack","noremap","virtualPrompt","sendKeyToPrompt","vimToCmKeyMap","prompt","fromKey","noremapBefore","keyRe","wasInsert","sendCmKey","promptOptions","showPrompt","specialKey","ignoredKeys","langmapString","remapCtrl","getEscaped","pairs","repeat","Register","blockwise","registers","historyBuffer","keyMap","commandMatches","bestMatch","lastChar","copyArgs","updateCmSelection","visualMode","operatorMotionArgs","repeatIsExplicit","actionArgs","wholeWordOnly","getSearchState","promptPrefix","originalQuery","originalScrollPos","handleQuery","smartCase","updateSearchQuery","showConfirm","onPromptClose","logSearchQuery","onPromptKeyUp","parsedQuery","clearSearchHighlight","onPromptKeyDown","expandWordUnderCursor","isKeyword","escapeRegex","motion","motionArgs","operatorArgs","origHead","copyCursor","clipCursorToContent","origAnchor","oldHead","oldAnchor","newHead","newAnchor","motionResult","motions","jumpList","cachedCursor","recordJumpPosition","updateMark","cursorIsBefore","lastSel","lineOffset","chOffset","cmSel","newPositions","makeCmSelection","expandSelectionToLine","clipToLine","operatorMoveTo","operators","actionCommand","_head","getUserVisibleLines","findFirstNonWhiteSpaceCharacter","_cm","highlightSearchMatches","prevInputState","findNextFromAndToInclusive","getMarkPos","isWrongDirection","equal","cursorIsBetween","endCh","posV","hasMarkedText","moveToEol","lastCharCoords","goalCoords","resCoords","findParagraph","findSentence","scrollbox","orig","moveToWord","moveToCharacter","increment","recordLastCharacterSearch","findSymbol","moveToColumn","symbol","lineNum","mirroredPairs","selfPaired","selectCompanionObject","findBeginningAndEnd","repeated","expandTagUnderCursor","getSentence","expandSelection","lastSearch","fillArray","times","finalHead","_args","endRow","swapped","toLower","toSwap","cursorCoords","newBottom","charCoords","lineLastCharPos","lineLastCharCoords","executeMacroRegister","insertAt","newPosition","getLastEditPos","onKeyEventTargetKeyDown","selectForInsert","_actionArgs","lastSelection","updateLastSelection","finalCh","nextStartCh","curFinalPos","newlineFn","whitespaceLength","currentLine","chompedText","wasChomped","firstIndent","wspace","newIndent","quotient","curPosFinal","lastSelectionCurEnd","selectedArea","getSelectedAreaRange","selectionStart","selectionEnd","selectedText","emptyStrings","selectBlock","lastCh","extendLineToColumn","repeatFn","markName","replaceWith","replaceTo","replaceWithStr","replaceWithStrings","lineStr","numberStr","baseStr","digits","zeroPadding","lastEditInputState","repeatLastEdit","includeLineBreak","maxCh","offsetLine","offsetCh","commandMatch","pressed","isLastCharacter","isLastRegister","prefixLen","pressedPrefix","mappedPrefix","selectedCharacter","cur1","cur2","cur3","cur1before2","cur2before3","isClipped","curHead","primIndex","wasClipped","baseCh","headCh","newDir","lineHead","atAnchor","atHead","getCurrentSelectedAreaRange","getLastSelectedAreaRange","headOffset","fromCh","toCh","getHead","moveHead","firstNonWS","innerWord","bigWord","noSymbol","startLineNumber","endLineNumber","wordOnNextLine","findWord","wordEnd","startsWithSpace","wordStart","symbolToMode","findSymbolModes","symb","curCh","isComplete","lineLen","emptyLineIsWord","charTests","foundWord","eodCh","shortCircuit","firstWord","lastWord","keepHPos","retval","charIdxInLine","includeChar","isBoundary","lastSentencePos","reverse","curr_index","last_valid","skip_empty_lines","bracketRegexp","openSym","curChar","startBracket","endBracket","firstIndex","stringAfter","stringBefore","isStringStart","reversed","annotate","splitBySlash","argString","splitBySeparator","findUnescapedSlashes","findUnescapedSeparators","slashes","escapeNextChar","translateRegex","specials","unescape","specialComesNext","charUnescapes","translateRegexReplace","unescapes","unescapeRegexReplace","parseQuery","lastSearchRegister","regexPart","forceIgnoreCase","flagsPart","pre","makePrompt","shortText","regexEqual","r1","r2","rawQuery","searchOverlay","matchSol","lastEndPos","isInRange","scrollInfo","occludeToleranceTop","occludeToleranceBottom","bottomY","ExCommandDispatcher","opt_params","commandHistoryRegister","previousCommand","inputStream","commandName","numberMatch","offsetMatch","delim","defaultOnly","mapArgs","setArgs","setCfg","forceGet","forceToggle","optionIsBoolean","setOptionReturn","regArgs","regInfo","registerNames","unique","parseArgs","decimal","hex","octal","radix","numPart","textPart","matchPart","compareFn","amatch","bmatch","anum","bnum","comparePatternFn","textOld","inverted","matchedLines","nextCommand","lineHandle","replacePart","confirm","global","doReplace","sym","startMark","finishMark","searchCursor","lastPos","modifiedLineNumber","newText","unmodifiedLineNumber","findNextValidMatch","lastMatchTo","savedCallback","keepCursor","insertModeChangeRegister","isPlaying","lastChange","logInsertModeChange","keyBuffer","imc","repeatInsertModeChanges","changeObj","selectionCount","insertEnd","handleExternalSelection","repeatForInsert","lastAction","cachedInputState","repeatCommand","repeatInsert","changeObject","visualBlock","cloneVimState","isHandled","wasMultiselect","changeQueueList","indexFromPos","lineNumber","posFromIndex","on","emitter","signalTo","dispatchChange","note","runHistoryCommand","revert","changeStartIndex","cm6","openDialog","openNotification","tmpRanges","replacements","scanForBracket","bm","Marker","cm6Query","lastCM5Result","firstOffset","rCursor","nextMatch","ChunkSize","prevMatchInRange","endAt","startFrom","amount","pixels","scroller","curOp","hardWrap","findMatchingTag","findEnclosingTag","dialogDiv","closeNotification","doneTimer","hideDialog","showDialog","oldDialog","bracketRegex","where","maxScanLen","maxScanLines","lineNo","convertRange","cm6Range","allowMerge","findSpace","indentation","trimmedLine","trimmedNextLine","mergedLine","View.getDrawSelectionConfig","Piece","letter","BlockCursorPlugin","blinkRate","measureCursor","oldCursors","fatCursor","hCoeff","domAtPos","FIREFOX_LINUX","Vim","HighlightMargin","vimStyle","vimPlugin","showVimPanel","getCM","toRemove","textInDoc","forceEndComposition","sibling","savedSelection","vimPanelState","createVimPanel","statusPanel","basicSetup","initCrosshairCursor","keymaps","settings","themeOptions","baseStyle","activeLineGutterStyle","themeExtension","highlightStyle","defaultSettingsXcodeLight","xcodeLightStyle","xcodeLightInit","xcodeLight","defaultSettingsXcodeDark","xcodeDarkStyle","xcodeDarkInit","xcodeDark","FormatType","useFormatUtils","cmView","getFormatMarker","formatType","getFormatMarkerLength","markerSet","applyFormat","markerLength","beforeIdx","afterIdx","extendBefore","extendAfter","setKeymapConfig","toggleButtonChangeHandler","selectedFormats","onChangeToolBarState","newSelectedFormats","checkAndAddFormat","selectedTextStart","selectedTextEnd","useToolBar","toolBarState","setToolBarState","updateFormatBar","convertImageFilesToUrlList","fileList","uploadCallback","file","insertImageToEditor","imageUploader","urlList","Pair","createDocumentFragment","createTextNode","setAttributes","pair.forEach","appendChild","INTELLIGENCE_HEADER_ID","INTELLIGENCE_FOOTER_ID","IntelligencePivotWidget","cmView.WidgetType","selectionRange","dom.element","pair.create","IntelligencePivotPluginValue","cmState.RangeSet","selectedContent","cmView.Decoration","intelligencePivot","cmView.ViewPlugin","assertString","_typeof","invalidType","_assertString","alpha_1","alphanumeric","englishLocales","arabicLocales","_locale","farsiLocales","_locale2","_i2","bengaliLocales","_locale3","_i3","dotDecimal","commaDecimal","_i4","_i5","isFloat_1","isFloat","_alpha","float","toFloat","_isFloat","toBoolean","equals","comparison","_toString","_merge","require$$2","defaulContainsOptions","isByteLength","isFQDN","default_fqdn_options","tld","isIP","IPv4SegmentFormat","IPv4AddressFormat","IPv4AddressRegExp","IPv6SegmentFormat","IPv6AddressRegExp","isEmail","_isByteLength","_isFQDN","_isIP","require$$3","require$$4","default_email_options","splitNameAddress","emailUserPart","gmailUserPart","quotedEmailUser","emailUserUtf8Part","quotedEmailUserUtf8","defaultMaxEmailLength","validateDisplayName","display_name","display_name_without_quotes","contains_illegal","all_start_with_back_slash","display_email","lower_domain","username","_user_parts","noBracketdomain","user_parts","isURL","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","_arrayLikeToArray","default_url_options","wrapped_ipv6","checkHost","hostname","port_str","ipv6","_auth$split","_auth$split2","password","ipv6_match","isMACAddress","macAddress48","macAddress48NoSeparators","macAddress48WithDots","macAddress64","macAddress64NoSeparators","macAddress64WithDots","isIPRange","subnetMaybe","v4Subnet","v6Subnet","isValidIP","expectedSubnet","_createForOfIteratorHelper","allowArrayLike","it","normalCompletion","didErr","_e2","default_date_options","isValidFormat","zip","zippedArr","formatDelimiter","dateDelimiter","dateAndFormat","dateObj","_iterator","_step","_step$value","dateWord","formatWord","fullYear","parsedYear","currentYearLastTwoDigits","default_time_options","strictBooleans","looseBooleans","isLocale","extlang","region","singleton","privateuse","irregular","regular","grandfathered","langtag","languageTagRegex","isAbaRouting","isRoutingReg","checkSumVal","isAlpha_1","_str","isAlphanumeric_1","isAlphanumeric","isNumeric","numericNoSymbols","isPassportNumber","passportRegexByCountryCode","countryCode","normalizedStr","isInt","int","intLeadingZeroes","minCheckPassed","maxCheckPassed","ltCheckPassed","gtCheckPassed","isPort","_isInt","isLowercase","isUppercase","isIMEI","imeiRegexWithoutHypens","imeiRegexWithHypens","imeiRegex","sum","mul","tp","chk","isAscii","ascii","isFullWidth_1","isFullWidth","isHalfWidth_1","isHalfWidth","halfWidth","isVariableWidth","_isFullWidth","_isHalfWidth","isMultibyte","multibyte","multilineRegexp","regexpAsStringLiteral","isSemVer","_multilineRegex","semanticVersioningRegex","isSurrogatePair","surrogatePair","includes","arrVal","isDecimal","_includes","decimalRegExp","default_decimal_options","isHexadecimal","hexadecimal","isOctal","isDivisibleBy","_toFloat","isHexColor","hexcolor","isRgbColor","rgbColor","rgbaColor","rgbColorPercent","rgbaColorPercent","includePercentValues","isHSL","hslComma","hslSpace","strippedStr","isISRC","isrc","isIBAN_1","isIBAN","ibanRegexThroughCountryCode","hasOnlyValidCountryCodes","countryCodeArray","countryCodeArrayFilteredWithObjectIbanCode","hasValidIbanFormat","isoCountryCode","isoCountryCodeInIbanRegexCodeObject","isoCountryCodeInWhiteList","isoCountryCodeInBlackList","hasValidIbanChecksum","rearranged","alphaCapsReplacedWithDigits","remainder","isISO31661Alpha2_1","isISO31661Alpha2","validISO31661Alpha2CountriesCodes","isBIC","_isISO31661Alpha","isBICReg","isMD5","md5","isHash","lengths","algorithm","isBase64","notBase64","urlSafeBase64","defaultBase64Options","firstPaddingChar","isJWT","_isBase","dotSplit","currElem","isJSON","default_json_options","primitives","default_is_empty_options","isLength","presentationSequences","surrogatePairs","isUUID","uuid","isMongoId","_isHexadecimal","_toDate","comparisonDate","isIn","isLuhnNumber","sanitized","tmpNum","shouldDouble","isCreditCard","_isLuhnNumber","cards","allCards","tmpCardsArray","cardProvider","card","isIdentityCard","weightOfDigits","modulo","lastDigit","DNI","charsValue","controlDigits","checkDigits","idAsNumber","checkDigit","invertedArray","lastNumber","k1","k2","old_nic","new_nic","incNum","NIN","provincesAndCities","powers","parityBit","checkAddressCode","addressCode","checkBirthDayCode","birDayCode","yyyy","mm","xdata","getParityBit","idCardNo","id17","power","checkParityBit","check15IdCardNo","check18IdCardNo","checkIdCardNo","regexHKID","regexIsDigit","convertedChar","checkSumConverted","ALPHABET_CODES","isEAN","LENGTH_EAN_8","LENGTH_EAN_14","validEanRegex","getPositionWeightThroughLengthAndIndex","calculateCheckDigit","ean","checksum","partialSum","actualCheckDigit","isISIN","isin","double","_arr","_digit","isISBN","possibleIsbn10","possibleIsbn13","factor","isbn","sanitizedIsbn","isISSN","issn","testIssn","algorithms","iso7064Check","luhnCheck","reverseMultiplyAndSum","verhoeffCheck","checkvalue","product","d_table","p_table","str_copy","isTaxID","_interopRequireWildcard","_isDate","_getRequireWildcardCache","_toConsumableArray","_arrayWithoutHoles","_iterableToArray","_nonIterableSpread","bgBgCheck","tin","century_year","multip_lookup","isCanadianSIN","digitsArray","even","csCzCheck","full_year","checkdigit","deAtCheck","deDeCheck","occurences","trip_locations","recurrent","dkDkCheck","century_digit","weight","elCyCheck","elGrCheck","enIeCheck","enUsCampusPrefix","enUsGetPrefixes","enUsCheck","esArCheck","accum","verif","esEsCheck","lead_replace","lookup","etEeCheck","fiFiCheck","century_symbol","letters_lookup","frBeCheck","checkdigits","frFrCheck","frLuCheck","hrHrCheck","huHuCheck","itItNameCheck","vowelflag","xflag","itItCheck","number_locations","number_replace","_number_locations","month_replace","char_to_int","odd_convert","_i6","_char_to_int","multiplier","lvLvCheck","mtMtCheck","first_part","second_part","nlNlCheck","plPlCheck","_checksum","_i7","ptBrCheck","_sum","_i8","verificators","_i9","_i10","ptPtCheck","roRoCheck","multipliers","skSkCheck","slSiCheck","svSeCheck","tin_copy","current_year","current_century","ukUaCheck","taxIdFormat","taxIdCheck","allsymbols","sanitizeRegexes","strcopy","isMobilePhone_1","isMobilePhone","phones","phone","isEthereumAddress","eth","isCurrency","currencyRegex","decimal_digits","negative","whole_dollar_amount_without_sep","whole_dollar_amount_with_sep","valid_whole_dollar_amounts","whole_dollar_amount","decimal_amount","default_currency_options","isBtcAddress","bech32","base58","isISO6346_1","isISO6346","isISO6346Str","convertedCode","letterCode","checkSumDigit","isISO6391","isISO6391Set","isISO8601","iso8601","iso8601StrictSeparator","isValidDate","ordinalMatch","oYear","oDay","monthString","dayString","isRFC3339","dateFullYear","dateMonth","dateMDay","timeHour","timeMinute","timeSecond","timeSecFrac","timeNumOffset","timeOffset","partialTime","fullDate","fullTime","rfc3339","isISO31661Alpha3","validISO31661Alpha3CountriesCodes","isISO4217_1","isISO4217","validISO4217CurrencyCodes","isBase32","base32","crockfordBase32","defaultBase32Options","isBase58","base58Reg","isDataURI","validMediaType","validAttribute","validData","schemeAndMediaType","mediaType","isMagnetURI","magnetURIComponent","rtrim","strIndex","ltrim","_rtrim","_ltrim","isMailtoURI","_trim","_isEmail","parseMailtoQueryString","queryString","allowedParams","isParseFailed","queryParams","_q$split","_q$split2","_url$replace$split","_url$replace$split2","_url$replace$split2$","email","isMimeType","mimeTypeSimple","mimeTypeText","mimeTypeMultipart","isLatLong","lat","long","latDMS","longDMS","defaultLatLongOptions","isPostalCode_1","isPostalCode","threeDigit","fourDigit","fiveDigit","sixDigit","stripLow","_blacklist","keep_new_lines","whitelist","isWhitelisted","normalizeEmail","default_normalize_email_options","icloud_domains","outlookdotcom_domains","yahoo_domains","yandex_domains","dotsReplacer","raw_parts","isSlug","charsetRegex","isLicensePlate","isStrongPassword","upperCaseRegex","lowerCaseRegex","symbolRegex","countChars","curVal","analyzePassword","analysis","scorePassword","scoringOptions","isVAT_1","isVAT","AU","weights","ABN","CH","hasValidCheckNumber","calculatedCheckNumber","PT","vatMatchers","_toInt","_toBoolean","_equals","_contains","require$$5","_matches","require$$6","require$$7","_isURL","require$$8","_isMACAddress","require$$9","require$$10","_isIPRange","require$$11","require$$12","require$$13","_isTime","require$$14","_isBoolean","require$$15","_isLocale","require$$16","_isAbaRouting","require$$17","_isAlpha","require$$18","_isAlphanumeric","require$$19","_isNumeric","require$$20","_isPassportNumber","require$$21","_isPort","require$$22","_isLowercase","require$$23","_isUppercase","require$$24","_isIMEI","require$$25","_isAscii","require$$26","require$$27","require$$28","_isVariableWidth","require$$29","_isMultibyte","require$$30","_isSemVer","require$$31","_isSurrogatePair","require$$32","require$$33","require$$34","_isDecimal","require$$35","require$$36","_isOctal","require$$37","_isDivisibleBy","require$$38","_isHexColor","require$$39","_isRgbColor","require$$40","_isHSL","require$$41","_isISRC","require$$42","_isIBAN","require$$43","_isBIC","require$$44","_isMD","require$$45","_isHash","require$$46","_isJWT","require$$47","_isJSON","require$$48","_isEmpty","require$$49","_isLength","require$$50","require$$51","_isUUID","require$$52","_isMongoId","require$$53","_isAfter","require$$54","_isBefore","require$$55","_isIn","require$$56","require$$57","_isCreditCard","require$$58","_isIdentityCard","require$$59","_isEAN","require$$60","_isISIN","require$$61","_isISBN","require$$62","_isISSN","require$$63","_isTaxID","require$$64","_isMobilePhone","require$$65","_isEthereumAddress","require$$66","_isCurrency","require$$67","_isBtcAddress","require$$68","_isISO","require$$69","_isISO2","require$$70","_isISO3","require$$71","_isRFC","require$$72","require$$73","_isISO31661Alpha2","require$$74","_isISO4","require$$75","require$$76","_isBase2","require$$77","_isBase3","require$$78","_isDataURI","require$$79","_isMagnetURI","require$$80","_isMailtoURI","require$$81","_isMimeType","require$$82","_isLatLong","require$$83","_isPostalCode","require$$84","require$$85","require$$86","require$$87","_escape","require$$88","_unescape","require$$89","_stripLow","require$$90","_whitelist","require$$91","require$$92","_isWhitelisted","require$$93","_normalizeEmail","require$$94","_isSlug","require$$95","_isLicensePlate","require$$96","_isStrongPassword","require$$97","_isVAT","require$$98","isValidUrl","insertLinkToEditor","urlHyperlinkInserter","exports2","__defProp","__defNormalProp","Code$1","Code2","codeToString","ConnectError","outgoingDetails","cause","createMessage","typeOrRegistry","assert","FLOAT32_MAX","FLOAT32_MIN","UINT32_MAX","INT32_MAX","INT32_MIN","assertInt32","assertUInt32","assertFloat32","enumTypeSymbol","getEnumType","enumObject","setEnumType","makeEnumType","_opt","numbers","normalValues","normalizeEnumValue","no","makeEnum","Message","jsonString","bin","writer","_a2","makeMessageType","runtime","localName","varint64read","lowBits","highBits","middleByte","varint64write","byte","splitBits","hasMoreBits","TWO_PWR_32_DBL$1","int64FromString","add1e6digit","digit1e6","negate","newBits","int64ToString","bits","uInt64ToString","toUnsigned","digitA","digitB","digitC","decimalFrom1e7WithLeadingZeros","digit1e7","varint32write","varint32read","makeInt64Support","dv","MIN","MAX","UMIN","UMAX","assertInt64String","assertUInt64String","protoInt64","ScalarType","ScalarType2","LongType","LongType2","scalarEquals","scalarZeroValue","longType","isScalarZeroValue","WireType","WireType2","BinaryWriter","fieldNo","BinaryReader","textDecoder","wireType","wt","zze","makeExtension","extendee","createExtensionContainer","initExtensionField","filterUnknownFields","unknownFields","encTable","decTable","protoBase64","base64Str","bytePos","groupPos","base64","getExtension","assertExtendee","ufs","setExtension","readOpt","writeOpt","hasExtension","messageType","isFieldSet","clearField","implicitPresence","actualType","wrapField","jsonReadDefaults","jsonWriteDefaults","makeReadOptions$1","makeWriteOptions$1","tokenNull","tokenIgnoredUnknownEnum","makeJsonFormat","debugJsonValue","oneofSeen","jsonKey","readField$1","canEmitFieldDefaultValue","writeField$1","readScalar$1","emitDefaultValues","writeScalar$1","parentType","targetArray","jsonItem","enumValue","readEnum","targetMap","jsonMapKey","jsonMapValue","readMapKey","scalarValue","nullAsZeroValue","int32","uLong","ignoreUnknownFields","jsonObj","entryKey","entryValue","enumType","writeEnum","jsonArr","enumAsInteger","unknownFieldsSymbol","readDefaults","writeDefaults","makeReadOptions","makeWriteOptions","makeBinaryFormat","lengthOrEndTagFieldNo","delimitedMessageEncoding","readField","writeField","scalarType","readScalar","readScalarLTString","readMessageField","mapKey","mapVal","readMapEntry","delimited","writePacked","writeScalar","writeMessageField","writeMapEntry","keyValue","scalarTypeInfo","makeUtilCommon","member","sourceField","toU8Arr","mt","a2","cloneSingularField","makeProtoRuntime","syntax","newFieldList","initFields","InternalFieldList","normalizer","jsonName","localFieldName","protoName","inOneof","protoCamelCase","safeObjectProperty","safeMessageProperty","localOneofName","fieldJsonName","snakeCase","capNext","reservedObjectProperties","reservedMessageProperties","InternalOneofInfo","normalizeFieldInfos","fieldInfos","packedByDefault","_b2","_c2","_d2","_f2","ooname","proto3","MethodKind","MethodKind2","MethodIdempotency","MethodIdempotency2","Timestamp","nanosStr","longSeconds","Any","typeUrl","DoubleValue","FloatValue","Int64Value","UInt64Value","Int32Value","UInt32Value","BoolValue","StringValue","BytesValue","decodeBinaryHeader","makeAnyClient","createMethod","methodInfo","createEnvelopeReadableStream","encodeEnvelope","__asyncValues$1","verb","v2","__await$2","__asyncGenerator$2","_arguments","awaitReturn","resume","fulfill","__asyncDelegator$1","createAsyncIterable","__asyncValues","__await$1","__asyncDelegator","__asyncGenerator$1","createPromiseClient","createUnaryFn","createServerStreamingFn","createClientStreamingFn","createBiDiStreamingFn","handleStreamResponse","e_1","singleMessage","_g2","_h2","e_1_1","createLinkedAbortController","onAbort","getAbortSignalReason","createDeadlineSignal","timeoutMs","createContextValues","trailerFlag","trailerParse","headerContentType","headerTimeout","headerGrpcStatus","headerGrpcMessage","headerStatusDetailsBin","headerXUserAgent","headerXGrpcWeb","contentTypeProto","contentTypeJson","Status","grpcStatusOk","findTrailerError","headerOrTrailer","statusBytes","grpcStatus","createMethodUrl","baseUrl","normalizeIterable","applyInterceptors","interceptors","getJsonOptions","createClientMethodSerializers","useBinaryFormat","jsonOptions","binaryOptions","createBinarySerialization","createJsonSerialization","runUnaryCall","setupSignal","req","runStreamingCall","doneCalled","assertFetchApi","validateTrailer","trailer","requestHeader","userProvidedHeaders","setUserAgent","codeFromHttpStatus","validateResponse","__await","__asyncGenerator","createGrpcWebTransport","contextValues","_a3","_a4","message2","parseResponseBody","foundStatus","trailerTarget","header2","trailerReceived","createRequestBody","input2","fRes","ValueType","ValueType2","DocEventType$1","DocEventType2","_Snapshot","JSONElement","Presence$1","Snapshot","ChangePack$1","Checkpoint$1","Change$1","TimeTicket$1","VersionVector$1","ChangeID$1","Operation$1","PresenceChange","Operation_Set","Operation_Add","Operation_Move","Operation_Remove","Operation_Edit","Operation_Select","Operation_Style","Operation_Increase","Operation_TreeEdit","Operation_TreeStyle","Operation_ArraySet","_Operation_Set","JSONElementSimple","_Operation_Add","_Operation_Move","_Operation_Remove","_Operation_Edit","TextNodePos","_Operation_Select","_Operation_Style","_Operation_Increase","_Operation_TreeEdit","TreePos","TreeNodes","_Operation_TreeStyle","_Operation_ArraySet","_JSONElementSimple","_JSONElement","JSONElement_JSONObject","JSONElement_JSONArray","JSONElement_Primitive","JSONElement_Text","JSONElement_Counter","JSONElement_Tree","_JSONElement_JSONObject","RHTNode$1","_JSONElement_JSONArray","RGANode","_JSONElement_Primitive","_JSONElement_Text","_JSONElement_Counter","_JSONElement_Tree","_RGANode","_NodeAttr","NodeAttr","_TextNode","TextNodeID","_TextNodeID","_TreeNode","TreeNodeID","_TreeNodes","_TreeNodeID","_TreePos","_User","_Project","_UpdatableProjectFields","UpdatableProjectFields_AuthWebhookMethods","_UpdatableProjectFields_AuthWebhookMethods","_DocumentSummary","_PresenceChange","PresenceChange_ChangeType","PresenceChange_ChangeType2","_TextNodePos","_DocEventBody","DocEventBody","_DocEvent","DocEvent","_ActivateClientRequest","ActivateClientRequest","_ActivateClientResponse","ActivateClientResponse","_DeactivateClientRequest","DeactivateClientRequest","_DeactivateClientResponse","DeactivateClientResponse","_AttachDocumentRequest","AttachDocumentRequest","_AttachDocumentResponse","AttachDocumentResponse","_DetachDocumentRequest","DetachDocumentRequest","_DetachDocumentResponse","DetachDocumentResponse","_WatchDocumentRequest","WatchDocumentRequest","_WatchDocumentResponse","WatchDocumentResponse_Initialization","WatchDocumentResponse","_WatchDocumentResponse_Initialization","_RemoveDocumentRequest","RemoveDocumentRequest","_RemoveDocumentResponse","RemoveDocumentResponse","_PushPullChangesRequest","PushPullChangesRequest","_PushPullChangesResponse","PushPullChangesResponse","_BroadcastRequest","BroadcastRequest","_BroadcastResponse","BroadcastResponse","YorkieService","ErrorInfo","QuotaFailure_Violation","PreconditionFailure_Violation","BadRequest_FieldViolation","Help_Link","Code","YorkieError","deepcopy","stringifyObjectValues","parseObjectValues","PresenceChangeType","PresenceChangeType2","Presence","changeContext","InitialActorID","MaxActorID","TimeTicket","lamport","actorID","struct","InitialDelimiter","MaxDelemiter","MaxLamport","InitialTimeTicket","MaxTimeTicket","escapeString","CRDTElement","createdAt","movedAt","removedAt","CRDTContainer","ElementRHTNode","strKey","ElementRHT","executedAt","newNode","nodeByKey","CRDTObject","memberNodes","keySet","OpSource","OpSource2","Operation","parentCreatedAt","SplayNode","SplayTree","leftTree","rightTree","rightmostNode","leftBoundary","rightBoundary","nodesToFreeWeight","metaString","pivot","wasm","Long","unsigned","isLong","ctz32","INT_CACHE","UINT_CACHE","fromInt","cachedObj","fromBits","fromNumber","UZERO","ZERO","TWO_PWR_64_DBL","MAX_UNSIGNED_VALUE","TWO_PWR_63_DBL","MIN_VALUE","MAX_VALUE","TWO_PWR_32_DBL","pow_dbl","fromString","radixToPower","fromValue","TWO_PWR_16_DBL","TWO_PWR_24_DBL","TWO_PWR_24","ONE","UONE","NEG_ONE","LongPrototype","radixLong","rem1","rem","remDiv","intval","bit","thisNeg","otherNeg","addend","a48","a32","a16","a00","b48","b32","b16","b00","c48","c32","c16","c00","subtrahend","approx","halfThis","log2","approxRes","approxRem","numBits","PrimitiveType","PrimitiveType2","Primitive","primitiveType","primitive","intVal","doubleVal","uint8Array","longToBytes","dateVal","dateToBytes","RGATreeListNode","prevNext","RGATreeList","dummyValue","prevCreatedAt","prevNode","rgaNode","editedAt","alreadyRemoved","CRDTArray","RemoveOperation","reverseOp","parentObject","SetOperation","AddOperation","MoveOperation","RHTNode","isRemoved","RHT","gcNodes","node2","rht","CRDTTextValue","indexStart","indexEnd","attrsObj","CRDTText","rgaTreeSplit","maxCreatedAtMapByActor","crdtTextValue","caretPos","maxCreatedAtMap","valueChanges","toRight","fromRight","createdAtMapByActor","toBeStyleds","maxCreatedAt","maxCreatedAt2","fromIdx","toIdx","fromPos","EditOperation","toPos","StyleOperation","ElementPaddingSize","DefaultRootType","DefaultTextType","addSizeOfLeftSiblings","siblings","leftSibling","IndexTreeNode","childSize","ancestorOf","absOffset","leftValue","rightValue","rightNode","referenceNode","issueTimeTicket","leftChildren","rightChildren","ancestor","TokenType","TokenType2","tokensBetween","fromChild","toChild","startContained","endContained","traverseAll","findTreePos","preferText","findLeftmost","findTextPos","pathElement","IndexTree","treePos","sizeOfLeftSiblings","nextSibling","offsetOfNode","DefaultComparator","LLRBNode","isRed","SortedMapIterator","LLRBTree","smallest","CRDTTreePos","parentID","leftSiblingID","leftNode","CRDTTreeNodeID","idA","idB","CRDTTreeNode","childClone","alived","insNext","toTreeNode","treeNode","toXML","toTestTreeNode","CRDTTree","ticket","isLeftMost","realParent","allChildren","fromParent","fromLeft","toParent","toLeft","updatedAttrPairs","affectedAttrs","parentOfNode","previousNode","attributesToRemove","nodesTobeRemoved","rhtNode","contents","splitLevel","fromPath","nodesToBeRemoved","tokensToBeRemoved","toBeMovedToFromParents","ended","splitCount","aliveContents","leftInChildren","insPrevID","insNextID","insPrev","toTreeNodeInfo","leftChildNode","nodeInfo","leftChildNode2","offset2","candidates","rightToken","start2","end2","fromLeftTokenType","toLeftTokenType","lastChild","TreeEditOperation","toPath","VersionVector","vector","maxVector","currentLamport","maxLamport","otherLamport","copied","versionVector","InitialVersionVector","ChangeID","clientSeq","actor","serverSeq","maxVersionVector","newID","InitialChangeID","Change","operations","presenceChange","operation","presences","changeOpInfos","reverseOps","executionResult","opInfos","converter","changeID","ChangePack","checkpoint","snapshot","minSyncedTicket","Checkpoint","InitialCheckpoint","RGATreeSplitNodeID","InitialRGATreeSplitNodeID","RGATreeSplitPos","relativeOffset","RGATreeSplitNode","justRemoved","RGATreeSplit","nodesToDelete","removedNodes","caretID","removedNode","splitNode","preferToLeft","absoluteID","insPrevNode","fromNode","toNode","nodesToKeep","isRemote","leftEdge","rightEdge","boundaries","removeDecimal","CounterType","CounterType2","CRDTCounter","valueType","counterType","checkNumericType","IncreaseOperation","primitiveValue","TreeStyleOperation","toPresence","pbPresence","pbDataMap","toPresenceChange","toCheckpoint","toChangeID","toUint8Array","toVersionVector","toTimeTicket","pbVector","toValueType","toCounterType","toElementSimple","objectToBytes","arrayToBytes","treeToBytes","toTextNodeID","toTextNodePos","toTreePos","toTreeNodeID","treeNodeID","toOperation","pbOperation","setOperation","pbSetOperation","addOperation","pbAddOperation","moveOperation","pbMoveOperation","removeOperation","pbRemoveOperation","editOperation","pbEditOperation","pbCreatedAtMapByActor","pbAttributes","styleOperation","pbStyleOperation","increaseOperation","pbIncreaseOperation","treeEditOperation","pbTreeEditOperation","toTreeNodesWhenEdit","treeStyleOperation","pbTreeStyleOperation","attributesMap","toOperations","pbOperations","toChange","pbChange","toChanges","pbChanges","toRHTNodes","pbRHTNodes","toElement","toRGANodes","rgaTreeList","pbRGANodes","rgaTreeListNode","toTextNodes","pbTextNodes","pbTextNode","pbNodeAttrsMap","pbNodeAttr","pbTreeNodesList","toTreeNodes","toRHT","pbRHT","pbTreeNodes","pbTreeNode","pbElement","toPrimitive","toText","toCounter","toTree","toChangePack","pack","errorCodeOf","infos","fromChangeID","pbChangeID","toHexString","fromVersionVector","pbVersionVector","fromTimeTicket","pbTimeTicket","fromPresence","fromPresenceChange","pbPresenceChange","fromPresences","pbPresences","fromValueType","pbValueType","fromCounterType","fromElementSimple","pbElementSimple","bytesToObject","bytesToArray","bytesToTree","fromTextNodePos","pbTextNodePos","fromTextNodeID","pbTextNodeID","fromTextNode","textValue","fromTreePos","pbTreePos","fromTreeNodeID","pbTreeNodeID","fromTreeNodesWhenEdit","treeNodes","fromTreeNodes","fromTreeNode","depthTable","fromRHT","pbRHTNode","pbAttrs","fromOperation","fromOperations","fromChanges","fromCheckpoint","pbCheckpoint","fromChangePack","pbPack","fromObject","pbObject","fromElement","fromArray","pbArray","pbRGANode","fromPrimitive","pbPrimitive","fromText","pbText","pbNode","fromCounter","pbCounter","fromTree","pbTree","bytesToSnapshot","versionVectorToHex","bytesToHex","hexToVersionVector","hexToBytes","bytesToChangeID","bytesToOperation","LogLevel","LogLevel2","setLogLevel","messages","Attachment","reconnectStreamDelay","docID","syncMode","unsubscribeBroacastEvent","SyncMode","watchStreamCreator","doLoop","Noop","ObserverProxy","nextOrObserver","complete","unsub","createObservable","ChangeContext","reversePresence","CRDTRoot","rootObject","subPaths","createdAt2","subPath","parent2","deregisterElementInternal","minSyncedVersionVector","createJSONObject","objectProxy","ObjectProxy","keyOrMethod","toJSONElement","buildCRDTElement","members","createJSONArray","arrayProxy","ArrayProxy","isNumericString","isReadOnlyArrayMethod","receiver","toWrappedElement","prevID","deleteCount","searchElement","fromIndex","nextCreatedAt","removeds","removedElem","previousID","rangeAfterEdit","Counter","buildDescendants","validateTextNode","stringifiedAttributes","elementNode","createCRDTTreeNode","validateTreeNodes","initialRoot","maxCreationMapByActor","crdtNodes","compVal","crdtNode","indexRange","posRange","createJSON","wrappedElement","MaxUndoRedoStackDepth","History","undoOps","redoOps","EventSourceDevPanel","EventSourceSDK","devtoolsStatus","unsubsByDocKey","transactionEventsByDocKey","sendToPanel","setupDevtools","docEvent","DocEventType","DocumentStatus","DocumentStatus2","StreamConnectionStatus","StreamConnectionStatus2","DocumentSyncStatus","DocumentSyncStatus2","Document","arg4","callback2","targetOps","nodePath","hasSnapshot","snapshotVector","rawChange","resp","clientIDs","onlineClients","clientID","publisher","topic","decoder","pathArr","myClientID","filteredVersionVector","undoOp","redoOp","broadcastEvent","createAuthInterceptor","apiKey","pkg","createMetricInterceptor","validateSerializable","SyncMode2","ClientStatus","ClientStatus2","ClientCondition","ClientCondition2","DefaultClientOptions","DefaultBroadcastOptions","Client","rpcAddr","errorFn","options2","crdtObject","prevSyncMode","pbChangePack","docKey","maxRetries","maxBackoff","retryCount","exponentialBackoff","retryCount2","syncJobs","onDisconnect","reqPack","respPack","remoteSize","yorkie","YorkieSyncConfig","yorkieSyncFacet","cmState.Facet","inputs","YorkieSyncPluginValue","transactionSpec","cmState.Transaction","yorkie.Text","adj","__","insertText","yorkieSync","undefined","LARGE_ARRAY_SIZE","CORE_ERROR_TEXT","FUNC_ERROR_TEXT","INVALID_TEMPL_VAR_ERROR_TEXT","HASH_UNDEFINED","MAX_MEMOIZE_SIZE","PLACEHOLDER","CLONE_DEEP_FLAG","CLONE_FLAT_FLAG","CLONE_SYMBOLS_FLAG","COMPARE_PARTIAL_FLAG","COMPARE_UNORDERED_FLAG","WRAP_BIND_FLAG","WRAP_BIND_KEY_FLAG","WRAP_CURRY_BOUND_FLAG","WRAP_CURRY_FLAG","WRAP_CURRY_RIGHT_FLAG","WRAP_PARTIAL_FLAG","WRAP_PARTIAL_RIGHT_FLAG","WRAP_ARY_FLAG","WRAP_REARG_FLAG","WRAP_FLIP_FLAG","DEFAULT_TRUNC_LENGTH","DEFAULT_TRUNC_OMISSION","HOT_COUNT","HOT_SPAN","LAZY_FILTER_FLAG","LAZY_MAP_FLAG","LAZY_WHILE_FLAG","INFINITY","MAX_SAFE_INTEGER","MAX_INTEGER","NAN","MAX_ARRAY_LENGTH","MAX_ARRAY_INDEX","HALF_MAX_ARRAY_LENGTH","wrapFlags","argsTag","arrayTag","asyncTag","boolTag","dateTag","domExcTag","errorTag","funcTag","genTag","mapTag","numberTag","nullTag","objectTag","promiseTag","proxyTag","regexpTag","setTag","stringTag","symbolTag","undefinedTag","weakMapTag","weakSetTag","arrayBufferTag","dataViewTag","float32Tag","float64Tag","int8Tag","int16Tag","int32Tag","uint8Tag","uint8ClampedTag","uint16Tag","uint32Tag","reEmptyStringLeading","reEmptyStringMiddle","reEmptyStringTrailing","reEscapedHtml","reUnescapedHtml","reHasEscapedHtml","reHasUnescapedHtml","reEscape","reEvaluate","reInterpolate","reIsDeepProp","reIsPlainProp","rePropName","reRegExpChar","reHasRegExpChar","reTrimStart","reWhitespace","reWrapComment","reWrapDetails","reSplitDetails","reAsciiWord","reForbiddenIdentifierChars","reEscapeChar","reEsTemplate","reFlags","reIsBadHex","reIsBinary","reIsHostCtor","reIsOctal","reIsUint","reLatin","reNoMatch","reUnescapedString","rsAstralRange","rsComboMarksRange","reComboHalfMarksRange","rsComboSymbolsRange","rsComboRange","rsDingbatRange","rsLowerRange","rsMathOpRange","rsNonCharRange","rsPunctuationRange","rsSpaceRange","rsUpperRange","rsVarRange","rsBreakRange","rsApos","rsAstral","rsBreak","rsCombo","rsDigits","rsDingbat","rsLower","rsMisc","rsFitz","rsModifier","rsNonAstral","rsRegional","rsSurrPair","rsUpper","rsZWJ","rsMiscLower","rsMiscUpper","rsOptContrLower","rsOptContrUpper","reOptMod","rsOptVar","rsOptJoin","rsOrdLower","rsOrdUpper","rsSeq","rsEmoji","rsSymbol","reApos","reComboMark","reUnicode","reUnicodeWord","reHasUnicode","reHasUnicodeWord","templateCounter","typedArrayTags","cloneableTags","deburredLetters","htmlEscapes","htmlUnescapes","stringEscapes","freeParseFloat","freeParseInt","freeGlobal","freeSelf","freeExports","freeModule","moduleExports","freeProcess","nodeUtil","nodeIsArrayBuffer","nodeIsDate","nodeIsMap","nodeIsRegExp","nodeIsSet","nodeIsTypedArray","arrayAggregator","iteratee","accumulator","arrayEach","arrayEachRight","arrayEvery","arrayFilter","resIndex","arrayIncludes","baseIndexOf","arrayIncludesWith","arrayMap","arrayPush","arrayReduce","initAccum","arrayReduceRight","arraySome","asciiSize","baseProperty","asciiToArray","asciiWords","baseFindKey","eachFunc","baseFindIndex","strictIndexOf","baseIsNaN","baseIndexOfWith","baseMean","baseSum","basePropertyOf","baseReduce","baseSortBy","comparer","baseTimes","baseToPairs","baseTrim","trimmedEndIndex","baseUnary","baseValues","cacheHas","charsStartIndex","strSymbols","chrSymbols","charsEndIndex","countHolders","deburrLetter","escapeHtmlChar","escapeStringChar","chr","hasUnicode","hasUnicodeWord","iteratorToArray","mapToArray","overArg","replaceHolders","setToArray","setToPairs","strictLastIndexOf","stringSize","unicodeSize","stringToArray","unicodeToArray","unescapeHtmlChar","unicodeWords","runInContext","Array","Date","Error","Function","Math","Object","RegExp","String","TypeError","arrayProto","funcProto","objectProto","coreJsData","funcToString","idCounter","maskSrcKey","uid","nativeObjectToString","oldDash","reIsNative","Symbol","Uint8Array","allocUnsafe","getPrototype","objectCreate","propertyIsEnumerable","splice","spreadableSymbol","symIterator","symToStringTag","defineProperty","getNative","ctxClearTimeout","ctxNow","ctxSetTimeout","nativeCeil","nativeFloor","nativeGetSymbols","nativeIsBuffer","nativeIsFinite","nativeJoin","nativeKeys","nativeMax","nativeMin","nativeNow","nativeParseInt","nativeRandom","nativeReverse","DataView","Map","Promise","Set","WeakMap","nativeCreate","metaMap","realNames","dataViewCtorString","toSource","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","symbolProto","symbolValueOf","symbolToString","lodash","isObjectLike","LazyWrapper","LodashWrapper","wrapperClone","baseCreate","baseLodash","chainAll","lazyClone","copyArray","lazyReverse","lazyValue","isArr","isRight","arrLength","getView","iteratees","iterLength","takeCount","baseWrapperValue","iterIndex","Hash","hashClear","hashDelete","hashGet","hashHas","hashSet","ListCache","listCacheClear","listCacheDelete","assocIndexOf","listCacheGet","listCacheHas","listCacheSet","MapCache","mapCacheClear","mapCacheDelete","getMapData","mapCacheGet","mapCacheHas","mapCacheSet","SetCache","setCacheAdd","setCacheHas","stackClear","stackDelete","stackGet","stackHas","stackSet","arrayLikeKeys","inherited","isArg","isArguments","isBuff","isType","skipIndexes","isIndex","arraySample","baseRandom","arraySampleSize","shuffleSelf","baseClamp","arrayShuffle","assignMergeValue","baseAssignValue","baseAggregator","baseEach","baseAssign","copyObject","baseAssignIn","keysIn","baseAt","lower","baseClone","bitmask","customizer","isDeep","isFlat","isFull","initCloneArray","getTag","isFunc","cloneBuffer","initCloneObject","copySymbolsIn","copySymbols","initCloneByTag","stacked","subValue","keysFunc","getAllKeysIn","getAllKeys","baseConforms","baseConformsTo","baseDelay","setTimeout","baseDifference","isCommon","valuesLength","valuesIndex","createBaseEach","baseForOwn","baseEachRight","baseForOwnRight","baseEvery","baseExtremum","baseFill","toInteger","toLength","baseFilter","baseFlatten","isFlattenable","baseFor","createBaseFor","baseForRight","baseFunctions","castPath","toKey","baseGetAllKeys","symbolsFunc","baseGetTag","getRawTag","baseGt","baseHas","baseHasIn","baseInRange","baseIntersection","arrays","othLength","othIndex","caches","baseInverter","baseInvoke","baseIsArguments","baseIsArrayBuffer","baseIsDate","baseIsEqual","baseIsEqualDeep","equalFunc","objIsArr","othIsArr","objTag","othTag","objIsObj","othIsObj","isSameTag","equalArrays","equalByTag","objIsWrapped","othIsWrapped","objUnwrapped","othUnwrapped","equalObjects","baseIsMap","baseIsMatch","matchData","noCustomizer","srcValue","baseIsNative","isMasked","baseIsRegExp","baseIsSet","baseIsTypedArray","baseIteratee","identity","baseMatchesProperty","baseMatches","baseKeys","isPrototype","baseKeysIn","nativeKeysIn","isProto","baseLt","baseMap","isArrayLike","getMatchData","matchesStrictComparable","isStrictComparable","hasIn","baseMerge","srcIndex","baseMergeDeep","safeGet","mergeFunc","isTyped","isArrayLikeObject","cloneTypedArray","toPlainObject","baseNth","baseOrderBy","orders","getIteratee","compareMultiple","basePick","basePickBy","baseSet","basePropertyDeep","basePullAll","basePullAt","baseUnset","baseRange","baseRepeat","baseRest","setToString","overRest","baseSample","baseSampleSize","baseSetData","baseSetToString","baseShuffle","baseSlice","baseSome","baseSortedIndex","retHighest","baseSortedIndexBy","valIsNaN","valIsNull","valIsSymbol","valIsUndefined","othIsDefined","othIsNull","othIsReflexive","othIsSymbol","setLow","baseSortedUniq","baseToNumber","baseToString","baseUniq","createSet","seenIndex","baseUpdate","baseWhile","isDrop","baseXor","baseZipObject","assignFunc","valsLength","castArrayLikeObject","castFunction","castRest","castSlice","clearTimeout","cloneArrayBuffer","arrayBuffer","cloneDataView","dataView","cloneRegExp","cloneSymbol","compareAscending","valIsDefined","valIsReflexive","objCriteria","othCriteria","ordersLength","composeArgs","partials","holders","isCurried","argsIndex","argsLength","holdersLength","leftIndex","leftLength","rangeLength","isUncurried","composeArgsRight","holdersIndex","rightIndex","rightLength","getSymbols","getSymbolsIn","createAggregator","initializer","createAssigner","assigner","guard","isIterateeCall","createBind","isBind","createCtor","createCaseFirst","createCompounder","deburr","thisBinding","createCurry","arity","getHolder","createRecurry","createHybrid","createFind","findIndexFunc","createFlow","flatRest","prereq","getFuncName","funcName","getData","isLaziable","partialsRight","holdersRight","argPos","ary","isAry","isBindKey","isFlip","holdersCount","newHolders","reorder","createInverter","toIteratee","createMathOperation","createOver","arrayFunc","createPadding","charsLength","createPartial","createRange","toFinite","createRelationalOperation","toNumber","wrapFunc","isCurry","newHoldersRight","newPartials","newPartialsRight","setData","setWrapToString","createRound","precision","createToPairs","createWrap","customDefaultsAssignIn","customDefaultsMerge","customOmitClone","isPartial","arrStacked","othStacked","arrValue","othValue","compared","convert","objProps","objLength","othProps","objStacked","skipCtor","objCtor","othCtor","otherFunc","isKeyable","isOwn","unmasked","stubArray","ctorString","transforms","getWrapDetails","hasPath","hasFunc","insertWrapDetails","isMaskable","stubFalse","memoizeCapped","srcBitmask","newBitmask","isCombo","otherArgs","oldArray","shortOut","updateWrapDetails","lastCalled","stamp","remaining","rand","quote","subString","concat","difference","differenceBy","differenceWith","dropRight","dropRightWhile","dropWhile","findLastIndex","flattenDeep","flattenDepth","fromPairs","intersection","intersectionBy","intersectionWith","join","lastIndexOf","nth","pull","pullAll","pullAllBy","pullAllWith","pullAt","sortedIndex","sortedIndexBy","sortedIndexOf","sortedLastIndex","sortedLastIndexBy","sortedLastIndexOf","sortedUniq","sortedUniqBy","takeRight","takeRightWhile","takeWhile","unionBy","unionWith","uniq","uniqBy","uniqWith","unzip","unzipWith","without","xor","xorBy","xorWith","zipObject","zipObjectDeep","zipWith","tap","thru","wrapperAt","wrapperChain","wrapperCommit","wrapperNext","wrapperToIterator","wrapperPlant","wrapperReverse","wrapperValue","countBy","every","findLast","flatMap","flatMapDeep","flatMapDepth","forEachRight","invokeMap","keyBy","orderBy","partition","reduceRight","sample","sampleSize","shuffle","sortBy","bindKey","curry","curryRight","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","maxing","invokeFunc","leadingEdge","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","timeWaiting","shouldInvoke","trailingEdge","isInvoking","defer","resolver","memoized","overArgs","funcsLength","partialRight","rearg","unary","castArray","cloneWith","cloneDeep","cloneDeepWith","conformsTo","gt","gte","isEqual","isEqualWith","isFinite","isInteger","isMatch","isMatchWith","isNative","isNull","isNil","isSafeInteger","isWeakMap","isWeakSet","lte","isBinary","toSafeInteger","assignIn","assignInWith","assignWith","propsIndex","propsLength","defaultsDeep","mergeWith","findLastKey","forIn","forInRight","forOwn","forOwnRight","functions","functionsIn","invertBy","mapKeys","mapValues","omit","omitBy","setWith","toPairs","toPairsIn","isArrLike","updateWith","valuesIn","random","floating","camelCase","upperFirst","escapeRegExp","kebabCase","lowerCase","lowerFirst","pad","strLength","padEnd","padStart","parseInt","startCase","startsWith","imports","importsKeys","importsValues","isEscaping","isEvaluating","interpolate","reDelimiters","sourceURL","escapeValue","interpolateValue","esTemplateValue","evaluateValue","attempt","toUpper","trimEnd","trimStart","omission","substring","newEnd","upperCase","bindAll","methodNames","conforms","defaultTo","flow","flowRight","matchesProperty","methodOf","mixin","noConflict","nthArg","over","overEvery","overSome","propertyOf","rangeRight","stubObject","stubString","stubTrue","uniqueId","augend","ceil","floor","maxBy","mean","meanBy","minBy","multiplicand","minuend","sumBy","isFilter","takeName","dropName","checkIteratee","isTaker","lodashFunc","retUnwrapped","isLazy","useLazy","isHybrid","isUnwrapped","onlyLazy","chainName","yorkieRemoteSelectionsTheme","cmView.EditorView","yorkieRemoteSelectionsAnnotation","cmState.Annotation","YRemoteCaretWidget","dom.text","YorkieRemoteSelectionsPluginValue","linePosTo","yorkieRemoteSelections","yorkieCodeMirror","yorkieSyncConfig","BOTTOM_BAR_HEIGHT","EditorBottomBar","handleChangeCodeKey","newKeyCode","keyType","TooltipToggleButton","characterMap","allAccents","firstAccent","removeAccents","hasAccents","removeAccentsModule","rankings","defaultBaseSortFn","matchSorter","baseSort","sorter","matchedItems","sortRankedValues","reduceItemsToRanked","rankingInfo","getHighestRanking","keyThreshold","stringItem","getMatchRanking","getAllValuesToRank","rankedValue","itemValue","newRank","newRankedValue","minRanking","maxRanking","stringToRank","prepareValueForComparison","getAcronym","getClosenessRanking","acronym","wordInString","splitByHyphenWord","matchingInOrderCharCount","charNumber","findMatchingCharacter","matchChar","getRanking","spreadPercentage","inOrderPercentage","aRank","aKeyIndex","bRank","bKeyIndex","keepDiacritics","getItemValues","getNestedValues","nestedKey","nestedValues","nestedItem","nestedValue","allValues","getKeyAttributes","itemValues","defaultKeyAttributes","YorkieIntelligenceFeatureList","onSelectFeature","featureText","setFeatureText","filteredFeatureInfoList","handleFeatureTextChange","featureInfo","useIntelligenceFeatureStream","feature","documentSotre","memoryKey","setMemoryKey","setIsLoading","setIsComplete","mutateAsync","isFirst","splitted","useIntelligenceStream","castFactory","anyFactory","propsFactory","typeFactory","tests","checkAsRecord","nodeAsRecord","testFunction","looksLikeANode","CONTINUE","EXIT","SKIP","visitParents","parents","subresult","grandparents","toResult","nodeAsParent","testOrVisitor","visitorOrReverse","maybeReverse","overload","one","own","cascadeRaw","cascade","preorder","parsePart","sep","incr","clike","Prism","refractorClike","cpp","refractorC","modName","arduino","refractorCpp","bash","envVars","commandAfterHeredoc","insideString","toBeCopied","csharp","depthLog2","keywordKinds","keywordsToPattern","typeDeclarationKeywords","nonTypeKeywords","nonContextualKeywords","generic","nestedRound","genericName","typeExpressionWithoutTuple","tupleElement","tuple","typeExpression","typeInside","regularString","verbatimString","regularStringOrCharacter","regularStringCharacterOrComment","roundExpression","attrTarget","formatString","mInterpolationRound","mInterpolation","sInterpolationRound","sInterpolation","createInterpolationInside","interpolationRound","markup","includedCdataInside","PREFIXES","ini","java","classNamePrefix","specialEscape","charSet","charSetWithoutDot","rangeChar","groupName","kotlin","interpolationInside","less","refractorCss","lua","makefile","yaml","anchorOrAlias","plainKey","createValuePattern","refractorMarkup","createInline","tableCell","tableRow","tableLine","walkTokens","codeLang","codeBlock","grammar","ele","objectivec","perl","markupTemplating","getPlaceholder","placeholderPattern","replaceFilter","tokenStack","middle","php","refractorMarkupTemplating","string_interpolation","phpPattern","python","ruby","percentExpression","symbolName","rust","multilineComment","sass","scss","sql","swift","typescript","refractorJavascript","basic","vbnet","refractorBasic","normal","definitions","Info","boolean","booleanish","overloadedBoolean","spaceSeparated","commaSeparated","commaOrSpaceSeparated","DefinedInfo","definition","xlink","xml","caseSensitiveTransform","caseInsensitiveTransform","xmlns","aria","valid","cap","camelcase","kebab","$0","hastToReact","htmlBase","svgBase","parseSelector","defaultTagName","subvalue","buttonTypes","core","isProperties","addProperty","addChild","commas","parsePrimitive","finalResult","characterEntitiesLegacy","characterReferenceInvalid","isAlphabetical","isAlphanumerical","decodeNamedCharacterReference","characterReference","fromCharCode","parseEntities","additional","following","characterReferenceCharacters","terminated","namedReference","referenceCode","prohibited","disallowed","plainTextGrammar","redef","newToken","DFS","objId","propertyType","Token","tokenList","LinkedList","addAfter","matchGrammar","matchedStr","matchPattern","lookbehind","lookbehindLength","rematch","patternObj","greedy","removeCount","matchStr","reach","removeFrom","removeRange","nestedRematch","Refractor","refractor","highlight","listLanguages","aliasOrLanguage","abap","abnf","coreRules","actionscript","ada","agda","antlr4","apacheconf","apex","refractorSql","insertClassName","classNameInside","apl","applescript","aql","arff","armasm","arturo","createLanguageString","asciidoc","copyFromAsciiDoc","aspnet","refractorCsharp","asm6502","asmatmel","autohotkey","autoit","avisynth","internals","allinternals","avroIdl","awk","batch","parameter","bbcode","bbj","bicep","birb","bison","bnf","bqn","brainfuck","brightscript","bro","bsl","cfscript","chaiscript","cil","cilkc","cilkcpp","clojure","cmake","cobol","coffeescript","concurnas","csp","cooklang","single_token_suffix","multi_token_infix","multi_token_suffix","multi_token","timer_units","amount_group_impl","coq","commentSource","crystal","refractorRuby","cssExtras","selectorInside","csv","cue","stringEscape","stringTypes","stringLiteral","cypher","dart","packagePrefix","dataweave","dax","dhall","django","dnsZoneFile","docker","spaceAfterBackSlash","stringRule","commentRule","ID","IDInside","withID","ebnf","editorconfig","eiffel","ejs","ejsPattern","elixir","etlua","refractorLua","erb","erbPattern","erlang","excelFormula","fsharp","comment_inside","string_inside","arrToWordsRegExp","builtins","combinators","$false","firestoreSecurityRules","fortran","ftl","FTL_EXPR","gml","gcode","gdscript","gedcom","gettext","gherkin","git","glsl","gn","linkerScript","goModule","gradle","graphql","validTokens","getToken","isTokenType","findClosingBracket","stackHeight","addAlias","inputVariables","definitionEnd","mutationEnd","varToken","groovy","textile","modifierRegex","parenthesesRegex","withModifier","modifierTokens","phraseInside","nestedPatterns","phraseInlineInside","phraseTableInside","haml","filter_pattern","all_filters","handlebars","handlebarsPattern","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","uri","http","headerValueOf","langs","httpLanguages","suffixTypes","getSuffixPattern","suffixPattern","ichigojam","icuMessageFormat","stringPattern","argumentSource","nestedMessage","idris","refractorHaskell","inform7","io","javadoclike","javaDocLike","docCommentSupport","tokenName","addSupport","docLanguage","scala","refractorJava","javadoc","refractorJavadoclike","codeLinePattern","memberReference","javastacktrace","jexl","jolie","jq","stringInterpolation","jsTemplates","templateString","templateLiteralPattern","interpolationObject","interpolationPunctuationObject","interpolationPattern","createTemplate","tokenizeWithHooks","tokenizeInterpolationExpression","expression","tempGrammar","tokenizeEmbedded","_tokens","placeholderCounter","placeholderMap","embeddedCode","interpolationExpression","embeddedTokens","afterTokens","supportedLanguages","findTemplateStrings","embedded","stringContent","jsdoc","refractorTypescript","parameterPrefix","n4js","jsExtras","withId","maybeClassNameTokens","json5","refractorJson","jsonp","jsstacktrace","julia","keepalived","keyman","kumir","nonId","wrapId","kusto","latex","funcPattern","insideEqu","latte","refractorPhp","markupLatte","lattePattern","SortedBNF","lilypond","refractorScheme","schemeExpression","recursivenessLog2","liquid","liquidPattern","insideRaw","tagMatch","lisp","simple_form","par","endpar","nestedPar","forms","arglist","livescript","llvm","lolcode","magma","mata","orgType","matlab","maxscript","mel","mermaid","metafont","mizar","mongodb","builtinFunctions","operatorsSource","monkey","moonscript","n1ql","nand2tetrisHdl","naniscript","expressionDef","getTextContent","isBracketsBalanced","bracketsIndex","nasm","neon","nevod","nginx","nim","nix","nsis","ocaml","odin","escapes","opencl","openqasm","oz","parigp","pascal","pascaligo","braces","psl","pcaxis","peoplecode","phpdoc","phpExtras","plantUml","arrowAttr","arrowDirection","arrowBody","arrowRight","arrowPrefix","arrowSuffix","plsql","powerquery","powershell","processing","prolog","promql","aggregations","vectorMatching","offsetModifier","protobuf","builtinTypes","stylus","twig","pug","puppet","pure","inlineLanguages","inlineLanguageRe","purebasic","purescript","qsharp","qualifiedName","interpolationExpr","qml","jsString","jsComment","jsExpr","qore","racket","cshtml","commentLike","stringLike","curly","angle","inlineCs","tagAttrInlineCs","tagAttrValue","tagAttrs","tagContent","tagRegion","csharpWithHtml","cs","inlineValue","stringifyToken","openedTags","notTagNorBrace","plainText","tsx","refractorJsx","rego","renpy","rescript","rip","roboconf","robotframework","createSection","extendecInside","docTag","testNameLike","testPropertyLike","sas","numericConstant","macroVariable","macroKeyword","altformat","globalStatements","submitStatement","actionSets","casActions","shellSession","refractorBash","smali","smalltalk","smarty","smartyPattern","smartyLiteralStart","smartyLiteralEnd","smartyLiteralMode","sml","solidity","solutionFile","guid","soy","numberPattern","soyPattern","soyLitteralStart","soyLitteralEnd","soyLitteralMode","turtle","sparql","refractorTurtle","splunkSpl","sqf","squirrel","stan","higherOrderFunctions","stata","refractorMata","refractorPython","iecst","supercollider","systemd","quotesSource","t4Templating","createBlock","contentAlias","createT4","insideLang","t4Cs","refractorT4Templating","t4Vb","refractorVbnet","refractorYaml","tcl","tt2","tt2Pattern","toml","insertKey","tremor","typoscript","unrealscript","uorazor","vala","velocity","verilog","vhdl","visualBasic","warpscript","webIdl","wgsl","wiki","wolfram","wren","xeora","xmlDoc","insertDocComment","docComment","slashDocComment","tickDocComment","xojo","xquery","yang","zig","IDENTIFIER","ALIGN","PREFIX_TYPE_OP","SUFFIX_EXPR","TYPE","emptyMulticharIndex","emptyRegularIndex","extendIndex","charIndex","createMulticharIndex","items_1","createRegularIndex","items_2","emptyPseudoSignatures","defaultPseudoSignature","calculatePseudoSignature","setResultType","types_1","inverseCategories","calculatePseudoSignatures","pseudoClassesToArgumentTypes","pseudoClass","argumentTypes","__assign","emptyXmlOptions","defaultXmlOptions","getXmlOptions","withMigration","migration","withNoNegative","withPositive","positive","mergeSection","mergeSchema","replaceValueIfSpecified","concatArray","mergeDefinitions","baseValue","extendSyntaxDefinition","css1SyntaxDefinition","css2SyntaxDefinition","selectors3SyntaxDefinition","selectors4SyntaxDefinition","progressiveSyntaxDefinition","cssSyntaxDefinitions","isIdentStart","isIdent","isHex","whitespaceChars","quoteChars","digitsChars","maxHexLength","errorPrefix","createParser","substitutes","syntaxDefinition","tagNameEnabled","tagNameWildcardEnabled","idEnabled","classNamesEnabled","namespaceEnabled","namespaceWildcardEnabled","substitutesEnabled","combinatorsIndex","attributesEnabled","attributesOperatorsIndex","attributesCaseSensitivityModifiers","attributesAcceptUnknownCaseSensitivityModifiers","attributesCaseSensitivityModifiersEnabled","pseudoClassesEnabled","pseudoClassesDefinitions","pseudoClassesAcceptUnknown","pseudoElementsEnabled","pseudoElementsSingleColonNotationEnabled","pseudoElementsDoubleColonNotationEnabled","pseudoElementsDefinitions","pseudoElementsAcceptUnknown","isTagStart","rewind","readAndNext","fail","assertNonEof","isEof","matchMulticharIndex","matchMulticharIndexPos","subPos","parseHex","skipSingleWhitespace","parseString","parseIdentifier","parsePseudoClassString","skipWhitespace","parseRule","parseAttribute","name_1","name_2","savedPos","name_3","name_4","caseSensitivityModifier","parseNumber","isNumberStart","parseFormula","ident","firstNumber","firstNumberMultiplier","parsePseudoArgument","pseudoName","signature","name_5","parseTagName","name_6","parseTagNameWithNamespace","combinator","idName","isDoubleColon","isPseudoElement","pseudoElement","astMethods","generatorName","checkerName","entity","cssSelectorParse","rtlRange","ltrRange","enterState","currentDirection","editableOrEditingHost","dirInferred","dirProperty","dirBidi","inferDirectionality","propertyValue","spaces.parse","spaces.stringify","emptyClassNames","cast","extendedFilter","hasProperty","NINE","formula","readSign","readNumber","boolbase","absA","bMod","nthCheck","zwitch","fauxEsmNthCheck","anyLink","firstChild","firstOfType","lastOfType","nthChild","nthLastChild","nthLastOfType","nthOfType","onlyChild","onlyOfType","optional","readWrite","invalidPseudo","unknownPseudo","assertDeep","someChildren","_1","_2","_3","getCachedNthCheck","childState","walk","query_","fromSibling","forSibling","applySelectors","nestResult","selectorIndex","counts","currentRules","rootRules","createState","getCodeString","remarkRewrite","getURLParameters","nextChild","codeBlockParames","getCommentObject","propertiesHandle","rehypeAttrs","VOID","PRIMITIVE","ARRAY","OBJECT","REGEXP","MAP","ERROR","BIGINT","deserializer","unpair","deserialize","typeOf","shouldSkip","lossy","structuredClone$1","createH","createAdjustMap","svgCaseSensitiveTagNames","indices","toOffset","toPoint","webNamespaces","fromParse5","quirksMode","loc","startTag","opening","emptyOptions","doctype","toParse5","parentSchema","currentSchema","createProperty","htmlVoidElements","UNDEFINED_CODE_POINTS","REPLACEMENT_CHARACTER","CODE_POINTS","SEQUENCES","isSurrogate","cp","getSurrogatePairCodePoint","cp1","cp2","isControlCodePoint","isUndefinedCodePoint","ERR","DEFAULT_BUFFER_WATERLINE","Preprocessor","nextCp","isLastChunk","getTokenAttr","htmlDecodeTree","xmlDecodeTree","decodeMap","codePoint","replaceCodePoint","CharCodes","TO_LOWER_BIT","BinTrieFlags","isHexadecimalCharacter","isAsciiAlphaNumeric","isEntityInAttributeInvalidEnd","EntityDecoderState","DecodingMode","EntityDecoder","decodeTree","emitCodePoint","decodeMode","digitCount","startIdx","lastCp","expectedLength","valueLength","determineBranch","consumed","getDecoder","nodeIdx","branchCount","jumpOffset","midVal","htmlDecoder","decodeHTML","NS","ATTRS","DOCUMENT_MODE","TAG_NAMES","TAG_ID","TAG_NAME_TO_ID","getTagID","SPECIAL_ELEMENTS","isNumberedHeader","tn","C1_CONTROLS_REFERENCE_REPLACEMENTS","State","TokenizerMode","isAsciiDigit","isAsciiUpper","isAsciiLower","isAsciiLetter","isAsciiUpperHexDigit","isAsciiLowerHexDigit","isAsciiHexDigit","toAsciiLower","isWhitespace","isScriptDataDoubleEscapeSequenceEnd","Tokenizer$2","writeCallback","initialName","attrNameFirstCh","attrLocations","ct","excess","withoutSemicolon","masked","_cp","$$","matchResult","IMPLICIT_END_TAG_REQUIRED","IMPLICIT_END_TAG_REQUIRED_THOROUGHLY","SCOPING_ELEMENT_NS","NAMED_HEADERS","TABLE_ROW_CONTEXT","TABLE_BODY_CONTEXT","TABLE_CONTEXT","TABLE_CELLS","OpenElementStack","treeAdapter","tagID","oldElement","newElement","referenceElement","newElementID","insertionIdx","targetIdx","tagNames","targetNS","namespace","elementIdx","ns","exclusionId","NOAH_ARK_CAPACITY","EntryType","MARKER","FormattingElementList","neAttrs","neAttrsLength","neTagName","neNamespaceURI","elementAttrs","neAttrsMap","neAttr","validCandidates","cAttr","bookmarkIdx","entryIndex","markerIdx","defaultTreeAdapter","namespaceURI","templateElement","contentElement","publicId","systemId","doctypeNode","recipient","recipientAttrsMap","commentNode","endLocation","VALID_DOCTYPE_NAME","VALID_SYSTEM_ID","QUIRKS_MODE_SYSTEM_ID","QUIRKS_MODE_PUBLIC_ID_PREFIXES","QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES","QUIRKS_MODE_PUBLIC_IDS","LIMITED_QUIRKS_PUBLIC_ID_PREFIXES","LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES","hasPrefix","isConforming","getDocumentMode","MIME_TYPES","DEFINITION_URL_ATTR","ADJUSTED_DEFINITION_URL_ATTR","SVG_ATTRS_ADJUSTMENT_MAP","XML_ATTRS_ADJUSTMENT_MAP","SVG_TAG_NAMES_ADJUSTMENT_MAP","EXITS_FOREIGN_CONTENT","causesExit","startTagToken","adjustTokenMathMLAttrs","adjustTokenSVGAttrs","adjustedAttrName","adjustTokenXMLAttrs","adjustedAttrEntry","adjustTokenSVGTagName","adjustedTagName","isMathMLTextIntegrationPoint","isHtmlIntegrationPoint","isIntegrationPoint","foreignNS","HIDDEN_INPUT_TYPE","AA_OUTER_LOOP_ITER","AA_INNER_LOOP_ITER","InsertionMode","BASE_LOC","TABLE_STRUCTURE_TAGS","defaultParserOptions","Parser$1","fragmentContext","scriptHandler","Tokenizer","TN","documentMock","beforeToken","tid","isTop","currentTagId","isHTML","currentToken","nextTokenizerState","docTypeNode","tmpl","beforeElement","textNodeIdx","donor","closingToken","ctLoc","endLoc","foreignContent.isIntegrationPoint","listLength","unopenIdx","selectIdx","openElement","characterInForeignContent","tokenInInitialMode","tokenBeforeHtml","tokenBeforeHead","tokenInHead","tokenInHeadNoScript","tokenAfterHead","characterInBody","characterInTable","characterInTableText","tokenInColumnGroup","tokenAfterBody","tokenAfterAfterBody","nullCharacterInForeignContent","appendComment","tokenInTableText","appendCommentToRootHtmlElement","appendCommentToDocument","doctypeInInitialMode","startTagInForeignContent","startTagBeforeHtml","startTagBeforeHead","startTagInHead","startTagInHeadNoScript","startTagAfterHead","startTagInBody","startTagInTable","startTagInCaption","startTagInColumnGroup","startTagInTableBody","startTagInRow","startTagInCell","startTagInSelect","startTagInSelectInTable","startTagInTemplate","startTagAfterBody","startTagInFrameset","startTagAfterFrameset","startTagAfterAfterBody","startTagAfterAfterFrameset","endTagInForeignContent","endTagBeforeHtml","endTagBeforeHead","endTagInHead","endTagInHeadNoScript","endTagAfterHead","endTagInBody","endTagInText","endTagInTable","endTagInCaption","endTagInColumnGroup","endTagInTableBody","endTagInRow","endTagInCell","endTagInSelect","endTagInSelectInTable","endTagInTemplate","endTagAfterBody","endTagInFrameset","endTagAfterFrameset","eofInBody","eofInText","eofInTemplate","stopParsing","unicode.CODE_POINTS","whitespaceCharacterInBody","whitespaceCharacterInTableText","aaObtainFormattingElementEntry","formattingElementEntry","genericEndTagInBody","aaObtainFurthestBlock","furthestBlock","aaInnerLoop","formattingElement","lastElement","nextElement","elementEntry","counterOverflow","aaRecreateElementFromEntry","aaInsertLastNodeInCommonAncestor","commonAncestor","aaReplaceFormattingElement","callAdoptionAgency","htmlElement","htmlLocation","bodyElement","bodyLocation","doctype.getDocumentMode","doctype.isConforming","templateEndTagInHead","errCode","modeInBody","htmlStartTagInBody","bodyStartTagInBody","framesetStartTagInBody","addressStartTagInBody","numberedHeaderStartTagInBody","preStartTagInBody","formStartTagInBody","inTemplate","listItemStartTagInBody","elementId","plaintextStartTagInBody","buttonStartTagInBody","aStartTagInBody","activeElementEntry","bStartTagInBody","nobrStartTagInBody","appletStartTagInBody","tableStartTagInBody","areaStartTagInBody","isHiddenInput","inputType","inputStartTagInBody","paramStartTagInBody","hrStartTagInBody","imageStartTagInBody","textareaStartTagInBody","xmpStartTagInBody","iframeStartTagInBody","noembedStartTagInBody","selectStartTagInBody","optgroupStartTagInBody","rbStartTagInBody","rtStartTagInBody","mathStartTagInBody","foreignContent.adjustTokenMathMLAttrs","foreignContent.adjustTokenXMLAttrs","svgStartTagInBody","foreignContent.adjustTokenSVGAttrs","genericStartTagInBody","bodyEndTagInBody","htmlEndTagInBody","addressEndTagInBody","formEndTagInBody","formElement","pEndTagInBody","liEndTagInBody","ddEndTagInBody","numberedHeaderEndTagInBody","appletEndTagInBody","brEndTagInBody","tokenInTable","captionStartTagInTable","colgroupStartTagInTable","colStartTagInTable","tbodyStartTagInTable","tdStartTagInTable","tableStartTagInTable","inputStartTagInTable","formStartTagInTable","savedFosterParentingState","TABLE_VOID_ELEMENTS","unicode.REPLACEMENT_CHARACTER","popUntilHtmlOrIntegrationPoint","foreignContent.causesExit","currentNs","foreignContent.adjustTokenSVGTagName","pointEnd","pointStart","knownMdxNames","parseOptions","raw","documentMode","handleRaw","unknown","resetTokenizer","p5","stitch","Token.TokenType","createParse5Location","cloneWithoutChildren","fakeRoot","setPoint","node_","html.getTagID","structuredClone","rehypeRaw","nameRe","nameReJsx","COMMENT_REGEX","NEWLINE_REGEX","WHITESPACE_REGEX","PROPERTY_REGEX","COLON_REGEX","VALUE_REGEX","SEMICOLON_REGEX","TRIM_REGEX","NEWLINE","FORWARD_SLASH","ASTERISK","EMPTY_STRING","TYPE_COMMENT","TYPE_DECLARATION","inlineStyleParser","Position","decls","decl","__importDefault","cjs","_default","StyleToObject","inline_style_parser_1","styleObject","hasIterator","styleToObject","stringifyPosition","VFileMessage","causeOrReason","optionsOrParentOrPlace","legacyCause","emptyMap","dashSomething","tableElements","tableCellElement","docs","toJsxRuntime","filePath","developmentCreate","productionCreate","mdxExpression","mdxJsxElement","mdxEsm","findComponentFromName","createElementProps","createChildren","addNode","addChildren","crashEstree","createJsxElementProps","jsxDEV","isStaticChildren","alignValue","objectExpression","countsByName","parseStyle","transformStylesToCssCasing","replacer","toCamel","allowExpression","isIdentifierName","place","domCasing","cssCasing","transformStyleToCssCasing","toDash","$1","urlAttributes","includeImageAlt","includeHtml","chunkStart","combineExtensions","syntaxExtension","constructs","decodeNumericCharacterReference","normalizeIdentifier","asciiAlpha","regexCheck","asciiAlphanumeric","asciiAtext","asciiControl","asciiDigit","asciiHexDigit","asciiPunctuation","markdownLineEnding","markdownLineEndingOrSpace","markdownSpace","unicodePunctuation","unicodeWhitespace","normalizeUri","factorySpace","initializeContent","contentStart","afterContentStartConstruct","paragraphInitial","initializeDocument","containerConstruct","tokenizeContainer","childFlow","childToken","lineStartOffset","documentContinue","checkNewContainers","closeFlow","indexBeforeExits","indexBeforeFlow","exitContainers","documentContinued","flowStart","thereIsANewContainer","thereIsNoNewContainer","containerContinue","flowContinue","writeToChild","eof","nok","classifyCharacter","resolveAll","events","called","attention","tokenizeAttention","resolveAllAttention","openingSequence","closingSequence","use","nextEvents","movePoint","attentionMarkers","autolink","tokenizeAutolink","schemeOrEmailAtext","emailAtext","schemeInsideOrEmailAtext","urlInside","emailAtSignOrDot","emailLabel","emailValue","tokenizeBlankLine","blockQuote","tokenizeBlockQuoteStart","tokenizeBlockQuoteContinuation","contStart","contBefore","characterEscape","tokenizeCharacterEscape","tokenizeCharacterReference","numeric","nonLazyContinuation","tokenizeNonLazyContinuation","codeFenced","tokenizeCodeFenced","closeStart","tokenizeCloseStart","initialPrefix","sizeOpen","beforeSequenceOpen","sequenceOpen","infoBefore","atNonLazyBreak","metaBefore","contentBefore","beforeContentChunk","contentChunk","startBefore","beforeSequenceClose","sequenceClose","sequenceCloseAfter","codeIndented","tokenizeCodeIndented","furtherStart","tokenizeFurtherStart","afterPrefix","codeText","tokenizeCodeText","resolveCodeText","tailExitIndex","headEnterIndex","SpliceBuffer","chunkedPush","subtokenize","eventsArray","jumps","lineIndex","otherIndex","otherEvent","subevents","subcontent","eventIndex","startPosition","startPositions","childEvents","tokenizeContent","resolveContent","continuationConstruct","tokenizeContinuation","chunkInside","contentEnd","contentContinue","startLookahead","prefixed","factoryDestination","literalType","literalMarkerType","rawType","stringType","balance","enclosedBefore","enclosed","enclosedEscape","rawEscape","factoryLabel","markerType","labelInside","labelEscape","factoryTitle","factoryWhitespace","tokenizeDefinition","titleBefore","tokenizeTitleBefore","labelAfter","markerAfter","destinationBefore","destinationAfter","afterWhitespace","beforeMarker","titleAfter","titleAfterOptionalWhitespace","hardBreakEscape","tokenizeHardBreakEscape","headingAtx","tokenizeHeadingAtx","resolveHeadingAtx","sequenceFurther","htmlBlockNames","htmlRawNames","htmlFlow","tokenizeHtmlFlow","resolveToHtmlFlow","blankLineBefore","tokenizeBlankLineBefore","nonLazyContinuationStart","tokenizeNonLazyContinuationStart","closingTag","markerB","declarationOpen","tagCloseStart","continuationDeclarationInside","commentOpenInside","cdataOpenInside","continuation","basicSelfClosing","completeClosingTagAfter","completeAttributeNameBefore","completeEnd","completeAttributeName","completeAttributeNameAfter","completeAttributeValueBefore","completeAttributeValueQuoted","completeAttributeValueUnquoted","completeAttributeValueQuotedAfter","completeAfter","continuationCommentInside","continuationRawTagOpen","continuationClose","continuationCdataInside","continuationAfter","continuationStart","continuationStartNonLazy","continuationBefore","continuationRawEndTag","htmlText","tokenizeHtmlText","returnState","instruction","tagOpen","commentEnd","commentClose","lineEndingBefore","cdata","cdataClose","cdataEnd","instructionClose","tagClose","tagCloseBetween","tagOpenBetween","tagOpenAttributeName","tagOpenAttributeNameAfter","tagOpenAttributeValueBefore","tagOpenAttributeValueQuoted","tagOpenAttributeValueUnquoted","tagOpenAttributeValueQuotedAfter","lineEndingAfter","lineEndingAfterPrefix","labelEnd","tokenizeLabelEnd","resolveToLabelEnd","resolveAllLabelEnd","resourceConstruct","tokenizeResource","referenceFullConstruct","tokenizeReferenceFull","referenceCollapsedConstruct","tokenizeReferenceCollapsed","labelStart","defined","labelEndNok","labelEndOk","referenceNotFull","resourceStart","resourceBefore","resourceOpen","resourceEnd","resourceDestinationAfter","resourceDestinationMissing","resourceBetween","resourceTitleAfter","referenceFull","referenceFullAfter","referenceFullMissing","referenceCollapsedStart","referenceCollapsedOpen","labelStartImage","tokenizeLabelStartImage","labelStartLink","tokenizeLabelStartLink","lineEnding","tokenizeLineEnding","thematicBreak","tokenizeThematicBreak","sequence","tokenizeListStart","tokenizeListContinuation","tokenizeListEnd","listItemPrefixWhitespaceConstruct","tokenizeListItemPrefixWhitespace","indentConstruct","tokenizeIndent","initialSize","atMarker","onBlank","endOfPrefix","otherPrefix","notBlank","notInCurrentItem","setextUnderline","tokenizeSetextUnderline","resolveToSetextUnderline","initializeFlow","atBlankEnding","afterConstruct","createResolver","initializeFactory","initializeText","resolveAllLineSuffixes","notText","extraResolver","resolveAllText","bufferIndex","createTokenizer","columnStart","resolveAllConstructs","constructFactory","onsuccessfulconstruct","onsuccessfulcheck","sliceStream","sliceSerialize","defineSkip","addResult","expandTabs","serializeChunks","sliceChunks","_index","_bufferIndex","accountForPotentialSkip","chunkIndex","construct","onreturn","bogusState","listOfConstructs","constructIndex","currentConstruct","handleListOfConstructs","handleMapOfConstructs","handleConstruct","startPoint","startPrevious","startCurrentConstruct","startEventsIndex","startStack","restore","startBufferIndex","endBufferIndex","atTab","contentInitial","flowInitial","insideSpan","resolveText","disable","defaultConstructs","postprocess","preprocess","atCarriageReturn","preprocessor","encoding","endPosition","characterEscapeOrReference","decodeString","decode","$2","fromMarkdown","compiler","opener","onenterdata","codeFlow","emphasis","hardBreak","listItem","onenterlistitemvalue","onenterlistordered","onenterreference","strong","closer","onexitatxheadingsequence","onexitautolinkemail","onexitautolinkprotocol","onexitdata","onexitcharacterreferencemarker","onexitcharacterreferencevalue","onexitcharacterreference","onexitcodefenced","onexitcodefencedfence","onexitcodefencedfenceinfo","onexitcodefencedfencemeta","onexitcodeindented","onexitcodetext","onexitdefinitiondestinationstring","onexitdefinitionlabelstring","onexitdefinitiontitlestring","onexithardbreak","onexithtmlflow","onexithtmltext","onexitimage","onexitlabel","onexitlabeltext","onexitlineending","onexitlink","onexitreferencestring","onexitresourcedestinationstring","onexitresourcetitlestring","onexitresource","onexitsetextheading","onexitsetextheadinglinesequence","onexitsetextheadingtext","configure","listStack","prepareList","defaultOnError","containerBalance","listSpread","firstBlankLineIndex","tailIndex","tailEvent","and","errorHandler","onExitError","referenceType","combined","remarkParse","blockquote","strikethrough","footnoteReference","clobberPrefix","safeId","reuseCounter","sup","subtype","imageReference","inlineCode","linkReference","listLoose","listItemLoose","tableContent","cellIndex","cells","cell","tab","trimLines","trimLine","defaultFootnoteBackContent","rereferenceIndex","defaultFootnoteBackLabel","referenceIndex","footnoteBackContent","footnoteBackLabel","footnoteLabel","footnoteLabelTagName","footnoteLabelProperties","listItems","backReferences","tailTail","definitionById","footnoteById","footnoteCounts","defaultHandlers","applyData","shallow","defaultUnknownHandler","trimMarkdownSpaceStart","hName","hChildren","hProperties","toHast","foot","remarkRehype","destination","hastTree","bail","hasOwn","toStr","gOPD","hasOwnConstructor","hasIsPrototypeOf","setProperty","getProperty","copyIsArray","trough","pipeline","middlewareIndex","middelware","fnExpectsCallback","then","minpath","dirname","extname","assertPath","seenNonSlash","firstNonSlashEnd","extnameIndex","unmatchedSlash","startPart","startDot","preDotState","normalizeString","allowAboveRoot","lastSegmentLength","lastSlash","lastSlashIndex","minproc","cwd","isUrl","fileUrlOrPath","urlToPath","getPathFromURLPosix","third","VFile","isUint8Array","assertNonEmpty","assertPart","stem","CallableInstance","Processor","attacher","assertUnfrozen","realFile","vfile","assertParser","assertCompiler","parseTree","realDone","compileTree","compileResult","looksLikeAValue","assertDone","assertNode","transformers","outputTree","resultingTree","attachers","addPlugin","addList","addPreset","currentPrimary","isPlainObj","unified","frozen","asyncName","looksLikeAVFile","changelog","emptyPlugins","emptyRemarkRehypeOptions","safeProtocol","Markdown","allowedElements","allowElement","disallowedElements","rehypePlugins","remarkPlugins","remarkRehypeOptions","skipHtml","unwrapDisallowed","urlTransform","defaultUrlTransform","deprecation","mdastTree","questionMark","numberSign","ccount","escapeStringRegexp","findAndReplace","ignored","pairIndex","grandparent","matchObject","tupleOrList","toExpression","toFunction","inConstruct","notInConstruct","gfmAutolinkLiteralFromMarkdown","transformGfmAutolinkLiterals","enterLiteralAutolink","enterLiteralAutolinkValue","exitLiteralAutolink","exitLiteralAutolinkEmail","exitLiteralAutolinkHttp","exitLiteralAutolinkWww","gfmAutolinkLiteralToMarkdown","findUrl","findEmail","isCorrectDomain","splitUrl","atext","trailExec","trail","closingParenIndex","openingParens","closingParens","footnoteReferencePeek","gfmFootnoteFromMarkdown","enterFootnoteDefinition","enterFootnoteDefinitionLabelString","enterFootnoteCall","enterFootnoteCallString","exitFootnoteDefinition","exitFootnoteDefinitionLabelString","exitFootnoteCall","exitFootnoteCallString","gfmFootnoteToMarkdown","footnoteDefinition","subexit","constructsWithoutStrikethrough","handleDelete","peekDelete","gfmStrikethroughFromMarkdown","enterStrikethrough","exitStrikethrough","gfmStrikethroughToMarkdown","markdownTable","defaultStringLength","alignments","cellMatrix","sizeMatrix","longestCellByColumn","mostCellsPerRow","rowIndex","columnIndex","toAlignment","patternInScope","listInScope","longestStreak","expected","formatCodeAsIndented","checkFence","checkQuote","checkEmphasis","emphasisPeek","formatHeadingAsSetext","literalWithBreak","htmlPeek","imagePeek","imageReferencePeek","inlineCodePeek","formatLinkAsAutolink","linkPeek","linkReferencePeek","checkBullet","checkBulletOther","bullet","bulletOther","checkBulletOrdered","checkRule","bulletCurrent","useDifferentMarker","firstListItem","checkListItemIndent","listItemIndent","phrasing","checkStrong","strongPeek","checkRuleRepetition","repetition","gfmTableFromMarkdown","enterTable","enterCell","enterRow","exitCodeText","exitTable","gfmTableToMarkdown","alignDelimiters","inlineCodeWithTable","handleTable","handleTableCell","handleTableRow","serializeData","handleTableAsData","handleTableRowAsData","matrix","gfmTaskListItemFromMarkdown","exitCheck","exitParagraphWithTaskListItem","gfmTaskListItemToMarkdown","listItemWithTaskListItem","firstParaghraph","checkable","checkbox","gfmFromMarkdown","gfmToMarkdown","wwwPrefix","tokenizeWwwPrefix","tokenizeDomain","tokenizePath","tokenizeTrail","emailDomainDotTrail","tokenizeEmailDomainDotTrail","wwwAutolink","tokenizeWwwAutolink","previousWww","protocolAutolink","tokenizeProtocolAutolink","previousProtocol","emailAutolink","tokenizeEmailAutolink","previousEmail","gfmAutolinkLiteral","gfmAtext","previousUnbalanced","emailDomain","emailDomainAfter","emailDomainDot","wwwStart","wwwAfter","protocolStart","protocolPrefixInside","protocolSlashesInside","afterProtocol","protocolAfter","wwwPrefixInside","wwwPrefixAfter","underscoreInLastSegment","underscoreInLastLastSegment","domainInside","domainAfter","domainAtPunctuation","sizeClose","pathInside","pathAtPunctuation","trailCharacterReferenceStart","trailBracketAfter","trailCharacterReferenceInside","gfmFootnote","tokenizeDefinitionStart","tokenizeDefinitionContinuation","gfmFootnoteDefinitionEnd","tokenizeGfmFootnoteCall","tokenizePotentialGfmFootnoteCall","resolveToPotentialGfmFootnoteCall","callStart","callData","callEscape","labelAtMarker","whitespaceAfter","gfmStrikethrough","tokenizeStrikethrough","resolveAllStrikethrough","EditMap","addImplementation","vecs","editMap","gfmTableAlign","inDelimiterRow","alignIndex","gfmTable","tokenizeTable","resolveTable","sizeB","bodyRowStart","headRowBefore","headRowStart","headRowBreak","headDelimiterStart","headRowData","headRowEscape","headDelimiterBefore","headDelimiterValueBefore","headDelimiterCellBefore","headDelimiterNok","headDelimiterLeftAlignmentAfter","headDelimiterCellAfter","headDelimiterFiller","headDelimiterRightAlignmentAfter","bodyRowBreak","bodyRowData","bodyRowEscape","inFirstCellAwaitingPipe","rowKind","lastCell","afterHeadAwaitingFirstBodyRow","lastTableEnd","currentTable","currentBody","currentCell","flushTableEnd","flushCell","rowEnd","previousCell","valueName","getPoint","relatedStart","relatedEnd","valueToken","tableBody","exits","related","tasklistCheck","tokenizeTasklistCheck","gfmTaskListItem","spaceThenNonSpace","gfm","remarkGfm","micromarkExtensions","fromMarkdownExtensions","toMarkdownExtensions","alertRegex","alertLegacyRegex","remarkAlert","legacyTitle","alertType","isNext","firstNode","reg","itemChild","getAlertIcon","pathD","pathData","copyTextToClipboard","isCopy","getParentElement","useCopied","_container$current","_container$current2","_container$current3","_excluded","MarkdownPreview$1","prefixCls","disableCopy","onScroll","onMouseOver","pluginsFilter","wrapperElement","warpperElement","mdp","useImperativeHandle","wrapperProps","ReactMarkdown","reservedMeta","retrieveMeta","BananaSlug","maintainCase","originalSlug","headingRank","slugs","GithubSlugger","rehypeSlug","convertElement","tagNameFactory","looksLikeAnElement","contentDefaults","rehypeAutolinkHeadings","headingOroperties","behavior","inject","toProperties","toChildren","grouping","rehypeIgnore","openDelimiter","closeDelimiter","octiconLink","copyElement","rehypeRewriteHandle","defaultRehypePlugins","headings","MarkdownPreview","_props$disableCopy","rehypeRewrite","rehypePrism","addSoftLineBreak","YorkieIntelligenceFeature","currentTheme","featureData","isFeatureLoading","isFeatureComplete","mutateIntelligenceFeature","followUpData","isFollowUpLoading","isFollowUpComplete","mutateIntelligence","setContent","intelligenceFooterPivot","markdownPreviewRef","formContext","handleCopyContent","handleRetry","handleRequestSubmit","handleAddContent","selectionFrom","selectionTo","CloseIntelligenceModal","onCloseIntelligence","handleDiscard","YorkieIntelligenceFooter","anchorRef","selectedTitle","setSelectedTitle","selectedFeature","setSelectedFeature","closeModalOpen","setCloseModalOpen","cardRef","handleSelectFeature","handleCloseModalOpen","YorkieIntelligence","footerOpen","setFooterOpen","setIntelligenceFooterPivot","yorkieIntelligence","handleFooterOpen","ToolBar","showToolBar","formatBarPosition","debouncedShowToolBar","setDebouncedShowToolBar","Editor","setElement","createUploadUrl","uploadFile","handleUploadImage","uploadUrlData","decodeCache","getDecodeCache","exclude","b1","b2","b3","b4","encodeCache","getEncodeCache","keepEscaped","nextCode","Url","protocolPattern","portPattern","simplePathPattern","delims","unwise","autoEscape","nonHostChars","hostEndingChars","hostnameMaxLen","hostnamePartPattern","hostnamePartStart","hostlessProtocol","slashedProtocol","urlParse","slashesDenoteHost","lowerProto","hec","simplePath","hostEnd","atSign","ipv6Hostname","hostparts","newpart","validParts","notHost","qm","regex$1","_class","_hasOwnProperty","arrayReplaceAt","newElements","isValidEntityCode","surrogate1","surrogate2","UNESCAPE_MD_RE","ENTITY_RE","UNESCAPE_ALL_RE","DIGITAL_ENTITY_TEST_RE","replaceEntityPattern","unescapeMd","unescapeAll","HTML_ESCAPE_TEST_RE","HTML_ESCAPE_REPLACE_RE","HTML_REPLACEMENTS","replaceUnsafeChar","escapeHtml","REGEXP_ESCAPE_RE","escapeRE","isWhiteSpace","isPunctChar","ucmicro.P","ucmicro.S","isMdAsciiPunct","normalizeReference","lib","mdurl","ucmicro","disableNested","prevPos","parseLinkDestination","prev_state","default_rules","slf","langName","langAttrs","highlighted","tmpAttrs","tmpToken","Renderer","needLf","nextToken","Ruler","chains","altName","beforeName","ruleName","afterName","ignoreInvalid","nesting","attrData","StateCore","NEWLINES_RE","NULL_RE","isLinkOpen","isLinkClose","linkify","blockTokens","htmlLinkLevel","links","urlText","token_o","token_t","token_c","RARE_RE","SCOPED_ABBR_TEST_RE","SCOPED_ABBR_RE","SCOPED_ABBR","replaceFn","replace_scoped","inlineTokens","inside_autolink","replace_rare","blkIdx","QUOTE_TEST_RE","QUOTE_RE","APOSTROPHE","replaceAt","process_inlines","thisLevel","OUTER","isSingle","isLastPunctChar","isNextPunctChar","isLastWhiteSpace","isNextWhiteSpace","openQuote","closeQuote","smartquotes","text_join","_rules","r_normalize","r_block","r_inline","r_linkify","r_replacements","r_smartquotes","r_text_join","Core","StateBlock","indent_found","keepLastLF","lineIndent","MAX_AUTOCOMPLETED_CELLS","getLine","escapedSplit","isEscaped","firstCh","secondCh","aligns","columnCount","oldParentType","terminatorRules","token_to","tableLines","token_tho","token_htro","token_ho","token_il","tbodyLines","autocompletedCells","terminate","token_tbo","token_tro","token_tdo","fence","mem","haveEndMarker","oldLineMax","oldBMarks","oldBSCount","oldSCount","oldTShift","lastLineEmpty","isOutdented","spaceAfterMarker","adjustTab","oldIndent","hr","cnt","skipBulletListMarker","skipOrderedListMarker","markTightParagraphs","tight","isTerminatingParagraph","isOrdered","markerValue","posAfterMarker","markerCharCode","listTokIdx","listLines","prevEmptyEnd","indentAfterMarker","itemLines","oldTight","oldListIndent","_endLine","getNextLine","isContinuation","lineContent","destRes","destEndPos","destEndLineNo","titleRes","block_names","attr_name","unquoted","single_quoted","double_quoted","attr_value","open_tag","close_tag","HTML_TAG_RE","HTML_OPEN_CLOSE_TAG_RE","HTML_SEQUENCES","html_block","token_i","lheading","r_table","r_code","r_fence","r_blockquote","r_hr","r_list","r_reference","r_html_block","r_heading","r_lheading","r_paragraph","ParserBlock","maxNesting","hasEmptyLines","outTokens","StateInline","token_meta","canSplitWord","left_flanking","right_flanking","isTerminatorChar","SCHEME_RE","pmax","ESCAPED","ch1","escapedStr","ch2","origStr","backtick","openerLength","matchEnd","matchStart","closerLength","strikethrough_tokenize","scanned","postProcess","delimiters","loneMarkers","startDelim","endDelim","strikethrough_postProcess","tokens_meta","r_strikethrough","emphasis_tokenize","isStrong","emphasis_post_process","r_emphasis","parseReference","EMAIL_RE","AUTOLINK_RE","isLetter","html_inline","DIGITAL_RE","NAMED_RE","processDelimiters","openersBottom","headerIdx","lastTokenIdx","closerIdx","minOpenerIdx","openerIdx","newMinOpenerIdx","isOddMatch","lastJump","link_pairs","fragments_join","r_text","r_newline","r_escape","r_backticks","r_link","r_image","r_autolink","r_html_inline","r_entity","_rules2","r_balance_pairs","r_fragments_join","ParserInline","reFactory","text_separators","isOptionsObj","defaultSchemas","tlds_2ch_src_re","tlds_default","resetScanCache","createValidator","createNormalizer","tlds","untpl","tpl","schemaError","compiled","slist","Match","createMatch","LinkifyIt","schemas","tld_pos","at_pos","keepOld","maxInt","tMin","tMax","skew","damp","initialBias","initialN","regexPunycode","regexNonASCII","regexSeparators","baseMinusTMin","stringFromCharCode","mapDomain","labels","encoded","ucs2decode","ucs2encode","codePoints","basicToDigit","digitToBasic","adapt","numPoints","inputLength","oldi","baseMinusT","basicLength","handledCPCount","handledCPCountPlusOne","qMinusT","toUnicode","toASCII","punycode","cfg_default","cfg_zero","cfg_commonmark","BAD_PROTO_RE","GOOD_DATA_RE","validateLink","RECODE_HOSTNAME_FOR","normalizeLink","mdurl.parse","mdurl.encode","mdurl.format","normalizeLinkText","mdurl.decode","MarkdownIt","presetName","utils.isString","ParserCore","utils.assign","presets","missed","defaultSubsetRegex","surrogatePairsRegex","controlCharactersRegex","regexEscapeRegex","subsetToRegexCache","charactersToExpressionCached","surrogate","subset","charactersToExpression","hexadecimalRegex","toHexadecimal","decimalRegex","toDecimal","characterEntitiesHtml4","dangerous","notAlphanumericRegex","toNamed","formatSmart","named","stringifyEntities","htmlCommentRegex","bogusCommentEntitySubset","commentEntitySubset","siblingAfter","siblingBefore","emptyChildren","includeWhitespace","headOrColgroupOrCaption","dt","optgroup","rubyElement","tbody","tfoot","thead","colgroup","constants","serializeAttributes","serializeAttribute","textEntitySubset","invalid","emptyCharacterReferences","toHtml","options_","alternative","__webpack_exports__","katex_webpack","ParseError","underlined","src_ParseError","setting","defaultIfUndefined","uppercase","hyphenate","ESCAPE_LOOKUP","ESCAPE_REGEX","utils_escape","getBaseElem","isCharacterBox","baseElem","SETTINGS_SCHEMA","defs","getDefaultValue","defaultType","Settings","errorCode","errorMsg","Style","cramped","fracNum","fracDen","cramp","Style_text","SS","SSc","src_Style","scriptData","scriptFromCodepoint","codepoint","allBlocks","supportedCodepoint","hLinePad","sqrtMain","extraVinculum","sqrtSize1","sqrtSize2","sqrtSize3","sqrtSize4","phasePath","sqrtTall","viewBoxHeight","vertSegment","sqrtPath","innerPath","tallDelim","midHeight","DocumentFragment","fontMetricsData","sigmasAndXis","extraCharacterMap","setFontMetrics","fontName","metrics","getCharacterMetrics","font","fontMetricsBySizeIndex","getGlobalMetrics","sizeIndex","sizeStyleMap","sizeMultipliers","sizeAtStyle","Options","wantSize","fontShape","oldOptions","src_Options","ptPerUnit","relativeUnit","validUnit","calculateSize","sizeValue","unitOptions","makeEm","createClass","initNode","toMarkup","Anchor","Img","iCombinations","SymbolNode","italic","needsSpan","SvgNode","PathNode","pathName","alternate","LineNode","assertSymbolDomNode","assertSpan","ATOMS","NON_ATOMS","symbols","src_symbols","defineSymbol","acceptUnicodeChar","math","symbols_text","ams","accent","symbols_close","mathord","symbols_open","punct","rel","textord","ligatures","mathTextSymbols","textSymbols","letters","wideChar","extraLatin","wideLatinLetterData","wideNumeralData","wideCharacterFont","lookupSymbol","makeSymbol","symbolNode","mathsym","boldsymbol","makeOrd","isFont","fontOrFamily","wideFontName","wideFontClass","fontClasses","fontData","fontMap","retrieveTextFontName","makeFragment","canCombine","tryCombineChars","sizeElementFromChildren","maxFontSize","makeSpan","makeSvgSpan","makeLineSpan","makeAnchor","wrapFragment","getVListChildrenAndDepth","oldChildren","currPos","makeVList","pstrutSize","pstrut","realChildren","maxPos","childWrap","vlist","emptySpan","depthStrut","topStrut","vtable","makeGlue","measurement","baseFontName","fontStylesName","svgData","buildCommon","svgNode","thinspace","mediumspace","thickspace","spacings","tightSpacings","_functions","_htmlGroupBuilders","_mathmlGroupBuilders","defineFunction","htmlBuilder","mathmlBuilder","defineFunctionBuilders","normalizeArgument","ordargument","buildHTML_makeSpan","binLeftCanceller","binRightCanceller","styleMap","DomEnum","buildExpression","isRealGroup","surrounding","buildGroup","glueOptions","dummyPrev","dummyNext","traverseNonSpaceNodes","getTypeOfDomTree","partialGroup","checkPartialGroup","nonspace","getOutermostNode","makeNullDelimiter","moreClasses","baseOptions","groupNode","buildHTMLUnbreakable","strut","buildHTML","eqnNum","nobreak","tagChild","htmlNode","newDocumentFragment","MathNode","SpaceNode","mathMLTree","makeText","makeRow","getVariant","buildMathML_buildExpression","isOrdgroup","buildMathML_buildGroup","buildExpressionRow","buildMathML","texExpression","isDisplayMode","forMathmlOnly","annotation","semantics","wrapperClass","optionsFromSettings","displayWrap","katexNode","mathMLNode","buildHTMLTree","stretchyCodePoint","mathMLnode","katexImagesData","groupLength","stretchy","topPad","bottomPad","img","totalHeight","buildSvgSpan_","viewBoxWidth","numChars","imgIndex","numSvgChildren","widthClasses","align1","assertNodeType","assertSymbolNodeType","typedNode","checkSymbolNodeType","grp","supSubGroup","mustShift","baseChar","baseGroup","accentBelow","clearance","accentBody","accentFull","accentWrap","accentNode","NON_STRETCHY_ACCENT_REGEX","isStretchy","isShifty","innerGroup","kern","paddedNode","optArgs","newOptions","upperGroup","lowerGroup","arrowShift","upperShift","lowerShift","arrowNode","upperNode","lowerNode","mclass_makeSpan","mclass_htmlBuilder","mclass_mathmlBuilder","binrelClass","atom","baseArg","shiftedArg","mclass","baseOp","supsub","cdArrowFunctionName","newCell","isStartOfArrow","isLabelEnd","endChar","cdArrow","arrowChar","leftLabel","bareArrow","sizedArrow","rightLabel","arrowGroup","parseCD","parsedRows","rowNodes","labelNum","inLabel","wrappedArrow","color_htmlBuilder","color_mathmlBuilder","breakOnTokenText","globalMap","checkControlSequence","getRHS","letCommand","macro","numArgs","getMetrics","styleWrap","toStyle","delimSizeMultiplier","centerSpan","makeSmallDelim","mathrmSize","makeLargeDelim","makeGlyphSpan","sizeClass","makeInner","lapInEms","lap","verts","doubleVerts","makeStackedDelim","heightTotal","svgLabel","topMetrics","topHeightTotal","repeatMetrics","repeatHeightTotal","bottomMetrics","bottomHeightTotal","middleHeightTotal","middleFactor","middleMetrics","repeatCount","realHeightTotal","axisHeight","pathStr","vbPad","emPad","sqrtSvg","sqrtName","pathNode","makeSqrtImage","traverseSequence","stackLargeDelimiterSequence","sizeMultiplier","spanHeight","texHeight","advanceWidth","sizeToMaxHeight","stackLargeDelimiters","stackAlwaysDelimiters","stackNeverDelimiters","makeSizedDelim","stackNeverDelimiterSequence","stackAlwaysDelimiterSequence","delimTypeToFont","heightDepth","makeCustomSizedDelim","delimType","delimiterFactor","delimiterExtend","maxDistFromAxis","delimiterSizes","checkDelimiter","symDelim","assertParsed","innerDepth","hadMiddle","leftDelim","isMiddle","rightDelim","colorOptions","middleDelim","middleNode","enclose_htmlBuilder","imgShift","isSingleChar","lineWeight","angleHeight","ruleThickness","enclose_mathmlBuilder","fboxsep","thk","_environments","defineEnvironment","_macros","defineMacro","SourceLocation","lexer","getHLines","hlineInfo","nxt","validateAmsEnvironmentContext","getAutoTag","parseArray","hskipBeforeAndAfter","addJot","arraystretch","colSeparationType","autoTag","singleRow","emptySingleRow","maxNumCols","leqno","stretch","rowGaps","hLinesBeforeRow","beginRow","dCellStyle","envName","array_htmlBuilder","nr","hlines","pt","arraycolsep","baselineskip","jot","arrayskip","arstrutHeight","arstrutDepth","setHLinePos","hlinesInGap","inrow","outrow","colDescriptions","colSep","colDescrNum","tagSpans","tagSpan","colDescr","firstSeparator","lineType","sepwidth","vListElems","hline","lineShift","eqnNumCol","alignMap","array_mathmlBuilder","tbl","glue","menclose","columnLines","prevTypeWasAlign","iStart","iEnd","rowLines","alignedHandler","separationType","isSplit","numMaths","numCols","emptyGroup","arg0","isAligned","styling","curMaths","pregap","nde","colAlign","src_environments","nameGroup","endNameToken","font_htmlBuilder","font_mathmlBuilder","fontAliases","adjustStyle","originalStyle","genfrac_htmlBuilder","nstyle","dstyle","numerm","hStrut","dStrut","denomm","ruleWidth","ruleSpacing","numShift","denomShift","frac","midShift","candidateClearance","delimSize","genfrac_mathmlBuilder","isDisplay","withDelims","leftOp","rightOp","numer","denom","hasBarLine","stylArray","delimFromValue","delimString","barNode","barSize","styl","textOrd","horizBrace_htmlBuilder","braceBody","vSpan","trustContext","keyVal","sizeData","totalheight","mathFunction","muUnit","dimension","outerMode","chooseMathStyle","assembleSupSub","supGroup","subGroup","slant","baseShift","subIsSingleCharacter","finalGroup","noSuccessor","op_htmlBuilder","hasLimits","large","stash","oval","op_mathmlBuilder","singleCharBigOps","fName","singleCharIntegrals","operatorname_htmlBuilder","childText","isAllString","defaultRuleThickness","phantom","sizingGroup","sizeFuncs","smashHeight","smashDepth","tbArg","smashedNode","theta","phi","lineClearance","minDelimiterHeight","delimDepth","rootm","toShift","rootVList","rootVListWrap","styling_styleMap","newStyle","htmlBuilderDelegate","builderDelegate","valueBase","valueSup","valueSub","supm","subm","supShift","subShift","minSupShift","marginRight","marginLeft","isOiint","psi","vlistElem","isBrace","isOver","isSup","defaultVariant","cssSpace","regularSpace","ord","padNode","textFontFamilies","textFontWeights","textFontShapes","optionsWithFont","makeVerb","src_functions","spaceRegexString","controlWordRegexString","controlSymbolRegexString","controlWordWhitespaceRegexString","controlSpaceRegexString","combiningDiacriticalMarkString","combiningDiacriticalMarksEndRegex","tokenRegexString","Lexer","nlIndex","Namespace","globalMacros","undefs","undef","src_macros","digitToNumber","newcommand","existsOK","nonexistsOK","argText","dotsByToken","thedots","spaceAfterDots","latexRaiseA","braketHelper","middleDouble","oldMiddle","oldMiddleDouble","midMacro","doubled","implicitCommands","MacroExpander","isDelimited","expandableOnly","topToken","expansion","oldStackLength","catcode","stripped","bodyLexer","unicodeSubRegEx","uSubsAndSups","unicodeAccents","unicodeSymbols","oldToken","breakOnInfix","lex","overIndex","numerNode","denomNode","numerBody","denomBody","symbolToken","textordArray","superscript","subscript","prime","primes","isSub","subsupTokens","funcData","totalArgs","argType","modeName","argToken","lastToken","isBlank","groupEnd","nucleus","family","src_parseTree","toParse","baseNode","renderToDomTree","renderToString","generateParseTree","renderError","katex","katex_1","isValidInlineDelim","isWordCharacterOrNumber","isValidBlockDelim","nextCharPlus1","inlineMath","blockMath","blockBareMath","startMax","previousStart","previousEnd","previousLine","beginEndStack","inlineMathBlock","inlineBareBlock","foundLine","handleMathInHtml","mathType","mathMarkup","mathRegex","newTokens","html_before_math","html_after_math","unsafe","default_1","enableBareBlocks","enableMathBlockInHtml","enableMathInlineInHtml","enableFencedBlocks","math_block_within_html_regex","math_inline_within_html_regex","katexInline","displayMode","inlineRenderer","katexBlockRenderer","blockRenderer","mathLanguageId","originalFenceRenderer","decode_codepoint","decodeCodePoint","Tokenizer_1","entityMap","legacyMap","xmlMap","TEXT","BEFORE_TAG_NAME","IN_TAG_NAME","IN_SELF_CLOSING_TAG","BEFORE_CLOSING_TAG_NAME","IN_CLOSING_TAG_NAME","AFTER_CLOSING_TAG_NAME","BEFORE_ATTRIBUTE_NAME","IN_ATTRIBUTE_NAME","AFTER_ATTRIBUTE_NAME","BEFORE_ATTRIBUTE_VALUE","IN_ATTRIBUTE_VALUE_DQ","IN_ATTRIBUTE_VALUE_SQ","IN_ATTRIBUTE_VALUE_NQ","BEFORE_DECLARATION","IN_DECLARATION","IN_PROCESSING_INSTRUCTION","BEFORE_COMMENT","IN_COMMENT","AFTER_COMMENT_1","AFTER_COMMENT_2","BEFORE_CDATA_1","BEFORE_CDATA_2","BEFORE_CDATA_3","BEFORE_CDATA_4","BEFORE_CDATA_5","BEFORE_CDATA_6","IN_CDATA","AFTER_CDATA_1","AFTER_CDATA_2","BEFORE_SPECIAL","BEFORE_SPECIAL_END","BEFORE_SCRIPT_1","BEFORE_SCRIPT_2","BEFORE_SCRIPT_3","BEFORE_SCRIPT_4","BEFORE_SCRIPT_5","AFTER_SCRIPT_1","AFTER_SCRIPT_2","AFTER_SCRIPT_3","AFTER_SCRIPT_4","AFTER_SCRIPT_5","BEFORE_STYLE_1","BEFORE_STYLE_2","BEFORE_STYLE_3","BEFORE_STYLE_4","AFTER_STYLE_1","AFTER_STYLE_2","AFTER_STYLE_3","AFTER_STYLE_4","BEFORE_ENTITY","BEFORE_NUMERIC_ENTITY","IN_NAMED_ENTITY","IN_NUMERIC_ENTITY","IN_HEX_ENTITY","SPECIAL_NONE","SPECIAL_SCRIPT","SPECIAL_STYLE","ifElseState","SUCCESS","FAILURE","consumeSpecialNameChar","NEXT_STATE","cbs","sectionStart","inherits_browserModule","superCtor","TempCtor","ReflectApply","ReflectOwnKeys","ProcessEmitWarning","NumberIsNaN","EventEmitter","eventsModule","defaultMaxListeners","checkListener","_getMaxListeners","doError","arrayClone","_addListener","prepend","onceWrapper","_onceWrap","originalListener","spliceOne","_listeners","evlistener","unwrapListeners","listenerCount","errorListener","eventTargetAgnosticAddListener","addErrorHandlerIfEventEmitter","wrapListener","formTags","openImpliesClose","voidElements","foreignContextElements","htmlIntegrationElements","re_nameEnd","initialOffset","Parser_1","renderer","_Parser","incrementalDom","autoClosingStack","autoClosing","elementOpenEnd","elementVoid","elementOpen","elementOpenStart","elementClose","sanitizeName","iDOMParser","sanitizedName","wrapIncrementalDOM","markdownItIncrementalDom","_renderer","_objectSpread","ownKeys","_defineProperty","incrementalDOM","markdownItSanitizer","patternLinkOpen","regexpLinkOpen","patternImage","regexpImage","regexpImageProtocols","regexpLinkProtocols","removeUnknown","removeUnbalanced","imageClass","runBalancer","allowedTags","openTagCount","removeTag","getUrl","replaceUnknownTags","tagnameIndex","sanitizeInlineAndBlock","replaceUnbalancedTag","tagname","openingRegexp","closingRegexp","replaceAllUnbalancedTags","markdownItTaskCheckbox","lastId","isTodoItem","todoify","attrSet","parentToken","targetLevel","isInline","isParagraph","isListItem","startsWithTodoMarkdown","TokenConstructor","beginLabel","endLabel","makeCheckbox","beginWrap","endWrap","incrementalDomCjs","Blank","createMap","truncateArray","getNamespace","applyAttr","attrNS","applyProp","setStyleValue","applyStyle","elStyle","applyAttributeTyped","updateAttribute","mutator","inAttributes","setInAttributes","notifications","isDocumentRoot","isText","getAncestry","ancestry","getRootNode","getActiveElement","getFocusedPath","activeElement","moveBefore","insertReferenceNode","NodeData","nameOrCtor","initData","importSingleNode","isDataInitialized","fallbackKey","nodeName","recordAttributes","importNode","clearCache","attrsArr","getNamespaceForTag","createText","currentParent","focusPath","argsBuilder","getArgsBuilder","patchFactory","prevContext","prevDoc","prevFocusPath","prevArgsBuilder","prevCurrentNode","prevCurrentParent","previousInAttributes","retVal","patchInner","enterNode","exitNode","patchOuter","expectedNextNode","expectedPrevNode","clearUnvisitedDOM","getNextNode","matchNode","getMatchingNode","createNode","alignWithDOM","existingNode","maybeParentNode","endNode","nextNode","currentPointer","ATTRIBUTES_OFFSET","prevAttrsMap","applyStatics","statics","staticsIndex","attrsLength","hadNoAttrs","attrsStart","text$1","formatted","applyAttr_1","applyProp_1","attributes_1","close_1","currentElement_1","currentPointer_1","open_1","patchInner_1","patchOuter_1","skip_1","skipNode","getKey_1","clearCache_1","importNode_1","isDataInitialized_1","notifications_1","symbols_1","attr_1","elementClose_1","elementOpen_1","elementOpenEnd_1","elementOpenStart_1","elementVoid_1","text_1","key_1","markdownItIncrementalDOM","IncrementalDOM","markdownItKatex","Preview","containerRef","updatePreviewContent","editorText","IncrementalDOM.patch","DocumentView","windowWidth","Resizable","separatorProps","colorName","isArrayish","swizzle","simpleSwizzleModule","colorNames","reverseNames","colorStringModule","rgba","per","hexAlpha","i2","hsl","hwb","hexDouble","hsla","hwba","cssKeywords","reverseKeywords","conversions","channels","rdif","gdif","bdif","diffc","comparativeDistance","currentClosestDistance","currentClosestKeyword","xyz","t2","t3","t1","smin","lmin","sv","hsv","vmin","cmyk","lab","y2","x2","z2","lch","saturation","ansi","mult","colorString","integer","chroma","grayscale","hue","hcg","apple","gray","buildGraph","graph","models","deriveBFS","fromModel","adjacents","adjacent","wrapConversion","toModel","conversion","wrapRaw","wrappedFn","wrapRounded","colorConvert","skippedModels","hashedModelKeys","limiters","Color","newArray","zeroArray","hashedKeys","places","roundToPlace","getset","maxfn","rgbArray","alphaHex","lum","chan","color2","lum1","lum2","contrastRatio","degrees","mixinColor","color1","w1","w2","assertArray","roundTo","channel","randomColor","seed","colorDictionary","loadColorBounds","colorRanges","stringToInteger","totalColors","pickHue","pickSaturation","pickBrightness","setFormat","hueRange","getRealHueRange","randomWithin","getHueRange","saturationRange","getSaturationRange","sMin","sMax","bMin","getMinimumBrightness","bMax","HSVtoHSL","hslColor","HSVtoRGB","HSVtoHex","lowerBounds","getColorInfo","s1","v1","s2","colorInput","HexToHSB","golden_ratio","rnd","componentToHex","defineColor","h_i","cMax","colorHue","YORKIE_API_ADDR","YORKIE_API_KEY","yorkie.setLogLevel","useYorkieDocument","yorkieDocumentId","presenceName","getYorkieToken","shareToken","createYorkieClient","yorkieToken","syncLoopDuration","newClient","yorkie.Client","createYorkieDocument","newDocument","yorkie.Document","cleanUpYorkieDocument","newDoc","DocumentIndex","isWorkspaceLoading","isDocumentLoading","generateGetDocumentBySharingTokenQueryKey","useGetDocumentBySharingTokenQuery","DocumentShareIndex","sharedDocument","JoinIndex","joinWorkspace","generateGetWorkspaceUserListQueryKey","useGetWorkspaceUserListQuery","MemberModal","createWorkspaceInvitationToken","invitationUrl","setInvitationUrl","handleCreateInviteUrl","invitationToken","handleCopyInviteUrl","MemberIndex","workspaceUserPageList","memberModalOpen","setMemberModalOpen","userList","handleMemberModalOpen","codePairRoutes","injectProtectedRoute","injectProtectedComp","isAxios404Error","isAxios500Error","Sentry.init","Sentry.BrowserTracing","Sentry.reactRouterV6Instrumentation","SettingLoader","App","handleError","getStorage_1","getStorage","noopStorage","hasStorage","storageType","storage","testKey","createWebStorage_1","createWebStorage","_getStorage","_createWebStorage","KEY_PREFIX","FLUSH","REHYDRATE","PAUSE","PERSIST","PURGE","REGISTER","DEFAULT_VERSION","enumerableOnly","autoMergeLevel1","inboundState","originalState","reducedState","createPersistoid","storageKey","defaultSerialize","writeFailHandler","stagedState","keysToProcess","timeIterator","writePromise","passWhitelistBlacklist","processNextKey","endState","subState","writeStagedState","onWriteFail","getStoredState","defaultDeserialize","rawState","serial","purgeStoredState","warnIfRemoveError","_objectWithoutProperties","sourceSymbolKeys","DEFAULT_TIMEOUT","persistReducer","baseReducer","stateReconciler","defaultGetStoredState","_persistoid","_purge","_paused","conditionalUpdate","_persist","restState","_sealed","_rehydrate","restoredState","migrate","migratedState","migrateErr","reconciledRest","_newState","persistorReducer","persistStore","_pStore","rehydrate","rehydrateAction","persistor","purgeResult","flushResult","persistConfig","persistedReducer","_getPrototypeOf","PersistGate","_PureComponent","_getPrototypeOf2","_persistor$getState","bootstrapped","PureComponent","gtag","smallWords","toTitleCase","mightBeEmail","redacted","redactEmail","titleCase","redactingEmail","_gtag","_format","_excluded2","_excluded3","_x","_toPropertyKey","_toPrimitive","GA4","GA_MEASUREMENT_ID","gtagUrl","gaOptions","mapFields","gtagOptions","initConfigs","_options$testMode","testMode","mergedGtagOptions","queues","fieldsObject","eventCategory","eventAction","eventLabel","eventValue","_args$","timingCategory","timingVar","timingValue","timingLabel","_this$_toGtagOptions","_len3","_key3","_args$2","_len4","_key4","hitType","_len5","_key5","_len6","_key6","_len7","_key7","readyCallback","clientId","optionsOrName","nonInteraction","fieldObject","_ga","nodeInterop","cacheBabelInterop","cacheNodeInterop","hasPropertyDescriptor","ReactGAImplementation","trackingCode","ReactGA"],"mappings":";;;;;;;;GASa,IAAIA,GAAE,OAAO,IAAI,eAAe,EAAEC,IAAE,OAAO,IAAI,cAAc,EAAEC,IAAE,OAAO,IAAI,gBAAgB,EAAEC,IAAE,OAAO,IAAI,mBAAmB,EAAEC,IAAE,OAAO,IAAI,gBAAgB,EAAEC,IAAE,OAAO,IAAI,gBAAgB,EAAEC,IAAE,OAAO,IAAI,eAAe,EAAEC,IAAE,OAAO,IAAI,mBAAmB,EAAEC,IAAE,OAAO,IAAI,gBAAgB,EAAEC,IAAE,OAAO,IAAI,YAAY,EAAEC,IAAE,OAAO,IAAI,YAAY,EAAEC,GAAE,OAAO,SAAS,SAASC,IAAEC,EAAE,CAAC,OAAUA,IAAP,MAAqB,OAAOA,GAAlB,SAA2B,MAAKA,EAAEF,IAAGE,EAAEF,EAAC,GAAGE,EAAE,YAAY,EAAqB,OAAOA,GAApB,WAAsBA,EAAE,KAAI,CAC1e,IAAIC,IAAE,CAAC,UAAU,UAAU,CAAC,MAAM,EAAE,EAAE,mBAAmB,UAAU,CAAA,EAAG,oBAAoB,UAAU,CAAA,EAAG,gBAAgB,UAA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C,IAAOC,GAAUK,IAAUC,IAAQC,IAAWC,IAAWC,GAAS,ECzDzF,MAAMC,GAAkB,CAEtB,OAAQ,CACN,SAAU,UACV,UAAW3C,EACZ,EACD,UAAW,CACT,SAAU,UACV,UAAWA,EACZ,EACD,YAAa,CACX,SAAU,UACV,UAAWA,EACZ,EACD,aAAc,CACZ,SAAU,UACV,UAAWA,EACZ,EACD,WAAY,CACV,SAAU,UACV,UAAWA,EACZ,EACD,YAAa,CACX,SAAU,SACX,EACD,eAAgB,CACd,SAAU,SACX,EACD,iBAAkB,CAChB,SAAU,SACX,EACD,kBAAmB,CACjB,SAAU,SACX,EACD,gBAAiB,CACf,SAAU,SACX,EACD,QAAS,CACP,SAAU,UACV,UAAWA,EACZ,EACD,aAAc,CACZ,SAAU,SACX,EACD,aAAc,CACZ,SAAU,qBACV,MAAOc,EACR,EAED,MAAO,CACL,SAAU,UACV,UAAWa,EACZ,EACD,QAAS,CACP,SAAU,UACV,YAAa,kBACb,UAAWA,EACZ,EACD,gBAAiB,CACf,SAAU,UACV,UAAWA,EACZ,EAED,EAAG,CACD,MAAOnC,EACR,EACD,GAAI,CACF,MAAOA,EACR,EACD,GAAI,CACF,MAAOA,EACR,EACD,GAAI,CACF,MAAOA,EACR,EACD,GAAI,CACF,MAAOA,EACR,EACD,GAAI,CACF,MAAOA,EACR,EACD,GAAI,CACF,MAAOA,EACR,EACD,QAAS,CACP,MAAOA,EACR,EACD,WAAY,CACV,MAAOA,EACR,EACD,aAAc,CACZ,MAAOA,EACR,EACD,cAAe,CACb,MAAOA,EACR,EACD,YAAa,CACX,MAAOA,EACR,EACD,SAAU,CACR,MAAOA,EACR,EACD,SAAU,CACR,MAAOA,EACR,EACD,cAAe,CACb,MAAOA,EACR,EACD,mBAAoB,CAClB,MAAOA,EACR,EACD,iBAAkB,CAChB,MAAOA,EACR,EACD,aAAc,CACZ,MAAOA,EACR,EACD,kBAAmB,CACjB,MAAOA,EACR,EACD,gBAAiB,CACf,MAAOA,EAC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QAAS,WACT,QAAS,wBACT,QAAS,UACT,QAAS,gBACT,QAAS,qBACT,QAAS,mBACT,QAAS,uBACT,QAAS,UACT,QAAS,6EACT,QAAS,2BACT,QAAS,wBACT,QAAS,sCACT,QAAS,2CACT,QAAS,gEACT,QAAS,qCACT,QAAS,WACT,QAAS,6CAET,QAAS,WACT,QAAS,WACT,QAAS,WACT,QAAS,iFACT,QAAS,qBAET,QAAS,wCACT,QAAS,UACT,QAAS,cACT,QAAS,4BACT,QAAS,UACT,QAAS,WACT,QAAS,wBACT,QAAS,eACT,QAAS,wDACT,QAAS,UACX,EAEAA,GAAY,OAAO,EAAIA,GAAY,OAAO,EAC1CA,GAAY,OAAO,EAAIA,GAAY,OAAO,EAC1CA,GAAY,OAAO,EAAIA,GAAY,OAAO,EAC1CA,GAAY,OAAO,EAAIA,GAAY,OAAO,EAG1C,IAAIC,GAAa,CACf,QAAS9E,EACT,QAASO,EACT,QAASG,EACT,QAASC,EACT,QAASI,EACT,QAASG,EACT,QAASC,EACT,QAASf,EACT,QAASgB,EACT,QAASG,EACT,QAASC,GACT,QAASG,GACT,QAASG,GACT,QAASC,GACT,QAASG,GACT,QAASE,GACT,QAASC,GACT,QAASC,GACT,QAASC,GACT,QAASI,GACT,QAASU,GACT,QAASC,GACT,QAASG,GACT,QAASC,GACT,QAASG,GACT,QAASM,GACT,QAASC,GACT,QAASE,GACT,QAASC,GACT,QAASC,GACT,QAASI,EACX,EAEAE,GAAW,OAAO,EAAIA,GAAW,OAAO,EACxCA,GAAW,OAAO,EAAIA,GAAW,OAAO,EACxCA,GAAW,OAAO,EAAIA,GAAW,OAAO,EACxCA,GAAW,OAAO,EAAIA,GAAW,OAAO,EAGxC,IAAIC,GAAa,kCACbC,GAAkB,CACpB,QAASD,GACT,QAAS,UACT,QAASA,EACX,EAEAC,GAAgB,OAAO,EAAIA,GAAgB,OAAO,EAQlD,SAASxF,GAAQp4T,GAAK,CACpB,IAAIkzL,GAAS,UAAU,OAAS,GAAK,UA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BACT,QAAS,4CACT,QAAS,uCACT,QAAS,6BACT,QAAS,0BACT,QAAS,mBACT,QAAS,yBACT,QAAS,wCACT,QAAS,6BACT,QAAS,8CACT,QAAS,2DACT,QAAS,wCACT,QAAS,8CACT,QAAS,qBACT,QAAS,yEACT,QAAS,yBACT,QAAS,0BACT,QAAS,yBACT,QAAS,gCACT,QAAS,8BACT,QAAS,oBACT,QAAS,wBACT,QAAS,uBACT,QAAS,oBACT,QAAS,yBACT,QAAS,wBACT,QAAS,0FACT,QAAS,mBACT,QAAS,yBACT,QAAS,oBACT,QAAS,8BACT,QAAS,6BACT,QAAS,wBACT,QAAS,mDACT,QAAS,6BACT,QAAS,uBACT,QAAS,uBACT,QAAS,wBACT,QAAS,4BACT,QAAS,kCACT,QAAS,uBACT,QAAS,mBACT,QAAS,6BACT,QAAS,oBACT,QAAS,oBACT,QAAS,2BACT,QAAS,uBACT,QAAS,2BACT,QAAS,uBACT,QAAS,6CACT,QAAS,sDACT,QAAS,4CACT,QAAS,8BACT,QAAS,sCACT,QAAS,uBACT,QAAS,iBACT,QAAS,0BACT,QAAS,sBACT,QAAS,uBACT,QAAS,8BACT,QAAS,8BACT,QAAS,8BACT,QAAS,yBACT,QAAS,8BACT,QAAS,kBACT,QAAS,iDACT,QAAS,oCACT,QAAS,qGACT,QAAS,oBACT,QAAS,+BACT,QAAS,qDACT,QAAS,wDACT,QAAS,8BACT,QAAS,oBACT,QAAS,sCACT,QAAS,kEACT,QAAS,4CACT,QAAS,mBACT,QAAS,mBACT,QAAS,8BACT,QAAS,kDACT,QAAS,qEACT,QAAS,6DACT,QAAS,4BACT,QAAS,sBACT,QAAS,wBACT,QAAS,oBACT,QAAS,gDACT,QAAS,qCACT,QAAS,sBACT,QAAS,gDACT,QAAS,+IACT,QAAS,0BACT,QAAS,iBACT,QAAS,qDACT,QAAS,wDACT,QAAS,oBACT,QAAS,kDACT,QAAS,sEACT,QAAS,iDACT,QAAS,4CACT,QAAS,yBACT,QAAS,2BACT,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ACA,IACA,GACA,EACA,IACA,IACA,IACA,IACA,EACA,IACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,IACA,EACA,GACA,EACA,GACA,EACA,GACA,EACA,EACA,IACA,IACA,IACA,EACA,EACA,EACA,IACA,IACA,IACA,GACA,IACA,EACA,EACA,EACA,IACA,IACA,IACA,GACA,IACA,EACA,EACA,EACA,IACA,IACA,IACA,GACA,IACA,EACA,EACA,EACA,IACA,IACA,IACA,GACA,IACA,EACA,EACA,EACA,IACA,IACA,IACA,GACA,IACA,IACA,IACA,IACA,EACA,EACA,GACA,IACA,EACA,EACA,EACA,EACA,GACA,EACA,GACA,GACA,EACA,EACA,IACA,GACA,EACA,IACA,GACA,EACA,IACA,GACA,GACA,IACA,IACA,GACA,EACA,IACA,GACA,EACA,IACA,GACA,GACA,IACA,IACA,IACA,GACA,EACA,GACA,GACA,IACA,IACA,GACA,EACA,GACA,EACA,IACA,GACA,GACA,EACA,EACA,IACA,GACA,EACA,IACA,GACA,EACA,IACA,GACA,GACA,IACA,IACA,GACA,EACA,IACA,GACA,EACA,IACA,GACA,GACA,IACA,IACA,IACA,GACA,EACA,GACA,GACA,IACA,IACA,GACA,EACA,GACA,EACA,IACA,GACA,GACA,EACA,EACA,IACA,GACA,EACA,IACA,GACA,EACA,IACA,GACA,GACA,IACA,IACA,GACA,EACA,IACA,GACA,EACA,IACA,GACA,GACA,IACA,IACA,IACA,GACA,EACA,GACA,GACA,IACA,IACA,GACA,EACA,GACA,EACA,IACA,GACA,GACA,EACA,EACA,IACA,GACA,EACA,IACA,GACA,EACA,IACA,GACA,GACA,IACA,IACA,GACA,EACA,IACA,GACA,EACA,IACA,GACA,GACA,IACA,IACA,IACA,GACA,EACA,GACA,GACA,IACA,IACA,GACA,EACA,GACA,EACA,IACA,GACA,GACA,EACA,EACA,IACA,GACA,EACA,IACA,GACA,EACA,IACA,GACA,GACA,IACA,IACA,GACA,EACA,IACA,GACA,EACA,IACA,G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K,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,KACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,KACL,EAAK,KACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,KACL,EAAK,KACL,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,KACL,EAAK,KACL,EAAK,IACL,EAAK,IACL,EAAK,KACL,EAAK,KACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,EAAK,IACL,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,GAAM,IACN,EAAK,IACL,EAAK,I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AE3B,CACD,OAAOg7B,CACR,CACDojX,EAAWlmS,EAAI,MAAM,CACtB,CACF,CACP,CAAK,CACF,EAAEgiS,CAAK,CACV,CChIA+E,GAAI,YAAc,MAClBA,GAAI,QAAU,CAAE,EAGD,SAASA,GAAI/E,EAAO,CACjCA,EAAM,SAASgF,EAAyB,EAQtC,SAAUhF,EAAO,CACjB,IAAIz4Y,EAAU,oCACVi2B,EAAW,CACb,CACE,QAAS,sBACT,MAAO,SACR,EACD,CACE,QAAS,iCACT,OAAQ,GACR,WAAY,EACb,EACD,CACE,QAAS,+CACT,OAAQ,GACR,WAAY,EACb,EACD,gBACA,+BACD,EACG6iK,EACF,6IACEmzD,EACF,wFACEC,EAAc,gBAClBusJ,EAAM,UAAU,IAAM,CACpB,UAAW,CACT,QAAS,6BACT,MAAO,WACR,EACD,QAASz4Y,EACT,SAAU,sBACV,QAAS,CACP,QACE,oEACF,WAAY,GACZ,OAAQ,CACN,YAAa,IACd,CACF,EACD,wBAAyB,CACvB,QAAS,4DACT,WAAY,GACZ,MAAO,YACR,EACD,sBAAuB,CACrB,QAAS,qCACT,WAAY,GACZ,MAAO,UACR,EACD,QAAS,CACP,CACE,QACE,8EACF,MAAO,eACP,OAAQ,GACR,WAAY,EACb,EACD,CACE,QACE,sIACF,MAAO,YACP,OAAQ,GACR,WAAY,EACb,EACD,CACE,QACE,mJACF,MAAO,cACP,OAAQ,GACR,WAAY,EACb,EACD,CACE,QACE,2EACF,MAAO,mBACP,OAAQ,EACT,EACD,CACE,QAAS,qDACT,MAAO,mBACP,OAAQ,GACR,WAAY,EACb,EACD,CACE,QAAS,qCACT,MAAO,iBACP,OAAQ,EACT,EACD,CAEE,QAAS,sBACT,WAAY,EACb,EAED,aACA,CAKE,QACE,6iBACF,WAAY,EACb,CACF,EACD,gBAAiB,CACf,QAAS,qCACT,WAAY,EACb,EACD,aAAc,CACZ,CACE,QACE,qGACF,OAAQ,GACR,WAAY,EACb,EACD,CACE,QAAS,8BACT,OAAQ,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,CC/QO,MAAM3zB,IAAI8ua,IAAKhjW,GAAM,KAAK,ECZpBujW,IAA0B,CACrC,QACA,MACA,SACA,QACA,SACA,QACA,SACA,OACA,OACA,SACA,MACA,SACA,QACA,SACA,OACA,KACA,SACA,QACA,SACA,OACA,KACA,SACA,SACA,QACA,SACA,SACA,SACA,OACA,OACA,MACA,QACA,SACA,QACA,SACA,OACA,SACA,SACA,QACA,QACA,QACA,SACA,MACA,QACA,SACA,OACA,SACA,SACA,QACA,OACA,OACA,SACA,MACA,SACA,SACA,QACA,SACA,MACA,OACA,SACA,SACA,SACA,KACA,SACA,QACA,QACA,SACA,SACA,OACA,QACA,KACA,OACA,QACA,SACA,OACA,MACA,SACA,SACA,QACA,SACA,OACA,OACA,SACA,SACA,OACA,OACA,SACA,QACA,OACA,QACA,MACA,OACA,MACA,OACA,OACA,OACA,QACA,QACA,QACA,SACA,QACA,SACA,MACA,OACA,SACA,MACA,MACF,EC3GaC,IAA4B,CACvC,EAAG,IACH,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,GACP,EC3BO,SAAS5uF,IAAU50T,EAAW,CACnC,MAAM7D,EACJ,OAAO6D,GAAc,SAAWA,EAAU,WAAW,CAAC,EAAIA,EAE5D,OAAO7D,GAAQ,IAAMA,GAAQ,EAC/B,CCLO,SAAS64T,IAAch1T,EAAW,CACvC,MAAM7D,EACJ,OAAO6D,GAAc,SAAWA,EAAU,WAAW,CAAC,EAAIA,EAE5D,OACG7D,GAAQ,IAAcA,GAAQ,KAC9BA,GAAQ,IAAcA,GAAQ,IAC9BA,GAAQ,IAA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EACD,OAAQ,CACN,QAAS,oCACT,OAAQ,EACT,EACD,SAAU,+DACV,UAAW,CACT,QAAS,aACT,MAAO,UACR,EACD,aAAc,CACZ,QAAS,2BACT,MAAO,UACR,EACD,UAAW,CACT,QACE,8jCACF,MAAO,SACR,EACD,aAAc,CACZ,QAAS,sBACT,MAAO,QACR,EACD,gBAAiB,CACf,QAAS,aACT,MAAO,QACR,EACD,iBAAkB,CAChB,QAAS,YACT,MAAO,QACR,EACD,SAAU,CACR,QAAS,qBACT,MAAO,UACR,EACD,SAAU,4CACV,YAAa,QACd,CACH,CC/CA4M,GAAW,YAAc,aACzBA,GAAW,QAAU,CAAE,EAGR,SAASA,GAAW5M,EAAO,CAExCA,EAAM,UAAU,WAAa,CAC3B,QAAS,CACP,CACE,QAAS,YACT,WAAY,EACb,EACD,CACE,QACE,uEACF,WAAY,GACZ,OAAQ,EACT,CACF,EACD,IAAK,CAEH,QAAS,mCACT,WAAY,EACb,EACD,OAAQ,qBACR,SAAU,QACV,OAAQ,8DACR,SACE,uGACF,QAAS,qBACT,QAAS,CACP,QACE,4jEACF,MAAO,UACR,EACD,SACE,kvDACF,QACE,ovBACF,OACE,iuCACF,UAAW,CACT,QAAS,aACT,MAAO,WACR,EACD,QACE,unEACF,SAAU,yCACV,YAAa,aACd,CACH,CClDA6M,GAAO,YAAc,SACrBA,GAAO,QAAU,CAAE,EAGJ,SAASA,GAAO7M,EAAO,CACpCA,EAAM,UAAU,OAAS,CACvB,QAAS,CACP,MACA,CAEE,QACE,sEACF,WAAY,EACb,CACF,EACD,IAAK,CACH,QAAS,mDACT,WAAY,EACb,EACD,OAAQ,CACN,QAAS,kCACT,OAAQ,GACR,OAAQ,CACN,SAAU,cACX,CACF,EACD,UAAW,CACT,QAAS,oBACT,WAAY,GACZ,MAAO,SACR,EACD,SAAU,cAEV,SAAU,UACV,QACE,yOACF,OAAQ,kDACR,QAAS,sBACT,SAAU,+CACV,YAAa,aACd,CACH,CCzCA8M,GAAS,YAAc,W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AAY,GACZ,MAAO,UACR,EACD,mBAAoB,CAElB,QAAS,iCACT,WAAY,GACZ,MAAO,SACR,EACD,uBAAwB,CACtB,QAAS,KACT,WAAY,GACZ,MAAO,UACR,EAyBD,4BAA6B,CAC3B,QACE,0MACF,WAAY,GACZ,MAAO,SACR,EACD,eAAgB,CACd,QAAS,6DACT,WAAY,GACZ,OAAQ,GACR,MAAO,UACR,EACD,wBAAyB,CACvB,QAAS,uBACT,WAAY,GACZ,MAAO,UACR,EAED,gCAAiC,CAC/B,CAEE,QAAS,wBACT,WAAY,GACZ,MAAO,UACR,EACD,CAEE,QAAS,iBACT,WAAY,GACZ,MAAO,UACR,CACF,EAED,sBAAuB,CACrB,CAEE,QAAS,iBACT,WAAY,GACZ,MAAO,UACR,EACD,CAEE,QAAS,iBACT,WAAY,GACZ,MAAO,UACR,CACF,EACD,cAAe,CACb,QAAS,0BACT,WAAY,EACb,EAgBD,OAAQ,CACN,QAAS,qBACT,OAAQ,GACR,OAAQA,CACT,CACF,EACGn4a,EAAS,SAAU8xB,EAAK,CAC1B,OAAQA,EAAM,IAAI,QAAQ,4BAA6B,MAAM,CAC9D,EACGsmZ,EAAmB,SAAU/0S,EAAK,CACpC,OAAO,IAAI,OAAO,aAAeA,EAAI,IAAIrjI,CAAM,EAAE,KAAK,GAAG,EAAI,YAAY,CAC1E,EACGq4a,EAAW,CACb,iBAAkB,CAChB,KACA,QACA,QACA,OACA,UACA,MACA,WACA,kBACA,MACA,OACA,YACA,aACA,OACA,WACA,OACA,OACA,QACA,WACA,OACA,QACA,OACA,MACA,IACA,IACA,QACA,QACA,QACA,OACA,kBACA,MACA,SACA,MACA,QACA,OACA,QACA,SACA,OACA,UACA,UACA,OACA,UACA,MACA,gBACA,WACA,QACA,QACA,QACA,OACA,OACA,OACA,OACA,MACA,OACA,OACA,QACA,UACA,YACA,OACA,QACA,OACA,SACA,gBACA,SACA,QACA,YACA,WACA,oBACA,kBACA,OACA,YACA,MACA,QACA,MACA,QACA,MACA,iBACA,SACD,EACD,uBAAwB,CAEtB,UACA,YACA,YACA,KACA,SACA,MACA,IACA,WACA,KACA,SACA,QACA,SACA,YACA,aACA,WACA,SACA,UACA,gBACA,oBACA,YACA,UACA,mBACA,KACA,WAEA,IACA,KACA,IACD,EACD,oBAAqB,CACnB,aACA,WACA,SACA,mBACA,SACA,aACA,aACA,YACA,mBACA,kBACA,WACA,aACA,OACA,WACA,UACA,aACA,YACA,WACA,OACA,OACA,MACA,WACA,UACA,SACA,UACA,aACA,aACA,SACA,QACA,UACA,oBACA,aACA,cACA,OACA,SACA,gBACA,oBACA,gCACA,iCACA,YACA,UACA,WACA,SACA,aACA,aACA,UACA,SACA,OACA,eACA,eACA,QACA,OACA,SACA,YACA,UACA,QACA,WACA,cACA,WACA,QACA,YACA,aACA,aACA,qBACA,SACA,SACA,WACA,eACA,UACA,aACA,OACA,UACA,QACA,SACA,SACA,OACA,aACA,WACA,YACA,MACA,aACA,UACA,aACA,SACA,cACA,YACA,OACA,YACA,SACA,YACA,iBACA,UACA,eACA,UACA,gBACA,eACA,YACA,mBACA,UACA,SACA,WACA,OACA,aACA,oBACA,YACA,UACA,UACA,YACA,WACA,WACA,aACA,OACA,cACA,iBACA,QACA,UACA,YACA,gBACA,cACA,oBACA,MACA,UACA,OACA,SACA,OACA,sBACA,aACA,aACA,mBACA,UACA,cACA,SACA,aACA,WACA,kBACA,OACA,OACA,QACA,QACA,QACA,YACA,SACA,eACA,eACA,WACA,WACA,MACA,aACA,YACA,WACA,QACA,oBACA,eACA,OACA,cACA,QACA,UACA,UACA,OACA,cACA,SACA,OACA,gBACA,YACA,aACD,EACD,eAAgB,CACd,UACA,kBACA,MACA,cACA,iBACA,aACA,UACA,eACA,UACA,WACA,cACA,MACA,IACA,IACA,cACA,IACA,MACA,IACA,KACA,SACA,cACA,wBACA,OACA,IACA,OACA,IACA,WACA,SACA,cACA,KACA,QACA,aACA,SACA,QACA,SACA,QACA,QACA,QACA,UACA,SACA,UACA,WACA,KACA,iBACA,KACA,MACA,UACA,aACA,KACA,KACA,MACA,QACA,WACA,SACA,KACA,UACA,UACA,MACA,SACA,KACA,SACA,QACA,OACA,WACA,aACA,UACA,WACA,OACA,YACA,cACA,QACA,MACA,iBACA,YACA,yBACA,aACA,QACA,aACA,QACA,UACA,MACA,SACA,wBACA,MACA,OACA,KACA,OACA,WACA,QACA,YACA,WACD,CAEF,EAED,OAAO,KAAKA,CAAQ,EAAE,QAAQ,SAAU54a,EAAG,CACzCypV,EAAOzpV,CAAC,EAAE,QAAU24a,EAAiBC,EAAS54a,CAAC,CAAC,CACtD,CAAK,EACD,IAAI64a,EAAc,CAEhB,MACA,QACA,OACA,MACA,OACA,QACA,QACA,OACA,QACA,UACA,MACA,MACA,OACA,QACA,QACA,UACA,SACA,OACA,OACA,QACA,QACA,MACA,SACA,KACA,UACA,YACA,MACA,OACA,YACA,QACA,OACA,QACA,OACA,QACA,UACA,KACA,QACA,OACA,SACA,aACA,aACA,WACA,QACA,UACA,OACA,KACA,OACA,SACA,QACA,OACA,SACA,MACA,OACA,SACA,MACA,WACA,YAEA,iBACA,kBACA,SACA,YACA,QACA,YACA,YACA,WACA,cACA,UACA,YACA,gBACA,mBACA,SACA,MACA,UACA,cACA,aACA,SACA,cACA,OACA,eACA,YACA,UACA,eACA,eACA,aACA,kBACA,QACA,aACA,SACA,eACA,YACA,eACA,WACA,SACA,WACA,aACA,OACA,YACA,gBACA,eACA,OACA,UACA,UACA,YACA,gBACA,iBACA,kBACA,gBACA,UACA,OACA,YACA,cACA,UACA,cACA,aACA,OACA,aACA,iBACA,aACA,OACA,eACA,cACA,WACA,gBACA,YACA,UACA,QACA,aACA,QACA,OACA,aACA,UACA,aACA,aACA,QACA,OACA,YACA,iBACA,YAEA,UACA,eACA,cACA,iBACA,YACA,oBACA,kBACA,QACA,iBACA,eACA,gBAEA,kBACA,cACA,gBACA,gBACA,kBACA,cAEA,OACA,UACA,YACA,YACA,UACA,eACA,iBACA,aACA,OACA,SACA,cAC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AAO,UACR,EACD,CAEE,QACE,uFACF,WAAY,GACZ,MAAO,UACR,CACF,EACD,MAAO,CACL,QAAS,0CACT,WAAY,GACZ,OAAQ,GACR,MAAO,UACR,EACD,KAAM,CACJ,QAAS,gEACT,MAAO,QACR,EACD,OAAQ,CACN,QAAS,cACT,OAAQ,EACT,EACD,WAAY,CACV,QACE,gGACF,MAAO,WACR,EACD,QAAS,CAEP,CACE,QACE,yOACF,WAAY,GACZ,OAAQ,EACT,EACD,CACE,QACE,2KACF,WAAY,GACZ,OAAQ,EACT,CACF,EACD,OAAQ,cACR,SAAU,CACR,QAAS,gCACT,WAAY,EACb,EACD,YAAa,SACd,CACH,CCrHA4b,GAAS,YAAc,WACvBA,GAAS,QAAU,CAAE,EAGN,SAASA,GAAS5b,EAAO,CACtCA,EAAM,UAAU,SAAW,CAEzB,QAAS,CACP,QAAS,MACT,OAAQ,EACT,EACD,OAAQ,CACN,QAAS,cACT,OAAQ,EACT,EACD,OAAQ,YACR,QAAS,qBACT,YAAa,CACX,SACA,CACE,QAAS,6BACT,WAAY,EACb,EACD,CACE,QAAS,mBACT,WAAY,EACb,EACD,CACE,QAAS,oBACT,WAAY,EACb,CACF,EACD,SAAU,CACR,CACE,QAAS,0BACT,WAAY,EACb,EACD,CACE,QAAS,mCACT,WAAY,EACb,EACD,mPACD,EACD,SAAU,CACR,QACE,8hBACF,MAAO,SACR,EACD,QAAS,CACP,QACE,mTACF,MAAO,SACR,EACD,SAAU,CACR,CACE,QACE,2GACF,WAAY,EACb,EACD,CACE,QAAS,4CACT,WAAY,EACb,EACD,CACE,QAAS,sCACT,WAAY,EACb,EACD,CACE,QAAS,4BACT,WAAY,EACb,EACD,CACE,QAAS,yBACT,WAAY,EACb,EACD,oBACD,EACD,MAAO,CACL,QACE,2xCACF,MAAO,UACR,EACD,QACE,kVACF,QACE,sbACF,KAAM,CACJ,QACE,6GACF,MAAO,UACR,EACD,SAAU,CACR,QACE,+MACF,WAAY,EACb,CACF,CACH,CCjGA6b,GAAM,YAAc,QACpBA,GAAM,QAAU,CAAE,EAGH,SAASA,GAAM7b,EAAO,CACnCA,EAAM,UAAU,MAAQ,CACtB,QAAS,OACT,QACE,s0BACF,UAAW,CACT,QAAS,cACT,MAAO,UACR,EACD,SAAU,aACV,OAAQ,gBACR,SAAU,mBACV,YAAa,uBACd,CACH,CCjBA8b,GAAQ,YAAc,UACtBA,GAAQ,QAAU,CAAE,EAGL,SAASA,GAAQ9b,EAAO,CACrCA,EAAM,SAAS8F,EAAmB,EAChC,SAAU9F,EAAO,CACjB,IAAIptG,EAAY,CAEd,MACA,MACA,OACA,MACA,MACA,OACA,MACA,OACA,OACA,OACA,OACA,MACA,UACA,QACA,QACA,cACA,OACA,SACA,QACA,SACA,iBACA,aACA,QACA,cACA,OACA,aACA,QACA,gBACA,cACA,gBACA,cACA,WACA,aACA,QACA,SAEA,eACA,OACA,OACA,OACA,OACA,UACA,OACA,eACA,SACA,YACA,OACA,QACA,QACA,WACA,QACA,YACA,SACA,QACA,OAEA,aACA,UACA,cACA,aACA,SACA,aACA,SACA,WACA,eACA,SACA,cACA,SACA,qBACA,gBACA,UACA,SACA,SACA,OACA,kBACA,WACA,UACA,eACA,eACA,UACA,OACA,QACA,QACA,eACA,aACA,SACA,UACA,mBAEA,OACA,eACA,QACA,SACA,OACA,YACA,mBACA,OACA,kBACA,eACA,iBACA,QACA,SACA,QACA,SACA,SACA,OACA,cACA,YACA,QACA,OACA,UACA,gBACA,QACA,WACA,OACA,iBACA,eACA,kBACA,gBACA,cACA,aACA,aACA,oBACA,UACA,MACA,OACA,UACA,SACA,SACA,YACA,MACA,OACA,QACA,UACA,MACA,gBACA,gBACA,aACA,WACA,YACA,gBACA,WACA,eACA,QACA,QACA,OACA,WACA,MACA,OACA,SACA,MACA,OACA,SACA,OACA,OACA,gBACA,QACA,OACA,eACA,UACA,OACA,SACA,YACA,MACA,OACA,iBACA,MACA,OACA,QACA,oBACA,SACA,UACA,aACA,gBACA,cACA,cACA,cACA,gBACA,SACA,SACA,UACA,iBACA,aACA,mBACA,eACA,YACA,QACA,OACA,SACA,SACA,QACA,aACA,cACA,cACA,eACA,YACA,UACA,eACA,YACA,YACA,OACA,UACA,OACA,UACA,UACA,aACA,YACA,SACA,UACA,cACA,YACA,WACA,WACA,QACA,SACA,QACA,QACA,QACA,OACA,SACA,WACA,YACA,gBACA,aACA,YACA,QACA,cACA,YACA,cAEA,WACA,WACA,QACA,OACA,aACA,OACA,WACA,SACA,aACA,eACA,UACD,EACGmpH,EAAmB,CACrB,WACA,OACA,UACA,QACA,YACA,aACA,gBACA,SACA,SACA,SACA,UACA,MACD,EACDnpH,EAAYA,EAAU,IAAI,SAAUp/C,EAAU,CAC5C,OAAOA,EAAS,QAAQ,IAAK,KAAK,CACxC,CAAK,EACD,IAAIwoK,EAAkB,MAAQppH,EAAU,KAAK,GAAG,EAAI,OACpDotG,EAAM,UAAU,QAAUA,EAAM,UAAU,OAAO,aAAc,EAAE,EACjEA,EAAM,UAAU,aAAa,UAAW,SAAU,CAChD,SAAU,CACR,QACE,oHACF,OAAQ,GACR,OAAQ,CACN,QAAS,OAAO,WAAcgc,EAAkB,WAAW,CAC5D,CACF,CACP,CAAK,EACDhc,EAAM,UAAU,QAAQ,OAAO,OAAS,CACtC,IAAK,CAEH,QACE,yEACF,OAAQ,EACT,EACD,OAAQ,CAEN,QACE,8EACF,OAAQ,EACT,CACF,EACDA,EAAM,UAAU,aAAa,UAAW,WAAY,CAClD,QAAS,CACP,QAAS,OAAO,SAAW+b,EAAiB,KAAK,GAAG,EAAI,MAAM,EAC9D,MAAO,SACR,CACP,CAAK,CACF,EAAE/b,CAAK,CACV,CC9SAic,GAAO,YAAc,SACrBA,GAAO,QAAU,CAAE,EAGJ,SAASA,GAAOjc,EAAO,CACpCA,EAAM,UAAU,OAAS,CACvB,QAAS,CACP,QAAS,6BACT,OAAQ,EACT,EACD,OAAQ,CACN,QAAS,cACT,OAAQ,EACT,EACD,aAAc,CACZ,QAAS,gB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,kBACT,MAAO,SACR,EACD,YAAa,OACd,CACF,EACD,WAAY,CACV,QAAS,mCACT,MAAO,QACR,EACD,SAAU,CACR,CACE,QAAS,IACT,MAAO,aACR,EACD,CACE,QAAS,IACT,MAAO,aACR,EACD,CACE,QAAS,IACT,MAAO,WACR,EACD,CACE,QAAS,KACT,MAAO,aACR,EACD,CACE,QAAS,QACT,MAAO,YACR,EACD,CACE,QAAS,OACT,MAAO,WACR,EACD,CACE,QAAS,OACT,MAAO,UACR,EACD,CACE,QAAS,UACT,MAAO,MACR,CACF,EACD,gBAAiB,CACf,CACE,QACE,2HACF,WAAY,GACZ,OAAQ,CACN,aAAc,CACZ,QAAS,kBACT,MAAO,UACR,EACD,MAAO,GACR,CACF,EACD,CACE,QAAS,sBACT,OAAQ,CACN,aAAc,CACZ,QAAS,kBACT,MAAO,UACR,EACD,MAAO,GACR,CACF,CACF,EACD,YAAa,UACb,KAAM,iBACP,CACH,CCtIA6c,GAAM,YAAc,QACpBA,GAAM,QAAU,CAAE,EAGH,SAASA,GAAM7c,EAAO,EACjC,SAAUA,EAAO,CACjB,IAAI74Y,EACF,gEACF64Y,EAAM,UAAU,MAAQ,CACtB,QAAS,CACP,QAAS,iBACT,WAAY,GACZ,OAAQ,EACT,EACD,UAAW,CACT,QACE,0GACF,WAAY,GACZ,OAAQ,GACR,OAAQ,CACN,OAAQ,CACN,QACE,gEACF,WAAY,GACZ,OAAQ,GACR,OAAQ,CACN,OAAQ,CACN,QAAS,cACT,MAAO,QACR,EACD,SAAU74Y,CACX,CACF,EACD,QAAS,CACP,QAAS,UACT,WAAY,GACZ,OAAQ,EACT,EACD,QAAS,CACP,QAAS,OACT,OAAQ,EACT,EAGD,QAAS,CACP,QAAS,uBACT,WAAY,EACb,EACD,OAAQ,CACN,QAAS,uBACT,WAAY,EACb,EACD,SAAUA,CACX,CACF,EACD,YAAa,OACd,CACF,GAAE64Y,CAAK,CACV,CC1DA8c,GAAI,YAAc,MAClBA,GAAI,QAAU,CAA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+CACT,WAAY,GACZ,MAAO,SACP,OAAQ,CACN,YAAa,OACd,CACF,CACF,EACD,UAAW,CACT,QAAS,yBACT,WAAY,GACZ,MAAO,WACP,OAAQ,CACN,YAAa,KACd,CACF,EACD,QAAS,CAEP,QACE,yEACF,WAAY,EACb,EACD,MAAO,CAEL,CACE,QACE,gFACF,OAAQ,CACN,YACE,sFACF,UAAW,IACZ,CACF,EAED,CACE,QACE,8FACF,WAAY,GACZ,OAAQ,CACN,YAAa,4CACb,UAAW,IACZ,CACF,CACF,EACD,GAAI,CACF,QACE,sFACF,WAAY,GACZ,MAAO,aACR,EACD,MAAO,CACL,QAAS,6BACT,WAAY,GACZ,MAAO,WACR,EACD,sBAAuB,CACrB,QACE,mLACF,WAAY,GACZ,MAAO,QACR,EACD,gBAAiB,CACf,QAAS,4DACT,OAAQ,CACN,4BAA6B,CAC3B,QAAS,MACT,MAAO,aACR,CACF,CACF,EACD,uBAAwB,CACtB,QACE,oFACF,OAAQ,CACN,4BAA6B,CAC3B,QAAS,wDACT,MAAO,aACR,CACF,CACF,EACD,cAAe,CACb,QACE,yFACF,WAAY,GACZ,MAAO,aACR,EACD,gBAAiB,CACf,QAAS,sCACT,WAAY,GACZ,OAAQ,CACN,YAAa,MACd,CACF,EACD,OAAQ,CACN,CACE,QACE,sHACF,WAAY,GACZ,OAAQ,CACN,KAAM,CACJ,QAAS,qBACT,WAAY,EACb,EACD,OAAQ,CACN,QAAS,iBACT,WAAY,EACb,EACD,iBAAkB,CAChB,QAAS,iBACT,WAAY,GACZ,MAAO,QACR,EACD,KAAM,CACJ,QAAS,oBACT,MAAO,WACP,OAAQ,CACN,YAAa,OACd,CACF,EACD,mBAAoB,CAClB,QAAS,eACT,WAAY,GACZ,MAAO,YACR,EACD,aAAc,CACZ,QAAS,iBACT,WAAY,GACZ,MAAO,YACR,EACD,YAAa,cACd,CACF,CACF,EACD,KAAM,CACJ,CACE,QAAS,4CACT,MAAO,SACP,OAAQ,CACN,YAAa,UACd,CAC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+hO,EACpB,YAAa3uK,EACb,OAAQzmP,CACT,CACF,EACGy1R,EAAW,CACb,QACE,yxBACF,WAAY,EACb,EACDu9G,EAAM,UAAU,IAAM,CACpB,UAAW,CACT,QAAS,uDACT,WAAY,GACZ,MAAO,SACP,OAAQ,CACN,QAAS,CACP,QAAS,4BACV,EACD,YAAa,GACd,CACF,EACD,WAAY,CACV,QACE,+FACF,WAAY,GACZ,OAAQ,CACN,IAAK,CACH,QAAS,OACP,oKAAoK,OAAO,QACzK,SACA,UAAY,CACV,OAAO0V,CACR,CACF,EACD,IACD,EACD,MAAO,eACP,OAAQ1V,EAAM,UAAU,GACzB,EACD,oBAAqBwiB,EACrB,iBAAkB,CAChB,QACE,mFACF,WAAY,GACZ,MAAO,SACR,EACD,OAAQniO,EACR,mBAAoB+hO,EACpB,YAAa3uK,EACb,OAAQzmP,CACT,CACF,EACD,cAAe,CACb,QACE,0FACF,WAAY,GACZ,OAAQ,CACN,QAASzF,EACT,OAAQ,CACN,QAAS,OACP,iFAAiF,OAAO,QACtF,SACA,UAAY,CACV,OAAOmuZ,CACR,CACF,EACD,IACD,EACD,WAAY,GACZ,MAAO,kBACP,OAAQ1V,EAAM,UAAU,MACzB,EACD,QAASv9G,EACT,mBAAoBggI,EACpB,oBAAqBD,EACrB,OAAQniO,EACR,mBAAoB+hO,EACpB,YAAa3uK,EACb,OAAQzmP,CACT,CACF,EACD,WAAY,CACV,QACE,uFACF,WAAY,GACZ,OAAQ,CACN,QAASzF,EACT,IAAK,CACH,QAAS,OACP,iFAAiF,OAAO,QACtF,SACA,UAAY,CACV,OAAOmuZ,CACR,CACF,EACD,IACD,EACD,WAAY,GACZ,MAAO,eACP,OAAQ1V,EAAM,UAAU,GACzB,EACD,QAASv9G,EACT,mBAAoBggI,EACpB,oBAAqBD,EACrB,OAAQniO,EACR,mBAAoB+hO,EACpB,YAAa3uK,EACb,OAAQzmP,CACT,CACF,EACD,WAAY,CACV,QACE,mFACF,WAAY,GACZ,OAAQ,C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U,CAAE,EAGF,SAASA,GAAKxmB,EAAO,CAClCA,EAAM,UAAU,KAAO,CACrB,QAAS,CACP,QAAS,gCACT,OAAQ,EACT,EACD,oBAAqB,CACnB,QAAS,oBACT,WAAY,GACZ,OAAQ,CACN,UAAW,CACT,QAAS,WACT,MAAO,WACR,EACD,YAAa,QACb,kBAAmB,CACjB,QACE,4LACF,MAAO,YACR,CACF,CACF,EACD,WAAY,CACV,QACE,kHACF,WAAY,GACZ,MAAO,WACR,EACD,UAAW,CACT,QAAS,gCACT,WAAY,GACZ,MAAO,UACR,EACD,QACE,iMACF,QACE,g/CACF,iBAAkB,CAChB,QAAS,qBACT,MAAO,UACR,EACD,aAAc,4BACd,eAAgB,CACd,QAAS,qBACT,MAAO,SACR,EACD,kBAAmB,CACjB,QAAS,sCACT,MAAO,QACR,EACD,oBAAqB,CACnB,QAAS,+DACT,MAAO,QACR,EACD,wBAAyB,CACvB,CACE,QAAS,qCACT,MAAO,QACR,EACD,CACE,QAAS,qCACT,MAAO,QACR,EACD,CACE,QAAS,2BACT,MAAO,QACR,EACD,CACE,QAAS,cACT,MAAO,QACR,CACF,EACD,cAAe,CACb,QAAS,eACT,MAAO,QACR,EACD,SAAU,CACR,CACE,QAAS,wCACV,EACD,CACE,QAAS,WACV,EACD,CACE,QAAS,0CACV,EACD,CACE,QAAS,uBACT,WAAY,EACb,EACD,CACE,QAAS,kCACT,WAAY,EACb,EACD,CACE,QAAS,wDACV,EACD,CACE,QAAS,IACV,CACF,EACD,YAAa,kBACd,CACH,CC1GAymB,GAAK,YAAc,OACnBA,GAAK,QAAU,CAAE,EAGF,SAASA,GAAKzmB,EAAO,CAClCA,EAAM,SAAS6D,EAAe,EAC9B7D,EAAM,UAAU,KAAOA,EAAM,UAAU,OAAO,SAAU,CACtD,gBAAiB,CACf,QAAS,4BACT,WAAY,GACZ,MAAO,SACR,EACD,QAAS,CACP,QAAS,sBACT,OAAQ,CACN,YAAa,UACb,UAAW,IACZ,CACF,EACD,SAAU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OA,GAAU,UAAY,OAAOA,GAAU,YAAc,CAACA,EAAM,aAAekR,GAAc,eAAe55e,CAAI,GAAK,CAAC45e,GAAc55e,CAAI,EAAE,SACrK,CAEF,CAGD,MAAMq8e,GAAkB,2CAClBC,GAAe,OAAO,OAAO,CACjC,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,IAAU,IACV,EAAU,IACV,IAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU,IACV,EAAU,IACV,EAAU,IACV,EAAU,IACV,IAAU,IACV,IAAU,IACV,IAAU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AAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,MACL,EAAK,KACL,EAAK,KACL,EAAK,KACL,EAAK,K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":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533,534,535,536,537,538,539,540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602,603,604,605,606,607,610,611,612,618,619,620,621,622,623,625,626,632,633,634,639,640,641,642,643,644,645,646,647,648,649,650,651,652,653,654,655,656,657,658,659,660,666,668,671,672,673,674,675,676,677,678,679,680,681,682,695,702,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724,725,726,727,731,732,735,736,737,738,739,740,741,742,743,744,745,746,747,748,749,750,751,752,753,754,755,756,757,758,759,760,761,762,763,764,765,766,767,768,769,770,771,772,773,774,775,776,777,778,779,780,781,782,783,784,785,786,787,788,789,790,791,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829,830,831,832,833,834,835,836,837,838,839,840,841,843,845,850,851,854,855,856,857,858,859,860,861,862,863,864,865,866,867,868,869,870,871,872,873,874,875,876,877,878,879,880,881,882,883,884,885,886,887,888,889,890,891,892,893,894,895,896,897,898,899,900,901,902,903,904,905,906,907,908,909,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,930,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,975,976,977,978,979,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,996,997,998,999,1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1120,1121,1122,1123,1124,1125,1126,1127,1128,1129,1130,1131,1132,1133,1134,1135,1136,1137,1138,1139,1140,1141,1142,1143,1144,1145,1146,1147,1148,1149,1150,1151,1152,1153,1154,1155,1156,1157,1158,1159,1160,1161,1162,1163,1164,1165,1166,1167,1168,1169,1170,1171,1172,1173,1174,1175,1176,1177,1178,1179,1180,1181,1182,1183,1184,1185,1186,1187,1188,1189,1190,1191,1192,1193,1194,1195,1196,1197,1198,1199,1200,1201,1202,1203,1204,1205,1206,1207,1208,1209,1210,1211,1212,1213,1214,1215,1216,1217,1218,1219,1220,1221,1222,1223,1224,1225,1226,1227,1228,1229,1230,1231,1232,1233,1234,1235,1236,1237,1238,1239,1240,1241,1242,1243,1244,1245,1246,1247,1248,1249,1250,1251,1252,1253,1254,1255,1256,1257,1258,1259,1260,1261,1262,1263,1264,1265,1266,1267,1268,1269,1270,1271,1272,1273,1274,1275,1276,1277,1278,1279,1280,1281,1282,1283,1284,1285,1286,1287,1288,1289,1290,1291,1292,1293,1294,1295,1296,1297,1298,1299,1300,1301,1302,1303,1304,1305,1306,1307,1308,1309,1310,1311,1312,1313,1314,1315,1316,1317,1318,1319,1320,1321,1322,1323,1324,1325,1326,1327,1328,1329,1330,1331,1332,1333,1334,1335,1336,1337,1338,1339,1340,1341,1342,1343,1344,1345,1346,1347,1348,1349,1350,1351,1352,1353,1354,1355,1356,1357,1358,1359,1360,1361,1362,1363,1364,1365,1366,1367,1368,1369,1370,1371,1372,1373,1374,1375,1376,1377,1378,1379,1380,1381,1382,1383,1384,1385,1386,1387,1388,1389,1390,1391,1392,1393,1394,1395,1396,1397,1398,1399,1400,1401,1402,1403,1404,1405,1406,1407,1408,1409,1410,1411,1412,1413,1414,1415,1416,1417,1418,1419,1420,1421,1422,1423,1424,1425,1426,1434,1435,1436,1437,1438,1439,1440,1441,1442,1443,1444,1445,1446,1447,1448,1449,1450,1451,1452,1453,1454,1455,1456,1457,1458,1459,1460,1461,1462,1463,1464,1465,1466,1467,1468,1469,1470,1471,1472,1473,1474,1475,1476,1477,1478,1479,1480,1481,1482,1483,1484,1485,1486,1487,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511,1512,1513,1514,1515,1516,1517,1518,1519,1520,1521,1522,1523,1524,1525,1526,1527,1528,1529,1530,1533,1534,1535,1536,1537,1538,1539,1540,1541,1553,1554,1555,1556,1557,1558,1559,1560,1561,1562,1564,1565,1566,1567,1568]} \ No newline at end of file diff --git a/index.html b/index.html index 43b6a73d..305fa2d5 100644 --- a/index.html +++ b/index.html @@ -39,8 +39,8 @@ })(window.location); - - + +